@yh-ui/components 1.0.39 → 1.0.43

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/ai-agent-card/src/ai-agent-card.d.vue.ts +1 -1
  2. package/dist/ai-agent-card/src/ai-agent-card.vue.d.ts +1 -1
  3. package/dist/ai-bubble/index.d.ts +3 -3
  4. package/dist/ai-bubble/src/ai-bubble.d.vue.ts +1 -1
  5. package/dist/ai-bubble/src/ai-bubble.vue.d.ts +1 -1
  6. package/dist/ai-bubble-list/src/ai-bubble-list.d.vue.ts +1 -1
  7. package/dist/ai-bubble-list/src/ai-bubble-list.vue.d.ts +1 -1
  8. package/dist/ai-code-editor/index.d.ts +1 -1
  9. package/dist/ai-code-editor/src/ai-code-editor.d.vue.ts +1 -1
  10. package/dist/ai-code-editor/src/ai-code-editor.vue.d.ts +1 -1
  11. package/dist/ai-file-card/index.d.ts +1 -1
  12. package/dist/ai-file-card/src/ai-file-card.d.vue.ts +1 -1
  13. package/dist/ai-file-card/src/ai-file-card.vue.d.ts +1 -1
  14. package/dist/ai-thought-chain/index.d.ts +1 -1
  15. package/dist/ai-thought-chain/src/ai-thought-chain.d.vue.ts +1 -1
  16. package/dist/ai-thought-chain/src/ai-thought-chain.vue.d.ts +1 -1
  17. package/dist/alert/src/alert.d.vue.ts +2 -2
  18. package/dist/alert/src/alert.vue.d.ts +2 -2
  19. package/dist/countdown/src/countdown.d.vue.ts +1 -1
  20. package/dist/countdown/src/countdown.vue.d.ts +1 -1
  21. package/dist/coupon-card/src/coupon-card.d.vue.ts +2 -2
  22. package/dist/coupon-card/src/coupon-card.vue.d.ts +2 -2
  23. package/dist/date-picker/src/date-picker.d.vue.ts +2 -2
  24. package/dist/date-picker/src/date-picker.vue.d.ts +2 -2
  25. package/dist/dayjs-plugins.cjs +6 -6
  26. package/dist/dayjs-plugins.d.ts +6 -6
  27. package/dist/dayjs-plugins.mjs +6 -6
  28. package/dist/dayjs.cjs +5 -4
  29. package/dist/dayjs.mjs +1 -1
  30. package/dist/dialog/src/dialog.d.vue.ts +1 -1
  31. package/dist/dialog/src/dialog.vue.d.ts +1 -1
  32. package/dist/dropdown/src/dropdown.d.vue.ts +2 -2
  33. package/dist/dropdown/src/dropdown.vue.d.ts +2 -2
  34. package/dist/form/src/form-item.d.vue.ts +1 -1
  35. package/dist/form/src/form-item.vue.d.ts +1 -1
  36. package/dist/input/index.d.ts +6 -6
  37. package/dist/input/src/input.d.vue.ts +2 -2
  38. package/dist/input/src/input.vue.d.ts +2 -2
  39. package/dist/popconfirm/src/popconfirm.d.vue.ts +3 -3
  40. package/dist/popconfirm/src/popconfirm.vue.d.ts +3 -3
  41. package/dist/price/src/price.d.vue.ts +1 -1
  42. package/dist/price/src/price.vue.d.ts +1 -1
  43. package/dist/product-card/src/product-card.d.vue.ts +1 -1
  44. package/dist/product-card/src/product-card.vue.d.ts +1 -1
  45. package/dist/skeleton/src/skeleton.d.vue.ts +1 -1
  46. package/dist/skeleton/src/skeleton.vue.d.ts +1 -1
  47. package/dist/switch/src/switch.d.vue.ts +1 -1
  48. package/dist/switch/src/switch.vue.d.ts +1 -1
  49. package/package.json +5 -5
@@ -47,11 +47,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
47
47
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
48
48
  readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
49
49
  readonly layout: "compact" | "horizontal" | "vertical";
50
+ readonly loading: boolean;
50
51
  readonly showActions: boolean;
51
52
  readonly showStats: boolean;
52
53
  readonly favoritable: boolean;
53
54
  readonly selected: boolean;
54
- readonly loading: boolean;
55
55
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
56
56
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
57
57
  export default _default;
@@ -47,11 +47,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
47
47
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
48
48
  readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
49
49
  readonly layout: "compact" | "horizontal" | "vertical";
50
+ readonly loading: boolean;
50
51
  readonly showActions: boolean;
51
52
  readonly showStats: boolean;
52
53
  readonly favoritable: boolean;
53
54
  readonly selected: boolean;
54
- readonly loading: boolean;
55
55
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
56
56
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
57
57
  export default _default;
@@ -117,8 +117,8 @@ export declare const YhAiBubble: import("@yh-ui/utils").SFCWithInstall<{
117
117
  }>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
118
118
  themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
119
119
  content: string;
120
- loading: boolean;
121
120
  variant: "filled" | "outlined" | "borderless" | "shadow";
121
+ loading: boolean;
122
122
  markdown: boolean;
123
123
  role: "user" | "assistant" | "system";
124
124
  allowedTags: string[];
@@ -263,8 +263,8 @@ export declare const YhAiBubble: import("@yh-ui/utils").SFCWithInstall<{
263
263
  }>> & Readonly<{}>, {}, {}, {}, {}, {
264
264
  themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
265
265
  content: string;
266
- loading: boolean;
267
266
  variant: "filled" | "outlined" | "borderless" | "shadow";
267
+ loading: boolean;
268
268
  markdown: boolean;
269
269
  role: "user" | "assistant" | "system";
270
270
  allowedTags: string[];
@@ -406,8 +406,8 @@ export declare const YhAiBubble: import("@yh-ui/utils").SFCWithInstall<{
406
406
  }>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
407
407
  themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
408
408
  content: string;
409
- loading: boolean;
410
409
  variant: "filled" | "outlined" | "borderless" | "shadow";
410
+ loading: boolean;
411
411
  markdown: boolean;
412
412
  role: "user" | "assistant" | "system";
413
413
  allowedTags: string[];
@@ -241,8 +241,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
241
241
  }>> & Readonly<{}>, {
242
242
  themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
243
243
  content: string;
244
- loading: boolean;
245
244
  variant: "filled" | "outlined" | "borderless" | "shadow";
245
+ loading: boolean;
246
246
  markdown: boolean;
247
247
  role: "user" | "assistant" | "system";
248
248
  allowedTags: string[];
@@ -241,8 +241,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
241
241
  }>> & Readonly<{}>, {
242
242
  themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
243
243
  content: string;
244
- loading: boolean;
245
244
  variant: "filled" | "outlined" | "borderless" | "shadow";
245
+ loading: boolean;
246
246
  markdown: boolean;
247
247
  role: "user" | "assistant" | "system";
248
248
  allowedTags: string[];
@@ -78,8 +78,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
78
78
  }>> & Readonly<{}>, {
79
79
  themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
80
80
  height: string | number;
81
- loading: boolean;
82
81
  items: AiBubbleListItem[];
82
+ loading: boolean;
83
83
  virtualScroll: boolean;
84
84
  itemHeight: number;
85
85
  autoScroll: boolean;
@@ -78,8 +78,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
78
78
  }>> & Readonly<{}>, {
79
79
  themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
80
80
  height: string | number;
81
- loading: boolean;
82
81
  items: AiBubbleListItem[];
82
+ loading: boolean;
83
83
  virtualScroll: boolean;
84
84
  itemHeight: number;
85
85
  autoScroll: boolean;
@@ -65,8 +65,8 @@ export declare const YhAiCodeEditor: import("@yh-ui/utils").SFCWithInstall<impor
65
65
  readonly language: string;
66
66
  readonly theme: string;
67
67
  readonly modelValue: string;
68
- readonly initialValue: string;
69
68
  readonly readonly: boolean;
69
+ readonly initialValue: string;
70
70
  readonly minimap: boolean;
71
71
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, unknown>;
72
72
  export default YhAiCodeEditor;
@@ -64,8 +64,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
64
64
  readonly language: string;
65
65
  readonly theme: string;
66
66
  readonly modelValue: string;
67
- readonly initialValue: string;
68
67
  readonly readonly: boolean;
68
+ readonly initialValue: string;
69
69
  readonly minimap: boolean;
70
70
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
71
71
  export default _default;
@@ -64,8 +64,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
64
64
  readonly language: string;
65
65
  readonly theme: string;
66
66
  readonly modelValue: string;
67
- readonly initialValue: string;
68
67
  readonly readonly: boolean;
68
+ readonly initialValue: string;
69
69
  readonly minimap: boolean;
70
70
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
71
71
  export default _default;
@@ -10,8 +10,8 @@ export declare const YhAiFileCard: import("@yh-ui/utils").SFCWithInstall<{
10
10
  readonly size: import("./src/ai-file-card").FileCardSize;
11
11
  readonly icon: import("./src/ai-file-card").PresetFileIcons;
12
12
  readonly mask: string;
13
- readonly description: string;
14
13
  readonly loading: boolean;
14
+ readonly description: string;
15
15
  readonly src: string;
16
16
  readonly byte: number;
17
17
  readonly imageProps: Record<string, unknown>;
@@ -61,8 +61,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
61
61
  readonly size: import("./ai-file-card").FileCardSize;
62
62
  readonly icon: import("./ai-file-card").PresetFileIcons;
63
63
  readonly mask: string;
64
- readonly description: string;
65
64
  readonly loading: boolean;
65
+ readonly description: string;
66
66
  readonly src: string;
67
67
  readonly byte: number;
68
68
  readonly imageProps: Record<string, unknown>;
@@ -61,8 +61,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
61
61
  readonly size: import("./ai-file-card").FileCardSize;
62
62
  readonly icon: import("./ai-file-card").PresetFileIcons;
63
63
  readonly mask: string;
64
- readonly description: string;
65
64
  readonly loading: boolean;
65
+ readonly description: string;
66
66
  readonly src: string;
67
67
  readonly byte: number;
68
68
  readonly imageProps: Record<string, unknown>;
@@ -7,8 +7,8 @@ export declare const YhAiThoughtChain: import("@yh-ui/utils").SFCWithInstall<{
7
7
  } & import("vue").ComponentOptionsBase<any, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, {
8
8
  readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
9
9
  readonly style: Record<string, string>;
10
- readonly status: import("./src/ai-thought-chain").AiThoughtStatus;
11
10
  readonly items: import("./src/ai-thought-chain").AiThoughtItem[];
11
+ readonly status: import("./src/ai-thought-chain").AiThoughtStatus;
12
12
  readonly markdown: boolean;
13
13
  readonly showProgress: boolean;
14
14
  readonly thinking: boolean;
@@ -69,8 +69,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
69
69
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
70
70
  readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
71
71
  readonly style: Record<string, string>;
72
- readonly status: AiThoughtStatus;
73
72
  readonly items: AiThoughtItem[];
73
+ readonly status: AiThoughtStatus;
74
74
  readonly markdown: boolean;
75
75
  readonly showProgress: boolean;
76
76
  readonly thinking: boolean;
@@ -69,8 +69,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
69
69
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
70
70
  readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
71
71
  readonly style: Record<string, string>;
72
- readonly status: AiThoughtStatus;
73
72
  readonly items: AiThoughtItem[];
73
+ readonly status: AiThoughtStatus;
74
74
  readonly markdown: boolean;
75
75
  readonly showProgress: boolean;
76
76
  readonly thinking: boolean;
@@ -81,13 +81,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
81
81
  };
82
82
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
83
83
  readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
84
- readonly type: "error" | "success" | "warning" | "info";
84
+ readonly type: "error" | "info" | "warning" | "success";
85
85
  readonly center: boolean;
86
86
  readonly icon: string | import("vue").Component;
87
87
  readonly title: string;
88
- readonly description: string;
89
88
  readonly effect: "dark" | "light" | "outline" | "glass";
90
89
  readonly scrollable: boolean;
90
+ readonly description: string;
91
91
  readonly showProgress: boolean;
92
92
  readonly closeIcon: string | import("vue").Component;
93
93
  readonly showIcon: boolean;
@@ -81,13 +81,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
81
81
  };
82
82
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
83
83
  readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
84
- readonly type: "error" | "success" | "warning" | "info";
84
+ readonly type: "error" | "info" | "warning" | "success";
85
85
  readonly center: boolean;
86
86
  readonly icon: string | import("vue").Component;
87
87
  readonly title: string;
88
- readonly description: string;
89
88
  readonly effect: "dark" | "light" | "outline" | "glass";
90
89
  readonly scrollable: boolean;
90
+ readonly description: string;
91
91
  readonly showProgress: boolean;
92
92
  readonly closeIcon: string | import("vue").Component;
93
93
  readonly showIcon: boolean;
@@ -123,8 +123,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
123
123
  readonly separator: string;
124
124
  readonly title: string;
125
125
  readonly format: import("./countdown").CountdownFormat;
126
- readonly interval: number;
127
126
  readonly suffix: string;
127
+ readonly interval: number;
128
128
  readonly autoStart: boolean;
129
129
  readonly precision: 100 | 10 | 1000;
130
130
  readonly useMonospaceFont: boolean;
@@ -123,8 +123,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
123
123
  readonly separator: string;
124
124
  readonly title: string;
125
125
  readonly format: import("./countdown").CountdownFormat;
126
- readonly interval: number;
127
126
  readonly suffix: string;
127
+ readonly interval: number;
128
128
  readonly autoStart: boolean;
129
129
  readonly precision: 100 | 10 | 1000;
130
130
  readonly useMonospaceFont: boolean;
@@ -96,10 +96,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
96
96
  disabled: boolean;
97
97
  themeOverrides: Record<string, string>;
98
98
  title: string;
99
+ variant: "circle" | "indent" | "scallop";
99
100
  description: string;
100
101
  status: import("./coupon-card").CouponStatus;
101
102
  selected: boolean;
102
- variant: "circle" | "indent" | "scallop";
103
103
  percent: number;
104
104
  badge: string;
105
105
  selectable: boolean;
@@ -107,7 +107,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
107
107
  threshold: string | number;
108
108
  validPeriod: string;
109
109
  actionText: string;
110
- badgeType: "primary" | "success" | "warning" | "danger";
110
+ badgeType: "warning" | "success" | "primary" | "danger";
111
111
  percentText: string;
112
112
  rules: string;
113
113
  ruleTitle: string;
@@ -96,10 +96,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
96
96
  disabled: boolean;
97
97
  themeOverrides: Record<string, string>;
98
98
  title: string;
99
+ variant: "circle" | "indent" | "scallop";
99
100
  description: string;
100
101
  status: import("./coupon-card").CouponStatus;
101
102
  selected: boolean;
102
- variant: "circle" | "indent" | "scallop";
103
103
  percent: number;
104
104
  badge: string;
105
105
  selectable: boolean;
@@ -107,7 +107,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
107
107
  threshold: string | number;
108
108
  validPeriod: string;
109
109
  actionText: string;
110
- badgeType: "primary" | "success" | "warning" | "danger";
110
+ badgeType: "warning" | "success" | "primary" | "danger";
111
111
  percentText: string;
112
112
  rules: string;
113
113
  ruleTitle: string;
@@ -326,10 +326,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
326
326
  readonly name: string;
327
327
  readonly type: DatePickerType;
328
328
  readonly size: import("./date-picker").DatePickerSize;
329
- readonly id: string;
330
- readonly status: import("./date-picker").DatePickerStatus;
331
329
  readonly format: string;
332
330
  readonly popperClass: string;
331
+ readonly id: string;
332
+ readonly status: import("./date-picker").DatePickerStatus;
333
333
  readonly placeholder: string;
334
334
  readonly modelValue: string | number | Date | [DateValue, DateValue] | null;
335
335
  readonly readonly: boolean;
@@ -326,10 +326,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
326
326
  readonly name: string;
327
327
  readonly type: DatePickerType;
328
328
  readonly size: import("./date-picker").DatePickerSize;
329
- readonly id: string;
330
- readonly status: import("./date-picker").DatePickerStatus;
331
329
  readonly format: string;
332
330
  readonly popperClass: string;
331
+ readonly id: string;
332
+ readonly status: import("./date-picker").DatePickerStatus;
333
333
  readonly placeholder: string;
334
334
  readonly modelValue: string | number | Date | [DateValue, DateValue] | null;
335
335
  readonly readonly: boolean;
@@ -39,10 +39,10 @@ Object.defineProperty(exports, "weekOfYearPlugin", {
39
39
  return _weekOfYear.default;
40
40
  }
41
41
  });
42
- var _advancedFormat = _interopRequireDefault(require("dayjs/plugin/advancedFormat.js"));
43
- var _customParseFormat = _interopRequireDefault(require("dayjs/plugin/customParseFormat.js"));
44
- var _isBetween = _interopRequireDefault(require("dayjs/plugin/isBetween.js"));
45
- var _isoWeek = _interopRequireDefault(require("dayjs/plugin/isoWeek.js"));
46
- var _quarterOfYear = _interopRequireDefault(require("dayjs/plugin/quarterOfYear.js"));
47
- var _weekOfYear = _interopRequireDefault(require("dayjs/plugin/weekOfYear.js"));
42
+ var _advancedFormat = _interopRequireDefault(require("dayjs/plugin/advancedFormat"));
43
+ var _customParseFormat = _interopRequireDefault(require("dayjs/plugin/customParseFormat"));
44
+ var _isBetween = _interopRequireDefault(require("dayjs/plugin/isBetween"));
45
+ var _isoWeek = _interopRequireDefault(require("dayjs/plugin/isoWeek"));
46
+ var _quarterOfYear = _interopRequireDefault(require("dayjs/plugin/quarterOfYear"));
47
+ var _weekOfYear = _interopRequireDefault(require("dayjs/plugin/weekOfYear"));
48
48
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -1,7 +1,7 @@
1
- import advancedFormatPlugin from 'dayjs/plugin/advancedFormat.js';
2
- import customParseFormatPlugin from 'dayjs/plugin/customParseFormat.js';
3
- import isBetweenPlugin from 'dayjs/plugin/isBetween.js';
4
- import isoWeekPlugin from 'dayjs/plugin/isoWeek.js';
5
- import quarterOfYearPlugin from 'dayjs/plugin/quarterOfYear.js';
6
- import weekOfYearPlugin from 'dayjs/plugin/weekOfYear.js';
1
+ import advancedFormatPlugin from 'dayjs/plugin/advancedFormat';
2
+ import customParseFormatPlugin from 'dayjs/plugin/customParseFormat';
3
+ import isBetweenPlugin from 'dayjs/plugin/isBetween';
4
+ import isoWeekPlugin from 'dayjs/plugin/isoWeek';
5
+ import quarterOfYearPlugin from 'dayjs/plugin/quarterOfYear';
6
+ import weekOfYearPlugin from 'dayjs/plugin/weekOfYear';
7
7
  export { advancedFormatPlugin, customParseFormatPlugin, isBetweenPlugin, isoWeekPlugin, quarterOfYearPlugin, weekOfYearPlugin };
@@ -1,9 +1,9 @@
1
- import advancedFormatPlugin from "dayjs/plugin/advancedFormat.js";
2
- import customParseFormatPlugin from "dayjs/plugin/customParseFormat.js";
3
- import isBetweenPlugin from "dayjs/plugin/isBetween.js";
4
- import isoWeekPlugin from "dayjs/plugin/isoWeek.js";
5
- import quarterOfYearPlugin from "dayjs/plugin/quarterOfYear.js";
6
- import weekOfYearPlugin from "dayjs/plugin/weekOfYear.js";
1
+ import advancedFormatPlugin from "dayjs/plugin/advancedFormat";
2
+ import customParseFormatPlugin from "dayjs/plugin/customParseFormat";
3
+ import isBetweenPlugin from "dayjs/plugin/isBetween";
4
+ import isoWeekPlugin from "dayjs/plugin/isoWeek";
5
+ import quarterOfYearPlugin from "dayjs/plugin/quarterOfYear";
6
+ import weekOfYearPlugin from "dayjs/plugin/weekOfYear";
7
7
  export {
8
8
  advancedFormatPlugin,
9
9
  customParseFormatPlugin,
package/dist/dayjs.cjs CHANGED
@@ -4,9 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- var _dayjs = _interopRequireDefault(require("dayjs"));
8
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
- const dayjs = typeof _dayjs.default === "function" ? _dayjs.default :
7
+ var dayjsObject = _interopRequireWildcard(require("dayjs"));
8
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
9
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
10
+ const dayjs = typeof dayjsObject === "function" ? dayjsObject :
10
11
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
11
- _dayjs.default.default || _dayjs.default;
12
+ dayjsObject.default || dayjsObject;
12
13
  module.exports = dayjs;
package/dist/dayjs.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import dayjsObject from "dayjs";
1
+ import * as dayjsObject from "dayjs";
2
2
  const dayjs = typeof dayjsObject === "function" ? dayjsObject : (
3
3
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
4
4
  dayjsObject.default || dayjsObject
@@ -177,7 +177,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
177
177
  readonly top: string;
178
178
  readonly zIndex: number;
179
179
  readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
180
- readonly type: "default" | "error" | "success" | "warning" | "info";
180
+ readonly type: "default" | "error" | "info" | "warning" | "success";
181
181
  readonly width: string | number;
182
182
  readonly center: boolean;
183
183
  readonly transformOrigin: "center" | "mouse";
@@ -177,7 +177,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
177
177
  readonly top: string;
178
178
  readonly zIndex: number;
179
179
  readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
180
- readonly type: "default" | "error" | "success" | "warning" | "info";
180
+ readonly type: "default" | "error" | "info" | "warning" | "success";
181
181
  readonly width: string | number;
182
182
  readonly center: boolean;
183
183
  readonly transformOrigin: "center" | "mouse";
@@ -127,10 +127,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
127
127
  readonly teleported: boolean;
128
128
  readonly disabled: boolean;
129
129
  readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
130
- readonly type: "" | "primary" | "success" | "warning" | "danger" | "info";
130
+ readonly type: "" | "info" | "warning" | "success" | "primary" | "danger";
131
131
  readonly visible: boolean | null;
132
132
  readonly size: "small" | "default" | "large";
133
133
  readonly maxHeight: string | number;
134
+ readonly items: import("./dropdown").DropdownItemData[];
134
135
  readonly loading: boolean;
135
136
  readonly placement: import("@floating-ui/utils").Placement;
136
137
  readonly trigger: import("./dropdown").DropdownTrigger;
@@ -139,7 +140,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
139
140
  readonly showArrow: boolean;
140
141
  readonly popperClass: string;
141
142
  readonly popperStyle: CSSProperties;
142
- readonly items: import("./dropdown").DropdownItemData[];
143
143
  readonly plain: boolean;
144
144
  readonly tabindex: string | number;
145
145
  readonly loop: boolean;
@@ -127,10 +127,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
127
127
  readonly teleported: boolean;
128
128
  readonly disabled: boolean;
129
129
  readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
130
- readonly type: "" | "primary" | "success" | "warning" | "danger" | "info";
130
+ readonly type: "" | "info" | "warning" | "success" | "primary" | "danger";
131
131
  readonly visible: boolean | null;
132
132
  readonly size: "small" | "default" | "large";
133
133
  readonly maxHeight: string | number;
134
+ readonly items: import("./dropdown").DropdownItemData[];
134
135
  readonly loading: boolean;
135
136
  readonly placement: import("@floating-ui/utils").Placement;
136
137
  readonly trigger: import("./dropdown").DropdownTrigger;
@@ -139,7 +140,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
139
140
  readonly showArrow: boolean;
140
141
  readonly popperClass: string;
141
142
  readonly popperStyle: CSSProperties;
142
- readonly items: import("./dropdown").DropdownItemData[];
143
143
  readonly plain: boolean;
144
144
  readonly tabindex: string | number;
145
145
  readonly loop: boolean;
@@ -128,12 +128,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
128
128
  readonly error: string;
129
129
  readonly required: boolean;
130
130
  readonly rules: FormRule | FormRule[];
131
+ readonly validateStatus: ValidateStatus;
131
132
  readonly labelWidth: string | number;
132
133
  readonly showMessage: boolean;
133
134
  readonly prop: string;
134
135
  readonly validateTrigger: string | string[];
135
136
  readonly errorPosition: "left" | "center" | "right";
136
- readonly validateStatus: ValidateStatus;
137
137
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
138
138
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
139
139
  export default _default;
@@ -128,12 +128,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
128
128
  readonly error: string;
129
129
  readonly required: boolean;
130
130
  readonly rules: FormRule | FormRule[];
131
+ readonly validateStatus: ValidateStatus;
131
132
  readonly labelWidth: string | number;
132
133
  readonly showMessage: boolean;
133
134
  readonly prop: string;
134
135
  readonly validateTrigger: string | string[];
135
136
  readonly errorPosition: "left" | "center" | "right";
136
- readonly validateStatus: ValidateStatus;
137
137
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
138
138
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
139
139
  export default _default;
@@ -41,9 +41,9 @@ export declare const YhInput: import("@yh-ui/utils").SFCWithInstall<{
41
41
  type: import("./src/input").InputType;
42
42
  size: import("./src/input").InputSize;
43
43
  label: string;
44
- status: import("./src/input").InputStatus;
45
- loading: boolean;
46
44
  variant: import("./src/input").InputVariant;
45
+ loading: boolean;
46
+ status: import("./src/input").InputStatus;
47
47
  autofocus: boolean;
48
48
  readonly: boolean;
49
49
  clearable: boolean;
@@ -89,9 +89,9 @@ export declare const YhInput: import("@yh-ui/utils").SFCWithInstall<{
89
89
  type: import("./src/input").InputType;
90
90
  size: import("./src/input").InputSize;
91
91
  label: string;
92
- status: import("./src/input").InputStatus;
93
- loading: boolean;
94
92
  variant: import("./src/input").InputVariant;
93
+ loading: boolean;
94
+ status: import("./src/input").InputStatus;
95
95
  autofocus: boolean;
96
96
  readonly: boolean;
97
97
  clearable: boolean;
@@ -146,9 +146,9 @@ export declare const YhInput: import("@yh-ui/utils").SFCWithInstall<{
146
146
  type: import("./src/input").InputType;
147
147
  size: import("./src/input").InputSize;
148
148
  label: string;
149
- status: import("./src/input").InputStatus;
150
- loading: boolean;
151
149
  variant: import("./src/input").InputVariant;
150
+ loading: boolean;
151
+ status: import("./src/input").InputStatus;
152
152
  autofocus: boolean;
153
153
  readonly: boolean;
154
154
  clearable: boolean;
@@ -50,9 +50,9 @@ declare const __VLS_component: import("vue").DefineComponent<InputProps, {
50
50
  type: import("./input").InputType;
51
51
  size: import("./input").InputSize;
52
52
  label: string;
53
- status: import("./input").InputStatus;
54
- loading: boolean;
55
53
  variant: import("./input").InputVariant;
54
+ loading: boolean;
55
+ status: import("./input").InputStatus;
56
56
  autofocus: boolean;
57
57
  readonly: boolean;
58
58
  clearable: boolean;
@@ -50,9 +50,9 @@ declare const __VLS_component: import("vue").DefineComponent<InputProps, {
50
50
  type: import("./input").InputType;
51
51
  size: import("./input").InputSize;
52
52
  label: string;
53
- status: import("./input").InputStatus;
54
- loading: boolean;
55
53
  variant: import("./input").InputVariant;
54
+ loading: boolean;
55
+ status: import("./input").InputStatus;
56
56
  autofocus: boolean;
57
57
  readonly: boolean;
58
58
  clearable: boolean;
@@ -122,15 +122,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
122
122
  readonly visible: boolean | null;
123
123
  readonly icon: string;
124
124
  readonly title: string;
125
- readonly description: string;
126
125
  readonly placement: "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
127
126
  readonly showArrow: boolean;
128
127
  readonly popperClass: string;
129
128
  readonly popperStyle: import("vue").StyleValue;
129
+ readonly description: string;
130
130
  readonly confirmButtonText: string;
131
- readonly confirmButtonType: "default" | "primary" | "success" | "warning" | "danger" | "info";
131
+ readonly confirmButtonType: "default" | "info" | "warning" | "success" | "primary" | "danger";
132
132
  readonly cancelButtonText: string;
133
- readonly cancelButtonType: "default" | "primary" | "success" | "warning" | "danger" | "info";
133
+ readonly cancelButtonType: "default" | "info" | "warning" | "success" | "primary" | "danger";
134
134
  readonly iconColor: string;
135
135
  readonly hideIcon: boolean;
136
136
  readonly hideCancel: boolean;
@@ -122,15 +122,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
122
122
  readonly visible: boolean | null;
123
123
  readonly icon: string;
124
124
  readonly title: string;
125
- readonly description: string;
126
125
  readonly placement: "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
127
126
  readonly showArrow: boolean;
128
127
  readonly popperClass: string;
129
128
  readonly popperStyle: import("vue").StyleValue;
129
+ readonly description: string;
130
130
  readonly confirmButtonText: string;
131
- readonly confirmButtonType: "default" | "primary" | "success" | "warning" | "danger" | "info";
131
+ readonly confirmButtonType: "default" | "info" | "warning" | "success" | "primary" | "danger";
132
132
  readonly cancelButtonText: string;
133
- readonly cancelButtonType: "default" | "primary" | "success" | "warning" | "danger" | "info";
133
+ readonly cancelButtonType: "default" | "info" | "warning" | "success" | "primary" | "danger";
134
134
  readonly iconColor: string;
135
135
  readonly hideIcon: boolean;
136
136
  readonly hideCancel: boolean;
@@ -201,7 +201,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
201
201
  gradient: boolean | string[];
202
202
  prefix: string;
203
203
  suffix: string;
204
- tagType: "primary" | "success" | "warning" | "danger" | "info";
204
+ tagType: "info" | "warning" | "success" | "primary" | "danger";
205
205
  precision: number;
206
206
  maxValue: string | number;
207
207
  symbolPosition: "after" | "before";
@@ -201,7 +201,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
201
201
  gradient: boolean | string[];
202
202
  prefix: string;
203
203
  suffix: string;
204
- tagType: "primary" | "success" | "warning" | "danger" | "info";
204
+ tagType: "info" | "warning" | "success" | "primary" | "danger";
205
205
  precision: number;
206
206
  maxValue: string | number;
207
207
  symbolPosition: "after" | "before";
@@ -155,7 +155,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
155
155
  shadow: boolean;
156
156
  readonly: boolean;
157
157
  price: string | number;
158
- tagType: "primary" | "success" | "warning" | "danger" | "info";
158
+ tagType: "info" | "warning" | "success" | "primary" | "danger";
159
159
  actionText: string;
160
160
  unit: string;
161
161
  hoverImage: string;
@@ -155,7 +155,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
155
155
  shadow: boolean;
156
156
  readonly: boolean;
157
157
  price: string | number;
158
- tagType: "primary" | "success" | "warning" | "danger" | "info";
158
+ tagType: "info" | "warning" | "success" | "primary" | "danger";
159
159
  actionText: string;
160
160
  unit: string;
161
161
  hoverImage: string;
@@ -73,8 +73,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
73
73
  }>> & Readonly<{}>, {
74
74
  readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
75
75
  readonly title: boolean;
76
- readonly avatar: boolean;
77
76
  readonly loading: boolean;
77
+ readonly avatar: boolean;
78
78
  readonly lazy: boolean;
79
79
  readonly rows: number;
80
80
  readonly animated: boolean;
@@ -73,8 +73,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
73
73
  }>> & Readonly<{}>, {
74
74
  readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
75
75
  readonly title: boolean;
76
- readonly avatar: boolean;
77
76
  readonly loading: boolean;
77
+ readonly avatar: boolean;
78
78
  readonly lazy: boolean;
79
79
  readonly rows: number;
80
80
  readonly animated: boolean;
@@ -107,8 +107,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
107
107
  name: string;
108
108
  width: string | number;
109
109
  size: "" | "small" | "default" | "large";
110
- id: string;
111
110
  loading: boolean;
111
+ id: string;
112
112
  tabindex: string | number;
113
113
  modelValue: SwitchValueType;
114
114
  validateEvent: boolean;
@@ -107,8 +107,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
107
107
  name: string;
108
108
  width: string | number;
109
109
  size: "" | "small" | "default" | "large";
110
- id: string;
111
110
  loading: boolean;
111
+ id: string;
112
112
  tabindex: string | number;
113
113
  modelValue: SwitchValueType;
114
114
  validateEvent: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yh-ui/components",
3
- "version": "1.0.39",
3
+ "version": "1.0.43",
4
4
  "description": "YH-UI Vue 3 Components",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -45,10 +45,10 @@
45
45
  "dependencies": {
46
46
  "@webcontainer/api": "^1.6.1",
47
47
  "@floating-ui/dom": "^1.7.4",
48
- "@yh-ui/hooks": "^1.0.39",
49
- "@yh-ui/locale": "^1.0.39",
50
- "@yh-ui/theme": "^1.0.39",
51
- "@yh-ui/utils": "^1.0.39",
48
+ "@yh-ui/hooks": "^1.0.43",
49
+ "@yh-ui/locale": "^1.0.43",
50
+ "@yh-ui/theme": "^1.0.43",
51
+ "@yh-ui/utils": "^1.0.43",
52
52
  "async-validator": "^4.2.5",
53
53
  "dayjs": "^1.11.19",
54
54
  "dompurify": "^3.3.3"