From eebc5105a0d46051cdddea588ea3a5dd8bf64149 Mon Sep 17 00:00:00 2001 From: SikongJueluo Date: Sat, 12 Jul 2025 21:55:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=94=BB=E5=B8=83=E8=A7=A3=E8=80=A6?= =?UTF-8?q?=E5=90=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 1 + .../LabCanvas/ComponentSelector.vue | 398 +++++------------- src/components/LabCanvas/DiagramCanvas.vue | 61 +-- src/components/LabCanvas/ItemList.vue | 100 +++++ src/components/LabCanvas/index.ts | 108 ++++- 5 files changed, 320 insertions(+), 348 deletions(-) create mode 100644 src/components/LabCanvas/ItemList.vue diff --git a/components.d.ts b/components.d.ts index 18778eb..81fa89b 100644 --- a/components.d.ts +++ b/components.d.ts @@ -24,6 +24,7 @@ declare module 'vue' { FunctionBar: typeof import('./src/components/FunctionBar.vue')['default'] HDMI: typeof import('./src/components/equipments/HDMI.vue')['default'] IpInputField: typeof import('./src/components/InputField/IpInputField.vue')['default'] + ItemList: typeof import('./src/components/LabCanvas/ItemList.vue')['default'] LabCanvas: typeof import('./src/components/LabCanvasNew/LabCanvas.vue')['default'] LabCanvasNew: typeof import('./src/components/LabCanvas/LabCanvasNew.vue')['default'] LabComponentsDrawer: typeof import('./src/components/LabCanvasNew/LabComponentsDrawer.vue')['default'] diff --git a/src/components/LabCanvas/ComponentSelector.vue b/src/components/LabCanvas/ComponentSelector.vue index 58f6a89..3d187c7 100644 --- a/src/components/LabCanvas/ComponentSelector.vue +++ b/src/components/LabCanvas/ComponentSelector.vue @@ -2,177 +2,106 @@
- +
- -