@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.
Files changed (231) hide show
  1. package/config/base.config.json +8 -2
  2. package/dist/assets/cesium/Workers/{chunk-LUYI3XCB.js → chunk-2LOWCAMW.js} +13 -13
  3. package/dist/assets/cesium/Workers/{chunk-V7WJDCPA.js → chunk-2PTKXHJB.js} +10 -10
  4. package/dist/assets/cesium/Workers/{chunk-YFVI4SQI.js → chunk-3HQMMUPU.js} +1 -1
  5. package/dist/assets/cesium/Workers/{chunk-XGI4FRXF.js → chunk-3IFRSGEY.js} +9 -9
  6. package/dist/assets/cesium/Workers/{chunk-4RJH3H6D.js → chunk-44QAAS4P.js} +7 -7
  7. package/dist/assets/cesium/Workers/{chunk-4EW3HFFI.js → chunk-56EDBCGT.js} +10 -10
  8. package/dist/assets/cesium/Workers/{chunk-PRKEY4QK.js → chunk-57H6I3SV.js} +5 -5
  9. package/dist/assets/cesium/Workers/{chunk-X67EJ6X6.js → chunk-6SQMLVGV.js} +54 -7
  10. package/dist/assets/cesium/Workers/{chunk-RRLGJV3Q.js → chunk-7YIOHQWH.js} +13 -13
  11. package/dist/assets/cesium/Workers/{chunk-G6346EDR.js → chunk-7ZZ5LMZY.js} +16 -15
  12. package/dist/assets/cesium/Workers/{chunk-YFYPR4MW.js → chunk-BVKITG4N.js} +7 -7
  13. package/dist/assets/cesium/Workers/{chunk-N5MIFVXJ.js → chunk-C3EQ27WF.js} +6 -6
  14. package/dist/assets/cesium/Workers/{chunk-TLGODPEV.js → chunk-C4WPMOKT.js} +6 -5
  15. package/dist/assets/cesium/Workers/{chunk-DTACCQDR.js → chunk-EDLRS3AW.js} +6 -6
  16. package/dist/assets/cesium/Workers/{chunk-EVU2UNBD.js → chunk-EJVGYGLF.js} +7 -7
  17. package/dist/assets/cesium/Workers/{chunk-FYYT5EVH.js → chunk-FFLMY4TE.js} +5 -5
  18. package/dist/assets/cesium/Workers/{chunk-5OUTANXX.js → chunk-GBT7MJ6X.js} +1 -1
  19. package/dist/assets/cesium/Workers/{chunk-3DRPXHZ4.js → chunk-HJMNR3GC.js} +11 -11
  20. package/dist/assets/cesium/Workers/{chunk-IALQGTA2.js → chunk-HP5XLODI.js} +6 -6
  21. package/dist/assets/cesium/Workers/{chunk-DR7LK6PG.js → chunk-IBRIWOCM.js} +13 -13
  22. package/dist/assets/cesium/Workers/{chunk-WMVCLETM.js → chunk-IZGUQO6Q.js} +13 -13
  23. package/dist/assets/cesium/Workers/{chunk-T6TZXGG5.js → chunk-IZJ42N4W.js} +17 -17
  24. package/dist/assets/cesium/Workers/{chunk-FZDKIUDT.js → chunk-JBSKHTNX.js} +4 -4
  25. package/dist/assets/cesium/Workers/{chunk-S4VTLNAJ.js → chunk-JISPSEF3.js} +4 -4
  26. package/dist/assets/cesium/Workers/{chunk-KNMGSIIN.js → chunk-JSQJDZI4.js} +6 -6
  27. package/dist/assets/cesium/Workers/{chunk-LMTN7R7M.js → chunk-JXVLNVXC.js} +7 -7
  28. package/dist/assets/cesium/Workers/{chunk-A5C2A5O5.js → chunk-KHZNBFOH.js} +7 -7
  29. package/dist/assets/cesium/Workers/{chunk-PIOKSAZH.js → chunk-L5GODJAR.js} +14 -14
  30. package/dist/assets/cesium/Workers/{chunk-Q7PM4W34.js → chunk-LJ2JQHJT.js} +12 -7
  31. package/dist/assets/cesium/Workers/{chunk-D6PDWQXW.js → chunk-LLAF3CPH.js} +2 -2
  32. package/dist/assets/cesium/Workers/{chunk-H7PSTL64.js → chunk-M24KHENR.js} +2 -2
  33. package/dist/assets/cesium/Workers/{chunk-I67V66MN.js → chunk-NDDI2LWR.js} +6 -6
  34. package/dist/assets/cesium/Workers/{chunk-FSXNF76Y.js → chunk-NGZJIN5Z.js} +4 -4
  35. package/dist/assets/cesium/Workers/{chunk-UMX265HW.js → chunk-O72GZTSE.js} +2 -2
  36. package/dist/assets/cesium/Workers/{chunk-WOA6WSHH.js → chunk-OPP2SKMA.js} +12 -12
  37. package/dist/assets/cesium/Workers/{chunk-VD6G7UPU.js → chunk-P6TRGU3S.js} +2 -2
  38. package/dist/assets/cesium/Workers/{chunk-QLC66ZRL.js → chunk-QN6TBED4.js} +11 -11
  39. package/dist/assets/cesium/Workers/{chunk-O7OUBDMZ.js → chunk-QQOZO7KO.js} +7 -7
  40. package/dist/assets/cesium/Workers/{chunk-AGTH5JMJ.js → chunk-RJM36CNY.js} +6 -6
  41. package/dist/assets/cesium/Workers/{chunk-UC566ISB.js → chunk-RTJKHZWU.js} +6 -6
  42. package/dist/assets/cesium/Workers/{chunk-L4XQPD6P.js → chunk-TI3TRKIC.js} +423 -448
  43. package/dist/assets/cesium/Workers/{chunk-3GI7DWF7.js → chunk-TK5IIG2F.js} +4 -4
  44. package/dist/assets/cesium/Workers/{chunk-6DH5PLFD.js → chunk-U5HSOKPQ.js} +1 -1
  45. package/dist/assets/cesium/Workers/{chunk-BPY4HDAK.js → chunk-WGDFYAGC.js} +4 -4
  46. package/dist/assets/cesium/Workers/{chunk-SJC5PRDX.js → chunk-X7IQYYHF.js} +2 -2
  47. package/dist/assets/cesium/Workers/{chunk-4OX4RYLB.js → chunk-XIUSRWL6.js} +9 -5
  48. package/dist/assets/cesium/Workers/{chunk-S2UEXF6T.js → chunk-XWOUPGUF.js} +1 -1
  49. package/dist/assets/cesium/Workers/{chunk-F7IEM66T.js → chunk-YCDZX5LS.js} +1 -1
  50. package/dist/assets/cesium/Workers/{chunk-AVFIYUKX.js → chunk-YK3QIKY7.js} +9 -9
  51. package/dist/assets/cesium/Workers/{chunk-BAJAVGUF.js → chunk-YSIJTJ7N.js} +5 -5
  52. package/dist/assets/cesium/Workers/{chunk-6DXIYFX3.js → chunk-Z2QP3CXW.js} +2 -2
  53. package/dist/assets/cesium/Workers/{chunk-P24I5VUS.js → chunk-ZVUUPJEM.js} +17 -17
  54. package/dist/assets/cesium/Workers/combineGeometry.js +22 -22
  55. package/dist/assets/cesium/Workers/createBoxGeometry.js +16 -16
  56. package/dist/assets/cesium/Workers/createBoxOutlineGeometry.js +14 -14
  57. package/dist/assets/cesium/Workers/createCircleGeometry.js +24 -24
  58. package/dist/assets/cesium/Workers/createCircleOutlineGeometry.js +17 -17
  59. package/dist/assets/cesium/Workers/createCoplanarPolygonGeometry.js +31 -31
  60. package/dist/assets/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +29 -29
  61. package/dist/assets/cesium/Workers/createCorridorGeometry.js +27 -27
  62. package/dist/assets/cesium/Workers/createCorridorOutlineGeometry.js +26 -26
  63. package/dist/assets/cesium/Workers/createCylinderGeometry.js +18 -18
  64. package/dist/assets/cesium/Workers/createCylinderOutlineGeometry.js +16 -16
  65. package/dist/assets/cesium/Workers/createEllipseGeometry.js +24 -24
  66. package/dist/assets/cesium/Workers/createEllipseOutlineGeometry.js +17 -17
  67. package/dist/assets/cesium/Workers/createEllipsoidGeometry.js +17 -17
  68. package/dist/assets/cesium/Workers/createEllipsoidOutlineGeometry.js +16 -16
  69. package/dist/assets/cesium/Workers/createFrustumGeometry.js +16 -16
  70. package/dist/assets/cesium/Workers/createFrustumOutlineGeometry.js +16 -16
  71. package/dist/assets/cesium/Workers/createGeometry.js +22 -22
  72. package/dist/assets/cesium/Workers/createGroundPolylineGeometry.js +20 -20
  73. package/dist/assets/cesium/Workers/createPlaneGeometry.js +14 -14
  74. package/dist/assets/cesium/Workers/createPlaneOutlineGeometry.js +13 -13
  75. package/dist/assets/cesium/Workers/createPolygonGeometry.js +30 -30
  76. package/dist/assets/cesium/Workers/createPolygonOutlineGeometry.js +28 -28
  77. package/dist/assets/cesium/Workers/createPolylineGeometry.js +23 -23
  78. package/dist/assets/cesium/Workers/createPolylineVolumeGeometry.js +29 -29
  79. package/dist/assets/cesium/Workers/createPolylineVolumeOutlineGeometry.js +25 -25
  80. package/dist/assets/cesium/Workers/createRectangleGeometry.js +25 -25
  81. package/dist/assets/cesium/Workers/createRectangleOutlineGeometry.js +18 -18
  82. package/dist/assets/cesium/Workers/createSimplePolylineGeometry.js +21 -21
  83. package/dist/assets/cesium/Workers/createSphereGeometry.js +17 -17
  84. package/dist/assets/cesium/Workers/createSphereOutlineGeometry.js +16 -16
  85. package/dist/assets/cesium/Workers/createTaskProcessorWorker.js +3 -3
  86. package/dist/assets/cesium/Workers/createVectorTileClampedPolylines.js +13 -13
  87. package/dist/assets/cesium/Workers/createVectorTileGeometries.js +22 -22
  88. package/dist/assets/cesium/Workers/createVectorTilePoints.js +12 -12
  89. package/dist/assets/cesium/Workers/createVectorTilePolygons.js +20 -20
  90. package/dist/assets/cesium/Workers/createVectorTilePolylines.js +13 -13
  91. package/dist/assets/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +20 -20
  92. package/dist/assets/cesium/Workers/createVerticesFromHeightmap.js +24 -20
  93. package/dist/assets/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +17 -17
  94. package/dist/assets/cesium/Workers/createWallGeometry.js +22 -22
  95. package/dist/assets/cesium/Workers/createWallOutlineGeometry.js +21 -21
  96. package/dist/assets/cesium/Workers/decodeDraco.js +11 -11
  97. package/dist/assets/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +28 -5
  98. package/dist/assets/cesium/Workers/decodeI3S.js +10 -10
  99. package/dist/assets/cesium/Workers/transcodeKTX2.js +19 -18
  100. package/dist/assets/cesium/Workers/transferTypedArrayTest.js +1 -1
  101. package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +20 -20
  102. package/dist/assets/{cesium-ccb4cc30.js → cesium-2ec6aae0.js} +136600 -136700
  103. package/dist/assets/cesium.js +1 -1
  104. package/dist/assets/{core-e06aa7a6.js → core-6f2522e5.js} +8391 -7544
  105. package/dist/assets/core.js +1 -1
  106. package/dist/assets/{ol-e7981d5c.js → ol-b0e134cb.js} +2246 -2248
  107. package/dist/assets/ol.js +1 -1
  108. package/dist/assets/ui-bf3d1f84.css +1 -0
  109. package/dist/assets/{ui-5dda32d2.js → ui-bf3d1f84.js} +4598 -4464
  110. package/dist/assets/ui.js +1 -1
  111. package/dist/assets/vue.js +1 -1
  112. package/dist/assets/{vuetify-4c4e4217.js → vuetify-99bf601c.js} +1 -1
  113. package/dist/assets/vuetify.js +1 -1
  114. package/package.json +3 -3
  115. package/plugins/@vcmap-show-case/form-inputs-example/src/FormInputsExample.vue +2 -2
  116. package/plugins/@vcmap-show-case/plugin-editors/src/PluginEditors.vue +3 -4
  117. package/plugins/@vcmap-show-case/project-selector/src/ModulesListComponent.vue +1 -1
  118. package/plugins/@vcmap-show-case/vector-properties-example/src/GeometrySettings.vue +420 -0
  119. package/plugins/@vcmap-show-case/vector-properties-example/src/LayoutHandler.vue +97 -0
  120. package/plugins/@vcmap-show-case/vector-properties-example/src/TerrainSettings.vue +90 -0
  121. package/plugins/@vcmap-show-case/vector-properties-example/src/VectorPropertiesExample.vue +61 -70
  122. package/plugins/@vcmap-show-case/vector-properties-example/src/index.js +34 -1
  123. package/plugins/@vcmap-show-case/vector-properties-example/src/lib.js +294 -0
  124. package/src/actions/StyleSelector.vue +36 -20
  125. package/src/actions/StyleSelector.vue.d.ts +5 -5
  126. package/src/application/VcsApp.vue +32 -8
  127. package/src/application/VcsApp.vue.d.ts +5 -1
  128. package/src/application/VcsAppWrapper.vue +1 -1
  129. package/src/application/VcsAttributions.vue +1 -1
  130. package/src/application/VcsAttributionsFooter.vue +22 -11
  131. package/src/application/VcsContainer.vue.d.ts +5 -1
  132. package/src/application/VcsMainMap.vue +1 -1
  133. package/src/application/VcsMap.vue +1 -0
  134. package/src/application/VcsNavbar.vue +1 -1
  135. package/src/application/VcsPositionDisplay.vue +3 -3
  136. package/src/application/VcsSettings.vue +1 -1
  137. package/src/application/VcsSplashScreen.vue +1 -0
  138. package/src/application/VcsTextPage.vue +1 -1
  139. package/src/application/VcsTextPageFooter.vue +6 -4
  140. package/src/components/buttons/VcsActionButtonList.vue +5 -1
  141. package/src/components/buttons/VcsButton.vue +3 -3
  142. package/src/components/buttons/VcsFormButton.vue +2 -2
  143. package/src/components/buttons/VcsToolButton.vue +2 -2
  144. package/src/components/extent/VcsExtent.vue +1 -1
  145. package/src/components/extent/VcsExtentEditor.vue +1 -0
  146. package/src/components/flight/VcsFlightAnchorsComponent.vue +1 -0
  147. package/src/components/flight/VcsFlightComponent.vue +1 -1
  148. package/src/components/flight/VcsFlightEditor.vue +1 -0
  149. package/src/components/flight/VcsFlightPlayer.vue +1 -1
  150. package/src/components/form-inputs-controls/VcsLabel.vue +31 -8
  151. package/src/components/form-inputs-controls/VcsLabel.vue.d.ts +2 -0
  152. package/src/components/form-inputs-controls/VcsSelect.vue +1 -1
  153. package/src/components/form-inputs-controls/VcsSelect.vue.d.ts +2 -2
  154. package/src/components/form-inputs-controls/VcsTextField.vue +1 -1
  155. package/src/components/form-inputs-controls/VcsWizard.vue +1 -1
  156. package/src/components/form-inputs-controls/VcsWizardStep.vue +1 -0
  157. package/src/components/form-output/VcsMarkdown.vue +1 -1
  158. package/src/components/import/VcsFileDrop.vue +1 -1
  159. package/src/components/import/VcsImportComponent.vue +1 -1
  160. package/src/components/lists/VcsListItemComponent.vue +5 -1
  161. package/src/components/lists/VcsTreeview.vue +22 -0
  162. package/src/components/lists/VcsTreeview.vue.d.ts +10 -0
  163. package/src/components/lists/VcsTreeviewSearchbar.vue +1 -1
  164. package/src/components/lists/VcsTreeviewTitle.vue +5 -1
  165. package/src/components/notification/VcsBadge.vue +2 -2
  166. package/src/components/notification/VcsHelp.vue +1 -1
  167. package/src/components/plugins/AbstractConfigEditor.vue +1 -1
  168. package/src/components/section/VcsExpansionPanel.vue +5 -1
  169. package/src/components/style/MenuWrapper.vue +1 -1
  170. package/src/components/style/VcsFeatureStyleComponent.vue +1 -0
  171. package/src/components/style/VcsFillMenu.vue +1 -0
  172. package/src/components/style/VcsFillSelector.vue +1 -0
  173. package/src/components/style/VcsImageMenu.vue +1 -0
  174. package/src/components/style/VcsImageSelector.vue +1 -1
  175. package/src/components/style/VcsStrokeMenu.vue +1 -0
  176. package/src/components/style/VcsStrokeSelector.vue +1 -1
  177. package/src/components/style/VcsTextMenu.vue +1 -0
  178. package/src/components/style/VcsTextSelector.vue +1 -1
  179. package/src/components/style/VcsVectorStyleComponent.vue +1 -1
  180. package/src/components/tables/VcsDataTable.vue +1 -1
  181. package/src/components/tables/VcsTable.vue +1 -0
  182. package/src/components/tables/VcsTableCell.vue +1 -1
  183. package/src/components/vector-properties/VcsFeatureEditingWindow.vue +18 -35
  184. package/src/components/vector-properties/VcsFeatureEditingWindow.vue.d.ts +5 -3
  185. package/src/components/vector-properties/VcsFeatureTransforms.vue +1 -1
  186. package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +37 -12
  187. package/src/components/vector-properties/VcsVectorPropertiesComponent.vue.d.ts +3 -2
  188. package/src/components/viewpoint/VcsViewpointComponent.vue +1 -1
  189. package/src/components/viewpoint/VcsViewpointEditor.vue +1 -0
  190. package/src/contentTree/LayerTree.vue +1 -1
  191. package/src/contentTree/layerContentTreeItem.d.ts +8 -5
  192. package/src/contentTree/layerContentTreeItem.js +48 -34
  193. package/src/contentTree/layerGroupContentTreeItem.d.ts +7 -1
  194. package/src/contentTree/layerGroupContentTreeItem.js +22 -3
  195. package/src/featureInfo/AddressBalloonComponent.vue +1 -1
  196. package/src/featureInfo/BalloonComponent.vue +1 -1
  197. package/src/featureInfo/IframeComponent.vue +6 -1
  198. package/src/featureInfo/MarkdownBalloonComponent.vue +1 -1
  199. package/src/featureInfo/balloonHelper.js +1 -1
  200. package/src/i18n/de.d.ts +5 -0
  201. package/src/i18n/de.js +7 -2
  202. package/src/i18n/en.d.ts +5 -0
  203. package/src/i18n/en.js +6 -1
  204. package/src/legend/StyleLegendItem.vue +1 -1
  205. package/src/legend/VcsLegend.vue +1 -1
  206. package/src/manager/collectionManager/CollectionComponent.vue +1 -0
  207. package/src/manager/contextMenu/ContextMenuComponent.vue +1 -1
  208. package/src/manager/panel/PanelManagerComponent.vue +2 -2
  209. package/src/manager/toolbox/GroupToolboxComponent.vue +2 -2
  210. package/src/manager/toolbox/SelectToolboxComponent.vue +2 -2
  211. package/src/manager/toolbox/ToolboxManagerComponent.vue +12 -1
  212. package/src/manager/window/WindowComponent.vue +1 -1
  213. package/src/manager/window/WindowManager.vue +4 -1
  214. package/src/navigation/MapNavigation.vue +4 -1
  215. package/src/navigation/ObliqueRotation.vue +2 -2
  216. package/src/navigation/OrientationToolsButton.vue +1 -1
  217. package/src/navigation/TiltSlider.vue +1 -0
  218. package/src/navigation/VcsCompass.vue +1 -1
  219. package/src/navigation/VcsZoomButton.vue +1 -1
  220. package/src/navigation/locatorHelper.js +3 -21
  221. package/src/notifier/NotifierComponent.vue +1 -1
  222. package/src/search/ResultItem.vue +1 -1
  223. package/src/search/ResultsComponent.vue +1 -1
  224. package/src/search/SearchComponent.vue +3 -1
  225. package/src/uiConfig.d.ts +13 -4
  226. package/src/uiConfig.js +3 -2
  227. package/src/vcsUiApp.d.ts +30 -30
  228. package/src/vcsUiApp.js +32 -30
  229. package/dist/assets/ui-5dda32d2.css +0 -1
  230. /package/dist/assets/{vue-87bc6efe.js → vue-43880c5a.js} +0 -0
  231. /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 configuration https://vuetifyjs.com/en/features/theme/
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,5 +1,5 @@
1
1
  <template>
2
- <v-app>
2
+ <v-app class="vcs-app-wrapper">
3
3
  <VcsApp :app-id="appId" />
4
4
  </v-app>
5
5
  </template>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <v-sheet>
2
+ <v-sheet class="vcs-attributions">
3
3
  <v-list v-if="entries.length" class="px-2">
4
4
  <v-list-item
5
5
  v-for="{ key, title, attributions } in entries"
@@ -1,15 +1,20 @@
1
1
  <template>
2
- <span class="d-inline-block text-truncate mr-10">
3
- <span
4
- v-for="attribution in mergedAttributions"
5
- class="attribution"
6
- :key="attribution.provider"
7
- >
8
- <a :href="attribution.url" target="_blank">
9
- {{ $st(attribution.provider) }} <span>{{ attribution.years }}</span>
10
- </a>
11
- </span>
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
- </span>
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 configuration https://vuetifyjs.com/en/features/theme/
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,5 +1,5 @@
1
1
  <template>
2
- <div>
2
+ <div class="vcs-main-map">
3
3
  <VcsMap :map-id="mapId" />
4
4
  <MapNavigation v-if="showMapNavigation" />
5
5
  </div>
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <div
3
+ class="vcs-map"
3
4
  :id="mapId"
4
5
  @click.right.stop="
5
6
  (e) => {
@@ -3,7 +3,7 @@
3
3
  absolute
4
4
  :density="density"
5
5
  elevation="0"
6
- class="px-4"
6
+ class="px-4 vcs-navbar"
7
7
  :height="toolbarHeight"
8
8
  :style="xs ? { bottom: 0 } : { top: 0 }"
9
9
  >
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <span
3
- class="d-flex gc-2 px-1 h-100 align-center"
4
- :class="{ 'vcs-position-display': positionDisplayAction.active }"
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
- .vcs-position-display {
55
+ .active {
56
56
  background-color: rgb(var(--v-theme-primary));
57
57
  span {
58
58
  color: rgb(var(--v-theme-on-primary));
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <v-container class="px-1 py-0">
2
+ <v-container class="px-1 py-0 vcs-settings">
3
3
  <v-row no-gutters>
4
4
  <v-col>
5
5
  <VcsLabel html-for="settingsLanguageSelect">
@@ -7,6 +7,7 @@
7
7
  :max-width="position.maxWidth"
8
8
  :max-height="position.maxHeight"
9
9
  persistent
10
+ class="vcs-splash-screen"
10
11
  >
11
12
  <v-card>
12
13
  <v-card-text>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <v-container>
2
+ <v-container class="vcs-text-page">
3
3
  <VcsMarkdown :content="$st(content)"></VcsMarkdown>
4
4
  </v-container>
5
5
  </template>
@@ -1,6 +1,8 @@
1
1
  <template v-if="textPage.title">
2
- <span class="d-inline-block text-truncate mr-1">
3
- <span v-if="textPage.url" class="imprint">
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="imprint cursor-pointer text-decoration-underline"
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
- .imprint {
26
+ .text-page-footer {
25
27
  font-size: smaller;
26
28
  a {
27
29
  color: var(--v-text-color);
@@ -1,5 +1,9 @@
1
1
  <template>
2
- <div v-if="actions.length > 0" :class="classes" class="gc-2">
2
+ <div
3
+ v-if="actions.length > 0"
4
+ :class="classes"
5
+ class="gc-2 vcs-action-button-list"
6
+ >
3
7
  <template v-if="buttons.length > 0">
4
8
  <component
5
9
  :is="button"
@@ -5,7 +5,7 @@
5
5
  variant="text"
6
6
  :color="appliedColor"
7
7
  :disabled="disabled"
8
- class="vcsButton"
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
- &.vcsButton {
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="vcsFormButton"
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="vcsToolButton"
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>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <v-container class="py-0 px-1">
2
+ <v-container class="py-0 px-1 vcs-extent">
3
3
  <v-row no-gutters v-if="modelValue.projection">
4
4
  <v-col :cols="firstCols">
5
5
  <VcsLabel :html-for="`${cid}-projection`">
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <VcsFormSection
3
+ class="vcs-extent-editor"
3
4
  :heading="heading"
4
5
  :header-actions="actions"
5
6
  :action-button-list-overflow-count="2"
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <VcsFormSection
3
+ class="vcs-flight-anchors-component"
3
4
  :heading="title"
4
5
  :expandable="expandable"
5
6
  start-open
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <v-sheet>
2
+ <v-sheet class="vcs-flight-component">
3
3
  <VcsFormSection
4
4
  :heading="heading"
5
5
  :expandable="expandable"
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <AbstractConfigEditor
3
+ class="vcs-flight-editor"
3
4
  @submit="apply"
4
5
  @cancel="cancel"
5
6
  @reset="reset"
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <v-container class="py-0 px-1">
2
+ <v-container class="py-0 px-1 vcs-flight-player">
3
3
  <VcsLabel>{{ $t('flight.player') }}</VcsLabel>
4
4
  <VcsSlider
5
5
  v-if="clock"
@@ -8,20 +8,32 @@
8
8
  'pa-1': !paddingProvided,
9
9
  }"
10
10
  >
11
- <slot />
12
- <v-tooltip
13
- v-if="tooltip"
14
- activator="parent"
15
- :location="tooltipPosition"
16
- :text="$st(tooltip)"
17
- ></v-tooltip>
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 { usePadding } from '../composables.js';
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;
@@ -173,7 +173,7 @@
173
173
  if (rawProps.multiple) {
174
174
  return [];
175
175
  }
176
- return '';
176
+ return null;
177
177
  },
178
178
  },
179
179
  tooltip: {
@@ -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;
@@ -146,7 +146,7 @@
146
146
  ) {
147
147
  const v = parseFloat(localValue.value);
148
148
  if (Number.isFinite(v)) {
149
- return v.toFixed(props.decimals);
149
+ return parseFloat(v.toFixed(props.decimals));
150
150
  }
151
151
  }
152
152
  return localValue.value ?? '';
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <v-stepper-vertical v-bind="$attrs">
2
+ <v-stepper-vertical v-bind="$attrs" class="vcs-wizard">
3
3
  <template #icon>
4
4
  <slot name="icon"><v-icon>mdi-circle</v-icon></slot>
5
5
  </template>
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <v-stepper-vertical-item
3
+ class="vcs-wizard-step"
3
4
  :value="step"
4
5
  :editable="isActiveStep || editable"
5
6
  :complete="complete"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div
3
- class="marked"
3
+ class="marked vcs-markdown"
4
4
  :class="{
5
5
  'pa-2': !paddingProvided,
6
6
  }"
@@ -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
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <v-card flat class="pa-2">
2
+ <v-card flat class="pa-2 vcs-import-component">
3
3
  <vcs-file-drop
4
4
  :height="dropElementHeight"
5
5
  :multiple="multiple"
@@ -89,7 +89,11 @@
89
89
  </script>
90
90
 
91
91
  <template>
92
- <v-list-item :disabled="item.disabled" v-bind="$attrs">
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
  }, {}>;