vue-openlayers-plugin 1.1.14 → 1.1.16

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 (34) hide show
  1. package/README.md +0 -209
  2. package/lib/{BasemapPanel-d022a31a.mjs → BasemapPanel-d1332546.mjs} +1 -1
  3. package/lib/{CoordinateLocationDialog-6cdf239b.mjs → CoordinateLocationDialog-c2d89c1e.mjs} +1 -1
  4. package/lib/{MapPrintDialog-c65f685b.mjs → FilterPanel-d7cb1c79.mjs} +1 -1
  5. package/lib/{FilterPanel-de00b336.mjs → LayerPanel-f411a32b.mjs} +1 -1
  6. package/lib/{LayerPanel-1a0456a4.mjs → MapPrintDialog-eea9e39e.mjs} +1 -1
  7. package/lib/{MeasurementDialog-44599074.mjs → MeasurementDialog-9914f4e9.mjs} +1 -1
  8. package/lib/{MyMarkersDialog-dd288574.mjs → MyMarkersDialog-ef717e8c.mjs} +1 -1
  9. package/lib/{QuadCompareDialog-2cd17881.mjs → QuadCompareDialog-3d6eaf0c.mjs} +1 -1
  10. package/lib/{RegionNavigationDialog-b1cdc5f9.mjs → RegionNavigationDialog-2843eedd.mjs} +1 -1
  11. package/lib/{SplitCompareDialog-6dd0fb71.mjs → SplitCompareDialog-1e678e69.mjs} +1 -1
  12. package/lib/{SwipeCompareDialog-dfae0afd.mjs → SwipeCompareDialog-547de7ee.mjs} +1 -1
  13. package/lib/{ViewBookmarksDialog-2a6bc942.mjs → ViewBookmarksDialog-d3e38c53.mjs} +1 -1
  14. package/lib/{index-e868c4e2.mjs → index-198a96d2.mjs} +140 -113
  15. package/lib/{index-199c60c9.mjs → index-92020358.mjs} +1 -1
  16. package/lib/{index.es-560c236e.mjs → index.es-dd926512.mjs} +1 -1
  17. package/lib/index.esm.js +1 -1
  18. package/lib/index.umd.js +126 -99
  19. package/package.json +106 -106
  20. package/types/components/OlDialogs/LayerPanel.vue.d.ts +118 -0
  21. package/types/components/OlDialogs/LayerPanel.vue.d.ts.map +1 -1
  22. package/types/components/OlMap.vue.d.ts +236 -0
  23. package/types/components/OlMap.vue.d.ts.map +1 -1
  24. package/types/core/LayerManager.d.ts +5 -5
  25. package/types/core/LayerManager.d.ts.map +1 -1
  26. package/types/core/layers/GeoJSONLayerHandler.d.ts +4 -4
  27. package/types/core/layers/GeoJSONLayerHandler.d.ts.map +1 -1
  28. package/types/core/layers/interfaces.d.ts +1 -1
  29. package/types/core/layers/interfaces.d.ts.map +1 -1
  30. package/types/lowcode-entry.d.ts +236 -0
  31. package/types/lowcode-entry.d.ts.map +1 -1
  32. package/types/tsconfig.tsbuildinfo +1 -1
  33. package/types/types/map.d.ts +9 -1
  34. package/types/types/map.d.ts.map +1 -1
@@ -67661,6 +67661,7 @@ class GeoJSONLayerHandler extends BaseLayer2 {
67661
67661
  __publicField(this, "vectorSource", null);
67662
67662
  __publicField(this, "refreshTimer", null);
67663
67663
  __publicField(this, "refreshDebounceTimer", null);
67664
+ __publicField(this, "initialRefreshTimer", null);
67664
67665
  __publicField(this, "moveEndListener", null);
67665
67666
  __publicField(this, "lastKnownZoom");
67666
67667
  __publicField(this, "isRefreshing", false);
@@ -67682,16 +67683,13 @@ class GeoJSONLayerHandler extends BaseLayer2 {
67682
67683
  this.setupRefreshBehavior();
67683
67684
  return vectorLayer;
67684
67685
  }
67685
- /**
67686
- * 创建矢量数据源
67687
- */
67688
67686
  createVectorSource() {
67689
67687
  this.registerCustomProjection();
67690
67688
  return new VectorSource$1();
67691
67689
  }
67692
67690
  getGeoJSONConfig() {
67693
- var _a2;
67694
- const nestedConfig = this.config.geojsonConfig || ((_a2 = this.config.config) == null ? void 0 : _a2.geojson);
67691
+ var _a2, _b2, _c2;
67692
+ const nestedConfig = this.config.geojsonConfig || ((_b2 = (_a2 = this.config.config) == null ? void 0 : _a2.vector) == null ? void 0 : _b2.geojson) || ((_c2 = this.config.config) == null ? void 0 : _c2.geojson);
67695
67693
  const requestConfig = {
67696
67694
  url: this.config.url,
67697
67695
  method: this.config.method,
@@ -67701,12 +67699,33 @@ class GeoJSONLayerHandler extends BaseLayer2 {
67701
67699
  dataPath: this.config.dataPath,
67702
67700
  ...(nestedConfig == null ? void 0 : nestedConfig.request) || {}
67703
67701
  };
67702
+ const normalizedRequestConfig = this.normalizeRequestConfig(requestConfig);
67704
67703
  return {
67705
67704
  data: (nestedConfig == null ? void 0 : nestedConfig.data) ?? this.config.data,
67706
67705
  dataPath: (nestedConfig == null ? void 0 : nestedConfig.dataPath) ?? this.config.dataPath,
67707
67706
  clearOnError: (nestedConfig == null ? void 0 : nestedConfig.clearOnError) ?? false,
67708
67707
  refresh: nestedConfig == null ? void 0 : nestedConfig.refresh,
67709
- request: requestConfig.url || (nestedConfig == null ? void 0 : nestedConfig.request) ? requestConfig : void 0
67708
+ request: normalizedRequestConfig.url || (nestedConfig == null ? void 0 : nestedConfig.request) ? normalizedRequestConfig : void 0
67709
+ };
67710
+ }
67711
+ normalizeRequestConfig(requestConfig) {
67712
+ var _a2;
67713
+ const normalizedParams = {
67714
+ ...requestConfig.params || {}
67715
+ };
67716
+ const landTypeParamName = requestConfig.landTypeParamName || "landType";
67717
+ const landTypeValue = requestConfig.landType ?? this.config.geojsonLandType ?? normalizedParams[landTypeParamName] ?? normalizedParams.landType;
67718
+ if (landTypeValue !== void 0 && normalizedParams[landTypeParamName] === void 0) {
67719
+ normalizedParams[landTypeParamName] = landTypeValue;
67720
+ }
67721
+ const managementUnitParamName = requestConfig.managementUnitParamName || "managementUnit";
67722
+ const managementUnitValue = requestConfig.managementUnit ?? this.config.managementUnit ?? ((_a2 = this.config.metadata) == null ? void 0 : _a2.managementUnit) ?? normalizedParams[managementUnitParamName] ?? normalizedParams.managementUnit;
67723
+ if (managementUnitValue !== void 0 && normalizedParams[managementUnitParamName] === void 0) {
67724
+ normalizedParams[managementUnitParamName] = managementUnitValue;
67725
+ }
67726
+ return {
67727
+ ...requestConfig,
67728
+ params: normalizedParams
67710
67729
  };
67711
67730
  }
67712
67731
  getDataProjection() {
@@ -67719,20 +67738,30 @@ class GeoJSONLayerHandler extends BaseLayer2 {
67719
67738
  async initializeSource() {
67720
67739
  var _a2;
67721
67740
  const source = this.getVectorSource();
67722
- if (!source)
67741
+ if (!source) {
67723
67742
  return;
67743
+ }
67724
67744
  const geojsonConfig = this.getGeoJSONConfig();
67725
67745
  if (geojsonConfig.data) {
67726
67746
  this.applyGeoJSONData(geojsonConfig.data);
67727
67747
  return;
67728
67748
  }
67729
67749
  if (((_a2 = geojsonConfig.request) == null ? void 0 : _a2.url) || this.config.url) {
67730
- await this.refresh();
67750
+ this.scheduleInitialRefresh();
67731
67751
  return;
67732
67752
  }
67733
67753
  source.clear();
67734
67754
  this.originalFeatures = [];
67735
67755
  }
67756
+ scheduleInitialRefresh() {
67757
+ if (this.initialRefreshTimer) {
67758
+ clearTimeout(this.initialRefreshTimer);
67759
+ }
67760
+ this.initialRefreshTimer = setTimeout(() => {
67761
+ this.initialRefreshTimer = null;
67762
+ void this.refresh();
67763
+ }, 0);
67764
+ }
67736
67765
  getVectorSource() {
67737
67766
  if (this.vectorSource) {
67738
67767
  return this.vectorSource;
@@ -67746,8 +67775,9 @@ class GeoJSONLayerHandler extends BaseLayer2 {
67746
67775
  }
67747
67776
  applyGeoJSONData(data) {
67748
67777
  const source = this.getVectorSource();
67749
- if (!source)
67778
+ if (!source) {
67750
67779
  return;
67780
+ }
67751
67781
  const features2 = this.readFeaturesFromData(data);
67752
67782
  source.clear();
67753
67783
  source.addFeatures(features2);
@@ -67771,7 +67801,7 @@ class GeoJSONLayerHandler extends BaseLayer2 {
67771
67801
  }
67772
67802
  try {
67773
67803
  return this.normalizeGeoJSONData(JSON.parse(trimmed));
67774
- } catch (error2) {
67804
+ } catch {
67775
67805
  throw new Error("GeoJSON 字符串解析失败");
67776
67806
  }
67777
67807
  }
@@ -67855,15 +67885,17 @@ class GeoJSONLayerHandler extends BaseLayer2 {
67855
67885
  };
67856
67886
  }
67857
67887
  createRequestUrl(url, params, method) {
67858
- const requestUrl = new URL(url, window.location.origin);
67888
+ var _a2;
67889
+ const baseOrigin = typeof window !== "undefined" && ((_a2 = window.location) == null ? void 0 : _a2.origin) ? window.location.origin : "http://localhost";
67890
+ const requestUrl = new URL(url, baseOrigin);
67859
67891
  Object.entries(params).forEach(([key, value]) => {
67860
67892
  if (value === void 0 || value === null || method !== "GET") {
67861
67893
  return;
67862
67894
  }
67863
67895
  if (Array.isArray(value)) {
67864
- value.forEach(
67865
- (item) => requestUrl.searchParams.append(key, String(item))
67866
- );
67896
+ value.forEach((item) => {
67897
+ requestUrl.searchParams.append(key, String(item));
67898
+ });
67867
67899
  return;
67868
67900
  }
67869
67901
  requestUrl.searchParams.set(key, String(value));
@@ -67873,6 +67905,8 @@ class GeoJSONLayerHandler extends BaseLayer2 {
67873
67905
  async refresh(overrides) {
67874
67906
  const geojsonConfig = this.getGeoJSONConfig();
67875
67907
  const requestConfig = geojsonConfig.request;
67908
+ let requestUrl = "";
67909
+ let requestMethod = (requestConfig == null ? void 0 : requestConfig.method) || "GET";
67876
67910
  if (!(requestConfig == null ? void 0 : requestConfig.url)) {
67877
67911
  if (geojsonConfig.data) {
67878
67912
  this.applyGeoJSONData(geojsonConfig.data);
@@ -67885,12 +67919,13 @@ class GeoJSONLayerHandler extends BaseLayer2 {
67885
67919
  this.isRefreshing = true;
67886
67920
  try {
67887
67921
  const refreshPayload = this.buildExtentPayload(geojsonConfig.refresh);
67922
+ const currentRequestBody = (overrides == null ? void 0 : overrides.body) ?? requestConfig.body;
67888
67923
  const context = this.buildRequestContext({
67889
67924
  params: {
67890
67925
  ...refreshPayload.params || {},
67891
67926
  ...(overrides == null ? void 0 : overrides.params) || {}
67892
67927
  },
67893
- body: typeof refreshPayload.body === "object" && !Array.isArray(refreshPayload.body) && typeof ((overrides == null ? void 0 : overrides.body) || requestConfig.body) === "object" && !Array.isArray((overrides == null ? void 0 : overrides.body) || requestConfig.body) ? {
67928
+ body: typeof refreshPayload.body === "object" && !Array.isArray(refreshPayload.body) && typeof currentRequestBody === "object" && !Array.isArray(currentRequestBody) ? {
67894
67929
  ...requestConfig.body,
67895
67930
  ...refreshPayload.body,
67896
67931
  ...overrides == null ? void 0 : overrides.body
@@ -67921,17 +67956,19 @@ class GeoJSONLayerHandler extends BaseLayer2 {
67921
67956
  }
67922
67957
  };
67923
67958
  }
67924
- const requestUrl = this.createRequestUrl(
67959
+ requestMethod = request.method;
67960
+ requestUrl = this.createRequestUrl(
67925
67961
  request.url,
67926
67962
  request.params,
67927
67963
  request.method
67928
67964
  );
67965
+ const requestHeaders = request.method === "GET" ? { ...request.headers } : {
67966
+ "Content-Type": "application/json;charset=UTF-8",
67967
+ ...request.headers
67968
+ };
67929
67969
  const response = await fetch(requestUrl, {
67930
67970
  method: request.method,
67931
- headers: {
67932
- "Content-Type": request.method === "GET" ? void 0 : "application/json;charset=UTF-8",
67933
- ...request.headers
67934
- },
67971
+ headers: requestHeaders,
67935
67972
  body: request.method === "GET" || request.body === void 0 ? void 0 : typeof request.body === "string" ? request.body : JSON.stringify(request.body)
67936
67973
  });
67937
67974
  if (!response.ok) {
@@ -67968,7 +68005,10 @@ class GeoJSONLayerHandler extends BaseLayer2 {
67968
68005
  source == null ? void 0 : source.clear();
67969
68006
  this.originalFeatures = [];
67970
68007
  }
67971
- throw error2;
68008
+ const errorMessage = error2 instanceof Error ? error2.message : String(error2);
68009
+ throw new Error(
68010
+ `GeoJSON 请求失败 [${this.config.id}] ${requestMethod} ${requestUrl || requestConfig.url}: ${errorMessage}`
68011
+ );
67972
68012
  } finally {
67973
68013
  this.isRefreshing = false;
67974
68014
  }
@@ -68726,6 +68766,10 @@ class GeoJSONLayerHandler extends BaseLayer2 {
68726
68766
  }
68727
68767
  destroy() {
68728
68768
  this.clearRefreshBehavior();
68769
+ if (this.initialRefreshTimer) {
68770
+ clearTimeout(this.initialRefreshTimer);
68771
+ this.initialRefreshTimer = null;
68772
+ }
68729
68773
  this.vectorSource = null;
68730
68774
  super.destroy();
68731
68775
  }
@@ -333732,72 +333776,6 @@ class LayerManager {
333732
333776
  getLayerHandler(layerId) {
333733
333777
  return this.layerHandlers.get(layerId);
333734
333778
  }
333735
- async refreshLayer(layerId, options) {
333736
- try {
333737
- const config = this.getLayerConfig(layerId);
333738
- if (!config) {
333739
- return false;
333740
- }
333741
- if (!this.layerHandlers.has(layerId) && config.visible) {
333742
- const loaded = await this.loadLayerOnDemand(layerId);
333743
- if (!loaded) {
333744
- return false;
333745
- }
333746
- }
333747
- const handler = this.layerHandlers.get(layerId);
333748
- if (!(handler == null ? void 0 : handler.refresh)) {
333749
- return false;
333750
- }
333751
- await handler.refresh(options);
333752
- return true;
333753
- } catch (error2) {
333754
- console.error("刷新图层失败:", error2);
333755
- return false;
333756
- }
333757
- }
333758
- updateLayerRequestParams(layerId, params) {
333759
- var _a2, _b2, _c2, _d, _e2, _f, _g;
333760
- try {
333761
- const config = this.getLayerConfig(layerId);
333762
- if (!config) {
333763
- return false;
333764
- }
333765
- const nextConfig = {
333766
- ...config,
333767
- params: {
333768
- ...config.params || {},
333769
- ...params
333770
- },
333771
- geojsonConfig: {
333772
- ...config.geojsonConfig || ((_a2 = config.config) == null ? void 0 : _a2.geojson) || {},
333773
- request: {
333774
- ...((_c2 = config.geojsonConfig || ((_b2 = config.config) == null ? void 0 : _b2.geojson)) == null ? void 0 : _c2.request) || {},
333775
- params: {
333776
- ...((_f = (_e2 = config.geojsonConfig || ((_d = config.config) == null ? void 0 : _d.geojson)) == null ? void 0 : _e2.request) == null ? void 0 : _f.params) || {},
333777
- ...params
333778
- }
333779
- }
333780
- }
333781
- };
333782
- if (this.layerConfigs.has(layerId)) {
333783
- this.layerConfigs.set(layerId, nextConfig);
333784
- }
333785
- if (this.pendingLayerConfigs.has(layerId)) {
333786
- this.pendingLayerConfigs.set(layerId, nextConfig);
333787
- }
333788
- const handler = this.layerHandlers.get(layerId);
333789
- (_g = handler == null ? void 0 : handler.updateRequestParams) == null ? void 0 : _g.call(handler, params);
333790
- this.saveLayerConfigs();
333791
- this.eventBus.emit("layer-config-updated", {
333792
- layerId,
333793
- config: nextConfig
333794
- });
333795
- return true;
333796
- } catch (error2) {
333797
- console.error("更新图层请求参数失败:", error2);
333798
- return false;
333799
- }
333800
- }
333801
333779
  /**
333802
333780
  * 设置底图图层ID列表(用于底图互斥判断)
333803
333781
  */
@@ -334115,25 +334093,74 @@ class LayerManager {
334115
334093
  }
334116
334094
  return void 0;
334117
334095
  }
334096
+ async refreshLayer(layerId, options) {
334097
+ try {
334098
+ const handler = this.layerHandlers.get(layerId);
334099
+ if (!handler || typeof handler.refresh !== "function") {
334100
+ return false;
334101
+ }
334102
+ await handler.refresh(options);
334103
+ return true;
334104
+ } catch (error2) {
334105
+ console.error("刷新图层失败:", error2);
334106
+ return false;
334107
+ }
334108
+ }
334109
+ updateLayerRequestParams(layerId, params) {
334110
+ var _a2, _b2, _c2, _d, _e2, _f, _g, _h, _i2, _j, _k, _l, _m, _n2, _o2, _p, _q, _r2, _s;
334111
+ try {
334112
+ const config = this.getLayerConfig(layerId);
334113
+ if (!config) {
334114
+ return false;
334115
+ }
334116
+ const nextConfig = {
334117
+ ...config,
334118
+ params: {
334119
+ ...config.params || {},
334120
+ ...params
334121
+ },
334122
+ geojsonConfig: {
334123
+ ...config.geojsonConfig || ((_b2 = (_a2 = config.config) == null ? void 0 : _a2.vector) == null ? void 0 : _b2.geojson) || ((_c2 = config.config) == null ? void 0 : _c2.geojson) || {},
334124
+ request: {
334125
+ ...((_d = config.geojsonConfig) == null ? void 0 : _d.request) || ((_g = (_f = (_e2 = config.config) == null ? void 0 : _e2.vector) == null ? void 0 : _f.geojson) == null ? void 0 : _g.request) || ((_i2 = (_h = config.config) == null ? void 0 : _h.geojson) == null ? void 0 : _i2.request) || {},
334126
+ params: {
334127
+ ...((_k = (_j = config.geojsonConfig) == null ? void 0 : _j.request) == null ? void 0 : _k.params) || ((_o2 = (_n2 = (_m = (_l = config.config) == null ? void 0 : _l.vector) == null ? void 0 : _m.geojson) == null ? void 0 : _n2.request) == null ? void 0 : _o2.params) || ((_r2 = (_q = (_p = config.config) == null ? void 0 : _p.geojson) == null ? void 0 : _q.request) == null ? void 0 : _r2.params) || {},
334128
+ ...params
334129
+ }
334130
+ }
334131
+ }
334132
+ };
334133
+ if (this.layerConfigs.has(layerId)) {
334134
+ this.layerConfigs.set(layerId, nextConfig);
334135
+ }
334136
+ if (this.pendingLayerConfigs.has(layerId)) {
334137
+ this.pendingLayerConfigs.set(layerId, nextConfig);
334138
+ }
334139
+ const handler = this.layerHandlers.get(layerId);
334140
+ (_s = handler == null ? void 0 : handler.updateRequestParams) == null ? void 0 : _s.call(handler, params);
334141
+ this.saveLayerConfigs();
334142
+ this.eventBus.emit("layer-config-updated", {
334143
+ layerId,
334144
+ config: nextConfig
334145
+ });
334146
+ return true;
334147
+ } catch (error2) {
334148
+ console.error("更新图层请求参数失败:", error2);
334149
+ return false;
334150
+ }
334151
+ }
334118
334152
  /**
334119
334153
  * 更新图层配置
334120
334154
  */
334121
334155
  updateLayerConfig(layerId, newConfig) {
334122
334156
  try {
334123
334157
  const handler = this.layerHandlers.get(layerId);
334124
- const config = this.layerConfigs.get(layerId) || this.pendingLayerConfigs.get(layerId);
334125
- if (config) {
334158
+ const config = this.layerConfigs.get(layerId);
334159
+ if (handler && config) {
334126
334160
  const updatedConfig = { ...config, ...newConfig };
334127
- if (this.layerConfigs.has(layerId)) {
334128
- this.layerConfigs.set(layerId, updatedConfig);
334129
- }
334130
- if (this.pendingLayerConfigs.has(layerId)) {
334131
- this.pendingLayerConfigs.set(layerId, updatedConfig);
334132
- }
334133
- if (handler) {
334134
- handler.updateConfig(newConfig);
334135
- }
334136
- if (handler && (newConfig.style || newConfig.customCss !== void 0)) {
334161
+ this.layerConfigs.set(layerId, updatedConfig);
334162
+ handler.updateConfig(newConfig);
334163
+ if (newConfig.style || newConfig.customCss !== void 0) {
334137
334164
  if ("updateLayerStyles" in handler) {
334138
334165
  handler.updateLayerStyles(
334139
334166
  updatedConfig.style,
@@ -337370,19 +337397,19 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
337370
337397
  }
337371
337398
  });
337372
337399
  const defaultComponents = {
337373
- measurement: () => import("./MeasurementDialog-44599074.mjs"),
337374
- basemap: () => import("./BasemapPanel-d022a31a.mjs"),
337375
- print: () => import("./MapPrintDialog-c65f685b.mjs"),
337376
- "layer-panel": () => import("./LayerPanel-1a0456a4.mjs"),
337377
- coordinate: () => import("./CoordinateLocationDialog-6cdf239b.mjs"),
337378
- "region-navigation": () => import("./RegionNavigationDialog-b1cdc5f9.mjs"),
337379
- "my-markers": () => import("./MyMarkersDialog-dd288574.mjs"),
337380
- "view-bookmarks": () => import("./ViewBookmarksDialog-2a6bc942.mjs"),
337381
- "map-drawing": () => import("./index-199c60c9.mjs"),
337382
- "filter-panel": () => import("./FilterPanel-de00b336.mjs"),
337383
- "swipe-compare": () => import("./SwipeCompareDialog-dfae0afd.mjs"),
337384
- "split-compare": () => import("./SplitCompareDialog-6dd0fb71.mjs"),
337385
- "quad-compare": () => import("./QuadCompareDialog-2cd17881.mjs")
337400
+ measurement: () => import("./MeasurementDialog-9914f4e9.mjs"),
337401
+ basemap: () => import("./BasemapPanel-d1332546.mjs"),
337402
+ print: () => import("./MapPrintDialog-eea9e39e.mjs"),
337403
+ "layer-panel": () => import("./LayerPanel-f411a32b.mjs"),
337404
+ coordinate: () => import("./CoordinateLocationDialog-c2d89c1e.mjs"),
337405
+ "region-navigation": () => import("./RegionNavigationDialog-2843eedd.mjs"),
337406
+ "my-markers": () => import("./MyMarkersDialog-ef717e8c.mjs"),
337407
+ "view-bookmarks": () => import("./ViewBookmarksDialog-d3e38c53.mjs"),
337408
+ "map-drawing": () => import("./index-92020358.mjs"),
337409
+ "filter-panel": () => import("./FilterPanel-d7cb1c79.mjs"),
337410
+ "swipe-compare": () => import("./SwipeCompareDialog-547de7ee.mjs"),
337411
+ "split-compare": () => import("./SplitCompareDialog-1e678e69.mjs"),
337412
+ "quad-compare": () => import("./QuadCompareDialog-3d6eaf0c.mjs")
337386
337413
  };
337387
337414
  const _DialogRegistry = class _DialogRegistry {
337388
337415
  constructor() {
@@ -352410,7 +352437,7 @@ function(t3) {
352410
352437
  */
352411
352438
  function(t3) {
352412
352439
  function e8() {
352413
- return (n.canvg ? Promise.resolve(n.canvg) : import("./index.es-560c236e.mjs")).catch(function(t4) {
352440
+ return (n.canvg ? Promise.resolve(n.canvg) : import("./index.es-dd926512.mjs")).catch(function(t4) {
352414
352441
  return Promise.reject(new Error("Could not load canvg: " + t4));
352415
352442
  }).then(function(t4) {
352416
352443
  return t4.default ? t4.default : t4;
@@ -1,6 +1,6 @@
1
1
  import { inject, computed, ref, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createElementVNode, normalizeClass, toDisplayString, unref, createTextVNode, createCommentVNode, createBlock } from "vue";
2
2
  import { Close } from "@element-plus/icons-vue";
3
- import { b as _export_sfc, D as DrawingManager, X } from "./index-e868c4e2.mjs";
3
+ import { b as _export_sfc, D as DrawingManager, X } from "./index-198a96d2.mjs";
4
4
  import "ol";
5
5
  import "proj4";
6
6
  import "@supermapgis/iclient-ol";
@@ -1,4 +1,4 @@
1
- import { c as commonjsGlobal, g as getDefaultExportFromCjs, _ as _asyncToGenerator, a as _defineProperty } from "./index-e868c4e2.mjs";
1
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs, _ as _asyncToGenerator, a as _defineProperty } from "./index-198a96d2.mjs";
2
2
  import "vue";
3
3
  import "@element-plus/icons-vue";
4
4
  import "ol";
package/lib/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ad, a0, K, O, a4, D, aA, a9, ac, aF, aE, ak, al, aw, ax, Y, am, an, aD, aB, $, Z, ay, az, B, E, F, A, J, y, C, z, G, au, av, as, at, aq, ar, x, s, q, w, O as O2, p, u, v, ae, af, ai, aj, ao, ap, aG, N, ag, ah, U, ab, a1, a5, a8, Q, f, W, aa, a6, a2, a3, aC, P, a7, l, S, r, R } from "./index-e868c4e2.mjs";
1
+ import { ad, a0, K, O, a4, D, aA, a9, ac, aF, aE, ak, al, aw, ax, Y, am, an, aD, aB, $, Z, ay, az, B, E, F, A, J, y, C, z, G, au, av, as, at, aq, ar, x, s, q, w, O as O2, p, u, v, ae, af, ai, aj, ao, ap, aG, N, ag, ah, U, ab, a1, a5, a8, Q, f, W, aa, a6, a2, a3, aC, P, a7, l, S, r, R } from "./index-198a96d2.mjs";
2
2
  import "vue";
3
3
  import "@element-plus/icons-vue";
4
4
  import "ol";