vft 0.0.509 → 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 (285) 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/cascader/cascader.vue2.js +2 -2
  17. package/es/components/cascader-panel/index.vue2.js +1 -1
  18. package/es/components/cascader-panel/menu.vue2.js +6 -6
  19. package/es/components/cascader-panel/node.vue2.js +8 -8
  20. package/es/components/check-tag/check-tag.vue2.js +2 -2
  21. package/es/components/checkbox/checkbox-button.vue2.js +13 -13
  22. package/es/components/checkbox/checkbox-group.vue2.js +3 -3
  23. package/es/components/checkbox/checkbox.vue2.js +1 -1
  24. package/es/components/clamp/clamp.vue2.js +2 -2
  25. package/es/components/clamp-toggle/clamp-toggle.vue2.js +4 -4
  26. package/es/components/clamp-tooltip/clamp-tooltip.vue2.js +6 -6
  27. package/es/components/col/col.vue2.js +2 -2
  28. package/es/components/collapse/collapse-item.vue2.js +2 -2
  29. package/es/components/collapse/collapse.vue2.js +2 -2
  30. package/es/components/collapse-transition/collapse-transition.vue2.js +2 -2
  31. package/es/components/color-picker/color-picker.vue2.js +2 -2
  32. package/es/components/color-picker/components/alpha-slider.vue2.js +2 -2
  33. package/es/components/color-picker/components/hue-slider.vue.js +2 -2
  34. package/es/components/color-picker/components/predefine.vue.js +3 -3
  35. package/es/components/color-picker/components/sv-panel.vue.js +2 -2
  36. package/es/components/config-provider/config-provider.vue2.js +2 -2
  37. package/es/components/config-provider/hooks/use-global-config.js +3 -3
  38. package/es/components/container/aside.vue2.js +2 -2
  39. package/es/components/container/container.vue2.js +2 -2
  40. package/es/components/container/footer.vue2.js +2 -2
  41. package/es/components/container/header.vue2.js +2 -2
  42. package/es/components/container/main.vue2.js +2 -2
  43. package/es/components/context-menu/context-menu.vue2.js +1 -1
  44. package/es/components/countdown/countdown.vue2.js +2 -2
  45. package/es/components/date-picker/composables/use-basic-date-table.d.ts +1 -1
  46. package/es/components/date-picker/composables/use-basic-date-table.js +115 -115
  47. package/es/components/date-picker/composables/use-month-range-header.js +1 -1
  48. package/es/components/date-picker/composables/use-panel-date-range.js +1 -1
  49. package/es/components/date-picker/date-picker-com/basic-date-table.vue2.js +6 -6
  50. package/es/components/date-picker/date-picker-com/basic-month-table.vue2.js +5 -5
  51. package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +5 -5
  52. package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +12 -12
  53. package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +3 -3
  54. package/es/components/date-picker/date-picker-com/panel-month-range.vue2.js +12 -12
  55. package/es/components/date-picker/date-picker-com/panel-year-range.vue2.js +12 -12
  56. package/es/components/date-picker/props/basic-date-table.js +3 -3
  57. package/es/components/date-picker/props/basic-month-table.js +3 -3
  58. package/es/components/date-picker/props/basic-year-table.js +3 -3
  59. package/es/components/date-time-select/date-time-select.vue2.js +1 -1
  60. package/es/components/descriptions/description.vue2.js +1 -1
  61. package/es/components/descriptions/descriptions-row.vue2.js +10 -10
  62. package/es/components/dialog/dialog-content.vue2.js +3 -3
  63. package/es/components/dialog/dialog.vue2.js +5 -5
  64. package/es/components/divider/divider.vue2.js +5 -5
  65. package/es/components/drawer/drawer.vue2.js +4 -4
  66. package/es/components/dropdown/dropdown-item-impl.vue.d.ts +1 -1
  67. package/es/components/dropdown/dropdown-item-impl.vue2.js +3 -3
  68. package/es/components/dropdown/dropdown-item.vue.d.ts +1 -1
  69. package/es/components/dropdown/dropdown-item.vue2.js +2 -2
  70. package/es/components/dropdown/dropdown-menu.vue2.js +2 -2
  71. package/es/components/dropdown/dropdown.vue.d.ts +1 -1
  72. package/es/components/dropdown/dropdown.vue2.js +5 -5
  73. package/es/components/dropdown/index.d.ts +33 -33
  74. package/es/components/empty/empty.vue2.js +6 -6
  75. package/es/components/footer-layout/footer-layout.vue2.js +2 -2
  76. package/es/components/form/form-item.vue2.js +16 -16
  77. package/es/components/form/form.vue2.js +2 -2
  78. package/es/components/full-screen/full-screen.vue2.js +3 -3
  79. package/es/components/header-layout/header-layout.vue2.js +1 -1
  80. package/es/components/horizontal-menu/horizontal-menu.vue2.js +3 -3
  81. package/es/components/icon/icon.vue2.js +3 -3
  82. package/es/components/icon-text/icon-text.vue2.js +1 -1
  83. package/es/components/iframe-layout/iframe-layout.vue2.js +4 -4
  84. package/es/components/iframe-layout/iframe-page.vue2.js +2 -2
  85. package/es/components/image/image.vue2.js +2 -2
  86. package/es/components/image-viewer/image-viewer.vue2.js +7 -7
  87. package/es/components/index.d.ts +1 -0
  88. package/es/components/index.js +206 -203
  89. package/es/components/input/input.vue2.js +6 -6
  90. package/es/components/input-number/input-number.vue2.js +4 -4
  91. package/es/components/input-tag/input-tag.vue2.js +7 -7
  92. package/es/components/link/link.vue2.js +1 -1
  93. package/es/components/list-cell/list-cell.vue2.js +1 -1
  94. package/es/components/logo/logo.vue2.js +10 -10
  95. package/es/components/md-comment/md-comment.vue2.js +2 -2
  96. package/es/components/md-container/md-container.vue2.js +2 -2
  97. package/es/components/md-container/toc.js +1 -1
  98. package/es/components/menu/menu-collapse-transition.vue.js +2 -2
  99. package/es/components/menu/menu-item-group.vue2.js +7 -7
  100. package/es/components/menu/menu-item.vue2.js +1 -1
  101. package/es/components/message/message.vue2.js +3 -3
  102. package/es/components/message-box/index.d.ts +4 -0
  103. package/es/components/message-box/index.js +14 -0
  104. package/es/components/message-box/message-box.vue.d.ts +103 -0
  105. package/es/components/message-box/message-box.vue.js +4 -0
  106. package/es/components/message-box/message-box.vue2.js +358 -0
  107. package/es/components/message-box/method.d.ts +3 -0
  108. package/es/components/message-box/method.js +101 -0
  109. package/es/components/message-box/style/css.d.ts +2 -0
  110. package/es/components/message-box/style/css.js +3 -0
  111. package/es/components/message-box/style/index.d.ts +2 -0
  112. package/es/components/message-box/style/index.js +3 -0
  113. package/es/components/message-box/types.d.ts +202 -0
  114. package/es/components/message-box/types.js +1 -0
  115. package/es/components/modal/index.d.ts +1 -0
  116. package/es/components/modal/modal-footer-action.vue2.js +11 -11
  117. package/es/components/modal/modal.vue.d.ts +1 -0
  118. package/es/components/modal/modal.vue2.js +30 -28
  119. package/es/components/multiple-tabs/multiple-tabs.vue2.js +1 -1
  120. package/es/components/multiple-tabs/tab-content.vue2.js +2 -2
  121. package/es/components/multiple-tabs/use/use-tab-dropdown.js +1 -1
  122. package/es/components/notification/notification.vue2.js +1 -1
  123. package/es/components/overlay/overlay.vue2.js +1 -1
  124. package/es/components/page-wrapper/page-wrapper.vue2.js +2 -2
  125. package/es/components/pagination/components/jumper.vue2.js +28 -29
  126. package/es/components/pagination/components/next.vue2.js +4 -4
  127. package/es/components/pagination/components/pager.vue2.js +1 -1
  128. package/es/components/pagination/components/prev.vue2.js +4 -4
  129. package/es/components/pagination/components/sizes.vue2.js +20 -21
  130. package/es/components/pagination/components/total.vue2.js +10 -11
  131. package/es/components/popconfirm/popconfirm.vue2.js +4 -4
  132. package/es/components/popover/popover.vue2.js +1 -1
  133. package/es/components/popper/arrow.vue2.js +2 -2
  134. package/es/components/popper/content.vue2.js +2 -2
  135. package/es/components/popper/trigger.vue2.js +4 -4
  136. package/es/components/progress/progress.vue2.js +1 -1
  137. package/es/components/progress-i/progress-i.vue2.js +2 -2
  138. package/es/components/qrcode/qrcode.vue2.js +1 -1
  139. package/es/components/radio/radio-button.vue2.js +2 -2
  140. package/es/components/radio/radio-group.vue2.js +3 -3
  141. package/es/components/radio/radio.vue2.js +2 -2
  142. package/es/components/rate/rate.vue2.js +6 -6
  143. package/es/components/router-view-content/router-view-content.vue2.js +7 -7
  144. package/es/components/roving-focus-group/roving-focus-group.vue2.js +2 -2
  145. package/es/components/roving-focus-group/roving-focus-item.vue2.js +2 -2
  146. package/es/components/row/row.vue2.js +2 -2
  147. package/es/components/scrollbar/bar.vue2.js +2 -2
  148. package/es/components/scrollbar/scrollbar.vue2.js +7 -7
  149. package/es/components/scrollbar/thumb.vue2.js +2 -2
  150. package/es/components/search/search.vue2.js +8 -8
  151. package/es/components/segmented/segmented.vue2.js +7 -7
  152. package/es/components/select/group-item.vue.js +2 -2
  153. package/es/components/select/option-item.vue.js +2 -2
  154. package/es/components/select/select.vue.js +1 -1
  155. package/es/components/select/useSelect.js +1 -1
  156. package/es/components/skeleton/skeleton-item.vue2.js +2 -2
  157. package/es/components/skeleton/skeleton.vue2.js +8 -8
  158. package/es/components/slider/button.vue2.js +2 -2
  159. package/es/components/slider/slider.vue2.js +1 -1
  160. package/es/components/space/space.js +1 -1
  161. package/es/components/statistic/statistic.vue2.js +17 -17
  162. package/es/components/steps/item.vue2.js +11 -11
  163. package/es/components/steps/steps.vue2.js +2 -2
  164. package/es/components/super-form/super-form-action.vue2.js +47 -48
  165. package/es/components/super-form/super-form-item.vue2.js +204 -206
  166. package/es/components/super-form/super-form.vue2.js +7 -7
  167. package/es/components/super-form/use/helper.d.ts +1 -1
  168. package/es/components/super-form/use/helper.js +63 -63
  169. package/es/components/super-form/use/use-form.js +8 -8
  170. package/es/components/switch/switch.vue2.js +1 -1
  171. package/es/components/table/field.js +111 -130
  172. package/es/components/table/table.vue2.js +128 -133
  173. package/es/components/table/use/use-columns.js +26 -29
  174. package/es/components/table/use/use-data-source.js +59 -60
  175. package/es/components/tabs/tab-bar.vue2.js +2 -2
  176. package/es/components/tabs/tab-pane.vue2.js +6 -6
  177. package/es/components/teleport/teleport.vue2.js +2 -2
  178. package/es/components/time-picker/common/picker-range-trigger.vue2.js +2 -2
  179. package/es/components/time-picker/common/picker.vue2.js +8 -8
  180. package/es/components/time-picker/time-picker-com/basic-time-spinner.vue2.js +1 -1
  181. package/es/components/time-picker/time-picker-com/panel-time-pick.vue2.js +4 -4
  182. package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +4 -4
  183. package/es/components/time-select/time-select.vue2.js +3 -3
  184. package/es/components/timeline/timeline-item.vue2.js +1 -1
  185. package/es/components/tooltip/content.vue2.js +6 -6
  186. package/es/components/tooltip/tooltip.vue2.js +1 -1
  187. package/es/components/tooltip/trigger.vue2.js +2 -2
  188. package/es/components/transfer/transfer-panel.vue2.js +8 -8
  189. package/es/components/transfer/transfer.vue2.js +5 -5
  190. package/es/components/tree/tree-node.vue.js +1 -1
  191. package/es/components/tree/tree.vue2.js +7 -7
  192. package/es/components/upload/upload-content.vue2.js +8 -8
  193. package/es/components/upload/upload-dragger.vue2.js +2 -2
  194. package/es/components/upload/upload-list.vue2.js +2 -2
  195. package/es/components/upload/upload.vue2.js +20 -20
  196. package/es/components/verify-code/verify-code.vue2.js +2 -2
  197. package/es/components/watermark/watermark.vue2.js +2 -2
  198. package/es/hooks/use-id/index.js +2 -2
  199. package/es/index.js +40 -39
  200. package/es/locale/index.js +6 -6
  201. package/es/package.json.d.ts +1 -1
  202. package/es/package.json.js +1 -1
  203. package/es/plugin.js +5 -3
  204. package/es/utils/helper.js +2 -2
  205. package/es/utils/ns-cover.js +1 -1
  206. package/es/utils/vue/vnode.js +3 -3
  207. package/lib/components/button/use-button.cjs +1 -1
  208. package/lib/components/cascader/cascader.vue2.cjs +1 -1
  209. package/lib/components/cascader-panel/menu.vue2.cjs +2 -2
  210. package/lib/components/clamp-toggle/clamp-toggle.vue2.cjs +1 -1
  211. package/lib/components/color-picker/color-picker.vue2.cjs +1 -1
  212. package/lib/components/date-picker/composables/use-basic-date-table.cjs +1 -1
  213. package/lib/components/date-picker/composables/use-basic-date-table.d.ts +1 -1
  214. package/lib/components/date-picker/composables/use-month-range-header.cjs +1 -1
  215. package/lib/components/date-picker/composables/use-panel-date-range.cjs +1 -1
  216. package/lib/components/date-picker/date-picker-com/basic-month-table.vue2.cjs +1 -1
  217. package/lib/components/date-picker/date-picker-com/basic-year-table.vue2.cjs +1 -1
  218. package/lib/components/date-picker/date-picker-com/panel-date-pick.vue2.cjs +1 -1
  219. package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -1
  220. package/lib/components/date-time-select/date-time-select.vue2.cjs +1 -1
  221. package/lib/components/dropdown/dropdown-item-impl.vue.d.ts +1 -1
  222. package/lib/components/dropdown/dropdown-item.vue.d.ts +1 -1
  223. package/lib/components/dropdown/dropdown.vue.d.ts +1 -1
  224. package/lib/components/dropdown/dropdown.vue2.cjs +1 -1
  225. package/lib/components/dropdown/index.d.ts +33 -33
  226. package/lib/components/empty/empty.vue2.cjs +1 -1
  227. package/lib/components/full-screen/full-screen.vue2.cjs +1 -1
  228. package/lib/components/image/image.vue2.cjs +1 -1
  229. package/lib/components/image-viewer/image-viewer.vue2.cjs +1 -1
  230. package/lib/components/index.cjs +1 -1
  231. package/lib/components/index.d.ts +1 -0
  232. package/lib/components/input/input.vue2.cjs +1 -1
  233. package/lib/components/md-container/md-container.vue2.cjs +1 -1
  234. package/lib/components/md-container/toc.cjs +1 -1
  235. package/lib/components/message-box/index.cjs +1 -0
  236. package/lib/components/message-box/index.d.ts +4 -0
  237. package/lib/components/message-box/message-box.vue.cjs +1 -0
  238. package/lib/components/message-box/message-box.vue.d.ts +103 -0
  239. package/lib/components/message-box/message-box.vue2.cjs +1 -0
  240. package/lib/components/message-box/method.cjs +1 -0
  241. package/lib/components/message-box/method.d.ts +3 -0
  242. package/lib/components/message-box/style/css.cjs +1 -0
  243. package/lib/components/message-box/style/css.d.ts +2 -0
  244. package/lib/components/message-box/style/index.cjs +1 -0
  245. package/lib/components/message-box/style/index.d.ts +2 -0
  246. package/lib/components/message-box/types.cjs +1 -0
  247. package/lib/components/message-box/types.d.ts +202 -0
  248. package/lib/components/modal/index.d.ts +1 -0
  249. package/lib/components/modal/modal-footer-action.vue2.cjs +1 -1
  250. package/lib/components/modal/modal.vue.d.ts +1 -0
  251. package/lib/components/modal/modal.vue2.cjs +1 -1
  252. package/lib/components/multiple-tabs/use/use-tab-dropdown.cjs +1 -1
  253. package/lib/components/pagination/components/jumper.vue2.cjs +1 -1
  254. package/lib/components/pagination/components/sizes.vue2.cjs +1 -1
  255. package/lib/components/pagination/components/total.vue2.cjs +1 -1
  256. package/lib/components/popconfirm/popconfirm.vue2.cjs +1 -1
  257. package/lib/components/search/search.vue2.cjs +1 -1
  258. package/lib/components/select/useSelect.cjs +1 -1
  259. package/lib/components/super-form/super-form-action.vue2.cjs +1 -1
  260. package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
  261. package/lib/components/super-form/use/helper.cjs +1 -1
  262. package/lib/components/super-form/use/helper.d.ts +1 -1
  263. package/lib/components/super-form/use/use-form.cjs +1 -1
  264. package/lib/components/table/field.cjs +1 -1
  265. package/lib/components/table/table.vue2.cjs +1 -1
  266. package/lib/components/table/use/use-columns.cjs +1 -1
  267. package/lib/components/table/use/use-data-source.cjs +1 -1
  268. package/lib/components/time-picker/time-picker-com/panel-time-pick.vue2.cjs +1 -1
  269. package/lib/components/time-picker/time-picker-com/panel-time-range.vue2.cjs +1 -1
  270. package/lib/components/transfer/transfer-panel.vue2.cjs +1 -1
  271. package/lib/components/transfer/transfer.vue2.cjs +1 -1
  272. package/lib/components/tree/tree.vue2.cjs +1 -1
  273. package/lib/components/upload/upload-content.vue2.cjs +1 -1
  274. package/lib/components/upload/upload-list.vue2.cjs +1 -1
  275. package/lib/components/upload/upload.vue2.cjs +1 -1
  276. package/lib/index.cjs +1 -1
  277. package/lib/locale/index.cjs +1 -1
  278. package/lib/package.json.cjs +1 -1
  279. package/lib/package.json.d.ts +1 -1
  280. package/lib/plugin.cjs +1 -1
  281. package/package.json +2 -2
  282. package/theme-style/index.css +1 -1
  283. package/theme-style/src/table.scss +4 -0
  284. package/theme-style/vft-table.css +1 -1
  285. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as $, shallowRef as m, ref as v, computed as E, watch as W, onMounted as H, watchEffect as I, createElementBlock as N, openBlock as q, normalizeStyle as S, normalizeClass as _, unref as b, createElementVNode as L, renderSlot as M } from "vue";
1
+ import { defineComponent as $, shallowRef as m, ref as v, computed as E, watch as W, onMounted as H, watchEffect as I, openBlock as N, createElementBlock as q, normalizeStyle as S, normalizeClass as _, unref as b, createElementVNode as L, renderSlot as M } from "vue";
2
2
  import { useWindowSize as P, useElementBounding as y, useEventListener as U } from "@vueuse/core";
3
3
  import { getScrollContainer as V } from "../../utils/dom/scroll.js";
4
4
  import { throwError as Y } from "../../utils/error.js";
@@ -64,7 +64,7 @@ const G = $({
64
64
  update: w,
65
65
  /** @description update rootRect info */
66
66
  updateRoot: c
67
- }), (t, J) => (q(), N("div", {
67
+ }), (t, J) => (N(), q("div", {
68
68
  ref_key: "root",
69
69
  ref: f,
70
70
  class: _(b(i).b()),
@@ -1,4 +1,4 @@
1
- import { defineComponent as C, useSlots as N, ref as S, computed as a, createBlock as r, openBlock as l, Transition as V, unref as o, withCtx as $, withDirectives as x, createElementVNode as v, normalizeClass as n, createCommentVNode as s, createElementBlock as c, renderSlot as k, createTextVNode as p, toDisplayString as u, Fragment as E, vShow as I } from "vue";
1
+ import { defineComponent as C, useSlots as N, ref as S, computed as a, openBlock as l, createBlock as r, Transition as V, unref as o, withCtx as $, withDirectives as x, createElementVNode as v, normalizeClass as n, createCommentVNode as s, createElementBlock as c, renderSlot as k, createTextVNode as p, toDisplayString as u, Fragment as E, vShow as I } from "vue";
2
2
  import { VftIcon as b } from "../icon/index.js";
3
3
  import "@vueuse/core";
4
4
  import "@vft/utils";
@@ -1,4 +1,4 @@
1
- import { defineComponent as Q, useAttrs as ve, ref as c, computed as b, onMounted as me, createBlock as pe, openBlock as E, unref as s, withCtx as v, createElementVNode as q, normalizeStyle as z, normalizeClass as k, createVNode as G, mergeProps as ge, withKeys as y, withModifiers as j, createSlots as he, renderSlot as $, createElementBlock as F, Fragment as be, renderList as ye, createTextVNode as $e, toDisplayString as we, nextTick as Ee } from "vue";
1
+ import { defineComponent as Q, useAttrs as ve, ref as c, computed as b, onMounted as me, openBlock as E, createBlock as pe, unref as s, withCtx as v, createElementVNode as q, normalizeStyle as z, normalizeClass as k, createVNode as G, mergeProps as ge, withKeys as y, withModifiers as j, createSlots as he, renderSlot as $, createElementBlock as F, Fragment as be, renderList as ye, createTextVNode as $e, toDisplayString as we, nextTick as Ee } from "vue";
2
2
  import { isObject as ke, isString as N, isArray as D } from "@vft/utils";
3
3
  import "../form/index.js";
4
4
  import { VftInput as Ae } from "../input/index.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent as v, ref as z, computed as i, watch as h, createElementBlock as k, openBlock as o, normalizeStyle as y, normalizeClass as g, createBlock as n, renderSlot as B, unref as c, normalizeProps as E, mergeProps as S } from "vue";
1
+ import { defineComponent as v, ref as z, computed as i, watch as h, openBlock as o, createElementBlock as k, normalizeStyle as y, normalizeClass as g, createBlock as n, unref as c, normalizeProps as B, mergeProps as E, renderSlot as S } from "vue";
2
2
  import { isString as b, isNumber as C, singleAttrToObj as V } from "@vft/utils";
3
3
  import { VftIcon as I } from "../icon/index.js";
4
4
  import { VftImage as L } from "../image/index.js";
@@ -45,7 +45,7 @@ const H = /* @__PURE__ */ v({
45
45
  alt: e.alt,
46
46
  fit: e.fit,
47
47
  onError: d
48
- }, null, 8, ["src", "alt", "fit"])) : s.value?.icon ? (o(), n(c(I), E(S({ key: 1 }, s.value)), null, 16)) : B(t.$slots, "default", { key: 2 })
48
+ }, null, 8, ["src", "alt", "fit"])) : s.value?.icon ? (o(), n(c(I), B(E({ key: 1 }, s.value)), null, 16)) : S(t.$slots, "default", { key: 2 })
49
49
  ], 6));
50
50
  }
51
51
  });
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, computed as r, createElementBlock as n, openBlock as s, normalizeStyle as c, normalizeClass as o, unref as t, createCommentVNode as y, Fragment as g, renderList as k, createVNode as d, withCtx as b, createTextVNode as p, toDisplayString as V } from "vue";
1
+ import { defineComponent as f, computed as r, openBlock as n, createElementBlock as s, normalizeStyle as c, normalizeClass as o, unref as t, Fragment as y, renderList as g, createVNode as d, withCtx as k, createTextVNode as b, toDisplayString as p, createCommentVNode as V } from "vue";
2
2
  import { VftAvatar as v } from "../avatar/index.js";
3
3
  import "@vueuse/core";
4
4
  import { addUnit as i } from "@vft/utils";
@@ -32,11 +32,11 @@ const B = f({
32
32
  },
33
33
  "avatar-stack"
34
34
  ));
35
- return (M, S) => (s(), n("div", {
35
+ return (M, S) => (n(), s("div", {
36
36
  class: o(t(a).b()),
37
37
  style: c(h.value)
38
38
  }, [
39
- (s(!0), n(g, null, k(l.value, (x, u) => (s(), n("div", {
39
+ (n(!0), s(y, null, g(l.value, (x, u) => (n(), s("div", {
40
40
  key: u,
41
41
  class: o(t(a).e("item")),
42
42
  style: c({ zIndex: l.value.length - u })
@@ -47,7 +47,7 @@ const B = f({
47
47
  class: o(t(a).e("stacked-avatar"))
48
48
  }, null, 8, ["src", "size", "class"])
49
49
  ], 6))), 128)),
50
- e.showRemainCount && m.value > 0 ? (s(), n("div", {
50
+ e.showRemainCount && m.value > 0 ? (n(), s("div", {
51
51
  key: 0,
52
52
  class: o([t(a).e("item"), t(a).e("remaining-count")]),
53
53
  style: { zIndex: 0 }
@@ -56,12 +56,12 @@ const B = f({
56
56
  size: e.size,
57
57
  class: o(t(a).e("remaining-avatar"))
58
58
  }, {
59
- default: b(() => [
60
- p(" +" + V(m.value), 1)
59
+ default: k(() => [
60
+ b(" +" + p(m.value), 1)
61
61
  ]),
62
62
  _: 1
63
63
  }, 8, ["size", "class"])
64
- ], 2)) : y("", !0)
64
+ ], 2)) : V("", !0)
65
65
  ], 6));
66
66
  }
67
67
  });
@@ -1,4 +1,4 @@
1
- import { defineComponent as s, getCurrentInstance as v, computed as m, createBlock as l, openBlock as i, Transition as y, unref as t, withCtx as C, createElementBlock as h, createCommentVNode as c, withModifiers as T, normalizeClass as x, normalizeStyle as z, renderSlot as B, normalizeProps as $, mergeProps as S } from "vue";
1
+ import { defineComponent as s, getCurrentInstance as v, computed as m, openBlock as i, createBlock as l, Transition as y, unref as t, withCtx as C, createElementBlock as h, withModifiers as T, normalizeClass as x, normalizeStyle as z, renderSlot as B, normalizeProps as $, mergeProps as S, createCommentVNode as c } from "vue";
2
2
  import { singleAttrToObj as _ } from "@vft/utils";
3
3
  import { VftIcon as w } from "../icon/index.js";
4
4
  import "@vueuse/core";
@@ -1,4 +1,4 @@
1
- import { defineComponent as l, getCurrentInstance as d, inject as k, ref as b, createElementBlock as p, openBlock as a, normalizeClass as s, unref as e, createElementVNode as y, createBlock as C, renderSlot as _, mergeProps as g, toDisplayString as B } from "vue";
1
+ import { defineComponent as l, getCurrentInstance as d, inject as k, ref as b, openBlock as a, createElementBlock as p, normalizeClass as s, unref as e, createElementVNode as y, renderSlot as C, createBlock as _, mergeProps as g, toDisplayString as B } from "vue";
2
2
  import { VftIcon as I } from "../icon/index.js";
3
3
  import "@vueuse/core";
4
4
  import "@vft/utils";
@@ -32,9 +32,9 @@ const h = l({
32
32
  role: "link",
33
33
  onClick: u
34
34
  }, [
35
- _(f.$slots, "default")
35
+ C(f.$slots, "default")
36
36
  ], 2),
37
- e(o)?.separatorIcon ? (a(), C(e(I), g({ key: 0 }, e(o).separatorIcon, {
37
+ e(o)?.separatorIcon ? (a(), _(e(I), g({ key: 0 }, e(o).separatorIcon, {
38
38
  class: e(r).e("separator")
39
39
  }), null, 16, ["class"])) : (a(), p("span", {
40
40
  key: 1,
@@ -1,4 +1,4 @@
1
- import { defineComponent as o, ref as n, provide as p, onMounted as s, createElementBlock as i, openBlock as c, normalizeClass as l, unref as u, renderSlot as f } from "vue";
1
+ import { defineComponent as o, ref as n, provide as p, onMounted as s, openBlock as i, createElementBlock as c, normalizeClass as l, unref as u, renderSlot as f } from "vue";
2
2
  import "@vueuse/core";
3
3
  import "@vft/utils";
4
4
  import "../config-provider/hooks/use-global-config.js";
@@ -22,7 +22,7 @@ const _ = o({
22
22
  return p(b, m), s(() => {
23
23
  const e = t.value.querySelectorAll(`.${r.e("item")}`);
24
24
  e.length && e[e.length - 1].setAttribute("aria-current", "page");
25
- }), (e, g) => (c(), i("div", {
25
+ }), (e, g) => (i(), c("div", {
26
26
  ref_key: "breadcrumb",
27
27
  ref: t,
28
28
  class: l(u(r).b()),
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, provide as s, reactive as i, toRef as o, createElementBlock as m, openBlock as a, normalizeClass as u, unref as c, renderSlot as f } from "vue";
1
+ import { defineComponent as e, provide as s, reactive as i, toRef as o, openBlock as m, createElementBlock as a, normalizeClass as u, unref as c, renderSlot as f } from "vue";
2
2
  import "@vueuse/core";
3
3
  import "@vft/utils";
4
4
  import "../config-provider/hooks/use-global-config.js";
@@ -25,7 +25,7 @@ const _ = e({
25
25
  size: o(t, "size"),
26
26
  type: o(t, "type")
27
27
  })
28
- ), (n, b) => (a(), m("div", {
28
+ ), (n, b) => (m(), a("div", {
29
29
  class: u(`${c(p).b("group")}`)
30
30
  }, [
31
31
  f(n.$slots, "default")
@@ -1,4 +1,4 @@
1
- import { defineComponent as g, computed as T, createBlock as i, openBlock as l, resolveDynamicComponent as $, mergeProps as p, unref as e, withCtx as I, createElementBlock as y, createCommentVNode as f, Fragment as A, renderSlot as k, normalizeClass as B, normalizeProps as N } from "vue";
1
+ import { defineComponent as g, computed as T, openBlock as l, createBlock as i, resolveDynamicComponent as $, mergeProps as p, unref as e, withCtx as I, createElementBlock as y, Fragment as A, renderSlot as f, normalizeClass as k, normalizeProps as N, createCommentVNode as B } from "vue";
2
2
  import { VftIcon as b } from "../icon/index.js";
3
3
  import "@vueuse/core";
4
4
  import { singleAttrToObj as P } from "@vft/utils";
@@ -70,19 +70,19 @@ const D = g({
70
70
  }), {
71
71
  default: I(() => [
72
72
  o.loading ? (l(), y(A, { key: 0 }, [
73
- n.$slots.loading ? k(n.$slots, "loading", { key: 0 }) : (l(), i(e(b), {
73
+ n.$slots.loading ? f(n.$slots, "loading", { key: 0 }) : (l(), i(e(b), {
74
74
  key: 1,
75
75
  rotate: "",
76
- class: B(e(t).is("loading")),
76
+ class: k(e(t).is("loading")),
77
77
  icon: "icon-loading"
78
78
  }, null, 8, ["class"]))
79
- ], 64)) : d.value?.icon ? (l(), i(e(b), N(p({ key: 1 }, d.value)), null, 16)) : f("", !0),
79
+ ], 64)) : d.value?.icon ? (l(), i(e(b), N(p({ key: 1 }, d.value)), null, 16)) : B("", !0),
80
80
  n.$slots.default ? (l(), y("span", {
81
81
  key: 2,
82
- class: B({ [e(t).em("text", "expand")]: e(u) })
82
+ class: k({ [e(t).em("text", "expand")]: e(u) })
83
83
  }, [
84
- k(n.$slots, "default")
85
- ], 2)) : f("", !0)
84
+ f(n.$slots, "default")
85
+ ], 2)) : B("", !0)
86
86
  ]),
87
87
  _: 3
88
88
  }, 16, ["class", "style", "onClick"]));
@@ -3,11 +3,11 @@ import "../form/index.js";
3
3
  import { useThrottleFn as C } from "@vueuse/core";
4
4
  import { inject as S, computed as o, ref as v, useSlots as F, Text as T } from "vue";
5
5
  import { buttonGroupContextKey as _ } from "./constants.js";
6
- import { useFormItem as k } from "../form/hooks/use-form-item.js";
7
- import { useGlobalConfig as x } from "../config-provider/hooks/use-global-config.js";
6
+ import { useGlobalConfig as k } from "../config-provider/hooks/use-global-config.js";
7
+ import { useFormItem as x } from "../form/hooks/use-form-item.js";
8
8
  import { useFormSize as I, useFormDisabled as z } from "../form/hooks/use-form-common-props.js";
9
9
  const w = (t, r) => {
10
- const s = S(_, void 0), u = x("button"), { form: c } = k(), a = I(o(() => s?.size)), n = z(), f = v(), m = F(), d = o(() => t.type || s?.type || ""), b = o(
10
+ const s = S(_, void 0), u = k("button"), { form: c } = x(), a = I(o(() => s?.size)), n = z(), f = v(), m = F(), d = o(() => t.type || s?.type || ""), b = o(
11
11
  () => t.autoInsertSpace ?? u.value?.autoInsertSpace ?? !1
12
12
  ), h = o(() => {
13
13
  const e = m.default?.();
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, createElementBlock as d, openBlock as s, normalizeClass as r, unref as a, createCommentVNode as i, createElementVNode as n, renderSlot as l, createTextVNode as c, toDisplayString as f, normalizeStyle as p } from "vue";
1
+ import { defineComponent as m, openBlock as d, createElementBlock as s, normalizeClass as r, unref as a, renderSlot as l, createTextVNode as i, toDisplayString as n, createCommentVNode as c, createElementVNode as f, normalizeStyle as p } from "vue";
2
2
  import "@vueuse/core";
3
3
  import "@vft/utils";
4
4
  import "../config-provider/hooks/use-global-config.js";
@@ -19,18 +19,18 @@ const h = m({
19
19
  },
20
20
  setup(e) {
21
21
  const t = u("card");
22
- return (o, y) => (s(), d("div", {
22
+ return (o, y) => (d(), s("div", {
23
23
  class: r([a(t).b(), a(t).is(`${e.shadow}-shadow`)])
24
24
  }, [
25
- o.$slots.header || e.header ? (s(), d("div", {
25
+ o.$slots.header || e.header ? (d(), s("div", {
26
26
  key: 0,
27
27
  class: r(a(t).e("header"))
28
28
  }, [
29
29
  l(o.$slots, "header", {}, () => [
30
- c(f(e.header), 1)
30
+ i(n(e.header), 1)
31
31
  ])
32
- ], 2)) : i("", !0),
33
- n("div", {
32
+ ], 2)) : c("", !0),
33
+ f("div", {
34
34
  class: r(a(t).e("body")),
35
35
  style: p(e.bodyStyle)
36
36
  }, [
@@ -1,4 +1,4 @@
1
- import { defineComponent as d, computed as m, unref as e, withDirectives as c, createElementBlock as u, openBlock as p, normalizeStyle as w, normalizeClass as v, createCommentVNode as x, renderSlot as z, vShow as f } from "vue";
1
+ import { defineComponent as d, computed as m, unref as e, withDirectives as c, openBlock as u, createElementBlock as p, normalizeStyle as w, normalizeClass as v, vShow as f, createCommentVNode as x, renderSlot as z } from "vue";
2
2
  import "@vueuse/core";
3
3
  import "@vft/utils";
4
4
  import "../config-provider/hooks/use-global-config.js";
@@ -46,7 +46,7 @@ const R = d({
46
46
  transform: [a, s].join(" ")
47
47
  };
48
48
  });
49
- return (i, a) => c((p(), u("div", {
49
+ return (i, a) => c((u(), p("div", {
50
50
  ref_key: "carouselItemRef",
51
51
  ref: _,
52
52
  class: v(T.value),
@@ -54,7 +54,7 @@ const R = d({
54
54
  onClick: a[0] || (a[0] = //@ts-ignore
55
55
  (...s) => e(n) && e(n)(...s))
56
56
  }, [
57
- e(r) ? c((p(), u("div", {
57
+ e(r) ? c((u(), p("div", {
58
58
  key: 0,
59
59
  class: v(e(t).e("mask"))
60
60
  }, null, 2)), [
@@ -1,4 +1,4 @@
1
- import { defineComponent as E, getCurrentInstance as _, computed as T, unref as e, createElementBlock as d, openBlock as s, withModifiers as m, normalizeClass as l, createBlock as L, createCommentVNode as f, createElementVNode as a, createVNode as p, Transition as V, withCtx as y, withDirectives as g, vShow as h, normalizeStyle as ee, renderSlot as te, Fragment as oe, renderList as ne, toDisplayString as re } from "vue";
1
+ import { defineComponent as E, getCurrentInstance as _, computed as T, unref as e, openBlock as s, createElementBlock as d, withModifiers as m, normalizeClass as l, createBlock as L, Transition as V, withCtx as y, withDirectives as g, createElementVNode as a, createVNode as p, vShow as h, createCommentVNode as f, normalizeStyle as ee, renderSlot as te, Fragment as oe, renderList as ne, toDisplayString as re } from "vue";
2
2
  import { VftIcon as D } from "../icon/index.js";
3
3
  import "@vueuse/core";
4
4
  import "@vft/utils";
@@ -1,4 +1,4 @@
1
- import { defineComponent as Ne, useAttrs as Ze, ref as c, computed as i, unref as l, watch as x, nextTick as N, onMounted as _e, createBlock as E, openBlock as r, withCtx as v, createElementBlock as m, createCommentVNode as P, withDirectives as U, withModifiers as F, normalizeClass as d, renderSlot as V, createVNode as te, vShow as Ee, Fragment as se, renderList as le, createElementVNode as z, toDisplayString as A, normalizeStyle as et, createSlots as tt, withKeys as st, vModelText as lt } from "vue";
1
+ import { defineComponent as Ne, useAttrs as Ze, ref as c, computed as i, unref as l, watch as x, nextTick as N, onMounted as _e, openBlock as r, createBlock as E, withCtx as v, createElementBlock as m, withModifiers as F, normalizeClass as d, renderSlot as V, createCommentVNode as P, withDirectives as U, createVNode as te, vShow as Ee, Fragment as se, renderList as le, createElementVNode as z, toDisplayString as A, normalizeStyle as et, createSlots as tt, withKeys as st, vModelText as lt } from "vue";
2
2
  import { cloneDeep as ot, debounce as at } from "lodash-es";
3
3
  import { useResizeObserver as nt, useCssVar as rt } from "@vueuse/core";
4
4
  import { focusNode as it, getSibling as ut } from "../../utils/dom/aria.js";
@@ -21,7 +21,7 @@ import "@popperjs/core";
21
21
  import "../../hooks/use-z-index/index.js";
22
22
  import { useComposition as kt } from "../../hooks/use-composition/index.js";
23
23
  import { useEmptyValues as Ct } from "../../hooks/use-empty-values/index.js";
24
- import { useLocale as yt } from "../../locale/use-locale.js";
24
+ import yt from "../../locale/use-locale.js";
25
25
  import { cascaderEmits as bt, cascaderProps as Tt } from "./cascader.js";
26
26
  import { useFormItem as Et } from "../form/hooks/use-form-item.js";
27
27
  import { useFormSize as wt } from "../form/hooks/use-form-common-props.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent as Y, useSlots as ae, ref as E, computed as z, provide as ne, reactive as F, watch as b, onBeforeUpdate as le, onMounted as se, createElementBlock as I, openBlock as D, normalizeClass as re, unref as K, Fragment as ce, renderList as ue, createBlock as ie, withCtx as de, renderSlot as pe, nextTick as fe } from "vue";
1
+ import { defineComponent as Y, useSlots as ae, ref as E, computed as z, provide as ne, reactive as F, watch as b, onBeforeUpdate as le, onMounted as se, openBlock as D, createElementBlock as I, normalizeClass as re, unref as K, Fragment as ce, renderList as ue, createBlock as ie, withCtx as de, renderSlot as pe, nextTick as fe } from "vue";
2
2
  import { isEqual as $, flattenDeep as me, cloneDeep as ve } from "lodash-es";
3
3
  import { focusNode as M, getSibling as he } from "../../utils/dom/aria.js";
4
4
  import "@vueuse/core";
@@ -1,4 +1,4 @@
1
- import { defineComponent as N, getCurrentInstance as b, inject as A, ref as B, computed as p, createBlock as k, openBlock as n, unref as e, normalizeClass as i, withCtx as S, createElementBlock as u, createCommentVNode as z, Fragment as D, renderList as q, createVNode as R, createTextVNode as x, toDisplayString as L, renderSlot as X } from "vue";
1
+ import { defineComponent as N, getCurrentInstance as b, inject as A, ref as B, computed as p, openBlock as n, createBlock as k, unref as e, normalizeClass as i, withCtx as S, createElementBlock as u, Fragment as z, renderList as D, createVNode as q, createTextVNode as x, toDisplayString as L, renderSlot as R, createCommentVNode as X } from "vue";
2
2
  import { VftScrollbar as j } from "../scrollbar/index.js";
3
3
  import "@vueuse/core";
4
4
  import "@vft/utils";
@@ -10,7 +10,7 @@ import { useNamespace as J } from "../../hooks/use-namespace/index.js";
10
10
  import "../../hooks/use-model-toggle/index.js";
11
11
  import "@popperjs/core";
12
12
  import "../../hooks/use-z-index/index.js";
13
- import { useLocale as K } from "../../locale/use-locale.js";
13
+ import K from "../../locale/use-locale.js";
14
14
  import { VftIcon as O } from "../icon/index.js";
15
15
  import P from "./node.vue2.js";
16
16
  import { CASCADER_PANEL_INJECTION_KEY as W } from "./types.js";
@@ -59,7 +59,7 @@ const Y = N({
59
59
  onMouseleave: _
60
60
  }, {
61
61
  default: S(() => [
62
- (n(!0), u(D, null, q(f.nodes, (c) => (n(), k(P, {
62
+ (n(!0), u(z, null, D(f.nodes, (c) => (n(), k(P, {
63
63
  key: c.uid,
64
64
  node: c,
65
65
  "menu-id": y.value,
@@ -69,7 +69,7 @@ const Y = N({
69
69
  key: 0,
70
70
  class: i(e(t).e("empty-text"))
71
71
  }, [
72
- R(e(O), {
72
+ q(e(O), {
73
73
  icon: "icon-loadding",
74
74
  size: "14",
75
75
  class: i(e(t).is("loading"))
@@ -79,7 +79,7 @@ const Y = N({
79
79
  key: 1,
80
80
  class: i(e(t).e("empty-text"))
81
81
  }, [
82
- X(o.$slots, "empty", {}, () => [
82
+ R(o.$slots, "empty", {}, () => [
83
83
  x(L(e(g)("vft.noData")), 1)
84
84
  ])
85
85
  ], 2)) : e(l)?.isHoverMenu ? (n(), u("svg", {
@@ -87,7 +87,7 @@ const Y = N({
87
87
  ref_key: "hoverZone",
88
88
  ref: a,
89
89
  class: i(e(t).e("hover-zone"))
90
- }, null, 2)) : z("", !0)
90
+ }, null, 2)) : X("", !0)
91
91
  ]),
92
92
  _: 3
93
93
  }, 8, ["class", "wrap-class", "view-class"]));
@@ -1,4 +1,4 @@
1
- import { defineComponent as H, inject as F, computed as d, createElementBlock as P, openBlock as u, normalizeClass as f, unref as n, createBlock as m, createCommentVNode as S, createVNode as O, withModifiers as L, withCtx as R, createElementVNode as U, Fragment as $ } from "vue";
1
+ import { defineComponent as H, inject as F, computed as d, openBlock as u, createElementBlock as P, normalizeClass as f, unref as n, createBlock as m, withModifiers as S, withCtx as O, createElementVNode as R, createCommentVNode as L, createVNode as U, Fragment as $ } from "vue";
2
2
  import { VftCheckbox as q } from "../checkbox/index.js";
3
3
  import { VftRadio as J } from "../radio/index.js";
4
4
  import { VftIcon as x } from "../icon/index.js";
@@ -78,7 +78,7 @@ const G = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"], Q =
78
78
  "model-value": o.node.checked,
79
79
  indeterminate: o.node.indeterminate,
80
80
  disabled: r.value,
81
- onClick: a[0] || (a[0] = L(() => {
81
+ onClick: a[0] || (a[0] = S(() => {
82
82
  }, ["stop"])),
83
83
  "onUpdate:modelValue": k
84
84
  }, null, 8, ["model-value", "indeterminate", "disabled"])) : s.value && N.value ? (u(), m(n(J), {
@@ -87,24 +87,24 @@ const G = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"], Q =
87
87
  label: o.node.uid,
88
88
  disabled: r.value,
89
89
  "onUpdate:modelValue": k,
90
- onClick: a[1] || (a[1] = L(() => {
90
+ onClick: a[1] || (a[1] = S(() => {
91
91
  }, ["stop"]))
92
92
  }, {
93
- default: R(() => [...a[2] || (a[2] = [
94
- U("span", null, null, -1)
93
+ default: O(() => [...a[2] || (a[2] = [
94
+ R("span", null, null, -1)
95
95
  ])]),
96
96
  _: 1
97
97
  }, 8, ["model-value", "label", "disabled"])) : i.value && o.node.checked ? (u(), m(n(x), {
98
98
  key: 2,
99
99
  icon: "icon-check",
100
100
  class: f(n(c).e("prefix"))
101
- }, null, 8, ["class"])) : S("", !0),
102
- O(n(T), {
101
+ }, null, 8, ["class"])) : L("", !0),
102
+ U(n(T), {
103
103
  node: o.node,
104
104
  disabled: r.value,
105
105
  onHandleSelectCheck: k
106
106
  }, null, 8, ["node", "disabled"]),
107
- i.value ? S("", !0) : (u(), P($, { key: 3 }, [
107
+ i.value ? L("", !0) : (u(), P($, { key: 3 }, [
108
108
  o.node.loading ? (u(), m(n(x), {
109
109
  key: 0,
110
110
  icon: "icon-loading",
@@ -1,4 +1,4 @@
1
- import { defineComponent as o, computed as s, createElementBlock as i, openBlock as p, normalizeClass as l, renderSlot as d } from "vue";
1
+ import { defineComponent as o, computed as s, openBlock as i, createElementBlock as p, normalizeClass as l, renderSlot as d } from "vue";
2
2
  import { CHANGE_EVENT as h } from "../../constants/event.js";
3
3
  import "@vueuse/core";
4
4
  import "@vft/utils";
@@ -21,7 +21,7 @@ const u = o({
21
21
  const t = a, c = k("check-tag"), n = s(() => [c.b(), c.is("checked", e.checked)]), m = () => {
22
22
  t(h, !e.checked), t("update:checked", !e.checked);
23
23
  };
24
- return (r, f) => (p(), i("span", {
24
+ return (r, f) => (i(), p("span", {
25
25
  class: l(n.value),
26
26
  onClick: m
27
27
  }, [
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, useSlots as z, inject as D, computed as f, createElementBlock as d, openBlock as r, normalizeClass as b, withDirectives as x, createCommentVNode as k, unref as t, isRef as y, vModelCheckbox as C, normalizeStyle as F, createTextVNode as V, renderSlot as j, toDisplayString as p } from "vue";
1
+ import { defineComponent as B, useSlots as z, inject as D, computed as f, openBlock as d, createElementBlock as r, normalizeClass as b, withDirectives as x, unref as t, isRef as k, vModelCheckbox as y, normalizeStyle as F, createTextVNode as C, toDisplayString as V, renderSlot as j, createCommentVNode as p } from "vue";
2
2
  import "@vueuse/core";
3
3
  import "@vft/utils";
4
4
  import "../config-provider/hooks/use-global-config.js";
@@ -55,12 +55,12 @@ const K = ["name", "tabindex", "disabled", "true-value", "false-value"], U = ["n
55
55
  a.is("checked", v.value),
56
56
  a.is("focus", i.value)
57
57
  ]);
58
- return (n, e) => (r(), d("label", {
58
+ return (n, e) => (d(), r("label", {
59
59
  class: b(N.value)
60
60
  }, [
61
- l.trueValue || l.falseValue ? x((r(), d("input", {
61
+ l.trueValue || l.falseValue ? x((d(), r("input", {
62
62
  key: 0,
63
- "onUpdate:modelValue": e[0] || (e[0] = (o) => y(u) ? u.value = o : null),
63
+ "onUpdate:modelValue": e[0] || (e[0] = (o) => k(u) ? u.value = o : null),
64
64
  class: b(t(a).be("button", "original")),
65
65
  type: "checkbox",
66
66
  name: l.name,
@@ -73,10 +73,10 @@ const K = ["name", "tabindex", "disabled", "true-value", "false-value"], U = ["n
73
73
  onFocus: e[2] || (e[2] = (o) => i.value = !0),
74
74
  onBlur: e[3] || (e[3] = (o) => i.value = !1)
75
75
  }, null, 42, K)), [
76
- [C, t(u)]
77
- ]) : x((r(), d("input", {
76
+ [y, t(u)]
77
+ ]) : x((d(), r("input", {
78
78
  key: 1,
79
- "onUpdate:modelValue": e[4] || (e[4] = (o) => y(u) ? u.value = o : null),
79
+ "onUpdate:modelValue": e[4] || (e[4] = (o) => k(u) ? u.value = o : null),
80
80
  class: b(t(a).be("button", "original")),
81
81
  type: "checkbox",
82
82
  name: l.name,
@@ -88,18 +88,18 @@ const K = ["name", "tabindex", "disabled", "true-value", "false-value"], U = ["n
88
88
  onFocus: e[6] || (e[6] = (o) => i.value = !0),
89
89
  onBlur: e[7] || (e[7] = (o) => i.value = !1)
90
90
  }, null, 42, U)), [
91
- [C, t(u)]
91
+ [y, t(u)]
92
92
  ]),
93
- n.$slots.default || l.value || l.label ? (r(), d("span", {
93
+ n.$slots.default || l.value || l.label ? (d(), r("span", {
94
94
  key: 2,
95
95
  class: b(t(a).be("button", "inner")),
96
96
  style: F(t(v) ? h.value : void 0)
97
97
  }, [
98
- V(p(l.label) + " ", 1),
99
- l.label ? k("", !0) : j(n.$slots, "default", { key: 0 }, () => [
100
- V(p(l.value), 1)
98
+ C(V(l.label) + " ", 1),
99
+ l.label ? p("", !0) : j(n.$slots, "default", { key: 0 }, () => [
100
+ C(V(l.value), 1)
101
101
  ])
102
- ], 6)) : k("", !0)
102
+ ], 6)) : p("", !0)
103
103
  ], 2));
104
104
  }
105
105
  });
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, computed as x, provide as h, toRefs as k, watch as g, createBlock as m, openBlock as n, resolveDynamicComponent as u, unref as l, normalizeClass as y, withCtx as E, createElementBlock as I, renderSlot as B, Fragment as C, renderList as V, nextTick as z } from "vue";
1
+ import { defineComponent as c, computed as x, provide as h, toRefs as k, watch as g, openBlock as n, createBlock as m, resolveDynamicComponent as u, unref as l, normalizeClass as y, withCtx as E, createElementBlock as I, Fragment as B, renderList as C, renderSlot as V, nextTick as z } from "vue";
2
2
  import "../form/index.js";
3
3
  import { UPDATE_MODEL_EVENT as F } from "../../constants/event.js";
4
4
  import "@vueuse/core";
@@ -71,7 +71,7 @@ const A = c({
71
71
  "aria-labelledby": l(d) ? l(r)?.labelId : void 0
72
72
  }, {
73
73
  default: E(() => [
74
- a.options ? (n(!0), I(C, { key: 0 }, V(a.options, (e) => (n(), m(u(a.useButton ? T : L), {
74
+ a.options ? (n(!0), I(B, { key: 0 }, C(a.options, (e) => (n(), m(u(a.useButton ? T : L), {
75
75
  value: e.value,
76
76
  label: e.label,
77
77
  indeterminate: e.indeterminate,
@@ -87,7 +87,7 @@ const A = c({
87
87
  tabindex: e.tabindex,
88
88
  "validate-event": e.validateEvent,
89
89
  key: e.value
90
- }, null, 8, ["value", "label", "indeterminate", "disabled", "checked", "name", "true-value", "false-value", "id", "controls", "border", "size", "tabindex", "validate-event"]))), 128)) : B(t.$slots, "default", { key: 1 })
90
+ }, null, 8, ["value", "label", "indeterminate", "disabled", "checked", "name", "true-value", "false-value", "id", "controls", "border", "size", "tabindex", "validate-event"]))), 128)) : V(t.$slots, "default", { key: 1 })
91
91
  ]),
92
92
  _: 3
93
93
  }, 8, ["id", "class", "aria-label", "aria-labelledby"]));
@@ -1,4 +1,4 @@
1
- import { defineComponent as S, useSlots as I, computed as y, createBlock as K, openBlock as o, resolveDynamicComponent as L, unref as a, normalizeClass as d, withCtx as O, createElementVNode as h, createElementBlock as s, createCommentVNode as c, withDirectives as C, isRef as B, vModelCheckbox as V, createTextVNode as g, toDisplayString as p, Fragment as N, renderSlot as R } from "vue";
1
+ import { defineComponent as S, useSlots as I, computed as y, openBlock as o, createBlock as K, resolveDynamicComponent as L, unref as a, normalizeClass as d, withCtx as O, createElementVNode as h, withDirectives as C, createElementBlock as s, isRef as B, vModelCheckbox as V, createTextVNode as g, toDisplayString as p, Fragment as N, renderSlot as R, createCommentVNode as c } 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 M, ref as v, reactive as N, computed as u, watch as s, nextTick as E, onUnmounted as V, onMounted as q, createElementBlock as D, openBlock as G, normalizeStyle as I, createElementVNode as w, renderSlot as B } from "vue";
1
+ import { defineComponent as M, ref as v, reactive as N, computed as u, watch as s, nextTick as E, onUnmounted as V, onMounted as q, openBlock as D, createElementBlock as G, normalizeStyle as I, createElementVNode as w, renderSlot as B } from "vue";
2
2
  import "@vueuse/core";
3
3
  import { addListener as J, removeListener as K } from "@vft/utils";
4
4
  import { addUnit as P } from "../../utils/helper.js";
@@ -116,7 +116,7 @@ const Q = ["title", "aria-label"], W = M({
116
116
  k();
117
117
  }), T({
118
118
  isClamped: n
119
- }), (t, i) => (G(), D("div", {
119
+ }), (t, i) => (D(), G("div", {
120
120
  ref_key: "textClampRef",
121
121
  ref: a,
122
122
  class: "text-clamp",
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, computed as t, createBlock as f, openBlock as i, unref as n, normalizeStyle as x, withCtx as d, createElementBlock as p, createCommentVNode as z, normalizeClass as C, toDisplayString as h } from "vue";
1
+ import { defineComponent as m, computed as t, openBlock as i, createBlock as f, unref as n, normalizeStyle as x, withCtx as d, createElementBlock as p, normalizeClass as z, toDisplayString as C, createCommentVNode as h } from "vue";
2
2
  import { VftClamp as y } from "../clamp/index.js";
3
3
  import "@vueuse/core";
4
4
  import "@vft/utils";
@@ -10,7 +10,7 @@ import { useNamespace as v } from "../../hooks/use-namespace/index.js";
10
10
  import "../../hooks/use-model-toggle/index.js";
11
11
  import "@popperjs/core";
12
12
  import "../../hooks/use-z-index/index.js";
13
- import { useLocale as k } from "../../locale/use-locale.js";
13
+ import k from "../../locale/use-locale.js";
14
14
  const B = ["onClick"], S = m({
15
15
  name: "vft-clamp-toggle"
16
16
  }), J = /* @__PURE__ */ m({
@@ -50,9 +50,9 @@ const B = ["onClick"], S = m({
50
50
  after: d(({ toggle: g, expanded: a, clamped: u }) => [
51
51
  a || u ? (i(), p("span", {
52
52
  key: 0,
53
- class: C(["cursor-pointer", [n(s).e("more")]]),
53
+ class: z(["cursor-pointer", [n(s).e("more")]]),
54
54
  onClick: g
55
- }, h(a ? l.value[1] : l.value[0]), 11, B)) : z("", !0)
55
+ }, C(a ? l.value[1] : l.value[0]), 11, B)) : h("", !0)
56
56
  ]),
57
57
  _: 1
58
58
  }, 8, ["style", "text", "max-height", "max-lines", "expanded", "location", "ellipsis", "auto-resize"]));
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, ref as s, createElementBlock as u, openBlock as o, Fragment as d, createVNode as l, createBlock as p, unref as e, withCtx as m, mergeProps as r } from "vue";
1
+ import { defineComponent as c, ref as s, openBlock as o, createElementBlock as u, Fragment as d, createVNode as l, unref as e, withCtx as p, mergeProps as m, createBlock as r } from "vue";
2
2
  import { createReusableTemplate as x } from "@vueuse/core";
3
3
  import { VftClamp as k } from "../clamp/index.js";
4
4
  import { VftTooltip as y } from "../tooltip/index.js";
@@ -19,24 +19,24 @@ const R = /* @__PURE__ */ c({
19
19
  const a = s(), [i, n] = x();
20
20
  return (f, B) => (o(), u(d, null, [
21
21
  l(e(i), null, {
22
- default: m(() => [
23
- l(e(k), r({
22
+ default: p(() => [
23
+ l(e(k), m({
24
24
  ref_key: "clampRef",
25
25
  ref: a
26
26
  }, f.$props), null, 16)
27
27
  ]),
28
28
  _: 1
29
29
  }),
30
- t.showTooltip ? (o(), p(e(y), r({
30
+ t.showTooltip ? (o(), r(e(y), m({
31
31
  key: 0,
32
32
  disabled: !a.value?.isClamped,
33
33
  content: t.text
34
34
  }, t.tooltipCfg), {
35
- default: m(() => [
35
+ default: p(() => [
36
36
  l(e(n))
37
37
  ]),
38
38
  _: 1
39
- }, 16, ["disabled", "content"])) : (o(), p(e(n), { key: 1 }))
39
+ }, 16, ["disabled", "content"])) : (o(), r(e(n), { key: 1 }))
40
40
  ], 64));
41
41
  }
42
42
  });
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, inject as d, computed as n, createBlock as h, openBlock as $, resolveDynamicComponent as g, normalizeStyle as b, normalizeClass as v, withCtx as x, renderSlot as y } from "vue";
1
+ import { defineComponent as f, inject as d, computed as n, openBlock as h, createBlock as $, resolveDynamicComponent as g, normalizeStyle as b, normalizeClass as v, withCtx as x, renderSlot as y } from "vue";
2
2
  import "../row/index.js";
3
3
  import "@vueuse/core";
4
4
  import { isNumber as r, isObject as _ } from "@vft/utils";
@@ -46,7 +46,7 @@ const j = f({
46
46
  );
47
47
  }), a.value && t.push(o.is("guttered")), e.className && t.push(e.className), [o.b(), t];
48
48
  });
49
- return (t, p) => ($(), h(g(c.tag), {
49
+ return (t, p) => (h(), $(g(c.tag), {
50
50
  class: v(i.value),
51
51
  style: b(m.value)
52
52
  }, {
@@ -1,4 +1,4 @@
1
- import { defineComponent as C, createElementBlock as g, openBlock as x, normalizeClass as l, unref as e, createElementVNode as a, createVNode as b, withKeys as A, withModifiers as B, renderSlot as r, createTextVNode as D, toDisplayString as E, withCtx as N, withDirectives as S, vShow as T } from "vue";
1
+ import { defineComponent as C, openBlock as g, createElementBlock as x, normalizeClass as l, unref as e, createElementVNode as a, withKeys as A, withModifiers as B, renderSlot as r, createTextVNode as D, toDisplayString as E, createVNode as b, withCtx as N, withDirectives as S, vShow as T } from "vue";
2
2
  import { VftCollapseTransition as F } from "../collapse-transition/index.js";
3
3
  import { VftIcon as H } from "../icon/index.js";
4
4
  import { collapseItemProps as M } from "./collapse-item.js";
@@ -29,7 +29,7 @@ const P = ["id", "aria-expanded", "aria-controls", "aria-describedby", "tabindex
29
29
  return K({
30
30
  /** @description current collapse-item whether active */
31
31
  isActive: s
32
- }), (t, o) => (x(), g("div", {
32
+ }), (t, o) => (g(), x("div", {
33
33
  class: l(e(h))
34
34
  }, [
35
35
  a("div", {