@vcmap/ui 5.0.1 → 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 +24 -2
- package/config/dev.config.json +176 -5
- package/config/www.config.json +25 -1
- package/dist/assets/{cesium.888ef7.js → cesium.e9b3ca.js} +1859 -1828
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.860907.js → core.a9fe5a.js} +5865 -5041
- package/dist/assets/core.js +1 -1
- package/dist/assets/index-bb2549d6.js +1 -0
- package/dist/assets/{ol.5e8a90.js → ol.5f0496.js} +7257 -7252
- package/dist/assets/ol.js +1 -1
- package/dist/assets/{ui.7758a8.css → ui.3c73c2.css} +2 -2
- package/dist/assets/{ui.7758a8.js → ui.3c73c2.js} +14281 -9264
- package/dist/assets/ui.js +1 -1
- package/dist/assets/{vue.9771b3.js → vue.4fe14e.js} +1243 -1234
- package/dist/assets/vue.js +2 -2
- package/dist/assets/{vuetify.2818ff.css → vuetify.260d9a.css} +1 -1
- package/dist/assets/{vuetify.2818ff.js → vuetify.260d9a.js} +155 -154
- package/dist/assets/vuetify.js +2 -2
- package/dist/index.html +2 -2
- package/index.d.ts +256 -0
- package/index.html +1 -1
- package/index.js +48 -11
- package/package.json +22 -15
- 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 +48 -21
- 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 -38
- package/src/manager/collectionManager/CollectionComponent.vue.d.ts +17 -0
- package/src/manager/collectionManager/CollectionComponentList.vue +78 -24
- 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 +57 -53
- 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-f265c560.js +0 -1
- package/plugins/@vcmap-show-case/window-tester/src/toolboxData.js +0 -288
@@ -0,0 +1,118 @@
|
|
1
|
+
<template>
|
2
|
+
<AbstractConfigEditor
|
3
|
+
@submit="apply"
|
4
|
+
v-bind="{ ...$attrs, ...$props }"
|
5
|
+
:set-config-on-cancel="false"
|
6
|
+
>
|
7
|
+
<v-container class="py-0 px-2">
|
8
|
+
<v-row no-gutters v-if="!multi">
|
9
|
+
<v-col>
|
10
|
+
<VcsLabel html-for="name" required dense>
|
11
|
+
{{ $t('categoryTester.fooEditor.name') }}
|
12
|
+
</VcsLabel>
|
13
|
+
</v-col>
|
14
|
+
<v-col>
|
15
|
+
<VcsTextField id="name" clearable dense v-model="localConfig.name" />
|
16
|
+
</v-col>
|
17
|
+
</v-row>
|
18
|
+
<v-row no-gutters v-if="!multi">
|
19
|
+
<v-col>
|
20
|
+
<VcsLabel html-for="title" dense>
|
21
|
+
{{ $t('categoryTester.fooEditor.title') }}
|
22
|
+
</VcsLabel>
|
23
|
+
</v-col>
|
24
|
+
<v-col>
|
25
|
+
<VcsTextField
|
26
|
+
id="title"
|
27
|
+
clearable
|
28
|
+
dense
|
29
|
+
v-model="localConfig.title"
|
30
|
+
/>
|
31
|
+
</v-col>
|
32
|
+
</v-row>
|
33
|
+
<v-row no-gutters>
|
34
|
+
<v-col>
|
35
|
+
<VcsLabel html-for="random" dense>
|
36
|
+
{{ $t('categoryTester.fooEditor.random') }}
|
37
|
+
</VcsLabel>
|
38
|
+
</v-col>
|
39
|
+
<v-col>
|
40
|
+
<VcsTextField
|
41
|
+
id="random"
|
42
|
+
clearable
|
43
|
+
dense
|
44
|
+
type="number"
|
45
|
+
v-model.number="localConfig.random"
|
46
|
+
:placeholder="$t('categoryTester.fooEditor.ambiguous')"
|
47
|
+
/>
|
48
|
+
</v-col>
|
49
|
+
</v-row>
|
50
|
+
</v-container>
|
51
|
+
</AbstractConfigEditor>
|
52
|
+
</template>
|
53
|
+
|
54
|
+
<script>
|
55
|
+
import { onMounted, onUnmounted, ref, watch } from 'vue';
|
56
|
+
import { VContainer, VRow, VCol } from 'vuetify/lib';
|
57
|
+
import { AbstractConfigEditor, VcsLabel, VcsTextField } from '@vcmap/ui';
|
58
|
+
|
59
|
+
export default {
|
60
|
+
name: 'FoobarEditor',
|
61
|
+
components: {
|
62
|
+
AbstractConfigEditor,
|
63
|
+
VcsLabel,
|
64
|
+
VcsTextField,
|
65
|
+
VContainer,
|
66
|
+
VRow,
|
67
|
+
VCol,
|
68
|
+
},
|
69
|
+
props: {
|
70
|
+
multi: {
|
71
|
+
type: Boolean,
|
72
|
+
default: false,
|
73
|
+
},
|
74
|
+
selection: {
|
75
|
+
type: Object,
|
76
|
+
default: undefined,
|
77
|
+
},
|
78
|
+
getConfig: {
|
79
|
+
type: Function,
|
80
|
+
required: true,
|
81
|
+
},
|
82
|
+
setConfig: {
|
83
|
+
type: Function,
|
84
|
+
required: true,
|
85
|
+
},
|
86
|
+
},
|
87
|
+
setup(props) {
|
88
|
+
const localConfig = ref({});
|
89
|
+
let stopWatching = () => {};
|
90
|
+
|
91
|
+
onMounted(async () => {
|
92
|
+
localConfig.value = await props.getConfig();
|
93
|
+
});
|
94
|
+
|
95
|
+
if (props.multi && props.selection) {
|
96
|
+
stopWatching = watch(
|
97
|
+
() => props.selection,
|
98
|
+
async () => {
|
99
|
+
localConfig.value = await props.getConfig();
|
100
|
+
},
|
101
|
+
);
|
102
|
+
}
|
103
|
+
|
104
|
+
onUnmounted(() => stopWatching());
|
105
|
+
|
106
|
+
async function apply() {
|
107
|
+
await props.setConfig(localConfig.value);
|
108
|
+
}
|
109
|
+
|
110
|
+
return {
|
111
|
+
localConfig,
|
112
|
+
apply,
|
113
|
+
};
|
114
|
+
},
|
115
|
+
};
|
116
|
+
</script>
|
117
|
+
|
118
|
+
<style lang="scss" scoped></style>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { downloadText } from '@vcmap/ui';
|
2
|
+
|
3
|
+
export function exportCategoryCallback(app, collectionComponent, category) {
|
4
|
+
const serialized = category.serializeModule(app.dynamicModuleId);
|
5
|
+
serialized.items = serialized.items.filter((i) =>
|
6
|
+
collectionComponent.selection.value.find((s) => s.title === i.name),
|
7
|
+
);
|
8
|
+
downloadText(JSON.stringify(serialized, null, 2), `${category.name}.json`);
|
9
|
+
}
|
10
|
+
|
11
|
+
export async function importCategoryCallback(app, files) {
|
12
|
+
const promises = files.map((file) => {
|
13
|
+
const reader = new FileReader();
|
14
|
+
return new Promise((resolve, reject) => {
|
15
|
+
reader.onload = (e) => {
|
16
|
+
try {
|
17
|
+
const { name, items } = JSON.parse(e.target.result);
|
18
|
+
app.categories.parseCategoryItems(name, items, app.dynamicModuleId);
|
19
|
+
resolve();
|
20
|
+
} catch (err) {
|
21
|
+
reject(err);
|
22
|
+
}
|
23
|
+
};
|
24
|
+
reader.readAsText(file);
|
25
|
+
});
|
26
|
+
});
|
27
|
+
|
28
|
+
await Promise.all(promises);
|
29
|
+
}
|
@@ -52,6 +52,14 @@ export default async function categoryTest() {
|
|
52
52
|
draggable: 'verschiebbar',
|
53
53
|
selectable: 'selektierbar',
|
54
54
|
singleSelect: 'Einfachauswahl',
|
55
|
+
renamable: 'umbenennbar',
|
56
|
+
removable: 'löschbar',
|
57
|
+
fooEditor: {
|
58
|
+
name: 'Name',
|
59
|
+
title: 'Titel',
|
60
|
+
random: 'Zufallszahl',
|
61
|
+
ambiguous: 'mehrdeutig',
|
62
|
+
},
|
55
63
|
},
|
56
64
|
},
|
57
65
|
en: {
|
@@ -60,6 +68,14 @@ export default async function categoryTest() {
|
|
60
68
|
draggable: 'draggable',
|
61
69
|
selectable: 'selectable',
|
62
70
|
singleSelect: 'single select',
|
71
|
+
renamable: 'renamable',
|
72
|
+
removable: 'removable',
|
73
|
+
fooEditor: {
|
74
|
+
name: 'Name',
|
75
|
+
title: 'Title',
|
76
|
+
random: 'Random Nr',
|
77
|
+
ambiguous: 'ambiguous',
|
78
|
+
},
|
63
79
|
},
|
64
80
|
},
|
65
81
|
},
|
package/plugins/@vcmap-show-case/collection-manager-example/src/CollectionManagerExample.vue
CHANGED
@@ -47,7 +47,7 @@
|
|
47
47
|
/**
|
48
48
|
* a sample mapping function adding a console log to all list items
|
49
49
|
* @param {T} i
|
50
|
-
* @param {
|
50
|
+
* @param {CollectionComponentClass} c
|
51
51
|
* @param {VcsListItem} l
|
52
52
|
*/
|
53
53
|
const mappingFunction = (i, c, l) => {
|
@@ -152,6 +152,7 @@
|
|
152
152
|
id: selected.value,
|
153
153
|
title: selected.value,
|
154
154
|
collection: app[selected.value],
|
155
|
+
renamable: true,
|
155
156
|
},
|
156
157
|
owner,
|
157
158
|
);
|
@@ -61,12 +61,16 @@ export default async function collectionManagerExample() {
|
|
61
61
|
},
|
62
62
|
i18n: {
|
63
63
|
de: {
|
64
|
-
|
65
|
-
|
64
|
+
collectionManagerExample: {
|
65
|
+
select: 'Collection',
|
66
|
+
addFailed: 'Die gewählte Collection wurde bereits hinzugefügt!',
|
67
|
+
},
|
66
68
|
},
|
67
69
|
en: {
|
68
|
-
|
69
|
-
|
70
|
+
collectionManagerExample: {
|
71
|
+
select: 'Collection',
|
72
|
+
addFailed: 'The selected collection is already added!',
|
73
|
+
},
|
70
74
|
},
|
71
75
|
},
|
72
76
|
destroy() {
|
@@ -0,0 +1,71 @@
|
|
1
|
+
<template>
|
2
|
+
<VcsFormSection
|
3
|
+
heading="extentExample.title"
|
4
|
+
expandable
|
5
|
+
start-open
|
6
|
+
:header-actions="actions"
|
7
|
+
v-if="localConfig.extent"
|
8
|
+
>
|
9
|
+
<VcsExtent v-model="localConfig.extent" />
|
10
|
+
</VcsFormSection>
|
11
|
+
</template>
|
12
|
+
|
13
|
+
<script>
|
14
|
+
import { computed, inject, onUnmounted } from 'vue';
|
15
|
+
import {
|
16
|
+
setupExtentComponentActions,
|
17
|
+
VcsFormSection,
|
18
|
+
VcsExtent,
|
19
|
+
} from '@vcmap/ui';
|
20
|
+
import { Extent } from '@vcmap/core';
|
21
|
+
|
22
|
+
export default {
|
23
|
+
name: 'ExtentExample',
|
24
|
+
components: {
|
25
|
+
VcsFormSection,
|
26
|
+
VcsExtent,
|
27
|
+
},
|
28
|
+
props: {
|
29
|
+
value: {
|
30
|
+
type: Object,
|
31
|
+
required: true,
|
32
|
+
},
|
33
|
+
},
|
34
|
+
setup(props, { emit }) {
|
35
|
+
const app = inject('vcsApp');
|
36
|
+
const localConfig = computed({
|
37
|
+
get() {
|
38
|
+
return props.value;
|
39
|
+
},
|
40
|
+
set(value) {
|
41
|
+
emit('input', value);
|
42
|
+
},
|
43
|
+
});
|
44
|
+
|
45
|
+
const extent = computed({
|
46
|
+
get() {
|
47
|
+
return new Extent(localConfig.value.extent);
|
48
|
+
},
|
49
|
+
set(value) {
|
50
|
+
localConfig.value.extent = value.toJSON();
|
51
|
+
},
|
52
|
+
});
|
53
|
+
const { actions, destroy } = setupExtentComponentActions(
|
54
|
+
app,
|
55
|
+
extent,
|
56
|
+
props.disabled,
|
57
|
+
);
|
58
|
+
|
59
|
+
onUnmounted(() => {
|
60
|
+
destroy();
|
61
|
+
});
|
62
|
+
|
63
|
+
return {
|
64
|
+
localConfig,
|
65
|
+
actions,
|
66
|
+
};
|
67
|
+
},
|
68
|
+
};
|
69
|
+
</script>
|
70
|
+
|
71
|
+
<style scoped></style>
|
@@ -0,0 +1,68 @@
|
|
1
|
+
import { ButtonLocation, createToggleAction, WindowSlot } from '@vcmap/ui';
|
2
|
+
import { Extent, VectorLayer } from '@vcmap/core';
|
3
|
+
import { ref } from 'vue';
|
4
|
+
import packageJSON from '../package.json';
|
5
|
+
import ExtentExample from './ExtentExample.vue';
|
6
|
+
|
7
|
+
/**
|
8
|
+
* @returns {VcsPlugin}
|
9
|
+
*/
|
10
|
+
export default async function extentExample() {
|
11
|
+
const sampleLayerOptions = VectorLayer.getDefaultOptions();
|
12
|
+
sampleLayerOptions.extent = new Extent().toJSON();
|
13
|
+
|
14
|
+
return {
|
15
|
+
get name() {
|
16
|
+
return packageJSON.name;
|
17
|
+
},
|
18
|
+
get version() {
|
19
|
+
return packageJSON.version;
|
20
|
+
},
|
21
|
+
get mapVersion() {
|
22
|
+
return packageJSON.mapVersion;
|
23
|
+
},
|
24
|
+
onVcsAppMounted(app) {
|
25
|
+
const { action, destroy } = createToggleAction(
|
26
|
+
{
|
27
|
+
name: 'Extent Example',
|
28
|
+
title: 'Extent Example Plugin',
|
29
|
+
icon: '$vcsBoundingBox',
|
30
|
+
},
|
31
|
+
{
|
32
|
+
id: 'extent-example',
|
33
|
+
component: ExtentExample,
|
34
|
+
slot: WindowSlot.DYNAMIC_LEFT,
|
35
|
+
state: {
|
36
|
+
headerTitle: 'Extent Example',
|
37
|
+
headerIcon: '$vcsBoundingBox',
|
38
|
+
},
|
39
|
+
props: {
|
40
|
+
value: ref(sampleLayerOptions),
|
41
|
+
},
|
42
|
+
},
|
43
|
+
app.windowManager,
|
44
|
+
packageJSON.name,
|
45
|
+
);
|
46
|
+
app.navbarManager.add({ action }, packageJSON.name, ButtonLocation.TOOL);
|
47
|
+
this._destroyAction = destroy;
|
48
|
+
},
|
49
|
+
i18n: {
|
50
|
+
de: {
|
51
|
+
extentExample: {
|
52
|
+
title: 'Ausdehnung',
|
53
|
+
},
|
54
|
+
},
|
55
|
+
en: {
|
56
|
+
extentExample: {
|
57
|
+
title: 'Extent',
|
58
|
+
},
|
59
|
+
},
|
60
|
+
},
|
61
|
+
destroy() {
|
62
|
+
if (this._destroyAction) {
|
63
|
+
this._destroyAction();
|
64
|
+
this._destroyAction = null;
|
65
|
+
}
|
66
|
+
},
|
67
|
+
};
|
68
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<template>
|
2
|
+
<v-sheet>
|
3
|
+
<VcsFlightComponent
|
4
|
+
v-if="hasFlightInstance"
|
5
|
+
:parent-id="$attrs['window-state'].id"
|
6
|
+
/>
|
7
|
+
<div class="d-flex gap-2 px-2 pt-2 pb-1">
|
8
|
+
<div class="d-flex gap-2 w-full justify-end">
|
9
|
+
<VcsFormButton type="submit" variant="filled" @click="log">
|
10
|
+
Log FlightOptions
|
11
|
+
</VcsFormButton>
|
12
|
+
<VcsFormButton @click="reset" icon="$vcsReturn" tooltip="Reset" />
|
13
|
+
</div>
|
14
|
+
</div>
|
15
|
+
</v-sheet>
|
16
|
+
</template>
|
17
|
+
|
18
|
+
<script>
|
19
|
+
import { VSheet } from 'vuetify/lib';
|
20
|
+
import { provide, ref, shallowRef, nextTick } from 'vue';
|
21
|
+
import { VcsFlightComponent, VcsFormButton } from '@vcmap/ui';
|
22
|
+
import { FlightInstance } from '@vcmap/core';
|
23
|
+
|
24
|
+
export default {
|
25
|
+
name: 'FlightExample',
|
26
|
+
components: {
|
27
|
+
VcsFormButton,
|
28
|
+
VSheet,
|
29
|
+
VcsFlightComponent,
|
30
|
+
},
|
31
|
+
setup() {
|
32
|
+
const defaultFlightOptions = FlightInstance.getDefaultOptions();
|
33
|
+
const flightInstance = shallowRef(
|
34
|
+
new FlightInstance(defaultFlightOptions),
|
35
|
+
);
|
36
|
+
const hasFlightInstance = ref(true);
|
37
|
+
provide('flightInstance', flightInstance);
|
38
|
+
|
39
|
+
return {
|
40
|
+
hasFlightInstance,
|
41
|
+
async reset() {
|
42
|
+
hasFlightInstance.value = false;
|
43
|
+
flightInstance.value = new FlightInstance(defaultFlightOptions);
|
44
|
+
await nextTick();
|
45
|
+
hasFlightInstance.value = true;
|
46
|
+
},
|
47
|
+
log() {
|
48
|
+
console.log(flightInstance.value.toJSON());
|
49
|
+
},
|
50
|
+
};
|
51
|
+
},
|
52
|
+
};
|
53
|
+
</script>
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import { WindowSlot, createToggleAction, ButtonLocation } from '@vcmap/ui';
|
2
|
+
import packageJSON from '../package.json';
|
3
|
+
import component from './FlightExample.vue';
|
4
|
+
|
5
|
+
export default function viewpointExamplePlugin() {
|
6
|
+
return {
|
7
|
+
get name() {
|
8
|
+
return packageJSON.name;
|
9
|
+
},
|
10
|
+
get version() {
|
11
|
+
return packageJSON.version;
|
12
|
+
},
|
13
|
+
get mapVersion() {
|
14
|
+
return packageJSON.mapVersion;
|
15
|
+
},
|
16
|
+
initialize(vcsApp) {
|
17
|
+
const { action, destroy } = createToggleAction(
|
18
|
+
{
|
19
|
+
name: 'Flight Example',
|
20
|
+
icon: '$vcsPoi',
|
21
|
+
},
|
22
|
+
{
|
23
|
+
id: 'flight-component-example',
|
24
|
+
state: {
|
25
|
+
headerTitle: 'Flight Example',
|
26
|
+
headerIcon: '$vcsPoi',
|
27
|
+
},
|
28
|
+
component,
|
29
|
+
slot: WindowSlot.DYNAMIC_LEFT,
|
30
|
+
},
|
31
|
+
vcsApp.windowManager,
|
32
|
+
packageJSON.name,
|
33
|
+
);
|
34
|
+
vcsApp.navbarManager.add(
|
35
|
+
{ id: 'flight-component-example', action },
|
36
|
+
packageJSON.name,
|
37
|
+
ButtonLocation.TOOL,
|
38
|
+
);
|
39
|
+
this.destroy = destroy;
|
40
|
+
},
|
41
|
+
};
|
42
|
+
}
|
@@ -224,7 +224,39 @@
|
|
224
224
|
/>
|
225
225
|
</v-col>
|
226
226
|
</v-row>
|
227
|
-
<v-row no-gutters>
|
227
|
+
<v-row no-gutters class="gap-2">
|
228
|
+
<v-col>
|
229
|
+
<VcsFormattedNumber
|
230
|
+
id="formattedNumber"
|
231
|
+
:value="state.numberInput"
|
232
|
+
prefix="X"
|
233
|
+
unit="cm"
|
234
|
+
:fraction-digits="1"
|
235
|
+
:dense="dense"
|
236
|
+
/>
|
237
|
+
</v-col>
|
238
|
+
<v-col>
|
239
|
+
<VcsFormattedNumber
|
240
|
+
id="formattedNumber"
|
241
|
+
:value="state.numberInput"
|
242
|
+
prefix="Y"
|
243
|
+
unit="cm"
|
244
|
+
:fraction-digits="1"
|
245
|
+
:dense="dense"
|
246
|
+
/>
|
247
|
+
</v-col>
|
248
|
+
<v-col>
|
249
|
+
<VcsFormattedNumber
|
250
|
+
id="formattedNumber"
|
251
|
+
:value="state.numberInput"
|
252
|
+
prefix="Z"
|
253
|
+
unit="cm"
|
254
|
+
:fraction-digits="1"
|
255
|
+
:dense="dense"
|
256
|
+
/>
|
257
|
+
</v-col>
|
258
|
+
</v-row>
|
259
|
+
<v-row no-gutters class="gap-2">
|
228
260
|
<v-col>
|
229
261
|
<VcsTextField
|
230
262
|
id="coordinateX"
|
@@ -232,18 +264,18 @@
|
|
232
264
|
type="number"
|
233
265
|
step="10"
|
234
266
|
prefix="X"
|
235
|
-
unit="
|
267
|
+
unit="cm"
|
236
268
|
v-model.number="state.numberInput"
|
237
269
|
/>
|
238
270
|
</v-col>
|
239
|
-
<v-col
|
271
|
+
<v-col>
|
240
272
|
<VcsTextField
|
241
273
|
id="coordinateY"
|
242
274
|
:dense="dense"
|
243
275
|
type="number"
|
244
276
|
step="10"
|
245
277
|
prefix="Y"
|
246
|
-
unit="
|
278
|
+
unit="cm"
|
247
279
|
v-model.number="state.numberInput"
|
248
280
|
/>
|
249
281
|
</v-col>
|
@@ -253,7 +285,7 @@
|
|
253
285
|
:dense="dense"
|
254
286
|
type="number"
|
255
287
|
step="10"
|
256
|
-
unit="
|
288
|
+
unit="cm"
|
257
289
|
prefix="Z"
|
258
290
|
v-model.number="state.numberInput"
|
259
291
|
/>
|
@@ -393,6 +425,47 @@
|
|
393
425
|
</v-container>
|
394
426
|
</template>
|
395
427
|
</VcsFormSection>
|
428
|
+
<VcsFormSection
|
429
|
+
heading="Disabled form section"
|
430
|
+
expandable
|
431
|
+
start-open
|
432
|
+
:disabled="true"
|
433
|
+
:header-actions="actions"
|
434
|
+
:action-button-list-overflow-count="4"
|
435
|
+
>
|
436
|
+
<template #help>
|
437
|
+
<ol>
|
438
|
+
<li>{{ $t('form-inputs-example.help1') }}:</li>
|
439
|
+
<span>{{ $t('form-inputs-example.help1desc') }}</span>
|
440
|
+
<li>{{ $t('form-inputs-example.help2') }}:</li>
|
441
|
+
<span>{{ $t('form-inputs-example.help2desc') }}</span>
|
442
|
+
<li>{{ $t('form-inputs-example.help3') }}:</li>
|
443
|
+
<span>{{ $t('form-inputs-example.help3desc') }}</span>
|
444
|
+
</ol>
|
445
|
+
</template>
|
446
|
+
<template #default>
|
447
|
+
<v-container class="py-0 px-1">
|
448
|
+
<v-row no-gutters>
|
449
|
+
<v-col class="w-max-half">
|
450
|
+
<VcsLabel html-for="selectInput" :dense="dense" :disabled="true">
|
451
|
+
{{ $t('form-inputs-example.select') }}
|
452
|
+
</VcsLabel>
|
453
|
+
</v-col>
|
454
|
+
<v-col class="w-max-half">
|
455
|
+
<VcsSelect
|
456
|
+
id="selectInput"
|
457
|
+
:items="selectOptions"
|
458
|
+
:dense="dense"
|
459
|
+
:rules="[(v) => v !== 'D' || 'D is not allowed']"
|
460
|
+
v-model="state.selected"
|
461
|
+
:disabled="true"
|
462
|
+
/>
|
463
|
+
</v-col>
|
464
|
+
</v-row>
|
465
|
+
</v-container>
|
466
|
+
</template>
|
467
|
+
</VcsFormSection>
|
468
|
+
|
396
469
|
<div class="d-flex gap-2 px-2 pt-2 pb-1">
|
397
470
|
<div class="d-flex gap-2">
|
398
471
|
<VcsFormButton @click="validate()"> Val </VcsFormButton>
|
@@ -49,13 +49,13 @@
|
|
49
49
|
VRow,
|
50
50
|
VImg,
|
51
51
|
},
|
52
|
-
setup() {
|
52
|
+
setup(props, { emit }) {
|
53
53
|
const app = inject('vcsApp');
|
54
54
|
const { helloWorld, showHelloWorldBtn } = app.plugins.getByKey(name);
|
55
55
|
|
56
56
|
return {
|
57
57
|
closeSelf() {
|
58
|
-
|
58
|
+
emit('close');
|
59
59
|
},
|
60
60
|
helloWorld() {
|
61
61
|
// eslint-disable-next-line no-console
|