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
@@ -566,6 +566,7 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
566
566
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
567
567
  $slots: {
568
568
  default?(_: {}): any;
569
+ footer?(_: {}): any;
569
570
  };
570
571
  })> & Record<string, any>;
571
572
  export * from './types';
@@ -1,4 +1,4 @@
1
- import { defineComponent as w, computed as e, createBlock as n, openBlock as s, unref as o, normalizeProps as v, guardReactiveProps as y, withCtx as a, createCommentVNode as l, renderSlot as p, mergeProps as f, createTextVNode as B, toDisplayString as b } from "vue";
1
+ import { defineComponent as w, computed as e, openBlock as n, createBlock as s, unref as o, normalizeProps as v, guardReactiveProps as y, withCtx as a, mergeProps as l, createTextVNode as p, toDisplayString as f, createCommentVNode as B, renderSlot as b } from "vue";
2
2
  import { VftRow as g } from "../row/index.js";
3
3
  import { VftButton as d } from "../button/index.js";
4
4
  import "@vueuse/core";
@@ -10,7 +10,7 @@ import { useNamespace as h } 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 x } from "../../locale/use-locale.js";
13
+ import x from "../../locale/use-locale.js";
14
14
  const q = /* @__PURE__ */ w({
15
15
  __name: "modal-footer-action",
16
16
  props: {
@@ -29,28 +29,28 @@ const q = /* @__PURE__ */ w({
29
29
  ), c = e(
30
30
  () => Object.assign({ btnText: r("vft.modal.cancel") }, t.cancelButtonOptions)
31
31
  );
32
- return (u, C) => (s(), n(o(g), v(y(O.value)), {
32
+ return (u, C) => (n(), s(o(g), v(y(O.value)), {
33
33
  default: a(() => [
34
- t.showCancelButton ? (s(), n(o(d), f({ key: 0 }, c.value, {
34
+ t.showCancelButton ? (n(), s(o(d), l({ key: 0 }, c.value, {
35
35
  class: o(i).e("cancel")
36
36
  }), {
37
37
  default: a(() => [
38
- B(b(c.value.btnText), 1)
38
+ p(f(c.value.btnText), 1)
39
39
  ]),
40
40
  _: 1
41
- }, 16, ["class"])) : l("", !0),
42
- p(u.$slots, "submitBefore"),
43
- t.showSubmitButton ? (s(), n(o(d), f({
41
+ }, 16, ["class"])) : B("", !0),
42
+ b(u.$slots, "submitBefore"),
43
+ t.showSubmitButton ? (n(), s(o(d), l({
44
44
  key: 1,
45
45
  type: "primary",
46
46
  class: o(i).e("submit")
47
47
  }, m.value), {
48
48
  default: a(() => [
49
- B(b(m.value.btnText), 1)
49
+ p(f(m.value.btnText), 1)
50
50
  ]),
51
51
  _: 1
52
- }, 16, ["class"])) : l("", !0),
53
- p(u.$slots, "submitAfter")
52
+ }, 16, ["class"])) : B("", !0),
53
+ b(u.$slots, "submitAfter")
54
54
  ]),
55
55
  _: 3
56
56
  }, 16));
@@ -1,6 +1,7 @@
1
1
  import type { ModalActionProps, ModalMethods, ModalProps } from './types';
2
2
  declare function __VLS_template(): {
3
3
  default?(_: {}): any;
4
+ footer?(_: {}): any;
4
5
  };
5
6
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModalProps & ModalActionProps>, {
6
7
  center: boolean;
@@ -1,8 +1,8 @@
1
- import { defineComponent as k, useAttrs as A, ref as m, getCurrentInstance as $, computed as c, unref as l, watchEffect as M, watch as P, nextTick as B, createBlock as y, openBlock as C, mergeProps as T, createSlots as R, withCtx as g, renderSlot as S, createCommentVNode as x } from "vue";
2
- import { VftDialog as D } from "../dialog/index.js";
3
- import { deepMerge as G, isFunction as I } from "@vft/utils";
1
+ import { defineComponent as A, useAttrs as $, ref as m, getCurrentInstance as M, computed as d, unref as l, watchEffect as P, watch as T, nextTick as B, openBlock as y, createBlock as C, mergeProps as R, createSlots as S, withCtx as g, renderSlot as w, createCommentVNode as D } from "vue";
2
+ import { VftDialog as G } from "../dialog/index.js";
3
+ import { deepMerge as I, isFunction as x } from "@vft/utils";
4
4
  import E from "./modal-footer-action.vue2.js";
5
- const W = /* @__PURE__ */ k({
5
+ const W = /* @__PURE__ */ A({
6
6
  __name: "modal",
7
7
  props: {
8
8
  closeFunc: {},
@@ -47,8 +47,8 @@ const W = /* @__PURE__ */ k({
47
47
  actionRowOptions: {}
48
48
  },
49
49
  emits: ["visible-change", "close", "ok", "register", "update:modelValue", "submit", "open", "opened", "closed", "openAutoFocus", "closeAutoFocus"],
50
- setup(s, { emit: w }) {
51
- const n = s, t = w, h = A(), d = m(null), a = m(!1), u = m(null), f = {
50
+ setup(s, { emit: h }) {
51
+ const n = s, t = h, V = $(), c = m(null), a = m(!1), u = m(null), f = {
52
52
  setModalProps: p,
53
53
  emitVisible: void 0,
54
54
  redoModalHeight: () => {
@@ -56,19 +56,19 @@ const W = /* @__PURE__ */ k({
56
56
  l(u) && l(u).setModalHeight();
57
57
  });
58
58
  }
59
- }, i = $();
59
+ }, i = M();
60
60
  i && t("register", f, i.uid);
61
- const V = c(() => ({
61
+ const v = d(() => ({
62
62
  ...n,
63
- ...l(d)
64
- })), v = c(() => ({
65
- ...h,
66
- ...l(V),
63
+ ...l(c)
64
+ })), O = d(() => ({
65
+ ...V,
66
+ ...l(v),
67
67
  modelValue: l(a)
68
68
  }));
69
- M(() => {
69
+ P(() => {
70
70
  a.value = !!n.modelValue;
71
- }), P(
71
+ }), T(
72
72
  () => l(a),
73
73
  (e) => {
74
74
  t("visible-change", e), t("update:modelValue", e), i && f.emitVisible && B(() => {
@@ -82,45 +82,47 @@ const W = /* @__PURE__ */ k({
82
82
  }
83
83
  );
84
84
  async function b(e) {
85
- if (e?.stopPropagation(), n.closeFunc && I(n.closeFunc)) {
85
+ if (e?.stopPropagation(), n.closeFunc && x(n.closeFunc)) {
86
86
  await n.closeFunc() || p({ modelValue: !1 });
87
87
  return;
88
88
  }
89
89
  p({ modelValue: !1 }), t("close", e);
90
90
  }
91
91
  function p(e) {
92
- d.value = G(l(d) || {}, e), Reflect.has(e, "modelValue") && (a.value = !!e.modelValue);
92
+ c.value = I(l(c) || {}, e), Reflect.has(e, "modelValue") && (a.value = !!e.modelValue);
93
93
  }
94
- const O = c(() => ({
94
+ const F = d(() => ({
95
95
  onClick: (e) => b(e),
96
96
  ...n.cancelButtonOptions
97
- })), F = c(() => ({
97
+ })), k = d(() => ({
98
98
  onClick: () => t("submit"),
99
99
  ...n.submitButtonOptions
100
100
  }));
101
- return (e, o) => (C(), y(l(D), T(v.value, {
101
+ return (e, o) => (y(), C(l(G), R(O.value, {
102
102
  onClose: b,
103
103
  onOpen: o[0] || (o[0] = (r) => t("open")),
104
104
  onOpened: o[1] || (o[1] = (r) => t("opened")),
105
105
  onClosed: o[2] || (o[2] = (r) => t("closed")),
106
106
  onOpenAutoFocus: o[3] || (o[3] = (r) => t("openAutoFocus")),
107
107
  onCloseAutoFocus: o[4] || (o[4] = (r) => t("closeAutoFocus"))
108
- }), R({
108
+ }), S({
109
109
  default: g(() => [
110
- S(e.$slots, "default")
110
+ w(e.$slots, "default")
111
111
  ]),
112
112
  _: 2
113
113
  }, [
114
114
  e.$slots.footer || s.showActionButtonGroup ? {
115
115
  name: "footer",
116
116
  fn: g(() => [
117
- s.showActionButtonGroup ? (C(), y(E, {
118
- key: 0,
119
- "show-cancel-button": s.showCancelButton,
120
- "show-submit-button": s.showSubmitButton,
121
- "cancel-button-options": O.value,
122
- "submit-button-options": F.value
123
- }, null, 8, ["show-cancel-button", "show-submit-button", "cancel-button-options", "submit-button-options"])) : x("", !0)
117
+ w(e.$slots, "footer", {}, () => [
118
+ s.showActionButtonGroup ? (y(), C(E, {
119
+ key: 0,
120
+ "show-cancel-button": s.showCancelButton,
121
+ "show-submit-button": s.showSubmitButton,
122
+ "cancel-button-options": F.value,
123
+ "submit-button-options": k.value
124
+ }, null, 8, ["show-cancel-button", "show-submit-button", "cancel-button-options", "submit-button-options"])) : D("", !0)
125
+ ])
124
126
  ]),
125
127
  key: "0"
126
128
  } : void 0
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, getCurrentInstance as q, computed as d, ref as v, watchEffect as G, unref as t, onMounted as J, createElementBlock as P, openBlock as g, normalizeStyle as O, normalizeClass as V, createVNode as h, createSlots as Q, withCtx as T, Fragment as X, renderList as Y, createBlock as Z, renderSlot as ee, createElementVNode as te } from "vue";
1
+ import { defineComponent as B, getCurrentInstance as q, computed as d, ref as v, watchEffect as G, unref as t, onMounted as J, openBlock as g, createElementBlock as P, normalizeStyle as O, normalizeClass as V, createVNode as h, createSlots as Q, withCtx as T, Fragment as X, renderList as Y, createBlock as Z, renderSlot as ee, createElementVNode as te } from "vue";
2
2
  import { VftTabs as ae, VftTabPane as ne } from "../tabs/index.js";
3
3
  import { VftIcon as w } from "../icon/index.js";
4
4
  import { isClient as oe } from "@vueuse/core";
@@ -1,4 +1,4 @@
1
- import { defineComponent as r, computed as i, createBlock as f, openBlock as s, unref as x, withModifiers as b } from "vue";
1
+ import { defineComponent as r, computed as i, openBlock as f, createBlock as s, unref as x, withModifiers as b } from "vue";
2
2
  import { singleAttrToObj as p } from "@vft/utils";
3
3
  import "../context-menu/context-menu.vue2.js";
4
4
  import "../icon/index.js";
@@ -29,7 +29,7 @@ const N = /* @__PURE__ */ r({
29
29
  }
30
30
  return m({
31
31
  handleContext: o
32
- }), (e, M) => (s(), f(x(d), {
32
+ }), (e, M) => (f(), s(x(d), {
33
33
  class: "vft-multiple-tabs__title",
34
34
  title: n.value,
35
35
  icon: u.value,
@@ -4,7 +4,7 @@ import "@vft/utils";
4
4
  import { reactive as U, computed as q } from "vue";
5
5
  import "../../context-menu/context-menu.vue2.js";
6
6
  import "../../icon/index.js";
7
- import { useLocale as y } from "../../../locale/use-locale.js";
7
+ import y from "../../../locale/use-locale.js";
8
8
  import "vue-router";
9
9
  function H(e, i) {
10
10
  const { t: n } = y(), s = U({
@@ -1,4 +1,4 @@
1
- import { defineComponent as S, ref as W, computed as l, onMounted as Z, createBlock as m, openBlock as r, Transition as A, unref as t, withCtx as F, withDirectives as k, createElementVNode as u, normalizeStyle as h, normalizeClass as s, createCommentVNode as w, toDisplayString as T, renderSlot as G, createElementBlock as M, vShow as E, withModifiers as K } from "vue";
1
+ import { defineComponent as S, ref as W, computed as l, onMounted as Z, openBlock as r, createBlock as m, Transition as A, unref as t, withCtx as F, withDirectives as k, createElementVNode as u, normalizeStyle as h, normalizeClass as s, createCommentVNode as w, toDisplayString as T, renderSlot as G, createElementBlock as M, vShow as E, withModifiers as K } from "vue";
2
2
  import { useEventListener as O, useTimeoutFn as U } from "@vueuse/core";
3
3
  import { EVENT_CODE as p } from "../../constants/aria.js";
4
4
  import "../config-provider/index.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent as i, useSlots as y, createVNode as x, h as r, renderSlot as l } from "vue";
1
+ import { defineComponent as i, useSlots as y, createVNode as x, renderSlot as l, h as r } from "vue";
2
2
  import { noop as u } from "@vft/utils";
3
3
  import "@vueuse/core";
4
4
  import "../config-provider/hooks/use-global-config.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, createElementBlock as n, openBlock as l, normalizeClass as r, unref as e, createElementVNode as o, toDisplayString as m, renderSlot as c } from "vue";
1
+ import { defineComponent as p, openBlock as n, createElementBlock as l, normalizeClass as r, unref as e, createElementVNode as o, toDisplayString as m, renderSlot as c } from "vue";
2
2
  import { useRouterHelper as d } from "@vft/router";
3
3
  import "@vueuse/core";
4
4
  import "@vft/utils";
@@ -18,7 +18,7 @@ const u = p({
18
18
  },
19
19
  setup(s) {
20
20
  const t = f("page-wrapper"), { getTitle: a } = d();
21
- return (i, _) => (l(), n("div", {
21
+ return (i, _) => (n(), l("div", {
22
22
  class: r(e(t).b())
23
23
  }, [
24
24
  o("div", {
@@ -1,54 +1,53 @@
1
- import { defineComponent as v, ref as h, computed as _, createElementBlock as b, openBlock as C, unref as e, normalizeClass as n, createElementVNode as r, createVNode as z, toDisplayString as p } from "vue";
1
+ import { defineComponent as f, ref as g, computed as v, openBlock as h, createElementBlock as _, unref as e, normalizeClass as t, createElementVNode as i, createVNode as b } from "vue";
2
2
  import "@vueuse/core";
3
3
  import "@vft/utils";
4
4
  import "../../config-provider/hooks/use-global-config.js";
5
5
  import "lodash-es";
6
6
  import "../../form/index.js";
7
- import { useNamespace as V } from "../../../hooks/use-namespace/index.js";
7
+ import { useNamespace as z } from "../../../hooks/use-namespace/index.js";
8
8
  import "../../../hooks/use-model-toggle/index.js";
9
9
  import "@popperjs/core";
10
10
  import "../../../hooks/use-z-index/index.js";
11
- import { useLocale as x } from "../../../locale/use-locale.js";
12
- import { VftInput as E } from "../../input/index.js";
13
- import { usePagination as I } from "../usePagination.js";
14
- const N = ["disabled"], G = /* @__PURE__ */ v({
11
+ import { VftInput as C } from "../../input/index.js";
12
+ import { usePagination as V } from "../usePagination.js";
13
+ const x = ["disabled"], D = /* @__PURE__ */ f({
15
14
  __name: "jumper",
16
15
  props: {
17
16
  size: {}
18
17
  },
19
- setup(l) {
20
- const a = V("pagination"), { t: i } = x(), { pageCount: m, disabled: s, currentPage: u, changeEvent: c } = I(), o = h(), d = _(() => o.value ?? u?.value);
21
- function f(t) {
22
- o.value = +t;
18
+ setup(r) {
19
+ const n = z("pagination"), { pageCount: l, disabled: s, currentPage: m, changeEvent: p } = V(), o = g(), u = v(() => o.value ?? m?.value);
20
+ function c(a) {
21
+ o.value = +a;
23
22
  }
24
- function g(t) {
25
- t = Math.trunc(+t), c?.(+t), o.value = void 0;
23
+ function d(a) {
24
+ a = Math.trunc(+a), p?.(+a), o.value = void 0;
26
25
  }
27
- return (t, j) => (C(), b("span", {
28
- class: n(e(a).e("jump")),
26
+ return (a, E) => (h(), _("span", {
27
+ class: t(e(n).e("jump")),
29
28
  disabled: e(s)
30
29
  }, [
31
- r("span", {
32
- class: n([e(a).e("goto")])
33
- }, p(e(i)("vft.pagination.goto")), 3),
34
- z(e(E), {
35
- size: l.size,
36
- class: n([e(a).e("editor"), e(a).is("in-pagination")]),
30
+ i("span", {
31
+ class: t([e(n).e("goto")])
32
+ }, "前往", 2),
33
+ b(e(C), {
34
+ size: r.size,
35
+ class: t([e(n).e("editor"), e(n).is("in-pagination")]),
37
36
  min: 1,
38
- max: e(m),
37
+ max: e(l),
39
38
  disabled: e(s),
40
- "model-value": d.value,
39
+ "model-value": u.value,
41
40
  "validate-event": !1,
42
41
  type: "number",
43
- "onUpdate:modelValue": f,
44
- onChange: g
42
+ "onUpdate:modelValue": c,
43
+ onChange: d
45
44
  }, null, 8, ["size", "class", "max", "disabled", "model-value"]),
46
- r("span", {
47
- class: n([e(a).e("classifier")])
48
- }, p(e(i)("vft.pagination.pageClassifier")), 3)
49
- ], 10, N));
45
+ i("span", {
46
+ class: t([e(n).e("classifier")])
47
+ }, "", 2)
48
+ ], 10, x));
50
49
  }
51
50
  });
52
51
  export {
53
- G as default
52
+ D as default
54
53
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as l, computed as r, createElementBlock as a, openBlock as o, createCommentVNode as c, createVNode as s, toDisplayString as u, unref as m } from "vue";
1
+ import { defineComponent as l, computed as r, openBlock as a, createElementBlock as o, toDisplayString as c, createCommentVNode as s, createVNode as u, unref as m } from "vue";
2
2
  import { VftIcon as b } from "../../icon/index.js";
3
3
  const f = ["disabled", "aria-disabled"], x = { key: 0 }, p = /* @__PURE__ */ l({
4
4
  __name: "next",
@@ -13,15 +13,15 @@ const f = ["disabled", "aria-disabled"], x = { key: 0 }, p = /* @__PURE__ */ l({
13
13
  const t = r(
14
14
  () => e.disabled || e.currentPage === e.pageCount || e.pageCount === 0
15
15
  );
16
- return (i, n) => (o(), a("button", {
16
+ return (i, n) => (a(), o("button", {
17
17
  type: "button",
18
18
  class: "btn-next",
19
19
  disabled: t.value,
20
20
  "aria-disabled": t.value,
21
21
  onClick: n[0] || (n[0] = (d) => i.$emit("click", d))
22
22
  }, [
23
- e.nextText ? (o(), a("span", x, u(e.nextText), 1)) : c("", !0),
24
- s(m(b), {
23
+ e.nextText ? (a(), o("span", x, c(e.nextText), 1)) : s("", !0),
24
+ u(m(b), {
25
25
  icon: "icon-arrow-right",
26
26
  size: 16
27
27
  })
@@ -1,4 +1,4 @@
1
- import { defineComponent as I, ref as f, computed as B, watchEffect as K, createElementBlock as c, openBlock as r, withKeys as V, normalizeClass as d, unref as u, createCommentVNode as m, createBlock as v, Fragment as z, renderList as D, toDisplayString as F } from "vue";
1
+ import { defineComponent as I, ref as f, computed as B, watchEffect as K, openBlock as r, createElementBlock as c, withKeys as V, normalizeClass as d, unref as u, createCommentVNode as m, createBlock as v, Fragment as z, renderList as D, toDisplayString as F } 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 l, computed as d, createElementBlock as o, openBlock as a, createCommentVNode as s, createVNode as m, toDisplayString as u, unref as p } from "vue";
1
+ import { defineComponent as l, computed as d, openBlock as o, createElementBlock as a, toDisplayString as s, createCommentVNode as m, createVNode as u, unref as p } from "vue";
2
2
  import { VftIcon as b } from "../../icon/index.js";
3
3
  const f = ["disabled", "aria-disabled"], v = { key: 0 }, g = /* @__PURE__ */ l({
4
4
  __name: "prev",
@@ -10,15 +10,15 @@ const f = ["disabled", "aria-disabled"], v = { key: 0 }, g = /* @__PURE__ */ l({
10
10
  emits: ["click"],
11
11
  setup(e, { emit: i }) {
12
12
  const r = i, t = d(() => e.disabled || e.currentPage <= 1);
13
- return (k, n) => (a(), o("button", {
13
+ return (k, n) => (o(), a("button", {
14
14
  type: "button",
15
15
  class: "btn-prev",
16
16
  disabled: t.value,
17
17
  "aria-disabled": t.value,
18
18
  onClick: n[0] || (n[0] = (c) => r("click", c))
19
19
  }, [
20
- e.prevText ? (a(), o("span", v, u(e.prevText), 1)) : s("", !0),
21
- m(p(b), {
20
+ e.prevText ? (o(), a("span", v, s(e.prevText), 1)) : m("", !0),
21
+ u(p(b), {
22
22
  icon: "icon-arrow-left",
23
23
  size: 16
24
24
  })
@@ -1,17 +1,16 @@
1
- import { defineComponent as z, ref as d, watch as n, computed as f, createElementBlock as S, openBlock as h, normalizeClass as v, unref as s, createVNode as C } from "vue";
2
- import { isEqual as b } from "lodash-es";
1
+ import { defineComponent as g, ref as z, watch as n, computed as d, openBlock as f, createElementBlock as S, normalizeClass as h, unref as s, createVNode as v } from "vue";
2
+ import { isEqual as C } from "lodash-es";
3
3
  import "@vueuse/core";
4
4
  import "@vft/utils";
5
5
  import "../../config-provider/hooks/use-global-config.js";
6
6
  import "../../form/index.js";
7
- import { useNamespace as P } from "../../../hooks/use-namespace/index.js";
7
+ import { useNamespace as b } from "../../../hooks/use-namespace/index.js";
8
8
  import "../../../hooks/use-model-toggle/index.js";
9
9
  import "@popperjs/core";
10
10
  import "../../../hooks/use-z-index/index.js";
11
- import { useLocale as y } from "../../../locale/use-locale.js";
12
- import { usePagination as B } from "../usePagination.js";
13
- import { VftSelect as N } from "../../select/index.js";
14
- const K = /* @__PURE__ */ z({
11
+ import { usePagination as y } from "../usePagination.js";
12
+ import { VftSelect as B } from "../../select/index.js";
13
+ const I = /* @__PURE__ */ g({
15
14
  __name: "sizes",
16
15
  props: {
17
16
  pageSize: {},
@@ -22,13 +21,13 @@ const K = /* @__PURE__ */ z({
22
21
  },
23
22
  emits: ["page-size-change"],
24
23
  setup(a, { emit: o }) {
25
- const r = o, l = P("pagination"), { t: p } = y(), m = B(), i = d(a.pageSize);
24
+ const l = o, r = b("pagination"), p = y(), i = z(a.pageSize);
26
25
  n(
27
26
  () => a.pageSizes,
28
27
  (e, t) => {
29
- if (!b(e, t) && Array.isArray(e)) {
30
- const g = e.includes(a.pageSize) ? a.pageSize : a.pageSizes[0];
31
- r("page-size-change", g);
28
+ if (!C(e, t) && Array.isArray(e)) {
29
+ const u = e.includes(a.pageSize) ? a.pageSize : a.pageSizes[0];
30
+ l("page-size-change", u);
32
31
  }
33
32
  }
34
33
  ), n(
@@ -37,27 +36,27 @@ const K = /* @__PURE__ */ z({
37
36
  i.value = e;
38
37
  }
39
38
  );
40
- const c = f(
41
- () => a.pageSizes.map((e) => ({ label: e + p("vft.pagination.itemsPerPage"), value: e }))
39
+ const m = d(
40
+ () => a.pageSizes.map((e) => ({ label: e + "条/页", value: e }))
42
41
  );
43
- function u(e) {
44
- e !== i.value && (i.value = e, m.handleSizeChange?.(Number(e)));
42
+ function c(e) {
43
+ e !== i.value && (i.value = e, p.handleSizeChange?.(Number(e)));
45
44
  }
46
- return (e, t) => (h(), S("span", {
47
- class: v(s(l).e("sizes"))
45
+ return (e, t) => (f(), S("span", {
46
+ class: h(s(r).e("sizes"))
48
47
  }, [
49
- C(s(N), {
48
+ v(s(B), {
50
49
  "model-value": i.value,
51
50
  disabled: a.disabled,
52
51
  "popper-class": a.popperClass,
53
52
  size: a.size,
54
53
  "validate-event": !1,
55
- onChange: u,
56
- options: c.value
54
+ onChange: c,
55
+ options: m.value
57
56
  }, null, 8, ["model-value", "disabled", "popper-class", "size", "options"])
58
57
  ], 2));
59
58
  }
60
59
  });
61
60
  export {
62
- K as default
61
+ I as default
63
62
  };
@@ -1,28 +1,27 @@
1
- import { defineComponent as r, createElementBlock as n, openBlock as s, unref as t, normalizeClass as p, toDisplayString as m } from "vue";
1
+ import { defineComponent as i, openBlock as r, createElementBlock as n, unref as t, normalizeClass as s, toDisplayString as p } from "vue";
2
2
  import "@vueuse/core";
3
3
  import "@vft/utils";
4
4
  import "../../config-provider/hooks/use-global-config.js";
5
5
  import "lodash-es";
6
6
  import "../../form/index.js";
7
- import { useNamespace as l } from "../../../hooks/use-namespace/index.js";
7
+ import { useNamespace as m } from "../../../hooks/use-namespace/index.js";
8
8
  import "../../../hooks/use-model-toggle/index.js";
9
9
  import "@popperjs/core";
10
10
  import "../../../hooks/use-z-index/index.js";
11
- import { useLocale as c } from "../../../locale/use-locale.js";
12
- import { usePagination as d } from "../usePagination.js";
13
- const f = ["disabled"], L = /* @__PURE__ */ r({
11
+ import { usePagination as l } from "../usePagination.js";
12
+ const c = ["disabled"], D = /* @__PURE__ */ i({
14
13
  __name: "total",
15
14
  props: {
16
15
  total: { default: 0 }
17
16
  },
18
17
  setup(o) {
19
- const a = l("pagination"), { t: e } = c(), { disabled: i } = d();
20
- return (u, _) => (s(), n("span", {
21
- class: p(t(a).e("total")),
22
- disabled: t(i)
23
- }, m(t(e)("vft.pagination.total", { total: o.total })), 11, f));
18
+ const e = m("pagination"), { disabled: a } = l();
19
+ return (d, f) => (r(), n("span", {
20
+ class: s(t(e).e("total")),
21
+ disabled: t(a)
22
+ }, "" + p(o.total) + " 条", 11, c));
24
23
  }
25
24
  });
26
25
  export {
27
- L as default
26
+ D as default
28
27
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as v, ref as w, computed as r, createBlock as y, openBlock as B, unref as t, mergeProps as $, withCtx as c, renderSlot as b, createCommentVNode as T, createElementVNode as a, normalizeClass as l, createTextVNode as f, normalizeStyle as I, toDisplayString as m, createVNode as x } from "vue";
1
+ import { defineComponent as v, ref as w, computed as r, openBlock as y, createBlock as B, unref as t, mergeProps as $, withCtx as c, renderSlot as b, createCommentVNode as T, createElementVNode as a, normalizeClass as l, normalizeStyle as I, createTextVNode as f, toDisplayString as m, createVNode as x } from "vue";
2
2
  import "@vueuse/core";
3
3
  import "@vft/utils";
4
4
  import { addUnit as P } from "../../utils/helper.js";
@@ -11,7 +11,7 @@ import { useNamespace as R } from "../../hooks/use-namespace/index.js";
11
11
  import "../../hooks/use-model-toggle/index.js";
12
12
  import "@popperjs/core";
13
13
  import "../../hooks/use-z-index/index.js";
14
- import { useLocale as q } from "../../locale/use-locale.js";
14
+ import q from "../../locale/use-locale.js";
15
15
  const D = v({
16
16
  name: "VftPopconfirm"
17
17
  }), Z = /* @__PURE__ */ v({
@@ -43,7 +43,7 @@ const D = v({
43
43
  }, z = r(
44
44
  () => i.confirmButtonText || u("vft.popconfirm.confirm")
45
45
  ), N = r(() => i.cancelButtonText || u("vft.popconfirm.cancel"));
46
- return (o, E) => (B(), y(t(A), $({
46
+ return (o, E) => (y(), B(t(A), $({
47
47
  ref_key: "tooltipRef",
48
48
  ref: p,
49
49
  trigger: "click",
@@ -63,7 +63,7 @@ const D = v({
63
63
  a("div", {
64
64
  class: l(t(n).e("main"))
65
65
  }, [
66
- !e.hideIcon && e.icon ? (B(), y(t(S), {
66
+ !e.hideIcon && e.icon ? (y(), B(t(S), {
67
67
  key: 0,
68
68
  icon: e.icon,
69
69
  size: 20,
@@ -1,4 +1,4 @@
1
- import { defineComponent as u, computed as o, ref as S, unref as l, createBlock as x, openBlock as f, mergeProps as R, withCtx as s, renderSlot as d, createCommentVNode as p, createElementBlock as T, normalizeClass as U, toDisplayString as c, createTextVNode as V } from "vue";
1
+ import { defineComponent as u, computed as o, ref as S, unref as l, openBlock as f, createBlock as x, mergeProps as R, withCtx as s, renderSlot as d, createCommentVNode as p, createElementBlock as T, normalizeClass as U, toDisplayString as c, createTextVNode as V } from "vue";
2
2
  import { VftTooltip as $ } from "../tooltip/index.js";
3
3
  import { EVENT_CODE as i } from "../../constants/aria.js";
4
4
  import "@vueuse/core";
@@ -1,4 +1,4 @@
1
- import { defineComponent as t, inject as m, watch as i, onBeforeUnmount as l, createElementBlock as c, openBlock as _, normalizeStyle as u, normalizeClass as w, unref as o } from "vue";
1
+ import { defineComponent as t, inject as m, watch as i, onBeforeUnmount as l, openBlock as c, createElementBlock as _, normalizeStyle as u, unref as o, normalizeClass as w } from "vue";
2
2
  import "@vueuse/core";
3
3
  import "@vft/utils";
4
4
  import "../config-provider/hooks/use-global-config.js";
@@ -35,7 +35,7 @@ const E = t({
35
35
  * @description Arrow element
36
36
  */
37
37
  arrowRef: r
38
- }), (e, N) => (_(), c("span", {
38
+ }), (e, N) => (c(), _("span", {
39
39
  ref_key: "arrowRef",
40
40
  ref: r,
41
41
  class: w(o(f).e("arrow")),
@@ -1,4 +1,4 @@
1
- import { defineComponent as C, getCurrentInstance as D, inject as J, provide as y, onMounted as U, watch as f, unref as e, onBeforeUnmount as W, createElementBlock as Y, openBlock as Z, mergeProps as G, createVNode as H, withCtx as Q, renderSlot as X } from "vue";
1
+ import { defineComponent as C, getCurrentInstance as D, inject as J, provide as y, onMounted as U, watch as f, unref as e, onBeforeUnmount as W, openBlock as Y, createElementBlock as Z, mergeProps as G, createVNode as H, withCtx as Q, renderSlot as X } from "vue";
2
2
  import _ from "../focus-trap/focus-trap.vue.js";
3
3
  import "../focus-trap/utils.js";
4
4
  import { noop as R, isElement as P } from "@vft/utils";
@@ -120,7 +120,7 @@ const ne = C({
120
120
  * @description content style
121
121
  */
122
122
  contentStyle: c
123
- }), (r, a) => (Z(), Y("div", G({
123
+ }), (r, a) => (Y(), Z("div", G({
124
124
  ref_key: "contentRef",
125
125
  ref: n
126
126
  }, e($), {
@@ -1,4 +1,4 @@
1
- import { defineComponent as g, getCurrentInstance as C, inject as y, computed as s, onMounted as x, watch as l, onBeforeUnmount as E, createBlock as B, createCommentVNode as w, openBlock as A, unref as M, mergeProps as P, withCtx as R, renderSlot as T } from "vue";
1
+ import { defineComponent as g, getCurrentInstance as C, inject as y, computed as s, onMounted as x, watch as l, onBeforeUnmount as E, openBlock as B, createBlock as w, unref as A, mergeProps as M, withCtx as P, renderSlot as R, createCommentVNode as T } from "vue";
2
2
  import { isElement as v } from "@vft/utils";
3
3
  import { OnlyChild as k } from "../slot/only-child.js";
4
4
  import { unrefElement as L } from "@vueuse/core";
@@ -99,14 +99,14 @@ const O = g({
99
99
  * @description trigger element
100
100
  */
101
101
  triggerRef: n
102
- }), (e, d) => o.virtualTriggering ? w("", !0) : (A(), B(M(k), P({ key: 0 }, e.$attrs, {
102
+ }), (e, d) => o.virtualTriggering ? T("", !0) : (B(), w(A(k), M({ key: 0 }, e.$attrs, {
103
103
  "aria-controls": p.value,
104
104
  "aria-describedby": c.value,
105
105
  "aria-expanded": m.value,
106
106
  "aria-haspopup": u.value
107
107
  }), {
108
- default: R(() => [
109
- T(e.$slots, "default")
108
+ default: P(() => [
109
+ R(e.$slots, "default")
110
110
  ]),
111
111
  _: 3
112
112
  }, 16, ["aria-controls", "aria-describedby", "aria-expanded", "aria-haspopup"]));
@@ -1,4 +1,4 @@
1
- import { defineComponent as T, computed as r, createElementBlock as i, openBlock as o, normalizeClass as l, unref as a, createCommentVNode as y, createElementVNode as f, normalizeStyle as c, renderSlot as C, toDisplayString as D, createBlock as A, normalizeProps as L, mergeProps as M } from "vue";
1
+ import { defineComponent as T, computed as r, openBlock as o, createElementBlock as i, normalizeClass as l, unref as a, createElementVNode as f, normalizeStyle as c, renderSlot as C, toDisplayString as D, createCommentVNode as y, createBlock as A, normalizeProps as L, mergeProps as M } from "vue";
2
2
  import { isFunction as E, isString as I } from "@vft/utils";
3
3
  import { VftIcon as O } from "../icon/index.js";
4
4
  import "@vueuse/core";