vue-openlayers-plugin 1.0.92 → 1.0.93

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,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 { l as layerEventBus, X, d as _export_sfc } from "./index-7f38e279.mjs";
2
+ import { l as layerEventBus, X, d as _export_sfc } from "./index-bc98d31c.mjs";
3
3
  import "ol";
4
4
  const _hoisted_1 = { class: "basemap-content" };
5
5
  const _hoisted_2 = { class: "basemap-grid" };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, inject, computed, ref, reactive, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, createTextVNode, unref } from "vue";
2
- import { i as aim_default, T as TooltipHelper, d as _export_sfc } from "./index-7f38e279.mjs";
2
+ import { i as aim_default, T as TooltipHelper, d as _export_sfc } from "./index-bc98d31c.mjs";
3
3
  import "ol";
4
4
  const _hoisted_1 = { class: "coordinate-content" };
5
5
  const _hoisted_2 = { class: "format-selection" };
@@ -1,4 +1,4 @@
1
- import { a6 as _sfc_main } from "./index-7f38e279.mjs";
1
+ import { a6 as _sfc_main } from "./index-bc98d31c.mjs";
2
2
  import "vue";
3
3
  import "ol";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { e as _sfc_main } from "./index-7f38e279.mjs";
1
+ import { h as _sfc_main } from "./index-bc98d31c.mjs";
2
2
  import "vue";
3
3
  import "ol";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { h as _sfc_main } from "./index-7f38e279.mjs";
1
+ import { e as _sfc_main } from "./index-bc98d31c.mjs";
2
2
  import "vue";
3
3
  import "ol";
4
4
  export {
@@ -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, g as getUnitByType, d as _export_sfc } from "./index-7f38e279.mjs";
2
+ import { X, f as formatMeasurementResult, g as getUnitByType, d as _export_sfc } from "./index-bc98d31c.mjs";
3
3
  import "ol";
4
4
  const createSvgIcon = (content, viewBox = "0 0 24 24", fill = "currentColor", stroke = "none", strokeWidth = "0") => {
5
5
  const svg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="${viewBox}" width="24" height="24" fill="${fill}" stroke="${stroke}" stroke-width="${strokeWidth}" stroke-linecap="round" stroke-linejoin="round">${content}</svg>`;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, inject, computed, ref, reactive, onUnmounted, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode, unref, normalizeClass, createTextVNode, toDisplayString, renderList, createBlock, withModifiers, mergeProps } from "vue";
2
- import { j as plus_default, k as folder_opened_default, m as download_default, n as delete_default, s as search_default, o as location_filled_default, q as edit_default, M as MarkerDrawingAdapter, t as fromLonLat, u as toLonLat } from "./index-7f38e279.mjs";
3
- import { E as ElMessageBox } from "./index-30b0d26c.mjs";
2
+ import { j as plus_default, k as folder_opened_default, m as download_default, n as delete_default, s as search_default, o as location_filled_default, q as edit_default, M as MarkerDrawingAdapter, t as fromLonLat, u as toLonLat } from "./index-bc98d31c.mjs";
3
+ import { E as ElMessageBox } from "./index-915b9f4d.mjs";
4
4
  import "ol";
5
5
  const _hoisted_1 = { class: "markers-content" };
6
6
  const _hoisted_2 = { class: "toolbar" };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, inject, computed, ref, reactive, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, createTextVNode, unref, createElementBlock, Fragment, renderList, withModifiers, toDisplayString, createCommentVNode } from "vue";
2
- import { j as plus_default, k as folder_opened_default, m as download_default, n as delete_default, s as search_default, v as camera_default, w as view_default, q as edit_default, x as location_default, z as zoom_in_default, u as toLonLat, t as fromLonLat, E as ElMessage, y as getUid } from "./index-7f38e279.mjs";
3
- import { E as ElMessageBox } from "./index-30b0d26c.mjs";
2
+ import { j as plus_default, k as folder_opened_default, m as download_default, n as delete_default, s as search_default, v as camera_default, w as view_default, q as edit_default, x as location_default, z as zoom_in_default, u as toLonLat, t as fromLonLat, E as ElMessage, y as getUid } from "./index-bc98d31c.mjs";
3
+ import { E as ElMessageBox } from "./index-915b9f4d.mjs";
4
4
  import "ol";
5
5
  const _hoisted_1 = { class: "bookmarks-content" };
6
6
  const _hoisted_2 = { class: "toolbar" };
@@ -1,5 +1,5 @@
1
1
  import { inject, computed, ref, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createElementVNode, normalizeClass, toDisplayString, unref, createTextVNode, createCommentVNode, createBlock } from "vue";
2
- import { d as _export_sfc, a4 as DrawingManager, a5 as close_default } from "./index-7f38e279.mjs";
2
+ import { d as _export_sfc, a4 as DrawingManager, a5 as close_default } from "./index-bc98d31c.mjs";
3
3
  import "ol";
4
4
  const icons = {
5
5
  pointMarker: "/icons/point.png",
@@ -1,5 +1,5 @@
1
1
  import { nextTick, defineComponent, computed, ref, reactive, markRaw, watch, onMounted, onBeforeUnmount, toRefs, resolveComponent, openBlock, createBlock, Transition, withCtx, withDirectives, createVNode, createElementVNode, normalizeClass, normalizeStyle, withModifiers, createElementBlock, resolveDynamicComponent, createCommentVNode, toDisplayString, withKeys, renderSlot, vShow, createTextVNode, isVNode, render } from "vue";
2
- import { A as componentSizes, B as obtainAllFocusableElements, C as getEventCode, D as EVENT_CODE, F as ElButton, G as ElFocusTrap, H as ElInput, I as ElOverlay, J as ElIcon, K as TypeComponents, L as useGlobalComponentSettings, N as loading_default, O as TypeComponentsMap, P as useId, Q as useDraggable, S as isFunction, U as isString, V as useLockscreen, W as _export_sfc, Y as useSameTarget, Z as isClient, $ as hasOwn, a0 as isObject, a1 as isUndefined, a2 as isElement, a3 as debugWarn } from "./index-7f38e279.mjs";
2
+ import { A as componentSizes, B as obtainAllFocusableElements, C as getEventCode, D as EVENT_CODE, F as ElButton, G as ElFocusTrap, H as ElInput, I as ElOverlay, J as ElIcon, K as TypeComponents, L as useGlobalComponentSettings, N as loading_default, O as TypeComponentsMap, P as useId, Q as useDraggable, S as isFunction, U as isString, V as useLockscreen, W as _export_sfc, Y as useSameTarget, Z as isClient, $ as hasOwn, a0 as isObject, a1 as isUndefined, a2 as isElement, a3 as debugWarn } from "./index-bc98d31c.mjs";
3
3
  const isValidComponentSize = (val) => ["", ...componentSizes].includes(val);
4
4
  const FOCUSABLE_CHILDREN = "_trap-focus-children";
5
5
  const FOCUS_STACK = [];
@@ -469419,16 +469419,16 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
469419
469419
  }
469420
469420
  });
469421
469421
  const defaultComponents = {
469422
- measurement: () => import("./MeasurementDialog-4ffa44ae.mjs"),
469423
- basemap: () => import("./BasemapPanel-a7640f57.mjs"),
469424
- print: () => import("./MapPrintDialog-bbf1ccc1.mjs"),
469425
- "layer-panel": () => import("./LayerPanel-02152994.mjs"),
469426
- coordinate: () => import("./CoordinateLocationDialog-3fd9613f.mjs"),
469422
+ measurement: () => import("./MeasurementDialog-901a569f.mjs"),
469423
+ basemap: () => import("./BasemapPanel-ed3aedc9.mjs"),
469424
+ print: () => import("./MapPrintDialog-ce441446.mjs"),
469425
+ "layer-panel": () => import("./LayerPanel-fd86591b.mjs"),
469426
+ coordinate: () => import("./CoordinateLocationDialog-1b493dd9.mjs"),
469427
469427
  "region-navigation": () => import("./RegionNavigationDialog-b0b6f86b.mjs"),
469428
- "my-markers": () => import("./MyMarkersDialog-605a60e2.mjs"),
469429
- "view-bookmarks": () => import("./ViewBookmarksDialog-475f44f3.mjs"),
469430
- "map-drawing": () => import("./index-ecd9c14c.mjs"),
469431
- "filter-panel": () => import("./FilterPanel-53958140.mjs")
469428
+ "my-markers": () => import("./MyMarkersDialog-c0883329.mjs"),
469429
+ "view-bookmarks": () => import("./ViewBookmarksDialog-9f767176.mjs"),
469430
+ "map-drawing": () => import("./index-3dc1ae8a.mjs"),
469431
+ "filter-panel": () => import("./FilterPanel-a5f38164.mjs")
469432
469432
  };
469433
469433
  const _DialogRegistry = class _DialogRegistry {
469434
469434
  constructor() {
@@ -471725,7 +471725,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
471725
471725
  };
471726
471726
  }
471727
471727
  });
471728
- const OlControlPanel = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-8c624b16"]]);
471728
+ const OlControlPanel = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-4a20acde"]]);
471729
471729
  const _hoisted_1$a = { class: "ol-legend-header" };
471730
471730
  const _hoisted_2$9 = { class: "header-actions" };
471731
471731
  const _hoisted_3$9 = { class: "ol-legend-body custom-scrollbar" };
@@ -490071,7 +490071,7 @@ function(t3) {
490071
490071
  */
490072
490072
  function(t3) {
490073
490073
  function e8() {
490074
- return (n.canvg ? Promise.resolve(n.canvg) : import("./index.es-d464d539.mjs")).catch(function(t4) {
490074
+ return (n.canvg ? Promise.resolve(n.canvg) : import("./index.es-31d767d5.mjs")).catch(function(t4) {
490075
490075
  return Promise.reject(new Error("Could not load canvg: " + t4));
490076
490076
  }).then(function(t4) {
490077
490077
  return t4.default ? t4.default : t4;
@@ -1,4 +1,4 @@
1
- import { c as commonjsGlobal, R as RGBColor, r as requestAnimationFrame, _ as _asyncToGenerator, a as _, p as processCanvasRGBA, b as _defineProperty } from "./index-7f38e279.mjs";
1
+ import { c as commonjsGlobal, R as RGBColor, r as requestAnimationFrame, _ as _asyncToGenerator, a as _, p as processCanvasRGBA, b as _defineProperty } from "./index-bc98d31c.mjs";
2
2
  import "vue";
3
3
  import "ol";
4
4
  var check = function(it) {
package/lib/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { aB, ap, af, a7, as, a4, aY, ax, aA, b1, b0, aI, aJ, aU, aV, am, aK, aL, a$, aZ, ao, an, aW, aX, aS, aT, aQ, aR, aO, aP, ae, aa, a9, ad, a7 as a72, a8, ab, ac, aC, aD, aG, aH, aM, aN, b2, ag, aE, aF, ak, az, aq, at, aw, ai, f, al, ay, au, g, ar, a_, ah, av, l, aj } from "./index-7f38e279.mjs";
1
+ import { aB, ap, af, a7, as, a4, aY, ax, aA, b1, b0, aI, aJ, aU, aV, am, aK, aL, a$, aZ, ao, an, aW, aX, aS, aT, aQ, aR, aO, aP, ae, aa, a9, ad, a7 as a72, a8, ab, ac, aC, aD, aG, aH, aM, aN, b2, ag, aE, aF, ak, az, aq, at, aw, ai, f, al, ay, au, g, ar, a_, ah, av, l, aj } from "./index-bc98d31c.mjs";
2
2
  import "vue";
3
3
  import "ol";
4
4
  export {
package/lib/index.umd.js CHANGED
@@ -473261,8 +473261,8 @@ ${this.attributes_.map(
473261
473261
  };
473262
473262
  }
473263
473263
  });
473264
- const OlControlPanel_vue_vue_type_style_index_0_scoped_8c624b16_lang = "";
473265
- const OlControlPanel = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-8c624b16"]]);
473264
+ const OlControlPanel_vue_vue_type_style_index_0_scoped_4a20acde_lang = "";
473265
+ const OlControlPanel = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-4a20acde"]]);
473266
473266
  const _hoisted_1$j = { class: "ol-legend-header" };
473267
473267
  const _hoisted_2$i = { class: "header-actions" };
473268
473268
  const _hoisted_3$i = { class: "ol-legend-body custom-scrollbar" };
package/lib/style.css CHANGED
@@ -878,7 +878,7 @@ to {
878
878
  .position-bottom-right {
879
879
  bottom: 5px;
880
880
  }
881
- }.control-bar[data-v-8c624b16] {
881
+ }.control-bar[data-v-4a20acde] {
882
882
  display: flex;
883
883
  align-items: center;
884
884
  gap: 0;
@@ -891,64 +891,64 @@ to {
891
891
  border: 1px solid var(--el-border-color-light);
892
892
  transition: all 0.3s ease;
893
893
  }
894
- .control-bar[data-v-8c624b16]:hover {
894
+ .control-bar[data-v-4a20acde]:hover {
895
895
  box-shadow: var(--el-box-shadow);
896
896
  border-color: var(--el-border-color-hover);
897
897
  }
898
- .control-bar.flex-col[data-v-8c624b16] {
898
+ .control-bar.flex-col[data-v-4a20acde] {
899
899
  flex-direction: column;
900
900
  width: fit-content;
901
901
  }
902
- .control-bar.flex-row[data-v-8c624b16] {
902
+ .control-bar.flex-row[data-v-4a20acde] {
903
903
  flex-direction: row;
904
904
  height: fit-content;
905
905
  }
906
- .control-section[data-v-8c624b16] {
906
+ .control-section[data-v-4a20acde] {
907
907
  display: flex;
908
908
  align-items: center;
909
909
  justify-content: center;
910
910
  gap: 4px;
911
911
  /* Inherit direction from parent implicitly via flex layout */
912
912
  }
913
- .flex-col .control-section[data-v-8c624b16] {
913
+ .flex-col .control-section[data-v-4a20acde] {
914
914
  flex-direction: column;
915
915
  width: 100%;
916
916
  }
917
- .flex-row .control-section[data-v-8c624b16] {
917
+ .flex-row .control-section[data-v-4a20acde] {
918
918
  flex-direction: row;
919
919
  height: 100%;
920
920
  }
921
- .control-divider[data-v-8c624b16] {
921
+ .control-divider[data-v-4a20acde] {
922
922
  background-color: var(--el-border-color-light);
923
923
  }
924
- .flex-col .control-divider[data-v-8c624b16] {
924
+ .flex-col .control-divider[data-v-4a20acde] {
925
925
  width: 80%;
926
926
  height: 1px;
927
927
  margin: 4px 0;
928
928
  }
929
- .flex-row .control-divider[data-v-8c624b16] {
929
+ .flex-row .control-divider[data-v-4a20acde] {
930
930
  width: 1px;
931
931
  height: 16px; /* Explicit height for horizontal mode */
932
932
  margin: 0 4px;
933
933
  }
934
934
 
935
935
  /* ensure buttons themselves are interactive */
936
- .control-btn[data-v-8c624b16] {
936
+ .control-btn[data-v-4a20acde] {
937
937
  pointer-events: auto;
938
938
  margin: 0 !important; /* Ensure no margin interferes */
939
939
  transition: transform 0.1s;
940
940
  }
941
- .control-btn[data-v-8c624b16]:active {
941
+ .control-btn[data-v-4a20acde]:active {
942
942
  transform: scale(0.95);
943
943
  }
944
944
 
945
945
  /* reset Element Plus button default adjacent margin and use our gap instead */
946
- [data-v-8c624b16] .el-button + .el-button {
946
+ [data-v-4a20acde] .el-button + .el-button {
947
947
  margin-left: 0 !important;
948
948
  }
949
949
 
950
950
  /* make sure all EP interactive widgets are clickable */
951
- [data-v-8c624b16] .el-button,[data-v-8c624b16] .el-slider,[data-v-8c624b16] .el-icon {
951
+ [data-v-4a20acde] .el-button,[data-v-4a20acde] .el-slider,[data-v-4a20acde] .el-icon {
952
952
  pointer-events: auto;
953
953
  }.ol-legend-panel[data-v-ef59840c] {
954
954
  position: absolute;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-openlayers-plugin",
3
- "version": "1.0.92",
3
+ "version": "1.0.93",
4
4
  "description": "A Vue 3 plugin for OpenLayers with custom components and utilities",
5
5
  "main": "lib/index.umd.js",
6
6
  "module": "lib/index.esm.js",