@vcmap/ui 6.0.0-rc.5 → 6.0.0-rc.7
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/buildTypes.js +9 -5
- package/config/base.config.json +8 -8
- package/config/dev.config.json +4 -0
- package/config/projects.config.json +2 -1
- package/config/theming.config.json +68 -0
- package/config/www.config.json +31 -30
- package/dist/assets/cesium/Workers/{chunk-LUYI3XCB.js → chunk-2LOWCAMW.js} +13 -13
- package/dist/assets/cesium/Workers/{chunk-V7WJDCPA.js → chunk-2PTKXHJB.js} +10 -10
- package/dist/assets/cesium/Workers/{chunk-YFVI4SQI.js → chunk-3HQMMUPU.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-XGI4FRXF.js → chunk-3IFRSGEY.js} +9 -9
- package/dist/assets/cesium/Workers/{chunk-4RJH3H6D.js → chunk-44QAAS4P.js} +7 -7
- package/dist/assets/cesium/Workers/{chunk-4EW3HFFI.js → chunk-56EDBCGT.js} +10 -10
- package/dist/assets/cesium/Workers/{chunk-PRKEY4QK.js → chunk-57H6I3SV.js} +5 -5
- package/dist/assets/cesium/Workers/{chunk-X67EJ6X6.js → chunk-6SQMLVGV.js} +54 -7
- package/dist/assets/cesium/Workers/{chunk-RRLGJV3Q.js → chunk-7YIOHQWH.js} +13 -13
- package/dist/assets/cesium/Workers/{chunk-G6346EDR.js → chunk-7ZZ5LMZY.js} +16 -15
- package/dist/assets/cesium/Workers/{chunk-YFYPR4MW.js → chunk-BVKITG4N.js} +7 -7
- package/dist/assets/cesium/Workers/{chunk-N5MIFVXJ.js → chunk-C3EQ27WF.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-TLGODPEV.js → chunk-C4WPMOKT.js} +6 -5
- package/dist/assets/cesium/Workers/{chunk-DTACCQDR.js → chunk-EDLRS3AW.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-EVU2UNBD.js → chunk-EJVGYGLF.js} +7 -7
- package/dist/assets/cesium/Workers/{chunk-FYYT5EVH.js → chunk-FFLMY4TE.js} +5 -5
- package/dist/assets/cesium/Workers/{chunk-5OUTANXX.js → chunk-GBT7MJ6X.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-3DRPXHZ4.js → chunk-HJMNR3GC.js} +11 -11
- package/dist/assets/cesium/Workers/{chunk-IALQGTA2.js → chunk-HP5XLODI.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-DR7LK6PG.js → chunk-IBRIWOCM.js} +13 -13
- package/dist/assets/cesium/Workers/{chunk-WMVCLETM.js → chunk-IZGUQO6Q.js} +13 -13
- package/dist/assets/cesium/Workers/{chunk-T6TZXGG5.js → chunk-IZJ42N4W.js} +17 -17
- package/dist/assets/cesium/Workers/{chunk-FZDKIUDT.js → chunk-JBSKHTNX.js} +4 -4
- package/dist/assets/cesium/Workers/{chunk-S4VTLNAJ.js → chunk-JISPSEF3.js} +4 -4
- package/dist/assets/cesium/Workers/{chunk-KNMGSIIN.js → chunk-JSQJDZI4.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-LMTN7R7M.js → chunk-JXVLNVXC.js} +7 -7
- package/dist/assets/cesium/Workers/{chunk-A5C2A5O5.js → chunk-KHZNBFOH.js} +7 -7
- package/dist/assets/cesium/Workers/{chunk-PIOKSAZH.js → chunk-L5GODJAR.js} +14 -14
- package/dist/assets/cesium/Workers/{chunk-Q7PM4W34.js → chunk-LJ2JQHJT.js} +12 -7
- package/dist/assets/cesium/Workers/{chunk-D6PDWQXW.js → chunk-LLAF3CPH.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-H7PSTL64.js → chunk-M24KHENR.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-I67V66MN.js → chunk-NDDI2LWR.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-FSXNF76Y.js → chunk-NGZJIN5Z.js} +4 -4
- package/dist/assets/cesium/Workers/{chunk-UMX265HW.js → chunk-O72GZTSE.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-WOA6WSHH.js → chunk-OPP2SKMA.js} +12 -12
- package/dist/assets/cesium/Workers/{chunk-VD6G7UPU.js → chunk-P6TRGU3S.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-QLC66ZRL.js → chunk-QN6TBED4.js} +11 -11
- package/dist/assets/cesium/Workers/{chunk-O7OUBDMZ.js → chunk-QQOZO7KO.js} +7 -7
- package/dist/assets/cesium/Workers/{chunk-AGTH5JMJ.js → chunk-RJM36CNY.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-UC566ISB.js → chunk-RTJKHZWU.js} +6 -6
- package/dist/assets/cesium/Workers/{chunk-L4XQPD6P.js → chunk-TI3TRKIC.js} +423 -448
- package/dist/assets/cesium/Workers/{chunk-3GI7DWF7.js → chunk-TK5IIG2F.js} +4 -4
- package/dist/assets/cesium/Workers/{chunk-6DH5PLFD.js → chunk-U5HSOKPQ.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-BPY4HDAK.js → chunk-WGDFYAGC.js} +4 -4
- package/dist/assets/cesium/Workers/{chunk-SJC5PRDX.js → chunk-X7IQYYHF.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-4OX4RYLB.js → chunk-XIUSRWL6.js} +9 -5
- package/dist/assets/cesium/Workers/{chunk-S2UEXF6T.js → chunk-XWOUPGUF.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-F7IEM66T.js → chunk-YCDZX5LS.js} +1 -1
- package/dist/assets/cesium/Workers/{chunk-AVFIYUKX.js → chunk-YK3QIKY7.js} +9 -9
- package/dist/assets/cesium/Workers/{chunk-BAJAVGUF.js → chunk-YSIJTJ7N.js} +5 -5
- package/dist/assets/cesium/Workers/{chunk-6DXIYFX3.js → chunk-Z2QP3CXW.js} +2 -2
- package/dist/assets/cesium/Workers/{chunk-P24I5VUS.js → chunk-ZVUUPJEM.js} +17 -17
- package/dist/assets/cesium/Workers/combineGeometry.js +22 -22
- package/dist/assets/cesium/Workers/createBoxGeometry.js +16 -16
- package/dist/assets/cesium/Workers/createBoxOutlineGeometry.js +14 -14
- package/dist/assets/cesium/Workers/createCircleGeometry.js +24 -24
- package/dist/assets/cesium/Workers/createCircleOutlineGeometry.js +17 -17
- package/dist/assets/cesium/Workers/createCoplanarPolygonGeometry.js +31 -31
- package/dist/assets/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +29 -29
- package/dist/assets/cesium/Workers/createCorridorGeometry.js +27 -27
- package/dist/assets/cesium/Workers/createCorridorOutlineGeometry.js +26 -26
- package/dist/assets/cesium/Workers/createCylinderGeometry.js +18 -18
- package/dist/assets/cesium/Workers/createCylinderOutlineGeometry.js +16 -16
- package/dist/assets/cesium/Workers/createEllipseGeometry.js +24 -24
- package/dist/assets/cesium/Workers/createEllipseOutlineGeometry.js +17 -17
- package/dist/assets/cesium/Workers/createEllipsoidGeometry.js +17 -17
- package/dist/assets/cesium/Workers/createEllipsoidOutlineGeometry.js +16 -16
- package/dist/assets/cesium/Workers/createFrustumGeometry.js +16 -16
- package/dist/assets/cesium/Workers/createFrustumOutlineGeometry.js +16 -16
- package/dist/assets/cesium/Workers/createGeometry.js +22 -22
- package/dist/assets/cesium/Workers/createGroundPolylineGeometry.js +20 -20
- package/dist/assets/cesium/Workers/createPlaneGeometry.js +14 -14
- package/dist/assets/cesium/Workers/createPlaneOutlineGeometry.js +13 -13
- package/dist/assets/cesium/Workers/createPolygonGeometry.js +30 -30
- package/dist/assets/cesium/Workers/createPolygonOutlineGeometry.js +28 -28
- package/dist/assets/cesium/Workers/createPolylineGeometry.js +23 -23
- package/dist/assets/cesium/Workers/createPolylineVolumeGeometry.js +29 -29
- package/dist/assets/cesium/Workers/createPolylineVolumeOutlineGeometry.js +25 -25
- package/dist/assets/cesium/Workers/createRectangleGeometry.js +25 -25
- package/dist/assets/cesium/Workers/createRectangleOutlineGeometry.js +18 -18
- package/dist/assets/cesium/Workers/createSimplePolylineGeometry.js +21 -21
- package/dist/assets/cesium/Workers/createSphereGeometry.js +17 -17
- package/dist/assets/cesium/Workers/createSphereOutlineGeometry.js +16 -16
- package/dist/assets/cesium/Workers/createTaskProcessorWorker.js +3 -3
- package/dist/assets/cesium/Workers/createVectorTileClampedPolylines.js +13 -13
- package/dist/assets/cesium/Workers/createVectorTileGeometries.js +22 -22
- package/dist/assets/cesium/Workers/createVectorTilePoints.js +12 -12
- package/dist/assets/cesium/Workers/createVectorTilePolygons.js +20 -20
- package/dist/assets/cesium/Workers/createVectorTilePolylines.js +13 -13
- package/dist/assets/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +20 -20
- package/dist/assets/cesium/Workers/createVerticesFromHeightmap.js +24 -20
- package/dist/assets/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +17 -17
- package/dist/assets/cesium/Workers/createWallGeometry.js +22 -22
- package/dist/assets/cesium/Workers/createWallOutlineGeometry.js +21 -21
- package/dist/assets/cesium/Workers/decodeDraco.js +11 -11
- package/dist/assets/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +28 -5
- package/dist/assets/cesium/Workers/decodeI3S.js +10 -10
- package/dist/assets/cesium/Workers/transcodeKTX2.js +19 -18
- package/dist/assets/cesium/Workers/transferTypedArrayTest.js +1 -1
- package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +20 -20
- package/dist/assets/{cesium-126f111a.js → cesium-2afc3568.js} +136600 -136700
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core-1c8b8674.js → core-3fd82bc2.js} +8384 -7554
- package/dist/assets/core.js +1 -1
- package/dist/assets/{ol-27f9b3f3.js → ol-edf7bfb3.js} +2246 -2248
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui-c6eb55a5.css +1 -0
- package/dist/assets/{ui-7214428e.js → ui-c6eb55a5.js} +8687 -8464
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +1 -1
- package/dist/assets/{vuetify-88a2fabe.css → vuetify-c3b6c9b3.css} +1 -1
- package/dist/assets/{vuetify-88a2fabe.js → vuetify-c3b6c9b3.js} +2375 -2369
- package/dist/assets/vuetify.js +1 -1
- package/index.d.ts +22 -10
- package/index.js +9 -3
- package/package.json +4 -4
- 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/form-inputs-example/src/FormInputsExample.vue +2 -2
- package/plugins/@vcmap-show-case/plugin-editors/src/PluginEditors.vue +11 -7
- package/plugins/@vcmap-show-case/project-selector/src/ModulesListComponent.vue +1 -1
- 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/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 +61 -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/package.json +5 -1
- package/src/actions/StyleSelector.vue +35 -19
- package/src/actions/StyleSelector.vue.d.ts +5 -5
- package/src/actions/actionHelper.d.ts +4 -11
- package/src/actions/actionHelper.js +2 -5
- package/src/actions/listActions.d.ts +2 -2
- package/src/application/VcsApp.vue +20 -26
- package/src/application/VcsApp.vue.d.ts +5 -1
- package/src/application/VcsAttributionsFooter.vue +20 -11
- package/src/application/VcsAttributionsFooter.vue.d.ts +1 -1
- package/src/application/VcsContainer.vue +2 -2
- package/src/application/VcsContainer.vue.d.ts +5 -1
- package/src/application/VcsNavbar.vue +9 -1
- package/src/application/VcsNavbar.vue.d.ts +1 -0
- package/src/application/VcsSplashScreen.vue +11 -2
- package/src/application/VcsTextPageFooter.vue +4 -4
- package/src/application/attributionsHelper.d.ts +20 -22
- package/src/application/attributionsHelper.js +4 -4
- package/src/callback/vcsCallback.d.ts +2 -2
- package/src/callback/vcsCallback.js +1 -1
- package/src/components/buttons/VcsActionButtonList.vue +2 -3
- package/src/components/buttons/VcsButton.vue +2 -4
- package/src/components/buttons/VcsButton.vue.d.ts +1 -1
- package/src/components/buttons/VcsFormButton.vue +4 -4
- package/src/components/buttons/VcsToolButton.vue +4 -2
- package/src/components/buttons/VcsToolButton.vue.d.ts +2 -2
- package/src/components/composables.d.ts +5 -0
- package/src/components/composables.js +79 -9
- package/src/components/extent/VcsExtent.vue +10 -6
- package/src/components/extent/VcsExtent.vue.d.ts +1 -0
- package/src/components/flight/VcsFlightComponent.vue +13 -13
- package/src/components/flight/VcsFlightComponent.vue.d.ts +1 -0
- package/src/components/form-inputs-controls/VcsCheckbox.vue +8 -3
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue +3 -8
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue.d.ts +0 -1
- package/src/components/form-inputs-controls/VcsCoordinate.vue +1 -2
- package/src/components/form-inputs-controls/VcsFileInput.vue +1 -1
- package/src/components/form-inputs-controls/VcsLabel.vue +32 -9
- package/src/components/form-inputs-controls/VcsLabel.vue.d.ts +2 -0
- package/src/components/form-inputs-controls/VcsRadio.vue +8 -6
- package/src/components/form-inputs-controls/VcsRadio.vue.d.ts +1 -0
- package/src/components/form-inputs-controls/VcsSelect.vue +2 -2
- package/src/components/form-inputs-controls/VcsSelect.vue.d.ts +2 -2
- package/src/components/form-inputs-controls/VcsSlider.vue +5 -5
- package/src/components/form-inputs-controls/VcsTextArea.vue +1 -1
- package/src/components/form-inputs-controls/VcsTextField.vue +10 -1
- package/src/components/form-inputs-controls/VcsTextField.vue.d.ts +2 -1
- package/src/components/form-inputs-controls/VcsWizard.vue +3 -3
- package/src/components/form-inputs-controls/VcsWizardStep.vue +5 -1
- package/src/components/form-inputs-controls/vcsTextField.scss +7 -1
- package/src/components/form-output/VcsFormattedNumber.vue +1 -1
- package/src/components/import/VcsImportComponent.vue +7 -4
- package/src/components/import/VcsImportComponent.vue.d.ts +1 -1
- package/src/components/lists/VcsActionList.vue +2 -6
- package/src/components/lists/VcsListItemComponent.vue +20 -10
- package/src/components/lists/VcsListItemComponent.vue.d.ts +11 -1
- package/src/components/lists/VcsTreeview.vue +75 -11
- package/src/components/lists/VcsTreeview.vue.d.ts +12 -0
- package/src/components/lists/VcsTreeviewSearchbar.vue +14 -3
- package/src/components/lists/VcsTreeviewSearchbar.vue.d.ts +3 -1
- package/src/components/lists/VcsTreeviewTitle.vue +40 -0
- package/src/components/modelHelper.d.ts +10 -8
- package/src/components/modelHelper.js +8 -6
- package/src/components/notification/VcsHelp.vue +6 -7
- package/src/components/notification/VcsHelp.vue.d.ts +0 -9
- package/src/components/plugins/AbstractConfigEditor.vue +1 -22
- package/src/components/plugins/AbstractConfigEditor.vue.d.ts +6 -29
- package/src/components/section/VcsExpansionPanel.vue +9 -3
- package/src/components/section/VcsExpansionPanel.vue.d.ts +2 -2
- package/src/components/section/VcsFormSection.vue +6 -6
- package/src/components/section/VcsFormSection.vue.d.ts +2 -2
- package/src/components/style/VcsImageSelector.vue +14 -6
- package/src/components/style/VcsImageSelector.vue.d.ts +1 -0
- package/src/components/style/VcsStrokeSelector.vue +5 -2
- package/src/components/style/VcsStrokeSelector.vue.d.ts +1 -0
- package/src/components/style/VcsTextMenu.vue +2 -2
- package/src/components/tables/VcsDataTable.vue +14 -10
- package/src/components/tables/VcsDataTable.vue.d.ts +1 -0
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue +17 -34
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue.d.ts +5 -3
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +78 -43
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue.d.ts +4 -2
- package/src/components/viewpoint/VcsViewpointComponent.vue +12 -9
- package/src/components/viewpoint/VcsViewpointComponent.vue.d.ts +1 -0
- package/src/contentTree/contentTreeItem.d.ts +2 -2
- package/src/contentTree/contentTreeItem.js +1 -1
- 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/featureInfo/BalloonComponent.vue +21 -13
- package/src/featureInfo/BalloonComponent.vue.d.ts +1 -0
- package/src/featureInfo/abstractFeatureInfoView.d.ts +4 -4
- package/src/featureInfo/abstractFeatureInfoView.js +4 -4
- package/src/featureInfo/balloonHelper.js +1 -1
- package/src/featureInfo/featureInfo.d.ts +2 -2
- package/src/featureInfo/featureInfo.js +1 -1
- package/src/i18n/de.d.ts +5 -0
- package/src/i18n/de.js +7 -2
- package/src/i18n/en.d.ts +5 -0
- package/src/i18n/en.js +6 -1
- package/src/i18n/i18nCollection.d.ts +9 -15
- package/src/i18n/i18nCollection.js +3 -3
- package/src/legend/VcsLegend.vue +6 -2
- package/src/legend/VcsLegend.vue.d.ts +1 -0
- package/src/manager/collectionManager/CollectionComponentList.vue +1 -1
- package/src/manager/collectionManager/categoryManager.d.ts +1 -1
- package/src/manager/collectionManager/collectionComponentClass.d.ts +2 -2
- package/src/manager/collectionManager/collectionComponentClass.js +4 -4
- package/src/manager/collectionManager/collectionManager.d.ts +1 -1
- package/src/manager/toolbox/GroupToolboxComponent.vue +8 -6
- package/src/manager/toolbox/GroupToolboxComponent.vue.d.ts +1 -1
- package/src/manager/toolbox/SelectToolboxComponent.vue +8 -6
- package/src/manager/toolbox/SelectToolboxComponent.vue.d.ts +1 -1
- package/src/manager/toolbox/{ToolboxManager.vue → ToolboxManagerComponent.vue} +8 -5
- package/src/manager/toolbox/{ToolboxManager.vue.d.ts → ToolboxManagerComponent.vue.d.ts} +1 -1
- package/src/manager/window/WindowComponentHeader.vue +6 -3
- package/src/manager/window/WindowComponentHeader.vue.d.ts +1 -0
- package/src/manager/window/windowManager.d.ts +6 -6
- package/src/manager/window/windowManager.js +3 -3
- package/src/navigation/OrientationToolsButton.vue +2 -4
- package/src/navigation/TiltSlider.vue +3 -5
- package/src/navigation/locatorHelper.js +3 -21
- package/src/search/SearchComponent.vue +8 -6
- package/src/search/SearchComponent.vue.d.ts +1 -1
- package/src/styles/vcsList.scss +1 -1
- package/src/uiConfig.d.ts +12 -3
- package/src/uiConfig.js +2 -1
- package/src/vcsUiApp.d.ts +39 -53
- package/src/vcsUiApp.js +30 -24
- package/src/vuePlugins/vuetify.d.ts +88 -62
- package/src/vuePlugins/vuetify.js +116 -20
- package/dist/assets/ui-7214428e.css +0 -1
- 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/src/components/lists/VcsTreeviewLeaf.vue +0 -92
- /package/dist/assets/{vue-c78a5f76.js → vue-aefad438.js} +0 -0
- /package/src/components/lists/{VcsTreeviewLeaf.vue.d.ts → VcsTreeviewTitle.vue.d.ts} +0 -0
@@ -5,7 +5,7 @@
|
|
5
5
|
:class="{
|
6
6
|
'rounded-b': !open,
|
7
7
|
}"
|
8
|
-
:height="
|
8
|
+
:height="toolboxHeight"
|
9
9
|
:style="{ zIndex }"
|
10
10
|
@click.stop="bringToTop"
|
11
11
|
>
|
@@ -61,7 +61,7 @@
|
|
61
61
|
import VcsToolButton from '../../components/buttons/VcsToolButton.vue';
|
62
62
|
import { vcsAppSymbol } from '../../pluginHelper.js';
|
63
63
|
import { ButtonLocation } from '../navbarManager.js';
|
64
|
-
import {
|
64
|
+
import { useFontSize } from '../../vuePlugins/vuetify.js';
|
65
65
|
|
66
66
|
/**
|
67
67
|
* @typedef {Object} ToolboxButtonGroup
|
@@ -85,7 +85,7 @@
|
|
85
85
|
* @vue-computed {Array<ToolboxButtonGroup>} orderedGroups - Array of group components sorted by owner
|
86
86
|
*/
|
87
87
|
export default {
|
88
|
-
name: '
|
88
|
+
name: 'ToolboxManagerComponent',
|
89
89
|
components: {
|
90
90
|
ToolboxActionSelect,
|
91
91
|
ToolboxActionGroup,
|
@@ -184,7 +184,10 @@
|
|
184
184
|
};
|
185
185
|
|
186
186
|
const { mdAndUp } = useDisplay();
|
187
|
-
const
|
187
|
+
const fontSize = useFontSize();
|
188
|
+
const toolboxHeight = computed(() => {
|
189
|
+
return fontSize.value * 3 + 1;
|
190
|
+
});
|
188
191
|
return {
|
189
192
|
mdAndUp,
|
190
193
|
toolboxOpen,
|
@@ -202,7 +205,7 @@
|
|
202
205
|
bringToTop();
|
203
206
|
}
|
204
207
|
},
|
205
|
-
|
208
|
+
toolboxHeight,
|
206
209
|
};
|
207
210
|
},
|
208
211
|
};
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
12
12
|
open: import("vue").Ref<boolean>;
|
13
13
|
bringToTop: () => void;
|
14
14
|
openGroup(group: any): void;
|
15
|
-
|
15
|
+
toolboxHeight: import("vue").ComputedRef<number>;
|
16
16
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
17
17
|
export default _default;
|
18
18
|
export type ToolboxButtonGroup = {
|
@@ -7,7 +7,7 @@
|
|
7
7
|
v-if="windowState.headerIcon"
|
8
8
|
class="mr-1"
|
9
9
|
:class="{ 'text-primary': isOnTop }"
|
10
|
-
size="
|
10
|
+
:size="iconSize"
|
11
11
|
>
|
12
12
|
{{ windowState.headerIcon }}
|
13
13
|
</v-icon>
|
@@ -56,10 +56,10 @@
|
|
56
56
|
|
57
57
|
<style lang="scss" scoped>
|
58
58
|
.window-component-header {
|
59
|
-
max-height: calc(var(--v-vcs-
|
59
|
+
max-height: calc(var(--v-vcs-font-size) * 2 - 10px);
|
60
60
|
|
61
61
|
h3 {
|
62
|
-
line-height: calc(var(--v-vcs-
|
62
|
+
line-height: calc(var(--v-vcs-font-size) * 2 - 10px);
|
63
63
|
}
|
64
64
|
.v-divider--vertical.v-divider--inset {
|
65
65
|
margin-top: 2px;
|
@@ -84,6 +84,7 @@
|
|
84
84
|
import VcsButton from '../../components/buttons/VcsButton.vue';
|
85
85
|
import VcsActionButtonList from '../../components/buttons/VcsActionButtonList.vue';
|
86
86
|
import { createLinkAction } from '../../actions/actionHelper.js';
|
87
|
+
import { useIconSize } from '../../vuePlugins/vuetify.js';
|
87
88
|
|
88
89
|
/**
|
89
90
|
* @description Default window component header with drag functionality close action and further optional window actions.
|
@@ -151,12 +152,14 @@
|
|
151
152
|
)
|
152
153
|
: undefined;
|
153
154
|
|
155
|
+
const iconSize = useIconSize();
|
154
156
|
return {
|
155
157
|
pin,
|
156
158
|
close,
|
157
159
|
isDockable,
|
158
160
|
translatedHeaderTitle,
|
159
161
|
headerRef,
|
162
|
+
iconSize,
|
160
163
|
headerTooltip: createEllipseTooltip(
|
161
164
|
computed(() => headerRef.value),
|
162
165
|
computed(() => undefined),
|
@@ -18,6 +18,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
18
18
|
isDockable: import("vue").ComputedRef<any>;
|
19
19
|
translatedHeaderTitle: import("vue").ComputedRef<any>;
|
20
20
|
headerRef: import("vue").Ref<null>;
|
21
|
+
iconSize: import("vue").ComputedRef<number>;
|
21
22
|
headerTooltip: import("vue").ComputedRef<string>;
|
22
23
|
infoAction: import("../../actions/actionHelper.js", { with: { "resolution-mode": "import" } }).VcsAction | undefined;
|
23
24
|
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -15,15 +15,15 @@ export function isSlotPosition(windowPosition: WindowPosition): boolean;
|
|
15
15
|
* @typedef {{
|
16
16
|
* id?: string,
|
17
17
|
* parentId?: string,
|
18
|
-
* component: import("vue").Component<T
|
19
|
-
* headerComponent?: import("vue").Component<T
|
18
|
+
* component: import("vue").Component<T>,
|
19
|
+
* headerComponent?: import("vue").Component<T>,
|
20
20
|
* state? : Partial<WindowState>,
|
21
21
|
* position? : Partial<WindowPositionOptions>,
|
22
22
|
* slot?: WindowSlot,
|
23
23
|
* props?: T,
|
24
24
|
* provides?: Record<string, unknown>
|
25
25
|
* }} WindowComponentOptions
|
26
|
-
* @template
|
26
|
+
* @template [T=any]
|
27
27
|
* @property {string} [id] Optional ID, If not provided an uuid will be generated.
|
28
28
|
* @property {string} [parentId] An optional ID of a parent window for 'dynamicChild' slot. Parent windows with slot dynamicRight are not supported.
|
29
29
|
* @property {import("vue").Component<T, unknown, unknown>} component Main Component which is shown below the header.
|
@@ -129,11 +129,11 @@ export namespace WindowPositions {
|
|
129
129
|
export { DETACHED_1 as DETACHED };
|
130
130
|
}
|
131
131
|
export default WindowManager;
|
132
|
-
export type WindowComponentOptions<T
|
132
|
+
export type WindowComponentOptions<T = any> = {
|
133
133
|
id?: string;
|
134
134
|
parentId?: string;
|
135
|
-
component: import("vue").Component<T
|
136
|
-
headerComponent?: import("vue").Component<T
|
135
|
+
component: import("vue").Component<T>;
|
136
|
+
headerComponent?: import("vue").Component<T>;
|
137
137
|
state?: Partial<WindowState>;
|
138
138
|
position?: Partial<WindowPositionOptions>;
|
139
139
|
slot?: WindowSlot;
|
@@ -105,15 +105,15 @@ export function isSlotPosition(windowPosition) {
|
|
105
105
|
* @typedef {{
|
106
106
|
* id?: string,
|
107
107
|
* parentId?: string,
|
108
|
-
* component: import("vue").Component<T
|
109
|
-
* headerComponent?: import("vue").Component<T
|
108
|
+
* component: import("vue").Component<T>,
|
109
|
+
* headerComponent?: import("vue").Component<T>,
|
110
110
|
* state? : Partial<WindowState>,
|
111
111
|
* position? : Partial<WindowPositionOptions>,
|
112
112
|
* slot?: WindowSlot,
|
113
113
|
* props?: T,
|
114
114
|
* provides?: Record<string, unknown>
|
115
115
|
* }} WindowComponentOptions
|
116
|
-
* @template
|
116
|
+
* @template [T=any]
|
117
117
|
* @property {string} [id] Optional ID, If not provided an uuid will be generated.
|
118
118
|
* @property {string} [parentId] An optional ID of a parent window for 'dynamicChild' slot. Parent windows with slot dynamicRight are not supported.
|
119
119
|
* @property {import("vue").Component<T, unknown, unknown>} component Main Component which is shown below the header.
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<script>
|
19
19
|
import { VCard, VIcon, VTooltip } from 'vuetify/components';
|
20
20
|
import { computed } from 'vue';
|
21
|
-
import { useFontSize } from '../vuePlugins/vuetify.js';
|
21
|
+
import { useFontSize, useIconSize } from '../vuePlugins/vuetify.js';
|
22
22
|
|
23
23
|
/**
|
24
24
|
* @description v-card with h & w 8. Requires an icon and binds all attributes & listeners to the v-card
|
@@ -50,9 +50,7 @@
|
|
50
50
|
setup() {
|
51
51
|
const fontSize = useFontSize();
|
52
52
|
|
53
|
-
const iconSize =
|
54
|
-
return fontSize.value * (1.2 + 0.1 / 3);
|
55
|
-
});
|
53
|
+
const iconSize = useIconSize();
|
56
54
|
const height = computed(() => {
|
57
55
|
return fontSize.value * 2.5;
|
58
56
|
});
|
@@ -65,7 +65,7 @@
|
|
65
65
|
<script>
|
66
66
|
import { computed, defineComponent } from 'vue';
|
67
67
|
import { VCard, VSlider, VTooltip } from 'vuetify/components';
|
68
|
-
import { useFontSize
|
68
|
+
import { useFontSize } from '../vuePlugins/vuetify.js';
|
69
69
|
import { useProxiedAtomicModel } from '../components/modelHelper.js';
|
70
70
|
|
71
71
|
export default defineComponent({
|
@@ -87,15 +87,13 @@
|
|
87
87
|
},
|
88
88
|
},
|
89
89
|
setup(props, { emit }) {
|
90
|
-
const
|
91
|
-
|
90
|
+
const fontSize = useFontSize();
|
92
91
|
const trackSize = computed(() => {
|
93
|
-
return Math.floor(
|
92
|
+
return Math.floor((fontSize.value + 3) / 6);
|
94
93
|
});
|
95
94
|
const tickSize = computed(() => {
|
96
95
|
return trackSize.value * 2;
|
97
96
|
});
|
98
|
-
const fontSize = useFontSize();
|
99
97
|
const minWidth = computed(() => {
|
100
98
|
return fontSize.value * 2.5;
|
101
99
|
});
|
@@ -5,8 +5,6 @@ import {
|
|
5
5
|
Projection,
|
6
6
|
VectorLayer,
|
7
7
|
VectorStyleItem,
|
8
|
-
ensureFeatureAbsolute,
|
9
|
-
CesiumMap,
|
10
8
|
} from '@vcmap/core';
|
11
9
|
import { Circle, Point } from 'ol/geom';
|
12
10
|
import { Feature } from 'ol';
|
@@ -34,9 +32,9 @@ function getColor(opacity, app) {
|
|
34
32
|
* Place a location point and accuracy circle on the map.
|
35
33
|
* @param {import("@vcmap/core").VectorLayer} layer The OpenLayers layer to add the features to.
|
36
34
|
* @param {GeolocationCoordinates} point The point object containing longitude, latitude, and accuracy.
|
37
|
-
* @
|
35
|
+
* @returns {Promise<void>}
|
38
36
|
*/
|
39
|
-
async function placeLocationInMap(layer, point
|
37
|
+
async function placeLocationInMap(layer, point) {
|
40
38
|
layer.removeFeaturesById(['_tooltipLocationPoint']);
|
41
39
|
layer.removeFeaturesById(['_tooltipLocationCircle']);
|
42
40
|
|
@@ -49,15 +47,12 @@ async function placeLocationInMap(layer, point, app) {
|
|
49
47
|
});
|
50
48
|
feature.setId('_tooltipLocationPoint');
|
51
49
|
|
52
|
-
if (app.maps.activeMap instanceof CesiumMap) {
|
53
|
-
await ensureFeatureAbsolute(feature, layer, app.maps.activeMap);
|
54
|
-
}
|
55
|
-
|
56
50
|
const accuracyCircle = new Feature({
|
57
51
|
geometry: new Circle(
|
58
52
|
Projection.wgs84ToMercator([point.longitude, point.latitude]),
|
59
53
|
point.accuracy,
|
60
54
|
),
|
55
|
+
olcs_altitudeMode: 'clampToGround',
|
61
56
|
});
|
62
57
|
accuracyCircle.setId('_tooltipLocationCircle');
|
63
58
|
layer.addFeatures([accuracyCircle, feature]);
|
@@ -202,18 +197,6 @@ export function createLocatorAction(app) {
|
|
202
197
|
style,
|
203
198
|
});
|
204
199
|
|
205
|
-
const mapChangedListener = app.maps.mapActivated.addEventListener(
|
206
|
-
async (map) => {
|
207
|
-
if (map instanceof CesiumMap) {
|
208
|
-
const locatorFeature = vectorLayer.getFeatureById(
|
209
|
-
'_tooltipLocationPoint',
|
210
|
-
);
|
211
|
-
if (locatorFeature) {
|
212
|
-
await ensureFeatureAbsolute(locatorFeature, vectorLayer, map);
|
213
|
-
}
|
214
|
-
}
|
215
|
-
},
|
216
|
-
);
|
217
200
|
markVolatile(vectorLayer);
|
218
201
|
app.layers.add(vectorLayer);
|
219
202
|
|
@@ -283,7 +266,6 @@ export function createLocatorAction(app) {
|
|
283
266
|
};
|
284
267
|
const destroy = () => {
|
285
268
|
destroyLayer();
|
286
|
-
mapChangedListener();
|
287
269
|
themeListener();
|
288
270
|
style.destroy();
|
289
271
|
state.coordinates = undefined;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<template>
|
2
2
|
<v-sheet>
|
3
3
|
<span class="d-flex justify-space-between align-center mt-1 ml-2">
|
4
|
-
<v-icon class="pa-1" :size="
|
4
|
+
<v-icon class="pa-1" :size="searchIconSize"> $vcsSearch </v-icon>
|
5
5
|
<VcsTextField
|
6
6
|
class="d-inline-block user-select-none w-100 mx-1"
|
7
7
|
autofocus
|
@@ -35,13 +35,13 @@
|
|
35
35
|
</style>
|
36
36
|
|
37
37
|
<script>
|
38
|
-
import { inject, onUnmounted, ref } from 'vue';
|
38
|
+
import { inject, onUnmounted, ref, computed } from 'vue';
|
39
39
|
import { getLogger } from '@vcsuite/logger';
|
40
40
|
import { VSheet, VDivider, VIcon } from 'vuetify/components';
|
41
41
|
import VcsTextField from '../components/form-inputs-controls/VcsTextField.vue';
|
42
42
|
import ResultsComponent from './ResultsComponent.vue';
|
43
43
|
import VcsFormButton from '../components/buttons/VcsFormButton.vue';
|
44
|
-
import {
|
44
|
+
import { useFontSize } from '../vuePlugins/vuetify.js';
|
45
45
|
|
46
46
|
/**
|
47
47
|
* @description Stylized search component providing an input field for search inputs.
|
@@ -94,8 +94,10 @@
|
|
94
94
|
clear();
|
95
95
|
});
|
96
96
|
|
97
|
-
const
|
98
|
-
|
97
|
+
const fontSize = useFontSize();
|
98
|
+
const searchIconSize = computed(() => {
|
99
|
+
return fontSize.value + 11;
|
100
|
+
});
|
99
101
|
return {
|
100
102
|
query,
|
101
103
|
searching,
|
@@ -104,7 +106,7 @@
|
|
104
106
|
clear,
|
105
107
|
search,
|
106
108
|
zoomToAll,
|
107
|
-
|
109
|
+
searchIconSize,
|
108
110
|
};
|
109
111
|
},
|
110
112
|
};
|
@@ -6,6 +6,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
6
6
|
clear: () => void;
|
7
7
|
search: () => Promise<void>;
|
8
8
|
zoomToAll: () => void;
|
9
|
-
|
9
|
+
searchIconSize: import("vue").ComputedRef<number>;
|
10
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
11
11
|
export default _default;
|
package/src/styles/vcsList.scss
CHANGED
package/src/uiConfig.d.ts
CHANGED
@@ -45,7 +45,7 @@ export type UiConfigObject = {
|
|
45
45
|
*/
|
46
46
|
appTitle?: string | undefined;
|
47
47
|
/**
|
48
|
-
* - an optional primary color to use in all themes
|
48
|
+
* - an optional primary color to use in all themes, can be overwritten by `vuetifyTheme`
|
49
49
|
*/
|
50
50
|
primaryColor?: string | undefined;
|
51
51
|
/**
|
@@ -136,6 +136,10 @@ export type UiConfigObject = {
|
|
136
136
|
* - the display quality settings
|
137
137
|
*/
|
138
138
|
displayQuality?: import("@vcmap/core").DisplayQualityOptions | undefined;
|
139
|
+
/**
|
140
|
+
* - Vuetify Theming, also see vuetify configuration https://vuetifyjs.com/en/features/theme/
|
141
|
+
*/
|
142
|
+
vuetifyTheme?: any;
|
139
143
|
};
|
140
144
|
/**
|
141
145
|
* @typedef {{
|
@@ -179,7 +183,7 @@ export type UiConfigObject = {
|
|
179
183
|
* @property {string} [logo] - the company logo to display. this will override any and all css overrides.
|
180
184
|
* @property {string} [mobileLogo] - an alternative logo to display in mobile view
|
181
185
|
* @property {string} [appTitle] - an optional title to display next to the company logo
|
182
|
-
* @property {string} [primaryColor] - an optional primary color to use in all themes
|
186
|
+
* @property {string} [primaryColor] - an optional primary color to use in all themes, can be overwritten by `vuetifyTheme`
|
183
187
|
* @property {boolean} [startingFeatureInfo] - an optional flag whether to activate feature info on startup (default active)
|
184
188
|
* @property {string} [positionDisplayEventType] - mouse event, when position display is updated. Either 'click' (default) or 'move'.
|
185
189
|
* @property {string} [helpBaseUrl='https://help.vc.systems/'] - an optional URL to a help landing page
|
@@ -202,6 +206,7 @@ export type UiConfigObject = {
|
|
202
206
|
* @property {boolean} [hideSettings] - can be used to hide the settings Window
|
203
207
|
* @property {boolean} [overviewMapActiveOnStartup] - can be used to activate the overviewMap on startup
|
204
208
|
* @property {import("@vcmap/core").DisplayQualityOptions} [displayQuality] - the display quality settings
|
209
|
+
* @property {import("./vuetifyPlugins/vuetify.js").VcsThemes} [vuetifyTheme] - Vuetify Theming, also see vuetify configuration https://vuetifyjs.com/en/features/theme/
|
205
210
|
*/
|
206
211
|
/**
|
207
212
|
* @extends {Collection<UiConfigurationItem<unknown>>}
|
@@ -245,7 +250,7 @@ declare class UiConfig extends Collection<UiConfigurationItem<unknown>> {
|
|
245
250
|
*/
|
246
251
|
readonly appTitle?: string | undefined;
|
247
252
|
/**
|
248
|
-
* - an optional primary color to use in all themes
|
253
|
+
* - an optional primary color to use in all themes, can be overwritten by `vuetifyTheme`
|
249
254
|
*/
|
250
255
|
readonly primaryColor?: string | undefined;
|
251
256
|
/**
|
@@ -466,6 +471,10 @@ declare class UiConfig extends Collection<UiConfigurationItem<unknown>> {
|
|
466
471
|
readonly layerSSEFactor?: number | undefined;
|
467
472
|
} | undefined;
|
468
473
|
} | undefined;
|
474
|
+
/**
|
475
|
+
* - Vuetify Theming, also see vuetify configuration https://vuetifyjs.com/en/features/theme/
|
476
|
+
*/
|
477
|
+
readonly vuetifyTheme?: any;
|
469
478
|
};
|
470
479
|
}
|
471
480
|
import { Collection } from '@vcmap/core';
|
package/src/uiConfig.js
CHANGED
@@ -47,7 +47,7 @@ import { reactive, readonly } from 'vue';
|
|
47
47
|
* @property {string} [logo] - the company logo to display. this will override any and all css overrides.
|
48
48
|
* @property {string} [mobileLogo] - an alternative logo to display in mobile view
|
49
49
|
* @property {string} [appTitle] - an optional title to display next to the company logo
|
50
|
-
* @property {string} [primaryColor] - an optional primary color to use in all themes
|
50
|
+
* @property {string} [primaryColor] - an optional primary color to use in all themes, can be overwritten by `vuetifyTheme`
|
51
51
|
* @property {boolean} [startingFeatureInfo] - an optional flag whether to activate feature info on startup (default active)
|
52
52
|
* @property {string} [positionDisplayEventType] - mouse event, when position display is updated. Either 'click' (default) or 'move'.
|
53
53
|
* @property {string} [helpBaseUrl='https://help.vc.systems/'] - an optional URL to a help landing page
|
@@ -70,6 +70,7 @@ import { reactive, readonly } from 'vue';
|
|
70
70
|
* @property {boolean} [hideSettings] - can be used to hide the settings Window
|
71
71
|
* @property {boolean} [overviewMapActiveOnStartup] - can be used to activate the overviewMap on startup
|
72
72
|
* @property {import("@vcmap/core").DisplayQualityOptions} [displayQuality] - the display quality settings
|
73
|
+
* @property {import("./vuetifyPlugins/vuetify.js").VcsThemes} [vuetifyTheme] - Vuetify Theming, also see vuetify configuration https://vuetifyjs.com/en/features/theme/
|
73
74
|
*/
|
74
75
|
|
75
76
|
/**
|
package/src/vcsUiApp.d.ts
CHANGED
@@ -1,52 +1,33 @@
|
|
1
1
|
export default VcsUiApp;
|
2
2
|
export type VcsUiModuleConfig = import("@vcmap/core").VcsModuleConfig & {
|
3
|
-
plugins?:
|
3
|
+
plugins?: Record<string, unknown>[];
|
4
4
|
contentTree?: import("./contentTree/contentTreeItem.js").ContentTreeItemOptions[];
|
5
5
|
uiConfig?: import("./uiConfig.js").UiConfigurationItem<unknown>[];
|
6
6
|
featureInfo?: import("./featureInfo/abstractFeatureInfoView.js").FeatureInfoViewOptions[];
|
7
|
-
i18n?:
|
7
|
+
i18n?: import("./i18n/i18nCollection.js").I18nConfigurationItem[];
|
8
8
|
};
|
9
9
|
export type PluginConfig = {
|
10
10
|
name: string;
|
11
|
-
|
12
|
-
|
13
|
-
*/
|
14
|
-
entry?: string | undefined;
|
15
|
-
/**
|
16
|
-
* - version or version range
|
17
|
-
*/
|
18
|
-
version?: string | undefined;
|
11
|
+
entry?: string;
|
12
|
+
version?: string;
|
19
13
|
};
|
20
|
-
export type PluginConfigEditorComponent<
|
21
|
-
getConfig():
|
22
|
-
setConfig(config
|
23
|
-
}
|
14
|
+
export type PluginConfigEditorComponent<C extends Object> = import("vue").Component<{
|
15
|
+
getConfig(): C;
|
16
|
+
setConfig(config?: C): void;
|
17
|
+
}>;
|
18
|
+
export type PluginConfigEditor<C extends Object> = {
|
19
|
+
component: PluginConfigEditorComponent<C>;
|
24
20
|
title?: string;
|
21
|
+
collectionName?: string;
|
22
|
+
itemName?: string;
|
23
|
+
infoUrlCallback?: () => string;
|
25
24
|
};
|
26
|
-
export type
|
27
|
-
/**
|
28
|
-
* - A editor component to configure a plugin or item
|
29
|
-
*/
|
30
|
-
component: PluginConfigEditorComponent<object>;
|
31
|
-
/**
|
32
|
-
* - The collection the item belongs to. Default is plugins collection.
|
33
|
-
*/
|
34
|
-
collectionName?: string | undefined;
|
35
|
-
/**
|
36
|
-
* - The item the editor can be used for. Can be a name or className. Default is the plugin's name.
|
37
|
-
*/
|
38
|
-
itemName?: string | undefined;
|
39
|
-
/**
|
40
|
-
* - An optional function returning an url referencing help or further information regarding the config editor.
|
41
|
-
*/
|
42
|
-
infoUrlCallback?: (() => string) | undefined;
|
43
|
-
};
|
44
|
-
export type createPlugin<P extends Object, S extends Object> = (arg0: P, arg1: string) => VcsPlugin<P, S>;
|
25
|
+
export type createPlugin<C extends Object, S extends Object> = (arg0: C, arg1: string) => VcsPlugin<C, S>;
|
45
26
|
/**
|
46
27
|
* Interface for VcsPlugins.
|
47
28
|
* The function implementing the interface should not throw!
|
48
29
|
*/
|
49
|
-
export type VcsPlugin<
|
30
|
+
export type VcsPlugin<C extends Object, S extends Object> = {
|
50
31
|
name: string;
|
51
32
|
version: string;
|
52
33
|
mapVersion: string;
|
@@ -55,10 +36,10 @@ export type VcsPlugin<P extends Object, S extends Object> = {
|
|
55
36
|
};
|
56
37
|
initialize?: (arg0: import("@src/vcsUiApp.js").default, arg1: S | undefined) => void | Promise<void>;
|
57
38
|
onVcsAppMounted?: (arg0: import("@src/vcsUiApp.js").default) => void;
|
58
|
-
toJSON?: () =>
|
59
|
-
getDefaultOptions?: () =>
|
39
|
+
toJSON?: () => C;
|
40
|
+
getDefaultOptions?: () => C;
|
60
41
|
getState?: (arg0: boolean | undefined) => S | Promise<S>;
|
61
|
-
getConfigEditors?: () => Array<PluginConfigEditor
|
42
|
+
getConfigEditors?: () => Array<PluginConfigEditor<object>>;
|
62
43
|
destroy?: () => void;
|
63
44
|
};
|
64
45
|
export type VcsComponentManager<T extends Object, O extends Object> = {
|
@@ -89,7 +70,7 @@ declare class VcsUiApp extends VcsApp {
|
|
89
70
|
*/
|
90
71
|
themeChanged: VcsEvent<void>;
|
91
72
|
/**
|
92
|
-
* @type {import("@vcmap/core").OverrideCollection<VcsPlugin>}
|
73
|
+
* @type {import("@vcmap/core").OverrideCollection<VcsPlugin, Collection<VcsPlugin>, Object>}
|
93
74
|
* @private
|
94
75
|
*/
|
95
76
|
private _plugins;
|
@@ -132,7 +113,7 @@ declare class VcsUiApp extends VcsApp {
|
|
132
113
|
*/
|
133
114
|
private _callbackClassRegistry;
|
134
115
|
/**
|
135
|
-
* @type {import("@vcmap/core").OverrideClassRegistry<
|
116
|
+
* @type {import("@vcmap/core").OverrideClassRegistry<typeof ContentTreeItem>}
|
136
117
|
* @private
|
137
118
|
*/
|
138
119
|
private _contentTreeClassRegistry;
|
@@ -214,25 +195,25 @@ declare class VcsUiApp extends VcsApp {
|
|
214
195
|
mounted: import("@vcmap/core").VcsEvent<string>;
|
215
196
|
_destroySiteConfig: () => void;
|
216
197
|
/**
|
217
|
-
* @type {import("@vcmap/core").OverrideCollection<VcsPlugin
|
198
|
+
* @type {import("@vcmap/core").OverrideCollection<VcsPlugin, Collection<VcsPlugin>, Object>}
|
218
199
|
*/
|
219
|
-
get plugins(): import("@vcmap/core").OverrideCollection<
|
200
|
+
get plugins(): import("@vcmap/core").OverrideCollection<any, Collection<any>, Object>;
|
220
201
|
/**
|
221
202
|
* @type {import("@vcmap/core").OverrideCollection<ContentTreeItem, ContentTreeCollection>}
|
222
203
|
*/
|
223
|
-
get contentTree(): import("@vcmap/core").OverrideCollection<ContentTreeItem, ContentTreeCollection>;
|
204
|
+
get contentTree(): import("@vcmap/core").OverrideCollection<ContentTreeItem, ContentTreeCollection, import("./contentTree/contentTreeItem.js").ContentTreeItemOptions>;
|
224
205
|
/**
|
225
|
-
* @type {import("@vcmap/core").OverrideClassRegistry<
|
206
|
+
* @type {import("@vcmap/core").OverrideClassRegistry<typeof import("./callback/vcsCallback.js").default>}
|
226
207
|
*/
|
227
|
-
get callbackClassRegistry(): OverrideClassRegistry<
|
208
|
+
get callbackClassRegistry(): OverrideClassRegistry<typeof import("./callback/vcsCallback.js").default>;
|
228
209
|
/**
|
229
|
-
* @type {import("@vcmap/core").OverrideClassRegistry<
|
210
|
+
* @type {import("@vcmap/core").OverrideClassRegistry<typeof ContentTreeItem>}
|
230
211
|
*/
|
231
|
-
get contentTreeClassRegistry(): OverrideClassRegistry<
|
212
|
+
get contentTreeClassRegistry(): OverrideClassRegistry<typeof ContentTreeItem>;
|
232
213
|
/**
|
233
|
-
* @type {import("@vcmap/core").OverrideClassRegistry<
|
214
|
+
* @type {import("@vcmap/core").OverrideClassRegistry<typeof AbstractFeatureInfoView>}
|
234
215
|
*/
|
235
|
-
get featureInfoClassRegistry(): OverrideClassRegistry<
|
216
|
+
get featureInfoClassRegistry(): OverrideClassRegistry<typeof AbstractFeatureInfoView>;
|
236
217
|
/**
|
237
218
|
* @returns {ToolboxManager}
|
238
219
|
*/
|
@@ -272,16 +253,17 @@ declare class VcsUiApp extends VcsApp {
|
|
272
253
|
install: (app: import("vue").App<any>) => void;
|
273
254
|
defaults: import("vue").Ref<import("vuetify").DefaultsInstance>;
|
274
255
|
display: import("vuetify").DisplayInstance;
|
256
|
+
/**
|
257
|
+
* @type {NavbarManager}
|
258
|
+
* @private
|
259
|
+
*/
|
275
260
|
theme: import("vuetify").ThemeInstance & {
|
276
261
|
install: (app: import("vue").App<any>) => void;
|
277
262
|
};
|
278
263
|
icons: {
|
279
264
|
defaultSet: string;
|
280
265
|
aliases: Partial<import("vuetify").IconAliases>;
|
281
|
-
sets: Record<string, import("vuetify").IconSet>;
|
282
|
-
* @type {Array<function():void>}
|
283
|
-
* @private
|
284
|
-
*/
|
266
|
+
sets: Record<string, import("vuetify").IconSet>;
|
285
267
|
};
|
286
268
|
locale: {
|
287
269
|
isRtl: import("vue").Ref<boolean>;
|
@@ -309,6 +291,10 @@ declare class VcsUiApp extends VcsApp {
|
|
309
291
|
date: (value?: any) => unknown;
|
310
292
|
format: (date: unknown, formatString: string) => string;
|
311
293
|
toJsDate: (value: unknown) => Date;
|
294
|
+
/**
|
295
|
+
* @type {OverviewMap}
|
296
|
+
* @private
|
297
|
+
*/
|
312
298
|
parseISO: (date: string) => unknown;
|
313
299
|
toISO: (date: unknown) => string;
|
314
300
|
startOfDay: (date: unknown) => unknown;
|
@@ -371,7 +357,7 @@ declare class VcsUiApp extends VcsApp {
|
|
371
357
|
/**
|
372
358
|
* @type {import("@vcmap/core").OverrideCollection<import("./uiConfig.js").UiConfigurationItem<unknown>, UiConfig>}
|
373
359
|
*/
|
374
|
-
get uiConfig(): import("@vcmap/core").OverrideCollection<import("./uiConfig.js").UiConfigurationItem<unknown>, UiConfig
|
360
|
+
get uiConfig(): import("@vcmap/core").OverrideCollection<import("./uiConfig.js").UiConfigurationItem<unknown>, UiConfig, import("./uiConfig.js").UiConfigurationItem<unknown>>;
|
375
361
|
/**
|
376
362
|
* @type {Notifier}
|
377
363
|
*/
|