@vcmap/ui 6.0.0-rc.1 → 6.0.0-rc.3
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 +40 -60
- package/build/buildHelpers.js +2 -8
- package/build/info/conf.json +1 -1
- package/config/base.config.json +4 -4
- package/config/projects.config.json +2 -1
- package/config/splashscreen.config.json +45 -0
- package/dist/.htaccess +7 -0
- package/dist/assets/@mdi/font/README.md +25 -0
- package/dist/assets/@mdi/font/css/materialdesignicons.min-7a4f6be0.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-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.6b12b4.js → cesium-cb4dbfba.js} +151166 -145641
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.074b78.js → core-72f21835.js} +2299 -2225
- package/dist/assets/core.js +1 -1
- package/dist/assets/{ol.8b2e3a.js → ol-2d33bc8b.js} +42505 -44282
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui-2ab43a16.css +1 -0
- package/dist/assets/{ui.715986.js → ui-2ab43a16.js} +12001 -11136
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +1 -1
- package/dist/assets/{vuetify.28d881.css → vuetify-760ced3b.css} +1 -1
- package/dist/assets/{vuetify.28d881.js → vuetify-760ced3b.js} +5720 -5662
- package/dist/assets/vuetify.js +1 -1
- package/dist/index.html +11 -10
- package/index.d.ts +9 -5
- package/index.html +5 -5
- package/index.js +4 -3
- package/lib/olLib.js +84 -23
- package/package.json +10 -9
- package/plugins/@vcmap-show-case/flight-component-example/src/FlightExample.vue +41 -1
- package/plugins/@vcmap-show-case/form-inputs-example/src/FormInputsExample.vue +70 -30
- package/plugins/@vcmap-show-case/form-inputs-example/src/exampleActions.js +7 -11
- package/plugins/@vcmap-show-case/form-inputs-example/src/index.js +2 -2
- package/plugins/@vcmap-show-case/list-example/src/ListExample.vue +45 -94
- package/plugins/@vcmap-show-case/style-input-example/src/StyleExample.vue +29 -90
- package/plugins/@vcmap-show-case/vector-properties-example/src/VectorPropertiesExample.vue +35 -10
- package/plugins/@vcmap-show-case/wizard-example/src/WizardExample.vue +40 -54
- 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/actionHelper.js +20 -20
- package/src/actions/flightActions.js +5 -5
- package/src/actions/listActions.d.ts +0 -7
- package/src/actions/listActions.js +4 -20
- package/src/actions/stateRefAction.js +2 -2
- package/src/application/VcsApp.vue +53 -29
- package/src/application/VcsApp.vue.d.ts +1 -0
- package/src/application/VcsAttributions.vue +2 -13
- package/src/application/VcsAttributionsFooter.vue +10 -11
- package/src/application/VcsNavbar.vue.d.ts +1 -1
- package/src/application/VcsPositionDisplay.vue +8 -23
- package/src/application/VcsPositionDisplay.vue.d.ts +0 -1
- package/src/application/VcsSettings.vue +10 -17
- package/src/application/VcsSplashScreen.vue +34 -54
- package/src/application/VcsSplashScreen.vue.d.ts +4 -6
- package/src/application/VcsTextPage.vue +13 -44
- package/src/application/VcsTextPage.vue.d.ts +4 -8
- package/src/application/VcsTextPageFooter.vue +22 -40
- package/src/application/markdownHelper.js +2 -17
- package/src/components/buttons/VcsButton.vue +1 -1
- package/src/components/buttons/VcsButton.vue.d.ts +3 -3
- package/src/components/buttons/VcsFormButton.vue +1 -1
- package/src/components/buttons/VcsFormButton.vue.d.ts +2 -2
- package/src/components/buttons/VcsToolButton.vue +1 -1
- package/src/components/buttons/VcsToolButton.vue.d.ts +4 -4
- package/src/components/composables.d.ts +7 -0
- package/src/components/composables.js +35 -1
- package/src/components/extent/VcsExtentEditor.vue +1 -1
- package/src/components/flight/VcsFlightAnchorsComponent.vue +63 -36
- package/src/components/flight/VcsFlightComponent.vue +16 -21
- package/src/components/flight/VcsFlightPlayer.vue +27 -5
- package/src/components/form-inputs-controls/VcsCheckbox.vue +19 -11
- package/src/components/form-inputs-controls/VcsCheckbox.vue.d.ts +1 -0
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue +1 -1
- package/src/components/form-inputs-controls/VcsCoordinate.vue +13 -1
- package/src/components/form-inputs-controls/VcsCoordinate.vue.d.ts +5 -2
- package/src/components/form-inputs-controls/VcsDatePicker.vue +34 -60
- package/src/components/form-inputs-controls/VcsDatePicker.vue.d.ts +2 -64
- package/src/components/form-inputs-controls/VcsFileInput.vue +18 -19
- package/src/components/form-inputs-controls/VcsFileInput.vue.d.ts +1 -0
- package/src/components/form-inputs-controls/VcsLabel.vue +31 -1
- package/src/components/form-inputs-controls/VcsLabel.vue.d.ts +21 -1
- package/src/components/form-inputs-controls/VcsRadio.vue +19 -5
- package/src/components/form-inputs-controls/VcsRadio.vue.d.ts +1 -0
- package/src/components/form-inputs-controls/VcsSelect.vue +44 -41
- package/src/components/form-inputs-controls/VcsSelect.vue.d.ts +7 -4
- package/src/components/form-inputs-controls/VcsSlider.vue +49 -10
- package/src/components/form-inputs-controls/VcsSlider.vue.d.ts +28 -2
- package/src/components/form-inputs-controls/VcsTextArea.vue +54 -35
- package/src/components/form-inputs-controls/VcsTextArea.vue.d.ts +1 -0
- package/src/components/form-inputs-controls/VcsTextField.vue +21 -14
- package/src/components/form-inputs-controls/VcsTextField.vue.d.ts +1 -0
- package/src/components/form-inputs-controls/VcsWizard.vue +89 -112
- package/src/components/form-inputs-controls/VcsWizard.vue.d.ts +3 -13
- package/src/components/form-inputs-controls/VcsWizardStep.vue +75 -57
- package/src/components/form-inputs-controls/VcsWizardStep.vue.d.ts +24 -11
- package/src/components/form-inputs-controls/vcsTextField.scss +13 -8
- package/src/components/form-output/VcsFormattedNumber.vue +40 -10
- package/src/components/form-output/VcsFormattedNumber.vue.d.ts +27 -0
- package/src/components/form-output/VcsMarkdown.vue +53 -0
- package/src/{application/VcsCustomScreen.vue.d.ts → components/form-output/VcsMarkdown.vue.d.ts} +6 -5
- package/src/components/lists/VcsActionList.vue +50 -34
- package/src/components/lists/VcsActionList.vue.d.ts +3 -1
- package/src/components/lists/VcsList.vue +82 -158
- package/src/components/lists/VcsList.vue.d.ts +7 -14
- package/src/components/lists/VcsListItem.vue +184 -0
- package/src/components/lists/VcsListItem.vue.d.ts +27 -0
- package/src/components/lists/VcsTreeviewLeaf.vue +1 -1
- package/src/components/modelHelper.d.ts +11 -0
- package/src/components/modelHelper.js +42 -2
- package/src/components/section/VcsExpansionPanel.vue +101 -0
- package/src/components/section/VcsExpansionPanel.vue.d.ts +19 -0
- package/src/components/style/MenuWrapper.vue +24 -26
- package/src/components/style/MenuWrapper.vue.d.ts +4 -4
- package/src/components/style/VcsFillMenu.vue +9 -16
- package/src/components/style/VcsFillMenu.vue.d.ts +0 -18
- package/src/components/style/VcsFillSelector.vue +13 -16
- package/src/components/style/VcsImageMenu.vue +8 -25
- package/src/components/style/VcsImageMenu.vue.d.ts +0 -27
- package/src/components/style/VcsImageSelector.vue +102 -167
- package/src/components/style/VcsImageSelector.vue.d.ts +15 -15
- package/src/components/style/VcsStrokeMenu.vue +8 -15
- package/src/components/style/VcsStrokeMenu.vue.d.ts +0 -18
- package/src/components/style/VcsStrokeSelector.vue +11 -18
- package/src/components/style/VcsTextMenu.vue +9 -12
- package/src/components/style/VcsTextMenu.vue.d.ts +0 -9
- package/src/components/style/VcsTextSelector.vue +79 -95
- package/src/components/style/VcsTextSelector.vue.d.ts +20 -22
- package/src/components/style/VcsVectorStyleComponent.vue +7 -18
- package/src/components/style/VcsVectorStyleComponent.vue.d.ts +1 -1
- package/src/components/style/composables.d.ts +0 -14
- package/src/components/style/composables.js +0 -49
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue +53 -12
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue.d.ts +3 -3
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +475 -586
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue.d.ts +193 -22
- package/src/components/viewpoint/VcsViewpointComponent.vue +21 -8
- package/src/components/viewpoint/VcsViewpointEditor.vue +1 -0
- package/src/contentTree/contentTreeItem.d.ts +2 -2
- package/src/contentTree/contentTreeItem.js +7 -7
- package/src/featureInfo/featureInfo.js +8 -10
- package/src/init.d.ts +5 -38
- package/src/init.js +19 -18
- package/src/legend/StyleLegendItem.vue +4 -9
- package/src/legend/VcsLegend.vue +28 -54
- package/src/manager/buttonManager.js +4 -4
- package/src/manager/collectionManager/CollectionComponent.vue +17 -42
- package/src/manager/collectionManager/CollectionComponent.vue.d.ts +4 -2
- package/src/manager/collectionManager/CollectionComponentContent.vue +7 -6
- package/src/manager/collectionManager/CollectionComponentContent.vue.d.ts +3 -1
- package/src/manager/collectionManager/CollectionComponentList.vue +10 -8
- package/src/manager/collectionManager/CollectionComponentList.vue.d.ts +4 -2
- package/src/manager/collectionManager/CollectionComponentProvider.vue +1 -1
- package/src/manager/collectionManager/CollectionComponentStandalone.vue +3 -2
- package/src/manager/collectionManager/CollectionManager.vue +1 -1
- package/src/manager/collectionManager/collectionComponentClass.js +6 -9
- package/src/manager/collectionManager/collectionManager.js +10 -10
- package/src/manager/collectionManager/editorCollectionComponentClass.js +4 -4
- package/src/manager/contextMenu/contextMenuManager.js +2 -2
- package/src/manager/navbarManager.js +2 -2
- package/src/manager/panel/panelManager.js +3 -3
- package/src/manager/toolbox/toolboxManager.js +10 -10
- package/src/manager/window/windowManager.d.ts +6 -6
- package/src/manager/window/windowManager.js +6 -6
- package/src/navigation/MapNavigation.vue +6 -3
- package/src/navigation/OrientationToolsButton.vue +39 -26
- package/src/navigation/OrientationToolsButton.vue.d.ts +5 -1
- package/src/navigation/TiltSlider.vue +83 -88
- package/src/navigation/TiltSlider.vue.d.ts +10 -7
- package/src/navigation/VcsCompass.vue +17 -11
- package/src/navigation/VcsCompass.vue.d.ts +2 -0
- package/src/search/search.js +2 -2
- package/src/siteConfig.js +1 -1
- package/src/state.js +4 -4
- package/src/styles/_typography.scss +1 -0
- package/src/vcsUiApp.d.ts +24 -26
- package/src/vcsUiApp.js +11 -4
- package/src/vuePlugins/i18n.js +7 -0
- package/src/vuePlugins/vuetify.d.ts +2 -0
- package/src/vuePlugins/vuetify.js +15 -0
- 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-ca7EmZ3d.js +0 -1
- package/dist/assets/ui.715986.css +0 -1
- package/public/assets/@mdi/font/css/materialdesignicons.css.map +0 -16
- package/src/application/VcsCustomScreen.vue +0 -45
- package/src/components/vector-properties/composables.d.ts +0 -33
- package/src/components/vector-properties/composables.js +0 -100
- 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/dist/assets/{vue.0f2c53.js → vue-03b265aa.js} +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
- package/src/components/{form-inputs-controls → section}/VcsFormSection.vue +0 -0
- package/src/components/{form-inputs-controls → section}/VcsFormSection.vue.d.ts +1 -1
@@ -14,12 +14,12 @@ export function isSlotPosition(windowPosition: WindowPosition): boolean;
|
|
14
14
|
/**
|
15
15
|
* @typedef {{
|
16
16
|
* id?: string,
|
17
|
-
*
|
17
|
+
* parentId?: string,
|
18
18
|
* component: import("vue").Component<T, unknown, unknown>,
|
19
19
|
* headerComponent?: import("vue").Component<T, unknown, unknown>,
|
20
20
|
* state? : Partial<WindowState>,
|
21
21
|
* position? : Partial<WindowPositionOptions>,
|
22
|
-
* slot
|
22
|
+
* slot?: WindowSlot,
|
23
23
|
* props?: T,
|
24
24
|
* provides?: Record<string, unknown>
|
25
25
|
* }} WindowComponentOptions
|
@@ -53,7 +53,7 @@ export function isSlotPosition(windowPosition: WindowPosition): boolean;
|
|
53
53
|
/**
|
54
54
|
* @typedef {{
|
55
55
|
* id: string,
|
56
|
-
*
|
56
|
+
* parentId?: string,
|
57
57
|
* component: import("vue").Component<T, unknown, unknown>,
|
58
58
|
* headerComponent?: import("vue").Component<T, unknown, unknown>,
|
59
59
|
* state : Partial<WindowState>,
|
@@ -131,12 +131,12 @@ export namespace WindowPositions {
|
|
131
131
|
export default WindowManager;
|
132
132
|
export type WindowComponentOptions<T extends Object = Object> = {
|
133
133
|
id?: string;
|
134
|
-
|
134
|
+
parentId?: string;
|
135
135
|
component: import("vue").Component<T, unknown, unknown>;
|
136
136
|
headerComponent?: import("vue").Component<T, unknown, unknown>;
|
137
137
|
state?: Partial<WindowState>;
|
138
138
|
position?: Partial<WindowPositionOptions>;
|
139
|
-
slot
|
139
|
+
slot?: WindowSlot;
|
140
140
|
props?: T;
|
141
141
|
provides?: Record<string, unknown>;
|
142
142
|
};
|
@@ -188,7 +188,7 @@ export type WindowState = {
|
|
188
188
|
};
|
189
189
|
export type WindowComponent<T extends Object = Object> = {
|
190
190
|
id: string;
|
191
|
-
|
191
|
+
parentId?: string;
|
192
192
|
component: import("vue").Component<T, unknown, unknown>;
|
193
193
|
headerComponent?: import("vue").Component<T, unknown, unknown>;
|
194
194
|
state: Partial<WindowState>;
|
@@ -2,7 +2,7 @@ import { computed, reactive, ref } from 'vue';
|
|
2
2
|
import { VcsEvent } from '@vcmap/core';
|
3
3
|
import { v4 as uuidv4 } from 'uuid';
|
4
4
|
import { parseEnumValue } from '@vcsuite/parsers';
|
5
|
-
import { check } from '@vcsuite/check';
|
5
|
+
import { check, oneOf } from '@vcsuite/check';
|
6
6
|
import { vcsAppSymbol } from '../../pluginHelper.js';
|
7
7
|
|
8
8
|
/**
|
@@ -104,12 +104,12 @@ export function isSlotPosition(windowPosition) {
|
|
104
104
|
/**
|
105
105
|
* @typedef {{
|
106
106
|
* id?: string,
|
107
|
-
*
|
107
|
+
* parentId?: string,
|
108
108
|
* component: import("vue").Component<T, unknown, unknown>,
|
109
109
|
* headerComponent?: import("vue").Component<T, unknown, unknown>,
|
110
110
|
* state? : Partial<WindowState>,
|
111
111
|
* position? : Partial<WindowPositionOptions>,
|
112
|
-
* slot
|
112
|
+
* slot?: WindowSlot,
|
113
113
|
* props?: T,
|
114
114
|
* provides?: Record<string, unknown>
|
115
115
|
* }} WindowComponentOptions
|
@@ -145,7 +145,7 @@ export function isSlotPosition(windowPosition) {
|
|
145
145
|
/**
|
146
146
|
* @typedef {{
|
147
147
|
* id: string,
|
148
|
-
*
|
148
|
+
* parentId?: string,
|
149
149
|
* component: import("vue").Component<T, unknown, unknown>,
|
150
150
|
* headerComponent?: import("vue").Component<T, unknown, unknown>,
|
151
151
|
* state : Partial<WindowState>,
|
@@ -563,7 +563,7 @@ class WindowManager {
|
|
563
563
|
* @returns {WindowComponent}
|
564
564
|
*/
|
565
565
|
add(windowComponentOptions, owner) {
|
566
|
-
check(owner,
|
566
|
+
check(owner, oneOf(String, vcsAppSymbol));
|
567
567
|
|
568
568
|
if (
|
569
569
|
windowComponentOptions.id &&
|
@@ -747,7 +747,7 @@ class WindowManager {
|
|
747
747
|
*/
|
748
748
|
addExternalIdToZIndex(id, owner) {
|
749
749
|
check(id, String);
|
750
|
-
check(owner,
|
750
|
+
check(owner, oneOf(String, vcsAppSymbol));
|
751
751
|
|
752
752
|
if (this.has(id)) {
|
753
753
|
throw new Error(`Id ${id} already belongs to a window id`);
|
@@ -335,9 +335,12 @@
|
|
335
335
|
<style lang="scss" scoped>
|
336
336
|
.nav-container {
|
337
337
|
position: absolute;
|
338
|
-
right:
|
339
|
-
|
338
|
+
right: 26px;
|
339
|
+
// right: 26px --> the 2rem were 26px in the old map, now 32px ?Important?
|
340
|
+
bottom: 13px;
|
341
|
+
// bottom: 13px --> the 1rem were 13px in the old map, now 16px ?Important?
|
340
342
|
width: unset;
|
343
|
+
padding: 12px;
|
341
344
|
&.mobile {
|
342
345
|
top: 1rem;
|
343
346
|
right: 1rem;
|
@@ -345,7 +348,7 @@
|
|
345
348
|
}
|
346
349
|
}
|
347
350
|
.nav-container > {
|
348
|
-
.row {
|
351
|
+
.v-row {
|
349
352
|
margin-top: 15px;
|
350
353
|
margin-bottom: 0;
|
351
354
|
}
|
@@ -1,31 +1,24 @@
|
|
1
1
|
<template>
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
2
|
+
<v-card
|
3
|
+
class="d-flex align-center justify-center text-center btn-orientation-tools"
|
4
|
+
v-bind="{ ...$attrs }"
|
5
|
+
:height="height"
|
6
|
+
:width="width"
|
7
|
+
>
|
8
|
+
<v-icon :size="iconSize">{{ icon }}</v-icon>
|
9
|
+
<v-tooltip
|
10
|
+
v-if="tooltip"
|
11
|
+
activator="parent"
|
12
|
+
:location="tooltipPosition"
|
13
|
+
:text="$st(tooltip)"
|
14
|
+
></v-tooltip>
|
15
|
+
</v-card>
|
12
16
|
</template>
|
13
|
-
<style lang="scss" scoped>
|
14
|
-
.btn-orientation-tools {
|
15
|
-
&:before {
|
16
|
-
background-color: transparent !important;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
.h-8 {
|
20
|
-
height: 32px;
|
21
|
-
}
|
22
|
-
.w-8 {
|
23
|
-
width: 32px;
|
24
|
-
}
|
25
|
-
</style>
|
17
|
+
<style lang="scss" scoped></style>
|
26
18
|
<script>
|
27
|
-
import { VCard, VIcon } from 'vuetify/components';
|
28
|
-
import
|
19
|
+
import { VCard, VIcon, VTooltip } from 'vuetify/components';
|
20
|
+
import { computed } from 'vue';
|
21
|
+
import { useFontSize } from '../vuePlugins/vuetify.js';
|
29
22
|
|
30
23
|
/**
|
31
24
|
* @description v-card with h & w 8. Requires an icon and binds all attributes & listeners to the v-card
|
@@ -36,9 +29,9 @@
|
|
36
29
|
export default {
|
37
30
|
name: 'OrientationToolsButton',
|
38
31
|
components: {
|
39
|
-
VcsTooltip,
|
40
32
|
VCard,
|
41
33
|
VIcon,
|
34
|
+
VTooltip,
|
42
35
|
},
|
43
36
|
props: {
|
44
37
|
icon: {
|
@@ -54,5 +47,25 @@
|
|
54
47
|
default: 'left',
|
55
48
|
},
|
56
49
|
},
|
50
|
+
setup() {
|
51
|
+
const fontSize = useFontSize();
|
52
|
+
|
53
|
+
const iconSize = computed(() => {
|
54
|
+
return fontSize.value * (1.2 + 0.1 / 3);
|
55
|
+
});
|
56
|
+
const height = computed(() => {
|
57
|
+
return fontSize.value * 2.5;
|
58
|
+
});
|
59
|
+
// 32px
|
60
|
+
const width = computed(() => {
|
61
|
+
return fontSize.value * 2.5;
|
62
|
+
});
|
63
|
+
|
64
|
+
return {
|
65
|
+
iconSize,
|
66
|
+
height,
|
67
|
+
width,
|
68
|
+
};
|
69
|
+
},
|
57
70
|
};
|
58
71
|
</script>
|
@@ -11,7 +11,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
11
11
|
type: StringConstructor;
|
12
12
|
default: string;
|
13
13
|
};
|
14
|
-
},
|
14
|
+
}, {
|
15
|
+
iconSize: import("vue").ComputedRef<number>;
|
16
|
+
height: import("vue").ComputedRef<number>;
|
17
|
+
width: import("vue").ComputedRef<number>;
|
18
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
15
19
|
icon: {
|
16
20
|
type: StringConstructor;
|
17
21
|
required: true;
|
@@ -1,89 +1,79 @@
|
|
1
1
|
<template>
|
2
|
-
<
|
3
|
-
:
|
4
|
-
|
2
|
+
<v-card
|
3
|
+
:width="minWidth"
|
4
|
+
:height="minHeight"
|
5
|
+
v-bind="props"
|
6
|
+
:disabled="disabled"
|
5
7
|
>
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
8
|
+
<v-slider
|
9
|
+
:track-size="trackSize"
|
10
|
+
:tick-size="tickSize"
|
11
|
+
:track-color="'base-lighten-3'"
|
12
|
+
thumb-color="base-darken-4"
|
13
|
+
track-fill-color="'base-darken-4'"
|
14
|
+
:max="0"
|
15
|
+
:min="-90"
|
16
|
+
direction="vertical"
|
17
|
+
hide-details
|
18
|
+
class="vcs-tilt-slider"
|
19
|
+
v-bind="{ ...$attrs }"
|
20
|
+
v-model="localValue"
|
21
|
+
></v-slider>
|
22
|
+
<v-tooltip
|
23
|
+
activator="parent"
|
24
|
+
location="left"
|
25
|
+
:text="$st('navigation.pitchTooltip', [Math.round(localValue)])"
|
26
|
+
></v-tooltip>
|
27
|
+
</v-card>
|
21
28
|
</template>
|
29
|
+
|
22
30
|
<style lang="scss" scoped>
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
31
|
+
.v-slider.v-input--vertical {
|
32
|
+
:deep(.v-slider-track__fill) {
|
33
|
+
width: 2px;
|
34
|
+
}
|
35
|
+
:deep(.v-slider-track__tick--first) {
|
36
|
+
bottom: 0;
|
37
|
+
}
|
38
|
+
:deep(.v-slider-track__tick--last) {
|
39
|
+
bottom: 100%;
|
29
40
|
}
|
30
|
-
|
31
|
-
|
41
|
+
}
|
42
|
+
|
43
|
+
.vcs-tilt-slider {
|
44
|
+
margin-top: 6px;
|
45
|
+
margin-bottom: 10px;
|
46
|
+
:deep(.v-slider-thumb__surface) {
|
32
47
|
border-radius: 3px;
|
33
48
|
width: 16px;
|
34
49
|
height: 4px;
|
35
|
-
|
36
|
-
|
37
|
-
&:before {
|
38
|
-
background-color: transparent;
|
39
|
-
}
|
50
|
+
margin-top: 10px;
|
51
|
+
box-shadow: none !important;
|
40
52
|
}
|
41
53
|
}
|
42
|
-
.v-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
background-color: map-get($shades, 'black') !important;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
.v-slider__thumb {
|
50
|
-
background-color: map-get($shades, 'black') !important;
|
51
|
-
}
|
52
|
-
}
|
53
|
-
}
|
54
|
-
.v-application .theme--dark.vcs-slider {
|
55
|
-
:deep(.v-slider) {
|
56
|
-
.v-slider__track-container {
|
57
|
-
.v-slider__track-fill {
|
58
|
-
background-color: map-get($shades, 'white') !important;
|
59
|
-
}
|
60
|
-
}
|
61
|
-
.v-slider__thumb {
|
62
|
-
background-color: map-get($shades, 'white') !important;
|
63
|
-
}
|
64
|
-
}
|
54
|
+
:deep(.v-slider-thumb__surface::before) {
|
55
|
+
--v-focus-opacity: 0;
|
56
|
+
--v-hover-opacity: 0;
|
57
|
+
--v-pressed-opacity: 0;
|
65
58
|
}
|
66
|
-
|
67
|
-
|
59
|
+
|
60
|
+
.v-input--vertical :deep(.v-input__control) {
|
61
|
+
min-height: calc(var(--v-vcs-font-size) * 4);
|
68
62
|
}
|
69
63
|
</style>
|
64
|
+
|
70
65
|
<script>
|
71
|
-
import {
|
72
|
-
import { VCard, VSlider } from 'vuetify/components';
|
73
|
-
import
|
66
|
+
import { computed, defineComponent } from 'vue';
|
67
|
+
import { VCard, VSlider, VTooltip } from 'vuetify/components';
|
68
|
+
import { useFontSize, useItemHeight } from '../vuePlugins/vuetify.js';
|
69
|
+
import { useProxiedAtomicModel } from '../components/modelHelper.js';
|
74
70
|
|
75
|
-
|
76
|
-
* @description A vertical slider from 0 to -90. pass value with v-model
|
77
|
-
* @vue-prop {number} value
|
78
|
-
* @vue-prop {boolean} disabled - whether tilt slider should be disabled
|
79
|
-
* @vue-event {number} input
|
80
|
-
*/
|
81
|
-
export default {
|
71
|
+
export default defineComponent({
|
82
72
|
name: 'TiltSlider',
|
83
73
|
components: {
|
84
|
-
VcsTooltip,
|
85
74
|
VCard,
|
86
75
|
VSlider,
|
76
|
+
VTooltip,
|
87
77
|
},
|
88
78
|
props: {
|
89
79
|
modelValue: {
|
@@ -96,28 +86,33 @@
|
|
96
86
|
default: false,
|
97
87
|
},
|
98
88
|
},
|
99
|
-
|
89
|
+
setup(props, { emit }) {
|
90
|
+
const itemHeight = useItemHeight();
|
91
|
+
|
92
|
+
const trackSize = computed(() => {
|
93
|
+
return Math.floor(itemHeight.value / 12);
|
94
|
+
});
|
95
|
+
const tickSize = computed(() => {
|
96
|
+
return trackSize.value * 2;
|
97
|
+
});
|
98
|
+
const fontSize = useFontSize();
|
99
|
+
const minWidth = computed(() => {
|
100
|
+
return fontSize.value * 2.5;
|
101
|
+
});
|
102
|
+
const minHeight = computed(() => {
|
103
|
+
return fontSize.value * 5;
|
104
|
+
});
|
105
|
+
|
106
|
+
const localValue = useProxiedAtomicModel(props, 'modelValue', emit);
|
107
|
+
|
100
108
|
return {
|
101
|
-
localValue
|
109
|
+
localValue,
|
110
|
+
tickSize,
|
111
|
+
trackSize,
|
112
|
+
props,
|
113
|
+
minWidth,
|
114
|
+
minHeight,
|
102
115
|
};
|
103
116
|
},
|
104
|
-
|
105
|
-
modelValue() {
|
106
|
-
this.localValue = clamp(Math.round(this.modelValue), -90, 0);
|
107
|
-
},
|
108
|
-
},
|
109
|
-
computed: {
|
110
|
-
tilt: {
|
111
|
-
get() {
|
112
|
-
return this.localValue;
|
113
|
-
},
|
114
|
-
set(value) {
|
115
|
-
if (value !== this.localValue) {
|
116
|
-
this.localValue = value;
|
117
|
-
this.$emit('update:modelValue', value);
|
118
|
-
}
|
119
|
-
},
|
120
|
-
},
|
121
|
-
},
|
122
|
-
};
|
117
|
+
});
|
123
118
|
</script>
|
@@ -8,14 +8,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
8
8
|
required: false;
|
9
9
|
default: boolean;
|
10
10
|
};
|
11
|
-
}, any, {
|
12
|
-
localValue: number;
|
13
11
|
}, {
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
12
|
+
localValue: import("vue").Ref<any>;
|
13
|
+
tickSize: import("vue").ComputedRef<number>;
|
14
|
+
trackSize: import("vue").ComputedRef<number>;
|
15
|
+
props: import("@vue/shared").LooseRequired<{
|
16
|
+
readonly disabled: boolean;
|
17
|
+
readonly modelValue: number;
|
18
|
+
} & {}>;
|
19
|
+
minWidth: import("vue").ComputedRef<number>;
|
20
|
+
minHeight: import("vue").ComputedRef<number>;
|
21
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
19
22
|
modelValue: {
|
20
23
|
type: NumberConstructor;
|
21
24
|
required: true;
|
@@ -4,8 +4,10 @@
|
|
4
4
|
transform: `rotate(${compassRotation}deg)`,
|
5
5
|
}"
|
6
6
|
@click="$emit('update:modelValue', 0)"
|
7
|
-
class="
|
7
|
+
class="d-flex flex-column justify-center align-center position-relative rounded-circle user-select-none transition-transform-200-ease"
|
8
8
|
elevation="1"
|
9
|
+
:height="height"
|
10
|
+
:width="width"
|
9
11
|
>
|
10
12
|
<span>N</span>
|
11
13
|
<MapNavCompass
|
@@ -17,25 +19,18 @@
|
|
17
19
|
/>
|
18
20
|
</v-sheet>
|
19
21
|
</template>
|
20
|
-
<style lang="scss" scoped>
|
21
|
-
.h-16 {
|
22
|
-
height: 64px;
|
23
|
-
}
|
24
|
-
.w-16 {
|
25
|
-
width: 64px;
|
26
|
-
}
|
27
|
-
</style>
|
22
|
+
<style lang="scss" scoped></style>
|
28
23
|
<script>
|
29
24
|
import { computed, ref } from 'vue';
|
30
25
|
|
31
26
|
import { VSheet } from 'vuetify/components';
|
32
27
|
import MapNavCompass from './MapNavCompass.vue';
|
28
|
+
import { useFontSize } from '../vuePlugins/vuetify.js';
|
33
29
|
|
34
30
|
/**
|
35
31
|
* @description Compass component to be shown on the map.
|
36
32
|
* @vue-prop {OrientationToolsViewMode} viewMode - Mode of the map. Defines the behaviour of the compass.
|
37
|
-
* @vue-prop {number}
|
38
|
-
* @vue-event {number} input
|
33
|
+
* @vue-prop {number} modelValue - Number of degrees of the compass rotation.
|
39
34
|
* @vue-prop {boolean} disabled - whether compass should be disabled
|
40
35
|
*/
|
41
36
|
export default {
|
@@ -62,9 +57,20 @@
|
|
62
57
|
setup(props) {
|
63
58
|
const rotationValue = ref(props.modelValue);
|
64
59
|
|
60
|
+
const fontSize = useFontSize();
|
61
|
+
const height = computed(() => {
|
62
|
+
return fontSize.value * 5;
|
63
|
+
});
|
64
|
+
|
65
|
+
const width = computed(() => {
|
66
|
+
return fontSize.value * 5;
|
67
|
+
});
|
68
|
+
|
65
69
|
return {
|
66
70
|
rotationValue,
|
67
71
|
compassRotation: computed(() => -1 * rotationValue.value),
|
72
|
+
height,
|
73
|
+
width,
|
68
74
|
};
|
69
75
|
},
|
70
76
|
watch: {
|
@@ -15,6 +15,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
15
15
|
}, {
|
16
16
|
rotationValue: import("vue").Ref<number>;
|
17
17
|
compassRotation: import("vue").ComputedRef<number>;
|
18
|
+
height: import("vue").ComputedRef<number>;
|
19
|
+
width: import("vue").ComputedRef<number>;
|
18
20
|
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
19
21
|
viewMode: {
|
20
22
|
type: StringConstructor;
|
package/src/search/search.js
CHANGED
@@ -10,7 +10,7 @@ import {
|
|
10
10
|
Viewpoint,
|
11
11
|
} from '@vcmap/core';
|
12
12
|
import { shallowRef } from 'vue';
|
13
|
-
import { check } from '@vcsuite/check';
|
13
|
+
import { check, oneOf } from '@vcsuite/check';
|
14
14
|
import { Icon } from 'ol/style.js';
|
15
15
|
import { getLogger } from '@vcsuite/logger';
|
16
16
|
import { vcsAppSymbol } from '../pluginHelper.js';
|
@@ -183,7 +183,7 @@ class Search extends IndexedCollection {
|
|
183
183
|
* @param {number=} index
|
184
184
|
*/
|
185
185
|
add(item, owner, index) {
|
186
|
-
check(owner,
|
186
|
+
check(owner, oneOf(String, vcsAppSymbol));
|
187
187
|
check(item.search, Function);
|
188
188
|
|
189
189
|
item[searchImplOwnerSymbol] = owner;
|
package/src/siteConfig.js
CHANGED
package/src/state.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { check } from '@vcsuite/check';
|
1
|
+
import { check, optional } from '@vcsuite/check';
|
2
2
|
import { getLogger } from '@vcsuite/logger';
|
3
3
|
import { Viewpoint } from '@vcmap/core';
|
4
4
|
|
@@ -257,9 +257,9 @@ export function getStateFromURL(url) {
|
|
257
257
|
*/
|
258
258
|
export function setStateToUrl(state, url) {
|
259
259
|
check(state, {
|
260
|
-
activeMap:
|
261
|
-
activeViewpoint:
|
262
|
-
activeObliqueCollection:
|
260
|
+
activeMap: optional(String),
|
261
|
+
activeViewpoint: optional(Object),
|
262
|
+
activeObliqueCollection: optional(String),
|
263
263
|
layers: Array,
|
264
264
|
plugins: Array,
|
265
265
|
moduleIds: [String],
|