@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
@@ -79,7 +79,7 @@ export const DefaultPanelPositions = {
|
|
79
79
|
/**
|
80
80
|
* @typedef {Object} PanelComponentOptions
|
81
81
|
* @property {string} [id] - Optional id, which will be set as HTML container ID. If not provided an uuid will be generated.
|
82
|
-
* @property {import("vue").Component} [component] Optional component to be rendered in the panel.
|
82
|
+
* @property {import("vue").Component<unknown, unknown, unknown>} [component] Optional component to be rendered in the panel.
|
83
83
|
* @property {Partial<PanelState>} [state]
|
84
84
|
* @property {Partial<VerticalPanelPositionOptions|HorizontalPanelPositionOptions>} [position] Will be merged with default position for panel
|
85
85
|
* @property {Object} [props]
|
@@ -99,7 +99,7 @@ export const DefaultPanelPositions = {
|
|
99
99
|
/**
|
100
100
|
* @typedef {Object} PanelComponent
|
101
101
|
* @property {string} id
|
102
|
-
* @property {import("vue").Component} component
|
102
|
+
* @property {import("vue").Component<unknown, unknown, unknown>} component
|
103
103
|
* @property {Partial<PanelState>} state
|
104
104
|
* @property {Object} props
|
105
105
|
* @property {Object} provides
|
@@ -151,9 +151,9 @@ class PanelManager {
|
|
151
151
|
this.removed = new VcsEvent();
|
152
152
|
/**
|
153
153
|
* reactive ordered array of ids,
|
154
|
-
* @type {
|
154
|
+
* @type {import("vue").UnwrapRef<string[]>}
|
155
155
|
*/
|
156
|
-
this.componentIds = [];
|
156
|
+
this.componentIds = reactive([]);
|
157
157
|
/**
|
158
158
|
* @type {Map<PanelLocation, string>}
|
159
159
|
* @private
|
@@ -2,12 +2,11 @@
|
|
2
2
|
<div v-if="orderedButtons.length > 0">
|
3
3
|
<v-menu
|
4
4
|
v-model="open"
|
5
|
-
@
|
6
|
-
|
7
|
-
:nudge-left="nudgeLeft"
|
5
|
+
@update:model-value="$emit('toggle', open)"
|
6
|
+
location="bottom center"
|
8
7
|
z-index="0"
|
9
8
|
>
|
10
|
-
<template #activator="{
|
9
|
+
<template #activator="{ props }">
|
11
10
|
<VcsToolButton
|
12
11
|
class="vcs-toolbox-toggle-button"
|
13
12
|
width="48"
|
@@ -16,8 +15,7 @@
|
|
16
15
|
:tooltip="group.title"
|
17
16
|
:active="open || hasActiveAction"
|
18
17
|
:color="hasActiveAction ? 'primary' : ''"
|
19
|
-
v-bind="
|
20
|
-
v-on="on"
|
18
|
+
v-bind="props"
|
21
19
|
>
|
22
20
|
<v-icon>{{ open ? 'mdi-chevron-up' : 'mdi-chevron-down' }}</v-icon>
|
23
21
|
</VcsToolButton>
|
@@ -25,13 +23,11 @@
|
|
25
23
|
|
26
24
|
<v-toolbar
|
27
25
|
id="vcs-toolbox-toolbar--secondary"
|
28
|
-
class="
|
26
|
+
class="mx-auto marginToTop px-1 rounded-b opacity-80 px-1"
|
29
27
|
:height="40"
|
30
|
-
width="fit-content"
|
31
|
-
dense
|
32
28
|
>
|
33
|
-
<v-toolbar-items class="w-
|
34
|
-
<div class="d-flex align-center justify-space-between w-
|
29
|
+
<v-toolbar-items class="w-100">
|
30
|
+
<div class="d-flex align-center justify-space-between w-100">
|
35
31
|
<VcsToolButton
|
36
32
|
v-for="{ id, action } in orderedButtons"
|
37
33
|
:key="id"
|
@@ -48,20 +44,14 @@
|
|
48
44
|
</v-menu>
|
49
45
|
</div>
|
50
46
|
</template>
|
51
|
-
<style lang="scss">
|
52
|
-
.vcs-toolbox-2 {
|
53
|
-
.v-toolbar__content {
|
54
|
-
padding: 0;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
47
|
+
<style lang="scss" scoped>
|
58
48
|
.marginToTop {
|
59
49
|
margin-top: 3px;
|
60
50
|
}
|
61
51
|
</style>
|
62
52
|
<script>
|
63
53
|
import { computed, ref } from 'vue';
|
64
|
-
import { VMenu, VIcon, VToolbar, VToolbarItems } from 'vuetify/
|
54
|
+
import { VMenu, VIcon, VToolbar, VToolbarItems } from 'vuetify/components';
|
65
55
|
import VcsToolButton from '../../components/buttons/VcsToolButton.vue';
|
66
56
|
import { getComponentsByOrder } from './toolboxManager.js';
|
67
57
|
|
@@ -74,7 +64,6 @@
|
|
74
64
|
* @vue-computed {Array<ButtonComponent>} buttons - Buttons of the group.
|
75
65
|
* @vue-computed {Array<ButtonComponent>} orderedButtons - Buttons of the group sorted by owner.
|
76
66
|
* @vue-computed {boolean} hasActiveAction - Whether the group has an active action.
|
77
|
-
* @vue-computed {number} nudgeLeft - offset of the dropdown toolbar to the left
|
78
67
|
*/
|
79
68
|
export default {
|
80
69
|
name: 'ToolboxActionGroup',
|
@@ -96,8 +85,7 @@
|
|
96
85
|
|
97
86
|
const buttons = computed(() => {
|
98
87
|
const { buttonManager } = props.group;
|
99
|
-
|
100
|
-
return buttonIds.value.map((id) => buttonManager.get(id));
|
88
|
+
return buttonManager.componentIds.map((id) => buttonManager.get(id));
|
101
89
|
});
|
102
90
|
const orderedButtons = computed(() =>
|
103
91
|
getComponentsByOrder(buttons.value),
|
@@ -106,21 +94,9 @@
|
|
106
94
|
orderedButtons.value.some((a) => a.action.active),
|
107
95
|
);
|
108
96
|
|
109
|
-
/**
|
110
|
-
* v-menu auto prop is not working as expected.
|
111
|
-
* Workaround using hardcoded button sizes and paddings
|
112
|
-
* @type {ComputedRef<number>}
|
113
|
-
*/
|
114
|
-
const nudgeLeft = computed(() => {
|
115
|
-
const toolboxBtnWidth = 42 + 8; // with padding
|
116
|
-
const menuBtnWidth = 48;
|
117
|
-
return buttons.value.length * (toolboxBtnWidth / 2) - menuBtnWidth / 2;
|
118
|
-
});
|
119
|
-
|
120
97
|
return {
|
121
98
|
open,
|
122
99
|
orderedButtons,
|
123
|
-
nudgeLeft,
|
124
100
|
hasActiveAction,
|
125
101
|
};
|
126
102
|
},
|
@@ -5,13 +5,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
};
|
6
6
|
}, {
|
7
7
|
open: import("vue").Ref<boolean>;
|
8
|
-
orderedButtons: import("vue").ComputedRef<(import("../buttonManager.js").ButtonComponent | import("./toolboxManager.js").ToolboxComponent)[]>;
|
9
|
-
nudgeLeft: ComputedRef<number>;
|
8
|
+
orderedButtons: import("vue").ComputedRef<(import("../buttonManager.js", { with: { "resolution-mode": "import" } }).ButtonComponent | import("./toolboxManager.js", { with: { "resolution-mode": "import" } }).ToolboxComponent)[]>;
|
10
9
|
hasActiveAction: import("vue").ComputedRef<boolean>;
|
11
|
-
},
|
10
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
12
11
|
group: {
|
13
12
|
type: ObjectConstructor;
|
14
13
|
required: true;
|
15
14
|
};
|
16
|
-
}>>, {}>;
|
15
|
+
}>>, {}, {}>;
|
17
16
|
export default _default;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<template>
|
2
2
|
<div
|
3
3
|
v-if="group.action"
|
4
|
+
class="d-flex"
|
4
5
|
:class="{ 'vcs-toolbox-action-select-button--active': open }"
|
5
|
-
style="width: fit-content"
|
6
6
|
>
|
7
7
|
<VcsToolButton
|
8
8
|
:key="group.action.tools[group.action.currentIndex].name"
|
@@ -19,17 +19,15 @@
|
|
19
19
|
/>
|
20
20
|
<v-menu
|
21
21
|
v-model="open"
|
22
|
-
|
23
|
-
|
24
|
-
:nudge-left="nudgeLeft"
|
22
|
+
location="bottom center"
|
23
|
+
@update:model-value="$emit('toggle', open)"
|
25
24
|
z-index="0"
|
26
25
|
>
|
27
|
-
<template #activator="{
|
26
|
+
<template #activator="{ props }">
|
28
27
|
<VcsToolButton
|
29
28
|
:tooltip="group.action.title"
|
30
29
|
:disabled="group.action.disabled"
|
31
|
-
v-bind="
|
32
|
-
v-on="on"
|
30
|
+
v-bind="props"
|
33
31
|
class="vcs-toolbox-action-select"
|
34
32
|
:min-width="16"
|
35
33
|
:width="16"
|
@@ -39,13 +37,12 @@
|
|
39
37
|
</template>
|
40
38
|
|
41
39
|
<v-toolbar
|
42
|
-
class="vcs-toolbox-2
|
40
|
+
class="vcs-toolbox-2 mx-auto marginToTop rounded-b opacity-80 px-1"
|
43
41
|
:height="40"
|
44
|
-
width="fit-content"
|
45
42
|
dense
|
46
43
|
>
|
47
|
-
<v-toolbar-items class="w-
|
48
|
-
<div class="d-flex align-center justify-space-between w-
|
44
|
+
<v-toolbar-items class="w-100">
|
45
|
+
<div class="d-flex align-center justify-space-between w-100">
|
49
46
|
<VcsToolButton
|
50
47
|
v-for="(item, index) in group.action.tools"
|
51
48
|
:key="`${item.name}-${index}`"
|
@@ -61,48 +58,20 @@
|
|
61
58
|
</v-menu>
|
62
59
|
</div>
|
63
60
|
</template>
|
64
|
-
<style lang="scss">
|
65
|
-
@import '../../styles/shades.scss';
|
66
|
-
|
67
|
-
.vcs-toolbox-action-selected > .v-btn.vcs-button--large {
|
68
|
-
max-width: 40px;
|
69
|
-
}
|
70
|
-
|
71
|
-
.vcs-toolbox-action-select > .v-btn.vcs-button--large {
|
72
|
-
max-width: 8px;
|
73
|
-
}
|
74
|
-
|
75
|
-
.vcs-toolbox-action-select-button--active {
|
76
|
-
//border: 2px solid var(--v-shades-base);
|
77
|
-
border-radius: 4px;
|
78
|
-
}
|
79
|
-
.theme--light .vcs-toolbox-action-select-button--active {
|
80
|
-
background: map-get($shades, 'white');
|
81
|
-
}
|
82
|
-
.theme--dark .vcs-toolbox-action-select-button--active {
|
83
|
-
background: map-get($shades, 'black');
|
84
|
-
}
|
85
|
-
|
86
|
-
.vcs-toolbox-2 {
|
87
|
-
.v-toolbar__content {
|
88
|
-
padding: 0;
|
89
|
-
}
|
90
|
-
}
|
91
|
-
|
61
|
+
<style lang="scss" scoped>
|
92
62
|
.marginToTop {
|
93
63
|
margin-top: 3px;
|
94
64
|
}
|
95
65
|
</style>
|
96
66
|
<script>
|
97
|
-
import { ref
|
98
|
-
import { VMenu, VIcon, VToolbar, VToolbarItems } from 'vuetify/
|
67
|
+
import { ref } from 'vue';
|
68
|
+
import { VMenu, VIcon, VToolbar, VToolbarItems } from 'vuetify/components';
|
99
69
|
import VcsToolButton from '../../components/buttons/VcsToolButton.vue';
|
100
70
|
|
101
71
|
/**
|
102
72
|
* @description
|
103
73
|
* A dynamic Toolbox Button rendering a selected item and a dropdown to select an item using {@link https://vuetifyjs.com/en/api/v-menu/|vuetify v-menu} and {@link VcsButton}.
|
104
74
|
* @vue-prop {SelectToolboxComponent} group - A toolbox group of type 'select'.
|
105
|
-
* @vue-computed {number} nudgeLeft - offset of the dropdown toolbar to the left
|
106
75
|
*/
|
107
76
|
export default {
|
108
77
|
name: 'ToolboxActionSelect',
|
@@ -119,26 +88,11 @@
|
|
119
88
|
required: true,
|
120
89
|
},
|
121
90
|
},
|
122
|
-
setup(
|
91
|
+
setup() {
|
123
92
|
const open = ref(false);
|
124
93
|
|
125
|
-
/**
|
126
|
-
* v-menu auto prop is not working as expected.
|
127
|
-
* Workaround using hardcoded button sizes and paddings
|
128
|
-
* @type {ComputedRef<number>}
|
129
|
-
*/
|
130
|
-
const nudgeLeft = computed(() => {
|
131
|
-
const toolboxBtnWidth = 42 + 8; // with padding
|
132
|
-
const menuBtnWidth = 16;
|
133
|
-
return (
|
134
|
-
props.group.action.tools.length * (toolboxBtnWidth / 2) +
|
135
|
-
menuBtnWidth / 2
|
136
|
-
);
|
137
|
-
});
|
138
|
-
|
139
94
|
return {
|
140
95
|
open,
|
141
|
-
nudgeLeft,
|
142
96
|
};
|
143
97
|
},
|
144
98
|
};
|
@@ -5,11 +5,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
};
|
6
6
|
}, {
|
7
7
|
open: import("vue").Ref<boolean>;
|
8
|
-
|
9
|
-
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
8
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
10
9
|
group: {
|
11
10
|
type: ObjectConstructor;
|
12
11
|
required: true;
|
13
12
|
};
|
14
|
-
}>>, {}>;
|
13
|
+
}>>, {}, {}>;
|
15
14
|
export default _default;
|
@@ -1,22 +1,18 @@
|
|
1
1
|
<template>
|
2
2
|
<v-toolbar
|
3
|
-
v-if="
|
4
|
-
|
5
|
-
"
|
6
|
-
class="vcs-toolbox mx-auto v-sheet marginToTop"
|
3
|
+
v-if="toolboxOpen && orderedGroups.length > 0 && mdAndUp"
|
4
|
+
class="vcs-toolbox mx-auto marginToTop opacity-80"
|
7
5
|
:class="{
|
8
6
|
'rounded-b': !open,
|
9
|
-
toolbar__secondary: !isDefaultToolbox,
|
10
7
|
}"
|
11
8
|
:height="40"
|
12
9
|
:style="{ zIndex }"
|
13
10
|
@click.stop="bringToTop"
|
14
|
-
|
15
|
-
dense
|
11
|
+
style="width: fit-content"
|
16
12
|
>
|
17
|
-
<v-toolbar-items class="w-
|
13
|
+
<v-toolbar-items class="w-100 px-4 gc-1">
|
18
14
|
<div
|
19
|
-
class="d-flex align-center justify-space-between w-
|
15
|
+
class="d-flex align-center justify-space-between w-100"
|
20
16
|
v-for="group in orderedGroups"
|
21
17
|
:key="group.id"
|
22
18
|
>
|
@@ -46,40 +42,15 @@
|
|
46
42
|
</template>
|
47
43
|
|
48
44
|
<style lang="scss" scoped>
|
49
|
-
.toolbar__secondary {
|
50
|
-
position: absolute;
|
51
|
-
top: 0;
|
52
|
-
left: 0;
|
53
|
-
right: 0;
|
54
|
-
&.vcs-toolbox.theme {
|
55
|
-
&--light {
|
56
|
-
background-color: var(--v-primary-lighten3) !important;
|
57
|
-
}
|
58
|
-
&--dark {
|
59
|
-
background-color: var(--v-primary-darken4) !important;
|
60
|
-
}
|
61
|
-
}
|
62
|
-
&.v-toolbar {
|
63
|
-
::v-deep .v-toolbar__content {
|
64
|
-
padding: 0;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
}
|
68
|
-
|
69
45
|
.marginToTop {
|
70
46
|
margin-top: 2px;
|
71
47
|
}
|
72
|
-
|
73
|
-
.v-toolbar__items > div {
|
74
|
-
gap: 8px;
|
75
|
-
width: fit-content;
|
76
|
-
}
|
77
48
|
</style>
|
78
49
|
|
79
50
|
<script>
|
80
51
|
import { inject, ref, computed, watch, onUnmounted } from 'vue';
|
81
|
-
import {
|
82
|
-
import { VToolbar, VToolbarItems } from 'vuetify/
|
52
|
+
import { useDisplay } from 'vuetify';
|
53
|
+
import { VToolbar, VToolbarItems } from 'vuetify/components';
|
83
54
|
import {
|
84
55
|
defaultToolboxName,
|
85
56
|
getComponentsByOrder,
|
@@ -88,6 +59,8 @@
|
|
88
59
|
import ToolboxActionSelect from './SelectToolboxComponent.vue';
|
89
60
|
import ToolboxActionGroup from './GroupToolboxComponent.vue';
|
90
61
|
import VcsToolButton from '../../components/buttons/VcsToolButton.vue';
|
62
|
+
import { vcsAppSymbol } from '../../pluginHelper.js';
|
63
|
+
import { ButtonLocation } from '../navbarManager.js';
|
91
64
|
|
92
65
|
/**
|
93
66
|
* @typedef {Object} ToolboxButtonGroup
|
@@ -122,9 +95,8 @@
|
|
122
95
|
setup() {
|
123
96
|
const app = inject('vcsApp');
|
124
97
|
|
125
|
-
const toolboxComponentIds = ref(app.toolboxManager.componentIds);
|
126
98
|
const groups = computed(() => {
|
127
|
-
return
|
99
|
+
return app.toolboxManager.componentIds.map((id) =>
|
128
100
|
app.toolboxManager.get(id),
|
129
101
|
);
|
130
102
|
});
|
@@ -210,7 +182,9 @@
|
|
210
182
|
app.windowManager.bringWindowToTop('toolbox');
|
211
183
|
};
|
212
184
|
|
185
|
+
const { mdAndUp } = useDisplay();
|
213
186
|
return {
|
187
|
+
mdAndUp,
|
214
188
|
toolboxOpen,
|
215
189
|
orderedGroups,
|
216
190
|
zIndex,
|
@@ -1,6 +1,7 @@
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
2
|
+
mdAndUp: import("vue").Ref<boolean>;
|
2
3
|
toolboxOpen: import("vue").Ref<boolean>;
|
3
|
-
orderedGroups: import("vue").ComputedRef<(import("../buttonManager.js").ButtonComponent | import("./toolboxManager.js").ToolboxComponent)[]>;
|
4
|
+
orderedGroups: import("vue").ComputedRef<(import("../buttonManager.js", { with: { "resolution-mode": "import" } }).ButtonComponent | import("./toolboxManager.js", { with: { "resolution-mode": "import" } }).ToolboxComponent)[]>;
|
4
5
|
zIndex: any;
|
5
6
|
isDefaultToolbox: import("vue").ComputedRef<boolean>;
|
6
7
|
ToolboxType: {
|
@@ -11,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
11
12
|
open: import("vue").Ref<boolean>;
|
12
13
|
bringToTop: () => void;
|
13
14
|
openGroup(group: any): void;
|
14
|
-
}, {}, {}, {}, import("vue
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
15
16
|
export default _default;
|
16
17
|
export type ToolboxButtonGroup = {
|
17
18
|
id: string;
|
@@ -114,9 +114,9 @@ declare class ToolboxManager implements IToolboxManager {
|
|
114
114
|
removed: import("@vcmap/core").VcsEvent<ToolboxComponent>;
|
115
115
|
/**
|
116
116
|
* reactive ordered array of ids,
|
117
|
-
* @type {
|
117
|
+
* @type {import("vue").UnwrapRef<string[]>}
|
118
118
|
*/
|
119
|
-
componentIds:
|
119
|
+
componentIds: import("vue").UnwrapRef<string[]>;
|
120
120
|
/**
|
121
121
|
* @type {Map<string, ToolboxComponent>}
|
122
122
|
* @private
|
@@ -131,7 +131,7 @@ declare class ToolboxManager implements IToolboxManager {
|
|
131
131
|
* @type {VcsEvent<string>}
|
132
132
|
*/
|
133
133
|
toolboxNameChanged: VcsEvent<string>;
|
134
|
-
set toolboxName(
|
134
|
+
set toolboxName(name: string | symbol);
|
135
135
|
get toolboxName(): string | symbol;
|
136
136
|
setDefaultToolboxName(): void;
|
137
137
|
/**
|
@@ -204,10 +204,9 @@ class ToolboxManager {
|
|
204
204
|
this.removed = new VcsEvent();
|
205
205
|
/**
|
206
206
|
* reactive ordered array of ids,
|
207
|
-
* @type {
|
207
|
+
* @type {import("vue").UnwrapRef<string[]>}
|
208
208
|
*/
|
209
|
-
this.componentIds = [];
|
210
|
-
|
209
|
+
this.componentIds = reactive([]);
|
211
210
|
/**
|
212
211
|
* @type {Map<string, ToolboxComponent>}
|
213
212
|
* @private
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<v-sheet
|
3
3
|
:id="`window-component--${windowState.id}`"
|
4
4
|
class="elevation-3 position-absolute d-flex flex-column"
|
5
|
-
v-
|
5
|
+
v-bind="$attrs"
|
6
6
|
@dragstart="dragStart"
|
7
7
|
@dragend="dragEnd"
|
8
8
|
:draggable="isDraggable"
|
@@ -45,7 +45,7 @@
|
|
45
45
|
|
46
46
|
<script>
|
47
47
|
import { computed, inject, provide, ref } from 'vue';
|
48
|
-
import { VDivider, VSheet } from 'vuetify/
|
48
|
+
import { VDivider, VSheet } from 'vuetify/components';
|
49
49
|
import { WindowSlot } from './windowManager.js';
|
50
50
|
|
51
51
|
/**
|
@@ -61,6 +61,7 @@
|
|
61
61
|
*/
|
62
62
|
export default {
|
63
63
|
name: 'WindowComponent',
|
64
|
+
inheritAttrs: false,
|
64
65
|
components: {
|
65
66
|
VSheet,
|
66
67
|
VDivider,
|
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
22
22
|
dragStart: (e: DragEvent) => void;
|
23
23
|
dragEnd: (endEvent: DragEvent) => void;
|
24
24
|
mousedown: (e: MouseEvent) => void;
|
25
|
-
},
|
25
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
26
26
|
windowState: {
|
27
27
|
type: ObjectConstructor;
|
28
28
|
required: true;
|
@@ -36,5 +36,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
36
36
|
type: ObjectConstructor;
|
37
37
|
required: true;
|
38
38
|
};
|
39
|
-
}>>, {}>;
|
39
|
+
}>>, {}, {}>;
|
40
40
|
export default _default;
|
@@ -24,7 +24,7 @@
|
|
24
24
|
:actions="windowState.headerActions"
|
25
25
|
:overflow-count="windowState.headerActionsOverflow ?? 3"
|
26
26
|
/>
|
27
|
-
<v-divider vertical inset class="mx-1" />
|
27
|
+
<v-divider vertical inset class="mx-1 my-1" />
|
28
28
|
</template>
|
29
29
|
<VcsButton
|
30
30
|
v-if="infoAction"
|
@@ -61,10 +61,13 @@
|
|
61
61
|
margin-top: 2px;
|
62
62
|
}
|
63
63
|
}
|
64
|
+
.user-select-none {
|
65
|
+
user-select: none;
|
66
|
+
}
|
64
67
|
</style>
|
65
68
|
|
66
69
|
<script>
|
67
|
-
import { VIcon, VDivider } from 'vuetify/
|
70
|
+
import { VIcon, VDivider } from 'vuetify/components';
|
68
71
|
import { computed, getCurrentInstance } from 'vue';
|
69
72
|
import VcsButton from '../../components/buttons/VcsButton.vue';
|
70
73
|
import VcsActionButtonList from '../../components/buttons/VcsActionButtonList.vue';
|
@@ -86,6 +89,7 @@
|
|
86
89
|
VIcon,
|
87
90
|
VDivider,
|
88
91
|
},
|
92
|
+
inheritAttrs: false,
|
89
93
|
props: {
|
90
94
|
windowState: {
|
91
95
|
type: Object,
|
@@ -116,8 +120,8 @@
|
|
116
120
|
|
117
121
|
const translatedHeaderTitle = computed(() =>
|
118
122
|
Array.isArray(props.windowState.headerTitle)
|
119
|
-
? props.windowState.headerTitle.map((t) => vm.$
|
120
|
-
: vm.$
|
123
|
+
? props.windowState.headerTitle.map((t) => vm.$st(t)).join(' ')
|
124
|
+
: vm.$st(props.windowState.headerTitle),
|
121
125
|
);
|
122
126
|
|
123
127
|
const infoAction =
|
@@ -17,8 +17,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
17
17
|
close: () => void;
|
18
18
|
isDockable: import("vue").ComputedRef<any>;
|
19
19
|
translatedHeaderTitle: import("vue").ComputedRef<any>;
|
20
|
-
infoAction: import("../../actions/actionHelper.js").VcsAction | undefined;
|
21
|
-
},
|
20
|
+
infoAction: import("../../actions/actionHelper.js", { with: { "resolution-mode": "import" } }).VcsAction | undefined;
|
21
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
22
22
|
windowState: {
|
23
23
|
type: ObjectConstructor;
|
24
24
|
required: true;
|
@@ -32,5 +32,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
32
32
|
type: ObjectConstructor;
|
33
33
|
required: true;
|
34
34
|
};
|
35
|
-
}>>, {}>;
|
35
|
+
}>>, {}, {}>;
|
36
36
|
export default _default;
|
@@ -56,8 +56,8 @@
|
|
56
56
|
</style>
|
57
57
|
|
58
58
|
<script>
|
59
|
-
import { computed,
|
60
|
-
|
59
|
+
import { computed, inject, onUnmounted, ref } from 'vue';
|
60
|
+
import { useDisplay } from 'vuetify';
|
61
61
|
import WindowComponent from './WindowComponent.vue';
|
62
62
|
import WindowComponentHeader from './WindowComponentHeader.vue';
|
63
63
|
import BalloonComponent from '../../featureInfo/BalloonComponent.vue';
|
@@ -161,13 +161,8 @@
|
|
161
161
|
moveWindow(id, translation, windowManager, targetSize.value, position);
|
162
162
|
};
|
163
163
|
|
164
|
-
const componentIdRef = ref(componentIds);
|
165
|
-
|
166
164
|
const addMobileClass = computed(() => {
|
167
|
-
return (
|
168
|
-
getCurrentInstance().proxy.$vuetify.breakpoint.xs &&
|
169
|
-
componentIdRef.value.length > 0
|
170
|
-
);
|
165
|
+
return useDisplay().xs.value && componentIds.length > 0;
|
171
166
|
});
|
172
167
|
|
173
168
|
const setTargetSize = () => {
|
@@ -183,7 +178,7 @@
|
|
183
178
|
});
|
184
179
|
|
185
180
|
return {
|
186
|
-
componentIds
|
181
|
+
componentIds,
|
187
182
|
getComponent: (id) => windowManager.get(id).component,
|
188
183
|
getHeaderComponent: (id) =>
|
189
184
|
windowManager.get(id).headerComponent || WindowComponentHeader,
|
@@ -14,6 +14,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
14
14
|
dx: number;
|
15
15
|
dy: number;
|
16
16
|
}) => void;
|
17
|
-
addMobileClass: import("vue").ComputedRef<
|
18
|
-
}, {}, {}, {}, import("vue
|
17
|
+
addMobileClass: import("vue").ComputedRef<boolean>;
|
18
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
19
19
|
export default _default;
|