base6-ui 2.0.18 → 2.0.20

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 (49) hide show
  1. package/dist/components/input-number/index.vue.d.ts +1 -0
  2. package/dist/config/themes/components/dialog/dark.d.ts +1 -0
  3. package/dist/config/themes/components/dropdown/common.d.ts +2 -0
  4. package/dist/config/themes/components/form/common.d.ts +2 -0
  5. package/dist/index.css +1 -1
  6. package/dist/index.umd.js +1 -1
  7. package/es/components/input-number/index.vue.d.ts +1 -0
  8. package/es/components/input-number/index.vue.mjs +2 -2
  9. package/es/components/input-number/index.vue2.mjs +1 -1
  10. package/es/config/themes/components/baseComponent/dark.mjs +0 -6
  11. package/es/config/themes/components/baseComponent/light.mjs +0 -6
  12. package/es/config/themes/components/button/common.mjs +13 -10
  13. package/es/config/themes/components/dataTable/common.mjs +2 -0
  14. package/es/config/themes/components/dataTable/dark.mjs +20 -14
  15. package/es/config/themes/components/dialog/common.mjs +1 -1
  16. package/es/config/themes/components/dialog/dark.d.ts +1 -0
  17. package/es/config/themes/components/dialog/dark.mjs +4 -3
  18. package/es/config/themes/components/dropdown/common.d.ts +2 -0
  19. package/es/config/themes/components/dropdown/common.mjs +6 -0
  20. package/es/config/themes/components/dropdown/dark.mjs +6 -3
  21. package/es/config/themes/components/dropdown/light.mjs +4 -2
  22. package/es/config/themes/components/form/common.d.ts +2 -0
  23. package/es/config/themes/components/form/common.mjs +12 -0
  24. package/es/config/themes/components/form/dark.mjs +7 -5
  25. package/es/config/themes/components/form/light.mjs +4 -2
  26. package/es/config/themes/components/input/common.mjs +0 -1
  27. package/es/index.css +1 -1
  28. package/lib/components/input-number/index.vue.d.ts +1 -0
  29. package/lib/components/input-number/index.vue.js +1 -1
  30. package/lib/components/input-number/index.vue2.js +1 -1
  31. package/lib/config/themes/components/baseComponent/dark.js +1 -1
  32. package/lib/config/themes/components/baseComponent/light.js +1 -1
  33. package/lib/config/themes/components/button/common.js +1 -1
  34. package/lib/config/themes/components/dataTable/common.js +1 -1
  35. package/lib/config/themes/components/dataTable/dark.js +1 -1
  36. package/lib/config/themes/components/dialog/common.js +1 -1
  37. package/lib/config/themes/components/dialog/dark.d.ts +1 -0
  38. package/lib/config/themes/components/dialog/dark.js +1 -1
  39. package/lib/config/themes/components/dropdown/common.d.ts +2 -0
  40. package/lib/config/themes/components/dropdown/common.js +1 -0
  41. package/lib/config/themes/components/dropdown/dark.js +1 -1
  42. package/lib/config/themes/components/dropdown/light.js +1 -1
  43. package/lib/config/themes/components/form/common.d.ts +2 -0
  44. package/lib/config/themes/components/form/common.js +1 -0
  45. package/lib/config/themes/components/form/dark.js +1 -1
  46. package/lib/config/themes/components/form/light.js +1 -1
  47. package/lib/config/themes/components/input/common.js +1 -1
  48. package/lib/index.css +1 -1
  49. package/package.json +1 -1
@@ -2685,6 +2685,7 @@ declare function __VLS_template(): {
2685
2685
  };
2686
2686
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
2687
2687
  declare const __VLS_component: import('vue').DefineComponent<PropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PropsType> & Readonly<{}>, {
2688
+ size: "small" | "medium" | "large";
2688
2689
  prefixIcon: string;
2689
2690
  suffixIcon: string;
2690
2691
  addIcon: string;
@@ -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 p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b04152e6"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-dd0de284"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -17,7 +17,7 @@ const L = {
17
17
  disabled: { type: Boolean },
18
18
  min: {},
19
19
  max: {},
20
- size: {}
20
+ size: { default: "medium" }
21
21
  },
22
22
  setup(n) {
23
23
  const v = n, { mergedThemeOverridesRef: I } = H(), C = k({}), m = k({}), o = $(), l = p(() => v.disabled || !o.value?.addable), s = p(() => v.disabled || !o.value?.minusable), h = () => {
@@ -192,14 +192,8 @@ const l = {
192
192
  tabRoundBorderRadius: e.tabRoundBorderRadius
193
193
  // closeBorderRadius: string; /* 关闭按钮圆角 */
194
194
  }, p = {
195
- indicatorColorWait: "transparent",
196
- /* 等待状态指示器背景色 */
197
195
  indicatorColorProcess: r["color-primary-6"],
198
196
  /* 进行状态指示器背景色 */
199
- indicatorColorFinish: "transparent",
200
- /* 完成状态指示器背景色 */
201
- indicatorColorError: "transparent",
202
- /* 错误状态指示器背景色 */
203
197
  indicatorTextColorWait: r["color-gray-6"],
204
198
  /* 等待状态指示器文字颜色 */
205
199
  indicatorTextColorProcess: o["color-text-5"],
@@ -290,14 +290,8 @@ const l = {
290
290
  tabRoundBorderRadius: r.tabRoundBorderRadius
291
291
  // closeBorderRadius: commonBase.tabBorderRadius /* 关闭按钮圆角 */
292
292
  }, p = {
293
- indicatorColorWait: e["color-text-1"],
294
- /* 等待状态指示器背景色 */
295
293
  indicatorColorProcess: o["color-primary-6"],
296
294
  /* 进行状态指示器背景色 */
297
- indicatorColorFinish: e["color-text-1"],
298
- /* 完成状态指示器背景色 */
299
- indicatorColorError: e["color-text-1"],
300
- /* 错误状态指示器背景色 */
301
295
  indicatorTextColorWait: o["color-gray-6"],
302
296
  /* 等待状态指示器文字颜色 */
303
297
  indicatorTextColorProcess: e["color-text-1"],
@@ -1,17 +1,20 @@
1
- import { commonBase as e } from "../../common.mjs";
2
- const i = {
3
- borderRadiusLarge: e.borderRadiusLarge,
4
- borderRadiusMedium: e.borderRadiusMedium,
5
- borderRadiusSmall: e.borderRadiusSmall,
6
- heightMedium: e.heightMedium,
1
+ import { commonBase as d } from "../../common.mjs";
2
+ const a = {
3
+ borderRadiusLarge: d.borderRadiusLarge,
4
+ borderRadiusMedium: d.borderRadiusMedium,
5
+ borderRadiusSmall: d.borderRadiusSmall,
6
+ heightMedium: d.heightMedium,
7
7
  heightSmall: "24px",
8
- fontSizeLarge: e.fontSizeLarge,
9
- fontSizeSmall: e.fontSizeSmall,
8
+ fontSizeLarge: d.fontSizeLarge,
9
+ fontSizeSmall: d.fontSizeSmall,
10
10
  opacityDisabled: "1",
11
11
  paddingLarge: "0 24px",
12
12
  paddingMedium: "0 16px",
13
- paddingSmall: "0 12px"
13
+ paddingSmall: "0 12px",
14
+ paddingRoundLarge: "0 24px",
15
+ paddingRoundMedium: "0 16px",
16
+ paddingRoundSmall: "0 12px"
14
17
  };
15
18
  export {
16
- i as ButtonThemeCommon
19
+ a as ButtonThemeCommon
17
20
  };
@@ -1,4 +1,6 @@
1
1
  const t = {
2
+ tdColorSorting: "transparent",
3
+ thColorSorting: "transparent",
2
4
  peers: {
3
5
  Scrollbar: {
4
6
  railInsetHorizontalBottom: "auto 2px 0px 2px",
@@ -1,19 +1,25 @@
1
1
  import r from "../../color/dark.mjs";
2
2
  import o from "../../token/dark.mjs";
3
3
  import { DataTableThemeCommon as t } from "./common.mjs";
4
- const m = {
5
- ...t,
6
- tdColor: o["bg-color-2"],
7
- tdColorStriped: o["fill-color-5"],
8
- tdTextColor: r["color-gray-10"],
9
- thColor: o["bg-color-2"],
10
- thFontWeight: "400",
11
- thPaddingMedium: "6px 12px",
12
- thTextColor: o["color-text-2"],
13
- borderColor: r["color-gray-3"]
14
- // borderColor: darkBase['color-gray-4'],
15
- // borderRadius: commonBase['borderRadiusMedium']
16
- };
4
+ import { merge as e } from "../../../../node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/object/merge.mjs";
5
+ const p = e(
6
+ { ...t },
7
+ {
8
+ tdColor: o["bg-color-2"],
9
+ tdColorStriped: o["fill-color-5"],
10
+ tdTextColor: r["color-gray-10"],
11
+ thColor: o["bg-color-2"],
12
+ thFontWeight: "400",
13
+ thPaddingMedium: "6px 12px",
14
+ thTextColor: o["color-text-2"],
15
+ borderColor: r["color-gray-3"],
16
+ peers: {
17
+ Popover: {
18
+ color: o["bg-color-9"]
19
+ }
20
+ }
21
+ }
22
+ );
17
23
  export {
18
- m as DataTableThemeDark
24
+ p as DataTableThemeDark
19
25
  };
@@ -2,7 +2,7 @@ const p = {
2
2
  closeMargin: "29px 24px 0 0",
3
3
  contentMargin: "24px 0",
4
4
  padding: "24px 24px 16px",
5
- titleFontSize: "24px",
5
+ titleFontSize: "20px",
6
6
  iconMargin: "0 6px 0 0",
7
7
  iconSize: "24px",
8
8
  borderRadius: "10px"
@@ -6,6 +6,7 @@ export declare const DialogThemeDark: {
6
6
  iconColorInfo: string;
7
7
  iconColorSuccess: string;
8
8
  iconColorWarning: string;
9
+ color: string;
9
10
  closeMargin: string;
10
11
  contentMargin: string;
11
12
  padding: string;
@@ -1,15 +1,16 @@
1
1
  import o from "../../color/dark.mjs";
2
2
  import r from "../../token/dark.mjs";
3
- import { DialogThemeCommon as e } from "./common.mjs";
3
+ import { DialogThemeCommon as l } from "./common.mjs";
4
4
  const i = {
5
- ...e,
5
+ ...l,
6
6
  closeIconColor: r["color-text-1"],
7
7
  titleTextColor: r["color-text-1"],
8
8
  textColor: r["color-text-1"],
9
9
  iconColorError: o["color-red-6"],
10
10
  iconColorInfo: o["color-primary-6"],
11
11
  iconColorSuccess: o["color-green-6"],
12
- iconColorWarning: o["color-origin-6"]
12
+ iconColorWarning: o["color-origin-6"],
13
+ color: r["bg-color-3"]
13
14
  };
14
15
  export {
15
16
  i as DialogThemeDark
@@ -0,0 +1,2 @@
1
+ import { DropdownProps } from 'naive-ui';
2
+ export declare const DropdownThemeCommon: DropdownProps['themeOverrides'];
@@ -0,0 +1,6 @@
1
+ const o = {
2
+ borderRadius: "10px"
3
+ };
4
+ export {
5
+ o as DropdownThemeCommon
6
+ };
@@ -1,8 +1,11 @@
1
1
  import o from "../../token/dark.mjs";
2
- const t = {
2
+ import { DropdownThemeCommon as r } from "./common.mjs";
3
+ const l = {
4
+ ...r,
3
5
  optionColorHover: o["fill-color-5"],
4
- optionTextColor: o["color-text-1"]
6
+ optionTextColor: o["color-text-1"],
7
+ color: o["bg-color-9"]
5
8
  };
6
9
  export {
7
- t as DropdownThemeDark
10
+ l as DropdownThemeDark
8
11
  };
@@ -1,8 +1,10 @@
1
1
  import o from "../../color/light.mjs";
2
- const t = {
2
+ import { DropdownThemeCommon as r } from "./common.mjs";
3
+ const e = {
4
+ ...r,
3
5
  optionColorHover: o["color-primary-2"],
4
6
  optionTextColor: o["color-gray-10"]
5
7
  };
6
8
  export {
7
- t as DropdownThemeLight
9
+ e as DropdownThemeLight
8
10
  };
@@ -0,0 +1,2 @@
1
+ import { FormProps } from 'naive-ui';
2
+ export declare const FormThemeCommon: FormProps['themeOverrides'];
@@ -0,0 +1,12 @@
1
+ const e = {
2
+ feedbackHeightSmall: "28px",
3
+ feedbackHeightMedium: "28px",
4
+ feedbackHeightLarge: "28px",
5
+ feedbackPadding: "2px 0 0 2px",
6
+ feedbackFontSizeLarge: "12px",
7
+ feedbackFontSizeMedium: "12px",
8
+ feedbackFontSizeSmall: "12px"
9
+ };
10
+ export {
11
+ e as FormThemeCommon
12
+ };
@@ -1,8 +1,10 @@
1
- import r from "../../color/dark.mjs";
2
- const e = {
3
- asteriskColor: r["color-red-6"],
4
- feedbackTextColorError: r["color-red-6"]
1
+ import o from "../../color/dark.mjs";
2
+ import { FormThemeCommon as r } from "./common.mjs";
3
+ const t = {
4
+ ...r,
5
+ asteriskColor: o["color-red-6"],
6
+ feedbackTextColorError: o["color-red-6"]
5
7
  };
6
8
  export {
7
- e as FormThemeDark
9
+ t as FormThemeDark
8
10
  };
@@ -1,8 +1,10 @@
1
1
  import o from "../../color/light.mjs";
2
- const e = {
2
+ import { FormThemeCommon as r } from "./common.mjs";
3
+ const t = {
4
+ ...r,
3
5
  asteriskColor: o["color-red-6"],
4
6
  feedbackTextColorError: o["color-red-6"]
5
7
  };
6
8
  export {
7
- e as FormThemeLight
9
+ t as FormThemeLight
8
10
  };
@@ -1,7 +1,6 @@
1
1
  import { commonBase as e } from "../../common.mjs";
2
2
  const h = {
3
3
  borderRadius: e.borderRadiusMedium,
4
- boxShadowFocus: "none",
5
4
  fontSizeLarge: e.fontSizeLarge,
6
5
  heightLarge: e.heightLarge,
7
6
  heightMedium: e.heightMedium,