@vcmap/ui 6.1.0-rc.2 → 6.1.0-rc.3

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 (105) hide show
  1. package/config/base.config.json +6 -0
  2. package/config/clipping.config.json +384 -0
  3. package/config/cluster.config.json +106 -0
  4. package/config/concepts-show-case.config.json +4 -0
  5. package/config/projects.config.json +5 -2
  6. package/dist/assets/{cesium-57fbd309.js → cesium-87d5e72d.js} +438 -432
  7. package/dist/assets/cesium.js +1 -1
  8. package/dist/assets/{core-fd079400.js → core-72f9f393.js} +4907 -4514
  9. package/dist/assets/core.js +1 -1
  10. package/dist/assets/{ol-50dfef96.js → ol-e468ba43.js} +23518 -22404
  11. package/dist/assets/ol.js +1 -1
  12. package/dist/assets/ui-73257b15.css +1 -0
  13. package/dist/assets/{ui-5135917c.js → ui-73257b15.js} +13440 -12742
  14. package/dist/assets/ui.js +1 -1
  15. package/dist/assets/vue.js +1 -1
  16. package/dist/assets/{vuetify-f02b7bb9.css → vuetify-2437380c.css} +2 -2
  17. package/dist/assets/{vuetify-f02b7bb9.js → vuetify-2437380c.js} +8024 -7634
  18. package/dist/assets/vuetify.js +1 -1
  19. package/index.d.ts +38 -19
  20. package/index.js +35 -6
  21. package/lib/olLib.js +25 -3
  22. package/package.json +6 -6
  23. package/plugins/@vcmap-show-case/callback-tester/README.md +3 -0
  24. package/plugins/@vcmap-show-case/callback-tester/package.json +5 -0
  25. package/plugins/@vcmap-show-case/callback-tester/src/CallbackTester.vue +62 -0
  26. package/plugins/@vcmap-show-case/callback-tester/src/index.js +48 -0
  27. package/plugins/@vcmap-show-case/form-inputs-example/src/FormInputsExample.vue +1 -0
  28. package/src/actions/actionHelper.d.ts +1 -0
  29. package/src/actions/actionHelper.js +70 -19
  30. package/src/application/VcsApp.vue +83 -50
  31. package/src/application/VcsApp.vue.d.ts +24 -2
  32. package/src/application/VcsContainer.vue.d.ts +8 -0
  33. package/src/application/VcsObliqueFooter.vue +9 -3
  34. package/src/application/VcsSplashScreen.vue +37 -0
  35. package/src/application/VcsSplashScreen.vue.d.ts +6 -0
  36. package/src/application/positionDisplayInteraction.js +1 -1
  37. package/src/callback/activateClippingPolygonCallback.d.ts +29 -0
  38. package/src/callback/activateClippingPolygonCallback.js +54 -0
  39. package/src/callback/closeSplashScreenCallback.d.ts +8 -0
  40. package/src/callback/closeSplashScreenCallback.js +33 -0
  41. package/src/callback/deactivateClippingPolygonCallback.d.ts +29 -0
  42. package/src/callback/deactivateClippingPolygonCallback.js +54 -0
  43. package/src/callback/openSplashScreenCallback.d.ts +8 -0
  44. package/src/callback/openSplashScreenCallback.js +35 -0
  45. package/src/callback/toggleNavbarButtonCallback.d.ts +36 -0
  46. package/src/callback/toggleNavbarButtonCallback.js +62 -0
  47. package/src/components/form-inputs-controls/VcsSelect.vue +1 -1
  48. package/src/components/form-inputs-controls/VcsTextArea.vue +12 -7
  49. package/src/components/form-output/markdownHelper.d.ts +0 -25
  50. package/src/components/form-output/markdownHelper.js +1 -386
  51. package/src/components/lists/VcsGroupedList.vue +178 -0
  52. package/src/components/lists/VcsGroupedList.vue.d.ts +17 -0
  53. package/src/components/lists/VcsList.vue +142 -396
  54. package/src/components/lists/VcsList.vue.d.ts +38 -168
  55. package/src/components/lists/VcsTreeview.vue +11 -12
  56. package/src/components/lists/listHelper.d.ts +87 -0
  57. package/src/components/lists/listHelper.js +348 -0
  58. package/src/components/section/VcsFormSection.vue +7 -2
  59. package/src/components/section/VcsFormSection.vue.d.ts +9 -0
  60. package/src/components/vector-properties/VcsVectorPropertiesComponent.vue.d.ts +1 -1
  61. package/src/contentTree/LayerTree.vue +2 -1
  62. package/src/contentTree/LayerTree.vue.d.ts +2 -0
  63. package/src/contentTree/contentTreeCollection.d.ts +1 -0
  64. package/src/contentTree/contentTreeCollection.js +7 -3
  65. package/src/contentTree/contentTreeItem.js +4 -2
  66. package/src/contentTree/groupContentTreeItem.js +5 -3
  67. package/src/featureInfo/ClusterFeatureComponent.vue +58 -0
  68. package/src/featureInfo/ClusterFeatureComponent.vue.d.ts +6 -0
  69. package/src/featureInfo/abstractFeatureInfoView.js +1 -2
  70. package/src/featureInfo/featureInfo.d.ts +87 -1
  71. package/src/featureInfo/featureInfo.js +342 -34
  72. package/src/featureInfo/featureInfoInteraction.js +18 -3
  73. package/src/featureInfo/iframeFeatureInfoView.js +1 -1
  74. package/src/featureInfo/markdownBalloonFeatureInfoView.js +2 -4
  75. package/src/featureInfo/markdownFeatureInfoView.js +1 -1
  76. package/src/i18n/de.d.ts +17 -4
  77. package/src/i18n/de.js +7 -0
  78. package/src/i18n/en.d.ts +17 -4
  79. package/src/i18n/en.js +7 -0
  80. package/src/legend/legendHelper.d.ts +1 -1
  81. package/src/legend/legendHelper.js +52 -9
  82. package/src/localStorage.d.ts +21 -0
  83. package/src/localStorage.js +51 -0
  84. package/src/manager/collectionManager/CollectionComponent.vue +1 -1
  85. package/src/manager/collectionManager/CollectionComponentContent.vue +2 -3
  86. package/src/manager/collectionManager/CollectionComponentList.vue +2 -3
  87. package/src/manager/collectionManager/CollectionComponentStandalone.vue +1 -1
  88. package/src/manager/navbarManager.js +9 -4
  89. package/src/manager/toolbox/ToolboxManagerComponent.vue +10 -8
  90. package/src/manager/toolbox/ToolboxManagerComponent.vue.d.ts +11 -0
  91. package/src/manager/window/windowHelper.d.ts +7 -3
  92. package/src/manager/window/windowHelper.js +30 -10
  93. package/src/navigation/overviewMap.d.ts +1 -0
  94. package/src/navigation/overviewMap.js +4 -3
  95. package/src/pluginHelper.d.ts +7 -0
  96. package/src/pluginHelper.js +18 -4
  97. package/src/search/ResultItem.vue.d.ts +1 -1
  98. package/src/search/search.js +1 -1
  99. package/src/state.d.ts +4 -2
  100. package/src/state.js +54 -31
  101. package/src/uiConfig.d.ts +27 -0
  102. package/src/uiConfig.js +16 -1
  103. package/src/vcsUiApp.js +7 -11
  104. package/dist/assets/ui-5135917c.css +0 -1
  105. /package/dist/assets/{vue-c3c55d88.js → vue-ff37ea23.js} +0 -0
@@ -1 +1 @@
1
- export * from "./vuetify-f02b7bb9.js";
1
+ export * from "./vuetify-2437380c.js";
package/index.d.ts CHANGED
@@ -1,5 +1,8 @@
1
1
  export { default as StyleSelector } from "./src/actions/StyleSelector.vue";
2
2
  export type * from "./src/actions/StyleSelector.vue.d.ts";
3
+ export { parseAndSanitizeMarkdown } from "./src/components/form-output/markdownHelper.js";
4
+ export type * from "./src/components/form-output/markdownHelper.d.ts";
5
+ export { renderTemplate } from "@vcmap/core";
3
6
  export { default as ActivateLayersCallback } from "./src/callback/activateLayersCallback.js";
4
7
  export type * from "./src/callback/activateLayersCallback.d.ts";
5
8
  export { default as DeactivateLayersCallback } from "./src/callback/deactivateLayersCallback.js";
@@ -16,6 +19,16 @@ export { default as AddModuleCallback } from "./src/callback/addModuleCallback.j
16
19
  export type * from "./src/callback/addModuleCallback.d.ts";
17
20
  export { default as RemoveModuleCallback } from "./src/callback/removeModuleCallback.js";
18
21
  export type * from "./src/callback/removeModuleCallback.d.ts";
22
+ export { default as ActivateClippingPolygonCallback } from "./src/callback/activateClippingPolygonCallback.js";
23
+ export type * from "./src/callback/activateClippingPolygonCallback.d.ts";
24
+ export { default as DeactivateClippingPolygonCallback } from "./src/callback/deactivateClippingPolygonCallback.js";
25
+ export type * from "./src/callback/deactivateClippingPolygonCallback.d.ts";
26
+ export { default as OpenSplashScreenCallback } from "./src/callback/openSplashScreenCallback.js";
27
+ export type * from "./src/callback/openSplashScreenCallback.d.ts";
28
+ export { default as CloseSplashScreenCallback } from "./src/callback/closeSplashScreenCallback.js";
29
+ export type * from "./src/callback/closeSplashScreenCallback.d.ts";
30
+ export { default as ToggleNavbarButtonCallback } from "./src/callback/toggleNavbarButtonCallback.js";
31
+ export type * from "./src/callback/toggleNavbarButtonCallback.d.ts";
19
32
  export { default as VcsNavbar } from "./src/application/VcsNavbar.vue";
20
33
  export type * from "./src/application/VcsNavbar.vue.d.ts";
21
34
  export { default as VcsAppWrapper } from "./src/application/VcsAppWrapper.vue";
@@ -30,8 +43,6 @@ export { default as LayerGroupContentTreeItem } from "./src/contentTree/layerGro
30
43
  export type * from "./src/contentTree/layerGroupContentTreeItem.d.ts";
31
44
  export { default as FlightContentTreeItem } from "./src/contentTree/flightContentTreeItem.js";
32
45
  export type * from "./src/contentTree/flightContentTreeItem.d.ts";
33
- export { default as LayerTree } from "./src/contentTree/LayerTree.vue";
34
- export type * from "./src/contentTree/LayerTree.vue.d.ts";
35
46
  export { default as NodeContentTreeItem } from "./src/contentTree/nodeContentTreeItem.js";
36
47
  export type * from "./src/contentTree/nodeContentTreeItem.d.ts";
37
48
  export { default as ObliqueCollectionContentTreeItem } from "./src/contentTree/obliqueCollectionContentTreeItem.js";
@@ -54,8 +65,6 @@ export { default as PanelComponent } from "./src/manager/panel/PanelComponent.vu
54
65
  export type * from "./src/manager/panel/PanelComponent.vue.d.ts";
55
66
  export { default as ButtonManager } from "./src/manager/buttonManager.js";
56
67
  export type * from "./src/manager/buttonManager.d.ts";
57
- export { default as ToolboxManagerComponent } from "./src/manager/toolbox/ToolboxManagerComponent.vue";
58
- export type * from "./src/manager/toolbox/ToolboxManagerComponent.vue.d.ts";
59
68
  export { default as CategoryManager } from "./src/manager/collectionManager/categoryManager.js";
60
69
  export type * from "./src/manager/collectionManager/categoryManager.d.ts";
61
70
  export { default as CollectionManager } from "./src/manager/collectionManager/collectionManager.js";
@@ -96,6 +105,8 @@ export { default as MarkdownFeatureInfoView } from "./src/featureInfo/markdownFe
96
105
  export type * from "./src/featureInfo/markdownFeatureInfoView.d.ts";
97
106
  export { default as MarkdownBalloonFeatureInfoView } from "./src/featureInfo/markdownBalloonFeatureInfoView.js";
98
107
  export type * from "./src/featureInfo/markdownBalloonFeatureInfoView.d.ts";
108
+ export { default as ClusterFeatureComponent } from "./src/featureInfo/ClusterFeatureComponent.vue";
109
+ export type * from "./src/featureInfo/ClusterFeatureComponent.vue.d.ts";
99
110
  export { default as MapNavCompass } from "./src/navigation/MapNavCompass.vue";
100
111
  export type * from "./src/navigation/MapNavCompass.vue.d.ts";
101
112
  export { default as MapNavigation } from "./src/navigation/MapNavigation.vue";
@@ -170,6 +181,18 @@ export { default as VcsList } from "./src/components/lists/VcsList.vue";
170
181
  export type * from "./src/components/lists/VcsList.vue.d.ts";
171
182
  export { default as VcsListItemComponent } from "./src/components/lists/VcsListItemComponent.vue";
172
183
  export type * from "./src/components/lists/VcsListItemComponent.vue.d.ts";
184
+ export { default as VcsGroupedList } from "./src/components/lists/VcsGroupedList.vue";
185
+ export type * from "./src/components/lists/VcsGroupedList.vue.d.ts";
186
+ export * from "./src/components/lists/listHelper.js";
187
+ export type * from "./src/components/lists/listHelper.d.ts";
188
+ export * from "./src/application/attributionsHelper.js";
189
+ export type * from "./src/application/attributionsHelper.d.ts";
190
+ export * from "./src/components/attrsHelpers.js";
191
+ export type * from "./src/components/attrsHelpers.d.ts";
192
+ export * from "./src/components/modelHelper.js";
193
+ export type * from "./src/components/modelHelper.d.ts";
194
+ export * from "./src/components/composables.js";
195
+ export type * from "./src/components/composables.d.ts";
173
196
  export { default as VcsTreeview } from "./src/components/lists/VcsTreeview.vue";
174
197
  export type * from "./src/components/lists/VcsTreeview.vue.d.ts";
175
198
  export { default as VcsTreeNode } from "./src/components/lists/VcsTreeNode.vue";
@@ -230,14 +253,6 @@ export { default as VcsExpansionPanel } from "./src/components/section/VcsExpans
230
253
  export type * from "./src/components/section/VcsExpansionPanel.vue.d.ts";
231
254
  export { default as VcsSplashScreen } from "./src/application/VcsSplashScreen.vue";
232
255
  export type * from "./src/application/VcsSplashScreen.vue.d.ts";
233
- export * from "./src/application/attributionsHelper.js";
234
- export type * from "./src/application/attributionsHelper.d.ts";
235
- export * from "./src/components/attrsHelpers.js";
236
- export type * from "./src/components/attrsHelpers.d.ts";
237
- export * from "./src/components/modelHelper.js";
238
- export type * from "./src/components/modelHelper.d.ts";
239
- export * from "./src/components/composables.js";
240
- export type * from "./src/components/composables.d.ts";
241
256
  export { default as Search } from "./src/search/search.js";
242
257
  export type * from "./src/search/search.d.ts";
243
258
  export { markText } from "./src/search/markText.js";
@@ -246,10 +261,8 @@ export { default as ResultItemComponent } from "./src/search/ResultItem.vue";
246
261
  export type * from "./src/search/ResultItem.vue.d.ts";
247
262
  export { default as ResultsComponent } from "./src/search/ResultsComponent.vue";
248
263
  export type * from "./src/search/ResultsComponent.vue.d.ts";
249
- export { createMapButtonAction, createToggleAction, createOverviewMapAction, createModalAction, createLinkAction, createGoToViewpointAction, createZoomToFeatureAction } from "./src/actions/actionHelper.js";
264
+ export { createMapButtonAction, createToggleAction, createOverviewMapAction, createModalAction, createLinkAction, createGoToViewpointAction, createZoomToFeatureAction, searchComponentId } from "./src/actions/actionHelper.js";
250
265
  export type * from "./src/actions/actionHelper.d.ts";
251
- export { parseAndSanitizeMarkdown, renderTemplate } from "./src/components/form-output/markdownHelper.js";
252
- export type * from "./src/components/form-output/markdownHelper.d.ts";
253
266
  export { createStateRefAction, StateActionState } from "./src/actions/stateRefAction.js";
254
267
  export type * from "./src/actions/stateRefAction.d.ts";
255
268
  export { createLayerToggleAction, createZoomToExtentAction, createExtentFeatureAction, setupExtentComponentActions } from "./src/actions/extentActions.js";
@@ -260,12 +273,14 @@ export { createListItemDeleteAction, createListItemBulkAction, createListExportA
260
273
  export type * from "./src/actions/listActions.d.ts";
261
274
  export { default as VcsCallback, executeCallbacks } from "./src/callback/vcsCallback.js";
262
275
  export type * from "./src/callback/vcsCallback.d.ts";
263
- export { default as VcsApp, setupMapNavbar, setupPluginMountedListeners, setupCategoryManagerWindow, categoryManagerWindowId } from "./src/application/VcsApp.vue";
276
+ export { default as VcsApp, setupMapNavbar, setupPluginMountedListeners, setupCategoryManagerWindow, attributionsComponentId, categoryManagerWindowId, customScreenComponentId, helpComponentId, legendComponentId, settingsComponentId, splashScreenComponentId } from "./src/application/VcsApp.vue";
264
277
  export type * from "./src/application/VcsApp.vue.d.ts";
265
- export { default as ContentTreeCollection, createContentTreeCollection } from "./src/contentTree/contentTreeCollection.js";
278
+ export { default as ContentTreeCollection, createContentTreeCollection, defaultContentTreeComponentId } from "./src/contentTree/contentTreeCollection.js";
266
279
  export type * from "./src/contentTree/contentTreeCollection.d.ts";
267
280
  export { default as LayerContentTreeItem, setViewpointAction, getStateFromLayer } from "./src/contentTree/layerContentTreeItem.js";
268
281
  export type * from "./src/contentTree/layerContentTreeItem.d.ts";
282
+ export { default as LayerTree, openStateMapSymbol } from "./src/contentTree/LayerTree.vue";
283
+ export type * from "./src/contentTree/LayerTree.vue.d.ts";
269
284
  export { default as WindowManager, WindowSlot, WindowPositions, posToPixel, windowPositionFromOptions } from "./src/manager/window/windowManager.js";
270
285
  export type * from "./src/manager/window/windowManager.d.ts";
271
286
  export { WindowAlignment, getFittedWindowPositionOptions, getFittedWindowPositionOptionsFromMapEvent, getTargetSize, getWindowPositionOptions, getWindowPositionOptionsFromMapEvent, posToNumber, posToPercent, optionsFromWindowPosition, updateWindowPosition, clipToTargetSize, moveWindow, applyParentPosition, getPositionAppliedOnTarget } from "./src/manager/window/windowHelper.js";
@@ -276,6 +291,8 @@ export { default as NavbarManager, ButtonLocation, getActionsByLocation } from "
276
291
  export type * from "./src/manager/navbarManager.d.ts";
277
292
  export { default as ToolboxManager, ToolboxType, defaultToolboxName } from "./src/manager/toolbox/toolboxManager.js";
278
293
  export type * from "./src/manager/toolbox/toolboxManager.d.ts";
294
+ export { default as ToolboxManagerComponent, toolboxComponentId } from "./src/manager/toolbox/ToolboxManagerComponent.vue";
295
+ export type * from "./src/manager/toolbox/ToolboxManagerComponent.vue.d.ts";
279
296
  export { default as CollectionComponentClass, createSupportedMapMappingFunction } from "./src/manager/collectionManager/collectionComponentClass.js";
280
297
  export type * from "./src/manager/collectionManager/collectionComponentClass.d.ts";
281
298
  export { makeEditorCollectionComponentClass, isEditorCollectionComponentClass } from "./src/manager/collectionManager/editorCollectionComponentClass.js";
@@ -286,9 +303,9 @@ export { extractNestedKey, default as BalloonFeatureInfoView } from "./src/featu
286
303
  export type * from "./src/featureInfo/balloonFeatureInfoView.d.ts";
287
304
  export { getBalloonPosition, setBalloonPosition, setupBalloonPositionListener } from "./src/featureInfo/balloonHelper.js";
288
305
  export type * from "./src/featureInfo/balloonHelper.d.ts";
289
- export { getHighlightStyle, featureInfoViewSymbol } from "./src/featureInfo/featureInfo.js";
306
+ export { getHighlightStyleFromStyle, getHighlightStyle, getClusterHighlightStyle, featureInfoViewSymbol } from "./src/featureInfo/featureInfo.js";
290
307
  export type * from "./src/featureInfo/featureInfo.d.ts";
291
- export { getWindowComponentOptions, default as OverviewMap } from "./src/navigation/overviewMap.js";
308
+ export { getWindowComponentOptions, default as OverviewMap, overviewMapWindowId } from "./src/navigation/overviewMap.js";
292
309
  export type * from "./src/navigation/overviewMap.d.ts";
293
310
  export { createVueI18n, setupI18n } from "./src/vuePlugins/i18n.js";
294
311
  export type * from "./src/vuePlugins/i18n.d.ts";
@@ -298,6 +315,8 @@ export { createVcsThemes, createVcsVuetify, isDark, getDefaultPrimaryColor, getC
298
315
  export type * from "./src/vuePlugins/vuetify.d.ts";
299
316
  export { downloadURI, downloadBlob, downloadText, downloadCanvas } from "./src/downloadHelper.js";
300
317
  export type * from "./src/downloadHelper.d.ts";
318
+ export { getFromLocalStorage, setToLocalStorage, removeFromLocalStorage, hideSplashScreenKey } from "./src/localStorage.js";
319
+ export type * from "./src/localStorage.d.ts";
301
320
  export { default as initApp, VcsUiAppConfigPattern, initAppFromModule, initAppFromAppConfig, createModuleFromObjectOrUrl } from "./src/init.js";
302
321
  export type * from "./src/init.d.ts";
303
322
  export { vcsAppSymbol, pluginFactorySymbol, pluginBaseUrlSymbol, pluginModuleUrlSymbol, getPluginAssetUrl, isValidPackageName, loadPlugin, serializePlugin, deserializePlugin } from "./src/pluginHelper.js";
package/index.js CHANGED
@@ -10,11 +10,10 @@ export {
10
10
  createLinkAction,
11
11
  createGoToViewpointAction,
12
12
  createZoomToFeatureAction,
13
+ searchComponentId,
13
14
  } from './src/actions/actionHelper.js';
14
- export {
15
- parseAndSanitizeMarkdown,
16
- renderTemplate,
17
- } from './src/components/form-output/markdownHelper.js';
15
+ export { parseAndSanitizeMarkdown } from './src/components/form-output/markdownHelper.js';
16
+ export { renderTemplate } from '@vcmap/core';
18
17
  export {
19
18
  createStateRefAction,
20
19
  StateActionState,
@@ -56,19 +55,31 @@ export { default as StopRotationCallback } from './src/callback/stopRotationCall
56
55
  export { default as StartRotationCallback } from './src/callback/startRotationCallback.js';
57
56
  export { default as AddModuleCallback } from './src/callback/addModuleCallback.js';
58
57
  export { default as RemoveModuleCallback } from './src/callback/removeModuleCallback.js';
58
+ export { default as ActivateClippingPolygonCallback } from './src/callback/activateClippingPolygonCallback.js';
59
+ export { default as DeactivateClippingPolygonCallback } from './src/callback/deactivateClippingPolygonCallback.js';
60
+ export { default as OpenSplashScreenCallback } from './src/callback/openSplashScreenCallback.js';
61
+ export { default as CloseSplashScreenCallback } from './src/callback/closeSplashScreenCallback.js';
62
+ export { default as ToggleNavbarButtonCallback } from './src/callback/toggleNavbarButtonCallback.js';
59
63
  export { default as VcsNavbar } from './src/application/VcsNavbar.vue';
60
64
  export {
61
65
  default as VcsApp,
62
66
  setupMapNavbar,
63
67
  setupPluginMountedListeners,
64
68
  setupCategoryManagerWindow,
69
+ attributionsComponentId,
65
70
  categoryManagerWindowId,
71
+ customScreenComponentId,
72
+ helpComponentId,
73
+ legendComponentId,
74
+ settingsComponentId,
75
+ splashScreenComponentId,
66
76
  } from './src/application/VcsApp.vue';
67
77
  export { default as VcsAppWrapper } from './src/application/VcsAppWrapper.vue';
68
78
  export { default as VcsMap } from './src/application/VcsMap.vue';
69
79
  export {
70
80
  default as ContentTreeCollection,
71
81
  createContentTreeCollection,
82
+ defaultContentTreeComponentId,
72
83
  } from './src/contentTree/contentTreeCollection.js';
73
84
  export { default as ContentTreeItem } from './src/contentTree/contentTreeItem.js';
74
85
  export { default as GroupContentTreeItem } from './src/contentTree/groupContentTreeItem.js';
@@ -79,7 +90,10 @@ export {
79
90
  } from './src/contentTree/layerContentTreeItem.js';
80
91
  export { default as LayerGroupContentTreeItem } from './src/contentTree/layerGroupContentTreeItem.js';
81
92
  export { default as FlightContentTreeItem } from './src/contentTree/flightContentTreeItem.js';
82
- export { default as LayerTree } from './src/contentTree/LayerTree.vue';
93
+ export {
94
+ default as LayerTree,
95
+ openStateMapSymbol,
96
+ } from './src/contentTree/LayerTree.vue';
83
97
  export { default as NodeContentTreeItem } from './src/contentTree/nodeContentTreeItem.js';
84
98
  export { default as ObliqueCollectionContentTreeItem } from './src/contentTree/obliqueCollectionContentTreeItem.js';
85
99
  export { default as SubContentTreeItem } from './src/contentTree/subContentTreeItem.js';
@@ -128,7 +142,10 @@ export {
128
142
  ToolboxType,
129
143
  defaultToolboxName,
130
144
  } from './src/manager/toolbox/toolboxManager.js';
131
- export { default as ToolboxManagerComponent } from './src/manager/toolbox/ToolboxManagerComponent.vue';
145
+ export {
146
+ default as ToolboxManagerComponent,
147
+ toolboxComponentId,
148
+ } from './src/manager/toolbox/ToolboxManagerComponent.vue';
132
149
  export { default as CategoryManager } from './src/manager/collectionManager/categoryManager.js';
133
150
  export { default as CollectionManager } from './src/manager/collectionManager/collectionManager.js';
134
151
  export { default as CollectionManagerComponent } from './src/manager/collectionManager/CollectionManager.vue';
@@ -172,9 +189,12 @@ export { default as TableFeatureInfoView } from './src/featureInfo/tableFeatureI
172
189
  export { default as MarkdownFeatureInfoView } from './src/featureInfo/markdownFeatureInfoView.js';
173
190
  export { default as MarkdownBalloonFeatureInfoView } from './src/featureInfo/markdownBalloonFeatureInfoView.js';
174
191
  export {
192
+ getHighlightStyleFromStyle,
175
193
  getHighlightStyle,
194
+ getClusterHighlightStyle,
176
195
  featureInfoViewSymbol,
177
196
  } from './src/featureInfo/featureInfo.js';
197
+ export { default as ClusterFeatureComponent } from './src/featureInfo/ClusterFeatureComponent.vue';
178
198
 
179
199
  export { default as MapNavCompass } from './src/navigation/MapNavCompass.vue';
180
200
  export { default as MapNavigation } from './src/navigation/MapNavigation.vue';
@@ -183,6 +203,7 @@ export { default as OrientationToolsButton } from './src/navigation/OrientationT
183
203
  export {
184
204
  getWindowComponentOptions,
185
205
  default as OverviewMap,
206
+ overviewMapWindowId,
186
207
  } from './src/navigation/overviewMap.js';
187
208
  export { default as OverviewMapClickedInteraction } from './src/navigation/overviewMapClickedInteraction.js';
188
209
  export { default as TiltSlider } from './src/navigation/TiltSlider.vue';
@@ -209,6 +230,12 @@ export {
209
230
  downloadText,
210
231
  downloadCanvas,
211
232
  } from './src/downloadHelper.js';
233
+ export {
234
+ getFromLocalStorage,
235
+ setToLocalStorage,
236
+ removeFromLocalStorage,
237
+ hideSplashScreenKey,
238
+ } from './src/localStorage.js';
212
239
  export {
213
240
  default as initApp,
214
241
  VcsUiAppConfigPattern,
@@ -270,6 +297,8 @@ export {
270
297
  } from './src/components/lists/VcsActionList.vue';
271
298
  export { default as VcsList } from './src/components/lists/VcsList.vue';
272
299
  export { default as VcsListItemComponent } from './src/components/lists/VcsListItemComponent.vue';
300
+ export { default as VcsGroupedList } from './src/components/lists/VcsGroupedList.vue';
301
+ export * from './src/components/lists/listHelper.js';
273
302
  export { default as VcsTreeview } from './src/components/lists/VcsTreeview.vue';
274
303
  export { default as VcsTreeNode } from './src/components/lists/VcsTreeNode.vue';
275
304
  export { default as VcsTreeviewTitle } from './src/components/lists/VcsTreeviewTitle.vue';
package/lib/olLib.js CHANGED
@@ -35,7 +35,6 @@ export {default as ol$Observable} from 'ol/Observable';
35
35
  export {unByKey as ol$Observable$unByKey} from 'ol/Observable';
36
36
  export {default as ol$Overlay} from 'ol/Overlay';
37
37
  export {default as ol$Tile} from 'ol/Tile';
38
- export {default as ol$TileCache} from 'ol/TileCache';
39
38
  export {default as ol$TileQueue} from 'ol/TileQueue';
40
39
  export {getTilePriority as ol$TileQueue$getTilePriority} from 'ol/TileQueue';
41
40
  export {createOrUpdate as ol$TileRange$createOrUpdate} from 'ol/TileRange';
@@ -187,6 +186,8 @@ export {stringToGlsl as ol$expr$gpu$stringToGlsl} from 'ol/expr/gpu';
187
186
  export {uniformNameForVariable as ol$expr$gpu$uniformNameForVariable} from 'ol/expr/gpu';
188
187
  export {newCompilationContext as ol$expr$gpu$newCompilationContext} from 'ol/expr/gpu';
189
188
  export {PALETTE_TEXTURE_ARRAY as ol$expr$gpu$PALETTE_TEXTURE_ARRAY} from 'ol/expr/gpu';
189
+ export {FEATURE_ID_PROPERTY_NAME as ol$expr$gpu$FEATURE_ID_PROPERTY_NAME} from 'ol/expr/gpu';
190
+ export {GEOMETRY_TYPE_PROPERTY_NAME as ol$expr$gpu$GEOMETRY_TYPE_PROPERTY_NAME} from 'ol/expr/gpu';
190
191
  export {buildExpression as ol$expr$gpu$buildExpression} from 'ol/expr/gpu';
191
192
  export {default as ol$extent$Relationship} from 'ol/extent/Relationship';
192
193
  export {boundingExtent as ol$extent$boundingExtent} from 'ol/extent';
@@ -446,8 +447,8 @@ export {CREATE_IMAGE_BITMAP as ol$has$CREATE_IMAGE_BITMAP} from 'ol/has';
446
447
  export {PASSIVE_EVENT_LISTENERS as ol$has$PASSIVE_EVENT_LISTENERS} from 'ol/has';
447
448
  export {Graticule as ol$Graticule} from 'ol/index.js';
448
449
  export {ImageWrapper as ol$ImageWrapper} from 'ol/index.js';
449
- export {getUid as ol$getUid} from 'ol/index.js';
450
450
  export {VERSION as ol$VERSION} from 'ol/index.js';
451
+ export {getUid as ol$getUid} from 'ol/index.js';
451
452
  export {default as ol$interaction$DblClickDragZoom} from 'ol/interaction/DblClickDragZoom';
452
453
  export {default as ol$interaction$DoubleClickZoom} from 'ol/interaction/DoubleClickZoom';
453
454
  export {DragAndDropEvent as ol$interaction$DragAndDrop$DragAndDropEvent} from 'ol/interaction/DragAndDrop';
@@ -505,6 +506,8 @@ export {default as ol$layer$VectorImage} from 'ol/layer/VectorImage';
505
506
  export {default as ol$layer$VectorTile} from 'ol/layer/VectorTile';
506
507
  export {default as ol$layer$WebGLPoints} from 'ol/layer/WebGLPoints';
507
508
  export {default as ol$layer$WebGLTile} from 'ol/layer/WebGLTile';
509
+ export {default as ol$layer$WebGLVector} from 'ol/layer/WebGLVector';
510
+ export {default as ol$layer$WebGLVectorTile} from 'ol/layer/WebGLVectorTile';
508
511
  export {all as ol$loadingstrategy$all} from 'ol/loadingstrategy';
509
512
  export {bbox as ol$loadingstrategy$bbox} from 'ol/loadingstrategy';
510
513
  export {tile as ol$loadingstrategy$tile} from 'ol/loadingstrategy';
@@ -520,6 +523,7 @@ export {toFixed as ol$math$toFixed} from 'ol/math';
520
523
  export {round as ol$math$round} from 'ol/math';
521
524
  export {floor as ol$math$floor} from 'ol/math';
522
525
  export {ceil as ol$math$ceil} from 'ol/math';
526
+ export {wrap as ol$math$wrap} from 'ol/math';
523
527
  export {jsonp as ol$net$jsonp} from 'ol/net';
524
528
  export {ResponseError as ol$net$ResponseError} from 'ol/net';
525
529
  export {ClientError as ol$net$ClientError} from 'ol/net';
@@ -560,6 +564,9 @@ export {clear as ol$proj$transforms$clear} from 'ol/proj/transforms';
560
564
  export {add as ol$proj$transforms$add} from 'ol/proj/transforms';
561
565
  export {remove as ol$proj$transforms$remove} from 'ol/proj/transforms';
562
566
  export {get as ol$proj$transforms$get} from 'ol/proj/transforms';
567
+ export {zoneFromCode as ol$proj$utm$zoneFromCode} from 'ol/proj/utm';
568
+ export {makeProjection as ol$proj$utm$makeProjection} from 'ol/proj/utm';
569
+ export {makeTransforms as ol$proj$utm$makeTransforms} from 'ol/proj/utm';
563
570
  export {METERS_PER_UNIT as ol$proj$METERS_PER_UNIT} from 'ol/proj';
564
571
  export {disableCoordinateWarning as ol$proj$disableCoordinateWarning} from 'ol/proj';
565
572
  export {cloneTransform as ol$proj$cloneTransform} from 'ol/proj';
@@ -664,6 +671,7 @@ export {writePolygonTrianglesToBuffers as ol$render$webgl$utils$writePolygonTria
664
671
  export {getBlankImageData as ol$render$webgl$utils$getBlankImageData} from 'ol/render/webgl/utils';
665
672
  export {colorEncodeId as ol$render$webgl$utils$colorEncodeId} from 'ol/render/webgl/utils';
666
673
  export {colorDecodeId as ol$render$webgl$utils$colorDecodeId} from 'ol/render/webgl/utils';
674
+ export {breakDownFlatStyle as ol$render$webgl$utils$breakDownFlatStyle} from 'ol/render/webgl/utils';
667
675
  export {toContext as ol$render$toContext} from 'ol/render';
668
676
  export {getVectorContext as ol$render$getVectorContext} from 'ol/render';
669
677
  export {getRenderPixel as ol$render$getRenderPixel} from 'ol/render';
@@ -704,6 +712,10 @@ export {default as ol$reproj$Image} from 'ol/reproj/Image';
704
712
  export {default as ol$reproj$Tile} from 'ol/reproj/Tile';
705
713
  export {default as ol$reproj$Triangulation} from 'ol/reproj/Triangulation';
706
714
  export {ERROR_THRESHOLD as ol$reproj$common$ERROR_THRESHOLD} from 'ol/reproj/common';
715
+ export {createCanvasContextWebGL as ol$reproj$glreproj$createCanvasContextWebGL} from 'ol/reproj/glreproj';
716
+ export {releaseGLCanvas as ol$reproj$glreproj$releaseGLCanvas} from 'ol/reproj/glreproj';
717
+ export {canvasGLPool as ol$reproj$glreproj$canvasGLPool} from 'ol/reproj/glreproj';
718
+ export {render as ol$reproj$glreproj$render} from 'ol/reproj/glreproj';
707
719
  export {canvasPool as ol$reproj$canvasPool} from 'ol/reproj';
708
720
  export {calculateSourceResolution as ol$reproj$calculateSourceResolution} from 'ol/reproj';
709
721
  export {calculateSourceExtentResolution as ol$reproj$calculateSourceExtentResolution} from 'ol/reproj';
@@ -746,6 +758,10 @@ export {default as ol$source$OSM} from 'ol/source/OSM';
746
758
  export {Processor as ol$source$Raster$Processor} from 'ol/source/Raster';
747
759
  export {RasterSourceEvent as ol$source$Raster$RasterSourceEvent} from 'ol/source/Raster';
748
760
  export {default as ol$source$Raster} from 'ol/source/Raster';
761
+ export {parseTokenClaims as ol$source$SentinelHub$parseTokenClaims} from 'ol/source/SentinelHub';
762
+ export {getProjectionIdentifier as ol$source$SentinelHub$getProjectionIdentifier} from 'ol/source/SentinelHub';
763
+ export {serializeFunction as ol$source$SentinelHub$serializeFunction} from 'ol/source/SentinelHub';
764
+ export {default as ol$source$SentinelHub} from 'ol/source/SentinelHub';
749
765
  export {default as ol$source$Source} from 'ol/source/Source';
750
766
  export {default as ol$source$StadiaMaps} from 'ol/source/StadiaMaps';
751
767
  export {default as ol$source$Tile} from 'ol/source/Tile';
@@ -774,6 +790,7 @@ export {createLoader as ol$source$arcgisRest$createLoader} from 'ol/source/arcgi
774
790
  export {DEFAULT_WMS_VERSION as ol$source$common$DEFAULT_WMS_VERSION} from 'ol/source/common';
775
791
  export {DECIMALS as ol$source$common$DECIMALS} from 'ol/source/common';
776
792
  export {createLoader as ol$source$mapguide$createLoader} from 'ol/source/mapguide';
793
+ export {createLoader as ol$source$mapserver$createLoader} from 'ol/source/mapserver';
777
794
  export {appendCollectionsQueryParam as ol$source$ogcTileUtil$appendCollectionsQueryParam} from 'ol/source/ogcTileUtil';
778
795
  export {getMapTileUrlTemplate as ol$source$ogcTileUtil$getMapTileUrlTemplate} from 'ol/source/ogcTileUtil';
779
796
  export {getVectorTileUrlTemplate as ol$source$ogcTileUtil$getVectorTileUrlTemplate} from 'ol/source/ogcTileUtil';
@@ -842,7 +859,6 @@ export {createFromTemplate as ol$tileurlfunction$createFromTemplate} from 'ol/ti
842
859
  export {createFromTemplates as ol$tileurlfunction$createFromTemplates} from 'ol/tileurlfunction';
843
860
  export {createFromTileUrlFunctions as ol$tileurlfunction$createFromTileUrlFunctions} from 'ol/tileurlfunction';
844
861
  export {nullTileUrlFunction as ol$tileurlfunction$nullTileUrlFunction} from 'ol/tileurlfunction';
845
- export {expandUrl as ol$tileurlfunction$expandUrl} from 'ol/tileurlfunction';
846
862
  export {create as ol$transform$create} from 'ol/transform';
847
863
  export {reset as ol$transform$reset} from 'ol/transform';
848
864
  export {multiply as ol$transform$multiply} from 'ol/transform';
@@ -868,10 +884,16 @@ export {getUid as ol$util$getUid} from 'ol/util';
868
884
  export {VERSION as ol$util$VERSION} from 'ol/util';
869
885
  export {create as ol$vec$mat4$create} from 'ol/vec/mat4';
870
886
  export {fromTransform as ol$vec$mat4$fromTransform} from 'ol/vec/mat4';
887
+ export {orthographic as ol$vec$mat4$orthographic} from 'ol/vec/mat4';
888
+ export {scale as ol$vec$mat4$scale} from 'ol/vec/mat4';
889
+ export {translate as ol$vec$mat4$translate} from 'ol/vec/mat4';
890
+ export {translation as ol$vec$mat4$translation} from 'ol/vec/mat4';
871
891
  export {default as ol$webgl$BaseTileRepresentation} from 'ol/webgl/BaseTileRepresentation';
872
892
  export {BufferUsage as ol$webgl$Buffer$BufferUsage} from 'ol/webgl/Buffer';
873
893
  export {getArrayClassForType as ol$webgl$Buffer$getArrayClassForType} from 'ol/webgl/Buffer';
874
894
  export {default as ol$webgl$Buffer} from 'ol/webgl/Buffer';
895
+ export {Canvas as ol$webgl$Canvas$Canvas} from 'ol/webgl/Canvas';
896
+ export {createProgram as ol$webgl$Canvas$createProgram} from 'ol/webgl/Canvas';
875
897
  export {default as ol$webgl$ContextEventType} from 'ol/webgl/ContextEventType';
876
898
  export {ShaderType as ol$webgl$Helper$ShaderType} from 'ol/webgl/Helper';
877
899
  export {DefaultUniform as ol$webgl$Helper$DefaultUniform} from 'ol/webgl/Helper';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vcmap/ui",
3
- "version": "6.1.0-rc.2",
3
+ "version": "6.1.0-rc.3",
4
4
  "author": "Virtual City Systems",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -50,17 +50,17 @@
50
50
  "@vcsuite/parsers": "^2.0.1",
51
51
  "dompurify": "^3.1.6",
52
52
  "fast-deep-equal": "^3.1.3",
53
- "marked": "^14.0.0",
53
+ "marked": "^15.0.0",
54
54
  "semver": "^7.6.3",
55
- "uuid": "^10.0.0",
55
+ "uuid": "^11.0.0",
56
56
  "vue-i18n": "^9.13.1"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "@vcmap-cesium/engine": "^11.0.2",
60
- "@vcmap/core": "^6.1.0-rc.1",
61
- "ol": "^10.2.1",
60
+ "@vcmap/core": "^6.1.0-rc.4",
61
+ "ol": "^10.4.0",
62
62
  "vue": "~3.4.38",
63
- "vuetify": "^3.7.3"
63
+ "vuetify": "^3.7.11"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@histoire/plugin-vue": "^0.17.17",
@@ -0,0 +1,3 @@
1
+ # Callback Tester
2
+
3
+ This is a show-case plugin demonstrating the usage of the [VcsCallbacks](../../../src/callback/vcsCallback.js).
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "@vcmap-show-case/callback-tester",
3
+ "version": "1.0.0",
4
+ "mapVersion": "^6.0"
5
+ }
@@ -0,0 +1,62 @@
1
+ <template>
2
+ <div class="pa-1">
3
+ <VcsTextArea
4
+ class="pb-1"
5
+ placeholder=" JSON callback"
6
+ v-model="callback"
7
+ :rules="[(v) => isJSONValid(v) || 'Invalid JSON input']"
8
+ />
9
+ <v-row no-gutters class="d-flex justify-end pt-1 pr-1">
10
+ <VcsFormButton variant="filled" @click="call"> Execute </VcsFormButton>
11
+ </v-row>
12
+ </div>
13
+ </template>
14
+
15
+ <script>
16
+ import { inject, ref } from 'vue';
17
+ import { VRow } from 'vuetify/components';
18
+ import { NotificationType, VcsFormButton, VcsTextArea } from '@vcmap/ui';
19
+
20
+ export default {
21
+ name: 'CallbackTester',
22
+ components: { VRow, VcsFormButton, VcsTextArea },
23
+ setup() {
24
+ /** @type {import("../../../../src/vcsUiApp.js").default} */
25
+ const app = inject('vcsApp');
26
+ const callback = ref();
27
+
28
+ return {
29
+ callback,
30
+ isJSONValid(str) {
31
+ try {
32
+ JSON.parse(str);
33
+ } catch (e) {
34
+ return false;
35
+ }
36
+ return true;
37
+ },
38
+ call() {
39
+ try {
40
+ const createdCallback =
41
+ app.callbackClassRegistry.createFromTypeOptions(
42
+ { ...JSON.parse(callback.value) },
43
+ app,
44
+ );
45
+ createdCallback.callback();
46
+ app.notifier.add({
47
+ type: NotificationType.SUCCESS,
48
+ message: `Callback succesfully executed!`,
49
+ });
50
+ } catch (error) {
51
+ app.notifier.add({
52
+ type: NotificationType.ERROR,
53
+ message: `An error occured when calling the callback: ${error.message}`,
54
+ });
55
+ }
56
+ },
57
+ };
58
+ },
59
+ };
60
+ </script>
61
+
62
+ <style lang="scss" scoped></style>
@@ -0,0 +1,48 @@
1
+ import { ButtonLocation, createToggleAction, WindowSlot } from '@vcmap/ui';
2
+ import CallbackTester from './CallbackTester.vue';
3
+ import packageJSON from '../package.json';
4
+
5
+ /**
6
+ * @returns {VcsPlugin}
7
+ */
8
+ export default function callbackTester() {
9
+ return {
10
+ get name() {
11
+ return packageJSON.name;
12
+ },
13
+ get version() {
14
+ return packageJSON.version;
15
+ },
16
+ get mapVersion() {
17
+ return packageJSON.mapVersion;
18
+ },
19
+ onVcsAppMounted(app) {
20
+ const { action, destroy } = createToggleAction(
21
+ {
22
+ name: 'Callback Tester',
23
+ title: 'Callback Tester Plugin',
24
+ icon: 'mdi-phone-return-outline',
25
+ },
26
+ {
27
+ id: 'callback-tester',
28
+ component: CallbackTester,
29
+ slot: WindowSlot.DYNAMIC_LEFT,
30
+ state: {
31
+ headerTitle: 'Callback Tester',
32
+ headerIcon: 'mdi-phone-return-outline',
33
+ },
34
+ },
35
+ app.windowManager,
36
+ packageJSON.name,
37
+ );
38
+ app.navbarManager.add({ action }, packageJSON.name, ButtonLocation.TOOL);
39
+ this._destroyAction = destroy;
40
+ },
41
+ destroy() {
42
+ if (this._destroyAction) {
43
+ this._destroyAction();
44
+ this._destroyAction = null;
45
+ }
46
+ },
47
+ };
48
+ }
@@ -6,6 +6,7 @@
6
6
  start-open
7
7
  :header-actions="actions"
8
8
  :action-button-list-overflow-count="4"
9
+ :start-help-open="true"
9
10
  >
10
11
  <template #help>
11
12
  <ol>
@@ -107,6 +107,7 @@ export function getViewpointFromFeature(feature: import("ol").Feature): Viewpoin
107
107
  * @returns {VcsAction|null} returns null if the feature does not have a geometry with a valid extent
108
108
  */
109
109
  export function createZoomToFeatureAction(actionOptions: ActionOptions, feature: import("ol").Feature, mapCollection: import("@vcmap/core").MapCollection): VcsAction | null;
110
+ export const searchComponentId: "searchId";
110
111
  export type ActionOptions = Omit<VcsAction, 'callback'>;
111
112
  export type ActionCallback = (p?: PointerEvent) => (void | Promise<void>);
112
113
  export type VcsAction = {