perf: Improve the use of store in the app

This commit is contained in:
vince
2024-07-05 23:15:46 +08:00
parent ad6ae1d21d
commit 8042e2b044
39 changed files with 387 additions and 224 deletions

37
pnpm-lock.yaml generated
View File

@@ -293,8 +293,8 @@ importers:
specifier: ^2.29.1
version: 2.29.1(@typescript-eslint/parser@7.15.0(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)
eslint-plugin-jsdoc:
specifier: ^48.5.0
version: 48.5.0(eslint@8.57.0)
specifier: ^48.5.2
version: 48.5.2(eslint@8.57.0)
eslint-plugin-jsonc:
specifier: ^2.16.0
version: 2.16.0(eslint@8.57.0)
@@ -666,6 +666,9 @@ importers:
defu:
specifier: ^6.1.4
version: 6.1.4
lodash.clonedeep:
specifier: ^4.5.0
version: 4.5.0
nprogress:
specifier: ^0.2.0
version: 0.2.0
@@ -673,6 +676,9 @@ importers:
specifier: ^2.3.0
version: 2.3.0
devDependencies:
'@types/lodash.clonedeep':
specifier: ^4.5.9
version: 4.5.9
'@types/nprogress':
specifier: ^0.2.3
version: 0.2.3
@@ -888,6 +894,9 @@ importers:
'@vben-core/shadcn-ui':
specifier: workspace:*
version: link:../../@core/ui-kit/shadcn-ui
'@vben/constants':
specifier: workspace:*
version: link:../../constants
'@vben/locales':
specifier: workspace:*
version: link:../../locales
@@ -3051,7 +3060,6 @@ packages:
'@ls-lint/ls-lint@2.2.3':
resolution: {integrity: sha512-ekM12jNm/7O2I/hsRv9HvYkRdfrHpiV1epVuI2NP+eTIcEgdIdKkKCs9KgQydu/8R5YXTov9aHdOgplmCHLupw==}
cpu: [x64, arm64, s390x]
os: [darwin, linux, win32]
hasBin: true
@@ -3559,6 +3567,12 @@ packages:
'@types/linkify-it@5.0.0':
resolution: {integrity: sha512-sVDA58zAw4eWAffKOaQH5/5j3XeayukzDk+ewSsnv3p4yJEZHCCzMDiZM8e0OUrRvmpGZ85jf4yDHkHsgBNr9Q==}
'@types/lodash.clonedeep@4.5.9':
resolution: {integrity: sha512-19429mWC+FyaAhOLzsS8kZUsI+/GmBAQ0HFiCPsKGU+7pBXOQWhyrY6xNNDwUSX8SMZMJvuFVMF9O5dQOlQK9Q==}
'@types/lodash@4.17.6':
resolution: {integrity: sha512-OpXEVoCKSS3lQqjx9GGGOapBeuW5eUboYHRlHP9urXPX25IKZ6AnP5ZRxtVf63iieUbsHxLn8NQ5Nlftc6yzAA==}
'@types/markdown-it@14.1.1':
resolution: {integrity: sha512-4NpsnpYl2Gt1ljyBGrKMxFYAYvpqbnnkgP/i/g+NLpjEUa3obn1XJCur9YbEXKDAkaXqsR1LbDnGEJ0MmKFxfg==}
@@ -5226,8 +5240,8 @@ packages:
peerDependencies:
eslint: ^7.2.0 || ^8
eslint-plugin-jsdoc@48.5.0:
resolution: {integrity: sha512-ukXPNpGby3KjCveCizIS8t1EbuJEHYEu/tBg8GCbn/YbHcXwphyvYCdvRZ/oMRfTscGSSzfsWoZ+ZkAP0/6YMQ==}
eslint-plugin-jsdoc@48.5.2:
resolution: {integrity: sha512-VXBJFviQz30rynlOEQ+dNWLmeopjoAgutUVrWOZwm6Ki4EVDm4XkyIqAV/Zhf7FcDr0AG0aGmRn5FxxCtAF0tA==}
engines: {node: '>=18'}
peerDependencies:
eslint: ^7.0.0 || ^8.0.0 || ^9.0.0
@@ -6436,6 +6450,9 @@ packages:
lodash.castarray@4.4.0:
resolution: {integrity: sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q==}
lodash.clonedeep@4.5.0:
resolution: {integrity: sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==}
lodash.debounce@4.0.8:
resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==}
@@ -12265,6 +12282,12 @@ snapshots:
'@types/linkify-it@5.0.0': {}
'@types/lodash.clonedeep@4.5.9':
dependencies:
'@types/lodash': 4.17.6
'@types/lodash@4.17.6': {}
'@types/markdown-it@14.1.1':
dependencies:
'@types/linkify-it': 5.0.0
@@ -14271,7 +14294,7 @@ snapshots:
- eslint-import-resolver-webpack
- supports-color
eslint-plugin-jsdoc@48.5.0(eslint@8.57.0):
eslint-plugin-jsdoc@48.5.2(eslint@8.57.0):
dependencies:
'@es-joy/jsdoccomment': 0.43.1
are-docs-informative: 0.0.2
@@ -15647,6 +15670,8 @@ snapshots:
lodash.castarray@4.4.0: {}
lodash.clonedeep@4.5.0: {}
lodash.debounce@4.0.8: {}
lodash.get@4.4.2: {}