@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
@@ -316,21 +316,19 @@ class ContentTreeCollection extends IndexedCollection {
|
|
316
316
|
|
317
317
|
/**
|
318
318
|
* @param {string} id
|
319
|
-
* @returns {
|
319
|
+
* @returns {Array<string>}
|
320
320
|
*/
|
321
|
-
|
321
|
+
getTreeOpenState(id) {
|
322
322
|
const subTree = this._getSubTree(id);
|
323
323
|
if (subTree) {
|
324
324
|
if (!subTree[subTreeOpenStateSymbol]) {
|
325
|
-
subTree[subTreeOpenStateSymbol] =
|
326
|
-
|
327
|
-
|
328
|
-
.map((i) => i.name),
|
329
|
-
);
|
325
|
+
subTree[subTreeOpenStateSymbol] = this.getChildrenForSubTree(id)
|
326
|
+
.filter((i) => i.initOpen)
|
327
|
+
.map((i) => i.name);
|
330
328
|
}
|
331
329
|
return subTree[subTreeOpenStateSymbol];
|
332
330
|
}
|
333
|
-
return
|
331
|
+
return [];
|
334
332
|
}
|
335
333
|
|
336
334
|
destroy() {
|
@@ -81,7 +81,7 @@ export type TreeViewItem = {
|
|
81
81
|
/**
|
82
82
|
* - computed property
|
83
83
|
*/
|
84
|
-
visibleChildren
|
84
|
+
visibleChildren?: TreeViewItem[] | undefined;
|
85
85
|
/**
|
86
86
|
* - A callback called once the item is clicked.
|
87
87
|
*/
|
@@ -108,7 +108,7 @@ declare class ContentTreeItem {
|
|
108
108
|
*/
|
109
109
|
protected _app: import("@src/vcsUiApp.js").default;
|
110
110
|
/**
|
111
|
-
* @type {import("vue").
|
111
|
+
* @type {import("vue").ShallowRef<Array<import("../actions/actionHelper.js").VcsAction>>}
|
112
112
|
* @private
|
113
113
|
*/
|
114
114
|
private _actions;
|
@@ -154,7 +154,7 @@ declare class ContentTreeItem {
|
|
154
154
|
/**
|
155
155
|
* @param {string} url
|
156
156
|
*/
|
157
|
-
set infoUrl(
|
157
|
+
set infoUrl(url: string | null);
|
158
158
|
/**
|
159
159
|
* @type {string|null}
|
160
160
|
*/
|
@@ -224,7 +224,7 @@ declare class ContentTreeItem {
|
|
224
224
|
/**
|
225
225
|
* @param {boolean} visible
|
226
226
|
*/
|
227
|
-
set visible(
|
227
|
+
set visible(visible: boolean);
|
228
228
|
/**
|
229
229
|
* @type {boolean}
|
230
230
|
*/
|
@@ -232,7 +232,7 @@ declare class ContentTreeItem {
|
|
232
232
|
/**
|
233
233
|
* @param {boolean} clickable
|
234
234
|
*/
|
235
|
-
set clickable(
|
235
|
+
set clickable(clickable: boolean);
|
236
236
|
/**
|
237
237
|
* @type {boolean}
|
238
238
|
*/
|
@@ -240,7 +240,7 @@ declare class ContentTreeItem {
|
|
240
240
|
/**
|
241
241
|
* @param {boolean} disabled
|
242
242
|
*/
|
243
|
-
set disabled(
|
243
|
+
set disabled(disabled: boolean);
|
244
244
|
/**
|
245
245
|
* @type {boolean}
|
246
246
|
*/
|
@@ -248,7 +248,7 @@ declare class ContentTreeItem {
|
|
248
248
|
/**
|
249
249
|
* @param {StateActionState} state
|
250
250
|
*/
|
251
|
-
set state(
|
251
|
+
set state(state: number);
|
252
252
|
/**
|
253
253
|
* @type {StateActionState}
|
254
254
|
*/
|
@@ -256,7 +256,7 @@ declare class ContentTreeItem {
|
|
256
256
|
/**
|
257
257
|
* @param {string|undefined} title
|
258
258
|
*/
|
259
|
-
set title(
|
259
|
+
set title(title: string | undefined);
|
260
260
|
/**
|
261
261
|
* @type {string|undefined}
|
262
262
|
*/
|
@@ -264,7 +264,7 @@ declare class ContentTreeItem {
|
|
264
264
|
/**
|
265
265
|
* @param {string|undefined} tooltip
|
266
266
|
*/
|
267
|
-
set tooltip(
|
267
|
+
set tooltip(tooltip: string | undefined);
|
268
268
|
/**
|
269
269
|
* @type {string|undefined}
|
270
270
|
*/
|
@@ -272,7 +272,7 @@ declare class ContentTreeItem {
|
|
272
272
|
/**
|
273
273
|
* @param {(string|HTMLCanvasElement|HTMLImageElement)=} icon
|
274
274
|
*/
|
275
|
-
set icon(
|
275
|
+
set icon(icon: string | HTMLCanvasElement | HTMLImageElement | undefined);
|
276
276
|
/**
|
277
277
|
* @type {string|HTMLCanvasElement|HTMLImageElement|undefined}
|
278
278
|
*/
|
@@ -280,7 +280,7 @@ declare class ContentTreeItem {
|
|
280
280
|
/**
|
281
281
|
* @param {number} weight
|
282
282
|
*/
|
283
|
-
set weight(
|
283
|
+
set weight(weight: number);
|
284
284
|
/**
|
285
285
|
* @type {number}
|
286
286
|
*/
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ref, reactive, computed } from 'vue';
|
1
|
+
import { ref, reactive, computed, shallowRef } from 'vue';
|
2
2
|
import { check, checkMaybe } from '@vcsuite/check';
|
3
3
|
import { parseBoolean, parseNumber } from '@vcsuite/parsers';
|
4
4
|
import { ClassRegistry, VcsEvent } from '@vcmap/core';
|
@@ -37,7 +37,7 @@ import { executeCallbacks } from '../callback/vcsCallback.js';
|
|
37
37
|
* @property {string|HTMLCanvasElement|HTMLImageElement|undefined} [icon] - An optional icon to display with this item. Can be an URL or HTMLElement.
|
38
38
|
* @property {Array<import("../actions/actionHelper.js").VcsAction>} actions
|
39
39
|
* @property {Array<TreeViewItem>} children
|
40
|
-
* @property {Array<TreeViewItem>} visibleChildren - computed property
|
40
|
+
* @property {Array<TreeViewItem>} [visibleChildren] - computed property
|
41
41
|
* @property {function(PointerEvent):Promise<void>} clicked - A callback called once the item is clicked.
|
42
42
|
*/
|
43
43
|
|
@@ -75,10 +75,10 @@ class ContentTreeItem {
|
|
75
75
|
this._app = app;
|
76
76
|
|
77
77
|
/**
|
78
|
-
* @type {import("vue").
|
78
|
+
* @type {import("vue").ShallowRef<Array<import("../actions/actionHelper.js").VcsAction>>}
|
79
79
|
* @private
|
80
80
|
*/
|
81
|
-
this._actions =
|
81
|
+
this._actions = shallowRef([]);
|
82
82
|
|
83
83
|
/**
|
84
84
|
* @type {string}
|
@@ -463,9 +463,10 @@ class ContentTreeItem {
|
|
463
463
|
icon: this._icon,
|
464
464
|
actions: this._actions,
|
465
465
|
children: this._children,
|
466
|
-
visibleChildren: computed(() =>
|
467
|
-
this._children.value.filter((c) => c.visible)
|
468
|
-
|
466
|
+
visibleChildren: computed(() => {
|
467
|
+
const visibleChildren = this._children.value.filter((c) => c.visible);
|
468
|
+
return visibleChildren.length > 0 ? visibleChildren : undefined;
|
469
|
+
}),
|
469
470
|
clicked,
|
470
471
|
});
|
471
472
|
}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { CesiumMap } from '@vcmap/core';
|
2
|
+
import { reactive } from 'vue';
|
2
3
|
import VcsObjectContentTreeItem from './vcsObjectContentTreeItem.js';
|
3
4
|
import { contentTreeClassRegistry } from './contentTreeItem.js';
|
4
5
|
import { executeCallbacks } from '../callback/vcsCallback.js';
|
@@ -71,16 +72,16 @@ class FlightContentTreeItem extends VcsObjectContentTreeItem {
|
|
71
72
|
/** @type {import("@vcmap/core").FlightPlayer|undefined} */
|
72
73
|
let player;
|
73
74
|
|
74
|
-
const stopAction = {
|
75
|
+
const stopAction = reactive({
|
75
76
|
name: 'stop',
|
76
77
|
icon: 'mdi-square',
|
77
78
|
title: 'flight.stopTooltip',
|
78
79
|
callback: () => {
|
79
80
|
player?.stop();
|
80
81
|
},
|
81
|
-
};
|
82
|
+
});
|
82
83
|
|
83
|
-
const playAction = {
|
84
|
+
const playAction = reactive({
|
84
85
|
name: 'play',
|
85
86
|
icon: 'mdi-play',
|
86
87
|
title: 'flight.playTooltip',
|
@@ -125,7 +126,7 @@ class FlightContentTreeItem extends VcsObjectContentTreeItem {
|
|
125
126
|
}
|
126
127
|
}
|
127
128
|
},
|
128
|
-
};
|
129
|
+
});
|
129
130
|
|
130
131
|
this.addAction(playAction, 12);
|
131
132
|
|
@@ -29,7 +29,7 @@ declare class ViewpointContentTreeItem extends VcsObjectContentTreeItem<import("
|
|
29
29
|
/**
|
30
30
|
* @returns {import("@vcmap/core").Viewpoint}
|
31
31
|
*/
|
32
|
-
get viewpoint(): import("@vcmap/core
|
32
|
+
get viewpoint(): import("@vcmap/core").Viewpoint;
|
33
33
|
/**
|
34
34
|
* @private
|
35
35
|
*/
|
@@ -1,28 +1,30 @@
|
|
1
1
|
<template>
|
2
2
|
<BalloonComponent v-bind="{ ...$attrs }">
|
3
3
|
<template #default="{ attrs }">
|
4
|
-
<v-list-item
|
5
|
-
|
4
|
+
<v-list-item
|
5
|
+
lines="two"
|
6
|
+
v-if="Object.values(attrs.attributes).length > 0"
|
7
|
+
>
|
8
|
+
<template #prepend>
|
6
9
|
<v-icon size="20"> $vcsHomePoint </v-icon>
|
7
|
-
</
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
</v-list-item-content>
|
10
|
+
</template>
|
11
|
+
|
12
|
+
<v-list-item-title v-if="attrs.attributes.addressName">
|
13
|
+
{{ attrs.attributes.addressName }}
|
14
|
+
</v-list-item-title>
|
15
|
+
<v-list-item-title v-else>
|
16
|
+
{{ attrs.attributes.street }} {{ attrs.attributes.number }}
|
17
|
+
</v-list-item-title>
|
18
|
+
<v-list-item-subtitle v-if="attrs.attributes.name">
|
19
|
+
{{ attrs.attributes.street }} {{ attrs.attributes.number }}
|
20
|
+
</v-list-item-subtitle>
|
21
|
+
<v-list-item-subtitle
|
22
|
+
>{{ attrs.attributes.zip }}
|
23
|
+
{{ attrs.attributes.city }}</v-list-item-subtitle
|
24
|
+
>
|
25
|
+
<v-list-item-subtitle>{{
|
26
|
+
attrs.attributes.country
|
27
|
+
}}</v-list-item-subtitle>
|
26
28
|
</v-list-item>
|
27
29
|
</template>
|
28
30
|
</BalloonComponent>
|
@@ -31,11 +33,9 @@
|
|
31
33
|
import {
|
32
34
|
VIcon,
|
33
35
|
VListItem,
|
34
|
-
VListItemAvatar,
|
35
|
-
VListItemContent,
|
36
36
|
VListItemSubtitle,
|
37
37
|
VListItemTitle,
|
38
|
-
} from 'vuetify/
|
38
|
+
} from 'vuetify/components';
|
39
39
|
import BalloonComponent from './BalloonComponent.vue';
|
40
40
|
|
41
41
|
/**
|
@@ -46,9 +46,7 @@
|
|
46
46
|
components: {
|
47
47
|
BalloonComponent,
|
48
48
|
VListItem,
|
49
|
-
VListItemAvatar,
|
50
49
|
VIcon,
|
51
|
-
VListItemContent,
|
52
50
|
VListItemTitle,
|
53
51
|
VListItemSubtitle,
|
54
52
|
},
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{},
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
2
2
|
export default _default;
|
@@ -2,19 +2,17 @@
|
|
2
2
|
<v-card class="mx-auto elevation-0" v-if="position">
|
3
3
|
<slot name="balloon-header" :attrs="{ ...$props, ...$attrs }">
|
4
4
|
<v-list-item class="px-2 align-center">
|
5
|
-
<
|
6
|
-
<v-icon color="primary"> $vcsInfo </v-icon>
|
7
|
-
</
|
8
|
-
<v-list-item-
|
9
|
-
<
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
</v-list-item-subtitle>
|
17
|
-
</v-list-item-content>
|
5
|
+
<template #prepend>
|
6
|
+
<v-icon color="primary" size="16" class="mr-2"> $vcsInfo </v-icon>
|
7
|
+
</template>
|
8
|
+
<v-list-item-title>
|
9
|
+
<h3 class="font-weight-bold">
|
10
|
+
{{ $st(balloonTitle) }}
|
11
|
+
</h3>
|
12
|
+
</v-list-item-title>
|
13
|
+
<v-list-item-subtitle v-if="balloonSubtitle">
|
14
|
+
{{ $st(balloonSubtitle) }}
|
15
|
+
</v-list-item-subtitle>
|
18
16
|
<VcsButton
|
19
17
|
@click.stop="close"
|
20
18
|
icon="mdi-close-thick"
|
@@ -38,17 +36,15 @@
|
|
38
36
|
color="transparent"
|
39
37
|
>
|
40
38
|
<v-list-item class="px-2">
|
41
|
-
<v-list-item-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
</v-list-item-subtitle>
|
51
|
-
</v-list-item-content>
|
39
|
+
<v-list-item-title>
|
40
|
+
{{ $st(key) }}
|
41
|
+
</v-list-item-title>
|
42
|
+
<v-list-item-subtitle
|
43
|
+
:tag="getTag(tags, key)"
|
44
|
+
v-bind="getTagOptions(tags, key)"
|
45
|
+
>
|
46
|
+
{{ typeof value === 'string' ? $st(value) : value }}
|
47
|
+
</v-list-item-subtitle>
|
52
48
|
</v-list-item>
|
53
49
|
</v-list>
|
54
50
|
</slot>
|
@@ -63,11 +59,9 @@
|
|
63
59
|
VIcon,
|
64
60
|
VList,
|
65
61
|
VListItem,
|
66
|
-
VListItemAvatar,
|
67
|
-
VListItemContent,
|
68
62
|
VListItemSubtitle,
|
69
63
|
VListItemTitle,
|
70
|
-
} from 'vuetify/
|
64
|
+
} from 'vuetify/components';
|
71
65
|
import {
|
72
66
|
getTargetSize,
|
73
67
|
posToNumber,
|
@@ -95,9 +89,7 @@
|
|
95
89
|
VCard,
|
96
90
|
VList,
|
97
91
|
VListItem,
|
98
|
-
VListItemAvatar,
|
99
92
|
VIcon,
|
100
|
-
VListItemContent,
|
101
93
|
VListItemTitle,
|
102
94
|
VListItemSubtitle,
|
103
95
|
VDivider,
|
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
28
28
|
getTag: typeof getTag;
|
29
29
|
getTagOptions: typeof getTagOptions;
|
30
30
|
maxHeight: import("vue").Ref<number>;
|
31
|
-
},
|
31
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
32
32
|
featureId: {
|
33
33
|
type: StringConstructor;
|
34
34
|
required: true;
|
@@ -56,7 +56,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
56
56
|
}>>, {
|
57
57
|
position: unknown[];
|
58
58
|
tags: Record<string, any>;
|
59
|
-
}>;
|
59
|
+
}, {}>;
|
60
60
|
export default _default;
|
61
61
|
import { getTag } from '../components/tables/VcsTable.vue';
|
62
62
|
import { getTagOptions } from '../components/tables/VcsTable.vue';
|
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
10
10
|
}, {
|
11
11
|
height: any;
|
12
12
|
width: any;
|
13
|
-
},
|
13
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
14
14
|
src: {
|
15
15
|
type: StringConstructor;
|
16
16
|
required: true;
|
@@ -21,5 +21,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
21
21
|
};
|
22
22
|
}>>, {
|
23
23
|
title: string;
|
24
|
-
}>;
|
24
|
+
}, {}>;
|
25
25
|
export default _default;
|
@@ -3,10 +3,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
type: StringConstructor;
|
4
4
|
required: true;
|
5
5
|
};
|
6
|
-
},
|
6
|
+
}, any, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
7
7
|
html: {
|
8
8
|
type: StringConstructor;
|
9
9
|
required: true;
|
10
10
|
};
|
11
|
-
}>>, {}>;
|
11
|
+
}>>, {}, {}>;
|
12
12
|
export default _default;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
2
|
+
html: string;
|
3
|
+
$props: {
|
4
|
+
readonly html?: string | undefined;
|
5
|
+
};
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
7
|
+
export default _default;
|
@@ -117,9 +117,9 @@ declare class AbstractFeatureInfoView extends VcsObject {
|
|
117
117
|
static getDefaultOptions(): FeatureInfoViewOptions;
|
118
118
|
/**
|
119
119
|
* @param {FeatureInfoViewOptions} options
|
120
|
-
* @param {import("vue").Component} component
|
120
|
+
* @param {import("vue").Component<FeatureInfoProps, unknown, unknown>} component
|
121
121
|
*/
|
122
|
-
constructor(options: FeatureInfoViewOptions, component: import("vue").Component);
|
122
|
+
constructor(options: FeatureInfoViewOptions, component: import("vue").Component<FeatureInfoProps, unknown, unknown>);
|
123
123
|
/**
|
124
124
|
* @type {string[]}
|
125
125
|
*/
|
@@ -158,12 +158,12 @@ declare class AbstractFeatureInfoView extends VcsObject {
|
|
158
158
|
* window options, configured in a module, used only internally by AbstractFeatureInfoView or subclass
|
159
159
|
* @type {import("../manager/window/windowManager.js").WindowComponentOptions|Object}
|
160
160
|
*/
|
161
|
-
get window(): Object | import("../manager/window/windowManager.js").WindowComponentOptions
|
161
|
+
get window(): Object | import("../manager/window/windowManager.js").WindowComponentOptions<Object>;
|
162
162
|
/**
|
163
163
|
* component provided by a FeatureInfoView class, passed to featureInfo via `getWindowComponentOptions()`
|
164
|
-
* @type {import("vue").Component
|
164
|
+
* @type {import("vue").Component<FeatureInfoProps, unknown, unknown>|undefined}
|
165
165
|
*/
|
166
|
-
get component(): import("vue").Component<
|
166
|
+
get component(): import("vue").Component<FeatureInfoProps, unknown, unknown, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any> | undefined;
|
167
167
|
/**
|
168
168
|
* This method returns all relevant attributes for this view.
|
169
169
|
* Called by `getProperties()` to pass attributes as props object to the VueComponent of this view.
|
@@ -294,7 +294,7 @@ class AbstractFeatureInfoView extends VcsObject {
|
|
294
294
|
|
295
295
|
/**
|
296
296
|
* @param {FeatureInfoViewOptions} options
|
297
|
-
* @param {import("vue").Component} component
|
297
|
+
* @param {import("vue").Component<FeatureInfoProps, unknown, unknown>} component
|
298
298
|
*/
|
299
299
|
constructor(options, component) {
|
300
300
|
super(options);
|
@@ -337,7 +337,7 @@ class AbstractFeatureInfoView extends VcsObject {
|
|
337
337
|
|
338
338
|
/**
|
339
339
|
* component provided by a FeatureInfoView class, passed to featureInfo via `getWindowComponentOptions()`
|
340
|
-
* @type {import("vue").Component
|
340
|
+
* @type {import("vue").Component<FeatureInfoProps, unknown, unknown>|undefined}
|
341
341
|
*/
|
342
342
|
get component() {
|
343
343
|
return this._component;
|
@@ -24,9 +24,9 @@ export type BalloonFeatureInfoViewProps = import("./abstractFeatureInfoView.js")
|
|
24
24
|
declare class BalloonFeatureInfoView extends AbstractFeatureInfoView {
|
25
25
|
/**
|
26
26
|
* @param {BalloonFeatureInfoViewOptions} options
|
27
|
-
* @param {import("vue").Component} [component=BalloonComponent]
|
27
|
+
* @param {import("vue").Component<BalloonFeatureInfoViewProps, unknown, unknown>} [component=BalloonComponent]
|
28
28
|
*/
|
29
|
-
constructor(options: BalloonFeatureInfoViewOptions, component?: import("vue").Component<
|
29
|
+
constructor(options: BalloonFeatureInfoViewOptions, component?: import("vue").Component<BalloonFeatureInfoViewProps, unknown, unknown, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any> | undefined);
|
30
30
|
/**
|
31
31
|
* @type {string}
|
32
32
|
*/
|
@@ -81,7 +81,7 @@ class BalloonFeatureInfoView extends AbstractFeatureInfoView {
|
|
81
81
|
|
82
82
|
/**
|
83
83
|
* @param {BalloonFeatureInfoViewOptions} options
|
84
|
-
* @param {import("vue").Component} [component=BalloonComponent]
|
84
|
+
* @param {import("vue").Component<BalloonFeatureInfoViewProps, unknown, unknown>} [component=BalloonComponent]
|
85
85
|
*/
|
86
86
|
constructor(options, component) {
|
87
87
|
super(options, component || BalloonComponent);
|
@@ -417,7 +417,7 @@ class FeatureInfo extends Collection {
|
|
417
417
|
feature,
|
418
418
|
layer,
|
419
419
|
this._app.uiConfig.config.value.primaryColor ??
|
420
|
-
getDefaultPrimaryColor(),
|
420
|
+
getDefaultPrimaryColor(this._app),
|
421
421
|
),
|
422
422
|
});
|
423
423
|
this._clearHighlightingCb = () =>
|
@@ -429,7 +429,7 @@ class FeatureInfo extends Collection {
|
|
429
429
|
feature,
|
430
430
|
layer,
|
431
431
|
this._app.uiConfig.config.value.primaryColor ??
|
432
|
-
getDefaultPrimaryColor(),
|
432
|
+
getDefaultPrimaryColor(this._app),
|
433
433
|
),
|
434
434
|
});
|
435
435
|
this._clearHighlightingCb = () =>
|
@@ -3,21 +3,7 @@ import {
|
|
3
3
|
parseAndSanitizeMarkdown,
|
4
4
|
replaceAttributes,
|
5
5
|
} from '../application/markdownHelper.js';
|
6
|
-
|
7
|
-
/**
|
8
|
-
* @description A component to render markdown html
|
9
|
-
* @vue-prop {string} html - the html to render
|
10
|
-
*/
|
11
|
-
const MarkdownComponent = {
|
12
|
-
name: 'MarkdownComponent',
|
13
|
-
props: {
|
14
|
-
html: {
|
15
|
-
type: String,
|
16
|
-
required: true,
|
17
|
-
},
|
18
|
-
},
|
19
|
-
template: '<div class="pa-2" v-html="html" />',
|
20
|
-
};
|
6
|
+
import MarkdownComponent from './MarkdownComponent.vue';
|
21
7
|
|
22
8
|
/**
|
23
9
|
* @typedef {import("./abstractFeatureInfoView.js").FeatureInfoViewOptions & { template: string | string[] }} MarkdownFeatureInfoViewOptions
|