@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
@@ -1,3 +1,5 @@
|
|
1
|
+
/// <reference types="@vcmap-cesium/engine" />
|
2
|
+
/// <reference types="@vcmap/core/dist/cesium.js" />
|
1
3
|
export const genericVectorProperties: string[];
|
2
4
|
export const pointVectorProperties: string[];
|
3
5
|
export const nonPointVectorProperties: string[];
|
@@ -8,7 +10,7 @@ export const dimensionsUpperCase: string[];
|
|
8
10
|
declare const _default: import("vue").DefineComponent<{
|
9
11
|
modelValue: {
|
10
12
|
type: ObjectConstructor;
|
11
|
-
default: () =>
|
13
|
+
default: () => import("@vcmap/core", { with: { "resolution-mode": "import" } }).VectorPropertiesOptions;
|
12
14
|
};
|
13
15
|
valueDefault: {
|
14
16
|
type: ObjectConstructor;
|
@@ -39,6 +41,183 @@ declare const _default: import("vue").DefineComponent<{
|
|
39
41
|
default: boolean;
|
40
42
|
};
|
41
43
|
}, {
|
44
|
+
localValue: import("vue").Ref<{
|
45
|
+
readonly propertyChanged: {
|
46
|
+
readonly numberOfListeners: number;
|
47
|
+
addEventListener: (listener: (event: import("@vcmap/core/dist/src/layer/vectorProperties.js", { with: { "resolution-mode": "import" } }).PropertyChangedKey[]) => void | Promise<void>) => () => void;
|
48
|
+
removeEventListener: (listener: (event: import("@vcmap/core/dist/src/layer/vectorProperties.js", { with: { "resolution-mode": "import" } }).PropertyChangedKey[]) => void | Promise<void>) => boolean;
|
49
|
+
raiseEvent: (event: import("@vcmap/core/dist/src/layer/vectorProperties.js", { with: { "resolution-mode": "import" } }).PropertyChangedKey[]) => void;
|
50
|
+
awaitRaisedEvent: (event: import("@vcmap/core/dist/src/layer/vectorProperties.js", { with: { "resolution-mode": "import" } }).PropertyChangedKey[]) => Promise<void>;
|
51
|
+
destroy: () => void;
|
52
|
+
};
|
53
|
+
altitudeMode: import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).HeightReference;
|
54
|
+
getAltitudeMode: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).HeightReference;
|
55
|
+
allowPicking: boolean;
|
56
|
+
getAllowPicking: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => boolean;
|
57
|
+
classificationType: import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).ClassificationType | undefined;
|
58
|
+
getClassificationType: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).ClassificationType | undefined;
|
59
|
+
scaleByDistance: {
|
60
|
+
near: number;
|
61
|
+
nearValue: number;
|
62
|
+
far: number;
|
63
|
+
farValue: number;
|
64
|
+
clone: (result?: import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).NearFarScalar | undefined) => import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).NearFarScalar;
|
65
|
+
equals: (right?: import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).NearFarScalar | undefined) => boolean;
|
66
|
+
} | undefined;
|
67
|
+
getScaleByDistance: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).NearFarScalar | undefined;
|
68
|
+
eyeOffset: {
|
69
|
+
x: number;
|
70
|
+
y: number;
|
71
|
+
z: number;
|
72
|
+
clone: (result?: import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3 | undefined) => import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3;
|
73
|
+
equals: (right?: import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3 | undefined) => boolean;
|
74
|
+
equalsEpsilon: (right?: import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3 | undefined, relativeEpsilon?: number | undefined, absoluteEpsilon?: number | undefined) => boolean;
|
75
|
+
toString: () => string;
|
76
|
+
} | undefined;
|
77
|
+
getEyeOffset: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3 | undefined;
|
78
|
+
heightAboveGround: number;
|
79
|
+
getHeightAboveGround: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => number;
|
80
|
+
skirt: number;
|
81
|
+
getSkirt: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => number;
|
82
|
+
groundLevel: number | undefined;
|
83
|
+
getGroundLevel: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => number | undefined;
|
84
|
+
extrudedHeight: number;
|
85
|
+
getExtrudedHeight: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => number;
|
86
|
+
storeysAboveGround: number;
|
87
|
+
getStoreysAboveGround: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => number;
|
88
|
+
storeysBelowGround: number;
|
89
|
+
getStoreysBelowGround: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => number;
|
90
|
+
storeyHeightsAboveGround: number[];
|
91
|
+
getStoreyHeightsAboveGround: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => number[];
|
92
|
+
storeyHeightsBelowGround: number[];
|
93
|
+
getStoreyHeightsBelowGround: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => number[];
|
94
|
+
modelUrl: string | undefined;
|
95
|
+
getModelUrl: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => string | undefined;
|
96
|
+
modelScaleX: number;
|
97
|
+
getModelScaleX: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => number;
|
98
|
+
modelScaleY: number;
|
99
|
+
getModelScaleY: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => number;
|
100
|
+
modelScaleZ: number;
|
101
|
+
getModelScaleZ: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => number;
|
102
|
+
modelHeading: number;
|
103
|
+
getModelHeading: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => number;
|
104
|
+
modelPitch: number;
|
105
|
+
getModelPitch: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => number;
|
106
|
+
modelRoll: number;
|
107
|
+
getModelRoll: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => number;
|
108
|
+
modelOptions: Record<string, unknown> | undefined;
|
109
|
+
getModelOptions: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => Record<string, unknown>;
|
110
|
+
modelAutoScale: boolean;
|
111
|
+
getModelAutoScale: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => boolean;
|
112
|
+
baseUrl: string | undefined;
|
113
|
+
getBaseUrl: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => string | undefined;
|
114
|
+
primitiveOptions: {
|
115
|
+
type: import("@vcmap/core", { with: { "resolution-mode": "import" } }).PrimitiveOptionsType;
|
116
|
+
geometryOptions: {
|
117
|
+
length: number;
|
118
|
+
topRadius: number;
|
119
|
+
bottomRadius: number;
|
120
|
+
slices?: number | undefined;
|
121
|
+
vertexFormat?: {
|
122
|
+
position: boolean;
|
123
|
+
normal: boolean;
|
124
|
+
st: boolean;
|
125
|
+
bitangent: boolean;
|
126
|
+
tangent: boolean;
|
127
|
+
color: boolean;
|
128
|
+
} | undefined;
|
129
|
+
} | {
|
130
|
+
radius?: number | undefined;
|
131
|
+
stackPartitions?: number | undefined;
|
132
|
+
slicePartitions?: number | undefined;
|
133
|
+
vertexFormat?: {
|
134
|
+
position: boolean;
|
135
|
+
normal: boolean;
|
136
|
+
st: boolean;
|
137
|
+
bitangent: boolean;
|
138
|
+
tangent: boolean;
|
139
|
+
color: boolean;
|
140
|
+
} | undefined;
|
141
|
+
} | {
|
142
|
+
radii?: {
|
143
|
+
x: number;
|
144
|
+
y: number;
|
145
|
+
z: number;
|
146
|
+
clone: (result?: import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3 | undefined) => import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3;
|
147
|
+
equals: (right?: import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3 | undefined) => boolean;
|
148
|
+
equalsEpsilon: (right?: import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3 | undefined, relativeEpsilon?: number | undefined, absoluteEpsilon?: number | undefined) => boolean;
|
149
|
+
toString: () => string;
|
150
|
+
} | undefined;
|
151
|
+
innerRadii?: {
|
152
|
+
x: number;
|
153
|
+
y: number;
|
154
|
+
z: number;
|
155
|
+
clone: (result?: import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3 | undefined) => import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3;
|
156
|
+
equals: (right?: import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3 | undefined) => boolean;
|
157
|
+
equalsEpsilon: (right?: import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3 | undefined, relativeEpsilon?: number | undefined, absoluteEpsilon?: number | undefined) => boolean;
|
158
|
+
toString: () => string;
|
159
|
+
} | undefined;
|
160
|
+
minimumClock?: number | undefined;
|
161
|
+
maximumClock?: number | undefined;
|
162
|
+
minimumCone?: number | undefined;
|
163
|
+
maximumCone?: number | undefined;
|
164
|
+
stackPartitions?: number | undefined;
|
165
|
+
slicePartitions?: number | undefined;
|
166
|
+
vertexFormat?: {
|
167
|
+
position: boolean;
|
168
|
+
normal: boolean;
|
169
|
+
st: boolean;
|
170
|
+
bitangent: boolean;
|
171
|
+
tangent: boolean;
|
172
|
+
color: boolean;
|
173
|
+
} | undefined;
|
174
|
+
} | {
|
175
|
+
minimum: {
|
176
|
+
x: number;
|
177
|
+
y: number;
|
178
|
+
z: number;
|
179
|
+
clone: (result?: import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3 | undefined) => import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3;
|
180
|
+
equals: (right?: import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3 | undefined) => boolean;
|
181
|
+
equalsEpsilon: (right?: import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3 | undefined, relativeEpsilon?: number | undefined, absoluteEpsilon?: number | undefined) => boolean;
|
182
|
+
toString: () => string;
|
183
|
+
};
|
184
|
+
maximum: {
|
185
|
+
x: number;
|
186
|
+
y: number;
|
187
|
+
z: number;
|
188
|
+
clone: (result?: import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3 | undefined) => import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3;
|
189
|
+
equals: (right?: import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3 | undefined) => boolean;
|
190
|
+
equalsEpsilon: (right?: import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).Cartesian3 | undefined, relativeEpsilon?: number | undefined, absoluteEpsilon?: number | undefined) => boolean;
|
191
|
+
toString: () => string;
|
192
|
+
};
|
193
|
+
vertexFormat?: {
|
194
|
+
position: boolean;
|
195
|
+
normal: boolean;
|
196
|
+
st: boolean;
|
197
|
+
bitangent: boolean;
|
198
|
+
tangent: boolean;
|
199
|
+
color: boolean;
|
200
|
+
} | undefined;
|
201
|
+
} | undefined;
|
202
|
+
depthFailColor?: string | number[] | {
|
203
|
+
setTransform: (transform?: DOMMatrix2DInit | undefined) => void;
|
204
|
+
} | {
|
205
|
+
addColorStop: (offset: number, color: string) => void;
|
206
|
+
} | undefined;
|
207
|
+
offset?: number[] | undefined;
|
208
|
+
additionalOptions?: Record<string, unknown> | undefined;
|
209
|
+
} | undefined;
|
210
|
+
getPrimitiveOptions: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => import("@vcmap/core", { with: { "resolution-mode": "import" } }).VectorPropertiesPrimitiveOptions<import("@vcmap/core", { with: { "resolution-mode": "import" } }).PrimitiveOptionsType> | undefined;
|
211
|
+
getPrimitive: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => import("@vcmap/core", { with: { "resolution-mode": "import" } }).VectorPropertiesPrimitive | null;
|
212
|
+
getModel: (feature: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>) => import("@vcmap/core", { with: { "resolution-mode": "import" } }).VectorPropertiesModelOptions | null;
|
213
|
+
setVcsMeta: (vcsMeta: import("@vcmap/core", { with: { "resolution-mode": "import" } }).VcsMeta) => void;
|
214
|
+
setValues: (options: import("@vcmap/core", { with: { "resolution-mode": "import" } }).VectorPropertiesOptions) => void;
|
215
|
+
getValues: () => import("@vcmap/core", { with: { "resolution-mode": "import" } }).VectorPropertiesOptions;
|
216
|
+
getValuesForFeatures: (features: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>[]) => import("@vcmap/core", { with: { "resolution-mode": "import" } }).VectorPropertiesOptions;
|
217
|
+
setValuesForFeatures: (options: import("@vcmap/core", { with: { "resolution-mode": "import" } }).VectorPropertiesOptions, features: import("ol/Feature.js", { with: { "resolution-mode": "import" } }).default<import("ol/geom.js", { with: { "resolution-mode": "import" } }).Geometry>[]) => void;
|
218
|
+
getVcsMeta: (defaultOptions?: import("@vcmap/core", { with: { "resolution-mode": "import" } }).VectorPropertiesOptions | undefined) => Omit<import("@vcmap/core", { with: { "resolution-mode": "import" } }).VcsMeta, "version">;
|
219
|
+
destroy: () => void;
|
220
|
+
}>;
|
42
221
|
headerActions: import("vue").ComputedRef<{
|
43
222
|
name: string;
|
44
223
|
title: string;
|
@@ -46,38 +225,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
46
225
|
callback: () => void;
|
47
226
|
}[]>;
|
48
227
|
visibleProperties: import("vue").ComputedRef<Set<unknown>>;
|
49
|
-
altitudeMode: import("vue").WritableComputedRef<any>;
|
50
228
|
availableAltitudeModes: import("vue").ComputedRef<{
|
51
229
|
value: string;
|
52
|
-
|
230
|
+
title: string;
|
53
231
|
}[]>;
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
232
|
+
availableClassificationTypes: {
|
233
|
+
value: string;
|
234
|
+
title: string;
|
235
|
+
}[];
|
236
|
+
classificationType: import("vue").WritableComputedRef<"none" | import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).ClassificationType.CESIUM_3D_TILE | import("@vcmap-cesium/engine", { with: { "resolution-mode": "import" } }).ClassificationType.BOTH | undefined>;
|
58
237
|
hasScaleByDistance: import("vue").WritableComputedRef<boolean>;
|
59
238
|
scaleByDistanceDefault: number[];
|
60
|
-
eyeOffset: import("vue").WritableComputedRef<any>[];
|
61
239
|
hasEyeOffset: import("vue").WritableComputedRef<boolean>;
|
62
240
|
eyeOffsetDefault: number[];
|
63
|
-
groundLevel: import("vue").WritableComputedRef<any>;
|
64
|
-
extrudedHeight: import("vue").WritableComputedRef<any>;
|
65
|
-
skirt: import("vue").WritableComputedRef<any>;
|
66
|
-
storeysAboveGround: import("vue").WritableComputedRef<any>;
|
67
|
-
storeysBelowGround: import("vue").WritableComputedRef<any>;
|
68
241
|
storeyHeights: import("vue").ComputedRef<{}>;
|
69
|
-
modelUrl: import("vue").WritableComputedRef<any>;
|
70
242
|
modelScale: import("vue").ComputedRef<{}>;
|
71
|
-
modelHeading: import("vue").WritableComputedRef<any>;
|
72
|
-
modelPitch: import("vue").WritableComputedRef<any>;
|
73
|
-
modelRoll: import("vue").WritableComputedRef<any>;
|
74
|
-
baseUrl: import("vue").WritableComputedRef<any>;
|
75
|
-
reset: () => void;
|
76
243
|
dimensionsUpperCase: string[];
|
77
|
-
}, any, {}, {
|
244
|
+
}, any, {}, {
|
245
|
+
computed: typeof import("@vue/reactivity").computed;
|
246
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
78
247
|
modelValue: {
|
79
248
|
type: ObjectConstructor;
|
80
|
-
default: () =>
|
249
|
+
default: () => import("@vcmap/core", { with: { "resolution-mode": "import" } }).VectorPropertiesOptions;
|
81
250
|
};
|
82
251
|
valueDefault: {
|
83
252
|
type: ObjectConstructor;
|
@@ -107,7 +276,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
107
276
|
type: BooleanConstructor;
|
108
277
|
default: boolean;
|
109
278
|
};
|
110
|
-
}
|
279
|
+
}>> & {
|
280
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
281
|
+
}, {
|
111
282
|
modelValue: Record<string, any>;
|
112
283
|
properties: unknown[];
|
113
284
|
expandable: boolean;
|
@@ -176,11 +176,12 @@
|
|
176
176
|
onUnmounted,
|
177
177
|
reactive,
|
178
178
|
ref,
|
179
|
+
toRaw,
|
179
180
|
watch,
|
180
181
|
} from 'vue';
|
181
182
|
import { VSheet, VContainer, VRow, VCol } from 'vuetify/components';
|
182
183
|
import { CesiumMap, ObliqueMap, OpenlayersMap, Viewpoint } from '@vcmap/core';
|
183
|
-
import VcsFormSection from '../
|
184
|
+
import VcsFormSection from '../section/VcsFormSection.vue';
|
184
185
|
import VcsLabel from '../form-inputs-controls/VcsLabel.vue';
|
185
186
|
import VcsTextField from '../form-inputs-controls/VcsTextField.vue';
|
186
187
|
import VcsCheckbox from '../form-inputs-controls/VcsCheckbox.vue';
|
@@ -188,6 +189,20 @@
|
|
188
189
|
import VcsSlider from '../form-inputs-controls/VcsSlider.vue';
|
189
190
|
import { useProxiedComplexModel } from '../modelHelper.js';
|
190
191
|
|
192
|
+
/**
|
193
|
+
* Updates the localValue ref by keeping name and properties
|
194
|
+
* @param {import("vue").Ref<import("vue").UnwrapRef<import("@vcmap/core").ViewpointOptions>>} localValue
|
195
|
+
* @param {import("@vcmap/core").Viewpoint} viewpoint
|
196
|
+
*/
|
197
|
+
function updateLocalValueFromViewpoint(localValue, viewpoint) {
|
198
|
+
const options = viewpoint.toJSON();
|
199
|
+
options.name = localValue.value.name;
|
200
|
+
if (localValue.value.properties) {
|
201
|
+
options.properties = toRaw(localValue.value.properties);
|
202
|
+
}
|
203
|
+
localValue.value = options;
|
204
|
+
}
|
205
|
+
|
191
206
|
/**
|
192
207
|
* Set up post render handler, if action is active.
|
193
208
|
* If action is inactive, destroy post render handler to allow manual editing.
|
@@ -213,9 +228,7 @@
|
|
213
228
|
) {
|
214
229
|
return;
|
215
230
|
}
|
216
|
-
|
217
|
-
options.name = localValue.value.name;
|
218
|
-
localValue.value = options;
|
231
|
+
updateLocalValueFromViewpoint(localValue, viewpoint);
|
219
232
|
cachedViewpoint = viewpoint;
|
220
233
|
},
|
221
234
|
);
|
@@ -416,10 +429,10 @@
|
|
416
429
|
title: 'components.viewpoint.updateFromView',
|
417
430
|
async callback() {
|
418
431
|
if (app.maps.activeMap) {
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
432
|
+
updateLocalValueFromViewpoint(
|
433
|
+
localValue,
|
434
|
+
await app.maps.activeMap.getViewpoint(),
|
435
|
+
);
|
423
436
|
}
|
424
437
|
},
|
425
438
|
};
|
@@ -272,11 +272,11 @@ declare class ContentTreeItem {
|
|
272
272
|
/**
|
273
273
|
* @param {(string|HTMLCanvasElement|HTMLImageElement)=} icon
|
274
274
|
*/
|
275
|
-
set icon(icon: string |
|
275
|
+
set icon(icon: string | HTMLImageElement | HTMLCanvasElement | undefined);
|
276
276
|
/**
|
277
277
|
* @type {string|HTMLCanvasElement|HTMLImageElement|undefined}
|
278
278
|
*/
|
279
|
-
get icon(): string |
|
279
|
+
get icon(): string | HTMLImageElement | HTMLCanvasElement | undefined;
|
280
280
|
/**
|
281
281
|
* @param {number} weight
|
282
282
|
*/
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref, reactive, computed, shallowRef } from 'vue';
|
2
|
-
import { check,
|
2
|
+
import { check, maybe, ofEnum, oneOf } from '@vcsuite/check';
|
3
3
|
import { parseBoolean, parseNumber } from '@vcsuite/parsers';
|
4
4
|
import { ClassRegistry, VcsEvent } from '@vcmap/core';
|
5
5
|
import { createLinkAction } from '../actions/actionHelper.js';
|
@@ -258,7 +258,7 @@ class ContentTreeItem {
|
|
258
258
|
* @param {StateActionState} state
|
259
259
|
*/
|
260
260
|
set state(state) {
|
261
|
-
check(state,
|
261
|
+
check(state, ofEnum(StateActionState));
|
262
262
|
|
263
263
|
if (this._state.value !== state) {
|
264
264
|
this._state.value = state;
|
@@ -277,7 +277,7 @@ class ContentTreeItem {
|
|
277
277
|
* @param {string} url
|
278
278
|
*/
|
279
279
|
set infoUrl(url) {
|
280
|
-
|
280
|
+
check(url, maybe(String));
|
281
281
|
|
282
282
|
if (this._infoUrl !== url) {
|
283
283
|
this._infoUrl = url;
|
@@ -309,7 +309,7 @@ class ContentTreeItem {
|
|
309
309
|
* @param {string|undefined} title
|
310
310
|
*/
|
311
311
|
set title(title) {
|
312
|
-
|
312
|
+
check(title, maybe(String));
|
313
313
|
|
314
314
|
this._title.value = title;
|
315
315
|
}
|
@@ -325,7 +325,7 @@ class ContentTreeItem {
|
|
325
325
|
* @param {string|undefined} tooltip
|
326
326
|
*/
|
327
327
|
set tooltip(tooltip) {
|
328
|
-
|
328
|
+
check(tooltip, maybe(String));
|
329
329
|
|
330
330
|
this._tooltip.value = tooltip;
|
331
331
|
}
|
@@ -341,7 +341,7 @@ class ContentTreeItem {
|
|
341
341
|
* @param {(string|HTMLCanvasElement|HTMLImageElement)=} icon
|
342
342
|
*/
|
343
343
|
set icon(icon) {
|
344
|
-
|
344
|
+
check(icon, maybe(oneOf(String, HTMLElement)));
|
345
345
|
|
346
346
|
this._icon.value = icon;
|
347
347
|
}
|
@@ -411,7 +411,7 @@ class ContentTreeItem {
|
|
411
411
|
*/
|
412
412
|
addAction(action, weight = 11) {
|
413
413
|
check(action.name, String);
|
414
|
-
|
414
|
+
check(weight, maybe(Number));
|
415
415
|
|
416
416
|
const index = this._getActionIndex(action.name);
|
417
417
|
if (index > -1) {
|
@@ -21,7 +21,7 @@ import {
|
|
21
21
|
Entity,
|
22
22
|
} from '@vcmap-cesium/engine';
|
23
23
|
import { Feature } from 'ol';
|
24
|
-
import { check,
|
24
|
+
import { check, maybe, oneOf } from '@vcsuite/check';
|
25
25
|
|
26
26
|
import { vcsAppSymbol } from '../pluginHelper.js';
|
27
27
|
import FeatureInfoInteraction from './featureInfoInteraction.js';
|
@@ -390,15 +390,13 @@ class FeatureInfo extends Collection {
|
|
390
390
|
* @returns {Promise<void>}
|
391
391
|
*/
|
392
392
|
async selectFeature(feature, position, windowPosition, featureInfoView) {
|
393
|
-
check(
|
394
|
-
|
395
|
-
Entity,
|
396
|
-
|
397
|
-
|
398
|
-
]);
|
399
|
-
|
400
|
-
checkMaybe(windowPosition, [Number]);
|
401
|
-
checkMaybe(featureInfoView, AbstractFeatureInfoView);
|
393
|
+
check(
|
394
|
+
feature,
|
395
|
+
oneOf(Feature, Entity, Cesium3DTileFeature, Cesium3DTilePointFeature),
|
396
|
+
);
|
397
|
+
check(position, maybe([Number]));
|
398
|
+
check(windowPosition, maybe([Number]));
|
399
|
+
check(featureInfoView, maybe(AbstractFeatureInfoView));
|
402
400
|
|
403
401
|
const usedFeatureInfoView =
|
404
402
|
feature[featureInfoViewSymbol] ??
|
package/src/init.d.ts
CHANGED
@@ -18,41 +18,8 @@ export function initAppFromModule(mountTarget: string, configUrl?: string | unde
|
|
18
18
|
* @returns {Promise<import("@src/vcsUiApp.js").default>}
|
19
19
|
*/
|
20
20
|
export function initAppFromAppConfig(mountTarget: string, appUrl: string): Promise<import("@src/vcsUiApp.js").default>;
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
}[] | undefined)[];
|
27
|
-
let maps: ({
|
28
|
-
type: StringConstructor;
|
29
|
-
name: StringConstructor;
|
30
|
-
}[] | undefined)[];
|
31
|
-
let styles: ({
|
32
|
-
type: StringConstructor;
|
33
|
-
name: StringConstructor;
|
34
|
-
}[] | undefined)[];
|
35
|
-
let viewpoints: ({
|
36
|
-
type: StringConstructor;
|
37
|
-
name: StringConstructor;
|
38
|
-
}[] | undefined)[];
|
39
|
-
let startingViewpointName: (StringConstructor | undefined)[];
|
40
|
-
let startingMapName: (StringConstructor | undefined)[];
|
41
|
-
let projection: (ObjectConstructor | undefined)[];
|
42
|
-
let categories: ({
|
43
|
-
name: StringConstructor;
|
44
|
-
items: ObjectConstructor[];
|
45
|
-
}[] | undefined)[];
|
46
|
-
let obliqueCollections: ({
|
47
|
-
type: StringConstructor;
|
48
|
-
name: StringConstructor;
|
49
|
-
}[] | undefined)[];
|
50
|
-
let plugins: (ObjectConstructor[] | undefined)[];
|
51
|
-
let contentTree: (ObjectConstructor[] | undefined)[];
|
52
|
-
let uiConfig: (ObjectConstructor[] | undefined)[];
|
53
|
-
let featureInfo: ({
|
54
|
-
type: StringConstructor;
|
55
|
-
name: StringConstructor;
|
56
|
-
}[] | undefined)[];
|
57
|
-
let i18n: (ObjectConstructor[] | undefined)[];
|
58
|
-
}
|
21
|
+
/**
|
22
|
+
* Base pattern to check VcsUiAppConfig
|
23
|
+
* @type {Record<string, import("@vcsuite/check").Pattern}
|
24
|
+
*/
|
25
|
+
export const VcsUiAppConfigPattern: Record<string, import("@vcsuite/check").Pattern>;
|
package/src/init.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { createApp } from 'vue';
|
2
|
-
import { check,
|
2
|
+
import { check, is, maybe, oneOf, optional } from '@vcsuite/check';
|
3
3
|
import { VcsModule } from '@vcmap/core';
|
4
4
|
import VcsAppComponentWrapper from './application/VcsAppWrapper.vue';
|
5
5
|
import VcsUiApp from './vcsUiApp.js';
|
@@ -15,23 +15,24 @@ const VcsObjectPattern = {
|
|
15
15
|
|
16
16
|
/**
|
17
17
|
* Base pattern to check VcsUiAppConfig
|
18
|
+
* @type {Record<string, import("@vcsuite/check").Pattern}
|
18
19
|
*/
|
19
20
|
export const VcsUiAppConfigPattern = {
|
20
|
-
id:
|
21
|
-
layers: [
|
22
|
-
maps: [
|
23
|
-
styles: [
|
24
|
-
viewpoints: [
|
25
|
-
startingViewpointName:
|
26
|
-
startingMapName:
|
27
|
-
projection:
|
28
|
-
categories: [
|
29
|
-
obliqueCollections: [
|
30
|
-
plugins: [
|
31
|
-
contentTree: [
|
32
|
-
uiConfig: [
|
33
|
-
featureInfo: [
|
34
|
-
i18n: [
|
21
|
+
id: optional(String),
|
22
|
+
layers: optional([VcsObjectPattern]),
|
23
|
+
maps: optional([VcsObjectPattern]),
|
24
|
+
styles: optional([VcsObjectPattern]),
|
25
|
+
viewpoints: optional([VcsObjectPattern]),
|
26
|
+
startingViewpointName: optional(String),
|
27
|
+
startingMapName: optional(String),
|
28
|
+
projection: optional(Object),
|
29
|
+
categories: optional([{ name: String, items: [Object] }]),
|
30
|
+
obliqueCollections: optional([VcsObjectPattern]),
|
31
|
+
plugins: optional([Object]),
|
32
|
+
contentTree: optional([Object]),
|
33
|
+
uiConfig: optional([Object]),
|
34
|
+
featureInfo: optional([VcsObjectPattern]),
|
35
|
+
i18n: optional([Object]),
|
35
36
|
};
|
36
37
|
|
37
38
|
/**
|
@@ -62,7 +63,7 @@ export default async function initApp(mountTarget) {
|
|
62
63
|
*/
|
63
64
|
export async function initAppFromModule(mountTarget, configUrl) {
|
64
65
|
check(mountTarget, String);
|
65
|
-
|
66
|
+
check(configUrl, maybe(String));
|
66
67
|
|
67
68
|
const app = await initApp(mountTarget);
|
68
69
|
if (configUrl) {
|
@@ -90,7 +91,7 @@ export async function initAppFromAppConfig(mountTarget, appUrl) {
|
|
90
91
|
*/
|
91
92
|
const appConfig = await fetch(appUrl).then((response) => response.json());
|
92
93
|
|
93
|
-
check(appConfig.modules, [String, Object]);
|
94
|
+
check(appConfig.modules, [oneOf(String, Object)]);
|
94
95
|
|
95
96
|
const modules = await Promise.all(
|
96
97
|
appConfig.modules.map(async (c) => {
|
@@ -1,17 +1,13 @@
|
|
1
1
|
<template>
|
2
|
-
<v-list
|
3
|
-
<v-row>
|
2
|
+
<v-list>
|
3
|
+
<v-row no-gutters>
|
4
4
|
<v-col
|
5
5
|
v-for="(row, idx) in item.rows"
|
6
6
|
:key="idx"
|
7
7
|
:cols="cols"
|
8
8
|
:class="{ 'w-100': item.colNr === 1, 'w-50': item.colNr !== 1 }"
|
9
9
|
>
|
10
|
-
<v-list-item
|
11
|
-
density="compact"
|
12
|
-
class="pa-0"
|
13
|
-
:class="determineInnerPadding(idx)"
|
14
|
-
>
|
10
|
+
<v-list-item class="pa-0" :class="determineInnerPadding(idx)">
|
15
11
|
<template #prepend>
|
16
12
|
<v-img
|
17
13
|
v-if="
|
@@ -20,7 +16,6 @@
|
|
20
16
|
"
|
21
17
|
width="32"
|
22
18
|
height="24"
|
23
|
-
cover
|
24
19
|
:src="getImageSrcFromShape(row.image)"
|
25
20
|
/>
|
26
21
|
<svg
|
@@ -93,7 +88,7 @@
|
|
93
88
|
</template>
|
94
89
|
|
95
90
|
<v-list-item-title
|
96
|
-
class="
|
91
|
+
class="pa-2"
|
97
92
|
:title="$st(row.tooltip || row.title)"
|
98
93
|
>
|
99
94
|
{{ $st(row.title) }}
|