chore: update veui

This commit is contained in:
Justineo 2022-03-02 12:38:39 +08:00
parent cfe14b966c
commit 4598e30cc4
No known key found for this signature in database
GPG Key ID: B73F0979CF18A0EA
4 changed files with 73 additions and 71 deletions

View File

@ -14,6 +14,7 @@
minimap: { minimap: {
enabled: false, enabled: false,
}, },
scrollBeyondLastLine: false
}" }"
/> />
<div class="editor-toolbar"> <div class="editor-toolbar">
@ -278,7 +279,7 @@ export default {
} else { } else {
this.colorSchemeOption = colorSchemeOptions[ this.colorSchemeOption = colorSchemeOptions[
(colorSchemeOptions.indexOf(this.colorSchemeOption) + 1) % (colorSchemeOptions.indexOf(this.colorSchemeOption) + 1) %
colorSchemeOptions.length colorSchemeOptions.length
] ]
} }

View File

@ -17,6 +17,7 @@
| ``wrap`` | `boolean=` | `false` | 是否可以循环播放。 | | ``wrap`` | `boolean=` | `false` | 是否可以循环播放。 |
| ``closable`` | `boolean=` | `true` | 是否显示关闭按钮。 | | ``closable`` | `boolean=` | `true` | 是否显示关闭按钮。 |
| ``escapable`` | `boolean=` | `true` | 按下 <kbd>esc</kbd> 键是否可以关闭浮层。仅在 `closable``true` 时生效。 | | ``escapable`` | `boolean=` | `true` | 按下 <kbd>esc</kbd> 键是否可以关闭浮层。仅在 `closable``true` 时生效。 |
| ``outside-closable`` | `boolean=` | `false` | 点击内容区域外部时是否关闭对话框。 |
| ``priority`` | `number=` | - | 浮层层叠权重,参考 [`Overlay`](./overlay) 组件的 [`priority`](./overlay#props-priority) 属性。 | | ``priority`` | `number=` | - | 浮层层叠权重,参考 [`Overlay`](./overlay) 组件的 [`priority`](./overlay#props-priority) 属性。 |
| ``before-close`` | `function(string): boolean=|Promise<boolean=>` | - | [^before-close] | | ``before-close`` | `function(string): boolean=|Promise<boolean=>` | - | [^before-close] |
| ``overlay-class`` | `string | Array | Object=` | - | 浮层根元素类名,参考 [`Overlay`](./overlay) 组件的 [`overlay-class`](./overlay#props-overlay-class) 属性。 | | ``overlay-class`` | `string | Array | Object=` | - | 浮层根元素类名,参考 [`Overlay`](./overlay) 组件的 [`overlay-class`](./overlay#props-overlay-class) 属性。 |

130
package-lock.json generated
View File

@ -17,7 +17,7 @@
"@stackblitz/sdk": "^1.5.2", "@stackblitz/sdk": "^1.5.2",
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"babel-plugin-lodash": "^3.3.4", "babel-plugin-lodash": "^3.3.4",
"babel-plugin-veui": "^2.5.3", "babel-plugin-veui": "^2.5.4",
"cheerio": "^1.0.0-rc.10", "cheerio": "^1.0.0-rc.10",
"dls-graphics": "^1.0.0-alpha.3", "dls-graphics": "^1.0.0-alpha.3",
"dls-icons-vue": "^0.14.0", "dls-icons-vue": "^0.14.0",
@ -75,10 +75,10 @@
"stylus-loader": "^3.0.2", "stylus-loader": "^3.0.2",
"unist-util-remove": "^1.0.1", "unist-util-remove": "^1.0.1",
"unist-util-visit": "^1.4.0", "unist-util-visit": "^1.4.0",
"veui": "^2.5.3", "veui": "^2.5.4",
"veui-loader": "^2.5.3", "veui-loader": "^2.5.4",
"veui-theme-dls": "^2.5.3", "veui-theme-dls": "^2.5.4",
"veui-theme-dls-icons": "^2.5.3", "veui-theme-dls-icons": "^2.5.4",
"vue-awesome": "^4.5.0", "vue-awesome": "^4.5.0",
"vue-i18n": "^8.16.0", "vue-i18n": "^8.16.0",
"vue-live": "^1.17.2", "vue-live": "^1.17.2",
@ -5246,9 +5246,9 @@
} }
}, },
"node_modules/babel-plugin-veui": { "node_modules/babel-plugin-veui": {
"version": "2.5.3", "version": "2.5.4",
"resolved": "https://registry.npmjs.org/babel-plugin-veui/-/babel-plugin-veui-2.5.3.tgz", "resolved": "https://registry.npmjs.org/babel-plugin-veui/-/babel-plugin-veui-2.5.4.tgz",
"integrity": "sha512-DApeW6eQKD0uuVkO1VyElKgMyfS1G2LWFJZK+w26LEDkL5OByd7zD1Hh8L1q34QoIR8P6Dsid2Mn6FyJ8Nk55A==", "integrity": "sha512-DPku/pDI6KMPUC746OBr5+TqRJV+xP+qc+2rG0rFBTIohX+0bmWi3/Jm9adluzuQbSu6ZVlZo3QR0IgE7QCuRg==",
"dev": true, "dev": true,
"peerDependencies": { "peerDependencies": {
"veui": "*" "veui": "*"
@ -8020,9 +8020,9 @@
"dev": true "dev": true
}, },
"node_modules/dls-icons-data": { "node_modules/dls-icons-data": {
"version": "2.3.0", "version": "2.4.2",
"resolved": "https://registry.npmjs.org/dls-icons-data/-/dls-icons-data-2.3.0.tgz", "resolved": "https://registry.npmjs.org/dls-icons-data/-/dls-icons-data-2.4.2.tgz",
"integrity": "sha512-EdQUb7vqwxLVrr5oySQGmcMOSpq2d5DKmdekE7aseg0sFZXdGiPjXeyxeEw7KlTqBGZelRa3SPUyI730RBLoZg==", "integrity": "sha512-lDA5bJfbABykamS3Uw7FeOvMjyzmDAix4T1+dVF2ZqDKGg4LDJFIt5apDagiJLXxNuqTIhVhDMa7f0AhnmAMnQ==",
"dev": true "dev": true
}, },
"node_modules/dls-icons-vue": { "node_modules/dls-icons-vue": {
@ -20981,9 +20981,9 @@
} }
}, },
"node_modules/veui": { "node_modules/veui": {
"version": "2.5.3", "version": "2.5.4",
"resolved": "https://registry.npmjs.org/veui/-/veui-2.5.3.tgz", "resolved": "https://registry.npmjs.org/veui/-/veui-2.5.4.tgz",
"integrity": "sha512-LRU75LQaqbPoBuuRzAxK+3Bv4a82/BUR5bgpV4a2DpRJz5SM8DWXRiYT/52PT63CvFf/k7sx3qT8yTmcYrJQ2g==", "integrity": "sha512-znLtHtbApkCqgp7TXEgr8zifTkk4AhTEusb/MO5wHB/y+2BbwSbiUxY+IzT2S6OB/HR2oneEKHVJWEUOoSJDlw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"bytes": "^3.0.0", "bytes": "^3.0.0",
@ -21008,9 +21008,9 @@
} }
}, },
"node_modules/veui-loader": { "node_modules/veui-loader": {
"version": "2.5.3", "version": "2.5.4",
"resolved": "https://registry.npmjs.org/veui-loader/-/veui-loader-2.5.3.tgz", "resolved": "https://registry.npmjs.org/veui-loader/-/veui-loader-2.5.4.tgz",
"integrity": "sha512-eJGgJMdfhUYhtUj5AbzkYTu6dU8uLUpx5LVE04DA0gr0fK5Wqixyy3poCXxSCmpyS6J3SMrrfkTWNJAU3cCb7g==", "integrity": "sha512-RDKimRY9r4rHVEUCLu8w8UCVGpyCDekbc1fXMrEZcVmnsTikPQA0HKxXWZMdEqCYzdTDgCNsGVLfna7psW1zmA==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"loader-utils": "^2.0.0", "loader-utils": "^2.0.0",
@ -21134,53 +21134,53 @@
} }
}, },
"node_modules/veui-theme-dls": { "node_modules/veui-theme-dls": {
"version": "2.5.3", "version": "2.5.4",
"resolved": "https://registry.npmjs.org/veui-theme-dls/-/veui-theme-dls-2.5.3.tgz", "resolved": "https://registry.npmjs.org/veui-theme-dls/-/veui-theme-dls-2.5.4.tgz",
"integrity": "sha512-yym9Y+DFGNxjUmjjdnohtrzjhlUP2Eay7ZNDlhr+czASj+Nn2YGAj816u0Cyr7J5Xrp8WcSV9Ftaxj4vOWzExQ==", "integrity": "sha512-3erexvNLr/nEUnSrtSxESvbQ3uaJotjitU8F6OHXu91g3BxufN1CFEPNHa8sXFXZ9wnmyI1ub8cr/UBXwBXM6w==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"classlist-polyfill": "^1.2.0", "classlist-polyfill": "^1.2.0",
"dls-icons-vue": "~2.3.0", "dls-icons-vue": "~2.4.2",
"focus-visible": "^4.1.0", "focus-visible": "^4.1.0",
"less-plugin-dls": "^5.1.0", "less-plugin-dls": "^5.1.0",
"less-plugin-est": "^3.0.0", "less-plugin-est": "^3.0.0",
"veui-theme-dls-icons": "^2.5.3" "veui-theme-dls-icons": "^2.5.4"
}, },
"peerDependencies": { "peerDependencies": {
"veui": "2.5.3" "veui": "2.5.4"
} }
}, },
"node_modules/veui-theme-dls-icons": { "node_modules/veui-theme-dls-icons": {
"version": "2.5.3", "version": "2.5.4",
"resolved": "https://registry.npmjs.org/veui-theme-dls-icons/-/veui-theme-dls-icons-2.5.3.tgz", "resolved": "https://registry.npmjs.org/veui-theme-dls-icons/-/veui-theme-dls-icons-2.5.4.tgz",
"integrity": "sha512-XULVcXMBT8vzOSWw9dEFYEXkVq1Bb3burIBLiH+R6SxX2SsRryzsAIutTFoIm6obGd+P9fX26Jk9uxArqwHGFA==", "integrity": "sha512-Uv/niScsg3cQtrfY973wk/wKoOxjDM4HyQXRo02dn6t/yTQ4Xkcai7CEyUtbWgS2tQRnboMBDPU1B6miWJicXw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"dls-icons-vue": "~2.3.0" "dls-icons-vue": "~2.4.2"
}, },
"peerDependencies": { "peerDependencies": {
"veui": "2.5.3" "veui": "2.5.4"
} }
}, },
"node_modules/veui-theme-dls-icons/node_modules/dls-icons-vue": { "node_modules/veui-theme-dls-icons/node_modules/dls-icons-vue": {
"version": "2.3.0", "version": "2.4.2",
"resolved": "https://registry.npmjs.org/dls-icons-vue/-/dls-icons-vue-2.3.0.tgz", "resolved": "https://registry.npmjs.org/dls-icons-vue/-/dls-icons-vue-2.4.2.tgz",
"integrity": "sha512-+SM70gCc+QWB5a3zWnHkQ5W2beFoODBDwTj3SkHpYTzp2N0Z5bp9nyXkWVNbL3l0W+OcAd6173WTTAa5ZHgxKA==", "integrity": "sha512-O4j1qcSvM4GAHz7eqC0+uOR3Yaa/C2xAiYTQMQBvZ6+aSjPkGLMpLgYqDdcAy5N6esb754j/SEeKH3X+uKFUng==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"dls-icons-data": "^2.3.0" "dls-icons-data": "^2.4.2"
}, },
"peerDependencies": { "peerDependencies": {
"vue": "2.x" "vue": "2.x"
} }
}, },
"node_modules/veui-theme-dls/node_modules/dls-icons-vue": { "node_modules/veui-theme-dls/node_modules/dls-icons-vue": {
"version": "2.3.0", "version": "2.4.2",
"resolved": "https://registry.npmjs.org/dls-icons-vue/-/dls-icons-vue-2.3.0.tgz", "resolved": "https://registry.npmjs.org/dls-icons-vue/-/dls-icons-vue-2.4.2.tgz",
"integrity": "sha512-+SM70gCc+QWB5a3zWnHkQ5W2beFoODBDwTj3SkHpYTzp2N0Z5bp9nyXkWVNbL3l0W+OcAd6173WTTAa5ZHgxKA==", "integrity": "sha512-O4j1qcSvM4GAHz7eqC0+uOR3Yaa/C2xAiYTQMQBvZ6+aSjPkGLMpLgYqDdcAy5N6esb754j/SEeKH3X+uKFUng==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"dls-icons-data": "^2.3.0" "dls-icons-data": "^2.4.2"
}, },
"peerDependencies": { "peerDependencies": {
"vue": "2.x" "vue": "2.x"
@ -26943,9 +26943,9 @@
} }
}, },
"babel-plugin-veui": { "babel-plugin-veui": {
"version": "2.5.3", "version": "2.5.4",
"resolved": "https://registry.npmjs.org/babel-plugin-veui/-/babel-plugin-veui-2.5.3.tgz", "resolved": "https://registry.npmjs.org/babel-plugin-veui/-/babel-plugin-veui-2.5.4.tgz",
"integrity": "sha512-DApeW6eQKD0uuVkO1VyElKgMyfS1G2LWFJZK+w26LEDkL5OByd7zD1Hh8L1q34QoIR8P6Dsid2Mn6FyJ8Nk55A==", "integrity": "sha512-DPku/pDI6KMPUC746OBr5+TqRJV+xP+qc+2rG0rFBTIohX+0bmWi3/Jm9adluzuQbSu6ZVlZo3QR0IgE7QCuRg==",
"dev": true, "dev": true,
"requires": {} "requires": {}
}, },
@ -29164,9 +29164,9 @@
"dev": true "dev": true
}, },
"dls-icons-data": { "dls-icons-data": {
"version": "2.3.0", "version": "2.4.2",
"resolved": "https://registry.npmjs.org/dls-icons-data/-/dls-icons-data-2.3.0.tgz", "resolved": "https://registry.npmjs.org/dls-icons-data/-/dls-icons-data-2.4.2.tgz",
"integrity": "sha512-EdQUb7vqwxLVrr5oySQGmcMOSpq2d5DKmdekE7aseg0sFZXdGiPjXeyxeEw7KlTqBGZelRa3SPUyI730RBLoZg==", "integrity": "sha512-lDA5bJfbABykamS3Uw7FeOvMjyzmDAix4T1+dVF2ZqDKGg4LDJFIt5apDagiJLXxNuqTIhVhDMa7f0AhnmAMnQ==",
"dev": true "dev": true
}, },
"dls-icons-vue": { "dls-icons-vue": {
@ -39559,9 +39559,9 @@
"dev": true "dev": true
}, },
"veui": { "veui": {
"version": "2.5.3", "version": "2.5.4",
"resolved": "https://registry.npmjs.org/veui/-/veui-2.5.3.tgz", "resolved": "https://registry.npmjs.org/veui/-/veui-2.5.4.tgz",
"integrity": "sha512-LRU75LQaqbPoBuuRzAxK+3Bv4a82/BUR5bgpV4a2DpRJz5SM8DWXRiYT/52PT63CvFf/k7sx3qT8yTmcYrJQ2g==", "integrity": "sha512-znLtHtbApkCqgp7TXEgr8zifTkk4AhTEusb/MO5wHB/y+2BbwSbiUxY+IzT2S6OB/HR2oneEKHVJWEUOoSJDlw==",
"dev": true, "dev": true,
"requires": { "requires": {
"bytes": "^3.0.0", "bytes": "^3.0.0",
@ -39585,9 +39585,9 @@
} }
}, },
"veui-loader": { "veui-loader": {
"version": "2.5.3", "version": "2.5.4",
"resolved": "https://registry.npmjs.org/veui-loader/-/veui-loader-2.5.3.tgz", "resolved": "https://registry.npmjs.org/veui-loader/-/veui-loader-2.5.4.tgz",
"integrity": "sha512-eJGgJMdfhUYhtUj5AbzkYTu6dU8uLUpx5LVE04DA0gr0fK5Wqixyy3poCXxSCmpyS6J3SMrrfkTWNJAU3cCb7g==", "integrity": "sha512-RDKimRY9r4rHVEUCLu8w8UCVGpyCDekbc1fXMrEZcVmnsTikPQA0HKxXWZMdEqCYzdTDgCNsGVLfna7psW1zmA==",
"dev": true, "dev": true,
"requires": { "requires": {
"loader-utils": "^2.0.0", "loader-utils": "^2.0.0",
@ -39677,46 +39677,46 @@
} }
}, },
"veui-theme-dls": { "veui-theme-dls": {
"version": "2.5.3", "version": "2.5.4",
"resolved": "https://registry.npmjs.org/veui-theme-dls/-/veui-theme-dls-2.5.3.tgz", "resolved": "https://registry.npmjs.org/veui-theme-dls/-/veui-theme-dls-2.5.4.tgz",
"integrity": "sha512-yym9Y+DFGNxjUmjjdnohtrzjhlUP2Eay7ZNDlhr+czASj+Nn2YGAj816u0Cyr7J5Xrp8WcSV9Ftaxj4vOWzExQ==", "integrity": "sha512-3erexvNLr/nEUnSrtSxESvbQ3uaJotjitU8F6OHXu91g3BxufN1CFEPNHa8sXFXZ9wnmyI1ub8cr/UBXwBXM6w==",
"dev": true, "dev": true,
"requires": { "requires": {
"classlist-polyfill": "^1.2.0", "classlist-polyfill": "^1.2.0",
"dls-icons-vue": "~2.3.0", "dls-icons-vue": "~2.4.2",
"focus-visible": "^4.1.0", "focus-visible": "^4.1.0",
"less-plugin-dls": "^5.1.0", "less-plugin-dls": "^5.1.0",
"less-plugin-est": "^3.0.0", "less-plugin-est": "^3.0.0",
"veui-theme-dls-icons": "^2.5.3" "veui-theme-dls-icons": "^2.5.4"
}, },
"dependencies": { "dependencies": {
"dls-icons-vue": { "dls-icons-vue": {
"version": "2.3.0", "version": "2.4.2",
"resolved": "https://registry.npmjs.org/dls-icons-vue/-/dls-icons-vue-2.3.0.tgz", "resolved": "https://registry.npmjs.org/dls-icons-vue/-/dls-icons-vue-2.4.2.tgz",
"integrity": "sha512-+SM70gCc+QWB5a3zWnHkQ5W2beFoODBDwTj3SkHpYTzp2N0Z5bp9nyXkWVNbL3l0W+OcAd6173WTTAa5ZHgxKA==", "integrity": "sha512-O4j1qcSvM4GAHz7eqC0+uOR3Yaa/C2xAiYTQMQBvZ6+aSjPkGLMpLgYqDdcAy5N6esb754j/SEeKH3X+uKFUng==",
"dev": true, "dev": true,
"requires": { "requires": {
"dls-icons-data": "^2.3.0" "dls-icons-data": "^2.4.2"
} }
} }
} }
}, },
"veui-theme-dls-icons": { "veui-theme-dls-icons": {
"version": "2.5.3", "version": "2.5.4",
"resolved": "https://registry.npmjs.org/veui-theme-dls-icons/-/veui-theme-dls-icons-2.5.3.tgz", "resolved": "https://registry.npmjs.org/veui-theme-dls-icons/-/veui-theme-dls-icons-2.5.4.tgz",
"integrity": "sha512-XULVcXMBT8vzOSWw9dEFYEXkVq1Bb3burIBLiH+R6SxX2SsRryzsAIutTFoIm6obGd+P9fX26Jk9uxArqwHGFA==", "integrity": "sha512-Uv/niScsg3cQtrfY973wk/wKoOxjDM4HyQXRo02dn6t/yTQ4Xkcai7CEyUtbWgS2tQRnboMBDPU1B6miWJicXw==",
"dev": true, "dev": true,
"requires": { "requires": {
"dls-icons-vue": "~2.3.0" "dls-icons-vue": "~2.4.2"
}, },
"dependencies": { "dependencies": {
"dls-icons-vue": { "dls-icons-vue": {
"version": "2.3.0", "version": "2.4.2",
"resolved": "https://registry.npmjs.org/dls-icons-vue/-/dls-icons-vue-2.3.0.tgz", "resolved": "https://registry.npmjs.org/dls-icons-vue/-/dls-icons-vue-2.4.2.tgz",
"integrity": "sha512-+SM70gCc+QWB5a3zWnHkQ5W2beFoODBDwTj3SkHpYTzp2N0Z5bp9nyXkWVNbL3l0W+OcAd6173WTTAa5ZHgxKA==", "integrity": "sha512-O4j1qcSvM4GAHz7eqC0+uOR3Yaa/C2xAiYTQMQBvZ6+aSjPkGLMpLgYqDdcAy5N6esb754j/SEeKH3X+uKFUng==",
"dev": true, "dev": true,
"requires": { "requires": {
"dls-icons-data": "^2.3.0" "dls-icons-data": "^2.4.2"
} }
} }
} }

View File

@ -25,7 +25,7 @@
"@stackblitz/sdk": "^1.5.2", "@stackblitz/sdk": "^1.5.2",
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"babel-plugin-lodash": "^3.3.4", "babel-plugin-lodash": "^3.3.4",
"babel-plugin-veui": "^2.5.3", "babel-plugin-veui": "^2.5.4",
"cheerio": "^1.0.0-rc.10", "cheerio": "^1.0.0-rc.10",
"dls-graphics": "^1.0.0-alpha.3", "dls-graphics": "^1.0.0-alpha.3",
"dls-icons-vue": "^0.14.0", "dls-icons-vue": "^0.14.0",
@ -83,10 +83,10 @@
"stylus-loader": "^3.0.2", "stylus-loader": "^3.0.2",
"unist-util-remove": "^1.0.1", "unist-util-remove": "^1.0.1",
"unist-util-visit": "^1.4.0", "unist-util-visit": "^1.4.0",
"veui": "^2.5.3", "veui": "^2.5.4",
"veui-loader": "^2.5.3", "veui-loader": "^2.5.4",
"veui-theme-dls": "^2.5.3", "veui-theme-dls": "^2.5.4",
"veui-theme-dls-icons": "^2.5.3", "veui-theme-dls-icons": "^2.5.4",
"vue-awesome": "^4.5.0", "vue-awesome": "^4.5.0",
"vue-i18n": "^8.16.0", "vue-i18n": "^8.16.0",
"vue-live": "^1.17.2", "vue-live": "^1.17.2",