base6-ui 2.0.24 → 2.0.26
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/platform-navigation/index.d.ts +1 -1
- package/dist/components/platform-navigation/index.vue.d.ts +3 -1
- package/dist/components/platform-navigation/interface.d.ts +3 -0
- package/dist/config/themes/token/dark.d.ts +4 -0
- package/dist/config/themes/token/light.d.ts +5 -0
- package/dist/index.css +1 -1
- package/dist/index.umd.js +3 -3
- package/es/components/dialog/index.vue.mjs +3 -3
- package/es/components/dialog/options.mjs +1 -1
- package/es/components/global-header/index.vue.mjs +4 -3
- package/es/components/layout/components/{WrapHeader.vue.mjs → WrapHeader.vue2.mjs} +1 -1
- package/es/components/layout/index.vue2.mjs +1 -1
- package/es/components/platform-navigation/index.d.ts +1 -1
- package/es/components/platform-navigation/index.vue.d.ts +3 -1
- package/es/components/platform-navigation/index.vue.mjs +2 -2
- package/es/components/platform-navigation/index.vue2.mjs +74 -70
- package/es/components/platform-navigation/interface.d.ts +3 -0
- package/es/config/themes/components/baseComponent/light.mjs +15 -14
- package/es/config/themes/components/card/light.mjs +3 -2
- package/es/config/themes/components/checkbox/light.mjs +3 -2
- package/es/config/themes/components/dataTable/light.mjs +3 -2
- package/es/config/themes/components/divider/light.mjs +4 -3
- package/es/config/themes/components/layout/light.mjs +3 -2
- package/es/config/themes/components/popover/light.mjs +3 -2
- package/es/config/themes/components/radio/light.mjs +3 -2
- package/es/config/themes/components/switch/light.mjs +5 -4
- package/es/config/themes/index.mjs +8 -6
- package/es/config/themes/token/dark.d.ts +4 -0
- package/es/config/themes/token/dark.mjs +8 -3
- package/es/config/themes/token/light.d.ts +5 -0
- package/es/config/themes/token/light.mjs +10 -5
- package/es/globalMethods/modules/confirmTip.mjs +12 -11
- package/es/index.css +1 -1
- package/es/locale/lang/en-us.mjs +4 -4
- package/es/locale/lang/zh-cn.mjs +4 -4
- package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs +6 -0
- package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/_internal/getTag.mjs +6 -0
- package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/_internal/tags.mjs +25 -0
- package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/object/cloneDeep.mjs +7 -0
- package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/object/cloneDeepWith.mjs +127 -0
- package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/predicate/isPrimitive.mjs +6 -0
- package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/predicate/isTypedArray.mjs +6 -0
- package/lib/components/dialog/index.vue.js +1 -1
- package/lib/components/dialog/options.js +1 -1
- package/lib/components/global-header/index.vue.js +1 -1
- package/lib/components/layout/components/WrapHeader.vue2.js +1 -0
- package/lib/components/layout/index.vue2.js +1 -1
- package/lib/components/platform-navigation/index.d.ts +1 -1
- package/lib/components/platform-navigation/index.vue.d.ts +3 -1
- package/lib/components/platform-navigation/index.vue.js +1 -1
- package/lib/components/platform-navigation/index.vue2.js +1 -1
- package/lib/components/platform-navigation/interface.d.ts +3 -0
- package/lib/config/themes/components/baseComponent/light.js +1 -1
- package/lib/config/themes/components/card/light.js +1 -1
- package/lib/config/themes/components/checkbox/light.js +1 -1
- package/lib/config/themes/components/dataTable/light.js +1 -1
- package/lib/config/themes/components/divider/light.js +1 -1
- package/lib/config/themes/components/layout/light.js +1 -1
- package/lib/config/themes/components/popover/light.js +1 -1
- package/lib/config/themes/components/radio/light.js +1 -1
- package/lib/config/themes/components/switch/light.js +1 -1
- package/lib/config/themes/index.js +1 -1
- package/lib/config/themes/token/dark.d.ts +4 -0
- package/lib/config/themes/token/dark.js +1 -1
- package/lib/config/themes/token/light.d.ts +5 -0
- package/lib/config/themes/token/light.js +1 -1
- package/lib/globalMethods/modules/confirmTip.js +1 -1
- package/lib/index.css +1 -1
- package/lib/locale/lang/en-us.js +2 -2
- package/lib/locale/lang/zh-cn.js +2 -2
- package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js +1 -0
- package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/_internal/getTag.js +1 -0
- package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/_internal/tags.js +1 -0
- package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/object/cloneDeep.js +1 -0
- package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/object/cloneDeepWith.js +1 -0
- package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/predicate/isPrimitive.js +1 -0
- package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/predicate/isTypedArray.js +1 -0
- package/package.json +1 -1
- package/lib/components/layout/components/WrapHeader.vue.js +0 -1
|
@@ -7,7 +7,7 @@ import { useLocale as R } from "../../hooks/useLocale.mjs";
|
|
|
7
7
|
const D = {
|
|
8
8
|
key: 1,
|
|
9
9
|
style: { margin: "0 auto" }
|
|
10
|
-
},
|
|
10
|
+
}, q = /* @__PURE__ */ P({
|
|
11
11
|
__name: "index",
|
|
12
12
|
props: /* @__PURE__ */ E({
|
|
13
13
|
visible: { type: Boolean },
|
|
@@ -46,7 +46,7 @@ const D = {
|
|
|
46
46
|
position: "fixed",
|
|
47
47
|
left: "50%",
|
|
48
48
|
top: `${n.top}`,
|
|
49
|
-
transform: "
|
|
49
|
+
transform: "translate(-50%, -50%)"
|
|
50
50
|
})), v = l(() => ({
|
|
51
51
|
lineHeight: "28px",
|
|
52
52
|
textAlign: `${n.center ? "center" : "left"}`
|
|
@@ -147,5 +147,5 @@ const D = {
|
|
|
147
147
|
}
|
|
148
148
|
});
|
|
149
149
|
export {
|
|
150
|
-
|
|
150
|
+
q as default
|
|
151
151
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { defineComponent as S, ref as c, computed as I, createBlock as p, openBlock as s, unref as m, withCtx as i, createVNode as u, renderSlot as g, createCommentVNode as T, createSlots as w } from "vue";
|
|
2
2
|
import B from "./title.vue.mjs";
|
|
3
3
|
import L from "../system-actions/index.vue.mjs";
|
|
4
|
-
/* empty css
|
|
4
|
+
/* empty css */
|
|
5
5
|
import "../layout/options.mjs";
|
|
6
6
|
/* empty css */
|
|
7
7
|
import P from "../layout/header/index.vue.mjs";
|
|
8
|
+
import "../../config/themes/token/dark.mjs";
|
|
8
9
|
import "../../config/themes/token/light.mjs";
|
|
9
10
|
import "../../config/themes/components/alert/light.mjs";
|
|
10
11
|
import "../../config/themes/components/button/light.mjs";
|
|
@@ -60,7 +61,7 @@ import "../../config/themes/components/charts/light.mjs";
|
|
|
60
61
|
/* empty css */
|
|
61
62
|
import b from "../layout/aside-menu/aside-menu.mjs";
|
|
62
63
|
import "../layout/aside-menu/props.mjs";
|
|
63
|
-
const
|
|
64
|
+
const Uo = /* @__PURE__ */ S({
|
|
64
65
|
name: "BodenGlobalHeader",
|
|
65
66
|
__name: "index",
|
|
66
67
|
props: {
|
|
@@ -152,5 +153,5 @@ const Oo = /* @__PURE__ */ S({
|
|
|
152
153
|
}
|
|
153
154
|
});
|
|
154
155
|
export {
|
|
155
|
-
|
|
156
|
+
Uo as default
|
|
156
157
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as I, mergeDefaults as _, useSlots as E, computed as o, createElementBlock as T, openBlock as u, normalizeStyle as j, createElementVNode as z, normalizeClass as G, unref as M, createBlock as p, createCommentVNode as l, createVNode as P, withCtx as d, renderSlot as c } from "vue";
|
|
2
|
-
import A from "./components/WrapHeader.
|
|
2
|
+
import A from "./components/WrapHeader.vue2.mjs";
|
|
3
3
|
import N from "./components/WrapTab.vue.mjs";
|
|
4
4
|
import D from "./components/WrapContent.vue.mjs";
|
|
5
5
|
import O from "./components/WrapSlider.vue.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as BodenPlatformNavigation } from './index.vue';
|
|
2
|
-
export { type BodenPlatformNavigationProps, BODEN_PLATFORM_ENUM, BODEN_PLATFORM_NAME_ENUM } from './interface';
|
|
2
|
+
export { type BodenPlatformNavigationProps, type BodenPlatformNavigationInstance, BODEN_PLATFORM_ENUM, BODEN_PLATFORM_NAME_ENUM } from './interface';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { BodenPlatformNavigationProps, BODEN_PLATFORM_ENUM } from './interface';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<BodenPlatformNavigationProps, {
|
|
2
|
+
declare const _default: import('vue').DefineComponent<BodenPlatformNavigationProps, {
|
|
3
|
+
updateShow: (value: boolean) => void;
|
|
4
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
5
|
togglePlatform: (...args: any[]) => void;
|
|
4
6
|
}, string, import('vue').PublicProps, Readonly<BodenPlatformNavigationProps> & Readonly<{
|
|
5
7
|
onTogglePlatform?: ((...args: any[]) => any) | undefined;
|
|
@@ -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
|
|
5
|
+
const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d7f37bb4"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
i as default
|
|
8
8
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { NPopover as
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import
|
|
4
|
-
import { useLocale as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { createCardThemeOverrides as
|
|
1
|
+
import { NPopover as K, NGrid as $, NGi as H, NCard as j, NButton as q } from "naive-ui";
|
|
2
|
+
import { defineComponent as J, ref as N, computed as g, resolveComponent as Q, createElementBlock as u, openBlock as l, createVNode as p, createBlock as _, withModifiers as k, normalizeStyle as W, withCtx as s, createElementVNode as o, toDisplayString as f, unref as X, Fragment as y, renderList as P, createCommentVNode as B, normalizeClass as Y, createTextVNode as Z, Teleport as ee, withDirectives as oe, vShow as te } from "vue";
|
|
3
|
+
import ie from "../nav-icon/index.vue.mjs";
|
|
4
|
+
import { useLocale as ne } from "../../hooks/useLocale.mjs";
|
|
5
|
+
import re from "../../hooks/useNaiveConfigProvideContext.mjs";
|
|
6
|
+
import ae from "../../assets/cover/base-ads.png.mjs";
|
|
7
|
+
import le from "../../assets/cover/base-studio.png.mjs";
|
|
8
|
+
import se from "../../assets/cover/base-multimodal.png.mjs";
|
|
9
|
+
import de from "../../assets/cover/robo.png.mjs";
|
|
10
|
+
import ce from "../../assets/cover/ps.png.mjs";
|
|
11
|
+
import me from "../../assets/cover/blink.png.mjs";
|
|
12
|
+
import { createCardThemeOverrides as pe, createHorizontalCardThemeOverrides as fe, createPopoverCssVar as ve } from "./cssVar.mjs";
|
|
13
13
|
import { BODEN_PLATFORM_NAME_ENUM as d, BODEN_PLATFORM_ENUM as c } from "./interface.mjs";
|
|
14
|
-
const
|
|
14
|
+
const ge = { class: "header" }, ue = { class: "content-wrapper" }, he = { class: "platform-type-item-header" }, _e = { class: "title" }, be = { class: "description" }, Ne = ["src"], ke = { class: "platform-card_content" }, ye = { class: "title" }, Pe = { class: "description" }, Be = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "navigation"
|
|
17
|
-
},
|
|
17
|
+
}, Se = { class: "boden-platform-navigation-panel-mask" }, Ue = /* @__PURE__ */ J({
|
|
18
18
|
__name: "index",
|
|
19
19
|
props: {
|
|
20
20
|
platformCode: { default: () => [] },
|
|
@@ -23,13 +23,13 @@ const fe = { class: "header" }, ve = { class: "content-wrapper" }, ge = { class:
|
|
|
23
23
|
y: { default: 0 }
|
|
24
24
|
},
|
|
25
25
|
emits: ["togglePlatform"],
|
|
26
|
-
setup(m, { emit:
|
|
27
|
-
const
|
|
26
|
+
setup(m, { expose: S, emit: C }) {
|
|
27
|
+
const D = m, x = C, O = re(), { t: e } = ne(), v = N(null), n = N(!1), h = g(() => {
|
|
28
28
|
const {
|
|
29
|
-
name:
|
|
30
|
-
} =
|
|
31
|
-
return
|
|
32
|
-
}),
|
|
29
|
+
name: r = "light"
|
|
30
|
+
} = O?.mergedThemeRef.value || {};
|
|
31
|
+
return r !== "light";
|
|
32
|
+
}), w = [
|
|
33
33
|
{
|
|
34
34
|
key: "bric",
|
|
35
35
|
title: e("boden.platformNavigation.BricPlatform"),
|
|
@@ -41,14 +41,14 @@ const fe = { class: "header" }, ve = { class: "content-wrapper" }, ge = { class:
|
|
|
41
41
|
key: d.ROBO,
|
|
42
42
|
title: e("boden.platformNavigation.RoboPlatform"),
|
|
43
43
|
description: e("boden.platformNavigation.RoboPlatformDescription"),
|
|
44
|
-
imageSrc:
|
|
44
|
+
imageSrc: de
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
id: c.PS,
|
|
48
48
|
key: d.PS,
|
|
49
49
|
title: e("boden.platformNavigation.PsPlatform"),
|
|
50
50
|
description: e("boden.platformNavigation.PsPlatformDescription"),
|
|
51
|
-
imageSrc:
|
|
51
|
+
imageSrc: ce
|
|
52
52
|
}
|
|
53
53
|
]
|
|
54
54
|
},
|
|
@@ -63,21 +63,21 @@ const fe = { class: "header" }, ve = { class: "content-wrapper" }, ge = { class:
|
|
|
63
63
|
key: d.ADS,
|
|
64
64
|
title: e("boden.platformNavigation.AdsPlatform"),
|
|
65
65
|
description: e("boden.platformNavigation.AdsPlatformDescription"),
|
|
66
|
-
imageSrc:
|
|
66
|
+
imageSrc: ae
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
id: c.BASE,
|
|
70
70
|
key: d.STUDIO,
|
|
71
71
|
title: e("boden.platformNavigation.StudioPlatform"),
|
|
72
72
|
description: e("boden.platformNavigation.StudioPlatformDescription"),
|
|
73
|
-
imageSrc:
|
|
73
|
+
imageSrc: le
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
id: c.BASE,
|
|
77
77
|
key: d.OMNI,
|
|
78
78
|
title: e("boden.platformNavigation.OmniPlatform"),
|
|
79
79
|
description: e("boden.platformNavigation.OmniPlatformDescription"),
|
|
80
|
-
imageSrc:
|
|
80
|
+
imageSrc: se
|
|
81
81
|
}
|
|
82
82
|
]
|
|
83
83
|
},
|
|
@@ -92,103 +92,107 @@ const fe = { class: "header" }, ve = { class: "content-wrapper" }, ge = { class:
|
|
|
92
92
|
key: d.BLINK,
|
|
93
93
|
title: e("boden.platformNavigation.BlinkPlatformSpecific"),
|
|
94
94
|
description: e("boden.platformNavigation.BlinkPlatformSpecificDescription"),
|
|
95
|
-
imageSrc:
|
|
95
|
+
imageSrc: me
|
|
96
96
|
}
|
|
97
97
|
]
|
|
98
98
|
}
|
|
99
|
-
],
|
|
100
|
-
|
|
101
|
-
},
|
|
102
|
-
|
|
103
|
-
},
|
|
104
|
-
|
|
99
|
+
], R = g(() => pe(h.value)), A = g(() => fe(h.value)), E = g(() => ve(h.value)), I = () => {
|
|
100
|
+
D.triggerDisabled || b(!n.value);
|
|
101
|
+
}, b = (r) => {
|
|
102
|
+
n.value = r;
|
|
103
|
+
}, T = (r, i) => {
|
|
104
|
+
x("togglePlatform", r, i);
|
|
105
|
+
}, M = (r) => {
|
|
106
|
+
v.value && v.value.instRef && v.value.instRef.contains(r.target) || (n.value = !1);
|
|
105
107
|
};
|
|
106
|
-
return (
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
return S({
|
|
109
|
+
updateShow: b
|
|
110
|
+
}), (r, i) => {
|
|
111
|
+
const L = Q("svg-icon"), z = q, V = j, F = H, U = $, G = K;
|
|
112
|
+
return l(), u("div", null, [
|
|
113
|
+
p(ie, {
|
|
110
114
|
ref_key: "triggerInstRef",
|
|
111
115
|
ref: v,
|
|
112
116
|
active: n.value,
|
|
113
117
|
disabled: m.triggerDisabled,
|
|
114
|
-
onClick:
|
|
118
|
+
onClick: k(I, ["stop"])
|
|
115
119
|
}, null, 8, ["active", "disabled"]),
|
|
116
|
-
p(
|
|
120
|
+
p(G, {
|
|
117
121
|
"content-class": "boden-platform-navigation-panel-popover",
|
|
118
122
|
trigger: "manual",
|
|
119
123
|
show: n.value,
|
|
120
124
|
"onUpdate:show": i[2] || (i[2] = (t) => n.value = t),
|
|
121
|
-
style:
|
|
125
|
+
style: W(E.value),
|
|
122
126
|
"show-arrow": !1,
|
|
123
127
|
width: 1058,
|
|
124
128
|
scrollable: "",
|
|
125
129
|
x: m.x,
|
|
126
130
|
y: m.y,
|
|
127
131
|
"theme-overrides": { padding: "0", space: "0", borderRadius: "3px" },
|
|
128
|
-
onClickoutside:
|
|
132
|
+
onClickoutside: M
|
|
129
133
|
}, {
|
|
130
134
|
default: s(() => [
|
|
131
135
|
o("div", {
|
|
132
136
|
class: "boden-platform-navigation-panel",
|
|
133
|
-
onClick: i[1] || (i[1] =
|
|
137
|
+
onClick: i[1] || (i[1] = k(() => {
|
|
134
138
|
}, ["stop"]))
|
|
135
139
|
}, [
|
|
136
|
-
o("div",
|
|
137
|
-
o("div", null, f(
|
|
138
|
-
p(
|
|
140
|
+
o("div", ge, [
|
|
141
|
+
o("div", null, f(X(e)("boden.platformNavigation.allProducts")), 1),
|
|
142
|
+
p(L, {
|
|
139
143
|
icon: "operate-close",
|
|
140
144
|
size: "16",
|
|
141
145
|
onClick: i[0] || (i[0] = (t) => n.value = !1)
|
|
142
146
|
})
|
|
143
147
|
]),
|
|
144
|
-
o("div",
|
|
145
|
-
(
|
|
148
|
+
o("div", ue, [
|
|
149
|
+
(l(), u(y, null, P(w, (t) => o("div", {
|
|
146
150
|
key: t.key,
|
|
147
151
|
class: "platform-type-item"
|
|
148
152
|
}, [
|
|
149
|
-
o("div",
|
|
150
|
-
o("div",
|
|
151
|
-
o("div",
|
|
153
|
+
o("div", he, [
|
|
154
|
+
o("div", _e, f(t.title), 1),
|
|
155
|
+
o("div", be, f(t.description), 1)
|
|
152
156
|
]),
|
|
153
|
-
t.children && t.children.length ? (
|
|
157
|
+
t.children && t.children.length ? (l(), _(U, {
|
|
154
158
|
key: 0,
|
|
155
159
|
"x-gap": "12",
|
|
156
160
|
cols: t.children.length === 1 ? 1 : 3,
|
|
157
161
|
style: { "margin-top": "12px" }
|
|
158
162
|
}, {
|
|
159
163
|
default: s(() => [
|
|
160
|
-
(
|
|
161
|
-
key:
|
|
164
|
+
(l(!0), u(y, null, P(t.children, (a) => (l(), _(F, {
|
|
165
|
+
key: a.key
|
|
162
166
|
}, {
|
|
163
167
|
default: s(() => [
|
|
164
|
-
p(
|
|
165
|
-
class:
|
|
166
|
-
"theme-overrides": t.children.length === 1 ?
|
|
168
|
+
p(V, {
|
|
169
|
+
class: Y(["platform-card", { "is-horizontal": t.children.length === 1 }]),
|
|
170
|
+
"theme-overrides": t.children.length === 1 ? A.value : R.value
|
|
167
171
|
}, {
|
|
168
172
|
cover: s(() => [
|
|
169
173
|
o("img", {
|
|
170
|
-
src:
|
|
174
|
+
src: a.imageSrc,
|
|
171
175
|
alt: ""
|
|
172
|
-
}, null, 8,
|
|
176
|
+
}, null, 8, Ne)
|
|
173
177
|
]),
|
|
174
178
|
default: s(() => [
|
|
175
|
-
o("div",
|
|
176
|
-
o("div",
|
|
177
|
-
o("div",
|
|
179
|
+
o("div", ke, [
|
|
180
|
+
o("div", ye, f(a.title), 1),
|
|
181
|
+
o("div", Pe, f(a.description), 1)
|
|
178
182
|
]),
|
|
179
|
-
m.platformCode?.includes(
|
|
180
|
-
p(
|
|
183
|
+
m.platformCode?.includes(a.id) ? (l(), u("div", Be, [
|
|
184
|
+
p(z, {
|
|
181
185
|
round: "",
|
|
182
186
|
size: "tiny",
|
|
183
187
|
type: "primary",
|
|
184
|
-
onClick: (
|
|
188
|
+
onClick: (De) => T(a.id, a.key)
|
|
185
189
|
}, {
|
|
186
190
|
default: s(() => [...i[3] || (i[3] = [
|
|
187
|
-
|
|
191
|
+
Z("开始使用", -1)
|
|
188
192
|
])]),
|
|
189
193
|
_: 1
|
|
190
194
|
}, 8, ["onClick"])
|
|
191
|
-
])) :
|
|
195
|
+
])) : B("", !0)
|
|
192
196
|
]),
|
|
193
197
|
_: 2
|
|
194
198
|
}, 1032, ["class", "theme-overrides"])
|
|
@@ -197,16 +201,16 @@ const fe = { class: "header" }, ve = { class: "content-wrapper" }, ge = { class:
|
|
|
197
201
|
}, 1024))), 128))
|
|
198
202
|
]),
|
|
199
203
|
_: 2
|
|
200
|
-
}, 1032, ["cols"])) :
|
|
204
|
+
}, 1032, ["cols"])) : B("", !0)
|
|
201
205
|
])), 64))
|
|
202
206
|
])
|
|
203
207
|
])
|
|
204
208
|
]),
|
|
205
209
|
_: 1
|
|
206
210
|
}, 8, ["show", "style", "x", "y"]),
|
|
207
|
-
(
|
|
208
|
-
|
|
209
|
-
[
|
|
211
|
+
(l(), _(ee, { to: "body" }, [
|
|
212
|
+
oe(o("div", Se, null, 512), [
|
|
213
|
+
[te, n.value]
|
|
210
214
|
])
|
|
211
215
|
]))
|
|
212
216
|
]);
|
|
@@ -214,5 +218,5 @@ const fe = { class: "header" }, ve = { class: "content-wrapper" }, ge = { class:
|
|
|
214
218
|
}
|
|
215
219
|
});
|
|
216
220
|
export {
|
|
217
|
-
|
|
221
|
+
Ue as default
|
|
218
222
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import o from "../../color/light.mjs";
|
|
2
2
|
import { commonBase as r } from "../../common.mjs";
|
|
3
|
+
import "../../token/dark.mjs";
|
|
3
4
|
import e from "../../token/light.mjs";
|
|
4
|
-
const
|
|
5
|
+
const c = {
|
|
5
6
|
borderRadius: r.borderRadiusMedium,
|
|
6
7
|
padding: r.paddingBase,
|
|
7
8
|
peers: {
|
|
@@ -10,7 +11,7 @@ const l = {
|
|
|
10
11
|
textColor: e["color-text-1"]
|
|
11
12
|
}
|
|
12
13
|
}
|
|
13
|
-
},
|
|
14
|
+
}, d = {
|
|
14
15
|
peers: {
|
|
15
16
|
Popover: {
|
|
16
17
|
borderRadius: "10px"
|
|
@@ -19,11 +20,11 @@ const l = {
|
|
|
19
20
|
fontSize: r.fontSizeMedium,
|
|
20
21
|
iconColor: o["color-primary-6"],
|
|
21
22
|
iconSize: r.iconSizeBase
|
|
22
|
-
},
|
|
23
|
+
}, n = {
|
|
23
24
|
arrowColor: o["color-gray-6"],
|
|
24
25
|
nodeTextColor: o["color-gray-10"],
|
|
25
26
|
lineColor: o["color-gray-5"]
|
|
26
|
-
},
|
|
27
|
+
}, m = {
|
|
27
28
|
// itemBorderDisabled: '0px solid transparent',
|
|
28
29
|
// itemBorderRadius: commonBase.borderRadiusMedium,
|
|
29
30
|
// itemTextColor: lightToken['color-text-1'],
|
|
@@ -172,7 +173,7 @@ const l = {
|
|
|
172
173
|
// selectMarginLarge: string;
|
|
173
174
|
// prefixMarginLarge: string;
|
|
174
175
|
// suffixMarginLarge: string;
|
|
175
|
-
},
|
|
176
|
+
}, g = {
|
|
176
177
|
fontSize: "20px",
|
|
177
178
|
/* 面包屑整体字体大小 */
|
|
178
179
|
// itemLineHeight: string; /* 面包屑项的行高 */
|
|
@@ -190,7 +191,7 @@ const l = {
|
|
|
190
191
|
// itemBorderRadius: string; /* 面包屑项的圆角大小 */
|
|
191
192
|
separatorColor: o["color-gray-4"]
|
|
192
193
|
/* 分隔符颜色(如 > 或 / 的颜色)*/
|
|
193
|
-
},
|
|
194
|
+
}, p = {
|
|
194
195
|
/* Line 类型文字颜色 */
|
|
195
196
|
tabTextColorLine: o["color-gray-8"],
|
|
196
197
|
/* 普通文字颜色 */
|
|
@@ -289,7 +290,7 @@ const l = {
|
|
|
289
290
|
/* 标签页圆角 */
|
|
290
291
|
tabRoundBorderRadius: r.tabRoundBorderRadius
|
|
291
292
|
// closeBorderRadius: commonBase.tabBorderRadius /* 关闭按钮圆角 */
|
|
292
|
-
},
|
|
293
|
+
}, s = {
|
|
293
294
|
indicatorColorProcess: o["color-primary-6"],
|
|
294
295
|
/* 进行状态指示器背景色 */
|
|
295
296
|
indicatorTextColorWait: o["color-gray-6"],
|
|
@@ -347,11 +348,11 @@ const l = {
|
|
|
347
348
|
/* 中尺寸指示器图标大小 */
|
|
348
349
|
};
|
|
349
350
|
export {
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
351
|
+
g as BreadcrumbThemeLight,
|
|
352
|
+
m as PaginationThemeLight,
|
|
353
|
+
d as PopconfirmThemeLight,
|
|
354
|
+
s as StepsThemeLight,
|
|
355
|
+
p as TabsThemeLight,
|
|
356
|
+
c as TooltipThemeLight,
|
|
357
|
+
n as TreeThemeLight
|
|
357
358
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import o from "../../color/light.mjs";
|
|
2
|
+
import "../../token/dark.mjs";
|
|
2
3
|
import r from "../../token/light.mjs";
|
|
3
|
-
const
|
|
4
|
+
const i = {
|
|
4
5
|
color: r["bg-color-3"],
|
|
5
6
|
paddingMedium: "16px 24px",
|
|
6
7
|
borderColor: o["color-gray-3"],
|
|
@@ -12,5 +13,5 @@ const t = {
|
|
|
12
13
|
colorModal: r["bg-color-3"]
|
|
13
14
|
};
|
|
14
15
|
export {
|
|
15
|
-
|
|
16
|
+
i as CardThemeLight
|
|
16
17
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import o from "../../color/light.mjs";
|
|
2
|
+
import "../../token/dark.mjs";
|
|
2
3
|
import r from "../../token/light.mjs";
|
|
3
4
|
import { CheckboxThemeCommon as e } from "./common.mjs";
|
|
4
|
-
const
|
|
5
|
+
const a = {
|
|
5
6
|
...e,
|
|
6
7
|
border: `1.5px solid ${o["color-gray-4"]}`,
|
|
7
8
|
borderChecked: `1.5px solid ${o["color-primary-6"]}`,
|
|
@@ -16,5 +17,5 @@ const d = {
|
|
|
16
17
|
textColorDisabled: o["color-gray-4"]
|
|
17
18
|
};
|
|
18
19
|
export {
|
|
19
|
-
|
|
20
|
+
a as CheckboxThemeLight
|
|
20
21
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import o from "../../color/light.mjs";
|
|
2
|
+
import "../../token/dark.mjs";
|
|
2
3
|
import r from "../../token/light.mjs";
|
|
3
4
|
import { DataTableThemeCommon as t } from "./common.mjs";
|
|
4
|
-
const
|
|
5
|
+
const m = {
|
|
5
6
|
...t,
|
|
6
7
|
tdColor: r["bg-color-2"],
|
|
7
8
|
tdColorStriped: o["color-gray-1"],
|
|
@@ -14,5 +15,5 @@ const g = {
|
|
|
14
15
|
borderColor: o["color-gray-3"]
|
|
15
16
|
};
|
|
16
17
|
export {
|
|
17
|
-
|
|
18
|
+
m as DataTableThemeLight
|
|
18
19
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import o from "../../color/light.mjs";
|
|
2
|
+
import "../../token/dark.mjs";
|
|
2
3
|
import r from "../../token/light.mjs";
|
|
3
|
-
const
|
|
4
|
+
const t = {
|
|
4
5
|
headerColor: r["bg-color-4"],
|
|
5
6
|
siderColor: r["bg-color-4"],
|
|
6
7
|
// 自定义
|
|
@@ -8,5 +9,5 @@ const i = {
|
|
|
8
9
|
siderFooterIconBgColor: o["color-gray-4"]
|
|
9
10
|
};
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
+
t as LayoutThemeLight
|
|
12
13
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { PopoverThemeCommon as o } from "./common.mjs";
|
|
2
|
+
import "../../token/dark.mjs";
|
|
2
3
|
import r from "../../token/light.mjs";
|
|
3
|
-
import
|
|
4
|
+
import m from "../../color/light.mjs";
|
|
4
5
|
const l = {
|
|
5
6
|
...o,
|
|
6
7
|
color: r["bg-color-3"],
|
|
7
|
-
textColor:
|
|
8
|
+
textColor: m["color-gray-10"]
|
|
8
9
|
};
|
|
9
10
|
export {
|
|
10
11
|
l as PopoverThemeLight
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import o from "../../color/light.mjs";
|
|
2
|
+
import "../../token/dark.mjs";
|
|
2
3
|
import r from "../../token/light.mjs";
|
|
3
|
-
const
|
|
4
|
+
const e = {
|
|
4
5
|
boxShadow: `inset 0 0 0 1.5px ${o["color-gray-4"]}`,
|
|
5
6
|
boxShadowActive: `inset 0 0 0 1.5px ${o["color-primary-6"]}`,
|
|
6
7
|
boxShadowActiveDisabled: `inset 0 0 0 1.5px ${o["color-primary-3"]}`,
|
|
@@ -14,5 +15,5 @@ const a = {
|
|
|
14
15
|
dotColorDisabled: r["bg-color-2"]
|
|
15
16
|
};
|
|
16
17
|
export {
|
|
17
|
-
|
|
18
|
+
e as RadioThemeLight
|
|
18
19
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import o from "../../color/light.mjs";
|
|
2
|
+
import "../../token/dark.mjs";
|
|
2
3
|
import r from "../../token/light.mjs";
|
|
3
|
-
import { SwitchThemeCommon as
|
|
4
|
-
const
|
|
5
|
-
...
|
|
4
|
+
import { SwitchThemeCommon as i } from "./common.mjs";
|
|
5
|
+
const m = {
|
|
6
|
+
...i,
|
|
6
7
|
buttonColorActiveDisabled: r["bg-color-2"],
|
|
7
8
|
buttonColorDisabled: r["bg-color-2"],
|
|
8
9
|
railColor: o["color-gray-4"],
|
|
@@ -11,5 +12,5 @@ const a = {
|
|
|
11
12
|
railColorDisabled: o["color-gray-3"]
|
|
12
13
|
};
|
|
13
14
|
export {
|
|
14
|
-
|
|
15
|
+
m as SwitchThemeLight
|
|
15
16
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { default as _ } from "./token/
|
|
1
|
+
import { default as _ } from "./token/dark.mjs";
|
|
2
|
+
import { default as oo } from "./token/light.mjs";
|
|
2
3
|
import "./components/alert/light.mjs";
|
|
3
4
|
import "./components/button/light.mjs";
|
|
4
5
|
import "./components/card/light.mjs";
|
|
@@ -48,12 +49,13 @@ import "./components/tag/dark.mjs";
|
|
|
48
49
|
import "./components/transfer/dark.mjs";
|
|
49
50
|
import "./components/baseComponent/dark.mjs";
|
|
50
51
|
import "./common/dark.mjs";
|
|
51
|
-
import { ChartsThemeDark as
|
|
52
|
-
import { ChartsThemeLight as
|
|
52
|
+
import { ChartsThemeDark as to } from "./components/charts/dark.mjs";
|
|
53
|
+
import { ChartsThemeLight as mo } from "./components/charts/light.mjs";
|
|
53
54
|
const X = "n-config-provider";
|
|
54
55
|
export {
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
to as ChartsThemeDark,
|
|
57
|
+
mo as ChartsThemeLight,
|
|
57
58
|
X as configProviderInjectionKey,
|
|
58
|
-
_ as
|
|
59
|
+
_ as darkToken,
|
|
60
|
+
oo as lightToken
|
|
59
61
|
};
|
|
@@ -24,5 +24,9 @@ declare const darkToken: {
|
|
|
24
24
|
'color-error-disabled-opacity': string;
|
|
25
25
|
'color-success-disabled': string;
|
|
26
26
|
'color-warning-disabled': string;
|
|
27
|
+
'border-color-1': string;
|
|
28
|
+
'border-color-2': string;
|
|
29
|
+
'border-color-3': string;
|
|
30
|
+
'border-color-4': string;
|
|
27
31
|
};
|
|
28
32
|
export default darkToken;
|