@vcmap/ui 5.0.0-rc.23 → 5.0.0-rc.24
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/README.md +36 -18
- package/app.config.json +2 -4
- package/build/.eslintrc +3 -0
- package/build/build.js +184 -174
- package/build/buildCesium.js +32 -19
- package/build/buildHelpers.js +117 -48
- package/build/buildPreview.js +7 -4
- package/build/commonViteConfig.js +1 -3
- package/build/determineHost.js +17 -4
- package/build/generateOLLib.js +13 -16
- package/build/getPluginProxies.js +16 -3
- package/build/info/conf.json +21 -21
- package/build/info/publish.js +15 -4
- package/config/aerowest.config.json +16 -44
- package/config/base.config.json +71 -246
- package/config/codes.config.json +3 -1
- package/config/dev.config.json +5 -13
- package/config/graphFeatureInfo.config.json +55 -16
- package/config/projects.config.json +5 -2
- package/config/www.config.json +96 -297
- package/dist/assets/cesium/Workers/{ArcType-ce2e50ab.js → ArcType-2d9abbbc.js} +4 -4
- package/dist/assets/cesium/Workers/{AttributeCompression-b646d393.js → AttributeCompression-f9f6c717.js} +24 -24
- package/dist/assets/cesium/Workers/{AxisAlignedBoundingBox-ff186ccc.js → AxisAlignedBoundingBox-85d9e53a.js} +3 -3
- package/dist/assets/cesium/Workers/{BoundingRectangle-be5924f4.js → BoundingRectangle-1ee7eb47.js} +18 -18
- package/dist/assets/cesium/Workers/{BoxGeometry-12eeccaf.js → BoxGeometry-3b2be784.js} +9 -9
- package/dist/assets/cesium/Workers/{Check-666ab1a0.js → Check-6ede7e26.js} +22 -22
- package/dist/assets/cesium/Workers/{Color-a84038cb.js → Color-f107c84d.js} +59 -59
- package/dist/assets/cesium/Workers/{ComponentDatatype-f7b11d02.js → ComponentDatatype-cf1fa08e.js} +16 -16
- package/dist/assets/cesium/Workers/{CoplanarPolygonGeometryLibrary-3272c1b3.js → CoplanarPolygonGeometryLibrary-78d71993.js} +1 -1
- package/dist/assets/cesium/Workers/{CorridorGeometryLibrary-0170e093.js → CorridorGeometryLibrary-50d99b33.js} +1 -1
- package/dist/assets/cesium/Workers/{CylinderGeometry-7c5da648.js → CylinderGeometry-51b0d9bf.js} +12 -12
- package/dist/assets/cesium/Workers/{CylinderGeometryLibrary-372c07d8.js → CylinderGeometryLibrary-7bf291b4.js} +1 -1
- package/dist/assets/cesium/Workers/{EllipseGeometry-797d580e.js → EllipseGeometry-bcfb5d87.js} +20 -20
- package/dist/assets/cesium/Workers/{EllipseGeometryLibrary-2939e1dc.js → EllipseGeometryLibrary-e94f8472.js} +1 -1
- package/dist/assets/cesium/Workers/{EllipseOutlineGeometry-8b50870f.js → EllipseOutlineGeometry-28e3a1bb.js} +15 -15
- package/dist/assets/cesium/Workers/{EllipsoidGeodesic-98c62a56.js → EllipsoidGeodesic-5b3623dc.js} +6 -6
- package/dist/assets/cesium/Workers/{EllipsoidGeometry-21c0e3a5.js → EllipsoidGeometry-b222fa63.js} +14 -14
- package/dist/assets/cesium/Workers/{EllipsoidOutlineGeometry-eff247c8.js → EllipsoidOutlineGeometry-38a3fb5b.js} +15 -15
- package/dist/assets/cesium/Workers/{EllipsoidRhumbLine-19756602.js → EllipsoidRhumbLine-ef872433.js} +9 -9
- package/dist/assets/cesium/Workers/{EllipsoidTangentPlane-214683dc.js → EllipsoidTangentPlane-8c89f28c.js} +1 -1
- package/dist/assets/cesium/Workers/{EncodedCartesian3-81f70735.js → EncodedCartesian3-57415c8a.js} +6 -6
- package/dist/assets/cesium/Workers/{FrustumGeometry-ac42a6d9.js → FrustumGeometry-bdd3a04d.js} +139 -111
- package/dist/assets/cesium/Workers/{GeometryAttribute-7d6f1732.js → GeometryAttribute-153115c5.js} +20 -20
- package/dist/assets/cesium/Workers/{GeometryAttributes-f06a2792.js → GeometryAttributes-ad136444.js} +1 -1
- package/dist/assets/cesium/Workers/{GeometryInstance-451dc1cd.js → GeometryInstance-34d9e21e.js} +6 -6
- package/dist/assets/cesium/Workers/{GeometryPipeline-ce4339ed.js → GeometryPipeline-acb2399c.js} +22 -22
- package/dist/assets/cesium/Workers/{IndexDatatype-a55ceaa1.js → IndexDatatype-2643aa47.js} +13 -13
- package/dist/assets/cesium/Workers/{IntersectionTests-f6e6bd8a.js → IntersectionTests-271e513e.js} +37 -37
- package/dist/assets/cesium/Workers/{Math-2dbd6b93.js → Math-0a2ac845.js} +149 -139
- package/dist/assets/cesium/Workers/{Matrix2-13178034.js → Matrix2-e1298525.js} +256 -256
- package/dist/assets/cesium/Workers/{Matrix3-315394f6.js → Matrix3-41c58dde.js} +150 -150
- package/dist/assets/cesium/Workers/{OrientedBoundingBox-04920dc7.js → OrientedBoundingBox-5e04e31f.js} +19 -17
- package/dist/assets/cesium/Workers/{Plane-900aa728.js → Plane-4c3d403b.js} +5 -5
- package/dist/assets/cesium/Workers/{PolygonGeometryLibrary-a8680d96.js → PolygonGeometryLibrary-6762b65b.js} +6 -6
- package/dist/assets/cesium/Workers/PolygonPipeline-7dc7a431.js +1344 -0
- package/dist/assets/cesium/Workers/{PolylinePipeline-32f36d2a.js → PolylinePipeline-15fde655.js} +16 -16
- package/dist/assets/cesium/Workers/{PolylineVolumeGeometryLibrary-a510d657.js → PolylineVolumeGeometryLibrary-ba7dfed5.js} +7 -7
- package/dist/assets/cesium/Workers/{PrimitivePipeline-ba38434a.js → PrimitivePipeline-68f0b9a2.js} +6 -6
- package/dist/assets/cesium/Workers/{RectangleGeometryLibrary-bdba697e.js → RectangleGeometryLibrary-8eaf23da.js} +1 -1
- package/dist/assets/cesium/Workers/{RuntimeError-06c93819.js → RuntimeError-ef395448.js} +5 -5
- package/dist/assets/cesium/Workers/{TerrainEncoding-833187da.js → TerrainEncoding-eb8a645a.js} +30 -30
- package/dist/assets/cesium/Workers/Transforms-f6451f99.js +14698 -0
- package/dist/assets/cesium/Workers/{VertexFormat-6b480673.js → VertexFormat-030f11ff.js} +14 -14
- package/dist/assets/cesium/Workers/{WallGeometryLibrary-919eed92.js → WallGeometryLibrary-feef3109.js} +1 -1
- package/dist/assets/cesium/Workers/{WebGLConstants-a8cc3e8c.js → WebGLConstants-0b1ce7ba.js} +1 -1
- package/dist/assets/cesium/Workers/{WebMercatorProjection-13a90d41.js → WebMercatorProjection-13ed1a6e.js} +6 -6
- package/dist/assets/cesium/Workers/{arrayRemoveDuplicates-c2038105.js → arrayRemoveDuplicates-d2061e85.js} +5 -5
- package/dist/assets/cesium/Workers/cesiumWorkerBootstrapper.js +5 -5
- package/dist/assets/cesium/Workers/{combine-ca22a614.js → combine-d9581036.js} +5 -5
- package/dist/assets/cesium/Workers/combineGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createBoxGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createBoxOutlineGeometry.js +9 -9
- package/dist/assets/cesium/Workers/createCircleGeometry.js +13 -13
- package/dist/assets/cesium/Workers/createCircleOutlineGeometry.js +13 -13
- package/dist/assets/cesium/Workers/createCoplanarPolygonGeometry.js +11 -11
- package/dist/assets/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +9 -9
- package/dist/assets/cesium/Workers/createCorridorGeometry.js +14 -14
- package/dist/assets/cesium/Workers/createCorridorOutlineGeometry.js +12 -12
- package/dist/assets/cesium/Workers/createCylinderGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createCylinderOutlineGeometry.js +13 -13
- package/dist/assets/cesium/Workers/createEllipseGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createEllipseOutlineGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createEllipsoidGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createEllipsoidOutlineGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createFrustumGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createFrustumOutlineGeometry.js +8 -8
- package/dist/assets/cesium/Workers/createGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createGroundPolylineGeometry.js +33 -33
- package/dist/assets/cesium/Workers/createPlaneGeometry.js +8 -8
- package/dist/assets/cesium/Workers/createPlaneOutlineGeometry.js +6 -6
- package/dist/assets/cesium/Workers/createPolygonGeometry.js +25 -25
- package/dist/assets/cesium/Workers/createPolygonOutlineGeometry.js +17 -17
- package/dist/assets/cesium/Workers/createPolylineGeometry.js +11 -11
- package/dist/assets/cesium/Workers/createPolylineVolumeGeometry.js +9 -9
- package/dist/assets/cesium/Workers/createPolylineVolumeOutlineGeometry.js +9 -9
- package/dist/assets/cesium/Workers/createRectangleGeometry.js +16 -16
- package/dist/assets/cesium/Workers/createRectangleOutlineGeometry.js +12 -12
- package/dist/assets/cesium/Workers/createSimplePolylineGeometry.js +10 -10
- package/dist/assets/cesium/Workers/createSphereGeometry.js +11 -11
- package/dist/assets/cesium/Workers/createSphereOutlineGeometry.js +12 -12
- package/dist/assets/cesium/Workers/createTaskProcessorWorker.js +2 -2
- package/dist/assets/cesium/Workers/createVectorTileClampedPolylines.js +1 -1
- package/dist/assets/cesium/Workers/createVectorTileGeometries.js +8 -8
- package/dist/assets/cesium/Workers/createVectorTilePoints.js +1 -1
- package/dist/assets/cesium/Workers/createVectorTilePolygons.js +1 -1
- package/dist/assets/cesium/Workers/createVectorTilePolylines.js +1 -1
- package/dist/assets/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +1 -1
- package/dist/assets/cesium/Workers/createVerticesFromHeightmap.js +27 -28
- package/dist/assets/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +33 -38
- package/dist/assets/cesium/Workers/createWallGeometry.js +14 -14
- package/dist/assets/cesium/Workers/createWallOutlineGeometry.js +14 -14
- package/dist/assets/cesium/Workers/decodeDraco.js +10 -2
- package/dist/assets/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +15 -15
- package/dist/assets/cesium/Workers/decodeI3S.js +1 -1
- package/dist/assets/cesium/Workers/{defaultValue-0a909f67.js → defaultValue-fe22d8c0.js} +2 -2
- package/dist/assets/cesium/Workers/package.js +1 -1
- package/dist/assets/cesium/Workers/transcodeKTX2.js +46 -26
- package/dist/assets/cesium/Workers/transferTypedArrayTest.js +1 -1
- package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +24 -24
- package/dist/assets/{cesium.166f91.js → cesium.253914.js} +36578 -33768
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.9342a1.js → core.3a8205.js} +53 -58
- package/dist/assets/core.js +1 -1
- package/dist/assets/{index.fd041928.js → index.91ae2d55.js} +1 -1
- package/dist/assets/{ol.d2cba3.js → ol.1c946a.js} +5550 -5491
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui.0025be.css +5 -0
- package/dist/assets/{ui.c27597.js → ui.0025be.js} +5494 -4759
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +2 -2
- package/dist/assets/{vuetify.2f1432.css → vuetify.6efa21.css} +2 -2
- package/dist/assets/{vuetify.2f1432.js → vuetify.6efa21.js} +1 -1
- package/dist/assets/vuetify.js +2 -2
- package/dist/index.html +27 -7
- package/index.html +26 -6
- package/index.js +65 -15
- package/lib/cesium.js +1 -1
- package/lib/core.js +1 -1
- package/lib/ui.js +1 -1
- package/lib/vue.js +2 -2
- package/lib/vuetify.js +2 -2
- package/package.json +18 -9
- package/plugins/.eslintrc +9 -0
- package/plugins/@vcmap/create-link/fallbackCreateLink.vue +13 -9
- package/plugins/@vcmap/create-link/index.js +15 -6
- package/plugins/@vcmap/project-selector/ModulesListComponent.vue +4 -8
- package/plugins/@vcmap/project-selector/ProjectSelectorComponent.vue +5 -10
- package/plugins/@vcmap/project-selector/README.md +4 -2
- package/plugins/@vcmap/project-selector/config.json +13 -13
- package/plugins/@vcmap/project-selector/de.json +2 -2
- package/plugins/@vcmap/project-selector/en.json +2 -2
- package/plugins/@vcmap/project-selector/index.js +63 -28
- package/plugins/@vcmap/search-nominatim/LICENSE.md +5 -6
- package/plugins/@vcmap/search-nominatim/README.md +2 -1
- package/plugins/@vcmap/search-nominatim/config.json +1 -2
- package/plugins/@vcmap/search-nominatim/index.js +7 -4
- package/plugins/@vcmap/search-nominatim/nominatim.js +7 -2
- package/plugins/@vcmap/search-nominatim/package.json +2 -36
- package/plugins/@vcmap/simple-graph/README.md +29 -9
- package/plugins/@vcmap/simple-graph/SimpleGraphComponent.vue +2 -7
- package/plugins/@vcmap/simple-graph/index.js +1 -1
- package/plugins/@vcmap/simple-graph/simpleGraphView.js +3 -1
- package/plugins/@vcmap/theme-changer/README.md +5 -3
- package/plugins/@vcmap/theme-changer/ThemeChangerComponent.vue +6 -10
- package/plugins/@vcmap/theme-changer/config.json +67 -67
- package/plugins/@vcmap/theme-changer/index.js +11 -5
- package/plugins/@vcmap-show-case/buttons-example/ButtonsExample.vue +76 -11
- package/plugins/@vcmap-show-case/buttons-example/index.js +10 -8
- package/plugins/@vcmap-show-case/category-tester/Categories.vue +143 -116
- package/plugins/@vcmap-show-case/category-tester/Category.vue +46 -26
- package/plugins/@vcmap-show-case/category-tester/index.js +9 -3
- package/plugins/@vcmap-show-case/config-editor/{editor.vue → ConfigEditor.vue} +20 -24
- package/plugins/@vcmap-show-case/config-editor/index.js +13 -11
- package/plugins/@vcmap-show-case/context-menu-tester/index.js +18 -10
- package/plugins/@vcmap-show-case/form-inputs-example/FormInputsExample.vue +89 -118
- package/plugins/@vcmap-show-case/form-inputs-example/config.json +3 -3
- package/plugins/@vcmap-show-case/form-inputs-example/exampleActions.js +14 -4
- package/plugins/@vcmap-show-case/form-inputs-example/index.js +41 -19
- package/plugins/@vcmap-show-case/form-inputs-example/validation.js +2 -1
- package/plugins/@vcmap-show-case/icons-example/README.md +1 -1
- package/plugins/@vcmap-show-case/icons-example/allIconsComponent.vue +10 -10
- package/plugins/@vcmap-show-case/icons-example/index.js +10 -8
- package/plugins/@vcmap-show-case/list-example/ListExample.vue +221 -103
- package/plugins/@vcmap-show-case/list-example/index.js +10 -8
- package/plugins/@vcmap-show-case/notifier-tester/index.js +9 -3
- package/plugins/@vcmap-show-case/notifier-tester/notifierTester.vue +15 -21
- package/plugins/@vcmap-show-case/table-example/DataTableExample.vue +22 -41
- package/plugins/@vcmap-show-case/table-example/index.js +10 -8
- package/plugins/@vcmap-show-case/textfields-example/TextfieldsExample.vue +7 -30
- package/plugins/@vcmap-show-case/textfields-example/index.js +10 -4
- package/plugins/@vcmap-show-case/window-tester/WindowExample.vue +16 -13
- package/plugins/@vcmap-show-case/window-tester/emptyComponent.vue +4 -7
- package/plugins/@vcmap-show-case/window-tester/index.js +26 -20
- package/plugins/@vcmap-show-case/window-tester/myCustomHeader.vue +7 -3
- package/plugins/@vcmap-show-case/window-tester/toolbox-data.js +82 -5
- package/plugins/@vcmap-show-case/window-tester/windowExampleContent.vue +3 -7
- package/plugins/@vcmap-show-case/wizard-example/index.js +9 -3
- package/plugins/@vcmap-show-case/wizard-example/wizardExample.vue +36 -38
- package/src/actions/actionHelper.js +49 -11
- package/src/actions/styleSelector.vue +20 -11
- package/src/application/VcsApp.vue +117 -80
- package/src/application/VcsAttributions.vue +8 -9
- package/src/application/VcsAttributionsFooter.vue +12 -9
- package/src/application/VcsMap.vue +9 -5
- package/src/application/VcsNavbar.vue +44 -27
- package/src/application/VcsSettings.vue +5 -12
- package/src/application/attributionsHelper.js +23 -11
- package/src/application/vcsAppWrapper.vue +1 -3
- package/src/components/buttons/VcsActionButtonList.vue +20 -17
- package/src/components/buttons/VcsButton.vue +19 -23
- package/src/components/buttons/VcsFormButton.vue +176 -0
- package/src/components/form-inputs-controls/VcsCheckbox.vue +6 -7
- package/src/components/form-inputs-controls/VcsDatePicker.vue +50 -19
- package/src/components/form-inputs-controls/VcsFormSection.vue +11 -12
- package/src/components/form-inputs-controls/VcsLabel.vue +9 -10
- package/src/components/form-inputs-controls/VcsRadio.vue +44 -44
- package/src/components/form-inputs-controls/VcsSelect.vue +16 -13
- package/src/components/form-inputs-controls/VcsTextArea.vue +21 -14
- package/src/components/form-inputs-controls/VcsTextField.vue +26 -12
- package/src/components/form-inputs-controls/VcsWizard.vue +78 -78
- package/src/components/form-inputs-controls/VcsWizardStep.vue +20 -20
- package/src/components/form-inputs-controls/composables.js +13 -8
- package/src/components/form-output/VcsFormattedNumber.vue +26 -26
- package/src/components/icons/+all.js +13 -5
- package/src/components/icons/2DAreaIcon.vue +62 -10
- package/src/components/icons/2DDistanceIcon.vue +14 -2
- package/src/components/icons/3DAreaIcon.vue +62 -10
- package/src/components/icons/3DDistanceIcon.vue +14 -2
- package/src/components/icons/3DHeightIcon.vue +14 -2
- package/src/components/icons/AngleIcon.vue +12 -3
- package/src/components/icons/AssociationsIcon.vue +6 -1
- package/src/components/icons/AxisIcon.vue +34 -5
- package/src/components/icons/BoundingBoxIcon.vue +31 -5
- package/src/components/icons/CheckboxCheckedIcon.vue +4 -1
- package/src/components/icons/CheckboxIcon.vue +1 -8
- package/src/components/icons/CheckboxIndeterminateIcon.vue +9 -2
- package/src/components/icons/CircleIcon.vue +24 -4
- package/src/components/icons/ClippingHorizontalIcon.vue +14 -2
- package/src/components/icons/ClippingIcon.vue +13 -2
- package/src/components/icons/ClippingVerticalIcon.vue +14 -2
- package/src/components/icons/ColorPickerIcon.vue +13 -2
- package/src/components/icons/ColorSwatchIcon.vue +7 -1
- package/src/components/icons/CommentIcon.vue +6 -1
- package/src/components/icons/CompassIcon.vue +21 -3
- package/src/components/icons/ComponentsIcon.vue +14 -2
- package/src/components/icons/ConeIcon.vue +26 -4
- package/src/components/icons/DimensionsHouseIcon.vue +7 -1
- package/src/components/icons/EditIcon.vue +13 -2
- package/src/components/icons/ElevationProfileIcon.vue +6 -1
- package/src/components/icons/ExportAreaIcon.vue +13 -2
- package/src/components/icons/ExportFlightIcon.vue +13 -2
- package/src/components/icons/ExportIcon.vue +14 -2
- package/src/components/icons/ExternalLinkIcon.vue +18 -3
- package/src/components/icons/EyeIcon.vue +12 -2
- package/src/components/icons/FastForwardIcon.vue +13 -2
- package/src/components/icons/FilterIcon.vue +13 -2
- package/src/components/icons/GlobalTerrainIcon.vue +12 -2
- package/src/components/icons/GlobeNatureIcon.vue +7 -1
- package/src/components/icons/GroundIcon.vue +12 -2
- package/src/components/icons/HealthCareIndustriesIcon.vue +6 -1
- package/src/components/icons/HelpIcon.vue +12 -2
- package/src/components/icons/HideIcon.vue +17 -3
- package/src/components/icons/HomePointIcon.vue +13 -3
- package/src/components/icons/HospitalsIcon.vue +6 -1
- package/src/components/icons/HouseIcon.vue +20 -3
- package/src/components/icons/ImportIcon.vue +21 -3
- package/src/components/icons/InfoIcon.vue +19 -3
- package/src/components/icons/KebabIcon.vue +12 -2
- package/src/components/icons/LabelIcon.vue +21 -3
- package/src/components/icons/LayersIcon.vue +12 -2
- package/src/components/icons/LegendIcon.vue +13 -3
- package/src/components/icons/LineIcon.vue +20 -3
- package/src/components/icons/LinkIcon.vue +13 -2
- package/src/components/icons/LogoutIcon.vue +13 -2
- package/src/components/icons/MapIcon.vue +14 -2
- package/src/components/icons/MenuIcon.vue +7 -1
- package/src/components/icons/MinusIcon.vue +14 -2
- package/src/components/icons/ObjectAttributeIcon.vue +13 -2
- package/src/components/icons/ObjectSelectIcon.vue +14 -2
- package/src/components/icons/ObliqueViewIcon.vue +11 -2
- package/src/components/icons/PdfIcon.vue +12 -2
- package/src/components/icons/PedestrianIcon.vue +13 -2
- package/src/components/icons/PenIcon.vue +13 -3
- package/src/components/icons/PlayCircleIcon.vue +20 -3
- package/src/components/icons/PlusIcon.vue +14 -3
- package/src/components/icons/PoiIcon.vue +17 -3
- package/src/components/icons/PointSelectIcon.vue +12 -2
- package/src/components/icons/PolygonIcon.vue +7 -1
- package/src/components/icons/PresentationModeIcon.vue +13 -2
- package/src/components/icons/ProgressIcon.vue +8 -6
- package/src/components/icons/QueryIcon.vue +31 -5
- package/src/components/icons/RectangleIcon.vue +24 -4
- package/src/components/icons/ReturnIcon.vue +13 -2
- package/src/components/icons/RewindIcon.vue +13 -2
- package/src/components/icons/RotateLeftIcon.vue +13 -2
- package/src/components/icons/RotateRightIcon.vue +13 -2
- package/src/components/icons/ScreenshotIcon.vue +52 -10
- package/src/components/icons/SearchIcon.vue +13 -3
- package/src/components/icons/ShadowIcon.vue +14 -3
- package/src/components/icons/ShapesIcon.vue +13 -3
- package/src/components/icons/ShareIcon.vue +17 -4
- package/src/components/icons/SimpleCircleFilledIcon.vue +14 -10
- package/src/components/icons/SimpleCircleHalfFilledIcon.vue +6 -1
- package/src/components/icons/SimpleCircleOutlinedIcon.vue +14 -10
- package/src/components/icons/SkipNextIcon.vue +11 -2
- package/src/components/icons/SkipPreviousIcon.vue +17 -3
- package/src/components/icons/SplitViewIcon.vue +6 -1
- package/src/components/icons/TerrainBoxIcon.vue +12 -2
- package/src/components/icons/TextStyleIcon.vue +7 -1
- package/src/components/icons/ThreeDimensionsIcon.vue +13 -2
- package/src/components/icons/ToolsIcon.vue +12 -2
- package/src/components/icons/TouchIcon.vue +13 -2
- package/src/components/icons/TrashCanIcon.vue +13 -2
- package/src/components/icons/TriangleIcon.vue +6 -2
- package/src/components/icons/TwoDimensionsIcon.vue +14 -2
- package/src/components/icons/UploadIcon.vue +13 -2
- package/src/components/icons/UserProfileIcon.vue +13 -2
- package/src/components/icons/UserShareIcon.vue +12 -2
- package/src/components/icons/VideoRecorderIcon.vue +16 -3
- package/src/components/icons/ViewpointFlightIcon.vue +22 -4
- package/src/components/icons/ViewpointIcon.vue +22 -4
- package/src/components/icons/Viewshed360Icon.vue +14 -2
- package/src/components/icons/ViewshedConeIcon.vue +13 -2
- package/src/components/icons/ViewshedIcon.vue +14 -2
- package/src/components/icons/WalkingIcon.vue +13 -2
- package/src/components/icons/WallIcon.vue +19 -3
- package/src/components/icons/WandIcon.vue +129 -21
- package/src/components/imageElementInjector.vue +1 -3
- package/src/components/lists/VcsActionList.vue +21 -18
- package/src/components/lists/VcsList.vue +208 -98
- package/src/components/lists/VcsTreeview.vue +30 -26
- package/src/components/lists/VcsTreeviewLeaf.vue +23 -22
- package/src/components/lists/VcsTreeviewSearchbar.vue +19 -15
- package/src/components/notification/VcsBadge.vue +4 -6
- package/src/components/notification/VcsTooltip.vue +95 -94
- package/src/components/notification/validation.js +1 -1
- package/src/components/tables/VcsDataTable.vue +107 -95
- package/src/components/tables/VcsTable.vue +38 -30
- package/src/contentTree/LayerTree.vue +2 -3
- package/src/contentTree/contentTreeCollection.js +48 -22
- package/src/contentTree/contentTreeItem.js +36 -14
- package/src/contentTree/groupContentTreeItem.js +44 -22
- package/src/contentTree/layerContentTreeItem.js +42 -20
- package/src/contentTree/layerGroupContentTreeItem.js +53 -31
- package/src/contentTree/nodeContentTreeItem.js +18 -7
- package/src/contentTree/obliqueCollectionContentTreeItem.js +45 -20
- package/src/contentTree/subContentTreeItem.js +13 -4
- package/src/contentTree/vcsObjectContentTreeItem.js +24 -15
- package/src/contentTree/viewpointContentTreeItem.js +19 -6
- package/src/downloadHelper.js +4 -1
- package/src/featureInfo/AddressBalloonComponent.vue +11 -16
- package/src/featureInfo/BalloonComponent.vue +35 -26
- package/src/featureInfo/abstractFeatureInfoView.js +29 -13
- package/src/featureInfo/addressBalloonFeatureInfoView.js +19 -7
- package/src/featureInfo/balloonFeatureInfoView.js +22 -9
- package/src/featureInfo/balloonHelper.js +61 -42
- package/src/featureInfo/featureInfo.js +71 -31
- package/src/featureInfo/featureInfoInteraction.js +13 -7
- package/src/featureInfo/iframeFeatureInfoView.js +3 -1
- package/src/featureInfo/tableFeatureInfoView.js +15 -5
- package/src/i18n/i18nCollection.js +183 -155
- package/src/init.js +124 -121
- package/src/legend/legendHelper.js +11 -6
- package/src/legend/styleLegendItem.vue +18 -12
- package/src/legend/vcsLegend.vue +15 -17
- package/src/manager/buttonManager.js +6 -3
- package/src/manager/categoryManager/CategoryComponent.vue +52 -25
- package/src/manager/categoryManager/CategoryComponentList.vue +33 -8
- package/src/manager/categoryManager/CategoryManager.vue +4 -5
- package/src/manager/categoryManager/categoryManager.js +82 -37
- package/src/manager/contextMenu/contextMenuComponent.vue +2 -6
- package/src/manager/contextMenu/contextMenuInteraction.js +6 -1
- package/src/manager/contextMenu/contextMenuManager.js +37 -22
- package/src/manager/navbarManager.js +15 -8
- package/src/manager/toolbox/GroupToolboxComponent.vue +22 -21
- package/src/manager/toolbox/SelectToolboxComponent.vue +36 -35
- package/src/manager/toolbox/ToolboxManager.vue +18 -10
- package/src/manager/toolbox/toolboxManager.js +30 -12
- package/src/manager/window/WindowComponent.vue +18 -21
- package/src/manager/window/WindowComponentHeader.vue +34 -26
- package/src/manager/window/WindowManager.vue +33 -22
- package/src/manager/window/windowHelper.js +79 -23
- package/src/manager/window/windowManager.js +61 -32
- package/src/navigation/mapNavCompass.vue +17 -3
- package/src/navigation/mapNavigation.vue +59 -40
- package/src/navigation/obliqueRotation.vue +6 -8
- package/src/navigation/orientationToolsButton.vue +6 -9
- package/src/navigation/overviewMap.js +72 -41
- package/src/navigation/overviewMapClickedInteraction.js +6 -1
- package/src/navigation/tiltSlider.vue +6 -10
- package/src/navigation/vcsCompass.vue +1 -9
- package/src/navigation/vcsZoomButton.vue +16 -17
- package/src/notifier/notifier.js +22 -13
- package/src/notifier/notifierComponent.vue +21 -21
- package/src/pluginHelper.js +23 -9
- package/src/search/resultItem.vue +10 -15
- package/src/search/resultsComponent.vue +30 -24
- package/src/search/search.js +36 -19
- package/src/search/searchComponent.vue +20 -10
- package/src/setup.js +9 -9
- package/src/state.js +22 -6
- package/src/styles/_typography.scss +0 -1
- package/src/styles/shades.scss +4 -2
- package/src/styles/utils/_border.scss +1 -1
- package/src/styles/utils/_display.scss +1 -1
- package/src/styles/variables.scss +39 -34
- package/src/styles/vcsFont.scss +6 -5
- package/src/styles/vcsGrid.scss +9 -0
- package/src/uiConfig.js +3 -1
- package/src/vcsUiApp.js +156 -59
- package/src/vuePlugins/i18n.js +4 -4
- package/src/vuePlugins/vuetify.js +4 -0
- package/dist/assets/cesium/Workers/PolygonPipeline-844aab0a.js +0 -1345
- package/dist/assets/cesium/Workers/Transforms-40229881.js +0 -14696
- package/dist/assets/ui.c27597.css +0 -5
- /package/dist/assets/cesium/Workers/{GeometryOffsetAttribute-04332ce7.js → GeometryOffsetAttribute-9ad0019c.js} +0 -0
- /package/dist/assets/{vue.5d00e9.js → vue.c1ece7.js} +0 -0
@@ -1,12 +1,9 @@
|
|
1
1
|
<template>
|
2
|
-
<div
|
2
|
+
<div
|
3
|
+
class="pa-2 base lighten-3 position-relative d-flex flex-row justify-space-between align-center rounded-0"
|
4
|
+
>
|
3
5
|
<slot name="prepend">
|
4
|
-
<v-icon
|
5
|
-
class="search-icon my-0 ml-1"
|
6
|
-
v-text="'$vcsSearch'"
|
7
|
-
slot="prepend"
|
8
|
-
size="12"
|
9
|
-
/>
|
6
|
+
<v-icon class="search-icon my-0 ml-1" size="12"> $vcsSearch </v-icon>
|
10
7
|
</slot>
|
11
8
|
|
12
9
|
<slot>
|
@@ -23,7 +20,7 @@
|
|
23
20
|
</slot>
|
24
21
|
|
25
22
|
<slot name="append">
|
26
|
-
<v-icon v-if="hasFilter"
|
23
|
+
<v-icon v-if="hasFilter" class="ml-2" size="16">$vcsFilter</v-icon>
|
27
24
|
</slot>
|
28
25
|
</div>
|
29
26
|
</template>
|
@@ -73,9 +70,11 @@
|
|
73
70
|
min-height: unset;
|
74
71
|
}
|
75
72
|
|
76
|
-
.v-text-field.v-text-field--enclosed:not(.v-text-field--rounded)
|
73
|
+
.v-text-field.v-text-field--enclosed:not(.v-text-field--rounded)
|
74
|
+
> .v-input__control
|
75
|
+
> .v-input__slot,
|
77
76
|
.v-text-field.v-text-field--enclosed .v-text-field__details {
|
78
|
-
padding
|
77
|
+
padding: 0 8px;
|
79
78
|
}
|
80
79
|
|
81
80
|
.v-input.outlined {
|
@@ -89,20 +88,25 @@
|
|
89
88
|
}
|
90
89
|
}
|
91
90
|
|
92
|
-
.v-text-field.v-input--dense:not(
|
93
|
-
|
91
|
+
.v-text-field.v-input--dense:not(
|
92
|
+
.v-text-field--outlined
|
93
|
+
).v-text-field__prefix,
|
94
|
+
.v-text-field.v-input--dense:not(
|
95
|
+
.v-text-field--outlined
|
96
|
+
).v-text-field__suffix,
|
94
97
|
.v-text-field.v-input--dense:not(.v-text-field--outlined) input {
|
95
98
|
padding: 0;
|
96
99
|
}
|
97
100
|
|
98
|
-
.v-text-field.v-text-field--solo:not(.v-text-field--solo-flat)
|
101
|
+
.v-text-field.v-text-field--solo:not(.v-text-field--solo-flat)
|
102
|
+
> .v-input__control
|
103
|
+
> .v-input__slot {
|
99
104
|
box-shadow: none;
|
100
105
|
border-radius: 0;
|
101
106
|
}
|
102
107
|
}
|
103
108
|
</style>
|
104
109
|
|
105
|
-
|
106
110
|
<script>
|
107
111
|
import { VIcon, VTextField } from 'vuetify/lib';
|
108
112
|
|
@@ -124,7 +128,7 @@
|
|
124
128
|
},
|
125
129
|
customClasses: {
|
126
130
|
type: Array,
|
127
|
-
default: () =>
|
131
|
+
default: () => [],
|
128
132
|
},
|
129
133
|
value: {
|
130
134
|
type: String,
|
@@ -3,18 +3,16 @@
|
|
3
3
|
</template>
|
4
4
|
|
5
5
|
<style lang="scss" scoped>
|
6
|
-
@import '../../styles/shades.scss';
|
6
|
+
@import '../../styles/shades.scss';
|
7
7
|
.v-application .theme--light .badge {
|
8
8
|
border: 1px solid map-get($shades, 'white') !important;
|
9
9
|
}
|
10
|
-
.v-application .theme--dark .badge {
|
11
|
-
|
12
|
-
}
|
10
|
+
.v-application .theme--dark .badge {
|
11
|
+
border: 1px solid map-get($shades, 'black') !important;
|
12
|
+
}
|
13
13
|
</style>
|
14
14
|
|
15
|
-
|
16
15
|
<script>
|
17
|
-
|
18
16
|
/**
|
19
17
|
* @description UI component representing a circular indicator.
|
20
18
|
* @vue-prop {string} color - any of the theme colors.
|
@@ -7,7 +7,7 @@
|
|
7
7
|
:left="tooltipPosition === 'left'"
|
8
8
|
:right="tooltipPosition === 'right'"
|
9
9
|
transition="expand-x-transition"
|
10
|
-
v-bind="{...$props, ...$attrs}"
|
10
|
+
v-bind="{ ...$props, ...$attrs }"
|
11
11
|
>
|
12
12
|
<template #activator="{ on, attrs }">
|
13
13
|
<slot name="activator" :on="on" :attrs="attrs" />
|
@@ -16,100 +16,99 @@
|
|
16
16
|
</v-tooltip>
|
17
17
|
</template>
|
18
18
|
<style lang="scss" scoped>
|
19
|
-
//.v-tooltip__content.tooltip {
|
20
|
-
// border: 1px solid black;
|
21
|
-
// border-radius: 0;
|
22
|
-
// background-color: #222222;
|
23
|
-
//
|
24
|
-
//&.arrow-top {
|
25
|
-
// transform: translateY(-6px);
|
26
|
-
//
|
27
|
-
//&::after, &::before {
|
28
|
-
// bottom: 100%;
|
29
|
-
// left: 50%;
|
30
|
-
// border: solid transparent;
|
31
|
-
// content: "";
|
32
|
-
// height: 0;
|
33
|
-
// width: 0;
|
34
|
-
// position: absolute;
|
35
|
-
// pointer-events: none;
|
36
|
-
// }
|
37
|
-
//
|
38
|
-
//&::before {
|
39
|
-
// border-color: rgba(194, 225, 245, 0);
|
40
|
-
// border-bottom-color: black;
|
41
|
-
// border-width: 5px;
|
42
|
-
// margin-left: -5px;
|
43
|
-
// }
|
44
|
-
//}
|
45
|
-
//
|
46
|
-
//&.arrow-bottom {
|
47
|
-
// transform: translateY(6px);
|
48
|
-
//
|
49
|
-
//&::after, &::before {
|
50
|
-
// top: 100%;
|
51
|
-
// left: 50%;
|
52
|
-
// border: solid transparent;
|
53
|
-
// content: "";
|
54
|
-
// height: 0;
|
55
|
-
// width: 0;
|
56
|
-
// position: absolute;
|
57
|
-
// pointer-events: none;
|
58
|
-
// }
|
59
|
-
//
|
60
|
-
//&::before {
|
61
|
-
// border-color: rgba(194, 225, 245, 0);
|
62
|
-
// border-top-color: black;
|
63
|
-
// border-width: 5px;
|
64
|
-
// margin-left: -5px;
|
65
|
-
// }
|
66
|
-
//}
|
67
|
-
//
|
68
|
-
//&.arrow-right {
|
69
|
-
//&::after, &::before {
|
70
|
-
// top: 50%;
|
71
|
-
// right: -11px;
|
72
|
-
// transform: translateY(-50%);
|
73
|
-
// border: solid transparent;
|
74
|
-
// content: "";
|
75
|
-
// height: 0;
|
76
|
-
// width: 0;
|
77
|
-
// position: absolute;
|
78
|
-
// pointer-events: none;
|
79
|
-
// }
|
80
|
-
//
|
81
|
-
//&::before {
|
82
|
-
// border-color: rgba(255, 0, 0, 0);
|
83
|
-
// border-left-color: black;
|
84
|
-
// border-width: 5px;
|
85
|
-
// margin-left: -5px;
|
86
|
-
// }
|
87
|
-
//}
|
88
|
-
//
|
89
|
-
//&.arrow-left {
|
90
|
-
//
|
91
|
-
//&::after, &::before {
|
92
|
-
// top: 50%;
|
93
|
-
// left: -11px;
|
94
|
-
// transform: translateY(-50%);
|
95
|
-
// border: solid transparent;
|
96
|
-
// content: "";
|
97
|
-
// height: 0;
|
98
|
-
// width: 0;
|
99
|
-
// position: absolute;
|
100
|
-
// pointer-events: none;
|
101
|
-
// }
|
102
|
-
//
|
103
|
-
//&::before {
|
104
|
-
// border-color: rgba(194, 225, 245, 0);
|
105
|
-
// border-right-color: black;
|
106
|
-
// border-width: 5px;
|
107
|
-
// }
|
108
|
-
//}
|
109
|
-
//}
|
19
|
+
//.v-tooltip__content.tooltip {
|
20
|
+
// border: 1px solid black;
|
21
|
+
// border-radius: 0;
|
22
|
+
// background-color: #222222;
|
23
|
+
//
|
24
|
+
//&.arrow-top {
|
25
|
+
// transform: translateY(-6px);
|
26
|
+
//
|
27
|
+
//&::after, &::before {
|
28
|
+
// bottom: 100%;
|
29
|
+
// left: 50%;
|
30
|
+
// border: solid transparent;
|
31
|
+
// content: "";
|
32
|
+
// height: 0;
|
33
|
+
// width: 0;
|
34
|
+
// position: absolute;
|
35
|
+
// pointer-events: none;
|
36
|
+
// }
|
37
|
+
//
|
38
|
+
//&::before {
|
39
|
+
// border-color: rgba(194, 225, 245, 0);
|
40
|
+
// border-bottom-color: black;
|
41
|
+
// border-width: 5px;
|
42
|
+
// margin-left: -5px;
|
43
|
+
// }
|
44
|
+
//}
|
45
|
+
//
|
46
|
+
//&.arrow-bottom {
|
47
|
+
// transform: translateY(6px);
|
48
|
+
//
|
49
|
+
//&::after, &::before {
|
50
|
+
// top: 100%;
|
51
|
+
// left: 50%;
|
52
|
+
// border: solid transparent;
|
53
|
+
// content: "";
|
54
|
+
// height: 0;
|
55
|
+
// width: 0;
|
56
|
+
// position: absolute;
|
57
|
+
// pointer-events: none;
|
58
|
+
// }
|
59
|
+
//
|
60
|
+
//&::before {
|
61
|
+
// border-color: rgba(194, 225, 245, 0);
|
62
|
+
// border-top-color: black;
|
63
|
+
// border-width: 5px;
|
64
|
+
// margin-left: -5px;
|
65
|
+
// }
|
66
|
+
//}
|
67
|
+
//
|
68
|
+
//&.arrow-right {
|
69
|
+
//&::after, &::before {
|
70
|
+
// top: 50%;
|
71
|
+
// right: -11px;
|
72
|
+
// transform: translateY(-50%);
|
73
|
+
// border: solid transparent;
|
74
|
+
// content: "";
|
75
|
+
// height: 0;
|
76
|
+
// width: 0;
|
77
|
+
// position: absolute;
|
78
|
+
// pointer-events: none;
|
79
|
+
// }
|
80
|
+
//
|
81
|
+
//&::before {
|
82
|
+
// border-color: rgba(255, 0, 0, 0);
|
83
|
+
// border-left-color: black;
|
84
|
+
// border-width: 5px;
|
85
|
+
// margin-left: -5px;
|
86
|
+
// }
|
87
|
+
//}
|
88
|
+
//
|
89
|
+
//&.arrow-left {
|
90
|
+
//
|
91
|
+
//&::after, &::before {
|
92
|
+
// top: 50%;
|
93
|
+
// left: -11px;
|
94
|
+
// transform: translateY(-50%);
|
95
|
+
// border: solid transparent;
|
96
|
+
// content: "";
|
97
|
+
// height: 0;
|
98
|
+
// width: 0;
|
99
|
+
// position: absolute;
|
100
|
+
// pointer-events: none;
|
101
|
+
// }
|
102
|
+
//
|
103
|
+
//&::before {
|
104
|
+
// border-color: rgba(194, 225, 245, 0);
|
105
|
+
// border-right-color: black;
|
106
|
+
// border-width: 5px;
|
107
|
+
// }
|
108
|
+
//}
|
109
|
+
//}
|
110
110
|
</style>
|
111
111
|
<script>
|
112
|
-
|
113
112
|
import { VTooltip } from 'vuetify/lib';
|
114
113
|
|
115
114
|
/**
|
@@ -147,7 +146,9 @@
|
|
147
146
|
tooltipPosition: {
|
148
147
|
type: String,
|
149
148
|
default: 'bottom',
|
150
|
-
validator(value) {
|
149
|
+
validator(value) {
|
150
|
+
return Object.keys(TooltipPositions).includes(value);
|
151
|
+
},
|
151
152
|
},
|
152
153
|
},
|
153
154
|
computed: {
|
@@ -14,14 +14,20 @@
|
|
14
14
|
:page.sync="page"
|
15
15
|
:search="search"
|
16
16
|
:custom-filter="handleFilter"
|
17
|
-
:no-data-text="
|
18
|
-
|
17
|
+
:no-data-text="
|
18
|
+
$attrs.noDataText ?? $t('components.vcsDataTable.noDataPlaceholder')
|
19
|
+
"
|
20
|
+
:no-results-text="
|
21
|
+
$attrs.noResultsText ??
|
22
|
+
$t('components.vcsDataTable.noResultsPlaceholder')
|
23
|
+
"
|
19
24
|
:single-select="singleSelect"
|
20
25
|
hide-default-footer
|
21
26
|
v-bind="$attrs"
|
22
27
|
v-on="$listeners"
|
23
28
|
class="vcs-table rounded-0"
|
24
29
|
>
|
30
|
+
<!-- eslint-disable-next-line -->
|
25
31
|
<template v-for="(_, slot) of $scopedSlots" #[slot]="scope">
|
26
32
|
<slot :name="slot" v-bind="scope" />
|
27
33
|
</template>
|
@@ -33,49 +39,40 @@
|
|
33
39
|
@click="on.input(false)"
|
34
40
|
class="vcs-select-icon"
|
35
41
|
>
|
36
|
-
mdi-check-circle
|
42
|
+
mdi-check-circle
|
37
43
|
</v-icon>
|
38
44
|
<v-icon
|
39
45
|
v-else-if="props.indeterminate"
|
40
46
|
@click="on.input(true)"
|
41
47
|
class="vcs-select-icon"
|
42
48
|
>
|
43
|
-
mdi-minus-circle
|
49
|
+
mdi-minus-circle
|
44
50
|
</v-icon>
|
45
|
-
<v-icon
|
46
|
-
v-else
|
47
|
-
@click="on.input(true)"
|
48
|
-
class="vcs-select-icon"
|
49
|
-
>
|
51
|
+
<v-icon v-else @click="on.input(true)" class="vcs-select-icon">
|
50
52
|
mdi-circle-outline
|
51
53
|
</v-icon>
|
52
54
|
</div>
|
53
55
|
</template>
|
54
56
|
<!-- eslint-disable-next-line -->
|
55
57
|
<template v-slot:item.data-table-select="{ isSelected, select, index }">
|
56
|
-
<div
|
57
|
-
@mouseover="hovering = index"
|
58
|
-
@mouseout="hovering = null"
|
59
|
-
>
|
58
|
+
<div @mouseover="hovering = index" @mouseout="hovering = null">
|
60
59
|
<v-icon
|
61
60
|
v-if="isSelected"
|
62
61
|
@click="select(!isSelected)"
|
63
62
|
class="vcs-select-icon"
|
64
63
|
>
|
65
|
-
mdi-check-circle
|
64
|
+
mdi-check-circle
|
66
65
|
</v-icon>
|
67
66
|
<v-icon
|
68
|
-
v-else-if="
|
67
|
+
v-else-if="
|
68
|
+
hovering === index || (!singleSelect && value.length > 0)
|
69
|
+
"
|
69
70
|
@click="select(!isSelected)"
|
70
71
|
class="vcs-select-icon"
|
71
72
|
>
|
72
73
|
mdi-circle-outline
|
73
74
|
</v-icon>
|
74
|
-
<v-icon
|
75
|
-
v-else
|
76
|
-
@click="select(!isSelected)"
|
77
|
-
class="vcs-select-icon"
|
78
|
-
>
|
75
|
+
<v-icon v-else @click="select(!isSelected)" class="vcs-select-icon">
|
79
76
|
mdi-circle-small
|
80
77
|
</v-icon>
|
81
78
|
</div>
|
@@ -83,19 +80,10 @@
|
|
83
80
|
<template #footer v-if="items.length > itemsPerPageRef">
|
84
81
|
<v-divider />
|
85
82
|
<v-container class="pa-2 vcs-pagination-bar">
|
86
|
-
<v-row
|
87
|
-
dense
|
88
|
-
no-gutters
|
89
|
-
justify="center"
|
90
|
-
>
|
83
|
+
<v-row dense no-gutters justify="center" class="align-center">
|
91
84
|
<v-menu offset-y dense>
|
92
85
|
<template #activator="{ on, attrs }">
|
93
|
-
<VcsButton
|
94
|
-
small
|
95
|
-
color="primary"
|
96
|
-
v-bind="attrs"
|
97
|
-
v-on="on"
|
98
|
-
>
|
86
|
+
<VcsButton small color="primary" v-bind="attrs" v-on="on">
|
99
87
|
{{ itemsPerPageRef }}
|
100
88
|
<v-icon>mdi-chevron-down</v-icon>
|
101
89
|
</VcsButton>
|
@@ -105,15 +93,18 @@
|
|
105
93
|
v-for="(number, index) in itemsPerPageArray"
|
106
94
|
:key="index"
|
107
95
|
@click="updateItemsPerPage(number)"
|
108
|
-
style="min-height: auto; height: 24px; text-align: right
|
96
|
+
style="min-height: auto; height: 24px; text-align: right"
|
109
97
|
>
|
110
98
|
<v-list-item-title>{{ number }}</v-list-item-title>
|
111
99
|
</v-list-item>
|
112
100
|
</v-list>
|
113
101
|
</v-menu>
|
114
|
-
<span class="mx-2">{{
|
102
|
+
<span class="mx-2">{{
|
103
|
+
$t('components.vcsDataTable.itemsPerPage')
|
104
|
+
}}</span>
|
115
105
|
<span class="mx-2">
|
116
|
-
{{ itemsFrom }} - {{ itemsTo }}
|
106
|
+
{{ itemsFrom }} - {{ itemsTo }}
|
107
|
+
{{ $t('components.vcsDataTable.ofItems') }} {{ numberOfItems }}
|
117
108
|
</span>
|
118
109
|
<VcsButton
|
119
110
|
small
|
@@ -243,7 +234,10 @@
|
|
243
234
|
return Object.values(item).some((i) => {
|
244
235
|
const content = i.toString();
|
245
236
|
const translated = vm.$t(content);
|
246
|
-
return
|
237
|
+
return (
|
238
|
+
translated.toLowerCase().includes(q) ||
|
239
|
+
content.toLowerCase().includes(q)
|
240
|
+
);
|
247
241
|
});
|
248
242
|
}
|
249
243
|
return true;
|
@@ -252,8 +246,11 @@
|
|
252
246
|
/**
|
253
247
|
* @type {ComputedRef<Array<Object>>}
|
254
248
|
*/
|
255
|
-
const filteredItems = computed(() =>
|
256
|
-
.filter(item =>
|
249
|
+
const filteredItems = computed(() =>
|
250
|
+
props.items.filter((item) =>
|
251
|
+
handleFilter(item.value, search.value, item),
|
252
|
+
),
|
253
|
+
);
|
257
254
|
const numberOfItems = computed(() => filteredItems.value.length);
|
258
255
|
const totalNumber = computed(() => props.items.length);
|
259
256
|
|
@@ -278,7 +275,9 @@
|
|
278
275
|
* @type {Ref<UnwrapRef<number>>}
|
279
276
|
*/
|
280
277
|
const page = ref(1);
|
281
|
-
const itemsFrom = computed(
|
278
|
+
const itemsFrom = computed(
|
279
|
+
() => (page.value - 1) * itemsPerPageRef.value + 1,
|
280
|
+
);
|
282
281
|
const itemsTo = computed(() => {
|
283
282
|
const last = page.value * itemsPerPageRef.value;
|
284
283
|
return last < numberOfItems.value ? last : numberOfItems.value;
|
@@ -316,71 +315,84 @@
|
|
316
315
|
</script>
|
317
316
|
|
318
317
|
<style lang="scss" scoped>
|
319
|
-
@import '../../styles/shades.scss';
|
318
|
+
@import '../../styles/shades.scss';
|
319
|
+
@import '../../styles/variables.scss';
|
320
320
|
|
321
|
-
.vcs-select-icon {
|
322
|
-
|
323
|
-
|
324
|
-
.v-icon__component {
|
325
|
-
width: 16px;
|
326
|
-
height: 16px;
|
327
|
-
}
|
328
|
-
}
|
329
|
-
}
|
321
|
+
.vcs-select-icon {
|
322
|
+
&.v-icon {
|
323
|
+
font-size: $input-icon-font-size;
|
330
324
|
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
&:hover {
|
335
|
-
background-color: transparent !important;
|
336
|
-
}
|
337
|
-
&:nth-child(odd) {
|
338
|
-
background-color: var(--v-base-lighten4) !important;
|
325
|
+
.v-icon__component {
|
326
|
+
width: $input-icon-width;
|
327
|
+
height: $input-icon-height;
|
339
328
|
}
|
340
329
|
}
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
330
|
+
}
|
331
|
+
::v-deep {
|
332
|
+
.vcs-table {
|
333
|
+
tbody tr {
|
334
|
+
&:hover {
|
335
|
+
background-color: transparent !important;
|
336
|
+
}
|
337
|
+
|
338
|
+
&:nth-child(odd) {
|
339
|
+
background-color: var(--v-base-lighten4) !important;
|
340
|
+
}
|
341
|
+
|
342
|
+
td {
|
343
|
+
padding: 0 8px !important;
|
344
|
+
|
345
|
+
&.v-data-table__mobile-row {
|
346
|
+
justify-content: left;
|
347
|
+
height: 27px;
|
348
|
+
min-height: auto;
|
349
|
+
}
|
350
|
+
}
|
361
351
|
}
|
362
352
|
}
|
363
|
-
|
364
|
-
|
365
|
-
|
353
|
+
|
354
|
+
th {
|
355
|
+
padding: 0 8px !important;
|
356
|
+
|
357
|
+
&.sortable {
|
358
|
+
overflow: hidden;
|
359
|
+
white-space: nowrap;
|
360
|
+
|
361
|
+
span {
|
362
|
+
vertical-align: middle;
|
363
|
+
padding: 0 4px 0 0;
|
364
|
+
|
365
|
+
&.theme--light {
|
366
|
+
thead tr th {
|
367
|
+
color: map-get($shades, 'black') !important;
|
368
|
+
}
|
369
|
+
}
|
370
|
+
|
371
|
+
&.theme--dark {
|
372
|
+
thead tr th {
|
373
|
+
color: map-get($shades, 'white') !important;
|
374
|
+
}
|
375
|
+
}
|
376
|
+
}
|
377
|
+
|
378
|
+
.v-btn.vcs-button--small {
|
379
|
+
height: 100% !important;
|
380
|
+
display: block;
|
381
|
+
}
|
366
382
|
}
|
367
|
-
}
|
368
|
-
}
|
369
|
-
.v-btn.vcs-button--small {
|
370
|
-
height: 100% !important;
|
371
|
-
display: block;
|
372
|
-
}
|
373
|
-
}
|
374
383
|
|
375
|
-
.vcs-pagination-bar {
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
384
|
+
.vcs-pagination-bar {
|
385
|
+
.vcs-button-wrap {
|
386
|
+
height: 25px;
|
387
|
+
border: 1px solid;
|
388
|
+
padding: 0 4px;
|
389
|
+
border-radius: 4px;
|
390
|
+
|
391
|
+
&:hover {
|
392
|
+
border: 1px solid var(--v-primary-base);
|
393
|
+
}
|
394
|
+
}
|
395
|
+
}
|
383
396
|
}
|
384
397
|
}
|
385
|
-
}
|
386
398
|
</style>
|