@vcmap/ui 5.0.2 → 5.1.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/README.md +2 -2
- package/build/buildTypes.js +176 -0
- package/build/lintTypes.js +30 -0
- package/config/aerowest.config.json +4 -0
- package/config/base.config.json +22 -0
- package/config/dev.config.json +176 -5
- package/config/www.config.json +24 -0
- package/dist/assets/{cesium.a3a1dc.js → cesium.e9b3ca.js} +1859 -1828
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.bb64ed.js → core.a9fe5a.js} +5859 -5041
- package/dist/assets/core.js +1 -1
- package/dist/assets/index-bb2549d6.js +1 -0
- package/dist/assets/{ol.833fa9.js → ol.5f0496.js} +7257 -7252
- package/dist/assets/ol.js +1 -1
- package/dist/assets/{ui.aeb2ec.css → ui.3c73c2.css} +2 -2
- package/dist/assets/{ui.aeb2ec.js → ui.3c73c2.js} +14199 -9198
- package/dist/assets/ui.js +1 -1
- package/dist/assets/{vue.8e1850.js → vue.4fe14e.js} +1243 -1234
- package/dist/assets/vue.js +2 -2
- package/dist/assets/{vuetify.3ed426.css → vuetify.260d9a.css} +1 -1
- package/dist/assets/{vuetify.3ed426.js → vuetify.260d9a.js} +155 -154
- package/dist/assets/vuetify.js +2 -2
- package/dist/index.html +1 -1
- package/index.d.ts +256 -0
- package/index.js +48 -11
- package/package.json +21 -14
- package/plugins/@vcmap-show-case/buttons-example/src/ButtonsExample.vue +3 -0
- package/plugins/@vcmap-show-case/category-tester/src/CategoriesExample.vue +312 -43
- package/plugins/@vcmap-show-case/category-tester/src/CollectionComponentOptions.vue +48 -182
- package/plugins/@vcmap-show-case/category-tester/src/FoobarEditor.vue +118 -0
- package/plugins/@vcmap-show-case/category-tester/src/importExportHelper.js +29 -0
- package/plugins/@vcmap-show-case/category-tester/src/index.js +16 -0
- package/plugins/@vcmap-show-case/collection-manager-example/src/CollectionManagerExample.vue +2 -1
- package/plugins/@vcmap-show-case/collection-manager-example/src/index.js +8 -4
- package/plugins/@vcmap-show-case/extent-example/README.md +3 -0
- package/plugins/@vcmap-show-case/extent-example/package.json +5 -0
- package/plugins/@vcmap-show-case/extent-example/src/ExtentExample.vue +71 -0
- package/plugins/@vcmap-show-case/extent-example/src/index.js +68 -0
- package/plugins/@vcmap-show-case/flight-component-example/README.md +3 -0
- package/plugins/@vcmap-show-case/flight-component-example/package.json +5 -0
- package/plugins/@vcmap-show-case/flight-component-example/src/FlightExample.vue +53 -0
- package/plugins/@vcmap-show-case/flight-component-example/src/index.js +42 -0
- package/plugins/@vcmap-show-case/form-inputs-example/src/FormInputsExample.vue +78 -5
- package/plugins/@vcmap-show-case/hello-world/src/helloWorld.vue +2 -2
- package/plugins/@vcmap-show-case/list-example/src/ListExample.vue +22 -10
- package/plugins/@vcmap-show-case/toolbox-example/README.md +9 -0
- package/plugins/@vcmap-show-case/toolbox-example/package.json +5 -0
- package/plugins/@vcmap-show-case/toolbox-example/src/TriStateExampleWindow.vue +21 -0
- package/plugins/@vcmap-show-case/toolbox-example/src/dummyToolboxActions.js +94 -0
- package/plugins/@vcmap-show-case/toolbox-example/src/index.js +260 -0
- package/plugins/@vcmap-show-case/vector-properties-example/src/VectorPropertiesExample.vue +12 -2
- package/plugins/@vcmap-show-case/viewpoint-component-example/README.md +3 -0
- package/plugins/@vcmap-show-case/viewpoint-component-example/package.json +5 -0
- package/plugins/@vcmap-show-case/viewpoint-component-example/src/ViewpointExample.vue +52 -0
- package/plugins/@vcmap-show-case/viewpoint-component-example/src/index.js +42 -0
- package/plugins/@vcmap-show-case/window-tester/src/WindowExample.vue +31 -1
- package/plugins/@vcmap-show-case/window-tester/src/WindowExampleToggleChild.vue +20 -16
- package/plugins/@vcmap-show-case/window-tester/src/index.js +2 -17
- package/plugins/package.json +3 -1
- package/src/actions/StyleSelector.vue +8 -7
- package/src/actions/StyleSelector.vue.d.ts +27 -0
- package/src/actions/actionHelper.d.ts +153 -0
- package/src/actions/actionHelper.js +36 -19
- package/src/actions/extentActions.d.ts +40 -0
- package/src/actions/extentActions.js +359 -0
- package/src/actions/flightActions.d.ts +59 -0
- package/src/actions/flightActions.js +232 -0
- package/src/actions/listActions.d.ts +63 -0
- package/src/actions/listActions.js +185 -0
- package/src/actions/stateRefAction.d.ts +19 -0
- package/src/actions/stateRefAction.js +1 -1
- package/src/application/VcsApp.vue +103 -28
- package/src/application/VcsApp.vue.d.ts +86 -0
- package/src/application/VcsAppWrapper.vue.d.ts +12 -0
- package/src/application/VcsAttributions.vue.d.ts +14 -0
- package/src/application/VcsAttributionsFooter.vue +1 -4
- package/src/application/VcsAttributionsFooter.vue.d.ts +26 -0
- package/src/application/VcsMap.vue.d.ts +12 -0
- package/src/application/VcsNavbar.vue.d.ts +45 -0
- package/src/application/VcsPositionDisplay.vue +208 -0
- package/src/application/VcsPositionDisplay.vue.d.ts +18 -0
- package/src/application/VcsSettings.vue.d.ts +5 -0
- package/src/application/VcsTextPage.vue +65 -0
- package/src/application/VcsTextPage.vue.d.ts +16 -0
- package/src/application/VcsTextPageFooter.vue +89 -0
- package/src/application/VcsTextPageFooter.vue.d.ts +22 -0
- package/src/application/attributionsHelper.d.ts +64 -0
- package/src/application/attributionsHelper.js +1 -1
- package/src/application/markdownHelper.d.ts +5 -0
- package/src/application/markdownHelper.js +11 -0
- package/src/application/positionDisplayInteraction.d.ts +42 -0
- package/src/application/positionDisplayInteraction.js +65 -0
- package/src/callback/activateLayersCallback.d.ts +29 -0
- package/src/callback/activateLayersCallback.js +2 -2
- package/src/callback/applyLayerStyleCallback.d.ts +36 -0
- package/src/callback/applyLayerStyleCallback.js +2 -2
- package/src/callback/deactivateLayersCallback.d.ts +29 -0
- package/src/callback/deactivateLayersCallback.js +2 -2
- package/src/callback/goToViewpointCallback.d.ts +29 -0
- package/src/callback/goToViewpointCallback.js +2 -2
- package/src/callback/vcsCallback.d.ts +44 -0
- package/src/callback/vcsCallback.js +4 -9
- package/src/components/ImageElementInjector.vue.d.ts +24 -0
- package/src/components/buttons/VcsActionButtonList.vue +24 -16
- package/src/components/buttons/VcsActionButtonList.vue.d.ts +68 -0
- package/src/components/buttons/VcsButton.vue +7 -0
- package/src/components/buttons/VcsButton.vue.d.ts +89 -0
- package/src/components/buttons/VcsFormButton.vue +9 -0
- package/src/components/buttons/VcsFormButton.vue.d.ts +91 -0
- package/src/components/buttons/VcsToolButton.vue +9 -0
- package/src/components/buttons/VcsToolButton.vue.d.ts +91 -0
- package/src/components/flight/VcsFlightAnchorsComponent.vue +329 -0
- package/src/components/flight/VcsFlightAnchorsComponent.vue.d.ts +45 -0
- package/src/components/flight/VcsFlightComponent.vue +284 -0
- package/src/components/flight/VcsFlightComponent.vue.d.ts +104 -0
- package/src/components/flight/VcsFlightEditor.vue +77 -0
- package/src/components/flight/VcsFlightEditor.vue.d.ts +34 -0
- package/src/components/flight/VcsFlightPlayer.vue +124 -0
- package/src/components/flight/VcsFlightPlayer.vue.d.ts +25 -0
- package/src/components/flight/composables.d.ts +11 -0
- package/src/components/flight/composables.js +39 -0
- package/src/components/form-inputs-controls/VcsCheckbox.vue.d.ts +18 -0
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue.d.ts +82 -0
- package/src/components/form-inputs-controls/VcsCoordinate.vue +152 -0
- package/src/components/form-inputs-controls/VcsCoordinate.vue.d.ts +90 -0
- package/src/components/form-inputs-controls/VcsDatePicker.vue +2 -2
- package/src/components/form-inputs-controls/VcsDatePicker.vue.d.ts +31 -0
- package/src/components/form-inputs-controls/VcsExtent.vue +122 -0
- package/src/components/form-inputs-controls/VcsExtent.vue.d.ts +36 -0
- package/src/components/form-inputs-controls/VcsFormSection.vue +6 -1
- package/src/components/form-inputs-controls/VcsFormSection.vue.d.ts +75 -0
- package/src/components/form-inputs-controls/VcsLabel.vue +18 -0
- package/src/components/form-inputs-controls/VcsLabel.vue.d.ts +41 -0
- package/src/components/form-inputs-controls/VcsRadio.vue.d.ts +32 -0
- package/src/components/form-inputs-controls/VcsRadioGrid.vue.d.ts +35 -0
- package/src/components/form-inputs-controls/VcsSelect.vue.d.ts +31 -0
- package/src/components/form-inputs-controls/VcsSlider.vue.d.ts +2 -0
- package/src/components/form-inputs-controls/VcsTextArea.vue.d.ts +22 -0
- package/src/components/form-inputs-controls/VcsTextField.vue +57 -10
- package/src/components/form-inputs-controls/VcsTextField.vue.d.ts +65 -0
- package/src/components/form-inputs-controls/VcsWizard.vue.d.ts +14 -0
- package/src/components/form-inputs-controls/VcsWizardStep.vue.d.ts +89 -0
- package/src/components/form-inputs-controls/composables.d.ts +7 -0
- package/src/components/form-inputs-controls/composables.js +1 -1
- package/src/components/form-output/VcsFormattedNumber.vue +13 -2
- package/src/components/form-output/VcsFormattedNumber.vue.d.ts +89 -0
- package/src/components/icons/+all.d.ts +9 -0
- package/src/components/icons/+all.js +16 -0
- package/src/components/icons/2DAreaIcon.vue.d.ts +2 -0
- package/src/components/icons/2DDistanceIcon.vue.d.ts +2 -0
- package/src/components/icons/2DHeightObliqueIcon.vue +20 -0
- package/src/components/icons/2DHeightObliqueIcon.vue.d.ts +2 -0
- package/src/components/icons/3DAreaIcon.vue.d.ts +2 -0
- package/src/components/icons/3DDistanceIcon.vue.d.ts +2 -0
- package/src/components/icons/3DHeightIcon.vue.d.ts +2 -0
- package/src/components/icons/AngleIcon.vue.d.ts +2 -0
- package/src/components/icons/AssociationsIcon.vue.d.ts +2 -0
- package/src/components/icons/AxisIcon.vue.d.ts +2 -0
- package/src/components/icons/BoundingBoxIcon.vue.d.ts +2 -0
- package/src/components/icons/CheckboxCheckedIcon.vue.d.ts +2 -0
- package/src/components/icons/CheckboxIcon.vue.d.ts +2 -0
- package/src/components/icons/CheckboxIndeterminateIcon.vue.d.ts +2 -0
- package/src/components/icons/CircleIcon.vue.d.ts +2 -0
- package/src/components/icons/ClippingHorizontalIcon.vue.d.ts +2 -0
- package/src/components/icons/ClippingIcon.vue.d.ts +2 -0
- package/src/components/icons/ClippingVerticalIcon.vue.d.ts +2 -0
- package/src/components/icons/ColorPickerIcon.vue.d.ts +2 -0
- package/src/components/icons/ColorSwatchIcon.vue.d.ts +2 -0
- package/src/components/icons/CommentIcon.vue.d.ts +2 -0
- package/src/components/icons/CompassIcon.vue.d.ts +2 -0
- package/src/components/icons/ComponentsIcon.vue.d.ts +2 -0
- package/src/components/icons/ComponentsPlusIcon.vue +17 -0
- package/src/components/icons/ComponentsPlusIcon.vue.d.ts +2 -0
- package/src/components/icons/ConeIcon.vue.d.ts +2 -0
- package/src/components/icons/DimensionsHouseIcon.vue.d.ts +2 -0
- package/src/components/icons/EditIcon.vue.d.ts +2 -0
- package/src/components/icons/EditVerticesIcon.vue.d.ts +2 -0
- package/src/components/icons/ElevationProfileIcon.vue.d.ts +2 -0
- package/src/components/icons/ExportAreaIcon.vue.d.ts +2 -0
- package/src/components/icons/ExportFlightIcon.vue.d.ts +2 -0
- package/src/components/icons/ExportIcon.vue.d.ts +2 -0
- package/src/components/icons/ExternalLinkIcon.vue.d.ts +2 -0
- package/src/components/icons/EyeIcon.vue.d.ts +2 -0
- package/src/components/icons/FastForwardIcon.vue.d.ts +2 -0
- package/src/components/icons/FilterIcon.vue.d.ts +2 -0
- package/src/components/icons/GlobalTerrainIcon.vue.d.ts +2 -0
- package/src/components/icons/GlobeNatureIcon.vue.d.ts +2 -0
- package/src/components/icons/GroundIcon.vue.d.ts +2 -0
- package/src/components/icons/HealthCareIndustriesIcon.vue.d.ts +2 -0
- package/src/components/icons/HelpIcon.vue.d.ts +2 -0
- package/src/components/icons/HideIcon.vue.d.ts +2 -0
- package/src/components/icons/HomePointIcon.vue.d.ts +2 -0
- package/src/components/icons/HospitalsIcon.vue.d.ts +2 -0
- package/src/components/icons/HouseIcon.vue.d.ts +2 -0
- package/src/components/icons/ImportIcon.vue.d.ts +2 -0
- package/src/components/icons/InfoIcon.vue.d.ts +2 -0
- package/src/components/icons/KebabIcon.vue.d.ts +2 -0
- package/src/components/icons/LabelIcon.vue.d.ts +2 -0
- package/src/components/icons/LayersIcon.vue.d.ts +2 -0
- package/src/components/icons/LegendIcon.vue.d.ts +2 -0
- package/src/components/icons/LineIcon.vue.d.ts +2 -0
- package/src/components/icons/LinkIcon.vue.d.ts +2 -0
- package/src/components/icons/LogoutIcon.vue.d.ts +2 -0
- package/src/components/icons/MapIcon.vue.d.ts +2 -0
- package/src/components/icons/MenuIcon.vue.d.ts +2 -0
- package/src/components/icons/MinusIcon.vue.d.ts +2 -0
- package/src/components/icons/MultiViewIcon.vue +16 -0
- package/src/components/icons/MultiViewIcon.vue.d.ts +2 -0
- package/src/components/icons/ObjectAttributeIcon.vue.d.ts +2 -0
- package/src/components/icons/ObjectSelectIcon.vue.d.ts +2 -0
- package/src/components/icons/ObliqueViewIcon.vue.d.ts +2 -0
- package/src/components/icons/PdfIcon.vue.d.ts +2 -0
- package/src/components/icons/PedestrianIcon.vue.d.ts +2 -0
- package/src/components/icons/PenIcon.vue.d.ts +2 -0
- package/src/components/icons/PlayCircleIcon.vue.d.ts +2 -0
- package/src/components/icons/PlusIcon.vue.d.ts +2 -0
- package/src/components/icons/PoiIcon.vue.d.ts +2 -0
- package/src/components/icons/PointIcon.vue.d.ts +2 -0
- package/src/components/icons/PointMeasurementIcon.vue +36 -0
- package/src/components/icons/PointMeasurementIcon.vue.d.ts +2 -0
- package/src/components/icons/PointSelectIcon.vue.d.ts +2 -0
- package/src/components/icons/PresentationModeIcon.vue.d.ts +2 -0
- package/src/components/icons/ProgressIcon.vue.d.ts +2 -0
- package/src/components/icons/QueryIcon.vue.d.ts +2 -0
- package/src/components/icons/RectangleIcon.vue.d.ts +2 -0
- package/src/components/icons/ReturnIcon.vue.d.ts +2 -0
- package/src/components/icons/RewindIcon.vue.d.ts +2 -0
- package/src/components/icons/RotateLeftIcon.vue.d.ts +2 -0
- package/src/components/icons/RotateRightIcon.vue.d.ts +2 -0
- package/src/components/icons/ScreenshotIcon.vue.d.ts +2 -0
- package/src/components/icons/SearchIcon.vue.d.ts +2 -0
- package/src/components/icons/ShadowIcon.vue.d.ts +2 -0
- package/src/components/icons/ShapesIcon.vue.d.ts +2 -0
- package/src/components/icons/ShareIcon.vue.d.ts +2 -0
- package/src/components/icons/SimpleCircleFilledIcon.vue.d.ts +2 -0
- package/src/components/icons/SimpleCircleHalfFilledIcon.vue.d.ts +2 -0
- package/src/components/icons/SimpleCircleOutlinedIcon.vue.d.ts +2 -0
- package/src/components/icons/SkipNextIcon.vue.d.ts +2 -0
- package/src/components/icons/SkipPreviousIcon.vue.d.ts +2 -0
- package/src/components/icons/SplitViewIcon.vue.d.ts +2 -0
- package/src/components/icons/TerrainBoxIcon.vue.d.ts +2 -0
- package/src/components/icons/TextStyleIcon.vue.d.ts +2 -0
- package/src/components/icons/ThreeDimensionsIcon.vue.d.ts +2 -0
- package/src/components/icons/ToolsIcon.vue.d.ts +2 -0
- package/src/components/icons/TouchIcon.vue.d.ts +2 -0
- package/src/components/icons/TrashCanIcon.vue.d.ts +2 -0
- package/src/components/icons/TriangleIcon.vue.d.ts +2 -0
- package/src/components/icons/TwoDimensionsIcon.vue.d.ts +2 -0
- package/src/components/icons/UploadIcon.vue.d.ts +2 -0
- package/src/components/icons/UserProfileIcon.vue.d.ts +2 -0
- package/src/components/icons/UserShareIcon.vue.d.ts +2 -0
- package/src/components/icons/VideoRecorderIcon.vue.d.ts +2 -0
- package/src/components/icons/ViewpointFlightIcon.vue.d.ts +2 -0
- package/src/components/icons/ViewpointIcon.vue.d.ts +2 -0
- package/src/components/icons/Viewshed360Icon.vue.d.ts +2 -0
- package/src/components/icons/ViewshedConeIcon.vue.d.ts +2 -0
- package/src/components/icons/ViewshedIcon.vue.d.ts +2 -0
- package/src/components/icons/WalkingIcon.vue.d.ts +2 -0
- package/src/components/icons/WallIcon.vue.d.ts +2 -0
- package/src/components/icons/WandIcon.vue.d.ts +2 -0
- package/src/components/import/FileDrop.vue +69 -0
- package/src/components/import/FileDrop.vue.d.ts +26 -0
- package/src/components/import/ImportComponent.vue +78 -0
- package/src/components/import/ImportComponent.vue.d.ts +34 -0
- package/src/components/lists/VcsActionList.vue +8 -15
- package/src/components/lists/VcsActionList.vue.d.ts +66 -0
- package/src/components/lists/VcsList.vue +207 -116
- package/src/components/lists/VcsList.vue.d.ts +227 -0
- package/src/components/lists/VcsTreeview.vue +3 -1
- package/src/components/lists/VcsTreeview.vue.d.ts +28 -0
- package/src/components/lists/VcsTreeviewLeaf.vue +1 -0
- package/src/components/lists/VcsTreeviewLeaf.vue.d.ts +19 -0
- package/src/components/lists/VcsTreeviewSearchbar.vue.d.ts +41 -0
- package/src/components/notification/VcsBadge.vue.d.ts +14 -0
- package/src/components/notification/VcsHelp.vue.d.ts +22 -0
- package/src/components/notification/VcsTooltip.vue.d.ts +27 -0
- package/src/components/notification/validation.d.ts +8 -0
- package/src/components/notification/validation.js +3 -2
- package/src/components/plugins/AbstractConfigEditor.vue +25 -4
- package/src/components/plugins/AbstractConfigEditor.vue.d.ts +55 -0
- package/src/components/style/MenuWrapper.vue.d.ts +55 -0
- package/src/components/style/VcsFeatureStyleComponent.vue +389 -0
- package/src/components/style/VcsFeatureStyleComponent.vue.d.ts +31 -0
- package/src/components/style/VcsFillMenu.vue.d.ts +34 -0
- package/src/components/style/VcsFillSelector.vue.d.ts +22 -0
- package/src/components/style/VcsImageMenu.vue.d.ts +43 -0
- package/src/components/style/VcsImageSelector.vue.d.ts +128 -0
- package/src/components/style/VcsStrokeMenu.vue.d.ts +34 -0
- package/src/components/style/VcsStrokeSelector.vue.d.ts +23 -0
- package/src/components/style/VcsTextMenu.vue.d.ts +52 -0
- package/src/components/style/VcsTextSelector.vue.d.ts +58 -0
- package/src/components/style/VcsVectorStyleComponent.vue.d.ts +76 -0
- package/src/components/style/composables.d.ts +43 -0
- package/src/components/style/composables.js +11 -8
- package/src/components/tables/VcsDataTable.vue +11 -3
- package/src/components/tables/VcsDataTable.vue.d.ts +142 -0
- package/src/components/tables/VcsTable.vue +71 -2
- package/src/components/tables/VcsTable.vue.d.ts +88 -0
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue +392 -0
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue.d.ts +87 -0
- package/src/components/vector-properties/VcsFeatureTransforms.vue +217 -0
- package/src/components/vector-properties/VcsFeatureTransforms.vue.d.ts +45 -0
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +96 -52
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue.d.ts +119 -0
- package/src/components/vector-properties/composables.d.ts +33 -0
- package/src/components/vector-properties/composables.js +21 -14
- package/src/components/viewpoint/VcsViewpointComponent.vue +514 -0
- package/src/components/viewpoint/VcsViewpointComponent.vue.d.ts +126 -0
- package/src/components/viewpoint/VcsViewpointEditor.vue +87 -0
- package/src/components/viewpoint/VcsViewpointEditor.vue.d.ts +25 -0
- package/src/contentTree/LayerTree.vue.d.ts +15 -0
- package/src/contentTree/contentTreeCollection.d.ts +113 -0
- package/src/contentTree/contentTreeCollection.js +10 -20
- package/src/contentTree/contentTreeItem.d.ts +334 -0
- package/src/contentTree/contentTreeItem.js +31 -17
- package/src/contentTree/flightContentTreeItem.d.ts +53 -0
- package/src/contentTree/flightContentTreeItem.js +201 -0
- package/src/contentTree/groupContentTreeItem.d.ts +14 -0
- package/src/contentTree/groupContentTreeItem.js +2 -2
- package/src/contentTree/layerContentTreeItem.d.ts +76 -0
- package/src/contentTree/layerContentTreeItem.js +7 -9
- package/src/contentTree/layerGroupContentTreeItem.d.ts +50 -0
- package/src/contentTree/layerGroupContentTreeItem.js +2 -3
- package/src/contentTree/nodeContentTreeItem.d.ts +10 -0
- package/src/contentTree/nodeContentTreeItem.js +2 -2
- package/src/contentTree/obliqueCollectionContentTreeItem.d.ts +46 -0
- package/src/contentTree/obliqueCollectionContentTreeItem.js +3 -5
- package/src/contentTree/subContentTreeItem.d.ts +15 -0
- package/src/contentTree/subContentTreeItem.js +3 -3
- package/src/contentTree/vcsObjectContentTreeItem.d.ts +56 -0
- package/src/contentTree/vcsObjectContentTreeItem.js +3 -4
- package/src/contentTree/viewpointContentTreeItem.d.ts +46 -0
- package/src/contentTree/viewpointContentTreeItem.js +3 -4
- package/src/downloadHelper.d.ts +27 -0
- package/src/featureInfo/AddressBalloonComponent.vue.d.ts +2 -0
- package/src/featureInfo/BalloonComponent.vue +16 -3
- package/src/featureInfo/BalloonComponent.vue.d.ts +61 -0
- package/src/featureInfo/abstractFeatureInfoView.d.ts +199 -0
- package/src/featureInfo/abstractFeatureInfoView.js +82 -18
- package/src/featureInfo/addressBalloonFeatureInfoView.d.ts +67 -0
- package/src/featureInfo/addressBalloonFeatureInfoView.js +9 -2
- package/src/featureInfo/balloonFeatureInfoView.d.ts +49 -0
- package/src/featureInfo/balloonFeatureInfoView.js +12 -11
- package/src/featureInfo/balloonHelper.d.ts +31 -0
- package/src/featureInfo/balloonHelper.js +6 -6
- package/src/featureInfo/featureInfo.d.ts +146 -0
- package/src/featureInfo/featureInfo.js +11 -16
- package/src/featureInfo/featureInfoInteraction.d.ts +21 -0
- package/src/featureInfo/featureInfoInteraction.js +2 -2
- package/src/featureInfo/iframeFeatureInfoView.d.ts +48 -0
- package/src/featureInfo/iframeFeatureInfoView.js +3 -5
- package/src/featureInfo/tableFeatureInfoView.d.ts +75 -0
- package/src/featureInfo/tableFeatureInfoView.js +19 -9
- package/src/i18n/de.d.ts +353 -0
- package/src/i18n/de.js +114 -2
- package/src/i18n/en.d.ts +352 -0
- package/src/i18n/en.js +113 -1
- package/src/i18n/i18nCollection.d.ts +82 -0
- package/src/i18n/i18nCollection.js +3 -3
- package/src/init.d.ts +58 -0
- package/src/init.js +3 -5
- package/src/legend/StyleLegendItem.vue.d.ts +25 -0
- package/src/legend/VcsLegend.vue.d.ts +20 -0
- package/src/legend/legendHelper.d.ts +172 -0
- package/src/legend/legendHelper.js +21 -21
- package/src/manager/buttonManager.d.ts +106 -0
- package/src/manager/buttonManager.js +8 -4
- package/src/manager/collectionManager/CollectionComponent.vue +38 -42
- package/src/manager/collectionManager/CollectionComponent.vue.d.ts +17 -0
- package/src/manager/collectionManager/CollectionComponentList.vue +53 -18
- package/src/manager/collectionManager/CollectionComponentList.vue.d.ts +38 -0
- package/src/manager/collectionManager/CollectionComponentProvider.vue +3 -2
- package/src/manager/collectionManager/CollectionComponentProvider.vue.d.ts +12 -0
- package/src/manager/collectionManager/CollectionManager.vue +29 -4
- package/src/manager/collectionManager/CollectionManager.vue.d.ts +8 -0
- package/src/manager/collectionManager/categoryManager.d.ts +56 -0
- package/src/manager/collectionManager/categoryManager.js +21 -7
- package/src/manager/collectionManager/collectionComponentClass.d.ts +257 -0
- package/src/manager/collectionManager/{collectionComponent.js → collectionComponentClass.js} +210 -57
- package/src/manager/collectionManager/collectionManager.d.ts +200 -0
- package/src/manager/collectionManager/collectionManager.js +45 -39
- package/src/manager/collectionManager/editorCollectionComponentClass.d.ts +60 -0
- package/src/manager/collectionManager/editorCollectionComponentClass.js +295 -0
- package/src/manager/contextMenu/ContextMenuComponent.vue.d.ts +18 -0
- package/src/manager/contextMenu/contextMenuInteraction.d.ts +24 -0
- package/src/manager/contextMenu/contextMenuManager.d.ts +70 -0
- package/src/manager/contextMenu/contextMenuManager.js +5 -5
- package/src/manager/navbarManager.d.ts +60 -0
- package/src/manager/navbarManager.js +10 -6
- package/src/manager/toolbox/GroupToolboxComponent.vue.d.ts +17 -0
- package/src/manager/toolbox/SelectToolboxComponent.vue +1 -0
- package/src/manager/toolbox/SelectToolboxComponent.vue.d.ts +15 -0
- package/src/manager/toolbox/ToolboxManager.vue +33 -7
- package/src/manager/toolbox/ToolboxManager.vue.d.ts +21 -0
- package/src/manager/toolbox/toolboxManager.d.ts +177 -0
- package/src/manager/toolbox/toolboxManager.js +86 -31
- package/src/manager/window/WindowComponent.vue.d.ts +40 -0
- package/src/manager/window/WindowComponentHeader.vue +1 -1
- package/src/manager/window/WindowComponentHeader.vue.d.ts +36 -0
- package/src/manager/window/WindowManager.vue +1 -0
- package/src/manager/window/WindowManager.vue.d.ts +19 -0
- package/src/manager/window/windowHelper.d.ts +134 -0
- package/src/manager/window/windowHelper.js +20 -20
- package/src/manager/window/windowManager.d.ts +422 -0
- package/src/manager/window/windowManager.js +95 -40
- package/src/navigation/MapNavCompass.vue.d.ts +25 -0
- package/src/navigation/MapNavigation.vue +2 -2
- package/src/navigation/MapNavigation.vue.d.ts +46 -0
- package/src/navigation/ObliqueRotation.vue +8 -4
- package/src/navigation/ObliqueRotation.vue.d.ts +14 -0
- package/src/navigation/OrientationToolsButton.vue.d.ts +30 -0
- package/src/navigation/TiltSlider.vue.d.ts +19 -0
- package/src/navigation/VcsCompass.vue.d.ts +25 -0
- package/src/navigation/VcsZoomButton.vue +6 -3
- package/src/navigation/VcsZoomButton.vue.d.ts +2 -0
- package/src/navigation/overviewMap.d.ts +199 -0
- package/src/navigation/overviewMap.js +3 -7
- package/src/navigation/overviewMapClickedInteraction.d.ts +21 -0
- package/src/notifier/NotifierComponent.vue.d.ts +10 -0
- package/src/notifier/notifier.d.ts +53 -0
- package/src/notifier/notifier.js +0 -1
- package/src/pluginHelper.d.ts +67 -0
- package/src/pluginHelper.js +11 -9
- package/src/search/ResultItem.vue.d.ts +25 -0
- package/src/search/ResultsComponent.vue +1 -1
- package/src/search/ResultsComponent.vue.d.ts +24 -0
- package/src/search/SearchComponent.vue +1 -1
- package/src/search/SearchComponent.vue.d.ts +10 -0
- package/src/search/search.d.ts +129 -0
- package/src/search/search.js +8 -11
- package/src/setup.d.ts +1 -0
- package/src/state.d.ts +57 -0
- package/src/state.js +7 -5
- package/src/uiConfig.d.ts +99 -0
- package/src/uiConfig.js +17 -7
- package/src/vcsUiApp.d.ts +301 -0
- package/src/vcsUiApp.js +58 -54
- package/src/vuePlugins/i18n.d.ts +10 -0
- package/src/vuePlugins/i18n.js +3 -3
- package/src/vuePlugins/vuetify.d.ts +27 -0
- package/tsconfig.json +36 -0
- package/dist/assets/index-661636d9.js +0 -1
- package/plugins/@vcmap-show-case/window-tester/src/toolboxData.js +0 -288
@@ -0,0 +1,25 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
canEmit: {
|
3
|
+
type: BooleanConstructor;
|
4
|
+
default: boolean;
|
5
|
+
};
|
6
|
+
hideTicks: {
|
7
|
+
type: BooleanConstructor;
|
8
|
+
default: boolean;
|
9
|
+
};
|
10
|
+
}, {}, {}, {}, {
|
11
|
+
emit(event: any, dir: any): void;
|
12
|
+
}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
13
|
+
canEmit: {
|
14
|
+
type: BooleanConstructor;
|
15
|
+
default: boolean;
|
16
|
+
};
|
17
|
+
hideTicks: {
|
18
|
+
type: BooleanConstructor;
|
19
|
+
default: boolean;
|
20
|
+
};
|
21
|
+
}>>, {
|
22
|
+
canEmit: boolean;
|
23
|
+
hideTicks: boolean;
|
24
|
+
}>;
|
25
|
+
export default _default;
|
@@ -53,7 +53,7 @@
|
|
53
53
|
|
54
54
|
/**
|
55
55
|
* @description Creates a go-to viewpoint action from a startingViewpointName defined in a module. If no startingViewpointName is defined, uses default map view as fallback.
|
56
|
-
* @param {
|
56
|
+
* @param {import("@src/vcsUiApp.js").default} app
|
57
57
|
* @returns {{ action: import("vue").Reactive<VcsAction>, destroy: function():void }}
|
58
58
|
*/
|
59
59
|
function setupHomeButton(app) {
|
@@ -145,7 +145,7 @@
|
|
145
145
|
VRow,
|
146
146
|
},
|
147
147
|
setup() {
|
148
|
-
/** @type {
|
148
|
+
/** @type {import("@src/vcsUiApp.js").default} */
|
149
149
|
const app = inject('vcsApp');
|
150
150
|
const viewMode = ref(OrientationToolsViewMode.TWO_D);
|
151
151
|
const headingRef = ref(0);
|
@@ -0,0 +1,46 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
2
|
+
viewMode: import("vue").Ref<string>;
|
3
|
+
heading: import("vue").WritableComputedRef<number>;
|
4
|
+
tilt: import("vue").WritableComputedRef<number>;
|
5
|
+
is3D: import("vue").ComputedRef<boolean>;
|
6
|
+
isOblique: import("vue").ComputedRef<boolean>;
|
7
|
+
zoomIn(): void;
|
8
|
+
zoomOut(): void;
|
9
|
+
overviewAction: {
|
10
|
+
/**
|
11
|
+
* - reactive and translatable name rendered in overflow
|
12
|
+
*/
|
13
|
+
name: string;
|
14
|
+
/**
|
15
|
+
* - reactive and translatable title rendered as tooltip
|
16
|
+
*/
|
17
|
+
title?: string | undefined;
|
18
|
+
/**
|
19
|
+
* - icon rendered on the button. If no icon provided, item is rendered in overflow
|
20
|
+
*/
|
21
|
+
icon?: string | undefined;
|
22
|
+
/**
|
23
|
+
* - callback function is triggered when the button is clicked
|
24
|
+
*/
|
25
|
+
callback: import("../actions/actionHelper.js").ActionCallback;
|
26
|
+
/**
|
27
|
+
* - optional state of button. If active, button is rendered in primary color
|
28
|
+
*/
|
29
|
+
active?: boolean | undefined;
|
30
|
+
/**
|
31
|
+
* - optional hasUpdate of button. If true, a yellow notification is rendered next to the button
|
32
|
+
*/
|
33
|
+
hasUpdate?: boolean | undefined;
|
34
|
+
/**
|
35
|
+
* - optional background state. If active and background, button is rendered in primary color outlined
|
36
|
+
*/
|
37
|
+
background?: boolean | undefined;
|
38
|
+
/**
|
39
|
+
* - optional flag to indicate that the action is disabled
|
40
|
+
*/
|
41
|
+
disabled?: boolean | undefined;
|
42
|
+
};
|
43
|
+
showOverviewButton: import("vue").Ref<boolean>;
|
44
|
+
homeAction: any;
|
45
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
46
|
+
export default _default;
|
@@ -56,12 +56,16 @@
|
|
56
56
|
::v-deep {
|
57
57
|
.btn-orientation-tools {
|
58
58
|
&:first-child {
|
59
|
-
box-shadow:
|
60
|
-
rgba(0, 0, 0, 0.
|
59
|
+
box-shadow:
|
60
|
+
rgba(0, 0, 0, 0.25) 2px 2px 1px -2px,
|
61
|
+
rgba(0, 0, 0, 0.02) -3px 2px 2px 0,
|
62
|
+
rgba(0, 0, 0, 0.12) 0 1px 1px 0 !important;
|
61
63
|
}
|
62
64
|
&:last-child {
|
63
|
-
box-shadow:
|
64
|
-
rgba(0, 0, 0, 0.02) 1px
|
65
|
+
box-shadow:
|
66
|
+
rgba(0, 0, 0, 0.02) 1px 4px 1px -2px,
|
67
|
+
rgba(0, 0, 0, 0.02) 1px 2px 1px 0,
|
68
|
+
rgba(0, 0, 0, 0.1) 1px 1px 1px 0 !important;
|
65
69
|
}
|
66
70
|
}
|
67
71
|
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
value: {
|
3
|
+
type: NumberConstructor;
|
4
|
+
required: true;
|
5
|
+
};
|
6
|
+
}, {}, {}, {}, {
|
7
|
+
input(rotation: any): void;
|
8
|
+
}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
9
|
+
value: {
|
10
|
+
type: NumberConstructor;
|
11
|
+
required: true;
|
12
|
+
};
|
13
|
+
}>>, {}>;
|
14
|
+
export default _default;
|
@@ -0,0 +1,30 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
icon: {
|
3
|
+
type: StringConstructor;
|
4
|
+
required: true;
|
5
|
+
};
|
6
|
+
tooltip: {
|
7
|
+
type: StringConstructor;
|
8
|
+
required: true;
|
9
|
+
};
|
10
|
+
tooltipPosition: {
|
11
|
+
type: StringConstructor;
|
12
|
+
default: string;
|
13
|
+
};
|
14
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
15
|
+
icon: {
|
16
|
+
type: StringConstructor;
|
17
|
+
required: true;
|
18
|
+
};
|
19
|
+
tooltip: {
|
20
|
+
type: StringConstructor;
|
21
|
+
required: true;
|
22
|
+
};
|
23
|
+
tooltipPosition: {
|
24
|
+
type: StringConstructor;
|
25
|
+
default: string;
|
26
|
+
};
|
27
|
+
}>>, {
|
28
|
+
tooltipPosition: string;
|
29
|
+
}>;
|
30
|
+
export default _default;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
value: {
|
3
|
+
type: NumberConstructor;
|
4
|
+
required: true;
|
5
|
+
};
|
6
|
+
}, {}, {
|
7
|
+
localValue: number;
|
8
|
+
}, {
|
9
|
+
tilt: {
|
10
|
+
get(): number;
|
11
|
+
set(value: any): void;
|
12
|
+
};
|
13
|
+
}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
14
|
+
value: {
|
15
|
+
type: NumberConstructor;
|
16
|
+
required: true;
|
17
|
+
};
|
18
|
+
}>>, {}>;
|
19
|
+
export default _default;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
viewMode: {
|
3
|
+
type: StringConstructor;
|
4
|
+
required: true;
|
5
|
+
};
|
6
|
+
value: {
|
7
|
+
type: NumberConstructor;
|
8
|
+
default: number;
|
9
|
+
};
|
10
|
+
}, {
|
11
|
+
rotationValue: any;
|
12
|
+
compassRotation: import("vue").ComputedRef<number>;
|
13
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
14
|
+
viewMode: {
|
15
|
+
type: StringConstructor;
|
16
|
+
required: true;
|
17
|
+
};
|
18
|
+
value: {
|
19
|
+
type: NumberConstructor;
|
20
|
+
default: number;
|
21
|
+
};
|
22
|
+
}>>, {
|
23
|
+
value: number;
|
24
|
+
}>;
|
25
|
+
export default _default;
|
@@ -38,11 +38,14 @@
|
|
38
38
|
::v-deep {
|
39
39
|
.btn-orientation-tools {
|
40
40
|
&:first-child {
|
41
|
-
box-shadow:
|
42
|
-
rgba(0, 0, 0, 0.
|
41
|
+
box-shadow:
|
42
|
+
rgba(0, 0, 0, 0.25) -2px 2px 1px -2px,
|
43
|
+
rgba(0, 0, 0, 0.08) 1px 0 0 0,
|
44
|
+
rgba(0, 0, 0, 0.05) -1px 1px 1px 1px !important;
|
43
45
|
}
|
44
46
|
&:last-child {
|
45
|
-
box-shadow:
|
47
|
+
box-shadow:
|
48
|
+
rgba(0, 0, 0, 0.25) -2px 3px 1px -2px,
|
46
49
|
rgba(0, 0, 0, 0.08) 1px 4px 2px 0,
|
47
50
|
rgba(0, 0, 0, 0.05) -1px 1px 1px 1px !important;
|
48
51
|
}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, any, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
2
|
+
export default _default;
|
@@ -0,0 +1,199 @@
|
|
1
|
+
/**
|
2
|
+
* @returns {import("../manager/window/windowManager.js").WindowComponentOptions}
|
3
|
+
*/
|
4
|
+
export function getWindowComponentOptions(): import("../manager/window/windowManager.js").WindowComponentOptions;
|
5
|
+
export const overviewMapLayerSymbol: unique symbol;
|
6
|
+
export default OverviewMap;
|
7
|
+
/**
|
8
|
+
* A 2D OverviewMap for cesium, openlayers and oblique map.
|
9
|
+
* Baselayers are added to the OverviewMap using `showInOverviewMap` flag within the properties bag of a layer configuration.
|
10
|
+
* @class
|
11
|
+
*/
|
12
|
+
declare class OverviewMap {
|
13
|
+
/**
|
14
|
+
* @param {import("@src/vcsUiApp.js").default} app
|
15
|
+
*/
|
16
|
+
constructor(app: import("@src/vcsUiApp.js").default);
|
17
|
+
/**
|
18
|
+
* @type {import("@src/vcsUiApp.js").default}
|
19
|
+
* @private
|
20
|
+
*/
|
21
|
+
private _app;
|
22
|
+
/**
|
23
|
+
* @type {boolean}
|
24
|
+
* @private
|
25
|
+
*/
|
26
|
+
private _active;
|
27
|
+
/**
|
28
|
+
* @type {import("@vcmap/core").OpenlayersMap||null}
|
29
|
+
* @private
|
30
|
+
*/
|
31
|
+
private _map;
|
32
|
+
/**
|
33
|
+
* @private
|
34
|
+
* @type {import("@vcmap/core").Viewpoint|null}
|
35
|
+
*/
|
36
|
+
private _cachedViewpoint;
|
37
|
+
/**
|
38
|
+
* @type {import("@vcmap/core").VectorLayer}
|
39
|
+
* @private
|
40
|
+
*/
|
41
|
+
private _obliqueTileLayer;
|
42
|
+
/**
|
43
|
+
* @type {import("@vcmap/core").VectorLayer}
|
44
|
+
* @private
|
45
|
+
*/
|
46
|
+
private _obliqueImageLayer;
|
47
|
+
/**
|
48
|
+
* @type {import("@vcmap/core").VectorLayer}
|
49
|
+
* @private
|
50
|
+
*/
|
51
|
+
private _obliqueSelectedImageLayer;
|
52
|
+
/**
|
53
|
+
* @type {VectorStyleItem}
|
54
|
+
*/
|
55
|
+
obliqueSelectedStyle: VectorStyleItem;
|
56
|
+
/**
|
57
|
+
* A factor by witch to multiply the resolution when zooming to a single oblique image.
|
58
|
+
* @type {number}
|
59
|
+
* @private
|
60
|
+
*/
|
61
|
+
private _obliqueResolutionFactor;
|
62
|
+
/**
|
63
|
+
* @type {import("@vcmap/core").ObliqueViewDirection}
|
64
|
+
* @private
|
65
|
+
*/
|
66
|
+
private _obliqueViewDirection;
|
67
|
+
/**
|
68
|
+
* @type {import("@vcmap/core").VectorLayer}
|
69
|
+
* @private
|
70
|
+
*/
|
71
|
+
private _cameraIconLayer;
|
72
|
+
/**
|
73
|
+
* The style of the camera icon in 2D and 3D
|
74
|
+
* @type {import("@vcmap/core").VectorStyleItem}
|
75
|
+
*/
|
76
|
+
cameraIconStyle: import("@vcmap/core").VectorStyleItem;
|
77
|
+
/**
|
78
|
+
* The minimum height to give to the overview map when synchronizing the view in 2D and 3D
|
79
|
+
* @type {number}
|
80
|
+
*/
|
81
|
+
minimumHeight: number;
|
82
|
+
/**
|
83
|
+
* Handles the events from the overview map. Available after first activation.
|
84
|
+
* @type {EventHandler|null}
|
85
|
+
* @private
|
86
|
+
*/
|
87
|
+
private _eventHandler;
|
88
|
+
/**
|
89
|
+
* An event, available after first activation, which is triggered whenever the overview map is clicked.
|
90
|
+
* Is passed a {@link InteractionEvent} as its only argument
|
91
|
+
* @type {import("@vcmap/core").VcsEvent<import("@vcmap/core").InteractionEvent>|null}
|
92
|
+
* @private
|
93
|
+
*/
|
94
|
+
private _mapClicked;
|
95
|
+
/**
|
96
|
+
* @type {Function}
|
97
|
+
*/
|
98
|
+
_mapPointerListener: Function;
|
99
|
+
/**
|
100
|
+
* @type {Array<function():void>}
|
101
|
+
* @private
|
102
|
+
*/
|
103
|
+
private _listeners;
|
104
|
+
/**
|
105
|
+
* @type {function():void}
|
106
|
+
* @private
|
107
|
+
*/
|
108
|
+
private _mapActivatedListener;
|
109
|
+
/**
|
110
|
+
* @type {Array<function():void>}
|
111
|
+
* @private
|
112
|
+
*/
|
113
|
+
private _collectionListeners;
|
114
|
+
/**
|
115
|
+
* @type {boolean}
|
116
|
+
*/
|
117
|
+
get active(): boolean;
|
118
|
+
/**
|
119
|
+
* @type {import("@vcmap/core").OpenlayersMap|null}
|
120
|
+
*/
|
121
|
+
get map(): OpenlayersMap | null;
|
122
|
+
/**
|
123
|
+
* @type {EventHandler|null}
|
124
|
+
*/
|
125
|
+
get eventHandler(): EventHandler | null;
|
126
|
+
/**
|
127
|
+
* @type {import("@vcmap/core").VcsEvent<import("@vcmap/core").InteractionEvent>|null}
|
128
|
+
*/
|
129
|
+
get mapClicked(): import("@vcmap/core/dist/src/vcsEvent.js").default<import("@vcmap/core").InteractionEvent> | null;
|
130
|
+
/**
|
131
|
+
* @private
|
132
|
+
*/
|
133
|
+
private _updatePrimaryColor;
|
134
|
+
/**
|
135
|
+
* @private
|
136
|
+
*/
|
137
|
+
private _setupMapInteraction;
|
138
|
+
/**
|
139
|
+
* activates the overview map and initializes handlers for current active map
|
140
|
+
* @private
|
141
|
+
* @returns {Promise<void>}
|
142
|
+
*/
|
143
|
+
private _activate;
|
144
|
+
/**
|
145
|
+
* opens window and sets target
|
146
|
+
* @returns {Promise<void>}
|
147
|
+
*/
|
148
|
+
activate(): Promise<void>;
|
149
|
+
/**
|
150
|
+
* closes window and clears all listeners
|
151
|
+
*/
|
152
|
+
deactivate(): void;
|
153
|
+
/**
|
154
|
+
* @param {import("@vcmap/core").VcsMap} map
|
155
|
+
* @returns {Promise<void>}
|
156
|
+
* @private
|
157
|
+
*/
|
158
|
+
private _initializePostRenderHandler;
|
159
|
+
/**
|
160
|
+
* @param {import("@vcmap/core").ObliqueMap} obliqueMap
|
161
|
+
* @returns {Promise<void>}
|
162
|
+
* @private
|
163
|
+
*/
|
164
|
+
private _initializeForOblique;
|
165
|
+
/**
|
166
|
+
* @param {import("@vcmap/core").ObliqueCollection} collection
|
167
|
+
* @private
|
168
|
+
*/
|
169
|
+
private _obliqueCollectionChanged;
|
170
|
+
/**
|
171
|
+
* @param {import("@vcmap/core").ObliqueImage=} image
|
172
|
+
* @private
|
173
|
+
*/
|
174
|
+
private _obliqueImageChange;
|
175
|
+
/**
|
176
|
+
* @private
|
177
|
+
*/
|
178
|
+
private _setupObliqueLayers;
|
179
|
+
/**
|
180
|
+
* @param {import("@vcmap/core").VcsMap} activeMap
|
181
|
+
* @returns {Function}
|
182
|
+
* @private
|
183
|
+
*/
|
184
|
+
private _addNavigationListener;
|
185
|
+
_setupCameraIconLayer(): void;
|
186
|
+
/**
|
187
|
+
* Adds and maintains the view and camera feature
|
188
|
+
* @private
|
189
|
+
*/
|
190
|
+
private _syncCameraViewAndFeature;
|
191
|
+
/**
|
192
|
+
* @private
|
193
|
+
*/
|
194
|
+
private _clearListeners;
|
195
|
+
destroy(): void;
|
196
|
+
}
|
197
|
+
import { VectorStyleItem } from '@vcmap/core';
|
198
|
+
import { OpenlayersMap } from '@vcmap/core';
|
199
|
+
import { EventHandler } from '@vcmap/core';
|
@@ -30,7 +30,7 @@ import VcsMap from '../application/VcsMap.vue';
|
|
30
30
|
export const overviewMapLayerSymbol = Symbol('overviewMapLayerSymbol');
|
31
31
|
|
32
32
|
/**
|
33
|
-
* @returns {WindowComponentOptions}
|
33
|
+
* @returns {import("../manager/window/windowManager.js").WindowComponentOptions}
|
34
34
|
*/
|
35
35
|
export function getWindowComponentOptions() {
|
36
36
|
return {
|
@@ -89,11 +89,11 @@ function getCameraIcon(color) {
|
|
89
89
|
*/
|
90
90
|
class OverviewMap {
|
91
91
|
/**
|
92
|
-
* @param {
|
92
|
+
* @param {import("@src/vcsUiApp.js").default} app
|
93
93
|
*/
|
94
94
|
constructor(app) {
|
95
95
|
/**
|
96
|
-
* @type {
|
96
|
+
* @type {import("@src/vcsUiApp.js").default}
|
97
97
|
* @private
|
98
98
|
*/
|
99
99
|
this._app = app;
|
@@ -249,7 +249,6 @@ class OverviewMap {
|
|
249
249
|
|
250
250
|
/**
|
251
251
|
* @type {boolean}
|
252
|
-
* @readonly
|
253
252
|
*/
|
254
253
|
get active() {
|
255
254
|
return this._active;
|
@@ -257,7 +256,6 @@ class OverviewMap {
|
|
257
256
|
|
258
257
|
/**
|
259
258
|
* @type {import("@vcmap/core").OpenlayersMap|null}
|
260
|
-
* @readonly
|
261
259
|
*/
|
262
260
|
get map() {
|
263
261
|
return this._map;
|
@@ -265,7 +263,6 @@ class OverviewMap {
|
|
265
263
|
|
266
264
|
/**
|
267
265
|
* @type {EventHandler|null}
|
268
|
-
* @readonly
|
269
266
|
*/
|
270
267
|
get eventHandler() {
|
271
268
|
return this._eventHandler;
|
@@ -273,7 +270,6 @@ class OverviewMap {
|
|
273
270
|
|
274
271
|
/**
|
275
272
|
* @type {import("@vcmap/core").VcsEvent<import("@vcmap/core").InteractionEvent>|null}
|
276
|
-
* @readonly
|
277
273
|
*/
|
278
274
|
get mapClicked() {
|
279
275
|
return this._mapClicked;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export default OverviewMapClickedInteraction;
|
2
|
+
/**
|
3
|
+
* @class
|
4
|
+
* @extends {import("@vcmap/core").AbstractInteraction}
|
5
|
+
*/
|
6
|
+
declare class OverviewMapClickedInteraction {
|
7
|
+
/**
|
8
|
+
* @type {import("@vcmap/core").VcsEvent<import("@vcmap/core").InteractionEvent>}
|
9
|
+
*/
|
10
|
+
mapClicked: import("@vcmap/core").VcsEvent<import("@vcmap/core").InteractionEvent>;
|
11
|
+
/**
|
12
|
+
* @inheritDoc
|
13
|
+
* @param {import("@vcmap/core").InteractionEvent} event
|
14
|
+
* @returns {Promise<import("@vcmap/core").InteractionEvent>}
|
15
|
+
*/
|
16
|
+
pipe(event: import("@vcmap/core").InteractionEvent): Promise<import("@vcmap/core").InteractionEvent>;
|
17
|
+
/**
|
18
|
+
* @inheritDoc
|
19
|
+
*/
|
20
|
+
destroy(): void;
|
21
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
2
|
+
notifications: any;
|
3
|
+
icon: {
|
4
|
+
[x: string]: string;
|
5
|
+
};
|
6
|
+
defaultTitle: {
|
7
|
+
[x: string]: string;
|
8
|
+
};
|
9
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
10
|
+
export default _default;
|
@@ -0,0 +1,53 @@
|
|
1
|
+
export type NotificationType = string;
|
2
|
+
export namespace NotificationType {
|
3
|
+
let ERROR: string;
|
4
|
+
let WARNING: string;
|
5
|
+
let INFO: string;
|
6
|
+
let SUCCESS: string;
|
7
|
+
}
|
8
|
+
export default Notifier;
|
9
|
+
export type NotificationOptions = {
|
10
|
+
message: string;
|
11
|
+
type: NotificationType;
|
12
|
+
title?: string | undefined;
|
13
|
+
timeout?: number | undefined;
|
14
|
+
};
|
15
|
+
export type Notification = {
|
16
|
+
id: string;
|
17
|
+
message: string;
|
18
|
+
type: NotificationType;
|
19
|
+
title?: string | undefined;
|
20
|
+
timeout: number;
|
21
|
+
open: import("vue").Ref<boolean>;
|
22
|
+
close: () => void;
|
23
|
+
};
|
24
|
+
/**
|
25
|
+
* API for adding snackbar notification to the VcsUiApp. This is simply a container and on its own will not render anything.
|
26
|
+
* Typically, you do not need to instantiate this yourself, but use the notifier on the {@see VcsUiApp}.
|
27
|
+
* @class
|
28
|
+
*/
|
29
|
+
declare class Notifier {
|
30
|
+
/**
|
31
|
+
* @type {import("vue").Ref<Array<Notification>>}
|
32
|
+
* @private
|
33
|
+
*/
|
34
|
+
private _notifications;
|
35
|
+
/**
|
36
|
+
* @type {import("vue").Ref<Array<Notification>>}
|
37
|
+
*/
|
38
|
+
get notifications(): import("vue").Ref<Notification[]>;
|
39
|
+
/**
|
40
|
+
* @param {NotificationOptions} notification
|
41
|
+
* @returns {Notification}
|
42
|
+
*/
|
43
|
+
add(notification: NotificationOptions): Notification;
|
44
|
+
/**
|
45
|
+
* @param {Notification} notification
|
46
|
+
*/
|
47
|
+
remove(notification: Notification): void;
|
48
|
+
/**
|
49
|
+
* @param {Notification} notification
|
50
|
+
* @returns {boolean}
|
51
|
+
*/
|
52
|
+
has(notification: Notification): boolean;
|
53
|
+
}
|
package/src/notifier/notifier.js
CHANGED
@@ -0,0 +1,67 @@
|
|
1
|
+
/**
|
2
|
+
* A helper function to create an absolute URL from a relative plugin asset URL. For example, when
|
3
|
+
* shipping your plugin with a "plugin-asset/icon.png", you can always retrieve said icon with getPluginAssetUrl(app, name, 'pluing-assets/icon.png')
|
4
|
+
* Sets the plugin version as searchParam.
|
5
|
+
* Returns null, if the plugin does not exist.
|
6
|
+
* @param {import("@src/vcsUiApp.js").default} app
|
7
|
+
* @param {string} pluginName
|
8
|
+
* @param {string} asset
|
9
|
+
* @returns {string|null}
|
10
|
+
*/
|
11
|
+
export function getPluginAssetUrl(app: import("@src/vcsUiApp.js").default, pluginName: string, asset: string): string | null;
|
12
|
+
/**
|
13
|
+
* validates the name according to package name pattern
|
14
|
+
* @param {string} name
|
15
|
+
* @returns {boolean}
|
16
|
+
*/
|
17
|
+
export function isValidPackageName(name: string): boolean;
|
18
|
+
/**
|
19
|
+
* @param {string} name
|
20
|
+
* @param {T} config
|
21
|
+
* @returns {Promise<import("@src/vcsUiApp.js").VcsPlugin<T, S>|null>}
|
22
|
+
* @template {Object} T
|
23
|
+
* @template {Object} S
|
24
|
+
*/
|
25
|
+
export function loadPlugin<T extends Object, S extends Object>(name: string, config: T): Promise<import("@src/vcsUiApp.js").VcsPlugin<T, S> | null>;
|
26
|
+
/**
|
27
|
+
* Returns relative url, if base is same, otherwise absolute url
|
28
|
+
* Removes version from searchParams, since version is serialized itself
|
29
|
+
* @param {string} base
|
30
|
+
* @param {string} pluginUrl
|
31
|
+
* @returns {string}
|
32
|
+
*/
|
33
|
+
export function getPluginEntry(base: string, pluginUrl: string): string;
|
34
|
+
/**
|
35
|
+
* @param {import("@src/vcsUiApp.js").VcsPlugin<Object, Object>} plugin
|
36
|
+
* @returns {Object}
|
37
|
+
*/
|
38
|
+
export function serializePlugin(plugin: import("@src/vcsUiApp.js").VcsPlugin<Object, Object>): Object;
|
39
|
+
/**
|
40
|
+
* @param {Object} serializedPlugin
|
41
|
+
* @returns {Promise<import("@src/vcsUiApp.js").VcsPlugin<Object, Object>|null>}
|
42
|
+
*/
|
43
|
+
export function deserializePlugin(serializedPlugin: Object): Promise<import("@src/vcsUiApp.js").VcsPlugin<Object, Object> | null>;
|
44
|
+
/**
|
45
|
+
* @type {symbol}
|
46
|
+
*/
|
47
|
+
export const vcsAppSymbol: symbol;
|
48
|
+
/**
|
49
|
+
* @type {symbol}
|
50
|
+
* @private
|
51
|
+
*/
|
52
|
+
export const pluginFactorySymbol: symbol;
|
53
|
+
/**
|
54
|
+
* A symbol added to each plugin which describes the base URL from which the plugin was loaded (without the filename)
|
55
|
+
* @type {symbol}
|
56
|
+
*/
|
57
|
+
export const pluginBaseUrlSymbol: symbol;
|
58
|
+
/**
|
59
|
+
* A symbol added to each plugin which describes the module URL from which the plugin was loaded (with the filename and including searchParams)
|
60
|
+
* @type {symbol}
|
61
|
+
*/
|
62
|
+
export const pluginModuleUrlSymbol: symbol;
|
63
|
+
/**
|
64
|
+
* A symbol added to each plugin which describes the configured version range
|
65
|
+
* @type {symbol}
|
66
|
+
*/
|
67
|
+
export const pluginVersionRangeSymbol: symbol;
|