vft 0.0.142 → 0.0.145

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 (1002) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/es/app-components/base/style/index.d.ts +0 -0
  4. package/es/app-components/button/button-custom.d.ts +5 -0
  5. package/es/app-components/button/constants.d.ts +3 -0
  6. package/es/app-components/button/index.d.ts +5 -0
  7. package/es/app-components/button/style/index.d.ts +0 -0
  8. package/es/app-components/button/types.d.ts +9 -0
  9. package/es/{components → app-components}/button/use-button.d.ts +2 -3
  10. package/es/app-components/clamp/index.d.ts +2 -0
  11. package/es/app-components/clamp/style/index.d.ts +0 -0
  12. package/es/app-components/col/index.d.ts +4 -0
  13. package/es/app-components/col/style/index.d.ts +0 -0
  14. package/es/app-components/col/types.d.ts +11 -0
  15. package/es/app-components/form/constants.d.ts +4 -0
  16. package/es/app-components/form/form-label-wrap.d.ts +11 -0
  17. package/es/app-components/form/hooks/index.d.ts +2 -0
  18. package/es/{components → app-components}/form/hooks/use-form-common-props.d.ts +6 -5
  19. package/es/app-components/form/hooks/use-form-item.d.ts +18 -0
  20. package/es/app-components/form/index.d.ts +5 -0
  21. package/es/app-components/form/style/index.d.ts +0 -0
  22. package/es/app-components/form/types.d.ts +43 -0
  23. package/es/app-components/form/utils.d.ts +9 -0
  24. package/es/app-components/hooks/index.d.ts +2 -0
  25. package/es/app-components/hooks/use-id.d.ts +9 -0
  26. package/es/app-components/hooks/use-namespace.d.ts +22 -0
  27. package/es/app-components/icon/index.d.ts +3 -0
  28. package/es/app-components/icon/style/index.d.ts +0 -0
  29. package/es/app-components/image/index.d.ts +3 -0
  30. package/es/app-components/image/style/index.d.ts +0 -0
  31. package/es/app-components/image/types.d.ts +13 -0
  32. package/es/app-components/index.d.ts +11 -0
  33. package/es/app-components/input/index.d.ts +3 -0
  34. package/es/app-components/input/style/index.d.ts +0 -0
  35. package/es/app-components/input/utils.d.ts +6 -0
  36. package/es/app-components/overlay/index.d.ts +2 -0
  37. package/es/app-components/overlay/style/index.d.ts +0 -0
  38. package/es/app-components/popup/index.d.ts +3 -0
  39. package/es/app-components/popup/style/index.d.ts +0 -0
  40. package/es/app-components/popup/types.d.ts +1 -0
  41. package/es/app-components/row/constants.d.ts +6 -0
  42. package/es/app-components/row/index.d.ts +5 -0
  43. package/es/app-components/row/style/index.d.ts +0 -0
  44. package/es/app-components/row/types.d.ts +2 -0
  45. package/es/app-components/super-form/component-map.d.ts +14 -0
  46. package/es/app-components/super-form/index.d.ts +5 -0
  47. package/es/app-components/super-form/style/index.d.ts +0 -0
  48. package/es/app-components/super-form/types.d.ts +177 -0
  49. package/es/app-components/super-form/use/helper.d.ts +17 -0
  50. package/es/app-components/super-form/use/use-auto-focus.d.ts +11 -0
  51. package/es/app-components/super-form/use/use-form-context.d.ts +8 -0
  52. package/es/app-components/super-form/use/use-form-events.d.ts +30 -0
  53. package/es/app-components/super-form/use/use-form-values.d.ts +14 -0
  54. package/es/app-components/super-form/use/use-form.d.ts +9 -0
  55. package/es/app-components/types.d.ts +6 -0
  56. package/es/app-components/upload/index.d.ts +3 -0
  57. package/es/app-components/upload/style/index.d.ts +0 -0
  58. package/es/app-components/upload/types.d.ts +33 -0
  59. package/es/app-components/upload/utils.d.ts +26 -0
  60. package/es/app-components/utils/index.d.ts +1 -0
  61. package/es/app-components/utils/interceptor.d.ts +6 -0
  62. package/es/component.d.ts +0 -1
  63. package/es/components/affix/affix.d.ts +1 -1
  64. package/es/components/affix/affix.js +4 -5
  65. package/es/components/affix/affix.vue.d.ts +6 -6
  66. package/es/components/affix/index.d.ts +17 -17
  67. package/es/components/affix/index.js +1 -1
  68. package/es/components/alert/alert.vue.d.ts +1 -1
  69. package/es/components/alert/alert.vue2.js +6 -3
  70. package/es/components/alert/index.d.ts +2 -2
  71. package/es/components/alert/index.js +1 -1
  72. package/es/components/autocomplete/autocomplete.vue.d.ts +36 -29
  73. package/es/components/autocomplete/autocomplete.vue2.js +25 -25
  74. package/es/components/autocomplete/index.d.ts +109 -88
  75. package/es/components/autocomplete/index.js +1 -1
  76. package/es/components/avatar/avatar.vue.d.ts +3 -1
  77. package/es/components/avatar/index.d.ts +8 -4
  78. package/es/components/avatar/index.js +1 -1
  79. package/es/components/backtop/backtop.vue.d.ts +3 -1
  80. package/es/components/backtop/backtop.vue2.js +20 -20
  81. package/es/components/backtop/index.d.ts +8 -4
  82. package/es/components/backtop/index.js +1 -1
  83. package/es/components/button/button-custom.d.ts +1 -0
  84. package/es/components/button/button-group.vue.d.ts +4 -10
  85. package/es/components/button/button-group.vue2.js +17 -16
  86. package/es/components/button/button.vue2.js +44 -47
  87. package/es/components/button/constants.d.ts +2 -6
  88. package/es/components/button/index.js +1 -1
  89. package/es/components/button/mobile.d.ts +6 -0
  90. package/es/components/button/mobile.js +8 -0
  91. package/es/components/button/types.d.ts +5 -0
  92. package/es/components/button/use-button.js +30 -28
  93. package/es/components/card/card.vue.d.ts +2 -2
  94. package/es/components/card/card.vue2.js +11 -11
  95. package/es/components/card/index.d.ts +4 -4
  96. package/es/components/card/index.js +1 -1
  97. package/es/components/carousel/carousel.vue.d.ts +21 -21
  98. package/es/components/carousel/carousel.vue2.js +6 -3
  99. package/es/components/carousel/index.d.ts +37 -37
  100. package/es/components/carousel/index.js +1 -1
  101. package/es/components/check-tag/check-tag.vue2.js +8 -8
  102. package/es/components/check-tag/index.d.ts +1 -1
  103. package/es/components/check-tag/index.js +1 -1
  104. package/es/components/checkbox/checkbox-button.vue.d.ts +4 -1
  105. package/es/components/checkbox/checkbox-group.vue.d.ts +4 -1
  106. package/es/components/checkbox/checkbox.vue.d.ts +20 -17
  107. package/es/components/checkbox/checkbox.vue2.js +12 -12
  108. package/es/components/checkbox/index.d.ts +93 -63
  109. package/es/components/checkbox/index.js +1 -1
  110. package/es/components/clamp/clamp.vue.d.ts +6 -6
  111. package/es/components/clamp/clamp.vue2.js +2 -2
  112. package/es/components/clamp/index.d.ts +12 -12
  113. package/es/components/clamp/index.js +1 -1
  114. package/es/components/clamp-toggle/clamp-toggle.vue2.js +17 -17
  115. package/es/components/clamp-toggle/index.js +1 -1
  116. package/es/components/col/col.vue.d.ts +12 -14
  117. package/es/components/col/col.vue2.js +21 -19
  118. package/es/components/col/index.d.ts +12 -12
  119. package/es/components/col/index.js +1 -1
  120. package/es/components/col/types.d.ts +4 -0
  121. package/es/components/collapse-transition/src/collapse-transition.vue2.js +8 -5
  122. package/es/components/color-picker/color-picker.vue.d.ts +16 -11
  123. package/es/components/color-picker/index.d.ts +16 -11
  124. package/es/components/color-picker/index.js +1 -1
  125. package/es/components/config-provider/config-provider.vue2.js +26 -26
  126. package/es/components/config-provider/index.js +1 -1
  127. package/es/components/container/aside.vue2.js +9 -9
  128. package/es/components/container/container.vue.d.ts +2 -2
  129. package/es/components/container/container.vue2.js +10 -10
  130. package/es/components/container/footer.vue2.js +5 -5
  131. package/es/components/container/header.vue2.js +15 -15
  132. package/es/components/container/index.d.ts +10 -10
  133. package/es/components/container/index.js +1 -1
  134. package/es/components/container/main.vue2.js +7 -7
  135. package/es/components/context-menu/context-menu.vue2.js +25 -25
  136. package/es/components/date-picker/composables/use-range-picker.d.ts +1 -1
  137. package/es/components/date-picker/date-picker-com/basic-date-table.vue.d.ts +5 -1
  138. package/es/components/date-picker/date-picker-com/basic-month-table.vue.d.ts +5 -1
  139. package/es/components/date-picker/date-picker-com/basic-year-table.vue.d.ts +3 -1
  140. package/es/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +6 -2
  141. package/es/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +7 -2
  142. package/es/components/date-picker/date-picker-com/panel-month-range.vue.d.ts +4 -4
  143. package/es/components/date-picker/date-picker.d.ts +3 -3
  144. package/es/components/date-picker/index.d.ts +6 -6
  145. package/es/components/date-picker/panel-utils.d.ts +78 -25
  146. package/es/components/date-picker/props/basic-cell.js +2 -3
  147. package/es/components/date-picker/props/basic-date-table.js +2 -3
  148. package/es/components/date-picker/props/basic-month-table.js +2 -3
  149. package/es/components/date-picker/props/basic-year-table.js +4 -5
  150. package/es/components/date-picker/props/date-picker.js +2 -3
  151. package/es/components/date-picker/props/panel-date-pick.js +4 -5
  152. package/es/components/date-picker/props/panel-date-range.js +2 -3
  153. package/es/components/date-picker/props/panel-month-range.js +4 -5
  154. package/es/components/date-picker/props/shared.js +13 -14
  155. package/es/components/date-time-select/date-time-select.vue2.js +32 -32
  156. package/es/components/date-time-select/index.js +1 -1
  157. package/es/components/descriptions/description-item.vue2.js +12 -11
  158. package/es/components/descriptions/description.vue.d.ts +2 -2
  159. package/es/components/descriptions/description.vue2.js +5 -5
  160. package/es/components/descriptions/descriptions-cell.js +5 -5
  161. package/es/components/descriptions/index.d.ts +9 -9
  162. package/es/components/descriptions/index.js +1 -1
  163. package/es/components/dialog/dialog-content.vue.d.ts +3 -1
  164. package/es/components/dialog/dialog.vue.d.ts +7 -7
  165. package/es/components/dialog/dialog.vue2.js +19 -19
  166. package/es/components/dialog/index.d.ts +18 -18
  167. package/es/components/dialog/index.js +1 -1
  168. package/es/components/divider/divider.vue.d.ts +7 -2
  169. package/es/components/divider/index.d.ts +4 -4
  170. package/es/components/divider/index.js +1 -1
  171. package/es/components/drawer/drawer.vue.d.ts +7 -7
  172. package/es/components/drawer/drawer.vue2.js +5 -5
  173. package/es/components/drawer/index.d.ts +18 -18
  174. package/es/components/drawer/index.js +1 -1
  175. package/es/components/dropdown/dropdown.vue.d.ts +40 -40
  176. package/es/components/dropdown/dropdown.vue2.js +23 -23
  177. package/es/components/dropdown/index.d.ts +68 -68
  178. package/es/components/dropdown/index.js +1 -1
  179. package/es/components/empty/empty.vue2.js +22 -22
  180. package/es/components/empty/index.js +1 -1
  181. package/es/components/exception/index.js +1 -1
  182. package/es/components/footer-layout/footer-layout.vue2.js +13 -13
  183. package/es/components/footer-layout/index.js +1 -1
  184. package/es/components/form/form-item.vue.d.ts +14 -13
  185. package/es/components/form/form-item.vue2.js +4 -5
  186. package/es/components/form/form.vue.d.ts +5 -3
  187. package/es/components/form/form.vue2.js +1 -1
  188. package/es/components/form/hooks/use-form-common-props.js +1 -1
  189. package/es/components/form/index.d.ts +66 -62
  190. package/es/components/form/index.js +1 -1
  191. package/es/components/full-screen/full-screen.vue2.js +15 -15
  192. package/es/components/full-screen/index.js +1 -1
  193. package/es/components/header-layout/header-layout.vue2.js +18 -18
  194. package/es/components/header-layout/index.js +1 -1
  195. package/es/components/horizontal-menu/horizontal-menu.vue2.js +46 -46
  196. package/es/components/horizontal-menu/index.js +1 -1
  197. package/es/components/icon/icon.vue2.js +12 -12
  198. package/es/components/icon/index.js +1 -1
  199. package/es/components/icon-text/icon-text.vue2.js +14 -14
  200. package/es/components/icon-text/index.js +1 -1
  201. package/es/components/iframe-layout/iframe-page.vue2.js +7 -7
  202. package/es/components/iframe-layout/index.js +1 -1
  203. package/es/components/image/image.vue.d.ts +7 -1
  204. package/es/components/image/index.d.ts +19 -7
  205. package/es/components/image/index.js +1 -1
  206. package/es/components/image-viewer/image-viewer.vue.d.ts +2 -2
  207. package/es/components/image-viewer/image-viewer.vue2.js +15 -15
  208. package/es/components/image-viewer/index.d.ts +6 -6
  209. package/es/components/image-viewer/index.js +1 -1
  210. package/es/components/index.js +113 -113
  211. package/es/components/input/index.d.ts +53 -53
  212. package/es/components/input/index.js +1 -1
  213. package/es/components/input/input.vue.d.ts +17 -17
  214. package/es/components/input/input.vue2.js +11 -12
  215. package/es/components/input-number/index.d.ts +5 -5
  216. package/es/components/input-number/index.js +1 -1
  217. package/es/components/input-number/input-number.vue.d.ts +5 -5
  218. package/es/components/input-number/input-number.vue2.js +31 -31
  219. package/es/components/link/index.d.ts +9 -5
  220. package/es/components/link/index.js +1 -1
  221. package/es/components/link/link.vue.d.ts +3 -1
  222. package/es/components/link/link.vue2.js +20 -20
  223. package/es/components/list-cell/index.js +1 -1
  224. package/es/components/list-cell/list-cell.vue2.js +14 -14
  225. package/es/components/logo/index.js +1 -1
  226. package/es/components/logo/logo.vue2.js +8 -8
  227. package/es/components/md-code-demo/index.d.ts +3 -3
  228. package/es/components/md-code-demo/index.js +1 -1
  229. package/es/components/md-code-demo/md-code-demo.d.ts +3 -3
  230. package/es/components/md-code-tabs/index.js +1 -1
  231. package/es/components/md-comment/index.js +1 -1
  232. package/es/components/md-comment/md-comment.vue2.js +10 -10
  233. package/es/components/md-container/index.js +1 -1
  234. package/es/components/md-container/md-container.vue2.js +57 -49
  235. package/es/components/md-tabs/index.js +1 -1
  236. package/es/components/md-vue-playground/index.js +1 -1
  237. package/es/components/menu/index.d.ts +24 -8
  238. package/es/components/menu/index.js +1 -1
  239. package/es/components/menu/menu-item-group.vue2.js +14 -14
  240. package/es/components/menu/menu-item.vue.d.ts +5 -1
  241. package/es/components/menu/menu-item.vue2.js +21 -21
  242. package/es/components/menu/menu.vue.d.ts +2 -2
  243. package/es/components/menu/menu.vue2.js +21 -21
  244. package/es/components/menu/sub-menu.vue2.js +43 -43
  245. package/es/components/message/index.js +1 -1
  246. package/es/components/message/message.vue.d.ts +3 -1
  247. package/es/components/message/method.js +5 -5
  248. package/es/components/modal/index.d.ts +497 -1
  249. package/es/components/modal/index.js +1 -1
  250. package/es/components/modal/modal.vue.d.ts +246 -1
  251. package/es/components/modal/use/use-modal.d.ts +1 -1
  252. package/es/components/multiple-tabs/index.js +1 -1
  253. package/es/components/multiple-tabs/multiple-tabs.vue2.js +49 -49
  254. package/es/components/overlay/index.d.ts +3 -1
  255. package/es/components/overlay/index.js +1 -1
  256. package/es/components/overlay/overlay.vue.d.ts +3 -1
  257. package/es/components/overlay/overlay.vue2.js +21 -21
  258. package/es/components/page-wrapper/index.js +1 -1
  259. package/es/components/page-wrapper/page-wrapper.vue2.js +17 -17
  260. package/es/components/pagination/components/next.vue.d.ts +3 -1
  261. package/es/components/pagination/components/pager.vue.d.ts +3 -1
  262. package/es/components/pagination/components/prev.vue.d.ts +3 -1
  263. package/es/components/pagination/components/sizes.vue.d.ts +3 -1
  264. package/es/components/pagination/components/sizes.vue2.js +3 -1
  265. package/es/components/pagination/index.d.ts +6 -6
  266. package/es/components/pagination/index.js +1 -1
  267. package/es/components/pagination/pagination.vue.d.ts +6 -6
  268. package/es/components/pagination/pagination.vue2.js +22 -22
  269. package/es/components/popconfirm/index.d.ts +18 -18
  270. package/es/components/popconfirm/index.js +1 -1
  271. package/es/components/popconfirm/popconfirm.vue.d.ts +11 -11
  272. package/es/components/popover/index.d.ts +24 -12
  273. package/es/components/popover/index.js +1 -1
  274. package/es/components/popover/popover.vue.d.ts +9 -3
  275. package/es/components/popover/popover.vue2.js +7 -7
  276. package/es/components/popper/composables/use-content-dom.d.ts +1 -1
  277. package/es/components/popper/composables/use-content.d.ts +3 -3
  278. package/es/components/popper/content.vue.d.ts +13 -7
  279. package/es/components/popper/index.d.ts +4 -4
  280. package/es/components/popper/index.js +1 -1
  281. package/es/components/popper/popper.vue.d.ts +2 -2
  282. package/es/components/progress/index.d.ts +5 -5
  283. package/es/components/progress/index.js +1 -1
  284. package/es/components/progress/progress.vue.d.ts +2 -2
  285. package/es/components/progress/progress.vue2.js +7 -7
  286. package/es/components/progress-i/index.js +1 -1
  287. package/es/components/qrcode/index.d.ts +4 -1
  288. package/es/components/qrcode/index.js +1 -1
  289. package/es/components/qrcode/qrcode.vue.d.ts +4 -1
  290. package/es/components/radio/index.d.ts +57 -39
  291. package/es/components/radio/index.js +1 -1
  292. package/es/components/radio/radio-group.vue.d.ts +10 -7
  293. package/es/components/radio/radio.vue.d.ts +4 -1
  294. package/es/components/radio/radio.vue2.js +14 -14
  295. package/es/components/result/index.js +1 -1
  296. package/es/components/result/result.vue2.js +10 -10
  297. package/es/components/router-view-content/index.js +1 -1
  298. package/es/components/row/index.d.ts +15 -37
  299. package/es/components/row/index.js +1 -1
  300. package/es/components/row/row.vue.d.ts +12 -21
  301. package/es/components/row/row.vue2.js +17 -18
  302. package/es/components/scrollbar/index.d.ts +11 -11
  303. package/es/components/scrollbar/index.js +1 -1
  304. package/es/components/scrollbar/scrollbar.vue.d.ts +2 -2
  305. package/es/components/scrollbar/scrollbar.vue2.js +23 -23
  306. package/es/components/search/index.d.ts +10 -10
  307. package/es/components/search/index.js +1 -1
  308. package/es/components/search/search.vue2.js +14 -14
  309. package/es/components/select/defaults.js +4 -5
  310. package/es/components/select/index.d.ts +2 -1646
  311. package/es/components/select/select.vue.d.ts +1 -823
  312. package/es/components/select/useSelect.d.ts +29 -22
  313. package/es/components/select/useSelect.js +4 -4
  314. package/es/components/side-menu/index.js +1 -1
  315. package/es/components/skeleton/index.js +1 -1
  316. package/es/components/skeleton/skeleton.vue2.js +13 -13
  317. package/es/components/slider/button.vue.d.ts +1 -1
  318. package/es/components/slider/composables/use-slide.d.ts +4 -4
  319. package/es/components/slider/index.d.ts +3 -3
  320. package/es/components/slider/index.js +1 -1
  321. package/es/components/slider/slider.vue.d.ts +3 -3
  322. package/es/components/slider/slider.vue2.js +1 -1
  323. package/es/components/space/index.d.ts +3 -3
  324. package/es/components/space/index.js +1 -1
  325. package/es/components/space/item.js +1 -1
  326. package/es/components/space/space.d.ts +4 -4
  327. package/es/components/space/space.js +11 -12
  328. package/es/components/super-form/index.d.ts +51 -85
  329. package/es/components/super-form/index.js +1 -1
  330. package/es/components/super-form/super-form-item.vue.d.ts +18 -22
  331. package/es/components/super-form/super-form-item.vue2.js +178 -175
  332. package/es/components/super-form/super-form.vue.d.ts +24 -44
  333. package/es/components/super-form/super-form.vue2.js +108 -117
  334. package/es/components/super-form/types.d.ts +61 -22
  335. package/es/components/super-form/use/helper.d.ts +14 -0
  336. package/es/components/super-form/use/use-auto-focus.d.ts +1 -0
  337. package/es/components/super-form/use/use-form-context.d.ts +1 -1
  338. package/es/components/super-form/use/use-form-events.d.ts +1 -0
  339. package/es/components/super-form/use/use-form-events.js +61 -59
  340. package/es/components/super-form/use/use-form-values.d.ts +2 -1
  341. package/es/components/super-form/use/use-form-values.js +43 -47
  342. package/es/components/switch/index.d.ts +23 -19
  343. package/es/components/switch/index.js +1 -1
  344. package/es/components/switch/switch.vue.d.ts +23 -19
  345. package/es/components/switch/switch.vue2.js +53 -53
  346. package/es/components/table/index.d.ts +254 -84
  347. package/es/components/table/index.js +1 -1
  348. package/es/components/table/table.vue.d.ts +125 -40
  349. package/es/components/table/table.vue2.js +20 -20
  350. package/es/components/table/types.d.ts +1 -0
  351. package/es/components/table/use/use-columns.d.ts +12 -12
  352. package/es/components/table/use/use-data-source.d.ts +5 -5
  353. package/es/components/tabs/index.d.ts +11 -11
  354. package/es/components/tabs/index.js +1 -1
  355. package/es/components/tabs/tab-nav.vue.d.ts +6 -1
  356. package/es/components/tabs/tab-nav.vue2.js +42 -40
  357. package/es/components/tabs/tab-pane.vue2.js +11 -11
  358. package/es/components/tabs/tabs.vue.d.ts +9 -13
  359. package/es/components/tabs/tabs.vue2.js +53 -68
  360. package/es/components/tag/index.d.ts +4 -1
  361. package/es/components/tag/index.js +1 -1
  362. package/es/components/tag/tag.vue.d.ts +4 -1
  363. package/es/components/time-picker/common/picker.vue.d.ts +13 -4
  364. package/es/components/time-picker/common/props.js +2 -3
  365. package/es/components/time-picker/composables/use-time-picker.d.ts +2 -2
  366. package/es/components/time-picker/index.d.ts +6 -6
  367. package/es/components/time-picker/props/basic-time-spinner.js +2 -3
  368. package/es/components/time-picker/props/panel-time-picker.js +4 -5
  369. package/es/components/time-picker/props/panel-time-range.js +2 -3
  370. package/es/components/time-picker/props/shared.js +2 -3
  371. package/es/components/time-picker/time-picker-com/basic-time-spinner.vue.d.ts +5 -1
  372. package/es/components/time-picker/time-picker-com/panel-time-pick.vue.d.ts +5 -1
  373. package/es/components/time-picker/time-picker-com/panel-time-range.vue.d.ts +5 -1
  374. package/es/components/time-picker/time-picker.d.ts +3 -3
  375. package/es/components/time-select/time-select.js +2 -3
  376. package/es/components/time-select/time-select.vue.d.ts +7 -2
  377. package/es/components/tooltip/content.vue.d.ts +6 -6
  378. package/es/components/tooltip/index.d.ts +39 -25
  379. package/es/components/tooltip/index.js +1 -1
  380. package/es/components/tooltip/tooltip.vue.d.ts +12 -5
  381. package/es/components/tree/index.d.ts +70 -70
  382. package/es/components/tree/tree.vue.d.ts +18 -18
  383. package/es/components/types.d.ts +3 -0
  384. package/es/components/upload/index.d.ts +37 -37
  385. package/es/components/upload/index.js +1 -1
  386. package/es/components/upload/upload-content.vue.d.ts +20 -20
  387. package/es/components/upload/upload.vue.d.ts +20 -20
  388. package/es/components/verify-code/index.d.ts +2 -6
  389. package/es/components/verify-code/index.js +1 -1
  390. package/es/components/verify-code/verify-code.vue.d.ts +2 -6
  391. package/es/components/virtual-list/builders/build-list.d.ts +3 -3
  392. package/es/components/virtual-list/components/dynamic-size-list.d.ts +3 -3
  393. package/es/components/virtual-list/components/fixed-size-list.d.ts +3 -3
  394. package/es/components/virtual-list/components/scrollbar.d.ts +3 -3
  395. package/es/components/virtual-list/components/scrollbar.js +9 -9
  396. package/es/components/virtual-list/hooks/use-grid-wheel.js +1 -1
  397. package/es/components/virtual-list/hooks/use-wheel.js +1 -1
  398. package/es/components/virtual-list/props.d.ts +2 -2
  399. package/es/components/virtual-list/props.js +6 -7
  400. package/es/defaults.d.ts +1 -1
  401. package/es/hooks/index.d.ts +0 -2
  402. package/es/hooks/index.js +46 -50
  403. package/es/hooks/use-ordered-children/index.js +5 -5
  404. package/es/hooks/use-popper/index.d.ts +3 -3
  405. package/es/index.d.ts +1 -1
  406. package/es/index.js +286 -292
  407. package/es/make-installer.d.ts +1 -1
  408. package/es/package.json.d.ts +2 -2
  409. package/es/package.json.js +1 -1
  410. package/es/plugin.d.ts +0 -1
  411. package/es/utils/index.d.ts +0 -1
  412. package/es/utils/index.js +36 -38
  413. package/es/utils/vue/props/runtime.js +19 -20
  414. package/lib/app-components/base/style/index.d.ts +0 -0
  415. package/lib/app-components/button/button-custom.d.ts +5 -0
  416. package/lib/app-components/button/constants.d.ts +3 -0
  417. package/lib/app-components/button/index.d.ts +5 -0
  418. package/lib/app-components/button/style/index.d.ts +0 -0
  419. package/lib/app-components/button/types.d.ts +9 -0
  420. package/lib/{components → app-components}/button/use-button.d.ts +2 -3
  421. package/lib/app-components/clamp/index.d.ts +2 -0
  422. package/lib/app-components/clamp/style/index.d.ts +0 -0
  423. package/lib/app-components/col/index.d.ts +4 -0
  424. package/lib/app-components/col/style/index.d.ts +0 -0
  425. package/lib/app-components/col/types.d.ts +11 -0
  426. package/lib/app-components/form/constants.d.ts +4 -0
  427. package/lib/app-components/form/form-label-wrap.d.ts +11 -0
  428. package/lib/app-components/form/hooks/index.d.ts +2 -0
  429. package/lib/{components → app-components}/form/hooks/use-form-common-props.d.ts +6 -5
  430. package/lib/app-components/form/hooks/use-form-item.d.ts +18 -0
  431. package/lib/app-components/form/index.d.ts +5 -0
  432. package/lib/app-components/form/style/index.d.ts +0 -0
  433. package/lib/app-components/form/types.d.ts +43 -0
  434. package/lib/app-components/form/utils.d.ts +9 -0
  435. package/lib/app-components/hooks/index.d.ts +2 -0
  436. package/lib/app-components/hooks/use-id.d.ts +9 -0
  437. package/lib/app-components/hooks/use-namespace.d.ts +22 -0
  438. package/lib/app-components/icon/index.d.ts +3 -0
  439. package/lib/app-components/icon/style/index.d.ts +0 -0
  440. package/lib/app-components/image/index.d.ts +3 -0
  441. package/lib/app-components/image/style/index.d.ts +0 -0
  442. package/lib/app-components/image/types.d.ts +13 -0
  443. package/lib/app-components/index.d.ts +11 -0
  444. package/lib/app-components/input/index.d.ts +3 -0
  445. package/lib/app-components/input/style/index.d.ts +0 -0
  446. package/lib/app-components/input/utils.d.ts +6 -0
  447. package/lib/app-components/overlay/index.d.ts +2 -0
  448. package/lib/app-components/overlay/style/index.d.ts +0 -0
  449. package/lib/app-components/popup/index.d.ts +3 -0
  450. package/lib/app-components/popup/style/index.d.ts +0 -0
  451. package/lib/app-components/popup/types.d.ts +1 -0
  452. package/lib/app-components/row/constants.d.ts +6 -0
  453. package/lib/app-components/row/index.d.ts +5 -0
  454. package/lib/app-components/row/style/index.d.ts +0 -0
  455. package/lib/app-components/row/types.d.ts +2 -0
  456. package/lib/app-components/super-form/component-map.d.ts +14 -0
  457. package/lib/app-components/super-form/index.d.ts +5 -0
  458. package/lib/app-components/super-form/style/index.d.ts +0 -0
  459. package/lib/app-components/super-form/types.d.ts +177 -0
  460. package/lib/app-components/super-form/use/helper.d.ts +17 -0
  461. package/lib/app-components/super-form/use/use-auto-focus.d.ts +11 -0
  462. package/lib/app-components/super-form/use/use-form-context.d.ts +8 -0
  463. package/lib/app-components/super-form/use/use-form-events.d.ts +30 -0
  464. package/lib/app-components/super-form/use/use-form-values.d.ts +14 -0
  465. package/lib/app-components/super-form/use/use-form.d.ts +9 -0
  466. package/lib/app-components/types.d.ts +6 -0
  467. package/lib/app-components/upload/index.d.ts +3 -0
  468. package/lib/app-components/upload/style/index.d.ts +0 -0
  469. package/lib/app-components/upload/types.d.ts +33 -0
  470. package/lib/app-components/upload/utils.d.ts +26 -0
  471. package/lib/app-components/utils/index.d.ts +1 -0
  472. package/lib/app-components/utils/interceptor.d.ts +6 -0
  473. package/lib/component.d.ts +0 -1
  474. package/lib/components/affix/affix.cjs +1 -1
  475. package/lib/components/affix/affix.d.ts +1 -1
  476. package/lib/components/affix/affix.vue.d.ts +6 -6
  477. package/lib/components/affix/index.cjs +1 -1
  478. package/lib/components/affix/index.d.ts +17 -17
  479. package/lib/components/alert/alert.vue.d.ts +1 -1
  480. package/lib/components/alert/alert.vue2.cjs +1 -1
  481. package/lib/components/alert/index.cjs +1 -1
  482. package/lib/components/alert/index.d.ts +2 -2
  483. package/lib/components/autocomplete/autocomplete.vue.d.ts +36 -29
  484. package/lib/components/autocomplete/autocomplete.vue2.cjs +1 -1
  485. package/lib/components/autocomplete/index.cjs +1 -1
  486. package/lib/components/autocomplete/index.d.ts +109 -88
  487. package/lib/components/avatar/avatar.vue.d.ts +3 -1
  488. package/lib/components/avatar/index.cjs +1 -1
  489. package/lib/components/avatar/index.d.ts +8 -4
  490. package/lib/components/backtop/backtop.vue.d.ts +3 -1
  491. package/lib/components/backtop/backtop.vue2.cjs +1 -1
  492. package/lib/components/backtop/index.cjs +1 -1
  493. package/lib/components/backtop/index.d.ts +8 -4
  494. package/lib/components/button/button-custom.d.ts +1 -0
  495. package/lib/components/button/button-group.vue.d.ts +4 -10
  496. package/lib/components/button/button-group.vue2.cjs +1 -1
  497. package/lib/components/button/button.vue2.cjs +1 -1
  498. package/lib/components/button/constants.d.ts +2 -6
  499. package/lib/components/button/index.cjs +1 -1
  500. package/lib/components/button/mobile.cjs +1 -0
  501. package/lib/components/button/mobile.d.ts +6 -0
  502. package/lib/components/button/types.d.ts +5 -0
  503. package/lib/components/button/use-button.cjs +1 -1
  504. package/lib/components/card/card.vue.d.ts +2 -2
  505. package/lib/components/card/card.vue2.cjs +1 -1
  506. package/lib/components/card/index.cjs +1 -1
  507. package/lib/components/card/index.d.ts +4 -4
  508. package/lib/components/carousel/carousel.vue.d.ts +21 -21
  509. package/lib/components/carousel/carousel.vue2.cjs +1 -1
  510. package/lib/components/carousel/index.cjs +1 -1
  511. package/lib/components/carousel/index.d.ts +37 -37
  512. package/lib/components/check-tag/check-tag.vue2.cjs +1 -1
  513. package/lib/components/check-tag/index.cjs +1 -1
  514. package/lib/components/check-tag/index.d.ts +1 -1
  515. package/lib/components/checkbox/checkbox-button.vue.d.ts +4 -1
  516. package/lib/components/checkbox/checkbox-group.vue.d.ts +4 -1
  517. package/lib/components/checkbox/checkbox.vue.d.ts +20 -17
  518. package/lib/components/checkbox/checkbox.vue2.cjs +1 -1
  519. package/lib/components/checkbox/index.cjs +1 -1
  520. package/lib/components/checkbox/index.d.ts +93 -63
  521. package/lib/components/clamp/clamp.vue.d.ts +6 -6
  522. package/lib/components/clamp/clamp.vue2.cjs +1 -1
  523. package/lib/components/clamp/index.cjs +1 -1
  524. package/lib/components/clamp/index.d.ts +12 -12
  525. package/lib/components/clamp-toggle/clamp-toggle.vue2.cjs +1 -1
  526. package/lib/components/clamp-toggle/index.cjs +1 -1
  527. package/lib/components/col/col.vue.d.ts +12 -14
  528. package/lib/components/col/col.vue2.cjs +1 -1
  529. package/lib/components/col/index.cjs +1 -1
  530. package/lib/components/col/index.d.ts +12 -12
  531. package/lib/components/col/types.d.ts +4 -0
  532. package/lib/components/collapse-transition/src/collapse-transition.vue2.cjs +1 -1
  533. package/lib/components/color-picker/color-picker.vue.d.ts +16 -11
  534. package/lib/components/color-picker/index.cjs +1 -1
  535. package/lib/components/color-picker/index.d.ts +16 -11
  536. package/lib/components/config-provider/config-provider.vue2.cjs +1 -1
  537. package/lib/components/config-provider/index.cjs +1 -1
  538. package/lib/components/container/aside.vue2.cjs +1 -1
  539. package/lib/components/container/container.vue.d.ts +2 -2
  540. package/lib/components/container/container.vue2.cjs +1 -1
  541. package/lib/components/container/footer.vue2.cjs +1 -1
  542. package/lib/components/container/header.vue2.cjs +1 -1
  543. package/lib/components/container/index.cjs +1 -1
  544. package/lib/components/container/index.d.ts +10 -10
  545. package/lib/components/container/main.vue2.cjs +1 -1
  546. package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
  547. package/lib/components/date-picker/composables/use-range-picker.d.ts +1 -1
  548. package/lib/components/date-picker/date-picker-com/basic-date-table.vue.d.ts +5 -1
  549. package/lib/components/date-picker/date-picker-com/basic-month-table.vue.d.ts +5 -1
  550. package/lib/components/date-picker/date-picker-com/basic-year-table.vue.d.ts +3 -1
  551. package/lib/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +6 -2
  552. package/lib/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +7 -2
  553. package/lib/components/date-picker/date-picker-com/panel-month-range.vue.d.ts +4 -4
  554. package/lib/components/date-picker/date-picker.d.ts +3 -3
  555. package/lib/components/date-picker/index.d.ts +6 -6
  556. package/lib/components/date-picker/panel-utils.d.ts +78 -25
  557. package/lib/components/date-picker/props/basic-cell.cjs +1 -1
  558. package/lib/components/date-picker/props/basic-date-table.cjs +1 -1
  559. package/lib/components/date-picker/props/basic-month-table.cjs +1 -1
  560. package/lib/components/date-picker/props/basic-year-table.cjs +1 -1
  561. package/lib/components/date-picker/props/date-picker.cjs +1 -1
  562. package/lib/components/date-picker/props/panel-date-pick.cjs +1 -1
  563. package/lib/components/date-picker/props/panel-date-range.cjs +1 -1
  564. package/lib/components/date-picker/props/panel-month-range.cjs +1 -1
  565. package/lib/components/date-picker/props/shared.cjs +1 -1
  566. package/lib/components/date-time-select/date-time-select.vue2.cjs +1 -1
  567. package/lib/components/date-time-select/index.cjs +1 -1
  568. package/lib/components/descriptions/description-item.vue2.cjs +1 -1
  569. package/lib/components/descriptions/description.vue.d.ts +2 -2
  570. package/lib/components/descriptions/description.vue2.cjs +1 -1
  571. package/lib/components/descriptions/descriptions-cell.cjs +1 -1
  572. package/lib/components/descriptions/index.cjs +1 -1
  573. package/lib/components/descriptions/index.d.ts +9 -9
  574. package/lib/components/dialog/dialog-content.vue.d.ts +3 -1
  575. package/lib/components/dialog/dialog.vue.d.ts +7 -7
  576. package/lib/components/dialog/dialog.vue2.cjs +1 -1
  577. package/lib/components/dialog/index.cjs +1 -1
  578. package/lib/components/dialog/index.d.ts +18 -18
  579. package/lib/components/divider/divider.vue.d.ts +7 -2
  580. package/lib/components/divider/index.cjs +1 -1
  581. package/lib/components/divider/index.d.ts +4 -4
  582. package/lib/components/drawer/drawer.vue.d.ts +7 -7
  583. package/lib/components/drawer/drawer.vue2.cjs +1 -1
  584. package/lib/components/drawer/index.cjs +1 -1
  585. package/lib/components/drawer/index.d.ts +18 -18
  586. package/lib/components/dropdown/dropdown.vue.d.ts +40 -40
  587. package/lib/components/dropdown/dropdown.vue2.cjs +1 -1
  588. package/lib/components/dropdown/index.cjs +1 -1
  589. package/lib/components/dropdown/index.d.ts +68 -68
  590. package/lib/components/empty/empty.vue2.cjs +1 -1
  591. package/lib/components/empty/index.cjs +1 -1
  592. package/lib/components/exception/index.cjs +1 -1
  593. package/lib/components/footer-layout/footer-layout.vue2.cjs +1 -1
  594. package/lib/components/footer-layout/index.cjs +1 -1
  595. package/lib/components/form/form-item.vue.d.ts +14 -13
  596. package/lib/components/form/form-item.vue2.cjs +1 -1
  597. package/lib/components/form/form.vue.d.ts +5 -3
  598. package/lib/components/form/form.vue2.cjs +1 -1
  599. package/lib/components/form/hooks/use-form-common-props.cjs +1 -1
  600. package/lib/components/form/index.cjs +1 -1
  601. package/lib/components/form/index.d.ts +66 -62
  602. package/lib/components/full-screen/full-screen.vue2.cjs +1 -1
  603. package/lib/components/full-screen/index.cjs +1 -1
  604. package/lib/components/header-layout/header-layout.vue2.cjs +1 -1
  605. package/lib/components/header-layout/index.cjs +1 -1
  606. package/lib/components/horizontal-menu/horizontal-menu.vue2.cjs +1 -1
  607. package/lib/components/horizontal-menu/index.cjs +1 -1
  608. package/lib/components/icon/icon.vue2.cjs +1 -1
  609. package/lib/components/icon/index.cjs +1 -1
  610. package/lib/components/icon-text/icon-text.vue2.cjs +1 -1
  611. package/lib/components/icon-text/index.cjs +1 -1
  612. package/lib/components/iframe-layout/iframe-page.vue2.cjs +1 -1
  613. package/lib/components/iframe-layout/index.cjs +1 -1
  614. package/lib/components/image/image.vue.d.ts +7 -1
  615. package/lib/components/image/index.cjs +1 -1
  616. package/lib/components/image/index.d.ts +19 -7
  617. package/lib/components/image-viewer/image-viewer.vue.d.ts +2 -2
  618. package/lib/components/image-viewer/image-viewer.vue2.cjs +1 -1
  619. package/lib/components/image-viewer/index.cjs +1 -1
  620. package/lib/components/image-viewer/index.d.ts +6 -6
  621. package/lib/components/index.cjs +1 -1
  622. package/lib/components/input/index.cjs +1 -1
  623. package/lib/components/input/index.d.ts +53 -53
  624. package/lib/components/input/input.vue.d.ts +17 -17
  625. package/lib/components/input/input.vue2.cjs +1 -1
  626. package/lib/components/input-number/index.cjs +1 -1
  627. package/lib/components/input-number/index.d.ts +5 -5
  628. package/lib/components/input-number/input-number.vue.d.ts +5 -5
  629. package/lib/components/input-number/input-number.vue2.cjs +1 -1
  630. package/lib/components/link/index.cjs +1 -1
  631. package/lib/components/link/index.d.ts +9 -5
  632. package/lib/components/link/link.vue.d.ts +3 -1
  633. package/lib/components/link/link.vue2.cjs +1 -1
  634. package/lib/components/list-cell/index.cjs +1 -1
  635. package/lib/components/list-cell/list-cell.vue2.cjs +1 -1
  636. package/lib/components/logo/index.cjs +1 -1
  637. package/lib/components/logo/logo.vue2.cjs +1 -1
  638. package/lib/components/md-code-demo/index.cjs +1 -1
  639. package/lib/components/md-code-demo/index.d.ts +3 -3
  640. package/lib/components/md-code-demo/md-code-demo.d.ts +3 -3
  641. package/lib/components/md-code-tabs/index.cjs +1 -1
  642. package/lib/components/md-comment/index.cjs +1 -1
  643. package/lib/components/md-comment/md-comment.vue2.cjs +1 -1
  644. package/lib/components/md-container/index.cjs +1 -1
  645. package/lib/components/md-container/md-container.vue2.cjs +1 -1
  646. package/lib/components/md-tabs/index.cjs +1 -1
  647. package/lib/components/md-vue-playground/index.cjs +1 -1
  648. package/lib/components/menu/index.cjs +1 -1
  649. package/lib/components/menu/index.d.ts +24 -8
  650. package/lib/components/menu/menu-item-group.vue2.cjs +1 -1
  651. package/lib/components/menu/menu-item.vue.d.ts +5 -1
  652. package/lib/components/menu/menu-item.vue2.cjs +1 -1
  653. package/lib/components/menu/menu.vue.d.ts +2 -2
  654. package/lib/components/menu/menu.vue2.cjs +1 -1
  655. package/lib/components/menu/sub-menu.vue2.cjs +1 -1
  656. package/lib/components/message/index.cjs +1 -1
  657. package/lib/components/message/message.vue.d.ts +3 -1
  658. package/lib/components/message/method.cjs +1 -1
  659. package/lib/components/modal/index.cjs +1 -1
  660. package/lib/components/modal/index.d.ts +497 -1
  661. package/lib/components/modal/modal.vue.d.ts +246 -1
  662. package/lib/components/modal/use/use-modal.d.ts +1 -1
  663. package/lib/components/multiple-tabs/index.cjs +1 -1
  664. package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
  665. package/lib/components/overlay/index.cjs +1 -1
  666. package/lib/components/overlay/index.d.ts +3 -1
  667. package/lib/components/overlay/overlay.vue.d.ts +3 -1
  668. package/lib/components/overlay/overlay.vue2.cjs +1 -1
  669. package/lib/components/page-wrapper/index.cjs +1 -1
  670. package/lib/components/page-wrapper/page-wrapper.vue2.cjs +1 -1
  671. package/lib/components/pagination/components/next.vue.d.ts +3 -1
  672. package/lib/components/pagination/components/pager.vue.d.ts +3 -1
  673. package/lib/components/pagination/components/prev.vue.d.ts +3 -1
  674. package/lib/components/pagination/components/sizes.vue.d.ts +3 -1
  675. package/lib/components/pagination/index.cjs +1 -1
  676. package/lib/components/pagination/index.d.ts +6 -6
  677. package/lib/components/pagination/pagination.vue.d.ts +6 -6
  678. package/lib/components/pagination/pagination.vue2.cjs +1 -1
  679. package/lib/components/popconfirm/index.cjs +1 -1
  680. package/lib/components/popconfirm/index.d.ts +18 -18
  681. package/lib/components/popconfirm/popconfirm.vue.d.ts +11 -11
  682. package/lib/components/popover/index.cjs +1 -1
  683. package/lib/components/popover/index.d.ts +24 -12
  684. package/lib/components/popover/popover.vue.d.ts +9 -3
  685. package/lib/components/popover/popover.vue2.cjs +1 -1
  686. package/lib/components/popper/composables/use-content-dom.d.ts +1 -1
  687. package/lib/components/popper/composables/use-content.d.ts +3 -3
  688. package/lib/components/popper/content.vue.d.ts +13 -7
  689. package/lib/components/popper/index.cjs +1 -1
  690. package/lib/components/popper/index.d.ts +4 -4
  691. package/lib/components/popper/popper.vue.d.ts +2 -2
  692. package/lib/components/progress/index.cjs +1 -1
  693. package/lib/components/progress/index.d.ts +5 -5
  694. package/lib/components/progress/progress.vue.d.ts +2 -2
  695. package/lib/components/progress/progress.vue2.cjs +1 -1
  696. package/lib/components/progress-i/index.cjs +1 -1
  697. package/lib/components/qrcode/index.cjs +1 -1
  698. package/lib/components/qrcode/index.d.ts +4 -1
  699. package/lib/components/qrcode/qrcode.vue.d.ts +4 -1
  700. package/lib/components/radio/index.cjs +1 -1
  701. package/lib/components/radio/index.d.ts +57 -39
  702. package/lib/components/radio/radio-group.vue.d.ts +10 -7
  703. package/lib/components/radio/radio.vue.d.ts +4 -1
  704. package/lib/components/radio/radio.vue2.cjs +1 -1
  705. package/lib/components/result/index.cjs +1 -1
  706. package/lib/components/result/result.vue2.cjs +1 -1
  707. package/lib/components/router-view-content/index.cjs +1 -1
  708. package/lib/components/row/index.cjs +1 -1
  709. package/lib/components/row/index.d.ts +15 -37
  710. package/lib/components/row/row.vue.d.ts +12 -21
  711. package/lib/components/row/row.vue2.cjs +1 -1
  712. package/lib/components/scrollbar/index.cjs +1 -1
  713. package/lib/components/scrollbar/index.d.ts +11 -11
  714. package/lib/components/scrollbar/scrollbar.vue.d.ts +2 -2
  715. package/lib/components/scrollbar/scrollbar.vue2.cjs +1 -1
  716. package/lib/components/search/index.cjs +1 -1
  717. package/lib/components/search/index.d.ts +10 -10
  718. package/lib/components/search/search.vue2.cjs +1 -1
  719. package/lib/components/select/defaults.cjs +1 -1
  720. package/lib/components/select/index.d.ts +2 -1646
  721. package/lib/components/select/select.vue.d.ts +1 -823
  722. package/lib/components/select/useSelect.cjs +1 -1
  723. package/lib/components/select/useSelect.d.ts +29 -22
  724. package/lib/components/side-menu/index.cjs +1 -1
  725. package/lib/components/skeleton/index.cjs +1 -1
  726. package/lib/components/skeleton/skeleton.vue2.cjs +1 -1
  727. package/lib/components/slider/button.vue.d.ts +1 -1
  728. package/lib/components/slider/composables/use-slide.d.ts +4 -4
  729. package/lib/components/slider/index.cjs +1 -1
  730. package/lib/components/slider/index.d.ts +3 -3
  731. package/lib/components/slider/slider.vue.d.ts +3 -3
  732. package/lib/components/slider/slider.vue2.cjs +1 -1
  733. package/lib/components/space/index.cjs +1 -1
  734. package/lib/components/space/index.d.ts +3 -3
  735. package/lib/components/space/item.cjs +1 -1
  736. package/lib/components/space/space.cjs +1 -1
  737. package/lib/components/space/space.d.ts +4 -4
  738. package/lib/components/super-form/index.cjs +1 -1
  739. package/lib/components/super-form/index.d.ts +51 -85
  740. package/lib/components/super-form/super-form-item.vue.d.ts +18 -22
  741. package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
  742. package/lib/components/super-form/super-form.vue.d.ts +24 -44
  743. package/lib/components/super-form/super-form.vue2.cjs +1 -1
  744. package/lib/components/super-form/types.d.ts +61 -22
  745. package/lib/components/super-form/use/helper.d.ts +14 -0
  746. package/lib/components/super-form/use/use-auto-focus.d.ts +1 -0
  747. package/lib/components/super-form/use/use-form-context.d.ts +1 -1
  748. package/lib/components/super-form/use/use-form-events.cjs +1 -1
  749. package/lib/components/super-form/use/use-form-events.d.ts +1 -0
  750. package/lib/components/super-form/use/use-form-values.cjs +1 -1
  751. package/lib/components/super-form/use/use-form-values.d.ts +2 -1
  752. package/lib/components/switch/index.cjs +1 -1
  753. package/lib/components/switch/index.d.ts +23 -19
  754. package/lib/components/switch/switch.vue.d.ts +23 -19
  755. package/lib/components/switch/switch.vue2.cjs +1 -1
  756. package/lib/components/table/index.cjs +1 -1
  757. package/lib/components/table/index.d.ts +254 -84
  758. package/lib/components/table/table.vue.d.ts +125 -40
  759. package/lib/components/table/table.vue2.cjs +1 -1
  760. package/lib/components/table/types.d.ts +1 -0
  761. package/lib/components/table/use/use-columns.d.ts +12 -12
  762. package/lib/components/table/use/use-data-source.d.ts +5 -5
  763. package/lib/components/tabs/index.cjs +1 -1
  764. package/lib/components/tabs/index.d.ts +11 -11
  765. package/lib/components/tabs/tab-nav.vue.d.ts +6 -1
  766. package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
  767. package/lib/components/tabs/tab-pane.vue2.cjs +1 -1
  768. package/lib/components/tabs/tabs.vue.d.ts +9 -13
  769. package/lib/components/tabs/tabs.vue2.cjs +1 -1
  770. package/lib/components/tag/index.cjs +1 -1
  771. package/lib/components/tag/index.d.ts +4 -1
  772. package/lib/components/tag/tag.vue.d.ts +4 -1
  773. package/lib/components/time-picker/common/picker.vue.d.ts +13 -4
  774. package/lib/components/time-picker/common/props.cjs +1 -1
  775. package/lib/components/time-picker/composables/use-time-picker.d.ts +2 -2
  776. package/lib/components/time-picker/index.d.ts +6 -6
  777. package/lib/components/time-picker/props/basic-time-spinner.cjs +1 -1
  778. package/lib/components/time-picker/props/panel-time-picker.cjs +1 -1
  779. package/lib/components/time-picker/props/panel-time-range.cjs +1 -1
  780. package/lib/components/time-picker/props/shared.cjs +1 -1
  781. package/lib/components/time-picker/time-picker-com/basic-time-spinner.vue.d.ts +5 -1
  782. package/lib/components/time-picker/time-picker-com/panel-time-pick.vue.d.ts +5 -1
  783. package/lib/components/time-picker/time-picker-com/panel-time-range.vue.d.ts +5 -1
  784. package/lib/components/time-picker/time-picker.d.ts +3 -3
  785. package/lib/components/time-select/time-select.cjs +1 -1
  786. package/lib/components/time-select/time-select.vue.d.ts +7 -2
  787. package/lib/components/tooltip/content.vue.d.ts +6 -6
  788. package/lib/components/tooltip/index.cjs +1 -1
  789. package/lib/components/tooltip/index.d.ts +39 -25
  790. package/lib/components/tooltip/tooltip.vue.d.ts +12 -5
  791. package/lib/components/tree/index.d.ts +70 -70
  792. package/lib/components/tree/tree.vue.d.ts +18 -18
  793. package/lib/components/types.d.ts +3 -0
  794. package/lib/components/upload/index.cjs +1 -1
  795. package/lib/components/upload/index.d.ts +37 -37
  796. package/lib/components/upload/upload-content.vue.d.ts +20 -20
  797. package/lib/components/upload/upload.vue.d.ts +20 -20
  798. package/lib/components/verify-code/index.cjs +1 -1
  799. package/lib/components/verify-code/index.d.ts +2 -6
  800. package/lib/components/verify-code/verify-code.vue.d.ts +2 -6
  801. package/lib/components/virtual-list/builders/build-list.d.ts +3 -3
  802. package/lib/components/virtual-list/components/dynamic-size-list.d.ts +3 -3
  803. package/lib/components/virtual-list/components/fixed-size-list.d.ts +3 -3
  804. package/lib/components/virtual-list/components/scrollbar.cjs +1 -1
  805. package/lib/components/virtual-list/components/scrollbar.d.ts +3 -3
  806. package/lib/components/virtual-list/hooks/use-grid-wheel.cjs +1 -1
  807. package/lib/components/virtual-list/hooks/use-wheel.cjs +1 -1
  808. package/lib/components/virtual-list/props.cjs +1 -1
  809. package/lib/components/virtual-list/props.d.ts +2 -2
  810. package/lib/defaults.d.ts +1 -1
  811. package/lib/hooks/index.cjs +1 -1
  812. package/lib/hooks/index.d.ts +0 -2
  813. package/lib/hooks/use-ordered-children/index.cjs +1 -1
  814. package/lib/hooks/use-popper/index.d.ts +3 -3
  815. package/lib/index.cjs +1 -1
  816. package/lib/index.d.ts +1 -1
  817. package/lib/make-installer.d.ts +1 -1
  818. package/lib/package.json.cjs +1 -1
  819. package/lib/package.json.d.ts +2 -2
  820. package/lib/plugin.d.ts +0 -1
  821. package/lib/utils/index.cjs +1 -1
  822. package/lib/utils/index.d.ts +0 -1
  823. package/lib/utils/vue/props/runtime.cjs +1 -1
  824. package/package.json +8 -8
  825. package/theme-style/base.css +1 -1
  826. package/theme-style/dark/css-vars.css +1 -1
  827. package/theme-style/index.css +1 -1
  828. package/theme-style/src/alert.scss +35 -35
  829. package/theme-style/src/avatar.scss +15 -16
  830. package/theme-style/src/backtop.scss +6 -5
  831. package/theme-style/src/button.scss +90 -90
  832. package/theme-style/src/col.scss +0 -1
  833. package/theme-style/src/color-picker.scss +45 -45
  834. package/theme-style/src/common/transition.scss +23 -30
  835. package/theme-style/src/common/var.scss +1137 -1196
  836. package/theme-style/src/dark/css-vars.scss +3 -4
  837. package/theme-style/src/dark/var.scss +56 -60
  838. package/theme-style/src/date-picker/date-picker.scss +29 -26
  839. package/theme-style/src/date-picker/time-spinner.scss +16 -12
  840. package/theme-style/src/date-picker.scss +0 -1
  841. package/theme-style/src/descriptions-item.scss +22 -19
  842. package/theme-style/src/descriptions.scss +35 -41
  843. package/theme-style/src/dialog.scss +16 -11
  844. package/theme-style/src/empty.scss +9 -10
  845. package/theme-style/src/form.scss +42 -39
  846. package/theme-style/src/full-screen.scss +2 -2
  847. package/theme-style/src/header-layout.scss +2 -1
  848. package/theme-style/src/horizontal-menu.scss +11 -11
  849. package/theme-style/src/icon-text.scss +5 -5
  850. package/theme-style/src/icon.scss +1 -1
  851. package/theme-style/src/image-viewer.scss +21 -12
  852. package/theme-style/src/input-number.scss +56 -57
  853. package/theme-style/src/input.scss +156 -145
  854. package/theme-style/src/link.scss +36 -37
  855. package/theme-style/src/list-cell.scss +8 -9
  856. package/theme-style/src/loading.scss +6 -2
  857. package/theme-style/src/logo.scss +0 -3
  858. package/theme-style/src/md/api.scss +2 -1
  859. package/theme-style/src/md/blockquote.scss +3 -3
  860. package/theme-style/src/md/code.scss +13 -15
  861. package/theme-style/src/md/demo-block.scss +6 -3
  862. package/theme-style/src/md/helper.scss +1 -1
  863. package/theme-style/src/md/link.scss +11 -7
  864. package/theme-style/src/md/one-light.scss +3 -3
  865. package/theme-style/src/md/pswp.scss +13 -16
  866. package/theme-style/src/md/svg.scss +10 -1
  867. package/theme-style/src/md/table.scss +0 -1
  868. package/theme-style/src/md/tasklist.scss +10 -21
  869. package/theme-style/src/md/title.scss +2 -1
  870. package/theme-style/src/md/toc.scss +10 -17
  871. package/theme-style/src/md-code-demo.scss +11 -37
  872. package/theme-style/src/md-code-tabs.scss +10 -18
  873. package/theme-style/src/md-comment.scss +384 -333
  874. package/theme-style/src/md-container.scss +66 -56
  875. package/theme-style/src/md-tabs.scss +9 -22
  876. package/theme-style/src/md-vue-playground.scss +234 -128
  877. package/theme-style/src/menu.scss +72 -56
  878. package/theme-style/src/message.scss +52 -37
  879. package/theme-style/src/mixins/_var.scss +18 -7
  880. package/theme-style/src/mixins/function.scss +5 -1
  881. package/theme-style/src/mixins/icon.scss +9 -9
  882. package/theme-style/src/mixins/mixins.scss +57 -21
  883. package/theme-style/src/multiple-tabs.scss +13 -7
  884. package/theme-style/src/pagination.scss +53 -48
  885. package/theme-style/src/popconfirm.scss +3 -1
  886. package/theme-style/src/progress.scss +20 -6
  887. package/theme-style/src/select.scss +75 -72
  888. package/theme-style/src/side-menu.scss +13 -10
  889. package/theme-style/src/skeleton-item.scss +3 -4
  890. package/theme-style/src/super-form.scss +7 -1
  891. package/theme-style/src/switch.scss +59 -63
  892. package/theme-style/src/table.scss +55 -40
  893. package/theme-style/src/tabs.scss +68 -47
  894. package/theme-style/src/tree.scss +15 -10
  895. package/theme-style/src/upload.scss +79 -82
  896. package/theme-style/src/var.scss +8 -5
  897. package/theme-style/vft-alert.css +1 -1
  898. package/theme-style/vft-autocomplete.css +1 -1
  899. package/theme-style/vft-avatar.css +1 -1
  900. package/theme-style/vft-backtop.css +1 -1
  901. package/theme-style/vft-button.css +1 -1
  902. package/theme-style/vft-cascader.css +1 -1
  903. package/theme-style/vft-clamp-toggle.css +1 -1
  904. package/theme-style/vft-collapse.css +1 -1
  905. package/theme-style/vft-color-picker.css +1 -1
  906. package/theme-style/vft-date-picker.css +1 -1
  907. package/theme-style/vft-date-time-select.css +1 -1
  908. package/theme-style/vft-descriptions-item.css +1 -1
  909. package/theme-style/vft-descriptions.css +1 -1
  910. package/theme-style/vft-dialog.css +1 -1
  911. package/theme-style/vft-drawer.css +1 -1
  912. package/theme-style/vft-dropdown.css +1 -1
  913. package/theme-style/vft-empty.css +1 -1
  914. package/theme-style/vft-form.css +1 -1
  915. package/theme-style/vft-full-screen.css +1 -1
  916. package/theme-style/vft-horizontal-menu.css +1 -1
  917. package/theme-style/vft-icon-text.css +1 -1
  918. package/theme-style/vft-image-viewer.css +1 -1
  919. package/theme-style/vft-input-number.css +1 -1
  920. package/theme-style/vft-input.css +1 -1
  921. package/theme-style/vft-link.css +1 -1
  922. package/theme-style/vft-list-cell.css +1 -1
  923. package/theme-style/vft-loading.css +1 -1
  924. package/theme-style/vft-logo.css +1 -1
  925. package/theme-style/vft-md-code-tabs.css +1 -1
  926. package/theme-style/vft-md-comment.css +1 -1
  927. package/theme-style/vft-md-container.css +1 -1
  928. package/theme-style/vft-md-tabs.css +1 -1
  929. package/theme-style/vft-md-vue-playground.css +1 -1
  930. package/theme-style/vft-menu.css +1 -1
  931. package/theme-style/vft-message.css +1 -1
  932. package/theme-style/vft-multiple-tabs.css +1 -1
  933. package/theme-style/vft-pagination.css +1 -1
  934. package/theme-style/vft-popconfirm.css +1 -1
  935. package/theme-style/vft-progress.css +1 -1
  936. package/theme-style/vft-select.css +1 -1
  937. package/theme-style/vft-side-menu.css +1 -1
  938. package/theme-style/vft-skeleton-item.css +1 -1
  939. package/theme-style/vft-super-form.css +1 -1
  940. package/theme-style/vft-switch.css +1 -1
  941. package/theme-style/vft-table.css +1 -1
  942. package/theme-style/vft-tabs.css +1 -1
  943. package/theme-style/vft-tag.css +1 -1
  944. package/theme-style/vft-time-picker.css +1 -1
  945. package/theme-style/vft-time-select.css +1 -1
  946. package/theme-style/vft-transfer.css +1 -1
  947. package/theme-style/vft-tree.css +1 -1
  948. package/theme-style/vft-upload.css +1 -1
  949. package/theme-style/vft-var.css +1 -1
  950. package/web-types.json +1 -1
  951. package/es/components/button/button.vue.d.ts +0 -171
  952. package/es/components/button/index.d.ts +0 -561
  953. package/es/components/button/instance.d.ts +0 -4
  954. package/es/components/button/instance.js +0 -1
  955. package/es/components/button/mobile/button.vue.d.ts +0 -2
  956. package/es/components/button/mobile/button.vue.js +0 -10
  957. package/es/components/checkbox/composables/use-checkbox-disabled.d.ts +0 -6
  958. package/es/components/checkbox/composables/use-checkbox.d.ts +0 -15
  959. package/es/components/config-provider/hooks/use-global-config.d.ts +0 -31
  960. package/es/components/context-menu/types.d.ts +0 -23
  961. package/es/components/dropdown/types.d.ts +0 -251
  962. package/es/components/loading/index.d.ts +0 -48
  963. package/es/components/loading/loading.d.ts +0 -36
  964. package/es/components/popover/types.d.ts +0 -26
  965. package/es/components/popper/types.d.ts +0 -45
  966. package/es/components/qrcode/types.d.ts +0 -31
  967. package/es/components/radio/use-radio.d.ts +0 -15
  968. package/es/components/tooltip/types.d.ts +0 -53
  969. package/es/components/upload/use-handlers.d.ts +0 -23
  970. package/es/hooks/use-cursor/index.d.ts +0 -2
  971. package/es/hooks/use-cursor/index.js +0 -40
  972. package/es/hooks/use-prop/index.d.ts +0 -2
  973. package/es/hooks/use-prop/index.js +0 -11
  974. package/es/utils/ns-cover.d.ts +0 -16
  975. package/es/utils/objects.d.ts +0 -4
  976. package/es/utils/objects.js +0 -12
  977. package/lib/components/button/button.vue.d.ts +0 -171
  978. package/lib/components/button/index.d.ts +0 -561
  979. package/lib/components/button/instance.cjs +0 -1
  980. package/lib/components/button/instance.d.ts +0 -4
  981. package/lib/components/button/mobile/button.vue.cjs +0 -1
  982. package/lib/components/button/mobile/button.vue.d.ts +0 -2
  983. package/lib/components/checkbox/composables/use-checkbox-disabled.d.ts +0 -6
  984. package/lib/components/checkbox/composables/use-checkbox.d.ts +0 -15
  985. package/lib/components/config-provider/hooks/use-global-config.d.ts +0 -31
  986. package/lib/components/context-menu/types.d.ts +0 -23
  987. package/lib/components/dropdown/types.d.ts +0 -251
  988. package/lib/components/loading/index.d.ts +0 -48
  989. package/lib/components/loading/loading.d.ts +0 -36
  990. package/lib/components/popover/types.d.ts +0 -26
  991. package/lib/components/popper/types.d.ts +0 -45
  992. package/lib/components/qrcode/types.d.ts +0 -31
  993. package/lib/components/radio/use-radio.d.ts +0 -15
  994. package/lib/components/tooltip/types.d.ts +0 -53
  995. package/lib/components/upload/use-handlers.d.ts +0 -23
  996. package/lib/hooks/use-cursor/index.cjs +0 -1
  997. package/lib/hooks/use-cursor/index.d.ts +0 -2
  998. package/lib/hooks/use-prop/index.cjs +0 -1
  999. package/lib/hooks/use-prop/index.d.ts +0 -2
  1000. package/lib/utils/ns-cover.d.ts +0 -16
  1001. package/lib/utils/objects.cjs +0 -1
  1002. package/lib/utils/objects.d.ts +0 -4
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const g=require("@vft/utils");require("../form/index.cjs");const ne=require("../../constants/event.cjs"),De=require("@vueuse/core"),ke=require("../../utils/error.cjs");require("../../utils/ns-cover.cjs");const d=require("lodash"),_e=require("../../utils/vue/data-helper.cjs"),u=require("vue"),ue=require("../../hooks/use-namespace/index.cjs");require("@popperjs/core");require("../../hooks/use-z-index/index.cjs");const Fe=require("./useAllowCreate.cjs"),ze=require("./useInput.cjs"),Ke=require("./util.cjs"),Ue=require("../form/hooks/use-form-item.cjs"),Qe=require("../form/hooks/use-form-common-props.cjs"),ae="",ie=11,je={larget:51,default:42,small:33},Ge=(l,v)=>{const P=ue.useNamespace("select"),oe=ue.useNamespace("input"),{form:T,formItem:f}=Ue.useFormItem(),t=u.reactive({inputValue:ae,displayInputValue:ae,calculatedWidth:0,cachedPlaceholder:"",cachedOptions:[],createdOptions:[],createdLabel:"",createdSelected:!1,currentPlaceholder:"",hoveringIndex:-1,comboBoxHovering:!1,isOnComposition:!1,isSilentBlur:!1,isComposing:!1,inputLength:20,selectWidth:200,initialInputHeight:0,previousQuery:null,previousValue:void 0,query:"",selectedLabel:"",softFocus:!1,tagInMultiLine:!1}),ce=u.ref(-1),W=u.ref(-1),se=u.ref(null),h=u.ref(null),w=u.ref(null),p=u.ref(null),y=u.ref(null),O=u.ref(null),b=u.ref(null),o=u.ref(!1),I=u.computed(()=>l.disabled||(T==null?void 0:T.disabled)),re=u.computed(()=>{const e=c.value.length*34;return e>l.height?l.height:e}),L=u.computed(()=>!d.isNil(l.modelValue)),de=u.computed(()=>{const e=l.multiple?Array.isArray(l.modelValue)&&l.modelValue.length>0:L.value;return l.clearable&&!I.value&&t.comboBoxHovering&&e}),B=u.computed(()=>l.remote&&l.filterable?"":"icon-arrow-up"),fe=u.computed(()=>B.value&&P.is("reverse",o.value)),he=u.computed(()=>(f==null?void 0:f.validateState)||""),ge="validateIcon",D=u.computed(()=>l.remote?300:0),q=u.computed(()=>{const e=c.value;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}),c=u.computed(()=>{const e=n=>{const a=t.inputValue,i=new RegExp(_e.escapeStringRegexp(a),"i");return a?i.test(n.label||""):!0};return l.loading?[]:Ke.flattenOptions(l.options.concat(t.createdOptions).map(n=>{if(g.isArray(n.options)){const a=n.options.filter(e);if(a.length>0)return{...n,options:a}}else if(l.remote||e(n))return n;return null}).filter(n=>n!==null))}),ve=u.computed(()=>c.value.every(e=>e.disabled)),k=Qe.useFormSize(),_=u.computed(()=>k.value==="small"?"small":"default"),me=u.computed(()=>{const e=O.value,n=_.value||"default",a=e?Number.parseInt(getComputedStyle(e).paddingLeft):0,i=e?Number.parseInt(getComputedStyle(e).paddingRight):0;return t.selectWidth-i-a-je[n]}),F=()=>{var e;W.value=((e=y.value)==null?void 0:e.offsetWidth)||200},Ve=u.computed(()=>({width:`${t.calculatedWidth===0?ie:Math.ceil(t.calculatedWidth)+ie}px`})),pe=u.computed(()=>g.isArray(l.modelValue)?l.modelValue.length===0&&!t.displayInputValue:l.filterable?t.displayInputValue.length===0:!0),be=u.computed(()=>{const e=l.placeholder||"请选择";return l.multiple||d.isNil(l.modelValue)?e:t.selectedLabel}),Ie=u.computed(()=>{var e,n;return(n=(e=p.value)==null?void 0:e.popperRef)==null?void 0:n.contentRef}),z=u.computed(()=>{if(l.multiple){const e=l.modelValue.length;if(l.modelValue.length>0)return c.value.findIndex(n=>n.value===l.modelValue[e-1])}else if(l.modelValue)return c.value.findIndex(e=>e.value===l.modelValue);return-1}),K=u.computed({get(){return o.value&&q.value!==!1},set(e){o.value=e}}),xe=u.computed(()=>t.cachedOptions.slice(0,l.maxCollapseTags)),ye=u.computed(()=>t.cachedOptions.slice(l.maxCollapseTags)),{createNewOption:U,removeNewOption:R,selectNewOption:Q,clearAllNewOption:E}=Fe.useAllowCreate(l,t),{handleCompositionStart:Oe,handleCompositionUpdate:Se,handleCompositionEnd:Ce}=ze.useInput(e=>le(e)),j=()=>{var e,n,a;(n=(e=h.value)==null?void 0:e.focus)==null||n.call(e),(a=p.value)==null||a.updatePopper()},M=()=>{if(!l.automaticDropdown&&!I.value)return t.isComposing&&(t.softFocus=!0),u.nextTick(()=>{var e,n;o.value=!o.value,(n=(e=h.value)==null?void 0:e.focus)==null||n.call(e)})},G=()=>(l.filterable&&t.inputValue!==t.selectedLabel&&(t.query=t.selectedLabel),J(t.inputValue),u.nextTick(()=>{U(t.inputValue)})),$=d.debounce(G,D.value),J=e=>{t.previousQuery!==e&&(t.previousQuery=e,l.filterable&&g.isFunction(l.filterMethod)?l.filterMethod(e):l.filterable&&l.remote&&g.isFunction(l.remoteMethod)&&l.remoteMethod(e))},Te=e=>{d.isEqual(l.modelValue,e)||v(ne.CHANGE_EVENT,e)},x=e=>{v(ne.UPDATE_MODEL_EVENT,e),Te(e),t.previousValue=e==null?void 0:e.toString()},we=(e=[],n)=>{if(!g.isObject(n))return e.indexOf(n);const a=l.valueKey;let i=-1;return e.some((s,r)=>d.get(s,a)===d.get(n,a)?(i=r,!0):!1),i},m=e=>g.isObject(e)?d.get(e,l.valueKey):e,Le=e=>g.isObject(e)?e.label:e,N=()=>u.nextTick(()=>{var n,a;if(!h.value)return;const e=O.value;y.value.height=e.offsetHeight,o.value&&q.value!==!1&&((a=(n=p.value)==null?void 0:n.updatePopper)==null||a.call(n))}),X=()=>{var e,n;if(qe(),F(),(n=(e=p.value)==null?void 0:e.updatePopper)==null||n.call(e),l.multiple)return N()},qe=()=>{const e=O.value;e&&(t.selectWidth=e.getBoundingClientRect().width)},Y=(e,n,a=!0)=>{var i,s;if(l.multiple){let r=l.modelValue.slice();const C=we(r,m(e));C>-1?(r=[...r.slice(0,C),...r.slice(C+1)],t.cachedOptions.splice(C,1),R(e)):(l.multipleLimit<=0||r.length<l.multipleLimit)&&(r=[...r,m(e)],t.cachedOptions.push(e),Q(e),V(n)),x(r),e.created&&(t.query="",J(""),t.inputLength=20),l.filterable&&!l.reserveKeyword&&((s=(i=h.value).focus)==null||s.call(i),S("")),l.filterable&&(t.calculatedWidth=b.value.getBoundingClientRect().width),N(),Pe()}else ce.value=n,t.selectedLabel=e.label,x(m(e)),o.value=!1,t.isComposing=!1,t.isSilentBlur=a,Q(e),e.created||E(),V(n)},Re=(e,n)=>{const{valueKey:a}=l,i=l.modelValue.indexOf(d.get(n,a));if(i>-1&&!I.value){const s=[...l.modelValue.slice(0,i),...l.modelValue.slice(i+1)];return t.cachedOptions.splice(i,1),x(s),v("remove-tag",d.get(n,a)),t.softFocus=!0,R(n),u.nextTick(j)}e.stopPropagation()},Ee=e=>{const n=t.isComposing;t.isComposing=!0,t.softFocus?t.softFocus=!1:n||v("focus",e)},Z=e=>(t.softFocus=!1,u.nextTick(()=>{var n,a;(a=(n=h.value)==null?void 0:n.blur)==null||a.call(n),b.value&&(t.calculatedWidth=b.value.getBoundingClientRect().width),t.isSilentBlur?t.isSilentBlur=!1:t.isComposing&&v("blur",e),t.isComposing=!1})),Me=()=>{t.displayInputValue.length>0?S(""):o.value=!1},Ne=e=>{if(t.displayInputValue.length===0){e.preventDefault();const n=l.modelValue.slice();n.pop(),R(t.cachedOptions.pop()),x(n)}},Ae=()=>{let e;return g.isArray(l.modelValue)?e=[]:e=void 0,t.softFocus=!0,l.multiple?t.cachedOptions=[]:t.selectedLabel="",o.value=!1,x(e),v("clear"),E(),u.nextTick(j)},S=e=>{t.displayInputValue=e,t.inputValue=e},ee=(e,n=void 0)=>{const a=c.value;if(!["forward","backward"].includes(e)||I.value||a.length<=0||ve.value)return;if(!o.value)return M();n===void 0&&(n=t.hoveringIndex);let i=-1;e==="forward"?(i=n+1,i>=a.length&&(i=0)):e==="backward"&&(i=n-1,(i<0||i>=a.length)&&(i=a.length-1));const s=a[i];if(s.disabled||s.type==="Group")return ee(e,i);V(i),A(i)},He=()=>{if(o.value)~t.hoveringIndex&&c.value[t.hoveringIndex]&&Y(c.value[t.hoveringIndex],t.hoveringIndex,!1);else return M()},V=e=>{t.hoveringIndex=e},te=()=>{t.hoveringIndex=-1},Pe=()=>{var n;const e=h.value;e&&((n=e.focus)==null||n.call(e))},le=e=>{const n=e.target.value;if(S(n),t.displayInputValue.length>0&&!o.value&&(o.value=!0),t.calculatedWidth=b.value.getBoundingClientRect().width,l.multiple&&N(),l.remote)$();else return G()},We=()=>(o.value=!1,Z()),Be=()=>(t.inputValue=t.displayInputValue,u.nextTick(()=>{~z.value&&(V(z.value),A(t.hoveringIndex))})),A=e=>{w.value.scrollToItem(e)},H=()=>{if(te(),l.multiple)if(l.modelValue.length>0){let e=!1;t.cachedOptions.length=0,t.previousValue=l.modelValue.toString(),l.modelValue.forEach(n=>{const a=c.value.findIndex(i=>m(i)===n);~a&&(t.cachedOptions.push(c.value[a]),e||V(a),e=!0)})}else t.cachedOptions=[],t.previousValue=void 0;else if(L.value){t.previousValue=l.modelValue;const e=c.value,n=e.findIndex(a=>m(a)===m(l.modelValue));~n?(t.selectedLabel=e[n].label,V(n)):t.selectedLabel=`${l.modelValue}`}else t.selectedLabel="",t.previousValue=void 0;E(),F()};return u.watch(o,e=>{var n,a;v("visible-change",e),e?(a=(n=p.value).update)==null||a.call(n):(t.displayInputValue="",t.previousQuery=null,U(""))}),u.watch(()=>l.modelValue,(e,n)=>{var a;(!e||e.toString()!==t.previousValue)&&H(),!d.isEqual(e,n)&&l.validateEvent&&((a=f==null?void 0:f.validate)==null||a.call(f,"change").catch(i=>ke.debugWarn(i)))},{deep:!0}),u.watch(()=>l.options,()=>{const e=h.value;(!e||e&&document.activeElement!==e)&&H()},{deep:!0}),u.watch(c,()=>{var e;return u.nextTick((e=w.value)==null?void 0:e.resetScrollTop)}),u.watch(()=>K.value,e=>{e||te()}),u.onMounted(()=>{H()}),De.useResizeObserver(y,X),{collapseTagSize:_,currentPlaceholder:be,expanded:o,emptyText:q,popupHeight:re,debounce:D,filteredOptions:c,iconComponent:B,iconReverse:fe,inputWrapperStyle:Ve,popperSize:W,dropdownMenuVisible:K,hasModelValue:L,shouldShowPlaceholder:pe,selectDisabled:I,selectSize:k,showClearBtn:de,states:t,tagMaxWidth:me,nsSelect:P,nsInput:oe,calculatorRef:b,controlRef:se,inputRef:h,menuRef:w,popper:p,selectRef:y,selectionRef:O,popperRef:Ie,validateState:he,validateIcon:ge,showTagList:xe,collapseTagList:ye,debouncedOnInputChange:$,deleteTag:Re,getLabel:Le,getValueKey:m,handleBlur:Z,handleClear:Ae,handleClickOutside:We,handleDel:Ne,handleEsc:Me,handleFocus:Ee,handleMenuEnter:Be,handleResize:X,toggleMenu:M,scrollTo:A,onInput:le,onKeyboardNavigate:ee,onKeyboardSelect:He,onSelect:Y,onHover:V,onUpdateInputValue:S,handleCompositionStart:Oe,handleCompositionEnd:Ce,handleCompositionUpdate:Se}};exports.default=Ge;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const g=require("@vft/utils");require("../form/index.cjs");const ne=require("../../constants/event.cjs"),De=require("@vueuse/core"),ke=require("../../utils/error.cjs");require("../../utils/ns-cover.cjs");const _e=require("../../utils/vue/data-helper.cjs"),d=require("lodash"),u=require("vue"),ue=require("../../hooks/use-namespace/index.cjs");require("@popperjs/core");require("../../hooks/use-z-index/index.cjs");const Fe=require("./useAllowCreate.cjs"),ze=require("./useInput.cjs"),Ke=require("./util.cjs"),Ue=require("../form/hooks/use-form-item.cjs"),Qe=require("../form/hooks/use-form-common-props.cjs"),ae="",ie=11,je={larget:51,default:42,small:33},Ge=(l,v)=>{const P=ue.useNamespace("select"),oe=ue.useNamespace("input"),{form:T,formItem:f}=Ue.useFormItem(),t=u.reactive({inputValue:ae,displayInputValue:ae,calculatedWidth:0,cachedPlaceholder:"",cachedOptions:[],createdOptions:[],createdLabel:"",createdSelected:!1,currentPlaceholder:"",hoveringIndex:-1,comboBoxHovering:!1,isOnComposition:!1,isSilentBlur:!1,isComposing:!1,inputLength:20,selectWidth:200,initialInputHeight:0,previousQuery:null,previousValue:void 0,query:"",selectedLabel:"",softFocus:!1,tagInMultiLine:!1}),ce=u.ref(-1),W=u.ref(-1),se=u.ref(null),h=u.ref(null),w=u.ref(null),p=u.ref(null),y=u.ref(null),O=u.ref(null),b=u.ref(null),o=u.ref(!1),I=u.computed(()=>l.disabled||(T==null?void 0:T.disabled)),re=u.computed(()=>{const e=c.value.length*34;return e>l.height?l.height:e}),L=u.computed(()=>!d.isNil(l.modelValue)),de=u.computed(()=>{const e=l.multiple?Array.isArray(l.modelValue)&&l.modelValue.length>0:L.value;return l.clearable&&!I.value&&t.comboBoxHovering&&e}),B=u.computed(()=>l.remote&&l.filterable?"":"icon-arrow-up"),fe=u.computed(()=>B.value&&P.is("reverse",o.value)),he=u.computed(()=>(f==null?void 0:f.validateState)||""),ge="validateIcon",D=u.computed(()=>l.remote?300:0),q=u.computed(()=>{const e=c.value;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}),c=u.computed(()=>{const e=n=>{const a=t.inputValue,i=new RegExp(_e.escapeStringRegexp(a),"i");return a?i.test(n.label||""):!0};return l.loading?[]:Ke.flattenOptions(l.options.concat(t.createdOptions).map(n=>{if(g.isArray(n.options)){const a=n.options.filter(e);if(a.length>0)return{...n,options:a}}else if(l.remote||e(n))return n;return null}).filter(n=>n!==null))}),ve=u.computed(()=>c.value.every(e=>e.disabled)),k=Qe.useFormSize(),_=u.computed(()=>k.value==="small"?"small":"default"),me=u.computed(()=>{const e=O.value,n=_.value||"default",a=e?Number.parseInt(getComputedStyle(e).paddingLeft):0,i=e?Number.parseInt(getComputedStyle(e).paddingRight):0;return t.selectWidth-i-a-je[n]}),F=()=>{var e;W.value=((e=y.value)==null?void 0:e.offsetWidth)||200},Ve=u.computed(()=>({width:`${t.calculatedWidth===0?ie:Math.ceil(t.calculatedWidth)+ie}px`})),pe=u.computed(()=>g.isArray(l.modelValue)?l.modelValue.length===0&&!t.displayInputValue:l.filterable?t.displayInputValue.length===0:!0),be=u.computed(()=>{const e=l.placeholder||"请选择";return l.multiple||d.isNil(l.modelValue)?e:t.selectedLabel}),Ie=u.computed(()=>{var e,n;return(n=(e=p.value)==null?void 0:e.popperRef)==null?void 0:n.contentRef}),z=u.computed(()=>{if(l.multiple){const e=l.modelValue.length;if(l.modelValue.length>0)return c.value.findIndex(n=>n.value===l.modelValue[e-1])}else if(l.modelValue)return c.value.findIndex(e=>e.value===l.modelValue);return-1}),K=u.computed({get(){return o.value&&q.value!==!1},set(e){o.value=e}}),xe=u.computed(()=>t.cachedOptions.slice(0,l.maxCollapseTags)),ye=u.computed(()=>t.cachedOptions.slice(l.maxCollapseTags)),{createNewOption:U,removeNewOption:R,selectNewOption:Q,clearAllNewOption:E}=Fe.useAllowCreate(l,t),{handleCompositionStart:Oe,handleCompositionUpdate:Se,handleCompositionEnd:Ce}=ze.useInput(e=>le(e)),j=()=>{var e,n,a;(n=(e=h.value)==null?void 0:e.focus)==null||n.call(e),(a=p.value)==null||a.updatePopper()},M=()=>{if(!l.automaticDropdown&&!I.value)return t.isComposing&&(t.softFocus=!0),u.nextTick(()=>{var e,n;o.value=!o.value,(n=(e=h.value)==null?void 0:e.focus)==null||n.call(e)})},G=()=>(l.filterable&&t.inputValue!==t.selectedLabel&&(t.query=t.selectedLabel),J(t.inputValue),u.nextTick(()=>{U(t.inputValue)})),$=d.debounce(G,D.value),J=e=>{t.previousQuery!==e&&(t.previousQuery=e,l.filterable&&g.isFunction(l.filterMethod)?l.filterMethod(e):l.filterable&&l.remote&&g.isFunction(l.remoteMethod)&&l.remoteMethod(e))},Te=e=>{d.isEqual(l.modelValue,e)||v(ne.CHANGE_EVENT,e)},x=e=>{v(ne.UPDATE_MODEL_EVENT,e),Te(e),t.previousValue=e==null?void 0:e.toString()},we=(e=[],n)=>{if(!g.isObject(n))return e.indexOf(n);const a=l.valueKey;let i=-1;return e.some((s,r)=>d.get(s,a)===d.get(n,a)?(i=r,!0):!1),i},m=e=>g.isObject(e)?d.get(e,l.valueKey):e,Le=e=>g.isObject(e)?e.label:e,N=()=>u.nextTick(()=>{var n,a;if(!h.value)return;const e=O.value;y.value.height=e.offsetHeight,o.value&&q.value!==!1&&((a=(n=p.value)==null?void 0:n.updatePopper)==null||a.call(n))}),X=()=>{var e,n;if(qe(),F(),(n=(e=p.value)==null?void 0:e.updatePopper)==null||n.call(e),l.multiple)return N()},qe=()=>{const e=O.value;e&&(t.selectWidth=e.getBoundingClientRect().width)},Y=(e,n,a=!0)=>{var i,s;if(l.multiple){let r=l.modelValue.slice();const C=we(r,m(e));C>-1?(r=[...r.slice(0,C),...r.slice(C+1)],t.cachedOptions.splice(C,1),R(e)):(l.multipleLimit<=0||r.length<l.multipleLimit)&&(r=[...r,m(e)],t.cachedOptions.push(e),Q(e),V(n)),x(r),e.created&&(t.query="",J(""),t.inputLength=20),l.filterable&&!l.reserveKeyword&&((s=(i=h.value).focus)==null||s.call(i),S("")),l.filterable&&(t.calculatedWidth=b.value.getBoundingClientRect().width),N(),Pe()}else ce.value=n,t.selectedLabel=e.label,x(m(e)),o.value=!1,t.isComposing=!1,t.isSilentBlur=a,Q(e),e.created||E(),V(n)},Re=(e,n)=>{const{valueKey:a}=l,i=l.modelValue.indexOf(d.get(n,a));if(i>-1&&!I.value){const s=[...l.modelValue.slice(0,i),...l.modelValue.slice(i+1)];return t.cachedOptions.splice(i,1),x(s),v("remove-tag",d.get(n,a)),t.softFocus=!0,R(n),u.nextTick(j)}e.stopPropagation()},Ee=e=>{const n=t.isComposing;t.isComposing=!0,t.softFocus?t.softFocus=!1:n||v("focus",e)},Z=e=>(t.softFocus=!1,u.nextTick(()=>{var n,a;(a=(n=h.value)==null?void 0:n.blur)==null||a.call(n),b.value&&(t.calculatedWidth=b.value.getBoundingClientRect().width),t.isSilentBlur?t.isSilentBlur=!1:t.isComposing&&v("blur",e),t.isComposing=!1})),Me=()=>{t.displayInputValue.length>0?S(""):o.value=!1},Ne=e=>{if(t.displayInputValue.length===0){e.preventDefault();const n=l.modelValue.slice();n.pop(),R(t.cachedOptions.pop()),x(n)}},Ae=()=>{let e;return g.isArray(l.modelValue)?e=[]:e=void 0,t.softFocus=!0,l.multiple?t.cachedOptions=[]:t.selectedLabel="",o.value=!1,x(e),v("clear"),E(),u.nextTick(j)},S=e=>{t.displayInputValue=e,t.inputValue=e},ee=(e,n=void 0)=>{const a=c.value;if(!["forward","backward"].includes(e)||I.value||a.length<=0||ve.value)return;if(!o.value)return M();n===void 0&&(n=t.hoveringIndex);let i=-1;e==="forward"?(i=n+1,i>=a.length&&(i=0)):e==="backward"&&(i=n-1,(i<0||i>=a.length)&&(i=a.length-1));const s=a[i];if(s.disabled||s.type==="Group")return ee(e,i);V(i),A(i)},He=()=>{if(o.value)~t.hoveringIndex&&c.value[t.hoveringIndex]&&Y(c.value[t.hoveringIndex],t.hoveringIndex,!1);else return M()},V=e=>{t.hoveringIndex=e},te=()=>{t.hoveringIndex=-1},Pe=()=>{var n;const e=h.value;e&&((n=e.focus)==null||n.call(e))},le=e=>{const n=e.target.value;if(S(n),t.displayInputValue.length>0&&!o.value&&(o.value=!0),t.calculatedWidth=b.value.getBoundingClientRect().width,l.multiple&&N(),l.remote)$();else return G()},We=()=>(o.value=!1,Z()),Be=()=>(t.inputValue=t.displayInputValue,u.nextTick(()=>{~z.value&&(V(z.value),A(t.hoveringIndex))})),A=e=>{w.value.scrollToItem(e)},H=()=>{if(te(),l.multiple)if(l.modelValue.length>0){let e=!1;t.cachedOptions.length=0,t.previousValue=l.modelValue.toString(),l.modelValue.forEach(n=>{const a=c.value.findIndex(i=>m(i)===n);~a&&(t.cachedOptions.push(c.value[a]),e||V(a),e=!0)})}else t.cachedOptions=[],t.previousValue=void 0;else if(L.value){t.previousValue=l.modelValue;const e=c.value,n=e.findIndex(a=>m(a)===m(l.modelValue));~n?(t.selectedLabel=e[n].label,V(n)):t.selectedLabel=`${l.modelValue}`}else t.selectedLabel="",t.previousValue=void 0;E(),F()};return u.watch(o,e=>{var n,a;v("visible-change",e),e?(a=(n=p.value).update)==null||a.call(n):(t.displayInputValue="",t.previousQuery=null,U(""))}),u.watch(()=>l.modelValue,(e,n)=>{var a;(!e||e.toString()!==t.previousValue)&&H(),!d.isEqual(e,n)&&l.validateEvent&&((a=f==null?void 0:f.validate)==null||a.call(f,"change").catch(i=>ke.debugWarn(i)))},{deep:!0}),u.watch(()=>l.options,()=>{const e=h.value;(!e||e&&document.activeElement!==e)&&H()},{deep:!0}),u.watch(c,()=>{var e;return u.nextTick((e=w.value)==null?void 0:e.resetScrollTop)}),u.watch(()=>K.value,e=>{e||te()}),u.onMounted(()=>{H()}),De.useResizeObserver(y,X),{collapseTagSize:_,currentPlaceholder:be,expanded:o,emptyText:q,popupHeight:re,debounce:D,filteredOptions:c,iconComponent:B,iconReverse:fe,inputWrapperStyle:Ve,popperSize:W,dropdownMenuVisible:K,hasModelValue:L,shouldShowPlaceholder:pe,selectDisabled:I,selectSize:k,showClearBtn:de,states:t,tagMaxWidth:me,nsSelect:P,nsInput:oe,calculatorRef:b,controlRef:se,inputRef:h,menuRef:w,popper:p,selectRef:y,selectionRef:O,popperRef:Ie,validateState:he,validateIcon:ge,showTagList:xe,collapseTagList:ye,debouncedOnInputChange:$,deleteTag:Re,getLabel:Le,getValueKey:m,handleBlur:Z,handleClear:Ae,handleClickOutside:We,handleDel:Ne,handleEsc:Me,handleFocus:Ee,handleMenuEnter:Be,handleResize:X,toggleMenu:M,scrollTo:A,onInput:le,onKeyboardNavigate:ee,onKeyboardSelect:He,onSelect:Y,onHover:V,onUpdateInputValue:S,handleCompositionStart:Oe,handleCompositionEnd:Ce,handleCompositionUpdate:Se}};exports.default=Ge;
@@ -106,6 +106,10 @@ declare const useSelect: (props: ExtractPropTypes<typeof SelectProps>, emit: any
106
106
  readonly offset?: number | undefined;
107
107
  readonly transition?: string | undefined;
108
108
  key?: string | number | symbol | undefined;
109
+ readonly className?: import("../types").ClassType | undefined;
110
+ readonly id?: string | undefined;
111
+ readonly ariaLabel?: string | undefined;
112
+ readonly role?: "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "group" | "navigation" | "tree" | undefined;
109
113
  ref?: import("vue").VNodeRef | undefined;
110
114
  class?: unknown;
111
115
  readonly showAfter?: number | undefined;
@@ -114,9 +118,18 @@ declare const useSelect: (props: ExtractPropTypes<typeof SelectProps>, emit: any
114
118
  onShow?: ((...args: any[]) => any) | undefined;
115
119
  onHide?: ((...args: any[]) => any) | undefined;
116
120
  readonly placement?: import("@popperjs/core").Placement | undefined;
117
- readonly strategy?: "absolute" | "fixed" | undefined;
121
+ readonly strategy?: "fixed" | "absolute" | undefined;
118
122
  readonly effect?: "light" | "dark" | undefined;
119
- readonly id?: string | undefined;
123
+ readonly onFocus?: Function | undefined;
124
+ readonly onBlur?: Function | undefined;
125
+ readonly onKeydown?: Function | undefined;
126
+ readonly onClick?: Function | undefined;
127
+ readonly onContextmenu?: Function | undefined;
128
+ readonly onMouseenter?: Function | undefined;
129
+ readonly onMouseleave?: Function | undefined;
130
+ readonly visible?: boolean | undefined;
131
+ readonly disabled?: boolean | undefined;
132
+ readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
120
133
  ref_for?: boolean | undefined;
121
134
  ref_key?: string | undefined;
122
135
  onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -157,22 +170,8 @@ declare const useSelect: (props: ExtractPropTypes<typeof SelectProps>, emit: any
157
170
  }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
158
171
  [key: string]: any;
159
172
  }>) => void)[] | undefined;
160
- readonly onFocus?: Function | undefined;
161
- readonly onBlur?: Function | undefined;
162
- readonly onKeydown?: Function | undefined;
163
- readonly onClick?: Function | undefined;
164
- readonly onContextmenu?: Function | undefined;
165
- readonly onMouseenter?: Function | undefined;
166
- readonly onMouseleave?: Function | undefined;
167
- readonly role?: "dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree" | undefined;
168
- readonly disabled?: boolean | undefined;
169
- readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
170
173
  onClose?: ((...args: any[]) => any) | undefined;
171
174
  readonly appendTo?: any;
172
- readonly className?: import("../types").ClassType | undefined;
173
- readonly ariaLabel?: string | undefined;
174
- readonly visible?: boolean | undefined;
175
- readonly teleported?: boolean | undefined;
176
175
  readonly arrowOffset?: number | undefined;
177
176
  readonly gpuAcceleration?: boolean | undefined;
178
177
  readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
@@ -191,6 +190,7 @@ declare const useSelect: (props: ExtractPropTypes<typeof SelectProps>, emit: any
191
190
  readonly virtualRef?: import("..").Measurable | undefined;
192
191
  readonly rawContent?: boolean | undefined;
193
192
  readonly persistent?: boolean | undefined;
193
+ readonly teleported?: boolean | undefined;
194
194
  onOpen?: ((...args: any[]) => any) | undefined;
195
195
  readonly triggerKeys?: string[] | undefined;
196
196
  readonly showArrow?: boolean | undefined;
@@ -208,11 +208,11 @@ declare const useSelect: (props: ExtractPropTypes<typeof SelectProps>, emit: any
208
208
  }>;
209
209
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
210
210
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
211
- $emit: (event: "open" | "close" | "hide" | "show" | "before-show" | "before-hide", ...args: any[]) => void;
211
+ $emit: ((event: "open", ...args: any[]) => void) & ((event: "close", ...args: any[]) => void) & ((event: "hide", ...args: any[]) => void) & ((event: "show", ...args: any[]) => void) & ((event: "before-show", ...args: any[]) => void) & ((event: "before-hide", ...args: any[]) => void);
212
212
  $el: any;
213
213
  $options: import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
214
214
  role: {
215
- type: import("vue").PropType<"dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree">;
215
+ type: import("vue").PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "group" | "navigation" | "tree">;
216
216
  };
217
217
  showArrow: {
218
218
  type: import("vue").PropType<boolean>;
@@ -272,7 +272,7 @@ declare const useSelect: (props: ExtractPropTypes<typeof SelectProps>, emit: any
272
272
  type: import("vue").PropType<Partial<import("@popperjs/core").Options>>;
273
273
  };
274
274
  strategy: {
275
- type: import("vue").PropType<"absolute" | "fixed">;
275
+ type: import("vue").PropType<"fixed" | "absolute">;
276
276
  };
277
277
  style: {
278
278
  type: import("vue").PropType<import("vue").StyleValue>;
@@ -367,7 +367,14 @@ declare const useSelect: (props: ExtractPropTypes<typeof SelectProps>, emit: any
367
367
  onOpen: (event?: Event | undefined) => void;
368
368
  onClose: (event?: Event | undefined) => void;
369
369
  hide: (event?: Event | undefined) => void;
370
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "hide" | "show" | "before-show" | "before-hide")[], string, {}, {}, string, {}> & {
370
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
371
+ open: (...args: any[]) => void;
372
+ close: (...args: any[]) => void;
373
+ hide: (...args: any[]) => void;
374
+ show: (...args: any[]) => void;
375
+ "before-show": (...args: any[]) => void;
376
+ "before-hide": (...args: any[]) => void;
377
+ }, string, {}, {}, string, {}> & {
371
378
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
372
379
  created?: ((() => void) | (() => void)[]) | undefined;
373
380
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -389,7 +396,7 @@ declare const useSelect: (props: ExtractPropTypes<typeof SelectProps>, emit: any
389
396
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
390
397
  } & Readonly<ExtractPropTypes<{
391
398
  role: {
392
- type: import("vue").PropType<"dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree">;
399
+ type: import("vue").PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "group" | "navigation" | "tree">;
393
400
  };
394
401
  showArrow: {
395
402
  type: import("vue").PropType<boolean>;
@@ -449,7 +456,7 @@ declare const useSelect: (props: ExtractPropTypes<typeof SelectProps>, emit: any
449
456
  type: import("vue").PropType<Partial<import("@popperjs/core").Options>>;
450
457
  };
451
458
  strategy: {
452
- type: import("vue").PropType<"absolute" | "fixed">;
459
+ type: import("vue").PropType<"fixed" | "absolute">;
453
460
  };
454
461
  style: {
455
462
  type: import("vue").PropType<import("vue").StyleValue>;
@@ -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");const u=require("../../utils/vue/install.cjs");require("vue");const r=require("./side-menu.vue2.cjs"),e=u.withInstall(r.default);exports.VftSideMenu=e;exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("@vueuse/core");require("@vft/utils");require("../../utils/ns-cover.cjs");const u=require("../../utils/vue/install.cjs");require("lodash");require("vue");const r=require("./side-menu.vue2.cjs"),e=u.withInstall(r.default);exports.VftSideMenu=e;exports.default=e;
@@ -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");const e=require("../../utils/vue/install.cjs");require("vue");const r=require("./skeleton.vue2.cjs"),t=require("./skeleton-item.vue2.cjs"),u=e.withInstall(r.default,{SkeletonItem:t.default}),l=e.withNoopInstall(t.default);exports.VftSkeleton=u;exports.VftSkeletonItem=l;exports.default=u;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("@vueuse/core");require("@vft/utils");require("../../utils/ns-cover.cjs");const e=require("../../utils/vue/install.cjs");require("lodash");require("vue");const r=require("./skeleton.vue2.cjs"),t=require("./skeleton-item.vue2.cjs"),u=e.withInstall(r.default,{SkeletonItem:t.default}),l=e.withNoopInstall(t.default);exports.VftSkeleton=u;exports.VftSkeletonItem=l;exports.default=u;
@@ -1 +1 @@
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");const i=require("../../hooks/use-namespace/index.cjs");require("@popperjs/core");const d=require("../../hooks/use-throttle-render/index.cjs");require("../../hooks/use-z-index/index.cjs");const s=require("./skeleton-item.vue2.cjs"),t=i.useNamespace("skeleton"),c=e.defineComponent({name:"vft-skeleton"}),m=e.defineComponent({...c,props:{animated:{type:Boolean,default:!1},count:{default:1},rows:{default:3},loading:{type:Boolean,default:!0},throttle:{}},setup(n,{expose:u}){const o=d.useThrottleRender(e.computed(()=>n.loading),n.throttle);return u({uiLoading:o}),(r,p)=>e.unref(o)?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:0,class:[e.unref(t).b(),e.unref(t).is("animated",r.animated)]},r.$attrs),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.count,l=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:l},[r.loading?e.renderSlot(r.$slots,"template",{key:l},()=>[e.createVNode(s.default,{class:e.normalizeClass(e.unref(t).is("first")),variant:"p"},null,8,["class"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.rows,a=>(e.openBlock(),e.createBlock(s.default,{key:a,class:e.normalizeClass([e.unref(t).e("paragraph"),e.unref(t).is("last",a===r.rows&&r.rows>1)]),variant:"p"},null,8,["class"]))),128))]):e.createCommentVNode("",!0)],64))),128))],16)):e.renderSlot(r.$slots,"default",e.normalizeProps(e.mergeProps({key:1},r.$attrs)))}});exports.default=m;
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");const i=require("../../hooks/use-namespace/index.cjs");require("@popperjs/core");const d=require("../../hooks/use-throttle-render/index.cjs");require("../../hooks/use-z-index/index.cjs");const s=require("./skeleton-item.vue2.cjs"),t=i.useNamespace("skeleton"),c=e.defineComponent({name:t.b()}),m=e.defineComponent({...c,props:{animated:{type:Boolean,default:!1},count:{default:1},rows:{default:3},loading:{type:Boolean,default:!0},throttle:{}},setup(n,{expose:u}){const o=d.useThrottleRender(e.computed(()=>n.loading),n.throttle);return u({uiLoading:o}),(r,p)=>e.unref(o)?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:0,class:[e.unref(t).b(),e.unref(t).is("animated",r.animated)]},r.$attrs),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.count,l=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:l},[r.loading?e.renderSlot(r.$slots,"template",{key:l},()=>[e.createVNode(s.default,{class:e.normalizeClass(e.unref(t).is("first")),variant:"p"},null,8,["class"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.rows,a=>(e.openBlock(),e.createBlock(s.default,{key:a,class:e.normalizeClass([e.unref(t).e("paragraph"),e.unref(t).is("last",a===r.rows&&r.rows>1)]),variant:"p"},null,8,["class"]))),128))]):e.createCommentVNode("",!0)],64))),128))],16)):e.renderSlot(r.$slots,"default",e.normalizeProps(e.mergeProps({key:1},r.$attrs)))}});exports.default=m;
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<{
25
25
  hovering: import("vue").Ref<boolean>;
26
26
  dragging: import("vue").Ref<boolean>;
27
27
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
- "update:modelValue": (value: number) => boolean;
28
+ "update:modelValue": (value: number) => void;
29
29
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
30
  modelValue: {
31
31
  type: import("vue").PropType<number>;
@@ -16,6 +16,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
16
16
  class?: unknown;
17
17
  readonly modelValue?: number | undefined;
18
18
  readonly placement?: import("@popperjs/core").Placement | undefined;
19
+ readonly vertical?: boolean | undefined;
19
20
  ref_for?: boolean | undefined;
20
21
  ref_key?: string | undefined;
21
22
  onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -56,7 +57,6 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
56
57
  }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
57
58
  [key: string]: any;
58
59
  }>) => void)[] | undefined;
59
- readonly vertical?: boolean | undefined;
60
60
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
61
61
  readonly tooltipClass?: string | undefined;
62
62
  };
@@ -95,7 +95,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
95
95
  hovering: Ref<boolean>;
96
96
  dragging: Ref<boolean>;
97
97
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
98
- "update:modelValue": (value: number) => boolean;
98
+ "update:modelValue": (value: number) => void;
99
99
  }, string, {}, {}, string, {}> & {
100
100
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
101
101
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -148,6 +148,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
148
148
  class?: unknown;
149
149
  readonly modelValue?: number | undefined;
150
150
  readonly placement?: import("@popperjs/core").Placement | undefined;
151
+ readonly vertical?: boolean | undefined;
151
152
  ref_for?: boolean | undefined;
152
153
  ref_key?: string | undefined;
153
154
  onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -188,7 +189,6 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
188
189
  }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
189
190
  [key: string]: any;
190
191
  }>) => void)[] | undefined;
191
- readonly vertical?: boolean | undefined;
192
192
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
193
193
  readonly tooltipClass?: string | undefined;
194
194
  };
@@ -227,7 +227,7 @@ export declare const useSlide: (props: SliderProps, initData: SliderInitData, em
227
227
  hovering: Ref<boolean>;
228
228
  dragging: Ref<boolean>;
229
229
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
230
- "update:modelValue": (value: number) => boolean;
230
+ "update:modelValue": (value: number) => void;
231
231
  }, string, {}, {}, string, {}> & {
232
232
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
233
233
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -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");const r=require("../../utils/vue/install.cjs");require("vue");const t=require("./slider.vue2.cjs"),i=require("./constants.cjs"),s=require("./slider.cjs"),e=r.withInstall(t.default);exports.sliderContextKey=i.sliderContextKey;exports.sliderEmits=s.sliderEmits;exports.VftSlider=e;exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("@vueuse/core");require("@vft/utils");require("../../utils/ns-cover.cjs");const r=require("../../utils/vue/install.cjs");require("lodash");require("vue");const t=require("./slider.vue2.cjs"),i=require("./constants.cjs"),s=require("./slider.cjs"),e=r.withInstall(t.default);exports.sliderContextKey=i.sliderContextKey;exports.sliderEmits=s.sliderEmits;exports.VftSlider=e;exports.default=e;
@@ -80,9 +80,9 @@ export declare const VftSlider: import("vft/es/utils").SFCWithInstall<import("vu
80
80
  }, {
81
81
  onSliderClick: (event: MouseEvent | TouchEvent) => void;
82
82
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
83
- "update:modelValue": (value: import("vft/es/utils").Arrayable<number>) => boolean;
84
- input: (value: import("vft/es/utils").Arrayable<number>) => boolean;
85
- change: (value: import("vft/es/utils").Arrayable<number>) => boolean;
83
+ "update:modelValue": (value: import("vft/es/utils").Arrayable<number>) => void;
84
+ change: (value: import("vft/es/utils").Arrayable<number>) => void;
85
+ input: (value: import("vft/es/utils").Arrayable<number>) => void;
86
86
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
87
87
  modelValue: {
88
88
  type: import("vue").PropType<number | number[]>;
@@ -110,9 +110,9 @@ declare const _default: import("vue").DefineComponent<{
110
110
  }, {
111
111
  onSliderClick: (event: MouseEvent | TouchEvent) => void;
112
112
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
113
- "update:modelValue": (value: import("../../utils").Arrayable<number>) => boolean;
114
- input: (value: import("../../utils").Arrayable<number>) => boolean;
115
- change: (value: import("../../utils").Arrayable<number>) => boolean;
113
+ "update:modelValue": (value: import("../../utils").Arrayable<number>) => void;
114
+ change: (value: import("../../utils").Arrayable<number>) => void;
115
+ input: (value: import("../../utils").Arrayable<number>) => void;
116
116
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
117
117
  modelValue: {
118
118
  type: import("vue").PropType<number | number[]>;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../form/index.cjs");const H=require("../input-number/index.cjs");require("@vueuse/core");require("@vft/utils");require("../../utils/ns-cover.cjs");require("lodash");const J=require("../../hooks/use-namespace/index.cjs");require("@popperjs/core");require("../../hooks/use-z-index/index.cjs");const I=require("./button.vue2.cjs"),Q=require("./composables/use-lifecycle.cjs"),X=require("./composables/use-marks.cjs"),Y=require("./composables/use-slide.cjs"),Z=require("./constants.cjs"),_=require("./composables/use-stops.cjs"),ee=require("./composables/use-watch.cjs"),ae=require("./marker.cjs"),re=require("./slider.cjs"),le=require("../form/hooks/use-form-item.cjs"),te=require("../form/hooks/use-form-common-props.cjs"),ne=["id","role","aria-labelledby"],oe={key:1},l=J.useNamespace("slider"),ue=e.defineComponent({name:"vft-slider"}),ie=e.defineComponent({...ue,props:{modelValue:{default:0},id:{},min:{default:0},max:{default:100},step:{default:1},showInput:{type:Boolean},showInputControls:{type:Boolean,default:!0},size:{},inputSize:{},showStops:{type:Boolean},showTooltip:{type:Boolean,default:!0},formatTooltip:{},disabled:{type:Boolean},range:{type:Boolean},vertical:{type:Boolean},height:{},debounce:{default:300},label:{},rangeStartLabel:{},rangeEndLabel:{},formatValueText:{},tooltipClass:{},placement:{default:"top"},marks:{},validateEvent:{type:Boolean,default:!0}},emits:re.sliderEmits,setup(t,{expose:E,emit:b}){const u=e.reactive({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),o=e.getCurrentInstance(),{elFormItem:p,slider:T,firstButton:F,secondButton:L,sliderDisabled:s,minValue:g,maxValue:B,runwayStyle:N,barStyle:M,resetSize:V,emitChange:S,onSliderWrapperPrevent:f,onSliderClick:U,onSliderDown:v,setFirstValue:C,setSecondValue:W}=Y.useSlide(o.props,u,b),{stops:D,getStopStyle:y}=_.useStops(o.props,u,g,B),{inputId:z,isLabeledByFormItem:h}=le.useFormItemInputId(o.props,{formItemContext:p}),q=te.useFormSize(),$=e.computed(()=>t.inputSize||q.value),P=e.computed(()=>t.formatValueText?t.formatValueText(i.value):`${i.value}`),x=e.computed(()=>t.rangeEndLabel||""),K=e.computed(()=>t.formatValueText?t.formatValueText(d.value):`${d.value}`),R=e.computed(()=>[l.b(),l.m(q.value),l.is("vertical",t.vertical),{[l.m("with-input")]:t.showInput}]),k=X.useMarks(o.props);ee.useWatch(o.props,u,g,B,b,p);const j=e.computed(()=>{const a=[t.min,t.max,t.step].map(n=>{const m=`${n}`.split(".")[1];return m?m.length:0});return Math.max.apply(null,a)}),{sliderWrapper:O}=Q.useLifecycle(o.props,u,V),{firstValue:i,secondValue:d,sliderSize:A}=e.toRefs(u),G=a=>{u.dragging=a};return e.provide(Z.sliderContextKey,{...e.toRefs(o.props),sliderSize:A,disabled:s.value,precision:j,emitChange:S,resetSize:V,updateDragging:G}),E({onSliderClick:U}),(a,n)=>{var m,w;return e.openBlock(),e.createElementBlock("div",{id:a.range?e.unref(z):void 0,ref_key:"sliderWrapper",ref:O,class:e.normalizeClass(R.value),role:a.range?"group":void 0,"aria-labelledby":a.range&&e.unref(h)?(m=e.unref(p))==null?void 0:m.labelId:void 0,onTouchstart:n[2]||(n[2]=(...r)=>e.unref(f)&&e.unref(f)(...r)),onTouchmove:n[3]||(n[3]=(...r)=>e.unref(f)&&e.unref(f)(...r))},[e.createElementVNode("div",{ref_key:"slider",ref:T,class:e.normalizeClass([e.unref(l).e("runway"),{"show-input":a.showInput&&!a.range},e.unref(l).is("disabled",e.unref(s))]),style:e.normalizeStyle(e.unref(N)),onMousedown:n[0]||(n[0]=(...r)=>e.unref(v)&&e.unref(v)(...r)),onTouchstart:n[1]||(n[1]=(...r)=>e.unref(v)&&e.unref(v)(...r))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).e("bar")),style:e.normalizeStyle(e.unref(M))},null,6),e.createVNode(I.default,{id:a.range?void 0:e.unref(z),ref_key:"firstButton",ref:F,"model-value":e.unref(i),vertical:a.vertical,"tooltip-class":a.tooltipClass,placement:a.placement,role:"slider","aria-labelledby":!a.range&&e.unref(h)?(w=e.unref(p))==null?void 0:w.labelId:void 0,"aria-valuemin":a.min,"aria-valuemax":a.range?e.unref(d):a.max,"aria-valuenow":e.unref(i),"aria-valuetext":P.value,"aria-orientation":a.vertical?"vertical":"horizontal","aria-disabled":e.unref(s),"onUpdate:modelValue":e.unref(C)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),a.range?(e.openBlock(),e.createBlock(I.default,{key:0,ref_key:"secondButton",ref:L,"model-value":e.unref(d),vertical:a.vertical,"tooltip-class":a.tooltipClass,placement:a.placement,role:"slider","aria-label":x.value,"aria-valuemin":e.unref(i),"aria-valuemax":a.max,"aria-valuenow":e.unref(d),"aria-valuetext":K.value,"aria-orientation":a.vertical?"vertical":"horizontal","aria-disabled":e.unref(s),"onUpdate:modelValue":e.unref(W)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):e.createCommentVNode("",!0),a.showStops?(e.openBlock(),e.createElementBlock("div",oe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(D),(r,c)=>(e.openBlock(),e.createElementBlock("div",{key:c,class:e.normalizeClass(e.unref(l).e("stop")),style:e.normalizeStyle(e.unref(y)(r))},null,6))),128))])):e.createCommentVNode("",!0),e.unref(k).length>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(k),(r,c)=>(e.openBlock(),e.createElementBlock("div",{key:c,style:e.normalizeStyle(e.unref(y)(r.position)),class:e.normalizeClass([e.unref(l).e("stop"),e.unref(l).e("marks-stop")])},null,6))),128))]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).e("marks"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(k),(r,c)=>(e.openBlock(),e.createBlock(e.unref(ae.default),{key:c,mark:r.mark,style:e.normalizeStyle(e.unref(y)(r.position))},null,8,["mark","style"]))),128))],2)],64)):e.createCommentVNode("",!0)],38),a.showInput&&!a.range?(e.openBlock(),e.createBlock(e.unref(H.VftInputNumber),{key:0,ref:"input","model-value":e.unref(i),class:e.normalizeClass(e.unref(l).e("input")),step:a.step,disabled:e.unref(s),controls:a.showInputControls,min:a.min,max:a.max,debounce:a.debounce,size:$.value,"onUpdate:modelValue":e.unref(C),onChange:e.unref(S)},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):e.createCommentVNode("",!0)],42,ne)}}});exports.default=ie;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../form/index.cjs");const H=require("../input-number/index.cjs");require("@vueuse/core");require("@vft/utils");require("../../utils/ns-cover.cjs");require("lodash");const J=require("../../hooks/use-namespace/index.cjs");require("@popperjs/core");require("../../hooks/use-z-index/index.cjs");const I=require("./button.vue2.cjs"),Q=require("./composables/use-lifecycle.cjs"),X=require("./composables/use-marks.cjs"),Y=require("./composables/use-slide.cjs"),Z=require("./constants.cjs"),_=require("./composables/use-stops.cjs"),ee=require("./composables/use-watch.cjs"),ae=require("./marker.cjs"),re=require("./slider.cjs"),le=require("../form/hooks/use-form-item.cjs"),te=require("../form/hooks/use-form-common-props.cjs"),ne=["id","role","aria-labelledby"],oe={key:1},l=J.useNamespace("slider"),ue=e.defineComponent({name:l.b()}),ie=e.defineComponent({...ue,props:{modelValue:{default:0},id:{},min:{default:0},max:{default:100},step:{default:1},showInput:{type:Boolean},showInputControls:{type:Boolean,default:!0},size:{},inputSize:{},showStops:{type:Boolean},showTooltip:{type:Boolean,default:!0},formatTooltip:{},disabled:{type:Boolean},range:{type:Boolean},vertical:{type:Boolean},height:{},debounce:{default:300},label:{},rangeStartLabel:{},rangeEndLabel:{},formatValueText:{},tooltipClass:{},placement:{default:"top"},marks:{},validateEvent:{type:Boolean,default:!0}},emits:re.sliderEmits,setup(t,{expose:E,emit:b}){const u=e.reactive({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),o=e.getCurrentInstance(),{elFormItem:p,slider:T,firstButton:F,secondButton:L,sliderDisabled:s,minValue:g,maxValue:B,runwayStyle:N,barStyle:M,resetSize:V,emitChange:S,onSliderWrapperPrevent:f,onSliderClick:U,onSliderDown:v,setFirstValue:C,setSecondValue:W}=Y.useSlide(o.props,u,b),{stops:D,getStopStyle:y}=_.useStops(o.props,u,g,B),{inputId:z,isLabeledByFormItem:h}=le.useFormItemInputId(o.props,{formItemContext:p}),q=te.useFormSize(),$=e.computed(()=>t.inputSize||q.value),P=e.computed(()=>t.formatValueText?t.formatValueText(i.value):`${i.value}`),x=e.computed(()=>t.rangeEndLabel||""),K=e.computed(()=>t.formatValueText?t.formatValueText(d.value):`${d.value}`),R=e.computed(()=>[l.b(),l.m(q.value),l.is("vertical",t.vertical),{[l.m("with-input")]:t.showInput}]),k=X.useMarks(o.props);ee.useWatch(o.props,u,g,B,b,p);const j=e.computed(()=>{const a=[t.min,t.max,t.step].map(n=>{const m=`${n}`.split(".")[1];return m?m.length:0});return Math.max.apply(null,a)}),{sliderWrapper:O}=Q.useLifecycle(o.props,u,V),{firstValue:i,secondValue:d,sliderSize:A}=e.toRefs(u),G=a=>{u.dragging=a};return e.provide(Z.sliderContextKey,{...e.toRefs(o.props),sliderSize:A,disabled:s.value,precision:j,emitChange:S,resetSize:V,updateDragging:G}),E({onSliderClick:U}),(a,n)=>{var m,w;return e.openBlock(),e.createElementBlock("div",{id:a.range?e.unref(z):void 0,ref_key:"sliderWrapper",ref:O,class:e.normalizeClass(R.value),role:a.range?"group":void 0,"aria-labelledby":a.range&&e.unref(h)?(m=e.unref(p))==null?void 0:m.labelId:void 0,onTouchstart:n[2]||(n[2]=(...r)=>e.unref(f)&&e.unref(f)(...r)),onTouchmove:n[3]||(n[3]=(...r)=>e.unref(f)&&e.unref(f)(...r))},[e.createElementVNode("div",{ref_key:"slider",ref:T,class:e.normalizeClass([e.unref(l).e("runway"),{"show-input":a.showInput&&!a.range},e.unref(l).is("disabled",e.unref(s))]),style:e.normalizeStyle(e.unref(N)),onMousedown:n[0]||(n[0]=(...r)=>e.unref(v)&&e.unref(v)(...r)),onTouchstart:n[1]||(n[1]=(...r)=>e.unref(v)&&e.unref(v)(...r))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).e("bar")),style:e.normalizeStyle(e.unref(M))},null,6),e.createVNode(I.default,{id:a.range?void 0:e.unref(z),ref_key:"firstButton",ref:F,"model-value":e.unref(i),vertical:a.vertical,"tooltip-class":a.tooltipClass,placement:a.placement,role:"slider","aria-labelledby":!a.range&&e.unref(h)?(w=e.unref(p))==null?void 0:w.labelId:void 0,"aria-valuemin":a.min,"aria-valuemax":a.range?e.unref(d):a.max,"aria-valuenow":e.unref(i),"aria-valuetext":P.value,"aria-orientation":a.vertical?"vertical":"horizontal","aria-disabled":e.unref(s),"onUpdate:modelValue":e.unref(C)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),a.range?(e.openBlock(),e.createBlock(I.default,{key:0,ref_key:"secondButton",ref:L,"model-value":e.unref(d),vertical:a.vertical,"tooltip-class":a.tooltipClass,placement:a.placement,role:"slider","aria-label":x.value,"aria-valuemin":e.unref(i),"aria-valuemax":a.max,"aria-valuenow":e.unref(d),"aria-valuetext":K.value,"aria-orientation":a.vertical?"vertical":"horizontal","aria-disabled":e.unref(s),"onUpdate:modelValue":e.unref(W)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):e.createCommentVNode("",!0),a.showStops?(e.openBlock(),e.createElementBlock("div",oe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(D),(r,c)=>(e.openBlock(),e.createElementBlock("div",{key:c,class:e.normalizeClass(e.unref(l).e("stop")),style:e.normalizeStyle(e.unref(y)(r))},null,6))),128))])):e.createCommentVNode("",!0),e.unref(k).length>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(k),(r,c)=>(e.openBlock(),e.createElementBlock("div",{key:c,style:e.normalizeStyle(e.unref(y)(r.position)),class:e.normalizeClass([e.unref(l).e("stop"),e.unref(l).e("marks-stop")])},null,6))),128))]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).e("marks"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(k),(r,c)=>(e.openBlock(),e.createBlock(e.unref(ae.default),{key:c,mark:r.mark,style:e.normalizeStyle(e.unref(y)(r.position))},null,8,["mark","style"]))),128))],2)],64)):e.createCommentVNode("",!0)],38),a.showInput&&!a.range?(e.openBlock(),e.createBlock(e.unref(H.VftInputNumber),{key:0,ref:"input","model-value":e.unref(i),class:e.normalizeClass(e.unref(l).e("input")),step:a.step,disabled:e.unref(s),controls:a.showInputControls,min:a.min,max:a.max,debounce:a.debounce,size:$.value,"onUpdate:modelValue":e.unref(C),onChange:e.unref(S)},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):e.createCommentVNode("",!0)],42,ne)}}});exports.default=ie;
@@ -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");const u=require("../../utils/vue/install.cjs");require("vue");const e=require("./space.cjs");require("./item.cjs");const s=require("./use-space.cjs"),r=u.withInstall(e.default);exports.spaceProps=e.spaceProps;exports.useSpace=s.useSpace;exports.VftSpace=r;exports.default=r;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("@vueuse/core");require("@vft/utils");require("../../utils/ns-cover.cjs");const u=require("../../utils/vue/install.cjs");require("lodash");require("vue");const e=require("./space.cjs");require("./item.cjs");const s=require("./use-space.cjs"),r=u.withInstall(e.default);exports.spaceProps=e.spaceProps;exports.useSpace=s.useSpace;exports.VftSpace=r;exports.default=r;
@@ -1,5 +1,5 @@
1
1
  export declare const VftSpace: import("vft/es/utils").SFCWithInstall<import("vue").DefineComponent<{
2
- readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
2
+ readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
3
3
  readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>))[], unknown, unknown, "", boolean>;
4
4
  readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, "", boolean>;
5
5
  readonly alignment: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "center", boolean>;
@@ -25,7 +25,7 @@ export declare const VftSpace: import("vft/es/utils").SFCWithInstall<import("vue
25
25
  [name: string]: unknown;
26
26
  $stable?: boolean | undefined;
27
27
  } | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
28
- readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
28
+ readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
29
29
  readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>))[], unknown, unknown, "", boolean>;
30
30
  readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, "", boolean>;
31
31
  readonly alignment: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "center", boolean>;
@@ -49,7 +49,7 @@ export declare const VftSpace: import("vft/es/utils").SFCWithInstall<import("vue
49
49
  readonly fill: boolean;
50
50
  readonly style: import("vue").StyleValue;
51
51
  readonly spacer: import("vue").VNodeChild;
52
- readonly direction: import("vft/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
52
+ readonly direction: import("vft/es/utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
53
53
  readonly class: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>))[], unknown, unknown>;
54
54
  readonly wrap: boolean;
55
55
  readonly alignment: string;
@@ -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");const i=require("../../utils/vue/props/runtime.cjs"),e=require("vue"),n=require("../../hooks/use-namespace/index.cjs");require("@popperjs/core");require("../../hooks/use-z-index/index.cjs");const o=i.buildProps({prefixCls:{type:String}}),c=e.defineComponent({name:"ElSpaceItem",props:o,setup(r,{slots:t}){const s=n.useNamespace("space"),u=e.computed(()=>`${r.prefixCls||s.b()}__item`);return()=>e.h("div",{class:u.value},e.renderSlot(t,"default"))}});exports.default=c;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("@vueuse/core");require("@vft/utils");require("../../utils/ns-cover.cjs");const i=require("../../utils/vue/props/runtime.cjs"),e=require("vue");require("lodash");const n=require("../../hooks/use-namespace/index.cjs");require("@popperjs/core");require("../../hooks/use-z-index/index.cjs");const o=i.buildProps({prefixCls:{type:String}}),c=e.defineComponent({name:"ElSpaceItem",props:o,setup(r,{slots:t}){const s=n.useNamespace("space"),u=e.computed(()=>`${r.prefixCls||s.b()}__item`);return()=>e.h("div",{class:u.value},e.renderSlot(t,"default"))}});exports.default=c;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("@vft/utils"),b=require("../../constants/size.cjs");require("@vueuse/core");require("../../utils/ns-cover.cjs");require("lodash");const d=require("../../utils/vue/props/runtime.cjs"),r=require("../../utils/vue/vnode.cjs"),i=require("vue"),g=require("./item.cjs"),v=require("./use-space.cjs"),h=d.buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:d.definePropType([String,Object,Array]),default:""},style:{type:d.definePropType([String,Array,Object]),default:""},alignment:{type:String,default:"center"},prefixCls:{type:String},spacer:{type:d.definePropType([Object,String,Number,Array]),default:null,validator:e=>i.isVNode(e)||l.isNumber(e)||l.isString(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:b.componentSizes,validator:e=>l.isNumber(e)||l.isArray(e)&&e.length===2&&e.every(l.isNumber)}}),T=i.defineComponent({name:"VftSpace",props:h,setup(e,{slots:P}){const{classes:m,containerStyle:N,itemStyle:f}=v.useSpace(e);function y(n,c="",t=[]){const{prefixCls:s}=e;return n.forEach((a,p)=>{r.isFragment(a)?l.isArray(a.children)&&a.children.forEach((u,o)=>{r.isFragment(u)&&l.isArray(u.children)?y(u.children,`${c+o}-`,t):t.push(i.createVNode(g.default,{style:f.value,prefixCls:s,key:`nested-${c+o}`},{default:()=>[u]},r.PatchFlags.PROPS|r.PatchFlags.STYLE,["style","prefixCls"]))}):r.isValidElementNode(a)&&t.push(i.createVNode(g.default,{style:f.value,prefixCls:s,key:`LoopKey${c+p}`},{default:()=>[a]},r.PatchFlags.PROPS|r.PatchFlags.STYLE,["style","prefixCls"]))}),t}return()=>{const{spacer:n,direction:c}=e,t=i.renderSlot(P,"default",{key:0},()=>[]);if((t.children??[]).length===0)return null;if(l.isArray(t.children)){let s=y(t.children);if(n){const a=s.length-1;s=s.reduce((p,u,o)=>{const S=[...p,u];return o!==a&&S.push(i.createVNode("span",{style:[f.value,c==="vertical"?"width: 100%":null],key:o},[i.isVNode(n)?n:i.createTextVNode(n,r.PatchFlags.TEXT)],r.PatchFlags.STYLE)),S},[])}return i.createVNode("div",{class:m.value,style:N.value},s,r.PatchFlags.STYLE|r.PatchFlags.CLASS)}return t.children}}});exports.default=T;exports.spaceProps=h;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("@vft/utils"),b=require("../../constants/size.cjs");require("@vueuse/core");require("../../utils/ns-cover.cjs");const d=require("../../utils/vue/props/runtime.cjs"),r=require("../../utils/vue/vnode.cjs"),i=require("vue"),g=require("./item.cjs"),v=require("./use-space.cjs"),h=d.buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:d.definePropType([String,Object,Array]),default:""},style:{type:d.definePropType([String,Array,Object]),default:""},alignment:{type:String,default:"center"},prefixCls:{type:String},spacer:{type:d.definePropType([Object,String,Number,Array]),default:null,validator:e=>i.isVNode(e)||l.isNumber(e)||l.isString(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:b.componentSizes,validator:e=>l.isNumber(e)||l.isArray(e)&&e.length===2&&e.every(l.isNumber)}}),T=i.defineComponent({name:"VftSpace",props:h,setup(e,{slots:P}){const{classes:m,containerStyle:N,itemStyle:f}=v.useSpace(e);function y(n,c="",t=[]){const{prefixCls:s}=e;return n.forEach((a,p)=>{r.isFragment(a)?l.isArray(a.children)&&a.children.forEach((u,o)=>{r.isFragment(u)&&l.isArray(u.children)?y(u.children,`${c+o}-`,t):t.push(i.createVNode(g.default,{style:f.value,prefixCls:s,key:`nested-${c+o}`},{default:()=>[u]},r.PatchFlags.PROPS|r.PatchFlags.STYLE,["style","prefixCls"]))}):r.isValidElementNode(a)&&t.push(i.createVNode(g.default,{style:f.value,prefixCls:s,key:`LoopKey${c+p}`},{default:()=>[a]},r.PatchFlags.PROPS|r.PatchFlags.STYLE,["style","prefixCls"]))}),t}return()=>{const{spacer:n,direction:c}=e,t=i.renderSlot(P,"default",{key:0},()=>[]);if((t.children??[]).length===0)return null;if(l.isArray(t.children)){let s=y(t.children);if(n){const a=s.length-1;s=s.reduce((p,u,o)=>{const S=[...p,u];return o!==a&&S.push(i.createVNode("span",{style:[f.value,c==="vertical"?"width: 100%":null],key:o},[i.isVNode(n)?n:i.createTextVNode(n,r.PatchFlags.TEXT)],r.PatchFlags.STYLE)),S},[])}return i.createVNode("div",{class:m.value,style:N.value},s,r.PatchFlags.STYLE|r.PatchFlags.CLASS)}return t.children}}});exports.default=T;exports.spaceProps=h;
@@ -1,7 +1,7 @@
1
1
  import type { Arrayable } from 'vft/es/utils';
2
2
  import type { ExtractPropTypes, StyleValue, VNode, VNodeChild } from 'vue';
3
3
  export declare const spaceProps: {
4
- readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
4
+ readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
5
5
  readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>))[], unknown, unknown, "", boolean>;
6
6
  readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, "", boolean>;
7
7
  readonly alignment: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "center", boolean>;
@@ -24,7 +24,7 @@ export declare const spaceProps: {
24
24
  };
25
25
  export type SpaceProps = ExtractPropTypes<typeof spaceProps>;
26
26
  declare const Space: import("vue").DefineComponent<{
27
- readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
27
+ readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
28
28
  readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>))[], unknown, unknown, "", boolean>;
29
29
  readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, "", boolean>;
30
30
  readonly alignment: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "center", boolean>;
@@ -50,7 +50,7 @@ declare const Space: import("vue").DefineComponent<{
50
50
  [name: string]: unknown;
51
51
  $stable?: boolean | undefined;
52
52
  } | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
53
- readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
53
+ readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
54
54
  readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>))[], unknown, unknown, "", boolean>;
55
55
  readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, "", boolean>;
56
56
  readonly alignment: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "center", boolean>;
@@ -74,7 +74,7 @@ declare const Space: import("vue").DefineComponent<{
74
74
  readonly fill: boolean;
75
75
  readonly style: StyleValue;
76
76
  readonly spacer: VNodeChild;
77
- readonly direction: import("vft/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
77
+ readonly direction: import("vft/es/utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
78
78
  readonly class: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>))[], unknown, unknown>;
79
79
  readonly wrap: boolean;
80
80
  readonly alignment: string;
@@ -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");const u=require("../../utils/vue/install.cjs");require("vue");const i=require("./super-form.vue2.cjs"),e=require("./component-map.cjs"),r=require("./use/use-form.cjs"),t=u.withInstall(i.default);exports.FormCompEnum=e.FormCompEnum;exports.add=e.add;exports.componentMap=e.componentMap;exports.del=e.del;exports.isDatePicker=e.isDatePicker;exports.isInput=e.isInput;exports.isRangePicker=e.isRangePicker;exports.getDynamicProps=r.getDynamicProps;exports.useForm=r.useForm;exports.VftSuperForm=t;exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("@vueuse/core");require("@vft/utils");require("../../utils/ns-cover.cjs");const u=require("../../utils/vue/install.cjs");require("lodash");require("vue");const i=require("./super-form.vue2.cjs"),e=require("./component-map.cjs"),r=require("./use/use-form.cjs"),t=u.withInstall(i.default);exports.FormCompEnum=e.FormCompEnum;exports.add=e.add;exports.componentMap=e.componentMap;exports.del=e.del;exports.isDatePicker=e.isDatePicker;exports.isInput=e.isInput;exports.isRangePicker=e.isRangePicker;exports.getDynamicProps=r.getDynamicProps;exports.useForm=r.useForm;exports.VftSuperForm=t;exports.default=t;