@vcmap/ui 5.0.0-rc.29 → 5.0.0-rc.31
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/buildHelpers.js +4 -3
- package/config/base.config.json +5 -4
- package/config/dev.config.json +8 -0
- package/config/graphFeatureInfo.config.json +1 -1
- package/config/projects.config.json +2 -2
- package/dist/assets/cesium/ThirdParty/Workers/basis_transcoder.js +1 -1
- package/dist/assets/cesium/Workers/chunk-227AJNOA.js +59 -0
- package/dist/assets/cesium/Workers/chunk-2R5O53JW.js +157 -0
- package/dist/assets/cesium/Workers/chunk-34YUDLRP.js +781 -0
- package/dist/assets/cesium/Workers/chunk-3W63OHNJ.js +100 -0
- package/dist/assets/cesium/Workers/chunk-4MFFIWUA.js +163 -0
- package/dist/assets/cesium/Workers/chunk-66QLLS45.js +218 -0
- package/dist/assets/cesium/Workers/chunk-6BTKZDRG.js +77 -0
- package/dist/assets/cesium/Workers/chunk-A4JVFBQ3.js +101 -0
- package/dist/assets/cesium/Workers/chunk-ABADGKYE.js +58 -0
- package/dist/assets/cesium/Workers/chunk-AFFLIKOH.js +353 -0
- package/dist/assets/cesium/Workers/chunk-AHKEZ2OE.js +629 -0
- package/dist/assets/cesium/Workers/chunk-C3SXRKRW.js +476 -0
- package/dist/assets/cesium/Workers/chunk-CCFQRR6D.js +55 -0
- package/dist/assets/cesium/Workers/chunk-CHHNOC2C.js +1860 -0
- package/dist/assets/cesium/Workers/chunk-CTELOFLA.js +196 -0
- package/dist/assets/cesium/Workers/chunk-DUHWWBQQ.js +3273 -0
- package/dist/assets/cesium/Workers/chunk-EW2GWJYB.js +44 -0
- package/dist/assets/cesium/Workers/chunk-GLZBE3ML.js +421 -0
- package/dist/assets/cesium/Workers/chunk-HARLBUOL.js +236 -0
- package/dist/assets/cesium/Workers/chunk-HQF437NJ.js +117 -0
- package/dist/assets/cesium/Workers/chunk-IPA4EACJ.js +368 -0
- package/dist/assets/cesium/Workers/chunk-J3JY6I2C.js +1009 -0
- package/dist/assets/cesium/Workers/chunk-JB2LWGH4.js +390 -0
- package/dist/assets/cesium/Workers/chunk-JS3AW5BK.js +634 -0
- package/dist/assets/cesium/Workers/chunk-K36FEYS7.js +452 -0
- package/dist/assets/cesium/Workers/chunk-KD4Y7CZL.js +400 -0
- package/dist/assets/cesium/Workers/chunk-KTJSNCK4.js +842 -0
- package/dist/assets/cesium/Workers/chunk-LLUNNUJV.js +258 -0
- package/dist/assets/cesium/Workers/{package.js → chunk-MPAZH4BF.js} +13 -2
- package/dist/assets/cesium/Workers/chunk-MYZB7C4T.js +1258 -0
- package/dist/assets/cesium/Workers/chunk-N3JIFFX2.js +501 -0
- package/dist/assets/cesium/Workers/chunk-O5AMBQ36.js +430 -0
- package/dist/assets/cesium/Workers/chunk-OAVNIRB4.js +124 -0
- package/dist/assets/cesium/Workers/chunk-OYFCF4PL.js +171 -0
- package/dist/assets/cesium/Workers/chunk-OZJDGN5F.js +1477 -0
- package/dist/assets/cesium/Workers/chunk-PCJWUS4M.js +2041 -0
- package/dist/assets/cesium/Workers/chunk-PFQBCKBM.js +8644 -0
- package/dist/assets/cesium/Workers/chunk-QIKODV5G.js +305 -0
- package/dist/assets/cesium/Workers/chunk-QJ3DFBH3.js +73 -0
- package/dist/assets/cesium/Workers/chunk-QMEMZIJI.js +138 -0
- package/dist/assets/cesium/Workers/chunk-QT3MPEMI.js +102 -0
- package/dist/assets/cesium/Workers/chunk-RP2A7BR5.js +289 -0
- package/dist/assets/cesium/Workers/chunk-RW6LU2CJ.js +138 -0
- package/dist/assets/cesium/Workers/chunk-TFC6TZ3S.js +757 -0
- package/dist/assets/cesium/Workers/chunk-V3NGATMV.js +693 -0
- package/dist/assets/cesium/Workers/chunk-VLGOATD6.js +1075 -0
- package/dist/assets/cesium/Workers/chunk-WXTV4ATB.js +39 -0
- package/dist/assets/cesium/Workers/chunk-X4SU25DT.js +302 -0
- package/dist/assets/cesium/Workers/chunk-XTY7B2N6.js +2716 -0
- package/dist/assets/cesium/Workers/chunk-XY7MGBKC.js +513 -0
- package/dist/assets/cesium/Workers/chunk-Z24VKNDO.js +834 -0
- package/dist/assets/cesium/Workers/chunk-ZA25DG4Y.js +684 -0
- package/dist/assets/cesium/Workers/chunk-ZFOBYDGF.js +73 -0
- package/dist/assets/cesium/Workers/combineGeometry.js +65 -15
- package/dist/assets/cesium/Workers/createBoxGeometry.js +55 -10
- package/dist/assets/cesium/Workers/createBoxOutlineGeometry.js +231 -310
- package/dist/assets/cesium/Workers/createCircleGeometry.js +185 -202
- package/dist/assets/cesium/Workers/createCircleOutlineGeometry.js +141 -155
- package/dist/assets/cesium/Workers/createCoplanarPolygonGeometry.js +477 -557
- package/dist/assets/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +218 -230
- package/dist/assets/cesium/Workers/createCorridorGeometry.js +1162 -1307
- package/dist/assets/cesium/Workers/createCorridorOutlineGeometry.js +533 -569
- package/dist/assets/cesium/Workers/createCylinderGeometry.js +57 -10
- package/dist/assets/cesium/Workers/createCylinderOutlineGeometry.js +224 -258
- package/dist/assets/cesium/Workers/createEllipseGeometry.js +68 -12
- package/dist/assets/cesium/Workers/createEllipseOutlineGeometry.js +61 -12
- package/dist/assets/cesium/Workers/createEllipsoidGeometry.js +56 -10
- package/dist/assets/cesium/Workers/createEllipsoidOutlineGeometry.js +58 -13
- package/dist/assets/cesium/Workers/createFrustumGeometry.js +55 -10
- package/dist/assets/cesium/Workers/createFrustumOutlineGeometry.js +226 -243
- package/dist/assets/cesium/Workers/createGeometry.js +143 -48
- package/dist/assets/cesium/Workers/createGroundPolylineGeometry.js +1484 -2011
- package/dist/assets/cesium/Workers/createPlaneGeometry.js +216 -243
- package/dist/assets/cesium/Workers/createPlaneOutlineGeometry.js +121 -113
- package/dist/assets/cesium/Workers/createPolygonGeometry.js +1041 -1327
- package/dist/assets/cesium/Workers/createPolygonOutlineGeometry.js +516 -657
- package/dist/assets/cesium/Workers/createPolylineGeometry.js +471 -547
- package/dist/assets/cesium/Workers/createPolylineVolumeGeometry.js +352 -384
- package/dist/assets/cesium/Workers/createPolylineVolumeOutlineGeometry.js +271 -295
- package/dist/assets/cesium/Workers/createRectangleGeometry.js +1128 -1331
- package/dist/assets/cesium/Workers/createRectangleOutlineGeometry.js +445 -500
- package/dist/assets/cesium/Workers/createSimplePolylineGeometry.js +381 -440
- package/dist/assets/cesium/Workers/createSphereGeometry.js +112 -118
- package/dist/assets/cesium/Workers/createSphereOutlineGeometry.js +112 -121
- package/dist/assets/cesium/Workers/createTaskProcessorWorker.js +32 -127
- package/dist/assets/cesium/Workers/createVectorTileClampedPolylines.js +462 -505
- package/dist/assets/cesium/Workers/createVectorTileGeometries.js +377 -436
- package/dist/assets/cesium/Workers/createVectorTilePoints.js +110 -77
- package/dist/assets/cesium/Workers/createVectorTilePolygons.js +369 -391
- package/dist/assets/cesium/Workers/createVectorTilePolylines.js +252 -244
- package/dist/assets/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +543 -615
- package/dist/assets/cesium/Workers/createVerticesFromHeightmap.js +2244 -2677
- package/dist/assets/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +682 -926
- package/dist/assets/cesium/Workers/createWallGeometry.js +459 -593
- package/dist/assets/cesium/Workers/createWallOutlineGeometry.js +324 -419
- package/dist/assets/cesium/Workers/decodeDraco.js +327 -347
- package/dist/assets/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +2530 -3567
- package/dist/assets/cesium/Workers/decodeI3S.js +765 -970
- package/dist/assets/cesium/Workers/transcodeKTX2.js +3353 -1464
- package/dist/assets/cesium/Workers/transferTypedArrayTest.js +3 -4
- package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +748 -953
- package/dist/assets/{cesium.16590b.js → cesium.77d0f7.js} +8915 -13165
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.74da2a.js → core.720589.js} +3421 -3365
- package/dist/assets/core.js +1 -1
- package/dist/assets/index-dd539204.js +1 -0
- package/dist/assets/{ol.50a512.js → ol.e48649.js} +4 -4
- package/dist/assets/ol.js +1 -1
- package/dist/assets/{ui.d3054c.css → ui.50452a.css} +2 -2
- package/dist/assets/{ui.d3054c.js → ui.50452a.js} +5312 -4776
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +2 -2
- package/dist/assets/{vuetify.946bd8.js → vuetify.f0a769.js} +1 -1
- package/dist/assets/vuetify.js +2 -2
- package/dist/index.html +27 -23
- package/index.html +23 -22
- package/index.js +6 -0
- package/package.json +5 -5
- package/plugins/@vcmap-show-case/form-inputs-example/FormInputsExample.vue +37 -1
- package/plugins/@vcmap-show-case/form-inputs-example/index.js +3 -0
- package/plugins/@vcmap-show-case/form-inputs-example/validation.js +11 -0
- package/plugins/@vcmap-show-case/plugin-editors/PluginEditors.vue +119 -0
- package/plugins/@vcmap-show-case/plugin-editors/index.js +41 -0
- package/plugins/@vcmap-show-case/plugin-editors/package.json +5 -0
- package/plugins/{@vcmap → @vcmap-show-case}/project-selector/ProjectSelectorComponent.vue +1 -1
- package/plugins/{@vcmap → @vcmap-show-case}/project-selector/config.json +2 -2
- package/plugins/{@vcmap → @vcmap-show-case}/project-selector/package.json +1 -1
- package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/package.json +1 -1
- package/plugins/@vcmap-show-case/style-input-example/styleExample.vue +0 -1
- package/plugins/@vcmap-show-case/table-example/DataTableExample.vue +1 -1
- package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/ThemeChangerComponent.vue +1 -1
- package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/config.json +2 -2
- package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/package.json +1 -1
- package/plugins/@vcmap-show-case/vector-properties-example/index.js +40 -0
- package/plugins/@vcmap-show-case/vector-properties-example/package.json +5 -0
- package/plugins/@vcmap-show-case/vector-properties-example/vectorPropertiesExample.vue +128 -0
- package/plugins/package.json +6 -2
- package/src/application/VcsAttributions.vue +27 -20
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue +290 -0
- package/src/components/form-inputs-controls/VcsSlider.vue +1 -0
- package/src/components/form-inputs-controls/VcsTextField.vue +9 -3
- package/src/components/icons/2DAreaIcon.vue +2 -17
- package/src/components/icons/2DDistanceIcon.vue +0 -3
- package/src/components/icons/3DAreaIcon.vue +2 -17
- package/src/components/icons/3DDistanceIcon.vue +0 -3
- package/src/components/icons/3DHeightIcon.vue +0 -3
- package/src/components/icons/AngleIcon.vue +0 -1
- package/src/components/icons/AssociationsIcon.vue +1 -3
- package/src/components/icons/AxisIcon.vue +0 -4
- package/src/components/icons/BoundingBoxIcon.vue +1 -4
- package/src/components/icons/CheckboxIcon.vue +0 -2
- package/src/components/icons/CheckboxIndeterminateIcon.vue +1 -5
- package/src/components/icons/CircleIcon.vue +1 -6
- package/src/components/icons/ClippingHorizontalIcon.vue +0 -1
- package/src/components/icons/ClippingIcon.vue +0 -1
- package/src/components/icons/ClippingVerticalIcon.vue +0 -1
- package/src/components/icons/ColorPickerIcon.vue +0 -1
- package/src/components/icons/ColorSwatchIcon.vue +0 -2
- package/src/components/icons/CommentIcon.vue +0 -1
- package/src/components/icons/CompassIcon.vue +0 -2
- package/src/components/icons/ComponentsIcon.vue +0 -1
- package/src/components/icons/ConeIcon.vue +1 -4
- package/src/components/icons/DimensionsHouseIcon.vue +0 -2
- package/src/components/icons/EditIcon.vue +0 -1
- package/src/components/icons/EditVerticesIcon.vue +0 -4
- package/src/components/icons/ElevationProfileIcon.vue +1 -13
- package/src/components/icons/ExportAreaIcon.vue +0 -1
- package/src/components/icons/ExportFlightIcon.vue +0 -1
- package/src/components/icons/ExportIcon.vue +12 -8
- package/src/components/icons/ExternalLinkIcon.vue +0 -2
- package/src/components/icons/FastForwardIcon.vue +0 -1
- package/src/components/icons/FilterIcon.vue +0 -1
- package/src/components/icons/GlobeNatureIcon.vue +0 -3
- package/src/components/icons/GroundIcon.vue +0 -1
- package/src/components/icons/HealthCareIndustriesIcon.vue +1 -11
- package/src/components/icons/HideIcon.vue +0 -1
- package/src/components/icons/HomePointIcon.vue +0 -1
- package/src/components/icons/HospitalsIcon.vue +1 -20
- package/src/components/icons/HouseIcon.vue +3 -13
- package/src/components/icons/ImportIcon.vue +6 -14
- package/src/components/icons/InfoIcon.vue +0 -2
- package/src/components/icons/KebabIcon.vue +1 -9
- package/src/components/icons/LabelIcon.vue +0 -2
- package/src/components/icons/LayersIcon.vue +1 -9
- package/src/components/icons/LegendIcon.vue +0 -1
- package/src/components/icons/LineIcon.vue +0 -2
- package/src/components/icons/LinkIcon.vue +0 -1
- package/src/components/icons/LogoutIcon.vue +0 -1
- package/src/components/icons/MapIcon.vue +0 -2
- package/src/components/icons/MenuIcon.vue +1 -5
- package/src/components/icons/MinusIcon.vue +0 -2
- package/src/components/icons/ObjectSelectIcon.vue +0 -2
- package/src/components/icons/ObliqueViewIcon.vue +0 -1
- package/src/components/icons/PdfIcon.vue +0 -1
- package/src/components/icons/PedestrianIcon.vue +0 -1
- package/src/components/icons/PenIcon.vue +0 -1
- package/src/components/icons/PlayCircleIcon.vue +1 -8
- package/src/components/icons/PlusIcon.vue +0 -2
- package/src/components/icons/PoiIcon.vue +0 -1
- package/src/components/icons/PointIcon.vue +2 -6
- package/src/components/icons/PointSelectIcon.vue +0 -1
- package/src/components/icons/PresentationModeIcon.vue +0 -1
- package/src/components/icons/ProgressIcon.vue +1 -1
- package/src/components/icons/QueryIcon.vue +0 -1
- package/src/components/icons/RectangleIcon.vue +1 -6
- package/src/components/icons/ReturnIcon.vue +0 -1
- package/src/components/icons/RewindIcon.vue +0 -1
- package/src/components/icons/RotateLeftIcon.vue +0 -1
- package/src/components/icons/RotateRightIcon.vue +0 -1
- package/src/components/icons/ScreenshotIcon.vue +1 -6
- package/src/components/icons/SearchIcon.vue +0 -1
- package/src/components/icons/ShadowIcon.vue +0 -2
- package/src/components/icons/ShapesIcon.vue +1 -4
- package/src/components/icons/ShareIcon.vue +0 -1
- package/src/components/icons/SimpleCircleFilledIcon.vue +0 -1
- package/src/components/icons/SimpleCircleHalfFilledIcon.vue +0 -1
- package/src/components/icons/SimpleCircleOutlinedIcon.vue +1 -7
- package/src/components/icons/SkipPreviousIcon.vue +1 -6
- package/src/components/icons/SplitViewIcon.vue +0 -1
- package/src/components/icons/TextStyleIcon.vue +0 -3
- package/src/components/icons/ThreeDimensionsIcon.vue +0 -1
- package/src/components/icons/ToolsIcon.vue +0 -1
- package/src/components/icons/TouchIcon.vue +0 -1
- package/src/components/icons/TriangleIcon.vue +0 -3
- package/src/components/icons/TwoDimensionsIcon.vue +0 -2
- package/src/components/icons/UploadIcon.vue +0 -1
- package/src/components/icons/UserProfileIcon.vue +0 -1
- package/src/components/icons/UserShareIcon.vue +0 -1
- package/src/components/icons/ViewpointFlightIcon.vue +0 -1
- package/src/components/icons/ViewpointIcon.vue +0 -1
- package/src/components/icons/Viewshed360Icon.vue +0 -1
- package/src/components/icons/ViewshedConeIcon.vue +0 -1
- package/src/components/icons/ViewshedIcon.vue +0 -1
- package/src/components/icons/WalkingIcon.vue +0 -1
- package/src/components/icons/WallIcon.vue +1 -4
- package/src/components/icons/WandIcon.vue +22 -70
- package/src/components/lists/VcsList.vue +18 -12
- package/src/components/plugins/AbstractConfigEditor.vue +84 -0
- package/src/components/style/VcsImageSelector.vue +6 -5
- package/src/components/style/VcsTextSelector.vue +1 -1
- package/src/components/tables/VcsDataTable.vue +1 -1
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +780 -0
- package/src/components/vector-properties/composables.js +93 -0
- package/src/contentTree/contentTreeCollection.js +30 -9
- package/src/i18n/de.js +41 -7
- package/src/i18n/en.js +39 -5
- package/src/i18n/i18nCollection.js +19 -65
- package/src/manager/buttonManager.js +4 -0
- package/src/manager/collectionManager/collectionComponent.js +1 -1
- package/src/manager/contextMenu/contextMenuManager.js +2 -0
- package/src/pluginHelper.js +57 -17
- package/src/vcsUiApp.js +25 -30
- package/src/vuePlugins/i18n.js +0 -8
- package/dist/assets/cesium/ThirdParty/Workers/draco_decoder_nodejs.js +0 -117
- package/dist/assets/cesium/Workers/ArcType-2d9abbbc.js +0 -37
- package/dist/assets/cesium/Workers/AttributeCompression-f9f6c717.js +0 -716
- package/dist/assets/cesium/Workers/AxisAlignedBoundingBox-4140c51f.js +0 -258
- package/dist/assets/cesium/Workers/BoundingRectangle-c714b156.js +0 -369
- package/dist/assets/cesium/Workers/BoxGeometry-6f3da43d.js +0 -884
- package/dist/assets/cesium/Workers/Check-6ede7e26.js +0 -290
- package/dist/assets/cesium/Workers/Color-8a565ff2.js +0 -2262
- package/dist/assets/cesium/Workers/ComponentDatatype-cf1fa08e.js +0 -341
- package/dist/assets/cesium/Workers/CoplanarPolygonGeometryLibrary-4b4d4096.js +0 -132
- package/dist/assets/cesium/Workers/CorridorGeometryLibrary-7b94502b.js +0 -498
- package/dist/assets/cesium/Workers/CylinderGeometry-ca070b87.js +0 -467
- package/dist/assets/cesium/Workers/CylinderGeometryLibrary-7bf291b4.js +0 -63
- package/dist/assets/cesium/Workers/EllipseGeometry-122e51fa.js +0 -1304
- package/dist/assets/cesium/Workers/EllipseGeometryLibrary-4d326efc.js +0 -366
- package/dist/assets/cesium/Workers/EllipseOutlineGeometry-16cc2bd7.js +0 -443
- package/dist/assets/cesium/Workers/EllipsoidGeodesic-5b3623dc.js +0 -520
- package/dist/assets/cesium/Workers/EllipsoidGeometry-cb148ca2.js +0 -637
- package/dist/assets/cesium/Workers/EllipsoidOutlineGeometry-0fa10c79.js +0 -454
- package/dist/assets/cesium/Workers/EllipsoidRhumbLine-ef872433.js +0 -741
- package/dist/assets/cesium/Workers/EllipsoidTangentPlane-6dd1b7af.js +0 -373
- package/dist/assets/cesium/Workers/EncodedCartesian3-57415c8a.js +0 -171
- package/dist/assets/cesium/Workers/FrustumGeometry-ee73037c.js +0 -2540
- package/dist/assets/cesium/Workers/GeometryAttribute-ff5b4fb1.js +0 -619
- package/dist/assets/cesium/Workers/GeometryAttributes-ad136444.js +0 -91
- package/dist/assets/cesium/Workers/GeometryInstance-34d9e21e.js +0 -121
- package/dist/assets/cesium/Workers/GeometryOffsetAttribute-9ad0019c.js +0 -16
- package/dist/assets/cesium/Workers/GeometryPipeline-1f8fbf05.js +0 -3690
- package/dist/assets/cesium/Workers/IndexDatatype-2643aa47.js +0 -200
- package/dist/assets/cesium/Workers/IntersectionTests-70d39ba9.js +0 -1836
- package/dist/assets/cesium/Workers/Math-0a2ac845.js +0 -1340
- package/dist/assets/cesium/Workers/Matrix2-e1298525.js +0 -7086
- package/dist/assets/cesium/Workers/Matrix3-41c58dde.js +0 -4283
- package/dist/assets/cesium/Workers/OrientedBoundingBox-159cf1d6.js +0 -1259
- package/dist/assets/cesium/Workers/Plane-4c3d403b.js +0 -309
- package/dist/assets/cesium/Workers/PolygonGeometryLibrary-076a5d25.js +0 -1074
- package/dist/assets/cesium/Workers/PolygonPipeline-b9f2810a.js +0 -1344
- package/dist/assets/cesium/Workers/PolylinePipeline-639192e0.js +0 -573
- package/dist/assets/cesium/Workers/PolylineVolumeGeometryLibrary-b73549fb.js +0 -781
- package/dist/assets/cesium/Workers/PrimitivePipeline-10ede1b6.js +0 -966
- package/dist/assets/cesium/Workers/RectangleGeometryLibrary-c35a7356.js +0 -280
- package/dist/assets/cesium/Workers/RuntimeError-ef395448.js +0 -68
- package/dist/assets/cesium/Workers/TerrainEncoding-668d242f.js +0 -1227
- package/dist/assets/cesium/Workers/Transforms-a2a85221.js +0 -14712
- package/dist/assets/cesium/Workers/VertexFormat-030f11ff.js +0 -312
- package/dist/assets/cesium/Workers/WallGeometryLibrary-1938bf0d.js +0 -211
- package/dist/assets/cesium/Workers/WebGLConstants-0b1ce7ba.js +0 -620
- package/dist/assets/cesium/Workers/WebMercatorProjection-13ed1a6e.js +0 -151
- package/dist/assets/cesium/Workers/arrayRemoveDuplicates-d2061e85.js +0 -129
- package/dist/assets/cesium/Workers/cesiumWorkerBootstrapper.js +0 -1363
- package/dist/assets/cesium/Workers/combine-d9581036.js +0 -82
- package/dist/assets/cesium/Workers/defaultValue-fe22d8c0.js +0 -51
- package/dist/assets/index-cb070eff.js +0 -1
- package/plugins/@vcmap/create-link/fallbackCreateLink.vue +0 -76
- package/plugins/@vcmap/create-link/index.js +0 -95
- package/plugins/@vcmap/create-link/package.json +0 -6
- package/plugins/@vcmap/search-nominatim/LICENSE.md +0 -13
- package/plugins/@vcmap/search-nominatim/README.md +0 -3
- package/plugins/@vcmap/search-nominatim/config.json +0 -3
- package/plugins/@vcmap/search-nominatim/index.js +0 -29
- package/plugins/@vcmap/search-nominatim/nominatim.js +0 -175
- package/plugins/@vcmap/search-nominatim/package.json +0 -9
- /package/dist/assets/{vue.30740e.js → vue.5d696e.js} +0 -0
- /package/dist/assets/{vuetify.946bd8.css → vuetify.f0a769.css} +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/ModulesListComponent.vue +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/README.md +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/de.json +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/en.json +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/index.js +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/README.md +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/SimpleGraphComponent.vue +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/index.js +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/simpleGraphView.js +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/README.md +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/index.js +0 -0
@@ -0,0 +1,40 @@
|
|
1
|
+
import { WindowSlot, createToggleAction, ButtonLocation } from '@vcmap/ui';
|
2
|
+
import packageJSON from './package.json';
|
3
|
+
import component from './vectorPropertiesExample.vue';
|
4
|
+
|
5
|
+
export default function createVectorPropertiesExamplePlugin() {
|
6
|
+
return {
|
7
|
+
get name() {
|
8
|
+
return packageJSON.name;
|
9
|
+
},
|
10
|
+
get version() {
|
11
|
+
return packageJSON.version;
|
12
|
+
},
|
13
|
+
get vcMapVersion() {
|
14
|
+
return packageJSON.vcMapVersion;
|
15
|
+
},
|
16
|
+
initialize(vcsApp) {
|
17
|
+
const { action, destroy } = createToggleAction(
|
18
|
+
{
|
19
|
+
name: 'Vector Properties Example',
|
20
|
+
},
|
21
|
+
{
|
22
|
+
id: 'vector-properties-example',
|
23
|
+
state: {
|
24
|
+
headerTitle: 'Vector Properties Example',
|
25
|
+
},
|
26
|
+
component,
|
27
|
+
slot: WindowSlot.DYNAMIC_LEFT,
|
28
|
+
},
|
29
|
+
vcsApp.windowManager,
|
30
|
+
packageJSON.name,
|
31
|
+
);
|
32
|
+
vcsApp.navbarManager.add(
|
33
|
+
{ id: 'vectorProperties', action },
|
34
|
+
packageJSON.name,
|
35
|
+
ButtonLocation.TOOL,
|
36
|
+
);
|
37
|
+
this.destroy = destroy;
|
38
|
+
},
|
39
|
+
};
|
40
|
+
}
|
@@ -0,0 +1,128 @@
|
|
1
|
+
<template>
|
2
|
+
<v-sheet>
|
3
|
+
<v-container>
|
4
|
+
<v-row>
|
5
|
+
<v-col>
|
6
|
+
<VcsList
|
7
|
+
:items="propertiesToSelectFrom"
|
8
|
+
:selectable="true"
|
9
|
+
v-model="propertiesToDisplay"
|
10
|
+
title="Select all"
|
11
|
+
/>
|
12
|
+
</v-col>
|
13
|
+
</v-row>
|
14
|
+
<v-row>
|
15
|
+
<v-col>
|
16
|
+
<VcsCheckbox v-model="hideDividers" label="Hide dividers" />
|
17
|
+
</v-col>
|
18
|
+
</v-row>
|
19
|
+
<v-row>
|
20
|
+
<v-col>
|
21
|
+
<VcsCheckbox v-model="expandable" label="Expandable" />
|
22
|
+
</v-col>
|
23
|
+
</v-row>
|
24
|
+
</v-container>
|
25
|
+
<VcsVectorPropertiesComponent
|
26
|
+
v-model="featureProperties"
|
27
|
+
:value-default="defaultOptions"
|
28
|
+
:show3-d-properties="is3D"
|
29
|
+
:properties="propertiesToDisplay.map((item) => item.name)"
|
30
|
+
:hide-dividers="hideDividers"
|
31
|
+
:expandable="expandable"
|
32
|
+
/>
|
33
|
+
</v-sheet>
|
34
|
+
</template>
|
35
|
+
|
36
|
+
<script>
|
37
|
+
import { inject, onMounted, onUnmounted, ref, watch } from 'vue';
|
38
|
+
import { CesiumMap, VectorLayer, VectorProperties } from '@vcmap/core';
|
39
|
+
import {
|
40
|
+
VcsVectorPropertiesComponent,
|
41
|
+
VcsList,
|
42
|
+
VcsCheckbox,
|
43
|
+
} from '@vcmap/ui';
|
44
|
+
import { VSheet, VContainer, VRow, VCol } from 'vuetify/lib';
|
45
|
+
import { Feature } from 'ol';
|
46
|
+
import { Polygon } from 'ol/geom.js';
|
47
|
+
|
48
|
+
export const polygonCoords = [
|
49
|
+
[
|
50
|
+
[13.37302869387225, 52.515969833848686, 34.5146781549614],
|
51
|
+
[13.374380945328324, 52.51418689937603, 33.692166432214975],
|
52
|
+
[13.376569529360477, 52.516925129014055, 34.36842554294618],
|
53
|
+
[13.37302869387225, 52.515969833848686, 34.5146781549614],
|
54
|
+
],
|
55
|
+
];
|
56
|
+
|
57
|
+
export default {
|
58
|
+
name: 'VectorPropertiesExample',
|
59
|
+
components: {
|
60
|
+
VcsVectorPropertiesComponent,
|
61
|
+
VcsList,
|
62
|
+
VcsCheckbox,
|
63
|
+
VSheet,
|
64
|
+
VContainer,
|
65
|
+
VRow,
|
66
|
+
VCol,
|
67
|
+
},
|
68
|
+
setup() {
|
69
|
+
/** @type {import('@vcmap/core').VcsApp} */
|
70
|
+
const vcsApp = inject('vcsApp');
|
71
|
+
const is3D = ref(false);
|
72
|
+
|
73
|
+
function updateIs3D() {
|
74
|
+
is3D.value = vcsApp.maps.activeMap instanceof CesiumMap;
|
75
|
+
}
|
76
|
+
const mapActivatedListener =
|
77
|
+
vcsApp.maps.mapActivated.addEventListener(updateIs3D);
|
78
|
+
updateIs3D();
|
79
|
+
|
80
|
+
const feature = new Feature({
|
81
|
+
geometry: new Polygon(polygonCoords),
|
82
|
+
});
|
83
|
+
const layer = new VectorLayer({
|
84
|
+
name: 'vectorPropertiesExampleLayer',
|
85
|
+
projection: {
|
86
|
+
epsg: 'EPSG:4326',
|
87
|
+
},
|
88
|
+
});
|
89
|
+
|
90
|
+
const featureProperties = ref(
|
91
|
+
layer.vectorProperties.getValuesForFeatures([feature]),
|
92
|
+
);
|
93
|
+
watch(featureProperties, () => {
|
94
|
+
layer.vectorProperties.setValuesForFeatures(featureProperties.value, [
|
95
|
+
feature,
|
96
|
+
]);
|
97
|
+
});
|
98
|
+
|
99
|
+
const defaultOptions = VectorProperties.getDefaultOptions();
|
100
|
+
const propertiesToSelectFrom = Object.keys(defaultOptions).map((key) => ({
|
101
|
+
name: key,
|
102
|
+
title: key,
|
103
|
+
}));
|
104
|
+
|
105
|
+
onMounted(() => {
|
106
|
+
vcsApp.layers.add(layer);
|
107
|
+
layer.addFeatures([feature]);
|
108
|
+
layer.activate();
|
109
|
+
});
|
110
|
+
|
111
|
+
onUnmounted(() => {
|
112
|
+
layer.deactivate();
|
113
|
+
vcsApp.layers.remove(layer);
|
114
|
+
layer.destroy();
|
115
|
+
mapActivatedListener();
|
116
|
+
});
|
117
|
+
return {
|
118
|
+
featureProperties,
|
119
|
+
defaultOptions,
|
120
|
+
is3D,
|
121
|
+
propertiesToSelectFrom,
|
122
|
+
propertiesToDisplay: ref([...propertiesToSelectFrom]),
|
123
|
+
hideDividers: ref(false),
|
124
|
+
expandable: ref(false),
|
125
|
+
};
|
126
|
+
},
|
127
|
+
};
|
128
|
+
</script>
|
package/plugins/package.json
CHANGED
@@ -1,10 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"dependencies": {
|
3
|
-
"@vcmap/hello-world": "^1.0.7",
|
4
3
|
"@vcmap/print": "^1.0.2",
|
5
4
|
"@vcmap/swipe-tool": "^1.0.3",
|
6
5
|
"@vcmap/export": "^1.0.1",
|
7
6
|
"@vcmap/shadow": "^1.0.1",
|
8
|
-
"@vcmap/draw": "^1.0.0"
|
7
|
+
"@vcmap/draw": "^1.0.0",
|
8
|
+
"@vcmap/create-link": "^1.0.1",
|
9
|
+
"@vcmap/search-nominatim": "^1.0.1"
|
10
|
+
},
|
11
|
+
"optionalDependencies": {
|
12
|
+
"@vcmap/hello-world": "^1.0.7"
|
9
13
|
}
|
10
14
|
}
|
@@ -1,24 +1,29 @@
|
|
1
1
|
<template>
|
2
|
-
<v-
|
3
|
-
<v-list-
|
4
|
-
v-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
<v-list-item-
|
10
|
-
|
11
|
-
v-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
2
|
+
<v-sheet>
|
3
|
+
<v-list v-if="entries.length" class="px-2">
|
4
|
+
<v-list-item
|
5
|
+
v-for="{ key, title, attributions } in entries"
|
6
|
+
:key="key"
|
7
|
+
class="px-0"
|
8
|
+
>
|
9
|
+
<v-list-item-content>
|
10
|
+
<v-list-item-title>{{ $t(title) }}</v-list-item-title>
|
11
|
+
<v-list-item-subtitle
|
12
|
+
v-for="attribution in attributions"
|
13
|
+
:key="attribution.provider"
|
14
|
+
:title="`${$t(attribution.provider)} ${attribution.year}`"
|
15
|
+
>
|
16
|
+
<a :href="attribution.url" target="_blank">
|
17
|
+
{{ $t(attribution.provider) }} {{ attribution.year }}
|
18
|
+
</a>
|
19
|
+
</v-list-item-subtitle>
|
20
|
+
</v-list-item-content>
|
21
|
+
</v-list-item>
|
22
|
+
</v-list>
|
23
|
+
<v-sheet v-else class="ma-2">
|
24
|
+
{{ $t('footer.attributions.empty') }}
|
25
|
+
</v-sheet>
|
26
|
+
</v-sheet>
|
22
27
|
</template>
|
23
28
|
|
24
29
|
<style lang="scss" scoped>
|
@@ -51,6 +56,7 @@
|
|
51
56
|
VListItemContent,
|
52
57
|
VListItemTitle,
|
53
58
|
VListItemSubtitle,
|
59
|
+
VSheet,
|
54
60
|
} from 'vuetify/lib';
|
55
61
|
|
56
62
|
/**
|
@@ -65,6 +71,7 @@
|
|
65
71
|
VListItemContent,
|
66
72
|
VListItemTitle,
|
67
73
|
VListItemSubtitle,
|
74
|
+
VSheet,
|
68
75
|
},
|
69
76
|
props: {
|
70
77
|
entries: {
|
@@ -0,0 +1,290 @@
|
|
1
|
+
<template>
|
2
|
+
<div
|
3
|
+
class="d-flex d-inline-block align-center mb-1"
|
4
|
+
:class="{ 'mt-1': !column }"
|
5
|
+
>
|
6
|
+
<v-btn
|
7
|
+
v-if="hasScrollbar"
|
8
|
+
:dense="isDense"
|
9
|
+
x-small
|
10
|
+
icon
|
11
|
+
:ripple="false"
|
12
|
+
elevation="0"
|
13
|
+
@click="vcsChipArrayInput.scrollLeft -= scrollDx"
|
14
|
+
>
|
15
|
+
<v-icon>mdi-chevron-left</v-icon>
|
16
|
+
</v-btn>
|
17
|
+
<div
|
18
|
+
ref="vcsChipArrayInput"
|
19
|
+
class="d-flex d-inline-block mx-1 my-0"
|
20
|
+
:class="{
|
21
|
+
'overflow-x-auto': !column,
|
22
|
+
'hide-scrollbar': !column,
|
23
|
+
row: column,
|
24
|
+
}"
|
25
|
+
>
|
26
|
+
<div
|
27
|
+
v-for="(item, index) in value"
|
28
|
+
:key="index"
|
29
|
+
class="pr-1"
|
30
|
+
:class="{ 'pt-1': column }"
|
31
|
+
>
|
32
|
+
<v-chip
|
33
|
+
v-if="selected !== index"
|
34
|
+
v-bind="{ ...$attrs }"
|
35
|
+
:small="isDense"
|
36
|
+
:disabled="disabled"
|
37
|
+
:close="deletableChips"
|
38
|
+
@click="select(index)"
|
39
|
+
@click:close="remove(index)"
|
40
|
+
>
|
41
|
+
<span class="text-truncate d-inline-block">{{ item }}</span>
|
42
|
+
</v-chip>
|
43
|
+
<VcsTextField
|
44
|
+
v-else
|
45
|
+
hide-details
|
46
|
+
:dense="isDense"
|
47
|
+
rounded
|
48
|
+
filled
|
49
|
+
autofocus
|
50
|
+
no-padding
|
51
|
+
:height="24"
|
52
|
+
v-bind="{ ...$attrs }"
|
53
|
+
v-model="editValue"
|
54
|
+
@keydown.esc="selected = -1"
|
55
|
+
@blur="selected = -1"
|
56
|
+
@keydown.enter="submitChange($event)"
|
57
|
+
@click:append="submitChange($event)"
|
58
|
+
@update:error="(err) => (isEditValid = !err)"
|
59
|
+
append-icon="mdi-check"
|
60
|
+
:style="{ width: `${inputWidth}px` }"
|
61
|
+
/>
|
62
|
+
</div>
|
63
|
+
<div :class="{ 'pt-1': column }">
|
64
|
+
<v-chip
|
65
|
+
v-if="adding === false"
|
66
|
+
v-bind="{ ...$attrs }"
|
67
|
+
:small="isDense"
|
68
|
+
:disabled="disabled"
|
69
|
+
@click="adding = true"
|
70
|
+
>
|
71
|
+
<v-icon>$vcsPlus</v-icon>
|
72
|
+
</v-chip>
|
73
|
+
<VcsTextField
|
74
|
+
v-else
|
75
|
+
hide-details
|
76
|
+
:dense="isDense"
|
77
|
+
rounded
|
78
|
+
filled
|
79
|
+
autofocus
|
80
|
+
no-padding
|
81
|
+
:height="24"
|
82
|
+
class="vcs-inside-chip"
|
83
|
+
v-model="newValue"
|
84
|
+
v-bind="{ ...$attrs }"
|
85
|
+
@keydown.enter="add($event, newValue)"
|
86
|
+
@keydown.esc="cancel"
|
87
|
+
@blur="cancel"
|
88
|
+
@click:append="add($event, newValue)"
|
89
|
+
@update:error="(err) => (isNewValid = !err)"
|
90
|
+
append-icon="mdi-check"
|
91
|
+
:style="{ width: `${inputWidth}px` }"
|
92
|
+
/>
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
<v-btn
|
96
|
+
v-if="hasScrollbar"
|
97
|
+
:dense="isDense"
|
98
|
+
x-small
|
99
|
+
icon
|
100
|
+
:ripple="false"
|
101
|
+
elevation="0"
|
102
|
+
@click="vcsChipArrayInput.scrollLeft += scrollDx"
|
103
|
+
>
|
104
|
+
<v-icon>mdi-chevron-right</v-icon>
|
105
|
+
</v-btn>
|
106
|
+
</div>
|
107
|
+
</template>
|
108
|
+
|
109
|
+
<style lang="scss" scoped>
|
110
|
+
.hide-scrollbar {
|
111
|
+
-ms-overflow-style: none; /* IE and Edge */
|
112
|
+
scrollbar-width: none; /* Firefox */
|
113
|
+
}
|
114
|
+
.hide-scrollbar::-webkit-scrollbar {
|
115
|
+
display: none;
|
116
|
+
}
|
117
|
+
.v-chip {
|
118
|
+
display: flex;
|
119
|
+
max-width: 260px;
|
120
|
+
padding: 0 8px;
|
121
|
+
.v-chip__content {
|
122
|
+
display: flex;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
.vcs-inside-chip {
|
126
|
+
::v-deep {
|
127
|
+
.v-input__slot {
|
128
|
+
.v-input__append-inner {
|
129
|
+
margin-top: 5px;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
.v-text-field--filled > .v-input__control > .v-input__slot,
|
133
|
+
.v-text-field--outlined > .v-input__control > .v-input__slot {
|
134
|
+
min-height: unset;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
</style>
|
139
|
+
|
140
|
+
<script>
|
141
|
+
import { computed, nextTick, onMounted, ref } from 'vue';
|
142
|
+
import { VBtn, VChip, VIcon } from 'vuetify/lib';
|
143
|
+
import VcsTextField from './VcsTextField.vue';
|
144
|
+
|
145
|
+
/**
|
146
|
+
* @description Renders elements of an array as chips with an input field to edit or add new elements.
|
147
|
+
* Provides two height options depending on "dense" property
|
148
|
+
* Provides VcsTooltip to show error messages on focus
|
149
|
+
* When clicking esc key, previous input is restored.
|
150
|
+
* @vue-prop {('bottom' | 'left' | 'top' | 'right')} [tooltipPosition='right'] - Position of the error tooltip.
|
151
|
+
* @vue-prop {string} [type] - The input type (string or number)
|
152
|
+
* @vue-prop {boolean} [disabled] - Disables adding or removing new elements
|
153
|
+
* @vue-prop {boolean} [column] - Remove horizontal pagination and wrap items as needed
|
154
|
+
* @vue-prop {boolean} [scrollDx=20] - scroll amount in px
|
155
|
+
* @vue-prop {boolean} [deletableChips=true] - Adds a delete button to elements to remove them from array
|
156
|
+
* @vue-prop {number} [inputWidth=50] - Width of the text fields in px.
|
157
|
+
*/
|
158
|
+
export default {
|
159
|
+
name: 'VcsChipArrayInput',
|
160
|
+
components: {
|
161
|
+
VBtn,
|
162
|
+
VcsTextField,
|
163
|
+
VChip,
|
164
|
+
VIcon,
|
165
|
+
},
|
166
|
+
props: {
|
167
|
+
value: {
|
168
|
+
type: Array,
|
169
|
+
required: true,
|
170
|
+
},
|
171
|
+
tooltipPosition: {
|
172
|
+
type: String,
|
173
|
+
default: 'right',
|
174
|
+
},
|
175
|
+
deletableChips: {
|
176
|
+
type: Boolean,
|
177
|
+
default: true,
|
178
|
+
},
|
179
|
+
inputWidth: {
|
180
|
+
type: Number,
|
181
|
+
default: 50,
|
182
|
+
},
|
183
|
+
disabled: {
|
184
|
+
type: Boolean,
|
185
|
+
default: false,
|
186
|
+
},
|
187
|
+
column: {
|
188
|
+
type: Boolean,
|
189
|
+
default: false,
|
190
|
+
},
|
191
|
+
scrollDx: {
|
192
|
+
type: Number,
|
193
|
+
default: 20,
|
194
|
+
},
|
195
|
+
},
|
196
|
+
setup(props, { attrs, emit }) {
|
197
|
+
const selected = ref(-1);
|
198
|
+
const adding = ref(false);
|
199
|
+
const isEditValid = ref(true);
|
200
|
+
const editValue = ref(undefined);
|
201
|
+
const isNewValid = ref(true);
|
202
|
+
const newValue = ref(undefined);
|
203
|
+
const vcsChipArrayInput = ref();
|
204
|
+
const hasScrollbar = ref();
|
205
|
+
const isDense = computed(() => attrs.dense !== false);
|
206
|
+
|
207
|
+
function emitValue(value) {
|
208
|
+
if (attrs.type === 'number') {
|
209
|
+
emit(
|
210
|
+
'input',
|
211
|
+
value.map((v) => parseFloat(v)),
|
212
|
+
);
|
213
|
+
} else {
|
214
|
+
emit('input', value);
|
215
|
+
}
|
216
|
+
}
|
217
|
+
|
218
|
+
function updateHasScrollbar() {
|
219
|
+
if (!props.column) {
|
220
|
+
hasScrollbar.value =
|
221
|
+
vcsChipArrayInput.value.scrollWidth -
|
222
|
+
vcsChipArrayInput.value.clientWidth >
|
223
|
+
36; // size of the scroll buttons
|
224
|
+
}
|
225
|
+
}
|
226
|
+
|
227
|
+
onMounted(() => updateHasScrollbar());
|
228
|
+
|
229
|
+
function remove(index) {
|
230
|
+
emitValue(props.value.toSpliced(index, 1));
|
231
|
+
updateHasScrollbar();
|
232
|
+
}
|
233
|
+
|
234
|
+
function select(index) {
|
235
|
+
if (!props.disabled) {
|
236
|
+
selected.value = index;
|
237
|
+
editValue.value = props.value[index];
|
238
|
+
}
|
239
|
+
}
|
240
|
+
|
241
|
+
function submitChange(e) {
|
242
|
+
e.stopPropagation();
|
243
|
+
e.preventDefault();
|
244
|
+
if (isEditValid.value) {
|
245
|
+
emitValue(props.value.toSpliced(selected.value, 1, editValue.value));
|
246
|
+
selected.value = -1;
|
247
|
+
}
|
248
|
+
}
|
249
|
+
|
250
|
+
function cancel() {
|
251
|
+
newValue.value = undefined;
|
252
|
+
adding.value = false;
|
253
|
+
}
|
254
|
+
|
255
|
+
async function add(e, value) {
|
256
|
+
e.stopPropagation();
|
257
|
+
e.preventDefault();
|
258
|
+
if (isNewValid.value) {
|
259
|
+
if (value) {
|
260
|
+
emitValue([...props.value, value]);
|
261
|
+
await nextTick();
|
262
|
+
updateHasScrollbar();
|
263
|
+
await nextTick();
|
264
|
+
vcsChipArrayInput.value.scrollLeft =
|
265
|
+
vcsChipArrayInput.value.scrollWidth;
|
266
|
+
}
|
267
|
+
newValue.value = undefined;
|
268
|
+
adding.value = true;
|
269
|
+
}
|
270
|
+
}
|
271
|
+
|
272
|
+
return {
|
273
|
+
selected,
|
274
|
+
adding,
|
275
|
+
editValue,
|
276
|
+
isEditValid,
|
277
|
+
newValue,
|
278
|
+
isNewValid,
|
279
|
+
isDense,
|
280
|
+
vcsChipArrayInput,
|
281
|
+
hasScrollbar,
|
282
|
+
remove,
|
283
|
+
select,
|
284
|
+
submitChange,
|
285
|
+
add,
|
286
|
+
cancel,
|
287
|
+
};
|
288
|
+
},
|
289
|
+
};
|
290
|
+
</script>
|
@@ -25,8 +25,9 @@
|
|
25
25
|
v-on="{ ...$listeners, ...on }"
|
26
26
|
:height="isDense ? 24 : 32"
|
27
27
|
:rules="rules"
|
28
|
-
class="
|
28
|
+
class="primary--placeholder align-center"
|
29
29
|
:class="{
|
30
|
+
'py-1': !noPadding,
|
30
31
|
'remove-outline': !isOutlined,
|
31
32
|
'outline--current': focus,
|
32
33
|
'outline--error': !!errorMessage,
|
@@ -134,7 +135,7 @@
|
|
134
135
|
.v-icon {
|
135
136
|
font-size: 16px;
|
136
137
|
}
|
137
|
-
fieldset {
|
138
|
+
.v-text-field--rounded fieldset {
|
138
139
|
border-radius: 2px;
|
139
140
|
border-color: var(--v-base-base);
|
140
141
|
}
|
@@ -160,6 +161,7 @@
|
|
160
161
|
* @vue-prop {('bottom' | 'left' | 'top' | 'right')} [tooltipPosition='right'] - Position of the error tooltip.
|
161
162
|
* @vue-prop {string} unit - Unit for number input fields. Is displayed behind the number.
|
162
163
|
* @vue-prop {boolean} showSpinButtons - If true, spin buttons are displayed in number input fields. Overrides Vuetify hide-spin-buttons.
|
164
|
+
* @vue-prop {boolean} noPadding - Padding is required for usage within rows. For standalone usage this prop removes class py-1.
|
163
165
|
* @vue-computed {boolean} isClearable - Whether textfield is isClearable. Makes sure icon is only shown on focus, hover or error.
|
164
166
|
* @vue-computed {boolean} isDense - Whether size of textfield is dense.
|
165
167
|
* @vue-computed {boolean} isOutlined - Textfield is outlined on either hover, focus or error, if not disabled.
|
@@ -186,6 +188,10 @@
|
|
186
188
|
type: Boolean,
|
187
189
|
default: false,
|
188
190
|
},
|
191
|
+
noPadding: {
|
192
|
+
type: Boolean,
|
193
|
+
default: false,
|
194
|
+
},
|
189
195
|
},
|
190
196
|
setup(props, { attrs, emit }) {
|
191
197
|
const hover = ref(false);
|
@@ -223,7 +229,7 @@
|
|
223
229
|
get() {
|
224
230
|
if (
|
225
231
|
attrs.type === 'number' &&
|
226
|
-
attrs.value &&
|
232
|
+
Number.isFinite(attrs.value) &&
|
227
233
|
props.unit &&
|
228
234
|
!focus.value &&
|
229
235
|
!hover.value
|
@@ -2,7 +2,6 @@
|
|
2
2
|
|
3
3
|
<template>
|
4
4
|
<svg
|
5
|
-
id="icon_24_2D_area"
|
6
5
|
xmlns="http://www.w3.org/2000/svg"
|
7
6
|
width="24"
|
8
7
|
height="24"
|
@@ -11,24 +10,14 @@
|
|
11
10
|
<rect id="size" width="24" height="24" fill="none" />
|
12
11
|
<path
|
13
12
|
id="Path_681"
|
14
|
-
data-name="Path 681"
|
15
13
|
d="M-10.08-3.448h1.088A2.381,2.381,0,0,1-8.948-3.9,1.4,1.4,0,0,1-8.8-4.316a.866.866,0,0,1,.276-.3.734.734,0,0,1,.42-.116.833.833,0,0,1,.6.228.843.843,0,0,1,.236.636.892.892,0,0,1-.116.456,1.555,1.555,0,0,1-.288.36,2.607,2.607,0,0,1-.38.292q-.208.132-.392.26-.36.248-.684.488a3.324,3.324,0,0,0-.564.524,2.256,2.256,0,0,0-.38.644,2.335,2.335,0,0,0-.14.848H-6.1V-.976H-8.744a2.535,2.535,0,0,1,.48-.5q.272-.216.56-.4t.572-.38a3.06,3.06,0,0,0,.508-.428,1.912,1.912,0,0,0,.36-.54,1.774,1.774,0,0,0,.136-.728A1.692,1.692,0,0,0-6.284-4.7a1.634,1.634,0,0,0-.42-.552,1.886,1.886,0,0,0-.612-.344,2.23,2.23,0,0,0-.732-.12,2.182,2.182,0,0,0-.892.172,1.74,1.74,0,0,0-.644.48,2.076,2.076,0,0,0-.384.72A2.687,2.687,0,0,0-10.08-3.448Zm5.96,2.392v-3.6h.9a2.028,2.028,0,0,1,.78.132,1.224,1.224,0,0,1,.508.38,1.556,1.556,0,0,1,.276.6,3.33,3.33,0,0,1,.084.78,2.34,2.34,0,0,1-.12.8,1.467,1.467,0,0,1-.32.532,1.162,1.162,0,0,1-.456.292A1.613,1.613,0,0,1-3-1.056ZM-5.376-5.712V0h2.464a2.734,2.734,0,0,0,1.14-.22,2.268,2.268,0,0,0,.808-.6A2.535,2.535,0,0,0-.48-1.736,3.957,3.957,0,0,0-.32-2.888a3.56,3.56,0,0,0-.2-1.24,2.438,2.438,0,0,0-.544-.88,2.231,2.231,0,0,0-.824-.528,2.941,2.941,0,0,0-1.028-.176Z"
|
16
14
|
transform="translate(24 24)"
|
17
15
|
fill="currentColor"
|
18
16
|
/>
|
19
|
-
<g
|
20
|
-
id="
|
21
|
-
data-name="Group 1752"
|
22
|
-
transform="translate(-1319.907 -496.728)"
|
23
|
-
>
|
24
|
-
<g
|
25
|
-
id="Path_673"
|
26
|
-
data-name="Path 673"
|
27
|
-
transform="translate(1321.907 497.728)"
|
28
|
-
>
|
17
|
+
<g id="Group_1752" transform="translate(-1319.907 -496.728)">
|
18
|
+
<g id="Path_673" transform="translate(1321.907 497.728)">
|
29
19
|
<path
|
30
20
|
id="Path_675"
|
31
|
-
data-name="Path 675"
|
32
21
|
d="M1323.231,513.759a1.333,1.333,0,0,1-1.323-1.271v-6.134a1.31,1.31,0,0,1,1.382-1.3h5.273v-6.032a1.351,1.351,0,0,1,1.4-1.3h10.5a1.334,1.334,0,0,1,1.368,1.27V512.46a1.344,1.344,0,0,1-1.4,1.3h-17.2Zm.026-1.5h0Zm.183-5.7v5.7H1340.3v-13.03h-10.2v6.032a1.339,1.339,0,0,1-1.4,1.3Zm17.017,5.7h0Zm-11.741-7.2h0Zm1.225-5.83h0Zm10.534,0h0Z"
|
33
22
|
transform="translate(-1321.907 -497.728)"
|
34
23
|
fill="currentColor"
|
@@ -41,13 +30,11 @@
|
|
41
30
|
>
|
42
31
|
<g
|
43
32
|
id="Group_1752-2"
|
44
|
-
data-name="Group 1752"
|
45
33
|
transform="translate(0 0.215)"
|
46
34
|
style="isolation: isolate"
|
47
35
|
>
|
48
36
|
<path
|
49
37
|
id="Path_676"
|
50
|
-
data-name="Path 676"
|
51
38
|
d="M1333.238,505.094l1,2.946h.012l.948-2.946h1.326v4.284h-.881v-3.036h-.013l-1.05,3.036h-.726l-1.049-3.006h-.013v3.006h-.882v-4.284Z"
|
52
39
|
transform="translate(-1331.912 -505.094)"
|
53
40
|
fill="currentColor"
|
@@ -55,13 +42,11 @@
|
|
55
42
|
</g>
|
56
43
|
<g
|
57
44
|
id="Group_1753"
|
58
|
-
data-name="Group 1753"
|
59
45
|
transform="translate(5.102)"
|
60
46
|
style="isolation: isolate"
|
61
47
|
>
|
62
48
|
<path
|
63
49
|
id="Path_677"
|
64
|
-
data-name="Path 677"
|
65
50
|
d="M1337.119,505.479a.9.9,0,0,1,.168-.315.75.75,0,0,1,.281-.21.963.963,0,0,1,.391-.075.951.951,0,0,1,.32.053.827.827,0,0,1,.268.15.706.706,0,0,1,.183.241.736.736,0,0,1,.069.323.767.767,0,0,1-.06.318.834.834,0,0,1-.157.236,1.371,1.371,0,0,1-.223.188l-.25.166a2.967,2.967,0,0,0-.245.176,1.129,1.129,0,0,0-.21.221h1.159v.427h-1.8a1.018,1.018,0,0,1,.061-.371.977.977,0,0,1,.166-.281,1.514,1.514,0,0,1,.247-.23c.094-.07.195-.142.3-.214.054-.037.111-.075.172-.113a1.124,1.124,0,0,0,.166-.128.721.721,0,0,0,.126-.157.391.391,0,0,0,.051-.2.368.368,0,0,0-.1-.279.364.364,0,0,0-.263-.1.332.332,0,0,0-.185.05.393.393,0,0,0-.12.133.675.675,0,0,0-.066.183,1.105,1.105,0,0,0-.018.2h-.477A1.177,1.177,0,0,1,1337.119,505.479Z"
|
66
51
|
transform="translate(-1337.014 -504.879)"
|
67
52
|
fill="currentColor"
|