fix: fix the preference problem,close #8, close #9

This commit is contained in:
vince
2024-07-04 22:14:51 +08:00
parent 51f682a726
commit 53d37ee882
14 changed files with 77 additions and 314 deletions

120
pnpm-lock.yaml generated
View File

@@ -88,7 +88,7 @@ importers:
version: 5.5.3
unbuild:
specifier: ^2.0.0
version: 2.0.0(sass@1.77.6)(typescript@5.5.3)(vue-tsc@2.0.24(typescript@5.5.3))
version: 2.0.0(sass@1.77.6)(typescript@5.5.3)(vue-tsc@2.0.26(typescript@5.5.3))
vite:
specifier: ^5.3.3
version: 5.3.3(@types/node@20.14.9)(sass@1.77.6)(terser@5.31.1)
@@ -96,8 +96,8 @@ importers:
specifier: ^2.0.0-beta.12
version: 2.0.0-beta.12(@types/node@20.14.9)(jsdom@24.1.0)(sass@1.77.6)(terser@5.31.1)
vue-tsc:
specifier: ^2.0.24
version: 2.0.24(typescript@5.5.3)
specifier: ^2.0.26
version: 2.0.26(typescript@5.5.3)
apps/backend-mock:
dependencies:
@@ -432,8 +432,8 @@ importers:
internal/tailwind-config:
dependencies:
'@iconify/json':
specifier: ^2.2.224
version: 2.2.224
specifier: ^2.2.225
version: 2.2.225
'@iconify/tailwind':
specifier: ^1.1.1
version: 1.1.1
@@ -755,8 +755,8 @@ importers:
specifier: ^0.7.0
version: 0.7.0
radix-vue:
specifier: ^1.8.5
version: 1.8.5(vue@3.4.31(typescript@5.5.3))
specifier: ^1.9.0
version: 1.9.0(vue@3.4.31(typescript@5.5.3))
vue:
specifier: ^3.4.31
version: 3.4.31(typescript@5.5.3)
@@ -2951,14 +2951,14 @@ packages:
'@floating-ui/core@1.6.2':
resolution: {integrity: sha512-+2XpQV9LLZeanU4ZevzRnGFg2neDeKHgFLjP6YLW+tly0IvrhqT4u8enLGjLH3qeh85g19xY5rsAusfwTdn5lg==}
'@floating-ui/dom@1.6.5':
resolution: {integrity: sha512-Nsdud2X65Dz+1RHjAIP0t8z5e2ff/IRbei6BqFrl1urT8sDVzM1HMQ+R0XcU5ceRfyO3I6ayeqIfh+6Wb8LGTw==}
'@floating-ui/dom@1.6.7':
resolution: {integrity: sha512-wmVfPG5o2xnKDU4jx/m4w5qva9FWHcnZ8BvzEe90D/RpwsJaTAVYPEPdQ8sbr/N8zZTAHlZUTQdqg8ZUbzHmng==}
'@floating-ui/utils@0.2.2':
resolution: {integrity: sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw==}
'@floating-ui/utils@0.2.4':
resolution: {integrity: sha512-dWO2pw8hhi+WrXq1YJy2yCuWoL20PddgGaqTgVe4cOS9Q6qklXCiA1tJEqX6BEwRNSCP84/afac9hd4MS+zEUA==}
'@floating-ui/vue@1.0.6':
resolution: {integrity: sha512-EdrOljjkpkkqZnrpqUcPoz9NvHxuTjUtSInh6GMv3+Mcy+giY2cE2pHh9rpacRcZ2eMSCxel9jWkWXTjLmY55w==}
'@floating-ui/vue@1.1.1':
resolution: {integrity: sha512-cyawjk9etPZPl/RVtMRnWrwtAhWbPVSrRVYARgOzhLIqxr0k2up1APrrFjqP9QwRQ0AwjKSvbWg4YC6jESutow==}
'@gar/promisify@1.1.3':
resolution: {integrity: sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==}
@@ -2982,8 +2982,8 @@ packages:
resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==}
deprecated: Use @eslint/object-schema instead
'@iconify/json@2.2.224':
resolution: {integrity: sha512-VK7nFjtxUeyp+K311SbbeU8cxlZifiUWh0yYaXks4Sj0DTzubKTDMzRCuTcO/QdEQ/0qwDE8m2nn5+wQjS66gQ==}
'@iconify/json@2.2.225':
resolution: {integrity: sha512-3MxzXdrxDxItlGxvTmLnbZGlvGcwuBIOofJfyobq097lysZasvsNddFguiWecmKP91nRR4I2ik7enFVQ9Lz3mg==}
'@iconify/tailwind@1.1.1':
resolution: {integrity: sha512-4mmA//qjZigv7D4KlqcVSYTqfRIJzyts2/lSCAJfCL0rVMIE76+ifJnaE5jxCo1+nYGBF8FsFo0qFOs+sX4EnA==}
@@ -3505,11 +3505,11 @@ packages:
peerDependencies:
tailwindcss: '>=3.0.0 || insiders'
'@tanstack/virtual-core@3.5.1':
resolution: {integrity: sha512-046+AUSiDru/V9pajE1du8WayvBKeCvJ2NmKPy/mR8/SbKKrqmSbj7LJBfXE+nSq4f5TBXvnCzu0kcYebI9WdQ==}
'@tanstack/virtual-core@3.8.1':
resolution: {integrity: sha512-uNtAwenT276M9QYCjTBoHZ8X3MUeCRoGK59zPi92hMIxdfS9AyHjkDWJ94WroDxnv48UE+hIeo21BU84jKc8aQ==}
'@tanstack/vue-virtual@3.5.1':
resolution: {integrity: sha512-6mc4HtDPieDVKD6GqzHiJkdzuqRNdQZuoIbkwE6af939WV+w62YmSF69jN+BOqClqh/ObiW+X1VOQx1Pftrx1A==}
'@tanstack/vue-virtual@3.8.1':
resolution: {integrity: sha512-uhty1LzUbbcVc5zdMMSUjUt/ECTlMCtK49Ww7dH2m4lNNLGYwkj5SbfrAD8uCZxV1VeV7DRMXqhwUTELyR5rrA==}
peerDependencies:
vue: ^3.4.31
@@ -3803,20 +3803,20 @@ packages:
'@volar/language-core@1.11.1':
resolution: {integrity: sha512-dOcNn3i9GgZAcJt43wuaEykSluAuOkQgzni1cuxLxTV0nJKanQztp7FxyswdRILaKH+P2XZMPRp2S4MV/pElCw==}
'@volar/language-core@2.4.0-alpha.5':
resolution: {integrity: sha512-CX+0vrNoCcO3tGZYIn7kNHug/u6+EImfbZe0tI6x/lCZc0MBJ7t9f6AKJT+mHJZ3ePhva6NVNv8mY1tNEURd5A==}
'@volar/language-core@2.4.0-alpha.15':
resolution: {integrity: sha512-mt8z4Fm2WxfQYoQHPcKVjLQV6PgPqyKLbkCVY2cr5RSaamqCHjhKEpsFX66aL4D/7oYguuaUw9Bx03Vt0TpIIA==}
'@volar/source-map@1.11.1':
resolution: {integrity: sha512-hJnOnwZ4+WT5iupLRnuzbULZ42L7BWWPMmruzwtLhJfpDVoZLjNBxHDi2sY2bgZXCKlpU5XcsMFoYrsQmPhfZg==}
'@volar/source-map@2.4.0-alpha.5':
resolution: {integrity: sha512-5OxMPGqbxaMuFXfj10k3xWwmJ2nb0b20kNaONAKxwUQxGY6nh6skX5AAFhIAbC8woplsVJpR0tAhgQR4S96VYQ==}
'@volar/source-map@2.4.0-alpha.15':
resolution: {integrity: sha512-8Htngw5TmBY4L3ClDqBGyfLhsB8EmoEXUH1xydyEtEoK0O6NX5ur4Jw8jgvscTlwzizyl/wsN1vn0cQXVbbXYg==}
'@volar/typescript@1.11.1':
resolution: {integrity: sha512-iU+t2mas/4lYierSnoFOeRFQUhAEMgsFuQxoxvwn5EdQopw43j+J27a4lt9LMInx1gLJBC6qL14WYGlgymaSMQ==}
'@volar/typescript@2.4.0-alpha.5':
resolution: {integrity: sha512-D9nzGP09afyLlsXC5rzVeLzEaMLOmW1GGPyOiuXRRGTLshX+/cp+MNsUbwUd3pih0OhRmpUFl4VHpUGA2M4iBw==}
'@volar/typescript@2.4.0-alpha.15':
resolution: {integrity: sha512-U3StRBbDuxV6Woa4hvGS4kz3XcOzrWUKgFdEFN+ba1x3eaYg7+ytau8ul05xgA+UNGLXXsKur7fTUhDFyISk0w==}
'@vue/babel-helper-vue-transform-on@1.2.2':
resolution: {integrity: sha512-nOttamHUR3YzdEqdM/XXDyCSdxMA9VizUKoroLX6yTyRtggzQMHXcmwh8a7ZErcJttIBIc9s68a1B8GZ+Dmvsw==}
@@ -3891,8 +3891,8 @@ packages:
typescript:
optional: true
'@vue/language-core@2.0.24':
resolution: {integrity: sha512-997YD6Lq/66LXr3ZOLNxDCmyn13z9NP8LU1UZn9hGCDWhzlbXAIP0hOgL3w3x4RKEaWTaaRtsHP9DzHvmduruQ==}
'@vue/language-core@2.0.26':
resolution: {integrity: sha512-/lt6SfQ3O1yDAhPsnLv9iSUgXd1dMHqUm/t3RctfqjuwQf1LnftZ414X3UBn6aXT4MiwXWtbNJ4Z0NZWwDWgJQ==}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
@@ -7873,8 +7873,8 @@ packages:
resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==}
engines: {node: '>=10'}
radix-vue@1.8.5:
resolution: {integrity: sha512-aWRa/tc5EHS2U4h8YTovRtwSMt+Sbk4QRekNTpkshCWlq353mpGBsp0ME/4seOxWn7JKze8NA3pDx/AQuH2tMw==}
radix-vue@1.9.0:
resolution: {integrity: sha512-Ds1GpB6IBhSyFePWyxDhnqA7Ymgmcxah3t5qWxamftqX/zFRkkf5RaRxzuGB8QgdbP6Q/t7scIdMEcndhFc+Tg==}
peerDependencies:
vue: ^3.4.31
@@ -9250,8 +9250,8 @@ packages:
peerDependencies:
typescript: '*'
vue-tsc@2.0.24:
resolution: {integrity: sha512-1qi4P8L7yS78A7OJ7CDDxUIZPD6nVxoQEgX3DkRZNi1HI1qOfzOJwQlNpmwkogSVD6S/XcanbW9sktzpSxz6rA==}
vue-tsc@2.0.26:
resolution: {integrity: sha512-tOhuwy2bIXbMhz82ef37qeiaQHMXKQkD6mOF6CCPl3/uYtST3l6fdNyfMxipudrQTxTfXVPlgJdMENBFfC1CfQ==}
hasBin: true
peerDependencies:
typescript: '>=5.0.0'
@@ -11625,19 +11625,19 @@ snapshots:
'@floating-ui/core@1.6.2':
dependencies:
'@floating-ui/utils': 0.2.2
'@floating-ui/utils': 0.2.4
'@floating-ui/dom@1.6.5':
'@floating-ui/dom@1.6.7':
dependencies:
'@floating-ui/core': 1.6.2
'@floating-ui/utils': 0.2.2
'@floating-ui/utils': 0.2.4
'@floating-ui/utils@0.2.2': {}
'@floating-ui/utils@0.2.4': {}
'@floating-ui/vue@1.0.6(vue@3.4.31(typescript@5.5.3))':
'@floating-ui/vue@1.1.1(vue@3.4.31(typescript@5.5.3))':
dependencies:
'@floating-ui/dom': 1.6.5
'@floating-ui/utils': 0.2.2
'@floating-ui/dom': 1.6.7
'@floating-ui/utils': 0.2.4
vue-demi: 0.14.8(vue@3.4.31(typescript@5.5.3))
transitivePeerDependencies:
- '@vue/composition-api'
@@ -11663,7 +11663,7 @@ snapshots:
'@humanwhocodes/object-schema@2.0.3': {}
'@iconify/json@2.2.224':
'@iconify/json@2.2.225':
dependencies:
'@iconify/types': 2.0.0
pathe: 1.1.2
@@ -12287,11 +12287,11 @@ snapshots:
postcss-selector-parser: 6.0.10
tailwindcss: 3.4.4(ts-node@10.9.2(@types/node@20.14.9)(typescript@5.5.3))
'@tanstack/virtual-core@3.5.1': {}
'@tanstack/virtual-core@3.8.1': {}
'@tanstack/vue-virtual@3.5.1(vue@3.4.31(typescript@5.5.3))':
'@tanstack/vue-virtual@3.8.1(vue@3.4.31(typescript@5.5.3))':
dependencies:
'@tanstack/virtual-core': 3.5.1
'@tanstack/virtual-core': 3.8.1
vue: 3.4.31(typescript@5.5.3)
'@tootallnate/once@1.1.2': {}
@@ -12644,24 +12644,24 @@ snapshots:
dependencies:
'@volar/source-map': 1.11.1
'@volar/language-core@2.4.0-alpha.5':
'@volar/language-core@2.4.0-alpha.15':
dependencies:
'@volar/source-map': 2.4.0-alpha.5
'@volar/source-map': 2.4.0-alpha.15
'@volar/source-map@1.11.1':
dependencies:
muggle-string: 0.3.1
'@volar/source-map@2.4.0-alpha.5': {}
'@volar/source-map@2.4.0-alpha.15': {}
'@volar/typescript@1.11.1':
dependencies:
'@volar/language-core': 1.11.1
path-browserify: 1.0.1
'@volar/typescript@2.4.0-alpha.5':
'@volar/typescript@2.4.0-alpha.15':
dependencies:
'@volar/language-core': 2.4.0-alpha.5
'@volar/language-core': 2.4.0-alpha.15
path-browserify: 1.0.1
vscode-uri: 3.0.8
@@ -12817,9 +12817,9 @@ snapshots:
optionalDependencies:
typescript: 5.5.3
'@vue/language-core@2.0.24(typescript@5.5.3)':
'@vue/language-core@2.0.26(typescript@5.5.3)':
dependencies:
'@volar/language-core': 2.4.0-alpha.5
'@volar/language-core': 2.4.0-alpha.15
'@vue/compiler-dom': 3.4.31
'@vue/shared': 3.4.31
computeds: 0.0.1
@@ -16130,7 +16130,7 @@ snapshots:
mkdirp@1.0.4: {}
mkdist@1.5.1(sass@1.77.6)(typescript@5.5.3)(vue-tsc@2.0.24(typescript@5.5.3)):
mkdist@1.5.1(sass@1.77.6)(typescript@5.5.3)(vue-tsc@2.0.26(typescript@5.5.3)):
dependencies:
autoprefixer: 10.4.19(postcss@8.4.39)
citty: 0.1.6
@@ -16150,7 +16150,7 @@ snapshots:
optionalDependencies:
sass: 1.77.6
typescript: 5.5.3
vue-tsc: 2.0.24(typescript@5.5.3)
vue-tsc: 2.0.26(typescript@5.5.3)
mlly@1.7.1:
dependencies:
@@ -17117,13 +17117,13 @@ snapshots:
quick-lru@5.1.1: {}
radix-vue@1.8.5(vue@3.4.31(typescript@5.5.3)):
radix-vue@1.9.0(vue@3.4.31(typescript@5.5.3)):
dependencies:
'@floating-ui/dom': 1.6.5
'@floating-ui/vue': 1.0.6(vue@3.4.31(typescript@5.5.3))
'@floating-ui/dom': 1.6.7
'@floating-ui/vue': 1.1.1(vue@3.4.31(typescript@5.5.3))
'@internationalized/date': 3.5.4
'@internationalized/number': 3.5.3
'@tanstack/vue-virtual': 3.5.1(vue@3.4.31(typescript@5.5.3))
'@tanstack/vue-virtual': 3.8.1(vue@3.4.31(typescript@5.5.3))
'@vueuse/core': 10.11.0(vue@3.4.31(typescript@5.5.3))
'@vueuse/shared': 10.11.0(vue@3.4.31(typescript@5.5.3))
aria-hidden: 1.2.4
@@ -18265,7 +18265,7 @@ snapshots:
has-symbols: 1.0.3
which-boxed-primitive: 1.0.2
unbuild@2.0.0(sass@1.77.6)(typescript@5.5.3)(vue-tsc@2.0.24(typescript@5.5.3)):
unbuild@2.0.0(sass@1.77.6)(typescript@5.5.3)(vue-tsc@2.0.26(typescript@5.5.3)):
dependencies:
'@rollup/plugin-alias': 5.1.0(rollup@3.29.4)
'@rollup/plugin-commonjs': 25.0.8(rollup@3.29.4)
@@ -18282,7 +18282,7 @@ snapshots:
hookable: 5.5.3
jiti: 1.21.6
magic-string: 0.30.10
mkdist: 1.5.1(sass@1.77.6)(typescript@5.5.3)(vue-tsc@2.0.24(typescript@5.5.3))
mkdist: 1.5.1(sass@1.77.6)(typescript@5.5.3)(vue-tsc@2.0.26(typescript@5.5.3))
mlly: 1.7.1
pathe: 1.1.2
pkg-types: 1.1.3
@@ -18714,10 +18714,10 @@ snapshots:
semver: 7.6.2
typescript: 5.5.3
vue-tsc@2.0.24(typescript@5.5.3):
vue-tsc@2.0.26(typescript@5.5.3):
dependencies:
'@volar/typescript': 2.4.0-alpha.5
'@vue/language-core': 2.0.24(typescript@5.5.3)
'@volar/typescript': 2.4.0-alpha.15
'@vue/language-core': 2.0.26(typescript@5.5.3)
semver: 7.6.2
typescript: 5.5.3