vft 0.0.182 → 0.0.183
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/components/affix/affix.d.ts +1 -1
- package/es/components/affix/affix.vue.d.ts +3 -3
- package/es/components/affix/index.d.ts +7 -7
- package/es/components/button/index.d.ts +12 -12
- 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/date-picker/composables/use-range-picker.d.ts +1 -1
- package/es/components/focus-trap/utils.d.ts +1 -1
- package/es/components/form/form-item.vue.d.ts +1 -1
- package/es/components/form/index.d.ts +42 -42
- package/es/components/index.js +113 -113
- package/es/components/modal/index.d.ts +24 -24
- package/es/components/popconfirm/index.d.ts +12 -12
- package/es/components/popper/composables/use-content.d.ts +3 -3
- package/es/components/super-form/index.d.ts +7 -7
- package/es/components/super-form/super-form.vue.d.ts +1 -1
- package/es/components/super-form/super-form.vue2.js +73 -74
- package/es/components/super-form/types.d.ts +1 -0
- package/es/components/super-form/use/helper.js +1 -1
- package/es/components/switch/index.d.ts +6 -6
- package/es/components/table/index.d.ts +12 -12
- package/es/components/tabs/index.d.ts +2 -2
- package/es/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/es/components/timeline/index.d.ts +8 -8
- package/es/components/tree/index.d.ts +24 -24
- package/es/hooks/use-popper/index.d.ts +3 -3
- package/es/index.js +113 -113
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- 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 +7 -7
- package/lib/components/button/index.d.ts +12 -12
- package/lib/components/button/use-button.cjs +1 -1
- package/lib/components/carousel/carousel.vue.d.ts +1 -1
- package/lib/components/carousel/index.d.ts +19 -19
- package/lib/components/date-picker/composables/use-range-picker.d.ts +1 -1
- package/lib/components/focus-trap/utils.d.ts +1 -1
- package/lib/components/form/form-item.vue.d.ts +1 -1
- package/lib/components/form/index.d.ts +42 -42
- package/lib/components/index.cjs +1 -1
- package/lib/components/modal/index.d.ts +24 -24
- package/lib/components/popconfirm/index.d.ts +12 -12
- package/lib/components/popper/composables/use-content.d.ts +3 -3
- package/lib/components/super-form/index.d.ts +7 -7
- package/lib/components/super-form/super-form.vue.d.ts +1 -1
- package/lib/components/super-form/super-form.vue2.cjs +1 -1
- package/lib/components/super-form/types.d.ts +1 -0
- package/lib/components/super-form/use/helper.cjs +1 -1
- package/lib/components/switch/index.d.ts +6 -6
- package/lib/components/table/index.d.ts +12 -12
- package/lib/components/tabs/index.d.ts +2 -2
- package/lib/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/lib/components/timeline/index.d.ts +8 -8
- package/lib/components/tree/index.d.ts +24 -24
- package/lib/hooks/use-popper/index.d.ts +3 -3
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +4 -4
- package/web-types.json +1 -1
|
@@ -4,7 +4,7 @@ export declare const affixProps: {
|
|
|
4
4
|
readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
5
5
|
readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6
6
|
readonly offset: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
7
|
-
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
7
|
+
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "bottom" | "top", unknown, "top", boolean>;
|
|
8
8
|
};
|
|
9
9
|
export type AffixProps = ExtractPropTypes<typeof affixProps>;
|
|
10
10
|
export declare const affixEmits: {
|
|
@@ -2,7 +2,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
2
2
|
readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
3
3
|
readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
4
4
|
readonly offset: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
5
|
-
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
5
|
+
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "bottom" | "top", unknown, "top", boolean>;
|
|
6
6
|
}, {
|
|
7
7
|
/** @description update affix status */
|
|
8
8
|
update: () => void;
|
|
@@ -18,7 +18,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
18
18
|
readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
19
19
|
readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
20
20
|
readonly offset: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
21
|
-
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
21
|
+
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "bottom" | "top", unknown, "top", boolean>;
|
|
22
22
|
}>> & {
|
|
23
23
|
onChange?: ((fixed: boolean) => any) | undefined;
|
|
24
24
|
onScroll?: ((args_0: {
|
|
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
27
27
|
}) => any) | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
readonly target: string;
|
|
30
|
-
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "
|
|
30
|
+
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "bottom" | "top", unknown>;
|
|
31
31
|
readonly zIndex: number;
|
|
32
32
|
readonly offset: number;
|
|
33
33
|
}, {}>, {
|
|
@@ -3,7 +3,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
3
3
|
readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
4
4
|
readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
5
5
|
readonly offset: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
6
|
-
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
6
|
+
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "bottom" | "top", unknown, "top", boolean>;
|
|
7
7
|
}>> & {
|
|
8
8
|
onChange?: ((fixed: boolean) => any) | undefined;
|
|
9
9
|
onScroll?: ((args_0: {
|
|
@@ -23,7 +23,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
23
23
|
readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
24
24
|
readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
25
25
|
readonly offset: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
26
|
-
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
26
|
+
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "bottom" | "top", unknown, "top", boolean>;
|
|
27
27
|
}>> & {
|
|
28
28
|
onChange?: ((fixed: boolean) => any) | undefined;
|
|
29
29
|
onScroll?: ((args_0: {
|
|
@@ -32,7 +32,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
32
32
|
}) => any) | undefined;
|
|
33
33
|
}, {
|
|
34
34
|
readonly target: string;
|
|
35
|
-
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "
|
|
35
|
+
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "bottom" | "top", unknown>;
|
|
36
36
|
readonly zIndex: number;
|
|
37
37
|
readonly offset: number;
|
|
38
38
|
}, true, {}, {}, {
|
|
@@ -46,7 +46,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
46
46
|
readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
47
47
|
readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
48
48
|
readonly offset: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
49
|
-
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
49
|
+
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "bottom" | "top", unknown, "top", boolean>;
|
|
50
50
|
}>> & {
|
|
51
51
|
onChange?: ((fixed: boolean) => any) | undefined;
|
|
52
52
|
onScroll?: ((args_0: {
|
|
@@ -58,7 +58,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
58
58
|
updateRoot: () => void;
|
|
59
59
|
}, {}, {}, {}, {
|
|
60
60
|
readonly target: string;
|
|
61
|
-
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "
|
|
61
|
+
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "bottom" | "top", unknown>;
|
|
62
62
|
readonly zIndex: number;
|
|
63
63
|
readonly offset: number;
|
|
64
64
|
}>;
|
|
@@ -69,7 +69,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
69
69
|
readonly zIndex: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
70
70
|
readonly target: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
71
71
|
readonly offset: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
72
|
-
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
72
|
+
readonly position: import("vft/es/utils").EpPropFinalized<StringConstructor, "bottom" | "top", unknown, "top", boolean>;
|
|
73
73
|
}>> & {
|
|
74
74
|
onChange?: ((fixed: boolean) => any) | undefined;
|
|
75
75
|
onScroll?: ((args_0: {
|
|
@@ -87,7 +87,7 @@ export declare const VftAffix: import("vft/es/utils").SFCWithInstall<{
|
|
|
87
87
|
}) => void;
|
|
88
88
|
}, string, {
|
|
89
89
|
readonly target: string;
|
|
90
|
-
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "
|
|
90
|
+
readonly position: import("vft/es/utils").EpPropMergeType<StringConstructor, "bottom" | "top", unknown>;
|
|
91
91
|
readonly zIndex: number;
|
|
92
92
|
readonly offset: number;
|
|
93
93
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -22,6 +22,9 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
22
22
|
size: {
|
|
23
23
|
type: globalThis.PropType<import("vft/es/components/types").ComponentSize>;
|
|
24
24
|
};
|
|
25
|
+
icon: {
|
|
26
|
+
type: globalThis.PropType<string | import("vft/es/components").IconProps>;
|
|
27
|
+
};
|
|
25
28
|
autofocus: {
|
|
26
29
|
type: globalThis.PropType<boolean>;
|
|
27
30
|
};
|
|
@@ -41,9 +44,6 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
41
44
|
type: globalThis.PropType<string | globalThis.Component>;
|
|
42
45
|
default: string;
|
|
43
46
|
};
|
|
44
|
-
icon: {
|
|
45
|
-
type: globalThis.PropType<string | import("vft/es/components").IconProps>;
|
|
46
|
-
};
|
|
47
47
|
nativeType: {
|
|
48
48
|
type: globalThis.PropType<"button" | "reset" | "submit">;
|
|
49
49
|
default: string;
|
|
@@ -100,6 +100,9 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
100
100
|
size: {
|
|
101
101
|
type: globalThis.PropType<import("vft/es/components/types").ComponentSize>;
|
|
102
102
|
};
|
|
103
|
+
icon: {
|
|
104
|
+
type: globalThis.PropType<string | import("vft/es/components").IconProps>;
|
|
105
|
+
};
|
|
103
106
|
autofocus: {
|
|
104
107
|
type: globalThis.PropType<boolean>;
|
|
105
108
|
};
|
|
@@ -119,9 +122,6 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
119
122
|
type: globalThis.PropType<string | globalThis.Component>;
|
|
120
123
|
default: string;
|
|
121
124
|
};
|
|
122
|
-
icon: {
|
|
123
|
-
type: globalThis.PropType<string | import("vft/es/components").IconProps>;
|
|
124
|
-
};
|
|
125
125
|
nativeType: {
|
|
126
126
|
type: globalThis.PropType<"button" | "reset" | "submit">;
|
|
127
127
|
default: string;
|
|
@@ -182,6 +182,9 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
182
182
|
size: {
|
|
183
183
|
type: globalThis.PropType<import("vft/es/components/types").ComponentSize>;
|
|
184
184
|
};
|
|
185
|
+
icon: {
|
|
186
|
+
type: globalThis.PropType<string | import("vft/es/components").IconProps>;
|
|
187
|
+
};
|
|
185
188
|
autofocus: {
|
|
186
189
|
type: globalThis.PropType<boolean>;
|
|
187
190
|
};
|
|
@@ -201,9 +204,6 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
201
204
|
type: globalThis.PropType<string | globalThis.Component>;
|
|
202
205
|
default: string;
|
|
203
206
|
};
|
|
204
|
-
icon: {
|
|
205
|
-
type: globalThis.PropType<string | import("vft/es/components").IconProps>;
|
|
206
|
-
};
|
|
207
207
|
nativeType: {
|
|
208
208
|
type: globalThis.PropType<"button" | "reset" | "submit">;
|
|
209
209
|
default: string;
|
|
@@ -267,6 +267,9 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
267
267
|
size: {
|
|
268
268
|
type: globalThis.PropType<import("vft/es/components/types").ComponentSize>;
|
|
269
269
|
};
|
|
270
|
+
icon: {
|
|
271
|
+
type: globalThis.PropType<string | import("vft/es/components").IconProps>;
|
|
272
|
+
};
|
|
270
273
|
autofocus: {
|
|
271
274
|
type: globalThis.PropType<boolean>;
|
|
272
275
|
};
|
|
@@ -286,9 +289,6 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
286
289
|
type: globalThis.PropType<string | globalThis.Component>;
|
|
287
290
|
default: string;
|
|
288
291
|
};
|
|
289
|
-
icon: {
|
|
290
|
-
type: globalThis.PropType<string | import("vft/es/components").IconProps>;
|
|
291
|
-
};
|
|
292
292
|
nativeType: {
|
|
293
293
|
type: globalThis.PropType<"button" | "reset" | "submit">;
|
|
294
294
|
default: string;
|
|
@@ -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;
|
|
@@ -47,8 +47,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
47
47
|
}>>> & {
|
|
48
48
|
onChange?: ((current: number, prev: number) => any) | undefined;
|
|
49
49
|
}, {
|
|
50
|
-
height: string;
|
|
51
50
|
direction: "vertical" | "horizontal";
|
|
51
|
+
height: string;
|
|
52
52
|
type: "" | "card";
|
|
53
53
|
arrow: "always" | "never" | "hover";
|
|
54
54
|
loop: boolean;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
2
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<globalThis.ExtractPropTypes<{
|
|
3
|
-
height: {
|
|
4
|
-
type: globalThis.PropType<string>;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
3
|
direction: {
|
|
8
4
|
type: globalThis.PropType<"vertical" | "horizontal">;
|
|
9
5
|
default: string;
|
|
10
6
|
};
|
|
7
|
+
height: {
|
|
8
|
+
type: globalThis.PropType<string>;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
11
|
type: {
|
|
12
12
|
type: globalThis.PropType<"" | "card">;
|
|
13
13
|
default: string;
|
|
@@ -53,14 +53,14 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
53
53
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
54
|
change: (current: number, prev: number) => void;
|
|
55
55
|
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
|
|
56
|
-
height: {
|
|
57
|
-
type: globalThis.PropType<string>;
|
|
58
|
-
default: string;
|
|
59
|
-
};
|
|
60
56
|
direction: {
|
|
61
57
|
type: globalThis.PropType<"vertical" | "horizontal">;
|
|
62
58
|
default: string;
|
|
63
59
|
};
|
|
60
|
+
height: {
|
|
61
|
+
type: globalThis.PropType<string>;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
64
|
type: {
|
|
65
65
|
type: globalThis.PropType<"" | "card">;
|
|
66
66
|
default: string;
|
|
@@ -100,8 +100,8 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
100
100
|
}>> & {
|
|
101
101
|
onChange?: ((current: number, prev: number) => any) | undefined;
|
|
102
102
|
}, {
|
|
103
|
-
height: string;
|
|
104
103
|
direction: "vertical" | "horizontal";
|
|
104
|
+
height: string;
|
|
105
105
|
type: "" | "card";
|
|
106
106
|
arrow: "always" | "never" | "hover";
|
|
107
107
|
loop: boolean;
|
|
@@ -119,14 +119,14 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
119
119
|
M: {};
|
|
120
120
|
Defaults: {};
|
|
121
121
|
}, Readonly<globalThis.ExtractPropTypes<{
|
|
122
|
-
height: {
|
|
123
|
-
type: globalThis.PropType<string>;
|
|
124
|
-
default: string;
|
|
125
|
-
};
|
|
126
122
|
direction: {
|
|
127
123
|
type: globalThis.PropType<"vertical" | "horizontal">;
|
|
128
124
|
default: string;
|
|
129
125
|
};
|
|
126
|
+
height: {
|
|
127
|
+
type: globalThis.PropType<string>;
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
130
130
|
type: {
|
|
131
131
|
type: globalThis.PropType<"" | "card">;
|
|
132
132
|
default: string;
|
|
@@ -170,8 +170,8 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
170
170
|
prev: () => void;
|
|
171
171
|
next: () => void;
|
|
172
172
|
}, {}, {}, {}, {
|
|
173
|
-
height: string;
|
|
174
173
|
direction: "vertical" | "horizontal";
|
|
174
|
+
height: string;
|
|
175
175
|
type: "" | "card";
|
|
176
176
|
arrow: "always" | "never" | "hover";
|
|
177
177
|
loop: boolean;
|
|
@@ -186,14 +186,14 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
186
186
|
__isTeleport?: undefined;
|
|
187
187
|
__isSuspense?: undefined;
|
|
188
188
|
} & import("vue").ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
189
|
-
height: {
|
|
190
|
-
type: globalThis.PropType<string>;
|
|
191
|
-
default: string;
|
|
192
|
-
};
|
|
193
189
|
direction: {
|
|
194
190
|
type: globalThis.PropType<"vertical" | "horizontal">;
|
|
195
191
|
default: string;
|
|
196
192
|
};
|
|
193
|
+
height: {
|
|
194
|
+
type: globalThis.PropType<string>;
|
|
195
|
+
default: string;
|
|
196
|
+
};
|
|
197
197
|
type: {
|
|
198
198
|
type: globalThis.PropType<"" | "card">;
|
|
199
199
|
default: string;
|
|
@@ -239,8 +239,8 @@ export declare const VftCarousel: import("vft/es/utils").SFCWithInstall<{
|
|
|
239
239
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
240
240
|
change: (current: number, prev: number) => void;
|
|
241
241
|
}, string, {
|
|
242
|
-
height: string;
|
|
243
242
|
direction: "vertical" | "horizontal";
|
|
243
|
+
height: string;
|
|
244
244
|
type: "" | "card";
|
|
245
245
|
arrow: "always" | "never" | "hover";
|
|
246
246
|
loop: boolean;
|
|
@@ -55,7 +55,7 @@ export declare const useRangePicker: (props: PanelRangeSharedProps, { defaultVal
|
|
|
55
55
|
startOf: (unit: import("dayjs").OpUnitType) => Dayjs;
|
|
56
56
|
endOf: (unit: import("dayjs").OpUnitType) => Dayjs;
|
|
57
57
|
format: (template?: string | undefined) => string;
|
|
58
|
-
diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "
|
|
58
|
+
diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "s" | "ms" | "y" | "D" | "M" | "year" | "month" | "date" | "dates" | "week" | "d" | "h" | "hours" | "minutes" | "seconds" | "hour" | "minute" | "second" | "day" | "millisecond" | "milliseconds" | "days" | "months" | "years" | "m" | "weeks" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
|
|
59
59
|
valueOf: () => number;
|
|
60
60
|
unix: () => number;
|
|
61
61
|
daysInMonth: () => number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const focusReason: globalThis.Ref<"
|
|
1
|
+
declare const focusReason: globalThis.Ref<"pointer" | "keyboard" | undefined>;
|
|
2
2
|
declare const lastUserFocusTimestamp: globalThis.Ref<number>;
|
|
3
3
|
declare const lastAutomatedFocusTimestamp: globalThis.Ref<number>;
|
|
4
4
|
export type FocusLayer = {
|
|
@@ -54,8 +54,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
54
54
|
}>>> & {
|
|
55
55
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
56
56
|
}, {
|
|
57
|
-
labelWidth: string | number;
|
|
58
57
|
required: boolean;
|
|
58
|
+
labelWidth: string | number;
|
|
59
59
|
inlineMessage: string | boolean;
|
|
60
60
|
showMessage: boolean;
|
|
61
61
|
}, {}>, {
|
|
@@ -15,7 +15,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
15
15
|
type: globalThis.PropType<Partial<Record<string, import("vft/es/utils").Arrayable<import("./types").FormItemRule>>>>;
|
|
16
16
|
};
|
|
17
17
|
labelPosition: {
|
|
18
|
-
type: globalThis.PropType<"
|
|
18
|
+
type: globalThis.PropType<"left" | "right" | "top">;
|
|
19
19
|
};
|
|
20
20
|
requireAsteriskPosition: {
|
|
21
21
|
type: globalThis.PropType<"left" | "right">;
|
|
@@ -71,7 +71,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
71
71
|
type: globalThis.PropType<Partial<Record<string, import("vft/es/utils").Arrayable<import("./types").FormItemRule>>>>;
|
|
72
72
|
};
|
|
73
73
|
labelPosition: {
|
|
74
|
-
type: globalThis.PropType<"
|
|
74
|
+
type: globalThis.PropType<"left" | "right" | "top">;
|
|
75
75
|
};
|
|
76
76
|
requireAsteriskPosition: {
|
|
77
77
|
type: globalThis.PropType<"left" | "right">;
|
|
@@ -126,7 +126,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
126
126
|
type: globalThis.PropType<Partial<Record<string, import("vft/es/utils").Arrayable<import("./types").FormItemRule>>>>;
|
|
127
127
|
};
|
|
128
128
|
labelPosition: {
|
|
129
|
-
type: globalThis.PropType<"
|
|
129
|
+
type: globalThis.PropType<"left" | "right" | "top">;
|
|
130
130
|
};
|
|
131
131
|
requireAsteriskPosition: {
|
|
132
132
|
type: globalThis.PropType<"left" | "right">;
|
|
@@ -184,7 +184,7 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
184
184
|
type: globalThis.PropType<Partial<Record<string, import("vft/es/utils").Arrayable<import("./types").FormItemRule>>>>;
|
|
185
185
|
};
|
|
186
186
|
labelPosition: {
|
|
187
|
-
type: globalThis.PropType<"
|
|
187
|
+
type: globalThis.PropType<"left" | "right" | "top">;
|
|
188
188
|
};
|
|
189
189
|
requireAsteriskPosition: {
|
|
190
190
|
type: globalThis.PropType<"left" | "right">;
|
|
@@ -245,6 +245,10 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
245
245
|
size: {
|
|
246
246
|
type: globalThis.PropType<"" | "default" | "small" | "large">;
|
|
247
247
|
};
|
|
248
|
+
required: {
|
|
249
|
+
type: globalThis.PropType<boolean>;
|
|
250
|
+
default: undefined;
|
|
251
|
+
};
|
|
248
252
|
rules: {
|
|
249
253
|
type: globalThis.PropType<import("vft/es/components/types").Arrayable<import("./types").FormItemRule>>;
|
|
250
254
|
};
|
|
@@ -252,10 +256,6 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
252
256
|
type: globalThis.PropType<string | number>;
|
|
253
257
|
default: string;
|
|
254
258
|
};
|
|
255
|
-
required: {
|
|
256
|
-
type: globalThis.PropType<boolean>;
|
|
257
|
-
default: undefined;
|
|
258
|
-
};
|
|
259
259
|
for: {
|
|
260
260
|
type: globalThis.PropType<string>;
|
|
261
261
|
};
|
|
@@ -294,6 +294,10 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
294
294
|
size: {
|
|
295
295
|
type: globalThis.PropType<"" | "default" | "small" | "large">;
|
|
296
296
|
};
|
|
297
|
+
required: {
|
|
298
|
+
type: globalThis.PropType<boolean>;
|
|
299
|
+
default: undefined;
|
|
300
|
+
};
|
|
297
301
|
rules: {
|
|
298
302
|
type: globalThis.PropType<import("vft/es/components/types").Arrayable<import("./types").FormItemRule>>;
|
|
299
303
|
};
|
|
@@ -301,10 +305,6 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
301
305
|
type: globalThis.PropType<string | number>;
|
|
302
306
|
default: string;
|
|
303
307
|
};
|
|
304
|
-
required: {
|
|
305
|
-
type: globalThis.PropType<boolean>;
|
|
306
|
-
default: undefined;
|
|
307
|
-
};
|
|
308
308
|
for: {
|
|
309
309
|
type: globalThis.PropType<string>;
|
|
310
310
|
};
|
|
@@ -322,8 +322,8 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
322
322
|
}>> & {
|
|
323
323
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
324
324
|
}, {
|
|
325
|
-
labelWidth: string | number;
|
|
326
325
|
required: boolean;
|
|
326
|
+
labelWidth: string | number;
|
|
327
327
|
inlineMessage: string | boolean;
|
|
328
328
|
showMessage: boolean;
|
|
329
329
|
}, true, {}, {}, {
|
|
@@ -346,6 +346,10 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
346
346
|
size: {
|
|
347
347
|
type: globalThis.PropType<"" | "default" | "small" | "large">;
|
|
348
348
|
};
|
|
349
|
+
required: {
|
|
350
|
+
type: globalThis.PropType<boolean>;
|
|
351
|
+
default: undefined;
|
|
352
|
+
};
|
|
349
353
|
rules: {
|
|
350
354
|
type: globalThis.PropType<import("vft/es/components/types").Arrayable<import("./types").FormItemRule>>;
|
|
351
355
|
};
|
|
@@ -353,10 +357,6 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
353
357
|
type: globalThis.PropType<string | number>;
|
|
354
358
|
default: string;
|
|
355
359
|
};
|
|
356
|
-
required: {
|
|
357
|
-
type: globalThis.PropType<boolean>;
|
|
358
|
-
default: undefined;
|
|
359
|
-
};
|
|
360
360
|
for: {
|
|
361
361
|
type: globalThis.PropType<string>;
|
|
362
362
|
};
|
|
@@ -381,8 +381,8 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
381
381
|
clearValidate: () => void;
|
|
382
382
|
resetField: () => void;
|
|
383
383
|
}, {}, {}, {}, {
|
|
384
|
-
labelWidth: string | number;
|
|
385
384
|
required: boolean;
|
|
385
|
+
labelWidth: string | number;
|
|
386
386
|
inlineMessage: string | boolean;
|
|
387
387
|
showMessage: boolean;
|
|
388
388
|
}>;
|
|
@@ -402,6 +402,10 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
402
402
|
size: {
|
|
403
403
|
type: globalThis.PropType<"" | "default" | "small" | "large">;
|
|
404
404
|
};
|
|
405
|
+
required: {
|
|
406
|
+
type: globalThis.PropType<boolean>;
|
|
407
|
+
default: undefined;
|
|
408
|
+
};
|
|
405
409
|
rules: {
|
|
406
410
|
type: globalThis.PropType<import("vft/es/components/types").Arrayable<import("./types").FormItemRule>>;
|
|
407
411
|
};
|
|
@@ -409,10 +413,6 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
409
413
|
type: globalThis.PropType<string | number>;
|
|
410
414
|
default: string;
|
|
411
415
|
};
|
|
412
|
-
required: {
|
|
413
|
-
type: globalThis.PropType<boolean>;
|
|
414
|
-
default: undefined;
|
|
415
|
-
};
|
|
416
416
|
for: {
|
|
417
417
|
type: globalThis.PropType<string>;
|
|
418
418
|
};
|
|
@@ -439,8 +439,8 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
439
439
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
440
440
|
"update:error": (val: string) => void;
|
|
441
441
|
}, string, {
|
|
442
|
-
labelWidth: string | number;
|
|
443
442
|
required: boolean;
|
|
443
|
+
labelWidth: string | number;
|
|
444
444
|
inlineMessage: string | boolean;
|
|
445
445
|
showMessage: boolean;
|
|
446
446
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -469,6 +469,10 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
469
469
|
size: {
|
|
470
470
|
type: globalThis.PropType<"" | "default" | "small" | "large">;
|
|
471
471
|
};
|
|
472
|
+
required: {
|
|
473
|
+
type: globalThis.PropType<boolean>;
|
|
474
|
+
default: undefined;
|
|
475
|
+
};
|
|
472
476
|
rules: {
|
|
473
477
|
type: globalThis.PropType<import("vft/es/components/types").Arrayable<import("./types").FormItemRule>>;
|
|
474
478
|
};
|
|
@@ -476,10 +480,6 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
476
480
|
type: globalThis.PropType<string | number>;
|
|
477
481
|
default: string;
|
|
478
482
|
};
|
|
479
|
-
required: {
|
|
480
|
-
type: globalThis.PropType<boolean>;
|
|
481
|
-
default: undefined;
|
|
482
|
-
};
|
|
483
483
|
for: {
|
|
484
484
|
type: globalThis.PropType<string>;
|
|
485
485
|
};
|
|
@@ -518,6 +518,10 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
518
518
|
size: {
|
|
519
519
|
type: globalThis.PropType<"" | "default" | "small" | "large">;
|
|
520
520
|
};
|
|
521
|
+
required: {
|
|
522
|
+
type: globalThis.PropType<boolean>;
|
|
523
|
+
default: undefined;
|
|
524
|
+
};
|
|
521
525
|
rules: {
|
|
522
526
|
type: globalThis.PropType<import("vft/es/components/types").Arrayable<import("./types").FormItemRule>>;
|
|
523
527
|
};
|
|
@@ -525,10 +529,6 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
525
529
|
type: globalThis.PropType<string | number>;
|
|
526
530
|
default: string;
|
|
527
531
|
};
|
|
528
|
-
required: {
|
|
529
|
-
type: globalThis.PropType<boolean>;
|
|
530
|
-
default: undefined;
|
|
531
|
-
};
|
|
532
532
|
for: {
|
|
533
533
|
type: globalThis.PropType<string>;
|
|
534
534
|
};
|
|
@@ -546,8 +546,8 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
546
546
|
}>> & {
|
|
547
547
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
548
548
|
}, {
|
|
549
|
-
labelWidth: string | number;
|
|
550
549
|
required: boolean;
|
|
550
|
+
labelWidth: string | number;
|
|
551
551
|
inlineMessage: string | boolean;
|
|
552
552
|
showMessage: boolean;
|
|
553
553
|
}, true, {}, {}, {
|
|
@@ -570,6 +570,10 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
570
570
|
size: {
|
|
571
571
|
type: globalThis.PropType<"" | "default" | "small" | "large">;
|
|
572
572
|
};
|
|
573
|
+
required: {
|
|
574
|
+
type: globalThis.PropType<boolean>;
|
|
575
|
+
default: undefined;
|
|
576
|
+
};
|
|
573
577
|
rules: {
|
|
574
578
|
type: globalThis.PropType<import("vft/es/components/types").Arrayable<import("./types").FormItemRule>>;
|
|
575
579
|
};
|
|
@@ -577,10 +581,6 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
577
581
|
type: globalThis.PropType<string | number>;
|
|
578
582
|
default: string;
|
|
579
583
|
};
|
|
580
|
-
required: {
|
|
581
|
-
type: globalThis.PropType<boolean>;
|
|
582
|
-
default: undefined;
|
|
583
|
-
};
|
|
584
584
|
for: {
|
|
585
585
|
type: globalThis.PropType<string>;
|
|
586
586
|
};
|
|
@@ -605,8 +605,8 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
605
605
|
clearValidate: () => void;
|
|
606
606
|
resetField: () => void;
|
|
607
607
|
}, {}, {}, {}, {
|
|
608
|
-
labelWidth: string | number;
|
|
609
608
|
required: boolean;
|
|
609
|
+
labelWidth: string | number;
|
|
610
610
|
inlineMessage: string | boolean;
|
|
611
611
|
showMessage: boolean;
|
|
612
612
|
}>;
|
|
@@ -626,6 +626,10 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
626
626
|
size: {
|
|
627
627
|
type: globalThis.PropType<"" | "default" | "small" | "large">;
|
|
628
628
|
};
|
|
629
|
+
required: {
|
|
630
|
+
type: globalThis.PropType<boolean>;
|
|
631
|
+
default: undefined;
|
|
632
|
+
};
|
|
629
633
|
rules: {
|
|
630
634
|
type: globalThis.PropType<import("vft/es/components/types").Arrayable<import("./types").FormItemRule>>;
|
|
631
635
|
};
|
|
@@ -633,10 +637,6 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
633
637
|
type: globalThis.PropType<string | number>;
|
|
634
638
|
default: string;
|
|
635
639
|
};
|
|
636
|
-
required: {
|
|
637
|
-
type: globalThis.PropType<boolean>;
|
|
638
|
-
default: undefined;
|
|
639
|
-
};
|
|
640
640
|
for: {
|
|
641
641
|
type: globalThis.PropType<string>;
|
|
642
642
|
};
|
|
@@ -663,8 +663,8 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
663
663
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
664
664
|
"update:error": (val: string) => void;
|
|
665
665
|
}, string, {
|
|
666
|
-
labelWidth: string | number;
|
|
667
666
|
required: boolean;
|
|
667
|
+
labelWidth: string | number;
|
|
668
668
|
inlineMessage: string | boolean;
|
|
669
669
|
showMessage: boolean;
|
|
670
670
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|