vft 0.0.151 → 0.0.154

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 (118) hide show
  1. package/es/components/affix/affix.vue.d.ts +1 -1
  2. package/es/components/affix/index.d.ts +2 -2
  3. package/es/components/autocomplete/autocomplete.vue.d.ts +6 -6
  4. package/es/components/autocomplete/index.d.ts +17 -17
  5. package/es/components/button/use-button.js +3 -3
  6. package/es/components/carousel/carousel.vue.d.ts +1 -1
  7. package/es/components/carousel/index.d.ts +19 -19
  8. package/es/components/checkbox/checkbox-button.vue.d.ts +1 -1
  9. package/es/components/checkbox/checkbox-group.vue.d.ts +1 -1
  10. package/es/components/checkbox/checkbox.vue.d.ts +1 -1
  11. package/es/components/checkbox/index.d.ts +10 -10
  12. package/es/components/color-picker/color-picker.vue.d.ts +1 -1
  13. package/es/components/color-picker/index.d.ts +1 -1
  14. package/es/components/date-picker/date-picker.d.ts +1 -1
  15. package/es/components/date-picker/index.d.ts +2 -2
  16. package/es/components/dialog/dialog.vue.d.ts +1 -1
  17. package/es/components/dialog/index.d.ts +2 -2
  18. package/es/components/drawer/drawer.vue.d.ts +1 -1
  19. package/es/components/drawer/index.d.ts +2 -2
  20. package/es/components/dropdown/dropdown.vue.d.ts +1 -1
  21. package/es/components/dropdown/index.d.ts +19 -19
  22. package/es/components/icon/icon.vue2.js +20 -21
  23. package/es/components/index.js +113 -113
  24. package/es/components/input/index.d.ts +12 -12
  25. package/es/components/input/input.vue.d.ts +4 -4
  26. package/es/components/input-number/index.d.ts +3 -3
  27. package/es/components/input-number/input-number.vue.d.ts +3 -3
  28. package/es/components/modal/index.d.ts +11 -11
  29. package/es/components/modal/modal.vue.d.ts +1 -1
  30. package/es/components/multiple-tabs/multiple-tabs.vue2.js +97 -67
  31. package/es/components/popconfirm/index.d.ts +11 -11
  32. package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
  33. package/es/components/progress/index.d.ts +4 -4
  34. package/es/components/radio/index.d.ts +6 -6
  35. package/es/components/radio/radio-group.vue.d.ts +1 -1
  36. package/es/components/radio/radio.vue.d.ts +1 -1
  37. package/es/components/search/index.d.ts +8 -8
  38. package/es/components/search/search.vue.d.ts +2 -2
  39. package/es/components/select/index.d.ts +8 -8
  40. package/es/components/select/select.vue.d.ts +4 -4
  41. package/es/components/select/useSelect.d.ts +1 -1
  42. package/es/components/side-menu/side-menu.vue2.js +44 -44
  43. package/es/components/slider/index.d.ts +1 -1
  44. package/es/components/slider/slider.vue.d.ts +1 -1
  45. package/es/components/switch/index.d.ts +3 -3
  46. package/es/components/switch/switch.vue.d.ts +3 -3
  47. package/es/components/table/index.d.ts +17 -17
  48. package/es/components/table/table.vue.d.ts +2 -2
  49. package/es/components/tabs/tabs.vue2.js +4 -4
  50. package/es/components/time-picker/common/picker.vue.d.ts +4 -4
  51. package/es/components/time-picker/index.d.ts +2 -2
  52. package/es/components/time-picker/time-picker.d.ts +1 -1
  53. package/es/components/time-select/time-select.vue.d.ts +3 -3
  54. package/es/components/tree/index.d.ts +16 -16
  55. package/es/components/upload/index.d.ts +12 -12
  56. package/es/index.js +113 -113
  57. package/es/package.json.d.ts +1 -1
  58. package/es/package.json.js +1 -1
  59. package/lib/components/affix/affix.vue.d.ts +1 -1
  60. package/lib/components/affix/index.d.ts +2 -2
  61. package/lib/components/autocomplete/autocomplete.vue.d.ts +6 -6
  62. package/lib/components/autocomplete/index.d.ts +17 -17
  63. package/lib/components/button/use-button.cjs +1 -1
  64. package/lib/components/carousel/carousel.vue.d.ts +1 -1
  65. package/lib/components/carousel/index.d.ts +19 -19
  66. package/lib/components/checkbox/checkbox-button.vue.d.ts +1 -1
  67. package/lib/components/checkbox/checkbox-group.vue.d.ts +1 -1
  68. package/lib/components/checkbox/checkbox.vue.d.ts +1 -1
  69. package/lib/components/checkbox/index.d.ts +10 -10
  70. package/lib/components/color-picker/color-picker.vue.d.ts +1 -1
  71. package/lib/components/color-picker/index.d.ts +1 -1
  72. package/lib/components/date-picker/date-picker.d.ts +1 -1
  73. package/lib/components/date-picker/index.d.ts +2 -2
  74. package/lib/components/dialog/dialog.vue.d.ts +1 -1
  75. package/lib/components/dialog/index.d.ts +2 -2
  76. package/lib/components/drawer/drawer.vue.d.ts +1 -1
  77. package/lib/components/drawer/index.d.ts +2 -2
  78. package/lib/components/dropdown/dropdown.vue.d.ts +1 -1
  79. package/lib/components/dropdown/index.d.ts +19 -19
  80. package/lib/components/icon/icon.vue2.cjs +1 -1
  81. package/lib/components/index.cjs +1 -1
  82. package/lib/components/input/index.d.ts +12 -12
  83. package/lib/components/input/input.vue.d.ts +4 -4
  84. package/lib/components/input-number/index.d.ts +3 -3
  85. package/lib/components/input-number/input-number.vue.d.ts +3 -3
  86. package/lib/components/modal/index.d.ts +11 -11
  87. package/lib/components/modal/modal.vue.d.ts +1 -1
  88. package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
  89. package/lib/components/popconfirm/index.d.ts +11 -11
  90. package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
  91. package/lib/components/progress/index.d.ts +4 -4
  92. package/lib/components/radio/index.d.ts +6 -6
  93. package/lib/components/radio/radio-group.vue.d.ts +1 -1
  94. package/lib/components/radio/radio.vue.d.ts +1 -1
  95. package/lib/components/search/index.d.ts +8 -8
  96. package/lib/components/search/search.vue.d.ts +2 -2
  97. package/lib/components/select/index.d.ts +8 -8
  98. package/lib/components/select/select.vue.d.ts +4 -4
  99. package/lib/components/select/useSelect.d.ts +1 -1
  100. package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
  101. package/lib/components/slider/index.d.ts +1 -1
  102. package/lib/components/slider/slider.vue.d.ts +1 -1
  103. package/lib/components/switch/index.d.ts +3 -3
  104. package/lib/components/switch/switch.vue.d.ts +3 -3
  105. package/lib/components/table/index.d.ts +17 -17
  106. package/lib/components/table/table.vue.d.ts +2 -2
  107. package/lib/components/tabs/tabs.vue2.cjs +1 -1
  108. package/lib/components/time-picker/common/picker.vue.d.ts +4 -4
  109. package/lib/components/time-picker/index.d.ts +2 -2
  110. package/lib/components/time-picker/time-picker.d.ts +1 -1
  111. package/lib/components/time-select/time-select.vue.d.ts +3 -3
  112. package/lib/components/tree/index.d.ts +16 -16
  113. package/lib/components/upload/index.d.ts +12 -12
  114. package/lib/index.cjs +1 -1
  115. package/lib/package.json.cjs +1 -1
  116. package/lib/package.json.d.ts +1 -1
  117. package/package.json +4 -4
  118. package/web-types.json +1 -1
package/es/index.js CHANGED
@@ -126,45 +126,45 @@ import { cAF as qf, rAF as Zf } from "./utils/vue/raf.js";
126
126
  import { composeRefs as Xf } from "./utils/vue/refs.js";
127
127
  import { PatchFlags as ep, ensureOnlyChild as op, flattedChildren as rp, getFirstValidNode as tp, getNormalizedProps as fp, isComment as pp, isFragment as mp, isTemplate as ap, isText as xp, isValidElementNode as ip, renderBlock as sp, renderIf as np } from "./utils/vue/vnode.js";
128
128
  import { default as Vp } from "dayjs";
129
- import { default as dp } from "./components/time-picker/common/picker.vue2.js";
130
- import { default as Ip } from "./components/time-picker/time-picker-com/panel-time-pick.vue2.js";
131
- import { buttonGroupContextKey as Tp } from "./components/button/constants.js";
132
- import { checkboxGroupContextKey as Ep } from "./components/checkbox/constants.js";
133
- import { configProviderContextKey as Pp, messageConfig as Sp } from "./components/config-provider/constants.js";
134
- import { provideGlobalConfig as yp, useGlobalComponentSettings as Mp, useGlobalConfig as _p } from "./components/config-provider/hooks/use-global-config.js";
135
- import { ROOT_PICKER_INJECTION_KEY as Lp, datePickerConfig as Ap } from "./components/date-picker/constants.js";
136
- import { datePickerProps as Kp } from "./components/date-picker/props/date-picker.js";
137
- import { dialogInjectionKey as Rp } from "./components/dialog/constants.js";
138
- import { useDialog as Op } from "./components/dialog/hooks/use-dialog.js";
139
- import { DROPDOWN_INJECTION_KEY as wp } from "./components/dropdown/tokens.js";
140
- import { EmptyEnum as Gp } from "./components/empty/constants.js";
141
- import { formContextKey as Yp, formItemContextKey as Bp } from "./components/form/constants.js";
142
- import { useDisabled as Jp, useFormDisabled as Wp, useFormSize as jp, useSize as qp } from "./components/form/hooks/use-form-common-props.js";
143
- import { useFormItem as Qp, useFormItemInputId as Xp } from "./components/form/hooks/use-form-item.js";
144
- import { formItemValidateStates as em } from "./components/form/types.js";
145
- import { MenuTypeEnum as rm } from "./components/horizontal-menu/constants.js";
146
- import { initAffixTabs as fm, useTabsDrag as pm } from "./components/multiple-tabs/use/use-multiple-tabs.js";
147
- import { useTabDropdown as am } from "./components/multiple-tabs/use/use-tab-dropdown.js";
148
- import { usePagination as im, vftPaginationKey as sm } from "./components/pagination/usePagination.js";
149
- import { default as lm } from "./components/popper/arrow.vue2.js";
150
- import { default as um } from "./components/popper/content.vue2.js";
151
- import { default as cm } from "./components/popper/trigger.vue2.js";
152
- import { radioGroupKey as Cm } from "./components/radio/constants.js";
153
- import { rowContextKey as gm } from "./components/row/constants.js";
154
- import { scrollbarContextKey as Dm } from "./components/scrollbar/constants.js";
155
- import { BAR_MAP as Sm, GAP as Fm, renderThumbStyle as ym } from "./components/scrollbar/util.js";
156
- import { selectInjectionKey as _m } from "./components/select/token.js";
157
- import { sliderContextKey as Lm } from "./components/slider/constants.js";
158
- import { sliderEmits as Nm } from "./components/slider/slider.js";
159
- import { spaceProps as vm } from "./components/space/space.js";
160
- import { useSpace as km } from "./components/space/use-space.js";
161
- import { ACTION_FIELD as hm, CHECKED_FIELD as wm, CREATE_TIME_FIELD as zm, DATE_FIELD as Gm, DATE_TIME_FIELD as Um, ID_FIELD as Ym, NAME_FIELD as Bm, SEQ_FIELD as Hm, STATUS_FIELD as Jm, UPDATE_TIME_FIELD as Wm } from "./components/table/field.js";
162
- import { useTable as qm } from "./components/table/use/use-table.js";
163
- import { addRequire as Qm, removeRequire as Xm, selectMapping as $m } from "./components/table/utils.js";
164
- import { TabsRootContextKey as oa } from "./components/tabs/types.js";
165
- import { timePickerDefaultProps as ta } from "./components/time-picker/common/props.js";
166
- import { DEFAULT_FORMATS_DATE as pa, DEFAULT_FORMATS_DATEPICKER as ma, DEFAULT_FORMATS_TIME as aa, timeUnits as xa } from "./components/time-picker/constants.js";
167
- import { buildTimeList as sa, dateEquals as na, extractDateFormat as la, extractTimeFormat as Va, formatter as ua, makeList as da, parseDate as ca, rangeArr as Ia, valueEquals as Ca } from "./components/time-picker/utils.js";
129
+ import { buttonGroupContextKey as dp } from "./components/button/constants.js";
130
+ import { checkboxGroupContextKey as Ip } from "./components/checkbox/constants.js";
131
+ import { configProviderContextKey as Tp, messageConfig as gp } from "./components/config-provider/constants.js";
132
+ import { provideGlobalConfig as Dp, useGlobalComponentSettings as Pp, useGlobalConfig as Sp } from "./components/config-provider/hooks/use-global-config.js";
133
+ import { ROOT_PICKER_INJECTION_KEY as yp, datePickerConfig as Mp } from "./components/date-picker/constants.js";
134
+ import { datePickerProps as bp } from "./components/date-picker/props/date-picker.js";
135
+ import { dialogInjectionKey as Ap } from "./components/dialog/constants.js";
136
+ import { useDialog as Kp } from "./components/dialog/hooks/use-dialog.js";
137
+ import { DROPDOWN_INJECTION_KEY as Rp } from "./components/dropdown/tokens.js";
138
+ import { EmptyEnum as Op } from "./components/empty/constants.js";
139
+ import { formContextKey as wp, formItemContextKey as zp } from "./components/form/constants.js";
140
+ import { useDisabled as Up, useFormDisabled as Yp, useFormSize as Bp, useSize as Hp } from "./components/form/hooks/use-form-common-props.js";
141
+ import { useFormItem as Wp, useFormItemInputId as jp } from "./components/form/hooks/use-form-item.js";
142
+ import { formItemValidateStates as Zp } from "./components/form/types.js";
143
+ import { MenuTypeEnum as Xp } from "./components/horizontal-menu/constants.js";
144
+ import { initAffixTabs as em, useTabsDrag as om } from "./components/multiple-tabs/use/use-multiple-tabs.js";
145
+ import { useTabDropdown as tm } from "./components/multiple-tabs/use/use-tab-dropdown.js";
146
+ import { usePagination as pm, vftPaginationKey as mm } from "./components/pagination/usePagination.js";
147
+ import { default as xm } from "./components/popper/arrow.vue2.js";
148
+ import { default as sm } from "./components/popper/content.vue2.js";
149
+ import { default as lm } from "./components/popper/trigger.vue2.js";
150
+ import { radioGroupKey as um } from "./components/radio/constants.js";
151
+ import { rowContextKey as cm } from "./components/row/constants.js";
152
+ import { scrollbarContextKey as Cm } from "./components/scrollbar/constants.js";
153
+ import { BAR_MAP as gm, GAP as Em, renderThumbStyle as Dm } from "./components/scrollbar/util.js";
154
+ import { selectInjectionKey as Sm } from "./components/select/token.js";
155
+ import { sliderContextKey as ym } from "./components/slider/constants.js";
156
+ import { sliderEmits as _m } from "./components/slider/slider.js";
157
+ import { spaceProps as Lm } from "./components/space/space.js";
158
+ import { useSpace as Nm } from "./components/space/use-space.js";
159
+ import { ACTION_FIELD as vm, CHECKED_FIELD as Rm, CREATE_TIME_FIELD as km, DATE_FIELD as Om, DATE_TIME_FIELD as hm, ID_FIELD as wm, NAME_FIELD as zm, SEQ_FIELD as Gm, STATUS_FIELD as Um, UPDATE_TIME_FIELD as Ym } from "./components/table/field.js";
160
+ import { useTable as Hm } from "./components/table/use/use-table.js";
161
+ import { addRequire as Wm, removeRequire as jm, selectMapping as qm } from "./components/table/utils.js";
162
+ import { TabsRootContextKey as Qm } from "./components/tabs/types.js";
163
+ import { timePickerDefaultProps as $m } from "./components/time-picker/common/props.js";
164
+ import { DEFAULT_FORMATS_DATE as oa, DEFAULT_FORMATS_DATEPICKER as ra, DEFAULT_FORMATS_TIME as ta, timeUnits as fa } from "./components/time-picker/constants.js";
165
+ import { buildTimeList as ma, dateEquals as aa, extractDateFormat as xa, extractTimeFormat as ia, formatter as sa, makeList as na, parseDate as la, rangeArr as Va, valueEquals as ua } from "./components/time-picker/utils.js";
166
+ import { default as ca } from "./components/time-picker/common/picker.vue2.js";
167
+ import { default as Ca } from "./components/time-picker/time-picker-com/panel-time-pick.vue2.js";
168
168
  import { TOOLTIP_INJECTION_KEY as ga } from "./components/tooltip/constants.js";
169
169
  import { getChildState as Da } from "./components/tree/model/node.js";
170
170
  import { dragEventsKey as Sa, useDragNodeHandler as Fa } from "./components/tree/model/useDragNode.js";
@@ -178,46 +178,46 @@ import { Loading as Za } from "./components/loading/service.js";
178
178
  import { messageDefaults as Xa, messageTypes as $a } from "./components/message/types.js";
179
179
  const r = e.install, t = e.version;
180
180
  export {
181
- hm as ACTION_FIELD,
182
- Sm as BAR_MAP,
181
+ vm as ACTION_FIELD,
182
+ gm as BAR_MAP,
183
183
  ft as CHANGE_EVENT,
184
- wm as CHECKED_FIELD,
185
- zm as CREATE_TIME_FIELD,
186
- dp as CommonPicker,
184
+ Rm as CHECKED_FIELD,
185
+ km as CREATE_TIME_FIELD,
186
+ ca as CommonPicker,
187
187
  m as CompResolver,
188
- Gm as DATE_FIELD,
189
- Um as DATE_TIME_FIELD,
190
- pa as DEFAULT_FORMATS_DATE,
191
- ma as DEFAULT_FORMATS_DATEPICKER,
192
- aa as DEFAULT_FORMATS_TIME,
193
- wp as DROPDOWN_INJECTION_KEY,
188
+ Om as DATE_FIELD,
189
+ hm as DATE_TIME_FIELD,
190
+ oa as DEFAULT_FORMATS_DATE,
191
+ ra as DEFAULT_FORMATS_DATEPICKER,
192
+ ta as DEFAULT_FORMATS_TIME,
193
+ Rp as DROPDOWN_INJECTION_KEY,
194
194
  mr as DynamicSizeGrid,
195
195
  xr as DynamicSizeList,
196
196
  $r as EVENT_CODE,
197
- Gp as EmptyEnum,
197
+ Op as EmptyEnum,
198
198
  Et as FORWARD_REF_INJECTION_KEY,
199
199
  sr as FixedSizeGrid,
200
200
  lr as FixedSizeList,
201
201
  La as FormCompEnum,
202
- Fm as GAP,
203
- Ym as ID_FIELD,
202
+ Em as GAP,
203
+ wm as ID_FIELD,
204
204
  Ft as ID_INJECTION_KEY,
205
205
  pt as INPUT_EVENT,
206
206
  xt as INSTALLED_KEY,
207
207
  _e as Icon,
208
- rm as MenuTypeEnum,
208
+ Xp as MenuTypeEnum,
209
209
  Jr as Message,
210
- Bm as NAME_FIELD,
210
+ zm as NAME_FIELD,
211
211
  ep as PatchFlags,
212
- Lp as ROOT_PICKER_INJECTION_KEY,
213
- Hm as SEQ_FIELD,
212
+ yp as ROOT_PICKER_INJECTION_KEY,
213
+ Gm as SEQ_FIELD,
214
214
  Zt as SIZE_INJECTION_KEY,
215
- Jm as STATUS_FIELD,
215
+ Um as STATUS_FIELD,
216
216
  ga as TOOLTIP_INJECTION_KEY,
217
- oa as TabsRootContextKey,
218
- Ip as TimePickPanel,
217
+ Qm as TabsRootContextKey,
218
+ Ca as TimePickPanel,
219
219
  mt as UPDATE_MODEL_EVENT,
220
- Wm as UPDATE_TIME_FIELD,
220
+ Ym as UPDATE_TIME_FIELD,
221
221
  s as VftAlert,
222
222
  w as VftAside,
223
223
  Tr as VftAutocomplete,
@@ -293,9 +293,9 @@ export {
293
293
  io as VftPopconfirm,
294
294
  no as VftPopover,
295
295
  Vo as VftPopper,
296
- lm as VftPopperArrow,
297
- um as VftPopperContent,
298
- cm as VftPopperTrigger,
296
+ xm as VftPopperArrow,
297
+ sm as VftPopperContent,
298
+ lm as VftPopperTrigger,
299
299
  Pr as VftProgress,
300
300
  Qr as VftProgressI,
301
301
  co as VftQrcode,
@@ -328,28 +328,28 @@ export {
328
328
  ot as WEEK_DAYS,
329
329
  Rt as _bem,
330
330
  Aa as add,
331
- Qm as addRequire,
331
+ Wm as addRequire,
332
332
  Yf as buildProp,
333
333
  Bf as buildProps,
334
- sa as buildTimeList,
335
- Tp as buttonGroupContextKey,
334
+ ma as buildTimeList,
335
+ dp as buttonGroupContextKey,
336
336
  qf as cAF,
337
337
  Ba as carouselContextKey,
338
- Ep as checkboxGroupContextKey,
338
+ Ip as checkboxGroupContextKey,
339
339
  Na as componentMap,
340
340
  st as componentSizeMap,
341
341
  nt as componentSizes,
342
342
  Ef as composeEventHandlers,
343
343
  Xf as composeRefs,
344
- Pp as configProviderContextKey,
344
+ Tp as configProviderContextKey,
345
345
  H as createContextMenu,
346
346
  Wa as createLoadingDirective,
347
347
  At as createModelToggleComposable,
348
348
  _f as cssVarValue,
349
- na as dateEquals,
349
+ aa as dateEquals,
350
350
  rt as datePickTypes,
351
- Ap as datePickerConfig,
352
- Kp as datePickerProps,
351
+ Mp as datePickerConfig,
352
+ bp as datePickerProps,
353
353
  Vp as dayjs,
354
354
  Cf as debugWarn,
355
355
  e as default,
@@ -358,18 +358,18 @@ export {
358
358
  Hf as definePropType,
359
359
  Ka as del,
360
360
  J as destroyContextMenu,
361
- Rp as dialogInjectionKey,
361
+ Ap as dialogInjectionKey,
362
362
  Sa as dragEventsKey,
363
363
  op as ensureOnlyChild,
364
364
  Jf as epPropKey,
365
365
  kf as escapeStringRegexp,
366
- la as extractDateFormat,
367
- Va as extractTimeFormat,
366
+ xa as extractDateFormat,
367
+ ia as extractTimeFormat,
368
368
  rp as flattedChildren,
369
- Yp as formContextKey,
370
- Bp as formItemContextKey,
371
- em as formItemValidateStates,
372
- ua as formatter,
369
+ wp as formContextKey,
370
+ zp as formItemContextKey,
371
+ Zp as formItemValidateStates,
372
+ sa as formatter,
373
373
  Ga as genFileId,
374
374
  bf as generateCssVars,
375
375
  Da as getChildState,
@@ -383,7 +383,7 @@ export {
383
383
  Vf as getScrollBarWidth,
384
384
  uf as getScrollContainer,
385
385
  Ff as getSizeType,
386
- fm as initAffixTabs,
386
+ em as initAffixTabs,
387
387
  r as install,
388
388
  pp as isComment,
389
389
  va as isDatePicker,
@@ -398,54 +398,54 @@ export {
398
398
  yf as isValidComponentSize,
399
399
  ip as isValidElementNode,
400
400
  x as makeInstaller,
401
- da as makeList,
402
- Sp as messageConfig,
401
+ na as makeList,
402
+ gp as messageConfig,
403
403
  Xa as messageDefaults,
404
404
  $a as messageTypes,
405
405
  vf as mutable,
406
406
  Ot as namespaceContextKey,
407
- ca as parseDate,
407
+ la as parseDate,
408
408
  Lf as primaryColor,
409
- yp as provideGlobalConfig,
409
+ Dp as provideGlobalConfig,
410
410
  Zf as rAF,
411
- Cm as radioGroupKey,
412
- Ia as rangeArr,
413
- Xm as removeRequire,
411
+ um as radioGroupKey,
412
+ Va as rangeArr,
413
+ jm as removeRequire,
414
414
  sp as renderBlock,
415
415
  np as renderIf,
416
- ym as renderThumbStyle,
417
- gm as rowContextKey,
416
+ Dm as renderThumbStyle,
417
+ cm as rowContextKey,
418
418
  cf as scrollIntoView,
419
- Dm as scrollbarContextKey,
420
- _m as selectInjectionKey,
421
- $m as selectMapping,
419
+ Cm as scrollbarContextKey,
420
+ Sm as selectInjectionKey,
421
+ qm as selectMapping,
422
422
  Af as setCssVar,
423
423
  Nf as setPrimaryColorCssvars,
424
- Lm as sliderContextKey,
425
- Nm as sliderEmits,
426
- vm as spaceProps,
424
+ ym as sliderContextKey,
425
+ _m as sliderEmits,
426
+ Lm as spaceProps,
427
427
  Tf as throwError,
428
- ta as timePickerDefaultProps,
429
- xa as timeUnits,
428
+ $m as timePickerDefaultProps,
429
+ fa as timeUnits,
430
430
  Ua as uploadContextKey,
431
431
  Vt as useAttrs,
432
432
  j as useContextMenu,
433
433
  dt as useDelayedToggle,
434
- Op as useDialog,
435
- Jp as useDisabled,
434
+ Kp as useDialog,
435
+ Up as useDisabled,
436
436
  Fa as useDragNodeHandler,
437
437
  It as useDraggable,
438
438
  Tt as useFocus,
439
439
  wa as useForm,
440
- Wp as useFormDisabled,
441
- Qp as useFormItem,
442
- Xp as useFormItemInputId,
443
- jp as useFormSize,
440
+ Yp as useFormDisabled,
441
+ Wp as useFormItem,
442
+ jp as useFormItemInputId,
443
+ Bp as useFormSize,
444
444
  Dt as useForwardRef,
445
445
  Pt as useForwardRefDirective,
446
446
  ht as useGetDerivedNamespace,
447
- Mp as useGlobalComponentSettings,
448
- _p as useGlobalConfig,
447
+ Pp as useGlobalComponentSettings,
448
+ Sp as useGlobalConfig,
449
449
  Qt as useGlobalSize,
450
450
  yt as useId,
451
451
  Mt as useIdInjection,
@@ -456,23 +456,23 @@ export {
456
456
  Kt as useModelToggleEmits,
457
457
  wt as useNamespace,
458
458
  Gt as useOrderedChildren,
459
- im as usePagination,
459
+ pm as usePagination,
460
460
  Yt as usePopper,
461
461
  Ht as usePopperContainer,
462
462
  Jt as usePopperContainerId,
463
463
  jt as useSameTarget,
464
- qp as useSize,
465
- km as useSpace,
466
- am as useTabDropdown,
467
- qm as useTable,
468
- pm as useTabsDrag,
464
+ Hp as useSize,
465
+ Nm as useSpace,
466
+ tm as useTabDropdown,
467
+ Hm as useTable,
468
+ om as useTabsDrag,
469
469
  $t as useThrottleRender,
470
470
  of as useTimeout,
471
471
  ff as useZIndex,
472
472
  ja as vLoading,
473
- Ca as valueEquals,
473
+ ua as valueEquals,
474
474
  t as version,
475
- sm as vftPaginationKey,
475
+ mm as vftPaginationKey,
476
476
  ur as virtualizedGridProps,
477
477
  dr as virtualizedListProps,
478
478
  cr as virtualizedProps,
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "name": "vft",
3
- "version": "0.0.151",
3
+ "version": "0.0.154",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.js",
@@ -1,4 +1,4 @@
1
- const o = "0.0.151";
1
+ const o = "0.0.154";
2
2
  export {
3
3
  o as version
4
4
  };
@@ -9,11 +9,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
9
9
  /** @description update rootRect info */
10
10
  updateRoot: any;
11
11
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ change: (fixed: boolean) => void;
12
13
  scroll: (args_0: {
13
14
  scrollTop: number;
14
15
  fixed: boolean;
15
16
  }) => void;
16
- change: (fixed: boolean) => void;
17
17
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
18
18
  readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
19
19
  readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -14,11 +14,11 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
14
14
  update: () => void;
15
15
  updateRoot: any;
16
16
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ change: (fixed: boolean) => void;
17
18
  scroll: (args_0: {
18
19
  scrollTop: number;
19
20
  fixed: boolean;
20
21
  }) => void;
21
- change: (fixed: boolean) => void;
22
22
  }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
23
23
  readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
24
24
  readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -80,11 +80,11 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
80
80
  update: () => void;
81
81
  updateRoot: any;
82
82
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
83
+ change: (fixed: boolean) => void;
83
84
  scroll: (args_0: {
84
85
  scrollTop: number;
85
86
  fixed: boolean;
86
87
  }) => void;
87
- change: (fixed: boolean) => void;
88
88
  }, string, {
89
89
  readonly target: string;
90
90
  readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "bottom" | "top", unknown>;
@@ -58,7 +58,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
58
58
  readonly appendTo?: any;
59
59
  readonly visible?: boolean | undefined;
60
60
  readonly effect?: "light" | "dark" | undefined;
61
- readonly teleported?: boolean | undefined;
62
61
  readonly arrowOffset?: number | undefined;
63
62
  readonly gpuAcceleration?: boolean | undefined;
64
63
  readonly fallbackPlacements?: Placement[] | undefined;
@@ -77,6 +76,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
77
76
  readonly virtualRef?: import("..").Measurable | undefined;
78
77
  readonly rawContent?: boolean | undefined;
79
78
  readonly persistent?: boolean | undefined;
79
+ readonly teleported?: boolean | undefined;
80
80
  readonly triggerKeys?: string[] | undefined;
81
81
  readonly showArrow?: boolean | undefined;
82
82
  onClose?: ((...args: any[]) => any) | undefined;
@@ -611,21 +611,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
611
611
  /** @description highlight an item in a suggestion */
612
612
  highlight: (index: number) => void;
613
613
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
614
+ "update:modelValue": (value: string) => void;
615
+ change: (value: string) => void;
616
+ input: (value: string) => void;
614
617
  select: (item: Record<string, any>) => void;
615
618
  clear: () => void;
616
619
  blur: (evt: FocusEvent) => void;
617
620
  focus: (evt: FocusEvent) => void;
618
- "update:modelValue": (value: string) => void;
619
- change: (value: string) => void;
620
- input: (value: string) => void;
621
621
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AutocompleteProps>>> & {
622
+ onChange?: ((value: string) => any) | undefined;
622
623
  onInput?: ((value: string) => any) | undefined;
623
624
  onSelect?: ((item: Record<string, any>) => any) | undefined;
624
625
  onBlur?: ((evt: FocusEvent) => any) | undefined;
625
- onChange?: ((value: string) => any) | undefined;
626
626
  onFocus?: ((evt: FocusEvent) => any) | undefined;
627
- onClear?: (() => any) | undefined;
628
627
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
628
+ onClear?: (() => any) | undefined;
629
629
  }, {}, {}>, {
630
630
  prepend?(_: {}): any;
631
631
  append?(_: {}): any;
@@ -49,13 +49,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
49
49
  type: globalThis.PropType<string>;
50
50
  };
51
51
  }>> & {
52
+ onChange?: ((value: string) => any) | undefined;
52
53
  onInput?: ((value: string) => any) | undefined;
53
54
  onSelect?: ((item: Record<string, any>) => any) | undefined;
54
55
  onBlur?: ((evt: FocusEvent) => any) | undefined;
55
- onChange?: ((value: string) => any) | undefined;
56
56
  onFocus?: ((evt: FocusEvent) => any) | undefined;
57
- onClear?: (() => any) | undefined;
58
57
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
58
+ onClear?: (() => any) | undefined;
59
59
  }, {
60
60
  highlightedIndex: globalThis.Ref<number>;
61
61
  activated: globalThis.Ref<boolean>;
@@ -91,7 +91,6 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
91
91
  readonly appendTo?: any;
92
92
  readonly visible?: boolean | undefined;
93
93
  readonly effect?: "light" | "dark" | undefined;
94
- readonly teleported?: boolean | undefined;
95
94
  readonly arrowOffset?: number | undefined;
96
95
  readonly gpuAcceleration?: boolean | undefined;
97
96
  readonly fallbackPlacements?: Placement[] | undefined;
@@ -110,6 +109,7 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
110
109
  readonly virtualRef?: import("..").Measurable | undefined;
111
110
  readonly rawContent?: boolean | undefined;
112
111
  readonly persistent?: boolean | undefined;
112
+ readonly teleported?: boolean | undefined;
113
113
  readonly triggerKeys?: string[] | undefined;
114
114
  readonly showArrow?: boolean | undefined;
115
115
  onClose?: ((...args: any[]) => any) | undefined;
@@ -636,13 +636,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
636
636
  close: () => void;
637
637
  highlight: (index: number) => void;
638
638
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
639
+ "update:modelValue": (value: string) => void;
640
+ change: (value: string) => void;
641
+ input: (value: string) => void;
639
642
  select: (item: Record<string, any>) => void;
640
643
  clear: () => void;
641
644
  blur: (evt: FocusEvent) => void;
642
645
  focus: (evt: FocusEvent) => void;
643
- "update:modelValue": (value: string) => void;
644
- change: (value: string) => void;
645
- input: (value: string) => void;
646
646
  }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
647
647
  valueKey: {
648
648
  type: globalThis.PropType<string>;
@@ -693,13 +693,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
693
693
  type: globalThis.PropType<string>;
694
694
  };
695
695
  }>> & {
696
+ onChange?: ((value: string) => any) | undefined;
696
697
  onInput?: ((value: string) => any) | undefined;
697
698
  onSelect?: ((item: Record<string, any>) => any) | undefined;
698
699
  onBlur?: ((evt: FocusEvent) => any) | undefined;
699
- onChange?: ((value: string) => any) | undefined;
700
700
  onFocus?: ((evt: FocusEvent) => any) | undefined;
701
- onClear?: (() => any) | undefined;
702
701
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
702
+ onClear?: (() => any) | undefined;
703
703
  }, {}, true, {}, {}, {
704
704
  P: {};
705
705
  B: {};
@@ -757,13 +757,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
757
757
  type: globalThis.PropType<string>;
758
758
  };
759
759
  }>> & {
760
+ onChange?: ((value: string) => any) | undefined;
760
761
  onInput?: ((value: string) => any) | undefined;
761
762
  onSelect?: ((item: Record<string, any>) => any) | undefined;
762
763
  onBlur?: ((evt: FocusEvent) => any) | undefined;
763
- onChange?: ((value: string) => any) | undefined;
764
764
  onFocus?: ((evt: FocusEvent) => any) | undefined;
765
- onClear?: (() => any) | undefined;
766
765
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
766
+ onClear?: (() => any) | undefined;
767
767
  }, {
768
768
  highlightedIndex: globalThis.Ref<number>;
769
769
  activated: globalThis.Ref<boolean>;
@@ -799,7 +799,6 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
799
799
  readonly appendTo?: any;
800
800
  readonly visible?: boolean | undefined;
801
801
  readonly effect?: "light" | "dark" | undefined;
802
- readonly teleported?: boolean | undefined;
803
802
  readonly arrowOffset?: number | undefined;
804
803
  readonly gpuAcceleration?: boolean | undefined;
805
804
  readonly fallbackPlacements?: Placement[] | undefined;
@@ -818,6 +817,7 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
818
817
  readonly virtualRef?: import("..").Measurable | undefined;
819
818
  readonly rawContent?: boolean | undefined;
820
819
  readonly persistent?: boolean | undefined;
820
+ readonly teleported?: boolean | undefined;
821
821
  readonly triggerKeys?: string[] | undefined;
822
822
  readonly showArrow?: boolean | undefined;
823
823
  onClose?: ((...args: any[]) => any) | undefined;
@@ -1397,13 +1397,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
1397
1397
  type: globalThis.PropType<string>;
1398
1398
  };
1399
1399
  }>> & {
1400
+ onChange?: ((value: string) => any) | undefined;
1400
1401
  onInput?: ((value: string) => any) | undefined;
1401
1402
  onSelect?: ((item: Record<string, any>) => any) | undefined;
1402
1403
  onBlur?: ((evt: FocusEvent) => any) | undefined;
1403
- onChange?: ((value: string) => any) | undefined;
1404
1404
  onFocus?: ((evt: FocusEvent) => any) | undefined;
1405
- onClear?: (() => any) | undefined;
1406
1405
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1406
+ onClear?: (() => any) | undefined;
1407
1407
  }, {
1408
1408
  highlightedIndex: globalThis.Ref<number>;
1409
1409
  activated: globalThis.Ref<boolean>;
@@ -1439,7 +1439,6 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
1439
1439
  readonly appendTo?: any;
1440
1440
  readonly visible?: boolean | undefined;
1441
1441
  readonly effect?: "light" | "dark" | undefined;
1442
- readonly teleported?: boolean | undefined;
1443
1442
  readonly arrowOffset?: number | undefined;
1444
1443
  readonly gpuAcceleration?: boolean | undefined;
1445
1444
  readonly fallbackPlacements?: Placement[] | undefined;
@@ -1458,6 +1457,7 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
1458
1457
  readonly virtualRef?: import("..").Measurable | undefined;
1459
1458
  readonly rawContent?: boolean | undefined;
1460
1459
  readonly persistent?: boolean | undefined;
1460
+ readonly teleported?: boolean | undefined;
1461
1461
  readonly triggerKeys?: string[] | undefined;
1462
1462
  readonly showArrow?: boolean | undefined;
1463
1463
  onClose?: ((...args: any[]) => any) | undefined;
@@ -1984,13 +1984,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
1984
1984
  close: () => void;
1985
1985
  highlight: (index: number) => void;
1986
1986
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1987
+ "update:modelValue": (value: string) => void;
1988
+ change: (value: string) => void;
1989
+ input: (value: string) => void;
1987
1990
  select: (item: Record<string, any>) => void;
1988
1991
  clear: () => void;
1989
1992
  blur: (evt: FocusEvent) => void;
1990
1993
  focus: (evt: FocusEvent) => void;
1991
- "update:modelValue": (value: string) => void;
1992
- change: (value: string) => void;
1993
- input: (value: string) => void;
1994
1994
  }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
1995
1995
  $slots: {
1996
1996
  prepend?(_: {}): any;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../config-provider/index.cjs");require("../form/index.cjs");const S=require("@vueuse/core"),n=require("vue"),T=require("./constants.cjs"),I=require("../config-provider/hooks/use-global-config.cjs"),_=require("../form/hooks/use-form-item.cjs"),l=require("../form/hooks/use-form-common-props.cjs"),k=(t,d)=>{const o=n.inject(T.buttonGroupContextKey,void 0),m=I.useGlobalConfig("button"),{form:c}=_.useFormItem(),f=l.useFormSize(n.computed(()=>o==null?void 0:o.size)),u=l.useFormDisabled(),g=n.ref(),i=n.useSlots(),h=n.computed(()=>t.type||(o==null?void 0:o.type)||""),y=n.computed(()=>{var e;return t.autoInsertSpace??((e=m.value)==null?void 0:e.autoInsertSpace)??!1}),b=n.computed(()=>{var a;const e=(a=i.default)==null?void 0:a.call(i);if(y.value&&(e==null?void 0:e.length)===1){const s=e[0];if((s==null?void 0:s.type)===n.Text){const F=s.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(F.trim())}}return!1}),q=n.computed(()=>t.tag==="button"?{ariaDisabled:u.value||t.loading,disabled:u.value||t.loading,autofocus:t.autofocus,type:t.nativeType}:{}),r=e=>{t.nativeType==="reset"&&(c==null||c.resetFields()),d("click",e)},v=S.useThrottleFn(e=>{r(e)},t.throttleTime);return{_props:q,_disabled:u,_size:f,_type:h,_ref:g,shouldAddSpace:b,handleClick:e=>{t.useThrottle?v(e):r(e)}}};exports.useButton=k;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../config-provider/index.cjs");require("../form/index.cjs");const S=require("@vueuse/core"),n=require("vue"),T=require("./constants.cjs"),I=require("../form/hooks/use-form-item.cjs"),_=require("../config-provider/hooks/use-global-config.cjs"),l=require("../form/hooks/use-form-common-props.cjs"),k=(t,d)=>{const o=n.inject(T.buttonGroupContextKey,void 0),m=_.useGlobalConfig("button"),{form:c}=I.useFormItem(),f=l.useFormSize(n.computed(()=>o==null?void 0:o.size)),u=l.useFormDisabled(),g=n.ref(),i=n.useSlots(),h=n.computed(()=>t.type||(o==null?void 0:o.type)||""),y=n.computed(()=>{var e;return t.autoInsertSpace??((e=m.value)==null?void 0:e.autoInsertSpace)??!1}),b=n.computed(()=>{var a;const e=(a=i.default)==null?void 0:a.call(i);if(y.value&&(e==null?void 0:e.length)===1){const s=e[0];if((s==null?void 0:s.type)===n.Text){const F=s.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(F.trim())}}return!1}),q=n.computed(()=>t.tag==="button"?{ariaDisabled:u.value||t.loading,disabled:u.value||t.loading,autofocus:t.autofocus,type:t.nativeType}:{}),r=e=>{t.nativeType==="reset"&&(c==null||c.resetFields()),d("click",e)},v=S.useThrottleFn(e=>{r(e)},t.throttleTime);return{_props:q,_disabled:u,_size:f,_type:h,_ref:g,shouldAddSpace:b,handleClick:e=>{t.useThrottle?v(e):r(e)}}};exports.useButton=k;
@@ -52,8 +52,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
52
52
  type: "" | "card";
53
53
  loop: boolean;
54
54
  trigger: "click" | "hover";
55
- initialIndex: number;
56
55
  arrow: "always" | "never" | "hover";
56
+ initialIndex: number;
57
57
  interval: number;
58
58
  autoplay: boolean;
59
59
  indicatorPosition: "" | "none" | "outside";