Commit d3ab3e07607f696e72f06b6d187f7e5eab61e4bb

Authored by xingyu
1 parent 9ee56bce

perf: aotu imports

yudao-ui-admin-vue3/build/vite/index.ts
... ... @@ -6,6 +6,7 @@ import progress from 'vite-plugin-progress'
6 6 import EslintPlugin from 'vite-plugin-eslint'
7 7 import PurgeIcons from 'vite-plugin-purge-icons'
8 8 import { ViteEjsPlugin } from 'vite-plugin-ejs'
  9 +import ElementPlus from 'unplugin-element-plus/vite'
9 10 import AutoImport from 'unplugin-auto-import/vite'
10 11 import Components from 'unplugin-vue-components/vite'
11 12 import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
... ... @@ -13,11 +14,6 @@ import viteCompression from 'vite-plugin-compression'
13 14 import vueSetupExtend from 'vite-plugin-vue-setup-extend'
14 15 import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite'
15 16 import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'
16   -import {
17   - createStyleImportPlugin,
18   - ElementPlusResolve,
19   - VxeTableResolve
20   -} from 'vite-plugin-style-import'
21 17 export function createVitePlugins(VITE_APP_TITLE: string) {
22 18 const root = process.cwd()
23 19 // 路径查找
... ... @@ -31,6 +27,7 @@ export function createVitePlugins(VITE_APP_TITLE: string) {
31 27 progress(),
32 28 PurgeIcons(),
33 29 vueSetupExtend(),
  30 + ElementPlus(),
34 31 AutoImport({
35 32 include: [
36 33 /\.[tj]sx?$/, // .ts, .tsx, .js, .jsx
... ... @@ -72,25 +69,6 @@ export function createVitePlugins(VITE_APP_TITLE: string) {
72 69 resolvers: [ElementPlusResolver()],
73 70 exclude: [/[\\/]node_modules[\\/]/]
74 71 }),
75   - createStyleImportPlugin({
76   - resolves: [ElementPlusResolve(), VxeTableResolve()],
77   - libs: [
78   - {
79   - libraryName: 'element-plus',
80   - esModule: true,
81   - resolveStyle: (name) => {
82   - return `element-plus/es/components/${name.substring(3)}/style/css`
83   - }
84   - },
85   - {
86   - libraryName: 'vxe-table',
87   - esModule: true,
88   - resolveStyle: (name) => {
89   - return `vxe-table/es/${name}/style.css`
90   - }
91   - }
92   - ]
93   - }),
94 72 EslintPlugin({
95 73 cache: false,
96 74 include: ['src/**/*.vue', 'src/**/*.ts', 'src/**/*.tsx'] // 检查的文件
... ...
yudao-ui-admin-vue3/build/vite/styleImport.ts deleted
1   -export const styleImportPlugin = {
2   - libs: [
3   - {
4   - libraryName: 'element-plus',
5   - esModule: true,
6   - resolveStyle: (name) => {
7   - return `element-plus/es/components/${name.substring(3)}/style/css`
8   - }
9   - },
10   - {
11   - libraryName: 'vxe-table',
12   - esModule: true,
13   - resolveStyle: (name) => {
14   - return `vxe-table/es/${name}/style.css`
15   - }
16   - }
17   - ]
18   -}
yudao-ui-admin-vue3/package.json
... ... @@ -25,12 +25,12 @@
25 25 },
26 26 "dependencies": {
27 27 "@iconify/iconify": "^3.0.1",
28   - "@vueuse/core": "^9.10.0",
  28 + "@vueuse/core": "^9.11.0",
29 29 "@wangeditor/editor": "^5.1.23",
30 30 "@wangeditor/editor-for-vue": "^5.1.10",
31 31 "@zxcvbn-ts/core": "^2.1.0",
32 32 "animate.css": "^4.1.1",
33   - "axios": "^1.2.2",
  33 + "axios": "^1.2.3",
34 34 "cropperjs": "^1.5.13",
35 35 "crypto-js": "^4.1.1",
36 36 "dayjs": "^1.11.7",
... ... @@ -57,7 +57,7 @@
57 57 "devDependencies": {
58 58 "@commitlint/cli": "^17.4.2",
59 59 "@commitlint/config-conventional": "^17.4.2",
60   - "@iconify/json": "^2.2.7",
  60 + "@iconify/json": "^2.2.8",
61 61 "@intlify/unplugin-vue-i18n": "^0.8.1",
62 62 "@purge-icons/generated": "^0.9.0",
63 63 "@types/intro.js": "^5.1.0",
... ... @@ -83,7 +83,7 @@
83 83 "postcss-html": "^1.5.0",
84 84 "postcss-scss": "^4.0.6",
85 85 "prettier": "^2.8.3",
86   - "rimraf": "^4.1.0",
  86 + "rimraf": "^4.1.1",
87 87 "rollup": "^3.10.0",
88 88 "sass": "^1.57.1",
89 89 "stylelint": "^14.16.1",
... ... @@ -95,6 +95,7 @@
95 95 "terser": "^5.16.1",
96 96 "typescript": "4.9.4",
97 97 "unplugin-auto-import": "^0.12.1",
  98 + "unplugin-element-plus": "^0.4.1",
98 99 "unplugin-vue-components": "^0.22.12",
99 100 "vite": "4.0.4",
100 101 "vite-plugin-compression": "^0.5.1",
... ... @@ -102,7 +103,6 @@
102 103 "vite-plugin-eslint": "^1.8.1",
103 104 "vite-plugin-progress": "^0.0.6",
104 105 "vite-plugin-purge-icons": "^0.9.2",
105   - "vite-plugin-style-import": "2.0.0",
106 106 "vite-plugin-svg-icons": "^2.0.1",
107 107 "vite-plugin-vue-setup-extend": "^0.4.0",
108 108 "vite-plugin-windicss": "^1.8.10",
... ...
yudao-ui-admin-vue3/pnpm-lock.yaml
... ... @@ -4,7 +4,7 @@ specifiers:
4 4 '@commitlint/cli': ^17.4.2
5 5 '@commitlint/config-conventional': ^17.4.2
6 6 '@iconify/iconify': ^3.0.1
7   - '@iconify/json': ^2.2.7
  7 + '@iconify/json': ^2.2.8
8 8 '@intlify/unplugin-vue-i18n': ^0.8.1
9 9 '@purge-icons/generated': ^0.9.0
10 10 '@types/intro.js': ^5.1.0
... ... @@ -18,13 +18,13 @@ specifiers:
18 18 '@vitejs/plugin-legacy': ^3.0.1
19 19 '@vitejs/plugin-vue': ^4.0.0
20 20 '@vitejs/plugin-vue-jsx': ^3.0.0
21   - '@vueuse/core': ^9.10.0
  21 + '@vueuse/core': ^9.11.0
22 22 '@wangeditor/editor': ^5.1.23
23 23 '@wangeditor/editor-for-vue': ^5.1.10
24 24 '@zxcvbn-ts/core': ^2.1.0
25 25 animate.css: ^4.1.1
26 26 autoprefixer: ^10.4.13
27   - axios: ^1.2.2
  27 + axios: ^1.2.3
28 28 consola: ^2.15.3
29 29 cropperjs: ^1.5.13
30 30 crypto-js: ^4.1.1
... ... @@ -50,7 +50,7 @@ specifiers:
50 50 prettier: ^2.8.3
51 51 qrcode: ^1.5.1
52 52 qs: ^6.11.0
53   - rimraf: ^4.1.0
  53 + rimraf: ^4.1.1
54 54 rollup: ^3.10.0
55 55 sass: ^1.57.1
56 56 stylelint: ^14.16.1
... ... @@ -62,6 +62,7 @@ specifiers:
62 62 terser: ^5.16.1
63 63 typescript: 4.9.4
64 64 unplugin-auto-import: ^0.12.1
  65 + unplugin-element-plus: ^0.4.1
65 66 unplugin-vue-components: ^0.22.12
66 67 url: ^0.11.0
67 68 vite: 4.0.4
... ... @@ -70,7 +71,6 @@ specifiers:
70 71 vite-plugin-eslint: ^1.8.1
71 72 vite-plugin-progress: ^0.0.6
72 73 vite-plugin-purge-icons: ^0.9.2
73   - vite-plugin-style-import: 2.0.0
74 74 vite-plugin-svg-icons: ^2.0.1
75 75 vite-plugin-vue-setup-extend: ^0.4.0
76 76 vite-plugin-windicss: ^1.8.10
... ... @@ -86,12 +86,12 @@ specifiers:
86 86  
87 87 dependencies:
88 88 '@iconify/iconify': 3.0.1
89   - '@vueuse/core': 9.10.0_vue@3.2.45
  89 + '@vueuse/core': 9.11.0_vue@3.2.45
90 90 '@wangeditor/editor': 5.1.23
91 91 '@wangeditor/editor-for-vue': 5.1.12_3apfu3xbp6awzuex7ed3sbrv6y
92 92 '@zxcvbn-ts/core': 2.1.0
93 93 animate.css: 4.1.1
94   - axios: 1.2.2
  94 + axios: 1.2.3
95 95 cropperjs: 1.5.13
96 96 crypto-js: 4.1.1
97 97 dayjs: 1.11.7
... ... @@ -118,7 +118,7 @@ dependencies:
118 118 devDependencies:
119 119 '@commitlint/cli': 17.4.2
120 120 '@commitlint/config-conventional': 17.4.2
121   - '@iconify/json': 2.2.7
  121 + '@iconify/json': 2.2.8
122 122 '@intlify/unplugin-vue-i18n': 0.8.1_vue-i18n@9.2.2
123 123 '@purge-icons/generated': 0.9.0
124 124 '@types/intro.js': 5.1.0
... ... @@ -144,7 +144,7 @@ devDependencies:
144 144 postcss-html: 1.5.0
145 145 postcss-scss: 4.0.6_postcss@8.4.21
146 146 prettier: 2.8.3
147   - rimraf: 4.1.0
  147 + rimraf: 4.1.1
148 148 rollup: 3.10.0
149 149 sass: 1.57.1
150 150 stylelint: 14.16.1
... ... @@ -155,7 +155,8 @@ devDependencies:
155 155 stylelint-order: 6.0.1_stylelint@14.16.1
156 156 terser: 5.16.1
157 157 typescript: 4.9.4
158   - unplugin-auto-import: 0.12.1_gyxbveewukbcvt3zzy7ycqctbe
  158 + unplugin-auto-import: 0.12.1_ta7poabqclszbk6bszysx4wo3y
  159 + unplugin-element-plus: 0.4.1_rollup@3.10.0+vite@4.0.4
159 160 unplugin-vue-components: 0.22.12_rollup@3.10.0+vue@3.2.45
160 161 vite: 4.0.4_zxbrnrc4iyldik6mikh3pswz4i
161 162 vite-plugin-compression: 0.5.1_vite@4.0.4
... ... @@ -163,7 +164,6 @@ devDependencies:
163 164 vite-plugin-eslint: 1.8.1_eslint@8.32.0+vite@4.0.4
164 165 vite-plugin-progress: 0.0.6_vite@4.0.4
165 166 vite-plugin-purge-icons: 0.9.2_vite@4.0.4
166   - vite-plugin-style-import: 2.0.0_vite@4.0.4
167 167 vite-plugin-svg-icons: 2.0.1_vite@4.0.4
168 168 vite-plugin-vue-setup-extend: 0.4.0_vite@4.0.4
169 169 vite-plugin-windicss: 1.8.10_vite@4.0.4
... ... @@ -967,8 +967,8 @@ packages:
967 967 dependencies:
968 968 '@iconify/types': 2.0.0
969 969  
970   - /@iconify/json/2.2.7:
971   - resolution: {integrity: sha512-cWDwr+KE0KNSFmxrR0rvM5AmP4JmJWCZiyhFZ1bywwBJsrV/x+19bLbEAvmn4pmKKYWCAy4F9clpVWynYslzoQ==}
  970 + /@iconify/json/2.2.8:
  971 + resolution: {integrity: sha512-Vusnz/QRrTmGFzzmZ1Mf6mG2OEbBWLrd/gXgaBpCbjP/abDLdKd7+DMRJlaZA/jqMJ0rsIL0juZ9FwApBnh/ww==}
972 972 dependencies:
973 973 '@iconify/types': 2.0.0
974 974 pathe: 1.0.0
... ... @@ -1646,22 +1646,22 @@ packages:
1646 1646 /@vue/shared/3.2.45:
1647 1647 resolution: {integrity: sha512-Ewzq5Yhimg7pSztDV+RH1UDKBzmtqieXQlpTVm2AwraoRL/Rks96mvd8Vgi7Lj+h+TH8dv7mXD3FRZR3TUvbSg==}
1648 1648  
1649   - /@vueuse/core/9.10.0_vue@3.2.45:
1650   - resolution: {integrity: sha512-CxMewME07qeuzuT/AOIQGv0EhhDoojniqU6pC3F8m5VC76L47UT18DcX88kWlP3I7d3qMJ4u/PD8iSRsy3bmNA==}
  1649 + /@vueuse/core/9.11.0_vue@3.2.45:
  1650 + resolution: {integrity: sha512-7yZJ8LNOssA8ZmeSjd4F+wbFBA4csiP4TiaXgruqg1H4PAtzSkv93PPwFLvQkSnfo3Bar+e+6QoRvWjhz7l2Xg==}
1651 1651 dependencies:
1652 1652 '@types/web-bluetooth': 0.0.16
1653   - '@vueuse/metadata': 9.10.0
1654   - '@vueuse/shared': 9.10.0_vue@3.2.45
  1653 + '@vueuse/metadata': 9.11.0
  1654 + '@vueuse/shared': 9.11.0_vue@3.2.45
1655 1655 vue-demi: 0.13.11_vue@3.2.45
1656 1656 transitivePeerDependencies:
1657 1657 - '@vue/composition-api'
1658 1658 - vue
1659 1659  
1660   - /@vueuse/metadata/9.10.0:
1661   - resolution: {integrity: sha512-G5VZhgTCapzU9rv0Iq2HBrVOSGzOKb+OE668NxhXNcTjUjwYxULkEhAw70FtRLMZc+hxcFAzDZlKYA0xcwNMuw==}
  1660 + /@vueuse/metadata/9.11.0:
  1661 + resolution: {integrity: sha512-HhtG2SWkcfZBLbamHdvLn7jKOCFpw/ifXjVTd5ilFkj98WVUk/3UTQ03wF1XIkuhSO4+b45hD2lfG9/GdKCF7w==}
1662 1662  
1663   - /@vueuse/shared/9.10.0_vue@3.2.45:
1664   - resolution: {integrity: sha512-vakHJ2ZRklAzqmcVBL38RS7BxdBA4+5poG9NsSyqJxrt9kz0zX3P5CXMy0Hm6LFbZXUgvKdqAS3pUH1zX/5qTQ==}
  1663 + /@vueuse/shared/9.11.0_vue@3.2.45:
  1664 + resolution: {integrity: sha512-8lO7wD5abYxupKy2KynH1pSgP715ky6iCrWYb8aX2AuAVi9uHXj7qE1dw6BnmArSaLHci4x9iuzWPCpAzUkC/A==}
1665 1665 dependencies:
1666 1666 vue-demi: 0.13.11_vue@3.2.45
1667 1667 transitivePeerDependencies:
... ... @@ -2099,8 +2099,8 @@ packages:
2099 2099 - debug
2100 2100 dev: true
2101 2101  
2102   - /axios/1.2.2:
2103   - resolution: {integrity: sha512-bz/J4gS2S3I7mpN/YZfGFTqhXTYzRho8Ay38w2otuuDR322KzFIWm/4W2K6gIwvWaws5n+mnb7D1lN9uD+QH6Q==}
  2102 + /axios/1.2.3:
  2103 + resolution: {integrity: sha512-pdDkMYJeuXLZ6Xj/Q5J3Phpe+jbGdsSzlQaFVkMQzRUL05+6+tetX8TV3p4HrU4kzuO9bt+io/yGQxuyxA/xcw==}
2104 2104 dependencies:
2105 2105 follow-redirects: 1.15.2
2106 2106 form-data: 4.0.0
... ... @@ -2227,13 +2227,6 @@ packages:
2227 2227 engines: {node: '>=6'}
2228 2228 dev: true
2229 2229  
2230   - /camel-case/4.1.2:
2231   - resolution: {integrity: sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==}
2232   - dependencies:
2233   - pascal-case: 3.1.2
2234   - tslib: 2.4.1
2235   - dev: true
2236   -
2237 2230 /camelcase-keys/6.2.2:
2238 2231 resolution: {integrity: sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==}
2239 2232 engines: {node: '>=8'}
... ... @@ -2256,14 +2249,6 @@ packages:
2256 2249 resolution: {integrity: sha512-zBUoFU0ZcxpvSt9IU66dXVT/3ctO1cy4y9cscs1szkPlcWb6pasYM144GqrUygUbT+k7cmUCW61cvskjcv0enQ==}
2257 2250 dev: true
2258 2251  
2259   - /capital-case/1.0.4:
2260   - resolution: {integrity: sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A==}
2261   - dependencies:
2262   - no-case: 3.0.4
2263   - tslib: 2.4.1
2264   - upper-case-first: 2.0.2
2265   - dev: true
2266   -
2267 2252 /chalk/1.1.3:
2268 2253 resolution: {integrity: sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==}
2269 2254 engines: {node: '>=0.10.0'}
... ... @@ -2292,23 +2277,6 @@ packages:
2292 2277 supports-color: 7.2.0
2293 2278 dev: true
2294 2279  
2295   - /change-case/4.1.2:
2296   - resolution: {integrity: sha512-bSxY2ws9OtviILG1EiY5K7NNxkqg/JnRnFxLtKQ96JaviiIxi7djMrSd0ECT9AC+lttClmYwKw53BWpOMblo7A==}
2297   - dependencies:
2298   - camel-case: 4.1.2
2299   - capital-case: 1.0.4
2300   - constant-case: 3.0.4
2301   - dot-case: 3.0.4
2302   - header-case: 2.0.4
2303   - no-case: 3.0.4
2304   - param-case: 3.0.4
2305   - pascal-case: 3.1.2
2306   - path-case: 3.0.4
2307   - sentence-case: 3.0.4
2308   - snake-case: 3.0.4
2309   - tslib: 2.4.1
2310   - dev: true
2311   -
2312 2280 /chokidar/3.5.3:
2313 2281 resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==}
2314 2282 engines: {node: '>= 8.10.0'}
... ... @@ -2463,18 +2431,6 @@ packages:
2463 2431 resolution: {integrity: sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==}
2464 2432 dev: true
2465 2433  
2466   - /console/0.7.2:
2467   - resolution: {integrity: sha512-+JSDwGunA4MTEgAV/4VBKwUHonP8CzJ/6GIuwPi6acKFqFfHUdSGCm89ZxZ5FfGWdZfkdgAroy5bJ5FSeN/t4g==}
2468   - dev: true
2469   -
2470   - /constant-case/3.0.4:
2471   - resolution: {integrity: sha512-I2hSBi7Vvs7BEuJDr5dDHfzb/Ruj3FyvFyh7KLilAjNQw3Be+xgqUBA2W6scVEcL0hL1dwPRtIqEPVUCKkSsyQ==}
2472   - dependencies:
2473   - no-case: 3.0.4
2474   - tslib: 2.4.1
2475   - upper-case: 2.0.2
2476   - dev: true
2477   -
2478 2434 /conventional-changelog-angular/5.0.13:
2479 2435 resolution: {integrity: sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==}
2480 2436 engines: {node: '>=10'}
... ... @@ -2830,13 +2786,6 @@ packages:
2830 2786 domhandler: 5.0.3
2831 2787 dev: true
2832 2788  
2833   - /dot-case/3.0.4:
2834   - resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==}
2835   - dependencies:
2836   - no-case: 3.0.4
2837   - tslib: 2.4.1
2838   - dev: true
2839   -
2840 2789 /dot-prop/5.3.0:
2841 2790 resolution: {integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==}
2842 2791 engines: {node: '>=8'}
... ... @@ -2886,7 +2835,7 @@ packages:
2886 2835 '@popperjs/core': /@sxzz/popperjs-es/2.11.7
2887 2836 '@types/lodash': 4.14.189
2888 2837 '@types/lodash-es': 4.17.6
2889   - '@vueuse/core': 9.10.0_vue@3.2.45
  2838 + '@vueuse/core': 9.11.0_vue@3.2.45
2890 2839 async-validator: 4.2.5
2891 2840 dayjs: 1.11.7
2892 2841 escape-html: 1.0.3
... ... @@ -2935,8 +2884,8 @@ packages:
2935 2884 is-arrayish: 0.2.1
2936 2885 dev: true
2937 2886  
2938   - /es-module-lexer/0.9.3:
2939   - resolution: {integrity: sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==}
  2887 + /es-module-lexer/0.10.5:
  2888 + resolution: {integrity: sha512-+7IwY/kiGAacQfY+YBhKMvEmyAJnw5grTUgjG85Pe7vcUI/6b7pZjZG8nQ7+48YhzEAEqrEgD2dCz/JIK+AYvw==}
2940 2889 dev: true
2941 2890  
2942 2891 /es5-ext/0.10.62:
... ... @@ -3666,13 +3615,6 @@ packages:
3666 3615 hasBin: true
3667 3616 dev: true
3668 3617  
3669   - /header-case/2.0.4:
3670   - resolution: {integrity: sha512-H/vuk5TEEVZwrR0lp2zed9OCo1uAILMlx0JEMgC26rzyJJ3N1v6XkwHHXJQdR2doSjcGPM6OKPYoJgf0plJ11Q==}
3671   - dependencies:
3672   - capital-case: 1.0.4
3673   - tslib: 2.4.1
3674   - dev: true
3675   -
3676 3618 /hosted-git-info/2.8.9:
3677 3619 resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==}
3678 3620 dev: true
... ... @@ -4298,12 +4240,6 @@ packages:
4298 4240 wrap-ansi: 6.2.0
4299 4241 dev: true
4300 4242  
4301   - /lower-case/2.0.2:
4302   - resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==}
4303   - dependencies:
4304   - tslib: 2.4.1
4305   - dev: true
4306   -
4307 4243 /lru-cache/6.0.0:
4308 4244 resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}
4309 4245 engines: {node: '>=10'}
... ... @@ -4316,6 +4252,13 @@ packages:
4316 4252 dependencies:
4317 4253 sourcemap-codec: 1.4.8
4318 4254  
  4255 + /magic-string/0.26.7:
  4256 + resolution: {integrity: sha512-hX9XH3ziStPoPhJxLq1syWuZMxbDvGNbVchfrdCtanC7D13888bMFow61x8axrx+GfHLtVeAx2kxL7tTGRl+Ow==}
  4257 + engines: {node: '>=12'}
  4258 + dependencies:
  4259 + sourcemap-codec: 1.4.8
  4260 + dev: true
  4261 +
4319 4262 /magic-string/0.27.0:
4320 4263 resolution: {integrity: sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npm.taobao.org/magic-string/-/magic-string-0.27.0.tgz}
4321 4264 engines: {node: '>=12'}
... ... @@ -4573,13 +4516,6 @@ packages:
4573 4516 resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==}
4574 4517 dev: false
4575 4518  
4576   - /no-case/3.0.4:
4577   - resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==}
4578   - dependencies:
4579   - lower-case: 2.0.2
4580   - tslib: 2.4.1
4581   - dev: true
4582   -
4583 4519 /node-fetch/2.6.7:
4584 4520 resolution: {integrity: sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npm.taobao.org/node-fetch/-/node-fetch-2.6.7.tgz}
4585 4521 engines: {node: 4.x || >=6.0.0}
... ... @@ -4753,13 +4689,6 @@ packages:
4753 4689 resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==}
4754 4690 engines: {node: '>=6'}
4755 4691  
4756   - /param-case/3.0.4:
4757   - resolution: {integrity: sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==}
4758   - dependencies:
4759   - dot-case: 3.0.4
4760   - tslib: 2.4.1
4761   - dev: true
4762   -
4763 4692 /parent-module/1.0.1:
4764 4693 resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}
4765 4694 engines: {node: '>=6'}
... ... @@ -4777,25 +4706,11 @@ packages:
4777 4706 lines-and-columns: 1.2.4
4778 4707 dev: true
4779 4708  
4780   - /pascal-case/3.1.2:
4781   - resolution: {integrity: sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==}
4782   - dependencies:
4783   - no-case: 3.0.4
4784   - tslib: 2.4.1
4785   - dev: true
4786   -
4787 4709 /pascalcase/0.1.1:
4788 4710 resolution: {integrity: sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==}
4789 4711 engines: {node: '>=0.10.0'}
4790 4712 dev: true
4791 4713  
4792   - /path-case/3.0.4:
4793   - resolution: {integrity: sha512-qO4qCFjXqVTrcbPt/hQfhTQ+VhFsqNKOPtytgNKkKxSoEp3XPUQ8ObFuePylOIok5gjn69ry8XiULxCwot3Wfg==}
4794   - dependencies:
4795   - dot-case: 3.0.4
4796   - tslib: 2.4.1
4797   - dev: true
4798   -
4799 4714 /path-exists/4.0.0:
4800 4715 resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==}
4801 4716 engines: {node: '>=8'}
... ... @@ -5238,8 +5153,8 @@ packages:
5238 5153 glob: 7.2.3
5239 5154 dev: true
5240 5155  
5241   - /rimraf/4.1.0:
5242   - resolution: {integrity: sha512-ZJdkUR5/dRrRJHdcSKJLrpRn6tVjl9ALxd4yrTCxFsMpjQNzwHF6GLqMsuEzEYIXxHlFPDSk21Vr8VPuFBEz0g==}
  5156 + /rimraf/4.1.1:
  5157 + resolution: {integrity: sha512-Z4Y81w8atcvaJuJuBB88VpADRH66okZAuEm+Jtaufa+s7rZmIz+Hik2G53kGaNytE7lsfXyWktTmfVz0H9xuDg==}
5243 5158 engines: {node: '>=14'}
5244 5159 hasBin: true
5245 5160 dev: true
... ... @@ -5331,14 +5246,6 @@ packages:
5331 5246 lru-cache: 6.0.0
5332 5247 dev: true
5333 5248  
5334   - /sentence-case/3.0.4:
5335   - resolution: {integrity: sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg==}
5336   - dependencies:
5337   - no-case: 3.0.4
5338   - tslib: 2.4.1
5339   - upper-case-first: 2.0.2
5340   - dev: true
5341   -
5342 5249 /set-blocking/2.0.0:
5343 5250 resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==}
5344 5251 dev: false
... ... @@ -5430,13 +5337,6 @@ packages:
5430 5337 engines: {node: '>=8.3.0'}
5431 5338 dev: false
5432 5339  
5433   - /snake-case/3.0.4:
5434   - resolution: {integrity: sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==}
5435   - dependencies:
5436   - dot-case: 3.0.4
5437   - tslib: 2.4.1
5438   - dev: true
5439   -
5440 5340 /snapdragon-node/2.1.1:
5441 5341 resolution: {integrity: sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==}
5442 5342 engines: {node: '>=0.10.0'}
... ... @@ -6051,7 +5951,7 @@ packages:
6051 5951 engines: {node: '>= 10.0.0'}
6052 5952 dev: true
6053 5953  
6054   - /unplugin-auto-import/0.12.1_gyxbveewukbcvt3zzy7ycqctbe:
  5954 + /unplugin-auto-import/0.12.1_ta7poabqclszbk6bszysx4wo3y:
6055 5955 resolution: {integrity: sha512-J/3ZORq5YGKG+8D5vLLOgqaHNK77izlVN07mQ752yRLqBNDbJiwPRSnUwwYqH5N6rDay1SqnJCHaUdbJ9QMI2w==}
6056 5956 engines: {node: '>=14'}
6057 5957 peerDependencies:
... ... @@ -6062,7 +5962,7 @@ packages:
6062 5962 dependencies:
6063 5963 '@antfu/utils': 0.7.2
6064 5964 '@rollup/pluginutils': 5.0.2_rollup@3.10.0
6065   - '@vueuse/core': 9.10.0_vue@3.2.45
  5965 + '@vueuse/core': 9.11.0_vue@3.2.45
6066 5966 local-pkg: 0.4.2
6067 5967 magic-string: 0.27.0
6068 5968 unimport: 1.2.0_rollup@3.10.0
... ... @@ -6071,6 +5971,21 @@ packages:
6071 5971 - rollup
6072 5972 dev: true
6073 5973  
  5974 + /unplugin-element-plus/0.4.1_rollup@3.10.0+vite@4.0.4:
  5975 + resolution: {integrity: sha512-x8L35sppkbtnAf+aSPXNsLPjCUrM0mWKgujqMIgrHiDQaGbpMlNnbN2kjP5CMclykNOw8fUCreEhtxPyzg8tmw==}
  5976 + engines: {node: '>=14.19.0'}
  5977 + dependencies:
  5978 + '@rollup/pluginutils': 4.2.1
  5979 + es-module-lexer: 0.10.5
  5980 + magic-string: 0.26.7
  5981 + unplugin: 0.7.2_rollup@3.10.0+vite@4.0.4
  5982 + transitivePeerDependencies:
  5983 + - esbuild
  5984 + - rollup
  5985 + - vite
  5986 + - webpack
  5987 + dev: true
  5988 +
6074 5989 /unplugin-vue-components/0.22.12_rollup@3.10.0+vue@3.2.45:
6075 5990 resolution: {integrity: sha512-FxyzsuBvMCYPIk+8cgscGBQ345tvwVu+qY5IhE++eorkyvA4Z1TiD/HCiim+Kbqozl10i4K+z+NCa2WO2jexRA==}
6076 5991 engines: {node: '>=14'}
... ... @@ -6097,6 +6012,31 @@ packages:
6097 6012 - supports-color
6098 6013 dev: true
6099 6014  
  6015 + /unplugin/0.7.2_rollup@3.10.0+vite@4.0.4:
  6016 + resolution: {integrity: sha512-m7thX4jP8l5sETpLdUASoDOGOcHaOVtgNyrYlToyQUvILUtEzEnngRBrHnAX3IKqooJVmXpoa/CwQ/QqzvGaHQ==}
  6017 + peerDependencies:
  6018 + esbuild: '>=0.13'
  6019 + rollup: ^2.50.0
  6020 + vite: ^2.3.0 || ^3.0.0-0
  6021 + webpack: 4 || 5
  6022 + peerDependenciesMeta:
  6023 + esbuild:
  6024 + optional: true
  6025 + rollup:
  6026 + optional: true
  6027 + vite:
  6028 + optional: true
  6029 + webpack:
  6030 + optional: true
  6031 + dependencies:
  6032 + acorn: 8.8.1
  6033 + chokidar: 3.5.3
  6034 + rollup: 3.10.0
  6035 + vite: 4.0.4_zxbrnrc4iyldik6mikh3pswz4i
  6036 + webpack-sources: 3.2.3
  6037 + webpack-virtual-modules: 0.4.6
  6038 + dev: true
  6039 +
6100 6040 /unplugin/1.0.1:
6101 6041 resolution: {integrity: sha512-aqrHaVBWW1JVKBHmGo33T5TxeL0qWzfvjWokObHA9bYmN7eNDkwOxmLjhioHl9878qDFMAaT51XNroRyuz7WxA==}
6102 6042 dependencies:
... ... @@ -6125,18 +6065,6 @@ packages:
6125 6065 picocolors: 1.0.0
6126 6066 dev: true
6127 6067  
6128   - /upper-case-first/2.0.2:
6129   - resolution: {integrity: sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg==}
6130   - dependencies:
6131   - tslib: 2.4.1
6132   - dev: true
6133   -
6134   - /upper-case/2.0.2:
6135   - resolution: {integrity: sha512-KgdgDGJt2TpuwBUIjgG6lzw2GWFRCW9Qkfkiv0DxqHHLYJHmtmdUIKcZd8rHgFSjopVTlw6ggzCm1b8MFQwikg==}
6136   - dependencies:
6137   - tslib: 2.4.1
6138   - dev: true
6139   -
6140 6068 /uri-js/4.4.1:
6141 6069 resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
6142 6070 dependencies:
... ... @@ -6243,21 +6171,6 @@ packages:
6243 6171 - supports-color
6244 6172 dev: true
6245 6173  
6246   - /vite-plugin-style-import/2.0.0_vite@4.0.4:
6247   - resolution: {integrity: sha512-qtoHQae5dSUQPo/rYz/8p190VU5y19rtBaeV7ryLa/AYAU/e9CG89NrN/3+k7MR8mJy/GPIu91iJ3zk9foUOSA==}
6248   - peerDependencies:
6249   - vite: '>=2.0.0'
6250   - dependencies:
6251   - '@rollup/pluginutils': 4.2.1
6252   - change-case: 4.1.2
6253   - console: 0.7.2
6254   - es-module-lexer: 0.9.3
6255   - fs-extra: 10.1.0
6256   - magic-string: 0.25.9
6257   - pathe: 0.2.0
6258   - vite: 4.0.4_zxbrnrc4iyldik6mikh3pswz4i
6259   - dev: true
6260   -
6261 6174 /vite-plugin-svg-icons/2.0.1_vite@4.0.4:
6262 6175 resolution: {integrity: sha512-6ktD+DhV6Rz3VtedYvBKKVA2eXF+sAQVaKkKLDSqGUfnhqXl3bj5PPkVTl3VexfTuZy66PmINi8Q6eFnVfRUmA==}
6263 6176 peerDependencies:
... ... @@ -6452,6 +6365,10 @@ packages:
6452 6365 engines: {node: '>=10.13.0'}
6453 6366 dev: true
6454 6367  
  6368 + /webpack-virtual-modules/0.4.6:
  6369 + resolution: {integrity: sha512-5tyDlKLqPfMqjT3Q9TAqf2YqjwmnUleZwzJi1A5qXnlBCdj2AtOJ6wAWdglTIDOPgOiOrXeBeFcsQ8+aGQ6QbA==}
  6370 + dev: true
  6371 +
6455 6372 /webpack-virtual-modules/0.5.0:
6456 6373 resolution: {integrity: sha512-kyDivFZ7ZM0BVOUteVbDFhlRt7Ah/CSPwJdi8hBpkK7QLumUqdLtVfm/PX/hkcnrvr0i77fO5+TjZ94Pe+C9iw==}
6457 6374 dev: true
... ...
yudao-ui-admin-vue3/src/plugins/vxeTable/index.ts
1 1 import { App } from 'vue'
2 2 import XEUtils from 'xe-utils'
3 3 import './renderer'
  4 +import 'vxe-table/lib/style.css'
4 5 import { i18n } from '@/plugins/vueI18n'
5 6 import zhCN from 'vxe-table/lib/locale/lang/zh-CN'
6 7 import enUS from 'vxe-table/lib/locale/lang/en-US'
... ...
yudao-ui-admin-vue3/src/types/auto-components.d.ts
... ... @@ -48,6 +48,7 @@ declare module '@vue/runtime-core' {
48 48 ElRadioButton: typeof import('element-plus/es')['ElRadioButton']
49 49 ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
50 50 ElRow: typeof import('element-plus/es')['ElRow']
  51 + ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
51 52 ElSelect: typeof import('element-plus/es')['ElSelect']
52 53 ElSkeleton: typeof import('element-plus/es')['ElSkeleton']
53 54 ElSwitch: typeof import('element-plus/es')['ElSwitch']
... ...