vft 0.0.145 → 0.0.146
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/form/hooks/use-form-item.d.ts +2 -2
- package/es/app-components/upload/types.d.ts +1 -1
- package/es/app-components/upload/utils.d.ts +1 -1
- package/es/component.d.ts +1 -0
- package/es/components/affix/affix.d.ts +1 -1
- package/es/components/affix/affix.vue.d.ts +3 -3
- package/es/components/affix/index.d.ts +6 -6
- package/es/components/autocomplete/autocomplete.vue.d.ts +7 -7
- package/es/components/autocomplete/index.d.ts +21 -21
- package/es/components/avatar/index.d.ts +3 -3
- package/es/components/backtop/index.d.ts +2 -2
- package/es/components/button/button.vue.d.ts +209 -0
- package/es/components/button/index.d.ts +593 -0
- package/es/components/button/use-button.d.ts +20 -0
- package/es/components/button/use-button.js +3 -3
- package/es/components/carousel/carousel.vue.d.ts +9 -9
- package/es/components/carousel/index.d.ts +15 -15
- package/es/components/checkbox/checkbox.vue.d.ts +6 -6
- package/es/components/checkbox/composables/use-checkbox-disabled.d.ts +6 -0
- package/es/components/checkbox/composables/use-checkbox.d.ts +15 -0
- package/es/components/checkbox/index.d.ts +12 -12
- package/es/components/clamp/index.d.ts +2 -2
- package/es/components/color-picker/color-picker.vue.d.ts +4 -4
- package/es/components/color-picker/index.d.ts +4 -4
- package/es/components/config-provider/hooks/use-global-config.d.ts +31 -0
- package/es/components/container/container.vue.d.ts +2 -2
- package/es/components/container/index.d.ts +10 -10
- package/es/components/date-picker/composables/use-range-picker.d.ts +1 -1
- package/es/components/date-picker/date-picker.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +2 -2
- package/es/components/date-picker/panel-utils.d.ts +1 -1
- package/es/components/descriptions/description.vue.d.ts +2 -2
- package/es/components/descriptions/index.d.ts +9 -9
- package/es/components/dialog/index.d.ts +3 -3
- package/es/components/divider/divider.vue.d.ts +2 -2
- package/es/components/divider/index.d.ts +4 -4
- package/es/components/drawer/index.d.ts +3 -3
- package/es/components/dropdown/dropdown.vue.d.ts +20 -20
- package/es/components/dropdown/index.d.ts +34 -34
- package/es/components/form/form-item.vue.d.ts +9 -9
- package/es/components/form/form.vue.d.ts +2 -2
- package/es/components/form/hooks/use-form-common-props.d.ts +6 -0
- package/es/components/form/index.d.ts +35 -35
- package/es/components/image/index.d.ts +2 -2
- package/es/components/image-viewer/index.d.ts +1 -1
- package/es/components/index.js +113 -113
- package/es/components/input/index.d.ts +9 -9
- package/es/components/input/input.vue.d.ts +3 -3
- package/es/components/link/index.d.ts +2 -2
- package/es/components/loading/index.d.ts +48 -0
- package/es/components/loading/loading.d.ts +36 -0
- package/es/components/md-code-demo/index.d.ts +3 -3
- package/es/components/md-code-demo/md-code-demo.d.ts +3 -3
- package/es/components/menu/index.d.ts +8 -2
- package/es/components/menu/menu.vue.d.ts +10 -2
- package/es/components/menu/menu.vue2.js +28 -26
- package/es/components/modal/index.d.ts +34 -34
- package/es/components/modal/modal.vue.d.ts +21 -21
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +1 -1
- package/es/components/popconfirm/index.d.ts +9 -9
- package/es/components/popconfirm/popconfirm.vue.d.ts +6 -6
- package/es/components/popover/index.d.ts +2 -2
- package/es/components/popper/composables/use-content.d.ts +3 -3
- package/es/components/popper/content.vue.d.ts +1 -1
- package/es/components/popper/index.d.ts +4 -4
- package/es/components/popper/popper.vue.d.ts +2 -2
- package/es/components/progress/index.d.ts +1 -1
- package/es/components/radio/index.d.ts +20 -20
- package/es/components/radio/radio-group.vue.d.ts +6 -6
- package/es/components/radio/use-radio.d.ts +15 -0
- package/es/components/row/index.d.ts +1 -1
- package/es/components/scrollbar/index.d.ts +2 -2
- package/es/components/search/index.d.ts +1 -1
- package/es/components/select/index.d.ts +1660 -2
- package/es/components/select/select.vue.d.ts +830 -1
- package/es/components/select/useSelect.d.ts +7 -7
- package/es/components/space/index.d.ts +3 -3
- package/es/components/space/space.d.ts +4 -4
- package/es/components/super-form/index.d.ts +16 -16
- package/es/components/super-form/super-form.vue.d.ts +9 -9
- package/es/components/super-form/super-form.vue2.js +40 -40
- package/es/components/switch/index.d.ts +12 -12
- package/es/components/switch/switch.vue.d.ts +12 -12
- package/es/components/table/index.d.ts +50 -50
- package/es/components/table/table.vue.d.ts +30 -30
- package/es/components/table/table.vue2.js +5 -1
- package/es/components/table/use/use-columns.d.ts +12 -12
- package/es/components/tabs/index.d.ts +2 -2
- package/es/components/tabs/tabs.vue.d.ts +2 -2
- package/es/components/time-picker/common/picker.vue.d.ts +1 -1
- package/es/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/es/components/time-picker/index.d.ts +2 -2
- package/es/components/time-picker/time-picker.d.ts +1 -1
- package/es/components/tooltip/index.d.ts +8 -8
- package/es/components/tooltip/tooltip.vue.d.ts +2 -2
- package/es/components/tree/index.d.ts +22 -22
- package/es/components/tree/tree.vue.d.ts +6 -6
- package/es/components/upload/index.d.ts +9 -9
- package/es/components/upload/upload-content.vue.d.ts +6 -6
- package/es/components/upload/upload.vue.d.ts +6 -6
- package/es/components/upload/use-handlers.d.ts +23 -0
- package/es/components/virtual-list/builders/build-list.d.ts +3 -3
- package/es/components/virtual-list/components/dynamic-size-list.d.ts +3 -3
- package/es/components/virtual-list/components/fixed-size-list.d.ts +3 -3
- package/es/components/virtual-list/components/scrollbar.d.ts +3 -3
- package/es/components/virtual-list/props.d.ts +2 -2
- package/es/defaults.d.ts +1 -1
- package/es/hooks/use-popper/index.d.ts +3 -3
- package/es/index.d.ts +1 -1
- package/es/index.js +113 -113
- package/es/make-installer.d.ts +1 -1
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/es/plugin.d.ts +1 -0
- package/lib/app-components/form/hooks/use-form-item.d.ts +2 -2
- package/lib/app-components/upload/types.d.ts +1 -1
- package/lib/app-components/upload/utils.d.ts +1 -1
- package/lib/component.d.ts +1 -0
- package/lib/components/affix/affix.d.ts +1 -1
- package/lib/components/affix/affix.vue.d.ts +3 -3
- package/lib/components/affix/index.d.ts +6 -6
- package/lib/components/autocomplete/autocomplete.vue.d.ts +7 -7
- package/lib/components/autocomplete/index.d.ts +21 -21
- package/lib/components/avatar/index.d.ts +3 -3
- package/lib/components/backtop/index.d.ts +2 -2
- package/lib/components/button/button.vue.d.ts +209 -0
- package/lib/components/button/index.d.ts +593 -0
- package/lib/components/button/use-button.cjs +1 -1
- package/lib/components/button/use-button.d.ts +20 -0
- package/lib/components/carousel/carousel.vue.d.ts +9 -9
- package/lib/components/carousel/index.d.ts +15 -15
- package/lib/components/checkbox/checkbox.vue.d.ts +6 -6
- package/lib/components/checkbox/composables/use-checkbox-disabled.d.ts +6 -0
- package/lib/components/checkbox/composables/use-checkbox.d.ts +15 -0
- package/lib/components/checkbox/index.d.ts +12 -12
- package/lib/components/clamp/index.d.ts +2 -2
- package/lib/components/color-picker/color-picker.vue.d.ts +4 -4
- package/lib/components/color-picker/index.d.ts +4 -4
- package/lib/components/config-provider/hooks/use-global-config.d.ts +31 -0
- package/lib/components/container/container.vue.d.ts +2 -2
- package/lib/components/container/index.d.ts +10 -10
- package/lib/components/date-picker/composables/use-range-picker.d.ts +1 -1
- package/lib/components/date-picker/date-picker.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +2 -2
- package/lib/components/date-picker/panel-utils.d.ts +1 -1
- package/lib/components/descriptions/description.vue.d.ts +2 -2
- package/lib/components/descriptions/index.d.ts +9 -9
- package/lib/components/dialog/index.d.ts +3 -3
- package/lib/components/divider/divider.vue.d.ts +2 -2
- package/lib/components/divider/index.d.ts +4 -4
- package/lib/components/drawer/index.d.ts +3 -3
- package/lib/components/dropdown/dropdown.vue.d.ts +20 -20
- package/lib/components/dropdown/index.d.ts +34 -34
- package/lib/components/form/form-item.vue.d.ts +9 -9
- package/lib/components/form/form.vue.d.ts +2 -2
- package/lib/components/form/hooks/use-form-common-props.d.ts +6 -0
- package/lib/components/form/index.d.ts +35 -35
- package/lib/components/image/index.d.ts +2 -2
- package/lib/components/image-viewer/index.d.ts +1 -1
- package/lib/components/index.cjs +1 -1
- package/lib/components/input/index.d.ts +9 -9
- package/lib/components/input/input.vue.d.ts +3 -3
- package/lib/components/link/index.d.ts +2 -2
- package/lib/components/loading/index.d.ts +48 -0
- package/lib/components/loading/loading.d.ts +36 -0
- package/lib/components/md-code-demo/index.d.ts +3 -3
- package/lib/components/md-code-demo/md-code-demo.d.ts +3 -3
- package/lib/components/menu/index.d.ts +8 -2
- package/lib/components/menu/menu.vue.d.ts +10 -2
- package/lib/components/menu/menu.vue2.cjs +1 -1
- package/lib/components/modal/index.d.ts +34 -34
- package/lib/components/modal/modal.vue.d.ts +21 -21
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/popconfirm/index.d.ts +9 -9
- package/lib/components/popconfirm/popconfirm.vue.d.ts +6 -6
- package/lib/components/popover/index.d.ts +2 -2
- package/lib/components/popper/composables/use-content.d.ts +3 -3
- package/lib/components/popper/content.vue.d.ts +1 -1
- package/lib/components/popper/index.d.ts +4 -4
- package/lib/components/popper/popper.vue.d.ts +2 -2
- package/lib/components/progress/index.d.ts +1 -1
- package/lib/components/radio/index.d.ts +20 -20
- package/lib/components/radio/radio-group.vue.d.ts +6 -6
- package/lib/components/radio/use-radio.d.ts +15 -0
- package/lib/components/row/index.d.ts +1 -1
- package/lib/components/scrollbar/index.d.ts +2 -2
- package/lib/components/search/index.d.ts +1 -1
- package/lib/components/select/index.d.ts +1660 -2
- package/lib/components/select/select.vue.d.ts +830 -1
- package/lib/components/select/useSelect.d.ts +7 -7
- package/lib/components/space/index.d.ts +3 -3
- package/lib/components/space/space.d.ts +4 -4
- package/lib/components/super-form/index.d.ts +16 -16
- package/lib/components/super-form/super-form.vue.d.ts +9 -9
- package/lib/components/super-form/super-form.vue2.cjs +1 -1
- package/lib/components/switch/index.d.ts +12 -12
- package/lib/components/switch/switch.vue.d.ts +12 -12
- package/lib/components/table/index.d.ts +50 -50
- package/lib/components/table/table.vue.d.ts +30 -30
- package/lib/components/table/table.vue2.cjs +1 -1
- package/lib/components/table/use/use-columns.d.ts +12 -12
- package/lib/components/tabs/index.d.ts +2 -2
- package/lib/components/tabs/tabs.vue.d.ts +2 -2
- package/lib/components/time-picker/common/picker.vue.d.ts +1 -1
- package/lib/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/lib/components/time-picker/index.d.ts +2 -2
- package/lib/components/time-picker/time-picker.d.ts +1 -1
- package/lib/components/tooltip/index.d.ts +8 -8
- package/lib/components/tooltip/tooltip.vue.d.ts +2 -2
- package/lib/components/tree/index.d.ts +22 -22
- package/lib/components/tree/tree.vue.d.ts +6 -6
- package/lib/components/upload/index.d.ts +9 -9
- package/lib/components/upload/upload-content.vue.d.ts +6 -6
- package/lib/components/upload/upload.vue.d.ts +6 -6
- package/lib/components/upload/use-handlers.d.ts +23 -0
- package/lib/components/virtual-list/builders/build-list.d.ts +3 -3
- package/lib/components/virtual-list/components/dynamic-size-list.d.ts +3 -3
- package/lib/components/virtual-list/components/fixed-size-list.d.ts +3 -3
- package/lib/components/virtual-list/components/scrollbar.d.ts +3 -3
- package/lib/components/virtual-list/props.d.ts +2 -2
- package/lib/defaults.d.ts +1 -1
- package/lib/hooks/use-popper/index.d.ts +3 -3
- package/lib/index.cjs +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/make-installer.d.ts +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/lib/plugin.d.ts +1 -0
- package/lib/style.css +1 -0
- package/package.json +4 -4
- package/web-types.json +1 -1
|
@@ -10,10 +10,6 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
10
10
|
readonly offset?: number | undefined;
|
|
11
11
|
readonly transition?: string | undefined;
|
|
12
12
|
key?: string | number | symbol | undefined;
|
|
13
|
-
readonly className?: import("../types").ClassType | undefined;
|
|
14
|
-
readonly id?: string | undefined;
|
|
15
|
-
readonly ariaLabel?: string | undefined;
|
|
16
|
-
readonly role?: "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "group" | "navigation" | "tree" | undefined;
|
|
17
13
|
ref?: import("vue").VNodeRef | undefined;
|
|
18
14
|
class?: unknown;
|
|
19
15
|
readonly showAfter?: number | undefined;
|
|
@@ -24,6 +20,7 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
24
20
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
25
21
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
26
22
|
readonly effect?: "light" | "dark" | undefined;
|
|
23
|
+
readonly id?: string | undefined;
|
|
27
24
|
readonly onFocus?: Function | undefined;
|
|
28
25
|
readonly onBlur?: Function | undefined;
|
|
29
26
|
readonly onKeydown?: Function | undefined;
|
|
@@ -31,7 +28,9 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
31
28
|
readonly onContextmenu?: Function | undefined;
|
|
32
29
|
readonly onMouseenter?: Function | undefined;
|
|
33
30
|
readonly onMouseleave?: Function | undefined;
|
|
34
|
-
readonly
|
|
31
|
+
readonly className?: import("../types").ClassType | undefined;
|
|
32
|
+
readonly ariaLabel?: string | undefined;
|
|
33
|
+
readonly role?: "dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree" | undefined;
|
|
35
34
|
readonly disabled?: boolean | undefined;
|
|
36
35
|
readonly trigger?: import("./types").TooltipTriggerType | undefined;
|
|
37
36
|
ref_for?: boolean | undefined;
|
|
@@ -76,6 +75,7 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
76
75
|
}>) => void)[] | undefined;
|
|
77
76
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
78
77
|
readonly appendTo?: any;
|
|
78
|
+
readonly visible?: boolean | undefined;
|
|
79
79
|
readonly arrowOffset?: number | undefined;
|
|
80
80
|
readonly gpuAcceleration?: boolean | undefined;
|
|
81
81
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -116,7 +116,7 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
116
116
|
$el: any;
|
|
117
117
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
118
118
|
role: {
|
|
119
|
-
type: import("vue").PropType<"dialog" | "menu" | "grid" | "
|
|
119
|
+
type: import("vue").PropType<"dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree">;
|
|
120
120
|
};
|
|
121
121
|
showArrow: {
|
|
122
122
|
type: import("vue").PropType<boolean>;
|
|
@@ -300,7 +300,7 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
300
300
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
301
301
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
302
302
|
role: {
|
|
303
|
-
type: import("vue").PropType<"dialog" | "menu" | "grid" | "
|
|
303
|
+
type: import("vue").PropType<"dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree">;
|
|
304
304
|
};
|
|
305
305
|
showArrow: {
|
|
306
306
|
type: import("vue").PropType<boolean>;
|
|
@@ -461,7 +461,7 @@ export declare const VftTooltip: import("vft/es/utils").SFCWithInstall<{
|
|
|
461
461
|
__isSuspense?: undefined;
|
|
462
462
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
463
463
|
role: {
|
|
464
|
-
type: import("vue").PropType<"dialog" | "menu" | "grid" | "
|
|
464
|
+
type: import("vue").PropType<"dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree">;
|
|
465
465
|
};
|
|
466
466
|
showArrow: {
|
|
467
467
|
type: import("vue").PropType<boolean>;
|
|
@@ -54,7 +54,7 @@ export interface ToolTipProps {
|
|
|
54
54
|
}
|
|
55
55
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
56
56
|
role: {
|
|
57
|
-
type: import("vue").PropType<"dialog" | "menu" | "grid" | "
|
|
57
|
+
type: import("vue").PropType<"dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree">;
|
|
58
58
|
};
|
|
59
59
|
showArrow: {
|
|
60
60
|
type: import("vue").PropType<boolean>;
|
|
@@ -232,7 +232,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
232
232
|
"before-hide": (...args: any[]) => void;
|
|
233
233
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
234
234
|
role: {
|
|
235
|
-
type: import("vue").PropType<"dialog" | "menu" | "grid" | "
|
|
235
|
+
type: import("vue").PropType<"dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree">;
|
|
236
236
|
};
|
|
237
237
|
showArrow: {
|
|
238
238
|
type: import("vue").PropType<boolean>;
|
|
@@ -12,7 +12,6 @@ declare const _Tree: SFCWithInstall<{
|
|
|
12
12
|
indent?: number | undefined;
|
|
13
13
|
style?: unknown;
|
|
14
14
|
key?: string | number | symbol | undefined;
|
|
15
|
-
readonly draggable?: boolean | undefined;
|
|
16
15
|
ref?: import("vue").VNodeRef | undefined;
|
|
17
16
|
class?: unknown;
|
|
18
17
|
readonly load?: import("./tree.type").LoadFunction | undefined;
|
|
@@ -57,9 +56,10 @@ declare const _Tree: SFCWithInstall<{
|
|
|
57
56
|
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
58
57
|
[key: string]: any;
|
|
59
58
|
}>) => void)[] | undefined;
|
|
59
|
+
readonly draggable?: boolean | undefined;
|
|
60
60
|
readonly lazy?: boolean | undefined;
|
|
61
|
-
"onCurrent-change"?: (() => any) | undefined;
|
|
62
61
|
readonly emptyText?: string | undefined;
|
|
62
|
+
"onCurrent-change"?: (() => any) | undefined;
|
|
63
63
|
readonly currentNodeKey?: string | number | undefined;
|
|
64
64
|
readonly checkStrictly?: boolean | undefined;
|
|
65
65
|
readonly checkDescendants?: boolean | undefined;
|
|
@@ -106,9 +106,6 @@ declare const _Tree: SFCWithInstall<{
|
|
|
106
106
|
type: import("vue").PropType<any[]>;
|
|
107
107
|
default: never[];
|
|
108
108
|
};
|
|
109
|
-
draggable: {
|
|
110
|
-
type: import("vue").PropType<boolean>;
|
|
111
|
-
};
|
|
112
109
|
props: {
|
|
113
110
|
type: import("vue").PropType<import("./tree.type").TreeOptionProps>;
|
|
114
111
|
default: {
|
|
@@ -123,6 +120,9 @@ declare const _Tree: SFCWithInstall<{
|
|
|
123
120
|
icon: {
|
|
124
121
|
type: import("vue").PropType<import("..").IconProps>;
|
|
125
122
|
};
|
|
123
|
+
draggable: {
|
|
124
|
+
type: import("vue").PropType<boolean>;
|
|
125
|
+
};
|
|
126
126
|
lazy: {
|
|
127
127
|
type: import("vue").PropType<boolean>;
|
|
128
128
|
};
|
|
@@ -273,9 +273,6 @@ declare const _Tree: SFCWithInstall<{
|
|
|
273
273
|
type: import("vue").PropType<any[]>;
|
|
274
274
|
default: never[];
|
|
275
275
|
};
|
|
276
|
-
draggable: {
|
|
277
|
-
type: import("vue").PropType<boolean>;
|
|
278
|
-
};
|
|
279
276
|
props: {
|
|
280
277
|
type: import("vue").PropType<import("./tree.type").TreeOptionProps>;
|
|
281
278
|
default: {
|
|
@@ -290,6 +287,9 @@ declare const _Tree: SFCWithInstall<{
|
|
|
290
287
|
icon: {
|
|
291
288
|
type: import("vue").PropType<import("..").IconProps>;
|
|
292
289
|
};
|
|
290
|
+
draggable: {
|
|
291
|
+
type: import("vue").PropType<boolean>;
|
|
292
|
+
};
|
|
293
293
|
lazy: {
|
|
294
294
|
type: import("vue").PropType<boolean>;
|
|
295
295
|
};
|
|
@@ -403,9 +403,6 @@ declare const _Tree: SFCWithInstall<{
|
|
|
403
403
|
type: import("vue").PropType<any[]>;
|
|
404
404
|
default: never[];
|
|
405
405
|
};
|
|
406
|
-
draggable: {
|
|
407
|
-
type: import("vue").PropType<boolean>;
|
|
408
|
-
};
|
|
409
406
|
props: {
|
|
410
407
|
type: import("vue").PropType<import("./tree.type").TreeOptionProps>;
|
|
411
408
|
default: {
|
|
@@ -420,6 +417,9 @@ declare const _Tree: SFCWithInstall<{
|
|
|
420
417
|
icon: {
|
|
421
418
|
type: import("vue").PropType<import("..").IconProps>;
|
|
422
419
|
};
|
|
420
|
+
draggable: {
|
|
421
|
+
type: import("vue").PropType<boolean>;
|
|
422
|
+
};
|
|
423
423
|
lazy: {
|
|
424
424
|
type: import("vue").PropType<boolean>;
|
|
425
425
|
};
|
|
@@ -567,7 +567,6 @@ export declare const VftTree: SFCWithInstall<{
|
|
|
567
567
|
indent?: number | undefined;
|
|
568
568
|
style?: unknown;
|
|
569
569
|
key?: string | number | symbol | undefined;
|
|
570
|
-
readonly draggable?: boolean | undefined;
|
|
571
570
|
ref?: import("vue").VNodeRef | undefined;
|
|
572
571
|
class?: unknown;
|
|
573
572
|
readonly load?: import("./tree.type").LoadFunction | undefined;
|
|
@@ -612,9 +611,10 @@ export declare const VftTree: SFCWithInstall<{
|
|
|
612
611
|
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
613
612
|
[key: string]: any;
|
|
614
613
|
}>) => void)[] | undefined;
|
|
614
|
+
readonly draggable?: boolean | undefined;
|
|
615
615
|
readonly lazy?: boolean | undefined;
|
|
616
|
-
"onCurrent-change"?: (() => any) | undefined;
|
|
617
616
|
readonly emptyText?: string | undefined;
|
|
617
|
+
"onCurrent-change"?: (() => any) | undefined;
|
|
618
618
|
readonly currentNodeKey?: string | number | undefined;
|
|
619
619
|
readonly checkStrictly?: boolean | undefined;
|
|
620
620
|
readonly checkDescendants?: boolean | undefined;
|
|
@@ -661,9 +661,6 @@ export declare const VftTree: SFCWithInstall<{
|
|
|
661
661
|
type: import("vue").PropType<any[]>;
|
|
662
662
|
default: never[];
|
|
663
663
|
};
|
|
664
|
-
draggable: {
|
|
665
|
-
type: import("vue").PropType<boolean>;
|
|
666
|
-
};
|
|
667
664
|
props: {
|
|
668
665
|
type: import("vue").PropType<import("./tree.type").TreeOptionProps>;
|
|
669
666
|
default: {
|
|
@@ -678,6 +675,9 @@ export declare const VftTree: SFCWithInstall<{
|
|
|
678
675
|
icon: {
|
|
679
676
|
type: import("vue").PropType<import("..").IconProps>;
|
|
680
677
|
};
|
|
678
|
+
draggable: {
|
|
679
|
+
type: import("vue").PropType<boolean>;
|
|
680
|
+
};
|
|
681
681
|
lazy: {
|
|
682
682
|
type: import("vue").PropType<boolean>;
|
|
683
683
|
};
|
|
@@ -828,9 +828,6 @@ export declare const VftTree: SFCWithInstall<{
|
|
|
828
828
|
type: import("vue").PropType<any[]>;
|
|
829
829
|
default: never[];
|
|
830
830
|
};
|
|
831
|
-
draggable: {
|
|
832
|
-
type: import("vue").PropType<boolean>;
|
|
833
|
-
};
|
|
834
831
|
props: {
|
|
835
832
|
type: import("vue").PropType<import("./tree.type").TreeOptionProps>;
|
|
836
833
|
default: {
|
|
@@ -845,6 +842,9 @@ export declare const VftTree: SFCWithInstall<{
|
|
|
845
842
|
icon: {
|
|
846
843
|
type: import("vue").PropType<import("..").IconProps>;
|
|
847
844
|
};
|
|
845
|
+
draggable: {
|
|
846
|
+
type: import("vue").PropType<boolean>;
|
|
847
|
+
};
|
|
848
848
|
lazy: {
|
|
849
849
|
type: import("vue").PropType<boolean>;
|
|
850
850
|
};
|
|
@@ -958,9 +958,6 @@ export declare const VftTree: SFCWithInstall<{
|
|
|
958
958
|
type: import("vue").PropType<any[]>;
|
|
959
959
|
default: never[];
|
|
960
960
|
};
|
|
961
|
-
draggable: {
|
|
962
|
-
type: import("vue").PropType<boolean>;
|
|
963
|
-
};
|
|
964
961
|
props: {
|
|
965
962
|
type: import("vue").PropType<import("./tree.type").TreeOptionProps>;
|
|
966
963
|
default: {
|
|
@@ -975,6 +972,9 @@ export declare const VftTree: SFCWithInstall<{
|
|
|
975
972
|
icon: {
|
|
976
973
|
type: import("vue").PropType<import("..").IconProps>;
|
|
977
974
|
};
|
|
975
|
+
draggable: {
|
|
976
|
+
type: import("vue").PropType<boolean>;
|
|
977
|
+
};
|
|
978
978
|
lazy: {
|
|
979
979
|
type: import("vue").PropType<boolean>;
|
|
980
980
|
};
|
|
@@ -35,9 +35,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
35
35
|
type: import("vue").PropType<any[]>;
|
|
36
36
|
default: never[];
|
|
37
37
|
};
|
|
38
|
-
draggable: {
|
|
39
|
-
type: import("vue").PropType<boolean>;
|
|
40
|
-
};
|
|
41
38
|
props: {
|
|
42
39
|
type: import("vue").PropType<import("./tree.type").TreeOptionProps>;
|
|
43
40
|
default: {
|
|
@@ -52,6 +49,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
52
49
|
icon: {
|
|
53
50
|
type: import("vue").PropType<IconProps>;
|
|
54
51
|
};
|
|
52
|
+
draggable: {
|
|
53
|
+
type: import("vue").PropType<boolean>;
|
|
54
|
+
};
|
|
55
55
|
lazy: {
|
|
56
56
|
type: import("vue").PropType<boolean>;
|
|
57
57
|
};
|
|
@@ -161,9 +161,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
161
161
|
type: import("vue").PropType<any[]>;
|
|
162
162
|
default: never[];
|
|
163
163
|
};
|
|
164
|
-
draggable: {
|
|
165
|
-
type: import("vue").PropType<boolean>;
|
|
166
|
-
};
|
|
167
164
|
props: {
|
|
168
165
|
type: import("vue").PropType<import("./tree.type").TreeOptionProps>;
|
|
169
166
|
default: {
|
|
@@ -178,6 +175,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
178
175
|
icon: {
|
|
179
176
|
type: import("vue").PropType<IconProps>;
|
|
180
177
|
};
|
|
178
|
+
draggable: {
|
|
179
|
+
type: import("vue").PropType<boolean>;
|
|
180
|
+
};
|
|
181
181
|
lazy: {
|
|
182
182
|
type: import("vue").PropType<boolean>;
|
|
183
183
|
};
|
|
@@ -112,12 +112,12 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
112
112
|
onProgress: {
|
|
113
113
|
type: import("vue").PropType<(evt: import("./types").UploadProgressEvent, uploadFile: import("./types").UploadFile, uploadFiles: import("./types").UploadFiles) => void>;
|
|
114
114
|
};
|
|
115
|
-
|
|
115
|
+
disabled: {
|
|
116
116
|
type: import("vue").PropType<boolean>;
|
|
117
|
-
default: boolean;
|
|
118
117
|
};
|
|
119
|
-
|
|
118
|
+
multiple: {
|
|
120
119
|
type: import("vue").PropType<boolean>;
|
|
120
|
+
default: boolean;
|
|
121
121
|
};
|
|
122
122
|
method: {
|
|
123
123
|
type: import("vue").PropType<string>;
|
|
@@ -242,12 +242,12 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
242
242
|
onProgress: {
|
|
243
243
|
type: import("vue").PropType<(evt: import("./types").UploadProgressEvent, uploadFile: import("./types").UploadFile, uploadFiles: import("./types").UploadFiles) => void>;
|
|
244
244
|
};
|
|
245
|
-
|
|
245
|
+
disabled: {
|
|
246
246
|
type: import("vue").PropType<boolean>;
|
|
247
|
-
default: boolean;
|
|
248
247
|
};
|
|
249
|
-
|
|
248
|
+
multiple: {
|
|
250
249
|
type: import("vue").PropType<boolean>;
|
|
250
|
+
default: boolean;
|
|
251
251
|
};
|
|
252
252
|
method: {
|
|
253
253
|
type: import("vue").PropType<string>;
|
|
@@ -343,12 +343,12 @@ export declare const VftUpload: import("vft/es/utils").SFCWithInstall<{
|
|
|
343
343
|
onProgress: {
|
|
344
344
|
type: import("vue").PropType<(evt: import("./types").UploadProgressEvent, uploadFile: import("./types").UploadFile, uploadFiles: import("./types").UploadFiles) => void>;
|
|
345
345
|
};
|
|
346
|
-
|
|
346
|
+
disabled: {
|
|
347
347
|
type: import("vue").PropType<boolean>;
|
|
348
|
-
default: boolean;
|
|
349
348
|
};
|
|
350
|
-
|
|
349
|
+
multiple: {
|
|
351
350
|
type: import("vue").PropType<boolean>;
|
|
351
|
+
default: boolean;
|
|
352
352
|
};
|
|
353
353
|
method: {
|
|
354
354
|
type: import("vue").PropType<string>;
|
|
@@ -21,12 +21,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
21
21
|
onProgress: {
|
|
22
22
|
type: import("vue").PropType<(evt: import("./types").UploadProgressEvent, rawFile: UploadRawFile) => void>;
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
disabled: {
|
|
25
25
|
type: import("vue").PropType<boolean>;
|
|
26
|
-
default: boolean;
|
|
27
26
|
};
|
|
28
|
-
|
|
27
|
+
multiple: {
|
|
29
28
|
type: import("vue").PropType<boolean>;
|
|
29
|
+
default: boolean;
|
|
30
30
|
};
|
|
31
31
|
method: {
|
|
32
32
|
type: import("vue").PropType<string>;
|
|
@@ -109,12 +109,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
109
109
|
onProgress: {
|
|
110
110
|
type: import("vue").PropType<(evt: import("./types").UploadProgressEvent, rawFile: UploadRawFile) => void>;
|
|
111
111
|
};
|
|
112
|
-
|
|
112
|
+
disabled: {
|
|
113
113
|
type: import("vue").PropType<boolean>;
|
|
114
|
-
default: boolean;
|
|
115
114
|
};
|
|
116
|
-
|
|
115
|
+
multiple: {
|
|
117
116
|
type: import("vue").PropType<boolean>;
|
|
117
|
+
default: boolean;
|
|
118
118
|
};
|
|
119
119
|
method: {
|
|
120
120
|
type: import("vue").PropType<string>;
|
|
@@ -23,12 +23,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
23
23
|
onProgress: {
|
|
24
24
|
type: import("vue").PropType<(evt: import("./types").UploadProgressEvent, uploadFile: import("./types").UploadFile, uploadFiles: import("./types").UploadFiles) => void>;
|
|
25
25
|
};
|
|
26
|
-
|
|
26
|
+
disabled: {
|
|
27
27
|
type: import("vue").PropType<boolean>;
|
|
28
|
-
default: boolean;
|
|
29
28
|
};
|
|
30
|
-
|
|
29
|
+
multiple: {
|
|
31
30
|
type: import("vue").PropType<boolean>;
|
|
31
|
+
default: boolean;
|
|
32
32
|
};
|
|
33
33
|
method: {
|
|
34
34
|
type: import("vue").PropType<string>;
|
|
@@ -125,12 +125,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
125
125
|
onProgress: {
|
|
126
126
|
type: import("vue").PropType<(evt: import("./types").UploadProgressEvent, uploadFile: import("./types").UploadFile, uploadFiles: import("./types").UploadFiles) => void>;
|
|
127
127
|
};
|
|
128
|
-
|
|
128
|
+
disabled: {
|
|
129
129
|
type: import("vue").PropType<boolean>;
|
|
130
|
-
default: boolean;
|
|
131
130
|
};
|
|
132
|
-
|
|
131
|
+
multiple: {
|
|
133
132
|
type: import("vue").PropType<boolean>;
|
|
133
|
+
default: boolean;
|
|
134
134
|
};
|
|
135
135
|
method: {
|
|
136
136
|
type: import("vue").PropType<string>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ShallowRef } from 'vue';
|
|
2
|
+
import type { UploadContentInstance, UploadFile, UploadFiles, UploadProps, UploadRawFile, UploadStatus } from './types';
|
|
3
|
+
export declare const useHandlers: (props: UploadProps, uploadRef: ShallowRef<UploadContentInstance | undefined>) => {
|
|
4
|
+
/** @description two-way binding ref from props `fileList` */
|
|
5
|
+
uploadFiles: import("vue").Ref<{
|
|
6
|
+
name: string;
|
|
7
|
+
percentage?: number | undefined;
|
|
8
|
+
status: UploadStatus;
|
|
9
|
+
size?: number | undefined;
|
|
10
|
+
response?: unknown;
|
|
11
|
+
uid: number;
|
|
12
|
+
url?: string | undefined;
|
|
13
|
+
raw?: UploadRawFile | undefined;
|
|
14
|
+
}[]> | import("vue").WritableComputedRef<UploadFiles>;
|
|
15
|
+
abort: (file: UploadFile) => void;
|
|
16
|
+
clearFiles: (states?: UploadStatus[]) => void;
|
|
17
|
+
handleError: (err: import("./ajax").UploadAjaxError, rawFile: UploadRawFile) => void;
|
|
18
|
+
handleProgress: (evt: import("./types").UploadProgressEvent, rawFile: UploadRawFile) => void;
|
|
19
|
+
handleStart: (rawFile: UploadRawFile) => void;
|
|
20
|
+
handleSuccess: (response: any, rawFile: UploadRawFile) => unknown;
|
|
21
|
+
handleRemove: (file: UploadFile | UploadRawFile, rawFile?: UploadRawFile | undefined) => void;
|
|
22
|
+
submit: () => void;
|
|
23
|
+
};
|
|
@@ -35,7 +35,7 @@ declare const createList: ({ name, getOffset, getItemSize, getItemOffset, getEst
|
|
|
35
35
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
36
|
__epPropKey: true;
|
|
37
37
|
};
|
|
38
|
-
readonly layout: import("../../../utils").EpPropFinalized<StringConstructor, "
|
|
38
|
+
readonly layout: import("../../../utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", never, "vertical", false>;
|
|
39
39
|
readonly initScrollOffset: import("../../../utils").EpPropFinalized<NumberConstructor, never, never, 0, false>;
|
|
40
40
|
readonly total: {
|
|
41
41
|
readonly type: import("vue").PropType<number>;
|
|
@@ -134,7 +134,7 @@ declare const createList: ({ name, getOffset, getItemSize, getItemOffset, getEst
|
|
|
134
134
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
135
135
|
__epPropKey: true;
|
|
136
136
|
};
|
|
137
|
-
readonly layout: import("../../../utils").EpPropFinalized<StringConstructor, "
|
|
137
|
+
readonly layout: import("../../../utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", never, "vertical", false>;
|
|
138
138
|
readonly initScrollOffset: import("../../../utils").EpPropFinalized<NumberConstructor, never, never, 0, false>;
|
|
139
139
|
readonly total: {
|
|
140
140
|
readonly type: import("vue").PropType<number>;
|
|
@@ -155,7 +155,7 @@ declare const createList: ({ name, getOffset, getItemSize, getItemOffset, getEst
|
|
|
155
155
|
readonly data: any[];
|
|
156
156
|
readonly direction: import("../../../utils").EpPropMergeType<StringConstructor, "ltr" | "rtl", never>;
|
|
157
157
|
readonly className: string;
|
|
158
|
-
readonly layout: import("../../../utils").EpPropMergeType<StringConstructor, "
|
|
158
|
+
readonly layout: import("../../../utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", never>;
|
|
159
159
|
readonly containerElement: import("../../../utils").EpPropMergeType<(new (...args: any[]) => string | Element) | (() => string | Element) | ((new (...args: any[]) => string | Element) | (() => string | Element))[], unknown, unknown>;
|
|
160
160
|
readonly innerElement: import("../../../utils").EpPropMergeType<readonly [StringConstructor, ObjectConstructor], unknown, unknown>;
|
|
161
161
|
readonly useIsScrolling: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -33,7 +33,7 @@ declare const DynamicSizeList: import("vue").DefineComponent<{
|
|
|
33
33
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
34
34
|
__epPropKey: true;
|
|
35
35
|
};
|
|
36
|
-
readonly layout: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
36
|
+
readonly layout: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", never, "vertical", false>;
|
|
37
37
|
readonly initScrollOffset: import("vft/es/utils").EpPropFinalized<NumberConstructor, never, never, 0, false>;
|
|
38
38
|
readonly total: {
|
|
39
39
|
readonly type: import("vue").PropType<number>;
|
|
@@ -132,7 +132,7 @@ declare const DynamicSizeList: import("vue").DefineComponent<{
|
|
|
132
132
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
133
133
|
__epPropKey: true;
|
|
134
134
|
};
|
|
135
|
-
readonly layout: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
135
|
+
readonly layout: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", never, "vertical", false>;
|
|
136
136
|
readonly initScrollOffset: import("vft/es/utils").EpPropFinalized<NumberConstructor, never, never, 0, false>;
|
|
137
137
|
readonly total: {
|
|
138
138
|
readonly type: import("vue").PropType<number>;
|
|
@@ -153,7 +153,7 @@ declare const DynamicSizeList: import("vue").DefineComponent<{
|
|
|
153
153
|
readonly data: any[];
|
|
154
154
|
readonly direction: import("vft/es/utils").EpPropMergeType<StringConstructor, "ltr" | "rtl", never>;
|
|
155
155
|
readonly className: string;
|
|
156
|
-
readonly layout: import("vft/es/utils").EpPropMergeType<StringConstructor, "
|
|
156
|
+
readonly layout: import("vft/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", never>;
|
|
157
157
|
readonly containerElement: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | Element) | (() => string | Element) | ((new (...args: any[]) => string | Element) | (() => string | Element))[], unknown, unknown>;
|
|
158
158
|
readonly innerElement: import("vft/es/utils").EpPropMergeType<readonly [StringConstructor, ObjectConstructor], unknown, unknown>;
|
|
159
159
|
readonly useIsScrolling: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -32,7 +32,7 @@ declare const FixedSizeList: import("vue").DefineComponent<{
|
|
|
32
32
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
33
33
|
__epPropKey: true;
|
|
34
34
|
};
|
|
35
|
-
readonly layout: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
35
|
+
readonly layout: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", never, "vertical", false>;
|
|
36
36
|
readonly initScrollOffset: import("vft/es/utils").EpPropFinalized<NumberConstructor, never, never, 0, false>;
|
|
37
37
|
readonly total: {
|
|
38
38
|
readonly type: import("vue").PropType<number>;
|
|
@@ -131,7 +131,7 @@ declare const FixedSizeList: import("vue").DefineComponent<{
|
|
|
131
131
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
132
132
|
__epPropKey: true;
|
|
133
133
|
};
|
|
134
|
-
readonly layout: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
134
|
+
readonly layout: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", never, "vertical", false>;
|
|
135
135
|
readonly initScrollOffset: import("vft/es/utils").EpPropFinalized<NumberConstructor, never, never, 0, false>;
|
|
136
136
|
readonly total: {
|
|
137
137
|
readonly type: import("vue").PropType<number>;
|
|
@@ -152,7 +152,7 @@ declare const FixedSizeList: import("vue").DefineComponent<{
|
|
|
152
152
|
readonly data: any[];
|
|
153
153
|
readonly direction: import("vft/es/utils").EpPropMergeType<StringConstructor, "ltr" | "rtl", never>;
|
|
154
154
|
readonly className: string;
|
|
155
|
-
readonly layout: import("vft/es/utils").EpPropMergeType<StringConstructor, "
|
|
155
|
+
readonly layout: import("vft/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", never>;
|
|
156
156
|
readonly containerElement: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | Element) | (() => string | Element) | ((new (...args: any[]) => string | Element) | (() => string | Element))[], unknown, unknown>;
|
|
157
157
|
readonly innerElement: import("vft/es/utils").EpPropMergeType<readonly [StringConstructor, ObjectConstructor], unknown, unknown>;
|
|
158
158
|
readonly useIsScrolling: import("vft/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const ScrollBar: import("vue").DefineComponent<{
|
|
2
2
|
readonly alwaysOn: BooleanConstructor;
|
|
3
3
|
readonly class: StringConstructor;
|
|
4
|
-
readonly layout: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
4
|
+
readonly layout: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", never, "vertical", false>;
|
|
5
5
|
readonly total: {
|
|
6
6
|
readonly type: import("vue").PropType<number>;
|
|
7
7
|
readonly required: true;
|
|
@@ -35,7 +35,7 @@ declare const ScrollBar: import("vue").DefineComponent<{
|
|
|
35
35
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "start-move" | "stop-move")[], "scroll" | "start-move" | "stop-move", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
36
|
readonly alwaysOn: BooleanConstructor;
|
|
37
37
|
readonly class: StringConstructor;
|
|
38
|
-
readonly layout: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
38
|
+
readonly layout: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", never, "vertical", false>;
|
|
39
39
|
readonly total: {
|
|
40
40
|
readonly type: import("vue").PropType<number>;
|
|
41
41
|
readonly required: true;
|
|
@@ -70,7 +70,7 @@ declare const ScrollBar: import("vue").DefineComponent<{
|
|
|
70
70
|
"onStop-move"?: ((...args: any[]) => any) | undefined;
|
|
71
71
|
}, {
|
|
72
72
|
readonly visible: boolean;
|
|
73
|
-
readonly layout: import("vft/es/utils").EpPropMergeType<StringConstructor, "
|
|
73
|
+
readonly layout: import("vft/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", never>;
|
|
74
74
|
readonly alwaysOn: boolean;
|
|
75
75
|
readonly scrollbarSize: number;
|
|
76
76
|
readonly startGap: number;
|
|
@@ -62,7 +62,7 @@ export declare const virtualizedListProps: {
|
|
|
62
62
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
63
63
|
__epPropKey: true;
|
|
64
64
|
};
|
|
65
|
-
readonly layout: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
65
|
+
readonly layout: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", never, "vertical", false>;
|
|
66
66
|
readonly initScrollOffset: import("vft/es/utils").EpPropFinalized<NumberConstructor, never, never, 0, false>;
|
|
67
67
|
readonly total: {
|
|
68
68
|
readonly type: import("vue").PropType<number>;
|
|
@@ -165,7 +165,7 @@ export declare const virtualizedGridProps: {
|
|
|
165
165
|
export declare const virtualizedScrollbarProps: {
|
|
166
166
|
readonly alwaysOn: BooleanConstructor;
|
|
167
167
|
readonly class: StringConstructor;
|
|
168
|
-
readonly layout: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
168
|
+
readonly layout: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", never, "vertical", false>;
|
|
169
169
|
readonly total: {
|
|
170
170
|
readonly type: import("vue").PropType<number>;
|
|
171
171
|
readonly required: true;
|
package/es/defaults.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
version: string;
|
|
3
|
-
install: (app: App
|
|
3
|
+
install: (app: import("vue").App<any>, options?: Partial<import("../components/config-provider/config-provider.vue").ConfigProviderProps> | undefined) => void;
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
@@ -41,11 +41,11 @@ export declare const usePopper: (referenceElementRef: Ref<ReferenceElement>, pop
|
|
|
41
41
|
popperEscapeOffsets: import("@popperjs/core").SideObject;
|
|
42
42
|
} | undefined;
|
|
43
43
|
offset?: {
|
|
44
|
-
|
|
45
|
-
bottom?: import("@popperjs/core").Offsets | undefined;
|
|
44
|
+
auto?: import("@popperjs/core").Offsets | undefined;
|
|
46
45
|
left?: import("@popperjs/core").Offsets | undefined;
|
|
47
46
|
right?: import("@popperjs/core").Offsets | undefined;
|
|
48
|
-
|
|
47
|
+
bottom?: import("@popperjs/core").Offsets | undefined;
|
|
48
|
+
top?: import("@popperjs/core").Offsets | undefined;
|
|
49
49
|
"auto-start"?: import("@popperjs/core").Offsets | undefined;
|
|
50
50
|
"auto-end"?: import("@popperjs/core").Offsets | undefined;
|
|
51
51
|
"top-start"?: import("@popperjs/core").Offsets | undefined;
|
package/es/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export * from 'vft/es/components';
|
|
|
5
5
|
export * from 'vft/es/constants';
|
|
6
6
|
export * from 'vft/es/hooks';
|
|
7
7
|
export * from 'vft/es/utils';
|
|
8
|
-
export declare const install: (app: App
|
|
8
|
+
export declare const install: (app: import("vue").App<any>, options?: Partial<import("../components/config-provider/config-provider.vue").ConfigProviderProps> | undefined) => void;
|
|
9
9
|
export declare const version: string;
|
|
10
10
|
export default installer;
|
|
11
11
|
export { default as dayjs } from 'dayjs';
|