base6-ui 2.0.25 → 2.0.27

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.
Files changed (138) hide show
  1. package/dist/_utils/composable/use-omit-props.d.ts +2 -0
  2. package/dist/_utils/simply-omit.d.ts +1 -0
  3. package/dist/components/button-list/index.d.ts +2 -0
  4. package/dist/components/button-list/src/button-list.d.ts +35 -0
  5. package/dist/components/button-list/src/interface.d.ts +48 -0
  6. package/dist/components/data-table/data-table.d.ts +2 -7094
  7. package/dist/components/data-table/interface.d.ts +26 -2
  8. package/dist/components/index.d.ts +2 -0
  9. package/dist/components/shape-button/index.d.ts +2 -0
  10. package/dist/components/shape-button/src/cssVar.d.ts +7 -0
  11. package/dist/components/shape-button/src/interface.d.ts +667 -0
  12. package/dist/components/shape-button/src/shape-button.d.ts +4 -0
  13. package/dist/config/themes/token/dark.d.ts +4 -0
  14. package/dist/config/themes/token/light.d.ts +5 -0
  15. package/dist/index.css +1 -1
  16. package/dist/index.umd.js +3 -3
  17. package/es/_utils/composable/use-omit-props.d.ts +2 -0
  18. package/es/_utils/composable/use-omit-props.mjs +12 -0
  19. package/es/_utils/simply-omit.d.ts +1 -0
  20. package/es/_utils/simply-omit.mjs +9 -0
  21. package/es/_virtual/virtual_svg-icons-register.mjs +1 -1
  22. package/es/components/button-list/index.d.ts +2 -0
  23. package/es/components/button-list/src/button-list.d.ts +35 -0
  24. package/es/components/button-list/src/button-list.mjs +63 -0
  25. package/es/components/button-list/src/interface.d.ts +48 -0
  26. package/es/components/button-list/src/interface.mjs +12 -0
  27. package/es/components/data-table/data-table.d.ts +2 -7094
  28. package/es/components/data-table/data-table.mjs +34 -29
  29. package/es/components/data-table/interface.d.ts +26 -2
  30. package/es/components/data-table/interface.mjs +17 -7
  31. package/es/components/dialog/index.vue.mjs +3 -3
  32. package/es/components/dialog/options.mjs +1 -1
  33. package/es/components/global-header/index.vue.mjs +4 -3
  34. package/es/components/index.d.ts +2 -0
  35. package/es/components/layout/components/{WrapHeader.vue2.mjs → WrapHeader.vue.mjs} +1 -1
  36. package/es/components/layout/index.vue2.mjs +1 -1
  37. package/es/components/shape-button/index.d.ts +2 -0
  38. package/es/components/shape-button/src/cssVar.d.ts +7 -0
  39. package/es/components/shape-button/src/cssVar.mjs +65 -0
  40. package/es/components/shape-button/src/interface.d.ts +667 -0
  41. package/es/components/shape-button/src/interface.mjs +30 -0
  42. package/es/components/shape-button/src/shape-button.d.ts +4 -0
  43. package/es/components/shape-button/src/shape-button.mjs +52 -0
  44. package/es/components/system-actions/index.vue.mjs +2 -2
  45. package/es/components/system-actions/index.vue2.mjs +43 -48
  46. package/es/config/themes/components/baseComponent/light.mjs +15 -14
  47. package/es/config/themes/components/card/dark.mjs +1 -1
  48. package/es/config/themes/components/card/light.mjs +3 -2
  49. package/es/config/themes/components/checkbox/light.mjs +3 -2
  50. package/es/config/themes/components/dataTable/dark.mjs +3 -3
  51. package/es/config/themes/components/dataTable/light.mjs +3 -2
  52. package/es/config/themes/components/divider/light.mjs +4 -3
  53. package/es/config/themes/components/inputNumber/light.mjs +7 -5
  54. package/es/config/themes/components/layout/light.mjs +3 -2
  55. package/es/config/themes/components/popover/light.mjs +3 -2
  56. package/es/config/themes/components/radio/light.mjs +3 -2
  57. package/es/config/themes/components/switch/light.mjs +5 -4
  58. package/es/config/themes/index.mjs +8 -6
  59. package/es/config/themes/token/dark.d.ts +4 -0
  60. package/es/config/themes/token/dark.mjs +8 -3
  61. package/es/config/themes/token/light.d.ts +5 -0
  62. package/es/config/themes/token/light.mjs +10 -5
  63. package/es/globalMethods/modules/confirmTip.mjs +12 -11
  64. package/es/index.css +1 -1
  65. package/es/index.mjs +104 -96
  66. package/es/locale/lang/en-us.mjs +1 -1
  67. package/es/locale/lang/zh-cn.mjs +1 -1
  68. package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs +6 -0
  69. package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/_internal/getTag.mjs +6 -0
  70. package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/_internal/tags.mjs +25 -0
  71. package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/object/cloneDeep.mjs +7 -0
  72. package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/object/cloneDeepWith.mjs +127 -0
  73. package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/predicate/isPrimitive.mjs +6 -0
  74. package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/predicate/isTypedArray.mjs +6 -0
  75. package/es/node_modules/.pnpm/naive-ui@2.43.1_vue@3.5.22_typescript@5.7.2_/node_modules/naive-ui/es/_utils/css/format-length.mjs +22 -0
  76. package/lib/_utils/composable/use-omit-props.d.ts +2 -0
  77. package/lib/_utils/composable/use-omit-props.js +1 -0
  78. package/lib/_utils/simply-omit.d.ts +1 -0
  79. package/lib/_utils/simply-omit.js +1 -0
  80. package/lib/_virtual/virtual_svg-icons-register.js +1 -1
  81. package/lib/components/button-list/index.d.ts +2 -0
  82. package/lib/components/button-list/src/button-list.d.ts +35 -0
  83. package/lib/components/button-list/src/button-list.js +1 -0
  84. package/lib/components/button-list/src/interface.d.ts +48 -0
  85. package/lib/components/button-list/src/interface.js +1 -0
  86. package/lib/components/data-table/data-table.d.ts +2 -7094
  87. package/lib/components/data-table/data-table.js +1 -1
  88. package/lib/components/data-table/interface.d.ts +26 -2
  89. package/lib/components/data-table/interface.js +1 -1
  90. package/lib/components/dialog/index.vue.js +1 -1
  91. package/lib/components/dialog/options.js +1 -1
  92. package/lib/components/global-header/index.vue.js +1 -1
  93. package/lib/components/index.d.ts +2 -0
  94. package/lib/components/layout/components/WrapHeader.vue.js +1 -0
  95. package/lib/components/layout/index.vue2.js +1 -1
  96. package/lib/components/shape-button/index.d.ts +2 -0
  97. package/lib/components/shape-button/src/cssVar.d.ts +7 -0
  98. package/lib/components/shape-button/src/cssVar.js +1 -0
  99. package/lib/components/shape-button/src/interface.d.ts +667 -0
  100. package/lib/components/shape-button/src/interface.js +1 -0
  101. package/lib/components/shape-button/src/shape-button.d.ts +4 -0
  102. package/lib/components/shape-button/src/shape-button.js +1 -0
  103. package/lib/components/system-actions/index.vue.js +1 -1
  104. package/lib/components/system-actions/index.vue2.js +1 -1
  105. package/lib/config/themes/components/baseComponent/light.js +1 -1
  106. package/lib/config/themes/components/card/dark.js +1 -1
  107. package/lib/config/themes/components/card/light.js +1 -1
  108. package/lib/config/themes/components/checkbox/light.js +1 -1
  109. package/lib/config/themes/components/dataTable/dark.js +1 -1
  110. package/lib/config/themes/components/dataTable/light.js +1 -1
  111. package/lib/config/themes/components/divider/light.js +1 -1
  112. package/lib/config/themes/components/inputNumber/light.js +1 -1
  113. package/lib/config/themes/components/layout/light.js +1 -1
  114. package/lib/config/themes/components/popover/light.js +1 -1
  115. package/lib/config/themes/components/radio/light.js +1 -1
  116. package/lib/config/themes/components/switch/light.js +1 -1
  117. package/lib/config/themes/index.js +1 -1
  118. package/lib/config/themes/token/dark.d.ts +4 -0
  119. package/lib/config/themes/token/dark.js +1 -1
  120. package/lib/config/themes/token/light.d.ts +5 -0
  121. package/lib/config/themes/token/light.js +1 -1
  122. package/lib/globalMethods/modules/confirmTip.js +1 -1
  123. package/lib/index.css +1 -1
  124. package/lib/index.js +1 -1
  125. package/lib/locale/lang/en-us.js +1 -1
  126. package/lib/locale/lang/zh-cn.js +1 -1
  127. package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js +1 -0
  128. package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/_internal/getTag.js +1 -0
  129. package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/_internal/tags.js +1 -0
  130. package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/object/cloneDeep.js +1 -0
  131. package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/object/cloneDeepWith.js +1 -0
  132. package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/predicate/isPrimitive.js +1 -0
  133. package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/predicate/isTypedArray.js +1 -0
  134. package/lib/node_modules/.pnpm/naive-ui@2.43.1_vue@3.5.22_typescript@5.7.2_/node_modules/naive-ui/es/_utils/css/format-length.js +1 -0
  135. package/package.json +1 -1
  136. package/es/components/system-actions/cssVar.mjs +0 -65
  137. package/lib/components/layout/components/WrapHeader.vue2.js +0 -1
  138. package/lib/components/system-actions/cssVar.js +0 -1
@@ -0,0 +1,52 @@
1
+ import { defineComponent as u, createVNode as i, mergeProps as m, computed as r, resolveComponent as a } from "vue";
2
+ import { NButton as c } from "naive-ui";
3
+ import { bodenShapeButtonProps as p, bodenShapeButtonExtendProps as h } from "./interface.mjs";
4
+ import { getButtonThemeOverrides as l } from "./cssVar.mjs";
5
+ import { useOmitProps as f } from "../../../_utils/composable/use-omit-props.mjs";
6
+ import g from "../../../hooks/useNaiveConfigProvideContext.mjs";
7
+ const v = "BodenShapeButton", $ = /* @__PURE__ */ u({
8
+ name: v,
9
+ props: p,
10
+ slots: Object,
11
+ setup(e) {
12
+ const o = f(e, h), t = g(), n = r(() => {
13
+ const {
14
+ name: d = "light"
15
+ } = t?.mergedThemeRef.value || {};
16
+ return d !== "light";
17
+ }), s = r(() => ({
18
+ paddingMedium: "0",
19
+ borderRadiusMedium: e.shape === "circle" ? "50%" : "10px",
20
+ ...l(n.value)
21
+ }));
22
+ return {
23
+ containerStyle: r(() => ({
24
+ width: `${e.width}px`,
25
+ minHeight: `${e.height}px`
26
+ })),
27
+ buttonProps: o,
28
+ shapeThemeOverrides: s
29
+ };
30
+ },
31
+ render() {
32
+ const {
33
+ $props: e,
34
+ $attrs: o,
35
+ $slots: t
36
+ } = this, n = {
37
+ ...t,
38
+ default: () => t.default ? t.default() : e.content,
39
+ icon: () => t.icon ? t.icon() : e.icon ? i(a("SvgIcon"), {
40
+ icon: e.icon
41
+ }, null) : void 0
42
+ };
43
+ return i(c, m(o, this.buttonProps, {
44
+ class: "boden-shape-button",
45
+ style: this.containerStyle,
46
+ themeOverrides: this.shapeThemeOverrides
47
+ }), n);
48
+ }
49
+ });
50
+ export {
51
+ $ as default
52
+ };
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-760e521d"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d89a84b2"]]);
5
5
  export {
6
- s as default
6
+ a as default
7
7
  };
@@ -1,11 +1,12 @@
1
- import { NButton as T, NDropdown as x } from "naive-ui";
2
- import { defineComponent as z, computed as m, h as p, createElementBlock as B, openBlock as I, createVNode as t, withCtx as n, unref as l, createElementVNode as h, toDisplayString as N } from "vue";
3
- import { SvgIcon as o } from "../../node_modules/.pnpm/lib-materials@0.0.8_typescript@5.7.2/node_modules/lib-materials/dist/lib-materials.mjs";
4
- import { useLocale as O } from "../../hooks/useLocale.mjs";
5
- import { useAnimationHook as L } from "../../hooks/useAnimationHook.mjs";
1
+ import { NDropdown as B, NButton as x } from "naive-ui";
2
+ import { defineComponent as z, computed as u, h as g, createElementBlock as I, openBlock as N, createVNode as t, unref as o, withCtx as s, createElementVNode as p, toDisplayString as T } from "vue";
3
+ import { SvgIcon as n } from "../../node_modules/.pnpm/lib-materials@0.0.8_typescript@5.7.2/node_modules/lib-materials/dist/lib-materials.mjs";
4
+ import d from "../shape-button/src/shape-button.mjs";
5
+ import "../shape-button/src/interface.mjs";
6
+ import { useLocale as L } from "../../hooks/useLocale.mjs";
7
+ import { useAnimationHook as O } from "../../hooks/useAnimationHook.mjs";
6
8
  import w from "../../hooks/useNaiveConfigProvideContext.mjs";
7
- import { getButtonThemeOverrides as D } from "./cssVar.mjs";
8
- const U = { class: "boden-system-actions-container" }, E = { class: "user-trigger" }, P = { class: "name" }, F = /* @__PURE__ */ z({
9
+ const D = { class: "boden-system-actions-container" }, U = { class: "user-trigger" }, E = { class: "name" }, F = /* @__PURE__ */ z({
9
10
  name: "BaseSystemActions",
10
11
  __name: "index",
11
12
  props: {
@@ -14,74 +15,68 @@ const U = { class: "boden-system-actions-container" }, E = { class: "user-trigge
14
15
  userInfo: {}
15
16
  },
16
17
  emits: ["toggleSystemTheme", "toggleSystemLang", "toggleUserItem"],
17
- setup(a, { emit: f }) {
18
- const s = a, i = f, y = w(), { t: u } = O(), { toggleAnimationByClipCircle: _ } = L(), r = m(() => {
18
+ setup(l, { emit: f }) {
19
+ const i = l, r = f, y = w(), { t: m } = L(), { toggleAnimationByClipCircle: _ } = O(), c = u(() => {
19
20
  const {
20
21
  name: e = "light"
21
22
  } = y?.mergedThemeRef.value || {};
22
23
  return e !== "light";
23
- }), g = m(() => D(r.value)), v = m(() => s.userActionOption && s.userActionOption.length ? s.userActionOption : [
24
+ }), h = u(() => i.userActionOption && i.userActionOption.length ? i.userActionOption : [
24
25
  {
25
- label: u("boden.systemActions.userCenter"),
26
+ label: m("boden.systemActions.userCenter"),
26
27
  key: "user-center",
27
- icon: () => p(o, { icon: "layout-user-center", size: "16" })
28
+ icon: () => g(n, { icon: "layout-user-center", size: "16" })
28
29
  },
29
30
  {
30
- label: u("boden.systemActions.logout"),
31
+ label: m("boden.systemActions.logout"),
31
32
  key: "logout",
32
- icon: () => p(o, { icon: "layout-logout", size: "16" })
33
+ icon: () => g(n, { icon: "layout-logout", size: "16" })
33
34
  }
34
35
  ]), S = () => {
35
- i("toggleSystemLang");
36
+ r("toggleSystemLang");
36
37
  }, k = (e) => {
37
- i("toggleSystemTheme", e);
38
- }, C = (e, d) => {
39
- i("toggleUserItem", e, d);
40
- }, A = (e) => {
41
- _(e, r.value, k);
38
+ r("toggleSystemTheme", e);
39
+ }, v = (e, a) => {
40
+ r("toggleUserItem", e, a);
41
+ }, C = (e) => {
42
+ _(e, c.value, k);
42
43
  };
43
- return (e, d) => {
44
- const c = T, b = x;
45
- return I(), B("div", U, [
46
- t(c, {
47
- "theme-overrides": g.value,
48
- onClick: A
49
- }, {
50
- default: n(() => [
51
- t(l(o), {
52
- icon: "layout-theme",
44
+ return (e, a) => {
45
+ const A = x, b = B;
46
+ return N(), I("div", D, [
47
+ t(o(d), { onClick: C }, {
48
+ default: s(() => [
49
+ t(o(n), {
50
+ icon: `layout-theme${c.value ? "-dark" : ""}`,
53
51
  size: "16"
54
- })
52
+ }, null, 8, ["icon"])
55
53
  ]),
56
54
  _: 1
57
- }, 8, ["theme-overrides"]),
58
- t(c, {
59
- "theme-overrides": g.value,
60
- onClick: S
61
- }, {
62
- default: n(() => [
63
- t(l(o), {
55
+ }),
56
+ t(o(d), { onClick: S }, {
57
+ default: s(() => [
58
+ t(o(n), {
64
59
  icon: "layout-lang",
65
60
  size: "16"
66
61
  })
67
62
  ]),
68
63
  _: 1
69
- }, 8, ["theme-overrides"]),
64
+ }),
70
65
  t(b, {
71
66
  placement: "bottom",
72
67
  trigger: "click",
73
- options: v.value,
74
- onSelect: C
68
+ options: h.value,
69
+ onSelect: v
75
70
  }, {
76
- default: n(() => [
77
- h("div", E, [
78
- t(c, { text: "" }, {
79
- default: n(() => [
80
- t(l(o), {
81
- icon: `layout-user-${r.value ? "dark" : "light"}`,
71
+ default: s(() => [
72
+ p("div", U, [
73
+ t(A, { text: "" }, {
74
+ default: s(() => [
75
+ t(o(n), {
76
+ icon: `layout-user-${c.value ? "dark" : "light"}`,
82
77
  size: "32"
83
78
  }, null, 8, ["icon"]),
84
- h("span", P, N(a.userInfo?.name), 1)
79
+ p("span", E, T(l.userInfo?.name), 1)
85
80
  ]),
86
81
  _: 1
87
82
  })
@@ -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 l = {
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
- }, c = {
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
- }, d = {
23
+ }, n = {
23
24
  arrowColor: o["color-gray-6"],
24
25
  nodeTextColor: o["color-gray-10"],
25
26
  lineColor: o["color-gray-5"]
26
- }, n = {
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
- }, m = {
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
- }, g = {
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
- }, p = {
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
- m as BreadcrumbThemeLight,
351
- n as PaginationThemeLight,
352
- c as PopconfirmThemeLight,
353
- p as StepsThemeLight,
354
- g as TabsThemeLight,
355
- l as TooltipThemeLight,
356
- d as TreeThemeLight
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
  };
@@ -4,7 +4,7 @@ import "../../token/light.mjs";
4
4
  const c = {
5
5
  color: o["bg-color-3"],
6
6
  paddingMedium: "16px 24px",
7
- borderColor: r["color-gray-3"],
7
+ borderColor: r["color-gray-4"],
8
8
  textColor: o["color-text-3"],
9
9
  titleTextColor: o["color-text-1"],
10
10
  closeIconColor: o["color-text-1"],
@@ -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 t = {
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
- t as CardThemeLight
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 d = {
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
- d as CheckboxThemeLight
20
+ a as CheckboxThemeLight
20
21
  };
@@ -3,10 +3,10 @@ import o from "../../token/dark.mjs";
3
3
  import "../../token/light.mjs";
4
4
  import { DataTableThemeCommon as t } from "./common.mjs";
5
5
  import { merge as e } from "../../../../node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/object/merge.mjs";
6
- const d = e(
6
+ const c = e(
7
7
  {
8
8
  tdColor: o["bg-color-2"],
9
- tdColorStriped: o["fill-color-5"],
9
+ tdColorStriped: "#29292B",
10
10
  tdTextColor: r["color-gray-10"],
11
11
  thColor: o["bg-color-2"],
12
12
  thColorHover: o["bg-color-2"],
@@ -23,5 +23,5 @@ const d = e(
23
23
  { ...t }
24
24
  );
25
25
  export {
26
- d as DataTableThemeDark
26
+ c as DataTableThemeDark
27
27
  };
@@ -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 g = {
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
- g as DataTableThemeLight
18
+ m as DataTableThemeLight
18
19
  };
@@ -1,7 +1,8 @@
1
+ import "../../token/dark.mjs";
1
2
  import o from "../../token/light.mjs";
2
- const e = {
3
- color: o["border-color-1"]
3
+ const i = {
4
+ color: o["border-color-2"]
4
5
  };
5
6
  export {
6
- e as DividerThemeLight
7
+ i as DividerThemeLight
7
8
  };
@@ -1,11 +1,13 @@
1
1
  import o from "../../color/light.mjs";
2
- import { InputNumberThemeCommon as r } from "./common.mjs";
3
- const e = {
4
- ...r,
2
+ import "../../token/dark.mjs";
3
+ import r from "../../token/light.mjs";
4
+ import { InputNumberThemeCommon as l } from "./common.mjs";
5
+ const i = {
6
+ ...l,
5
7
  innerControlsBackground: o["color-gray-3"],
6
8
  innerControlsDisabledBackground: o["color-gray-3"],
7
9
  outerControlsBorderStyle: `1px solid ${o["color-gray-4"]}`,
8
- outerControlsBackground: "",
10
+ outerControlsBackground: r["bg-color-3"],
9
11
  outerControlsBorderStyleDisabled: `1px solid ${o["color-gray-2"]}`,
10
12
  outerControlsBackgroundDisabled: o["color-gray-2"],
11
13
  controlFontColorDisabled: o["color-gray-4"],
@@ -13,5 +15,5 @@ const e = {
13
15
  outerControlsOpacityDisabled: 1
14
16
  };
15
17
  export {
16
- e as InputNumberThemeLight
18
+ i as InputNumberThemeLight
17
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 i = {
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
- i as LayoutThemeLight
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 e from "../../color/light.mjs";
4
+ import m from "../../color/light.mjs";
4
5
  const l = {
5
6
  ...o,
6
7
  color: r["bg-color-3"],
7
- textColor: e["color-gray-10"]
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 a = {
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
- a as RadioThemeLight
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 l } from "./common.mjs";
4
- const a = {
5
- ...l,
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
- a as SwitchThemeLight
15
+ m as SwitchThemeLight
15
16
  };
@@ -1,4 +1,5 @@
1
- import { default as _ } from "./token/light.mjs";
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 oo } from "./components/charts/dark.mjs";
52
- import { ChartsThemeLight as to } from "./components/charts/light.mjs";
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
- oo as ChartsThemeDark,
56
- to as ChartsThemeLight,
56
+ to as ChartsThemeDark,
57
+ mo as ChartsThemeLight,
57
58
  X as configProviderInjectionKey,
58
- _ as lightToken
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;
@@ -1,4 +1,5 @@
1
- const o = {
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
- o as default
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 r = {
2
+ const l = {
3
3
  "color-text-1": "#FFFFFF",
4
4
  "color-text-2": o["color-gray-8"],
5
- "color-text-6": "rgba(22, 28, 42, 1)",
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": "#CAD3E2",
13
- "border-color-2": "#E0E6EF"
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
- r as default
21
+ l as default
17
22
  };
@@ -1,9 +1,10 @@
1
- import { h as a } from "vue";
2
- import { merge as p } from "../../node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/object/merge.mjs";
3
- function u(e) {
4
- return a("span", {}, e || "Tip");
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 f = {
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 m(e, t, n) {
29
- return new Promise((o, r) => {
29
+ function g(e, t, o) {
30
+ return new Promise((n, r) => {
30
31
  if (!window.$dialog) return;
31
- const i = p(f, n || {}), s = window.$dialog.warning({
32
+ const i = a(u(l), o || {}), s = window.$dialog.warning({
32
33
  ...i,
33
34
  content: e,
34
- title: () => typeof t == "function" ? t() : u(t),
35
+ title: () => typeof t == "function" ? t() : f(t),
35
36
  onPositiveClick: () => {
36
- o(s);
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
- m as default
46
+ g as default
46
47
  };