diff --git a/components.d.ts b/components.d.ts index d546941c..128d62fb 100644 --- a/components.d.ts +++ b/components.d.ts @@ -21,6 +21,7 @@ declare module 'vue' { DictList: typeof import('./src/components/DictList.vue')['default'] DictModal: typeof import('./src/components/Toolbar/DictModal.vue')['default'] EditAbleText: typeof import('./src/components/EditAbleText.vue')['default'] + ElAutoResizer: typeof import('element-plus/es')['ElAutoResizer'] ElInput: typeof import('element-plus/es')['ElInput'] ElInputNumber: typeof import('element-plus/es')['ElInputNumber'] ElOption: typeof import('element-plus/es')['ElOption'] @@ -31,6 +32,7 @@ declare module 'vue' { ElSelect: typeof import('element-plus/es')['ElSelect'] ElSlider: typeof import('element-plus/es')['ElSlider'] ElSwitch: typeof import('element-plus/es')['ElSwitch'] + ElTableV2: typeof import('element-plus/es')['ElTableV2'] FeedbackModal: typeof import('./src/components/Toolbar/FeedbackModal.vue')['default'] Fireworks: typeof import('./src/components/Fireworks.vue')['default'] Footer: typeof import('./src/components/Practice/Footer.vue')['default'] diff --git a/package.json b/package.json index 020fe2bc..d19471a9 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,8 @@ "swiper": "^10.1.0", "tesseract.js": "^4.1.1", "uuid": "^9.0.1", - "vue": "^3.3.4" + "vue": "^3.3.4", + "vue-virtual-list-v3": "^1.5.1" }, "devDependencies": { "@iconify/vue": "^4.1.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f6247855..04a767bf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -59,6 +59,12 @@ dependencies: vue: specifier: ^3.3.4 version: 3.3.4 + vue-virtual-list-v3: + specifier: ^1.5.1 + version: 1.5.1 + vue-virtual-scroll-list: + specifier: ^2.3.5 + version: 2.3.5 devDependencies: '@iconify/vue': @@ -760,6 +766,10 @@ packages: dev: true optional: true + /@juggle/resize-observer@3.4.0: + resolution: {integrity: sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==} + dev: false + /@nodelib/fs.scandir@2.1.5: resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -3109,6 +3119,16 @@ packages: typescript: 5.2.2 dev: true + /vue-virtual-list-v3@1.5.1: + resolution: {integrity: sha512-HbI2DTTRmw6GotG//wrKj6qcYpS8ecPFTxCxRUzXbz929xgXuO/VlcxxIQ9eusGVv5T64twk4l93MnKgyscL9g==} + dependencies: + '@juggle/resize-observer': 3.4.0 + dev: false + + /vue-virtual-scroll-list@2.3.5: + resolution: {integrity: sha512-YFK6u5yltqtAOfTBcij/KGAS2SoZvzbNIAf9qTULauPObEp53xj22tDuohrrM2vNkgoD5kejXICIUBt2Q4ZDqQ==} + dev: false + /vue@3.3.4: resolution: {integrity: sha512-VTyEYn3yvIeY1Py0WaYGZsXnz3y5UnGi62GjVEqvEGPl6nxbOrCXbVOTQWBEJUqAyTUk2uJ5JLVnYJ6ZzGbrSw==} dependencies: diff --git a/src/components/Toolbar/DictModal.vue b/src/components/Toolbar/DictModal.vue index 142bb20a..5a9cd65c 100644 --- a/src/components/Toolbar/DictModal.vue +++ b/src/components/Toolbar/DictModal.vue @@ -1,12 +1,12 @@