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.
- package/dist/index.css +1 -1
- package/es/components/avatar/avatar.vue2.mjs +3 -2
- package/es/components/avatar/index.mjs +4 -3
- package/es/components/back-top/back-top.vue.d.ts +2 -2
- package/es/components/back-top/back-top.vue2.mjs +3 -2
- package/es/components/back-top/index.d.ts +2 -2
- package/es/components/back-top/index.mjs +4 -3
- package/es/components/back-top/use-back-top.mjs +11 -10
- package/es/components/clamp/clamp.vue2.mjs +10 -9
- package/es/components/clamp/index.mjs +4 -3
- package/es/components/clamp-toggle/clamp-toggle.vue2.mjs +3 -2
- package/es/components/clamp-toggle/index.mjs +4 -3
- package/es/components/collapse-transition/src/collapse-transition.vue2.mjs +6 -5
- package/es/components/config-provider/config-provider.vue2.mjs +3 -2
- package/es/components/config-provider/hooks/use-global-config.d.ts +1 -1
- package/es/components/config-provider/hooks/use-global-config.mjs +5 -4
- package/es/components/config-provider/index.mjs +11 -10
- package/es/components/context-menu/context-menu.vue2.mjs +4 -2
- package/es/components/descriptions/description-item.vue2.mjs +6 -5
- package/es/components/descriptions/description.vue2.mjs +14 -13
- package/es/components/descriptions/descriptions-cell.mjs +12 -11
- package/es/components/descriptions/descriptions-row.vue2.mjs +12 -11
- package/es/components/descriptions/index.mjs +6 -5
- package/es/components/divider/divider.vue2.mjs +6 -5
- package/es/components/divider/index.mjs +4 -3
- package/es/components/empty/empty.vue2.mjs +3 -2
- package/es/components/empty/index.mjs +6 -5
- package/es/components/exception/index.mjs +4 -3
- package/es/components/focus-trap/focus-trap.vue2.mjs +1 -1
- package/es/components/footer-layout/footer-layout.vue2.mjs +10 -9
- package/es/components/footer-layout/index.mjs +4 -3
- package/es/components/full-screen/full-screen.vue2.mjs +7 -6
- package/es/components/full-screen/index.mjs +4 -3
- package/es/components/header-layout/header-layout.vue2.mjs +3 -2
- package/es/components/header-layout/index.mjs +4 -3
- package/es/components/icon/icon.vue2.mjs +7 -6
- package/es/components/icon/index.mjs +5 -4
- package/es/components/icon-text/icon-text.vue.d.ts +2 -2
- package/es/components/icon-text/icon-text.vue2.mjs +10 -9
- package/es/components/icon-text/index.d.ts +2 -2
- package/es/components/icon-text/index.mjs +4 -3
- package/es/components/iframe-layout/iframe-layout.vue2.mjs +3 -2
- package/es/components/iframe-layout/iframe-page.vue2.mjs +3 -2
- package/es/components/iframe-layout/index.mjs +4 -3
- package/es/components/image/image.vue2.mjs +8 -7
- package/es/components/image/index.mjs +4 -3
- package/es/components/input/index.mjs +4 -3
- package/es/components/input/input.vue2.mjs +3 -2
- package/es/components/link/index.mjs +4 -3
- package/es/components/link/link.vue2.mjs +3 -2
- package/es/components/loading/loading.mjs +56 -50
- package/es/components/loading/service.mjs +20 -19
- package/es/components/logo/index.mjs +4 -3
- package/es/components/logo/logo.vue2.mjs +10 -9
- package/es/components/md-code-demo/index.mjs +4 -3
- package/es/components/md-code-demo/md-code-demo.mjs +4 -2
- package/es/components/md-code-tabs/index.mjs +4 -3
- package/es/components/md-comment/index.mjs +4 -3
- package/es/components/md-comment/md-comment.vue2.mjs +1 -1
- package/es/components/md-container/index.mjs +4 -3
- package/es/components/md-container/md-container.vue2.mjs +43 -42
- package/es/components/md-tabs/index.mjs +4 -3
- package/es/components/md-vue-playground/index.mjs +4 -3
- package/es/components/md-vue-playground/md-vue-playground.vue2.mjs +11 -10
- package/es/components/menu/index.d.ts +4 -4
- package/es/components/menu/index.mjs +9 -8
- package/es/components/menu/menu-collapse-transition.vue2.mjs +3 -2
- package/es/components/menu/menu-item-group.vue2.mjs +8 -7
- package/es/components/menu/menu-item.vue.d.ts +2 -2
- package/es/components/menu/menu-item.vue2.mjs +3 -2
- package/es/components/menu/menu.vue2.mjs +3 -2
- package/es/components/menu/sub-menu.vue2.mjs +3 -2
- package/es/components/menu/use-menu-css-var.mjs +3 -2
- package/es/components/message/index.mjs +8 -7
- package/es/components/message/message.vue2.mjs +5 -4
- package/es/components/message/method.mjs +17 -15
- package/es/components/multiple-tabs/multiple-tabs.vue2.mjs +3 -2
- package/es/components/multiple-tabs/tab-content.vue2.mjs +4 -2
- package/es/components/multiple-tabs/use/use-tab-dropdown.mjs +16 -16
- package/es/components/overlay/index.mjs +4 -3
- package/es/components/overlay/overlay.vue2.mjs +16 -15
- package/es/components/page-wrapper/index.mjs +4 -3
- package/es/components/page-wrapper/page-wrapper.vue2.mjs +6 -5
- package/es/components/pagination/components/jumper.vue2.mjs +15 -14
- package/es/components/pagination/components/pager.vue2.mjs +3 -2
- package/es/components/pagination/components/sizes.vue2.mjs +3 -2
- package/es/components/pagination/components/total.vue2.mjs +5 -4
- package/es/components/pagination/index.mjs +9 -8
- package/es/components/pagination/pagination.mjs +19 -18
- package/es/components/popover/index.d.ts +2 -2
- package/es/components/popover/index.mjs +4 -3
- package/es/components/popover/popover.vue.d.ts +2 -2
- package/es/components/popover/popover.vue2.mjs +3 -2
- package/es/components/popper/arrow.vue2.mjs +3 -2
- package/es/components/popper/composables/use-content-dom.mjs +3 -2
- package/es/components/popper/composables/use-content.mjs +4 -2
- package/es/components/popper/index.mjs +10 -9
- package/es/components/popper/trigger.vue2.mjs +11 -9
- package/es/components/qrcode/index.mjs +4 -3
- package/es/components/qrcode/qrcode.vue2.mjs +6 -5
- package/es/components/result/index.mjs +4 -3
- package/es/components/result/result.vue2.mjs +3 -2
- package/es/components/router-view-content/index.d.ts +6 -6
- package/es/components/router-view-content/index.mjs +4 -3
- package/es/components/router-view-content/router-view-content.vue.d.ts +6 -6
- package/es/components/router-view-content/router-view-content.vue2.mjs +17 -16
- package/es/components/search/index.mjs +4 -3
- package/es/components/search/search.vue2.mjs +3 -2
- package/es/components/side-menu/index.mjs +4 -3
- package/es/components/side-menu/side-menu.vue2.mjs +14 -12
- package/es/components/slot/only-child.mjs +3 -2
- package/es/components/tabs/index.mjs +9 -8
- package/es/components/tabs/tab-bar.vue2.mjs +3 -2
- package/es/components/tabs/tab-nav.vue2.mjs +3 -2
- package/es/components/tabs/tab-pane.vue2.mjs +3 -2
- package/es/components/tabs/tabs.vue2.mjs +3 -2
- package/es/components/tag/index.d.ts +2 -2
- package/es/components/tag/index.mjs +4 -3
- package/es/components/tag/tag.vue.d.ts +2 -2
- package/es/components/tag/tag.vue2.mjs +3 -2
- package/es/components/tooltip/content.vue2.mjs +12 -11
- package/es/components/tooltip/index.d.ts +2 -2
- package/es/components/tooltip/index.mjs +4 -3
- package/es/components/tooltip/tooltip.vue.d.ts +2 -2
- package/es/components/tooltip/tooltip.vue2.mjs +12 -10
- package/es/components/tooltip/trigger.vue2.mjs +7 -6
- package/es/components/tooltip/utils.mjs +6 -4
- package/es/hooks/use-cursor/index.mjs +4 -4
- package/es/hooks/use-id/index.mjs +6 -5
- package/es/hooks/use-namespace/index.d.ts +1 -1
- package/es/hooks/use-namespace/index.mjs +27 -26
- package/es/hooks/use-ordered-children/index.mjs +5 -4
- package/es/index.mjs +53 -51
- package/es/package.json.mjs +1 -1
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.mjs +19 -17
- package/es/utils/ns-cover.d.ts +1 -0
- package/es/utils/ns-cover.mjs +7 -0
- package/lib/components/avatar/avatar.vue2.js +1 -1
- package/lib/components/avatar/index.js +1 -1
- package/lib/components/back-top/back-top.vue.d.ts +2 -2
- package/lib/components/back-top/back-top.vue2.js +1 -1
- package/lib/components/back-top/index.d.ts +2 -2
- package/lib/components/back-top/index.js +1 -1
- package/lib/components/back-top/use-back-top.js +1 -1
- package/lib/components/clamp/clamp.vue2.js +1 -1
- package/lib/components/clamp/index.js +1 -1
- package/lib/components/clamp-toggle/clamp-toggle.vue2.js +1 -1
- package/lib/components/clamp-toggle/index.js +1 -1
- package/lib/components/collapse-transition/src/collapse-transition.vue2.js +1 -1
- package/lib/components/config-provider/config-provider.vue2.js +1 -1
- package/lib/components/config-provider/hooks/use-global-config.d.ts +1 -1
- package/lib/components/config-provider/hooks/use-global-config.js +1 -1
- package/lib/components/config-provider/index.js +1 -1
- package/lib/components/context-menu/context-menu.vue2.js +1 -1
- package/lib/components/descriptions/description-item.vue2.js +1 -1
- package/lib/components/descriptions/description.vue2.js +1 -1
- package/lib/components/descriptions/descriptions-cell.js +1 -1
- package/lib/components/descriptions/descriptions-row.vue2.js +1 -1
- package/lib/components/descriptions/index.js +1 -1
- package/lib/components/divider/divider.vue2.js +1 -1
- package/lib/components/divider/index.js +1 -1
- package/lib/components/empty/empty.vue2.js +1 -1
- package/lib/components/empty/index.js +1 -1
- package/lib/components/exception/index.js +1 -1
- package/lib/components/focus-trap/focus-trap.vue2.js +1 -1
- package/lib/components/footer-layout/footer-layout.vue2.js +1 -1
- package/lib/components/footer-layout/index.js +1 -1
- package/lib/components/full-screen/full-screen.vue2.js +1 -1
- package/lib/components/full-screen/index.js +1 -1
- package/lib/components/header-layout/header-layout.vue2.js +1 -1
- package/lib/components/header-layout/index.js +1 -1
- package/lib/components/icon/icon.vue2.js +1 -1
- package/lib/components/icon/index.js +1 -1
- package/lib/components/icon-text/icon-text.vue.d.ts +2 -2
- package/lib/components/icon-text/icon-text.vue2.js +1 -1
- package/lib/components/icon-text/index.d.ts +2 -2
- package/lib/components/icon-text/index.js +1 -1
- package/lib/components/iframe-layout/iframe-layout.vue2.js +1 -1
- package/lib/components/iframe-layout/iframe-page.vue2.js +1 -1
- package/lib/components/iframe-layout/index.js +1 -1
- package/lib/components/image/image.vue2.js +1 -1
- package/lib/components/image/index.js +1 -1
- package/lib/components/input/index.js +1 -1
- package/lib/components/input/input.vue2.js +1 -1
- package/lib/components/link/index.js +1 -1
- package/lib/components/link/link.vue2.js +1 -1
- package/lib/components/loading/loading.js +1 -1
- package/lib/components/loading/service.js +1 -1
- package/lib/components/logo/index.js +1 -1
- package/lib/components/logo/logo.vue2.js +1 -1
- package/lib/components/md-code-demo/index.js +1 -1
- package/lib/components/md-code-demo/md-code-demo.js +1 -1
- package/lib/components/md-code-tabs/index.js +1 -1
- package/lib/components/md-comment/index.js +1 -1
- package/lib/components/md-comment/md-comment.vue2.js +1 -1
- package/lib/components/md-container/index.js +1 -1
- package/lib/components/md-container/md-container.vue2.js +1 -1
- package/lib/components/md-tabs/index.js +1 -1
- package/lib/components/md-vue-playground/index.js +1 -1
- package/lib/components/md-vue-playground/md-vue-playground.vue2.js +1 -1
- package/lib/components/menu/index.d.ts +4 -4
- package/lib/components/menu/index.js +1 -1
- package/lib/components/menu/menu-collapse-transition.vue2.js +1 -1
- package/lib/components/menu/menu-item-group.vue2.js +1 -1
- package/lib/components/menu/menu-item.vue.d.ts +2 -2
- package/lib/components/menu/menu-item.vue2.js +1 -1
- package/lib/components/menu/menu.vue2.js +1 -1
- package/lib/components/menu/sub-menu.vue2.js +1 -1
- package/lib/components/menu/use-menu-css-var.js +1 -1
- package/lib/components/message/index.js +1 -1
- package/lib/components/message/message.vue2.js +1 -1
- package/lib/components/message/method.js +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.js +1 -1
- package/lib/components/multiple-tabs/tab-content.vue2.js +1 -1
- package/lib/components/multiple-tabs/use/use-tab-dropdown.js +1 -1
- package/lib/components/overlay/index.js +1 -1
- package/lib/components/overlay/overlay.vue2.js +1 -1
- package/lib/components/page-wrapper/index.js +1 -1
- package/lib/components/page-wrapper/page-wrapper.vue2.js +1 -1
- package/lib/components/pagination/components/jumper.vue2.js +1 -1
- package/lib/components/pagination/components/pager.vue2.js +1 -1
- package/lib/components/pagination/components/sizes.vue2.js +1 -1
- package/lib/components/pagination/components/total.vue2.js +1 -1
- package/lib/components/pagination/index.js +1 -1
- package/lib/components/pagination/pagination.js +1 -1
- package/lib/components/popover/index.d.ts +2 -2
- package/lib/components/popover/index.js +1 -1
- package/lib/components/popover/popover.vue.d.ts +2 -2
- package/lib/components/popover/popover.vue2.js +1 -1
- package/lib/components/popper/arrow.vue2.js +1 -1
- package/lib/components/popper/composables/use-content-dom.js +1 -1
- package/lib/components/popper/composables/use-content.js +1 -1
- package/lib/components/popper/index.js +1 -1
- package/lib/components/popper/trigger.vue2.js +1 -1
- package/lib/components/qrcode/index.js +1 -1
- package/lib/components/qrcode/qrcode.vue2.js +1 -1
- package/lib/components/result/index.js +1 -1
- package/lib/components/result/result.vue2.js +1 -1
- package/lib/components/router-view-content/index.d.ts +6 -6
- package/lib/components/router-view-content/index.js +1 -1
- package/lib/components/router-view-content/router-view-content.vue.d.ts +6 -6
- package/lib/components/router-view-content/router-view-content.vue2.js +1 -1
- package/lib/components/search/index.js +1 -1
- package/lib/components/search/search.vue2.js +1 -1
- package/lib/components/side-menu/index.js +1 -1
- package/lib/components/side-menu/side-menu.vue2.js +1 -1
- package/lib/components/slot/only-child.js +1 -1
- package/lib/components/tabs/index.js +1 -1
- package/lib/components/tabs/tab-bar.vue2.js +1 -1
- package/lib/components/tabs/tab-nav.vue2.js +1 -1
- package/lib/components/tabs/tab-pane.vue2.js +1 -1
- package/lib/components/tabs/tabs.vue2.js +1 -1
- package/lib/components/tag/index.d.ts +2 -2
- package/lib/components/tag/index.js +1 -1
- package/lib/components/tag/tag.vue.d.ts +2 -2
- package/lib/components/tag/tag.vue2.js +1 -1
- package/lib/components/tooltip/content.vue2.js +1 -1
- package/lib/components/tooltip/index.d.ts +2 -2
- package/lib/components/tooltip/index.js +1 -1
- package/lib/components/tooltip/tooltip.vue.d.ts +2 -2
- package/lib/components/tooltip/tooltip.vue2.js +1 -1
- package/lib/components/tooltip/trigger.vue2.js +1 -1
- package/lib/components/tooltip/utils.js +1 -1
- package/lib/hooks/use-cursor/index.js +1 -1
- package/lib/hooks/use-id/index.js +1 -1
- package/lib/hooks/use-namespace/index.d.ts +1 -1
- package/lib/hooks/use-namespace/index.js +1 -1
- package/lib/hooks/use-ordered-children/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/package.json.js +1 -1
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +1 -1
- package/lib/utils/ns-cover.d.ts +1 -0
- package/lib/utils/ns-cover.js +1 -0
- package/package.json +6 -6
- package/theme-style/index.css +1 -1
- package/theme-style/src/side-menu.scss +1 -0
- package/theme-style/vft-md-basic-tabs.css +0 -0
- 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<"
|
|
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<"
|
|
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
|
|
7
|
+
const l = t(o);
|
|
7
8
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
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<"
|
|
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<"
|
|
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
|
|
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
|
-
}),
|
|
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:
|
|
74
|
+
setup(e, { expose: T, emit: r }) {
|
|
73
75
|
z();
|
|
74
|
-
const A = L(), u =
|
|
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 =
|
|
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
|
-
|
|
104
|
+
r("show", l.value);
|
|
103
105
|
},
|
|
104
106
|
onHide: () => {
|
|
105
|
-
|
|
107
|
+
r("hide", l.value);
|
|
106
108
|
},
|
|
107
109
|
onBeforeShow: () => {
|
|
108
|
-
|
|
110
|
+
r("before-show", l.value);
|
|
109
111
|
},
|
|
110
112
|
onBeforeHide: () => {
|
|
111
|
-
|
|
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
|
-
|
|
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
|
-
}),
|
|
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:
|
|
27
|
-
const
|
|
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
|
|
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(
|
|
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
|
-
|
|
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,
|
|
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:
|
|
14
|
+
useModelToggle: h
|
|
13
15
|
} = p("visible");
|
|
14
16
|
export {
|
|
15
17
|
l as isTriggerType,
|
|
16
|
-
|
|
17
|
-
|
|
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
|
|
5
|
+
if (r.value === void 0)
|
|
6
6
|
return;
|
|
7
7
|
const { selectionStart: e, selectionEnd: t, value: o } = r.value;
|
|
8
|
-
if (e
|
|
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
|
|
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
|
|
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
|
|
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 = () =>
|
|
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
|
|
20
|
+
const t = p();
|
|
20
21
|
return c(
|
|
21
|
-
() => s(
|
|
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
|
-
|
|
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:
|
|
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 {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
},
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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:
|
|
12
|
-
b: (s = "") => c(
|
|
13
|
-
e: (s) => s ? c(
|
|
14
|
-
m: (s) => s ? c(
|
|
15
|
-
be: (s, e) => s && e ? c(
|
|
16
|
-
em: (s, e) => s && e ? c(
|
|
17
|
-
bm: (s, e) => s && e ? c(
|
|
18
|
-
bem: (s, e, n) => s && e && n ? c(
|
|
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 ? `${
|
|
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[`--${
|
|
28
|
+
s[n] && (e[`--${a.value}-${n}`] = s[n]);
|
|
28
29
|
return e;
|
|
29
30
|
},
|
|
30
|
-
cssVarName: (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[`--${
|
|
35
|
+
s[n] && (e[`--${a.value}-${t}-${n}`] = s[n]);
|
|
35
36
|
return e;
|
|
36
37
|
},
|
|
37
|
-
cssVarBlockName: (s) => `--${
|
|
38
|
+
cssVarBlockName: (s) => `--${a.value}-${t}-${s}`
|
|
38
39
|
};
|
|
39
40
|
};
|
|
40
41
|
export {
|
|
41
42
|
c as _bem,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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
|
-
|
|
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),
|
|
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 =
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import { default as wr } from "./components/popper/
|
|
76
|
-
import { default as Fr } from "./components/popper/
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
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
|
-
|
|
90
|
+
Dr as CompResolver,
|
|
90
91
|
Qe as EVENT_CODE,
|
|
91
|
-
|
|
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
|
-
|
|
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
|
-
|
|
123
|
-
|
|
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
|
-
|
|
142
|
-
|
|
143
|
-
|
|
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
|
-
|
|
149
|
+
ce as VftSideMenu,
|
|
149
150
|
h as VftSubMenu,
|
|
150
|
-
|
|
151
|
-
|
|
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
|
-
|
|
160
|
+
Yr as configProviderContextKey,
|
|
160
161
|
S as createContextMenu,
|
|
161
|
-
|
|
162
|
+
pt as createLoadingDirective,
|
|
162
163
|
Wo as createModelToggleComposable,
|
|
164
|
+
Ir as cssVarValue,
|
|
163
165
|
$e as datePickTypes,
|
|
164
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
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
|
-
|
|
190
|
-
|
|
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
|
-
|
|
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
|
-
|
|
201
|
-
|
|
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
|
-
|
|
210
|
+
$r as usePagination,
|
|
209
211
|
Co as usePopper,
|
|
210
212
|
So as usePopperContainer,
|
|
211
213
|
Fo as usePopperContainerId,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
+
Or as useTabDropdown,
|
|
215
|
+
zr as useTabsDrag,
|
|
214
216
|
Oo as useTimeout,
|
|
215
217
|
Mo as useZIndex,
|
|
216
|
-
|
|
218
|
+
mt as vLoading,
|
|
217
219
|
t as version,
|
|
218
220
|
gr as whenMouse,
|
|
219
221
|
Bo as withInstall,
|
package/es/package.json.mjs
CHANGED
package/es/utils/index.d.ts
CHANGED
package/es/utils/index.mjs
CHANGED
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
import { withInstall as
|
|
2
|
-
import { PatchFlags as s, ensureOnlyChild as a, flattedChildren as m, getFirstValidNode as d, getNormalizedProps as p, isComment as
|
|
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
|
|
5
|
-
import { composeEventHandlers as
|
|
6
|
-
import { mutable as
|
|
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
|
-
|
|
10
|
-
|
|
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
|
-
|
|
17
|
-
|
|
18
|
+
f as isComment,
|
|
19
|
+
h as isFragment,
|
|
18
20
|
x as isTemplate,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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>;
|