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
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import o from "../color/dark.mjs";
|
|
2
|
+
const l = {
|
|
2
3
|
"color-text-1": "#FFFFFF",
|
|
3
4
|
"color-text-2": "rgba(255, 255, 255, 0.7)",
|
|
4
5
|
"color-text-3": "rgba(255, 255, 255, 0.4)",
|
|
@@ -24,8 +25,12 @@ const o = {
|
|
|
24
25
|
"color-error-disabled": "#F76965",
|
|
25
26
|
"color-error-disabled-opacity": "rgba(247, 105, 101, 0.4)",
|
|
26
27
|
"color-success-disabled": "#4BDDAA",
|
|
27
|
-
"color-warning-disabled": "#FF9626"
|
|
28
|
+
"color-warning-disabled": "#FF9626",
|
|
29
|
+
"border-color-1": o["color-gray-3"],
|
|
30
|
+
"border-color-2": o["color-gray-4"],
|
|
31
|
+
"border-color-3": o["color-gray-5"],
|
|
32
|
+
"border-color-4": o["color-gray-6"]
|
|
28
33
|
};
|
|
29
34
|
export {
|
|
30
|
-
|
|
35
|
+
l as default
|
|
31
36
|
};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
declare const lightToken: {
|
|
2
2
|
'color-text-1': string;
|
|
3
3
|
'color-text-2': string;
|
|
4
|
+
'color-text-3': string;
|
|
5
|
+
'color-text-4': string;
|
|
6
|
+
'color-text-5': string;
|
|
4
7
|
'color-text-6': string;
|
|
5
8
|
'bg-color-1': string;
|
|
6
9
|
'bg-color-2': string;
|
|
@@ -10,5 +13,7 @@ declare const lightToken: {
|
|
|
10
13
|
'fill-color-5': string;
|
|
11
14
|
'border-color-1': string;
|
|
12
15
|
'border-color-2': string;
|
|
16
|
+
'border-color-3': string;
|
|
17
|
+
'border-color-4': string;
|
|
13
18
|
};
|
|
14
19
|
export default lightToken;
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
import o from "../color/light.mjs";
|
|
2
|
-
const
|
|
2
|
+
const l = {
|
|
3
3
|
"color-text-1": "#FFFFFF",
|
|
4
4
|
"color-text-2": o["color-gray-8"],
|
|
5
|
-
"color-text-
|
|
5
|
+
"color-text-3": o["color-gray-6"],
|
|
6
|
+
"color-text-4": o["color-gray-5"],
|
|
7
|
+
"color-text-5": "#FFFFFF",
|
|
8
|
+
"color-text-6": o["color-primary-6"],
|
|
6
9
|
"bg-color-1": "#F0F2F6",
|
|
7
10
|
"bg-color-2": "#FFFFFF",
|
|
8
11
|
"bg-color-3": "#FFFFFF",
|
|
9
12
|
"bg-color-4": "#E1E9F4",
|
|
10
13
|
"fill-color-1": o["color-gray-2"],
|
|
11
14
|
"fill-color-5": "#FAFAFA",
|
|
12
|
-
"border-color-1": "
|
|
13
|
-
"border-color-2": "
|
|
15
|
+
"border-color-1": o["color-gray-3"],
|
|
16
|
+
"border-color-2": o["color-gray-4"],
|
|
17
|
+
"border-color-3": o["color-gray-5"],
|
|
18
|
+
"border-color-4": o["color-gray-6"]
|
|
14
19
|
};
|
|
15
20
|
export {
|
|
16
|
-
|
|
21
|
+
l as default
|
|
17
22
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { h as
|
|
2
|
-
import { merge as
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { h as p } from "vue";
|
|
2
|
+
import { merge as a } from "../../node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/object/merge.mjs";
|
|
3
|
+
import { cloneDeep as u } from "../../node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/object/cloneDeep.mjs";
|
|
4
|
+
function f(e) {
|
|
5
|
+
return p("span", {}, e || "Tip");
|
|
5
6
|
}
|
|
6
|
-
const
|
|
7
|
+
const l = {
|
|
7
8
|
closeOnEsc: !1,
|
|
8
9
|
closable: !0,
|
|
9
10
|
maskClosable: !1,
|
|
@@ -25,15 +26,15 @@ const f = {
|
|
|
25
26
|
justifyContent: "center"
|
|
26
27
|
}
|
|
27
28
|
};
|
|
28
|
-
function
|
|
29
|
-
return new Promise((
|
|
29
|
+
function g(e, t, o) {
|
|
30
|
+
return new Promise((n, r) => {
|
|
30
31
|
if (!window.$dialog) return;
|
|
31
|
-
const i =
|
|
32
|
+
const i = a(u(l), o || {}), s = window.$dialog.warning({
|
|
32
33
|
...i,
|
|
33
34
|
content: e,
|
|
34
|
-
title: () => typeof t == "function" ? t() :
|
|
35
|
+
title: () => typeof t == "function" ? t() : f(t),
|
|
35
36
|
onPositiveClick: () => {
|
|
36
|
-
|
|
37
|
+
n(s);
|
|
37
38
|
},
|
|
38
39
|
onNegativeClick: () => {
|
|
39
40
|
r(new Error());
|
|
@@ -42,5 +43,5 @@ function m(e, t, n) {
|
|
|
42
43
|
});
|
|
43
44
|
}
|
|
44
45
|
export {
|
|
45
|
-
|
|
46
|
+
g as default
|
|
46
47
|
};
|