@vunk/form 1.1.26 → 1.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/esri-input-geojson/index.js +71 -8
- package/components/esri-input-geojson/src/append.vue.d.ts +2 -0
- package/components/esri-input-geojson/src/ctx.d.ts +1 -1
- package/components/esri-input-geojson/src/ctx.js +1 -1
- package/components/esri-input-geojson/src/index.vue.d.ts +17 -20
- package/package.json +1 -1
|
@@ -128,7 +128,7 @@ const props = __spreadProps(__spreadValues({}, _VkfInputCtx.props), {
|
|
|
128
128
|
bindPropsFactory(props);
|
|
129
129
|
const emits = __spreadProps(__spreadValues({}, _VkfInputCtx.emits), {
|
|
130
130
|
"update:modelValue": (e) => e,
|
|
131
|
-
"update:flying":
|
|
131
|
+
"update:flying": null
|
|
132
132
|
});
|
|
133
133
|
onEmitsFactory(emits);
|
|
134
134
|
|
|
@@ -200,6 +200,40 @@ function _sfc_render94(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
200
200
|
}
|
|
201
201
|
var edit_default = /* @__PURE__ */ export_helper_default(edit_vue_vue_type_script_lang_default, [["render", _sfc_render94], ["__file", "edit.vue"]]);
|
|
202
202
|
|
|
203
|
+
// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/map-location.vue?vue&type=script&lang.ts
|
|
204
|
+
var map_location_vue_vue_type_script_lang_default = {
|
|
205
|
+
name: "MapLocation"
|
|
206
|
+
};
|
|
207
|
+
var _hoisted_1160 = {
|
|
208
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
209
|
+
viewBox: "0 0 1024 1024"
|
|
210
|
+
}, _hoisted_2160 = /* @__PURE__ */ createElementVNode(
|
|
211
|
+
"path",
|
|
212
|
+
{
|
|
213
|
+
fill: "currentColor",
|
|
214
|
+
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"
|
|
215
|
+
},
|
|
216
|
+
null,
|
|
217
|
+
-1
|
|
218
|
+
/* HOISTED */
|
|
219
|
+
), _hoisted_3159 = /* @__PURE__ */ createElementVNode(
|
|
220
|
+
"path",
|
|
221
|
+
{
|
|
222
|
+
fill: "currentColor",
|
|
223
|
+
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"
|
|
224
|
+
},
|
|
225
|
+
null,
|
|
226
|
+
-1
|
|
227
|
+
/* HOISTED */
|
|
228
|
+
), _hoisted_444 = [
|
|
229
|
+
_hoisted_2160,
|
|
230
|
+
_hoisted_3159
|
|
231
|
+
];
|
|
232
|
+
function _sfc_render160(_ctx, _cache, $props, $setup, $data, $options) {
|
|
233
|
+
return openBlock(), createElementBlock("svg", _hoisted_1160, _hoisted_444);
|
|
234
|
+
}
|
|
235
|
+
var map_location_default = /* @__PURE__ */ export_helper_default(map_location_vue_vue_type_script_lang_default, [["render", _sfc_render160], ["__file", "map-location.vue"]]);
|
|
236
|
+
|
|
203
237
|
// unplugin-vue:/home/runner/work/element-plus-icons/element-plus-icons/packages/vue/src/components/upload.vue?vue&type=script&lang.ts
|
|
204
238
|
var upload_vue_vue_type_script_lang_default = {
|
|
205
239
|
name: "Upload"
|
|
@@ -239,7 +273,8 @@ const _sfc_main$2 = defineComponent({
|
|
|
239
273
|
ElButtonGroup,
|
|
240
274
|
Upload: upload_default,
|
|
241
275
|
Edit: edit_default,
|
|
242
|
-
ElUpload
|
|
276
|
+
ElUpload,
|
|
277
|
+
MapLocation: map_location_default
|
|
243
278
|
},
|
|
244
279
|
props: {
|
|
245
280
|
disabled: Boolean,
|
|
@@ -251,7 +286,8 @@ const _sfc_main$2 = defineComponent({
|
|
|
251
286
|
},
|
|
252
287
|
emits: {
|
|
253
288
|
upload: (e) => e,
|
|
254
|
-
edit: null
|
|
289
|
+
edit: null,
|
|
290
|
+
fly: null
|
|
255
291
|
},
|
|
256
292
|
methods: {
|
|
257
293
|
getFile(file) {
|
|
@@ -271,6 +307,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
271
307
|
const _component_ElUpload = resolveComponent("ElUpload");
|
|
272
308
|
const _component_Edit = resolveComponent("Edit");
|
|
273
309
|
const _component_ElButton = resolveComponent("ElButton");
|
|
310
|
+
const _component_MapLocation = resolveComponent("MapLocation");
|
|
274
311
|
const _component_ElButtonGroup = resolveComponent("ElButtonGroup");
|
|
275
312
|
return openBlock(), createBlock(_component_ElButtonGroup, null, {
|
|
276
313
|
default: withCtx(() => [
|
|
@@ -310,7 +347,20 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
310
347
|
}, 8, ["color"])
|
|
311
348
|
]),
|
|
312
349
|
_: 1
|
|
313
|
-
}, 8, ["disabled"])) : createCommentVNode("v-if", true)
|
|
350
|
+
}, 8, ["disabled"])) : createCommentVNode("v-if", true),
|
|
351
|
+
createVNode(_component_ElButton, {
|
|
352
|
+
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("fly"))
|
|
353
|
+
}, {
|
|
354
|
+
default: withCtx(() => [
|
|
355
|
+
createVNode(_component_ElIcon, { color: "var(--el-color-primary)" }, {
|
|
356
|
+
default: withCtx(() => [
|
|
357
|
+
createVNode(_component_MapLocation)
|
|
358
|
+
]),
|
|
359
|
+
_: 1
|
|
360
|
+
}, 8, ["color"])
|
|
361
|
+
]),
|
|
362
|
+
_: 1
|
|
363
|
+
})
|
|
314
364
|
]),
|
|
315
365
|
_: 1
|
|
316
366
|
});
|
|
@@ -1311,6 +1361,11 @@ var _sfc_main = defineComponent({
|
|
|
1311
1361
|
sketchRef.value = e.sketch;
|
|
1312
1362
|
viewDef.resolve(sketchRef.value.view);
|
|
1313
1363
|
};
|
|
1364
|
+
const layerLoad = async ({
|
|
1365
|
+
view
|
|
1366
|
+
}) => {
|
|
1367
|
+
viewDef.resolve(view);
|
|
1368
|
+
};
|
|
1314
1369
|
const availableCreatureTools = computed(() => {
|
|
1315
1370
|
if (Array.isArray(props2.editTypes)) {
|
|
1316
1371
|
return props2.editTypes.reduce((pre, cur) => {
|
|
@@ -1326,6 +1381,7 @@ var _sfc_main = defineComponent({
|
|
|
1326
1381
|
if (sketchValueUpdating.value)
|
|
1327
1382
|
return;
|
|
1328
1383
|
uSketchValue();
|
|
1384
|
+
console.log("watch", v, ov);
|
|
1329
1385
|
if (!(ov == null ? void 0 : ov.features.length)) {
|
|
1330
1386
|
fly();
|
|
1331
1387
|
}
|
|
@@ -1364,7 +1420,8 @@ var _sfc_main = defineComponent({
|
|
|
1364
1420
|
"upload": !readonly.value,
|
|
1365
1421
|
"disabled": props2.disabled,
|
|
1366
1422
|
"onUpload": onUpload,
|
|
1367
|
-
"onEdit": onEdit
|
|
1423
|
+
"onEdit": onEdit,
|
|
1424
|
+
"onFly": fly
|
|
1368
1425
|
}, null);
|
|
1369
1426
|
async function onUpload(e) {
|
|
1370
1427
|
if (!e.raw)
|
|
@@ -1409,8 +1466,12 @@ var _sfc_main = defineComponent({
|
|
|
1409
1466
|
});
|
|
1410
1467
|
sketchValue.value = graphics;
|
|
1411
1468
|
}
|
|
1469
|
+
watch(() => props2.flying, (v) => {
|
|
1470
|
+
v && fly();
|
|
1471
|
+
});
|
|
1412
1472
|
async function fly() {
|
|
1413
1473
|
const view = await viewDef.promise;
|
|
1474
|
+
console.log("fly", view);
|
|
1414
1475
|
if (!view)
|
|
1415
1476
|
return;
|
|
1416
1477
|
emit("update:flying", true);
|
|
@@ -1436,7 +1497,8 @@ var _sfc_main = defineComponent({
|
|
|
1436
1497
|
dialogOnClose,
|
|
1437
1498
|
mapTo,
|
|
1438
1499
|
doSave,
|
|
1439
|
-
readonly
|
|
1500
|
+
readonly,
|
|
1501
|
+
layerLoad
|
|
1440
1502
|
};
|
|
1441
1503
|
}
|
|
1442
1504
|
});
|
|
@@ -1477,8 +1539,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1477
1539
|
(_ctx.readonly)
|
|
1478
1540
|
? (openBlock(), createBlock(_component_VaGraphicsLayer, {
|
|
1479
1541
|
key: 0,
|
|
1480
|
-
graphics: _ctx.sketchValue
|
|
1481
|
-
|
|
1542
|
+
graphics: _ctx.sketchValue,
|
|
1543
|
+
onLoad: _ctx.layerLoad
|
|
1544
|
+
}, null, 8 /* PROPS */, ["graphics", "onLoad"]))
|
|
1482
1545
|
: (openBlock(), createBlock(_component_VaSketch, {
|
|
1483
1546
|
key: 1,
|
|
1484
1547
|
viewModelActiveFillSymbol: _ctx.viewModelActiveFillSymbol,
|
|
@@ -12,6 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
13
|
upload: (e: UploadFile) => UploadFile;
|
|
14
14
|
edit: null;
|
|
15
|
+
fly: null;
|
|
15
16
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
17
|
disabled: BooleanConstructor;
|
|
17
18
|
dialog: BooleanConstructor;
|
|
@@ -22,6 +23,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
23
|
}>> & {
|
|
23
24
|
onUpload?: ((e: UploadFile) => any) | undefined;
|
|
24
25
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
onFly?: ((...args: any[]) => any) | undefined;
|
|
25
27
|
}, {
|
|
26
28
|
disabled: boolean;
|
|
27
29
|
upload: boolean;
|
|
@@ -192,7 +192,7 @@ export declare const props: {
|
|
|
192
192
|
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | 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<"mapTo", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"view", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"flying", keyof T2>)[] | undefined>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"labelWidth", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"rules", keyof T2>, KE> | Exclude<Extract<"error", keyof T2>, KE> | Exclude<Extract<"validateStatus", keyof T2>, KE> | Exclude<Extract<"for", keyof T2>, KE> | Exclude<Extract<"inlineMessage", keyof T2>, KE> | Exclude<Extract<"showMessage", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"formItemSize", keyof T2>, KE> | Exclude<Extract<"formItemSlots", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"inline", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"labelPosition", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"resize", keyof T2>, KE> | Exclude<Extract<"autosize", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"parser", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"form", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"showPassword", keyof T2>, KE> | Exclude<Extract<"showWordLimit", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"containerRole", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"inputStyle", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"inputSlots", keyof T2>, KE> | Exclude<Extract<"rows", keyof T2>, KE> | 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<"mapTo", keyof T2>, KE> | Exclude<Extract<"viewModelActiveFillSymbol", keyof T2>, KE> | Exclude<Extract<"view", 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> : Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | 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<"mapTo", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"view", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"flying", keyof T2>]: { [k in Extract<"required", keyof T2> | Extract<"type", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"inputSlots", keyof T2> | Extract<"rows", keyof T2> | 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<"mapTo", keyof T2> | Extract<"viewModelActiveFillSymbol", keyof T2> | Extract<"view", keyof T2> | Extract<"viewModelActiveLineSymbol", keyof T2> | Extract<"viewModelActivePointSymbol", keyof T2> | Extract<"skipSave", keyof T2> | Extract<"flying", keyof T2>]: T2[k]; }[P]; }>;
|
|
193
193
|
export declare const emits: {
|
|
194
194
|
'update:modelValue': (e: FeatureCollection) => FeatureCollection<Geometry, import("geojson").GeoJsonProperties>;
|
|
195
|
-
'update:flying':
|
|
195
|
+
'update:flying': null;
|
|
196
196
|
input: (value: string) => boolean;
|
|
197
197
|
change: (value: string) => boolean;
|
|
198
198
|
focus: (evt: FocusEvent) => boolean;
|
|
@@ -113,7 +113,7 @@ const props = __spreadProps(__spreadValues({}, _VkfInputCtx.props), {
|
|
|
113
113
|
const createBindProps = bindPropsFactory(props);
|
|
114
114
|
const emits = __spreadProps(__spreadValues({}, _VkfInputCtx.emits), {
|
|
115
115
|
"update:modelValue": (e) => e,
|
|
116
|
-
"update:flying":
|
|
116
|
+
"update:flying": null
|
|
117
117
|
});
|
|
118
118
|
const createOnEmits = onEmitsFactory(emits);
|
|
119
119
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { __VaSketch } from '@vuesri/core';
|
|
2
|
+
import { __VaSketch, __VaGraphicsLayer } from '@vuesri/core';
|
|
3
3
|
import Graphic from '@arcgis/core/Graphic';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
readonly: {
|
|
@@ -158,9 +158,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
158
158
|
__epPropKey: true;
|
|
159
159
|
};
|
|
160
160
|
placeholder: {
|
|
161
|
-
readonly type: import("vue").PropType<string>;
|
|
162
|
-
* 初始化
|
|
163
|
-
*/
|
|
161
|
+
readonly type: import("vue").PropType<string>;
|
|
164
162
|
readonly required: false;
|
|
165
163
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
166
164
|
__epPropKey: true;
|
|
@@ -232,17 +230,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
232
230
|
rows: number | undefined;
|
|
233
231
|
}>;
|
|
234
232
|
inputOnEmits: {
|
|
235
|
-
input: (e:
|
|
236
|
-
change: (e:
|
|
237
|
-
focus: (e:
|
|
238
|
-
blur: (e:
|
|
239
|
-
clear: (e:
|
|
240
|
-
mouseleave: (e:
|
|
241
|
-
mouseenter: (e:
|
|
242
|
-
keydown: (e:
|
|
243
|
-
compositionstart: (e:
|
|
244
|
-
compositionupdate: (e:
|
|
245
|
-
compositionend: (e:
|
|
233
|
+
input: (...e: any[]) => void;
|
|
234
|
+
change: (...e: any[]) => void;
|
|
235
|
+
focus: (...e: any[]) => void;
|
|
236
|
+
blur: (...e: any[]) => void;
|
|
237
|
+
clear: (...e: any[]) => void;
|
|
238
|
+
mouseleave: (...e: any[]) => void;
|
|
239
|
+
mouseenter: (...e: any[]) => void;
|
|
240
|
+
keydown: (...e: any[]) => void;
|
|
241
|
+
compositionstart: (...e: any[]) => void;
|
|
242
|
+
compositionupdate: (...e: any[]) => void;
|
|
243
|
+
compositionend: (...e: any[]) => void;
|
|
246
244
|
};
|
|
247
245
|
append: () => JSX.Element;
|
|
248
246
|
availableCreatureTools: import("vue").ComputedRef<("circle" | "point" | "polygon" | "polyline" | "rectangle")[]>;
|
|
@@ -259,9 +257,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
259
257
|
mapTo: Ref<HTMLDivElement>;
|
|
260
258
|
doSave: () => void;
|
|
261
259
|
readonly: import("vue").ComputedRef<boolean>;
|
|
260
|
+
layerLoad: __VaGraphicsLayer.OnLoad;
|
|
262
261
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
263
262
|
'update:modelValue': (e: import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>) => import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;
|
|
264
|
-
'update:flying':
|
|
263
|
+
'update:flying': null;
|
|
265
264
|
input: (value: string) => boolean;
|
|
266
265
|
change: (value: string) => boolean;
|
|
267
266
|
focus: (evt: FocusEvent) => boolean;
|
|
@@ -430,9 +429,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
430
429
|
__epPropKey: true;
|
|
431
430
|
};
|
|
432
431
|
placeholder: {
|
|
433
|
-
readonly type: import("vue").PropType<string>;
|
|
434
|
-
* 初始化
|
|
435
|
-
*/
|
|
432
|
+
readonly type: import("vue").PropType<string>;
|
|
436
433
|
readonly required: false;
|
|
437
434
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
438
435
|
__epPropKey: true;
|
|
@@ -475,7 +472,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
475
472
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
476
473
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
477
474
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
478
|
-
"onUpdate:flying"?: ((
|
|
475
|
+
"onUpdate:flying"?: ((...args: any[]) => any) | undefined;
|
|
479
476
|
}, {
|
|
480
477
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
481
478
|
type: string;
|