vft 0.0.249 → 0.0.252

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 (582) hide show
  1. package/dist/index.css +1 -1
  2. package/es/components/alert/alert.vue.d.ts +1 -11
  3. package/es/components/alert/alert.vue2.js +13 -65
  4. package/es/components/alert/index.d.ts +28 -76
  5. package/es/components/autocomplete/autocomplete.vue.d.ts +14 -14
  6. package/es/components/autocomplete/autocomplete.vue2.js +194 -199
  7. package/es/components/autocomplete/index.d.ts +42 -42
  8. package/es/components/backtop/backtop.vue.d.ts +1 -15
  9. package/es/components/backtop/backtop.vue2.js +17 -106
  10. package/es/components/backtop/index.d.ts +3 -9
  11. package/es/components/backtop/types.d.ts +14 -0
  12. package/es/components/backtop/types.js +1 -0
  13. package/es/components/button/button-custom.d.ts +1 -1
  14. package/es/components/button/button.vue.d.ts +3 -50
  15. package/es/components/button/button.vue2.js +1 -1
  16. package/es/components/button/index.d.ts +39 -40
  17. package/es/components/button/types.d.ts +47 -1
  18. package/es/components/button/use-button.d.ts +5 -5
  19. package/es/components/card/index.d.ts +3 -3
  20. package/es/components/carousel/carousel.vue.d.ts +1 -1
  21. package/es/components/carousel/index.d.ts +18 -18
  22. package/es/components/carousel/use-carousel.js +2 -3
  23. package/es/components/checkbox/checkbox-group.vue.d.ts +1 -1
  24. package/es/components/checkbox/index.d.ts +42 -42
  25. package/es/components/color-picker/components/hue-slider.vue.d.ts +3 -3
  26. package/es/components/color-picker/components/predefine.vue.d.ts +3 -3
  27. package/es/components/color-picker/components/sv-panel.vue.d.ts +3 -3
  28. package/es/components/config-provider/hooks/use-global-config.d.ts +3 -3
  29. package/es/components/context-menu/context-menu.vue2.js +36 -124
  30. package/es/components/context-menu/index.js +5 -101
  31. package/es/components/context-menu/types.d.ts +1 -1
  32. package/es/components/context-menu/types.js +1 -98
  33. package/es/components/date-picker/composables/use-basic-date-table.d.ts +188 -0
  34. package/es/components/date-picker/composables/use-basic-date-table.js +183 -0
  35. package/es/components/date-picker/composables/use-month-range-header.d.ts +1 -1
  36. package/es/components/date-picker/composables/use-panel-date-range.d.ts +29 -0
  37. package/es/components/date-picker/composables/use-panel-date-range.js +72 -0
  38. package/es/components/date-picker/composables/use-range-picker.d.ts +46 -42
  39. package/es/components/date-picker/composables/use-range-picker.js +65 -52
  40. package/es/components/date-picker/composables/use-shortcut.js +4 -4
  41. package/es/components/date-picker/composables/use-year-range-header.d.ts +16 -0
  42. package/es/components/date-picker/composables/use-year-range-header.js +35 -0
  43. package/es/components/date-picker/constants.d.ts +2 -15
  44. package/es/components/date-picker/constants.js +3 -16
  45. package/es/components/date-picker/date-picker-com/basic-cell-render.d.ts +3 -1
  46. package/es/components/date-picker/date-picker-com/basic-cell-render.js +16 -19
  47. package/es/components/date-picker/date-picker-com/basic-date-table.vue.d.ts +14 -23
  48. package/es/components/date-picker/date-picker-com/basic-date-table.vue2.js +73 -176
  49. package/es/components/date-picker/date-picker-com/basic-month-table.vue.d.ts +2 -2
  50. package/es/components/date-picker/date-picker-com/basic-month-table.vue2.js +93 -71
  51. package/es/components/date-picker/date-picker-com/basic-year-table.vue.d.ts +50 -9
  52. package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +108 -57
  53. package/es/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +13 -3
  54. package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +329 -277
  55. package/es/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +16 -3
  56. package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +422 -281
  57. package/es/components/date-picker/date-picker-com/panel-month-range.vue.d.ts +6 -3
  58. package/es/components/date-picker/date-picker-com/panel-month-range.vue2.js +137 -113
  59. package/es/components/date-picker/date-picker-com/panel-year-range.vue.d.ts +35 -0
  60. package/es/components/date-picker/date-picker-com/panel-year-range.vue.js +4 -0
  61. package/es/components/date-picker/date-picker-com/panel-year-range.vue2.js +210 -0
  62. package/es/components/date-picker/date-picker.d.ts +70 -40
  63. package/es/components/date-picker/date-picker.js +59 -50
  64. package/es/components/date-picker/date-picker.type.d.ts +2 -1
  65. package/es/components/date-picker/index.d.ts +126 -68
  66. package/es/components/date-picker/index.js +7 -7
  67. package/es/components/date-picker/instance.d.ts +9 -0
  68. package/es/components/date-picker/instance.js +1 -0
  69. package/es/components/date-picker/panel-utils.d.ts +48 -0
  70. package/es/components/date-picker/panel-utils.js +9 -6
  71. package/es/components/date-picker/props/basic-cell.d.ts +2 -1
  72. package/es/components/date-picker/props/basic-date-table.d.ts +7 -2
  73. package/es/components/date-picker/props/basic-date-table.js +6 -5
  74. package/es/components/date-picker/props/basic-month-table.d.ts +3 -2
  75. package/es/components/date-picker/props/basic-year-table.d.ts +23 -5
  76. package/es/components/date-picker/props/basic-year-table.js +5 -6
  77. package/es/components/date-picker/props/date-picker.d.ts +26 -12
  78. package/es/components/date-picker/props/date-picker.js +3 -0
  79. package/es/components/date-picker/props/panel-date-pick.d.ts +6 -1
  80. package/es/components/date-picker/props/panel-date-range.d.ts +7 -1
  81. package/es/components/date-picker/props/panel-month-range.d.ts +3 -1
  82. package/es/components/date-picker/props/panel-month-range.js +7 -3
  83. package/es/components/date-picker/props/panel-year-range.d.ts +14 -0
  84. package/es/components/date-picker/props/panel-year-range.js +17 -0
  85. package/es/components/date-picker/props/shared.d.ts +9 -2
  86. package/es/components/date-picker/props/shared.js +29 -12
  87. package/es/components/date-picker/style/css.d.ts +4 -0
  88. package/es/components/date-picker/style/css.js +5 -0
  89. package/es/components/date-picker/utils.d.ts +9 -2
  90. package/es/components/date-picker/utils.js +66 -33
  91. package/es/components/date-time-select/date-time-select.vue2.js +1 -1
  92. package/es/components/date-time-select/index.d.ts +1 -0
  93. package/es/components/date-time-select/types.d.ts +4 -0
  94. package/es/components/dialog/dialog-content.vue2.js +2 -3
  95. package/es/components/dropdown/dropdown-item-impl.vue.d.ts +4 -4
  96. package/es/components/dropdown/dropdown-item-impl.vue.js +12 -12
  97. package/es/components/dropdown/dropdown-item-impl.vue2.js +6 -6
  98. package/es/components/dropdown/dropdown.vue.d.ts +6 -29
  99. package/es/components/dropdown/dropdown.vue2.js +146 -149
  100. package/es/components/footer-layout/footer-layout.vue2.js +19 -108
  101. package/es/components/form/form-item.vue.d.ts +2 -3
  102. package/es/components/form/form-item.vue2.js +140 -135
  103. package/es/components/form/form-label-wrap.js +27 -27
  104. package/es/components/form/form.vue2.js +71 -65
  105. package/es/components/form/hooks/use-form-common-props.js +3 -4
  106. package/es/components/form/hooks/use-form-item.js +12 -13
  107. package/es/components/form/index.d.ts +75 -48
  108. package/es/components/form/types.d.ts +7 -1
  109. package/es/components/form/utils.d.ts +1 -1
  110. package/es/components/form/utils.js +33 -28
  111. package/es/components/header-layout/header-layout.vue2.js +26 -114
  112. package/es/components/icon/icon.vue2.js +20 -19
  113. package/es/components/icon/index.d.ts +0 -1
  114. package/es/components/icon/index.js +3 -4
  115. package/es/components/index.js +323 -319
  116. package/es/components/input/input.vue2.js +4 -4
  117. package/es/components/link/index.d.ts +3 -3
  118. package/es/components/md-code-demo/md-code-demo.js +12 -13
  119. package/es/components/md-container/md-container.vue2.js +52 -138
  120. package/es/components/md-vue-playground/md-vue-playground.vue2.js +17 -17
  121. package/es/components/menu/index.js +1 -1
  122. package/es/components/menu/menu-item.vue.d.ts +1 -1
  123. package/es/components/menu/menu-item.vue2.js +45 -132
  124. package/es/components/menu/sub-menu.vue.d.ts +2 -1
  125. package/es/components/menu/sub-menu.vue2.js +76 -163
  126. package/es/components/modal/index.d.ts +33 -45
  127. package/es/components/modal/modal-footer-action.vue2.js +26 -112
  128. package/es/components/modal/modal.vue.d.ts +2 -2
  129. package/es/components/multiple-tabs/multiple-tabs.vue2.js +57 -144
  130. package/es/components/multiple-tabs/tab-content.vue2.js +19 -113
  131. package/es/components/multiple-tabs/use/use-tab-dropdown.js +37 -132
  132. package/es/components/popconfirm/index.d.ts +24 -24
  133. package/es/components/popconfirm/popconfirm.vue.d.ts +2 -2
  134. package/es/components/popover/index.d.ts +5 -5
  135. package/es/components/popover/popover.vue.d.ts +2 -2
  136. package/es/components/popper/composables/use-content.js +2 -3
  137. package/es/components/popper/trigger.vue2.js +7 -8
  138. package/es/components/progress/index.d.ts +3 -3
  139. package/es/components/result/result.vue.d.ts +1 -1
  140. package/es/components/result/result.vue2.js +20 -109
  141. package/es/components/roving-focus-group/index.js +11 -11
  142. package/es/components/roving-focus-group/roving-focus-group.vue.js +5 -5
  143. package/es/components/roving-focus-group/roving-focus-item.vue2.js +2 -3
  144. package/es/components/scrollbar/index.js +9 -10
  145. package/es/components/select/defaults.d.ts +99 -15
  146. package/es/components/select/defaults.js +90 -12
  147. package/es/components/select/group-item.vue.d.ts +10 -5
  148. package/es/components/select/group-item.vue.js +9 -19
  149. package/es/components/select/group-item.vue2.js +4 -2
  150. package/es/components/select/index.d.ts +2782 -0
  151. package/es/components/select/index.js +2 -2
  152. package/es/components/select/option-item.vue.d.ts +40 -26
  153. package/es/components/select/option-item.vue.js +12 -12
  154. package/es/components/select/option-item.vue2.js +15 -12
  155. package/es/components/select/select-dropdown.d.ts +29 -3
  156. package/es/components/select/select-dropdown.js +120 -129
  157. package/es/components/select/select.types.d.ts +19 -11
  158. package/es/components/select/select.vue.d.ts +2778 -0
  159. package/es/components/select/select.vue.js +261 -251
  160. package/es/components/select/select.vue2.js +49 -45
  161. package/es/components/select/token.d.ts +10 -12
  162. package/es/components/select/token.js +4 -2
  163. package/es/components/select/useAllowCreate.d.ts +3 -3
  164. package/es/components/select/useAllowCreate.js +32 -29
  165. package/es/components/select/useOption.d.ts +3 -3
  166. package/es/components/select/useProps.d.ts +21 -0
  167. package/es/components/select/useProps.js +22 -0
  168. package/es/components/select/useSelect.d.ts +940 -121
  169. package/es/components/select/useSelect.js +396 -302
  170. package/es/components/side-menu/side-menu.vue2.js +77 -165
  171. package/es/components/steps/index.d.ts +12 -12
  172. package/es/components/super-form/component-map.js +52 -141
  173. package/es/components/super-form/style/css.js +4 -4
  174. package/es/components/super-form/super-form-action.vue2.js +39 -126
  175. package/es/components/super-form/super-form-item.vue2.js +161 -248
  176. package/es/components/super-form/super-form.vue.d.ts +1 -1
  177. package/es/components/super-form/super-form.vue2.js +116 -202
  178. package/es/components/super-form/types.d.ts +3 -1
  179. package/es/components/switch/index.d.ts +6 -6
  180. package/es/components/table/field.js +82 -176
  181. package/es/components/table/index.d.ts +24 -24
  182. package/es/components/table/table.vue.d.ts +1 -1
  183. package/es/components/tabs/tab-nav.vue.d.ts +2 -2
  184. package/es/components/tabs/tab-nav.vue2.js +98 -187
  185. package/es/components/tabs/tabs.vue.d.ts +2 -1
  186. package/es/components/time-picker/common/picker-range-trigger.vue.d.ts +84 -0
  187. package/es/components/time-picker/common/picker-range-trigger.vue.js +4 -0
  188. package/es/components/time-picker/common/picker-range-trigger.vue2.js +100 -0
  189. package/es/components/time-picker/common/picker.vue.d.ts +71 -41
  190. package/es/components/time-picker/common/picker.vue2.js +285 -289
  191. package/es/components/time-picker/common/props.d.ts +76 -12
  192. package/es/components/time-picker/common/props.js +78 -35
  193. package/es/components/time-picker/composables/use-time-panel.d.ts +4 -4
  194. package/es/components/time-picker/composables/use-time-picker.d.ts +28 -29
  195. package/es/components/time-picker/constants.d.ts +5 -0
  196. package/es/components/time-picker/constants.js +15 -10
  197. package/es/components/time-picker/index.d.ts +120 -74
  198. package/es/components/time-picker/index.js +28 -23
  199. package/es/components/time-picker/props/basic-time-spinner.d.ts +5 -4
  200. package/es/components/time-picker/props/panel-time-picker.d.ts +2 -1
  201. package/es/components/time-picker/props/panel-time-range.d.ts +2 -1
  202. package/es/components/time-picker/props/shared.d.ts +4 -5
  203. package/es/components/time-picker/style/css.d.ts +3 -0
  204. package/es/components/time-picker/style/css.js +3 -0
  205. package/es/components/time-picker/style/index.d.ts +3 -0
  206. package/es/components/time-picker/style/index.js +3 -0
  207. package/es/components/time-picker/time-picker-com/basic-time-spinner.vue.d.ts +6 -6
  208. package/es/components/time-picker/time-picker-com/basic-time-spinner.vue2.js +135 -128
  209. package/es/components/time-picker/time-picker-com/panel-time-pick.vue.d.ts +4 -4
  210. package/es/components/time-picker/time-picker-com/panel-time-pick.vue2.js +36 -35
  211. package/es/components/time-picker/time-picker-com/panel-time-range.vue.d.ts +4 -4
  212. package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +109 -108
  213. package/es/components/time-picker/time-picker.d.ts +60 -37
  214. package/es/components/time-picker/time-picker.js +28 -30
  215. package/es/components/time-picker/utils.d.ts +5 -2
  216. package/es/components/time-picker/utils.js +17 -16
  217. package/es/components/time-select/time-select.vue.d.ts +1 -1
  218. package/es/components/timeline/index.d.ts +6 -6
  219. package/es/components/tooltip/content.vue2.js +47 -48
  220. package/es/components/tooltip/index.d.ts +3 -3
  221. package/es/components/tooltip/tooltip.vue.d.ts +1 -1
  222. package/es/components/tooltip/tooltip.vue2.js +77 -78
  223. package/es/components/tooltip/utils.js +4 -5
  224. package/es/components/tree/tree-node.vue.d.ts +33 -33
  225. package/es/components/tree/tree-node.vue.js +11 -11
  226. package/es/components/tree/tree-node.vue2.js +15 -15
  227. package/es/components/upload/index.d.ts +15 -15
  228. package/es/components/upload/upload-content.vue.d.ts +1 -1
  229. package/es/components/upload/upload.vue.d.ts +1 -1
  230. package/es/components/virtual-list/builders/build-grid.d.ts +9 -9
  231. package/es/components/virtual-list/builders/build-grid.js +222 -214
  232. package/es/components/virtual-list/builders/build-list.d.ts +13 -13
  233. package/es/components/virtual-list/builders/build-list.js +206 -198
  234. package/es/components/virtual-list/components/dynamic-size-grid.d.ts +6 -6
  235. package/es/components/virtual-list/components/dynamic-size-grid.js +12 -12
  236. package/es/components/virtual-list/components/dynamic-size-list.d.ts +13 -12
  237. package/es/components/virtual-list/components/dynamic-size-list.js +7 -7
  238. package/es/components/virtual-list/components/fixed-size-grid.d.ts +6 -6
  239. package/es/components/virtual-list/components/fixed-size-list.d.ts +13 -12
  240. package/es/components/virtual-list/components/fixed-size-list.js +8 -8
  241. package/es/components/virtual-list/components/scrollbar.js +59 -66
  242. package/es/components/virtual-list/defaults.d.ts +0 -4
  243. package/es/components/virtual-list/defaults.js +11 -15
  244. package/es/components/virtual-list/hooks/use-cache.d.ts +1 -1
  245. package/es/components/virtual-list/hooks/use-cache.js +6 -6
  246. package/es/components/virtual-list/hooks/use-wheel.js +1 -1
  247. package/es/components/virtual-list/index.d.ts +6 -4
  248. package/es/components/virtual-list/index.js +4 -4
  249. package/es/components/virtual-list/props.d.ts +11 -7
  250. package/es/components/virtual-list/props.js +24 -30
  251. package/es/components/virtual-list/types.d.ts +1 -1
  252. package/es/components/virtual-list/utils.d.ts +1 -2
  253. package/es/components/virtual-list/utils.js +16 -18
  254. package/es/hooks/index.d.ts +3 -1
  255. package/es/hooks/index.js +49 -46
  256. package/es/hooks/use-calc-input-width/index.d.ts +7 -0
  257. package/es/hooks/use-calc-input-width/index.js +17 -0
  258. package/es/hooks/use-composition/index.d.ts +12 -0
  259. package/es/hooks/use-composition/index.js +28 -0
  260. package/es/hooks/use-delayed-toggle/index.d.ts +8 -4
  261. package/es/hooks/use-delayed-toggle/index.js +52 -17
  262. package/es/hooks/use-empty-values/index.d.ts +16 -0
  263. package/es/hooks/use-empty-values/index.js +37 -0
  264. package/es/hooks/use-focus-controller/index.d.ts +27 -0
  265. package/es/hooks/use-focus-controller/index.js +38 -0
  266. package/es/hooks/use-id/index.d.ts +1 -1
  267. package/es/hooks/use-id/index.js +11 -11
  268. package/es/hooks/use-namespace/index.d.ts +5 -6
  269. package/es/hooks/use-namespace/index.js +13 -15
  270. package/es/index.js +459 -451
  271. package/es/package.json.d.ts +2 -2
  272. package/es/package.json.js +1 -1
  273. package/es/utils/helper.d.ts +1 -0
  274. package/es/utils/helper.js +3 -2
  275. package/es/utils/index.js +49 -48
  276. package/lib/components/alert/alert.vue.d.ts +1 -11
  277. package/lib/components/alert/alert.vue2.cjs +1 -1
  278. package/lib/components/alert/index.d.ts +28 -76
  279. package/lib/components/autocomplete/autocomplete.vue.d.ts +14 -14
  280. package/lib/components/autocomplete/autocomplete.vue2.cjs +1 -1
  281. package/lib/components/autocomplete/index.d.ts +42 -42
  282. package/lib/components/backtop/backtop.vue.d.ts +1 -15
  283. package/lib/components/backtop/backtop.vue2.cjs +1 -1
  284. package/lib/components/backtop/index.d.ts +3 -9
  285. package/lib/components/backtop/types.cjs +1 -0
  286. package/lib/components/backtop/types.d.ts +14 -0
  287. package/lib/components/button/button-custom.d.ts +1 -1
  288. package/lib/components/button/button.vue.d.ts +3 -50
  289. package/lib/components/button/button.vue2.cjs +1 -1
  290. package/lib/components/button/index.d.ts +39 -40
  291. package/lib/components/button/types.d.ts +47 -1
  292. package/lib/components/button/use-button.d.ts +5 -5
  293. package/lib/components/card/index.d.ts +3 -3
  294. package/lib/components/carousel/carousel.vue.d.ts +1 -1
  295. package/lib/components/carousel/index.d.ts +18 -18
  296. package/lib/components/carousel/use-carousel.cjs +1 -1
  297. package/lib/components/checkbox/checkbox-group.vue.d.ts +1 -1
  298. package/lib/components/checkbox/index.d.ts +42 -42
  299. package/lib/components/color-picker/components/hue-slider.vue.d.ts +3 -3
  300. package/lib/components/color-picker/components/predefine.vue.d.ts +3 -3
  301. package/lib/components/color-picker/components/sv-panel.vue.d.ts +3 -3
  302. package/lib/components/config-provider/hooks/use-global-config.d.ts +3 -3
  303. package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
  304. package/lib/components/context-menu/index.cjs +1 -1
  305. package/lib/components/context-menu/types.cjs +1 -1
  306. package/lib/components/context-menu/types.d.ts +1 -1
  307. package/lib/components/date-picker/composables/use-basic-date-table.cjs +1 -0
  308. package/lib/components/date-picker/composables/use-basic-date-table.d.ts +188 -0
  309. package/lib/components/date-picker/composables/use-month-range-header.d.ts +1 -1
  310. package/lib/components/date-picker/composables/use-panel-date-range.cjs +1 -0
  311. package/lib/components/date-picker/composables/use-panel-date-range.d.ts +29 -0
  312. package/lib/components/date-picker/composables/use-range-picker.cjs +1 -1
  313. package/lib/components/date-picker/composables/use-range-picker.d.ts +46 -42
  314. package/lib/components/date-picker/composables/use-shortcut.cjs +1 -1
  315. package/lib/components/date-picker/composables/use-year-range-header.cjs +1 -0
  316. package/lib/components/date-picker/composables/use-year-range-header.d.ts +16 -0
  317. package/lib/components/date-picker/constants.cjs +1 -1
  318. package/lib/components/date-picker/constants.d.ts +2 -15
  319. package/lib/components/date-picker/date-picker-com/basic-cell-render.cjs +1 -1
  320. package/lib/components/date-picker/date-picker-com/basic-cell-render.d.ts +3 -1
  321. package/lib/components/date-picker/date-picker-com/basic-date-table.vue.d.ts +14 -23
  322. package/lib/components/date-picker/date-picker-com/basic-date-table.vue2.cjs +1 -1
  323. package/lib/components/date-picker/date-picker-com/basic-month-table.vue.d.ts +2 -2
  324. package/lib/components/date-picker/date-picker-com/basic-month-table.vue2.cjs +1 -1
  325. package/lib/components/date-picker/date-picker-com/basic-year-table.vue.d.ts +50 -9
  326. package/lib/components/date-picker/date-picker-com/basic-year-table.vue2.cjs +1 -1
  327. package/lib/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +13 -3
  328. package/lib/components/date-picker/date-picker-com/panel-date-pick.vue2.cjs +1 -1
  329. package/lib/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +16 -3
  330. package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -1
  331. package/lib/components/date-picker/date-picker-com/panel-month-range.vue.d.ts +6 -3
  332. package/lib/components/date-picker/date-picker-com/panel-month-range.vue2.cjs +1 -1
  333. package/lib/components/date-picker/date-picker-com/panel-year-range.vue.cjs +1 -0
  334. package/lib/components/date-picker/date-picker-com/panel-year-range.vue.d.ts +35 -0
  335. package/lib/components/date-picker/date-picker-com/panel-year-range.vue2.cjs +1 -0
  336. package/lib/components/date-picker/date-picker.cjs +1 -1
  337. package/lib/components/date-picker/date-picker.d.ts +70 -40
  338. package/lib/components/date-picker/date-picker.type.d.ts +2 -1
  339. package/lib/components/date-picker/index.cjs +1 -1
  340. package/lib/components/date-picker/index.d.ts +126 -68
  341. package/lib/components/date-picker/instance.cjs +1 -0
  342. package/lib/components/date-picker/instance.d.ts +9 -0
  343. package/lib/components/date-picker/panel-utils.cjs +1 -1
  344. package/lib/components/date-picker/panel-utils.d.ts +48 -0
  345. package/lib/components/date-picker/props/basic-cell.d.ts +2 -1
  346. package/lib/components/date-picker/props/basic-date-table.cjs +1 -1
  347. package/lib/components/date-picker/props/basic-date-table.d.ts +7 -2
  348. package/lib/components/date-picker/props/basic-month-table.d.ts +3 -2
  349. package/lib/components/date-picker/props/basic-year-table.cjs +1 -1
  350. package/lib/components/date-picker/props/basic-year-table.d.ts +23 -5
  351. package/lib/components/date-picker/props/date-picker.d.ts +26 -12
  352. package/lib/components/date-picker/props/panel-date-pick.d.ts +6 -1
  353. package/lib/components/date-picker/props/panel-date-range.d.ts +7 -1
  354. package/lib/components/date-picker/props/panel-month-range.cjs +1 -1
  355. package/lib/components/date-picker/props/panel-month-range.d.ts +3 -1
  356. package/lib/components/date-picker/props/panel-year-range.cjs +1 -0
  357. package/lib/components/date-picker/props/panel-year-range.d.ts +14 -0
  358. package/lib/components/date-picker/props/shared.cjs +1 -1
  359. package/lib/components/date-picker/props/shared.d.ts +9 -2
  360. package/lib/components/date-picker/style/css.cjs +1 -1
  361. package/lib/components/date-picker/style/css.d.ts +4 -0
  362. package/lib/components/date-picker/utils.cjs +1 -1
  363. package/lib/components/date-picker/utils.d.ts +9 -2
  364. package/lib/components/date-time-select/date-time-select.vue2.cjs +1 -1
  365. package/lib/components/date-time-select/index.d.ts +1 -0
  366. package/lib/components/date-time-select/types.d.ts +4 -0
  367. package/lib/components/dialog/dialog-content.vue2.cjs +1 -1
  368. package/lib/components/dropdown/dropdown-item-impl.vue.cjs +1 -1
  369. package/lib/components/dropdown/dropdown-item-impl.vue.d.ts +4 -4
  370. package/lib/components/dropdown/dropdown-item-impl.vue2.cjs +1 -1
  371. package/lib/components/dropdown/dropdown.vue.d.ts +6 -29
  372. package/lib/components/dropdown/dropdown.vue2.cjs +1 -1
  373. package/lib/components/footer-layout/footer-layout.vue2.cjs +1 -1
  374. package/lib/components/form/form-item.vue.d.ts +2 -3
  375. package/lib/components/form/form-item.vue2.cjs +1 -1
  376. package/lib/components/form/form-label-wrap.cjs +1 -1
  377. package/lib/components/form/form.vue2.cjs +1 -1
  378. package/lib/components/form/hooks/use-form-common-props.cjs +1 -1
  379. package/lib/components/form/hooks/use-form-item.cjs +1 -1
  380. package/lib/components/form/index.d.ts +75 -48
  381. package/lib/components/form/types.d.ts +7 -1
  382. package/lib/components/form/utils.cjs +1 -1
  383. package/lib/components/form/utils.d.ts +1 -1
  384. package/lib/components/header-layout/header-layout.vue2.cjs +1 -1
  385. package/lib/components/icon/icon.vue2.cjs +1 -1
  386. package/lib/components/icon/index.cjs +1 -1
  387. package/lib/components/icon/index.d.ts +0 -1
  388. package/lib/components/index.cjs +1 -1
  389. package/lib/components/input/input.vue2.cjs +1 -1
  390. package/lib/components/link/index.d.ts +3 -3
  391. package/lib/components/md-code-demo/md-code-demo.cjs +1 -1
  392. package/lib/components/md-container/md-container.vue2.cjs +1 -1
  393. package/lib/components/md-vue-playground/md-vue-playground.vue2.cjs +1 -1
  394. package/lib/components/menu/menu-item.vue.d.ts +1 -1
  395. package/lib/components/menu/menu-item.vue2.cjs +1 -1
  396. package/lib/components/menu/sub-menu.vue.d.ts +2 -1
  397. package/lib/components/menu/sub-menu.vue2.cjs +1 -1
  398. package/lib/components/modal/index.d.ts +33 -45
  399. package/lib/components/modal/modal-footer-action.vue2.cjs +1 -1
  400. package/lib/components/modal/modal.vue.d.ts +2 -2
  401. package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
  402. package/lib/components/multiple-tabs/tab-content.vue2.cjs +1 -1
  403. package/lib/components/multiple-tabs/use/use-tab-dropdown.cjs +1 -1
  404. package/lib/components/popconfirm/index.d.ts +24 -24
  405. package/lib/components/popconfirm/popconfirm.vue.d.ts +2 -2
  406. package/lib/components/popover/index.d.ts +5 -5
  407. package/lib/components/popover/popover.vue.d.ts +2 -2
  408. package/lib/components/popper/composables/use-content.cjs +1 -1
  409. package/lib/components/popper/trigger.vue2.cjs +1 -1
  410. package/lib/components/progress/index.d.ts +3 -3
  411. package/lib/components/result/result.vue.d.ts +1 -1
  412. package/lib/components/result/result.vue2.cjs +1 -1
  413. package/lib/components/roving-focus-group/roving-focus-item.vue2.cjs +1 -1
  414. package/lib/components/scrollbar/index.cjs +1 -1
  415. package/lib/components/select/defaults.cjs +1 -1
  416. package/lib/components/select/defaults.d.ts +99 -15
  417. package/lib/components/select/group-item.vue.cjs +1 -1
  418. package/lib/components/select/group-item.vue.d.ts +10 -5
  419. package/lib/components/select/group-item.vue2.cjs +1 -1
  420. package/lib/components/select/index.cjs +1 -1
  421. package/lib/components/select/index.d.ts +2782 -0
  422. package/lib/components/select/option-item.vue.cjs +1 -1
  423. package/lib/components/select/option-item.vue.d.ts +40 -26
  424. package/lib/components/select/option-item.vue2.cjs +1 -1
  425. package/lib/components/select/select-dropdown.cjs +1 -1
  426. package/lib/components/select/select-dropdown.d.ts +29 -3
  427. package/lib/components/select/select.types.d.ts +19 -11
  428. package/lib/components/select/select.vue.cjs +1 -1
  429. package/lib/components/select/select.vue.d.ts +2778 -0
  430. package/lib/components/select/select.vue2.cjs +1 -1
  431. package/lib/components/select/token.cjs +1 -1
  432. package/lib/components/select/token.d.ts +10 -12
  433. package/lib/components/select/useAllowCreate.cjs +1 -1
  434. package/lib/components/select/useAllowCreate.d.ts +3 -3
  435. package/lib/components/select/useOption.d.ts +3 -3
  436. package/lib/components/select/useProps.cjs +1 -0
  437. package/lib/components/select/useProps.d.ts +21 -0
  438. package/lib/components/select/useSelect.cjs +1 -1
  439. package/lib/components/select/useSelect.d.ts +940 -121
  440. package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
  441. package/lib/components/steps/index.d.ts +12 -12
  442. package/lib/components/super-form/component-map.cjs +1 -1
  443. package/lib/components/super-form/style/css.cjs +1 -1
  444. package/lib/components/super-form/super-form-action.vue2.cjs +1 -1
  445. package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
  446. package/lib/components/super-form/super-form.vue.d.ts +1 -1
  447. package/lib/components/super-form/super-form.vue2.cjs +1 -1
  448. package/lib/components/super-form/types.d.ts +3 -1
  449. package/lib/components/switch/index.d.ts +6 -6
  450. package/lib/components/table/field.cjs +1 -1
  451. package/lib/components/table/index.d.ts +24 -24
  452. package/lib/components/table/table.vue.d.ts +1 -1
  453. package/lib/components/tabs/tab-nav.vue.d.ts +2 -2
  454. package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
  455. package/lib/components/tabs/tabs.vue.d.ts +2 -1
  456. package/lib/components/time-picker/common/picker-range-trigger.vue.cjs +1 -0
  457. package/lib/components/time-picker/common/picker-range-trigger.vue.d.ts +84 -0
  458. package/lib/components/time-picker/common/picker-range-trigger.vue2.cjs +1 -0
  459. package/lib/components/time-picker/common/picker.vue.d.ts +71 -41
  460. package/lib/components/time-picker/common/picker.vue2.cjs +1 -1
  461. package/lib/components/time-picker/common/props.cjs +1 -1
  462. package/lib/components/time-picker/common/props.d.ts +76 -12
  463. package/lib/components/time-picker/composables/use-time-panel.d.ts +4 -4
  464. package/lib/components/time-picker/composables/use-time-picker.d.ts +28 -29
  465. package/lib/components/time-picker/constants.cjs +1 -1
  466. package/lib/components/time-picker/constants.d.ts +5 -0
  467. package/lib/components/time-picker/index.cjs +1 -1
  468. package/lib/components/time-picker/index.d.ts +120 -74
  469. package/lib/components/time-picker/props/basic-time-spinner.d.ts +5 -4
  470. package/lib/components/time-picker/props/panel-time-picker.d.ts +2 -1
  471. package/lib/components/time-picker/props/panel-time-range.d.ts +2 -1
  472. package/lib/components/time-picker/props/shared.d.ts +4 -5
  473. package/lib/components/time-picker/style/css.cjs +1 -1
  474. package/lib/components/time-picker/style/css.d.ts +3 -0
  475. package/lib/components/time-picker/style/index.cjs +1 -1
  476. package/lib/components/time-picker/style/index.d.ts +3 -0
  477. package/lib/components/time-picker/time-picker-com/basic-time-spinner.vue.d.ts +6 -6
  478. package/lib/components/time-picker/time-picker-com/basic-time-spinner.vue2.cjs +1 -1
  479. package/lib/components/time-picker/time-picker-com/panel-time-pick.vue.d.ts +4 -4
  480. package/lib/components/time-picker/time-picker-com/panel-time-pick.vue2.cjs +1 -1
  481. package/lib/components/time-picker/time-picker-com/panel-time-range.vue.d.ts +4 -4
  482. package/lib/components/time-picker/time-picker-com/panel-time-range.vue2.cjs +1 -1
  483. package/lib/components/time-picker/time-picker.cjs +1 -1
  484. package/lib/components/time-picker/time-picker.d.ts +60 -37
  485. package/lib/components/time-picker/utils.cjs +1 -1
  486. package/lib/components/time-picker/utils.d.ts +5 -2
  487. package/lib/components/time-select/time-select.vue.d.ts +1 -1
  488. package/lib/components/timeline/index.d.ts +6 -6
  489. package/lib/components/tooltip/content.vue2.cjs +1 -1
  490. package/lib/components/tooltip/index.d.ts +3 -3
  491. package/lib/components/tooltip/tooltip.vue.d.ts +1 -1
  492. package/lib/components/tooltip/tooltip.vue2.cjs +1 -1
  493. package/lib/components/tooltip/utils.cjs +1 -1
  494. package/lib/components/tree/tree-node.vue.cjs +1 -1
  495. package/lib/components/tree/tree-node.vue.d.ts +33 -33
  496. package/lib/components/tree/tree-node.vue2.cjs +1 -1
  497. package/lib/components/upload/index.d.ts +15 -15
  498. package/lib/components/upload/upload-content.vue.d.ts +1 -1
  499. package/lib/components/upload/upload.vue.d.ts +1 -1
  500. package/lib/components/virtual-list/builders/build-grid.cjs +1 -1
  501. package/lib/components/virtual-list/builders/build-grid.d.ts +9 -9
  502. package/lib/components/virtual-list/builders/build-list.cjs +1 -1
  503. package/lib/components/virtual-list/builders/build-list.d.ts +13 -13
  504. package/lib/components/virtual-list/components/dynamic-size-grid.cjs +1 -1
  505. package/lib/components/virtual-list/components/dynamic-size-grid.d.ts +6 -6
  506. package/lib/components/virtual-list/components/dynamic-size-list.cjs +1 -1
  507. package/lib/components/virtual-list/components/dynamic-size-list.d.ts +13 -12
  508. package/lib/components/virtual-list/components/fixed-size-grid.d.ts +6 -6
  509. package/lib/components/virtual-list/components/fixed-size-list.cjs +1 -1
  510. package/lib/components/virtual-list/components/fixed-size-list.d.ts +13 -12
  511. package/lib/components/virtual-list/components/scrollbar.cjs +1 -1
  512. package/lib/components/virtual-list/defaults.cjs +1 -1
  513. package/lib/components/virtual-list/defaults.d.ts +0 -4
  514. package/lib/components/virtual-list/hooks/use-cache.cjs +1 -1
  515. package/lib/components/virtual-list/hooks/use-cache.d.ts +1 -1
  516. package/lib/components/virtual-list/hooks/use-wheel.cjs +1 -1
  517. package/lib/components/virtual-list/index.cjs +1 -1
  518. package/lib/components/virtual-list/index.d.ts +6 -4
  519. package/lib/components/virtual-list/props.cjs +1 -1
  520. package/lib/components/virtual-list/props.d.ts +11 -7
  521. package/lib/components/virtual-list/types.d.ts +1 -1
  522. package/lib/components/virtual-list/utils.cjs +1 -1
  523. package/lib/components/virtual-list/utils.d.ts +1 -2
  524. package/lib/hooks/index.cjs +1 -1
  525. package/lib/hooks/index.d.ts +3 -1
  526. package/lib/hooks/use-calc-input-width/index.cjs +1 -0
  527. package/lib/hooks/use-calc-input-width/index.d.ts +7 -0
  528. package/lib/hooks/use-composition/index.cjs +1 -0
  529. package/lib/hooks/use-composition/index.d.ts +12 -0
  530. package/lib/hooks/use-delayed-toggle/index.cjs +1 -1
  531. package/lib/hooks/use-delayed-toggle/index.d.ts +8 -4
  532. package/lib/hooks/use-empty-values/index.cjs +1 -0
  533. package/lib/hooks/use-empty-values/index.d.ts +16 -0
  534. package/lib/hooks/use-focus-controller/index.cjs +1 -0
  535. package/lib/hooks/use-focus-controller/index.d.ts +27 -0
  536. package/lib/hooks/use-id/index.cjs +2 -2
  537. package/lib/hooks/use-id/index.d.ts +1 -1
  538. package/lib/hooks/use-namespace/index.cjs +1 -1
  539. package/lib/hooks/use-namespace/index.d.ts +5 -6
  540. package/lib/index.cjs +1 -1
  541. package/lib/package.json.cjs +1 -1
  542. package/lib/package.json.d.ts +2 -2
  543. package/lib/utils/helper.cjs +1 -1
  544. package/lib/utils/helper.d.ts +1 -0
  545. package/lib/utils/index.cjs +1 -1
  546. package/package.json +5 -5
  547. package/theme-style/index.css +1 -1
  548. package/theme-style/src/common/var.scss +41 -0
  549. package/theme-style/src/date-picker/date-picker.scss +31 -31
  550. package/theme-style/src/date-picker/date-range-picker.scss +60 -37
  551. package/theme-style/src/date-picker/date-table.scss +20 -20
  552. package/theme-style/src/date-picker/month-table.scss +40 -25
  553. package/theme-style/src/date-picker/picker-panel.scss +27 -28
  554. package/theme-style/src/date-picker/picker.scss +60 -56
  555. package/theme-style/src/date-picker/time-picker.scss +21 -21
  556. package/theme-style/src/date-picker/time-range-picker.scss +6 -6
  557. package/theme-style/src/date-picker/time-spinner.scss +24 -22
  558. package/theme-style/src/date-picker/year-table.scss +61 -14
  559. package/theme-style/src/option-group.scss +7 -28
  560. package/theme-style/src/option.scss +46 -12
  561. package/theme-style/src/select-dropdown-v2.scss +31 -37
  562. package/theme-style/src/select.scss +136 -220
  563. package/theme-style/src/tabs.scss +6 -66
  564. package/theme-style/src/tabss.scss +4 -4
  565. package/theme-style/vft-date-picker.css +1 -1
  566. package/theme-style/vft-option-group.css +1 -1
  567. package/theme-style/vft-option.css +1 -1
  568. package/theme-style/vft-select-dropdown-v2.css +1 -1
  569. package/theme-style/vft-select.css +1 -1
  570. package/theme-style/vft-tabs.css +1 -1
  571. package/theme-style/vft-tabss.css +1 -1
  572. package/theme-style/vft-time-picker.css +1 -1
  573. package/theme-style/vft-time-select.css +1 -1
  574. package/web-types.json +1 -1
  575. package/es/components/select/useInput.d.ts +0 -5
  576. package/es/components/select/useInput.js +0 -20
  577. package/es/components/select/util.d.ts +0 -2
  578. package/es/components/select/util.js +0 -18
  579. package/lib/components/select/useInput.cjs +0 -1
  580. package/lib/components/select/useInput.d.ts +0 -5
  581. package/lib/components/select/util.cjs +0 -1
  582. package/lib/components/select/util.d.ts +0 -2
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@popperjs/core");require("@vueuse/core");require("@vft/utils");require("../../utils/ns-cover.cjs");const t=require("../../utils/vue/props/runtime.cjs");require("vue");const o={allowCreate:Boolean,autocomplete:{type:String,default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:[String,Object]},effect:{type:String,default:"light"},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:Function,height:{type:Number,default:170},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,label:String,modelValue:[Array,String,Number,Boolean,Object],multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:Function,reserveKeyword:{type:Boolean,default:!0},options:{type:Array,required:!0},placeholder:{type:String},teleported:String,persistent:{type:Boolean,default:!0},popperClass:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},remote:Boolean,size:{type:String},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},placement:{type:t.definePropType(String),values:e.placements,default:"bottom-start"}},l={data:Array,disabled:Boolean,hovering:Boolean,item:Object,index:Number,style:Object,selected:Boolean,created:Boolean};exports.OptionProps=l;exports.SelectProps=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("@popperjs/core"),l=require("./useProps.cjs"),r=require("../../constants/event.cjs");require("@vueuse/core");const o=require("@vft/utils");require("../../utils/ns-cover.cjs");const t=require("../../utils/vue/props/runtime.cjs");require("vue");require("./select.vue2.cjs");const n={allowCreate:Boolean,autocomplete:{type:String,default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:[String,Object]},effect:{type:String,default:"light"},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:Function,height:{type:Number,default:170},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,label:String,modelValue:{type:t.definePropType([Array,String,Number,Boolean,Object])},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:Function,reserveKeyword:{type:Boolean,default:!0},options:{type:t.definePropType(Array),required:!0},placeholder:{type:String},teleported:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},popperClass:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},remote:Boolean,size:{type:String},props:{type:t.definePropType(Object),default:()=>l.defaultProps},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},tabindex:{type:[String,Number],default:0},tagType:{type:String,values:["primary","success","info","warning","danger"],default:"info"},tagEffect:{type:String,values:["dark","light","plain"],default:"light"},placement:{type:t.definePropType(String),values:a.placements,default:"bottom-start"},offset:{type:Number,default:12},ariaLabel:String,showArrow:{type:Boolean,default:!0},fallbackPlacements:{type:t.definePropType(Array),default:["bottom-start","top-start","right","left"]},appendTo:{type:String},emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:e=>o.isFunction(e)?!e():!e},fitInputWidth:{type:[Boolean,Number],default:!0,validator(e){return o.isBoolean(e)||o.isNumber(e)}}},i=t.buildProps({data:Array,disabled:Boolean,hovering:Boolean,item:{type:t.definePropType(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),u={[r.UPDATE_MODEL_EVENT]:e=>!0,[r.CHANGE_EVENT]:e=>!0,"remove-tag":e=>!0,"visible-change":e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},p={hover:e=>o.isNumber(e),select:(e,s)=>!0};exports.optionV2Emits=p;exports.optionV2Props=i;exports.selectV2Emits=u;exports.selectV2Props=n;
@@ -1,8 +1,11 @@
1
1
  import type { Options, Placement } from 'vft/es/components/popper';
2
- import type { ComponentSize } from 'vft/es/constants';
3
- import type { Component, PropType } from 'vue';
4
- import type { OptionType } from './select.types';
5
- export declare const SelectProps: {
2
+ import { type Props } from './useProps';
3
+ import { type ComponentSize } from 'vft/es/constants';
4
+ import type { Component, EmitFn, PropType } from 'vue';
5
+ import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
6
+ import SelectV2 from './select.vue';
7
+ import type { Option, OptionType } from './select.types';
8
+ export declare const selectV2Props: {
6
9
  allowCreate: BooleanConstructor;
7
10
  autocomplete: {
8
11
  type: PropType<"none" | "both" | "list" | "inline">;
@@ -46,7 +49,9 @@ export declare const SelectProps: {
46
49
  loading: BooleanConstructor;
47
50
  loadingText: StringConstructor;
48
51
  label: StringConstructor;
49
- modelValue: PropType<any[] | string | number | boolean | Record<string, any> | any>;
52
+ modelValue: {
53
+ type: PropType<any>;
54
+ };
50
55
  multiple: BooleanConstructor;
51
56
  multipleLimit: {
52
57
  type: NumberConstructor;
@@ -67,7 +72,10 @@ export declare const SelectProps: {
67
72
  placeholder: {
68
73
  type: StringConstructor;
69
74
  };
70
- teleported: StringConstructor;
75
+ teleported: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
71
79
  persistent: {
72
80
  type: BooleanConstructor;
73
81
  default: boolean;
@@ -84,6 +92,10 @@ export declare const SelectProps: {
84
92
  size: {
85
93
  type: PropType<ComponentSize>;
86
94
  };
95
+ props: {
96
+ type: PropType<Props>;
97
+ default: () => Required<Props>;
98
+ };
87
99
  valueKey: {
88
100
  type: StringConstructor;
89
101
  default: string;
@@ -96,19 +108,91 @@ export declare const SelectProps: {
96
108
  type: BooleanConstructor;
97
109
  default: boolean;
98
110
  };
111
+ tabindex: {
112
+ type: (StringConstructor | NumberConstructor)[];
113
+ default: number;
114
+ };
115
+ tagType: {
116
+ type: StringConstructor;
117
+ values: string[];
118
+ default: string;
119
+ };
120
+ tagEffect: {
121
+ type: StringConstructor;
122
+ values: string[];
123
+ default: string;
124
+ };
99
125
  placement: {
100
126
  type: PropType<Placement>;
101
127
  values: Placement[];
102
128
  default: string;
103
129
  };
130
+ offset: {
131
+ type: NumberConstructor;
132
+ default: number;
133
+ };
134
+ ariaLabel: StringConstructor;
135
+ showArrow: {
136
+ type: BooleanConstructor;
137
+ default: boolean;
138
+ };
139
+ fallbackPlacements: {
140
+ type: PropType<Placement[]>;
141
+ default: string[];
142
+ };
143
+ appendTo: {
144
+ type: StringConstructor;
145
+ };
146
+ /**
147
+ * @description empty values supported by the component
148
+ */
149
+ emptyValues: ArrayConstructor;
150
+ /**
151
+ * @description return value when cleared, if you want to set `undefined`, use `() => undefined`
152
+ */
153
+ valueOnClear: {
154
+ type: (StringConstructor | NumberConstructor | FunctionConstructor | BooleanConstructor)[];
155
+ default: undefined;
156
+ validator: (val: any) => boolean;
157
+ };
158
+ fitInputWidth: {
159
+ type: (NumberConstructor | BooleanConstructor)[];
160
+ default: boolean;
161
+ validator(val: any): val is number | boolean;
162
+ };
104
163
  };
105
- export declare const OptionProps: {
106
- data: ArrayConstructor;
107
- disabled: BooleanConstructor;
108
- hovering: BooleanConstructor;
109
- item: ObjectConstructor;
110
- index: NumberConstructor;
111
- style: ObjectConstructor;
112
- selected: BooleanConstructor;
113
- created: BooleanConstructor;
164
+ export declare const optionV2Props: {
165
+ readonly data: ArrayConstructor;
166
+ readonly disabled: BooleanConstructor;
167
+ readonly hovering: BooleanConstructor;
168
+ readonly item: {
169
+ readonly type: PropType<Option>;
170
+ readonly required: true;
171
+ readonly validator: ((val: unknown) => boolean) | undefined;
172
+ __epPropKey: true;
173
+ };
174
+ readonly index: NumberConstructor;
175
+ readonly style: ObjectConstructor;
176
+ readonly selected: BooleanConstructor;
177
+ readonly created: BooleanConstructor;
178
+ };
179
+ export declare const selectV2Emits: {
180
+ "update:modelValue": (val: SelectV2Props["modelValue"]) => boolean;
181
+ change: (val: SelectV2Props["modelValue"]) => boolean;
182
+ 'remove-tag': (val: unknown) => boolean;
183
+ 'visible-change': (visible: boolean) => boolean;
184
+ focus: (evt: FocusEvent) => boolean;
185
+ blur: (evt: FocusEvent) => boolean;
186
+ clear: () => boolean;
187
+ };
188
+ export declare const optionV2Emits: {
189
+ hover: (index?: number) => index is number;
190
+ select: (val: Option, index?: number) => boolean;
114
191
  };
192
+ export type SelectV2Props = ExtractPropTypes<typeof selectV2Props>;
193
+ export type SelectV2PropsPublic = __ExtractPublicPropTypes<typeof selectV2Props>;
194
+ export type OptionV2Props = ExtractPropTypes<typeof optionV2Props>;
195
+ export type OptionV2PropsPublic = __ExtractPublicPropTypes<typeof optionV2Props>;
196
+ export type SelectV2EmitFn = EmitFn<typeof selectV2Emits>;
197
+ export type OptionV2EmitFn = EmitFn<typeof optionV2Emits>;
198
+ export type SelectV2Instance = InstanceType<typeof SelectV2> & unknown;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./group-item.vue2.cjs"),e=require("vue"),s=require("../../_virtual/_plugin-vue_export-helper.cjs");function r(l,i,n,a,u,p){return l.item.isTitle?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(l.ns.be("group","title")),style:e.normalizeStyle([l.style,{lineHeight:`${l.height}px`}])},e.toDisplayString(l.item.label),7)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(l.ns.be("group","split")),style:e.normalizeStyle(l.style)},[e.createElementVNode("span",{class:e.normalizeClass(l.ns.be("group","split-dash")),style:e.normalizeStyle({top:`${l.height/2}px`})},null,6)],6))}const o=s.default(t.default,[["render",r]]);exports.default=o;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./group-item.vue2.cjs"),e=require("vue"),l=require("../../_virtual/_plugin-vue_export-helper.cjs");function o(t,i,n,s,a,p){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(t.ns.be("group","title")),style:e.normalizeStyle({...t.style,lineHeight:`${t.height}px`})},e.toDisplayString(t.item.label),7)}const u=l.default(r.default,[["render",o]]);exports.default=u;
@@ -1,13 +1,16 @@
1
+ import type { CSSProperties, PropType } from 'vue';
1
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
3
  item: {
3
4
  type: ObjectConstructor;
4
5
  required: true;
5
6
  };
6
- style: ObjectConstructor;
7
+ style: {
8
+ type: PropType<CSSProperties>;
9
+ };
7
10
  height: NumberConstructor;
8
11
  }>, {
9
12
  ns: {
10
- namespace: import("vue").Ref<string, string>;
13
+ namespace: import("vue").ComputedRef<string>;
11
14
  b: (blockSuffix?: string) => string;
12
15
  e: (element?: string) => string;
13
16
  m: (modifier?: string) => string;
@@ -19,9 +22,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
19
22
  (name: string, state: boolean | undefined): string;
20
23
  (name: string): string;
21
24
  };
22
- cssVar: (object: Record<string, string | undefined>) => Record<string, string>;
25
+ cssVar: (object: Record<string, string>) => Record<string, string>;
23
26
  cssVarName: (name: string) => string;
24
- cssVarBlock: (object: Record<string, string | undefined>) => Record<string, string>;
27
+ cssVarBlock: (object: Record<string, string>) => Record<string, string>;
25
28
  cssVarBlockName: (name: string) => string;
26
29
  };
27
30
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -29,7 +32,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
29
32
  type: ObjectConstructor;
30
33
  required: true;
31
34
  };
32
- style: ObjectConstructor;
35
+ style: {
36
+ type: PropType<CSSProperties>;
37
+ };
33
38
  height: NumberConstructor;
34
39
  }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
35
40
  export default _default;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("@vueuse/core");require("@vft/utils");require("../../utils/ns-cover.cjs");require("lodash-es");const e=require("vue"),r=require("../../hooks/use-namespace/index.cjs");require("../../hooks/use-model-toggle/index.cjs");require("@popperjs/core");require("../../hooks/use-z-index/index.cjs");const t=e.defineComponent({props:{item:{type:Object,required:!0},style:Object,height:Number},setup(){return{ns:r.useNamespace("select")}}});exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("@vueuse/core");require("@vft/utils");require("../../utils/ns-cover.cjs");require("lodash-es");const r=require("../../hooks/use-namespace/index.cjs");require("../../hooks/use-model-toggle/index.cjs");require("@popperjs/core");require("../../hooks/use-z-index/index.cjs");const t=e.defineComponent({props:{item:{type:Object,required:!0},style:{type:Object},height:Number},setup(){return{ns:r.useNamespace("select")}}});exports.default=t;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./select.vue.cjs"),c=require("./token.cjs");e.default.install=l=>{l.component(e.default.name,e.default)};const t=e.default,n=t;exports.selectInjectionKey=c.selectInjectionKey;exports.VftSelect=n;exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./select.vue.cjs"),c=require("./token.cjs");e.default.install=l=>{l.component(e.default.name,e.default)};const t=e.default,n=t;exports.selectV2InjectionKey=c.selectV2InjectionKey;exports.VftSelect=n;exports.default=t;