qy-vue-plugins 1.0.2-beta → 1.0.4-beta
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/dist/chunks/{mapSetting-BRasGCqk.js → mapSetting-BfVnKnRM.js} +248 -210
- package/dist/chunks/mapSetting-Bj4VM90F.js +1 -0
- package/dist/mapboxV2/components/mapSetting.cjs +1 -1
- package/dist/mapboxV2/components/mapSetting.mjs +1 -1
- package/dist/mapboxV2/components/mapTopic.cjs +1 -1
- package/dist/mapboxV2/components/mapTopic.mjs +287 -268
- package/dist/mapboxV2.cjs +1 -1
- package/dist/mapboxV2.mjs +1 -1
- package/dist/qy-vue-plugins.css +1 -1
- package/dist/types/mapboxV2/components/mapTopic.vue.d.ts +5 -1
- package/package.json +1 -1
- package/dist/chunks/mapSetting-CfE-5SCc.js +0 -1
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { E as
|
|
3
|
-
import { E as
|
|
4
|
-
import { E as
|
|
5
|
-
import { u as
|
|
6
|
-
import { defineComponent as
|
|
7
|
-
import { i as
|
|
8
|
-
import { QuestionFilled as
|
|
9
|
-
import { g as
|
|
10
|
-
import { u as
|
|
11
|
-
import { M as
|
|
12
|
-
import { E as
|
|
13
|
-
import { a as
|
|
14
|
-
import { _ as
|
|
15
|
-
const
|
|
1
|
+
import { j as F, m as b, s as X, u as W, k as Y } from "./base-DfCoKyyG.js";
|
|
2
|
+
import { E as ee } from "./el-button-Dh7ROB0R.js";
|
|
3
|
+
import { E as te, a as oe } from "./el-form-item-CXLLocXw.js";
|
|
4
|
+
import { E as ae } from "./el-input-DCpRXscw.js";
|
|
5
|
+
import { u as m, r as le, a as B, E as re } from "./el-popper-zUql4Vp-.js";
|
|
6
|
+
import { defineComponent as $, computed as k, ref as x, unref as u, createBlock as N, openBlock as P, mergeProps as ie, withCtx as r, renderSlot as D, createCommentVNode as K, createElementBlock as H, normalizeClass as J, toDisplayString as z, createTextVNode as _, inject as ne, onMounted as se, onUnmounted as pe, Transition as de, withDirectives as ue, createElementVNode as o, createVNode as a, Fragment as fe, renderList as me, vShow as ce } from "vue";
|
|
7
|
+
import { i as ve, v as ge, t as ye } from "./img_c-B-7oksYM.js";
|
|
8
|
+
import { QuestionFilled as V, Hide as be, View as he } from "@element-plus/icons-vue";
|
|
9
|
+
import { g as _e, m as Ce, c as we } from "./EventKeys-1aL9cgT0.js";
|
|
10
|
+
import { u as Ee } from "./mapStore-Eu13mnJg.js";
|
|
11
|
+
import { M as Z } from "./map-CBmOzxBT.js";
|
|
12
|
+
import { E as M } from "./index-Cw_w6CLf.js";
|
|
13
|
+
import { a as Se, _ as xe, w as Pe, h as Be, E as Te } from "./aria-GiGFrmP1.js";
|
|
14
|
+
import { _ as ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const U = F({
|
|
16
16
|
trigger: {
|
|
17
|
-
...
|
|
18
|
-
type:
|
|
17
|
+
...B.trigger,
|
|
18
|
+
type: b([
|
|
19
19
|
String,
|
|
20
20
|
Array
|
|
21
21
|
])
|
|
22
22
|
},
|
|
23
23
|
triggerKeys: {
|
|
24
|
-
type:
|
|
24
|
+
type: b(Array),
|
|
25
25
|
default: () => [
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
M.enter,
|
|
27
|
+
M.numpadEnter,
|
|
28
|
+
M.space,
|
|
29
|
+
M.down
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
|
-
virtualTriggering:
|
|
33
|
-
virtualRef:
|
|
32
|
+
virtualTriggering: B.virtualTriggering,
|
|
33
|
+
virtualRef: B.virtualRef,
|
|
34
34
|
effect: {
|
|
35
|
-
...
|
|
35
|
+
...m.effect,
|
|
36
36
|
default: "light"
|
|
37
37
|
},
|
|
38
38
|
type: {
|
|
39
|
-
type:
|
|
39
|
+
type: b(String)
|
|
40
40
|
},
|
|
41
41
|
placement: {
|
|
42
|
-
type:
|
|
42
|
+
type: b(String),
|
|
43
43
|
default: "bottom"
|
|
44
44
|
},
|
|
45
45
|
popperOptions: {
|
|
46
|
-
type:
|
|
46
|
+
type: b(Object),
|
|
47
47
|
default: () => ({})
|
|
48
48
|
},
|
|
49
49
|
id: String,
|
|
@@ -73,30 +73,30 @@ const I = k({
|
|
|
73
73
|
default: 150
|
|
74
74
|
},
|
|
75
75
|
tabindex: {
|
|
76
|
-
type:
|
|
76
|
+
type: b([Number, String]),
|
|
77
77
|
default: 0
|
|
78
78
|
},
|
|
79
79
|
maxHeight: {
|
|
80
|
-
type:
|
|
80
|
+
type: b([Number, String]),
|
|
81
81
|
default: ""
|
|
82
82
|
},
|
|
83
|
-
popperClass:
|
|
84
|
-
popperStyle:
|
|
83
|
+
popperClass: m.popperClass,
|
|
84
|
+
popperStyle: m.popperStyle,
|
|
85
85
|
disabled: Boolean,
|
|
86
86
|
role: {
|
|
87
87
|
type: String,
|
|
88
|
-
values:
|
|
88
|
+
values: le,
|
|
89
89
|
default: "menu"
|
|
90
90
|
},
|
|
91
91
|
buttonProps: {
|
|
92
|
-
type:
|
|
92
|
+
type: b(Object)
|
|
93
93
|
},
|
|
94
|
-
teleported:
|
|
94
|
+
teleported: m.teleported,
|
|
95
95
|
persistent: {
|
|
96
96
|
type: Boolean,
|
|
97
97
|
default: !0
|
|
98
98
|
}
|
|
99
|
-
}),
|
|
99
|
+
}), Ct = F({
|
|
100
100
|
command: {
|
|
101
101
|
type: [Object, String, Number],
|
|
102
102
|
default: () => ({})
|
|
@@ -105,32 +105,32 @@ const I = k({
|
|
|
105
105
|
divided: Boolean,
|
|
106
106
|
textValue: String,
|
|
107
107
|
icon: {
|
|
108
|
-
type:
|
|
108
|
+
type: Se
|
|
109
109
|
}
|
|
110
|
-
}),
|
|
111
|
-
onKeydown: { type:
|
|
112
|
-
}),
|
|
113
|
-
trigger:
|
|
114
|
-
triggerKeys:
|
|
115
|
-
placement:
|
|
116
|
-
disabled:
|
|
117
|
-
visible:
|
|
118
|
-
transition:
|
|
119
|
-
popperOptions:
|
|
120
|
-
tabindex:
|
|
121
|
-
content:
|
|
122
|
-
popperStyle:
|
|
123
|
-
popperClass:
|
|
110
|
+
}), wt = F({
|
|
111
|
+
onKeydown: { type: b(Function) }
|
|
112
|
+
}), Ve = F({
|
|
113
|
+
trigger: B.trigger,
|
|
114
|
+
triggerKeys: B.triggerKeys,
|
|
115
|
+
placement: U.placement,
|
|
116
|
+
disabled: B.disabled,
|
|
117
|
+
visible: m.visible,
|
|
118
|
+
transition: m.transition,
|
|
119
|
+
popperOptions: U.popperOptions,
|
|
120
|
+
tabindex: U.tabindex,
|
|
121
|
+
content: m.content,
|
|
122
|
+
popperStyle: m.popperStyle,
|
|
123
|
+
popperClass: m.popperClass,
|
|
124
124
|
enterable: {
|
|
125
|
-
...
|
|
125
|
+
...m.enterable,
|
|
126
126
|
default: !0
|
|
127
127
|
},
|
|
128
128
|
effect: {
|
|
129
|
-
...
|
|
129
|
+
...m.effect,
|
|
130
130
|
default: "light"
|
|
131
131
|
},
|
|
132
|
-
teleported:
|
|
133
|
-
appendTo:
|
|
132
|
+
teleported: m.teleported,
|
|
133
|
+
appendTo: m.appendTo,
|
|
134
134
|
title: String,
|
|
135
135
|
width: {
|
|
136
136
|
type: [String, Number],
|
|
@@ -163,43 +163,43 @@ const I = k({
|
|
|
163
163
|
"onUpdate:visible": {
|
|
164
164
|
type: Function
|
|
165
165
|
}
|
|
166
|
-
}),
|
|
167
|
-
"update:visible": (
|
|
166
|
+
}), Le = {
|
|
167
|
+
"update:visible": (c) => X(c),
|
|
168
168
|
"before-enter": () => !0,
|
|
169
169
|
"before-leave": () => !0,
|
|
170
170
|
"after-enter": () => !0,
|
|
171
171
|
"after-leave": () => !0
|
|
172
|
-
},
|
|
172
|
+
}, Me = "onUpdate:visible", Ne = $({
|
|
173
173
|
name: "ElPopover"
|
|
174
|
-
}),
|
|
175
|
-
...
|
|
176
|
-
props:
|
|
177
|
-
emits:
|
|
178
|
-
setup(
|
|
179
|
-
const
|
|
174
|
+
}), Fe = /* @__PURE__ */ $({
|
|
175
|
+
...Ne,
|
|
176
|
+
props: Ve,
|
|
177
|
+
emits: Le,
|
|
178
|
+
setup(c, { expose: v, emit: s }) {
|
|
179
|
+
const p = c, E = k(() => p[Me]), g = W("popover"), l = x(), i = k(() => {
|
|
180
180
|
var t;
|
|
181
|
-
return (t =
|
|
182
|
-
}),
|
|
181
|
+
return (t = u(l)) == null ? void 0 : t.popperRef;
|
|
182
|
+
}), T = k(() => [
|
|
183
183
|
{
|
|
184
|
-
width:
|
|
184
|
+
width: Y(p.width)
|
|
185
185
|
},
|
|
186
|
-
|
|
187
|
-
]),
|
|
186
|
+
p.popperStyle
|
|
187
|
+
]), O = k(() => [g.b(), p.popperClass, { [g.m("plain")]: !!p.content }]), R = k(() => p.transition === `${g.namespace.value}-fade-in-linear`), h = () => {
|
|
188
188
|
var t;
|
|
189
189
|
(t = l.value) == null || t.hide();
|
|
190
190
|
}, L = () => {
|
|
191
|
-
|
|
192
|
-
},
|
|
193
|
-
|
|
194
|
-
},
|
|
195
|
-
|
|
196
|
-
},
|
|
197
|
-
|
|
191
|
+
s("before-enter");
|
|
192
|
+
}, I = () => {
|
|
193
|
+
s("before-leave");
|
|
194
|
+
}, C = () => {
|
|
195
|
+
s("after-enter");
|
|
196
|
+
}, A = () => {
|
|
197
|
+
s("update:visible", !1), s("after-leave");
|
|
198
198
|
};
|
|
199
|
-
return
|
|
200
|
-
popperRef:
|
|
201
|
-
hide:
|
|
202
|
-
}), (t,
|
|
199
|
+
return v({
|
|
200
|
+
popperRef: i,
|
|
201
|
+
hide: h
|
|
202
|
+
}), (t, n) => (P(), N(u(re), ie({
|
|
203
203
|
ref_key: "tooltipRef",
|
|
204
204
|
ref: l
|
|
205
205
|
}, t.$attrs, {
|
|
@@ -220,54 +220,54 @@ const I = k({
|
|
|
220
220
|
"aria-label": t.title,
|
|
221
221
|
effect: t.effect,
|
|
222
222
|
enterable: t.enterable,
|
|
223
|
-
"popper-class":
|
|
224
|
-
"popper-style":
|
|
223
|
+
"popper-class": u(O),
|
|
224
|
+
"popper-style": u(T),
|
|
225
225
|
teleported: t.teleported,
|
|
226
226
|
"append-to": t.appendTo,
|
|
227
227
|
persistent: t.persistent,
|
|
228
|
-
"gpu-acceleration":
|
|
229
|
-
"onUpdate:visible":
|
|
228
|
+
"gpu-acceleration": u(R),
|
|
229
|
+
"onUpdate:visible": u(E),
|
|
230
230
|
onBeforeShow: L,
|
|
231
|
-
onBeforeHide:
|
|
232
|
-
onShow:
|
|
233
|
-
onHide:
|
|
231
|
+
onBeforeHide: I,
|
|
232
|
+
onShow: C,
|
|
233
|
+
onHide: A
|
|
234
234
|
}), {
|
|
235
235
|
content: r(() => [
|
|
236
|
-
t.title ? (
|
|
236
|
+
t.title ? (P(), H("div", {
|
|
237
237
|
key: 0,
|
|
238
|
-
class:
|
|
238
|
+
class: J(u(g).e("title")),
|
|
239
239
|
role: "title"
|
|
240
|
-
},
|
|
241
|
-
|
|
242
|
-
|
|
240
|
+
}, z(t.title), 3)) : K("v-if", !0),
|
|
241
|
+
D(t.$slots, "default", {}, () => [
|
|
242
|
+
_(z(t.content), 1)
|
|
243
243
|
])
|
|
244
244
|
]),
|
|
245
245
|
default: r(() => [
|
|
246
|
-
t.$slots.reference ?
|
|
246
|
+
t.$slots.reference ? D(t.$slots, "reference", { key: 0 }) : K("v-if", !0)
|
|
247
247
|
]),
|
|
248
248
|
_: 3
|
|
249
249
|
}, 16, ["trigger", "trigger-keys", "placement", "disabled", "visible", "transition", "popper-options", "tabindex", "content", "offset", "show-after", "hide-after", "auto-close", "show-arrow", "aria-label", "effect", "enterable", "popper-class", "popper-style", "teleported", "append-to", "persistent", "gpu-acceleration", "onUpdate:visible"]));
|
|
250
250
|
}
|
|
251
251
|
});
|
|
252
|
-
var
|
|
253
|
-
const
|
|
254
|
-
const
|
|
255
|
-
|
|
252
|
+
var Oe = /* @__PURE__ */ xe(Fe, [["__file", "popover.vue"]]);
|
|
253
|
+
const j = (c, v) => {
|
|
254
|
+
const s = v.arg || v.value, p = s?.popperRef;
|
|
255
|
+
p && (p.triggerRef = c);
|
|
256
256
|
};
|
|
257
|
-
var
|
|
258
|
-
mounted(
|
|
259
|
-
|
|
257
|
+
var Re = {
|
|
258
|
+
mounted(c, v) {
|
|
259
|
+
j(c, v);
|
|
260
260
|
},
|
|
261
|
-
updated(
|
|
262
|
-
|
|
261
|
+
updated(c, v) {
|
|
262
|
+
j(c, v);
|
|
263
263
|
}
|
|
264
264
|
};
|
|
265
|
-
const
|
|
266
|
-
directive:
|
|
267
|
-
}),
|
|
265
|
+
const Ie = "popover", Ae = Be(Re, Ie), Ze = Pe(Oe, {
|
|
266
|
+
directive: Ae
|
|
267
|
+
}), Ue = { class: "setting-map qy-flex-col" }, ze = { class: "header" }, $e = { class: "topic-list-content" }, De = { class: "form-item" }, Ke = { style: { display: "flex", "align-items": "baseline", gap: "5px" } }, je = { class: "form-item" }, He = { style: { display: "flex", "align-items": "baseline", gap: "5px" } }, Je = { class: "form-item" }, qe = { style: { display: "flex", "align-items": "baseline", gap: "5px" } }, Ge = { class: "form-item" }, Qe = { style: { display: "flex", "align-items": "baseline", gap: "5px" } }, Xe = { class: "base-map" }, We = { class: "map-layer-content" }, Ye = ["onClick"], et = { class: "layer-item-icon" }, tt = ["src"], ot = { class: "layer-item-name" }, at = { class: "factor-map" }, lt = { class: "factor-map-content" }, rt = { class: "footer" }, it = /* @__PURE__ */ $({
|
|
268
268
|
__name: "mapSetting",
|
|
269
|
-
setup(
|
|
270
|
-
const
|
|
269
|
+
setup(c, { expose: v }) {
|
|
270
|
+
const s = ne("mapRootId"), p = Ee(), E = x(!1), g = x(), l = x({
|
|
271
271
|
defaultCenter: void 0,
|
|
272
272
|
// 地图中心 [lng, lat]
|
|
273
273
|
defaultZoom: 3,
|
|
@@ -282,32 +282,67 @@ const Oe = "popover", Le = Ee(Me, Oe), Re = we(Ne, {
|
|
|
282
282
|
label: !0
|
|
283
283
|
// 标注
|
|
284
284
|
}
|
|
285
|
-
})
|
|
285
|
+
});
|
|
286
|
+
let i = null;
|
|
287
|
+
const T = x(p.mapInstances[s]?.activeMapLayer), O = [
|
|
286
288
|
{
|
|
287
|
-
id:
|
|
289
|
+
id: Z.SATELLITE,
|
|
288
290
|
name: "卫星地图",
|
|
289
|
-
icon:
|
|
291
|
+
icon: ve
|
|
290
292
|
},
|
|
291
293
|
{
|
|
292
|
-
id:
|
|
294
|
+
id: Z.VECTOR,
|
|
293
295
|
name: "矢量地图",
|
|
294
|
-
icon:
|
|
296
|
+
icon: ge
|
|
295
297
|
},
|
|
296
298
|
{
|
|
297
|
-
id:
|
|
299
|
+
id: Z.TOPOGRAPHIC,
|
|
298
300
|
name: "地形地图",
|
|
299
|
-
icon:
|
|
301
|
+
icon: ye
|
|
300
302
|
}
|
|
301
|
-
],
|
|
302
|
-
|
|
303
|
-
},
|
|
303
|
+
], R = (n) => {
|
|
304
|
+
p.changeMapLayer(s, n), T.value = n;
|
|
305
|
+
}, h = x({
|
|
304
306
|
labels: !0
|
|
305
307
|
// 标注标签默认显示
|
|
306
|
-
}),
|
|
307
|
-
|
|
308
|
-
|
|
308
|
+
}), L = [
|
|
309
|
+
"tdt-satellite-osm-tiles-marker-layer",
|
|
310
|
+
// 卫星地图标注
|
|
311
|
+
"tdt-vector-osm-tiles-marker-layer",
|
|
312
|
+
// 矢量地图标注
|
|
313
|
+
"tdt-vector-osm-tiles-marker-layer1",
|
|
314
|
+
// 矢量地图中文标注1
|
|
315
|
+
"tdt-vector-osm-tiles-marker-layer2",
|
|
316
|
+
// 矢量地图中文标注2
|
|
317
|
+
"tdt-vector-osm-tiles-marker-layer3"
|
|
318
|
+
// 矢量地图兴趣点
|
|
319
|
+
], I = (n) => {
|
|
320
|
+
if (i) {
|
|
321
|
+
h.value.labels = !h.value.labels;
|
|
322
|
+
const e = h.value.labels ? "visible" : "none";
|
|
323
|
+
L.forEach((f) => {
|
|
324
|
+
try {
|
|
325
|
+
i.getLayer(f) ? i.setLayoutProperty(f, "visibility", e) : console.log("图层不存在:", f);
|
|
326
|
+
} catch (y) {
|
|
327
|
+
console.log("图层操作失败:", f, y);
|
|
328
|
+
}
|
|
329
|
+
});
|
|
330
|
+
}
|
|
331
|
+
}, C = () => {
|
|
332
|
+
if (!i) return;
|
|
333
|
+
const n = i.getCenter(), e = i.getZoom(), f = i.getBearing(), y = i.getPitch();
|
|
334
|
+
l.value.defaultCenter = [n.lng.toFixed(6), n.lat.toFixed(6)], l.value.defaultZoom = e.toFixed(2), l.value.bearing = f.toFixed(2), l.value.pitch = y.toFixed(2), T.value = p.mapInstances[s]?.activeMapLayer, h.value.labels = L.some((w) => {
|
|
335
|
+
try {
|
|
336
|
+
if (i.getLayer(w))
|
|
337
|
+
return i.getLayoutProperty(w, "visibility") === "visible";
|
|
338
|
+
} catch {
|
|
339
|
+
}
|
|
340
|
+
return !1;
|
|
341
|
+
});
|
|
342
|
+
}, A = () => {
|
|
343
|
+
if (!g.value)
|
|
309
344
|
return;
|
|
310
|
-
const
|
|
345
|
+
const n = p.mapInstances[s]?.activeMapLayer || "unknown", e = {
|
|
311
346
|
// 默认地图中心
|
|
312
347
|
defaultCenter: l.value.defaultCenter,
|
|
313
348
|
// 默认缩放等级
|
|
@@ -317,17 +352,17 @@ const Oe = "popover", Le = Ee(Me, Oe), Re = we(Ne, {
|
|
|
317
352
|
// 俯仰角
|
|
318
353
|
pitch: l.value.pitch,
|
|
319
354
|
// 底图类型
|
|
320
|
-
baseMap:
|
|
355
|
+
baseMap: n,
|
|
321
356
|
// 全部标注是否显示
|
|
322
357
|
displayFeatures: {
|
|
323
|
-
label:
|
|
358
|
+
label: h.value.labels
|
|
324
359
|
}
|
|
325
360
|
};
|
|
326
|
-
console.log("========== 地图配置 =========="), console.log(e), console.log("====================",
|
|
327
|
-
},
|
|
328
|
-
|
|
361
|
+
console.log("========== 地图配置 =========="), console.log(e), console.log("====================", g.value), g.value.layerPaintConfig = JSON.stringify(e), we.emit(g.value);
|
|
362
|
+
}, t = (n) => {
|
|
363
|
+
g.value = n;
|
|
329
364
|
const e = JSON.parse(
|
|
330
|
-
|
|
365
|
+
n.layerPaintConfig || "{}"
|
|
331
366
|
);
|
|
332
367
|
l.value = {
|
|
333
368
|
defaultCenter: e.defaultCenter,
|
|
@@ -340,187 +375,190 @@ const Oe = "popover", Le = Ee(Me, Oe), Re = we(Ne, {
|
|
|
340
375
|
}
|
|
341
376
|
};
|
|
342
377
|
};
|
|
343
|
-
return
|
|
344
|
-
|
|
345
|
-
|
|
378
|
+
return se(() => {
|
|
379
|
+
_e.on(() => {
|
|
380
|
+
E.value = !E.value;
|
|
381
|
+
}), Ce.on((n) => {
|
|
382
|
+
n.mapRootId === s && (i = n.mapInstance, C(), i.on("moveend", C), i.on("zoomend", C));
|
|
346
383
|
});
|
|
347
|
-
}),
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
384
|
+
}), pe(() => {
|
|
385
|
+
i && (i.off("moveend", C), i.off("zoomend", C));
|
|
386
|
+
}), v({
|
|
387
|
+
setMapConfig: t
|
|
388
|
+
}), (n, e) => {
|
|
389
|
+
const f = Te, y = Ze, w = oe, S = ae, q = te, G = ee;
|
|
390
|
+
return P(), N(de, {
|
|
353
391
|
name: "fade",
|
|
354
392
|
mode: "out-in"
|
|
355
393
|
}, {
|
|
356
394
|
default: r(() => [
|
|
357
|
-
|
|
358
|
-
o("div",
|
|
395
|
+
ue(o("div", Ue, [
|
|
396
|
+
o("div", ze, [
|
|
359
397
|
o("div", null, [
|
|
360
|
-
e[7] || (e[7] =
|
|
361
|
-
a(
|
|
398
|
+
e[7] || (e[7] = _(" 地图设置 ", -1)),
|
|
399
|
+
a(y, {
|
|
362
400
|
placement: "right-start",
|
|
363
401
|
title: "温馨提示",
|
|
364
402
|
trigger: "hover"
|
|
365
403
|
}, {
|
|
366
404
|
reference: r(() => [
|
|
367
|
-
a(
|
|
405
|
+
a(f, null, {
|
|
368
406
|
default: r(() => [
|
|
369
|
-
a(
|
|
407
|
+
a(u(V))
|
|
370
408
|
]),
|
|
371
409
|
_: 1
|
|
372
410
|
})
|
|
373
411
|
]),
|
|
374
412
|
default: r(() => [...e[6] || (e[6] = [
|
|
375
|
-
|
|
413
|
+
_(" xxxxx ", -1)
|
|
376
414
|
])]),
|
|
377
415
|
_: 1
|
|
378
416
|
})
|
|
379
417
|
]),
|
|
380
418
|
o("div", {
|
|
381
419
|
class: "close-btn",
|
|
382
|
-
onClick: e[0] || (e[0] = (
|
|
420
|
+
onClick: e[0] || (e[0] = (d) => E.value = !1)
|
|
383
421
|
}, "X")
|
|
384
422
|
]),
|
|
385
|
-
o("div",
|
|
386
|
-
a(
|
|
423
|
+
o("div", $e, [
|
|
424
|
+
a(q, { ref: "topicForm" }, {
|
|
387
425
|
default: r(() => [
|
|
388
|
-
o("div",
|
|
389
|
-
o("div",
|
|
390
|
-
a(
|
|
426
|
+
o("div", De, [
|
|
427
|
+
o("div", Ke, [
|
|
428
|
+
a(w, {
|
|
391
429
|
for: "mapCenter",
|
|
392
430
|
prop: "mapCenter",
|
|
393
431
|
label: "默认地图中心",
|
|
394
432
|
"label-position": "top"
|
|
395
433
|
}),
|
|
396
|
-
a(
|
|
434
|
+
a(y, {
|
|
397
435
|
placement: "right-start",
|
|
398
436
|
title: "温馨提示",
|
|
399
437
|
trigger: "hover"
|
|
400
438
|
}, {
|
|
401
439
|
reference: r(() => [
|
|
402
|
-
a(
|
|
440
|
+
a(f, { size: "13" }, {
|
|
403
441
|
default: r(() => [
|
|
404
|
-
a(
|
|
442
|
+
a(u(V))
|
|
405
443
|
]),
|
|
406
444
|
_: 1
|
|
407
445
|
})
|
|
408
446
|
]),
|
|
409
447
|
default: r(() => [...e[8] || (e[8] = [
|
|
410
|
-
|
|
448
|
+
_(" xxxxx ", -1)
|
|
411
449
|
])]),
|
|
412
450
|
_: 1
|
|
413
451
|
})
|
|
414
452
|
]),
|
|
415
|
-
a(
|
|
453
|
+
a(S, {
|
|
416
454
|
id: "mapCenter",
|
|
417
455
|
modelValue: l.value.defaultCenter,
|
|
418
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
456
|
+
"onUpdate:modelValue": e[1] || (e[1] = (d) => l.value.defaultCenter = d),
|
|
419
457
|
placeholder: "经度, 纬度",
|
|
420
458
|
readonly: ""
|
|
421
459
|
}, null, 8, ["modelValue"])
|
|
422
460
|
]),
|
|
423
|
-
o("div",
|
|
424
|
-
o("div",
|
|
425
|
-
a(
|
|
461
|
+
o("div", je, [
|
|
462
|
+
o("div", He, [
|
|
463
|
+
a(w, {
|
|
426
464
|
for: "mapZoom",
|
|
427
465
|
prop: "mapZoom",
|
|
428
466
|
label: "默认缩放等级",
|
|
429
467
|
"label-position": "top"
|
|
430
468
|
}),
|
|
431
|
-
a(
|
|
469
|
+
a(y, {
|
|
432
470
|
placement: "right-start",
|
|
433
471
|
title: "温馨提示",
|
|
434
472
|
trigger: "hover"
|
|
435
473
|
}, {
|
|
436
474
|
reference: r(() => [
|
|
437
|
-
a(
|
|
475
|
+
a(f, { size: "13" }, {
|
|
438
476
|
default: r(() => [
|
|
439
|
-
a(
|
|
477
|
+
a(u(V))
|
|
440
478
|
]),
|
|
441
479
|
_: 1
|
|
442
480
|
})
|
|
443
481
|
]),
|
|
444
482
|
default: r(() => [...e[9] || (e[9] = [
|
|
445
|
-
|
|
483
|
+
_(" xxxxx ", -1)
|
|
446
484
|
])]),
|
|
447
485
|
_: 1
|
|
448
486
|
})
|
|
449
487
|
]),
|
|
450
|
-
a(
|
|
488
|
+
a(S, {
|
|
451
489
|
id: "mapZoom",
|
|
452
490
|
modelValue: l.value.defaultZoom,
|
|
453
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
491
|
+
"onUpdate:modelValue": e[2] || (e[2] = (d) => l.value.defaultZoom = d),
|
|
454
492
|
placeholder: "缩放等级",
|
|
455
493
|
readonly: ""
|
|
456
494
|
}, null, 8, ["modelValue"])
|
|
457
495
|
]),
|
|
458
|
-
o("div",
|
|
459
|
-
o("div",
|
|
460
|
-
a(
|
|
496
|
+
o("div", Je, [
|
|
497
|
+
o("div", qe, [
|
|
498
|
+
a(w, {
|
|
461
499
|
for: "mapBearing",
|
|
462
500
|
prop: "mapBearing",
|
|
463
501
|
label: "旋转角度",
|
|
464
502
|
"label-position": "top"
|
|
465
503
|
}),
|
|
466
|
-
a(
|
|
504
|
+
a(y, {
|
|
467
505
|
placement: "right-start",
|
|
468
506
|
title: "温馨提示",
|
|
469
507
|
trigger: "hover"
|
|
470
508
|
}, {
|
|
471
509
|
reference: r(() => [
|
|
472
|
-
a(
|
|
510
|
+
a(f, { size: "13" }, {
|
|
473
511
|
default: r(() => [
|
|
474
|
-
a(
|
|
512
|
+
a(u(V))
|
|
475
513
|
]),
|
|
476
514
|
_: 1
|
|
477
515
|
})
|
|
478
516
|
]),
|
|
479
517
|
default: r(() => [...e[10] || (e[10] = [
|
|
480
|
-
|
|
518
|
+
_(" xxxxx ", -1)
|
|
481
519
|
])]),
|
|
482
520
|
_: 1
|
|
483
521
|
})
|
|
484
522
|
]),
|
|
485
|
-
a(
|
|
523
|
+
a(S, {
|
|
486
524
|
id: "mapBearing",
|
|
487
525
|
modelValue: l.value.bearing,
|
|
488
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
526
|
+
"onUpdate:modelValue": e[3] || (e[3] = (d) => l.value.bearing = d),
|
|
489
527
|
placeholder: "旋转角度 (度)",
|
|
490
528
|
readonly: ""
|
|
491
529
|
}, null, 8, ["modelValue"])
|
|
492
530
|
]),
|
|
493
|
-
o("div",
|
|
494
|
-
o("div",
|
|
495
|
-
a(
|
|
531
|
+
o("div", Ge, [
|
|
532
|
+
o("div", Qe, [
|
|
533
|
+
a(w, {
|
|
496
534
|
for: "mapPitch",
|
|
497
535
|
prop: "mapPitch",
|
|
498
536
|
label: "俯仰角",
|
|
499
537
|
"label-position": "top"
|
|
500
538
|
}),
|
|
501
|
-
a(
|
|
539
|
+
a(y, {
|
|
502
540
|
placement: "right-start",
|
|
503
541
|
title: "温馨提示",
|
|
504
542
|
trigger: "hover"
|
|
505
543
|
}, {
|
|
506
544
|
reference: r(() => [
|
|
507
|
-
a(
|
|
545
|
+
a(f, { size: "13" }, {
|
|
508
546
|
default: r(() => [
|
|
509
|
-
a(
|
|
547
|
+
a(u(V))
|
|
510
548
|
]),
|
|
511
549
|
_: 1
|
|
512
550
|
})
|
|
513
551
|
]),
|
|
514
552
|
default: r(() => [...e[11] || (e[11] = [
|
|
515
|
-
|
|
553
|
+
_(" xxxxx ", -1)
|
|
516
554
|
])]),
|
|
517
555
|
_: 1
|
|
518
556
|
})
|
|
519
557
|
]),
|
|
520
|
-
a(
|
|
558
|
+
a(S, {
|
|
521
559
|
id: "mapPitch",
|
|
522
560
|
modelValue: l.value.pitch,
|
|
523
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
561
|
+
"onUpdate:modelValue": e[4] || (e[4] = (d) => l.value.pitch = d),
|
|
524
562
|
placeholder: "俯仰角 (度)",
|
|
525
563
|
readonly: ""
|
|
526
564
|
}, null, 8, ["modelValue"])
|
|
@@ -529,37 +567,37 @@ const Oe = "popover", Le = Ee(Me, Oe), Re = we(Ne, {
|
|
|
529
567
|
]),
|
|
530
568
|
_: 1
|
|
531
569
|
}, 512),
|
|
532
|
-
o("div",
|
|
570
|
+
o("div", Xe, [
|
|
533
571
|
e[13] || (e[13] = o("label", { for: "" }, "底图选择", -1)),
|
|
534
|
-
o("div",
|
|
535
|
-
(
|
|
536
|
-
onClick: () =>
|
|
537
|
-
key:
|
|
538
|
-
class:
|
|
572
|
+
o("div", We, [
|
|
573
|
+
(P(), H(fe, null, me(O, (d, Q) => o("div", {
|
|
574
|
+
onClick: () => R(d.id),
|
|
575
|
+
key: Q,
|
|
576
|
+
class: J([
|
|
539
577
|
"map-layer-item",
|
|
540
|
-
|
|
578
|
+
T.value == d.id ? "active" : null
|
|
541
579
|
])
|
|
542
580
|
}, [
|
|
543
|
-
o("div",
|
|
581
|
+
o("div", et, [
|
|
544
582
|
o("img", {
|
|
545
|
-
src:
|
|
583
|
+
src: d.icon,
|
|
546
584
|
style: { width: "100%", height: "100%" }
|
|
547
|
-
}, null, 8,
|
|
585
|
+
}, null, 8, tt)
|
|
548
586
|
]),
|
|
549
|
-
o("div",
|
|
550
|
-
], 10,
|
|
587
|
+
o("div", ot, z(d.name), 1)
|
|
588
|
+
], 10, Ye)), 64))
|
|
551
589
|
])
|
|
552
590
|
]),
|
|
553
|
-
o("div",
|
|
591
|
+
o("div", at, [
|
|
554
592
|
e[15] || (e[15] = o("label", { for: "" }, "底图显示要素", -1)),
|
|
555
|
-
o("div",
|
|
593
|
+
o("div", lt, [
|
|
556
594
|
o("div", {
|
|
557
|
-
onClick: e[5] || (e[5] = (
|
|
595
|
+
onClick: e[5] || (e[5] = (d) => I())
|
|
558
596
|
}, [
|
|
559
597
|
e[14] || (e[14] = o("p", null, "全部标注", -1)),
|
|
560
|
-
a(
|
|
598
|
+
a(f, null, {
|
|
561
599
|
default: r(() => [
|
|
562
|
-
|
|
600
|
+
h.value.labels ? (P(), N(u(be), { key: 0 })) : (P(), N(u(he), { key: 1 }))
|
|
563
601
|
]),
|
|
564
602
|
_: 1
|
|
565
603
|
})
|
|
@@ -567,31 +605,31 @@ const Oe = "popover", Le = Ee(Me, Oe), Re = we(Ne, {
|
|
|
567
605
|
])
|
|
568
606
|
])
|
|
569
607
|
]),
|
|
570
|
-
o("div",
|
|
571
|
-
a(
|
|
608
|
+
o("div", rt, [
|
|
609
|
+
a(G, {
|
|
572
610
|
plain: "",
|
|
573
611
|
type: "primary",
|
|
574
|
-
onClick:
|
|
612
|
+
onClick: A
|
|
575
613
|
}, {
|
|
576
614
|
default: r(() => [...e[16] || (e[16] = [
|
|
577
|
-
|
|
615
|
+
_("应用当前配置", -1)
|
|
578
616
|
])]),
|
|
579
617
|
_: 1
|
|
580
618
|
})
|
|
581
619
|
])
|
|
582
620
|
], 512), [
|
|
583
|
-
[
|
|
621
|
+
[ce, E.value]
|
|
584
622
|
])
|
|
585
623
|
]),
|
|
586
624
|
_: 1
|
|
587
625
|
});
|
|
588
626
|
};
|
|
589
627
|
}
|
|
590
|
-
}),
|
|
628
|
+
}), Et = /* @__PURE__ */ ke(it, [["__scopeId", "data-v-009cf227"]]);
|
|
591
629
|
export {
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
630
|
+
Ze as E,
|
|
631
|
+
Et as M,
|
|
632
|
+
Ct as a,
|
|
633
|
+
wt as b,
|
|
634
|
+
U as d
|
|
597
635
|
};
|