@vunk/form 1.1.75 → 1.1.77
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/index.js +1 -1
- package/components/color-picker/src/ctx.d.ts +2 -0
- package/components/color-picker/src/index.vue.d.ts +19 -1
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock, createElementBlock, createElementVNode,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, createElementVNode, resolveComponent, createBlock, withCtx, createVNode, createCommentVNode, unref, renderSlot, provide, resolveDynamicComponent, normalizeProps, mergeProps, ref, shallowRef, computed, watch, onMounted, nextTick, toHandlers, withDirectives, vShow } from 'vue';
|
|
2
2
|
import { _VkfInputCtx, VkfInput } from '@vunk/form/components/input';
|
|
3
3
|
import { bindPropsFactory, onEmitsFactory } from '@vunk/core/shared/utils-vue';
|
|
4
4
|
import { ElButton, ElIcon, ElButtonGroup, ElUpload, ElMessage } from 'element-plus';
|
|
@@ -131,101 +131,78 @@ var ctx = /*#__PURE__*/Object.freeze({
|
|
|
131
131
|
props: props
|
|
132
132
|
});
|
|
133
133
|
|
|
134
|
-
/*! Element Plus Icons Vue v2.1
|
|
134
|
+
/*! Element Plus Icons Vue v2.3.1 */
|
|
135
135
|
|
|
136
|
+
var document_checked_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
|
|
137
|
+
name: "DocumentChecked",
|
|
138
|
+
__name: "document-checked",
|
|
139
|
+
setup(__props) {
|
|
140
|
+
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
141
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
142
|
+
viewBox: "0 0 1024 1024"
|
|
143
|
+
}, [createElementVNode("path", {
|
|
144
|
+
fill: "currentColor",
|
|
145
|
+
d: "M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m318.4 582.144 180.992-180.992L704.64 510.4 478.4 736.64 320 578.304l45.248-45.312z"
|
|
146
|
+
})]));
|
|
147
|
+
}
|
|
148
|
+
});
|
|
136
149
|
|
|
137
|
-
//
|
|
138
|
-
var
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
}, null, -1
|
|
156
|
-
/* HOISTED */),
|
|
157
|
-
_hoisted_385 = [_hoisted_286];
|
|
158
|
-
function _sfc_render86(_ctx, _cache, $props, $setup, $data, $options) {
|
|
159
|
-
return openBlock(), createElementBlock("svg", _hoisted_186, _hoisted_385);
|
|
160
|
-
}
|
|
161
|
-
var document_checked_default = /* @__PURE__ */export_helper_default(document_checked_vue_vue_type_script_lang_default, [["render", _sfc_render86], ["__file", "document-checked.vue"]]);
|
|
150
|
+
// src/components/document-checked.vue
|
|
151
|
+
var document_checked_default = document_checked_vue_vue_type_script_setup_true_lang_default;
|
|
152
|
+
var edit_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
|
|
153
|
+
name: "Edit",
|
|
154
|
+
__name: "edit",
|
|
155
|
+
setup(__props) {
|
|
156
|
+
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
157
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
158
|
+
viewBox: "0 0 1024 1024"
|
|
159
|
+
}, [createElementVNode("path", {
|
|
160
|
+
fill: "currentColor",
|
|
161
|
+
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"
|
|
162
|
+
}), createElementVNode("path", {
|
|
163
|
+
fill: "currentColor",
|
|
164
|
+
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"
|
|
165
|
+
})]));
|
|
166
|
+
}
|
|
167
|
+
});
|
|
162
168
|
|
|
163
|
-
//
|
|
164
|
-
var
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
_hoisted_431 = [_hoisted_294, _hoisted_393];
|
|
182
|
-
function _sfc_render94(_ctx, _cache, $props, $setup, $data, $options) {
|
|
183
|
-
return openBlock(), createElementBlock("svg", _hoisted_194, _hoisted_431);
|
|
184
|
-
}
|
|
185
|
-
var edit_default = /* @__PURE__ */export_helper_default(edit_vue_vue_type_script_lang_default, [["render", _sfc_render94], ["__file", "edit.vue"]]);
|
|
169
|
+
// src/components/edit.vue
|
|
170
|
+
var edit_default = edit_vue_vue_type_script_setup_true_lang_default;
|
|
171
|
+
var map_location_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
|
|
172
|
+
name: "MapLocation",
|
|
173
|
+
__name: "map-location",
|
|
174
|
+
setup(__props) {
|
|
175
|
+
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
176
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
177
|
+
viewBox: "0 0 1024 1024"
|
|
178
|
+
}, [createElementVNode("path", {
|
|
179
|
+
fill: "currentColor",
|
|
180
|
+
d: "M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"
|
|
181
|
+
}), createElementVNode("path", {
|
|
182
|
+
fill: "currentColor",
|
|
183
|
+
d: "M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256m345.6 192L960 960H672v-64H352v64H64l102.4-256zm-68.928 0H235.328l-76.8 192h706.944z"
|
|
184
|
+
})]));
|
|
185
|
+
}
|
|
186
|
+
});
|
|
186
187
|
|
|
187
|
-
//
|
|
188
|
-
var
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
d: "M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128zm0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256zm345.6 192L960 960H672v-64H352v64H64l102.4-256h691.2zm-68.928 0H235.328l-76.8 192h706.944l-76.8-192z"
|
|
203
|
-
}, null, -1
|
|
204
|
-
/* HOISTED */),
|
|
205
|
-
_hoisted_444 = [_hoisted_2160, _hoisted_3159];
|
|
206
|
-
function _sfc_render160(_ctx, _cache, $props, $setup, $data, $options) {
|
|
207
|
-
return openBlock(), createElementBlock("svg", _hoisted_1160, _hoisted_444);
|
|
208
|
-
}
|
|
209
|
-
var map_location_default = /* @__PURE__ */export_helper_default(map_location_vue_vue_type_script_lang_default, [["render", _sfc_render160], ["__file", "map-location.vue"]]);
|
|
188
|
+
// src/components/map-location.vue
|
|
189
|
+
var map_location_default = map_location_vue_vue_type_script_setup_true_lang_default;
|
|
190
|
+
var upload_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
|
|
191
|
+
name: "Upload",
|
|
192
|
+
__name: "upload",
|
|
193
|
+
setup(__props) {
|
|
194
|
+
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
195
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
196
|
+
viewBox: "0 0 1024 1024"
|
|
197
|
+
}, [createElementVNode("path", {
|
|
198
|
+
fill: "currentColor",
|
|
199
|
+
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"
|
|
200
|
+
})]));
|
|
201
|
+
}
|
|
202
|
+
});
|
|
210
203
|
|
|
211
|
-
//
|
|
212
|
-
var
|
|
213
|
-
name: "Upload"
|
|
214
|
-
};
|
|
215
|
-
var _hoisted_1275 = {
|
|
216
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
217
|
-
viewBox: "0 0 1024 1024"
|
|
218
|
-
},
|
|
219
|
-
_hoisted_2275 = /* @__PURE__ */createElementVNode("path", {
|
|
220
|
-
fill: "currentColor",
|
|
221
|
-
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"
|
|
222
|
-
}, null, -1
|
|
223
|
-
/* HOISTED */),
|
|
224
|
-
_hoisted_3274 = [_hoisted_2275];
|
|
225
|
-
function _sfc_render275(_ctx, _cache, $props, $setup, $data, $options) {
|
|
226
|
-
return openBlock(), createElementBlock("svg", _hoisted_1275, _hoisted_3274);
|
|
227
|
-
}
|
|
228
|
-
var upload_default = /* @__PURE__ */export_helper_default(upload_vue_vue_type_script_lang_default, [["render", _sfc_render275], ["__file", "upload.vue"]]);
|
|
204
|
+
// src/components/upload.vue
|
|
205
|
+
var upload_default = upload_vue_vue_type_script_setup_true_lang_default;
|
|
229
206
|
|
|
230
207
|
var script$3 = defineComponent({
|
|
231
208
|
components: {
|
|
@@ -290,7 +267,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
290
267
|
default: withCtx(() => [createVNode(_component_Upload)]),
|
|
291
268
|
_: 1
|
|
292
269
|
/* STABLE */
|
|
293
|
-
}
|
|
270
|
+
})]),
|
|
294
271
|
_: 1
|
|
295
272
|
/* STABLE */
|
|
296
273
|
}, 8, ["on-change", "disabled", "onClick"])) : createCommentVNode("v-if", true), _ctx.dialog ? (openBlock(), createBlock(_component_ElButton, {
|
|
@@ -304,7 +281,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
304
281
|
default: withCtx(() => [createVNode(_component_Edit)]),
|
|
305
282
|
_: 1
|
|
306
283
|
/* STABLE */
|
|
307
|
-
}
|
|
284
|
+
})]),
|
|
308
285
|
_: 1
|
|
309
286
|
/* STABLE */
|
|
310
287
|
}, 8, ["disabled"])) : createCommentVNode("v-if", true), createVNode(_component_ElButton, {
|
|
@@ -316,7 +293,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
316
293
|
default: withCtx(() => [createVNode(_component_MapLocation)]),
|
|
317
294
|
_: 1
|
|
318
295
|
/* STABLE */
|
|
319
|
-
}
|
|
296
|
+
})]),
|
|
320
297
|
_: 1
|
|
321
298
|
/* STABLE */
|
|
322
299
|
})]),
|
|
@@ -855,7 +832,6 @@ function open(shp, dbf, options) {
|
|
|
855
832
|
var shp = sources[0],
|
|
856
833
|
dbf = sources[1],
|
|
857
834
|
encoding = "windows-1252";
|
|
858
|
-
if (options && options.encoding != null) encoding = options.encoding;
|
|
859
835
|
return shapefile(shp, dbf, dbf && new TextDecoder(encoding));
|
|
860
836
|
});
|
|
861
837
|
}
|
|
@@ -1075,7 +1051,7 @@ var convertRingsToGeoJSON = function convertRingsToGeoJSON(rings) {
|
|
|
1075
1051
|
}
|
|
1076
1052
|
};
|
|
1077
1053
|
var getId = function getId(attributes, idAttribute) {
|
|
1078
|
-
var keys =
|
|
1054
|
+
var keys = ['OBJECTID', 'FID'];
|
|
1079
1055
|
for (var i = 0; i < keys.length; i++) {
|
|
1080
1056
|
var key = keys[i];
|
|
1081
1057
|
if (key in attributes && (typeof attributes[key] === 'string' || typeof attributes[key] === 'number')) {
|
|
@@ -135,6 +135,7 @@ export declare const props: {
|
|
|
135
135
|
type: PropType<"right">;
|
|
136
136
|
default: string;
|
|
137
137
|
};
|
|
138
|
+
ariaLabel: StringConstructor;
|
|
138
139
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
139
140
|
size: {
|
|
140
141
|
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
@@ -145,7 +146,7 @@ export declare const props: {
|
|
|
145
146
|
disabled: BooleanConstructor;
|
|
146
147
|
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
147
148
|
resize: {
|
|
148
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
149
|
+
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>>;
|
|
149
150
|
readonly required: false;
|
|
150
151
|
readonly validator: (val: unknown) => boolean;
|
|
151
152
|
__epPropKey: true;
|
|
@@ -203,7 +204,7 @@ export declare const props: {
|
|
|
203
204
|
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
204
205
|
autofocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
205
206
|
};
|
|
206
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"autofocus", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"editTypes", keyof T2>, KE> | Exclude<Extract<"showMap", keyof T2>, KE> | Exclude<Extract<"dialogEdit", keyof T2>, KE> | Exclude<Extract<"dialogEditFullscreen", keyof T2>, KE> | Exclude<Extract<"dialogEditTitle", keyof T2>, KE> | Exclude<Extract<"viewModelActiveFillSymbol", keyof T2>, KE> | Exclude<Extract<"visibleElements", keyof T2>, KE> | Exclude<Extract<"view", keyof T2>, KE> | Exclude<Extract<"viewComponent", keyof T2>, KE> | Exclude<Extract<"viewComponentAttrs", keyof T2>, KE> | Exclude<Extract<"viewModelActiveLineSymbol", keyof T2>, KE> | Exclude<Extract<"viewModelActivePointSymbol", keyof T2>, KE> | Exclude<Extract<"skipSave", keyof T2>, KE> | Exclude<Extract<"flying", keyof T2>, KE> | Exclude<Extract<"layerIndex", keyof T2>, KE> : Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: { [k in Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | Extract<"multiple", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: T2[k]; }[P]; }>;
|
|
207
|
+
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<"multiple", keyof T2> | Extract<"editTypes", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"autofocus", keyof T2>, KE> | Exclude<Extract<"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<"editTypes", keyof T2>, KE> | Exclude<Extract<"showMap", keyof T2>, KE> | Exclude<Extract<"dialogEdit", keyof T2>, KE> | Exclude<Extract<"dialogEditFullscreen", keyof T2>, KE> | Exclude<Extract<"dialogEditTitle", keyof T2>, KE> | Exclude<Extract<"viewModelActiveFillSymbol", keyof T2>, KE> | Exclude<Extract<"visibleElements", keyof T2>, KE> | Exclude<Extract<"view", keyof T2>, KE> | Exclude<Extract<"viewComponent", keyof T2>, KE> | Exclude<Extract<"viewComponentAttrs", keyof T2>, KE> | Exclude<Extract<"viewModelActiveLineSymbol", keyof T2>, KE> | Exclude<Extract<"viewModelActivePointSymbol", keyof T2>, KE> | Exclude<Extract<"skipSave", keyof T2>, KE> | Exclude<Extract<"flying", keyof T2>, KE> | Exclude<Extract<"layerIndex", keyof T2>, KE> : Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"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<"editTypes", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: { [k in Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"type", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"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<"editTypes", keyof T2> | Extract<"showMap", keyof T2> | Extract<"dialogEdit", keyof T2> | Extract<"dialogEditFullscreen", keyof T2> | Extract<"dialogEditTitle", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"visibleElements", keyof T2> | Extract<"view", keyof T2> | Extract<"viewComponent", keyof T2> | Extract<"viewComponentAttrs", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"flying", keyof T2> | Extract<"layerIndex", keyof T2>]: T2[k]; }[P]; }>;
|
|
207
208
|
export declare const emits: {
|
|
208
209
|
'update:modelValue': (e: FeatureCollection) => FeatureCollection<Geometry, {
|
|
209
210
|
[name: string]: any;
|
|
@@ -85,12 +85,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
85
85
|
}>> & {
|
|
86
86
|
onLoad?: (e: import("@vuesri/core/components/basemap/src/types").LoadEvent) => any;
|
|
87
87
|
}, {
|
|
88
|
+
orphan: boolean;
|
|
89
|
+
type: "img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w";
|
|
88
90
|
spatialReference: {
|
|
89
91
|
wkid: number;
|
|
90
92
|
};
|
|
91
|
-
orphan: boolean;
|
|
92
93
|
thumbnailUrl: string;
|
|
93
|
-
type: "img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w";
|
|
94
94
|
maxScale: number;
|
|
95
95
|
minScale: number;
|
|
96
96
|
token: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="arcgis-js-api" />
|
|
2
|
+
/// <reference types="vue/jsx" />
|
|
2
3
|
import { Ref } from 'vue';
|
|
3
4
|
import { __VaSketch, __VaGraphicsLayer } from '@vuesri/core';
|
|
4
5
|
import Graphic from '@arcgis/core/Graphic';
|
|
@@ -135,6 +136,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
135
136
|
type: import("vue").PropType<"right">;
|
|
136
137
|
default: string;
|
|
137
138
|
};
|
|
139
|
+
ariaLabel: StringConstructor;
|
|
138
140
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
139
141
|
size: {
|
|
140
142
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
@@ -145,7 +147,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
145
147
|
disabled: BooleanConstructor;
|
|
146
148
|
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
147
149
|
resize: {
|
|
148
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
150
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>>;
|
|
149
151
|
readonly required: false;
|
|
150
152
|
readonly validator: (val: unknown) => boolean;
|
|
151
153
|
__epPropKey: true;
|
|
@@ -165,7 +167,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
165
167
|
__epPropKey: true;
|
|
166
168
|
};
|
|
167
169
|
parser: {
|
|
168
|
-
readonly type: import("vue").PropType<Function>;
|
|
170
|
+
readonly type: import("vue").PropType<Function>; /**
|
|
171
|
+
* 初始化
|
|
172
|
+
*/
|
|
169
173
|
readonly required: false;
|
|
170
174
|
readonly validator: (val: unknown) => boolean;
|
|
171
175
|
__epPropKey: true;
|
|
@@ -223,10 +227,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
223
227
|
labelPosition: "right";
|
|
224
228
|
disabled: boolean;
|
|
225
229
|
autofocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
230
|
+
ariaLabel: string;
|
|
226
231
|
id: string;
|
|
227
232
|
maxlength: number;
|
|
228
233
|
minlength: number;
|
|
229
|
-
resize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
234
|
+
resize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>;
|
|
230
235
|
autosize: false;
|
|
231
236
|
autocomplete: string;
|
|
232
237
|
formatter: Function;
|
|
@@ -431,6 +436,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
431
436
|
type: import("vue").PropType<"right">;
|
|
432
437
|
default: string;
|
|
433
438
|
};
|
|
439
|
+
ariaLabel: StringConstructor;
|
|
434
440
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
435
441
|
size: {
|
|
436
442
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
@@ -441,7 +447,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
441
447
|
disabled: BooleanConstructor;
|
|
442
448
|
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
443
449
|
resize: {
|
|
444
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
450
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>>;
|
|
445
451
|
readonly required: false;
|
|
446
452
|
readonly validator: (val: unknown) => boolean;
|
|
447
453
|
__epPropKey: true;
|
|
@@ -461,7 +467,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
461
467
|
__epPropKey: true;
|
|
462
468
|
};
|
|
463
469
|
parser: {
|
|
464
|
-
readonly type: import("vue").PropType<Function>;
|
|
470
|
+
readonly type: import("vue").PropType<Function>; /**
|
|
471
|
+
* 初始化
|
|
472
|
+
*/
|
|
465
473
|
readonly required: false;
|
|
466
474
|
readonly validator: (val: unknown) => boolean;
|
|
467
475
|
__epPropKey: true;
|
|
@@ -95,12 +95,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
95
|
}>> & {
|
|
96
96
|
onLoad?: (e: import("@vuesri/core/components/basemap/src/types").LoadEvent) => any;
|
|
97
97
|
}, {
|
|
98
|
+
orphan: boolean;
|
|
99
|
+
type: "img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w";
|
|
98
100
|
spatialReference: {
|
|
99
101
|
wkid: number;
|
|
100
102
|
};
|
|
101
|
-
orphan: boolean;
|
|
102
103
|
thumbnailUrl: string;
|
|
103
|
-
type: "img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w";
|
|
104
104
|
maxScale: number;
|
|
105
105
|
minScale: number;
|
|
106
106
|
token: string;
|
|
@@ -239,12 +239,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
239
239
|
}>> & {
|
|
240
240
|
onLoad?: (e: import("@vuesri/core/components/basemap/src/types").LoadEvent) => any;
|
|
241
241
|
}, {
|
|
242
|
+
orphan: boolean;
|
|
243
|
+
type: "img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w";
|
|
242
244
|
spatialReference: {
|
|
243
245
|
wkid: number;
|
|
244
246
|
};
|
|
245
|
-
orphan: boolean;
|
|
246
247
|
thumbnailUrl: string;
|
|
247
|
-
type: "img_c" | "vec_c" | "ter_c" | "img_w" | "vec_w" | "ter_w";
|
|
248
248
|
maxScale: number;
|
|
249
249
|
minScale: number;
|
|
250
250
|
token: string;
|
|
@@ -127,6 +127,7 @@ export declare const props: {
|
|
|
127
127
|
type: import("vue").PropType<"right">;
|
|
128
128
|
default: string;
|
|
129
129
|
};
|
|
130
|
+
ariaLabel: StringConstructor;
|
|
130
131
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
131
132
|
size: {
|
|
132
133
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
@@ -136,7 +137,7 @@ export declare const props: {
|
|
|
136
137
|
};
|
|
137
138
|
disabled: BooleanConstructor;
|
|
138
139
|
resize: {
|
|
139
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
140
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>>;
|
|
140
141
|
readonly required: false;
|
|
141
142
|
readonly validator: (val: unknown) => boolean;
|
|
142
143
|
__epPropKey: true;
|
|
@@ -122,6 +122,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
122
122
|
type: import("vue").PropType<"right">;
|
|
123
123
|
default: string;
|
|
124
124
|
};
|
|
125
|
+
ariaLabel: StringConstructor;
|
|
125
126
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
126
127
|
size: {
|
|
127
128
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
@@ -131,7 +132,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
131
132
|
};
|
|
132
133
|
disabled: BooleanConstructor;
|
|
133
134
|
resize: {
|
|
134
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
135
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>>;
|
|
135
136
|
readonly required: false;
|
|
136
137
|
readonly validator: (val: unknown) => boolean;
|
|
137
138
|
__epPropKey: true;
|
|
@@ -360,6 +361,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
360
361
|
type: import("vue").PropType<"right">;
|
|
361
362
|
default: string;
|
|
362
363
|
};
|
|
364
|
+
ariaLabel: StringConstructor;
|
|
363
365
|
id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
364
366
|
size: {
|
|
365
367
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
@@ -369,7 +371,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
369
371
|
};
|
|
370
372
|
disabled: BooleanConstructor;
|
|
371
373
|
resize: {
|
|
372
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
374
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>>;
|
|
373
375
|
readonly required: false;
|
|
374
376
|
readonly validator: (val: unknown) => boolean;
|
|
375
377
|
__epPropKey: true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock, createElementBlock, createElementVNode,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, createElementVNode, resolveComponent, createBlock, withCtx, createVNode, computed, Fragment, withDirectives, mergeProps, toHandlers, vShow, renderSlot, createCommentVNode, normalizeProps, guardReactiveProps } from 'vue';
|
|
2
2
|
import { VkWrapper } from '@vunk/core/components/wrapper';
|
|
3
3
|
import { _VkfInputCtx, VkfInput } from '@vunk/form/components/input';
|
|
4
4
|
import { EMPTY_FEATURE_COLLECTION } from '@vumap/core/shared/static';
|
|
@@ -61,39 +61,27 @@ var ctx = /*#__PURE__*/Object.freeze({
|
|
|
61
61
|
props: props
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
/*! Element Plus Icons Vue v2.1
|
|
64
|
+
/*! Element Plus Icons Vue v2.3.1 */
|
|
65
65
|
|
|
66
|
+
var map_location_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */defineComponent({
|
|
67
|
+
name: "MapLocation",
|
|
68
|
+
__name: "map-location",
|
|
69
|
+
setup(__props) {
|
|
70
|
+
return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
|
|
71
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
72
|
+
viewBox: "0 0 1024 1024"
|
|
73
|
+
}, [createElementVNode("path", {
|
|
74
|
+
fill: "currentColor",
|
|
75
|
+
d: "M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"
|
|
76
|
+
}), createElementVNode("path", {
|
|
77
|
+
fill: "currentColor",
|
|
78
|
+
d: "M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256m345.6 192L960 960H672v-64H352v64H64l102.4-256zm-68.928 0H235.328l-76.8 192h706.944z"
|
|
79
|
+
})]));
|
|
80
|
+
}
|
|
81
|
+
});
|
|
66
82
|
|
|
67
|
-
//
|
|
68
|
-
var
|
|
69
|
-
let target = sfc.__vccOpts || sfc;
|
|
70
|
-
for (let [key, val] of props) target[key] = val;
|
|
71
|
-
return target;
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/map-location.vue?vue&type=script&lang.ts
|
|
75
|
-
var map_location_vue_vue_type_script_lang_default = {
|
|
76
|
-
name: "MapLocation"
|
|
77
|
-
};
|
|
78
|
-
var _hoisted_1160 = {
|
|
79
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
80
|
-
viewBox: "0 0 1024 1024"
|
|
81
|
-
},
|
|
82
|
-
_hoisted_2160 = /* @__PURE__ */createElementVNode("path", {
|
|
83
|
-
fill: "currentColor",
|
|
84
|
-
d: "M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416zM512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544z"
|
|
85
|
-
}, null, -1
|
|
86
|
-
/* HOISTED */),
|
|
87
|
-
_hoisted_3159 = /* @__PURE__ */createElementVNode("path", {
|
|
88
|
-
fill: "currentColor",
|
|
89
|
-
d: "M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128zm0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256zm345.6 192L960 960H672v-64H352v64H64l102.4-256h691.2zm-68.928 0H235.328l-76.8 192h706.944l-76.8-192z"
|
|
90
|
-
}, null, -1
|
|
91
|
-
/* HOISTED */),
|
|
92
|
-
_hoisted_444 = [_hoisted_2160, _hoisted_3159];
|
|
93
|
-
function _sfc_render160(_ctx, _cache, $props, $setup, $data, $options) {
|
|
94
|
-
return openBlock(), createElementBlock("svg", _hoisted_1160, _hoisted_444);
|
|
95
|
-
}
|
|
96
|
-
var map_location_default = /* @__PURE__ */export_helper_default(map_location_vue_vue_type_script_lang_default, [["render", _sfc_render160], ["__file", "map-location.vue"]]);
|
|
83
|
+
// src/components/map-location.vue
|
|
84
|
+
var map_location_default = map_location_vue_vue_type_script_setup_true_lang_default;
|
|
97
85
|
|
|
98
86
|
var script$2 = defineComponent({
|
|
99
87
|
components: {
|
|
@@ -123,7 +111,7 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
123
111
|
default: withCtx(() => [createVNode(_component_MapLocation)]),
|
|
124
112
|
_: 1
|
|
125
113
|
/* STABLE */
|
|
126
|
-
}
|
|
114
|
+
})]),
|
|
127
115
|
_: 1
|
|
128
116
|
/* STABLE */
|
|
129
117
|
})]),
|
|
@@ -234,7 +222,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
234
222
|
default: withCtx(() => [createVNode(_component_MapLocation)]),
|
|
235
223
|
_: 1
|
|
236
224
|
/* STABLE */
|
|
237
|
-
}, 8, ["
|
|
225
|
+
}, 8, ["onClick"])]) : createCommentVNode("v-if", true), createVNode(_component_VmGeojsonLayer, mergeProps(_ctx.mapBindProps, {
|
|
238
226
|
data: _ctx.modelValue,
|
|
239
227
|
type: _ctx.geoType,
|
|
240
228
|
paint: _ctx.paint || _ctx.paintFromEditStyles
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="vue/jsx" />
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
|
2
3
|
modelValue: {
|
|
3
4
|
type: import("vue").PropType<import("geojson").FeatureCollection<any, any>>;
|
|
@@ -111,6 +112,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
111
112
|
type: import("vue").PropType<"right">;
|
|
112
113
|
default: string;
|
|
113
114
|
};
|
|
115
|
+
ariaLabel: StringConstructor;
|
|
114
116
|
size: {
|
|
115
117
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
116
118
|
readonly required: false;
|
|
@@ -119,7 +121,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
119
121
|
};
|
|
120
122
|
disabled: BooleanConstructor;
|
|
121
123
|
resize: {
|
|
122
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
124
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>>;
|
|
123
125
|
readonly required: false;
|
|
124
126
|
readonly validator: (val: unknown) => boolean;
|
|
125
127
|
__epPropKey: true;
|
|
@@ -197,9 +199,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
197
199
|
labelPosition: "right";
|
|
198
200
|
disabled: boolean;
|
|
199
201
|
autofocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
202
|
+
ariaLabel: string;
|
|
200
203
|
maxlength: number;
|
|
201
204
|
minlength: number;
|
|
202
|
-
resize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
205
|
+
resize: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>;
|
|
203
206
|
autosize: false;
|
|
204
207
|
autocomplete: string;
|
|
205
208
|
formatter: Function;
|
|
@@ -377,6 +380,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
377
380
|
type: import("vue").PropType<"right">;
|
|
378
381
|
default: string;
|
|
379
382
|
};
|
|
383
|
+
ariaLabel: StringConstructor;
|
|
380
384
|
size: {
|
|
381
385
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
382
386
|
readonly required: false;
|
|
@@ -385,7 +389,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
385
389
|
};
|
|
386
390
|
disabled: BooleanConstructor;
|
|
387
391
|
resize: {
|
|
388
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
392
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>>;
|
|
389
393
|
readonly required: false;
|
|
390
394
|
readonly validator: (val: unknown) => boolean;
|
|
391
395
|
__epPropKey: true;
|