@vcmap/ui 5.3.7 → 6.0.0-rc.10
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 +66 -64
- package/build/buildHelpers.js +69 -21
- package/build/buildTypes.js +22 -0
- package/build/bundle.js +1 -1
- package/build/commonViteConfig.js +7 -10
- package/build/generateOLLib.js +5 -1
- package/build/info/conf.json +1 -1
- package/build/info/publish.js +27 -33
- package/build/lintTypes.js +10 -0
- package/build/staging/Dockerfile +1 -1
- package/config/aerowest.config.json +12 -2
- package/config/base.config.json +25 -17
- package/config/dev.config.json +174 -10
- package/config/projects.config.json +3 -1
- package/config/solar.config.json +65 -0
- package/config/splashscreen.config.json +45 -0
- package/config/theming.config.json +68 -0
- package/config/www.config.json +38 -22
- package/dist/.htaccess +7 -0
- package/dist/assets/@mdi/font/README.md +25 -0
- package/dist/assets/@mdi/font/css/materialdesignicons.min-680621ca.css +3 -0
- package/dist/assets/@mdi/font/css/materialdesignicons.min.css.map +16 -0
- package/dist/assets/@mdi/font/fonts/materialdesignicons-webfont.woff2 +0 -0
- 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-JB2LWGH4.js → chunk-2LOWCAMW.js} +14 -14
- package/dist/assets/cesium/Workers/{chunk-Z24VKNDO.js → chunk-2PTKXHJB.js} +12 -12
- package/dist/assets/cesium/Workers/{chunk-AHKEZ2OE.js → chunk-3HQMMUPU.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-V3NGATMV.js → chunk-3IFRSGEY.js} +11 -13
- package/dist/assets/cesium/Workers/{chunk-66QLLS45.js → chunk-44QAAS4P.js} +11 -9
- package/dist/assets/cesium/Workers/{chunk-TFC6TZ3S.js → chunk-56EDBCGT.js} +33 -22
- package/dist/assets/cesium/Workers/{chunk-3W63OHNJ.js → chunk-57H6I3SV.js} +5 -5
- package/dist/assets/cesium/Workers/{chunk-PFQBCKBM.js → chunk-6SQMLVGV.js} +5206 -3483
- package/dist/assets/cesium/Workers/{chunk-OZJDGN5F.js → chunk-7YIOHQWH.js} +16 -16
- package/dist/assets/cesium/Workers/{chunk-XTY7B2N6.js → chunk-7ZZ5LMZY.js} +17 -16
- package/dist/assets/cesium/Workers/{chunk-HARLBUOL.js → chunk-BVKITG4N.js} +11 -8
- package/dist/assets/cesium/Workers/{chunk-AFFLIKOH.js → chunk-C3EQ27WF.js} +7 -7
- package/dist/assets/cesium/Workers/{chunk-RW6LU2CJ.js → chunk-C4WPMOKT.js} +6 -5
- package/dist/assets/cesium/Workers/{chunk-OYFCF4PL.js → chunk-EDLRS3AW.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-C3SXRKRW.js → chunk-EJVGYGLF.js} +7 -7
- package/dist/assets/cesium/Workers/{chunk-PCJWUS4M.js → chunk-FFLMY4TE.js} +830 -14
- package/dist/assets/cesium/Workers/{chunk-MPAZH4BF.js → chunk-GBT7MJ6X.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-ZA25DG4Y.js → chunk-HJMNR3GC.js} +11 -11
- package/dist/assets/cesium/Workers/{chunk-JS3AW5BK.js → chunk-HP5XLODI.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-34YUDLRP.js → chunk-IBRIWOCM.js} +13 -13
- package/dist/assets/cesium/Workers/{chunk-XY7MGBKC.js → chunk-IZGUQO6Q.js} +14 -16
- package/dist/assets/cesium/Workers/{chunk-KTJSNCK4.js → chunk-IZJ42N4W.js} +230 -20
- package/dist/assets/cesium/Workers/{chunk-QMEMZIJI.js → chunk-JBSKHTNX.js} +4 -4
- package/dist/assets/cesium/Workers/{chunk-QIKODV5G.js → chunk-JISPSEF3.js} +4 -4
- package/dist/assets/cesium/Workers/{chunk-K36FEYS7.js → chunk-JSQJDZI4.js} +16 -12
- package/dist/assets/cesium/Workers/{chunk-X4SU25DT.js → chunk-JXVLNVXC.js} +10 -12
- package/dist/assets/cesium/Workers/chunk-KHZNBFOH.js +963 -0
- package/dist/assets/cesium/Workers/{chunk-KD4Y7CZL.js → chunk-L5GODJAR.js} +15 -17
- package/dist/assets/cesium/Workers/{chunk-O5AMBQ36.js → chunk-LJ2JQHJT.js} +13 -8
- package/dist/assets/cesium/Workers/{chunk-ABADGKYE.js → chunk-LLAF3CPH.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-CHHNOC2C.js → chunk-M24KHENR.js} +95 -155
- package/dist/assets/cesium/Workers/{chunk-2R5O53JW.js → chunk-NDDI2LWR.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-QT3MPEMI.js → chunk-NGZJIN5Z.js} +4 -4
- package/dist/assets/cesium/Workers/{chunk-ZFOBYDGF.js → chunk-O72GZTSE.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-IPA4EACJ.js → chunk-OPP2SKMA.js} +12 -12
- package/dist/assets/cesium/Workers/{chunk-4MFFIWUA.js → chunk-P6TRGU3S.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-GLZBE3ML.js → chunk-QN6TBED4.js} +13 -13
- package/dist/assets/cesium/Workers/{chunk-MYZB7C4T.js → chunk-QQOZO7KO.js} +10 -10
- package/dist/assets/cesium/Workers/{chunk-HQF437NJ.js → chunk-RJM36CNY.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-CTELOFLA.js → chunk-RTJKHZWU.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-J3JY6I2C.js → chunk-TI3TRKIC.js} +425 -489
- package/dist/assets/cesium/Workers/{chunk-OAVNIRB4.js → chunk-TK5IIG2F.js} +5 -7
- package/dist/assets/cesium/Workers/{chunk-WXTV4ATB.js → chunk-U5HSOKPQ.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-N3JIFFX2.js → chunk-WGDFYAGC.js} +5 -6
- package/dist/assets/cesium/Workers/{chunk-EW2GWJYB.js → chunk-X7IQYYHF.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-LLUNNUJV.js → chunk-XIUSRWL6.js} +9 -5
- package/dist/assets/cesium/Workers/{chunk-CCFQRR6D.js → chunk-XWOUPGUF.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-6BTKZDRG.js → chunk-YCDZX5LS.js} +3 -5
- package/dist/assets/cesium/Workers/{chunk-RP2A7BR5.js → chunk-YK3QIKY7.js} +12 -14
- package/dist/assets/cesium/Workers/{chunk-227AJNOA.js → chunk-YSIJTJ7N.js} +5 -5
- package/dist/assets/cesium/Workers/{chunk-A4JVFBQ3.js → chunk-Z2QP3CXW.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-VLGOATD6.js → chunk-ZVUUPJEM.js} +22 -22
- 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 +29 -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 +35 -19
- package/dist/assets/cesium/Workers/decodeI3S.js +600 -92
- package/dist/assets/cesium/Workers/transcodeKTX2.js +58 -93
- package/dist/assets/cesium/Workers/transferTypedArrayTest.js +1 -1
- package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +21 -22
- package/dist/assets/{cesium.0cabe2.js → cesium-9ea5ba6e.js} +54060 -48818
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.7122ed.js → core-9b003470.js} +7112 -5644
- package/dist/assets/core.js +1 -1
- package/dist/assets/{ol.086f00.js → ol-8373d6ac.js} +42074 -43270
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui-163311a7.css +1 -0
- package/dist/assets/ui-163311a7.js +35745 -0
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue-0f6dd813.js +6083 -0
- package/dist/assets/vue.js +1 -5
- package/dist/assets/vuetify-e2c4b35c.css +5 -0
- package/dist/assets/vuetify-e2c4b35c.js +24480 -0
- package/dist/assets/vuetify.js +1 -5
- package/dist/index.html +11 -11
- package/index.d.ts +53 -23
- package/index.html +5 -5
- package/index.js +29 -38
- package/lib/olLib.js +90 -23
- package/lib/vue.js +0 -1
- package/lib/vuetify.js +1 -2
- package/lib/vuetifyLib.js +6 -0
- package/package.json +38 -27
- 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/custom-icons-example/README.md +3 -0
- package/plugins/@vcmap-show-case/custom-icons-example/assets/imageExample.png +0 -0
- package/plugins/@vcmap-show-case/custom-icons-example/assets/svgExample.svg +1 -0
- package/plugins/@vcmap-show-case/custom-icons-example/package.json +5 -0
- package/plugins/@vcmap-show-case/custom-icons-example/src/CustomIconsExample.vue +90 -0
- package/plugins/@vcmap-show-case/custom-icons-example/src/index.js +45 -0
- 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 +44 -4
- package/plugins/@vcmap-show-case/form-inputs-example/src/FormInputsExample.vue +160 -168
- package/plugins/@vcmap-show-case/form-inputs-example/src/exampleActions.js +7 -11
- package/plugins/@vcmap-show-case/form-inputs-example/src/index.js +9 -10
- 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 +71 -88
- 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/plugin-editors/src/PluginEditors.vue +14 -11
- package/plugins/@vcmap-show-case/project-selector/src/ModulesListComponent.vue +18 -15
- 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 +76 -0
- package/plugins/@vcmap-show-case/search-example/src/searchImpl.js +129 -0
- package/plugins/@vcmap-show-case/simple-graph/src/SimpleGraphComponent.vue +1 -1
- package/plugins/@vcmap-show-case/style-input-example/src/StyleExample.vue +30 -91
- 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/theming-example/README.md +3 -0
- package/plugins/@vcmap-show-case/theming-example/package.json +5 -0
- package/plugins/@vcmap-show-case/theming-example/src/ThemingExample.vue +116 -0
- package/plugins/@vcmap-show-case/theming-example/src/index.js +53 -0
- package/plugins/@vcmap-show-case/toolbox-example/src/TriStateExampleWindow.vue +1 -1
- package/plugins/@vcmap-show-case/toolbox-example/src/index.js +2 -1
- package/plugins/@vcmap-show-case/vector-properties-example/src/GeometrySettings.vue +420 -0
- package/plugins/@vcmap-show-case/vector-properties-example/src/LayoutHandler.vue +97 -0
- package/plugins/@vcmap-show-case/vector-properties-example/src/TerrainSettings.vue +90 -0
- package/plugins/@vcmap-show-case/vector-properties-example/src/VectorPropertiesExample.vue +87 -71
- package/plugins/@vcmap-show-case/vector-properties-example/src/index.js +34 -1
- package/plugins/@vcmap-show-case/vector-properties-example/src/lib.js +294 -0
- 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/plugins/package.json +23 -21
- package/public/assets/@mdi/font/README.md +25 -0
- package/public/assets/@mdi/font/css/materialdesignicons.min.css +2 -2
- package/public/assets/@mdi/font/css/materialdesignicons.min.css.map +16 -0
- package/public/assets/@mdi/font/fonts/materialdesignicons-webfont.woff2 +0 -0
- package/src/actions/StyleSelector.vue +39 -53
- package/src/actions/StyleSelector.vue.d.ts +11 -9
- package/src/actions/actionHelper.d.ts +4 -11
- package/src/actions/actionHelper.js +41 -33
- package/src/actions/extentActions.d.ts +1 -2
- package/src/actions/extentActions.js +19 -8
- package/src/actions/flightActions.js +52 -31
- package/src/actions/listActions.d.ts +5 -12
- package/src/actions/listActions.js +8 -24
- package/src/actions/stateRefAction.js +5 -5
- package/src/application/VcsApp.vue +199 -97
- package/src/application/VcsApp.vue.d.ts +314 -9
- package/src/application/VcsAppWrapper.vue +2 -2
- package/src/application/VcsAppWrapper.vue.d.ts +2 -2
- package/src/application/VcsAttributions.vue +17 -32
- package/src/application/VcsAttributions.vue.d.ts +7 -7
- package/src/application/VcsAttributionsFooter.vue +28 -18
- package/src/application/VcsAttributionsFooter.vue.d.ts +3 -3
- package/src/application/VcsContainer.vue +38 -15
- package/src/application/VcsContainer.vue.d.ts +251 -2
- package/src/application/VcsMainMap.vue +12 -9
- package/src/application/VcsMainMap.vue.d.ts +3 -3
- package/src/application/VcsMap.vue +22 -23
- package/src/application/VcsMap.vue.d.ts +2 -2
- package/src/application/VcsNavbar.vue +74 -58
- package/src/application/VcsNavbar.vue.d.ts +12 -8
- package/src/application/VcsPositionDisplay.vue +34 -62
- package/src/application/VcsPositionDisplay.vue.d.ts +3 -4
- package/src/application/VcsSettings.vue +30 -25
- package/src/application/VcsSettings.vue.d.ts +2 -1
- package/src/application/VcsSplashScreen.vue +43 -56
- package/src/application/VcsSplashScreen.vue.d.ts +6 -8
- package/src/application/VcsTextPage.vue +13 -44
- package/src/application/VcsTextPage.vue.d.ts +4 -8
- package/src/application/VcsTextPageFooter.vue +26 -41
- package/src/application/VcsTextPageFooter.vue.d.ts +2 -2
- package/src/application/attributionsHelper.d.ts +22 -24
- package/src/application/attributionsHelper.js +23 -19
- package/src/callback/vcsCallback.d.ts +2 -2
- package/src/callback/vcsCallback.js +1 -1
- 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 +62 -20
- package/src/components/buttons/VcsActionButtonList.vue.d.ts +22 -3
- package/src/components/buttons/VcsButton.vue +76 -89
- 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 +93 -94
- package/src/components/buttons/VcsToolButton.vue.d.ts +21 -28
- package/src/components/composables.d.ts +26 -0
- package/src/components/composables.js +133 -0
- package/src/components/{form-inputs-controls → extent}/VcsExtent.vue +30 -22
- package/src/components/{form-inputs-controls → extent}/VcsExtent.vue.d.ts +11 -7
- package/src/components/extent/VcsExtentEditor.vue +80 -0
- package/src/components/extent/VcsExtentEditor.vue.d.ts +37 -0
- package/src/components/flight/VcsFlightAnchorsComponent.vue +68 -35
- package/src/components/flight/VcsFlightAnchorsComponent.vue.d.ts +6 -6
- package/src/components/flight/VcsFlightComponent.vue +27 -31
- package/src/components/flight/VcsFlightComponent.vue.d.ts +5 -4
- package/src/components/flight/VcsFlightEditor.vue +1 -0
- package/src/components/flight/VcsFlightEditor.vue.d.ts +2 -2
- package/src/components/flight/VcsFlightPlayer.vue +47 -20
- package/src/components/flight/VcsFlightPlayer.vue.d.ts +3 -3
- package/src/components/form-inputs-controls/VcsCheckbox.vue +77 -82
- package/src/components/form-inputs-controls/VcsCheckbox.vue.d.ts +23 -4
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue +130 -122
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue.d.ts +17 -23
- package/src/components/form-inputs-controls/VcsCoordinate.vue +43 -41
- package/src/components/form-inputs-controls/VcsCoordinate.vue.d.ts +14 -12
- package/src/components/form-inputs-controls/VcsDatePicker.vue +66 -105
- package/src/components/form-inputs-controls/VcsDatePicker.vue.d.ts +13 -13
- package/src/components/form-inputs-controls/VcsFileInput.vue +99 -0
- package/src/components/{notification/VcsTooltip.vue.d.ts → form-inputs-controls/VcsFileInput.vue.d.ts} +7 -6
- package/src/components/form-inputs-controls/VcsLabel.vue +72 -30
- package/src/components/form-inputs-controls/VcsLabel.vue.d.ts +33 -11
- package/src/components/form-inputs-controls/VcsRadio.vue +94 -102
- package/src/components/form-inputs-controls/VcsRadio.vue.d.ts +37 -9
- package/src/components/form-inputs-controls/VcsSelect.vue +175 -156
- package/src/components/form-inputs-controls/VcsSelect.vue.d.ts +40 -10
- package/src/components/form-inputs-controls/VcsSlider.vue +110 -53
- package/src/components/form-inputs-controls/VcsSlider.vue.d.ts +30 -1
- package/src/components/form-inputs-controls/VcsTextArea.vue +141 -143
- package/src/components/form-inputs-controls/VcsTextArea.vue.d.ts +14 -10
- package/src/components/form-inputs-controls/VcsTextField.vue +121 -274
- package/src/components/form-inputs-controls/VcsTextField.vue.d.ts +38 -26
- 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 +80 -60
- package/src/components/form-inputs-controls/VcsWizardStep.vue.d.ts +26 -13
- package/src/components/form-inputs-controls/vcsTextField.scss +86 -0
- package/src/components/form-output/VcsFormattedNumber.vue +54 -29
- package/src/components/form-output/VcsFormattedNumber.vue.d.ts +30 -20
- package/src/components/form-output/VcsMarkdown.vue +56 -0
- package/src/components/form-output/VcsMarkdown.vue.d.ts +17 -0
- package/src/components/form-output/markdownHelper.d.ts +30 -0
- package/src/components/form-output/markdownHelper.js +398 -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/VcsFileDrop.vue +83 -0
- package/src/components/import/VcsFileDrop.vue.d.ts +37 -0
- package/src/components/import/{ImportComponent.vue → VcsImportComponent.vue} +32 -16
- package/src/components/import/{ImportComponent.vue.d.ts → VcsImportComponent.vue.d.ts} +5 -3
- package/src/components/lists/VcsActionList.vue +48 -44
- package/src/components/lists/VcsActionList.vue.d.ts +5 -3
- package/src/components/lists/VcsList.vue +156 -236
- package/src/components/lists/VcsList.vue.d.ts +27 -75
- package/src/components/lists/VcsListItemComponent.vue +216 -0
- package/src/components/lists/VcsListItemComponent.vue.d.ts +83 -0
- package/src/components/lists/VcsTreeview.vue +159 -53
- package/src/components/lists/VcsTreeview.vue.d.ts +28 -7
- package/src/components/lists/VcsTreeviewSearchbar.vue +52 -85
- package/src/components/lists/VcsTreeviewSearchbar.vue.d.ts +4 -20
- package/src/components/lists/VcsTreeviewTitle.vue +40 -0
- package/src/components/lists/VcsTreeviewTitle.vue.d.ts +7 -0
- package/src/components/modelHelper.d.ts +38 -0
- package/src/components/modelHelper.js +130 -0
- package/src/components/notification/VcsBadge.vue +9 -7
- package/src/components/notification/VcsBadge.vue.d.ts +2 -2
- package/src/components/notification/VcsHelp.vue +22 -18
- package/src/components/notification/VcsHelp.vue.d.ts +2 -10
- package/src/components/notification/VcsHelpTooltip.vue +48 -0
- package/src/components/notification/VcsHelpTooltip.vue.d.ts +25 -0
- package/src/components/plugins/AbstractConfigEditor.vue +7 -28
- package/src/components/plugins/AbstractConfigEditor.vue.d.ts +7 -30
- package/src/components/section/VcsExpansionPanel.vue +111 -0
- package/src/components/section/VcsExpansionPanel.vue.d.ts +19 -0
- package/src/components/{form-inputs-controls → section}/VcsFormSection.vue +17 -11
- package/src/components/{form-inputs-controls → section}/VcsFormSection.vue.d.ts +6 -5
- package/src/components/style/MenuWrapper.vue +32 -35
- package/src/components/style/MenuWrapper.vue.d.ts +8 -8
- package/src/components/style/VcsFeatureStyleComponent.vue +2 -1
- package/src/components/style/VcsFeatureStyleComponent.vue.d.ts +7 -7
- package/src/components/style/VcsFillMenu.vue +12 -19
- package/src/components/style/VcsFillMenu.vue.d.ts +5 -23
- package/src/components/style/VcsFillSelector.vue +15 -18
- package/src/components/style/VcsFillSelector.vue.d.ts +5 -5
- package/src/components/style/VcsImageMenu.vue +14 -26
- package/src/components/style/VcsImageMenu.vue.d.ts +5 -32
- package/src/components/style/VcsImageSelector.vue +126 -179
- package/src/components/style/VcsImageSelector.vue.d.ts +21 -20
- package/src/components/style/VcsStrokeMenu.vue +12 -19
- package/src/components/style/VcsStrokeMenu.vue.d.ts +5 -23
- package/src/components/style/VcsStrokeSelector.vue +28 -26
- package/src/components/style/VcsStrokeSelector.vue.d.ts +6 -5
- package/src/components/style/VcsTextMenu.vue +16 -17
- package/src/components/style/VcsTextMenu.vue.d.ts +5 -14
- package/src/components/style/VcsTextSelector.vue +84 -97
- package/src/components/style/VcsTextSelector.vue.d.ts +25 -27
- package/src/components/style/VcsVectorStyleComponent.vue +11 -22
- package/src/components/style/VcsVectorStyleComponent.vue.d.ts +8 -8
- package/src/components/style/composables.d.ts +0 -14
- package/src/components/style/composables.js +0 -46
- package/src/components/tables/VcsDataTable.vue +167 -212
- package/src/components/tables/VcsDataTable.vue.d.ts +12 -37
- package/src/components/tables/VcsTable.vue +46 -67
- package/src/components/tables/VcsTable.vue.d.ts +34 -21
- package/src/components/tables/VcsTableCell.vue +72 -0
- package/src/components/tables/VcsTableCell.vue.d.ts +13 -0
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue +88 -52
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue.d.ts +13 -11
- package/src/components/vector-properties/VcsFeatureTransforms.vue +50 -7
- package/src/components/vector-properties/VcsFeatureTransforms.vue.d.ts +4 -3
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +543 -591
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue.d.ts +228 -30
- package/src/components/viewpoint/VcsViewpointComponent.vue +80 -112
- package/src/components/viewpoint/VcsViewpointComponent.vue.d.ts +15 -22
- package/src/components/viewpoint/VcsViewpointEditor.vue +5 -6
- package/src/components/viewpoint/VcsViewpointEditor.vue.d.ts +3 -3
- package/src/contentTree/LayerTree.vue +9 -6
- package/src/contentTree/LayerTree.vue.d.ts +3 -3
- package/src/contentTree/contentTreeCollection.d.ts +3 -2
- package/src/contentTree/contentTreeCollection.js +51 -19
- package/src/contentTree/contentTreeItem.d.ts +14 -14
- package/src/contentTree/contentTreeItem.js +16 -15
- package/src/contentTree/flightContentTreeItem.js +5 -4
- package/src/contentTree/layerContentTreeItem.d.ts +8 -5
- package/src/contentTree/layerContentTreeItem.js +48 -34
- package/src/contentTree/layerGroupContentTreeItem.d.ts +7 -1
- package/src/contentTree/layerGroupContentTreeItem.js +22 -3
- package/src/contentTree/viewpointContentTreeItem.d.ts +1 -1
- package/src/featureInfo/AddressBalloonComponent.vue +25 -27
- package/src/featureInfo/AddressBalloonComponent.vue.d.ts +1 -1
- package/src/featureInfo/BalloonComponent.vue +38 -39
- package/src/featureInfo/BalloonComponent.vue.d.ts +3 -2
- package/src/featureInfo/IframeComponent.vue +6 -1
- package/src/featureInfo/IframeComponent.vue.d.ts +2 -2
- package/src/featureInfo/MarkdownBalloonComponent.vue +5 -3
- package/src/featureInfo/MarkdownBalloonComponent.vue.d.ts +4 -4
- package/src/featureInfo/abstractFeatureInfoView.d.ts +23 -8
- package/src/featureInfo/abstractFeatureInfoView.js +40 -15
- package/src/featureInfo/balloonFeatureInfoView.d.ts +2 -2
- package/src/featureInfo/balloonFeatureInfoView.js +1 -1
- package/src/featureInfo/balloonHelper.js +1 -1
- package/src/featureInfo/featureInfo.d.ts +7 -7
- package/src/featureInfo/featureInfo.js +61 -43
- package/src/featureInfo/iframeFeatureInfoView.d.ts +8 -2
- package/src/featureInfo/iframeFeatureInfoView.js +15 -5
- package/src/featureInfo/markdownBalloonFeatureInfoView.d.ts +1 -1
- package/src/featureInfo/markdownBalloonFeatureInfoView.js +5 -5
- package/src/featureInfo/markdownFeatureInfoView.d.ts +1 -1
- package/src/featureInfo/markdownFeatureInfoView.js +9 -25
- package/src/featureInfo/tableFeatureInfoView.js +13 -4
- package/src/i18n/de.d.ts +129 -2
- package/src/i18n/de.js +37 -10
- package/src/i18n/en.d.ts +129 -2
- package/src/i18n/en.js +34 -7
- package/src/i18n/i18nCollection.d.ts +9 -15
- package/src/i18n/i18nCollection.js +3 -3
- package/src/init.d.ts +5 -38
- package/src/init.js +29 -30
- package/src/legend/StyleLegendItem.vue +27 -28
- package/src/legend/StyleLegendItem.vue.d.ts +3 -2
- package/src/legend/VcsLegend.vue +39 -62
- package/src/legend/VcsLegend.vue.d.ts +9 -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 +10 -8
- package/src/manager/collectionManager/CollectionComponent.vue +24 -44
- package/src/manager/collectionManager/CollectionComponent.vue.d.ts +16 -2
- package/src/manager/collectionManager/CollectionComponentContent.vue +12 -13
- package/src/manager/collectionManager/CollectionComponentContent.vue.d.ts +3 -1
- package/src/manager/collectionManager/CollectionComponentList.vue +13 -11
- package/src/manager/collectionManager/CollectionComponentList.vue.d.ts +7 -5
- package/src/manager/collectionManager/CollectionComponentProvider.vue +1 -1
- package/src/manager/collectionManager/CollectionComponentProvider.vue.d.ts +2 -2
- package/src/manager/collectionManager/CollectionComponentStandalone.vue +4 -3
- package/src/manager/collectionManager/CollectionComponentStandalone.vue.d.ts +1 -1
- package/src/manager/collectionManager/CollectionManager.vue +12 -10
- 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 +8 -8
- package/src/manager/collectionManager/collectionComponentClass.js +13 -16
- package/src/manager/collectionManager/collectionManager.d.ts +6 -5
- package/src/manager/collectionManager/collectionManager.js +14 -12
- package/src/manager/collectionManager/editorCollectionComponentClass.d.ts +1 -1
- package/src/manager/collectionManager/editorCollectionComponentClass.js +11 -8
- package/src/manager/contextMenu/ContextMenuComponent.vue +1 -1
- package/src/manager/contextMenu/ContextMenuComponent.vue.d.ts +2 -2
- package/src/manager/contextMenu/contextMenuManager.js +2 -2
- package/src/manager/navbarManager.js +2 -2
- package/src/manager/panel/PanelComponent.vue +2 -9
- package/src/manager/panel/PanelComponent.vue.d.ts +2 -2
- package/src/manager/panel/PanelManagerComponent.vue +16 -10
- package/src/manager/panel/PanelManagerComponent.vue.d.ts +4 -4
- package/src/manager/panel/panelHelper.js +3 -3
- package/src/manager/panel/panelManager.d.ts +15 -7
- package/src/manager/panel/panelManager.js +22 -10
- package/src/manager/toolbox/GroupToolboxComponent.vue +19 -37
- package/src/manager/toolbox/GroupToolboxComponent.vue.d.ts +4 -4
- package/src/manager/toolbox/SelectToolboxComponent.vue +19 -60
- package/src/manager/toolbox/SelectToolboxComponent.vue.d.ts +3 -3
- package/src/manager/toolbox/{ToolboxManager.vue → ToolboxManagerComponent.vue} +31 -37
- package/src/manager/toolbox/{ToolboxManager.vue.d.ts → ToolboxManagerComponent.vue.d.ts} +4 -2
- package/src/manager/toolbox/toolboxManager.d.ts +3 -3
- package/src/manager/toolbox/toolboxManager.js +12 -13
- package/src/manager/window/WindowComponent.vue +16 -11
- package/src/manager/window/WindowComponent.vue.d.ts +2 -2
- package/src/manager/window/WindowComponentHeader.vue +40 -12
- package/src/manager/window/WindowComponentHeader.vue.d.ts +6 -3
- package/src/manager/window/WindowManager.vue +9 -11
- package/src/manager/window/WindowManager.vue.d.ts +2 -2
- package/src/manager/window/windowManager.d.ts +99 -37
- package/src/manager/window/windowManager.js +58 -14
- package/src/navigation/MapNavCompass.vue.d.ts +3 -3
- package/src/navigation/MapNavigation.vue +60 -13
- package/src/navigation/MapNavigation.vue.d.ts +6 -3
- package/src/navigation/ObliqueRotation.vue +17 -19
- package/src/navigation/ObliqueRotation.vue.d.ts +5 -5
- package/src/navigation/OrientationToolsButton.vue +37 -21
- package/src/navigation/OrientationToolsButton.vue.d.ts +6 -2
- package/src/navigation/TiltSlider.vue +86 -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 +13 -15
- package/src/navigation/VcsZoomButton.vue.d.ts +2 -2
- package/src/navigation/locatorHelper.js +4 -22
- package/src/navigation/overviewMap.d.ts +1 -1
- package/src/navigation/overviewMap.js +7 -4
- package/src/notifier/NotifierComponent.vue +24 -24
- 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 +30 -17
- package/src/search/ResultItem.vue.d.ts +2 -2
- package/src/search/ResultsComponent.vue +40 -40
- package/src/search/ResultsComponent.vue.d.ts +4 -3
- package/src/search/SearchComponent.vue +20 -21
- package/src/search/SearchComponent.vue.d.ts +3 -2
- package/src/search/search.d.ts +2 -2
- package/src/search/search.js +8 -12
- package/src/setup.js +2 -2
- package/src/siteConfig.js +9 -9
- package/src/state.js +4 -4
- package/src/styles/_typography.scss +12 -9
- package/src/styles/main.scss +6 -7
- package/src/styles/vcsList.scss +8 -0
- package/src/uiConfig.d.ts +323 -7
- package/src/uiConfig.js +31 -17
- package/src/vcsUiApp.d.ts +190 -74
- package/src/vcsUiApp.js +100 -55
- package/src/vuePlugins/i18n.d.ts +8 -2
- package/src/vuePlugins/i18n.js +40 -11
- package/src/vuePlugins/vuetify.d.ts +107 -9
- package/src/vuePlugins/vuetify.js +287 -68
- package/dist/assets/@mdi/font/css/materialdesignicons.css.map +0 -16
- package/dist/assets/@mdi/font/css/materialdesignicons.min.e3f476.css +0 -3
- package/dist/assets/cesium/Workers/chunk-DUHWWBQQ.js +0 -3273
- package/dist/assets/cesium/Workers/chunk-QJ3DFBH3.js +0 -73
- package/dist/assets/index-12958251.js +0 -1
- package/dist/assets/ui.07c23d.css +0 -5
- package/dist/assets/ui.07c23d.js +0 -23876
- package/dist/assets/vue.67ce32.js +0 -4920
- package/dist/assets/vuetify.8284ec.css +0 -5
- package/dist/assets/vuetify.8284ec.js +0 -21263
- package/plugins/@vcmap-show-case/extent-example/src/ExtentExample.vue +0 -71
- package/plugins/@vcmap-show-case/theme-changer/README.md +0 -23
- package/plugins/@vcmap-show-case/theme-changer/config.json +0 -69
- package/plugins/@vcmap-show-case/theme-changer/package.json +0 -11
- package/plugins/@vcmap-show-case/theme-changer/src/ThemeChangerComponent.vue +0 -120
- package/plugins/@vcmap-show-case/theme-changer/src/index.js +0 -108
- package/public/assets/@mdi/font/css/materialdesignicons.css.map +0 -16
- package/src/application/VcsCustomScreen.vue +0 -45
- package/src/application/VcsCustomScreen.vue.d.ts +0 -15
- package/src/application/markdownHelper.d.ts +0 -12
- package/src/application/markdownHelper.js +0 -85
- 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 +0 -69
- package/src/components/import/FileDrop.vue.d.ts +0 -26
- package/src/components/lists/VcsTreeviewLeaf.vue +0 -82
- package/src/components/lists/VcsTreeviewLeaf.vue.d.ts +0 -19
- package/src/components/notification/VcsTooltip.vue +0 -160
- package/src/components/vector-properties/composables.d.ts +0 -33
- package/src/components/vector-properties/composables.js +0 -100
- package/src/styles/_theming.scss +0 -73
- package/src/styles/shades.scss +0 -4
- 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
- package/src/styles/variables.scss +0 -138
- package/src/styles/vcsFont.scss +0 -2
- package/src/styles/vcsGrid.scss +0 -13
- /package/dist/assets/{favicon-128.4c4ce5.png → favicon-128-4c4ce5df.png} +0 -0
- /package/dist/assets/{favicon-180.5b99c0.png → favicon-180-4c4ce5df.png} +0 -0
- /package/dist/assets/{favicon-192.0e205e.png → favicon-192-4c4ce5df.png} +0 -0
- /package/dist/assets/{favicon-32.6b9add.png → favicon-32-4c4ce5df.png} +0 -0
- /package/dist/assets/{favicon.d5ec97.svg → favicon-4c4ce5df.svg} +0 -0
- /package/dist/assets/font/{TitilliumWeb-Regular.9ca076.woff2 → TitilliumWeb-Regular-9ca076be.woff2} +0 -0
- /package/dist/assets/style/{icon-marker.70960f.png → icon-marker-70960f05.png} +0 -0
- /package/dist/assets/style/{icon-marker-blue.534e37.png → icon-marker-blue-534e374b.png} +0 -0
- /package/dist/assets/style/{icon-marker-green.0b6a92.png → icon-marker-green-0b6a92bc.png} +0 -0
- /package/dist/assets/style/{icon-marker-o.036477.png → icon-marker-o-036477fa.png} +0 -0
- /package/dist/assets/style/{icon-marker-o-blue.7b6d62.png → icon-marker-o-blue-7b6d6279.png} +0 -0
- /package/dist/assets/style/{icon-marker-o-green.c863c0.png → icon-marker-o-green-c863c0fa.png} +0 -0
- /package/dist/assets/style/{icon-marker-o-red.93ff58.png → icon-marker-o-red-93ff58df.png} +0 -0
- /package/dist/assets/style/{icon-marker-red.313d03.png → icon-marker-red-313d03e8.png} +0 -0
- /package/dist/assets/style/{icon-pin.b7ce77.png → icon-pin-b7ce771e.png} +0 -0
- /package/dist/assets/style/{icon-pin-blue.7be369.png → icon-pin-blue-7be369a3.png} +0 -0
- /package/dist/assets/style/{icon-pin-green.cbb935.png → icon-pin-green-cbb935fe.png} +0 -0
- /package/dist/assets/style/{icon-pin-red.3f25b2.png → icon-pin-red-3f25b245.png} +0 -0
- /package/public/assets/{favicon-128.png → favicon-128-4c4ce5df.png} +0 -0
- /package/public/assets/{favicon-180.png → favicon-180-4c4ce5df.png} +0 -0
- /package/public/assets/{favicon-192.png → favicon-192-4c4ce5df.png} +0 -0
- /package/public/assets/{favicon-32.png → favicon-32-4c4ce5df.png} +0 -0
- /package/public/assets/{favicon.svg → favicon-4c4ce5df.svg} +0 -0
@@ -1,108 +1,87 @@
|
|
1
1
|
<template>
|
2
2
|
<div
|
3
|
-
class="d-flex d-inline-block align-center
|
4
|
-
:class="{
|
3
|
+
class="d-flex d-inline-block align-center vcs-chip-array-input"
|
4
|
+
:class="{
|
5
|
+
'py-1': !paddingProvided,
|
6
|
+
}"
|
5
7
|
>
|
6
|
-
<
|
8
|
+
<VcsButton
|
7
9
|
v-if="hasScrollbar"
|
8
|
-
|
9
|
-
x-small
|
10
|
-
icon
|
11
|
-
:ripple="false"
|
12
|
-
elevation="0"
|
10
|
+
icon="mdi-chevron-left"
|
13
11
|
@click="vcsChipArrayInput.scrollLeft -= scrollDx"
|
14
|
-
|
15
|
-
<v-icon>mdi-chevron-left</v-icon>
|
16
|
-
</v-btn>
|
12
|
+
/>
|
17
13
|
<div
|
18
14
|
ref="vcsChipArrayInput"
|
19
|
-
class="d-flex d-inline-block mx-1 my-0"
|
15
|
+
class="d-flex d-inline-block mx-1 my-0 ga-1"
|
20
16
|
:class="{
|
21
17
|
'overflow-x-auto': !column,
|
22
18
|
'hide-scrollbar': !column,
|
23
|
-
row: column,
|
19
|
+
'v-row': column,
|
20
|
+
'row-gap': column,
|
24
21
|
}"
|
25
22
|
>
|
26
|
-
<div
|
27
|
-
v-for="(item, index) in value"
|
28
|
-
:key="index"
|
29
|
-
class="pr-1"
|
30
|
-
:class="{ 'pt-1': column }"
|
31
|
-
>
|
23
|
+
<div v-for="({ key, value }, index) in localValue" :key="key">
|
32
24
|
<v-chip
|
33
25
|
v-if="selected !== index"
|
34
|
-
|
35
|
-
:small="isDense"
|
26
|
+
size="small"
|
36
27
|
:disabled="disabled"
|
37
|
-
:
|
28
|
+
:closable="deletableChips"
|
38
29
|
@click="select(index)"
|
39
30
|
@click:close="remove(index)"
|
31
|
+
v-bind="{ ...noListenerAttrs }"
|
40
32
|
>
|
41
|
-
<span class="text-truncate d-inline-block">{{
|
33
|
+
<span class="text-truncate d-inline-block">{{ value }}</span>
|
42
34
|
</v-chip>
|
43
35
|
<VcsTextField
|
44
36
|
v-else
|
45
|
-
hide-details
|
46
|
-
:dense="isDense"
|
47
37
|
rounded
|
48
38
|
filled
|
49
39
|
autofocus
|
50
|
-
|
51
|
-
:height="24"
|
52
|
-
v-bind="{ ...$attrs }"
|
53
|
-
v-model="editValue"
|
40
|
+
hide-spin-buttons
|
54
41
|
@keydown.esc="selected = -1"
|
55
42
|
@blur="selected = -1"
|
56
43
|
@keydown.enter="submitChange($event)"
|
57
|
-
@click:append="submitChange($event)"
|
58
|
-
|
59
|
-
append-icon="mdi-check"
|
44
|
+
@click:append-inner="submitChange($event)"
|
45
|
+
append-inner-icon="mdi-check"
|
60
46
|
:style="{ width: `${inputWidth}px` }"
|
47
|
+
class="py-0"
|
48
|
+
v-bind="{ ...noListenerAttrs }"
|
49
|
+
v-model="editValue"
|
61
50
|
/>
|
62
51
|
</div>
|
63
|
-
<div
|
52
|
+
<div>
|
64
53
|
<v-chip
|
65
54
|
v-if="adding === false"
|
66
|
-
|
67
|
-
:small="isDense"
|
55
|
+
size="small"
|
68
56
|
:disabled="disabled"
|
69
57
|
@click="adding = true"
|
58
|
+
v-bind="{ ...noListenerAttrs }"
|
70
59
|
>
|
71
60
|
<v-icon>$vcsPlus</v-icon>
|
72
61
|
</v-chip>
|
73
62
|
<VcsTextField
|
74
63
|
v-else
|
75
|
-
hide-details
|
76
|
-
:dense="isDense"
|
77
64
|
rounded
|
78
65
|
filled
|
79
66
|
autofocus
|
80
|
-
|
81
|
-
:height="24"
|
82
|
-
class="vcs-inside-chip"
|
83
|
-
v-model="newValue"
|
84
|
-
v-bind="{ ...$attrs }"
|
67
|
+
hide-spin-buttons
|
85
68
|
@keydown.enter="add($event, newValue)"
|
69
|
+
@click:append-inner="add($event, newValue)"
|
86
70
|
@keydown.esc="cancel"
|
87
71
|
@blur="cancel"
|
88
|
-
|
89
|
-
@update:error="(err) => (isNewValid = !err)"
|
90
|
-
append-icon="mdi-check"
|
72
|
+
append-inner-icon="mdi-check"
|
91
73
|
:style="{ width: `${inputWidth}px` }"
|
74
|
+
class="py-0"
|
75
|
+
v-bind="{ ...noListenerAttrs }"
|
76
|
+
v-model="newValue"
|
92
77
|
/>
|
93
78
|
</div>
|
94
79
|
</div>
|
95
|
-
<
|
80
|
+
<VcsButton
|
96
81
|
v-if="hasScrollbar"
|
97
|
-
|
98
|
-
x-small
|
99
|
-
icon
|
100
|
-
:ripple="false"
|
101
|
-
elevation="0"
|
82
|
+
icon="mdi-chevron-right"
|
102
83
|
@click="vcsChipArrayInput.scrollLeft += scrollDx"
|
103
|
-
|
104
|
-
<v-icon>mdi-chevron-right</v-icon>
|
105
|
-
</v-btn>
|
84
|
+
/>
|
106
85
|
</div>
|
107
86
|
</template>
|
108
87
|
|
@@ -114,63 +93,51 @@
|
|
114
93
|
.hide-scrollbar::-webkit-scrollbar {
|
115
94
|
display: none;
|
116
95
|
}
|
117
|
-
.v-chip {
|
118
|
-
|
119
|
-
|
120
|
-
padding: 0 8px;
|
121
|
-
.v-chip__content {
|
122
|
-
display: flex;
|
123
|
-
}
|
96
|
+
.v-chip.v-chip--size-small {
|
97
|
+
--v-chip-height: calc(var(--v-vcs-font-size) * 2 - 2px);
|
98
|
+
padding: 0 calc(var(--v-vcs-font-size) - 3px);
|
124
99
|
}
|
125
|
-
.
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
}
|
131
|
-
}
|
132
|
-
.v-text-field--filled > .v-input__control > .v-input__slot,
|
133
|
-
.v-text-field--outlined > .v-input__control > .v-input__slot {
|
134
|
-
min-height: unset;
|
135
|
-
}
|
136
|
-
}
|
100
|
+
:deep(.v-icon--size-x-small) {
|
101
|
+
font-size: calc(var(--v-vcs-font-size) + 3px);
|
102
|
+
}
|
103
|
+
.row-gap {
|
104
|
+
row-gap: 8px !important;
|
137
105
|
}
|
138
106
|
</style>
|
139
107
|
|
140
108
|
<script>
|
141
|
-
import { computed, nextTick, onMounted, ref } from 'vue';
|
142
|
-
import {
|
109
|
+
import { computed, nextTick, onMounted, ref, shallowRef, watch } from 'vue';
|
110
|
+
import { VChip, VIcon } from 'vuetify/components';
|
111
|
+
import { v4 as uuid } from 'uuid';
|
112
|
+
import { usePadding } from '../composables.js';
|
113
|
+
import VcsButton from '../buttons/VcsButton.vue';
|
143
114
|
import VcsTextField from './VcsTextField.vue';
|
115
|
+
import { removeListenersFromAttrs } from '../attrsHelpers.js';
|
144
116
|
|
145
117
|
/**
|
146
118
|
* @description Renders elements of an array as chips with an input field to edit or add new elements.
|
147
|
-
* Provides two height options depending on "dense" property
|
148
119
|
* Provides VcsTooltip to show error messages on focus
|
149
120
|
* When clicking esc key, previous input is restored.
|
150
|
-
* @vue-prop {
|
121
|
+
* @vue-prop {T[]} modelValue
|
151
122
|
* @vue-prop {string} [type] - The input type (string or number)
|
152
123
|
* @vue-prop {boolean} [disabled] - Disables adding or removing new elements
|
153
124
|
* @vue-prop {boolean} [column] - Remove horizontal pagination and wrap items as needed
|
154
125
|
* @vue-prop {boolean} [scrollDx=20] - scroll amount in px
|
155
126
|
* @vue-prop {boolean} [deletableChips=true] - Adds a delete button to elements to remove them from array
|
156
|
-
* @vue-prop {number} [inputWidth=
|
127
|
+
* @vue-prop {number} [inputWidth=75] - Width of the text fields in px.
|
157
128
|
*/
|
158
129
|
export default {
|
159
130
|
name: 'VcsChipArrayInput',
|
160
131
|
components: {
|
161
|
-
|
132
|
+
VcsButton,
|
162
133
|
VcsTextField,
|
163
134
|
VChip,
|
164
135
|
VIcon,
|
165
136
|
},
|
166
137
|
props: {
|
167
|
-
|
138
|
+
modelValue: {
|
168
139
|
type: Array,
|
169
|
-
|
170
|
-
},
|
171
|
-
tooltipPosition: {
|
172
|
-
type: String,
|
173
|
-
default: 'right',
|
140
|
+
default: () => [],
|
174
141
|
},
|
175
142
|
deletableChips: {
|
176
143
|
type: Boolean,
|
@@ -178,7 +145,7 @@
|
|
178
145
|
},
|
179
146
|
inputWidth: {
|
180
147
|
type: Number,
|
181
|
-
default:
|
148
|
+
default: 75,
|
182
149
|
},
|
183
150
|
disabled: {
|
184
151
|
type: Boolean,
|
@@ -193,27 +160,14 @@
|
|
193
160
|
default: 20,
|
194
161
|
},
|
195
162
|
},
|
163
|
+
emits: ['update:modelValue'],
|
196
164
|
setup(props, { attrs, emit }) {
|
197
165
|
const selected = ref(-1);
|
198
166
|
const adding = ref(false);
|
199
|
-
const
|
200
|
-
const
|
201
|
-
const isNewValid = ref(true);
|
202
|
-
const newValue = ref(undefined);
|
167
|
+
const editValue = ref(null);
|
168
|
+
const newValue = ref(null);
|
203
169
|
const vcsChipArrayInput = ref();
|
204
170
|
const hasScrollbar = ref();
|
205
|
-
const isDense = computed(() => attrs.dense !== false);
|
206
|
-
|
207
|
-
function emitValue(value) {
|
208
|
-
if (attrs.type === 'number') {
|
209
|
-
emit(
|
210
|
-
'input',
|
211
|
-
value.map((v) => parseFloat(v)),
|
212
|
-
);
|
213
|
-
} else {
|
214
|
-
emit('input', value);
|
215
|
-
}
|
216
|
-
}
|
217
171
|
|
218
172
|
function updateHasScrollbar() {
|
219
173
|
if (!props.column) {
|
@@ -226,57 +180,111 @@
|
|
226
180
|
|
227
181
|
onMounted(() => updateHasScrollbar());
|
228
182
|
|
183
|
+
function isValid(value) {
|
184
|
+
if (attrs.rules) {
|
185
|
+
return !attrs.rules.some((r) => {
|
186
|
+
if (typeof r === 'function') {
|
187
|
+
return r(value) !== true;
|
188
|
+
}
|
189
|
+
return r !== true;
|
190
|
+
});
|
191
|
+
}
|
192
|
+
return true;
|
193
|
+
}
|
194
|
+
|
195
|
+
function parseValue(value) {
|
196
|
+
return attrs.type === 'number' ? parseFloat(value) : value;
|
197
|
+
}
|
198
|
+
|
199
|
+
function mapModelValue(modelValue) {
|
200
|
+
return modelValue.map((value) => ({
|
201
|
+
key: uuid(),
|
202
|
+
value: parseValue(value),
|
203
|
+
}));
|
204
|
+
}
|
205
|
+
|
206
|
+
function emitValue(value) {
|
207
|
+
emit(
|
208
|
+
'update:modelValue',
|
209
|
+
value.map((i) => i.value),
|
210
|
+
);
|
211
|
+
}
|
212
|
+
|
213
|
+
const localValue = shallowRef(mapModelValue(props.modelValue));
|
214
|
+
|
215
|
+
watch(
|
216
|
+
() => props.modelValue,
|
217
|
+
() => {
|
218
|
+
localValue.value = mapModelValue(props.modelValue);
|
219
|
+
},
|
220
|
+
);
|
221
|
+
|
229
222
|
function remove(index) {
|
230
|
-
|
223
|
+
localValue.value.splice(index, 1);
|
224
|
+
emitValue(localValue.value);
|
231
225
|
updateHasScrollbar();
|
232
226
|
}
|
233
227
|
|
234
228
|
function select(index) {
|
235
229
|
if (!props.disabled) {
|
236
230
|
selected.value = index;
|
237
|
-
editValue.value =
|
231
|
+
editValue.value = localValue.value[index].value;
|
238
232
|
}
|
239
233
|
}
|
240
234
|
|
241
235
|
function submitChange(e) {
|
242
236
|
e.stopPropagation();
|
243
237
|
e.preventDefault();
|
244
|
-
|
245
|
-
|
246
|
-
|
238
|
+
const value = parseValue(editValue.value);
|
239
|
+
if (!isValid(value)) {
|
240
|
+
return;
|
247
241
|
}
|
242
|
+
localValue.value[selected.value].value = value;
|
243
|
+
emitValue(localValue.value);
|
244
|
+
selected.value = -1;
|
248
245
|
}
|
249
246
|
|
250
247
|
function cancel() {
|
251
|
-
newValue.value =
|
248
|
+
newValue.value = null;
|
252
249
|
adding.value = false;
|
253
250
|
}
|
254
251
|
|
255
|
-
async function add(e,
|
252
|
+
async function add(e, v) {
|
256
253
|
e.stopPropagation();
|
257
254
|
e.preventDefault();
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
await nextTick();
|
264
|
-
vcsChipArrayInput.value.scrollLeft =
|
265
|
-
vcsChipArrayInput.value.scrollWidth;
|
255
|
+
|
256
|
+
if (v) {
|
257
|
+
const value = parseValue(v);
|
258
|
+
if (!isValid(value)) {
|
259
|
+
return;
|
266
260
|
}
|
267
|
-
|
268
|
-
|
261
|
+
localValue.value.push({
|
262
|
+
key: uuid(),
|
263
|
+
value,
|
264
|
+
});
|
265
|
+
emitValue(localValue.value);
|
266
|
+
await nextTick();
|
267
|
+
updateHasScrollbar();
|
268
|
+
await nextTick();
|
269
|
+
vcsChipArrayInput.value.scrollLeft =
|
270
|
+
vcsChipArrayInput.value.scrollWidth;
|
269
271
|
}
|
272
|
+
newValue.value = null;
|
273
|
+
adding.value = true;
|
270
274
|
}
|
271
275
|
|
276
|
+
const noListenerAttrs = computed(() => removeListenersFromAttrs(attrs));
|
277
|
+
|
278
|
+
const paddingProvided = usePadding(attrs);
|
279
|
+
|
272
280
|
return {
|
281
|
+
paddingProvided,
|
282
|
+
localValue,
|
283
|
+
noListenerAttrs,
|
273
284
|
selected,
|
274
285
|
adding,
|
275
286
|
editValue,
|
276
|
-
isEditValid,
|
277
287
|
newValue,
|
278
|
-
isNewValid,
|
279
|
-
isDense,
|
280
288
|
vcsChipArrayInput,
|
281
289
|
hasScrollbar,
|
282
290
|
remove,
|
@@ -1,11 +1,7 @@
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
2
|
-
|
2
|
+
modelValue: {
|
3
3
|
type: ArrayConstructor;
|
4
|
-
|
5
|
-
};
|
6
|
-
tooltipPosition: {
|
7
|
-
type: StringConstructor;
|
8
|
-
default: string;
|
4
|
+
default: () => never[];
|
9
5
|
};
|
10
6
|
deletableChips: {
|
11
7
|
type: BooleanConstructor;
|
@@ -28,28 +24,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
28
24
|
default: number;
|
29
25
|
};
|
30
26
|
}, {
|
27
|
+
paddingProvided: import("vue").ComputedRef<boolean>;
|
28
|
+
localValue: import("vue").ShallowRef<any>;
|
29
|
+
noListenerAttrs: import("vue").ComputedRef<Record<string, unknown>>;
|
31
30
|
selected: import("vue").Ref<number>;
|
32
31
|
adding: import("vue").Ref<boolean>;
|
33
|
-
editValue: import("vue").Ref<
|
34
|
-
|
35
|
-
newValue: import("vue").Ref<undefined>;
|
36
|
-
isNewValid: import("vue").Ref<boolean>;
|
37
|
-
isDense: import("vue").ComputedRef<boolean>;
|
32
|
+
editValue: import("vue").Ref<null>;
|
33
|
+
newValue: import("vue").Ref<null>;
|
38
34
|
vcsChipArrayInput: import("vue").Ref<any>;
|
39
35
|
hasScrollbar: import("vue").Ref<any>;
|
40
36
|
remove: (index: any) => void;
|
41
37
|
select: (index: any) => void;
|
42
38
|
submitChange: (e: any) => void;
|
43
|
-
add: (e: any,
|
39
|
+
add: (e: any, v: any) => Promise<void>;
|
44
40
|
cancel: () => void;
|
45
|
-
},
|
46
|
-
|
41
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
42
|
+
modelValue: {
|
47
43
|
type: ArrayConstructor;
|
48
|
-
|
49
|
-
};
|
50
|
-
tooltipPosition: {
|
51
|
-
type: StringConstructor;
|
52
|
-
default: string;
|
44
|
+
default: () => never[];
|
53
45
|
};
|
54
46
|
deletableChips: {
|
55
47
|
type: BooleanConstructor;
|
@@ -71,12 +63,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
71
63
|
type: NumberConstructor;
|
72
64
|
default: number;
|
73
65
|
};
|
74
|
-
}
|
75
|
-
|
66
|
+
}>> & {
|
67
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
68
|
+
}, {
|
76
69
|
disabled: boolean;
|
77
|
-
|
70
|
+
modelValue: unknown[];
|
78
71
|
deletableChips: boolean;
|
79
72
|
inputWidth: number;
|
73
|
+
column: boolean;
|
80
74
|
scrollDx: number;
|
81
|
-
}>;
|
75
|
+
}, {}>;
|
82
76
|
export default _default;
|
@@ -1,24 +1,33 @@
|
|
1
1
|
<template>
|
2
|
-
<v-row
|
2
|
+
<v-row
|
3
|
+
no-gutters
|
4
|
+
v-if="localValue"
|
5
|
+
class="vcs-coordinate"
|
6
|
+
:class="{
|
7
|
+
'py-1': !paddingProvided,
|
8
|
+
}"
|
9
|
+
>
|
3
10
|
<slot name="prepend" v-bind="{ ...$props }" />
|
4
|
-
<
|
5
|
-
<
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
11
|
+
<template v-for="(_, idx) in localValue">
|
12
|
+
<v-col :key="`coordinate-${idx}`" v-if="!hideZ || idx < 2">
|
13
|
+
<VcsTextField
|
14
|
+
:hide-spin-buttons="true"
|
15
|
+
type="number"
|
16
|
+
class="py-0"
|
17
|
+
:min="getRangeFromExtent(idx, extent)?.[0]"
|
18
|
+
:max="getRangeFromExtent(idx, extent)?.[1]"
|
19
|
+
:step="steps[idx]"
|
20
|
+
:unit="units[idx]"
|
21
|
+
:prefix="prefixes[idx]"
|
22
|
+
force-prefix
|
23
|
+
:decimals="decimals[idx]"
|
24
|
+
v-bind="noListenerAttrs"
|
25
|
+
v-model.number="localValue[idx]"
|
26
|
+
:rules="getRulesForAxis(idx)"
|
27
|
+
/>
|
28
|
+
</v-col>
|
29
|
+
</template>
|
30
|
+
|
22
31
|
<slot name="append" v-bind="{ ...$props }" />
|
23
32
|
</v-row>
|
24
33
|
</template>
|
@@ -27,10 +36,12 @@
|
|
27
36
|
|
28
37
|
<script>
|
29
38
|
import { computed } from 'vue';
|
30
|
-
import { VRow, VCol } from 'vuetify/
|
31
|
-
import { Extent } from '@vcmap/core';
|
39
|
+
import { VRow, VCol } from 'vuetify/components';
|
32
40
|
import VcsTextField from './VcsTextField.vue';
|
33
41
|
import { between } from '../style/composables.js';
|
42
|
+
import { useProxiedComplexModel } from '../modelHelper.js';
|
43
|
+
import { removeListenersFromAttrs } from '../attrsHelpers.js';
|
44
|
+
import { usePadding } from '../composables.js';
|
34
45
|
|
35
46
|
/**
|
36
47
|
*
|
@@ -59,7 +70,7 @@
|
|
59
70
|
/**
|
60
71
|
* @description An input for a coordinate providing a VcsTextField for each dimension.
|
61
72
|
* All attrs and listeners are forwarded to the input fields.
|
62
|
-
* @vue-prop {import("ol").Coordinate}
|
73
|
+
* @vue-prop {import("ol").Coordinate} modelValue - A coordinate, with x, y and optionally z value.
|
63
74
|
* @vue-prop {boolean} [hideZ=false] - Hide z input field.
|
64
75
|
* @vue-prop {Array<string>} [prefixes=['X','Y','Z']] - An optional array of length three, with prefixes for each input
|
65
76
|
* @vue-prop {Array<string>} [units=['°','°','m']] - An optional array of length three, with units for each input
|
@@ -72,13 +83,14 @@
|
|
72
83
|
*/
|
73
84
|
export default {
|
74
85
|
name: 'VcsCoordinate',
|
86
|
+
inheritAttrs: false,
|
75
87
|
components: {
|
76
88
|
VRow,
|
77
89
|
VCol,
|
78
90
|
VcsTextField,
|
79
91
|
},
|
80
92
|
props: {
|
81
|
-
|
93
|
+
modelValue: {
|
82
94
|
type: Array,
|
83
95
|
default: () => [0, 0, 0],
|
84
96
|
},
|
@@ -104,33 +116,23 @@
|
|
104
116
|
},
|
105
117
|
extent: {
|
106
118
|
type: Array,
|
107
|
-
default: () =>
|
119
|
+
default: () => [-180, -90, 180, 90],
|
108
120
|
},
|
109
121
|
axisRules: {
|
110
122
|
type: Array,
|
111
123
|
default: () => [[], [], []],
|
112
124
|
},
|
113
125
|
},
|
126
|
+
emits: ['update:modelValue'],
|
114
127
|
setup(props, { attrs, emit }) {
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
const coordinate = computed({
|
119
|
-
get() {
|
120
|
-
return props.value?.slice(0, props.hideZ ? 2 : 3);
|
121
|
-
},
|
122
|
-
set(value) {
|
123
|
-
emitInput(value);
|
124
|
-
},
|
125
|
-
});
|
128
|
+
const localValue = useProxiedComplexModel(props, 'modelValue', emit);
|
129
|
+
const noListenerAttrs = computed(() => removeListenersFromAttrs(attrs));
|
130
|
+
const paddingProvided = usePadding(attrs);
|
126
131
|
|
127
132
|
return {
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
const { input, ...rest } = listener;
|
132
|
-
return rest;
|
133
|
-
},
|
133
|
+
paddingProvided,
|
134
|
+
localValue,
|
135
|
+
noListenerAttrs,
|
134
136
|
getRangeFromExtent,
|
135
137
|
getRulesForAxis(idx) {
|
136
138
|
const rules = [];
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
2
|
-
|
2
|
+
modelValue: {
|
3
3
|
type: ArrayConstructor;
|
4
4
|
default: () => number[];
|
5
5
|
};
|
@@ -25,20 +25,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
25
25
|
};
|
26
26
|
extent: {
|
27
27
|
type: ArrayConstructor;
|
28
|
-
default: () =>
|
28
|
+
default: () => number[];
|
29
29
|
};
|
30
30
|
axisRules: {
|
31
31
|
type: ArrayConstructor;
|
32
32
|
default: () => never[][];
|
33
33
|
};
|
34
34
|
}, {
|
35
|
-
|
36
|
-
|
37
|
-
|
35
|
+
paddingProvided: import("vue").ComputedRef<boolean>;
|
36
|
+
localValue: import("vue").Ref<any>;
|
37
|
+
noListenerAttrs: import("vue").ComputedRef<Record<string, unknown>>;
|
38
38
|
getRangeFromExtent: typeof getRangeFromExtent;
|
39
39
|
getRulesForAxis(idx: any): any[];
|
40
|
-
},
|
41
|
-
|
40
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
41
|
+
modelValue: {
|
42
42
|
type: ArrayConstructor;
|
43
43
|
default: () => number[];
|
44
44
|
};
|
@@ -64,14 +64,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
64
64
|
};
|
65
65
|
extent: {
|
66
66
|
type: ArrayConstructor;
|
67
|
-
default: () =>
|
67
|
+
default: () => number[];
|
68
68
|
};
|
69
69
|
axisRules: {
|
70
70
|
type: ArrayConstructor;
|
71
71
|
default: () => never[][];
|
72
72
|
};
|
73
|
-
}
|
74
|
-
|
73
|
+
}>> & {
|
74
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
75
|
+
}, {
|
76
|
+
modelValue: unknown[];
|
75
77
|
decimals: unknown[];
|
76
78
|
extent: unknown[];
|
77
79
|
hideZ: boolean;
|
@@ -79,7 +81,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
79
81
|
units: unknown[];
|
80
82
|
steps: unknown[];
|
81
83
|
axisRules: unknown[];
|
82
|
-
}>;
|
84
|
+
}, {}>;
|
83
85
|
export default _default;
|
84
86
|
/**
|
85
87
|
*
|
@@ -87,4 +89,4 @@ export default _default;
|
|
87
89
|
* @param {import("ol/extent").Extent} extent
|
88
90
|
* @returns {undefined|number[]}
|
89
91
|
*/
|
90
|
-
declare function getRangeFromExtent(idx: number, extent:
|
92
|
+
declare function getRangeFromExtent(idx: number, extent: import("ol/extent").Extent): undefined | number[];
|