@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
@@ -6,7 +6,7 @@ export const scaleByDistanceDefault: number[];
|
|
6
6
|
export const eyeOffsetDefault: number[];
|
7
7
|
export const dimensionsUpperCase: string[];
|
8
8
|
declare const _default: import("vue").DefineComponent<{
|
9
|
-
|
9
|
+
modelValue: {
|
10
10
|
type: ObjectConstructor;
|
11
11
|
default: () => void;
|
12
12
|
};
|
@@ -45,7 +45,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
45
45
|
icon: string;
|
46
46
|
callback: () => void;
|
47
47
|
}[]>;
|
48
|
-
visibleProperties: import("vue").ComputedRef<Set<
|
48
|
+
visibleProperties: import("vue").ComputedRef<Set<unknown>>;
|
49
49
|
altitudeMode: import("vue").WritableComputedRef<any>;
|
50
50
|
availableAltitudeModes: import("vue").ComputedRef<{
|
51
51
|
value: string;
|
@@ -74,8 +74,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
74
74
|
baseUrl: import("vue").WritableComputedRef<any>;
|
75
75
|
reset: () => void;
|
76
76
|
dimensionsUpperCase: string[];
|
77
|
-
},
|
78
|
-
|
77
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
78
|
+
modelValue: {
|
79
79
|
type: ObjectConstructor;
|
80
80
|
default: () => void;
|
81
81
|
};
|
@@ -108,12 +108,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
108
108
|
default: boolean;
|
109
109
|
};
|
110
110
|
}>>, {
|
111
|
-
|
111
|
+
modelValue: Record<string, any>;
|
112
112
|
properties: unknown[];
|
113
113
|
expandable: boolean;
|
114
114
|
startOpen: boolean;
|
115
|
-
showReset: boolean;
|
116
115
|
show3DProperties: boolean;
|
117
116
|
showDividers: boolean;
|
118
|
-
|
117
|
+
showReset: boolean;
|
118
|
+
}, {}>;
|
119
119
|
export default _default;
|
@@ -18,7 +18,7 @@ export function usePrimitiveProperty(modelObject, key, emit) {
|
|
18
18
|
if (modelObject()[key] !== value) {
|
19
19
|
const newParams = structuredClone(modelObject());
|
20
20
|
const changedParams = { [key]: value ?? undefined };
|
21
|
-
emit('
|
21
|
+
emit('update:modelValue', Object.assign(newParams, changedParams));
|
22
22
|
emit('propertyChange', changedParams);
|
23
23
|
}
|
24
24
|
},
|
@@ -61,7 +61,7 @@ export function useArrayProperty(modelObject, key, emit, arrayLength) {
|
|
61
61
|
}
|
62
62
|
|
63
63
|
if (changedParams) {
|
64
|
-
emit('
|
64
|
+
emit('update:modelValue', Object.assign(newParams, changedParams));
|
65
65
|
emit('propertyChange', changedParams);
|
66
66
|
}
|
67
67
|
},
|
@@ -93,7 +93,7 @@ export function useHasProperty(modelObject, key, emit, valueDefault) {
|
|
93
93
|
} else {
|
94
94
|
changedParams = { [key]: undefined };
|
95
95
|
}
|
96
|
-
emit('
|
96
|
+
emit('update:modelValue', Object.assign(newParams, changedParams));
|
97
97
|
emit('propertyChange', changedParams);
|
98
98
|
},
|
99
99
|
});
|
@@ -16,9 +16,8 @@
|
|
16
16
|
<v-col>
|
17
17
|
<VcsTextField
|
18
18
|
id="name"
|
19
|
-
dense
|
20
19
|
clearable
|
21
|
-
v-model="name"
|
20
|
+
v-model="localValue.name"
|
22
21
|
:rules="nameRules"
|
23
22
|
/>
|
24
23
|
</v-col>
|
@@ -32,7 +31,6 @@
|
|
32
31
|
<v-col>
|
33
32
|
<VcsTextField
|
34
33
|
id="title"
|
35
|
-
dense
|
36
34
|
clearable
|
37
35
|
:placeholder="$t('components.viewpoint.titlePlaceholder')"
|
38
36
|
v-model="title"
|
@@ -44,21 +42,20 @@
|
|
44
42
|
<VcsCheckbox
|
45
43
|
id="animate"
|
46
44
|
label="components.viewpoint.animate"
|
47
|
-
|
48
|
-
v-model="animate"
|
45
|
+
v-model="localValue.animate"
|
49
46
|
/>
|
50
47
|
</v-col>
|
51
48
|
<v-col>
|
52
49
|
<VcsTextField
|
53
|
-
v-if="animate"
|
50
|
+
v-if="localValue.animate"
|
54
51
|
id="duration"
|
55
|
-
dense
|
56
52
|
clearable
|
53
|
+
:hide-spin-buttons="true"
|
57
54
|
type="number"
|
58
55
|
:min="1"
|
59
56
|
unit="s"
|
60
57
|
:title="$t('components.viewpoint.duration')"
|
61
|
-
v-model.number="duration"
|
58
|
+
v-model.number="localValue.duration"
|
62
59
|
/>
|
63
60
|
</v-col>
|
64
61
|
</v-row>
|
@@ -80,10 +77,10 @@
|
|
80
77
|
</v-col>
|
81
78
|
</v-row>
|
82
79
|
<VcsCoordinate
|
83
|
-
|
80
|
+
:model-value="localValue.groundPosition"
|
84
81
|
:disabled="editAction.active"
|
85
|
-
@blur="
|
86
|
-
@
|
82
|
+
@blur="gotoViewpoint"
|
83
|
+
@update:model-value="handleInput('groundPosition')"
|
87
84
|
hide-z
|
88
85
|
/>
|
89
86
|
</template>
|
@@ -96,10 +93,10 @@
|
|
96
93
|
</v-col>
|
97
94
|
</v-row>
|
98
95
|
<VcsCoordinate
|
99
|
-
|
96
|
+
:model-value="localValue.cameraPosition"
|
100
97
|
:disabled="editAction.active"
|
101
|
-
@blur="
|
102
|
-
@
|
98
|
+
@blur="gotoViewpoint"
|
99
|
+
@update:model-value="(v) => handleInput('cameraPosition', v)"
|
103
100
|
/>
|
104
101
|
</template>
|
105
102
|
<template v-if="!isCesiumMap">
|
@@ -111,17 +108,17 @@
|
|
111
108
|
</v-col>
|
112
109
|
<v-col>
|
113
110
|
<VcsTextField
|
114
|
-
dense
|
115
111
|
:min="0"
|
116
112
|
:step="100"
|
117
113
|
prefix="d"
|
118
114
|
unit="m"
|
119
115
|
:decimals="2"
|
116
|
+
:hide-spin-buttons="true"
|
120
117
|
type="number"
|
121
|
-
v-model.number="distance"
|
118
|
+
v-model.number="localValue.distance"
|
122
119
|
:disabled="editAction.active"
|
123
120
|
@blur="gotoViewpoint"
|
124
|
-
@
|
121
|
+
@update:model-value="gotoViewpoint"
|
125
122
|
:rules="[isPositiveNumber]"
|
126
123
|
/>
|
127
124
|
</v-col>
|
@@ -132,19 +129,20 @@
|
|
132
129
|
<v-row no-gutters>
|
133
130
|
<v-col cols="9">
|
134
131
|
<VcsLabel :html-for="key" dense>
|
135
|
-
{{ $
|
132
|
+
{{ $st(`components.viewpoint.${key}`) }}
|
136
133
|
</VcsLabel>
|
137
134
|
</v-col>
|
138
135
|
<v-col cols="3">
|
139
136
|
<VcsTextField
|
140
137
|
:id="key"
|
141
|
-
|
138
|
+
:hide-spin-buttons="true"
|
142
139
|
type="number"
|
143
140
|
unit="°"
|
144
|
-
v-model.number="hpr[key].value"
|
145
141
|
:disabled="editAction.active"
|
142
|
+
:decimals="0"
|
143
|
+
v-model.number="localValue[key]"
|
146
144
|
@blur="gotoViewpoint"
|
147
|
-
@
|
145
|
+
@update:model-value="gotoViewpoint"
|
148
146
|
:rules="[isFiniteNumber]"
|
149
147
|
class="pr-0 ml-6"
|
150
148
|
/>
|
@@ -153,14 +151,13 @@
|
|
153
151
|
<v-row no-gutters>
|
154
152
|
<v-col cols="12">
|
155
153
|
<VcsSlider
|
156
|
-
dense
|
157
154
|
height="32"
|
158
155
|
hide-details
|
159
156
|
:step="0.1"
|
160
|
-
v-model="
|
157
|
+
v-model="localValue[key]"
|
161
158
|
v-bind="hprSliderOptions[key]"
|
162
159
|
:disabled="editAction.active"
|
163
|
-
@
|
160
|
+
@update:model-value="gotoViewpoint"
|
164
161
|
/>
|
165
162
|
</v-col>
|
166
163
|
</v-row>
|
@@ -181,7 +178,7 @@
|
|
181
178
|
ref,
|
182
179
|
watch,
|
183
180
|
} from 'vue';
|
184
|
-
import { VSheet, VContainer, VRow, VCol } from 'vuetify/
|
181
|
+
import { VSheet, VContainer, VRow, VCol } from 'vuetify/components';
|
185
182
|
import { CesiumMap, ObliqueMap, OpenlayersMap, Viewpoint } from '@vcmap/core';
|
186
183
|
import VcsFormSection from '../form-inputs-controls/VcsFormSection.vue';
|
187
184
|
import VcsLabel from '../form-inputs-controls/VcsLabel.vue';
|
@@ -189,38 +186,20 @@
|
|
189
186
|
import VcsCheckbox from '../form-inputs-controls/VcsCheckbox.vue';
|
190
187
|
import VcsCoordinate from '../form-inputs-controls/VcsCoordinate.vue';
|
191
188
|
import VcsSlider from '../form-inputs-controls/VcsSlider.vue';
|
192
|
-
import {
|
193
|
-
|
194
|
-
/**
|
195
|
-
* @param {import("vue").emit} emit
|
196
|
-
* @param {import("@vcmap/core").Viewpoint} viewpoint
|
197
|
-
* @param {() => import("@vcmap/core").ViewpointOptions} getModelValue
|
198
|
-
*/
|
199
|
-
function emitInput(emit, viewpoint, getModelValue) {
|
200
|
-
const clone = structuredClone(getModelValue());
|
201
|
-
const { name, animate, duration, ...options } = viewpoint.toJSON();
|
202
|
-
emit('input', Object.assign(clone, options));
|
203
|
-
}
|
189
|
+
import { useProxiedComplexModel } from '../modelHelper.js';
|
204
190
|
|
205
191
|
/**
|
206
192
|
* Set up post render handler, if action is active.
|
207
193
|
* If action is inactive, destroy post render handler to allow manual editing.
|
208
194
|
* @param {import("@vcmap/ui").VcsUiApp} app
|
209
|
-
* @param {import("vue").
|
210
|
-
* @param {() => import("@vcmap/core").ViewpointOptions} getModelValue
|
195
|
+
* @param {import("vue").Ref<import("vue").UnwrapRef<import("@vcmap/core").ViewpointOptions>>} localValue
|
211
196
|
* @param {import("vue").Ref<boolean>} isCesiumMap
|
212
197
|
* @param {boolean} startSync - whether to set up post render handler on creation
|
213
198
|
* @returns {{action: import("../../actions/actionHelper.js").VcsAction, destroy: function():void}}
|
214
199
|
*/
|
215
|
-
function createEditingAction(
|
216
|
-
app,
|
217
|
-
emit,
|
218
|
-
getModelValue,
|
219
|
-
isCesiumMap,
|
220
|
-
startSync,
|
221
|
-
) {
|
200
|
+
function createEditingAction(app, localValue, isCesiumMap, startSync) {
|
222
201
|
let destroyPostRenderListener = () => {};
|
223
|
-
let cachedViewpoint = new Viewpoint(
|
202
|
+
let cachedViewpoint = new Viewpoint(localValue.value);
|
224
203
|
|
225
204
|
function setupPostRenderListener() {
|
226
205
|
destroyPostRenderListener();
|
@@ -234,7 +213,9 @@
|
|
234
213
|
) {
|
235
214
|
return;
|
236
215
|
}
|
237
|
-
|
216
|
+
const options = viewpoint.toJSON();
|
217
|
+
options.name = localValue.value.name;
|
218
|
+
localValue.value = options;
|
238
219
|
cachedViewpoint = viewpoint;
|
239
220
|
},
|
240
221
|
);
|
@@ -320,9 +301,10 @@
|
|
320
301
|
* @returns {Promise<void>}
|
321
302
|
*/
|
322
303
|
export async function gotoViewpointOptions(app, options) {
|
323
|
-
const
|
324
|
-
|
325
|
-
|
304
|
+
const viewpoint = new Viewpoint({
|
305
|
+
...options,
|
306
|
+
animate: false,
|
307
|
+
});
|
326
308
|
if (app.maps.activeMap && viewpoint.isValid()) {
|
327
309
|
await app.maps.activeMap.gotoViewpoint(viewpoint);
|
328
310
|
}
|
@@ -354,9 +336,9 @@
|
|
354
336
|
VcsSlider,
|
355
337
|
},
|
356
338
|
props: {
|
357
|
-
|
339
|
+
modelValue: {
|
358
340
|
type: Object,
|
359
|
-
default:
|
341
|
+
default: Viewpoint.getDefaultOptions(),
|
360
342
|
},
|
361
343
|
startSync: {
|
362
344
|
type: Boolean,
|
@@ -387,55 +369,29 @@
|
|
387
369
|
default: () => [],
|
388
370
|
},
|
389
371
|
},
|
372
|
+
emits: ['update:modelValue'],
|
390
373
|
setup(props, { emit }) {
|
391
374
|
const app = inject('vcsApp');
|
392
375
|
const isCesiumMap = ref(
|
393
376
|
app.maps.activeMap?.className === CesiumMap.className,
|
394
377
|
);
|
378
|
+
const localValue = useProxiedComplexModel(props, 'modelValue', emit);
|
395
379
|
|
396
|
-
const name = usePrimitiveProperty(() => props.value, 'name', emit);
|
397
380
|
const title = computed({
|
398
381
|
get() {
|
399
|
-
return
|
382
|
+
return localValue.value.properties?.title;
|
400
383
|
},
|
401
384
|
set(value) {
|
402
|
-
if (
|
403
|
-
|
404
|
-
|
405
|
-
clone.properties.title = value;
|
385
|
+
if (localValue.value.properties?.title !== value) {
|
386
|
+
if (localValue.value.properties) {
|
387
|
+
localValue.value.properties.title = value;
|
406
388
|
} else {
|
407
|
-
|
389
|
+
localValue.value.properties = { title: value };
|
408
390
|
}
|
409
|
-
emit('input', clone);
|
410
391
|
}
|
411
392
|
},
|
412
393
|
});
|
413
|
-
|
414
|
-
const duration = usePrimitiveProperty(
|
415
|
-
() => props.value,
|
416
|
-
'duration',
|
417
|
-
emit,
|
418
|
-
);
|
419
|
-
const groundPosition = usePrimitiveProperty(
|
420
|
-
() => props.value,
|
421
|
-
'groundPosition',
|
422
|
-
emit,
|
423
|
-
);
|
424
|
-
const cameraPosition = usePrimitiveProperty(
|
425
|
-
() => props.value,
|
426
|
-
'cameraPosition',
|
427
|
-
emit,
|
428
|
-
);
|
429
|
-
const distance = usePrimitiveProperty(
|
430
|
-
() => props.value,
|
431
|
-
'distance',
|
432
|
-
emit,
|
433
|
-
);
|
434
|
-
const hpr = {
|
435
|
-
heading: usePrimitiveProperty(() => props.value, 'heading', emit),
|
436
|
-
pitch: usePrimitiveProperty(() => props.value, 'pitch', emit),
|
437
|
-
roll: usePrimitiveProperty(() => props.value, 'roll', emit),
|
438
|
-
};
|
394
|
+
|
439
395
|
const hprSliderOptions = {
|
440
396
|
heading: {
|
441
397
|
min: 0,
|
@@ -461,15 +417,16 @@
|
|
461
417
|
async callback() {
|
462
418
|
if (app.maps.activeMap) {
|
463
419
|
const viewpoint = await app.maps.activeMap.getViewpoint();
|
464
|
-
|
420
|
+
const options = viewpoint.toJSON();
|
421
|
+
options.name = localValue.value.name;
|
422
|
+
localValue.value = options;
|
465
423
|
}
|
466
424
|
},
|
467
425
|
};
|
468
426
|
|
469
427
|
const { action: editAction, destroy } = createEditingAction(
|
470
428
|
app,
|
471
|
-
|
472
|
-
() => props.value,
|
429
|
+
localValue,
|
473
430
|
isCesiumMap,
|
474
431
|
props.startSync,
|
475
432
|
);
|
@@ -478,8 +435,8 @@
|
|
478
435
|
* set cameraPosition for 3D if unset
|
479
436
|
*/
|
480
437
|
const mapWatcher = watch(isCesiumMap, () => {
|
481
|
-
if (isCesiumMap.value && !
|
482
|
-
|
438
|
+
if (isCesiumMap.value && !localValue.value.cameraPosition) {
|
439
|
+
localValue.value.cameraPosition =
|
483
440
|
app.maps.activeMap?.getViewpointSync()?.cameraPosition;
|
484
441
|
}
|
485
442
|
});
|
@@ -502,15 +459,16 @@
|
|
502
459
|
});
|
503
460
|
|
504
461
|
async function gotoViewpoint() {
|
505
|
-
await gotoViewpointOptions(app,
|
462
|
+
await gotoViewpointOptions(app, localValue.value);
|
506
463
|
}
|
507
464
|
|
508
|
-
async function handleInput(key) {
|
465
|
+
async function handleInput(key, value) {
|
466
|
+
localValue.value[key] = value;
|
509
467
|
if (app.maps.activeMap) {
|
510
468
|
if (key === 'groundPosition') {
|
511
|
-
|
469
|
+
localValue.value.cameraPosition = undefined;
|
512
470
|
} else if (key === 'cameraPosition') {
|
513
|
-
|
471
|
+
localValue.value.groundPosition = (
|
514
472
|
await app.maps.activeMap.getViewpoint()
|
515
473
|
).groundPosition;
|
516
474
|
}
|
@@ -520,18 +478,12 @@
|
|
520
478
|
|
521
479
|
return {
|
522
480
|
isCesiumMap,
|
481
|
+
localValue,
|
482
|
+
title,
|
523
483
|
gotoViewpoint,
|
524
484
|
handleInput,
|
525
485
|
updateFromViewAction,
|
526
486
|
editAction,
|
527
|
-
name,
|
528
|
-
title,
|
529
|
-
animate,
|
530
|
-
duration,
|
531
|
-
groundPosition,
|
532
|
-
cameraPosition,
|
533
|
-
distance,
|
534
|
-
hpr,
|
535
487
|
hprSliderOptions,
|
536
488
|
isFiniteNumber,
|
537
489
|
isPositiveNumber,
|
@@ -15,9 +15,9 @@ export function isPositiveNumber(number: number): boolean | string;
|
|
15
15
|
*/
|
16
16
|
export function gotoViewpointOptions(app: import("@vcmap/ui").VcsUiApp, options: import("@vcmap/core").ViewpointOptions): Promise<void>;
|
17
17
|
declare const _default: import("vue").DefineComponent<{
|
18
|
-
|
18
|
+
modelValue: {
|
19
19
|
type: ObjectConstructor;
|
20
|
-
default:
|
20
|
+
default: import("@vcmap/core", { with: { "resolution-mode": "import" } }).ViewpointOptions;
|
21
21
|
};
|
22
22
|
startSync: {
|
23
23
|
type: BooleanConstructor;
|
@@ -49,27 +49,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
49
49
|
};
|
50
50
|
}, {
|
51
51
|
isCesiumMap: import("vue").Ref<boolean>;
|
52
|
+
localValue: import("vue").Ref<any>;
|
53
|
+
title: import("vue").WritableComputedRef<any>;
|
52
54
|
gotoViewpoint: () => Promise<void>;
|
53
|
-
handleInput: (key: any) => Promise<void>;
|
55
|
+
handleInput: (key: any, value: any) => Promise<void>;
|
54
56
|
updateFromViewAction: {
|
55
57
|
name: string;
|
56
58
|
icon: string;
|
57
59
|
title: string;
|
58
60
|
callback(): Promise<void>;
|
59
61
|
};
|
60
|
-
editAction: import("../../actions/actionHelper.js").VcsAction;
|
61
|
-
name: import("vue").WritableComputedRef<any>;
|
62
|
-
title: import("vue").WritableComputedRef<any>;
|
63
|
-
animate: import("vue").WritableComputedRef<any>;
|
64
|
-
duration: import("vue").WritableComputedRef<any>;
|
65
|
-
groundPosition: import("vue").WritableComputedRef<any>;
|
66
|
-
cameraPosition: import("vue").WritableComputedRef<any>;
|
67
|
-
distance: import("vue").WritableComputedRef<any>;
|
68
|
-
hpr: {
|
69
|
-
heading: import("vue").WritableComputedRef<any>;
|
70
|
-
pitch: import("vue").WritableComputedRef<any>;
|
71
|
-
roll: import("vue").WritableComputedRef<any>;
|
72
|
-
};
|
62
|
+
editAction: import("../../actions/actionHelper.js", { with: { "resolution-mode": "import" } }).VcsAction;
|
73
63
|
hprSliderOptions: {
|
74
64
|
heading: {
|
75
65
|
min: number;
|
@@ -89,10 +79,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
89
79
|
};
|
90
80
|
isFiniteNumber: typeof isFiniteNumber;
|
91
81
|
isPositiveNumber: typeof isPositiveNumber;
|
92
|
-
},
|
93
|
-
|
82
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
83
|
+
modelValue: {
|
94
84
|
type: ObjectConstructor;
|
95
|
-
default:
|
85
|
+
default: import("@vcmap/core", { with: { "resolution-mode": "import" } }).ViewpointOptions;
|
96
86
|
};
|
97
87
|
startSync: {
|
98
88
|
type: BooleanConstructor;
|
@@ -122,8 +112,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
122
112
|
type: ArrayConstructor;
|
123
113
|
default: () => never[];
|
124
114
|
};
|
125
|
-
}
|
126
|
-
|
115
|
+
}>> & {
|
116
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
117
|
+
}, {
|
118
|
+
modelValue: Record<string, any>;
|
127
119
|
expandable: boolean;
|
128
120
|
startSync: boolean;
|
129
121
|
hideName: boolean;
|
@@ -131,5 +123,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
131
123
|
hideAnimate: boolean;
|
132
124
|
hideGeneral: boolean;
|
133
125
|
nameRules: unknown[];
|
134
|
-
}>;
|
126
|
+
}, {}>;
|
135
127
|
export default _default;
|
@@ -15,7 +15,7 @@
|
|
15
15
|
</template>
|
16
16
|
|
17
17
|
<script>
|
18
|
-
import { inject, onUnmounted, ref } from 'vue';
|
18
|
+
import { inject, onUnmounted, ref, toRaw } from 'vue';
|
19
19
|
import { getLogger } from '@vcsuite/logger';
|
20
20
|
import deepEqual from 'fast-deep-equal';
|
21
21
|
import AbstractConfigEditor from '../plugins/AbstractConfigEditor.vue';
|
@@ -69,10 +69,7 @@
|
|
69
69
|
);
|
70
70
|
|
71
71
|
onUnmounted(() => {
|
72
|
-
if (
|
73
|
-
!cancel &&
|
74
|
-
!deepEqual(originalConfig, structuredClone(localConfig.value))
|
75
|
-
) {
|
72
|
+
if (!cancel && !deepEqual(originalConfig, toRaw(localConfig.value))) {
|
76
73
|
props.setConfig(localConfig.value);
|
77
74
|
}
|
78
75
|
});
|
@@ -12,11 +12,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
12
12
|
default: () => never[];
|
13
13
|
};
|
14
14
|
}, {
|
15
|
-
localConfig: any
|
15
|
+
localConfig: import("vue").Ref<any>;
|
16
16
|
apply(): void;
|
17
17
|
cancel(): Promise<void>;
|
18
18
|
reset: () => Promise<void>;
|
19
|
-
},
|
19
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
20
20
|
getConfig: {
|
21
21
|
type: FunctionConstructor;
|
22
22
|
required: true;
|
@@ -31,5 +31,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
31
31
|
};
|
32
32
|
}>>, {
|
33
33
|
nameRules: unknown[];
|
34
|
-
}>;
|
34
|
+
}, {}>;
|
35
35
|
export default _default;
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<VcsTreeview
|
4
4
|
v-if="tree && tree.length"
|
5
5
|
:items="tree"
|
6
|
-
:
|
6
|
+
v-model:opened="opened"
|
7
7
|
:show-searchbar="true"
|
8
8
|
:searchbar-placeholder="'content.search.placeholder'"
|
9
9
|
item-children="visibleChildren"
|
@@ -15,8 +15,8 @@
|
|
15
15
|
</template>
|
16
16
|
|
17
17
|
<script>
|
18
|
-
import { inject, watch } from 'vue';
|
19
|
-
import { VSheet } from 'vuetify/
|
18
|
+
import { computed, inject, onMounted, reactive, watch } from 'vue';
|
19
|
+
import { VSheet } from 'vuetify/components';
|
20
20
|
import VcsTreeview from '../components/lists/VcsTreeview.vue';
|
21
21
|
|
22
22
|
const openStateMapSymbol = Symbol('openStateMap');
|
@@ -35,13 +35,15 @@
|
|
35
35
|
},
|
36
36
|
setup(props) {
|
37
37
|
const app = inject('vcsApp');
|
38
|
-
const open = app.contentTree.
|
38
|
+
const open = app.contentTree.getTreeOpenState(props.windowState.id);
|
39
39
|
const tree = app.contentTree.getComputedVisibleTree(props.windowState.id);
|
40
40
|
|
41
41
|
function getWithVisibleChildren(item) {
|
42
42
|
return [
|
43
43
|
item.name,
|
44
|
-
...item.visibleChildren
|
44
|
+
...(item.visibleChildren
|
45
|
+
?.map((c) => getWithVisibleChildren(c))
|
46
|
+
?.flat() ?? []),
|
45
47
|
];
|
46
48
|
}
|
47
49
|
|
@@ -57,7 +59,8 @@
|
|
57
59
|
tree,
|
58
60
|
(value, oldValue) => {
|
59
61
|
if (openStateMap.has(app.maps.activeMap?.name)) {
|
60
|
-
open.
|
62
|
+
open.splice(0);
|
63
|
+
open.push(...openStateMap.get(app.maps.activeMap?.name));
|
61
64
|
} else {
|
62
65
|
const items = [...app.contentTree]
|
63
66
|
.filter((i) => i.initOpen && i.getTreeViewItem().visible)
|
@@ -66,9 +69,9 @@
|
|
66
69
|
? oldValue.map(getWithVisibleChildren).flat()
|
67
70
|
: [];
|
68
71
|
const changed = items.filter(
|
69
|
-
(name) => !oldValues.includes(name) && !open.
|
72
|
+
(name) => !oldValues.includes(name) && !open.includes(name),
|
70
73
|
);
|
71
|
-
open.
|
74
|
+
open.push(...changed);
|
72
75
|
}
|
73
76
|
},
|
74
77
|
{ immediate: true },
|
@@ -76,13 +79,31 @@
|
|
76
79
|
|
77
80
|
watch(open, () => {
|
78
81
|
if (app.maps.activeMap) {
|
79
|
-
openStateMap.set(app.maps.activeMap.name, [...open
|
82
|
+
openStateMap.set(app.maps.activeMap.name, [...open]);
|
80
83
|
}
|
81
84
|
});
|
82
85
|
|
86
|
+
// the entire block, very ugly because of https://github.com/vuetifyjs/vuetify/issues/19414
|
87
|
+
const opened = reactive([]);
|
88
|
+
onMounted(() => {
|
89
|
+
opened.splice(0);
|
90
|
+
opened.push(...open);
|
91
|
+
|
92
|
+
watch(opened, () => {
|
93
|
+
open.splice(0);
|
94
|
+
open.push(...opened);
|
95
|
+
});
|
96
|
+
});
|
97
|
+
|
83
98
|
return {
|
84
99
|
tree,
|
85
|
-
|
100
|
+
opened: computed({
|
101
|
+
get: () => opened,
|
102
|
+
set: (value) => {
|
103
|
+
opened.splice(0);
|
104
|
+
opened.push(...value);
|
105
|
+
},
|
106
|
+
}),
|
86
107
|
};
|
87
108
|
},
|
88
109
|
};
|
@@ -5,11 +5,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
};
|
6
6
|
}, {
|
7
7
|
tree: any;
|
8
|
-
|
9
|
-
},
|
8
|
+
opened: import("vue").WritableComputedRef<any[]>;
|
9
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
10
10
|
windowState: {
|
11
11
|
type: ObjectConstructor;
|
12
12
|
required: true;
|
13
13
|
};
|
14
|
-
}>>, {}>;
|
14
|
+
}>>, {}, {}>;
|
15
15
|
export default _default;
|
@@ -106,8 +106,8 @@ declare class ContentTreeCollection extends IndexedCollection<ContentTreeItem> {
|
|
106
106
|
getChildrenForSubTree(id: string): Array<ContentTreeItem>;
|
107
107
|
/**
|
108
108
|
* @param {string} id
|
109
|
-
* @returns {
|
109
|
+
* @returns {Array<string>}
|
110
110
|
*/
|
111
|
-
|
111
|
+
getTreeOpenState(id: string): Array<string>;
|
112
112
|
}
|
113
113
|
import { IndexedCollection } from '@vcmap/core';
|