@vcmap/ui 5.1.1 → 5.1.2

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.
@@ -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.186a84.css');await loadCss('./assets/@mdi/font/css/materialdesignicons.min.e3f476.css');var p1 = Object.defineProperty;
16
+ } await loadCss('./assets/ui.a843ac.css');await loadCss('./assets/@mdi/font/css/materialdesignicons.min.e3f476.css');var p1 = Object.defineProperty;
17
17
  var m1 = (s, e, t) => e in s ? p1(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
18
18
  var oe = (s, e, t) => (m1(s, typeof e != "symbol" ? e + "" : e, t), t), _1 = (s, e, t) => {
19
19
  if (!e.has(s))
@@ -25,11 +25,11 @@ var Ur = (s, e, t) => {
25
25
  e instanceof WeakSet ? e.add(s) : e.set(s, t);
26
26
  };
27
27
  var Rs = (s, e, t) => (_1(s, e, "access private method"), t);
28
- import Fn, { inject as q, ref as w, onUnmounted as fe, computed as y, reactive as ce, onMounted as Tt, watch as ie, nextTick as Nn, shallowRef as Ui, provide as ys, getCurrentInstance as zt, shallowReactive as v1, onBeforeMount as g1, useCssVars as y1, isRef as w1, unref as b1 } from "./vue.3f80ec.js";
29
- import { VcsEvent as Ae, MapCollection as Wi, Viewpoint as He, Collection as ws, Extent as bs, mercatorProjection as Pe, LayerState as A1, startCreateFeatureSession as M1, GeometryType as Ze, VectorLayer as Kt, maxZIndex as Yi, markVolatile as Qi, startEditFeaturesSession as x1, startEditGeometrySession as L1, ClassRegistry as Ji, FeatureLayer as I1, AbstractInteraction as vr, EventType as lt, ModificationKeyType as qi, OpenlayersMap as gr, VectorStyleItem as Dt, deserializeLayer as C1, EventHandler as E1, ObliqueMap as Ke, DataState as S1, emptyStyle as oo, Projection as fs, CesiumMap as Ft, IndexedCollection as Rt, getShapeFromOptions as T1, getStringColor as k1, getDefaultProjection as lo, wgs84Projection as Wr, moduleIdSymbol as Mt, getVcsAppById as N1, makeOverrideCollection as as, getObjectFromClassRegistry as Xl, DefaultObliqueCollection as $1, isOverrideCollection as D1, defaultDynamicModuleId as Ln, PointerKeyType as co, BaseOLMap as R1, VcsObject as j1, transformToImage as Kl, getDefaultVectorStyleItemOptions as ec, fromCesiumColor as O1, vcsLayerName as bi, isProvidedFeature as V1, TransformationMode as be, hasSameOrigin as F1, VcsApp as P1, OverrideClassRegistry as Yr, volatileModuleId as Qr, destroyCollection as js, VcsModule as Ai, createFlightVisualization as uo, anchorFromViewpoint as tc, anchorToViewpoint as nc, getSplineAndTimesForInstance as z1, FlightInstance as ho, getTextFromOptions as B1, getImageStyleFromOptions as G1, highlighted as sc, originalStyle as Xi, getStyleOptions as Z1, vectorStyleSymbol as H1, parseColor as fo, getImageStyleOptions as U1, getTextOptions as W1, SessionType as po, VectorProperties as Y1 } from "./core.8ecfba.js";
30
- import rc, { VSheet as ue, VList as pt, VListItem as mt, VListItemIcon as yr, VListItemTitle as kt, VChip as ic, VListItemContent as Nt, VTooltip as Q1, VTextField as Ki, VFileInput as J1, VBtn as Pn, VIcon as le, VMenu as Bt, VSpacer as q1, VListItemGroup as ac, VDivider as _t, VCard as cn, VCardTitle as X1, VToolbar as wr, VContainer as me, VRow as Re, VCol as Ye, VToolbarItems as br, VSlider as oc, VSelect as K1, VRadioGroup as lc, VRadio as cc, VListItemAction as e0, VExpansionPanel as uc, VExpansionPanelHeader as dc, VExpansionPanelContent as hc, VExpansionPanels as fc, VLayout as t0, VFlex as n0, VImg as s0, VListItemSubtitle as ea, VSnackbar as r0, VFooter as i0, VApp as a0, VTreeview as o0, VDataTable as l0, VListItemAvatar as pc, VAlert as c0, VCheckbox as u0, VTextarea as d0, VStepper as h0, VStepperStep as f0, VStepperContent as p0, VDatePicker as m0, VColorPicker as mc, VTabs as _0, VTab as v0, VForm as g0 } from "./vuetify.10881a.js";
31
- import { Feature as As, ol$proj$transformExtent as _c, ol$Observable$unByKey as $n, ol$geom$Polygon$fromExtent as y0, ol$geom$Polygon as w0, ol$extent$createOrUpdateFromCoordinates as b0, ol$style$Icon as ta, ol$geom$Point as vc, ol$Feature as A0, ol$source$Vector as Jr, ol$math$clamp as M0, ol$extent$getCenter as x0, ol$render$toContext as L0, ol$style$Stroke as gc, ol$style$Fill as yc, ol$style$RegularShape as I0, ol$style$Circle as C0, ol$style$Style as E0 } from "./ol.b751cb.js";
32
- import { Color as wc, Math as Cn, Cartographic as ps, Cartesian2 as bc, SceneTransforms as S0, Entity as Ac, Cesium3DTileFeature as T0, Cesium3DTilePointFeature as k0, Cartesian3 as qr } from "./cesium.c1accb.js";
28
+ import Fn, { inject as q, ref as w, onUnmounted as fe, computed as y, reactive as ce, onMounted as Tt, watch as ie, nextTick as Nn, shallowRef as Ui, provide as ys, getCurrentInstance as zt, shallowReactive as v1, onBeforeMount as g1, useCssVars as y1, isRef as w1, unref as b1 } from "./vue.118f2c.js";
29
+ import { VcsEvent as Ae, MapCollection as Wi, Viewpoint as He, Collection as ws, Extent as bs, mercatorProjection as Pe, LayerState as A1, startCreateFeatureSession as M1, GeometryType as Ze, VectorLayer as Kt, maxZIndex as Yi, markVolatile as Qi, startEditFeaturesSession as x1, startEditGeometrySession as L1, ClassRegistry as Ji, FeatureLayer as I1, AbstractInteraction as vr, EventType as lt, ModificationKeyType as qi, OpenlayersMap as gr, VectorStyleItem as Dt, deserializeLayer as C1, EventHandler as E1, ObliqueMap as Ke, DataState as S1, emptyStyle as oo, Projection as fs, CesiumMap as Ft, IndexedCollection as Rt, getShapeFromOptions as T1, getStringColor as k1, getDefaultProjection as lo, wgs84Projection as Wr, moduleIdSymbol as Mt, getVcsAppById as N1, makeOverrideCollection as as, getObjectFromClassRegistry as Xl, DefaultObliqueCollection as $1, isOverrideCollection as D1, defaultDynamicModuleId as Ln, PointerKeyType as co, BaseOLMap as R1, VcsObject as j1, transformToImage as Kl, getDefaultVectorStyleItemOptions as ec, fromCesiumColor as O1, vcsLayerName as bi, isProvidedFeature as V1, TransformationMode as be, hasSameOrigin as F1, VcsApp as P1, OverrideClassRegistry as Yr, volatileModuleId as Qr, destroyCollection as js, VcsModule as Ai, createFlightVisualization as uo, anchorFromViewpoint as tc, anchorToViewpoint as nc, getSplineAndTimesForInstance as z1, FlightInstance as ho, getTextFromOptions as B1, getImageStyleFromOptions as G1, highlighted as sc, originalStyle as Xi, getStyleOptions as Z1, vectorStyleSymbol as H1, parseColor as fo, getImageStyleOptions as U1, getTextOptions as W1, SessionType as po, VectorProperties as Y1 } from "./core.753649.js";
30
+ import rc, { VSheet as ue, VList as pt, VListItem as mt, VListItemIcon as yr, VListItemTitle as kt, VChip as ic, VListItemContent as Nt, VTooltip as Q1, VTextField as Ki, VFileInput as J1, VBtn as Pn, VIcon as le, VMenu as Bt, VSpacer as q1, VListItemGroup as ac, VDivider as _t, VCard as cn, VCardTitle as X1, VToolbar as wr, VContainer as me, VRow as Re, VCol as Ye, VToolbarItems as br, VSlider as oc, VSelect as K1, VRadioGroup as lc, VRadio as cc, VListItemAction as e0, VExpansionPanel as uc, VExpansionPanelHeader as dc, VExpansionPanelContent as hc, VExpansionPanels as fc, VLayout as t0, VFlex as n0, VImg as s0, VListItemSubtitle as ea, VSnackbar as r0, VFooter as i0, VApp as a0, VTreeview as o0, VDataTable as l0, VListItemAvatar as pc, VAlert as c0, VCheckbox as u0, VTextarea as d0, VStepper as h0, VStepperStep as f0, VStepperContent as p0, VDatePicker as m0, VColorPicker as mc, VTabs as _0, VTab as v0, VForm as g0 } from "./vuetify.50800a.js";
31
+ import { Feature as As, ol$proj$transformExtent as _c, ol$Observable$unByKey as $n, ol$geom$Polygon$fromExtent as y0, ol$geom$Polygon as w0, ol$extent$createOrUpdateFromCoordinates as b0, ol$style$Icon as ta, ol$geom$Point as vc, ol$Feature as A0, ol$source$Vector as Jr, ol$math$clamp as M0, ol$extent$getCenter as x0, ol$render$toContext as L0, ol$style$Stroke as gc, ol$style$Fill as yc, ol$style$RegularShape as I0, ol$style$Circle as C0, ol$style$Style as E0 } from "./ol.441b59.js";
32
+ import { Color as wc, Math as Cn, Cartographic as ps, Cartesian2 as bc, SceneTransforms as S0, Entity as Ac, Cesium3DTileFeature as T0, Cesium3DTilePointFeature as k0, Cartesian3 as qr } from "./cesium.6a1548.js";
33
33
  Fn.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 Wf = {
1570
1570
  compareIdentifiers: Fo.compareIdentifiers,
1571
1571
  rcompareIdentifiers: Fo.rcompareIdentifiers
1572
1572
  };
1573
- const Js = "5.1.1";
1573
+ const Js = "5.1.2";
1574
1574
  function Jt() {
1575
1575
  return De("plugin-helpers");
1576
1576
  }
@@ -14089,7 +14089,7 @@ const UM = {
14089
14089
  ie(
14090
14090
  () => s.items,
14091
14091
  () => {
14092
- p.value = 1;
14092
+ s.serverPagesLength === -1 && s.serverItemsLength === -1 && (p.value = 1);
14093
14093
  }
14094
14094
  );
14095
14095
  const E = () => {
@@ -14190,7 +14190,7 @@ var WM = function() {
14190
14190
  YM,
14191
14191
  !1,
14192
14192
  null,
14193
- "0d24e462",
14193
+ "20023a61",
14194
14194
  null,
14195
14195
  null
14196
14196
  );
package/dist/assets/ui.js CHANGED
@@ -1 +1 @@
1
- export * from "./ui.186a84.js";
1
+ export * from "./ui.a843ac.js";
@@ -1,5 +1,5 @@
1
- export * from "./vue.3f80ec.js";
2
- import { default as f } from "./vue.3f80ec.js";
1
+ export * from "./vue.118f2c.js";
2
+ import { default as f } from "./vue.118f2c.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.10881a.css');import v from "./vue.3f80ec.js";
16
+ } await loadCss('./assets/vuetify.50800a.css');import v from "./vue.118f2c.js";
17
17
  const Ne = v.extend().extend({
18
18
  name: "themeable",
19
19
  provide() {
@@ -1,5 +1,5 @@
1
- export * from "./vuetify.10881a.js";
2
- import { default as f } from "./vuetify.10881a.js";
1
+ export * from "./vuetify.50800a.js";
2
+ import { default as f } from "./vuetify.50800a.js";
3
3
  export {
4
4
  f as default
5
5
  };
package/dist/index.html CHANGED
@@ -91,7 +91,7 @@
91
91
  }
92
92
  }
93
93
  </style>
94
- <script type="module" crossorigin src="./assets/index-c87f843d.js"></script>
94
+ <script type="module" crossorigin src="./assets/index-cc59d4fd.js"></script>
95
95
  </head>
96
96
  <body style="height: 100vh; margin: 0;">
97
97
  <noscript>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vcmap/ui",
3
- "version": "5.1.1",
3
+ "version": "5.1.2",
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.0",
56
+ "@vcmap/core": "^5.1.1",
57
57
  "ol": "^7.5.2",
58
58
  "vue": "~2.7.3",
59
59
  "vuetify": "~2.6.7"
@@ -359,10 +359,16 @@
359
359
  const last = page.value * itemsPerPageRef.value;
360
360
  return last < numberOfItems.value ? last : numberOfItems.value;
361
361
  });
362
+
362
363
  watch(
363
364
  () => props.items,
364
365
  () => {
365
- page.value = 1;
366
+ if (
367
+ props.serverPagesLength === -1 &&
368
+ props.serverItemsLength === -1
369
+ ) {
370
+ page.value = 1;
371
+ }
366
372
  },
367
373
  );
368
374
 
@@ -1 +0,0 @@
1
- import{initAppFromAppConfig as p}from"./ui.186a84.js";p("#app","app.config.json");
File without changes
File without changes