@vcmap/ui 6.0.0-rc.1 → 6.0.0-rc.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/build.js +40 -60
- package/build/buildHelpers.js +63 -20
- package/build/buildTypes.js +9 -5
- package/build/bundle.js +1 -1
- package/build/info/conf.json +1 -1
- package/build/info/publish.js +25 -31
- package/build/lintTypes.js +5 -0
- package/config/aerowest.config.json +12 -2
- package/config/base.config.json +22 -17
- package/config/dev.config.json +164 -4
- package/config/projects.config.json +3 -1
- package/config/solar.config.json +65 -0
- package/config/splashscreen.config.json +45 -0
- package/config/theming.config.json +68 -0
- package/config/www.config.json +39 -23
- package/dist/.htaccess +7 -0
- package/dist/assets/@mdi/font/README.md +25 -0
- package/dist/assets/@mdi/font/css/materialdesignicons.min-680621ca.css +3 -0
- package/dist/assets/@mdi/font/css/materialdesignicons.min.css.map +16 -0
- package/dist/assets/@mdi/font/fonts/materialdesignicons-webfont.woff2 +0 -0
- package/dist/assets/cesium/Assets/approximateTerrainHeights.json +1 -1
- package/dist/assets/cesium/ThirdParty/Workers/z-worker-pako.js +1 -1
- package/dist/assets/cesium/Workers/{chunk-JB2LWGH4.js → chunk-2LOWCAMW.js} +14 -14
- package/dist/assets/cesium/Workers/{chunk-Z24VKNDO.js → chunk-2PTKXHJB.js} +12 -12
- package/dist/assets/cesium/Workers/{chunk-AHKEZ2OE.js → chunk-3HQMMUPU.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-V3NGATMV.js → chunk-3IFRSGEY.js} +11 -13
- package/dist/assets/cesium/Workers/{chunk-66QLLS45.js → chunk-44QAAS4P.js} +11 -9
- package/dist/assets/cesium/Workers/{chunk-TFC6TZ3S.js → chunk-56EDBCGT.js} +33 -22
- package/dist/assets/cesium/Workers/{chunk-3W63OHNJ.js → chunk-57H6I3SV.js} +5 -5
- package/dist/assets/cesium/Workers/{chunk-PFQBCKBM.js → chunk-6SQMLVGV.js} +5206 -3483
- package/dist/assets/cesium/Workers/{chunk-OZJDGN5F.js → chunk-7YIOHQWH.js} +16 -16
- package/dist/assets/cesium/Workers/{chunk-XTY7B2N6.js → chunk-7ZZ5LMZY.js} +17 -16
- package/dist/assets/cesium/Workers/{chunk-HARLBUOL.js → chunk-BVKITG4N.js} +11 -8
- package/dist/assets/cesium/Workers/{chunk-AFFLIKOH.js → chunk-C3EQ27WF.js} +7 -7
- package/dist/assets/cesium/Workers/{chunk-RW6LU2CJ.js → chunk-C4WPMOKT.js} +6 -5
- package/dist/assets/cesium/Workers/{chunk-OYFCF4PL.js → chunk-EDLRS3AW.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-C3SXRKRW.js → chunk-EJVGYGLF.js} +7 -7
- package/dist/assets/cesium/Workers/{chunk-PCJWUS4M.js → chunk-FFLMY4TE.js} +830 -14
- package/dist/assets/cesium/Workers/{chunk-MPAZH4BF.js → chunk-GBT7MJ6X.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-ZA25DG4Y.js → chunk-HJMNR3GC.js} +11 -11
- package/dist/assets/cesium/Workers/{chunk-JS3AW5BK.js → chunk-HP5XLODI.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-34YUDLRP.js → chunk-IBRIWOCM.js} +13 -13
- package/dist/assets/cesium/Workers/{chunk-XY7MGBKC.js → chunk-IZGUQO6Q.js} +14 -16
- package/dist/assets/cesium/Workers/{chunk-KTJSNCK4.js → chunk-IZJ42N4W.js} +230 -20
- package/dist/assets/cesium/Workers/{chunk-QMEMZIJI.js → chunk-JBSKHTNX.js} +4 -4
- package/dist/assets/cesium/Workers/{chunk-QIKODV5G.js → chunk-JISPSEF3.js} +4 -4
- package/dist/assets/cesium/Workers/{chunk-K36FEYS7.js → chunk-JSQJDZI4.js} +16 -12
- package/dist/assets/cesium/Workers/{chunk-X4SU25DT.js → chunk-JXVLNVXC.js} +10 -12
- package/dist/assets/cesium/Workers/chunk-KHZNBFOH.js +963 -0
- package/dist/assets/cesium/Workers/{chunk-KD4Y7CZL.js → chunk-L5GODJAR.js} +15 -17
- package/dist/assets/cesium/Workers/{chunk-O5AMBQ36.js → chunk-LJ2JQHJT.js} +13 -8
- package/dist/assets/cesium/Workers/{chunk-ABADGKYE.js → chunk-LLAF3CPH.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-CHHNOC2C.js → chunk-M24KHENR.js} +95 -155
- package/dist/assets/cesium/Workers/{chunk-2R5O53JW.js → chunk-NDDI2LWR.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-QT3MPEMI.js → chunk-NGZJIN5Z.js} +4 -4
- package/dist/assets/cesium/Workers/{chunk-ZFOBYDGF.js → chunk-O72GZTSE.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-IPA4EACJ.js → chunk-OPP2SKMA.js} +12 -12
- package/dist/assets/cesium/Workers/{chunk-4MFFIWUA.js → chunk-P6TRGU3S.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-GLZBE3ML.js → chunk-QN6TBED4.js} +13 -13
- package/dist/assets/cesium/Workers/{chunk-MYZB7C4T.js → chunk-QQOZO7KO.js} +10 -10
- package/dist/assets/cesium/Workers/{chunk-HQF437NJ.js → chunk-RJM36CNY.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-CTELOFLA.js → chunk-RTJKHZWU.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-J3JY6I2C.js → chunk-TI3TRKIC.js} +425 -489
- package/dist/assets/cesium/Workers/{chunk-OAVNIRB4.js → chunk-TK5IIG2F.js} +5 -7
- package/dist/assets/cesium/Workers/{chunk-WXTV4ATB.js → chunk-U5HSOKPQ.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-N3JIFFX2.js → chunk-WGDFYAGC.js} +5 -6
- package/dist/assets/cesium/Workers/{chunk-EW2GWJYB.js → chunk-X7IQYYHF.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-LLUNNUJV.js → chunk-XIUSRWL6.js} +9 -5
- package/dist/assets/cesium/Workers/{chunk-CCFQRR6D.js → chunk-XWOUPGUF.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-6BTKZDRG.js → chunk-YCDZX5LS.js} +3 -5
- package/dist/assets/cesium/Workers/{chunk-RP2A7BR5.js → chunk-YK3QIKY7.js} +12 -14
- package/dist/assets/cesium/Workers/{chunk-227AJNOA.js → chunk-YSIJTJ7N.js} +5 -5
- package/dist/assets/cesium/Workers/{chunk-A4JVFBQ3.js → chunk-Z2QP3CXW.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-VLGOATD6.js → chunk-ZVUUPJEM.js} +22 -22
- package/dist/assets/cesium/Workers/combineGeometry.js +22 -23
- package/dist/assets/cesium/Workers/createBoxGeometry.js +16 -17
- package/dist/assets/cesium/Workers/createBoxOutlineGeometry.js +14 -15
- package/dist/assets/cesium/Workers/createCircleGeometry.js +29 -26
- package/dist/assets/cesium/Workers/createCircleOutlineGeometry.js +17 -18
- package/dist/assets/cesium/Workers/createCoplanarPolygonGeometry.js +35 -36
- package/dist/assets/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +29 -30
- package/dist/assets/cesium/Workers/createCorridorGeometry.js +29 -30
- package/dist/assets/cesium/Workers/createCorridorOutlineGeometry.js +27 -28
- package/dist/assets/cesium/Workers/createCylinderGeometry.js +18 -19
- package/dist/assets/cesium/Workers/createCylinderOutlineGeometry.js +17 -19
- package/dist/assets/cesium/Workers/createEllipseGeometry.js +24 -25
- package/dist/assets/cesium/Workers/createEllipseOutlineGeometry.js +17 -18
- package/dist/assets/cesium/Workers/createEllipsoidGeometry.js +17 -18
- package/dist/assets/cesium/Workers/createEllipsoidOutlineGeometry.js +16 -17
- package/dist/assets/cesium/Workers/createFrustumGeometry.js +16 -17
- package/dist/assets/cesium/Workers/createFrustumOutlineGeometry.js +18 -18
- package/dist/assets/cesium/Workers/createGeometry.js +52 -33
- package/dist/assets/cesium/Workers/createGroundPolylineGeometry.js +28 -29
- package/dist/assets/cesium/Workers/createPlaneGeometry.js +14 -15
- package/dist/assets/cesium/Workers/createPlaneOutlineGeometry.js +13 -14
- package/dist/assets/cesium/Workers/createPolygonGeometry.js +451 -176
- package/dist/assets/cesium/Workers/createPolygonOutlineGeometry.js +29 -30
- package/dist/assets/cesium/Workers/createPolylineGeometry.js +24 -25
- package/dist/assets/cesium/Workers/createPolylineVolumeGeometry.js +31 -33
- package/dist/assets/cesium/Workers/createPolylineVolumeOutlineGeometry.js +27 -29
- package/dist/assets/cesium/Workers/createRectangleGeometry.js +30 -31
- package/dist/assets/cesium/Workers/createRectangleOutlineGeometry.js +21 -24
- package/dist/assets/cesium/Workers/createSimplePolylineGeometry.js +22 -23
- package/dist/assets/cesium/Workers/createSphereGeometry.js +17 -18
- package/dist/assets/cesium/Workers/createSphereOutlineGeometry.js +16 -17
- package/dist/assets/cesium/Workers/createTaskProcessorWorker.js +3 -3
- package/dist/assets/cesium/Workers/createVectorTileClampedPolylines.js +14 -16
- package/dist/assets/cesium/Workers/createVectorTileGeometries.js +22 -23
- package/dist/assets/cesium/Workers/createVectorTilePoints.js +12 -12
- package/dist/assets/cesium/Workers/createVectorTilePolygons.js +20 -21
- package/dist/assets/cesium/Workers/createVectorTilePolylines.js +14 -16
- package/dist/assets/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +24 -25
- package/dist/assets/cesium/Workers/createVerticesFromHeightmap.js +29 -26
- package/dist/assets/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +19 -21
- package/dist/assets/cesium/Workers/createWallGeometry.js +23 -24
- package/dist/assets/cesium/Workers/createWallOutlineGeometry.js +22 -23
- package/dist/assets/cesium/Workers/decodeDraco.js +11 -11
- package/dist/assets/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +35 -19
- package/dist/assets/cesium/Workers/decodeI3S.js +600 -92
- package/dist/assets/cesium/Workers/transcodeKTX2.js +58 -93
- package/dist/assets/cesium/Workers/transferTypedArrayTest.js +1 -1
- package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +21 -22
- package/dist/assets/{cesium.6b12b4.js → cesium-9ea5ba6e.js} +73315 -68035
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.074b78.js → core-9b003470.js} +7135 -5664
- package/dist/assets/core.js +1 -1
- package/dist/assets/{ol.8b2e3a.js → ol-8373d6ac.js} +43066 -44325
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui-163311a7.css +1 -0
- package/dist/assets/{ui.715986.js → ui-163311a7.js} +14696 -13170
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue-0f6dd813.js +6083 -0
- package/dist/assets/vue.js +1 -1
- package/dist/assets/{vuetify.28d881.css → vuetify-e2c4b35c.css} +2 -2
- package/dist/assets/{vuetify.28d881.js → vuetify-e2c4b35c.js} +8699 -8824
- package/dist/assets/vuetify.js +1 -1
- package/dist/index.html +11 -10
- package/index.d.ts +36 -20
- package/index.html +5 -5
- package/index.js +20 -10
- package/lib/olLib.js +90 -23
- package/package.json +25 -23
- package/plugins/@vcmap-show-case/custom-icons-example/README.md +3 -0
- package/plugins/@vcmap-show-case/custom-icons-example/assets/imageExample.png +0 -0
- package/plugins/@vcmap-show-case/custom-icons-example/assets/svgExample.svg +1 -0
- package/plugins/@vcmap-show-case/custom-icons-example/package.json +5 -0
- package/plugins/@vcmap-show-case/custom-icons-example/src/CustomIconsExample.vue +90 -0
- package/plugins/@vcmap-show-case/custom-icons-example/src/index.js +45 -0
- package/plugins/@vcmap-show-case/flight-component-example/src/FlightExample.vue +41 -1
- package/plugins/@vcmap-show-case/form-inputs-example/src/FormInputsExample.vue +73 -34
- 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 +50 -96
- package/plugins/@vcmap-show-case/plugin-editors/src/PluginEditors.vue +14 -11
- package/plugins/@vcmap-show-case/project-selector/src/ModulesListComponent.vue +18 -11
- package/plugins/@vcmap-show-case/search-example/src/index.js +1 -0
- package/plugins/@vcmap-show-case/search-example/src/searchImpl.js +35 -5
- package/plugins/@vcmap-show-case/style-input-example/src/StyleExample.vue +29 -90
- package/plugins/@vcmap-show-case/theming-example/README.md +3 -0
- package/plugins/@vcmap-show-case/theming-example/package.json +5 -0
- package/plugins/@vcmap-show-case/theming-example/src/ThemingExample.vue +116 -0
- package/plugins/@vcmap-show-case/theming-example/src/index.js +53 -0
- package/plugins/@vcmap-show-case/toolbox-example/src/index.js +2 -1
- package/plugins/@vcmap-show-case/vector-properties-example/src/GeometrySettings.vue +420 -0
- package/plugins/@vcmap-show-case/vector-properties-example/src/LayoutHandler.vue +97 -0
- package/plugins/@vcmap-show-case/vector-properties-example/src/TerrainSettings.vue +90 -0
- package/plugins/@vcmap-show-case/vector-properties-example/src/VectorPropertiesExample.vue +86 -70
- package/plugins/@vcmap-show-case/vector-properties-example/src/index.js +34 -1
- package/plugins/@vcmap-show-case/vector-properties-example/src/lib.js +294 -0
- package/plugins/@vcmap-show-case/wizard-example/src/WizardExample.vue +40 -54
- package/plugins/package.json +23 -21
- package/public/assets/@mdi/font/README.md +25 -0
- package/public/assets/@mdi/font/css/materialdesignicons.min.css +2 -2
- package/public/assets/@mdi/font/css/materialdesignicons.min.css.map +16 -0
- package/public/assets/@mdi/font/fonts/materialdesignicons-webfont.woff2 +0 -0
- package/src/actions/StyleSelector.vue +37 -21
- package/src/actions/StyleSelector.vue.d.ts +5 -5
- package/src/actions/actionHelper.d.ts +4 -11
- package/src/actions/actionHelper.js +35 -27
- package/src/actions/flightActions.js +44 -23
- package/src/actions/listActions.d.ts +5 -12
- package/src/actions/listActions.js +6 -22
- package/src/actions/stateRefAction.js +2 -2
- package/src/application/VcsApp.vue +196 -85
- package/src/application/VcsApp.vue.d.ts +309 -4
- package/src/application/VcsAppWrapper.vue +1 -1
- package/src/application/VcsAttributions.vue +4 -15
- package/src/application/VcsAttributionsFooter.vue +28 -18
- package/src/application/VcsAttributionsFooter.vue.d.ts +1 -1
- package/src/application/VcsContainer.vue +27 -10
- package/src/application/VcsContainer.vue.d.ts +248 -0
- package/src/application/VcsMainMap.vue +8 -8
- package/src/application/VcsMainMap.vue.d.ts +2 -2
- package/src/application/VcsMap.vue +1 -0
- package/src/application/VcsNavbar.vue +15 -3
- package/src/application/VcsNavbar.vue.d.ts +2 -1
- package/src/application/VcsPositionDisplay.vue +10 -25
- package/src/application/VcsPositionDisplay.vue.d.ts +0 -1
- package/src/application/VcsSettings.vue +11 -18
- package/src/application/VcsSplashScreen.vue +43 -55
- 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 +26 -41
- package/src/application/attributionsHelper.d.ts +20 -22
- package/src/application/attributionsHelper.js +14 -10
- package/src/callback/vcsCallback.d.ts +2 -2
- package/src/callback/vcsCallback.js +1 -1
- package/src/components/buttons/VcsActionButtonList.vue +66 -7
- package/src/components/buttons/VcsActionButtonList.vue.d.ts +28 -0
- package/src/components/buttons/VcsButton.vue +8 -10
- package/src/components/buttons/VcsButton.vue.d.ts +4 -4
- package/src/components/buttons/VcsFormButton.vue +9 -9
- package/src/components/buttons/VcsFormButton.vue.d.ts +3 -3
- package/src/components/buttons/VcsToolButton.vue +9 -7
- package/src/components/buttons/VcsToolButton.vue.d.ts +5 -5
- package/src/components/composables.d.ts +14 -2
- package/src/components/composables.js +106 -4
- package/src/components/extent/VcsExtent.vue +11 -7
- package/src/components/extent/VcsExtent.vue.d.ts +1 -0
- package/src/components/extent/VcsExtentEditor.vue +2 -1
- package/src/components/flight/VcsFlightAnchorsComponent.vue +64 -36
- package/src/components/flight/VcsFlightComponent.vue +25 -30
- package/src/components/flight/VcsFlightComponent.vue.d.ts +1 -0
- package/src/components/flight/VcsFlightEditor.vue +1 -0
- package/src/components/flight/VcsFlightPlayer.vue +47 -19
- package/src/components/form-inputs-controls/VcsCheckbox.vue +32 -13
- package/src/components/form-inputs-controls/VcsCheckbox.vue.d.ts +10 -0
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue +14 -17
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue.d.ts +2 -4
- package/src/components/form-inputs-controls/VcsCoordinate.vue +17 -5
- package/src/components/form-inputs-controls/VcsCoordinate.vue.d.ts +5 -2
- package/src/components/form-inputs-controls/VcsDatePicker.vue +53 -59
- 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 +65 -3
- package/src/components/form-inputs-controls/VcsLabel.vue.d.ts +32 -1
- package/src/components/form-inputs-controls/VcsRadio.vue +26 -10
- package/src/components/form-inputs-controls/VcsRadio.vue.d.ts +2 -0
- package/src/components/form-inputs-controls/VcsSelect.vue +47 -47
- package/src/components/form-inputs-controls/VcsSelect.vue.d.ts +9 -6
- package/src/components/form-inputs-controls/VcsSlider.vue +53 -15
- package/src/components/form-inputs-controls/VcsSlider.vue.d.ts +26 -2
- package/src/components/form-inputs-controls/VcsTextArea.vue +56 -40
- package/src/components/form-inputs-controls/VcsTextArea.vue.d.ts +1 -0
- package/src/components/form-inputs-controls/VcsTextField.vue +46 -16
- package/src/components/form-inputs-controls/VcsTextField.vue.d.ts +12 -1
- 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 +78 -58
- package/src/components/form-inputs-controls/VcsWizardStep.vue.d.ts +24 -11
- package/src/components/form-inputs-controls/vcsTextField.scss +21 -13
- package/src/components/form-output/VcsFormattedNumber.vue +46 -14
- package/src/components/form-output/VcsFormattedNumber.vue.d.ts +27 -0
- package/src/components/form-output/VcsMarkdown.vue +56 -0
- package/src/{application/VcsCustomScreen.vue.d.ts → components/form-output/VcsMarkdown.vue.d.ts} +7 -5
- package/src/components/form-output/markdownHelper.d.ts +30 -0
- package/src/components/form-output/markdownHelper.js +398 -0
- package/src/components/import/VcsFileDrop.vue +9 -6
- package/src/components/import/VcsImportComponent.vue +12 -8
- package/src/components/import/VcsImportComponent.vue.d.ts +1 -2
- package/src/components/lists/VcsActionList.vue +50 -34
- package/src/components/lists/VcsActionList.vue.d.ts +3 -1
- package/src/components/lists/VcsList.vue +105 -192
- package/src/components/lists/VcsList.vue.d.ts +18 -66
- package/src/components/lists/VcsListItemComponent.vue +216 -0
- package/src/components/lists/VcsListItemComponent.vue.d.ts +83 -0
- package/src/components/lists/VcsTreeview.vue +119 -26
- package/src/components/lists/VcsTreeview.vue.d.ts +26 -3
- package/src/components/lists/VcsTreeviewSearchbar.vue +17 -6
- package/src/components/lists/VcsTreeviewSearchbar.vue.d.ts +3 -1
- package/src/components/lists/VcsTreeviewTitle.vue +40 -0
- package/src/components/modelHelper.d.ts +21 -8
- package/src/components/modelHelper.js +50 -8
- package/src/components/notification/VcsBadge.vue +2 -2
- package/src/components/notification/VcsHelp.vue +6 -7
- package/src/components/notification/VcsHelp.vue.d.ts +0 -8
- package/src/components/notification/VcsHelpTooltip.vue +48 -0
- package/src/components/notification/VcsHelpTooltip.vue.d.ts +25 -0
- package/src/components/plugins/AbstractConfigEditor.vue +2 -23
- package/src/components/plugins/AbstractConfigEditor.vue.d.ts +6 -29
- package/src/components/section/VcsExpansionPanel.vue +111 -0
- package/src/components/section/VcsExpansionPanel.vue.d.ts +19 -0
- package/src/components/{form-inputs-controls → section}/VcsFormSection.vue +13 -7
- package/src/components/{form-inputs-controls → section}/VcsFormSection.vue.d.ts +2 -3
- package/src/components/style/MenuWrapper.vue +25 -27
- package/src/components/style/MenuWrapper.vue.d.ts +4 -4
- package/src/components/style/VcsFeatureStyleComponent.vue +1 -0
- package/src/components/style/VcsFillMenu.vue +10 -16
- package/src/components/style/VcsFillMenu.vue.d.ts +0 -18
- package/src/components/style/VcsFillSelector.vue +14 -16
- package/src/components/style/VcsImageMenu.vue +9 -25
- package/src/components/style/VcsImageMenu.vue.d.ts +0 -27
- package/src/components/style/VcsImageSelector.vue +115 -172
- package/src/components/style/VcsImageSelector.vue.d.ts +16 -15
- package/src/components/style/VcsStrokeMenu.vue +9 -15
- package/src/components/style/VcsStrokeMenu.vue.d.ts +0 -18
- package/src/components/style/VcsStrokeSelector.vue +17 -21
- package/src/components/style/VcsStrokeSelector.vue.d.ts +1 -0
- package/src/components/style/VcsTextMenu.vue +12 -14
- package/src/components/style/VcsTextMenu.vue.d.ts +0 -9
- package/src/components/style/VcsTextSelector.vue +80 -96
- package/src/components/style/VcsTextSelector.vue.d.ts +20 -22
- package/src/components/style/VcsVectorStyleComponent.vue +9 -20
- 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/tables/VcsDataTable.vue +43 -33
- package/src/components/tables/VcsDataTable.vue.d.ts +2 -1
- package/src/components/tables/VcsTable.vue +46 -62
- package/src/components/tables/VcsTable.vue.d.ts +30 -17
- package/src/components/tables/VcsTableCell.vue +72 -0
- package/src/components/tables/VcsTableCell.vue.d.ts +13 -0
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue +87 -51
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue.d.ts +9 -7
- package/src/components/vector-properties/VcsFeatureTransforms.vue +45 -6
- package/src/components/vector-properties/VcsFeatureTransforms.vue.d.ts +2 -1
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +541 -596
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue.d.ts +222 -24
- package/src/components/viewpoint/VcsViewpointComponent.vue +36 -20
- package/src/components/viewpoint/VcsViewpointComponent.vue.d.ts +1 -0
- package/src/components/viewpoint/VcsViewpointEditor.vue +3 -1
- package/src/contentTree/LayerTree.vue +10 -28
- package/src/contentTree/LayerTree.vue.d.ts +1 -1
- package/src/contentTree/contentTreeCollection.d.ts +1 -0
- package/src/contentTree/contentTreeCollection.js +45 -11
- package/src/contentTree/contentTreeItem.d.ts +4 -4
- package/src/contentTree/contentTreeItem.js +8 -8
- package/src/contentTree/layerContentTreeItem.d.ts +8 -5
- package/src/contentTree/layerContentTreeItem.js +48 -34
- package/src/contentTree/layerGroupContentTreeItem.d.ts +7 -1
- package/src/contentTree/layerGroupContentTreeItem.js +22 -3
- package/src/contentTree/obliqueCollectionContentTreeItem.js +6 -1
- package/src/featureInfo/AddressBalloonComponent.vue +1 -1
- package/src/featureInfo/BalloonComponent.vue +33 -26
- package/src/featureInfo/BalloonComponent.vue.d.ts +1 -0
- package/src/featureInfo/IframeComponent.vue +6 -1
- package/src/featureInfo/MarkdownBalloonComponent.vue +5 -3
- package/src/featureInfo/MarkdownBalloonComponent.vue.d.ts +2 -2
- package/src/featureInfo/abstractFeatureInfoView.d.ts +19 -4
- package/src/featureInfo/abstractFeatureInfoView.js +38 -13
- package/src/featureInfo/balloonHelper.js +1 -1
- package/src/featureInfo/featureInfo.d.ts +7 -7
- package/src/featureInfo/featureInfo.js +59 -41
- package/src/featureInfo/iframeFeatureInfoView.d.ts +8 -2
- package/src/featureInfo/iframeFeatureInfoView.js +15 -5
- package/src/featureInfo/markdownBalloonFeatureInfoView.d.ts +1 -1
- package/src/featureInfo/markdownBalloonFeatureInfoView.js +5 -5
- package/src/featureInfo/markdownFeatureInfoView.d.ts +1 -1
- package/src/featureInfo/markdownFeatureInfoView.js +9 -11
- package/src/featureInfo/tableFeatureInfoView.js +13 -4
- package/src/i18n/de.d.ts +59 -32
- package/src/i18n/de.js +28 -5
- package/src/i18n/en.d.ts +59 -32
- package/src/i18n/en.js +25 -2
- package/src/i18n/i18nCollection.d.ts +9 -15
- package/src/i18n/i18nCollection.js +3 -3
- package/src/init.d.ts +5 -38
- package/src/init.js +19 -18
- package/src/legend/StyleLegendItem.vue +4 -9
- package/src/legend/VcsLegend.vue +33 -55
- package/src/legend/VcsLegend.vue.d.ts +1 -0
- package/src/manager/buttonManager.js +4 -4
- package/src/manager/collectionManager/CollectionComponent.vue +18 -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 +11 -9
- package/src/manager/collectionManager/CollectionComponentList.vue.d.ts +6 -4
- 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/categoryManager.d.ts +1 -1
- package/src/manager/collectionManager/collectionComponentClass.d.ts +3 -3
- package/src/manager/collectionManager/collectionComponentClass.js +16 -15
- package/src/manager/collectionManager/collectionManager.d.ts +1 -1
- package/src/manager/collectionManager/collectionManager.js +10 -10
- package/src/manager/collectionManager/editorCollectionComponentClass.js +11 -8
- package/src/manager/contextMenu/ContextMenuComponent.vue +1 -1
- package/src/manager/contextMenu/contextMenuManager.js +2 -2
- package/src/manager/navbarManager.js +2 -2
- package/src/manager/panel/PanelComponent.vue +2 -9
- package/src/manager/panel/PanelManagerComponent.vue +9 -5
- package/src/manager/panel/panelHelper.js +3 -3
- package/src/manager/panel/panelManager.d.ts +9 -1
- package/src/manager/panel/panelManager.js +18 -6
- package/src/manager/toolbox/GroupToolboxComponent.vue +13 -7
- package/src/manager/toolbox/GroupToolboxComponent.vue.d.ts +1 -0
- package/src/manager/toolbox/SelectToolboxComponent.vue +13 -8
- package/src/manager/toolbox/SelectToolboxComponent.vue.d.ts +1 -0
- package/src/manager/toolbox/{ToolboxManager.vue → ToolboxManagerComponent.vue} +28 -8
- package/src/manager/toolbox/{ToolboxManager.vue.d.ts → ToolboxManagerComponent.vue.d.ts} +1 -0
- package/src/manager/toolbox/toolboxManager.js +10 -10
- package/src/manager/window/WindowComponent.vue +13 -9
- package/src/manager/window/WindowComponentHeader.vue +33 -9
- package/src/manager/window/WindowComponentHeader.vue.d.ts +3 -0
- package/src/manager/window/WindowManager.vue +6 -3
- package/src/manager/window/windowManager.d.ts +71 -15
- package/src/manager/window/windowManager.js +32 -11
- package/src/navigation/MapNavigation.vue +52 -9
- package/src/navigation/ObliqueRotation.vue +2 -2
- package/src/navigation/OrientationToolsButton.vue +37 -26
- package/src/navigation/OrientationToolsButton.vue.d.ts +5 -1
- package/src/navigation/TiltSlider.vue +82 -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/navigation/VcsZoomButton.vue +1 -1
- package/src/navigation/locatorHelper.js +4 -22
- package/src/navigation/overviewMap.js +5 -2
- package/src/notifier/NotifierComponent.vue +19 -16
- package/src/obliqueFallbackWarnings.d.ts +5 -0
- package/src/obliqueFallbackWarnings.js +54 -0
- package/src/search/ResultItem.vue +18 -6
- package/src/search/ResultsComponent.vue +32 -21
- package/src/search/ResultsComponent.vue.d.ts +2 -1
- package/src/search/SearchComponent.vue +14 -16
- package/src/search/SearchComponent.vue.d.ts +1 -0
- package/src/search/search.js +2 -2
- package/src/siteConfig.js +9 -9
- package/src/state.js +4 -4
- package/src/styles/_typography.scss +1 -2
- package/src/styles/main.scss +0 -4
- package/src/styles/vcsList.scss +1 -1
- package/src/uiConfig.d.ts +323 -7
- package/src/uiConfig.js +31 -17
- package/src/vcsUiApp.d.ts +90 -80
- package/src/vcsUiApp.js +61 -41
- package/src/vuePlugins/i18n.js +8 -0
- package/src/vuePlugins/vuetify.d.ts +88 -60
- package/src/vuePlugins/vuetify.js +134 -20
- 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/dist/assets/vue.0f2c53.js +0 -6096
- package/plugins/@vcmap-show-case/theme-changer/README.md +0 -23
- package/plugins/@vcmap-show-case/theme-changer/config.json +0 -69
- package/plugins/@vcmap-show-case/theme-changer/package.json +0 -11
- package/plugins/@vcmap-show-case/theme-changer/src/ThemeChangerComponent.vue +0 -120
- package/plugins/@vcmap-show-case/theme-changer/src/index.js +0 -108
- package/public/assets/@mdi/font/css/materialdesignicons.css.map +0 -16
- package/src/application/VcsCustomScreen.vue +0 -45
- package/src/application/markdownHelper.d.ts +0 -12
- package/src/application/markdownHelper.js +0 -85
- package/src/components/lists/VcsTreeviewLeaf.vue +0 -83
- package/src/components/notification/VcsTooltip.vue +0 -156
- package/src/components/notification/VcsTooltip.vue.d.ts +0 -27
- package/src/components/vector-properties/composables.d.ts +0 -33
- package/src/components/vector-properties/composables.js +0 -100
- package/src/featureInfo/MarkdownComponent.vue +0 -16
- package/src/featureInfo/MarkdownComponent.vue.d.ts +0 -7
- package/src/styles/_theming.scss +0 -73
- package/src/styles/settings.scss +0 -6
- package/src/styles/shades.scss +0 -4
- package/src/styles/variables.scss +0 -140
- package/src/styles/vcsFont.scss +0 -2
- package/src/styles/vcsGrid.scss +0 -3
- /package/dist/assets/{favicon-128.4c4ce5.png → favicon-128-4c4ce5df.png} +0 -0
- /package/dist/assets/{favicon-180.5b99c0.png → favicon-180-4c4ce5df.png} +0 -0
- /package/dist/assets/{favicon-192.0e205e.png → favicon-192-4c4ce5df.png} +0 -0
- /package/dist/assets/{favicon-32.6b9add.png → favicon-32-4c4ce5df.png} +0 -0
- /package/dist/assets/{favicon.d5ec97.svg → favicon-4c4ce5df.svg} +0 -0
- /package/dist/assets/font/{TitilliumWeb-Regular.9ca076.woff2 → TitilliumWeb-Regular-9ca076be.woff2} +0 -0
- /package/dist/assets/style/{icon-marker.70960f.png → icon-marker-70960f05.png} +0 -0
- /package/dist/assets/style/{icon-marker-blue.534e37.png → icon-marker-blue-534e374b.png} +0 -0
- /package/dist/assets/style/{icon-marker-green.0b6a92.png → icon-marker-green-0b6a92bc.png} +0 -0
- /package/dist/assets/style/{icon-marker-o.036477.png → icon-marker-o-036477fa.png} +0 -0
- /package/dist/assets/style/{icon-marker-o-blue.7b6d62.png → icon-marker-o-blue-7b6d6279.png} +0 -0
- /package/dist/assets/style/{icon-marker-o-green.c863c0.png → icon-marker-o-green-c863c0fa.png} +0 -0
- /package/dist/assets/style/{icon-marker-o-red.93ff58.png → icon-marker-o-red-93ff58df.png} +0 -0
- /package/dist/assets/style/{icon-marker-red.313d03.png → icon-marker-red-313d03e8.png} +0 -0
- /package/dist/assets/style/{icon-pin.b7ce77.png → icon-pin-b7ce771e.png} +0 -0
- /package/dist/assets/style/{icon-pin-blue.7be369.png → icon-pin-blue-7be369a3.png} +0 -0
- /package/dist/assets/style/{icon-pin-green.cbb935.png → icon-pin-green-cbb935fe.png} +0 -0
- /package/dist/assets/style/{icon-pin-red.3f25b2.png → icon-pin-red-3f25b245.png} +0 -0
- /package/public/assets/{favicon-128.png → favicon-128-4c4ce5df.png} +0 -0
- /package/public/assets/{favicon-180.png → favicon-180-4c4ce5df.png} +0 -0
- /package/public/assets/{favicon-192.png → favicon-192-4c4ce5df.png} +0 -0
- /package/public/assets/{favicon-32.png → favicon-32-4c4ce5df.png} +0 -0
- /package/public/assets/{favicon.svg → favicon-4c4ce5df.svg} +0 -0
- /package/src/components/lists/{VcsTreeviewLeaf.vue.d.ts → VcsTreeviewTitle.vue.d.ts} +0 -0
@@ -4,32 +4,34 @@
|
|
4
4
|
variant="outlined"
|
5
5
|
clear-icon="$close"
|
6
6
|
:rows="$attrs.rows"
|
7
|
-
|
7
|
+
color="primary"
|
8
|
+
class="primary--placeholder vcs-text-area"
|
8
9
|
:class="{
|
9
10
|
'py-1': !paddingProvided,
|
10
11
|
}"
|
11
|
-
v-bind="
|
12
|
+
v-bind="$attrs"
|
12
13
|
>
|
13
|
-
<template v-for="slot of
|
14
|
-
<slot :name="slot" v-bind="scope" />
|
14
|
+
<template v-for="slot of forwardSlots" #[slot]="scope">
|
15
|
+
<slot :name="slot" v-bind="scope ?? {}" />
|
15
16
|
</template>
|
16
|
-
<template #message="
|
17
|
+
<template #message="scope">
|
17
18
|
<v-tooltip
|
18
19
|
ref="errorTooltipRef"
|
19
20
|
:activator="textAreaRef"
|
20
|
-
v-if="message"
|
21
|
-
:text="message"
|
21
|
+
v-if="scope?.message"
|
22
|
+
:text="$st(scope?.message)"
|
22
23
|
content-class="bg-error"
|
23
24
|
:location="tooltipPosition"
|
24
25
|
/>
|
26
|
+
<slot name="message" v-bind="scope ?? {}"></slot>
|
25
27
|
</template>
|
26
|
-
<template #append-inner>
|
27
|
-
<slot name="append-inner"></slot>
|
28
|
+
<template #append-inner="scope">
|
29
|
+
<slot name="append-inner" v-bind="scope ?? {}"></slot>
|
28
30
|
<v-tooltip
|
29
31
|
v-if="tooltip && !errorTooltipRef"
|
30
32
|
:activator="textAreaRef"
|
31
33
|
:location="tooltipPosition"
|
32
|
-
:text="tooltip"
|
34
|
+
:text="$st(tooltip)"
|
33
35
|
></v-tooltip>
|
34
36
|
</template>
|
35
37
|
</v-textarea>
|
@@ -37,26 +39,32 @@
|
|
37
39
|
|
38
40
|
<style lang="scss" scoped>
|
39
41
|
.v-input--density-compact :deep(.v-field) {
|
40
|
-
--v-input-control-height: calc(var(--v-vcs-
|
42
|
+
--v-input-control-height: calc(var(--v-vcs-font-size) * 2 - 2px);
|
41
43
|
--v-field-padding-bottom: 0px;
|
42
44
|
--v-field-input-padding-top: 0px;
|
43
45
|
--v-input-padding-top: 0px;
|
44
46
|
}
|
45
47
|
|
46
|
-
.remove-outline :deep(fieldset) {
|
47
|
-
border-width: 0;
|
48
|
-
border-radius: 0;
|
49
|
-
}
|
50
48
|
:deep(.v-field) {
|
51
|
-
--v-field-padding-start:
|
52
|
-
--v-field-padding-end:
|
49
|
+
--v-field-padding-start: 4px;
|
50
|
+
--v-field-padding-end: 4px;
|
51
|
+
padding-left: 4px;
|
52
|
+
padding-right: 4px;
|
53
|
+
.v-field__clearable {
|
54
|
+
margin: 2px -2px 0px 0px;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
:deep(.v-field__field) {
|
59
|
+
padding-bottom: 2px;
|
60
|
+
padding-top: 2px;
|
53
61
|
}
|
54
62
|
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
63
|
+
:deep(.v-field__input) {
|
64
|
+
padding: 0;
|
65
|
+
// remove white fade out on top
|
66
|
+
mask-image: none !important;
|
67
|
+
-webkit-mask-image: none !important;
|
60
68
|
}
|
61
69
|
|
62
70
|
// set the border color on focused to primary, but not on error
|
@@ -64,15 +72,28 @@
|
|
64
72
|
border-color: rgb(var(--v-theme-primary));
|
65
73
|
}
|
66
74
|
|
75
|
+
:deep(.v-field--focused .v-field__outline__end) {
|
76
|
+
border-width: 1px 1px 1px 0 !important;
|
77
|
+
}
|
78
|
+
:deep(.v-field--focused .v-field__outline__start) {
|
79
|
+
border-width: 1px 0 1px 1px !important;
|
80
|
+
}
|
81
|
+
|
67
82
|
// remove outline, if not focused, hovered or an error
|
68
83
|
:deep(.v-field:not(.v-field--focused):not(.v-field--error):not(:hover)) {
|
69
84
|
.v-field__outline * {
|
70
|
-
border-width: 0 0
|
85
|
+
border-width: 0 0 0 0;
|
71
86
|
border-radius: 0;
|
72
87
|
}
|
73
|
-
.v-
|
74
|
-
|
75
|
-
|
88
|
+
.v-field__outline__end {
|
89
|
+
border-width: 0 0 1px 0 !important;
|
90
|
+
border-radius: 0;
|
91
|
+
margin-right: 4px;
|
92
|
+
margin-left: -8px;
|
93
|
+
}
|
94
|
+
.v-field__loader {
|
95
|
+
padding-left: 3px;
|
96
|
+
padding-right: 3px;
|
76
97
|
}
|
77
98
|
.v-field__outline *::before {
|
78
99
|
border-width: 0;
|
@@ -83,10 +104,13 @@
|
|
83
104
|
margin-left: -4px;
|
84
105
|
}
|
85
106
|
}
|
86
|
-
|
107
|
+
:deep(.v-field .v-field--focused .v-field--error):hover {
|
108
|
+
border-width: 1px !important;
|
109
|
+
}
|
87
110
|
// Not color, just used if label is given
|
88
111
|
:deep(.v-field--focused:not(.v-field--error) .v-field__outline *::after) {
|
89
112
|
border-color: rgb(var(--v-theme-primary));
|
113
|
+
border-width: 1px !important;
|
90
114
|
}
|
91
115
|
|
92
116
|
// remove margin from prepended Icon
|
@@ -97,13 +121,10 @@
|
|
97
121
|
.primary--placeholder {
|
98
122
|
:deep(textarea::placeholder) {
|
99
123
|
color: rgb(var(--v-theme-primary));
|
100
|
-
font-style: italic;
|
124
|
+
font-style: italic !important;
|
101
125
|
opacity: 1;
|
102
126
|
padding: 0 3px 0 0;
|
103
127
|
}
|
104
|
-
:deep(textarea::-moz-placeholder) {
|
105
|
-
font-style: initial;
|
106
|
-
}
|
107
128
|
}
|
108
129
|
|
109
130
|
// remove details
|
@@ -112,22 +133,15 @@
|
|
112
133
|
}
|
113
134
|
|
114
135
|
// Progress Bar
|
115
|
-
:deep(.v-progress-linear) {
|
116
|
-
color: rgb(var(--v-theme-primary));
|
117
|
-
}
|
118
136
|
:deep(.v-field__loader) {
|
119
137
|
top: calc(100% - 2px);
|
120
138
|
}
|
121
|
-
|
122
|
-
:deep(.v-field--appended) {
|
123
|
-
padding-inline-end: 8px;
|
124
|
-
}
|
125
139
|
</style>
|
126
140
|
|
127
141
|
<script>
|
128
142
|
import { ref } from 'vue';
|
129
143
|
import { VTextarea, VTooltip } from 'vuetify/components';
|
130
|
-
import { usePadding } from '../composables.js';
|
144
|
+
import { getForwardSlots, usePadding } from '../composables.js';
|
131
145
|
|
132
146
|
/**
|
133
147
|
* @description extends API of {@link https://vuetifyjs.com/en/api/v-textarea/|vuetify v-textarea}.
|
@@ -154,13 +168,15 @@
|
|
154
168
|
default: 'right',
|
155
169
|
},
|
156
170
|
},
|
157
|
-
setup(_p, { attrs }) {
|
171
|
+
setup(_p, { attrs, slots }) {
|
158
172
|
const textAreaRef = ref();
|
159
173
|
const errorTooltipRef = ref();
|
160
174
|
|
161
175
|
const paddingProvided = usePadding(attrs);
|
176
|
+
const forwardSlots = getForwardSlots(slots, ['append-inner', 'message']);
|
162
177
|
|
163
178
|
return {
|
179
|
+
forwardSlots,
|
164
180
|
textAreaRef,
|
165
181
|
errorTooltipRef,
|
166
182
|
paddingProvided,
|
@@ -6,36 +6,51 @@
|
|
6
6
|
:hide-details="false"
|
7
7
|
:rules="rules"
|
8
8
|
:type="type"
|
9
|
-
|
9
|
+
color="primary"
|
10
|
+
class="vcs-text-field primary--placeholder"
|
10
11
|
:class="{
|
11
12
|
'py-1': !paddingProvided,
|
13
|
+
'no-prepended-content': !prependedContent,
|
12
14
|
}"
|
13
15
|
v-bind="$attrs"
|
16
|
+
:prefix="forcePrefix ? undefined : $attrs.prefix"
|
14
17
|
v-model="visibleValue"
|
15
18
|
v-model:focused="focused"
|
16
19
|
>
|
17
20
|
<template #append-inner v-if="unit">
|
18
21
|
<slot name="append-inner">{{ unit }}</slot>
|
19
22
|
</template>
|
20
|
-
<template v-for="slot of
|
21
|
-
<slot :name="slot" v-bind="scope" />
|
23
|
+
<template v-for="slot of forwardSlots" #[slot]="scope">
|
24
|
+
<slot :name="slot" v-bind="scope ?? {}" />
|
22
25
|
</template>
|
23
|
-
<template #message="
|
26
|
+
<template #message="scope">
|
24
27
|
<v-tooltip
|
25
28
|
ref="errorTooltipRef"
|
26
29
|
:activator="textFieldRef"
|
27
|
-
v-if="message"
|
28
|
-
:text="message"
|
30
|
+
v-if="scope?.message"
|
31
|
+
:text="$st(scope?.message)"
|
29
32
|
content-class="bg-error"
|
30
33
|
:location="tooltipPosition"
|
31
34
|
/>
|
35
|
+
<slot name="message" v-bind="scope ?? {}"></slot>
|
36
|
+
</template>
|
37
|
+
<template #default="scope">
|
38
|
+
<v-tooltip
|
39
|
+
v-if="tooltip && !errorTooltipRef"
|
40
|
+
:activator="textFieldRef"
|
41
|
+
:location="tooltipPosition"
|
42
|
+
:text="$st(tooltip)"
|
43
|
+
></v-tooltip>
|
44
|
+
<slot name="default" v-bind="scope ?? {}"></slot>
|
45
|
+
</template>
|
46
|
+
<!-- use slot to show prefix always, independent of modelValue (unlike prefix prop) -->
|
47
|
+
<template #prepend-inner="prependInnerScope">
|
48
|
+
<slot name="prepend-inner" v-bind="prependInnerScope">
|
49
|
+
<template v-if="forcePrefix && $attrs.prefix">
|
50
|
+
{{ $attrs.prefix }}
|
51
|
+
</template>
|
52
|
+
</slot>
|
32
53
|
</template>
|
33
|
-
<v-tooltip
|
34
|
-
v-if="tooltip && !errorTooltipRef"
|
35
|
-
:activator="textFieldRef"
|
36
|
-
:location="tooltipPosition"
|
37
|
-
:text="tooltip"
|
38
|
-
></v-tooltip>
|
39
54
|
</v-text-field>
|
40
55
|
</template>
|
41
56
|
|
@@ -45,7 +60,7 @@
|
|
45
60
|
<script>
|
46
61
|
import { computed, ref } from 'vue';
|
47
62
|
import { VTextField, VTooltip } from 'vuetify/components';
|
48
|
-
import { usePadding } from '../composables.js';
|
63
|
+
import { getForwardSlots, usePadding } from '../composables.js';
|
49
64
|
import { useProxiedAtomicModel } from '../modelHelper.js';
|
50
65
|
|
51
66
|
function countDecimalPlaces(value) {
|
@@ -69,6 +84,7 @@
|
|
69
84
|
* @vue-prop {string|undefined} tooltip - Optional tooltip which will be shown on hover when no error message is shown
|
70
85
|
* @vue-prop {string} unit - Unit for number input fields. Is displayed behind the number.
|
71
86
|
* @vue-prop {number|undefined} [decimals] - An optional number of decimal places the visible value will be rounded to. Does not affect the input value!
|
87
|
+
* @vue-prop {boolean} [forcePrefix=false] - If set, forces the prefix to be always rendered independent of modelValue by using prepend-inner slot
|
72
88
|
*/
|
73
89
|
export default {
|
74
90
|
name: 'VcsTextField',
|
@@ -107,8 +123,12 @@
|
|
107
123
|
type: Number,
|
108
124
|
default: undefined,
|
109
125
|
},
|
126
|
+
forcePrefix: {
|
127
|
+
type: Boolean,
|
128
|
+
default: false,
|
129
|
+
},
|
110
130
|
},
|
111
|
-
setup(props, { attrs }) {
|
131
|
+
setup(props, { attrs, slots }) {
|
112
132
|
const textFieldRef = ref();
|
113
133
|
const errorTooltipRef = ref();
|
114
134
|
const focused = ref(attrs.autofocus);
|
@@ -126,14 +146,18 @@
|
|
126
146
|
) {
|
127
147
|
const v = parseFloat(localValue.value);
|
128
148
|
if (Number.isFinite(v)) {
|
129
|
-
return v.toFixed(props.decimals);
|
149
|
+
return parseFloat(v.toFixed(props.decimals));
|
130
150
|
}
|
131
151
|
}
|
132
152
|
return localValue.value ?? '';
|
133
153
|
},
|
134
154
|
set(value) {
|
135
|
-
localValue.value = value;
|
136
155
|
// emit is not needed since the vuetify component already emits an @input event. (forwarded listeners)
|
156
|
+
if (props.type === 'number') {
|
157
|
+
localValue.value = parseFloat(value);
|
158
|
+
} else {
|
159
|
+
localValue.value = value;
|
160
|
+
}
|
137
161
|
},
|
138
162
|
});
|
139
163
|
|
@@ -148,8 +172,14 @@
|
|
148
172
|
});
|
149
173
|
|
150
174
|
const paddingProvided = usePadding(attrs);
|
175
|
+
const forwardSlots = getForwardSlots(slots, ['default', 'message']);
|
151
176
|
|
177
|
+
const prependedContent = computed(() => {
|
178
|
+
return (props.forcePrefix && attrs.prefix) || !!slots['prepend-inner'];
|
179
|
+
});
|
152
180
|
return {
|
181
|
+
prependedContent,
|
182
|
+
forwardSlots,
|
153
183
|
paddingProvided,
|
154
184
|
visibleValue,
|
155
185
|
rules,
|
@@ -23,9 +23,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
23
23
|
type: NumberConstructor;
|
24
24
|
default: undefined;
|
25
25
|
};
|
26
|
+
forcePrefix: {
|
27
|
+
type: BooleanConstructor;
|
28
|
+
default: boolean;
|
29
|
+
};
|
26
30
|
}, {
|
31
|
+
prependedContent: import("vue").ComputedRef<{}>;
|
32
|
+
forwardSlots: string[];
|
27
33
|
paddingProvided: import("vue").ComputedRef<boolean>;
|
28
|
-
visibleValue: import("vue").WritableComputedRef<
|
34
|
+
visibleValue: import("vue").WritableComputedRef<string | number | boolean>;
|
29
35
|
rules: import("vue").ComputedRef<unknown>;
|
30
36
|
textFieldRef: import("vue").Ref<any>;
|
31
37
|
errorTooltipRef: import("vue").Ref<any>;
|
@@ -55,6 +61,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
55
61
|
type: NumberConstructor;
|
56
62
|
default: undefined;
|
57
63
|
};
|
64
|
+
forcePrefix: {
|
65
|
+
type: BooleanConstructor;
|
66
|
+
default: boolean;
|
67
|
+
};
|
58
68
|
}>>, {
|
59
69
|
type: string;
|
60
70
|
modelValue: string | number;
|
@@ -62,5 +72,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
62
72
|
tooltipPosition: string;
|
63
73
|
unit: string;
|
64
74
|
decimals: number;
|
75
|
+
forcePrefix: boolean;
|
65
76
|
}, {}>;
|
66
77
|
export default _default;
|
@@ -1,131 +1,108 @@
|
|
1
1
|
<template>
|
2
|
-
<v-stepper
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
</v-stepper>
|
2
|
+
<v-stepper-vertical v-bind="$attrs" class="vcs-wizard">
|
3
|
+
<template #icon>
|
4
|
+
<slot name="icon"><v-icon>mdi-circle</v-icon></slot>
|
5
|
+
</template>
|
6
|
+
<template v-for="slot of forwardSlots" #[slot]="scope">
|
7
|
+
<slot :name="slot" v-bind="scope ?? {}" />
|
8
|
+
</template>
|
9
|
+
</v-stepper-vertical>
|
10
10
|
</template>
|
11
11
|
|
12
12
|
<script>
|
13
|
-
import {
|
13
|
+
import { VStepperVertical } from 'vuetify/labs/VStepperVertical';
|
14
|
+
import { VIcon } from 'vuetify/components';
|
15
|
+
import { getForwardSlots } from '../composables.js';
|
14
16
|
|
15
17
|
/**
|
16
|
-
* @description Stylized wrapper around {@link https://vuetifyjs.com/en/api/v-stepper/ |vuetify stepper}
|
17
|
-
* Is always vertical.
|
18
|
-
* Only passes the step property, all other props are ignored.
|
19
|
-
* @vue-prop {number} value - The current step of the stepper.
|
18
|
+
* @description Stylized wrapper around {@link https://vuetifyjs.com/en/api/v-stepper-vertical/ |vuetify stepper vertical}per.
|
20
19
|
* @vue-data {slot} [#default] - Slot to add VcsWizardSteps.
|
21
20
|
*/
|
22
21
|
export default {
|
23
22
|
name: 'VcsWizard',
|
24
23
|
components: {
|
25
|
-
|
24
|
+
VStepperVertical,
|
25
|
+
VIcon,
|
26
26
|
},
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
27
|
+
setup(_p, { slots }) {
|
28
|
+
const forwardSlots = getForwardSlots(slots, ['icon']);
|
29
|
+
|
30
|
+
return {
|
31
|
+
forwardSlots,
|
32
|
+
};
|
32
33
|
},
|
33
34
|
};
|
34
35
|
</script>
|
35
36
|
<style scoped lang="scss">
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
color: var(--v-primary-base);
|
52
|
-
}
|
53
|
-
}
|
54
|
-
.v-stepper__step__step::before {
|
55
|
-
color: map-get($shades, 'white');
|
56
|
-
}
|
57
|
-
}
|
58
|
-
:deep(.step-border:not(:last-child) > .v-stepper__content) {
|
59
|
-
border-left: 2px solid rgba(0, 0, 0, 0.12);
|
60
|
-
}
|
61
|
-
}
|
62
|
-
&.theme--dark {
|
63
|
-
background: map-get($shades, 'black');
|
64
|
-
:deep(.v-stepper__step) {
|
65
|
-
.v-stepper__label {
|
66
|
-
color: map-get($shades, 'white');
|
67
|
-
}
|
68
|
-
&--complete {
|
69
|
-
.v-stepper__label {
|
70
|
-
color: map-get($shades, 'white');
|
71
|
-
}
|
72
|
-
}
|
73
|
-
&--active {
|
74
|
-
background-color: rgba(255, 255, 255, 0.17);
|
75
|
-
.v-stepper__label {
|
76
|
-
color: var(--v-primary-base);
|
77
|
-
}
|
78
|
-
}
|
79
|
-
.v-stepper__step__step {
|
80
|
-
.v-icon {
|
81
|
-
color: transparent;
|
82
|
-
}
|
83
|
-
&:before {
|
84
|
-
color: map-get($shades, 'black');
|
85
|
-
}
|
86
|
-
}
|
87
|
-
&.v-stepper__step--error {
|
88
|
-
.v-stepper__label {
|
89
|
-
color: var(--v-error-darken2);
|
90
|
-
}
|
91
|
-
.v-stepper__step__step {
|
92
|
-
background-color: var(--v-error-darken1);
|
93
|
-
}
|
94
|
-
}
|
95
|
-
}
|
96
|
-
:deep(.step-border:not(:last-child) > .v-stepper__content) {
|
97
|
-
border-left: 2px solid rgba(255, 255, 255, 0.8);
|
98
|
-
}
|
99
|
-
}
|
100
|
-
:deep(.v-stepper__step) {
|
101
|
-
padding-top: 0;
|
102
|
-
padding-bottom: 0;
|
103
|
-
.v-stepper__label {
|
104
|
-
font-weight: 700;
|
105
|
-
text-shadow: none !important;
|
106
|
-
}
|
107
|
-
.v-stepper__step__step {
|
108
|
-
color: transparent;
|
109
|
-
position: relative;
|
110
|
-
margin-top: 1px;
|
111
|
-
&:before {
|
112
|
-
content: '\25cf';
|
113
|
-
font-size: 18px;
|
114
|
-
position: absolute;
|
115
|
-
top: -9px;
|
116
|
-
}
|
117
|
-
}
|
118
|
-
&.v-stepper__step--error {
|
119
|
-
.v-stepper__step__step {
|
120
|
-
background-color: var(--v-error-base);
|
121
|
-
}
|
122
|
-
.v-stepper__label {
|
123
|
-
color: var(--v-error-base);
|
124
|
-
}
|
125
|
-
}
|
37
|
+
:deep(.v-expansion-panel-title) {
|
38
|
+
height: calc(var(--v-vcs-font-size) * 2 + 6px);
|
39
|
+
min-height: calc(var(--v-vcs-font-size) * 2 + 6px);
|
40
|
+
padding: 0 8px;
|
41
|
+
}
|
42
|
+
:deep(.v-expansion-panel-title.v-expansion-panel-title--active) {
|
43
|
+
background-color: rgba(
|
44
|
+
var(--v-theme-base-darken-4),
|
45
|
+
var(--v-selected-opacity)
|
46
|
+
);
|
47
|
+
|
48
|
+
color: rgb(var(--v-theme-primary));
|
49
|
+
|
50
|
+
.action-btn-wrap {
|
51
|
+
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
|
126
52
|
}
|
127
|
-
|
128
|
-
|
53
|
+
|
54
|
+
.v-expansion-panel-title__overlay:hover,
|
55
|
+
.v-expansion-panel-title__overlay {
|
56
|
+
background-color: rgb(var(--v-theme-base));
|
129
57
|
}
|
130
|
-
}
|
58
|
+
}
|
59
|
+
:deep(.v-stepper-vertical-item:not(:last-child):before) {
|
60
|
+
height: 100%;
|
61
|
+
top: calc(var(--v-vcs-font-size) * 2 - 16px);
|
62
|
+
left: calc(14px + var(--v-vcs-font-size) * 0.42);
|
63
|
+
width: calc(var(--v-vcs-font-size) * 0.1);
|
64
|
+
}
|
65
|
+
:deep(.v-stepper-vertical-item__avatar.v-avatar) {
|
66
|
+
background: rgb(var(--v-theme-base-darken-2));
|
67
|
+
color: rgb(var(--v-theme-background)) !important;
|
68
|
+
width: calc(var(--v-vcs-font-size) - 1px) !important;
|
69
|
+
height: calc(var(--v-vcs-font-size) - 1px) !important;
|
70
|
+
z-index: 2;
|
71
|
+
}
|
72
|
+
:deep(
|
73
|
+
.v-expansion-panel-title--active .v-stepper-vertical-item__avatar.v-avatar
|
74
|
+
) {
|
75
|
+
background: rgb(var(--v-theme-primary));
|
76
|
+
}
|
77
|
+
:deep(
|
78
|
+
.v-stepper-vertical-item--error .v-stepper-vertical-item__avatar.v-avatar
|
79
|
+
) {
|
80
|
+
background: rgb(var(--v-theme-error));
|
81
|
+
}
|
82
|
+
/* alignment of heading */
|
83
|
+
:deep(.v-stepper-vertical-item__avatar.v-avatar) + div {
|
84
|
+
width: 100%;
|
85
|
+
}
|
86
|
+
/* Removes padding right at header actions */
|
87
|
+
:deep(.v-expansion-panel-title__icon) {
|
88
|
+
display: none;
|
89
|
+
}
|
90
|
+
:deep(.v-stepper-vertical-item__avatar.v-avatar .v-icon) {
|
91
|
+
font-size: calc(var(--v-vcs-font-size) - 3px) !important;
|
92
|
+
height: calc(var(--v-vcs-font-size) - 3px) !important;
|
93
|
+
width: calc(var(--v-vcs-font-size) - 3px) !important;
|
94
|
+
}
|
95
|
+
:deep(.v-avatar--start) {
|
96
|
+
margin-inline-start: 6px;
|
97
|
+
}
|
98
|
+
/* button on disabled shouldn't still contain the .bg-primary class! */
|
99
|
+
:deep(.v-btn--disabled.v-btn--variant-flat.bg-primary) {
|
100
|
+
color: rgba(var(--v-theme-on-surface), 0.26) !important;
|
101
|
+
}
|
102
|
+
:deep(.v-expansion-panel__shadow) {
|
103
|
+
box-shadow: unset;
|
104
|
+
}
|
105
|
+
:deep(.v-expansion-panel-text) {
|
106
|
+
padding-left: 12px;
|
107
|
+
}
|
131
108
|
</style>
|
@@ -1,14 +1,4 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
2
|
-
|
3
|
-
|
4
|
-
default: undefined;
|
5
|
-
};
|
6
|
-
}, any, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
7
|
-
modelValue: {
|
8
|
-
type: NumberConstructor;
|
9
|
-
default: undefined;
|
10
|
-
};
|
11
|
-
}>>, {
|
12
|
-
modelValue: number;
|
13
|
-
}, {}>;
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
2
|
+
forwardSlots: string[];
|
3
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
14
4
|
export default _default;
|