@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,27 +1,30 @@
|
|
1
1
|
<template>
|
2
2
|
<v-sheet>
|
3
|
-
<VcsFormSection
|
3
|
+
<VcsFormSection
|
4
|
+
heading="Style menus"
|
5
|
+
:header-actions="[resetExample, logStyle]"
|
6
|
+
>
|
4
7
|
<VcsVectorStyleComponent
|
5
|
-
v-model="styleOptions"
|
8
|
+
v-model="styleOptions.style"
|
6
9
|
:value-default="defaultStyleOptions"
|
7
10
|
/>
|
8
11
|
</VcsFormSection>
|
9
12
|
<VcsFormSection :expandable="true" heading="Fill Selector">
|
10
|
-
<VcsFillSelector v-model="styleOptions.fill" />
|
13
|
+
<VcsFillSelector v-model="styleOptions.style.fill" />
|
11
14
|
</VcsFormSection>
|
12
15
|
<VcsFormSection :expandable="true" heading="Stroke Selector">
|
13
|
-
<VcsStrokeSelector v-model="styleOptions.stroke" />
|
16
|
+
<VcsStrokeSelector v-model="styleOptions.style.stroke" />
|
14
17
|
</VcsFormSection>
|
15
18
|
<VcsFormSection :expandable="true" heading="Image Selector">
|
16
19
|
<VcsImageSelector
|
17
|
-
v-model="styleOptions.image"
|
20
|
+
v-model="styleOptions.style.image"
|
18
21
|
:value-default="defaultStyleOptions.image"
|
19
22
|
:extended-shape-settings="true"
|
20
23
|
/>
|
21
24
|
</VcsFormSection>
|
22
25
|
<VcsFormSection :expandable="true" heading="Text Selector">
|
23
26
|
<VcsTextSelector
|
24
|
-
v-model="styleOptions.text"
|
27
|
+
v-model="styleOptions.style.text"
|
25
28
|
:value-default="defaultStyleOptions.text"
|
26
29
|
/>
|
27
30
|
</VcsFormSection>
|
@@ -30,7 +33,7 @@
|
|
30
33
|
|
31
34
|
<script>
|
32
35
|
import { VSheet } from 'vuetify/components';
|
33
|
-
import {
|
36
|
+
import { reactive, toRaw } from 'vue';
|
34
37
|
import {
|
35
38
|
VcsFormSection,
|
36
39
|
VcsFillSelector,
|
@@ -40,8 +43,8 @@
|
|
40
43
|
VcsVectorStyleComponent,
|
41
44
|
VectorStyleMenus,
|
42
45
|
} from '@vcmap/ui';
|
43
|
-
import {
|
44
|
-
import { Fill,
|
46
|
+
import { getStyleOptions } from '@vcmap/core';
|
47
|
+
import { Fill, RegularShape, Stroke, Style, Text } from 'ol/style.js';
|
45
48
|
|
46
49
|
export default {
|
47
50
|
name: 'StyleExample',
|
@@ -97,93 +100,29 @@
|
|
97
100
|
},
|
98
101
|
};
|
99
102
|
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
image: undefined,
|
104
|
-
text: undefined,
|
105
|
-
});
|
106
|
-
|
107
|
-
const fill = exampleStyle.getFill();
|
108
|
-
const stroke = exampleStyle.getStroke();
|
109
|
-
const image = exampleStyle.getImage();
|
110
|
-
const text = exampleStyle.getText();
|
111
|
-
|
112
|
-
// TODO: Replace with new getStyleOptions from @vcmap/core as soon as available
|
113
|
-
if (fill) {
|
114
|
-
styleOptions.value.fill = {
|
115
|
-
color: parseColor(fill.getColor()),
|
116
|
-
};
|
117
|
-
}
|
118
|
-
if (stroke) {
|
119
|
-
styleOptions.value.stroke = {
|
120
|
-
color: parseColor(stroke.getColor()),
|
121
|
-
width: exampleStyle.getStroke().getWidth(),
|
122
|
-
};
|
123
|
-
}
|
124
|
-
if (image) {
|
125
|
-
if (image instanceof RegularShape) {
|
126
|
-
styleOptions.value.image = {
|
127
|
-
points: image.getPoints(),
|
128
|
-
radius: image.getRadius(),
|
129
|
-
radius2: image.getRadius2(),
|
130
|
-
angle: image.getAngle(),
|
131
|
-
fill: {
|
132
|
-
color: parseColor(image.getFill().getColor()),
|
133
|
-
},
|
134
|
-
stroke: {
|
135
|
-
color: parseColor(image.getStroke().getColor()),
|
136
|
-
width: image.getStroke().getWidth(),
|
137
|
-
},
|
138
|
-
};
|
139
|
-
} else if (image instanceof Icon) {
|
140
|
-
styleOptions.value.image = {
|
141
|
-
src: image.getSrc(),
|
142
|
-
scale: image.getScale(),
|
143
|
-
opacity: image.getOpacity(),
|
144
|
-
};
|
145
|
-
}
|
146
|
-
}
|
147
|
-
if (text) {
|
148
|
-
styleOptions.value.text = {
|
149
|
-
font: text.getFont(),
|
150
|
-
fill: {
|
151
|
-
color: parseColor(text.getFill()?.getColor()),
|
152
|
-
},
|
153
|
-
stroke: {
|
154
|
-
color: parseColor(text.getStroke()?.getColor()),
|
155
|
-
width: text.getStroke().getWidth(),
|
156
|
-
},
|
157
|
-
textBaseline: text.getTextBaseline(),
|
158
|
-
offsetY: text.getOffsetY(),
|
159
|
-
offsetX: text.getOffsetX(),
|
160
|
-
text: text.getText(),
|
161
|
-
};
|
162
|
-
}
|
163
|
-
|
164
|
-
onMounted(() => {
|
165
|
-
watchEffect(() => {
|
166
|
-
const newFill = styleOptions.value.fill;
|
167
|
-
const newStroke = styleOptions.value.stroke;
|
168
|
-
const newImage = styleOptions.value.image;
|
169
|
-
// const newText = styleOptions.value.text;
|
170
|
-
// TODO: Replace with new getStyleFromOptions from @vcmap/core as soon as available
|
171
|
-
exampleStyle.setFill(newFill ? new Fill(newFill) : null);
|
172
|
-
exampleStyle.setStroke(newStroke ? new Stroke(newStroke) : null);
|
173
|
-
if (newImage?.points) {
|
174
|
-
// exampleStyle.setImage(new RegularShape(newImage));
|
175
|
-
} else if (newImage?.src) {
|
176
|
-
exampleStyle.setImage(new Icon(newImage));
|
177
|
-
} else {
|
178
|
-
exampleStyle.setImage(null);
|
179
|
-
}
|
180
|
-
});
|
103
|
+
// use reactive wrapper object to ensure updates
|
104
|
+
const styleOptions = reactive({
|
105
|
+
style: getStyleOptions(exampleStyle),
|
181
106
|
});
|
182
107
|
|
183
108
|
return {
|
184
109
|
styleOptions,
|
185
110
|
defaultStyleOptions,
|
186
111
|
VectorStyleMenus,
|
112
|
+
resetExample: {
|
113
|
+
name: 'resetExample',
|
114
|
+
icon: 'mdi-sync',
|
115
|
+
callback() {
|
116
|
+
styleOptions.style = getStyleOptions(exampleStyle);
|
117
|
+
},
|
118
|
+
},
|
119
|
+
logStyle: {
|
120
|
+
name: 'logStyle',
|
121
|
+
icon: 'mdi-console',
|
122
|
+
callback() {
|
123
|
+
console.log(toRaw(styleOptions.style));
|
124
|
+
},
|
125
|
+
},
|
187
126
|
};
|
188
127
|
},
|
189
128
|
};
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<VcsList
|
7
7
|
:items="propertiesToSelectFrom"
|
8
8
|
:selectable="true"
|
9
|
-
v-model="
|
9
|
+
v-model="propertiesSelected"
|
10
10
|
title="Select all"
|
11
11
|
/>
|
12
12
|
</v-col>
|
@@ -29,13 +29,20 @@
|
|
29
29
|
/>
|
30
30
|
</v-col>
|
31
31
|
</v-row>
|
32
|
+
<v-row no-gutters>
|
33
|
+
<v-col>
|
34
|
+
<VcsFormButton @click="() => console.log({ ...featureProperties })"
|
35
|
+
>Log VectorProperties</VcsFormButton
|
36
|
+
>
|
37
|
+
</v-col>
|
38
|
+
</v-row>
|
32
39
|
</v-container>
|
33
40
|
<VcsVectorPropertiesComponent
|
34
41
|
v-model="featureProperties"
|
35
42
|
:value-default="defaultOptions"
|
36
43
|
:show3-d-properties="is3D"
|
37
|
-
:properties="
|
38
|
-
:
|
44
|
+
:properties="properties"
|
45
|
+
:show-dividers="!hideDividers"
|
39
46
|
:expandable="expandable"
|
40
47
|
:show-reset="showReset"
|
41
48
|
/>
|
@@ -43,12 +50,22 @@
|
|
43
50
|
</template>
|
44
51
|
|
45
52
|
<script>
|
46
|
-
import {
|
53
|
+
import {
|
54
|
+
computed,
|
55
|
+
inject,
|
56
|
+
onMounted,
|
57
|
+
onUnmounted,
|
58
|
+
reactive,
|
59
|
+
ref,
|
60
|
+
shallowRef,
|
61
|
+
watch,
|
62
|
+
} from 'vue';
|
47
63
|
import { CesiumMap, VectorLayer, VectorProperties } from '@vcmap/core';
|
48
64
|
import {
|
49
65
|
VcsVectorPropertiesComponent,
|
50
66
|
VcsList,
|
51
67
|
VcsCheckbox,
|
68
|
+
VcsFormButton,
|
52
69
|
} from '@vcmap/ui';
|
53
70
|
import { VSheet, VContainer, VRow, VCol } from 'vuetify/components';
|
54
71
|
import { Feature } from 'ol';
|
@@ -69,6 +86,7 @@
|
|
69
86
|
VcsVectorPropertiesComponent,
|
70
87
|
VcsList,
|
71
88
|
VcsCheckbox,
|
89
|
+
VcsFormButton,
|
72
90
|
VSheet,
|
73
91
|
VContainer,
|
74
92
|
VRow,
|
@@ -96,9 +114,10 @@
|
|
96
114
|
},
|
97
115
|
});
|
98
116
|
|
99
|
-
const featureProperties =
|
117
|
+
const featureProperties = shallowRef(
|
100
118
|
layer.vectorProperties.getValuesForFeatures([feature]),
|
101
119
|
);
|
120
|
+
featureProperties.value.scaleByDistance = [0, 1, 100, 0];
|
102
121
|
watch(featureProperties, () => {
|
103
122
|
layer.vectorProperties.setValuesForFeatures(featureProperties.value, [
|
104
123
|
feature,
|
@@ -106,10 +125,13 @@
|
|
106
125
|
});
|
107
126
|
|
108
127
|
const defaultOptions = VectorProperties.getDefaultOptions();
|
109
|
-
const propertiesToSelectFrom =
|
110
|
-
|
111
|
-
|
112
|
-
|
128
|
+
const propertiesToSelectFrom = reactive(
|
129
|
+
Object.keys(defaultOptions).map((key) => ({
|
130
|
+
name: key,
|
131
|
+
title: key,
|
132
|
+
})),
|
133
|
+
);
|
134
|
+
const propertiesSelected = shallowRef([...propertiesToSelectFrom]);
|
113
135
|
|
114
136
|
onMounted(() => {
|
115
137
|
vcsApp.layers.add(layer);
|
@@ -128,7 +150,10 @@
|
|
128
150
|
defaultOptions,
|
129
151
|
is3D,
|
130
152
|
propertiesToSelectFrom,
|
131
|
-
|
153
|
+
propertiesSelected,
|
154
|
+
properties: computed(() =>
|
155
|
+
propertiesSelected.value.map(({ name }) => name),
|
156
|
+
),
|
132
157
|
hideDividers: ref(false),
|
133
158
|
expandable: ref(false),
|
134
159
|
showReset: ref(true),
|
@@ -1,24 +1,20 @@
|
|
1
1
|
<template>
|
2
2
|
<VcsWizard v-model.number="step">
|
3
3
|
<VcsWizardStep
|
4
|
-
step="
|
5
|
-
:complete="step >
|
4
|
+
step="0"
|
5
|
+
:complete="step > 0"
|
6
6
|
help-text="1. this is the help text"
|
7
7
|
heading="This is the first step"
|
8
8
|
v-model.number="step"
|
9
9
|
>
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
<VcsFormButton @click="increaseStep()" class="my-2">
|
15
|
-
Next
|
16
|
-
</VcsFormButton>
|
17
|
-
</v-container>
|
10
|
+
<!-- px-2 because does not contain input components -->
|
11
|
+
<div>This is the content of the first step.</div>
|
12
|
+
<template #actions="{ next }">
|
13
|
+
<VcsFormButton @click="next">Next</VcsFormButton>
|
18
14
|
</template>
|
19
15
|
</VcsWizardStep>
|
20
16
|
<VcsWizardStep
|
21
|
-
step="
|
17
|
+
step="1"
|
22
18
|
editable
|
23
19
|
:header-actions="actions.second"
|
24
20
|
heading="This is the second step"
|
@@ -33,35 +29,29 @@
|
|
33
29
|
<li>test</li>
|
34
30
|
</ol>
|
35
31
|
</template>
|
36
|
-
<
|
37
|
-
<
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
</v-form>
|
49
|
-
</v-container>
|
50
|
-
</template>
|
51
|
-
</VcsWizardStep>
|
52
|
-
<VcsWizardStep step="3" v-model.number="step">
|
53
|
-
<template #header>
|
54
|
-
<div class="d-flex flex-grow-1 flex-row-reverse">
|
55
|
-
<VcsFormButton
|
56
|
-
:disabled="!selection || !formValid"
|
57
|
-
@click="finish()"
|
58
|
-
variant="filled"
|
59
|
-
>
|
60
|
-
Finish
|
61
|
-
</VcsFormButton>
|
62
|
-
</div>
|
32
|
+
<v-form ref="formRef" v-model="formValid" lazy-validation>
|
33
|
+
<VcsSelect
|
34
|
+
:items="['this', 'is', 'a', 'test']"
|
35
|
+
v-model="selection"
|
36
|
+
placeholder="Select"
|
37
|
+
:rules="[
|
38
|
+
(v) => (!!v && v !== 'this') || 'Please select a valid option.',
|
39
|
+
]"
|
40
|
+
/>
|
41
|
+
</v-form>
|
42
|
+
<template #actions="{ prev }">
|
43
|
+
<VcsFormButton @click="prev">Back</VcsFormButton>
|
63
44
|
</template>
|
64
45
|
</VcsWizardStep>
|
46
|
+
<div class="d-flex flex-grow-1 flex-row-reverse pa-2">
|
47
|
+
<VcsFormButton
|
48
|
+
:disabled="!selection || !formValid"
|
49
|
+
@click="finish()"
|
50
|
+
variant="filled"
|
51
|
+
>
|
52
|
+
Finish
|
53
|
+
</VcsFormButton>
|
54
|
+
</div>
|
65
55
|
</VcsWizard>
|
66
56
|
</template>
|
67
57
|
|
@@ -72,7 +62,7 @@
|
|
72
62
|
VcsFormButton,
|
73
63
|
VcsSelect,
|
74
64
|
} from '@vcmap/ui';
|
75
|
-
import { VForm
|
65
|
+
import { VForm } from 'vuetify/components';
|
76
66
|
import { ref } from 'vue';
|
77
67
|
|
78
68
|
/** Component to showcase the VcsWizard and VcsWizardStep. */
|
@@ -84,12 +74,11 @@
|
|
84
74
|
VcsFormButton,
|
85
75
|
VcsSelect,
|
86
76
|
VForm,
|
87
|
-
VContainer,
|
88
77
|
},
|
89
78
|
setup() {
|
90
|
-
const step = ref(
|
91
|
-
const selection = ref();
|
92
|
-
const
|
79
|
+
const step = ref(0);
|
80
|
+
const selection = ref(undefined);
|
81
|
+
const formRef = ref(null);
|
93
82
|
const formValid = ref(false);
|
94
83
|
const actions = {
|
95
84
|
second: [
|
@@ -103,22 +92,19 @@
|
|
103
92
|
},
|
104
93
|
],
|
105
94
|
};
|
95
|
+
|
96
|
+
function finish() {
|
97
|
+
step.value = 0;
|
98
|
+
formRef.value?.resetValidation();
|
99
|
+
}
|
100
|
+
|
106
101
|
return {
|
107
102
|
step,
|
108
|
-
increaseStep() {
|
109
|
-
step.value += 1;
|
110
|
-
},
|
111
|
-
decreaseStep() {
|
112
|
-
step.value -= 1;
|
113
|
-
},
|
114
103
|
selection,
|
115
104
|
actions,
|
116
105
|
formValid,
|
117
|
-
|
118
|
-
finish
|
119
|
-
step.value = 1;
|
120
|
-
form.value.reset();
|
121
|
-
},
|
106
|
+
formRef,
|
107
|
+
finish,
|
122
108
|
};
|
123
109
|
},
|
124
110
|
};
|
@@ -0,0 +1,25 @@
|
|
1
|
+
> *Note:* Please use the main [MaterialDesign](https://github.com/Templarian/MaterialDesign/issues) repo to report issues. This repo is for distribution of the Webfont files only.
|
2
|
+
|
3
|
+
# Webfont - Material Design Icons
|
4
|
+
|
5
|
+
Webfont distribution for the [Material Design Icons](https://materialdesignicons.com).
|
6
|
+
|
7
|
+
```
|
8
|
+
npm install @mdi/font
|
9
|
+
```
|
10
|
+
|
11
|
+
> Package built with [@mdi/font-build](https://github.com/Templarian/MaterialDesign-Font-Build).
|
12
|
+
|
13
|
+
## Related Packages
|
14
|
+
|
15
|
+
[NPM @MDI Organization](https://npmjs.com/org/mdi)
|
16
|
+
|
17
|
+
- JavaScript/Typescript: [MaterialDesign-JS](https://github.com/Templarian/MaterialDesign-JS)
|
18
|
+
- SVG: [MaterialDesign-SVG](https://github.com/Templarian/MaterialDesign-SVG)
|
19
|
+
- Font-Build [MaterialDesign-Font-Build](https://github.com/Templarian/MaterialDesign-Font-Build)
|
20
|
+
- Desktop Font: [MaterialDesign-Font](https://github.com/Templarian/MaterialDesign-Font)
|
21
|
+
|
22
|
+
## Learn More
|
23
|
+
|
24
|
+
- [MaterialDesignIcons.com](https://materialdesignicons.com)
|
25
|
+
- https://github.com/Templarian/MaterialDesign
|