From 4598e30cc49b53d86fd60f1877daa13c2c7905da Mon Sep 17 00:00:00 2001 From: Justineo Date: Wed, 2 Mar 2022 12:38:39 +0800 Subject: [PATCH] chore: update veui --- components/OneLive.vue | 3 +- one/docs/components/lightbox.md | 1 + package-lock.json | 130 ++++++++++++++++---------------- package.json | 10 +-- 4 files changed, 73 insertions(+), 71 deletions(-) diff --git a/components/OneLive.vue b/components/OneLive.vue index a4387ba..1a1218e 100644 --- a/components/OneLive.vue +++ b/components/OneLive.vue @@ -14,6 +14,7 @@ minimap: { enabled: false, }, + scrollBeyondLastLine: false }" />
@@ -278,7 +279,7 @@ export default { } else { this.colorSchemeOption = colorSchemeOptions[ (colorSchemeOptions.indexOf(this.colorSchemeOption) + 1) % - colorSchemeOptions.length + colorSchemeOptions.length ] } diff --git a/one/docs/components/lightbox.md b/one/docs/components/lightbox.md index 7afaad1..8d3b498 100644 --- a/one/docs/components/lightbox.md +++ b/one/docs/components/lightbox.md @@ -17,6 +17,7 @@ | ``wrap`` | `boolean=` | `false` | 是否可以循环播放。 | | ``closable`` | `boolean=` | `true` | 是否显示关闭按钮。 | | ``escapable`` | `boolean=` | `true` | 按下 esc 键是否可以关闭浮层。仅在 `closable` 为 `true` 时生效。 | +| ``outside-closable`` | `boolean=` | `false` | 点击内容区域外部时是否关闭对话框。 | | ``priority`` | `number=` | - | 浮层层叠权重,参考 [`Overlay`](./overlay) 组件的 [`priority`](./overlay#props-priority) 属性。 | | ``before-close`` | `function(string): boolean=|Promise` | - | [^before-close] | | ``overlay-class`` | `string | Array | Object=` | - | 浮层根元素类名,参考 [`Overlay`](./overlay) 组件的 [`overlay-class`](./overlay#props-overlay-class) 属性。 | diff --git a/package-lock.json b/package-lock.json index 870db78..e45cf48 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@stackblitz/sdk": "^1.5.2", "babel-eslint": "^10.1.0", "babel-plugin-lodash": "^3.3.4", - "babel-plugin-veui": "^2.5.3", + "babel-plugin-veui": "^2.5.4", "cheerio": "^1.0.0-rc.10", "dls-graphics": "^1.0.0-alpha.3", "dls-icons-vue": "^0.14.0", @@ -75,10 +75,10 @@ "stylus-loader": "^3.0.2", "unist-util-remove": "^1.0.1", "unist-util-visit": "^1.4.0", - "veui": "^2.5.3", - "veui-loader": "^2.5.3", - "veui-theme-dls": "^2.5.3", - "veui-theme-dls-icons": "^2.5.3", + "veui": "^2.5.4", + "veui-loader": "^2.5.4", + "veui-theme-dls": "^2.5.4", + "veui-theme-dls-icons": "^2.5.4", "vue-awesome": "^4.5.0", "vue-i18n": "^8.16.0", "vue-live": "^1.17.2", @@ -5246,9 +5246,9 @@ } }, "node_modules/babel-plugin-veui": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/babel-plugin-veui/-/babel-plugin-veui-2.5.3.tgz", - "integrity": "sha512-DApeW6eQKD0uuVkO1VyElKgMyfS1G2LWFJZK+w26LEDkL5OByd7zD1Hh8L1q34QoIR8P6Dsid2Mn6FyJ8Nk55A==", + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/babel-plugin-veui/-/babel-plugin-veui-2.5.4.tgz", + "integrity": "sha512-DPku/pDI6KMPUC746OBr5+TqRJV+xP+qc+2rG0rFBTIohX+0bmWi3/Jm9adluzuQbSu6ZVlZo3QR0IgE7QCuRg==", "dev": true, "peerDependencies": { "veui": "*" @@ -8020,9 +8020,9 @@ "dev": true }, "node_modules/dls-icons-data": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/dls-icons-data/-/dls-icons-data-2.3.0.tgz", - "integrity": "sha512-EdQUb7vqwxLVrr5oySQGmcMOSpq2d5DKmdekE7aseg0sFZXdGiPjXeyxeEw7KlTqBGZelRa3SPUyI730RBLoZg==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/dls-icons-data/-/dls-icons-data-2.4.2.tgz", + "integrity": "sha512-lDA5bJfbABykamS3Uw7FeOvMjyzmDAix4T1+dVF2ZqDKGg4LDJFIt5apDagiJLXxNuqTIhVhDMa7f0AhnmAMnQ==", "dev": true }, "node_modules/dls-icons-vue": { @@ -20981,9 +20981,9 @@ } }, "node_modules/veui": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/veui/-/veui-2.5.3.tgz", - "integrity": "sha512-LRU75LQaqbPoBuuRzAxK+3Bv4a82/BUR5bgpV4a2DpRJz5SM8DWXRiYT/52PT63CvFf/k7sx3qT8yTmcYrJQ2g==", + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/veui/-/veui-2.5.4.tgz", + "integrity": "sha512-znLtHtbApkCqgp7TXEgr8zifTkk4AhTEusb/MO5wHB/y+2BbwSbiUxY+IzT2S6OB/HR2oneEKHVJWEUOoSJDlw==", "dev": true, "dependencies": { "bytes": "^3.0.0", @@ -21008,9 +21008,9 @@ } }, "node_modules/veui-loader": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/veui-loader/-/veui-loader-2.5.3.tgz", - "integrity": "sha512-eJGgJMdfhUYhtUj5AbzkYTu6dU8uLUpx5LVE04DA0gr0fK5Wqixyy3poCXxSCmpyS6J3SMrrfkTWNJAU3cCb7g==", + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/veui-loader/-/veui-loader-2.5.4.tgz", + "integrity": "sha512-RDKimRY9r4rHVEUCLu8w8UCVGpyCDekbc1fXMrEZcVmnsTikPQA0HKxXWZMdEqCYzdTDgCNsGVLfna7psW1zmA==", "dev": true, "dependencies": { "loader-utils": "^2.0.0", @@ -21134,53 +21134,53 @@ } }, "node_modules/veui-theme-dls": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/veui-theme-dls/-/veui-theme-dls-2.5.3.tgz", - "integrity": "sha512-yym9Y+DFGNxjUmjjdnohtrzjhlUP2Eay7ZNDlhr+czASj+Nn2YGAj816u0Cyr7J5Xrp8WcSV9Ftaxj4vOWzExQ==", + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/veui-theme-dls/-/veui-theme-dls-2.5.4.tgz", + "integrity": "sha512-3erexvNLr/nEUnSrtSxESvbQ3uaJotjitU8F6OHXu91g3BxufN1CFEPNHa8sXFXZ9wnmyI1ub8cr/UBXwBXM6w==", "dev": true, "dependencies": { "classlist-polyfill": "^1.2.0", - "dls-icons-vue": "~2.3.0", + "dls-icons-vue": "~2.4.2", "focus-visible": "^4.1.0", "less-plugin-dls": "^5.1.0", "less-plugin-est": "^3.0.0", - "veui-theme-dls-icons": "^2.5.3" + "veui-theme-dls-icons": "^2.5.4" }, "peerDependencies": { - "veui": "2.5.3" + "veui": "2.5.4" } }, "node_modules/veui-theme-dls-icons": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/veui-theme-dls-icons/-/veui-theme-dls-icons-2.5.3.tgz", - "integrity": "sha512-XULVcXMBT8vzOSWw9dEFYEXkVq1Bb3burIBLiH+R6SxX2SsRryzsAIutTFoIm6obGd+P9fX26Jk9uxArqwHGFA==", + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/veui-theme-dls-icons/-/veui-theme-dls-icons-2.5.4.tgz", + "integrity": "sha512-Uv/niScsg3cQtrfY973wk/wKoOxjDM4HyQXRo02dn6t/yTQ4Xkcai7CEyUtbWgS2tQRnboMBDPU1B6miWJicXw==", "dev": true, "dependencies": { - "dls-icons-vue": "~2.3.0" + "dls-icons-vue": "~2.4.2" }, "peerDependencies": { - "veui": "2.5.3" + "veui": "2.5.4" } }, "node_modules/veui-theme-dls-icons/node_modules/dls-icons-vue": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/dls-icons-vue/-/dls-icons-vue-2.3.0.tgz", - "integrity": "sha512-+SM70gCc+QWB5a3zWnHkQ5W2beFoODBDwTj3SkHpYTzp2N0Z5bp9nyXkWVNbL3l0W+OcAd6173WTTAa5ZHgxKA==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/dls-icons-vue/-/dls-icons-vue-2.4.2.tgz", + "integrity": "sha512-O4j1qcSvM4GAHz7eqC0+uOR3Yaa/C2xAiYTQMQBvZ6+aSjPkGLMpLgYqDdcAy5N6esb754j/SEeKH3X+uKFUng==", "dev": true, "dependencies": { - "dls-icons-data": "^2.3.0" + "dls-icons-data": "^2.4.2" }, "peerDependencies": { "vue": "2.x" } }, "node_modules/veui-theme-dls/node_modules/dls-icons-vue": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/dls-icons-vue/-/dls-icons-vue-2.3.0.tgz", - "integrity": "sha512-+SM70gCc+QWB5a3zWnHkQ5W2beFoODBDwTj3SkHpYTzp2N0Z5bp9nyXkWVNbL3l0W+OcAd6173WTTAa5ZHgxKA==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/dls-icons-vue/-/dls-icons-vue-2.4.2.tgz", + "integrity": "sha512-O4j1qcSvM4GAHz7eqC0+uOR3Yaa/C2xAiYTQMQBvZ6+aSjPkGLMpLgYqDdcAy5N6esb754j/SEeKH3X+uKFUng==", "dev": true, "dependencies": { - "dls-icons-data": "^2.3.0" + "dls-icons-data": "^2.4.2" }, "peerDependencies": { "vue": "2.x" @@ -26943,9 +26943,9 @@ } }, "babel-plugin-veui": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/babel-plugin-veui/-/babel-plugin-veui-2.5.3.tgz", - "integrity": "sha512-DApeW6eQKD0uuVkO1VyElKgMyfS1G2LWFJZK+w26LEDkL5OByd7zD1Hh8L1q34QoIR8P6Dsid2Mn6FyJ8Nk55A==", + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/babel-plugin-veui/-/babel-plugin-veui-2.5.4.tgz", + "integrity": "sha512-DPku/pDI6KMPUC746OBr5+TqRJV+xP+qc+2rG0rFBTIohX+0bmWi3/Jm9adluzuQbSu6ZVlZo3QR0IgE7QCuRg==", "dev": true, "requires": {} }, @@ -29164,9 +29164,9 @@ "dev": true }, "dls-icons-data": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/dls-icons-data/-/dls-icons-data-2.3.0.tgz", - "integrity": "sha512-EdQUb7vqwxLVrr5oySQGmcMOSpq2d5DKmdekE7aseg0sFZXdGiPjXeyxeEw7KlTqBGZelRa3SPUyI730RBLoZg==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/dls-icons-data/-/dls-icons-data-2.4.2.tgz", + "integrity": "sha512-lDA5bJfbABykamS3Uw7FeOvMjyzmDAix4T1+dVF2ZqDKGg4LDJFIt5apDagiJLXxNuqTIhVhDMa7f0AhnmAMnQ==", "dev": true }, "dls-icons-vue": { @@ -39559,9 +39559,9 @@ "dev": true }, "veui": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/veui/-/veui-2.5.3.tgz", - "integrity": "sha512-LRU75LQaqbPoBuuRzAxK+3Bv4a82/BUR5bgpV4a2DpRJz5SM8DWXRiYT/52PT63CvFf/k7sx3qT8yTmcYrJQ2g==", + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/veui/-/veui-2.5.4.tgz", + "integrity": "sha512-znLtHtbApkCqgp7TXEgr8zifTkk4AhTEusb/MO5wHB/y+2BbwSbiUxY+IzT2S6OB/HR2oneEKHVJWEUOoSJDlw==", "dev": true, "requires": { "bytes": "^3.0.0", @@ -39585,9 +39585,9 @@ } }, "veui-loader": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/veui-loader/-/veui-loader-2.5.3.tgz", - "integrity": "sha512-eJGgJMdfhUYhtUj5AbzkYTu6dU8uLUpx5LVE04DA0gr0fK5Wqixyy3poCXxSCmpyS6J3SMrrfkTWNJAU3cCb7g==", + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/veui-loader/-/veui-loader-2.5.4.tgz", + "integrity": "sha512-RDKimRY9r4rHVEUCLu8w8UCVGpyCDekbc1fXMrEZcVmnsTikPQA0HKxXWZMdEqCYzdTDgCNsGVLfna7psW1zmA==", "dev": true, "requires": { "loader-utils": "^2.0.0", @@ -39677,46 +39677,46 @@ } }, "veui-theme-dls": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/veui-theme-dls/-/veui-theme-dls-2.5.3.tgz", - "integrity": "sha512-yym9Y+DFGNxjUmjjdnohtrzjhlUP2Eay7ZNDlhr+czASj+Nn2YGAj816u0Cyr7J5Xrp8WcSV9Ftaxj4vOWzExQ==", + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/veui-theme-dls/-/veui-theme-dls-2.5.4.tgz", + "integrity": "sha512-3erexvNLr/nEUnSrtSxESvbQ3uaJotjitU8F6OHXu91g3BxufN1CFEPNHa8sXFXZ9wnmyI1ub8cr/UBXwBXM6w==", "dev": true, "requires": { "classlist-polyfill": "^1.2.0", - "dls-icons-vue": "~2.3.0", + "dls-icons-vue": "~2.4.2", "focus-visible": "^4.1.0", "less-plugin-dls": "^5.1.0", "less-plugin-est": "^3.0.0", - "veui-theme-dls-icons": "^2.5.3" + "veui-theme-dls-icons": "^2.5.4" }, "dependencies": { "dls-icons-vue": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/dls-icons-vue/-/dls-icons-vue-2.3.0.tgz", - "integrity": "sha512-+SM70gCc+QWB5a3zWnHkQ5W2beFoODBDwTj3SkHpYTzp2N0Z5bp9nyXkWVNbL3l0W+OcAd6173WTTAa5ZHgxKA==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/dls-icons-vue/-/dls-icons-vue-2.4.2.tgz", + "integrity": "sha512-O4j1qcSvM4GAHz7eqC0+uOR3Yaa/C2xAiYTQMQBvZ6+aSjPkGLMpLgYqDdcAy5N6esb754j/SEeKH3X+uKFUng==", "dev": true, "requires": { - "dls-icons-data": "^2.3.0" + "dls-icons-data": "^2.4.2" } } } }, "veui-theme-dls-icons": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/veui-theme-dls-icons/-/veui-theme-dls-icons-2.5.3.tgz", - "integrity": "sha512-XULVcXMBT8vzOSWw9dEFYEXkVq1Bb3burIBLiH+R6SxX2SsRryzsAIutTFoIm6obGd+P9fX26Jk9uxArqwHGFA==", + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/veui-theme-dls-icons/-/veui-theme-dls-icons-2.5.4.tgz", + "integrity": "sha512-Uv/niScsg3cQtrfY973wk/wKoOxjDM4HyQXRo02dn6t/yTQ4Xkcai7CEyUtbWgS2tQRnboMBDPU1B6miWJicXw==", "dev": true, "requires": { - "dls-icons-vue": "~2.3.0" + "dls-icons-vue": "~2.4.2" }, "dependencies": { "dls-icons-vue": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/dls-icons-vue/-/dls-icons-vue-2.3.0.tgz", - "integrity": "sha512-+SM70gCc+QWB5a3zWnHkQ5W2beFoODBDwTj3SkHpYTzp2N0Z5bp9nyXkWVNbL3l0W+OcAd6173WTTAa5ZHgxKA==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/dls-icons-vue/-/dls-icons-vue-2.4.2.tgz", + "integrity": "sha512-O4j1qcSvM4GAHz7eqC0+uOR3Yaa/C2xAiYTQMQBvZ6+aSjPkGLMpLgYqDdcAy5N6esb754j/SEeKH3X+uKFUng==", "dev": true, "requires": { - "dls-icons-data": "^2.3.0" + "dls-icons-data": "^2.4.2" } } } diff --git a/package.json b/package.json index 7a4b2f6..d907f8d 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "@stackblitz/sdk": "^1.5.2", "babel-eslint": "^10.1.0", "babel-plugin-lodash": "^3.3.4", - "babel-plugin-veui": "^2.5.3", + "babel-plugin-veui": "^2.5.4", "cheerio": "^1.0.0-rc.10", "dls-graphics": "^1.0.0-alpha.3", "dls-icons-vue": "^0.14.0", @@ -83,10 +83,10 @@ "stylus-loader": "^3.0.2", "unist-util-remove": "^1.0.1", "unist-util-visit": "^1.4.0", - "veui": "^2.5.3", - "veui-loader": "^2.5.3", - "veui-theme-dls": "^2.5.3", - "veui-theme-dls-icons": "^2.5.3", + "veui": "^2.5.4", + "veui-loader": "^2.5.4", + "veui-theme-dls": "^2.5.4", + "veui-theme-dls-icons": "^2.5.4", "vue-awesome": "^4.5.0", "vue-i18n": "^8.16.0", "vue-live": "^1.17.2",