@vcmap/ui 5.0.2 → 5.1.0-rc.2
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 +32 -0
- package/dist/assets/{cesium.a3a1dc.js → cesium.b97c3b.js} +1859 -1828
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.bb64ed.js → core.5b03e5.js} +5859 -5041
- package/dist/assets/core.js +1 -1
- package/dist/assets/index-92075a75.js +1 -0
- package/dist/assets/{ol.833fa9.js → ol.0cd250.js} +7257 -7252
- package/dist/assets/ol.js +1 -1
- package/dist/assets/{ui.aeb2ec.css → ui.67779e.css} +2 -2
- package/dist/assets/{ui.aeb2ec.js → ui.67779e.js} +14199 -9198
- package/dist/assets/ui.js +1 -1
- package/dist/assets/{vue.8e1850.js → vue.62ecd5.js} +1243 -1234
- package/dist/assets/vue.js +2 -2
- package/dist/assets/{vuetify.3ed426.css → vuetify.3b3e23.css} +1 -1
- package/dist/assets/{vuetify.3ed426.js → vuetify.3b3e23.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 +6 -2
- 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
@@ -7,6 +7,9 @@
|
|
7
7
|
'vcs-label-required': required,
|
8
8
|
'px-1': dense,
|
9
9
|
'px-2': !dense,
|
10
|
+
'vcs-label-disabled': disabled,
|
11
|
+
'theme--dark': $vuetify.theme.dark,
|
12
|
+
'theme--light': !$vuetify.theme.dark,
|
10
13
|
}"
|
11
14
|
>
|
12
15
|
<slot />
|
@@ -16,6 +19,8 @@
|
|
16
19
|
<style lang="scss" scoped>
|
17
20
|
@import '../../styles/vcsGrid.scss';
|
18
21
|
@import '../../styles/vcsFont';
|
22
|
+
@import '../../styles/shades.scss';
|
23
|
+
|
19
24
|
.vcs-label {
|
20
25
|
font-size: $vcs-font-size;
|
21
26
|
line-height: $line-height-base;
|
@@ -27,6 +32,14 @@
|
|
27
32
|
content: ' *';
|
28
33
|
color: var(--v-error-base);
|
29
34
|
}
|
35
|
+
.vcs-label-disabled {
|
36
|
+
&.theme--dark {
|
37
|
+
color: rgba(map-get($shades, 'white'), 0.5);
|
38
|
+
}
|
39
|
+
&.theme--light {
|
40
|
+
color: rgba(map-get($shades, 'black'), 0.3);
|
41
|
+
}
|
42
|
+
}
|
30
43
|
</style>
|
31
44
|
<script>
|
32
45
|
/**
|
@@ -35,6 +48,7 @@
|
|
35
48
|
* @vue-prop {string} htmlFor - an id reference the label is meant for
|
36
49
|
* @vue-prop {boolean} [dense=true] - default line height is 32px (dense). If set false, height is 40px.
|
37
50
|
* @vue-prop {boolean} [required=false] - Marks an input field as required by adding an asterisk after the label.
|
51
|
+
* @vue-prop {boolean} [disabled=false] - Marks an input field as disabled by adding transparency to the label.
|
38
52
|
*/
|
39
53
|
export default {
|
40
54
|
name: 'VcsLabel',
|
@@ -51,6 +65,10 @@
|
|
51
65
|
type: Boolean,
|
52
66
|
default: false,
|
53
67
|
},
|
68
|
+
disabled: {
|
69
|
+
type: Boolean,
|
70
|
+
default: false,
|
71
|
+
},
|
54
72
|
},
|
55
73
|
};
|
56
74
|
</script>
|
@@ -0,0 +1,41 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
htmlFor: {
|
3
|
+
type: StringConstructor;
|
4
|
+
default: undefined;
|
5
|
+
};
|
6
|
+
dense: {
|
7
|
+
type: BooleanConstructor;
|
8
|
+
default: boolean;
|
9
|
+
};
|
10
|
+
required: {
|
11
|
+
type: BooleanConstructor;
|
12
|
+
default: boolean;
|
13
|
+
};
|
14
|
+
disabled: {
|
15
|
+
type: BooleanConstructor;
|
16
|
+
default: boolean;
|
17
|
+
};
|
18
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
19
|
+
htmlFor: {
|
20
|
+
type: StringConstructor;
|
21
|
+
default: undefined;
|
22
|
+
};
|
23
|
+
dense: {
|
24
|
+
type: BooleanConstructor;
|
25
|
+
default: boolean;
|
26
|
+
};
|
27
|
+
required: {
|
28
|
+
type: BooleanConstructor;
|
29
|
+
default: boolean;
|
30
|
+
};
|
31
|
+
disabled: {
|
32
|
+
type: BooleanConstructor;
|
33
|
+
default: boolean;
|
34
|
+
};
|
35
|
+
}>>, {
|
36
|
+
disabled: boolean;
|
37
|
+
dense: boolean;
|
38
|
+
required: boolean;
|
39
|
+
htmlFor: string;
|
40
|
+
}>;
|
41
|
+
export default _default;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
tooltipPosition: {
|
3
|
+
type: StringConstructor;
|
4
|
+
default: string;
|
5
|
+
};
|
6
|
+
items: {
|
7
|
+
type: ArrayConstructor;
|
8
|
+
required: true;
|
9
|
+
};
|
10
|
+
}, {
|
11
|
+
radioGroup: import("vue").Ref<any>;
|
12
|
+
errorMessage: import("vue").Ref<string>;
|
13
|
+
isDense: import("vue").ComputedRef<boolean>;
|
14
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
15
|
+
tooltipPosition: {
|
16
|
+
type: StringConstructor;
|
17
|
+
default: string;
|
18
|
+
};
|
19
|
+
items: {
|
20
|
+
type: ArrayConstructor;
|
21
|
+
required: true;
|
22
|
+
};
|
23
|
+
}>>, {
|
24
|
+
tooltipPosition: string;
|
25
|
+
}>;
|
26
|
+
export default _default;
|
27
|
+
export type VcsRadioItem = {
|
28
|
+
label: string;
|
29
|
+
color?: string | undefined;
|
30
|
+
value: any;
|
31
|
+
disabled?: boolean | undefined;
|
32
|
+
};
|
@@ -0,0 +1,35 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
items: {
|
3
|
+
type: ArrayConstructor;
|
4
|
+
required: true;
|
5
|
+
};
|
6
|
+
tooltipPosition: {
|
7
|
+
type: StringConstructor;
|
8
|
+
default: string;
|
9
|
+
};
|
10
|
+
itemValue: {
|
11
|
+
type: StringConstructor;
|
12
|
+
default: string;
|
13
|
+
};
|
14
|
+
}, {
|
15
|
+
isDense: import("vue").ComputedRef<boolean>;
|
16
|
+
radioGroup: import("vue").Ref<any>;
|
17
|
+
errorMessage: import("vue").Ref<string>;
|
18
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
19
|
+
items: {
|
20
|
+
type: ArrayConstructor;
|
21
|
+
required: true;
|
22
|
+
};
|
23
|
+
tooltipPosition: {
|
24
|
+
type: StringConstructor;
|
25
|
+
default: string;
|
26
|
+
};
|
27
|
+
itemValue: {
|
28
|
+
type: StringConstructor;
|
29
|
+
default: string;
|
30
|
+
};
|
31
|
+
}>>, {
|
32
|
+
tooltipPosition: string;
|
33
|
+
itemValue: string;
|
34
|
+
}>;
|
35
|
+
export default _default;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
tooltipPosition: {
|
3
|
+
type: StringConstructor;
|
4
|
+
default: string;
|
5
|
+
};
|
6
|
+
itemText: {
|
7
|
+
type: FunctionConstructor;
|
8
|
+
default: undefined;
|
9
|
+
};
|
10
|
+
}, {
|
11
|
+
hover: import("vue").Ref<boolean>;
|
12
|
+
focus: import("vue").Ref<boolean>;
|
13
|
+
errorMessage: import("vue").Ref<string>;
|
14
|
+
isDense: import("vue").ComputedRef<boolean>;
|
15
|
+
isOutlined: import("vue").ComputedRef<boolean>;
|
16
|
+
getText: (item: any) => any;
|
17
|
+
selectField: import("vue").Ref<any>;
|
18
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
19
|
+
tooltipPosition: {
|
20
|
+
type: StringConstructor;
|
21
|
+
default: string;
|
22
|
+
};
|
23
|
+
itemText: {
|
24
|
+
type: FunctionConstructor;
|
25
|
+
default: undefined;
|
26
|
+
};
|
27
|
+
}>>, {
|
28
|
+
tooltipPosition: string;
|
29
|
+
itemText: Function;
|
30
|
+
}>;
|
31
|
+
export default _default;
|
@@ -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,22 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
tooltipPosition: {
|
3
|
+
type: StringConstructor;
|
4
|
+
default: string;
|
5
|
+
};
|
6
|
+
}, {
|
7
|
+
hover: import("vue").Ref<boolean>;
|
8
|
+
focus: import("vue").Ref<boolean>;
|
9
|
+
textAreaRef: import("vue").Ref<any>;
|
10
|
+
errorMessage: import("vue").Ref<string>;
|
11
|
+
isClearable: import("vue").ComputedRef<string | boolean>;
|
12
|
+
isDense: import("vue").ComputedRef<boolean>;
|
13
|
+
isOutlined: import("vue").ComputedRef<boolean | "">;
|
14
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
15
|
+
tooltipPosition: {
|
16
|
+
type: StringConstructor;
|
17
|
+
default: string;
|
18
|
+
};
|
19
|
+
}>>, {
|
20
|
+
tooltipPosition: string;
|
21
|
+
}>;
|
22
|
+
export default _default;
|
@@ -31,6 +31,7 @@
|
|
31
31
|
'remove-outline': !isOutlined,
|
32
32
|
'outline--current': focus,
|
33
33
|
'outline--error': !!errorMessage,
|
34
|
+
'input--unit': !!unit,
|
34
35
|
'input--dense': isDense,
|
35
36
|
'input--not-dense': !isDense,
|
36
37
|
'file-border-bottom':
|
@@ -39,7 +40,11 @@
|
|
39
40
|
!hover &&
|
40
41
|
!errorMessage,
|
41
42
|
}"
|
42
|
-
|
43
|
+
>
|
44
|
+
<template #append>
|
45
|
+
<slot name="append">{{ unit }}</slot>
|
46
|
+
</template>
|
47
|
+
</component>
|
43
48
|
</template>
|
44
49
|
</VcsTooltip>
|
45
50
|
</div>
|
@@ -52,6 +57,10 @@
|
|
52
57
|
color: var(--v-primary-base);
|
53
58
|
font-style: italic;
|
54
59
|
opacity: 1;
|
60
|
+
padding: 0 3px 0 0;
|
61
|
+
}
|
62
|
+
input::-moz-placeholder {
|
63
|
+
font-style: initial;
|
55
64
|
}
|
56
65
|
}
|
57
66
|
}
|
@@ -82,6 +91,40 @@
|
|
82
91
|
}
|
83
92
|
}
|
84
93
|
}
|
94
|
+
div[type='number'] {
|
95
|
+
::v-deep {
|
96
|
+
.v-text-field__slot input {
|
97
|
+
text-align: right;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
.input--unit {
|
102
|
+
::v-deep {
|
103
|
+
.v-text-field__slot input {
|
104
|
+
text-align: right;
|
105
|
+
padding-right: 3px;
|
106
|
+
}
|
107
|
+
.v-input__append-inner {
|
108
|
+
margin-top: 6px !important;
|
109
|
+
&:last-child {
|
110
|
+
border-bottom: 1px solid var(--v-base-base);
|
111
|
+
height: 24px;
|
112
|
+
margin-top: 0 !important;
|
113
|
+
align-items: center;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
.input--unit.input--not-dense {
|
119
|
+
::v-deep {
|
120
|
+
.v-input__append-inner {
|
121
|
+
&:last-child {
|
122
|
+
height: 32px;
|
123
|
+
padding-top: 2px;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
85
128
|
.input--dense {
|
86
129
|
::v-deep {
|
87
130
|
.v-text-field__slot input {
|
@@ -160,6 +203,7 @@
|
|
160
203
|
* When clicking esc key, previous input is restored.
|
161
204
|
* @vue-prop {('bottom' | 'left' | 'top' | 'right')} [tooltipPosition='right'] - Position of the error tooltip.
|
162
205
|
* @vue-prop {string} unit - Unit for number input fields. Is displayed behind the number.
|
206
|
+
* @vue-prop {number|undefined} [decimals] - An optional number of decimal places the visible value will be rounded to. Does not affect the input value!
|
163
207
|
* @vue-prop {boolean} showSpinButtons - If true, spin buttons are displayed in number input fields. Overrides Vuetify hide-spin-buttons.
|
164
208
|
* @vue-prop {boolean} noPadding - Padding is required for usage within rows. For standalone usage this prop removes class py-1.
|
165
209
|
* @vue-computed {boolean} isClearable - Whether textfield is isClearable. Makes sure icon is only shown on focus, hover or error.
|
@@ -184,6 +228,10 @@
|
|
184
228
|
type: String,
|
185
229
|
default: '',
|
186
230
|
},
|
231
|
+
decimals: {
|
232
|
+
type: Number,
|
233
|
+
default: undefined,
|
234
|
+
},
|
187
235
|
showSpinButtons: {
|
188
236
|
type: Boolean,
|
189
237
|
default: false,
|
@@ -230,18 +278,17 @@
|
|
230
278
|
if (
|
231
279
|
attrs.type === 'number' &&
|
232
280
|
Number.isFinite(attrs.value) &&
|
233
|
-
props.
|
234
|
-
!focus.value &&
|
235
|
-
!hover.value
|
281
|
+
props.decimals >= 0
|
236
282
|
) {
|
237
|
-
return
|
238
|
-
} else {
|
239
|
-
return attrs.value ?? '';
|
283
|
+
return parseFloat(attrs.value.toFixed(props.decimals));
|
240
284
|
}
|
285
|
+
return attrs.value ?? '';
|
241
286
|
},
|
242
|
-
set() {
|
243
|
-
|
244
|
-
|
287
|
+
set(value) {
|
288
|
+
if (attrs.type === 'file') {
|
289
|
+
emit('input', value);
|
290
|
+
}
|
291
|
+
// emit is not needed for other types, the vuetify component already emits an @input event. (forwarded listeners)
|
245
292
|
},
|
246
293
|
});
|
247
294
|
const type = computed(() => {
|
@@ -0,0 +1,65 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
tooltipPosition: {
|
3
|
+
type: StringConstructor;
|
4
|
+
default: string;
|
5
|
+
};
|
6
|
+
unit: {
|
7
|
+
type: StringConstructor;
|
8
|
+
default: string;
|
9
|
+
};
|
10
|
+
decimals: {
|
11
|
+
type: NumberConstructor;
|
12
|
+
default: undefined;
|
13
|
+
};
|
14
|
+
showSpinButtons: {
|
15
|
+
type: BooleanConstructor;
|
16
|
+
default: boolean;
|
17
|
+
};
|
18
|
+
noPadding: {
|
19
|
+
type: BooleanConstructor;
|
20
|
+
default: boolean;
|
21
|
+
};
|
22
|
+
}, {
|
23
|
+
hover: import("vue").Ref<boolean>;
|
24
|
+
focus: import("vue").Ref<boolean>;
|
25
|
+
inputComponent: import("vue").ComputedRef<"VFileInput" | "VTextField">;
|
26
|
+
isClearable: import("vue").ComputedRef<boolean>;
|
27
|
+
isDense: import("vue").ComputedRef<boolean>;
|
28
|
+
isOutlined: import("vue").ComputedRef<boolean>;
|
29
|
+
visibleValue: import("vue").WritableComputedRef<{}>;
|
30
|
+
type: import("vue").ComputedRef<{}>;
|
31
|
+
rules: import("vue").ComputedRef<unknown>;
|
32
|
+
onEscape: (event: any) => void;
|
33
|
+
textFieldRef: import("vue").Ref<any>;
|
34
|
+
errorMessage: import("vue").Ref<string>;
|
35
|
+
onBlur: (event: any) => void;
|
36
|
+
onFocus: (event: any) => void;
|
37
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
38
|
+
tooltipPosition: {
|
39
|
+
type: StringConstructor;
|
40
|
+
default: string;
|
41
|
+
};
|
42
|
+
unit: {
|
43
|
+
type: StringConstructor;
|
44
|
+
default: string;
|
45
|
+
};
|
46
|
+
decimals: {
|
47
|
+
type: NumberConstructor;
|
48
|
+
default: undefined;
|
49
|
+
};
|
50
|
+
showSpinButtons: {
|
51
|
+
type: BooleanConstructor;
|
52
|
+
default: boolean;
|
53
|
+
};
|
54
|
+
noPadding: {
|
55
|
+
type: BooleanConstructor;
|
56
|
+
default: boolean;
|
57
|
+
};
|
58
|
+
}>>, {
|
59
|
+
tooltipPosition: string;
|
60
|
+
unit: string;
|
61
|
+
decimals: number;
|
62
|
+
showSpinButtons: boolean;
|
63
|
+
noPadding: boolean;
|
64
|
+
}>;
|
65
|
+
export default _default;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
value: {
|
3
|
+
type: NumberConstructor;
|
4
|
+
default: undefined;
|
5
|
+
};
|
6
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
7
|
+
value: {
|
8
|
+
type: NumberConstructor;
|
9
|
+
default: undefined;
|
10
|
+
};
|
11
|
+
}>>, {
|
12
|
+
value: number;
|
13
|
+
}>;
|
14
|
+
export default _default;
|
@@ -0,0 +1,89 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
step: {
|
3
|
+
type: (StringConstructor | NumberConstructor)[];
|
4
|
+
required: true;
|
5
|
+
};
|
6
|
+
editable: {
|
7
|
+
type: BooleanConstructor;
|
8
|
+
default: boolean;
|
9
|
+
};
|
10
|
+
complete: {
|
11
|
+
type: BooleanConstructor;
|
12
|
+
default: boolean;
|
13
|
+
};
|
14
|
+
rules: {
|
15
|
+
type: ArrayConstructor;
|
16
|
+
default: () => never[];
|
17
|
+
};
|
18
|
+
heading: {
|
19
|
+
type: StringConstructor;
|
20
|
+
default: undefined;
|
21
|
+
};
|
22
|
+
headerActions: {
|
23
|
+
type: ArrayConstructor;
|
24
|
+
default: () => never[];
|
25
|
+
};
|
26
|
+
actionButtonListOverflowCount: {
|
27
|
+
type: NumberConstructor;
|
28
|
+
required: false;
|
29
|
+
default: undefined;
|
30
|
+
};
|
31
|
+
helpText: {
|
32
|
+
type: StringConstructor;
|
33
|
+
default: undefined;
|
34
|
+
};
|
35
|
+
value: {
|
36
|
+
type: (StringConstructor | NumberConstructor)[];
|
37
|
+
required: true;
|
38
|
+
};
|
39
|
+
}, {
|
40
|
+
showHelp: import("vue").ComputedRef<boolean>;
|
41
|
+
actions: import("vue").ComputedRef<VcsAction>;
|
42
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
43
|
+
step: {
|
44
|
+
type: (StringConstructor | NumberConstructor)[];
|
45
|
+
required: true;
|
46
|
+
};
|
47
|
+
editable: {
|
48
|
+
type: BooleanConstructor;
|
49
|
+
default: boolean;
|
50
|
+
};
|
51
|
+
complete: {
|
52
|
+
type: BooleanConstructor;
|
53
|
+
default: boolean;
|
54
|
+
};
|
55
|
+
rules: {
|
56
|
+
type: ArrayConstructor;
|
57
|
+
default: () => never[];
|
58
|
+
};
|
59
|
+
heading: {
|
60
|
+
type: StringConstructor;
|
61
|
+
default: undefined;
|
62
|
+
};
|
63
|
+
headerActions: {
|
64
|
+
type: ArrayConstructor;
|
65
|
+
default: () => never[];
|
66
|
+
};
|
67
|
+
actionButtonListOverflowCount: {
|
68
|
+
type: NumberConstructor;
|
69
|
+
required: false;
|
70
|
+
default: undefined;
|
71
|
+
};
|
72
|
+
helpText: {
|
73
|
+
type: StringConstructor;
|
74
|
+
default: undefined;
|
75
|
+
};
|
76
|
+
value: {
|
77
|
+
type: (StringConstructor | NumberConstructor)[];
|
78
|
+
required: true;
|
79
|
+
};
|
80
|
+
}>>, {
|
81
|
+
headerActions: unknown[];
|
82
|
+
rules: unknown[];
|
83
|
+
complete: boolean;
|
84
|
+
heading: string;
|
85
|
+
actionButtonListOverflowCount: number;
|
86
|
+
helpText: string;
|
87
|
+
editable: boolean;
|
88
|
+
}>;
|
89
|
+
export default _default;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/**
|
2
|
+
* Syncs the error and validation state with the underlying vuetify component.
|
3
|
+
* @param {import("vue").Ref<unknown>} elementRef The template ref to the base vuetify component.
|
4
|
+
* @returns {import("vue").Ref<string>} Error message to display. Is empty string if either there are no error messages or if the validation errors are not displayed because
|
5
|
+
* no interaction with the component or validation was reset by form. Validation errors have precedence over custom error messages.
|
6
|
+
*/
|
7
|
+
export function useErrorSync(elementRef: import("vue").Ref<unknown>): import("vue").Ref<string>;
|
@@ -2,7 +2,7 @@ import { computed } from 'vue';
|
|
2
2
|
|
3
3
|
/**
|
4
4
|
* Syncs the error and validation state with the underlying vuetify component.
|
5
|
-
* @param {import("vue").Ref<
|
5
|
+
* @param {import("vue").Ref<unknown>} elementRef The template ref to the base vuetify component.
|
6
6
|
* @returns {import("vue").Ref<string>} Error message to display. Is empty string if either there are no error messages or if the validation errors are not displayed because
|
7
7
|
* no interaction with the component or validation was reset by form. Validation errors have precedence over custom error messages.
|
8
8
|
*/
|
@@ -1,8 +1,9 @@
|
|
1
1
|
<template>
|
2
2
|
<span
|
3
|
-
class="vcs-formatted-number
|
4
|
-
:class="{ 'vcs-formatted-number-dense': dense }"
|
3
|
+
class="vcs-formatted-number"
|
4
|
+
:class="{ 'vcs-formatted-number-dense': dense, 'px-2': !noPadding }"
|
5
5
|
>
|
6
|
+
<span v-if="prefix" class="pr-1">{{ prefix }}</span>
|
6
7
|
{{ formatted }}
|
7
8
|
<span v-if="unit === SpecialUnits.SQM"> m<sup>2</sup> </span>
|
8
9
|
<span v-else-if="unit === SpecialUnits.CBM"> m<sup>3</sup> </span>
|
@@ -67,7 +68,9 @@
|
|
67
68
|
* @vue-prop {string|SpecialUnits} [unit=undefined]
|
68
69
|
* @vue-prop {number} [fractionDigits=undefined]
|
69
70
|
* @vue-prop {number} value
|
71
|
+
* @vue-prop {string|number} prefix
|
70
72
|
* @vue-prop {boolean} [dense=true] - default line height is 32px (dense). If set false, height is 40px.
|
73
|
+
* @vue-prop {boolean} noPadding - Padding is required for usage within rows. For standalone usage this prop removes class.
|
71
74
|
* @vue-computed {string} formatted - value formatted to locale string
|
72
75
|
*/
|
73
76
|
export default {
|
@@ -85,10 +88,18 @@
|
|
85
88
|
type: Number,
|
86
89
|
default: 0,
|
87
90
|
},
|
91
|
+
prefix: {
|
92
|
+
type: [String, Number],
|
93
|
+
default: undefined,
|
94
|
+
},
|
88
95
|
dense: {
|
89
96
|
type: Boolean,
|
90
97
|
default: true,
|
91
98
|
},
|
99
|
+
noPadding: {
|
100
|
+
type: Boolean,
|
101
|
+
default: false,
|
102
|
+
},
|
92
103
|
},
|
93
104
|
setup(props) {
|
94
105
|
const formatted = computed(() =>
|
@@ -0,0 +1,89 @@
|
|
1
|
+
/**
|
2
|
+
* @description Converts a number (e.g. 12345678,9) to a locale-aware and
|
3
|
+
* dot-seperated string with given amount of fractional digits (e.g. 12.345.678,90)
|
4
|
+
* @param {string|number} value
|
5
|
+
* @param {number} fractionDigits
|
6
|
+
* @returns {string|number}
|
7
|
+
*/
|
8
|
+
export function numberToLocaleString(value: string | number, fractionDigits: number): string | number;
|
9
|
+
/**
|
10
|
+
* *
|
11
|
+
*/
|
12
|
+
export type SpecialUnits = string;
|
13
|
+
export namespace SpecialUnits {
|
14
|
+
let SQM: string;
|
15
|
+
let CBM: string;
|
16
|
+
let DEG: string;
|
17
|
+
}
|
18
|
+
declare const _default: import("vue").DefineComponent<{
|
19
|
+
unit: {
|
20
|
+
type: StringConstructor[];
|
21
|
+
default: undefined;
|
22
|
+
};
|
23
|
+
fractionDigits: {
|
24
|
+
type: NumberConstructor;
|
25
|
+
default: number;
|
26
|
+
};
|
27
|
+
value: {
|
28
|
+
type: NumberConstructor;
|
29
|
+
default: number;
|
30
|
+
};
|
31
|
+
prefix: {
|
32
|
+
type: (StringConstructor | NumberConstructor)[];
|
33
|
+
default: undefined;
|
34
|
+
};
|
35
|
+
dense: {
|
36
|
+
type: BooleanConstructor;
|
37
|
+
default: boolean;
|
38
|
+
};
|
39
|
+
noPadding: {
|
40
|
+
type: BooleanConstructor;
|
41
|
+
default: boolean;
|
42
|
+
};
|
43
|
+
}, {
|
44
|
+
SpecialUnits: {
|
45
|
+
SQM: string;
|
46
|
+
CBM: string;
|
47
|
+
DEG: string;
|
48
|
+
};
|
49
|
+
formatted: import("vue").ComputedRef<string | number>;
|
50
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
51
|
+
unit: {
|
52
|
+
type: StringConstructor[];
|
53
|
+
default: undefined;
|
54
|
+
};
|
55
|
+
fractionDigits: {
|
56
|
+
type: NumberConstructor;
|
57
|
+
default: number;
|
58
|
+
};
|
59
|
+
value: {
|
60
|
+
type: NumberConstructor;
|
61
|
+
default: number;
|
62
|
+
};
|
63
|
+
prefix: {
|
64
|
+
type: (StringConstructor | NumberConstructor)[];
|
65
|
+
default: undefined;
|
66
|
+
};
|
67
|
+
dense: {
|
68
|
+
type: BooleanConstructor;
|
69
|
+
default: boolean;
|
70
|
+
};
|
71
|
+
noPadding: {
|
72
|
+
type: BooleanConstructor;
|
73
|
+
default: boolean;
|
74
|
+
};
|
75
|
+
}>>, {
|
76
|
+
value: number;
|
77
|
+
unit: string;
|
78
|
+
noPadding: boolean;
|
79
|
+
dense: boolean;
|
80
|
+
fractionDigits: number;
|
81
|
+
prefix: string | number;
|
82
|
+
}>;
|
83
|
+
export default _default;
|
84
|
+
export namespace VcsFormattedNumber {
|
85
|
+
/**
|
86
|
+
* Enumeration of units displayed with special symbol
|
87
|
+
*/
|
88
|
+
type SpecialUnits = Object;
|
89
|
+
}
|