@vunk/form 1.4.4 → 1.4.6
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/components/button/src/ctx.d.ts +7 -7
- package/components/button/src/index.vue.d.ts +167 -200
- package/components/button/src/types.d.ts +1 -1
- package/components/cascader/index.cjs +3 -3
- package/components/cascader/index.mjs +3 -3
- package/components/cascader/src/ctx.d.ts +17 -6
- package/components/cascader/src/index.vue.d.ts +41 -13662
- package/components/checkbox/index.cjs +4 -4
- package/components/checkbox/index.mjs +4 -4
- package/components/checkbox/src/ctx.d.ts +4 -4
- package/components/checkbox/src/index.vue.d.ts +496 -481
- package/components/color-picker/index.cjs +2 -2
- package/components/color-picker/index.mjs +2 -2
- package/components/color-picker/src/ctx.d.ts +6 -6
- package/components/color-picker/src/index.vue.d.ts +15 -10959
- package/components/date-picker/index.cjs +1 -2
- package/components/date-picker/index.mjs +1 -2
- package/components/date-picker/src/ctx.d.ts +18 -10
- package/components/date-picker/src/index.vue.d.ts +96 -60
- package/components/date-picker/src/types.d.ts +1 -1
- package/components/date-picker-range/src/ctx.d.ts +16 -8
- package/components/date-picker-range/src/index.vue.d.ts +38 -20
- package/components/date-picker-range/src/types.d.ts +2 -2
- package/components/download-plus/src/ctx.d.ts +2 -2
- package/components/download-plus/src/index.vue.d.ts +451 -516
- package/components/esri-input-geojson/src/append.vue.d.ts +370 -1801
- package/components/esri-input-geojson/src/ctx.d.ts +20 -14
- package/components/esri-input-geojson/src/index.vue.d.ts +53 -41
- package/components/esri-input-geojson/src/types.d.ts +1 -1
- package/components/form/index.cjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form/src/ctx.d.ts +1 -1
- package/components/form/src/index.vue.d.ts +313 -376
- package/components/form-item/src/ctx.d.ts +3 -3
- package/components/form-item/src/index.vue.d.ts +109 -126
- package/components/form-item-renderer/index.cjs +1 -0
- package/components/form-item-renderer/index.mjs +1 -0
- package/components/form-item-renderer/src/types.d.ts +1 -0
- package/components/geoinput/src/ctx.d.ts +18 -12
- package/components/geoinput/src/index.vue.d.ts +43 -31
- package/components/geoinput/src/types.d.ts +1 -1
- package/components/geoinput-read/src/append.vue.d.ts +220 -262
- package/components/geoinput-read/src/core.vue.d.ts +86 -81
- package/components/geoinput-read/src/ctx.d.ts +20 -14
- package/components/geoinput-read/src/index.vue.d.ts +129 -112
- package/components/geoinput-update/src/append.vue.d.ts +370 -1801
- package/components/geoinput-update/src/ctx.d.ts +20 -14
- package/components/geoinput-update/src/index.vue.d.ts +211 -388
- package/components/input/index.cjs +3 -7
- package/components/input/index.mjs +3 -7
- package/components/input/src/ctx.d.ts +21 -15
- package/components/input/src/index.vue.d.ts +314 -331
- package/components/input/src/types.d.ts +1 -1
- package/components/input-collection/src/ctx.d.ts +2 -2
- package/components/input-collection/src/index.vue.d.ts +267 -334
- package/components/input-collection/src/types.d.ts +1 -1
- package/components/input-link/index.cjs +7 -7
- package/components/input-link/index.mjs +7 -7
- package/components/input-link/src/ctx.d.ts +18 -12
- package/components/input-link/src/index.vue.d.ts +43 -31
- package/components/input-number/index.cjs +4 -4
- package/components/input-number/index.mjs +4 -4
- package/components/input-number/src/ctx.d.ts +6 -6
- package/components/input-number/src/index.vue.d.ts +107 -1483
- package/components/monaco-editor/src/ctx.d.ts +2 -2
- package/components/monaco-editor/src/index.vue.d.ts +5 -5
- package/components/monaco-editor/src/types.d.ts +1 -1
- package/components/radio/index.cjs +4 -4
- package/components/radio/index.mjs +4 -4
- package/components/radio/src/ctx.d.ts +6 -6
- package/components/radio/src/index.vue.d.ts +317 -303
- package/components/select/src/ctx.d.ts +2 -2
- package/components/select/src/index.vue.d.ts +33 -12877
- package/components/slider/src/ctx.d.ts +12 -12
- package/components/slider/src/index.vue.d.ts +29 -31
- package/components/switch/index.cjs +6 -7
- package/components/switch/index.mjs +6 -7
- package/components/switch/src/ctx.d.ts +11 -11
- package/components/switch/src/index.vue.d.ts +157 -206
- package/components/templates-default/index.cjs +0 -2
- package/components/templates-default/index.mjs +0 -2
- package/components/templates-default/src/index.vue.d.ts +2 -22
- package/components/templates-element-plus/src/index.vue.d.ts +92 -144
- package/components/templates-layout/index.cjs +1 -1
- package/components/templates-layout/index.mjs +1 -1
- package/components/templates-layout/src/index.vue.d.ts +107 -95
- package/components/upload/src/ctx.d.ts +7 -7
- package/components/upload/src/file.vue.d.ts +136 -193
- package/components/upload/src/index.vue.d.ts +386 -1888
- package/components/upload/src/types.d.ts +5 -0
- package/components/upload-plus/src/ctx.d.ts +2 -2
- package/components/upload-plus/src/index.vue.d.ts +484 -556
- package/components/van-cascader/src/ctx.d.ts +15 -4
- package/components/van-cascader/src/index.vue.d.ts +960 -10948
- package/components/var-datetime-picker/src/const.d.ts +1 -1
- package/components/var-datetime-picker/src/ctx.d.ts +2 -2
- package/components/var-datetime-picker/src/index.vue.d.ts +157 -212
- package/components/var-datetime-picker/src/types.d.ts +1 -1
- package/components/vditor/src/ctx.d.ts +2 -2
- package/components/vditor/src/index.vue.d.ts +5 -5
- package/components/vditor/src/types.d.ts +1 -1
- package/package.json +1 -1
- package/shared/const/index.d.ts +0 -4
- package/shared/element-plus/ctx.d.ts +0 -26
- package/shared/element-plus/index.d.ts +0 -3
- package/shared/element-plus/instances.d.ts +0 -195
- package/shared/element-plus/version.d.ts +0 -1
- package/shared/form/index.d.ts +0 -18
- package/shared/helper/index.d.ts +0 -4
- package/shared/index.d.ts +0 -2
- package/shared/infer-prop/index.d.ts +0 -17
- package/shared/progress-it/index.d.ts +0 -16
- package/shared/rules/index.d.ts +0 -35
- package/shared/types/form/checkbox.d.ts +0 -13
- package/shared/types/form/index.d.ts +0 -2
- package/shared/types/form/radio.d.ts +0 -8
- package/shared/types/index.d.ts +0 -2
- package/shared/types/source/index.d.ts +0 -21
- package/shared/types/source-manager/index.d.ts +0 -6
- package/shared/upload/index.d.ts +0 -7
|
@@ -9,13 +9,13 @@ export declare const props: {
|
|
|
9
9
|
showInput: BooleanConstructor;
|
|
10
10
|
showInputControls: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
11
11
|
size: {
|
|
12
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
12
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
13
13
|
readonly required: false;
|
|
14
14
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
15
15
|
__epPropKey: true;
|
|
16
16
|
};
|
|
17
17
|
inputSize: {
|
|
18
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
18
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
19
19
|
readonly required: false;
|
|
20
20
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
21
21
|
__epPropKey: true;
|
|
@@ -36,7 +36,6 @@ export declare const props: {
|
|
|
36
36
|
vertical: BooleanConstructor;
|
|
37
37
|
height: StringConstructor;
|
|
38
38
|
debounce: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
39
|
-
label: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
40
39
|
rangeStartLabel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
41
40
|
rangeEndLabel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
42
41
|
formatValueText: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (val: number) => string) | (() => (val: number) => string) | {
|
|
@@ -52,16 +51,16 @@ export declare const props: {
|
|
|
52
51
|
placement: import("element-plus/es/utils").EpPropFinalized<StringConstructor, import("element-plus").Placement, unknown, "top", boolean>;
|
|
53
52
|
marks: {
|
|
54
53
|
readonly type: import("vue").PropType<{
|
|
55
|
-
[x: number]: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
54
|
+
[x: number]: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | {
|
|
56
55
|
style: import("vue").CSSProperties;
|
|
57
56
|
label: any;
|
|
58
|
-
})
|
|
57
|
+
}) | (() => string | {
|
|
59
58
|
style: import("vue").CSSProperties;
|
|
60
59
|
label: any;
|
|
61
|
-
}) | ((new (...args: any[]) =>
|
|
60
|
+
}) | ((new (...args: any[]) => string | {
|
|
62
61
|
style: import("vue").CSSProperties;
|
|
63
62
|
label: any;
|
|
64
|
-
})
|
|
63
|
+
}) | (() => string | {
|
|
65
64
|
style: import("vue").CSSProperties;
|
|
66
65
|
label: any;
|
|
67
66
|
}))[], unknown, unknown>;
|
|
@@ -96,9 +95,10 @@ export declare const props: {
|
|
|
96
95
|
type: import("vue").PropType<"right">;
|
|
97
96
|
default: string;
|
|
98
97
|
};
|
|
98
|
+
label: StringConstructor;
|
|
99
99
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
100
100
|
prop: {
|
|
101
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
101
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
102
102
|
readonly required: false;
|
|
103
103
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
104
|
__epPropKey: true;
|
|
@@ -111,7 +111,7 @@ export declare const props: {
|
|
|
111
111
|
};
|
|
112
112
|
error: StringConstructor;
|
|
113
113
|
validateStatus: {
|
|
114
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
114
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
115
115
|
readonly required: false;
|
|
116
116
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
117
117
|
__epPropKey: true;
|
|
@@ -121,7 +121,7 @@ export declare const props: {
|
|
|
121
121
|
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
122
122
|
};
|
|
123
123
|
export declare const emits: {
|
|
124
|
-
"update:modelValue": (value: import("element-plus/es/utils").Arrayable<number>) =>
|
|
125
|
-
input: (value: import("element-plus/es/utils").Arrayable<number>) =>
|
|
126
|
-
change: (value: import("element-plus/es/utils").Arrayable<number>) =>
|
|
124
|
+
"update:modelValue": (value: import("element-plus/es/utils").Arrayable<number>) => value is number | number[];
|
|
125
|
+
input: (value: import("element-plus/es/utils").Arrayable<number>) => value is number | number[];
|
|
126
|
+
change: (value: import("element-plus/es/utils").Arrayable<number>) => value is number | number[];
|
|
127
127
|
};
|
|
@@ -9,13 +9,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9
9
|
showInput: BooleanConstructor;
|
|
10
10
|
showInputControls: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
11
11
|
size: {
|
|
12
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
12
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
13
13
|
readonly required: false;
|
|
14
14
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
15
15
|
__epPropKey: true;
|
|
16
16
|
};
|
|
17
17
|
inputSize: {
|
|
18
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
18
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
19
19
|
readonly required: false;
|
|
20
20
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
21
21
|
__epPropKey: true;
|
|
@@ -36,7 +36,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
36
36
|
vertical: BooleanConstructor;
|
|
37
37
|
height: StringConstructor;
|
|
38
38
|
debounce: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
39
|
-
label: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
40
39
|
rangeStartLabel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
41
40
|
rangeEndLabel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
42
41
|
formatValueText: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (val: number) => string) | (() => (val: number) => string) | {
|
|
@@ -52,16 +51,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
52
51
|
placement: import("element-plus/es/utils").EpPropFinalized<StringConstructor, import("element-plus").Placement, unknown, "top", boolean>;
|
|
53
52
|
marks: {
|
|
54
53
|
readonly type: import("vue").PropType<{
|
|
55
|
-
[x: number]: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
54
|
+
[x: number]: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | {
|
|
56
55
|
style: import("vue").CSSProperties;
|
|
57
56
|
label: any;
|
|
58
|
-
})
|
|
57
|
+
}) | (() => string | {
|
|
59
58
|
style: import("vue").CSSProperties;
|
|
60
59
|
label: any;
|
|
61
|
-
}) | ((new (...args: any[]) =>
|
|
60
|
+
}) | ((new (...args: any[]) => string | {
|
|
62
61
|
style: import("vue").CSSProperties;
|
|
63
62
|
label: any;
|
|
64
|
-
})
|
|
63
|
+
}) | (() => string | {
|
|
65
64
|
style: import("vue").CSSProperties;
|
|
66
65
|
label: any;
|
|
67
66
|
}))[], unknown, unknown>;
|
|
@@ -96,9 +95,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
96
95
|
type: import("vue").PropType<"right">;
|
|
97
96
|
default: string;
|
|
98
97
|
};
|
|
98
|
+
label: StringConstructor;
|
|
99
99
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
100
100
|
prop: {
|
|
101
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
101
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
102
102
|
readonly required: false;
|
|
103
103
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
104
|
__epPropKey: true;
|
|
@@ -111,7 +111,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
111
111
|
};
|
|
112
112
|
error: StringConstructor;
|
|
113
113
|
validateStatus: {
|
|
114
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
114
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
115
115
|
readonly required: false;
|
|
116
116
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
117
117
|
__epPropKey: true;
|
|
@@ -123,8 +123,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
123
123
|
readonly: import("vue").ComputedRef<boolean>;
|
|
124
124
|
formItemBindProps: import("vue").ComputedRef<{}>;
|
|
125
125
|
coreProps: import("vue").ComputedRef<{
|
|
126
|
-
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
127
|
-
label: string;
|
|
126
|
+
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>;
|
|
128
127
|
min: number;
|
|
129
128
|
max: number;
|
|
130
129
|
vertical: boolean;
|
|
@@ -133,11 +132,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
133
132
|
debounce: number;
|
|
134
133
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
135
134
|
ariaLabel: string;
|
|
136
|
-
inputSize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>;
|
|
137
135
|
step: number;
|
|
138
136
|
height: string;
|
|
139
137
|
showInput: boolean;
|
|
140
138
|
showInputControls: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
139
|
+
inputSize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>;
|
|
141
140
|
showStops: boolean;
|
|
142
141
|
showTooltip: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
143
142
|
formatTooltip: (val: number) => number | string;
|
|
@@ -147,16 +146,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
147
146
|
formatValueText: (val: number) => string;
|
|
148
147
|
tooltipClass: string;
|
|
149
148
|
marks: {
|
|
150
|
-
[x: number]: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
149
|
+
[x: number]: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | {
|
|
151
150
|
style: import("vue").CSSProperties;
|
|
152
151
|
label: any;
|
|
153
|
-
})
|
|
152
|
+
}) | (() => string | {
|
|
154
153
|
style: import("vue").CSSProperties;
|
|
155
154
|
label: any;
|
|
156
|
-
}) | ((new (...args: any[]) =>
|
|
155
|
+
}) | ((new (...args: any[]) => string | {
|
|
157
156
|
style: import("vue").CSSProperties;
|
|
158
157
|
label: any;
|
|
159
|
-
})
|
|
158
|
+
}) | (() => string | {
|
|
160
159
|
style: import("vue").CSSProperties;
|
|
161
160
|
label: any;
|
|
162
161
|
}))[], unknown, unknown>;
|
|
@@ -164,9 +163,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
164
163
|
}>;
|
|
165
164
|
coreEmits: {};
|
|
166
165
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
167
|
-
"update:modelValue": (value: import("element-plus/es/utils").Arrayable<number>) =>
|
|
168
|
-
input: (value: import("element-plus/es/utils").Arrayable<number>) =>
|
|
169
|
-
change: (value: import("element-plus/es/utils").Arrayable<number>) =>
|
|
166
|
+
"update:modelValue": (value: import("element-plus/es/utils").Arrayable<number>) => value is number | number[];
|
|
167
|
+
input: (value: import("element-plus/es/utils").Arrayable<number>) => value is number | number[];
|
|
168
|
+
change: (value: import("element-plus/es/utils").Arrayable<number>) => value is number | number[];
|
|
170
169
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
171
170
|
modelValue: any;
|
|
172
171
|
defaultModelValue: any;
|
|
@@ -178,13 +177,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
178
177
|
showInput: BooleanConstructor;
|
|
179
178
|
showInputControls: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
180
179
|
size: {
|
|
181
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
180
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
182
181
|
readonly required: false;
|
|
183
182
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
184
183
|
__epPropKey: true;
|
|
185
184
|
};
|
|
186
185
|
inputSize: {
|
|
187
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
186
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
188
187
|
readonly required: false;
|
|
189
188
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
190
189
|
__epPropKey: true;
|
|
@@ -205,7 +204,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
205
204
|
vertical: BooleanConstructor;
|
|
206
205
|
height: StringConstructor;
|
|
207
206
|
debounce: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
208
|
-
label: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
209
207
|
rangeStartLabel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
210
208
|
rangeEndLabel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
211
209
|
formatValueText: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (val: number) => string) | (() => (val: number) => string) | {
|
|
@@ -221,16 +219,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
221
219
|
placement: import("element-plus/es/utils").EpPropFinalized<StringConstructor, import("element-plus").Placement, unknown, "top", boolean>;
|
|
222
220
|
marks: {
|
|
223
221
|
readonly type: import("vue").PropType<{
|
|
224
|
-
[x: number]: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
222
|
+
[x: number]: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | {
|
|
225
223
|
style: import("vue").CSSProperties;
|
|
226
224
|
label: any;
|
|
227
|
-
})
|
|
225
|
+
}) | (() => string | {
|
|
228
226
|
style: import("vue").CSSProperties;
|
|
229
227
|
label: any;
|
|
230
|
-
}) | ((new (...args: any[]) =>
|
|
228
|
+
}) | ((new (...args: any[]) => string | {
|
|
231
229
|
style: import("vue").CSSProperties;
|
|
232
230
|
label: any;
|
|
233
|
-
})
|
|
231
|
+
}) | (() => string | {
|
|
234
232
|
style: import("vue").CSSProperties;
|
|
235
233
|
label: any;
|
|
236
234
|
}))[], unknown, unknown>;
|
|
@@ -265,9 +263,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
265
263
|
type: import("vue").PropType<"right">;
|
|
266
264
|
default: string;
|
|
267
265
|
};
|
|
266
|
+
label: StringConstructor;
|
|
268
267
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
269
268
|
prop: {
|
|
270
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
269
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
271
270
|
readonly required: false;
|
|
272
271
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
273
272
|
__epPropKey: true;
|
|
@@ -280,7 +279,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
280
279
|
};
|
|
281
280
|
error: StringConstructor;
|
|
282
281
|
validateStatus: {
|
|
283
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
282
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
284
283
|
readonly required: false;
|
|
285
284
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
286
285
|
__epPropKey: true;
|
|
@@ -290,17 +289,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
290
289
|
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
291
290
|
}>> & Readonly<{
|
|
292
291
|
"onUpdate:modelValue"?: (value: import("element-plus/es/utils").Arrayable<number>) => any;
|
|
293
|
-
onInput?: (value: import("element-plus/es/utils").Arrayable<number>) => any;
|
|
294
292
|
onChange?: (value: import("element-plus/es/utils").Arrayable<number>) => any;
|
|
293
|
+
onInput?: (value: import("element-plus/es/utils").Arrayable<number>) => any;
|
|
295
294
|
}>, {
|
|
296
295
|
disabled: boolean;
|
|
297
296
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
298
|
-
formItemSize: "
|
|
297
|
+
formItemSize: "small" | "default" | "large";
|
|
299
298
|
formItemSlots: import("@vunk/form/components/form-item/src/types").FormItemSlots;
|
|
300
299
|
inline: boolean;
|
|
301
300
|
readonly: boolean;
|
|
302
301
|
labelPosition: "right";
|
|
303
|
-
label: string;
|
|
304
302
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
305
303
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
306
304
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -27,14 +27,13 @@ var _sfc_main = vue.defineComponent({
|
|
|
27
27
|
ElSwitch: elementPlus.ElSwitch,
|
|
28
28
|
VkfFormItem: formItem.VkfFormItem
|
|
29
29
|
},
|
|
30
|
-
emits,
|
|
31
30
|
props,
|
|
31
|
+
emits,
|
|
32
32
|
setup(props2, { emit }) {
|
|
33
33
|
const formItemBindProps = formItem._VkfFormItemCtx.createBindProps(props2);
|
|
34
34
|
const switchBindProps = elementPlus$1.createSwitchBindProps(props2, [
|
|
35
35
|
"modelValue",
|
|
36
|
-
"disabled"
|
|
37
|
-
"label"
|
|
36
|
+
"disabled"
|
|
38
37
|
]);
|
|
39
38
|
const switchOnEmits = elementPlus$1.createSwitchOnEmits(emit);
|
|
40
39
|
const readonly = composables.useComputedReadonly(props2);
|
|
@@ -59,16 +58,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
59
58
|
class: {
|
|
60
59
|
"is-readonly": _ctx.readonly
|
|
61
60
|
},
|
|
62
|
-
|
|
63
|
-
}, _ctx.switchBindProps,
|
|
61
|
+
"model-value": _ctx.modelValue ?? _ctx.defaultModelValue
|
|
62
|
+
}, _ctx.switchBindProps, {
|
|
64
63
|
disabled: _ctx.readonly || _ctx.disabled
|
|
65
|
-
}), {
|
|
64
|
+
}, vue.toHandlers(_ctx.switchOnEmits)), {
|
|
66
65
|
default: vue.withCtx(() => [
|
|
67
66
|
vue.renderSlot(_ctx.$slots, "default")
|
|
68
67
|
]),
|
|
69
68
|
_: 3
|
|
70
69
|
/* FORWARDED */
|
|
71
|
-
}, 16, ["class", "
|
|
70
|
+
}, 16, ["class", "model-value", "disabled"])
|
|
72
71
|
]),
|
|
73
72
|
_: 3
|
|
74
73
|
/* FORWARDED */
|
|
@@ -23,14 +23,13 @@ var _sfc_main = defineComponent({
|
|
|
23
23
|
ElSwitch,
|
|
24
24
|
VkfFormItem
|
|
25
25
|
},
|
|
26
|
-
emits,
|
|
27
26
|
props,
|
|
27
|
+
emits,
|
|
28
28
|
setup(props2, { emit }) {
|
|
29
29
|
const formItemBindProps = _VkfFormItemCtx.createBindProps(props2);
|
|
30
30
|
const switchBindProps = createSwitchBindProps(props2, [
|
|
31
31
|
"modelValue",
|
|
32
|
-
"disabled"
|
|
33
|
-
"label"
|
|
32
|
+
"disabled"
|
|
34
33
|
]);
|
|
35
34
|
const switchOnEmits = createSwitchOnEmits(emit);
|
|
36
35
|
const readonly = useComputedReadonly(props2);
|
|
@@ -55,16 +54,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
55
54
|
class: {
|
|
56
55
|
"is-readonly": _ctx.readonly
|
|
57
56
|
},
|
|
58
|
-
|
|
59
|
-
}, _ctx.switchBindProps,
|
|
57
|
+
"model-value": _ctx.modelValue ?? _ctx.defaultModelValue
|
|
58
|
+
}, _ctx.switchBindProps, {
|
|
60
59
|
disabled: _ctx.readonly || _ctx.disabled
|
|
61
|
-
}), {
|
|
60
|
+
}, toHandlers(_ctx.switchOnEmits)), {
|
|
62
61
|
default: withCtx(() => [
|
|
63
62
|
renderSlot(_ctx.$slots, "default")
|
|
64
63
|
]),
|
|
65
64
|
_: 3
|
|
66
65
|
/* FORWARDED */
|
|
67
|
-
}, 16, ["class", "
|
|
66
|
+
}, 16, ["class", "model-value", "disabled"])
|
|
68
67
|
]),
|
|
69
68
|
_: 3
|
|
70
69
|
/* FORWARDED */
|
|
@@ -4,36 +4,36 @@ export declare const props: {
|
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
6
6
|
ariaLabel: StringConstructor;
|
|
7
|
-
disabled:
|
|
8
|
-
loading:
|
|
7
|
+
disabled: BooleanConstructor;
|
|
8
|
+
loading: BooleanConstructor;
|
|
9
9
|
size: {
|
|
10
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
10
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "" | "small" | "default" | "large") | (() => "" | "small" | "default" | "large") | ((new (...args: any[]) => "" | "small" | "default" | "large") | (() => "" | "small" | "default" | "large"))[], unknown, "" | "small" | "default" | "large">>;
|
|
11
11
|
readonly required: false;
|
|
12
12
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13
13
|
__epPropKey: true;
|
|
14
14
|
};
|
|
15
15
|
width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
16
|
-
inlinePrompt:
|
|
16
|
+
inlinePrompt: BooleanConstructor;
|
|
17
17
|
inactiveActionIcon: {
|
|
18
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component
|
|
18
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
19
19
|
readonly required: false;
|
|
20
20
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
21
21
|
__epPropKey: true;
|
|
22
22
|
};
|
|
23
23
|
activeActionIcon: {
|
|
24
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component
|
|
24
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
25
25
|
readonly required: false;
|
|
26
26
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
27
27
|
__epPropKey: true;
|
|
28
28
|
};
|
|
29
29
|
activeIcon: {
|
|
30
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component
|
|
30
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
31
31
|
readonly required: false;
|
|
32
32
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
33
33
|
__epPropKey: true;
|
|
34
34
|
};
|
|
35
35
|
inactiveIcon: {
|
|
36
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component
|
|
36
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
37
37
|
readonly required: false;
|
|
38
38
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
39
39
|
__epPropKey: true;
|
|
@@ -57,7 +57,6 @@ export declare const props: {
|
|
|
57
57
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
58
|
__epPropKey: true;
|
|
59
59
|
};
|
|
60
|
-
label: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
61
60
|
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
62
61
|
formItemSize: {
|
|
63
62
|
type: import("vue").PropType<"default" | "small" | "large">;
|
|
@@ -83,9 +82,10 @@ export declare const props: {
|
|
|
83
82
|
type: import("vue").PropType<"right">;
|
|
84
83
|
default: string;
|
|
85
84
|
};
|
|
85
|
+
label: StringConstructor;
|
|
86
86
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
87
87
|
prop: {
|
|
88
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) =>
|
|
88
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
89
89
|
readonly required: false;
|
|
90
90
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
91
91
|
__epPropKey: true;
|
|
@@ -98,7 +98,7 @@ export declare const props: {
|
|
|
98
98
|
};
|
|
99
99
|
error: StringConstructor;
|
|
100
100
|
validateStatus: {
|
|
101
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
101
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
102
102
|
readonly required: false;
|
|
103
103
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
104
|
__epPropKey: true;
|