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.
@@ -1,49 +1,49 @@
1
- import { j as k, m as v, s as q, u as G, k as Q } from "./base-DfCoKyyG.js";
2
- import { E as X } from "./el-button-Dh7ROB0R.js";
3
- import { E as W, a as Y } from "./el-form-item-CXLLocXw.js";
4
- import { E as ee } from "./el-input-DCpRXscw.js";
5
- import { u as p, r as te, a as C, E as oe } from "./el-popper-zUql4Vp-.js";
6
- import { defineComponent as U, computed as w, ref as h, unref as n, createBlock as x, openBlock as _, mergeProps as ae, withCtx as r, renderSlot as Z, createCommentVNode as $, createElementBlock as z, normalizeClass as K, toDisplayString as F, createTextVNode as g, inject as re, onMounted as le, onUnmounted as ie, Transition as ne, withDirectives as se, createElementVNode as o, createVNode as a, Fragment as pe, renderList as de, vShow as ue } from "vue";
7
- import { i as fe, v as me, t as ce } from "./img_c-B-7oksYM.js";
8
- import { QuestionFilled as E, Hide as ve, View as ge } from "@element-plus/icons-vue";
9
- import { g as ye, c as be } from "./EventKeys-1aL9cgT0.js";
10
- import { u as he } from "./mapStore-Eu13mnJg.js";
11
- import { M as A } from "./map-CBmOzxBT.js";
12
- import { E as V } from "./index-Cw_w6CLf.js";
13
- import { a as _e, _ as Ce, w as we, h as Ee, E as Se } from "./aria-GiGFrmP1.js";
14
- import { _ as Te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const I = k({
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
- ...C.trigger,
18
- type: v([
17
+ ...B.trigger,
18
+ type: b([
19
19
  String,
20
20
  Array
21
21
  ])
22
22
  },
23
23
  triggerKeys: {
24
- type: v(Array),
24
+ type: b(Array),
25
25
  default: () => [
26
- V.enter,
27
- V.numpadEnter,
28
- V.space,
29
- V.down
26
+ M.enter,
27
+ M.numpadEnter,
28
+ M.space,
29
+ M.down
30
30
  ]
31
31
  },
32
- virtualTriggering: C.virtualTriggering,
33
- virtualRef: C.virtualRef,
32
+ virtualTriggering: B.virtualTriggering,
33
+ virtualRef: B.virtualRef,
34
34
  effect: {
35
- ...p.effect,
35
+ ...m.effect,
36
36
  default: "light"
37
37
  },
38
38
  type: {
39
- type: v(String)
39
+ type: b(String)
40
40
  },
41
41
  placement: {
42
- type: v(String),
42
+ type: b(String),
43
43
  default: "bottom"
44
44
  },
45
45
  popperOptions: {
46
- type: v(Object),
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: v([Number, String]),
76
+ type: b([Number, String]),
77
77
  default: 0
78
78
  },
79
79
  maxHeight: {
80
- type: v([Number, String]),
80
+ type: b([Number, String]),
81
81
  default: ""
82
82
  },
83
- popperClass: p.popperClass,
84
- popperStyle: p.popperStyle,
83
+ popperClass: m.popperClass,
84
+ popperStyle: m.popperStyle,
85
85
  disabled: Boolean,
86
86
  role: {
87
87
  type: String,
88
- values: te,
88
+ values: le,
89
89
  default: "menu"
90
90
  },
91
91
  buttonProps: {
92
- type: v(Object)
92
+ type: b(Object)
93
93
  },
94
- teleported: p.teleported,
94
+ teleported: m.teleported,
95
95
  persistent: {
96
96
  type: Boolean,
97
97
  default: !0
98
98
  }
99
- }), yt = k({
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: _e
108
+ type: Se
109
109
  }
110
- }), bt = k({
111
- onKeydown: { type: v(Function) }
112
- }), Be = k({
113
- trigger: C.trigger,
114
- triggerKeys: C.triggerKeys,
115
- placement: I.placement,
116
- disabled: C.disabled,
117
- visible: p.visible,
118
- transition: p.transition,
119
- popperOptions: I.popperOptions,
120
- tabindex: I.tabindex,
121
- content: p.content,
122
- popperStyle: p.popperStyle,
123
- popperClass: p.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
- ...p.enterable,
125
+ ...m.enterable,
126
126
  default: !0
127
127
  },
128
128
  effect: {
129
- ...p.effect,
129
+ ...m.effect,
130
130
  default: "light"
131
131
  },
132
- teleported: p.teleported,
133
- appendTo: p.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
- }), Pe = {
167
- "update:visible": (f) => q(f),
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
- }, Ve = "onUpdate:visible", xe = U({
172
+ }, Me = "onUpdate:visible", Ne = $({
173
173
  name: "ElPopover"
174
- }), ke = /* @__PURE__ */ U({
175
- ...xe,
176
- props: Be,
177
- emits: Pe,
178
- setup(f, { expose: m, emit: d }) {
179
- const s = f, y = w(() => s[Ve]), c = G("popover"), l = h(), S = w(() => {
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 = n(l)) == null ? void 0 : t.popperRef;
182
- }), N = w(() => [
181
+ return (t = u(l)) == null ? void 0 : t.popperRef;
182
+ }), T = k(() => [
183
183
  {
184
- width: Q(s.width)
184
+ width: Y(p.width)
185
185
  },
186
- s.popperStyle
187
- ]), M = w(() => [c.b(), s.popperClass, { [c.m("plain")]: !!s.content }]), T = w(() => s.transition === `${c.namespace.value}-fade-in-linear`), O = () => {
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
- d("before-enter");
192
- }, R = () => {
193
- d("before-leave");
194
- }, u = () => {
195
- d("after-enter");
196
- }, e = () => {
197
- d("update:visible", !1), d("after-leave");
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 m({
200
- popperRef: S,
201
- hide: O
202
- }), (t, b) => (_(), x(n(oe), ae({
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": n(M),
224
- "popper-style": n(N),
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": n(T),
229
- "onUpdate:visible": n(y),
228
+ "gpu-acceleration": u(R),
229
+ "onUpdate:visible": u(E),
230
230
  onBeforeShow: L,
231
- onBeforeHide: R,
232
- onShow: u,
233
- onHide: e
231
+ onBeforeHide: I,
232
+ onShow: C,
233
+ onHide: A
234
234
  }), {
235
235
  content: r(() => [
236
- t.title ? (_(), z("div", {
236
+ t.title ? (P(), H("div", {
237
237
  key: 0,
238
- class: K(n(c).e("title")),
238
+ class: J(u(g).e("title")),
239
239
  role: "title"
240
- }, F(t.title), 3)) : $("v-if", !0),
241
- Z(t.$slots, "default", {}, () => [
242
- g(F(t.content), 1)
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 ? Z(t.$slots, "reference", { key: 0 }) : $("v-if", !0)
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 Ne = /* @__PURE__ */ Ce(ke, [["__file", "popover.vue"]]);
253
- const D = (f, m) => {
254
- const d = m.arg || m.value, s = d?.popperRef;
255
- s && (s.triggerRef = f);
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 Me = {
258
- mounted(f, m) {
259
- D(f, m);
257
+ var Re = {
258
+ mounted(c, v) {
259
+ j(c, v);
260
260
  },
261
- updated(f, m) {
262
- D(f, m);
261
+ updated(c, v) {
262
+ j(c, v);
263
263
  }
264
264
  };
265
- const Oe = "popover", Le = Ee(Me, Oe), Re = we(Ne, {
266
- directive: Le
267
- }), Ae = { class: "setting-map qy-flex-col" }, Ie = { class: "header" }, Fe = { class: "topic-list-content" }, Ue = { class: "form-item" }, Ze = { style: { display: "flex", "align-items": "baseline", gap: "5px" } }, $e = { class: "form-item" }, De = { style: { display: "flex", "align-items": "baseline", gap: "5px" } }, ze = { 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: "base-map" }, qe = { class: "map-layer-content" }, Ge = ["onClick"], Qe = { class: "layer-item-icon" }, Xe = ["src"], We = { class: "layer-item-name" }, Ye = { class: "factor-map" }, et = { class: "factor-map-content" }, tt = { class: "footer" }, ot = /* @__PURE__ */ U({
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(f, { expose: m }) {
270
- const d = re("mapRootId"), s = he(), y = h(!1), c = h(), l = h({
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
- }), S = h(s.mapInstances[d]?.activeMapLayer), N = [
285
+ });
286
+ let i = null;
287
+ const T = x(p.mapInstances[s]?.activeMapLayer), O = [
286
288
  {
287
- id: A.SATELLITE,
289
+ id: Z.SATELLITE,
288
290
  name: "卫星地图",
289
- icon: fe
291
+ icon: ve
290
292
  },
291
293
  {
292
- id: A.VECTOR,
294
+ id: Z.VECTOR,
293
295
  name: "矢量地图",
294
- icon: me
296
+ icon: ge
295
297
  },
296
298
  {
297
- id: A.TOPOGRAPHIC,
299
+ id: Z.TOPOGRAPHIC,
298
300
  name: "地形地图",
299
- icon: ce
301
+ icon: ye
300
302
  }
301
- ], M = (u) => {
302
- s.changeMapLayer(d, u), S.value = u;
303
- }, T = h({
303
+ ], R = (n) => {
304
+ p.changeMapLayer(s, n), T.value = n;
305
+ }, h = x({
304
306
  labels: !0
305
307
  // 标注标签默认显示
306
- }), O = (u) => {
307
- }, L = () => {
308
- if (!c.value)
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 u = s.mapInstances[d]?.activeMapLayer || "unknown", e = {
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: u,
355
+ baseMap: n,
321
356
  // 全部标注是否显示
322
357
  displayFeatures: {
323
- label: T.value.labels
358
+ label: h.value.labels
324
359
  }
325
360
  };
326
- console.log("========== 地图配置 =========="), console.log(e), console.log("====================", c.value), c.value.layerPaintConfig = JSON.stringify(e), be.emit(c.value);
327
- }, R = (u) => {
328
- c.value = u;
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
- u.layerPaintConfig || "{}"
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 le(() => {
344
- ye.on(() => {
345
- y.value = !y.value;
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
- }), ie(() => {
348
- }), m({
349
- setMapConfig: R
350
- }), (u, e) => {
351
- const t = Se, b = Re, B = Y, P = ee, j = W, H = X;
352
- return _(), x(ne, {
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
- se(o("div", Ae, [
358
- o("div", Ie, [
395
+ ue(o("div", Ue, [
396
+ o("div", ze, [
359
397
  o("div", null, [
360
- e[7] || (e[7] = g(" 地图设置 ", -1)),
361
- a(b, {
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(t, null, {
405
+ a(f, null, {
368
406
  default: r(() => [
369
- a(n(E))
407
+ a(u(V))
370
408
  ]),
371
409
  _: 1
372
410
  })
373
411
  ]),
374
412
  default: r(() => [...e[6] || (e[6] = [
375
- g(" xxxxx ", -1)
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] = (i) => y.value = !1)
420
+ onClick: e[0] || (e[0] = (d) => E.value = !1)
383
421
  }, "X")
384
422
  ]),
385
- o("div", Fe, [
386
- a(j, { ref: "topicForm" }, {
423
+ o("div", $e, [
424
+ a(q, { ref: "topicForm" }, {
387
425
  default: r(() => [
388
- o("div", Ue, [
389
- o("div", Ze, [
390
- a(B, {
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(b, {
434
+ a(y, {
397
435
  placement: "right-start",
398
436
  title: "温馨提示",
399
437
  trigger: "hover"
400
438
  }, {
401
439
  reference: r(() => [
402
- a(t, { size: "13" }, {
440
+ a(f, { size: "13" }, {
403
441
  default: r(() => [
404
- a(n(E))
442
+ a(u(V))
405
443
  ]),
406
444
  _: 1
407
445
  })
408
446
  ]),
409
447
  default: r(() => [...e[8] || (e[8] = [
410
- g(" xxxxx ", -1)
448
+ _(" xxxxx ", -1)
411
449
  ])]),
412
450
  _: 1
413
451
  })
414
452
  ]),
415
- a(P, {
453
+ a(S, {
416
454
  id: "mapCenter",
417
455
  modelValue: l.value.defaultCenter,
418
- "onUpdate:modelValue": e[1] || (e[1] = (i) => l.value.defaultCenter = i),
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", $e, [
424
- o("div", De, [
425
- a(B, {
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(b, {
469
+ a(y, {
432
470
  placement: "right-start",
433
471
  title: "温馨提示",
434
472
  trigger: "hover"
435
473
  }, {
436
474
  reference: r(() => [
437
- a(t, { size: "13" }, {
475
+ a(f, { size: "13" }, {
438
476
  default: r(() => [
439
- a(n(E))
477
+ a(u(V))
440
478
  ]),
441
479
  _: 1
442
480
  })
443
481
  ]),
444
482
  default: r(() => [...e[9] || (e[9] = [
445
- g(" xxxxx ", -1)
483
+ _(" xxxxx ", -1)
446
484
  ])]),
447
485
  _: 1
448
486
  })
449
487
  ]),
450
- a(P, {
488
+ a(S, {
451
489
  id: "mapZoom",
452
490
  modelValue: l.value.defaultZoom,
453
- "onUpdate:modelValue": e[2] || (e[2] = (i) => l.value.defaultZoom = i),
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", ze, [
459
- o("div", Ke, [
460
- a(B, {
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(b, {
504
+ a(y, {
467
505
  placement: "right-start",
468
506
  title: "温馨提示",
469
507
  trigger: "hover"
470
508
  }, {
471
509
  reference: r(() => [
472
- a(t, { size: "13" }, {
510
+ a(f, { size: "13" }, {
473
511
  default: r(() => [
474
- a(n(E))
512
+ a(u(V))
475
513
  ]),
476
514
  _: 1
477
515
  })
478
516
  ]),
479
517
  default: r(() => [...e[10] || (e[10] = [
480
- g(" xxxxx ", -1)
518
+ _(" xxxxx ", -1)
481
519
  ])]),
482
520
  _: 1
483
521
  })
484
522
  ]),
485
- a(P, {
523
+ a(S, {
486
524
  id: "mapBearing",
487
525
  modelValue: l.value.bearing,
488
- "onUpdate:modelValue": e[3] || (e[3] = (i) => l.value.bearing = i),
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", je, [
494
- o("div", He, [
495
- a(B, {
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(b, {
539
+ a(y, {
502
540
  placement: "right-start",
503
541
  title: "温馨提示",
504
542
  trigger: "hover"
505
543
  }, {
506
544
  reference: r(() => [
507
- a(t, { size: "13" }, {
545
+ a(f, { size: "13" }, {
508
546
  default: r(() => [
509
- a(n(E))
547
+ a(u(V))
510
548
  ]),
511
549
  _: 1
512
550
  })
513
551
  ]),
514
552
  default: r(() => [...e[11] || (e[11] = [
515
- g(" xxxxx ", -1)
553
+ _(" xxxxx ", -1)
516
554
  ])]),
517
555
  _: 1
518
556
  })
519
557
  ]),
520
- a(P, {
558
+ a(S, {
521
559
  id: "mapPitch",
522
560
  modelValue: l.value.pitch,
523
- "onUpdate:modelValue": e[4] || (e[4] = (i) => l.value.pitch = i),
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", Je, [
570
+ o("div", Xe, [
533
571
  e[13] || (e[13] = o("label", { for: "" }, "底图选择", -1)),
534
- o("div", qe, [
535
- (_(), z(pe, null, de(N, (i, J) => o("div", {
536
- onClick: () => M(i.id),
537
- key: J,
538
- class: K([
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
- S.value == i.id ? "active" : null
578
+ T.value == d.id ? "active" : null
541
579
  ])
542
580
  }, [
543
- o("div", Qe, [
581
+ o("div", et, [
544
582
  o("img", {
545
- src: i.icon,
583
+ src: d.icon,
546
584
  style: { width: "100%", height: "100%" }
547
- }, null, 8, Xe)
585
+ }, null, 8, tt)
548
586
  ]),
549
- o("div", We, F(i.name), 1)
550
- ], 10, Ge)), 64))
587
+ o("div", ot, z(d.name), 1)
588
+ ], 10, Ye)), 64))
551
589
  ])
552
590
  ]),
553
- o("div", Ye, [
591
+ o("div", at, [
554
592
  e[15] || (e[15] = o("label", { for: "" }, "底图显示要素", -1)),
555
- o("div", et, [
593
+ o("div", lt, [
556
594
  o("div", {
557
- onClick: e[5] || (e[5] = (i) => O())
595
+ onClick: e[5] || (e[5] = (d) => I())
558
596
  }, [
559
597
  e[14] || (e[14] = o("p", null, "全部标注", -1)),
560
- a(t, null, {
598
+ a(f, null, {
561
599
  default: r(() => [
562
- T.value.labels ? (_(), x(n(ve), { key: 0 })) : (_(), x(n(ge), { key: 1 }))
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", tt, [
571
- a(H, {
608
+ o("div", rt, [
609
+ a(G, {
572
610
  plain: "",
573
611
  type: "primary",
574
- onClick: L
612
+ onClick: A
575
613
  }, {
576
614
  default: r(() => [...e[16] || (e[16] = [
577
- g("应用当前配置", -1)
615
+ _("应用当前配置", -1)
578
616
  ])]),
579
617
  _: 1
580
618
  })
581
619
  ])
582
620
  ], 512), [
583
- [ue, y.value]
621
+ [ce, E.value]
584
622
  ])
585
623
  ]),
586
624
  _: 1
587
625
  });
588
626
  };
589
627
  }
590
- }), ht = /* @__PURE__ */ Te(ot, [["__scopeId", "data-v-eb30a903"]]);
628
+ }), Et = /* @__PURE__ */ ke(it, [["__scopeId", "data-v-009cf227"]]);
591
629
  export {
592
- Re as E,
593
- ht as M,
594
- yt as a,
595
- bt as b,
596
- I as d
630
+ Ze as E,
631
+ Et as M,
632
+ Ct as a,
633
+ wt as b,
634
+ U as d
597
635
  };