vft 0.0.509 → 0.0.511

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (285) hide show
  1. package/dist/index.css +1 -1
  2. package/es/components/affix/affix.vue2.js +2 -2
  3. package/es/components/alert/alert.vue2.js +1 -1
  4. package/es/components/autocomplete/autocomplete.vue2.js +1 -1
  5. package/es/components/avatar/avatar.vue2.js +2 -2
  6. package/es/components/avatar-stack/avatar-stack.vue2.js +7 -7
  7. package/es/components/backtop/backtop.vue2.js +1 -1
  8. package/es/components/breadcrumb/breadcrumb-item.vue2.js +3 -3
  9. package/es/components/breadcrumb/breadcrumb.vue2.js +2 -2
  10. package/es/components/button/button-group.vue2.js +2 -2
  11. package/es/components/button/button.vue2.js +7 -7
  12. package/es/components/button/use-button.js +3 -3
  13. package/es/components/card/card.vue2.js +6 -6
  14. package/es/components/carousel/carousel-item.vue2.js +3 -3
  15. package/es/components/carousel/carousel.vue2.js +1 -1
  16. package/es/components/cascader/cascader.vue2.js +2 -2
  17. package/es/components/cascader-panel/index.vue2.js +1 -1
  18. package/es/components/cascader-panel/menu.vue2.js +6 -6
  19. package/es/components/cascader-panel/node.vue2.js +8 -8
  20. package/es/components/check-tag/check-tag.vue2.js +2 -2
  21. package/es/components/checkbox/checkbox-button.vue2.js +13 -13
  22. package/es/components/checkbox/checkbox-group.vue2.js +3 -3
  23. package/es/components/checkbox/checkbox.vue2.js +1 -1
  24. package/es/components/clamp/clamp.vue2.js +2 -2
  25. package/es/components/clamp-toggle/clamp-toggle.vue2.js +4 -4
  26. package/es/components/clamp-tooltip/clamp-tooltip.vue2.js +6 -6
  27. package/es/components/col/col.vue2.js +2 -2
  28. package/es/components/collapse/collapse-item.vue2.js +2 -2
  29. package/es/components/collapse/collapse.vue2.js +2 -2
  30. package/es/components/collapse-transition/collapse-transition.vue2.js +2 -2
  31. package/es/components/color-picker/color-picker.vue2.js +2 -2
  32. package/es/components/color-picker/components/alpha-slider.vue2.js +2 -2
  33. package/es/components/color-picker/components/hue-slider.vue.js +2 -2
  34. package/es/components/color-picker/components/predefine.vue.js +3 -3
  35. package/es/components/color-picker/components/sv-panel.vue.js +2 -2
  36. package/es/components/config-provider/config-provider.vue2.js +2 -2
  37. package/es/components/config-provider/hooks/use-global-config.js +3 -3
  38. package/es/components/container/aside.vue2.js +2 -2
  39. package/es/components/container/container.vue2.js +2 -2
  40. package/es/components/container/footer.vue2.js +2 -2
  41. package/es/components/container/header.vue2.js +2 -2
  42. package/es/components/container/main.vue2.js +2 -2
  43. package/es/components/context-menu/context-menu.vue2.js +1 -1
  44. package/es/components/countdown/countdown.vue2.js +2 -2
  45. package/es/components/date-picker/composables/use-basic-date-table.d.ts +1 -1
  46. package/es/components/date-picker/composables/use-basic-date-table.js +115 -115
  47. package/es/components/date-picker/composables/use-month-range-header.js +1 -1
  48. package/es/components/date-picker/composables/use-panel-date-range.js +1 -1
  49. package/es/components/date-picker/date-picker-com/basic-date-table.vue2.js +6 -6
  50. package/es/components/date-picker/date-picker-com/basic-month-table.vue2.js +5 -5
  51. package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +5 -5
  52. package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +12 -12
  53. package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +3 -3
  54. package/es/components/date-picker/date-picker-com/panel-month-range.vue2.js +12 -12
  55. package/es/components/date-picker/date-picker-com/panel-year-range.vue2.js +12 -12
  56. package/es/components/date-picker/props/basic-date-table.js +3 -3
  57. package/es/components/date-picker/props/basic-month-table.js +3 -3
  58. package/es/components/date-picker/props/basic-year-table.js +3 -3
  59. package/es/components/date-time-select/date-time-select.vue2.js +1 -1
  60. package/es/components/descriptions/description.vue2.js +1 -1
  61. package/es/components/descriptions/descriptions-row.vue2.js +10 -10
  62. package/es/components/dialog/dialog-content.vue2.js +3 -3
  63. package/es/components/dialog/dialog.vue2.js +5 -5
  64. package/es/components/divider/divider.vue2.js +5 -5
  65. package/es/components/drawer/drawer.vue2.js +4 -4
  66. package/es/components/dropdown/dropdown-item-impl.vue.d.ts +1 -1
  67. package/es/components/dropdown/dropdown-item-impl.vue2.js +3 -3
  68. package/es/components/dropdown/dropdown-item.vue.d.ts +1 -1
  69. package/es/components/dropdown/dropdown-item.vue2.js +2 -2
  70. package/es/components/dropdown/dropdown-menu.vue2.js +2 -2
  71. package/es/components/dropdown/dropdown.vue.d.ts +1 -1
  72. package/es/components/dropdown/dropdown.vue2.js +5 -5
  73. package/es/components/dropdown/index.d.ts +33 -33
  74. package/es/components/empty/empty.vue2.js +6 -6
  75. package/es/components/footer-layout/footer-layout.vue2.js +2 -2
  76. package/es/components/form/form-item.vue2.js +16 -16
  77. package/es/components/form/form.vue2.js +2 -2
  78. package/es/components/full-screen/full-screen.vue2.js +3 -3
  79. package/es/components/header-layout/header-layout.vue2.js +1 -1
  80. package/es/components/horizontal-menu/horizontal-menu.vue2.js +3 -3
  81. package/es/components/icon/icon.vue2.js +3 -3
  82. package/es/components/icon-text/icon-text.vue2.js +1 -1
  83. package/es/components/iframe-layout/iframe-layout.vue2.js +4 -4
  84. package/es/components/iframe-layout/iframe-page.vue2.js +2 -2
  85. package/es/components/image/image.vue2.js +2 -2
  86. package/es/components/image-viewer/image-viewer.vue2.js +7 -7
  87. package/es/components/index.d.ts +1 -0
  88. package/es/components/index.js +206 -203
  89. package/es/components/input/input.vue2.js +6 -6
  90. package/es/components/input-number/input-number.vue2.js +4 -4
  91. package/es/components/input-tag/input-tag.vue2.js +7 -7
  92. package/es/components/link/link.vue2.js +1 -1
  93. package/es/components/list-cell/list-cell.vue2.js +1 -1
  94. package/es/components/logo/logo.vue2.js +10 -10
  95. package/es/components/md-comment/md-comment.vue2.js +2 -2
  96. package/es/components/md-container/md-container.vue2.js +2 -2
  97. package/es/components/md-container/toc.js +1 -1
  98. package/es/components/menu/menu-collapse-transition.vue.js +2 -2
  99. package/es/components/menu/menu-item-group.vue2.js +7 -7
  100. package/es/components/menu/menu-item.vue2.js +1 -1
  101. package/es/components/message/message.vue2.js +3 -3
  102. package/es/components/message-box/index.d.ts +4 -0
  103. package/es/components/message-box/index.js +14 -0
  104. package/es/components/message-box/message-box.vue.d.ts +103 -0
  105. package/es/components/message-box/message-box.vue.js +4 -0
  106. package/es/components/message-box/message-box.vue2.js +358 -0
  107. package/es/components/message-box/method.d.ts +3 -0
  108. package/es/components/message-box/method.js +101 -0
  109. package/es/components/message-box/style/css.d.ts +2 -0
  110. package/es/components/message-box/style/css.js +3 -0
  111. package/es/components/message-box/style/index.d.ts +2 -0
  112. package/es/components/message-box/style/index.js +3 -0
  113. package/es/components/message-box/types.d.ts +202 -0
  114. package/es/components/message-box/types.js +1 -0
  115. package/es/components/modal/index.d.ts +1 -0
  116. package/es/components/modal/modal-footer-action.vue2.js +11 -11
  117. package/es/components/modal/modal.vue.d.ts +1 -0
  118. package/es/components/modal/modal.vue2.js +30 -28
  119. package/es/components/multiple-tabs/multiple-tabs.vue2.js +1 -1
  120. package/es/components/multiple-tabs/tab-content.vue2.js +2 -2
  121. package/es/components/multiple-tabs/use/use-tab-dropdown.js +1 -1
  122. package/es/components/notification/notification.vue2.js +1 -1
  123. package/es/components/overlay/overlay.vue2.js +1 -1
  124. package/es/components/page-wrapper/page-wrapper.vue2.js +2 -2
  125. package/es/components/pagination/components/jumper.vue2.js +28 -29
  126. package/es/components/pagination/components/next.vue2.js +4 -4
  127. package/es/components/pagination/components/pager.vue2.js +1 -1
  128. package/es/components/pagination/components/prev.vue2.js +4 -4
  129. package/es/components/pagination/components/sizes.vue2.js +20 -21
  130. package/es/components/pagination/components/total.vue2.js +10 -11
  131. package/es/components/popconfirm/popconfirm.vue2.js +4 -4
  132. package/es/components/popover/popover.vue2.js +1 -1
  133. package/es/components/popper/arrow.vue2.js +2 -2
  134. package/es/components/popper/content.vue2.js +2 -2
  135. package/es/components/popper/trigger.vue2.js +4 -4
  136. package/es/components/progress/progress.vue2.js +1 -1
  137. package/es/components/progress-i/progress-i.vue2.js +2 -2
  138. package/es/components/qrcode/qrcode.vue2.js +1 -1
  139. package/es/components/radio/radio-button.vue2.js +2 -2
  140. package/es/components/radio/radio-group.vue2.js +3 -3
  141. package/es/components/radio/radio.vue2.js +2 -2
  142. package/es/components/rate/rate.vue2.js +6 -6
  143. package/es/components/router-view-content/router-view-content.vue2.js +7 -7
  144. package/es/components/roving-focus-group/roving-focus-group.vue2.js +2 -2
  145. package/es/components/roving-focus-group/roving-focus-item.vue2.js +2 -2
  146. package/es/components/row/row.vue2.js +2 -2
  147. package/es/components/scrollbar/bar.vue2.js +2 -2
  148. package/es/components/scrollbar/scrollbar.vue2.js +7 -7
  149. package/es/components/scrollbar/thumb.vue2.js +2 -2
  150. package/es/components/search/search.vue2.js +8 -8
  151. package/es/components/segmented/segmented.vue2.js +7 -7
  152. package/es/components/select/group-item.vue.js +2 -2
  153. package/es/components/select/option-item.vue.js +2 -2
  154. package/es/components/select/select.vue.js +1 -1
  155. package/es/components/select/useSelect.js +1 -1
  156. package/es/components/skeleton/skeleton-item.vue2.js +2 -2
  157. package/es/components/skeleton/skeleton.vue2.js +8 -8
  158. package/es/components/slider/button.vue2.js +2 -2
  159. package/es/components/slider/slider.vue2.js +1 -1
  160. package/es/components/space/space.js +1 -1
  161. package/es/components/statistic/statistic.vue2.js +17 -17
  162. package/es/components/steps/item.vue2.js +11 -11
  163. package/es/components/steps/steps.vue2.js +2 -2
  164. package/es/components/super-form/super-form-action.vue2.js +47 -48
  165. package/es/components/super-form/super-form-item.vue2.js +204 -206
  166. package/es/components/super-form/super-form.vue2.js +7 -7
  167. package/es/components/super-form/use/helper.d.ts +1 -1
  168. package/es/components/super-form/use/helper.js +63 -63
  169. package/es/components/super-form/use/use-form.js +8 -8
  170. package/es/components/switch/switch.vue2.js +1 -1
  171. package/es/components/table/field.js +111 -130
  172. package/es/components/table/table.vue2.js +128 -133
  173. package/es/components/table/use/use-columns.js +26 -29
  174. package/es/components/table/use/use-data-source.js +59 -60
  175. package/es/components/tabs/tab-bar.vue2.js +2 -2
  176. package/es/components/tabs/tab-pane.vue2.js +6 -6
  177. package/es/components/teleport/teleport.vue2.js +2 -2
  178. package/es/components/time-picker/common/picker-range-trigger.vue2.js +2 -2
  179. package/es/components/time-picker/common/picker.vue2.js +8 -8
  180. package/es/components/time-picker/time-picker-com/basic-time-spinner.vue2.js +1 -1
  181. package/es/components/time-picker/time-picker-com/panel-time-pick.vue2.js +4 -4
  182. package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +4 -4
  183. package/es/components/time-select/time-select.vue2.js +3 -3
  184. package/es/components/timeline/timeline-item.vue2.js +1 -1
  185. package/es/components/tooltip/content.vue2.js +6 -6
  186. package/es/components/tooltip/tooltip.vue2.js +1 -1
  187. package/es/components/tooltip/trigger.vue2.js +2 -2
  188. package/es/components/transfer/transfer-panel.vue2.js +8 -8
  189. package/es/components/transfer/transfer.vue2.js +5 -5
  190. package/es/components/tree/tree-node.vue.js +1 -1
  191. package/es/components/tree/tree.vue2.js +7 -7
  192. package/es/components/upload/upload-content.vue2.js +8 -8
  193. package/es/components/upload/upload-dragger.vue2.js +2 -2
  194. package/es/components/upload/upload-list.vue2.js +2 -2
  195. package/es/components/upload/upload.vue2.js +20 -20
  196. package/es/components/verify-code/verify-code.vue2.js +2 -2
  197. package/es/components/watermark/watermark.vue2.js +2 -2
  198. package/es/hooks/use-id/index.js +2 -2
  199. package/es/index.js +40 -39
  200. package/es/locale/index.js +6 -6
  201. package/es/package.json.d.ts +1 -1
  202. package/es/package.json.js +1 -1
  203. package/es/plugin.js +5 -3
  204. package/es/utils/helper.js +2 -2
  205. package/es/utils/ns-cover.js +1 -1
  206. package/es/utils/vue/vnode.js +3 -3
  207. package/lib/components/button/use-button.cjs +1 -1
  208. package/lib/components/cascader/cascader.vue2.cjs +1 -1
  209. package/lib/components/cascader-panel/menu.vue2.cjs +2 -2
  210. package/lib/components/clamp-toggle/clamp-toggle.vue2.cjs +1 -1
  211. package/lib/components/color-picker/color-picker.vue2.cjs +1 -1
  212. package/lib/components/date-picker/composables/use-basic-date-table.cjs +1 -1
  213. package/lib/components/date-picker/composables/use-basic-date-table.d.ts +1 -1
  214. package/lib/components/date-picker/composables/use-month-range-header.cjs +1 -1
  215. package/lib/components/date-picker/composables/use-panel-date-range.cjs +1 -1
  216. package/lib/components/date-picker/date-picker-com/basic-month-table.vue2.cjs +1 -1
  217. package/lib/components/date-picker/date-picker-com/basic-year-table.vue2.cjs +1 -1
  218. package/lib/components/date-picker/date-picker-com/panel-date-pick.vue2.cjs +1 -1
  219. package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -1
  220. package/lib/components/date-time-select/date-time-select.vue2.cjs +1 -1
  221. package/lib/components/dropdown/dropdown-item-impl.vue.d.ts +1 -1
  222. package/lib/components/dropdown/dropdown-item.vue.d.ts +1 -1
  223. package/lib/components/dropdown/dropdown.vue.d.ts +1 -1
  224. package/lib/components/dropdown/dropdown.vue2.cjs +1 -1
  225. package/lib/components/dropdown/index.d.ts +33 -33
  226. package/lib/components/empty/empty.vue2.cjs +1 -1
  227. package/lib/components/full-screen/full-screen.vue2.cjs +1 -1
  228. package/lib/components/image/image.vue2.cjs +1 -1
  229. package/lib/components/image-viewer/image-viewer.vue2.cjs +1 -1
  230. package/lib/components/index.cjs +1 -1
  231. package/lib/components/index.d.ts +1 -0
  232. package/lib/components/input/input.vue2.cjs +1 -1
  233. package/lib/components/md-container/md-container.vue2.cjs +1 -1
  234. package/lib/components/md-container/toc.cjs +1 -1
  235. package/lib/components/message-box/index.cjs +1 -0
  236. package/lib/components/message-box/index.d.ts +4 -0
  237. package/lib/components/message-box/message-box.vue.cjs +1 -0
  238. package/lib/components/message-box/message-box.vue.d.ts +103 -0
  239. package/lib/components/message-box/message-box.vue2.cjs +1 -0
  240. package/lib/components/message-box/method.cjs +1 -0
  241. package/lib/components/message-box/method.d.ts +3 -0
  242. package/lib/components/message-box/style/css.cjs +1 -0
  243. package/lib/components/message-box/style/css.d.ts +2 -0
  244. package/lib/components/message-box/style/index.cjs +1 -0
  245. package/lib/components/message-box/style/index.d.ts +2 -0
  246. package/lib/components/message-box/types.cjs +1 -0
  247. package/lib/components/message-box/types.d.ts +202 -0
  248. package/lib/components/modal/index.d.ts +1 -0
  249. package/lib/components/modal/modal-footer-action.vue2.cjs +1 -1
  250. package/lib/components/modal/modal.vue.d.ts +1 -0
  251. package/lib/components/modal/modal.vue2.cjs +1 -1
  252. package/lib/components/multiple-tabs/use/use-tab-dropdown.cjs +1 -1
  253. package/lib/components/pagination/components/jumper.vue2.cjs +1 -1
  254. package/lib/components/pagination/components/sizes.vue2.cjs +1 -1
  255. package/lib/components/pagination/components/total.vue2.cjs +1 -1
  256. package/lib/components/popconfirm/popconfirm.vue2.cjs +1 -1
  257. package/lib/components/search/search.vue2.cjs +1 -1
  258. package/lib/components/select/useSelect.cjs +1 -1
  259. package/lib/components/super-form/super-form-action.vue2.cjs +1 -1
  260. package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
  261. package/lib/components/super-form/use/helper.cjs +1 -1
  262. package/lib/components/super-form/use/helper.d.ts +1 -1
  263. package/lib/components/super-form/use/use-form.cjs +1 -1
  264. package/lib/components/table/field.cjs +1 -1
  265. package/lib/components/table/table.vue2.cjs +1 -1
  266. package/lib/components/table/use/use-columns.cjs +1 -1
  267. package/lib/components/table/use/use-data-source.cjs +1 -1
  268. package/lib/components/time-picker/time-picker-com/panel-time-pick.vue2.cjs +1 -1
  269. package/lib/components/time-picker/time-picker-com/panel-time-range.vue2.cjs +1 -1
  270. package/lib/components/transfer/transfer-panel.vue2.cjs +1 -1
  271. package/lib/components/transfer/transfer.vue2.cjs +1 -1
  272. package/lib/components/tree/tree.vue2.cjs +1 -1
  273. package/lib/components/upload/upload-content.vue2.cjs +1 -1
  274. package/lib/components/upload/upload-list.vue2.cjs +1 -1
  275. package/lib/components/upload/upload.vue2.cjs +1 -1
  276. package/lib/index.cjs +1 -1
  277. package/lib/locale/index.cjs +1 -1
  278. package/lib/package.json.cjs +1 -1
  279. package/lib/package.json.d.ts +1 -1
  280. package/lib/plugin.cjs +1 -1
  281. package/package.json +2 -2
  282. package/theme-style/index.css +1 -1
  283. package/theme-style/src/table.scss +4 -0
  284. package/theme-style/vft-table.css +1 -1
  285. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as F, getCurrentInstance as q, ref as m, computed as x, createBlock as A, openBlock as a, unref as e, withCtx as n, createVNode as y, Transition as H, withDirectives as j, createElementVNode as b, mergeProps as R, withModifiers as U, createElementBlock as d, createCommentVNode as r, normalizeClass as s, renderSlot as i, toDisplayString as G, normalizeStyle as J, vShow as K } from "vue";
1
+ import { defineComponent as F, getCurrentInstance as q, ref as m, computed as x, openBlock as a, createBlock as A, unref as e, withCtx as n, createVNode as y, Transition as H, withDirectives as j, createElementVNode as b, mergeProps as R, withModifiers as U, normalizeClass as s, createElementBlock as d, renderSlot as i, toDisplayString as G, createCommentVNode as r, normalizeStyle as J, vShow as K } from "vue";
2
2
  import "../dialog/index.js";
3
3
  import Q from "../focus-trap/focus-trap.vue.js";
4
4
  import "../focus-trap/utils.js";
@@ -7,7 +7,7 @@ import { VftOverlay as X } from "../overlay/index.js";
7
7
  import { VftTeleport as Y } from "../teleport/index.js";
8
8
  import { UPDATE_MODEL_EVENT as Z } from "../../constants/event.js";
9
9
  import "@vueuse/core";
10
- import { isBoolean as _, singleAttrToObj as ee } from "@vft/utils";
10
+ import { singleAttrToObj as _, isBoolean as ee } from "@vft/utils";
11
11
  import "../config-provider/hooks/use-global-config.js";
12
12
  import "lodash-es";
13
13
  import "../form/index.js";
@@ -60,7 +60,7 @@ const ae = ["aria-label", "aria-labelledby", "aria-describedby"], se = ["id"], r
60
60
  footerClass: {}
61
61
  },
62
62
  emits: {
63
- [Z]: (o) => _(o),
63
+ [Z]: (o) => ee(o),
64
64
  open: () => !0,
65
65
  opened: () => !0,
66
66
  close: () => !0,
@@ -88,7 +88,7 @@ const ae = ["aria-label", "aria-labelledby", "aria-describedby"], se = ["id"], r
88
88
  isHorizontal: S,
89
89
  size: $,
90
90
  isResizing: N
91
- } = te(C.props, B), M = x(() => ee(o.closeIcon, "icon", {
91
+ } = te(C.props, B), M = x(() => _(o.closeIcon, "icon", {
92
92
  icon: "icon-close",
93
93
  pointer: !0
94
94
  }));
@@ -32,8 +32,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
32
32
  onClickimpl?: ((event: MouseEvent) => any) | undefined;
33
33
  }>, {
34
34
  disabled: boolean;
35
- icon: string;
36
35
  command: object | string | number;
36
+ icon: string;
37
37
  divided: boolean;
38
38
  textValue: string;
39
39
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,4 +1,4 @@
1
- import { defineComponent as O, computed as l, inject as r, createElementBlock as I, openBlock as d, Fragment as y, createCommentVNode as c, createElementVNode as P, mergeProps as s, unref as o, withModifiers as g, createBlock as D, renderSlot as F, normalizeProps as V } from "vue";
1
+ import { defineComponent as O, computed as l, inject as r, openBlock as d, createElementBlock as I, Fragment as y, mergeProps as s, unref as o, createCommentVNode as c, createElementVNode as P, withModifiers as g, createBlock as D, normalizeProps as F, renderSlot as V } from "vue";
2
2
  import { COLLECTION_ITEM_SIGN as $ } from "../collection/collection.js";
3
3
  import { VftIcon as J } from "../icon/index.js";
4
4
  import "../roving-focus-group/roving-focus-group.vue2.js";
@@ -80,8 +80,8 @@ const A = ["aria-disabled", "tabindex", "role"], H = O({
80
80
  onPointermove: e[4] || (e[4] = (n) => t.$emit("pointermove", n)),
81
81
  onPointerleave: e[5] || (e[5] = (n) => t.$emit("pointerleave", n))
82
82
  }), [
83
- i.icon ? (d(), D(o(J), V(s({ key: 0 }, T.value)), null, 16)) : c("", !0),
84
- F(t.$slots, "default")
83
+ i.icon ? (d(), D(o(J), F(s({ key: 0 }, T.value)), null, 16)) : c("", !0),
84
+ V(t.$slots, "default")
85
85
  ], 16, A)
86
86
  ], 64));
87
87
  }
@@ -30,8 +30,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
30
30
  onPointermove?: ((event: PointerEvent) => any) | undefined;
31
31
  }>, {
32
32
  disabled: boolean;
33
- icon: string;
34
33
  command: object | string | number;
34
+ icon: string;
35
35
  divided: boolean;
36
36
  textValue: string;
37
37
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, useAttrs as w, getCurrentInstance as E, ref as g, computed as c, unref as t, inject as D, createBlock as V, openBlock as y, withCtx as l, createVNode as s, mergeProps as A, renderSlot as B } from "vue";
1
+ import { defineComponent as f, useAttrs as w, getCurrentInstance as E, ref as g, computed as c, unref as t, inject as D, openBlock as V, createBlock as y, withCtx as l, createVNode as s, mergeProps as A, renderSlot as B } from "vue";
2
2
  import "../roving-focus-group/roving-focus-group.vue2.js";
3
3
  import "../roving-focus-group/roving-focus-group-impl.vue2.js";
4
4
  import N from "../roving-focus-group/roving-focus-item.vue2.js";
@@ -55,7 +55,7 @@ const M = f({
55
55
  a?.hideOnClick?.value && a.handleClick?.(), a.commandHandler?.(o.command, P, e);
56
56
  }
57
57
  ), I = c(() => ({ ...o, ...v }));
58
- return (e, r) => (y(), V(t(H), {
58
+ return (e, r) => (V(), y(t(H), {
59
59
  disabled: n.disabled,
60
60
  "text-value": n.textValue ?? _.value
61
61
  }, {
@@ -1,4 +1,4 @@
1
- import { defineComponent as a, inject as n, computed as D, unref as o, createElementBlock as Y, openBlock as J, withModifiers as u, normalizeStyle as G, normalizeClass as P, renderSlot as z } from "vue";
1
+ import { defineComponent as a, inject as n, computed as D, unref as o, openBlock as Y, createElementBlock as J, withModifiers as u, normalizeStyle as G, normalizeClass as P, renderSlot as z } from "vue";
2
2
  import "../focus-trap/focus-trap.vue2.js";
3
3
  import { FOCUS_TRAP_INJECTION_KEY as B } from "../focus-trap/tokens.js";
4
4
  import "../focus-trap/utils.js";
@@ -71,7 +71,7 @@ const X = ["role", "aria-labelledby"], Z = a({
71
71
  ), g = (e) => {
72
72
  b(e), C(e);
73
73
  };
74
- return (e, r) => (J(), Y("ul", {
74
+ return (e, r) => (Y(), J("ul", {
75
75
  ref: o(L),
76
76
  class: P(F.value),
77
77
  style: G(o(y)),
@@ -43,8 +43,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
43
43
  teleported: boolean;
44
44
  }>>> & Readonly<{
45
45
  onClick?: ((val: MouseEvent) => any) | undefined;
46
- "onVisible-change"?: ((val: boolean) => any) | undefined;
47
46
  onCommand?: ((val: string) => any) | undefined;
47
+ "onVisible-change"?: ((val: boolean) => any) | undefined;
48
48
  }>, {
49
49
  disabled: boolean;
50
50
  maxHeight: number | string;
@@ -1,4 +1,4 @@
1
- import { defineComponent as S, getCurrentInstance as Z, ref as a, computed as b, watch as _, toRef as h, onBeforeUnmount as ee, provide as T, createElementBlock as te, openBlock as $, normalizeClass as x, unref as o, createVNode as r, createBlock as oe, createCommentVNode as ne, createSlots as re, withCtx as n, renderSlot as y, mergeProps as I } from "vue";
1
+ import { defineComponent as S, getCurrentInstance as Z, ref as a, computed as b, watch as _, toRef as h, onBeforeUnmount as ee, provide as T, openBlock as $, createElementBlock as te, normalizeClass as x, unref as o, createVNode as r, createSlots as oe, withCtx as n, renderSlot as y, createBlock as ne, mergeProps as I, createCommentVNode as re } from "vue";
2
2
  import { VftButtonGroup as le, VftButton as O } from "../button/index.js";
3
3
  import "../form/index.js";
4
4
  import { VftIcon as ie } from "../icon/index.js";
@@ -19,7 +19,7 @@ import { useNamespace as pe } from "../../hooks/use-namespace/index.js";
19
19
  import "../../hooks/use-model-toggle/index.js";
20
20
  import "@popperjs/core";
21
21
  import "../../hooks/use-z-index/index.js";
22
- import { useLocale as ve } from "../../locale/use-locale.js";
22
+ import ve from "../../locale/use-locale.js";
23
23
  import { DROPDOWN_INJECTION_KEY as ge } from "./tokens.js";
24
24
  import { VftCollection as be } from "./types.js";
25
25
  import { useFormSize as he } from "../form/hooks/use-form-common-props.js";
@@ -169,7 +169,7 @@ const ye = S({
169
169
  onBeforeShow: W,
170
170
  onShow: Y,
171
171
  onBeforeHide: j
172
- }, re({
172
+ }, oe({
173
173
  content: n(() => [
174
174
  r(o(de), {
175
175
  ref_key: "scrollbar",
@@ -221,7 +221,7 @@ const ye = S({
221
221
  key: "0"
222
222
  }
223
223
  ]), 1032, ["role", "effect", "popper-options", "hide-after", "placement", "popper-class", "reference-element", "trigger", "trigger-target-el", "show-after", "virtual-ref", "virtual-triggering", "disabled", "transition", "teleported"]),
224
- e.splitButton ? ($(), oe(o(le), { key: 0 }, {
224
+ e.splitButton ? ($(), ne(o(le), { key: 0 }, {
225
225
  default: n(() => [
226
226
  r(o(O), I({
227
227
  ref_key: "referenceElementRef",
@@ -261,7 +261,7 @@ const ye = S({
261
261
  }, 16, ["id", "size", "type", "class", "disabled", "tabindex", "aria-label"])
262
262
  ]),
263
263
  _: 3
264
- })) : ne("", !0)
264
+ })) : re("", !0)
265
265
  ], 2));
266
266
  }
267
267
  });
@@ -70,8 +70,8 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
70
70
  buttonProps: ButtonProps;
71
71
  }>> & Readonly<{
72
72
  onClick?: ((val: MouseEvent) => any) | undefined;
73
- "onVisible-change"?: ((val: boolean) => any) | undefined;
74
73
  onCommand?: ((val: string) => any) | undefined;
74
+ "onVisible-change"?: ((val: boolean) => any) | undefined;
75
75
  }>, {
76
76
  handleClose: () => void;
77
77
  handleOpen: () => void;
@@ -172,8 +172,8 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
172
172
  buttonProps: ButtonProps;
173
173
  }>> & Readonly<{
174
174
  onClick?: ((val: MouseEvent) => any) | undefined;
175
- "onVisible-change"?: ((val: boolean) => any) | undefined;
176
175
  onCommand?: ((val: string) => any) | undefined;
176
+ "onVisible-change"?: ((val: boolean) => any) | undefined;
177
177
  }>, {
178
178
  handleClose: () => void;
179
179
  handleOpen: () => void;
@@ -267,8 +267,8 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
267
267
  buttonProps: ButtonProps;
268
268
  }>> & Readonly<{
269
269
  onClick?: ((val: MouseEvent) => any) | undefined;
270
- "onVisible-change"?: ((val: boolean) => any) | undefined;
271
270
  onCommand?: ((val: string) => any) | undefined;
271
+ "onVisible-change"?: ((val: boolean) => any) | undefined;
272
272
  }>, {
273
273
  handleClose: () => void;
274
274
  handleOpen: () => void;
@@ -303,14 +303,14 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
303
303
  type: import("vue").PropType<boolean>;
304
304
  default: boolean;
305
305
  };
306
- icon: {
307
- type: import("vue").PropType<string>;
308
- default: string;
309
- };
310
306
  command: {
311
307
  type: import("vue").PropType<string | number | object>;
312
308
  default: () => {};
313
309
  };
310
+ icon: {
311
+ type: import("vue").PropType<string>;
312
+ default: string;
313
+ };
314
314
  divided: {
315
315
  type: import("vue").PropType<boolean>;
316
316
  default: boolean;
@@ -329,8 +329,8 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
329
329
  click: (event: PointerEvent) => void;
330
330
  }, import("vue").PublicProps, {
331
331
  disabled: boolean;
332
- icon: string;
333
332
  command: object | string | number;
333
+ icon: string;
334
334
  divided: boolean;
335
335
  textValue: string;
336
336
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
@@ -345,14 +345,14 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
345
345
  type: import("vue").PropType<boolean>;
346
346
  default: boolean;
347
347
  };
348
- icon: {
349
- type: import("vue").PropType<string>;
350
- default: string;
351
- };
352
348
  command: {
353
349
  type: import("vue").PropType<string | number | object>;
354
350
  default: () => {};
355
351
  };
352
+ icon: {
353
+ type: import("vue").PropType<string>;
354
+ default: string;
355
+ };
356
356
  divided: {
357
357
  type: import("vue").PropType<boolean>;
358
358
  default: boolean;
@@ -367,8 +367,8 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
367
367
  onPointermove?: ((event: PointerEvent) => any) | undefined;
368
368
  }>, {}, {}, {}, {}, {
369
369
  disabled: boolean;
370
- icon: string;
371
370
  command: object | string | number;
371
+ icon: string;
372
372
  divided: boolean;
373
373
  textValue: string;
374
374
  }>;
@@ -380,14 +380,14 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
380
380
  type: import("vue").PropType<boolean>;
381
381
  default: boolean;
382
382
  };
383
- icon: {
384
- type: import("vue").PropType<string>;
385
- default: string;
386
- };
387
383
  command: {
388
384
  type: import("vue").PropType<string | number | object>;
389
385
  default: () => {};
390
386
  };
387
+ icon: {
388
+ type: import("vue").PropType<string>;
389
+ default: string;
390
+ };
391
391
  divided: {
392
392
  type: import("vue").PropType<boolean>;
393
393
  default: boolean;
@@ -406,8 +406,8 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
406
406
  click: (event: PointerEvent) => void;
407
407
  }, string, {
408
408
  disabled: boolean;
409
- icon: string;
410
409
  command: object | string | number;
410
+ icon: string;
411
411
  divided: boolean;
412
412
  textValue: string;
413
413
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -451,14 +451,14 @@ export declare const VftDropdownItem: import("vft/es/utils").SFCWithInstall<{
451
451
  type: import("vue").PropType<boolean>;
452
452
  default: boolean;
453
453
  };
454
- icon: {
455
- type: import("vue").PropType<string>;
456
- default: string;
457
- };
458
454
  command: {
459
455
  type: import("vue").PropType<string | number | object>;
460
456
  default: () => {};
461
457
  };
458
+ icon: {
459
+ type: import("vue").PropType<string>;
460
+ default: string;
461
+ };
462
462
  divided: {
463
463
  type: import("vue").PropType<boolean>;
464
464
  default: boolean;
@@ -477,8 +477,8 @@ export declare const VftDropdownItem: import("vft/es/utils").SFCWithInstall<{
477
477
  click: (event: PointerEvent) => void;
478
478
  }, import("vue").PublicProps, {
479
479
  disabled: boolean;
480
- icon: string;
481
480
  command: object | string | number;
481
+ icon: string;
482
482
  divided: boolean;
483
483
  textValue: string;
484
484
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
@@ -493,14 +493,14 @@ export declare const VftDropdownItem: import("vft/es/utils").SFCWithInstall<{
493
493
  type: import("vue").PropType<boolean>;
494
494
  default: boolean;
495
495
  };
496
- icon: {
497
- type: import("vue").PropType<string>;
498
- default: string;
499
- };
500
496
  command: {
501
497
  type: import("vue").PropType<string | number | object>;
502
498
  default: () => {};
503
499
  };
500
+ icon: {
501
+ type: import("vue").PropType<string>;
502
+ default: string;
503
+ };
504
504
  divided: {
505
505
  type: import("vue").PropType<boolean>;
506
506
  default: boolean;
@@ -515,8 +515,8 @@ export declare const VftDropdownItem: import("vft/es/utils").SFCWithInstall<{
515
515
  onPointermove?: ((event: PointerEvent) => any) | undefined;
516
516
  }>, {}, {}, {}, {}, {
517
517
  disabled: boolean;
518
- icon: string;
519
518
  command: object | string | number;
519
+ icon: string;
520
520
  divided: boolean;
521
521
  textValue: string;
522
522
  }>;
@@ -528,14 +528,14 @@ export declare const VftDropdownItem: import("vft/es/utils").SFCWithInstall<{
528
528
  type: import("vue").PropType<boolean>;
529
529
  default: boolean;
530
530
  };
531
- icon: {
532
- type: import("vue").PropType<string>;
533
- default: string;
534
- };
535
531
  command: {
536
532
  type: import("vue").PropType<string | number | object>;
537
533
  default: () => {};
538
534
  };
535
+ icon: {
536
+ type: import("vue").PropType<string>;
537
+ default: string;
538
+ };
539
539
  divided: {
540
540
  type: import("vue").PropType<boolean>;
541
541
  default: boolean;
@@ -554,8 +554,8 @@ export declare const VftDropdownItem: import("vft/es/utils").SFCWithInstall<{
554
554
  click: (event: PointerEvent) => void;
555
555
  }, string, {
556
556
  disabled: boolean;
557
- icon: string;
558
557
  command: object | string | number;
558
+ icon: string;
559
559
  divided: boolean;
560
560
  textValue: string;
561
561
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, getCurrentInstance as k, computed as s, createElementBlock as l, openBlock as m, normalizeClass as c, unref as o, createElementVNode as z, createCommentVNode as u, renderSlot as d, createBlock as x, normalizeProps as D, mergeProps as E, createVNode as C } from "vue";
1
+ import { defineComponent as p, getCurrentInstance as k, computed as s, openBlock as m, createElementBlock as l, normalizeClass as c, unref as o, createElementVNode as z, renderSlot as u, createBlock as x, normalizeProps as D, mergeProps as E, createVNode as C, createCommentVNode as d } from "vue";
2
2
  import { VftIcon as V } from "../icon/index.js";
3
3
  import "@vueuse/core";
4
4
  import { singleAttrToObj as h, renderTNode as w, VNode as F } from "@vft/utils";
@@ -9,7 +9,7 @@ import { useNamespace as b } from "../../hooks/use-namespace/index.js";
9
9
  import "../../hooks/use-model-toggle/index.js";
10
10
  import "@popperjs/core";
11
11
  import "../../hooks/use-z-index/index.js";
12
- import { useLocale as B } from "../../locale/use-locale.js";
12
+ import B from "../../locale/use-locale.js";
13
13
  import { EmptyEnum as e } from "./constants.js";
14
14
  const I = p({
15
15
  name: "vft-empty"
@@ -88,20 +88,20 @@ const I = p({
88
88
  z("div", {
89
89
  class: c(o(r).e("image"))
90
90
  }, [
91
- a.$slots.img ? d(a.$slots, "img", { key: 0 }) : (m(), x(o(V), D(E({ key: 1 }, g.value)), null, 16))
91
+ a.$slots.img ? u(a.$slots, "img", { key: 0 }) : (m(), x(o(V), D(E({ key: 1 }, g.value)), null, 16))
92
92
  ], 2),
93
93
  i.value ? (m(), l("span", {
94
94
  key: 0,
95
95
  class: c(o(r).e("desc"))
96
96
  }, [
97
97
  C(o(F), { content: i.value }, null, 8, ["content"])
98
- ], 2)) : u("", !0),
98
+ ], 2)) : d("", !0),
99
99
  a.$slots.default ? (m(), l("div", {
100
100
  key: 1,
101
101
  class: c(o(r).e("bottom"))
102
102
  }, [
103
- d(a.$slots, "default")
104
- ], 2)) : u("", !0)
103
+ u(a.$slots, "default")
104
+ ], 2)) : d("", !0)
105
105
  ], 2));
106
106
  }
107
107
  });
@@ -1,4 +1,4 @@
1
- import { defineComponent as a, createBlock as i, openBlock as m, unref as t, normalizeClass as o, withCtx as p, createElementVNode as s, renderSlot as l } from "vue";
1
+ import { defineComponent as a, openBlock as i, createBlock as m, unref as t, normalizeClass as o, withCtx as p, createElementVNode as s, renderSlot as l } from "vue";
2
2
  import { VftFooter as n } from "../container/index.js";
3
3
  import "@vueuse/core";
4
4
  import "@vft/utils";
@@ -15,7 +15,7 @@ const c = a({
15
15
  ...c,
16
16
  setup(u) {
17
17
  const e = f("footer-layout");
18
- return (r, d) => (m(), i(t(n), {
18
+ return (r, d) => (i(), m(t(n), {
19
19
  class: o(t(e).b())
20
20
  }, {
21
21
  default: p(() => [
@@ -1,4 +1,4 @@
1
- import { defineComponent as Z, useSlots as ye, inject as E, ref as b, computed as a, watch as T, reactive as Se, toRefs as ke, provide as qe, onMounted as Ie, onBeforeUnmount as Ve, createElementBlock as we, openBlock as R, unref as f, normalizeClass as g, createBlock as G, createCommentVNode as _, createElementVNode as K, withCtx as B, resolveDynamicComponent as Ce, normalizeStyle as U, renderSlot as M, createTextVNode as Fe, toDisplayString as O, createVNode as Re, TransitionGroup as _e, nextTick as Be } from "vue";
1
+ import { defineComponent as Z, useSlots as ye, inject as E, ref as b, computed as a, watch as T, reactive as Se, toRefs as ke, provide as qe, onMounted as Ie, onBeforeUnmount as Ve, openBlock as R, createElementBlock as we, unref as f, normalizeClass as g, createBlock as G, withCtx as _, resolveDynamicComponent as Ce, normalizeStyle as K, renderSlot as B, createTextVNode as Fe, toDisplayString as U, createCommentVNode as M, createElementVNode as O, createVNode as Re, TransitionGroup as _e, nextTick as Be } from "vue";
2
2
  import { refDebounced as Me } from "@vueuse/core";
3
3
  import { isBoolean as We, getProp as W, isFunction as xe } from "@vft/utils";
4
4
  import { addUnit as H, castArray as J } from "../../utils/helper.js";
@@ -185,46 +185,46 @@ const je = ["role", "aria-labelledby"], De = Z({
185
185
  role: I.value ? "group" : void 0,
186
186
  "aria-labelledby": I.value ? f(S) : void 0
187
187
  }, [
188
- x.hideLabel ? _("", !0) : (R(), G(f(Ne), {
188
+ x.hideLabel ? M("", !0) : (R(), G(f(Ne), {
189
189
  key: 0,
190
190
  "is-auto-width": A.value.width === "auto",
191
191
  "update-all": f(o)?.labelWidth === "auto"
192
192
  }, {
193
- default: B(() => [
193
+ default: _(() => [
194
194
  k.value ? (R(), G(Ce(q.value ? "label" : "div"), {
195
195
  key: 0,
196
196
  id: f(S),
197
197
  for: q.value,
198
198
  class: g(f(s).e("label")),
199
- style: U(A.value)
199
+ style: K(A.value)
200
200
  }, {
201
- default: B(() => [
202
- M(e.$slots, "label", { label: L.value }, () => [
203
- Fe(O(L.value), 1)
201
+ default: _(() => [
202
+ B(e.$slots, "label", { label: L.value }, () => [
203
+ Fe(U(L.value), 1)
204
204
  ])
205
205
  ]),
206
206
  _: 3
207
- }, 8, ["id", "for", "class", "style"])) : _("", !0)
207
+ }, 8, ["id", "for", "class", "style"])) : M("", !0)
208
208
  ]),
209
209
  _: 3
210
210
  }, 8, ["is-auto-width", "update-all"])),
211
- K("div", {
211
+ O("div", {
212
212
  class: g(f(s).e("content")),
213
- style: U(ae.value)
213
+ style: K(ae.value)
214
214
  }, [
215
- M(e.$slots, "default"),
215
+ B(e.$slots, "default"),
216
216
  Re(_e, {
217
217
  name: `${f(s).namespace.value}-zoom-in-top`
218
218
  }, {
219
- default: B(() => [
220
- me.value ? M(e.$slots, "error", {
219
+ default: _(() => [
220
+ me.value ? B(e.$slots, "error", {
221
221
  key: 0,
222
222
  error: n.value
223
223
  }, () => [
224
- K("div", {
224
+ O("div", {
225
225
  class: g(ne.value)
226
- }, O(n.value), 3)
227
- ]) : _("", !0)
226
+ }, U(n.value), 3)
227
+ ]) : M("", !0)
228
228
  ]),
229
229
  _: 3
230
230
  }, 8, ["name"])
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, getCurrentInstance as q, ref as x, reactive as y, computed as F, watch as z, provide as T, toRefs as $, createElementBlock as j, openBlock as M, normalizeClass as W, renderSlot as A } from "vue";
1
+ import { defineComponent as b, getCurrentInstance as q, ref as x, reactive as y, computed as F, watch as z, provide as T, toRefs as $, openBlock as j, createElementBlock as M, normalizeClass as W, renderSlot as A } from "vue";
2
2
  import "@vueuse/core";
3
3
  import { isFunction as K } from "@vft/utils";
4
4
  import { debugWarn as n } from "../../utils/error.js";
@@ -133,7 +133,7 @@ const H = b({
133
133
  * @description Scroll to the specified fields.
134
134
  */
135
135
  scrollToField: S
136
- }), (e, t) => (M(), j("form", {
136
+ }), (e, t) => (j(), M("form", {
137
137
  ref_key: "formRef",
138
138
  ref: d,
139
139
  class: W(C.value)
@@ -1,4 +1,4 @@
1
- import { defineComponent as r, createBlock as p, openBlock as m, unref as o, mergeProps as a } from "vue";
1
+ import { defineComponent as r, openBlock as p, createBlock as m, unref as o, mergeProps as a } from "vue";
2
2
  import { useFullscreen as u } from "@vft/use";
3
3
  import { delObjAttrNotExist as f } from "@vft/utils";
4
4
  import { VftIconText as x } from "../icon-text/index.js";
@@ -11,7 +11,7 @@ import { useNamespace as _ } 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 v } from "../../locale/use-locale.js";
14
+ import v from "../../locale/use-locale.js";
15
15
  const y = r({
16
16
  name: "full-screen"
17
17
  }), A = /* @__PURE__ */ r({
@@ -35,7 +35,7 @@ const y = r({
35
35
  },
36
36
  setup(n) {
37
37
  const l = n, c = _("full-screen"), { t: e } = v(), { toggle: i, isFullscreen: t } = u(), s = d().value;
38
- return (B, C) => (m(), p(o(x), a({
38
+ return (B, C) => (p(), m(o(x), a({
39
39
  class: o(c).b(),
40
40
  distance: 2,
41
41
  "hover-color": o(s),
@@ -1,4 +1,4 @@
1
- import { defineComponent as d, createBlock as n, openBlock as e, unref as t, normalizeClass as m, withCtx as r, createVNode as f, createCommentVNode as l, createElementVNode as u, createElementBlock as c, renderSlot as i, normalizeProps as p, mergeProps as g } from "vue";
1
+ import { defineComponent as d, openBlock as e, createBlock as n, unref as t, normalizeClass as m, withCtx as r, createVNode as f, createElementVNode as u, createElementBlock as c, normalizeProps as p, mergeProps as g, createCommentVNode as l, renderSlot as i } from "vue";
2
2
  import { VftHeader as h, VftContainer as C, VftMain as V, VftFooter as k } from "../container/index.js";
3
3
  import { VftLogo as _ } from "../logo/index.js";
4
4
  import "@vueuse/core";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as V, computed as S, getCurrentInstance as Y, useSlots as q, ref as F, createVNode as c, mergeProps as w, isVNode as K } from "vue";
2
2
  import { useRouterHelper as Q } from "@vft/router";
3
3
  import { isUrl as X } from "@vft/utils";
4
- import { VftMenu as Z, VftSubMenu as _, VftMenuItem as ee, VftMenuItemGroup as te } from "../menu/index.js";
4
+ import { VftMenu as Z, VftSubMenu as _, VftMenuItemGroup as ee, VftMenuItem as te } from "../menu/index.js";
5
5
  import "@vueuse/core";
6
6
  import "../config-provider/hooks/use-global-config.js";
7
7
  import "lodash-es";
@@ -71,7 +71,7 @@ const ue = V({
71
71
  ...t.attrMapping
72
72
  })), B = Y(), h = q(), O = F(), T = B.appContext.config.globalProperties.$router, v = (e, o, a) => {
73
73
  const i = e[l.value.path], r = e[l.value.title], n = e?.[l.value.index], M = e?.[l.value.icon], m = !!e?.[l.value.disabled], d = t.disabledJudgeTurnOver ? !m : m, g = n || i || o + r;
74
- return c(ee, w(e, {
74
+ return c(te, w(e, {
75
75
  key: g,
76
76
  index: String(g),
77
77
  icon: M,
@@ -92,7 +92,7 @@ const ue = V({
92
92
  p("close", e);
93
93
  }, z = (e) => {
94
94
  p("sub-menu-click", e);
95
- }, H = (e, o) => !t.enableScroll || !e ? e : o > t.scrollThreshold ? c(te, {
95
+ }, H = (e, o) => !t.enableScroll || !e ? e : o > t.scrollThreshold ? c(ee, {
96
96
  style: {
97
97
  maxHeight: t.scrollMaxHeight,
98
98
  overflowY: "auto"
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, computed as t, createElementBlock as c, openBlock as s, normalizeStyle as l, normalizeClass as m, unref as i } from "vue";
1
+ import { defineComponent as f, computed as t, openBlock as c, createElementBlock as s, normalizeStyle as l, normalizeClass as m, unref as i } from "vue";
2
2
  import { isString as y } from "@vft/utils";
3
3
  import "../config-provider/index.js";
4
4
  import "@vueuse/core";
@@ -37,13 +37,13 @@ const z = ["src"], I = f({
37
37
  "icon"
38
38
  )
39
39
  ), u = (a) => a?.includes("/"), v = t(() => u(o.icon)), d = t(() => e.value?.iconifyPrefixClass && o.icon && y(o.icon) ? o.icon.startsWith(e.value?.iconifyPrefixClass) : !1).value ? "" : e.value?.iconfontClass || "";
40
- return (a, x) => v.value ? (s(), c("img", {
40
+ return (a, x) => v.value ? (c(), s("img", {
41
41
  key: 0,
42
42
  class: m(i(n).e("image")),
43
43
  src: o.icon,
44
44
  alt: "",
45
45
  style: l(r.value)
46
- }, null, 14, z)) : (s(), c("i", {
46
+ }, null, 14, z)) : (c(), s("i", {
47
47
  key: 1,
48
48
  class: m([i(n).b(), o.icon, i(d)]),
49
49
  style: l(r.value)
@@ -1,4 +1,4 @@
1
- import { defineComponent as C, computed as o, createElementBlock as f, openBlock as l, normalizeStyle as k, normalizeClass as S, unref as r, createBlock as c, createCommentVNode as y, mergeProps as s, normalizeProps as b, toDisplayString as I } from "vue";
1
+ import { defineComponent as C, computed as o, openBlock as l, createElementBlock as f, normalizeStyle as k, normalizeClass as S, unref as r, createBlock as c, mergeProps as s, createCommentVNode as y, normalizeProps as b, toDisplayString as I } from "vue";
2
2
  import { VftClampTooltip as w } from "../clamp-tooltip/index.js";
3
3
  import { VftIcon as h } from "../icon/index.js";
4
4
  import "@vueuse/core";
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, ref as p, computed as P, createElementBlock as n, openBlock as t, Fragment as m, renderList as _, withDirectives as g, createCommentVNode as k, createBlock as v, vShow as L } from "vue";
1
+ import { defineComponent as c, ref as p, computed as P, openBlock as t, createElementBlock as n, Fragment as m, renderList as _, withDirectives as g, createBlock as k, vShow as v, createCommentVNode as L } from "vue";
2
2
  import y from "./iframe-page.vue2.js";
3
3
  const B = c({
4
4
  name: "vft-iframe-layout"
@@ -19,7 +19,7 @@ const B = c({
19
19
  }), (a, f) => (t(!0), n(m, null, _(o.iframePages, (e, h) => (t(), n(m, {
20
20
  key: e.query ? e.fullPath : e.path
21
21
  }, [
22
- e.meta.frameSrc && e.meta.loaded ? g((t(), v(y, {
22
+ e.meta.frameSrc && e.meta.loaded ? g((t(), k(y, {
23
23
  key: 0,
24
24
  ref_for: !0,
25
25
  ref_key: "iframePageRef",
@@ -27,8 +27,8 @@ const B = c({
27
27
  onLoaded: (S) => s(e, h),
28
28
  "frame-src": e.meta.frameSrc
29
29
  }, null, 8, ["onLoaded", "frame-src"])), [
30
- [L, e.fullPath === (o.currentPath || a.$route.fullPath)]
31
- ]) : k("", !0)
30
+ [v, e.fullPath === (o.currentPath || a.$route.fullPath)]
31
+ ]) : L("", !0)
32
32
  ], 64))), 128));
33
33
  }
34
34
  });
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, ref as a, onMounted as u, nextTick as t, createElementBlock as w, openBlock as _, normalizeClass as v, unref as g } from "vue";
1
+ import { defineComponent as n, ref as a, onMounted as u, nextTick as t, openBlock as w, createElementBlock as _, normalizeClass as v, unref as g } 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 h = ["src"], k = n({
35
35
  });
36
36
  }), s({
37
37
  isLoading: o
38
- }), (d, x) => (_(), w("iframe", {
38
+ }), (d, x) => (w(), _("iframe", {
39
39
  ref_key: "iframeRef",
40
40
  ref: e,
41
41
  sandbox: "allow-scripts allow-storage-access-by-user-activation allow-presentation allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-downloads allow-top-navigation allow-modals allow-forms allow-top-navigation-by-user-activation",