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,20 +1,19 @@
1
1
  import "../../pagination/index.js";
2
- import { useLocale as et } from "../../../locale/use-locale.js";
3
- import { isFunction as E, isBoolean as at, delObjAttrNotExist as rt, isString as nt, isEmptyObject as it, isNullOrUndefined as M, isObject as k, isNumber as q, isPlainObject as ot } from "@vft/utils";
4
- import { merge as st, get as H } from "lodash-es";
5
- import { ref as B, watchEffect as lt, unref as i, watch as L, computed as ct, onMounted as ut, nextTick as U } from "vue";
6
- import { PageSize as ft } from "../constants.js";
7
- function pt(m, {
8
- tableData: V,
9
- setLoading: O,
2
+ import { isFunction as B, isBoolean as tt, delObjAttrNotExist as et, isString as at, isEmptyObject as rt, isNullOrUndefined as M, isObject as k, isNumber as q, isPlainObject as nt } from "@vft/utils";
3
+ import { merge as it, get as H } from "lodash-es";
4
+ import { ref as O, watchEffect as ot, unref as i, watch as U, computed as st, onMounted as lt, nextTick as V } from "vue";
5
+ import { PageSize as ct } from "../constants.js";
6
+ function ht(m, {
7
+ tableData: W,
8
+ setLoading: P,
10
9
  getPaginationInfo: D,
11
10
  setPagination: h,
12
11
  getGridRef: C
13
- }, P) {
14
- const { t: W } = et(), f = B([]), x = B({});
15
- lt(() => {
16
- V.value = i(f);
17
- }), L(
12
+ }, z) {
13
+ const f = O([]), E = O({});
14
+ ot(() => {
15
+ W.value = i(f);
16
+ }), U(
18
17
  () => i(m).data,
19
18
  () => {
20
19
  const { data: t, api: e } = i(m);
@@ -27,7 +26,7 @@ function pt(m, {
27
26
  function X(t) {
28
27
  h(t), T({});
29
28
  }
30
- const z = ct(() => {
29
+ const x = st(() => {
31
30
  const t = i(f);
32
31
  return !t || t.length === 0 ? i(f) : i(f);
33
32
  });
@@ -42,10 +41,10 @@ function pt(m, {
42
41
  transformParams: w,
43
42
  extraParams: u
44
43
  } = i(m);
45
- if (!(!e || !E(e)))
44
+ if (!(!e || !B(e)))
46
45
  try {
47
- O(!0);
48
- const { pageField: n, sizeField: d, listField: I, totalField: y } = Object.assign(
46
+ P(!0);
47
+ const { pageField: n, sizeField: d, listField: v, totalField: y } = Object.assign(
49
48
  {},
50
49
  {
51
50
  pageField: "page",
@@ -56,28 +55,28 @@ function pt(m, {
56
55
  r
57
56
  );
58
57
  let g = {}, l = t;
59
- const { currentPage: j = 1, pageSize: _ = ft } = i(
58
+ const { currentPage: j = 1, pageSize: _ = ct } = i(
60
59
  D
61
60
  );
62
61
  if (w) {
63
- if (at(s) && !s)
62
+ if (tt(s) && !s)
64
63
  g = {};
65
64
  else {
66
65
  const p = t && t.page || j;
67
66
  g[n] = s?.pageIsZero ? p - 1 : p, g[d] = _;
68
67
  }
69
- if (l = st(t, g), a && E(a)) {
68
+ if (l = it(t, g), a && B(a)) {
70
69
  const p = await a(l);
71
70
  l = { ...l, ...p };
72
71
  }
73
- c && rt(
72
+ c && et(
74
73
  l,
75
- nt(c) ? c === "strict" : !1
74
+ at(c) ? c === "strict" : !1
76
75
  );
77
76
  }
78
- l && !it(l) && !M(u) ? k(l) && k(u) && (l = Object.assign({}, l, u)) : M(u) || (l = u);
77
+ l && !rt(l) && !M(u) ? k(l) && k(u) && (l = Object.assign({}, l, u)) : M(u) || (l = u);
79
78
  const F = await e(l), N = Array.isArray(F);
80
- let b = N ? F : H(F, I);
79
+ let b = N ? F : H(F, v);
81
80
  const S = N ? F.length : H(F, y);
82
81
  if (Number(S)) {
83
82
  const p = Math.ceil(S / _);
@@ -86,26 +85,26 @@ function pt(m, {
86
85
  currentPage: p
87
86
  }), await T(t);
88
87
  }
89
- return o && E(o) && (b = await o(b) || b), f.value = b, x.value = b, h({
88
+ return o && B(o) && (b = await o(b) || b), f.value = b, E.value = b, h({
90
89
  total: S || 0
91
90
  }), t && t.page && h({
92
91
  currentPage: t.page || 1
93
- }), P("fetch-success", {
92
+ }), z("fetch-success", {
94
93
  items: i(b),
95
94
  total: S
96
95
  }), b;
97
96
  } catch (n) {
98
- console.log(n), P("fetch-error", n), f.value = [], h({
97
+ console.log(n), z("fetch-error", n), f.value = [], h({
99
98
  total: 0
100
99
  });
101
100
  } finally {
102
- U(() => {
103
- O(!1);
101
+ V(() => {
102
+ P(!1);
104
103
  });
105
104
  }
106
105
  }
107
- function v() {
108
- return x.value;
106
+ function A() {
107
+ return E.value;
109
108
  }
110
109
  async function Z(t) {
111
110
  return h({
@@ -115,13 +114,13 @@ function pt(m, {
115
114
  async function J(t, e, r) {
116
115
  return f.value[t] && (f.value[t][e] = r), f.value[t];
117
116
  }
118
- function Q(t, e) {
117
+ function L(t, e) {
119
118
  const r = C(), a = r.getRowById(t);
120
119
  if (!a) return;
121
120
  const s = i(m).treeConfig;
122
121
  if (!!s && s?.parentField) {
123
- const w = s.parentField, u = a[w], n = e[w], d = (g) => g == null || g === "" ? null : g, I = d(u), y = d(n);
124
- if (I !== y) {
122
+ const w = s.parentField, u = a[w], n = e[w], d = (g) => g == null || g === "" ? null : g, v = d(u), y = d(n);
123
+ if (v !== y) {
125
124
  if (r.remove(a), y !== null) {
126
125
  const l = r.getRowById(y);
127
126
  l ? r.insertChild(e, l) : r.insert(e);
@@ -133,8 +132,8 @@ function pt(m, {
133
132
  }
134
133
  return r.setRow(a, e), a;
135
134
  }
136
- async function Y(t, e = 0, r) {
137
- const a = ot(t) ? [t] : t, o = a.length, s = i(m), c = C();
135
+ async function Q(t, e = 0, r) {
136
+ const a = nt(t) ? [t] : t, o = a.length, s = i(m), c = C();
138
137
  if (!!s.treeConfig)
139
138
  if (r != null && r !== "") {
140
139
  const n = c.getRowById(r);
@@ -161,41 +160,41 @@ function pt(m, {
161
160
  }
162
161
  return i(f);
163
162
  }
164
- function $(t, e) {
163
+ function Y(t, e) {
165
164
  const r = C(), a = t != null ? Array.isArray(t) ? t : [t] : e != null ? Array.isArray(e) ? e.map((s) => r.getRowById(s)).filter(Boolean) : r.getRowById(e) ? [r.getRowById(e)] : [] : [];
166
165
  if (!a.length) return;
167
166
  r.remove(a);
168
167
  const { total: o } = i(D);
169
168
  q(o) && h({ total: Math.max(0, o - a.length) });
170
169
  }
171
- function A(t) {
170
+ function I(t) {
172
171
  f.value = t;
173
172
  }
174
- function G() {
175
- return z.value;
173
+ function $() {
174
+ return x.value;
176
175
  }
177
- function K(t) {
176
+ function G(t) {
178
177
  const e = String(t).trim().toLowerCase();
179
178
  if (e) {
180
- const r = v?.()?.filter((a) => {
179
+ const r = A?.()?.filter((a) => {
181
180
  for (const o in a)
182
181
  if (String(a[o]).trim().toLowerCase()?.includes(e))
183
182
  return !0;
184
183
  });
185
- A(r);
184
+ I(r);
186
185
  } else
187
- A(v());
186
+ I(A());
188
187
  }
189
- function tt(t) {
188
+ function K(t) {
190
189
  const e = C();
191
- !e || !i(m).treeConfig || U(() => {
190
+ !e || !i(m).treeConfig || V(() => {
192
191
  if (t === void 0 || t === -1) {
193
192
  e.setAllTreeExpand(!0);
194
193
  return;
195
194
  }
196
195
  const o = e.getTableData().tableData;
197
196
  if (!o || o.length === 0) {
198
- console.warn(W("vft.tableError.noDataToExpand"));
197
+ console.warn("没有数据可展开");
199
198
  return;
200
199
  }
201
200
  const s = [], c = (w, u) => {
@@ -208,29 +207,29 @@ function pt(m, {
208
207
  c(o, 1), s.length > 0 && e.setTreeExpand(s, !0);
209
208
  });
210
209
  }
211
- const R = B(!0);
212
- return ut(() => {
210
+ const R = O(!0);
211
+ return lt(() => {
213
212
  i(m).immediate && T(), R.value = !1;
214
- }), L(
213
+ }), U(
215
214
  () => i(m).api,
216
215
  () => {
217
216
  i(m).watchApiFetch && !R.value && i(m).immediate && T();
218
217
  }
219
218
  ), {
220
- setTableData: A,
219
+ setTableData: I,
221
220
  updateTableData: J,
222
- updateTableDataRecord: Q,
223
- insertTableDataRecord: Y,
224
- deleteTableDataRecord: $,
221
+ updateTableDataRecord: L,
222
+ insertTableDataRecord: Q,
223
+ deleteTableDataRecord: Y,
225
224
  reload: Z,
226
225
  handleTableChange: X,
227
- getDataSourceRef: z,
228
- getDataSource: G,
229
- getRawDataSource: v,
230
- tableSearch: K,
231
- expandTreeLevel: tt
226
+ getDataSourceRef: x,
227
+ getDataSource: $,
228
+ getRawDataSource: A,
229
+ tableSearch: G,
230
+ expandTreeLevel: K
232
231
  };
233
232
  }
234
233
  export {
235
- pt as useDataSource
234
+ ht as useDataSource
236
235
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as S, inject as $, ref as f, watch as T, nextTick as k, onBeforeUnmount as C, computed as D, onMounted as E, createElementBlock as O, openBlock as F, normalizeStyle as L, normalizeClass as P, unref as y } from "vue";
1
+ import { defineComponent as S, inject as $, ref as f, watch as T, nextTick as k, onBeforeUnmount as C, computed as D, onMounted as E, openBlock as O, createElementBlock as F, normalizeStyle as L, normalizeClass as P, unref as y } from "vue";
2
2
  import { useResizeObserver as R } from "@vueuse/core";
3
3
  import { capitalize as l } from "@vft/utils";
4
4
  import "../config-provider/hooks/use-global-config.js";
@@ -59,7 +59,7 @@ const Y = /* @__PURE__ */ S({
59
59
  }), x({
60
60
  ref: i,
61
61
  update: a
62
- }), (e, s) => (F(), O("div", {
62
+ }), (e, s) => (O(), F("div", {
63
63
  ref_key: "barRef",
64
64
  ref: i,
65
65
  class: P([y(u).e("active-bar"), y(u).is(B.value), { "is-load": d.value }]),
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, getCurrentInstance as C, useSlots as g, inject as R, ref as i, computed as f, watch as k, reactive as w, onBeforeUnmount as N, onBeforeUpdate as _, withDirectives as $, createCommentVNode as x, unref as n, createElementBlock as z, openBlock as E, normalizeClass as P, renderSlot as S, vShow as I } from "vue";
1
+ import { defineComponent as b, getCurrentInstance as C, useSlots as g, inject as R, ref as i, computed as f, watch as k, reactive as w, onBeforeUnmount as N, onBeforeUpdate as _, unref as n, withDirectives as $, openBlock as x, createElementBlock as z, normalizeClass as E, renderSlot as P, vShow as S, createCommentVNode as I } from "vue";
2
2
  import { eagerComputed as v } from "@vueuse/core";
3
3
  import "@vft/utils";
4
4
  import { throwError as U } from "../../utils/error.js";
@@ -48,20 +48,20 @@ const D = ["id", "aria-hidden", "aria-labelledby"], F = b({
48
48
  e.unregisterPane(p);
49
49
  }), _(() => {
50
50
  u.label && e.nav$.value?.scheduleRender();
51
- }), (l, K) => n(y) ? $((E(), z("div", {
51
+ }), (l, K) => n(y) ? $((x(), z("div", {
52
52
  key: 0,
53
53
  id: `pane-${s.value}`,
54
54
  ref_key: "paneRef",
55
55
  ref: m,
56
- class: P(n(c).b()),
56
+ class: E(n(c).b()),
57
57
  role: "tabpanel",
58
58
  "aria-hidden": !n(t),
59
59
  "aria-labelledby": `tab-${s.value}`
60
60
  }, [
61
- S(l.$slots, "default")
61
+ P(l.$slots, "default")
62
62
  ], 10, D)), [
63
- [I, n(t)]
64
- ]) : x("", !0);
63
+ [S, n(t)]
64
+ ]) : I("", !0);
65
65
  }
66
66
  });
67
67
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as l, renderSlot as o, createBlock as a, openBlock as r, Teleport as n } from "vue";
1
+ import { defineComponent as l, renderSlot as o, openBlock as a, createBlock as r, Teleport as n } from "vue";
2
2
  const f = /* @__PURE__ */ l({
3
3
  __name: "teleport",
4
4
  props: {
@@ -6,7 +6,7 @@ const f = /* @__PURE__ */ l({
6
6
  to: {}
7
7
  },
8
8
  setup(e) {
9
- return (t, s) => e.disabled ? o(t.$slots, "default", { key: 0 }) : (r(), a(n, {
9
+ return (t, s) => e.disabled ? o(t.$slots, "default", { key: 0 }) : (a(), r(n, {
10
10
  key: 1,
11
11
  to: e.to
12
12
  }, [
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, ref as u, computed as $, createElementBlock as M, openBlock as T, normalizeStyle as w, normalizeClass as z, unref as o, renderSlot as t, createElementVNode as d, mergeProps as i } from "vue";
1
+ import { defineComponent as m, ref as u, computed as $, openBlock as M, createElementBlock as T, normalizeStyle as w, normalizeClass as z, unref as o, renderSlot as t, createElementVNode as d, mergeProps as i } from "vue";
2
2
  import { useAttrs as A } from "../../../hooks/use-attrs/index.js";
3
3
  import "@vueuse/core";
4
4
  import "@vft/utils";
@@ -56,7 +56,7 @@ const N = ["id", "name", "placeholder", "value", "disabled"], D = ["id", "name",
56
56
  blur: () => {
57
57
  s.value?.blur(), l.value?.blur();
58
58
  }
59
- }), (e, G) => (T(), M("div", {
59
+ }), (e, G) => (M(), T("div", {
60
60
  ref_key: "wrapperRef",
61
61
  ref: v,
62
62
  class: z([o(b).is("active", o(C)), e.$attrs.class]),
@@ -1,4 +1,4 @@
1
- import { defineComponent as ge, ref as f, useAttrs as Ge, inject as Qe, computed as s, watch as Xe, nextTick as H, unref as n, onBeforeUnmount as Ze, provide as _e, createBlock as h, openBlock as g, mergeProps as xe, withCtx as y, renderSlot as se, withModifiers as T, normalizeStyle as ie, normalizeClass as b, createCommentVNode as B, createElementVNode as ea, toDisplayString as aa } from "vue";
1
+ import { defineComponent as ge, ref as f, useAttrs as Ge, inject as Qe, computed as s, watch as Xe, nextTick as H, unref as n, onBeforeUnmount as Ze, provide as _e, openBlock as h, createBlock as g, mergeProps as xe, withCtx as y, renderSlot as se, withModifiers as T, normalizeStyle as ie, normalizeClass as b, createCommentVNode as B, createElementVNode as ea, toDisplayString as aa } from "vue";
2
2
  import { isEqual as la } from "lodash-es";
3
3
  import { onClickOutside as oa, unrefElement as na } from "@vueuse/core";
4
4
  import { isArray as V, noop as ce } from "@vft/utils";
@@ -244,7 +244,7 @@ const ma = ge({
244
244
  * @description pick item manually
245
245
  */
246
246
  onPick: x
247
- }), (e, a) => (g(), h(n(sa), xe({
247
+ }), (e, a) => (h(), g(n(sa), xe({
248
248
  ref_key: "refPopper",
249
249
  ref: A,
250
250
  visible: r.value,
@@ -268,7 +268,7 @@ const ma = ge({
268
268
  onHide: ee
269
269
  }), {
270
270
  default: y(() => [
271
- Be.value ? (g(), h(fa, {
271
+ Be.value ? (h(), g(fa, {
272
272
  key: 1,
273
273
  id: e.id,
274
274
  ref_key: "inputRef",
@@ -299,7 +299,7 @@ const ma = ge({
299
299
  onKeydown: ue
300
300
  }, {
301
301
  prefix: y(() => [
302
- N.value ? (g(), h(n(K), {
302
+ N.value ? (h(), g(n(K), {
303
303
  key: 0,
304
304
  icon: N.value,
305
305
  class: b([n(w).e("icon"), n(k).e("icon")])
@@ -313,7 +313,7 @@ const ma = ge({
313
313
  ])
314
314
  ]),
315
315
  suffix: y(() => [
316
- e.clearIcon ? (g(), h(n(K), {
316
+ e.clearIcon ? (h(), g(n(K), {
317
317
  key: 0,
318
318
  icon: e.clearIcon,
319
319
  class: b(we.value),
@@ -322,7 +322,7 @@ const ma = ge({
322
322
  }, null, 8, ["icon", "class", "onMousedown"])) : B("", !0)
323
323
  ]),
324
324
  _: 3
325
- }, 8, ["id", "model-value", "name", "disabled", "readonly", "start-placeholder", "end-placeholder", "class", "style", "aria-label", "tabindex", "onFocus", "onBlur"])) : (g(), h(n(ua), {
325
+ }, 8, ["id", "model-value", "name", "disabled", "readonly", "start-placeholder", "end-placeholder", "class", "style", "aria-label", "tabindex", "onFocus", "onBlur"])) : (h(), g(n(ua), {
326
326
  key: 0,
327
327
  id: e.id,
328
328
  ref_key: "inputRef",
@@ -352,7 +352,7 @@ const ma = ge({
352
352
  }, ["stop"]))
353
353
  }, {
354
354
  prefix: y(() => [
355
- N.value ? (g(), h(n(K), {
355
+ N.value ? (h(), g(n(K), {
356
356
  key: 0,
357
357
  icon: N.value,
358
358
  class: b(n(w).e("icon")),
@@ -361,7 +361,7 @@ const ma = ge({
361
361
  }, null, 8, ["icon", "class"])) : B("", !0)
362
362
  ]),
363
363
  suffix: y(() => [
364
- P.value && e.clearIcon ? (g(), h(n(K), {
364
+ P.value && e.clearIcon ? (h(), g(n(K), {
365
365
  key: 0,
366
366
  icon: e.clearIcon,
367
367
  class: b(`${n(w).e("icon")} clear-icon`),
@@ -1,4 +1,4 @@
1
- import { defineComponent as de, inject as pe, ref as C, computed as k, unref as r, onMounted as he, nextTick as x, watch as fe, createElementBlock as a, openBlock as l, normalizeClass as m, createCommentVNode as I, Fragment as u, renderList as $, createBlock as be, withCtx as we, createTextVNode as _, toDisplayString as f, withDirectives as j, createElementVNode as ve, createVNode as U } from "vue";
1
+ import { defineComponent as de, inject as pe, ref as C, computed as k, unref as r, onMounted as he, nextTick as x, watch as fe, openBlock as l, createElementBlock as a, normalizeClass as m, Fragment as u, renderList as $, createBlock as be, withCtx as we, createTextVNode as _, toDisplayString as f, createCommentVNode as I, withDirectives as j, createVNode as U, createElementVNode as ve } from "vue";
2
2
  import { debounce as Se } from "lodash-es";
3
3
  import { vRepeatClick as q } from "@vft/directives";
4
4
  import { VftScrollbar as ge } from "../../scrollbar/index.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent as Q, inject as W, ref as w, computed as d, createBlock as X, openBlock as T, Transition as Z, withCtx as ee, createElementBlock as te, createCommentVNode as ne, normalizeClass as r, unref as n, createElementVNode as p, createVNode as oe, toDisplayString as A } from "vue";
1
+ import { defineComponent as Q, inject as W, ref as w, computed as d, openBlock as T, createBlock as X, Transition as Z, withCtx as ee, createElementBlock as te, normalizeClass as r, unref as n, createElementVNode as p, createVNode as ne, toDisplayString as A, createCommentVNode as oe } from "vue";
2
2
  import f from "dayjs";
3
3
  import { EVENT_CODE as se } from "../../../constants/aria.js";
4
4
  import "@vueuse/core";
@@ -10,7 +10,7 @@ import { useNamespace as ie } 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 re } from "../../../locale/use-locale.js";
13
+ import re from "../../../locale/use-locale.js";
14
14
  import { PICKER_BASE_INJECTION_KEY as le } from "../constants.js";
15
15
  import { panelTimePickerProps as ce } from "../props/panel-time-picker.js";
16
16
  import { useTimePanel as pe } from "../composables/use-time-panel.js";
@@ -70,7 +70,7 @@ const Pe = /* @__PURE__ */ Q({
70
70
  p("div", {
71
71
  class: r([n(i).be("panel", "content"), { "has-seconds": l.value }])
72
72
  }, [
73
- oe(de, {
73
+ ne(de, {
74
74
  ref: "spinner",
75
75
  role: e.datetimeRole || "start",
76
76
  "arrow-control": n(D),
@@ -99,7 +99,7 @@ const Pe = /* @__PURE__ */ Q({
99
99
  onClick: t[0] || (t[0] = (a) => M())
100
100
  }, A(n(k)("vft.timePicker.confirm")), 3)
101
101
  ], 2)
102
- ], 2)) : ne("", !0)
102
+ ], 2)) : oe("", !0)
103
103
  ]),
104
104
  _: 1
105
105
  }, 8, ["name"]));
@@ -1,4 +1,4 @@
1
- import { defineComponent as ge, ref as U, inject as ke, computed as d, createElementBlock as he, createCommentVNode as Se, openBlock as De, normalizeClass as u, unref as o, createElementVNode as p, toDisplayString as V, createVNode as G } from "vue";
1
+ import { defineComponent as ge, ref as U, inject as ke, computed as d, openBlock as he, createElementBlock as Se, normalizeClass as u, unref as o, createElementVNode as p, toDisplayString as V, createVNode as G, createCommentVNode as De } from "vue";
2
2
  import S from "dayjs";
3
3
  import { union as O } from "lodash-es";
4
4
  import "@vueuse/core";
@@ -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 we } from "../../../locale/use-locale.js";
13
+ import we from "../../../locale/use-locale.js";
14
14
  import { PICKER_BASE_INJECTION_KEY as Ve } from "../constants.js";
15
15
  import { panelTimeRangeProps as _e } from "../props/panel-time-range.js";
16
16
  import { useTimePanel as Te } from "../composables/use-time-panel.js";
@@ -112,7 +112,7 @@ const Ae = ["disabled"], qe = /* @__PURE__ */ ge({
112
112
  const e = S(_).locale(h.value);
113
113
  return [e, e.add(60, "m")];
114
114
  };
115
- return c("set-picker-option", ["formatToString", fe]), c("set-picker-option", ["parseUserInput", de]), c("set-picker-option", ["isValidValue", ae]), c("set-picker-option", ["handleKeydownInput", ce]), c("set-picker-option", ["getDefaultValue", ve]), c("set-picker-option", ["getRangeAvailableTime", B]), (e, t) => e.actualVisible ? (De(), he("div", {
115
+ return c("set-picker-option", ["formatToString", fe]), c("set-picker-option", ["parseUserInput", de]), c("set-picker-option", ["isValidValue", ae]), c("set-picker-option", ["handleKeydownInput", ce]), c("set-picker-option", ["getDefaultValue", ve]), c("set-picker-option", ["getRangeAvailableTime", B]), (e, t) => e.actualVisible ? (he(), Se("div", {
116
116
  key: 0,
117
117
  class: u([o(s).b("range-picker"), o(F).b("panel")])
118
118
  }, [
@@ -185,7 +185,7 @@ const Ae = ["disabled"], qe = /* @__PURE__ */ ge({
185
185
  onClick: t[1] || (t[1] = (n) => te())
186
186
  }, V(o(D)("vft.timePicker.confirm")), 11, Ae)
187
187
  ], 2)
188
- ], 2)) : Se("", !0);
188
+ ], 2)) : De("", !0);
189
189
  }
190
190
  });
191
191
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as v, ref as S, computed as r, createBlock as u, openBlock as s, unref as n, withCtx as f, createElementBlock as h, Fragment as w, renderList as E, createCommentVNode as H, normalizeClass as N } from "vue";
1
+ import { defineComponent as v, ref as S, computed as r, openBlock as s, createBlock as u, unref as n, withCtx as f, createElementBlock as h, Fragment as w, renderList as E, normalizeClass as H, createCommentVNode as N } from "vue";
2
2
  import d from "dayjs";
3
3
  import O from "dayjs/plugin/customParseFormat";
4
4
  import b from "../select/index.js";
@@ -79,8 +79,8 @@ const q = v({
79
79
  e.prefixIcon ? (s(), u(n(P), {
80
80
  key: 0,
81
81
  icon: e.prefixIcon,
82
- class: N(n(C).e("prefix-icon"))
83
- }, null, 8, ["icon", "class"])) : H("", !0)
82
+ class: H(n(C).e("prefix-icon"))
83
+ }, null, 8, ["icon", "class"])) : N("", !0)
84
84
  ]),
85
85
  default: f(() => [
86
86
  (s(!0), h(w, null, E($.value, (l) => (s(), u(n(k), {
@@ -1,4 +1,4 @@
1
- import { defineComponent as d, computed as f, createElementBlock as m, openBlock as a, normalizeClass as l, unref as o, createElementVNode as n, createCommentVNode as i, normalizeStyle as p, createBlock as y, mergeProps as k, renderSlot as c, toDisplayString as r } from "vue";
1
+ import { defineComponent as d, computed as f, openBlock as a, createElementBlock as m, normalizeClass as l, unref as o, createElementVNode as n, normalizeStyle as p, createBlock as y, mergeProps as k, createCommentVNode as i, renderSlot as c, toDisplayString as r } from "vue";
2
2
  import { VftIcon as v } from "../icon/index.js";
3
3
  import "@vueuse/core";
4
4
  import "@vft/utils";
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, ref as v, computed as o, inject as J, onBeforeUnmount as K, unref as t, watch as y, createBlock as b, openBlock as C, withCtx as p, createVNode as Y, Transition as q, withDirectives as G, createCommentVNode as Q, mergeProps as X, renderSlot as Z, vShow as _ } from "vue";
1
+ import { defineComponent as B, ref as v, computed as o, inject as J, onBeforeUnmount as K, unref as t, watch as y, openBlock as b, createBlock as C, withCtx as p, createVNode as Y, Transition as q, withDirectives as G, mergeProps as Q, renderSlot as X, vShow as Z, createCommentVNode as _ } from "vue";
2
2
  import "../focus-trap/focus-trap.vue2.js";
3
3
  import { tryFocus as ee } from "../focus-trap/utils.js";
4
4
  import { isClient as te, onClickOutside as oe } from "@vueuse/core";
@@ -116,7 +116,7 @@ const se = B({
116
116
  */
117
117
  contentRef: n,
118
118
  isFocusInsideContent: g
119
- }), (r, u) => (C(), b(t(ae), {
119
+ }), (r, u) => (b(), C(t(ae), {
120
120
  disabled: !e.teleported,
121
121
  to: H.value
122
122
  }, {
@@ -129,7 +129,7 @@ const se = B({
129
129
  onBeforeLeave: D
130
130
  }, {
131
131
  default: p(() => [
132
- x.value ? G((C(), b(t(ie), X({
132
+ x.value ? G((b(), C(t(ie), Q({
133
133
  key: 0,
134
134
  id: t(O),
135
135
  ref_key: "contentRef",
@@ -160,12 +160,12 @@ const se = B({
160
160
  onClose: t(a)
161
161
  }), {
162
162
  default: p(() => [
163
- Z(r.$slots, "default")
163
+ X(r.$slots, "default")
164
164
  ]),
165
165
  _: 3
166
166
  }, 16, ["id", "aria-label", "aria-hidden", "boundaries-padding", "fallback-placements", "gpu-acceleration", "offset", "placement", "popper-options", "arrow-offset", "strategy", "effect", "enterable", "pure", "popper-class", "popper-style", "reference-el", "trigger-target-el", "visible", "z-index", "onMouseenter", "onMouseleave", "onClose"])), [
167
- [_, d.value]
168
- ]) : Q("", !0)
167
+ [Z, d.value]
168
+ ]) : _("", !0)
169
169
  ]),
170
170
  _: 3
171
171
  }, 8, ["name"])
@@ -1,4 +1,4 @@
1
- import { defineComponent as T, ref as l, getCurrentInstance as M, toRef as i, computed as h, provide as $, readonly as H, unref as f, watch as L, onDeactivated as V, createBlock as w, openBlock as s, withCtx as m, createVNode as v, renderSlot as B, createCommentVNode as C, createElementBlock as k, toDisplayString as z } from "vue";
1
+ import { defineComponent as T, ref as l, getCurrentInstance as M, toRef as i, computed as h, provide as $, unref as f, readonly as H, watch as L, onDeactivated as V, openBlock as s, createBlock as w, withCtx as m, createVNode as v, renderSlot as B, createCommentVNode as C, createElementBlock as k, toDisplayString as z } from "vue";
2
2
  import { VftPopper as D } from "../popper/index.js";
3
3
  import "@vueuse/core";
4
4
  import { isBoolean as K } from "@vft/utils";
@@ -1,4 +1,4 @@
1
- import { defineComponent as a, inject as E, ref as K, createBlock as O, openBlock as w, unref as e, normalizeClass as b, withCtx as D, renderSlot as N } from "vue";
1
+ import { defineComponent as a, inject as E, ref as K, openBlock as O, createBlock as w, unref as e, normalizeClass as b, withCtx as D, renderSlot as N } from "vue";
2
2
  import { EVENT_CODE as g } from "@vft/constants";
3
3
  import "../popper/index.js";
4
4
  import "@vueuse/core";
@@ -66,7 +66,7 @@ const V = a({
66
66
  * @description trigger element
67
67
  */
68
68
  triggerRef: C
69
- }), (o, c) => (w(), O(e(R), {
69
+ }), (o, c) => (O(), w(e(R), {
70
70
  id: e(p),
71
71
  "virtual-ref": t.virtualRef,
72
72
  open: e(v),
@@ -1,4 +1,4 @@
1
- import { defineComponent as A, useSlots as G, reactive as O, computed as N, toRefs as j, createElementBlock as v, openBlock as s, normalizeClass as o, unref as e, createElementVNode as d, createCommentVNode as S, createVNode as h, isRef as b, withCtx as k, createTextVNode as P, toDisplayString as V, createBlock as w, withDirectives as B, Fragment as H, renderList as J, vShow as D, renderSlot as U } from "vue";
1
+ import { defineComponent as A, useSlots as G, reactive as O, computed as N, toRefs as j, openBlock as s, createElementBlock as v, normalizeClass as o, unref as e, createElementVNode as d, createVNode as h, isRef as b, withCtx as k, createTextVNode as S, toDisplayString as V, createBlock as P, createCommentVNode as w, withDirectives as B, Fragment as H, renderList as J, vShow as D, renderSlot as U } from "vue";
2
2
  import { isEmpty as n } from "@vft/utils";
3
3
  import "@vueuse/core";
4
4
  import "../config-provider/hooks/use-global-config.js";
@@ -8,7 +8,7 @@ import { useNamespace as K } 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 Q } from "../../locale/use-locale.js";
11
+ import Q from "../../locale/use-locale.js";
12
12
  import { VftCheckbox as q, VftCheckboxGroup as W } from "../checkbox/index.js";
13
13
  import { VftInput as X } from "../input/index.js";
14
14
  import { transferPanelEmits as Y, transferPanelProps as Z } from "./transfer-panel.js";
@@ -52,7 +52,7 @@ const te = A({
52
52
  onChange: e(x)
53
53
  }, {
54
54
  default: k(() => [
55
- P(V(t.title) + " ", 1),
55
+ S(V(t.title) + " ", 1),
56
56
  d("span", null, V(e(T)), 1)
57
57
  ]),
58
58
  _: 1
@@ -61,7 +61,7 @@ const te = A({
61
61
  d("div", {
62
62
  class: o([e(l).be("panel", "body"), e(l).is("with-footer", E.value)])
63
63
  }, [
64
- t.filterable ? (s(), w(e(X), {
64
+ t.filterable ? (s(), P(e(X), {
65
65
  key: 0,
66
66
  modelValue: e(i),
67
67
  "onUpdate:modelValue": r[1] || (r[1] = (a) => b(i) ? i.value = a : null),
@@ -71,7 +71,7 @@ const te = A({
71
71
  "prefix-icon": "ico-ep:search",
72
72
  clearable: "",
73
73
  "validate-event": !1
74
- }, null, 8, ["modelValue", "class", "placeholder"])) : S("", !0),
74
+ }, null, 8, ["modelValue", "class", "placeholder"])) : w("", !0),
75
75
  B(h(e(W), {
76
76
  modelValue: e(f),
77
77
  "onUpdate:modelValue": r[2] || (r[2] = (a) => b(f) ? f.value = a : null),
@@ -79,7 +79,7 @@ const te = A({
79
79
  class: o([e(l).is("filterable", t.filterable), e(l).be("panel", "list")])
80
80
  }, {
81
81
  default: k(() => [
82
- (s(!0), v(H, null, J(e(g), (a) => (s(), w(e(q), {
82
+ (s(!0), v(H, null, J(e(g), (a) => (s(), P(e(q), {
83
83
  key: a[e(m).key],
84
84
  class: o(e(l).be("panel", "item")),
85
85
  value: a[e(m).key],
@@ -102,7 +102,7 @@ const te = A({
102
102
  class: o(e(l).be("panel", "empty"))
103
103
  }, [
104
104
  U(t.$slots, "empty", {}, () => [
105
- P(V(u.value ? e(C)("vft.transferExtend.noMatch") : e(C)("vft.transferExtend.noData")), 1)
105
+ S(V(u.value ? e(C)("vft.transferExtend.noMatch") : e(C)("vft.transferExtend.noData")), 1)
106
106
  ])
107
107
  ], 2), [
108
108
  [D, u.value || e(n)(t.data)]
@@ -113,7 +113,7 @@ const te = A({
113
113
  class: o(e(l).be("panel", "footer"))
114
114
  }, [
115
115
  U(t.$slots, "default")
116
- ], 2)) : S("", !0)
116
+ ], 2)) : w("", !0)
117
117
  ], 2));
118
118
  }
119
119
  });