From 9e90d3d410e8fdd77eefc02bac16bcaafcf5fb1c Mon Sep 17 00:00:00 2001 From: "WANGFAN\\wangf" <15871339963@163.com> Date: Mon, 7 Apr 2025 14:49:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9B=BE=E6=A0=87=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components.d.ts | 33 ++--- src/components/select-icon/index.vue | 130 ++++++++++++------ .../component/icon-selector/icon-selector.vue | 56 +++----- 3 files changed, 123 insertions(+), 96 deletions(-) diff --git a/src/components.d.ts b/src/components.d.ts index bd1b241..57ff816 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -5,22 +5,23 @@ // Read more: https://github.com/vuejs/core/pull/3399 export {} -declare module 'vue' { +declare module "vue" { export interface GlobalComponents { - BarcodeDraw: typeof import('./components/barcode-draw/index.vue')['default'] - CodeView: typeof import('./components/code-view/index.vue')['default'] - ExternalLinkPage: typeof import('./components/external-link-page/index.vue')['default'] - FillPage: typeof import('./components/fill-page/index.vue')['default'] - InternalLinkPage: typeof import('./components/internal-link-page/index.vue')['default'] - LangProvider: typeof import('./components/lang-provider/index.vue')['default'] - MainTransition: typeof import('./components/main-transition/index.vue')['default'] - PinyinPro: typeof import('./components/pinyin-pro/index.vue')['default'] - QrcodeDraw: typeof import('./components/qrcode-draw/index.vue')['default'] - RouterLink: typeof import('vue-router')['RouterLink'] - RouterView: typeof import('vue-router')['RouterView'] - SelectIcon: typeof import('./components/select-icon/index.vue')['default'] - SvgAndIcon: typeof import('./components/svg-and-icon/index.vue')['default'] - SvgIcon: typeof import('./components/svg-icon/index.vue')['default'] - VerifyCode: typeof import('./components/verify-code/index.vue')['default'] + BarcodeDraw: (typeof import("./components/barcode-draw/index.vue"))["default"]; + CodeView: (typeof import("./components/code-view/index.vue"))["default"]; + ExternalLinkPage: (typeof import("./components/external-link-page/index.vue"))["default"]; + FillPage: (typeof import("./components/fill-page/index.vue"))["default"]; + InternalLinkPage: (typeof import("./components/internal-link-page/index.vue"))["default"]; + LangProvider: (typeof import("./components/lang-provider/index.vue"))["default"]; + MainTransition: (typeof import("./components/main-transition/index.vue"))["default"]; + PinyinPro: (typeof import("./components/pinyin-pro/index.vue"))["default"]; + QrcodeDraw: (typeof import("./components/qrcode-draw/index.vue"))["default"]; + RouterLink: (typeof import("vue-router"))["RouterLink"]; + RouterView: (typeof import("vue-router"))["RouterView"]; + SelectIcon: (typeof import("./components/select-icon/index.vue"))["default"]; + SelectSvg: (typeof import("./components/select-svg/index.vue"))["default"]; + SvgAndIcon: (typeof import("./components/svg-and-icon/index.vue"))["default"]; + SvgIcon: (typeof import("./components/svg-icon/index.vue"))["default"]; + VerifyCode: (typeof import("./components/verify-code/index.vue"))["default"]; } } diff --git a/src/components/select-icon/index.vue b/src/components/select-icon/index.vue index 5b9ee77..46ade42 100644 --- a/src/components/select-icon/index.vue +++ b/src/components/select-icon/index.vue @@ -1,48 +1,95 @@