From 64eef1fc6655ea15e4c34aff8451de486a835a0b Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Fri, 21 Jan 2022 11:32:58 +0800 Subject: [PATCH] refactor: use @iconify-icons/ep --- mock/asyncRoutes.ts | 2 +- package.json | 19 +- pnpm-lock.yaml | 551 +++++++++++------------- src/components/ReIcon/index.ts | 27 +- src/components/ReIcon/src/iconifyIconOffline.ts | 70 +++ src/components/ReIcon/src/iconifyIconOnline.ts | 30 ++ src/layout/components/appMain.vue | 2 +- src/layout/components/navbar.vue | 14 +- src/layout/components/notice/index.vue | 4 +- src/layout/components/panel/index.vue | 2 +- src/layout/components/setting/index.vue | 9 +- src/layout/components/sidebar/horizontal.vue | 8 +- src/layout/components/tag/index.vue | 51 +-- src/layout/index.vue | 7 +- src/layout/types.ts | 5 +- src/main.ts | 5 + src/plugins/element-plus/index.ts | 56 --- src/router/modules/error.ts | 2 +- src/router/modules/externalLink.ts | 2 +- src/router/modules/home.ts | 2 +- src/router/modules/remaining.ts | 2 +- src/store/modules/multiTags.ts | 2 +- src/store/modules/user.ts | 2 +- src/utils/storage/responsive.ts | 2 +- src/views/login.vue | 16 +- types/global.d.ts | 18 +- windi.config.ts | 1 - 27 files changed, 456 insertions(+), 455 deletions(-) create mode 100644 src/components/ReIcon/src/iconifyIconOffline.ts create mode 100644 src/components/ReIcon/src/iconifyIconOnline.ts diff --git a/mock/asyncRoutes.ts b/mock/asyncRoutes.ts index 56d89a0..9850b1e 100644 --- a/mock/asyncRoutes.ts +++ b/mock/asyncRoutes.ts @@ -7,7 +7,7 @@ const permissionRouter = { redirect: "/permission/page/index", meta: { title: "menus.permission", - icon: "Lollipop", + icon: "lollipop", i18n: true, showLink: true, rank: 3 diff --git a/package.json b/package.json index b083ad1..e838691 100644 --- a/package.json +++ b/package.json @@ -29,12 +29,11 @@ ], "dependencies": { "@ctrl/tinycolor": "^3.4.0", - "@element-plus/icons-vue": "^0.2.6", "@fortawesome/fontawesome-svg-core": "^1.2.36", "@fortawesome/free-solid-svg-icons": "^5.15.4", "@fortawesome/vue-fontawesome": "^3.0.0-5", "@vueuse/core": "^7.5.3", - "@vueuse/motion": "^2.0.0-beta.4", + "@vueuse/motion": "^2.0.0-beta.9", "animate.css": "^4.1.1", "axios": "^0.25.0", "css-color-function": "^1.3.3", @@ -62,6 +61,8 @@ "devDependencies": { "@commitlint/cli": "13.1.0", "@commitlint/config-conventional": "13.1.0", + "@iconify-icons/ep": "^1.1.3", + "@iconify/vue": "^3.1.2", "@types/element-resize-detector": "1.1.3", "@types/js-cookie": "^3.0.1", "@types/mockjs": "1.0.3", @@ -75,7 +76,7 @@ "@vitejs/plugin-vue-jsx": "^1.3.3", "@vue/eslint-config-prettier": "6.0.0", "@vue/eslint-config-typescript": "7.0.0", - "@zougt/vite-plugin-theme-preprocessor": "^1.4.0", + "@zougt/vite-plugin-theme-preprocessor": "^1.4.4", "autoprefixer": "10.2.4", "cross-env": "7.0.3", "eslint": "7.30.0", @@ -95,16 +96,16 @@ "stylelint-config-standard": "22.0.0", "stylelint-order": "4.1.0", "typescript": "4.4.2", - "unplugin-element-plus": "^0.1.3", - "vite": "2.6.14", + "unplugin-element-plus": "^0.2.0", + "vite": "^2.7.13", "vite-plugin-live-reload": "^2.1.0", "vite-plugin-mock": "^2.9.6", "vite-plugin-remove-console": "^0.0.6", - "vite-plugin-style-import": "^1.2.1", - "vite-plugin-windicss": "^1.6.1", - "vite-svg-loader": "^2.2.0", + "vite-plugin-style-import": "^1.4.1", + "vite-plugin-windicss": "^1.6.3", + "vite-svg-loader": "2.2.0", "vue-eslint-parser": "7.10.0", - "windicss": "^3.4.2" + "windicss": "^3.4.3" }, "repository": "git@github.com:xiaoxian521/vue-pure-admin.git", "author": "xiaoxian521", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d1f37c0..f075c77 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,10 +4,11 @@ specifiers: "@commitlint/cli": 13.1.0 "@commitlint/config-conventional": 13.1.0 "@ctrl/tinycolor": ^3.4.0 - "@element-plus/icons-vue": ^0.2.6 "@fortawesome/fontawesome-svg-core": ^1.2.36 "@fortawesome/free-solid-svg-icons": ^5.15.4 "@fortawesome/vue-fontawesome": ^3.0.0-5 + "@iconify-icons/ep": ^1.1.3 + "@iconify/vue": ^3.1.2 "@types/element-resize-detector": 1.1.3 "@types/js-cookie": ^3.0.1 "@types/mockjs": 1.0.3 @@ -22,8 +23,8 @@ specifiers: "@vue/eslint-config-prettier": 6.0.0 "@vue/eslint-config-typescript": 7.0.0 "@vueuse/core": ^7.5.3 - "@vueuse/motion": ^2.0.0-beta.4 - "@zougt/vite-plugin-theme-preprocessor": ^1.4.0 + "@vueuse/motion": ^2.0.0-beta.9 + "@zougt/vite-plugin-theme-preprocessor": ^1.4.4 animate.css: ^4.1.1 autoprefixer: 10.2.4 axios: ^0.25.0 @@ -62,29 +63,28 @@ specifiers: stylelint-config-standard: 22.0.0 stylelint-order: 4.1.0 typescript: 4.4.2 - unplugin-element-plus: ^0.1.3 - vite: 2.6.14 + unplugin-element-plus: ^0.2.0 + vite: ^2.7.13 vite-plugin-live-reload: ^2.1.0 vite-plugin-mock: ^2.9.6 vite-plugin-remove-console: ^0.0.6 - vite-plugin-style-import: ^1.2.1 - vite-plugin-windicss: ^1.6.1 - vite-svg-loader: ^2.2.0 + vite-plugin-style-import: ^1.4.1 + vite-plugin-windicss: ^1.6.3 + vite-svg-loader: 2.2.0 vue: ^3.2.27 vue-eslint-parser: 7.10.0 vue-i18n: ^9.2.0-beta.26 vue-router: ^4.0.12 vue-types: ^4.1.1 - windicss: ^3.4.2 + windicss: ^3.4.3 dependencies: "@ctrl/tinycolor": 3.4.0 - "@element-plus/icons-vue": 0.2.6_vue@3.2.27 "@fortawesome/fontawesome-svg-core": 1.2.36 "@fortawesome/free-solid-svg-icons": 5.15.4 "@fortawesome/vue-fontawesome": 3.0.0-5_9e890373d14094b922d693b29dbd6766 "@vueuse/core": 7.5.3_vue@3.2.27 - "@vueuse/motion": 2.0.0-beta.4_vue@3.2.27 + "@vueuse/motion": 2.0.0-beta.9_vue@3.2.27 animate.css: 4.1.1 axios: 0.25.0 css-color-function: 1.3.3 @@ -112,6 +112,8 @@ dependencies: devDependencies: "@commitlint/cli": 13.1.0 "@commitlint/config-conventional": 13.1.0 + "@iconify-icons/ep": 1.1.3 + "@iconify/vue": 3.1.2_vue@3.2.27 "@types/element-resize-detector": 1.1.3 "@types/js-cookie": 3.0.1 "@types/mockjs": 1.0.3 @@ -120,12 +122,12 @@ devDependencies: "@types/qs": 6.9.7 "@typescript-eslint/eslint-plugin": 4.31.0_f4e6dc0776b3600ef484e3c64a523136 "@typescript-eslint/parser": 4.31.0_eslint@7.30.0+typescript@4.4.2 - "@vitejs/plugin-legacy": 1.6.4_vite@2.6.14 - "@vitejs/plugin-vue": 2.0.1_vite@2.6.14+vue@3.2.27 + "@vitejs/plugin-legacy": 1.6.4_vite@2.7.13 + "@vitejs/plugin-vue": 2.0.1_vite@2.7.13+vue@3.2.27 "@vitejs/plugin-vue-jsx": 1.3.3 "@vue/eslint-config-prettier": 6.0.0_82e4252401b0cc5be86f7c2133946f49 "@vue/eslint-config-typescript": 7.0.0_e03d82996bd4a66fb128f33523d782ea - "@zougt/vite-plugin-theme-preprocessor": 1.4.0_sass@1.45.0 + "@zougt/vite-plugin-theme-preprocessor": 1.4.4_sass@1.45.0 autoprefixer: 10.2.4_postcss@8.2.6 cross-env: 7.0.3 eslint: 7.30.0 @@ -145,22 +147,22 @@ devDependencies: stylelint-config-standard: 22.0.0_stylelint@13.13.1 stylelint-order: 4.1.0_stylelint@13.13.1 typescript: 4.4.2 - unplugin-element-plus: 0.1.3_vite@2.6.14+vue@3.2.27 - vite: 2.6.14_sass@1.45.0 + unplugin-element-plus: 0.2.0_vite@2.7.13+vue@3.2.27 + vite: 2.7.13_sass@1.45.0 vite-plugin-live-reload: 2.1.0 - vite-plugin-mock: 2.9.6_mockjs@1.1.0+vite@2.6.14 + vite-plugin-mock: 2.9.6_mockjs@1.1.0+vite@2.7.13 vite-plugin-remove-console: 0.0.6 - vite-plugin-style-import: 1.3.0_vite@2.6.14 - vite-plugin-windicss: 1.6.1_vite@2.6.14 + vite-plugin-style-import: 1.4.1_vite@2.7.13 + vite-plugin-windicss: 1.6.3_vite@2.7.13 vite-svg-loader: 2.2.0 vue-eslint-parser: 7.10.0_eslint@7.30.0 - windicss: 3.4.2 + windicss: 3.4.3 packages: - /@antfu/utils/0.3.0: + /@antfu/utils/0.4.0: resolution: { - integrity: sha512-UU8TLr/EoXdg7OjMp0h9oDoIAVr+Z/oW9cpOxQQyrsz6Qzd2ms/1CdWx8fl2OQdFpxGmq5Vc4TwfLHId6nAZjA== + integrity: sha512-gqkpvjkgFUu+s3kP+Ly33OKpo5zvVY3FDFhv5BIb98SncS3KD6DNxPfNDjwHIoyXbz1leWo1j8DtRLZ1D2Jv+Q== } dependencies: "@types/throttle-debounce": 2.1.0 @@ -1163,6 +1165,25 @@ packages: } dev: true + /@iconify-icons/ep/1.1.3: + resolution: + { + integrity: sha512-kFnCIR0/NyOAAkmneyHKWsVM6Di2vs6DfSSJv7K2enCkEV+EO2yZ06DS6I9ZOkgeS3hsoAmBZTPef6tZOSwytg== + } + dev: true + + /@iconify/vue/3.1.2_vue@3.2.27: + resolution: + { + integrity: sha512-c777kFKOaEpiJCwz5lOgETWZnq4lEermMQ0RBCzTyRaGC/lmvw2SLF7aJQGri1sGFt4Z5GuXpnlX4DNf3aN+qA== + } + peerDependencies: + vue: 3.x + dependencies: + cross-fetch: 3.1.4 + vue: 3.2.27 + dev: true + /@intlify/core-base/9.2.0-beta.26: resolution: { @@ -1284,17 +1305,6 @@ packages: picomatch: 2.3.0 dev: true - /@rollup/pluginutils/4.1.1: - resolution: - { - integrity: sha512-clDjivHqWGXi7u+0d2r2sBi4Ie6VLEAzWMIkvJLnDmxoOhBYOTfzGbOQBA32THHm11/LiJbd01tJUpJsbshSWQ== - } - engines: { node: ">= 8.0.0" } - dependencies: - estree-walker: 2.0.2 - picomatch: 2.3.0 - dev: true - /@rollup/pluginutils/4.1.2: resolution: { @@ -1597,7 +1607,7 @@ packages: eslint-visitor-keys: 2.1.0 dev: true - /@vitejs/plugin-legacy/1.6.4_vite@2.6.14: + /@vitejs/plugin-legacy/1.6.4_vite@2.7.13: resolution: { integrity: sha512-geH2F3hTRN++E4n9NZ0JFumxIWUKqW4FA9PAgM7Q6RvUOUUYW4tlURhEmCBYfZSN24H/yX3mEolX+wFVErsAYQ== @@ -1611,7 +1621,7 @@ packages: magic-string: 0.25.7 regenerator-runtime: 0.13.9 systemjs: 6.11.0 - vite: 2.6.14_sass@1.45.0 + vite: 2.7.13_sass@1.45.0 dev: true /@vitejs/plugin-vue-jsx/1.3.3: @@ -1631,7 +1641,7 @@ packages: - supports-color dev: true - /@vitejs/plugin-vue/2.0.1_vite@2.6.14+vue@3.2.27: + /@vitejs/plugin-vue/2.0.1_vite@2.7.13+vue@3.2.27: resolution: { integrity: sha512-wtdMnGVvys9K8tg+DxowU1ytTrdVveXr3LzdhaKakysgGXyrsfaeds2cDywtvujEASjWOwWL/OgWM+qoeM8Plg== @@ -1641,7 +1651,7 @@ packages: vite: ^2.5.10 vue: ^3.2.25 dependencies: - vite: 2.6.14_sass@1.45.0 + vite: 2.7.13_sass@1.45.0 vue: 3.2.27 dev: true @@ -1672,18 +1682,6 @@ packages: - supports-color dev: true - /@vue/compiler-core/3.2.24: - resolution: - { - integrity: sha512-A0SxB2HAggKzP57LDin5gfgWOTwFyGCtQ5MTMNBADnfQYALWnYuC8kMI0DhRSplGTWRvn9Z2DAnG8f35BnojuA== - } - dependencies: - "@babel/parser": 7.16.2 - "@vue/shared": 3.2.24 - estree-walker: 2.0.2 - source-map: 0.6.1 - dev: true - /@vue/compiler-core/3.2.27: resolution: { @@ -1694,17 +1692,6 @@ packages: "@vue/shared": 3.2.27 estree-walker: 2.0.2 source-map: 0.6.1 - dev: false - - /@vue/compiler-dom/3.2.24: - resolution: - { - integrity: sha512-KQEm8r0JFsrNNIfbD28pcwMvHpcJcwjVR1XWFcD0yyQ8eREd7IXhT7J6j7iNCSE/TIo78NOvkwbyX+lnIm836w== - } - dependencies: - "@vue/compiler-core": 3.2.24 - "@vue/shared": 3.2.24 - dev: true /@vue/compiler-dom/3.2.27: resolution: @@ -1714,25 +1701,6 @@ packages: dependencies: "@vue/compiler-core": 3.2.27 "@vue/shared": 3.2.27 - dev: false - - /@vue/compiler-sfc/3.2.24: - resolution: - { - integrity: sha512-YGPcIvVJp2qTPkuT6kT43Eo1xjstyY4bmuiSV31my4bQMBFVR26ANmifUSt759Blok71gK0WzfIZHbcOKYOeKA== - } - dependencies: - "@babel/parser": 7.16.2 - "@vue/compiler-core": 3.2.24 - "@vue/compiler-dom": 3.2.24 - "@vue/compiler-ssr": 3.2.24 - "@vue/ref-transform": 3.2.24 - "@vue/shared": 3.2.24 - estree-walker: 2.0.2 - magic-string: 0.25.7 - postcss: 8.3.11 - source-map: 0.6.1 - dev: true /@vue/compiler-sfc/3.2.27: resolution: @@ -1750,17 +1718,6 @@ packages: magic-string: 0.25.7 postcss: 8.3.11 source-map: 0.6.1 - dev: false - - /@vue/compiler-ssr/3.2.24: - resolution: - { - integrity: sha512-E1HHShNsGVWXxs68LDOUuI+Bzak9W/Ier/366aKDBFuwvfwgruwq6abhMfj6pSDZpwZ/PXnfliyl/m7qBSq6gw== - } - dependencies: - "@vue/compiler-dom": 3.2.24 - "@vue/shared": 3.2.24 - dev: true /@vue/compiler-ssr/3.2.27: resolution: @@ -1770,7 +1727,6 @@ packages: dependencies: "@vue/compiler-dom": 3.2.27 "@vue/shared": 3.2.27 - dev: false /@vue/devtools-api/6.0.0-beta.20: resolution: @@ -1834,7 +1790,6 @@ packages: "@vue/shared": 3.2.27 estree-walker: 2.0.2 magic-string: 0.25.7 - dev: false /@vue/reactivity/3.2.27: resolution: @@ -1845,19 +1800,6 @@ packages: "@vue/shared": 3.2.27 dev: false - /@vue/ref-transform/3.2.24: - resolution: - { - integrity: sha512-j6oNbsGLvea2rF8GQB9w6q7UFL1So7J+t6ducaMeWPSyjYZ+slWpwPVK6mmyghg5oGqC41R+HC5BV036Y0KhXQ== - } - dependencies: - "@babel/parser": 7.16.2 - "@vue/compiler-core": 3.2.24 - "@vue/shared": 3.2.24 - estree-walker: 2.0.2 - magic-string: 0.25.7 - dev: true - /@vue/runtime-core/3.2.27: resolution: { @@ -1892,38 +1834,11 @@ packages: vue: 3.2.27 dev: false - /@vue/shared/3.2.24: - resolution: - { - integrity: sha512-BUgRiZCkCrqDps5aQ9av05xcge3rn092ztKIh17tHkeEFgP4zfXMQWBA2zfdoCdCEdBL26xtOv+FZYiOp9RUDA== - } - dev: true - /@vue/shared/3.2.27: resolution: { integrity: sha512-rpAn9k6O08Lvo7ekBIAnkOukX/4EsEQLPrRJBKhIEasMsOI5eX0f6mq1sDUSY7cgAqWw2d7QtP74CWxdXoyKxA== } - dev: false - - /@vueuse/core/6.7.5_vue@3.2.27: - resolution: - { - integrity: sha512-zgWai0i38TbfWGMVs1ybyEEdwwhjjMloQflRTMU0+pTmp3kEtQTDiVZiOrr758s+yRdr2OQiMQ323dyiKgKMFQ== - } - peerDependencies: - "@vue/composition-api": ^1.1.0 - vue: ^2.6.0 || ^3.2.0 - peerDependenciesMeta: - "@vue/composition-api": - optional: true - vue: - optional: true - dependencies: - "@vueuse/shared": 6.7.5_vue@3.2.27 - vue: 3.2.27 - vue-demi: 0.12.1_vue@3.2.27 - dev: false /@vueuse/core/7.5.3_vue@3.2.27: resolution: @@ -1944,38 +1859,20 @@ packages: vue-demi: 0.12.1_vue@3.2.27 dev: false - /@vueuse/motion/2.0.0-beta.4_vue@3.2.27: + /@vueuse/motion/2.0.0-beta.9_vue@3.2.27: resolution: { - integrity: sha512-+4lnWz+KdaVmpeUwDyguTApzmjB+NzpxwBL/AcAMhVqp4G6rm8ywGSJaHGJG04uSNIQkJ6dUJx2zppnRxDSyrA== + integrity: sha512-S61glJRkYCqLJA9oPM+jdAWXM/ZFnRi6UZJ0TpxDUhRuA+ri0G5hwwmcy4y78wvX6gkDUGQFFGELz1xBEwrZww== } peerDependencies: - "@vue/composition-api": ^1.2.2 + "@vue/composition-api": ^1.4.1 vue: ^2.0.0 || >=3.0.0-rc.0 peerDependenciesMeta: "@vue/composition-api": optional: true dependencies: - "@vueuse/core": 6.7.5_vue@3.2.27 - popmotion: 10.0.2 - vue: 3.2.27 - vue-demi: 0.12.1_vue@3.2.27 - dev: false - - /@vueuse/shared/6.7.5_vue@3.2.27: - resolution: - { - integrity: sha512-wUDMPTGUSTYsbiftKq7dYLKD2i3n0m8utbHBCyoxdyeKsmtQGIM2/XeeXjtALB7UXD6rqPsVgCMepNrPPt8zvw== - } - peerDependencies: - "@vue/composition-api": ^1.1.0 - vue: ^2.6.0 || ^3.2.0 - peerDependenciesMeta: - "@vue/composition-api": - optional: true - vue: - optional: true - dependencies: + "@vueuse/core": 7.5.3_vue@3.2.27 + popmotion: 11.0.3 vue: 3.2.27 vue-demi: 0.12.1_vue@3.2.27 dev: false @@ -1998,40 +1895,40 @@ packages: vue-demi: 0.12.1_vue@3.2.27 dev: false - /@windicss/config/1.6.1: + /@windicss/config/1.6.3: resolution: { - integrity: sha512-E4FKtWdYl5HwFknBQ+Z2JIF58TZiR4/ZiP8B30sfRxNlG6clh4agn5MJqTb4ER0MLkDb30Hugl2tGun0AQNbFw== + integrity: sha512-1kjdy4tyYLD4sCB4DS+3Lt1Odnde03z4Rz3EUqyWJ7SiBEWMgRk1L797SsgEH4+W1DjLBZLs1SVYzaTO/3UdJA== } dependencies: debug: 4.3.3 jiti: 1.12.9 - windicss: 3.4.2 + windicss: 3.4.3 transitivePeerDependencies: - supports-color dev: true - /@windicss/plugin-utils/1.6.1: + /@windicss/plugin-utils/1.6.3: resolution: { - integrity: sha512-hFQY27bOr9SSpekIvSwBpIX25nR4cwrU5/1kJFqCwAzqyazvd7U9c/iI1E2sTEQOkPbpTTJkY2Act21Q70oSDQ== + integrity: sha512-tY20pAdV8YOlCj/5Teh078n/YbekbE5qOmlNgcl+S10KqitUGB9+Qss/xE0HULACmCXBO9XeLUcAPGao79lAnA== } dependencies: - "@antfu/utils": 0.3.0 - "@windicss/config": 1.6.1 + "@antfu/utils": 0.4.0 + "@windicss/config": 1.6.3 debug: 4.3.3 - fast-glob: 3.2.7 + fast-glob: 3.2.11 magic-string: 0.25.7 micromatch: 4.0.4 - windicss: 3.4.2 + windicss: 3.4.3 transitivePeerDependencies: - supports-color dev: true - /@zougt/some-loader-utils/1.4.1_sass@1.45.0: + /@zougt/some-loader-utils/1.4.2_sass@1.45.0: resolution: { - integrity: sha512-4lQLODZD0FJyOfnFUBCczg76lbzwaS+4jD1EnucVmgUUGX7n9pzJOw22lQShG5wwNEkookdhzgzcc6U0FrmdOQ== + integrity: sha512-RYD7OPoypVGICOO+9P/6fawtp1gi2/sp4Lol5S0cUzrBvrWnPJTYENplDtxutVQtLwXKg9aKS+B2/zGEEebJqA== } engines: { node: ">= 10.13.0" } hasBin: true @@ -2040,9 +1937,9 @@ packages: sass: ^1.32.8 dependencies: cac: 6.7.12 - color: 4.1.0 - cssnano: 5.0.13_postcss@8.3.11 - cssnano-preset-lite: 2.0.1_postcss@8.3.11 + color: 4.2.0 + cssnano: 5.0.15_postcss@8.3.11 + cssnano-preset-lite: 2.0.2_postcss@8.3.11 fs-extra: 10.0.0 postcss: 8.3.11 prettier: 2.5.1 @@ -2050,14 +1947,14 @@ packages: uuid: 8.3.2 dev: true - /@zougt/vite-plugin-theme-preprocessor/1.4.0_sass@1.45.0: + /@zougt/vite-plugin-theme-preprocessor/1.4.4_sass@1.45.0: resolution: { - integrity: sha512-VtCuk4QfUnTEj3vxD0u6wGc7aR5oj0cn+rdM6L+bovMhsQ2qnCv87gJduRPkkPJqnjrX2NPIPZ1Hqv8AV/3Eqw== + integrity: sha512-YeykUlFIwyn7PMuVu419qP6x0r58FgRMmicBBa1/olpuC4+ND8/G3g5uZqhyyVE4JwM7rHRLjWN/9oTcZHUruA== } engines: { node: ">= 12.0.0" } dependencies: - "@zougt/some-loader-utils": 1.4.1_sass@1.45.0 + "@zougt/some-loader-utils": 1.4.2_sass@1.45.0 cac: 6.7.12 chalk: 5.0.0 fs-extra: 10.0.0 @@ -2708,10 +2605,10 @@ packages: color-string: 0.3.0 dev: false - /color/4.1.0: + /color/4.2.0: resolution: { - integrity: sha512-o2rkkxyLGgYoeUy1OodXpbPAQNmlNBrirQ8ODO8QutzDiDMNdezSOZLNnusQ6pUpCQJUsaJIo9DZJKqa2HgH7A== + integrity: sha512-hHTcrbvEnGjC7WBMk6ibQWFVDgEFTVmjrz2Q5HlU6ltwxv0JJN2Z8I7uRbWeQLF04dikxs8zgyZkazRJvSMtyQ== } dependencies: color-convert: 2.0.1 @@ -2881,6 +2778,15 @@ packages: cross-spawn: 7.0.3 dev: true + /cross-fetch/3.1.4: + resolution: + { + integrity: sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ== + } + dependencies: + node-fetch: 2.6.1 + dev: true + /cross-spawn/7.0.3: resolution: { @@ -2902,10 +2808,10 @@ packages: rgb: 0.1.0 dev: false - /css-declaration-sorter/6.1.3_postcss@8.3.11: + /css-declaration-sorter/6.1.4_postcss@8.3.11: resolution: { - integrity: sha512-SvjQjNRZgh4ULK1LDJ2AduPKUKxIqmtU7ZAyi47BTV+M90Qvxr9AB6lKlLbDUfXqI9IQeYA8LbAsCZPpJEV3aA== + integrity: sha512-lpfkqS0fctcmZotJGhnxkIyJWvBXgpyi2wsFd4J8VB7wzyrT6Ch/3Q+FMNJpjK4gu1+GN5khOnpU2ZVKrLbhCw== } engines: { node: ">= 10" } peerDependencies: @@ -2956,67 +2862,67 @@ packages: hasBin: true dev: true - /cssnano-preset-default/5.1.9_postcss@8.3.11: + /cssnano-preset-default/5.1.10_postcss@8.3.11: resolution: { - integrity: sha512-RhkEucqlQ+OxEi14K1p8gdXcMQy1mSpo7P1oC44oRls7BYIj8p+cht4IFBFV3W4iOjTP8EUB33XV1fX9KhDzyA== + integrity: sha512-BcpSzUVygHMOnp9uG5rfPzTOCb0GAHQkqtUQx8j1oMNF9A1Q8hziOOhiM4bdICpmrBIU85BE64RD5XGYsVQZNA== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: postcss: ^8.2.15 dependencies: - css-declaration-sorter: 6.1.3_postcss@8.3.11 - cssnano-utils: 2.0.1_postcss@8.3.11 + css-declaration-sorter: 6.1.4_postcss@8.3.11 + cssnano-utils: 3.0.0_postcss@8.3.11 postcss: 8.3.11 - postcss-calc: 8.0.0_postcss@8.3.11 - postcss-colormin: 5.2.2_postcss@8.3.11 + postcss-calc: 8.2.2_postcss@8.3.11 + postcss-colormin: 5.2.3_postcss@8.3.11 postcss-convert-values: 5.0.2_postcss@8.3.11 postcss-discard-comments: 5.0.1_postcss@8.3.11 postcss-discard-duplicates: 5.0.1_postcss@8.3.11 postcss-discard-empty: 5.0.1_postcss@8.3.11 - postcss-discard-overridden: 5.0.1_postcss@8.3.11 + postcss-discard-overridden: 5.0.2_postcss@8.3.11 postcss-merge-longhand: 5.0.4_postcss@8.3.11 - postcss-merge-rules: 5.0.3_postcss@8.3.11 - postcss-minify-font-values: 5.0.1_postcss@8.3.11 - postcss-minify-gradients: 5.0.3_postcss@8.3.11 - postcss-minify-params: 5.0.2_postcss@8.3.11 - postcss-minify-selectors: 5.1.0_postcss@8.3.11 + postcss-merge-rules: 5.0.4_postcss@8.3.11 + postcss-minify-font-values: 5.0.2_postcss@8.3.11 + postcss-minify-gradients: 5.0.4_postcss@8.3.11 + postcss-minify-params: 5.0.3_postcss@8.3.11 + postcss-minify-selectors: 5.1.1_postcss@8.3.11 postcss-normalize-charset: 5.0.1_postcss@8.3.11 - postcss-normalize-display-values: 5.0.1_postcss@8.3.11 - postcss-normalize-positions: 5.0.1_postcss@8.3.11 - postcss-normalize-repeat-style: 5.0.1_postcss@8.3.11 - postcss-normalize-string: 5.0.1_postcss@8.3.11 - postcss-normalize-timing-functions: 5.0.1_postcss@8.3.11 - postcss-normalize-unicode: 5.0.1_postcss@8.3.11 + postcss-normalize-display-values: 5.0.2_postcss@8.3.11 + postcss-normalize-positions: 5.0.2_postcss@8.3.11 + postcss-normalize-repeat-style: 5.0.2_postcss@8.3.11 + postcss-normalize-string: 5.0.2_postcss@8.3.11 + postcss-normalize-timing-functions: 5.0.2_postcss@8.3.11 + postcss-normalize-unicode: 5.0.2_postcss@8.3.11 postcss-normalize-url: 5.0.4_postcss@8.3.11 - postcss-normalize-whitespace: 5.0.1_postcss@8.3.11 - postcss-ordered-values: 5.0.2_postcss@8.3.11 + postcss-normalize-whitespace: 5.0.2_postcss@8.3.11 + postcss-ordered-values: 5.0.3_postcss@8.3.11 postcss-reduce-initial: 5.0.2_postcss@8.3.11 - postcss-reduce-transforms: 5.0.1_postcss@8.3.11 + postcss-reduce-transforms: 5.0.2_postcss@8.3.11 postcss-svgo: 5.0.3_postcss@8.3.11 postcss-unique-selectors: 5.0.2_postcss@8.3.11 dev: true - /cssnano-preset-lite/2.0.1_postcss@8.3.11: + /cssnano-preset-lite/2.0.2_postcss@8.3.11: resolution: { - integrity: sha512-PDLB+Zm/Sj3bOmkd471bfN2JAlXBOJAQ+r1GrWjlODdaQyMLJCqPRTvGbqSLbbfMKNsOCG/8SKryZnsSlA9zCA== + integrity: sha512-i4AmNxiYmsv1i5wOaRVR1fc/Y3fkl0TRxDkYgdrNP6stsrbE/XgIofVKX0FzB+mvlRtYwKw+vqHR1sVaNPhiRg== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: postcss: ^8.2.15 dependencies: - cssnano-utils: 2.0.1_postcss@8.3.11 + cssnano-utils: 3.0.0_postcss@8.3.11 postcss: 8.3.11 postcss-discard-comments: 5.0.1_postcss@8.3.11 postcss-discard-empty: 5.0.1_postcss@8.3.11 - postcss-normalize-whitespace: 5.0.1_postcss@8.3.11 + postcss-normalize-whitespace: 5.0.2_postcss@8.3.11 dev: true - /cssnano-utils/2.0.1_postcss@8.3.11: + /cssnano-utils/3.0.0_postcss@8.3.11: resolution: { - integrity: sha512-i8vLRZTnEH9ubIyfdZCAdIdgnHAUeQeByEeQ2I7oTilvP9oHO6RScpeq3GsFUVqeB8uZgOQ9pw8utofNn32hhQ== + integrity: sha512-Pzs7/BZ6OgT+tXXuF12DKR8SmSbzUeVYCtMBbS8lI0uAm3mrYmkyqCXXPsQESI6kmLfEVBppbdVY/el3hg3nAA== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: @@ -3025,17 +2931,16 @@ packages: postcss: 8.3.11 dev: true - /cssnano/5.0.13_postcss@8.3.11: + /cssnano/5.0.15_postcss@8.3.11: resolution: { - integrity: sha512-cAmLruIF28a7vKIOieXCTrllaLwbouxV1PPi8Z4M+XloXbmeooWAu4KhJgASo4vQUwbs2pqDgAlnZ1ZKJZKtuw== + integrity: sha512-ppZsS7oPpi2sfiyV5+i+NbB/3GtQ+ab2Vs1azrZaXWujUSN4o+WdTxlCZIMcT9yLW3VO/5yX3vpyDaQ1nIn8CQ== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: postcss: ^8.2.15 dependencies: - cssnano-preset-default: 5.1.9_postcss@8.3.11 - is-resolvable: 1.1.0 + cssnano-preset-default: 5.1.10_postcss@8.3.11 lilconfig: 2.0.4 postcss: 8.3.11 yaml: 1.10.2 @@ -3932,6 +3837,20 @@ packages: } dev: true + /fast-glob/3.2.11: + resolution: + { + integrity: sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew== + } + engines: { node: ">=8.6.0" } + dependencies: + "@nodelib/fs.stat": 2.0.5 + "@nodelib/fs.walk": 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.4 + dev: true + /fast-glob/3.2.7: resolution: { @@ -4074,10 +3993,10 @@ packages: } dev: true - /framesync/6.1.0: + /framesync/6.0.1: resolution: { - integrity: sha512-aBX+hdWAvwiJYeQlFLY2533VxeL6OEu71CAgV4GGKksrj6+dE6i7K86WSSiRBEARCoJn5bFqffhg4l07eA27tg== + integrity: sha512-fUY88kXvGiIItgNC7wcTOl0SNRCVXMKSWW2Yzfmn7EKNc+MpCzcz9DhdHcdjbrtN3c6R4H5dTY2jiCpPdysEjA== } dependencies: tslib: 2.3.1 @@ -4668,13 +4587,6 @@ packages: engines: { node: ">=6" } dev: true - /is-resolvable/1.1.0: - resolution: - { - integrity: sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg== - } - dev: true - /is-stream/2.0.1: resolution: { @@ -5295,6 +5207,14 @@ packages: tslib: 2.3.1 dev: true + /node-fetch/2.6.1: + resolution: + { + integrity: sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw== + } + engines: { node: 4.x || >=6.0.0 } + dev: true + /node-releases/2.0.1: resolution: { @@ -5670,35 +5590,35 @@ packages: semver-compare: 1.0.0 dev: true - /popmotion/10.0.2: + /popmotion/11.0.3: resolution: { - integrity: sha512-8vgx02LL7Odk/kwSGigAnlPRLJK+Dfked571ZAHGzkxPNWThkU5mQX0xPmibIMAULZehWBV7hGN7LSCpaV3cfw== + integrity: sha512-Y55FLdj3UxkR7Vl3s7Qr4e9m0onSnP8W7d/xQLsoJM40vs6UKHFdygs6SWryasTZYqugMjm3BepCF4CWXDiHgA== } dependencies: - framesync: 6.1.0 + framesync: 6.0.1 hey-listen: 1.0.8 style-value-types: 5.0.0 tslib: 2.3.1 dev: false - /postcss-calc/8.0.0_postcss@8.3.11: + /postcss-calc/8.2.2_postcss@8.3.11: resolution: { - integrity: sha512-5NglwDrcbiy8XXfPM11F3HeC6hoT9W7GUH/Zi5U/p7u3Irv4rHhdDcIZwG0llHXV4ftsBjpfWMXAnXNl4lnt8g== + integrity: sha512-B5R0UeB4zLJvxNt1FVCaDZULdzsKLPc6FhjFJ+xwFiq7VG4i9cuaJLxVjNtExNK8ocm3n2o4unXXLiVX1SCqxA== } peerDependencies: postcss: ^8.2.2 dependencies: postcss: 8.3.11 postcss-selector-parser: 6.0.6 - postcss-value-parser: 4.1.0 + postcss-value-parser: 4.2.0 dev: true - /postcss-colormin/5.2.2_postcss@8.3.11: + /postcss-colormin/5.2.3_postcss@8.3.11: resolution: { - integrity: sha512-tSEe3NpqWARUTidDlF0LntPkdlhXqfDFuA1yslqpvvGAfpZ7oBaw+/QXd935NKm2U9p4PED0HDZlzmMk7fVC6g== + integrity: sha512-dra4xoAjub2wha6RUXAgadHEn2lGxbj8drhFcIGLOMn914Eu7DkPUurugDXgstwttCYkJtZ/+PkWRWdp3UHRIA== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: @@ -5721,7 +5641,7 @@ packages: postcss: ^8.2.15 dependencies: postcss: 8.3.11 - postcss-value-parser: 4.1.0 + postcss-value-parser: 4.2.0 dev: true /postcss-discard-comments/5.0.1_postcss@8.3.11: @@ -5760,10 +5680,10 @@ packages: postcss: 8.3.11 dev: true - /postcss-discard-overridden/5.0.1_postcss@8.3.11: + /postcss-discard-overridden/5.0.2_postcss@8.3.11: resolution: { - integrity: sha512-Y28H7y93L2BpJhrdUR2SR2fnSsT+3TVx1NmVQLbcnZWwIUpJ7mfcTC6Za9M2PG6w8j7UQRfzxqn8jU2VwFxo3Q== + integrity: sha512-+56BLP6NSSUuWUXjRgAQuho1p5xs/hU5Sw7+xt9S3JSg+7R6+WMGnJW7Hre/6tTuZ2xiXMB42ObkiZJ2hy/Pew== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: @@ -5825,14 +5745,14 @@ packages: postcss: ^8.2.15 dependencies: postcss: 8.3.11 - postcss-value-parser: 4.1.0 + postcss-value-parser: 4.2.0 stylehacks: 5.0.1_postcss@8.3.11 dev: true - /postcss-merge-rules/5.0.3_postcss@8.3.11: + /postcss-merge-rules/5.0.4_postcss@8.3.11: resolution: { - integrity: sha512-cEKTMEbWazVa5NXd8deLdCnXl+6cYG7m2am+1HzqH0EnTdy8fRysatkaXb2dEnR+fdaDxTvuZ5zoBdv6efF6hg== + integrity: sha512-yOj7bW3NxlQxaERBB0lEY1sH5y+RzevjbdH4DBJurjKERNpknRByFNdNe+V72i5pIZL12woM9uGdS5xbSB+kDQ== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: @@ -5840,43 +5760,43 @@ packages: dependencies: browserslist: 4.17.6 caniuse-api: 3.0.0 - cssnano-utils: 2.0.1_postcss@8.3.11 + cssnano-utils: 3.0.0_postcss@8.3.11 postcss: 8.3.11 postcss-selector-parser: 6.0.6 dev: true - /postcss-minify-font-values/5.0.1_postcss@8.3.11: + /postcss-minify-font-values/5.0.2_postcss@8.3.11: resolution: { - integrity: sha512-7JS4qIsnqaxk+FXY1E8dHBDmraYFWmuL6cgt0T1SWGRO5bzJf8sUoelwa4P88LEWJZweHevAiDKxHlofuvtIoA== + integrity: sha512-R6MJZryq28Cw0AmnyhXrM7naqJZZLoa1paBltIzh2wM7yb4D45TLur+eubTQ4jCmZU9SGeZdWsc5KcSoqTMeTg== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: postcss: ^8.2.15 dependencies: postcss: 8.3.11 - postcss-value-parser: 4.1.0 + postcss-value-parser: 4.2.0 dev: true - /postcss-minify-gradients/5.0.3_postcss@8.3.11: + /postcss-minify-gradients/5.0.4_postcss@8.3.11: resolution: { - integrity: sha512-Z91Ol22nB6XJW+5oe31+YxRsYooxOdFKcbOqY/V8Fxse1Y3vqlNRpi1cxCqoACZTQEhl+xvt4hsbWiV5R+XI9Q== + integrity: sha512-RVwZA7NC4R4J76u8X0Q0j+J7ItKUWAeBUJ8oEEZWmtv3Xoh19uNJaJwzNpsydQjk6PkuhRrK+YwwMf+c+68EYg== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: postcss: ^8.2.15 dependencies: colord: 2.9.2 - cssnano-utils: 2.0.1_postcss@8.3.11 + cssnano-utils: 3.0.0_postcss@8.3.11 postcss: 8.3.11 - postcss-value-parser: 4.1.0 + postcss-value-parser: 4.2.0 dev: true - /postcss-minify-params/5.0.2_postcss@8.3.11: + /postcss-minify-params/5.0.3_postcss@8.3.11: resolution: { - integrity: sha512-qJAPuBzxO1yhLad7h2Dzk/F7n1vPyfHfCCh5grjGfjhi1ttCnq4ZXGIW77GSrEbh9Hus9Lc/e/+tB4vh3/GpDg== + integrity: sha512-NY92FUikE+wralaiVexFd5gwb7oJTIDhgTNeIw89i1Ymsgt4RWiPXfz3bg7hDy4NL6gepcThJwOYNtZO/eNi7Q== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: @@ -5884,15 +5804,15 @@ packages: dependencies: alphanum-sort: 1.0.2 browserslist: 4.17.6 - cssnano-utils: 2.0.1_postcss@8.3.11 + cssnano-utils: 3.0.0_postcss@8.3.11 postcss: 8.3.11 - postcss-value-parser: 4.1.0 + postcss-value-parser: 4.2.0 dev: true - /postcss-minify-selectors/5.1.0_postcss@8.3.11: + /postcss-minify-selectors/5.1.1_postcss@8.3.11: resolution: { - integrity: sha512-NzGBXDa7aPsAcijXZeagnJBKBPMYLaJJzB8CQh6ncvyl2sIndLVWfbcDi0SBjRWk5VqEjXvf8tYwzoKf4Z07og== + integrity: sha512-TOzqOPXt91O2luJInaVPiivh90a2SIK5Nf1Ea7yEIM/5w+XA5BGrZGUSW8aEx9pJ/oNj7ZJBhjvigSiBV+bC1Q== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: @@ -5915,78 +5835,75 @@ packages: postcss: 8.3.11 dev: true - /postcss-normalize-display-values/5.0.1_postcss@8.3.11: + /postcss-normalize-display-values/5.0.2_postcss@8.3.11: resolution: { - integrity: sha512-uupdvWk88kLDXi5HEyI9IaAJTE3/Djbcrqq8YgjvAVuzgVuqIk3SuJWUisT2gaJbZm1H9g5k2w1xXilM3x8DjQ== + integrity: sha512-RxXoJPUR0shSjkMMzgEZDjGPrgXUVYyWA/YwQRicb48H15OClPuaDR7tYokLAlGZ2tCSENEN5WxjgxSD5m4cUw== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: postcss: ^8.2.15 dependencies: - cssnano-utils: 2.0.1_postcss@8.3.11 postcss: 8.3.11 - postcss-value-parser: 4.1.0 + postcss-value-parser: 4.2.0 dev: true - /postcss-normalize-positions/5.0.1_postcss@8.3.11: + /postcss-normalize-positions/5.0.2_postcss@8.3.11: resolution: { - integrity: sha512-rvzWAJai5xej9yWqlCb1OWLd9JjW2Ex2BCPzUJrbaXmtKtgfL8dBMOOMTX6TnvQMtjk3ei1Lswcs78qKO1Skrg== + integrity: sha512-tqghWFVDp2btqFg1gYob1etPNxXLNh3uVeWgZE2AQGh6b2F8AK2Gj36v5Vhyh+APwIzNjmt6jwZ9pTBP+/OM8g== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: postcss: ^8.2.15 dependencies: postcss: 8.3.11 - postcss-value-parser: 4.1.0 + postcss-value-parser: 4.2.0 dev: true - /postcss-normalize-repeat-style/5.0.1_postcss@8.3.11: + /postcss-normalize-repeat-style/5.0.2_postcss@8.3.11: resolution: { - integrity: sha512-syZ2itq0HTQjj4QtXZOeefomckiV5TaUO6ReIEabCh3wgDs4Mr01pkif0MeVwKyU/LHEkPJnpwFKRxqWA/7O3w== + integrity: sha512-/rIZn8X9bBzC7KvY4iKUhXUGW3MmbXwfPF23jC9wT9xTi7kAvgj8sEgwxjixBmoL6MVa4WOgxNz2hAR6wTK8tw== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: postcss: ^8.2.15 dependencies: - cssnano-utils: 2.0.1_postcss@8.3.11 postcss: 8.3.11 - postcss-value-parser: 4.1.0 + postcss-value-parser: 4.2.0 dev: true - /postcss-normalize-string/5.0.1_postcss@8.3.11: + /postcss-normalize-string/5.0.2_postcss@8.3.11: resolution: { - integrity: sha512-Ic8GaQ3jPMVl1OEn2U//2pm93AXUcF3wz+OriskdZ1AOuYV25OdgS7w9Xu2LO5cGyhHCgn8dMXh9bO7vi3i9pA== + integrity: sha512-zaI1yzwL+a/FkIzUWMQoH25YwCYxi917J4pYm1nRXtdgiCdnlTkx5eRzqWEC64HtRa06WCJ9TIutpb6GmW4gFw== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: postcss: ^8.2.15 dependencies: postcss: 8.3.11 - postcss-value-parser: 4.1.0 + postcss-value-parser: 4.2.0 dev: true - /postcss-normalize-timing-functions/5.0.1_postcss@8.3.11: + /postcss-normalize-timing-functions/5.0.2_postcss@8.3.11: resolution: { - integrity: sha512-cPcBdVN5OsWCNEo5hiXfLUnXfTGtSFiBU9SK8k7ii8UD7OLuznzgNRYkLZow11BkQiiqMcgPyh4ZqXEEUrtQ1Q== + integrity: sha512-Ao0PP6MoYsRU1LxeVUW740ioknvdIUmfr6uAA3xWlQJ9s69/Tupy8qwhuKG3xWfl+KvLMAP9p2WXF9cwuk/7Bg== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: postcss: ^8.2.15 dependencies: - cssnano-utils: 2.0.1_postcss@8.3.11 postcss: 8.3.11 - postcss-value-parser: 4.1.0 + postcss-value-parser: 4.2.0 dev: true - /postcss-normalize-unicode/5.0.1_postcss@8.3.11: + /postcss-normalize-unicode/5.0.2_postcss@8.3.11: resolution: { - integrity: sha512-kAtYD6V3pK0beqrU90gpCQB7g6AOfP/2KIPCVBKJM2EheVsBQmx/Iof+9zR9NFKLAx4Pr9mDhogB27pmn354nA== + integrity: sha512-3y/V+vjZ19HNcTizeqwrbZSUsE69ZMRHfiiyLAJb7C7hJtYmM4Gsbajy7gKagu97E8q5rlS9k8FhojA8cpGhWw== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: @@ -5994,7 +5911,7 @@ packages: dependencies: browserslist: 4.17.6 postcss: 8.3.11 - postcss-value-parser: 4.1.0 + postcss-value-parser: 4.2.0 dev: true /postcss-normalize-url/5.0.4_postcss@8.3.11: @@ -6011,31 +5928,31 @@ packages: postcss-value-parser: 4.2.0 dev: true - /postcss-normalize-whitespace/5.0.1_postcss@8.3.11: + /postcss-normalize-whitespace/5.0.2_postcss@8.3.11: resolution: { - integrity: sha512-iPklmI5SBnRvwceb/XH568yyzK0qRVuAG+a1HFUsFRf11lEJTiQQa03a4RSCQvLKdcpX7XsI1Gen9LuLoqwiqA== + integrity: sha512-CXBx+9fVlzSgbk0IXA/dcZn9lXixnQRndnsPC5ht3HxlQ1bVh77KQDL1GffJx1LTzzfae8ftMulsjYmO2yegxA== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: postcss: ^8.2.15 dependencies: postcss: 8.3.11 - postcss-value-parser: 4.1.0 + postcss-value-parser: 4.2.0 dev: true - /postcss-ordered-values/5.0.2_postcss@8.3.11: + /postcss-ordered-values/5.0.3_postcss@8.3.11: resolution: { - integrity: sha512-8AFYDSOYWebJYLyJi3fyjl6CqMEG/UVworjiyK1r573I56kb3e879sCJLGvR3merj+fAdPpVplXKQZv+ey6CgQ== + integrity: sha512-T9pDS+P9bWeFvqivXd5ACzQmrCmHjv3ZP+djn8E1UZY7iK79pFSm7i3WbKw2VSmFmdbMm8sQ12OPcNpzBo3Z2w== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: postcss: ^8.2.15 dependencies: - cssnano-utils: 2.0.1_postcss@8.3.11 + cssnano-utils: 3.0.0_postcss@8.3.11 postcss: 8.3.11 - postcss-value-parser: 4.1.0 + postcss-value-parser: 4.2.0 dev: true /postcss-reduce-initial/5.0.2_postcss@8.3.11: @@ -6052,18 +5969,17 @@ packages: postcss: 8.3.11 dev: true - /postcss-reduce-transforms/5.0.1_postcss@8.3.11: + /postcss-reduce-transforms/5.0.2_postcss@8.3.11: resolution: { - integrity: sha512-a//FjoPeFkRuAguPscTVmRQUODP+f3ke2HqFNgGPwdYnpeC29RZdCBvGRGTsKpMURb/I3p6jdKoBQ2zI+9Q7kA== + integrity: sha512-25HeDeFsgiPSUx69jJXZn8I06tMxLQJJNF5h7i9gsUg8iP4KOOJ8EX8fj3seeoLt3SLU2YDD6UPnDYVGUO7DEA== } engines: { node: ^10 || ^12 || >=14.0 } peerDependencies: postcss: ^8.2.15 dependencies: - cssnano-utils: 2.0.1_postcss@8.3.11 postcss: 8.3.11 - postcss-value-parser: 4.1.0 + postcss-value-parser: 4.2.0 dev: true /postcss-resolve-nested-selector/0.1.1: @@ -6132,7 +6048,7 @@ packages: postcss: ^8.2.15 dependencies: postcss: 8.3.11 - postcss-value-parser: 4.1.0 + postcss-value-parser: 4.2.0 svgo: 2.8.0 dev: true @@ -6209,6 +6125,18 @@ packages: picocolors: 1.0.0 source-map-js: 0.6.2 + /postcss/8.4.5: + resolution: + { + integrity: sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg== + } + engines: { node: ^10 || ^12 || >=14 } + dependencies: + nanoid: 3.1.30 + picocolors: 1.0.0 + source-map-js: 1.0.2 + dev: true + /prelude-ls/1.2.1: resolution: { @@ -6558,10 +6486,10 @@ packages: glob: 7.2.0 dev: true - /rollup/2.60.2: + /rollup/2.64.0: resolution: { - integrity: sha512-1Bgjpq61sPjgoZzuiDSGvbI1tD91giZABgjCQBKM5aYLnzjq52GoDuWVwT/cm/MCxCMPU8gqQvkj8doQ5C8Oqw== + integrity: sha512-+c+lbw1lexBKSMb1yxGDVfJ+vchJH3qLbmavR+awDinTDA2C5Ug9u7lkOzj62SCu0PKUExsW36tpgW7Fmpn3yQ== } engines: { node: ">=10.0.0" } hasBin: true @@ -6771,6 +6699,14 @@ packages: } engines: { node: ">=0.10.0" } + /source-map-js/1.0.2: + resolution: + { + integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + } + engines: { node: ">=0.10.0" } + dev: true + /source-map-support/0.5.20: resolution: { @@ -7397,35 +7333,39 @@ packages: engines: { node: ">= 0.8" } dev: true - /unplugin-element-plus/0.1.3_vite@2.6.14+vue@3.2.27: + /unplugin-element-plus/0.2.0_vite@2.7.13+vue@3.2.27: resolution: { - integrity: sha512-6GO1tuDIXcoYFkbL26Mrd84oUOgAHShcwn/xma5bwmBN2O0N0s13RbBDsK53vm4hxRKIVuFSSr659BkpmXWm2w== + integrity: sha512-eBgNLCZUUCfl68J+pb9MWVh8amBjLWL5yZ8BuNuJfhS6FFGJ/dMtCmAoaeHyI9wE3k+7C4gbfEM78dkX48gfVA== } peerDependencies: vue: "3" dependencies: - "@rollup/pluginutils": 4.1.1 + "@rollup/pluginutils": 4.1.2 es-module-lexer: 0.9.3 magic-string: 0.25.7 - unplugin: 0.2.21_vite@2.6.14 + unplugin: 0.3.0_vite@2.7.13 vue: 3.2.27 transitivePeerDependencies: + - esbuild - rollup - vite - webpack dev: true - /unplugin/0.2.21_vite@2.6.14: + /unplugin/0.3.0_vite@2.7.13: resolution: { - integrity: sha512-IJ15/L5XbhnV7J09Zjk0FT5HEkBjkXucWAXQWRsmEtUxmmxwh23yavrmDbCF6ZPxWiVB28+wnKIHePTRRpQPbQ== + integrity: sha512-9yLlOo+XC4NdIRgpkDSHOAHkQDq2x4mbuVNO/eKVa3C8WTn5wWGfzEFfRJFL8euqnX3Gf7hEur0AhXxy+WSwkg== } peerDependencies: + esbuild: ">=0.13" rollup: ^2.50.0 vite: ^2.3.0 webpack: 4 || 5 peerDependenciesMeta: + esbuild: + optional: true rollup: optional: true vite: @@ -7433,7 +7373,7 @@ packages: webpack: optional: true dependencies: - vite: 2.6.14_sass@1.45.0 + vite: 2.7.13_sass@1.45.0 webpack-virtual-modules: 0.4.3 dev: true @@ -7539,7 +7479,7 @@ packages: chokidar: 3.5.2 dev: true - /vite-plugin-mock/2.9.6_mockjs@1.1.0+vite@2.6.14: + /vite-plugin-mock/2.9.6_mockjs@1.1.0+vite@2.7.13: resolution: { integrity: sha512-/Rm59oPppe/ncbkSrUuAxIQihlI2YcBmnbR4ST1RA2VzM1C0tEQc1KlbQvnUGhXECAGTaQN2JyasiwXP6EtKgg== @@ -7559,7 +7499,7 @@ packages: fast-glob: 3.2.7 mockjs: 1.1.0 path-to-regexp: 6.2.0 - vite: 2.6.14_sass@1.45.0 + vite: 2.7.13_sass@1.45.0 transitivePeerDependencies: - rollup - supports-color @@ -7572,37 +7512,38 @@ packages: } dev: true - /vite-plugin-style-import/1.3.0_vite@2.6.14: + /vite-plugin-style-import/1.4.1_vite@2.7.13: resolution: { - integrity: sha512-R3bEQcdhPqL+5CZiMXs9RGKwbBtIHBJmh7ngND3sJjCYbkBe6DGEL6DWGBS7xTaqfH+1mXRfX8lEK0W3PjQSzA== + integrity: sha512-lJCRvm7+So0hHdnSJiJPg9gD5mxtL6YY0jmhEph+k7ArpsyvqOh6han2kG5htbWWDZxHkUN9d1BuTFL//yCLLQ== } peerDependencies: vite: ">=2.0.0" dependencies: - "@rollup/pluginutils": 4.1.1 + "@rollup/pluginutils": 4.1.2 change-case: 4.1.2 - debug: 4.3.2 + debug: 4.3.3 es-module-lexer: 0.9.3 + fs-extra: 10.0.0 magic-string: 0.25.7 - vite: 2.6.14_sass@1.45.0 + vite: 2.7.13_sass@1.45.0 transitivePeerDependencies: - supports-color dev: true - /vite-plugin-windicss/1.6.1_vite@2.6.14: + /vite-plugin-windicss/1.6.3_vite@2.7.13: resolution: { - integrity: sha512-63uv4HqBxtSZB0WOtrZS8yhyfQPgGQwYgcBald+/BpLSlYJREcDKgX9Xd/qDgTAjpDRozxKQj/JWreIlyIahGg== + integrity: sha512-D4fEUcAPoLRLdDZMee8NrHZHmn0Qj7AjSg1xNGBnZsMTwRPj93NKZk0fIIUoiKTEh1KrdQejW8g6cg0SgGKTww== } peerDependencies: vite: ^2.0.1 dependencies: - "@windicss/plugin-utils": 1.6.1 + "@windicss/plugin-utils": 1.6.3 debug: 4.3.3 kolorist: 1.5.1 - vite: 2.6.14_sass@1.45.0 - windicss: 3.4.2 + vite: 2.7.13_sass@1.45.0 + windicss: 3.4.3 transitivePeerDependencies: - supports-color dev: true @@ -7613,14 +7554,14 @@ packages: integrity: sha512-FP6qCN57coIOwmtah68ofpi4dewGmfzPcoKe76RMnJoz7qBTXxQVm2BlnH0YzGeCbOcjm9NKauJ1I6J9OlUUtg== } dependencies: - "@vue/compiler-sfc": 3.2.24 + "@vue/compiler-sfc": 3.2.27 svgo: 2.8.0 dev: true - /vite/2.6.14_sass@1.45.0: + /vite/2.7.13_sass@1.45.0: resolution: { - integrity: sha512-2HA9xGyi+EhY2MXo0+A2dRsqsAG3eFNEVIo12olkWhOmc8LfiM+eMdrXf+Ruje9gdXgvSqjLI9freec1RUM5EA== + integrity: sha512-Mq8et7f3aK0SgSxjDNfOAimZGW9XryfHRa/uV0jseQSilg+KhYDSoNb9h1rknOy6SuMkvNDLKCYAYYUMCE+IgQ== } engines: { node: ">=12.2.0" } hasBin: true @@ -7637,9 +7578,9 @@ packages: optional: true dependencies: esbuild: 0.13.15 - postcss: 8.3.11 + postcss: 8.4.5 resolve: 1.20.0 - rollup: 2.60.2 + rollup: 2.64.0 sass: 1.45.0 optionalDependencies: fsevents: 2.3.2 @@ -7766,10 +7707,10 @@ packages: isexe: 2.0.0 dev: true - /windicss/3.4.2: + /windicss/3.4.3: resolution: { - integrity: sha512-YieqWaXiwPu0JJoB7z03RXdjZjQQJtMZAeXUXu/j3JXSMhIgV/2rUXu4Q7QrworRlbaASZlFhxjnL/78aAty+Q== + integrity: sha512-UnugThsvEgy8RsPm4/B5DYMCAqvZzD6yWU7Anh+f07t5RSJ8zvmAylGLbXrHPJEmCKzo2Mf+fOUvISH7IJqM3A== } engines: { node: ">= 12" } hasBin: true diff --git a/src/components/ReIcon/index.ts b/src/components/ReIcon/index.ts index 233473a..b4e8ba6 100644 --- a/src/components/ReIcon/index.ts +++ b/src/components/ReIcon/index.ts @@ -1,7 +1,8 @@ import { App, defineComponent } from "vue"; import icon from "./src/Icon.vue"; import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; -import { iconComponents } from "/@/plugins/element-plus"; +import iconifyIconOffline from "./src/iconifyIconOffline"; +import iconifyIconOnline from "./src/iconifyIconOnline"; /** * find icon component @@ -67,21 +68,20 @@ export function findIcon(icon: String, type = "EL", property?: string) { }); } else if (type === "RI") { return defineComponent({ - name: "RIIcon", + name: "RiIcon", data() { return { icon: `ri-${icon}` }; }, template: `` }); } else if (type === "EL") { - const components = iconComponents.filter( - component => component.name === icon - ); - if (components.length > 0) { - return components[0]; - } else { - return null; - } + return defineComponent({ + name: "ElIcon", + data() { + return { icon }; + }, + template: `` + }); } else if (type === "SVG") { return icon; } @@ -93,6 +93,11 @@ export const Icon = Object.assign(icon, { } }); +export const IconifyIconOffline = iconifyIconOffline; +export const IconifyIconOnline = iconifyIconOnline; + export default { - Icon + Icon, + IconifyIconOffline, + IconifyIconOnline }; diff --git a/src/components/ReIcon/src/iconifyIconOffline.ts b/src/components/ReIcon/src/iconifyIconOffline.ts new file mode 100644 index 0000000..1a768d1 --- /dev/null +++ b/src/components/ReIcon/src/iconifyIconOffline.ts @@ -0,0 +1,70 @@ +import { h, defineComponent } from "vue"; +import { Icon as IconifyIcon, addIcon } from "@iconify/vue/dist/offline"; +import Check from "@iconify-icons/ep/check"; +import Menu from "@iconify-icons/ep/menu"; +import HomeFilled from "@iconify-icons/ep/home-filled"; +import SetUp from "@iconify-icons/ep/set-up"; +import Edit from "@iconify-icons/ep/edit"; +import Setting from "@iconify-icons/ep/setting"; +import Lollipop from "@iconify-icons/ep/lollipop"; +import Link from "@iconify-icons/ep/link"; +import Position from "@iconify-icons/ep/position"; +import Histogram from "@iconify-icons/ep/histogram"; +import RefreshRight from "@iconify-icons/ep/refresh-right"; +import ArrowDown from "@iconify-icons/ep/arrow-down"; +import Close from "@iconify-icons/ep/close"; +import CloseBold from "@iconify-icons/ep/close-bold"; +import Bell from "@iconify-icons/ep/bell"; +import Guide from "@iconify-icons/ep/guide"; +import User from "@iconify-icons/ep/user"; +import Iphone from "@iconify-icons/ep/iphone"; +import Location from "@iconify-icons/ep/location"; +import Tickets from "@iconify-icons/ep/tickets"; +import OfficeBuilding from "@iconify-icons/ep/office-building"; +import Notebook from "@iconify-icons/ep/notebook"; +addIcon("check", Check); +addIcon("menu", Menu); +addIcon("home-filled", HomeFilled); +addIcon("set-up", SetUp); +addIcon("edit", Edit); +addIcon("setting", Setting); +addIcon("lollipop", Lollipop); +addIcon("link", Link); +addIcon("position", Position); +addIcon("histogram", Histogram); +addIcon("refresh-right", RefreshRight); +addIcon("arrow-down", ArrowDown); +addIcon("close", Close); +addIcon("close-bold", CloseBold); +addIcon("bell", Bell); +addIcon("guide", Guide); +addIcon("user", User); +addIcon("iphone", Iphone); +addIcon("location", Location); +addIcon("tickets", Tickets); +addIcon("office-building", OfficeBuilding); +addIcon("notebook", Notebook); + +// Iconify Icon在Vue里离线使用(用于内网环境) +// https://docs.iconify.design/icon-components/vue/offline.html +export default defineComponent({ + name: "IconifyIcon", + components: { IconifyIcon }, + props: { + icon: { + type: String, + default: "" + } + }, + render() { + return h( + IconifyIcon, + { + icon: `${this.icon}` + }, + { + default: () => [] + } + ); + } +}); diff --git a/src/components/ReIcon/src/iconifyIconOnline.ts b/src/components/ReIcon/src/iconifyIconOnline.ts new file mode 100644 index 0000000..b0b8328 --- /dev/null +++ b/src/components/ReIcon/src/iconifyIconOnline.ts @@ -0,0 +1,30 @@ +import { h, defineComponent } from "vue"; +import { Icon as IconifyIcon } from "@iconify/vue"; + +// Iconify Icon在Vue里在线使用(用于外网环境) +// https://docs.iconify.design/icon-components/vue/offline.html +export default defineComponent({ + name: "IconifyIcon", + components: { IconifyIcon }, + props: { + icon: { + type: String, + default: "" + }, + type: { + type: String, + default: "ep:" + } + }, + render() { + return h( + IconifyIcon, + { + icon: `${this.type}${this.icon}` + }, + { + default: () => [] + } + ); + } +}); diff --git a/src/layout/components/appMain.vue b/src/layout/components/appMain.vue index 8c1a8aa..30bac61 100644 --- a/src/layout/components/appMain.vue +++ b/src/layout/components/appMain.vue @@ -8,7 +8,7 @@ import { getCurrentInstance } from "vue"; import { RouterView } from "vue-router"; -import backTop from "/@/assets/svg/back_top.svg"; +import backTop from "/@/assets/svg/back_top.svg?component"; import { usePermissionStoreHook } from "/@/store/modules/permission"; const props = defineProps({ diff --git a/src/layout/components/navbar.vue b/src/layout/components/navbar.vue index b3228b3..971d519 100644 --- a/src/layout/components/navbar.vue +++ b/src/layout/components/navbar.vue @@ -13,8 +13,8 @@ import { useAppStoreHook } from "/@/store/modules/app"; import { unref, watch, getCurrentInstance } from "vue"; import { deviceDetection } from "/@/utils/deviceDetection"; import screenfull from "../components/screenfull/index.vue"; -import globalization from "/@/assets/svg/globalization.svg"; import { useEpThemeStoreHook } from "/@/store/modules/epTheme"; +import globalization from "/@/assets/svg/globalization.svg?component"; const instance = getCurrentInstance().appContext.config.globalProperties.$storage; @@ -95,15 +95,17 @@ function translationEn() { 简体中文简体中文 English @@ -129,7 +131,7 @@ function translationEn() { :title="$t('buttons.hssystemSet')" @click="onPanel" > - + diff --git a/src/layout/components/notice/index.vue b/src/layout/components/notice/index.vue index 108bebd..14b699f 100644 --- a/src/layout/components/notice/index.vue +++ b/src/layout/components/notice/index.vue @@ -16,7 +16,9 @@ notices.value.forEach(notice => { - +