@vcmap/ui 5.1.0-rc.3 → 5.1.0-rc.4
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.
- package/config/www.config.json +7 -0
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.ee9f31.js → core.2274d8.js} +2 -2
- package/dist/assets/core.js +1 -1
- package/dist/assets/index-564248ae.js +1 -0
- package/dist/assets/ol.js +1 -1
- package/dist/assets/{ui.7d2c2e.js → ui.21bb56.js} +45 -28
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +2 -2
- package/dist/assets/{vuetify.d22222.js → vuetify.145dc5.js} +1 -1
- package/dist/assets/vuetify.js +2 -2
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/plugins/package.json +3 -1
- package/src/components/import/ImportComponent.vue +13 -2
- package/src/components/import/ImportComponent.vue.d.ts +1 -1
- package/src/contentTree/contentTreeCollection.js +6 -1
- package/src/manager/collectionManager/collectionComponentClass.js +9 -1
- package/src/vcsUiApp.d.ts +2 -1
- package/src/vcsUiApp.js +9 -2
- package/dist/assets/index-94e13552.js +0 -1
- /package/dist/assets/{cesium.271bcd.js → cesium.1bcede.js} +0 -0
- /package/dist/assets/{ol.d99267.js → ol.d39205.js} +0 -0
- /package/dist/assets/{ui.7d2c2e.css → ui.21bb56.css} +0 -0
- /package/dist/assets/{vue.e8ee6a.js → vue.403631.js} +0 -0
- /package/dist/assets/{vuetify.d22222.css → vuetify.145dc5.css} +0 -0
package/config/www.config.json
CHANGED
@@ -1874,6 +1874,13 @@
|
|
1874
1874
|
{
|
1875
1875
|
"name": "@vcmap/flight",
|
1876
1876
|
"entry": "plugins/@vcmap/flight/index.js"
|
1877
|
+
},
|
1878
|
+
{
|
1879
|
+
"name": "@vcmap/planning",
|
1880
|
+
"entry": "plugins/@vcmap/planning/index.js",
|
1881
|
+
"serviceUrl": "https://demo.virtualcityplanner.de/",
|
1882
|
+
"projectId": "rBW58EJz5RwCz75Q3",
|
1883
|
+
"mapId": "csunCGqmQE8Py4KCe"
|
1877
1884
|
}
|
1878
1885
|
]
|
1879
1886
|
}
|
package/dist/assets/cesium.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./cesium.
|
1
|
+
export * from "./cesium.1bcede.js";
|
@@ -1,8 +1,8 @@
|
|
1
1
|
var Iu = Object.defineProperty;
|
2
2
|
var Lu = (i, t, e) => t in i ? Iu(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
3
3
|
var h = (i, t, e) => (Lu(i, typeof t != "symbol" ? t + "" : t, e), e);
|
4
|
-
import { ol$proj$getTransform as Ae, ol$proj$get as Tu, ol$proj$equivalent as Nu, ol$proj$proj4$register as Vo, ol$geom$Circle as Ot, ol$geom$GeometryCollection as Ir, ol$style$Style as Q, ol$style$Fill as ht, ol$style$Stroke as He, ol$style$Text as ao, ol$style$Icon as Si, ol$style$Circle as wi, ol$style$RegularShape as Lr, ol$has$DEVICE_PIXEL_RATIO as Du, ol$style$Image as _h, ol$Feature as se, ol$extent$containsCoordinate as Da, ol$Map as Au, ol$interaction$defaults as Fu, ol$Observable$unByKey as ne, ol$View as oo, ol$easing$inAndOut as Ru, ol$extent$containsXY as vh, ol$extent$boundingExtent as Qs, ol$layer$Vector as Sh, ol$extent$getBottomLeft as lo, ol$geom$SimpleGeometry as Gu, ol$geom$Point as Nt, ol$geom$LineString as $t, ol$geom$Polygon as Dt, ol$geom$MultiPoint as wh, ol$geom$MultiLineString as Mh, ol$geom$MultiPolygon as er, ol$sphere$offset as an, ol$geom$Polygon$fromCircle as Ch, ol$geom$Polygon$circular as ku, Feature as Bt, ol$ImageState as qr, ol$extent$getBottomRight as xh, ol$extent$getTopRight as Oh, ol$extent$getTopLeft as Wn, ol$proj$transform as Ri, ol$source$Vector as tr, ol$tilegrid$createXYZ as bh, ol$TileState as Eh, ol$proj$Projection as zu, ol$tilegrid$TileGrid as Ph, ol$source$TileImage as Hu, ol$layer$Tile as Ms, ol$extent$buffer as Ih, ol$extent$getCenter as ir, ol$geom$Polygon$fromExtent as ju, ol$proj$transformExtent as $o, ol$sphere$getDistance as Vu, ol$format$GeoJSON as Lh, ol$extent$getWidth as Aa, ol$source$TileWMS as $u, ol$source$ImageWMS as Bu, ol$format$GML2 as Fa, ol$format$WFS as Ra, ol$format$GML3 as Ga, ol$extent$createEmpty as ps, ol$structs$LRUCache as Uu, ol$extent$createOrUpdateFromCoordinate as qu, ol$render$canvas$Immediate as Wu, ol$geom$flat$transform$transform2D as Xu, ol$extent$intersects as Yu, ol$geom$SimpleGeometry$transformGeom2D as Zu, ol$transform$scale as Ju, ol$transform$create as Ku, ol$transform$compose as Qu, ol$extent$extend as sr, ol$source$OSM as ed, ol$layer$Image as Th, ol$source$ImageStatic as td, ol$source$TileDebug as id, ol$source$XYZ as sd, ol$source$VectorTile as rd, ol$layer$VectorTile as nd, ol$tilegrid$WMTS as ad, ol$source$WMTS as od, ol$format$MVT as ld, ol$coordinate$equals as hd, ol$interaction$DragPan as cd, ol$extent$isEmpty as ka, ol$geom$LinearRing as ud } from "./ol.
|
5
|
-
import { Math as L, Cartesian3 as v, Cartographic as te, Cesium3DTileStyle as yn, Cesium3DTileColorBlendMode as on, Color as U, TrustedServers as Wt, VerticalOrigin as gt, Cesium3DTileFeature as Ui, Cesium3DTilePointFeature as qi, Entity as Wi, Material as At, Cartesian2 as k, Matrix3 as W, Quaternion as _n, Primitive as pt, GeometryInstance as ct, FrustumGeometry as dd, ColorGeometryInstanceAttribute as rr, PerInstanceColorAppearance as ys, FrustumOutlineGeometry as fd, destroyObject as gd, EasingFunction as md, ConditionsExpression as pd, Expression as yd, HeightReference as Ie, ClassificationType as ds, NearFarScalar as Ws, SplitDirection as we, SceneTransforms as _d, MaterialAppearance as vn, ShadowMode as Tr, ClassificationPrimitive as Nh, GroundPrimitive as Bo, PolylineMaterialAppearance as za, GroundPolylinePrimitive as Uo, PolygonGeometry as vd, PolygonOutlineGeometry as Sd, GroundPolylineGeometry as ho, PolylineGeometry as Gi, PolygonHierarchy as Ha, CircleGeometry as wd, CircleOutlineGeometry as Md, HeadingPitchRoll as Mi, Matrix4 as F, Transforms as Ci, Model as co, sampleTerrainMostDetailed as Xn, ModelAnimationLoop as Cd, CylinderOutlineGeometry as xd, CylinderGeometry as Dh, EllipsoidOutlineGeometry as Od, EllipsoidGeometry as Ah, SphereOutlineGeometry as bd, SphereGeometry as Ed, BoxOutlineGeometry as Pd, BoxGeometry as Fh, WallGeometry as Id, WallOutlineGeometry as Ld, LabelStyle as la, HorizontalOrigin as ha, CatmullRomSpline as Rh, ArcType as Sn, PrimitiveCollection as xi, BillboardCollection as Td, LabelCollection as Nd, Resource as Dd, CesiumTerrainProvider as qo, Cartesian4 as Wo, sampleTerrain as Ad, Ellipsoid as ja, Clock as Fd, DataSourceClock as Rd, JulianDate as Gh, KeyboardEventModifier as ca, ScreenSpaceEventType as fi, CesiumWidget as Gd, DataSourceDisplay as Xo, DataSourceCollection as Yo, RequestScheduler as kd, ScreenSpaceEventHandler as zd, Ray as kh, Camera as zh, ImageryLayer as Xi, CustomDataSource as Hh, BoundingSphere as jh, Intersect as Hd, BillboardVisualizer as jd, LabelVisualizer as Vd, PointVisualizer as $d, WebMercatorTilingScheme as uo, GeographicTilingScheme as Vh, Rectangle as yt, Cesium3DTileset as wn, Composite3DTileContent as Bd, HeadingPitchRange as Ud, BoundingSphereState as Zo, OpenStreetMapImageryProvider as qd, SingleTileImageryProvider as Wd, TileMapServiceImageryProvider as Xd, Event as Jo, WebMapServiceImageryProvider as Yd, WebMapTileServiceImageryProvider as Zd, EntityCollection as Jd, CzmlDataSource as Kd, Plane as ee, ClippingPlaneCollection as nr, ClippingPlane as ar, ConstantProperty as Qd, Globe as ef, LinearSpline as tf, QuaternionSpline as sf, CoplanarPolygonGeometry as rf, IntersectionTests as nf } from "./cesium.
|
4
|
+
import { ol$proj$getTransform as Ae, ol$proj$get as Tu, ol$proj$equivalent as Nu, ol$proj$proj4$register as Vo, ol$geom$Circle as Ot, ol$geom$GeometryCollection as Ir, ol$style$Style as Q, ol$style$Fill as ht, ol$style$Stroke as He, ol$style$Text as ao, ol$style$Icon as Si, ol$style$Circle as wi, ol$style$RegularShape as Lr, ol$has$DEVICE_PIXEL_RATIO as Du, ol$style$Image as _h, ol$Feature as se, ol$extent$containsCoordinate as Da, ol$Map as Au, ol$interaction$defaults as Fu, ol$Observable$unByKey as ne, ol$View as oo, ol$easing$inAndOut as Ru, ol$extent$containsXY as vh, ol$extent$boundingExtent as Qs, ol$layer$Vector as Sh, ol$extent$getBottomLeft as lo, ol$geom$SimpleGeometry as Gu, ol$geom$Point as Nt, ol$geom$LineString as $t, ol$geom$Polygon as Dt, ol$geom$MultiPoint as wh, ol$geom$MultiLineString as Mh, ol$geom$MultiPolygon as er, ol$sphere$offset as an, ol$geom$Polygon$fromCircle as Ch, ol$geom$Polygon$circular as ku, Feature as Bt, ol$ImageState as qr, ol$extent$getBottomRight as xh, ol$extent$getTopRight as Oh, ol$extent$getTopLeft as Wn, ol$proj$transform as Ri, ol$source$Vector as tr, ol$tilegrid$createXYZ as bh, ol$TileState as Eh, ol$proj$Projection as zu, ol$tilegrid$TileGrid as Ph, ol$source$TileImage as Hu, ol$layer$Tile as Ms, ol$extent$buffer as Ih, ol$extent$getCenter as ir, ol$geom$Polygon$fromExtent as ju, ol$proj$transformExtent as $o, ol$sphere$getDistance as Vu, ol$format$GeoJSON as Lh, ol$extent$getWidth as Aa, ol$source$TileWMS as $u, ol$source$ImageWMS as Bu, ol$format$GML2 as Fa, ol$format$WFS as Ra, ol$format$GML3 as Ga, ol$extent$createEmpty as ps, ol$structs$LRUCache as Uu, ol$extent$createOrUpdateFromCoordinate as qu, ol$render$canvas$Immediate as Wu, ol$geom$flat$transform$transform2D as Xu, ol$extent$intersects as Yu, ol$geom$SimpleGeometry$transformGeom2D as Zu, ol$transform$scale as Ju, ol$transform$create as Ku, ol$transform$compose as Qu, ol$extent$extend as sr, ol$source$OSM as ed, ol$layer$Image as Th, ol$source$ImageStatic as td, ol$source$TileDebug as id, ol$source$XYZ as sd, ol$source$VectorTile as rd, ol$layer$VectorTile as nd, ol$tilegrid$WMTS as ad, ol$source$WMTS as od, ol$format$MVT as ld, ol$coordinate$equals as hd, ol$interaction$DragPan as cd, ol$extent$isEmpty as ka, ol$geom$LinearRing as ud } from "./ol.d39205.js";
|
5
|
+
import { Math as L, Cartesian3 as v, Cartographic as te, Cesium3DTileStyle as yn, Cesium3DTileColorBlendMode as on, Color as U, TrustedServers as Wt, VerticalOrigin as gt, Cesium3DTileFeature as Ui, Cesium3DTilePointFeature as qi, Entity as Wi, Material as At, Cartesian2 as k, Matrix3 as W, Quaternion as _n, Primitive as pt, GeometryInstance as ct, FrustumGeometry as dd, ColorGeometryInstanceAttribute as rr, PerInstanceColorAppearance as ys, FrustumOutlineGeometry as fd, destroyObject as gd, EasingFunction as md, ConditionsExpression as pd, Expression as yd, HeightReference as Ie, ClassificationType as ds, NearFarScalar as Ws, SplitDirection as we, SceneTransforms as _d, MaterialAppearance as vn, ShadowMode as Tr, ClassificationPrimitive as Nh, GroundPrimitive as Bo, PolylineMaterialAppearance as za, GroundPolylinePrimitive as Uo, PolygonGeometry as vd, PolygonOutlineGeometry as Sd, GroundPolylineGeometry as ho, PolylineGeometry as Gi, PolygonHierarchy as Ha, CircleGeometry as wd, CircleOutlineGeometry as Md, HeadingPitchRoll as Mi, Matrix4 as F, Transforms as Ci, Model as co, sampleTerrainMostDetailed as Xn, ModelAnimationLoop as Cd, CylinderOutlineGeometry as xd, CylinderGeometry as Dh, EllipsoidOutlineGeometry as Od, EllipsoidGeometry as Ah, SphereOutlineGeometry as bd, SphereGeometry as Ed, BoxOutlineGeometry as Pd, BoxGeometry as Fh, WallGeometry as Id, WallOutlineGeometry as Ld, LabelStyle as la, HorizontalOrigin as ha, CatmullRomSpline as Rh, ArcType as Sn, PrimitiveCollection as xi, BillboardCollection as Td, LabelCollection as Nd, Resource as Dd, CesiumTerrainProvider as qo, Cartesian4 as Wo, sampleTerrain as Ad, Ellipsoid as ja, Clock as Fd, DataSourceClock as Rd, JulianDate as Gh, KeyboardEventModifier as ca, ScreenSpaceEventType as fi, CesiumWidget as Gd, DataSourceDisplay as Xo, DataSourceCollection as Yo, RequestScheduler as kd, ScreenSpaceEventHandler as zd, Ray as kh, Camera as zh, ImageryLayer as Xi, CustomDataSource as Hh, BoundingSphere as jh, Intersect as Hd, BillboardVisualizer as jd, LabelVisualizer as Vd, PointVisualizer as $d, WebMercatorTilingScheme as uo, GeographicTilingScheme as Vh, Rectangle as yt, Cesium3DTileset as wn, Composite3DTileContent as Bd, HeadingPitchRange as Ud, BoundingSphereState as Zo, OpenStreetMapImageryProvider as qd, SingleTileImageryProvider as Wd, TileMapServiceImageryProvider as Xd, Event as Jo, WebMapServiceImageryProvider as Yd, WebMapTileServiceImageryProvider as Zd, EntityCollection as Jd, CzmlDataSource as Kd, Plane as ee, ClippingPlaneCollection as nr, ClippingPlane as ar, ConstantProperty as Qd, Globe as ef, LinearSpline as tf, QuaternionSpline as sf, CoplanarPolygonGeometry as rf, IntersectionTests as nf } from "./cesium.1bcede.js";
|
6
6
|
const Yi = Symbol("isMatcher"), af = Symbol("Integer"), of = Symbol("NonEmptyString"), fo = /* @__PURE__ */ new Map();
|
7
7
|
[
|
8
8
|
[String, "string"],
|
package/dist/assets/core.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./core.
|
1
|
+
export * from "./core.2274d8.js";
|
@@ -0,0 +1 @@
|
|
1
|
+
import{initAppFromAppConfig as p}from"./ui.21bb56.js";p("#app","app.config.json");
|
package/dist/assets/ol.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./ol.
|
1
|
+
export * from "./ol.d39205.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.
|
16
|
+
} await loadCss('./assets/ui.21bb56.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 Hr = (s, e, t) => {
|
|
25
25
|
e instanceof WeakSet ? e.add(s) : e.set(s, t);
|
26
26
|
};
|
27
27
|
var Ds = (s, e, t) => (_1(s, e, "access private method"), t);
|
28
|
-
import Vn, { inject as q, ref as w, onUnmounted as fe, computed as y, reactive as ce, onMounted as Tt, watch as ie, nextTick as kn, shallowRef as Ui, provide as gs, getCurrentInstance as zt, shallowReactive as v1, onBeforeMount as g1, useCssVars as y1, isRef as w1, unref as b1 } from "./vue.
|
29
|
-
import { VcsEvent as Ae, MapCollection as Wi, Viewpoint as He, Collection as ys, Extent as ws, 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 _r, EventType as lt, ModificationKeyType as qi, OpenlayersMap as vr, VectorStyleItem as Dt, deserializeLayer as C1, EventHandler as E1, ObliqueMap as Ke, DataState as S1, emptyStyle as oo, Projection as hs, CesiumMap as Ft, IndexedCollection as Rt, getShapeFromOptions as T1, getStringColor as k1, getDefaultProjection as lo, wgs84Projection as Ur, moduleIdSymbol as Mt, getVcsAppById as N1, makeOverrideCollection as is, getObjectFromClassRegistry as Xl, DefaultObliqueCollection as $1, isOverrideCollection as D1, PointerKeyType as co, BaseOLMap as R1, VcsObject as j1, transformToImage as Kl, getDefaultVectorStyleItemOptions as ec, fromCesiumColor as O1, vcsLayerName as wi, isProvidedFeature as V1, TransformationMode as be, hasSameOrigin as F1, VcsApp as P1, OverrideClassRegistry as Wr, defaultDynamicModuleId as Rs, volatileModuleId as Yr, destroyCollection as js, VcsModule as bi, 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.
|
30
|
-
import rc, { VSheet as ue, VList as pt, VListItem as mt, VListItemIcon as gr, VListItemTitle as kt, VChip as ic, VListItemContent as Nt, VTooltip as Q1, VTextField as Ki, VFileInput as J1, VBtn as Fn, VIcon as le, VMenu as Bt, VSpacer as q1, VListItemGroup as ac, VDivider as _t, VCard as cn, VCardTitle as X1, VToolbar as yr, VContainer as me, VRow as Re, VCol as Ye, VToolbarItems as wr, 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.
|
31
|
-
import { Feature as bs, ol$proj$transformExtent as _c, ol$Observable$unByKey as Nn, 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 Qr, 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.
|
32
|
-
import { Color as wc, Math as In, Cartographic as fs, Cartesian2 as bc, SceneTransforms as S0, Entity as Ac, Cesium3DTileFeature as T0, Cesium3DTilePointFeature as k0, Cartesian3 as Jr } from "./cesium.
|
28
|
+
import Vn, { inject as q, ref as w, onUnmounted as fe, computed as y, reactive as ce, onMounted as Tt, watch as ie, nextTick as kn, shallowRef as Ui, provide as gs, getCurrentInstance as zt, shallowReactive as v1, onBeforeMount as g1, useCssVars as y1, isRef as w1, unref as b1 } from "./vue.403631.js";
|
29
|
+
import { VcsEvent as Ae, MapCollection as Wi, Viewpoint as He, Collection as ys, Extent as ws, 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 _r, EventType as lt, ModificationKeyType as qi, OpenlayersMap as vr, VectorStyleItem as Dt, deserializeLayer as C1, EventHandler as E1, ObliqueMap as Ke, DataState as S1, emptyStyle as oo, Projection as hs, CesiumMap as Ft, IndexedCollection as Rt, getShapeFromOptions as T1, getStringColor as k1, getDefaultProjection as lo, wgs84Projection as Ur, moduleIdSymbol as Mt, getVcsAppById as N1, makeOverrideCollection as is, getObjectFromClassRegistry as Xl, DefaultObliqueCollection as $1, isOverrideCollection as D1, PointerKeyType as co, BaseOLMap as R1, VcsObject as j1, transformToImage as Kl, getDefaultVectorStyleItemOptions as ec, fromCesiumColor as O1, vcsLayerName as wi, isProvidedFeature as V1, TransformationMode as be, hasSameOrigin as F1, VcsApp as P1, OverrideClassRegistry as Wr, defaultDynamicModuleId as Rs, volatileModuleId as Yr, destroyCollection as js, VcsModule as bi, 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.2274d8.js";
|
30
|
+
import rc, { VSheet as ue, VList as pt, VListItem as mt, VListItemIcon as gr, VListItemTitle as kt, VChip as ic, VListItemContent as Nt, VTooltip as Q1, VTextField as Ki, VFileInput as J1, VBtn as Fn, VIcon as le, VMenu as Bt, VSpacer as q1, VListItemGroup as ac, VDivider as _t, VCard as cn, VCardTitle as X1, VToolbar as yr, VContainer as me, VRow as Re, VCol as Ye, VToolbarItems as wr, 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.145dc5.js";
|
31
|
+
import { Feature as bs, ol$proj$transformExtent as _c, ol$Observable$unByKey as Nn, 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 Qr, 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.d39205.js";
|
32
|
+
import { Color as wc, Math as In, Cartographic as fs, Cartesian2 as bc, SceneTransforms as S0, Entity as Ac, Cesium3DTileFeature as T0, Cesium3DTilePointFeature as k0, Cartesian3 as Jr } from "./cesium.1bcede.js";
|
33
33
|
Vn.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 Ei = "5.1.0-rc.
|
1573
|
+
const Ei = "5.1.0-rc.4";
|
1574
1574
|
function Jt() {
|
1575
1575
|
return De("plugin-helpers");
|
1576
1576
|
}
|
@@ -5431,16 +5431,23 @@ const ym = {
|
|
5431
5431
|
}
|
5432
5432
|
},
|
5433
5433
|
setup(s, { emit: e }) {
|
5434
|
-
const t = q("vcsApp"), n = w([])
|
5434
|
+
const t = q("vcsApp"), n = w([]), r = y({
|
5435
|
+
get() {
|
5436
|
+
return n.value;
|
5437
|
+
},
|
5438
|
+
set(i) {
|
5439
|
+
n.value = Array.isArray(i) ? i : [i];
|
5440
|
+
}
|
5441
|
+
});
|
5435
5442
|
return {
|
5436
|
-
files:
|
5443
|
+
files: r,
|
5437
5444
|
async doImport() {
|
5438
5445
|
try {
|
5439
|
-
await s.importFiles(
|
5440
|
-
} catch (
|
5446
|
+
await s.importFiles(r.value) && e("close");
|
5447
|
+
} catch (i) {
|
5441
5448
|
t.notifier.add({
|
5442
5449
|
type: At.ERROR,
|
5443
|
-
message: String(
|
5450
|
+
message: String(i.message)
|
5444
5451
|
});
|
5445
5452
|
}
|
5446
5453
|
}
|
@@ -5462,7 +5469,7 @@ var wm = function() {
|
|
5462
5469
|
bm,
|
5463
5470
|
!1,
|
5464
5471
|
null,
|
5465
|
-
"
|
5472
|
+
"c46e9afd",
|
5466
5473
|
null,
|
5467
5474
|
null
|
5468
5475
|
);
|
@@ -12310,7 +12317,12 @@ class NM extends Rt {
|
|
12310
12317
|
}),
|
12311
12318
|
this.moved.addEventListener(() => t(!0))
|
12312
12319
|
], this._defaultSubtreeItem = new Oi(
|
12313
|
-
{
|
12320
|
+
{
|
12321
|
+
name: "Content",
|
12322
|
+
icon: "$vcsLayers",
|
12323
|
+
title: "content.title",
|
12324
|
+
tooltip: "content.title"
|
12325
|
+
},
|
12314
12326
|
e
|
12315
12327
|
), this._subTreeViewItems = w(/* @__PURE__ */ new Map()), this._subTreeListeners = /* @__PURE__ */ new Map(), this._suspendListeners = !1;
|
12316
12328
|
}
|
@@ -13276,17 +13288,19 @@ class Na {
|
|
13276
13288
|
* @private
|
13277
13289
|
*/
|
13278
13290
|
_handleItemReplaced(e) {
|
13279
|
-
var
|
13280
|
-
const t = (
|
13281
|
-
(
|
13291
|
+
var i;
|
13292
|
+
const t = (i = this.getListItemForItem(e.old)) == null ? void 0 : i.hasUpdate, n = this._listItems.value.findIndex(
|
13293
|
+
(a) => a.name === e.old[this.collection.uniqueKey]
|
13294
|
+
), r = this.selection.value.findIndex(
|
13295
|
+
(a) => a.name === e.old[this.collection.uniqueKey]
|
13282
13296
|
);
|
13283
|
-
if (this._handleItemRemoved(e.old),
|
13284
|
-
const
|
13285
|
-
if (
|
13286
|
-
const
|
13287
|
-
(
|
13288
|
-
);
|
13289
|
-
|
13297
|
+
if (this._handleItemRemoved(e.old), r > -1 || t !== void 0) {
|
13298
|
+
const a = this._collection.added.addEventListener((o) => {
|
13299
|
+
if (o === e.new) {
|
13300
|
+
const l = this.items.value.findIndex(
|
13301
|
+
(u) => u.name === o[this.collection.uniqueKey]
|
13302
|
+
), c = this._listItems.value[l];
|
13303
|
+
c && (t !== void 0 && (c.hasUpdate = t), l !== n && (this._listItems.value.splice(l, 1), this._listItems.value.splice(n, 0, c)), r > -1 && this.selection.value.splice(r, 0, c)), a();
|
13290
13304
|
}
|
13291
13305
|
});
|
13292
13306
|
}
|
@@ -17441,13 +17455,16 @@ class ja extends P1 {
|
|
17441
17455
|
* This function can be used for the WindowState infoUrlCallback property.
|
17442
17456
|
* @param {string} [path] - the path to a help section
|
17443
17457
|
* @param {string} [subpage='vc-map'] - path to a subpage. Default is 'vc-map'.
|
17458
|
+
* @param {string=} [subpageVersion=undefined] - default version is the mapVersion, can be provided to use a plugin specific version
|
17444
17459
|
* @returns {function():string}
|
17445
17460
|
*/
|
17446
|
-
getHelpUrlCallback(e = "", t = "vc-map") {
|
17447
|
-
const
|
17461
|
+
getHelpUrlCallback(e = "", t = "vc-map", n = void 0) {
|
17462
|
+
const r = /\d+\.\d+/.exec(
|
17463
|
+
n || ja.getVersion()
|
17464
|
+
)[0];
|
17448
17465
|
return () => {
|
17449
|
-
const
|
17450
|
-
return
|
17466
|
+
const i = this.uiConfig.config.value.helpBaseUrl || "https://help.vc.systems/", a = `${this.locale}/${t}/v${r}/${e.replace(/^\//, "")}`, { href: o } = new URL(a, i);
|
17467
|
+
return o;
|
17451
17468
|
};
|
17452
17469
|
}
|
17453
17470
|
/**
|
package/dist/assets/ui.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./ui.
|
1
|
+
export * from "./ui.21bb56.js";
|
package/dist/assets/vue.js
CHANGED
@@ -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.
|
16
|
+
} await loadCss('./assets/vuetify.145dc5.css');import v from "./vue.403631.js";
|
17
17
|
const Ne = v.extend().extend({
|
18
18
|
name: "themeable",
|
19
19
|
provide() {
|
package/dist/assets/vuetify.js
CHANGED
package/dist/index.html
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vcmap/ui",
|
3
|
-
"version": "5.1.0-rc.
|
3
|
+
"version": "5.1.0-rc.4",
|
4
4
|
"author": "Virtual City Systems",
|
5
5
|
"license": "MIT",
|
6
6
|
"scripts": {
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"lint": "npm run lint:js && npm run lint:prettier && npm run lint:types",
|
20
20
|
"format": "prettier --write --list-different . && npm run lint:js -- --fix",
|
21
21
|
"prepack": "node build/build.js && node build/buildTypes.js",
|
22
|
-
"install-plugins": "cd plugins && npm i --omit peer --no-package-lock --force
|
22
|
+
"install-plugins": "cd plugins && npm i --omit peer --no-package-lock --force"
|
23
23
|
},
|
24
24
|
"repository": {
|
25
25
|
"type": "git",
|
package/plugins/package.json
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
|
24
24
|
<script>
|
25
25
|
import { VCard } from 'vuetify/lib';
|
26
|
-
import { inject, ref } from 'vue';
|
26
|
+
import { computed, inject, ref } from 'vue';
|
27
27
|
import FileDrop from './FileDrop.vue';
|
28
28
|
import VcsFormButton from '../buttons/VcsFormButton.vue';
|
29
29
|
import VcsTextField from '../form-inputs-controls/VcsTextField.vue';
|
@@ -53,7 +53,18 @@
|
|
53
53
|
},
|
54
54
|
setup(props, { emit }) {
|
55
55
|
const app = inject('vcsApp');
|
56
|
-
const
|
56
|
+
const localFiles = ref([]);
|
57
|
+
/**
|
58
|
+
* @type {WritableComputedRef<Array<File>>}
|
59
|
+
*/
|
60
|
+
const files = computed({
|
61
|
+
get() {
|
62
|
+
return localFiles.value;
|
63
|
+
},
|
64
|
+
set(value) {
|
65
|
+
localFiles.value = Array.isArray(value) ? value : [value];
|
66
|
+
},
|
67
|
+
});
|
57
68
|
|
58
69
|
return {
|
59
70
|
files,
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
12
12
|
default: boolean;
|
13
13
|
};
|
14
14
|
}, {
|
15
|
-
files:
|
15
|
+
files: WritableComputedRef<File[]>;
|
16
16
|
doImport(): Promise<void>;
|
17
17
|
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
18
18
|
importFiles: {
|
@@ -85,7 +85,12 @@ class ContentTreeCollection extends IndexedCollection {
|
|
85
85
|
* @private
|
86
86
|
*/
|
87
87
|
this._defaultSubtreeItem = new SubContentTreeItem(
|
88
|
-
{
|
88
|
+
{
|
89
|
+
name: 'Content',
|
90
|
+
icon: '$vcsLayers',
|
91
|
+
title: 'content.title',
|
92
|
+
tooltip: 'content.title',
|
93
|
+
},
|
89
94
|
app,
|
90
95
|
);
|
91
96
|
/**
|
@@ -400,6 +400,9 @@ class CollectionComponentClass {
|
|
400
400
|
*/
|
401
401
|
_handleItemReplaced(replaced) {
|
402
402
|
const listItemHasUpdate = this.getListItemForItem(replaced.old)?.hasUpdate;
|
403
|
+
const idx = this._listItems.value.findIndex(
|
404
|
+
(l) => l.name === replaced.old[this.collection.uniqueKey],
|
405
|
+
);
|
403
406
|
const selectedIdx = this.selection.value.findIndex(
|
404
407
|
(l) => l.name === replaced.old[this.collection.uniqueKey],
|
405
408
|
);
|
@@ -407,13 +410,18 @@ class CollectionComponentClass {
|
|
407
410
|
if (selectedIdx > -1 || listItemHasUpdate !== undefined) {
|
408
411
|
const addedListener = this._collection.added.addEventListener((added) => {
|
409
412
|
if (added === replaced.new) {
|
410
|
-
const
|
413
|
+
const newIdx = this.items.value.findIndex(
|
411
414
|
(l) => l.name === added[this.collection.uniqueKey],
|
412
415
|
);
|
416
|
+
const newListItem = this._listItems.value[newIdx];
|
413
417
|
if (newListItem) {
|
414
418
|
if (listItemHasUpdate !== undefined) {
|
415
419
|
newListItem.hasUpdate = listItemHasUpdate;
|
416
420
|
}
|
421
|
+
if (newIdx !== idx) {
|
422
|
+
this._listItems.value.splice(newIdx, 1);
|
423
|
+
this._listItems.value.splice(idx, 0, newListItem);
|
424
|
+
}
|
417
425
|
if (selectedIdx > -1) {
|
418
426
|
this.selection.value.splice(selectedIdx, 0, newListItem);
|
419
427
|
}
|
package/src/vcsUiApp.d.ts
CHANGED
@@ -263,9 +263,10 @@ declare class VcsUiApp extends VcsApp {
|
|
263
263
|
* This function can be used for the WindowState infoUrlCallback property.
|
264
264
|
* @param {string} [path] - the path to a help section
|
265
265
|
* @param {string} [subpage='vc-map'] - path to a subpage. Default is 'vc-map'.
|
266
|
+
* @param {string=} [subpageVersion=undefined] - default version is the mapVersion, can be provided to use a plugin specific version
|
266
267
|
* @returns {function():string}
|
267
268
|
*/
|
268
|
-
getHelpUrlCallback(path?: string | undefined, subpage?: string | undefined): () => string;
|
269
|
+
getHelpUrlCallback(path?: string | undefined, subpage?: string | undefined, subpageVersion?: string | undefined): () => string;
|
269
270
|
/**
|
270
271
|
* Get the state of the application. When passed the forUrl flag, only a minimal set of states shall be provided for a sharable link to the current state (to ensure
|
271
272
|
* the maximum URL length is not exceeded). This includes: layer active state & styling, active map, active viewpoint,
|
package/src/vcsUiApp.js
CHANGED
@@ -458,10 +458,17 @@ class VcsUiApp extends VcsApp {
|
|
458
458
|
* This function can be used for the WindowState infoUrlCallback property.
|
459
459
|
* @param {string} [path] - the path to a help section
|
460
460
|
* @param {string} [subpage='vc-map'] - path to a subpage. Default is 'vc-map'.
|
461
|
+
* @param {string=} [subpageVersion=undefined] - default version is the mapVersion, can be provided to use a plugin specific version
|
461
462
|
* @returns {function():string}
|
462
463
|
*/
|
463
|
-
getHelpUrlCallback(
|
464
|
-
|
464
|
+
getHelpUrlCallback(
|
465
|
+
path = '',
|
466
|
+
subpage = 'vc-map',
|
467
|
+
subpageVersion = undefined,
|
468
|
+
) {
|
469
|
+
const mayorMinorVersion = /\d+\.\d+/.exec(
|
470
|
+
subpageVersion || VcsUiApp.getVersion(),
|
471
|
+
)[0];
|
465
472
|
return () => {
|
466
473
|
const base =
|
467
474
|
this.uiConfig.config.value.helpBaseUrl || 'https://help.vc.systems/';
|
@@ -1 +0,0 @@
|
|
1
|
-
import{initAppFromAppConfig as p}from"./ui.7d2c2e.js";p("#app","app.config.json");
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|