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
@@ -92,7 +92,7 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<import("v
92
92
  required: false;
93
93
  };
94
94
  effect: {
95
- type: import("vue").PropType<"dark" | "light" | undefined>;
95
+ type: import("vue").PropType<"light" | "dark" | undefined>;
96
96
  required: false;
97
97
  };
98
98
  visible: {
@@ -289,7 +289,7 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<import("v
289
289
  required: false;
290
290
  };
291
291
  effect: {
292
- type: import("vue").PropType<"dark" | "light" | undefined>;
292
+ type: import("vue").PropType<"light" | "dark" | undefined>;
293
293
  required: false;
294
294
  };
295
295
  visible: {
@@ -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 "./tooltip.vue2.mjs";
6
- const a = t(o);
7
+ const l = t(o);
7
8
  export {
8
- a as VftTooltip,
9
- a as default
9
+ l as VftTooltip,
10
+ l as default
10
11
  };
@@ -146,7 +146,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
146
146
  required: false;
147
147
  };
148
148
  effect: {
149
- type: __PropType<"dark" | "light" | undefined>;
149
+ type: __PropType<"light" | "dark" | undefined>;
150
150
  required: false;
151
151
  };
152
152
  visible: {
@@ -364,7 +364,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
364
364
  required: false;
365
365
  };
366
366
  effect: {
367
- type: __PropType<"dark" | "light" | undefined>;
367
+ type: __PropType<"light" | "dark" | undefined>;
368
368
  required: false;
369
369
  };
370
370
  visible: {
@@ -1,7 +1,8 @@
1
- import { defineComponent as k, ref as r, computed as P, provide as I, readonly as S, unref as i, watch as M, onDeactivated as N, openBlock as f, createBlock as h, withCtx as g, createVNode as b, renderSlot as w, createCommentVNode as v, createElementBlock as B, toDisplayString as $ } from "vue";
1
+ import { defineComponent as k, ref as a, computed as P, provide as I, readonly as S, unref as i, watch as M, onDeactivated as N, openBlock as f, createBlock as h, withCtx as g, createVNode as b, renderSlot as w, createCommentVNode as v, createElementBlock as B, toDisplayString as $ } from "vue";
2
2
  import { EVENT_CODE as C } from "@vft/constants";
3
3
  import { VftPopper as x } from "../popper/index.mjs";
4
4
  import { isBoolean as H } from "@vft/utils";
5
+ import "../config-provider/hooks/use-global-config.mjs";
5
6
  import "@popperjs/core";
6
7
  import "lodash";
7
8
  import "../../hooks/use-z-index/index.mjs";
@@ -10,6 +11,7 @@ import { usePopperContainer as z } from "../../hooks/use-popper-container/index.
10
11
  import { useDelayedToggle as D } from "../../hooks/use-delayed-toggle/index.mjs";
11
12
  import "@vueuse/core";
12
13
  import "@vue/shared";
14
+ import "../../utils/ns-cover.mjs";
13
15
  import { TOOLTIP_INJECTION_KEY as K } from "./constants.mjs";
14
16
  import V from "./trigger.vue2.mjs";
15
17
  import J from "./content.vue2.mjs";
@@ -17,7 +19,7 @@ import { useTooltipModelToggle as U } from "./utils.mjs";
17
19
  import Y from "../popper/arrow.vue2.mjs";
18
20
  const j = ["innerHTML"], q = { key: 1 }, G = k({
19
21
  name: "vft-tooltip"
20
- }), ce = /* @__PURE__ */ k({
22
+ }), ge = /* @__PURE__ */ k({
21
23
  ...G,
22
24
  props: {
23
25
  role: { default: "tooltip" },
@@ -69,13 +71,13 @@ const j = ["innerHTML"], q = { key: 1 }, G = k({
69
71
  triggerKeys: { default: [C.enter, C.space] }
70
72
  },
71
73
  emits: ["before-show", "before-hide", "show", "hide", "open", "close"],
72
- setup(e, { expose: T, emit: a }) {
74
+ setup(e, { expose: T, emit: r }) {
73
75
  z();
74
- const A = L(), u = r(), d = r(), m = () => {
76
+ const A = L(), u = a(), d = a(), m = () => {
75
77
  var o;
76
78
  const t = i(u);
77
79
  t && ((o = t.popperInstanceRef) == null || o.update());
78
- }, n = r(!1), l = r(), { show: E, hide: s, hasUpdateHandler: O } = U({
80
+ }, n = a(!1), l = a(), { show: E, hide: s, hasUpdateHandler: O } = U({
79
81
  indicator: n,
80
82
  toggleReason: l
81
83
  }), { onOpen: c, onClose: p } = D({
@@ -99,16 +101,16 @@ const j = ["innerHTML"], q = { key: 1 }, G = k({
99
101
  i(n) ? p(t) : c(t);
100
102
  },
101
103
  onShow: () => {
102
- a("show", l.value);
104
+ r("show", l.value);
103
105
  },
104
106
  onHide: () => {
105
- a("hide", l.value);
107
+ r("hide", l.value);
106
108
  },
107
109
  onBeforeShow: () => {
108
- a("before-show", l.value);
110
+ r("before-show", l.value);
109
111
  },
110
112
  onBeforeHide: () => {
111
- a("before-hide", l.value);
113
+ r("before-hide", l.value);
112
114
  },
113
115
  updatePopper: m
114
116
  }), M(
@@ -219,5 +221,5 @@ const j = ["innerHTML"], q = { key: 1 }, G = k({
219
221
  }
220
222
  });
221
223
  export {
222
- ce as default
224
+ ge as default
223
225
  };
@@ -4,6 +4,7 @@ import "../popper/index.mjs";
4
4
  import "@vue/shared";
5
5
  import "@vft/utils";
6
6
  import { composeEventHandlers as r } from "../../utils/event.mjs";
7
+ import "../../utils/ns-cover.mjs";
7
8
  import { useNamespace as F } from "../../hooks/use-namespace/index.mjs";
8
9
  import "@popperjs/core";
9
10
  import "lodash";
@@ -14,7 +15,7 @@ import { whenTrigger as i } from "./utils.mjs";
14
15
  import R from "../popper/trigger.vue2.mjs";
15
16
  const V = a({
16
17
  name: "VftTooltipTrigger"
17
- }), U = /* @__PURE__ */ a({
18
+ }), X = /* @__PURE__ */ a({
18
19
  ...V,
19
20
  props: {
20
21
  disabled: { type: Boolean },
@@ -23,8 +24,8 @@ const V = a({
23
24
  virtualRef: null,
24
25
  virtualTriggering: { type: Boolean }
25
26
  },
26
- setup(t, { expose: f }) {
27
- const m = F("tooltip"), { controlled: d, id: v, open: p, onOpen: u, onClose: s, onToggle: l } = E(
27
+ setup(t, { expose: m }) {
28
+ const f = F("tooltip"), { controlled: d, id: v, open: p, onOpen: u, onClose: s, onToggle: l } = E(
28
29
  I,
29
30
  void 0
30
31
  ), C = K(null), n = () => {
@@ -59,7 +60,7 @@ const V = a({
59
60
  t.triggerKeys.includes(c) && (o.preventDefault(), l(o));
60
61
  }
61
62
  );
62
- return f({
63
+ return m({
63
64
  /**
64
65
  * @description trigger element
65
66
  */
@@ -69,7 +70,7 @@ const V = a({
69
70
  "virtual-ref": t.virtualRef,
70
71
  open: e(p),
71
72
  "virtual-triggering": t.virtualTriggering,
72
- class: b(e(m).e("trigger")),
73
+ class: b(e(f).e("trigger")),
73
74
  onBlur: e(M),
74
75
  onClick: e(y),
75
76
  onContextmenu: e(k),
@@ -86,5 +87,5 @@ const V = a({
86
87
  }
87
88
  });
88
89
  export {
89
- U as default
90
+ X as default
90
91
  };
@@ -1,3 +1,4 @@
1
+ import "../config-provider/hooks/use-global-config.mjs";
1
2
  import { unref as t } from "vue";
2
3
  import "@popperjs/core";
3
4
  import "lodash";
@@ -5,14 +6,15 @@ import "../../hooks/use-z-index/index.mjs";
5
6
  import "@vueuse/core";
6
7
  import "@vue/shared";
7
8
  import { isArray as m } from "@vft/utils";
9
+ import "../../utils/ns-cover.mjs";
8
10
  import { createModelToggleComposable as p } from "../../hooks/use-model-toggle/index.mjs";
9
- const l = (o, r) => m(o) ? o.includes(r) : o === r, a = (o, r, e) => (i) => {
11
+ const l = (o, r) => m(o) ? o.includes(r) : o === r, b = (o, r, e) => (i) => {
10
12
  l(t(o), r) && e(i);
11
13
  }, {
12
- useModelToggle: M
14
+ useModelToggle: h
13
15
  } = p("visible");
14
16
  export {
15
17
  l as isTriggerType,
16
- M as useTooltipModelToggle,
17
- a as whenTrigger
18
+ h as useTooltipModelToggle,
19
+ b as whenTrigger
18
20
  };
@@ -2,10 +2,10 @@ import { ref as f } from "vue";
2
2
  function d(r) {
3
3
  const s = f();
4
4
  function i() {
5
- if (r.value == null)
5
+ if (r.value === void 0)
6
6
  return;
7
7
  const { selectionStart: e, selectionEnd: t, value: o } = r.value;
8
- if (e == null || t == null)
8
+ if (e === null || t === null)
9
9
  return;
10
10
  const l = o.slice(0, Math.max(0, e)), n = o.slice(Math.max(0, t));
11
11
  s.value = {
@@ -17,10 +17,10 @@ function d(r) {
17
17
  };
18
18
  }
19
19
  function u() {
20
- if (r.value == null || s.value == null)
20
+ if (r.value === void 0 || s.value === void 0)
21
21
  return;
22
22
  const { value: e } = r.value, { beforeTxt: t, afterTxt: o, selectionStart: l } = s.value;
23
- if (t == null || o == null || l == null)
23
+ if (t === void 0 || o === void 0 || l === void 0)
24
24
  return;
25
25
  let n = e.length;
26
26
  if (e.endsWith(o))
@@ -1,12 +1,13 @@
1
- import { getCurrentInstance as t, inject as i, computed as c, unref as s } from "vue";
1
+ import { getCurrentInstance as n, inject as i, computed as c, unref as s } from "vue";
2
2
  import { isClient as u } from "@vueuse/core";
3
3
  import "@vue/shared";
4
4
  import { debugWarn as d } from "../../utils/error.mjs";
5
+ import "../../utils/ns-cover.mjs";
5
6
  import { useGetDerivedNamespace as p } from "../use-namespace/index.mjs";
6
7
  const r = {
7
8
  prefix: Math.floor(Math.random() * 1e4),
8
9
  current: 0
9
- }, m = Symbol("elIdInjection"), I = () => t() ? i(m, r) : r, g = (n) => {
10
+ }, m = Symbol("elIdInjection"), I = () => n() ? i(m, r) : r, N = (o) => {
10
11
  const e = I();
11
12
  !u && e === r && d(
12
13
  "IdInjection",
@@ -16,13 +17,13 @@ usage: app.provide(ID_INJECTION_KEY, {
16
17
  current: number,
17
18
  })`
18
19
  );
19
- const o = p();
20
+ const t = p();
20
21
  return c(
21
- () => s(n) || `${o.value}-id-${e.prefix}-${e.current++}`
22
+ () => s(o) || `${t.value}-id-${e.prefix}-${e.current++}`
22
23
  );
23
24
  };
24
25
  export {
25
26
  m as ID_INJECTION_KEY,
26
- g as useId,
27
+ N as useId,
27
28
  I as useIdInjection
28
29
  };
@@ -4,7 +4,7 @@ export declare const _bem: (namespace: string, block: string, blockSuffix: strin
4
4
  export declare const namespaceContextKey: InjectionKey<Ref<string | undefined>>;
5
5
  export declare const useGetDerivedNamespace: (namespaceOverrides?: Ref<string>) => import("vue").ComputedRef<string>;
6
6
  export declare const useNamespace: (block: string, namespaceOverrides?: Ref<string>) => {
7
- namespace: import("vue").ComputedRef<string>;
7
+ namespace: Ref<string>;
8
8
  b: (blockSuffix?: string) => string;
9
9
  e: (element?: string) => string;
10
10
  m: (modifier?: string) => string;
@@ -1,46 +1,47 @@
1
- import { inject as v, ref as p, computed as N, unref as V } from "vue";
2
- const m = "vft", l = "is-", c = (a, r, t, o, $) => {
3
- let u = `${a}-${r}`;
4
- return t && (u += `-${t}`), o && (u += `__${o}`), $ && (u += `--${$}`), u;
5
- }, y = Symbol("localeContextKey"), B = (a) => {
6
- const r = a || v(y, p(m));
7
- return N(() => V(r) || m);
8
- }, g = (a, r) => {
9
- const t = B(r);
1
+ import { useGlobalConfig as v } from "../../components/config-provider/hooks/use-global-config.mjs";
2
+ import { inject as p, ref as l, computed as N, unref as V } from "vue";
3
+ const $ = "vft", y = "is-", c = (t, o, a, u, m) => {
4
+ let r = `${t}-${o}`;
5
+ return a && (r += `-${a}`), u && (r += `__${u}`), m && (r += `--${m}`), r;
6
+ }, i = Symbol("localeContextKey"), P = (t) => {
7
+ const o = t || p(i, l($));
8
+ return N(() => V(o) || $);
9
+ }, q = (t, o) => {
10
+ const a = v("namespace", $);
10
11
  return {
11
- namespace: t,
12
- b: (s = "") => c(t.value, a, s, "", ""),
13
- e: (s) => s ? c(t.value, a, "", s, "") : "",
14
- m: (s) => s ? c(t.value, a, "", "", s) : "",
15
- be: (s, e) => s && e ? c(t.value, a, s, e, "") : "",
16
- em: (s, e) => s && e ? c(t.value, a, "", s, e) : "",
17
- bm: (s, e) => s && e ? c(t.value, a, s, "", e) : "",
18
- bem: (s, e, n) => s && e && n ? c(t.value, a, s, e, n) : "",
12
+ namespace: a,
13
+ b: (s = "") => c(a.value, t, s, "", ""),
14
+ e: (s) => s ? c(a.value, t, "", s, "") : "",
15
+ m: (s) => s ? c(a.value, t, "", "", s) : "",
16
+ be: (s, e) => s && e ? c(a.value, t, s, e, "") : "",
17
+ em: (s, e) => s && e ? c(a.value, t, "", s, e) : "",
18
+ bm: (s, e) => s && e ? c(a.value, t, s, "", e) : "",
19
+ bem: (s, e, n) => s && e && n ? c(a.value, t, s, e, n) : "",
19
20
  is: (s, ...e) => {
20
21
  const n = e.length >= 1 ? e[0] : !0;
21
- return s && n ? `${l}${s}` : "";
22
+ return s && n ? `${y}${s}` : "";
22
23
  },
23
24
  // css
24
25
  cssVar: (s) => {
25
26
  const e = {};
26
27
  for (const n in s)
27
- s[n] && (e[`--${t.value}-${n}`] = s[n]);
28
+ s[n] && (e[`--${a.value}-${n}`] = s[n]);
28
29
  return e;
29
30
  },
30
- cssVarName: (s) => `--${t.value}-${s}`,
31
+ cssVarName: (s) => `--${a.value}-${s}`,
31
32
  cssVarBlock: (s) => {
32
33
  const e = {};
33
34
  for (const n in s)
34
- s[n] && (e[`--${t.value}-${a}-${n}`] = s[n]);
35
+ s[n] && (e[`--${a.value}-${t}-${n}`] = s[n]);
35
36
  return e;
36
37
  },
37
- cssVarBlockName: (s) => `--${t.value}-${a}-${s}`
38
+ cssVarBlockName: (s) => `--${a.value}-${t}-${s}`
38
39
  };
39
40
  };
40
41
  export {
41
42
  c as _bem,
42
- m as defaultNamespace,
43
- y as namespaceContextKey,
44
- B as useGetDerivedNamespace,
45
- g as useNamespace
43
+ $ as defaultNamespace,
44
+ i as namespaceContextKey,
45
+ P as useGetDerivedNamespace,
46
+ q as useNamespace
46
47
  };
@@ -2,17 +2,18 @@ import { shallowRef as s, isVNode as m } from "vue";
2
2
  import "@vue/shared";
3
3
  import { flattedChildren as c } from "../../utils/vue/vnode.mjs";
4
4
  import "@vft/utils";
5
- const u = (t, i, d) => c(t.subTree).filter(
5
+ import "../../utils/ns-cover.mjs";
6
+ const p = (t, i, d) => c(t.subTree).filter(
6
7
  (e) => {
7
8
  var r;
8
9
  return m(e) && ((r = e.type) == null ? void 0 : r.name) === i && !!e.component;
9
10
  }
10
- ).map((e) => e.component.uid).map((e) => d[e]).filter((e) => !!e), f = (t, i) => {
11
+ ).map((e) => e.component.uid).map((e) => d[e]).filter((e) => !!e), v = (t, i) => {
11
12
  const d = {}, o = s([]);
12
13
  return {
13
14
  children: o,
14
15
  addChild: (r) => {
15
- d[r.uid] = r, o.value = u(t, i, d);
16
+ d[r.uid] = r, o.value = p(t, i, d);
16
17
  },
17
18
  removeChild: (r) => {
18
19
  delete d[r], o.value = o.value.filter(
@@ -22,5 +23,5 @@ const u = (t, i, d) => c(t.subTree).filter(
22
23
  };
23
24
  };
24
25
  export {
25
- f as useOrderedChildren
26
+ v as useOrderedChildren
26
27
  };
package/es/index.mjs CHANGED
@@ -4,7 +4,7 @@ import { VftIcon as n, VftIcon as x } from "./components/icon/index.mjs";
4
4
  import { VftAvatar as i } from "./components/avatar/index.mjs";
5
5
  import { VftEmpty as V } from "./components/empty/index.mjs";
6
6
  import { VftResult as u } from "./components/result/index.mjs";
7
- import { VftTabPane as T, VftTabs as c } from "./components/tabs/index.mjs";
7
+ import { VftTabPane as c, VftTabs as T } from "./components/tabs/index.mjs";
8
8
  import { VftPopper as I } from "./components/popper/index.mjs";
9
9
  import { VftCollapseTransition as M } from "./components/collapse-transition/index.mjs";
10
10
  import { VftTooltip as D } from "./components/tooltip/index.mjs";
@@ -28,7 +28,7 @@ import { VftInput as xe } from "./components/input/index.mjs";
28
28
  import { VftLink as ie } from "./components/link/index.mjs";
29
29
  import { VftPagination as Ve } from "./components/pagination/index.mjs";
30
30
  import { VftTag as ue } from "./components/tag/index.mjs";
31
- import { VftSideMenu as Te } from "./components/side-menu/index.mjs";
31
+ import { VftSideMenu as ce } from "./components/side-menu/index.mjs";
32
32
  import { VftQrcode as Ce } from "./components/qrcode/index.mjs";
33
33
  import { VftOverlay as Ee } from "./components/overlay/index.mjs";
34
34
  import { VftClamp as Pe } from "./components/clamp/index.mjs";
@@ -50,7 +50,7 @@ import { CHANGE_EVENT as oo, INPUT_EVENT as ro, UPDATE_MODEL_EVENT as to } from
50
50
  import { INSTALLED_KEY as po } from "./constants/key.mjs";
51
51
  import { componentSizeMap as ao, componentSizes as no } from "./constants/size.mjs";
52
52
  import { _bem as so, defaultNamespace as io, namespaceContextKey as lo, useGetDerivedNamespace as Vo, useNamespace as uo } from "./hooks/use-namespace/index.mjs";
53
- import { useCursor as To } from "./hooks/use-cursor/index.mjs";
53
+ import { useCursor as co } from "./hooks/use-cursor/index.mjs";
54
54
  import { usePopper as Co } from "./hooks/use-popper/index.mjs";
55
55
  import { defaultInitialZIndex as Eo, useZIndex as Mo, zIndexContextKey as Po } from "./hooks/use-z-index/index.mjs";
56
56
  import { FORWARD_REF_INJECTION_KEY as vo, useForwardRef as yo, useForwardRefDirective as No } from "./hooks/use-forward-ref/index.mjs";
@@ -65,30 +65,31 @@ import { PatchFlags as qo, ensureOnlyChild as Xo, flattedChildren as $o, getFirs
65
65
  import { getSizeType as sr } from "./utils/helper.mjs";
66
66
  import { debugWarn as lr, throwError as Vr } from "./utils/error.mjs";
67
67
  import { composeEventHandlers as ur, whenMouse as gr } from "./utils/event.mjs";
68
- import { mutable as cr } from "./utils/typescript.mjs";
69
- import { makeInstaller as Ir } from "./make-installer.mjs";
70
- import { CompResolver as Mr } from "./comp-resolver.mjs";
71
- import { default as Dr } from "dayjs";
72
- import { EmptyEnum as yr } from "./components/empty/constants.mjs";
73
- import { TabsRootContextKey as br } from "./components/tabs/types.mjs";
74
- import { default as _r } from "./components/popper/arrow.vue2.mjs";
75
- import { default as wr } from "./components/popper/trigger.vue2.mjs";
76
- import { default as Fr } from "./components/popper/content.vue2.mjs";
77
- import { useTabDropdown as Rr } from "./components/multiple-tabs/use/use-tab-dropdown.mjs";
78
- import { initAffixTabs as Or, useTabsDrag as Gr } from "./components/multiple-tabs/use/use-multiple-tabs.mjs";
79
- import { configProviderContextKey as zr, messageConfig as Wr } from "./components/config-provider/constants.mjs";
80
- import { provideGlobalConfig as Hr, useGlobalComponentSettings as jr, useGlobalConfig as Br } from "./components/config-provider/hooks/use-global-config.mjs";
81
- import { paginationEmits as Ur } from "./components/pagination/pagination.mjs";
82
- import { elPaginationKey as Qr, usePagination as qr } from "./components/pagination/usePagination.mjs";
83
- import { messageDefaults as $r, messageTypes as et } from "./components/message/types.mjs";
84
- import { vLoading as rt, createLoadingDirective as tt, vLoading as ft } from "./components/loading/directive.mjs";
85
- import { Loading as mt } from "./components/loading/service.mjs";
68
+ import { mutable as Tr } from "./utils/typescript.mjs";
69
+ import { cssVarValue as Ir } from "./utils/ns-cover.mjs";
70
+ import { makeInstaller as Mr } from "./make-installer.mjs";
71
+ import { CompResolver as Dr } from "./comp-resolver.mjs";
72
+ import { default as yr } from "dayjs";
73
+ import { EmptyEnum as br } from "./components/empty/constants.mjs";
74
+ import { TabsRootContextKey as _r } from "./components/tabs/types.mjs";
75
+ import { default as wr } from "./components/popper/arrow.vue2.mjs";
76
+ import { default as Fr } from "./components/popper/trigger.vue2.mjs";
77
+ import { default as Rr } from "./components/popper/content.vue2.mjs";
78
+ import { useTabDropdown as Or } from "./components/multiple-tabs/use/use-tab-dropdown.mjs";
79
+ import { initAffixTabs as kr, useTabsDrag as zr } from "./components/multiple-tabs/use/use-multiple-tabs.mjs";
80
+ import { configProviderContextKey as Yr, messageConfig as Hr } from "./components/config-provider/constants.mjs";
81
+ import { provideGlobalConfig as Br, useGlobalComponentSettings as Jr, useGlobalConfig as Ur } from "./components/config-provider/hooks/use-global-config.mjs";
82
+ import { paginationEmits as Qr } from "./components/pagination/pagination.mjs";
83
+ import { elPaginationKey as Xr, usePagination as $r } from "./components/pagination/usePagination.mjs";
84
+ import { messageDefaults as ot, messageTypes as rt } from "./components/message/types.mjs";
85
+ import { vLoading as ft, createLoadingDirective as pt, vLoading as mt } from "./components/loading/directive.mjs";
86
+ import { Loading as nt } from "./components/loading/service.mjs";
86
87
  const r = e.install, t = e.version;
87
88
  export {
88
89
  oo as CHANGE_EVENT,
89
- Mr as CompResolver,
90
+ Dr as CompResolver,
90
91
  Qe as EVENT_CODE,
91
- yr as EmptyEnum,
92
+ br as EmptyEnum,
92
93
  vo as FORWARD_REF_INJECTION_KEY,
93
94
  Lo as ID_INJECTION_KEY,
94
95
  ro as INPUT_EVENT,
@@ -96,7 +97,7 @@ export {
96
97
  n as Icon,
97
98
  je as Message,
98
99
  qo as PatchFlags,
99
- br as TabsRootContextKey,
100
+ _r as TabsRootContextKey,
100
101
  to as UPDATE_MODEL_EVENT,
101
102
  i as VftAvatar,
102
103
  Q as VftBackTop,
@@ -119,8 +120,8 @@ export {
119
120
  xe as VftInput,
120
121
  ie as VftLink,
121
122
  Ue as VftLoading,
122
- rt as VftLoadingDirective,
123
- mt as VftLoadingService,
123
+ ft as VftLoadingDirective,
124
+ nt as VftLoadingService,
124
125
  U as VftLogo,
125
126
  ze as VftMdCodeDemo,
126
127
  Ye as VftMdCodeTabs,
@@ -138,17 +139,17 @@ export {
138
139
  Ve as VftPagination,
139
140
  y as VftPopover,
140
141
  I as VftPopper,
141
- _r as VftPopperArrow,
142
- Fr as VftPopperContent,
143
- wr as VftPopperTrigger,
142
+ wr as VftPopperArrow,
143
+ Rr as VftPopperContent,
144
+ Fr as VftPopperTrigger,
144
145
  Ce as VftQrcode,
145
146
  u as VftResult,
146
147
  B as VftRouterViewContent,
147
148
  he as VftSearch,
148
- Te as VftSideMenu,
149
+ ce as VftSideMenu,
149
150
  h as VftSubMenu,
150
- T as VftTabPane,
151
- c as VftTabs,
151
+ c as VftTabPane,
152
+ T as VftTabs,
152
153
  ue as VftTag,
153
154
  D as VftTooltip,
154
155
  Xe as WEEK_DAYS,
@@ -156,64 +157,65 @@ export {
156
157
  ao as componentSizeMap,
157
158
  no as componentSizes,
158
159
  ur as composeEventHandlers,
159
- zr as configProviderContextKey,
160
+ Yr as configProviderContextKey,
160
161
  S as createContextMenu,
161
- tt as createLoadingDirective,
162
+ pt as createLoadingDirective,
162
163
  Wo as createModelToggleComposable,
164
+ Ir as cssVarValue,
163
165
  $e as datePickTypes,
164
- Dr as dayjs,
166
+ yr as dayjs,
165
167
  lr as debugWarn,
166
168
  e as default,
167
169
  Eo as defaultInitialZIndex,
168
170
  io as defaultNamespace,
169
171
  F as destroyContextMenu,
170
- Qr as elPaginationKey,
172
+ Xr as elPaginationKey,
171
173
  Xo as ensureOnlyChild,
172
174
  $o as flattedChildren,
173
175
  er as getFirstValidNode,
174
176
  or as getNormalizedProps,
175
177
  sr as getSizeType,
176
- Or as initAffixTabs,
178
+ kr as initAffixTabs,
177
179
  r as install,
178
180
  rr as isComment,
179
181
  tr as isFragment,
180
182
  fr as isTemplate,
181
183
  pr as isText,
182
184
  mr as isValidElementNode,
183
- Ir as makeInstaller,
184
- Wr as messageConfig,
185
- $r as messageDefaults,
186
- et as messageTypes,
187
- cr as mutable,
185
+ Mr as makeInstaller,
186
+ Hr as messageConfig,
187
+ ot as messageDefaults,
188
+ rt as messageTypes,
189
+ Tr as mutable,
188
190
  lo as namespaceContextKey,
189
- Ur as paginationEmits,
190
- Hr as provideGlobalConfig,
191
+ Qr as paginationEmits,
192
+ Br as provideGlobalConfig,
191
193
  ar as renderBlock,
192
194
  nr as renderIf,
193
195
  Vr as throwError,
194
196
  R as useContextMenu,
195
- To as useCursor,
197
+ co as useCursor,
196
198
  Ro as useDelayedToggle,
197
199
  yo as useForwardRef,
198
200
  No as useForwardRefDirective,
199
201
  Vo as useGetDerivedNamespace,
200
- jr as useGlobalComponentSettings,
201
- Br as useGlobalConfig,
202
+ Jr as useGlobalComponentSettings,
203
+ Ur as useGlobalConfig,
202
204
  _o as useId,
203
205
  ho as useIdInjection,
204
206
  Yo as useModelToggle,
205
207
  Ho as useModelToggleEmits,
206
208
  uo as useNamespace,
207
209
  ko as useOrderedChildren,
208
- qr as usePagination,
210
+ $r as usePagination,
209
211
  Co as usePopper,
210
212
  So as usePopperContainer,
211
213
  Fo as usePopperContainerId,
212
- Rr as useTabDropdown,
213
- Gr as useTabsDrag,
214
+ Or as useTabDropdown,
215
+ zr as useTabsDrag,
214
216
  Oo as useTimeout,
215
217
  Mo as useZIndex,
216
- ft as vLoading,
218
+ mt as vLoading,
217
219
  t as version,
218
220
  gr as whenMouse,
219
221
  Bo as withInstall,
@@ -1,4 +1,4 @@
1
- const o = "0.0.31";
1
+ const o = "0.0.34";
2
2
  export {
3
3
  o as version
4
4
  };
@@ -3,3 +3,4 @@ export * from './helper';
3
3
  export * from './error';
4
4
  export * from './event';
5
5
  export * from './typescript';
6
+ export * from './ns-cover';
@@ -1,29 +1,31 @@
1
- import { withInstall as r, withInstallDirective as o, withInstallFunction as l, withNoopInstall as i } from "./vue/install.mjs";
2
- import { PatchFlags as s, ensureOnlyChild as a, flattedChildren as m, getFirstValidNode as d, getNormalizedProps as p, isComment as h, isFragment as f, isTemplate as x, isText as g, isValidElementNode as w, renderBlock as c, renderIf as u } from "./vue/vnode.mjs";
1
+ import { withInstall as t, withInstallDirective as o, withInstallFunction as l, withNoopInstall as i } from "./vue/install.mjs";
2
+ import { PatchFlags as s, ensureOnlyChild as a, flattedChildren as m, getFirstValidNode as d, getNormalizedProps as p, isComment as f, isFragment as h, isTemplate as x, isText as c, isValidElementNode as g, renderBlock as u, renderIf as w } from "./vue/vnode.mjs";
3
3
  import { getSizeType as F } from "./helper.mjs";
4
- import { debugWarn as C, throwError as E } from "./error.mjs";
5
- import { composeEventHandlers as b, whenMouse as v } from "./event.mjs";
6
- import { mutable as z } from "./typescript.mjs";
4
+ import { debugWarn as V, throwError as C } from "./error.mjs";
5
+ import { composeEventHandlers as T, whenMouse as b } from "./event.mjs";
6
+ import { mutable as y } from "./typescript.mjs";
7
+ import { cssVarValue as P } from "./ns-cover.mjs";
7
8
  export {
8
9
  s as PatchFlags,
9
- b as composeEventHandlers,
10
- C as debugWarn,
10
+ T as composeEventHandlers,
11
+ P as cssVarValue,
12
+ V as debugWarn,
11
13
  a as ensureOnlyChild,
12
14
  m as flattedChildren,
13
15
  d as getFirstValidNode,
14
16
  p as getNormalizedProps,
15
17
  F as getSizeType,
16
- h as isComment,
17
- f as isFragment,
18
+ f as isComment,
19
+ h as isFragment,
18
20
  x as isTemplate,
19
- g as isText,
20
- w as isValidElementNode,
21
- z as mutable,
22
- c as renderBlock,
23
- u as renderIf,
24
- E as throwError,
25
- v as whenMouse,
26
- r as withInstall,
21
+ c as isText,
22
+ g as isValidElementNode,
23
+ y as mutable,
24
+ u as renderBlock,
25
+ w as renderIf,
26
+ C as throwError,
27
+ b as whenMouse,
28
+ t as withInstall,
27
29
  o as withInstallDirective,
28
30
  l as withInstallFunction,
29
31
  i as withNoopInstall
@@ -0,0 +1 @@
1
+ export declare const cssVarValue: (prop: any, target?: HTMLElement) => import("vue").Ref<string>;