vft 0.0.151 → 0.0.153
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/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/components/affix/affix.d.ts +2 -2
- package/es/components/affix/affix.vue.d.ts +2 -2
- package/es/components/affix/index.d.ts +5 -5
- package/es/components/autocomplete/autocomplete.vue.d.ts +23 -23
- package/es/components/autocomplete/index.d.ts +68 -68
- 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/checkbox-button.vue.d.ts +1 -1
- package/es/components/checkbox/checkbox-group.vue.d.ts +1 -1
- package/es/components/checkbox/checkbox.vue.d.ts +1 -1
- 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 +58 -58
- package/es/components/color-picker/color-picker.vue.d.ts +1 -1
- package/es/components/color-picker/index.d.ts +1 -1
- package/es/components/config-provider/hooks/use-global-config.d.ts +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 +3 -3
- package/es/components/dialog/index.d.ts +8 -8
- package/es/components/drawer/drawer.vue.d.ts +3 -3
- package/es/components/drawer/index.d.ts +8 -8
- package/es/components/dropdown/dropdown.vue.d.ts +3 -3
- package/es/components/dropdown/index.d.ts +49 -49
- package/es/components/form/hooks/use-form-common-props.d.ts +6 -4
- package/es/components/index.js +113 -113
- package/es/components/input/index.d.ts +12 -12
- package/es/components/input/input.vue.d.ts +4 -4
- package/es/components/input-number/index.d.ts +3 -3
- package/es/components/input-number/input-number.vue.d.ts +3 -3
- package/es/components/loading/index.d.ts +17 -9
- package/es/components/loading/loading.d.ts +17 -9
- package/es/components/modal/index.d.ts +11 -11
- package/es/components/modal/modal.vue.d.ts +1 -1
- 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 +30 -30
- package/es/components/radio/radio-group.vue.d.ts +1 -1
- package/es/components/radio/radio.vue.d.ts +1 -1
- package/es/components/radio/use-radio.d.ts +1 -1
- package/es/components/search/index.d.ts +8 -8
- package/es/components/search/search.vue.d.ts +2 -2
- package/es/components/select/defaults.d.ts +4 -3
- package/es/components/select/index.d.ts +66 -66
- package/es/components/select/select.vue.d.ts +33 -33
- 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/slider/composables/use-slide.d.ts +6 -6
- package/es/components/slider/index.d.ts +3 -3
- package/es/components/slider/slider.d.ts +3 -3
- package/es/components/slider/slider.vue.d.ts +1 -1
- package/es/components/space/index.d.ts +5 -2
- package/es/components/space/space.d.ts +5 -2
- package/es/components/super-form/index.d.ts +3 -3
- package/es/components/super-form/super-form.vue.d.ts +1 -1
- package/es/components/super-form/types.d.ts +176 -0
- package/es/components/switch/index.d.ts +3 -3
- package/es/components/switch/switch.vue.d.ts +3 -3
- package/es/components/table/index.d.ts +41 -41
- package/es/components/table/table.vue.d.ts +2 -2
- package/es/components/table/use/use-columns.d.ts +801 -3
- package/es/components/time-picker/common/picker.vue.d.ts +9 -24
- 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 +4 -4
- 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 +12 -12
- 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 +113 -113
- 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/components/affix/affix.d.ts +2 -2
- package/lib/components/affix/affix.vue.d.ts +2 -2
- package/lib/components/affix/index.d.ts +5 -5
- package/lib/components/autocomplete/autocomplete.vue.d.ts +23 -23
- package/lib/components/autocomplete/index.d.ts +68 -68
- 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/checkbox-button.vue.d.ts +1 -1
- package/lib/components/checkbox/checkbox-group.vue.d.ts +1 -1
- package/lib/components/checkbox/checkbox.vue.d.ts +1 -1
- 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 +58 -58
- package/lib/components/color-picker/color-picker.vue.d.ts +1 -1
- package/lib/components/color-picker/index.d.ts +1 -1
- package/lib/components/config-provider/hooks/use-global-config.d.ts +3 -2
- 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 +3 -3
- package/lib/components/dialog/index.d.ts +8 -8
- package/lib/components/drawer/drawer.vue.d.ts +3 -3
- package/lib/components/drawer/index.d.ts +8 -8
- package/lib/components/dropdown/dropdown.vue.d.ts +3 -3
- package/lib/components/dropdown/index.d.ts +49 -49
- package/lib/components/form/hooks/use-form-common-props.d.ts +6 -4
- package/lib/components/index.cjs +1 -1
- package/lib/components/input/index.d.ts +12 -12
- package/lib/components/input/input.vue.d.ts +4 -4
- package/lib/components/input-number/index.d.ts +3 -3
- package/lib/components/input-number/input-number.vue.d.ts +3 -3
- package/lib/components/loading/index.d.ts +17 -9
- package/lib/components/loading/loading.d.ts +17 -9
- package/lib/components/modal/index.d.ts +11 -11
- package/lib/components/modal/modal.vue.d.ts +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 +30 -30
- package/lib/components/radio/radio-group.vue.d.ts +1 -1
- package/lib/components/radio/radio.vue.d.ts +1 -1
- package/lib/components/radio/use-radio.d.ts +1 -1
- package/lib/components/search/index.d.ts +8 -8
- package/lib/components/search/search.vue.d.ts +2 -2
- package/lib/components/select/defaults.d.ts +4 -3
- package/lib/components/select/index.d.ts +66 -66
- package/lib/components/select/select.vue.d.ts +33 -33
- 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/slider/composables/use-slide.d.ts +6 -6
- package/lib/components/slider/index.d.ts +3 -3
- package/lib/components/slider/slider.d.ts +3 -3
- package/lib/components/slider/slider.vue.d.ts +1 -1
- package/lib/components/space/index.d.ts +5 -2
- package/lib/components/space/space.d.ts +5 -2
- package/lib/components/super-form/index.d.ts +3 -3
- package/lib/components/super-form/super-form.vue.d.ts +1 -1
- package/lib/components/super-form/types.d.ts +176 -0
- package/lib/components/switch/index.d.ts +3 -3
- package/lib/components/switch/switch.vue.d.ts +3 -3
- package/lib/components/table/index.d.ts +41 -41
- package/lib/components/table/table.vue.d.ts +2 -2
- package/lib/components/table/use/use-columns.d.ts +801 -3
- package/lib/components/time-picker/common/picker.vue.d.ts +9 -24
- 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 +4 -4
- 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 +12 -12
- 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 +5 -5
- package/web-types.json +1 -1
|
@@ -49,13 +49,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
49
49
|
type: globalThis.PropType<string>;
|
|
50
50
|
};
|
|
51
51
|
}>> & {
|
|
52
|
+
onChange?: ((value: string) => any) | undefined;
|
|
52
53
|
onInput?: ((value: string) => any) | undefined;
|
|
53
54
|
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
54
55
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
55
|
-
onChange?: ((value: string) => any) | undefined;
|
|
56
56
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
57
|
-
onClear?: (() => any) | undefined;
|
|
58
57
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
58
|
+
onClear?: (() => any) | undefined;
|
|
59
59
|
}, {
|
|
60
60
|
highlightedIndex: globalThis.Ref<number>;
|
|
61
61
|
activated: globalThis.Ref<boolean>;
|
|
@@ -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,12 +91,10 @@ 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 effect?: "light" | "dark" | undefined;
|
|
94
|
-
readonly teleported?: boolean | undefined;
|
|
95
94
|
readonly arrowOffset?: number | undefined;
|
|
96
95
|
readonly gpuAcceleration?: boolean | undefined;
|
|
97
|
-
readonly fallbackPlacements?: Placement[] | undefined;
|
|
98
|
-
readonly popperOptions?:
|
|
96
|
+
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
97
|
+
readonly popperOptions?: Partial<import("@popperjs/core").Options> | undefined;
|
|
99
98
|
readonly pure?: boolean | undefined;
|
|
100
99
|
readonly boundariesPadding?: number | undefined;
|
|
101
100
|
readonly enterable?: boolean | undefined;
|
|
@@ -110,6 +109,7 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
110
109
|
readonly virtualRef?: import("..").Measurable | undefined;
|
|
111
110
|
readonly rawContent?: boolean | undefined;
|
|
112
111
|
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>;
|
|
@@ -636,13 +636,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
636
636
|
close: () => void;
|
|
637
637
|
highlight: (index: number) => void;
|
|
638
638
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
639
|
+
"update:modelValue": (value: string) => void;
|
|
640
|
+
change: (value: string) => void;
|
|
641
|
+
input: (value: string) => void;
|
|
639
642
|
select: (item: Record<string, any>) => void;
|
|
640
643
|
clear: () => void;
|
|
641
644
|
blur: (evt: FocusEvent) => void;
|
|
642
645
|
focus: (evt: FocusEvent) => void;
|
|
643
|
-
"update:modelValue": (value: string) => void;
|
|
644
|
-
change: (value: string) => void;
|
|
645
|
-
input: (value: string) => void;
|
|
646
646
|
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
|
|
647
647
|
valueKey: {
|
|
648
648
|
type: globalThis.PropType<string>;
|
|
@@ -693,13 +693,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
693
693
|
type: globalThis.PropType<string>;
|
|
694
694
|
};
|
|
695
695
|
}>> & {
|
|
696
|
+
onChange?: ((value: string) => any) | undefined;
|
|
696
697
|
onInput?: ((value: string) => any) | undefined;
|
|
697
698
|
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
698
699
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
699
|
-
onChange?: ((value: string) => any) | undefined;
|
|
700
700
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
701
|
-
onClear?: (() => any) | undefined;
|
|
702
701
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
702
|
+
onClear?: (() => any) | undefined;
|
|
703
703
|
}, {}, true, {}, {}, {
|
|
704
704
|
P: {};
|
|
705
705
|
B: {};
|
|
@@ -757,13 +757,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
757
757
|
type: globalThis.PropType<string>;
|
|
758
758
|
};
|
|
759
759
|
}>> & {
|
|
760
|
+
onChange?: ((value: string) => any) | undefined;
|
|
760
761
|
onInput?: ((value: string) => any) | undefined;
|
|
761
762
|
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
762
763
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
763
|
-
onChange?: ((value: string) => any) | undefined;
|
|
764
764
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
765
|
-
onClear?: (() => any) | undefined;
|
|
766
765
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
766
|
+
onClear?: (() => any) | undefined;
|
|
767
767
|
}, {
|
|
768
768
|
highlightedIndex: globalThis.Ref<number>;
|
|
769
769
|
activated: globalThis.Ref<boolean>;
|
|
@@ -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,12 +799,10 @@ 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 effect?: "light" | "dark" | undefined;
|
|
802
|
-
readonly teleported?: boolean | undefined;
|
|
803
802
|
readonly arrowOffset?: number | undefined;
|
|
804
803
|
readonly gpuAcceleration?: boolean | undefined;
|
|
805
|
-
readonly fallbackPlacements?: Placement[] | undefined;
|
|
806
|
-
readonly popperOptions?:
|
|
804
|
+
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
805
|
+
readonly popperOptions?: Partial<import("@popperjs/core").Options> | undefined;
|
|
807
806
|
readonly pure?: boolean | undefined;
|
|
808
807
|
readonly boundariesPadding?: number | undefined;
|
|
809
808
|
readonly enterable?: boolean | undefined;
|
|
@@ -818,6 +817,7 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
818
817
|
readonly virtualRef?: import("..").Measurable | undefined;
|
|
819
818
|
readonly rawContent?: boolean | undefined;
|
|
820
819
|
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>;
|
|
@@ -1397,13 +1397,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1397
1397
|
type: globalThis.PropType<string>;
|
|
1398
1398
|
};
|
|
1399
1399
|
}>> & {
|
|
1400
|
+
onChange?: ((value: string) => any) | undefined;
|
|
1400
1401
|
onInput?: ((value: string) => any) | undefined;
|
|
1401
1402
|
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
1402
1403
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
1403
|
-
onChange?: ((value: string) => any) | undefined;
|
|
1404
1404
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
1405
|
-
onClear?: (() => any) | undefined;
|
|
1406
1405
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1406
|
+
onClear?: (() => any) | undefined;
|
|
1407
1407
|
}, {
|
|
1408
1408
|
highlightedIndex: globalThis.Ref<number>;
|
|
1409
1409
|
activated: globalThis.Ref<boolean>;
|
|
@@ -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,12 +1439,10 @@ 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 effect?: "light" | "dark" | undefined;
|
|
1442
|
-
readonly teleported?: boolean | undefined;
|
|
1443
1442
|
readonly arrowOffset?: number | undefined;
|
|
1444
1443
|
readonly gpuAcceleration?: boolean | undefined;
|
|
1445
|
-
readonly fallbackPlacements?: Placement[] | undefined;
|
|
1446
|
-
readonly popperOptions?:
|
|
1444
|
+
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
1445
|
+
readonly popperOptions?: Partial<import("@popperjs/core").Options> | undefined;
|
|
1447
1446
|
readonly pure?: boolean | undefined;
|
|
1448
1447
|
readonly boundariesPadding?: number | undefined;
|
|
1449
1448
|
readonly enterable?: boolean | undefined;
|
|
@@ -1458,6 +1457,7 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1458
1457
|
readonly virtualRef?: import("..").Measurable | undefined;
|
|
1459
1458
|
readonly rawContent?: boolean | undefined;
|
|
1460
1459
|
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>;
|
|
@@ -1984,13 +1984,13 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1984
1984
|
close: () => void;
|
|
1985
1985
|
highlight: (index: number) => void;
|
|
1986
1986
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1987
|
+
"update:modelValue": (value: string) => void;
|
|
1988
|
+
change: (value: string) => void;
|
|
1989
|
+
input: (value: string) => void;
|
|
1987
1990
|
select: (item: Record<string, any>) => void;
|
|
1988
1991
|
clear: () => void;
|
|
1989
1992
|
blur: (evt: FocusEvent) => void;
|
|
1990
1993
|
focus: (evt: FocusEvent) => void;
|
|
1991
|
-
"update:modelValue": (value: string) => void;
|
|
1992
|
-
change: (value: string) => void;
|
|
1993
|
-
input: (value: string) => void;
|
|
1994
1994
|
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1995
1995
|
$slots: {
|
|
1996
1996
|
prepend?(_: {}): any;
|
|
@@ -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 { useFormItem as z } from "../form/hooks/use-form-item.js";
|
|
7
|
+
import { useGlobalConfig as C } from "../config-provider/hooks/use-global-config.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 = C("button"), { form: s } = z(), 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,10 +50,10 @@ 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
56
|
initialIndex: number;
|
|
56
|
-
arrow: "always" | "never" | "hover";
|
|
57
57
|
interval: number;
|
|
58
58
|
autoplay: boolean;
|
|
59
59
|
indicatorPosition: "" | "none" | "outside";
|
|
@@ -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;
|
|
@@ -24,10 +28,6 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
24
28
|
type: globalThis.PropType<number>;
|
|
25
29
|
default: number;
|
|
26
30
|
};
|
|
27
|
-
arrow: {
|
|
28
|
-
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
31
|
interval: {
|
|
32
32
|
type: globalThis.PropType<number>;
|
|
33
33
|
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;
|
|
@@ -77,10 +81,6 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
77
81
|
type: globalThis.PropType<number>;
|
|
78
82
|
default: number;
|
|
79
83
|
};
|
|
80
|
-
arrow: {
|
|
81
|
-
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
82
|
-
default: string;
|
|
83
|
-
};
|
|
84
84
|
interval: {
|
|
85
85
|
type: globalThis.PropType<number>;
|
|
86
86
|
default: number;
|
|
@@ -103,10 +103,10 @@ 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
109
|
initialIndex: number;
|
|
109
|
-
arrow: "always" | "never" | "hover";
|
|
110
110
|
interval: number;
|
|
111
111
|
autoplay: boolean;
|
|
112
112
|
indicatorPosition: "" | "none" | "outside";
|
|
@@ -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;
|
|
@@ -143,10 +147,6 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
143
147
|
type: globalThis.PropType<number>;
|
|
144
148
|
default: number;
|
|
145
149
|
};
|
|
146
|
-
arrow: {
|
|
147
|
-
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
148
|
-
default: string;
|
|
149
|
-
};
|
|
150
150
|
interval: {
|
|
151
151
|
type: globalThis.PropType<number>;
|
|
152
152
|
default: number;
|
|
@@ -173,10 +173,10 @@ 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
179
|
initialIndex: number;
|
|
179
|
-
arrow: "always" | "never" | "hover";
|
|
180
180
|
interval: number;
|
|
181
181
|
autoplay: boolean;
|
|
182
182
|
indicatorPosition: "" | "none" | "outside";
|
|
@@ -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;
|
|
@@ -210,10 +214,6 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
210
214
|
type: globalThis.PropType<number>;
|
|
211
215
|
default: number;
|
|
212
216
|
};
|
|
213
|
-
arrow: {
|
|
214
|
-
type: globalThis.PropType<"always" | "never" | "hover">;
|
|
215
|
-
default: string;
|
|
216
|
-
};
|
|
217
217
|
interval: {
|
|
218
218
|
type: globalThis.PropType<number>;
|
|
219
219
|
default: number;
|
|
@@ -242,10 +242,10 @@ 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
248
|
initialIndex: number;
|
|
248
|
-
arrow: "always" | "never" | "hover";
|
|
249
249
|
interval: number;
|
|
250
250
|
autoplay: boolean;
|
|
251
251
|
indicatorPosition: "" | "none" | "outside";
|