@vcmap/ui 5.3.2 → 6.0.0-rc.1
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/build/build.js +26 -4
- package/build/buildHelpers.js +6 -1
- package/build/buildTypes.js +18 -0
- package/build/commonViteConfig.js +7 -10
- package/build/generateOLLib.js +5 -1
- package/build/info/publish.js +2 -2
- package/build/lintTypes.js +5 -0
- package/build/staging/Dockerfile +1 -1
- package/config/base.config.json +5 -2
- package/config/dev.config.json +14 -10
- package/config/www.config.json +1 -1
- package/dist/assets/{cesium.a9cd10.js → cesium.6b12b4.js} +1654 -1692
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.5e0ca2.js → core.074b78.js} +2607 -2581
- package/dist/assets/core.js +1 -1
- package/dist/assets/index-ca7EmZ3d.js +1 -0
- package/dist/assets/{ol.8edcc5.js → ol.8b2e3a.js} +19259 -19196
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui.715986.css +1 -0
- package/dist/assets/ui.715986.js +34219 -0
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.0f2c53.js +6096 -0
- package/dist/assets/vue.js +1 -5
- package/dist/assets/vuetify.28d881.css +5 -0
- package/dist/assets/vuetify.28d881.js +24605 -0
- package/dist/assets/vuetify.js +1 -5
- package/dist/index.html +1 -2
- package/index.d.ts +25 -9
- package/index.js +11 -29
- package/lib/vue.js +0 -1
- package/lib/vuetify.js +1 -2
- package/lib/vuetifyLib.js +6 -0
- package/package.json +23 -14
- package/plugins/@vcmap-show-case/buttons-example/package.json +2 -2
- package/plugins/@vcmap-show-case/buttons-example/src/ButtonsExample.vue +57 -61
- package/plugins/@vcmap-show-case/buttons-example/src/index.js +1 -1
- package/plugins/@vcmap-show-case/category-tester/package.json +2 -2
- package/plugins/@vcmap-show-case/category-tester/src/CategoriesExample.vue +12 -6
- package/plugins/@vcmap-show-case/category-tester/src/CollectionComponentOptions.vue +4 -4
- package/plugins/@vcmap-show-case/category-tester/src/FoobarEditor.vue +4 -4
- package/plugins/@vcmap-show-case/collection-manager-example/src/CollectionManagerExample.vue +11 -7
- package/plugins/@vcmap-show-case/config-editor/src/ConfigEditor.vue +2 -2
- package/plugins/@vcmap-show-case/extent-example/README.md +1 -1
- package/plugins/@vcmap-show-case/extent-example/src/index.js +11 -20
- package/plugins/@vcmap-show-case/flight-component-example/src/FlightExample.vue +3 -3
- package/plugins/@vcmap-show-case/form-inputs-example/src/FormInputsExample.vue +122 -169
- package/plugins/@vcmap-show-case/form-inputs-example/src/index.js +7 -8
- package/plugins/@vcmap-show-case/hello-world/src/helloWorld.vue +1 -1
- package/plugins/@vcmap-show-case/icons-example/src/AllIconsComponent.vue +1 -1
- package/plugins/@vcmap-show-case/list-example/src/ListExample.vue +33 -4
- package/plugins/@vcmap-show-case/notifier-tester/src/NotifierTester.vue +4 -6
- package/plugins/@vcmap-show-case/panel-tester/src/PanelExample.vue +3 -4
- package/plugins/@vcmap-show-case/project-selector/src/ModulesListComponent.vue +3 -7
- package/plugins/@vcmap-show-case/project-selector/src/ProjectSelectorComponent.vue +10 -16
- package/plugins/@vcmap-show-case/search-example/package.json +5 -0
- package/plugins/@vcmap-show-case/search-example/src/index.js +75 -0
- package/plugins/@vcmap-show-case/search-example/src/searchImpl.js +99 -0
- package/plugins/@vcmap-show-case/simple-graph/src/SimpleGraphComponent.vue +1 -1
- package/plugins/@vcmap-show-case/style-input-example/src/StyleExample.vue +1 -1
- package/plugins/@vcmap-show-case/table-example/src/DataTableExample.vue +32 -16
- package/plugins/@vcmap-show-case/textfields-example/src/TextfieldsExample.vue +7 -1
- package/plugins/@vcmap-show-case/theme-changer/src/ThemeChangerComponent.vue +3 -3
- package/plugins/@vcmap-show-case/theme-changer/src/index.js +2 -2
- package/plugins/@vcmap-show-case/toolbox-example/src/TriStateExampleWindow.vue +1 -1
- package/plugins/@vcmap-show-case/vector-properties-example/src/VectorPropertiesExample.vue +1 -1
- package/plugins/@vcmap-show-case/viewpoint-component-example/src/ViewpointExample.vue +4 -4
- package/plugins/@vcmap-show-case/window-tester/src/BrokenWindow.vue +17 -0
- package/plugins/@vcmap-show-case/window-tester/src/EmptyComponent.vue +1 -1
- package/plugins/@vcmap-show-case/window-tester/src/WindowExample.vue +10 -0
- package/plugins/@vcmap-show-case/window-tester/src/WindowExampleContent.vue +1 -1
- package/plugins/@vcmap-show-case/window-tester/src/WindowExampleToggleChild.vue +1 -1
- package/plugins/@vcmap-show-case/wizard-example/src/WizardExample.vue +1 -1
- package/src/actions/StyleSelector.vue +4 -34
- package/src/actions/StyleSelector.vue.d.ts +6 -4
- package/src/actions/actionHelper.js +6 -6
- package/src/actions/extentActions.d.ts +1 -2
- package/src/actions/extentActions.js +19 -8
- package/src/actions/flightActions.js +8 -8
- package/src/actions/listActions.d.ts +2 -2
- package/src/actions/listActions.js +3 -3
- package/src/actions/stateRefAction.js +3 -3
- package/src/application/VcsApp.vue +19 -28
- package/src/application/VcsApp.vue.d.ts +6 -6
- package/src/application/VcsAppWrapper.vue +1 -1
- package/src/application/VcsAppWrapper.vue.d.ts +2 -2
- package/src/application/VcsAttributions.vue +14 -18
- package/src/application/VcsAttributions.vue.d.ts +7 -7
- package/src/application/VcsAttributionsFooter.vue +1 -1
- package/src/application/VcsAttributionsFooter.vue.d.ts +2 -2
- package/src/application/VcsContainer.vue +13 -7
- package/src/application/VcsContainer.vue.d.ts +3 -2
- package/src/application/VcsCustomScreen.vue +1 -1
- package/src/application/VcsCustomScreen.vue.d.ts +2 -2
- package/src/application/VcsMainMap.vue +4 -1
- package/src/application/VcsMainMap.vue.d.ts +1 -1
- package/src/application/VcsMap.vue +21 -23
- package/src/application/VcsMap.vue.d.ts +2 -2
- package/src/application/VcsNavbar.vue +60 -56
- package/src/application/VcsNavbar.vue.d.ts +11 -8
- package/src/application/VcsPositionDisplay.vue +33 -46
- package/src/application/VcsPositionDisplay.vue.d.ts +3 -3
- package/src/application/VcsSettings.vue +19 -7
- package/src/application/VcsSettings.vue.d.ts +2 -1
- package/src/application/VcsSplashScreen.vue +3 -3
- package/src/application/VcsSplashScreen.vue.d.ts +3 -3
- package/src/application/VcsTextPage.vue +2 -2
- package/src/application/VcsTextPage.vue.d.ts +4 -4
- package/src/application/VcsTextPageFooter.vue +4 -4
- package/src/application/VcsTextPageFooter.vue.d.ts +2 -2
- package/src/application/attributionsHelper.d.ts +2 -2
- package/src/application/attributionsHelper.js +9 -9
- package/src/components/ImageElementInjector.vue.d.ts +2 -2
- package/src/components/attrsHelpers.d.ts +5 -0
- package/src/components/attrsHelpers.js +14 -0
- package/src/components/buttons/VcsActionButtonList.vue +6 -23
- package/src/components/buttons/VcsActionButtonList.vue.d.ts +3 -12
- package/src/components/buttons/VcsButton.vue +79 -90
- package/src/components/buttons/VcsButton.vue.d.ts +17 -32
- package/src/components/buttons/VcsFormButton.vue +77 -125
- package/src/components/buttons/VcsFormButton.vue.d.ts +8 -41
- package/src/components/buttons/VcsToolButton.vue +91 -94
- package/src/components/buttons/VcsToolButton.vue.d.ts +18 -25
- package/src/components/composables.d.ts +14 -0
- package/src/components/composables.js +31 -0
- package/src/components/{form-inputs-controls → extent}/VcsExtent.vue +22 -18
- package/src/components/{form-inputs-controls → extent}/VcsExtent.vue.d.ts +10 -7
- package/src/components/extent/VcsExtentEditor.vue +79 -0
- package/src/components/extent/VcsExtentEditor.vue.d.ts +37 -0
- package/src/components/flight/VcsFlightAnchorsComponent.vue +7 -2
- package/src/components/flight/VcsFlightAnchorsComponent.vue.d.ts +6 -6
- package/src/components/flight/VcsFlightComponent.vue +2 -1
- package/src/components/flight/VcsFlightComponent.vue.d.ts +4 -4
- package/src/components/flight/VcsFlightEditor.vue.d.ts +2 -2
- package/src/components/flight/VcsFlightPlayer.vue +2 -3
- package/src/components/flight/VcsFlightPlayer.vue.d.ts +3 -3
- package/src/components/form-inputs-controls/VcsCheckbox.vue +56 -80
- package/src/components/form-inputs-controls/VcsCheckbox.vue.d.ts +13 -4
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue +128 -117
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue.d.ts +17 -21
- package/src/components/form-inputs-controls/VcsCoordinate.vue +31 -41
- package/src/components/form-inputs-controls/VcsCoordinate.vue.d.ts +10 -11
- package/src/components/form-inputs-controls/VcsDatePicker.vue +39 -72
- package/src/components/form-inputs-controls/VcsDatePicker.vue.d.ts +75 -13
- package/src/components/form-inputs-controls/VcsFileInput.vue +100 -0
- package/src/components/form-inputs-controls/VcsFileInput.vue.d.ts +27 -0
- package/src/components/form-inputs-controls/VcsFormSection.vue +12 -12
- package/src/components/form-inputs-controls/VcsFormSection.vue.d.ts +6 -4
- package/src/components/form-inputs-controls/VcsLabel.vue +8 -28
- package/src/components/form-inputs-controls/VcsLabel.vue.d.ts +2 -11
- package/src/components/form-inputs-controls/VcsRadio.vue +80 -104
- package/src/components/form-inputs-controls/VcsRadio.vue.d.ts +35 -9
- package/src/components/form-inputs-controls/VcsSelect.vue +172 -153
- package/src/components/form-inputs-controls/VcsSelect.vue.d.ts +36 -9
- package/src/components/form-inputs-controls/VcsSlider.vue +71 -52
- package/src/components/form-inputs-controls/VcsSlider.vue.d.ts +6 -1
- package/src/components/form-inputs-controls/VcsTextArea.vue +126 -144
- package/src/components/form-inputs-controls/VcsTextArea.vue.d.ts +13 -10
- package/src/components/form-inputs-controls/VcsTextField.vue +95 -278
- package/src/components/form-inputs-controls/VcsTextField.vue.d.ts +33 -32
- package/src/components/form-inputs-controls/VcsWizard.vue +71 -77
- package/src/components/form-inputs-controls/VcsWizard.vue.d.ts +5 -5
- package/src/components/form-inputs-controls/VcsWizardStep.vue +14 -14
- package/src/components/form-inputs-controls/VcsWizardStep.vue.d.ts +4 -4
- package/src/components/form-inputs-controls/vcsTextField.scss +78 -0
- package/src/components/form-output/VcsFormattedNumber.vue +20 -27
- package/src/components/form-output/VcsFormattedNumber.vue.d.ts +7 -24
- package/src/components/icons/+all.js +1 -1
- package/src/components/icons/2DAreaIcon.vue +1 -7
- package/src/components/icons/2DAreaIcon.vue.d.ts +1 -1
- package/src/components/icons/2DDistanceIcon.vue +1 -7
- package/src/components/icons/2DDistanceIcon.vue.d.ts +1 -1
- package/src/components/icons/2DHeightObliqueIcon.vue.d.ts +1 -1
- package/src/components/icons/2DPointIcon.vue +0 -1
- package/src/components/icons/2DPointIcon.vue.d.ts +1 -1
- package/src/components/icons/3DAreaIcon.vue +1 -7
- package/src/components/icons/3DAreaIcon.vue.d.ts +1 -1
- package/src/components/icons/3DDistanceIcon.vue +1 -7
- package/src/components/icons/3DDistanceIcon.vue.d.ts +1 -1
- package/src/components/icons/3DHeightIcon.vue +1 -7
- package/src/components/icons/3DHeightIcon.vue.d.ts +1 -1
- package/src/components/icons/3DPointIcon.vue +0 -1
- package/src/components/icons/3DPointIcon.vue.d.ts +1 -1
- package/src/components/icons/AngleIcon.vue +1 -6
- package/src/components/icons/AngleIcon.vue.d.ts +1 -1
- package/src/components/icons/AssociationsIcon.vue +1 -6
- package/src/components/icons/AssociationsIcon.vue.d.ts +1 -1
- package/src/components/icons/AxisIcon.vue.d.ts +1 -1
- package/src/components/icons/BoundingBoxIcon.vue +1 -6
- package/src/components/icons/BoundingBoxIcon.vue.d.ts +1 -1
- package/src/components/icons/CheckboxCheckedIcon.vue.d.ts +1 -1
- package/src/components/icons/CheckboxIcon.vue +1 -6
- package/src/components/icons/CheckboxIcon.vue.d.ts +1 -1
- package/src/components/icons/CheckboxIndeterminateIcon.vue.d.ts +1 -1
- package/src/components/icons/CircleIcon.vue +1 -6
- package/src/components/icons/CircleIcon.vue.d.ts +1 -1
- package/src/components/icons/ClippingHorizontalIcon.vue +1 -6
- package/src/components/icons/ClippingHorizontalIcon.vue.d.ts +1 -1
- package/src/components/icons/ClippingIcon.vue +1 -6
- package/src/components/icons/ClippingIcon.vue.d.ts +1 -1
- package/src/components/icons/ClippingVerticalIcon.vue +1 -6
- package/src/components/icons/ClippingVerticalIcon.vue.d.ts +1 -1
- package/src/components/icons/ColorPickerIcon.vue +1 -6
- package/src/components/icons/ColorPickerIcon.vue.d.ts +1 -1
- package/src/components/icons/ColorSwatchIcon.vue +1 -7
- package/src/components/icons/ColorSwatchIcon.vue.d.ts +1 -1
- package/src/components/icons/CommentIcon.vue +1 -6
- package/src/components/icons/CommentIcon.vue.d.ts +1 -1
- package/src/components/icons/CompassIcon.vue +1 -13
- package/src/components/icons/CompassIcon.vue.d.ts +1 -1
- package/src/components/icons/ComponentsIcon.vue +1 -6
- package/src/components/icons/ComponentsIcon.vue.d.ts +1 -1
- package/src/components/icons/ComponentsPlusIcon.vue +0 -1
- package/src/components/icons/ComponentsPlusIcon.vue.d.ts +1 -1
- package/src/components/icons/ConeIcon.vue +1 -13
- package/src/components/icons/ConeIcon.vue.d.ts +1 -1
- package/src/components/icons/CrosshairIcon.vue +0 -2
- package/src/components/icons/CrosshairIcon.vue.d.ts +1 -1
- package/src/components/icons/DimensionsHouseIcon.vue +1 -7
- package/src/components/icons/DimensionsHouseIcon.vue.d.ts +1 -1
- package/src/components/icons/EditIcon.vue +1 -6
- package/src/components/icons/EditIcon.vue.d.ts +1 -1
- package/src/components/icons/EditVerticesIcon.vue +1 -6
- package/src/components/icons/EditVerticesIcon.vue.d.ts +1 -1
- package/src/components/icons/ElevationProfileIcon.vue +1 -6
- package/src/components/icons/ElevationProfileIcon.vue.d.ts +1 -1
- package/src/components/icons/ExportAreaIcon.vue +1 -6
- package/src/components/icons/ExportAreaIcon.vue.d.ts +1 -1
- package/src/components/icons/ExportFlightIcon.vue +1 -6
- package/src/components/icons/ExportFlightIcon.vue.d.ts +1 -1
- package/src/components/icons/ExportIcon.vue +1 -13
- package/src/components/icons/ExportIcon.vue.d.ts +1 -1
- package/src/components/icons/ExternalLinkIcon.vue +1 -6
- package/src/components/icons/ExternalLinkIcon.vue.d.ts +1 -1
- package/src/components/icons/EyeIcon.vue +1 -6
- package/src/components/icons/EyeIcon.vue.d.ts +1 -1
- package/src/components/icons/FastForwardIcon.vue +1 -6
- package/src/components/icons/FastForwardIcon.vue.d.ts +1 -1
- package/src/components/icons/FilterIcon.vue +1 -7
- package/src/components/icons/FilterIcon.vue.d.ts +1 -1
- package/src/components/icons/GlobalTerrainIcon.vue +1 -6
- package/src/components/icons/GlobalTerrainIcon.vue.d.ts +1 -1
- package/src/components/icons/GlobeNatureIcon.vue +1 -6
- package/src/components/icons/GlobeNatureIcon.vue.d.ts +1 -1
- package/src/components/icons/GroundIcon.vue +1 -6
- package/src/components/icons/GroundIcon.vue.d.ts +1 -1
- package/src/components/icons/HealthCareIndustriesIcon.vue +1 -6
- package/src/components/icons/HealthCareIndustriesIcon.vue.d.ts +1 -1
- package/src/components/icons/HelpIcon.vue +1 -6
- package/src/components/icons/HelpIcon.vue.d.ts +1 -1
- package/src/components/icons/HideIcon.vue +1 -6
- package/src/components/icons/HideIcon.vue.d.ts +1 -1
- package/src/components/icons/HomePointIcon.vue +1 -6
- package/src/components/icons/HomePointIcon.vue.d.ts +1 -1
- package/src/components/icons/HospitalsIcon.vue +1 -6
- package/src/components/icons/HospitalsIcon.vue.d.ts +1 -1
- package/src/components/icons/HouseIcon.vue +1 -6
- package/src/components/icons/HouseIcon.vue.d.ts +1 -1
- package/src/components/icons/ImportIcon.vue +1 -7
- package/src/components/icons/ImportIcon.vue.d.ts +1 -1
- package/src/components/icons/InfoIcon.vue +1 -6
- package/src/components/icons/InfoIcon.vue.d.ts +1 -1
- package/src/components/icons/KebabIcon.vue +1 -7
- package/src/components/icons/KebabIcon.vue.d.ts +1 -1
- package/src/components/icons/LabelIcon.vue +1 -13
- package/src/components/icons/LabelIcon.vue.d.ts +1 -1
- package/src/components/icons/LayersIcon.vue +1 -7
- package/src/components/icons/LayersIcon.vue.d.ts +1 -1
- package/src/components/icons/LegendIcon.vue +1 -6
- package/src/components/icons/LegendIcon.vue.d.ts +1 -1
- package/src/components/icons/LineIcon.vue +1 -13
- package/src/components/icons/LineIcon.vue.d.ts +1 -1
- package/src/components/icons/LinkIcon.vue +1 -6
- package/src/components/icons/LinkIcon.vue.d.ts +1 -1
- package/src/components/icons/LogoutIcon.vue +1 -6
- package/src/components/icons/LogoutIcon.vue.d.ts +1 -1
- package/src/components/icons/MapIcon.vue +1 -7
- package/src/components/icons/MapIcon.vue.d.ts +1 -1
- package/src/components/icons/MenuIcon.vue +1 -7
- package/src/components/icons/MenuIcon.vue.d.ts +1 -1
- package/src/components/icons/MinusIcon.vue +1 -7
- package/src/components/icons/MinusIcon.vue.d.ts +1 -1
- package/src/components/icons/MultiViewIcon.vue +1 -7
- package/src/components/icons/MultiViewIcon.vue.d.ts +1 -1
- package/src/components/icons/ObjectAttributeIcon.vue +1 -7
- package/src/components/icons/ObjectAttributeIcon.vue.d.ts +1 -1
- package/src/components/icons/ObjectSelectIcon.vue +1 -7
- package/src/components/icons/ObjectSelectIcon.vue.d.ts +1 -1
- package/src/components/icons/ObliqueViewIcon.vue +1 -7
- package/src/components/icons/ObliqueViewIcon.vue.d.ts +1 -1
- package/src/components/icons/PdfIcon.vue +1 -7
- package/src/components/icons/PdfIcon.vue.d.ts +1 -1
- package/src/components/icons/PedestrianIcon.vue +1 -6
- package/src/components/icons/PedestrianIcon.vue.d.ts +1 -1
- package/src/components/icons/PenIcon.vue +1 -6
- package/src/components/icons/PenIcon.vue.d.ts +1 -1
- package/src/components/icons/PlayCircleIcon.vue +1 -6
- package/src/components/icons/PlayCircleIcon.vue.d.ts +1 -1
- package/src/components/icons/PlusIcon.vue +1 -7
- package/src/components/icons/PlusIcon.vue.d.ts +1 -1
- package/src/components/icons/PoiIcon.vue +1 -6
- package/src/components/icons/PoiIcon.vue.d.ts +1 -1
- package/src/components/icons/PointIcon.vue +1 -7
- package/src/components/icons/PointIcon.vue.d.ts +1 -1
- package/src/components/icons/PointMeasurementIcon.vue.d.ts +1 -1
- package/src/components/icons/PointSelectIcon.vue +1 -6
- package/src/components/icons/PointSelectIcon.vue.d.ts +1 -1
- package/src/components/icons/PresentationModeIcon.vue +1 -6
- package/src/components/icons/PresentationModeIcon.vue.d.ts +1 -1
- package/src/components/icons/ProgressIcon.vue +0 -1
- package/src/components/icons/ProgressIcon.vue.d.ts +1 -1
- package/src/components/icons/QueryIcon.vue +1 -6
- package/src/components/icons/QueryIcon.vue.d.ts +1 -1
- package/src/components/icons/RectangleIcon.vue +1 -13
- package/src/components/icons/RectangleIcon.vue.d.ts +1 -1
- package/src/components/icons/ReturnIcon.vue +1 -6
- package/src/components/icons/ReturnIcon.vue.d.ts +1 -1
- package/src/components/icons/RewindIcon.vue +1 -6
- package/src/components/icons/RewindIcon.vue.d.ts +1 -1
- package/src/components/icons/RotateLeftIcon.vue +1 -6
- package/src/components/icons/RotateLeftIcon.vue.d.ts +1 -1
- package/src/components/icons/RotateRightIcon.vue +1 -6
- package/src/components/icons/RotateRightIcon.vue.d.ts +1 -1
- package/src/components/icons/ScreenshotIcon.vue +1 -6
- package/src/components/icons/ScreenshotIcon.vue.d.ts +1 -1
- package/src/components/icons/SearchIcon.vue +1 -6
- package/src/components/icons/SearchIcon.vue.d.ts +1 -1
- package/src/components/icons/ShadowIcon.vue +1 -7
- package/src/components/icons/ShadowIcon.vue.d.ts +1 -1
- package/src/components/icons/ShapesIcon.vue +1 -6
- package/src/components/icons/ShapesIcon.vue.d.ts +1 -1
- package/src/components/icons/ShareIcon.vue +1 -6
- package/src/components/icons/ShareIcon.vue.d.ts +1 -1
- package/src/components/icons/SimpleCircleFilledIcon.vue +1 -6
- package/src/components/icons/SimpleCircleFilledIcon.vue.d.ts +1 -1
- package/src/components/icons/SimpleCircleHalfFilledIcon.vue +1 -6
- package/src/components/icons/SimpleCircleHalfFilledIcon.vue.d.ts +1 -1
- package/src/components/icons/SimpleCircleOutlinedIcon.vue +1 -6
- package/src/components/icons/SimpleCircleOutlinedIcon.vue.d.ts +1 -1
- package/src/components/icons/SkipNextIcon.vue +1 -6
- package/src/components/icons/SkipNextIcon.vue.d.ts +1 -1
- package/src/components/icons/SkipPreviousIcon.vue +1 -6
- package/src/components/icons/SkipPreviousIcon.vue.d.ts +1 -1
- package/src/components/icons/SplitViewIcon.vue +1 -6
- package/src/components/icons/SplitViewIcon.vue.d.ts +1 -1
- package/src/components/icons/TerrainBoxIcon.vue +1 -6
- package/src/components/icons/TerrainBoxIcon.vue.d.ts +1 -1
- package/src/components/icons/TextStyleIcon.vue +1 -7
- package/src/components/icons/TextStyleIcon.vue.d.ts +1 -1
- package/src/components/icons/ThreeDimensionsIcon.vue +1 -6
- package/src/components/icons/ThreeDimensionsIcon.vue.d.ts +1 -1
- package/src/components/icons/ToolsIcon.vue +1 -7
- package/src/components/icons/ToolsIcon.vue.d.ts +1 -1
- package/src/components/icons/TouchIcon.vue +1 -7
- package/src/components/icons/TouchIcon.vue.d.ts +1 -1
- package/src/components/icons/TransparentTerrainIcon.vue +0 -1
- package/src/components/icons/TransparentTerrainIcon.vue.d.ts +1 -1
- package/src/components/icons/TrashCanIcon.vue +1 -7
- package/src/components/icons/TrashCanIcon.vue.d.ts +1 -1
- package/src/components/icons/TriangleIcon.vue +1 -6
- package/src/components/icons/TriangleIcon.vue.d.ts +1 -1
- package/src/components/icons/TwoDimensionsIcon.vue +1 -7
- package/src/components/icons/TwoDimensionsIcon.vue.d.ts +1 -1
- package/src/components/icons/UploadIcon.vue +1 -6
- package/src/components/icons/UploadIcon.vue.d.ts +1 -1
- package/src/components/icons/UserProfileIcon.vue +1 -7
- package/src/components/icons/UserProfileIcon.vue.d.ts +1 -1
- package/src/components/icons/UserShareIcon.vue +1 -6
- package/src/components/icons/UserShareIcon.vue.d.ts +1 -1
- package/src/components/icons/VideoRecorderIcon.vue +1 -6
- package/src/components/icons/VideoRecorderIcon.vue.d.ts +1 -1
- package/src/components/icons/ViewpointFlightIcon.vue +1 -6
- package/src/components/icons/ViewpointFlightIcon.vue.d.ts +1 -1
- package/src/components/icons/ViewpointIcon.vue +1 -6
- package/src/components/icons/ViewpointIcon.vue.d.ts +1 -1
- package/src/components/icons/Viewshed360Icon.vue +1 -7
- package/src/components/icons/Viewshed360Icon.vue.d.ts +1 -1
- package/src/components/icons/ViewshedConeIcon.vue +1 -7
- package/src/components/icons/ViewshedConeIcon.vue.d.ts +1 -1
- package/src/components/icons/ViewshedIcon.vue +1 -7
- package/src/components/icons/ViewshedIcon.vue.d.ts +1 -1
- package/src/components/icons/WalkingIcon.vue +1 -6
- package/src/components/icons/WalkingIcon.vue.d.ts +1 -1
- package/src/components/icons/WallIcon.vue +1 -6
- package/src/components/icons/WallIcon.vue.d.ts +1 -1
- package/src/components/icons/WandIcon.vue +1 -6
- package/src/components/icons/WandIcon.vue.d.ts +1 -1
- package/src/components/import/{FileDrop.vue → VcsFileDrop.vue} +21 -10
- package/src/components/import/VcsFileDrop.vue.d.ts +37 -0
- package/src/components/import/{ImportComponent.vue → VcsImportComponent.vue} +24 -12
- package/src/components/import/{ImportComponent.vue.d.ts → VcsImportComponent.vue.d.ts} +6 -3
- package/src/components/lists/VcsActionList.vue +15 -27
- package/src/components/lists/VcsActionList.vue.d.ts +3 -3
- package/src/components/lists/VcsList.vue +159 -152
- package/src/components/lists/VcsList.vue.d.ts +20 -20
- package/src/components/lists/VcsTreeview.vue +56 -43
- package/src/components/lists/VcsTreeview.vue.d.ts +3 -5
- package/src/components/lists/VcsTreeviewLeaf.vue +76 -75
- package/src/components/lists/VcsTreeviewLeaf.vue.d.ts +5 -17
- package/src/components/lists/VcsTreeviewSearchbar.vue +39 -83
- package/src/components/lists/VcsTreeviewSearchbar.vue.d.ts +2 -20
- package/src/components/modelHelper.d.ts +25 -0
- package/src/components/modelHelper.js +88 -0
- package/src/components/notification/VcsBadge.vue +8 -6
- package/src/components/notification/VcsBadge.vue.d.ts +2 -2
- package/src/components/notification/VcsHelp.vue +19 -14
- package/src/components/notification/VcsHelp.vue.d.ts +2 -2
- package/src/components/notification/VcsTooltip.vue +4 -8
- package/src/components/notification/VcsTooltip.vue.d.ts +3 -3
- package/src/components/plugins/AbstractConfigEditor.vue +5 -5
- package/src/components/plugins/AbstractConfigEditor.vue.d.ts +2 -2
- package/src/components/style/MenuWrapper.vue +10 -11
- package/src/components/style/MenuWrapper.vue.d.ts +5 -5
- package/src/components/style/VcsFeatureStyleComponent.vue +1 -1
- package/src/components/style/VcsFeatureStyleComponent.vue.d.ts +7 -7
- package/src/components/style/VcsFillMenu.vue +5 -6
- package/src/components/style/VcsFillMenu.vue.d.ts +5 -5
- package/src/components/style/VcsFillSelector.vue +6 -7
- package/src/components/style/VcsFillSelector.vue.d.ts +5 -5
- package/src/components/style/VcsImageMenu.vue +13 -9
- package/src/components/style/VcsImageMenu.vue.d.ts +5 -5
- package/src/components/style/VcsImageSelector.vue +36 -32
- package/src/components/style/VcsImageSelector.vue.d.ts +11 -11
- package/src/components/style/VcsStrokeMenu.vue +6 -7
- package/src/components/style/VcsStrokeMenu.vue.d.ts +5 -5
- package/src/components/style/VcsStrokeSelector.vue +19 -13
- package/src/components/style/VcsStrokeSelector.vue.d.ts +5 -5
- package/src/components/style/VcsTextMenu.vue +9 -8
- package/src/components/style/VcsTextMenu.vue.d.ts +5 -5
- package/src/components/style/VcsTextSelector.vue +14 -11
- package/src/components/style/VcsTextSelector.vue.d.ts +10 -10
- package/src/components/style/VcsVectorStyleComponent.vue +4 -4
- package/src/components/style/VcsVectorStyleComponent.vue.d.ts +8 -8
- package/src/components/style/composables.js +4 -1
- package/src/components/tables/VcsDataTable.vue +152 -207
- package/src/components/tables/VcsDataTable.vue.d.ts +10 -36
- package/src/components/tables/VcsTable.vue +13 -18
- package/src/components/tables/VcsTable.vue.d.ts +4 -4
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue +2 -2
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue.d.ts +4 -4
- package/src/components/vector-properties/VcsFeatureTransforms.vue +5 -1
- package/src/components/vector-properties/VcsFeatureTransforms.vue.d.ts +2 -2
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +54 -47
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue.d.ts +7 -7
- package/src/components/vector-properties/composables.js +3 -3
- package/src/components/viewpoint/VcsViewpointComponent.vue +56 -104
- package/src/components/viewpoint/VcsViewpointComponent.vue.d.ts +14 -22
- package/src/components/viewpoint/VcsViewpointEditor.vue +2 -5
- package/src/components/viewpoint/VcsViewpointEditor.vue.d.ts +3 -3
- package/src/contentTree/LayerTree.vue +31 -10
- package/src/contentTree/LayerTree.vue.d.ts +3 -3
- package/src/contentTree/contentTreeCollection.d.ts +2 -2
- package/src/contentTree/contentTreeCollection.js +6 -8
- package/src/contentTree/contentTreeItem.d.ts +11 -11
- package/src/contentTree/contentTreeItem.js +8 -7
- package/src/contentTree/flightContentTreeItem.js +5 -4
- package/src/contentTree/viewpointContentTreeItem.d.ts +1 -1
- package/src/featureInfo/AddressBalloonComponent.vue +24 -26
- package/src/featureInfo/AddressBalloonComponent.vue.d.ts +1 -1
- package/src/featureInfo/BalloonComponent.vue +21 -29
- package/src/featureInfo/BalloonComponent.vue.d.ts +2 -2
- package/src/featureInfo/IframeComponent.vue.d.ts +2 -2
- package/src/featureInfo/MarkdownBalloonComponent.vue.d.ts +2 -2
- package/src/featureInfo/MarkdownComponent.vue +16 -0
- package/src/featureInfo/MarkdownComponent.vue.d.ts +7 -0
- package/src/featureInfo/abstractFeatureInfoView.d.ts +5 -5
- package/src/featureInfo/abstractFeatureInfoView.js +2 -2
- package/src/featureInfo/balloonFeatureInfoView.d.ts +2 -2
- package/src/featureInfo/balloonFeatureInfoView.js +1 -1
- package/src/featureInfo/featureInfo.js +2 -2
- package/src/featureInfo/markdownFeatureInfoView.js +1 -15
- package/src/i18n/de.d.ts +105 -0
- package/src/i18n/de.js +14 -5
- package/src/i18n/en.d.ts +105 -0
- package/src/i18n/en.js +14 -5
- package/src/init.js +10 -12
- package/src/legend/StyleLegendItem.vue +32 -28
- package/src/legend/StyleLegendItem.vue.d.ts +3 -2
- package/src/legend/VcsLegend.vue +19 -20
- package/src/legend/VcsLegend.vue.d.ts +8 -6
- package/src/legend/legendHelper.d.ts +2 -2
- package/src/legend/legendHelper.js +9 -8
- package/src/manager/buttonManager.d.ts +2 -2
- package/src/manager/buttonManager.js +6 -4
- package/src/manager/collectionManager/CollectionComponent.vue +30 -26
- package/src/manager/collectionManager/CollectionComponent.vue.d.ts +14 -2
- package/src/manager/collectionManager/CollectionComponentContent.vue +9 -11
- package/src/manager/collectionManager/CollectionComponentContent.vue.d.ts +1 -1
- package/src/manager/collectionManager/CollectionComponentList.vue +3 -3
- package/src/manager/collectionManager/CollectionComponentList.vue.d.ts +2 -2
- package/src/manager/collectionManager/CollectionComponentProvider.vue +1 -1
- package/src/manager/collectionManager/CollectionComponentProvider.vue.d.ts +2 -2
- package/src/manager/collectionManager/CollectionComponentStandalone.vue +1 -1
- package/src/manager/collectionManager/CollectionComponentStandalone.vue.d.ts +1 -1
- package/src/manager/collectionManager/CollectionManager.vue +11 -9
- package/src/manager/collectionManager/CollectionManager.vue.d.ts +1 -1
- package/src/manager/collectionManager/categoryManager.d.ts +2 -2
- package/src/manager/collectionManager/collectionComponentClass.d.ts +6 -6
- package/src/manager/collectionManager/collectionComponentClass.js +3 -3
- package/src/manager/collectionManager/collectionManager.d.ts +5 -4
- package/src/manager/collectionManager/collectionManager.js +4 -2
- package/src/manager/collectionManager/editorCollectionComponentClass.d.ts +1 -1
- package/src/manager/contextMenu/ContextMenuComponent.vue.d.ts +2 -2
- package/src/manager/panel/PanelComponent.vue.d.ts +2 -2
- package/src/manager/panel/PanelManagerComponent.vue +7 -5
- package/src/manager/panel/PanelManagerComponent.vue.d.ts +4 -4
- package/src/manager/panel/panelManager.d.ts +6 -6
- package/src/manager/panel/panelManager.js +4 -4
- package/src/manager/toolbox/GroupToolboxComponent.vue +10 -34
- package/src/manager/toolbox/GroupToolboxComponent.vue.d.ts +3 -4
- package/src/manager/toolbox/SelectToolboxComponent.vue +12 -58
- package/src/manager/toolbox/SelectToolboxComponent.vue.d.ts +2 -3
- package/src/manager/toolbox/ToolboxManager.vue +12 -38
- package/src/manager/toolbox/ToolboxManager.vue.d.ts +3 -2
- package/src/manager/toolbox/toolboxManager.d.ts +3 -3
- package/src/manager/toolbox/toolboxManager.js +2 -3
- package/src/manager/window/WindowComponent.vue +3 -2
- package/src/manager/window/WindowComponent.vue.d.ts +2 -2
- package/src/manager/window/WindowComponentHeader.vue +8 -4
- package/src/manager/window/WindowComponentHeader.vue.d.ts +3 -3
- package/src/manager/window/WindowManager.vue +4 -9
- package/src/manager/window/WindowManager.vue.d.ts +2 -2
- package/src/manager/window/windowManager.d.ts +52 -46
- package/src/manager/window/windowManager.js +33 -10
- package/src/navigation/MapNavCompass.vue.d.ts +3 -3
- package/src/navigation/MapNavigation.vue +11 -7
- package/src/navigation/MapNavigation.vue.d.ts +6 -3
- package/src/navigation/ObliqueRotation.vue +15 -17
- package/src/navigation/ObliqueRotation.vue.d.ts +5 -5
- package/src/navigation/OrientationToolsButton.vue +9 -4
- package/src/navigation/OrientationToolsButton.vue.d.ts +2 -2
- package/src/navigation/TiltSlider.vue +39 -42
- package/src/navigation/TiltSlider.vue.d.ts +5 -5
- package/src/navigation/VcsCompass.vue +15 -8
- package/src/navigation/VcsCompass.vue.d.ts +6 -6
- package/src/navigation/VcsZoomButton.vue +12 -14
- package/src/navigation/VcsZoomButton.vue.d.ts +2 -2
- package/src/navigation/locatorHelper.js +1 -1
- package/src/navigation/overviewMap.d.ts +1 -1
- package/src/navigation/overviewMap.js +3 -3
- package/src/notifier/NotifierComponent.vue +18 -21
- package/src/notifier/NotifierComponent.vue.d.ts +1 -1
- package/src/notifier/notifier.d.ts +2 -1
- package/src/notifier/notifier.js +6 -2
- package/src/search/ResultItem.vue +14 -13
- package/src/search/ResultItem.vue.d.ts +2 -2
- package/src/search/ResultsComponent.vue +13 -24
- package/src/search/ResultsComponent.vue.d.ts +2 -2
- package/src/search/SearchComponent.vue +16 -15
- package/src/search/SearchComponent.vue.d.ts +2 -2
- package/src/search/search.d.ts +2 -2
- package/src/search/search.js +6 -10
- package/src/setup.js +2 -2
- package/src/styles/_typography.scss +11 -7
- package/src/styles/main.scss +6 -3
- package/src/styles/settings.scss +6 -0
- package/src/styles/variables.scss +10 -8
- package/src/styles/vcsGrid.scss +0 -10
- package/src/styles/vcsList.scss +8 -0
- package/src/vcsUiApp.d.ts +128 -21
- package/src/vcsUiApp.js +53 -24
- package/src/vuePlugins/i18n.d.ts +8 -2
- package/src/vuePlugins/i18n.js +32 -11
- package/src/vuePlugins/vuetify.d.ts +79 -9
- package/src/vuePlugins/vuetify.js +173 -68
- package/dist/assets/index-2c09148f.js +0 -1
- package/dist/assets/ui.078e16.css +0 -5
- package/dist/assets/ui.078e16.js +0 -23835
- package/dist/assets/vue.007115.js +0 -4920
- package/dist/assets/vuetify.6ef1af.css +0 -5
- package/dist/assets/vuetify.6ef1af.js +0 -21263
- package/plugins/@vcmap-show-case/extent-example/src/ExtentExample.vue +0 -71
- package/src/components/form-inputs-controls/VcsRadioGrid.vue +0 -160
- package/src/components/form-inputs-controls/VcsRadioGrid.vue.d.ts +0 -35
- package/src/components/form-inputs-controls/composables.d.ts +0 -7
- package/src/components/form-inputs-controls/composables.js +0 -31
- package/src/components/import/FileDrop.vue.d.ts +0 -26
- package/src/styles/utils/_all.scss +0 -12
- package/src/styles/utils/_border.scss +0 -7
- package/src/styles/utils/_cursor.scss +0 -19
- package/src/styles/utils/_display.scss +0 -3
- package/src/styles/utils/_fade-in.scss +0 -8
- package/src/styles/utils/_position.scss +0 -38
- package/src/styles/utils/_size.scss +0 -79
- package/src/styles/utils/_slide-in.scss +0 -26
- package/src/styles/utils/_spacing.scss +0 -11
- package/src/styles/utils/_text.scss +0 -30
- package/src/styles/utils/_transform.scss +0 -11
- package/src/styles/utils/_transition.scss +0 -11
- package/src/styles/utils/_z-index.scss +0 -15
@@ -9,38 +9,16 @@
|
|
9
9
|
<v-list-item-title
|
10
10
|
:class="{ 'primary--text': item.value === currentStyleName }"
|
11
11
|
>
|
12
|
-
{{ $
|
12
|
+
{{ $st(item.text) }}
|
13
13
|
</v-list-item-title>
|
14
14
|
</v-list-item>
|
15
15
|
</v-list>
|
16
|
-
<v-list v-if="currentStyleLegend.length > 0">
|
17
|
-
<v-list-item
|
18
|
-
v-for="(entry, index) in currentStyleLegend"
|
19
|
-
:key="`style-legend-${index}`"
|
20
|
-
dense
|
21
|
-
>
|
22
|
-
<v-list-item-icon>
|
23
|
-
<v-chip :color="entry.color" />
|
24
|
-
</v-list-item-icon>
|
25
|
-
<v-list-item-content>
|
26
|
-
{{ $t(entry.title) }}
|
27
|
-
</v-list-item-content>
|
28
|
-
</v-list-item>
|
29
|
-
</v-list>
|
30
16
|
</v-sheet>
|
31
17
|
</template>
|
32
18
|
|
33
19
|
<script>
|
34
20
|
import { computed, inject, onUnmounted, ref } from 'vue';
|
35
|
-
import {
|
36
|
-
VChip,
|
37
|
-
VList,
|
38
|
-
VListItem,
|
39
|
-
VListItemContent,
|
40
|
-
VListItemIcon,
|
41
|
-
VListItemTitle,
|
42
|
-
VSheet,
|
43
|
-
} from 'vuetify/lib';
|
21
|
+
import { VList, VListItem, VListItemTitle, VSheet } from 'vuetify/components';
|
44
22
|
|
45
23
|
/**
|
46
24
|
* @description Modal listing available styles.
|
@@ -54,10 +32,7 @@
|
|
54
32
|
VSheet,
|
55
33
|
VList,
|
56
34
|
VListItem,
|
57
|
-
VListItemIcon,
|
58
35
|
VListItemTitle,
|
59
|
-
VChip,
|
60
|
-
VListItemContent,
|
61
36
|
},
|
62
37
|
props: {
|
63
38
|
availableStyles: {
|
@@ -75,16 +50,12 @@
|
|
75
50
|
/** @type {import("@vcmap/core").FeatureLayer} */
|
76
51
|
const layer = app.layers.getByKey(props.layerName);
|
77
52
|
const currentStyleName = ref(layer.style.name || layer.defaultStyle.name);
|
78
|
-
const currentStyleLegend = ref([]);
|
79
53
|
const defaultStyle = layer.defaultStyle.name;
|
80
54
|
|
81
|
-
function setStyle(
|
55
|
+
function setStyle() {
|
82
56
|
currentStyleName.value = layer.style.name;
|
83
|
-
if (styleItem.legend) {
|
84
|
-
currentStyleLegend.value = styleItem.legend;
|
85
|
-
}
|
86
57
|
}
|
87
|
-
setStyle(
|
58
|
+
setStyle();
|
88
59
|
// TODO error handling if layer is missing or not a feature layer
|
89
60
|
const styleChangedListener =
|
90
61
|
layer.styleChanged.addEventListener(setStyle);
|
@@ -126,7 +97,6 @@
|
|
126
97
|
|
127
98
|
return {
|
128
99
|
currentStyleName,
|
129
|
-
currentStyleLegend,
|
130
100
|
items,
|
131
101
|
select,
|
132
102
|
};
|
@@ -9,10 +9,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
9
9
|
};
|
10
10
|
}, {
|
11
11
|
currentStyleName: import("vue").Ref<string>;
|
12
|
-
|
13
|
-
|
12
|
+
items: import("vue").ComputedRef<{
|
13
|
+
text: unknown;
|
14
|
+
value: unknown;
|
15
|
+
}[]>;
|
14
16
|
select: (styleName: any) => void;
|
15
|
-
},
|
17
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
16
18
|
availableStyles: {
|
17
19
|
type: ArrayConstructor;
|
18
20
|
default: () => never[];
|
@@ -23,5 +25,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
23
25
|
};
|
24
26
|
}>>, {
|
25
27
|
availableStyles: unknown[];
|
26
|
-
}>;
|
28
|
+
}, {}>;
|
27
29
|
export default _default;
|
@@ -74,13 +74,13 @@ export function createMapButtonAction(actionOptions, mapName, maps) {
|
|
74
74
|
check(maps, MapCollection);
|
75
75
|
|
76
76
|
const active = maps.activeMap?.name === mapName;
|
77
|
-
const action = {
|
77
|
+
const action = reactive({
|
78
78
|
...actionOptions,
|
79
79
|
active,
|
80
80
|
callback() {
|
81
81
|
maps.setActiveMap(mapName);
|
82
82
|
},
|
83
|
-
};
|
83
|
+
});
|
84
84
|
const destroyListener = maps.mapActivated.addEventListener((map) => {
|
85
85
|
action.active = map?.name === mapName;
|
86
86
|
});
|
@@ -111,7 +111,7 @@ export function createToggleAction(
|
|
111
111
|
check(windowComponent, { id: String });
|
112
112
|
check(owner, [String, vcsAppSymbol]);
|
113
113
|
|
114
|
-
const action = {
|
114
|
+
const action = reactive({
|
115
115
|
...actionOptions,
|
116
116
|
active: windowManager.has(windowComponent.id),
|
117
117
|
callback() {
|
@@ -122,7 +122,7 @@ export function createToggleAction(
|
|
122
122
|
}
|
123
123
|
return null;
|
124
124
|
},
|
125
|
-
};
|
125
|
+
});
|
126
126
|
|
127
127
|
const listeners = [
|
128
128
|
windowManager.added.addEventListener(({ id }) => {
|
@@ -277,7 +277,7 @@ export function createModalAction(actionOptions, modalComponent, app, owner) {
|
|
277
277
|
}
|
278
278
|
};
|
279
279
|
|
280
|
-
const action = {
|
280
|
+
const action = reactive({
|
281
281
|
...actionOptions,
|
282
282
|
active: false,
|
283
283
|
callback(event) {
|
@@ -306,7 +306,7 @@ export function createModalAction(actionOptions, modalComponent, app, owner) {
|
|
306
306
|
}
|
307
307
|
return null;
|
308
308
|
},
|
309
|
-
};
|
309
|
+
});
|
310
310
|
|
311
311
|
const listeners = [
|
312
312
|
app.windowManager.removed.addEventListener(({ id: windowId }) => {
|
@@ -29,10 +29,9 @@ export function createExtentFeatureAction(app: import("@src/vcsUiApp.js").defaul
|
|
29
29
|
/**
|
30
30
|
* @param {import("@src/vcsUiApp.js").default} app
|
31
31
|
* @param {import("vue").ComputedRef<import("@vcmap/core").Extent>|import("vue").Ref<import("@vcmap/core").Extent>|import("vue").WritableComputedRef<import("@vcmap/core").Extent>} extent
|
32
|
-
* @param {boolean} disabled
|
33
32
|
* @returns {{ actions: Array<import("./actionHelper.js").VcsAction>, destroy: () => void, layer: import("@vcmap/core").VectorLayer, featureId: string }}
|
34
33
|
*/
|
35
|
-
export function setupExtentComponentActions(app: import("@src/vcsUiApp.js").default, extent: import("vue").ComputedRef<import("@vcmap/core").Extent> | import("vue").Ref<import("@vcmap/core").Extent> | import("vue").WritableComputedRef<import("@vcmap/core").Extent
|
34
|
+
export function setupExtentComponentActions(app: import("@src/vcsUiApp.js").default, extent: import("vue").ComputedRef<import("@vcmap/core").Extent> | import("vue").Ref<import("@vcmap/core").Extent> | import("vue").WritableComputedRef<import("@vcmap/core").Extent>): {
|
36
35
|
actions: Array<import("./actionHelper.js").VcsAction>;
|
37
36
|
destroy: () => void;
|
38
37
|
layer: import("@vcmap/core").VectorLayer;
|
@@ -11,6 +11,7 @@ import {
|
|
11
11
|
startEditGeometrySession,
|
12
12
|
VectorLayer,
|
13
13
|
Viewpoint,
|
14
|
+
wgs84Projection,
|
14
15
|
} from '@vcmap/core';
|
15
16
|
import { reactive, ref, watch, nextTick } from 'vue';
|
16
17
|
import { Feature } from 'ol';
|
@@ -270,7 +271,14 @@ function setupVertexAction(
|
|
270
271
|
* @param {string} featureId
|
271
272
|
*/
|
272
273
|
function syncExtentFeature(extent, layer, featureId) {
|
273
|
-
const
|
274
|
+
const extentCoords = [...extent.value.extent];
|
275
|
+
// clamp coords for visualization, because at the pole Cesium has issues
|
276
|
+
if (extent.value.projection.epsg === wgs84Projection.epsg) {
|
277
|
+
extentCoords[1] = Math.max(-89, extentCoords[1]);
|
278
|
+
extentCoords[3] = Math.min(89, extentCoords[3]);
|
279
|
+
}
|
280
|
+
|
281
|
+
const extentGeometry = fromExtent(extentCoords);
|
274
282
|
extentGeometry.transform(
|
275
283
|
extent.value.projection.proj,
|
276
284
|
mercatorProjection.proj,
|
@@ -280,18 +288,21 @@ function syncExtentFeature(extent, layer, featureId) {
|
|
280
288
|
c.push(0);
|
281
289
|
});
|
282
290
|
coordinates[0].pop();
|
283
|
-
|
284
|
-
|
285
|
-
|
291
|
+
if (layer.getFeatureById(featureId).getGeometry()) {
|
292
|
+
layer.getFeatureById(featureId).getGeometry().setCoordinates(coordinates);
|
293
|
+
} else {
|
294
|
+
const geometry = new Polygon(coordinates, 'XYZ');
|
295
|
+
geometry.set('_vcsGeomType', GeometryType.BBox);
|
296
|
+
layer.getFeatureById(featureId).setGeometry(geometry);
|
297
|
+
}
|
286
298
|
}
|
287
299
|
|
288
300
|
/**
|
289
301
|
* @param {import("@src/vcsUiApp.js").default} app
|
290
302
|
* @param {import("vue").ComputedRef<import("@vcmap/core").Extent>|import("vue").Ref<import("@vcmap/core").Extent>|import("vue").WritableComputedRef<import("@vcmap/core").Extent>} extent
|
291
|
-
* @param {boolean} disabled
|
292
303
|
* @returns {{ actions: Array<import("./actionHelper.js").VcsAction>, destroy: () => void, layer: import("@vcmap/core").VectorLayer, featureId: string }}
|
293
304
|
*/
|
294
|
-
export function setupExtentComponentActions(app, extent
|
305
|
+
export function setupExtentComponentActions(app, extent) {
|
295
306
|
const layer = new VectorLayer({
|
296
307
|
projection: mercatorProjection.toJSON(),
|
297
308
|
zIndex: maxZIndex - 1,
|
@@ -320,9 +331,9 @@ export function setupExtentComponentActions(app, extent, disabled) {
|
|
320
331
|
);
|
321
332
|
|
322
333
|
const { action: showExtentAction, destroy: destroyShowExtent } =
|
323
|
-
createLayerToggleAction(layer,
|
334
|
+
createLayerToggleAction(layer, false);
|
324
335
|
const { action: createExtentAction, destroy: destroyCreateExtent } =
|
325
|
-
createExtentFeatureAction(app, layer, extent, featureId,
|
336
|
+
createExtentFeatureAction(app, layer, extent, featureId, false);
|
326
337
|
const zoomToExtentAction = createZoomToExtentAction(app, extent);
|
327
338
|
zoomToExtentAction.title = 'components.extent.zoom';
|
328
339
|
const { action: translateAction, destroy: destroyTranslate } =
|
@@ -141,7 +141,7 @@ export function createFastAction(app, instance, direction) {
|
|
141
141
|
player?.pause();
|
142
142
|
}
|
143
143
|
|
144
|
-
const action = {
|
144
|
+
const action = reactive({
|
145
145
|
name: `fast-${direction}`,
|
146
146
|
icon,
|
147
147
|
title: `flight.${direction}FastTooltip`,
|
@@ -158,7 +158,7 @@ export function createFastAction(app, instance, direction) {
|
|
158
158
|
}
|
159
159
|
},
|
160
160
|
},
|
161
|
-
};
|
161
|
+
});
|
162
162
|
|
163
163
|
const playerChangedListener = app.flights.playerChanged.addEventListener(
|
164
164
|
(activePlayer) => {
|
@@ -245,14 +245,14 @@ export function setupFlightListItemPlayer(app, instance, actions) {
|
|
245
245
|
);
|
246
246
|
}
|
247
247
|
|
248
|
-
const stopAction = {
|
248
|
+
const stopAction = reactive({
|
249
249
|
name: 'stop',
|
250
250
|
icon: 'mdi-square',
|
251
251
|
title: 'flight.stopTooltip',
|
252
252
|
callback: () => {
|
253
253
|
player?.stop();
|
254
254
|
},
|
255
|
-
};
|
255
|
+
});
|
256
256
|
|
257
257
|
const playAction = reactive({
|
258
258
|
name: 'play',
|
@@ -308,7 +308,7 @@ export function setupFlightListItemPlayer(app, instance, actions) {
|
|
308
308
|
export function createZoomToFlightAction(app, instance) {
|
309
309
|
let flightVis;
|
310
310
|
|
311
|
-
const action = {
|
311
|
+
const action = reactive({
|
312
312
|
name: 'components.flight.zoom',
|
313
313
|
title: 'components.flight.zoom',
|
314
314
|
disabled: !instance.isValid(),
|
@@ -318,7 +318,7 @@ export function createZoomToFlightAction(app, instance) {
|
|
318
318
|
}
|
319
319
|
await flightVis.zoomToExtent();
|
320
320
|
},
|
321
|
-
};
|
321
|
+
});
|
322
322
|
const listener = instance.anchorsChanged.addEventListener(() => {
|
323
323
|
action.disabled = !instance.isValid();
|
324
324
|
});
|
@@ -390,7 +390,7 @@ export function createExportFlightAction(instance, isPathExport = false) {
|
|
390
390
|
? 'components.flight.exportPath'
|
391
391
|
: 'components.flight.export';
|
392
392
|
|
393
|
-
const action = {
|
393
|
+
const action = reactive({
|
394
394
|
name,
|
395
395
|
title: name,
|
396
396
|
disabled: !instance.isValid(),
|
@@ -403,7 +403,7 @@ export function createExportFlightAction(instance, isPathExport = false) {
|
|
403
403
|
}.json`,
|
404
404
|
);
|
405
405
|
},
|
406
|
-
};
|
406
|
+
});
|
407
407
|
|
408
408
|
const destroy = instance.anchorsChanged.addEventListener(() => {
|
409
409
|
action.disabled = !instance.isValid();
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* Creates an action for renaming an item in a VcsList.
|
2
|
+
* Creates an action for renaming an item in a VcsList. Shows VcsTextfield in VcsList.
|
3
3
|
* @param {import("../components/lists/VcsList.vue").VcsListItem} item
|
4
4
|
* @param {Partial<import("./actionHelper.js").ActionOptions>} [actionOptions={}]
|
5
5
|
* @returns {import("./actionHelper.js").VcsAction}
|
@@ -13,7 +13,7 @@ export function createListItemRenameAction(item: import("../components/lists/Vcs
|
|
13
13
|
* @template {Object} T
|
14
14
|
* @returns {import("./actionHelper.js").VcsAction}
|
15
15
|
*/
|
16
|
-
export function createListItemDeleteAction<T extends Object>(collection: import("@vcmap/core
|
16
|
+
export function createListItemDeleteAction<T extends Object>(collection: import("@vcmap/core").Collection<T>, item: T, actionOptions?: Partial<import("./actionHelper.js").ActionOptions> | undefined): import("./actionHelper.js").VcsAction;
|
17
17
|
/**
|
18
18
|
* Creates an action based on a provided selection
|
19
19
|
* @param {import("vue").Ref<Array<import("../components/lists/VcsList.vue").VcsListItem>>} selection
|
@@ -2,14 +2,14 @@ import { reactive, watch } from 'vue';
|
|
2
2
|
import { check } from '@vcsuite/check';
|
3
3
|
import { getLogger } from '@vcsuite/logger';
|
4
4
|
import { parseGeoJSON } from '@vcmap/core';
|
5
|
+
import VcsImportComponent from '../components/import/VcsImportComponent.vue';
|
5
6
|
import { createToggleAction } from './actionHelper.js';
|
6
|
-
import ImportComponent from '../components/import/ImportComponent.vue';
|
7
7
|
import { WindowSlot } from '../manager/window/windowManager.js';
|
8
8
|
import { vcsAppSymbol } from '../pluginHelper.js';
|
9
9
|
import { NotificationType } from '../notifier/notifier.js';
|
10
10
|
|
11
11
|
/**
|
12
|
-
* Creates an action for renaming an item in a VcsList.
|
12
|
+
* Creates an action for renaming an item in a VcsList. Shows VcsTextfield in VcsList.
|
13
13
|
* @param {import("../components/lists/VcsList.vue").VcsListItem} item
|
14
14
|
* @param {Partial<import("./actionHelper.js").ActionOptions>} [actionOptions={}]
|
15
15
|
* @returns {import("./actionHelper.js").VcsAction}
|
@@ -228,7 +228,7 @@ export function createListImportAction(
|
|
228
228
|
{
|
229
229
|
id: `list-import`,
|
230
230
|
parentId,
|
231
|
-
component:
|
231
|
+
component: VcsImportComponent,
|
232
232
|
slot: WindowSlot.DYNAMIC_CHILD,
|
233
233
|
state: {
|
234
234
|
headerTitle: `list.import`,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { watch } from 'vue';
|
1
|
+
import { reactive, watch } from 'vue';
|
2
2
|
import { check } from '@vcsuite/check';
|
3
3
|
|
4
4
|
/**
|
@@ -32,11 +32,11 @@ export function createStateRefAction(name, stateRef, callback) {
|
|
32
32
|
check(callback, Function);
|
33
33
|
|
34
34
|
const currentState = stateRef.value;
|
35
|
-
const action = {
|
35
|
+
const action = reactive({
|
36
36
|
name,
|
37
37
|
icon: stateIconMap[currentState],
|
38
38
|
callback,
|
39
|
-
};
|
39
|
+
});
|
40
40
|
|
41
41
|
const destroy = watch(stateRef, () => {
|
42
42
|
action.icon = stateIconMap[stateRef.value];
|
@@ -8,12 +8,7 @@
|
|
8
8
|
></VcsSplashScreen>
|
9
9
|
<VcsNavbar />
|
10
10
|
<VcsContainer :attribution-action="attributionAction" />
|
11
|
-
<v-footer
|
12
|
-
absolute
|
13
|
-
v-if="$vuetify.breakpoint.smAndUp"
|
14
|
-
min-height="22px"
|
15
|
-
class="d-flex gap-1 pa-0"
|
16
|
-
>
|
11
|
+
<v-footer v-if="smAndUp" app absolute height="22" class="d-flex gc-1 pa-0">
|
17
12
|
<VcsPositionDisplay />
|
18
13
|
<VcsTextPageFooter
|
19
14
|
v-if="imprint"
|
@@ -35,7 +30,7 @@
|
|
35
30
|
</template>
|
36
31
|
|
37
32
|
<style scoped lang="scss">
|
38
|
-
|
33
|
+
:deep(.v-application--wrap) {
|
39
34
|
min-height: fit-content;
|
40
35
|
}
|
41
36
|
.align-wrapper {
|
@@ -46,17 +41,10 @@
|
|
46
41
|
</style>
|
47
42
|
|
48
43
|
<script>
|
49
|
-
import {
|
50
|
-
|
51
|
-
getCurrentInstance,
|
52
|
-
onMounted,
|
53
|
-
onUnmounted,
|
54
|
-
provide,
|
55
|
-
ref,
|
56
|
-
watch,
|
57
|
-
} from 'vue';
|
44
|
+
import { computed, onMounted, onUnmounted, provide, watch, ref } from 'vue';
|
45
|
+
import { useDisplay } from 'vuetify';
|
58
46
|
import { getVcsAppById, moduleIdSymbol } from '@vcmap/core';
|
59
|
-
import { VContainer, VFooter } from 'vuetify/
|
47
|
+
import { VContainer, VFooter } from 'vuetify/components';
|
60
48
|
import { getLogger } from '@vcsuite/logger';
|
61
49
|
import VcsContainer from './VcsContainer.vue';
|
62
50
|
import { ButtonLocation } from '../manager/navbarManager.js';
|
@@ -534,28 +522,31 @@
|
|
534
522
|
* the theming keys. Returns a function to stop syncing.
|
535
523
|
* Also adds a watcher to vuetify theme, which triggers themeChanged event on the VcsUiApp.
|
536
524
|
* @param {import("../vcsUiApp.js").default} app
|
537
|
-
* @param {import("vuetify").Framework} vuetify
|
538
525
|
* @returns {function():void} - call to stop syncing
|
539
526
|
*/
|
540
|
-
export function setupUiConfigTheming(app
|
527
|
+
export function setupUiConfigTheming(app) {
|
541
528
|
const listeners = [
|
542
529
|
app.uiConfig.added.addEventListener((item) => {
|
543
530
|
if (item.name === 'primaryColor') {
|
544
|
-
vuetify.theme.themes.dark.primary =
|
545
|
-
|
531
|
+
app.vuetify.theme.themes.value.dark.colors.primary =
|
532
|
+
item.value?.dark || item.value;
|
533
|
+
app.vuetify.theme.themes.value.light.colors.primary =
|
534
|
+
item.value?.light || item.value;
|
546
535
|
app.themeChanged.raiseEvent();
|
547
536
|
}
|
548
537
|
}),
|
549
538
|
app.uiConfig.removed.addEventListener((item) => {
|
550
539
|
if (item.name === 'primaryColor') {
|
551
|
-
vuetify.theme.themes.dark.primary =
|
552
|
-
|
540
|
+
app.vuetify.theme.themes.value.dark.colors.primary =
|
541
|
+
defaultPrimaryColor.dark;
|
542
|
+
app.vuetify.theme.themes.value.light.colors.primary =
|
543
|
+
defaultPrimaryColor.light;
|
553
544
|
app.themeChanged.raiseEvent();
|
554
545
|
}
|
555
546
|
}),
|
556
547
|
];
|
557
548
|
const stopWatching = watch(
|
558
|
-
() => vuetify.theme.dark,
|
549
|
+
() => app.vuetify.theme.current.value.dark,
|
559
550
|
() => app.themeChanged.raiseEvent(),
|
560
551
|
);
|
561
552
|
|
@@ -669,10 +660,7 @@
|
|
669
660
|
const stopSplashScreen = setupSplashScreen(app, splashScreenRef);
|
670
661
|
setupHelpButton(app);
|
671
662
|
const destroyComponentsWindow = setupCategoryManagerWindow(app);
|
672
|
-
const destroyThemingListener = setupUiConfigTheming(
|
673
|
-
app,
|
674
|
-
getCurrentInstance().proxy.$vuetify,
|
675
|
-
);
|
663
|
+
const destroyThemingListener = setupUiConfigTheming(app);
|
676
664
|
const destroyDisplayQualityListener = setupUiConfigDisplayQuality(app);
|
677
665
|
const { attributionEntries, attributionAction, destroyAttributions } =
|
678
666
|
setupAttributions(app);
|
@@ -697,7 +685,10 @@
|
|
697
685
|
destroyDisplayQualityListener();
|
698
686
|
});
|
699
687
|
|
688
|
+
const { smAndUp } = useDisplay();
|
689
|
+
|
700
690
|
return {
|
691
|
+
smAndUp,
|
701
692
|
mobileLogo: computed(
|
702
693
|
() =>
|
703
694
|
app.uiConfig.config.value.mobileLogo ??
|
@@ -45,10 +45,9 @@ export function setupCategoryManagerWindow(app: import("../vcsUiApp.js").default
|
|
45
45
|
* the theming keys. Returns a function to stop syncing.
|
46
46
|
* Also adds a watcher to vuetify theme, which triggers themeChanged event on the VcsUiApp.
|
47
47
|
* @param {import("../vcsUiApp.js").default} app
|
48
|
-
* @param {import("vuetify").Framework} vuetify
|
49
48
|
* @returns {function():void} - call to stop syncing
|
50
49
|
*/
|
51
|
-
export function setupUiConfigTheming(app: import("../vcsUiApp.js").default
|
50
|
+
export function setupUiConfigTheming(app: import("../vcsUiApp.js").default): () => void;
|
52
51
|
/**
|
53
52
|
* This helper sets up a listener to sync the display quality settings from the {@see UiConfigObject}
|
54
53
|
* @param {import("../vcsUiApp.js").default} app
|
@@ -72,6 +71,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
72
71
|
required: true;
|
73
72
|
};
|
74
73
|
}, {
|
74
|
+
smAndUp: import("vue").Ref<boolean>;
|
75
75
|
mobileLogo: import("vue").ComputedRef<any>;
|
76
76
|
imprint: import("vue").ComputedRef<{
|
77
77
|
title: string;
|
@@ -90,12 +90,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
90
90
|
height: string;
|
91
91
|
};
|
92
92
|
} | undefined>;
|
93
|
-
attributionEntries: import("vue").Ref<import("./attributionsHelper.js").AttributionEntry[]>;
|
94
|
-
attributionAction: import("../actions/actionHelper.js").VcsAction;
|
95
|
-
},
|
93
|
+
attributionEntries: import("vue").Ref<import("./attributionsHelper.js", { with: { "resolution-mode": "import" } }).AttributionEntry[]>;
|
94
|
+
attributionAction: import("../actions/actionHelper.js", { with: { "resolution-mode": "import" } }).VcsAction;
|
95
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
96
96
|
appId: {
|
97
97
|
type: StringConstructor;
|
98
98
|
required: true;
|
99
99
|
};
|
100
|
-
}>>, {}>;
|
100
|
+
}>>, {}, {}>;
|
101
101
|
export default _default;
|
@@ -3,10 +3,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
type: StringConstructor;
|
4
4
|
required: true;
|
5
5
|
};
|
6
|
-
},
|
6
|
+
}, any, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
7
7
|
appId: {
|
8
8
|
type: StringConstructor;
|
9
9
|
required: true;
|
10
10
|
};
|
11
|
-
}>>, {}>;
|
11
|
+
}>>, {}, {}>;
|
12
12
|
export default _default;
|
@@ -6,18 +6,16 @@
|
|
6
6
|
:key="key"
|
7
7
|
class="px-0"
|
8
8
|
>
|
9
|
-
<v-list-item-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
>
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
</v-list-item-subtitle>
|
20
|
-
</v-list-item-content>
|
9
|
+
<v-list-item-title>{{ $st(title) }}</v-list-item-title>
|
10
|
+
<v-list-item-subtitle
|
11
|
+
v-for="attribution in attributions"
|
12
|
+
:key="attribution.provider"
|
13
|
+
:title="`${$st(attribution.provider)} ${attribution.year}`"
|
14
|
+
>
|
15
|
+
<a :href="attribution.url" target="_blank">
|
16
|
+
{{ $st(attribution.provider) }} {{ attribution.year }}
|
17
|
+
</a>
|
18
|
+
</v-list-item-subtitle>
|
21
19
|
</v-list-item>
|
22
20
|
</v-list>
|
23
21
|
<v-sheet v-else class="ma-2">
|
@@ -53,30 +51,28 @@
|
|
53
51
|
import {
|
54
52
|
VList,
|
55
53
|
VListItem,
|
56
|
-
VListItemContent,
|
57
54
|
VListItemTitle,
|
58
55
|
VListItemSubtitle,
|
59
56
|
VSheet,
|
60
|
-
} from 'vuetify/
|
57
|
+
} from 'vuetify/components';
|
61
58
|
|
62
59
|
/**
|
63
60
|
* @description Lists attributions of maps, layers and oblique collections
|
64
|
-
* @vue-prop {import("vue").
|
61
|
+
* @vue-prop {import("vue").UnwrapRef<Array<AttributionEntry>} entries - array with one entry per active VcsObject
|
65
62
|
*/
|
66
63
|
export default {
|
67
64
|
name: 'VcsAttributions',
|
68
65
|
components: {
|
69
66
|
VList,
|
70
67
|
VListItem,
|
71
|
-
VListItemContent,
|
72
68
|
VListItemTitle,
|
73
69
|
VListItemSubtitle,
|
74
70
|
VSheet,
|
75
71
|
},
|
76
72
|
props: {
|
77
73
|
entries: {
|
78
|
-
type:
|
79
|
-
default: () =>
|
74
|
+
type: Array,
|
75
|
+
default: () => [],
|
80
76
|
},
|
81
77
|
},
|
82
78
|
};
|
@@ -1,14 +1,14 @@
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
2
2
|
entries: {
|
3
|
-
type:
|
4
|
-
default: () =>
|
3
|
+
type: ArrayConstructor;
|
4
|
+
default: () => never[];
|
5
5
|
};
|
6
|
-
},
|
6
|
+
}, any, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
7
7
|
entries: {
|
8
|
-
type:
|
9
|
-
default: () =>
|
8
|
+
type: ArrayConstructor;
|
9
|
+
default: () => never[];
|
10
10
|
};
|
11
11
|
}>>, {
|
12
|
-
entries:
|
13
|
-
}>;
|
12
|
+
entries: unknown[];
|
13
|
+
}, {}>;
|
14
14
|
export default _default;
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
13
13
|
years: string;
|
14
14
|
url: URL;
|
15
15
|
}[]>;
|
16
|
-
},
|
16
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
17
17
|
entries: {
|
18
18
|
type: ArrayConstructor;
|
19
19
|
required: true;
|
@@ -22,5 +22,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
22
22
|
type: ObjectConstructor;
|
23
23
|
required: true;
|
24
24
|
};
|
25
|
-
}>>, {}>;
|
25
|
+
}>>, {}, {}>;
|
26
26
|
export default _default;
|