@vcmap/ui 6.3.6 → 6.3.8

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 (38) hide show
  1. package/config/base.config.json +22 -3
  2. package/config/concepts-show-case.config.json +4 -0
  3. package/dist/assets/{cesium-13cf3c65.js → cesium-c32c5784.js} +64804 -64777
  4. package/dist/assets/cesium.js +1 -1
  5. package/dist/assets/{core-b552e43f.js → core-118b5284.js} +5861 -5824
  6. package/dist/assets/core-workers/panoramaImageWorker.js +1 -1
  7. package/dist/assets/core.js +1 -1
  8. package/dist/assets/ol.js +1 -1
  9. package/dist/assets/{ui-a2ca1d03.css → ui-2b2de3ce.css} +1 -1
  10. package/dist/assets/{ui-a2ca1d03.js → ui-2b2de3ce.js} +136 -126
  11. package/dist/assets/ui.js +1 -1
  12. package/dist/assets/vue.js +1 -1
  13. package/dist/assets/{vuetify-e536bde6.js → vuetify-5d94bb1a.js} +1 -1
  14. package/dist/assets/vuetify.js +1 -1
  15. package/package.json +2 -2
  16. package/plugins/@vcmap-show-case/form-inputs-example/src/FormInputsExample.vue +1 -0
  17. package/plugins/@vcmap-show-case/tileset-feature-visibility/package.json +5 -0
  18. package/plugins/@vcmap-show-case/tileset-feature-visibility/src/TilesetFeatureVisibilityComponent.vue +349 -0
  19. package/plugins/@vcmap-show-case/tileset-feature-visibility/src/TilesetFeatureVisibilityInteraction.js +66 -0
  20. package/plugins/@vcmap-show-case/tileset-feature-visibility/src/index.js +135 -0
  21. package/plugins/package.json +4 -4
  22. package/src/callback/activateLayersCallback.d.ts +1 -1
  23. package/src/callback/activateLayersCallback.js +5 -3
  24. package/src/callback/activateMapCallback.d.ts +1 -1
  25. package/src/callback/activateMapCallback.js +5 -3
  26. package/src/callback/activateOverviewMapCallback.d.ts +1 -1
  27. package/src/callback/activateOverviewMapCallback.js +5 -3
  28. package/src/callback/addModuleCallback.d.ts +1 -1
  29. package/src/callback/addModuleCallback.js +9 -11
  30. package/src/callback/removeModuleCallback.d.ts +1 -1
  31. package/src/callback/removeModuleCallback.js +8 -3
  32. package/src/components/form-inputs-controls/VcsLabeledSlider.vue +4 -4
  33. package/src/components/form-inputs-controls/VcsLabeledSlider.vue.d.ts +8 -7
  34. package/src/vuePlugins/vuetify.js +2 -4
  35. /package/dist/assets/core-workers/{panoramaImageWorker.js-1169c1e6.js → panoramaImageWorker.js-e4d99227.js} +0 -0
  36. /package/dist/assets/{ol-bb6d9ab8.js → ol-d44cf1bf.js} +0 -0
  37. /package/dist/assets/{vue-1a9cf873.js → vue-a7d70c19.js} +0 -0
  38. /package/dist/assets/{vuetify-e536bde6.css → vuetify-5d94bb1a.css} +0 -0
@@ -10,17 +10,17 @@ function loadCss(href) {
10
10
  elem.onerror = reject;
11
11
  document.head.appendChild(elem);
12
12
  });
13
- } await loadCss('./assets/ui-a2ca1d03.css');await loadCss('./assets/@mdi/font/css/materialdesignicons.min-680621ca.css');var hg = Object.defineProperty;
13
+ } await loadCss('./assets/ui-2b2de3ce.css');await loadCss('./assets/@mdi/font/css/materialdesignicons.min-680621ca.css');var hg = Object.defineProperty;
14
14
  var mg = (t, e, o) => e in t ? hg(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o;
15
15
  var Re = (t, e, o) => mg(t, typeof e != "symbol" ? e + "" : e, o);
16
- import { FeatureLayer as ea, VcsEvent as et, Viewpoint as tn, PanoramaMap as fo, Extent as Yo, mercatorProjection as kt, MapCollection as vu, Collection as Qa, LayerState as Wi, AbstractInteraction as sr, EventType as io, ModificationKeyType as _u, vectorClusterGroupName as Na, isProvidedClusterFeature as yu, VcsObject as pg, renderTemplate as Pa, VectorProperties as bu, getHeightInfo as gg, isRelativeHeightReference as vg, getGeometryHeight as _g, isAbsoluteHeightReference as yg, cartesianToMercator as Ra, CesiumMap as fn, OpenlayersMap as rr, ObliqueMap as xt, transformToImage as Mh, Projection as qn, getMetersPerDegreeAtCoordinate as bg, ClassRegistry as wu, fromCesiumColor as Nh, VectorStyleItem as Zn, getDefaultVectorStyleItemOptions as Ph, VectorLayer as Eo, maxZIndex as Xa, markVolatile as ta, vcsLayerName as An, originalFeatureSymbol as Au, isProvidedFeature as Rh, hidden as il, alreadyTransformedToImage as wg, panoramaFeature as e1, mercatorToCartesian as Oh, moduleIdSymbol as yt, volatileModuleId as $i, FeatureProviderInteraction as Ag, getFeatureFromPickObject as Sg, startCreateFeatureSession as Ig, GeometryType as In, wgs84Projection as vi, startEditFeaturesSession as Eg, startEditGeometrySession as Cg, isSameOrigin as kg, createFlightVisualization as Su, parseFlightOptionsFromGeoJson as Tg, FlightInstance as Os, exportFlightPathAsGeoJson as xg, exportFlightAsGeoJson as Lg, createFlightPlayer as Vg, createFlightMovie as Mg, parseGeoJSON as Ng, rotationMapControlSymbol as Sc, startRotation as Dh, PanoramaImageSelection as Pg, EventHandler as Rg, deserializeLayer as Og, DataState as Dg, emptyStyle as t1, maxZIndexMin50 as fs, ObliqueViewDirection as Ao, DisplayQualityLevel as al, getStringColor as Ic, parseColor as Ec, PatternType as Ri, getShapeFromOptions as Fg, getDefaultProjection as Oa, getVcsAppById as Bg, getInitForUrl as $g, WMSLayer as Cc, IndexedCollection as hi, makeOverrideCollection as xa, getObjectFromClassRegistry as Fh, isOverrideCollection as Gg, defaultDynamicModuleId as fi, PointerKeyType as n1, BaseOLMap as Ug, VcsApp as Hg, OverrideClassRegistry as sl, destroyCollection as hs, VcsModule as kc, DefaultObliqueCollection as Wg, getImageStyleFromOptions as Bh, anchorFromViewpoint as $h, anchorToViewpoint as Gh, getSplineAndTimesForInstance as Zg, getTextFromOptions as jg, highlighted as Uh, originalStyle as Iu, getStyleOptions as zg, vectorStyleSymbol as Yg, getImageStyleOptions as qg, getTextOptions as Jg, TransformationMode as so, placeGeometryOnSurface as Qg, SessionType as Ho, snapTypes as Xg, is2DLayout as Kg } from "./core-b552e43f.js";
17
- import { renderTemplate as kU } from "./core-b552e43f.js";
18
- import { resolveComponent as b, openBlock as g, createBlock as A, withCtx as v, createVNode as p, createElementBlock as k, Fragment as re, renderList as ge, withModifiers as Me, normalizeClass as pe, createTextVNode as H, toDisplayString as $, createCommentVNode as M, inject as fe, ref as B, onUnmounted as Be, computed as w, reactive as ce, watch as ie, nextTick as xn, toRaw as It, mergeProps as X, createSlots as wt, renderSlot as ne, normalizeProps as Ce, guardReactiveProps as ke, getCurrentInstance as en, shallowRef as Ue, onBeforeMount as Hh, onMounted as Vn, effectScope as Wh, isRef as ho, defineComponent as Ka, h as xo, Text as Zh, onScopeDispose as ev, watchEffect as Eu, toRefs as lr, capitalize as jh, warn as tv, unref as K, provide as mn, camelize as zh, createStaticVNode as nn, createElementVNode as S, resolveDynamicComponent as Lo, withKeys as Qt, useSlots as Yh, isReactive as nv, normalizeStyle as kn, shallowReactive as ov, pushScopeId as cr, popScopeId as ur, readonly as Cu, createApp as iv, toRef as Qe, onBeforeUnmount as es, onUpdated as av, withDirectives as qo, TransitionGroup as ku, Transition as Tu, resolveDirective as dr, vShow as xu, useCssVars as sv, useAttrs as rv, toHandlers as lv, useModel as cv } from "./vue-1a9cf873.js";
19
- import { VListItemTitle as Mn, VListItem as Rt, VList as Qn, VSheet as ht, VTextField as uv, VTooltip as lt, VSvgIcon as dv, VIcon as Ze, VBtn as na, VSpacer as fr, VMenu as Po, VCol as st, VRow as ft, VDivider as Tn, VProgressLinear as fv, VCardText as qh, VCardTitle as Jh, VCard as ki, VDialog as Qh, VExpansionPanel as hv, VExpansionPanelTitle as mv, VExpansionPanelText as pv, VExpansionPanels as Lu, VCheckbox as gv, VDataTableServer as vv, VDataTable as _v, VListItemSubtitle as Vu, VFileInput as yv, VSlider as Xh, VContainer as ct, VToolbarItems as oa, VToolbar as ia, VSnackbar as bv, VSelect as wv, VRadio as Av, VRadioGroup as Sv, VPagination as Iv, VImg as Ev, VCardActions as Cv, VFooter as kv, VApp as Tv, VExpandTransition as xv, VChip as Lv, VTextarea as Vv, VDatePicker as Mv, VColorPicker as Kh, VTab as Nv, VTabs as Pv, VForm as Rv } from "./vuetify-e536bde6.js";
20
- import { Feature as Vo, ol$Feature as Tc, ol$geom$Point as ts, ol$extent$getCenter as Ov, ol$Observable$unByKey as Ji, ol$proj$getTransform as Dv, ol$proj$get as Fv, ol$geom$LineString as Bv, ol$style$Icon as hr, ol$proj$transformExtent as em, ol$geom$Polygon$fromExtent as $v, ol$geom$Polygon as Gv, ol$extent$createOrUpdateFromCoordinates as Uv, ol$style$Circle as Hv, ol$style$Stroke as tm, ol$style$Fill as nm, ol$geom$Circle as Wv, ol$source$Vector as rl, ol$format$WMSCapabilities as Zv, ol$render$toContext as jv, ol$style$Style as zv } from "./ol-bb6d9ab8.js";
21
- import { useTheme as om, createVuetify as Yv, useDisplay as Ct } from "./vuetify-e536bde6.js";
22
- import "./vuetify-e536bde6.js";
23
- import { HeightReference as Ds, Entity as im, Cartesian2 as am, Cartographic as _i, SceneTransforms as qv, Color as ns, Cesium3DTilePointFeature as Jv, Cesium3DTileFeature as Qv, Cartesian3 as Zi, Ray as Xv, Math as yi } from "./cesium-13cf3c65.js";
16
+ import { FeatureLayer as ea, VcsEvent as et, Viewpoint as tn, PanoramaMap as fo, Extent as Yo, mercatorProjection as kt, MapCollection as vu, Collection as Qa, LayerState as Wi, AbstractInteraction as sr, EventType as io, ModificationKeyType as _u, vectorClusterGroupName as Na, isProvidedClusterFeature as yu, VcsObject as pg, renderTemplate as Pa, VectorProperties as bu, getHeightInfo as gg, isRelativeHeightReference as vg, getGeometryHeight as _g, isAbsoluteHeightReference as yg, cartesianToMercator as Ra, CesiumMap as fn, OpenlayersMap as rr, ObliqueMap as xt, transformToImage as Mh, Projection as qn, getMetersPerDegreeAtCoordinate as bg, ClassRegistry as wu, fromCesiumColor as Nh, VectorStyleItem as Zn, getDefaultVectorStyleItemOptions as Ph, VectorLayer as Eo, maxZIndex as Xa, markVolatile as ta, vcsLayerName as An, originalFeatureSymbol as Au, isProvidedFeature as Rh, hidden as il, alreadyTransformedToImage as wg, panoramaFeature as e1, mercatorToCartesian as Oh, moduleIdSymbol as yt, volatileModuleId as $i, FeatureProviderInteraction as Ag, getFeatureFromPickObject as Sg, startCreateFeatureSession as Ig, GeometryType as In, wgs84Projection as vi, startEditFeaturesSession as Eg, startEditGeometrySession as Cg, isSameOrigin as kg, createFlightVisualization as Su, parseFlightOptionsFromGeoJson as Tg, FlightInstance as Os, exportFlightPathAsGeoJson as xg, exportFlightAsGeoJson as Lg, createFlightPlayer as Vg, createFlightMovie as Mg, parseGeoJSON as Ng, rotationMapControlSymbol as Sc, startRotation as Dh, PanoramaImageSelection as Pg, EventHandler as Rg, deserializeLayer as Og, DataState as Dg, emptyStyle as t1, maxZIndexMin50 as fs, ObliqueViewDirection as Ao, DisplayQualityLevel as al, getStringColor as Ic, parseColor as Ec, PatternType as Ri, getShapeFromOptions as Fg, getDefaultProjection as Oa, getVcsAppById as Bg, getInitForUrl as $g, WMSLayer as Cc, IndexedCollection as hi, makeOverrideCollection as xa, getObjectFromClassRegistry as Fh, isOverrideCollection as Gg, defaultDynamicModuleId as fi, PointerKeyType as n1, BaseOLMap as Ug, VcsApp as Hg, OverrideClassRegistry as sl, destroyCollection as hs, VcsModule as kc, DefaultObliqueCollection as Wg, getImageStyleFromOptions as Bh, anchorFromViewpoint as $h, anchorToViewpoint as Gh, getSplineAndTimesForInstance as Zg, getTextFromOptions as jg, highlighted as Uh, originalStyle as Iu, getStyleOptions as zg, vectorStyleSymbol as Yg, getImageStyleOptions as qg, getTextOptions as Jg, TransformationMode as so, placeGeometryOnSurface as Qg, SessionType as Ho, snapTypes as Xg, is2DLayout as Kg } from "./core-118b5284.js";
17
+ import { renderTemplate as kU } from "./core-118b5284.js";
18
+ import { resolveComponent as b, openBlock as g, createBlock as A, withCtx as v, createVNode as p, createElementBlock as k, Fragment as re, renderList as ge, withModifiers as Me, normalizeClass as pe, createTextVNode as H, toDisplayString as $, createCommentVNode as M, inject as fe, ref as B, onUnmounted as Be, computed as w, reactive as ce, watch as ie, nextTick as xn, toRaw as It, mergeProps as X, createSlots as wt, renderSlot as ne, normalizeProps as Ce, guardReactiveProps as ke, getCurrentInstance as en, shallowRef as Ue, onBeforeMount as Hh, onMounted as Vn, effectScope as Wh, isRef as ho, defineComponent as Ka, h as xo, Text as Zh, onScopeDispose as ev, watchEffect as Eu, toRefs as lr, capitalize as jh, warn as tv, unref as K, provide as mn, camelize as zh, createStaticVNode as nn, createElementVNode as S, resolveDynamicComponent as Lo, withKeys as Qt, useSlots as Yh, isReactive as nv, normalizeStyle as kn, shallowReactive as ov, pushScopeId as cr, popScopeId as ur, readonly as Cu, createApp as iv, toRef as Qe, onBeforeUnmount as es, onUpdated as av, withDirectives as qo, TransitionGroup as ku, Transition as Tu, resolveDirective as dr, vShow as xu, useCssVars as sv, useAttrs as rv, toHandlers as lv, useModel as cv } from "./vue-a7d70c19.js";
19
+ import { VListItemTitle as Mn, VListItem as Rt, VList as Qn, VSheet as ht, VTextField as uv, VTooltip as lt, VSvgIcon as dv, VIcon as Ze, VBtn as na, VSpacer as fr, VMenu as Po, VCol as st, VRow as ft, VDivider as Tn, VProgressLinear as fv, VCardText as qh, VCardTitle as Jh, VCard as ki, VDialog as Qh, VExpansionPanel as hv, VExpansionPanelTitle as mv, VExpansionPanelText as pv, VExpansionPanels as Lu, VCheckbox as gv, VDataTableServer as vv, VDataTable as _v, VListItemSubtitle as Vu, VFileInput as yv, VSlider as Xh, VContainer as ct, VToolbarItems as oa, VToolbar as ia, VSnackbar as bv, VSelect as wv, VRadio as Av, VRadioGroup as Sv, VPagination as Iv, VImg as Ev, VCardActions as Cv, VFooter as kv, VApp as Tv, VExpandTransition as xv, VChip as Lv, VTextarea as Vv, VDatePicker as Mv, VColorPicker as Kh, VTab as Nv, VTabs as Pv, VForm as Rv } from "./vuetify-5d94bb1a.js";
20
+ import { Feature as Vo, ol$Feature as Tc, ol$geom$Point as ts, ol$extent$getCenter as Ov, ol$Observable$unByKey as Ji, ol$proj$getTransform as Dv, ol$proj$get as Fv, ol$geom$LineString as Bv, ol$style$Icon as hr, ol$proj$transformExtent as em, ol$geom$Polygon$fromExtent as $v, ol$geom$Polygon as Gv, ol$extent$createOrUpdateFromCoordinates as Uv, ol$style$Circle as Hv, ol$style$Stroke as tm, ol$style$Fill as nm, ol$geom$Circle as Wv, ol$source$Vector as rl, ol$format$WMSCapabilities as Zv, ol$render$toContext as jv, ol$style$Style as zv } from "./ol-d44cf1bf.js";
21
+ import { useTheme as om, createVuetify as Yv, useDisplay as Ct } from "./vuetify-5d94bb1a.js";
22
+ import "./vuetify-5d94bb1a.js";
23
+ import { HeightReference as Ds, Entity as im, Cartesian2 as am, Cartographic as _i, SceneTransforms as qv, Color as ns, Cesium3DTilePointFeature as Jv, Cesium3DTileFeature as Qv, Cartesian3 as Zi, Ray as Xv, Math as yi } from "./cesium-c32c5784.js";
24
24
  window.CESIUM_BASE_URL = "./assets/cesium/";
25
25
  const L = (t, e) => {
26
26
  const o = t.__vccOpts || t;
@@ -493,7 +493,7 @@ function w_(t) {
493
493
  const e = new rm(t);
494
494
  return Vc.set(t, e), e;
495
495
  }
496
- function _e(t) {
496
+ function ve(t) {
497
497
  return t ? Vc.has(t) ? Vc.get(t) : w_(t) : b_();
498
498
  }
499
499
  function Mc(t, e) {
@@ -1520,9 +1520,9 @@ function Y_() {
1520
1520
  }, Kl;
1521
1521
  }
1522
1522
  var q_ = Y_();
1523
- const Nc = "@vcmap/ui", Ls = "6.3.6";
1523
+ const Nc = "@vcmap/ui", Ls = "6.3.8";
1524
1524
  function ri() {
1525
- return _e("plugin-helpers");
1525
+ return ve("plugin-helpers");
1526
1526
  }
1527
1527
  const Te = Symbol("vcsApp"), mi = Symbol("pluginFactory"), Ii = Symbol("pluginBaseUrl"), ji = Symbol("pluginModuleUrl"), pi = Symbol("pluginVersionRange");
1528
1528
  function qG(t, e, o) {
@@ -2292,7 +2292,7 @@ function an(t, e, o) {
2292
2292
  try {
2293
2293
  n.value = structuredClone(a);
2294
2294
  } catch (s) {
2295
- _e("modelHelper").error(
2295
+ ve("modelHelper").error(
2296
2296
  "Failed to update internal value. You may have a provided a deeply nested ref, which caused",
2297
2297
  s
2298
2298
  );
@@ -2310,7 +2310,7 @@ function an(t, e, o) {
2310
2310
  try {
2311
2311
  o(`update:${e}`, structuredClone(a));
2312
2312
  } catch (r) {
2313
- _e("modelHelper").error(
2313
+ ve("modelHelper").error(
2314
2314
  "Failed to emit value. You may have a provided a deeply nested ref, which caused",
2315
2315
  r
2316
2316
  );
@@ -9486,7 +9486,7 @@ function At() {
9486
9486
  function kr() {
9487
9487
  const t = Ct();
9488
9488
  return w(() => {
9489
- const e = t.platform.value.android || t.platform.value.ios || t.platform.value.touch, o = t.height.value <= t.thresholds.value.sm, n = t.height.value < t.width.value;
9489
+ const e = t.platform.value.android || t.platform.value.ios, o = t.height.value <= t.thresholds.value.sm, n = t.height.value < t.width.value;
9490
9490
  return e && n && o;
9491
9491
  });
9492
9492
  }
@@ -10152,7 +10152,7 @@ const GT = /* @__PURE__ */ L(FT, [["render", $T]]), UT = {
10152
10152
  if (u >= 0) {
10153
10153
  const f = e.value[u].clicked();
10154
10154
  f instanceof Promise && f.catch((h) => {
10155
- _e("ResultComponent.vue").error(
10155
+ ve("ResultComponent.vue").error(
10156
10156
  "Result item failed on click",
10157
10157
  h
10158
10158
  );
@@ -10221,7 +10221,7 @@ const WT = /* @__PURE__ */ L(UT, [["render", HT], ["__scopeId", "data-v-5cb411c6
10221
10221
  o.value = V, c = _, a.value = -1, t.search.suggest(_).then((E) => {
10222
10222
  o.value === V && (i.value = E, o.value = "");
10223
10223
  }).catch(() => {
10224
- _e("SearchComponent.vue").warn("suggestion failed");
10224
+ ve("SearchComponent.vue").warn("suggestion failed");
10225
10225
  });
10226
10226
  }, 200);
10227
10227
  } else
@@ -10233,7 +10233,7 @@ const WT = /* @__PURE__ */ L(UT, [["render", HT], ["__scopeId", "data-v-5cb411c6
10233
10233
  try {
10234
10234
  await t.search.search(n.value.trim());
10235
10235
  } catch (_) {
10236
- _e("Search").error(_);
10236
+ ve("Search").error(_);
10237
10237
  }
10238
10238
  e.value = !1;
10239
10239
  }, h = () => {
@@ -10727,7 +10727,7 @@ function ix(t, e, o) {
10727
10727
  };
10728
10728
  }
10729
10729
  function sd(t, e) {
10730
- const o = (n) => _e(t.name).error(
10730
+ const o = (n) => ve(t.name).error(
10731
10731
  `Error while calling the ${t.title ?? t.name} callback:`,
10732
10732
  n
10733
10733
  );
@@ -11106,7 +11106,7 @@ function g2(t, e, o) {
11106
11106
  };
11107
11107
  }
11108
11108
  function JG(t, e, o) {
11109
- _e("listHelper.js").deprecate(
11109
+ ve("listHelper.js").deprecate(
11110
11110
  "setupDraggableList",
11111
11111
  "Use setupDraggableListOrTree instead."
11112
11112
  );
@@ -15268,7 +15268,7 @@ class Za extends jt {
15268
15268
  }
15269
15269
  }
15270
15270
  function ja() {
15271
- return _e("featureInfo");
15271
+ return ve("featureInfo");
15272
15272
  }
15273
15273
  const ii = new wu(), wi = Symbol("featureInfoView");
15274
15274
  function H2(t, e) {
@@ -15765,7 +15765,7 @@ function XL(t) {
15765
15765
  allowPicking: !1
15766
15766
  });
15767
15767
  ta(e), t.layers.add(e), e.activate().catch(() => {
15768
- _e("deepPickingAction").error(
15768
+ ve("deepPickingAction").error(
15769
15769
  "Could not activate deep picking layer"
15770
15770
  );
15771
15771
  });
@@ -15942,20 +15942,20 @@ function sV(t) {
15942
15942
  s(), o(), i(), e.deactivate(), e.destroy(), t.layers.remove(e);
15943
15943
  };
15944
15944
  }
15945
- const ve = {
15945
+ const _e = {
15946
15946
  NONE: 0,
15947
15947
  INACTIVE: 1,
15948
15948
  LOADING: 2,
15949
15949
  ACTIVE: 3,
15950
15950
  INDETERMINATE: 4
15951
15951
  }, vf = {
15952
- [ve.INACTIVE]: "$vcsCheckbox",
15953
- [ve.ACTIVE]: "$vcsCheckboxChecked",
15954
- [ve.INDETERMINATE]: "$vcsCheckboxIndeterminate",
15955
- [ve.LOADING]: "$vcsProgress"
15952
+ [_e.INACTIVE]: "$vcsCheckbox",
15953
+ [_e.ACTIVE]: "$vcsCheckboxChecked",
15954
+ [_e.INDETERMINATE]: "$vcsCheckboxIndeterminate",
15955
+ [_e.LOADING]: "$vcsProgress"
15956
15956
  };
15957
15957
  function rV(t, e, o) {
15958
- Y(t, String), Y(e == null ? void 0 : e.value, Ti(ve)), Y(o, Function);
15958
+ Y(t, String), Y(e == null ? void 0 : e.value, Ti(_e)), Y(o, Function);
15959
15959
  const n = e.value, i = ce({
15960
15960
  name: t,
15961
15961
  icon: vf[n],
@@ -15988,7 +15988,7 @@ function cV(t, e) {
15988
15988
  disabled: e,
15989
15989
  callback() {
15990
15990
  this.active ? (t.deactivate(), this.title = "components.extent.show") : (t.activate().catch(() => {
15991
- _e("extentActions").warn("Failed to activate layer"), this.title = "components.extent.show";
15991
+ ve("extentActions").warn("Failed to activate layer"), this.title = "components.extent.show";
15992
15992
  }), this.title = "components.extent.hide");
15993
15993
  }
15994
15994
  }), n = t.stateChanged.addEventListener((i) => {
@@ -16010,7 +16010,7 @@ function uV(t, e, o, n, i) {
16010
16010
  a == null || a.stop(), this.active = !1;
16011
16011
  else {
16012
16012
  this.active = !0, e.activate().catch(() => {
16013
- _e("extentActions").warn("Failed to activate layer"), a == null || a.stop(), this.active = !1;
16013
+ ve("extentActions").warn("Failed to activate layer"), a == null || a.stop(), this.active = !1;
16014
16014
  });
16015
16015
  const r = e.getFeatureById(n);
16016
16016
  e.removeFeaturesById([n]), a = Ig(t, e, In.BBox);
@@ -16078,7 +16078,7 @@ function fV(t, e, o, n, i) {
16078
16078
  });
16079
16079
  });
16080
16080
  e.activate().catch(() => {
16081
- _e("extentActions").warn("Failed to activate layer"), a == null || a.stop();
16081
+ ve("extentActions").warn("Failed to activate layer"), a == null || a.stop();
16082
16082
  }), a = Eg(t, e), a.stopped.addEventListener(() => {
16083
16083
  s.active = !1, Ji(c), a = void 0;
16084
16084
  }), a.setFeatures([r]), s.active = !0;
@@ -16113,7 +16113,7 @@ function hV(t, e, o, n, i) {
16113
16113
  });
16114
16114
  });
16115
16115
  e.activate().catch(() => {
16116
- _e("extentActions").warn("Failed to activate layer"), a == null || a.stop();
16116
+ ve("extentActions").warn("Failed to activate layer"), a == null || a.stop();
16117
16117
  }), a = Cg(t, e), a.stopped.addEventListener(() => {
16118
16118
  s.active = !1, Ji(c), a = void 0;
16119
16119
  }), a.setFeature(r), s.active = !0;
@@ -16463,7 +16463,7 @@ async function bV(t, e, o = !0) {
16463
16463
  s.active = c === Wi.ACTIVE;
16464
16464
  }
16465
16465
  )), n.state === Wi.ACTIVE ? n.deactivate() : n.activate().catch(() => {
16466
- _e("flightActions").warn("Failed to activate layer"), this.active = !1;
16466
+ ve("flightActions").warn("Failed to activate layer"), this.active = !1;
16467
16467
  }), this.active = n.state === Wi.ACTIVE;
16468
16468
  }
16469
16469
  });
@@ -16499,7 +16499,7 @@ function wV(t, e) {
16499
16499
  const _ = ((f = e.properties) == null ? void 0 : f.title) || "flight";
16500
16500
  z2(y, `${_}.webm`);
16501
16501
  } catch (h) {
16502
- _e("flightActions").error("Error while creating flight movie", h);
16502
+ ve("flightActions").error("Error while creating flight movie", h);
16503
16503
  } finally {
16504
16504
  c == null || c.destroy(), l == null || l.destroy(), u == null || u(), d == null || d();
16505
16505
  }
@@ -16853,7 +16853,7 @@ async function iU(t, e, o, n = {}) {
16853
16853
  message: i.t("components.import.failure", {
16854
16854
  fileName: h.name
16855
16855
  })
16856
- }), _e("import").error(y);
16856
+ }), ve("import").error(y);
16857
16857
  }
16858
16858
  return {
16859
16859
  features: []
@@ -17009,15 +17009,16 @@ class wf extends mt {
17009
17009
  constructor(e, o) {
17010
17010
  super(e, o), this._layerNames = e.layerNames;
17011
17011
  }
17012
- callback() {
17013
- this._layerNames.map((e) => this._app.layers.getByKey(e)).filter((e) => e).forEach(
17014
- (e) => e.activate().catch((o) => {
17015
- _e("ActivateLayersCallback").error(
17016
- `Could not activate layer: ${e.name}`,
17017
- o
17012
+ async callback() {
17013
+ const e = this._layerNames.map((o) => this._app.layers.getByKey(o)).filter((o) => o).map(
17014
+ (o) => o.activate().catch((n) => {
17015
+ ve("ActivateLayersCallback").error(
17016
+ `Could not activate layer: ${o.name}`,
17017
+ n
17018
17018
  );
17019
17019
  })
17020
17020
  );
17021
+ await Promise.all(e);
17021
17022
  }
17022
17023
  /**
17023
17024
  * @returns {ActivateLayersOptions}
@@ -17194,7 +17195,7 @@ function q2(t) {
17194
17195
  function J2(t) {
17195
17196
  return w(() => {
17196
17197
  if (t != null && t.footerInformation)
17197
- return t.footerInformation.filter((e) => !e.title && !e.url ? (_e("uiConfigHelper").warn(
17198
+ return t.footerInformation.filter((e) => !e.title && !e.url ? (ve("uiConfigHelper").warn(
17198
17199
  "Footer information item skipped, missing title or url",
17199
17200
  e
17200
17201
  ), !1) : !0).map((e) => ({
@@ -21172,7 +21173,7 @@ const SP = /* @__PURE__ */ L(wP, [["render", AP]]), IP = {
21172
21173
  };
21173
21174
  }
21174
21175
  return a.value && u().catch((d) => {
21175
- _e("CollectionComponentContent").error(
21176
+ ve("CollectionComponentContent").error(
21176
21177
  "setting up pagination failed",
21177
21178
  d
21178
21179
  );
@@ -22108,7 +22109,7 @@ function kR(t, e) {
22108
22109
  try {
22109
22110
  return localStorage.getItem(`${t}_${e}`);
22110
22111
  } catch (o) {
22111
- return _e().warning(
22112
+ return ve().warning(
22112
22113
  `An error occured while getting the key "${e}": ${o}`
22113
22114
  ), null;
22114
22115
  }
@@ -22117,7 +22118,7 @@ function TR(t, e, o) {
22117
22118
  try {
22118
22119
  localStorage.setItem(`${t}_${e}`, o);
22119
22120
  } catch (n) {
22120
- _e().warning(
22121
+ ve().warning(
22121
22122
  `An error occured while setting the key "${e}": ${n}`
22122
22123
  );
22123
22124
  }
@@ -22126,7 +22127,7 @@ function xR(t, e) {
22126
22127
  try {
22127
22128
  localStorage.removeItem(`${t}_${e}`);
22128
22129
  } catch (o) {
22129
- _e().warning(
22130
+ ve().warning(
22130
22131
  `An error occured while removing the key "${e}": ${o}`
22131
22132
  );
22132
22133
  }
@@ -22701,7 +22702,7 @@ function sO(t) {
22701
22702
  try {
22702
22703
  o.onVcsAppMounted(t);
22703
22704
  } catch (n) {
22704
- _e("VcsUiApp").error(
22705
+ ve("VcsUiApp").error(
22705
22706
  `Error in plugin ${o.name} onVcsAppMounted hook`,
22706
22707
  n
22707
22708
  );
@@ -23261,7 +23262,7 @@ class No {
23261
23262
  * @param {import("../vcsUiApp.js").default} app
23262
23263
  */
23263
23264
  constructor(e, o) {
23264
- this._app = o, this._actions = Ue([]), this._name = e.name, this._visible = B(!0), this._clickable = B(!0), this._disabled = B(!1), this._state = B(ve.NONE), this._stateActionListener = null, this._infoUrl = null, this.infoUrl = e.infoUrl, this._title = B(e.title), this._tooltip = B(e.tooltip), this._icon = B(e.icon), this._children = B([]), this._weight = Mc(e.weight, 0), this.initOpen = Ke(e.initOpen, !1), this._onClick = e.onClick ?? [], this._onActivate = e.onActivate ?? [], this._onDeactivate = e.onDeactivate ?? [], this.weightChanged = new et();
23265
+ this._app = o, this._actions = Ue([]), this._name = e.name, this._visible = B(!0), this._clickable = B(!0), this._disabled = B(!1), this._state = B(_e.NONE), this._stateActionListener = null, this._infoUrl = null, this.infoUrl = e.infoUrl, this._title = B(e.title), this._tooltip = B(e.tooltip), this._icon = B(e.icon), this._children = B([]), this._weight = Mc(e.weight, 0), this.initOpen = Ke(e.initOpen, !1), this._onClick = e.onClick ?? [], this._onActivate = e.onActivate ?? [], this._onDeactivate = e.onDeactivate ?? [], this.weightChanged = new et();
23265
23266
  }
23266
23267
  /**
23267
23268
  * @type {string}
@@ -23328,7 +23329,7 @@ class No {
23328
23329
  * @param {StateActionState} state
23329
23330
  */
23330
23331
  set state(e) {
23331
- Y(e, Ti(ve)), this._state.value !== e && (this._state.value = e, this._setStateAction());
23332
+ Y(e, Ti(_e)), this._state.value !== e && (this._state.value = e, this._setStateAction());
23332
23333
  }
23333
23334
  /**
23334
23335
  * @type {string|null}
@@ -23410,7 +23411,7 @@ class No {
23410
23411
  */
23411
23412
  _setStateAction() {
23412
23413
  const e = "stateAction";
23413
- if (this.state !== ve.NONE && !this._stateActionListener) {
23414
+ if (this.state !== _e.NONE && !this._stateActionListener) {
23414
23415
  const { action: o, destroy: n } = rV(
23415
23416
  e,
23416
23417
  this._state,
@@ -23419,7 +23420,7 @@ class No {
23419
23420
  this.addAction(o, 0), this._stateActionListener = () => {
23420
23421
  this.removeAction(e), n();
23421
23422
  };
23422
- } else this._stateActionListener && this.state === ve.NONE && (this._stateActionListener(), this._stateActionListener = null);
23423
+ } else this._stateActionListener && this.state === _e.NONE && (this._stateActionListener(), this._stateActionListener = null);
23423
23424
  }
23424
23425
  /**
23425
23426
  * @param {string} actionName
@@ -23919,7 +23920,7 @@ const FO = /* @__PURE__ */ L(MO, [["render", DO], ["__scopeId", "data-v-bd5a4d44
23919
23920
  if (h != null && h.clicked && !(h != null && h.disabled)) {
23920
23921
  const y = h.clicked(m);
23921
23922
  y instanceof Promise && y.catch((_) => {
23922
- _e("VcsTreeview.vue").error(
23923
+ ve("VcsTreeview.vue").error(
23923
23924
  `Tree view item failed to click ${h.name}`,
23924
23925
  _
23925
23926
  );
@@ -24024,7 +24025,7 @@ class ZO extends No {
24024
24025
  super(e, o), this._wmsEntry = e.wmsEntry, this._stateWatcher = ie(
24025
24026
  this._wmsEntry.active,
24026
24027
  () => {
24027
- this._wmsEntry.active.value ? this.state = ve.ACTIVE : this.state = ve.INACTIVE;
24028
+ this._wmsEntry.active.value ? this.state = _e.ACTIVE : this.state = _e.INACTIVE;
24028
24029
  },
24029
24030
  { immediate: !0 }
24030
24031
  ), this.clickedEvent = new et(), this.styleSelected = new et(), this._destroyStyleAction = () => {
@@ -24156,18 +24157,18 @@ function sp(t, e, o) {
24156
24157
  }
24157
24158
  function jO(t) {
24158
24159
  var e;
24159
- return ((e = t == null ? void 0 : t.layers) == null ? void 0 : e.length) > 0 ? t.layers.filter((o) => lo(o, { name: String }) ? !0 : (_e(this.className).warn(
24160
+ return ((e = t == null ? void 0 : t.layers) == null ? void 0 : e.length) > 0 ? t.layers.filter((o) => lo(o, { name: String }) ? !0 : (ve(this.className).warn(
24160
24161
  `Ignoring WMS Layer without name in layer ${this._layerName}`
24161
24162
  ), !1)).map((o) => {
24162
24163
  var a;
24163
- const n = (a = o.styles) == null ? void 0 : a.filter((s) => lo(s, { name: String }) ? !0 : (_e(this.className).warn(
24164
+ const n = (a = o.styles) == null ? void 0 : a.filter((s) => lo(s, { name: String }) ? !0 : (ve(this.className).warn(
24164
24165
  `Ignoring WMS Style without name in layer ${this._layerName}`
24165
24166
  ), !1)).map((s) => {
24166
24167
  var r;
24167
24168
  return {
24168
24169
  name: s.name,
24169
24170
  title: s.title,
24170
- legend: ((r = s.legend) == null ? void 0 : r.filter((c) => lo(c, { url: String, width: Number, height: Number }) ? !0 : (_e(this.className).warn(
24171
+ legend: ((r = s.legend) == null ? void 0 : r.filter((c) => lo(c, { url: String, width: Number, height: Number }) ? !0 : (ve(this.className).warn(
24171
24172
  `Ignoring invalid WMS Legend in style ${s.name} in layer ${this._layerName}`
24172
24173
  ), !1)).map((c) => sp(c.url, c.width, s.title || ""))) || []
24173
24174
  };
@@ -24245,7 +24246,7 @@ class cu extends Ci {
24245
24246
  ), this._setWMSLayersExclusive = Ke(
24246
24247
  e.setWMSLayersExclusive,
24247
24248
  !1
24248
- ), this.clickable = !this._setWMSLayersExclusive || !this._loadOnStartup, this._hideStyleSelector = Ke(e.hideStyleSelector, !1), this.state = this._setWMSLayersExclusive || !this._loadOnStartup ? ve.NONE : ve.INACTIVE, this._invalid = !1, this._allowedWMSLayers = e.allowedWMSLayers, this._availableWMSEntries = [], this._childItems = [], this._listeners = [], this._legendSet = !1, this._pauseStateChangedListener = !1, this._childrenLoaded = !1, this._setup();
24249
+ ), this.clickable = !this._setWMSLayersExclusive || !this._loadOnStartup, this._hideStyleSelector = Ke(e.hideStyleSelector, !1), this.state = this._setWMSLayersExclusive || !this._loadOnStartup ? _e.NONE : _e.INACTIVE, this._invalid = !1, this._allowedWMSLayers = e.allowedWMSLayers, this._availableWMSEntries = [], this._childItems = [], this._listeners = [], this._legendSet = !1, this._pauseStateChangedListener = !1, this._childrenLoaded = !1, this._setup();
24249
24250
  }
24250
24251
  /**
24251
24252
  * readonly access, do not manipulate the entries directly.
@@ -24291,12 +24292,12 @@ class cu extends Ci {
24291
24292
  }
24292
24293
  _setState() {
24293
24294
  if (this._setWMSLayersExclusive)
24294
- this.state = ve.NONE;
24295
+ this.state = _e.NONE;
24295
24296
  else {
24296
24297
  const e = this._availableWMSEntries.filter(
24297
24298
  (o) => o.active.value
24298
24299
  );
24299
- e.length === this._availableWMSEntries.length ? this.state = ve.ACTIVE : e.length === 0 ? this.state = ve.INACTIVE : this.state = ve.INDETERMINATE;
24300
+ e.length === this._availableWMSEntries.length ? this.state = _e.ACTIVE : e.length === 0 ? this.state = _e.INACTIVE : this.state = _e.INDETERMINATE;
24300
24301
  }
24301
24302
  }
24302
24303
  /**
@@ -24330,7 +24331,7 @@ class cu extends Ci {
24330
24331
  try {
24331
24332
  (!Jo(a, e) || !Jo(o, i)) && (this._layer.parameters.STYLES = i.join(","), await this._layer.setLayers(a)), a.length > 0 && !this._layer.active ? await this._layer.activate() : a.length === 0 && this._layer.deactivate();
24332
24333
  } catch (r) {
24333
- _e(this.className).error(
24334
+ ve(this.className).error(
24334
24335
  "An error occured while setting the state to the Layer: $(this._layerName)",
24335
24336
  r
24336
24337
  );
@@ -24404,7 +24405,7 @@ class cu extends Ci {
24404
24405
  */
24405
24406
  async _loadWMSChildren() {
24406
24407
  if (!(this._childrenLoaded || !this._layer)) {
24407
- this.state = ve.LOADING, this.clickable = !this._setWMSLayersExclusive;
24408
+ this.state = _e.LOADING, this.clickable = !this._setWMSLayersExclusive;
24408
24409
  try {
24409
24410
  let e = [];
24410
24411
  if (this._layer.properties.capabilities ? e = jO(
@@ -24435,7 +24436,7 @@ class cu extends Ci {
24435
24436
  );
24436
24437
  }), this._childItems = o, this._layer.properties.legend && (this._legendSet = !0), this._setStateFromLayer(), this._setState(), this._setLegend(), this._childrenLoaded = !0, this._setWMSLayersExclusive || (this.clickable = !0);
24437
24438
  } catch (e) {
24438
- this._layer && (this._layer.deactivate(), this.visible = !1, this._invalid = !0), _e(this.className).error(
24439
+ this._layer && (this._layer.deactivate(), this.visible = !1, this._invalid = !0), ve(this.className).error(
24439
24440
  `An error occured while fetching the ${this._layerName} capabilities:`,
24440
24441
  e
24441
24442
  );
@@ -24478,7 +24479,7 @@ class cu extends Ci {
24478
24479
  await this._loadWMSChildren();
24479
24480
  return;
24480
24481
  }
24481
- if (this.state === ve.NONE || this._setWMSLayersExclusive)
24482
+ if (this.state === _e.NONE || this._setWMSLayersExclusive)
24482
24483
  return;
24483
24484
  const o = this._availableWMSEntries.filter(
24484
24485
  (n) => n.active.value
@@ -24593,7 +24594,7 @@ const XO = {
24593
24594
  item: r[uu],
24594
24595
  targetItem: c[uu],
24595
24596
  position: l
24596
- }), d.setLayers(f).catch((h) => _e("LayerSwap.vue").error(h));
24597
+ }), d.setLayers(f).catch((h) => ve("LayerSwap.vue").error(h));
24597
24598
  }
24598
24599
  }
24599
24600
  i.value = n();
@@ -26050,7 +26051,7 @@ function vc(t) {
26050
26051
  const rU = Symbol("I18nPluginSymbol");
26051
26052
  function rp(...t) {
26052
26053
  return t.reduce((e, o) => (Object.entries(o).filter(([n]) => !["name", "properties"].includes(n)).forEach(([n, i]) => {
26053
- vc(e[n]) && vc(i) ? e[n] = rp(e[n], i) : vc(e[n]) ? _e("i18n").warning(
26054
+ vc(e[n]) && vc(i) ? e[n] = rp(e[n], i) : vc(e[n]) ? ve("i18n").warning(
26054
26055
  `Overwriting a complex Object I18n Key with a string value is not allowed. Value:
26055
26056
  ${JSON.stringify(e[n])}, newValue: ${JSON.stringify(o[n])}`
26056
26057
  ) : e[n] = JSON.parse(JSON.stringify(i));
@@ -26187,7 +26188,7 @@ class Id {
26187
26188
  this.removable.value && this.selectable.value ? this._addBulkDeleteAction() : this._removeBulkDeleteAction(), this.reset();
26188
26189
  }),
26189
26190
  ie(this._draggable, () => {
26190
- this._collection instanceof hi || (_e("CollectionComponentClass").warning(
26191
+ this._collection instanceof hi || (ve("CollectionComponentClass").warning(
26191
26192
  "draggable can only be set to IndexedCollections!"
26192
26193
  ), this._draggable.value = !1);
26193
26194
  })
@@ -26236,7 +26237,7 @@ class Id {
26236
26237
  * @deprecated
26237
26238
  */
26238
26239
  set draggable(e) {
26239
- _e("CollectionComponentClass").deprecate("set draggable"), this._draggable.value = e;
26240
+ ve("CollectionComponentClass").deprecate("set draggable"), this._draggable.value = e;
26240
26241
  }
26241
26242
  /**
26242
26243
  * @type {string|import("../../pluginHelper.js").vcsAppSymbol}
@@ -26991,7 +26992,7 @@ function lp(t) {
26991
26992
  pitch: t[4],
26992
26993
  roll: t[5]
26993
26994
  });
26994
- return e.isValid() ? e.toJSON() : (_e("StateManagement").warning(
26995
+ return e.isValid() ? e.toJSON() : (ve("StateManagement").warning(
26995
26996
  "The provided viewpoint options are not valid. Viewpoint will be ignored."
26996
26997
  ), null);
26997
26998
  }
@@ -27013,7 +27014,7 @@ function SD(t, e) {
27013
27014
  ...t.slice(2)
27014
27015
  ]);
27015
27016
  } else
27016
- return _e("StateManagement").warning(
27017
+ return ve("StateManagement").warning(
27017
27018
  `The provided viewpoint epsg code (${t[6]}) does not equal epsg code (${n}) of module '${e}' and therefore can not be handled. Camera and ground position will be ignored.`
27018
27019
  ), null;
27019
27020
  }
@@ -27024,7 +27025,7 @@ function ID(t, e) {
27024
27025
  else if (t[1] && t[1] === n)
27025
27026
  i.projection = o;
27026
27027
  else
27027
- return _e("StateManagement").warning(
27028
+ return ve("StateManagement").warning(
27028
27029
  `The provided extent epsg code (${t[6]}) does not equal epsg code (${n}) of module '${e}' and therefore can not be handled. The provided extent will be ignored.`
27029
27030
  ), null;
27030
27031
  const a = new Yo(i);
@@ -27032,7 +27033,7 @@ function ID(t, e) {
27032
27033
  const s = tn.createViewpointFromExtent(a);
27033
27034
  return s.animate = !1, s.toJSON();
27034
27035
  } else
27035
- return _e("StateManagement").warning(
27036
+ return ve("StateManagement").warning(
27036
27037
  "The provided extent options are not valid. Extent will be ignored."
27037
27038
  ), null;
27038
27039
  }
@@ -27119,7 +27120,7 @@ function PD(t, e) {
27119
27120
  }), t.plugins.forEach((n) => {
27120
27121
  const i = LD(n);
27121
27122
  JSON.stringify(o).length + JSON.stringify(i).length < e && o[4].push(i);
27122
- }), (o[3].length !== t.layers.length || o[4].length !== t.plugins.length || o[6].length !== t.clippingPolygons.length) && _e("StateManagement").warning(
27123
+ }), (o[3].length !== t.layers.length || o[4].length !== t.plugins.length || o[6].length !== t.clippingPolygons.length) && ve("StateManagement").warning(
27123
27124
  "State too large for URL: Not all layers, clipping polygons and plugins are represented"
27124
27125
  ), o;
27125
27126
  }
@@ -27128,7 +27129,7 @@ function RD(t) {
27128
27129
  try {
27129
27130
  return ND(JSON.parse(t.searchParams.get("state")));
27130
27131
  } catch {
27131
- _e("StateManager").error(
27132
+ ve("StateManager").error(
27132
27133
  "failed to parse the state URL parameter"
27133
27134
  );
27134
27135
  }
@@ -27256,7 +27257,7 @@ class DD extends hi {
27256
27257
  return i.status === "rejected" && ((a = i.reason) == null ? void 0 : a.name) === "AbortError";
27257
27258
  }
27258
27259
  )) {
27259
- const i = o.map((a) => a.status === "rejected" ? (_e("Search").warning(a.reason), []) : a.value).flat();
27260
+ const i = o.map((a) => a.status === "rejected" ? (ve("Search").warning(a.reason), []) : a.value).flat();
27260
27261
  this._currentResults.value = i.filter((a) => a.feature || a.clicked).map((a) => {
27261
27262
  var s;
27262
27263
  if (a.feature && (this._resultLayer.addFeatures([a.feature]), !a.clicked)) {
@@ -27283,7 +27284,7 @@ class DD extends hi {
27283
27284
  var s;
27284
27285
  return a.status === "rejected" && ((s = a.reason) == null ? void 0 : s.name) === "AbortError";
27285
27286
  }
27286
- ) ? [] : o.map((a) => a.status === "rejected" ? (_e("Search").warning(a.reason), []) : a.value).flat();
27287
+ ) ? [] : o.map((a) => a.status === "rejected" ? (ve("Search").warning(a.reason), []) : a.value).flat();
27287
27288
  }
27288
27289
  /**
27289
27290
  * Aborting any ongoing request
@@ -27444,7 +27445,7 @@ function WD(t) {
27444
27445
  };
27445
27446
  }
27446
27447
  function di() {
27447
- return _e("VcsUiApp");
27448
+ return ve("VcsUiApp");
27448
27449
  }
27449
27450
  class Cd extends Hg {
27450
27451
  /**
@@ -27814,7 +27815,7 @@ async function uU(t, e) {
27814
27815
  }
27815
27816
  async function up(t) {
27816
27817
  if (lo(t, Object))
27817
- return lo(t, ZD) || _e("init").warning(
27818
+ return lo(t, ZD) || ve("init").warning(
27818
27819
  "Provided object is no valid VcsUiAppConfig",
27819
27820
  t
27820
27821
  ), new kc(
@@ -27854,13 +27855,13 @@ class Bf extends mt {
27854
27855
  constructor(e, o) {
27855
27856
  super(e, o), this._module = e.module;
27856
27857
  }
27857
- callback() {
27858
- up(this._module).then((e) => {
27859
- if (e)
27860
- return this._app.addModule(e);
27861
- }).catch((e) => {
27862
- _e("addModuleCallback").error("Error adding module", e);
27863
- });
27858
+ async callback() {
27859
+ try {
27860
+ const e = await up(this._module);
27861
+ e && await this._app.addModule(e);
27862
+ } catch (e) {
27863
+ ve("addModuleCallback").error("Error adding module", e);
27864
+ }
27864
27865
  }
27865
27866
  /**
27866
27867
  * @returns {AddModuleCallbackOptions}
@@ -27888,8 +27889,12 @@ class $f extends mt {
27888
27889
  constructor(e, o) {
27889
27890
  super(e, o), this._moduleId = e.moduleId;
27890
27891
  }
27891
- callback() {
27892
- this._app.getModuleById(this._moduleId) && this._app.removeModule(this._moduleId);
27892
+ async callback() {
27893
+ try {
27894
+ this._app.getModuleById(this._moduleId) && await this._app.removeModule(this._moduleId);
27895
+ } catch (e) {
27896
+ ve("removeModuleCallback").error("Error removing module", e);
27897
+ }
27893
27898
  }
27894
27899
  /**
27895
27900
  * @returns {RemoveModuleCallbackOptions}
@@ -28057,7 +28062,7 @@ class jf extends mt {
28057
28062
  const { tools: n } = o.action, i = n.findIndex((a) => a.name === this._toolName);
28058
28063
  i && (o.action.selected(i), { action: e } = o);
28059
28064
  } catch (n) {
28060
- _e(this.className).error(
28065
+ ve(this.className).error(
28061
28066
  `Error while setting tool ${this._toolName}:`,
28062
28067
  n
28063
28068
  );
@@ -28088,13 +28093,16 @@ class Ks extends mt {
28088
28093
  /**
28089
28094
  * Activates the map with the given name.
28090
28095
  */
28091
- callback() {
28092
- this._mapName && this._app.maps.setActiveMap(this._mapName).catch((e) => {
28093
- _e(Ks.className).error(
28094
- `Failed to activate map "${this._mapName}":`,
28095
- e
28096
- );
28097
- });
28096
+ async callback() {
28097
+ if (this._mapName)
28098
+ try {
28099
+ await this._app.maps.setActiveMap(this._mapName);
28100
+ } catch (e) {
28101
+ ve(Ks.className).error(
28102
+ `Failed to activate map "${this._mapName}":`,
28103
+ e
28104
+ );
28105
+ }
28098
28106
  }
28099
28107
  /**
28100
28108
  * @returns {ActivateMapCallbackOptions}
@@ -28118,13 +28126,15 @@ class er extends mt {
28118
28126
  static get className() {
28119
28127
  return "ActivateOverviewMapCallback";
28120
28128
  }
28121
- callback() {
28122
- this._app.overviewMap.activate().catch((e) => {
28123
- _e(er.className).error(
28129
+ async callback() {
28130
+ try {
28131
+ await this._app.overviewMap.activate();
28132
+ } catch (e) {
28133
+ ve(er.className).error(
28124
28134
  "Failed to activate overview map:",
28125
28135
  e
28126
28136
  );
28127
- });
28137
+ }
28128
28138
  }
28129
28139
  }
28130
28140
  dt.registerClass(
@@ -28381,24 +28391,24 @@ class eh extends No {
28381
28391
  this._children,
28382
28392
  () => {
28383
28393
  const n = this._children.value;
28384
- if (this.visible = n.some((i) => i.visible), this._disableIfChildrenDisabled && (this.disabled = n.every((i) => i.disabled)), n.every((i) => i.state === ve.NONE || !i.visible))
28385
- this.state = ve.NONE;
28394
+ if (this.visible = n.some((i) => i.visible), this._disableIfChildrenDisabled && (this.disabled = n.every((i) => i.disabled)), n.every((i) => i.state === _e.NONE || !i.visible))
28395
+ this.state = _e.NONE;
28386
28396
  else {
28387
28397
  const i = n.filter(
28388
- (a) => a.visible && a.state !== ve.NONE
28398
+ (a) => a.visible && a.state !== _e.NONE
28389
28399
  );
28390
- i.every((a) => a.state === ve.ACTIVE) ? this.state = ve.ACTIVE : i.every(
28391
- (a) => a.state === ve.INACTIVE
28392
- ) ? this.state = ve.INACTIVE : this.state = ve.INDETERMINATE;
28400
+ i.every((a) => a.state === _e.ACTIVE) ? this.state = _e.ACTIVE : i.every(
28401
+ (a) => a.state === _e.INACTIVE
28402
+ ) ? this.state = _e.INACTIVE : this.state = _e.INDETERMINATE;
28393
28403
  }
28394
28404
  },
28395
28405
  { deep: !0, immediate: !0 }
28396
28406
  );
28397
28407
  }
28398
28408
  async clicked() {
28399
- if (await super.clicked(), this.state === ve.NONE)
28409
+ if (await super.clicked(), this.state === _e.NONE)
28400
28410
  return;
28401
- const e = this.state === ve.ACTIVE ? (n) => n !== ve.NONE : (n) => n !== ve.NONE && n !== ve.ACTIVE, o = this._children.value.filter((n) => n.visible && !n.disabled && e(n.state)).map((n) => n.clicked());
28411
+ const e = this.state === _e.ACTIVE ? (n) => n !== _e.NONE : (n) => n !== _e.NONE && n !== _e.ACTIVE, o = this._children.value.filter((n) => n.visible && !n.disabled && e(n.state)).map((n) => n.clicked());
28402
28412
  await Promise.all(o);
28403
28413
  }
28404
28414
  /**
@@ -28457,7 +28467,7 @@ function dp(t, e, o, n, i) {
28457
28467
  }
28458
28468
  }
28459
28469
  function du(t) {
28460
- return t.active ? ve.ACTIVE : t.loading ? ve.LOADING : ve.INACTIVE;
28470
+ return t.active ? _e.ACTIVE : t.loading ? _e.LOADING : _e.INACTIVE;
28461
28471
  }
28462
28472
  class th extends Ci {
28463
28473
  /**
@@ -28472,7 +28482,7 @@ class th extends Ci {
28472
28482
  * @param {import("@src/vcsUiApp.js").default} app
28473
28483
  */
28474
28484
  constructor(e, o) {
28475
- super(e, o), this.state = ve.INACTIVE, this._layerName = e.layerName, this._showWhenNotSupported = Ke(
28485
+ super(e, o), this.state = _e.INACTIVE, this._layerName = e.layerName, this._showWhenNotSupported = Ke(
28476
28486
  e.showWhenNotSupported,
28477
28487
  !1
28478
28488
  ), this._listeners = [], this._setup();
@@ -28566,7 +28576,7 @@ class th extends Ci {
28566
28576
  ));
28567
28577
  }
28568
28578
  async clicked() {
28569
- await super.clicked(), this._layer && (this.state === ve.INACTIVE ? (await this._layer.activate(), Jn(this._app, this._onActivate)) : (this._layer.deactivate(), Jn(this._app, this._onDeactivate)));
28579
+ await super.clicked(), this._layer && (this.state === _e.INACTIVE ? (await this._layer.activate(), Jn(this._app, this._onActivate)) : (this._layer.deactivate(), Jn(this._app, this._onDeactivate)));
28570
28580
  }
28571
28581
  /**
28572
28582
  * @returns {LayerContentTreeItemOptions}
@@ -28585,7 +28595,7 @@ Nn.registerClass(
28585
28595
  );
28586
28596
  function nh(t) {
28587
28597
  const e = t.map((o) => du(o));
28588
- return e.some((o) => o === ve.LOADING) ? ve.LOADING : e.every((o) => o === ve.INACTIVE) ? ve.INACTIVE : e.every((o) => o === ve.ACTIVE) ? ve.ACTIVE : ve.INDETERMINATE;
28598
+ return e.some((o) => o === _e.LOADING) ? _e.LOADING : e.every((o) => o === _e.INACTIVE) ? _e.INACTIVE : e.every((o) => o === _e.ACTIVE) ? _e.ACTIVE : _e.INDETERMINATE;
28589
28599
  }
28590
28600
  class oh extends No {
28591
28601
  /**
@@ -28599,7 +28609,7 @@ class oh extends No {
28599
28609
  * @param {import("@src/vcsUiApp.js").default} app
28600
28610
  */
28601
28611
  constructor(e, o) {
28602
- super(e, o), this.state = ve.INACTIVE, this._layerNames = Array.isArray(e.layerNames) ? e.layerNames.slice() : [], this._showWhenNotSupported = Ke(
28612
+ super(e, o), this.state = _e.INACTIVE, this._layerNames = Array.isArray(e.layerNames) ? e.layerNames.slice() : [], this._showWhenNotSupported = Ke(
28603
28613
  e.showWhenNotSupported,
28604
28614
  !1
28605
28615
  ), this._listeners = [], this._defaultViewpoint = e.defaultViewpoint, this._availableStyles = Array.isArray(e.availableStyles) ? e.availableStyles.slice() : [], this._setup();
@@ -28670,7 +28680,7 @@ class oh extends No {
28670
28680
  e.some((n) => !(n.active || n.loading)) ? (await Promise.all(
28671
28681
  e.map(
28672
28682
  (n) => n.activate().catch((i) => {
28673
- _e("LayerGroupContentTreeItem").error(
28683
+ ve("LayerGroupContentTreeItem").error(
28674
28684
  `Could not activate layer ${n.name}`,
28675
28685
  i
28676
28686
  );
@@ -28852,7 +28862,7 @@ class sh extends Ci {
28852
28862
  * @param {import("@src/vcsUiApp.js").default} app
28853
28863
  */
28854
28864
  constructor(e, o) {
28855
- super(e, o), this.state = ve.INACTIVE, this._collectionName = e.collectionName, this._showWhenNotSupported = Ke(
28865
+ super(e, o), this.state = _e.INACTIVE, this._collectionName = e.collectionName, this._showWhenNotSupported = Ke(
28856
28866
  e.showWhenNotSupported,
28857
28867
  !1
28858
28868
  ), this._listeners = [], this._setup();
@@ -28893,9 +28903,9 @@ class sh extends Ci {
28893
28903
  );
28894
28904
  else {
28895
28905
  const o = this._app.maps.activeMap;
28896
- o instanceof xt ? (this.visible = !0, this._showWhenNotSupported && (this.disabled = !1), this.state = o.collection === this._collection ? ve.ACTIVE : ve.INACTIVE, this._listeners.push(
28906
+ o instanceof xt ? (this.visible = !0, this._showWhenNotSupported && (this.disabled = !1), this.state = o.collection === this._collection ? _e.ACTIVE : _e.INACTIVE, this._listeners.push(
28897
28907
  o.collectionChanged.addEventListener(() => {
28898
- this.state = o.collection === this._collection ? ve.ACTIVE : ve.INACTIVE;
28908
+ this.state = o.collection === this._collection ? _e.ACTIVE : _e.INACTIVE;
28899
28909
  })
28900
28910
  )) : (this.visible = this._showWhenNotSupported, this._showWhenNotSupported && (this.disabled = this._showWhenNotSupported)), this.setPropertiesFromObject(this._collection), this._listeners.push(
28901
28911
  this._app.maps.mapActivated.addEventListener(() => {
@@ -28914,7 +28924,7 @@ class sh extends Ci {
28914
28924
  /** @type {import("@vcmap/core").Oblique} */
28915
28925
  this._app.maps.activeMap
28916
28926
  ), o = await e.getViewpoint();
28917
- this.state === ve.INACTIVE ? (this.state = ve.LOADING, await e.setCollection(this._collection, o), e.collection === this._collection ? Jn(this._app, this._onActivate) : this.state = ve.INACTIVE) : this.state === ve.ACTIVE && (this.state = ve.INACTIVE, await e.setCollection(jD, o), Jn(this._app, this._onDeactivate));
28927
+ this.state === _e.INACTIVE ? (this.state = _e.LOADING, await e.setCollection(this._collection, o), e.collection === this._collection ? Jn(this._app, this._onActivate) : this.state = _e.INACTIVE) : this.state === _e.ACTIVE && (this.state = _e.INACTIVE, await e.setCollection(jD, o), Jn(this._app, this._onDeactivate));
28918
28928
  }
28919
28929
  }
28920
28930
  /**
@@ -29294,11 +29304,11 @@ const hU = /* @__PURE__ */ L(KD, [["render", eF]]), tF = {
29294
29304
  VcsTextField: bt
29295
29305
  },
29296
29306
  props: {
29297
- modelValue: { type: Number, required: !0 },
29307
+ modelValue: { type: [Number, String], default: 0 },
29298
29308
  label: { type: String, required: !0 },
29299
29309
  tooltip: { type: String, default: void 0 },
29300
29310
  allowTextInput: { type: Boolean, default: !1 },
29301
- textInputCols: { type: Number, default: 6 }
29311
+ textInputCols: { type: [Number, String, Boolean], default: 6 }
29302
29312
  },
29303
29313
  emits: ["update:modelValue"],
29304
29314
  setup(t, { attrs: e, emit: o }) {
@@ -29377,7 +29387,7 @@ function oF(t, e, o, n, i, a) {
29377
29387
  })
29378
29388
  ]);
29379
29389
  }
29380
- const iF = /* @__PURE__ */ L(tF, [["render", oF], ["__scopeId", "data-v-fc926e74"]]), aF = {
29390
+ const iF = /* @__PURE__ */ L(tF, [["render", oF], ["__scopeId", "data-v-7c70f384"]]), aF = {
29381
29391
  name: "VcsChipArrayInput",
29382
29392
  components: {
29383
29393
  VcsButton: Lt,
@@ -35006,7 +35016,7 @@ const bU = /* @__PURE__ */ L(y$, [["render", b$]]), w$ = (t) => (cr("data-v-3363
35006
35016
  try {
35007
35017
  r.value = structuredClone(C);
35008
35018
  } catch (x) {
35009
- _e("modelHelper").error(
35019
+ ve("modelHelper").error(
35010
35020
  "Failed to update internal value. You may have a provided a deeply nested ref, which caused",
35011
35021
  x
35012
35022
  );
@@ -35045,7 +35055,7 @@ const bU = /* @__PURE__ */ L(y$, [["render", b$]]), w$ = (t) => (cr("data-v-3363
35045
35055
  l.notifier.add({
35046
35056
  type: tt.ERROR,
35047
35057
  title: "components.projection.epsgIoRequestFailed"
35048
- }), _e("VcsProjection").error(P);
35058
+ }), ve("VcsProjection").error(P);
35049
35059
  } finally {
35050
35060
  u.value = !1;
35051
35061
  }
@@ -35064,7 +35074,7 @@ const bU = /* @__PURE__ */ L(y$, [["render", b$]]), w$ = (t) => (cr("data-v-3363
35064
35074
  try {
35065
35075
  s("update:modelValue", structuredClone(C));
35066
35076
  } catch (D) {
35067
- _e("modelHelper").error(
35077
+ ve("modelHelper").error(
35068
35078
  "Failed to emit value. You may have a provided a deeply nested ref, which caused",
35069
35079
  D
35070
35080
  );
@@ -36925,7 +36935,7 @@ const ig = /* @__PURE__ */ L(F$, [["render", U$]]), H$ = {
36925
36935
  n.value = t.getConfig(), await s();
36926
36936
  }
36927
36937
  return s().catch(
36928
- (c) => _e("ViewpointEditor.vue").error(c)
36938
+ (c) => ve("ViewpointEditor.vue").error(c)
36929
36939
  ), Be(() => {
36930
36940
  !a && !Jo(i, It(n.value)) && t.setConfig(n.value);
36931
36941
  }), {
@@ -38327,7 +38337,7 @@ const wG = /* @__PURE__ */ L(yG, [["render", bG]]), AG = { class: "px-1 py-1" },
38327
38337
  setup() {
38328
38338
  var l, u;
38329
38339
  const { currentFeatures: t } = fe("manager");
38330
- (t.value.length !== 1 || ((u = (l = t.value[0]) == null ? void 0 : l.getGeometry()) == null ? void 0 : u.getType()) !== "Point") && _e("VcsFeatureEditingWindow").error(
38340
+ (t.value.length !== 1 || ((u = (l = t.value[0]) == null ? void 0 : l.getGeometry()) == null ? void 0 : u.getType()) !== "Point") && ve("VcsFeatureEditingWindow").error(
38331
38341
  "This component only supports editing a single point feature."
38332
38342
  );
38333
38343
  const e = B(!1), o = t.value[0], n = Oa(), i = n.epsg.includes("4326") ? 6 : 2;
@@ -38354,7 +38364,7 @@ const wG = /* @__PURE__ */ L(yG, [["render", bG]]), AG = { class: "px-1 py-1" },
38354
38364
  s.value
38355
38365
  ), o.getGeometry().setCoordinates(d);
38356
38366
  } catch (f) {
38357
- _e("VcsFeatureEditingWindow").error(
38367
+ ve("VcsFeatureEditingWindow").error(
38358
38368
  "Invalid coordinates input",
38359
38369
  f
38360
38370
  );
@@ -38982,7 +38992,7 @@ export {
38982
38992
  qf as ShowObjectsCallback,
38983
38993
  Jf as StartFlightCallback,
38984
38994
  Cf as StartRotationCallback,
38985
- ve as StateActionState,
38995
+ _e as StateActionState,
38986
38996
  Qf as StopFlightCallback,
38987
38997
  Ef as StopRotationCallback,
38988
38998
  Qr as StyleMenuWrapper,