base6-ui 1.1.6 → 1.1.8
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/BaseLayout/ASide/index.vue.d.ts +4 -1
- package/dist/components/BaseLayout/ASide/type.d.ts +5 -2
- package/dist/components/BaseLayout/Default/index.vue.d.ts +5 -0
- package/dist/components/BaseLayout/Default/type.d.ts +1 -0
- package/dist/config/themes/token/light.d.ts +1 -0
- package/dist/index.css +1 -1
- package/dist/index.umd.js +1 -1
- package/es/components/BaseLayout/ASide/index.vue.d.ts +4 -1
- package/es/components/BaseLayout/ASide/index.vue.mjs +3 -3
- package/es/components/BaseLayout/ASide/index.vue2.mjs +30 -24
- package/es/components/BaseLayout/ASide/type.d.ts +5 -2
- package/es/components/BaseLayout/AsideMenu/index.vue.mjs +1 -1
- package/es/components/BaseLayout/Default/index.vue.d.ts +5 -0
- package/es/components/BaseLayout/Default/index.vue.mjs +5 -142
- package/es/components/BaseLayout/Default/index.vue2.mjs +145 -2
- package/es/components/BaseLayout/Default/layoutHeader/title.vue.mjs +2 -2
- package/es/components/BaseLayout/Default/layoutHeader/title.vue2.mjs +18 -17
- package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.mjs +62 -65
- package/es/components/BaseLayout/Default/layoutSlider/index.vue.mjs +17 -13
- package/es/components/BaseLayout/Default/type.d.ts +1 -0
- package/es/config/themes/components/baseComponent/dark.mjs +77 -72
- package/es/config/themes/components/baseComponent/light.mjs +10 -7
- package/es/config/themes/components/menu/dark.mjs +7 -3
- package/es/config/themes/components/menu/light.mjs +4 -1
- package/es/config/themes/token/light.d.ts +1 -0
- package/es/config/themes/token/light.mjs +1 -0
- package/es/index.css +1 -1
- package/lib/components/BaseLayout/ASide/index.vue.d.ts +4 -1
- package/lib/components/BaseLayout/ASide/index.vue.js +1 -1
- package/lib/components/BaseLayout/ASide/index.vue2.js +1 -1
- package/lib/components/BaseLayout/ASide/type.d.ts +5 -2
- package/lib/components/BaseLayout/AsideMenu/index.vue.js +1 -1
- package/lib/components/BaseLayout/Default/index.vue.d.ts +5 -0
- 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/title.vue.js +1 -1
- package/lib/components/BaseLayout/Default/layoutHeader/title.vue2.js +1 -1
- package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.js +1 -1
- package/lib/components/BaseLayout/Default/layoutSlider/index.vue.js +1 -1
- package/lib/components/BaseLayout/Default/type.d.ts +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/menu/dark.js +1 -1
- package/lib/config/themes/components/menu/light.js +1 -1
- package/lib/config/themes/token/light.d.ts +1 -0
- package/lib/config/themes/token/light.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/es/components/BaseLayout/Default/layoutFooter/index.vue.mjs +0 -16
- package/es/components/BaseLayout/Default/layoutTab/index.vue.mjs +0 -16
- package/lib/components/BaseLayout/Default/layoutFooter/index.vue.js +0 -1
- package/lib/components/BaseLayout/Default/layoutTab/index.vue.js +0 -1
|
@@ -1,94 +1,91 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { LAYOUT_SLIDER_MENU_ID as
|
|
5
|
-
import { useMixMenuContext as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
const
|
|
1
|
+
import { defineComponent as k, computed as p, ref as K, watch as L, resolveComponent as F, createBlock as B, openBlock as I, Teleport as A, unref as e, createElementVNode as l, createVNode as r, normalizeStyle as m, withCtx as U } from "vue";
|
|
2
|
+
import V from "../../../../../hooks/useBoolean.mjs";
|
|
3
|
+
import D from "../../../AsideMenu/index.vue.mjs";
|
|
4
|
+
import { LAYOUT_SLIDER_MENU_ID as E } from "../../constants.mjs";
|
|
5
|
+
import { useMixMenuContext as N, useMenu as R } from "../../../../../hooks/useMenu.mjs";
|
|
6
|
+
import T from "../components/first-level-menu.vue.mjs";
|
|
7
|
+
import W from "../../hooks/useBaseLayoutContext.mjs";
|
|
8
|
+
const J = /* @__PURE__ */ k({
|
|
9
9
|
name: "VerticalMixMenu",
|
|
10
10
|
__name: "verticalMixMenu",
|
|
11
|
-
setup(
|
|
12
|
-
const { layoutConfig: t, toggleMenuItem:
|
|
13
|
-
allMenus:
|
|
14
|
-
childLevelMenus:
|
|
15
|
-
activeFirstLevelMenuKey:
|
|
16
|
-
setActiveFirstLevelMenuKey:
|
|
17
|
-
getActiveFirstLevelMenuKey:
|
|
11
|
+
setup(j) {
|
|
12
|
+
const { layoutConfig: t, toggleMenuItem: a } = W(), { bool: v, setBool: s } = V(), {
|
|
13
|
+
allMenus: f,
|
|
14
|
+
childLevelMenus: d,
|
|
15
|
+
activeFirstLevelMenuKey: x,
|
|
16
|
+
setActiveFirstLevelMenuKey: h,
|
|
17
|
+
getActiveFirstLevelMenuKey: M
|
|
18
18
|
//
|
|
19
|
-
} =
|
|
20
|
-
function
|
|
21
|
-
|
|
19
|
+
} = N(), { selectedKey: u, renderIcon: y } = R(t), c = p(() => d.value.length > 0), w = p(() => c.value && (v.value || t.mixSliderFixed));
|
|
20
|
+
function C(o) {
|
|
21
|
+
h(o.key), o.children?.length ? s(!0) : a(o.routeKey, {});
|
|
22
22
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function S() {
|
|
24
|
+
s(!1), t.mixSliderFixed || M();
|
|
25
25
|
}
|
|
26
26
|
const i = K([]);
|
|
27
|
-
function
|
|
27
|
+
function _() {
|
|
28
28
|
if (t.sliderCollapse || !u.value) {
|
|
29
29
|
i.value = [];
|
|
30
30
|
return;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
return
|
|
33
|
+
return L(
|
|
34
34
|
() => t.curRoute?.name,
|
|
35
35
|
() => {
|
|
36
|
-
|
|
36
|
+
_();
|
|
37
37
|
},
|
|
38
38
|
{ immediate: !0 }
|
|
39
|
-
), (
|
|
40
|
-
const
|
|
41
|
-
return
|
|
42
|
-
to: `#${e(
|
|
39
|
+
), (o, n) => {
|
|
40
|
+
const b = F("SimpleScrollbar");
|
|
41
|
+
return I(), B(A, {
|
|
42
|
+
to: `#${e(E)}`
|
|
43
43
|
}, [
|
|
44
|
-
|
|
44
|
+
l("div", {
|
|
45
45
|
class: "h-full flex",
|
|
46
|
-
onMouseleave:
|
|
46
|
+
onMouseleave: S
|
|
47
47
|
}, [
|
|
48
|
-
|
|
49
|
-
menus: e(
|
|
50
|
-
"active-menu-key": e(
|
|
48
|
+
r(T, {
|
|
49
|
+
menus: e(f),
|
|
50
|
+
"active-menu-key": e(x),
|
|
51
51
|
inverted: !1,
|
|
52
52
|
"slider-collapse": e(t).sliderCollapse,
|
|
53
53
|
"dark-mode": !1,
|
|
54
54
|
"theme-color": "",
|
|
55
|
-
onSelect:
|
|
55
|
+
onSelect: C
|
|
56
56
|
}, null, 8, ["menus", "active-menu-key", "slider-collapse"]),
|
|
57
|
-
|
|
57
|
+
l("div", {
|
|
58
58
|
class: "relative h-full",
|
|
59
|
-
style: m({ width: e(t).mixSliderFixed &&
|
|
59
|
+
style: m({ width: e(t).mixSliderFixed && c.value ? e(t).sliderMixChildMenuWidth + "px" : "0px" })
|
|
60
60
|
}, [
|
|
61
|
-
|
|
61
|
+
l("div", {
|
|
62
62
|
class: "absolute left-0 top-0 h-full flex-col-stretch overflow-hidden whitespace-nowrap transition-all duration-300",
|
|
63
63
|
inverted: !1,
|
|
64
|
-
style: m({ width: w.value ? e(t).sliderMixChildMenuWidth + "px" : "0px" })
|
|
65
|
-
},
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
]),
|
|
90
|
-
_: 1
|
|
91
|
-
}, 8, ["style"])
|
|
64
|
+
style: m({ width: w.value ? e(t).sliderMixChildMenuWidth + "px" : "0px", backgroundColor: "var(--n-color)" })
|
|
65
|
+
}, [
|
|
66
|
+
n[1] || (n[1] = l("header", {
|
|
67
|
+
class: "flex-y-center justify-between px-[12px]",
|
|
68
|
+
style: { height: "var(--layout-header-height)" }
|
|
69
|
+
}, [
|
|
70
|
+
l("h2", { class: "!text-[16px] text-primary font-bold" })
|
|
71
|
+
], -1)),
|
|
72
|
+
r(b, null, {
|
|
73
|
+
default: U(() => [
|
|
74
|
+
r(D, {
|
|
75
|
+
"expanded-keys": i.value,
|
|
76
|
+
"onUpdate:expandedKeys": n[0] || (n[0] = (g) => i.value = g),
|
|
77
|
+
mode: "vertical",
|
|
78
|
+
value: e(u),
|
|
79
|
+
options: e(d),
|
|
80
|
+
inverted: !1,
|
|
81
|
+
indent: 18,
|
|
82
|
+
renderIcon: e(y),
|
|
83
|
+
"onUpdate:value": e(a)
|
|
84
|
+
}, null, 8, ["expanded-keys", "value", "options", "renderIcon", "onUpdate:value"])
|
|
85
|
+
]),
|
|
86
|
+
_: 1
|
|
87
|
+
})
|
|
88
|
+
], 4)
|
|
92
89
|
], 4)
|
|
93
90
|
], 32)
|
|
94
91
|
], 8, ["to"]);
|
|
@@ -96,5 +93,5 @@ const P = /* @__PURE__ */ F({
|
|
|
96
93
|
}
|
|
97
94
|
});
|
|
98
95
|
export {
|
|
99
|
-
|
|
96
|
+
J as default
|
|
100
97
|
};
|
|
@@ -1,27 +1,31 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { defineComponent as c, computed as e, createBlock as l, openBlock as n, withCtx as r, createElementVNode as m, unref as u, createCommentVNode as d } from "vue";
|
|
2
|
+
import p from "../../ASide/index.vue.mjs";
|
|
3
|
+
import _ from "../layoutHeader/title.vue.mjs";
|
|
4
|
+
import h from "../hooks/useBaseLayoutContext.mjs";
|
|
5
5
|
import { LAYOUT_SLIDER_MENU_ID as f } from "../constants.mjs";
|
|
6
|
-
const x = ["id"],
|
|
6
|
+
const x = ["id"], H = /* @__PURE__ */ c({
|
|
7
7
|
name: "LayoutSlider",
|
|
8
8
|
__name: "index",
|
|
9
|
-
setup(
|
|
10
|
-
const { layoutConfig: o } =
|
|
11
|
-
return (
|
|
9
|
+
setup(y) {
|
|
10
|
+
const { layoutConfig: o } = h(), t = e(() => o.mode === "vertical-mix"), i = e(() => o.mode === "horizontal-mix"), a = e(() => !t.value && !i.value), s = e(() => ({ height: a.value ? `${o.headerHeight}px` : "" }));
|
|
11
|
+
return (g, v) => (n(), l(p, {
|
|
12
|
+
"logo-style": s.value,
|
|
13
|
+
"content-scrollable": !t.value,
|
|
14
|
+
"content-style": "margin-top: 8px"
|
|
15
|
+
}, {
|
|
12
16
|
header: r(() => [
|
|
13
|
-
|
|
17
|
+
a.value ? (n(), l(_, { key: 0 })) : d("", !0)
|
|
14
18
|
]),
|
|
15
19
|
default: r(() => [
|
|
16
|
-
|
|
20
|
+
m("div", {
|
|
17
21
|
id: u(f),
|
|
18
|
-
style: { height: "100%"
|
|
22
|
+
style: { height: "100%" }
|
|
19
23
|
}, null, 8, x)
|
|
20
24
|
]),
|
|
21
25
|
_: 1
|
|
22
|
-
}));
|
|
26
|
+
}, 8, ["logo-style", "content-scrollable"]));
|
|
23
27
|
}
|
|
24
28
|
});
|
|
25
29
|
export {
|
|
26
|
-
|
|
30
|
+
H as default
|
|
27
31
|
};
|
|
@@ -33,6 +33,7 @@ export type BaseLayoutProviderType = {
|
|
|
33
33
|
userInfo: UserInfoType;
|
|
34
34
|
userActionOption?: Array<DropdownOption | DropdownGroupOption | DropdownDividerOption | DropdownRenderOption>;
|
|
35
35
|
isDarkMode: ComputedRef<boolean>;
|
|
36
|
+
toggleLogo: () => void;
|
|
36
37
|
toggleMenuItem: (key: string, item: MenuOption) => void;
|
|
37
38
|
toggleMixMenuItem: (key: string, item: MenuOption) => void;
|
|
38
39
|
toggleSystemTheme: () => void;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import r from "../../color/dark.mjs";
|
|
2
|
+
import o from "../../token/dark.mjs";
|
|
3
3
|
import { commonBase as e } from "../../common.mjs";
|
|
4
4
|
const l = {
|
|
5
5
|
borderRadius: e.borderRadiusMedium,
|
|
6
|
-
color:
|
|
7
|
-
textColor:
|
|
6
|
+
color: r["color-gray-3"],
|
|
7
|
+
textColor: o["color-text-6"],
|
|
8
8
|
padding: e.paddingBase
|
|
9
|
-
},
|
|
9
|
+
}, n = {
|
|
10
10
|
fontSize: e.fontSizeMedium,
|
|
11
|
-
iconColor:
|
|
11
|
+
iconColor: r["color-primary-6"],
|
|
12
12
|
iconSize: e.iconSizeBase
|
|
13
|
-
},
|
|
14
|
-
nodeTextColor:
|
|
15
|
-
arrowColor:
|
|
16
|
-
lineColor:
|
|
13
|
+
}, d = {
|
|
14
|
+
nodeTextColor: o["color-text-6"],
|
|
15
|
+
arrowColor: o["color-text-3"],
|
|
16
|
+
lineColor: r["color-gray-11"]
|
|
17
17
|
// nodeColorHover: 'red'
|
|
18
18
|
// nodeColorActive: 'transparent',
|
|
19
19
|
// nodeColorHover: 'transparent',
|
|
@@ -35,25 +35,25 @@ const l = {
|
|
|
35
35
|
}, c = {
|
|
36
36
|
buttonBorderHover: "0px solid transparent",
|
|
37
37
|
buttonBorderPressed: "0px solid transparent",
|
|
38
|
-
itemTextColorHover:
|
|
39
|
-
itemTextColorPressed:
|
|
40
|
-
itemColorActive:
|
|
41
|
-
itemColorActiveHover:
|
|
38
|
+
itemTextColorHover: o["color-text-6"],
|
|
39
|
+
itemTextColorPressed: o["color-text-6"],
|
|
40
|
+
itemColorActive: r["color-primary-6"],
|
|
41
|
+
itemColorActiveHover: r["color-primary-6"],
|
|
42
42
|
itemBorderDisabled: "0px solid transparent",
|
|
43
|
-
buttonBorder:
|
|
43
|
+
buttonBorder: r["color-gray-3"],
|
|
44
44
|
// // 按钮相关样式(上一页/下一页按钮)
|
|
45
|
-
buttonIconColor:
|
|
45
|
+
buttonIconColor: o["color-text-6"],
|
|
46
46
|
/* 按钮图标颜色 */
|
|
47
|
-
buttonIconColorPressed:
|
|
48
|
-
buttonIconColorHover:
|
|
49
|
-
itemTextColorDisabled:
|
|
47
|
+
buttonIconColorPressed: o["color-text-6"],
|
|
48
|
+
buttonIconColorHover: o["color-text-6"],
|
|
49
|
+
itemTextColorDisabled: o["color-text-6"],
|
|
50
50
|
/* 禁用页码文字颜色 */
|
|
51
51
|
/* 文字颜色 */
|
|
52
|
-
itemTextColor:
|
|
52
|
+
itemTextColor: o["color-text-6"],
|
|
53
53
|
// itemTextColorPressed: 'red', /* 按下页码文字颜色 */
|
|
54
54
|
itemColorDisabled: "transparent",
|
|
55
55
|
/* 禁用页码背景颜色 */
|
|
56
|
-
itemTextColorActive:
|
|
56
|
+
itemTextColorActive: o["color-text-5"],
|
|
57
57
|
/* 当前页码文字颜色 */
|
|
58
58
|
/* 背景颜色 */
|
|
59
59
|
itemBorderRadius: e.borderRadiusMedium,
|
|
@@ -64,69 +64,74 @@ const l = {
|
|
|
64
64
|
itemPaddingMedium: e.paddingMedium,
|
|
65
65
|
// 修改默认内边距
|
|
66
66
|
/** 跳转文字*/
|
|
67
|
-
jumperTextColor:
|
|
67
|
+
jumperTextColor: o["color-text-6"]
|
|
68
68
|
// 修改跳转文字颜色
|
|
69
69
|
}, m = {
|
|
70
70
|
// fontSize: string; /* 面包屑整体字体大小 */
|
|
71
71
|
// itemLineHeight: string; /* 面包屑项的行高 */
|
|
72
72
|
// fontWeightActive: string; /* 当前项的字重(如:bold)*/
|
|
73
|
-
itemTextColor:
|
|
73
|
+
itemTextColor: o["color-text-2"],
|
|
74
74
|
/* 普通面包屑项文字颜色 */
|
|
75
|
-
itemTextColorHover:
|
|
75
|
+
itemTextColorHover: o["color-text-6"],
|
|
76
76
|
/* 鼠标悬停时文字颜色 */
|
|
77
|
-
itemTextColorPressed:
|
|
77
|
+
itemTextColorPressed: o["color-text-6"],
|
|
78
78
|
/* 鼠标按下时文字颜色 */
|
|
79
|
-
itemTextColorActive:
|
|
79
|
+
itemTextColorActive: o["color-text-6"],
|
|
80
80
|
/* 当前页面项文字颜色(不可点击)*/
|
|
81
81
|
// itemColorHover: string; /* 鼠标悬停时背景颜色 */
|
|
82
82
|
// itemColorPressed: string; /* 鼠标按下时背景颜色 */
|
|
83
83
|
// itemBorderRadius: string; /* 面包屑项的圆角大小 */
|
|
84
|
-
separatorColor:
|
|
84
|
+
separatorColor: o["color-text-4"]
|
|
85
85
|
/* 分隔符颜色(如 > 或 / 的颜色)*/
|
|
86
86
|
}, x = {
|
|
87
87
|
/* Line 类型文字颜色 */
|
|
88
|
-
tabTextColorLine:
|
|
88
|
+
tabTextColorLine: o["color-text-3"],
|
|
89
89
|
/* 普通文字颜色 */
|
|
90
|
-
tabTextColorActiveLine:
|
|
90
|
+
tabTextColorActiveLine: r["color-primary-6"],
|
|
91
91
|
/* 激活状态文字颜色 */
|
|
92
|
-
tabTextColorHoverLine:
|
|
92
|
+
tabTextColorHoverLine: r["color-primary-5"],
|
|
93
93
|
/* 悬停状态文字颜色 */
|
|
94
|
-
tabTextColorDisabledLine:
|
|
94
|
+
tabTextColorDisabledLine: o["color-text-6"],
|
|
95
95
|
/* 禁用状态文字颜色 */
|
|
96
96
|
// /* Bar 类型文字颜色 */
|
|
97
|
-
tabTextColorBar:
|
|
97
|
+
tabTextColorBar: o["color-text-3"],
|
|
98
98
|
/* 普通文字颜色 */
|
|
99
|
-
tabTextColorActiveBar:
|
|
99
|
+
tabTextColorActiveBar: r["color-primary-6"],
|
|
100
100
|
/* 激活状态文字颜色 */
|
|
101
|
-
tabTextColorHoverBar:
|
|
101
|
+
tabTextColorHoverBar: r["color-primary-5"],
|
|
102
102
|
/* 悬停状态文字颜色 */
|
|
103
|
-
tabTextColorDisabledBar:
|
|
103
|
+
tabTextColorDisabledBar: o["color-text-6"],
|
|
104
104
|
/* 禁用状态文字颜色 */
|
|
105
105
|
// /* Card 类型文字颜色 */
|
|
106
|
-
tabTextColorCard:
|
|
106
|
+
tabTextColorCard: o["color-text-3"],
|
|
107
107
|
/* 普通文字颜色 */
|
|
108
|
-
tabTextColorActiveCard:
|
|
108
|
+
tabTextColorActiveCard: r["color-primary-6"],
|
|
109
109
|
/* 激活状态文字颜色 */
|
|
110
|
-
tabTextColorHoverCard:
|
|
110
|
+
tabTextColorHoverCard: r["color-primary-5"],
|
|
111
111
|
/* 悬停状态文字颜色 */
|
|
112
|
-
tabTextColorDisabledCard:
|
|
112
|
+
tabTextColorDisabledCard: o["color-text-6"],
|
|
113
113
|
/* 禁用状态文字颜色 */
|
|
114
114
|
// /* Segment 类型文字颜色 */
|
|
115
|
-
tabTextColorSegment:
|
|
115
|
+
tabTextColorSegment: o["color-text-2"],
|
|
116
116
|
/* 普通文字颜色 */
|
|
117
|
-
tabTextColorActiveSegment: o["color-
|
|
117
|
+
tabTextColorActiveSegment: o["color-text-1"],
|
|
118
118
|
/* 激活状态文字颜色 */
|
|
119
|
-
tabTextColorHoverSegment: o["color-
|
|
119
|
+
tabTextColorHoverSegment: o["color-text-1"],
|
|
120
120
|
/* 悬停状态文字颜色 */
|
|
121
|
-
tabTextColorDisabledSegment:
|
|
121
|
+
tabTextColorDisabledSegment: o["color-text-4"],
|
|
122
122
|
/* 禁用状态文字颜色 */
|
|
123
|
-
tabPaddingSmallSegment: "
|
|
124
|
-
tabPaddingMediumSegment: "
|
|
125
|
-
tabPaddingLargeSegment: "
|
|
123
|
+
tabPaddingSmallSegment: "7xp 16px",
|
|
124
|
+
tabPaddingMediumSegment: "6px 12px",
|
|
125
|
+
tabPaddingLargeSegment: "4px 12px",
|
|
126
|
+
tabGapSmallSegment: "12px",
|
|
127
|
+
tabGapMediumSegment: "12px ",
|
|
128
|
+
tabGapLargeSegment: "12px ",
|
|
129
|
+
colorSegment: "#0000",
|
|
130
|
+
tabColorSegment: o["fill-color-5"],
|
|
126
131
|
// tabColor: 'green', /* 标签页背景色 */
|
|
127
132
|
// tabColorSegment: darkBase['color-primary-6'], /* Segment 类型标签背景色 */
|
|
128
133
|
// tabBorderColor: string; /* 标签页边框颜色 */
|
|
129
|
-
barColor:
|
|
134
|
+
barColor: r["color-primary-6"],
|
|
130
135
|
/* Bar 类型指示条颜色 */
|
|
131
136
|
// closeIconColor: string; /* 关闭图标颜色 */
|
|
132
137
|
// closeIconColorHover: string; /* 关闭图标悬停颜色 */
|
|
@@ -175,51 +180,51 @@ const l = {
|
|
|
175
180
|
tabBorderRadius: e.tabBorderRadius
|
|
176
181
|
/* 标签页圆角 */
|
|
177
182
|
// closeBorderRadius: string; /* 关闭按钮圆角 */
|
|
178
|
-
},
|
|
183
|
+
}, p = {
|
|
179
184
|
indicatorColorWait: "transparent",
|
|
180
185
|
/* 等待状态指示器背景色 */
|
|
181
|
-
indicatorColorProcess:
|
|
186
|
+
indicatorColorProcess: r["color-primary-6"],
|
|
182
187
|
/* 进行状态指示器背景色 */
|
|
183
188
|
indicatorColorFinish: "transparent",
|
|
184
189
|
/* 完成状态指示器背景色 */
|
|
185
190
|
indicatorColorError: "transparent",
|
|
186
191
|
/* 错误状态指示器背景色 */
|
|
187
|
-
indicatorTextColorWait:
|
|
192
|
+
indicatorTextColorWait: r["color-gray-6"],
|
|
188
193
|
/* 等待状态指示器文字颜色 */
|
|
189
|
-
indicatorTextColorProcess:
|
|
194
|
+
indicatorTextColorProcess: o["color-text-5"],
|
|
190
195
|
/* 进行状态指示器文字颜色 */
|
|
191
|
-
indicatorTextColorFinish:
|
|
196
|
+
indicatorTextColorFinish: r["color-primary-6"],
|
|
192
197
|
/* 完成状态指示器文字颜色 */
|
|
193
|
-
indicatorTextColorError:
|
|
198
|
+
indicatorTextColorError: r["color-red-6"],
|
|
194
199
|
/* 错误状态指示器文字颜色 */
|
|
195
|
-
indicatorBorderColorWait:
|
|
200
|
+
indicatorBorderColorWait: r["color-gray-6"],
|
|
196
201
|
/* 等待状态指示器边框颜色 */
|
|
197
|
-
indicatorBorderColorProcess:
|
|
202
|
+
indicatorBorderColorProcess: r["color-primary-6"],
|
|
198
203
|
/* 进行状态指示器边框颜色 */
|
|
199
|
-
indicatorBorderColorFinish:
|
|
204
|
+
indicatorBorderColorFinish: r["color-primary-6"],
|
|
200
205
|
/* 完成状态指示器边框颜色 */
|
|
201
|
-
indicatorBorderColorError:
|
|
206
|
+
indicatorBorderColorError: r["color-red-6"],
|
|
202
207
|
/* 错误状态指示器边框颜色 */
|
|
203
|
-
headerTextColorWait:
|
|
208
|
+
headerTextColorWait: o["color-text-6"],
|
|
204
209
|
/* 等待状态标题颜色 */
|
|
205
|
-
headerTextColorProcess:
|
|
210
|
+
headerTextColorProcess: r["color-gray-10"],
|
|
206
211
|
/* 进行状态标题颜色 */
|
|
207
|
-
headerTextColorFinish:
|
|
212
|
+
headerTextColorFinish: r["color-gray-10"],
|
|
208
213
|
/* 完成状态标题颜色 */
|
|
209
|
-
headerTextColorError:
|
|
214
|
+
headerTextColorError: r["color-gray-10"],
|
|
210
215
|
/* 错误状态标题颜色 */
|
|
211
|
-
descriptionTextColorWait:
|
|
216
|
+
descriptionTextColorWait: o["color-text-3"],
|
|
212
217
|
/* 等待状态描述颜色 */
|
|
213
|
-
descriptionTextColorProcess:
|
|
218
|
+
descriptionTextColorProcess: r["color-gray-6"],
|
|
214
219
|
/* 进行状态描述颜色 */
|
|
215
|
-
descriptionTextColorFinish:
|
|
220
|
+
descriptionTextColorFinish: r["color-gray-6"],
|
|
216
221
|
/* 完成状态描述颜色 */
|
|
217
|
-
descriptionTextColorError:
|
|
222
|
+
descriptionTextColorError: r["color-gray-6"],
|
|
218
223
|
/* 错误状态描述颜色 */
|
|
219
|
-
splitorColorProcess: o["color-
|
|
220
|
-
splitorColorWait: o["color-
|
|
221
|
-
splitorColorFinish:
|
|
222
|
-
splitorColorError: o["color-
|
|
224
|
+
splitorColorProcess: o["fill-color-3"],
|
|
225
|
+
splitorColorWait: o["fill-color-3"],
|
|
226
|
+
splitorColorFinish: r["color-primary-6"],
|
|
227
|
+
splitorColorError: o["fill-color-3"],
|
|
223
228
|
stepHeaderFontSizeSmall: "16px",
|
|
224
229
|
/* 小尺寸标题字体 */
|
|
225
230
|
stepHeaderFontSizeMedium: "16px",
|
|
@@ -241,9 +246,9 @@ const l = {
|
|
|
241
246
|
export {
|
|
242
247
|
m as BreadcrumbThemeDark,
|
|
243
248
|
c as PaginationThemeDark,
|
|
244
|
-
|
|
245
|
-
|
|
249
|
+
n as PopconfirmThemeDark,
|
|
250
|
+
p as StepsThemeDark,
|
|
246
251
|
x as TabsThemeDark,
|
|
247
252
|
l as TooltipThemeDark,
|
|
248
|
-
|
|
253
|
+
d as TreeThemeDark
|
|
249
254
|
};
|
|
@@ -218,9 +218,12 @@ const l = {
|
|
|
218
218
|
/* 悬停状态文字颜色 */
|
|
219
219
|
tabTextColorDisabledSegment: o["color-gray-4"],
|
|
220
220
|
/* 禁用状态文字颜色 */
|
|
221
|
-
tabPaddingSmallSegment: "
|
|
222
|
-
tabPaddingMediumSegment: "
|
|
223
|
-
tabPaddingLargeSegment: "
|
|
221
|
+
tabPaddingSmallSegment: "7xp 16px",
|
|
222
|
+
tabPaddingMediumSegment: "6px 12px",
|
|
223
|
+
tabPaddingLargeSegment: "4px 12px",
|
|
224
|
+
tabGapSmallSegment: "12px",
|
|
225
|
+
tabGapMediumSegment: "12px ",
|
|
226
|
+
tabGapLargeSegment: "12px ",
|
|
224
227
|
colorSegment: e["color-text-1"],
|
|
225
228
|
/* Segment 类型背景色 */
|
|
226
229
|
tabColorSegment: o["color-primary-2"],
|
|
@@ -277,7 +280,7 @@ const l = {
|
|
|
277
280
|
closeBorderRadius: r.tabBorderRadius
|
|
278
281
|
/* 关闭按钮圆角 */
|
|
279
282
|
// closeBorderRadius: string; /* 关闭按钮圆角 */
|
|
280
|
-
},
|
|
283
|
+
}, p = {
|
|
281
284
|
indicatorColorWait: e["color-text-1"],
|
|
282
285
|
/* 等待状态指示器背景色 */
|
|
283
286
|
indicatorColorProcess: o["color-primary-6"],
|
|
@@ -318,10 +321,10 @@ const l = {
|
|
|
318
321
|
/* 完成状态描述颜色 */
|
|
319
322
|
descriptionTextColorError: o["color-gray-6"],
|
|
320
323
|
/* 错误状态描述颜色 */
|
|
321
|
-
splitorColorProcess: o["color-
|
|
324
|
+
splitorColorProcess: o["color-gray-4"],
|
|
322
325
|
splitorColorWait: o["color-gray-4"],
|
|
323
326
|
splitorColorFinish: o["color-primary-6"],
|
|
324
|
-
splitorColorError: o["color-
|
|
327
|
+
splitorColorError: o["color-gray-4"],
|
|
325
328
|
stepHeaderFontSizeSmall: "16px",
|
|
326
329
|
/* 小尺寸标题字体 */
|
|
327
330
|
stepHeaderFontSizeMedium: "16px",
|
|
@@ -344,7 +347,7 @@ export {
|
|
|
344
347
|
m as BreadcrumbThemeLight,
|
|
345
348
|
n as PaginationThemeLight,
|
|
346
349
|
c as PopconfirmThemeLight,
|
|
347
|
-
|
|
350
|
+
p as StepsThemeLight,
|
|
348
351
|
g as TabsThemeLight,
|
|
349
352
|
l as TooltipThemeLight,
|
|
350
353
|
d as TreeThemeLight
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import t from "../../color/dark.mjs";
|
|
2
2
|
import o from "../../token/dark.mjs";
|
|
3
3
|
const l = {
|
|
4
4
|
arrowColor: o["color-text-2"],
|
|
@@ -18,8 +18,12 @@ const l = {
|
|
|
18
18
|
itemTextColorActive: o["color-text-1"],
|
|
19
19
|
itemTextColorHover: o["color-text-1"],
|
|
20
20
|
itemTextColorActiveHover: o["color-text-1"],
|
|
21
|
-
itemTextColorChildActive:
|
|
22
|
-
itemTextColorChildActiveHover:
|
|
21
|
+
itemTextColorChildActive: t["color-primary-6"],
|
|
22
|
+
itemTextColorChildActiveHover: t["color-primary-5"],
|
|
23
|
+
itemTextColorHorizontal: o["color-text-2"],
|
|
24
|
+
itemTextColorActiveHorizontal: o["color-text-1"],
|
|
25
|
+
itemTextColorActiveHoverHorizontal: o["color-text-1"],
|
|
26
|
+
itemTextColorHoverHorizontal: o["color-text-1"]
|
|
23
27
|
};
|
|
24
28
|
export {
|
|
25
29
|
l as MenuThemeDark
|
|
@@ -18,7 +18,10 @@ const e = {
|
|
|
18
18
|
itemTextColorHover: o["color-gray-10"],
|
|
19
19
|
itemTextColorActiveHover: o["color-gray-10"],
|
|
20
20
|
itemTextColorChildActive: o["color-primary-6"],
|
|
21
|
-
itemTextColorChildActiveHover: o["color-primary-5"]
|
|
21
|
+
itemTextColorChildActiveHover: o["color-primary-5"],
|
|
22
|
+
itemTextColorHorizontal: o["color-gray-8"],
|
|
23
|
+
itemTextColorActiveHorizontal: o["color-primary-6"],
|
|
24
|
+
itemTextColorHoverHorizontal: o["color-primary-6"]
|
|
22
25
|
};
|
|
23
26
|
export {
|
|
24
27
|
e as MenuThemeLight
|