@vcmap/ui 5.0.0-rc.23 → 5.0.0-rc.25
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 +302 -174
- package/build/buildCesium.js +32 -19
- package/build/buildHelpers.js +267 -94
- package/build/buildPreview.js +7 -4
- package/build/bundle.js +56 -0
- package/build/commonViteConfig.js +2 -4
- 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 +100 -248
- package/config/codes.config.json +3 -1
- package/config/dev.config.json +34 -14
- package/config/graphFeatureInfo.config.json +55 -16
- package/config/projects.config.json +5 -2
- package/config/www.config.json +174 -333
- package/dist/assets/@mdi/font/LICENSE +20 -0
- package/dist/assets/@mdi/font/css/materialdesignicons.css.map +16 -0
- package/dist/assets/@mdi/font/css/materialdesignicons.min.e3f476.css +3 -0
- package/dist/assets/@mdi/font/fonts/materialdesignicons-webfont.woff2 +0 -0
- 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-4140c51f.js} +3 -3
- package/dist/assets/cesium/Workers/{BoundingRectangle-be5924f4.js → BoundingRectangle-c714b156.js} +18 -18
- package/dist/assets/cesium/Workers/{BoxGeometry-12eeccaf.js → BoxGeometry-6f3da43d.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-8a565ff2.js} +63 -63
- package/dist/assets/cesium/Workers/{ComponentDatatype-f7b11d02.js → ComponentDatatype-cf1fa08e.js} +16 -16
- package/dist/assets/cesium/Workers/{CoplanarPolygonGeometryLibrary-3272c1b3.js → CoplanarPolygonGeometryLibrary-4b4d4096.js} +1 -1
- package/dist/assets/cesium/Workers/{CorridorGeometryLibrary-0170e093.js → CorridorGeometryLibrary-7b94502b.js} +1 -1
- package/dist/assets/cesium/Workers/{CylinderGeometry-7c5da648.js → CylinderGeometry-ca070b87.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-122e51fa.js} +20 -20
- package/dist/assets/cesium/Workers/{EllipseGeometryLibrary-2939e1dc.js → EllipseGeometryLibrary-4d326efc.js} +1 -1
- package/dist/assets/cesium/Workers/{EllipseOutlineGeometry-8b50870f.js → EllipseOutlineGeometry-16cc2bd7.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-cb148ca2.js} +14 -14
- package/dist/assets/cesium/Workers/{EllipsoidOutlineGeometry-eff247c8.js → EllipsoidOutlineGeometry-0fa10c79.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-6dd1b7af.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-ee73037c.js} +139 -111
- package/dist/assets/cesium/Workers/{GeometryAttribute-7d6f1732.js → GeometryAttribute-ff5b4fb1.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-1f8fbf05.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-70d39ba9.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-159cf1d6.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-076a5d25.js} +6 -6
- package/dist/assets/cesium/Workers/PolygonPipeline-b9f2810a.js +1344 -0
- package/dist/assets/cesium/Workers/{PolylinePipeline-32f36d2a.js → PolylinePipeline-639192e0.js} +16 -16
- package/dist/assets/cesium/Workers/{PolylineVolumeGeometryLibrary-a510d657.js → PolylineVolumeGeometryLibrary-b73549fb.js} +7 -7
- package/dist/assets/cesium/Workers/{PrimitivePipeline-ba38434a.js → PrimitivePipeline-10ede1b6.js} +6 -6
- package/dist/assets/cesium/Workers/{RectangleGeometryLibrary-bdba697e.js → RectangleGeometryLibrary-c35a7356.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-668d242f.js} +30 -30
- package/dist/assets/cesium/Workers/Transforms-a2a85221.js +14712 -0
- package/dist/assets/cesium/Workers/{VertexFormat-6b480673.js → VertexFormat-030f11ff.js} +14 -14
- package/dist/assets/cesium/Workers/{WallGeometryLibrary-919eed92.js → WallGeometryLibrary-1938bf0d.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.1457fa.js} +155448 -127152
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/core.47836f.js +19060 -0
- package/dist/assets/core.js +1 -1
- package/dist/assets/index-bb372634.js +1 -0
- package/dist/assets/{ol.d2cba3.js → ol.9e4d23.js} +28380 -13095
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui.6ed89d.css +5 -0
- package/dist/assets/ui.6ed89d.js +13461 -0
- package/dist/assets/ui.js +1 -1
- package/dist/assets/{vue.5d00e9.js → vue.7327e4.js} +834 -598
- package/dist/assets/vue.js +2 -2
- package/dist/assets/{vuetify.2f1432.css → vuetify.d2131d.css} +2 -2
- package/dist/assets/{vuetify.2f1432.js → vuetify.d2131d.js} +343 -103
- package/dist/assets/vuetify.js +2 -2
- package/dist/index.html +28 -7
- package/index.html +35 -7
- package/index.js +82 -17
- package/lib/cesium.js +1 -1
- package/lib/core.js +1 -1
- package/lib/olLib.js +19 -16
- package/lib/ui.js +1 -1
- package/lib/vue.js +2 -2
- package/lib/vuetify.js +2 -2
- package/package.json +29 -19
- package/plugins/.eslintrc +9 -0
- package/plugins/@vcmap/create-link/fallbackCreateLink.vue +13 -11
- 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 +2 -2
- 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/README.md +2 -1
- package/plugins/@vcmap-show-case/buttons-example/ButtonsExample.vue +87 -46
- package/plugins/@vcmap-show-case/buttons-example/index.js +10 -8
- package/plugins/@vcmap-show-case/category-tester/CategoriesExample.vue +135 -0
- package/plugins/@vcmap-show-case/category-tester/CollectionComponentOptions.vue +209 -0
- package/plugins/@vcmap-show-case/category-tester/index.js +28 -4
- package/plugins/@vcmap-show-case/collection-manager-example/CollectionManagerExample.vue +182 -0
- package/plugins/@vcmap-show-case/collection-manager-example/README.md +3 -0
- package/plugins/@vcmap-show-case/collection-manager-example/index.js +74 -0
- package/plugins/@vcmap-show-case/collection-manager-example/package.json +5 -0
- 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 +109 -121
- 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/switch-map-callback-example/README.md +21 -0
- package/plugins/@vcmap-show-case/switch-map-callback-example/SwitchMapCallback.js +47 -0
- package/plugins/@vcmap-show-case/switch-map-callback-example/config.json +3 -0
- package/plugins/@vcmap-show-case/switch-map-callback-example/index.js +34 -0
- package/plugins/@vcmap-show-case/switch-map-callback-example/package.json +5 -0
- package/plugins/@vcmap-show-case/table-example/DataTableExample.vue +22 -42
- 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/plugins/package.json +3 -1
- package/public/assets/@mdi/font/LICENSE +20 -0
- package/public/assets/@mdi/font/css/materialdesignicons.css.map +16 -0
- package/public/assets/@mdi/font/css/materialdesignicons.min.css +3 -0
- package/public/assets/@mdi/font/fonts/materialdesignicons-webfont.woff2 +0 -0
- package/public/assets/favicon-128.png +0 -0
- package/public/assets/favicon-180.png +0 -0
- package/public/assets/favicon-192.png +0 -0
- package/public/assets/favicon-32.png +0 -0
- package/public/assets/logo-mobile.svg +9 -0
- package/public/assets/logo.svg +26 -0
- package/src/actions/actionHelper.js +49 -11
- package/src/actions/styleSelector.vue +20 -11
- package/src/application/VcsApp.vue +151 -85
- package/src/application/VcsAttributions.vue +25 -11
- package/src/application/VcsAttributionsFooter.vue +12 -10
- package/src/application/VcsMap.vue +9 -5
- package/src/application/VcsNavbar.vue +58 -36
- package/src/application/VcsSettings.vue +5 -12
- package/src/application/attributionsHelper.js +23 -11
- package/src/application/vcsAppWrapper.vue +1 -3
- package/src/callback/activateLayersCallback.js +54 -0
- package/src/callback/applyLayerStyleCallback.js +63 -0
- package/src/callback/deactivateLayersCallback.js +54 -0
- package/src/callback/goToViewpointCallback.js +54 -0
- package/src/callback/vcsCallback.js +66 -0
- package/src/components/buttons/VcsActionButtonList.vue +43 -22
- package/src/components/buttons/VcsButton.vue +50 -116
- package/src/components/buttons/VcsFormButton.vue +178 -0
- package/src/components/buttons/VcsToolButton.vue +161 -0
- package/src/components/form-inputs-controls/VcsCheckbox.vue +6 -7
- package/src/components/form-inputs-controls/VcsDatePicker.vue +66 -21
- package/src/components/form-inputs-controls/VcsFormSection.vue +11 -13
- 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 +32 -15
- package/src/components/form-inputs-controls/VcsSlider.vue +72 -0
- package/src/components/form-inputs-controls/VcsTextArea.vue +21 -14
- package/src/components/form-inputs-controls/VcsTextField.vue +43 -18
- package/src/components/form-inputs-controls/VcsWizard.vue +79 -80
- package/src/components/form-inputs-controls/VcsWizardStep.vue +20 -21
- 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 +211 -100
- package/src/components/lists/VcsTreeview.vue +30 -26
- package/src/components/lists/VcsTreeviewLeaf.vue +23 -23
- 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 -97
- package/src/components/tables/VcsTable.vue +38 -30
- package/src/contentTree/LayerTree.vue +17 -12
- package/src/contentTree/contentTreeCollection.js +49 -23
- package/src/contentTree/contentTreeItem.js +58 -17
- package/src/contentTree/groupContentTreeItem.js +45 -22
- package/src/contentTree/layerContentTreeItem.js +40 -28
- package/src/contentTree/layerGroupContentTreeItem.js +51 -39
- package/src/contentTree/nodeContentTreeItem.js +18 -7
- package/src/contentTree/obliqueCollectionContentTreeItem.js +49 -20
- package/src/contentTree/subContentTreeItem.js +13 -4
- package/src/contentTree/vcsObjectContentTreeItem.js +24 -15
- package/src/contentTree/viewpointContentTreeItem.js +20 -6
- package/src/downloadHelper.js +4 -1
- package/src/featureInfo/AddressBalloonComponent.vue +11 -16
- package/src/featureInfo/BalloonComponent.vue +35 -27
- package/src/featureInfo/abstractFeatureInfoView.js +45 -14
- 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 +102 -73
- package/src/featureInfo/featureInfoInteraction.js +13 -7
- package/src/featureInfo/iframeFeatureInfoView.js +3 -1
- package/src/featureInfo/tableFeatureInfoView.js +15 -5
- package/src/i18n/de.js +5 -2
- package/src/i18n/en.js +5 -2
- package/src/i18n/i18nCollection.js +182 -155
- package/src/init.js +121 -121
- package/src/legend/legendHelper.js +11 -6
- package/src/legend/styleLegendItem.vue +18 -12
- package/src/legend/vcsLegend.vue +16 -18
- package/src/manager/buttonManager.js +21 -3
- package/src/manager/collectionManager/CollectionComponent.vue +142 -0
- package/src/manager/collectionManager/CollectionComponentList.vue +62 -0
- package/src/manager/collectionManager/CollectionComponentProvider.vue +38 -0
- package/src/manager/collectionManager/CollectionManager.vue +43 -0
- package/src/manager/collectionManager/categoryManager.js +83 -0
- package/src/manager/collectionManager/collectionComponent.js +453 -0
- package/src/manager/collectionManager/collectionManager.js +432 -0
- 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 +19 -11
- package/src/manager/toolbox/GroupToolboxComponent.vue +27 -28
- package/src/manager/toolbox/SelectToolboxComponent.vue +42 -44
- package/src/manager/toolbox/ToolboxManager.vue +22 -15
- package/src/manager/toolbox/toolboxManager.js +30 -12
- package/src/manager/window/WindowComponent.vue +18 -21
- package/src/manager/window/WindowComponentHeader.vue +34 -30
- 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 +93 -48
- package/src/navigation/obliqueRotation.vue +6 -8
- package/src/navigation/orientationToolsButton.vue +6 -9
- package/src/navigation/overviewMap.js +79 -42
- 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 -22
- package/src/pluginHelper.js +28 -9
- package/src/search/resultItem.vue +10 -16
- package/src/search/resultsComponent.vue +30 -24
- package/src/search/search.js +36 -19
- package/src/search/searchComponent.vue +27 -19
- package/src/setup.js +9 -9
- package/src/state.js +22 -6
- package/src/styles/_theming.scss +2 -2
- package/src/styles/_typography.scss +2 -3
- package/src/styles/main.scss +8 -0
- 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 +2 -22
- package/src/styles/vcsGrid.scss +9 -0
- package/src/uiConfig.js +3 -1
- package/src/vcsUiApp.js +227 -66
- package/src/vuePlugins/i18n.js +22 -23
- package/src/vuePlugins/vuetify.js +4 -1
- package/dist/assets/cesium/Workers/PolygonPipeline-844aab0a.js +0 -1345
- package/dist/assets/cesium/Workers/Transforms-40229881.js +0 -14696
- package/dist/assets/core.9342a1.js +0 -18431
- package/dist/assets/index.fd041928.js +0 -1
- package/dist/assets/ui.c27597.css +0 -5
- package/dist/assets/ui.c27597.js +0 -17799
- package/plugins/@vcmap-show-case/category-tester/Categories.vue +0 -264
- package/plugins/@vcmap-show-case/category-tester/Category.vue +0 -144
- package/src/manager/categoryManager/CategoryComponent.vue +0 -124
- package/src/manager/categoryManager/CategoryComponentList.vue +0 -57
- package/src/manager/categoryManager/CategoryManager.vue +0 -48
- package/src/manager/categoryManager/categoryManager.js +0 -588
- package/start.js +0 -9
- /package/dist/assets/cesium/Workers/{GeometryOffsetAttribute-04332ce7.js → GeometryOffsetAttribute-9ad0019c.js} +0 -0
- /package/{src/assets/favicon-128.png → dist/assets/favicon-128.4c4ce5.png} +0 -0
- /package/{src/assets/favicon-180.png → dist/assets/favicon-180.5b99c0.png} +0 -0
- /package/{src/assets/favicon-192.png → dist/assets/favicon-192.0e205e.png} +0 -0
- /package/{src/assets/favicon-32.png → dist/assets/favicon-32.6b9add.png} +0 -0
- /package/dist/assets/{favicon.decf54cc.svg → favicon.d5ec97.svg} +0 -0
- /package/dist/assets/font/{TitilliumWeb-Regular.woff2 → TitilliumWeb-Regular.9ca076.woff2} +0 -0
- /package/{src/assets/logo-mobile.svg → dist/assets/logo-mobile.2d10a6.svg} +0 -0
- /package/{src/assets/logo.svg → dist/assets/logo.27089a.svg} +0 -0
- /package/{src → public}/assets/favicon.svg +0 -0
- /package/{src → public}/assets/font/OFL.txt +0 -0
- /package/{src → public}/assets/font/TitilliumWeb-Regular.woff2 +0 -0
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<svg id="VCS_Logo_Color_Mobile" data-name="VCS Logo Color Mobile" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 39">
|
2
|
+
<path d="M65.15,6.98l-12.49,12.52L36.06,2.85c-.55-.55-1.29-.86-2.06-.85h29.09c.77,0,1.51,.31,2.06,.85,1.12,1.12,1.14,2.95,.03,4.09l-.03,.03Zm-12.49,12.52l-16.6,16.65c-1.14,1.14-2.97,1.14-4.11,0-.55-.54-.85-1.29-.85-2.06V4.92c0-.78,.31-1.52,.85-2.06,1.14-1.14,2.97-1.14,4.11,0l16.6,16.65ZM31.09,4.92v29.16c0,.78,.31,1.52,.85,2.06L2.85,6.98c-1.12-1.12-1.14-2.95-.03-4.09l.03-.03c.55-.55,1.29-.86,2.06-.85h29.09c-.77,0-1.51,.31-2.06,.85-.55,.54-.86,1.29-.86,2.06Zm34.06,31.23c-.55,.55-1.29,.86-2.06,.85h-29.09c.77,0,1.51-.31,2.06-.85l16.6-16.64,12.49,12.52c1.12,1.12,1.14,2.95,.03,4.09l-.03,.03Z" style="fill: #fff; isolation: isolate; opacity: .9; stroke: #fff; stroke-miterlimit: 10; stroke-width: 4px;"/>
|
3
|
+
<g>
|
4
|
+
<path id="Path_274" d="M64.99,7.19l-12.43,12.31L36.05,3.14c-.54-.54-1.28-.84-2.05-.84h28.94c.77,0,1.5,.3,2.05,.84,1.12,1.1,1.13,2.9,.03,4.02l-.03,.03Z" style="fill: #86b110; isolation: isolate; opacity: .9;"/>
|
5
|
+
<path id="Path_273" d="M52.56,19.5l-16.52,16.36c-1.13,1.12-2.96,1.12-4.09,0-.54-.54-.85-1.27-.85-2.03V5.17c0-.76,.31-1.49,.85-2.03,1.13-1.12,2.96-1.12,4.09,0l16.52,16.36Z" style="fill: #005434; isolation: isolate; opacity: .9;"/>
|
6
|
+
<path id="Path_272" d="M31.1,5.17v28.66c0,.76,.31,1.49,.85,2.03L3.01,7.19c-1.12-1.1-1.13-2.9-.03-4.02l.03-.03c.55-.54,1.28-.84,2.05-.84h28.94c-.77,0-1.5,.3-2.05,.84-.54,.53-.85,1.26-.85,2.03Z" style="fill: #409d76; isolation: isolate; opacity: .9;"/>
|
7
|
+
<path id="Path_271" d="M64.99,35.86c-.54,.54-1.28,.84-2.05,.84h-28.94c.77,0,1.5-.3,2.05-.84l16.52-16.36,12.43,12.31c1.12,1.1,1.13,2.9,.03,4.02l-.03,.03Z" style="fill: #00a0ba; isolation: isolate; opacity: .9;"/>
|
8
|
+
</g>
|
9
|
+
</svg>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="151" height="35.585" viewBox="0 0 151 35.585">
|
2
|
+
<g id="VCS_Logo_Color" transform="translate(0)">
|
3
|
+
<path id="Path_271" d="M245.674,76.716a3,3,0,0,1-2.116.868H213.62a3,3,0,0,0,2.116-.868l17.085-16.924,12.853,12.731A2.943,2.943,0,0,1,245.674,76.716Z" transform="translate(-180.688 -42)" fill="#00a0ba"/>
|
4
|
+
<path id="Path_272" d="M199.938,38.964V68.618a2.944,2.944,0,0,0,.878,2.1L170.878,41.061a2.943,2.943,0,0,1,0-4.193A3,3,0,0,1,173,36h29.938a3,3,0,0,0-2.117.868A2.943,2.943,0,0,0,199.938,38.964Z" transform="translate(-170 -36)" fill="#409d76"/>
|
5
|
+
<path id="Path_273" d="M231.848,53.792,214.764,70.717a3.014,3.014,0,0,1-4.233,0,2.948,2.948,0,0,1-.879-2.1V38.964a2.945,2.945,0,0,1,.879-2.1,3.014,3.014,0,0,1,4.233,0Z" transform="translate(-179.715 -36)" fill="#005434"/>
|
6
|
+
<path id="Path_274" d="M245.674,41.061,232.821,53.792,215.736,36.868A3,3,0,0,0,213.62,36h29.938a3.005,3.005,0,0,1,2.116.868A2.943,2.943,0,0,1,245.674,41.061Z" transform="translate(-180.688 -36)" fill="#86b110"/>
|
7
|
+
<path id="Path_275" d="M276.469,43.932c.18,0,.23.049.2.259l-1.849,6.874c-.442,1.7-.573,1.914-2.406,1.914-1.7,0-1.85-.2-2.325-1.914l-1.915-6.874c-.033-.211.032-.259.212-.259H270c.131,0,.147.049.214.259l1.7,6.453c.164.568.213.648.492.648.344,0,.409-.081.556-.648l1.653-6.453c.049-.211.082-.259.213-.259Z" transform="translate(-194.05 -38)" fill="#409d76"/>
|
8
|
+
<path id="Path_276" d="M283.025,42.691a.216.216,0,0,1,.245.243v8.48a.216.216,0,0,1-.245.243h-1.49a.216.216,0,0,1-.245-.243v-8.48a.216.216,0,0,1,.245-.243Zm.442-2.561a1.036,1.036,0,0,1-1.179,1.119,1.121,1.121,0,1,1,0-2.237A1.036,1.036,0,0,1,283.467,40.13Z" transform="translate(-197.219 -36.76)" fill="#409d76"/>
|
9
|
+
<path id="Path_277" d="M291.515,44c.164.049.262.114.262.292v.989c0,.179-.1.259-.278.244h-1.49c-.982,0-1.277.162-1.277.875v6.226a.216.216,0,0,1-.245.243H287a.216.216,0,0,1-.245-.243V45.9c0-1.929,1.555-2.075,2.766-2.075A10.535,10.535,0,0,1,291.515,44Z" transform="translate(-198.604 -37.973)" fill="#409d76"/>
|
10
|
+
<path id="Path_278" d="M295.885,40.611c.18-.049.278.049.278.227v2.27h1.62c.164,0,.262.082.262.243v1.022a.232.232,0,0,1-.262.259h-1.62v4.945c0,.713.213.859,1.015.859h.72c.2,0,.278.064.278.227v1.07a.262.262,0,0,1-.245.292,7.384,7.384,0,0,1-1.162.114c-1.277,0-2.6-.032-2.6-1.978V41.243c0-.162.082-.227.229-.259Z" transform="translate(-200.421 -37.159)" fill="#409d76"/>
|
11
|
+
<path id="Path_279" d="M308.785,43.932a.216.216,0,0,1,.245.243v8.269c0,.211-.082.227-.245.259a19.837,19.837,0,0,1-3.65.276c-3.028,0-3.879-.47-3.879-3.859V44.175c0-.162.115-.243.278-.243h1.474c.164,0,.23.082.23.243v4.589c0,2.4.376,2.513,1.915,2.513h1.882v-7.1a.216.216,0,0,1,.245-.243Z" transform="translate(-202.158 -38)" fill="#409d76"/>
|
12
|
+
<path id="Path_280" d="M316.88,49.077c-.867,0-1.261.276-1.261,1.087,0,.924.442,1.151,1.653,1.151a8.923,8.923,0,0,0,1.866-.178V49.077Zm4.239-2.593v5.642a.411.411,0,0,1-.328.47,15.409,15.409,0,0,1-3.683.357c-2.291,0-3.454-.357-3.454-2.707,0-2.059,1.1-2.578,3.11-2.578h2.374v-.844c0-.908-.541-1.3-1.851-1.3H314.6c-.2,0-.246-.049-.246-.243v-.989c0-.194.066-.227.229-.259a14.739,14.739,0,0,1,2.7-.211C320.17,43.824,321.12,44.732,321.12,46.483Z" transform="translate(-205.195 -37.973)" fill="#409d76"/>
|
13
|
+
<path id="Rectangle_510" d="M.325,0h1.33a.325.325,0,0,1,.325.325V12.078a.325.325,0,0,1-.325.325H.326A.326.326,0,0,1,0,12.077V.325A.325.325,0,0,1,.325,0Z" transform="translate(117.969 2.495)" fill="#409d76"/>
|
14
|
+
<path id="Path_281" d="M342.55,44a.262.262,0,0,1,.245.292v.989c0,.162-.082.243-.262.243h-2.57c-1.752,0-1.98.568-1.98,2.854s.229,2.87,1.98,2.87h2.57c.18,0,.262.081.262.243v.989a.263.263,0,0,1-.245.292,17.086,17.086,0,0,1-2.587.179c-3.323,0-3.977-.909-3.977-4.572s.655-4.556,3.977-4.556A16.987,16.987,0,0,1,342.55,44Z" transform="translate(-210.667 -37.973)" fill="#409d76"/>
|
15
|
+
<path id="Path_282" d="M348.821,42.691a.216.216,0,0,1,.245.243v8.48a.216.216,0,0,1-.245.243h-1.49a.216.216,0,0,1-.245-.243v-8.48a.216.216,0,0,1,.245-.243Zm.442-2.561a1.036,1.036,0,0,1-1.179,1.119,1.121,1.121,0,1,1,0-2.237A1.036,1.036,0,0,1,349.263,40.13Z" transform="translate(-213.338 -36.76)" fill="#409d76"/>
|
16
|
+
<path id="Path_283" d="M354.223,40.611c.18-.049.279.049.279.227v2.27h1.62a.228.228,0,0,1,.261.243v1.022a.232.232,0,0,1-.261.259H354.5v4.945c0,.713.212.859,1.015.859h.72c.2,0,.278.064.278.227v1.07a.262.262,0,0,1-.245.292,7.384,7.384,0,0,1-1.162.114c-1.277,0-2.6-.032-2.6-1.978V41.243c0-.162.082-.227.23-.259Z" transform="translate(-214.714 -37.159)" fill="#409d76"/>
|
17
|
+
<path id="Path_284" d="M367.2,43.932a.217.217,0,0,1,.246.243v8.2c-.017,2.821-.573,3.842-3.9,3.842a17.949,17.949,0,0,1-2.766-.179.236.236,0,0,1-.213-.259v-.956c0-.178.066-.243.229-.243h2.636c1.637,0,2.029-.389,2.029-1.67v-.082a12.48,12.48,0,0,1-2.1.147c-3.028,0-3.8-1.022-3.8-4.3V44.175a.216.216,0,0,1,.245-.243h1.49a.216.216,0,0,1,.245.243v4.232c0,2.318.3,2.854,2.128,2.854a13.514,13.514,0,0,0,1.785-.1V44.175a.216.216,0,0,1,.245-.243Z" transform="translate(-216.445 -38)" fill="#409d76"/>
|
18
|
+
<path id="Path_285" d="M275.307,63.735c.164.032.245.114.245.259v.956c0,.162-.082.243-.261.243h-3.012c-.687,0-1.08.211-1.08.713V66.1c0,.389.212.7.9.956l2.145.778a2.183,2.183,0,0,1,1.669,2.367v.211c0,1.849-1.243,2.27-3.388,2.27-1.423,0-2.652-.1-3.191-.146-.2-.016-.245-.1-.245-.243V71.29c0-.179.066-.259.262-.259h3.175c1.1,0,1.441-.129,1.441-.7v-.162c0-.389-.2-.648-.934-.924l-2.16-.81a2.324,2.324,0,0,1-1.637-2.384v-.324c0-1.767,1.473-2.173,3.519-2.173A16.941,16.941,0,0,1,275.307,63.735Z" transform="translate(-194.276 -42.949)" fill="#005434"/>
|
19
|
+
<path id="Path_286" d="M287.859,63.665a.216.216,0,0,1,.245.243v8.2c-.017,2.821-.573,3.842-3.9,3.842a17.956,17.956,0,0,1-2.766-.179.236.236,0,0,1-.213-.259V74.56c0-.178.066-.243.229-.243h2.636c1.637,0,2.03-.389,2.03-1.67v-.081a12.57,12.57,0,0,1-2.1.146c-3.028,0-3.8-1.022-3.8-4.3V63.908a.216.216,0,0,1,.246-.243h1.49a.216.216,0,0,1,.245.243V68.14c0,2.318.294,2.854,2.128,2.854a13.509,13.509,0,0,0,1.784-.1V63.908a.216.216,0,0,1,.246-.243Z" transform="translate(-197.007 -42.977)" fill="#005434"/>
|
20
|
+
<path id="Path_287" d="M299.154,63.735c.164.032.246.114.246.259v.956c0,.162-.082.243-.262.243h-3.012c-.687,0-1.08.211-1.08.713V66.1c0,.389.213.7.9.956l2.144.778a2.184,2.184,0,0,1,1.67,2.367v.211c0,1.849-1.244,2.27-3.388,2.27-1.424,0-2.652-.1-3.192-.146-.2-.016-.245-.1-.245-.243V71.29c0-.179.065-.259.261-.259h3.176c1.1,0,1.44-.129,1.44-.7v-.162c0-.389-.2-.648-.932-.924l-2.161-.81a2.325,2.325,0,0,1-1.637-2.384v-.324c0-1.767,1.473-2.173,3.519-2.173A16.947,16.947,0,0,1,299.154,63.735Z" transform="translate(-200.119 -42.949)" fill="#005434"/>
|
21
|
+
<path id="Path_288" d="M305.925,60.343c.18-.049.279.049.279.227v2.27h1.621a.229.229,0,0,1,.262.243V64.1a.233.233,0,0,1-.262.259H306.2v4.945c0,.713.213.859,1.015.859h.72c.2,0,.278.064.278.227v1.07a.263.263,0,0,1-.245.292,7.466,7.466,0,0,1-1.163.113c-1.277,0-2.6-.032-2.6-1.978V60.975c0-.162.082-.227.229-.259Z" transform="translate(-202.881 -42.136)" fill="#005434"/>
|
22
|
+
<path id="Path_289" d="M312.99,67.463h3.748c-.016-1.751-.376-2.2-1.833-2.2C313.383,65.259,313.006,65.713,312.99,67.463Zm5.746.487v.487c0,.307-.1.437-.557.437H312.99c.049,1.718.442,2.107,2.029,2.107h2.8a.216.216,0,0,1,.245.243v1.006a.246.246,0,0,1-.23.275,20.493,20.493,0,0,1-2.93.178c-3.191,0-3.912-.907-3.912-4.555,0-3.664.72-4.573,3.912-4.573C317.982,63.556,318.7,64.432,318.736,67.95Z" transform="translate(-204.544 -42.949)" fill="#005434"/>
|
23
|
+
<path id="Path_290" d="M335.8,67.134l-.033,5.221c0,.162-.066.243-.23.243h-1.489c-.164,0-.229-.081-.229-.243v-4.6c0-2.4-.376-2.513-1.8-2.513a10.087,10.087,0,0,0-1.636.129,6.5,6.5,0,0,1,.245,2.027l-.032,4.961c0,.179-.066.244-.213.244h-1.506a.217.217,0,0,1-.246-.244V67.426c0-2.091-.408-2.172-1.8-2.172h-1.391v7.1a.216.216,0,0,1-.246.243H323.7c-.164,0-.23-.081-.245-.243V64.07c0-.194.082-.227.245-.259a16.721,16.721,0,0,1,2.914-.259,7.382,7.382,0,0,1,2.815.486,9.167,9.167,0,0,1,2.75-.5C334.884,63.535,335.817,64.07,335.8,67.134Z" transform="translate(-207.598 -42.943)" fill="#005434"/>
|
24
|
+
<path id="Path_291" d="M348.214,63.735c.164.032.245.114.245.259v.956c0,.162-.082.243-.262.243h-3.012c-.688,0-1.08.211-1.08.713V66.1c0,.389.213.7.9.956l2.143.778a2.184,2.184,0,0,1,1.67,2.367v.211c0,1.849-1.244,2.27-3.388,2.27-1.424,0-2.652-.1-3.192-.146-.2-.016-.245-.1-.245-.243V71.29c0-.179.066-.259.262-.259h3.176c1.1,0,1.44-.129,1.44-.7v-.162c0-.389-.2-.648-.932-.924l-2.161-.81a2.325,2.325,0,0,1-1.637-2.384v-.324c0-1.767,1.473-2.173,3.519-2.173A16.956,16.956,0,0,1,348.214,63.735Z" transform="translate(-212.139 -42.949)" fill="#005434"/>
|
25
|
+
</g>
|
26
|
+
</svg>
|
@@ -1,7 +1,11 @@
|
|
1
1
|
import { v4 as uuid } from 'uuid';
|
2
2
|
import { check } from '@vcsuite/check';
|
3
3
|
import {
|
4
|
-
Collection,
|
4
|
+
Collection,
|
5
|
+
Extent,
|
6
|
+
MapCollection,
|
7
|
+
mercatorProjection,
|
8
|
+
Viewpoint,
|
5
9
|
} from '@vcmap/core';
|
6
10
|
import { Feature } from 'ol';
|
7
11
|
import { reactive, ref } from 'vue';
|
@@ -55,7 +59,12 @@ export function createMapButtonAction(actionOptions, mapName, maps) {
|
|
55
59
|
* @param {string|symbol} owner
|
56
60
|
* @returns {{action: VcsAction, destroy: Function}}
|
57
61
|
*/
|
58
|
-
export function createToggleAction(
|
62
|
+
export function createToggleAction(
|
63
|
+
actionOptions,
|
64
|
+
windowComponent,
|
65
|
+
windowManager,
|
66
|
+
owner,
|
67
|
+
) {
|
59
68
|
check(actionOptions, {
|
60
69
|
name: String,
|
61
70
|
icon: [undefined, String],
|
@@ -90,7 +99,11 @@ export function createToggleAction(actionOptions, windowComponent, windowManager
|
|
90
99
|
}),
|
91
100
|
];
|
92
101
|
|
93
|
-
const destroy = () => {
|
102
|
+
const destroy = () => {
|
103
|
+
listeners.forEach((cb) => {
|
104
|
+
cb();
|
105
|
+
});
|
106
|
+
};
|
94
107
|
return { action, destroy };
|
95
108
|
}
|
96
109
|
|
@@ -140,7 +153,9 @@ export function createSearchButtonAction(app) {
|
|
140
153
|
];
|
141
154
|
const destroy = () => {
|
142
155
|
destroyAction();
|
143
|
-
listeners.forEach((cb) => {
|
156
|
+
listeners.forEach((cb) => {
|
157
|
+
cb();
|
158
|
+
});
|
144
159
|
};
|
145
160
|
|
146
161
|
return { searchAction, destroy };
|
@@ -153,7 +168,11 @@ export function createSearchButtonAction(app) {
|
|
153
168
|
* @param {WindowManager} windowManager
|
154
169
|
* @returns {(function(): void)|*}
|
155
170
|
*/
|
156
|
-
export function createOverviewMapAction(
|
171
|
+
export function createOverviewMapAction(
|
172
|
+
overviewMap,
|
173
|
+
windowComponent,
|
174
|
+
windowManager,
|
175
|
+
) {
|
157
176
|
const { action, destroy } = createToggleAction(
|
158
177
|
{
|
159
178
|
name: 'overviewMapToggle',
|
@@ -180,7 +199,9 @@ export function createOverviewMapAction(overviewMap, windowComponent, windowMana
|
|
180
199
|
|
181
200
|
const destroyAction = () => {
|
182
201
|
destroy();
|
183
|
-
listeners.forEach((cb) => {
|
202
|
+
listeners.forEach((cb) => {
|
203
|
+
cb();
|
204
|
+
});
|
184
205
|
};
|
185
206
|
return { action, destroy: destroyAction };
|
186
207
|
}
|
@@ -224,9 +245,13 @@ export function createModalAction(actionOptions, modalComponent, app, owner) {
|
|
224
245
|
callback(event) {
|
225
246
|
if (!this.active) {
|
226
247
|
this.active = true;
|
227
|
-
const { left, top, width } =
|
248
|
+
const { left, top, width } =
|
249
|
+
event.currentTarget.getBoundingClientRect();
|
228
250
|
modalActivator = event.currentTarget;
|
229
|
-
const position = {
|
251
|
+
const position = {
|
252
|
+
...getWindowPositionOptions(left + width, top, app.maps.target),
|
253
|
+
...windowPositionOptions,
|
254
|
+
};
|
230
255
|
const state = { ...modalComponent?.state, hideHeader: true };
|
231
256
|
app.windowManager.add({ position, ...component, id, state }, owner);
|
232
257
|
document.addEventListener('mousedown', handleMouseDown);
|
@@ -247,7 +272,11 @@ export function createModalAction(actionOptions, modalComponent, app, owner) {
|
|
247
272
|
}),
|
248
273
|
];
|
249
274
|
|
250
|
-
const destroy = () => {
|
275
|
+
const destroy = () => {
|
276
|
+
listeners.forEach((cb) => {
|
277
|
+
cb();
|
278
|
+
});
|
279
|
+
};
|
251
280
|
return { action, destroy };
|
252
281
|
}
|
253
282
|
|
@@ -283,7 +312,12 @@ export function createLinkAction(actionOptions, url) {
|
|
283
312
|
* @param {import("@vcmap/core").MapCollection} mapCollection
|
284
313
|
* @returns {VcsAction}
|
285
314
|
*/
|
286
|
-
export function createGoToViewpointAction(
|
315
|
+
export function createGoToViewpointAction(
|
316
|
+
actionOptions,
|
317
|
+
viewpoint,
|
318
|
+
viewpointCollection,
|
319
|
+
mapCollection,
|
320
|
+
) {
|
287
321
|
check(actionOptions, {
|
288
322
|
name: String,
|
289
323
|
icon: [undefined, String],
|
@@ -332,7 +366,11 @@ export function getViewpointFromFeature(feature) {
|
|
332
366
|
* @param {import("@vcmap/core").MapCollection} mapCollection
|
333
367
|
* @returns {VcsAction|null} returns null if the feature does not have a geometry with a valid extent
|
334
368
|
*/
|
335
|
-
export function createZoomToFeatureAction(
|
369
|
+
export function createZoomToFeatureAction(
|
370
|
+
actionOptions,
|
371
|
+
feature,
|
372
|
+
mapCollection,
|
373
|
+
) {
|
336
374
|
check(actionOptions, {
|
337
375
|
name: String,
|
338
376
|
icon: [undefined, String],
|
@@ -6,7 +6,9 @@
|
|
6
6
|
:key="index"
|
7
7
|
@click.stop="select(item.value)"
|
8
8
|
>
|
9
|
-
<v-list-item-title
|
9
|
+
<v-list-item-title
|
10
|
+
:class="{ 'primary--text': item.value === currentStyleName }"
|
11
|
+
>
|
10
12
|
{{ item.text }}
|
11
13
|
</v-list-item-title>
|
12
14
|
</v-list-item>
|
@@ -31,7 +33,13 @@
|
|
31
33
|
<script>
|
32
34
|
import { computed, inject, onUnmounted, ref } from 'vue';
|
33
35
|
import {
|
34
|
-
VChip,
|
36
|
+
VChip,
|
37
|
+
VList,
|
38
|
+
VListItem,
|
39
|
+
VListItemContent,
|
40
|
+
VListItemIcon,
|
41
|
+
VListItemTitle,
|
42
|
+
VSheet,
|
35
43
|
} from 'vuetify/lib';
|
36
44
|
|
37
45
|
export default {
|
@@ -55,11 +63,11 @@
|
|
55
63
|
required: true,
|
56
64
|
},
|
57
65
|
},
|
58
|
-
setup(
|
66
|
+
setup(props, { attrs }) {
|
59
67
|
/** @type {VcsUiApp} */
|
60
68
|
const app = inject('vcsApp');
|
61
69
|
/** @type {import("@vcmap/core").FeatureLayer} */
|
62
|
-
const layer = app.layers.getByKey(layerName);
|
70
|
+
const layer = app.layers.getByKey(props.layerName);
|
63
71
|
const currentStyleName = ref(layer.style.name);
|
64
72
|
const currentStyleLegend = ref([]);
|
65
73
|
const defaultStyle = layer.defaultStyle.name;
|
@@ -72,7 +80,8 @@
|
|
72
80
|
}
|
73
81
|
setStyle(layer.style);
|
74
82
|
// TODO error handling if layer is missing or not a feature layer
|
75
|
-
const styleChangedListener =
|
83
|
+
const styleChangedListener =
|
84
|
+
layer.styleChanged.addEventListener(setStyle);
|
76
85
|
onUnmounted(() => {
|
77
86
|
styleChangedListener();
|
78
87
|
});
|
@@ -80,14 +89,15 @@
|
|
80
89
|
const items = computed(() => {
|
81
90
|
return [
|
82
91
|
{ text: 'Default', value: defaultStyle },
|
83
|
-
...availableStyles.map(s => ({ text: s, value: s })),
|
92
|
+
...props.availableStyles.map((s) => ({ text: s, value: s })),
|
84
93
|
];
|
85
94
|
});
|
86
95
|
|
87
96
|
function select(styleName) {
|
88
|
-
const style =
|
89
|
-
|
90
|
-
|
97
|
+
const style =
|
98
|
+
styleName === defaultStyle
|
99
|
+
? layer.defaultStyle
|
100
|
+
: app.styles.getByKey(styleName);
|
91
101
|
layer.setStyle(style);
|
92
102
|
app.windowManager.remove(attrs['window-state'].id);
|
93
103
|
}
|
@@ -102,5 +112,4 @@
|
|
102
112
|
};
|
103
113
|
</script>
|
104
114
|
|
105
|
-
<style scoped>
|
106
|
-
</style>
|
115
|
+
<style scoped></style>
|
@@ -1,9 +1,20 @@
|
|
1
1
|
<template>
|
2
2
|
<v-container class="fill-height pa-0" absolute fluid>
|
3
3
|
<VcsNavbar />
|
4
|
-
<v-container
|
4
|
+
<v-container
|
5
|
+
class="vcs-main pa-0"
|
6
|
+
:class="{ 'vcs-main-xs': $vuetify.breakpoint.xs }"
|
7
|
+
fluid
|
8
|
+
absolute
|
9
|
+
>
|
5
10
|
<template v-if="$vuetify.breakpoint.xs">
|
6
|
-
<img
|
11
|
+
<img
|
12
|
+
v-if="mobileLogo"
|
13
|
+
:src="mobileLogo"
|
14
|
+
alt="Logo"
|
15
|
+
draggable="false"
|
16
|
+
class="mobile-logo"
|
17
|
+
/>
|
7
18
|
<div v-else class="company-logo-mobile mobile-logo" />
|
8
19
|
</template>
|
9
20
|
<VcsButton
|
@@ -13,53 +24,54 @@
|
|
13
24
|
:icon="attributionAction.icon"
|
14
25
|
:active="attributionAction.active"
|
15
26
|
@click.stop="attributionAction.callback($event)"
|
16
|
-
small
|
17
27
|
class="z-index-1 mobile-attribution-btn"
|
18
28
|
/>
|
19
29
|
<VcsMap :map-id="mapId" />
|
20
|
-
<MapNavigation />
|
30
|
+
<MapNavigation v-if="showMapNavigation" />
|
21
31
|
<ToolboxManagerComponent />
|
22
32
|
<WindowManagerComponent />
|
23
33
|
<NotifierComponent />
|
24
34
|
</v-container>
|
25
35
|
<v-footer absolute v-if="$vuetify.breakpoint.smAndUp" min-height="22px">
|
26
|
-
<VcsAttributionsFooter
|
36
|
+
<VcsAttributionsFooter
|
37
|
+
:entries="attributionEntries"
|
38
|
+
:attribution-action="attributionAction"
|
39
|
+
/>
|
27
40
|
</v-footer>
|
28
41
|
</v-container>
|
29
42
|
</template>
|
30
43
|
|
31
44
|
<style scoped lang="scss">
|
32
|
-
::v-deep .v-application--wrap {
|
33
|
-
|
34
|
-
}
|
35
|
-
.vcs-main {
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
}
|
42
|
-
|
43
|
-
.vcs-main-xs {
|
44
|
-
|
45
|
-
|
46
|
-
}
|
47
|
-
|
48
|
-
.mobile-logo {
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
}
|
56
|
-
|
57
|
-
.mobile-attribution-btn{
|
58
|
-
position: fixed;
|
59
|
-
right: 2px;
|
60
|
-
bottom: 56px;
|
61
|
-
}
|
45
|
+
::v-deep .v-application--wrap {
|
46
|
+
min-height: fit-content;
|
47
|
+
}
|
48
|
+
.vcs-main {
|
49
|
+
position: absolute;
|
50
|
+
top: 48px;
|
51
|
+
left: 0;
|
52
|
+
right: 0;
|
53
|
+
bottom: 22px;
|
54
|
+
}
|
55
|
+
|
56
|
+
.vcs-main-xs {
|
57
|
+
top: 0;
|
58
|
+
bottom: 56px;
|
59
|
+
}
|
60
|
+
|
61
|
+
.mobile-logo {
|
62
|
+
max-height: 40px;
|
63
|
+
max-width: 70px;
|
64
|
+
position: absolute;
|
65
|
+
top: 1rem;
|
66
|
+
left: 1rem;
|
67
|
+
z-index: 1;
|
68
|
+
}
|
62
69
|
|
70
|
+
.mobile-attribution-btn {
|
71
|
+
position: fixed;
|
72
|
+
right: 2px;
|
73
|
+
bottom: 56px;
|
74
|
+
}
|
63
75
|
</style>
|
64
76
|
|
65
77
|
<script>
|
@@ -69,7 +81,9 @@
|
|
69
81
|
getCurrentInstance,
|
70
82
|
onMounted,
|
71
83
|
onUnmounted,
|
72
|
-
provide,
|
84
|
+
provide,
|
85
|
+
ref,
|
86
|
+
watch,
|
73
87
|
} from 'vue';
|
74
88
|
import { getVcsAppById } from '@vcmap/core';
|
75
89
|
import { VContainer, VFooter } from 'vuetify/lib';
|
@@ -80,11 +94,14 @@
|
|
80
94
|
import { vcsAppSymbol } from '../pluginHelper.js';
|
81
95
|
import VcsMap from './VcsMap.vue';
|
82
96
|
import VcsNavbar from './VcsNavbar.vue';
|
83
|
-
import {
|
97
|
+
import {
|
98
|
+
createMapButtonAction,
|
99
|
+
createToggleAction,
|
100
|
+
} from '../actions/actionHelper.js';
|
84
101
|
import MapNavigation from '../navigation/mapNavigation.vue';
|
85
102
|
import VcsSettings from './VcsSettings.vue';
|
86
103
|
import { WindowSlot } from '../manager/window/windowManager.js';
|
87
|
-
import
|
104
|
+
import CollectionManager from '../manager/collectionManager/CollectionManager.vue';
|
88
105
|
import { defaultPrimaryColor } from '../vuePlugins/vuetify.js';
|
89
106
|
import VcsLegend from '../legend/vcsLegend.vue';
|
90
107
|
import { getLegendEntries } from '../legend/legendHelper.js';
|
@@ -112,7 +129,10 @@
|
|
112
129
|
try {
|
113
130
|
plugin.onVcsAppMounted(app);
|
114
131
|
} catch (e) {
|
115
|
-
getLogger('VcsUiApp').error(
|
132
|
+
getLogger('VcsUiApp').error(
|
133
|
+
`Error in plugin ${plugin.name} onVcsAppMounted hook`,
|
134
|
+
e,
|
135
|
+
);
|
116
136
|
}
|
117
137
|
}
|
118
138
|
}
|
@@ -175,7 +195,7 @@
|
|
175
195
|
return () => {
|
176
196
|
mapAddedListener();
|
177
197
|
mapRemovedListener();
|
178
|
-
Object.values(mapButtonActionDestroy).forEach(cb => cb());
|
198
|
+
Object.values(mapButtonActionDestroy).forEach((cb) => cb());
|
179
199
|
};
|
180
200
|
}
|
181
201
|
|
@@ -219,7 +239,7 @@
|
|
219
239
|
action: legendAction,
|
220
240
|
},
|
221
241
|
vcsAppSymbol,
|
222
|
-
ButtonLocation.
|
242
|
+
ButtonLocation.CONTENT,
|
223
243
|
);
|
224
244
|
}
|
225
245
|
};
|
@@ -229,9 +249,12 @@
|
|
229
249
|
* Adds a button, if legend definitions are available or removes legend otherwise.
|
230
250
|
*/
|
231
251
|
const handleLegend = () => {
|
232
|
-
const layersWithLegend = [...app.layers]
|
233
|
-
|
234
|
-
|
252
|
+
const layersWithLegend = [...app.layers].filter(
|
253
|
+
(layer) => layer.style?.properties?.legend ?? layer.properties?.legend,
|
254
|
+
);
|
255
|
+
const stylesWithLegend = [...app.styles].filter(
|
256
|
+
(style) => style?.properties?.legend,
|
257
|
+
);
|
235
258
|
if (layersWithLegend < 1 && stylesWithLegend < 1) {
|
236
259
|
app.navbarManager.remove('legend');
|
237
260
|
app.windowManager.remove('legend');
|
@@ -256,7 +279,7 @@
|
|
256
279
|
return () => {
|
257
280
|
destroy();
|
258
281
|
legendDestroy();
|
259
|
-
listeners.forEach(cb => cb());
|
282
|
+
listeners.forEach((cb) => cb());
|
260
283
|
};
|
261
284
|
}
|
262
285
|
|
@@ -266,21 +289,22 @@
|
|
266
289
|
* @returns {function():void}
|
267
290
|
*/
|
268
291
|
export function setupSettingsWindow(app) {
|
269
|
-
const { action: settingsAction, destroy: settingsDestroy } =
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
292
|
+
const { action: settingsAction, destroy: settingsDestroy } =
|
293
|
+
createToggleAction(
|
294
|
+
{
|
295
|
+
name: 'settings.title',
|
296
|
+
icon: 'mdi-cog',
|
297
|
+
title: 'settings.tooltip',
|
298
|
+
},
|
299
|
+
{
|
300
|
+
id: 'settingsId',
|
301
|
+
component: VcsSettings,
|
302
|
+
state: { headerIcon: 'mdi-cog', headerTitle: 'settings.title' },
|
303
|
+
slot: WindowSlot.DYNAMIC_RIGHT,
|
304
|
+
},
|
305
|
+
app.windowManager,
|
306
|
+
vcsAppSymbol,
|
307
|
+
);
|
284
308
|
app.navbarManager.add(
|
285
309
|
{
|
286
310
|
id: 'settingsToggle',
|
@@ -314,7 +338,10 @@
|
|
314
338
|
headerTitle: 'categoryManager.title',
|
315
339
|
headerIcon: '$vcsComponents',
|
316
340
|
},
|
317
|
-
component:
|
341
|
+
component: CollectionManager,
|
342
|
+
provides: {
|
343
|
+
collectionManager: app.categoryManager,
|
344
|
+
},
|
318
345
|
slot: WindowSlot.STATIC,
|
319
346
|
},
|
320
347
|
app.windowManager,
|
@@ -335,8 +362,10 @@
|
|
335
362
|
app.navbarManager.remove(id);
|
336
363
|
}
|
337
364
|
};
|
338
|
-
const addedListener =
|
339
|
-
|
365
|
+
const addedListener =
|
366
|
+
app.categoryManager.added.addEventListener(setupCategories);
|
367
|
+
const removedListener =
|
368
|
+
app.categoryManager.removed.addEventListener(setupCategories);
|
340
369
|
setupCategories();
|
341
370
|
|
342
371
|
return () => {
|
@@ -378,7 +407,9 @@
|
|
378
407
|
);
|
379
408
|
|
380
409
|
return () => {
|
381
|
-
listeners.forEach((cb) => {
|
410
|
+
listeners.forEach((cb) => {
|
411
|
+
cb();
|
412
|
+
});
|
382
413
|
listeners.splice(0);
|
383
414
|
stopWatching();
|
384
415
|
};
|
@@ -393,25 +424,26 @@
|
|
393
424
|
export function setupAttributions(app) {
|
394
425
|
const { entries, destroy } = getAttributions(app);
|
395
426
|
|
396
|
-
const { action: attributionAction, destroy: attributionDestroy } =
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
{
|
403
|
-
id: 'attribution',
|
404
|
-
component: VcsAttributions,
|
405
|
-
state: {
|
406
|
-
headerTitle: 'footer.attributions.title',
|
407
|
-
headerIcon: 'mdi-copyright',
|
427
|
+
const { action: attributionAction, destroy: attributionDestroy } =
|
428
|
+
createToggleAction(
|
429
|
+
{
|
430
|
+
name: 'attributionToggle',
|
431
|
+
icon: 'mdi-chevron-double-right',
|
432
|
+
title: 'footer.attributions.tooltip',
|
408
433
|
},
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
434
|
+
{
|
435
|
+
id: 'attribution',
|
436
|
+
component: VcsAttributions,
|
437
|
+
state: {
|
438
|
+
headerTitle: 'footer.attributions.title',
|
439
|
+
headerIcon: 'mdi-copyright',
|
440
|
+
},
|
441
|
+
slot: WindowSlot.DYNAMIC_RIGHT,
|
442
|
+
props: { entries },
|
443
|
+
},
|
444
|
+
app.windowManager,
|
445
|
+
vcsAppSymbol,
|
446
|
+
);
|
415
447
|
|
416
448
|
return {
|
417
449
|
attributionEntries: entries,
|
@@ -423,6 +455,28 @@
|
|
423
455
|
};
|
424
456
|
}
|
425
457
|
|
458
|
+
export function setupMapNavigation(app) {
|
459
|
+
const showMapNavigation = ref(false);
|
460
|
+
|
461
|
+
const listeners = [
|
462
|
+
app.maps.added.addEventListener(() => {
|
463
|
+
showMapNavigation.value = true;
|
464
|
+
}),
|
465
|
+
app.maps.removed.addEventListener(() => {
|
466
|
+
if (app.maps.size < 1) {
|
467
|
+
showMapNavigation.value = false;
|
468
|
+
}
|
469
|
+
}),
|
470
|
+
];
|
471
|
+
|
472
|
+
return {
|
473
|
+
showMapNavigation,
|
474
|
+
destroy: () => {
|
475
|
+
listeners.forEach((cb) => cb());
|
476
|
+
},
|
477
|
+
};
|
478
|
+
}
|
479
|
+
|
426
480
|
/**
|
427
481
|
* The base component to setup the entire application. To embed the VcsApp, use this component.
|
428
482
|
* @vue-prop {string} appId - the id of the app to inject. this will setup listeners on the app to call vcsAppMounted on plugins
|
@@ -458,8 +512,14 @@
|
|
458
512
|
const legendDestroy = setupLegendWindow(app);
|
459
513
|
const settingsDestroy = setupSettingsWindow(app);
|
460
514
|
const destroyComponentsWindow = setupCategoryManagerWindow(app);
|
461
|
-
const destroyThemingListener = setupUiConfigTheming(
|
462
|
-
|
515
|
+
const destroyThemingListener = setupUiConfigTheming(
|
516
|
+
app,
|
517
|
+
getCurrentInstance().proxy.$vuetify,
|
518
|
+
);
|
519
|
+
const { attributionEntries, attributionAction, destroyAttributions } =
|
520
|
+
setupAttributions(app);
|
521
|
+
const { showMapNavigation, destroy: destroyMapNavigationListener } =
|
522
|
+
setupMapNavigation(app);
|
463
523
|
|
464
524
|
let pluginMountedListener;
|
465
525
|
onMounted(() => {
|
@@ -478,13 +538,19 @@
|
|
478
538
|
destroyComponentsWindow();
|
479
539
|
destroyThemingListener();
|
480
540
|
destroyAttributions();
|
541
|
+
destroyMapNavigationListener();
|
481
542
|
});
|
482
543
|
|
483
544
|
return {
|
484
545
|
mapId,
|
485
|
-
mobileLogo: computed(
|
546
|
+
mobileLogo: computed(
|
547
|
+
() =>
|
548
|
+
app.uiConfig.config.value.mobileLogo ??
|
549
|
+
app.uiConfig.config.value.logo,
|
550
|
+
),
|
486
551
|
attributionEntries,
|
487
552
|
attributionAction,
|
553
|
+
showMapNavigation,
|
488
554
|
};
|
489
555
|
},
|
490
556
|
};
|