base6-ui 1.1.11 → 1.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/BaseCascader/index.d.ts +1 -0
- package/dist/components/BaseCascader/index.vue.d.ts +7 -0
- package/dist/components/BaseCascader/type.d.ts +6 -0
- package/dist/components/BaseDataTable/index.vue.d.ts +6 -9
- package/dist/components/BaseDialog/index.vue.d.ts +1 -0
- package/dist/components/BaseDialog/type.d.ts +1 -0
- package/dist/components/BaseLayout/Default/index.vue.d.ts +1 -1
- package/dist/components/BaseLayout/index.vue.d.ts +1 -1
- package/dist/components/BaseNavIcon/index.d.ts +2 -0
- package/dist/components/BaseNavIcon/index.vue.d.ts +13 -0
- package/dist/components/BaseNavIcon/type.d.ts +3 -0
- package/dist/components/BaseProductIntroduction/index.vue.d.ts +26 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/config/themes/common/dark.d.ts +2 -0
- package/dist/config/themes/components/cascader/common.d.ts +2 -0
- package/dist/config/themes/components/cascader/dark.d.ts +2 -0
- package/dist/config/themes/components/cascader/light.d.ts +2 -0
- package/dist/config/themes/components/dialog/common.d.ts +1 -0
- package/dist/config/themes/components/dialog/dark.d.ts +1 -0
- package/dist/config/themes/components/dialog/light.d.ts +1 -0
- package/dist/globalMethods/modules/confirmTip.d.ts +2 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useAnimationHook.d.ts +3 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.umd.js +1 -1
- package/es/_virtual/virtual_svg-icons-register.mjs +1 -1
- package/es/assets/logo/logo-dark-full.svg.mjs +2 -2
- package/es/assets/logo/logo-light-full.svg.mjs +2 -2
- package/es/components/BaseButton/index.vue.mjs +14 -14
- package/es/components/BaseCascader/index.d.ts +1 -0
- package/es/components/BaseCascader/index.vue.d.ts +7 -0
- package/es/components/BaseCascader/index.vue.mjs +8 -0
- package/es/components/BaseCascader/index.vue2.mjs +27 -0
- package/es/components/BaseCascader/type.d.ts +6 -0
- package/es/components/BaseDataTable/index.vue.d.ts +6 -9
- package/es/components/BaseDataTable/index.vue.mjs +2 -2
- package/es/components/BaseDataTable/index.vue2.mjs +22 -61
- package/es/components/BaseDialog/index.vue.d.ts +1 -0
- package/es/components/BaseDialog/index.vue.mjs +45 -42
- package/es/components/BaseDialog/options.mjs +1 -0
- package/es/components/BaseDialog/type.d.ts +1 -0
- package/es/components/BaseInputNumber/index.vue2.mjs +56 -56
- package/es/components/BaseLayout/ASide/index.vue2.mjs +27 -27
- package/es/components/BaseLayout/Default/index.vue.d.ts +1 -1
- package/es/components/BaseLayout/Default/index.vue.mjs +1 -1
- package/es/components/BaseLayout/Default/index.vue2.mjs +53 -53
- package/es/components/BaseLayout/Default/layoutHeader/action.vue.mjs +2 -2
- package/es/components/BaseLayout/Default/layoutHeader/action.vue2.mjs +37 -34
- package/es/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue2.mjs +29 -29
- package/es/components/BaseLayout/Default/layoutSlider/index.vue.mjs +12 -12
- package/es/components/BaseLayout/components/WrapFooter.vue.mjs +14 -14
- package/es/components/BaseLayout/components/WrapHeader.vue2.mjs +8 -8
- package/es/components/BaseLayout/components/WrapTab.vue.mjs +12 -12
- package/es/components/BaseLayout/index.vue.d.ts +1 -1
- package/es/components/BaseLayout/index.vue2.mjs +36 -36
- package/es/components/BaseNavIcon/index.d.ts +2 -0
- package/es/components/BaseNavIcon/index.vue.d.ts +13 -0
- package/es/components/BaseNavIcon/index.vue.mjs +7 -0
- package/es/components/BaseNavIcon/index.vue2.mjs +34 -0
- package/es/components/BaseNavIcon/type.d.ts +3 -0
- package/es/components/BaseProductIntroduction/cssVar.mjs +7 -4
- package/es/components/BaseProductIntroduction/index.vue.d.ts +26 -1
- package/es/components/BaseProductIntroduction/index.vue.mjs +1 -1
- package/es/components/BaseProductIntroduction/index.vue2.mjs +66 -73
- package/es/components/BaseRadio/index.vue2.mjs +17 -17
- package/es/components/BaseSelect/index.vue2.mjs +24 -24
- package/es/components/BaseSlider/index.vue2.mjs +44 -44
- package/es/components/BaseSwitch/index.vue2.mjs +18 -18
- package/es/components/index.d.ts +2 -0
- package/es/config/themes/common/dark.d.ts +2 -0
- package/es/config/themes/common/dark.mjs +30 -0
- package/es/config/themes/components/baseComponent/dark.mjs +2 -2
- package/es/config/themes/components/baseComponent/light.mjs +2 -2
- package/es/config/themes/components/button/dark.mjs +1 -0
- package/es/config/themes/components/button/light.mjs +1 -0
- package/es/config/themes/components/card/dark.mjs +7 -5
- package/es/config/themes/components/card/light.mjs +5 -3
- package/es/config/themes/components/cascader/common.d.ts +2 -0
- package/es/config/themes/components/cascader/common.mjs +8 -0
- package/es/config/themes/components/cascader/dark.d.ts +2 -0
- package/es/config/themes/components/cascader/dark.mjs +19 -0
- package/es/config/themes/components/cascader/light.d.ts +2 -0
- package/es/config/themes/components/cascader/light.mjs +17 -0
- package/es/config/themes/components/dialog/common.d.ts +1 -0
- package/es/config/themes/components/dialog/common.mjs +4 -3
- package/es/config/themes/components/dialog/dark.d.ts +1 -0
- package/es/config/themes/components/dialog/light.d.ts +1 -0
- package/es/config/themes/components/input/dark.mjs +23 -18
- package/es/config/themes/components/input/light.mjs +5 -0
- package/es/config/themes/dark.mjs +42 -38
- package/es/config/themes/index.mjs +9 -6
- package/es/config/themes/light.mjs +43 -41
- package/es/globalMethods/modules/confirmTip.d.ts +2 -1
- package/es/globalMethods/modules/confirmTip.mjs +12 -11
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/useAnimationHook.d.ts +3 -0
- package/es/hooks/useAnimationHook.mjs +34 -0
- package/es/index.css +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.mjs +60 -54
- package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs +6 -0
- package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/object/merge.mjs +16 -0
- package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/predicate/isPlainObject.mjs +9 -0
- package/lib/_virtual/virtual_svg-icons-register.js +1 -1
- package/lib/assets/logo/logo-dark-full.svg.js +1 -1
- package/lib/assets/logo/logo-light-full.svg.js +1 -1
- package/lib/components/BaseButton/index.vue.js +1 -1
- package/lib/components/BaseCascader/index.d.ts +1 -0
- package/lib/components/BaseCascader/index.vue.d.ts +7 -0
- package/lib/components/BaseCascader/index.vue.js +1 -0
- package/lib/components/BaseCascader/index.vue2.js +1 -0
- package/lib/components/BaseCascader/type.d.ts +6 -0
- package/lib/components/BaseDataTable/index.vue.d.ts +6 -9
- package/lib/components/BaseDataTable/index.vue.js +1 -1
- package/lib/components/BaseDataTable/index.vue2.js +1 -1
- package/lib/components/BaseDialog/index.vue.d.ts +1 -0
- package/lib/components/BaseDialog/index.vue.js +1 -1
- package/lib/components/BaseDialog/options.js +1 -1
- package/lib/components/BaseDialog/type.d.ts +1 -0
- package/lib/components/BaseInputNumber/index.vue2.js +1 -1
- package/lib/components/BaseLayout/ASide/index.vue2.js +1 -1
- package/lib/components/BaseLayout/Default/index.vue.d.ts +1 -1
- package/lib/components/BaseLayout/Default/index.vue.js +1 -1
- package/lib/components/BaseLayout/Default/index.vue2.js +1 -1
- package/lib/components/BaseLayout/Default/layoutHeader/action.vue.js +1 -1
- package/lib/components/BaseLayout/Default/layoutHeader/action.vue2.js +1 -1
- package/lib/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue2.js +1 -1
- package/lib/components/BaseLayout/Default/layoutSlider/index.vue.js +1 -1
- package/lib/components/BaseLayout/components/WrapFooter.vue.js +1 -1
- package/lib/components/BaseLayout/components/WrapHeader.vue2.js +1 -1
- package/lib/components/BaseLayout/components/WrapTab.vue.js +1 -1
- package/lib/components/BaseLayout/index.vue.d.ts +1 -1
- package/lib/components/BaseLayout/index.vue2.js +1 -1
- package/lib/components/BaseNavIcon/index.d.ts +2 -0
- package/lib/components/BaseNavIcon/index.vue.d.ts +13 -0
- package/lib/components/BaseNavIcon/index.vue.js +1 -0
- package/lib/components/BaseNavIcon/index.vue2.js +1 -0
- package/lib/components/BaseNavIcon/type.d.ts +3 -0
- package/lib/components/BaseProductIntroduction/cssVar.js +1 -1
- package/lib/components/BaseProductIntroduction/index.vue.d.ts +26 -1
- package/lib/components/BaseProductIntroduction/index.vue.js +1 -1
- package/lib/components/BaseProductIntroduction/index.vue2.js +1 -1
- package/lib/components/BaseRadio/index.vue2.js +1 -1
- package/lib/components/BaseSelect/index.vue2.js +1 -1
- package/lib/components/BaseSlider/index.vue2.js +1 -1
- package/lib/components/BaseSwitch/index.vue2.js +1 -1
- package/lib/components/index.d.ts +2 -0
- package/lib/config/themes/common/dark.d.ts +2 -0
- package/lib/config/themes/common/dark.js +1 -0
- package/lib/config/themes/components/baseComponent/dark.js +1 -1
- package/lib/config/themes/components/baseComponent/light.js +1 -1
- package/lib/config/themes/components/button/dark.js +1 -1
- package/lib/config/themes/components/button/light.js +1 -1
- package/lib/config/themes/components/card/dark.js +1 -1
- package/lib/config/themes/components/card/light.js +1 -1
- package/lib/config/themes/components/cascader/common.d.ts +2 -0
- package/lib/config/themes/components/cascader/common.js +1 -0
- package/lib/config/themes/components/cascader/dark.d.ts +2 -0
- package/lib/config/themes/components/cascader/dark.js +1 -0
- package/lib/config/themes/components/cascader/light.d.ts +2 -0
- package/lib/config/themes/components/cascader/light.js +1 -0
- package/lib/config/themes/components/dialog/common.d.ts +1 -0
- package/lib/config/themes/components/dialog/common.js +1 -1
- package/lib/config/themes/components/dialog/dark.d.ts +1 -0
- package/lib/config/themes/components/dialog/light.d.ts +1 -0
- package/lib/config/themes/components/input/dark.js +1 -1
- package/lib/config/themes/components/input/light.js +1 -1
- package/lib/config/themes/dark.js +1 -1
- package/lib/config/themes/index.js +1 -1
- package/lib/config/themes/light.js +1 -1
- package/lib/globalMethods/modules/confirmTip.d.ts +2 -1
- package/lib/globalMethods/modules/confirmTip.js +1 -1
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/useAnimationHook.d.ts +3 -0
- package/lib/hooks/useAnimationHook.js +1 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +1 -0
- package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/object/merge.js +1 -0
- package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/predicate/isPlainObject.js +1 -0
- package/package.json +2 -1
|
@@ -3,6 +3,7 @@ import o from "../../config/themes/color/light.mjs";
|
|
|
3
3
|
import "../../config/themes/components/alert/light.mjs";
|
|
4
4
|
import "../../config/themes/components/button/light.mjs";
|
|
5
5
|
import "../../config/themes/components/card/light.mjs";
|
|
6
|
+
import "../../config/themes/components/cascader/light.mjs";
|
|
6
7
|
import "../../config/themes/components/dataTable/light.mjs";
|
|
7
8
|
import "../../config/themes/components/datePicker/light.mjs";
|
|
8
9
|
import "../../config/themes/components/checkbox/light.mjs";
|
|
@@ -26,6 +27,7 @@ import "../../config/themes/common/light.mjs";
|
|
|
26
27
|
import "../../config/themes/components/alert/dark.mjs";
|
|
27
28
|
import "../../config/themes/components/button/dark.mjs";
|
|
28
29
|
import "../../config/themes/components/card/dark.mjs";
|
|
30
|
+
import "../../config/themes/components/cascader/dark.mjs";
|
|
29
31
|
import "../../config/themes/components/checkbox/dark.mjs";
|
|
30
32
|
import "../../config/themes/components/dataTable/dark.mjs";
|
|
31
33
|
import "../../config/themes/components/datePicker/dark.mjs";
|
|
@@ -44,6 +46,7 @@ import "../../config/themes/components/switch/dark.mjs";
|
|
|
44
46
|
import "../../config/themes/components/tag/dark.mjs";
|
|
45
47
|
import "../../config/themes/components/transfer/dark.mjs";
|
|
46
48
|
import "../../config/themes/components/baseComponent/dark.mjs";
|
|
49
|
+
import "../../config/themes/common/dark.mjs";
|
|
47
50
|
import "../../config/themes/components/charts/dark.mjs";
|
|
48
51
|
import "../../config/themes/components/charts/light.mjs";
|
|
49
52
|
const t = {
|
|
@@ -60,14 +63,14 @@ const t = {
|
|
|
60
63
|
}, l = {
|
|
61
64
|
"light-1": o["color-gray-3"],
|
|
62
65
|
"dark-1": i["color-gray-3"]
|
|
63
|
-
},
|
|
66
|
+
}, mr = (r) => ({
|
|
64
67
|
fontSizeMedium: "12px",
|
|
65
68
|
titleFontSizeMedium: "14px",
|
|
66
69
|
borderColor: l[r ? "dark-1" : "light-1"],
|
|
67
70
|
color: m[r ? "dark-1" : "light-1"],
|
|
68
71
|
textColor: t[r ? "dark-3" : "light-3"],
|
|
69
72
|
titleTextColor: t[r ? "dark-1" : "light-1"]
|
|
70
|
-
}),
|
|
73
|
+
}), pr = (r) => ({
|
|
71
74
|
"--base-title-color": t[r ? "dark-1" : "light-1"],
|
|
72
75
|
"--base-text-color": t[r ? "dark-3" : "light-3"],
|
|
73
76
|
"--base-color": p[r ? "dark-2" : "light-2"],
|
|
@@ -75,6 +78,6 @@ const t = {
|
|
|
75
78
|
height: "620px"
|
|
76
79
|
});
|
|
77
80
|
export {
|
|
78
|
-
|
|
79
|
-
|
|
81
|
+
mr as createCardThemeOverrides,
|
|
82
|
+
pr as createPopoverCssVar
|
|
80
83
|
};
|
|
@@ -2,5 +2,30 @@ import { ProductIntroductionProps } from './type';
|
|
|
2
2
|
declare const _default: import('vue').DefineComponent<ProductIntroductionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ProductIntroductionProps> & Readonly<{}>, {
|
|
3
3
|
x: number;
|
|
4
4
|
y: number;
|
|
5
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
6
|
+
triggerInstRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').BaseNavIconProps> & Readonly<{
|
|
7
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
instRef: import('vue').Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
10
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
click: (...args: any[]) => void;
|
|
12
|
+
}, import('vue').PublicProps, {
|
|
13
|
+
active: boolean;
|
|
14
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
15
|
+
instRef: HTMLDivElement;
|
|
16
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
17
|
+
P: {};
|
|
18
|
+
B: {};
|
|
19
|
+
D: {};
|
|
20
|
+
C: {};
|
|
21
|
+
M: {};
|
|
22
|
+
Defaults: {};
|
|
23
|
+
}, Readonly<import('..').BaseNavIconProps> & Readonly<{
|
|
24
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
instRef: import('vue').Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
27
|
+
}, {}, {}, {}, {
|
|
28
|
+
active: boolean;
|
|
29
|
+
}> | null;
|
|
30
|
+
}, HTMLDivElement>;
|
|
6
31
|
export default _default;
|
|
@@ -2,7 +2,7 @@ import o from "./index.vue2.mjs";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
-
const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
5
|
+
const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4f730636"]]);
|
|
6
6
|
export {
|
|
7
7
|
c as default
|
|
8
8
|
};
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { NPopover as R, NCard as T, NButton as A } from "naive-ui";
|
|
2
|
+
import { defineComponent as D, mergeDefaults as E, ref as _, computed as p, resolveComponent as O, createElementBlock as c, openBlock as s, createVNode as r, withModifiers as f, normalizeStyle as I, withCtx as d, createElementVNode as e, Fragment as h, renderList as y, createCommentVNode as M, toDisplayString as u, createBlock as V, createTextVNode as g } from "vue";
|
|
3
|
+
import z from "../BaseNavIcon/index.vue.mjs";
|
|
4
|
+
import L from "../../hooks/useNaiveConfigProvideContext.mjs";
|
|
5
|
+
import U from "../../assets/cover/base-ads.png.mjs";
|
|
6
|
+
import F from "../../assets/cover/base-studio.png.mjs";
|
|
6
7
|
import $ from "../../assets/cover/base-multimodal.png.mjs";
|
|
7
|
-
import { createCardThemeOverrides as
|
|
8
|
+
import { createCardThemeOverrides as j, createPopoverCssVar as q } from "./cssVar.mjs";
|
|
8
9
|
import { DEFAULT_PRODUCT_INTRODUCTION_PROPS as G } from "./constants.mjs";
|
|
9
10
|
const H = { class: "header" }, J = { class: "content-wrap" }, K = { class: "content-item-header" }, Q = { class: "icon" }, W = { class: "title" }, X = { class: "description" }, Y = {
|
|
10
11
|
key: 0,
|
|
11
12
|
class: "content-child-wrap"
|
|
12
|
-
}, Z = ["src"], ee = { class: "to-use" },
|
|
13
|
+
}, Z = ["src"], ee = { class: "to-use" }, pe = /* @__PURE__ */ D({
|
|
13
14
|
__name: "index",
|
|
14
|
-
props: /* @__PURE__ */
|
|
15
|
+
props: /* @__PURE__ */ E({
|
|
15
16
|
x: {},
|
|
16
17
|
y: {}
|
|
17
18
|
}, G),
|
|
18
|
-
setup(
|
|
19
|
-
const
|
|
19
|
+
setup(te) {
|
|
20
|
+
const k = L(), l = _(null), i = _(!1), C = [
|
|
20
21
|
{
|
|
21
22
|
key: "base1",
|
|
22
23
|
title: "BASE 数据标注平台",
|
|
@@ -27,13 +28,13 @@ const H = { class: "header" }, J = { class: "content-wrap" }, K = { class: "cont
|
|
|
27
28
|
key: "base1-1",
|
|
28
29
|
title: "自动驾驶标注平台 - BASE ADS",
|
|
29
30
|
description: "自动驾驶标注平台支持点云、图像等连续的数据的标注与质检,提供可编排工作流与智能辅助工具,帮助团队高效构建自动驾驶训练数据集。",
|
|
30
|
-
icon:
|
|
31
|
+
icon: U
|
|
31
32
|
},
|
|
32
33
|
{
|
|
33
34
|
key: "base1-2",
|
|
34
35
|
title: "通用标注平台 - BASE Studio",
|
|
35
36
|
description: "通用标注平台,支持图像、音频、文本、视频等多类型数据的标注与质检。具备灵活的可编排工作流能力,提供丰富的标注工具模板和算法辅助能力,适用于计算机视觉、语音识别、NLP 等多种场景,帮助团队快速构建高质量训练数据集。",
|
|
36
|
-
icon:
|
|
37
|
+
icon: F
|
|
37
38
|
},
|
|
38
39
|
{
|
|
39
40
|
key: "base1-2",
|
|
@@ -55,106 +56,98 @@ const H = { class: "header" }, J = { class: "content-wrap" }, K = { class: "cont
|
|
|
55
56
|
description: "全场景数据采集,全链路价值护航",
|
|
56
57
|
icon: "logo-bcollection"
|
|
57
58
|
}
|
|
58
|
-
],
|
|
59
|
+
], v = p(() => {
|
|
59
60
|
const {
|
|
60
|
-
name:
|
|
61
|
-
} =
|
|
62
|
-
return
|
|
63
|
-
}), B =
|
|
64
|
-
|
|
61
|
+
name: n = "light"
|
|
62
|
+
} = k?.mergedThemeRef.value || {};
|
|
63
|
+
return n !== "light";
|
|
64
|
+
}), B = p(() => j(v.value)), b = p(() => q(v.value)), N = () => {
|
|
65
|
+
i.value = !i.value;
|
|
66
|
+
}, S = (n) => {
|
|
67
|
+
l.value && l.value.instRef && l.value.instRef.contains(n.target) || (i.value = !1);
|
|
65
68
|
};
|
|
66
|
-
return
|
|
67
|
-
|
|
68
|
-
}), L(() => {
|
|
69
|
-
document.body.removeEventListener("click", v);
|
|
70
|
-
}), (_, e) => {
|
|
71
|
-
const d = M("svg-icon"), y = x, S = P, w = E;
|
|
69
|
+
return (n, t) => {
|
|
70
|
+
const m = O("svg-icon"), w = A, x = T, P = R;
|
|
72
71
|
return s(), c("div", null, [
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
icon: n.value ? "operate-close" : "operate-more-bar",
|
|
81
|
-
size: "24"
|
|
82
|
-
}, null, 8, ["icon"])
|
|
83
|
-
]),
|
|
84
|
-
_: 1
|
|
85
|
-
}),
|
|
86
|
-
i(w, {
|
|
72
|
+
r(z, {
|
|
73
|
+
ref_key: "triggerInstRef",
|
|
74
|
+
ref: l,
|
|
75
|
+
active: i.value,
|
|
76
|
+
onClick: f(N, ["stop"])
|
|
77
|
+
}, null, 8, ["active"]),
|
|
78
|
+
r(P, {
|
|
87
79
|
"content-class": "base-product-introduction-panel-popover",
|
|
88
80
|
trigger: "manual",
|
|
89
|
-
show:
|
|
90
|
-
"onUpdate:show":
|
|
91
|
-
style:
|
|
81
|
+
show: i.value,
|
|
82
|
+
"onUpdate:show": t[2] || (t[2] = (o) => i.value = o),
|
|
83
|
+
style: I(b.value),
|
|
92
84
|
"show-arrow": !1,
|
|
93
85
|
width: 1058,
|
|
94
86
|
scrollable: "",
|
|
95
|
-
x:
|
|
96
|
-
y:
|
|
97
|
-
"theme-overrides": { padding: "0", space: "0" }
|
|
87
|
+
x: n.x,
|
|
88
|
+
y: n.y,
|
|
89
|
+
"theme-overrides": { padding: "0", space: "0" },
|
|
90
|
+
onClickoutside: S
|
|
98
91
|
}, {
|
|
99
|
-
default:
|
|
100
|
-
|
|
92
|
+
default: d(() => [
|
|
93
|
+
e("div", {
|
|
101
94
|
class: "base-product-introduction-panel",
|
|
102
|
-
onClick:
|
|
95
|
+
onClick: t[1] || (t[1] = f(() => {
|
|
103
96
|
}, ["stop"]))
|
|
104
97
|
}, [
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
98
|
+
e("div", H, [
|
|
99
|
+
t[3] || (t[3] = e("div", null, "全部产品", -1)),
|
|
100
|
+
r(m, {
|
|
108
101
|
icon: "operate-close",
|
|
109
102
|
size: "16",
|
|
110
|
-
onClick:
|
|
103
|
+
onClick: t[0] || (t[0] = (o) => i.value = !1)
|
|
111
104
|
})
|
|
112
105
|
]),
|
|
113
|
-
|
|
114
|
-
(s(), c(h, null,
|
|
106
|
+
e("div", J, [
|
|
107
|
+
(s(), c(h, null, y(C, (o) => e("div", {
|
|
115
108
|
key: o.key,
|
|
116
109
|
class: "content-item"
|
|
117
110
|
}, [
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
111
|
+
e("div", K, [
|
|
112
|
+
e("div", Q, [
|
|
113
|
+
r(m, {
|
|
121
114
|
icon: o.icon,
|
|
122
115
|
size: "32"
|
|
123
116
|
}, null, 8, ["icon"])
|
|
124
117
|
]),
|
|
125
|
-
|
|
126
|
-
|
|
118
|
+
e("div", W, u(o.title), 1),
|
|
119
|
+
e("div", X, u(o.description), 1)
|
|
127
120
|
]),
|
|
128
121
|
o.children && o.children.length ? (s(), c("div", Y, [
|
|
129
|
-
(s(!0), c(h, null,
|
|
130
|
-
key:
|
|
131
|
-
title:
|
|
122
|
+
(s(!0), c(h, null, y(o.children, (a) => (s(), V(x, {
|
|
123
|
+
key: a.key,
|
|
124
|
+
title: a.title,
|
|
132
125
|
"theme-overrides": B.value
|
|
133
126
|
}, {
|
|
134
|
-
cover:
|
|
135
|
-
|
|
136
|
-
src:
|
|
127
|
+
cover: d(() => [
|
|
128
|
+
e("img", {
|
|
129
|
+
src: a.icon,
|
|
137
130
|
alt: ""
|
|
138
131
|
}, null, 8, Z)
|
|
139
132
|
]),
|
|
140
|
-
default:
|
|
141
|
-
g(" " + u(
|
|
142
|
-
|
|
143
|
-
|
|
133
|
+
default: d(() => [
|
|
134
|
+
g(" " + u(a.description) + " ", 1),
|
|
135
|
+
e("div", ee, [
|
|
136
|
+
r(w, {
|
|
144
137
|
round: "",
|
|
145
138
|
size: "tiny",
|
|
146
139
|
type: "primary"
|
|
147
140
|
}, {
|
|
148
|
-
default:
|
|
149
|
-
g("开始使用"
|
|
150
|
-
])
|
|
141
|
+
default: d(() => t[4] || (t[4] = [
|
|
142
|
+
g("开始使用")
|
|
143
|
+
])),
|
|
151
144
|
_: 1
|
|
152
145
|
})
|
|
153
146
|
])
|
|
154
147
|
]),
|
|
155
148
|
_: 2
|
|
156
149
|
}, 1032, ["title", "theme-overrides"]))), 128))
|
|
157
|
-
])) :
|
|
150
|
+
])) : M("", !0)
|
|
158
151
|
])), 64))
|
|
159
152
|
])
|
|
160
153
|
])
|
|
@@ -166,5 +159,5 @@ const H = { class: "header" }, J = { class: "content-wrap" }, K = { class: "cont
|
|
|
166
159
|
}
|
|
167
160
|
});
|
|
168
161
|
export {
|
|
169
|
-
|
|
162
|
+
pe as default
|
|
170
163
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { NRadio as
|
|
2
|
-
import { defineComponent as r, shallowRef as
|
|
3
|
-
import
|
|
1
|
+
import { NRadio as i } from "naive-ui";
|
|
2
|
+
import { defineComponent as r, shallowRef as d, watch as n, createBlock as l, openBlock as m, mergeProps as c, createSlots as f, renderList as p, withCtx as b, renderSlot as v } from "vue";
|
|
3
|
+
import u from "../../hooks/useNaiveConfigProvideContext.mjs";
|
|
4
4
|
const y = /* @__PURE__ */ r({
|
|
5
5
|
name: "BaseRadio",
|
|
6
6
|
__name: "index",
|
|
@@ -8,12 +8,12 @@ const y = /* @__PURE__ */ r({
|
|
|
8
8
|
className: { default: "" },
|
|
9
9
|
style: { default: () => ({}) }
|
|
10
10
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const { mergedThemeOverridesRef:
|
|
13
|
-
return
|
|
14
|
-
() =>
|
|
11
|
+
setup(h) {
|
|
12
|
+
const { mergedThemeOverridesRef: a } = u(), o = d({});
|
|
13
|
+
return n(
|
|
14
|
+
() => a?.value?.Radio,
|
|
15
15
|
(e) => {
|
|
16
|
-
e && (
|
|
16
|
+
e && (o.value = {
|
|
17
17
|
"--n-box-shadow-active-disabled": e.boxShadowActiveDisabled || e.boxShadowDisabled,
|
|
18
18
|
"--n-color-active-disabled": e.colorActiveDisabled || e.boxShadowDisabled
|
|
19
19
|
});
|
|
@@ -22,15 +22,15 @@ const y = /* @__PURE__ */ r({
|
|
|
22
22
|
immediate: !0
|
|
23
23
|
}
|
|
24
24
|
), (e, w) => {
|
|
25
|
-
const
|
|
26
|
-
return
|
|
27
|
-
class: ["base-radio",
|
|
28
|
-
style: [
|
|
29
|
-
}),
|
|
30
|
-
|
|
31
|
-
name:
|
|
32
|
-
fn:
|
|
33
|
-
|
|
25
|
+
const s = i;
|
|
26
|
+
return m(), l(s, c(e.$attrs, {
|
|
27
|
+
class: ["base-radio", e.className],
|
|
28
|
+
style: [o.value, e.style]
|
|
29
|
+
}), f({ _: 2 }, [
|
|
30
|
+
p(e.$slots, (_, t) => ({
|
|
31
|
+
name: t,
|
|
32
|
+
fn: b(() => [
|
|
33
|
+
v(e.$slots, t, {}, void 0, !0)
|
|
34
34
|
])
|
|
35
35
|
}))
|
|
36
36
|
]), 1040, ["class", "style"]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NSelect as
|
|
2
|
-
import { defineComponent as m, createBlock as b, openBlock as
|
|
1
|
+
import { NSelect as i, NCheckbox as u, NTag as p } from "naive-ui";
|
|
2
|
+
import { defineComponent as m, createBlock as b, openBlock as c, mergeProps as f, createSlots as g, renderList as z, withCtx as h, renderSlot as v, h as r } from "vue";
|
|
3
3
|
const T = /* @__PURE__ */ m({
|
|
4
4
|
name: "BaseSelect",
|
|
5
5
|
__name: "index",
|
|
@@ -8,52 +8,52 @@ const T = /* @__PURE__ */ m({
|
|
|
8
8
|
multiple: { type: Boolean, default: !1 },
|
|
9
9
|
size: { default: "medium" }
|
|
10
10
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
11
|
+
setup(d) {
|
|
12
|
+
const t = d, o = (e, s) => [
|
|
13
13
|
r(
|
|
14
14
|
u,
|
|
15
15
|
{
|
|
16
|
-
checked:
|
|
16
|
+
checked: s,
|
|
17
17
|
disabled: e.disabled
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
default: () => e.label
|
|
21
21
|
}
|
|
22
22
|
)
|
|
23
|
-
],
|
|
24
|
-
|
|
23
|
+
], n = ({ option: e, handleClose: s }) => r(
|
|
24
|
+
p,
|
|
25
25
|
{
|
|
26
26
|
type: "default",
|
|
27
27
|
closable: !0,
|
|
28
28
|
bordered: !1,
|
|
29
|
-
disabled:
|
|
30
|
-
size:
|
|
31
|
-
onMousedown: (
|
|
32
|
-
|
|
29
|
+
disabled: t.disabled,
|
|
30
|
+
size: t.size,
|
|
31
|
+
onMousedown: (l) => {
|
|
32
|
+
l.preventDefault();
|
|
33
33
|
},
|
|
34
|
-
onClose: (
|
|
35
|
-
|
|
34
|
+
onClose: (l) => {
|
|
35
|
+
l.stopPropagation(), s();
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{ default: () => e.label }
|
|
39
39
|
);
|
|
40
|
-
return (e,
|
|
41
|
-
const
|
|
42
|
-
return
|
|
40
|
+
return (e, s) => {
|
|
41
|
+
const l = i;
|
|
42
|
+
return c(), b(l, f({
|
|
43
43
|
class: "base-select",
|
|
44
|
-
disabled:
|
|
45
|
-
renderTag:
|
|
46
|
-
"render-label":
|
|
47
|
-
multiple:
|
|
48
|
-
size:
|
|
44
|
+
disabled: e.disabled,
|
|
45
|
+
renderTag: e.multiple ? n : void 0,
|
|
46
|
+
"render-label": e.multiple ? o : void 0,
|
|
47
|
+
multiple: e.multiple,
|
|
48
|
+
size: e.size,
|
|
49
49
|
"menu-props": {
|
|
50
50
|
class: "base-select-menu"
|
|
51
51
|
}
|
|
52
52
|
}, e.$attrs), g({ _: 2 }, [
|
|
53
|
-
z(e.$slots, (B,
|
|
54
|
-
name:
|
|
53
|
+
z(e.$slots, (B, a) => ({
|
|
54
|
+
name: a,
|
|
55
55
|
fn: h(() => [
|
|
56
|
-
v(e.$slots,
|
|
56
|
+
v(e.$slots, a, {}, void 0, !0)
|
|
57
57
|
])
|
|
58
58
|
}))
|
|
59
59
|
]), 1040, ["disabled", "renderTag", "render-label", "multiple", "size"]);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { NSlider as
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import { NSlider as z, NInputNumber as w } from "naive-ui";
|
|
2
|
+
import { defineComponent as b, shallowRef as B, computed as k, watch as N, createElementBlock as o, openBlock as i, normalizeStyle as S, createElementVNode as t, createCommentVNode as s, createVNode as u, mergeProps as x, toDisplayString as d, createBlock as C, Fragment as E } from "vue";
|
|
3
|
+
import I from "../../hooks/useNaiveConfigProvideContext.mjs";
|
|
4
|
+
const T = { class: "slider-content" }, U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "extreme-value-text"
|
|
7
|
-
},
|
|
7
|
+
}, V = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "slider-input"
|
|
10
|
-
}, D = /* @__PURE__ */
|
|
10
|
+
}, D = /* @__PURE__ */ b({
|
|
11
11
|
name: "BaseSlider",
|
|
12
12
|
__name: "index",
|
|
13
13
|
props: {
|
|
@@ -22,82 +22,82 @@ const I = { class: "slider-content" }, T = {
|
|
|
22
22
|
precision: { default: 0 }
|
|
23
23
|
},
|
|
24
24
|
emits: ["update:value"],
|
|
25
|
-
setup(
|
|
26
|
-
const f =
|
|
25
|
+
setup(p, { emit: v }) {
|
|
26
|
+
const f = p, { mergedThemeOverridesRef: y } = I(), m = B({}), g = v, n = k({
|
|
27
27
|
get() {
|
|
28
28
|
return f.value;
|
|
29
29
|
},
|
|
30
|
-
set(
|
|
31
|
-
|
|
30
|
+
set(e) {
|
|
31
|
+
g("update:value", e);
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
|
-
return
|
|
35
|
-
() =>
|
|
36
|
-
(
|
|
37
|
-
|
|
38
|
-
"--n-slider-handler-border":
|
|
39
|
-
"--n-slider-input-width":
|
|
40
|
-
"--n-slider-range-input-line-color":
|
|
41
|
-
"--n-slider-extreme-value-text-color":
|
|
34
|
+
return N(
|
|
35
|
+
() => y?.value?.Slider,
|
|
36
|
+
(e) => {
|
|
37
|
+
e && (m.value = {
|
|
38
|
+
"--n-slider-handler-border": e.handleBorderStyle,
|
|
39
|
+
"--n-slider-input-width": e.inputWidth,
|
|
40
|
+
"--n-slider-range-input-line-color": e.rangeInputLineColor,
|
|
41
|
+
"--n-slider-extreme-value-text-color": e.extremeValueTextColor
|
|
42
42
|
});
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
immediate: !0
|
|
46
46
|
}
|
|
47
|
-
), (
|
|
48
|
-
const
|
|
49
|
-
return i(),
|
|
47
|
+
), (e, l) => {
|
|
48
|
+
const h = z, r = w;
|
|
49
|
+
return i(), o("div", {
|
|
50
50
|
class: "base-slider",
|
|
51
|
-
style:
|
|
51
|
+
style: S([m.value, e.style])
|
|
52
52
|
}, [
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
value:
|
|
56
|
-
"onUpdate:value":
|
|
53
|
+
t("div", T, [
|
|
54
|
+
u(h, x(e.$attrs, {
|
|
55
|
+
value: n.value,
|
|
56
|
+
"onUpdate:value": l[0] || (l[0] = (a) => n.value = a),
|
|
57
57
|
min: e.min,
|
|
58
58
|
max: e.max,
|
|
59
59
|
range: e.range
|
|
60
60
|
}), null, 16, ["value", "min", "max", "range"]),
|
|
61
|
-
e.showExtremeValueText ? (i(),
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
])) :
|
|
61
|
+
e.showExtremeValueText ? (i(), o("div", U, [
|
|
62
|
+
t("div", null, d(e.min), 1),
|
|
63
|
+
t("div", null, d(e.max), 1)
|
|
64
|
+
])) : s("", !0)
|
|
65
65
|
]),
|
|
66
|
-
e.showInput ? (i(),
|
|
67
|
-
!e.range && typeof
|
|
66
|
+
e.showInput ? (i(), o("div", V, [
|
|
67
|
+
!e.range && typeof n.value == "number" ? (i(), C(r, {
|
|
68
68
|
key: 0,
|
|
69
69
|
"show-button": !1,
|
|
70
70
|
placeholder: "",
|
|
71
71
|
size: e.size,
|
|
72
|
-
value:
|
|
73
|
-
"onUpdate:value":
|
|
72
|
+
value: n.value,
|
|
73
|
+
"onUpdate:value": l[1] || (l[1] = (a) => n.value = a),
|
|
74
74
|
min: e.min,
|
|
75
75
|
max: e.max,
|
|
76
76
|
precision: e.precision
|
|
77
|
-
}, null, 8, ["size", "value", "min", "max", "precision"])) : e.range && typeof
|
|
78
|
-
|
|
77
|
+
}, null, 8, ["size", "value", "min", "max", "precision"])) : e.range && typeof n.value != "number" ? (i(), o(E, { key: 1 }, [
|
|
78
|
+
u(r, {
|
|
79
79
|
"show-button": !1,
|
|
80
80
|
placeholder: "",
|
|
81
81
|
size: e.size,
|
|
82
|
-
value:
|
|
83
|
-
"onUpdate:value":
|
|
82
|
+
value: n.value[0],
|
|
83
|
+
"onUpdate:value": l[2] || (l[2] = (a) => n.value[0] = a),
|
|
84
84
|
min: e.min,
|
|
85
85
|
max: e.max,
|
|
86
86
|
precision: e.precision
|
|
87
87
|
}, null, 8, ["size", "value", "min", "max", "precision"]),
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
l[4] || (l[4] = t("div", { class: "line" }, null, -1)),
|
|
89
|
+
u(r, {
|
|
90
90
|
"show-button": !1,
|
|
91
91
|
placeholder: "",
|
|
92
92
|
size: e.size,
|
|
93
|
-
value:
|
|
94
|
-
"onUpdate:value":
|
|
93
|
+
value: n.value[1],
|
|
94
|
+
"onUpdate:value": l[3] || (l[3] = (a) => n.value[1] = a),
|
|
95
95
|
min: e.min,
|
|
96
96
|
max: e.max,
|
|
97
97
|
precision: e.precision
|
|
98
98
|
}, null, 8, ["size", "value", "min", "max", "precision"])
|
|
99
|
-
], 64)) :
|
|
100
|
-
])) :
|
|
99
|
+
], 64)) : s("", !0)
|
|
100
|
+
])) : s("", !0)
|
|
101
101
|
], 4);
|
|
102
102
|
};
|
|
103
103
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { NSwitch as
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import
|
|
4
|
-
const g = /* @__PURE__ */
|
|
1
|
+
import { NSwitch as i } from "naive-ui";
|
|
2
|
+
import { defineComponent as l, shallowRef as a, watch as n, createBlock as d, openBlock as c, mergeProps as m, createSlots as f, renderList as u, withCtx as b, renderSlot as p } from "vue";
|
|
3
|
+
import v from "../../hooks/useNaiveConfigProvideContext.mjs";
|
|
4
|
+
const g = /* @__PURE__ */ l({
|
|
5
5
|
name: "BaseSwitch",
|
|
6
6
|
__name: "index",
|
|
7
7
|
props: {
|
|
8
8
|
className: { default: "" },
|
|
9
9
|
style: { default: () => ({}) }
|
|
10
10
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
13
|
-
return
|
|
14
|
-
() =>
|
|
11
|
+
setup(h) {
|
|
12
|
+
const s = v(), t = a({});
|
|
13
|
+
return n(
|
|
14
|
+
() => s?.mergedThemeOverridesRef.value.Switch,
|
|
15
15
|
(e) => {
|
|
16
|
-
e && (
|
|
16
|
+
e && (t.value = {
|
|
17
17
|
"--n-rail-color-active-disabled": e.railColorActiveDisabled,
|
|
18
18
|
"--n-rail-color-disabled": e.railColorDisabled,
|
|
19
19
|
"--n-button-color-disabled": e.buttonColorDisabled,
|
|
@@ -24,15 +24,15 @@ const g = /* @__PURE__ */ a({
|
|
|
24
24
|
immediate: !0
|
|
25
25
|
}
|
|
26
26
|
), (e, C) => {
|
|
27
|
-
const r =
|
|
28
|
-
return
|
|
29
|
-
class: `base-switch ${
|
|
30
|
-
style: [
|
|
31
|
-
}),
|
|
32
|
-
|
|
33
|
-
name:
|
|
34
|
-
fn:
|
|
35
|
-
|
|
27
|
+
const r = i;
|
|
28
|
+
return c(), d(r, m(e.$attrs, {
|
|
29
|
+
class: `base-switch ${e.className}`,
|
|
30
|
+
style: [t.value, e.style]
|
|
31
|
+
}), f({ _: 2 }, [
|
|
32
|
+
u(e.$slots, (w, o) => ({
|
|
33
|
+
name: o,
|
|
34
|
+
fn: b(() => [
|
|
35
|
+
p(e.$slots, o, {}, void 0, !0)
|
|
36
36
|
])
|
|
37
37
|
}))
|
|
38
38
|
]), 1040, ["class", "style"]);
|