@vunk/form 2.19.12 → 2.19.15
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/api-tables-select/src/ctx.d.ts +14 -10
- package/components/api-tables-select/src/index.vue.d.ts +30 -21
- package/components/button/src/ctx.d.ts +4 -0
- package/components/button/src/index.vue.d.ts +18 -0
- package/components/card-input-collection/src/core.vue.d.ts +9 -0
- package/components/card-input-collection/src/ctx.d.ts +4 -0
- package/components/card-input-collection/src/index.vue.d.ts +9 -0
- package/components/cascader/src/ctx.d.ts +5 -1
- package/components/cascader/src/index.vue.d.ts +12 -3
- package/components/checkbox/src/ctx.d.ts +5 -1
- package/components/checkbox/src/index.vue.d.ts +19 -1
- package/components/collapse/index.cjs +1 -0
- package/components/collapse/index.d.ts +4 -0
- package/components/collapse/index.mjs +45 -0
- package/components/collapse/src/index.vue.d.ts +15 -0
- package/components/collapse/src/set-attrs.vue.d.ts +23 -0
- package/components/collapse-item/index.cjs +1 -0
- package/components/collapse-item/index.d.ts +6 -0
- package/components/collapse-item/index.mjs +63 -0
- package/components/collapse-item/src/ctx.d.ts +7 -0
- package/components/collapse-item/src/index.vue.d.ts +36 -0
- package/components/collapse-item/src/types.d.ts +1 -0
- package/components/collapse-item/src/use.d.ts +13 -0
- package/components/color-picker/src/ctx.d.ts +4 -0
- package/components/color-picker/src/index.vue.d.ts +10 -1
- package/components/date-picker/src/ctx.d.ts +5 -1
- package/components/date-picker/src/index.vue.d.ts +13 -4
- package/components/date-picker-range/src/ctx.d.ts +90 -86
- package/components/date-picker-range/src/index.vue.d.ts +198 -180
- package/components/dialog/src/ctx.d.ts +1 -1
- package/components/dialog-input-collection/src/ctx.d.ts +4 -0
- package/components/dialog-input-collection/src/dialog-form.vue.d.ts +1 -1
- package/components/dialog-input-collection/src/index.vue.d.ts +9 -0
- package/components/download-plus/src/ctx.d.ts +4 -0
- package/components/download-plus/src/index.vue.d.ts +18 -0
- package/components/editable-text/src/ctx.d.ts +4 -0
- package/components/editable-text/src/index.vue.d.ts +9 -0
- package/components/el-slider/src/slider-core.vue.d.ts +2 -2
- package/components/esri-input-geojson/src/ctx.d.ts +5 -1
- package/components/esri-input-geojson/src/index.vue.d.ts +34 -6
- package/components/form/index.cjs +1 -1
- package/components/form/index.d.ts +1 -0
- package/components/form/index.mjs +115 -80
- package/components/form/src/index.vue.d.ts +1 -1
- package/components/form/src/types.d.ts +2 -1
- package/components/form/src/use.d.ts +206 -0
- package/components/form-item/index.cjs +1 -1
- package/components/form-item/index.mjs +103 -80
- package/components/form-item/src/core.vue.d.ts +4 -0
- package/components/form-item/src/ctx.d.ts +6 -1
- package/components/form-item/src/index.vue.d.ts +9 -0
- package/components/information-collection/src/ctx.d.ts +4 -0
- package/components/information-collection/src/index.vue.d.ts +9 -0
- package/components/information-tag/src/index.vue.d.ts +2 -2
- package/components/input/src/ctx.d.ts +5 -1
- package/components/input/src/index.vue.d.ts +21 -3
- package/components/input-array/src/ctx.d.ts +4 -0
- package/components/input-array/src/index.vue.d.ts +9 -0
- package/components/input-collection/src/core.vue.d.ts +9 -0
- package/components/input-collection/src/ctx.d.ts +4 -0
- package/components/input-collection/src/index.vue.d.ts +9 -0
- package/components/input-file/src/index.vue.d.ts +9 -0
- package/components/input-link/src/ctx.d.ts +4 -0
- package/components/input-link/src/index.vue.d.ts +31 -4
- package/components/input-number/src/ctx.d.ts +5 -1
- package/components/input-number/src/index.vue.d.ts +21 -3
- package/components/input-tag/src/ctx.d.ts +5 -1
- package/components/input-tag/src/index.vue.d.ts +25 -7
- package/components/monaco-editor/src/ctx.d.ts +4 -0
- package/components/monaco-editor/src/index.vue.d.ts +18 -0
- package/components/radio/src/ctx.d.ts +4 -0
- package/components/radio/src/index.vue.d.ts +21 -3
- package/components/radio/src/wraper.vue.d.ts +10 -1
- package/components/select/src/core.vue.d.ts +33 -15
- package/components/select/src/ctx.d.ts +5 -1
- package/components/select/src/index.vue.d.ts +15 -6
- package/components/slider/src/ctx.d.ts +4 -0
- package/components/slider/src/index.vue.d.ts +11 -2
- package/components/switch/src/ctx.d.ts +4 -0
- package/components/switch/src/index.vue.d.ts +9 -0
- package/components/tables-select/src/ctx.d.ts +5 -1
- package/components/tables-select/src/index.vue.d.ts +10 -1
- package/components/templates-default/src/index.vue.d.ts +218 -38
- package/components/templates-esri/src/index.vue.d.ts +34 -6
- package/components/templates-variant/src/index.vue.d.ts +198 -180
- package/components/time-picker/src/ctx.d.ts +5 -1
- package/components/time-picker/src/index.vue.d.ts +13 -4
- package/components/upload/src/ctx.d.ts +5 -1
- package/components/upload/src/index.vue.d.ts +18 -0
- package/components/upload/src/wraper.vue.d.ts +9 -0
- package/components/upload-plus/src/ctx.d.ts +4 -0
- package/components/upload-plus/src/index.vue.d.ts +9 -0
- package/components/van-cascader/src/ctx.d.ts +4 -0
- package/components/van-cascader/src/index.vue.d.ts +12 -3
- package/components/var-datetime-picker/src/ctx.d.ts +4 -0
- package/components/var-datetime-picker/src/index.vue.d.ts +18 -0
- package/components/vditor/src/ctx.d.ts +4 -0
- package/components/vditor/src/index.vue.d.ts +18 -0
- package/composables/form-mitt/index.cjs +1 -0
- package/composables/form-mitt/index.d.ts +37 -0
- package/composables/form-mitt/index.mjs +41 -0
- package/composables/index.cjs +1 -1
- package/composables/index.d.ts +1 -0
- package/composables/index.mjs +16 -14
- package/package.json +19 -1
- package/shared/element-plus/ctx.d.ts +14 -13
- package/shared/element-plus/index.cjs +1 -1
- package/shared/element-plus/index.mjs +57 -56
|
@@ -63,6 +63,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
63
63
|
};
|
|
64
64
|
prop: null;
|
|
65
65
|
defaultModelValue: null;
|
|
66
|
+
labelTipProps: {
|
|
67
|
+
type: import("vue").PropType<import("element-plus").UseTooltipProps>;
|
|
68
|
+
default: () => {};
|
|
69
|
+
};
|
|
66
70
|
label: StringConstructor;
|
|
67
71
|
labelWidth: {
|
|
68
72
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -231,6 +235,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
231
235
|
};
|
|
232
236
|
prop: null;
|
|
233
237
|
defaultModelValue: null;
|
|
238
|
+
labelTipProps: {
|
|
239
|
+
type: import("vue").PropType<import("element-plus").UseTooltipProps>;
|
|
240
|
+
default: () => {};
|
|
241
|
+
};
|
|
234
242
|
label: StringConstructor;
|
|
235
243
|
labelWidth: {
|
|
236
244
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -266,6 +274,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
266
274
|
formItemTip: string;
|
|
267
275
|
labelTip: string;
|
|
268
276
|
information: boolean;
|
|
277
|
+
labelTipProps: import("element-plus").UseTooltipProps;
|
|
269
278
|
inlineMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
270
279
|
showMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
271
280
|
url: string;
|
|
@@ -314,6 +323,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
314
323
|
};
|
|
315
324
|
prop: null;
|
|
316
325
|
defaultModelValue: null;
|
|
326
|
+
labelTipProps: {
|
|
327
|
+
type: import("vue").PropType<import("element-plus").UseTooltipProps>;
|
|
328
|
+
default: () => {};
|
|
329
|
+
};
|
|
317
330
|
label: StringConstructor;
|
|
318
331
|
labelWidth: {
|
|
319
332
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -386,6 +399,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
386
399
|
};
|
|
387
400
|
prop: null;
|
|
388
401
|
defaultModelValue: null;
|
|
402
|
+
labelTipProps: {
|
|
403
|
+
type: import("vue").PropType<import("element-plus").UseTooltipProps>;
|
|
404
|
+
default: () => {};
|
|
405
|
+
};
|
|
389
406
|
label: StringConstructor;
|
|
390
407
|
labelWidth: {
|
|
391
408
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -426,6 +443,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
426
443
|
formItemTip: string;
|
|
427
444
|
labelTip: string;
|
|
428
445
|
information: boolean;
|
|
446
|
+
labelTipProps: import("element-plus").UseTooltipProps;
|
|
429
447
|
inlineMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
430
448
|
showMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
431
449
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -71,6 +71,10 @@ export declare const props: {
|
|
|
71
71
|
};
|
|
72
72
|
prop: null;
|
|
73
73
|
defaultModelValue: null;
|
|
74
|
+
labelTipProps: {
|
|
75
|
+
type: import("vue").PropType<import("element-plus").UseTooltipProps>;
|
|
76
|
+
default: () => {};
|
|
77
|
+
};
|
|
74
78
|
label: StringConstructor;
|
|
75
79
|
labelWidth: {
|
|
76
80
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -63,6 +63,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
63
63
|
};
|
|
64
64
|
prop: null;
|
|
65
65
|
defaultModelValue: null;
|
|
66
|
+
labelTipProps: {
|
|
67
|
+
type: import("vue").PropType<import("element-plus").UseTooltipProps>;
|
|
68
|
+
default: () => {};
|
|
69
|
+
};
|
|
66
70
|
label: StringConstructor;
|
|
67
71
|
labelWidth: {
|
|
68
72
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -147,6 +151,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
147
151
|
};
|
|
148
152
|
prop: null;
|
|
149
153
|
defaultModelValue: null;
|
|
154
|
+
labelTipProps: {
|
|
155
|
+
type: import("vue").PropType<import("element-plus").UseTooltipProps>;
|
|
156
|
+
default: () => {};
|
|
157
|
+
};
|
|
150
158
|
label: StringConstructor;
|
|
151
159
|
labelWidth: {
|
|
152
160
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -183,6 +191,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
183
191
|
formItemTip: string;
|
|
184
192
|
labelTip: string;
|
|
185
193
|
information: boolean;
|
|
194
|
+
labelTipProps: import("element-plus").UseTooltipProps;
|
|
186
195
|
inlineMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
187
196
|
showMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
188
197
|
editable: boolean;
|
|
@@ -191,11 +191,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
191
191
|
"onUpdate:modelValue"?: ((value: number | number[]) => any) | undefined;
|
|
192
192
|
onChange?: ((value: number | number[]) => any) | undefined;
|
|
193
193
|
}>, {
|
|
194
|
-
|
|
194
|
+
id: string;
|
|
195
195
|
placement: import("@popperjs/core/index").Placement;
|
|
196
|
+
size: "" | "default" | "small" | "large";
|
|
196
197
|
vertical: boolean;
|
|
197
198
|
disabled: boolean;
|
|
198
|
-
id: string;
|
|
199
199
|
modelValue: number | number[];
|
|
200
200
|
validateEvent: boolean;
|
|
201
201
|
persistent: boolean;
|
|
@@ -125,6 +125,10 @@ export declare const props: {
|
|
|
125
125
|
};
|
|
126
126
|
prop: null;
|
|
127
127
|
defaultModelValue: null;
|
|
128
|
+
labelTipProps: {
|
|
129
|
+
type: PropType<import("element-plus").UseTooltipProps>;
|
|
130
|
+
default: () => {};
|
|
131
|
+
};
|
|
128
132
|
label: StringConstructor;
|
|
129
133
|
labelWidth: {
|
|
130
134
|
readonly type: PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -218,7 +222,7 @@ export declare const props: {
|
|
|
218
222
|
};
|
|
219
223
|
autofocus: BooleanConstructor;
|
|
220
224
|
};
|
|
221
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", 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<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"modelModifiers", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"wordLimitPosition", 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<"autofocus", keyof T2> | Extract<"rows", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"name", keyof T2> | Extract<"countGraphemes", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"multiple", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"labelPosition", 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<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"defaultModelValue", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", 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<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"modelModifiers", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"wordLimitPosition", 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<"autofocus", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"inputmode", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"countGraphemes", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"viewModelActiveFillSymbol", keyof T2>, KE> | Exclude<Extract<"visibleElements", keyof T2>, KE> | Exclude<Extract<"view", keyof T2>, KE> | Exclude<Extract<"viewComponent", keyof T2>, KE> | Exclude<Extract<"viewComponentAttrs", keyof T2>, KE> | Exclude<Extract<"editTypes", keyof T2>, KE> | Exclude<Extract<"viewModelActiveLineSymbol", keyof T2>, KE> | Exclude<Extract<"viewModelActivePointSymbol", keyof T2>, KE> | Exclude<Extract<"skipSave", 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<"flying", keyof T2>, KE> | Exclude<Extract<"layerIndex", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", 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<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"modelModifiers", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"wordLimitPosition", 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<"autofocus", keyof T2> | Extract<"rows", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"name", keyof T2> | Extract<"countGraphemes", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"multiple", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"size", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", 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<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"modelModifiers", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"wordLimitPosition", 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<"autofocus", keyof T2> | Extract<"rows", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"name", keyof T2> | Extract<"countGraphemes", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"multiple", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: T2[k]; }[P]; }>;
|
|
225
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"size", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"labelTipProps", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", 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<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"modelModifiers", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"wordLimitPosition", 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<"autofocus", keyof T2> | Extract<"rows", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"name", keyof T2> | Extract<"countGraphemes", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"multiple", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"labelPosition", 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<"formItemTip", keyof T2>, KE> | Exclude<Extract<"formItemTipClass", keyof T2>, KE> | Exclude<Extract<"labelTip", keyof T2>, KE> | Exclude<Extract<"information", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"defaultModelValue", keyof T2>, KE> | Exclude<Extract<"labelTipProps", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", 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<"disabled", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"modelModifiers", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"wordLimitPosition", 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<"autofocus", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> | Exclude<Extract<"inputmode", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"countGraphemes", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"viewModelActiveFillSymbol", keyof T2>, KE> | Exclude<Extract<"visibleElements", keyof T2>, KE> | Exclude<Extract<"view", keyof T2>, KE> | Exclude<Extract<"viewComponent", keyof T2>, KE> | Exclude<Extract<"viewComponentAttrs", keyof T2>, KE> | Exclude<Extract<"editTypes", keyof T2>, KE> | Exclude<Extract<"viewModelActiveLineSymbol", keyof T2>, KE> | Exclude<Extract<"viewModelActivePointSymbol", keyof T2>, KE> | Exclude<Extract<"skipSave", 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<"flying", keyof T2>, KE> | Exclude<Extract<"layerIndex", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"size", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"labelTipProps", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", 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<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"modelModifiers", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"wordLimitPosition", 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<"autofocus", keyof T2> | Extract<"rows", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"name", keyof T2> | Extract<"countGraphemes", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"multiple", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"required", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"size", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"formItemTip", keyof T2> | Extract<"formItemTipClass", keyof T2> | Extract<"labelTip", keyof T2> | Extract<"information", keyof T2> | Extract<"prop", keyof T2> | Extract<"defaultModelValue", keyof T2> | Extract<"labelTipProps", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", 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<"disabled", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"modelModifiers", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"wordLimitPosition", 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<"autofocus", keyof T2> | Extract<"rows", keyof T2> | Extract<"inputmode", keyof T2> | Extract<"name", keyof T2> | Extract<"countGraphemes", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"multiple", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: T2[k]; }[P]; }>;
|
|
222
226
|
export declare const emits: {
|
|
223
227
|
'update:modelValue': (e: FeatureCollection) => FeatureCollection<Geometry, import("geojson").GeoJsonProperties>;
|
|
224
228
|
'update:flying': null;
|
|
@@ -127,6 +127,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
127
127
|
};
|
|
128
128
|
prop: null;
|
|
129
129
|
defaultModelValue: null;
|
|
130
|
+
labelTipProps: {
|
|
131
|
+
type: import("vue").PropType<import("element-plus").UseTooltipProps>;
|
|
132
|
+
default: () => {};
|
|
133
|
+
};
|
|
130
134
|
label: StringConstructor;
|
|
131
135
|
labelWidth: {
|
|
132
136
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -223,6 +227,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
223
227
|
inputBindProps: import("vue").ComputedRef<{
|
|
224
228
|
type: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string) | (() => import("element-plus").InputType) | ((new (...args: any[]) => string) | (() => import("element-plus").InputType) | null)[], unknown, unknown>;
|
|
225
229
|
required: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
230
|
+
id: string | undefined;
|
|
231
|
+
ariaLabel: string | undefined;
|
|
226
232
|
size: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
227
233
|
labelPosition: "left" | "right" | "top" | "start" | "end" | undefined;
|
|
228
234
|
formItemSize: "default" | "small" | "large" | undefined;
|
|
@@ -235,6 +241,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
235
241
|
information: boolean;
|
|
236
242
|
prop: any;
|
|
237
243
|
defaultModelValue: any;
|
|
244
|
+
labelTipProps: import("element-plus").UseTooltipProps;
|
|
238
245
|
label: string | undefined;
|
|
239
246
|
labelWidth: import("element-plus/es/utils/index.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
240
247
|
rules: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | null)[], unknown, unknown> | undefined;
|
|
@@ -244,7 +251,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
244
251
|
inlineMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
245
252
|
showMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
246
253
|
disabled: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
247
|
-
id: string | undefined;
|
|
248
254
|
modelModifiers: import("element-plus").InputModelModifiers;
|
|
249
255
|
maxlength: number | undefined;
|
|
250
256
|
minlength: number | undefined;
|
|
@@ -268,7 +274,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
268
274
|
inputStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
269
275
|
autofocus: boolean;
|
|
270
276
|
rows: number | undefined;
|
|
271
|
-
ariaLabel: string | undefined;
|
|
272
277
|
inputmode: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal") | (() => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal") | (() => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal" | undefined) | null)[], unknown, unknown>;
|
|
273
278
|
name: string | undefined;
|
|
274
279
|
countGraphemes: ((value: string) => number) | undefined;
|
|
@@ -448,6 +453,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
448
453
|
};
|
|
449
454
|
prop: null;
|
|
450
455
|
defaultModelValue: null;
|
|
456
|
+
labelTipProps: {
|
|
457
|
+
type: import("vue").PropType<import("element-plus").UseTooltipProps>;
|
|
458
|
+
default: () => {};
|
|
459
|
+
};
|
|
451
460
|
label: StringConstructor;
|
|
452
461
|
labelWidth: {
|
|
453
462
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -559,6 +568,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
559
568
|
}>, {
|
|
560
569
|
type: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string) | (() => import("element-plus").InputType) | ((new (...args: any[]) => string) | (() => import("element-plus").InputType) | null)[], unknown, unknown>;
|
|
561
570
|
required: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
571
|
+
id: string;
|
|
562
572
|
labelPosition: "left" | "right" | "top" | "start" | "end";
|
|
563
573
|
formItemSize: "default" | "small" | "large";
|
|
564
574
|
formItemSlots: import("../../form-item/src/types.ts").FormItemSlots;
|
|
@@ -567,10 +577,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
567
577
|
formItemTip: string;
|
|
568
578
|
labelTip: string;
|
|
569
579
|
information: boolean;
|
|
580
|
+
labelTipProps: import("element-plus").UseTooltipProps;
|
|
570
581
|
inlineMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
571
582
|
showMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
572
583
|
disabled: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
573
|
-
id: string;
|
|
574
584
|
modelValue: import("geojson").FeatureCollection<import("geojson").Geometry, any>;
|
|
575
585
|
modelModifiers: import("element-plus").InputModelModifiers;
|
|
576
586
|
autosize: import("element-plus").InputAutoSize;
|
|
@@ -657,6 +667,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
657
667
|
};
|
|
658
668
|
prop: null;
|
|
659
669
|
defaultModelValue: null;
|
|
670
|
+
labelTipProps: {
|
|
671
|
+
type: import("vue").PropType<import("element-plus").UseTooltipProps>;
|
|
672
|
+
default: () => {};
|
|
673
|
+
};
|
|
660
674
|
label: StringConstructor;
|
|
661
675
|
labelWidth: {
|
|
662
676
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -753,9 +767,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
753
767
|
}>, {
|
|
754
768
|
inputBindProps: import("vue").ComputedRef<{
|
|
755
769
|
type: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string) | (() => import("element-plus").InputType) | ((new (...args: any[]) => string) | (() => import("element-plus").InputType) | null)[], unknown, unknown>;
|
|
770
|
+
id: string | undefined;
|
|
771
|
+
ariaLabel: string | undefined;
|
|
756
772
|
size: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
757
773
|
disabled: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
758
|
-
id: string | undefined;
|
|
759
774
|
modelValue: string | number | null;
|
|
760
775
|
modelModifiers: import("element-plus").InputModelModifiers;
|
|
761
776
|
maxlength: number | undefined;
|
|
@@ -780,7 +795,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
780
795
|
inputStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
781
796
|
autofocus: boolean;
|
|
782
797
|
rows: number | undefined;
|
|
783
|
-
ariaLabel: string | undefined;
|
|
784
798
|
inputmode: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal") | (() => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal") | (() => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal" | undefined) | null)[], unknown, unknown>;
|
|
785
799
|
name: string | undefined;
|
|
786
800
|
countGraphemes: ((value: string) => number) | undefined;
|
|
@@ -858,6 +872,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
858
872
|
};
|
|
859
873
|
prop: null;
|
|
860
874
|
defaultModelValue: null;
|
|
875
|
+
labelTipProps: {
|
|
876
|
+
type: import("vue").PropType<import("element-plus").UseTooltipProps>;
|
|
877
|
+
default: () => {};
|
|
878
|
+
};
|
|
861
879
|
label: StringConstructor;
|
|
862
880
|
labelWidth: {
|
|
863
881
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -967,6 +985,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
967
985
|
}>, {
|
|
968
986
|
type: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string) | (() => import("element-plus").InputType) | ((new (...args: any[]) => string) | (() => import("element-plus").InputType) | null)[], unknown, unknown>;
|
|
969
987
|
required: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
988
|
+
id: string;
|
|
970
989
|
labelPosition: "left" | "right" | "top" | "start" | "end";
|
|
971
990
|
formItemSize: "default" | "small" | "large";
|
|
972
991
|
formItemSlots: import("../../form-item/src/types.ts").FormItemSlots;
|
|
@@ -975,10 +994,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
975
994
|
formItemTip: string;
|
|
976
995
|
labelTip: string;
|
|
977
996
|
information: boolean;
|
|
997
|
+
labelTipProps: import("element-plus").UseTooltipProps;
|
|
978
998
|
inlineMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
979
999
|
showMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
980
1000
|
disabled: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
981
|
-
id: string;
|
|
982
1001
|
modelValue: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number | null | undefined) | ((new (...args: any[]) => string | number) | (() => string | number | null | undefined) | null)[], unknown, unknown>;
|
|
983
1002
|
modelModifiers: import("element-plus").InputModelModifiers;
|
|
984
1003
|
autosize: import("element-plus").InputAutoSize;
|
|
@@ -1204,6 +1223,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
1204
1223
|
};
|
|
1205
1224
|
prop: null;
|
|
1206
1225
|
defaultModelValue: null;
|
|
1226
|
+
labelTipProps: {
|
|
1227
|
+
type: import("vue").PropType<import("element-plus").UseTooltipProps>;
|
|
1228
|
+
default: () => {};
|
|
1229
|
+
};
|
|
1207
1230
|
label: StringConstructor;
|
|
1208
1231
|
labelWidth: {
|
|
1209
1232
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -1276,6 +1299,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
1276
1299
|
};
|
|
1277
1300
|
prop: null;
|
|
1278
1301
|
defaultModelValue: null;
|
|
1302
|
+
labelTipProps: {
|
|
1303
|
+
type: import("vue").PropType<import("element-plus").UseTooltipProps>;
|
|
1304
|
+
default: () => {};
|
|
1305
|
+
};
|
|
1279
1306
|
label: StringConstructor;
|
|
1280
1307
|
labelWidth: {
|
|
1281
1308
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -1316,6 +1343,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
1316
1343
|
formItemTip: string;
|
|
1317
1344
|
labelTip: string;
|
|
1318
1345
|
information: boolean;
|
|
1346
|
+
labelTipProps: import("element-plus").UseTooltipProps;
|
|
1319
1347
|
inlineMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1320
1348
|
showMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1321
1349
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("element-plus"),_=require("@vunk/core/shared/utils-vue"),R=require("@vunk/core/shared/utils-function"),t=require("vue"),C=require("@vunk/form/components/form-item-renderer"),P=require("@vunk/form/shared/element-plus"),k=require("@vunk/core/shared/helper"),w=require("@vunk/form/components/templates-default"),E=require("@vunk/form/components/templates-layout"),h=require("@vunk/core/shared/utils-object"),q=require("@vunk/form/shared/form"),O=require("@vunk/form/components/renderer-data"),I=require("@vunk/shared/object"),T=require("@vunk/form/components/forms-provider"),j=require("@vunk/shared/function"),g=require("@vunk/form/composables/form-mitt"),D=require("../_plugin-vue_export-helper-BHFhmbuH.js"),y={...d.formProps,labelPosition:{type:String,default:void 0},data:{type:Object,default:()=>({})},formItems:{type:Array,default:()=>[]},readonly:{type:Boolean},elRef:{type:Function,default:()=>R.NOOP},layout:{type:Boolean,default:!1},rowSource:{type:Object,default:()=>({})},colSource:{type:Object,default:()=>({})},segmentAttrs:{type:Object,default:()=>({})}},L=_.bindPropsFactory(y),F={...d.formEmits,setData:e=>e,validate:null,submit:null},$=_.onEmitsFactory(F),M=Object.freeze(Object.defineProperty({__proto__:null,createBindProps:L,createOnEmits:$,emits:F,props:y},Symbol.toStringTag,{value:"Module"})),N=e=>24-e.templateSlots.reduce((o,r)=>{if(!r.span)throw new Error("ElColSource span is required");return o+r.span},0),A=(e,o={})=>{const r=e.span??o.span;if(r==null)throw new Error("genColItem ElColSource span is required");return{...o,templateType:"ElCol",span:r,templateSlots:[h.pickObject(e,{excludes:["span"]})]}},B=(e,o={})=>({...o,templateType:"ElRow",templateSlots:e?[e]:[]}),z=t.defineComponent({__name:"provide-label-postion",props:{labelPosition:null},setup(e){const o=e,r={addField:j.noop},n=t.inject(d.formContextKey,r),f=t.computed(()=>o.labelPosition??n.labelPosition);return t.provide(d.formContextKey,t.reactive({...n===r?r:t.toRefs(n),labelPosition:f})),(s,m)=>t.renderSlot(s.$slots,"default")}});function H(e){const o=t.shallowRef(),r=n=>{if(n){const f=n.validate;n.validate=s=>{const m=f.call(n);return m&&typeof m.then=="function"?m.then(u=>{var i;return(i=e.onAfterValidate)==null||i.call(e,!0),s==null||s(!0),u},u=>{var i;throw(i=e.onAfterValidate)==null||i.call(e,!1,u),s==null||s(!1,u),u}):m}}o.value=n,e.elRef(n)};return t.provide("elFormRef",o),{setFormRef:r,formRef:o}}const K=t.defineComponent({name:"VkfForm",components:{VkfRendererData:O.VkfRendererData,ElForm:d.ElForm,VkfFormItemRenderer:C.VkfFormItemRenderer,VkfTemplatesDefault:w.VkfTemplatesDefault,VkfTemplatesLayout:E.VkfTemplatesLayout,VkfFormsSegment:T.VkfFormsSegment,ProvideLabelPostion:z},props:y,emits:F,setup(e,{emit:o}){const r=P.createFormBindProps(e,["model","labelPosition"]),n=P.createFormOnEmits(o),f=g.initFormMitt(),{setFormRef:s}=H({elRef:e.elRef,onAfterValidate:(l,a)=>{f.emit("afterValidate",{isValid:l,invalidFields:a})}}),m=t.getCurrentInstance();t.provide("vkfFormVm",m);const u=t.computed(()=>e.layout?e.formItems.reduce((l,a)=>{var S;const c=l.findLast(b=>b.templateType==="ElRow"),p=a.span??e.colSource.span;if(!p)return l.push(a),l;if(!((S=a.templateLayout)!=null&&S.allowEmpty)&&Reflect.has(a,"templateIf")&&!q.genTemplateIfFunc(a.templateIf)(e.data))return l;const V=A(a,I.pickObject({...e.colSource,...a.templateLayout},{excludes:["allowEmpty"]}));return!c||N(c)<p?l.push(B(V,e.rowSource)):c.templateSlots.push(V),l},[]):e.formItems),i=l=>{l.preventDefault(),o("submit",l)};return{formProps:r,formEmits:n,getValue:k.getValue,setFormRef:s,computed:t.computed,rendererSource:u,handleSubmit:i}}});function x(e,o,r,n,f,s){const m=t.resolveComponent("VkfFormsSegment"),u=t.resolveComponent("VkfTemplatesDefault"),i=t.resolveComponent("VkfTemplatesLayout"),l=t.resolveComponent("VkfFormItemRenderer"),a=t.resolveComponent("VkfRendererData"),c=t.resolveComponent("ProvideLabelPostion"),p=t.resolveComponent("ElForm");return t.openBlock(),t.createBlock(p,t.mergeProps(e.formProps,{ref:e.setFormRef,class:{"is-readonly":e.readonly},model:e.model||e.data},t.toHandlers(e.formEmits),{onSubmit:e.handleSubmit}),{default:t.withCtx(()=>[t.createVNode(c,{"label-position":e.labelPosition},{default:t.withCtx(()=>[t.createVNode(a,{data:e.data,onSetData:o[0]||(o[0]=V=>e.$emit("setData",V))},{default:t.withCtx(()=>[t.createVNode(m,t.mergeProps({data:e.data},e.segmentAttrs),null,16,["data"]),t.createVNode(l,{source:e.rendererSource},{placeholder:t.withCtx(()=>[t.createVNode(u),t.createVNode(i)]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"rendererTemplate")]),_:3},8,["source"]),t.renderSlot(e.$slots,"default")]),_:3},8,["data"])]),_:3},8,["label-position"])]),_:3},16,["class","model","onSubmit"])}const v=D._export_sfc(K,[["render",x]]),G=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));Object.defineProperty(exports,"useFormMitt",{enumerable:!0,get:()=>g.useFormMitt});exports.VkfForm=v;exports._VkfFormCtx=M;exports.__VkfForm=G;exports.default=v;
|