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 n, computed as m, createElementBlock as c, openBlock as r, normalizeClass as a, unref as t, createBlock as l, createCommentVNode as p, normalizeProps as s, mergeProps as f } from "vue";
1
+ import { defineComponent as n, computed as m, openBlock as r, createElementBlock as c, normalizeClass as a, unref as t, createBlock as l, normalizeProps as p, mergeProps as s, createCommentVNode as f } from "vue";
2
2
  import { VftIcon as u } from "../icon/index.js";
3
3
  import "@vueuse/core";
4
4
  import { singleAttrToObj as d } from "@vft/utils";
@@ -27,7 +27,7 @@ const g = n({
27
27
  return (v, _) => (r(), c("div", {
28
28
  class: a([t(o).e("item"), t(o).e(e.variant)])
29
29
  }, [
30
- e.variant === "image" ? (r(), l(t(u), s(f({ key: 0 }, i.value)), null, 16)) : p("", !0)
30
+ e.variant === "image" ? (r(), l(t(u), p(s({ key: 0 }, i.value)), null, 16)) : f("", !0)
31
31
  ], 2));
32
32
  }
33
33
  });
@@ -1,4 +1,4 @@
1
- import { defineComponent as k, computed as y, createElementBlock as n, renderSlot as u, unref as t, openBlock as o, mergeProps as d, Fragment as l, renderList as c, createCommentVNode as h, createVNode as B, normalizeClass as f, createBlock as $, normalizeProps as v } from "vue";
1
+ import { defineComponent as k, computed as y, unref as t, openBlock as o, createElementBlock as n, mergeProps as u, Fragment as l, renderList as d, renderSlot as c, createVNode as h, normalizeClass as f, createBlock as B, createCommentVNode as $, normalizeProps as v } from "vue";
2
2
  import "@vueuse/core";
3
3
  import "@vft/utils";
4
4
  import "../config-provider/hooks/use-global-config.js";
@@ -28,17 +28,17 @@ const N = k({
28
28
  );
29
29
  return g({
30
30
  uiLoading: s
31
- }), (a, z) => t(s) ? (o(), n("div", d({
31
+ }), (a, z) => t(s) ? (o(), n("div", u({
32
32
  key: 0,
33
33
  class: [t(r).b(), t(r).is("animated", e.animated)]
34
34
  }, a.$attrs), [
35
- (o(!0), n(l, null, c(e.count, (m) => (o(), n(l, { key: m }, [
36
- e.loading ? u(a.$slots, "template", { key: m }, () => [
37
- B(p, {
35
+ (o(!0), n(l, null, d(e.count, (m) => (o(), n(l, { key: m }, [
36
+ e.loading ? c(a.$slots, "template", { key: m }, () => [
37
+ h(p, {
38
38
  class: f(t(r).is("first")),
39
39
  variant: "p"
40
40
  }, null, 8, ["class"]),
41
- (o(!0), n(l, null, c(e.rows, (i) => (o(), $(p, {
41
+ (o(!0), n(l, null, d(e.rows, (i) => (o(), B(p, {
42
42
  key: i,
43
43
  class: f([
44
44
  t(r).e("paragraph"),
@@ -46,9 +46,9 @@ const N = k({
46
46
  ]),
47
47
  variant: "p"
48
48
  }, null, 8, ["class"]))), 128))
49
- ]) : h("", !0)
49
+ ]) : $("", !0)
50
50
  ], 64))), 128))
51
- ], 16)) : u(a.$slots, "default", v(d({ key: 1 }, a.$attrs)));
51
+ ], 16)) : c(a.$slots, "default", v(u({ key: 1 }, a.$attrs)));
52
52
  }
53
53
  });
54
54
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, reactive as N, getCurrentInstance as S, toRefs as T, createElementBlock as P, openBlock as z, unref as t, normalizeStyle as K, normalizeClass as d, createVNode as L, withCtx as f, createElementVNode as g, toDisplayString as X } from "vue";
1
+ import { defineComponent as b, reactive as N, getCurrentInstance as S, toRefs as T, openBlock as P, createElementBlock as z, unref as t, normalizeStyle as K, normalizeClass as d, createVNode as L, withCtx as f, createElementVNode as g, toDisplayString as X } from "vue";
2
2
  import { isNumber as Y } from "@vft/utils";
3
3
  import { VftTooltip as A } from "../tooltip/index.js";
4
4
  import { UPDATE_MODEL_EVENT as F } from "../../constants/event.js";
@@ -56,7 +56,7 @@ const R = ["tabindex"], U = b({
56
56
  setPosition: M,
57
57
  hovering: a,
58
58
  dragging: p
59
- }), (j, e) => (z(), P("div", {
59
+ }), (j, e) => (P(), z("div", {
60
60
  ref_key: "button",
61
61
  ref: B,
62
62
  class: d([t(m).e("button-wrapper"), { hover: t(a), dragging: t(p) }]),
@@ -1,4 +1,4 @@
1
- import { defineComponent as $, reactive as oe, getCurrentInstance as ie, computed as d, toRefs as D, provide as re, createElementBlock as r, openBlock as o, unref as e, normalizeClass as u, createElementVNode as V, createBlock as I, createCommentVNode as S, normalizeStyle as p, createVNode as ne, Fragment as k, renderList as B } from "vue";
1
+ import { defineComponent as $, reactive as oe, getCurrentInstance as ie, computed as d, toRefs as D, provide as re, openBlock as o, createElementBlock as r, unref as e, normalizeClass as u, createElementVNode as V, normalizeStyle as p, createVNode as ne, createBlock as I, createCommentVNode as S, Fragment as k, renderList as B } from "vue";
2
2
  import "../form/index.js";
3
3
  import { VftInputNumber as ue } from "../input-number/index.js";
4
4
  import "@vueuse/core";
@@ -1,4 +1,4 @@
1
- import { isNumber as m, isString as P, isArray as p } from "@vft/utils";
1
+ import { isNumber as m, isArray as p, isString as P } from "@vft/utils";
2
2
  import { componentSizes as T } from "../../constants/size.js";
3
3
  import "@vueuse/core";
4
4
  import "../config-provider/hooks/use-global-config.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent as v, computed as k, createElementBlock as o, openBlock as l, normalizeClass as s, unref as r, createCommentVNode as f, createElementVNode as a, renderSlot as c, createTextVNode as V, toDisplayString as n, normalizeStyle as b } from "vue";
1
+ import { defineComponent as v, computed as k, openBlock as o, createElementBlock as l, normalizeClass as s, unref as r, renderSlot as f, createTextVNode as V, toDisplayString as a, createCommentVNode as c, createElementVNode as n, normalizeStyle as b } from "vue";
2
2
  import "@vueuse/core";
3
3
  import { isFunction as B, isNumber as C } from "@vft/utils";
4
4
  import "../config-provider/hooks/use-global-config.js";
@@ -27,40 +27,40 @@ const z = v({
27
27
  * @description current display value
28
28
  */
29
29
  displayValue: d
30
- }), (e, p) => (l(), o("div", {
30
+ }), (e, p) => (o(), l("div", {
31
31
  class: s(r(t).b())
32
32
  }, [
33
- e.$slots.title || e.title ? (l(), o("div", {
33
+ e.$slots.title || e.title ? (o(), l("div", {
34
34
  key: 0,
35
35
  class: s(r(t).e("head"))
36
36
  }, [
37
- c(e.$slots, "title", {}, () => [
38
- V(n(e.title), 1)
37
+ f(e.$slots, "title", {}, () => [
38
+ V(a(e.title), 1)
39
39
  ])
40
- ], 2)) : f("", !0),
41
- a("div", {
40
+ ], 2)) : c("", !0),
41
+ n("div", {
42
42
  class: s(r(t).e("content"))
43
43
  }, [
44
- e.$slots.prefix || e.prefix ? (l(), o("div", {
44
+ e.$slots.prefix || e.prefix ? (o(), l("div", {
45
45
  key: 0,
46
46
  class: s(r(t).e("prefix"))
47
47
  }, [
48
- c(e.$slots, "prefix", {}, () => [
49
- a("span", null, n(e.prefix), 1)
48
+ f(e.$slots, "prefix", {}, () => [
49
+ n("span", null, a(e.prefix), 1)
50
50
  ])
51
- ], 2)) : f("", !0),
52
- a("span", {
51
+ ], 2)) : c("", !0),
52
+ n("span", {
53
53
  class: s(r(t).e("number")),
54
54
  style: b(e.valueStyle)
55
- }, n(d.value), 7),
56
- e.$slots.suffix || e.suffix ? (l(), o("div", {
55
+ }, a(d.value), 7),
56
+ e.$slots.suffix || e.suffix ? (o(), l("div", {
57
57
  key: 1,
58
58
  class: s(r(t).e("suffix"))
59
59
  }, [
60
- c(e.$slots, "suffix", {}, () => [
61
- a("span", null, n(e.suffix), 1)
60
+ f(e.$slots, "suffix", {}, () => [
61
+ n("span", null, a(e.suffix), 1)
62
62
  ])
63
- ], 2)) : f("", !0)
63
+ ], 2)) : c("", !0)
64
64
  ], 2)
65
65
  ], 2));
66
66
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as K, ref as N, inject as Y, getCurrentInstance as q, onMounted as x, watch as F, computed as n, reactive as G, onBeforeUnmount as H, createElementBlock as a, openBlock as i, normalizeClass as l, normalizeStyle as D, createCommentVNode as y, createElementVNode as m, unref as t, renderSlot as p, createTextVNode as $, toDisplayString as k, createBlock as V, mergeProps as Q } from "vue";
1
+ import { defineComponent as K, ref as N, inject as Y, getCurrentInstance as q, onMounted as x, watch as F, computed as n, reactive as G, onBeforeUnmount as H, openBlock as i, createElementBlock as a, normalizeClass as l, normalizeStyle as D, unref as t, renderSlot as p, createElementVNode as m, createTextVNode as $, toDisplayString as y, createCommentVNode as k, createBlock as V, mergeProps as Q } from "vue";
2
2
  import { VftIcon as I } from "../icon/index.js";
3
3
  import "@vueuse/core";
4
4
  import { singleAttrToObj as R, isNumber as X } from "@vft/utils";
@@ -89,25 +89,25 @@ const ee = K({
89
89
  class: l([t(e).e("title"), t(e).is(r.value)])
90
90
  }, [
91
91
  p(s.$slots, "title", {}, () => [
92
- $(k(v.title), 1)
92
+ $(y(v.title), 1)
93
93
  ])
94
94
  ], 2),
95
95
  u.value ? (i(), a("div", {
96
96
  key: 0,
97
97
  class: l(t(e).e("arrow"))
98
- }, null, 2)) : y("", !0),
98
+ }, null, 2)) : k("", !0),
99
99
  m("div", {
100
100
  class: l([t(e).e("description"), t(e).is(r.value)])
101
101
  }, [
102
102
  p(s.$slots, "description", {}, () => [
103
- $(k(v.description), 1)
103
+ $(y(v.description), 1)
104
104
  ])
105
105
  ], 2)
106
- ], 2)) : y("", !0),
106
+ ], 2)) : k("", !0),
107
107
  m("div", {
108
108
  class: l([t(e).e("head"), t(e).is(r.value)])
109
109
  }, [
110
- u.value ? y("", !0) : (i(), a("div", {
110
+ u.value ? k("", !0) : (i(), a("div", {
111
111
  key: 0,
112
112
  class: l(t(e).e("line"))
113
113
  }, [
@@ -130,10 +130,10 @@ const ee = K({
130
130
  key: 2,
131
131
  class: l([t(e).e("icon-inner"), t(e).is("status")]),
132
132
  icon: "icon-close"
133
- }, null, 8, ["class"])) : u.value ? y("", !0) : (i(), a("div", {
133
+ }, null, 8, ["class"])) : u.value ? k("", !0) : (i(), a("div", {
134
134
  key: 3,
135
135
  class: l(t(e).e("icon-inner"))
136
- }, k(c.value + 1), 3))
136
+ }, y(c.value + 1), 3))
137
137
  ])
138
138
  ], 2)
139
139
  ], 2),
@@ -142,7 +142,7 @@ const ee = K({
142
142
  class: l(t(e).e("bottom-slot"))
143
143
  }, [
144
144
  p(s.$slots, "bottom")
145
- ], 2)) : C.value ? y("", !0) : (i(), a("div", {
145
+ ], 2)) : C.value ? k("", !0) : (i(), a("div", {
146
146
  key: 3,
147
147
  class: l(t(e).e("main"))
148
148
  }, [
@@ -150,7 +150,7 @@ const ee = K({
150
150
  class: l([t(e).e("title"), t(e).is(r.value)])
151
151
  }, [
152
152
  p(s.$slots, "title", {}, () => [
153
- $(k(v.title), 1)
153
+ $(y(v.title), 1)
154
154
  ])
155
155
  ], 2),
156
156
  u.value ? (i(), a("div", {
@@ -161,7 +161,7 @@ const ee = K({
161
161
  class: l([t(e).e("description"), t(e).is(r.value)])
162
162
  }, [
163
163
  p(s.$slots, "description", {}, () => [
164
- $(k(v.description), 1)
164
+ $(y(v.description), 1)
165
165
  ])
166
166
  ], 2))
167
167
  ], 2))
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, getCurrentInstance as u, watch as a, provide as h, createElementBlock as S, openBlock as C, normalizeClass as v, unref as i, renderSlot as E, createVNode as N } from "vue";
1
+ import { defineComponent as m, getCurrentInstance as u, watch as a, provide as h, openBlock as S, createElementBlock as C, normalizeClass as v, unref as i, renderSlot as E, createVNode as N } from "vue";
2
2
  import { CHANGE_EVENT as _ } from "../../constants/event.js";
3
3
  import "@vueuse/core";
4
4
  import "@vft/utils";
@@ -42,7 +42,7 @@ const T = m({
42
42
  (e, t) => {
43
43
  l(_, e, t);
44
44
  }
45
- ), (e, t) => (C(), S("div", {
45
+ ), (e, t) => (S(), C("div", {
46
46
  class: v([i(n).b(), i(n).m(o.simple ? "simple" : o.direction)])
47
47
  }, [
48
48
  E(e.$slots, "default"),
@@ -1,4 +1,4 @@
1
- import { defineComponent as g, computed as i, createBlock as l, createCommentVNode as c, openBlock as r, unref as o, normalizeProps as x, mergeProps as p, withCtx as u, createVNode as R, normalizeClass as T, renderSlot as b, createTextVNode as B, toDisplayString as f } from "vue";
1
+ import { defineComponent as g, computed as i, openBlock as l, createBlock as c, unref as o, normalizeProps as x, mergeProps as r, withCtx as u, createVNode as R, normalizeClass as T, createTextVNode as B, toDisplayString as f, createCommentVNode as p, renderSlot as b } from "vue";
2
2
  import { VftButton as v } from "../button/index.js";
3
3
  import { VftFormItem as N } from "../form/index.js";
4
4
  import { VftRow as V } from "../row/index.js";
@@ -44,13 +44,13 @@ const M = /* @__PURE__ */ g({
44
44
  ), s = i(
45
45
  () => y(t.submitResetReverse)
46
46
  );
47
- return (e, A) => t.showCommonButton || n.value.show || s.value.show ? (r(), l(o(V), x(p({ key: 0 }, k.value)), {
47
+ return (e, A) => t.showCommonButton || n.value.show || s.value.show ? (l(), c(o(V), x(r({ key: 0 }, k.value)), {
48
48
  default: u(() => [
49
49
  R(o(N), {
50
50
  class: T([{ "submit-block": w.value.block }, o(m).b()])
51
51
  }, {
52
52
  default: u(() => [
53
- t.showCommonButton && !a.value.isBehind ? (r(), l(o(v), p({ key: 0 }, a.value, {
53
+ t.showCommonButton && !a.value.isBehind ? (l(), c(o(v), r({ key: 0 }, a.value, {
54
54
  class: o(m).e("common"),
55
55
  onClick: o(C)
56
56
  }), {
@@ -58,9 +58,9 @@ const M = /* @__PURE__ */ g({
58
58
  B(f(a.value.btnText), 1)
59
59
  ]),
60
60
  _: 1
61
- }, 16, ["class", "onClick"])) : c("", !0),
61
+ }, 16, ["class", "onClick"])) : p("", !0),
62
62
  b(e.$slots, "resetBefore"),
63
- n.value.show ? (r(), l(o(v), p({
63
+ n.value.show ? (l(), c(o(v), r({
64
64
  key: 1,
65
65
  type: n.value.type
66
66
  }, n.value.options, {
@@ -71,9 +71,9 @@ const M = /* @__PURE__ */ g({
71
71
  B(f(n.value.options.btnText), 1)
72
72
  ]),
73
73
  _: 1
74
- }, 16, ["type", "onClick", "class"])) : c("", !0),
74
+ }, 16, ["type", "onClick", "class"])) : p("", !0),
75
75
  b(e.$slots, "submitBefore"),
76
- s.value.show ? (r(), l(o(v), p({
76
+ s.value.show ? (l(), c(o(v), r({
77
77
  key: 2,
78
78
  type: s.value.type
79
79
  }, s.value.options, {
@@ -84,9 +84,9 @@ const M = /* @__PURE__ */ g({
84
84
  B(f(s.value.options.btnText), 1)
85
85
  ]),
86
86
  _: 1
87
- }, 16, ["type", "onClick", "class"])) : c("", !0),
87
+ }, 16, ["type", "onClick", "class"])) : p("", !0),
88
88
  b(e.$slots, "submitAfter"),
89
- t.showCommonButton && a.value.isBehind ? (r(), l(o(v), p({ key: 3 }, a.value, {
89
+ t.showCommonButton && a.value.isBehind ? (l(), c(o(v), r({ key: 3 }, a.value, {
90
90
  class: o(m).e("common"),
91
91
  onClick: o(C)
92
92
  }), {
@@ -94,13 +94,13 @@ const M = /* @__PURE__ */ g({
94
94
  B(f(a.value.btnText), 1)
95
95
  ]),
96
96
  _: 1
97
- }, 16, ["class", "onClick"])) : c("", !0)
97
+ }, 16, ["class", "onClick"])) : p("", !0)
98
98
  ]),
99
99
  _: 3
100
100
  }, 8, ["class"])
101
101
  ]),
102
102
  _: 3
103
- }, 16)) : c("", !0);
103
+ }, 16)) : p("", !0);
104
104
  }
105
105
  });
106
106
  export {
@@ -109,6 +109,7 @@ import "../../hooks/use-model-toggle/index.js";
109
109
  import "@popperjs/core";
110
110
  import "../../hooks/use-z-index/index.js";
111
111
  import "../message/index.js";
112
+ import "../message-box/index.js";
112
113
  import "../progress-i/index.js";
113
114
  import "./index.js";
114
115
  import { isRangePicker as Fe, isInput as Le, isDatePicker as Ve } from "./component-map.js";
@@ -118,7 +119,7 @@ function ee(e) {
118
119
  }
119
120
  const je = me({
120
121
  inheritAttrs: !1
121
- }), Wo = /* @__PURE__ */ me({
122
+ }), Jo = /* @__PURE__ */ me({
122
123
  ...je,
123
124
  __name: "super-form-item",
124
125
  props: {
@@ -408,11 +409,11 @@ const je = me({
408
409
  const v = s.findIndex((l) => l.min), D = s.findIndex((l) => l.max);
409
410
  function j(l, c, x = "all") {
410
411
  const S = s[c], B = S.isNumber ? isNaN(l) ? l?.length || 0 : Number(l) : l?.length || 0;
411
- return ["min", "all"].includes(x) && B < S.min ? Promise.reject(`${g}至少为${S.min}位`) : ["max", "all"].includes(x) && B > S.max ? Promise.reject(`${g}最多${S.max}位`) : Promise.resolve();
412
+ return ["min", "all"].includes(x) && B < S.min ? Promise.reject(`${g}至少${S.min}个字符`) : ["max", "all"].includes(x) && B > S.max ? Promise.reject(`${g}最多${S.max}个字符`) : Promise.resolve();
412
413
  }
413
414
  (v !== -1 || D !== -1) && (v !== -1 && D !== -1 && !s[v].validator && !s[v].message ? s[v].validator = (l, c) => j(c, v) : v !== -1 && !s[v].validator && !s[v].message ? s[v].validator = (l, c) => j(c, v, "min") : D !== -1 && !s[D].validator && !s[D].message && (s[D].validator = (l, c) => j(c, D, "max")));
414
415
  const T = s.findIndex((l) => l.len);
415
- if (T !== -1 && (s[T].validator = (l, c) => c?.length !== s[T].len ? Promise.reject(`${g}必须是${s[T].len}位`) : Promise.resolve()), k(m) && C) {
416
+ if (T !== -1 && (s[T].validator = (l, c) => c?.length !== s[T].len ? Promise.reject(`${g}必须为${s[T].len}个字符`) : Promise.resolve()), k(m) && C) {
416
417
  let l = m(d(P));
417
418
  l = _(l) ? l : [l], s = s.concat(l);
418
419
  }
@@ -668,5 +669,5 @@ const je = me({
668
669
  }
669
670
  });
670
671
  export {
671
- Wo as default
672
+ Jo as default
672
673
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as J, useAttrs as le, reactive as ue, ref as m, computed as u, unref as n, watch as d, nextTick as ie, useSlots as me, createBlock as i, createCommentVNode as U, openBlock as l, mergeProps as B, withKeys as fe, withModifiers as ce, withCtx as h, renderSlot as O, normalizeProps as W, createElementBlock as pe, Fragment as de, renderList as j, createSlots as Be, resolveDynamicComponent as A, h as he } from "vue";
1
+ import { defineComponent as J, useAttrs as le, reactive as ue, ref as m, computed as u, unref as n, watch as d, nextTick as ie, useSlots as me, openBlock as l, createBlock as i, mergeProps as B, withKeys as fe, withModifiers as ce, withCtx as h, normalizeProps as U, renderSlot as O, createElementBlock as pe, Fragment as de, renderList as W, createSlots as Be, resolveDynamicComponent as A, createCommentVNode as j, h as he } from "vue";
2
2
  import { VftCol as ye } from "../col/index.js";
3
3
  import { VftForm as ve } from "../form/index.js";
4
4
  import { VftRow as be } from "../row/index.js";
@@ -314,10 +314,10 @@ const _e = J({
314
314
  }, ["prevent"])),
315
315
  onKeypress: fe(ne, ["enter"])
316
316
  }), {
317
- default: h(() => [a.value?.length ? (l(), i(n(be), W(B({
317
+ default: h(() => [a.value?.length ? (l(), i(n(be), U(B({
318
318
  key: 0
319
319
  }, f.value?.rowProps)), {
320
- default: h(() => [O(e.$slots, "formHeader"), (l(!0), pe(de, null, j(a.value, (s) => (l(), i(Oe, {
320
+ default: h(() => [O(e.$slots, "formHeader"), (l(!0), pe(de, null, W(a.value, (s) => (l(), i(Oe, {
321
321
  key: s.field,
322
322
  "form-action-type": H,
323
323
  schema: s,
@@ -328,14 +328,14 @@ const _e = J({
328
328
  "update-schema": n(R)
329
329
  }, Be({
330
330
  _: 2
331
- }, [j(Object.keys(e.$slots), (K) => ({
331
+ }, [W(Object.keys(e.$slots), (K) => ({
332
332
  name: K,
333
333
  fn: h((re) => [O(e.$slots, K, B({
334
334
  ref_for: !0
335
335
  }, re || {}))])
336
336
  }))]), 1032, ["schema", "form-props", "all-default-values", "form-model", "update-schema"]))), 128)), t.value?.customLayout ? (l(), i(A(E(t.value?.showActionButtonGroup && t.value?.actionInline)), {
337
337
  key: 1
338
- })) : (l(), i(n(ye), W(B({
338
+ })) : (l(), i(n(ye), U(B({
339
339
  key: 0
340
340
  }, f.value?.quickColSpan ? {
341
341
  span: Math.ceil(24 / f.value?.quickColSpan),
@@ -345,9 +345,9 @@ const _e = J({
345
345
  _: 1
346
346
  }, 16))]),
347
347
  _: 3
348
- }, 16)) : U("", !0), (l(), i(A(E(t.value?.showActionButtonGroup && !t.value?.actionInline)))), O(e.$slots, "formFooter")]),
348
+ }, 16)) : j("", !0), (l(), i(A(E(t.value?.showActionButtonGroup && !t.value?.actionInline)))), O(e.$slots, "formFooter")]),
349
349
  _: 3
350
- }, 16, ["class", "model"])) : U("", !0);
350
+ }, 16, ["class", "model"])) : j("", !0);
351
351
  }
352
352
  });
353
353
  export {
@@ -1,4 +1,4 @@
1
- import { isBoolean as l, isFunction as a, isNumber as S } from "@vft/utils";
1
+ import { isBoolean as a, isFunction as d, isNumber as S } from "@vft/utils";
2
2
  import { isInput as h } from "../component-map.js";
3
3
  import { FormCompEnum as i } from "../../../utils/form-register.js";
4
4
  import "@vueuse/core";
@@ -6,13 +6,13 @@ import "../../config-provider/hooks/use-global-config.js";
6
6
  import "vue";
7
7
  import "lodash-es";
8
8
  import "../../form/index.js";
9
- function b(t, e = "") {
9
+ function R(t, e = "") {
10
10
  return e = (e || "").replace(":", "") || "", [
11
11
  i.Input,
12
12
  i.InputNumber,
13
13
  i.Textarea,
14
14
  i.AutoComplete
15
- ].includes(t) ? "请输入" + e : [i.Password].includes(t) ? "请输入密码" : [
15
+ ].includes(t) ? `请输入${e}` : [i.Password].includes(t) ? `请输入${e || "密码"}` : [
16
16
  i.Select,
17
17
  i.Radio,
18
18
  i.RadioSingle,
@@ -22,7 +22,7 @@ function b(t, e = "") {
22
22
  i.ColorPicker,
23
23
  i.Checkbox,
24
24
  i.CheckboxButton
25
- ].includes(t) ? "请选择" + e : [i.CheckboxSingle].includes(t) ? "请勾选" + e : [i.Search].includes(t) ? "请输入要搜索的内容" : [i.InputTag].includes(t) ? "请输入标签内容" : [i.Upload].includes(t) ? "请选择上传文件" : [i.Slider].includes(t) ? "请拖动滑块" : [
25
+ ].includes(t) ? `请选择${e}` : [i.CheckboxSingle].includes(t) ? `请勾选${e}` : [i.Search].includes(t) ? `请输入要搜索的内容${e ? "" + e : ""}` : [i.InputTag].includes(t) ? `请输入标签内容${e ? "" + e : ""}` : [i.Upload].includes(t) ? `请选择上传文件${e ? "" + e : ""}` : [i.Slider].includes(t) ? `请拖动滑块${e ? "" + e : ""}` : [
26
26
  i.TimePicker,
27
27
  i.YearPicker,
28
28
  i.MonthPicker,
@@ -33,7 +33,7 @@ function b(t, e = "") {
33
33
  i.DateTimeRangePicker,
34
34
  i.DateRangePicker,
35
35
  i.MonthRangePicker
36
- ].includes(t) ? "请选择时间" : "";
36
+ ].includes(t) ? `请选择时间${e ? "" + e : ""}` : "";
37
37
  }
38
38
  function P(t, e) {
39
39
  return t && h(t) && e && S(e) ? `${e}` : e;
@@ -41,7 +41,7 @@ function P(t, e) {
41
41
  function k(t, e) {
42
42
  const { show: n, ifShow: o } = t;
43
43
  let u = !0, c = !0;
44
- return l(n) ? u = n : a(n) && e && (u = n(e)), l(o) ? c = o : a(o) && e && (c = o(e)), { isShow: u, isIfShow: c };
44
+ return a(n) ? u = n : d(n) && e && (u = n(e)), a(o) ? c = o : d(o) && e && (c = o(e)), { isShow: u, isIfShow: c };
45
45
  }
46
46
  function m(t, e) {
47
47
  const { baseColProps: n = {}, quickColSpan: o } = e;
@@ -57,7 +57,7 @@ function q(t, e, n, o) {
57
57
  const u = [];
58
58
  let c = 0;
59
59
  for (const r of t) {
60
- const p = n && o ? {
60
+ const f = n && o ? {
61
61
  field: r.field,
62
62
  model: n,
63
63
  values: {
@@ -65,14 +65,14 @@ function q(t, e, n, o) {
65
65
  ...n
66
66
  },
67
67
  schema: r
68
- } : void 0, { isIfShow: f } = k(r, p);
69
- if (!f)
68
+ } : void 0, { isIfShow: l } = k(r, f);
69
+ if (!l)
70
70
  continue;
71
71
  const s = m(r, e);
72
72
  u.push({ field: r.field, span: s }), c += s;
73
73
  }
74
- const d = e.showCommonButton || e.showResetButton || e.showSubmitButton;
75
- if (e.actionInline && e.showActionButtonGroup && d && !e.customLayout) {
74
+ const p = e.showCommonButton || e.showResetButton || e.showSubmitButton;
75
+ if (e.actionInline && e.showActionButtonGroup && p && !e.customLayout) {
76
76
  const r = e.quickColSpan ? Math.ceil(24 / e.quickColSpan) : e.baseColProps?.span || 24;
77
77
  c += r;
78
78
  }
@@ -84,7 +84,7 @@ function q(t, e, n, o) {
84
84
  }
85
85
  export {
86
86
  m as calculateSchemaSpan,
87
- b as createPlaceholderMessage,
87
+ R as createPlaceholderMessage,
88
88
  k as getSchemaShowState,
89
89
  P as handleInputNumberValue,
90
90
  q as willFormExceedOneRow
@@ -1,6 +1,6 @@
1
1
  import "../../form/index.js";
2
- import { tryOnBeforeUnmount as l } from "@vueuse/core";
3
- import { ref as m, unref as o, watch as u, nextTick as f } from "vue";
2
+ import { tryOnBeforeUnmount as u } from "@vueuse/core";
3
+ import { ref as m, unref as o, watch as f, nextTick as c } from "vue";
4
4
  function d(s) {
5
5
  const r = {};
6
6
  return Object.keys(s).map((i) => {
@@ -13,12 +13,12 @@ function v(s) {
13
13
  const e = o(r);
14
14
  return e || console.error(
15
15
  "The form instance has not been obtained, please make sure that the form has been rendered when performing the form operation!"
16
- ), await f(), e;
16
+ ), await c(), e;
17
17
  }
18
- function c(e) {
19
- l(() => {
18
+ function l(e) {
19
+ u(() => {
20
20
  r.value = null, i.value = null;
21
- }), !(o(i) && e === o(r)) && (r.value = e, i.value = !0, u(
21
+ }), !(o(i) && e === o(r)) && (r.value = e, i.value = !0, f(
22
22
  () => s,
23
23
  () => {
24
24
  s && e && e.setProps(d(s));
@@ -29,7 +29,7 @@ function v(s) {
29
29
  }
30
30
  ));
31
31
  }
32
- return [c, {
32
+ return [l, {
33
33
  scrollToField: async (e, t) => {
34
34
  (await a()).scrollToField(e, t);
35
35
  },
@@ -66,7 +66,7 @@ function v(s) {
66
66
  getFieldValue: (e) => o(r)?.getFieldValue(e),
67
67
  getFieldsValue: () => o(r)?.getFieldsValue(),
68
68
  setFieldsValue: async (e, t = !0) => {
69
- (await a()).setFieldsValue(e, t);
69
+ await c(), await (await a()).setFieldsValue(e, t);
70
70
  },
71
71
  appendSchemaByField: async (e, t, n) => {
72
72
  await (await a()).appendSchemaByField(e, t, n);
@@ -1,4 +1,4 @@
1
- import { defineComponent as M, computed as s, ref as g, watch as T, onMounted as Q, createElementBlock as v, openBlock as o, withModifiers as R, normalizeStyle as F, normalizeClass as c, createElementVNode as p, createCommentVNode as r, withKeys as X, unref as i, createBlock as k, normalizeProps as I, mergeProps as w, toDisplayString as B, nextTick as Y } from "vue";
1
+ import { defineComponent as M, computed as s, ref as g, watch as T, onMounted as Q, openBlock as o, createElementBlock as v, withModifiers as R, normalizeStyle as F, normalizeClass as c, createElementVNode as p, withKeys as X, unref as i, createBlock as k, normalizeProps as I, mergeProps as w, createCommentVNode as r, toDisplayString as B, nextTick as Y } from "vue";
2
2
  import { singleAttrToObj as O, isPromise as A, isBoolean as Z } from "@vft/utils";
3
3
  import "../form/index.js";
4
4
  import { VftIcon as V } from "../icon/index.js";