feat: key export/import, command import, virtualized scrolling

- P2-6: KeyList virtualized scrolling using @tanstack/vue-virtual (>100 keys)
- P2-8: Key export to CSV (DUMP + PTTL, hex-encoded)
- P2-9: Key import from CSV (RESTORE ... REPLACE)
- P2-10: CLI command import from text file
- i18n keys for all features (zh-CN + en)
This commit is contained in:
2026-07-07 22:14:22 +08:00
parent 90d56f2a12
commit 6ac5636944
7 changed files with 339 additions and 28 deletions
+27
View File
@@ -10,6 +10,7 @@
"hasInstallScript": true,
"dependencies": {
"@guolao/vue-monaco-editor": "^1.6.0",
"@tanstack/vue-virtual": "^3.13.31",
"electron-store": "^11.0.2",
"electron-updater": "^6.8.9",
"ioredis": "^5.7.0",
@@ -1881,6 +1882,32 @@
"node": ">=10"
}
},
"node_modules/@tanstack/virtual-core": {
"version": "3.17.3",
"resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.17.3.tgz",
"integrity": "sha512-8Np/TFELpI0ySuJoVmjvOrQYXH/8sTX0Biv9szhFhY39xOdAAY+smrMxjxOum/ux3eM8MUJQsEJ0/R0UpvC8dw==",
"license": "MIT",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/tannerlinsley"
}
},
"node_modules/@tanstack/vue-virtual": {
"version": "3.13.31",
"resolved": "https://registry.npmjs.org/@tanstack/vue-virtual/-/vue-virtual-3.13.31.tgz",
"integrity": "sha512-wZMEoSf852jQqaf3Ika1J7PiBae6341LNy/2CxmIyn0XKDQXMuK41wVX+xp6G0yx8jyR95Ef+Tdr13DK7mbJtQ==",
"license": "MIT",
"dependencies": {
"@tanstack/virtual-core": "3.17.3"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/tannerlinsley"
},
"peerDependencies": {
"vue": "^2.7.0 || ^3.0.0"
}
},
"node_modules/@tootallnate/once": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.1.tgz",