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
|
@@ -80,8 +80,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
80
80
|
readonly showAfter?: number | undefined;
|
|
81
81
|
readonly hideAfter?: number | undefined;
|
|
82
82
|
readonly open?: boolean | undefined;
|
|
83
|
-
readonly placement?:
|
|
84
|
-
readonly strategy?: "
|
|
83
|
+
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
84
|
+
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
85
|
+
readonly effect?: "light" | "dark" | undefined;
|
|
85
86
|
readonly id?: string | undefined;
|
|
86
87
|
readonly className?: import("../types").ClassType | undefined;
|
|
87
88
|
readonly ariaLabel?: string | undefined;
|
|
@@ -90,11 +91,11 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
90
91
|
readonly trigger?: import("..").TooltipTriggerType | undefined;
|
|
91
92
|
readonly appendTo?: any;
|
|
92
93
|
readonly visible?: boolean | undefined;
|
|
93
|
-
readonly
|
|
94
|
+
readonly teleported?: boolean | undefined;
|
|
94
95
|
readonly arrowOffset?: number | undefined;
|
|
95
96
|
readonly gpuAcceleration?: boolean | undefined;
|
|
96
|
-
readonly fallbackPlacements?: Placement[] | undefined;
|
|
97
|
-
readonly popperOptions?:
|
|
97
|
+
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
98
|
+
readonly popperOptions?: Partial<import("@popperjs/core").Options> | undefined;
|
|
98
99
|
readonly pure?: boolean | undefined;
|
|
99
100
|
readonly boundariesPadding?: number | undefined;
|
|
100
101
|
readonly enterable?: boolean | undefined;
|
|
@@ -109,7 +110,6 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
109
110
|
readonly virtualRef?: import("..").Measurable | undefined;
|
|
110
111
|
readonly rawContent?: boolean | undefined;
|
|
111
112
|
readonly persistent?: boolean | undefined;
|
|
112
|
-
readonly teleported?: boolean | undefined;
|
|
113
113
|
readonly triggerKeys?: string[] | undefined;
|
|
114
114
|
readonly showArrow?: boolean | undefined;
|
|
115
115
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -165,7 +165,7 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
165
165
|
type: globalThis.PropType<number>;
|
|
166
166
|
};
|
|
167
167
|
fallbackPlacements: {
|
|
168
|
-
type: globalThis.PropType<Placement[]>;
|
|
168
|
+
type: globalThis.PropType<import("@popperjs/core").Placement[]>;
|
|
169
169
|
};
|
|
170
170
|
gpuAcceleration: {
|
|
171
171
|
type: globalThis.PropType<boolean>;
|
|
@@ -174,13 +174,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
174
174
|
type: globalThis.PropType<number>;
|
|
175
175
|
};
|
|
176
176
|
placement: {
|
|
177
|
-
type: globalThis.PropType<
|
|
177
|
+
type: globalThis.PropType<import("@popperjs/core").Placement>;
|
|
178
178
|
};
|
|
179
179
|
popperOptions: {
|
|
180
|
-
type: globalThis.PropType<
|
|
180
|
+
type: globalThis.PropType<Partial<import("@popperjs/core").Options>>;
|
|
181
181
|
};
|
|
182
182
|
strategy: {
|
|
183
|
-
type: globalThis.PropType<"
|
|
183
|
+
type: globalThis.PropType<"fixed" | "absolute">;
|
|
184
184
|
};
|
|
185
185
|
style: {
|
|
186
186
|
type: globalThis.PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
@@ -328,7 +328,7 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
328
328
|
type: globalThis.PropType<number>;
|
|
329
329
|
};
|
|
330
330
|
fallbackPlacements: {
|
|
331
|
-
type: globalThis.PropType<Placement[]>;
|
|
331
|
+
type: globalThis.PropType<import("@popperjs/core").Placement[]>;
|
|
332
332
|
};
|
|
333
333
|
gpuAcceleration: {
|
|
334
334
|
type: globalThis.PropType<boolean>;
|
|
@@ -337,13 +337,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
337
337
|
type: globalThis.PropType<number>;
|
|
338
338
|
};
|
|
339
339
|
placement: {
|
|
340
|
-
type: globalThis.PropType<
|
|
340
|
+
type: globalThis.PropType<import("@popperjs/core").Placement>;
|
|
341
341
|
};
|
|
342
342
|
popperOptions: {
|
|
343
|
-
type: globalThis.PropType<
|
|
343
|
+
type: globalThis.PropType<Partial<import("@popperjs/core").Options>>;
|
|
344
344
|
};
|
|
345
345
|
strategy: {
|
|
346
|
-
type: globalThis.PropType<"
|
|
346
|
+
type: globalThis.PropType<"fixed" | "absolute">;
|
|
347
347
|
};
|
|
348
348
|
style: {
|
|
349
349
|
type: globalThis.PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
@@ -512,7 +512,7 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
512
512
|
type: globalThis.PropType<number>;
|
|
513
513
|
};
|
|
514
514
|
fallbackPlacements: {
|
|
515
|
-
type: globalThis.PropType<Placement[]>;
|
|
515
|
+
type: globalThis.PropType<import("@popperjs/core").Placement[]>;
|
|
516
516
|
};
|
|
517
517
|
gpuAcceleration: {
|
|
518
518
|
type: globalThis.PropType<boolean>;
|
|
@@ -521,13 +521,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
521
521
|
type: globalThis.PropType<number>;
|
|
522
522
|
};
|
|
523
523
|
placement: {
|
|
524
|
-
type: globalThis.PropType<
|
|
524
|
+
type: globalThis.PropType<import("@popperjs/core").Placement>;
|
|
525
525
|
};
|
|
526
526
|
popperOptions: {
|
|
527
|
-
type: globalThis.PropType<
|
|
527
|
+
type: globalThis.PropType<Partial<import("@popperjs/core").Options>>;
|
|
528
528
|
};
|
|
529
529
|
strategy: {
|
|
530
|
-
type: globalThis.PropType<"
|
|
530
|
+
type: globalThis.PropType<"fixed" | "absolute">;
|
|
531
531
|
};
|
|
532
532
|
style: {
|
|
533
533
|
type: globalThis.PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
@@ -788,8 +788,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
788
788
|
readonly showAfter?: number | undefined;
|
|
789
789
|
readonly hideAfter?: number | undefined;
|
|
790
790
|
readonly open?: boolean | undefined;
|
|
791
|
-
readonly placement?:
|
|
792
|
-
readonly strategy?: "
|
|
791
|
+
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
792
|
+
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
793
|
+
readonly effect?: "light" | "dark" | undefined;
|
|
793
794
|
readonly id?: string | undefined;
|
|
794
795
|
readonly className?: import("../types").ClassType | undefined;
|
|
795
796
|
readonly ariaLabel?: string | undefined;
|
|
@@ -798,11 +799,11 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
798
799
|
readonly trigger?: import("..").TooltipTriggerType | undefined;
|
|
799
800
|
readonly appendTo?: any;
|
|
800
801
|
readonly visible?: boolean | undefined;
|
|
801
|
-
readonly
|
|
802
|
+
readonly teleported?: boolean | undefined;
|
|
802
803
|
readonly arrowOffset?: number | undefined;
|
|
803
804
|
readonly gpuAcceleration?: boolean | undefined;
|
|
804
|
-
readonly fallbackPlacements?: Placement[] | undefined;
|
|
805
|
-
readonly popperOptions?:
|
|
805
|
+
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
806
|
+
readonly popperOptions?: Partial<import("@popperjs/core").Options> | undefined;
|
|
806
807
|
readonly pure?: boolean | undefined;
|
|
807
808
|
readonly boundariesPadding?: number | undefined;
|
|
808
809
|
readonly enterable?: boolean | undefined;
|
|
@@ -817,7 +818,6 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
817
818
|
readonly virtualRef?: import("..").Measurable | undefined;
|
|
818
819
|
readonly rawContent?: boolean | undefined;
|
|
819
820
|
readonly persistent?: boolean | undefined;
|
|
820
|
-
readonly teleported?: boolean | undefined;
|
|
821
821
|
readonly triggerKeys?: string[] | undefined;
|
|
822
822
|
readonly showArrow?: boolean | undefined;
|
|
823
823
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -873,7 +873,7 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
873
873
|
type: globalThis.PropType<number>;
|
|
874
874
|
};
|
|
875
875
|
fallbackPlacements: {
|
|
876
|
-
type: globalThis.PropType<Placement[]>;
|
|
876
|
+
type: globalThis.PropType<import("@popperjs/core").Placement[]>;
|
|
877
877
|
};
|
|
878
878
|
gpuAcceleration: {
|
|
879
879
|
type: globalThis.PropType<boolean>;
|
|
@@ -882,13 +882,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
882
882
|
type: globalThis.PropType<number>;
|
|
883
883
|
};
|
|
884
884
|
placement: {
|
|
885
|
-
type: globalThis.PropType<
|
|
885
|
+
type: globalThis.PropType<import("@popperjs/core").Placement>;
|
|
886
886
|
};
|
|
887
887
|
popperOptions: {
|
|
888
|
-
type: globalThis.PropType<
|
|
888
|
+
type: globalThis.PropType<Partial<import("@popperjs/core").Options>>;
|
|
889
889
|
};
|
|
890
890
|
strategy: {
|
|
891
|
-
type: globalThis.PropType<"
|
|
891
|
+
type: globalThis.PropType<"fixed" | "absolute">;
|
|
892
892
|
};
|
|
893
893
|
style: {
|
|
894
894
|
type: globalThis.PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
@@ -1036,7 +1036,7 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1036
1036
|
type: globalThis.PropType<number>;
|
|
1037
1037
|
};
|
|
1038
1038
|
fallbackPlacements: {
|
|
1039
|
-
type: globalThis.PropType<Placement[]>;
|
|
1039
|
+
type: globalThis.PropType<import("@popperjs/core").Placement[]>;
|
|
1040
1040
|
};
|
|
1041
1041
|
gpuAcceleration: {
|
|
1042
1042
|
type: globalThis.PropType<boolean>;
|
|
@@ -1045,13 +1045,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1045
1045
|
type: globalThis.PropType<number>;
|
|
1046
1046
|
};
|
|
1047
1047
|
placement: {
|
|
1048
|
-
type: globalThis.PropType<
|
|
1048
|
+
type: globalThis.PropType<import("@popperjs/core").Placement>;
|
|
1049
1049
|
};
|
|
1050
1050
|
popperOptions: {
|
|
1051
|
-
type: globalThis.PropType<
|
|
1051
|
+
type: globalThis.PropType<Partial<import("@popperjs/core").Options>>;
|
|
1052
1052
|
};
|
|
1053
1053
|
strategy: {
|
|
1054
|
-
type: globalThis.PropType<"
|
|
1054
|
+
type: globalThis.PropType<"fixed" | "absolute">;
|
|
1055
1055
|
};
|
|
1056
1056
|
style: {
|
|
1057
1057
|
type: globalThis.PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
@@ -1220,7 +1220,7 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1220
1220
|
type: globalThis.PropType<number>;
|
|
1221
1221
|
};
|
|
1222
1222
|
fallbackPlacements: {
|
|
1223
|
-
type: globalThis.PropType<Placement[]>;
|
|
1223
|
+
type: globalThis.PropType<import("@popperjs/core").Placement[]>;
|
|
1224
1224
|
};
|
|
1225
1225
|
gpuAcceleration: {
|
|
1226
1226
|
type: globalThis.PropType<boolean>;
|
|
@@ -1229,13 +1229,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1229
1229
|
type: globalThis.PropType<number>;
|
|
1230
1230
|
};
|
|
1231
1231
|
placement: {
|
|
1232
|
-
type: globalThis.PropType<
|
|
1232
|
+
type: globalThis.PropType<import("@popperjs/core").Placement>;
|
|
1233
1233
|
};
|
|
1234
1234
|
popperOptions: {
|
|
1235
|
-
type: globalThis.PropType<
|
|
1235
|
+
type: globalThis.PropType<Partial<import("@popperjs/core").Options>>;
|
|
1236
1236
|
};
|
|
1237
1237
|
strategy: {
|
|
1238
|
-
type: globalThis.PropType<"
|
|
1238
|
+
type: globalThis.PropType<"fixed" | "absolute">;
|
|
1239
1239
|
};
|
|
1240
1240
|
style: {
|
|
1241
1241
|
type: globalThis.PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
@@ -1428,8 +1428,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1428
1428
|
readonly showAfter?: number | undefined;
|
|
1429
1429
|
readonly hideAfter?: number | undefined;
|
|
1430
1430
|
readonly open?: boolean | undefined;
|
|
1431
|
-
readonly placement?:
|
|
1432
|
-
readonly strategy?: "
|
|
1431
|
+
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
1432
|
+
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
1433
|
+
readonly effect?: "light" | "dark" | undefined;
|
|
1433
1434
|
readonly id?: string | undefined;
|
|
1434
1435
|
readonly className?: import("../types").ClassType | undefined;
|
|
1435
1436
|
readonly ariaLabel?: string | undefined;
|
|
@@ -1438,11 +1439,11 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1438
1439
|
readonly trigger?: import("..").TooltipTriggerType | undefined;
|
|
1439
1440
|
readonly appendTo?: any;
|
|
1440
1441
|
readonly visible?: boolean | undefined;
|
|
1441
|
-
readonly
|
|
1442
|
+
readonly teleported?: boolean | undefined;
|
|
1442
1443
|
readonly arrowOffset?: number | undefined;
|
|
1443
1444
|
readonly gpuAcceleration?: boolean | undefined;
|
|
1444
|
-
readonly fallbackPlacements?: Placement[] | undefined;
|
|
1445
|
-
readonly popperOptions?:
|
|
1445
|
+
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
1446
|
+
readonly popperOptions?: Partial<import("@popperjs/core").Options> | undefined;
|
|
1446
1447
|
readonly pure?: boolean | undefined;
|
|
1447
1448
|
readonly boundariesPadding?: number | undefined;
|
|
1448
1449
|
readonly enterable?: boolean | undefined;
|
|
@@ -1457,7 +1458,6 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1457
1458
|
readonly virtualRef?: import("..").Measurable | undefined;
|
|
1458
1459
|
readonly rawContent?: boolean | undefined;
|
|
1459
1460
|
readonly persistent?: boolean | undefined;
|
|
1460
|
-
readonly teleported?: boolean | undefined;
|
|
1461
1461
|
readonly triggerKeys?: string[] | undefined;
|
|
1462
1462
|
readonly showArrow?: boolean | undefined;
|
|
1463
1463
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -1513,7 +1513,7 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1513
1513
|
type: globalThis.PropType<number>;
|
|
1514
1514
|
};
|
|
1515
1515
|
fallbackPlacements: {
|
|
1516
|
-
type: globalThis.PropType<Placement[]>;
|
|
1516
|
+
type: globalThis.PropType<import("@popperjs/core").Placement[]>;
|
|
1517
1517
|
};
|
|
1518
1518
|
gpuAcceleration: {
|
|
1519
1519
|
type: globalThis.PropType<boolean>;
|
|
@@ -1522,13 +1522,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1522
1522
|
type: globalThis.PropType<number>;
|
|
1523
1523
|
};
|
|
1524
1524
|
placement: {
|
|
1525
|
-
type: globalThis.PropType<
|
|
1525
|
+
type: globalThis.PropType<import("@popperjs/core").Placement>;
|
|
1526
1526
|
};
|
|
1527
1527
|
popperOptions: {
|
|
1528
|
-
type: globalThis.PropType<
|
|
1528
|
+
type: globalThis.PropType<Partial<import("@popperjs/core").Options>>;
|
|
1529
1529
|
};
|
|
1530
1530
|
strategy: {
|
|
1531
|
-
type: globalThis.PropType<"
|
|
1531
|
+
type: globalThis.PropType<"fixed" | "absolute">;
|
|
1532
1532
|
};
|
|
1533
1533
|
style: {
|
|
1534
1534
|
type: globalThis.PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
@@ -1676,7 +1676,7 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1676
1676
|
type: globalThis.PropType<number>;
|
|
1677
1677
|
};
|
|
1678
1678
|
fallbackPlacements: {
|
|
1679
|
-
type: globalThis.PropType<Placement[]>;
|
|
1679
|
+
type: globalThis.PropType<import("@popperjs/core").Placement[]>;
|
|
1680
1680
|
};
|
|
1681
1681
|
gpuAcceleration: {
|
|
1682
1682
|
type: globalThis.PropType<boolean>;
|
|
@@ -1685,13 +1685,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1685
1685
|
type: globalThis.PropType<number>;
|
|
1686
1686
|
};
|
|
1687
1687
|
placement: {
|
|
1688
|
-
type: globalThis.PropType<
|
|
1688
|
+
type: globalThis.PropType<import("@popperjs/core").Placement>;
|
|
1689
1689
|
};
|
|
1690
1690
|
popperOptions: {
|
|
1691
|
-
type: globalThis.PropType<
|
|
1691
|
+
type: globalThis.PropType<Partial<import("@popperjs/core").Options>>;
|
|
1692
1692
|
};
|
|
1693
1693
|
strategy: {
|
|
1694
|
-
type: globalThis.PropType<"
|
|
1694
|
+
type: globalThis.PropType<"fixed" | "absolute">;
|
|
1695
1695
|
};
|
|
1696
1696
|
style: {
|
|
1697
1697
|
type: globalThis.PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
@@ -1860,7 +1860,7 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1860
1860
|
type: globalThis.PropType<number>;
|
|
1861
1861
|
};
|
|
1862
1862
|
fallbackPlacements: {
|
|
1863
|
-
type: globalThis.PropType<Placement[]>;
|
|
1863
|
+
type: globalThis.PropType<import("@popperjs/core").Placement[]>;
|
|
1864
1864
|
};
|
|
1865
1865
|
gpuAcceleration: {
|
|
1866
1866
|
type: globalThis.PropType<boolean>;
|
|
@@ -1869,13 +1869,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1869
1869
|
type: globalThis.PropType<number>;
|
|
1870
1870
|
};
|
|
1871
1871
|
placement: {
|
|
1872
|
-
type: globalThis.PropType<
|
|
1872
|
+
type: globalThis.PropType<import("@popperjs/core").Placement>;
|
|
1873
1873
|
};
|
|
1874
1874
|
popperOptions: {
|
|
1875
|
-
type: globalThis.PropType<
|
|
1875
|
+
type: globalThis.PropType<Partial<import("@popperjs/core").Options>>;
|
|
1876
1876
|
};
|
|
1877
1877
|
strategy: {
|
|
1878
|
-
type: globalThis.PropType<"
|
|
1878
|
+
type: globalThis.PropType<"fixed" | "absolute">;
|
|
1879
1879
|
};
|
|
1880
1880
|
style: {
|
|
1881
1881
|
type: globalThis.PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
@@ -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";
|
|
@@ -99,7 +100,7 @@ const i = (
|
|
|
99
100
|
I("backtop")
|
|
100
101
|
), P = c({
|
|
101
102
|
name: i.b()
|
|
102
|
-
}),
|
|
103
|
+
}), xo = /* @__PURE__ */ c({
|
|
103
104
|
...P,
|
|
104
105
|
props: {
|
|
105
106
|
visibilityHeight: { default: 200 },
|
|
@@ -142,5 +143,5 @@ const i = (
|
|
|
142
143
|
}
|
|
143
144
|
});
|
|
144
145
|
export {
|
|
145
|
-
|
|
146
|
+
xo as default
|
|
146
147
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TinyColor } from '@ctrl/tinycolor';
|
|
2
2
|
import type { ButtonProps } from './button.vue';
|
|
3
3
|
/** 生成暗色 */
|
|
4
|
-
export declare function darken(color: TinyColor, amount?: number):
|
|
4
|
+
export declare function darken(color: TinyColor, amount?: number): string;
|
|
5
5
|
export declare function useButtonCustomStyle(props: ButtonProps): globalThis.ComputedRef<Record<string, string>>;
|
|
@@ -55,7 +55,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
55
55
|
ref: globalThis.Ref<HTMLButtonElement | undefined>;
|
|
56
56
|
size: globalThis.ComputedRef<"" | "default" | "small" | "large">;
|
|
57
57
|
type: globalThis.ComputedRef<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
58
|
-
disabled: globalThis.ComputedRef<
|
|
58
|
+
disabled: globalThis.ComputedRef<boolean>;
|
|
59
59
|
shouldAddSpace: globalThis.ComputedRef<boolean>;
|
|
60
60
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
61
61
|
click: (evt: MouseEvent) => void;
|
|
@@ -74,7 +74,7 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
74
74
|
ref: globalThis.Ref<HTMLButtonElement | undefined>;
|
|
75
75
|
size: globalThis.ComputedRef<"" | "default" | "small" | "large">;
|
|
76
76
|
type: globalThis.ComputedRef<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
77
|
-
disabled: globalThis.ComputedRef<
|
|
77
|
+
disabled: globalThis.ComputedRef<boolean>;
|
|
78
78
|
shouldAddSpace: globalThis.ComputedRef<boolean>;
|
|
79
79
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
80
80
|
click: (evt: MouseEvent) => void;
|
|
@@ -234,7 +234,7 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
234
234
|
ref: globalThis.Ref<HTMLButtonElement | undefined>;
|
|
235
235
|
size: globalThis.ComputedRef<"" | "default" | "small" | "large">;
|
|
236
236
|
type: globalThis.ComputedRef<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
237
|
-
disabled: globalThis.ComputedRef<
|
|
237
|
+
disabled: globalThis.ComputedRef<boolean>;
|
|
238
238
|
shouldAddSpace: globalThis.ComputedRef<boolean>;
|
|
239
239
|
}, {}, {}, {}, {
|
|
240
240
|
tag: string | globalThis.Component;
|
|
@@ -319,7 +319,7 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
319
319
|
ref: globalThis.Ref<HTMLButtonElement | undefined>;
|
|
320
320
|
size: globalThis.ComputedRef<"" | "default" | "small" | "large">;
|
|
321
321
|
type: globalThis.ComputedRef<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
322
|
-
disabled: globalThis.ComputedRef<
|
|
322
|
+
disabled: globalThis.ComputedRef<boolean>;
|
|
323
323
|
shouldAddSpace: globalThis.ComputedRef<boolean>;
|
|
324
324
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
325
325
|
click: (evt: MouseEvent) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ButtonProps } from './button.vue';
|
|
2
2
|
export declare const useButton: (props: ButtonProps, emit: any) => {
|
|
3
3
|
_props: globalThis.ComputedRef<{
|
|
4
|
-
ariaDisabled:
|
|
5
|
-
disabled:
|
|
4
|
+
ariaDisabled: boolean | undefined;
|
|
5
|
+
disabled: boolean | undefined;
|
|
6
6
|
autofocus: boolean | undefined;
|
|
7
7
|
type: "button" | "reset" | "submit" | undefined;
|
|
8
8
|
} | {
|
|
@@ -11,7 +11,7 @@ export declare const useButton: (props: ButtonProps, emit: any) => {
|
|
|
11
11
|
autofocus?: undefined;
|
|
12
12
|
type?: undefined;
|
|
13
13
|
}>;
|
|
14
|
-
_disabled: globalThis.ComputedRef<
|
|
14
|
+
_disabled: globalThis.ComputedRef<boolean>;
|
|
15
15
|
_size: globalThis.ComputedRef<"" | "default" | "small" | "large">;
|
|
16
16
|
_type: globalThis.ComputedRef<"" | "default" | "text" | "success" | "primary" | "warning" | "info" | "danger">;
|
|
17
17
|
_ref: globalThis.Ref<HTMLButtonElement | undefined>;
|
|
@@ -3,11 +3,11 @@ import "../form/index.js";
|
|
|
3
3
|
import { useThrottleFn as T } from "@vueuse/core";
|
|
4
4
|
import { inject as _, computed as i, ref as k, useSlots as p, Text as I } from "vue";
|
|
5
5
|
import { buttonGroupContextKey as S } from "./constants.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { useGlobalConfig as z } from "../config-provider/hooks/use-global-config.js";
|
|
7
|
+
import { useFormItem as C } from "../form/hooks/use-form-item.js";
|
|
8
8
|
import { useFormSize as D, useFormDisabled as j } from "../form/hooks/use-form-common-props.js";
|
|
9
9
|
const H = (t, u) => {
|
|
10
|
-
const o = _(S, void 0), m =
|
|
10
|
+
const o = _(S, void 0), m = z("button"), { form: s } = C(), d = D(i(() => o == null ? void 0 : o.size)), c = j(), f = k(), r = p(), h = i(() => t.type || (o == null ? void 0 : o.type) || ""), g = i(
|
|
11
11
|
() => {
|
|
12
12
|
var e;
|
|
13
13
|
return t.autoInsertSpace ?? ((e = m.value) == null ? void 0 : e.autoInsertSpace) ?? !1;
|
|
@@ -50,9 +50,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
50
50
|
direction: "vertical" | "horizontal";
|
|
51
51
|
height: string;
|
|
52
52
|
type: "" | "card";
|
|
53
|
+
arrow: "always" | "never" | "hover";
|
|
53
54
|
loop: boolean;
|
|
54
55
|
trigger: "click" | "hover";
|
|
55
|
-
arrow: "always" | "never" | "hover";
|
|
56
56
|
initialIndex: number;
|
|
57
57
|
interval: number;
|
|
58
58
|
autoplay: boolean;
|
|
@@ -12,6 +12,10 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
12
12
|
type: globalThis.PropType<"" | "card">;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
|
+
arrow: {
|
|
16
|
+
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
15
19
|
loop: {
|
|
16
20
|
type: globalThis.PropType<boolean>;
|
|
17
21
|
default: boolean;
|
|
@@ -20,10 +24,6 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
20
24
|
type: globalThis.PropType<"click" | "hover">;
|
|
21
25
|
default: string;
|
|
22
26
|
};
|
|
23
|
-
arrow: {
|
|
24
|
-
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
27
|
initialIndex: {
|
|
28
28
|
type: globalThis.PropType<number>;
|
|
29
29
|
default: number;
|
|
@@ -65,6 +65,10 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
65
65
|
type: globalThis.PropType<"" | "card">;
|
|
66
66
|
default: string;
|
|
67
67
|
};
|
|
68
|
+
arrow: {
|
|
69
|
+
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
68
72
|
loop: {
|
|
69
73
|
type: globalThis.PropType<boolean>;
|
|
70
74
|
default: boolean;
|
|
@@ -73,10 +77,6 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
73
77
|
type: globalThis.PropType<"click" | "hover">;
|
|
74
78
|
default: string;
|
|
75
79
|
};
|
|
76
|
-
arrow: {
|
|
77
|
-
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
78
|
-
default: string;
|
|
79
|
-
};
|
|
80
80
|
initialIndex: {
|
|
81
81
|
type: globalThis.PropType<number>;
|
|
82
82
|
default: number;
|
|
@@ -103,9 +103,9 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
103
103
|
direction: "vertical" | "horizontal";
|
|
104
104
|
height: string;
|
|
105
105
|
type: "" | "card";
|
|
106
|
+
arrow: "always" | "never" | "hover";
|
|
106
107
|
loop: boolean;
|
|
107
108
|
trigger: "click" | "hover";
|
|
108
|
-
arrow: "always" | "never" | "hover";
|
|
109
109
|
initialIndex: number;
|
|
110
110
|
interval: number;
|
|
111
111
|
autoplay: boolean;
|
|
@@ -131,6 +131,10 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
131
131
|
type: globalThis.PropType<"" | "card">;
|
|
132
132
|
default: string;
|
|
133
133
|
};
|
|
134
|
+
arrow: {
|
|
135
|
+
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
134
138
|
loop: {
|
|
135
139
|
type: globalThis.PropType<boolean>;
|
|
136
140
|
default: boolean;
|
|
@@ -139,10 +143,6 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
139
143
|
type: globalThis.PropType<"click" | "hover">;
|
|
140
144
|
default: string;
|
|
141
145
|
};
|
|
142
|
-
arrow: {
|
|
143
|
-
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
144
|
-
default: string;
|
|
145
|
-
};
|
|
146
146
|
initialIndex: {
|
|
147
147
|
type: globalThis.PropType<number>;
|
|
148
148
|
default: number;
|
|
@@ -173,9 +173,9 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
173
173
|
direction: "vertical" | "horizontal";
|
|
174
174
|
height: string;
|
|
175
175
|
type: "" | "card";
|
|
176
|
+
arrow: "always" | "never" | "hover";
|
|
176
177
|
loop: boolean;
|
|
177
178
|
trigger: "click" | "hover";
|
|
178
|
-
arrow: "always" | "never" | "hover";
|
|
179
179
|
initialIndex: number;
|
|
180
180
|
interval: number;
|
|
181
181
|
autoplay: boolean;
|
|
@@ -198,6 +198,10 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
198
198
|
type: globalThis.PropType<"" | "card">;
|
|
199
199
|
default: string;
|
|
200
200
|
};
|
|
201
|
+
arrow: {
|
|
202
|
+
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
203
|
+
default: string;
|
|
204
|
+
};
|
|
201
205
|
loop: {
|
|
202
206
|
type: globalThis.PropType<boolean>;
|
|
203
207
|
default: boolean;
|
|
@@ -206,10 +210,6 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
206
210
|
type: globalThis.PropType<"click" | "hover">;
|
|
207
211
|
default: string;
|
|
208
212
|
};
|
|
209
|
-
arrow: {
|
|
210
|
-
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
211
|
-
default: string;
|
|
212
|
-
};
|
|
213
213
|
initialIndex: {
|
|
214
214
|
type: globalThis.PropType<number>;
|
|
215
215
|
default: number;
|
|
@@ -242,9 +242,9 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
242
242
|
direction: "vertical" | "horizontal";
|
|
243
243
|
height: string;
|
|
244
244
|
type: "" | "card";
|
|
245
|
+
arrow: "always" | "never" | "hover";
|
|
245
246
|
loop: boolean;
|
|
246
247
|
trigger: "click" | "hover";
|
|
247
|
-
arrow: "always" | "never" | "hover";
|
|
248
248
|
initialIndex: number;
|
|
249
249
|
interval: number;
|
|
250
250
|
autoplay: boolean;
|
|
@@ -24,6 +24,6 @@ export declare const useCarousel: (props: CarouselProps, emit: any, componentNam
|
|
|
24
24
|
setActiveItem: (index: number | string) => void;
|
|
25
25
|
prev: () => void;
|
|
26
26
|
next: () => void;
|
|
27
|
-
throttledArrowClick:
|
|
28
|
-
throttledIndicatorHover:
|
|
27
|
+
throttledArrowClick: import("lodash").DebouncedFunc<(index: number) => void>;
|
|
28
|
+
throttledIndicatorHover: import("lodash").DebouncedFunc<(index: number) => void>;
|
|
29
29
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CheckboxModel, CheckboxStatus } from '../composables';
|
|
2
2
|
export declare const useCheckboxDisabled: ({ model, isChecked, }: Pick<CheckboxModel, 'model'> & Pick<CheckboxStatus, 'isChecked'>) => {
|
|
3
|
-
isDisabled: globalThis.ComputedRef<
|
|
3
|
+
isDisabled: globalThis.ComputedRef<boolean>;
|
|
4
4
|
isLimitDisabled: globalThis.ComputedRef<boolean>;
|
|
5
5
|
};
|
|
6
6
|
export type CheckboxDisabled = ReturnType<typeof useCheckboxDisabled>;
|
|
@@ -4,7 +4,7 @@ export declare const useCheckbox: (props: CheckboxProps, slots: ComponentInterna
|
|
|
4
4
|
inputId: globalThis.Ref<string | undefined>;
|
|
5
5
|
isLabeledByFormItem: globalThis.ComputedRef<boolean>;
|
|
6
6
|
isChecked: globalThis.ComputedRef<boolean>;
|
|
7
|
-
isDisabled: globalThis.ComputedRef<
|
|
7
|
+
isDisabled: globalThis.ComputedRef<boolean>;
|
|
8
8
|
isFocused: globalThis.Ref<boolean>;
|
|
9
9
|
checkboxButtonSize: globalThis.ComputedRef<"" | "default" | "small" | "large">;
|
|
10
10
|
checkboxSize: globalThis.ComputedRef<"" | "default" | "small" | "large">;
|