vft 0.0.153 → 0.0.154
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 +4 -5
- package/es/app-components/hooks/use-id.d.ts +1 -2
- 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 +17 -17
- package/es/components/autocomplete/index.d.ts +51 -51
- 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/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/config-provider/hooks/use-global-config.d.ts +2 -3
- package/es/components/date-picker/composables/use-range-picker.d.ts +1 -1
- package/es/components/date-picker/date-picker.d.ts +19 -3
- package/es/components/date-picker/index.d.ts +38 -6
- package/es/components/date-picker/props/date-picker.d.ts +9 -1
- 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 +2 -2
- package/es/components/dropdown/index.d.ts +30 -30
- package/es/components/form/hooks/use-form-common-props.d.ts +4 -6
- package/es/components/icon/icon.vue2.js +20 -21
- package/es/components/loading/index.d.ts +9 -17
- package/es/components/loading/loading.d.ts +9 -17
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +97 -67
- package/es/components/popover/index.d.ts +8 -8
- package/es/components/popper/composables/use-content-dom.d.ts +1 -3
- package/es/components/popper/composables/use-content.d.ts +6 -70
- package/es/components/popper/index.d.ts +3 -3
- package/es/components/popper/popper.vue.d.ts +1 -2
- package/es/components/popper/utils.d.ts +2 -45
- package/es/components/radio/index.d.ts +24 -24
- package/es/components/radio/use-radio.d.ts +1 -1
- package/es/components/select/defaults.d.ts +3 -4
- package/es/components/select/index.d.ts +58 -58
- package/es/components/select/select.vue.d.ts +29 -29
- package/es/components/select/useSelect.d.ts +18 -18
- package/es/components/side-menu/index.d.ts +4 -8
- package/es/components/side-menu/side-menu.vue.d.ts +2 -2
- package/es/components/side-menu/side-menu.vue2.js +44 -44
- 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 +2 -5
- package/es/components/space/space.d.ts +2 -5
- 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/table/index.d.ts +24 -24
- package/es/components/table/use/use-columns.d.ts +3 -801
- package/es/components/tabs/tabs.vue2.js +4 -4
- package/es/components/time-picker/common/picker.vue.d.ts +20 -5
- package/es/components/time-picker/common/props.d.ts +9 -2
- package/es/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/es/components/time-picker/index.d.ts +38 -6
- package/es/components/time-picker/time-picker.d.ts +19 -3
- 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/upload/use-handlers.d.ts +1 -21
- package/es/components/virtual-list/hooks/use-cache.d.ts +1 -1
- package/es/hooks/use-id/index.d.ts +1 -2
- package/es/hooks/use-model-toggle/index.d.ts +2 -2
- package/es/hooks/use-popper/index.d.ts +7 -70
- package/es/hooks/use-same-target/index.d.ts +3 -3
- package/es/hooks/use-z-index/index.d.ts +1 -1
- 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 +4 -5
- package/lib/app-components/hooks/use-id.d.ts +1 -2
- 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 +17 -17
- package/lib/components/autocomplete/index.d.ts +51 -51
- 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.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/config-provider/hooks/use-global-config.d.ts +2 -3
- package/lib/components/date-picker/composables/use-range-picker.d.ts +1 -1
- package/lib/components/date-picker/date-picker.d.ts +19 -3
- package/lib/components/date-picker/index.d.ts +38 -6
- package/lib/components/date-picker/props/date-picker.d.ts +9 -1
- 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 +2 -2
- package/lib/components/dropdown/index.d.ts +30 -30
- package/lib/components/form/hooks/use-form-common-props.d.ts +4 -6
- package/lib/components/icon/icon.vue2.cjs +1 -1
- package/lib/components/loading/index.d.ts +9 -17
- package/lib/components/loading/loading.d.ts +9 -17
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/popover/index.d.ts +8 -8
- package/lib/components/popper/composables/use-content-dom.d.ts +1 -3
- package/lib/components/popper/composables/use-content.d.ts +6 -70
- package/lib/components/popper/index.d.ts +3 -3
- package/lib/components/popper/popper.vue.d.ts +1 -2
- package/lib/components/popper/utils.d.ts +2 -45
- package/lib/components/radio/index.d.ts +24 -24
- package/lib/components/radio/use-radio.d.ts +1 -1
- package/lib/components/select/defaults.d.ts +3 -4
- package/lib/components/select/index.d.ts +58 -58
- package/lib/components/select/select.vue.d.ts +29 -29
- package/lib/components/select/useSelect.d.ts +18 -18
- package/lib/components/side-menu/index.d.ts +4 -8
- 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 +2 -5
- package/lib/components/space/space.d.ts +2 -5
- 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/table/index.d.ts +24 -24
- package/lib/components/table/use/use-columns.d.ts +3 -801
- package/lib/components/tabs/tabs.vue2.cjs +1 -1
- package/lib/components/time-picker/common/picker.vue.d.ts +20 -5
- package/lib/components/time-picker/common/props.d.ts +9 -2
- package/lib/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/lib/components/time-picker/index.d.ts +38 -6
- package/lib/components/time-picker/time-picker.d.ts +19 -3
- 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/upload/use-handlers.d.ts +1 -21
- package/lib/components/virtual-list/hooks/use-cache.d.ts +1 -1
- package/lib/hooks/use-id/index.d.ts +1 -2
- package/lib/hooks/use-model-toggle/index.d.ts +2 -2
- package/lib/hooks/use-popper/index.d.ts +7 -70
- package/lib/hooks/use-same-target/index.d.ts +3 -3
- package/lib/hooks/use-z-index/index.d.ts +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
- package/es/components/super-form/types.d.ts +0 -176
- package/lib/components/super-form/types.d.ts +0 -176
|
@@ -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): any;
|
|
5
5
|
export declare function useButtonCustomStyle(props: ButtonProps): globalThis.ComputedRef<Record<string, string>>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ComponentSize } from '../types';
|
|
2
|
-
import type { MaybeRef } from '@vueuse/core';
|
|
3
2
|
import { type ComputedRef } from 'vue';
|
|
4
|
-
export declare const useFormSize: (fallback?:
|
|
5
|
-
export declare const useFormDisabled: (fallback?:
|
|
6
|
-
export declare const useSize: (fallback?:
|
|
7
|
-
export declare const useDisabled: (fallback?:
|
|
3
|
+
export declare const useFormSize: (fallback?: any, ignore?: Partial<Record<'prop' | 'form' | 'formItem' | 'global', boolean>>) => ComputedRef<ComponentSize>;
|
|
4
|
+
export declare const useFormDisabled: (fallback?: any) => ComputedRef<boolean>;
|
|
5
|
+
export declare const useSize: (fallback?: any, ignore?: Partial<Record<'prop' | 'form' | 'formItem' | 'global', boolean>>) => ComputedRef<ComponentSize>;
|
|
6
|
+
export declare const useDisabled: (fallback?: any) => ComputedRef<boolean>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { MaybeRef } from '@vueuse/core';
|
|
2
1
|
import type { InjectionKey, Ref } from 'vue';
|
|
3
2
|
export type IdInjectionContext = {
|
|
4
3
|
prefix: number;
|
|
@@ -6,4 +5,4 @@ export type IdInjectionContext = {
|
|
|
6
5
|
};
|
|
7
6
|
export declare const ID_INJECTION_KEY: InjectionKey<IdInjectionContext>;
|
|
8
7
|
export declare const useIdInjection: () => IdInjectionContext;
|
|
9
|
-
export declare const useId: (deterministicId?:
|
|
8
|
+
export declare const useId: (deterministicId?: any) => Ref<string>;
|
|
@@ -11,8 +11,8 @@ export declare const affixEmits: {
|
|
|
11
11
|
scroll: ({ scrollTop, fixed }: {
|
|
12
12
|
scrollTop: number;
|
|
13
13
|
fixed: boolean;
|
|
14
|
-
}) =>
|
|
15
|
-
change: (fixed: boolean) =>
|
|
14
|
+
}) => any;
|
|
15
|
+
change: (fixed: boolean) => any;
|
|
16
16
|
};
|
|
17
17
|
export type AffixEmits = typeof affixEmits;
|
|
18
18
|
export type AffixInstance = InstanceType<typeof Affix>;
|
|
@@ -7,7 +7,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
7
7
|
/** @description update affix status */
|
|
8
8
|
update: () => void;
|
|
9
9
|
/** @description update rootRect info */
|
|
10
|
-
updateRoot:
|
|
10
|
+
updateRoot: any;
|
|
11
11
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
12
|
change: (fixed: boolean) => void;
|
|
13
13
|
scroll: (args_0: {
|
|
@@ -12,7 +12,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
12
12
|
}) => any) | undefined;
|
|
13
13
|
}, {
|
|
14
14
|
update: () => void;
|
|
15
|
-
updateRoot:
|
|
15
|
+
updateRoot: any;
|
|
16
16
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
17
|
change: (fixed: boolean) => void;
|
|
18
18
|
scroll: (args_0: {
|
|
@@ -55,7 +55,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
55
55
|
}) => any) | undefined;
|
|
56
56
|
}, {
|
|
57
57
|
update: () => void;
|
|
58
|
-
updateRoot:
|
|
58
|
+
updateRoot: any;
|
|
59
59
|
}, {}, {}, {}, {
|
|
60
60
|
readonly target: string;
|
|
61
61
|
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "bottom" | "top", unknown>;
|
|
@@ -78,7 +78,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
78
78
|
}) => any) | undefined;
|
|
79
79
|
}, {
|
|
80
80
|
update: () => void;
|
|
81
|
-
updateRoot:
|
|
81
|
+
updateRoot: any;
|
|
82
82
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
83
83
|
change: (fixed: boolean) => void;
|
|
84
84
|
scroll: (args_0: {
|
|
@@ -47,9 +47,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
47
47
|
readonly showAfter?: number | undefined;
|
|
48
48
|
readonly hideAfter?: number | undefined;
|
|
49
49
|
readonly open?: boolean | undefined;
|
|
50
|
-
readonly placement?:
|
|
51
|
-
readonly strategy?: "
|
|
52
|
-
readonly effect?: "light" | "dark" | undefined;
|
|
50
|
+
readonly placement?: any;
|
|
51
|
+
readonly strategy?: "absolute" | "fixed" | undefined;
|
|
53
52
|
readonly id?: string | undefined;
|
|
54
53
|
readonly className?: import("../types").ClassType | undefined;
|
|
55
54
|
readonly ariaLabel?: string | undefined;
|
|
@@ -58,10 +57,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
58
57
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
59
58
|
readonly appendTo?: any;
|
|
60
59
|
readonly visible?: boolean | undefined;
|
|
60
|
+
readonly effect?: "light" | "dark" | undefined;
|
|
61
61
|
readonly arrowOffset?: number | undefined;
|
|
62
62
|
readonly gpuAcceleration?: boolean | undefined;
|
|
63
|
-
readonly fallbackPlacements?:
|
|
64
|
-
readonly popperOptions?:
|
|
63
|
+
readonly fallbackPlacements?: Placement[] | undefined;
|
|
64
|
+
readonly popperOptions?: any;
|
|
65
65
|
readonly pure?: boolean | undefined;
|
|
66
66
|
readonly boundariesPadding?: number | undefined;
|
|
67
67
|
readonly enterable?: boolean | undefined;
|
|
@@ -132,7 +132,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
132
132
|
type: globalThis.PropType<number>;
|
|
133
133
|
};
|
|
134
134
|
fallbackPlacements: {
|
|
135
|
-
type: globalThis.PropType<
|
|
135
|
+
type: globalThis.PropType<Placement[]>;
|
|
136
136
|
};
|
|
137
137
|
gpuAcceleration: {
|
|
138
138
|
type: globalThis.PropType<boolean>;
|
|
@@ -141,13 +141,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
141
141
|
type: globalThis.PropType<number>;
|
|
142
142
|
};
|
|
143
143
|
placement: {
|
|
144
|
-
type: globalThis.PropType<
|
|
144
|
+
type: globalThis.PropType<any>;
|
|
145
145
|
};
|
|
146
146
|
popperOptions: {
|
|
147
|
-
type: globalThis.PropType<
|
|
147
|
+
type: globalThis.PropType<any>;
|
|
148
148
|
};
|
|
149
149
|
strategy: {
|
|
150
|
-
type: globalThis.PropType<"
|
|
150
|
+
type: globalThis.PropType<"absolute" | "fixed">;
|
|
151
151
|
};
|
|
152
152
|
style: {
|
|
153
153
|
type: globalThis.PropType<string | false | import("vue").CSSProperties | StyleValue[] | null>;
|
|
@@ -295,7 +295,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
295
295
|
type: globalThis.PropType<number>;
|
|
296
296
|
};
|
|
297
297
|
fallbackPlacements: {
|
|
298
|
-
type: globalThis.PropType<
|
|
298
|
+
type: globalThis.PropType<Placement[]>;
|
|
299
299
|
};
|
|
300
300
|
gpuAcceleration: {
|
|
301
301
|
type: globalThis.PropType<boolean>;
|
|
@@ -304,13 +304,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
304
304
|
type: globalThis.PropType<number>;
|
|
305
305
|
};
|
|
306
306
|
placement: {
|
|
307
|
-
type: globalThis.PropType<
|
|
307
|
+
type: globalThis.PropType<any>;
|
|
308
308
|
};
|
|
309
309
|
popperOptions: {
|
|
310
|
-
type: globalThis.PropType<
|
|
310
|
+
type: globalThis.PropType<any>;
|
|
311
311
|
};
|
|
312
312
|
strategy: {
|
|
313
|
-
type: globalThis.PropType<"
|
|
313
|
+
type: globalThis.PropType<"absolute" | "fixed">;
|
|
314
314
|
};
|
|
315
315
|
style: {
|
|
316
316
|
type: globalThis.PropType<string | false | import("vue").CSSProperties | StyleValue[] | null>;
|
|
@@ -480,7 +480,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
480
480
|
type: globalThis.PropType<number>;
|
|
481
481
|
};
|
|
482
482
|
fallbackPlacements: {
|
|
483
|
-
type: globalThis.PropType<
|
|
483
|
+
type: globalThis.PropType<Placement[]>;
|
|
484
484
|
};
|
|
485
485
|
gpuAcceleration: {
|
|
486
486
|
type: globalThis.PropType<boolean>;
|
|
@@ -489,13 +489,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
489
489
|
type: globalThis.PropType<number>;
|
|
490
490
|
};
|
|
491
491
|
placement: {
|
|
492
|
-
type: globalThis.PropType<
|
|
492
|
+
type: globalThis.PropType<any>;
|
|
493
493
|
};
|
|
494
494
|
popperOptions: {
|
|
495
|
-
type: globalThis.PropType<
|
|
495
|
+
type: globalThis.PropType<any>;
|
|
496
496
|
};
|
|
497
497
|
strategy: {
|
|
498
|
-
type: globalThis.PropType<"
|
|
498
|
+
type: globalThis.PropType<"absolute" | "fixed">;
|
|
499
499
|
};
|
|
500
500
|
style: {
|
|
501
501
|
type: globalThis.PropType<string | false | import("vue").CSSProperties | StyleValue[] | null>;
|
|
@@ -80,9 +80,8 @@ 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?: "
|
|
85
|
-
readonly effect?: "light" | "dark" | undefined;
|
|
83
|
+
readonly placement?: any;
|
|
84
|
+
readonly strategy?: "absolute" | "fixed" | undefined;
|
|
86
85
|
readonly id?: string | undefined;
|
|
87
86
|
readonly className?: import("../types").ClassType | undefined;
|
|
88
87
|
readonly ariaLabel?: string | undefined;
|
|
@@ -91,10 +90,11 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
91
90
|
readonly trigger?: import("..").TooltipTriggerType | undefined;
|
|
92
91
|
readonly appendTo?: any;
|
|
93
92
|
readonly visible?: boolean | undefined;
|
|
93
|
+
readonly effect?: "light" | "dark" | undefined;
|
|
94
94
|
readonly arrowOffset?: number | undefined;
|
|
95
95
|
readonly gpuAcceleration?: boolean | undefined;
|
|
96
|
-
readonly fallbackPlacements?:
|
|
97
|
-
readonly popperOptions?:
|
|
96
|
+
readonly fallbackPlacements?: Placement[] | undefined;
|
|
97
|
+
readonly popperOptions?: any;
|
|
98
98
|
readonly pure?: boolean | undefined;
|
|
99
99
|
readonly boundariesPadding?: number | undefined;
|
|
100
100
|
readonly enterable?: boolean | 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<
|
|
168
|
+
type: globalThis.PropType<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<any>;
|
|
178
178
|
};
|
|
179
179
|
popperOptions: {
|
|
180
|
-
type: globalThis.PropType<
|
|
180
|
+
type: globalThis.PropType<any>;
|
|
181
181
|
};
|
|
182
182
|
strategy: {
|
|
183
|
-
type: globalThis.PropType<"
|
|
183
|
+
type: globalThis.PropType<"absolute" | "fixed">;
|
|
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<
|
|
331
|
+
type: globalThis.PropType<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<any>;
|
|
341
341
|
};
|
|
342
342
|
popperOptions: {
|
|
343
|
-
type: globalThis.PropType<
|
|
343
|
+
type: globalThis.PropType<any>;
|
|
344
344
|
};
|
|
345
345
|
strategy: {
|
|
346
|
-
type: globalThis.PropType<"
|
|
346
|
+
type: globalThis.PropType<"absolute" | "fixed">;
|
|
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<
|
|
515
|
+
type: globalThis.PropType<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<any>;
|
|
525
525
|
};
|
|
526
526
|
popperOptions: {
|
|
527
|
-
type: globalThis.PropType<
|
|
527
|
+
type: globalThis.PropType<any>;
|
|
528
528
|
};
|
|
529
529
|
strategy: {
|
|
530
|
-
type: globalThis.PropType<"
|
|
530
|
+
type: globalThis.PropType<"absolute" | "fixed">;
|
|
531
531
|
};
|
|
532
532
|
style: {
|
|
533
533
|
type: globalThis.PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
@@ -788,9 +788,8 @@ 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?: "
|
|
793
|
-
readonly effect?: "light" | "dark" | undefined;
|
|
791
|
+
readonly placement?: any;
|
|
792
|
+
readonly strategy?: "absolute" | "fixed" | undefined;
|
|
794
793
|
readonly id?: string | undefined;
|
|
795
794
|
readonly className?: import("../types").ClassType | undefined;
|
|
796
795
|
readonly ariaLabel?: string | undefined;
|
|
@@ -799,10 +798,11 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
799
798
|
readonly trigger?: import("..").TooltipTriggerType | undefined;
|
|
800
799
|
readonly appendTo?: any;
|
|
801
800
|
readonly visible?: boolean | undefined;
|
|
801
|
+
readonly effect?: "light" | "dark" | undefined;
|
|
802
802
|
readonly arrowOffset?: number | undefined;
|
|
803
803
|
readonly gpuAcceleration?: boolean | undefined;
|
|
804
|
-
readonly fallbackPlacements?:
|
|
805
|
-
readonly popperOptions?:
|
|
804
|
+
readonly fallbackPlacements?: Placement[] | undefined;
|
|
805
|
+
readonly popperOptions?: any;
|
|
806
806
|
readonly pure?: boolean | undefined;
|
|
807
807
|
readonly boundariesPadding?: number | undefined;
|
|
808
808
|
readonly enterable?: boolean | 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<
|
|
876
|
+
type: globalThis.PropType<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<any>;
|
|
886
886
|
};
|
|
887
887
|
popperOptions: {
|
|
888
|
-
type: globalThis.PropType<
|
|
888
|
+
type: globalThis.PropType<any>;
|
|
889
889
|
};
|
|
890
890
|
strategy: {
|
|
891
|
-
type: globalThis.PropType<"
|
|
891
|
+
type: globalThis.PropType<"absolute" | "fixed">;
|
|
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<
|
|
1039
|
+
type: globalThis.PropType<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<any>;
|
|
1049
1049
|
};
|
|
1050
1050
|
popperOptions: {
|
|
1051
|
-
type: globalThis.PropType<
|
|
1051
|
+
type: globalThis.PropType<any>;
|
|
1052
1052
|
};
|
|
1053
1053
|
strategy: {
|
|
1054
|
-
type: globalThis.PropType<"
|
|
1054
|
+
type: globalThis.PropType<"absolute" | "fixed">;
|
|
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<
|
|
1223
|
+
type: globalThis.PropType<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<any>;
|
|
1233
1233
|
};
|
|
1234
1234
|
popperOptions: {
|
|
1235
|
-
type: globalThis.PropType<
|
|
1235
|
+
type: globalThis.PropType<any>;
|
|
1236
1236
|
};
|
|
1237
1237
|
strategy: {
|
|
1238
|
-
type: globalThis.PropType<"
|
|
1238
|
+
type: globalThis.PropType<"absolute" | "fixed">;
|
|
1239
1239
|
};
|
|
1240
1240
|
style: {
|
|
1241
1241
|
type: globalThis.PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
@@ -1428,9 +1428,8 @@ 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?: "
|
|
1433
|
-
readonly effect?: "light" | "dark" | undefined;
|
|
1431
|
+
readonly placement?: any;
|
|
1432
|
+
readonly strategy?: "absolute" | "fixed" | undefined;
|
|
1434
1433
|
readonly id?: string | undefined;
|
|
1435
1434
|
readonly className?: import("../types").ClassType | undefined;
|
|
1436
1435
|
readonly ariaLabel?: string | undefined;
|
|
@@ -1439,10 +1438,11 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
|
|
|
1439
1438
|
readonly trigger?: import("..").TooltipTriggerType | undefined;
|
|
1440
1439
|
readonly appendTo?: any;
|
|
1441
1440
|
readonly visible?: boolean | undefined;
|
|
1441
|
+
readonly effect?: "light" | "dark" | undefined;
|
|
1442
1442
|
readonly arrowOffset?: number | undefined;
|
|
1443
1443
|
readonly gpuAcceleration?: boolean | undefined;
|
|
1444
|
-
readonly fallbackPlacements?:
|
|
1445
|
-
readonly popperOptions?:
|
|
1444
|
+
readonly fallbackPlacements?: Placement[] | undefined;
|
|
1445
|
+
readonly popperOptions?: any;
|
|
1446
1446
|
readonly pure?: boolean | undefined;
|
|
1447
1447
|
readonly boundariesPadding?: number | undefined;
|
|
1448
1448
|
readonly enterable?: boolean | 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<
|
|
1516
|
+
type: globalThis.PropType<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<any>;
|
|
1526
1526
|
};
|
|
1527
1527
|
popperOptions: {
|
|
1528
|
-
type: globalThis.PropType<
|
|
1528
|
+
type: globalThis.PropType<any>;
|
|
1529
1529
|
};
|
|
1530
1530
|
strategy: {
|
|
1531
|
-
type: globalThis.PropType<"
|
|
1531
|
+
type: globalThis.PropType<"absolute" | "fixed">;
|
|
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<
|
|
1679
|
+
type: globalThis.PropType<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<any>;
|
|
1689
1689
|
};
|
|
1690
1690
|
popperOptions: {
|
|
1691
|
-
type: globalThis.PropType<
|
|
1691
|
+
type: globalThis.PropType<any>;
|
|
1692
1692
|
};
|
|
1693
1693
|
strategy: {
|
|
1694
|
-
type: globalThis.PropType<"
|
|
1694
|
+
type: globalThis.PropType<"absolute" | "fixed">;
|
|
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<
|
|
1863
|
+
type: globalThis.PropType<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<any>;
|
|
1873
1873
|
};
|
|
1874
1874
|
popperOptions: {
|
|
1875
|
-
type: globalThis.PropType<
|
|
1875
|
+
type: globalThis.PropType<any>;
|
|
1876
1876
|
};
|
|
1877
1877
|
strategy: {
|
|
1878
|
-
type: globalThis.PropType<"
|
|
1878
|
+
type: globalThis.PropType<"absolute" | "fixed">;
|
|
1879
1879
|
};
|
|
1880
1880
|
style: {
|
|
1881
1881
|
type: globalThis.PropType<string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null>;
|
|
@@ -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): any;
|
|
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<any>;
|
|
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<any>;
|
|
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<any>;
|
|
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<any>;
|
|
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: any;
|
|
5
|
+
disabled: any;
|
|
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<any>;
|
|
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>;
|
|
@@ -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";
|
|
54
53
|
loop: boolean;
|
|
55
54
|
trigger: "click" | "hover";
|
|
55
|
+
arrow: "always" | "never" | "hover";
|
|
56
56
|
initialIndex: number;
|
|
57
57
|
interval: number;
|
|
58
58
|
autoplay: boolean;
|