vft 0.0.32 → 0.0.35

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 (280) hide show
  1. package/dist/index.css +1 -1
  2. package/es/components/avatar/avatar.vue2.mjs +3 -2
  3. package/es/components/avatar/index.mjs +4 -3
  4. package/es/components/back-top/back-top.vue.d.ts +2 -2
  5. package/es/components/back-top/back-top.vue2.mjs +3 -2
  6. package/es/components/back-top/index.d.ts +2 -2
  7. package/es/components/back-top/index.mjs +4 -3
  8. package/es/components/back-top/use-back-top.mjs +11 -10
  9. package/es/components/clamp/clamp.vue2.mjs +10 -9
  10. package/es/components/clamp/index.mjs +4 -3
  11. package/es/components/clamp-toggle/clamp-toggle.vue2.mjs +3 -2
  12. package/es/components/clamp-toggle/index.mjs +4 -3
  13. package/es/components/collapse-transition/src/collapse-transition.vue2.mjs +6 -5
  14. package/es/components/config-provider/config-provider.vue2.mjs +3 -2
  15. package/es/components/config-provider/hooks/use-global-config.d.ts +1 -1
  16. package/es/components/config-provider/hooks/use-global-config.mjs +5 -4
  17. package/es/components/config-provider/index.mjs +11 -10
  18. package/es/components/context-menu/context-menu.vue2.mjs +4 -2
  19. package/es/components/descriptions/description-item.vue2.mjs +6 -5
  20. package/es/components/descriptions/description.vue2.mjs +14 -13
  21. package/es/components/descriptions/descriptions-cell.mjs +12 -11
  22. package/es/components/descriptions/descriptions-row.vue2.mjs +12 -11
  23. package/es/components/descriptions/index.mjs +6 -5
  24. package/es/components/divider/divider.vue2.mjs +6 -5
  25. package/es/components/divider/index.mjs +4 -3
  26. package/es/components/empty/empty.vue2.mjs +3 -2
  27. package/es/components/empty/index.mjs +6 -5
  28. package/es/components/exception/index.mjs +4 -3
  29. package/es/components/focus-trap/focus-trap.vue2.mjs +1 -1
  30. package/es/components/footer-layout/footer-layout.vue2.mjs +10 -9
  31. package/es/components/footer-layout/index.mjs +4 -3
  32. package/es/components/full-screen/full-screen.vue2.mjs +7 -6
  33. package/es/components/full-screen/index.mjs +4 -3
  34. package/es/components/header-layout/header-layout.vue2.mjs +3 -2
  35. package/es/components/header-layout/index.mjs +4 -3
  36. package/es/components/icon/icon.vue2.mjs +7 -6
  37. package/es/components/icon/index.mjs +5 -4
  38. package/es/components/icon-text/icon-text.vue.d.ts +2 -2
  39. package/es/components/icon-text/icon-text.vue2.mjs +10 -9
  40. package/es/components/icon-text/index.d.ts +2 -2
  41. package/es/components/icon-text/index.mjs +4 -3
  42. package/es/components/iframe-layout/iframe-layout.vue2.mjs +3 -2
  43. package/es/components/iframe-layout/iframe-page.vue2.mjs +3 -2
  44. package/es/components/iframe-layout/index.mjs +4 -3
  45. package/es/components/image/image.vue2.mjs +8 -7
  46. package/es/components/image/index.mjs +4 -3
  47. package/es/components/input/index.mjs +4 -3
  48. package/es/components/input/input.vue2.mjs +3 -2
  49. package/es/components/link/index.mjs +4 -3
  50. package/es/components/link/link.vue2.mjs +3 -2
  51. package/es/components/loading/loading.mjs +56 -50
  52. package/es/components/loading/service.mjs +20 -19
  53. package/es/components/logo/index.mjs +4 -3
  54. package/es/components/logo/logo.vue2.mjs +10 -9
  55. package/es/components/md-code-demo/index.mjs +4 -3
  56. package/es/components/md-code-demo/md-code-demo.mjs +4 -2
  57. package/es/components/md-code-tabs/index.mjs +4 -3
  58. package/es/components/md-comment/index.mjs +4 -3
  59. package/es/components/md-comment/md-comment.vue2.mjs +1 -1
  60. package/es/components/md-container/index.mjs +4 -3
  61. package/es/components/md-container/md-container.vue2.mjs +43 -42
  62. package/es/components/md-tabs/index.mjs +4 -3
  63. package/es/components/md-vue-playground/index.mjs +4 -3
  64. package/es/components/md-vue-playground/md-vue-playground.vue2.mjs +11 -10
  65. package/es/components/menu/index.d.ts +4 -4
  66. package/es/components/menu/index.mjs +9 -8
  67. package/es/components/menu/menu-collapse-transition.vue2.mjs +3 -2
  68. package/es/components/menu/menu-item-group.vue2.mjs +8 -7
  69. package/es/components/menu/menu-item.vue.d.ts +2 -2
  70. package/es/components/menu/menu-item.vue2.mjs +3 -2
  71. package/es/components/menu/menu.vue2.mjs +3 -2
  72. package/es/components/menu/sub-menu.vue2.mjs +3 -2
  73. package/es/components/menu/use-menu-css-var.mjs +3 -2
  74. package/es/components/message/index.mjs +8 -7
  75. package/es/components/message/message.vue2.mjs +5 -4
  76. package/es/components/message/method.mjs +17 -15
  77. package/es/components/multiple-tabs/multiple-tabs.vue2.mjs +3 -2
  78. package/es/components/multiple-tabs/tab-content.vue2.mjs +4 -2
  79. package/es/components/multiple-tabs/use/use-tab-dropdown.mjs +16 -16
  80. package/es/components/overlay/index.mjs +4 -3
  81. package/es/components/overlay/overlay.vue2.mjs +16 -15
  82. package/es/components/page-wrapper/index.mjs +4 -3
  83. package/es/components/page-wrapper/page-wrapper.vue2.mjs +6 -5
  84. package/es/components/pagination/components/jumper.vue2.mjs +15 -14
  85. package/es/components/pagination/components/pager.vue2.mjs +3 -2
  86. package/es/components/pagination/components/sizes.vue2.mjs +3 -2
  87. package/es/components/pagination/components/total.vue2.mjs +5 -4
  88. package/es/components/pagination/index.mjs +9 -8
  89. package/es/components/pagination/pagination.mjs +19 -18
  90. package/es/components/popover/index.d.ts +2 -2
  91. package/es/components/popover/index.mjs +4 -3
  92. package/es/components/popover/popover.vue.d.ts +2 -2
  93. package/es/components/popover/popover.vue2.mjs +3 -2
  94. package/es/components/popper/arrow.vue2.mjs +3 -2
  95. package/es/components/popper/composables/use-content-dom.mjs +3 -2
  96. package/es/components/popper/composables/use-content.mjs +4 -2
  97. package/es/components/popper/index.mjs +10 -9
  98. package/es/components/popper/trigger.vue2.mjs +11 -9
  99. package/es/components/qrcode/index.mjs +4 -3
  100. package/es/components/qrcode/qrcode.vue2.mjs +6 -5
  101. package/es/components/result/index.mjs +4 -3
  102. package/es/components/result/result.vue2.mjs +3 -2
  103. package/es/components/router-view-content/index.d.ts +6 -6
  104. package/es/components/router-view-content/index.mjs +4 -3
  105. package/es/components/router-view-content/router-view-content.vue.d.ts +6 -6
  106. package/es/components/router-view-content/router-view-content.vue2.mjs +17 -16
  107. package/es/components/search/index.mjs +4 -3
  108. package/es/components/search/search.vue2.mjs +3 -2
  109. package/es/components/side-menu/index.mjs +4 -3
  110. package/es/components/side-menu/side-menu.vue2.mjs +14 -12
  111. package/es/components/slot/only-child.mjs +3 -2
  112. package/es/components/tabs/index.mjs +9 -8
  113. package/es/components/tabs/tab-bar.vue2.mjs +3 -2
  114. package/es/components/tabs/tab-nav.vue2.mjs +3 -2
  115. package/es/components/tabs/tab-pane.vue2.mjs +3 -2
  116. package/es/components/tabs/tabs.vue2.mjs +3 -2
  117. package/es/components/tag/index.d.ts +2 -2
  118. package/es/components/tag/index.mjs +4 -3
  119. package/es/components/tag/tag.vue.d.ts +2 -2
  120. package/es/components/tag/tag.vue2.mjs +3 -2
  121. package/es/components/tooltip/content.vue2.mjs +12 -11
  122. package/es/components/tooltip/index.d.ts +2 -2
  123. package/es/components/tooltip/index.mjs +4 -3
  124. package/es/components/tooltip/tooltip.vue.d.ts +2 -2
  125. package/es/components/tooltip/tooltip.vue2.mjs +12 -10
  126. package/es/components/tooltip/trigger.vue2.mjs +7 -6
  127. package/es/components/tooltip/utils.mjs +6 -4
  128. package/es/hooks/use-cursor/index.mjs +4 -4
  129. package/es/hooks/use-id/index.mjs +6 -5
  130. package/es/hooks/use-namespace/index.d.ts +1 -1
  131. package/es/hooks/use-namespace/index.mjs +27 -26
  132. package/es/hooks/use-ordered-children/index.mjs +5 -4
  133. package/es/index.mjs +53 -51
  134. package/es/package.json.mjs +1 -1
  135. package/es/utils/index.d.ts +1 -0
  136. package/es/utils/index.mjs +19 -17
  137. package/es/utils/ns-cover.d.ts +1 -0
  138. package/es/utils/ns-cover.mjs +7 -0
  139. package/lib/components/avatar/avatar.vue2.js +1 -1
  140. package/lib/components/avatar/index.js +1 -1
  141. package/lib/components/back-top/back-top.vue.d.ts +2 -2
  142. package/lib/components/back-top/back-top.vue2.js +1 -1
  143. package/lib/components/back-top/index.d.ts +2 -2
  144. package/lib/components/back-top/index.js +1 -1
  145. package/lib/components/back-top/use-back-top.js +1 -1
  146. package/lib/components/clamp/clamp.vue2.js +1 -1
  147. package/lib/components/clamp/index.js +1 -1
  148. package/lib/components/clamp-toggle/clamp-toggle.vue2.js +1 -1
  149. package/lib/components/clamp-toggle/index.js +1 -1
  150. package/lib/components/collapse-transition/src/collapse-transition.vue2.js +1 -1
  151. package/lib/components/config-provider/config-provider.vue2.js +1 -1
  152. package/lib/components/config-provider/hooks/use-global-config.d.ts +1 -1
  153. package/lib/components/config-provider/hooks/use-global-config.js +1 -1
  154. package/lib/components/config-provider/index.js +1 -1
  155. package/lib/components/context-menu/context-menu.vue2.js +1 -1
  156. package/lib/components/descriptions/description-item.vue2.js +1 -1
  157. package/lib/components/descriptions/description.vue2.js +1 -1
  158. package/lib/components/descriptions/descriptions-cell.js +1 -1
  159. package/lib/components/descriptions/descriptions-row.vue2.js +1 -1
  160. package/lib/components/descriptions/index.js +1 -1
  161. package/lib/components/divider/divider.vue2.js +1 -1
  162. package/lib/components/divider/index.js +1 -1
  163. package/lib/components/empty/empty.vue2.js +1 -1
  164. package/lib/components/empty/index.js +1 -1
  165. package/lib/components/exception/index.js +1 -1
  166. package/lib/components/focus-trap/focus-trap.vue2.js +1 -1
  167. package/lib/components/footer-layout/footer-layout.vue2.js +1 -1
  168. package/lib/components/footer-layout/index.js +1 -1
  169. package/lib/components/full-screen/full-screen.vue2.js +1 -1
  170. package/lib/components/full-screen/index.js +1 -1
  171. package/lib/components/header-layout/header-layout.vue2.js +1 -1
  172. package/lib/components/header-layout/index.js +1 -1
  173. package/lib/components/icon/icon.vue2.js +1 -1
  174. package/lib/components/icon/index.js +1 -1
  175. package/lib/components/icon-text/icon-text.vue.d.ts +2 -2
  176. package/lib/components/icon-text/icon-text.vue2.js +1 -1
  177. package/lib/components/icon-text/index.d.ts +2 -2
  178. package/lib/components/icon-text/index.js +1 -1
  179. package/lib/components/iframe-layout/iframe-layout.vue2.js +1 -1
  180. package/lib/components/iframe-layout/iframe-page.vue2.js +1 -1
  181. package/lib/components/iframe-layout/index.js +1 -1
  182. package/lib/components/image/image.vue2.js +1 -1
  183. package/lib/components/image/index.js +1 -1
  184. package/lib/components/input/index.js +1 -1
  185. package/lib/components/input/input.vue2.js +1 -1
  186. package/lib/components/link/index.js +1 -1
  187. package/lib/components/link/link.vue2.js +1 -1
  188. package/lib/components/loading/loading.js +1 -1
  189. package/lib/components/loading/service.js +1 -1
  190. package/lib/components/logo/index.js +1 -1
  191. package/lib/components/logo/logo.vue2.js +1 -1
  192. package/lib/components/md-code-demo/index.js +1 -1
  193. package/lib/components/md-code-demo/md-code-demo.js +1 -1
  194. package/lib/components/md-code-tabs/index.js +1 -1
  195. package/lib/components/md-comment/index.js +1 -1
  196. package/lib/components/md-comment/md-comment.vue2.js +1 -1
  197. package/lib/components/md-container/index.js +1 -1
  198. package/lib/components/md-container/md-container.vue2.js +1 -1
  199. package/lib/components/md-tabs/index.js +1 -1
  200. package/lib/components/md-vue-playground/index.js +1 -1
  201. package/lib/components/md-vue-playground/md-vue-playground.vue2.js +1 -1
  202. package/lib/components/menu/index.d.ts +4 -4
  203. package/lib/components/menu/index.js +1 -1
  204. package/lib/components/menu/menu-collapse-transition.vue2.js +1 -1
  205. package/lib/components/menu/menu-item-group.vue2.js +1 -1
  206. package/lib/components/menu/menu-item.vue.d.ts +2 -2
  207. package/lib/components/menu/menu-item.vue2.js +1 -1
  208. package/lib/components/menu/menu.vue2.js +1 -1
  209. package/lib/components/menu/sub-menu.vue2.js +1 -1
  210. package/lib/components/menu/use-menu-css-var.js +1 -1
  211. package/lib/components/message/index.js +1 -1
  212. package/lib/components/message/message.vue2.js +1 -1
  213. package/lib/components/message/method.js +1 -1
  214. package/lib/components/multiple-tabs/multiple-tabs.vue2.js +1 -1
  215. package/lib/components/multiple-tabs/tab-content.vue2.js +1 -1
  216. package/lib/components/multiple-tabs/use/use-tab-dropdown.js +1 -1
  217. package/lib/components/overlay/index.js +1 -1
  218. package/lib/components/overlay/overlay.vue2.js +1 -1
  219. package/lib/components/page-wrapper/index.js +1 -1
  220. package/lib/components/page-wrapper/page-wrapper.vue2.js +1 -1
  221. package/lib/components/pagination/components/jumper.vue2.js +1 -1
  222. package/lib/components/pagination/components/pager.vue2.js +1 -1
  223. package/lib/components/pagination/components/sizes.vue2.js +1 -1
  224. package/lib/components/pagination/components/total.vue2.js +1 -1
  225. package/lib/components/pagination/index.js +1 -1
  226. package/lib/components/pagination/pagination.js +1 -1
  227. package/lib/components/popover/index.d.ts +2 -2
  228. package/lib/components/popover/index.js +1 -1
  229. package/lib/components/popover/popover.vue.d.ts +2 -2
  230. package/lib/components/popover/popover.vue2.js +1 -1
  231. package/lib/components/popper/arrow.vue2.js +1 -1
  232. package/lib/components/popper/composables/use-content-dom.js +1 -1
  233. package/lib/components/popper/composables/use-content.js +1 -1
  234. package/lib/components/popper/index.js +1 -1
  235. package/lib/components/popper/trigger.vue2.js +1 -1
  236. package/lib/components/qrcode/index.js +1 -1
  237. package/lib/components/qrcode/qrcode.vue2.js +1 -1
  238. package/lib/components/result/index.js +1 -1
  239. package/lib/components/result/result.vue2.js +1 -1
  240. package/lib/components/router-view-content/index.d.ts +6 -6
  241. package/lib/components/router-view-content/index.js +1 -1
  242. package/lib/components/router-view-content/router-view-content.vue.d.ts +6 -6
  243. package/lib/components/router-view-content/router-view-content.vue2.js +1 -1
  244. package/lib/components/search/index.js +1 -1
  245. package/lib/components/search/search.vue2.js +1 -1
  246. package/lib/components/side-menu/index.js +1 -1
  247. package/lib/components/side-menu/side-menu.vue2.js +1 -1
  248. package/lib/components/slot/only-child.js +1 -1
  249. package/lib/components/tabs/index.js +1 -1
  250. package/lib/components/tabs/tab-bar.vue2.js +1 -1
  251. package/lib/components/tabs/tab-nav.vue2.js +1 -1
  252. package/lib/components/tabs/tab-pane.vue2.js +1 -1
  253. package/lib/components/tabs/tabs.vue2.js +1 -1
  254. package/lib/components/tag/index.d.ts +2 -2
  255. package/lib/components/tag/index.js +1 -1
  256. package/lib/components/tag/tag.vue.d.ts +2 -2
  257. package/lib/components/tag/tag.vue2.js +1 -1
  258. package/lib/components/tooltip/content.vue2.js +1 -1
  259. package/lib/components/tooltip/index.d.ts +2 -2
  260. package/lib/components/tooltip/index.js +1 -1
  261. package/lib/components/tooltip/tooltip.vue.d.ts +2 -2
  262. package/lib/components/tooltip/tooltip.vue2.js +1 -1
  263. package/lib/components/tooltip/trigger.vue2.js +1 -1
  264. package/lib/components/tooltip/utils.js +1 -1
  265. package/lib/hooks/use-cursor/index.js +1 -1
  266. package/lib/hooks/use-id/index.js +1 -1
  267. package/lib/hooks/use-namespace/index.d.ts +1 -1
  268. package/lib/hooks/use-namespace/index.js +1 -1
  269. package/lib/hooks/use-ordered-children/index.js +1 -1
  270. package/lib/index.js +1 -1
  271. package/lib/package.json.js +1 -1
  272. package/lib/utils/index.d.ts +1 -0
  273. package/lib/utils/index.js +1 -1
  274. package/lib/utils/ns-cover.d.ts +1 -0
  275. package/lib/utils/ns-cover.js +1 -0
  276. package/package.json +6 -6
  277. package/theme-style/index.css +1 -1
  278. package/theme-style/src/side-menu.scss +1 -0
  279. package/theme-style/vft-md-basic-tabs.css +0 -0
  280. package/theme-style/vft-side-menu.css +1 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as s, ref as d, onMounted as w, openBlock as i, createElementBlock as p, createBlock as g, resolveDynamicComponent as v, unref as c } from "vue";
1
+ import { defineComponent as s, ref as d, onMounted as p, openBlock as i, createElementBlock as w, createBlock as g, resolveDynamicComponent as v, unref as c } from "vue";
2
2
  import { toDataURL as h } from "qrcode";
3
3
  import { useNamespace as C } from "../../hooks/use-namespace/index.mjs";
4
4
  import "@popperjs/core";
@@ -7,13 +7,14 @@ import "../../hooks/use-z-index/index.mjs";
7
7
  import "@vueuse/core";
8
8
  import "@vue/shared";
9
9
  import { downloadByUrl as y } from "@vft/utils";
10
+ import "../../utils/ns-cover.mjs";
10
11
  import { toCanvas as E } from "./toCanvas.mjs";
11
12
  const L = (
12
13
  /* hoist-static*/
13
14
  C("qrcode")
14
15
  ), k = s({
15
16
  name: L.b()
16
- }), q = /* @__PURE__ */ s({
17
+ }), N = /* @__PURE__ */ s({
17
18
  ...k,
18
19
  props: {
19
20
  value: null,
@@ -61,13 +62,13 @@ const L = (
61
62
  fileName: o
62
63
  });
63
64
  }
64
- w(l);
65
+ p(l);
65
66
  const m = getCurrentInstance();
66
67
  return watch(m.props, () => {
67
68
  l();
68
69
  }, { deep: !0 }), u({
69
70
  download: f
70
- }), (o, e) => (i(), p("div", null, [
71
+ }), (o, e) => (i(), w("div", null, [
71
72
  (i(), g(v(t.tag), {
72
73
  ref_key: "wrapRef",
73
74
  ref: r
@@ -76,5 +77,5 @@ const L = (
76
77
  }
77
78
  });
78
79
  export {
79
- q as default
80
+ N as default
80
81
  };
@@ -2,9 +2,10 @@ import { withInstall as t } from "../../utils/vue/install.mjs";
2
2
  import "vue";
3
3
  import "@vue/shared";
4
4
  import "@vft/utils";
5
+ import "../../utils/ns-cover.mjs";
5
6
  import o from "./result.vue2.mjs";
6
- const s = t(o);
7
+ const a = t(o);
7
8
  export {
8
- s as VftResult,
9
- s as default
9
+ a as VftResult,
10
+ a as default
10
11
  };
@@ -6,6 +6,7 @@ import "lodash";
6
6
  import "../../hooks/use-z-index/index.mjs";
7
7
  import "@vueuse/core";
8
8
  import "@vue/shared";
9
+ import "../../utils/ns-cover.mjs";
9
10
  import "../divider/index.mjs";
10
11
  import { VftIcon as C } from "../icon/index.mjs";
11
12
  import "../avatar/index.mjs";
@@ -57,7 +58,7 @@ const i = (
57
58
  x("result")
58
59
  ), I = l({
59
60
  name: i.b()
60
- }), Tt = /* @__PURE__ */ l({
61
+ }), gt = /* @__PURE__ */ l({
61
62
  ...I,
62
63
  props: {
63
64
  title: null,
@@ -96,5 +97,5 @@ const i = (
96
97
  }
97
98
  });
98
99
  export {
99
- Tt as default
100
+ gt as default
100
101
  };
@@ -1,7 +1,7 @@
1
1
  export declare const VftRouterViewContent: import("vft/es/utils").SFCWithInstall<import("vue").DefineComponent<{
2
- tabStore: {
3
- type: import("vue").PropType<any>;
4
- required: false;
2
+ cacheList: {
3
+ type: import("vue").PropType<string[]>;
4
+ required: true;
5
5
  };
6
6
  openKeepAlive: {
7
7
  type: import("vue").PropType<boolean | undefined>;
@@ -24,9 +24,9 @@ export declare const VftRouterViewContent: import("vft/es/utils").SFCWithInstall
24
24
  required: false;
25
25
  };
26
26
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
- tabStore: {
28
- type: import("vue").PropType<any>;
29
- required: false;
27
+ cacheList: {
28
+ type: import("vue").PropType<string[]>;
29
+ required: true;
30
30
  };
31
31
  openKeepAlive: {
32
32
  type: import("vue").PropType<boolean | undefined>;
@@ -2,9 +2,10 @@ import { withInstall as t } from "../../utils/vue/install.mjs";
2
2
  import "vue";
3
3
  import "@vue/shared";
4
4
  import "@vft/utils";
5
+ import "../../utils/ns-cover.mjs";
5
6
  import o from "./router-view-content.vue2.mjs";
6
- const f = t(o);
7
+ const n = t(o);
7
8
  export {
8
- f as VftRouterViewContent,
9
- f as default
9
+ n as VftRouterViewContent,
10
+ n as default
10
11
  };
@@ -1,9 +1,9 @@
1
1
  import type { PropType as __PropType } from 'vue';
2
2
  import { type Component } from 'vue';
3
3
  declare const _sfc_main: import("vue").DefineComponent<{
4
- tabStore: {
5
- type: __PropType<any>;
6
- required: false;
4
+ cacheList: {
5
+ type: __PropType<string[]>;
6
+ required: true;
7
7
  };
8
8
  openKeepAlive: {
9
9
  type: __PropType<boolean | undefined>;
@@ -26,9 +26,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
26
26
  required: false;
27
27
  };
28
28
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
- tabStore: {
30
- type: __PropType<any>;
31
- required: false;
29
+ cacheList: {
30
+ type: __PropType<string[]>;
31
+ required: true;
32
32
  };
33
33
  openKeepAlive: {
34
34
  type: __PropType<boolean | undefined>;
@@ -1,21 +1,22 @@
1
- import { defineComponent as s, computed as u, resolveComponent as C, openBlock as l, createBlock as i, withCtx as g, KeepAlive as y, unref as o, resolveDynamicComponent as d, createCommentVNode as x } from "vue";
2
- import { getRouterKeyPath as b } from "@vft/router";
3
- import { useNamespace as A } from "../../hooks/use-namespace/index.mjs";
1
+ import { defineComponent as s, computed as m, resolveComponent as y, openBlock as l, createBlock as i, withCtx as C, KeepAlive as g, unref as o, resolveDynamicComponent as d, createCommentVNode as x } from "vue";
2
+ import { getRouterKeyPath as A } from "@vft/router";
3
+ import { useNamespace as B } from "../../hooks/use-namespace/index.mjs";
4
4
  import "@popperjs/core";
5
5
  import "lodash";
6
6
  import "../../hooks/use-z-index/index.mjs";
7
7
  import "@vueuse/core";
8
8
  import "@vue/shared";
9
9
  import "@vft/utils";
10
- const B = (
10
+ import "../../utils/ns-cover.mjs";
11
+ const k = (
11
12
  /* hoist-static*/
12
- A("router-view-content")
13
- ), k = s({
14
- name: B.b()
13
+ B("router-view-content")
14
+ ), K = s({
15
+ name: k.b()
15
16
  }), D = /* @__PURE__ */ s({
16
- ...k,
17
+ ...K,
17
18
  props: {
18
- tabStore: null,
19
+ cacheList: null,
19
20
  openKeepAlive: { type: Boolean, default: !0 },
20
21
  isReloadFlag: { type: Boolean },
21
22
  pageErrorStatus: { type: Boolean },
@@ -23,7 +24,7 @@ const B = (
23
24
  exceptionComp: null
24
25
  },
25
26
  setup(t) {
26
- const f = u(() => t.openKeepAlive ? t.tabStore.getCachedTabList : []), m = u(() => (e) => t.enableErrorHandle && t.pageErrorStatus && t.exceptionComp || e), v = u(() => (e) => {
27
+ const f = m(() => t.openKeepAlive ? t.cacheList : []), u = m(() => (e) => t.enableErrorHandle && t.pageErrorStatus && t.exceptionComp || e), v = m(() => (e) => {
27
28
  var a, r, n;
28
29
  let c = e.name;
29
30
  return (a = e.meta) != null && a.currentActivePath && (c = (n = (r = e.matched) == null ? void 0 : r.filter((h) => {
@@ -32,18 +33,18 @@ const B = (
32
33
  })) == null ? void 0 : n[0].name), t.isReloadFlag ? void 0 : c;
33
34
  });
34
35
  return (e, c) => {
35
- const a = C("router-view");
36
+ const a = y("router-view");
36
37
  return l(), i(a, null, {
37
- default: g(({ Component: r, route: n }) => [
38
- t.openKeepAlive ? (l(), i(y, {
38
+ default: C(({ Component: r, route: n }) => [
39
+ t.openKeepAlive ? (l(), i(g, {
39
40
  key: 0,
40
41
  include: o(f),
41
42
  exclude: o(v)(n)
42
43
  }, [
43
- t.isReloadFlag ? (l(), i(d(o(m)(r)), {
44
- key: o(b)(n)
44
+ t.isReloadFlag ? (l(), i(d(o(u)(r)), {
45
+ key: o(A)(n)
45
46
  })) : x("", !0)
46
- ], 1032, ["include", "exclude"])) : (l(), i(d(o(m)(r)), {
47
+ ], 1032, ["include", "exclude"])) : (l(), i(d(o(u)(r)), {
47
48
  key: n.fullPath
48
49
  }))
49
50
  ]),
@@ -2,9 +2,10 @@ import { withInstall as t } from "../../utils/vue/install.mjs";
2
2
  import "vue";
3
3
  import "@vue/shared";
4
4
  import "@vft/utils";
5
+ import "../../utils/ns-cover.mjs";
5
6
  import o from "./search.vue2.mjs";
6
- const f = t(o);
7
+ const s = t(o);
7
8
  export {
8
- f as VftSearch,
9
- f as default
9
+ s as VftSearch,
10
+ s as default
10
11
  };
@@ -52,12 +52,13 @@ import "lodash";
52
52
  import "../../hooks/use-z-index/index.mjs";
53
53
  import { useTimeoutFn as M } from "@vueuse/core";
54
54
  import "@vue/shared";
55
+ import "../../utils/ns-cover.mjs";
55
56
  const u = (
56
57
  /* hoist-static*/
57
58
  W("search")
58
59
  ), U = C({
59
60
  name: u.b()
60
- }), je = /* @__PURE__ */ C({
61
+ }), qe = /* @__PURE__ */ C({
61
62
  ...U,
62
63
  props: {
63
64
  modelValue: { default: "" },
@@ -185,5 +186,5 @@ const u = (
185
186
  }
186
187
  });
187
188
  export {
188
- je as default
189
+ qe as default
189
190
  };
@@ -2,9 +2,10 @@ import { withInstall as t } from "../../utils/vue/install.mjs";
2
2
  import "vue";
3
3
  import "@vue/shared";
4
4
  import "@vft/utils";
5
+ import "../../utils/ns-cover.mjs";
5
6
  import o from "./side-menu.vue2.mjs";
6
- const a = t(o);
7
+ const e = t(o);
7
8
  export {
8
- a as VftSideMenu,
9
- a as default
9
+ e as VftSideMenu,
10
+ e as default
10
11
  };
@@ -1,13 +1,14 @@
1
1
  import { defineComponent as w, useSlots as P, ref as U, computed as m, h as f, onMounted as W, nextTick as $, createVNode as d } from "vue";
2
- import { listenerRouteChange as j, useRouterHelper as Y } from "@vft/router";
3
- import { useSortable as z } from "@vft/use";
4
- import { isUrl as D, generateCssVars as M, addUnit as S, isNullOrUndefined as b } from "@vft/utils";
2
+ import { listenerRouteChange as j, useRouterHelper as z } from "@vft/router";
3
+ import { useSortable as Y } from "@vft/use";
4
+ import { isUrl as D, generateCssVars as b, addUnit as M, isNullOrUndefined as S } from "@vft/utils";
5
5
  import { useNamespace as F } from "../../hooks/use-namespace/index.mjs";
6
6
  import "@popperjs/core";
7
7
  import "lodash";
8
8
  import "../../hooks/use-z-index/index.mjs";
9
9
  import "@vueuse/core";
10
10
  import "@vue/shared";
11
+ import "../../utils/ns-cover.mjs";
11
12
  import "../divider/index.mjs";
12
13
  import { VftIcon as G } from "../icon/index.mjs";
13
14
  import "../avatar/index.mjs";
@@ -57,7 +58,7 @@ const i = (
57
58
  F("side-menu")
58
59
  ), Q = w({
59
60
  name: i.b()
60
- }), Xe = /* @__PURE__ */ w({
61
+ }), Ze = /* @__PURE__ */ w({
61
62
  ...Q,
62
63
  props: {
63
64
  menus: null,
@@ -166,7 +167,7 @@ const i = (
166
167
  }, () => o.menus.map((n, u) => x(n, u)));
167
168
  }), {
168
169
  go: y
169
- } = Y(), N = L();
170
+ } = z(), N = L();
170
171
  async function T(e) {
171
172
  var l, p, s;
172
173
  const r = e.route;
@@ -181,11 +182,11 @@ const i = (
181
182
  } : r), h("select", e);
182
183
  }
183
184
  const A = m(() => ({
184
- ...M({
185
+ ...b({
185
186
  "border-right": "none"
186
187
  }, "menu"),
187
- ...M({
188
- width: o.collapse ? S(o.collapseWidth) : S(o.width)
188
+ ...b({
189
+ width: o.collapse ? M(o.collapseWidth) : M(o.width)
189
190
  }, "side-menu"),
190
191
  height: `calc(100% - ${o.extraHeight}px)`
191
192
  })), V = m(() => [i.b(), i.m("fixed")]);
@@ -198,14 +199,14 @@ const i = (
198
199
  if ((e = o.dragOption) != null && e.dragClassName) {
199
200
  const u = (n = document.querySelectorAll("." + i.e((r = o.dragOption) == null ? void 0 : r.dragClassName))) == null ? void 0 : n[0], {
200
201
  initSortable: l
201
- } = z(u, {
202
+ } = Y(u, {
202
203
  draggable: ".vft-menu-item",
203
204
  onEnd: (p) => {
204
205
  const {
205
206
  oldIndex: s,
206
207
  newIndex: t
207
208
  } = p;
208
- b(s) || b(t) || s === t || h("dragEnd", s, t);
209
+ S(s) || S(t) || s === t || h("dragEnd", s, t);
209
210
  },
210
211
  ...o.dragOption
211
212
  });
@@ -226,10 +227,11 @@ const i = (
226
227
  style: {
227
228
  transform: o.collapse ? "rotateY(180deg)" : ""
228
229
  },
229
- icon: "vi-collapse"
230
+ size: 20,
231
+ icon: "i-iconoir:sidebar-collapse"
230
232
  }, null)]) : null]);
231
233
  }
232
234
  });
233
235
  export {
234
- Xe as default
236
+ Ze as default
235
237
  };
@@ -7,8 +7,9 @@ import "../../hooks/use-z-index/index.mjs";
7
7
  import { FORWARD_REF_INJECTION_KEY as y, useForwardRefDirective as R } from "../../hooks/use-forward-ref/index.mjs";
8
8
  import "@vueuse/core";
9
9
  import { debugWarn as l } from "../../utils/error.mjs";
10
+ import "../../utils/ns-cover.mjs";
10
11
  import "@vft/utils";
11
- const o = "VftOnlyChild", j = /* @__PURE__ */ a({
12
+ const o = "VftOnlyChild", q = /* @__PURE__ */ a({
12
13
  name: o,
13
14
  setup(r, {
14
15
  slots: t,
@@ -55,5 +56,5 @@ function f(r) {
55
56
  }, [r]);
56
57
  }
57
58
  export {
58
- j as OnlyChild
59
+ q as OnlyChild
59
60
  };
@@ -1,14 +1,15 @@
1
- import { withInstall as o, withNoopInstall as a } from "../../utils/vue/install.mjs";
1
+ import { withInstall as o, withNoopInstall as m } from "../../utils/vue/install.mjs";
2
2
  import "vue";
3
3
  import "@vue/shared";
4
4
  import "@vft/utils";
5
- import m from "./tabs.vue2.mjs";
5
+ import "../../utils/ns-cover.mjs";
6
+ import r from "./tabs.vue2.mjs";
6
7
  import t from "./tab-pane.vue2.mjs";
7
- import { TabsRootContextKey as T } from "./types.mjs";
8
- const e = o(m, { TabPane: t }), l = a(t);
8
+ import { TabsRootContextKey as _ } from "./types.mjs";
9
+ const l = o(r, { TabPane: t }), b = m(t);
9
10
  export {
10
- T as TabsRootContextKey,
11
- l as VftTabPane,
12
- e as VftTabs,
13
- e as default
11
+ _ as TabsRootContextKey,
12
+ b as VftTabPane,
13
+ l as VftTabs,
14
+ l as default
14
15
  };
@@ -7,7 +7,8 @@ import "../../hooks/use-z-index/index.mjs";
7
7
  import { useResizeObserver as D } from "@vueuse/core";
8
8
  import "@vue/shared";
9
9
  import { capitalize as c } from "@vft/utils";
10
- const M = /* @__PURE__ */ $({
10
+ import "../../utils/ns-cover.mjs";
11
+ const Q = /* @__PURE__ */ $({
11
12
  __name: "tab-bar",
12
13
  props: {
13
14
  tabs: null
@@ -51,5 +52,5 @@ const M = /* @__PURE__ */ $({
51
52
  }
52
53
  });
53
54
  export {
54
- M as default
55
+ Q as default
55
56
  };
@@ -1,6 +1,7 @@
1
1
  import { defineComponent as E, getCurrentInstance as Z, inject as _, ref as g, computed as I, watch as O, onMounted as tt, onUpdated as et, createVNode as r, nextTick as ot } from "vue";
2
2
  import "@vue/shared";
3
3
  import { throwError as nt } from "../../utils/error.mjs";
4
+ import "../../utils/ns-cover.mjs";
4
5
  import "../divider/index.mjs";
5
6
  import { VftIcon as T } from "../icon/index.mjs";
6
7
  import "../avatar/index.mjs";
@@ -61,7 +62,7 @@ const V = (
61
62
  K("tab-nav")
62
63
  ), ct = E({
63
64
  name: V.b()
64
- }), de = /* @__PURE__ */ E({
65
+ }), be = /* @__PURE__ */ E({
65
66
  ...ct,
66
67
  props: {
67
68
  panes: null,
@@ -212,5 +213,5 @@ const V = (
212
213
  }
213
214
  });
214
215
  export {
215
- de as default
216
+ be as default
216
217
  };
@@ -1,6 +1,7 @@
1
1
  import { defineComponent as b, getCurrentInstance as y, useSlots as C, inject as B, ref as m, computed as d, watch as g, reactive as w, onMounted as N, onUnmounted as k, unref as t, withDirectives as x, openBlock as z, createElementBlock as R, normalizeClass as S, renderSlot as _, vShow as $, createCommentVNode as E } from "vue";
2
2
  import "@vue/shared";
3
3
  import { throwError as P } from "../../utils/error.mjs";
4
+ import "../../utils/ns-cover.mjs";
4
5
  import { TabsRootContextKey as j } from "./types.mjs";
5
6
  import { useNamespace as D } from "../../hooks/use-namespace/index.mjs";
6
7
  import "@popperjs/core";
@@ -13,7 +14,7 @@ const I = ["id", "aria-hidden", "aria-labelledby"], i = (
13
14
  D("tab-pane")
14
15
  ), K = b({
15
16
  name: i.b()
16
- }), O = /* @__PURE__ */ b({
17
+ }), Q = /* @__PURE__ */ b({
17
18
  ...K,
18
19
  props: {
19
20
  label: null,
@@ -58,5 +59,5 @@ const I = ["id", "aria-hidden", "aria-labelledby"], i = (
58
59
  }
59
60
  });
60
61
  export {
61
- O as default
62
+ Q as default
62
63
  };
@@ -6,6 +6,7 @@ import "../../hooks/use-z-index/index.mjs";
6
6
  import "@vueuse/core";
7
7
  import "@vue/shared";
8
8
  import { isNumberish as f, isUndefined as I } from "@vft/utils";
9
+ import "../../utils/ns-cover.mjs";
9
10
  import { useOrderedChildren as U } from "../../hooks/use-ordered-children/index.mjs";
10
11
  import { UPDATE_MODEL_EVENT as $ } from "@vft/constants";
11
12
  import K from "./tab-nav.vue2.mjs";
@@ -15,7 +16,7 @@ const r = (
15
16
  O("tabs")
16
17
  ), j = y({
17
18
  name: r.b()
18
- }), ne = /* @__PURE__ */ y({
19
+ }), oe = /* @__PURE__ */ y({
19
20
  ...j,
20
21
  props: {
21
22
  type: {
@@ -150,5 +151,5 @@ const r = (
150
151
  }
151
152
  });
152
153
  export {
153
- ne as default
154
+ oe as default
154
155
  };
@@ -24,7 +24,7 @@ export declare const VftTag: import("vft/es/utils").SFCWithInstall<import("vue")
24
24
  required: false;
25
25
  };
26
26
  effect: {
27
- type: import("vue").PropType<"dark" | "light" | "plain" | undefined>;
27
+ type: import("vue").PropType<"light" | "dark" | "plain" | undefined>;
28
28
  required: false;
29
29
  };
30
30
  round: {
@@ -57,7 +57,7 @@ export declare const VftTag: import("vft/es/utils").SFCWithInstall<import("vue")
57
57
  required: false;
58
58
  };
59
59
  effect: {
60
- type: import("vue").PropType<"dark" | "light" | "plain" | undefined>;
60
+ type: import("vue").PropType<"light" | "dark" | "plain" | undefined>;
61
61
  required: false;
62
62
  };
63
63
  round: {
@@ -2,9 +2,10 @@ import { withInstall as t } from "../../utils/vue/install.mjs";
2
2
  import "vue";
3
3
  import "@vue/shared";
4
4
  import "@vft/utils";
5
+ import "../../utils/ns-cover.mjs";
5
6
  import o from "./tag.vue2.mjs";
6
- const f = t(o);
7
+ const s = t(o);
7
8
  export {
8
- f as VftTag,
9
- f as default
9
+ s as VftTag,
10
+ s as default
10
11
  };
@@ -27,7 +27,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
27
27
  required: false;
28
28
  };
29
29
  effect: {
30
- type: __PropType<"dark" | "light" | "plain" | undefined>;
30
+ type: __PropType<"light" | "dark" | "plain" | undefined>;
31
31
  required: false;
32
32
  };
33
33
  round: {
@@ -60,7 +60,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
60
60
  required: false;
61
61
  };
62
62
  effect: {
63
- type: __PropType<"dark" | "light" | "plain" | undefined>;
63
+ type: __PropType<"light" | "dark" | "plain" | undefined>;
64
64
  required: false;
65
65
  };
66
66
  round: {
@@ -8,10 +8,11 @@ import "../../hooks/use-z-index/index.mjs";
8
8
  import "@vueuse/core";
9
9
  import "@vue/shared";
10
10
  import "@vft/utils";
11
+ import "../../utils/ns-cover.mjs";
11
12
  function k(e) {
12
13
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !b(e);
13
14
  }
14
- const x = /* @__PURE__ */ m({
15
+ const I = /* @__PURE__ */ m({
15
16
  __name: "tag",
16
17
  props: {
17
18
  closable: {
@@ -71,5 +72,5 @@ const x = /* @__PURE__ */ m({
71
72
  }
72
73
  });
73
74
  export {
74
- x as default
75
+ I as default
75
76
  };
@@ -7,6 +7,7 @@ import { onClickOutside as ee } from "@vueuse/core";
7
7
  import "@vue/shared";
8
8
  import "@vft/utils";
9
9
  import { composeEventHandlers as T } from "../../utils/event.mjs";
10
+ import "../../utils/ns-cover.mjs";
10
11
  import { usePopperContainerId as te } from "../../hooks/use-popper-container/index.mjs";
11
12
  import "../popper/index.mjs";
12
13
  import { TOOLTIP_INJECTION_KEY as ne } from "./constants.mjs";
@@ -14,7 +15,7 @@ import oe from "../popper/content.vue2.mjs";
14
15
  const ae = E({
15
16
  name: "VftTooltipContent",
16
17
  inheritAttrs: !1
17
- }), be = /* @__PURE__ */ E({
18
+ }), he = /* @__PURE__ */ E({
18
19
  ...ae,
19
20
  props: {
20
21
  boundariesPadding: { default: 0 },
@@ -51,10 +52,10 @@ const ae = E({
51
52
  disabled: { type: Boolean }
52
53
  },
53
54
  setup(e, { expose: k }) {
54
- const { selector: P } = te(), w = _("tooltip"), l = v(null), c = v(!1), {
55
+ const { selector: P } = te(), w = _("tooltip"), r = v(null), c = v(!1), {
55
56
  controlled: p,
56
57
  id: O,
57
- open: r,
58
+ open: l,
58
59
  trigger: u,
59
60
  onClose: i,
60
61
  onOpen: A,
@@ -66,7 +67,7 @@ const ae = E({
66
67
  W(() => {
67
68
  c.value = !0;
68
69
  });
69
- const $ = o(() => t(I) ? !0 : t(r)), m = o(() => e.disabled ? !1 : t(r)), x = o(() => e.appendTo || P.value), M = o(() => e.style ?? {}), R = o(() => !t(r)), z = () => {
70
+ const $ = o(() => t(I) ? !0 : t(l)), m = o(() => e.disabled ? !1 : t(l)), x = o(() => e.appendTo || P.value), M = o(() => e.style ?? {}), R = o(() => !t(l)), z = () => {
70
71
  S();
71
72
  }, g = () => {
72
73
  if (t(p))
@@ -77,14 +78,14 @@ const ae = E({
77
78
  t(u) === "hover" && i();
78
79
  }), j = () => {
79
80
  var n, a;
80
- (a = (n = l.value) == null ? void 0 : n.updatePopper) == null || a.call(n), f == null || f();
81
+ (a = (n = r.value) == null ? void 0 : n.updatePopper) == null || a.call(n), f == null || f();
81
82
  }, H = () => {
82
83
  d == null || d();
83
84
  }, J = () => {
84
85
  N(), s = ee(
85
86
  o(() => {
86
87
  var n;
87
- return (n = l.value) == null ? void 0 : n.popperContentRef;
88
+ return (n = r.value) == null ? void 0 : n.popperContentRef;
88
89
  }),
89
90
  () => {
90
91
  if (t(p))
@@ -97,7 +98,7 @@ const ae = E({
97
98
  };
98
99
  let s;
99
100
  return y(
100
- () => t(r),
101
+ () => t(l),
101
102
  (n) => {
102
103
  n || s == null || s();
103
104
  },
@@ -108,13 +109,13 @@ const ae = E({
108
109
  () => e.content,
109
110
  () => {
110
111
  var n, a;
111
- (a = (n = l.value) == null ? void 0 : n.updatePopper) == null || a.call(n);
112
+ (a = (n = r.value) == null ? void 0 : n.updatePopper) == null || a.call(n);
112
113
  }
113
114
  ), k({
114
115
  /**
115
116
  * @description el-popper-content component instance
116
117
  */
117
- contentRef: l
118
+ contentRef: r
118
119
  }), (n, a) => (b(), h(Y, {
119
120
  disabled: !e.teleported,
120
121
  to: t(x)
@@ -131,7 +132,7 @@ const ae = E({
131
132
  key: 0,
132
133
  id: t(O),
133
134
  ref_key: "contentRef",
134
- ref: l
135
+ ref: r
135
136
  }, n.$attrs, {
136
137
  "aria-label": e.ariaLabel,
137
138
  "aria-hidden": t(R),
@@ -170,5 +171,5 @@ const ae = E({
170
171
  }
171
172
  });
172
173
  export {
173
- be as default
174
+ he as default
174
175
  };