@vunk/form 1.1.75 → 1.1.76
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/cascader/src/ctx.d.ts +5 -3
- package/components/cascader/src/index.vue.d.ts +11 -4
- package/components/checkbox/index.js +18 -8
- package/components/checkbox/src/ctx.d.ts +2 -1
- package/components/checkbox/src/index.vue.d.ts +9 -9
- package/components/color-picker/src/ctx.d.ts +2 -0
- package/components/color-picker/src/index.vue.d.ts +5 -0
- package/components/date-picker/index.js +1 -1
- package/components/date-picker/src/ctx.d.ts +4 -1
- package/components/date-picker/src/index.vue.d.ts +13 -4
- package/components/download-plus/index.js +33 -46
- package/components/download-plus/src/index.vue.d.ts +9 -2
- package/components/esri-input-geojson/index.js +72 -96
- package/components/esri-input-geojson/src/ctx.d.ts +3 -2
- package/components/esri-input-geojson/src/default-view.vue.d.ts +2 -2
- package/components/esri-input-geojson/src/index.vue.d.ts +13 -5
- package/components/esri-input-geojson/src/viewer.vue.d.ts +4 -4
- package/components/geoinput/src/ctx.d.ts +2 -1
- package/components/geoinput/src/index.vue.d.ts +4 -2
- package/components/geoinput-read/index.js +22 -34
- package/components/geoinput-read/src/core.vue.d.ts +7 -3
- package/components/geoinput-read/src/ctx.d.ts +3 -2
- package/components/geoinput-read/src/index.vue.d.ts +4 -2
- package/components/geoinput-update/index.js +52 -71
- package/components/geoinput-update/src/ctx.d.ts +3 -2
- package/components/geoinput-update/src/index.vue.d.ts +7 -3
- package/components/input/index.js +1 -1
- package/components/input/src/ctx.d.ts +3 -2
- package/components/input/src/index.vue.d.ts +6 -4
- package/components/input-link/index.js +17 -27
- package/components/input-link/src/ctx.d.ts +8 -3
- package/components/input-link/src/index.vue.d.ts +4 -2
- package/components/input-number/index.js +1 -1
- package/components/input-number/src/ctx.d.ts +2 -1
- package/components/input-number/src/index.vue.d.ts +5 -3
- package/components/radio/index.js +33 -18
- package/components/radio/src/ctx.d.ts +1 -0
- package/components/radio/src/index.vue.d.ts +9 -9
- package/components/select/index.js +3 -1
- package/components/select/src/ctx.d.ts +2 -2
- package/components/select/src/index.vue.d.ts +8 -8
- package/components/slider/src/ctx.d.ts +1 -0
- package/components/slider/src/index.vue.d.ts +3 -0
- package/components/switch/index.js +1 -1
- package/components/switch/src/ctx.d.ts +1 -4
- package/components/switch/src/index.vue.d.ts +3 -17
- package/components/upload/index.js +110 -140
- package/components/upload-plus/index.js +48 -64
- package/components/upload-plus/src/index.vue.d.ts +9 -2
- package/components/van-cascader/src/ctx.d.ts +4 -2
- package/components/van-cascader/src/index.vue.d.ts +9 -4
- package/components/var-datetime-picker/src/const.d.ts +1 -1
- package/components/var-datetime-picker/src/ctx.d.ts +1 -1
- package/components/var-datetime-picker/src/index.vue.d.ts +3 -3
- package/package.json +1 -1
- package/shared/element-plus/ctx.d.ts +9 -9
- package/shared/element-plus/index.d.ts +1 -0
- package/shared/element-plus/index.js +1 -1
- package/shared/element-plus/instances.d.ts +6 -3
- package/shared/element-plus/version.d.ts +1 -0
- package/shared/rules/index.d.ts +1 -1
- package/shared/rules/index.js +1 -1
- package/shared/upload/index.js +1 -1
|
@@ -117,6 +117,7 @@ export declare const props: {
|
|
|
117
117
|
type: PropType<"right">;
|
|
118
118
|
default: string;
|
|
119
119
|
};
|
|
120
|
+
ariaLabel: StringConstructor;
|
|
120
121
|
size: {
|
|
121
122
|
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
122
123
|
readonly required: false;
|
|
@@ -125,7 +126,7 @@ export declare const props: {
|
|
|
125
126
|
};
|
|
126
127
|
disabled: BooleanConstructor;
|
|
127
128
|
resize: {
|
|
128
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
129
|
+
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>>;
|
|
129
130
|
readonly required: false;
|
|
130
131
|
readonly validator: (val: unknown) => boolean;
|
|
131
132
|
__epPropKey: true;
|
|
@@ -183,7 +184,7 @@ export declare const props: {
|
|
|
183
184
|
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
184
185
|
autofocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
185
186
|
};
|
|
186
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"data", keyof T2> | Extract<"maxzoom", keyof T2> | Extract<"minzoom", keyof T2> | Extract<"cursor", keyof T2> | Extract<"paint", keyof T2> | Extract<"before", keyof T2> | Extract<"editStyles", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"custom", keyof T2> | Extract<"showMap", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"autofocus", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> | Exclude<Extract<"data", keyof T2>, KE> | Exclude<Extract<"maxzoom", keyof T2>, KE> | Exclude<Extract<"minzoom", keyof T2>, KE> | Exclude<Extract<"cursor", keyof T2>, KE> | Exclude<Extract<"paint", keyof T2>, KE> | Exclude<Extract<"before", keyof T2>, KE> | Exclude<Extract<"editStyles", keyof T2>, KE> | Exclude<Extract<"editTypes", keyof T2>, KE> | Exclude<Extract<"custom", keyof T2>, KE> | Exclude<Extract<"showMap", keyof T2>, KE> : Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"data", keyof T2> | Extract<"maxzoom", keyof T2> | Extract<"minzoom", keyof T2> | Extract<"cursor", keyof T2> | Extract<"paint", keyof T2> | Extract<"before", keyof T2> | Extract<"editStyles", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"custom", keyof T2> | Extract<"showMap", keyof T2>]: { [k in Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"data", keyof T2> | Extract<"maxzoom", keyof T2> | Extract<"minzoom", keyof T2> | Extract<"cursor", keyof T2> | Extract<"paint", keyof T2> | Extract<"before", keyof T2> | Extract<"editStyles", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"custom", keyof T2> | Extract<"showMap", keyof T2>]: T2[k]; }[P]; }>;
|
|
187
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"data", keyof T2> | Extract<"maxzoom", keyof T2> | Extract<"minzoom", keyof T2> | Extract<"cursor", keyof T2> | Extract<"paint", keyof T2> | Extract<"before", keyof T2> | Extract<"editStyles", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"custom", keyof T2> | Extract<"showMap", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"autofocus", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> | Exclude<Extract<"data", keyof T2>, KE> | Exclude<Extract<"maxzoom", keyof T2>, KE> | Exclude<Extract<"minzoom", keyof T2>, KE> | Exclude<Extract<"cursor", keyof T2>, KE> | Exclude<Extract<"paint", keyof T2>, KE> | Exclude<Extract<"before", keyof T2>, KE> | Exclude<Extract<"editStyles", keyof T2>, KE> | Exclude<Extract<"editTypes", keyof T2>, KE> | Exclude<Extract<"custom", keyof T2>, KE> | Exclude<Extract<"showMap", keyof T2>, KE> : Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"data", keyof T2> | Extract<"maxzoom", keyof T2> | Extract<"minzoom", keyof T2> | Extract<"cursor", keyof T2> | Extract<"paint", keyof T2> | Extract<"before", keyof T2> | Extract<"editStyles", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"custom", keyof T2> | Extract<"showMap", keyof T2>]: { [k in Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"data", keyof T2> | Extract<"maxzoom", keyof T2> | Extract<"minzoom", keyof T2> | Extract<"cursor", keyof T2> | Extract<"paint", keyof T2> | Extract<"before", keyof T2> | Extract<"editStyles", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"custom", keyof T2> | Extract<"showMap", keyof T2>]: T2[k]; }[P]; }>;
|
|
187
188
|
export declare const emits: {
|
|
188
189
|
layerChange: (layer: __VmGeojsonLayer.LoadEvent) => __VmGeojsonLayer.LoadEvent;
|
|
189
190
|
'update:modelValue': (e: FeatureCollection) => FeatureCollection<import("geojson").Geometry, {
|
|
@@ -111,6 +111,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
111
111
|
type: import("vue").PropType<"right">;
|
|
112
112
|
default: string;
|
|
113
113
|
};
|
|
114
|
+
ariaLabel: StringConstructor;
|
|
114
115
|
size: {
|
|
115
116
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
116
117
|
readonly required: false;
|
|
@@ -119,7 +120,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
119
120
|
};
|
|
120
121
|
disabled: BooleanConstructor;
|
|
121
122
|
resize: {
|
|
122
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
123
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>>;
|
|
123
124
|
readonly required: false;
|
|
124
125
|
readonly validator: (val: unknown) => boolean;
|
|
125
126
|
__epPropKey: true;
|
|
@@ -337,6 +338,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
337
338
|
type: import("vue").PropType<"right">;
|
|
338
339
|
default: string;
|
|
339
340
|
};
|
|
341
|
+
ariaLabel: StringConstructor;
|
|
340
342
|
size: {
|
|
341
343
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
342
344
|
readonly required: false;
|
|
@@ -345,7 +347,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
345
347
|
};
|
|
346
348
|
disabled: BooleanConstructor;
|
|
347
349
|
resize: {
|
|
348
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
350
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>>;
|
|
349
351
|
readonly required: false;
|
|
350
352
|
readonly validator: (val: unknown) => boolean;
|
|
351
353
|
__epPropKey: true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock, createElementBlock, createElementVNode,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, createElementVNode, resolveComponent, createBlock, withCtx, createVNode, normalizeClass, createCommentVNode, computed, shallowRef, ref, onMounted, nextTick, mergeProps, toHandlers, withModifiers, renderSlot, resolveDynamicComponent, withDirectives, vShow } from 'vue';
|
|
2
2
|
import { _VkfInputCtx, VkfInput } from '@vunk/form/components/input';
|
|
3
3
|
import { EMPTY_FEATURE_COLLECTION } from '@vumap/core/shared/static';
|
|
4
4
|
import { bindPropsFactory, onEmitsFactory } from '@vunk/core/shared/utils-vue';
|
|
@@ -81,77 +81,59 @@ var ctx = /*#__PURE__*/Object.freeze({
|
|
|
81
81
|
props: props
|
|
82
82
|
});
|
|
83
83
|
|
|
84
|
-
/*! Element Plus Icons Vue v2.1
|
|
84
|
+
/*! Element Plus Icons Vue v2.3.1 */
|
|
85
85
|
|
|
86
|
+
var checked_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
|
|
87
|
+
name: "Checked",
|
|
88
|
+
__name: "checked",
|
|
89
|
+
setup(__props) {
|
|
90
|
+
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
91
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
92
|
+
viewBox: "0 0 1024 1024"
|
|
93
|
+
}, [createElementVNode("path", {
|
|
94
|
+
fill: "currentColor",
|
|
95
|
+
d: "M704 192h160v736H160V192h160.064v64H704zM311.616 537.28l-45.312 45.248L447.36 763.52l316.8-316.8-45.312-45.184L447.36 673.024zM384 192V96h256v96z"
|
|
96
|
+
})]));
|
|
97
|
+
}
|
|
98
|
+
});
|
|
86
99
|
|
|
87
|
-
//
|
|
88
|
-
var
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}, null, -1
|
|
106
|
-
/* HOISTED */),
|
|
107
|
-
_hoisted_343 = [_hoisted_244];
|
|
108
|
-
function _sfc_render44(_ctx, _cache, $props, $setup, $data, $options) {
|
|
109
|
-
return openBlock(), createElementBlock("svg", _hoisted_144, _hoisted_343);
|
|
110
|
-
}
|
|
111
|
-
var checked_default = /* @__PURE__ */export_helper_default(checked_vue_vue_type_script_lang_default, [["render", _sfc_render44], ["__file", "checked.vue"]]);
|
|
100
|
+
// src/components/checked.vue
|
|
101
|
+
var checked_default = checked_vue_vue_type_script_setup_true_lang_default;
|
|
102
|
+
var edit_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
|
|
103
|
+
name: "Edit",
|
|
104
|
+
__name: "edit",
|
|
105
|
+
setup(__props) {
|
|
106
|
+
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
107
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
108
|
+
viewBox: "0 0 1024 1024"
|
|
109
|
+
}, [createElementVNode("path", {
|
|
110
|
+
fill: "currentColor",
|
|
111
|
+
d: "M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"
|
|
112
|
+
}), createElementVNode("path", {
|
|
113
|
+
fill: "currentColor",
|
|
114
|
+
d: "m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"
|
|
115
|
+
})]));
|
|
116
|
+
}
|
|
117
|
+
});
|
|
112
118
|
|
|
113
|
-
//
|
|
114
|
-
var
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
d: "m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"
|
|
129
|
-
}, null, -1
|
|
130
|
-
/* HOISTED */),
|
|
131
|
-
_hoisted_431 = [_hoisted_294, _hoisted_393];
|
|
132
|
-
function _sfc_render94(_ctx, _cache, $props, $setup, $data, $options) {
|
|
133
|
-
return openBlock(), createElementBlock("svg", _hoisted_194, _hoisted_431);
|
|
134
|
-
}
|
|
135
|
-
var edit_default = /* @__PURE__ */export_helper_default(edit_vue_vue_type_script_lang_default, [["render", _sfc_render94], ["__file", "edit.vue"]]);
|
|
119
|
+
// src/components/edit.vue
|
|
120
|
+
var edit_default = edit_vue_vue_type_script_setup_true_lang_default;
|
|
121
|
+
var upload_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
|
|
122
|
+
name: "Upload",
|
|
123
|
+
__name: "upload",
|
|
124
|
+
setup(__props) {
|
|
125
|
+
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
126
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
127
|
+
viewBox: "0 0 1024 1024"
|
|
128
|
+
}, [createElementVNode("path", {
|
|
129
|
+
fill: "currentColor",
|
|
130
|
+
d: "M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"
|
|
131
|
+
})]));
|
|
132
|
+
}
|
|
133
|
+
});
|
|
136
134
|
|
|
137
|
-
//
|
|
138
|
-
var
|
|
139
|
-
name: "Upload"
|
|
140
|
-
};
|
|
141
|
-
var _hoisted_1275 = {
|
|
142
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
143
|
-
viewBox: "0 0 1024 1024"
|
|
144
|
-
},
|
|
145
|
-
_hoisted_2275 = /* @__PURE__ */createElementVNode("path", {
|
|
146
|
-
fill: "currentColor",
|
|
147
|
-
d: "M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64zm384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248L544 253.696z"
|
|
148
|
-
}, null, -1
|
|
149
|
-
/* HOISTED */),
|
|
150
|
-
_hoisted_3274 = [_hoisted_2275];
|
|
151
|
-
function _sfc_render275(_ctx, _cache, $props, $setup, $data, $options) {
|
|
152
|
-
return openBlock(), createElementBlock("svg", _hoisted_1275, _hoisted_3274);
|
|
153
|
-
}
|
|
154
|
-
var upload_default = /* @__PURE__ */export_helper_default(upload_vue_vue_type_script_lang_default, [["render", _sfc_render275], ["__file", "upload.vue"]]);
|
|
135
|
+
// src/components/upload.vue
|
|
136
|
+
var upload_default = upload_vue_vue_type_script_setup_true_lang_default;
|
|
155
137
|
|
|
156
138
|
var script$1 = defineComponent({
|
|
157
139
|
components: {
|
|
@@ -204,7 +186,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
204
186
|
default: withCtx(() => [createVNode(_component_Upload)]),
|
|
205
187
|
_: 1
|
|
206
188
|
/* STABLE */
|
|
207
|
-
}
|
|
189
|
+
})]),
|
|
208
190
|
_: 1
|
|
209
191
|
/* STABLE */
|
|
210
192
|
}, 8, ["on-change", "disabled"])]),
|
|
@@ -221,7 +203,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
221
203
|
default: withCtx(() => [createVNode(_component_Edit)]),
|
|
222
204
|
_: 1
|
|
223
205
|
/* STABLE */
|
|
224
|
-
}
|
|
206
|
+
})]),
|
|
225
207
|
_: 1
|
|
226
208
|
/* STABLE */
|
|
227
209
|
}, 8, ["disabled"])) : createCommentVNode("v-if", true)]),
|
|
@@ -691,7 +673,6 @@ function open(shp, dbf, options) {
|
|
|
691
673
|
var shp = sources[0],
|
|
692
674
|
dbf = sources[1],
|
|
693
675
|
encoding = "windows-1252";
|
|
694
|
-
if (options && options.encoding != null) encoding = options.encoding;
|
|
695
676
|
return shapefile(shp, dbf, dbf && new TextDecoder(encoding));
|
|
696
677
|
});
|
|
697
678
|
}
|
|
@@ -123,6 +123,7 @@ export declare const props: {
|
|
|
123
123
|
type: PropType<"right">;
|
|
124
124
|
default: string;
|
|
125
125
|
};
|
|
126
|
+
ariaLabel: StringConstructor;
|
|
126
127
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
127
128
|
size: {
|
|
128
129
|
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
@@ -133,7 +134,7 @@ export declare const props: {
|
|
|
133
134
|
disabled: BooleanConstructor;
|
|
134
135
|
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
135
136
|
resize: {
|
|
136
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
137
|
+
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>>;
|
|
137
138
|
readonly required: false;
|
|
138
139
|
readonly validator: (val: unknown) => boolean;
|
|
139
140
|
__epPropKey: true;
|
|
@@ -191,7 +192,7 @@ export declare const props: {
|
|
|
191
192
|
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
192
193
|
autofocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
193
194
|
};
|
|
194
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"slots", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"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>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"slots", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"autofocus", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"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<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"slots", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"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<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"slots", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"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]; }>;
|
|
195
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"slots", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"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>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"slots", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"autofocus", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"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<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"slots", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"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<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"slots", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"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]; }>;
|
|
195
196
|
export declare const emits: {
|
|
196
197
|
'update:modelValue': (e: FeatureCollection) => FeatureCollection<Geometry, {
|
|
197
198
|
[name: string]: any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="vue/jsx" />
|
|
1
2
|
import { Ref } from 'vue';
|
|
2
3
|
import { Deferred } from '@vunk/core/shared/utils-promise';
|
|
3
4
|
import type { Map as MgMap, MapboxOptions } from 'mapbox-gl';
|
|
@@ -121,6 +122,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
121
122
|
type: import("vue").PropType<"right">;
|
|
122
123
|
default: string;
|
|
123
124
|
};
|
|
125
|
+
ariaLabel: StringConstructor;
|
|
124
126
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
125
127
|
size: {
|
|
126
128
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
@@ -131,7 +133,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
131
133
|
disabled: BooleanConstructor;
|
|
132
134
|
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
133
135
|
resize: {
|
|
134
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
136
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>>;
|
|
135
137
|
readonly required: false;
|
|
136
138
|
readonly validator: (val: unknown) => boolean;
|
|
137
139
|
__epPropKey: true;
|
|
@@ -209,10 +211,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
209
211
|
labelPosition: "right";
|
|
210
212
|
disabled: boolean;
|
|
211
213
|
autofocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
214
|
+
ariaLabel: string;
|
|
212
215
|
id: string;
|
|
213
216
|
maxlength: number;
|
|
214
217
|
minlength: number;
|
|
215
|
-
resize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
218
|
+
resize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>;
|
|
216
219
|
autosize: false;
|
|
217
220
|
autocomplete: string;
|
|
218
221
|
formatter: Function;
|
|
@@ -394,6 +397,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
394
397
|
type: import("vue").PropType<"right">;
|
|
395
398
|
default: string;
|
|
396
399
|
};
|
|
400
|
+
ariaLabel: StringConstructor;
|
|
397
401
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
398
402
|
size: {
|
|
399
403
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
@@ -404,7 +408,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
404
408
|
disabled: BooleanConstructor;
|
|
405
409
|
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
406
410
|
resize: {
|
|
407
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
411
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>>;
|
|
408
412
|
readonly required: false;
|
|
409
413
|
readonly validator: (val: unknown) => boolean;
|
|
410
414
|
__epPropKey: true;
|
|
@@ -50,7 +50,7 @@ var script = defineComponent({
|
|
|
50
50
|
setup(props2, {
|
|
51
51
|
emit
|
|
52
52
|
}) {
|
|
53
|
-
const inputBindProps = createInputBindProps(props2, ["readonly"]);
|
|
53
|
+
const inputBindProps = createInputBindProps(props2, ["readonly", "label"]);
|
|
54
54
|
const inputOnEmits = createInputOnEmits(emit);
|
|
55
55
|
const formItemBindProps = _VkfFormItemCtx.createBindProps(props2);
|
|
56
56
|
const readonly = useComputedReadonly(props2);
|
|
@@ -66,6 +66,7 @@ export declare const props: {
|
|
|
66
66
|
type: PropType<"right">;
|
|
67
67
|
default: string;
|
|
68
68
|
};
|
|
69
|
+
ariaLabel: StringConstructor;
|
|
69
70
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
70
71
|
size: {
|
|
71
72
|
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
@@ -77,7 +78,7 @@ export declare const props: {
|
|
|
77
78
|
modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
|
|
78
79
|
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
79
80
|
resize: {
|
|
80
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
81
|
+
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>>;
|
|
81
82
|
readonly required: false;
|
|
82
83
|
readonly validator: (val: unknown) => boolean;
|
|
83
84
|
__epPropKey: true;
|
|
@@ -135,7 +136,7 @@ export declare const props: {
|
|
|
135
136
|
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
136
137
|
autofocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
137
138
|
};
|
|
138
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"autofocus", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> : Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2>]: { [k in Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2>]: T2[k]; }[P]; }>;
|
|
139
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"autofocus", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> : Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2>]: { [k in Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2>]: T2[k]; }[P]; }>;
|
|
139
140
|
export declare const emits: {
|
|
140
141
|
"update:modelValue": (value: string) => boolean;
|
|
141
142
|
input: (value: string) => boolean;
|
|
@@ -64,6 +64,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
64
|
type: import("vue").PropType<"right">;
|
|
65
65
|
default: string;
|
|
66
66
|
};
|
|
67
|
+
ariaLabel: StringConstructor;
|
|
67
68
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
68
69
|
size: {
|
|
69
70
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
@@ -75,7 +76,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
76
|
modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
|
|
76
77
|
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
77
78
|
resize: {
|
|
78
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
79
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>>;
|
|
79
80
|
readonly required: false;
|
|
80
81
|
readonly validator: (val: unknown) => boolean;
|
|
81
82
|
__epPropKey: true;
|
|
@@ -134,16 +135,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
134
135
|
autofocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
135
136
|
}, {
|
|
136
137
|
inputBindProps: import("vue").ComputedRef<{
|
|
137
|
-
label: string;
|
|
138
138
|
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>;
|
|
139
139
|
type: string;
|
|
140
140
|
disabled: boolean;
|
|
141
141
|
autofocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
142
|
+
ariaLabel: string;
|
|
142
143
|
id: string;
|
|
143
144
|
modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
144
145
|
maxlength: number;
|
|
145
146
|
minlength: number;
|
|
146
|
-
resize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
147
|
+
resize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>;
|
|
147
148
|
autosize: false;
|
|
148
149
|
autocomplete: string;
|
|
149
150
|
formatter: Function;
|
|
@@ -242,6 +243,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
242
243
|
type: import("vue").PropType<"right">;
|
|
243
244
|
default: string;
|
|
244
245
|
};
|
|
246
|
+
ariaLabel: StringConstructor;
|
|
245
247
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
246
248
|
size: {
|
|
247
249
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
@@ -253,7 +255,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
253
255
|
modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
|
|
254
256
|
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
255
257
|
resize: {
|
|
256
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
258
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>>;
|
|
257
259
|
readonly required: false;
|
|
258
260
|
readonly validator: (val: unknown) => boolean;
|
|
259
261
|
__epPropKey: true;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _VkfInputCtx, VkfInput } from '@vunk/form/components/input';
|
|
2
|
-
import { openBlock, createElementBlock, createElementVNode,
|
|
2
|
+
import { defineComponent, openBlock, createElementBlock, createElementVNode, computed, h, resolveComponent, createVNode, createBlock, mergeProps, toHandlers, createCommentVNode } from 'vue';
|
|
3
3
|
import { ElButton, ElIcon } from 'element-plus';
|
|
4
4
|
import { isPlainObject } from '@vunk/core/shared/utils-object';
|
|
5
5
|
import { useComputedReadonly } from '@vunk/form/composables';
|
|
@@ -63,34 +63,24 @@ const emits = {
|
|
|
63
63
|
..._VkfInputCtx.emits
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
/*! Element Plus Icons Vue v2.1
|
|
66
|
+
/*! Element Plus Icons Vue v2.3.1 */
|
|
67
67
|
|
|
68
|
+
var right_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
|
|
69
|
+
name: "Right",
|
|
70
|
+
__name: "right",
|
|
71
|
+
setup(__props) {
|
|
72
|
+
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
73
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
74
|
+
viewBox: "0 0 1024 1024"
|
|
75
|
+
}, [createElementVNode("path", {
|
|
76
|
+
fill: "currentColor",
|
|
77
|
+
d: "M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z"
|
|
78
|
+
})]));
|
|
79
|
+
}
|
|
80
|
+
});
|
|
68
81
|
|
|
69
|
-
//
|
|
70
|
-
var
|
|
71
|
-
let target = sfc.__vccOpts || sfc;
|
|
72
|
-
for (let [key, val] of props) target[key] = val;
|
|
73
|
-
return target;
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/right.vue?vue&type=script&lang.ts
|
|
77
|
-
var right_vue_vue_type_script_lang_default = {
|
|
78
|
-
name: "Right"
|
|
79
|
-
};
|
|
80
|
-
var _hoisted_1221 = {
|
|
81
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
82
|
-
viewBox: "0 0 1024 1024"
|
|
83
|
-
},
|
|
84
|
-
_hoisted_2221 = /* @__PURE__ */createElementVNode("path", {
|
|
85
|
-
fill: "currentColor",
|
|
86
|
-
d: "M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312L754.752 480z"
|
|
87
|
-
}, null, -1
|
|
88
|
-
/* HOISTED */),
|
|
89
|
-
_hoisted_3220 = [_hoisted_2221];
|
|
90
|
-
function _sfc_render221(_ctx, _cache, $props, $setup, $data, $options) {
|
|
91
|
-
return openBlock(), createElementBlock("svg", _hoisted_1221, _hoisted_3220);
|
|
92
|
-
}
|
|
93
|
-
var right_default = /* @__PURE__ */export_helper_default(right_vue_vue_type_script_lang_default, [["render", _sfc_render221], ["__file", "right.vue"]]);
|
|
82
|
+
// src/components/right.vue
|
|
83
|
+
var right_default = right_vue_vue_type_script_setup_true_lang_default;
|
|
94
84
|
|
|
95
85
|
var script = defineComponent({
|
|
96
86
|
name: "VkfInputLink",
|