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
|
@@ -42,6 +42,9 @@ export declare const VftTabs: import("vft/es/utils").SFCWithInstall<import("vue"
|
|
|
42
42
|
fixExtraScrollWidth: {
|
|
43
43
|
type: globalThis.PropType<number>;
|
|
44
44
|
};
|
|
45
|
+
trigger: {
|
|
46
|
+
type: globalThis.PropType<"click" | "hover">;
|
|
47
|
+
};
|
|
45
48
|
}, {
|
|
46
49
|
currentName: globalThis.Ref<string | number>;
|
|
47
50
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -129,6 +132,9 @@ export declare const VftTabs: import("vft/es/utils").SFCWithInstall<import("vue"
|
|
|
129
132
|
fixExtraScrollWidth: {
|
|
130
133
|
type: globalThis.PropType<number>;
|
|
131
134
|
};
|
|
135
|
+
trigger: {
|
|
136
|
+
type: globalThis.PropType<"click" | "hover">;
|
|
137
|
+
};
|
|
132
138
|
}>> & {
|
|
133
139
|
"onUpdate:modelValue"?: ((name: string | number) => any) | undefined;
|
|
134
140
|
onTabClick?: ((pane: {
|
|
@@ -16,6 +16,8 @@ interface TabNavProps {
|
|
|
16
16
|
arrowRightIconCfg?: IconProps;
|
|
17
17
|
fixTabCount?: number;
|
|
18
18
|
fixExtraScrollWidth?: number;
|
|
19
|
+
/** tab 触发方式 */
|
|
20
|
+
trigger?: 'click' | 'hover';
|
|
19
21
|
}
|
|
20
22
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<TabNavProps>, {
|
|
21
23
|
scrollToActiveTab: () => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),E=require("@vueuse/core"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),E=require("@vueuse/core"),N=require("@vft/utils"),_=require("../../utils/error.cjs");require("../../utils/ns-cover.cjs");require("lodash");require("../alert/index.cjs");require("../avatar/index.cjs");require("../backtop/index.cjs");require("../button/index.cjs");require("../card/index.cjs");require("../check-tag/index.cjs");require("../checkbox/index.cjs");require("../clamp/index.cjs");require("../clamp-toggle/index.cjs");require("../clamp-tooltip/index.cjs");require("../col/index.cjs");require("../collapse-transition/index.cjs");require("../color-picker/index.cjs");require("../config-provider/index.cjs");require("../container/index.cjs");require("../context-menu/context-menu.vue2.cjs");require("../date-picker/index.cjs");require("../date-time-select/index.cjs");require("../descriptions/index.cjs");require("../dialog/index.cjs");require("../divider/index.cjs");require("../drawer/index.cjs");require("../dropdown/index.cjs");require("../empty/index.cjs");require("../exception/index.cjs");require("../footer-layout/index.cjs");require("../form/index.cjs");require("../full-screen/index.cjs");require("../header-layout/index.cjs");require("../horizontal-menu/index.cjs");const y=require("../icon/index.cjs");require("../icon-text/index.cjs");require("../iframe-layout/index.cjs");require("../image/index.cjs");require("../image-viewer/index.cjs");require("../input/index.cjs");require("../input-number/index.cjs");require("../link/index.cjs");require("../list-cell/index.cjs");require("../logo/index.cjs");require("../menu/index.cjs");require("../multiple-tabs/index.cjs");require("../overlay/index.cjs");require("../page-wrapper/index.cjs");require("../pagination/index.cjs");require("../popconfirm/index.cjs");require("../popover/index.cjs");require("../popper/index.cjs");require("../qrcode/index.cjs");require("../radio/index.cjs");require("../result/index.cjs");require("../router-view-content/index.cjs");require("../row/index.cjs");require("../scrollbar/index.cjs");require("../search/index.cjs");require("../select/index.cjs");require("../side-menu/index.cjs");require("../skeleton/index.cjs");require("../slider/index.cjs");require("../space/index.cjs");require("../switch/index.cjs");require("../table/index.cjs");require("./index.cjs");require("../tag/index.cjs");require("../time-picker/index.cjs");require("../tooltip/index.cjs");require("../tree/index.cjs");require("../verify-code/index.cjs");require("../virtual-list/components/dynamic-size-grid.cjs");require("../virtual-list/components/dynamic-size-list.cjs");require("../virtual-list/components/fixed-size-grid.cjs");require("../virtual-list/components/fixed-size-list.cjs");require("../virtual-list/props.cjs");require("../autocomplete/index.cjs");require("../modal/index.cjs");require("../progress/index.cjs");require("../super-form/index.cjs");require("../upload/index.cjs");require("../carousel/index.cjs");require("../md-code-demo/index.cjs");require("../md-code-tabs/index.cjs");require("../md-comment/index.cjs");require("../md-container/index.cjs");require("../md-tabs/index.cjs");require("../md-vue-playground/index.cjs");const F=require("../../hooks/use-namespace/index.cjs");require("@popperjs/core");require("../../hooks/use-z-index/index.cjs");require("../message/index.cjs");require("../infinite-scroll/index.cjs");require("../progress-i/index.cjs");const I=require("@vft/constants"),ee=require("./types.cjs"),te=require("./tab-bar.vue2.cjs"),M=F.useNamespace("tab-nav"),re=t.defineComponent({name:M.b()}),ie=t.defineComponent({...re,props:{panes:{},editable:{type:Boolean},addable:{type:Boolean},stretch:{type:Boolean},showBar:{type:Boolean,default:!1},closeIconCfg:{},addIconCfg:{},arrowLeftIconCfg:{},arrowRightIconCfg:{},fixTabCount:{default:0},fixExtraScrollWidth:{default:0},trigger:{default:"click"}},emits:["tabClick","tabRemove","tabAdd","tabContextmenu"],setup(u,{expose:W,emit:L}){var z;const C=L,K=t.getCurrentInstance(),m=t.inject(ee.TabsRootContextKey);m||_.throwError(M.b(),"<vft-tabs><tab-nav /></vft-tabs>");const o=F.useNamespace("tabs"),j=E.useDocumentVisibility(),H=E.useWindowFocus(),T=t.ref(),v=t.ref(),h=t.ref(),B=t.ref(),s=t.ref(!1),c=t.ref(0),p=t.ref(!1),w=t.ref(!0),x=t.computed(()=>["top","bottom"].includes(m.props.tabPosition)?"width":"height"),U=t.computed(()=>({transform:`translate${x.value==="width"?"X":"Y"}(-${c.value}px)`})),X=()=>{if(!v.value)return;const e=v.value[`offset${N.capitalize(x.value)}`],i=c.value;i&&(c.value=i>e?i-e:0)},Y=()=>{if(!v.value||!h.value)return;const e=h.value[`offset${N.capitalize(x.value)}`],i=v.value[`offset${N.capitalize(x.value)}`],r=c.value;e-r<=i||(c.value=e-r>i*2?r+i:e-i)},O=async()=>{const e=h.value,i=B.value;if(!s.value||!T.value||!v.value||!e)return;await t.nextTick();const r=T.value.querySelector(".is-active");if(!r)return;const g=v.value,b=["top","bottom"].includes(m.props.tabPosition),n=r.getBoundingClientRect(),a=g.getBoundingClientRect(),f=b?e.offsetWidth-a.width:e.offsetHeight-a.height,l=c.value;let q=l;const V=u.fixTabCount?((i==null?void 0:i.offsetWidth)||0)+u.fixExtraScrollWidth:0;b?(n.left-V<a.left&&(q=l-(a.left-n.left+V)),n.right>a.right&&(q=l+n.right-a.right)):(n.top<a.top&&(q=l-(a.top-n.top)),n.bottom>a.bottom&&(q=l+(n.bottom-a.bottom))),q=Math.max(q,0),c.value=Math.min(q,f)},R=()=>{if(!h.value||!v.value)return;const e=h.value[`offset${N.capitalize(x.value)}`],i=v.value[`offset${N.capitalize(x.value)}`],r=c.value;i<e?(s.value=s.value||{},s.value.prev=r,s.value.next=r+i<e,e-r<i&&(c.value=e-i)):(s.value=!1,r>0&&(c.value=0))},G=e=>{const i=e.code,{up:r,down:g,left:b,right:n}=I.EVENT_CODE;if(![r,g,b,n].includes(i))return;const a=Array.from(e.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),f=a.indexOf(e.target);let l;i===b||i===r?f===0?l=a.length-1:l=f-1:f<a.length-1?l=f+1:l=0,a[l].focus(),a[l].click(),$()},$=()=>{w.value&&(p.value=!0)},S=()=>p.value=!1;t.watch(j,e=>{e==="hidden"?w.value=!1:e==="visible"&&setTimeout(()=>w.value=!0,50)}),t.watch(H,e=>{e?setTimeout(()=>w.value=!0,50):w.value=!1}),E.useResizeObserver(T,R),t.onMounted(()=>setTimeout(()=>O(),0)),t.onUpdated(()=>R()),W({scrollToActiveTab:O,removeFocus:S}),t.watch(()=>u.panes,()=>K.update(),{flush:"post"});const J=t.computed(()=>{var e,i;return s.value?[t.createVNode("span",{class:[o.e("nav-prev"),o.is("disabled",!s.value.prev)],onClick:X},[(e=u.arrowLeftIconCfg)!=null&&e.icon?t.createVNode(y.VftIcon,u.arrowLeftIconCfg,null):null]),t.createVNode("span",{class:[o.e("nav-next"),o.is("disabled",!s.value.next)],onClick:Y},[(i=u.arrowRightIconCfg)!=null&&i.icon?t.createVNode(y.VftIcon,u.arrowRightIconCfg,null):null])]:null}),Q=t.computed(()=>e=>{var i;return(i=u.panes.slice(0,e))==null?void 0:i.map((r,g)=>{var P,A,D;const b=r.uid,n=r.props.disabled,a=r.props.name??r.index??`${g}`,f=!n&&(r.isClosable||u.editable);r.index=`${g}`;const l=f?t.createVNode("span",{class:"is-icon-close",onClick:d=>C("tabRemove",r,d)},[(P=u.closeIconCfg)!=null&&P.icon?t.createVNode(y.VftIcon,u.closeIconCfg,null):null]):null,q=((D=(A=r.slots).label)==null?void 0:D.call(A))||r.props.label,V=!n&&r.active?0:-1;return t.createVNode("div",t.mergeProps({ref:`tab-${b}`,class:[o.e("item"),o.is(m.props.tabPosition),o.is("active",r.active),o.is("disabled",n),o.is("closable",f),o.is("focus",p.value)],id:`tab-${a}`,key:`tab-${b}`,"aria-controls":`pane-${a}`,role:"tab","aria-selected":r.active,tabindex:V,onFocus:()=>$(),onBlur:()=>S()},{[u.trigger==="click"?"onClick":"onMouseenter"]:d=>{S(),C("tabClick",r,a,d)}},{onContextmenu:d=>{d.preventDefault(),C("tabContextmenu",{pane:r,index:g,event:d})},onKeydown:d=>{f&&(d.code===I.EVENT_CODE.delete||d.code===I.EVENT_CODE.backspace)&&C("tabRemove",r,d)}}),[q,l])})}),Z=u.editable||u.addable?t.createVNode("span",{class:o.e("new-tab"),tabindex:"0",onClick:()=>C("tabAdd"),onKeydown:e=>{e.code===I.EVENT_CODE.enter&&C("tabAdd")}},[(z=u.addIconCfg)!=null&&z.icon?t.createVNode(y.VftIcon,u.addIconCfg,null):null]):null;t.useSlots();const k=(e=!1)=>t.createVNode("div",{class:[o.e("nav"),o.is(m.props.tabPosition),o.is("fixed-nav",e),o.is("stretch",u.stretch&&["top","bottom"].includes(m.props.tabPosition))],ref:e?B.value:h.value,style:e?{}:U.value,role:"tablist",onKeydown:G},[u.showBar?t.createVNode(te.default,{tabs:[...u.panes]},null):null,Q.value(e?u.fixTabCount:void 0)]);return()=>t.createVNode("div",{ref:T.value,class:[o.e("nav-wrap"),o.is("scrollable",!!s.value),o.is(m.props.tabPosition)]},[J.value,t.createVNode("div",{class:[o.e("nav-scroll"),o.is("have-fixed-tab",!!u.fixTabCount)],ref:v.value},[k(),u.fixTabCount?k(!0):null,Z])])}});exports.default=ie;
|
|
@@ -22,6 +22,8 @@ export interface TabsProps {
|
|
|
22
22
|
arrowRightIconCfg?: IconProps;
|
|
23
23
|
fixTabCount?: number;
|
|
24
24
|
fixExtraScrollWidth?: number;
|
|
25
|
+
/** tab 触发方式 */
|
|
26
|
+
trigger?: 'click' | 'hover';
|
|
25
27
|
}
|
|
26
28
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<TabsProps>, {
|
|
27
29
|
currentName: globalThis.Ref<string | number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue");require("@vueuse/core");const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue");require("@vueuse/core");const v=require("@vft/utils");require("../../utils/ns-cover.cjs");require("lodash");const B=require("../../hooks/use-namespace/index.cjs"),E=require("../../hooks/use-ordered-children/index.cjs");require("@popperjs/core");require("../../hooks/use-z-index/index.cjs");const k=require("@vft/constants"),A=require("./tab-nav.vue2.cjs"),S=require("./types.cjs"),d=B.useNamespace("tabs"),M=t.defineComponent({name:d.b()}),p=t.defineComponent({...M,props:{closable:{type:Boolean},addable:{type:Boolean,default:!1},modelValue:{},editable:{type:Boolean},tabPosition:{default:"top"},beforeLeave:{},stretch:{type:Boolean},showBar:{type:Boolean,default:!0},closeIconCfg:{},addIconCfg:{},arrowLeftIconCfg:{},arrowRightIconCfg:{},fixTabCount:{default:0},fixExtraScrollWidth:{default:0},trigger:{default:"click"}},emits:["update:modelValue","tabClick","tabContextMenu","tabChange","tabRemove","tabAdd","edit"],setup(a,{expose:C,emit:m}){const n=m,h=t.getCurrentInstance(),o=t.useSlots(),l=t.ref(),c=t.ref(a.modelValue??"0"),s=async(e,r=!1)=>{var i,u,g;if(!(c.value===e||v.isUndefined(e)))try{await((i=a.beforeLeave)==null?void 0:i.call(a,e,c.value))!==!1&&(c.value=e,r&&(n(k.UPDATE_MODEL_EVENT,e),n("tabChange",e)),(g=(u=l.value)==null?void 0:u.removeFocus)==null||g.call(u))}catch{}},x=(e,r,i)=>{e.props.disabled||(s(r,!0),n("tabClick",e,i))},I=(e,r)=>{e.props.disabled||v.isUndefined(e.props.name)||(r.stopPropagation(),n("edit",e.props.name,"remove"),n("tabRemove",e.props.name))};t.watch(()=>a.modelValue,e=>s(e)),t.watch(c,async()=>{var e;await t.nextTick(),(e=l.value)==null||e.scrollToActiveTab()});const w=()=>{n("edit",void 0,"add"),n("tabAdd")},T=(e,r,i)=>{n("tabContextMenu",e,r,i)},f=t.computed(()=>{var e;return t.createVNode("div",{class:d.e("content")},[(e=o.default)==null?void 0:e.call(o)])}),{children:q,addChild:y,removeChild:R}=E.useOrderedChildren(t.getCurrentInstance(),"vft-tab-pane");t.provide(S.TabsRootContextKey,{props:h.props,currentName:c,registerPane:y,unregisterPane:R}),C({currentName:c});const N=t.computed(()=>({icon:"icon-plus",size:12,...a.addIconCfg})),V=t.computed(()=>({icon:"icon-close",size:14,...a.closeIconCfg})),L=t.computed(()=>({icon:"icon-arrow-left",size:18,...a.arrowLeftIconCfg})),P=t.computed(()=>({icon:"icon-arrow-right",size:18,...a.arrowRightIconCfg})),b=t.computed(()=>{var e;return t.createVNode("div",{class:[d.e("header"),d.is(a.tabPosition)]},[t.createVNode(A.default,{ref:l.value,panes:q.value,stretch:a.stretch,showBar:a.showBar,closeIconCfg:V.value,addIconCfg:N.value,arrowRightIconCfg:P.value,arrowLeftIconCfg:L.value,editable:a.editable,fixTabCount:a.fixTabCount,fixExtraScrollWidth:a.fixExtraScrollWidth,addable:a.addable,trigger:a.trigger,onTabClick:x,onTabRemove:I,onTabAdd:w,onTabContextmenu:T},null),o.navRight?t.createVNode("div",{class:"nav-right"},[(e=o.navRight)==null?void 0:e.call(o)]):null])});return()=>t.createVNode("div",{class:[d.b(),d.m(a.tabPosition)]},[...a.tabPosition!=="bottom"?[b.value,f.value]:[f.value,b.value]])}});exports.default=p;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Options } from '@popperjs/core';
|
|
1
2
|
import type { Dayjs } from 'dayjs';
|
|
2
3
|
import type { DateModelType, DayOrDays, PickerOptions, SingleOrRange } from './props';
|
|
3
4
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
@@ -61,15 +62,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
61
62
|
readonly readonly: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
62
63
|
readonly disabled: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
63
64
|
readonly placeholder: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
64
|
-
readonly popperOptions: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) =>
|
|
65
|
-
(): Options;
|
|
66
|
-
new (): any;
|
|
67
|
-
readonly prototype: any;
|
|
68
|
-
} | ((new (...args: any[]) => any) | (() => Options) | {
|
|
69
|
-
(): Options;
|
|
70
|
-
new (): any;
|
|
71
|
-
readonly prototype: any;
|
|
72
|
-
})[], unknown, unknown, () => {}, boolean>;
|
|
65
|
+
readonly popperOptions: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
|
73
66
|
readonly modelValue: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | number | Date | [DateModelType, DateModelType]) | (() => import("./props").ModelValueType) | ((new (...args: any[]) => string | number | Date | [DateModelType, DateModelType]) | (() => import("./props").ModelValueType))[], unknown, unknown, "", boolean>;
|
|
74
67
|
readonly rangeSeparator: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
75
68
|
readonly startPlaceholder: StringConstructor;
|
|
@@ -182,15 +175,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
182
175
|
readonly readonly: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
183
176
|
readonly disabled: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
184
177
|
readonly placeholder: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
185
|
-
readonly popperOptions: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) =>
|
|
186
|
-
(): Options;
|
|
187
|
-
new (): any;
|
|
188
|
-
readonly prototype: any;
|
|
189
|
-
} | ((new (...args: any[]) => any) | (() => Options) | {
|
|
190
|
-
(): Options;
|
|
191
|
-
new (): any;
|
|
192
|
-
readonly prototype: any;
|
|
193
|
-
})[], unknown, unknown, () => {}, boolean>;
|
|
178
|
+
readonly popperOptions: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
|
194
179
|
readonly modelValue: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | number | Date | [DateModelType, DateModelType]) | (() => import("./props").ModelValueType) | ((new (...args: any[]) => string | number | Date | [DateModelType, DateModelType]) | (() => import("./props").ModelValueType))[], unknown, unknown, "", boolean>;
|
|
195
180
|
readonly rangeSeparator: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
196
181
|
readonly startPlaceholder: StringConstructor;
|
|
@@ -224,13 +209,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
224
209
|
readonly modelValue: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | [DateModelType, DateModelType]) | (() => import("./props").ModelValueType) | ((new (...args: any[]) => string | number | Date | [DateModelType, DateModelType]) | (() => import("./props").ModelValueType))[], unknown, unknown>;
|
|
225
210
|
readonly readonly: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
226
211
|
readonly disabled: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
212
|
+
readonly tabindex: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
227
213
|
readonly placeholder: string;
|
|
228
214
|
readonly clearable: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
229
215
|
readonly prefixIcon: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => (string | globalThis.Component) & {}) | (() => string | globalThis.Component) | ((new (...args: any[]) => (string | globalThis.Component) & {}) | (() => string | globalThis.Component))[], unknown, unknown>;
|
|
230
216
|
readonly clearIcon: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => (string | globalThis.Component) & {}) | (() => string | globalThis.Component) | ((new (...args: any[]) => (string | globalThis.Component) & {}) | (() => string | globalThis.Component))[], unknown, unknown>;
|
|
231
|
-
readonly tabindex: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
232
217
|
readonly validateEvent: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
233
|
-
readonly popperOptions:
|
|
218
|
+
readonly popperOptions: Partial<Options>;
|
|
234
219
|
readonly popperClass: string;
|
|
235
220
|
readonly editable: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
236
221
|
readonly rangeSeparator: string;
|
|
@@ -249,7 +234,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
249
234
|
type: string;
|
|
250
235
|
defaultValue: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => SingleOrRange<Date>))[], unknown, unknown> | undefined;
|
|
251
236
|
pick: (date?: any, visible?: boolean) => void;
|
|
252
|
-
"select-range": (start: number, end: number, pos?: "
|
|
237
|
+
"select-range": (start: number, end: number, pos?: "min" | "max" | undefined) => void;
|
|
253
238
|
"set-picker-option": <T extends keyof PickerOptions>(e: [T, PickerOptions[T]]) => void;
|
|
254
239
|
"calendar-change": (e: [Date, false | Date]) => void;
|
|
255
240
|
"panel-change": (value: [Dayjs, Dayjs], mode: "year" | "month", view: unknown) => void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Options } from '@popperjs/core';
|
|
1
2
|
import type { Dayjs } from 'dayjs';
|
|
2
3
|
import type { Component, ExtractPropTypes } from 'vue';
|
|
3
4
|
export type SingleOrRange<T> = T | [T, T];
|
|
@@ -70,15 +71,7 @@ export declare const timePickerDefaultProps: {
|
|
|
70
71
|
readonly readonly: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
71
72
|
readonly disabled: import("vft/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
72
73
|
readonly placeholder: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
73
|
-
readonly popperOptions: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) =>
|
|
74
|
-
(): Options;
|
|
75
|
-
new (): any;
|
|
76
|
-
readonly prototype: any;
|
|
77
|
-
} | ((new (...args: any[]) => any) | (() => Options) | {
|
|
78
|
-
(): Options;
|
|
79
|
-
new (): any;
|
|
80
|
-
readonly prototype: any;
|
|
81
|
-
})[], unknown, unknown, () => {}, boolean>;
|
|
74
|
+
readonly popperOptions: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
|
82
75
|
readonly modelValue: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | number | Date | [DateModelType, DateModelType]) | (() => ModelValueType) | ((new (...args: any[]) => string | number | Date | [DateModelType, DateModelType]) | (() => ModelValueType))[], unknown, unknown, "", boolean>;
|
|
83
76
|
readonly rangeSeparator: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
84
77
|
readonly startPlaceholder: StringConstructor;
|
|
@@ -56,7 +56,7 @@ export declare const useOldValue: (props: {
|
|
|
56
56
|
startOf: (unit: import("dayjs").OpUnitType) => Dayjs;
|
|
57
57
|
endOf: (unit: import("dayjs").OpUnitType) => Dayjs;
|
|
58
58
|
format: (template?: string | undefined) => string;
|
|
59
|
-
diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "s" | "ms" | "y" | "D" | "M" | "year" | "month" | "date" | "dates" | "week" | "h" | "
|
|
59
|
+
diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "s" | "ms" | "y" | "D" | "M" | "year" | "month" | "date" | "dates" | "week" | "h" | "hours" | "minutes" | "seconds" | "hour" | "minute" | "second" | "day" | "millisecond" | "milliseconds" | "days" | "months" | "years" | "d" | "m" | "weeks" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
|
|
60
60
|
valueOf: () => number;
|
|
61
61
|
unix: () => number;
|
|
62
62
|
daysInMonth: () => number;
|
|
@@ -126,7 +126,7 @@ export declare const useOldValue: (props: {
|
|
|
126
126
|
startOf: (unit: import("dayjs").OpUnitType) => Dayjs;
|
|
127
127
|
endOf: (unit: import("dayjs").OpUnitType) => Dayjs;
|
|
128
128
|
format: (template?: string | undefined) => string;
|
|
129
|
-
diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "s" | "ms" | "y" | "D" | "M" | "year" | "month" | "date" | "dates" | "week" | "h" | "
|
|
129
|
+
diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "s" | "ms" | "y" | "D" | "M" | "year" | "month" | "date" | "dates" | "week" | "h" | "hours" | "minutes" | "seconds" | "hour" | "minute" | "second" | "day" | "millisecond" | "milliseconds" | "days" | "months" | "years" | "d" | "m" | "weeks" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
|
|
130
130
|
valueOf: () => number;
|
|
131
131
|
unix: () => number;
|
|
132
132
|
daysInMonth: () => number;
|
|
@@ -68,15 +68,7 @@ declare const _TimePicker: import("vue").DefineComponent<{
|
|
|
68
68
|
readonly: import("../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
69
69
|
disabled: import("../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
70
70
|
placeholder: import("../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
71
|
-
popperOptions: import("../../utils").EpPropFinalized<(new (...args: any[]) =>
|
|
72
|
-
(): Options;
|
|
73
|
-
new (): any;
|
|
74
|
-
readonly prototype: any;
|
|
75
|
-
} | ((new (...args: any[]) => any) | (() => Options) | {
|
|
76
|
-
(): Options;
|
|
77
|
-
new (): any;
|
|
78
|
-
readonly prototype: any;
|
|
79
|
-
})[], unknown, unknown, () => {}, boolean>;
|
|
71
|
+
popperOptions: import("../../utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
80
72
|
modelValue: import("../../utils").EpPropFinalized<(new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType) | ((new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType))[], unknown, unknown, "", boolean>;
|
|
81
73
|
rangeSeparator: import("../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
82
74
|
startPlaceholder: StringConstructor;
|
|
@@ -158,15 +150,7 @@ declare const _TimePicker: import("vue").DefineComponent<{
|
|
|
158
150
|
readonly: import("../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
159
151
|
disabled: import("../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
160
152
|
placeholder: import("../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
161
|
-
popperOptions: import("../../utils").EpPropFinalized<(new (...args: any[]) =>
|
|
162
|
-
(): Options;
|
|
163
|
-
new (): any;
|
|
164
|
-
readonly prototype: any;
|
|
165
|
-
} | ((new (...args: any[]) => any) | (() => Options) | {
|
|
166
|
-
(): Options;
|
|
167
|
-
new (): any;
|
|
168
|
-
readonly prototype: any;
|
|
169
|
-
})[], unknown, unknown, () => {}, boolean>;
|
|
153
|
+
popperOptions: import("../../utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
170
154
|
modelValue: import("../../utils").EpPropFinalized<(new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType) | ((new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType))[], unknown, unknown, "", boolean>;
|
|
171
155
|
rangeSeparator: import("../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
172
156
|
startPlaceholder: StringConstructor;
|
|
@@ -192,13 +176,13 @@ declare const _TimePicker: import("vue").DefineComponent<{
|
|
|
192
176
|
modelValue: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType) | ((new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType))[], unknown, unknown>;
|
|
193
177
|
readonly: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
194
178
|
disabled: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
179
|
+
tabindex: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
195
180
|
placeholder: string;
|
|
196
181
|
clearable: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
197
182
|
prefixIcon: import("../../utils").EpPropMergeType<(new (...args: any[]) => (string | globalThis.Component) & {}) | (() => string | globalThis.Component) | ((new (...args: any[]) => (string | globalThis.Component) & {}) | (() => string | globalThis.Component))[], unknown, unknown>;
|
|
198
183
|
clearIcon: import("../../utils").EpPropMergeType<(new (...args: any[]) => (string | globalThis.Component) & {}) | (() => string | globalThis.Component) | ((new (...args: any[]) => (string | globalThis.Component) & {}) | (() => string | globalThis.Component))[], unknown, unknown>;
|
|
199
|
-
tabindex: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
200
184
|
validateEvent: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
201
|
-
popperOptions:
|
|
185
|
+
popperOptions: Partial<import("@popperjs/core").Options>;
|
|
202
186
|
popperClass: string;
|
|
203
187
|
editable: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
204
188
|
rangeSeparator: string;
|
|
@@ -274,15 +258,7 @@ export declare const VftTimePicker: import("vue").DefineComponent<{
|
|
|
274
258
|
readonly: import("../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
275
259
|
disabled: import("../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
276
260
|
placeholder: import("../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
277
|
-
popperOptions: import("../../utils").EpPropFinalized<(new (...args: any[]) =>
|
|
278
|
-
(): Options;
|
|
279
|
-
new (): any;
|
|
280
|
-
readonly prototype: any;
|
|
281
|
-
} | ((new (...args: any[]) => any) | (() => Options) | {
|
|
282
|
-
(): Options;
|
|
283
|
-
new (): any;
|
|
284
|
-
readonly prototype: any;
|
|
285
|
-
})[], unknown, unknown, () => {}, boolean>;
|
|
261
|
+
popperOptions: import("../../utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
286
262
|
modelValue: import("../../utils").EpPropFinalized<(new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType) | ((new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType))[], unknown, unknown, "", boolean>;
|
|
287
263
|
rangeSeparator: import("../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
288
264
|
startPlaceholder: StringConstructor;
|
|
@@ -364,15 +340,7 @@ export declare const VftTimePicker: import("vue").DefineComponent<{
|
|
|
364
340
|
readonly: import("../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
365
341
|
disabled: import("../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
366
342
|
placeholder: import("../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
367
|
-
popperOptions: import("../../utils").EpPropFinalized<(new (...args: any[]) =>
|
|
368
|
-
(): Options;
|
|
369
|
-
new (): any;
|
|
370
|
-
readonly prototype: any;
|
|
371
|
-
} | ((new (...args: any[]) => any) | (() => Options) | {
|
|
372
|
-
(): Options;
|
|
373
|
-
new (): any;
|
|
374
|
-
readonly prototype: any;
|
|
375
|
-
})[], unknown, unknown, () => {}, boolean>;
|
|
343
|
+
popperOptions: import("../../utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
376
344
|
modelValue: import("../../utils").EpPropFinalized<(new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType) | ((new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType))[], unknown, unknown, "", boolean>;
|
|
377
345
|
rangeSeparator: import("../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
378
346
|
startPlaceholder: StringConstructor;
|
|
@@ -398,13 +366,13 @@ export declare const VftTimePicker: import("vue").DefineComponent<{
|
|
|
398
366
|
modelValue: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType) | ((new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType))[], unknown, unknown>;
|
|
399
367
|
readonly: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
400
368
|
disabled: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
369
|
+
tabindex: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
401
370
|
placeholder: string;
|
|
402
371
|
clearable: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
403
372
|
prefixIcon: import("../../utils").EpPropMergeType<(new (...args: any[]) => (string | globalThis.Component) & {}) | (() => string | globalThis.Component) | ((new (...args: any[]) => (string | globalThis.Component) & {}) | (() => string | globalThis.Component))[], unknown, unknown>;
|
|
404
373
|
clearIcon: import("../../utils").EpPropMergeType<(new (...args: any[]) => (string | globalThis.Component) & {}) | (() => string | globalThis.Component) | ((new (...args: any[]) => (string | globalThis.Component) & {}) | (() => string | globalThis.Component))[], unknown, unknown>;
|
|
405
|
-
tabindex: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
406
374
|
validateEvent: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
407
|
-
popperOptions:
|
|
375
|
+
popperOptions: Partial<import("@popperjs/core").Options>;
|
|
408
376
|
popperClass: string;
|
|
409
377
|
editable: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
410
378
|
rangeSeparator: string;
|
|
@@ -66,15 +66,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
66
|
readonly: import("../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
67
67
|
disabled: import("../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
68
68
|
placeholder: import("../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
69
|
-
popperOptions: import("../../utils").EpPropFinalized<(new (...args: any[]) =>
|
|
70
|
-
(): Options;
|
|
71
|
-
new (): any;
|
|
72
|
-
readonly prototype: any;
|
|
73
|
-
} | ((new (...args: any[]) => any) | (() => Options) | {
|
|
74
|
-
(): Options;
|
|
75
|
-
new (): any;
|
|
76
|
-
readonly prototype: any;
|
|
77
|
-
})[], unknown, unknown, () => {}, boolean>;
|
|
69
|
+
popperOptions: import("../../utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
78
70
|
modelValue: import("../../utils").EpPropFinalized<(new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType) | ((new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType))[], unknown, unknown, "", boolean>;
|
|
79
71
|
rangeSeparator: import("../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
80
72
|
startPlaceholder: StringConstructor;
|
|
@@ -159,15 +151,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
159
151
|
readonly: import("../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
160
152
|
disabled: import("../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
161
153
|
placeholder: import("../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
162
|
-
popperOptions: import("../../utils").EpPropFinalized<(new (...args: any[]) =>
|
|
163
|
-
(): Options;
|
|
164
|
-
new (): any;
|
|
165
|
-
readonly prototype: any;
|
|
166
|
-
} | ((new (...args: any[]) => any) | (() => Options) | {
|
|
167
|
-
(): Options;
|
|
168
|
-
new (): any;
|
|
169
|
-
readonly prototype: any;
|
|
170
|
-
})[], unknown, unknown, () => {}, boolean>;
|
|
154
|
+
popperOptions: import("../../utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
171
155
|
modelValue: import("../../utils").EpPropFinalized<(new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType) | ((new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType))[], unknown, unknown, "", boolean>;
|
|
172
156
|
rangeSeparator: import("../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
173
157
|
startPlaceholder: StringConstructor;
|
|
@@ -193,13 +177,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
193
177
|
modelValue: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType) | ((new (...args: any[]) => string | number | Date | [import("./common/props").DateModelType, import("./common/props").DateModelType]) | (() => import("./common/props").ModelValueType))[], unknown, unknown>;
|
|
194
178
|
readonly: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
195
179
|
disabled: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
180
|
+
tabindex: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
196
181
|
placeholder: string;
|
|
197
182
|
clearable: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
198
183
|
prefixIcon: import("../../utils").EpPropMergeType<(new (...args: any[]) => (string | globalThis.Component) & {}) | (() => string | globalThis.Component) | ((new (...args: any[]) => (string | globalThis.Component) & {}) | (() => string | globalThis.Component))[], unknown, unknown>;
|
|
199
184
|
clearIcon: import("../../utils").EpPropMergeType<(new (...args: any[]) => (string | globalThis.Component) & {}) | (() => string | globalThis.Component) | ((new (...args: any[]) => (string | globalThis.Component) & {}) | (() => string | globalThis.Component))[], unknown, unknown>;
|
|
200
|
-
tabindex: import("../../utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
201
185
|
validateEvent: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
202
|
-
popperOptions:
|
|
186
|
+
popperOptions: Partial<import("@popperjs/core").Options>;
|
|
203
187
|
popperClass: string;
|
|
204
188
|
editable: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
205
189
|
rangeSeparator: string;
|
|
@@ -5,7 +5,7 @@ export declare const rangeArr: (n: number) => number[];
|
|
|
5
5
|
export declare const extractDateFormat: (format: string) => string;
|
|
6
6
|
export declare const extractTimeFormat: (format: string) => string;
|
|
7
7
|
export declare const dateEquals: (a: Date | unknown, b: Date | unknown) => boolean;
|
|
8
|
-
export declare const valueEquals: (a: Array<Date> | unknown, b: Array<Date> | unknown) =>
|
|
8
|
+
export declare const valueEquals: (a: Array<Date> | unknown, b: Array<Date> | unknown) => boolean;
|
|
9
9
|
export declare const parseDate: (date: string | number | Date, format: string | undefined, lang: string) => Dayjs | undefined;
|
|
10
10
|
export declare const formatter: (date: string | number | Date | Dayjs, format: string | undefined, lang: string) => string | number | Date | Dayjs;
|
|
11
11
|
export declare const makeList: (total: number, method?: () => number[]) => boolean[];
|
|
@@ -78,8 +78,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
78
|
}, {
|
|
79
79
|
readonly start: string;
|
|
80
80
|
readonly end: string;
|
|
81
|
-
readonly disabled: boolean;
|
|
82
81
|
readonly effect: string;
|
|
82
|
+
readonly disabled: boolean;
|
|
83
83
|
readonly clearable: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
84
84
|
readonly format: string;
|
|
85
85
|
readonly editable: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -47,7 +47,7 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
47
47
|
type: globalThis.PropType<number>;
|
|
48
48
|
};
|
|
49
49
|
fallbackPlacements: {
|
|
50
|
-
type: globalThis.PropType<Placement[]>;
|
|
50
|
+
type: globalThis.PropType<import("@popperjs/core").Placement[]>;
|
|
51
51
|
};
|
|
52
52
|
gpuAcceleration: {
|
|
53
53
|
type: globalThis.PropType<boolean>;
|
|
@@ -56,13 +56,13 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
56
56
|
type: globalThis.PropType<number>;
|
|
57
57
|
};
|
|
58
58
|
placement: {
|
|
59
|
-
type: globalThis.PropType<
|
|
59
|
+
type: globalThis.PropType<import("@popperjs/core").Placement>;
|
|
60
60
|
};
|
|
61
61
|
popperOptions: {
|
|
62
|
-
type: globalThis.PropType<
|
|
62
|
+
type: globalThis.PropType<Partial<import("@popperjs/core").Options>>;
|
|
63
63
|
};
|
|
64
64
|
strategy: {
|
|
65
|
-
type: globalThis.PropType<"
|
|
65
|
+
type: globalThis.PropType<"fixed" | "absolute">;
|
|
66
66
|
};
|
|
67
67
|
style: {
|
|
68
68
|
type: globalThis.PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
@@ -211,7 +211,7 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
211
211
|
type: globalThis.PropType<number>;
|
|
212
212
|
};
|
|
213
213
|
fallbackPlacements: {
|
|
214
|
-
type: globalThis.PropType<Placement[]>;
|
|
214
|
+
type: globalThis.PropType<import("@popperjs/core").Placement[]>;
|
|
215
215
|
};
|
|
216
216
|
gpuAcceleration: {
|
|
217
217
|
type: globalThis.PropType<boolean>;
|
|
@@ -220,13 +220,13 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
220
220
|
type: globalThis.PropType<number>;
|
|
221
221
|
};
|
|
222
222
|
placement: {
|
|
223
|
-
type: globalThis.PropType<
|
|
223
|
+
type: globalThis.PropType<import("@popperjs/core").Placement>;
|
|
224
224
|
};
|
|
225
225
|
popperOptions: {
|
|
226
|
-
type: globalThis.PropType<
|
|
226
|
+
type: globalThis.PropType<Partial<import("@popperjs/core").Options>>;
|
|
227
227
|
};
|
|
228
228
|
strategy: {
|
|
229
|
-
type: globalThis.PropType<"
|
|
229
|
+
type: globalThis.PropType<"fixed" | "absolute">;
|
|
230
230
|
};
|
|
231
231
|
style: {
|
|
232
232
|
type: globalThis.PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
@@ -367,7 +367,7 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
367
367
|
type: globalThis.PropType<number>;
|
|
368
368
|
};
|
|
369
369
|
fallbackPlacements: {
|
|
370
|
-
type: globalThis.PropType<Placement[]>;
|
|
370
|
+
type: globalThis.PropType<import("@popperjs/core").Placement[]>;
|
|
371
371
|
};
|
|
372
372
|
gpuAcceleration: {
|
|
373
373
|
type: globalThis.PropType<boolean>;
|
|
@@ -376,13 +376,13 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
376
376
|
type: globalThis.PropType<number>;
|
|
377
377
|
};
|
|
378
378
|
placement: {
|
|
379
|
-
type: globalThis.PropType<
|
|
379
|
+
type: globalThis.PropType<import("@popperjs/core").Placement>;
|
|
380
380
|
};
|
|
381
381
|
popperOptions: {
|
|
382
|
-
type: globalThis.PropType<
|
|
382
|
+
type: globalThis.PropType<Partial<import("@popperjs/core").Options>>;
|
|
383
383
|
};
|
|
384
384
|
strategy: {
|
|
385
|
-
type: globalThis.PropType<"
|
|
385
|
+
type: globalThis.PropType<"fixed" | "absolute">;
|
|
386
386
|
};
|
|
387
387
|
style: {
|
|
388
388
|
type: globalThis.PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
@@ -528,7 +528,7 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
528
528
|
type: globalThis.PropType<number>;
|
|
529
529
|
};
|
|
530
530
|
fallbackPlacements: {
|
|
531
|
-
type: globalThis.PropType<Placement[]>;
|
|
531
|
+
type: globalThis.PropType<import("@popperjs/core").Placement[]>;
|
|
532
532
|
};
|
|
533
533
|
gpuAcceleration: {
|
|
534
534
|
type: globalThis.PropType<boolean>;
|
|
@@ -537,13 +537,13 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
537
537
|
type: globalThis.PropType<number>;
|
|
538
538
|
};
|
|
539
539
|
placement: {
|
|
540
|
-
type: globalThis.PropType<
|
|
540
|
+
type: globalThis.PropType<import("@popperjs/core").Placement>;
|
|
541
541
|
};
|
|
542
542
|
popperOptions: {
|
|
543
|
-
type: globalThis.PropType<
|
|
543
|
+
type: globalThis.PropType<Partial<import("@popperjs/core").Options>>;
|
|
544
544
|
};
|
|
545
545
|
strategy: {
|
|
546
|
-
type: globalThis.PropType<"
|
|
546
|
+
type: globalThis.PropType<"fixed" | "absolute">;
|
|
547
547
|
};
|
|
548
548
|
style: {
|
|
549
549
|
type: globalThis.PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
@@ -7,5 +7,5 @@ export declare const useTooltipModelToggle: ({ indicator, toggleReason, shouldHi
|
|
|
7
7
|
hide: (event?: Event | undefined) => void;
|
|
8
8
|
show: (event?: Event | undefined) => void;
|
|
9
9
|
toggle: () => void;
|
|
10
|
-
hasUpdateHandler: globalThis.ComputedRef<
|
|
10
|
+
hasUpdateHandler: globalThis.ComputedRef<boolean>;
|
|
11
11
|
};
|