@yh-ui/components 1.0.37 → 1.0.39

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 (45) 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.cjs +4 -1
  26. package/dist/dayjs.d.ts +2 -1
  27. package/dist/dayjs.mjs +5 -1
  28. package/dist/dialog/src/dialog.d.vue.ts +1 -1
  29. package/dist/dialog/src/dialog.vue.d.ts +1 -1
  30. package/dist/dropdown/src/dropdown.d.vue.ts +2 -2
  31. package/dist/dropdown/src/dropdown.vue.d.ts +2 -2
  32. package/dist/input/index.d.ts +6 -6
  33. package/dist/input/src/input.d.vue.ts +2 -2
  34. package/dist/input/src/input.vue.d.ts +2 -2
  35. package/dist/popconfirm/src/popconfirm.d.vue.ts +3 -3
  36. package/dist/popconfirm/src/popconfirm.vue.d.ts +3 -3
  37. package/dist/price/src/price.d.vue.ts +1 -1
  38. package/dist/price/src/price.vue.d.ts +1 -1
  39. package/dist/product-card/src/product-card.d.vue.ts +1 -1
  40. package/dist/product-card/src/product-card.vue.d.ts +1 -1
  41. package/dist/skeleton/src/skeleton.d.vue.ts +1 -1
  42. package/dist/skeleton/src/skeleton.vue.d.ts +1 -1
  43. package/dist/switch/src/switch.d.vue.ts +1 -1
  44. package/dist/switch/src/switch.vue.d.ts +1 -1
  45. 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;
51
50
  readonly showActions: boolean;
52
51
  readonly showStats: boolean;
53
52
  readonly favoritable: boolean;
54
53
  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;
51
50
  readonly showActions: boolean;
52
51
  readonly showStats: boolean;
53
52
  readonly favoritable: boolean;
54
53
  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
- variant: "filled" | "outlined" | "borderless" | "shadow";
121
120
  loading: boolean;
121
+ variant: "filled" | "outlined" | "borderless" | "shadow";
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
- variant: "filled" | "outlined" | "borderless" | "shadow";
267
266
  loading: boolean;
267
+ variant: "filled" | "outlined" | "borderless" | "shadow";
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
- variant: "filled" | "outlined" | "borderless" | "shadow";
410
409
  loading: boolean;
410
+ variant: "filled" | "outlined" | "borderless" | "shadow";
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
- variant: "filled" | "outlined" | "borderless" | "shadow";
245
244
  loading: boolean;
245
+ variant: "filled" | "outlined" | "borderless" | "shadow";
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
- variant: "filled" | "outlined" | "borderless" | "shadow";
245
244
  loading: boolean;
245
+ variant: "filled" | "outlined" | "borderless" | "shadow";
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
- items: AiBubbleListItem[];
82
81
  loading: boolean;
82
+ items: AiBubbleListItem[];
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
- items: AiBubbleListItem[];
82
81
  loading: boolean;
82
+ items: AiBubbleListItem[];
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 readonly: boolean;
69
68
  readonly initialValue: string;
69
+ readonly readonly: boolean;
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 readonly: boolean;
68
67
  readonly initialValue: string;
68
+ readonly readonly: boolean;
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 readonly: boolean;
68
67
  readonly initialValue: string;
68
+ readonly readonly: boolean;
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 loading: boolean;
14
13
  readonly description: string;
14
+ readonly loading: boolean;
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 loading: boolean;
65
64
  readonly description: string;
65
+ readonly loading: boolean;
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 loading: boolean;
65
64
  readonly description: string;
65
+ readonly loading: boolean;
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 items: import("./src/ai-thought-chain").AiThoughtItem[];
11
10
  readonly status: import("./src/ai-thought-chain").AiThoughtStatus;
11
+ readonly items: import("./src/ai-thought-chain").AiThoughtItem[];
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 items: AiThoughtItem[];
73
72
  readonly status: AiThoughtStatus;
73
+ readonly items: AiThoughtItem[];
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 items: AiThoughtItem[];
73
72
  readonly status: AiThoughtStatus;
73
+ readonly items: AiThoughtItem[];
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" | "info" | "warning" | "success";
84
+ readonly type: "error" | "success" | "warning" | "info";
85
85
  readonly center: boolean;
86
86
  readonly icon: string | import("vue").Component;
87
87
  readonly title: string;
88
+ readonly description: string;
88
89
  readonly effect: "dark" | "light" | "outline" | "glass";
89
90
  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" | "info" | "warning" | "success";
84
+ readonly type: "error" | "success" | "warning" | "info";
85
85
  readonly center: boolean;
86
86
  readonly icon: string | import("vue").Component;
87
87
  readonly title: string;
88
+ readonly description: string;
88
89
  readonly effect: "dark" | "light" | "outline" | "glass";
89
90
  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 suffix: string;
127
126
  readonly interval: number;
127
+ readonly suffix: string;
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 suffix: string;
127
126
  readonly interval: number;
127
+ readonly suffix: string;
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";
100
99
  description: string;
101
100
  status: import("./coupon-card").CouponStatus;
102
101
  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: "warning" | "success" | "primary" | "danger";
110
+ badgeType: "primary" | "success" | "warning" | "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";
100
99
  description: string;
101
100
  status: import("./coupon-card").CouponStatus;
102
101
  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: "warning" | "success" | "primary" | "danger";
110
+ badgeType: "primary" | "success" | "warning" | "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 format: string;
330
- readonly popperClass: string;
331
329
  readonly id: string;
332
330
  readonly status: import("./date-picker").DatePickerStatus;
331
+ readonly format: string;
332
+ readonly popperClass: string;
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 format: string;
330
- readonly popperClass: string;
331
329
  readonly id: string;
332
330
  readonly status: import("./date-picker").DatePickerStatus;
331
+ readonly format: string;
332
+ readonly popperClass: string;
333
333
  readonly placeholder: string;
334
334
  readonly modelValue: string | number | Date | [DateValue, DateValue] | null;
335
335
  readonly readonly: boolean;
package/dist/dayjs.cjs CHANGED
@@ -6,4 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
 
7
7
  var _dayjs = _interopRequireDefault(require("dayjs"));
8
8
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
- module.exports = _dayjs.default;
9
+ const dayjs = typeof _dayjs.default === "function" ? _dayjs.default :
10
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
11
+ _dayjs.default.default || _dayjs.default;
12
+ module.exports = dayjs;
package/dist/dayjs.d.ts CHANGED
@@ -1,3 +1,4 @@
1
- import dayjs from 'dayjs';
1
+ import type dayjsType from 'dayjs';
2
+ declare const dayjs: typeof dayjsType;
2
3
  export default dayjs;
3
4
  export type { Dayjs, PluginFunc } from 'dayjs';
package/dist/dayjs.mjs CHANGED
@@ -1,2 +1,6 @@
1
- import dayjs from "dayjs";
1
+ import dayjsObject from "dayjs";
2
+ const dayjs = typeof dayjsObject === "function" ? dayjsObject : (
3
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
4
+ dayjsObject.default || dayjsObject
5
+ );
2
6
  export default dayjs;
@@ -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" | "info" | "warning" | "success";
180
+ readonly type: "default" | "error" | "success" | "warning" | "info";
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" | "info" | "warning" | "success";
180
+ readonly type: "default" | "error" | "success" | "warning" | "info";
181
181
  readonly width: string | number;
182
182
  readonly center: boolean;
183
183
  readonly transformOrigin: "center" | "mouse";
@@ -127,11 +127,10 @@ 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: "" | "info" | "warning" | "success" | "primary" | "danger";
130
+ readonly type: "" | "primary" | "success" | "warning" | "danger" | "info";
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[];
135
134
  readonly loading: boolean;
136
135
  readonly placement: import("@floating-ui/utils").Placement;
137
136
  readonly trigger: import("./dropdown").DropdownTrigger;
@@ -140,6 +139,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
140
139
  readonly showArrow: boolean;
141
140
  readonly popperClass: string;
142
141
  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,11 +127,10 @@ 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: "" | "info" | "warning" | "success" | "primary" | "danger";
130
+ readonly type: "" | "primary" | "success" | "warning" | "danger" | "info";
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[];
135
134
  readonly loading: boolean;
136
135
  readonly placement: import("@floating-ui/utils").Placement;
137
136
  readonly trigger: import("./dropdown").DropdownTrigger;
@@ -140,6 +139,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
140
139
  readonly showArrow: boolean;
141
140
  readonly popperClass: string;
142
141
  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;
@@ -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
- variant: import("./src/input").InputVariant;
45
- loading: boolean;
46
44
  status: import("./src/input").InputStatus;
45
+ loading: boolean;
46
+ variant: import("./src/input").InputVariant;
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
- variant: import("./src/input").InputVariant;
93
- loading: boolean;
94
92
  status: import("./src/input").InputStatus;
93
+ loading: boolean;
94
+ variant: import("./src/input").InputVariant;
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
- variant: import("./src/input").InputVariant;
150
- loading: boolean;
151
149
  status: import("./src/input").InputStatus;
150
+ loading: boolean;
151
+ variant: import("./src/input").InputVariant;
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
- variant: import("./input").InputVariant;
54
- loading: boolean;
55
53
  status: import("./input").InputStatus;
54
+ loading: boolean;
55
+ variant: import("./input").InputVariant;
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
- variant: import("./input").InputVariant;
54
- loading: boolean;
55
53
  status: import("./input").InputStatus;
54
+ loading: boolean;
55
+ variant: import("./input").InputVariant;
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;
125
126
  readonly placement: "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
126
127
  readonly showArrow: boolean;
127
128
  readonly popperClass: string;
128
129
  readonly popperStyle: import("vue").StyleValue;
129
- readonly description: string;
130
130
  readonly confirmButtonText: string;
131
- readonly confirmButtonType: "default" | "info" | "warning" | "success" | "primary" | "danger";
131
+ readonly confirmButtonType: "default" | "primary" | "success" | "warning" | "danger" | "info";
132
132
  readonly cancelButtonText: string;
133
- readonly cancelButtonType: "default" | "info" | "warning" | "success" | "primary" | "danger";
133
+ readonly cancelButtonType: "default" | "primary" | "success" | "warning" | "danger" | "info";
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;
125
126
  readonly placement: "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
126
127
  readonly showArrow: boolean;
127
128
  readonly popperClass: string;
128
129
  readonly popperStyle: import("vue").StyleValue;
129
- readonly description: string;
130
130
  readonly confirmButtonText: string;
131
- readonly confirmButtonType: "default" | "info" | "warning" | "success" | "primary" | "danger";
131
+ readonly confirmButtonType: "default" | "primary" | "success" | "warning" | "danger" | "info";
132
132
  readonly cancelButtonText: string;
133
- readonly cancelButtonType: "default" | "info" | "warning" | "success" | "primary" | "danger";
133
+ readonly cancelButtonType: "default" | "primary" | "success" | "warning" | "danger" | "info";
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: "info" | "warning" | "success" | "primary" | "danger";
204
+ tagType: "primary" | "success" | "warning" | "danger" | "info";
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: "info" | "warning" | "success" | "primary" | "danger";
204
+ tagType: "primary" | "success" | "warning" | "danger" | "info";
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: "info" | "warning" | "success" | "primary" | "danger";
158
+ tagType: "primary" | "success" | "warning" | "danger" | "info";
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: "info" | "warning" | "success" | "primary" | "danger";
158
+ tagType: "primary" | "success" | "warning" | "danger" | "info";
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 loading: boolean;
77
76
  readonly avatar: boolean;
77
+ readonly loading: 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 loading: boolean;
77
76
  readonly avatar: boolean;
77
+ readonly loading: 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
- loading: boolean;
111
110
  id: string;
111
+ loading: boolean;
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
- loading: boolean;
111
110
  id: string;
111
+ loading: boolean;
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.37",
3
+ "version": "1.0.39",
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.37",
49
- "@yh-ui/locale": "^1.0.37",
50
- "@yh-ui/theme": "^1.0.37",
51
- "@yh-ui/utils": "^1.0.37",
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",
52
52
  "async-validator": "^4.2.5",
53
53
  "dayjs": "^1.11.19",
54
54
  "dompurify": "^3.3.3"