@vunk/form 1.1.10 → 1.1.12
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 +26 -26
- package/components/checkbox/src/ctx.d.ts +1 -1
- 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/form/src/ctx.d.ts +12 -12
- package/components/form/src/index.vue.d.ts +37 -37
- 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 +2 -2
- package/components/geoinput/src/index.vue.d.ts +26 -26
- package/components/geoinput-read/index.js +17 -15
- package/components/geoinput-read/src/core.vue.d.ts +28 -28
- package/components/geoinput-read/src/ctx.d.ts +5 -5
- package/components/geoinput-read/src/ctx.js +6 -2
- package/components/geoinput-read/src/index.vue.d.ts +31 -31
- package/components/geoinput-update/index.js +11 -13
- 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 +15 -15
- package/components/input-number/src/ctx.d.ts +1 -1
- 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/switch/src/ctx.d.ts +1 -1
- package/components/switch/src/index.vue.d.ts +8 -8
- package/components/upload/src/ctx.d.ts +2 -2
- package/components/upload/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 +17 -17
- package/package.json +1 -1
- package/shared/element-plus/ctx.d.ts +11 -11
- package/shared/types/form/checkbox.d.ts +1 -1
|
@@ -75,7 +75,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
75
|
};
|
|
76
76
|
error: StringConstructor;
|
|
77
77
|
validateStatus: {
|
|
78
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
78
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
79
79
|
readonly required: false;
|
|
80
80
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
81
81
|
__epPropKey: true;
|
|
@@ -190,40 +190,40 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
190
190
|
coreBindProps: import("vue").ComputedRef<{
|
|
191
191
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
192
192
|
type: string | undefined;
|
|
193
|
-
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
194
|
-
placeholder: string | undefined;
|
|
195
|
-
disabled: boolean;
|
|
196
|
-
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
197
|
-
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
198
|
-
modelValue: import("geojson").FeatureCollection<any, any>;
|
|
199
193
|
label: string | undefined;
|
|
200
194
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
201
195
|
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;
|
|
202
196
|
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;
|
|
203
197
|
error: string | undefined;
|
|
204
|
-
validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
198
|
+
validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown> | undefined;
|
|
205
199
|
for: string | undefined;
|
|
206
200
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
207
201
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
202
|
+
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
208
203
|
formItemSize: "default" | "small" | "large";
|
|
209
204
|
formItemSlots: import("../../form-item/src/types").FormItemSlots | undefined;
|
|
210
205
|
elRef: any;
|
|
211
206
|
inline: boolean;
|
|
212
207
|
readonly: boolean | undefined;
|
|
213
208
|
data: any;
|
|
209
|
+
disabled: boolean;
|
|
214
210
|
id: string;
|
|
211
|
+
modelValue: import("geojson").FeatureCollection<any, any>;
|
|
215
212
|
resize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown> | undefined;
|
|
216
213
|
autosize: import("element-plus").InputAutoSize;
|
|
217
214
|
autocomplete: string;
|
|
218
215
|
formatter: Function | undefined;
|
|
219
216
|
parser: Function | undefined;
|
|
217
|
+
placeholder: string | undefined;
|
|
220
218
|
form: string | undefined;
|
|
219
|
+
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
221
220
|
showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
222
221
|
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
223
222
|
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;
|
|
224
223
|
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;
|
|
225
224
|
containerRole: string | undefined;
|
|
226
225
|
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
226
|
+
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
227
227
|
inputStyle: import("vue").StyleValue;
|
|
228
228
|
maxlength: number | undefined;
|
|
229
229
|
minlength: number | undefined;
|
|
@@ -240,25 +240,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
240
240
|
showMap: boolean;
|
|
241
241
|
}>;
|
|
242
242
|
coreOnEmits: {
|
|
243
|
-
"update:modelValue": (
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
243
|
+
"update:modelValue": (e: import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent) => void;
|
|
244
|
+
input: (e: import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent) => void;
|
|
245
|
+
change: (e: import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent) => void;
|
|
246
|
+
focus: (e: import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent) => void;
|
|
247
|
+
blur: (e: import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent) => void;
|
|
248
|
+
clear: (e: import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent) => void;
|
|
249
|
+
mouseleave: (e: import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent) => void;
|
|
250
|
+
mouseenter: (e: import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent) => void;
|
|
251
|
+
keydown: (e: import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent) => void;
|
|
252
|
+
compositionstart: (e: import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent) => void;
|
|
253
|
+
compositionupdate: (e: import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent) => void;
|
|
254
|
+
compositionend: (e: import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent) => void;
|
|
255
|
+
load: (e: import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent) => void;
|
|
256
|
+
layerChange: (e: import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent) => void;
|
|
257
|
+
layerClick: (e: import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent) => void;
|
|
258
258
|
};
|
|
259
259
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
260
260
|
layerChange: (layer: import("@vumap/core/components/geojson-add-layer/src/types").LoadEvent) => import("@vumap/core/components/geojson-add-layer/src/types").LoadEvent;
|
|
261
261
|
'update:modelValue': (e: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>) => import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
262
|
+
layerClick: (e: import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent) => import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent;
|
|
262
263
|
input: (value: string) => boolean;
|
|
263
264
|
change: (value: string) => boolean;
|
|
264
265
|
focus: (evt: FocusEvent) => boolean;
|
|
@@ -270,7 +271,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
270
271
|
compositionstart: (evt: CompositionEvent) => boolean;
|
|
271
272
|
compositionupdate: (evt: CompositionEvent) => boolean;
|
|
272
273
|
compositionend: (evt: CompositionEvent) => boolean;
|
|
273
|
-
click: (e: import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent) => import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent;
|
|
274
274
|
load: (e: import("@vumap/core/components/geojson-add-layer/src/types").LoadEvent) => import("@vumap/core/components/geojson-add-layer/src/types").LoadEvent;
|
|
275
275
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
276
276
|
modelValue: {
|
|
@@ -349,7 +349,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
349
349
|
};
|
|
350
350
|
error: StringConstructor;
|
|
351
351
|
validateStatus: {
|
|
352
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
352
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
353
353
|
readonly required: false;
|
|
354
354
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
355
355
|
__epPropKey: true;
|
|
@@ -438,10 +438,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
438
438
|
}>> & {
|
|
439
439
|
onChange?: ((value: string) => any) | undefined;
|
|
440
440
|
"onUpdate:modelValue"?: ((e: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>) => any) | undefined;
|
|
441
|
+
onInput?: ((value: string) => any) | undefined;
|
|
441
442
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
442
443
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
443
|
-
onClick?: ((e: import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent) => any) | undefined;
|
|
444
|
-
onInput?: ((value: string) => any) | undefined;
|
|
445
444
|
onClear?: (() => any) | undefined;
|
|
446
445
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
447
446
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
@@ -451,13 +450,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
451
450
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
452
451
|
onLoad?: ((e: import("@vumap/core/components/geojson-add-layer/src/types").LoadEvent) => any) | undefined;
|
|
453
452
|
onLayerChange?: ((layer: import("@vumap/core/components/geojson-add-layer/src/types").LoadEvent) => any) | undefined;
|
|
453
|
+
onLayerClick?: ((e: import("@vumap/core/components/geojson-layer-set/src/types").ClickEvent) => any) | undefined;
|
|
454
454
|
}, {
|
|
455
455
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
456
456
|
type: string;
|
|
457
|
-
disabled: boolean;
|
|
458
|
-
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
459
|
-
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
460
|
-
modelValue: import("geojson").FeatureCollection<any, any>;
|
|
461
457
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
462
458
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
463
459
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -466,13 +462,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
466
462
|
inline: boolean;
|
|
467
463
|
readonly: boolean;
|
|
468
464
|
data: any;
|
|
465
|
+
disabled: boolean;
|
|
469
466
|
id: string;
|
|
467
|
+
modelValue: import("geojson").FeatureCollection<any, any>;
|
|
470
468
|
autosize: import("element-plus").InputAutoSize;
|
|
471
469
|
autocomplete: string;
|
|
470
|
+
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
472
471
|
showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
473
472
|
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
474
473
|
containerRole: string;
|
|
475
474
|
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
475
|
+
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
476
476
|
inputStyle: import("vue").StyleValue;
|
|
477
477
|
inputSlots: import("../../input/src/types").InputSlots;
|
|
478
478
|
rows: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode, defineComponent, resolveComponent, createBlock, withCtx, createVNode, normalizeClass, createCommentVNode, computed, shallowRef, ref, onMounted, nextTick, mergeProps, toHandlers, withModifiers, renderSlot, resolveDynamicComponent, withDirectives, vShow } from 'vue';
|
|
1
2
|
import { _VkfInputCtx, VkfInput } from '@vunk/form/components/input';
|
|
2
3
|
import { EMPTY_FEATURE_COLLECTION } from '@vumap/core/shared/static';
|
|
3
4
|
import { bindPropsFactory, onEmitsFactory } from '@vunk/core/shared/utils-vue';
|
|
4
|
-
import { openBlock, createElementBlock, createElementVNode, defineComponent, resolveComponent, createBlock, withCtx, createVNode, normalizeClass, createCommentVNode, computed, shallowRef, ref, onMounted, nextTick, mergeProps, toHandlers, withModifiers, renderSlot, resolveDynamicComponent, withDirectives, vShow } from 'vue';
|
|
5
5
|
import { ElButton, ElIcon, ElButtonGroup, ElUpload, ElDialog, ElMessage } from 'element-plus';
|
|
6
6
|
import { VmMap } from '@vumap/core';
|
|
7
7
|
import { VmTdtLayers } from '@vumap/core/components/tdt-layers';
|
|
@@ -775,12 +775,10 @@ var _sfc_main = defineComponent({
|
|
|
775
775
|
},
|
|
776
776
|
emits,
|
|
777
777
|
props,
|
|
778
|
-
setup(props2, {
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
"modelValue"
|
|
783
|
-
]);
|
|
778
|
+
setup(props2, {
|
|
779
|
+
emit
|
|
780
|
+
}) {
|
|
781
|
+
const inputBindProps = _VkfInputCtx.createBindProps(props2, ["inputSlots", "readonly", "modelValue"]);
|
|
784
782
|
const inputOnEmits = _VkfInputCtx.createOnEmits(emit, ["update:modelValue"]);
|
|
785
783
|
const mapOptions = computed(() => {
|
|
786
784
|
return {
|
|
@@ -834,12 +832,12 @@ var _sfc_main = defineComponent({
|
|
|
834
832
|
const map = await mapDef.promise;
|
|
835
833
|
map.resize();
|
|
836
834
|
};
|
|
837
|
-
const append = () =>
|
|
838
|
-
dialog: props2.dialogEdit,
|
|
839
|
-
disabled: props2.disabled,
|
|
840
|
-
onUpload,
|
|
841
|
-
onEdit
|
|
842
|
-
});
|
|
835
|
+
const append = () => createVNode(AppendVue, {
|
|
836
|
+
"dialog": props2.dialogEdit,
|
|
837
|
+
"disabled": props2.disabled,
|
|
838
|
+
"onUpload": onUpload,
|
|
839
|
+
"onEdit": onEdit
|
|
840
|
+
}, null);
|
|
843
841
|
async function onUpload(e) {
|
|
844
842
|
if (!e.raw)
|
|
845
843
|
return;
|
|
@@ -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;
|
|
@@ -178,7 +178,7 @@ export declare const props: {
|
|
|
178
178
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
179
179
|
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>;
|
|
180
180
|
};
|
|
181
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"
|
|
181
|
+
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<"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<"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<"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<"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]; }>;
|
|
182
182
|
export declare const emits: {
|
|
183
183
|
'update:modelValue': (e: FeatureCollection) => FeatureCollection<Geometry, import("geojson").GeoJsonProperties>;
|
|
184
184
|
editUpdate: (e: __VmControlDraw.UpdateEvent) => any;
|
|
@@ -194,7 +194,7 @@ export declare const emits: {
|
|
|
194
194
|
compositionupdate: (evt: CompositionEvent) => boolean;
|
|
195
195
|
compositionend: (evt: CompositionEvent) => boolean;
|
|
196
196
|
};
|
|
197
|
-
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "
|
|
197
|
+
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"]: {
|
|
198
198
|
'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
199
199
|
editUpdate: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
200
200
|
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;
|
|
@@ -179,47 +179,47 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
179
179
|
inputBindProps: import("vue").ComputedRef<{
|
|
180
180
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
181
181
|
type: string;
|
|
182
|
-
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
183
|
-
placeholder: string | undefined;
|
|
184
|
-
disabled: boolean;
|
|
185
|
-
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
186
|
-
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
187
182
|
label: string | undefined;
|
|
188
183
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
189
184
|
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;
|
|
190
185
|
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;
|
|
191
186
|
error: string | undefined;
|
|
192
|
-
validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
187
|
+
validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown> | undefined;
|
|
193
188
|
for: string | undefined;
|
|
194
189
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
195
190
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
191
|
+
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
196
192
|
formItemSize: "default" | "small" | "large";
|
|
197
193
|
formItemSlots: import("../../form-item/src/types").FormItemSlots | undefined;
|
|
198
194
|
elRef: any;
|
|
199
195
|
inline: boolean;
|
|
196
|
+
disabled: boolean;
|
|
200
197
|
id: string | undefined;
|
|
201
198
|
resize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown> | undefined;
|
|
202
199
|
autosize: import("element-plus").InputAutoSize;
|
|
203
200
|
autocomplete: string;
|
|
204
201
|
formatter: Function | undefined;
|
|
205
202
|
parser: Function | undefined;
|
|
203
|
+
placeholder: string | undefined;
|
|
206
204
|
form: string | undefined;
|
|
205
|
+
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
207
206
|
showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
208
207
|
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
209
208
|
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;
|
|
210
209
|
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;
|
|
211
210
|
containerRole: string | undefined;
|
|
212
211
|
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
212
|
+
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
213
213
|
inputStyle: import("vue").StyleValue;
|
|
214
214
|
maxlength: number | undefined;
|
|
215
215
|
minlength: number | undefined;
|
|
216
216
|
rows: number | undefined;
|
|
217
217
|
}>;
|
|
218
218
|
inputOnEmits: {
|
|
219
|
+
input: (e: any) => void;
|
|
219
220
|
change: (e: any) => void;
|
|
220
221
|
focus: (e: any) => void;
|
|
221
222
|
blur: (e: any) => void;
|
|
222
|
-
input: (e: any) => void;
|
|
223
223
|
clear: (e: any) => void;
|
|
224
224
|
mouseleave: (e: any) => void;
|
|
225
225
|
mouseenter: (e: any) => void;
|
|
@@ -341,7 +341,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
341
341
|
};
|
|
342
342
|
error: StringConstructor;
|
|
343
343
|
validateStatus: {
|
|
344
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
344
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
345
345
|
readonly required: false;
|
|
346
346
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
347
347
|
__epPropKey: true;
|
|
@@ -432,9 +432,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
432
432
|
}>> & {
|
|
433
433
|
onChange?: ((value: string) => any) | undefined;
|
|
434
434
|
"onUpdate:modelValue"?: ((e: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>) => any) | undefined;
|
|
435
|
+
onInput?: ((value: string) => any) | undefined;
|
|
435
436
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
436
437
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
437
|
-
onInput?: ((value: string) => any) | undefined;
|
|
438
438
|
onClear?: (() => any) | undefined;
|
|
439
439
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
440
440
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
@@ -446,10 +446,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
446
446
|
}, {
|
|
447
447
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
448
448
|
type: string;
|
|
449
|
-
disabled: boolean;
|
|
450
|
-
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
451
|
-
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
452
|
-
modelValue: import("geojson").FeatureCollection<import("geojson").Geometry, any>;
|
|
453
449
|
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
454
450
|
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
455
451
|
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -458,13 +454,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
458
454
|
inline: boolean;
|
|
459
455
|
readonly: boolean;
|
|
460
456
|
slots: import("./types").Slots;
|
|
457
|
+
disabled: boolean;
|
|
461
458
|
id: string;
|
|
459
|
+
modelValue: import("geojson").FeatureCollection<import("geojson").Geometry, any>;
|
|
462
460
|
autosize: import("element-plus").InputAutoSize;
|
|
463
461
|
autocomplete: string;
|
|
462
|
+
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
464
463
|
showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
465
464
|
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
466
465
|
containerRole: string;
|
|
467
466
|
tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
467
|
+
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
468
468
|
inputStyle: import("vue").StyleValue;
|
|
469
469
|
inputSlots: import("../../input/src/types").InputSlots;
|
|
470
470
|
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;
|
|
@@ -124,7 +124,7 @@ export declare const props: {
|
|
|
124
124
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
125
125
|
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>;
|
|
126
126
|
};
|
|
127
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"
|
|
127
|
+
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<"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<"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<"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<"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]; }>;
|
|
128
128
|
export declare const emits: {
|
|
129
129
|
"update:modelValue": (value: string) => boolean;
|
|
130
130
|
input: (value: string) => boolean;
|
|
@@ -139,7 +139,7 @@ export declare const emits: {
|
|
|
139
139
|
compositionupdate: (evt: CompositionEvent) => boolean;
|
|
140
140
|
compositionend: (evt: CompositionEvent) => boolean;
|
|
141
141
|
};
|
|
142
|
-
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "
|
|
142
|
+
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"]: {
|
|
143
143
|
"update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
144
144
|
input: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
145
145
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|