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,349 +1,443 @@
1
- import { isArray as H, isObject as N, isFunction as ae } from "@vft/utils";
2
1
  import "../form/index.js";
3
- import { UPDATE_MODEL_EVENT as Qe, CHANGE_EVENT as qe } from "../../constants/event.js";
4
- import { useResizeObserver as ke } from "@vueuse/core";
5
- import { debugWarn as Ge } from "../../utils/error.js";
2
+ import { EVENT_CODE as xt } from "../../constants/aria.js";
3
+ import { UPDATE_MODEL_EVENT as Ot, CHANGE_EVENT as It } from "../../constants/event.js";
4
+ import { useResizeObserver as p } from "@vueuse/core";
5
+ import { isArray as w, isFunction as z, isObject as ee, isNumber as pt, isUndefined as wt } from "@vft/utils";
6
+ import { debugWarn as te } from "../../utils/error.js";
6
7
  import "../../utils/ns-cover.js";
7
- import { escapeStringRegexp as $e } from "../../utils/vue/data-helper.js";
8
- import { isNil as ue, debounce as je, isEqual as ie, get as b } from "lodash-es";
9
- import { reactive as Je, ref as r, computed as i, watch as y, nextTick as f, onMounted as Xe } from "vue";
10
- import { useNamespace as oe } from "../../hooks/use-namespace/index.js";
8
+ import { escapeStringRegexp as yt } from "../../utils/vue/data-helper.js";
9
+ import { debounce as Ct, get as A, isEqual as _, findLastIndex as Et } from "lodash-es";
10
+ import { reactive as Tt, ref as m, computed as o, toRaw as St, watch as T, nextTick as h, watchEffect as Se, onMounted as Rt } from "vue";
11
+ import { useNamespace as Re } from "../../hooks/use-namespace/index.js";
11
12
  import "../../hooks/use-model-toggle/index.js";
12
13
  import "@popperjs/core";
13
14
  import "../../hooks/use-z-index/index.js";
14
- import { useAllowCreate as Ye } from "./useAllowCreate.js";
15
- import { useInput as Ze } from "./useInput.js";
16
- import { flattenOptions as et } from "./util.js";
17
- import { useFormItem as tt } from "../form/hooks/use-form-item.js";
18
- import { useFormSize as lt } from "../form/hooks/use-form-common-props.js";
19
- const se = "", ce = 11, nt = {
20
- larget: 51,
21
- default: 42,
22
- small: 33
23
- }, xt = (l, m) => {
24
- const P = oe("select"), re = oe("input"), { form: de, formItem: A } = tt(), t = Je({
25
- inputValue: se,
26
- displayInputValue: se,
27
- calculatedWidth: 0,
28
- cachedPlaceholder: "",
15
+ import { useComposition as Mt } from "../../hooks/use-composition/index.js";
16
+ import { useFocusController as Wt } from "../../hooks/use-focus-controller/index.js";
17
+ import { useEmptyValues as Ft } from "../../hooks/use-empty-values/index.js";
18
+ import { useAllowCreate as Lt } from "./useAllowCreate.js";
19
+ import { useProps as Nt } from "./useProps.js";
20
+ import { useFormItem as Dt, useFormItemInputId as Ht } from "../form/hooks/use-form-item.js";
21
+ import { useFormSize as Bt } from "../form/hooks/use-form-common-props.js";
22
+ const il = (t, v) => {
23
+ const $ = Re("select"), Me = Re("input"), { form: le, formItem: S } = Dt(), { inputId: We } = Ht(t, {
24
+ formItemContext: S
25
+ }), { aliasProps: ne, getLabel: g, getValue: d, getDisabled: R, getOptions: Fe } = Nt(t), { valueOnClear: Le, isEmptyValue: ae } = Ft(t), l = Tt({
26
+ inputValue: "",
29
27
  cachedOptions: [],
30
28
  createdOptions: [],
31
- createdLabel: "",
32
- createdSelected: !1,
33
- currentPlaceholder: "",
34
29
  hoveringIndex: -1,
35
- comboBoxHovering: !1,
36
- isOnComposition: !1,
37
- isSilentBlur: !1,
38
- isComposing: !1,
39
- inputLength: 20,
40
- selectWidth: 200,
41
- initialInputHeight: 0,
30
+ inputHovering: !1,
31
+ selectionWidth: 0,
32
+ collapseItemWidth: 0,
42
33
  previousQuery: null,
43
34
  previousValue: void 0,
44
- query: "",
45
35
  selectedLabel: "",
46
- softFocus: !1,
47
- tagInMultiLine: !1
48
- }), fe = r(-1), B = r(-1), me = r(null), d = r(null), O = r(null), g = r(null), x = r(null), S = r(null), V = r(null), o = r(!1), I = i(() => l.disabled || de?.disabled), he = i(() => {
49
- const e = s.value.length * 34;
50
- return e > l.height ? l.height : e;
51
- }), w = i(() => !ue(l.modelValue)), ve = i(() => {
52
- const e = l.multiple ? Array.isArray(l.modelValue) && l.modelValue.length > 0 : w.value;
53
- return l.clearable && !I.value && t.comboBoxHovering && e;
54
- }), D = i(
55
- () => l.remote && l.filterable ? "" : "icon-arrow-up"
56
- ), ge = i(
57
- () => D.value && P.is("reverse", o.value)
58
- ), Ve = i(() => A?.validateState || ""), Ie = "validateIcon", _ = i(() => l.remote ? 300 : 0), L = i(() => {
59
- const e = s.value;
60
- return l.loading ? l.loadingText || "加载中" : l.remote && t.inputValue === "" && e.length === 0 ? !1 : l.filterable && t.inputValue && e.length > 0 ? l.noMatchText || "无匹配数据" : e.length === 0 ? l.noDataText || "暂无数据" : null;
61
- }), s = i(() => {
62
- const e = (n) => {
63
- const u = t.inputValue, a = new RegExp($e(u), "i");
64
- return u ? a.test(n.label || "") : !0;
65
- };
66
- return l.loading ? [] : et(
67
- // @ts-ignore
68
- l.options.concat(t.createdOptions).map((n) => {
69
- if (H(n.options)) {
70
- const u = n.options.filter(e);
71
- if (u.length > 0)
72
- return {
73
- ...n,
74
- options: u
75
- };
76
- } else if (l.remote || e(n))
77
- return n;
78
- return null;
79
- }).filter((n) => n !== null)
80
- );
81
- }), pe = i(
82
- () => s.value.every((e) => e.disabled)
83
- ), z = lt(), K = i(
84
- () => z.value === "small" ? "small" : "default"
85
- ), be = i(() => {
86
- const e = S.value, n = K.value || "default", u = e ? Number.parseInt(getComputedStyle(e).paddingLeft) : 0, a = e ? Number.parseInt(getComputedStyle(e).paddingRight) : 0;
87
- return t.selectWidth - a - u - nt[n];
88
- }), U = () => {
89
- B.value = x.value?.offsetWidth || 200;
90
- }, ye = i(() => ({
91
- width: `${t.calculatedWidth === 0 ? ce : Math.ceil(t.calculatedWidth) + ce}px`
92
- })), xe = i(() => H(l.modelValue) ? l.modelValue.length === 0 && !t.displayInputValue : l.filterable ? t.displayInputValue.length === 0 : !0), Se = i(() => {
93
- const e = l.placeholder || "请选择";
94
- return l.multiple || ue(l.modelValue) ? e : t.selectedLabel;
95
- }), Ce = i(() => g.value?.popperRef?.contentRef), Q = i(() => {
96
- if (l.multiple) {
97
- const e = l.modelValue.length;
98
- if (l.modelValue.length > 0)
99
- return s.value.findIndex(
100
- (n) => n.value === l.modelValue[e - 1]
36
+ menuVisibleOnFocus: !1,
37
+ isBeforeHide: !1
38
+ }), M = m(-1), G = m(), y = m(), W = m(), Q = m(), V = m(), Ne = m(), De = m(), b = m(), ie = m(), F = m(), {
39
+ isComposing: oe,
40
+ handleCompositionStart: He,
41
+ handleCompositionEnd: Be,
42
+ handleCompositionUpdate: Pe
43
+ } = Mt({
44
+ afterComposition: (e) => Ee(e)
45
+ }), x = o(() => t.disabled || !!le?.disabled), { wrapperRef: ue, isFocused: se, handleBlur: Ke } = Wt(V, {
46
+ disabled: x,
47
+ afterFocus() {
48
+ t.automaticDropdown && !u.value && (u.value = !0, l.menuVisibleOnFocus = !0);
49
+ },
50
+ beforeBlur(e) {
51
+ return W.value?.isFocusInsideContent(e) || Q.value?.isFocusInsideContent(e);
52
+ },
53
+ afterBlur() {
54
+ u.value = !1, l.menuVisibleOnFocus = !1, t.validateEvent && S?.validate?.("blur").catch((e) => te(e));
55
+ }
56
+ }), ce = o(() => me("")), L = o(() => t.loading ? !1 : t.options.length > 0 || l.createdOptions.length > 0), s = m([]), u = m(!1), ke = o(() => le?.statusIcon ?? !1), ze = o(() => {
57
+ const e = s.value.length * t.itemHeight;
58
+ return e > t.height ? t.height : e;
59
+ }), N = o(() => t.multiple ? w(t.modelValue) && t.modelValue.length > 0 : !ae(t.modelValue)), Ae = o(() => t.clearable && !x.value && l.inputHovering && N.value), de = o(
60
+ () => t.remote && t.filterable ? "" : "ico-ep:arrow-down"
61
+ ), _e = o(
62
+ () => de.value && $.is("reverse", u.value)
63
+ ), $e = o(() => S?.validateState || ""), Ge = "validateIcon", re = o(() => t.remote ? 300 : 0), fe = o(() => t.loading ? t.loadingText || "加载中" : t.remote && !l.inputValue && !L.value ? !1 : t.filterable && l.inputValue && L.value && s.value.length === 0 ? t.noMatchText || "无匹配数据" : L.value ? null : t.noDataText || "暂无数据"), me = (e) => {
64
+ const n = new RegExp(yt(e), "i"), { filterMethod: a, remoteMethod: i } = St(t), c = t.filterable && z(a), f = t.filterable && t.remote && z(i), P = (O) => c || f ? !0 : e ? n.test(g(O) || "") : !0;
65
+ return t.loading ? [] : [...l.createdOptions, ...t.options].reduce((O, I) => {
66
+ const K = Fe(I);
67
+ if (w(K)) {
68
+ const k = K.filter(P);
69
+ k.length > 0 && O.push(
70
+ {
71
+ label: g(I),
72
+ type: "Group"
73
+ },
74
+ ...k
101
75
  );
102
- } else if (l.modelValue)
103
- return s.value.findIndex(
104
- (e) => e.value === l.modelValue
105
- );
76
+ } else (t.remote || P(I)) && O.push(I);
77
+ return O;
78
+ }, []);
79
+ }, he = () => {
80
+ s.value = me(l.inputValue);
81
+ }, ve = o(() => {
82
+ const e = /* @__PURE__ */ new Map();
83
+ return ce.value.forEach((n, a) => {
84
+ e.set(r(d(n)), { option: n, index: a });
85
+ }), e;
86
+ }), D = o(() => {
87
+ const e = /* @__PURE__ */ new Map();
88
+ return s.value.forEach((n, a) => {
89
+ e.set(r(d(n)), { option: n, index: a });
90
+ }), e;
91
+ }), Qe = o(
92
+ () => s.value.every((e) => R(e))
93
+ ), ge = Bt(), Ue = o(
94
+ () => ge.value === "small" ? "small" : "default"
95
+ ), C = () => {
96
+ if (pt(t.fitInputWidth)) {
97
+ M.value = t.fitInputWidth;
98
+ return;
99
+ }
100
+ const e = G.value?.offsetWidth || 200;
101
+ !t.fitInputWidth && L.value ? h(() => {
102
+ M.value = Math.max(e, je());
103
+ }) : M.value = e;
104
+ }, je = () => {
105
+ const n = document.createElement("canvas").getContext("2d"), a = $.be("dropdown", "item"), c = (b.value?.listRef?.innerRef || document).querySelector(`.${a}`);
106
+ if (c === null || n === null) return 0;
107
+ const f = getComputedStyle(c), P = Number.parseFloat(f.paddingLeft) + Number.parseFloat(f.paddingRight);
108
+ return n.font = `bold ${f.font.replace(
109
+ new RegExp(`\\b${f.fontWeight}\\b`),
110
+ ""
111
+ )}`, s.value.reduce((I, K) => {
112
+ const k = n.measureText(g(K));
113
+ return Math.max(k.width, I);
114
+ }, 0) + P;
115
+ }, qe = () => {
116
+ if (!y.value) return 0;
117
+ const e = window.getComputedStyle(y.value);
118
+ return Number.parseFloat(e.gap || "6px");
119
+ }, Je = o(() => {
120
+ const e = qe();
121
+ return { maxWidth: `${F.value && t.maxCollapseTags === 1 ? l.selectionWidth - l.collapseItemWidth - e : l.selectionWidth}px` };
122
+ }), Xe = o(() => ({ maxWidth: `${l.selectionWidth}px` })), Ye = o(() => w(t.modelValue) ? t.modelValue.length === 0 && !l.inputValue : t.filterable ? !l.inputValue : !0), Ze = o(() => {
123
+ const e = t.placeholder || "请选择";
124
+ return t.multiple || !N.value ? e : l.selectedLabel;
125
+ }), et = o(() => W.value?.popperRef?.contentRef), tt = o(() => {
126
+ if (t.multiple) {
127
+ const e = t.modelValue.length;
128
+ if (t.modelValue.length > 0 && D.value.has(t.modelValue[e - 1])) {
129
+ const { index: n } = D.value.get(
130
+ t.modelValue[e - 1]
131
+ );
132
+ return n;
133
+ }
134
+ } else if (!ae(t.modelValue) && D.value.has(t.modelValue)) {
135
+ const { index: e } = D.value.get(t.modelValue);
136
+ return e;
137
+ }
106
138
  return -1;
107
- }), q = i({
139
+ }), lt = o({
108
140
  get() {
109
- return o.value && L.value !== !1;
141
+ return u.value && fe.value !== !1;
110
142
  },
111
143
  set(e) {
112
- o.value = e;
144
+ u.value = e;
113
145
  }
114
- }), Oe = i(
115
- () => t.cachedOptions.slice(0, l.maxCollapseTags)
116
- ), we = i(
117
- () => t.cachedOptions.slice(l.maxCollapseTags)
118
- ), {
119
- createNewOption: k,
120
- removeNewOption: T,
121
- selectNewOption: G,
122
- clearAllNewOption: R
123
- } = Ye(l, t), {
124
- handleCompositionStart: Le,
125
- handleCompositionUpdate: Te,
126
- handleCompositionEnd: Re
127
- } = Ze((e) => ne(e)), $ = () => {
128
- d.value?.focus?.(), g.value?.updatePopper();
129
- }, E = () => {
130
- if (!l.automaticDropdown && !I.value)
131
- return t.isComposing && (t.softFocus = !0), f(() => {
132
- o.value = !o.value, d.value?.focus?.();
133
- });
134
- }, j = () => (l.filterable && t.inputValue !== t.selectedLabel && (t.query = t.selectedLabel), X(t.inputValue), f(() => {
135
- k(t.inputValue);
136
- })), J = je(j, _.value), X = (e) => {
137
- t.previousQuery !== e && (t.previousQuery = e, l.filterable && ae(l.filterMethod) ? l.filterMethod(e) : l.filterable && l.remote && ae(l.remoteMethod) && l.remoteMethod(e));
138
- }, Ee = (e) => {
139
- ie(l.modelValue, e) || m(qe, e);
140
- }, p = (e) => {
141
- m(Qe, e), Ee(e), t.previousValue = e?.toString();
142
- }, Me = (e = [], n) => {
143
- if (!N(n))
146
+ }), nt = o(() => t.multiple ? t.collapseTags ? l.cachedOptions.slice(0, t.maxCollapseTags) : l.cachedOptions : []), at = o(() => t.multiple ? t.collapseTags ? l.cachedOptions.slice(t.maxCollapseTags) : [] : []), {
147
+ createNewOption: Ve,
148
+ removeNewOption: U,
149
+ selectNewOption: be,
150
+ clearAllNewOption: j
151
+ } = Lt(t, l), q = () => {
152
+ x.value || (l.menuVisibleOnFocus ? l.menuVisibleOnFocus = !1 : u.value = !u.value);
153
+ }, xe = () => {
154
+ l.inputValue.length > 0 && !u.value && (u.value = !0), Ve(l.inputValue), h(() => {
155
+ J(l.inputValue);
156
+ });
157
+ }, Oe = Ct(xe, re.value), J = (e) => {
158
+ l.previousQuery === e || oe.value || (l.previousQuery = e, t.filterable && z(t.filterMethod) ? t.filterMethod(e) : t.filterable && t.remote && z(t.remoteMethod) && t.remoteMethod(e), t.defaultFirstOption && (t.filterable || t.remote) && s.value.length ? h(it) : h(gt));
159
+ }, it = () => {
160
+ const e = s.value.filter(
161
+ (i) => !i.disabled && i.type !== "Group"
162
+ ), n = e.find((i) => i.created), a = e[0];
163
+ l.hoveringIndex = X(
164
+ s.value,
165
+ n || a
166
+ );
167
+ }, ot = (e) => {
168
+ _(t.modelValue, e) || v(It, e);
169
+ }, E = (e) => {
170
+ v(Ot, e), ot(e), l.previousValue = t.multiple ? String(e) : e, h(() => {
171
+ if (t.multiple && w(t.modelValue)) {
172
+ const n = l.cachedOptions.slice(), a = t.modelValue.map(
173
+ (i) => Te(i, n)
174
+ );
175
+ _(l.cachedOptions, a) || (l.cachedOptions = a);
176
+ } else
177
+ B(!0);
178
+ });
179
+ }, X = (e = [], n) => {
180
+ if (!ee(n))
144
181
  return e.indexOf(n);
145
- const u = l.valueKey;
146
- let a = -1;
147
- return e.some((c, Ue) => b(c, u) === b(n, u) ? (a = Ue, !0) : !1), a;
148
- }, h = (e) => N(e) ? b(e, l.valueKey) : e, We = (e) => N(e) ? e.label : e, M = () => f(() => {
149
- if (!d.value) return;
150
- const e = S.value;
151
- x.value.height = e.offsetHeight, o.value && L.value !== !1 && g.value?.updatePopper?.();
152
- }), Y = () => {
153
- if (Fe(), U(), g.value?.updatePopper?.(), l.multiple)
154
- return M();
155
- }, Fe = () => {
156
- const e = S.value;
157
- e && (t.selectWidth = e.getBoundingClientRect().width);
158
- }, Z = (e, n, u = !0) => {
159
- if (l.multiple) {
160
- let a = l.modelValue.slice();
161
- const c = Me(a, h(e));
162
- c > -1 ? (a = [
163
- ...a.slice(0, c),
164
- ...a.slice(c + 1)
165
- ], t.cachedOptions.splice(c, 1), T(e)) : (l.multipleLimit <= 0 || a.length < l.multipleLimit) && (a = [...a, h(e)], t.cachedOptions.push(e), G(e), v(n)), p(a), e.created && (t.query = "", X(""), t.inputLength = 20), l.filterable && !l.reserveKeyword && (d.value.focus?.(), C("")), l.filterable && (t.calculatedWidth = V.value.getBoundingClientRect().width), M(), _e();
182
+ const a = t.valueKey;
183
+ let i = -1;
184
+ return e.some((c, f) => A(c, a) === A(n, a) ? (i = f, !0) : !1), i;
185
+ }, r = (e) => ee(e) ? A(e, t.valueKey) : e, Ie = () => {
186
+ C();
187
+ }, pe = () => {
188
+ l.selectionWidth = Number.parseFloat(
189
+ window.getComputedStyle(y.value).width
190
+ );
191
+ }, ut = () => {
192
+ l.collapseItemWidth = F.value.getBoundingClientRect().width;
193
+ }, Y = () => {
194
+ W.value?.updatePopper?.();
195
+ }, we = () => {
196
+ Q.value?.updatePopper?.();
197
+ }, ye = (e) => {
198
+ if (t.multiple) {
199
+ let n = t.modelValue.slice();
200
+ const a = X(n, d(e));
201
+ a > -1 ? (n = [
202
+ ...n.slice(0, a),
203
+ ...n.slice(a + 1)
204
+ ], l.cachedOptions.splice(a, 1), U(e)) : (t.multipleLimit <= 0 || n.length < t.multipleLimit) && (n = [...n, d(e)], l.cachedOptions.push(e), be(e)), E(n), e.created && J(""), t.filterable && !t.reserveKeyword && (l.inputValue = "");
166
205
  } else
167
- fe.value = n, t.selectedLabel = e.label, p(h(e)), o.value = !1, t.isComposing = !1, t.isSilentBlur = u, G(e), e.created || R(), v(n);
168
- }, He = (e, n) => {
169
- const { valueKey: u } = l, a = l.modelValue.indexOf(b(n, u));
170
- if (a > -1 && !I.value) {
171
- const c = [
172
- ...l.modelValue.slice(0, a),
173
- ...l.modelValue.slice(a + 1)
174
- ];
175
- return t.cachedOptions.splice(a, 1), p(c), m("remove-tag", b(n, u)), t.softFocus = !0, T(n), f($);
206
+ l.selectedLabel = g(e), E(d(e)), u.value = !1, be(e), e.created || j();
207
+ H();
208
+ }, st = (e, n) => {
209
+ let a = t.modelValue.slice();
210
+ const i = X(a, d(n));
211
+ i > -1 && !x.value && (a = [
212
+ ...t.modelValue.slice(0, i),
213
+ ...t.modelValue.slice(i + 1)
214
+ ], l.cachedOptions.splice(i, 1), E(a), v("remove-tag", d(n)), U(n)), e.stopPropagation(), H();
215
+ }, H = () => {
216
+ V.value?.focus();
217
+ }, ct = () => {
218
+ if (u.value) {
219
+ u.value = !1, h(() => V.value?.blur());
220
+ return;
176
221
  }
177
- e.stopPropagation();
178
- }, Ne = (e) => {
179
- const n = t.isComposing;
180
- t.isComposing = !0, t.softFocus ? t.softFocus = !1 : n || m("focus", e);
181
- }, ee = (e) => (t.softFocus = !1, f(() => {
182
- d.value?.blur?.(), V.value && (t.calculatedWidth = V.value.getBoundingClientRect().width), t.isSilentBlur ? t.isSilentBlur = !1 : t.isComposing && m("blur", e), t.isComposing = !1;
183
- })), Pe = () => {
184
- t.displayInputValue.length > 0 ? C("") : o.value = !1;
185
- }, Ae = (e) => {
186
- if (t.displayInputValue.length === 0) {
222
+ V.value?.blur();
223
+ }, dt = () => {
224
+ l.inputValue.length > 0 ? l.inputValue = "" : u.value = !1;
225
+ }, rt = (e) => Et(
226
+ e,
227
+ (n) => !l.cachedOptions.some(
228
+ (a) => d(a) === n && R(a)
229
+ )
230
+ ), ft = (e) => {
231
+ if (t.multiple && e.code !== xt.delete && l.inputValue.length === 0) {
187
232
  e.preventDefault();
188
- const n = l.modelValue.slice();
189
- n.pop(), T(t.cachedOptions.pop()), p(n);
233
+ const n = t.modelValue.slice(), a = rt(n);
234
+ if (a < 0) return;
235
+ const i = n[a];
236
+ n.splice(a, 1);
237
+ const c = l.cachedOptions[a];
238
+ l.cachedOptions.splice(a, 1), U(c), E(n), v("remove-tag", i);
190
239
  }
191
- }, Be = () => {
240
+ }, mt = () => {
192
241
  let e;
193
- return H(l.modelValue) ? e = [] : e = void 0, t.softFocus = !0, l.multiple ? t.cachedOptions = [] : t.selectedLabel = "", o.value = !1, p(e), m("clear"), R(), f($);
194
- }, C = (e) => {
195
- t.displayInputValue = e, t.inputValue = e;
196
- }, te = (e, n = void 0) => {
197
- const u = s.value;
198
- if (!["forward", "backward"].includes(e) || I.value || u.length <= 0 || pe.value)
242
+ w(t.modelValue) ? e = [] : e = Le.value, l.selectedLabel = "", u.value = !1, E(e), v("clear"), j(), H();
243
+ }, Ce = (e, n = void 0) => {
244
+ const a = s.value;
245
+ if (!["forward", "backward"].includes(e) || x.value || a.length <= 0 || Qe.value || oe.value)
199
246
  return;
200
- if (!o.value)
201
- return E();
202
- n === void 0 && (n = t.hoveringIndex);
203
- let a = -1;
204
- e === "forward" ? (a = n + 1, a >= u.length && (a = 0)) : e === "backward" && (a = n - 1, (a < 0 || a >= u.length) && (a = u.length - 1));
205
- const c = u[a];
206
- if (c.disabled || c.type === "Group")
207
- return te(e, a);
208
- v(a), W(a);
209
- }, De = () => {
210
- if (o.value)
211
- ~t.hoveringIndex && s.value[t.hoveringIndex] && Z(
212
- s.value[t.hoveringIndex],
213
- t.hoveringIndex,
214
- !1
215
- );
216
- else return E();
217
- }, v = (e) => {
218
- t.hoveringIndex = e;
219
- }, le = () => {
220
- t.hoveringIndex = -1;
221
- }, _e = () => {
222
- const e = d.value;
223
- e && e.focus?.();
224
- }, ne = (e) => {
225
- const n = e.target.value;
226
- if (C(n), t.displayInputValue.length > 0 && !o.value && (o.value = !0), t.calculatedWidth = V.value.getBoundingClientRect().width, l.multiple && M(), l.remote)
227
- J();
247
+ if (!u.value)
248
+ return q();
249
+ wt(n) && (n = l.hoveringIndex);
250
+ let i = -1;
251
+ e === "forward" ? (i = n + 1, i >= a.length && (i = 0)) : e === "backward" && (i = n - 1, (i < 0 || i >= a.length) && (i = a.length - 1));
252
+ const c = a[i];
253
+ if (R(c) || c.type === "Group")
254
+ return Ce(e, i);
255
+ l.hoveringIndex = i, Z(i);
256
+ }, ht = () => {
257
+ if (u.value)
258
+ ~l.hoveringIndex && s.value[l.hoveringIndex] && ye(s.value[l.hoveringIndex]);
259
+ else return q();
260
+ }, vt = (e) => {
261
+ l.hoveringIndex = e ?? -1;
262
+ }, gt = () => {
263
+ t.multiple ? l.hoveringIndex = s.value.findIndex(
264
+ (e) => t.modelValue.some(
265
+ (n) => r(n) === r(d(e))
266
+ )
267
+ ) : l.hoveringIndex = s.value.findIndex((e) => r(d(e)) === r(t.modelValue));
268
+ }, Ee = (e) => {
269
+ if (l.inputValue = e.target.value, t.remote)
270
+ Oe();
228
271
  else
229
- return j();
230
- }, ze = () => (o.value = !1, ee()), Ke = () => (t.inputValue = t.displayInputValue, f(() => {
231
- ~Q.value && (v(Q.value), W(t.hoveringIndex));
232
- })), W = (e) => {
233
- O.value.scrollToItem(e);
234
- }, F = () => {
235
- if (le(), l.multiple)
236
- if (l.modelValue.length > 0) {
237
- let e = !1;
238
- t.cachedOptions.length = 0, t.previousValue = l.modelValue.toString(), l.modelValue.forEach((n) => {
239
- const u = s.value.findIndex(
240
- (a) => h(a) === n
241
- );
242
- ~u && (t.cachedOptions.push(
243
- s.value[u]
244
- ), e || v(u), e = !0);
245
- });
272
+ return xe();
273
+ }, Vt = (e) => {
274
+ if (u.value = !1, se.value) {
275
+ const n = new FocusEvent("focus", e);
276
+ Ke(n);
277
+ }
278
+ }, bt = () => (l.isBeforeHide = !1, h(() => {
279
+ ~tt.value && Z(l.hoveringIndex);
280
+ })), Z = (e) => {
281
+ b.value.scrollToItem(e);
282
+ }, Te = (e, n) => {
283
+ const a = r(e);
284
+ if (ve.value.has(a)) {
285
+ const { option: i } = ve.value.get(a);
286
+ return i;
287
+ }
288
+ if (n && n.length) {
289
+ const i = n.find(
290
+ (c) => r(d(c)) === a
291
+ );
292
+ if (i)
293
+ return i;
294
+ }
295
+ return {
296
+ [ne.value.value]: e,
297
+ [ne.value.label]: e
298
+ };
299
+ }, B = (e = !1) => {
300
+ if (t.multiple)
301
+ if (t.modelValue.length > 0) {
302
+ const n = l.cachedOptions.slice();
303
+ l.cachedOptions.length = 0, l.previousValue = t.modelValue.toString();
304
+ for (const a of t.modelValue) {
305
+ const i = Te(a, n);
306
+ l.cachedOptions.push(i);
307
+ }
246
308
  } else
247
- t.cachedOptions = [], t.previousValue = void 0;
248
- else if (w.value) {
249
- t.previousValue = l.modelValue;
250
- const e = s.value, n = e.findIndex(
251
- (u) => h(u) === h(l.modelValue)
309
+ l.cachedOptions = [], l.previousValue = void 0;
310
+ else if (N.value) {
311
+ l.previousValue = t.modelValue;
312
+ const n = s.value, a = n.findIndex(
313
+ (i) => r(d(i)) === r(t.modelValue)
252
314
  );
253
- ~n ? (t.selectedLabel = e[n].label, v(n)) : t.selectedLabel = `${l.modelValue}`;
315
+ ~a ? l.selectedLabel = g(n[a]) : (!l.selectedLabel || e) && (l.selectedLabel = r(t.modelValue));
254
316
  } else
255
- t.selectedLabel = "", t.previousValue = void 0;
256
- R(), U();
317
+ l.selectedLabel = "", l.previousValue = void 0;
318
+ j(), C();
257
319
  };
258
- return y(o, (e) => {
259
- m("visible-change", e), e ? g.value.update?.() : (t.displayInputValue = "", t.previousQuery = null, k(""));
260
- }), y(
261
- () => l.modelValue,
320
+ return T(
321
+ () => t.fitInputWidth,
322
+ () => {
323
+ C();
324
+ }
325
+ ), T(u, (e) => {
326
+ e ? (t.persistent || C(), J("")) : (l.inputValue = "", l.previousQuery = null, l.isBeforeHide = !0, Ve("")), v("visible-change", e);
327
+ }), T(
328
+ () => t.modelValue,
262
329
  (e, n) => {
263
- (!e || e.toString() !== t.previousValue) && F(), !ie(e, n) && l.validateEvent && A?.validate?.("change").catch((u) => Ge(u));
330
+ (!e || w(e) && e.length === 0 || t.multiple && !_(e.toString(), l.previousValue) || !t.multiple && r(e) !== r(l.previousValue)) && B(!0), !_(e, n) && t.validateEvent && S?.validate?.("change").catch((i) => te(i));
264
331
  },
265
332
  {
266
333
  deep: !0
267
334
  }
268
- ), y(
269
- () => l.options,
335
+ ), T(
336
+ () => t.options,
270
337
  () => {
271
- const e = d.value;
272
- (!e || e && document.activeElement !== e) && F();
338
+ const e = V.value;
339
+ (!e || e && document.activeElement !== e) && B();
273
340
  },
274
341
  {
275
- deep: !0
342
+ deep: !0,
343
+ flush: "post"
276
344
  }
277
- ), y(s, () => f(O.value?.resetScrollTop)), y(
278
- () => q.value,
279
- (e) => {
280
- e || le();
345
+ ), T(
346
+ () => s.value,
347
+ () => (C(), b.value && h(b.value.resetScrollTop))
348
+ ), Se(() => {
349
+ l.isBeforeHide || he();
350
+ }), Se(() => {
351
+ const { valueKey: e, options: n } = t, a = /* @__PURE__ */ new Map();
352
+ for (const i of n) {
353
+ const c = d(i);
354
+ let f = c;
355
+ if (ee(f) && (f = A(c, e)), a.get(f)) {
356
+ te(
357
+ "ElSelectV2",
358
+ "The option values you provided seem to be duplicated, which may cause some problems, please check."
359
+ );
360
+ break;
361
+ } else
362
+ a.set(f, !0);
281
363
  }
282
- ), Xe(() => {
283
- F();
284
- }), ke(x, Y), {
364
+ }), Rt(() => {
365
+ B();
366
+ }), p(G, Ie), p(y, pe), p(b, Y), p(ue, Y), p(ie, we), p(F, ut), {
285
367
  // data exports
286
- collapseTagSize: K,
287
- currentPlaceholder: Se,
288
- expanded: o,
289
- emptyText: L,
290
- popupHeight: he,
291
- debounce: _,
368
+ inputId: We,
369
+ collapseTagSize: Ue,
370
+ currentPlaceholder: Ze,
371
+ expanded: u,
372
+ emptyText: fe,
373
+ popupHeight: ze,
374
+ debounce: re,
375
+ allOptions: ce,
292
376
  filteredOptions: s,
293
- iconComponent: D,
294
- iconReverse: ge,
295
- inputWrapperStyle: ye,
296
- popperSize: B,
297
- dropdownMenuVisible: q,
298
- hasModelValue: w,
299
- // readonly,
300
- shouldShowPlaceholder: xe,
301
- selectDisabled: I,
302
- selectSize: z,
303
- showClearBtn: ve,
304
- states: t,
305
- tagMaxWidth: be,
306
- nsSelect: P,
307
- nsInput: re,
377
+ iconComponent: de,
378
+ iconReverse: _e,
379
+ tagStyle: Je,
380
+ collapseTagStyle: Xe,
381
+ popperSize: M,
382
+ dropdownMenuVisible: lt,
383
+ hasModelValue: N,
384
+ shouldShowPlaceholder: Ye,
385
+ selectDisabled: x,
386
+ selectSize: ge,
387
+ needStatusIcon: ke,
388
+ showClearBtn: Ae,
389
+ states: l,
390
+ isFocused: se,
391
+ nsSelect: $,
392
+ nsInput: Me,
308
393
  // refs items exports
309
- calculatorRef: V,
310
- controlRef: me,
311
- inputRef: d,
312
- menuRef: O,
313
- popper: g,
314
- selectRef: x,
315
- selectionRef: S,
316
- popperRef: Ce,
317
- validateState: Ve,
318
- validateIcon: Ie,
319
- showTagList: Oe,
320
- collapseTagList: we,
394
+ inputRef: V,
395
+ menuRef: b,
396
+ tagMenuRef: ie,
397
+ tooltipRef: W,
398
+ tagTooltipRef: Q,
399
+ selectRef: G,
400
+ wrapperRef: ue,
401
+ selectionRef: y,
402
+ prefixRef: Ne,
403
+ suffixRef: De,
404
+ collapseItemRef: F,
405
+ popperRef: et,
406
+ validateState: $e,
407
+ validateIcon: Ge,
408
+ showTagList: nt,
409
+ collapseTagList: at,
321
410
  // methods exports
322
- debouncedOnInputChange: J,
323
- deleteTag: He,
324
- getLabel: We,
325
- getValueKey: h,
326
- handleBlur: ee,
327
- handleClear: Be,
328
- handleClickOutside: ze,
329
- handleDel: Ae,
330
- handleEsc: Pe,
331
- handleFocus: Ne,
332
- handleMenuEnter: Ke,
333
- handleResize: Y,
334
- toggleMenu: E,
335
- scrollTo: W,
336
- onInput: ne,
337
- onKeyboardNavigate: te,
338
- onKeyboardSelect: De,
339
- onSelect: Z,
340
- onHover: v,
341
- onUpdateInputValue: C,
342
- handleCompositionStart: Le,
343
- handleCompositionEnd: Re,
344
- handleCompositionUpdate: Te
411
+ debouncedOnInputChange: Oe,
412
+ deleteTag: st,
413
+ getLabel: g,
414
+ getValue: d,
415
+ getDisabled: R,
416
+ getValueKey: r,
417
+ handleClear: mt,
418
+ handleClickOutside: Vt,
419
+ handleDel: ft,
420
+ handleEsc: dt,
421
+ focus: H,
422
+ blur: ct,
423
+ handleMenuEnter: bt,
424
+ handleResize: Ie,
425
+ resetSelectionWidth: pe,
426
+ updateTooltip: Y,
427
+ updateTagTooltip: we,
428
+ updateOptions: he,
429
+ toggleMenu: q,
430
+ scrollTo: Z,
431
+ onInput: Ee,
432
+ onKeyboardNavigate: Ce,
433
+ onKeyboardSelect: ht,
434
+ onSelect: ye,
435
+ onHover: vt,
436
+ handleCompositionStart: He,
437
+ handleCompositionEnd: Be,
438
+ handleCompositionUpdate: Pe
345
439
  };
346
440
  };
347
441
  export {
348
- xt as default
442
+ il as default
349
443
  };