@vcmap/ui 5.1.7 → 5.1.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.
@@ -1 +1 @@
1
- export * from "./core.42b085.js";
1
+ export * from "./core.45041e.js";
@@ -0,0 +1 @@
1
+ import{initAppFromAppConfig as p}from"./ui.74ba2a.js";p("#app","app.config.json");
package/dist/assets/ol.js CHANGED
@@ -1 +1 @@
1
- export * from "./ol.9e8753.js";
1
+ export * from "./ol.eb3bee.js";
@@ -13,7 +13,7 @@ function loadCss(href) {
13
13
  elem.onerror = reject;
14
14
  document.head.appendChild(elem);
15
15
  });
16
- } await loadCss('./assets/ui.d91b1c.css');await loadCss('./assets/@mdi/font/css/materialdesignicons.min.e3f476.css');var _1 = Object.defineProperty;
16
+ } await loadCss('./assets/ui.74ba2a.css');await loadCss('./assets/@mdi/font/css/materialdesignicons.min.e3f476.css');var _1 = Object.defineProperty;
17
17
  var v1 = (s, e, t) => e in s ? _1(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
18
18
  var oe = (s, e, t) => (v1(s, typeof e != "symbol" ? e + "" : e, t), t), g1 = (s, e, t) => {
19
19
  if (!e.has(s))
@@ -25,11 +25,11 @@ var Yr = (s, e, t) => {
25
25
  e instanceof WeakSet ? e.add(s) : e.set(s, t);
26
26
  };
27
27
  var js = (s, e, t) => (g1(s, e, "access private method"), t);
28
- import Pn, { inject as q, ref as w, onUnmounted as fe, computed as y, reactive as ce, onMounted as kt, watch as ne, nextTick as $n, shallowRef as Qi, provide as ws, getCurrentInstance as zt, shallowReactive as y1, onBeforeMount as w1, useCssVars as b1, isRef as A1, unref as M1 } from "./vue.33980b.js";
29
- import { VcsEvent as ye, MapCollection as Ji, Viewpoint as Ue, Collection as bs, Extent as As, mercatorProjection as ze, LayerState as x1, startCreateFeatureSession as L1, GeometryType as He, VectorLayer as Kt, maxZIndex as en, markVolatile as qi, startEditFeaturesSession as I1, startEditGeometrySession as C1, parseGeoJSON as E1, ClassRegistry as Xi, FeatureLayer as T1, AbstractInteraction as yr, EventType as ct, ModificationKeyType as Ki, OpenlayersMap as wr, VectorStyleItem as Rt, deserializeLayer as S1, EventHandler as k1, ObliqueMap as et, DataState as N1, emptyStyle as co, Projection as ps, CesiumMap as Tt, IndexedCollection as jt, getShapeFromOptions as $1, getStringColor as D1, getDefaultProjection as uo, wgs84Projection as Qr, moduleIdSymbol as Mt, getVcsAppById as R1, makeOverrideCollection as os, getObjectFromClassRegistry as ec, DefaultObliqueCollection as j1, isOverrideCollection as O1, defaultDynamicModuleId as In, PointerKeyType as ho, BaseOLMap as F1, VcsObject as V1, transformToImage as tc, getDefaultVectorStyleItemOptions as nc, fromCesiumColor as P1, vcsLayerName as Li, isProvidedFeature as z1, TransformationMode as Ae, hasSameOrigin as B1, VcsApp as G1, OverrideClassRegistry as Jr, volatileModuleId as qr, destroyCollection as Os, VcsModule as Ii, createFlightVisualization as fo, anchorFromViewpoint as sc, anchorToViewpoint as rc, getSplineAndTimesForInstance as Z1, FlightInstance as po, getTextFromOptions as H1, getImageStyleFromOptions as U1, highlighted as ic, originalStyle as ea, getStyleOptions as W1, vectorStyleSymbol as Y1, parseColor as mo, getImageStyleOptions as Q1, getTextOptions as J1, SessionType as _o, VectorProperties as q1 } from "./core.42b085.js";
30
- import ac, { VSheet as ue, VList as mt, VListItem as _t, VListItemIcon as br, VListItemTitle as Nt, VChip as oc, VListItemContent as $t, VTooltip as X1, VTextField as ta, VFileInput as K1, VBtn as zn, VIcon as le, VMenu as Bt, VSpacer as e0, VListItemGroup as lc, VDivider as vt, VCard as un, VCardTitle as t0, VToolbar as Ar, VContainer as me, VRow as je, VCol as Qe, VToolbarItems as Mr, VSlider as cc, VSelect as n0, VRadioGroup as uc, VRadio as dc, VListItemAction as s0, VExpansionPanel as hc, VExpansionPanelHeader as fc, VExpansionPanelContent as pc, VExpansionPanels as mc, VLayout as r0, VFlex as i0, VImg as a0, VListItemSubtitle as na, VSnackbar as o0, VFooter as l0, VApp as c0, VTreeview as u0, VDataTable as d0, VListItemAvatar as _c, VAlert as h0, VCheckbox as f0, VTextarea as p0, VStepper as m0, VStepperStep as _0, VStepperContent as v0, VDatePicker as g0, VColorPicker as vc, VTabs as y0, VTab as w0, VForm as b0 } from "./vuetify.be3c1c.js";
31
- import { Feature as Ms, ol$proj$transformExtent as gc, ol$Observable$unByKey as Dn, ol$geom$Polygon$fromExtent as A0, ol$geom$Polygon as M0, ol$extent$createOrUpdateFromCoordinates as x0, ol$style$Icon as sa, ol$geom$Point as yc, ol$Feature as L0, ol$source$Vector as Xr, ol$math$clamp as I0, ol$extent$getCenter as C0, ol$render$toContext as E0, ol$style$Stroke as wc, ol$style$Fill as bc, ol$style$RegularShape as T0, ol$style$Circle as S0, ol$style$Style as k0 } from "./ol.9e8753.js";
32
- import { Color as Ac, Math as En, Cartographic as ms, Cartesian2 as Mc, SceneTransforms as N0, Entity as xc, Cesium3DTileFeature as $0, Cesium3DTilePointFeature as D0, Cartesian3 as Kr } from "./cesium.0b68c5.js";
28
+ import Pn, { inject as q, ref as w, onUnmounted as fe, computed as y, reactive as ce, onMounted as kt, watch as ne, nextTick as $n, shallowRef as Qi, provide as ws, getCurrentInstance as zt, shallowReactive as y1, onBeforeMount as w1, useCssVars as b1, isRef as A1, unref as M1 } from "./vue.17a8fa.js";
29
+ import { VcsEvent as ye, MapCollection as Ji, Viewpoint as Ue, Collection as bs, Extent as As, mercatorProjection as ze, LayerState as x1, startCreateFeatureSession as L1, GeometryType as He, VectorLayer as Kt, maxZIndex as en, markVolatile as qi, startEditFeaturesSession as I1, startEditGeometrySession as C1, parseGeoJSON as E1, ClassRegistry as Xi, FeatureLayer as T1, AbstractInteraction as yr, EventType as ct, ModificationKeyType as Ki, OpenlayersMap as wr, VectorStyleItem as Rt, deserializeLayer as S1, EventHandler as k1, ObliqueMap as et, DataState as N1, emptyStyle as co, Projection as ps, CesiumMap as Tt, IndexedCollection as jt, getShapeFromOptions as $1, getStringColor as D1, getDefaultProjection as uo, wgs84Projection as Qr, moduleIdSymbol as Mt, getVcsAppById as R1, makeOverrideCollection as os, getObjectFromClassRegistry as ec, DefaultObliqueCollection as j1, isOverrideCollection as O1, defaultDynamicModuleId as In, PointerKeyType as ho, BaseOLMap as F1, VcsObject as V1, transformToImage as tc, getDefaultVectorStyleItemOptions as nc, fromCesiumColor as P1, vcsLayerName as Li, isProvidedFeature as z1, TransformationMode as Ae, hasSameOrigin as B1, VcsApp as G1, OverrideClassRegistry as Jr, volatileModuleId as qr, destroyCollection as Os, VcsModule as Ii, createFlightVisualization as fo, anchorFromViewpoint as sc, anchorToViewpoint as rc, getSplineAndTimesForInstance as Z1, FlightInstance as po, getTextFromOptions as H1, getImageStyleFromOptions as U1, highlighted as ic, originalStyle as ea, getStyleOptions as W1, vectorStyleSymbol as Y1, parseColor as mo, getImageStyleOptions as Q1, getTextOptions as J1, SessionType as _o, VectorProperties as q1 } from "./core.45041e.js";
30
+ import ac, { VSheet as ue, VList as mt, VListItem as _t, VListItemIcon as br, VListItemTitle as Nt, VChip as oc, VListItemContent as $t, VTooltip as X1, VTextField as ta, VFileInput as K1, VBtn as zn, VIcon as le, VMenu as Bt, VSpacer as e0, VListItemGroup as lc, VDivider as vt, VCard as un, VCardTitle as t0, VToolbar as Ar, VContainer as me, VRow as je, VCol as Qe, VToolbarItems as Mr, VSlider as cc, VSelect as n0, VRadioGroup as uc, VRadio as dc, VListItemAction as s0, VExpansionPanel as hc, VExpansionPanelHeader as fc, VExpansionPanelContent as pc, VExpansionPanels as mc, VLayout as r0, VFlex as i0, VImg as a0, VListItemSubtitle as na, VSnackbar as o0, VFooter as l0, VApp as c0, VTreeview as u0, VDataTable as d0, VListItemAvatar as _c, VAlert as h0, VCheckbox as f0, VTextarea as p0, VStepper as m0, VStepperStep as _0, VStepperContent as v0, VDatePicker as g0, VColorPicker as vc, VTabs as y0, VTab as w0, VForm as b0 } from "./vuetify.72ace9.js";
31
+ import { Feature as Ms, ol$proj$transformExtent as gc, ol$Observable$unByKey as Dn, ol$geom$Polygon$fromExtent as A0, ol$geom$Polygon as M0, ol$extent$createOrUpdateFromCoordinates as x0, ol$style$Icon as sa, ol$geom$Point as yc, ol$Feature as L0, ol$source$Vector as Xr, ol$math$clamp as I0, ol$extent$getCenter as C0, ol$render$toContext as E0, ol$style$Stroke as wc, ol$style$Fill as bc, ol$style$RegularShape as T0, ol$style$Circle as S0, ol$style$Style as k0 } from "./ol.eb3bee.js";
32
+ import { Color as Ac, Math as En, Cartographic as ms, Cartesian2 as Mc, SceneTransforms as N0, Entity as xc, Cesium3DTileFeature as $0, Cesium3DTilePointFeature as D0, Cartesian3 as Kr } from "./cesium.035e3a.js";
33
33
  Pn.config.productionTip = !1;
34
34
  window.CESIUM_BASE_URL = "./assets/cesium/";
35
35
  function m(s, e, t, n, r, i, a, o) {
@@ -1570,7 +1570,7 @@ var Jf = {
1570
1570
  compareIdentifiers: zo.compareIdentifiers,
1571
1571
  rcompareIdentifiers: zo.rcompareIdentifiers
1572
1572
  };
1573
- const qs = "5.1.7";
1573
+ const qs = "5.1.8";
1574
1574
  function Jt() {
1575
1575
  return Ee("plugin-helpers");
1576
1576
  }
@@ -2984,7 +2984,7 @@ function i2(s, e, t) {
2984
2984
  t.setActiveMap(e);
2985
2985
  }
2986
2986
  }, i = t.mapActivated.addEventListener((o) => {
2987
- r.active = o.name === e;
2987
+ r.active = (o == null ? void 0 : o.name) === e;
2988
2988
  });
2989
2989
  return { action: r, destroy: i };
2990
2990
  }
package/dist/assets/ui.js CHANGED
@@ -1 +1 @@
1
- export * from "./ui.d91b1c.js";
1
+ export * from "./ui.74ba2a.js";
@@ -1,5 +1,5 @@
1
- export * from "./vue.33980b.js";
2
- import { default as f } from "./vue.33980b.js";
1
+ export * from "./vue.17a8fa.js";
2
+ import { default as f } from "./vue.17a8fa.js";
3
3
  export {
4
4
  f as default
5
5
  };
@@ -13,7 +13,7 @@ function loadCss(href) {
13
13
  elem.onerror = reject;
14
14
  document.head.appendChild(elem);
15
15
  });
16
- } await loadCss('./assets/vuetify.be3c1c.css');import v from "./vue.33980b.js";
16
+ } await loadCss('./assets/vuetify.72ace9.css');import v from "./vue.17a8fa.js";
17
17
  const Ne = v.extend().extend({
18
18
  name: "themeable",
19
19
  provide() {
@@ -1,5 +1,5 @@
1
- export * from "./vuetify.be3c1c.js";
2
- import { default as f } from "./vuetify.be3c1c.js";
1
+ export * from "./vuetify.72ace9.js";
2
+ import { default as f } from "./vuetify.72ace9.js";
3
3
  export {
4
4
  f as default
5
5
  };
package/dist/index.html CHANGED
@@ -95,7 +95,7 @@
95
95
  }
96
96
  }
97
97
  </style>
98
- <script type="module" crossorigin src="./assets/index-c055a222.js"></script>
98
+ <script type="module" crossorigin src="./assets/index-3cd5a3f3.js"></script>
99
99
  </head>
100
100
  <body style="height: 100vh; margin: 0;">
101
101
  <noscript>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vcmap/ui",
3
- "version": "5.1.7",
3
+ "version": "5.1.8",
4
4
  "author": "Virtual City Systems",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "peerDependencies": {
55
55
  "@vcmap-cesium/engine": "^4.0.3",
56
- "@vcmap/core": "^5.1.5",
56
+ "@vcmap/core": "^5.1.6",
57
57
  "ol": "^7.5.2",
58
58
  "vue": "~2.7.3",
59
59
  "vuetify": "~2.6.7"
@@ -82,7 +82,7 @@ export function createMapButtonAction(actionOptions, mapName, maps) {
82
82
  },
83
83
  };
84
84
  const destroyListener = maps.mapActivated.addEventListener((map) => {
85
- action.active = map.name === mapName;
85
+ action.active = map?.name === mapName;
86
86
  });
87
87
 
88
88
  return { action, destroy: destroyListener };
@@ -1 +0,0 @@
1
- import{initAppFromAppConfig as p}from"./ui.d91b1c.js";p("#app","app.config.json");
File without changes
File without changes
File without changes