@vunk/form 1.1.71 → 1.1.73
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 +26 -26
- package/components/cascader/src/ctx.d.ts +3 -3
- package/components/cascader/src/index.vue.d.ts +29 -29
- package/components/checkbox/src/ctx.d.ts +6 -6
- package/components/checkbox/src/index.vue.d.ts +22 -22
- package/components/color-picker/src/ctx.d.ts +5 -5
- package/components/color-picker/src/index.vue.d.ts +15 -15
- package/components/date-picker/src/ctx.d.ts +5 -5
- package/components/date-picker/src/index.vue.d.ts +28 -28
- package/components/download-plus/index.css +74 -0
- package/components/download-plus/index.d.ts +4 -0
- package/components/download-plus/index.js +418 -0
- package/components/download-plus/src/api.d.ts +13 -0
- package/components/download-plus/src/api.js +1 -0
- package/components/download-plus/src/const.d.ts +9 -0
- package/components/download-plus/src/const.js +1 -0
- package/components/download-plus/src/ctx.d.ts +83 -0
- package/components/download-plus/src/ctx.js +1 -0
- package/components/download-plus/src/index.css +1 -0
- package/components/download-plus/src/index.vue.d.ts +199 -0
- package/components/download-plus/src/types.d.ts +17 -0
- package/components/download-plus/src/types.js +1 -0
- package/components/esri-input-geojson/src/ctx.d.ts +3 -3
- package/components/esri-input-geojson/src/index.vue.d.ts +23 -23
- package/components/form/src/ctx.d.ts +1 -1
- package/components/form/src/index.vue.d.ts +5 -5
- package/components/form-item/src/ctx.d.ts +1 -1
- package/components/form-item/src/index.vue.d.ts +3 -3
- package/components/geoinput/src/ctx.d.ts +1 -1
- package/components/geoinput/src/index.vue.d.ts +12 -12
- package/components/geoinput-read/src/core.vue.d.ts +29 -29
- package/components/geoinput-read/src/ctx.d.ts +7 -7
- package/components/geoinput-read/src/index.vue.d.ts +19 -19
- package/components/geoinput-update/src/ctx.d.ts +7 -7
- package/components/geoinput-update/src/index.vue.d.ts +31 -31
- package/components/input/src/ctx.d.ts +7 -7
- package/components/input/src/index.vue.d.ts +27 -27
- package/components/input-link/src/ctx.d.ts +1 -1
- package/components/input-link/src/index.vue.d.ts +12 -12
- package/components/input-number/src/ctx.d.ts +3 -3
- package/components/input-number/src/index.vue.d.ts +11 -11
- package/components/radio/src/ctx.d.ts +5 -5
- package/components/radio/src/index.vue.d.ts +19 -19
- package/components/select/src/ctx.d.ts +8 -8
- package/components/select/src/index.vue.d.ts +59 -59
- package/components/slider/src/ctx.d.ts +5 -5
- package/components/slider/src/index.vue.d.ts +19 -19
- package/components/switch/src/ctx.d.ts +5 -5
- package/components/switch/src/index.vue.d.ts +19 -19
- package/components/upload/src/ctx.d.ts +6 -6
- package/components/upload/src/index.vue.d.ts +17 -17
- package/components/upload-plus/index.css +2 -0
- package/components/upload-plus/index.js +43 -13
- package/components/upload-plus/src/api.js +6 -6
- package/components/upload-plus/src/ctx.d.ts +22 -6
- package/components/upload-plus/src/ctx.js +1 -1
- package/components/upload-plus/src/index.vue.d.ts +16 -15
- package/components/van-cascader/src/ctx.d.ts +1 -1
- package/components/van-cascader/src/index.vue.d.ts +19 -19
- package/components/var-datetime-picker/src/ctx.d.ts +1 -1
- package/components/var-datetime-picker/src/index.vue.d.ts +6 -6
- package/index.css +79 -0
- package/package.json +1 -1
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { Status } from './const';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
fileId: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
url: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: any;
|
|
10
|
+
};
|
|
11
|
+
chunkSize: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
fileServiceType: {
|
|
16
|
+
type: import("vue").PropType<import("../../upload-plus/src/types").FileServiceType>;
|
|
17
|
+
default: any;
|
|
18
|
+
};
|
|
19
|
+
fileStatus: {
|
|
20
|
+
type: import("vue").PropType<Status>;
|
|
21
|
+
default: any;
|
|
22
|
+
};
|
|
23
|
+
label: StringConstructor;
|
|
24
|
+
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
25
|
+
prop: {
|
|
26
|
+
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>>;
|
|
27
|
+
readonly required: false;
|
|
28
|
+
readonly validator: (val: unknown) => boolean;
|
|
29
|
+
__epPropKey: true;
|
|
30
|
+
};
|
|
31
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
32
|
+
rules: {
|
|
33
|
+
readonly type: import("vue").PropType<unknown>;
|
|
34
|
+
readonly required: false;
|
|
35
|
+
readonly validator: (val: unknown) => boolean;
|
|
36
|
+
__epPropKey: true;
|
|
37
|
+
};
|
|
38
|
+
error: StringConstructor;
|
|
39
|
+
validateStatus: {
|
|
40
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
41
|
+
readonly required: false;
|
|
42
|
+
readonly validator: (val: unknown) => boolean;
|
|
43
|
+
__epPropKey: true;
|
|
44
|
+
};
|
|
45
|
+
for: StringConstructor;
|
|
46
|
+
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
47
|
+
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
48
|
+
formItemSize: {
|
|
49
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
50
|
+
default: "default" | "small" | "large";
|
|
51
|
+
};
|
|
52
|
+
formItemSlots: {
|
|
53
|
+
type: import("vue").PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
54
|
+
default: any;
|
|
55
|
+
};
|
|
56
|
+
elRef: {
|
|
57
|
+
type: import("vue").PropType<any>;
|
|
58
|
+
required: boolean;
|
|
59
|
+
};
|
|
60
|
+
inline: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
readonly: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: any;
|
|
67
|
+
};
|
|
68
|
+
labelPosition: {
|
|
69
|
+
type: import("vue").PropType<"right">;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
}, {
|
|
73
|
+
formItemBindProps: import("vue").ComputedRef<{}>;
|
|
74
|
+
fileInfo: import("vue").Ref<{
|
|
75
|
+
id: string;
|
|
76
|
+
name: string;
|
|
77
|
+
url: string;
|
|
78
|
+
response: {
|
|
79
|
+
fileName: string;
|
|
80
|
+
size: number;
|
|
81
|
+
memo: string;
|
|
82
|
+
realName: string;
|
|
83
|
+
fileId: string;
|
|
84
|
+
fileServiceType: string;
|
|
85
|
+
id: string;
|
|
86
|
+
};
|
|
87
|
+
fileName: string;
|
|
88
|
+
size: number;
|
|
89
|
+
memo: string;
|
|
90
|
+
realName: string;
|
|
91
|
+
fileId: string;
|
|
92
|
+
fileServiceType: string;
|
|
93
|
+
}>;
|
|
94
|
+
handleDownload: () => void;
|
|
95
|
+
handlePause: () => void;
|
|
96
|
+
Status: typeof Status;
|
|
97
|
+
chunks: import("vue").Ref<{
|
|
98
|
+
fileId: string;
|
|
99
|
+
start: number;
|
|
100
|
+
end: number;
|
|
101
|
+
status: Status;
|
|
102
|
+
index: number;
|
|
103
|
+
fileServiceType?: import("../../upload-plus/src/types").FileServiceType;
|
|
104
|
+
progress: number;
|
|
105
|
+
data?: Blob;
|
|
106
|
+
}[]>;
|
|
107
|
+
fileStatus: import("vue").WritableComputedRef<Status>;
|
|
108
|
+
Download: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
109
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
110
|
+
'update:fileStatus': any;
|
|
111
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
112
|
+
fileId: {
|
|
113
|
+
type: StringConstructor;
|
|
114
|
+
default: string;
|
|
115
|
+
};
|
|
116
|
+
url: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
default: any;
|
|
119
|
+
};
|
|
120
|
+
chunkSize: {
|
|
121
|
+
type: NumberConstructor;
|
|
122
|
+
default: number;
|
|
123
|
+
};
|
|
124
|
+
fileServiceType: {
|
|
125
|
+
type: import("vue").PropType<import("../../upload-plus/src/types").FileServiceType>;
|
|
126
|
+
default: any;
|
|
127
|
+
};
|
|
128
|
+
fileStatus: {
|
|
129
|
+
type: import("vue").PropType<Status>;
|
|
130
|
+
default: any;
|
|
131
|
+
};
|
|
132
|
+
label: StringConstructor;
|
|
133
|
+
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
134
|
+
prop: {
|
|
135
|
+
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>>;
|
|
136
|
+
readonly required: false;
|
|
137
|
+
readonly validator: (val: unknown) => boolean;
|
|
138
|
+
__epPropKey: true;
|
|
139
|
+
};
|
|
140
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
141
|
+
rules: {
|
|
142
|
+
readonly type: import("vue").PropType<unknown>;
|
|
143
|
+
readonly required: false;
|
|
144
|
+
readonly validator: (val: unknown) => boolean;
|
|
145
|
+
__epPropKey: true;
|
|
146
|
+
};
|
|
147
|
+
error: StringConstructor;
|
|
148
|
+
validateStatus: {
|
|
149
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
150
|
+
readonly required: false;
|
|
151
|
+
readonly validator: (val: unknown) => boolean;
|
|
152
|
+
__epPropKey: true;
|
|
153
|
+
};
|
|
154
|
+
for: StringConstructor;
|
|
155
|
+
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
156
|
+
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
157
|
+
formItemSize: {
|
|
158
|
+
type: import("vue").PropType<"default" | "small" | "large">;
|
|
159
|
+
default: "default" | "small" | "large";
|
|
160
|
+
};
|
|
161
|
+
formItemSlots: {
|
|
162
|
+
type: import("vue").PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
163
|
+
default: any;
|
|
164
|
+
};
|
|
165
|
+
elRef: {
|
|
166
|
+
type: import("vue").PropType<any>;
|
|
167
|
+
required: boolean;
|
|
168
|
+
};
|
|
169
|
+
inline: {
|
|
170
|
+
type: BooleanConstructor;
|
|
171
|
+
default: boolean;
|
|
172
|
+
};
|
|
173
|
+
readonly: {
|
|
174
|
+
type: BooleanConstructor;
|
|
175
|
+
default: any;
|
|
176
|
+
};
|
|
177
|
+
labelPosition: {
|
|
178
|
+
type: import("vue").PropType<"right">;
|
|
179
|
+
default: string;
|
|
180
|
+
};
|
|
181
|
+
}>> & {
|
|
182
|
+
"onUpdate:fileStatus"?: (...args: any[] | unknown[]) => any;
|
|
183
|
+
}, {
|
|
184
|
+
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
185
|
+
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
186
|
+
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
187
|
+
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
188
|
+
formItemSize: "default" | "small" | "large";
|
|
189
|
+
formItemSlots: import("../../form-item/src/types").FormItemSlots;
|
|
190
|
+
inline: boolean;
|
|
191
|
+
readonly: boolean;
|
|
192
|
+
labelPosition: "right";
|
|
193
|
+
url: string;
|
|
194
|
+
chunkSize: number;
|
|
195
|
+
fileServiceType: import("../../upload-plus/src/types").FileServiceType;
|
|
196
|
+
fileStatus: Status;
|
|
197
|
+
fileId: string;
|
|
198
|
+
}, {}>;
|
|
199
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { rFile } from '@skzz/platform/api/basic';
|
|
2
|
+
import { ApiReturnType } from '@vunk/core';
|
|
3
|
+
import { Status } from './const';
|
|
4
|
+
import { __VkfUploadPlus } from '@vunk/form/components/upload-plus';
|
|
5
|
+
export type FileInfo = ApiReturnType<typeof rFile>;
|
|
6
|
+
export type FileServiceType = __VkfUploadPlus.FileServiceType;
|
|
7
|
+
export interface DownloadChunk {
|
|
8
|
+
fileId: string;
|
|
9
|
+
start: number;
|
|
10
|
+
end: number;
|
|
11
|
+
status: Status;
|
|
12
|
+
index: number;
|
|
13
|
+
fileServiceType?: FileServiceType;
|
|
14
|
+
progress: number;
|
|
15
|
+
data?: Blob;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -90,7 +90,6 @@ export declare const props: {
|
|
|
90
90
|
type: NumberConstructor;
|
|
91
91
|
default: any;
|
|
92
92
|
};
|
|
93
|
-
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
94
93
|
label: StringConstructor;
|
|
95
94
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
96
95
|
prop: {
|
|
@@ -99,6 +98,7 @@ export declare const props: {
|
|
|
99
98
|
readonly validator: (val: unknown) => boolean;
|
|
100
99
|
__epPropKey: true;
|
|
101
100
|
};
|
|
101
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
102
102
|
rules: {
|
|
103
103
|
readonly type: PropType<unknown>;
|
|
104
104
|
readonly required: false;
|
|
@@ -203,7 +203,7 @@ export declare const props: {
|
|
|
203
203
|
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
204
204
|
autofocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
205
205
|
};
|
|
206
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"
|
|
206
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"autofocus", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"editTypes", keyof T2>, KE> | Exclude<Extract<"showMap", keyof T2>, KE> | Exclude<Extract<"dialogEdit", keyof T2>, KE> | Exclude<Extract<"dialogEditFullscreen", keyof T2>, KE> | Exclude<Extract<"dialogEditTitle", keyof T2>, KE> | Exclude<Extract<"viewModelActiveFillSymbol", keyof T2>, KE> | Exclude<Extract<"visibleElements", keyof T2>, KE> | Exclude<Extract<"view", keyof T2>, KE> | Exclude<Extract<"viewComponent", keyof T2>, KE> | Exclude<Extract<"viewComponentAttrs", keyof T2>, KE> | Exclude<Extract<"viewModelActiveLineSymbol", keyof T2>, KE> | Exclude<Extract<"viewModelActivePointSymbol", keyof T2>, KE> | Exclude<Extract<"skipSave", keyof T2>, KE> | Exclude<Extract<"flying", keyof T2>, KE> | Exclude<Extract<"layerIndex", keyof T2>, KE> : Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: { [k in Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: T2[k]; }[P]; }>;
|
|
207
207
|
export declare const emits: {
|
|
208
208
|
'update:modelValue': (e: FeatureCollection) => FeatureCollection<Geometry, {
|
|
209
209
|
[name: string]: any;
|
|
@@ -226,7 +226,7 @@ export declare const emits: {
|
|
|
226
226
|
compositionupdate: (evt: CompositionEvent) => boolean;
|
|
227
227
|
compositionend: (evt: CompositionEvent) => boolean;
|
|
228
228
|
};
|
|
229
|
-
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("
|
|
229
|
+
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("clear" | "input" | "focus" | "blur" | "update:modelValue" | "change" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend" | "update:flying" | "appendFly" | "appendEdit")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"clear", KE> | Exclude<"input", KE> | Exclude<"focus", KE> | Exclude<"blur", KE> | Exclude<"update:modelValue", KE> | Exclude<"change", KE> | Exclude<"mouseleave", KE> | Exclude<"mouseenter", KE> | Exclude<"keydown", KE> | Exclude<"compositionstart", KE> | Exclude<"compositionupdate", KE> | Exclude<"compositionend", KE> | Exclude<"update:flying", KE> | Exclude<"appendFly", KE> | Exclude<"appendEdit", KE> : "clear" | "input" | "focus" | "blur" | "update:modelValue" | "change" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend" | "update:flying" | "appendFly" | "appendEdit"]: {
|
|
230
230
|
'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
231
231
|
'update:flying': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
232
232
|
appendFly: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
@@ -90,7 +90,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
90
|
type: NumberConstructor;
|
|
91
91
|
default: any;
|
|
92
92
|
};
|
|
93
|
-
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
94
93
|
label: StringConstructor;
|
|
95
94
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
96
95
|
prop: {
|
|
@@ -99,6 +98,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
99
98
|
readonly validator: (val: unknown) => boolean;
|
|
100
99
|
__epPropKey: true;
|
|
101
100
|
};
|
|
101
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
102
102
|
rules: {
|
|
103
103
|
readonly type: import("vue").PropType<unknown>;
|
|
104
104
|
readonly required: false;
|
|
@@ -204,28 +204,25 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
204
204
|
autofocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
205
205
|
}, {
|
|
206
206
|
inputBindProps: import("vue").ComputedRef<{
|
|
207
|
-
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>;
|
|
208
|
-
placeholder: string;
|
|
209
|
-
disabled: boolean;
|
|
210
|
-
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
211
|
-
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
212
|
-
type: string;
|
|
213
|
-
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
214
|
-
form: string;
|
|
215
207
|
label: string;
|
|
216
208
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
217
209
|
prop: 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>;
|
|
210
|
+
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
218
211
|
rules: unknown;
|
|
219
212
|
error: string;
|
|
220
213
|
validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>;
|
|
221
214
|
for: string;
|
|
222
215
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
223
216
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
217
|
+
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>;
|
|
218
|
+
type: string;
|
|
224
219
|
formItemSize: "default" | "small" | "large";
|
|
225
220
|
formItemSlots: import("../../form-item/src/types").FormItemSlots;
|
|
226
221
|
elRef: any;
|
|
227
222
|
inline: boolean;
|
|
228
223
|
labelPosition: "right";
|
|
224
|
+
disabled: boolean;
|
|
225
|
+
autofocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
229
226
|
id: string;
|
|
230
227
|
maxlength: number;
|
|
231
228
|
minlength: number;
|
|
@@ -234,22 +231,25 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
234
231
|
autocomplete: string;
|
|
235
232
|
formatter: Function;
|
|
236
233
|
parser: Function;
|
|
234
|
+
placeholder: string;
|
|
235
|
+
form: string;
|
|
236
|
+
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
237
237
|
showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
238
238
|
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
239
239
|
suffixIcon: unknown;
|
|
240
240
|
prefixIcon: unknown;
|
|
241
241
|
containerRole: string;
|
|
242
242
|
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
243
|
+
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
243
244
|
inputStyle: import("vue").StyleValue;
|
|
244
|
-
autofocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
245
245
|
rows: number;
|
|
246
246
|
}>;
|
|
247
247
|
inputOnEmits: {
|
|
248
|
-
input: (...e: any) => void;
|
|
249
248
|
clear: (...e: any) => void;
|
|
250
|
-
|
|
249
|
+
input: (...e: any) => void;
|
|
251
250
|
focus: (...e: any) => void;
|
|
252
251
|
blur: (...e: any) => void;
|
|
252
|
+
change: (...e: any) => void;
|
|
253
253
|
mouseleave: (...e: any) => void;
|
|
254
254
|
mouseenter: (...e: any) => void;
|
|
255
255
|
keydown: (...e: any) => void;
|
|
@@ -386,7 +386,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
386
386
|
type: NumberConstructor;
|
|
387
387
|
default: any;
|
|
388
388
|
};
|
|
389
|
-
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
390
389
|
label: StringConstructor;
|
|
391
390
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
392
391
|
prop: {
|
|
@@ -395,6 +394,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
395
394
|
readonly validator: (val: unknown) => boolean;
|
|
396
395
|
__epPropKey: true;
|
|
397
396
|
};
|
|
397
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
398
398
|
rules: {
|
|
399
399
|
readonly type: import("vue").PropType<unknown>;
|
|
400
400
|
readonly required: false;
|
|
@@ -503,9 +503,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
503
503
|
"onUpdate:modelValue"?: (e: import("geojson").FeatureCollection<import("geojson").Geometry, {
|
|
504
504
|
[name: string]: any;
|
|
505
505
|
}>) => any;
|
|
506
|
+
onInput?: (value: string) => any;
|
|
506
507
|
onFocus?: (evt: FocusEvent) => any;
|
|
507
508
|
onBlur?: (evt: FocusEvent) => any;
|
|
508
|
-
onInput?: (value: string) => any;
|
|
509
509
|
onClear?: () => any;
|
|
510
510
|
onMouseleave?: (evt: MouseEvent) => any;
|
|
511
511
|
onMouseenter?: (evt: MouseEvent) => any;
|
|
@@ -517,32 +517,32 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
517
517
|
onAppendFly?: (...args: any[] | unknown[]) => any;
|
|
518
518
|
onAppendEdit?: (...args: any[] | unknown[]) => any;
|
|
519
519
|
}, {
|
|
520
|
-
disabled: boolean;
|
|
521
|
-
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
522
|
-
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
523
|
-
modelValue: import("geojson").FeatureCollection<import("geojson").Geometry, any>;
|
|
524
|
-
type: string;
|
|
525
|
-
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
526
|
-
multiple: boolean;
|
|
527
|
-
readonly: boolean;
|
|
528
520
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
521
|
+
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
529
522
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
530
523
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
524
|
+
type: string;
|
|
531
525
|
formItemSize: "default" | "small" | "large";
|
|
532
526
|
formItemSlots: import("../../form-item/src/types").FormItemSlots;
|
|
533
527
|
inline: boolean;
|
|
528
|
+
readonly: boolean;
|
|
534
529
|
labelPosition: "right";
|
|
530
|
+
disabled: boolean;
|
|
531
|
+
autofocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
535
532
|
id: string;
|
|
533
|
+
modelValue: import("geojson").FeatureCollection<import("geojson").Geometry, any>;
|
|
536
534
|
autosize: false;
|
|
537
535
|
autocomplete: string;
|
|
536
|
+
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
538
537
|
showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
539
538
|
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
540
539
|
containerRole: string;
|
|
541
540
|
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
541
|
+
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
542
542
|
inputStyle: import("vue").StyleValue;
|
|
543
|
-
autofocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
544
543
|
inputSlots: any;
|
|
545
544
|
rows: number;
|
|
545
|
+
multiple: boolean;
|
|
546
546
|
editTypes: import("./const").EDIT_TYPE | import("./const").EDIT_TYPE[];
|
|
547
547
|
showMap: boolean;
|
|
548
548
|
dialogEdit: boolean;
|
|
@@ -355,7 +355,7 @@ export declare const props: {
|
|
|
355
355
|
};
|
|
356
356
|
disabled: BooleanConstructor;
|
|
357
357
|
};
|
|
358
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"
|
|
358
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"data", keyof T2> | Extract<"model", keyof T2> | Extract<"statusIcon", keyof T2> | Extract<"requireAsteriskPosition", keyof T2> | Extract<"labelSuffix", keyof T2> | Extract<"validateOnRuleChange", keyof T2> | Extract<"hideRequiredAsterisk", keyof T2> | Extract<"scrollToError", keyof T2> | Extract<"scrollIntoViewOptions", keyof T2> | Extract<"formItems", keyof T2> | Extract<"layout", keyof T2> | Extract<"rowSource", keyof T2> | Extract<"colSource", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"data", keyof T2>, KE> | Exclude<Extract<"model", keyof T2>, KE> | Exclude<Extract<"statusIcon", keyof T2>, KE> | Exclude<Extract<"requireAsteriskPosition", keyof T2>, KE> | Exclude<Extract<"labelSuffix", keyof T2>, KE> | Exclude<Extract<"validateOnRuleChange", keyof T2>, KE> | Exclude<Extract<"hideRequiredAsterisk", keyof T2>, KE> | Exclude<Extract<"scrollToError", keyof T2>, KE> | Exclude<Extract<"scrollIntoViewOptions", keyof T2>, KE> | Exclude<Extract<"formItems", keyof T2>, KE> | Exclude<Extract<"layout", keyof T2>, KE> | Exclude<Extract<"rowSource", keyof T2>, KE> | Exclude<Extract<"colSource", keyof T2>, KE> : Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"data", keyof T2> | Extract<"model", keyof T2> | Extract<"statusIcon", keyof T2> | Extract<"requireAsteriskPosition", keyof T2> | Extract<"labelSuffix", keyof T2> | Extract<"validateOnRuleChange", keyof T2> | Extract<"hideRequiredAsterisk", keyof T2> | Extract<"scrollToError", keyof T2> | Extract<"scrollIntoViewOptions", keyof T2> | Extract<"formItems", keyof T2> | Extract<"layout", keyof T2> | Extract<"rowSource", keyof T2> | Extract<"colSource", keyof T2>]: { [k in Extract<"labelWidth", keyof T2> | Extract<"rules", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"data", keyof T2> | Extract<"model", keyof T2> | Extract<"statusIcon", keyof T2> | Extract<"requireAsteriskPosition", keyof T2> | Extract<"labelSuffix", keyof T2> | Extract<"validateOnRuleChange", keyof T2> | Extract<"hideRequiredAsterisk", keyof T2> | Extract<"scrollToError", keyof T2> | Extract<"scrollIntoViewOptions", keyof T2> | Extract<"formItems", keyof T2> | Extract<"layout", keyof T2> | Extract<"rowSource", keyof T2> | Extract<"colSource", keyof T2>]: T2[k]; }[P]; }>;
|
|
359
359
|
export declare const emits: {
|
|
360
360
|
setData: (e: SetDataEvent) => SetDataEvent;
|
|
361
361
|
validate: any;
|
|
@@ -342,14 +342,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
342
342
|
disabled: BooleanConstructor;
|
|
343
343
|
}, {
|
|
344
344
|
formProps: import("vue").ComputedRef<{
|
|
345
|
-
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>;
|
|
346
|
-
disabled: boolean;
|
|
347
345
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
348
346
|
rules: Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>;
|
|
349
347
|
inlineMessage: boolean;
|
|
350
348
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
349
|
+
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>;
|
|
351
350
|
inline: boolean;
|
|
352
351
|
labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
352
|
+
disabled: boolean;
|
|
353
353
|
statusIcon: boolean;
|
|
354
354
|
requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
355
355
|
labelSuffix: string;
|
|
@@ -709,12 +709,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
709
709
|
};
|
|
710
710
|
disabled: BooleanConstructor;
|
|
711
711
|
}>> & {
|
|
712
|
-
onValidate?: (...args: any[] | unknown[]) => any;
|
|
713
712
|
onSubmit?: (...args: any[] | unknown[]) => any;
|
|
714
713
|
onSetData?: (e: import("@vunk/core").SetDataEvent) => any;
|
|
714
|
+
onValidate?: (...args: any[] | unknown[]) => any;
|
|
715
715
|
}, {
|
|
716
|
-
disabled: boolean;
|
|
717
|
-
readonly: boolean;
|
|
718
716
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
719
717
|
inlineMessage: boolean;
|
|
720
718
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1001,7 +999,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1001
999
|
readonly scrollToError: boolean;
|
|
1002
1000
|
}>) => any;
|
|
1003
1001
|
inline: boolean;
|
|
1002
|
+
readonly: boolean;
|
|
1004
1003
|
labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left" | "top", unknown>;
|
|
1004
|
+
disabled: boolean;
|
|
1005
1005
|
data: {};
|
|
1006
1006
|
statusIcon: boolean;
|
|
1007
1007
|
requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
@@ -57,4 +57,4 @@ export declare const props: Omit<{
|
|
|
57
57
|
__epPropKey: true;
|
|
58
58
|
};
|
|
59
59
|
}, "size">;
|
|
60
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"
|
|
60
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> : Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2>]: { [k in Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2>]: T2[k]; }[P]; }>;
|
|
@@ -57,10 +57,10 @@ declare const _default: import("vue").DefineComponent<Omit<{
|
|
|
57
57
|
};
|
|
58
58
|
}, "size">, {
|
|
59
59
|
formItemBindProps: import("vue").ComputedRef<{
|
|
60
|
-
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
61
60
|
label: string;
|
|
62
61
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
63
62
|
prop: 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>;
|
|
63
|
+
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
64
64
|
error: string;
|
|
65
65
|
validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>;
|
|
66
66
|
for: string;
|
|
@@ -127,14 +127,14 @@ declare const _default: import("vue").DefineComponent<Omit<{
|
|
|
127
127
|
__epPropKey: true;
|
|
128
128
|
};
|
|
129
129
|
}, "size">>>, {
|
|
130
|
-
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
131
|
-
readonly: boolean;
|
|
132
130
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
131
|
+
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
133
132
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
134
133
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
135
134
|
formItemSize: "default" | "small" | "large";
|
|
136
135
|
formItemSlots: import("./types").FormItemSlots;
|
|
137
136
|
inline: boolean;
|
|
137
|
+
readonly: boolean;
|
|
138
138
|
labelPosition: "right";
|
|
139
139
|
}, {}>;
|
|
140
140
|
export default _default;
|
|
@@ -80,7 +80,6 @@ export declare const props: {
|
|
|
80
80
|
type: NumberConstructor;
|
|
81
81
|
default: any;
|
|
82
82
|
};
|
|
83
|
-
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
84
83
|
label: StringConstructor;
|
|
85
84
|
labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
86
85
|
prop: {
|
|
@@ -89,6 +88,7 @@ export declare const props: {
|
|
|
89
88
|
readonly validator: (val: unknown) => boolean;
|
|
90
89
|
__epPropKey: true;
|
|
91
90
|
};
|
|
91
|
+
required: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
92
92
|
rules: {
|
|
93
93
|
readonly type: import("vue").PropType<unknown>;
|
|
94
94
|
readonly required: false;
|