@vunk/form 1.1.27 → 1.1.28
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 +2 -2
- package/components/button/src/index.vue.d.ts +11 -11
- package/components/cascader/src/ctx.d.ts +2 -2
- package/components/cascader/src/index.vue.d.ts +27 -27
- package/components/checkbox/src/ctx.d.ts +2 -2
- package/components/checkbox/src/index.vue.d.ts +10 -10
- package/components/color-picker/src/ctx.d.ts +1 -1
- package/components/color-picker/src/index.vue.d.ts +10 -10
- package/components/date-picker/src/ctx.d.ts +1 -1
- package/components/date-picker/src/index.vue.d.ts +16 -16
- package/components/esri-input-geojson/index.js +12 -3
- package/components/esri-input-geojson/src/ctx.d.ts +3 -3
- package/components/esri-input-geojson/src/index.vue.d.ts +18 -21
- package/components/form/src/ctx.d.ts +2 -2
- package/components/form/src/index.vue.d.ts +6 -6
- 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 +23 -23
- package/components/geoinput-read/src/core.vue.d.ts +14 -14
- package/components/geoinput-read/src/ctx.d.ts +3 -3
- package/components/geoinput-read/src/index.vue.d.ts +15 -15
- package/components/geoinput-update/src/ctx.d.ts +3 -3
- package/components/geoinput-update/src/index.vue.d.ts +14 -14
- package/components/input/src/ctx.d.ts +3 -3
- package/components/input/src/index.vue.d.ts +14 -14
- package/components/input-link/src/ctx.d.ts +1 -1
- package/components/input-link/src/index.vue.d.ts +16 -16
- package/components/input-number/src/ctx.d.ts +3 -3
- package/components/input-number/src/index.vue.d.ts +15 -15
- package/components/radio/src/ctx.d.ts +1 -1
- package/components/radio/src/index.vue.d.ts +9 -9
- package/components/select/src/ctx.d.ts +4 -4
- package/components/select/src/index.vue.d.ts +48 -48
- package/components/slider/src/ctx.d.ts +1 -1
- package/components/slider/src/index.vue.d.ts +10 -10
- package/components/switch/src/ctx.d.ts +1 -1
- package/components/switch/src/index.vue.d.ts +7 -7
- package/components/upload/src/ctx.d.ts +2 -2
- package/components/upload/src/index.vue.d.ts +4 -4
- package/components/upload-plus/src/ctx.d.ts +1 -1
- package/components/upload-plus/src/index.vue.d.ts +4 -4
- package/components/van-cascader/src/ctx.d.ts +1 -1
- package/components/van-cascader/src/index.vue.d.ts +18 -18
- package/package.json +1 -1
- package/shared/element-plus/ctx.d.ts +12 -12
|
@@ -89,7 +89,7 @@ export declare const props: {
|
|
|
89
89
|
};
|
|
90
90
|
error: StringConstructor;
|
|
91
91
|
validateStatus: {
|
|
92
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
92
|
+
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
93
93
|
readonly required: false;
|
|
94
94
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
95
95
|
__epPropKey: true;
|
|
@@ -182,7 +182,7 @@ export declare const props: {
|
|
|
182
182
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
183
183
|
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
184
184
|
};
|
|
185
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"
|
|
185
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", 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<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"slots", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", 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<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"editStyles", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"editControls", keyof T2> | Extract<"mapTo", keyof T2> | Extract<"mapCenter", keyof T2> | Extract<"spikSave", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", 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<"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<"slots", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", 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<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"editStyles", 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<"editControls", keyof T2>, KE> | Exclude<Extract<"mapTo", keyof T2>, KE> | Exclude<Extract<"mapCenter", keyof T2>, KE> | Exclude<Extract<"spikSave", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", 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<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"slots", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", 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<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"editStyles", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"editControls", keyof T2> | Extract<"mapTo", keyof T2> | Extract<"mapCenter", keyof T2> | Extract<"spikSave", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", 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<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"slots", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", 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<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"editStyles", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"editControls", keyof T2> | Extract<"mapTo", keyof T2> | Extract<"mapCenter", keyof T2> | Extract<"spikSave", keyof T2>]: T2[k]; }[P]; }>;
|
|
186
186
|
export declare const emits: {
|
|
187
187
|
'update:modelValue': (e: FeatureCollection) => FeatureCollection<Geometry, import("geojson").GeoJsonProperties>;
|
|
188
188
|
editUpdate: (e: __VmControlDraw.UpdateEvent) => any;
|
|
@@ -198,7 +198,7 @@ export declare const emits: {
|
|
|
198
198
|
compositionupdate: (evt: CompositionEvent) => boolean;
|
|
199
199
|
compositionend: (evt: CompositionEvent) => boolean;
|
|
200
200
|
};
|
|
201
|
-
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "
|
|
201
|
+
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "input" | "change" | "focus" | "blur" | "clear" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend" | "editUpdate")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue", KE> | Exclude<"input", KE> | Exclude<"change", KE> | Exclude<"focus", KE> | Exclude<"blur", KE> | Exclude<"clear", KE> | Exclude<"mouseleave", KE> | Exclude<"mouseenter", KE> | Exclude<"keydown", KE> | Exclude<"compositionstart", KE> | Exclude<"compositionupdate", KE> | Exclude<"compositionend", KE> | Exclude<"editUpdate", KE> : "update:modelValue" | "input" | "change" | "focus" | "blur" | "clear" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend" | "editUpdate"]: {
|
|
202
202
|
'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
203
203
|
editUpdate: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
204
204
|
input: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
@@ -87,7 +87,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
87
87
|
};
|
|
88
88
|
error: StringConstructor;
|
|
89
89
|
validateStatus: {
|
|
90
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
90
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
91
91
|
readonly required: false;
|
|
92
92
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
93
93
|
__epPropKey: true;
|
|
@@ -183,48 +183,48 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
183
183
|
inputBindProps: import("vue").ComputedRef<{
|
|
184
184
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
185
185
|
type: string;
|
|
186
|
-
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
187
|
-
placeholder: string | undefined;
|
|
188
|
-
disabled: boolean;
|
|
189
|
-
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
190
|
-
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
191
186
|
label: string | undefined;
|
|
192
187
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
193
188
|
prop: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown> | undefined;
|
|
194
189
|
rules: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown> | undefined;
|
|
195
190
|
error: string | undefined;
|
|
196
|
-
validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
191
|
+
validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown> | undefined;
|
|
197
192
|
for: string | undefined;
|
|
198
193
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
199
194
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
195
|
+
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
200
196
|
formItemSize: "default" | "small" | "large";
|
|
201
197
|
formItemSlots: import("../../form-item/src/types").FormItemSlots | undefined;
|
|
202
198
|
elRef: any;
|
|
203
199
|
inline: boolean;
|
|
204
200
|
labelPosition: "right";
|
|
201
|
+
disabled: boolean;
|
|
205
202
|
id: string | undefined;
|
|
206
203
|
resize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown> | undefined;
|
|
207
204
|
autosize: import("element-plus").InputAutoSize;
|
|
208
205
|
autocomplete: string;
|
|
209
206
|
formatter: Function | undefined;
|
|
210
207
|
parser: Function | undefined;
|
|
208
|
+
placeholder: string | undefined;
|
|
211
209
|
form: string | undefined;
|
|
210
|
+
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
212
211
|
showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
213
212
|
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
214
213
|
suffixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown> | undefined;
|
|
215
214
|
prefixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown> | undefined;
|
|
216
215
|
containerRole: string | undefined;
|
|
217
216
|
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
217
|
+
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
218
218
|
inputStyle: import("vue").StyleValue;
|
|
219
219
|
maxlength: number | undefined;
|
|
220
220
|
minlength: number | undefined;
|
|
221
221
|
rows: number | undefined;
|
|
222
222
|
}>;
|
|
223
223
|
inputOnEmits: {
|
|
224
|
+
input: (e: any) => void;
|
|
224
225
|
change: (e: any) => void;
|
|
225
226
|
focus: (e: any) => void;
|
|
226
227
|
blur: (e: any) => void;
|
|
227
|
-
input: (e: any) => void;
|
|
228
228
|
clear: (e: any) => void;
|
|
229
229
|
mouseleave: (e: any) => void;
|
|
230
230
|
mouseenter: (e: any) => void;
|
|
@@ -346,7 +346,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
346
346
|
};
|
|
347
347
|
error: StringConstructor;
|
|
348
348
|
validateStatus: {
|
|
349
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
349
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
350
350
|
readonly required: false;
|
|
351
351
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
352
352
|
__epPropKey: true;
|
|
@@ -441,9 +441,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
441
441
|
}>> & {
|
|
442
442
|
onChange?: ((value: string) => any) | undefined;
|
|
443
443
|
"onUpdate:modelValue"?: ((e: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>) => any) | undefined;
|
|
444
|
+
onInput?: ((value: string) => any) | undefined;
|
|
444
445
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
445
446
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
446
|
-
onInput?: ((value: string) => any) | undefined;
|
|
447
447
|
onClear?: (() => any) | undefined;
|
|
448
448
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
449
449
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
@@ -455,10 +455,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
455
455
|
}, {
|
|
456
456
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
457
457
|
type: string;
|
|
458
|
-
disabled: boolean;
|
|
459
|
-
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
460
|
-
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
461
|
-
modelValue: import("geojson").FeatureCollection<import("geojson").Geometry, any>;
|
|
462
458
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
463
459
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
464
460
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -468,13 +464,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
468
464
|
readonly: boolean;
|
|
469
465
|
labelPosition: "right";
|
|
470
466
|
slots: import("./types").Slots;
|
|
467
|
+
disabled: boolean;
|
|
471
468
|
id: string;
|
|
469
|
+
modelValue: import("geojson").FeatureCollection<import("geojson").Geometry, any>;
|
|
472
470
|
autosize: import("element-plus").InputAutoSize;
|
|
473
471
|
autocomplete: string;
|
|
472
|
+
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
474
473
|
showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
475
474
|
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
476
475
|
containerRole: string;
|
|
477
476
|
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
477
|
+
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
478
478
|
inputStyle: import("vue").StyleValue;
|
|
479
479
|
inputSlots: import("../../input/src/types").InputSlots;
|
|
480
480
|
rows: number;
|
|
@@ -34,7 +34,7 @@ export declare const props: {
|
|
|
34
34
|
};
|
|
35
35
|
error: StringConstructor;
|
|
36
36
|
validateStatus: {
|
|
37
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
37
|
+
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
38
38
|
readonly required: false;
|
|
39
39
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
40
40
|
__epPropKey: true;
|
|
@@ -128,7 +128,7 @@ export declare const props: {
|
|
|
128
128
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
129
129
|
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
130
130
|
};
|
|
131
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"
|
|
131
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", 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<"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<"id", keyof T2> | Extract<"modelValue", 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<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", 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<"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<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", 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<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", 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<"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<"id", keyof T2> | Extract<"modelValue", 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<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", 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<"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<"id", keyof T2> | Extract<"modelValue", 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<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2>]: T2[k]; }[P]; }>;
|
|
132
132
|
export declare const emits: {
|
|
133
133
|
"update:modelValue": (value: string) => boolean;
|
|
134
134
|
input: (value: string) => boolean;
|
|
@@ -143,7 +143,7 @@ export declare const emits: {
|
|
|
143
143
|
compositionupdate: (evt: CompositionEvent) => boolean;
|
|
144
144
|
compositionend: (evt: CompositionEvent) => boolean;
|
|
145
145
|
};
|
|
146
|
-
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "
|
|
146
|
+
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "input" | "change" | "focus" | "blur" | "clear" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue", KE> | Exclude<"input", KE> | Exclude<"change", KE> | Exclude<"focus", KE> | Exclude<"blur", KE> | Exclude<"clear", KE> | Exclude<"mouseleave", KE> | Exclude<"mouseenter", KE> | Exclude<"keydown", KE> | Exclude<"compositionstart", KE> | Exclude<"compositionupdate", KE> | Exclude<"compositionend", KE> : "update:modelValue" | "input" | "change" | "focus" | "blur" | "clear" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend"]: {
|
|
147
147
|
"update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
148
148
|
input: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
149
149
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
@@ -32,7 +32,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
};
|
|
33
33
|
error: StringConstructor;
|
|
34
34
|
validateStatus: {
|
|
35
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
35
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
36
36
|
readonly required: false;
|
|
37
37
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
38
38
|
__epPropKey: true;
|
|
@@ -128,26 +128,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
128
128
|
}, {
|
|
129
129
|
inputBindProps: import("vue").ComputedRef<{
|
|
130
130
|
type: string;
|
|
131
|
+
label: string | undefined;
|
|
131
132
|
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
132
|
-
placeholder: string | undefined;
|
|
133
133
|
disabled: boolean;
|
|
134
|
-
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
135
|
-
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
136
|
-
modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
137
|
-
label: string | undefined;
|
|
138
134
|
id: string | undefined;
|
|
135
|
+
modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
139
136
|
resize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown> | undefined;
|
|
140
137
|
autosize: import("element-plus").InputAutoSize;
|
|
141
138
|
autocomplete: string;
|
|
142
139
|
formatter: Function | undefined;
|
|
143
140
|
parser: Function | undefined;
|
|
141
|
+
placeholder: string | undefined;
|
|
144
142
|
form: string | undefined;
|
|
143
|
+
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
145
144
|
showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
146
145
|
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
147
146
|
suffixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown> | undefined;
|
|
148
147
|
prefixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown> | undefined;
|
|
149
148
|
containerRole: string | undefined;
|
|
150
149
|
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
150
|
+
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
151
151
|
inputStyle: import("vue").StyleValue;
|
|
152
152
|
}>;
|
|
153
153
|
formItemBindProps: import("vue").ComputedRef<{
|
|
@@ -157,7 +157,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
157
157
|
prop: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown> | undefined;
|
|
158
158
|
rules: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown> | undefined;
|
|
159
159
|
error: string | undefined;
|
|
160
|
-
validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
160
|
+
validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown> | undefined;
|
|
161
161
|
for: string | undefined;
|
|
162
162
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
163
163
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -171,10 +171,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
171
171
|
readonly: import("vue").ComputedRef<boolean>;
|
|
172
172
|
inputOnEmits: {
|
|
173
173
|
"update:modelValue": (evt: CompositionEvent) => void;
|
|
174
|
+
input: (evt: CompositionEvent) => void;
|
|
174
175
|
change: (evt: CompositionEvent) => void;
|
|
175
176
|
focus: (evt: CompositionEvent) => void;
|
|
176
177
|
blur: (evt: CompositionEvent) => void;
|
|
177
|
-
input: (evt: CompositionEvent) => void;
|
|
178
178
|
clear: (evt: CompositionEvent) => void;
|
|
179
179
|
mouseleave: (evt: CompositionEvent) => void;
|
|
180
180
|
mouseenter: (evt: CompositionEvent) => void;
|
|
@@ -230,7 +230,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
230
230
|
};
|
|
231
231
|
error: StringConstructor;
|
|
232
232
|
validateStatus: {
|
|
233
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
233
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
234
234
|
readonly required: false;
|
|
235
235
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
236
236
|
__epPropKey: true;
|
|
@@ -326,9 +326,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
326
326
|
}>> & {
|
|
327
327
|
onChange?: ((value: string) => any) | undefined;
|
|
328
328
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
329
|
+
onInput?: ((value: string) => any) | undefined;
|
|
329
330
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
330
331
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
331
|
-
onInput?: ((value: string) => any) | undefined;
|
|
332
332
|
onClear?: (() => any) | undefined;
|
|
333
333
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
334
334
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
@@ -339,10 +339,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
339
339
|
}, {
|
|
340
340
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
341
341
|
type: string;
|
|
342
|
-
disabled: boolean;
|
|
343
|
-
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
344
|
-
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
345
|
-
modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
346
342
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
347
343
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
348
344
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -351,13 +347,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
351
347
|
inline: boolean;
|
|
352
348
|
readonly: boolean;
|
|
353
349
|
labelPosition: "right";
|
|
350
|
+
disabled: boolean;
|
|
354
351
|
id: string;
|
|
352
|
+
modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
355
353
|
autosize: import("element-plus").InputAutoSize;
|
|
356
354
|
autocomplete: string;
|
|
355
|
+
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
357
356
|
showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
358
357
|
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
359
358
|
containerRole: string;
|
|
360
359
|
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
360
|
+
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
361
361
|
inputStyle: import("vue").StyleValue;
|
|
362
362
|
inputSlots: import("./types").InputSlots;
|
|
363
363
|
rows: number;
|
|
@@ -78,7 +78,7 @@ export declare const props: {
|
|
|
78
78
|
};
|
|
79
79
|
error: StringConstructor;
|
|
80
80
|
validateStatus: {
|
|
81
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
81
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
82
82
|
readonly required: false;
|
|
83
83
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
84
84
|
__epPropKey: true;
|
|
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
64
|
};
|
|
65
65
|
error: StringConstructor;
|
|
66
66
|
validateStatus: {
|
|
67
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
67
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
68
68
|
readonly required: false;
|
|
69
69
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
70
70
|
__epPropKey: true;
|
|
@@ -150,40 +150,40 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
150
150
|
coreProps: import("vue").ComputedRef<{
|
|
151
151
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
152
152
|
type: string;
|
|
153
|
-
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
154
|
-
placeholder: string;
|
|
155
|
-
disabled: boolean;
|
|
156
|
-
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
157
|
-
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
158
|
-
modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
159
153
|
label: string;
|
|
160
154
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
161
155
|
prop: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown> | undefined;
|
|
162
156
|
rules: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
|
|
163
157
|
error: string | undefined;
|
|
164
|
-
validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
158
|
+
validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown> | undefined;
|
|
165
159
|
for: string | undefined;
|
|
166
160
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
167
161
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
162
|
+
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
168
163
|
formItemSize: "default" | "small" | "large";
|
|
169
164
|
formItemSlots: import("../../form-item/src/types").FormItemSlots | undefined;
|
|
170
165
|
elRef: any;
|
|
171
166
|
inline: boolean;
|
|
172
167
|
readonly: boolean | undefined;
|
|
173
168
|
labelPosition: "right";
|
|
169
|
+
disabled: boolean;
|
|
174
170
|
id: string | undefined;
|
|
171
|
+
modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
175
172
|
resize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown> | undefined;
|
|
176
173
|
autosize: import("element-plus").InputAutoSize;
|
|
177
174
|
autocomplete: string;
|
|
178
175
|
formatter: Function | undefined;
|
|
179
176
|
parser: Function | undefined;
|
|
177
|
+
placeholder: string;
|
|
180
178
|
form: string | undefined;
|
|
179
|
+
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
181
180
|
showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
182
181
|
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
183
182
|
suffixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown> | undefined;
|
|
184
183
|
prefixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown> | undefined;
|
|
185
184
|
containerRole: string | undefined;
|
|
186
185
|
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
186
|
+
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
187
187
|
inputStyle: import("vue").StyleValue;
|
|
188
188
|
maxlength: number | undefined;
|
|
189
189
|
minlength: number | undefined;
|
|
@@ -192,10 +192,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
192
192
|
}>;
|
|
193
193
|
coreEmits: {
|
|
194
194
|
"update:modelValue": (evt: CompositionEvent) => void;
|
|
195
|
+
input: (evt: CompositionEvent) => void;
|
|
195
196
|
change: (evt: CompositionEvent) => void;
|
|
196
197
|
focus: (evt: CompositionEvent) => void;
|
|
197
198
|
blur: (evt: CompositionEvent) => void;
|
|
198
|
-
input: (evt: CompositionEvent) => void;
|
|
199
199
|
clear: (evt: CompositionEvent) => void;
|
|
200
200
|
mouseleave: (evt: CompositionEvent) => void;
|
|
201
201
|
mouseenter: (evt: CompositionEvent) => void;
|
|
@@ -287,7 +287,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
287
287
|
};
|
|
288
288
|
error: StringConstructor;
|
|
289
289
|
validateStatus: {
|
|
290
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
290
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
291
291
|
readonly required: false;
|
|
292
292
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
293
293
|
__epPropKey: true;
|
|
@@ -372,9 +372,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
372
372
|
}>> & {
|
|
373
373
|
onChange?: ((value: string) => any) | undefined;
|
|
374
374
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
375
|
+
onInput?: ((value: string) => any) | undefined;
|
|
375
376
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
376
377
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
377
|
-
onInput?: ((value: string) => any) | undefined;
|
|
378
378
|
onClear?: (() => any) | undefined;
|
|
379
379
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
380
380
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
@@ -385,11 +385,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
385
385
|
}, {
|
|
386
386
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
387
387
|
type: string;
|
|
388
|
-
placeholder: string;
|
|
389
|
-
disabled: boolean;
|
|
390
|
-
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
391
|
-
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
392
|
-
modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
393
388
|
label: string;
|
|
394
389
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
395
390
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
@@ -399,13 +394,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
399
394
|
inline: boolean;
|
|
400
395
|
readonly: boolean;
|
|
401
396
|
labelPosition: "right";
|
|
397
|
+
disabled: boolean;
|
|
402
398
|
id: string;
|
|
399
|
+
modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
403
400
|
autosize: import("element-plus").InputAutoSize;
|
|
404
401
|
autocomplete: string;
|
|
402
|
+
placeholder: string;
|
|
403
|
+
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
405
404
|
showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
406
405
|
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
407
406
|
containerRole: string;
|
|
408
407
|
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
408
|
+
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
409
409
|
inputStyle: import("vue").StyleValue;
|
|
410
410
|
inputSlots: import("../../input/src/types").InputSlots;
|
|
411
411
|
rows: number;
|
|
@@ -49,7 +49,7 @@ export declare const props: {
|
|
|
49
49
|
};
|
|
50
50
|
error: StringConstructor;
|
|
51
51
|
validateStatus: {
|
|
52
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
52
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
53
53
|
readonly required: false;
|
|
54
54
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
55
|
__epPropKey: true;
|
|
@@ -78,7 +78,7 @@ export declare const props: {
|
|
|
78
78
|
default: string;
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"
|
|
81
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", 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<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"name", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"step", keyof T2> | Extract<"stepStrictly", keyof T2> | Extract<"max", keyof T2> | Extract<"min", keyof T2> | Extract<"controls", keyof T2> | Extract<"controlsPosition", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"precision", keyof T2> | Extract<"unit", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", 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<"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<"name", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"step", keyof T2>, KE> | Exclude<Extract<"stepStrictly", keyof T2>, KE> | Exclude<Extract<"max", keyof T2>, KE> | Exclude<Extract<"min", keyof T2>, KE> | Exclude<Extract<"controls", keyof T2>, KE> | Exclude<Extract<"controlsPosition", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"precision", keyof T2>, KE> | Exclude<Extract<"unit", keyof T2>, KE> : Extract<"required", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", 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<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"name", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"step", keyof T2> | Extract<"stepStrictly", keyof T2> | Extract<"max", keyof T2> | Extract<"min", keyof T2> | Extract<"controls", keyof T2> | Extract<"controlsPosition", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"precision", keyof T2> | Extract<"unit", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", 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<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"name", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"step", keyof T2> | Extract<"stepStrictly", keyof T2> | Extract<"max", keyof T2> | Extract<"min", keyof T2> | Extract<"controls", keyof T2> | Extract<"controlsPosition", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"precision", keyof T2> | Extract<"unit", keyof T2>]: T2[k]; }[P]; }>;
|
|
82
82
|
export declare const emits: {
|
|
83
83
|
change: (cur: number | undefined, prev: number | undefined) => boolean;
|
|
84
84
|
blur: (e: FocusEvent) => boolean;
|
|
@@ -86,7 +86,7 @@ export declare const emits: {
|
|
|
86
86
|
input: (val: number | null | undefined) => boolean;
|
|
87
87
|
"update:modelValue": (val: number | undefined) => boolean;
|
|
88
88
|
};
|
|
89
|
-
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "
|
|
89
|
+
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "input" | "change" | "focus" | "blur")[] | undefined>(emit: T2, excludes?: EX | undefined) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue", KE> | Exclude<"input", KE> | Exclude<"change", KE> | Exclude<"focus", KE> | Exclude<"blur", KE> : "update:modelValue" | "input" | "change" | "focus" | "blur"]: {
|
|
90
90
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
91
91
|
blur: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
92
92
|
focus: (...e: import("@vunk/core").RestParameters<T2>) => void;
|