@vcmap/ui 5.0.0-rc.10
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/LICENSE.md +21 -0
- package/README.md +182 -0
- package/build/.eslintrc +6 -0
- package/build/build.js +162 -0
- package/build/buildCesium.js +19 -0
- package/build/buildHelpers.js +212 -0
- package/build/buildPreview.js +23 -0
- package/build/commonViteConfig.js +39 -0
- package/build/determineHost.js +46 -0
- package/build/generateOLLib.js +196 -0
- package/build/getPluginProxies.js +29 -0
- package/build/info/api-plugin.js +11 -0
- package/build/info/conf.json +21 -0
- package/build/info/define-plugin.js +31 -0
- package/build/info/package.json +3 -0
- package/build/info/publish.js +190 -0
- package/build/info/virtual-plugin.js +15 -0
- package/build/staging/Dockerfile +2 -0
- package/config/aerowest.config.json +388 -0
- package/config/base.config.json +991 -0
- package/config/berlin.config.json +510 -0
- package/config/dev.config.json +44 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_27.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1 -0
- package/dist/assets/cesium/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1 -0
- package/dist/assets/cesium/Assets/Images/bing_maps_credit.png +0 -0
- package/dist/assets/cesium/Assets/Images/cesium_credit.png +0 -0
- package/dist/assets/cesium/Assets/Images/google_earth_credit.png +0 -0
- package/dist/assets/cesium/Assets/Images/ion-credit.png +0 -0
- package/dist/assets/cesium/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
- package/dist/assets/cesium/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/airfield.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/airport.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/alcohol-shop.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/america-football.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/art-gallery.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/bakery.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/bank.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/bar.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/baseball.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/basketball.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/beer.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/bicycle.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/building.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/bus.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/cafe.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/camera.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/campsite.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/car.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/cemetery.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/cesium.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/chemist.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/cinema.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/circle-stroked.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/circle.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/city.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/clothing-store.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/college.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/commercial.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/cricket.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/cross.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/dam.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/danger.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/disability.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/dog-park.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/embassy.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/emergency-telephone.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/entrance.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/farm.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/fast-food.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/ferry.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/fire-station.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/fuel.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/garden.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/gift.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/golf.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/grocery.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/hairdresser.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/harbor.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/heart.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/heliport.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/hospital.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/ice-cream.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/industrial.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/land-use.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/laundry.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/library.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/lighthouse.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/lodging.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/logging.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/london-underground.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/marker-stroked.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/marker.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/minefield.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/mobilephone.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/monument.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/museum.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/music.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/oil-well.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/park.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/park2.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/parking-garage.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/parking.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/pharmacy.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/pitch.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/place-of-worship.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/playground.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/police.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/polling-place.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/post.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/prison.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/rail-above.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/rail-light.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/rail-metro.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/rail-underground.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/rail.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/religious-christian.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/religious-jewish.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/religious-muslim.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/restaurant.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/roadblock.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/rocket.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/school.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/scooter.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/shop.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/skiing.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/slaughterhouse.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/soccer.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/square-stroked.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/square.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/star-stroked.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/star.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/suitcase.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/swimming.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/telephone.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/tennis.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/theatre.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/toilets.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/town-hall.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/town.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/triangle-stroked.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/triangle.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/village.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/warehouse.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/waste-basket.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/water.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/wetland.png +0 -0
- package/dist/assets/cesium/Assets/Textures/maki/zoo.png +0 -0
- package/dist/assets/cesium/Assets/Textures/moonSmall.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/pin.svg +1 -0
- package/dist/assets/cesium/Assets/Textures/waterNormals.jpg +0 -0
- package/dist/assets/cesium/Assets/Textures/waterNormalsSmall.jpg +0 -0
- package/dist/assets/cesium/Assets/approximateTerrainHeights.json +1 -0
- package/dist/assets/cesium/Workers/ArcType-fc72c06c.js +1 -0
- package/dist/assets/cesium/Workers/AttributeCompression-80665726.js +1 -0
- package/dist/assets/cesium/Workers/AxisAlignedBoundingBox-a655a4bc.js +1 -0
- package/dist/assets/cesium/Workers/BoundingRectangle-c3b79029.js +1 -0
- package/dist/assets/cesium/Workers/BoxGeometry-f8f9c981.js +1 -0
- package/dist/assets/cesium/Workers/Color-de06a177.js +1 -0
- package/dist/assets/cesium/Workers/ComponentDatatype-a15c9a19.js +1 -0
- package/dist/assets/cesium/Workers/CoplanarPolygonGeometryLibrary-48cdc26d.js +1 -0
- package/dist/assets/cesium/Workers/CorridorGeometryLibrary-ddc027d3.js +1 -0
- package/dist/assets/cesium/Workers/CylinderGeometry-82a8cbe6.js +1 -0
- package/dist/assets/cesium/Workers/CylinderGeometryLibrary-76cda53e.js +1 -0
- package/dist/assets/cesium/Workers/EllipseGeometry-32d55454.js +1 -0
- package/dist/assets/cesium/Workers/EllipseGeometryLibrary-b2ae188a.js +1 -0
- package/dist/assets/cesium/Workers/EllipseOutlineGeometry-f05a5a27.js +1 -0
- package/dist/assets/cesium/Workers/EllipsoidGeodesic-19e75e11.js +1 -0
- package/dist/assets/cesium/Workers/EllipsoidGeometry-7c99fc81.js +1 -0
- package/dist/assets/cesium/Workers/EllipsoidOutlineGeometry-21c243df.js +1 -0
- package/dist/assets/cesium/Workers/EllipsoidRhumbLine-6145377b.js +1 -0
- package/dist/assets/cesium/Workers/EllipsoidTangentPlane-a01286f6.js +1 -0
- package/dist/assets/cesium/Workers/EncodedCartesian3-d9f5c4a4.js +1 -0
- package/dist/assets/cesium/Workers/FrustumGeometry-17776af8.js +1 -0
- package/dist/assets/cesium/Workers/GeometryAttribute-89a520b9.js +1 -0
- package/dist/assets/cesium/Workers/GeometryAttributes-32b29525.js +1 -0
- package/dist/assets/cesium/Workers/GeometryInstance-4fbf16ba.js +1 -0
- package/dist/assets/cesium/Workers/GeometryOffsetAttribute-8c5e10db.js +1 -0
- package/dist/assets/cesium/Workers/GeometryPipeline-309fad76.js +1 -0
- package/dist/assets/cesium/Workers/IndexDatatype-f1dcdf35.js +1 -0
- package/dist/assets/cesium/Workers/IntersectionTests-58aa8f80.js +1 -0
- package/dist/assets/cesium/Workers/Matrix2-47e98d76.js +1 -0
- package/dist/assets/cesium/Workers/OrientedBoundingBox-fcb5b750.js +1 -0
- package/dist/assets/cesium/Workers/Plane-3f01019d.js +1 -0
- package/dist/assets/cesium/Workers/PolygonGeometryLibrary-0b29eb16.js +1 -0
- package/dist/assets/cesium/Workers/PolygonPipeline-a934c4dd.js +1 -0
- package/dist/assets/cesium/Workers/PolylinePipeline-8095c9bc.js +1 -0
- package/dist/assets/cesium/Workers/PolylineVolumeGeometryLibrary-67d12fff.js +1 -0
- package/dist/assets/cesium/Workers/PrimitivePipeline-980e44c5.js +1 -0
- package/dist/assets/cesium/Workers/RectangleGeometryLibrary-621c6de8.js +1 -0
- package/dist/assets/cesium/Workers/RuntimeError-8952249c.js +1 -0
- package/dist/assets/cesium/Workers/TerrainEncoding-f96552d5.js +1 -0
- package/dist/assets/cesium/Workers/Transforms-c8cb8f43.js +39 -0
- package/dist/assets/cesium/Workers/VertexFormat-a0b706b0.js +1 -0
- package/dist/assets/cesium/Workers/WallGeometryLibrary-c03d8479.js +1 -0
- package/dist/assets/cesium/Workers/WebGLConstants-508b9636.js +1 -0
- package/dist/assets/cesium/Workers/WebMercatorProjection-79b3214e.js +1 -0
- package/dist/assets/cesium/Workers/_commonjsHelpers-3aae1032-26891ab7.js +1 -0
- package/dist/assets/cesium/Workers/_rollup_plugin_ignore_empty_module_placeholder-57d574d0.js +1 -0
- package/dist/assets/cesium/Workers/arrayRemoveDuplicates-dc2f4046.js +1 -0
- package/dist/assets/cesium/Workers/cesiumWorkerBootstrapper.js +6 -0
- package/dist/assets/cesium/Workers/combine-3c023bda.js +1 -0
- package/dist/assets/cesium/Workers/combineGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createBoxGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createBoxOutlineGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createCircleGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createCircleOutlineGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createCoplanarPolygonGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createCorridorGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createCorridorOutlineGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createCylinderGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createCylinderOutlineGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createEllipseGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createEllipseOutlineGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createEllipsoidGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createEllipsoidOutlineGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createFrustumGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createFrustumOutlineGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createGroundPolylineGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createPlaneGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createPlaneOutlineGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createPolygonGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createPolygonOutlineGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createPolylineGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createPolylineVolumeGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createPolylineVolumeOutlineGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createRectangleGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createRectangleOutlineGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createSimplePolylineGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createSphereGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createSphereOutlineGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createTaskProcessorWorker.js +1 -0
- package/dist/assets/cesium/Workers/createVectorTileClampedPolylines.js +1 -0
- package/dist/assets/cesium/Workers/createVectorTileGeometries.js +1 -0
- package/dist/assets/cesium/Workers/createVectorTilePoints.js +1 -0
- package/dist/assets/cesium/Workers/createVectorTilePolygons.js +1 -0
- package/dist/assets/cesium/Workers/createVectorTilePolylines.js +1 -0
- package/dist/assets/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +1 -0
- package/dist/assets/cesium/Workers/createVerticesFromHeightmap.js +3 -0
- package/dist/assets/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +1 -0
- package/dist/assets/cesium/Workers/createWallGeometry.js +1 -0
- package/dist/assets/cesium/Workers/createWallOutlineGeometry.js +1 -0
- package/dist/assets/cesium/Workers/decodeDraco.js +1 -0
- package/dist/assets/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +1 -0
- package/dist/assets/cesium/Workers/defaultValue-81eec7ed.js +1 -0
- package/dist/assets/cesium/Workers/transcodeKTX2.js +1 -0
- package/dist/assets/cesium/Workers/transferTypedArrayTest.js +1 -0
- package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +1 -0
- package/dist/assets/cesium.eb5667.js +9105 -0
- package/dist/assets/cesium.js +1 -0
- package/dist/assets/core.216494.js +4 -0
- package/dist/assets/core.js +1 -0
- package/dist/assets/index.4ccd4433.js +1 -0
- package/dist/assets/ol.ef03b1.js +311 -0
- package/dist/assets/ol.js +1 -0
- package/dist/assets/ui.99a1a7.css +1 -0
- package/dist/assets/ui.99a1a7.js +70 -0
- package/dist/assets/ui.js +1 -0
- package/dist/assets/vue-composition-api.c5aca1.js +14 -0
- package/dist/assets/vue-composition-api.js +2 -0
- package/dist/assets/vue.762edd.js +9 -0
- package/dist/assets/vue.js +1 -0
- package/dist/assets/vuetify.401a29.css +5 -0
- package/dist/assets/vuetify.401a29.js +148 -0
- package/dist/assets/vuetify.js +2 -0
- package/dist/index.html +82 -0
- package/index.js +108 -0
- package/lib/cesium.js +1 -0
- package/lib/core.js +1 -0
- package/lib/ol.js +1 -0
- package/lib/olLib.js +844 -0
- package/lib/ui.js +1 -0
- package/lib/vue-composition-api.js +2 -0
- package/lib/vue.js +1 -0
- package/lib/vuetify.js +2 -0
- package/map.config.json +35 -0
- package/package.json +126 -0
- package/plugins/@vcmap/pluginExample/config.json +6 -0
- package/plugins/@vcmap/pluginExample/index.js +209 -0
- package/plugins/@vcmap/pluginExample/package.json +7 -0
- package/plugins/@vcmap/pluginExample/pluginExampleComponent.vue +374 -0
- package/plugins/@vcmap/pluginExample/validation.js +30 -0
- package/plugins/@vcmap/project-selector/ContextsListComponent.vue +62 -0
- package/plugins/@vcmap/project-selector/ProjectSelectorComponent.vue +81 -0
- package/plugins/@vcmap/project-selector/README.md +29 -0
- package/plugins/@vcmap/project-selector/config.json +15 -0
- package/plugins/@vcmap/project-selector/de.json +7 -0
- package/plugins/@vcmap/project-selector/en.json +7 -0
- package/plugins/@vcmap/project-selector/index.js +259 -0
- package/plugins/@vcmap/project-selector/package.json +14 -0
- package/plugins/@vcmap/theme-changer/README.md +21 -0
- package/plugins/@vcmap/theme-changer/ThemeChangerComponent.vue +92 -0
- package/plugins/@vcmap/theme-changer/config.json +69 -0
- package/plugins/@vcmap/theme-changer/index.js +102 -0
- package/plugins/@vcmap/theme-changer/package.json +12 -0
- package/plugins/buttonExamples/ButtonExamples.vue +190 -0
- package/plugins/buttonExamples/index.js +41 -0
- package/plugins/categoryTest/Categories.vue +145 -0
- package/plugins/categoryTest/Category.vue +114 -0
- package/plugins/categoryTest/ItemEditor.vue +13 -0
- package/plugins/categoryTest/index.js +41 -0
- package/plugins/example/index.js +75 -0
- package/plugins/example/mySuperComponent.vue +127 -0
- package/plugins/package.json +5 -0
- package/plugins/test/allIconsComponent.vue +34 -0
- package/plugins/test/editor.vue +63 -0
- package/plugins/test/emptyComponent.vue +13 -0
- package/plugins/test/index.js +116 -0
- package/plugins/test/myCustomHeader.vue +19 -0
- package/plugins/test/toolbox-data.js +129 -0
- package/plugins/test/vcsContent.vue +23 -0
- package/plugins/test/windowManagerExample.vue +144 -0
- package/src/actions/actionHelper.js +262 -0
- package/src/actions/stateRefAction.js +59 -0
- package/src/actions/styleSelector.vue +90 -0
- package/src/application/Navbar.vue +143 -0
- package/src/application/VcsApp.vue +202 -0
- package/src/application/VcsMap.vue +38 -0
- package/src/application/VcsSettings.vue +85 -0
- package/src/application/vcsAppWrapper.vue +29 -0
- package/src/assets/logo-mobile.svg +9 -0
- package/src/assets/logo.svg +26 -0
- package/src/components/buttons/VcsActionButtonList.vue +99 -0
- package/src/components/buttons/VcsButton.vue +201 -0
- package/src/components/form-inputs-controls/VcsCheckbox.vue +74 -0
- package/src/components/form-inputs-controls/VcsColorPicker.vue +81 -0
- package/src/components/form-inputs-controls/VcsFormSection.vue +46 -0
- package/src/components/form-inputs-controls/VcsLabel.vue +38 -0
- package/src/components/form-inputs-controls/VcsSelect.vue +97 -0
- package/src/components/form-inputs-controls/VcsTextArea.vue +130 -0
- package/src/components/form-inputs-controls/VcsTextField.vue +129 -0
- package/src/components/form-output/VcsFormattedNumber.vue +103 -0
- package/src/components/lists/VcsActionList.vue +100 -0
- package/src/components/lists/VcsTreeview.vue +104 -0
- package/src/components/lists/VcsTreeviewLeaf.vue +91 -0
- package/src/components/lists/VcsTreeviewSearchbar.vue +157 -0
- package/src/components/notification/VcsBadge.vue +27 -0
- package/src/components/notification/VcsTooltip.vue +154 -0
- package/src/components/notification/validation.js +19 -0
- package/src/contentTree/LayerTree.vue +39 -0
- package/src/contentTree/contentTreeCollection.js +315 -0
- package/src/contentTree/contentTreeItem.js +457 -0
- package/src/contentTree/groupContentTreeItem.js +67 -0
- package/src/contentTree/layerContentTreeItem.js +235 -0
- package/src/contentTree/layerGroupContentTreeItem.js +154 -0
- package/src/contentTree/nodeContentTreeItem.js +37 -0
- package/src/contentTree/obliqueCollectionContentTreeItem.js +155 -0
- package/src/contentTree/subContentTreeItem.js +42 -0
- package/src/contentTree/vcsObjectContentTreeItem.js +98 -0
- package/src/contentTree/viewPointContentTreeItem.js +107 -0
- package/src/i18n/de.js +55 -0
- package/src/i18n/en.js +55 -0
- package/src/i18n/i18nCollection.js +138 -0
- package/src/icons/+all.js +359 -0
- package/src/icons/2DAreaIcon.vue +21 -0
- package/src/icons/2DDistanceIcon.vue +18 -0
- package/src/icons/3DAreaIcon.vue +21 -0
- package/src/icons/3DDistanceIcon.vue +18 -0
- package/src/icons/3DHeightIcon.vue +18 -0
- package/src/icons/AngleIcon.vue +8 -0
- package/src/icons/AssociationsIcon.vue +34 -0
- package/src/icons/AxisIcon.vue +10 -0
- package/src/icons/BoundingBoxIcon.vue +15 -0
- package/src/icons/CheckboxCheckedIcon.vue +16 -0
- package/src/icons/CheckboxIcon.vue +23 -0
- package/src/icons/CheckboxIndeterminateIcon.vue +24 -0
- package/src/icons/CircleIcon.vue +10 -0
- package/src/icons/ColorSwatchIcon.vue +17 -0
- package/src/icons/CommentIcon.vue +19 -0
- package/src/icons/CompassIcon.vue +8 -0
- package/src/icons/ComponentsIcon.vue +7 -0
- package/src/icons/ConeIcon.vue +11 -0
- package/src/icons/DimensionsHouseIcon.vue +14 -0
- package/src/icons/ElevationProfileIcon.vue +111 -0
- package/src/icons/ExportAreaIcon.vue +7 -0
- package/src/icons/ExportFlightIcon.vue +7 -0
- package/src/icons/ExportIcon.vue +8 -0
- package/src/icons/ExternalLinkIcon.vue +10 -0
- package/src/icons/EyeIcon.vue +7 -0
- package/src/icons/FastForwardIcon.vue +7 -0
- package/src/icons/FilterIcon.vue +8 -0
- package/src/icons/GlobeNatureIcon.vue +14 -0
- package/src/icons/HealthCareIndustriesIcon.vue +118 -0
- package/src/icons/HelpIcon.vue +7 -0
- package/src/icons/HomePointIcon.vue +8 -0
- package/src/icons/HospitalsIcon.vue +237 -0
- package/src/icons/HouseIcon.vue +25 -0
- package/src/icons/ImportIcon.vue +8 -0
- package/src/icons/InfoIcon.vue +10 -0
- package/src/icons/KebabIcon.vue +36 -0
- package/src/icons/LabelIcon.vue +7 -0
- package/src/icons/LayersIcon.vue +26 -0
- package/src/icons/LegendIcon.vue +65 -0
- package/src/icons/LineIcon.vue +7 -0
- package/src/icons/LinkIcon.vue +7 -0
- package/src/icons/MapIcon.vue +8 -0
- package/src/icons/MenuIcon.vue +34 -0
- package/src/icons/MinusIcon.vue +8 -0
- package/src/icons/ObjectAttributeIcon.vue +18 -0
- package/src/icons/ObjectSelectIcon.vue +8 -0
- package/src/icons/ObliqueViewIcon.vue +13 -0
- package/src/icons/PdfIcon.vue +10 -0
- package/src/icons/PedestrianIcon.vue +8 -0
- package/src/icons/PenIcon.vue +14 -0
- package/src/icons/PlayCircleIcon.vue +10 -0
- package/src/icons/PlusIcon.vue +9 -0
- package/src/icons/PoiIcon.vue +7 -0
- package/src/icons/PointSelectIcon.vue +7 -0
- package/src/icons/PolygonIcon.vue +38 -0
- package/src/icons/PresentationModeIcon.vue +7 -0
- package/src/icons/ProgressIcon.vue +24 -0
- package/src/icons/QueryIcon.vue +15 -0
- package/src/icons/RectangleIcon.vue +9 -0
- package/src/icons/ReturnIcon.vue +7 -0
- package/src/icons/RewindIcon.vue +6 -0
- package/src/icons/SearchIcon.vue +8 -0
- package/src/icons/ShadowIcon.vue +9 -0
- package/src/icons/ShapesIcon.vue +28 -0
- package/src/icons/ShareIcon.vue +22 -0
- package/src/icons/SimpleCircleFilledIcon.vue +15 -0
- package/src/icons/SimpleCircleHalfFilledIcon.vue +12 -0
- package/src/icons/SimpleCircleOutlinedIcon.vue +15 -0
- package/src/icons/SkipNextIcon.vue +7 -0
- package/src/icons/SkipPreviousIcon.vue +9 -0
- package/src/icons/SplitViewIcon.vue +19 -0
- package/src/icons/TextStyleIcon.vue +14 -0
- package/src/icons/ThreeDimensionsIcon.vue +7 -0
- package/src/icons/ToolsIcon.vue +35 -0
- package/src/icons/TouchIcon.vue +8 -0
- package/src/icons/TrashCanIcon.vue +7 -0
- package/src/icons/TriangleIcon.vue +15 -0
- package/src/icons/TwoDimensionsIcon.vue +8 -0
- package/src/icons/UploadIcon.vue +14 -0
- package/src/icons/VideoRecorderIcon.vue +14 -0
- package/src/icons/WalkingIcon.vue +7 -0
- package/src/icons/WallIcon.vue +14 -0
- package/src/init.js +38 -0
- package/src/manager/buttonManager.js +156 -0
- package/src/manager/navbarManager.js +81 -0
- package/src/manager/toolbox/ToolboxGroupComponent.vue +128 -0
- package/src/manager/toolbox/ToolboxManager.vue +157 -0
- package/src/manager/toolbox/toolboxManager.js +204 -0
- package/src/manager/window/WindowComponent.vue +140 -0
- package/src/manager/window/WindowComponentHeader.vue +53 -0
- package/src/manager/window/WindowManager.vue +126 -0
- package/src/manager/window/windowManager.js +435 -0
- package/src/navigation/mapNavCompass.vue +161 -0
- package/src/navigation/mapNavigation.vue +207 -0
- package/src/navigation/obliqueRotation.vue +48 -0
- package/src/navigation/orientationToolsButton.vue +52 -0
- package/src/navigation/overviewMap.js +615 -0
- package/src/navigation/overviewMapClickedInteraction.js +38 -0
- package/src/navigation/tiltSlider.vue +96 -0
- package/src/navigation/vcsCompass.vue +144 -0
- package/src/navigation/vcsZoomButton.vue +27 -0
- package/src/pluginHelper.js +106 -0
- package/src/setup.js +11 -0
- package/src/styles/_theming.scss +25 -0
- package/src/styles/_typography.scss +42 -0
- package/src/styles/main.scss +12 -0
- package/src/styles/utils/_all.scss +12 -0
- package/src/styles/utils/_border.scss +7 -0
- package/src/styles/utils/_cursor.scss +15 -0
- package/src/styles/utils/_display.scss +3 -0
- package/src/styles/utils/_fade-in.scss +8 -0
- package/src/styles/utils/_position.scss +38 -0
- package/src/styles/utils/_size.scss +79 -0
- package/src/styles/utils/_slide-in.scss +26 -0
- package/src/styles/utils/_spacing.scss +11 -0
- package/src/styles/utils/_text.scss +30 -0
- package/src/styles/utils/_transform.scss +11 -0
- package/src/styles/utils/_transition.scss +11 -0
- package/src/styles/utils/_z-index.scss +15 -0
- package/src/styles/variables.scss +70 -0
- package/src/styles/vcsFont.scss +5 -0
- package/src/styles/vcsGrid.scss +4 -0
- package/src/vcsUiApp.js +259 -0
- package/src/vuePlugins/i18n.js +69 -0
- package/src/vuePlugins/vuetify.js +54 -0
- package/start.js +3 -0
@@ -0,0 +1,127 @@
|
|
1
|
+
<template>
|
2
|
+
<v-sheet style="height: 100%">
|
3
|
+
<v-container class="pa-2">
|
4
|
+
<v-row
|
5
|
+
dense
|
6
|
+
align="center"
|
7
|
+
>
|
8
|
+
<v-col>
|
9
|
+
<label> test</label>
|
10
|
+
</v-col>
|
11
|
+
<v-col>
|
12
|
+
<v-text-field hide-details dense outlined />
|
13
|
+
</v-col>
|
14
|
+
</v-row>
|
15
|
+
<v-row
|
16
|
+
dense
|
17
|
+
>
|
18
|
+
<v-col>
|
19
|
+
<v-text-field dense hide-details outlined class="ma-0" />
|
20
|
+
</v-col>
|
21
|
+
<v-col>
|
22
|
+
<v-text-field dense hide-details class="ma-0" />
|
23
|
+
</v-col>
|
24
|
+
<v-col>
|
25
|
+
<v-text-field label="test" dense hide-details outlined class="ma-0" />
|
26
|
+
</v-col>
|
27
|
+
<v-col>
|
28
|
+
<v-text-field label="test" dense hide-details class="ma-0" />
|
29
|
+
</v-col>
|
30
|
+
</v-row>
|
31
|
+
<v-row
|
32
|
+
dense
|
33
|
+
>
|
34
|
+
<v-col>
|
35
|
+
<v-text-field hide-details outlined />
|
36
|
+
</v-col>
|
37
|
+
<v-col>
|
38
|
+
<v-text-field
|
39
|
+
hide-details
|
40
|
+
class="ma-0 pb-1 pt-1"
|
41
|
+
/>
|
42
|
+
</v-col>
|
43
|
+
<v-col>
|
44
|
+
<v-text-field label="test" hide-details outlined />
|
45
|
+
</v-col>
|
46
|
+
<v-col>
|
47
|
+
<v-text-field
|
48
|
+
label="test"
|
49
|
+
hide-details
|
50
|
+
class="ma-0 pb-1 pt-1"
|
51
|
+
/>
|
52
|
+
</v-col>
|
53
|
+
</v-row>
|
54
|
+
<v-row
|
55
|
+
dense
|
56
|
+
>
|
57
|
+
<v-col>
|
58
|
+
<v-text-field
|
59
|
+
dense
|
60
|
+
hide-details
|
61
|
+
@mouseover="hover1 = true"
|
62
|
+
@mouseleave="hover1 = false"
|
63
|
+
:outlined="hover1"
|
64
|
+
class="ma-0"
|
65
|
+
/>
|
66
|
+
</v-col>
|
67
|
+
<v-col>
|
68
|
+
<v-text-field
|
69
|
+
dense
|
70
|
+
hide-details
|
71
|
+
class="ma-0"
|
72
|
+
@mouseover="hover2 = true"
|
73
|
+
@mouseleave="hover2 = false"
|
74
|
+
:outlined="hover2"
|
75
|
+
/>
|
76
|
+
</v-col>
|
77
|
+
<v-col>
|
78
|
+
<v-text-field
|
79
|
+
dense
|
80
|
+
hide-details
|
81
|
+
class="ma-0"
|
82
|
+
label="test"
|
83
|
+
@mouseover="hover3 = true"
|
84
|
+
@mouseleave="hover3 = false"
|
85
|
+
:outlined="hover3"
|
86
|
+
/>
|
87
|
+
</v-col>
|
88
|
+
<v-col>
|
89
|
+
<v-text-field
|
90
|
+
dense
|
91
|
+
hide-details
|
92
|
+
class="ma-0"
|
93
|
+
label="test"
|
94
|
+
@mouseover="hover4 = true"
|
95
|
+
@mouseleave="hover4 = false"
|
96
|
+
:outlined="hover4"
|
97
|
+
/>
|
98
|
+
</v-col>
|
99
|
+
</v-row>
|
100
|
+
</v-container>
|
101
|
+
<button
|
102
|
+
@click="outlined = !outlined"
|
103
|
+
>
|
104
|
+
test
|
105
|
+
</button>
|
106
|
+
</v-sheet>
|
107
|
+
</template>
|
108
|
+
<script>
|
109
|
+
|
110
|
+
import Vue from 'vue';
|
111
|
+
|
112
|
+
export default {
|
113
|
+
name: 'MySuperComponent',
|
114
|
+
components: {
|
115
|
+
},
|
116
|
+
data() {
|
117
|
+
return {
|
118
|
+
hover1: false,
|
119
|
+
hover2: false,
|
120
|
+
hover3: false,
|
121
|
+
hover4: false,
|
122
|
+
outlined: false,
|
123
|
+
email: 'test',
|
124
|
+
};
|
125
|
+
},
|
126
|
+
};
|
127
|
+
</script>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<template>
|
2
|
+
<v-sheet class="overflow-auto icons-window">
|
3
|
+
<v-list>
|
4
|
+
<v-list-item
|
5
|
+
v-for="icon in icons"
|
6
|
+
:key="icon"
|
7
|
+
>
|
8
|
+
<v-list-item-title>{{ icon }}</v-list-item-title>
|
9
|
+
<v-list-item-icon>
|
10
|
+
<v-icon>{{ icon }}</v-icon>
|
11
|
+
</v-list-item-icon>
|
12
|
+
</v-list-item>
|
13
|
+
</v-list>
|
14
|
+
</v-sheet>
|
15
|
+
</template>
|
16
|
+
|
17
|
+
<script>
|
18
|
+
import { Icons } from '@vcmap/ui';
|
19
|
+
|
20
|
+
export default {
|
21
|
+
name: 'AllIconsComponent',
|
22
|
+
computed: {
|
23
|
+
icons() {
|
24
|
+
return Object.keys(Icons).map(n => `$${n}`);
|
25
|
+
},
|
26
|
+
},
|
27
|
+
};
|
28
|
+
</script>
|
29
|
+
|
30
|
+
<style scoped>
|
31
|
+
.icons-window {
|
32
|
+
max-height: 600px;
|
33
|
+
}
|
34
|
+
</style>
|
@@ -0,0 +1,63 @@
|
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<v-textarea
|
4
|
+
v-model="configString"
|
5
|
+
v-if="!loading"
|
6
|
+
/>
|
7
|
+
<v-progress-circular
|
8
|
+
v-else
|
9
|
+
/>
|
10
|
+
|
11
|
+
<VcsButton @click="replaceContext">
|
12
|
+
Apply
|
13
|
+
</VcsButton>
|
14
|
+
<VcsButton @click="removeContext">
|
15
|
+
Remove
|
16
|
+
</VcsButton>
|
17
|
+
</div>
|
18
|
+
</template>
|
19
|
+
|
20
|
+
<script>
|
21
|
+
import { ref, inject } from '@vue/composition-api';
|
22
|
+
import { VcsButton } from '@vcmap/ui';
|
23
|
+
import { Context } from '@vcmap/core';
|
24
|
+
|
25
|
+
const contextId = 'foo';
|
26
|
+
|
27
|
+
export default {
|
28
|
+
name: 'Editor',
|
29
|
+
components: {
|
30
|
+
VcsButton,
|
31
|
+
},
|
32
|
+
setup() {
|
33
|
+
/** @type {VcsUiApp} */
|
34
|
+
const app = inject('vcsApp');
|
35
|
+
const context = app.getContextById(contextId);
|
36
|
+
const configString = ref(JSON.stringify(context ? context.config : {}, null, 2));
|
37
|
+
const loading = ref(false);
|
38
|
+
|
39
|
+
return {
|
40
|
+
configString,
|
41
|
+
loading,
|
42
|
+
async replaceContext() {
|
43
|
+
loading.value = true;
|
44
|
+
const config = JSON.parse(configString.value);
|
45
|
+
config.id = contextId;
|
46
|
+
const newContext = new Context(config);
|
47
|
+
await this.removeContext();
|
48
|
+
await app.addContext(newContext);
|
49
|
+
loading.value = false;
|
50
|
+
},
|
51
|
+
async removeContext() {
|
52
|
+
if (app.getContextById(contextId)) {
|
53
|
+
await app.removeContext(contextId);
|
54
|
+
}
|
55
|
+
},
|
56
|
+
};
|
57
|
+
},
|
58
|
+
};
|
59
|
+
</script>
|
60
|
+
|
61
|
+
<style scoped>
|
62
|
+
|
63
|
+
</style>
|
@@ -0,0 +1,116 @@
|
|
1
|
+
import VectorSource from 'ol/source/Vector.js';
|
2
|
+
import { Feature } from 'ol';
|
3
|
+
import { ButtonLocation, createToggleAction, WindowSlot } from '@vcmap/ui';
|
4
|
+
import { toolboxData } from './toolbox-data.js';
|
5
|
+
import editor from './editor.vue';
|
6
|
+
import windowManagerExample from './windowManagerExample.vue';
|
7
|
+
import AllIconsComponent from './allIconsComponent.vue';
|
8
|
+
|
9
|
+
let source;
|
10
|
+
|
11
|
+
function getSource() {
|
12
|
+
if (!source) {
|
13
|
+
source = new VectorSource();
|
14
|
+
}
|
15
|
+
return source;
|
16
|
+
}
|
17
|
+
|
18
|
+
/**
|
19
|
+
* @returns {VcsPlugin}
|
20
|
+
*/
|
21
|
+
export default async function () {
|
22
|
+
return {
|
23
|
+
name: '@vcmap/test',
|
24
|
+
onVcsAppMounted(app) {
|
25
|
+
const { action: configEditorAction, destroy: destroyConfigEditorAction } = createToggleAction(
|
26
|
+
{
|
27
|
+
name: 'Config Editor',
|
28
|
+
},
|
29
|
+
{
|
30
|
+
id: 'config-editor',
|
31
|
+
state: {
|
32
|
+
headerTitle: 'Context Editor',
|
33
|
+
},
|
34
|
+
component: editor,
|
35
|
+
slot: WindowSlot.STATIC,
|
36
|
+
position: {
|
37
|
+
width: 500,
|
38
|
+
},
|
39
|
+
},
|
40
|
+
app.windowManager,
|
41
|
+
'@vcmap/test',
|
42
|
+
);
|
43
|
+
const { action: windowAction, destroy: destroyWindowAction } = createToggleAction(
|
44
|
+
{
|
45
|
+
name: 'Windows',
|
46
|
+
},
|
47
|
+
{
|
48
|
+
id: 'windowManagerExample',
|
49
|
+
state: {
|
50
|
+
headerTitle: 'windowManager Example',
|
51
|
+
},
|
52
|
+
component: windowManagerExample,
|
53
|
+
position: {
|
54
|
+
left: '60%',
|
55
|
+
right: '10%',
|
56
|
+
top: '10%',
|
57
|
+
},
|
58
|
+
},
|
59
|
+
app.windowManager,
|
60
|
+
'@vcmap/test',
|
61
|
+
);
|
62
|
+
const { action: iconAction, destroy: destroyIconAction } = createToggleAction(
|
63
|
+
{
|
64
|
+
name: 'Icons',
|
65
|
+
},
|
66
|
+
{
|
67
|
+
id: 'allIcons',
|
68
|
+
state: {
|
69
|
+
headerTitle: 'All Icons',
|
70
|
+
},
|
71
|
+
component: AllIconsComponent,
|
72
|
+
},
|
73
|
+
app.windowManager,
|
74
|
+
'@vcmap/test',
|
75
|
+
);
|
76
|
+
this._destroyActions = [destroyConfigEditorAction, destroyWindowAction, destroyIconAction];
|
77
|
+
const alertAction = {
|
78
|
+
name: 'VC Systems',
|
79
|
+
callback() {
|
80
|
+
getSource().addFeature(new Feature({}));
|
81
|
+
window.alert(`there are ${getSource().getFeatures().length} features ${app.maps.activeMap.name}`);
|
82
|
+
},
|
83
|
+
};
|
84
|
+
app.navbarManager.add(
|
85
|
+
{ id: 'config-editor', action: configEditorAction },
|
86
|
+
'@vcmap/test',
|
87
|
+
ButtonLocation.TOOL,
|
88
|
+
);
|
89
|
+
app.navbarManager.add(
|
90
|
+
{ id: 'windowManagerExample', action: windowAction },
|
91
|
+
'@vcmap/test',
|
92
|
+
ButtonLocation.TOOL,
|
93
|
+
);
|
94
|
+
app.navbarManager.add(
|
95
|
+
{ id: 'allIcons', action: iconAction },
|
96
|
+
'@vcmap/test',
|
97
|
+
ButtonLocation.TOOL,
|
98
|
+
);
|
99
|
+
app.navbarManager.add(
|
100
|
+
{ id: 'alert', action: alertAction },
|
101
|
+
'@vcmap/test',
|
102
|
+
ButtonLocation.TOOL,
|
103
|
+
);
|
104
|
+
toolboxData.forEach(([{ id, icon, title, buttonComponents }, owner]) => {
|
105
|
+
const group = app.toolboxManager.requestGroup(id, icon, title);
|
106
|
+
buttonComponents.forEach(c => group.buttonManager.add(c, owner));
|
107
|
+
});
|
108
|
+
},
|
109
|
+
destroy() {
|
110
|
+
if (this._destroyActions) {
|
111
|
+
this._destroyActions.forEach(cb => cb());
|
112
|
+
this._destroyActions = null;
|
113
|
+
}
|
114
|
+
},
|
115
|
+
};
|
116
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
Ha, this is a custom Header with a <span @click="clicked"> CLOSE thing </span>
|
4
|
+
</div>
|
5
|
+
</template>
|
6
|
+
|
7
|
+
<script>
|
8
|
+
|
9
|
+
export default {
|
10
|
+
name: 'MyCustomHeader',
|
11
|
+
setup(props, { emit }) {
|
12
|
+
return {
|
13
|
+
clicked: () => {
|
14
|
+
emit('close');
|
15
|
+
},
|
16
|
+
};
|
17
|
+
},
|
18
|
+
};
|
19
|
+
</script>
|
@@ -0,0 +1,129 @@
|
|
1
|
+
// eslint-disable-next-line import/prefer-default-export
|
2
|
+
export const toolboxData = [
|
3
|
+
[
|
4
|
+
{
|
5
|
+
id: 'select',
|
6
|
+
buttonComponents: [
|
7
|
+
{
|
8
|
+
id: 'select',
|
9
|
+
action: {
|
10
|
+
name: 'select',
|
11
|
+
title: 'select',
|
12
|
+
icon: '$vcsPointSelect',
|
13
|
+
active: false,
|
14
|
+
callback() { this.active = !this.active; },
|
15
|
+
},
|
16
|
+
},
|
17
|
+
],
|
18
|
+
},
|
19
|
+
'@vcmap/test',
|
20
|
+
],
|
21
|
+
[
|
22
|
+
{
|
23
|
+
id: 'multiSelect',
|
24
|
+
icon: '$vcsPen',
|
25
|
+
title: 'multi select',
|
26
|
+
buttonComponents: [
|
27
|
+
{
|
28
|
+
id: 'pen',
|
29
|
+
action: {
|
30
|
+
name: 'pen',
|
31
|
+
title: 'Item 1',
|
32
|
+
icon: '$vcsPen',
|
33
|
+
active: false,
|
34
|
+
callback() { this.active = !this.active; },
|
35
|
+
},
|
36
|
+
},
|
37
|
+
{
|
38
|
+
id: 'object',
|
39
|
+
action: {
|
40
|
+
name: 'object',
|
41
|
+
title: 'Item 2',
|
42
|
+
icon: '$vcsObjectSelect',
|
43
|
+
active: false,
|
44
|
+
callback() { this.active = !this.active; },
|
45
|
+
},
|
46
|
+
},
|
47
|
+
],
|
48
|
+
},
|
49
|
+
'@vcmap/test',
|
50
|
+
],
|
51
|
+
[
|
52
|
+
{
|
53
|
+
id: 'measurement',
|
54
|
+
icon: '$vcsDimensionsHouse',
|
55
|
+
title: 'measurement',
|
56
|
+
buttonComponents: [
|
57
|
+
{
|
58
|
+
id: 'distance',
|
59
|
+
action: {
|
60
|
+
name: 'distance',
|
61
|
+
title: '2D distance',
|
62
|
+
icon: '$vcs2dDistance',
|
63
|
+
active: false,
|
64
|
+
callback() { this.active = !this.active; },
|
65
|
+
},
|
66
|
+
},
|
67
|
+
{
|
68
|
+
id: 'area',
|
69
|
+
action: {
|
70
|
+
name: 'area',
|
71
|
+
title: '2D area',
|
72
|
+
icon: '$vcs2dArea',
|
73
|
+
active: false,
|
74
|
+
callback() { this.active = !this.active; },
|
75
|
+
},
|
76
|
+
},
|
77
|
+
],
|
78
|
+
},
|
79
|
+
'@vcmap/test',
|
80
|
+
],
|
81
|
+
[
|
82
|
+
{
|
83
|
+
id: 'toggle',
|
84
|
+
buttonComponents: [
|
85
|
+
{
|
86
|
+
id: 'split',
|
87
|
+
action: {
|
88
|
+
name: 'split',
|
89
|
+
title: 'split view',
|
90
|
+
icon: '$vcsSplitView',
|
91
|
+
active: false,
|
92
|
+
callback() { this.active = !this.active; },
|
93
|
+
},
|
94
|
+
},
|
95
|
+
],
|
96
|
+
},
|
97
|
+
'@vcmap/test',
|
98
|
+
],
|
99
|
+
[
|
100
|
+
{
|
101
|
+
id: 'flight',
|
102
|
+
icon: '$vcsVideoRecorder',
|
103
|
+
title: 'flight',
|
104
|
+
buttonComponents: [
|
105
|
+
{
|
106
|
+
id: 'flight',
|
107
|
+
action: {
|
108
|
+
name: 'flight',
|
109
|
+
title: 'add flight',
|
110
|
+
icon: 'mdi-camera-plus',
|
111
|
+
active: false,
|
112
|
+
callback() { this.active = !this.active; },
|
113
|
+
},
|
114
|
+
},
|
115
|
+
{
|
116
|
+
id: 'export',
|
117
|
+
action: {
|
118
|
+
name: 'export',
|
119
|
+
title: 'export flight',
|
120
|
+
icon: '$vcsExportFlight',
|
121
|
+
active: false,
|
122
|
+
callback() { this.active = !this.active; },
|
123
|
+
},
|
124
|
+
},
|
125
|
+
],
|
126
|
+
},
|
127
|
+
'@vcmap/test',
|
128
|
+
],
|
129
|
+
];
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<template>
|
2
|
+
<v-sheet>
|
3
|
+
<span>
|
4
|
+
content
|
5
|
+
</span>
|
6
|
+
</v-sheet>
|
7
|
+
</template>
|
8
|
+
|
9
|
+
<style scoped>
|
10
|
+
|
11
|
+
.vcsTest span {
|
12
|
+
background-color: red;
|
13
|
+
}
|
14
|
+
|
15
|
+
</style>
|
16
|
+
<script>
|
17
|
+
export default {
|
18
|
+
name: 'VcsContent',
|
19
|
+
setup() {
|
20
|
+
return { };
|
21
|
+
},
|
22
|
+
};
|
23
|
+
</script>
|
@@ -0,0 +1,144 @@
|
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<VcsButton v-for="(example, index) in examples" :key="`b-${index}`" @click="(e) => toggle(e, example)">
|
4
|
+
toggle {{ example }}
|
5
|
+
</VcsButton>
|
6
|
+
|
7
|
+
<VcsButton @click="toggleClass()">
|
8
|
+
Change Static2 TestClass
|
9
|
+
</VcsButton>
|
10
|
+
</div>
|
11
|
+
</template>
|
12
|
+
<style>
|
13
|
+
|
14
|
+
|
15
|
+
</style>
|
16
|
+
<script>
|
17
|
+
import { inject, onUnmounted, ref, computed } from '@vue/composition-api';
|
18
|
+
import { getLogger } from '@vcsuite/logger';
|
19
|
+
|
20
|
+
import { WindowSlot, VcsButton } from '@vcmap/ui';
|
21
|
+
import VcsContent from './vcsContent.vue';
|
22
|
+
import MyCustomHeader from './myCustomHeader.vue';
|
23
|
+
import EmptyComponent from './emptyComponent.vue';
|
24
|
+
|
25
|
+
const showTestClass = ref(false);
|
26
|
+
|
27
|
+
export default {
|
28
|
+
name: 'WindowManagerExample',
|
29
|
+
components: { VcsButton },
|
30
|
+
setup() {
|
31
|
+
const exampleWindows = [
|
32
|
+
{
|
33
|
+
id: 'dynamicLeft',
|
34
|
+
headerTitle: 'Example dynamicLeft',
|
35
|
+
component: EmptyComponent,
|
36
|
+
slot: WindowSlot.DYNAMIC_LEFT,
|
37
|
+
},
|
38
|
+
{
|
39
|
+
id: 'dynamicLeft2',
|
40
|
+
state: {
|
41
|
+
headerTitle: 'Example dynamicLeft2',
|
42
|
+
},
|
43
|
+
component: EmptyComponent,
|
44
|
+
slot: WindowSlot.DYNAMIC_LEFT,
|
45
|
+
},
|
46
|
+
{
|
47
|
+
id: 'dynamicRight',
|
48
|
+
state: {
|
49
|
+
headerTitle: 'Example dynamicRight',
|
50
|
+
},
|
51
|
+
component: EmptyComponent,
|
52
|
+
headerComponent: MyCustomHeader,
|
53
|
+
slot: WindowSlot.DYNAMIC_RIGHT,
|
54
|
+
},
|
55
|
+
{
|
56
|
+
id: 'dynamicRight2',
|
57
|
+
state: {
|
58
|
+
headerTitle: 'Example dynamicRight2',
|
59
|
+
},
|
60
|
+
component: EmptyComponent,
|
61
|
+
slot: WindowSlot.DYNAMIC_RIGHT,
|
62
|
+
},
|
63
|
+
{
|
64
|
+
id: 'static',
|
65
|
+
state: {
|
66
|
+
headerTitle: 'Example static',
|
67
|
+
styles: { 'background-color': 'red' },
|
68
|
+
},
|
69
|
+
component: VcsContent,
|
70
|
+
slot: WindowSlot.STATIC,
|
71
|
+
},
|
72
|
+
{
|
73
|
+
id: 'static2',
|
74
|
+
state: {
|
75
|
+
headerTitle: 'Example static2 With TestClass',
|
76
|
+
classes: {
|
77
|
+
vcsTest: computed(() => {
|
78
|
+
return showTestClass.value;
|
79
|
+
}),
|
80
|
+
},
|
81
|
+
},
|
82
|
+
component: VcsContent,
|
83
|
+
slot: WindowSlot.STATIC,
|
84
|
+
},
|
85
|
+
{
|
86
|
+
id: 'position1',
|
87
|
+
state: {
|
88
|
+
headerTitle: 'Example position1',
|
89
|
+
},
|
90
|
+
component: VcsContent,
|
91
|
+
position: {
|
92
|
+
left: '30%',
|
93
|
+
right: '30%',
|
94
|
+
top: '40%',
|
95
|
+
bottom: '20%',
|
96
|
+
},
|
97
|
+
},
|
98
|
+
{
|
99
|
+
id: 'position2',
|
100
|
+
state: {
|
101
|
+
hideHeader: true,
|
102
|
+
headerTitle: 'Example position2',
|
103
|
+
},
|
104
|
+
component: EmptyComponent,
|
105
|
+
position: {
|
106
|
+
left: '35%',
|
107
|
+
right: '35%',
|
108
|
+
top: '40%',
|
109
|
+
bottom: '20%',
|
110
|
+
},
|
111
|
+
},
|
112
|
+
];
|
113
|
+
|
114
|
+
onUnmounted(() => {
|
115
|
+
// can be used to get a callback when the window is closed
|
116
|
+
getLogger('windowManagerExample').log('got unmounted');
|
117
|
+
});
|
118
|
+
|
119
|
+
/**
|
120
|
+
* @type {Map<string, WindowComponent>}
|
121
|
+
*/
|
122
|
+
const windowComponents = new Map();
|
123
|
+
|
124
|
+
const app = inject('vcsApp');
|
125
|
+
return {
|
126
|
+
toggleClass() {
|
127
|
+
showTestClass.value = !showTestClass.value;
|
128
|
+
},
|
129
|
+
toggle(e, windowId) {
|
130
|
+
if (app.windowManager.has(windowId)) {
|
131
|
+
app.windowManager.remove(windowId);
|
132
|
+
} else {
|
133
|
+
e.stopPropagation();
|
134
|
+
const windowComponentOptions =
|
135
|
+
windowComponents.get(windowId) || exampleWindows.find(item => item.id === windowId);
|
136
|
+
const windowComponent = app.windowManager.add(windowComponentOptions, 'WindowManagerExample');
|
137
|
+
windowComponents.set(windowId, windowComponent);
|
138
|
+
}
|
139
|
+
},
|
140
|
+
examples: exampleWindows.map(item => item.id),
|
141
|
+
};
|
142
|
+
},
|
143
|
+
};
|
144
|
+
</script>
|