@vcmap/ui 5.3.3 → 6.0.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/build/build.js +26 -4
- package/build/buildHelpers.js +6 -1
- package/build/buildTypes.js +18 -0
- package/build/commonViteConfig.js +7 -10
- package/build/generateOLLib.js +5 -1
- package/build/info/publish.js +2 -2
- package/build/lintTypes.js +5 -0
- package/build/staging/Dockerfile +1 -1
- package/config/base.config.json +9 -6
- package/config/dev.config.json +14 -10
- package/config/www.config.json +1 -1
- package/dist/assets/cesium/Assets/approximateTerrainHeights.json +1 -1
- package/dist/assets/cesium/ThirdParty/Workers/z-worker-pako.js +1 -1
- package/dist/assets/cesium/Workers/{chunk-ZA25DG4Y.js → chunk-3DRPXHZ4.js} +11 -11
- package/dist/assets/cesium/Workers/{chunk-OAVNIRB4.js → chunk-3GI7DWF7.js} +5 -7
- package/dist/assets/cesium/Workers/{chunk-TFC6TZ3S.js → chunk-4EW3HFFI.js} +33 -22
- package/dist/assets/cesium/Workers/{chunk-LLUNNUJV.js → chunk-4OX4RYLB.js} +5 -5
- package/dist/assets/cesium/Workers/{chunk-66QLLS45.js → chunk-4RJH3H6D.js} +11 -9
- package/dist/assets/cesium/Workers/{chunk-MPAZH4BF.js → chunk-5OUTANXX.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-WXTV4ATB.js → chunk-6DH5PLFD.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-A4JVFBQ3.js → chunk-6DXIYFX3.js} +2 -2
- package/dist/assets/cesium/Workers/chunk-A5C2A5O5.js +963 -0
- package/dist/assets/cesium/Workers/{chunk-HQF437NJ.js → chunk-AGTH5JMJ.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-RP2A7BR5.js → chunk-AVFIYUKX.js} +12 -14
- package/dist/assets/cesium/Workers/{chunk-227AJNOA.js → chunk-BAJAVGUF.js} +5 -5
- package/dist/assets/cesium/Workers/{chunk-N3JIFFX2.js → chunk-BPY4HDAK.js} +5 -6
- package/dist/assets/cesium/Workers/{chunk-ABADGKYE.js → chunk-D6PDWQXW.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-34YUDLRP.js → chunk-DR7LK6PG.js} +13 -13
- package/dist/assets/cesium/Workers/{chunk-OYFCF4PL.js → chunk-DTACCQDR.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-C3SXRKRW.js → chunk-EVU2UNBD.js} +7 -7
- package/dist/assets/cesium/Workers/{chunk-6BTKZDRG.js → chunk-F7IEM66T.js} +3 -5
- package/dist/assets/cesium/Workers/{chunk-QT3MPEMI.js → chunk-FSXNF76Y.js} +4 -4
- package/dist/assets/cesium/Workers/{chunk-PCJWUS4M.js → chunk-FYYT5EVH.js} +830 -14
- package/dist/assets/cesium/Workers/{chunk-QMEMZIJI.js → chunk-FZDKIUDT.js} +4 -4
- package/dist/assets/cesium/Workers/{chunk-XTY7B2N6.js → chunk-G6346EDR.js} +16 -16
- package/dist/assets/cesium/Workers/{chunk-CHHNOC2C.js → chunk-H7PSTL64.js} +95 -155
- package/dist/assets/cesium/Workers/{chunk-2R5O53JW.js → chunk-I67V66MN.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-JS3AW5BK.js → chunk-IALQGTA2.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-K36FEYS7.js → chunk-KNMGSIIN.js} +16 -12
- package/dist/assets/cesium/Workers/{chunk-J3JY6I2C.js → chunk-L4XQPD6P.js} +49 -88
- package/dist/assets/cesium/Workers/{chunk-X4SU25DT.js → chunk-LMTN7R7M.js} +10 -12
- package/dist/assets/cesium/Workers/{chunk-JB2LWGH4.js → chunk-LUYI3XCB.js} +14 -14
- package/dist/assets/cesium/Workers/{chunk-AFFLIKOH.js → chunk-N5MIFVXJ.js} +7 -7
- package/dist/assets/cesium/Workers/{chunk-MYZB7C4T.js → chunk-O7OUBDMZ.js} +10 -10
- package/dist/assets/cesium/Workers/{chunk-VLGOATD6.js → chunk-P24I5VUS.js} +22 -22
- package/dist/assets/cesium/Workers/{chunk-KD4Y7CZL.js → chunk-PIOKSAZH.js} +15 -17
- package/dist/assets/cesium/Workers/{chunk-3W63OHNJ.js → chunk-PRKEY4QK.js} +5 -5
- package/dist/assets/cesium/Workers/{chunk-O5AMBQ36.js → chunk-Q7PM4W34.js} +8 -8
- package/dist/assets/cesium/Workers/{chunk-GLZBE3ML.js → chunk-QLC66ZRL.js} +13 -13
- package/dist/assets/cesium/Workers/{chunk-OZJDGN5F.js → chunk-RRLGJV3Q.js} +16 -16
- package/dist/assets/cesium/Workers/{chunk-CCFQRR6D.js → chunk-S2UEXF6T.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-QIKODV5G.js → chunk-S4VTLNAJ.js} +4 -4
- package/dist/assets/cesium/Workers/{chunk-EW2GWJYB.js → chunk-SJC5PRDX.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-KTJSNCK4.js → chunk-T6TZXGG5.js} +230 -20
- package/dist/assets/cesium/Workers/{chunk-RW6LU2CJ.js → chunk-TLGODPEV.js} +5 -5
- package/dist/assets/cesium/Workers/{chunk-CTELOFLA.js → chunk-UC566ISB.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-ZFOBYDGF.js → chunk-UMX265HW.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-Z24VKNDO.js → chunk-V7WJDCPA.js} +12 -12
- package/dist/assets/cesium/Workers/{chunk-4MFFIWUA.js → chunk-VD6G7UPU.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-XY7MGBKC.js → chunk-WMVCLETM.js} +14 -16
- package/dist/assets/cesium/Workers/{chunk-IPA4EACJ.js → chunk-WOA6WSHH.js} +12 -12
- package/dist/assets/cesium/Workers/{chunk-PFQBCKBM.js → chunk-X67EJ6X6.js} +4398 -2722
- package/dist/assets/cesium/Workers/{chunk-V3NGATMV.js → chunk-XGI4FRXF.js} +11 -13
- package/dist/assets/cesium/Workers/{chunk-AHKEZ2OE.js → chunk-YFVI4SQI.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-HARLBUOL.js → chunk-YFYPR4MW.js} +11 -8
- package/dist/assets/cesium/Workers/combineGeometry.js +22 -23
- package/dist/assets/cesium/Workers/createBoxGeometry.js +16 -17
- package/dist/assets/cesium/Workers/createBoxOutlineGeometry.js +14 -15
- package/dist/assets/cesium/Workers/createCircleGeometry.js +29 -26
- package/dist/assets/cesium/Workers/createCircleOutlineGeometry.js +17 -18
- package/dist/assets/cesium/Workers/createCoplanarPolygonGeometry.js +35 -36
- package/dist/assets/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +29 -30
- package/dist/assets/cesium/Workers/createCorridorGeometry.js +29 -30
- package/dist/assets/cesium/Workers/createCorridorOutlineGeometry.js +27 -28
- package/dist/assets/cesium/Workers/createCylinderGeometry.js +18 -19
- package/dist/assets/cesium/Workers/createCylinderOutlineGeometry.js +17 -19
- package/dist/assets/cesium/Workers/createEllipseGeometry.js +24 -25
- package/dist/assets/cesium/Workers/createEllipseOutlineGeometry.js +17 -18
- package/dist/assets/cesium/Workers/createEllipsoidGeometry.js +17 -18
- package/dist/assets/cesium/Workers/createEllipsoidOutlineGeometry.js +16 -17
- package/dist/assets/cesium/Workers/createFrustumGeometry.js +16 -17
- package/dist/assets/cesium/Workers/createFrustumOutlineGeometry.js +18 -18
- package/dist/assets/cesium/Workers/createGeometry.js +52 -33
- package/dist/assets/cesium/Workers/createGroundPolylineGeometry.js +28 -29
- package/dist/assets/cesium/Workers/createPlaneGeometry.js +14 -15
- package/dist/assets/cesium/Workers/createPlaneOutlineGeometry.js +13 -14
- package/dist/assets/cesium/Workers/createPolygonGeometry.js +451 -176
- package/dist/assets/cesium/Workers/createPolygonOutlineGeometry.js +29 -30
- package/dist/assets/cesium/Workers/createPolylineGeometry.js +24 -25
- package/dist/assets/cesium/Workers/createPolylineVolumeGeometry.js +31 -33
- package/dist/assets/cesium/Workers/createPolylineVolumeOutlineGeometry.js +27 -29
- package/dist/assets/cesium/Workers/createRectangleGeometry.js +30 -31
- package/dist/assets/cesium/Workers/createRectangleOutlineGeometry.js +21 -24
- package/dist/assets/cesium/Workers/createSimplePolylineGeometry.js +22 -23
- package/dist/assets/cesium/Workers/createSphereGeometry.js +17 -18
- package/dist/assets/cesium/Workers/createSphereOutlineGeometry.js +16 -17
- package/dist/assets/cesium/Workers/createTaskProcessorWorker.js +3 -3
- package/dist/assets/cesium/Workers/createVectorTileClampedPolylines.js +14 -16
- package/dist/assets/cesium/Workers/createVectorTileGeometries.js +22 -23
- package/dist/assets/cesium/Workers/createVectorTilePoints.js +12 -12
- package/dist/assets/cesium/Workers/createVectorTilePolygons.js +20 -21
- package/dist/assets/cesium/Workers/createVectorTilePolylines.js +14 -16
- package/dist/assets/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +24 -25
- package/dist/assets/cesium/Workers/createVerticesFromHeightmap.js +25 -26
- package/dist/assets/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +19 -21
- package/dist/assets/cesium/Workers/createWallGeometry.js +23 -24
- package/dist/assets/cesium/Workers/createWallOutlineGeometry.js +22 -23
- package/dist/assets/cesium/Workers/decodeDraco.js +11 -11
- package/dist/assets/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +12 -19
- package/dist/assets/cesium/Workers/decodeI3S.js +600 -92
- package/dist/assets/cesium/Workers/transcodeKTX2.js +46 -82
- package/dist/assets/cesium/Workers/transferTypedArrayTest.js +1 -1
- package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +21 -22
- package/dist/assets/{cesium.7b7975.js → cesium.0b750d.js} +150319 -144832
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.2823d9.js → core.cbf44a.js} +2810 -2749
- package/dist/assets/core.js +1 -1
- package/dist/assets/index-8eGauqjA.js +1 -0
- package/dist/assets/{ol.f4bb15.js → ol.86e93c.js} +19259 -19196
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui.7c276c.css +1 -0
- package/dist/assets/ui.7c276c.js +35158 -0
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.a3cd64.js +6096 -0
- package/dist/assets/vue.js +1 -5
- package/dist/assets/vuetify.4d18fe.css +5 -0
- package/dist/assets/vuetify.4d18fe.js +24605 -0
- package/dist/assets/vuetify.js +1 -5
- package/dist/index.html +1 -2
- package/index.d.ts +27 -9
- package/index.js +12 -29
- package/lib/vue.js +0 -1
- package/lib/vuetify.js +1 -2
- package/lib/vuetifyLib.js +6 -0
- package/package.json +29 -19
- package/plugins/@vcmap-show-case/buttons-example/package.json +2 -2
- package/plugins/@vcmap-show-case/buttons-example/src/ButtonsExample.vue +57 -61
- package/plugins/@vcmap-show-case/buttons-example/src/index.js +1 -1
- package/plugins/@vcmap-show-case/category-tester/package.json +2 -2
- package/plugins/@vcmap-show-case/category-tester/src/CategoriesExample.vue +12 -6
- package/plugins/@vcmap-show-case/category-tester/src/CollectionComponentOptions.vue +4 -4
- package/plugins/@vcmap-show-case/category-tester/src/FoobarEditor.vue +4 -4
- package/plugins/@vcmap-show-case/collection-manager-example/src/CollectionManagerExample.vue +11 -7
- package/plugins/@vcmap-show-case/config-editor/src/ConfigEditor.vue +2 -2
- package/plugins/@vcmap-show-case/extent-example/README.md +1 -1
- package/plugins/@vcmap-show-case/extent-example/src/index.js +11 -20
- package/plugins/@vcmap-show-case/flight-component-example/src/FlightExample.vue +3 -3
- package/plugins/@vcmap-show-case/form-inputs-example/src/FormInputsExample.vue +122 -169
- package/plugins/@vcmap-show-case/form-inputs-example/src/index.js +7 -8
- package/plugins/@vcmap-show-case/hello-world/src/helloWorld.vue +1 -1
- package/plugins/@vcmap-show-case/icons-example/src/AllIconsComponent.vue +1 -1
- package/plugins/@vcmap-show-case/list-example/src/ListExample.vue +47 -80
- package/plugins/@vcmap-show-case/notifier-tester/src/NotifierTester.vue +4 -6
- package/plugins/@vcmap-show-case/panel-tester/src/PanelExample.vue +3 -4
- package/plugins/@vcmap-show-case/project-selector/src/ModulesListComponent.vue +3 -7
- package/plugins/@vcmap-show-case/project-selector/src/ProjectSelectorComponent.vue +10 -16
- package/plugins/@vcmap-show-case/search-example/package.json +5 -0
- package/plugins/@vcmap-show-case/search-example/src/index.js +75 -0
- package/plugins/@vcmap-show-case/search-example/src/searchImpl.js +99 -0
- package/plugins/@vcmap-show-case/simple-graph/src/SimpleGraphComponent.vue +1 -1
- package/plugins/@vcmap-show-case/style-input-example/src/StyleExample.vue +1 -1
- package/plugins/@vcmap-show-case/table-example/src/DataTableExample.vue +32 -16
- package/plugins/@vcmap-show-case/textfields-example/src/TextfieldsExample.vue +7 -1
- package/plugins/@vcmap-show-case/theme-changer/src/ThemeChangerComponent.vue +3 -3
- package/plugins/@vcmap-show-case/theme-changer/src/index.js +2 -2
- package/plugins/@vcmap-show-case/toolbox-example/src/TriStateExampleWindow.vue +1 -1
- package/plugins/@vcmap-show-case/vector-properties-example/src/VectorPropertiesExample.vue +36 -11
- package/plugins/@vcmap-show-case/viewpoint-component-example/src/ViewpointExample.vue +4 -4
- package/plugins/@vcmap-show-case/window-tester/src/BrokenWindow.vue +17 -0
- package/plugins/@vcmap-show-case/window-tester/src/EmptyComponent.vue +1 -1
- package/plugins/@vcmap-show-case/window-tester/src/WindowExample.vue +10 -0
- package/plugins/@vcmap-show-case/window-tester/src/WindowExampleContent.vue +1 -1
- package/plugins/@vcmap-show-case/window-tester/src/WindowExampleToggleChild.vue +1 -1
- package/plugins/@vcmap-show-case/wizard-example/src/WizardExample.vue +40 -54
- package/src/actions/StyleSelector.vue +4 -34
- package/src/actions/StyleSelector.vue.d.ts +6 -4
- package/src/actions/actionHelper.js +6 -6
- package/src/actions/extentActions.d.ts +1 -2
- package/src/actions/extentActions.js +19 -8
- package/src/actions/flightActions.js +8 -8
- package/src/actions/listActions.d.ts +2 -2
- package/src/actions/listActions.js +3 -3
- package/src/actions/stateRefAction.js +3 -3
- package/src/application/VcsApp.vue +20 -30
- package/src/application/VcsApp.vue.d.ts +6 -6
- package/src/application/VcsAppWrapper.vue +1 -1
- package/src/application/VcsAppWrapper.vue.d.ts +2 -2
- package/src/application/VcsAttributions.vue +14 -18
- package/src/application/VcsAttributions.vue.d.ts +7 -7
- package/src/application/VcsAttributionsFooter.vue +1 -1
- package/src/application/VcsAttributionsFooter.vue.d.ts +2 -2
- package/src/application/VcsContainer.vue +13 -7
- package/src/application/VcsContainer.vue.d.ts +3 -2
- package/src/application/VcsCustomScreen.vue +5 -5
- package/src/application/VcsCustomScreen.vue.d.ts +3 -3
- package/src/application/VcsMainMap.vue +4 -1
- package/src/application/VcsMainMap.vue.d.ts +1 -1
- package/src/application/VcsMap.vue +21 -23
- package/src/application/VcsMap.vue.d.ts +2 -2
- package/src/application/VcsNavbar.vue +60 -56
- package/src/application/VcsNavbar.vue.d.ts +11 -8
- package/src/application/VcsPositionDisplay.vue +33 -46
- package/src/application/VcsPositionDisplay.vue.d.ts +3 -3
- package/src/application/VcsSettings.vue +19 -7
- package/src/application/VcsSettings.vue.d.ts +2 -1
- package/src/application/VcsSplashScreen.vue +19 -23
- package/src/application/VcsSplashScreen.vue.d.ts +7 -7
- package/src/application/VcsTextPage.vue +5 -5
- package/src/application/VcsTextPage.vue.d.ts +5 -5
- package/src/application/VcsTextPageFooter.vue +4 -4
- package/src/application/VcsTextPageFooter.vue.d.ts +2 -2
- package/src/application/attributionsHelper.d.ts +2 -2
- package/src/application/attributionsHelper.js +9 -9
- package/src/application/markdownHelper.js +2 -17
- package/src/components/ImageElementInjector.vue.d.ts +2 -2
- package/src/components/attrsHelpers.d.ts +5 -0
- package/src/components/attrsHelpers.js +14 -0
- package/src/components/buttons/VcsActionButtonList.vue +6 -23
- package/src/components/buttons/VcsActionButtonList.vue.d.ts +3 -12
- package/src/components/buttons/VcsButton.vue +79 -90
- package/src/components/buttons/VcsButton.vue.d.ts +19 -34
- package/src/components/buttons/VcsFormButton.vue +77 -125
- package/src/components/buttons/VcsFormButton.vue.d.ts +10 -43
- package/src/components/buttons/VcsToolButton.vue +91 -94
- package/src/components/buttons/VcsToolButton.vue.d.ts +21 -28
- package/src/components/composables.d.ts +21 -0
- package/src/components/composables.js +65 -0
- package/src/components/{form-inputs-controls → extent}/VcsExtent.vue +22 -18
- package/src/components/{form-inputs-controls → extent}/VcsExtent.vue.d.ts +10 -7
- package/src/components/extent/VcsExtentEditor.vue +79 -0
- package/src/components/extent/VcsExtentEditor.vue.d.ts +37 -0
- package/src/components/flight/VcsFlightAnchorsComponent.vue +7 -2
- package/src/components/flight/VcsFlightAnchorsComponent.vue.d.ts +6 -6
- package/src/components/flight/VcsFlightComponent.vue +2 -1
- package/src/components/flight/VcsFlightComponent.vue.d.ts +4 -4
- package/src/components/flight/VcsFlightEditor.vue.d.ts +2 -2
- package/src/components/flight/VcsFlightPlayer.vue +2 -3
- package/src/components/flight/VcsFlightPlayer.vue.d.ts +3 -3
- package/src/components/form-inputs-controls/VcsCheckbox.vue +62 -82
- package/src/components/form-inputs-controls/VcsCheckbox.vue.d.ts +14 -4
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue +128 -117
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue.d.ts +17 -21
- package/src/components/form-inputs-controls/VcsCoordinate.vue +31 -41
- package/src/components/form-inputs-controls/VcsCoordinate.vue.d.ts +10 -11
- package/src/components/form-inputs-controls/VcsDatePicker.vue +39 -72
- package/src/components/form-inputs-controls/VcsDatePicker.vue.d.ts +75 -13
- package/src/components/form-inputs-controls/VcsFileInput.vue +100 -0
- package/src/components/form-inputs-controls/VcsFileInput.vue.d.ts +27 -0
- package/src/components/form-inputs-controls/VcsFormSection.vue +12 -12
- package/src/components/form-inputs-controls/VcsFormSection.vue.d.ts +7 -5
- package/src/components/form-inputs-controls/VcsLabel.vue +38 -28
- package/src/components/form-inputs-controls/VcsLabel.vue.d.ts +22 -11
- package/src/components/form-inputs-controls/VcsRadio.vue +80 -104
- package/src/components/form-inputs-controls/VcsRadio.vue.d.ts +35 -9
- package/src/components/form-inputs-controls/VcsSelect.vue +166 -156
- package/src/components/form-inputs-controls/VcsSelect.vue.d.ts +36 -9
- package/src/components/form-inputs-controls/VcsSlider.vue +97 -52
- package/src/components/form-inputs-controls/VcsSlider.vue.d.ts +29 -1
- package/src/components/form-inputs-controls/VcsTextArea.vue +141 -144
- package/src/components/form-inputs-controls/VcsTextArea.vue.d.ts +13 -10
- package/src/components/form-inputs-controls/VcsTextField.vue +100 -278
- package/src/components/form-inputs-controls/VcsTextField.vue.d.ts +34 -32
- package/src/components/form-inputs-controls/VcsWizard.vue +88 -117
- package/src/components/form-inputs-controls/VcsWizard.vue.d.ts +3 -13
- package/src/components/form-inputs-controls/VcsWizardStep.vue +77 -59
- package/src/components/form-inputs-controls/VcsWizardStep.vue.d.ts +26 -13
- package/src/components/form-inputs-controls/vcsTextField.scss +83 -0
- package/src/components/form-output/VcsFormattedNumber.vue +42 -33
- package/src/components/form-output/VcsFormattedNumber.vue.d.ts +21 -20
- package/src/components/form-output/VcsMarkdown.vue +53 -0
- package/src/components/form-output/VcsMarkdown.vue.d.ts +16 -0
- package/src/components/icons/+all.js +1 -1
- package/src/components/icons/2DAreaIcon.vue +1 -7
- package/src/components/icons/2DAreaIcon.vue.d.ts +1 -1
- package/src/components/icons/2DDistanceIcon.vue +1 -7
- package/src/components/icons/2DDistanceIcon.vue.d.ts +1 -1
- package/src/components/icons/2DHeightObliqueIcon.vue.d.ts +1 -1
- package/src/components/icons/2DPointIcon.vue +0 -1
- package/src/components/icons/2DPointIcon.vue.d.ts +1 -1
- package/src/components/icons/3DAreaIcon.vue +1 -7
- package/src/components/icons/3DAreaIcon.vue.d.ts +1 -1
- package/src/components/icons/3DDistanceIcon.vue +1 -7
- package/src/components/icons/3DDistanceIcon.vue.d.ts +1 -1
- package/src/components/icons/3DHeightIcon.vue +1 -7
- package/src/components/icons/3DHeightIcon.vue.d.ts +1 -1
- package/src/components/icons/3DPointIcon.vue +0 -1
- package/src/components/icons/3DPointIcon.vue.d.ts +1 -1
- package/src/components/icons/AngleIcon.vue +1 -6
- package/src/components/icons/AngleIcon.vue.d.ts +1 -1
- package/src/components/icons/AssociationsIcon.vue +1 -6
- package/src/components/icons/AssociationsIcon.vue.d.ts +1 -1
- package/src/components/icons/AxisIcon.vue.d.ts +1 -1
- package/src/components/icons/BoundingBoxIcon.vue +1 -6
- package/src/components/icons/BoundingBoxIcon.vue.d.ts +1 -1
- package/src/components/icons/CheckboxCheckedIcon.vue.d.ts +1 -1
- package/src/components/icons/CheckboxIcon.vue +1 -6
- package/src/components/icons/CheckboxIcon.vue.d.ts +1 -1
- package/src/components/icons/CheckboxIndeterminateIcon.vue.d.ts +1 -1
- package/src/components/icons/CircleIcon.vue +1 -6
- package/src/components/icons/CircleIcon.vue.d.ts +1 -1
- package/src/components/icons/ClippingHorizontalIcon.vue +1 -6
- package/src/components/icons/ClippingHorizontalIcon.vue.d.ts +1 -1
- package/src/components/icons/ClippingIcon.vue +1 -6
- package/src/components/icons/ClippingIcon.vue.d.ts +1 -1
- package/src/components/icons/ClippingVerticalIcon.vue +1 -6
- package/src/components/icons/ClippingVerticalIcon.vue.d.ts +1 -1
- package/src/components/icons/ColorPickerIcon.vue +1 -6
- package/src/components/icons/ColorPickerIcon.vue.d.ts +1 -1
- package/src/components/icons/ColorSwatchIcon.vue +1 -7
- package/src/components/icons/ColorSwatchIcon.vue.d.ts +1 -1
- package/src/components/icons/CommentIcon.vue +1 -6
- package/src/components/icons/CommentIcon.vue.d.ts +1 -1
- package/src/components/icons/CompassIcon.vue +1 -13
- package/src/components/icons/CompassIcon.vue.d.ts +1 -1
- package/src/components/icons/ComponentsIcon.vue +1 -6
- package/src/components/icons/ComponentsIcon.vue.d.ts +1 -1
- package/src/components/icons/ComponentsPlusIcon.vue +0 -1
- package/src/components/icons/ComponentsPlusIcon.vue.d.ts +1 -1
- package/src/components/icons/ConeIcon.vue +1 -13
- package/src/components/icons/ConeIcon.vue.d.ts +1 -1
- package/src/components/icons/CrosshairIcon.vue +0 -2
- package/src/components/icons/CrosshairIcon.vue.d.ts +1 -1
- package/src/components/icons/DimensionsHouseIcon.vue +1 -7
- package/src/components/icons/DimensionsHouseIcon.vue.d.ts +1 -1
- package/src/components/icons/EditIcon.vue +1 -6
- package/src/components/icons/EditIcon.vue.d.ts +1 -1
- package/src/components/icons/EditVerticesIcon.vue +1 -6
- package/src/components/icons/EditVerticesIcon.vue.d.ts +1 -1
- package/src/components/icons/ElevationProfileIcon.vue +1 -6
- package/src/components/icons/ElevationProfileIcon.vue.d.ts +1 -1
- package/src/components/icons/ExportAreaIcon.vue +1 -6
- package/src/components/icons/ExportAreaIcon.vue.d.ts +1 -1
- package/src/components/icons/ExportFlightIcon.vue +1 -6
- package/src/components/icons/ExportFlightIcon.vue.d.ts +1 -1
- package/src/components/icons/ExportIcon.vue +1 -13
- package/src/components/icons/ExportIcon.vue.d.ts +1 -1
- package/src/components/icons/ExternalLinkIcon.vue +1 -6
- package/src/components/icons/ExternalLinkIcon.vue.d.ts +1 -1
- package/src/components/icons/EyeIcon.vue +1 -6
- package/src/components/icons/EyeIcon.vue.d.ts +1 -1
- package/src/components/icons/FastForwardIcon.vue +1 -6
- package/src/components/icons/FastForwardIcon.vue.d.ts +1 -1
- package/src/components/icons/FilterIcon.vue +1 -7
- package/src/components/icons/FilterIcon.vue.d.ts +1 -1
- package/src/components/icons/GlobalTerrainIcon.vue +1 -6
- package/src/components/icons/GlobalTerrainIcon.vue.d.ts +1 -1
- package/src/components/icons/GlobeNatureIcon.vue +1 -6
- package/src/components/icons/GlobeNatureIcon.vue.d.ts +1 -1
- package/src/components/icons/GroundIcon.vue +1 -6
- package/src/components/icons/GroundIcon.vue.d.ts +1 -1
- package/src/components/icons/HealthCareIndustriesIcon.vue +1 -6
- package/src/components/icons/HealthCareIndustriesIcon.vue.d.ts +1 -1
- package/src/components/icons/HelpIcon.vue +1 -6
- package/src/components/icons/HelpIcon.vue.d.ts +1 -1
- package/src/components/icons/HideIcon.vue +1 -6
- package/src/components/icons/HideIcon.vue.d.ts +1 -1
- package/src/components/icons/HomePointIcon.vue +1 -6
- package/src/components/icons/HomePointIcon.vue.d.ts +1 -1
- package/src/components/icons/HospitalsIcon.vue +1 -6
- package/src/components/icons/HospitalsIcon.vue.d.ts +1 -1
- package/src/components/icons/HouseIcon.vue +1 -6
- package/src/components/icons/HouseIcon.vue.d.ts +1 -1
- package/src/components/icons/ImportIcon.vue +1 -7
- package/src/components/icons/ImportIcon.vue.d.ts +1 -1
- package/src/components/icons/InfoIcon.vue +1 -6
- package/src/components/icons/InfoIcon.vue.d.ts +1 -1
- package/src/components/icons/KebabIcon.vue +1 -7
- package/src/components/icons/KebabIcon.vue.d.ts +1 -1
- package/src/components/icons/LabelIcon.vue +1 -13
- package/src/components/icons/LabelIcon.vue.d.ts +1 -1
- package/src/components/icons/LayersIcon.vue +1 -7
- package/src/components/icons/LayersIcon.vue.d.ts +1 -1
- package/src/components/icons/LegendIcon.vue +1 -6
- package/src/components/icons/LegendIcon.vue.d.ts +1 -1
- package/src/components/icons/LineIcon.vue +1 -13
- package/src/components/icons/LineIcon.vue.d.ts +1 -1
- package/src/components/icons/LinkIcon.vue +1 -6
- package/src/components/icons/LinkIcon.vue.d.ts +1 -1
- package/src/components/icons/LogoutIcon.vue +1 -6
- package/src/components/icons/LogoutIcon.vue.d.ts +1 -1
- package/src/components/icons/MapIcon.vue +1 -7
- package/src/components/icons/MapIcon.vue.d.ts +1 -1
- package/src/components/icons/MenuIcon.vue +1 -7
- package/src/components/icons/MenuIcon.vue.d.ts +1 -1
- package/src/components/icons/MinusIcon.vue +1 -7
- package/src/components/icons/MinusIcon.vue.d.ts +1 -1
- package/src/components/icons/MultiViewIcon.vue +1 -7
- package/src/components/icons/MultiViewIcon.vue.d.ts +1 -1
- package/src/components/icons/ObjectAttributeIcon.vue +1 -7
- package/src/components/icons/ObjectAttributeIcon.vue.d.ts +1 -1
- package/src/components/icons/ObjectSelectIcon.vue +1 -7
- package/src/components/icons/ObjectSelectIcon.vue.d.ts +1 -1
- package/src/components/icons/ObliqueViewIcon.vue +1 -7
- package/src/components/icons/ObliqueViewIcon.vue.d.ts +1 -1
- package/src/components/icons/PdfIcon.vue +1 -7
- package/src/components/icons/PdfIcon.vue.d.ts +1 -1
- package/src/components/icons/PedestrianIcon.vue +1 -6
- package/src/components/icons/PedestrianIcon.vue.d.ts +1 -1
- package/src/components/icons/PenIcon.vue +1 -6
- package/src/components/icons/PenIcon.vue.d.ts +1 -1
- package/src/components/icons/PlayCircleIcon.vue +1 -6
- package/src/components/icons/PlayCircleIcon.vue.d.ts +1 -1
- package/src/components/icons/PlusIcon.vue +1 -7
- package/src/components/icons/PlusIcon.vue.d.ts +1 -1
- package/src/components/icons/PoiIcon.vue +1 -6
- package/src/components/icons/PoiIcon.vue.d.ts +1 -1
- package/src/components/icons/PointIcon.vue +1 -7
- package/src/components/icons/PointIcon.vue.d.ts +1 -1
- package/src/components/icons/PointMeasurementIcon.vue.d.ts +1 -1
- package/src/components/icons/PointSelectIcon.vue +1 -6
- package/src/components/icons/PointSelectIcon.vue.d.ts +1 -1
- package/src/components/icons/PresentationModeIcon.vue +1 -6
- package/src/components/icons/PresentationModeIcon.vue.d.ts +1 -1
- package/src/components/icons/ProgressIcon.vue +0 -1
- package/src/components/icons/ProgressIcon.vue.d.ts +1 -1
- package/src/components/icons/QueryIcon.vue +1 -6
- package/src/components/icons/QueryIcon.vue.d.ts +1 -1
- package/src/components/icons/RectangleIcon.vue +1 -13
- package/src/components/icons/RectangleIcon.vue.d.ts +1 -1
- package/src/components/icons/ReturnIcon.vue +1 -6
- package/src/components/icons/ReturnIcon.vue.d.ts +1 -1
- package/src/components/icons/RewindIcon.vue +1 -6
- package/src/components/icons/RewindIcon.vue.d.ts +1 -1
- package/src/components/icons/RotateLeftIcon.vue +1 -6
- package/src/components/icons/RotateLeftIcon.vue.d.ts +1 -1
- package/src/components/icons/RotateRightIcon.vue +1 -6
- package/src/components/icons/RotateRightIcon.vue.d.ts +1 -1
- package/src/components/icons/ScreenshotIcon.vue +1 -6
- package/src/components/icons/ScreenshotIcon.vue.d.ts +1 -1
- package/src/components/icons/SearchIcon.vue +1 -6
- package/src/components/icons/SearchIcon.vue.d.ts +1 -1
- package/src/components/icons/ShadowIcon.vue +1 -7
- package/src/components/icons/ShadowIcon.vue.d.ts +1 -1
- package/src/components/icons/ShapesIcon.vue +1 -6
- package/src/components/icons/ShapesIcon.vue.d.ts +1 -1
- package/src/components/icons/ShareIcon.vue +1 -6
- package/src/components/icons/ShareIcon.vue.d.ts +1 -1
- package/src/components/icons/SimpleCircleFilledIcon.vue +1 -6
- package/src/components/icons/SimpleCircleFilledIcon.vue.d.ts +1 -1
- package/src/components/icons/SimpleCircleHalfFilledIcon.vue +1 -6
- package/src/components/icons/SimpleCircleHalfFilledIcon.vue.d.ts +1 -1
- package/src/components/icons/SimpleCircleOutlinedIcon.vue +1 -6
- package/src/components/icons/SimpleCircleOutlinedIcon.vue.d.ts +1 -1
- package/src/components/icons/SkipNextIcon.vue +1 -6
- package/src/components/icons/SkipNextIcon.vue.d.ts +1 -1
- package/src/components/icons/SkipPreviousIcon.vue +1 -6
- package/src/components/icons/SkipPreviousIcon.vue.d.ts +1 -1
- package/src/components/icons/SplitViewIcon.vue +1 -6
- package/src/components/icons/SplitViewIcon.vue.d.ts +1 -1
- package/src/components/icons/TerrainBoxIcon.vue +1 -6
- package/src/components/icons/TerrainBoxIcon.vue.d.ts +1 -1
- package/src/components/icons/TextStyleIcon.vue +1 -7
- package/src/components/icons/TextStyleIcon.vue.d.ts +1 -1
- package/src/components/icons/ThreeDimensionsIcon.vue +1 -6
- package/src/components/icons/ThreeDimensionsIcon.vue.d.ts +1 -1
- package/src/components/icons/ToolsIcon.vue +1 -7
- package/src/components/icons/ToolsIcon.vue.d.ts +1 -1
- package/src/components/icons/TouchIcon.vue +1 -7
- package/src/components/icons/TouchIcon.vue.d.ts +1 -1
- package/src/components/icons/TransparentTerrainIcon.vue +0 -1
- package/src/components/icons/TransparentTerrainIcon.vue.d.ts +1 -1
- package/src/components/icons/TrashCanIcon.vue +1 -7
- package/src/components/icons/TrashCanIcon.vue.d.ts +1 -1
- package/src/components/icons/TriangleIcon.vue +1 -6
- package/src/components/icons/TriangleIcon.vue.d.ts +1 -1
- package/src/components/icons/TwoDimensionsIcon.vue +1 -7
- package/src/components/icons/TwoDimensionsIcon.vue.d.ts +1 -1
- package/src/components/icons/UploadIcon.vue +1 -6
- package/src/components/icons/UploadIcon.vue.d.ts +1 -1
- package/src/components/icons/UserProfileIcon.vue +1 -7
- package/src/components/icons/UserProfileIcon.vue.d.ts +1 -1
- package/src/components/icons/UserShareIcon.vue +1 -6
- package/src/components/icons/UserShareIcon.vue.d.ts +1 -1
- package/src/components/icons/VideoRecorderIcon.vue +1 -6
- package/src/components/icons/VideoRecorderIcon.vue.d.ts +1 -1
- package/src/components/icons/ViewpointFlightIcon.vue +1 -6
- package/src/components/icons/ViewpointFlightIcon.vue.d.ts +1 -1
- package/src/components/icons/ViewpointIcon.vue +1 -6
- package/src/components/icons/ViewpointIcon.vue.d.ts +1 -1
- package/src/components/icons/Viewshed360Icon.vue +1 -7
- package/src/components/icons/Viewshed360Icon.vue.d.ts +1 -1
- package/src/components/icons/ViewshedConeIcon.vue +1 -7
- package/src/components/icons/ViewshedConeIcon.vue.d.ts +1 -1
- package/src/components/icons/ViewshedIcon.vue +1 -7
- package/src/components/icons/ViewshedIcon.vue.d.ts +1 -1
- package/src/components/icons/WalkingIcon.vue +1 -6
- package/src/components/icons/WalkingIcon.vue.d.ts +1 -1
- package/src/components/icons/WallIcon.vue +1 -6
- package/src/components/icons/WallIcon.vue.d.ts +1 -1
- package/src/components/icons/WandIcon.vue +1 -6
- package/src/components/icons/WandIcon.vue.d.ts +1 -1
- package/src/components/import/{FileDrop.vue → VcsFileDrop.vue} +21 -10
- package/src/components/import/VcsFileDrop.vue.d.ts +37 -0
- package/src/components/import/{ImportComponent.vue → VcsImportComponent.vue} +24 -12
- package/src/components/import/{ImportComponent.vue.d.ts → VcsImportComponent.vue.d.ts} +6 -3
- package/src/components/lists/VcsActionList.vue +41 -37
- package/src/components/lists/VcsActionList.vue.d.ts +5 -3
- package/src/components/lists/VcsList.vue +138 -200
- package/src/components/lists/VcsList.vue.d.ts +24 -27
- package/src/components/lists/VcsListItem.vue +154 -0
- package/src/components/lists/VcsListItem.vue.d.ts +21 -0
- package/src/components/lists/VcsTreeview.vue +56 -43
- package/src/components/lists/VcsTreeview.vue.d.ts +3 -5
- package/src/components/lists/VcsTreeviewLeaf.vue +76 -75
- package/src/components/lists/VcsTreeviewLeaf.vue.d.ts +5 -17
- package/src/components/lists/VcsTreeviewSearchbar.vue +39 -83
- package/src/components/lists/VcsTreeviewSearchbar.vue.d.ts +2 -20
- package/src/components/modelHelper.d.ts +36 -0
- package/src/components/modelHelper.js +128 -0
- package/src/components/notification/VcsBadge.vue +8 -6
- package/src/components/notification/VcsBadge.vue.d.ts +2 -2
- package/src/components/notification/VcsHelp.vue +19 -14
- package/src/components/notification/VcsHelp.vue.d.ts +2 -2
- package/src/components/notification/VcsTooltip.vue +4 -8
- package/src/components/notification/VcsTooltip.vue.d.ts +3 -3
- package/src/components/plugins/AbstractConfigEditor.vue +5 -5
- package/src/components/plugins/AbstractConfigEditor.vue.d.ts +2 -2
- package/src/components/style/MenuWrapper.vue +10 -11
- package/src/components/style/MenuWrapper.vue.d.ts +5 -5
- package/src/components/style/VcsFeatureStyleComponent.vue +1 -1
- package/src/components/style/VcsFeatureStyleComponent.vue.d.ts +7 -7
- package/src/components/style/VcsFillMenu.vue +5 -6
- package/src/components/style/VcsFillMenu.vue.d.ts +5 -5
- package/src/components/style/VcsFillSelector.vue +6 -7
- package/src/components/style/VcsFillSelector.vue.d.ts +5 -5
- package/src/components/style/VcsImageMenu.vue +13 -9
- package/src/components/style/VcsImageMenu.vue.d.ts +5 -5
- package/src/components/style/VcsImageSelector.vue +36 -32
- package/src/components/style/VcsImageSelector.vue.d.ts +11 -11
- package/src/components/style/VcsStrokeMenu.vue +6 -7
- package/src/components/style/VcsStrokeMenu.vue.d.ts +5 -5
- package/src/components/style/VcsStrokeSelector.vue +19 -13
- package/src/components/style/VcsStrokeSelector.vue.d.ts +5 -5
- package/src/components/style/VcsTextMenu.vue +9 -8
- package/src/components/style/VcsTextMenu.vue.d.ts +5 -5
- package/src/components/style/VcsTextSelector.vue +14 -11
- package/src/components/style/VcsTextSelector.vue.d.ts +10 -10
- package/src/components/style/VcsVectorStyleComponent.vue +4 -4
- package/src/components/style/VcsVectorStyleComponent.vue.d.ts +8 -8
- package/src/components/style/composables.js +4 -1
- package/src/components/tables/VcsDataTable.vue +152 -207
- package/src/components/tables/VcsDataTable.vue.d.ts +10 -36
- package/src/components/tables/VcsTable.vue +13 -18
- package/src/components/tables/VcsTable.vue.d.ts +4 -4
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue +15 -7
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue.d.ts +7 -7
- package/src/components/vector-properties/VcsFeatureTransforms.vue +5 -1
- package/src/components/vector-properties/VcsFeatureTransforms.vue.d.ts +2 -2
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +476 -580
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue.d.ts +199 -28
- package/src/components/viewpoint/VcsViewpointComponent.vue +56 -104
- package/src/components/viewpoint/VcsViewpointComponent.vue.d.ts +14 -22
- package/src/components/viewpoint/VcsViewpointEditor.vue +2 -5
- package/src/components/viewpoint/VcsViewpointEditor.vue.d.ts +3 -3
- package/src/contentTree/LayerTree.vue +31 -10
- package/src/contentTree/LayerTree.vue.d.ts +3 -3
- package/src/contentTree/contentTreeCollection.d.ts +2 -2
- package/src/contentTree/contentTreeCollection.js +6 -8
- package/src/contentTree/contentTreeItem.d.ts +11 -11
- package/src/contentTree/contentTreeItem.js +8 -7
- package/src/contentTree/flightContentTreeItem.js +5 -4
- package/src/contentTree/viewpointContentTreeItem.d.ts +1 -1
- package/src/featureInfo/AddressBalloonComponent.vue +24 -26
- package/src/featureInfo/AddressBalloonComponent.vue.d.ts +1 -1
- package/src/featureInfo/BalloonComponent.vue +21 -29
- package/src/featureInfo/BalloonComponent.vue.d.ts +2 -2
- package/src/featureInfo/IframeComponent.vue.d.ts +2 -2
- package/src/featureInfo/MarkdownBalloonComponent.vue.d.ts +2 -2
- package/src/featureInfo/MarkdownComponent.vue +16 -0
- package/src/featureInfo/MarkdownComponent.vue.d.ts +7 -0
- package/src/featureInfo/abstractFeatureInfoView.d.ts +5 -5
- package/src/featureInfo/abstractFeatureInfoView.js +2 -2
- package/src/featureInfo/balloonFeatureInfoView.d.ts +2 -2
- package/src/featureInfo/balloonFeatureInfoView.js +1 -1
- package/src/featureInfo/featureInfo.js +2 -2
- package/src/featureInfo/markdownFeatureInfoView.js +1 -15
- package/src/i18n/de.d.ts +105 -0
- package/src/i18n/de.js +14 -5
- package/src/i18n/en.d.ts +105 -0
- package/src/i18n/en.js +14 -5
- package/src/init.js +10 -12
- package/src/legend/StyleLegendItem.vue +32 -28
- package/src/legend/StyleLegendItem.vue.d.ts +3 -2
- package/src/legend/VcsLegend.vue +19 -20
- package/src/legend/VcsLegend.vue.d.ts +8 -6
- package/src/legend/legendHelper.d.ts +2 -2
- package/src/legend/legendHelper.js +9 -8
- package/src/manager/buttonManager.d.ts +2 -2
- package/src/manager/buttonManager.js +6 -4
- package/src/manager/collectionManager/CollectionComponent.vue +30 -26
- package/src/manager/collectionManager/CollectionComponent.vue.d.ts +14 -2
- package/src/manager/collectionManager/CollectionComponentContent.vue +9 -11
- package/src/manager/collectionManager/CollectionComponentContent.vue.d.ts +1 -1
- package/src/manager/collectionManager/CollectionComponentList.vue +3 -3
- package/src/manager/collectionManager/CollectionComponentList.vue.d.ts +2 -2
- package/src/manager/collectionManager/CollectionComponentProvider.vue +1 -1
- package/src/manager/collectionManager/CollectionComponentProvider.vue.d.ts +2 -2
- package/src/manager/collectionManager/CollectionComponentStandalone.vue +1 -1
- package/src/manager/collectionManager/CollectionComponentStandalone.vue.d.ts +1 -1
- package/src/manager/collectionManager/CollectionManager.vue +11 -9
- package/src/manager/collectionManager/CollectionManager.vue.d.ts +1 -1
- package/src/manager/collectionManager/categoryManager.d.ts +2 -2
- package/src/manager/collectionManager/collectionComponentClass.d.ts +6 -6
- package/src/manager/collectionManager/collectionComponentClass.js +4 -8
- package/src/manager/collectionManager/collectionManager.d.ts +5 -4
- package/src/manager/collectionManager/collectionManager.js +4 -2
- package/src/manager/collectionManager/editorCollectionComponentClass.d.ts +1 -1
- package/src/manager/contextMenu/ContextMenuComponent.vue.d.ts +2 -2
- package/src/manager/panel/PanelComponent.vue.d.ts +2 -2
- package/src/manager/panel/PanelManagerComponent.vue +7 -5
- package/src/manager/panel/PanelManagerComponent.vue.d.ts +4 -4
- package/src/manager/panel/panelManager.d.ts +6 -6
- package/src/manager/panel/panelManager.js +4 -4
- package/src/manager/toolbox/GroupToolboxComponent.vue +10 -34
- package/src/manager/toolbox/GroupToolboxComponent.vue.d.ts +3 -4
- package/src/manager/toolbox/SelectToolboxComponent.vue +12 -58
- package/src/manager/toolbox/SelectToolboxComponent.vue.d.ts +2 -3
- package/src/manager/toolbox/ToolboxManager.vue +12 -38
- package/src/manager/toolbox/ToolboxManager.vue.d.ts +3 -2
- package/src/manager/toolbox/toolboxManager.d.ts +3 -3
- package/src/manager/toolbox/toolboxManager.js +2 -3
- package/src/manager/window/WindowComponent.vue +3 -2
- package/src/manager/window/WindowComponent.vue.d.ts +2 -2
- package/src/manager/window/WindowComponentHeader.vue +8 -4
- package/src/manager/window/WindowComponentHeader.vue.d.ts +3 -3
- package/src/manager/window/WindowManager.vue +4 -9
- package/src/manager/window/WindowManager.vue.d.ts +2 -2
- package/src/manager/window/windowManager.d.ts +52 -46
- package/src/manager/window/windowManager.js +33 -10
- package/src/navigation/MapNavCompass.vue.d.ts +3 -3
- package/src/navigation/MapNavigation.vue +17 -10
- package/src/navigation/MapNavigation.vue.d.ts +6 -3
- package/src/navigation/ObliqueRotation.vue +15 -17
- package/src/navigation/ObliqueRotation.vue.d.ts +5 -5
- package/src/navigation/OrientationToolsButton.vue +39 -21
- package/src/navigation/OrientationToolsButton.vue.d.ts +6 -2
- package/src/navigation/TiltSlider.vue +87 -95
- package/src/navigation/TiltSlider.vue.d.ts +13 -10
- package/src/navigation/VcsCompass.vue +24 -11
- package/src/navigation/VcsCompass.vue.d.ts +8 -6
- package/src/navigation/VcsZoomButton.vue +12 -14
- package/src/navigation/VcsZoomButton.vue.d.ts +2 -2
- package/src/navigation/locatorHelper.js +1 -1
- package/src/navigation/overviewMap.d.ts +1 -1
- package/src/navigation/overviewMap.js +3 -3
- package/src/notifier/NotifierComponent.vue +18 -21
- package/src/notifier/NotifierComponent.vue.d.ts +1 -1
- package/src/notifier/notifier.d.ts +2 -1
- package/src/notifier/notifier.js +6 -2
- package/src/search/ResultItem.vue +14 -13
- package/src/search/ResultItem.vue.d.ts +2 -2
- package/src/search/ResultsComponent.vue +13 -24
- package/src/search/ResultsComponent.vue.d.ts +2 -2
- package/src/search/SearchComponent.vue +16 -15
- package/src/search/SearchComponent.vue.d.ts +2 -2
- package/src/search/search.d.ts +2 -2
- package/src/search/search.js +6 -10
- package/src/setup.js +2 -2
- package/src/styles/_typography.scss +12 -7
- package/src/styles/main.scss +6 -3
- package/src/styles/settings.scss +6 -0
- package/src/styles/variables.scss +10 -8
- package/src/styles/vcsGrid.scss +0 -10
- package/src/styles/vcsList.scss +8 -0
- package/src/vcsUiApp.d.ts +127 -26
- package/src/vcsUiApp.js +63 -27
- package/src/vuePlugins/i18n.d.ts +8 -2
- package/src/vuePlugins/i18n.js +39 -11
- package/src/vuePlugins/vuetify.d.ts +79 -9
- package/src/vuePlugins/vuetify.js +177 -68
- package/dist/assets/cesium/Workers/chunk-DUHWWBQQ.js +0 -3273
- package/dist/assets/cesium/Workers/chunk-QJ3DFBH3.js +0 -73
- package/dist/assets/index-7043a93a.js +0 -1
- package/dist/assets/ui.ce88d9.css +0 -5
- package/dist/assets/ui.ce88d9.js +0 -23835
- package/dist/assets/vue.808297.js +0 -4920
- package/dist/assets/vuetify.01ade4.css +0 -5
- package/dist/assets/vuetify.01ade4.js +0 -21263
- package/plugins/@vcmap-show-case/extent-example/src/ExtentExample.vue +0 -71
- package/src/components/form-inputs-controls/VcsRadioGrid.vue +0 -160
- package/src/components/form-inputs-controls/VcsRadioGrid.vue.d.ts +0 -35
- package/src/components/form-inputs-controls/composables.d.ts +0 -7
- package/src/components/form-inputs-controls/composables.js +0 -31
- package/src/components/import/FileDrop.vue.d.ts +0 -26
- package/src/components/vector-properties/composables.d.ts +0 -33
- package/src/components/vector-properties/composables.js +0 -100
- package/src/styles/utils/_all.scss +0 -12
- package/src/styles/utils/_border.scss +0 -7
- package/src/styles/utils/_cursor.scss +0 -19
- package/src/styles/utils/_display.scss +0 -3
- package/src/styles/utils/_fade-in.scss +0 -8
- package/src/styles/utils/_position.scss +0 -38
- package/src/styles/utils/_size.scss +0 -79
- package/src/styles/utils/_slide-in.scss +0 -26
- package/src/styles/utils/_spacing.scss +0 -11
- package/src/styles/utils/_text.scss +0 -30
- package/src/styles/utils/_transform.scss +0 -11
- package/src/styles/utils/_transition.scss +0 -11
- package/src/styles/utils/_z-index.scss +0 -15
@@ -67,9 +67,10 @@ declare class CollectionManager implements ICollectionManager {
|
|
67
67
|
*/
|
68
68
|
removed: VcsEvent<CollectionComponentClass<Object>>;
|
69
69
|
/**
|
70
|
-
*
|
70
|
+
* reactive ordered array of ids,
|
71
|
+
* @type {import("vue").UnwrapRef<string[]>}
|
71
72
|
*/
|
72
|
-
componentIds:
|
73
|
+
componentIds: import("vue").UnwrapRef<string[]>;
|
73
74
|
/**
|
74
75
|
* @type {Map<string, CollectionComponentClass<Object>>}
|
75
76
|
* @private
|
@@ -111,7 +112,7 @@ declare class CollectionManager implements ICollectionManager {
|
|
111
112
|
* @returns {CollectionComponentClass<T>[]}
|
112
113
|
* @template {Object|import("@vcmap/core").VcsObject} T
|
113
114
|
*/
|
114
|
-
getCollection<T extends Object | import("@vcmap/core
|
115
|
+
getCollection<T extends Object | import("@vcmap/core").VcsObject>(collection: Collection<T>): CollectionComponentClass<T>[];
|
115
116
|
/**
|
116
117
|
* adds a collectionComponent
|
117
118
|
* @param {import("./collectionComponentClass.js").CollectionComponentClassOptions<T>} collectionComponentOptions
|
@@ -119,7 +120,7 @@ declare class CollectionManager implements ICollectionManager {
|
|
119
120
|
* @returns {CollectionComponentClass<T>}
|
120
121
|
* @template {Object|import("@vcmap/core").VcsObject} T
|
121
122
|
*/
|
122
|
-
add<T_1 extends Object | import("@vcmap/core
|
123
|
+
add<T_1 extends Object | import("@vcmap/core").VcsObject>(collectionComponentOptions: import("./collectionComponentClass.js").CollectionComponentClassOptions<T_1>, owner: string | symbol): CollectionComponentClass<T_1>;
|
123
124
|
/**
|
124
125
|
* removes a CollectionComponentClass, Component will not be rendered anymore and will be destroyed. Add CollectionComponentClass again
|
125
126
|
* to show the component again
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { VcsEvent, Collection } from '@vcmap/core';
|
2
|
+
import { reactive } from 'vue';
|
2
3
|
import { check, checkMaybe } from '@vcsuite/check';
|
3
4
|
import { validateActions } from '../../components/lists/VcsActionList.vue';
|
4
5
|
import CollectionComponentClass from './collectionComponentClass.js';
|
@@ -58,9 +59,10 @@ class CollectionManager {
|
|
58
59
|
*/
|
59
60
|
this.removed = new VcsEvent();
|
60
61
|
/**
|
61
|
-
*
|
62
|
+
* reactive ordered array of ids,
|
63
|
+
* @type {import("vue").UnwrapRef<string[]>}
|
62
64
|
*/
|
63
|
-
this.componentIds = [];
|
65
|
+
this.componentIds = reactive([]);
|
64
66
|
/**
|
65
67
|
* @type {Map<string, CollectionComponentClass<Object>>}
|
66
68
|
* @private
|
@@ -9,7 +9,7 @@
|
|
9
9
|
* @template {Object|import("@vcmap/core").VcsObject} T
|
10
10
|
* @returns {EditorCollectionComponentClass<T>}
|
11
11
|
*/
|
12
|
-
export function makeEditorCollectionComponentClass<T extends Object | import("@vcmap/core
|
12
|
+
export function makeEditorCollectionComponentClass<T extends Object | import("@vcmap/core").VcsObject>(app: import("../../vcsUiApp.js").default, collectionComponent: CollectionComponentClass<T>, editingOptions: EditingOptions<T>, parentId?: string | undefined): EditorCollectionComponentClass<T>;
|
13
13
|
/**
|
14
14
|
* @typedef {Omit<import("../window/windowManager.js").WindowComponentOptions,"id"|"parentId"|"slot">} EditorWindowComponentOptions
|
15
15
|
*/
|
@@ -9,10 +9,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
9
9
|
};
|
10
10
|
}, {
|
11
11
|
close: () => void;
|
12
|
-
},
|
12
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
13
13
|
actions: {
|
14
14
|
type: ArrayConstructor;
|
15
15
|
required: true;
|
16
16
|
};
|
17
|
-
}>>, {}>;
|
17
|
+
}>>, {}, {}>;
|
18
18
|
export default _default;
|
@@ -10,10 +10,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
10
10
|
isBottom: import("vue").ComputedRef<boolean>;
|
11
11
|
startResize(e: any): void;
|
12
12
|
stopResize(): void;
|
13
|
-
},
|
13
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
14
14
|
panelState: {
|
15
15
|
type: ObjectConstructor;
|
16
16
|
required: true;
|
17
17
|
};
|
18
|
-
}>>, {}>;
|
18
|
+
}>>, {}, {}>;
|
19
19
|
export default _default;
|
@@ -86,7 +86,10 @@
|
|
86
86
|
*/
|
87
87
|
export default {
|
88
88
|
name: 'VcsPanelManager',
|
89
|
-
components: {
|
89
|
+
components: {
|
90
|
+
VcsMainMap,
|
91
|
+
PanelComponent,
|
92
|
+
},
|
90
93
|
setup() {
|
91
94
|
const app = inject('vcsApp');
|
92
95
|
/** @type {PanelManager} */
|
@@ -185,9 +188,8 @@
|
|
185
188
|
}
|
186
189
|
};
|
187
190
|
|
188
|
-
const componentIdRef = ref(componentIds);
|
189
191
|
watch(
|
190
|
-
() => [...
|
192
|
+
() => [...componentIds],
|
191
193
|
() => {
|
192
194
|
updatePanelSizes(
|
193
195
|
panelManager,
|
@@ -200,13 +202,13 @@
|
|
200
202
|
const addMobileClass = computed(() => {
|
201
203
|
return (
|
202
204
|
getCurrentInstance().proxy.$vuetify.breakpoint.xs &&
|
203
|
-
|
205
|
+
componentIds.length > 0
|
204
206
|
);
|
205
207
|
});
|
206
208
|
|
207
209
|
return {
|
208
210
|
mainPanel,
|
209
|
-
componentIds
|
211
|
+
componentIds,
|
210
212
|
getComponent: (id) => panelManager.get(id).component,
|
211
213
|
getPosition,
|
212
214
|
getStyles,
|
@@ -3,7 +3,7 @@
|
|
3
3
|
*/
|
4
4
|
export function createMainPanel(): Partial<import("./panelManager.js").PanelComponent>;
|
5
5
|
declare const _default: import("vue").DefineComponent<{}, {
|
6
|
-
mainPanel: Partial<import("./panelManager.js").PanelComponent>;
|
6
|
+
mainPanel: Partial<import("./panelManager.js", { with: { "resolution-mode": "import" } }).PanelComponent>;
|
7
7
|
componentIds: PanelManager;
|
8
8
|
getComponent: (id: any) => any;
|
9
9
|
getPosition: (panelComponent: import("vue").DefineComponent<{
|
@@ -18,12 +18,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
18
18
|
isBottom: import("vue").ComputedRef<boolean>;
|
19
19
|
startResize(e: any): void;
|
20
20
|
stopResize(): void;
|
21
|
-
},
|
21
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
22
22
|
panelState: {
|
23
23
|
type: ObjectConstructor;
|
24
24
|
required: true;
|
25
25
|
};
|
26
|
-
}>>, {}>) => PanelPosition | null;
|
26
|
+
}>>, {}, {}>) => PanelPosition | null;
|
27
27
|
getStyles: (id: string) => import("vue").ComputedRef<Object>;
|
28
28
|
getState: (id: string) => PanelState;
|
29
29
|
getProps: (id: string) => Object;
|
@@ -32,5 +32,5 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
32
32
|
resizingFunction: () => void;
|
33
33
|
close: (id: any) => void;
|
34
34
|
addMobileClass: import("vue").ComputedRef<any>;
|
35
|
-
}, {}, {}, {}, import("vue
|
35
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
36
36
|
export default _default;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* @typedef {Object} PanelComponentOptions
|
3
3
|
* @property {string} [id] - Optional id, which will be set as HTML container ID. If not provided an uuid will be generated.
|
4
|
-
* @property {import("vue").Component} [component] Optional component to be rendered in the panel.
|
4
|
+
* @property {import("vue").Component<unknown, unknown, unknown>} [component] Optional component to be rendered in the panel.
|
5
5
|
* @property {Partial<PanelState>} [state]
|
6
6
|
* @property {Partial<VerticalPanelPositionOptions|HorizontalPanelPositionOptions>} [position] Will be merged with default position for panel
|
7
7
|
* @property {Object} [props]
|
@@ -19,7 +19,7 @@
|
|
19
19
|
/**
|
20
20
|
* @typedef {Object} PanelComponent
|
21
21
|
* @property {string} id
|
22
|
-
* @property {import("vue").Component} component
|
22
|
+
* @property {import("vue").Component<unknown, unknown, unknown>} component
|
23
23
|
* @property {Partial<PanelState>} state
|
24
24
|
* @property {Object} props
|
25
25
|
* @property {Object} provides
|
@@ -118,7 +118,7 @@ export type PanelComponentOptions = {
|
|
118
118
|
/**
|
119
119
|
* Optional component to be rendered in the panel.
|
120
120
|
*/
|
121
|
-
component?: import("vue").Component<
|
121
|
+
component?: import("vue").Component<unknown, unknown, unknown, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any> | undefined;
|
122
122
|
state?: Partial<PanelState> | undefined;
|
123
123
|
/**
|
124
124
|
* Will be merged with default position for panel
|
@@ -156,7 +156,7 @@ export type PanelState = {
|
|
156
156
|
};
|
157
157
|
export type PanelComponent = {
|
158
158
|
id: string;
|
159
|
-
component: import("vue").Component
|
159
|
+
component: import("vue").Component<unknown, unknown, unknown>;
|
160
160
|
state: Partial<PanelState>;
|
161
161
|
props: Object;
|
162
162
|
provides: Object;
|
@@ -251,9 +251,9 @@ declare class PanelManager implements IPanelManager {
|
|
251
251
|
removed: import("@vcmap/core").VcsEvent<PanelComponent>;
|
252
252
|
/**
|
253
253
|
* reactive ordered array of ids,
|
254
|
-
* @type {
|
254
|
+
* @type {import("vue").UnwrapRef<string[]>}
|
255
255
|
*/
|
256
|
-
componentIds:
|
256
|
+
componentIds: import("vue").UnwrapRef<string[]>;
|
257
257
|
/**
|
258
258
|
* @type {Map<PanelLocation, string>}
|
259
259
|
* @private
|
@@ -79,7 +79,7 @@ export const DefaultPanelPositions = {
|
|
79
79
|
/**
|
80
80
|
* @typedef {Object} PanelComponentOptions
|
81
81
|
* @property {string} [id] - Optional id, which will be set as HTML container ID. If not provided an uuid will be generated.
|
82
|
-
* @property {import("vue").Component} [component] Optional component to be rendered in the panel.
|
82
|
+
* @property {import("vue").Component<unknown, unknown, unknown>} [component] Optional component to be rendered in the panel.
|
83
83
|
* @property {Partial<PanelState>} [state]
|
84
84
|
* @property {Partial<VerticalPanelPositionOptions|HorizontalPanelPositionOptions>} [position] Will be merged with default position for panel
|
85
85
|
* @property {Object} [props]
|
@@ -99,7 +99,7 @@ export const DefaultPanelPositions = {
|
|
99
99
|
/**
|
100
100
|
* @typedef {Object} PanelComponent
|
101
101
|
* @property {string} id
|
102
|
-
* @property {import("vue").Component} component
|
102
|
+
* @property {import("vue").Component<unknown, unknown, unknown>} component
|
103
103
|
* @property {Partial<PanelState>} state
|
104
104
|
* @property {Object} props
|
105
105
|
* @property {Object} provides
|
@@ -151,9 +151,9 @@ class PanelManager {
|
|
151
151
|
this.removed = new VcsEvent();
|
152
152
|
/**
|
153
153
|
* reactive ordered array of ids,
|
154
|
-
* @type {
|
154
|
+
* @type {import("vue").UnwrapRef<string[]>}
|
155
155
|
*/
|
156
|
-
this.componentIds = [];
|
156
|
+
this.componentIds = reactive([]);
|
157
157
|
/**
|
158
158
|
* @type {Map<PanelLocation, string>}
|
159
159
|
* @private
|
@@ -2,12 +2,11 @@
|
|
2
2
|
<div v-if="orderedButtons.length > 0">
|
3
3
|
<v-menu
|
4
4
|
v-model="open"
|
5
|
-
@
|
6
|
-
|
7
|
-
:nudge-left="nudgeLeft"
|
5
|
+
@update:model-value="$emit('toggle', open)"
|
6
|
+
location="bottom center"
|
8
7
|
z-index="0"
|
9
8
|
>
|
10
|
-
<template #activator="{
|
9
|
+
<template #activator="{ props }">
|
11
10
|
<VcsToolButton
|
12
11
|
class="vcs-toolbox-toggle-button"
|
13
12
|
width="48"
|
@@ -16,8 +15,7 @@
|
|
16
15
|
:tooltip="group.title"
|
17
16
|
:active="open || hasActiveAction"
|
18
17
|
:color="hasActiveAction ? 'primary' : ''"
|
19
|
-
v-bind="
|
20
|
-
v-on="on"
|
18
|
+
v-bind="props"
|
21
19
|
>
|
22
20
|
<v-icon>{{ open ? 'mdi-chevron-up' : 'mdi-chevron-down' }}</v-icon>
|
23
21
|
</VcsToolButton>
|
@@ -25,13 +23,11 @@
|
|
25
23
|
|
26
24
|
<v-toolbar
|
27
25
|
id="vcs-toolbox-toolbar--secondary"
|
28
|
-
class="
|
26
|
+
class="mx-auto marginToTop px-1 rounded-b opacity-80 px-1"
|
29
27
|
:height="40"
|
30
|
-
width="fit-content"
|
31
|
-
dense
|
32
28
|
>
|
33
|
-
<v-toolbar-items class="w-
|
34
|
-
<div class="d-flex align-center justify-space-between w-
|
29
|
+
<v-toolbar-items class="w-100">
|
30
|
+
<div class="d-flex align-center justify-space-between w-100">
|
35
31
|
<VcsToolButton
|
36
32
|
v-for="{ id, action } in orderedButtons"
|
37
33
|
:key="id"
|
@@ -48,20 +44,14 @@
|
|
48
44
|
</v-menu>
|
49
45
|
</div>
|
50
46
|
</template>
|
51
|
-
<style lang="scss">
|
52
|
-
.vcs-toolbox-2 {
|
53
|
-
.v-toolbar__content {
|
54
|
-
padding: 0;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
47
|
+
<style lang="scss" scoped>
|
58
48
|
.marginToTop {
|
59
49
|
margin-top: 3px;
|
60
50
|
}
|
61
51
|
</style>
|
62
52
|
<script>
|
63
53
|
import { computed, ref } from 'vue';
|
64
|
-
import { VMenu, VIcon, VToolbar, VToolbarItems } from 'vuetify/
|
54
|
+
import { VMenu, VIcon, VToolbar, VToolbarItems } from 'vuetify/components';
|
65
55
|
import VcsToolButton from '../../components/buttons/VcsToolButton.vue';
|
66
56
|
import { getComponentsByOrder } from './toolboxManager.js';
|
67
57
|
|
@@ -74,7 +64,6 @@
|
|
74
64
|
* @vue-computed {Array<ButtonComponent>} buttons - Buttons of the group.
|
75
65
|
* @vue-computed {Array<ButtonComponent>} orderedButtons - Buttons of the group sorted by owner.
|
76
66
|
* @vue-computed {boolean} hasActiveAction - Whether the group has an active action.
|
77
|
-
* @vue-computed {number} nudgeLeft - offset of the dropdown toolbar to the left
|
78
67
|
*/
|
79
68
|
export default {
|
80
69
|
name: 'ToolboxActionGroup',
|
@@ -96,8 +85,7 @@
|
|
96
85
|
|
97
86
|
const buttons = computed(() => {
|
98
87
|
const { buttonManager } = props.group;
|
99
|
-
|
100
|
-
return buttonIds.value.map((id) => buttonManager.get(id));
|
88
|
+
return buttonManager.componentIds.map((id) => buttonManager.get(id));
|
101
89
|
});
|
102
90
|
const orderedButtons = computed(() =>
|
103
91
|
getComponentsByOrder(buttons.value),
|
@@ -106,21 +94,9 @@
|
|
106
94
|
orderedButtons.value.some((a) => a.action.active),
|
107
95
|
);
|
108
96
|
|
109
|
-
/**
|
110
|
-
* v-menu auto prop is not working as expected.
|
111
|
-
* Workaround using hardcoded button sizes and paddings
|
112
|
-
* @type {ComputedRef<number>}
|
113
|
-
*/
|
114
|
-
const nudgeLeft = computed(() => {
|
115
|
-
const toolboxBtnWidth = 42 + 8; // with padding
|
116
|
-
const menuBtnWidth = 48;
|
117
|
-
return buttons.value.length * (toolboxBtnWidth / 2) - menuBtnWidth / 2;
|
118
|
-
});
|
119
|
-
|
120
97
|
return {
|
121
98
|
open,
|
122
99
|
orderedButtons,
|
123
|
-
nudgeLeft,
|
124
100
|
hasActiveAction,
|
125
101
|
};
|
126
102
|
},
|
@@ -5,13 +5,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
};
|
6
6
|
}, {
|
7
7
|
open: import("vue").Ref<boolean>;
|
8
|
-
orderedButtons: import("vue").ComputedRef<(import("../buttonManager.js").ButtonComponent | import("./toolboxManager.js").ToolboxComponent)[]>;
|
9
|
-
nudgeLeft: ComputedRef<number>;
|
8
|
+
orderedButtons: import("vue").ComputedRef<(import("../buttonManager.js", { with: { "resolution-mode": "import" } }).ButtonComponent | import("./toolboxManager.js", { with: { "resolution-mode": "import" } }).ToolboxComponent)[]>;
|
10
9
|
hasActiveAction: import("vue").ComputedRef<boolean>;
|
11
|
-
},
|
10
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
12
11
|
group: {
|
13
12
|
type: ObjectConstructor;
|
14
13
|
required: true;
|
15
14
|
};
|
16
|
-
}>>, {}>;
|
15
|
+
}>>, {}, {}>;
|
17
16
|
export default _default;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<template>
|
2
2
|
<div
|
3
3
|
v-if="group.action"
|
4
|
+
class="d-flex"
|
4
5
|
:class="{ 'vcs-toolbox-action-select-button--active': open }"
|
5
|
-
style="width: fit-content"
|
6
6
|
>
|
7
7
|
<VcsToolButton
|
8
8
|
:key="group.action.tools[group.action.currentIndex].name"
|
@@ -19,17 +19,15 @@
|
|
19
19
|
/>
|
20
20
|
<v-menu
|
21
21
|
v-model="open"
|
22
|
-
|
23
|
-
|
24
|
-
:nudge-left="nudgeLeft"
|
22
|
+
location="bottom center"
|
23
|
+
@update:model-value="$emit('toggle', open)"
|
25
24
|
z-index="0"
|
26
25
|
>
|
27
|
-
<template #activator="{
|
26
|
+
<template #activator="{ props }">
|
28
27
|
<VcsToolButton
|
29
28
|
:tooltip="group.action.title"
|
30
29
|
:disabled="group.action.disabled"
|
31
|
-
v-bind="
|
32
|
-
v-on="on"
|
30
|
+
v-bind="props"
|
33
31
|
class="vcs-toolbox-action-select"
|
34
32
|
:min-width="16"
|
35
33
|
:width="16"
|
@@ -39,13 +37,12 @@
|
|
39
37
|
</template>
|
40
38
|
|
41
39
|
<v-toolbar
|
42
|
-
class="vcs-toolbox-2
|
40
|
+
class="vcs-toolbox-2 mx-auto marginToTop rounded-b opacity-80 px-1"
|
43
41
|
:height="40"
|
44
|
-
width="fit-content"
|
45
42
|
dense
|
46
43
|
>
|
47
|
-
<v-toolbar-items class="w-
|
48
|
-
<div class="d-flex align-center justify-space-between w-
|
44
|
+
<v-toolbar-items class="w-100">
|
45
|
+
<div class="d-flex align-center justify-space-between w-100">
|
49
46
|
<VcsToolButton
|
50
47
|
v-for="(item, index) in group.action.tools"
|
51
48
|
:key="`${item.name}-${index}`"
|
@@ -61,48 +58,20 @@
|
|
61
58
|
</v-menu>
|
62
59
|
</div>
|
63
60
|
</template>
|
64
|
-
<style lang="scss">
|
65
|
-
@import '../../styles/shades.scss';
|
66
|
-
|
67
|
-
.vcs-toolbox-action-selected > .v-btn.vcs-button--large {
|
68
|
-
max-width: 40px;
|
69
|
-
}
|
70
|
-
|
71
|
-
.vcs-toolbox-action-select > .v-btn.vcs-button--large {
|
72
|
-
max-width: 8px;
|
73
|
-
}
|
74
|
-
|
75
|
-
.vcs-toolbox-action-select-button--active {
|
76
|
-
//border: 2px solid var(--v-shades-base);
|
77
|
-
border-radius: 4px;
|
78
|
-
}
|
79
|
-
.theme--light .vcs-toolbox-action-select-button--active {
|
80
|
-
background: map-get($shades, 'white');
|
81
|
-
}
|
82
|
-
.theme--dark .vcs-toolbox-action-select-button--active {
|
83
|
-
background: map-get($shades, 'black');
|
84
|
-
}
|
85
|
-
|
86
|
-
.vcs-toolbox-2 {
|
87
|
-
.v-toolbar__content {
|
88
|
-
padding: 0;
|
89
|
-
}
|
90
|
-
}
|
91
|
-
|
61
|
+
<style lang="scss" scoped>
|
92
62
|
.marginToTop {
|
93
63
|
margin-top: 3px;
|
94
64
|
}
|
95
65
|
</style>
|
96
66
|
<script>
|
97
|
-
import { ref
|
98
|
-
import { VMenu, VIcon, VToolbar, VToolbarItems } from 'vuetify/
|
67
|
+
import { ref } from 'vue';
|
68
|
+
import { VMenu, VIcon, VToolbar, VToolbarItems } from 'vuetify/components';
|
99
69
|
import VcsToolButton from '../../components/buttons/VcsToolButton.vue';
|
100
70
|
|
101
71
|
/**
|
102
72
|
* @description
|
103
73
|
* A dynamic Toolbox Button rendering a selected item and a dropdown to select an item using {@link https://vuetifyjs.com/en/api/v-menu/|vuetify v-menu} and {@link VcsButton}.
|
104
74
|
* @vue-prop {SelectToolboxComponent} group - A toolbox group of type 'select'.
|
105
|
-
* @vue-computed {number} nudgeLeft - offset of the dropdown toolbar to the left
|
106
75
|
*/
|
107
76
|
export default {
|
108
77
|
name: 'ToolboxActionSelect',
|
@@ -119,26 +88,11 @@
|
|
119
88
|
required: true,
|
120
89
|
},
|
121
90
|
},
|
122
|
-
setup(
|
91
|
+
setup() {
|
123
92
|
const open = ref(false);
|
124
93
|
|
125
|
-
/**
|
126
|
-
* v-menu auto prop is not working as expected.
|
127
|
-
* Workaround using hardcoded button sizes and paddings
|
128
|
-
* @type {ComputedRef<number>}
|
129
|
-
*/
|
130
|
-
const nudgeLeft = computed(() => {
|
131
|
-
const toolboxBtnWidth = 42 + 8; // with padding
|
132
|
-
const menuBtnWidth = 16;
|
133
|
-
return (
|
134
|
-
props.group.action.tools.length * (toolboxBtnWidth / 2) +
|
135
|
-
menuBtnWidth / 2
|
136
|
-
);
|
137
|
-
});
|
138
|
-
|
139
94
|
return {
|
140
95
|
open,
|
141
|
-
nudgeLeft,
|
142
96
|
};
|
143
97
|
},
|
144
98
|
};
|
@@ -5,11 +5,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
};
|
6
6
|
}, {
|
7
7
|
open: import("vue").Ref<boolean>;
|
8
|
-
|
9
|
-
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
8
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
10
9
|
group: {
|
11
10
|
type: ObjectConstructor;
|
12
11
|
required: true;
|
13
12
|
};
|
14
|
-
}>>, {}>;
|
13
|
+
}>>, {}, {}>;
|
15
14
|
export default _default;
|
@@ -1,22 +1,18 @@
|
|
1
1
|
<template>
|
2
2
|
<v-toolbar
|
3
|
-
v-if="
|
4
|
-
|
5
|
-
"
|
6
|
-
class="vcs-toolbox mx-auto v-sheet marginToTop"
|
3
|
+
v-if="toolboxOpen && orderedGroups.length > 0 && mdAndUp"
|
4
|
+
class="vcs-toolbox mx-auto marginToTop opacity-80"
|
7
5
|
:class="{
|
8
6
|
'rounded-b': !open,
|
9
|
-
toolbar__secondary: !isDefaultToolbox,
|
10
7
|
}"
|
11
8
|
:height="40"
|
12
9
|
:style="{ zIndex }"
|
13
10
|
@click.stop="bringToTop"
|
14
|
-
|
15
|
-
dense
|
11
|
+
style="width: fit-content"
|
16
12
|
>
|
17
|
-
<v-toolbar-items class="w-
|
13
|
+
<v-toolbar-items class="w-100 px-4 gc-1">
|
18
14
|
<div
|
19
|
-
class="d-flex align-center justify-space-between w-
|
15
|
+
class="d-flex align-center justify-space-between w-100"
|
20
16
|
v-for="group in orderedGroups"
|
21
17
|
:key="group.id"
|
22
18
|
>
|
@@ -46,40 +42,15 @@
|
|
46
42
|
</template>
|
47
43
|
|
48
44
|
<style lang="scss" scoped>
|
49
|
-
.toolbar__secondary {
|
50
|
-
position: absolute;
|
51
|
-
top: 0;
|
52
|
-
left: 0;
|
53
|
-
right: 0;
|
54
|
-
&.vcs-toolbox.theme {
|
55
|
-
&--light {
|
56
|
-
background-color: var(--v-primary-lighten3) !important;
|
57
|
-
}
|
58
|
-
&--dark {
|
59
|
-
background-color: var(--v-primary-darken4) !important;
|
60
|
-
}
|
61
|
-
}
|
62
|
-
&.v-toolbar {
|
63
|
-
::v-deep .v-toolbar__content {
|
64
|
-
padding: 0;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
}
|
68
|
-
|
69
45
|
.marginToTop {
|
70
46
|
margin-top: 2px;
|
71
47
|
}
|
72
|
-
|
73
|
-
.v-toolbar__items > div {
|
74
|
-
gap: 8px;
|
75
|
-
width: fit-content;
|
76
|
-
}
|
77
48
|
</style>
|
78
49
|
|
79
50
|
<script>
|
80
51
|
import { inject, ref, computed, watch, onUnmounted } from 'vue';
|
81
|
-
import {
|
82
|
-
import { VToolbar, VToolbarItems } from 'vuetify/
|
52
|
+
import { useDisplay } from 'vuetify';
|
53
|
+
import { VToolbar, VToolbarItems } from 'vuetify/components';
|
83
54
|
import {
|
84
55
|
defaultToolboxName,
|
85
56
|
getComponentsByOrder,
|
@@ -88,6 +59,8 @@
|
|
88
59
|
import ToolboxActionSelect from './SelectToolboxComponent.vue';
|
89
60
|
import ToolboxActionGroup from './GroupToolboxComponent.vue';
|
90
61
|
import VcsToolButton from '../../components/buttons/VcsToolButton.vue';
|
62
|
+
import { vcsAppSymbol } from '../../pluginHelper.js';
|
63
|
+
import { ButtonLocation } from '../navbarManager.js';
|
91
64
|
|
92
65
|
/**
|
93
66
|
* @typedef {Object} ToolboxButtonGroup
|
@@ -122,9 +95,8 @@
|
|
122
95
|
setup() {
|
123
96
|
const app = inject('vcsApp');
|
124
97
|
|
125
|
-
const toolboxComponentIds = ref(app.toolboxManager.componentIds);
|
126
98
|
const groups = computed(() => {
|
127
|
-
return
|
99
|
+
return app.toolboxManager.componentIds.map((id) =>
|
128
100
|
app.toolboxManager.get(id),
|
129
101
|
);
|
130
102
|
});
|
@@ -210,7 +182,9 @@
|
|
210
182
|
app.windowManager.bringWindowToTop('toolbox');
|
211
183
|
};
|
212
184
|
|
185
|
+
const { mdAndUp } = useDisplay();
|
213
186
|
return {
|
187
|
+
mdAndUp,
|
214
188
|
toolboxOpen,
|
215
189
|
orderedGroups,
|
216
190
|
zIndex,
|
@@ -1,6 +1,7 @@
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
2
|
+
mdAndUp: import("vue").Ref<boolean>;
|
2
3
|
toolboxOpen: import("vue").Ref<boolean>;
|
3
|
-
orderedGroups: import("vue").ComputedRef<(import("../buttonManager.js").ButtonComponent | import("./toolboxManager.js").ToolboxComponent)[]>;
|
4
|
+
orderedGroups: import("vue").ComputedRef<(import("../buttonManager.js", { with: { "resolution-mode": "import" } }).ButtonComponent | import("./toolboxManager.js", { with: { "resolution-mode": "import" } }).ToolboxComponent)[]>;
|
4
5
|
zIndex: any;
|
5
6
|
isDefaultToolbox: import("vue").ComputedRef<boolean>;
|
6
7
|
ToolboxType: {
|
@@ -11,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
11
12
|
open: import("vue").Ref<boolean>;
|
12
13
|
bringToTop: () => void;
|
13
14
|
openGroup(group: any): void;
|
14
|
-
}, {}, {}, {}, import("vue
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
15
16
|
export default _default;
|
16
17
|
export type ToolboxButtonGroup = {
|
17
18
|
id: string;
|
@@ -114,9 +114,9 @@ declare class ToolboxManager implements IToolboxManager {
|
|
114
114
|
removed: import("@vcmap/core").VcsEvent<ToolboxComponent>;
|
115
115
|
/**
|
116
116
|
* reactive ordered array of ids,
|
117
|
-
* @type {
|
117
|
+
* @type {import("vue").UnwrapRef<string[]>}
|
118
118
|
*/
|
119
|
-
componentIds:
|
119
|
+
componentIds: import("vue").UnwrapRef<string[]>;
|
120
120
|
/**
|
121
121
|
* @type {Map<string, ToolboxComponent>}
|
122
122
|
* @private
|
@@ -131,7 +131,7 @@ declare class ToolboxManager implements IToolboxManager {
|
|
131
131
|
* @type {VcsEvent<string>}
|
132
132
|
*/
|
133
133
|
toolboxNameChanged: VcsEvent<string>;
|
134
|
-
set toolboxName(
|
134
|
+
set toolboxName(name: string | symbol);
|
135
135
|
get toolboxName(): string | symbol;
|
136
136
|
setDefaultToolboxName(): void;
|
137
137
|
/**
|
@@ -204,10 +204,9 @@ class ToolboxManager {
|
|
204
204
|
this.removed = new VcsEvent();
|
205
205
|
/**
|
206
206
|
* reactive ordered array of ids,
|
207
|
-
* @type {
|
207
|
+
* @type {import("vue").UnwrapRef<string[]>}
|
208
208
|
*/
|
209
|
-
this.componentIds = [];
|
210
|
-
|
209
|
+
this.componentIds = reactive([]);
|
211
210
|
/**
|
212
211
|
* @type {Map<string, ToolboxComponent>}
|
213
212
|
* @private
|