@sdata/web-vue 3.18.0 → 3.19.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 (259) hide show
  1. package/dist/sd.css +478 -0
  2. package/dist/sd.min.css +2 -2
  3. package/es/_components/icon-hover.vue.d.ts +1 -1
  4. package/es/_components/input-label/input-label.d.ts +13 -1
  5. package/es/_components/input-label/input-label.js +35 -5
  6. package/es/_components/input-label/style/index.css +6 -0
  7. package/es/_components/input-label/style/input-label.scss +8 -0
  8. package/es/_components/picker/input-range.vue.d.ts +24 -1
  9. package/es/_components/picker/input-range.vue_vue_type_script_setup_true_lang.js +42 -6
  10. package/es/_components/picker/input.vue.d.ts +24 -1
  11. package/es/_components/picker/input.vue_vue_type_script_setup_true_lang.js +31 -4
  12. package/es/_components/picker/style/index.scss +8 -0
  13. package/es/_components/select-view/select-view.d.ts +15 -3
  14. package/es/_components/select-view/select-view.js +10 -1
  15. package/es/_components/select-view/style/index.css +12 -0
  16. package/es/_components/virtual-list/virtual-list.vue.d.ts +6 -6
  17. package/es/_hooks/use-fit-width.d.ts +22 -0
  18. package/es/_hooks/use-fit-width.js +76 -0
  19. package/es/_hooks/use-form-item.d.ts +1 -1
  20. package/es/_hooks/use-size.d.ts +1 -1
  21. package/es/anchor/anchor.vue.d.ts +1 -1
  22. package/es/anchor/index.d.ts +3 -3
  23. package/es/auto-complete/auto-complete.d.ts +20 -2
  24. package/es/auto-complete/auto-complete.js +18 -0
  25. package/es/auto-complete/index.d.ts +36 -6
  26. package/es/basic-crud-table/basic-crud-table.vue.d.ts +2 -2
  27. package/es/basic-crud-table/index.d.ts +5 -5
  28. package/es/button/button.vue.d.ts +2 -2
  29. package/es/button/index.d.ts +6 -6
  30. package/es/card/card.d.ts +3 -3
  31. package/es/card/index.d.ts +6 -6
  32. package/es/carousel/carousel-indicator.vue.d.ts +1 -1
  33. package/es/cascader/base-cascader-panel.d.ts +1 -1
  34. package/es/cascader/cascader-option.d.ts +1 -1
  35. package/es/cascader/cascader-panel.vue.d.ts +1 -1
  36. package/es/cascader/cascader-search-panel.d.ts +1 -1
  37. package/es/cascader/cascader.vue.d.ts +7 -5
  38. package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +12 -0
  39. package/es/cascader/types.d.ts +2 -1
  40. package/es/checkbox/checkbox.d.ts +3 -3
  41. package/es/checkbox/index.d.ts +6 -6
  42. package/es/collapse/collapse-item.d.ts +3 -3
  43. package/es/collapse/index.d.ts +3 -3
  44. package/es/color-picker/color-picker.d.ts +2 -2
  45. package/es/color-picker/index.d.ts +6 -6
  46. package/es/components.d.ts +4 -0
  47. package/es/config-provider/config-provider.vue.d.ts +1 -1
  48. package/es/config-provider/index.d.ts +3 -3
  49. package/es/date-picker/index.d.ts +87 -23
  50. package/es/date-picker/interface.d.ts +2 -1
  51. package/es/date-picker/picker-panel.vue.d.ts +1 -1
  52. package/es/date-picker/picker.vue.d.ts +39 -17
  53. package/es/date-picker/picker.vue_vue_type_script_setup_true_lang.js +30 -1
  54. package/es/date-picker/pickers/date-picker.d.ts +18 -0
  55. package/es/date-picker/pickers/date-picker.js +16 -0
  56. package/es/date-picker/range-picker-panel.vue.d.ts +1 -1
  57. package/es/date-picker/range-picker.vue.d.ts +39 -17
  58. package/es/date-picker/range-picker.vue_vue_type_script_setup_true_lang.js +27 -1
  59. package/es/date-picker/style/index.css +6 -0
  60. package/es/descriptions/descriptions.d.ts +3 -3
  61. package/es/descriptions/index.d.ts +9 -9
  62. package/es/divider/divider.d.ts +1 -1
  63. package/es/divider/index.d.ts +3 -3
  64. package/es/drawer/drawer.vue.d.ts +4 -4
  65. package/es/drawer/index.d.ts +11 -11
  66. package/es/dropdown/dropdown-button.vue.d.ts +2 -2
  67. package/es/dropdown/dropdown-option.vue.d.ts +1 -1
  68. package/es/dropdown/dropdown-submenu.vue.d.ts +2 -2
  69. package/es/dropdown/dropdown.vue.d.ts +1 -1
  70. package/es/dropdown/index.d.ts +21 -21
  71. package/es/ellipsis/ellipsis.vue.d.ts +1 -1
  72. package/es/ellipsis/index.d.ts +6 -6
  73. package/es/ellipsis/performant-ellipsis.vue.d.ts +1 -1
  74. package/es/form/form-item.vue.d.ts +1 -1
  75. package/es/form/form.vue.d.ts +1 -1
  76. package/es/form/index.d.ts +9 -9
  77. package/es/grid/grid-row.vue.d.ts +3 -3
  78. package/es/grid/index.d.ts +9 -9
  79. package/es/icon/icon-arrow-up/icon-arrow-up.js +5 -0
  80. package/es/icon/icon-arrow-up/icon-arrow-up.vue_vue_type_script_setup_true_lang.js +52 -0
  81. package/es/icon/icon-arrow-up/index.js +9 -0
  82. package/es/icon/icon-mute/icon-mute.js +5 -0
  83. package/es/icon/icon-mute/icon-mute.vue_vue_type_script_setup_true_lang.js +52 -0
  84. package/es/icon/icon-mute/index.js +9 -0
  85. package/es/icon/icon-voice/icon-voice.js +5 -0
  86. package/es/icon/icon-voice/icon-voice.vue_vue_type_script_setup_true_lang.js +52 -0
  87. package/es/icon/icon-voice/index.js +9 -0
  88. package/es/image/preview-action.d.ts +6 -6
  89. package/es/image/preview-group.vue.d.ts +1 -1
  90. package/es/index.css +478 -0
  91. package/es/index.d.ts +5 -0
  92. package/es/index.js +5 -1
  93. package/es/index.scss +2 -0
  94. package/es/input/index.d.ts +99 -6
  95. package/es/input/input-password.vue.d.ts +18 -0
  96. package/es/input/input-password.vue_vue_type_script_setup_true_lang.js +24 -2
  97. package/es/input/input-search.d.ts +18 -0
  98. package/es/input/input-search.js +20 -2
  99. package/es/input/input.d.ts +29 -2
  100. package/es/input/input.js +45 -3
  101. package/es/input/style/index.css +16 -0
  102. package/es/input/style/index.scss +21 -0
  103. package/es/input-number/index.d.ts +36 -6
  104. package/es/input-number/input-number.d.ts +20 -2
  105. package/es/input-number/input-number.js +19 -0
  106. package/es/input-tag/index.d.ts +36 -6
  107. package/es/input-tag/input-tag.d.ts +20 -2
  108. package/es/input-tag/input-tag.js +35 -4
  109. package/es/input-tag/style/index.css +6 -0
  110. package/es/input-tag/style/input-tag.scss +8 -0
  111. package/es/kv-list/index.d.ts +72 -32
  112. package/es/link/index.d.ts +6 -6
  113. package/es/link/link.vue.d.ts +2 -2
  114. package/es/locale/interface.d.ts +22 -0
  115. package/es/locale/lang/ar-eg.js +21 -1
  116. package/es/locale/lang/de-de.js +21 -1
  117. package/es/locale/lang/en-us.js +21 -1
  118. package/es/locale/lang/es-es.js +21 -1
  119. package/es/locale/lang/fr-fr.js +21 -1
  120. package/es/locale/lang/id-id.js +21 -1
  121. package/es/locale/lang/it-it.js +21 -1
  122. package/es/locale/lang/ja-jp.js +21 -1
  123. package/es/locale/lang/km-kh.js +21 -1
  124. package/es/locale/lang/ko-kr.js +21 -1
  125. package/es/locale/lang/ms-my.js +21 -1
  126. package/es/locale/lang/nl-nl.js +21 -1
  127. package/es/locale/lang/pt-pt.js +21 -1
  128. package/es/locale/lang/ru-ru.js +21 -1
  129. package/es/locale/lang/th-th.js +21 -1
  130. package/es/locale/lang/vi-vn.js +21 -1
  131. package/es/locale/lang/zh-cn.js +21 -1
  132. package/es/locale/lang/zh-tw.js +21 -1
  133. package/es/mention/index.d.ts +39 -9
  134. package/es/mention/mention.d.ts +21 -3
  135. package/es/mention/mention.js +24 -1
  136. package/es/mention/style/index.css +6 -0
  137. package/es/mention/style/index.scss +8 -0
  138. package/es/menu/item.d.ts +1 -1
  139. package/es/message/message-list.d.ts +1 -1
  140. package/es/modal/index.d.ts +9 -9
  141. package/es/modal/modal.vue.d.ts +3 -3
  142. package/es/popconfirm/index.d.ts +3 -3
  143. package/es/popconfirm/popconfirm.vue.d.ts +1 -1
  144. package/es/popover/index.d.ts +6 -6
  145. package/es/popover/popover.vue.d.ts +2 -2
  146. package/es/progress/circle.vue.d.ts +1 -1
  147. package/es/progress/line.vue.d.ts +1 -1
  148. package/es/qr-code/index.d.ts +15 -15
  149. package/es/qr-code/qr-code.vue.d.ts +5 -5
  150. package/es/radio/index.d.ts +6 -6
  151. package/es/radio/radio.d.ts +3 -3
  152. package/es/rate/index.d.ts +3 -3
  153. package/es/rate/rate.d.ts +1 -1
  154. package/es/resize-box/index.d.ts +5 -5
  155. package/es/resize-box/resize-box.vue.d.ts +3 -3
  156. package/es/rich-text-editor/built-in-components.d.ts +5 -0
  157. package/es/rich-text-editor/built-in-components.js +6 -0
  158. package/es/rich-text-editor/index.d.ts +195 -0
  159. package/es/rich-text-editor/index.js +12 -0
  160. package/es/rich-text-editor/nodes/inline-component-node.d.ts +30 -0
  161. package/es/rich-text-editor/nodes/inline-component-node.js +86 -0
  162. package/es/rich-text-editor/rich-text-editor.js +5 -0
  163. package/es/rich-text-editor/rich-text-editor.vue.d.ts +76 -0
  164. package/es/rich-text-editor/rich-text-editor.vue_vue_type_script_setup_true_lang.js +630 -0
  165. package/es/rich-text-editor/rich-text-node-renderer.js +5 -0
  166. package/es/rich-text-editor/rich-text-node-renderer.vue.d.ts +28 -0
  167. package/es/rich-text-editor/rich-text-node-renderer.vue_vue_type_script_setup_true_lang.js +133 -0
  168. package/es/rich-text-editor/style/css.js +2 -0
  169. package/es/rich-text-editor/style/index.css +164 -0
  170. package/es/rich-text-editor/style/index.d.ts +2 -0
  171. package/es/rich-text-editor/style/index.js +2 -0
  172. package/es/rich-text-editor/style/index.scss +193 -0
  173. package/es/rich-text-editor/style/token.scss +36 -0
  174. package/es/rich-text-editor/types.d.ts +148 -0
  175. package/es/sd-vue.js +6 -0
  176. package/es/select/index.d.ts +108 -54
  177. package/es/select/interface.d.ts +2 -1
  178. package/es/select/select.d.ts +55 -25
  179. package/es/select/select.js +18 -0
  180. package/es/sender/context.d.ts +8 -0
  181. package/es/sender/context.js +4 -0
  182. package/es/sender/index.d.ts +119 -0
  183. package/es/sender/index.js +20 -0
  184. package/es/sender/sender-header.js +5 -0
  185. package/es/sender/sender-header.vue.d.ts +28 -0
  186. package/es/sender/sender-header.vue_vue_type_script_setup_true_lang.js +127 -0
  187. package/es/sender/sender-switch.js +5 -0
  188. package/es/sender/sender-switch.vue.d.ts +32 -0
  189. package/es/sender/sender-switch.vue_vue_type_script_setup_true_lang.js +95 -0
  190. package/es/sender/sender.js +5 -0
  191. package/es/sender/sender.vue_vue_type_script_setup_true_lang.js +871 -0
  192. package/es/sender/style/css.js +3 -0
  193. package/es/sender/style/index.css +290 -0
  194. package/es/sender/style/index.d.ts +3 -0
  195. package/es/sender/style/index.js +3 -0
  196. package/es/sender/style/index.scss +346 -0
  197. package/es/sender/style/token.scss +43 -0
  198. package/es/sender/types.d.ts +171 -0
  199. package/es/sender/use-speech.d.ts +9 -0
  200. package/es/sender/use-speech.js +120 -0
  201. package/es/slider/index.d.ts +3 -3
  202. package/es/slider/slider-input.vue.d.ts +1 -1
  203. package/es/slider/slider.vue.d.ts +1 -1
  204. package/es/space/index.d.ts +9 -9
  205. package/es/space/space.d.ts +2 -2
  206. package/es/spin/index.d.ts +3 -3
  207. package/es/spin/spin.d.ts +1 -1
  208. package/es/statistic/index.d.ts +3 -3
  209. package/es/statistic/statistic.vue.d.ts +1 -1
  210. package/es/steps/index.d.ts +5 -5
  211. package/es/steps/step.vue.d.ts +2 -2
  212. package/es/steps/steps.vue.d.ts +1 -1
  213. package/es/table/index.d.ts +17 -17
  214. package/es/table/table-column.d.ts +1 -1
  215. package/es/table/table-operation-td.d.ts +12 -12
  216. package/es/table/table-td.d.ts +2 -2
  217. package/es/table/table.d.ts +5 -5
  218. package/es/tabs/index.d.ts +12 -12
  219. package/es/tabs/tabs-nav.d.ts +1 -1
  220. package/es/tabs/tabs.d.ts +4 -4
  221. package/es/tag/index.d.ts +6 -6
  222. package/es/tag/tag.vue.d.ts +2 -2
  223. package/es/textarea/index.d.ts +38 -8
  224. package/es/textarea/style/index.css +6 -0
  225. package/es/textarea/style/index.scss +8 -0
  226. package/es/textarea/textarea.vue.d.ts +21 -3
  227. package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +36 -3
  228. package/es/time-picker/index.d.ts +36 -6
  229. package/es/time-picker/interface.d.ts +2 -1
  230. package/es/time-picker/range-panel.js +58 -0
  231. package/es/time-picker/time-picker.vue.d.ts +20 -2
  232. package/es/time-picker/time-picker.vue_vue_type_script_setup_true_lang.js +30 -1
  233. package/es/timeline/index.d.ts +6 -6
  234. package/es/timeline/timeline.d.ts +3 -3
  235. package/es/tooltip/index.d.ts +6 -6
  236. package/es/tooltip/tooltip.vue.d.ts +2 -2
  237. package/es/tour/index.d.ts +3 -3
  238. package/es/tour/tour.vue.d.ts +1 -1
  239. package/es/transfer/index.d.ts +3 -3
  240. package/es/transfer/transfer.vue.d.ts +1 -1
  241. package/es/tree/tree.vue.d.ts +4 -4
  242. package/es/tree-select/interface.d.ts +2 -1
  243. package/es/tree-select/tree-select.vue.d.ts +25 -7
  244. package/es/tree-select/tree-select.vue_vue_type_script_setup_true_lang.js +20 -0
  245. package/es/trigger/index.d.ts +12 -12
  246. package/es/trigger/trigger.d.ts +4 -4
  247. package/es/typography/base.d.ts +4 -4
  248. package/es/typography/edit-content.vue.d.ts +2 -2
  249. package/es/upload/index.d.ts +6 -6
  250. package/es/upload/upload-button.d.ts +1 -1
  251. package/es/upload/upload.d.ts +2 -2
  252. package/es/verification-code/index.d.ts +3 -3
  253. package/es/verification-code/verification-code.d.ts +1 -1
  254. package/es/watermark/index.d.ts +3 -3
  255. package/es/watermark/watermark.d.ts +1 -1
  256. package/json/vetur-attributes.json +233 -0
  257. package/json/vetur-tags.json +83 -3
  258. package/json/web-types.json +535 -2
  259. package/package.json +10 -1
@@ -12,6 +12,14 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
12
12
  default: string;
13
13
  };
14
14
  placeholder: StringConstructor;
15
+ fitWidth: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ maxWFull: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
15
23
  disabled: {
16
24
  type: BooleanConstructor;
17
25
  default: boolean;
@@ -59,8 +67,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
59
67
  focus: typeof focus;
60
68
  blur: typeof blur;
61
69
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
62
- focus: (_ev: FocusEvent) => any;
63
70
  clear: (_ev: MouseEvent) => any;
71
+ focus: (_ev: FocusEvent) => any;
64
72
  blur: (_ev: FocusEvent) => any;
65
73
  change: (_value: string, _ev: Event) => any;
66
74
  input: (_value: string, _ev: Event) => any;
@@ -72,6 +80,14 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
72
80
  default: string;
73
81
  };
74
82
  placeholder: StringConstructor;
83
+ fitWidth: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ maxWFull: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
75
91
  disabled: {
76
92
  type: BooleanConstructor;
77
93
  default: boolean;
@@ -116,18 +132,20 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
116
132
  type: PropType<Record<string, any>>;
117
133
  };
118
134
  }>> & Readonly<{
119
- onFocus?: ((_ev: FocusEvent) => any) | undefined;
120
135
  onClear?: ((_ev: MouseEvent) => any) | undefined;
136
+ onFocus?: ((_ev: FocusEvent) => any) | undefined;
121
137
  onBlur?: ((_ev: FocusEvent) => any) | undefined;
122
138
  onChange?: ((_value: string, _ev: Event) => any) | undefined;
123
139
  onInput?: ((_value: string, _ev: Event) => any) | undefined;
124
140
  "onUpdate:modelValue"?: ((_value: string) => any) | undefined;
125
141
  }>, {
142
+ disabled: boolean;
126
143
  error: boolean;
127
144
  readonly: string | boolean;
128
- disabled: boolean;
129
145
  defaultValue: string;
130
146
  allowClear: boolean;
147
+ fitWidth: boolean;
148
+ maxWFull: boolean;
131
149
  maxLength: number | {
132
150
  length: number;
133
151
  errorOnly?: boolean;
@@ -9,6 +9,7 @@ import IconClose from "../icon/icon-close/index.js";
9
9
  import { useI18n } from "../locale/index.js";
10
10
  import { useAllowClear } from "../_hooks/use-allow-clear.js";
11
11
  import { useCursor } from "../_hooks/use-cursor.js";
12
+ import { useFitWidth } from "../_hooks/use-fit-width.js";
12
13
  import { isReadonlyModificationKey, useReadonlyTip, useReadonlyTipText } from "../_hooks/use-readonly-tip.js";
13
14
  import { INPUT_EVENTS } from "../_utils/constant.js";
14
15
  import { omit } from "../_utils/omit.js";
@@ -50,6 +51,22 @@ var textarea_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
50
51
  */
51
52
  placeholder: String,
52
53
  /**
54
+ * @zh 宽度是否适应文字内容
55
+ * @en Whether the width adapts to the text content
56
+ */
57
+ fitWidth: {
58
+ type: Boolean,
59
+ default: false
60
+ },
61
+ /**
62
+ * @zh 最大宽度是否限制为父容器宽度
63
+ * @en Whether the maximum width is limited to the parent container width
64
+ */
65
+ maxWFull: {
66
+ type: Boolean,
67
+ default: true
68
+ },
69
+ /**
53
70
  * @zh 是否禁用
54
71
  * @en Whether to disable
55
72
  */
@@ -154,6 +171,17 @@ var textarea_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
154
171
  return (_modelValue$value = modelValue.value) !== null && _modelValue$value !== void 0 ? _modelValue$value : _value.value;
155
172
  });
156
173
  const [recordCursor, setCursor] = useCursor(textareaRef);
174
+ const { fitWidthStyle, fitWidthValue } = useFitWidth({
175
+ fitWidth: () => props.fitWidth,
176
+ text: computed(() => computedValue.value || props.placeholder),
177
+ fallbackWidth: "12ch",
178
+ target: textareaRef,
179
+ whiteSpace: "pre-wrap"
180
+ });
181
+ const fitWidthContentStyle = computed(() => props.fitWidth ? {
182
+ width: fitWidthValue,
183
+ minWidth: 0
184
+ } : void 0);
157
185
  watch(modelValue, (value) => {
158
186
  if (isUndefined(value) || isNull(value)) _value.value = "";
159
187
  });
@@ -262,7 +290,10 @@ var textarea_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
262
290
  watch(() => modelValue.value, (value) => {
263
291
  if (value !== computedValue.value) updateValue(value !== null && value !== void 0 ? value : "", false);
264
292
  });
265
- const getWrapperAttrs = (attr) => omit(attrs, INPUT_EVENTS);
293
+ const getWrapperAttrs = (attr) => {
294
+ const wrapperAttrs = omit(attr, INPUT_EVENTS);
295
+ return _objectSpread2(_objectSpread2({}, wrapperAttrs), {}, { style: [fitWidthStyle.value, wrapperAttrs.style] });
296
+ };
266
297
  const getTextareaAttrs = (attr) => pick(attrs, INPUT_EVENTS);
267
298
  const rawTextareaAttrs = getTextareaAttrs(attrs);
268
299
  const mergeTextareaAttrs = computed(() => {
@@ -275,7 +306,9 @@ var textarea_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
275
306
  [`${prefixCls}-focus`]: focused.value,
276
307
  [`${prefixCls}-disabled`]: mergedDisabled.value,
277
308
  [`${prefixCls}-error`]: mergedError.value,
278
- [`${prefixCls}-scroll`]: isScroll.value
309
+ [`${prefixCls}-scroll`]: isScroll.value,
310
+ [`${prefixCls}-fit-width`]: props.fitWidth,
311
+ [`${prefixCls}-max-w-full`]: props.maxWFull
279
312
  }]);
280
313
  let styleDeclaration;
281
314
  const lineHeight = ref(0);
@@ -387,7 +420,7 @@ var textarea_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
387
420
  disabled: unref(mergedDisabled),
388
421
  readonly: !!__props.readonly,
389
422
  class: unref(prefixCls),
390
- style: textareaStyle.value,
423
+ style: [fitWidthContentStyle.value, textareaStyle.value],
391
424
  value: computedValue.value,
392
425
  placeholder: __props.placeholder,
393
426
  onKeydown: handleKeyDown,
@@ -33,6 +33,14 @@ declare const TimePicker: {
33
33
  placeholder: {
34
34
  type: import("vue").PropType<string | string[]>;
35
35
  };
36
+ fitWidth: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ maxWFull: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
36
44
  size: {
37
45
  type: import("vue").PropType<import("../index.ts").Size>;
38
46
  };
@@ -101,13 +109,15 @@ declare const TimePicker: {
101
109
  "popup-visible-change": (_visible: boolean) => any;
102
110
  }, import("vue").PublicProps, {
103
111
  type: "time" | "time-range";
112
+ position: "bottom" | "top" | "tl" | "tr" | "bl" | "br";
113
+ disabled: boolean;
104
114
  error: boolean;
105
115
  popupVisible: boolean;
106
116
  defaultPopupVisible: boolean;
107
- position: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
108
- disabled: boolean;
109
117
  unmountOnClose: boolean;
110
118
  allowClear: boolean;
119
+ fitWidth: boolean;
120
+ maxWFull: boolean;
111
121
  format: string;
112
122
  use12Hours: boolean;
113
123
  disableConfirm: boolean;
@@ -150,6 +160,14 @@ declare const TimePicker: {
150
160
  placeholder: {
151
161
  type: import("vue").PropType<string | string[]>;
152
162
  };
163
+ fitWidth: {
164
+ type: BooleanConstructor;
165
+ default: boolean;
166
+ };
167
+ maxWFull: {
168
+ type: BooleanConstructor;
169
+ default: boolean;
170
+ };
153
171
  size: {
154
172
  type: import("vue").PropType<import("../index.ts").Size>;
155
173
  };
@@ -211,13 +229,15 @@ declare const TimePicker: {
211
229
  "onPopup-visible-change"?: ((_visible: boolean) => any) | undefined;
212
230
  }>, {}, {}, {}, {}, {
213
231
  type: "time" | "time-range";
232
+ position: "bottom" | "top" | "tl" | "tr" | "bl" | "br";
233
+ disabled: boolean;
214
234
  error: boolean;
215
235
  popupVisible: boolean;
216
236
  defaultPopupVisible: boolean;
217
- position: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
218
- disabled: boolean;
219
237
  unmountOnClose: boolean;
220
238
  allowClear: boolean;
239
+ fitWidth: boolean;
240
+ maxWFull: boolean;
221
241
  format: string;
222
242
  use12Hours: boolean;
223
243
  disableConfirm: boolean;
@@ -257,6 +277,14 @@ declare const TimePicker: {
257
277
  placeholder: {
258
278
  type: import("vue").PropType<string | string[]>;
259
279
  };
280
+ fitWidth: {
281
+ type: BooleanConstructor;
282
+ default: boolean;
283
+ };
284
+ maxWFull: {
285
+ type: BooleanConstructor;
286
+ default: boolean;
287
+ };
260
288
  size: {
261
289
  type: import("vue").PropType<import("../index.ts").Size>;
262
290
  };
@@ -325,13 +353,15 @@ declare const TimePicker: {
325
353
  "popup-visible-change": (_visible: boolean) => any;
326
354
  }, string, {
327
355
  type: "time" | "time-range";
356
+ position: "bottom" | "top" | "tl" | "tr" | "bl" | "br";
357
+ disabled: boolean;
328
358
  error: boolean;
329
359
  popupVisible: boolean;
330
360
  defaultPopupVisible: boolean;
331
- position: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
332
- disabled: boolean;
333
361
  unmountOnClose: boolean;
334
362
  allowClear: boolean;
363
+ fitWidth: boolean;
364
+ maxWFull: boolean;
335
365
  format: string;
336
366
  use12Hours: boolean;
337
367
  disableConfirm: boolean;
@@ -25,7 +25,7 @@ export interface PanelProps extends Omit<BasePanelProps, 'disableConfirm'> {
25
25
  export interface RangePanelProps extends Omit<PanelProps, 'value'> {
26
26
  value?: Array<Dayjs | undefined>;
27
27
  }
28
- export interface TimePickerProps extends BasePanelProps {
28
+ export interface TimePickerProps extends BasePanelProps, FitWidthProps {
29
29
  type: 'time' | 'time-range';
30
30
  modelValue?: TimeValue | TimeValue[];
31
31
  defaultValue?: TimeValue | TimeValue[];
@@ -49,3 +49,4 @@ export interface TimeListItem {
49
49
  selected?: boolean;
50
50
  }
51
51
  export type TimeList = TimeListItem[];
52
+ import type { FitWidthProps } from '../_hooks/use-fit-width';
@@ -0,0 +1,58 @@
1
+ import { isUndefined } from "../_utils/is.js";
2
+ import { isValidRangeValue } from "./utils/index.js";
3
+ import panel_default from "./panel.js";
4
+ import { computed, createVNode, defineComponent, mergeProps, ref, toRefs, watch } from "vue";
5
+ //#region components/time-picker/range-panel.tsx
6
+ var range_panel_default = /* @__PURE__ */ defineComponent({
7
+ name: "TimePickerRangePanel",
8
+ components: { Panel: panel_default },
9
+ props: {
10
+ value: { type: Array },
11
+ displayIndex: {
12
+ type: Number,
13
+ default: 0
14
+ }
15
+ },
16
+ emits: [
17
+ "select",
18
+ "confirm",
19
+ "update:displayIndex",
20
+ "display-index-change"
21
+ ],
22
+ setup(props, { emit }) {
23
+ const { value, displayIndex } = toRefs(props);
24
+ const localDisplayIndex = ref(displayIndex.value);
25
+ watch(displayIndex, () => {
26
+ localDisplayIndex.value = displayIndex.value;
27
+ });
28
+ const displayValue = computed(() => (value === null || value === void 0 ? void 0 : value.value) ? value.value[localDisplayIndex.value] : void 0);
29
+ function onSelect(selectedValue) {
30
+ const newValue = isUndefined(value) || isUndefined(value === null || value === void 0 ? void 0 : value.value) ? [] : [...value.value];
31
+ newValue[localDisplayIndex.value] = selectedValue;
32
+ emit("select", newValue);
33
+ }
34
+ function onConfirm() {
35
+ if (!isValidRangeValue(value === null || value === void 0 ? void 0 : value.value)) {
36
+ const newIndex = (localDisplayIndex.value + 1) % 2;
37
+ localDisplayIndex.value = newIndex;
38
+ emit("display-index-change", newIndex);
39
+ emit("update:displayIndex", newIndex);
40
+ } else emit("confirm", value === null || value === void 0 ? void 0 : value.value);
41
+ }
42
+ return {
43
+ displayValue,
44
+ onSelect,
45
+ onConfirm
46
+ };
47
+ },
48
+ render() {
49
+ return createVNode(panel_default, mergeProps(this.$attrs, {
50
+ "isRange": true,
51
+ "value": this.displayValue,
52
+ "onSelect": this.onSelect,
53
+ "onConfirm": this.onConfirm
54
+ }), this.$slots);
55
+ }
56
+ });
57
+ //#endregion
58
+ export { range_panel_default as default };
@@ -41,6 +41,14 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
41
41
  placeholder: {
42
42
  type: PropType<string | string[]>;
43
43
  };
44
+ fitWidth: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ maxWFull: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
44
52
  size: {
45
53
  type: PropType<Size>;
46
54
  };
@@ -131,6 +139,14 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
131
139
  placeholder: {
132
140
  type: PropType<string | string[]>;
133
141
  };
142
+ fitWidth: {
143
+ type: BooleanConstructor;
144
+ default: boolean;
145
+ };
146
+ maxWFull: {
147
+ type: BooleanConstructor;
148
+ default: boolean;
149
+ };
134
150
  size: {
135
151
  type: PropType<Size>;
136
152
  };
@@ -192,13 +208,15 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
192
208
  "onPopup-visible-change"?: ((_visible: boolean) => any) | undefined;
193
209
  }>, {
194
210
  type: "time" | "time-range";
211
+ position: "bottom" | "top" | "tl" | "tr" | "bl" | "br";
212
+ disabled: boolean;
195
213
  error: boolean;
196
214
  popupVisible: boolean;
197
215
  defaultPopupVisible: boolean;
198
- position: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
199
- disabled: boolean;
200
216
  unmountOnClose: boolean;
201
217
  allowClear: boolean;
218
+ fitWidth: boolean;
219
+ maxWFull: boolean;
202
220
  format: string;
203
221
  use12Hours: boolean;
204
222
  disableConfirm: boolean;
@@ -13,8 +13,10 @@ import { getFormattedValue, isValidInputValue, isValidRangeValue } from "./utils
13
13
  import useTimeFormat from "./hooks/use-time-format.js";
14
14
  import IconClockCircle from "../icon/icon-clock-circle/index.js";
15
15
  import useIsDisabledTime from "./hooks/use-is-disabled-time.js";
16
+ import panel_default from "./panel.js";
16
17
  import input_range_default from "../_components/picker/input-range.js";
17
18
  import useTimeState from "./hooks/use-time-state.js";
19
+ import range_panel_default from "./range-panel.js";
18
20
  import { computed, createBlock, createElementVNode, createSlots, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, openBlock, reactive, ref, renderSlot, resolveDynamicComponent, toRefs, unref, watch, withCtx } from "vue";
19
21
  //#region components/time-picker/time-picker.vue?vue&type=script&setup=true&lang.ts
20
22
  var time_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, {
@@ -88,6 +90,22 @@ var time_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
88
90
  * */
89
91
  placeholder: { type: [String, Array] },
90
92
  /**
93
+ * @zh 宽度是否适应文字内容
94
+ * @en Whether the width adapts to the text content
95
+ */
96
+ fitWidth: {
97
+ type: Boolean,
98
+ default: false
99
+ },
100
+ /**
101
+ * @zh 最大宽度是否限制为父容器宽度
102
+ * @en Whether the maximum width is limited to the parent container width
103
+ */
104
+ maxWFull: {
105
+ type: Boolean,
106
+ default: true
107
+ },
108
+ /**
91
109
  * @zh 输入框尺寸
92
110
  * @en Input box size
93
111
  * @values 'mini','small','medium','large'
@@ -203,12 +221,15 @@ var time_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
203
221
  const { mergedAllowClear } = useAllowClear(allowClear);
204
222
  const isRange = computed(() => type.value === "time-range");
205
223
  const InputComponent = computed(() => isRange.value ? input_range_default : input_default);
224
+ const PanelComponent = computed(() => isRange.value ? range_panel_default : panel_default);
206
225
  const prefixCls = getPrefixCls("timepicker");
207
226
  const refInput = ref();
208
227
  const { format: computedFormat, use12Hours: computedUse12Hours } = useTimeFormat(reactive({
209
228
  format,
210
229
  use12Hours
211
230
  }));
231
+ const fitWidthFallbackText = computed(() => dayjs(new Date(2e3, 0, 1, 0, 0, 0)).format(computedFormat.value));
232
+ const fitWidthFallback = computed(() => `${Array.from(fitWidthFallbackText.value).length}ch`);
212
233
  const { computedValue, panelValue, inputValue, setValue, setPanelValue, setInputValue } = useTimeState(reactive({
213
234
  modelValue,
214
235
  defaultValue,
@@ -388,7 +409,7 @@ var time_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
388
409
  content: withCtx(() => [createElementVNode("div", {
389
410
  class: normalizeClass(`${unref(prefixCls)}-container`),
390
411
  onClick: onPanelClick
391
- }, [(openBlock(), createBlock(resolveDynamicComponent(isRange.value ? "RangePanel" : "Panel"), mergeProps(panelProps.value, {
412
+ }, [(openBlock(), createBlock(resolveDynamicComponent(PanelComponent.value), mergeProps(panelProps.value, {
392
413
  value: unref(panelValue),
393
414
  visible: unref(panelVisible),
394
415
  format: unref(computedFormat),
@@ -432,6 +453,10 @@ var time_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
432
453
  editable: !__props.readonly,
433
454
  "allow-clear": unref(mergedAllowClear) && !__props.readonly,
434
455
  placeholder: computedPlaceholder.value,
456
+ "fit-width": __props.fitWidth,
457
+ "max-w-full": __props.maxWFull,
458
+ "fit-width-fallback": fitWidthFallback.value,
459
+ "fit-width-fallback-text": fitWidthFallbackText.value,
435
460
  onClear: unref(onInputClear)
436
461
  }), createSlots({
437
462
  "suffix-icon": withCtx(() => [renderSlot(_ctx.$slots, "suffix-icon", {}, () => [createVNode(unref(IconClockCircle))])]),
@@ -453,6 +478,10 @@ var time_picker_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
453
478
  "editable",
454
479
  "allow-clear",
455
480
  "placeholder",
481
+ "fit-width",
482
+ "max-w-full",
483
+ "fit-width-fallback",
484
+ "fit-width-fallback-text",
456
485
  "onClear"
457
486
  ]))]),
458
487
  _: 3
@@ -137,8 +137,8 @@ declare const Timeline: {
137
137
  default: boolean;
138
138
  };
139
139
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
140
- loading: boolean;
141
140
  dot: boolean;
141
+ loading: boolean;
142
142
  hideIcon: boolean;
143
143
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
144
144
  P: {};
@@ -159,8 +159,8 @@ declare const Timeline: {
159
159
  default: boolean;
160
160
  };
161
161
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
162
- loading: boolean;
163
162
  dot: boolean;
163
+ loading: boolean;
164
164
  hideIcon: boolean;
165
165
  }>;
166
166
  __isFragment?: never;
@@ -178,8 +178,8 @@ declare const Timeline: {
178
178
  default: boolean;
179
179
  };
180
180
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
181
- loading: boolean;
182
181
  dot: boolean;
182
+ loading: boolean;
183
183
  hideIcon: boolean;
184
184
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
185
185
  install: (app: App, options?: SDOptions) => void;
@@ -352,8 +352,8 @@ declare const Timeline: {
352
352
  default: boolean;
353
353
  };
354
354
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
355
- loading: boolean;
356
355
  dot: boolean;
356
+ loading: boolean;
357
357
  hideIcon: boolean;
358
358
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
359
359
  P: {};
@@ -374,8 +374,8 @@ declare const Timeline: {
374
374
  default: boolean;
375
375
  };
376
376
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
377
- loading: boolean;
378
377
  dot: boolean;
378
+ loading: boolean;
379
379
  hideIcon: boolean;
380
380
  }>;
381
381
  __isFragment?: never;
@@ -393,8 +393,8 @@ declare const Timeline: {
393
393
  default: boolean;
394
394
  };
395
395
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
396
- loading: boolean;
397
396
  dot: boolean;
397
+ loading: boolean;
398
398
  hideIcon: boolean;
399
399
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
400
400
  install: (app: App, options?: SDOptions) => void;
@@ -153,8 +153,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
153
153
  default: boolean;
154
154
  };
155
155
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
156
- loading: boolean;
157
156
  dot: boolean;
157
+ loading: boolean;
158
158
  hideIcon: boolean;
159
159
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
160
160
  P: {};
@@ -175,8 +175,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
175
175
  default: boolean;
176
176
  };
177
177
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
178
- loading: boolean;
179
178
  dot: boolean;
179
+ loading: boolean;
180
180
  hideIcon: boolean;
181
181
  }>;
182
182
  __isFragment?: never;
@@ -194,8 +194,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
194
194
  default: boolean;
195
195
  };
196
196
  }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
197
- loading: boolean;
198
197
  dot: boolean;
198
+ loading: boolean;
199
199
  hideIcon: boolean;
200
200
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
201
201
  install: (app: import("vue").App, options?: import("../_utils/types.ts").SDOptions) => void;
@@ -9,11 +9,11 @@ declare const Tooltip: {
9
9
  "update:popupVisible": (_visible: boolean) => any;
10
10
  popupVisibleChange: (_visible: boolean) => any;
11
11
  }, import("vue").PublicProps, {
12
+ position: import("../index.ts").TriggerPosition;
13
+ disabled: boolean;
12
14
  mini: boolean;
13
15
  popupVisible: boolean;
14
16
  defaultPopupVisible: boolean;
15
- position: import("../index.ts").TriggerPosition;
16
- disabled: boolean;
17
17
  }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
18
18
  P: {};
19
19
  B: {};
@@ -25,11 +25,11 @@ declare const Tooltip: {
25
25
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
26
26
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
27
27
  }>, {}, {}, {}, {}, {
28
+ position: import("../index.ts").TriggerPosition;
29
+ disabled: boolean;
28
30
  mini: boolean;
29
31
  popupVisible: boolean;
30
32
  defaultPopupVisible: boolean;
31
- position: import("../index.ts").TriggerPosition;
32
- disabled: boolean;
33
33
  }>;
34
34
  __isFragment?: never;
35
35
  __isTeleport?: never;
@@ -41,11 +41,11 @@ declare const Tooltip: {
41
41
  "update:popupVisible": (_visible: boolean) => any;
42
42
  popupVisibleChange: (_visible: boolean) => any;
43
43
  }, string, {
44
+ position: import("../index.ts").TriggerPosition;
45
+ disabled: boolean;
44
46
  mini: boolean;
45
47
  popupVisible: boolean;
46
48
  defaultPopupVisible: boolean;
47
- position: import("../index.ts").TriggerPosition;
48
- disabled: boolean;
49
49
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
50
50
  $slots: {
51
51
  default?: (props: {}) => any;
@@ -12,11 +12,11 @@ declare const __VLS_base: import("vue").DefineComponent<TooltipProps, {}, {}, {}
12
12
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
13
13
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
14
14
  }>, {
15
+ position: import("..").TriggerPosition;
16
+ disabled: boolean;
15
17
  mini: boolean;
16
18
  popupVisible: boolean;
17
19
  defaultPopupVisible: boolean;
18
- position: import("..").TriggerPosition;
19
- disabled: boolean;
20
20
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
21
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
22
  declare const _default: typeof __VLS_export;
@@ -164,8 +164,8 @@ declare const Tour: {
164
164
  "update:current": (current: number) => any;
165
165
  visibleChange: (visible: boolean) => any;
166
166
  }, import("vue").PublicProps, {
167
- animate: boolean;
168
167
  visible: boolean;
168
+ animate: boolean;
169
169
  floatingOptions: import("../index.ts").FloatingOptions;
170
170
  buttonProps: Partial<Record<import("./types").TourButtonKind, import("../index.ts").ButtonProps>>;
171
171
  defaultVisible: boolean;
@@ -367,8 +367,8 @@ declare const Tour: {
367
367
  "onUpdate:current"?: ((current: number) => any) | undefined;
368
368
  onVisibleChange?: ((visible: boolean) => any) | undefined;
369
369
  }>, import("./types").TourExpose, {}, {}, {}, {
370
- animate: boolean;
371
370
  visible: boolean;
371
+ animate: boolean;
372
372
  floatingOptions: import("../index.ts").FloatingOptions;
373
373
  buttonProps: Partial<Record<import("./types").TourButtonKind, import("../index.ts").ButtonProps>>;
374
374
  defaultVisible: boolean;
@@ -573,8 +573,8 @@ declare const Tour: {
573
573
  "update:current": (current: number) => any;
574
574
  visibleChange: (visible: boolean) => any;
575
575
  }, string, {
576
- animate: boolean;
577
576
  visible: boolean;
577
+ animate: boolean;
578
578
  floatingOptions: import("../index.ts").FloatingOptions;
579
579
  buttonProps: Partial<Record<import("./types").TourButtonKind, import("../index.ts").ButtonProps>>;
580
580
  defaultVisible: boolean;
@@ -370,8 +370,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
370
370
  "onUpdate:current"?: ((current: number) => any) | undefined;
371
371
  onVisibleChange?: ((visible: boolean) => any) | undefined;
372
372
  }>, {
373
- animate: boolean;
374
373
  visible: boolean;
374
+ animate: boolean;
375
375
  floatingOptions: FloatingOptions;
376
376
  buttonProps: Partial<Record<TourButtonKind, ButtonProps>>;
377
377
  defaultVisible: boolean;
@@ -66,9 +66,9 @@ declare const Transfer: {
66
66
  "update:modelValue": (_value: string[]) => any;
67
67
  "update:selected": (_selected: string[]) => any;
68
68
  }, import("vue").PublicProps, {
69
+ disabled: boolean;
69
70
  data: import("./interface").TransferItem[];
70
71
  title: string[];
71
- disabled: boolean;
72
72
  defaultValue: string[];
73
73
  modelValue: string[];
74
74
  simple: boolean;
@@ -142,9 +142,9 @@ declare const Transfer: {
142
142
  "onUpdate:modelValue"?: ((_value: string[]) => any) | undefined;
143
143
  "onUpdate:selected"?: ((_selected: string[]) => any) | undefined;
144
144
  }>, {}, {}, {}, {}, {
145
+ disabled: boolean;
145
146
  data: import("./interface").TransferItem[];
146
147
  title: string[];
147
- disabled: boolean;
148
148
  defaultValue: string[];
149
149
  modelValue: string[];
150
150
  simple: boolean;
@@ -221,9 +221,9 @@ declare const Transfer: {
221
221
  "update:modelValue": (_value: string[]) => any;
222
222
  "update:selected": (_selected: string[]) => any;
223
223
  }, string, {
224
+ disabled: boolean;
224
225
  data: import("./interface").TransferItem[];
225
226
  title: string[];
226
- disabled: boolean;
227
227
  defaultValue: string[];
228
228
  modelValue: string[];
229
229
  simple: boolean;
@@ -153,9 +153,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
153
153
  "onUpdate:modelValue"?: ((_value: string[]) => any) | undefined;
154
154
  "onUpdate:selected"?: ((_selected: string[]) => any) | undefined;
155
155
  }>, {
156
+ disabled: boolean;
156
157
  data: TransferItem[];
157
158
  title: string[];
158
- disabled: boolean;
159
159
  defaultValue: string[];
160
160
  modelValue: string[];
161
161
  simple: boolean;