Commit 8e5a6b7ce547ba8edb1d767bb4d820f3b66ff95a

Authored by vben
1 parent 279977b8

perf: 修复部分 eslint 错误

Showing 42 changed files with 535 additions and 56 deletions
internal/eslint-config/package.json
... ... @@ -35,6 +35,7 @@
35 35 "@typescript-eslint/parser": "^5.57.1",
36 36 "eslint": "^8.37.0",
37 37 "eslint-config-prettier": "^8.8.0",
  38 + "eslint-plugin-import": "^2.27.5",
38 39 "eslint-plugin-prettier": "^4.2.1",
39 40 "eslint-plugin-vue": "^9.10.0",
40 41 "vue-eslint-parser": "^9.1.1"
... ...
internal/eslint-config/src/index.ts
... ... @@ -17,7 +17,7 @@ export default {
17 17 createDefaultProgram: false,
18 18 extraFileExtensions: ['.vue'],
19 19 },
20   - plugins: ['vue', '@typescript-eslint'],
  20 + plugins: ['vue', '@typescript-eslint', 'import'],
21 21 extends: [
22 22 'eslint:recommended',
23 23 'plugin:vue/vue3-recommended',
... ... @@ -25,16 +25,20 @@ export default {
25 25 'plugin:prettier/recommended',
26 26 ],
27 27 rules: {
  28 + 'no-unused-vars': 'off',
28 29 'no-case-declarations': 'off',
29   - 'vue/script-setup-uses-vars': 'error',
30   - 'vue/no-reserved-component-names': 'off',
  30 + 'no-use-before-define': 'off',
  31 + 'space-before-function-paren': 'off',
  32 +
  33 + 'import/first': 'error',
  34 + 'import/newline-after-import': 'error',
  35 + 'import/no-duplicates': 'error',
  36 +
31 37 '@typescript-eslint/ban-ts-ignore': 'off',
32 38 '@typescript-eslint/explicit-function-return-type': 'off',
33 39 '@typescript-eslint/no-explicit-any': 'off',
34 40 '@typescript-eslint/no-var-requires': 'off',
35 41 '@typescript-eslint/no-empty-function': 'off',
36   - 'vue/custom-event-name-casing': 'off',
37   - 'no-use-before-define': 'off',
38 42 '@typescript-eslint/no-use-before-define': 'off',
39 43 '@typescript-eslint/ban-ts-comment': 'off',
40 44 '@typescript-eslint/ban-types': 'off',
... ... @@ -47,15 +51,9 @@ export default {
47 51 varsIgnorePattern: '^_',
48 52 },
49 53 ],
50   - 'no-unused-vars': [
51   - 'error',
52   - {
53   - argsIgnorePattern: '^_',
54   - varsIgnorePattern: '^_',
55   - },
56   - ],
57   - 'space-before-function-paren': 'off',
58   -
  54 + 'vue/script-setup-uses-vars': 'error',
  55 + 'vue/no-reserved-component-names': 'off',
  56 + 'vue/custom-event-name-casing': 'off',
59 57 'vue/attributes-order': 'off',
60 58 'vue/one-component-per-file': 'off',
61 59 'vue/html-closing-bracket-newline': 'off',
... ... @@ -78,5 +76,15 @@ export default {
78 76 },
79 77 ],
80 78 'vue/multi-word-component-names': 'off',
  79 + // 'sort-imports': [
  80 + // 'error',
  81 + // {
  82 + // ignoreCase: true,
  83 + // ignoreDeclarationSort: false,
  84 + // ignoreMemberSort: false,
  85 + // memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],
  86 + // allowSeparatedGroups: false,
  87 + // },
  88 + // ],
81 89 },
82 90 };
... ...
pnpm-lock.yaml
... ... @@ -312,6 +312,9 @@ importers:
312 312 eslint-config-prettier:
313 313 specifier: ^8.8.0
314 314 version: 8.8.0(eslint@8.37.0)
  315 + eslint-plugin-import:
  316 + specifier: ^2.27.5
  317 + version: 2.27.5(@typescript-eslint/parser@5.57.1)(eslint@8.37.0)
315 318 eslint-plugin-prettier:
316 319 specifier: ^4.2.1
317 320 version: 4.2.1(eslint-config-prettier@8.8.0)(eslint@8.37.0)(prettier@2.8.7)
... ... @@ -1918,6 +1921,10 @@ packages:
1918 1921 resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==}
1919 1922 dev: true
1920 1923  
  1924 + /@types/json5@0.0.29:
  1925 + resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}
  1926 + dev: true
  1927 +
1921 1928 /@types/jsonfile@6.1.1:
1922 1929 resolution: {integrity: sha512-GSgiRCVeapDN+3pqA35IkQwasaCh/0YFH5dEF6S88iDvEn901DjOeH3/QPY+XYP1DFzDZPvIvfeEgk+7br5png==}
1923 1930 dependencies:
... ... @@ -2824,10 +2831,28 @@ packages:
2824 2831 engines: {node: '>=0.10.0'}
2825 2832 dev: true
2826 2833  
  2834 + /array-buffer-byte-length@1.0.0:
  2835 + resolution: {integrity: sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==}
  2836 + dependencies:
  2837 + call-bind: 1.0.2
  2838 + is-array-buffer: 3.0.2
  2839 + dev: true
  2840 +
2827 2841 /array-ify@1.0.0:
2828 2842 resolution: {integrity: sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==}
2829 2843 dev: true
2830 2844  
  2845 + /array-includes@3.1.6:
  2846 + resolution: {integrity: sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==}
  2847 + engines: {node: '>= 0.4'}
  2848 + dependencies:
  2849 + call-bind: 1.0.2
  2850 + define-properties: 1.2.0
  2851 + es-abstract: 1.21.2
  2852 + get-intrinsic: 1.2.0
  2853 + is-string: 1.0.7
  2854 + dev: true
  2855 +
2831 2856 /array-tree-filter@2.1.0:
2832 2857 resolution: {integrity: sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw==}
2833 2858  
... ... @@ -2841,6 +2866,26 @@ packages:
2841 2866 engines: {node: '>=0.10.0'}
2842 2867 dev: true
2843 2868  
  2869 + /array.prototype.flat@1.3.1:
  2870 + resolution: {integrity: sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==}
  2871 + engines: {node: '>= 0.4'}
  2872 + dependencies:
  2873 + call-bind: 1.0.2
  2874 + define-properties: 1.2.0
  2875 + es-abstract: 1.21.2
  2876 + es-shim-unscopables: 1.0.0
  2877 + dev: true
  2878 +
  2879 + /array.prototype.flatmap@1.3.1:
  2880 + resolution: {integrity: sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==}
  2881 + engines: {node: '>= 0.4'}
  2882 + dependencies:
  2883 + call-bind: 1.0.2
  2884 + define-properties: 1.2.0
  2885 + es-abstract: 1.21.2
  2886 + es-shim-unscopables: 1.0.0
  2887 + dev: true
  2888 +
2844 2889 /arrify@1.0.1:
2845 2890 resolution: {integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==}
2846 2891 engines: {node: '>=0.10.0'}
... ... @@ -2897,6 +2942,11 @@ packages:
2897 2942 hasBin: true
2898 2943 dev: true
2899 2944  
  2945 + /available-typed-arrays@1.0.5:
  2946 + resolution: {integrity: sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==}
  2947 + engines: {node: '>= 0.4'}
  2948 + dev: true
  2949 +
2900 2950 /axios@0.21.4(debug@4.3.4):
2901 2951 resolution: {integrity: sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==}
2902 2952 dependencies:
... ... @@ -3120,7 +3170,6 @@ packages:
3120 3170 dependencies:
3121 3171 function-bind: 1.1.1
3122 3172 get-intrinsic: 1.2.0
3123   - dev: false
3124 3173  
3125 3174 /callsites@3.1.0:
3126 3175 resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}
... ... @@ -3795,6 +3844,14 @@ packages:
3795 3844 engines: {node: '>=8'}
3796 3845 dev: true
3797 3846  
  3847 + /define-properties@1.2.0:
  3848 + resolution: {integrity: sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==}
  3849 + engines: {node: '>= 0.4'}
  3850 + dependencies:
  3851 + has-property-descriptors: 1.0.0
  3852 + object-keys: 1.1.1
  3853 + dev: true
  3854 +
3798 3855 /define-property@0.2.5:
3799 3856 resolution: {integrity: sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==}
3800 3857 engines: {node: '>=0.10.0'}
... ... @@ -3899,6 +3956,13 @@ packages:
3899 3956 resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==}
3900 3957 dev: true
3901 3958  
  3959 + /doctrine@2.1.0:
  3960 + resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==}
  3961 + engines: {node: '>=0.10.0'}
  3962 + dependencies:
  3963 + esutils: 2.0.3
  3964 + dev: true
  3965 +
3902 3966 /doctrine@3.0.0:
3903 3967 resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==}
3904 3968 engines: {node: '>=6.0.0'}
... ... @@ -4122,6 +4186,70 @@ packages:
4122 4186 is-arrayish: 0.2.1
4123 4187 dev: true
4124 4188  
  4189 + /es-abstract@1.21.2:
  4190 + resolution: {integrity: sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==}
  4191 + engines: {node: '>= 0.4'}
  4192 + dependencies:
  4193 + array-buffer-byte-length: 1.0.0
  4194 + available-typed-arrays: 1.0.5
  4195 + call-bind: 1.0.2
  4196 + es-set-tostringtag: 2.0.1
  4197 + es-to-primitive: 1.2.1
  4198 + function.prototype.name: 1.1.5
  4199 + get-intrinsic: 1.2.0
  4200 + get-symbol-description: 1.0.0
  4201 + globalthis: 1.0.3
  4202 + gopd: 1.0.1
  4203 + has: 1.0.3
  4204 + has-property-descriptors: 1.0.0
  4205 + has-proto: 1.0.1
  4206 + has-symbols: 1.0.3
  4207 + internal-slot: 1.0.5
  4208 + is-array-buffer: 3.0.2
  4209 + is-callable: 1.2.7
  4210 + is-negative-zero: 2.0.2
  4211 + is-regex: 1.1.4
  4212 + is-shared-array-buffer: 1.0.2
  4213 + is-string: 1.0.7
  4214 + is-typed-array: 1.1.10
  4215 + is-weakref: 1.0.2
  4216 + object-inspect: 1.12.3
  4217 + object-keys: 1.1.1
  4218 + object.assign: 4.1.4
  4219 + regexp.prototype.flags: 1.4.3
  4220 + safe-regex-test: 1.0.0
  4221 + string.prototype.trim: 1.2.7
  4222 + string.prototype.trimend: 1.0.6
  4223 + string.prototype.trimstart: 1.0.6
  4224 + typed-array-length: 1.0.4
  4225 + unbox-primitive: 1.0.2
  4226 + which-typed-array: 1.1.9
  4227 + dev: true
  4228 +
  4229 + /es-set-tostringtag@2.0.1:
  4230 + resolution: {integrity: sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==}
  4231 + engines: {node: '>= 0.4'}
  4232 + dependencies:
  4233 + get-intrinsic: 1.2.0
  4234 + has: 1.0.3
  4235 + has-tostringtag: 1.0.0
  4236 + dev: true
  4237 +
  4238 + /es-shim-unscopables@1.0.0:
  4239 + resolution: {integrity: sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==}
  4240 + dependencies:
  4241 + has: 1.0.3
  4242 + dev: true
  4243 +
  4244 + /es-to-primitive@1.2.1:
  4245 + resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==}
  4246 + engines: {node: '>= 0.4'}
  4247 + dependencies:
  4248 + is-callable: 1.2.7
  4249 + is-date-object: 1.0.5
  4250 + is-symbol: 1.0.4
  4251 + dev: true
  4252 +
4125 4253 /esbuild@0.11.3:
4126 4254 resolution: {integrity: sha512-BzVRHcCtFepjS9WcqRjqoIxLqgpK21a8J4Zi4msSGxDxiXVO1IbcqT1KjhdDDnJxKfe7bvzZrvMEX+bVO0Elcw==}
4127 4255 hasBin: true
... ... @@ -4197,6 +4325,78 @@ packages:
4197 4325 eslint: 8.37.0
4198 4326 dev: true
4199 4327  
  4328 + /eslint-import-resolver-node@0.3.7:
  4329 + resolution: {integrity: sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==}
  4330 + dependencies:
  4331 + debug: 3.2.7(supports-color@5.5.0)
  4332 + is-core-module: 2.11.0
  4333 + resolve: 1.22.1
  4334 + transitivePeerDependencies:
  4335 + - supports-color
  4336 + dev: true
  4337 +
  4338 + /eslint-module-utils@2.7.4(@typescript-eslint/parser@5.57.1)(eslint-import-resolver-node@0.3.7)(eslint@8.37.0):
  4339 + resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==}
  4340 + engines: {node: '>=4'}
  4341 + peerDependencies:
  4342 + '@typescript-eslint/parser': '*'
  4343 + eslint: '*'
  4344 + eslint-import-resolver-node: '*'
  4345 + eslint-import-resolver-typescript: '*'
  4346 + eslint-import-resolver-webpack: '*'
  4347 + peerDependenciesMeta:
  4348 + '@typescript-eslint/parser':
  4349 + optional: true
  4350 + eslint:
  4351 + optional: true
  4352 + eslint-import-resolver-node:
  4353 + optional: true
  4354 + eslint-import-resolver-typescript:
  4355 + optional: true
  4356 + eslint-import-resolver-webpack:
  4357 + optional: true
  4358 + dependencies:
  4359 + '@typescript-eslint/parser': 5.57.1(eslint@8.37.0)(typescript@5.0.3)
  4360 + debug: 3.2.7(supports-color@5.5.0)
  4361 + eslint: 8.37.0
  4362 + eslint-import-resolver-node: 0.3.7
  4363 + transitivePeerDependencies:
  4364 + - supports-color
  4365 + dev: true
  4366 +
  4367 + /eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.57.1)(eslint@8.37.0):
  4368 + resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==}
  4369 + engines: {node: '>=4'}
  4370 + peerDependencies:
  4371 + '@typescript-eslint/parser': '*'
  4372 + eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8
  4373 + peerDependenciesMeta:
  4374 + '@typescript-eslint/parser':
  4375 + optional: true
  4376 + dependencies:
  4377 + '@typescript-eslint/parser': 5.57.1(eslint@8.37.0)(typescript@5.0.3)
  4378 + array-includes: 3.1.6
  4379 + array.prototype.flat: 1.3.1
  4380 + array.prototype.flatmap: 1.3.1
  4381 + debug: 3.2.7(supports-color@5.5.0)
  4382 + doctrine: 2.1.0
  4383 + eslint: 8.37.0
  4384 + eslint-import-resolver-node: 0.3.7
  4385 + eslint-module-utils: 2.7.4(@typescript-eslint/parser@5.57.1)(eslint-import-resolver-node@0.3.7)(eslint@8.37.0)
  4386 + has: 1.0.3
  4387 + is-core-module: 2.11.0
  4388 + is-glob: 4.0.3
  4389 + minimatch: 3.1.2
  4390 + object.values: 1.1.6
  4391 + resolve: 1.22.1
  4392 + semver: 6.3.0
  4393 + tsconfig-paths: 3.14.2
  4394 + transitivePeerDependencies:
  4395 + - eslint-import-resolver-typescript
  4396 + - eslint-import-resolver-webpack
  4397 + - supports-color
  4398 + dev: true
  4399 +
4200 4400 /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.8.0)(eslint@8.37.0)(prettier@2.8.7):
4201 4401 resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==}
4202 4402 engines: {node: '>=12.0.0'}
... ... @@ -4601,6 +4801,12 @@ packages:
4601 4801 dependencies:
4602 4802 debug: 4.3.4
4603 4803  
  4804 + /for-each@0.3.3:
  4805 + resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==}
  4806 + dependencies:
  4807 + is-callable: 1.2.7
  4808 + dev: true
  4809 +
4604 4810 /for-in@1.0.2:
4605 4811 resolution: {integrity: sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==}
4606 4812 engines: {node: '>=0.10.0'}
... ... @@ -4711,6 +4917,20 @@ packages:
4711 4917 /function-bind@1.1.1:
4712 4918 resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==}
4713 4919  
  4920 + /function.prototype.name@1.1.5:
  4921 + resolution: {integrity: sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==}
  4922 + engines: {node: '>= 0.4'}
  4923 + dependencies:
  4924 + call-bind: 1.0.2
  4925 + define-properties: 1.2.0
  4926 + es-abstract: 1.21.2
  4927 + functions-have-names: 1.2.3
  4928 + dev: true
  4929 +
  4930 + /functions-have-names@1.2.3:
  4931 + resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==}
  4932 + dev: true
  4933 +
4714 4934 /gensync@1.0.0-beta.2:
4715 4935 resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==}
4716 4936 engines: {node: '>=6.9.0'}
... ... @@ -4726,13 +4946,20 @@ packages:
4726 4946 function-bind: 1.1.1
4727 4947 has: 1.0.3
4728 4948 has-symbols: 1.0.3
4729   - dev: false
4730 4949  
4731 4950 /get-stream@6.0.1:
4732 4951 resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==}
4733 4952 engines: {node: '>=10'}
4734 4953 dev: true
4735 4954  
  4955 + /get-symbol-description@1.0.0:
  4956 + resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==}
  4957 + engines: {node: '>= 0.4'}
  4958 + dependencies:
  4959 + call-bind: 1.0.2
  4960 + get-intrinsic: 1.2.0
  4961 + dev: true
  4962 +
4736 4963 /get-uri@3.0.2:
4737 4964 resolution: {integrity: sha512-+5s0SJbGoyiJTZZ2JTpFPLMPSch72KEqGOTvQsBqg0RBWvwhWUSYZFAtz3TPW0GXJuLBJPts1E241iHg+VRfhg==}
4738 4965 engines: {node: '>= 6'}
... ... @@ -4873,6 +5100,13 @@ packages:
4873 5100 type-fest: 0.20.2
4874 5101 dev: true
4875 5102  
  5103 + /globalthis@1.0.3:
  5104 + resolution: {integrity: sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==}
  5105 + engines: {node: '>= 0.4'}
  5106 + dependencies:
  5107 + define-properties: 1.2.0
  5108 + dev: true
  5109 +
4876 5110 /globalyzer@0.1.0:
4877 5111 resolution: {integrity: sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==}
4878 5112 dev: true
... ... @@ -4908,6 +5142,12 @@ packages:
4908 5142 resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==}
4909 5143 dev: true
4910 5144  
  5145 + /gopd@1.0.1:
  5146 + resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==}
  5147 + dependencies:
  5148 + get-intrinsic: 1.2.0
  5149 + dev: true
  5150 +
4911 5151 /graceful-fs@4.2.11:
4912 5152 resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
4913 5153  
... ... @@ -4934,6 +5174,10 @@ packages:
4934 5174 ansi-regex: 2.1.1
4935 5175 dev: true
4936 5176  
  5177 + /has-bigints@1.0.2:
  5178 + resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==}
  5179 + dev: true
  5180 +
4937 5181 /has-flag@1.0.0:
4938 5182 resolution: {integrity: sha512-DyYHfIYwAJmjAjSSPKANxI8bFY9YtFrgkAfinBojQ8YJTOuOuav64tMUJv584SES4xl74PmuaevIyaLESHdTAA==}
4939 5183 engines: {node: '>=0.10.0'}
... ... @@ -4948,17 +5192,26 @@ packages:
4948 5192 engines: {node: '>=8'}
4949 5193 dev: true
4950 5194  
  5195 + /has-property-descriptors@1.0.0:
  5196 + resolution: {integrity: sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==}
  5197 + dependencies:
  5198 + get-intrinsic: 1.2.0
  5199 + dev: true
  5200 +
  5201 + /has-proto@1.0.1:
  5202 + resolution: {integrity: sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==}
  5203 + engines: {node: '>= 0.4'}
  5204 + dev: true
  5205 +
4951 5206 /has-symbols@1.0.3:
4952 5207 resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==}
4953 5208 engines: {node: '>= 0.4'}
4954   - dev: false
4955 5209  
4956 5210 /has-tostringtag@1.0.0:
4957 5211 resolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==}
4958 5212 engines: {node: '>= 0.4'}
4959 5213 dependencies:
4960 5214 has-symbols: 1.0.3
4961   - dev: false
4962 5215  
4963 5216 /has-value@0.3.1:
4964 5217 resolution: {integrity: sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q==}
... ... @@ -5224,6 +5477,15 @@ packages:
5224 5477 resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==}
5225 5478 dev: true
5226 5479  
  5480 + /internal-slot@1.0.5:
  5481 + resolution: {integrity: sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==}
  5482 + engines: {node: '>= 0.4'}
  5483 + dependencies:
  5484 + get-intrinsic: 1.2.0
  5485 + has: 1.0.3
  5486 + side-channel: 1.0.4
  5487 + dev: true
  5488 +
5227 5489 /intro.js@7.0.1:
5228 5490 resolution: {integrity: sha512-1oqz6aOz9cGQ3CrtVYhCSo6AkjnXUn302kcIWLaZ3TI4kKssRXDwDSz4VRoGcfC1jN+WfaSJXRBrITz+QVEBzg==}
5229 5491 dev: false
... ... @@ -5250,16 +5512,38 @@ packages:
5250 5512 kind-of: 6.0.3
5251 5513 dev: true
5252 5514  
  5515 + /is-array-buffer@3.0.2:
  5516 + resolution: {integrity: sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==}
  5517 + dependencies:
  5518 + call-bind: 1.0.2
  5519 + get-intrinsic: 1.2.0
  5520 + is-typed-array: 1.1.10
  5521 + dev: true
  5522 +
5253 5523 /is-arrayish@0.2.1:
5254 5524 resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==}
5255 5525 dev: true
5256 5526  
  5527 + /is-bigint@1.0.4:
  5528 + resolution: {integrity: sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==}
  5529 + dependencies:
  5530 + has-bigints: 1.0.2
  5531 + dev: true
  5532 +
5257 5533 /is-binary-path@2.1.0:
5258 5534 resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}
5259 5535 engines: {node: '>=8'}
5260 5536 dependencies:
5261 5537 binary-extensions: 2.2.0
5262 5538  
  5539 + /is-boolean-object@1.1.2:
  5540 + resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==}
  5541 + engines: {node: '>= 0.4'}
  5542 + dependencies:
  5543 + call-bind: 1.0.2
  5544 + has-tostringtag: 1.0.0
  5545 + dev: true
  5546 +
5263 5547 /is-buffer@1.1.6:
5264 5548 resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==}
5265 5549 dev: true
... ... @@ -5271,6 +5555,11 @@ packages:
5271 5555 builtin-modules: 3.3.0
5272 5556 dev: true
5273 5557  
  5558 + /is-callable@1.2.7:
  5559 + resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==}
  5560 + engines: {node: '>= 0.4'}
  5561 + dev: true
  5562 +
5274 5563 /is-core-module@2.11.0:
5275 5564 resolution: {integrity: sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==}
5276 5565 dependencies:
... ... @@ -5290,6 +5579,13 @@ packages:
5290 5579 kind-of: 6.0.3
5291 5580 dev: true
5292 5581  
  5582 + /is-date-object@1.0.5:
  5583 + resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==}
  5584 + engines: {node: '>= 0.4'}
  5585 + dependencies:
  5586 + has-tostringtag: 1.0.0
  5587 + dev: true
  5588 +
5293 5589 /is-descriptor@0.1.6:
5294 5590 resolution: {integrity: sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==}
5295 5591 engines: {node: '>=0.10.0'}
... ... @@ -5356,6 +5652,18 @@ packages:
5356 5652 resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==}
5357 5653 dev: true
5358 5654  
  5655 + /is-negative-zero@2.0.2:
  5656 + resolution: {integrity: sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==}
  5657 + engines: {node: '>= 0.4'}
  5658 + dev: true
  5659 +
  5660 + /is-number-object@1.0.7:
  5661 + resolution: {integrity: sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==}
  5662 + engines: {node: '>= 0.4'}
  5663 + dependencies:
  5664 + has-tostringtag: 1.0.0
  5665 + dev: true
  5666 +
5359 5667 /is-number@3.0.0:
5360 5668 resolution: {integrity: sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==}
5361 5669 engines: {node: '>=0.10.0'}
... ... @@ -5408,6 +5716,20 @@ packages:
5408 5716 '@types/estree': 1.0.0
5409 5717 dev: true
5410 5718  
  5719 + /is-regex@1.1.4:
  5720 + resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==}
  5721 + engines: {node: '>= 0.4'}
  5722 + dependencies:
  5723 + call-bind: 1.0.2
  5724 + has-tostringtag: 1.0.0
  5725 + dev: true
  5726 +
  5727 + /is-shared-array-buffer@1.0.2:
  5728 + resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==}
  5729 + dependencies:
  5730 + call-bind: 1.0.2
  5731 + dev: true
  5732 +
5411 5733 /is-stream@2.0.1:
5412 5734 resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==}
5413 5735 engines: {node: '>=8'}
... ... @@ -5418,6 +5740,20 @@ packages:
5418 5740 engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
5419 5741 dev: true
5420 5742  
  5743 + /is-string@1.0.7:
  5744 + resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==}
  5745 + engines: {node: '>= 0.4'}
  5746 + dependencies:
  5747 + has-tostringtag: 1.0.0
  5748 + dev: true
  5749 +
  5750 + /is-symbol@1.0.4:
  5751 + resolution: {integrity: sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==}
  5752 + engines: {node: '>= 0.4'}
  5753 + dependencies:
  5754 + has-symbols: 1.0.3
  5755 + dev: true
  5756 +
5421 5757 /is-text-path@1.0.1:
5422 5758 resolution: {integrity: sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w==}
5423 5759 engines: {node: '>=0.10.0'}
... ... @@ -5425,6 +5761,23 @@ packages:
5425 5761 text-extensions: 1.9.0
5426 5762 dev: true
5427 5763  
  5764 + /is-typed-array@1.1.10:
  5765 + resolution: {integrity: sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==}
  5766 + engines: {node: '>= 0.4'}
  5767 + dependencies:
  5768 + available-typed-arrays: 1.0.5
  5769 + call-bind: 1.0.2
  5770 + for-each: 0.3.3
  5771 + gopd: 1.0.1
  5772 + has-tostringtag: 1.0.0
  5773 + dev: true
  5774 +
  5775 + /is-weakref@1.0.2:
  5776 + resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==}
  5777 + dependencies:
  5778 + call-bind: 1.0.2
  5779 + dev: true
  5780 +
5428 5781 /is-what@3.14.1:
5429 5782 resolution: {integrity: sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==}
5430 5783  
... ... @@ -6596,6 +6949,11 @@ packages:
6596 6949 /object-inspect@1.12.3:
6597 6950 resolution: {integrity: sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==}
6598 6951  
  6952 + /object-keys@1.1.1:
  6953 + resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==}
  6954 + engines: {node: '>= 0.4'}
  6955 + dev: true
  6956 +
6599 6957 /object-visit@1.0.1:
6600 6958 resolution: {integrity: sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA==}
6601 6959 engines: {node: '>=0.10.0'}
... ... @@ -6603,6 +6961,16 @@ packages:
6603 6961 isobject: 3.0.1
6604 6962 dev: true
6605 6963  
  6964 + /object.assign@4.1.4:
  6965 + resolution: {integrity: sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==}
  6966 + engines: {node: '>= 0.4'}
  6967 + dependencies:
  6968 + call-bind: 1.0.2
  6969 + define-properties: 1.2.0
  6970 + has-symbols: 1.0.3
  6971 + object-keys: 1.1.1
  6972 + dev: true
  6973 +
6606 6974 /object.pick@1.3.0:
6607 6975 resolution: {integrity: sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==}
6608 6976 engines: {node: '>=0.10.0'}
... ... @@ -6610,6 +6978,15 @@ packages:
6610 6978 isobject: 3.0.1
6611 6979 dev: true
6612 6980  
  6981 + /object.values@1.1.6:
  6982 + resolution: {integrity: sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==}
  6983 + engines: {node: '>= 0.4'}
  6984 + dependencies:
  6985 + call-bind: 1.0.2
  6986 + define-properties: 1.2.0
  6987 + es-abstract: 1.21.2
  6988 + dev: true
  6989 +
6613 6990 /ofetch@1.0.1:
6614 6991 resolution: {integrity: sha512-icBz2JYfEpt+wZz1FRoGcrMigjNKjzvufE26m9+yUiacRQRHwnNlGRPiDnW4op7WX/MR6aniwS8xw8jyVelF2g==}
6615 6992 dependencies:
... ... @@ -7404,6 +7781,15 @@ packages:
7404 7781 safe-regex: 1.1.0
7405 7782 dev: true
7406 7783  
  7784 + /regexp.prototype.flags@1.4.3:
  7785 + resolution: {integrity: sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==}
  7786 + engines: {node: '>= 0.4'}
  7787 + dependencies:
  7788 + call-bind: 1.0.2
  7789 + define-properties: 1.2.0
  7790 + functions-have-names: 1.2.3
  7791 + dev: true
  7792 +
7407 7793 /relateurl@0.2.7:
7408 7794 resolution: {integrity: sha512-G08Dxvm4iDN3MLM0EsP62EDV9IuhXPR6blNz6Utcp7zyV3tr4HVNINt6MpaRWbxoOHT3Q7YN2P+jaHX8vUbgog==}
7409 7795 engines: {node: '>= 0.10'}
... ... @@ -7614,6 +8000,14 @@ packages:
7614 8000 /safe-buffer@5.2.1:
7615 8001 resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==}
7616 8002  
  8003 + /safe-regex-test@1.0.0:
  8004 + resolution: {integrity: sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==}
  8005 + dependencies:
  8006 + call-bind: 1.0.2
  8007 + get-intrinsic: 1.2.0
  8008 + is-regex: 1.1.4
  8009 + dev: true
  8010 +
7617 8011 /safe-regex@1.1.0:
7618 8012 resolution: {integrity: sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg==}
7619 8013 dependencies:
... ... @@ -7736,7 +8130,6 @@ packages:
7736 8130 call-bind: 1.0.2
7737 8131 get-intrinsic: 1.2.0
7738 8132 object-inspect: 1.12.3
7739   - dev: false
7740 8133  
7741 8134 /sigmund@1.0.1:
7742 8135 resolution: {integrity: sha512-fCvEXfh6NWpm+YSuY2bpXb/VIihqWA6hLsgboC+0nl71Q7N7o2eaCW8mJa/NLvQhs6jpd3VZV4UiUQlV6+lc8g==}
... ... @@ -8028,6 +8421,31 @@ packages:
8028 8421 strip-ansi: 7.0.1
8029 8422 dev: true
8030 8423  
  8424 + /string.prototype.trim@1.2.7:
  8425 + resolution: {integrity: sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==}
  8426 + engines: {node: '>= 0.4'}
  8427 + dependencies:
  8428 + call-bind: 1.0.2
  8429 + define-properties: 1.2.0
  8430 + es-abstract: 1.21.2
  8431 + dev: true
  8432 +
  8433 + /string.prototype.trimend@1.0.6:
  8434 + resolution: {integrity: sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==}
  8435 + dependencies:
  8436 + call-bind: 1.0.2
  8437 + define-properties: 1.2.0
  8438 + es-abstract: 1.21.2
  8439 + dev: true
  8440 +
  8441 + /string.prototype.trimstart@1.0.6:
  8442 + resolution: {integrity: sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==}
  8443 + dependencies:
  8444 + call-bind: 1.0.2
  8445 + define-properties: 1.2.0
  8446 + es-abstract: 1.21.2
  8447 + dev: true
  8448 +
8031 8449 /string_decoder@0.10.31:
8032 8450 resolution: {integrity: sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==}
8033 8451 dev: true
... ... @@ -8588,6 +9006,15 @@ packages:
8588 9006 yn: 3.1.1
8589 9007 dev: true
8590 9008  
  9009 + /tsconfig-paths@3.14.2:
  9010 + resolution: {integrity: sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==}
  9011 + dependencies:
  9012 + '@types/json5': 0.0.29
  9013 + json5: 1.0.2
  9014 + minimist: 1.2.8
  9015 + strip-bom: 3.0.0
  9016 + dev: true
  9017 +
8591 9018 /tsconfig-paths@4.2.0:
8592 9019 resolution: {integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==}
8593 9020 engines: {node: '>=6'}
... ... @@ -8783,6 +9210,14 @@ packages:
8783 9210 mime-types: 2.1.35
8784 9211 dev: false
8785 9212  
  9213 + /typed-array-length@1.0.4:
  9214 + resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==}
  9215 + dependencies:
  9216 + call-bind: 1.0.2
  9217 + for-each: 0.3.3
  9218 + is-typed-array: 1.1.10
  9219 + dev: true
  9220 +
8786 9221 /typescript@4.8.4:
8787 9222 resolution: {integrity: sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==}
8788 9223 engines: {node: '>=4.2.0'}
... ... @@ -8798,6 +9233,15 @@ packages:
8798 9233 resolution: {integrity: sha512-MvlCc4GHrmZdAllBc0iUDowff36Q9Ndw/UzqmEKyrfSzokTd9ZCy1i+IIk5hrYKkjoYVQyNbrw7/F8XJ2rEwTg==}
8799 9234 dev: true
8800 9235  
  9236 + /unbox-primitive@1.0.2:
  9237 + resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==}
  9238 + dependencies:
  9239 + call-bind: 1.0.2
  9240 + has-bigints: 1.0.2
  9241 + has-symbols: 1.0.3
  9242 + which-boxed-primitive: 1.0.2
  9243 + dev: true
  9244 +
8801 9245 /unbuild@1.2.0:
8802 9246 resolution: {integrity: sha512-GcolNMBatav7FbRdLDR8BMbnYWMoKfxXdJIHibpBtx3GERN4GbbUD5h4RfGIFi+mjWPz4AphSz5gIg9FWNWw3Q==}
8803 9247 hasBin: true
... ... @@ -9349,10 +9793,32 @@ packages:
9349 9793 webidl-conversions: 4.0.2
9350 9794 dev: true
9351 9795  
  9796 + /which-boxed-primitive@1.0.2:
  9797 + resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==}
  9798 + dependencies:
  9799 + is-bigint: 1.0.4
  9800 + is-boolean-object: 1.1.2
  9801 + is-number-object: 1.0.7
  9802 + is-string: 1.0.7
  9803 + is-symbol: 1.0.4
  9804 + dev: true
  9805 +
9352 9806 /which-module@2.0.0:
9353 9807 resolution: {integrity: sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q==}
9354 9808 dev: false
9355 9809  
  9810 + /which-typed-array@1.1.9:
  9811 + resolution: {integrity: sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==}
  9812 + engines: {node: '>= 0.4'}
  9813 + dependencies:
  9814 + available-typed-arrays: 1.0.5
  9815 + call-bind: 1.0.2
  9816 + for-each: 0.3.3
  9817 + gopd: 1.0.1
  9818 + has-tostringtag: 1.0.0
  9819 + is-typed-array: 1.1.10
  9820 + dev: true
  9821 +
9356 9822 /which@1.3.1:
9357 9823 resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==}
9358 9824 hasBin: true
... ...
src/api/demo/select.ts
1 1 import { defHttp } from '/@/utils/http/axios';
2 2 import { DemoOptionsItem, selectParams } from './model/optionsModel';
  3 +
3 4 enum Api {
4 5 OPTIONS_LIST = '/select/getDemoOptions',
5 6 }
... ...
src/api/sys/model/menuModel.ts
1 1 import type { RouteMeta } from 'vue-router';
  2 +
2 3 export interface RouteItem {
3 4 path: string;
4 5 component: any;
... ...
src/components/Drawer/src/props.ts
1 1 import type { PropType } from 'vue';
2 2  
3 3 import { useI18n } from '/@/hooks/web/useI18n';
  4 +
4 5 const { t } = useI18n();
5 6  
6 7 export const footerProps = {
... ...
src/components/Form/src/hooks/useAdvanced.ts
1 1 import type { ColEx } from '../types';
2 2 import type { AdvanceState } from '../types/hooks';
3   -import { ComputedRef, getCurrentInstance, Ref, shallowReactive } from 'vue';
  3 +import { ComputedRef, getCurrentInstance, Ref, shallowReactive, computed, unref, watch } from 'vue';
4 4 import type { FormProps, FormSchema } from '../types/form';
5   -import { computed, unref, watch } from 'vue';
6 5 import { isBoolean, isFunction, isNumber, isObject } from '/@/utils/is';
7 6 import { useBreakpoint } from '/@/hooks/event/useBreakpoint';
8 7 import { useDebounceFn } from '@vueuse/core';
... ...
src/components/Form/src/types/form.ts
1 1 import type { NamePath, RuleObject } from 'ant-design-vue/lib/form/interface';
2   -import type { VNode } from 'vue';
  2 +import type { VNode, CSSProperties } from 'vue';
3 3 import type { ButtonProps as AntdButtonProps } from '/@/components/Button';
4 4 import type { FormItem } from './formItem';
5 5 import type { ColEx, ComponentType } from './index';
6 6 import type { TableActionType } from '/@/components/Table/src/types/table';
7   -import type { CSSProperties } from 'vue';
8 7 import type { RowProps } from 'ant-design-vue/lib/grid/Row';
9 8  
10 9 export type FieldMapToTime = [string, [string, string], (string | [string, string])?][];
... ...
src/components/Loading/src/createLoading.ts
1   -import { VNode, defineComponent } from 'vue';
  1 +import { VNode, defineComponent, createVNode, render, reactive, h } from 'vue';
2 2 import type { LoadingProps } from './typing';
3 3  
4   -import { createVNode, render, reactive, h } from 'vue';
5 4 import Loading from './Loading.vue';
6 5  
7 6 export function createLoading(props?: Partial<LoadingProps>, target?: HTMLElement, wait = false) {
... ...
src/components/Markdown/src/typing.ts
1 1 import Vditor from 'vditor';
  2 +
2 3 export interface MarkDownActionType {
3 4 getVditor: () => Vditor;
4 5 }
... ...
src/components/Menu/src/props.ts
... ... @@ -6,6 +6,7 @@ import { ThemeEnum } from &#39;/@/enums/appEnum&#39;;
6 6 import { propTypes } from '/@/utils/propTypes';
7 7 import type { MenuTheme } from 'ant-design-vue';
8 8 import type { MenuMode } from 'ant-design-vue/lib/menu/src/interface';
  9 +
9 10 export const basicProps = {
10 11 items: {
11 12 type: Array as PropType<Menu[]>,
... ...
src/components/Menu/src/useOpenKeys.ts
... ... @@ -2,9 +2,8 @@ import { MenuModeEnum } from &#39;/@/enums/menuEnum&#39;;
2 2 import type { Menu as MenuType } from '/@/router/types';
3 3 import type { MenuState } from './types';
4 4  
5   -import { computed, Ref, toRaw } from 'vue';
  5 +import { computed, Ref, toRaw, unref } from 'vue';
6 6  
7   -import { unref } from 'vue';
8 7 import { uniq } from 'lodash-es';
9 8 import { useMenuSetting } from '/@/hooks/setting/useMenuSetting';
10 9 import { getAllParentPath } from '/@/router/helper/menuHelper';
... ...
src/components/Modal/src/hooks/useModal.ts
... ... @@ -14,13 +14,13 @@ import {
14 14 watchEffect,
15 15 nextTick,
16 16 toRaw,
  17 + computed,
17 18 } from 'vue';
18 19 import { isProdMode } from '/@/utils/env';
19 20 import { isFunction } from '/@/utils/is';
20 21 import { isEqual } from 'lodash-es';
21 22 import { tryOnUnmounted } from '@vueuse/core';
22 23 import { error } from '/@/utils/log';
23   -import { computed } from 'vue';
24 24  
25 25 const dataTransfer = reactive<any>({});
26 26  
... ...
src/components/Qrcode/src/drawLogo.ts
1 1 import { isString } from '/@/utils/is';
2 2 import { RenderQrCodeParams, LogoType } from './typing';
  3 +
3 4 export const drawLogo = ({ canvas, logo }: RenderQrCodeParams) => {
4 5 if (!logo) {
5 6 return new Promise((resolve) => {
... ...
src/components/Qrcode/src/qrcodePlus.ts
1 1 // 参考 qr-code-with-logo 进行ts版本修改
2 2 import { toCanvas } from './toCanvas';
  3 +
3 4 export * from './typing';
4 5 export { toCanvas };
... ...
src/components/Qrcode/src/toCanvas.ts
1 1 import { renderQrCode } from './drawCanvas';
2 2 import { drawLogo } from './drawLogo';
3 3 import { RenderQrCodeParams } from './typing';
  4 +
4 5 export const toCanvas = (options: RenderQrCodeParams) => {
5 6 return renderQrCode(options)
6 7 .then(() => {
... ...
src/components/Scrollbar/src/util.ts
1 1 import type { BarMap } from './types';
  2 +
2 3 export const BAR_MAP: BarMap = {
3 4 vertical: {
4 5 offset: 'offsetHeight',
... ...
src/components/SimpleMenu/src/useOpenKeys.ts
1 1 import type { Menu as MenuType } from '/@/router/types';
2 2 import type { MenuState } from './types';
3 3  
4   -import { computed, Ref, toRaw } from 'vue';
  4 +import { computed, Ref, toRaw, unref } from 'vue';
5 5  
6   -import { unref } from 'vue';
7 6 import { uniq } from 'lodash-es';
8 7 import { getAllParentPath } from '/@/router/helper/menuHelper';
9 8  
... ...
src/components/Table/src/hooks/useTableScroll.ts
1 1 import type { BasicTableProps, TableRowSelection, BasicColumn } from '../types/table';
2   -import { Ref, ComputedRef, ref } from 'vue';
3   -import { computed, unref, nextTick, watch } from 'vue';
  2 +import { Ref, ComputedRef, ref, computed, unref, nextTick, watch } from 'vue';
4 3 import { getViewportOffset } from '/@/utils/domUtils';
5 4 import { isBoolean } from '/@/utils/is';
6 5 import { useWindowSizeFn } from '/@/hooks/event/useWindowSizeFn';
... ...
src/components/Table/src/types/tableAction.ts
1 1 import { ButtonProps } from 'ant-design-vue/es/button/buttonTypes';
2 2 import { TooltipProps } from 'ant-design-vue/es/tooltip/Tooltip';
3 3 import { RoleEnum } from '/@/enums/roleEnum';
  4 +
4 5 export interface ActionItem extends ButtonProps {
5 6 onClick?: Fn;
6 7 label?: string;
... ...
src/components/Upload/src/useUpload.ts
1 1 import { Ref, unref, computed } from 'vue';
2 2 import { useI18n } from '/@/hooks/web/useI18n';
  3 +
3 4 const { t } = useI18n();
4 5 export function useUploadType({
5 6 acceptRef,
... ...
src/components/VxeTable/src/VxeBasicTable.tsx
1   -import { defineComponent } from 'vue';
2   -import { computed, ref } from 'vue';
  1 +import { defineComponent, computed, ref } from 'vue';
3 2 import { BasicTableProps } from './types';
4 3 import { basicProps } from './props';
5 4 import { ignorePropKeys } from './const';
... ...
src/directives/ripple/index.ts
1 1 import type { Directive } from 'vue';
2 2 import './index.less';
  3 +
3 4 export interface RippleOptions {
4 5 event: string;
5 6 transition: number;
... ...
src/hooks/core/useAttrs.ts
1 1 import { getCurrentInstance, reactive, shallowRef, watchEffect } from 'vue';
2 2 import type { Ref } from 'vue';
  3 +
3 4 interface Params {
4 5 excludeListeners?: boolean;
5 6 excludeKeys?: string[];
... ...
src/hooks/web/useContextMenu.ts
1 1 import { onUnmounted, getCurrentInstance } from 'vue';
2 2 import { createContextMenu, destroyContextMenu } from '/@/components/ContextMenu';
3 3 import type { ContextMenuItem } from '/@/components/ContextMenu';
  4 +
4 5 export type { ContextMenuItem };
5 6 export function useContextMenu(authRemove = true) {
6 7 if (getCurrentInstance() && authRemove) {
... ...
src/hooks/web/useCopyToClipboard.ts
1 1 import { ref, watch } from 'vue';
2 2  
3 3 import { isDef } from '/@/utils/is';
  4 +
4 5 interface Options {
5 6 target?: HTMLElement;
6 7 }
... ...
src/hooks/web/useECharts.ts
1 1 import type { EChartsOption } from 'echarts';
2 2 import type { Ref } from 'vue';
3 3 import { useTimeoutFn } from '/@/hooks/core/useTimeout';
4   -import { tryOnUnmounted } from '@vueuse/core';
  4 +import { tryOnUnmounted, useDebounceFn } from '@vueuse/core';
5 5 import { unref, nextTick, watch, computed, ref } from 'vue';
6   -import { useDebounceFn } from '@vueuse/core';
7 6 import { useEventListener } from '/@/hooks/event/useEventListener';
8 7 import { useBreakpoint } from '/@/hooks/event/useBreakpoint';
9 8 import echarts from '/@/utils/lib/echarts';
... ...
src/router/routes/modules/demo/iframe.ts
1 1 import type { AppRouteModule } from '/@/router/types';
2 2  
3 3 import { LAYOUT } from '/@/router/constant';
4   -const IFrame = () => import('/@/views/sys/iframe/FrameBlank.vue');
5 4 import { t } from '/@/hooks/web/useI18n';
6 5  
  6 +const IFrame = () => import('/@/views/sys/iframe/FrameBlank.vue');
  7 +
7 8 const iframe: AppRouteModule = {
8 9 path: '/frame',
9 10 name: 'Frame',
... ...
src/settings/projectSetting.ts
... ... @@ -10,6 +10,7 @@ import {
10 10 SessionTimeoutProcessingEnum,
11 11 } from '/@/enums/appEnum';
12 12 import { SIDE_BAR_BG_COLOR_LIST, HEADER_PRESET_BG_COLOR_LIST } from './designSetting';
  13 +
13 14 const primaryColor = '#0960bd';
14 15  
15 16 // ! You need to clear the browser cache after the change
... ...
src/utils/auth/index.ts
1 1 import { Persistent, BasicKeys } from '/@/utils/cache/persistent';
2   -import { CacheTypeEnum } from '/@/enums/cacheEnum';
  2 +import { CacheTypeEnum, TOKEN_KEY } from '/@/enums/cacheEnum';
3 3 import projectSetting from '/@/settings/projectSetting';
4   -import { TOKEN_KEY } from '/@/enums/cacheEnum';
5 4  
6 5 const { permissionCacheType } = projectSetting;
7 6 const isLocal = permissionCacheType === CacheTypeEnum.LOCAL;
... ...
src/utils/cache/index.ts
1 1 import { getStorageShortName } from '/@/utils/env';
2 2 import { createStorage as create, CreateStorageParams } from './storageCache';
3   -import { enableStorageEncryption } from '/@/settings/encryptionSetting';
4   -import { DEFAULT_CACHE_TIME } from '/@/settings/encryptionSetting';
  3 +import { enableStorageEncryption, DEFAULT_CACHE_TIME } from '/@/settings/encryptionSetting';
5 4  
6 5 export type Options = Partial<CreateStorageParams>;
7 6  
... ...
src/utils/cipher.ts
1 1 import { encrypt, decrypt } from 'crypto-js/aes';
2   -import { parse } from 'crypto-js/enc-utf8';
  2 +import UTF8, { parse } from 'crypto-js/enc-utf8';
3 3 import pkcs7 from 'crypto-js/pad-pkcs7';
4 4 import ECB from 'crypto-js/mode-ecb';
5 5 import md5 from 'crypto-js/md5';
6   -import UTF8 from 'crypto-js/enc-utf8';
7 6 import Base64 from 'crypto-js/enc-base64';
8 7  
9 8 export interface EncryptionParams {
... ...
src/utils/http/axios/Axios.ts
... ... @@ -6,8 +6,7 @@ import qs from &#39;qs&#39;;
6 6 import { AxiosCanceler } from './axiosCancel';
7 7 import { isFunction } from '/@/utils/is';
8 8 import { cloneDeep } from 'lodash-es';
9   -import { ContentTypeEnum } from '/@/enums/httpEnum';
10   -import { RequestEnum } from '/@/enums/httpEnum';
  9 +import { ContentTypeEnum, RequestEnum } from '/@/enums/httpEnum';
11 10  
12 11 export * from './axiosTransform';
13 12  
... ...
src/views/demo/page/form/basic/data.ts
1 1 import { FormSchema } from '/@/components/Form';
  2 +
2 3 const colProps = {
3 4 span: 8,
4 5 };
... ...
src/views/demo/system/account/account.data.ts
1 1 import { getAllRoleList, isAccountExist } from '/@/api/demo/system';
2   -import { BasicColumn } from '/@/components/Table';
3   -import { FormSchema } from '/@/components/Table';
  2 +import { BasicColumn, FormSchema } from '/@/components/Table';
4 3  
5 4 export const columns: BasicColumn[] = [
6 5 {
... ...
src/views/demo/system/dept/dept.data.ts
1   -import { BasicColumn } from '/@/components/Table';
2   -import { FormSchema } from '/@/components/Table';
  1 +import { BasicColumn, FormSchema } from '/@/components/Table';
3 2 import { h } from 'vue';
4 3 import { Tag } from 'ant-design-vue';
5 4  
... ...
src/views/demo/system/menu/menu.data.ts
1   -import { BasicColumn } from '/@/components/Table';
2   -import { FormSchema } from '/@/components/Table';
  1 +import { BasicColumn, FormSchema } from '/@/components/Table';
3 2 import { h } from 'vue';
4 3 import { Tag } from 'ant-design-vue';
5 4 import { Icon } from '/@/components/Icon';
... ...
src/views/demo/system/role/role.data.ts
1   -import { BasicColumn } from '/@/components/Table';
2   -import { FormSchema } from '/@/components/Table';
  1 +import { BasicColumn, FormSchema } from '/@/components/Table';
3 2 import { h } from 'vue';
4 3 import { Switch } from 'ant-design-vue';
5 4 import { setRoleStatus } from '/@/api/demo/system';
... ...
src/views/form-design/hooks/useFormInstanceMethods.ts
1 1 import { IAnyObject } from '../typings/base-type';
2   -import { Ref, SetupContext } from 'vue';
  2 +import { Ref, SetupContext, getCurrentInstance, toRaw } from 'vue';
3 3 import { cloneDeep, forOwn, isFunction } from 'lodash-es';
4 4 import { AForm, IVFormComponent } from '../typings/v-form-component';
5   -import { getCurrentInstance } from 'vue';
6 5 import { Form } from 'ant-design-vue';
7   -import { toRaw } from 'vue';
8 6  
9 7 export function useFormInstanceMethods(
10 8 props: IAnyObject,
... ...
src/views/form-design/typings/v-form-component.ts
... ... @@ -8,6 +8,7 @@ import { SelectValue } from &#39;ant-design-vue/lib/select&#39;;
8 8 import { validateOptions } from 'ant-design-vue/lib/form/useForm';
9 9 import { RuleError } from 'ant-design-vue/lib/form/interface';
10 10 import { FormItem } from '/@/components/Form';
  11 +
11 12 type LayoutType = 'horizontal' | 'vertical' | 'inline';
12 13 type labelLayout = 'flex' | 'Grid';
13 14 export type PropsTabKey = 1 | 2 | 3;
... ...
src/views/form-design/utils/message.ts
1 1 import { useMessage } from '/@/hooks/web/useMessage';
  2 +
2 3 const { createMessage } = useMessage();
3 4 const message = Object.assign({
4 5 success: (msg: string) => {
... ...
types/module.d.ts
1 1 declare module '*.vue' {
2 2 import { DefineComponent } from 'vue';
  3 +
3 4 const Component: DefineComponent<{}, {}, any>;
4 5 export default Component;
5 6 }
6 7  
7 8 declare module 'ant-design-vue/es/locale/*' {
8 9 import { Locale } from 'ant-design-vue/types/locale-provider';
  10 +
9 11 const locale: Locale & ReadonlyRecordable;
10 12 export default locale as Locale & ReadonlyRecordable;
11 13 }
... ...