From eb0ec95ad7fc90ceef43540025cbd71990a1c0c6 Mon Sep 17 00:00:00 2001 From: wangqz <2809755637@qq.com> Date: Mon, 28 Oct 2024 18:00:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=A1=A8=E6=A0=BC=E5=88=97?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + pnpm-lock.yaml | 21 + src/components/ActionIcon/src/ActionIcon.vue | 2 - src/components/AppLogo/src/AppLogo.vue | 2 +- src/components/PageWrapper/index.ts | 4 +- .../PageWrapper/src/PageWrapper.vue | 38 +- .../SearchDialog/src/SearchDialog.vue | 441 ++++----- src/layouts/header/components/Breadcrumb.vue | 2 +- src/layouts/index.vue | 17 +- src/layouts/tabs/index.vue | 127 ++- src/main.ts | 2 +- .../components/AssistantSidebarActionBar.vue | 2 +- .../components/ChatHistoryItem.vue | 2 +- src/pages/chat copy/index.vue | 3 - .../components/AssistantSidebarActionBar.vue | 2 +- .../components/ChatHistoryItem.vue | 2 +- src/pages/chat/index.vue | 6 +- src/pages/components/echarts/index.vue | 6 +- src/pages/components/form/complex/index.vue | 76 +- src/pages/components/form/simple/data.ts | 45 +- src/pages/components/form/simple/index.vue | 6 +- .../components/headless-table/basic/index.vue | 9 +- .../headless-table/pagination/index.vue | 169 ++-- src/pages/components/list/basic/index.vue | 130 ++- src/pages/components/list/card/index.vue | 28 +- src/pages/components/menu/index.vue | 30 +- src/pages/components/report/r01/index.vue | 175 ++-- src/pages/components/report/r02/index.vue | 76 +- src/pages/dashboard/index.vue | 42 +- src/pages/design/palette/index.vue | 19 +- src/pages/design/typography/index.vue | 871 +++++++++--------- src/pages/directives/copy/index.vue | 3 - src/pages/directives/ripple/index.vue | 42 +- src/pages/login/components/AuthForm/index.vue | 4 +- src/pages/menu/index.vue | 26 +- src/pages/profile/index.vue | 116 ++- src/pages/result/fail.vue | 3 - src/pages/result/success.vue | 3 - src/styles/src/index.css | 11 +- 39 files changed, 1207 insertions(+), 1357 deletions(-) diff --git a/package.json b/package.json index ff22782..3d4280a 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,7 @@ "pkg-types": "^1.2.1", "useNProgress": "link:@vueuse/integrations/useNProgress", "vue": "^3.5.12", + "vue-draggable-plus": "^0.5.4", "vue-echarts": "^7.0.3", "vue-i18n": "^10.0.4", "vue-router": "^4.4.5" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6a76e1f..211de5c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -107,6 +107,9 @@ importers: vue: specifier: ^3.5.12 version: 3.5.12(typescript@5.6.3) + vue-draggable-plus: + specifier: ^0.5.4 + version: 0.5.4(@types/sortablejs@1.15.8) vue-echarts: specifier: ^7.0.3 version: 7.0.3(@vue/runtime-core@3.5.12)(echarts@5.5.1)(vue@3.5.12(typescript@5.6.3)) @@ -1389,6 +1392,9 @@ packages: '@types/resolve@1.20.2': resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} + '@types/sortablejs@1.15.8': + resolution: {integrity: sha512-b79830lW+RZfwaztgs1aVPgbasJ8e7AXtZYHTELNXZPsERt4ymJdjV4OccDbHQAvHrCcFpbF78jkm0R6h/pZVg==} + '@types/trusted-types@2.0.7': resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==} @@ -3646,6 +3652,15 @@ packages: '@vue/composition-api': optional: true + vue-draggable-plus@0.5.4: + resolution: {integrity: sha512-7YXbRu6HFL5c0ELP07nNZPGyXmvD8o7Ny7Dj53l9u0sBTjVmHkgr3+/aXgUO1w2bIwE8f6GhaVmLxd7nhqQ0wg==} + peerDependencies: + '@types/sortablejs': ^1.15.0 + '@vue/composition-api': '*' + peerDependenciesMeta: + '@vue/composition-api': + optional: true + vue-echarts@7.0.3: resolution: {integrity: sha512-/jSxNwOsw5+dYAUcwSfkLwKPuzTQ0Cepz1LxCOpj2QcHrrmUa/Ql0eQqMmc1rTPQVrh2JQ29n2dhq75ZcHvRDw==} peerDependencies: @@ -5063,6 +5078,8 @@ snapshots: '@types/resolve@1.20.2': {} + '@types/sortablejs@1.15.8': {} + '@types/trusted-types@2.0.7': {} '@types/web-bluetooth@0.0.20': {} @@ -7592,6 +7609,10 @@ snapshots: dependencies: vue: 3.5.12(typescript@5.6.3) + vue-draggable-plus@0.5.4(@types/sortablejs@1.15.8): + dependencies: + '@types/sortablejs': 1.15.8 + vue-echarts@7.0.3(@vue/runtime-core@3.5.12)(echarts@5.5.1)(vue@3.5.12(typescript@5.6.3)): dependencies: echarts: 5.5.1 diff --git a/src/components/ActionIcon/src/ActionIcon.vue b/src/components/ActionIcon/src/ActionIcon.vue index d77ef5f..9077a32 100644 --- a/src/components/ActionIcon/src/ActionIcon.vue +++ b/src/components/ActionIcon/src/ActionIcon.vue @@ -4,14 +4,12 @@ import ToolTipper from "./ToolTipper.vue"; interface Props { tooltipText?: string; - icon: string; transparent?: boolean; // 是否设置背景透明 size?: number; // 按钮大小 component?: Component | String; // 图标组件 } withDefaults(defineProps(), { tooltipText: undefined, - icon: "", transparent: false, // 是否设置背景透明 size: 16, // 按钮大小 component: undefined, // 图标组件 diff --git a/src/components/AppLogo/src/AppLogo.vue b/src/components/AppLogo/src/AppLogo.vue index 7149500..4043597 100644 --- a/src/components/AppLogo/src/AppLogo.vue +++ b/src/components/AppLogo/src/AppLogo.vue @@ -54,7 +54,7 @@ const isLightTheme = computed(() => !isDarkMode.value);