From 4f786d6262df9fb0fd3b6d96486e6b8234806e35 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Sat, 26 Nov 2022 23:37:00 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=A4=A7=E4=BC=98=E5=8C=96=EF=BC=8C?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=20`@pureadmin/components`=20,=20=E6=89=93?= =?UTF-8?q?=E5=8C=85=E5=A4=A7=E5=B0=8F=E6=9C=AA=E5=90=AF=E7=94=A8=E5=8E=8B?= =?UTF-8?q?=E7=BC=A9=E5=89=8D=E5=87=8F=E5=B0=91=20`0.4=20MB`=20,=20?= =?UTF-8?q?=E9=A6=96=E5=B1=8F=E8=AF=B7=E6=B1=82=E5=87=8F=E5=B0=91=20`2.3?= =?UTF-8?q?=20MB`=20=20=E7=9A=84=E8=B5=84=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/en.yaml | 3 - locales/zh-CN.yaml | 7 +- package.json | 1 - pnpm-lock.yaml | 508 ++++++++---------- src/layout/components/notice/index.vue | 66 +-- src/main.ts | 3 - src/router/modules/able.ts | 24 - src/style/dark.scss | 5 - src/utils/message.ts | 33 ++ src/views/able/ant-anchor.vue | 72 --- src/views/able/ant-tabs.vue | 56 -- src/views/able/ant-treeSelect.vue | 217 -------- src/views/login/components/phone.vue | 4 +- src/views/login/components/regist.vue | 6 +- src/views/login/components/update.vue | 4 +- src/views/login/index.vue | 4 +- .../base/column-template/columns.tsx | 9 +- .../base/header-renderer/columns.tsx | 9 +- src/views/pure-table/high.vue | 39 +- .../pure-table/high/contextmenu/columns.tsx | 7 +- src/views/pure-table/high/echarts/columns.tsx | 7 +- src/views/pure-table/high/edit/columns.tsx | 7 +- src/views/pure-table/high/execl/columns.tsx | 4 +- src/views/pure-table/index.vue | 32 +- src/views/system/role/columns.tsx | 17 +- src/views/system/user/columns.tsx | 17 +- src/views/tabs/index.vue | 49 +- types/shims-vue.d.ts | 5 +- 28 files changed, 414 insertions(+), 801 deletions(-) create mode 100644 src/utils/message.ts delete mode 100644 src/views/able/ant-anchor.vue delete mode 100644 src/views/able/ant-tabs.vue delete mode 100644 src/views/able/ant-treeSelect.vue diff --git a/locales/en.yaml b/locales/en.yaml index 697faed3bd..89c6a71401 100644 --- a/locales/en.yaml +++ b/locales/en.yaml @@ -84,9 +84,6 @@ menus: hsIconSelect: Icon Select hsTimeline: Time Line hsLineTree: LineTree - hsAntTabs: Imitate Antdv Tabs - hsAntAnchor: Imitate Antdv Anchor - hsAntTreeSelect: Imitate Antdv TreeSelector hsList: List Page hsListCard: Card List Page hsDebounce: Debounce & Throttle diff --git a/locales/zh-CN.yaml b/locales/zh-CN.yaml index e5339ff91c..f7c370468b 100644 --- a/locales/zh-CN.yaml +++ b/locales/zh-CN.yaml @@ -84,9 +84,6 @@ menus: hsIconSelect: 图标选择器 hsTimeline: 时间线 hsLineTree: 树形连接线 - hsAntTabs: 仿antdv标签页 - hsAntAnchor: 仿antdv锚点 - hsAntTreeSelect: 仿antdv树型选择器 hsList: 列表页 hsListCard: 卡片列表页 hsDebounce: 防抖节流 @@ -100,8 +97,8 @@ menus: hsExecl: 导出Excel hsInfiniteScroll: 表格无限滚动 hsdanmaku: 弹幕组件 - hsPureTableBase: 基础用法 - hsPureTableHigh: 高级用法 + hsPureTableBase: 基础用法(23个示例) + hsPureTableHigh: 高级用法(8个示例) hsTree: 大数据树业务组件 status: hsLoad: 加载中... diff --git a/package.json b/package.json index 16dd68b265..20db61c2cf 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,6 @@ "@howdyjs/mouse-menu": "^2.0.5", "@logicflow/core": "^1.1.30", "@logicflow/extension": "^1.1.30", - "@pureadmin/components": "^1.1.0", "@pureadmin/descriptions": "^1.1.0", "@pureadmin/table": "^1.8.0", "@pureadmin/utils": "^1.6.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c0a4b50509..2bddb24299 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,7 +19,6 @@ specifiers: "@intlify/vite-plugin-vue-i18n": ^6.0.3 "@logicflow/core": ^1.1.30 "@logicflow/extension": ^1.1.30 - "@pureadmin/components": ^1.1.0 "@pureadmin/descriptions": ^1.1.0 "@pureadmin/table": ^1.8.0 "@pureadmin/theme": ^2.4.0 @@ -132,7 +131,6 @@ dependencies: "@howdyjs/mouse-menu": 2.0.5_vue@3.2.45 "@logicflow/core": 1.1.31 "@logicflow/extension": 1.1.31 - "@pureadmin/components": 1.1.0_vue@3.2.45 "@pureadmin/descriptions": 1.1.1_element-plus@2.2.25 "@pureadmin/table": 1.8.0_element-plus@2.2.25 "@pureadmin/utils": 1.6.7_aotapuqn7htzdjltsyimavekky @@ -143,7 +141,7 @@ dependencies: animate.css: 4.1.1 axios: 1.2.0 china-area-data: 5.0.1 - cropperjs: 1.5.12 + cropperjs: 1.5.13 dayjs: 1.11.6 echarts: 5.4.0 el-table-infinite-scroll: 3.0.1 @@ -164,7 +162,7 @@ dependencies: qs: 6.11.0 responsive-storage: 2.1.0 sortablejs: 1.15.0 - swiper: 8.4.4 + swiper: 8.4.5 typeit: 8.7.0 v-contextmenu: 3.0.0_vue@3.2.45 vue: 3.2.45 @@ -185,21 +183,21 @@ devDependencies: "@commitlint/cli": 13.1.0 "@commitlint/config-conventional": 13.1.0 "@faker-js/faker": 7.6.0 - "@iconify-icons/carbon": 1.2.11 - "@iconify-icons/ep": 1.2.9 - "@iconify-icons/fa": 1.2.3 - "@iconify-icons/fa-solid": 1.2.3 - "@iconify-icons/fluent": 1.2.17 - "@iconify-icons/mdi": 1.2.32 - "@iconify-icons/ri": 1.2.3 - "@iconify-icons/uil": 1.2.2 + "@iconify-icons/carbon": 1.2.12 + "@iconify-icons/ep": 1.2.10 + "@iconify-icons/fa": 1.2.4 + "@iconify-icons/fa-solid": 1.2.4 + "@iconify-icons/fluent": 1.2.18 + "@iconify-icons/mdi": 1.2.34 + "@iconify-icons/ri": 1.2.4 + "@iconify-icons/uil": 1.2.3 "@iconify/vue": 4.0.0_vue@3.2.45 "@intlify/vite-plugin-vue-i18n": 6.0.3_vite@3.1.8+vue-i18n@9.2.2 "@pureadmin/theme": 2.4.0 "@types/element-resize-detector": 1.1.3 "@types/intro.js": 5.1.0 "@types/js-cookie": 3.0.2 - "@types/lodash": 4.14.189 + "@types/lodash": 4.14.190 "@types/lodash-es": 4.17.6 "@types/mockjs": 1.0.7 "@types/node": 18.11.9 @@ -207,19 +205,19 @@ devDependencies: "@types/qrcode": 1.5.0 "@types/qs": 6.9.7 "@types/sortablejs": 1.15.0 - "@typescript-eslint/eslint-plugin": 5.43.0_wze2rj5tow7zwqpgbdx2buoy3m - "@typescript-eslint/parser": 5.43.0_e3uo4sehh4zr4i6m57mkkxxv7y + "@typescript-eslint/eslint-plugin": 5.44.0_fnsv2sbzcckq65bwfk7a5xwslu + "@typescript-eslint/parser": 5.44.0_hsf322ms6xhhd4b5ne6lb74y4a "@vitejs/plugin-vue": 3.2.0_vite@3.1.8+vue@3.2.45 "@vitejs/plugin-vue-jsx": 2.1.1_vite@3.1.8+vue@3.2.45 - "@vue/eslint-config-prettier": 7.0.0_mbd4zptqpjbepwpyh2zbtslqey - "@vue/eslint-config-typescript": 11.0.2_25kohlulmtiau2kyupevrx53qe + "@vue/eslint-config-prettier": 7.0.0_5qrnzwqb344w6up62gv3safeoi + "@vue/eslint-config-typescript": 11.0.2_5ma4o5namqj2syekqcvrgakwe4 "@vue/runtime-core": 3.2.45 autoprefixer: 10.4.13_postcss@8.4.19 cloc: 2.10.0 cssnano: 5.1.14_postcss@8.4.19 - eslint: 8.27.0 - eslint-plugin-prettier: 4.2.1_mbd4zptqpjbepwpyh2zbtslqey - eslint-plugin-vue: 9.7.0_eslint@8.27.0 + eslint: 8.28.0 + eslint-plugin-prettier: 4.2.1_5qrnzwqb344w6up62gv3safeoi + eslint-plugin-vue: 9.8.0_eslint@8.28.0 font-awesome: 4.7.0 husky: 7.0.4 lint-staged: 11.1.2 @@ -228,8 +226,8 @@ devDependencies: postcss-html: 1.5.0 postcss-import: 15.0.0_postcss@8.4.19 postcss-scss: 4.0.5_postcss@8.4.19 - prettier: 2.7.1 - pretty-quick: 3.1.1_prettier@2.7.1 + prettier: 2.8.0 + pretty-quick: 3.1.1_prettier@2.8.0 rimraf: 3.0.2 rollup-plugin-visualizer: 5.8.3 sass: 1.56.1 @@ -242,16 +240,16 @@ devDependencies: stylelint-order: 5.0.0_stylelint@14.15.0 svgo: 3.0.2 tailwindcss: 3.2.4_postcss@8.4.19 - terser: 5.15.1 + terser: 5.16.0 typescript: 4.9.3 unplugin-vue-macros: 1.0.3_5wosmox4cb7ovevlqdhap7knuu - vite: 3.1.8_sass@1.56.1+terser@5.15.1 + vite: 3.1.8_sass@1.56.1+terser@5.16.0 vite-plugin-cdn-import: 0.3.5 vite-plugin-compression: 0.5.1_vite@3.1.8 vite-plugin-mock: 2.9.6_mockjs@1.1.0+vite@3.1.8 vite-plugin-remove-console: 1.3.0 vite-svg-loader: 3.6.0 - vue-eslint-parser: 9.1.0_eslint@8.27.0 + vue-eslint-parser: 9.1.0_eslint@8.28.0 vue-tsc: 1.0.9_typescript@4.9.3 packages: @@ -273,35 +271,6 @@ packages: "@jridgewell/trace-mapping": 0.3.17 dev: true - /@ant-design/colors/6.0.0: - resolution: - { - integrity: sha512-qAZRvPzfdWHtfameEGP2Qvuf838NhergR35o+EuVyB5XvSA98xod5r4utvi4TJ3ywmevm290g9nsCG5MryrdWQ== - } - dependencies: - "@ctrl/tinycolor": 3.4.1 - dev: false - - /@ant-design/icons-svg/4.2.1: - resolution: - { - integrity: sha512-EB0iwlKDGpG93hW8f85CTJTs4SvMX7tt5ceupvhALp1IF44SeUFOMhKUOYqpsoYWQKAOuTRDMqn75rEaKDp0Xw== - } - dev: false - - /@ant-design/icons-vue/6.1.0_vue@3.2.45: - resolution: - { - integrity: sha512-EX6bYm56V+ZrKN7+3MT/ubDkvJ5rK/O2t380WFRflDcVFgsvl3NLH7Wxeau6R8DbrO5jWR6DSTC3B6gYFp77AA== - } - peerDependencies: - vue: ">=3.0.3" - dependencies: - "@ant-design/colors": 6.0.0 - "@ant-design/icons-svg": 4.2.1 - vue: 3.2.45 - dev: false - /@antfu/utils/0.6.3: resolution: { @@ -642,7 +611,7 @@ packages: } engines: { node: ">=6.9.0" } dependencies: - regenerator-runtime: 0.13.10 + regenerator-runtime: 0.13.11 dev: false /@babel/template/7.18.10: @@ -878,7 +847,7 @@ packages: chalk: 4.1.2 dev: true - /@csstools/selector-specificity/2.0.2_45y636a2vqremknoajyxd5nkzy: + /@csstools/selector-specificity/2.0.2_tbwh2mpcdwdeb2slx6bobindua: resolution: { integrity: sha512-IkpVW/ehM1hWKln4fCA3NzJU8KwD+kIOvPZA4cqxoJHtE21CCzjyp+Kxbu0i5I4tBNOlXPL9mjwnWlL0VEG4Fg== @@ -889,7 +858,7 @@ packages: postcss-selector-parser: ^6.0.10 dependencies: postcss: 8.4.19 - postcss-selector-parser: 6.0.10 + postcss-selector-parser: 6.0.11 dev: true /@ctrl/tinycolor/3.4.1: @@ -929,10 +898,10 @@ packages: - typescript dev: true - /@esbuild/android-arm/0.15.14: + /@esbuild/android-arm/0.15.15: resolution: { - integrity: sha512-+Rb20XXxRGisNu2WmNKk+scpanb7nL5yhuI1KR9wQFiC43ddPj/V1fmNyzlFC9bKiG4mYzxW7egtoHVcynr+OA== + integrity: sha512-JJjZjJi2eBL01QJuWjfCdZxcIgot+VoK6Fq7eKF9w4YHm9hwl7nhBR1o2Wnt/WcANk5l9SkpvrldW1PLuXxcbw== } engines: { node: ">=12" } cpu: [arm] @@ -941,10 +910,10 @@ packages: dev: true optional: true - /@esbuild/linux-loong64/0.15.14: + /@esbuild/linux-loong64/0.15.15: resolution: { - integrity: sha512-eQi9rosGNVQFJyJWV0HCA5WZae/qWIQME7s8/j8DMvnylfBv62Pbu+zJ2eUDqNf2O4u3WB+OEXyfkpBoe194sg== + integrity: sha512-lhz6UNPMDXUhtXSulw8XlFAtSYO26WmHQnCi2Lg2p+/TMiJKNLtZCYUxV4wG6rZMzXmr8InGpNwk+DLT2Hm0PA== } engines: { node: ">=12" } cpu: [loong64] @@ -988,10 +957,10 @@ packages: } dev: false - /@floating-ui/dom/1.0.6: + /@floating-ui/dom/1.0.7: resolution: { - integrity: sha512-kt/tg1oip9OAH1xjCTcx1OpcUpu9rjDw3GKJ/rEhUqhO7QyJWfrHU0DpLTNsH67+JyFL5Kv9X1utsXwKFVtyEQ== + integrity: sha512-6RsqvCYe0AYWtsGvuWqCm7mZytnXAZCjWtsWu1Kg8dI3INvj/DbKlDsZO+mKSaQdPT12uxIW9W2dAWJkPx4Y5g== } dependencies: "@floating-ui/core": 1.0.2 @@ -1038,73 +1007,73 @@ packages: } dev: true - /@iconify-icons/carbon/1.2.11: + /@iconify-icons/carbon/1.2.12: resolution: { - integrity: sha512-7aHMFpb1uUL1nOXttU2wtkUybkjzc3H2/YBm8rB7PIBmIRRQ1F3y4CT2niLNiI14fVEIENfdPjUwom2X3uWeSw== + integrity: sha512-eLrW0Eict648suSgjdXZtQlLkbP8ZtZ2yYvh7rEap6pqdjRq+68yAjkgoMklTOESAoQZ+sbHwW3AdZZVk1c7uQ== } dependencies: "@iconify/types": 2.0.0 dev: true - /@iconify-icons/ep/1.2.9: + /@iconify-icons/ep/1.2.10: resolution: { - integrity: sha512-oDVLB8E/qHWfJzWlYW70N06E2L4mLB/1q6yoDk6KqJGWRV+KlyDHOem/yXWqUiU9ddmnBHFz/mGF7+3NJ2bJHQ== + integrity: sha512-slLhiMM5snJi+Mbzj02UPkK1Ym5SK9U4l1CSbA5V6YGjzL1Pk60fGPB6b7Js3jObftONWji6bpJKFjOGYyPk/g== } dependencies: "@iconify/types": 2.0.0 dev: true - /@iconify-icons/fa-solid/1.2.3: + /@iconify-icons/fa-solid/1.2.4: resolution: { - integrity: sha512-Eo8TQ4d4tJnMGhNNDujGb2HWsNgAC4AS0h+Pzd199aazgNPQnP16ycCt4CijpmETI9hjZCLrgfc2VUiBQ2FzHQ== + integrity: sha512-G0B2c/qKcQS8qHNn0/DQ6hVLu7HKFDLwEBj9mTSgrfvi40if/QFhWoXbH17yRa0DAE0Wod6evp6YwHR7PwHGrg== } dependencies: "@iconify/types": 2.0.0 dev: true - /@iconify-icons/fa/1.2.3: + /@iconify-icons/fa/1.2.4: resolution: { - integrity: sha512-qxMbbKfZMJf7C74mrRKsH3Rb9sjua5ujtHjEUMI1yKlriZPbQale9SqXu4m6Xlq6OJ1GSN3LRsweE/pcm889oQ== + integrity: sha512-c0/7T/d7QjzW1U7IhoUwAhT16HzaldFz9sBK/a+LJpZgO1s71jjabUu6RbA3DiWwc+z8mWuHy7KvzQebTNaKSg== } dependencies: "@iconify/types": 2.0.0 dev: true - /@iconify-icons/fluent/1.2.17: + /@iconify-icons/fluent/1.2.18: resolution: { - integrity: sha512-vSw+2cATND1By/iyU0LZmlDXYs3g8eBRY0kvdoEo/2xAlBa0tEPuUPKWXgLThPqeyKB2CqyIn6Iu/rUs+XVNYw== + integrity: sha512-NVcMTRGOGJBVsF+w1EPuN6+DhcxBMbLzTTZhs9qxKLvYNe2TCM6w8RF2w6rq2zrN1n2p3jj9hcEi0ASOv5Plgg== } dependencies: "@iconify/types": 2.0.0 dev: true - /@iconify-icons/mdi/1.2.32: + /@iconify-icons/mdi/1.2.34: resolution: { - integrity: sha512-LLXgR3qQVJdoXbv48d3iMWeQvMZOuSNRVdM/8tQeuepoGdmZXxgbPuLSPoe1s+DTP2N4aKRgsFKmz+Y9GyNAYg== + integrity: sha512-3A7ezd/9mQKM9KEqR8QIfJaBWJ/HfZ3u45oy5/yU6FlTQrfRx+f+e0hD0nwAkbOptZmz2sFsGIfwBdX4Kl+JIw== } dependencies: "@iconify/types": 2.0.0 dev: true - /@iconify-icons/ri/1.2.3: + /@iconify-icons/ri/1.2.4: resolution: { - integrity: sha512-9yIE6qVgz9t8B5dQOJFC0N3NUwgoARiJjZ3z2IAV+vxLwa3tO/OTlddfDBBZhOVquB7DIh4cWqYC2dSfbWbfhw== + integrity: sha512-hTYFsUMEYU62Eu8YEtNPvGRusvUXQPs3kT+Vvl6VJc9TwfX+W8SNo4eL7e35QeNZh2JWAwG6cYCoWFQQSFpFHg== } dependencies: "@iconify/types": 2.0.0 dev: true - /@iconify-icons/uil/1.2.2: + /@iconify-icons/uil/1.2.3: resolution: { - integrity: sha512-38Z19w4dSNQdCTAhwGDi+3eg7DyRyesSM5tvgTY4AgkCPl4k+DwaYfjuI/hbWtyFoGcblfCdxjkDVGGGMNdheg== + integrity: sha512-+UlrTCKJ13k8MdZdBJUdJLwrys6r8/BG3MT+C09Vcqbzh5IKGxS9RdJ7G3XeTn+H2MrIJ/EHWCNNUANlDqLk6A== } dependencies: "@iconify/types": 2.0.0 @@ -1233,7 +1202,7 @@ packages: debug: 4.3.4 fast-glob: 3.2.12 source-map: 0.6.1 - vite: 3.1.8_sass@1.56.1+terser@5.15.1 + vite: 3.1.8_sass@1.56.1+terser@5.16.0 vue-i18n: 9.2.2_vue@3.2.45 transitivePeerDependencies: - supports-color @@ -1367,19 +1336,6 @@ packages: fastq: 1.13.0 dev: true - /@pureadmin/components/1.1.0_vue@3.2.45: - resolution: - { - integrity: sha512-Y7FCUVQVkZ2P3K/3vLrfQOfpjbf8g0TDPUWuFUlaq6aIW3BRduiVfqn4k/r3TX6LtasxGvgnJ/TO9tGed5VlTg== - } - peerDependencies: - vue: ^3.2.0 - dependencies: - "@ant-design/icons-svg": 4.2.1 - "@ant-design/icons-vue": 6.1.0_vue@3.2.45 - vue: 3.2.45 - dev: false - /@pureadmin/descriptions/1.1.1_element-plus@2.2.25: resolution: { @@ -1563,12 +1519,12 @@ packages: integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg== } dependencies: - "@types/lodash": 4.14.189 + "@types/lodash": 4.14.190 - /@types/lodash/4.14.189: + /@types/lodash/4.14.190: resolution: { - integrity: sha512-kb9/98N6X8gyME9Cf7YaqIMvYGnBSWqEci6tiettE6iJWH1XdJz/PO8LB0GtLCG7x8dU3KWhZT+lA1a35127tA== + integrity: sha512-5iJ3FBJBvQHQ8sFhEhJfjUP+G+LalhavTkYyrAYqz5MEJG+erSv0k9KJLb6q7++17Lafk1scaTIFXcMJlwK8Mw== } /@types/minimatch/3.0.5: @@ -1679,10 +1635,10 @@ packages: integrity: sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ== } - /@typescript-eslint/eslint-plugin/5.43.0_wze2rj5tow7zwqpgbdx2buoy3m: + /@typescript-eslint/eslint-plugin/5.44.0_fnsv2sbzcckq65bwfk7a5xwslu: resolution: { - integrity: sha512-wNPzG+eDR6+hhW4yobEmpR36jrqqQv1vxBq5LJO3fBAktjkvekfr4BRl+3Fn1CM/A+s8/EiGUbOMDoYqWdbtXA== + integrity: sha512-j5ULd7FmmekcyWeArx+i8x7sdRHzAtXTkmDPthE4amxZOWKFK7bomoJ4r7PJ8K7PoMzD16U8MmuZFAonr1ERvw== } engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } peerDependencies: @@ -1693,12 +1649,12 @@ packages: typescript: optional: true dependencies: - "@typescript-eslint/parser": 5.43.0_e3uo4sehh4zr4i6m57mkkxxv7y - "@typescript-eslint/scope-manager": 5.43.0 - "@typescript-eslint/type-utils": 5.43.0_e3uo4sehh4zr4i6m57mkkxxv7y - "@typescript-eslint/utils": 5.43.0_e3uo4sehh4zr4i6m57mkkxxv7y + "@typescript-eslint/parser": 5.44.0_hsf322ms6xhhd4b5ne6lb74y4a + "@typescript-eslint/scope-manager": 5.44.0 + "@typescript-eslint/type-utils": 5.44.0_hsf322ms6xhhd4b5ne6lb74y4a + "@typescript-eslint/utils": 5.44.0_hsf322ms6xhhd4b5ne6lb74y4a debug: 4.3.4 - eslint: 8.27.0 + eslint: 8.28.0 ignore: 5.2.0 natural-compare-lite: 1.4.0 regexpp: 3.2.0 @@ -1709,10 +1665,10 @@ packages: - supports-color dev: true - /@typescript-eslint/parser/5.43.0_e3uo4sehh4zr4i6m57mkkxxv7y: + /@typescript-eslint/parser/5.44.0_hsf322ms6xhhd4b5ne6lb74y4a: resolution: { - integrity: sha512-2iHUK2Lh7PwNUlhFxxLI2haSDNyXvebBO9izhjhMoDC+S3XI9qt2DGFUsiJ89m2k7gGYch2aEpYqV5F/+nwZug== + integrity: sha512-H7LCqbZnKqkkgQHaKLGC6KUjt3pjJDx8ETDqmwncyb6PuoigYajyAwBGz08VU/l86dZWZgI4zm5k2VaKqayYyA== } engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } peerDependencies: @@ -1722,31 +1678,31 @@ packages: typescript: optional: true dependencies: - "@typescript-eslint/scope-manager": 5.43.0 - "@typescript-eslint/types": 5.43.0 - "@typescript-eslint/typescript-estree": 5.43.0_typescript@4.9.3 + "@typescript-eslint/scope-manager": 5.44.0 + "@typescript-eslint/types": 5.44.0 + "@typescript-eslint/typescript-estree": 5.44.0_typescript@4.9.3 debug: 4.3.4 - eslint: 8.27.0 + eslint: 8.28.0 typescript: 4.9.3 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/scope-manager/5.43.0: + /@typescript-eslint/scope-manager/5.44.0: resolution: { - integrity: sha512-XNWnGaqAtTJsUiZaoiGIrdJYHsUOd3BZ3Qj5zKp9w6km6HsrjPk/TGZv0qMTWyWj0+1QOqpHQ2gZOLXaGA9Ekw== + integrity: sha512-2pKml57KusI0LAhgLKae9kwWeITZ7IsZs77YxyNyIVOwQ1kToyXRaJLl+uDEXzMN5hnobKUOo2gKntK9H1YL8g== } engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } dependencies: - "@typescript-eslint/types": 5.43.0 - "@typescript-eslint/visitor-keys": 5.43.0 + "@typescript-eslint/types": 5.44.0 + "@typescript-eslint/visitor-keys": 5.44.0 dev: true - /@typescript-eslint/type-utils/5.43.0_e3uo4sehh4zr4i6m57mkkxxv7y: + /@typescript-eslint/type-utils/5.44.0_hsf322ms6xhhd4b5ne6lb74y4a: resolution: { - integrity: sha512-K21f+KY2/VvYggLf5Pk4tgBOPs2otTaIHy2zjclo7UZGLyFH86VfUOm5iq+OtDtxq/Zwu2I3ujDBykVW4Xtmtg== + integrity: sha512-A1u0Yo5wZxkXPQ7/noGkRhV4J9opcymcr31XQtOzcc5nO/IHN2E2TPMECKWYpM3e6olWEM63fq/BaL1wEYnt/w== } engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } peerDependencies: @@ -1756,28 +1712,28 @@ packages: typescript: optional: true dependencies: - "@typescript-eslint/typescript-estree": 5.43.0_typescript@4.9.3 - "@typescript-eslint/utils": 5.43.0_e3uo4sehh4zr4i6m57mkkxxv7y + "@typescript-eslint/typescript-estree": 5.44.0_typescript@4.9.3 + "@typescript-eslint/utils": 5.44.0_hsf322ms6xhhd4b5ne6lb74y4a debug: 4.3.4 - eslint: 8.27.0 + eslint: 8.28.0 tsutils: 3.21.0_typescript@4.9.3 typescript: 4.9.3 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/types/5.43.0: + /@typescript-eslint/types/5.44.0: resolution: { - integrity: sha512-jpsbcD0x6AUvV7tyOlyvon0aUsQpF8W+7TpJntfCUWU1qaIKu2K34pMwQKSzQH8ORgUrGYY6pVIh1Pi8TNeteg== + integrity: sha512-Tp+zDnHmGk4qKR1l+Y1rBvpjpm5tGXX339eAlRBDg+kgZkz9Bw+pqi4dyseOZMsGuSH69fYfPJCBKBrbPCxYFQ== } engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } dev: true - /@typescript-eslint/typescript-estree/5.43.0_typescript@4.9.3: + /@typescript-eslint/typescript-estree/5.44.0_typescript@4.9.3: resolution: { - integrity: sha512-BZ1WVe+QQ+igWal2tDbNg1j2HWUkAa+CVqdU79L4HP9izQY6CNhXfkNwd1SS4+sSZAP/EthI1uiCSY/+H0pROg== + integrity: sha512-M6Jr+RM7M5zeRj2maSfsZK2660HKAJawv4Ud0xT+yauyvgrsHu276VtXlKDFnEmhG+nVEd0fYZNXGoAgxwDWJw== } engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } peerDependencies: @@ -1786,8 +1742,8 @@ packages: typescript: optional: true dependencies: - "@typescript-eslint/types": 5.43.0 - "@typescript-eslint/visitor-keys": 5.43.0 + "@typescript-eslint/types": 5.44.0 + "@typescript-eslint/visitor-keys": 5.44.0 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -1798,10 +1754,10 @@ packages: - supports-color dev: true - /@typescript-eslint/utils/5.43.0_e3uo4sehh4zr4i6m57mkkxxv7y: + /@typescript-eslint/utils/5.44.0_hsf322ms6xhhd4b5ne6lb74y4a: resolution: { - integrity: sha512-8nVpA6yX0sCjf7v/NDfeaOlyaIIqL7OaIGOWSPFqUKK59Gnumd3Wa+2l8oAaYO2lk0sO+SbWFWRSvhu8gLGv4A== + integrity: sha512-fMzA8LLQ189gaBjS0MZszw5HBdZgVwxVFShCO3QN+ws3GlPkcy9YuS3U4wkT6su0w+Byjq3mS3uamy9HE4Yfjw== } engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } peerDependencies: @@ -1809,26 +1765,26 @@ packages: dependencies: "@types/json-schema": 7.0.11 "@types/semver": 7.3.13 - "@typescript-eslint/scope-manager": 5.43.0 - "@typescript-eslint/types": 5.43.0 - "@typescript-eslint/typescript-estree": 5.43.0_typescript@4.9.3 - eslint: 8.27.0 + "@typescript-eslint/scope-manager": 5.44.0 + "@typescript-eslint/types": 5.44.0 + "@typescript-eslint/typescript-estree": 5.44.0_typescript@4.9.3 + eslint: 8.28.0 eslint-scope: 5.1.1 - eslint-utils: 3.0.0_eslint@8.27.0 + eslint-utils: 3.0.0_eslint@8.28.0 semver: 7.3.8 transitivePeerDependencies: - supports-color - typescript dev: true - /@typescript-eslint/visitor-keys/5.43.0: + /@typescript-eslint/visitor-keys/5.44.0: resolution: { - integrity: sha512-icl1jNH/d18OVHLfcwdL3bWUKsBeIiKYTGxMJCoGe7xFht+E4QgzOqoWYrU8XSLJWhVw8nTacbm03v23J/hFTg== + integrity: sha512-a48tLG8/4m62gPFbJ27FxwCOqPKxsb8KC3HkmYoq2As/4YyjQl1jDbRr1s63+g4FS/iIehjmN3L5UjmKva1HzQ== } engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } dependencies: - "@typescript-eslint/types": 5.43.0 + "@typescript-eslint/types": 5.44.0 eslint-visitor-keys: 3.3.0 dev: true @@ -1901,7 +1857,7 @@ packages: "@babel/core": 7.20.2 "@babel/plugin-transform-typescript": 7.20.2_@babel+core@7.20.2 "@vue/babel-plugin-jsx": 1.1.1_@babel+core@7.20.2 - vite: 3.1.8_sass@1.56.1+terser@5.15.1 + vite: 3.1.8_sass@1.56.1+terser@5.16.0 vue: 3.2.45 transitivePeerDependencies: - supports-color @@ -1917,7 +1873,7 @@ packages: vite: ^3.0.0 vue: ^3.2.25 dependencies: - vite: 3.1.8_sass@1.56.1+terser@5.15.1 + vite: 3.1.8_sass@1.56.1+terser@5.16.0 vue: 3.2.45 dev: true @@ -2243,7 +2199,7 @@ packages: integrity: sha512-JD5fcdIuFxU4fQyXUu3w2KpAJHzTVdN+p4iOX2lMWSHMOoQdMAcpFLZzm9Z/2nmsoZ1a96QEhZ26e50xLBsgOQ== } - /@vue/eslint-config-prettier/7.0.0_mbd4zptqpjbepwpyh2zbtslqey: + /@vue/eslint-config-prettier/7.0.0_5qrnzwqb344w6up62gv3safeoi: resolution: { integrity: sha512-/CTc6ML3Wta1tCe1gUeO0EYnVXfo3nJXsIhZ8WJr3sov+cGASr6yuiibJTL6lmIBm7GobopToOuB3B6AWyV0Iw== @@ -2252,13 +2208,13 @@ packages: eslint: ">= 7.28.0" prettier: ">= 2.0.0" dependencies: - eslint: 8.27.0 - eslint-config-prettier: 8.5.0_eslint@8.27.0 - eslint-plugin-prettier: 4.2.1_v7o5sx5x3wbs57ifz6wc4f76we - prettier: 2.7.1 + eslint: 8.28.0 + eslint-config-prettier: 8.5.0_eslint@8.28.0 + eslint-plugin-prettier: 4.2.1_cwlo2dingkvfydnaculr42urve + prettier: 2.8.0 dev: true - /@vue/eslint-config-typescript/11.0.2_25kohlulmtiau2kyupevrx53qe: + /@vue/eslint-config-typescript/11.0.2_5ma4o5namqj2syekqcvrgakwe4: resolution: { integrity: sha512-EiKud1NqlWmSapBFkeSrE994qpKx7/27uCGnhdqzllYDpQZroyX/O6bwjEpeuyKamvLbsGdO6PMR2faIf+zFnw== @@ -2272,12 +2228,12 @@ packages: typescript: optional: true dependencies: - "@typescript-eslint/eslint-plugin": 5.43.0_wze2rj5tow7zwqpgbdx2buoy3m - "@typescript-eslint/parser": 5.43.0_e3uo4sehh4zr4i6m57mkkxxv7y - eslint: 8.27.0 - eslint-plugin-vue: 9.7.0_eslint@8.27.0 + "@typescript-eslint/eslint-plugin": 5.44.0_fnsv2sbzcckq65bwfk7a5xwslu + "@typescript-eslint/parser": 5.44.0_hsf322ms6xhhd4b5ne6lb74y4a + eslint: 8.28.0 + eslint-plugin-vue: 9.8.0_eslint@8.28.0 typescript: 4.9.3 - vue-eslint-parser: 9.1.0_eslint@8.27.0 + vue-eslint-parser: 9.1.0_eslint@8.28.0 transitivePeerDependencies: - supports-color dev: true @@ -2664,7 +2620,7 @@ packages: cssnano-preset-lite: 2.1.3_postcss@8.4.19 fs-extra: 10.1.0 postcss: 8.4.19 - prettier: 2.7.1 + prettier: 2.8.0 uuid: 8.3.2 dev: true @@ -2839,10 +2795,10 @@ packages: dependencies: color-convert: 2.0.1 - /anymatch/3.1.2: + /anymatch/3.1.3: resolution: { - integrity: sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== + integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== } engines: { node: ">= 8" } dependencies: @@ -2954,7 +2910,7 @@ packages: postcss: ^8.1.0 dependencies: browserslist: 4.21.4 - caniuse-lite: 1.0.30001431 + caniuse-lite: 1.0.30001434 fraction.js: 4.2.0 normalize-range: 0.1.2 picocolors: 1.0.0 @@ -3048,7 +3004,7 @@ packages: engines: { node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7 } hasBin: true dependencies: - caniuse-lite: 1.0.30001431 + caniuse-lite: 1.0.30001434 electron-to-chromium: 1.4.284 node-releases: 2.0.6 update-browserslist-db: 1.0.10_browserslist@4.21.4 @@ -3137,15 +3093,15 @@ packages: } dependencies: browserslist: 4.21.4 - caniuse-lite: 1.0.30001431 + caniuse-lite: 1.0.30001434 lodash.memoize: 4.1.2 lodash.uniq: 4.5.0 dev: true - /caniuse-lite/1.0.30001431: + /caniuse-lite/1.0.30001434: resolution: { - integrity: sha512-zBUoFU0ZcxpvSt9IU66dXVT/3ctO1cy4y9cscs1szkPlcWb6pasYM144GqrUygUbT+k7cmUCW61cvskjcv0enQ== + integrity: sha512-aOBHrLmTQw//WFa2rcF1If9fa3ypkC1wzqqiKHgfdrXTWcU8C4gKVZT77eQAPWN1APys3+uQ0Df07rKauXGEYA== } dev: true @@ -3207,7 +3163,7 @@ packages: } engines: { node: ">= 8.10.0" } dependencies: - anymatch: 3.1.2 + anymatch: 3.1.3 braces: 3.0.2 glob-parent: 5.1.2 is-binary-path: 2.1.0 @@ -3504,10 +3460,10 @@ packages: } dev: true - /cropperjs/1.5.12: + /cropperjs/1.5.13: resolution: { - integrity: sha512-re7UdjE5UnwdrovyhNzZ6gathI4Rs3KGCBSc8HCIjUo5hO42CtzyblmWLj6QWVw7huHyDMfpKxhiO2II77nhDw== + integrity: sha512-by7jKAo73y5/Do0K6sxdTKHgndY0NMjG2bEdgeJxycbcmHuCiMXqw8sxy5C5Y5WTOTcDGmbT7Sr5CgKOXR06OA== } dev: false @@ -4069,9 +4025,9 @@ packages: dependencies: "@ctrl/tinycolor": 3.4.1 "@element-plus/icons-vue": 2.0.10_vue@3.2.45 - "@floating-ui/dom": 1.0.6 + "@floating-ui/dom": 1.0.7 "@popperjs/core": /@sxzz/popperjs-es/2.11.7 - "@types/lodash": 4.14.189 + "@types/lodash": 4.14.190 "@types/lodash-es": 4.17.6 "@vueuse/core": 9.6.0_vue@3.2.45 async-validator: 4.2.5 @@ -4194,10 +4150,10 @@ packages: ext: 1.7.0 dev: false - /esbuild-android-64/0.15.14: + /esbuild-android-64/0.15.15: resolution: { - integrity: sha512-HuilVIb4rk9abT4U6bcFdU35UHOzcWVGLSjEmC58OVr96q5UiRqzDtWjPlCMugjhgUGKEs8Zf4ueIvYbOStbIg== + integrity: sha512-F+WjjQxO+JQOva3tJWNdVjouFMLK6R6i5gjDvgUthLYJnIZJsp1HlF523k73hELY20WPyEO8xcz7aaYBVkeg5Q== } engines: { node: ">=12" } cpu: [x64] @@ -4206,10 +4162,10 @@ packages: dev: true optional: true - /esbuild-android-arm64/0.15.14: + /esbuild-android-arm64/0.15.15: resolution: { - integrity: sha512-/QnxRVxsR2Vtf3XottAHj7hENAMW2wCs6S+OZcAbc/8nlhbAL/bCQRCVD78VtI5mdwqWkVi3wMqM94kScQCgqg== + integrity: sha512-attlyhD6Y22jNyQ0fIIQ7mnPvDWKw7k6FKnsXlBvQE6s3z6s6cuEHcSgoirquQc7TmZgVCK5fD/2uxmRN+ZpcQ== } engines: { node: ">=12" } cpu: [arm64] @@ -4218,10 +4174,10 @@ packages: dev: true optional: true - /esbuild-darwin-64/0.15.14: + /esbuild-darwin-64/0.15.15: resolution: { - integrity: sha512-ToNuf1uifu8hhwWvoZJGCdLIX/1zpo8cOGnT0XAhDQXiKOKYaotVNx7pOVB1f+wHoWwTLInrOmh3EmA7Fd+8Vg== + integrity: sha512-ohZtF8W1SHJ4JWldsPVdk8st0r9ExbAOSrBOh5L+Mq47i696GVwv1ab/KlmbUoikSTNoXEhDzVpxUR/WIO19FQ== } engines: { node: ">=12" } cpu: [x64] @@ -4230,10 +4186,10 @@ packages: dev: true optional: true - /esbuild-darwin-arm64/0.15.14: + /esbuild-darwin-arm64/0.15.15: resolution: { - integrity: sha512-KgGP+y77GszfYJgceO0Wi/PiRtYo5y2Xo9rhBUpxTPaBgWDJ14gqYN0+NMbu+qC2fykxXaipHxN4Scaj9tUS1A== + integrity: sha512-P8jOZ5zshCNIuGn+9KehKs/cq5uIniC+BeCykvdVhx/rBXSxmtj3CUIKZz4sDCuESMbitK54drf/2QX9QHG5Ag== } engines: { node: ">=12" } cpu: [arm64] @@ -4242,10 +4198,10 @@ packages: dev: true optional: true - /esbuild-freebsd-64/0.15.14: + /esbuild-freebsd-64/0.15.15: resolution: { - integrity: sha512-xr0E2n5lyWw3uFSwwUXHc0EcaBDtsal/iIfLioflHdhAe10KSctV978Te7YsfnsMKzcoGeS366+tqbCXdqDHQA== + integrity: sha512-KkTg+AmDXz1IvA9S1gt8dE24C8Thx0X5oM0KGF322DuP+P3evwTL9YyusHAWNsh4qLsR80nvBr/EIYs29VSwuA== } engines: { node: ">=12" } cpu: [x64] @@ -4254,10 +4210,10 @@ packages: dev: true optional: true - /esbuild-freebsd-arm64/0.15.14: + /esbuild-freebsd-arm64/0.15.15: resolution: { - integrity: sha512-8XH96sOQ4b1LhMlO10eEWOjEngmZ2oyw3pW4o8kvBcpF6pULr56eeYVP5radtgw54g3T8nKHDHYEI5AItvskZg== + integrity: sha512-FUcML0DRsuyqCMfAC+HoeAqvWxMeq0qXvclZZ/lt2kLU6XBnDA5uKTLUd379WYEyVD4KKFctqWd9tTuk8C/96g== } engines: { node: ">=12" } cpu: [arm64] @@ -4266,10 +4222,10 @@ packages: dev: true optional: true - /esbuild-linux-32/0.15.14: + /esbuild-linux-32/0.15.15: resolution: { - integrity: sha512-6ssnvwaTAi8AzKN8By2V0nS+WF5jTP7SfuK6sStGnDP7MCJo/4zHgM9oE1eQTS2jPmo3D673rckuCzRlig+HMA== + integrity: sha512-q28Qn5pZgHNqug02aTkzw5sW9OklSo96b5nm17Mq0pDXrdTBcQ+M6Q9A1B+dalFeynunwh/pvfrNucjzwDXj+Q== } engines: { node: ">=12" } cpu: [ia32] @@ -4278,10 +4234,10 @@ packages: dev: true optional: true - /esbuild-linux-64/0.15.14: + /esbuild-linux-64/0.15.15: resolution: { - integrity: sha512-ONySx3U0wAJOJuxGUlXBWxVKFVpWv88JEv0NZ6NlHknmDd1yCbf4AEdClSgLrqKQDXYywmw4gYDvdLsS6z0hcw== + integrity: sha512-217KPmWMirkf8liO+fj2qrPwbIbhNTGNVtvqI1TnOWJgcMjUWvd677Gq3fTzXEjilkx2yWypVnTswM2KbXgoAg== } engines: { node: ">=12" } cpu: [x64] @@ -4290,10 +4246,10 @@ packages: dev: true optional: true - /esbuild-linux-arm/0.15.14: + /esbuild-linux-arm/0.15.15: resolution: { - integrity: sha512-D2LImAIV3QzL7lHURyCHBkycVFbKwkDb1XEUWan+2fb4qfW7qAeUtul7ZIcIwFKZgPcl+6gKZmvLgPSj26RQ2Q== + integrity: sha512-RYVW9o2yN8yM7SB1yaWr378CwrjvGCyGybX3SdzPHpikUHkME2AP55Ma20uNwkNyY2eSYFX9D55kDrfQmQBR4w== } engines: { node: ">=12" } cpu: [arm] @@ -4302,10 +4258,10 @@ packages: dev: true optional: true - /esbuild-linux-arm64/0.15.14: + /esbuild-linux-arm64/0.15.15: resolution: { - integrity: sha512-kle2Ov6a1e5AjlHlMQl1e+c4myGTeggrRzArQFmWp6O6JoqqB9hT+B28EW4tjFWgV/NxUq46pWYpgaWXsXRPAg== + integrity: sha512-/ltmNFs0FivZkYsTzAsXIfLQX38lFnwJTWCJts0IbCqWZQe+jjj0vYBNbI0kmXLb3y5NljiM5USVAO1NVkdh2g== } engines: { node: ">=12" } cpu: [arm64] @@ -4314,10 +4270,10 @@ packages: dev: true optional: true - /esbuild-linux-mips64le/0.15.14: + /esbuild-linux-mips64le/0.15.15: resolution: { - integrity: sha512-FVdMYIzOLXUq+OE7XYKesuEAqZhmAIV6qOoYahvUp93oXy0MOVTP370ECbPfGXXUdlvc0TNgkJa3YhEwyZ6MRA== + integrity: sha512-PksEPb321/28GFFxtvL33yVPfnMZihxkEv5zME2zapXGp7fA1X2jYeiTUK+9tJ/EGgcNWuwvtawPxJG7Mmn86A== } engines: { node: ">=12" } cpu: [mips64el] @@ -4326,10 +4282,10 @@ packages: dev: true optional: true - /esbuild-linux-ppc64le/0.15.14: + /esbuild-linux-ppc64le/0.15.15: resolution: { - integrity: sha512-2NzH+iuzMDA+jjtPjuIz/OhRDf8tzbQ1tRZJI//aT25o1HKc0reMMXxKIYq/8nSHXiJSnYV4ODzTiv45s+h73w== + integrity: sha512-ek8gJBEIhcpGI327eAZigBOHl58QqrJrYYIZBWQCnH3UnXoeWMrMZLeeZL8BI2XMBhP+sQ6ERctD5X+ajL/AIA== } engines: { node: ">=12" } cpu: [ppc64] @@ -4338,10 +4294,10 @@ packages: dev: true optional: true - /esbuild-linux-riscv64/0.15.14: + /esbuild-linux-riscv64/0.15.15: resolution: { - integrity: sha512-VqxvutZNlQxmUNS7Ac+aczttLEoHBJ9e3OYGqnULrfipRvG97qLrAv9EUY9iSrRKBqeEbSvS9bSfstZqwz0T4Q== + integrity: sha512-H5ilTZb33/GnUBrZMNJtBk7/OXzDHDXjIzoLXHSutwwsLxSNaLxzAaMoDGDd/keZoS+GDBqNVxdCkpuiRW4OSw== } engines: { node: ">=12" } cpu: [riscv64] @@ -4350,10 +4306,10 @@ packages: dev: true optional: true - /esbuild-linux-s390x/0.15.14: + /esbuild-linux-s390x/0.15.15: resolution: { - integrity: sha512-+KVHEUshX5n6VP6Vp/AKv9fZIl5kr2ph8EUFmQUJnDpHwcfTSn2AQgYYm0HTBR2Mr4d0Wlr0FxF/Cs5pbFgiOw== + integrity: sha512-jKaLUg78mua3rrtrkpv4Or2dNTJU7bgHN4bEjT4OX4GR7nLBSA9dfJezQouTxMmIW7opwEC5/iR9mpC18utnxQ== } engines: { node: ">=12" } cpu: [s390x] @@ -4362,10 +4318,10 @@ packages: dev: true optional: true - /esbuild-netbsd-64/0.15.14: + /esbuild-netbsd-64/0.15.15: resolution: { - integrity: sha512-6D/dr17piEgevIm1xJfZP2SjB9Z+g8ERhNnBdlZPBWZl+KSPUKLGF13AbvC+nzGh8IxOH2TyTIdRMvKMP0nEzQ== + integrity: sha512-aOvmF/UkjFuW6F36HbIlImJTTx45KUCHJndtKo+KdP8Dhq3mgLRKW9+6Ircpm8bX/RcS3zZMMmaBLkvGY06Gvw== } engines: { node: ">=12" } cpu: [x64] @@ -4374,10 +4330,10 @@ packages: dev: true optional: true - /esbuild-openbsd-64/0.15.14: + /esbuild-openbsd-64/0.15.15: resolution: { - integrity: sha512-rREQBIlMibBetgr2E9Lywt2Qxv2ZdpmYahR4IUlAQ1Efv/A5gYdO0/VIN3iowDbCNTLxp0bb57Vf0LFcffD6kA== + integrity: sha512-HFFX+WYedx1w2yJ1VyR1Dfo8zyYGQZf1cA69bLdrHzu9svj6KH6ZLK0k3A1/LFPhcEY9idSOhsB2UyU0tHPxgQ== } engines: { node: ">=12" } cpu: [x64] @@ -4386,10 +4342,10 @@ packages: dev: true optional: true - /esbuild-sunos-64/0.15.14: + /esbuild-sunos-64/0.15.15: resolution: { - integrity: sha512-DNVjSp/BY4IfwtdUAvWGIDaIjJXY5KI4uD82+15v6k/w7px9dnaDaJJ2R6Mu+KCgr5oklmFc0KjBjh311Gxl9Q== + integrity: sha512-jOPBudffG4HN8yJXcK9rib/ZTFoTA5pvIKbRrt3IKAGMq1EpBi4xoVoSRrq/0d4OgZLaQbmkHp8RO9eZIn5atA== } engines: { node: ">=12" } cpu: [x64] @@ -4398,10 +4354,10 @@ packages: dev: true optional: true - /esbuild-windows-32/0.15.14: + /esbuild-windows-32/0.15.15: resolution: { - integrity: sha512-pHBWrcA+/oLgvViuG9FO3kNPO635gkoVrRQwe6ZY1S0jdET07xe2toUvQoJQ8KT3/OkxqUasIty5hpuKFLD+eg== + integrity: sha512-MDkJ3QkjnCetKF0fKxCyYNBnOq6dmidcwstBVeMtXSgGYTy8XSwBeIE4+HuKiSsG6I/mXEb++px3IGSmTN0XiA== } engines: { node: ">=12" } cpu: [ia32] @@ -4410,10 +4366,10 @@ packages: dev: true optional: true - /esbuild-windows-64/0.15.14: + /esbuild-windows-64/0.15.15: resolution: { - integrity: sha512-CszIGQVk/P8FOS5UgAH4hKc9zOaFo69fe+k1rqgBHx3CSK3Opyk5lwYriIamaWOVjBt7IwEP6NALz+tkVWdFog== + integrity: sha512-xaAUIB2qllE888SsMU3j9nrqyLbkqqkpQyWVkfwSil6BBPgcPk3zOFitTTncEKCLTQy3XV9RuH7PDj3aJDljWA== } engines: { node: ">=12" } cpu: [x64] @@ -4422,10 +4378,10 @@ packages: dev: true optional: true - /esbuild-windows-arm64/0.15.14: + /esbuild-windows-arm64/0.15.15: resolution: { - integrity: sha512-KW9W4psdZceaS9A7Jsgl4WialOznSURvqX/oHZk3gOP7KbjtHLSsnmSvNdzagGJfxbAe30UVGXRe8q8nDsOSQw== + integrity: sha512-ttuoCYCIJAFx4UUKKWYnFdrVpoXa3+3WWkXVI6s09U+YjhnyM5h96ewTq/WgQj9LFSIlABQvadHSOQyAVjW5xQ== } engines: { node: ">=12" } cpu: [arm64] @@ -4443,37 +4399,37 @@ packages: requiresBuild: true dev: true - /esbuild/0.15.14: + /esbuild/0.15.15: resolution: { - integrity: sha512-pJN8j42fvWLFWwSMG4luuupl2Me7mxciUOsMegKvwCmhEbJ2covUdFnihxm0FMIBV+cbwbtMoHgMCCI+pj1btQ== + integrity: sha512-TEw/lwK4Zzld9x3FedV6jy8onOUHqcEX3ADFk4k+gzPUwrxn8nWV62tH0udo8jOtjFodlEfc4ypsqX3e+WWO6w== } engines: { node: ">=12" } hasBin: true requiresBuild: true optionalDependencies: - "@esbuild/android-arm": 0.15.14 - "@esbuild/linux-loong64": 0.15.14 - esbuild-android-64: 0.15.14 - esbuild-android-arm64: 0.15.14 - esbuild-darwin-64: 0.15.14 - esbuild-darwin-arm64: 0.15.14 - esbuild-freebsd-64: 0.15.14 - esbuild-freebsd-arm64: 0.15.14 - esbuild-linux-32: 0.15.14 - esbuild-linux-64: 0.15.14 - esbuild-linux-arm: 0.15.14 - esbuild-linux-arm64: 0.15.14 - esbuild-linux-mips64le: 0.15.14 - esbuild-linux-ppc64le: 0.15.14 - esbuild-linux-riscv64: 0.15.14 - esbuild-linux-s390x: 0.15.14 - esbuild-netbsd-64: 0.15.14 - esbuild-openbsd-64: 0.15.14 - esbuild-sunos-64: 0.15.14 - esbuild-windows-32: 0.15.14 - esbuild-windows-64: 0.15.14 - esbuild-windows-arm64: 0.15.14 + "@esbuild/android-arm": 0.15.15 + "@esbuild/linux-loong64": 0.15.15 + esbuild-android-64: 0.15.15 + esbuild-android-arm64: 0.15.15 + esbuild-darwin-64: 0.15.15 + esbuild-darwin-arm64: 0.15.15 + esbuild-freebsd-64: 0.15.15 + esbuild-freebsd-arm64: 0.15.15 + esbuild-linux-32: 0.15.15 + esbuild-linux-64: 0.15.15 + esbuild-linux-arm: 0.15.15 + esbuild-linux-arm64: 0.15.15 + esbuild-linux-mips64le: 0.15.15 + esbuild-linux-ppc64le: 0.15.15 + esbuild-linux-riscv64: 0.15.15 + esbuild-linux-s390x: 0.15.15 + esbuild-netbsd-64: 0.15.15 + esbuild-openbsd-64: 0.15.15 + esbuild-sunos-64: 0.15.15 + esbuild-windows-32: 0.15.15 + esbuild-windows-64: 0.15.15 + esbuild-windows-arm64: 0.15.15 dev: true /escalade/3.1.1: @@ -4505,7 +4461,7 @@ packages: engines: { node: ">=10" } dev: true - /eslint-config-prettier/8.5.0_eslint@8.27.0: + /eslint-config-prettier/8.5.0_eslint@8.28.0: resolution: { integrity: sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q== @@ -4514,10 +4470,10 @@ packages: peerDependencies: eslint: ">=7.0.0" dependencies: - eslint: 8.27.0 + eslint: 8.28.0 dev: true - /eslint-plugin-prettier/4.2.1_mbd4zptqpjbepwpyh2zbtslqey: + /eslint-plugin-prettier/4.2.1_5qrnzwqb344w6up62gv3safeoi: resolution: { integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ== @@ -4531,12 +4487,12 @@ packages: eslint-config-prettier: optional: true dependencies: - eslint: 8.27.0 - prettier: 2.7.1 + eslint: 8.28.0 + prettier: 2.8.0 prettier-linter-helpers: 1.0.0 dev: true - /eslint-plugin-prettier/4.2.1_v7o5sx5x3wbs57ifz6wc4f76we: + /eslint-plugin-prettier/4.2.1_cwlo2dingkvfydnaculr42urve: resolution: { integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ== @@ -4550,28 +4506,28 @@ packages: eslint-config-prettier: optional: true dependencies: - eslint: 8.27.0 - eslint-config-prettier: 8.5.0_eslint@8.27.0 - prettier: 2.7.1 + eslint: 8.28.0 + eslint-config-prettier: 8.5.0_eslint@8.28.0 + prettier: 2.8.0 prettier-linter-helpers: 1.0.0 dev: true - /eslint-plugin-vue/9.7.0_eslint@8.27.0: + /eslint-plugin-vue/9.8.0_eslint@8.28.0: resolution: { - integrity: sha512-DrOO3WZCZEwcLsnd3ohFwqCoipGRSTKTBTnLwdhqAbYZtzWl0o7D+D8ZhlmiZvABKTEl8AFsqH1GHGdybyoQmw== + integrity: sha512-E/AXwcTzunyzM83C2QqDHxepMzvI2y6x+mmeYHbVDQlKFqmKYvRrhaVixEeeG27uI44p9oKDFiyCRw4XxgtfHA== } engines: { node: ^14.17.0 || >=16.0.0 } peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.27.0 - eslint-utils: 3.0.0_eslint@8.27.0 + eslint: 8.28.0 + eslint-utils: 3.0.0_eslint@8.28.0 natural-compare: 1.4.0 nth-check: 2.1.1 - postcss-selector-parser: 6.0.10 + postcss-selector-parser: 6.0.11 semver: 7.3.8 - vue-eslint-parser: 9.1.0_eslint@8.27.0 + vue-eslint-parser: 9.1.0_eslint@8.28.0 xml-name-validator: 4.0.0 transitivePeerDependencies: - supports-color @@ -4609,7 +4565,7 @@ packages: eslint-visitor-keys: 1.3.0 dev: true - /eslint-utils/3.0.0_eslint@8.27.0: + /eslint-utils/3.0.0_eslint@8.28.0: resolution: { integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA== @@ -4618,7 +4574,7 @@ packages: peerDependencies: eslint: ">=5" dependencies: - eslint: 8.27.0 + eslint: 8.28.0 eslint-visitor-keys: 2.1.0 dev: true @@ -4646,10 +4602,10 @@ packages: engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } dev: true - /eslint/8.27.0: + /eslint/8.28.0: resolution: { - integrity: sha512-0y1bfG2ho7mty+SiILVf9PfuRA49ek4Nc60Wmmu62QlobNR+CeXa4xXIJgcuwSQgZiWaPH+5BDsctpIW0PR/wQ== + integrity: sha512-S27Di+EVyMxcHiwDrFzk8dJYAaD+/5SoWKxL1ri/71CRHsnJnRDPNt2Kzj24+MT9FDupf4aqqyqPrvI8MvQ4VQ== } engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } hasBin: true @@ -4665,7 +4621,7 @@ packages: doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.1.1 - eslint-utils: 3.0.0_eslint@8.27.0 + eslint-utils: 3.0.0_eslint@8.28.0 eslint-visitor-keys: 3.3.0 espree: 9.4.1 esquery: 1.4.0 @@ -4681,7 +4637,7 @@ packages: imurmurhash: 0.1.4 is-glob: 4.0.3 is-path-inside: 3.0.3 - js-sdsl: 4.1.5 + js-sdsl: 4.2.0 js-yaml: 4.1.0 json-stable-stringify-without-jsonify: 1.0.1 levn: 0.4.1 @@ -5746,10 +5702,10 @@ packages: engines: { node: ">=12" } dev: false - /js-sdsl/4.1.5: + /js-sdsl/4.2.0: resolution: { - integrity: sha512-08bOAKweV2NUC1wqTtf3qZlnpOX/R2DU9ikpjOHs0H+ibQv3zpncVQg6um4uYtRtrwIX8M4Nh3ytK4HGlYAq7Q== + integrity: sha512-dyBIzQBDkCqCu+0upx25Y2jGdbTGxE9fshMsCdK0ViOongpV+n5tXRcZY9v7CaVQ79AGS9KA1KHtojxiM7aXSQ== } dev: true @@ -6858,7 +6814,7 @@ packages: postcss: ^8.2.2 dependencies: postcss: 8.4.19 - postcss-selector-parser: 6.0.10 + postcss-selector-parser: 6.0.11 postcss-value-parser: 4.2.0 dev: true @@ -7050,7 +7006,7 @@ packages: caniuse-api: 3.0.0 cssnano-utils: 3.1.0_postcss@8.4.19 postcss: 8.4.19 - postcss-selector-parser: 6.0.10 + postcss-selector-parser: 6.0.11 dev: true /postcss-minify-font-values/5.1.0_postcss@8.4.19: @@ -7106,7 +7062,7 @@ packages: postcss: ^8.2.15 dependencies: postcss: 8.4.19 - postcss-selector-parser: 6.0.10 + postcss-selector-parser: 6.0.11 dev: true /postcss-nested/6.0.0_postcss@8.4.19: @@ -7119,7 +7075,7 @@ packages: postcss: ^8.2.14 dependencies: postcss: 8.4.19 - postcss-selector-parser: 6.0.10 + postcss-selector-parser: 6.0.11 dev: true /postcss-normalize-charset/5.1.0_postcss@8.4.19: @@ -7312,10 +7268,10 @@ packages: postcss: 8.4.19 dev: true - /postcss-selector-parser/6.0.10: + /postcss-selector-parser/6.0.11: resolution: { - integrity: sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w== + integrity: sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g== } engines: { node: ">=4" } dependencies: @@ -7358,7 +7314,7 @@ packages: postcss: ^8.2.15 dependencies: postcss: 8.4.19 - postcss-selector-parser: 6.0.10 + postcss-selector-parser: 6.0.11 dev: true /postcss-value-parser/4.2.0: @@ -7404,16 +7360,16 @@ packages: fast-diff: 1.2.0 dev: true - /prettier/2.7.1: + /prettier/2.8.0: resolution: { - integrity: sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== + integrity: sha512-9Lmg8hTFZKG0Asr/kW9Bp8tJjRVluO8EJQVfY2T7FMw9T5jy4I/Uvx0Rca/XWf50QQ1/SS48+6IJWnrb+2yemA== } engines: { node: ">=10.13.0" } hasBin: true dev: true - /pretty-quick/3.1.1_prettier@2.7.1: + /pretty-quick/3.1.1_prettier@2.8.0: resolution: { integrity: sha512-ZYLGiMoV2jcaas3vTJrLvKAYsxDoXQBUn8OSTxkl67Fyov9lyXivJTl0+2WVh+y6EovGcw7Lm5ThYpH+Sh3XxQ== @@ -7429,7 +7385,7 @@ packages: ignore: 5.2.0 mri: 1.2.0 multimatch: 4.0.0 - prettier: 2.7.1 + prettier: 2.8.0 dev: true /prismjs/1.29.0: @@ -7595,10 +7551,10 @@ packages: strip-indent: 3.0.0 dev: true - /regenerator-runtime/0.13.10: + /regenerator-runtime/0.13.11: resolution: { - integrity: sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw== + integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== } dev: false @@ -8250,7 +8206,7 @@ packages: dependencies: browserslist: 4.21.4 postcss: 8.4.19 - postcss-selector-parser: 6.0.10 + postcss-selector-parser: 6.0.11 dev: true /stylelint-config-html/1.1.0_qendsqix7hqecpnpx4fjs6qry4: @@ -8324,7 +8280,7 @@ packages: engines: { node: ^12.20.0 || ^14.13.1 || >=16.0.0 } hasBin: true dependencies: - "@csstools/selector-specificity": 2.0.2_45y636a2vqremknoajyxd5nkzy + "@csstools/selector-specificity": 2.0.2_tbwh2mpcdwdeb2slx6bobindua balanced-match: 2.0.0 colord: 2.9.3 cosmiconfig: 7.1.0 @@ -8351,7 +8307,7 @@ packages: postcss-media-query-parser: 0.2.3 postcss-resolve-nested-selector: 0.1.1 postcss-safe-parser: 6.0.0_postcss@8.4.19 - postcss-selector-parser: 6.0.10 + postcss-selector-parser: 6.0.11 postcss-value-parser: 4.2.0 resolve-from: 5.0.0 string-width: 4.2.3 @@ -8444,10 +8400,10 @@ packages: picocolors: 1.0.0 dev: true - /swiper/8.4.4: + /swiper/8.4.5: resolution: { - integrity: sha512-jA/8BfOZwT8PqPSnMX0TENZYitXEhNa7ZSNj1Diqh5LZyUJoBQaZcqAiPQ/PIg1+IPaRn/V8ZYVb0nxHMh51yw== + integrity: sha512-zveyEFBBv4q1sVkbJHnuH4xCtarKieavJ4SxP0QEHvdpPLJRuD7j/Xg38IVVLbp7Db6qrPsLUePvxohYx39Agw== } engines: { node: ">= 4.7.0" } requiresBuild: true @@ -8499,7 +8455,7 @@ packages: postcss-js: 4.0.0_postcss@8.4.19 postcss-load-config: 3.1.4_postcss@8.4.19 postcss-nested: 6.0.0_postcss@8.4.19 - postcss-selector-parser: 6.0.10 + postcss-selector-parser: 6.0.11 postcss-value-parser: 4.2.0 quick-lru: 5.1.1 resolve: 1.22.1 @@ -8507,10 +8463,10 @@ packages: - ts-node dev: true - /terser/5.15.1: + /terser/5.16.0: resolution: { - integrity: sha512-K1faMUvpm/FBxjBXud0LWVAGxmvoPbZbfTCYbSgaaYQaIXI3/TdI7a7ZGA73Zrou6Q8Zmz3oeUTsp/dj+ag2Xw== + integrity: sha512-KjTV81QKStSfwbNiwlBXfcgMcOloyuRdb62/iLFPGBcVNF4EXjhdYBhYHmbJpiBrVxZhDvltE11j+LBQUxEEJg== } engines: { node: ">=10" } hasBin: true @@ -8788,7 +8744,7 @@ packages: dependencies: "@antfu/utils": 0.6.3 unplugin: 0.10.2 - vite: 3.1.8_sass@1.56.1+terser@5.15.1 + vite: 3.1.8_sass@1.56.1+terser@5.16.0 dev: true /unplugin-vue-define-options/1.0.0: @@ -8967,7 +8923,7 @@ packages: chalk: 4.1.2 debug: 4.3.4 fs-extra: 10.1.0 - vite: 3.1.8_sass@1.56.1+terser@5.15.1 + vite: 3.1.8_sass@1.56.1+terser@5.16.0 transitivePeerDependencies: - supports-color dev: true @@ -8992,7 +8948,7 @@ packages: fast-glob: 3.2.12 mockjs: 1.1.0 path-to-regexp: 6.2.1 - vite: 3.1.8_sass@1.56.1+terser@5.15.1 + vite: 3.1.8_sass@1.56.1+terser@5.16.0 transitivePeerDependencies: - rollup - supports-color @@ -9015,7 +8971,7 @@ packages: svgo: 2.8.0 dev: true - /vite/3.1.8_sass@1.56.1+terser@5.15.1: + /vite/3.1.8_sass@1.56.1+terser@5.16.0: resolution: { integrity: sha512-m7jJe3nufUbuOfotkntGFupinL/fmuTNuQmiVE7cH2IZMuf4UbfbGYMUT3jVWgGYuRVLY9j8NnrRqgw5rr5QTg== @@ -9037,12 +8993,12 @@ packages: terser: optional: true dependencies: - esbuild: 0.15.14 + esbuild: 0.15.15 postcss: 8.4.19 resolve: 1.22.1 rollup: 2.78.1 sass: 1.56.1 - terser: 5.15.1 + terser: 5.16.0 optionalDependencies: fsevents: 2.3.2 dev: true @@ -9064,7 +9020,7 @@ packages: dependencies: vue: 3.2.45 - /vue-eslint-parser/9.1.0_eslint@8.27.0: + /vue-eslint-parser/9.1.0_eslint@8.28.0: resolution: { integrity: sha512-NGn/iQy8/Wb7RrRa4aRkokyCZfOUWk19OP5HP6JEozQFX5AoS/t+Z0ZN7FY4LlmWc4FNI922V7cvX28zctN8dQ== @@ -9074,7 +9030,7 @@ packages: eslint: ">=6.0.0" dependencies: debug: 4.3.4 - eslint: 8.27.0 + eslint: 8.28.0 eslint-scope: 7.1.1 eslint-visitor-keys: 3.3.0 espree: 9.4.1 diff --git a/src/layout/components/notice/index.vue b/src/layout/components/notice/index.vue index 1c283e8859..976b39e461 100644 --- a/src/layout/components/notice/index.vue +++ b/src/layout/components/notice/index.vue @@ -2,25 +2,16 @@ import { ref } from "vue"; import { noticesData } from "./data"; import NoticeList from "./noticeList.vue"; -import { Tabs, TabPane } from "@pureadmin/components"; - -const dropdownDom = ref(); -const activeKey = ref(noticesData[0].key); - -const notices = ref(noticesData); const noticesNum = ref(0); -notices.value.forEach(notice => { - noticesNum.value += notice.list.length; -}); +const notices = ref(noticesData); +const activeKey = ref(noticesData[0].key); -function tabClick() { - (dropdownDom as any).value.handleOpen(); -} +notices.value.map(v => (noticesNum.value += v.list.length)); - + @@ -30,34 +21,25 @@ function tabClick() { - + - + - + - + - - diff --git a/src/main.ts b/src/main.ts index 4ae3b93958..da20445850 100644 --- a/src/main.ts +++ b/src/main.ts @@ -20,9 +20,6 @@ import "./style/reset.scss"; // 导入公共样式 import "./style/index.scss"; import "element-plus/dist/index.css"; -import "@pureadmin/components/dist/index.css"; -import "@pureadmin/components/dist/theme.css"; -import "@pureadmin/components/dist/dark.scss"; // 导入字体图标 import "./assets/iconfont/iconfont.js"; import "./assets/iconfont/iconfont.css"; diff --git a/src/router/modules/able.ts b/src/router/modules/able.ts index 29e06604b5..eb2ea9d26c 100644 --- a/src/router/modules/able.ts +++ b/src/router/modules/able.ts @@ -66,30 +66,6 @@ export default { title: $t("menus.hsLineTree") } }, - { - path: "/able/antTabs", - name: "AntTabs", - component: () => import("@/views/able/ant-tabs.vue"), - meta: { - title: $t("menus.hsAntTabs") - } - }, - { - path: "/able/antAnchor", - name: "AntAnchor", - component: () => import("@/views/able/ant-anchor.vue"), - meta: { - title: $t("menus.hsAntAnchor") - } - }, - { - path: "/able/antTreeSelect", - name: "AntTreeSelect", - component: () => import("@/views/able/ant-treeSelect.vue"), - meta: { - title: $t("menus.hsAntTreeSelect") - } - }, { path: "/able/debounce", name: "Debounce", diff --git a/src/style/dark.scss b/src/style/dark.scss index 01f572f980..23008ada60 100644 --- a/src/style/dark.scss +++ b/src/style/dark.scss @@ -28,11 +28,6 @@ html.dark { filter: invert(0.9) hue-rotate(180deg); } - .ant-tabs { - background: var(--el-bg-color); - color: $color-white; - } - /* 标签页 */ .tags-view { .arrow-left, diff --git a/src/utils/message.ts b/src/utils/message.ts new file mode 100644 index 0000000000..86b631cbff --- /dev/null +++ b/src/utils/message.ts @@ -0,0 +1,33 @@ +import { type MessageHandler, ElMessage } from "element-plus"; + +// 更多配置请看:https://element-plus.org/zh-CN/component/message.html#message-%E9%85%8D%E7%BD%AE%E9%A1%B9 + +type messageTypes = "success" | "info" | "warning" | "error"; + +/** + * `element-plus` 的 `info` 消息类型 + */ +const message = ( + message: string, + type = "info" as messageTypes, + showClose = true, + duration = 2000, + center = false, + grouping = false +): MessageHandler => { + return ElMessage({ + message, + type, + showClose, + duration, + center, + grouping + }); +}; + +/** + * 关闭 `element-plus` 的所有消息实例 + */ +const closeAllMessage = (): void => ElMessage.closeAll(); + +export { message, closeAllMessage }; diff --git a/src/views/able/ant-anchor.vue b/src/views/able/ant-anchor.vue deleted file mode 100644 index c0c9d1e226..0000000000 --- a/src/views/able/ant-anchor.vue +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - 仿antdv锚点,采用 - - @pureadmin/components - - ,完全兼容antdv的 - - Anchor - - 写法 - - - - - - - - - - - - - 测试one - - - 测试two - - - 测试three - - - - - diff --git a/src/views/able/ant-tabs.vue b/src/views/able/ant-tabs.vue deleted file mode 100644 index 87400af46f..0000000000 --- a/src/views/able/ant-tabs.vue +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - 仿antdv标签页,采用 - - @pureadmin/components - - ,完全兼容antdv的 - - Tabs - - 写法 - - - - - Horizontal - Vertical - - - - Content of tab {{ i }} - - - - diff --git a/src/views/able/ant-treeSelect.vue b/src/views/able/ant-treeSelect.vue deleted file mode 100644 index 6e9c978942..0000000000 --- a/src/views/able/ant-treeSelect.vue +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - - - 仿antdv树选择,采用 - - @pureadmin/components - - ,完全兼容antdv的 - - TreeSelect - - 写法 - - - - - - 线性样式: - - - sss - {{ title }} - - - - - - 虚拟滚动: - - - - {{ title }} - - {{ title }} - - - - - - 可勾选: - - - - - 异步加载: - - - - - diff --git a/src/views/login/components/phone.vue b/src/views/login/components/phone.vue index 0b6cb5c0e8..583fe6e9bc 100644 --- a/src/views/login/components/phone.vue +++ b/src/views/login/components/phone.vue @@ -2,8 +2,8 @@ import { useI18n } from "vue-i18n"; import { ref, reactive } from "vue"; import Motion from "../utils/motion"; +import { message } from "@/utils/message"; import { phoneRules } from "../utils/rule"; -import { message } from "@pureadmin/components"; import type { FormInstance } from "element-plus"; import { $t, transformI18n } from "@/plugins/i18n"; import { useVerifyCode } from "../utils/verifyCode"; @@ -26,7 +26,7 @@ const onLogin = async (formEl: FormInstance | undefined) => { if (valid) { // 模拟登录请求,需根据实际开发进行修改 setTimeout(() => { - message.success(transformI18n($t("login.loginSuccess"))); + message(transformI18n($t("login.loginSuccess")), "success"); loading.value = false; }, 2000); } else { diff --git a/src/views/login/components/regist.vue b/src/views/login/components/regist.vue index 66fd3ae813..4110f45913 100644 --- a/src/views/login/components/regist.vue +++ b/src/views/login/components/regist.vue @@ -2,8 +2,8 @@ import { useI18n } from "vue-i18n"; import { ref, reactive } from "vue"; import Motion from "../utils/motion"; +import { message } from "@/utils/message"; import { updateRules } from "../utils/rule"; -import { message } from "@pureadmin/components"; import type { FormInstance } from "element-plus"; import { useVerifyCode } from "../utils/verifyCode"; import { $t, transformI18n } from "@/plugins/i18n"; @@ -45,12 +45,12 @@ const onUpdate = async (formEl: FormInstance | undefined) => { if (checked.value) { // 模拟请求,需根据实际开发进行修改 setTimeout(() => { - message.success(transformI18n($t("login.registerSuccess"))); + message(transformI18n($t("login.registerSuccess")), "success"); loading.value = false; }, 2000); } else { loading.value = false; - message.warning(transformI18n($t("login.tickPrivacy"))); + message(transformI18n($t("login.tickPrivacy")), "warning"); } } else { loading.value = false; diff --git a/src/views/login/components/update.vue b/src/views/login/components/update.vue index 48ba0b8730..9844501112 100644 --- a/src/views/login/components/update.vue +++ b/src/views/login/components/update.vue @@ -2,8 +2,8 @@ import { useI18n } from "vue-i18n"; import { ref, reactive } from "vue"; import Motion from "../utils/motion"; +import { message } from "@/utils/message"; import { updateRules } from "../utils/rule"; -import { message } from "@pureadmin/components"; import type { FormInstance } from "element-plus"; import { useVerifyCode } from "../utils/verifyCode"; import { $t, transformI18n } from "@/plugins/i18n"; @@ -42,7 +42,7 @@ const onUpdate = async (formEl: FormInstance | undefined) => { if (valid) { // 模拟请求,需根据实际开发进行修改 setTimeout(() => { - message.success(transformI18n($t("login.passwordUpdateReg"))); + message(transformI18n($t("login.passwordUpdateReg")), "success"); loading.value = false; }, 2000); } else { diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 642db0e8a3..122ab33281 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -10,6 +10,7 @@ import { import { useI18n } from "vue-i18n"; import Motion from "./utils/motion"; import { useRouter } from "vue-router"; +import { message } from "@/utils/message"; import { loginRules } from "./utils/rule"; import phone from "./components/phone.vue"; import TypeIt from "@/components/ReTypeit"; @@ -18,7 +19,6 @@ import regist from "./components/regist.vue"; import update from "./components/update.vue"; import { initRouter } from "@/router/utils"; import { useNav } from "@/layout/hooks/useNav"; -import { message } from "@pureadmin/components"; import type { FormInstance } from "element-plus"; import { $t, transformI18n } from "@/plugins/i18n"; import { operates, thirdParty } from "./utils/enums"; @@ -72,8 +72,8 @@ const onLogin = async (formEl: FormInstance | undefined) => { if (res.success) { // 获取后端路由 initRouter().then(() => { - message.success("登录成功"); router.push("/"); + message("登录成功", "success"); }); } }); diff --git a/src/views/pure-table/base/column-template/columns.tsx b/src/views/pure-table/base/column-template/columns.tsx index 9a51ae6d66..26066cb8bf 100644 --- a/src/views/pure-table/base/column-template/columns.tsx +++ b/src/views/pure-table/base/column-template/columns.tsx @@ -1,4 +1,4 @@ -import { message } from "@pureadmin/components"; +import { message } from "@/utils/message"; import { tableData } from "../data"; // 如果您不习惯tsx写法,可以传slot,然后在template里写 @@ -56,11 +56,14 @@ export function useColumns() { ]; const handleEdit = (index: number, row) => { - message.success(`您编辑了第 ${index} 行,数据为:${JSON.stringify(row)}`); + message( + `您编辑了第 ${index} 行,数据为:${JSON.stringify(row)}`, + "success" + ); }; const handleDelete = (index: number, row) => { - message.error(`您删除了第 ${index} 行,数据为:${JSON.stringify(row)}`); + message(`您删除了第 ${index} 行,数据为:${JSON.stringify(row)}`, "info"); }; return { diff --git a/src/views/pure-table/base/header-renderer/columns.tsx b/src/views/pure-table/base/header-renderer/columns.tsx index f80925fcc6..08e4bbf715 100644 --- a/src/views/pure-table/base/header-renderer/columns.tsx +++ b/src/views/pure-table/base/header-renderer/columns.tsx @@ -1,4 +1,4 @@ -import { message } from "@pureadmin/components"; +import { message } from "@/utils/message"; import { tableData } from "../data"; import { ref, computed } from "vue"; @@ -15,11 +15,14 @@ export function useColumns() { ); const handleEdit = (index: number, row) => { - message.success(`您编辑了第 ${index} 行,数据为:${JSON.stringify(row)}`); + message( + `您编辑了第 ${index} 行,数据为:${JSON.stringify(row)}`, + "success" + ); }; const handleDelete = (index: number, row) => { - message.error(`您删除了第 ${index} 行,数据为:${JSON.stringify(row)}`); + message(`您删除了第 ${index} 行,数据为:${JSON.stringify(row)}`, "info"); }; const columns: TableColumnList = [ diff --git a/src/views/pure-table/high.vue b/src/views/pure-table/high.vue index 70772d1688..ef011f828b 100644 --- a/src/views/pure-table/high.vue +++ b/src/views/pure-table/high.vue @@ -1,10 +1,16 @@ @@ -32,21 +38,30 @@ defineOptions({ :closable="false" /> - - - - - {{ item.title }} - - - - - + + + + + + {{ item.title }} + + + + + +