@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
@@ -85,7 +85,13 @@
|
|
85
85
|
</v-sheet>
|
86
86
|
</template>
|
87
87
|
<script>
|
88
|
-
import {
|
88
|
+
import {
|
89
|
+
VSheet,
|
90
|
+
VContainer,
|
91
|
+
VRow,
|
92
|
+
VCol,
|
93
|
+
VTextField,
|
94
|
+
} from 'vuetify/components';
|
89
95
|
|
90
96
|
export default {
|
91
97
|
name: 'TextfieldsExample',
|
@@ -72,14 +72,14 @@
|
|
72
72
|
VCardText,
|
73
73
|
VChip,
|
74
74
|
VListItem,
|
75
|
-
VListItemContent,
|
75
|
+
// VListItemContent,
|
76
76
|
VListItemTitle,
|
77
77
|
VListItemAction,
|
78
78
|
VAvatar,
|
79
79
|
VIcon,
|
80
80
|
VDivider,
|
81
81
|
VSwitch,
|
82
|
-
} from 'vuetify/
|
82
|
+
} from 'vuetify/components';
|
83
83
|
|
84
84
|
export default {
|
85
85
|
name: 'ThemeChanger',
|
@@ -88,7 +88,7 @@
|
|
88
88
|
VCardText,
|
89
89
|
VChip,
|
90
90
|
VListItem,
|
91
|
-
VListItemContent,
|
91
|
+
// VListItemContent,
|
92
92
|
VListItemTitle,
|
93
93
|
VListItemAction,
|
94
94
|
VAvatar,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref } from 'vue';
|
2
2
|
import { check } from '@vcsuite/check';
|
3
|
-
import { ButtonLocation, createToggleAction,
|
3
|
+
import { ButtonLocation, createToggleAction, createVcsThemes } from '@vcmap/ui';
|
4
4
|
import ThemeChangerComponent from './ThemeChangerComponent.vue';
|
5
5
|
import packageJSON from '../package.json';
|
6
6
|
import defaultConfig from '../config.json';
|
@@ -31,7 +31,7 @@ export default async function themeChanger(config) {
|
|
31
31
|
/** @type {VcMapTheme} */
|
32
32
|
const vcsTheme = {
|
33
33
|
name: 'VCS Theme',
|
34
|
-
...
|
34
|
+
...createVcsThemes(),
|
35
35
|
};
|
36
36
|
const customThemes = config.themes || defaultConfig.themes;
|
37
37
|
const availableThemes = [vcsTheme, ...customThemes];
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<VcsList
|
7
7
|
:items="propertiesToSelectFrom"
|
8
8
|
:selectable="true"
|
9
|
-
v-model="
|
9
|
+
v-model="propertiesSelected"
|
10
10
|
title="Select all"
|
11
11
|
/>
|
12
12
|
</v-col>
|
@@ -29,13 +29,20 @@
|
|
29
29
|
/>
|
30
30
|
</v-col>
|
31
31
|
</v-row>
|
32
|
+
<v-row no-gutters>
|
33
|
+
<v-col>
|
34
|
+
<VcsFormButton @click="() => console.log({ ...featureProperties })"
|
35
|
+
>Log VectorProperties</VcsFormButton
|
36
|
+
>
|
37
|
+
</v-col>
|
38
|
+
</v-row>
|
32
39
|
</v-container>
|
33
40
|
<VcsVectorPropertiesComponent
|
34
41
|
v-model="featureProperties"
|
35
42
|
:value-default="defaultOptions"
|
36
43
|
:show3-d-properties="is3D"
|
37
|
-
:properties="
|
38
|
-
:
|
44
|
+
:properties="properties"
|
45
|
+
:show-dividers="!hideDividers"
|
39
46
|
:expandable="expandable"
|
40
47
|
:show-reset="showReset"
|
41
48
|
/>
|
@@ -43,14 +50,24 @@
|
|
43
50
|
</template>
|
44
51
|
|
45
52
|
<script>
|
46
|
-
import {
|
53
|
+
import {
|
54
|
+
computed,
|
55
|
+
inject,
|
56
|
+
onMounted,
|
57
|
+
onUnmounted,
|
58
|
+
reactive,
|
59
|
+
ref,
|
60
|
+
shallowRef,
|
61
|
+
watch,
|
62
|
+
} from 'vue';
|
47
63
|
import { CesiumMap, VectorLayer, VectorProperties } from '@vcmap/core';
|
48
64
|
import {
|
49
65
|
VcsVectorPropertiesComponent,
|
50
66
|
VcsList,
|
51
67
|
VcsCheckbox,
|
68
|
+
VcsFormButton,
|
52
69
|
} from '@vcmap/ui';
|
53
|
-
import { VSheet, VContainer, VRow, VCol } from 'vuetify/
|
70
|
+
import { VSheet, VContainer, VRow, VCol } from 'vuetify/components';
|
54
71
|
import { Feature } from 'ol';
|
55
72
|
import { Polygon } from 'ol/geom.js';
|
56
73
|
|
@@ -69,6 +86,7 @@
|
|
69
86
|
VcsVectorPropertiesComponent,
|
70
87
|
VcsList,
|
71
88
|
VcsCheckbox,
|
89
|
+
VcsFormButton,
|
72
90
|
VSheet,
|
73
91
|
VContainer,
|
74
92
|
VRow,
|
@@ -96,9 +114,10 @@
|
|
96
114
|
},
|
97
115
|
});
|
98
116
|
|
99
|
-
const featureProperties =
|
117
|
+
const featureProperties = shallowRef(
|
100
118
|
layer.vectorProperties.getValuesForFeatures([feature]),
|
101
119
|
);
|
120
|
+
featureProperties.value.scaleByDistance = [0, 1, 100, 0];
|
102
121
|
watch(featureProperties, () => {
|
103
122
|
layer.vectorProperties.setValuesForFeatures(featureProperties.value, [
|
104
123
|
feature,
|
@@ -106,10 +125,13 @@
|
|
106
125
|
});
|
107
126
|
|
108
127
|
const defaultOptions = VectorProperties.getDefaultOptions();
|
109
|
-
const propertiesToSelectFrom =
|
110
|
-
|
111
|
-
|
112
|
-
|
128
|
+
const propertiesToSelectFrom = reactive(
|
129
|
+
Object.keys(defaultOptions).map((key) => ({
|
130
|
+
name: key,
|
131
|
+
title: key,
|
132
|
+
})),
|
133
|
+
);
|
134
|
+
const propertiesSelected = shallowRef([...propertiesToSelectFrom]);
|
113
135
|
|
114
136
|
onMounted(() => {
|
115
137
|
vcsApp.layers.add(layer);
|
@@ -128,7 +150,10 @@
|
|
128
150
|
defaultOptions,
|
129
151
|
is3D,
|
130
152
|
propertiesToSelectFrom,
|
131
|
-
|
153
|
+
propertiesSelected,
|
154
|
+
properties: computed(() =>
|
155
|
+
propertiesSelected.value.map(({ name }) => name),
|
156
|
+
),
|
132
157
|
hideDividers: ref(false),
|
133
158
|
expandable: ref(false),
|
134
159
|
showReset: ref(true),
|
@@ -1,11 +1,11 @@
|
|
1
1
|
<template>
|
2
2
|
<v-sheet>
|
3
3
|
<VcsViewpointComponent v-model="viewpointOptions" />
|
4
|
-
<div class="d-flex
|
5
|
-
<div class="d-flex
|
4
|
+
<div class="d-flex gc-2 px-2 pt-2 pb-1">
|
5
|
+
<div class="d-flex gc-2 w-full justify-start">
|
6
6
|
<VcsFormButton icon="$vcsReturn" @click="reset" />
|
7
7
|
</div>
|
8
|
-
<div class="d-flex
|
8
|
+
<div class="d-flex gc-2 w-full justify-end">
|
9
9
|
<VcsFormButton type="submit" variant="filled" @click="log">
|
10
10
|
Log ViewpointOptions
|
11
11
|
</VcsFormButton>
|
@@ -15,7 +15,7 @@
|
|
15
15
|
</template>
|
16
16
|
|
17
17
|
<script>
|
18
|
-
import { VSheet } from 'vuetify/
|
18
|
+
import { VSheet } from 'vuetify/components';
|
19
19
|
import { inject, ref } from 'vue';
|
20
20
|
import { VcsViewpointComponent, VcsFormButton } from '@vcmap/ui';
|
21
21
|
import { Viewpoint } from '@vcmap/core';
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<script setup>
|
2
|
+
import { ref } from 'vue';
|
3
|
+
import { VSheet, VCard } from 'vuetify/components';
|
4
|
+
|
5
|
+
const prefix = undefined;
|
6
|
+
const model = ref('foo');
|
7
|
+
</script>
|
8
|
+
|
9
|
+
<template>
|
10
|
+
<v-sheet>
|
11
|
+
<v-card class="pa-2" elevation="2">
|
12
|
+
<input v-model="model" type="text" :prefix="prefix" />
|
13
|
+
</v-card>
|
14
|
+
</v-sheet>
|
15
|
+
</template>
|
16
|
+
|
17
|
+
<style scoped lang="scss"></style>
|
@@ -25,6 +25,7 @@
|
|
25
25
|
import MyCustomHeader from './MyCustomHeader.vue';
|
26
26
|
import EmptyComponent from './EmptyComponent.vue';
|
27
27
|
import { name as owner } from '../package.json';
|
28
|
+
import Broken from './BrokenWindow.vue';
|
28
29
|
|
29
30
|
const showTestClass = ref(false);
|
30
31
|
|
@@ -177,6 +178,15 @@
|
|
177
178
|
component: WindowExampleContent,
|
178
179
|
slot: WindowSlot.DYNAMIC_CHILD,
|
179
180
|
},
|
181
|
+
{
|
182
|
+
id: 'broken',
|
183
|
+
state: {
|
184
|
+
headerTitle: 'This window is broken',
|
185
|
+
headerIcon: 'mdi-human-child',
|
186
|
+
},
|
187
|
+
component: Broken,
|
188
|
+
slot: WindowSlot.DETACHED,
|
189
|
+
},
|
180
190
|
];
|
181
191
|
|
182
192
|
onUnmounted(() => {
|
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
<style scoped></style>
|
10
10
|
<script>
|
11
|
-
import { VContainer } from 'vuetify/
|
11
|
+
import { VContainer } from 'vuetify/components';
|
12
12
|
import { VcsFormButton, WindowSlot } from '@vcmap/ui';
|
13
13
|
import { inject } from 'vue';
|
14
14
|
import WindowExampleContent from './WindowExampleContent.vue';
|
@@ -1,24 +1,20 @@
|
|
1
1
|
<template>
|
2
2
|
<VcsWizard v-model.number="step">
|
3
3
|
<VcsWizardStep
|
4
|
-
step="
|
5
|
-
:complete="step >
|
4
|
+
step="0"
|
5
|
+
:complete="step > 0"
|
6
6
|
help-text="1. this is the help text"
|
7
7
|
heading="This is the first step"
|
8
8
|
v-model.number="step"
|
9
9
|
>
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
<VcsFormButton @click="increaseStep()" class="my-2">
|
15
|
-
Next
|
16
|
-
</VcsFormButton>
|
17
|
-
</v-container>
|
10
|
+
<!-- px-2 because does not contain input components -->
|
11
|
+
<div>This is the content of the first step.</div>
|
12
|
+
<template #actions="{ next }">
|
13
|
+
<VcsFormButton @click="next">Next</VcsFormButton>
|
18
14
|
</template>
|
19
15
|
</VcsWizardStep>
|
20
16
|
<VcsWizardStep
|
21
|
-
step="
|
17
|
+
step="1"
|
22
18
|
editable
|
23
19
|
:header-actions="actions.second"
|
24
20
|
heading="This is the second step"
|
@@ -33,35 +29,29 @@
|
|
33
29
|
<li>test</li>
|
34
30
|
</ol>
|
35
31
|
</template>
|
36
|
-
<
|
37
|
-
<
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
</v-form>
|
49
|
-
</v-container>
|
50
|
-
</template>
|
51
|
-
</VcsWizardStep>
|
52
|
-
<VcsWizardStep step="3" v-model.number="step">
|
53
|
-
<template #header>
|
54
|
-
<div class="d-flex flex-grow-1 flex-row-reverse">
|
55
|
-
<VcsFormButton
|
56
|
-
:disabled="!selection || !formValid"
|
57
|
-
@click="finish()"
|
58
|
-
variant="filled"
|
59
|
-
>
|
60
|
-
Finish
|
61
|
-
</VcsFormButton>
|
62
|
-
</div>
|
32
|
+
<v-form ref="formRef" v-model="formValid" lazy-validation>
|
33
|
+
<VcsSelect
|
34
|
+
:items="['this', 'is', 'a', 'test']"
|
35
|
+
v-model="selection"
|
36
|
+
placeholder="Select"
|
37
|
+
:rules="[
|
38
|
+
(v) => (!!v && v !== 'this') || 'Please select a valid option.',
|
39
|
+
]"
|
40
|
+
/>
|
41
|
+
</v-form>
|
42
|
+
<template #actions="{ prev }">
|
43
|
+
<VcsFormButton @click="prev">Back</VcsFormButton>
|
63
44
|
</template>
|
64
45
|
</VcsWizardStep>
|
46
|
+
<div class="d-flex flex-grow-1 flex-row-reverse pa-2">
|
47
|
+
<VcsFormButton
|
48
|
+
:disabled="!selection || !formValid"
|
49
|
+
@click="finish()"
|
50
|
+
variant="filled"
|
51
|
+
>
|
52
|
+
Finish
|
53
|
+
</VcsFormButton>
|
54
|
+
</div>
|
65
55
|
</VcsWizard>
|
66
56
|
</template>
|
67
57
|
|
@@ -72,7 +62,7 @@
|
|
72
62
|
VcsFormButton,
|
73
63
|
VcsSelect,
|
74
64
|
} from '@vcmap/ui';
|
75
|
-
import { VForm
|
65
|
+
import { VForm } from 'vuetify/components';
|
76
66
|
import { ref } from 'vue';
|
77
67
|
|
78
68
|
/** Component to showcase the VcsWizard and VcsWizardStep. */
|
@@ -84,12 +74,11 @@
|
|
84
74
|
VcsFormButton,
|
85
75
|
VcsSelect,
|
86
76
|
VForm,
|
87
|
-
VContainer,
|
88
77
|
},
|
89
78
|
setup() {
|
90
|
-
const step = ref(
|
91
|
-
const selection = ref();
|
92
|
-
const
|
79
|
+
const step = ref(0);
|
80
|
+
const selection = ref(undefined);
|
81
|
+
const formRef = ref(null);
|
93
82
|
const formValid = ref(false);
|
94
83
|
const actions = {
|
95
84
|
second: [
|
@@ -103,22 +92,19 @@
|
|
103
92
|
},
|
104
93
|
],
|
105
94
|
};
|
95
|
+
|
96
|
+
function finish() {
|
97
|
+
step.value = 0;
|
98
|
+
formRef.value?.resetValidation();
|
99
|
+
}
|
100
|
+
|
106
101
|
return {
|
107
102
|
step,
|
108
|
-
increaseStep() {
|
109
|
-
step.value += 1;
|
110
|
-
},
|
111
|
-
decreaseStep() {
|
112
|
-
step.value -= 1;
|
113
|
-
},
|
114
103
|
selection,
|
115
104
|
actions,
|
116
105
|
formValid,
|
117
|
-
|
118
|
-
finish
|
119
|
-
step.value = 1;
|
120
|
-
form.value.reset();
|
121
|
-
},
|
106
|
+
formRef,
|
107
|
+
finish,
|
122
108
|
};
|
123
109
|
},
|
124
110
|
};
|
@@ -9,38 +9,16 @@
|
|
9
9
|
<v-list-item-title
|
10
10
|
:class="{ 'primary--text': item.value === currentStyleName }"
|
11
11
|
>
|
12
|
-
{{ $
|
12
|
+
{{ $st(item.text) }}
|
13
13
|
</v-list-item-title>
|
14
14
|
</v-list-item>
|
15
15
|
</v-list>
|
16
|
-
<v-list v-if="currentStyleLegend.length > 0">
|
17
|
-
<v-list-item
|
18
|
-
v-for="(entry, index) in currentStyleLegend"
|
19
|
-
:key="`style-legend-${index}`"
|
20
|
-
dense
|
21
|
-
>
|
22
|
-
<v-list-item-icon>
|
23
|
-
<v-chip :color="entry.color" />
|
24
|
-
</v-list-item-icon>
|
25
|
-
<v-list-item-content>
|
26
|
-
{{ $t(entry.title) }}
|
27
|
-
</v-list-item-content>
|
28
|
-
</v-list-item>
|
29
|
-
</v-list>
|
30
16
|
</v-sheet>
|
31
17
|
</template>
|
32
18
|
|
33
19
|
<script>
|
34
20
|
import { computed, inject, onUnmounted, ref } from 'vue';
|
35
|
-
import {
|
36
|
-
VChip,
|
37
|
-
VList,
|
38
|
-
VListItem,
|
39
|
-
VListItemContent,
|
40
|
-
VListItemIcon,
|
41
|
-
VListItemTitle,
|
42
|
-
VSheet,
|
43
|
-
} from 'vuetify/lib';
|
21
|
+
import { VList, VListItem, VListItemTitle, VSheet } from 'vuetify/components';
|
44
22
|
|
45
23
|
/**
|
46
24
|
* @description Modal listing available styles.
|
@@ -54,10 +32,7 @@
|
|
54
32
|
VSheet,
|
55
33
|
VList,
|
56
34
|
VListItem,
|
57
|
-
VListItemIcon,
|
58
35
|
VListItemTitle,
|
59
|
-
VChip,
|
60
|
-
VListItemContent,
|
61
36
|
},
|
62
37
|
props: {
|
63
38
|
availableStyles: {
|
@@ -75,16 +50,12 @@
|
|
75
50
|
/** @type {import("@vcmap/core").FeatureLayer} */
|
76
51
|
const layer = app.layers.getByKey(props.layerName);
|
77
52
|
const currentStyleName = ref(layer.style.name || layer.defaultStyle.name);
|
78
|
-
const currentStyleLegend = ref([]);
|
79
53
|
const defaultStyle = layer.defaultStyle.name;
|
80
54
|
|
81
|
-
function setStyle(
|
55
|
+
function setStyle() {
|
82
56
|
currentStyleName.value = layer.style.name;
|
83
|
-
if (styleItem.legend) {
|
84
|
-
currentStyleLegend.value = styleItem.legend;
|
85
|
-
}
|
86
57
|
}
|
87
|
-
setStyle(
|
58
|
+
setStyle();
|
88
59
|
// TODO error handling if layer is missing or not a feature layer
|
89
60
|
const styleChangedListener =
|
90
61
|
layer.styleChanged.addEventListener(setStyle);
|
@@ -126,7 +97,6 @@
|
|
126
97
|
|
127
98
|
return {
|
128
99
|
currentStyleName,
|
129
|
-
currentStyleLegend,
|
130
100
|
items,
|
131
101
|
select,
|
132
102
|
};
|
@@ -9,10 +9,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
9
9
|
};
|
10
10
|
}, {
|
11
11
|
currentStyleName: import("vue").Ref<string>;
|
12
|
-
|
13
|
-
|
12
|
+
items: import("vue").ComputedRef<{
|
13
|
+
text: unknown;
|
14
|
+
value: unknown;
|
15
|
+
}[]>;
|
14
16
|
select: (styleName: any) => void;
|
15
|
-
},
|
17
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
16
18
|
availableStyles: {
|
17
19
|
type: ArrayConstructor;
|
18
20
|
default: () => never[];
|
@@ -23,5 +25,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
23
25
|
};
|
24
26
|
}>>, {
|
25
27
|
availableStyles: unknown[];
|
26
|
-
}>;
|
28
|
+
}, {}>;
|
27
29
|
export default _default;
|
@@ -74,13 +74,13 @@ export function createMapButtonAction(actionOptions, mapName, maps) {
|
|
74
74
|
check(maps, MapCollection);
|
75
75
|
|
76
76
|
const active = maps.activeMap?.name === mapName;
|
77
|
-
const action = {
|
77
|
+
const action = reactive({
|
78
78
|
...actionOptions,
|
79
79
|
active,
|
80
80
|
callback() {
|
81
81
|
maps.setActiveMap(mapName);
|
82
82
|
},
|
83
|
-
};
|
83
|
+
});
|
84
84
|
const destroyListener = maps.mapActivated.addEventListener((map) => {
|
85
85
|
action.active = map?.name === mapName;
|
86
86
|
});
|
@@ -111,7 +111,7 @@ export function createToggleAction(
|
|
111
111
|
check(windowComponent, { id: String });
|
112
112
|
check(owner, [String, vcsAppSymbol]);
|
113
113
|
|
114
|
-
const action = {
|
114
|
+
const action = reactive({
|
115
115
|
...actionOptions,
|
116
116
|
active: windowManager.has(windowComponent.id),
|
117
117
|
callback() {
|
@@ -122,7 +122,7 @@ export function createToggleAction(
|
|
122
122
|
}
|
123
123
|
return null;
|
124
124
|
},
|
125
|
-
};
|
125
|
+
});
|
126
126
|
|
127
127
|
const listeners = [
|
128
128
|
windowManager.added.addEventListener(({ id }) => {
|
@@ -277,7 +277,7 @@ export function createModalAction(actionOptions, modalComponent, app, owner) {
|
|
277
277
|
}
|
278
278
|
};
|
279
279
|
|
280
|
-
const action = {
|
280
|
+
const action = reactive({
|
281
281
|
...actionOptions,
|
282
282
|
active: false,
|
283
283
|
callback(event) {
|
@@ -306,7 +306,7 @@ export function createModalAction(actionOptions, modalComponent, app, owner) {
|
|
306
306
|
}
|
307
307
|
return null;
|
308
308
|
},
|
309
|
-
};
|
309
|
+
});
|
310
310
|
|
311
311
|
const listeners = [
|
312
312
|
app.windowManager.removed.addEventListener(({ id: windowId }) => {
|
@@ -29,10 +29,9 @@ export function createExtentFeatureAction(app: import("@src/vcsUiApp.js").defaul
|
|
29
29
|
/**
|
30
30
|
* @param {import("@src/vcsUiApp.js").default} app
|
31
31
|
* @param {import("vue").ComputedRef<import("@vcmap/core").Extent>|import("vue").Ref<import("@vcmap/core").Extent>|import("vue").WritableComputedRef<import("@vcmap/core").Extent>} extent
|
32
|
-
* @param {boolean} disabled
|
33
32
|
* @returns {{ actions: Array<import("./actionHelper.js").VcsAction>, destroy: () => void, layer: import("@vcmap/core").VectorLayer, featureId: string }}
|
34
33
|
*/
|
35
|
-
export function setupExtentComponentActions(app: import("@src/vcsUiApp.js").default, extent: import("vue").ComputedRef<import("@vcmap/core").Extent> | import("vue").Ref<import("@vcmap/core").Extent> | import("vue").WritableComputedRef<import("@vcmap/core").Extent
|
34
|
+
export function setupExtentComponentActions(app: import("@src/vcsUiApp.js").default, extent: import("vue").ComputedRef<import("@vcmap/core").Extent> | import("vue").Ref<import("@vcmap/core").Extent> | import("vue").WritableComputedRef<import("@vcmap/core").Extent>): {
|
36
35
|
actions: Array<import("./actionHelper.js").VcsAction>;
|
37
36
|
destroy: () => void;
|
38
37
|
layer: import("@vcmap/core").VectorLayer;
|
@@ -11,6 +11,7 @@ import {
|
|
11
11
|
startEditGeometrySession,
|
12
12
|
VectorLayer,
|
13
13
|
Viewpoint,
|
14
|
+
wgs84Projection,
|
14
15
|
} from '@vcmap/core';
|
15
16
|
import { reactive, ref, watch, nextTick } from 'vue';
|
16
17
|
import { Feature } from 'ol';
|
@@ -270,7 +271,14 @@ function setupVertexAction(
|
|
270
271
|
* @param {string} featureId
|
271
272
|
*/
|
272
273
|
function syncExtentFeature(extent, layer, featureId) {
|
273
|
-
const
|
274
|
+
const extentCoords = [...extent.value.extent];
|
275
|
+
// clamp coords for visualization, because at the pole Cesium has issues
|
276
|
+
if (extent.value.projection.epsg === wgs84Projection.epsg) {
|
277
|
+
extentCoords[1] = Math.max(-89, extentCoords[1]);
|
278
|
+
extentCoords[3] = Math.min(89, extentCoords[3]);
|
279
|
+
}
|
280
|
+
|
281
|
+
const extentGeometry = fromExtent(extentCoords);
|
274
282
|
extentGeometry.transform(
|
275
283
|
extent.value.projection.proj,
|
276
284
|
mercatorProjection.proj,
|
@@ -280,18 +288,21 @@ function syncExtentFeature(extent, layer, featureId) {
|
|
280
288
|
c.push(0);
|
281
289
|
});
|
282
290
|
coordinates[0].pop();
|
283
|
-
|
284
|
-
|
285
|
-
|
291
|
+
if (layer.getFeatureById(featureId).getGeometry()) {
|
292
|
+
layer.getFeatureById(featureId).getGeometry().setCoordinates(coordinates);
|
293
|
+
} else {
|
294
|
+
const geometry = new Polygon(coordinates, 'XYZ');
|
295
|
+
geometry.set('_vcsGeomType', GeometryType.BBox);
|
296
|
+
layer.getFeatureById(featureId).setGeometry(geometry);
|
297
|
+
}
|
286
298
|
}
|
287
299
|
|
288
300
|
/**
|
289
301
|
* @param {import("@src/vcsUiApp.js").default} app
|
290
302
|
* @param {import("vue").ComputedRef<import("@vcmap/core").Extent>|import("vue").Ref<import("@vcmap/core").Extent>|import("vue").WritableComputedRef<import("@vcmap/core").Extent>} extent
|
291
|
-
* @param {boolean} disabled
|
292
303
|
* @returns {{ actions: Array<import("./actionHelper.js").VcsAction>, destroy: () => void, layer: import("@vcmap/core").VectorLayer, featureId: string }}
|
293
304
|
*/
|
294
|
-
export function setupExtentComponentActions(app, extent
|
305
|
+
export function setupExtentComponentActions(app, extent) {
|
295
306
|
const layer = new VectorLayer({
|
296
307
|
projection: mercatorProjection.toJSON(),
|
297
308
|
zIndex: maxZIndex - 1,
|
@@ -320,9 +331,9 @@ export function setupExtentComponentActions(app, extent, disabled) {
|
|
320
331
|
);
|
321
332
|
|
322
333
|
const { action: showExtentAction, destroy: destroyShowExtent } =
|
323
|
-
createLayerToggleAction(layer,
|
334
|
+
createLayerToggleAction(layer, false);
|
324
335
|
const { action: createExtentAction, destroy: destroyCreateExtent } =
|
325
|
-
createExtentFeatureAction(app, layer, extent, featureId,
|
336
|
+
createExtentFeatureAction(app, layer, extent, featureId, false);
|
326
337
|
const zoomToExtentAction = createZoomToExtentAction(app, extent);
|
327
338
|
zoomToExtentAction.title = 'components.extent.zoom';
|
328
339
|
const { action: translateAction, destroy: destroyTranslate } =
|