@vcmap/ui 6.0.0-rc.6 → 6.0.0-rc.8
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/config/base.config.json +8 -2
- 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-ccb4cc30.js → cesium-2ec6aae0.js} +136600 -136700
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core-e06aa7a6.js → core-6f2522e5.js} +8391 -7544
- package/dist/assets/core.js +1 -1
- package/dist/assets/{ol-e7981d5c.js → ol-b0e134cb.js} +2246 -2248
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui-bf3d1f84.css +1 -0
- package/dist/assets/{ui-5dda32d2.js → ui-bf3d1f84.js} +4598 -4464
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +1 -1
- package/dist/assets/{vuetify-4c4e4217.js → vuetify-99bf601c.js} +1 -1
- package/dist/assets/vuetify.js +1 -1
- package/package.json +3 -3
- package/plugins/@vcmap-show-case/form-inputs-example/src/FormInputsExample.vue +2 -2
- package/plugins/@vcmap-show-case/plugin-editors/src/PluginEditors.vue +3 -4
- package/plugins/@vcmap-show-case/project-selector/src/ModulesListComponent.vue +1 -1
- package/plugins/@vcmap-show-case/vector-properties-example/src/GeometrySettings.vue +420 -0
- package/plugins/@vcmap-show-case/vector-properties-example/src/LayoutHandler.vue +97 -0
- package/plugins/@vcmap-show-case/vector-properties-example/src/TerrainSettings.vue +90 -0
- package/plugins/@vcmap-show-case/vector-properties-example/src/VectorPropertiesExample.vue +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/src/actions/StyleSelector.vue +36 -20
- package/src/actions/StyleSelector.vue.d.ts +5 -5
- package/src/application/VcsApp.vue +32 -8
- package/src/application/VcsApp.vue.d.ts +5 -1
- package/src/application/VcsAppWrapper.vue +1 -1
- package/src/application/VcsAttributions.vue +1 -1
- package/src/application/VcsAttributionsFooter.vue +22 -11
- package/src/application/VcsContainer.vue.d.ts +5 -1
- package/src/application/VcsMainMap.vue +1 -1
- package/src/application/VcsMap.vue +1 -0
- package/src/application/VcsNavbar.vue +1 -1
- package/src/application/VcsPositionDisplay.vue +3 -3
- package/src/application/VcsSettings.vue +1 -1
- package/src/application/VcsSplashScreen.vue +1 -0
- package/src/application/VcsTextPage.vue +1 -1
- package/src/application/VcsTextPageFooter.vue +6 -4
- package/src/components/buttons/VcsActionButtonList.vue +5 -1
- package/src/components/buttons/VcsButton.vue +3 -3
- package/src/components/buttons/VcsFormButton.vue +2 -2
- package/src/components/buttons/VcsToolButton.vue +2 -2
- package/src/components/extent/VcsExtent.vue +1 -1
- package/src/components/extent/VcsExtentEditor.vue +1 -0
- package/src/components/flight/VcsFlightAnchorsComponent.vue +1 -0
- package/src/components/flight/VcsFlightComponent.vue +1 -1
- package/src/components/flight/VcsFlightEditor.vue +1 -0
- package/src/components/flight/VcsFlightPlayer.vue +1 -1
- package/src/components/form-inputs-controls/VcsLabel.vue +31 -8
- package/src/components/form-inputs-controls/VcsLabel.vue.d.ts +2 -0
- package/src/components/form-inputs-controls/VcsSelect.vue +1 -1
- package/src/components/form-inputs-controls/VcsSelect.vue.d.ts +2 -2
- package/src/components/form-inputs-controls/VcsTextField.vue +1 -1
- package/src/components/form-inputs-controls/VcsWizard.vue +1 -1
- package/src/components/form-inputs-controls/VcsWizardStep.vue +1 -0
- package/src/components/form-output/VcsMarkdown.vue +1 -1
- package/src/components/import/VcsFileDrop.vue +1 -1
- package/src/components/import/VcsImportComponent.vue +1 -1
- package/src/components/lists/VcsListItemComponent.vue +5 -1
- package/src/components/lists/VcsTreeview.vue +22 -0
- package/src/components/lists/VcsTreeview.vue.d.ts +10 -0
- package/src/components/lists/VcsTreeviewSearchbar.vue +1 -1
- package/src/components/lists/VcsTreeviewTitle.vue +5 -1
- package/src/components/notification/VcsBadge.vue +2 -2
- package/src/components/notification/VcsHelp.vue +1 -1
- package/src/components/plugins/AbstractConfigEditor.vue +1 -1
- package/src/components/section/VcsExpansionPanel.vue +5 -1
- package/src/components/style/MenuWrapper.vue +1 -1
- package/src/components/style/VcsFeatureStyleComponent.vue +1 -0
- package/src/components/style/VcsFillMenu.vue +1 -0
- package/src/components/style/VcsFillSelector.vue +1 -0
- package/src/components/style/VcsImageMenu.vue +1 -0
- package/src/components/style/VcsImageSelector.vue +1 -1
- package/src/components/style/VcsStrokeMenu.vue +1 -0
- package/src/components/style/VcsStrokeSelector.vue +1 -1
- package/src/components/style/VcsTextMenu.vue +1 -0
- package/src/components/style/VcsTextSelector.vue +1 -1
- package/src/components/style/VcsVectorStyleComponent.vue +1 -1
- package/src/components/tables/VcsDataTable.vue +1 -1
- package/src/components/tables/VcsTable.vue +1 -0
- package/src/components/tables/VcsTableCell.vue +1 -1
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue +18 -35
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue.d.ts +5 -3
- package/src/components/vector-properties/VcsFeatureTransforms.vue +1 -1
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +37 -12
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue.d.ts +3 -2
- package/src/components/viewpoint/VcsViewpointComponent.vue +1 -1
- package/src/components/viewpoint/VcsViewpointEditor.vue +1 -0
- package/src/contentTree/LayerTree.vue +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/AddressBalloonComponent.vue +1 -1
- package/src/featureInfo/BalloonComponent.vue +1 -1
- package/src/featureInfo/IframeComponent.vue +6 -1
- package/src/featureInfo/MarkdownBalloonComponent.vue +1 -1
- package/src/featureInfo/balloonHelper.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/legend/StyleLegendItem.vue +1 -1
- package/src/legend/VcsLegend.vue +1 -1
- package/src/manager/collectionManager/CollectionComponent.vue +1 -0
- package/src/manager/contextMenu/ContextMenuComponent.vue +1 -1
- package/src/manager/panel/PanelManagerComponent.vue +2 -2
- package/src/manager/toolbox/GroupToolboxComponent.vue +2 -2
- package/src/manager/toolbox/SelectToolboxComponent.vue +2 -2
- package/src/manager/toolbox/ToolboxManagerComponent.vue +12 -1
- package/src/manager/window/WindowComponent.vue +1 -1
- package/src/manager/window/WindowManager.vue +4 -1
- package/src/navigation/MapNavigation.vue +4 -1
- package/src/navigation/ObliqueRotation.vue +2 -2
- package/src/navigation/OrientationToolsButton.vue +1 -1
- package/src/navigation/TiltSlider.vue +1 -0
- package/src/navigation/VcsCompass.vue +1 -1
- package/src/navigation/VcsZoomButton.vue +1 -1
- package/src/navigation/locatorHelper.js +3 -21
- package/src/notifier/NotifierComponent.vue +1 -1
- package/src/search/ResultItem.vue +1 -1
- package/src/search/ResultsComponent.vue +1 -1
- package/src/search/SearchComponent.vue +3 -1
- package/src/uiConfig.d.ts +13 -4
- package/src/uiConfig.js +3 -2
- package/src/vcsUiApp.d.ts +30 -30
- package/src/vcsUiApp.js +32 -30
- package/dist/assets/ui-5dda32d2.css +0 -1
- /package/dist/assets/{vue-87bc6efe.js → vue-43880c5a.js} +0 -0
- /package/dist/assets/{vuetify-4c4e4217.css → vuetify-99bf601c.css} +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
<template>
|
2
|
-
<v-container class="fill-height pa-0" absolute fluid>
|
2
|
+
<v-container class="fill-height pa-0 vcs-app" absolute fluid>
|
3
3
|
<VcsSplashScreen
|
4
4
|
v-if="splashScreen"
|
5
5
|
:options="splashScreen"
|
@@ -25,8 +25,8 @@
|
|
25
25
|
:text-page="dataProtection"
|
26
26
|
:window-id="'dataProtectionWindow'"
|
27
27
|
/>
|
28
|
+
<v-spacer />
|
28
29
|
<VcsAttributionsFooter
|
29
|
-
class="align-wrapper"
|
30
30
|
:entries="attributionEntries"
|
31
31
|
:attribution-action="attributionAction"
|
32
32
|
/>
|
@@ -38,18 +38,13 @@
|
|
38
38
|
:deep(.v-application--wrap) {
|
39
39
|
min-height: fit-content;
|
40
40
|
}
|
41
|
-
.align-wrapper {
|
42
|
-
position: absolute;
|
43
|
-
right: 0;
|
44
|
-
margin-right: 4px !important;
|
45
|
-
}
|
46
41
|
</style>
|
47
42
|
|
48
43
|
<script>
|
49
44
|
import { computed, onMounted, onUnmounted, provide, watch, ref } from 'vue';
|
50
45
|
import { useDisplay } from 'vuetify';
|
51
46
|
import { getVcsAppById, moduleIdSymbol } from '@vcmap/core';
|
52
|
-
import { VContainer, VFooter } from 'vuetify/components';
|
47
|
+
import { VContainer, VFooter, VSpacer } from 'vuetify/components';
|
53
48
|
import { getLogger } from '@vcsuite/logger';
|
54
49
|
import VcsContainer from './VcsContainer.vue';
|
55
50
|
import { ButtonLocation } from '../manager/navbarManager.js';
|
@@ -253,6 +248,33 @@
|
|
253
248
|
}
|
254
249
|
};
|
255
250
|
|
251
|
+
let currentEntryLength = entries.length;
|
252
|
+
const watchEntries = watch(entries, (newValue) => {
|
253
|
+
if (
|
254
|
+
app.uiConfig.config.openLegendOnAdd &&
|
255
|
+
newValue.length > currentEntryLength &&
|
256
|
+
!app.windowManager.has('legend')
|
257
|
+
) {
|
258
|
+
app.windowManager.add(
|
259
|
+
{
|
260
|
+
id: 'legend',
|
261
|
+
component: VcsLegend,
|
262
|
+
state: {
|
263
|
+
headerTitle: 'legend.title',
|
264
|
+
headerIcon: '$vcsLegend',
|
265
|
+
infoUrl: app.getHelpUrlCallback(
|
266
|
+
'/components/contentspace.html#id_legend',
|
267
|
+
),
|
268
|
+
},
|
269
|
+
slot: WindowSlot.DYNAMIC_RIGHT,
|
270
|
+
props: { entries },
|
271
|
+
},
|
272
|
+
vcsAppSymbol,
|
273
|
+
);
|
274
|
+
}
|
275
|
+
currentEntryLength = newValue.length;
|
276
|
+
});
|
277
|
+
|
256
278
|
/**
|
257
279
|
* Handles legend button and window.
|
258
280
|
* Adds a button, if legend definitions are available or removes legend otherwise.
|
@@ -289,6 +311,7 @@
|
|
289
311
|
];
|
290
312
|
|
291
313
|
return () => {
|
314
|
+
watchEntries();
|
292
315
|
app.navbarManager.remove('legend');
|
293
316
|
app.windowManager.remove('legend');
|
294
317
|
destroy();
|
@@ -704,6 +727,7 @@
|
|
704
727
|
VcsNavbar,
|
705
728
|
VContainer,
|
706
729
|
VFooter,
|
730
|
+
VSpacer,
|
707
731
|
},
|
708
732
|
props: {
|
709
733
|
appId: {
|
@@ -321,9 +321,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
321
321
|
} | undefined;
|
322
322
|
} | undefined;
|
323
323
|
/**
|
324
|
-
* - Vuetify Theming, also see vuetify
|
324
|
+
* - Vuetify Theming, also see vuetify configuraton https://vuetifyjs.com/en/features/theme/
|
325
325
|
*/
|
326
326
|
readonly vuetifyTheme?: any;
|
327
|
+
/**
|
328
|
+
* - open the legend window, if new layer has a config
|
329
|
+
*/
|
330
|
+
readonly openLegendOnAdd?: boolean | undefined;
|
327
331
|
};
|
328
332
|
showFooter: import("vue").ComputedRef<boolean>;
|
329
333
|
footerHeight: import("vue").ComputedRef<number>;
|
@@ -1,15 +1,20 @@
|
|
1
1
|
<template>
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
2
|
+
<div
|
3
|
+
class="d-flex align-center justify-end overflow-hidden vcs-attributions-footer"
|
4
|
+
>
|
5
|
+
<div class="attribution-container">
|
6
|
+
<span
|
7
|
+
v-for="attribution in mergedAttributions"
|
8
|
+
class="attribution"
|
9
|
+
:key="attribution.provider"
|
10
|
+
>
|
11
|
+
<a :href="attribution.url" target="_blank">
|
12
|
+
{{ $st(attribution.provider) }} <span>{{ attribution.years }}</span>
|
13
|
+
</a>
|
14
|
+
</span>
|
15
|
+
</div>
|
12
16
|
<VcsButton
|
17
|
+
class="flex-shrink-0"
|
13
18
|
:key="attributionAction.name"
|
14
19
|
:tooltip="attributionAction.title"
|
15
20
|
:icon="attributionAction.icon"
|
@@ -17,10 +22,16 @@
|
|
17
22
|
:disabled="attributionAction.disabled"
|
18
23
|
@click.stop="attributionAction.callback($event)"
|
19
24
|
/>
|
20
|
-
</
|
25
|
+
</div>
|
21
26
|
</template>
|
22
27
|
|
23
28
|
<style lang="scss" scoped>
|
29
|
+
.attribution-container {
|
30
|
+
max-width: 100%;
|
31
|
+
white-space: nowrap;
|
32
|
+
overflow: hidden;
|
33
|
+
text-overflow: ellipsis;
|
34
|
+
}
|
24
35
|
.attribution {
|
25
36
|
font-size: smaller;
|
26
37
|
&:before {
|
@@ -241,9 +241,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
241
241
|
} | undefined;
|
242
242
|
} | undefined;
|
243
243
|
/**
|
244
|
-
* - Vuetify Theming, also see vuetify
|
244
|
+
* - Vuetify Theming, also see vuetify configuraton https://vuetifyjs.com/en/features/theme/
|
245
245
|
*/
|
246
246
|
readonly vuetifyTheme?: any;
|
247
|
+
/**
|
248
|
+
* - open the legend window, if new layer has a config
|
249
|
+
*/
|
250
|
+
readonly openLegendOnAdd?: boolean | undefined;
|
247
251
|
};
|
248
252
|
xs: import("vue").Ref<boolean>;
|
249
253
|
mobileLogo: import("vue").ComputedRef<any>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<template>
|
2
2
|
<span
|
3
|
-
class="d-flex gc-2 px-1 h-100 align-center"
|
4
|
-
:class="{
|
3
|
+
class="d-flex gc-2 px-1 h-100 align-center vcs-position-display"
|
4
|
+
:class="{ active: positionDisplayAction.active }"
|
5
5
|
>
|
6
6
|
<VcsButton
|
7
7
|
:tooltip="positionDisplayAction.title"
|
@@ -52,7 +52,7 @@
|
|
52
52
|
</template>
|
53
53
|
|
54
54
|
<style lang="scss" scoped>
|
55
|
-
.
|
55
|
+
.active {
|
56
56
|
background-color: rgb(var(--v-theme-primary));
|
57
57
|
span {
|
58
58
|
color: rgb(var(--v-theme-on-primary));
|
@@ -1,6 +1,8 @@
|
|
1
1
|
<template v-if="textPage.title">
|
2
|
-
<span
|
3
|
-
|
2
|
+
<span
|
3
|
+
class="d-inline-block text-truncate mr-1 flex-shrink-0 vcs-text-page-footer"
|
4
|
+
>
|
5
|
+
<span v-if="textPage.url" class="text-page-footer">
|
4
6
|
<a :href="$st(textPage.url)" target="_blank"
|
5
7
|
>{{ $st(textPage.title) }} <span></span>
|
6
8
|
</a>
|
@@ -8,7 +10,7 @@
|
|
8
10
|
|
9
11
|
<span
|
10
12
|
v-else
|
11
|
-
class="
|
13
|
+
class="text-page-footer cursor-pointer text-decoration-underline"
|
12
14
|
@click="addTextPage()"
|
13
15
|
>{{ $st(textPage.title) }}</span
|
14
16
|
>
|
@@ -21,7 +23,7 @@
|
|
21
23
|
</template>
|
22
24
|
|
23
25
|
<style lang="scss" scoped>
|
24
|
-
.
|
26
|
+
.text-page-footer {
|
25
27
|
font-size: smaller;
|
26
28
|
a {
|
27
29
|
color: var(--v-text-color);
|
@@ -5,7 +5,7 @@
|
|
5
5
|
variant="text"
|
6
6
|
:color="appliedColor"
|
7
7
|
:disabled="disabled"
|
8
|
-
class="
|
8
|
+
class="vcs-button"
|
9
9
|
elevation="0"
|
10
10
|
density="compact"
|
11
11
|
size="small"
|
@@ -24,7 +24,7 @@
|
|
24
24
|
<VcsBadge
|
25
25
|
v-if="hasUpdate"
|
26
26
|
:color="'bg-warning'"
|
27
|
-
class="position-absolute"
|
27
|
+
class="position-absolute badge"
|
28
28
|
/>
|
29
29
|
<slot name="default" v-bind="scope ?? {}" />
|
30
30
|
</template>
|
@@ -41,7 +41,7 @@
|
|
41
41
|
}
|
42
42
|
.v-btn {
|
43
43
|
padding: 0px;
|
44
|
-
&.
|
44
|
+
&.vcs-button {
|
45
45
|
&:hover {
|
46
46
|
color: rgb(var(--v-theme-primary-lighten-1)) !important;
|
47
47
|
}
|
@@ -5,7 +5,7 @@
|
|
5
5
|
color="primary"
|
6
6
|
:min-width="itemHeight * 1.5"
|
7
7
|
:height="itemHeight"
|
8
|
-
class="
|
8
|
+
class="vcs-form-button"
|
9
9
|
:slim="false"
|
10
10
|
v-bind="{ ...$attrs }"
|
11
11
|
>
|
@@ -22,7 +22,7 @@
|
|
22
22
|
<VcsBadge
|
23
23
|
v-if="hasUpdate"
|
24
24
|
:color="'bg-warning'"
|
25
|
-
class="position-absolute"
|
25
|
+
class="position-absolute badge"
|
26
26
|
/>
|
27
27
|
<slot name="default" v-bind="scope ?? {}" />
|
28
28
|
</template>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
:variant="buttonVariant"
|
5
5
|
:height="itemHeight + 2"
|
6
6
|
:min-width="itemHeight + itemHeight / 3"
|
7
|
-
class="
|
7
|
+
class="vcs-tool-button"
|
8
8
|
:disabled="disabled"
|
9
9
|
:class="{
|
10
10
|
'vcs-background': background,
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<VcsBadge
|
27
27
|
v-if="hasUpdate"
|
28
28
|
:color="'bg-warning'"
|
29
|
-
class="position-absolute"
|
29
|
+
class="position-absolute badge"
|
30
30
|
/>
|
31
31
|
<slot name="default" v-bind="scope ?? {}" />
|
32
32
|
</template>
|
@@ -8,20 +8,32 @@
|
|
8
8
|
'pa-1': !paddingProvided,
|
9
9
|
}"
|
10
10
|
>
|
11
|
-
<
|
12
|
-
|
13
|
-
v-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
11
|
+
<span class="ellipsis-text" ref="labelTextRef">
|
12
|
+
<slot />
|
13
|
+
<v-tooltip
|
14
|
+
v-if="labelTooltip"
|
15
|
+
activator="parent"
|
16
|
+
:location="tooltipPosition"
|
17
|
+
:text="$st(labelTooltip)"
|
18
|
+
></v-tooltip>
|
19
|
+
</span>
|
18
20
|
</label>
|
19
21
|
</template>
|
20
22
|
|
21
23
|
<style lang="scss" scoped>
|
24
|
+
.ellipsis-text {
|
25
|
+
flex: 1;
|
26
|
+
white-space: nowrap;
|
27
|
+
overflow: hidden;
|
28
|
+
text-overflow: ellipsis;
|
29
|
+
}
|
22
30
|
.vcs-label {
|
23
31
|
box-sizing: content-box;
|
24
32
|
display: flex;
|
33
|
+
flex-direction: row;
|
34
|
+
white-space: nowrap;
|
35
|
+
overflow: hidden;
|
36
|
+
text-overflow: ellipsis;
|
25
37
|
align-items: center;
|
26
38
|
height: calc(var(--v-vcs-font-size) * 2 - 2px);
|
27
39
|
font-size: var(--v-vcs-font-size);
|
@@ -36,7 +48,8 @@
|
|
36
48
|
</style>
|
37
49
|
<script>
|
38
50
|
import { VTooltip } from 'vuetify/components';
|
39
|
-
import {
|
51
|
+
import { computed, ref } from 'vue';
|
52
|
+
import { createEllipseTooltip, usePadding } from '../composables.js';
|
40
53
|
|
41
54
|
/**
|
42
55
|
* @description Stylized wrapper around {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label |label label}.
|
@@ -76,8 +89,18 @@
|
|
76
89
|
},
|
77
90
|
setup(props, { attrs }) {
|
78
91
|
const paddingProvided = usePadding(attrs);
|
92
|
+
const labelTextRef = ref();
|
93
|
+
const labelTooltip = createEllipseTooltip(
|
94
|
+
computed(() => {
|
95
|
+
return labelTextRef.value;
|
96
|
+
}),
|
97
|
+
computed(() => props.tooltip),
|
98
|
+
computed(() => labelTextRef.value?.textContent),
|
99
|
+
);
|
79
100
|
return {
|
80
101
|
paddingProvided,
|
102
|
+
labelTooltip,
|
103
|
+
labelTextRef,
|
81
104
|
};
|
82
105
|
},
|
83
106
|
};
|
@@ -21,6 +21,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
21
21
|
};
|
22
22
|
}, {
|
23
23
|
paddingProvided: import("vue").ComputedRef<boolean>;
|
24
|
+
labelTooltip: import("vue").ComputedRef<string>;
|
25
|
+
labelTextRef: import("vue").Ref<any>;
|
24
26
|
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
25
27
|
htmlFor: {
|
26
28
|
type: StringConstructor;
|
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
};
|
6
6
|
modelValue: {
|
7
7
|
type: (BooleanConstructor | ArrayConstructor | StringConstructor | NumberConstructor)[];
|
8
|
-
default(rawProps: any): never[] |
|
8
|
+
default(rawProps: any): never[] | null;
|
9
9
|
};
|
10
10
|
tooltip: {
|
11
11
|
type: StringConstructor;
|
@@ -35,7 +35,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
35
35
|
};
|
36
36
|
modelValue: {
|
37
37
|
type: (BooleanConstructor | ArrayConstructor | StringConstructor | NumberConstructor)[];
|
38
|
-
default(rawProps: any): never[] |
|
38
|
+
default(rawProps: any): never[] | null;
|
39
39
|
};
|
40
40
|
tooltip: {
|
41
41
|
type: StringConstructor;
|
@@ -4,7 +4,7 @@
|
|
4
4
|
@dragover.prevent="isDragging = true"
|
5
5
|
@dragleave.prevent="isDragging = false"
|
6
6
|
@drop.prevent="dropped"
|
7
|
-
class="d-flex justify-center drop-field"
|
7
|
+
class="d-flex justify-center drop-field vcs-file-drop"
|
8
8
|
:class="{ dragging: isDragging }"
|
9
9
|
:dragging="isDragging"
|
10
10
|
flat
|
@@ -89,7 +89,11 @@
|
|
89
89
|
</script>
|
90
90
|
|
91
91
|
<template>
|
92
|
-
<v-list-item
|
92
|
+
<v-list-item
|
93
|
+
:disabled="item.disabled"
|
94
|
+
v-bind="$attrs"
|
95
|
+
class="vcs-list-item-component"
|
96
|
+
>
|
93
97
|
<template #prepend>
|
94
98
|
<v-icon v-if="item.icon">
|
95
99
|
{{ item.icon }}
|
@@ -17,6 +17,7 @@
|
|
17
17
|
collapse-icon="mdi-chevron-down"
|
18
18
|
v-bind="{ ...$props, ...$attrs }"
|
19
19
|
:search="localSearchValue"
|
20
|
+
@click:select="itemClicked($event.id, $event.event)"
|
20
21
|
>
|
21
22
|
<template #title="scope">
|
22
23
|
<slot name="title" v-bind="scope ?? {}">
|
@@ -143,6 +144,10 @@
|
|
143
144
|
VTreeview,
|
144
145
|
},
|
145
146
|
props: {
|
147
|
+
items: {
|
148
|
+
type: Array,
|
149
|
+
default: () => [],
|
150
|
+
},
|
146
151
|
search: {
|
147
152
|
type: String,
|
148
153
|
default: '',
|
@@ -190,6 +195,23 @@
|
|
190
195
|
localSearchValue,
|
191
196
|
handleFilter,
|
192
197
|
forwardSlots,
|
198
|
+
itemClicked(name, event) {
|
199
|
+
const items = props.items.slice();
|
200
|
+
let item;
|
201
|
+
while (items.length > 0) {
|
202
|
+
item = items.pop();
|
203
|
+
if (item.name === name) {
|
204
|
+
break;
|
205
|
+
}
|
206
|
+
if (item.children?.length > 0) {
|
207
|
+
items.push(...item.children);
|
208
|
+
}
|
209
|
+
}
|
210
|
+
|
211
|
+
if (item?.clicked && !item?.disabled) {
|
212
|
+
item.clicked(event);
|
213
|
+
}
|
214
|
+
},
|
193
215
|
};
|
194
216
|
},
|
195
217
|
};
|
@@ -1,4 +1,8 @@
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
2
|
+
items: {
|
3
|
+
type: ArrayConstructor;
|
4
|
+
default: () => never[];
|
5
|
+
};
|
2
6
|
search: {
|
3
7
|
type: StringConstructor;
|
4
8
|
default: string;
|
@@ -16,7 +20,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
16
20
|
localSearchValue: import("vue").Ref<any>;
|
17
21
|
handleFilter: (value: string, q: string, item: Object) => number;
|
18
22
|
forwardSlots: import("vue").ComputedRef<string[]>;
|
23
|
+
itemClicked(name: any, event: any): void;
|
19
24
|
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:search"[], "update:search", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
25
|
+
items: {
|
26
|
+
type: ArrayConstructor;
|
27
|
+
default: () => never[];
|
28
|
+
};
|
20
29
|
search: {
|
21
30
|
type: StringConstructor;
|
22
31
|
default: string;
|
@@ -33,6 +42,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
33
42
|
"onUpdate:search"?: ((...args: any[]) => any) | undefined;
|
34
43
|
}, {
|
35
44
|
search: string;
|
45
|
+
items: unknown[];
|
36
46
|
showSearchbar: boolean;
|
37
47
|
searchbarPlaceholder: string;
|
38
48
|
}, {}>;
|