vft 0.0.154 → 0.0.156
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/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/es/app-components/button/button-custom.d.ts +1 -1
- package/es/app-components/form/hooks/use-form-common-props.d.ts +5 -4
- package/es/app-components/hooks/use-id.d.ts +2 -1
- package/es/component.js +135 -133
- package/es/components/affix/affix.d.ts +2 -2
- package/es/components/affix/affix.vue.d.ts +1 -1
- package/es/components/affix/index.d.ts +3 -3
- package/es/components/autocomplete/autocomplete.vue.d.ts +18 -18
- package/es/components/autocomplete/index.d.ts +54 -54
- package/es/components/backtop/backtop.vue2.js +3 -2
- package/es/components/button/button-custom.d.ts +1 -1
- package/es/components/button/button.vue.d.ts +1 -1
- package/es/components/button/index.d.ts +3 -3
- package/es/components/button/use-button.d.ts +3 -3
- package/es/components/button/use-button.js +3 -3
- package/es/components/carousel/carousel.vue.d.ts +1 -1
- package/es/components/carousel/index.d.ts +19 -19
- package/es/components/carousel/use-carousel.d.ts +2 -2
- package/es/components/checkbox/composables/use-checkbox-disabled.d.ts +1 -1
- package/es/components/checkbox/composables/use-checkbox.d.ts +1 -1
- package/es/components/checkbox/index.d.ts +48 -48
- package/es/components/clamp/clamp.vue.d.ts +4 -15
- package/es/components/clamp/clamp.vue2.js +28 -25
- package/es/components/clamp/index.d.ts +10 -3
- package/es/components/clamp/types.d.ts +14 -0
- package/es/components/clamp/types.js +1 -0
- package/es/components/clamp-tooltip/clamp-tooltip.vue.d.ts +12 -0
- package/es/components/clamp-tooltip/clamp-tooltip.vue.js +4 -0
- package/es/components/clamp-tooltip/clamp-tooltip.vue2.js +47 -0
- package/es/components/clamp-tooltip/index.d.ts +61 -0
- package/es/components/clamp-tooltip/index.js +12 -0
- package/es/components/clamp-tooltip/style/css.d.ts +0 -0
- package/es/components/clamp-tooltip/style/css.js +2 -0
- package/es/components/clamp-tooltip/style/index.d.ts +0 -0
- package/es/components/clamp-tooltip/style/index.js +2 -0
- package/es/components/clamp-tooltip/types.d.ts +6 -0
- package/es/components/clamp-tooltip/types.js +1 -0
- package/es/components/config-provider/hooks/use-global-config.d.ts +3 -2
- package/es/components/container/main.vue2.js +6 -5
- package/es/components/context-menu/context-menu.vue2.js +3 -2
- package/es/components/date-picker/composables/use-range-picker.d.ts +1 -1
- package/es/components/date-picker/date-picker.d.ts +4 -20
- package/es/components/date-picker/index.d.ts +8 -40
- package/es/components/date-picker/props/date-picker.d.ts +1 -9
- package/es/components/date-picker/props/shared.d.ts +1 -1
- package/es/components/date-picker/utils.d.ts +1 -1
- package/es/components/dialog/dialog.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +6 -6
- package/es/components/drawer/drawer.vue.d.ts +2 -2
- package/es/components/drawer/index.d.ts +6 -6
- package/es/components/dropdown/dropdown.vue.d.ts +3 -3
- package/es/components/dropdown/index.d.ts +45 -45
- package/es/components/footer-layout/footer-layout.vue2.js +3 -2
- package/es/components/form/hooks/use-form-common-props.d.ts +6 -4
- package/es/components/full-screen/full-screen.vue2.js +13 -10
- package/es/components/full-screen/index.d.ts +18 -0
- package/es/components/header-layout/header-layout.vue2.js +3 -2
- package/es/components/icon/icon.vue2.js +21 -20
- package/es/components/icon-text/icon-text.vue.d.ts +5 -0
- package/es/components/icon-text/icon-text.vue2.js +36 -27
- package/es/components/icon-text/index.d.ts +18 -0
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +335 -333
- package/es/components/loading/index.d.ts +17 -9
- package/es/components/loading/loading.d.ts +17 -9
- package/es/components/md-container/md-container.vue2.js +3 -2
- package/es/components/menu/menu-item.vue2.js +3 -2
- package/es/components/menu/sub-menu.vue2.js +24 -23
- package/es/components/modal/index.d.ts +11 -11
- package/es/components/modal/modal-footer-action.vue2.js +3 -2
- package/es/components/modal/modal.vue.d.ts +1 -1
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +4 -3
- package/es/components/popconfirm/index.d.ts +11 -11
- package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/es/components/popover/index.d.ts +8 -8
- package/es/components/popper/composables/use-content-dom.d.ts +3 -1
- package/es/components/popper/composables/use-content.d.ts +70 -6
- package/es/components/popper/index.d.ts +3 -3
- package/es/components/popper/popper.vue.d.ts +2 -1
- package/es/components/popper/utils.d.ts +45 -2
- package/es/components/progress/index.d.ts +4 -4
- package/es/components/radio/index.d.ts +24 -24
- package/es/components/radio/use-radio.d.ts +1 -1
- package/es/components/result/result.vue2.js +3 -2
- package/es/components/router-view-content/index.d.ts +12 -0
- package/es/components/router-view-content/router-view-content.vue.d.ts +2 -0
- package/es/components/router-view-content/router-view-content.vue2.js +48 -33
- package/es/components/select/defaults.d.ts +4 -3
- package/es/components/select/index.d.ts +60 -60
- package/es/components/select/select.vue.d.ts +30 -30
- package/es/components/select/useSelect.d.ts +19 -19
- package/es/components/side-menu/index.d.ts +8 -4
- package/es/components/side-menu/side-menu.vue.d.ts +2 -2
- package/es/components/side-menu/side-menu.vue2.js +6 -3
- package/es/components/slider/composables/use-slide.d.ts +6 -6
- package/es/components/slider/index.d.ts +2 -2
- package/es/components/slider/slider.d.ts +3 -3
- package/es/components/space/index.d.ts +5 -2
- package/es/components/space/space.d.ts +5 -2
- package/es/components/super-form/component-map.js +13 -12
- package/es/components/super-form/index.d.ts +3 -3
- package/es/components/super-form/super-form-action.vue2.js +3 -2
- package/es/components/super-form/super-form-item.vue2.js +3 -2
- package/es/components/super-form/super-form.vue.d.ts +1 -1
- package/es/components/super-form/super-form.vue2.js +3 -2
- package/es/components/table/field.js +19 -18
- package/es/components/table/index.d.ts +32 -32
- package/es/components/table/use/use-columns.d.ts +801 -3
- package/es/components/tabs/index.d.ts +6 -0
- package/es/components/tabs/tab-nav.vue.d.ts +2 -0
- package/es/components/tabs/tab-nav.vue2.js +95 -87
- package/es/components/tabs/tabs.vue.d.ts +2 -0
- package/es/components/tabs/tabs.vue2.js +42 -36
- package/es/components/time-picker/common/picker.vue.d.ts +6 -21
- package/es/components/time-picker/common/props.d.ts +2 -9
- package/es/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/es/components/time-picker/index.d.ts +8 -40
- package/es/components/time-picker/time-picker.d.ts +4 -20
- package/es/components/time-picker/utils.d.ts +1 -1
- package/es/components/time-select/time-select.vue.d.ts +1 -1
- package/es/components/tooltip/index.d.ts +16 -16
- package/es/components/tooltip/utils.d.ts +1 -1
- package/es/components/tree/index.d.ts +16 -16
- package/es/components/upload/index.d.ts +1 -1
- package/es/components/upload/upload.vue.d.ts +1 -1
- package/es/components/upload/use-handlers.d.ts +21 -1
- package/es/components/virtual-list/hooks/use-cache.d.ts +1 -1
- package/es/hooks/use-id/index.d.ts +2 -1
- package/es/hooks/use-model-toggle/index.d.ts +2 -2
- package/es/hooks/use-popper/index.d.ts +70 -7
- package/es/hooks/use-same-target/index.d.ts +3 -3
- package/es/hooks/use-z-index/index.d.ts +1 -1
- package/es/index.js +456 -454
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/app-components/button/button-custom.d.ts +1 -1
- package/lib/app-components/form/hooks/use-form-common-props.d.ts +5 -4
- package/lib/app-components/hooks/use-id.d.ts +2 -1
- package/lib/component.cjs +1 -1
- package/lib/components/affix/affix.d.ts +2 -2
- package/lib/components/affix/affix.vue.d.ts +1 -1
- package/lib/components/affix/index.d.ts +3 -3
- package/lib/components/autocomplete/autocomplete.vue.d.ts +18 -18
- package/lib/components/autocomplete/index.d.ts +54 -54
- package/lib/components/backtop/backtop.vue2.cjs +1 -1
- package/lib/components/button/button-custom.d.ts +1 -1
- package/lib/components/button/button.vue.d.ts +1 -1
- package/lib/components/button/index.d.ts +3 -3
- package/lib/components/button/use-button.cjs +1 -1
- package/lib/components/button/use-button.d.ts +3 -3
- package/lib/components/carousel/carousel.vue.d.ts +1 -1
- package/lib/components/carousel/index.d.ts +19 -19
- package/lib/components/carousel/use-carousel.d.ts +2 -2
- package/lib/components/checkbox/composables/use-checkbox-disabled.d.ts +1 -1
- package/lib/components/checkbox/composables/use-checkbox.d.ts +1 -1
- package/lib/components/checkbox/index.d.ts +48 -48
- package/lib/components/clamp/clamp.vue.d.ts +4 -15
- package/lib/components/clamp/clamp.vue2.cjs +1 -1
- package/lib/components/clamp/index.d.ts +10 -3
- package/lib/components/clamp/types.cjs +1 -0
- package/lib/components/clamp/types.d.ts +14 -0
- package/lib/components/clamp-tooltip/clamp-tooltip.vue.cjs +1 -0
- package/lib/components/clamp-tooltip/clamp-tooltip.vue.d.ts +12 -0
- package/lib/components/clamp-tooltip/clamp-tooltip.vue2.cjs +1 -0
- package/lib/components/clamp-tooltip/index.cjs +1 -0
- package/lib/components/clamp-tooltip/index.d.ts +61 -0
- package/lib/components/clamp-tooltip/style/css.cjs +1 -0
- package/lib/components/clamp-tooltip/style/css.d.ts +0 -0
- package/lib/components/clamp-tooltip/style/index.cjs +1 -0
- package/lib/components/clamp-tooltip/style/index.d.ts +0 -0
- package/lib/components/clamp-tooltip/types.cjs +1 -0
- package/lib/components/clamp-tooltip/types.d.ts +6 -0
- package/lib/components/config-provider/hooks/use-global-config.d.ts +3 -2
- package/lib/components/container/main.vue2.cjs +1 -1
- package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
- package/lib/components/date-picker/composables/use-range-picker.d.ts +1 -1
- package/lib/components/date-picker/date-picker.d.ts +4 -20
- package/lib/components/date-picker/index.d.ts +8 -40
- package/lib/components/date-picker/props/date-picker.d.ts +1 -9
- package/lib/components/date-picker/props/shared.d.ts +1 -1
- package/lib/components/date-picker/utils.d.ts +1 -1
- package/lib/components/dialog/dialog.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +6 -6
- package/lib/components/drawer/drawer.vue.d.ts +2 -2
- package/lib/components/drawer/index.d.ts +6 -6
- package/lib/components/dropdown/dropdown.vue.d.ts +3 -3
- package/lib/components/dropdown/index.d.ts +45 -45
- package/lib/components/footer-layout/footer-layout.vue2.cjs +1 -1
- package/lib/components/form/hooks/use-form-common-props.d.ts +6 -4
- package/lib/components/full-screen/full-screen.vue2.cjs +1 -1
- package/lib/components/full-screen/index.d.ts +18 -0
- package/lib/components/header-layout/header-layout.vue2.cjs +1 -1
- package/lib/components/icon/icon.vue2.cjs +1 -1
- package/lib/components/icon-text/icon-text.vue.d.ts +5 -0
- package/lib/components/icon-text/icon-text.vue2.cjs +1 -1
- package/lib/components/icon-text/index.d.ts +18 -0
- package/lib/components/index.cjs +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/loading/index.d.ts +17 -9
- package/lib/components/loading/loading.d.ts +17 -9
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/menu/menu-item.vue2.cjs +1 -1
- package/lib/components/menu/sub-menu.vue2.cjs +1 -1
- package/lib/components/modal/index.d.ts +11 -11
- package/lib/components/modal/modal-footer-action.vue2.cjs +1 -1
- package/lib/components/modal/modal.vue.d.ts +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/popconfirm/index.d.ts +11 -11
- package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/lib/components/popover/index.d.ts +8 -8
- package/lib/components/popper/composables/use-content-dom.d.ts +3 -1
- package/lib/components/popper/composables/use-content.d.ts +70 -6
- package/lib/components/popper/index.d.ts +3 -3
- package/lib/components/popper/popper.vue.d.ts +2 -1
- package/lib/components/popper/utils.d.ts +45 -2
- package/lib/components/progress/index.d.ts +4 -4
- package/lib/components/radio/index.d.ts +24 -24
- package/lib/components/radio/use-radio.d.ts +1 -1
- package/lib/components/result/result.vue2.cjs +1 -1
- package/lib/components/router-view-content/index.d.ts +12 -0
- package/lib/components/router-view-content/router-view-content.vue.d.ts +2 -0
- package/lib/components/router-view-content/router-view-content.vue2.cjs +1 -1
- package/lib/components/select/defaults.d.ts +4 -3
- package/lib/components/select/index.d.ts +60 -60
- package/lib/components/select/select.vue.d.ts +30 -30
- package/lib/components/select/useSelect.d.ts +19 -19
- package/lib/components/side-menu/index.d.ts +8 -4
- package/lib/components/side-menu/side-menu.vue.d.ts +2 -2
- package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
- package/lib/components/slider/composables/use-slide.d.ts +6 -6
- package/lib/components/slider/index.d.ts +2 -2
- package/lib/components/slider/slider.d.ts +3 -3
- package/lib/components/space/index.d.ts +5 -2
- package/lib/components/space/space.d.ts +5 -2
- package/lib/components/super-form/component-map.cjs +1 -1
- package/lib/components/super-form/index.d.ts +3 -3
- package/lib/components/super-form/super-form-action.vue2.cjs +1 -1
- package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
- package/lib/components/super-form/super-form.vue.d.ts +1 -1
- package/lib/components/super-form/super-form.vue2.cjs +1 -1
- package/lib/components/table/field.cjs +1 -1
- package/lib/components/table/index.d.ts +32 -32
- package/lib/components/table/use/use-columns.d.ts +801 -3
- package/lib/components/tabs/index.d.ts +6 -0
- package/lib/components/tabs/tab-nav.vue.d.ts +2 -0
- package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
- package/lib/components/tabs/tabs.vue.d.ts +2 -0
- package/lib/components/tabs/tabs.vue2.cjs +1 -1
- package/lib/components/time-picker/common/picker.vue.d.ts +6 -21
- package/lib/components/time-picker/common/props.d.ts +2 -9
- package/lib/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/lib/components/time-picker/index.d.ts +8 -40
- package/lib/components/time-picker/time-picker.d.ts +4 -20
- package/lib/components/time-picker/utils.d.ts +1 -1
- package/lib/components/time-select/time-select.vue.d.ts +1 -1
- package/lib/components/tooltip/index.d.ts +16 -16
- package/lib/components/tooltip/utils.d.ts +1 -1
- package/lib/components/tree/index.d.ts +16 -16
- package/lib/components/upload/index.d.ts +1 -1
- package/lib/components/upload/upload.vue.d.ts +1 -1
- package/lib/components/upload/use-handlers.d.ts +21 -1
- package/lib/components/virtual-list/hooks/use-cache.d.ts +1 -1
- package/lib/hooks/use-id/index.d.ts +2 -1
- package/lib/hooks/use-model-toggle/index.d.ts +2 -2
- package/lib/hooks/use-popper/index.d.ts +70 -7
- package/lib/hooks/use-same-target/index.d.ts +3 -3
- package/lib/hooks/use-z-index/index.d.ts +1 -1
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +6 -6
- package/tags.json +1 -1
- package/theme-style/index.css +1 -1
- package/theme-style/src/clamp-tooltip.scss +0 -0
- package/theme-style/src/icon-text.scss +8 -0
- package/theme-style/src/switch.scss +56 -52
- package/theme-style/src/tabs.scss +11 -2
- package/theme-style/vft-clamp-tooltip.css +0 -0
- package/theme-style/vft-icon-text.css +1 -1
- package/theme-style/vft-switch.css +1 -1
- package/theme-style/vft-tabs.css +1 -1
- package/web-types.json +1 -1
|
@@ -18,17 +18,25 @@ export declare const VftLoading: {
|
|
|
18
18
|
originalOverflow: globalThis.Ref<string>;
|
|
19
19
|
visible: globalThis.Ref<boolean>;
|
|
20
20
|
parent: globalThis.Ref<import("./types").LoadingParentElement>;
|
|
21
|
-
background: globalThis.Ref<
|
|
22
|
-
svg: globalThis.Ref<
|
|
23
|
-
svgViewBox: globalThis.Ref<
|
|
24
|
-
spinner: globalThis.Ref<
|
|
25
|
-
img: globalThis.Ref<
|
|
26
|
-
icon: globalThis.Ref<
|
|
27
|
-
|
|
21
|
+
background: globalThis.Ref<string>;
|
|
22
|
+
svg: globalThis.Ref<string>;
|
|
23
|
+
svgViewBox: globalThis.Ref<string>;
|
|
24
|
+
spinner: globalThis.Ref<string | boolean>;
|
|
25
|
+
img: globalThis.Ref<string | boolean>;
|
|
26
|
+
icon: globalThis.Ref<string | import("..").IconProps | {
|
|
27
|
+
icon: string;
|
|
28
|
+
size?: string | number | undefined;
|
|
29
|
+
color?: string | undefined;
|
|
30
|
+
rotate?: boolean | undefined;
|
|
31
|
+
rotateSpeed?: number | undefined;
|
|
32
|
+
pointer?: boolean | undefined;
|
|
33
|
+
hoverColor?: string | undefined;
|
|
34
|
+
}>;
|
|
35
|
+
text: globalThis.Ref<string>;
|
|
28
36
|
fullscreen: globalThis.Ref<boolean>;
|
|
29
|
-
rotate: globalThis.Ref<
|
|
37
|
+
rotate: globalThis.Ref<string | boolean>;
|
|
30
38
|
lock: globalThis.Ref<boolean>;
|
|
31
|
-
customClass: globalThis.Ref<
|
|
39
|
+
customClass: globalThis.Ref<string>;
|
|
32
40
|
target: globalThis.Ref<HTMLElement>;
|
|
33
41
|
beforeClose?: globalThis.Ref<(() => boolean) | undefined> | undefined;
|
|
34
42
|
closed?: globalThis.Ref<(() => void) | undefined> | undefined;
|
|
@@ -10,17 +10,25 @@ export declare function createLoadingComponent(options: LoadingOptionsResolved):
|
|
|
10
10
|
originalOverflow: globalThis.Ref<string>;
|
|
11
11
|
visible: globalThis.Ref<boolean>;
|
|
12
12
|
parent: globalThis.Ref<import("./types").LoadingParentElement>;
|
|
13
|
-
background: globalThis.Ref<
|
|
14
|
-
svg: globalThis.Ref<
|
|
15
|
-
svgViewBox: globalThis.Ref<
|
|
16
|
-
spinner: globalThis.Ref<
|
|
17
|
-
img: globalThis.Ref<
|
|
18
|
-
icon: globalThis.Ref<
|
|
19
|
-
|
|
13
|
+
background: globalThis.Ref<string>;
|
|
14
|
+
svg: globalThis.Ref<string>;
|
|
15
|
+
svgViewBox: globalThis.Ref<string>;
|
|
16
|
+
spinner: globalThis.Ref<string | boolean>;
|
|
17
|
+
img: globalThis.Ref<string | boolean>;
|
|
18
|
+
icon: globalThis.Ref<string | import("vft/es/components/icon").IconProps | {
|
|
19
|
+
icon: string;
|
|
20
|
+
size?: string | number | undefined;
|
|
21
|
+
color?: string | undefined;
|
|
22
|
+
rotate?: boolean | undefined;
|
|
23
|
+
rotateSpeed?: number | undefined;
|
|
24
|
+
pointer?: boolean | undefined;
|
|
25
|
+
hoverColor?: string | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
text: globalThis.Ref<string>;
|
|
20
28
|
fullscreen: globalThis.Ref<boolean>;
|
|
21
|
-
rotate: globalThis.Ref<
|
|
29
|
+
rotate: globalThis.Ref<string | boolean>;
|
|
22
30
|
lock: globalThis.Ref<boolean>;
|
|
23
|
-
customClass: globalThis.Ref<
|
|
31
|
+
customClass: globalThis.Ref<string>;
|
|
24
32
|
target: globalThis.Ref<HTMLElement>;
|
|
25
33
|
beforeClose?: globalThis.Ref<(() => boolean) | undefined> | undefined;
|
|
26
34
|
closed?: globalThis.Ref<(() => void) | undefined> | undefined;
|
|
@@ -11,6 +11,7 @@ import "../check-tag/index.js";
|
|
|
11
11
|
import "../checkbox/index.js";
|
|
12
12
|
import "../clamp/index.js";
|
|
13
13
|
import "../clamp-toggle/index.js";
|
|
14
|
+
import "../clamp-tooltip/index.js";
|
|
14
15
|
import "../col/index.js";
|
|
15
16
|
import "../collapse-transition/index.js";
|
|
16
17
|
import "../color-picker/index.js";
|
|
@@ -117,7 +118,7 @@ const mt = { class: "info-container" }, pt = {
|
|
|
117
118
|
tt("md-container")
|
|
118
119
|
), ct = V({
|
|
119
120
|
name: m.b()
|
|
120
|
-
}),
|
|
121
|
+
}), se = /* @__PURE__ */ V({
|
|
121
122
|
...ct,
|
|
122
123
|
setup(dt, { expose: D }) {
|
|
123
124
|
const d = $(), { initPhotoSwipe: w } = J(`.${m.e("content")} img`);
|
|
@@ -221,5 +222,5 @@ const mt = { class: "info-container" }, pt = {
|
|
|
221
222
|
}
|
|
222
223
|
});
|
|
223
224
|
export {
|
|
224
|
-
|
|
225
|
+
se as default
|
|
225
226
|
};
|
|
@@ -9,6 +9,7 @@ import "../check-tag/index.js";
|
|
|
9
9
|
import "../checkbox/index.js";
|
|
10
10
|
import "../clamp/index.js";
|
|
11
11
|
import "../clamp-toggle/index.js";
|
|
12
|
+
import "../clamp-tooltip/index.js";
|
|
12
13
|
import "../col/index.js";
|
|
13
14
|
import "../collapse-transition/index.js";
|
|
14
15
|
import "../color-picker/index.js";
|
|
@@ -101,7 +102,7 @@ const et = ["title"], c = (
|
|
|
101
102
|
), it = D({
|
|
102
103
|
name: c.b(),
|
|
103
104
|
inheritAttrs: !1
|
|
104
|
-
}),
|
|
105
|
+
}), Qe = /* @__PURE__ */ D({
|
|
105
106
|
...it,
|
|
106
107
|
props: {
|
|
107
108
|
index: {},
|
|
@@ -201,5 +202,5 @@ const et = ["title"], c = (
|
|
|
201
202
|
}
|
|
202
203
|
});
|
|
203
204
|
export {
|
|
204
|
-
|
|
205
|
+
Qe as default
|
|
205
206
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as G, getCurrentInstance as
|
|
1
|
+
import { defineComponent as G, getCurrentInstance as ne, computed as i, inject as L, ref as g, reactive as le, watch as ue, provide as ae, onMounted as se, onBeforeUnmount as pe, useSlots as me, h as s, Fragment as ce, withDirectives as de, vShow as ve } from "vue";
|
|
2
2
|
import { singleAttrToObj as I, renderTNode as fe, isMobile as Me } from "@vft/utils";
|
|
3
3
|
import "../alert/index.js";
|
|
4
4
|
import "../avatar/index.js";
|
|
@@ -9,6 +9,7 @@ import "../check-tag/index.js";
|
|
|
9
9
|
import "../checkbox/index.js";
|
|
10
10
|
import "../clamp/index.js";
|
|
11
11
|
import "../clamp-toggle/index.js";
|
|
12
|
+
import "../clamp-tooltip/index.js";
|
|
12
13
|
import "../col/index.js";
|
|
13
14
|
import { VftCollapseTransition as be } from "../collapse-transition/index.js";
|
|
14
15
|
import "../color-picker/index.js";
|
|
@@ -102,7 +103,7 @@ const z = (
|
|
|
102
103
|
), xe = G({
|
|
103
104
|
name: z.b(),
|
|
104
105
|
inheritAttrs: !1
|
|
105
|
-
}),
|
|
106
|
+
}), vt = /* @__PURE__ */ G({
|
|
106
107
|
...xe,
|
|
107
108
|
props: {
|
|
108
109
|
index: {},
|
|
@@ -142,32 +143,32 @@ const z = (
|
|
|
142
143
|
expose: J,
|
|
143
144
|
emit: K
|
|
144
145
|
}) {
|
|
145
|
-
const E = K, f =
|
|
146
|
+
const E = K, f = ne(), {
|
|
146
147
|
indexPath: T,
|
|
147
148
|
parentMenu: A
|
|
148
|
-
} = Te(f,
|
|
149
|
+
} = Te(f, i(() => o.index)), p = k("menu"), a = k("sub-menu"), e = L("rootMenu");
|
|
149
150
|
e || q(z.b(), "can not inject root menu");
|
|
150
151
|
const u = L(`subMenu:${A.value.uid}`);
|
|
151
152
|
u || q(z.b(), "can not inject sub menu");
|
|
152
153
|
const w = g({});
|
|
153
154
|
let m;
|
|
154
|
-
const B = g(!1), Q = g(), P = g(null), j =
|
|
155
|
+
const B = g(!1), Q = g(), P = g(null), j = i(() => d.value === "horizontal" && C.value ? "bottom-start" : "right-start"), C = i(() => u.level === 0), y = i(() => o.teleported === void 0 ? C.value : o.teleported), W = i(() => e.props.collapse ? `${p.namespace.value}-zoom-in-left` : `${p.namespace.value}-zoom-in-top`), X = i(() => d.value === "horizontal" && C.value ? ["bottom-start", "bottom-end", "top-start", "top-end", "right-start", "left-start"] : ["right-start", "left-start", "bottom-start", "bottom-end", "top-start", "top-end"]), c = i(() => e.openedMenus.includes(o.index)), M = i(() => {
|
|
155
156
|
let t = !1;
|
|
156
157
|
return Object.values(w.value).forEach((l) => {
|
|
157
158
|
l.active && (t = !0);
|
|
158
159
|
}), o.index === e.activeIndex && (t = !0), t;
|
|
159
|
-
}), F =
|
|
160
|
+
}), F = i(() => e.props.backgroundColor || ""), $ = i(() => e.props.activeTextColor || ""), O = i(() => e.props.textColor || ""), d = i(() => e.props.mode), x = le({
|
|
160
161
|
index: o.index,
|
|
161
162
|
indexPath: T,
|
|
162
163
|
active: M
|
|
163
|
-
}), V = Ce(e.props, u.level + 1), N =
|
|
164
|
+
}), V = Ce(e.props, u.level + 1), N = i(() => d.value !== "horizontal" ? {
|
|
164
165
|
color: O.value
|
|
165
166
|
} : {
|
|
166
167
|
borderBottomColor: M.value ? e.props.activeTextColor ? $.value : "" : "transparent",
|
|
167
168
|
color: M.value ? $.value : O.value
|
|
168
169
|
}), Y = () => {
|
|
169
|
-
var t, l,
|
|
170
|
-
return (
|
|
170
|
+
var t, l, n;
|
|
171
|
+
return (n = (l = (t = P.value) == null ? void 0 : t.popperRef) == null ? void 0 : l.popperInstanceRef) == null ? void 0 : n.destroy();
|
|
171
172
|
}, _ = (t) => {
|
|
172
173
|
t || Y();
|
|
173
174
|
}, R = (t) => {
|
|
@@ -181,12 +182,12 @@ const z = (
|
|
|
181
182
|
};
|
|
182
183
|
e.handleSubMenuClick(l);
|
|
183
184
|
}, b = (t, l = o.showTimeout) => {
|
|
184
|
-
var
|
|
185
|
+
var n;
|
|
185
186
|
t.type !== "focus" && (e.props.menuTrigger === "click" && e.props.mode === "horizontal" || !e.props.collapse && e.props.mode === "vertical" || o.disabled || (u.mouseInChild.value = !0, m == null || m(), {
|
|
186
187
|
stop: m
|
|
187
188
|
} = Z(() => {
|
|
188
189
|
e.openMenu(o.index, T.value);
|
|
189
|
-
}, l), y.value && ((
|
|
190
|
+
}, l), y.value && ((n = A.value.vnode.el) == null || n.dispatchEvent(new MouseEvent("mouseenter"))), E("mouseenter", t)));
|
|
190
191
|
}, ee = () => {
|
|
191
192
|
e.inSubMenuMouseEnterTimer && clearTimeout(e.inSubMenuMouseEnterTimer), e.inSubMenuMouseleaveTimer && clearTimeout(e.inSubMenuMouseleaveTimer), e.inSubMenuMouseEnterTimer = setTimeout(() => {
|
|
192
193
|
e.inSubMenu = !0;
|
|
@@ -196,19 +197,19 @@ const z = (
|
|
|
196
197
|
e.inSubMenu = !1;
|
|
197
198
|
}, o.hideTimeout - 10);
|
|
198
199
|
}, S = (t, l = !1) => {
|
|
199
|
-
var
|
|
200
|
+
var n, r;
|
|
200
201
|
e.props.menuTrigger === "click" && e.props.mode === "horizontal" || !e.props.collapse && e.props.mode === "vertical" || (m == null || m(), u.mouseInChild.value = !1, {
|
|
201
202
|
stop: m
|
|
202
203
|
} = Z(() => {
|
|
203
204
|
!B.value && e.closeMenu(o.index, T.value);
|
|
204
|
-
}, o.hideTimeout), y.value && l && ((
|
|
205
|
+
}, o.hideTimeout), y.value && l && ((n = f.parent) == null ? void 0 : n.type.name) === "vft-sub-menu" && ((r = u.handleMouseleave) == null || r.call(u, t, !0)), E("mouseleave", t));
|
|
205
206
|
};
|
|
206
207
|
ue(() => e.props.collapse, (t) => _(!!t));
|
|
207
208
|
{
|
|
208
|
-
const t = (
|
|
209
|
-
w.value[
|
|
210
|
-
}, l = (
|
|
211
|
-
delete w.value[
|
|
209
|
+
const t = (n) => {
|
|
210
|
+
w.value[n.index] = n;
|
|
211
|
+
}, l = (n) => {
|
|
212
|
+
delete w.value[n.index];
|
|
212
213
|
};
|
|
213
214
|
ae(`subMenu:${f.uid}`, {
|
|
214
215
|
addSubMenu: t,
|
|
@@ -225,7 +226,7 @@ const z = (
|
|
|
225
226
|
}), pe(() => {
|
|
226
227
|
u.removeSubMenu(x), e.removeSubMenu(x);
|
|
227
228
|
});
|
|
228
|
-
const v = me(), D =
|
|
229
|
+
const v = me(), D = i(() => I(o.icon, "icon")), te = i(() => I(o.expandIcon, "icon")), re = i(() => I(o.collapseIcon, "icon")), ie = i(() => d.value === "horizontal" && C.value || d.value === "vertical" && !e.props.collapse ? {
|
|
229
230
|
icon: "icon-arrow-down",
|
|
230
231
|
size: 20,
|
|
231
232
|
...te.value
|
|
@@ -233,17 +234,17 @@ const z = (
|
|
|
233
234
|
icon: "icon-arrow-right",
|
|
234
235
|
size: 18,
|
|
235
236
|
...re.value
|
|
236
|
-
}), H =
|
|
237
|
+
}), H = i(() => fe(f, "title"));
|
|
237
238
|
return () => {
|
|
238
|
-
var
|
|
239
|
-
const t = [(
|
|
239
|
+
var n;
|
|
240
|
+
const t = [(n = D.value) != null && n.icon ? s(U, {
|
|
240
241
|
...D.value
|
|
241
242
|
}) : null, s("span", {
|
|
242
243
|
class: [a.e("text"), a.is("arrow", o.showArrow)],
|
|
243
244
|
title: f.props.title
|
|
244
245
|
}, H.value), o.showArrow ? s(U, {
|
|
245
246
|
class: a.e("icon-arrow"),
|
|
246
|
-
...
|
|
247
|
+
...ie.value,
|
|
247
248
|
style: {
|
|
248
249
|
transform: c.value ? "rotateZ(180deg)" : "none"
|
|
249
250
|
}
|
|
@@ -317,5 +318,5 @@ const z = (
|
|
|
317
318
|
}
|
|
318
319
|
});
|
|
319
320
|
export {
|
|
320
|
-
|
|
321
|
+
vt as default
|
|
321
322
|
};
|
|
@@ -38,11 +38,11 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
38
38
|
type: globalThis.PropType<boolean>;
|
|
39
39
|
default: boolean;
|
|
40
40
|
};
|
|
41
|
-
|
|
41
|
+
closeOnPressEscape: {
|
|
42
42
|
type: globalThis.PropType<boolean>;
|
|
43
43
|
default: boolean;
|
|
44
44
|
};
|
|
45
|
-
|
|
45
|
+
draggable: {
|
|
46
46
|
type: globalThis.PropType<boolean>;
|
|
47
47
|
default: boolean;
|
|
48
48
|
};
|
|
@@ -151,11 +151,11 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
151
151
|
type: globalThis.PropType<boolean>;
|
|
152
152
|
default: boolean;
|
|
153
153
|
};
|
|
154
|
-
|
|
154
|
+
closeOnPressEscape: {
|
|
155
155
|
type: globalThis.PropType<boolean>;
|
|
156
156
|
default: boolean;
|
|
157
157
|
};
|
|
158
|
-
|
|
158
|
+
draggable: {
|
|
159
159
|
type: globalThis.PropType<boolean>;
|
|
160
160
|
default: boolean;
|
|
161
161
|
};
|
|
@@ -232,8 +232,8 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
232
232
|
trapFocus: boolean;
|
|
233
233
|
customClass: string;
|
|
234
234
|
showClose: boolean;
|
|
235
|
-
draggable: boolean;
|
|
236
235
|
closeOnPressEscape: boolean;
|
|
236
|
+
draggable: boolean;
|
|
237
237
|
alignCenter: boolean;
|
|
238
238
|
appendToBody: boolean;
|
|
239
239
|
destroyOnClose: boolean;
|
|
@@ -290,11 +290,11 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
290
290
|
type: globalThis.PropType<boolean>;
|
|
291
291
|
default: boolean;
|
|
292
292
|
};
|
|
293
|
-
|
|
293
|
+
closeOnPressEscape: {
|
|
294
294
|
type: globalThis.PropType<boolean>;
|
|
295
295
|
default: boolean;
|
|
296
296
|
};
|
|
297
|
-
|
|
297
|
+
draggable: {
|
|
298
298
|
type: globalThis.PropType<boolean>;
|
|
299
299
|
default: boolean;
|
|
300
300
|
};
|
|
@@ -371,8 +371,8 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
371
371
|
trapFocus: boolean;
|
|
372
372
|
customClass: string;
|
|
373
373
|
showClose: boolean;
|
|
374
|
-
draggable: boolean;
|
|
375
374
|
closeOnPressEscape: boolean;
|
|
375
|
+
draggable: boolean;
|
|
376
376
|
alignCenter: boolean;
|
|
377
377
|
appendToBody: boolean;
|
|
378
378
|
destroyOnClose: boolean;
|
|
@@ -426,11 +426,11 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
426
426
|
type: globalThis.PropType<boolean>;
|
|
427
427
|
default: boolean;
|
|
428
428
|
};
|
|
429
|
-
|
|
429
|
+
closeOnPressEscape: {
|
|
430
430
|
type: globalThis.PropType<boolean>;
|
|
431
431
|
default: boolean;
|
|
432
432
|
};
|
|
433
|
-
|
|
433
|
+
draggable: {
|
|
434
434
|
type: globalThis.PropType<boolean>;
|
|
435
435
|
default: boolean;
|
|
436
436
|
};
|
|
@@ -509,8 +509,8 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
|
|
|
509
509
|
trapFocus: boolean;
|
|
510
510
|
customClass: string;
|
|
511
511
|
showClose: boolean;
|
|
512
|
-
draggable: boolean;
|
|
513
512
|
closeOnPressEscape: boolean;
|
|
513
|
+
draggable: boolean;
|
|
514
514
|
alignCenter: boolean;
|
|
515
515
|
appendToBody: boolean;
|
|
516
516
|
destroyOnClose: boolean;
|
|
@@ -8,6 +8,7 @@ import "../check-tag/index.js";
|
|
|
8
8
|
import "../checkbox/index.js";
|
|
9
9
|
import "../clamp/index.js";
|
|
10
10
|
import "../clamp-toggle/index.js";
|
|
11
|
+
import "../clamp-tooltip/index.js";
|
|
11
12
|
import "../col/index.js";
|
|
12
13
|
import "../collapse-transition/index.js";
|
|
13
14
|
import "../color-picker/index.js";
|
|
@@ -93,7 +94,7 @@ import "../../hooks/use-z-index/index.js";
|
|
|
93
94
|
import "../message/index.js";
|
|
94
95
|
import "../infinite-scroll/index.js";
|
|
95
96
|
import "../progress-i/index.js";
|
|
96
|
-
const
|
|
97
|
+
const co = /* @__PURE__ */ O({
|
|
97
98
|
__name: "modal-footer-action",
|
|
98
99
|
props: {
|
|
99
100
|
showSubmitButton: { type: Boolean },
|
|
@@ -139,5 +140,5 @@ const uo = /* @__PURE__ */ O({
|
|
|
139
140
|
}
|
|
140
141
|
});
|
|
141
142
|
export {
|
|
142
|
-
|
|
143
|
+
co as default
|
|
143
144
|
};
|
|
@@ -56,8 +56,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
56
56
|
trapFocus: boolean;
|
|
57
57
|
customClass: string;
|
|
58
58
|
showClose: boolean;
|
|
59
|
-
draggable: boolean;
|
|
60
59
|
closeOnPressEscape: boolean;
|
|
60
|
+
draggable: boolean;
|
|
61
61
|
alignCenter: boolean;
|
|
62
62
|
appendToBody: boolean;
|
|
63
63
|
destroyOnClose: boolean;
|
|
@@ -11,6 +11,7 @@ import "../check-tag/index.js";
|
|
|
11
11
|
import "../checkbox/index.js";
|
|
12
12
|
import "../clamp/index.js";
|
|
13
13
|
import "../clamp-toggle/index.js";
|
|
14
|
+
import "../clamp-tooltip/index.js";
|
|
14
15
|
import "../col/index.js";
|
|
15
16
|
import "../collapse-transition/index.js";
|
|
16
17
|
import "../color-picker/index.js";
|
|
@@ -105,7 +106,7 @@ const k = (
|
|
|
105
106
|
X("multiple-tabs")
|
|
106
107
|
), rt = P({
|
|
107
108
|
name: k.b()
|
|
108
|
-
}),
|
|
109
|
+
}), to = /* @__PURE__ */ P({
|
|
109
110
|
...rt,
|
|
110
111
|
props: {
|
|
111
112
|
tabsStyle: {},
|
|
@@ -129,7 +130,7 @@ const k = (
|
|
|
129
130
|
}
|
|
130
131
|
}), Z(() => {
|
|
131
132
|
b.value = r(l.currentRoute);
|
|
132
|
-
}), q((t) => {
|
|
133
|
+
}), q(({ route: t }) => {
|
|
133
134
|
var g;
|
|
134
135
|
if (!t || (g = t.meta) != null && g.hasTokenToRoot)
|
|
135
136
|
return;
|
|
@@ -234,5 +235,5 @@ const k = (
|
|
|
234
235
|
}
|
|
235
236
|
});
|
|
236
237
|
export {
|
|
237
|
-
|
|
238
|
+
to as default
|
|
238
239
|
};
|
|
@@ -15,11 +15,11 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
15
15
|
type: globalThis.PropType<string | import("..").IconProps>;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
|
-
|
|
18
|
+
teleported: {
|
|
19
19
|
type: globalThis.PropType<boolean>;
|
|
20
20
|
default: boolean;
|
|
21
21
|
};
|
|
22
|
-
|
|
22
|
+
persistent: {
|
|
23
23
|
type: globalThis.PropType<boolean>;
|
|
24
24
|
default: boolean;
|
|
25
25
|
};
|
|
@@ -66,11 +66,11 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
66
66
|
type: globalThis.PropType<string | import("..").IconProps>;
|
|
67
67
|
default: string;
|
|
68
68
|
};
|
|
69
|
-
|
|
69
|
+
teleported: {
|
|
70
70
|
type: globalThis.PropType<boolean>;
|
|
71
71
|
default: boolean;
|
|
72
72
|
};
|
|
73
|
-
|
|
73
|
+
persistent: {
|
|
74
74
|
type: globalThis.PropType<boolean>;
|
|
75
75
|
default: boolean;
|
|
76
76
|
};
|
|
@@ -102,8 +102,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
102
102
|
width: string | number;
|
|
103
103
|
hideAfter: number;
|
|
104
104
|
icon: string | import("..").IconProps;
|
|
105
|
-
persistent: boolean;
|
|
106
105
|
teleported: boolean;
|
|
106
|
+
persistent: boolean;
|
|
107
107
|
confirmButtonType: import("..").ButtonType;
|
|
108
108
|
iconColor: string;
|
|
109
109
|
hideIcon: boolean;
|
|
@@ -130,11 +130,11 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
130
130
|
type: globalThis.PropType<string | import("..").IconProps>;
|
|
131
131
|
default: string;
|
|
132
132
|
};
|
|
133
|
-
|
|
133
|
+
teleported: {
|
|
134
134
|
type: globalThis.PropType<boolean>;
|
|
135
135
|
default: boolean;
|
|
136
136
|
};
|
|
137
|
-
|
|
137
|
+
persistent: {
|
|
138
138
|
type: globalThis.PropType<boolean>;
|
|
139
139
|
default: boolean;
|
|
140
140
|
};
|
|
@@ -166,8 +166,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
166
166
|
width: string | number;
|
|
167
167
|
hideAfter: number;
|
|
168
168
|
icon: string | import("..").IconProps;
|
|
169
|
-
persistent: boolean;
|
|
170
169
|
teleported: boolean;
|
|
170
|
+
persistent: boolean;
|
|
171
171
|
confirmButtonType: import("..").ButtonType;
|
|
172
172
|
iconColor: string;
|
|
173
173
|
hideIcon: boolean;
|
|
@@ -191,11 +191,11 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
191
191
|
type: globalThis.PropType<string | import("..").IconProps>;
|
|
192
192
|
default: string;
|
|
193
193
|
};
|
|
194
|
-
|
|
194
|
+
teleported: {
|
|
195
195
|
type: globalThis.PropType<boolean>;
|
|
196
196
|
default: boolean;
|
|
197
197
|
};
|
|
198
|
-
|
|
198
|
+
persistent: {
|
|
199
199
|
type: globalThis.PropType<boolean>;
|
|
200
200
|
default: boolean;
|
|
201
201
|
};
|
|
@@ -230,8 +230,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
230
230
|
width: string | number;
|
|
231
231
|
hideAfter: number;
|
|
232
232
|
icon: string | import("..").IconProps;
|
|
233
|
-
persistent: boolean;
|
|
234
233
|
teleported: boolean;
|
|
234
|
+
persistent: boolean;
|
|
235
235
|
confirmButtonType: import("..").ButtonType;
|
|
236
236
|
iconColor: string;
|
|
237
237
|
hideIcon: boolean;
|
|
@@ -42,8 +42,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
42
42
|
width: string | number;
|
|
43
43
|
hideAfter: number;
|
|
44
44
|
icon: string | IconProps;
|
|
45
|
-
persistent: boolean;
|
|
46
45
|
teleported: boolean;
|
|
46
|
+
persistent: boolean;
|
|
47
47
|
confirmButtonType: ButtonType;
|
|
48
48
|
iconColor: string;
|
|
49
49
|
hideIcon: boolean;
|
|
@@ -4,7 +4,7 @@ export declare const VftPopover: import("vft/es/utils").SFCWithInstall<{
|
|
|
4
4
|
type: globalThis.PropType<import("..").TooltipTriggerType>;
|
|
5
5
|
};
|
|
6
6
|
placement: {
|
|
7
|
-
type: globalThis.PropType<
|
|
7
|
+
type: globalThis.PropType<import("@popperjs/core").Placement>;
|
|
8
8
|
};
|
|
9
9
|
disabled: {
|
|
10
10
|
type: globalThis.PropType<boolean>;
|
|
@@ -16,7 +16,7 @@ export declare const VftPopover: import("vft/es/utils").SFCWithInstall<{
|
|
|
16
16
|
type: globalThis.PropType<string>;
|
|
17
17
|
};
|
|
18
18
|
popperOptions: {
|
|
19
|
-
type: globalThis.PropType<
|
|
19
|
+
type: globalThis.PropType<Partial<import("@popperjs/core").Options>>;
|
|
20
20
|
};
|
|
21
21
|
tabindex: {
|
|
22
22
|
type: globalThis.PropType<number>;
|
|
@@ -83,7 +83,7 @@ export declare const VftPopover: import("vft/es/utils").SFCWithInstall<{
|
|
|
83
83
|
type: globalThis.PropType<import("..").TooltipTriggerType>;
|
|
84
84
|
};
|
|
85
85
|
placement: {
|
|
86
|
-
type: globalThis.PropType<
|
|
86
|
+
type: globalThis.PropType<import("@popperjs/core").Placement>;
|
|
87
87
|
};
|
|
88
88
|
disabled: {
|
|
89
89
|
type: globalThis.PropType<boolean>;
|
|
@@ -95,7 +95,7 @@ export declare const VftPopover: import("vft/es/utils").SFCWithInstall<{
|
|
|
95
95
|
type: globalThis.PropType<string>;
|
|
96
96
|
};
|
|
97
97
|
popperOptions: {
|
|
98
|
-
type: globalThis.PropType<
|
|
98
|
+
type: globalThis.PropType<Partial<import("@popperjs/core").Options>>;
|
|
99
99
|
};
|
|
100
100
|
tabindex: {
|
|
101
101
|
type: globalThis.PropType<number>;
|
|
@@ -160,7 +160,7 @@ export declare const VftPopover: import("vft/es/utils").SFCWithInstall<{
|
|
|
160
160
|
type: globalThis.PropType<import("..").TooltipTriggerType>;
|
|
161
161
|
};
|
|
162
162
|
placement: {
|
|
163
|
-
type: globalThis.PropType<
|
|
163
|
+
type: globalThis.PropType<import("@popperjs/core").Placement>;
|
|
164
164
|
};
|
|
165
165
|
disabled: {
|
|
166
166
|
type: globalThis.PropType<boolean>;
|
|
@@ -172,7 +172,7 @@ export declare const VftPopover: import("vft/es/utils").SFCWithInstall<{
|
|
|
172
172
|
type: globalThis.PropType<string>;
|
|
173
173
|
};
|
|
174
174
|
popperOptions: {
|
|
175
|
-
type: globalThis.PropType<
|
|
175
|
+
type: globalThis.PropType<Partial<import("@popperjs/core").Options>>;
|
|
176
176
|
};
|
|
177
177
|
tabindex: {
|
|
178
178
|
type: globalThis.PropType<number>;
|
|
@@ -237,7 +237,7 @@ export declare const VftPopover: import("vft/es/utils").SFCWithInstall<{
|
|
|
237
237
|
type: globalThis.PropType<import("..").TooltipTriggerType>;
|
|
238
238
|
};
|
|
239
239
|
placement: {
|
|
240
|
-
type: globalThis.PropType<
|
|
240
|
+
type: globalThis.PropType<import("@popperjs/core").Placement>;
|
|
241
241
|
};
|
|
242
242
|
disabled: {
|
|
243
243
|
type: globalThis.PropType<boolean>;
|
|
@@ -249,7 +249,7 @@ export declare const VftPopover: import("vft/es/utils").SFCWithInstall<{
|
|
|
249
249
|
type: globalThis.PropType<string>;
|
|
250
250
|
};
|
|
251
251
|
popperOptions: {
|
|
252
|
-
type: globalThis.PropType<
|
|
252
|
+
type: globalThis.PropType<Partial<import("@popperjs/core").Options>>;
|
|
253
253
|
};
|
|
254
254
|
tabindex: {
|
|
255
255
|
type: globalThis.PropType<number>;
|
|
@@ -5,7 +5,9 @@ import type { PopperContentProps } from '../types';
|
|
|
5
5
|
export declare const usePopperContentDOM: (props: PopperContentProps, { attributes, styles, role, }: Pick<UsePopperReturn, 'attributes' | 'styles'> & Pick<UsePopperContentReturn, 'role'>) => {
|
|
6
6
|
ariaModal: globalThis.ComputedRef<string | undefined>;
|
|
7
7
|
arrowStyle: globalThis.ComputedRef<CSSProperties>;
|
|
8
|
-
contentAttrs: globalThis.ComputedRef<
|
|
8
|
+
contentAttrs: globalThis.ComputedRef<{
|
|
9
|
+
[key: string]: string | boolean;
|
|
10
|
+
}>;
|
|
9
11
|
contentClass: globalThis.ComputedRef<any[]>;
|
|
10
12
|
contentStyle: globalThis.ComputedRef<StyleValue[]>;
|
|
11
13
|
contentZIndex: globalThis.Ref<number>;
|