x-next 1.3.1 → 1.5.0

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 (182) hide show
  1. package/AI_USAGE.md +2 -2
  2. package/CHANGELOG.md +71 -0
  3. package/dist/_utils/constant.d.ts +1 -1
  4. package/dist/_utils/palette.d.ts +6 -14
  5. package/dist/components/alert/Alert.vue.d.ts +9 -9
  6. package/dist/components/alert/index.d.ts +6 -6
  7. package/dist/components/button/ButtonGroup.vue.d.ts +22 -18
  8. package/dist/components/date-picker/DatePanel.vue.d.ts +342 -1
  9. package/dist/components/date-picker/DatePicker.vue.d.ts +343 -2
  10. package/dist/components/date-picker/index.d.ts +1765 -1083
  11. package/dist/components/dropdown/DropdownButton.vue.d.ts +2 -1
  12. package/dist/components/dropdown/index.d.ts +3 -0
  13. package/dist/components/form-input-tag/index.d.ts +26 -25
  14. package/dist/components/form-input-tag/interface.d.ts +8 -0
  15. package/dist/components/link/Link.vue.d.ts +4 -4
  16. package/dist/components/link/index.d.ts +6 -6
  17. package/dist/components/message/index.d.ts +3 -3
  18. package/dist/components/message/message.vue.d.ts +1 -1
  19. package/dist/components/notification/Notification.d.ts +1 -1
  20. package/dist/components/notification/index.d.ts +3 -3
  21. package/dist/components/popconfirm/src/types.d.ts +1 -1
  22. package/dist/components/progress/Progress.vue.d.ts +3 -3
  23. package/dist/components/progress/index.d.ts +3 -3
  24. package/dist/components/steps/context.d.ts +9 -0
  25. package/dist/components/tabs/TabPane.vue.d.ts +2 -0
  26. package/dist/components/tabs/index.d.ts +6 -0
  27. package/dist/components/tabs/interface.d.ts +4 -0
  28. package/dist/components/tag/Tag.vue.d.ts +14 -0
  29. package/dist/components/tag/index.d.ts +9 -0
  30. package/dist/components/tag/interface.d.ts +5 -0
  31. package/dist/components/trend-chart/components/TrendChart.d.ts +127 -17
  32. package/dist/components/trend-chart/components/trend-chart-curve.d.ts +27 -7
  33. package/dist/components/trend-chart/components/trend-chart-labels.d.ts +4 -0
  34. package/dist/components/trend-chart/helpers/getPadding.d.ts +3 -2
  35. package/dist/components/trend-chart/index.d.ts +223 -28
  36. package/dist/components/trend-chart/props.d.ts +63 -5
  37. package/dist/es/_styles/palette-aliases.js +182 -127
  38. package/dist/es/_utils/palette.js +49 -43
  39. package/dist/es/components/_components/picker/input-range.vue2.js +10 -10
  40. package/dist/es/components/_components/picker/input.vue2.js +20 -20
  41. package/dist/es/components/_components/select-view/select-view.js +2 -2
  42. package/dist/es/components/alert/Alert.vue.js +2 -2
  43. package/dist/es/components/alert/Alert.vue2.js +21 -20
  44. package/dist/es/components/button/Button.js +17 -17
  45. package/dist/es/components/button/ButtonGroup.vue2.js +11 -9
  46. package/dist/es/components/date-picker/DatePanel.vue.js +71 -62
  47. package/dist/es/components/date-picker/DatePanel.vue2.js +50 -40
  48. package/dist/es/components/date-picker/DatePicker.vue2.js +1 -1
  49. package/dist/es/components/dropdown/Dropdown.vue2.js +11 -4
  50. package/dist/es/components/dropdown/DropdownButton.vue.js +8 -7
  51. package/dist/es/components/dropdown/DropdownButton.vue2.js +19 -17
  52. package/dist/es/components/dropdown/DropdownSubmenu.vue.js +18 -17
  53. package/dist/es/components/form/form-item-label.vue.js +25 -22
  54. package/dist/es/components/form/form-item-label.vue2.js +1 -1
  55. package/dist/es/components/form-checkbox/icon-check.js +12 -43
  56. package/dist/es/components/form-input/InputPassword.vue2.js +2 -2
  57. package/dist/es/components/form-input/InputSearch.js +1 -1
  58. package/dist/es/components/form-input-number/InputNumber.js +4 -4
  59. package/dist/es/components/form-input-tag/InputTag.js +168 -147
  60. package/dist/es/components/form-input-tag/utils.js +21 -19
  61. package/dist/es/components/form-textarea/Textarea.vue2.js +1 -1
  62. package/dist/es/components/link/Link.vue2.js +1 -1
  63. package/dist/es/components/menu/MenuSubMenu.js +50 -36
  64. package/dist/es/components/menu/sub-menu-pop.vue2.js +30 -30
  65. package/dist/es/components/pagination/Pagination.js +73 -70
  66. package/dist/es/components/popconfirm/src/popup.vue.js +1 -1
  67. package/dist/es/components/progress/Progress.vue2.js +1 -1
  68. package/dist/es/components/steps/Step.vue2.js +51 -47
  69. package/dist/es/components/steps/Steps.vue2.js +22 -19
  70. package/dist/es/components/table/Table.js +1 -1
  71. package/dist/es/components/table/table-th.js +2 -2
  72. package/dist/es/components/tabs/TabPane.vue.js +11 -9
  73. package/dist/es/components/tabs/TabPane.vue2.js +28 -24
  74. package/dist/es/components/tabs/tabs-button.js +2 -2
  75. package/dist/es/components/tabs/tabs-nav.js +21 -19
  76. package/dist/es/components/tabs/tabs-tab.vue.js +10 -8
  77. package/dist/es/components/tag/Tag.vue.js +20 -20
  78. package/dist/es/components/tag/Tag.vue2.js +35 -28
  79. package/dist/es/components/time-picker/TimePanel.vue.js +30 -29
  80. package/dist/es/components/time-picker/TimePicker.vue2.js +1 -1
  81. package/dist/es/components/time-picker/TimeRangePanel.js +26 -23
  82. package/dist/es/components/trend-chart/components/TrendChart.js +208 -142
  83. package/dist/es/components/trend-chart/components/trend-chart-curve.js +124 -59
  84. package/dist/es/components/trend-chart/components/trend-chart-labels.js +43 -41
  85. package/dist/es/components/trend-chart/helpers/getPadding.js +3 -3
  86. package/dist/es/components/trend-chart/props.js +101 -33
  87. package/dist/es/components/trend-chart/themes.js +15 -15
  88. package/dist/es/components/watermark/controller.js +40 -40
  89. package/dist/es/icons/default/calendar.js +15 -0
  90. package/dist/es/icons/default/clock-circle.js +15 -0
  91. package/dist/es/icons/default/double-left.js +15 -0
  92. package/dist/es/icons/default/double-right.js +15 -0
  93. package/dist/es/icons/default/down.js +16 -0
  94. package/dist/es/icons/default/eye-invisible.js +20 -0
  95. package/dist/es/icons/default/eye.js +18 -0
  96. package/dist/es/icons/default/left.js +15 -0
  97. package/dist/es/icons/default/minus.js +16 -0
  98. package/dist/es/icons/default/plus.js +16 -0
  99. package/dist/es/icons/default/question-circle.js +18 -0
  100. package/dist/es/icons/default/right.js +15 -0
  101. package/dist/es/icons/default/search.js +16 -0
  102. package/dist/es/icons/default/up.js +16 -0
  103. package/dist/es/icons/icon.js +26 -25
  104. package/dist/es/icons/public/boxicons/basic.js +1893 -0
  105. package/dist/es/icons/public/boxicons/brands.js +304 -0
  106. package/dist/es/icons/public/boxicons/filled.js +1893 -0
  107. package/dist/es/icons/public/boxicons/index.js +24 -0
  108. package/dist/es/icons/public/boxicons/names.js +4082 -0
  109. package/dist/es/icons/registry.js +15 -15
  110. package/dist/es/locale/en-US.js +2 -1
  111. package/dist/es/locale/zh-CN.js +2 -1
  112. package/dist/es/style.css +1 -1
  113. package/dist/icons/default/calendar.d.ts +93 -0
  114. package/dist/icons/default/clock-circle.d.ts +93 -0
  115. package/dist/icons/{_self/down.d.ts → default/double-left.d.ts} +6 -0
  116. package/dist/icons/{_self/eye-invisible.d.ts → default/double-right.d.ts} +6 -0
  117. package/dist/icons/default/down.d.ts +93 -0
  118. package/dist/icons/default/eye-invisible.d.ts +93 -0
  119. package/dist/icons/default/eye.d.ts +93 -0
  120. package/dist/icons/{_self/eye.d.ts → default/left.d.ts} +7 -0
  121. package/dist/icons/default/minus.d.ts +93 -0
  122. package/dist/icons/{_self → default}/plus.d.ts +7 -0
  123. package/dist/icons/default/question-circle.d.ts +93 -0
  124. package/dist/icons/{_self/minus.d.ts → default/right.d.ts} +7 -0
  125. package/dist/icons/{_self → default}/search.d.ts +7 -0
  126. package/dist/icons/{_self → default}/up.d.ts +7 -0
  127. package/dist/icons/public/boxicons/basic.cjs +1 -0
  128. package/dist/icons/public/boxicons/basic.d.ts +2 -0
  129. package/dist/icons/public/boxicons/brands.cjs +1 -0
  130. package/dist/icons/public/boxicons/brands.d.ts +2 -0
  131. package/dist/icons/public/boxicons/filled.cjs +1 -0
  132. package/dist/icons/public/boxicons/filled.d.ts +2 -0
  133. package/dist/icons/public/boxicons/index.cjs +1 -0
  134. package/dist/icons/public/boxicons/index.d.ts +10 -0
  135. package/dist/icons/public/boxicons/names.d.ts +10 -0
  136. package/dist/icons/registry.d.ts +5 -0
  137. package/dist/index.cjs +4 -4
  138. package/dist/index.umd.js +4 -4
  139. package/dist/locale/interface.d.ts +2 -0
  140. package/dist/style/alert.css +1 -1
  141. package/dist/style/base.css +1 -1
  142. package/dist/style/button.css +1 -1
  143. package/dist/style/date-picker.css +1 -1
  144. package/dist/style/dialog.css +1 -1
  145. package/dist/style/drawer.css +1 -1
  146. package/dist/style/dropdown.css +1 -1
  147. package/dist/style/form-input-number.css +1 -1
  148. package/dist/style/form-input-tag.css +1 -1
  149. package/dist/style/form-input.css +1 -1
  150. package/dist/style/form-radio.css +1 -1
  151. package/dist/style/form-select.css +1 -1
  152. package/dist/style/form-textarea.css +1 -1
  153. package/dist/style/form.css +1 -1
  154. package/dist/style/link.css +1 -1
  155. package/dist/style/menu.css +1 -1
  156. package/dist/style/message-box.css +1 -1
  157. package/dist/style/network.css +1 -1
  158. package/dist/style/pagination.css +1 -1
  159. package/dist/style/popconfirm.css +1 -1
  160. package/dist/style/popover.css +1 -1
  161. package/dist/style/popup.css +1 -1
  162. package/dist/style/progress.css +1 -1
  163. package/dist/style/rate.css +1 -1
  164. package/dist/style/spin.css +1 -1
  165. package/dist/style/steps.css +1 -1
  166. package/dist/style/table.css +1 -1
  167. package/dist/style/tabs.css +1 -1
  168. package/dist/style/tag.css +1 -1
  169. package/dist/style/time-picker.css +1 -1
  170. package/dist/style/time-range-selector.css +1 -1
  171. package/dist/style.css +1 -1
  172. package/package.json +31 -4
  173. package/dist/es/icons/_self/down.js +0 -16
  174. package/dist/es/icons/_self/eye-invisible.js +0 -13
  175. package/dist/es/icons/_self/eye.js +0 -13
  176. package/dist/es/icons/_self/minus.js +0 -13
  177. package/dist/es/icons/_self/plus.js +0 -12
  178. package/dist/es/icons/_self/question-message.js +0 -12
  179. package/dist/es/icons/_self/search.js +0 -13
  180. package/dist/es/icons/_self/up.js +0 -16
  181. package/dist/es/icons/_ui/calendar.js +0 -13
  182. package/dist/es/icons/_ui/time.js +0 -12
@@ -92,6 +92,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
92
92
  modifier: (className: string) => string;
93
93
  is: (className: string) => string;
94
94
  };
95
+ t: (key: import('../../locale').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
95
96
  computedPopupVisible: import('vue').ComputedRef<boolean>;
96
97
  handleClick: (ev: MouseEvent) => void;
97
98
  handleSelect: (value: string | number | Record<string, unknown> | undefined, ev: Event) => void;
@@ -1356,7 +1357,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1356
1357
  panelElement: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
1357
1358
  handleKeydown: (ev: KeyboardEvent) => void;
1358
1359
  handleScroll: (e: Event) => void;
1359
- t: (key: import('../../index.ts').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
1360
+ t: (key: import('../../locale').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
1360
1361
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "scroll" | "reachBottom")[], "close" | "scroll" | "reachBottom", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
1361
1362
  closeOnArrowLeft: BooleanConstructor;
1362
1363
  loading: {
@@ -5713,6 +5713,7 @@ export declare const DropdownButton: {
5713
5713
  modifier: (className: string) => string;
5714
5714
  is: (className: string) => string;
5715
5715
  };
5716
+ t: (key: import('../..').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
5716
5717
  computedPopupVisible: import('vue').ComputedRef<boolean>;
5717
5718
  handleClick: (ev: MouseEvent) => void;
5718
5719
  handleSelect: (value: string | number | Record<string, unknown> | undefined, ev: Event) => void;
@@ -7430,6 +7431,7 @@ export declare const DropdownButton: {
7430
7431
  modifier: (className: string) => string;
7431
7432
  is: (className: string) => string;
7432
7433
  };
7434
+ t: (key: import('../..').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
7433
7435
  computedPopupVisible: import('vue').ComputedRef<boolean>;
7434
7436
  handleClick: (ev: MouseEvent) => void;
7435
7437
  handleSelect: (value: string | number | Record<string, unknown> | undefined, ev: Event) => void;
@@ -7498,6 +7500,7 @@ export declare const DropdownButton: {
7498
7500
  modifier: (className: string) => string;
7499
7501
  is: (className: string) => string;
7500
7502
  };
7503
+ t: (key: import('../..').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
7501
7504
  computedPopupVisible: import('vue').ComputedRef<boolean>;
7502
7505
  handleClick: (ev: MouseEvent) => void;
7503
7506
  handleSelect: (value: string | number | Record<string, unknown> | undefined, ev: Event) => void;
@@ -1,10 +1,10 @@
1
1
  export declare const InputTag: {
2
2
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
3
  modelValue: {
4
- type: import('vue').PropType<(string | number | import('./interface.ts').TagData)[]>;
4
+ type: import('vue').PropType<(string | number | import('./interface').TagData)[]>;
5
5
  };
6
6
  defaultValue: {
7
- type: import('vue').PropType<(string | number | import('./interface.ts').TagData)[]>;
7
+ type: import('vue').PropType<(string | number | import('./interface').TagData)[]>;
8
8
  default: () => never[];
9
9
  };
10
10
  inputValue: StringConstructor;
@@ -44,14 +44,14 @@ export declare const InputTag: {
44
44
  default: boolean;
45
45
  };
46
46
  formatTag: {
47
- type: import('vue').PropType<(data: import('./interface.ts').TagData) => string>;
47
+ type: import('vue').PropType<(data: import('./interface').TagData) => string>;
48
48
  };
49
49
  uniqueValue: {
50
50
  type: BooleanConstructor;
51
51
  default: boolean;
52
52
  };
53
53
  fieldNames: {
54
- type: import('vue').PropType<import('./interface.ts').InputTagFieldNames>;
54
+ type: import('vue').PropType<import('./interface').InputTagFieldNames>;
55
55
  };
56
56
  tagNowrap: {
57
57
  type: BooleanConstructor;
@@ -68,8 +68,8 @@ export declare const InputTag: {
68
68
  onClear?: ((ev: MouseEvent) => any) | undefined;
69
69
  onRemove?: ((removed: string | number, ev: Event) => any) | undefined;
70
70
  onBlur?: ((ev: FocusEvent) => any) | undefined;
71
- onChange?: ((value: (string | number | import('./interface.ts').TagData)[], ev: Event) => any) | undefined;
72
- "onUpdate:modelValue"?: ((value: (string | number | import('./interface.ts').TagData)[]) => any) | undefined;
71
+ onChange?: ((value: (string | number | import('./interface').TagData)[], ev: Event) => any) | undefined;
72
+ "onUpdate:modelValue"?: ((value: (string | number | import('./interface').TagData)[]) => any) | undefined;
73
73
  onPressEnter?: ((inputValue: string, ev: KeyboardEvent) => any) | undefined;
74
74
  "onUpdate:inputValue"?: ((inputValue: string) => any) | undefined;
75
75
  onInputValueChange?: ((inputValue: string, ev: Event) => any) | undefined;
@@ -80,9 +80,9 @@ export declare const InputTag: {
80
80
  focus(): void;
81
81
  blur(): void;
82
82
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
83
- 'update:modelValue': (value: (string | number | import('./interface.ts').TagData)[]) => true;
83
+ 'update:modelValue': (value: (string | number | import('./interface').TagData)[]) => true;
84
84
  'update:inputValue': (inputValue: string) => true;
85
- change: (value: (string | number | import('./interface.ts').TagData)[], ev: Event) => true;
85
+ change: (value: (string | number | import('./interface').TagData)[], ev: Event) => true;
86
86
  inputValueChange: (inputValue: string, ev: Event) => true;
87
87
  pressEnter: (inputValue: string, ev: KeyboardEvent) => true;
88
88
  remove: (removed: string | number, ev: Event) => true;
@@ -94,7 +94,7 @@ export declare const InputTag: {
94
94
  error: boolean;
95
95
  readonly: boolean;
96
96
  disabled: boolean;
97
- defaultValue: (string | number | import('./interface.ts').TagData)[];
97
+ defaultValue: (string | number | import('./interface').TagData)[];
98
98
  focused: boolean;
99
99
  allowClear: boolean;
100
100
  disabledInput: boolean;
@@ -116,10 +116,10 @@ export declare const InputTag: {
116
116
  Defaults: {};
117
117
  }, Readonly<import('vue').ExtractPropTypes<{
118
118
  modelValue: {
119
- type: import('vue').PropType<(string | number | import('./interface.ts').TagData)[]>;
119
+ type: import('vue').PropType<(string | number | import('./interface').TagData)[]>;
120
120
  };
121
121
  defaultValue: {
122
- type: import('vue').PropType<(string | number | import('./interface.ts').TagData)[]>;
122
+ type: import('vue').PropType<(string | number | import('./interface').TagData)[]>;
123
123
  default: () => never[];
124
124
  };
125
125
  inputValue: StringConstructor;
@@ -159,14 +159,14 @@ export declare const InputTag: {
159
159
  default: boolean;
160
160
  };
161
161
  formatTag: {
162
- type: import('vue').PropType<(data: import('./interface.ts').TagData) => string>;
162
+ type: import('vue').PropType<(data: import('./interface').TagData) => string>;
163
163
  };
164
164
  uniqueValue: {
165
165
  type: BooleanConstructor;
166
166
  default: boolean;
167
167
  };
168
168
  fieldNames: {
169
- type: import('vue').PropType<import('./interface.ts').InputTagFieldNames>;
169
+ type: import('vue').PropType<import('./interface').InputTagFieldNames>;
170
170
  };
171
171
  tagNowrap: {
172
172
  type: BooleanConstructor;
@@ -183,8 +183,8 @@ export declare const InputTag: {
183
183
  onClear?: ((ev: MouseEvent) => any) | undefined;
184
184
  onRemove?: ((removed: string | number, ev: Event) => any) | undefined;
185
185
  onBlur?: ((ev: FocusEvent) => any) | undefined;
186
- onChange?: ((value: (string | number | import('./interface.ts').TagData)[], ev: Event) => any) | undefined;
187
- "onUpdate:modelValue"?: ((value: (string | number | import('./interface.ts').TagData)[]) => any) | undefined;
186
+ onChange?: ((value: (string | number | import('./interface').TagData)[], ev: Event) => any) | undefined;
187
+ "onUpdate:modelValue"?: ((value: (string | number | import('./interface').TagData)[]) => any) | undefined;
188
188
  onPressEnter?: ((inputValue: string, ev: KeyboardEvent) => any) | undefined;
189
189
  "onUpdate:inputValue"?: ((inputValue: string) => any) | undefined;
190
190
  onInputValueChange?: ((inputValue: string, ev: Event) => any) | undefined;
@@ -198,7 +198,7 @@ export declare const InputTag: {
198
198
  error: boolean;
199
199
  readonly: boolean;
200
200
  disabled: boolean;
201
- defaultValue: (string | number | import('./interface.ts').TagData)[];
201
+ defaultValue: (string | number | import('./interface').TagData)[];
202
202
  focused: boolean;
203
203
  allowClear: boolean;
204
204
  disabledInput: boolean;
@@ -217,10 +217,10 @@ export declare const InputTag: {
217
217
  __isSuspense?: never;
218
218
  } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
219
219
  modelValue: {
220
- type: import('vue').PropType<(string | number | import('./interface.ts').TagData)[]>;
220
+ type: import('vue').PropType<(string | number | import('./interface').TagData)[]>;
221
221
  };
222
222
  defaultValue: {
223
- type: import('vue').PropType<(string | number | import('./interface.ts').TagData)[]>;
223
+ type: import('vue').PropType<(string | number | import('./interface').TagData)[]>;
224
224
  default: () => never[];
225
225
  };
226
226
  inputValue: StringConstructor;
@@ -260,14 +260,14 @@ export declare const InputTag: {
260
260
  default: boolean;
261
261
  };
262
262
  formatTag: {
263
- type: import('vue').PropType<(data: import('./interface.ts').TagData) => string>;
263
+ type: import('vue').PropType<(data: import('./interface').TagData) => string>;
264
264
  };
265
265
  uniqueValue: {
266
266
  type: BooleanConstructor;
267
267
  default: boolean;
268
268
  };
269
269
  fieldNames: {
270
- type: import('vue').PropType<import('./interface.ts').InputTagFieldNames>;
270
+ type: import('vue').PropType<import('./interface').InputTagFieldNames>;
271
271
  };
272
272
  tagNowrap: {
273
273
  type: BooleanConstructor;
@@ -284,8 +284,8 @@ export declare const InputTag: {
284
284
  onClear?: ((ev: MouseEvent) => any) | undefined;
285
285
  onRemove?: ((removed: string | number, ev: Event) => any) | undefined;
286
286
  onBlur?: ((ev: FocusEvent) => any) | undefined;
287
- onChange?: ((value: (string | number | import('./interface.ts').TagData)[], ev: Event) => any) | undefined;
288
- "onUpdate:modelValue"?: ((value: (string | number | import('./interface.ts').TagData)[]) => any) | undefined;
287
+ onChange?: ((value: (string | number | import('./interface').TagData)[], ev: Event) => any) | undefined;
288
+ "onUpdate:modelValue"?: ((value: (string | number | import('./interface').TagData)[]) => any) | undefined;
289
289
  onPressEnter?: ((inputValue: string, ev: KeyboardEvent) => any) | undefined;
290
290
  "onUpdate:inputValue"?: ((inputValue: string) => any) | undefined;
291
291
  onInputValueChange?: ((inputValue: string, ev: Event) => any) | undefined;
@@ -296,9 +296,9 @@ export declare const InputTag: {
296
296
  focus(): void;
297
297
  blur(): void;
298
298
  }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
299
- 'update:modelValue': (value: (string | number | import('./interface.ts').TagData)[]) => true;
299
+ 'update:modelValue': (value: (string | number | import('./interface').TagData)[]) => true;
300
300
  'update:inputValue': (inputValue: string) => true;
301
- change: (value: (string | number | import('./interface.ts').TagData)[], ev: Event) => true;
301
+ change: (value: (string | number | import('./interface').TagData)[], ev: Event) => true;
302
302
  inputValueChange: (inputValue: string, ev: Event) => true;
303
303
  pressEnter: (inputValue: string, ev: KeyboardEvent) => true;
304
304
  remove: (removed: string | number, ev: Event) => true;
@@ -310,7 +310,7 @@ export declare const InputTag: {
310
310
  error: boolean;
311
311
  readonly: boolean;
312
312
  disabled: boolean;
313
- defaultValue: (string | number | import('./interface.ts').TagData)[];
313
+ defaultValue: (string | number | import('./interface').TagData)[];
314
314
  focused: boolean;
315
315
  allowClear: boolean;
316
316
  disabledInput: boolean;
@@ -327,3 +327,4 @@ export declare const InputTag: {
327
327
  install(app: import('vue').App): void;
328
328
  };
329
329
  export { InputTag as default };
330
+ export type { TagData, InputTagFieldNames, InputTagInstance } from './interface';
@@ -26,7 +26,15 @@ export interface TagData {
26
26
  export type InputTagFieldNames = FieldString<TagData>;
27
27
  export interface TagDataInfo extends TagData {
28
28
  raw: Record<string, unknown>;
29
+ originalIndex: number;
29
30
  value: string | number;
30
31
  label: string;
31
32
  closable: boolean;
32
33
  }
34
+ /**
35
+ * InputTag 实例暴露的方法
36
+ */
37
+ export interface InputTagInstance {
38
+ focus: () => void;
39
+ blur: () => void;
40
+ }
@@ -9,7 +9,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
9
9
  /**
10
10
  * @zh 链接的状态
11
11
  * @en Link status
12
- * @values 'normal','warning','success','danger'
12
+ * @values 'normal','warning','success','danger','strong'
13
13
  */
14
14
  status: {
15
15
  type: PropType<Status>;
@@ -79,7 +79,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
79
79
  /**
80
80
  * @zh 链接的状态
81
81
  * @en Link status
82
- * @values 'normal','warning','success','danger'
82
+ * @values 'normal','warning','success','danger','strong'
83
83
  */
84
84
  status: {
85
85
  type: PropType<Status>;
@@ -119,11 +119,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
119
119
  }>> & Readonly<{
120
120
  onClick?: ((ev: MouseEvent | KeyboardEvent) => any) | undefined;
121
121
  }>, {
122
+ strong: boolean;
122
123
  disabled: boolean;
123
124
  icon: boolean;
124
125
  loading: boolean;
125
- strong: boolean;
126
- status: "normal" | "success" | "warning" | "danger";
126
+ status: "normal" | "success" | "warning" | "strong" | "danger";
127
127
  hoverable: boolean;
128
128
  }, {}, {
129
129
  IconLink: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
@@ -35,11 +35,11 @@ export declare const Link: {
35
35
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
36
  click: (ev: MouseEvent | KeyboardEvent) => true;
37
37
  }, import('vue').PublicProps, {
38
+ strong: boolean;
38
39
  disabled: boolean;
39
40
  icon: boolean;
40
41
  loading: boolean;
41
- strong: boolean;
42
- status: "normal" | "success" | "warning" | "danger";
42
+ status: "normal" | "success" | "warning" | "strong" | "danger";
43
43
  hoverable: boolean;
44
44
  }, true, {}, {}, {
45
45
  IconLink: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
@@ -253,11 +253,11 @@ export declare const Link: {
253
253
  handleClick: (ev: MouseEvent) => void;
254
254
  handleKeyDown: (ev: KeyboardEvent) => void;
255
255
  }, {}, {}, {}, {
256
+ strong: boolean;
256
257
  disabled: boolean;
257
258
  icon: boolean;
258
259
  loading: boolean;
259
- strong: boolean;
260
- status: "normal" | "success" | "warning" | "danger";
260
+ status: "normal" | "success" | "warning" | "strong" | "danger";
261
261
  hoverable: boolean;
262
262
  }>;
263
263
  __isFragment?: never;
@@ -299,11 +299,11 @@ export declare const Link: {
299
299
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
300
300
  click: (ev: MouseEvent | KeyboardEvent) => true;
301
301
  }, string, {
302
+ strong: boolean;
302
303
  disabled: boolean;
303
304
  icon: boolean;
304
305
  loading: boolean;
305
- strong: boolean;
306
- status: "normal" | "success" | "warning" | "danger";
306
+ status: "normal" | "success" | "warning" | "strong" | "danger";
307
307
  hoverable: boolean;
308
308
  }, {}, string, {}, {
309
309
  IconLink: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
@@ -81,7 +81,7 @@ export declare const Message: {
81
81
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
82
82
  id: string | number;
83
83
  center: boolean;
84
- type: "normal" | "success" | "warning" | "info" | "error" | "loading" | "strong";
84
+ type: "normal" | "success" | "warning" | "strong" | "info" | "error" | "loading";
85
85
  showIcon: boolean;
86
86
  onClose: (id?: string | number) => void;
87
87
  duration: number;
@@ -834,7 +834,7 @@ export declare const Message: {
834
834
  }, {}, {}, {}, {
835
835
  id: string | number;
836
836
  center: boolean;
837
- type: "normal" | "success" | "warning" | "info" | "error" | "loading" | "strong";
837
+ type: "normal" | "success" | "warning" | "strong" | "info" | "error" | "loading";
838
838
  showIcon: boolean;
839
839
  onClose: (id?: string | number) => void;
840
840
  duration: number;
@@ -933,7 +933,7 @@ export declare const Message: {
933
933
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
934
934
  id: string | number;
935
935
  center: boolean;
936
- type: "normal" | "success" | "warning" | "info" | "error" | "loading" | "strong";
936
+ type: "normal" | "success" | "warning" | "strong" | "info" | "error" | "loading";
937
937
  showIcon: boolean;
938
938
  onClose: (id?: string | number) => void;
939
939
  duration: number;
@@ -141,7 +141,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
141
141
  }>> & Readonly<{}>, {
142
142
  id: string | number;
143
143
  center: boolean;
144
- type: "normal" | "success" | "warning" | "info" | "error" | "loading" | "strong";
144
+ type: "normal" | "success" | "warning" | "strong" | "info" | "error" | "loading";
145
145
  showIcon: boolean;
146
146
  onClose: (id?: string | number) => void;
147
147
  duration: number;
@@ -133,7 +133,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
133
133
  onDestroy?: ((...args: any[]) => any) | undefined;
134
134
  }>, {
135
135
  title: import('./props').NotificationContent;
136
- type: "success" | "warning" | "info" | "error" | "strong";
136
+ type: "success" | "warning" | "strong" | "info" | "error";
137
137
  showIcon: boolean;
138
138
  onClose: () => void;
139
139
  duration: number;
@@ -69,7 +69,7 @@ export declare const Notification: {
69
69
  onDestroy?: ((...args: any[]) => any) | undefined;
70
70
  }>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("click" | "close" | "destroy")[], import('vue').PublicProps, {
71
71
  title: import('./props').NotificationContent;
72
- type: "success" | "warning" | "info" | "error" | "strong";
72
+ type: "success" | "warning" | "strong" | "info" | "error";
73
73
  showIcon: boolean;
74
74
  onClose: () => void;
75
75
  duration: number;
@@ -157,7 +157,7 @@ export declare const Notification: {
157
157
  onDestroy?: ((...args: any[]) => any) | undefined;
158
158
  }>, () => VNode, {}, {}, {}, {
159
159
  title: import('./props').NotificationContent;
160
- type: "success" | "warning" | "info" | "error" | "strong";
160
+ type: "success" | "warning" | "strong" | "info" | "error";
161
161
  showIcon: boolean;
162
162
  onClose: () => void;
163
163
  duration: number;
@@ -242,7 +242,7 @@ export declare const Notification: {
242
242
  onDestroy?: ((...args: any[]) => any) | undefined;
243
243
  }>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("click" | "close" | "destroy")[], "click" | "close" | "destroy", {
244
244
  title: import('./props').NotificationContent;
245
- type: "success" | "warning" | "info" | "error" | "strong";
245
+ type: "success" | "warning" | "strong" | "info" | "error";
246
246
  showIcon: boolean;
247
247
  onClose: () => void;
248
248
  duration: number;
@@ -1,3 +1,3 @@
1
1
  export declare const positions: readonly ["top", "tl", "tr", "bottom", "bl", "br", "left", "lt", "lb", "right", "rt", "rb"];
2
2
  export type Position = (typeof positions)[number];
3
- export type PopconfirmTypes = 'primary' | 'success' | 'warning' | 'strong' | 'danger';
3
+ export type PopconfirmTypes = 'primary' | 'success' | 'warning' | 'strong' | 'danger' | 'info';
@@ -85,14 +85,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
85
85
  /**
86
86
  * @zh 进度条状态
87
87
  * @en Progress bar status
88
- * @values 'normal', 'success', 'warning', 'danger'
88
+ * @values 'normal', 'success', 'warning', 'strong', 'danger'
89
89
  */
90
90
  status: {
91
91
  type: PropType<Status>;
92
92
  };
93
93
  }>, {
94
94
  cls: import('vue').ComputedRef<string[]>;
95
- computedStatus: import('vue').ComputedRef<"normal" | "success" | "warning" | "danger">;
95
+ computedStatus: import('vue').ComputedRef<"normal" | "success" | "warning" | "strong" | "danger">;
96
96
  circleWidth: import('vue').ComputedRef<number | undefined>;
97
97
  mergedSize: import('vue').ComputedRef<"mini" | "small" | "medium" | "large">;
98
98
  safePercent: import('vue').ComputedRef<number>;
@@ -179,7 +179,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
179
179
  /**
180
180
  * @zh 进度条状态
181
181
  * @en Progress bar status
182
- * @values 'normal', 'success', 'warning', 'danger'
182
+ * @values 'normal', 'success', 'warning', 'strong', 'danger'
183
183
  */
184
184
  status: {
185
185
  type: PropType<Status>;
@@ -41,7 +41,7 @@ export declare const Progress: {
41
41
  };
42
42
  }>> & Readonly<{}>, {
43
43
  cls: import('vue').ComputedRef<string[]>;
44
- computedStatus: import('vue').ComputedRef<"normal" | "success" | "warning" | "danger">;
44
+ computedStatus: import('vue').ComputedRef<"normal" | "success" | "warning" | "strong" | "danger">;
45
45
  circleWidth: import('vue').ComputedRef<number | undefined>;
46
46
  mergedSize: import('vue').ComputedRef<"mini" | "small" | "medium" | "large">;
47
47
  safePercent: import('vue').ComputedRef<number>;
@@ -740,7 +740,7 @@ export declare const Progress: {
740
740
  };
741
741
  }>> & Readonly<{}>, {
742
742
  cls: import('vue').ComputedRef<string[]>;
743
- computedStatus: import('vue').ComputedRef<"normal" | "success" | "warning" | "danger">;
743
+ computedStatus: import('vue').ComputedRef<"normal" | "success" | "warning" | "strong" | "danger">;
744
744
  circleWidth: import('vue').ComputedRef<number | undefined>;
745
745
  mergedSize: import('vue').ComputedRef<"mini" | "small" | "medium" | "large">;
746
746
  safePercent: import('vue').ComputedRef<number>;
@@ -796,7 +796,7 @@ export declare const Progress: {
796
796
  };
797
797
  }>> & Readonly<{}>, {
798
798
  cls: import('vue').ComputedRef<string[]>;
799
- computedStatus: import('vue').ComputedRef<"normal" | "success" | "warning" | "danger">;
799
+ computedStatus: import('vue').ComputedRef<"normal" | "success" | "warning" | "strong" | "danger">;
800
800
  circleWidth: import('vue').ComputedRef<number | undefined>;
801
801
  mergedSize: import('vue').ComputedRef<"mini" | "small" | "medium" | "large">;
802
802
  safePercent: import('vue').ComputedRef<number>;
@@ -14,5 +14,14 @@ export interface StepsContext {
14
14
  getStatus: (step: number) => StepStatus;
15
15
  onClick: (step: number, ev: Event) => void;
16
16
  parentCls: string;
17
+ /**
18
+ * 按 setup 顺序取序号(1 起)。
19
+ *
20
+ * DOM 测量(useIndex)在 SSR / 首帧不可用,此时 innerIndex 为 -1,
21
+ * stepNumber 变成 0,getStatus(0) 会把所有步骤判成 finish——文档站是
22
+ * SSR,会直接产出「全部打勾」的静态 HTML。setup 顺序即渲染顺序,
23
+ * 用它兜底可让首帧状态正确;挂载后仍以 DOM 实测值为准。
24
+ */
25
+ registerOrder: () => number;
17
26
  }
18
27
  export declare const stepsInjectionKey: InjectionKey<StepsContext>;
@@ -39,6 +39,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
39
39
  active: import('vue').ComputedRef<boolean>;
40
40
  itemRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
41
41
  mounted: import('vue').Ref<boolean, boolean>;
42
+ tabId: import('vue').ComputedRef<string>;
43
+ panelId: import('vue').ComputedRef<string>;
42
44
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
43
45
  /**
44
46
  * @zh 选项卡的标题
@@ -323,6 +323,8 @@ export declare const TabPane: {
323
323
  active: import('vue').ComputedRef<boolean>;
324
324
  itemRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
325
325
  mounted: import('vue').Ref<boolean, boolean>;
326
+ tabId: import('vue').ComputedRef<string>;
327
+ panelId: import('vue').ComputedRef<string>;
326
328
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
327
329
  disabled: boolean;
328
330
  closable: boolean;
@@ -358,6 +360,8 @@ export declare const TabPane: {
358
360
  active: import('vue').ComputedRef<boolean>;
359
361
  itemRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
360
362
  mounted: import('vue').Ref<boolean, boolean>;
363
+ tabId: import('vue').ComputedRef<string>;
364
+ panelId: import('vue').ComputedRef<string>;
361
365
  }, {}, {}, {}, {
362
366
  disabled: boolean;
363
367
  closable: boolean;
@@ -390,6 +394,8 @@ export declare const TabPane: {
390
394
  active: import('vue').ComputedRef<boolean>;
391
395
  itemRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
392
396
  mounted: import('vue').Ref<boolean, boolean>;
397
+ tabId: import('vue').ComputedRef<string>;
398
+ panelId: import('vue').ComputedRef<string>;
393
399
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
394
400
  disabled: boolean;
395
401
  closable: boolean;
@@ -7,6 +7,10 @@ export interface TabData {
7
7
  disabled?: boolean;
8
8
  closable?: boolean;
9
9
  slots: Slots;
10
+ /** tab 自身 id,供 panel 的 aria-labelledby 引用(TabPane 按实例 uid 生成) */
11
+ tabId?: string;
12
+ /** 对应 panel 的 id,供 tab 的 aria-controls 引用 */
13
+ panelId?: string;
10
14
  }
11
15
  export type TabTriggerEvent = 'click' | 'hover';
12
16
  export type ScrollPosition = 'start' | 'end' | 'center' | 'auto' | number;
@@ -95,6 +95,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
95
95
  type: BooleanConstructor;
96
96
  default: boolean;
97
97
  };
98
+ /**
99
+ * @zh 关闭按钮的无障碍名称,默认“关闭标签”
100
+ * @en Accessible name of the close button, defaults to "关闭标签"
101
+ */
102
+ closeAriaLabel: {
103
+ type: StringConstructor;
104
+ };
98
105
  }>, {
99
106
  className: {
100
107
  block: string;
@@ -222,6 +229,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
222
229
  type: BooleanConstructor;
223
230
  default: boolean;
224
231
  };
232
+ /**
233
+ * @zh 关闭按钮的无障碍名称,默认“关闭标签”
234
+ * @en Accessible name of the close button, defaults to "关闭标签"
235
+ */
236
+ closeAriaLabel: {
237
+ type: StringConstructor;
238
+ };
225
239
  }>> & Readonly<{
226
240
  onClose?: ((ev: MouseEvent) => any) | undefined;
227
241
  onCheck?: ((checked: boolean, ev: MouseEvent) => any) | undefined;
@@ -43,6 +43,9 @@ export declare const Tag: {
43
43
  type: BooleanConstructor;
44
44
  default: boolean;
45
45
  };
46
+ closeAriaLabel: {
47
+ type: StringConstructor;
48
+ };
46
49
  }>> & Readonly<{
47
50
  onClose?: ((ev: MouseEvent) => any) | undefined;
48
51
  onCheck?: ((checked: boolean, ev: MouseEvent) => any) | undefined;
@@ -357,6 +360,9 @@ export declare const Tag: {
357
360
  type: BooleanConstructor;
358
361
  default: boolean;
359
362
  };
363
+ closeAriaLabel: {
364
+ type: StringConstructor;
365
+ };
360
366
  }>> & Readonly<{
361
367
  onClose?: ((ev: MouseEvent) => any) | undefined;
362
368
  onCheck?: ((checked: boolean, ev: MouseEvent) => any) | undefined;
@@ -437,6 +443,9 @@ export declare const Tag: {
437
443
  type: BooleanConstructor;
438
444
  default: boolean;
439
445
  };
446
+ closeAriaLabel: {
447
+ type: StringConstructor;
448
+ };
440
449
  }>> & Readonly<{
441
450
  onClose?: ((ev: MouseEvent) => any) | undefined;
442
451
  onCheck?: ((checked: boolean, ev: MouseEvent) => any) | undefined;
@@ -56,4 +56,9 @@ export interface TagProps {
56
56
  * @en Tag content does not wrap
57
57
  */
58
58
  nowrap?: boolean;
59
+ /**
60
+ * @zh 关闭按钮的无障碍名称,默认“关闭标签”
61
+ * @en Accessible name of the close button, defaults to "关闭标签"
62
+ */
63
+ closeAriaLabel?: string;
59
64
  }