vue-openlayers-plugin 1.1.9 → 1.1.12

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.
Files changed (124) hide show
  1. package/lib/{BasemapPanel-7d29066b.mjs → BasemapPanel-d34c9745.mjs} +3 -3
  2. package/lib/{CoordinateLocationDialog-a1f610e9.mjs → CoordinateLocationDialog-75a15e82.mjs} +5 -5
  3. package/lib/{MapPrintDialog-0de61248.mjs → FilterPanel-e045d024.mjs} +1 -1
  4. package/lib/{FilterPanel-dc11de4c.mjs → LayerPanel-78fca227.mjs} +1 -1
  5. package/lib/{LayerPanel-2d75b78a.mjs → MapPrintDialog-1dc333aa.mjs} +1 -1
  6. package/lib/{MeasurementDialog-eb14b804.mjs → MeasurementDialog-7938e1a6.mjs} +13 -26
  7. package/lib/{MyMarkersDialog-e04c658d.mjs → MyMarkersDialog-3c2d2924.mjs} +26 -18
  8. package/lib/{QuadCompareDialog-d82a7e99.mjs → QuadCompareDialog-856464ee.mjs} +1 -1
  9. package/lib/{RegionNavigationDialog-06d48c81.mjs → RegionNavigationDialog-e73d52d8.mjs} +10 -10
  10. package/lib/{SplitCompareDialog-7bbf7143.mjs → SplitCompareDialog-d02daf25.mjs} +1 -1
  11. package/lib/{SwipeCompareDialog-026cff46.mjs → SwipeCompareDialog-aa16cffb.mjs} +1 -1
  12. package/lib/{ViewBookmarksDialog-2eff7d7f.mjs → ViewBookmarksDialog-70dc8e7b.mjs} +54 -190
  13. package/lib/{index-900ffae0.mjs → index-cc29567b.mjs} +4 -4
  14. package/lib/{index-6b6c7751.mjs → index-eb8bed87.mjs} +2959 -2527
  15. package/lib/{index.es-df24e9d8.mjs → index.es-ea8eeb3c.mjs} +1 -1
  16. package/lib/index.esm.js +31 -31
  17. package/lib/index.umd.js +3092 -2801
  18. package/lib/style.css +133 -159
  19. package/lib//346/240/207/345/207/206 +159 -0
  20. package/package.json +2 -1
  21. package/types/components/CustomDialog/CustomDialog.vue.d.ts +8 -8
  22. package/types/components/CustomDialog/CustomDialog.vue.d.ts.map +1 -1
  23. package/types/components/OlControlPanel.vue.d.ts +2 -1
  24. package/types/components/OlControlPanel.vue.d.ts.map +1 -1
  25. package/types/components/OlDialogs/BasemapPanel.vue.d.ts.map +1 -1
  26. package/types/components/OlDialogs/CoordinateLocationDialog.vue.d.ts.map +1 -1
  27. package/types/components/OlDialogs/LayerPanel.vue.d.ts +133 -184
  28. package/types/components/OlDialogs/LayerPanel.vue.d.ts.map +1 -1
  29. package/types/components/OlDialogs/MapPrintDialog.vue.d.ts.map +1 -1
  30. package/types/components/OlDialogs/MeasurementDialog.vue.d.ts +5 -1
  31. package/types/components/OlDialogs/MeasurementDialog.vue.d.ts.map +1 -1
  32. package/types/components/OlDialogs/MyMarkersDialog.vue.d.ts +18 -2
  33. package/types/components/OlDialogs/MyMarkersDialog.vue.d.ts.map +1 -1
  34. package/types/components/OlDialogs/RegionNavigationDialog.vue.d.ts.map +1 -1
  35. package/types/components/OlDialogs/ViewBookmarksDialog.vue.d.ts +6 -2
  36. package/types/components/OlDialogs/ViewBookmarksDialog.vue.d.ts.map +1 -1
  37. package/types/components/OlDrawToolbar.vue.d.ts.map +1 -1
  38. package/types/components/OlLegendPanel.vue.d.ts.map +1 -1
  39. package/types/components/OlMap.vue.d.ts +3453 -0
  40. package/types/components/OlMap.vue.d.ts.map +1 -0
  41. package/types/components/OlMapContainer.vue.d.ts +9 -5
  42. package/types/components/OlMapContainer.vue.d.ts.map +1 -1
  43. package/types/components/OlMapPopup/types.d.ts +14 -1
  44. package/types/components/OlMapPopup/types.d.ts.map +1 -1
  45. package/types/components/OlMapSearch.vue.d.ts +25 -0
  46. package/types/components/OlMapSearch.vue.d.ts.map +1 -1
  47. package/types/components/mobile/MobileFeatureInfo.vue.d.ts.map +1 -1
  48. package/types/components/mobile/MobileMap.vue.d.ts +8 -0
  49. package/types/components/mobile/MobileMap.vue.d.ts.map +1 -1
  50. package/types/core/EventManager.d.ts +1 -2
  51. package/types/core/EventManager.d.ts.map +1 -1
  52. package/types/core/FeatureHighlightManager.d.ts.map +1 -1
  53. package/types/core/LayerManager.d.ts.map +1 -1
  54. package/types/core/LayerTreeManager.d.ts +1 -1
  55. package/types/core/LayerTreeManager.d.ts.map +1 -1
  56. package/types/core/MapManager.d.ts +2 -0
  57. package/types/core/MapManager.d.ts.map +1 -1
  58. package/types/core/MarkerDrawingAdapter.d.ts.map +1 -1
  59. package/types/core/PluginManager.d.ts +3 -3
  60. package/types/core/PluginManager.d.ts.map +1 -1
  61. package/types/core/PopupManager.d.ts.map +1 -1
  62. package/types/core/amapSearchApi.d.ts.map +1 -1
  63. package/types/core/basemapManager.d.ts +1 -0
  64. package/types/core/basemapManager.d.ts.map +1 -1
  65. package/types/core/drawing/BaseDrawing.d.ts.map +1 -1
  66. package/types/core/drawing/DrawingManager.d.ts.map +1 -1
  67. package/types/core/drawing/IconDrawing.d.ts.map +1 -1
  68. package/types/core/drawing/LineDrawing.d.ts.map +1 -1
  69. package/types/core/drawing/MilitaryDrawing.d.ts.map +1 -1
  70. package/types/core/drawing/MultiLineStringDrawing.d.ts.map +1 -1
  71. package/types/core/drawing/MultiPointDrawing.d.ts.map +1 -1
  72. package/types/core/drawing/PointDrawing.d.ts.map +1 -1
  73. package/types/core/drawing/PointWithTextDrawing.d.ts.map +1 -1
  74. package/types/core/drawing/index.d.ts.map +1 -1
  75. package/types/core/layers/BaseLayer.d.ts +2 -2
  76. package/types/core/layers/BaseLayer.d.ts.map +1 -1
  77. package/types/core/layers/CanvasLayerHandler.d.ts.map +1 -1
  78. package/types/core/layers/ClusterLayerHandler.d.ts.map +1 -1
  79. package/types/core/layers/GMLLayerHandler.d.ts.map +1 -1
  80. package/types/core/layers/GeoJSONLayerHandler.d.ts.map +1 -1
  81. package/types/core/layers/HeatmapLayerHandler.d.ts +1 -0
  82. package/types/core/layers/HeatmapLayerHandler.d.ts.map +1 -1
  83. package/types/core/layers/ImageVectorLayerHandler.d.ts +3 -0
  84. package/types/core/layers/ImageVectorLayerHandler.d.ts.map +1 -1
  85. package/types/core/layers/KMLLayerHandler.d.ts.map +1 -1
  86. package/types/core/layers/LayerFactory.d.ts.map +1 -1
  87. package/types/core/layers/SuperMapServiceTester.d.ts.map +1 -1
  88. package/types/core/layers/SuperMapTiledMapServiceHandler.d.ts +1 -0
  89. package/types/core/layers/SuperMapTiledMapServiceHandler.d.ts.map +1 -1
  90. package/types/core/layers/TiandituLayerHandler.d.ts.map +1 -1
  91. package/types/core/layers/TileLayerHandler.d.ts.map +1 -1
  92. package/types/core/layers/TileSuperMapRestHandler.d.ts +0 -4
  93. package/types/core/layers/TileSuperMapRestHandler.d.ts.map +1 -1
  94. package/types/core/layers/VectorTileLayerHandler.d.ts +2 -2
  95. package/types/core/layers/VectorTileLayerHandler.d.ts.map +1 -1
  96. package/types/core/layers/WFSLayerHandler.d.ts.map +1 -1
  97. package/types/core/layers/WKTLayerHandler.d.ts +2 -2
  98. package/types/core/layers/WKTLayerHandler.d.ts.map +1 -1
  99. package/types/core/layers/WMSLayerHandler.d.ts +3 -0
  100. package/types/core/layers/WMSLayerHandler.d.ts.map +1 -1
  101. package/types/core/layers/WMTSLayerHandler.d.ts.map +1 -1
  102. package/types/core/layers/interfaces.d.ts +8 -1
  103. package/types/core/layers/interfaces.d.ts.map +1 -1
  104. package/types/core/mapOperationTool.d.ts.map +1 -1
  105. package/types/core/measurementTool.d.ts +5 -14
  106. package/types/core/measurementTool.d.ts.map +1 -1
  107. package/types/core/storage.d.ts +1 -0
  108. package/types/core/storage.d.ts.map +1 -1
  109. package/types/core/styles/StyleFactory.d.ts.map +1 -1
  110. package/types/core/styles/StyleManager.d.ts +1 -0
  111. package/types/core/styles/StyleManager.d.ts.map +1 -1
  112. package/types/core/styles/interfaces.d.ts +1 -0
  113. package/types/core/styles/interfaces.d.ts.map +1 -1
  114. package/types/lowcode-entry.d.ts +4214 -0
  115. package/types/lowcode-entry.d.ts.map +1 -0
  116. package/types/services/searchService.d.ts.map +1 -1
  117. package/types/style.d.ts.map +1 -1
  118. package/types/tsconfig.tsbuildinfo +1 -1
  119. package/types/types/map.d.ts +91 -6
  120. package/types/types/map.d.ts.map +1 -1
  121. package/types/types/plugin.d.ts +7 -2
  122. package/types/types/plugin.d.ts.map +1 -1
  123. package/types/utils/DiffusionAnimationHelper.d.ts.map +1 -1
  124. package/types/utils/html2pdf.d.ts.map +1 -1
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, inject, computed, ref, watch, onMounted, onUnmounted, openBlock, createBlock, unref, withCtx, createElementVNode, createElementBlock, Fragment, renderList, normalizeClass, toDisplayString } from "vue";
2
- import { r as resolveBasemapThumbnail, l as layerEventBus, X, d as _export_sfc } from "./index-6b6c7751.mjs";
2
+ import { r as resolveBasemapThumbnail, l as layerEventBus, X, b as _export_sfc } from "./index-eb8bed87.mjs";
3
3
  import "@element-plus/icons-vue";
4
4
  import "ol";
5
5
  import "proj4";
@@ -237,7 +237,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
237
237
  "show-modal": false,
238
238
  draggable: true,
239
239
  resizable: true,
240
- "modal-class": ["pointer-events-none"],
240
+ "modal-class": "pointer-events-none",
241
241
  "cache-id": "basemap-dialog",
242
242
  position: "right",
243
243
  class: "basemap-dialog",
@@ -271,7 +271,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
271
271
  };
272
272
  }
273
273
  });
274
- const BasemapPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-739bef50"]]);
274
+ const BasemapPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5709013f"]]);
275
275
  export {
276
276
  BasemapPanel as default
277
277
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, inject, computed, ref, reactive, resolveComponent, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createTextVNode } from "vue";
2
2
  import { Aim } from "@element-plus/icons-vue";
3
- import { X, T as TooltipHelper, d as _export_sfc } from "./index-6b6c7751.mjs";
3
+ import { X, T as TooltipHelper, b as _export_sfc } from "./index-eb8bed87.mjs";
4
4
  import "ol";
5
5
  import "proj4";
6
6
  import "@supermapgis/iclient-ol";
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  },
18
18
  emits: ["update:modelValue"],
19
19
  setup(__props, { expose: __expose, emit: __emit }) {
20
+ const EPlusDialog = X;
20
21
  const props = __props;
21
22
  const emit = __emit;
22
23
  const measurementToolRef = inject("measurementTool");
@@ -35,7 +36,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
36
  longitude: "116.709805",
36
37
  latitude: "39.926296"
37
38
  });
38
- ref(null);
39
39
  const decimalToDMS = (decimal) => {
40
40
  const degrees = Math.floor(Math.abs(decimal));
41
41
  const minutes = Math.floor((Math.abs(decimal) - degrees) * 60);
@@ -171,14 +171,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
171
171
  const _component_InfoFilled = resolveComponent("InfoFilled");
172
172
  const _component_Pointer = resolveComponent("Pointer");
173
173
  const _component_el_button = resolveComponent("el-button");
174
- return openBlock(), createBlock(unref(X), {
174
+ return openBlock(), createBlock(unref(EPlusDialog), {
175
175
  modelValue: dialogVisible.value,
176
176
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => dialogVisible.value = $event),
177
177
  title: "坐标拾取",
178
178
  width: "400px",
179
179
  "cache-id": "coordinate-dialog",
180
180
  "show-modal": false,
181
- "modal-class": ["pointer-events-none"],
181
+ "modal-class": "pointer-events-none",
182
182
  class: "coordinate-dialog",
183
183
  onClose: handleClose
184
184
  }, {
@@ -315,7 +315,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
315
315
  };
316
316
  }
317
317
  });
318
- const CoordinateLocationDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2ba7b57a"]]);
318
+ const CoordinateLocationDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-60184fa9"]]);
319
319
  export {
320
320
  CoordinateLocationDialog as default
321
321
  };
@@ -1,4 +1,4 @@
1
- import { e as _sfc_main } from "./index-6b6c7751.mjs";
1
+ import { j as _sfc_main } from "./index-eb8bed87.mjs";
2
2
  import "vue";
3
3
  import "@element-plus/icons-vue";
4
4
  import "ol";
@@ -1,4 +1,4 @@
1
- import { k as _sfc_main } from "./index-6b6c7751.mjs";
1
+ import { e as _sfc_main } from "./index-eb8bed87.mjs";
2
2
  import "vue";
3
3
  import "@element-plus/icons-vue";
4
4
  import "ol";
@@ -1,4 +1,4 @@
1
- import { h as _sfc_main } from "./index-6b6c7751.mjs";
1
+ import { d as _sfc_main } from "./index-eb8bed87.mjs";
2
2
  import "vue";
3
3
  import "@element-plus/icons-vue";
4
4
  import "ol";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, inject, computed, ref, watch, resolveComponent, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createTextVNode, toDisplayString, createElementBlock, Fragment, renderList, normalizeClass } from "vue";
2
- import { X, f as formatMeasurementResult, b as getUnitByType, d as _export_sfc } from "./index-6b6c7751.mjs";
2
+ import { X, f as formatMeasurementResult, b as _export_sfc } from "./index-eb8bed87.mjs";
3
3
  import "@element-plus/icons-vue";
4
4
  import "ol";
5
5
  import "proj4";
@@ -98,7 +98,12 @@ const _hoisted_8 = { class: "tool-label" };
98
98
  const _sfc_main = /* @__PURE__ */ defineComponent({
99
99
  __name: "MeasurementDialog",
100
100
  props: {
101
- modelValue: { type: Boolean }
101
+ modelValue: { type: Boolean },
102
+ defaultUnits: { default: () => ({
103
+ distance: "auto",
104
+ area: "auto",
105
+ angle: "auto"
106
+ }) }
102
107
  },
103
108
  emits: ["update:modelValue"],
104
109
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -156,21 +161,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
156
161
  };
157
162
  }
158
163
  };
159
- const checkUnitCompatibility = (tool, unit) => {
160
- const distanceUnits = ["m", "km"];
161
- const areaUnits = ["m²", "km²"];
162
- const angleUnits = ["°", "rad"];
163
- if (tool === "distance" && distanceUnits.includes(unit))
164
- return true;
165
- if (tool === "area" && areaUnits.includes(unit))
166
- return true;
167
- if (tool === "angle" && angleUnits.includes(unit))
168
- return true;
169
- return false;
170
- };
171
164
  const isMouseActive = ref(false);
172
165
  const mouseTooltip = ref("");
173
- const setActiveTool = (tool, unitConfig) => {
166
+ const setActiveTool = (tool) => {
174
167
  if (!measurementTool.value) {
175
168
  console.warn("measurementTool未初始化");
176
169
  return;
@@ -180,14 +173,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
180
173
  measurementTool.value.stopMeasurement();
181
174
  }
182
175
  activeTool.value = tool;
183
- const toolType = tool;
184
- if (unitConfig) {
185
- selectedUnit.value = getUnitByType(toolType);
186
- } else {
187
- if (selectedUnit.value !== "auto" && !checkUnitCompatibility(tool, selectedUnit.value)) {
188
- selectedUnit.value = "auto";
189
- }
190
- }
176
+ const defaultUnit = tool === "distance" ? props.defaultUnits.distance : tool === "area" ? props.defaultUnits.area : tool === "angle" ? props.defaultUnits.angle : "auto";
177
+ selectedUnit.value = defaultUnit;
191
178
  isMouseActive.value = true;
192
179
  switch (tool) {
193
180
  case "distance":
@@ -357,7 +344,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
357
344
  width: "400px",
358
345
  "before-close": handleClose,
359
346
  "show-modal": false,
360
- "modal-class": ["pointer-events-none"],
347
+ "modal-class": "pointer-events-none",
361
348
  "cache-id": "measurement-dialog",
362
349
  "append-to-body": ""
363
350
  }, {
@@ -420,7 +407,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
420
407
  _: 1
421
408
  }, 8, ["modelValue"]),
422
409
  createVNode(_component_el_button, {
423
- type: "text",
410
+ link: "",
424
411
  size: "small",
425
412
  style: { "color": "var(--el-color-danger)" },
426
413
  onClick: clearMeasurement
@@ -457,7 +444,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
457
444
  };
458
445
  }
459
446
  });
460
- const MeasurementDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0c2b1184"]]);
447
+ const MeasurementDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3caa3266"]]);
461
448
  export {
462
449
  MeasurementDialog as default
463
450
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, inject, computed, ref, reactive, onUnmounted, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, unref, withCtx, createElementVNode, normalizeClass, createTextVNode, toDisplayString, renderList, createBlock, withModifiers, mergeProps } from "vue";
2
2
  import { Plus, FolderOpened, Download, Delete, Search, LocationFilled, Edit } from "@element-plus/icons-vue";
3
3
  import { ElMessageBox } from "element-plus";
4
- import { X, M as MarkerDrawingAdapter, i as fromLonLat, t as toLonLat } from "./index-6b6c7751.mjs";
4
+ import { X, M as MarkerDrawingAdapter, h as fromLonLat, t as toLonLat } from "./index-eb8bed87.mjs";
5
5
  import "ol";
6
6
  import "proj4";
7
7
  import "@supermapgis/iclient-ol";
@@ -13,10 +13,13 @@ const _hoisted_5 = { class: "marker-name" };
13
13
  const _sfc_main = /* @__PURE__ */ defineComponent({
14
14
  __name: "MyMarkersDialog",
15
15
  props: {
16
- modelValue: { type: Boolean }
16
+ modelValue: { type: Boolean },
17
+ config: {},
18
+ bookmarks: {}
17
19
  },
18
- emits: ["update:modelValue", "markerAction"],
20
+ emits: ["update:modelValue", "update:bookmarks", "marker-action", "close", "action", "bookmark-action"],
19
21
  setup(__props, { emit: __emit }) {
22
+ const EPlusDialog = X;
20
23
  const props = __props;
21
24
  const emit = __emit;
22
25
  const mapRef = inject("map");
@@ -71,14 +74,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
71
74
  }
72
75
  return result;
73
76
  });
74
- computed(() => {
75
- const today = /* @__PURE__ */ new Date();
76
- today.setHours(0, 0, 0, 0);
77
- return markers.value.filter((marker) => {
78
- const markerDate = new Date(marker.createTime);
79
- return markerDate >= today;
80
- }).length;
81
- });
82
77
  const handleSearch = () => {
83
78
  };
84
79
  const isAddingMarker = ref(false);
@@ -233,6 +228,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
233
228
  markerAdapter.addMarker(markerData);
234
229
  console.log("标记添加成功");
235
230
  }
231
+ emit("marker-action", {
232
+ action: editingIndex.value >= 0 ? "update" : "add",
233
+ marker: markerData
234
+ });
235
+ emit("action", {
236
+ action: editingIndex.value >= 0 ? "update" : "add",
237
+ marker: markerData
238
+ });
236
239
  cancelAddMarker();
237
240
  } catch (error) {
238
241
  console.error("保存标记失败: " + error.message);
@@ -249,6 +252,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
249
252
  try {
250
253
  markerAdapter.removeMarker(marker.id);
251
254
  console.log("标记删除成功");
255
+ emit("marker-action", { action: "delete", marker });
256
+ emit("action", { action: "delete", marker });
252
257
  } catch (error) {
253
258
  console.error("删除标记失败: " + error.message);
254
259
  }
@@ -280,6 +285,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
280
285
  try {
281
286
  markerAdapter.clearAllMarkers();
282
287
  console.log("已清空所有标记");
288
+ emit("marker-action", { action: "clear" });
289
+ emit("action", { action: "clear" });
283
290
  } catch (error) {
284
291
  console.error("清空标记失败: " + error.message);
285
292
  }
@@ -354,6 +361,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
354
361
  dialogVisible.value = false;
355
362
  searchKeyword.value = "";
356
363
  filterCategory.value = "";
364
+ emit("close");
357
365
  };
358
366
  onUnmounted(() => {
359
367
  if (markerAdapter) {
@@ -362,9 +370,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
362
370
  }
363
371
  });
364
372
  watch(
365
- [() => props.map, () => props.drawingManager],
373
+ [() => map.value, () => drawingManager.value],
366
374
  () => {
367
- if (props.map && props.drawingManager) {
375
+ if (map.value && drawingManager.value) {
368
376
  initializeMarkerAdapter();
369
377
  if (markerAdapter) {
370
378
  const existingMarkers = markerAdapter.getAllMarkers();
@@ -385,7 +393,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
385
393
  const _component_el_form_item = resolveComponent("el-form-item");
386
394
  const _component_el_form = resolveComponent("el-form");
387
395
  return openBlock(), createElementBlock(Fragment, null, [
388
- createVNode(unref(X), {
396
+ createVNode(unref(EPlusDialog), {
389
397
  modelValue: dialogVisible.value,
390
398
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dialogVisible.value = $event),
391
399
  title: "我的标记",
@@ -393,7 +401,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
393
401
  height: "600px",
394
402
  "before-close": handleClose,
395
403
  "show-modal": false,
396
- "modal-class": ["pointer-events-none"],
404
+ "modal-class": "pointer-events-none",
397
405
  "cache-id": "markers-dialog",
398
406
  class: "markers-dialog"
399
407
  }, {
@@ -529,7 +537,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
529
537
  }, {
530
538
  default: withCtx(({ row, $index }) => [
531
539
  createVNode(_component_el_button, {
532
- type: "text",
540
+ link: "",
533
541
  size: "small",
534
542
  icon: unref(Edit),
535
543
  onClick: withModifiers(($event) => editMarker(row, $index), ["stop"])
@@ -540,7 +548,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
540
548
  _: 2
541
549
  }, 1032, ["icon", "onClick"]),
542
550
  createVNode(_component_el_button, {
543
- type: "text",
551
+ link: "",
544
552
  size: "small",
545
553
  icon: unref(Delete),
546
554
  class: "delete-btn",
@@ -562,7 +570,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
562
570
  ]),
563
571
  _: 1
564
572
  }, 8, ["modelValue"]),
565
- createVNode(unref(X), mergeProps({
573
+ createVNode(unref(EPlusDialog), mergeProps({
566
574
  modelValue: showAddDialog.value,
567
575
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => showAddDialog.value = $event),
568
576
  title: "添加标记",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, inject, computed, shallowRef, reactive, watch, nextTick, onMounted, onUnmounted, resolveComponent, openBlock, createElementBlock, createVNode, unref, withCtx, createElementVNode, Fragment, renderList, createBlock, createCommentVNode } from "vue";
2
- import { m as layerFactory, j as getUid, n as defaults, X, o as TileLayer, I as ImageLayer, V as VectorTileLayer, H as HeatmapLayer, p as VectorLayer, L as LayerGroup, d as _export_sfc } from "./index-6b6c7751.mjs";
2
+ import { k as layerFactory, i as getUid, m as defaults, X, n as TileLayer, I as ImageLayer, V as VectorTileLayer, H as HeatmapLayer, o as VectorLayer, L as LayerGroup, b as _export_sfc } from "./index-eb8bed87.mjs";
3
3
  import { u as useMap } from "./useMap-8e3a2de5.mjs";
4
4
  import { View, Map } from "ol";
5
5
  import "@element-plus/icons-vue";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, ref, reactive, resolveComponent, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, normalizeClass } from "vue";
2
- import { X } from "./index-6b6c7751.mjs";
2
+ import { X } from "./index-eb8bed87.mjs";
3
3
  import "@element-plus/icons-vue";
4
4
  import "ol";
5
5
  import "proj4";
@@ -1123,7 +1123,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1123
1123
  width: "500px",
1124
1124
  "before-close": handleClose,
1125
1125
  "show-modal": false,
1126
- "modal-class": ["pointer-events-none"],
1126
+ "modal-class": "pointer-events-none",
1127
1127
  "cache-id": "region-dialog",
1128
1128
  class: "region-dialog"
1129
1129
  }, {
@@ -1153,7 +1153,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1153
1153
  (openBlock(true), createElementBlock(Fragment, null, renderList(regions.north, (region) => {
1154
1154
  return openBlock(), createBlock(_component_el_button, {
1155
1155
  key: region.code,
1156
- type: "text",
1156
+ link: "",
1157
1157
  class: "region-btn",
1158
1158
  onClick: ($event) => navigateToRegion(region)
1159
1159
  }, {
@@ -1171,7 +1171,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1171
1171
  (openBlock(true), createElementBlock(Fragment, null, renderList(regions.northeast, (region) => {
1172
1172
  return openBlock(), createBlock(_component_el_button, {
1173
1173
  key: region.code,
1174
- type: "text",
1174
+ link: "",
1175
1175
  class: "region-btn",
1176
1176
  onClick: ($event) => navigateToRegion(region)
1177
1177
  }, {
@@ -1189,7 +1189,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1189
1189
  (openBlock(true), createElementBlock(Fragment, null, renderList(regions.east, (region) => {
1190
1190
  return openBlock(), createBlock(_component_el_button, {
1191
1191
  key: region.code,
1192
- type: "text",
1192
+ link: "",
1193
1193
  class: "region-btn",
1194
1194
  onClick: ($event) => navigateToRegion(region)
1195
1195
  }, {
@@ -1207,7 +1207,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1207
1207
  (openBlock(true), createElementBlock(Fragment, null, renderList(regions.central, (region) => {
1208
1208
  return openBlock(), createBlock(_component_el_button, {
1209
1209
  key: region.code,
1210
- type: "text",
1210
+ link: "",
1211
1211
  class: "region-btn",
1212
1212
  onClick: ($event) => navigateToRegion(region)
1213
1213
  }, {
@@ -1225,7 +1225,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1225
1225
  (openBlock(true), createElementBlock(Fragment, null, renderList(regions.south, (region) => {
1226
1226
  return openBlock(), createBlock(_component_el_button, {
1227
1227
  key: region.code,
1228
- type: "text",
1228
+ link: "",
1229
1229
  class: "region-btn",
1230
1230
  onClick: ($event) => navigateToRegion(region)
1231
1231
  }, {
@@ -1243,7 +1243,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1243
1243
  (openBlock(true), createElementBlock(Fragment, null, renderList(regions.southwest, (region) => {
1244
1244
  return openBlock(), createBlock(_component_el_button, {
1245
1245
  key: region.code,
1246
- type: "text",
1246
+ link: "",
1247
1247
  class: "region-btn",
1248
1248
  onClick: ($event) => navigateToRegion(region)
1249
1249
  }, {
@@ -1261,7 +1261,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1261
1261
  (openBlock(true), createElementBlock(Fragment, null, renderList(regions.northwest, (region) => {
1262
1262
  return openBlock(), createBlock(_component_el_button, {
1263
1263
  key: region.code,
1264
- type: "text",
1264
+ link: "",
1265
1265
  class: "region-btn",
1266
1266
  onClick: ($event) => navigateToRegion(region)
1267
1267
  }, {
@@ -1279,7 +1279,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1279
1279
  (openBlock(true), createElementBlock(Fragment, null, renderList(regions.hmt, (region) => {
1280
1280
  return openBlock(), createBlock(_component_el_button, {
1281
1281
  key: region.code,
1282
- type: "text",
1282
+ link: "",
1283
1283
  class: "region-btn",
1284
1284
  onClick: ($event) => navigateToRegion(region)
1285
1285
  }, {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, inject, computed, shallowRef, watch, nextTick, onMounted, onUnmounted, resolveComponent, openBlock, createElementBlock, createVNode, unref, withCtx, createElementVNode, Fragment, renderList, createBlock, createCommentVNode } from "vue";
2
- import { m as layerFactory, j as getUid, n as defaults, X, o as TileLayer, I as ImageLayer, V as VectorTileLayer, H as HeatmapLayer, p as VectorLayer, L as LayerGroup, d as _export_sfc } from "./index-6b6c7751.mjs";
2
+ import { k as layerFactory, i as getUid, m as defaults, X, n as TileLayer, I as ImageLayer, V as VectorTileLayer, H as HeatmapLayer, o as VectorLayer, L as LayerGroup, b as _export_sfc } from "./index-eb8bed87.mjs";
3
3
  import { u as useMap } from "./useMap-8e3a2de5.mjs";
4
4
  import { View, Map } from "ol";
5
5
  import "@element-plus/icons-vue";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, inject, computed, shallowRef, watch, nextTick, onMounted, onUnmounted, resolveComponent, openBlock, createElementBlock, createVNode, unref, withCtx, createElementVNode, normalizeClass, normalizeStyle, Fragment, renderList, createBlock, createCommentVNode } from "vue";
2
- import { m as layerFactory, j as getUid, n as defaults, X, o as TileLayer, I as ImageLayer, V as VectorTileLayer, H as HeatmapLayer, p as VectorLayer, L as LayerGroup, d as _export_sfc } from "./index-6b6c7751.mjs";
2
+ import { k as layerFactory, i as getUid, m as defaults, X, n as TileLayer, I as ImageLayer, V as VectorTileLayer, H as HeatmapLayer, o as VectorLayer, L as LayerGroup, b as _export_sfc } from "./index-eb8bed87.mjs";
3
3
  import { u as useMap } from "./useMap-8e3a2de5.mjs";
4
4
  import { View, Map } from "ol";
5
5
  import { DCaret } from "@element-plus/icons-vue";