@vcmap/ui 5.0.0-rc.23 → 5.0.0-rc.24
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/README.md +36 -18
- package/app.config.json +2 -4
- package/build/.eslintrc +3 -0
- package/build/build.js +184 -174
- package/build/buildCesium.js +32 -19
- package/build/buildHelpers.js +117 -48
- package/build/buildPreview.js +7 -4
- package/build/commonViteConfig.js +1 -3
- package/build/determineHost.js +17 -4
- package/build/generateOLLib.js +13 -16
- package/build/getPluginProxies.js +16 -3
- package/build/info/conf.json +21 -21
- package/build/info/publish.js +15 -4
- package/config/aerowest.config.json +16 -44
- package/config/base.config.json +71 -246
- package/config/codes.config.json +3 -1
- package/config/dev.config.json +5 -13
- package/config/graphFeatureInfo.config.json +55 -16
- package/config/projects.config.json +5 -2
- package/config/www.config.json +96 -297
- package/dist/assets/cesium/Workers/{ArcType-ce2e50ab.js → ArcType-2d9abbbc.js} +4 -4
- package/dist/assets/cesium/Workers/{AttributeCompression-b646d393.js → AttributeCompression-f9f6c717.js} +24 -24
- package/dist/assets/cesium/Workers/{AxisAlignedBoundingBox-ff186ccc.js → AxisAlignedBoundingBox-85d9e53a.js} +3 -3
- package/dist/assets/cesium/Workers/{BoundingRectangle-be5924f4.js → BoundingRectangle-1ee7eb47.js} +18 -18
- package/dist/assets/cesium/Workers/{BoxGeometry-12eeccaf.js → BoxGeometry-3b2be784.js} +9 -9
- package/dist/assets/cesium/Workers/{Check-666ab1a0.js → Check-6ede7e26.js} +22 -22
- package/dist/assets/cesium/Workers/{Color-a84038cb.js → Color-f107c84d.js} +59 -59
- package/dist/assets/cesium/Workers/{ComponentDatatype-f7b11d02.js → ComponentDatatype-cf1fa08e.js} +16 -16
- package/dist/assets/cesium/Workers/{CoplanarPolygonGeometryLibrary-3272c1b3.js → CoplanarPolygonGeometryLibrary-78d71993.js} +1 -1
- package/dist/assets/cesium/Workers/{CorridorGeometryLibrary-0170e093.js → CorridorGeometryLibrary-50d99b33.js} +1 -1
- package/dist/assets/cesium/Workers/{CylinderGeometry-7c5da648.js → CylinderGeometry-51b0d9bf.js} +12 -12
- package/dist/assets/cesium/Workers/{CylinderGeometryLibrary-372c07d8.js → CylinderGeometryLibrary-7bf291b4.js} +1 -1
- package/dist/assets/cesium/Workers/{EllipseGeometry-797d580e.js → EllipseGeometry-bcfb5d87.js} +20 -20
- package/dist/assets/cesium/Workers/{EllipseGeometryLibrary-2939e1dc.js → EllipseGeometryLibrary-e94f8472.js} +1 -1
- package/dist/assets/cesium/Workers/{EllipseOutlineGeometry-8b50870f.js → EllipseOutlineGeometry-28e3a1bb.js} +15 -15
- package/dist/assets/cesium/Workers/{EllipsoidGeodesic-98c62a56.js → EllipsoidGeodesic-5b3623dc.js} +6 -6
- package/dist/assets/cesium/Workers/{EllipsoidGeometry-21c0e3a5.js → EllipsoidGeometry-b222fa63.js} +14 -14
- package/dist/assets/cesium/Workers/{EllipsoidOutlineGeometry-eff247c8.js → EllipsoidOutlineGeometry-38a3fb5b.js} +15 -15
- package/dist/assets/cesium/Workers/{EllipsoidRhumbLine-19756602.js → EllipsoidRhumbLine-ef872433.js} +9 -9
- package/dist/assets/cesium/Workers/{EllipsoidTangentPlane-214683dc.js → EllipsoidTangentPlane-8c89f28c.js} +1 -1
- package/dist/assets/cesium/Workers/{EncodedCartesian3-81f70735.js → EncodedCartesian3-57415c8a.js} +6 -6
- package/dist/assets/cesium/Workers/{FrustumGeometry-ac42a6d9.js → FrustumGeometry-bdd3a04d.js} +139 -111
- package/dist/assets/cesium/Workers/{GeometryAttribute-7d6f1732.js → GeometryAttribute-153115c5.js} +20 -20
- package/dist/assets/cesium/Workers/{GeometryAttributes-f06a2792.js → GeometryAttributes-ad136444.js} +1 -1
- package/dist/assets/cesium/Workers/{GeometryInstance-451dc1cd.js → GeometryInstance-34d9e21e.js} +6 -6
- package/dist/assets/cesium/Workers/{GeometryPipeline-ce4339ed.js → GeometryPipeline-acb2399c.js} +22 -22
- package/dist/assets/cesium/Workers/{IndexDatatype-a55ceaa1.js → IndexDatatype-2643aa47.js} +13 -13
- package/dist/assets/cesium/Workers/{IntersectionTests-f6e6bd8a.js → IntersectionTests-271e513e.js} +37 -37
- package/dist/assets/cesium/Workers/{Math-2dbd6b93.js → Math-0a2ac845.js} +149 -139
- package/dist/assets/cesium/Workers/{Matrix2-13178034.js → Matrix2-e1298525.js} +256 -256
- package/dist/assets/cesium/Workers/{Matrix3-315394f6.js → Matrix3-41c58dde.js} +150 -150
- package/dist/assets/cesium/Workers/{OrientedBoundingBox-04920dc7.js → OrientedBoundingBox-5e04e31f.js} +19 -17
- package/dist/assets/cesium/Workers/{Plane-900aa728.js → Plane-4c3d403b.js} +5 -5
- package/dist/assets/cesium/Workers/{PolygonGeometryLibrary-a8680d96.js → PolygonGeometryLibrary-6762b65b.js} +6 -6
- package/dist/assets/cesium/Workers/PolygonPipeline-7dc7a431.js +1344 -0
- package/dist/assets/cesium/Workers/{PolylinePipeline-32f36d2a.js → PolylinePipeline-15fde655.js} +16 -16
- package/dist/assets/cesium/Workers/{PolylineVolumeGeometryLibrary-a510d657.js → PolylineVolumeGeometryLibrary-ba7dfed5.js} +7 -7
- package/dist/assets/cesium/Workers/{PrimitivePipeline-ba38434a.js → PrimitivePipeline-68f0b9a2.js} +6 -6
- package/dist/assets/cesium/Workers/{RectangleGeometryLibrary-bdba697e.js → RectangleGeometryLibrary-8eaf23da.js} +1 -1
- package/dist/assets/cesium/Workers/{RuntimeError-06c93819.js → RuntimeError-ef395448.js} +5 -5
- package/dist/assets/cesium/Workers/{TerrainEncoding-833187da.js → TerrainEncoding-eb8a645a.js} +30 -30
- package/dist/assets/cesium/Workers/Transforms-f6451f99.js +14698 -0
- package/dist/assets/cesium/Workers/{VertexFormat-6b480673.js → VertexFormat-030f11ff.js} +14 -14
- package/dist/assets/cesium/Workers/{WallGeometryLibrary-919eed92.js → WallGeometryLibrary-feef3109.js} +1 -1
- package/dist/assets/cesium/Workers/{WebGLConstants-a8cc3e8c.js → WebGLConstants-0b1ce7ba.js} +1 -1
- package/dist/assets/cesium/Workers/{WebMercatorProjection-13a90d41.js → WebMercatorProjection-13ed1a6e.js} +6 -6
- package/dist/assets/cesium/Workers/{arrayRemoveDuplicates-c2038105.js → arrayRemoveDuplicates-d2061e85.js} +5 -5
- package/dist/assets/cesium/Workers/cesiumWorkerBootstrapper.js +5 -5
- package/dist/assets/cesium/Workers/{combine-ca22a614.js → combine-d9581036.js} +5 -5
- package/dist/assets/cesium/Workers/combineGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createBoxGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createBoxOutlineGeometry.js +9 -9
- package/dist/assets/cesium/Workers/createCircleGeometry.js +13 -13
- package/dist/assets/cesium/Workers/createCircleOutlineGeometry.js +13 -13
- package/dist/assets/cesium/Workers/createCoplanarPolygonGeometry.js +11 -11
- package/dist/assets/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +9 -9
- package/dist/assets/cesium/Workers/createCorridorGeometry.js +14 -14
- package/dist/assets/cesium/Workers/createCorridorOutlineGeometry.js +12 -12
- package/dist/assets/cesium/Workers/createCylinderGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createCylinderOutlineGeometry.js +13 -13
- package/dist/assets/cesium/Workers/createEllipseGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createEllipseOutlineGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createEllipsoidGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createEllipsoidOutlineGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createFrustumGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createFrustumOutlineGeometry.js +8 -8
- package/dist/assets/cesium/Workers/createGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createGroundPolylineGeometry.js +33 -33
- package/dist/assets/cesium/Workers/createPlaneGeometry.js +8 -8
- package/dist/assets/cesium/Workers/createPlaneOutlineGeometry.js +6 -6
- package/dist/assets/cesium/Workers/createPolygonGeometry.js +25 -25
- package/dist/assets/cesium/Workers/createPolygonOutlineGeometry.js +17 -17
- package/dist/assets/cesium/Workers/createPolylineGeometry.js +11 -11
- package/dist/assets/cesium/Workers/createPolylineVolumeGeometry.js +9 -9
- package/dist/assets/cesium/Workers/createPolylineVolumeOutlineGeometry.js +9 -9
- package/dist/assets/cesium/Workers/createRectangleGeometry.js +16 -16
- package/dist/assets/cesium/Workers/createRectangleOutlineGeometry.js +12 -12
- package/dist/assets/cesium/Workers/createSimplePolylineGeometry.js +10 -10
- package/dist/assets/cesium/Workers/createSphereGeometry.js +11 -11
- package/dist/assets/cesium/Workers/createSphereOutlineGeometry.js +12 -12
- package/dist/assets/cesium/Workers/createTaskProcessorWorker.js +2 -2
- package/dist/assets/cesium/Workers/createVectorTileClampedPolylines.js +1 -1
- package/dist/assets/cesium/Workers/createVectorTileGeometries.js +8 -8
- package/dist/assets/cesium/Workers/createVectorTilePoints.js +1 -1
- package/dist/assets/cesium/Workers/createVectorTilePolygons.js +1 -1
- package/dist/assets/cesium/Workers/createVectorTilePolylines.js +1 -1
- package/dist/assets/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +1 -1
- package/dist/assets/cesium/Workers/createVerticesFromHeightmap.js +27 -28
- package/dist/assets/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +33 -38
- package/dist/assets/cesium/Workers/createWallGeometry.js +14 -14
- package/dist/assets/cesium/Workers/createWallOutlineGeometry.js +14 -14
- package/dist/assets/cesium/Workers/decodeDraco.js +10 -2
- package/dist/assets/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +15 -15
- package/dist/assets/cesium/Workers/decodeI3S.js +1 -1
- package/dist/assets/cesium/Workers/{defaultValue-0a909f67.js → defaultValue-fe22d8c0.js} +2 -2
- package/dist/assets/cesium/Workers/package.js +1 -1
- package/dist/assets/cesium/Workers/transcodeKTX2.js +46 -26
- package/dist/assets/cesium/Workers/transferTypedArrayTest.js +1 -1
- package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +24 -24
- package/dist/assets/{cesium.166f91.js → cesium.253914.js} +36578 -33768
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.9342a1.js → core.3a8205.js} +53 -58
- package/dist/assets/core.js +1 -1
- package/dist/assets/{index.fd041928.js → index.91ae2d55.js} +1 -1
- package/dist/assets/{ol.d2cba3.js → ol.1c946a.js} +5550 -5491
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui.0025be.css +5 -0
- package/dist/assets/{ui.c27597.js → ui.0025be.js} +5494 -4759
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +2 -2
- package/dist/assets/{vuetify.2f1432.css → vuetify.6efa21.css} +2 -2
- package/dist/assets/{vuetify.2f1432.js → vuetify.6efa21.js} +1 -1
- package/dist/assets/vuetify.js +2 -2
- package/dist/index.html +27 -7
- package/index.html +26 -6
- package/index.js +65 -15
- package/lib/cesium.js +1 -1
- package/lib/core.js +1 -1
- package/lib/ui.js +1 -1
- package/lib/vue.js +2 -2
- package/lib/vuetify.js +2 -2
- package/package.json +18 -9
- package/plugins/.eslintrc +9 -0
- package/plugins/@vcmap/create-link/fallbackCreateLink.vue +13 -9
- package/plugins/@vcmap/create-link/index.js +15 -6
- package/plugins/@vcmap/project-selector/ModulesListComponent.vue +4 -8
- package/plugins/@vcmap/project-selector/ProjectSelectorComponent.vue +5 -10
- package/plugins/@vcmap/project-selector/README.md +4 -2
- package/plugins/@vcmap/project-selector/config.json +13 -13
- package/plugins/@vcmap/project-selector/de.json +2 -2
- package/plugins/@vcmap/project-selector/en.json +2 -2
- package/plugins/@vcmap/project-selector/index.js +63 -28
- package/plugins/@vcmap/search-nominatim/LICENSE.md +5 -6
- package/plugins/@vcmap/search-nominatim/README.md +2 -1
- package/plugins/@vcmap/search-nominatim/config.json +1 -2
- package/plugins/@vcmap/search-nominatim/index.js +7 -4
- package/plugins/@vcmap/search-nominatim/nominatim.js +7 -2
- package/plugins/@vcmap/search-nominatim/package.json +2 -36
- package/plugins/@vcmap/simple-graph/README.md +29 -9
- package/plugins/@vcmap/simple-graph/SimpleGraphComponent.vue +2 -7
- package/plugins/@vcmap/simple-graph/index.js +1 -1
- package/plugins/@vcmap/simple-graph/simpleGraphView.js +3 -1
- package/plugins/@vcmap/theme-changer/README.md +5 -3
- package/plugins/@vcmap/theme-changer/ThemeChangerComponent.vue +6 -10
- package/plugins/@vcmap/theme-changer/config.json +67 -67
- package/plugins/@vcmap/theme-changer/index.js +11 -5
- package/plugins/@vcmap-show-case/buttons-example/ButtonsExample.vue +76 -11
- package/plugins/@vcmap-show-case/buttons-example/index.js +10 -8
- package/plugins/@vcmap-show-case/category-tester/Categories.vue +143 -116
- package/plugins/@vcmap-show-case/category-tester/Category.vue +46 -26
- package/plugins/@vcmap-show-case/category-tester/index.js +9 -3
- package/plugins/@vcmap-show-case/config-editor/{editor.vue → ConfigEditor.vue} +20 -24
- package/plugins/@vcmap-show-case/config-editor/index.js +13 -11
- package/plugins/@vcmap-show-case/context-menu-tester/index.js +18 -10
- package/plugins/@vcmap-show-case/form-inputs-example/FormInputsExample.vue +89 -118
- package/plugins/@vcmap-show-case/form-inputs-example/config.json +3 -3
- package/plugins/@vcmap-show-case/form-inputs-example/exampleActions.js +14 -4
- package/plugins/@vcmap-show-case/form-inputs-example/index.js +41 -19
- package/plugins/@vcmap-show-case/form-inputs-example/validation.js +2 -1
- package/plugins/@vcmap-show-case/icons-example/README.md +1 -1
- package/plugins/@vcmap-show-case/icons-example/allIconsComponent.vue +10 -10
- package/plugins/@vcmap-show-case/icons-example/index.js +10 -8
- package/plugins/@vcmap-show-case/list-example/ListExample.vue +221 -103
- package/plugins/@vcmap-show-case/list-example/index.js +10 -8
- package/plugins/@vcmap-show-case/notifier-tester/index.js +9 -3
- package/plugins/@vcmap-show-case/notifier-tester/notifierTester.vue +15 -21
- package/plugins/@vcmap-show-case/table-example/DataTableExample.vue +22 -41
- package/plugins/@vcmap-show-case/table-example/index.js +10 -8
- package/plugins/@vcmap-show-case/textfields-example/TextfieldsExample.vue +7 -30
- package/plugins/@vcmap-show-case/textfields-example/index.js +10 -4
- package/plugins/@vcmap-show-case/window-tester/WindowExample.vue +16 -13
- package/plugins/@vcmap-show-case/window-tester/emptyComponent.vue +4 -7
- package/plugins/@vcmap-show-case/window-tester/index.js +26 -20
- package/plugins/@vcmap-show-case/window-tester/myCustomHeader.vue +7 -3
- package/plugins/@vcmap-show-case/window-tester/toolbox-data.js +82 -5
- package/plugins/@vcmap-show-case/window-tester/windowExampleContent.vue +3 -7
- package/plugins/@vcmap-show-case/wizard-example/index.js +9 -3
- package/plugins/@vcmap-show-case/wizard-example/wizardExample.vue +36 -38
- package/src/actions/actionHelper.js +49 -11
- package/src/actions/styleSelector.vue +20 -11
- package/src/application/VcsApp.vue +117 -80
- package/src/application/VcsAttributions.vue +8 -9
- package/src/application/VcsAttributionsFooter.vue +12 -9
- package/src/application/VcsMap.vue +9 -5
- package/src/application/VcsNavbar.vue +44 -27
- package/src/application/VcsSettings.vue +5 -12
- package/src/application/attributionsHelper.js +23 -11
- package/src/application/vcsAppWrapper.vue +1 -3
- package/src/components/buttons/VcsActionButtonList.vue +20 -17
- package/src/components/buttons/VcsButton.vue +19 -23
- package/src/components/buttons/VcsFormButton.vue +176 -0
- package/src/components/form-inputs-controls/VcsCheckbox.vue +6 -7
- package/src/components/form-inputs-controls/VcsDatePicker.vue +50 -19
- package/src/components/form-inputs-controls/VcsFormSection.vue +11 -12
- package/src/components/form-inputs-controls/VcsLabel.vue +9 -10
- package/src/components/form-inputs-controls/VcsRadio.vue +44 -44
- package/src/components/form-inputs-controls/VcsSelect.vue +16 -13
- package/src/components/form-inputs-controls/VcsTextArea.vue +21 -14
- package/src/components/form-inputs-controls/VcsTextField.vue +26 -12
- package/src/components/form-inputs-controls/VcsWizard.vue +78 -78
- package/src/components/form-inputs-controls/VcsWizardStep.vue +20 -20
- package/src/components/form-inputs-controls/composables.js +13 -8
- package/src/components/form-output/VcsFormattedNumber.vue +26 -26
- package/src/components/icons/+all.js +13 -5
- package/src/components/icons/2DAreaIcon.vue +62 -10
- package/src/components/icons/2DDistanceIcon.vue +14 -2
- package/src/components/icons/3DAreaIcon.vue +62 -10
- package/src/components/icons/3DDistanceIcon.vue +14 -2
- package/src/components/icons/3DHeightIcon.vue +14 -2
- package/src/components/icons/AngleIcon.vue +12 -3
- package/src/components/icons/AssociationsIcon.vue +6 -1
- package/src/components/icons/AxisIcon.vue +34 -5
- package/src/components/icons/BoundingBoxIcon.vue +31 -5
- package/src/components/icons/CheckboxCheckedIcon.vue +4 -1
- package/src/components/icons/CheckboxIcon.vue +1 -8
- package/src/components/icons/CheckboxIndeterminateIcon.vue +9 -2
- package/src/components/icons/CircleIcon.vue +24 -4
- package/src/components/icons/ClippingHorizontalIcon.vue +14 -2
- package/src/components/icons/ClippingIcon.vue +13 -2
- package/src/components/icons/ClippingVerticalIcon.vue +14 -2
- package/src/components/icons/ColorPickerIcon.vue +13 -2
- package/src/components/icons/ColorSwatchIcon.vue +7 -1
- package/src/components/icons/CommentIcon.vue +6 -1
- package/src/components/icons/CompassIcon.vue +21 -3
- package/src/components/icons/ComponentsIcon.vue +14 -2
- package/src/components/icons/ConeIcon.vue +26 -4
- package/src/components/icons/DimensionsHouseIcon.vue +7 -1
- package/src/components/icons/EditIcon.vue +13 -2
- package/src/components/icons/ElevationProfileIcon.vue +6 -1
- package/src/components/icons/ExportAreaIcon.vue +13 -2
- package/src/components/icons/ExportFlightIcon.vue +13 -2
- package/src/components/icons/ExportIcon.vue +14 -2
- package/src/components/icons/ExternalLinkIcon.vue +18 -3
- package/src/components/icons/EyeIcon.vue +12 -2
- package/src/components/icons/FastForwardIcon.vue +13 -2
- package/src/components/icons/FilterIcon.vue +13 -2
- package/src/components/icons/GlobalTerrainIcon.vue +12 -2
- package/src/components/icons/GlobeNatureIcon.vue +7 -1
- package/src/components/icons/GroundIcon.vue +12 -2
- package/src/components/icons/HealthCareIndustriesIcon.vue +6 -1
- package/src/components/icons/HelpIcon.vue +12 -2
- package/src/components/icons/HideIcon.vue +17 -3
- package/src/components/icons/HomePointIcon.vue +13 -3
- package/src/components/icons/HospitalsIcon.vue +6 -1
- package/src/components/icons/HouseIcon.vue +20 -3
- package/src/components/icons/ImportIcon.vue +21 -3
- package/src/components/icons/InfoIcon.vue +19 -3
- package/src/components/icons/KebabIcon.vue +12 -2
- package/src/components/icons/LabelIcon.vue +21 -3
- package/src/components/icons/LayersIcon.vue +12 -2
- package/src/components/icons/LegendIcon.vue +13 -3
- package/src/components/icons/LineIcon.vue +20 -3
- package/src/components/icons/LinkIcon.vue +13 -2
- package/src/components/icons/LogoutIcon.vue +13 -2
- package/src/components/icons/MapIcon.vue +14 -2
- package/src/components/icons/MenuIcon.vue +7 -1
- package/src/components/icons/MinusIcon.vue +14 -2
- package/src/components/icons/ObjectAttributeIcon.vue +13 -2
- package/src/components/icons/ObjectSelectIcon.vue +14 -2
- package/src/components/icons/ObliqueViewIcon.vue +11 -2
- package/src/components/icons/PdfIcon.vue +12 -2
- package/src/components/icons/PedestrianIcon.vue +13 -2
- package/src/components/icons/PenIcon.vue +13 -3
- package/src/components/icons/PlayCircleIcon.vue +20 -3
- package/src/components/icons/PlusIcon.vue +14 -3
- package/src/components/icons/PoiIcon.vue +17 -3
- package/src/components/icons/PointSelectIcon.vue +12 -2
- package/src/components/icons/PolygonIcon.vue +7 -1
- package/src/components/icons/PresentationModeIcon.vue +13 -2
- package/src/components/icons/ProgressIcon.vue +8 -6
- package/src/components/icons/QueryIcon.vue +31 -5
- package/src/components/icons/RectangleIcon.vue +24 -4
- package/src/components/icons/ReturnIcon.vue +13 -2
- package/src/components/icons/RewindIcon.vue +13 -2
- package/src/components/icons/RotateLeftIcon.vue +13 -2
- package/src/components/icons/RotateRightIcon.vue +13 -2
- package/src/components/icons/ScreenshotIcon.vue +52 -10
- package/src/components/icons/SearchIcon.vue +13 -3
- package/src/components/icons/ShadowIcon.vue +14 -3
- package/src/components/icons/ShapesIcon.vue +13 -3
- package/src/components/icons/ShareIcon.vue +17 -4
- package/src/components/icons/SimpleCircleFilledIcon.vue +14 -10
- package/src/components/icons/SimpleCircleHalfFilledIcon.vue +6 -1
- package/src/components/icons/SimpleCircleOutlinedIcon.vue +14 -10
- package/src/components/icons/SkipNextIcon.vue +11 -2
- package/src/components/icons/SkipPreviousIcon.vue +17 -3
- package/src/components/icons/SplitViewIcon.vue +6 -1
- package/src/components/icons/TerrainBoxIcon.vue +12 -2
- package/src/components/icons/TextStyleIcon.vue +7 -1
- package/src/components/icons/ThreeDimensionsIcon.vue +13 -2
- package/src/components/icons/ToolsIcon.vue +12 -2
- package/src/components/icons/TouchIcon.vue +13 -2
- package/src/components/icons/TrashCanIcon.vue +13 -2
- package/src/components/icons/TriangleIcon.vue +6 -2
- package/src/components/icons/TwoDimensionsIcon.vue +14 -2
- package/src/components/icons/UploadIcon.vue +13 -2
- package/src/components/icons/UserProfileIcon.vue +13 -2
- package/src/components/icons/UserShareIcon.vue +12 -2
- package/src/components/icons/VideoRecorderIcon.vue +16 -3
- package/src/components/icons/ViewpointFlightIcon.vue +22 -4
- package/src/components/icons/ViewpointIcon.vue +22 -4
- package/src/components/icons/Viewshed360Icon.vue +14 -2
- package/src/components/icons/ViewshedConeIcon.vue +13 -2
- package/src/components/icons/ViewshedIcon.vue +14 -2
- package/src/components/icons/WalkingIcon.vue +13 -2
- package/src/components/icons/WallIcon.vue +19 -3
- package/src/components/icons/WandIcon.vue +129 -21
- package/src/components/imageElementInjector.vue +1 -3
- package/src/components/lists/VcsActionList.vue +21 -18
- package/src/components/lists/VcsList.vue +208 -98
- package/src/components/lists/VcsTreeview.vue +30 -26
- package/src/components/lists/VcsTreeviewLeaf.vue +23 -22
- package/src/components/lists/VcsTreeviewSearchbar.vue +19 -15
- package/src/components/notification/VcsBadge.vue +4 -6
- package/src/components/notification/VcsTooltip.vue +95 -94
- package/src/components/notification/validation.js +1 -1
- package/src/components/tables/VcsDataTable.vue +107 -95
- package/src/components/tables/VcsTable.vue +38 -30
- package/src/contentTree/LayerTree.vue +2 -3
- package/src/contentTree/contentTreeCollection.js +48 -22
- package/src/contentTree/contentTreeItem.js +36 -14
- package/src/contentTree/groupContentTreeItem.js +44 -22
- package/src/contentTree/layerContentTreeItem.js +42 -20
- package/src/contentTree/layerGroupContentTreeItem.js +53 -31
- package/src/contentTree/nodeContentTreeItem.js +18 -7
- package/src/contentTree/obliqueCollectionContentTreeItem.js +45 -20
- package/src/contentTree/subContentTreeItem.js +13 -4
- package/src/contentTree/vcsObjectContentTreeItem.js +24 -15
- package/src/contentTree/viewpointContentTreeItem.js +19 -6
- package/src/downloadHelper.js +4 -1
- package/src/featureInfo/AddressBalloonComponent.vue +11 -16
- package/src/featureInfo/BalloonComponent.vue +35 -26
- package/src/featureInfo/abstractFeatureInfoView.js +29 -13
- package/src/featureInfo/addressBalloonFeatureInfoView.js +19 -7
- package/src/featureInfo/balloonFeatureInfoView.js +22 -9
- package/src/featureInfo/balloonHelper.js +61 -42
- package/src/featureInfo/featureInfo.js +71 -31
- package/src/featureInfo/featureInfoInteraction.js +13 -7
- package/src/featureInfo/iframeFeatureInfoView.js +3 -1
- package/src/featureInfo/tableFeatureInfoView.js +15 -5
- package/src/i18n/i18nCollection.js +183 -155
- package/src/init.js +124 -121
- package/src/legend/legendHelper.js +11 -6
- package/src/legend/styleLegendItem.vue +18 -12
- package/src/legend/vcsLegend.vue +15 -17
- package/src/manager/buttonManager.js +6 -3
- package/src/manager/categoryManager/CategoryComponent.vue +52 -25
- package/src/manager/categoryManager/CategoryComponentList.vue +33 -8
- package/src/manager/categoryManager/CategoryManager.vue +4 -5
- package/src/manager/categoryManager/categoryManager.js +82 -37
- package/src/manager/contextMenu/contextMenuComponent.vue +2 -6
- package/src/manager/contextMenu/contextMenuInteraction.js +6 -1
- package/src/manager/contextMenu/contextMenuManager.js +37 -22
- package/src/manager/navbarManager.js +15 -8
- package/src/manager/toolbox/GroupToolboxComponent.vue +22 -21
- package/src/manager/toolbox/SelectToolboxComponent.vue +36 -35
- package/src/manager/toolbox/ToolboxManager.vue +18 -10
- package/src/manager/toolbox/toolboxManager.js +30 -12
- package/src/manager/window/WindowComponent.vue +18 -21
- package/src/manager/window/WindowComponentHeader.vue +34 -26
- package/src/manager/window/WindowManager.vue +33 -22
- package/src/manager/window/windowHelper.js +79 -23
- package/src/manager/window/windowManager.js +61 -32
- package/src/navigation/mapNavCompass.vue +17 -3
- package/src/navigation/mapNavigation.vue +59 -40
- package/src/navigation/obliqueRotation.vue +6 -8
- package/src/navigation/orientationToolsButton.vue +6 -9
- package/src/navigation/overviewMap.js +72 -41
- package/src/navigation/overviewMapClickedInteraction.js +6 -1
- package/src/navigation/tiltSlider.vue +6 -10
- package/src/navigation/vcsCompass.vue +1 -9
- package/src/navigation/vcsZoomButton.vue +16 -17
- package/src/notifier/notifier.js +22 -13
- package/src/notifier/notifierComponent.vue +21 -21
- package/src/pluginHelper.js +23 -9
- package/src/search/resultItem.vue +10 -15
- package/src/search/resultsComponent.vue +30 -24
- package/src/search/search.js +36 -19
- package/src/search/searchComponent.vue +20 -10
- package/src/setup.js +9 -9
- package/src/state.js +22 -6
- package/src/styles/_typography.scss +0 -1
- package/src/styles/shades.scss +4 -2
- package/src/styles/utils/_border.scss +1 -1
- package/src/styles/utils/_display.scss +1 -1
- package/src/styles/variables.scss +39 -34
- package/src/styles/vcsFont.scss +6 -5
- package/src/styles/vcsGrid.scss +9 -0
- package/src/uiConfig.js +3 -1
- package/src/vcsUiApp.js +156 -59
- package/src/vuePlugins/i18n.js +4 -4
- package/src/vuePlugins/vuetify.js +4 -0
- package/dist/assets/cesium/Workers/PolygonPipeline-844aab0a.js +0 -1345
- package/dist/assets/cesium/Workers/Transforms-40229881.js +0 -14696
- package/dist/assets/ui.c27597.css +0 -5
- /package/dist/assets/cesium/Workers/{GeometryOffsetAttribute-04332ce7.js → GeometryOffsetAttribute-9ad0019c.js} +0 -0
- /package/dist/assets/{vue.5d00e9.js → vue.c1ece7.js} +0 -0
@@ -1,24 +1,16 @@
|
|
1
1
|
<template>
|
2
|
-
<v-container
|
2
|
+
<v-container
|
3
|
+
:class="$vuetify.breakpoint.xs ? 'nav-container mobile' : 'nav-container'"
|
4
|
+
>
|
3
5
|
<v-row>
|
4
|
-
<VcsCompass
|
5
|
-
:view-mode="viewMode"
|
6
|
-
v-model="heading"
|
7
|
-
/>
|
6
|
+
<VcsCompass :view-mode="viewMode" v-model="heading" />
|
8
7
|
</v-row>
|
9
|
-
<v-row
|
10
|
-
v-
|
11
|
-
>
|
12
|
-
<ObliqueRotation
|
13
|
-
v-model="heading"
|
14
|
-
/>
|
8
|
+
<v-row v-if="isOblique">
|
9
|
+
<ObliqueRotation v-model="heading" />
|
15
10
|
</v-row>
|
16
11
|
<template v-if="$vuetify.breakpoint.mdAndUp">
|
17
12
|
<v-row justify="center">
|
18
|
-
<VcsZoomButton
|
19
|
-
@zoom-out="zoomOut()"
|
20
|
-
@zoom-in="zoomIn()"
|
21
|
-
/>
|
13
|
+
<VcsZoomButton @zoom-out="zoomOut()" @zoom-in="zoomIn()" />
|
22
14
|
</v-row>
|
23
15
|
<v-row justify="center" v-if="is3D && $vuetify.breakpoint.mdAndUp">
|
24
16
|
<TiltSlider v-model="tilt" />
|
@@ -44,12 +36,13 @@
|
|
44
36
|
</template>
|
45
37
|
|
46
38
|
<script>
|
47
|
-
import {
|
48
|
-
computed, inject, ref, reactive, onUnmounted,
|
49
|
-
} from 'vue';
|
39
|
+
import { computed, inject, ref, reactive, onUnmounted } from 'vue';
|
50
40
|
import { ObliqueMap, CesiumMap } from '@vcmap/core';
|
51
41
|
import { VContainer, VRow } from 'vuetify/lib';
|
52
|
-
import {
|
42
|
+
import {
|
43
|
+
createGoToViewpointAction,
|
44
|
+
createOverviewMapAction,
|
45
|
+
} from '../actions/actionHelper.js';
|
53
46
|
import { getWindowComponentOptions } from './overviewMap.js';
|
54
47
|
import VcsCompass from './vcsCompass.vue';
|
55
48
|
import VcsZoomButton from './vcsZoomButton.vue';
|
@@ -63,7 +56,12 @@
|
|
63
56
|
* @returns {{action: import("vue").Reactive<{}>, destroy: function():void}}
|
64
57
|
*/
|
65
58
|
function setupHomeButton(app) {
|
66
|
-
const initialAction = {
|
59
|
+
const initialAction = {
|
60
|
+
icon: undefined,
|
61
|
+
title: undefined,
|
62
|
+
active: undefined,
|
63
|
+
callback: undefined,
|
64
|
+
};
|
67
65
|
const action = reactive({ ...initialAction });
|
68
66
|
/**
|
69
67
|
* Gets the starting viewpoint of the last added module, where a startingViewpointName was defined
|
@@ -73,7 +71,10 @@
|
|
73
71
|
let viewpoint = null;
|
74
72
|
for (let idx = app.modules.length - 1; idx >= 0; idx--) {
|
75
73
|
const { startingViewpointName } = app.modules[idx].config;
|
76
|
-
if (
|
74
|
+
if (
|
75
|
+
startingViewpointName &&
|
76
|
+
app.viewpoints.hasKey(startingViewpointName)
|
77
|
+
) {
|
77
78
|
viewpoint = app.viewpoints.getByKey(startingViewpointName);
|
78
79
|
break;
|
79
80
|
}
|
@@ -81,16 +82,19 @@
|
|
81
82
|
if (!viewpoint) {
|
82
83
|
Object.assign(action, { ...initialAction });
|
83
84
|
} else {
|
84
|
-
Object.assign(
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
85
|
+
Object.assign(
|
86
|
+
action,
|
87
|
+
createGoToViewpointAction(
|
88
|
+
{
|
89
|
+
name: 'home-action',
|
90
|
+
title: 'navigation.homeButton',
|
91
|
+
icon: '$vcsHomePoint',
|
92
|
+
},
|
93
|
+
viewpoint,
|
94
|
+
app.viewpoints,
|
95
|
+
app.maps,
|
96
|
+
),
|
97
|
+
);
|
94
98
|
}
|
95
99
|
};
|
96
100
|
|
@@ -99,7 +103,9 @@
|
|
99
103
|
app.moduleRemoved.addEventListener(updateStartingViewpoint),
|
100
104
|
];
|
101
105
|
|
102
|
-
const destroy = () => {
|
106
|
+
const destroy = () => {
|
107
|
+
listener.forEach((cb) => cb());
|
108
|
+
};
|
103
109
|
|
104
110
|
return { action, destroy };
|
105
111
|
}
|
@@ -167,12 +173,15 @@
|
|
167
173
|
}
|
168
174
|
};
|
169
175
|
|
170
|
-
const postRenderHandler =
|
176
|
+
const postRenderHandler =
|
177
|
+
app.maps.postRender.addEventListener(handleRenderEvent);
|
171
178
|
if (app.maps.activeMap) {
|
172
179
|
handleRenderEvent({ map: app.maps.activeMap });
|
173
180
|
}
|
174
181
|
const heading = computed({
|
175
|
-
get() {
|
182
|
+
get() {
|
183
|
+
return headingRef.value;
|
184
|
+
},
|
176
185
|
async set(headingValue) {
|
177
186
|
let vp;
|
178
187
|
if (viewMode.value === OrientationToolsViewMode.OBLIQUE) {
|
@@ -186,7 +195,9 @@
|
|
186
195
|
});
|
187
196
|
|
188
197
|
const tilt = computed({
|
189
|
-
get() {
|
198
|
+
get() {
|
199
|
+
return tiltRef.value;
|
200
|
+
},
|
190
201
|
set(tiltValue) {
|
191
202
|
const vp = app.maps.activeMap.getViewpointSync(); // XXX make async and debounce
|
192
203
|
vp.pitch = tiltValue;
|
@@ -214,10 +225,18 @@
|
|
214
225
|
viewMode,
|
215
226
|
heading,
|
216
227
|
tilt,
|
217
|
-
is3D: computed(
|
218
|
-
|
219
|
-
|
220
|
-
|
228
|
+
is3D: computed(
|
229
|
+
() => viewMode.value === OrientationToolsViewMode.THREE_D,
|
230
|
+
),
|
231
|
+
isOblique: computed(
|
232
|
+
() => viewMode.value === OrientationToolsViewMode.OBLIQUE,
|
233
|
+
),
|
234
|
+
zoomIn() {
|
235
|
+
zoom(app.maps.activeMap);
|
236
|
+
}, // debounce?
|
237
|
+
zoomOut() {
|
238
|
+
zoom(app.maps.activeMap, true);
|
239
|
+
},
|
221
240
|
overviewAction: reactive(action),
|
222
241
|
homeAction,
|
223
242
|
};
|
@@ -231,7 +250,7 @@
|
|
231
250
|
right: 2rem;
|
232
251
|
bottom: 1rem;
|
233
252
|
width: unset;
|
234
|
-
&.mobile{
|
253
|
+
&.mobile {
|
235
254
|
top: 1rem;
|
236
255
|
right: 1rem;
|
237
256
|
bottom: auto;
|
@@ -50,20 +50,18 @@
|
|
50
50
|
<style lang="scss" scoped>
|
51
51
|
.vcs-oblique-orientation {
|
52
52
|
box-shadow: rgba(0, 0, 0, 0.15) 0 2px 2px 0;
|
53
|
-
.inner{
|
53
|
+
.inner {
|
54
54
|
box-shadow: rgba(0, 0, 0, 0.25) 0 -2px 2px 0 inset;
|
55
55
|
}
|
56
56
|
::v-deep {
|
57
|
-
.btn-orientation-tools{
|
58
|
-
&:first-child{
|
57
|
+
.btn-orientation-tools {
|
58
|
+
&:first-child {
|
59
59
|
box-shadow: rgba(0, 0, 0, 0.25) 2px 2px 1px -2px,
|
60
|
-
|
61
|
-
rgba(0, 0, 0, 0.12) 0 1px 1px 0 !important;
|
60
|
+
rgba(0, 0, 0, 0.02) -3px 2px 2px 0, rgba(0, 0, 0, 0.12) 0 1px 1px 0 !important;
|
62
61
|
}
|
63
|
-
&:last-child{
|
62
|
+
&:last-child {
|
64
63
|
box-shadow: rgba(0, 0, 0, 0.02) 1px 4px 1px -2px,
|
65
|
-
|
66
|
-
rgba(0, 0, 0, 0.1) 1px 1px 1px 0 !important;
|
64
|
+
rgba(0, 0, 0, 0.02) 1px 2px 1px 0, rgba(0, 0, 0, 0.1) 1px 1px 1px 0 !important;
|
67
65
|
}
|
68
66
|
}
|
69
67
|
}
|
@@ -1,25 +1,22 @@
|
|
1
1
|
<template>
|
2
|
-
<VcsTooltip
|
3
|
-
:tooltip-position="tooltipPosition"
|
4
|
-
:tooltip="tooltip"
|
5
|
-
>
|
2
|
+
<VcsTooltip :tooltip-position="tooltipPosition" :tooltip="tooltip">
|
6
3
|
<template #activator="{ on, attrs }">
|
7
4
|
<v-card
|
8
5
|
class="h-8 w-8 d-flex align-center justify-center text-center btn-orientation-tools"
|
9
6
|
v-bind="{ ...$attrs, ...attrs }"
|
10
7
|
v-on="{ ...$listeners, ...on }"
|
11
8
|
>
|
12
|
-
<v-icon
|
9
|
+
<v-icon size="16">{{ icon }}</v-icon>
|
13
10
|
</v-card>
|
14
11
|
</template>
|
15
12
|
</VcsTooltip>
|
16
13
|
</template>
|
17
14
|
<style lang="scss" scoped>
|
18
|
-
.btn-orientation-tools{
|
19
|
-
|
20
|
-
|
15
|
+
.btn-orientation-tools {
|
16
|
+
&:before {
|
17
|
+
background-color: transparent !important;
|
18
|
+
}
|
21
19
|
}
|
22
|
-
}
|
23
20
|
</style>
|
24
21
|
<script>
|
25
22
|
import { VCard, VIcon } from 'vuetify/lib';
|
@@ -20,7 +20,10 @@ import VectorSource from 'ol/source/Vector.js';
|
|
20
20
|
import { Icon } from 'ol/style.js';
|
21
21
|
import { WindowSlot } from '../manager/window/windowManager.js';
|
22
22
|
import OverviewMapClickedInteraction from './overviewMapClickedInteraction.js';
|
23
|
-
import {
|
23
|
+
import {
|
24
|
+
getDefaultPrimaryColor,
|
25
|
+
getColorByKey,
|
26
|
+
} from '../vuePlugins/vuetify.js';
|
24
27
|
import { vcsAppSymbol } from '../pluginHelper.js';
|
25
28
|
import VcsMap from '../application/VcsMap.vue';
|
26
29
|
|
@@ -52,7 +55,27 @@ export function getWindowComponentOptions() {
|
|
52
55
|
*/
|
53
56
|
function getCameraIcon(color) {
|
54
57
|
return {
|
55
|
-
src: `data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22121.58616%22%20height%3D%2274.204994%22%20viewBox%3D%220%200%2032.169671%2019.633405%22%20version%3D%221.1%22%20id%3D%22svg216%22%3E%3Cdefs%20id%3D%22defs213%22%3E%3ClinearGradient%20id%3D%221-0%22%20x1%3D%2240.529999%22%20y1%3D%2248.970001%22%20x2%3D%2240.529999%22%20y2%3D%220.25%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22${encodeURIComponent(
|
58
|
+
src: `data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22121.58616%22%20height%3D%2274.204994%22%20viewBox%3D%220%200%2032.169671%2019.633405%22%20version%3D%221.1%22%20id%3D%22svg216%22%3E%3Cdefs%20id%3D%22defs213%22%3E%3ClinearGradient%20id%3D%221-0%22%20x1%3D%2240.529999%22%20y1%3D%2248.970001%22%20x2%3D%2240.529999%22%20y2%3D%220.25%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22${encodeURIComponent(
|
59
|
+
color,
|
60
|
+
)}%22%20id%3D%22stop399%22%2F%3E%3Cstop%20offset%3D%22.46%22%20stop-color%3D%22${encodeURIComponent(
|
61
|
+
color,
|
62
|
+
)}%22%20stop-opacity%3D%22.60%22%20id%3D%22stop401%22%2F%3E%3Cstop%20offset%3D%22.65%22%20stop-color%3D%22${encodeURIComponent(
|
63
|
+
color,
|
64
|
+
)}%22%20stop-opacity%3D%22.40%22%20id%3D%22stop403%22%2F%3E%3Cstop%20offset%3D%22.83%22%20stop-color%3D%22${encodeURIComponent(
|
65
|
+
color,
|
66
|
+
)}%22%20stop-opacity%3D%22.20%22%20id%3D%22stop405%22%2F%3E%3Cstop%20offset%3D%22.89%22%20stop-color%3D%22${encodeURIComponent(
|
67
|
+
color,
|
68
|
+
)}%22%20stop-opacity%3D%22.15%22%20id%3D%22stop407%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22transparent%22%20stop-opacity%3D%220%22%20id%3D%22stop409%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%222-9%22%20x1%3D%2240.529999%22%20y1%3D%2249.369999%22%20x2%3D%2240.529999%22%20y2%3D%220%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%22.24%22%20stop-color%3D%22${encodeURIComponent(
|
69
|
+
color,
|
70
|
+
)}%22%20id%3D%22stop412%22%2F%3E%3Cstop%20offset%3D%22.38%22%20stop-color%3D%22${encodeURIComponent(
|
71
|
+
color,
|
72
|
+
)}%22%20stop-opacity%3D%22.93%22%20id%3D%22stop414%22%2F%3E%3Cstop%20offset%3D%22.57%22%20stop-color%3D%22${encodeURIComponent(
|
73
|
+
color,
|
74
|
+
)}%22%20stop-opacity%3D%22.70%22%20id%3D%22stop416%22%2F%3E%3Cstop%20offset%3D%22.78%22%20stop-color%3D%22${encodeURIComponent(
|
75
|
+
color,
|
76
|
+
)}%22%20stop-opacity%3D%22.38%22%20id%3D%22stop418%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22transparent%22%20stop-opacity%3D%220%22%20id%3D%22stop420%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20id%3D%22layer1%22%20transform%3D%22translate(5.3616118%2C3.2722342)%22%3E%3Cpolygon%20points%3D%220.53%2C0.25%2040.53%2C48.97%2080.53%2C0.25%20%22%20fill%3D%22url(%231)%22%20stroke%3D%22url(%232)%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%220.5px%22%20id%3D%22polygon425%22%20style%3D%22fill%3Aurl(%231-0)%3Bstroke%3Aurl(%232-9)%22%20transform%3D%22matrix(0.396875%2C0%2C0%2C0.396875%2C-5.3621201%2C-3.2722342)%22%2F%3E%3Ccircle%20cx%3D%2210.723224%22%20cy%3D%2213.781484%22%20r%3D%222.3812499%22%20fill%3D%22${encodeURIComponent(
|
77
|
+
color,
|
78
|
+
)}%22%20stroke%3D%22%23ffffff%22%20stroke-miterlimit%3D%2210%22%20id%3D%22circle427%22%20style%3D%22stroke-width%3A0.396874%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E`,
|
56
79
|
color,
|
57
80
|
};
|
58
81
|
}
|
@@ -111,22 +134,10 @@ class OverviewMap {
|
|
111
134
|
*/
|
112
135
|
this._obliqueSelectedImageLayer = null;
|
113
136
|
|
114
|
-
const primary =
|
137
|
+
const primary =
|
138
|
+
app.uiConfig.config.value.primaryColor ?? getDefaultPrimaryColor();
|
115
139
|
const fillColor = Color.fromCssColorString('#EDEDED');
|
116
140
|
|
117
|
-
/**
|
118
|
-
* @type {VectorStyleItem}
|
119
|
-
*/
|
120
|
-
this.obliqueUnselectedStyle = new VectorStyleItem({
|
121
|
-
fill: {
|
122
|
-
color: fillColor.withAlpha(0.1).toCssColorString(),
|
123
|
-
},
|
124
|
-
stroke: {
|
125
|
-
color: primary,
|
126
|
-
width: 1,
|
127
|
-
},
|
128
|
-
});
|
129
|
-
|
130
141
|
/**
|
131
142
|
* @type {VectorStyleItem}
|
132
143
|
*/
|
@@ -228,7 +239,9 @@ class OverviewMap {
|
|
228
239
|
this._map.layerCollection.remove(clone);
|
229
240
|
}
|
230
241
|
}),
|
231
|
-
this._app.themeChanged.addEventListener(
|
242
|
+
this._app.themeChanged.addEventListener(
|
243
|
+
this._updatePrimaryColor.bind(this),
|
244
|
+
),
|
232
245
|
];
|
233
246
|
}
|
234
247
|
|
@@ -269,15 +282,14 @@ class OverviewMap {
|
|
269
282
|
*/
|
270
283
|
_updatePrimaryColor() {
|
271
284
|
const color = getColorByKey('primary');
|
272
|
-
this.obliqueUnselectedStyle?.stroke?.setColor(color);
|
273
285
|
this.obliqueSelectedStyle?.stroke?.setColor(color);
|
274
|
-
this._obliqueTileLayer?.forceRedraw?.();
|
275
|
-
this._obliqueImageLayer?.forceRedraw?.();
|
276
286
|
this._obliqueSelectedImageLayer?.forceRedraw?.();
|
277
287
|
const rotation = this.cameraIconStyle.image.getRotation();
|
278
288
|
this.cameraIconStyle.image = new Icon(getCameraIcon(color));
|
279
289
|
this.cameraIconStyle.image.setRotation(rotation);
|
280
|
-
this._cameraIconLayer
|
290
|
+
this._cameraIconLayer
|
291
|
+
?.getFeatureById('cameraFeature')
|
292
|
+
?.setStyle(this.cameraIconStyle.style);
|
281
293
|
}
|
282
294
|
|
283
295
|
/**
|
@@ -288,9 +300,10 @@ class OverviewMap {
|
|
288
300
|
const overviewMapClickedInteraction = new OverviewMapClickedInteraction();
|
289
301
|
this._mapClicked = overviewMapClickedInteraction.mapClicked;
|
290
302
|
this._eventHandler.addPersistentInteraction(overviewMapClickedInteraction);
|
291
|
-
this._mapPointerListener =
|
292
|
-
this.
|
293
|
-
|
303
|
+
this._mapPointerListener =
|
304
|
+
this._map.pointerInteractionEvent.addEventListener((e) => {
|
305
|
+
this._eventHandler.handleMapEvent(e);
|
306
|
+
});
|
294
307
|
}
|
295
308
|
|
296
309
|
/**
|
@@ -306,11 +319,13 @@ class OverviewMap {
|
|
306
319
|
this._map.setTarget('overview-map-container');
|
307
320
|
this._map.target?.firstChild?.classList?.add('overviewMapElement');
|
308
321
|
if (!this._active) {
|
309
|
-
this._mapActivatedListener = this._app.maps.mapActivated.addEventListener(
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
322
|
+
this._mapActivatedListener = this._app.maps.mapActivated.addEventListener(
|
323
|
+
() => {
|
324
|
+
this._clearListeners();
|
325
|
+
this._cachedViewpoint = null;
|
326
|
+
this._activate();
|
327
|
+
},
|
328
|
+
);
|
314
329
|
}
|
315
330
|
this._active = true;
|
316
331
|
const { activeMap } = this._app.maps;
|
@@ -356,7 +371,9 @@ class OverviewMap {
|
|
356
371
|
this._syncCameraViewAndFeature();
|
357
372
|
}
|
358
373
|
const navRemover = this._addNavigationListener(map);
|
359
|
-
const prRemover = map.postRender.addEventListener(
|
374
|
+
const prRemover = map.postRender.addEventListener(
|
375
|
+
this._syncCameraViewAndFeature.bind(this),
|
376
|
+
);
|
360
377
|
const cleanupTasks = () => {
|
361
378
|
prRemover();
|
362
379
|
navRemover();
|
@@ -379,8 +396,10 @@ class OverviewMap {
|
|
379
396
|
if (e.feature) {
|
380
397
|
const id = e.feature.getId().toString();
|
381
398
|
if (this._obliqueTileLayer.getFeatureById(id)) {
|
382
|
-
const image = await obliqueMap.collection
|
383
|
-
|
399
|
+
const image = await obliqueMap.collection.loadImageForCoordinate(
|
400
|
+
e.positionOrPixel,
|
401
|
+
this._obliqueViewDirection,
|
402
|
+
);
|
384
403
|
if (image) {
|
385
404
|
await obliqueMap.setImageByName(image.name);
|
386
405
|
}
|
@@ -392,8 +411,12 @@ class OverviewMap {
|
|
392
411
|
|
393
412
|
const listeners = [
|
394
413
|
mapClickedListener,
|
395
|
-
obliqueMap.imageChanged.addEventListener(
|
396
|
-
|
414
|
+
obliqueMap.imageChanged.addEventListener(
|
415
|
+
this._obliqueImageChange.bind(this),
|
416
|
+
),
|
417
|
+
obliqueMap.collectionChanged.addEventListener(
|
418
|
+
this._obliqueCollectionChanged.bind(this),
|
419
|
+
),
|
397
420
|
];
|
398
421
|
|
399
422
|
const prUnKey = this._map.olMap.once('postrender', () => {
|
@@ -406,7 +429,9 @@ class OverviewMap {
|
|
406
429
|
this._obliqueImageLayer.deactivate();
|
407
430
|
this._obliqueSelectedImageLayer.deactivate();
|
408
431
|
unByKey(prUnKey);
|
409
|
-
listeners.forEach((l) => {
|
432
|
+
listeners.forEach((l) => {
|
433
|
+
l();
|
434
|
+
});
|
410
435
|
};
|
411
436
|
this._listeners.push(cleanupTasks);
|
412
437
|
await this._obliqueTileLayer.activate();
|
@@ -455,10 +480,13 @@ class OverviewMap {
|
|
455
480
|
* @private
|
456
481
|
*/
|
457
482
|
_setupObliqueLayers() {
|
483
|
+
const almostTransparentStyle = new VectorStyleItem({
|
484
|
+
fill: { color: 'rgba(0, 0, 0, 0.000001)' },
|
485
|
+
});
|
458
486
|
const obliqueTileStyle = new VectorStyleItem({});
|
459
487
|
obliqueTileStyle.style = (feature) => {
|
460
488
|
if (feature.get('state') === DataState.PENDING) {
|
461
|
-
return
|
489
|
+
return almostTransparentStyle.style;
|
462
490
|
}
|
463
491
|
return emptyStyle;
|
464
492
|
};
|
@@ -472,7 +500,7 @@ class OverviewMap {
|
|
472
500
|
const obliqueImageStyle = new VectorStyleItem({});
|
473
501
|
obliqueImageStyle.style = (feature) => {
|
474
502
|
if (feature.get('viewDirection') === this._obliqueViewDirection) {
|
475
|
-
return
|
503
|
+
return almostTransparentStyle.style;
|
476
504
|
}
|
477
505
|
return emptyStyle;
|
478
506
|
};
|
@@ -522,7 +550,11 @@ class OverviewMap {
|
|
522
550
|
*/
|
523
551
|
_syncCameraViewAndFeature() {
|
524
552
|
const viewpoint = this._app.maps.activeMap?.getViewpointSync();
|
525
|
-
if (
|
553
|
+
if (
|
554
|
+
!viewpoint ||
|
555
|
+
!viewpoint.isValid() ||
|
556
|
+
viewpoint.equals(this._cachedViewpoint)
|
557
|
+
) {
|
526
558
|
return;
|
527
559
|
}
|
528
560
|
this._cachedViewpoint = viewpoint.clone();
|
@@ -569,13 +601,13 @@ class OverviewMap {
|
|
569
601
|
* @private
|
570
602
|
*/
|
571
603
|
_clearListeners() {
|
572
|
-
this._listeners.forEach(cb => cb());
|
604
|
+
this._listeners.forEach((cb) => cb());
|
573
605
|
this._listeners.splice(0);
|
574
606
|
}
|
575
607
|
|
576
608
|
destroy() {
|
577
609
|
this._clearListeners();
|
578
|
-
this._collectionListeners.forEach(cb => cb());
|
610
|
+
this._collectionListeners.forEach((cb) => cb());
|
579
611
|
this._collectionListeners = [];
|
580
612
|
if (this._mapPointerListener) {
|
581
613
|
this._mapPointerListener();
|
@@ -607,7 +639,6 @@ class OverviewMap {
|
|
607
639
|
this._eventHandler.destroy();
|
608
640
|
}
|
609
641
|
this.cameraIconStyle.destroy();
|
610
|
-
this.obliqueUnselectedStyle.destroy();
|
611
642
|
this.obliqueSelectedStyle.destroy();
|
612
643
|
this._cachedViewpoint = null;
|
613
644
|
this._mapClicked = null;
|
@@ -4,11 +4,7 @@
|
|
4
4
|
tooltip-position="left"
|
5
5
|
>
|
6
6
|
<template #activator="{ on, attrs }">
|
7
|
-
<v-card
|
8
|
-
class="w-8"
|
9
|
-
v-on="on"
|
10
|
-
v-bind="attrs"
|
11
|
-
>
|
7
|
+
<v-card class="w-8" v-on="on" v-bind="attrs">
|
12
8
|
<v-slider
|
13
9
|
track-color="base lighten-3"
|
14
10
|
v-model="tilt"
|
@@ -24,21 +20,21 @@
|
|
24
20
|
</template>
|
25
21
|
<style lang="scss" scoped>
|
26
22
|
@import '../styles/shades.scss';
|
27
|
-
.vcs-slider{
|
23
|
+
.vcs-slider {
|
28
24
|
::v-deep {
|
29
25
|
.v-slider {
|
30
26
|
min-height: 48px;
|
31
27
|
margin-top: 8px;
|
32
28
|
margin-bottom: 8px;
|
33
29
|
}
|
34
|
-
.v-slider__thumb{
|
30
|
+
.v-slider__thumb {
|
35
31
|
cursor: pointer;
|
36
32
|
border-radius: 3px;
|
37
33
|
width: 16px;
|
38
34
|
height: 4px;
|
39
35
|
border: 0;
|
40
36
|
left: -8px;
|
41
|
-
&:before{
|
37
|
+
&:before {
|
42
38
|
background-color: transparent;
|
43
39
|
}
|
44
40
|
}
|
@@ -47,7 +43,7 @@
|
|
47
43
|
.v-application .theme--light.vcs-slider {
|
48
44
|
::v-deep {
|
49
45
|
.v-slider {
|
50
|
-
.v-slider__track-container{
|
46
|
+
.v-slider__track-container {
|
51
47
|
.v-slider__track-fill {
|
52
48
|
background-color: map-get($shades, 'black') !important;
|
53
49
|
}
|
@@ -61,7 +57,7 @@
|
|
61
57
|
.v-application .theme--dark.vcs-slider {
|
62
58
|
::v-deep {
|
63
59
|
.v-slider {
|
64
|
-
.v-slider__track-container{
|
60
|
+
.v-slider__track-container {
|
65
61
|
.v-slider__track-fill {
|
66
62
|
background-color: map-get($shades, 'white') !important;
|
67
63
|
}
|
@@ -4,14 +4,7 @@
|
|
4
4
|
transform: `rotate(${compassRotation}deg)`,
|
5
5
|
}"
|
6
6
|
@click="$emit('input', 0)"
|
7
|
-
class="
|
8
|
-
h-16 w-16
|
9
|
-
d-flex flex-column justify-center align-center
|
10
|
-
position-relative
|
11
|
-
rounded-circle
|
12
|
-
user-select-none
|
13
|
-
transition-transform-200-ease
|
14
|
-
"
|
7
|
+
class="h-16 w-16 d-flex flex-column justify-center align-center position-relative rounded-circle user-select-none transition-transform-200-ease"
|
15
8
|
elevation="1"
|
16
9
|
>
|
17
10
|
<span>N</span>
|
@@ -25,7 +18,6 @@
|
|
25
18
|
</v-sheet>
|
26
19
|
</template>
|
27
20
|
|
28
|
-
|
29
21
|
<script>
|
30
22
|
import { computed, ref } from 'vue';
|
31
23
|
|
@@ -30,24 +30,23 @@
|
|
30
30
|
};
|
31
31
|
</script>
|
32
32
|
<style lang="scss" scoped>
|
33
|
-
.vcs-navigation-zoom {
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
33
|
+
.vcs-navigation-zoom {
|
34
|
+
box-shadow: rgba(0, 0, 0, 0.1) 0 2px 2px 0;
|
35
|
+
.inner {
|
36
|
+
box-shadow: rgba(0, 0, 0, 0.25) 0 0 10px 0 inset;
|
37
|
+
}
|
38
|
+
::v-deep {
|
39
|
+
.btn-orientation-tools {
|
40
|
+
&:first-child {
|
41
|
+
box-shadow: rgba(0, 0, 0, 0.25) -2px 2px 1px -2px,
|
42
|
+
rgba(0, 0, 0, 0.08) 1px 0 0 0, rgba(0, 0, 0, 0.05) -1px 1px 1px 1px !important;
|
43
|
+
}
|
44
|
+
&:last-child {
|
45
|
+
box-shadow: rgba(0, 0, 0, 0.25) -2px 3px 1px -2px,
|
46
|
+
rgba(0, 0, 0, 0.08) 1px 4px 2px 0,
|
47
|
+
rgba(0, 0, 0, 0.05) -1px 1px 1px 1px !important;
|
48
|
+
}
|
49
49
|
}
|
50
50
|
}
|
51
51
|
}
|
52
|
-
}
|
53
52
|
</style>
|
package/src/notifier/notifier.js
CHANGED
@@ -36,22 +36,29 @@ export const NotificationType = {
|
|
36
36
|
* @returns {Notification}
|
37
37
|
*/
|
38
38
|
function createNotification(options, notifier) {
|
39
|
-
const {
|
40
|
-
type,
|
41
|
-
title,
|
42
|
-
message,
|
43
|
-
timeout,
|
44
|
-
} = options;
|
39
|
+
const { type, title, message, timeout } = options;
|
45
40
|
const id = uuidv4();
|
46
41
|
const open = ref(true);
|
47
42
|
|
48
43
|
return {
|
49
|
-
get id() {
|
50
|
-
|
51
|
-
|
52
|
-
get
|
53
|
-
|
54
|
-
|
44
|
+
get id() {
|
45
|
+
return id;
|
46
|
+
},
|
47
|
+
get type() {
|
48
|
+
return type;
|
49
|
+
},
|
50
|
+
get title() {
|
51
|
+
return title;
|
52
|
+
},
|
53
|
+
get message() {
|
54
|
+
return message;
|
55
|
+
},
|
56
|
+
get timeout() {
|
57
|
+
return timeout ?? 5000;
|
58
|
+
},
|
59
|
+
get open() {
|
60
|
+
return open;
|
61
|
+
},
|
55
62
|
set open(value) {
|
56
63
|
open.value = value?.value ?? value; // when used as a v-model, this is set as a boolean
|
57
64
|
if (!open.value) {
|
@@ -105,7 +112,9 @@ class Notifier {
|
|
105
112
|
*/
|
106
113
|
remove(notification) {
|
107
114
|
// reassign to trigger update
|
108
|
-
this._notifications.value = this._notifications.value.filter(
|
115
|
+
this._notifications.value = this._notifications.value.filter(
|
116
|
+
(n) => n !== notification,
|
117
|
+
);
|
109
118
|
}
|
110
119
|
|
111
120
|
/**
|