vft 0.0.507 → 0.0.511

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 (326) hide show
  1. package/dist/index.css +1 -1
  2. package/es/components/affix/affix.vue2.js +2 -2
  3. package/es/components/alert/alert.vue2.js +1 -1
  4. package/es/components/autocomplete/autocomplete.vue2.js +1 -1
  5. package/es/components/avatar/avatar.vue2.js +2 -2
  6. package/es/components/avatar-stack/avatar-stack.vue2.js +7 -7
  7. package/es/components/backtop/backtop.vue2.js +1 -1
  8. package/es/components/breadcrumb/breadcrumb-item.vue2.js +3 -3
  9. package/es/components/breadcrumb/breadcrumb.vue2.js +2 -2
  10. package/es/components/button/button-group.vue2.js +2 -2
  11. package/es/components/button/button.vue2.js +7 -7
  12. package/es/components/button/use-button.js +3 -3
  13. package/es/components/card/card.vue2.js +6 -6
  14. package/es/components/carousel/carousel-item.vue2.js +3 -3
  15. package/es/components/carousel/carousel.vue2.js +1 -1
  16. package/es/components/carousel/use-carousel.js +1 -1
  17. package/es/components/cascader/cascader.vue2.js +203 -202
  18. package/es/components/cascader-panel/index.vue2.js +1 -1
  19. package/es/components/cascader-panel/menu.vue2.js +50 -49
  20. package/es/components/cascader-panel/node.vue2.js +8 -8
  21. package/es/components/check-tag/check-tag.vue2.js +2 -2
  22. package/es/components/checkbox/checkbox-button.vue2.js +13 -13
  23. package/es/components/checkbox/checkbox-group.vue2.js +3 -3
  24. package/es/components/checkbox/checkbox.vue2.js +1 -1
  25. package/es/components/clamp/clamp.vue2.js +2 -2
  26. package/es/components/clamp-toggle/clamp-toggle.vue2.js +21 -17
  27. package/es/components/clamp-tooltip/clamp-tooltip.vue2.js +6 -6
  28. package/es/components/col/col.vue2.js +2 -2
  29. package/es/components/collapse/collapse-item.vue2.js +2 -2
  30. package/es/components/collapse/collapse.vue2.js +2 -2
  31. package/es/components/collapse-transition/collapse-transition.vue2.js +2 -2
  32. package/es/components/color-picker/color-picker.vue2.js +134 -133
  33. package/es/components/color-picker/components/alpha-slider.vue2.js +2 -2
  34. package/es/components/color-picker/components/hue-slider.vue.js +2 -2
  35. package/es/components/color-picker/components/predefine.vue.js +3 -3
  36. package/es/components/color-picker/components/sv-panel.vue.js +2 -2
  37. package/es/components/config-provider/config-provider.vue.d.ts +2 -0
  38. package/es/components/config-provider/config-provider.vue2.js +5 -4
  39. package/es/components/config-provider/constants.d.ts +1 -0
  40. package/es/components/config-provider/constants.js +3 -2
  41. package/es/components/config-provider/hooks/use-global-config.js +33 -30
  42. package/es/components/config-provider/index.d.ts +9 -0
  43. package/es/components/config-provider/index.js +6 -5
  44. package/es/components/container/aside.vue2.js +2 -2
  45. package/es/components/container/container.vue2.js +2 -2
  46. package/es/components/container/footer.vue2.js +2 -2
  47. package/es/components/container/header.vue2.js +2 -2
  48. package/es/components/container/main.vue2.js +2 -2
  49. package/es/components/context-menu/context-menu.vue2.js +1 -1
  50. package/es/components/countdown/countdown.vue2.js +2 -2
  51. package/es/components/date-picker/composables/use-basic-date-table.js +83 -82
  52. package/es/components/date-picker/composables/use-month-range-header.js +15 -14
  53. package/es/components/date-picker/composables/use-panel-date-range.js +24 -23
  54. package/es/components/date-picker/date-picker-com/basic-date-table.vue2.js +6 -6
  55. package/es/components/date-picker/date-picker-com/basic-month-table.vue2.js +40 -39
  56. package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +41 -40
  57. package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +184 -183
  58. package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +225 -224
  59. package/es/components/date-picker/date-picker-com/panel-month-range.vue2.js +12 -12
  60. package/es/components/date-picker/date-picker-com/panel-year-range.vue2.js +12 -12
  61. package/es/components/date-picker/props/basic-date-table.js +3 -3
  62. package/es/components/date-picker/props/basic-month-table.js +3 -3
  63. package/es/components/date-picker/props/basic-year-table.js +3 -3
  64. package/es/components/date-time-select/date-time-select.vue2.js +39 -36
  65. package/es/components/descriptions/description.vue2.js +1 -1
  66. package/es/components/descriptions/descriptions-row.vue2.js +10 -10
  67. package/es/components/dialog/dialog-content.vue2.js +3 -3
  68. package/es/components/dialog/dialog.vue2.js +5 -5
  69. package/es/components/divider/divider.vue2.js +5 -5
  70. package/es/components/drawer/drawer.vue2.js +4 -4
  71. package/es/components/dropdown/dropdown-item-impl.vue.d.ts +1 -1
  72. package/es/components/dropdown/dropdown-item-impl.vue2.js +3 -3
  73. package/es/components/dropdown/dropdown-item.vue.d.ts +1 -1
  74. package/es/components/dropdown/dropdown-item.vue2.js +2 -2
  75. package/es/components/dropdown/dropdown-menu.vue2.js +2 -2
  76. package/es/components/dropdown/dropdown.vue.d.ts +1 -1
  77. package/es/components/dropdown/dropdown.vue2.js +68 -67
  78. package/es/components/dropdown/index.d.ts +33 -33
  79. package/es/components/empty/empty.vue2.js +39 -38
  80. package/es/components/footer-layout/footer-layout.vue2.js +2 -2
  81. package/es/components/form/form-item.vue2.js +16 -16
  82. package/es/components/form/form.vue2.js +2 -2
  83. package/es/components/full-screen/full-screen.vue2.js +18 -17
  84. package/es/components/header-layout/header-layout.vue2.js +1 -1
  85. package/es/components/horizontal-menu/horizontal-menu.vue2.js +3 -3
  86. package/es/components/icon/icon.vue2.js +3 -3
  87. package/es/components/icon-text/icon-text.vue2.js +1 -1
  88. package/es/components/iframe-layout/iframe-layout.vue2.js +4 -4
  89. package/es/components/iframe-layout/iframe-page.vue2.js +2 -2
  90. package/es/components/image/image.vue2.js +60 -59
  91. package/es/components/image-viewer/image-viewer.vue2.js +43 -42
  92. package/es/components/index.d.ts +1 -0
  93. package/es/components/index.js +214 -210
  94. package/es/components/input/input.vue2.js +2 -2
  95. package/es/components/input-number/input-number.vue2.js +4 -4
  96. package/es/components/input-tag/composables/use-input-tag.js +1 -1
  97. package/es/components/input-tag/input-tag.vue2.js +7 -7
  98. package/es/components/link/link.vue2.js +1 -1
  99. package/es/components/list-cell/list-cell.vue2.js +1 -1
  100. package/es/components/logo/logo.vue2.js +10 -10
  101. package/es/components/md-comment/md-comment.vue2.js +2 -2
  102. package/es/components/md-container/md-container.vue2.js +75 -74
  103. package/es/components/md-container/toc.js +37 -36
  104. package/es/components/menu/menu-collapse-transition.vue.js +2 -2
  105. package/es/components/menu/menu-item-group.vue2.js +7 -7
  106. package/es/components/menu/menu-item.vue2.js +1 -1
  107. package/es/components/message/message.vue2.js +3 -3
  108. package/es/components/message-box/index.d.ts +4 -0
  109. package/es/components/message-box/index.js +14 -0
  110. package/es/components/message-box/message-box.vue.d.ts +103 -0
  111. package/es/components/message-box/message-box.vue.js +4 -0
  112. package/es/components/message-box/message-box.vue2.js +358 -0
  113. package/es/components/message-box/method.d.ts +3 -0
  114. package/es/components/message-box/method.js +101 -0
  115. package/es/components/message-box/style/css.d.ts +2 -0
  116. package/es/components/message-box/style/css.js +3 -0
  117. package/es/components/message-box/style/index.d.ts +2 -0
  118. package/es/components/message-box/style/index.js +3 -0
  119. package/es/components/message-box/types.d.ts +202 -0
  120. package/es/components/message-box/types.js +1 -0
  121. package/es/components/modal/index.d.ts +1 -0
  122. package/es/components/modal/modal-footer-action.vue2.js +25 -24
  123. package/es/components/modal/modal.vue.d.ts +1 -0
  124. package/es/components/modal/modal.vue2.js +30 -28
  125. package/es/components/multiple-tabs/multiple-tabs.vue2.js +17 -16
  126. package/es/components/multiple-tabs/tab-content.vue2.js +2 -2
  127. package/es/components/multiple-tabs/use/use-tab-dropdown.js +54 -53
  128. package/es/components/notification/notification.vue2.js +1 -1
  129. package/es/components/overlay/overlay.vue2.js +1 -1
  130. package/es/components/page-wrapper/page-wrapper.vue2.js +2 -2
  131. package/es/components/pagination/components/jumper.vue2.js +2 -2
  132. package/es/components/pagination/components/next.vue2.js +4 -4
  133. package/es/components/pagination/components/pager.vue2.js +1 -1
  134. package/es/components/pagination/components/prev.vue2.js +4 -4
  135. package/es/components/pagination/components/sizes.vue2.js +2 -2
  136. package/es/components/pagination/components/total.vue2.js +2 -2
  137. package/es/components/popconfirm/popconfirm.vue2.js +40 -39
  138. package/es/components/popover/popover.vue2.js +1 -1
  139. package/es/components/popper/arrow.vue2.js +2 -2
  140. package/es/components/popper/content.vue2.js +2 -2
  141. package/es/components/popper/trigger.vue2.js +4 -4
  142. package/es/components/progress/progress.vue2.js +1 -1
  143. package/es/components/progress-i/progress-i.vue2.js +2 -2
  144. package/es/components/qrcode/qrcode.vue2.js +1 -1
  145. package/es/components/radio/radio-button.vue2.js +2 -2
  146. package/es/components/radio/radio-group.vue2.js +3 -3
  147. package/es/components/radio/radio.vue2.js +2 -2
  148. package/es/components/rate/rate.vue2.js +6 -6
  149. package/es/components/router-view-content/router-view-content.vue2.js +7 -7
  150. package/es/components/roving-focus-group/roving-focus-group.vue2.js +2 -2
  151. package/es/components/roving-focus-group/roving-focus-item.vue2.js +2 -2
  152. package/es/components/row/row.vue2.js +2 -2
  153. package/es/components/scrollbar/bar.vue2.js +2 -2
  154. package/es/components/scrollbar/scrollbar.vue2.js +7 -7
  155. package/es/components/scrollbar/thumb.vue2.js +2 -2
  156. package/es/components/search/search.vue2.js +78 -76
  157. package/es/components/segmented/segmented.vue2.js +7 -7
  158. package/es/components/select/group-item.vue.js +2 -2
  159. package/es/components/select/option-item.vue.js +2 -2
  160. package/es/components/select/select.vue.js +1 -1
  161. package/es/components/select/useSelect.js +232 -231
  162. package/es/components/skeleton/skeleton-item.vue2.js +2 -2
  163. package/es/components/skeleton/skeleton.vue2.js +8 -8
  164. package/es/components/slider/button.vue2.js +2 -2
  165. package/es/components/slider/slider.vue2.js +1 -1
  166. package/es/components/space/space.js +1 -1
  167. package/es/components/statistic/statistic.vue2.js +17 -17
  168. package/es/components/steps/item.vue2.js +11 -11
  169. package/es/components/steps/steps.vue2.js +2 -2
  170. package/es/components/super-form/super-form-action.vue2.js +11 -11
  171. package/es/components/super-form/super-form-item.vue2.js +5 -4
  172. package/es/components/super-form/super-form.vue2.js +7 -7
  173. package/es/components/super-form/use/helper.js +12 -12
  174. package/es/components/super-form/use/use-form.js +8 -8
  175. package/es/components/switch/switch.vue2.js +1 -1
  176. package/es/components/table/field.js +34 -33
  177. package/es/components/table/table.vue2.js +154 -157
  178. package/es/components/table/use/use-data-source.js +90 -90
  179. package/es/components/tabs/tab-bar.vue2.js +2 -2
  180. package/es/components/tabs/tab-pane.vue2.js +6 -6
  181. package/es/components/teleport/teleport.vue2.js +2 -2
  182. package/es/components/time-picker/common/picker-range-trigger.vue2.js +2 -2
  183. package/es/components/time-picker/common/picker.vue2.js +8 -8
  184. package/es/components/time-picker/time-picker-com/basic-time-spinner.vue2.js +1 -1
  185. package/es/components/time-picker/time-picker-com/panel-time-pick.vue2.js +66 -65
  186. package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +134 -133
  187. package/es/components/time-select/time-select.vue2.js +3 -3
  188. package/es/components/timeline/timeline-item.vue2.js +1 -1
  189. package/es/components/tooltip/content.vue2.js +6 -6
  190. package/es/components/tooltip/tooltip.vue2.js +1 -1
  191. package/es/components/tooltip/trigger.vue2.js +2 -2
  192. package/es/components/transfer/transfer-panel.vue2.js +59 -58
  193. package/es/components/transfer/transfer.vue2.js +70 -69
  194. package/es/components/tree/tree-node.vue.js +1 -1
  195. package/es/components/tree/tree.vue2.js +60 -59
  196. package/es/components/upload/index.d.ts +3 -3
  197. package/es/components/upload/upload-content.vue.d.ts +2 -2
  198. package/es/components/upload/upload-content.vue2.js +76 -73
  199. package/es/components/upload/upload-dragger.vue2.js +2 -2
  200. package/es/components/upload/upload-list.vue2.js +46 -45
  201. package/es/components/upload/upload.vue.d.ts +2 -2
  202. package/es/components/upload/upload.vue2.js +87 -85
  203. package/es/components/upload/utils.js +29 -29
  204. package/es/components/verify-code/verify-code.vue2.js +2 -2
  205. package/es/components/watermark/watermark.vue2.js +2 -2
  206. package/es/constants/date.d.ts +1 -1
  207. package/es/constants/date.js +9 -1
  208. package/es/hooks/use-id/index.js +2 -2
  209. package/es/hooks/use-z-index/index.js +3 -3
  210. package/es/index.d.ts +1 -0
  211. package/es/index.js +43 -38
  212. package/es/locale/index.d.js +1 -0
  213. package/es/locale/index.d.ts +26 -0
  214. package/es/locale/index.js +10 -0
  215. package/es/locale/lang/en.d.ts +183 -0
  216. package/es/locale/lang/en.js +241 -0
  217. package/es/locale/lang/zh-cn.d.ts +183 -0
  218. package/es/locale/lang/zh-cn.js +241 -0
  219. package/es/locale/lang/zh-tw.d.ts +183 -0
  220. package/es/locale/lang/zh-tw.js +241 -0
  221. package/es/locale/use-locale.d.ts +17 -0
  222. package/es/locale/use-locale.js +56 -0
  223. package/es/package.json.d.ts +1 -1
  224. package/es/package.json.js +1 -1
  225. package/es/plugin.js +5 -3
  226. package/es/utils/helper.js +2 -2
  227. package/es/utils/ns-cover.js +1 -1
  228. package/es/utils/vue/vnode.js +4 -4
  229. package/lib/components/button/use-button.cjs +1 -1
  230. package/lib/components/cascader/cascader.vue2.cjs +1 -1
  231. package/lib/components/cascader-panel/menu.vue2.cjs +4 -4
  232. package/lib/components/clamp-toggle/clamp-toggle.vue2.cjs +1 -1
  233. package/lib/components/color-picker/color-picker.vue2.cjs +1 -1
  234. package/lib/components/config-provider/config-provider.vue.d.ts +2 -0
  235. package/lib/components/config-provider/config-provider.vue2.cjs +1 -1
  236. package/lib/components/config-provider/constants.cjs +1 -1
  237. package/lib/components/config-provider/constants.d.ts +1 -0
  238. package/lib/components/config-provider/hooks/use-global-config.cjs +1 -1
  239. package/lib/components/config-provider/index.cjs +1 -1
  240. package/lib/components/config-provider/index.d.ts +9 -0
  241. package/lib/components/date-picker/composables/use-basic-date-table.cjs +1 -1
  242. package/lib/components/date-picker/composables/use-month-range-header.cjs +1 -1
  243. package/lib/components/date-picker/composables/use-panel-date-range.cjs +1 -1
  244. package/lib/components/date-picker/date-picker-com/basic-month-table.vue2.cjs +1 -1
  245. package/lib/components/date-picker/date-picker-com/basic-year-table.vue2.cjs +1 -1
  246. package/lib/components/date-picker/date-picker-com/panel-date-pick.vue2.cjs +1 -1
  247. package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -1
  248. package/lib/components/date-time-select/date-time-select.vue2.cjs +1 -1
  249. package/lib/components/dropdown/dropdown-item-impl.vue.d.ts +1 -1
  250. package/lib/components/dropdown/dropdown-item.vue.d.ts +1 -1
  251. package/lib/components/dropdown/dropdown.vue.d.ts +1 -1
  252. package/lib/components/dropdown/dropdown.vue2.cjs +1 -1
  253. package/lib/components/dropdown/index.d.ts +33 -33
  254. package/lib/components/empty/empty.vue2.cjs +1 -1
  255. package/lib/components/full-screen/full-screen.vue2.cjs +1 -1
  256. package/lib/components/image/image.vue2.cjs +1 -1
  257. package/lib/components/image-viewer/image-viewer.vue2.cjs +1 -1
  258. package/lib/components/index.cjs +1 -1
  259. package/lib/components/index.d.ts +1 -0
  260. package/lib/components/md-container/md-container.vue2.cjs +1 -1
  261. package/lib/components/md-container/toc.cjs +1 -1
  262. package/lib/components/message-box/index.cjs +1 -0
  263. package/lib/components/message-box/index.d.ts +4 -0
  264. package/lib/components/message-box/message-box.vue.cjs +1 -0
  265. package/lib/components/message-box/message-box.vue.d.ts +103 -0
  266. package/lib/components/message-box/message-box.vue2.cjs +1 -0
  267. package/lib/components/message-box/method.cjs +1 -0
  268. package/lib/components/message-box/method.d.ts +3 -0
  269. package/lib/components/message-box/style/css.cjs +1 -0
  270. package/lib/components/message-box/style/css.d.ts +2 -0
  271. package/lib/components/message-box/style/index.cjs +1 -0
  272. package/lib/components/message-box/style/index.d.ts +2 -0
  273. package/lib/components/message-box/types.cjs +1 -0
  274. package/lib/components/message-box/types.d.ts +202 -0
  275. package/lib/components/modal/index.d.ts +1 -0
  276. package/lib/components/modal/modal-footer-action.vue2.cjs +1 -1
  277. package/lib/components/modal/modal.vue.d.ts +1 -0
  278. package/lib/components/modal/modal.vue2.cjs +1 -1
  279. package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
  280. package/lib/components/multiple-tabs/use/use-tab-dropdown.cjs +1 -1
  281. package/lib/components/popconfirm/popconfirm.vue2.cjs +1 -1
  282. package/lib/components/search/search.vue2.cjs +1 -1
  283. package/lib/components/select/useSelect.cjs +1 -1
  284. package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
  285. package/lib/components/super-form/use/helper.cjs +1 -1
  286. package/lib/components/super-form/use/use-form.cjs +1 -1
  287. package/lib/components/table/field.cjs +1 -1
  288. package/lib/components/table/table.vue2.cjs +1 -1
  289. package/lib/components/table/use/use-data-source.cjs +1 -1
  290. package/lib/components/time-picker/time-picker-com/panel-time-pick.vue2.cjs +1 -1
  291. package/lib/components/time-picker/time-picker-com/panel-time-range.vue2.cjs +1 -1
  292. package/lib/components/transfer/transfer-panel.vue2.cjs +1 -1
  293. package/lib/components/transfer/transfer.vue2.cjs +1 -1
  294. package/lib/components/tree/tree.vue2.cjs +1 -1
  295. package/lib/components/upload/index.d.ts +3 -3
  296. package/lib/components/upload/upload-content.vue.d.ts +2 -2
  297. package/lib/components/upload/upload-content.vue2.cjs +1 -1
  298. package/lib/components/upload/upload-list.vue2.cjs +1 -1
  299. package/lib/components/upload/upload.vue.d.ts +2 -2
  300. package/lib/components/upload/upload.vue2.cjs +1 -1
  301. package/lib/components/upload/utils.cjs +1 -1
  302. package/lib/constants/date.cjs +1 -1
  303. package/lib/constants/date.d.ts +1 -1
  304. package/lib/index.cjs +1 -1
  305. package/lib/index.d.ts +1 -0
  306. package/lib/locale/index.cjs +1 -0
  307. package/lib/locale/index.d.cjs +1 -0
  308. package/lib/locale/index.d.ts +26 -0
  309. package/lib/locale/lang/en.cjs +1 -0
  310. package/lib/locale/lang/en.d.ts +183 -0
  311. package/lib/locale/lang/zh-cn.cjs +1 -0
  312. package/lib/locale/lang/zh-cn.d.ts +183 -0
  313. package/lib/locale/lang/zh-tw.cjs +1 -0
  314. package/lib/locale/lang/zh-tw.d.ts +183 -0
  315. package/lib/locale/use-locale.cjs +1 -0
  316. package/lib/locale/use-locale.d.ts +17 -0
  317. package/lib/package.json.cjs +1 -1
  318. package/lib/package.json.d.ts +1 -1
  319. package/lib/plugin.cjs +1 -1
  320. package/package.json +2 -2
  321. package/theme-style/index.css +1 -1
  322. package/theme-style/src/super-form.scss +0 -1
  323. package/theme-style/src/table.scss +4 -0
  324. package/theme-style/vft-super-form.css +1 -1
  325. package/theme-style/vft-table.css +1 -1
  326. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as j, ref as S, inject as K, toRef as V, computed as L, watch as re, createElementBlock as m, openBlock as p, normalizeClass as o, unref as e, createElementVNode as l, renderSlot as le, createCommentVNode as w, Fragment as se, renderList as ie, toDisplayString as E, createVNode as f } from "vue";
1
+ import { defineComponent as j, ref as S, inject as K, toRef as V, computed as L, watch as re, openBlock as m, createElementBlock as p, normalizeClass as o, unref as e, createElementVNode as l, renderSlot as le, Fragment as se, renderList as ie, toDisplayString as w, createCommentVNode as E, createVNode as f } from "vue";
2
2
  import U from "dayjs";
3
3
  import { VftIcon as C } from "../../icon/index.js";
4
4
  import { isArray as de } from "@vft/utils";
@@ -76,7 +76,7 @@ const ke = ["onClick"], Ce = ["disabled"], Pe = ["disabled"], P = "year", ye = j
76
76
  (t) => {
77
77
  !t && R.value.selecting && (Q(i.parsedValue), _(!1));
78
78
  }
79
- ), d("set-picker-option", ["isValidValue", ce]), d("set-picker-option", ["formatToString", ae]), d("set-picker-option", ["parseUserInput", ne]), d("set-picker-option", ["handleClear", te]), (t, a) => (p(), m("div", {
79
+ ), d("set-picker-option", ["isValidValue", ce]), d("set-picker-option", ["formatToString", ae]), d("set-picker-option", ["parseUserInput", ne]), d("set-picker-option", ["handleClear", te]), (t, a) => (m(), p("div", {
80
80
  class: o([
81
81
  e(r).b(),
82
82
  e(g).b(),
@@ -91,17 +91,17 @@ const ke = ["onClick"], Ce = ["disabled"], Pe = ["disabled"], P = "year", ye = j
91
91
  le(t.$slots, "sidebar", {
92
92
  class: o(e(r).e("sidebar"))
93
93
  }),
94
- x.value ? (p(), m("div", {
94
+ x.value ? (m(), p("div", {
95
95
  key: 0,
96
96
  class: o(e(r).e("sidebar"))
97
97
  }, [
98
- (p(!0), m(se, null, ie(e(I), (n, s) => (p(), m("button", {
98
+ (m(!0), p(se, null, ie(e(I), (n, s) => (m(), p("button", {
99
99
  key: s,
100
100
  type: "button",
101
101
  class: o(e(r).e("shortcut")),
102
102
  onClick: (De) => e(G)(n)
103
- }, E(n.text), 11, ke))), 128))
104
- ], 2)) : w("", !0),
103
+ }, w(n.text), 11, ke))), 128))
104
+ ], 2)) : E("", !0),
105
105
  l("div", {
106
106
  class: o(e(r).e("body"))
107
107
  }, [
@@ -119,7 +119,7 @@ const ke = ["onClick"], Ce = ["disabled"], Pe = ["disabled"], P = "year", ye = j
119
119
  }, [
120
120
  f(e(C), { icon: "icon-d-arrow-left" })
121
121
  ], 2),
122
- t.unlinkPanels ? (p(), m("button", {
122
+ t.unlinkPanels ? (m(), p("button", {
123
123
  key: 0,
124
124
  type: "button",
125
125
  disabled: !k.value,
@@ -131,8 +131,8 @@ const ke = ["onClick"], Ce = ["disabled"], Pe = ["disabled"], P = "year", ye = j
131
131
  (...n) => e(M) && e(M)(...n))
132
132
  }, [
133
133
  f(e(C), { icon: "icon-d-arrow-right" })
134
- ], 10, Ce)) : w("", !0),
135
- l("div", null, E(e(W)), 1)
134
+ ], 10, Ce)) : E("", !0),
135
+ l("div", null, w(e(W)), 1)
136
136
  ], 2),
137
137
  f($, {
138
138
  "selection-mode": "range",
@@ -152,7 +152,7 @@ const ke = ["onClick"], Ce = ["disabled"], Pe = ["disabled"], P = "year", ye = j
152
152
  l("div", {
153
153
  class: o(e(g).e("header"))
154
154
  }, [
155
- t.unlinkPanels ? (p(), m("button", {
155
+ t.unlinkPanels ? (m(), p("button", {
156
156
  key: 0,
157
157
  type: "button",
158
158
  disabled: !k.value,
@@ -161,7 +161,7 @@ const ke = ["onClick"], Ce = ["disabled"], Pe = ["disabled"], P = "year", ye = j
161
161
  (...n) => e(O) && e(O)(...n))
162
162
  }, [
163
163
  f(e(C), { icon: "icon-d-arrow-left" })
164
- ], 10, Pe)) : w("", !0),
164
+ ], 10, Pe)) : E("", !0),
165
165
  l("button", {
166
166
  type: "button",
167
167
  class: o([e(r).e("icon-btn"), "d-arrow-right"]),
@@ -170,7 +170,7 @@ const ke = ["onClick"], Ce = ["disabled"], Pe = ["disabled"], P = "year", ye = j
170
170
  }, [
171
171
  f(e(C), { icon: "icon-d-arrow-right" })
172
172
  ], 2),
173
- l("div", null, E(e(X)), 1)
173
+ l("div", null, w(e(X)), 1)
174
174
  ], 2),
175
175
  f($, {
176
176
  "selection-mode": "range",
@@ -1,4 +1,4 @@
1
- import { defineComponent as M, ref as E, inject as z, toRef as I, computed as h, useSlots as ce, watch as ue, createElementBlock as u, openBlock as m, normalizeClass as r, createElementVNode as l, unref as e, renderSlot as me, createCommentVNode as N, Fragment as pe, renderList as fe, toDisplayString as L, createVNode as p } from "vue";
1
+ import { defineComponent as M, ref as E, inject as z, toRef as I, computed as h, useSlots as ce, watch as ue, openBlock as u, createElementBlock as m, normalizeClass as r, createElementVNode as l, unref as e, renderSlot as me, Fragment as pe, renderList as fe, toDisplayString as N, createCommentVNode as L, createVNode as p } from "vue";
2
2
  import J from "dayjs";
3
3
  import { isArray as ge } from "@vft/utils";
4
4
  import { VftIcon as y } from "../../icon/index.js";
@@ -101,7 +101,7 @@ const De = ["onClick"], _e = ["disabled"], Se = ["disabled"], f = 10, k = "year"
101
101
  (t) => {
102
102
  !t && S.value.selecting && (Z(i.parsedValue), Y(!1));
103
103
  }
104
- ), d("set-picker-option", ["isValidValue", se]), d("set-picker-option", ["parseUserInput", oe]), d("set-picker-option", ["formatToString", le]), d("set-picker-option", ["handleClear", ie]), (t, a) => (m(), u("div", {
104
+ ), d("set-picker-option", ["isValidValue", se]), d("set-picker-option", ["parseUserInput", oe]), d("set-picker-option", ["formatToString", le]), d("set-picker-option", ["handleClear", ie]), (t, a) => (u(), m("div", {
105
105
  class: r(re.value)
106
106
  }, [
107
107
  l("div", {
@@ -110,17 +110,17 @@ const De = ["onClick"], _e = ["disabled"], Se = ["disabled"], f = 10, k = "year"
110
110
  me(t.$slots, "sidebar", {
111
111
  class: r(e(o).e("sidebar"))
112
112
  }),
113
- $.value ? (m(), u("div", {
113
+ $.value ? (u(), m("div", {
114
114
  key: 0,
115
115
  class: r(e(o).e("sidebar"))
116
116
  }, [
117
- (m(!0), u(pe, null, fe(e(x), (n, s) => (m(), u("button", {
117
+ (u(!0), m(pe, null, fe(e(x), (n, s) => (u(), m("button", {
118
118
  key: s,
119
119
  type: "button",
120
120
  class: r(e(o).e("shortcut")),
121
121
  onClick: (Ve) => e(X)(n)
122
- }, L(n.text), 11, De))), 128))
123
- ], 2)) : N("", !0),
122
+ }, N(n.text), 11, De))), 128))
123
+ ], 2)) : L("", !0),
124
124
  l("div", {
125
125
  class: r(e(o).e("body"))
126
126
  }, [
@@ -138,7 +138,7 @@ const De = ["onClick"], _e = ["disabled"], Se = ["disabled"], f = 10, k = "year"
138
138
  }, [
139
139
  p(e(y), { icon: "icon-d-arrow-left" })
140
140
  ], 2),
141
- t.unlinkPanels ? (m(), u("button", {
141
+ t.unlinkPanels ? (u(), m("button", {
142
142
  key: 0,
143
143
  type: "button",
144
144
  disabled: !R.value,
@@ -147,8 +147,8 @@ const De = ["onClick"], _e = ["disabled"], Se = ["disabled"], f = 10, k = "year"
147
147
  (...n) => e(F) && e(F)(...n))
148
148
  }, [
149
149
  p(e(y), { icon: "icon-d-arrow-right" })
150
- ], 10, _e)) : N("", !0),
151
- l("div", null, L(e(ee)), 1)
150
+ ], 10, _e)) : L("", !0),
151
+ l("div", null, N(e(ee)), 1)
152
152
  ], 2),
153
153
  p(H, {
154
154
  "selection-mode": "range",
@@ -168,7 +168,7 @@ const De = ["onClick"], _e = ["disabled"], Se = ["disabled"], f = 10, k = "year"
168
168
  l("div", {
169
169
  class: r(e(b).e("header"))
170
170
  }, [
171
- t.unlinkPanels ? (m(), u("button", {
171
+ t.unlinkPanels ? (u(), m("button", {
172
172
  key: 0,
173
173
  type: "button",
174
174
  disabled: !R.value,
@@ -177,7 +177,7 @@ const De = ["onClick"], _e = ["disabled"], Se = ["disabled"], f = 10, k = "year"
177
177
  (...n) => e(U) && e(U)(...n))
178
178
  }, [
179
179
  p(e(y), { icon: "icon-d-arrow-left" })
180
- ], 10, Se)) : N("", !0),
180
+ ], 10, Se)) : L("", !0),
181
181
  l("button", {
182
182
  type: "button",
183
183
  class: r(B.value.arrowRightBtn),
@@ -186,7 +186,7 @@ const De = ["onClick"], _e = ["disabled"], Se = ["disabled"], f = 10, k = "year"
186
186
  }, [
187
187
  p(e(y), { icon: "icon-d-arrow-right" })
188
188
  ], 2),
189
- l("div", null, L(e(te)), 1)
189
+ l("div", null, N(e(te)), 1)
190
190
  ], 2),
191
191
  p(H, {
192
192
  "selection-mode": "range",
@@ -4,14 +4,14 @@ import "../../config-provider/hooks/use-global-config.js";
4
4
  import "vue";
5
5
  import { buildProps as e, definePropType as o } from "../../../utils/vue/props/runtime.js";
6
6
  import "../../form/index.js";
7
- import { selectionModeWithDefault as t, datePickerSharedProps as i } from "./shared.js";
7
+ import { datePickerSharedProps as t, selectionModeWithDefault as i } from "./shared.js";
8
8
  const n = e({
9
- ...i,
9
+ ...t,
10
10
  cellClassName: {
11
11
  type: o(Function)
12
12
  },
13
13
  showWeekNumber: Boolean,
14
- selectionMode: t("date")
14
+ selectionMode: i("date")
15
15
  }), d = ["changerange", "pick", "select"];
16
16
  export {
17
17
  d as basicDateTableEmits,
@@ -4,10 +4,10 @@ import "../../config-provider/hooks/use-global-config.js";
4
4
  import "vue";
5
5
  import { buildProps as o } from "../../../utils/vue/props/runtime.js";
6
6
  import "../../form/index.js";
7
- import { selectionModeWithDefault as t, datePickerSharedProps as r } from "./shared.js";
7
+ import { datePickerSharedProps as t, selectionModeWithDefault as r } from "./shared.js";
8
8
  const d = o({
9
- ...r,
10
- selectionMode: t("month")
9
+ ...t,
10
+ selectionMode: r("month")
11
11
  });
12
12
  export {
13
13
  d as basicMonthTableProps
@@ -4,10 +4,10 @@ import "../../config-provider/hooks/use-global-config.js";
4
4
  import "vue";
5
5
  import { buildProps as o } from "../../../utils/vue/props/runtime.js";
6
6
  import "../../form/index.js";
7
- import { selectionModeWithDefault as r, datePickerSharedProps as e } from "./shared.js";
7
+ import { datePickerSharedProps as r, selectionModeWithDefault as e } from "./shared.js";
8
8
  const d = o({
9
- ...e,
10
- selectionMode: r("year")
9
+ ...r,
10
+ selectionMode: e("year")
11
11
  });
12
12
  export {
13
13
  d as basicYearTableProps
@@ -1,21 +1,22 @@
1
1
  import { defineComponent as F, ref as u, computed as A, createVNode as e, Fragment as E } from "vue";
2
2
  import { isArray as Y } from "@vft/utils";
3
- import { VftDatePicker as S } from "../date-picker/index.js";
4
- import { VftDropdown as q } from "../dropdown/index.js";
3
+ import { VftDatePicker as q } from "../date-picker/index.js";
4
+ import { VftDropdown as z } from "../dropdown/index.js";
5
5
  import { VftIcon as k } from "../icon/index.js";
6
6
  import "@vueuse/core";
7
7
  import "../config-provider/hooks/use-global-config.js";
8
8
  import "lodash-es";
9
9
  import "../form/index.js";
10
- import { useNamespace as z } from "../../hooks/use-namespace/index.js";
10
+ import { useNamespace as B } from "../../hooks/use-namespace/index.js";
11
11
  import "../../hooks/use-model-toggle/index.js";
12
12
  import "@popperjs/core";
13
13
  import "../../hooks/use-z-index/index.js";
14
+ import G from "../../locale/use-locale.js";
14
15
  import v from "dayjs";
15
- const B = F({
16
+ const J = F({
16
17
  name: "vft-date-time-select"
17
- }), oe = /* @__PURE__ */ F({
18
- ...B,
18
+ }), ce = /* @__PURE__ */ F({
19
+ ...J,
19
20
  props: {
20
21
  dateList: {
21
22
  default: () => []
@@ -28,70 +29,72 @@ const B = F({
28
29
  setup(d, {
29
30
  emit: x
30
31
  }) {
31
- const H = x, o = z("date-time-select"), C = u(!1), g = u(), I = u("请选择时间"), t = u("");
32
- function M(n) {
32
+ const H = x, l = B("date-time-select"), {
33
+ t: I
34
+ } = G(), C = u(!1), g = u(), M = u(I("vft.dateTimeSelect.placeholder")), t = u("");
35
+ function N(o) {
33
36
  const {
34
37
  count: a,
35
38
  type: h,
36
39
  format: f,
37
- dateRange: l = !0,
40
+ dateRange: n = !0,
38
41
  startOfType: O,
39
42
  endOfType: V
40
- } = n;
43
+ } = o;
41
44
  let m, r, L;
42
- const p = f || d.defaultFormat, s = v().format(p), R = (i, j = !0) => {
45
+ const p = f || d.defaultFormat, s = v().format(p), T = (i, j = !0) => {
43
46
  let D;
44
- const T = j ? "startOf" : "endOf";
45
- return i === "week" ? D = v().add(a, i)[T](i).add(1, "day").format(p) : D = v().add(a, i)[T](i).format(p), D;
47
+ const R = j ? "startOf" : "endOf";
48
+ return i === "week" ? D = v().add(a, i)[R](i).add(1, "day").format(p) : D = v().add(a, i)[R](i).format(p), D;
46
49
  };
47
- O && (m = R(O)), V && (r = R(V, !1)), L = v().add(a, h).format(p);
50
+ O && (m = T(O)), V && (r = T(V, !1)), L = v().add(a, h).format(p);
48
51
  const c = m || r || L;
49
- return l ? m && r ? [c, r] : a > 0 ? [c !== r && r || s, c] : a === 0 ? [m || s, r || s] : [c, c !== r && r || s] : c;
52
+ return n ? m && r ? [c, r] : a > 0 ? [c !== r && r || s, c] : a === 0 ? [m || s, r || s] : [c, c !== r && r || s] : c;
50
53
  }
51
- function N(n, a) {
52
- g.value = n, y.value.handleClose(), t.value = M(a), H("change", t.value);
54
+ function P(o, a) {
55
+ g.value = o, y.value.handleClose(), t.value = N(a), H("change", t.value);
53
56
  }
54
- function P() {
57
+ function S() {
55
58
  t.value = "";
56
59
  }
57
60
  const w = A(() => Y(t.value) && t.value?.length ? `${t.value[0]} - ${t.value[1]}` : t.value), y = u();
58
- function $(n) {
59
- C.value = n;
61
+ function $(o) {
62
+ C.value = o;
60
63
  }
61
64
  const b = () => {
62
- const n = Y(d.dateList[0]) ? d.dateList : [d.dateList];
65
+ const o = Y(d.dateList[0]) ? d.dateList : [d.dateList];
63
66
  return e("div", {
64
- class: o.e("content")
65
- }, [e(E, null, [n.map((a, h) => e("div", {
67
+ class: l.e("content")
68
+ }, [e(E, null, [o.map((a, h) => e("div", {
66
69
  key: h,
67
- class: o.e("item-container")
68
- }, [a.map((f, l) => e("div", {
69
- class: [o.e("item"), o.is("active", g.value === l)],
70
- onClick: () => N(l, f)
70
+ class: l.e("item-container")
71
+ }, [a.map((f, n) => e("div", {
72
+ class: [l.e("item"), l.is("active", g.value === n)],
73
+ onClick: () => P(n, f)
71
74
  }, [e("span", {
72
- key: l
73
- }, [f.text]), g.value === l ? e(k, {
75
+ key: n
76
+ }, [f.text]), g.value === n ? e(k, {
74
77
  icon: "icon-check"
75
- }, null) : null])), e(S, {
78
+ }, null) : null])), e(q, {
76
79
  type: "daterange",
77
80
  "range-separator": "To",
78
81
  "start-placeholder": "Start date",
79
82
  "end-placeholder": "End date"
80
83
  }, null)]))])]);
81
84
  };
82
- return () => e(q, {
85
+ return () => e(z, {
83
86
  ref: y,
84
87
  trigger: "click",
85
88
  teleported: !1,
86
- class: o.b(),
89
+ class: l.b(),
87
90
  onVisibleChange: $
88
91
  }, {
89
92
  default: () => [e("span", {
90
- class: [o.e("trigger"), "cursor-pointer"]
93
+ class: [l.e("trigger"), "cursor-pointer"]
91
94
  }, [e("span", {
92
95
  class: [w.value ? "text" : "placeholder"]
93
- }, [w.value || I.value]), t.value ? e(k, {
94
- onClick: P,
96
+ }, [w.value || M.value]), t.value ? e(k, {
97
+ onClick: S,
95
98
  icon: "icon-circle-close",
96
99
  class: "hover:text-black"
97
100
  }, null) : null, t.value ? e(k, {
@@ -105,5 +108,5 @@ const B = F({
105
108
  }
106
109
  });
107
110
  export {
108
- oe as default
111
+ ce as default
109
112
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as g, useSlots as x, getCurrentInstance as B, provide as E, computed as w, createElementBlock as u, openBlock as p, normalizeClass as i, createCommentVNode as z, createElementVNode as m, unref as a, renderSlot as b, createTextVNode as v, toDisplayString as y, Fragment as V, renderList as D, createBlock as I } from "vue";
1
+ import { defineComponent as g, useSlots as x, getCurrentInstance as B, provide as E, computed as w, openBlock as p, createElementBlock as u, normalizeClass as i, unref as a, createElementVNode as m, renderSlot as b, createTextVNode as v, toDisplayString as y, createCommentVNode as z, Fragment as V, renderList as D, createBlock as I } from "vue";
2
2
  import "@vueuse/core";
3
3
  import "@vft/utils";
4
4
  import "../config-provider/hooks/use-global-config.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent as y, inject as m, createElementBlock as r, unref as l, openBlock as e, Fragment as n, createElementVNode as s, renderList as a, createBlock as i, createVNode as p } from "vue";
1
+ import { defineComponent as y, inject as m, unref as r, openBlock as e, createElementBlock as l, Fragment as n, createElementVNode as s, renderList as a, createBlock as i, createVNode as p } from "vue";
2
2
  import c from "./descriptions-cell.js";
3
3
  import { descriptionsKey as f } from "./token.js";
4
4
  const k = { key: 1 }, g = y({
@@ -10,9 +10,9 @@ const k = { key: 1 }, g = y({
10
10
  },
11
11
  setup(u) {
12
12
  const d = m(f, {});
13
- return (_, w) => l(d).direction === "vertical" ? (e(), r(n, { key: 0 }, [
13
+ return (_, w) => r(d).direction === "vertical" ? (e(), l(n, { key: 0 }, [
14
14
  s("tr", null, [
15
- (e(!0), r(n, null, a(u.row, (t, o) => (e(), i(l(c), {
15
+ (e(!0), l(n, null, a(u.row, (t, o) => (e(), i(r(c), {
16
16
  key: `tr1-${o}`,
17
17
  cell: t,
18
18
  tag: "th",
@@ -20,29 +20,29 @@ const k = { key: 1 }, g = y({
20
20
  }, null, 8, ["cell"]))), 128))
21
21
  ]),
22
22
  s("tr", null, [
23
- (e(!0), r(n, null, a(u.row, (t, o) => (e(), i(l(c), {
23
+ (e(!0), l(n, null, a(u.row, (t, o) => (e(), i(r(c), {
24
24
  key: `tr2-${o}`,
25
25
  cell: t,
26
26
  tag: "td",
27
27
  type: "content"
28
28
  }, null, 8, ["cell"]))), 128))
29
29
  ])
30
- ], 64)) : (e(), r("tr", k, [
31
- (e(!0), r(n, null, a(u.row, (t, o) => (e(), r(n, {
30
+ ], 64)) : (e(), l("tr", k, [
31
+ (e(!0), l(n, null, a(u.row, (t, o) => (e(), l(n, {
32
32
  key: `tr3-${o}`
33
33
  }, [
34
- l(d).border ? (e(), r(n, { key: 0 }, [
35
- p(l(c), {
34
+ r(d).border ? (e(), l(n, { key: 0 }, [
35
+ p(r(c), {
36
36
  cell: t,
37
37
  tag: "td",
38
38
  type: "label"
39
39
  }, null, 8, ["cell"]),
40
- p(l(c), {
40
+ p(r(c), {
41
41
  cell: t,
42
42
  tag: "td",
43
43
  type: "content"
44
44
  }, null, 8, ["cell"])
45
- ], 64)) : (e(), i(l(c), {
45
+ ], 64)) : (e(), i(r(c), {
46
46
  key: 1,
47
47
  cell: t,
48
48
  tag: "td",
@@ -1,4 +1,4 @@
1
- import { defineComponent as C, inject as u, computed as a, createElementBlock as g, openBlock as r, normalizeStyle as E, normalizeClass as s, unref as t, createElementVNode as n, createCommentVNode as y, renderSlot as i, createBlock as N, toDisplayString as P, mergeProps as S } from "vue";
1
+ import { defineComponent as C, inject as u, computed as a, openBlock as r, createElementBlock as g, normalizeStyle as E, unref as t, normalizeClass as s, createElementVNode as n, renderSlot as i, toDisplayString as N, createBlock as P, mergeProps as S, createCommentVNode as y } from "vue";
2
2
  import { singleAttrToObj as T } from "@vft/utils";
3
3
  import { VftIcon as j } from "../icon/index.js";
4
4
  import "../focus-trap/focus-trap.vue2.js";
@@ -69,9 +69,9 @@ const A = ["id"], F = C({
69
69
  n("span", {
70
70
  role: "heading",
71
71
  class: s(t(o).e("title"))
72
- }, P(e.title), 3)
72
+ }, N(e.title), 3)
73
73
  ]),
74
- e.showClose ? (r(), N(t(j), S({
74
+ e.showClose ? (r(), P(t(j), S({
75
75
  key: 0,
76
76
  class: [t(o).e("headerbtn")],
77
77
  onClick: m[0] || (m[0] = (J) => l.$emit("close"))
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, ref as c, getCurrentInstance as O, provide as N, computed as q, createBlock as b, openBlock as g, unref as e, withCtx as t, createVNode as m, Transition as j, normalizeProps as x, guardReactiveProps as K, withDirectives as L, createElementVNode as U, normalizeStyle as G, normalizeClass as H, createCommentVNode as J, mergeProps as Q, createSlots as W, renderSlot as d, vShow as X } from "vue";
1
+ import { defineComponent as B, ref as c, getCurrentInstance as O, provide as N, computed as q, openBlock as b, createBlock as g, unref as e, withCtx as t, createVNode as m, Transition as j, normalizeProps as x, guardReactiveProps as K, withDirectives as L, createElementVNode as U, normalizeStyle as G, normalizeClass as H, mergeProps as J, createSlots as Q, renderSlot as d, createCommentVNode as W, vShow as X } from "vue";
2
2
  import Y from "../focus-trap/focus-trap.vue.js";
3
3
  import "../focus-trap/utils.js";
4
4
  import { VftOverlay as Z } from "../overlay/index.js";
@@ -100,7 +100,7 @@ const re = ["aria-label", "aria-labelledby", "aria-describedby"], de = B({
100
100
  i.value?.resetPosition();
101
101
  },
102
102
  handleClose: f
103
- }), (l, s) => (g(), b(e(_), {
103
+ }), (l, s) => (b(), g(e(_), {
104
104
  to: o.appendTo,
105
105
  disabled: o.appendTo !== "body" ? !1 : !o.appendToBody
106
106
  }, {
@@ -143,7 +143,7 @@ const re = ["aria-label", "aria-labelledby", "aria-describedby"], de = B({
143
143
  onReleaseRequested: e(D)
144
144
  }, {
145
145
  default: t(() => [
146
- e(v) ? (g(), b(se, Q({
146
+ e(v) ? (b(), g(se, J({
147
147
  key: 0,
148
148
  ref_key: "dialogContentRef",
149
149
  ref: i
@@ -160,7 +160,7 @@ const re = ["aria-label", "aria-labelledby", "aria-describedby"], de = B({
160
160
  "show-close": o.showClose,
161
161
  title: o.title,
162
162
  onClose: e(f)
163
- }), W({
163
+ }), Q({
164
164
  header: t(() => [
165
165
  l.$slots.title ? d(l.$slots, "title", { key: 1 }) : d(l.$slots, "header", {
166
166
  key: 0,
@@ -181,7 +181,7 @@ const re = ["aria-label", "aria-labelledby", "aria-describedby"], de = B({
181
181
  ]),
182
182
  key: "0"
183
183
  } : void 0
184
- ]), 1040, ["center", "align-center", "close-icon", "draggable", "overflow", "fullscreen", "header-class", "body-class", "footer-class", "show-close", "title", "onClose"])) : J("", !0)
184
+ ]), 1040, ["center", "align-center", "close-icon", "draggable", "overflow", "fullscreen", "header-class", "body-class", "footer-class", "show-close", "title", "onClose"])) : W("", !0)
185
185
  ]),
186
186
  _: 3
187
187
  }, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
@@ -1,4 +1,4 @@
1
- import { defineComponent as a, computed as m, createElementBlock as i, openBlock as n, normalizeStyle as c, normalizeClass as l, unref as r, createCommentVNode as s, renderSlot as u } from "vue";
1
+ import { defineComponent as a, computed as m, openBlock as i, createElementBlock as n, normalizeStyle as c, normalizeClass as l, unref as r, renderSlot as s, createCommentVNode as u } from "vue";
2
2
  import "@vueuse/core";
3
3
  import "@vft/utils";
4
4
  import "../config-provider/hooks/use-global-config.js";
@@ -29,17 +29,17 @@ const v = a({
29
29
  "margin-x": e.marginX
30
30
  })
31
31
  }));
32
- return (o, y) => (n(), i("div", {
32
+ return (o, y) => (i(), n("div", {
33
33
  class: l([r(t).b(), r(t).m(e.direction)]),
34
34
  style: c(d.value),
35
35
  role: "separator"
36
36
  }, [
37
- o.$slots.default && e.direction !== "vertical" ? (n(), i("div", {
37
+ o.$slots.default && e.direction !== "vertical" ? (i(), n("div", {
38
38
  key: 0,
39
39
  class: l([r(t).e("text"), r(t).is(e.contentPosition)])
40
40
  }, [
41
- u(o.$slots, "default")
42
- ], 2)) : s("", !0)
41
+ s(o.$slots, "default")
42
+ ], 2)) : u("", !0)
43
43
  ], 6));
44
44
  }
45
45
  });
@@ -1,4 +1,4 @@
1
- import { defineComponent as F, getCurrentInstance as q, ref as m, computed as x, createBlock as A, openBlock as a, unref as e, withCtx as n, createVNode as y, Transition as H, withDirectives as j, createElementVNode as b, mergeProps as R, withModifiers as U, createElementBlock as d, createCommentVNode as r, normalizeClass as s, renderSlot as i, toDisplayString as G, normalizeStyle as J, vShow as K } from "vue";
1
+ import { defineComponent as F, getCurrentInstance as q, ref as m, computed as x, openBlock as a, createBlock as A, unref as e, withCtx as n, createVNode as y, Transition as H, withDirectives as j, createElementVNode as b, mergeProps as R, withModifiers as U, normalizeClass as s, createElementBlock as d, renderSlot as i, toDisplayString as G, createCommentVNode as r, normalizeStyle as J, vShow as K } from "vue";
2
2
  import "../dialog/index.js";
3
3
  import Q from "../focus-trap/focus-trap.vue.js";
4
4
  import "../focus-trap/utils.js";
@@ -7,7 +7,7 @@ import { VftOverlay as X } from "../overlay/index.js";
7
7
  import { VftTeleport as Y } from "../teleport/index.js";
8
8
  import { UPDATE_MODEL_EVENT as Z } from "../../constants/event.js";
9
9
  import "@vueuse/core";
10
- import { isBoolean as _, singleAttrToObj as ee } from "@vft/utils";
10
+ import { singleAttrToObj as _, isBoolean as ee } from "@vft/utils";
11
11
  import "../config-provider/hooks/use-global-config.js";
12
12
  import "lodash-es";
13
13
  import "../form/index.js";
@@ -60,7 +60,7 @@ const ae = ["aria-label", "aria-labelledby", "aria-describedby"], se = ["id"], r
60
60
  footerClass: {}
61
61
  },
62
62
  emits: {
63
- [Z]: (o) => _(o),
63
+ [Z]: (o) => ee(o),
64
64
  open: () => !0,
65
65
  opened: () => !0,
66
66
  close: () => !0,
@@ -88,7 +88,7 @@ const ae = ["aria-label", "aria-labelledby", "aria-describedby"], se = ["id"], r
88
88
  isHorizontal: S,
89
89
  size: $,
90
90
  isResizing: N
91
- } = te(C.props, B), M = x(() => ee(o.closeIcon, "icon", {
91
+ } = te(C.props, B), M = x(() => _(o.closeIcon, "icon", {
92
92
  icon: "icon-close",
93
93
  pointer: !0
94
94
  }));
@@ -32,8 +32,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
32
32
  onClickimpl?: ((event: MouseEvent) => any) | undefined;
33
33
  }>, {
34
34
  disabled: boolean;
35
- icon: string;
36
35
  command: object | string | number;
36
+ icon: string;
37
37
  divided: boolean;
38
38
  textValue: string;
39
39
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,4 +1,4 @@
1
- import { defineComponent as O, computed as l, inject as r, createElementBlock as I, openBlock as d, Fragment as y, createCommentVNode as c, createElementVNode as P, mergeProps as s, unref as o, withModifiers as g, createBlock as D, renderSlot as F, normalizeProps as V } from "vue";
1
+ import { defineComponent as O, computed as l, inject as r, openBlock as d, createElementBlock as I, Fragment as y, mergeProps as s, unref as o, createCommentVNode as c, createElementVNode as P, withModifiers as g, createBlock as D, normalizeProps as F, renderSlot as V } from "vue";
2
2
  import { COLLECTION_ITEM_SIGN as $ } from "../collection/collection.js";
3
3
  import { VftIcon as J } from "../icon/index.js";
4
4
  import "../roving-focus-group/roving-focus-group.vue2.js";
@@ -80,8 +80,8 @@ const A = ["aria-disabled", "tabindex", "role"], H = O({
80
80
  onPointermove: e[4] || (e[4] = (n) => t.$emit("pointermove", n)),
81
81
  onPointerleave: e[5] || (e[5] = (n) => t.$emit("pointerleave", n))
82
82
  }), [
83
- i.icon ? (d(), D(o(J), V(s({ key: 0 }, T.value)), null, 16)) : c("", !0),
84
- F(t.$slots, "default")
83
+ i.icon ? (d(), D(o(J), F(s({ key: 0 }, T.value)), null, 16)) : c("", !0),
84
+ V(t.$slots, "default")
85
85
  ], 16, A)
86
86
  ], 64));
87
87
  }
@@ -30,8 +30,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
30
30
  onPointermove?: ((event: PointerEvent) => any) | undefined;
31
31
  }>, {
32
32
  disabled: boolean;
33
- icon: string;
34
33
  command: object | string | number;
34
+ icon: string;
35
35
  divided: boolean;
36
36
  textValue: string;
37
37
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, useAttrs as w, getCurrentInstance as E, ref as g, computed as c, unref as t, inject as D, createBlock as V, openBlock as y, withCtx as l, createVNode as s, mergeProps as A, renderSlot as B } from "vue";
1
+ import { defineComponent as f, useAttrs as w, getCurrentInstance as E, ref as g, computed as c, unref as t, inject as D, openBlock as V, createBlock as y, withCtx as l, createVNode as s, mergeProps as A, renderSlot as B } from "vue";
2
2
  import "../roving-focus-group/roving-focus-group.vue2.js";
3
3
  import "../roving-focus-group/roving-focus-group-impl.vue2.js";
4
4
  import N from "../roving-focus-group/roving-focus-item.vue2.js";
@@ -55,7 +55,7 @@ const M = f({
55
55
  a?.hideOnClick?.value && a.handleClick?.(), a.commandHandler?.(o.command, P, e);
56
56
  }
57
57
  ), I = c(() => ({ ...o, ...v }));
58
- return (e, r) => (y(), V(t(H), {
58
+ return (e, r) => (V(), y(t(H), {
59
59
  disabled: n.disabled,
60
60
  "text-value": n.textValue ?? _.value
61
61
  }, {
@@ -1,4 +1,4 @@
1
- import { defineComponent as a, inject as n, computed as D, unref as o, createElementBlock as Y, openBlock as J, withModifiers as u, normalizeStyle as G, normalizeClass as P, renderSlot as z } from "vue";
1
+ import { defineComponent as a, inject as n, computed as D, unref as o, openBlock as Y, createElementBlock as J, withModifiers as u, normalizeStyle as G, normalizeClass as P, renderSlot as z } from "vue";
2
2
  import "../focus-trap/focus-trap.vue2.js";
3
3
  import { FOCUS_TRAP_INJECTION_KEY as B } from "../focus-trap/tokens.js";
4
4
  import "../focus-trap/utils.js";
@@ -71,7 +71,7 @@ const X = ["role", "aria-labelledby"], Z = a({
71
71
  ), g = (e) => {
72
72
  b(e), C(e);
73
73
  };
74
- return (e, r) => (J(), Y("ul", {
74
+ return (e, r) => (Y(), J("ul", {
75
75
  ref: o(L),
76
76
  class: P(F.value),
77
77
  style: G(o(y)),
@@ -43,8 +43,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
43
43
  teleported: boolean;
44
44
  }>>> & Readonly<{
45
45
  onClick?: ((val: MouseEvent) => any) | undefined;
46
- "onVisible-change"?: ((val: boolean) => any) | undefined;
47
46
  onCommand?: ((val: string) => any) | undefined;
47
+ "onVisible-change"?: ((val: boolean) => any) | undefined;
48
48
  }>, {
49
49
  disabled: boolean;
50
50
  maxHeight: number | string;