@vcmap/ui 5.0.0-rc.15 → 5.0.0-rc.17

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 (91) hide show
  1. package/build/buildHelpers.js +7 -1
  2. package/config/base.config.json +7 -45
  3. package/config/dev.config.json +5 -1
  4. package/config/www.config.json +14 -13
  5. package/dist/assets/{cesium.2e288a.js → cesium.41de56.js} +0 -0
  6. package/dist/assets/cesium.js +1 -1
  7. package/dist/assets/{core.8014d3.js → core.af84e3.js} +6077 -4544
  8. package/dist/assets/core.js +1 -1
  9. package/dist/assets/{index.3f74fa92.js → index.5b773cad.js} +1 -1
  10. package/dist/assets/{ol.31c3a5.js → ol.5c7490.js} +0 -0
  11. package/dist/assets/ol.js +1 -1
  12. package/dist/assets/ui.dffe32.css +1 -0
  13. package/dist/assets/{ui.36f84f.js → ui.dffe32.js} +7243 -6234
  14. package/dist/assets/ui.js +1 -1
  15. package/dist/assets/{vue.a39c10.js → vue.25da17.js} +0 -0
  16. package/dist/assets/vue.js +2 -2
  17. package/dist/assets/{vuetify.378637.css → vuetify.e4ece7.css} +1 -1
  18. package/dist/assets/{vuetify.378637.js → vuetify.e4ece7.js} +5 -2
  19. package/dist/assets/vuetify.js +2 -2
  20. package/dist/index.html +1 -1
  21. package/index.html +77 -0
  22. package/index.js +18 -3
  23. package/package.json +4 -2
  24. package/plugins/@vcmap/create-link/fallbackCreateLink.vue +4 -1
  25. package/plugins/@vcmap/create-link/index.js +4 -1
  26. package/plugins/@vcmap/pluginExample/exampleActions.js +45 -0
  27. package/plugins/@vcmap/pluginExample/index.js +26 -2
  28. package/plugins/@vcmap/pluginExample/pluginExampleComponent.vue +77 -42
  29. package/plugins/@vcmap/search-nominatim/nominatim.js +1 -1
  30. package/plugins/@vcmap/theme-changer/ThemeChangerComponent.vue +4 -2
  31. package/plugins/categoryTest/Categories.vue +27 -13
  32. package/plugins/categoryTest/Category.vue +7 -1
  33. package/plugins/categoryTest/index.js +1 -1
  34. package/plugins/notifier/index.js +31 -0
  35. package/plugins/notifier/notifierTester.vue +88 -0
  36. package/plugins/package.json +1 -1
  37. package/plugins/test/allIconsComponent.vue +5 -5
  38. package/plugins/test/emptyComponent.vue +1 -1
  39. package/plugins/test/index.js +27 -3
  40. package/plugins/test/myCustomHeader.vue +9 -1
  41. package/plugins/test/testList.vue +290 -0
  42. package/plugins/test/vcsContent.vue +1 -1
  43. package/plugins/test/windowManagerExample.vue +12 -7
  44. package/plugins/wizardExample/index.js +41 -0
  45. package/plugins/wizardExample/wizardExample.vue +77 -0
  46. package/src/actions/actionHelper.js +10 -9
  47. package/src/application/VcsApp.vue +43 -34
  48. package/src/components/form-inputs-controls/VcsCheckbox.vue +1 -0
  49. package/src/components/form-inputs-controls/VcsFormSection.vue +23 -15
  50. package/src/components/form-inputs-controls/VcsSelect.vue +33 -1
  51. package/src/components/form-inputs-controls/VcsTextField.vue +11 -3
  52. package/src/components/form-inputs-controls/VcsWizard.vue +133 -0
  53. package/src/components/imageElementInjector.vue +22 -0
  54. package/src/components/lists/VcsList.vue +468 -0
  55. package/src/components/lists/VcsTreeview.vue +1 -2
  56. package/src/components/lists/VcsTreeviewLeaf.vue +18 -50
  57. package/src/components/lists/VcsTreeviewSearchbar.vue +1 -23
  58. package/src/components/tables/VcsTable.vue +13 -1
  59. package/src/contentTree/LayerTree.vue +1 -1
  60. package/src/contentTree/contentTreeCollection.js +9 -0
  61. package/src/contentTree/contentTreeItem.js +13 -13
  62. package/src/contentTree/layerContentTreeItem.js +1 -1
  63. package/src/contentTree/subContentTreeItem.js +1 -1
  64. package/src/contentTree/vcsObjectContentTreeItem.js +1 -1
  65. package/src/featureInfo/BalloonComponent.vue +13 -8
  66. package/src/featureInfo/balloonFeatureInfoView.js +16 -22
  67. package/src/featureInfo/balloonHelper.js +26 -5
  68. package/src/featureInfo/featureInfo.js +14 -2
  69. package/src/featureInfo/featureInfoInteraction.js +1 -1
  70. package/src/i18n/de.js +13 -1
  71. package/src/i18n/en.js +13 -1
  72. package/src/icons/+all.js +4 -0
  73. package/src/icons/WandIcon.vue +63 -0
  74. package/src/manager/categoryManager/CategoryComponent.vue +115 -0
  75. package/src/manager/categoryManager/CategoryComponentList.vue +57 -0
  76. package/src/manager/categoryManager/CategoryManager.vue +35 -0
  77. package/src/manager/categoryManager/categoryManager.js +251 -165
  78. package/src/manager/contextMenu/contextMenuManager.js +8 -2
  79. package/src/manager/window/WindowComponent.vue +51 -70
  80. package/src/manager/window/WindowComponentHeader.vue +81 -13
  81. package/src/manager/window/WindowManager.vue +54 -30
  82. package/src/manager/window/windowHelper.js +341 -0
  83. package/src/manager/window/windowManager.js +173 -151
  84. package/src/navigation/overviewMap.js +10 -9
  85. package/src/notifier/notifier.js +120 -0
  86. package/src/notifier/notifierComponent.vue +84 -0
  87. package/src/styles/variables.scss +19 -3
  88. package/src/vcsUiApp.js +26 -2
  89. package/src/vuePlugins/vuetify.js +2 -0
  90. package/dist/assets/ui.36f84f.css +0 -1
  91. package/src/manager/categoryManager/ComponentsManager.vue +0 -30
@@ -84,12 +84,18 @@ export async function getInlinePlugins() {
84
84
  * @returns {Promise<void>}
85
85
  */
86
86
  export async function buildLibrary(libraryConfig, outputFolder, library, hash = '', base64Css = false) {
87
+ // Base64 contains the characters '+', '/', and '=', which have a reserved meaning in URLs.
88
+ // Base64url solves this by replacing '+' with '-' and '/' with '_'.
89
+ // See https://stackoverflow.com/a/55389212
87
90
  const cssInjectorCode = `
88
91
  function loadCss(href) {
92
+ const base64url = href
93
+ .replace(/-/g, '+')
94
+ .replace(/_/g, '/');
89
95
  return new Promise((resolve, reject) => {
90
96
  const elem = document.createElement('link');
91
97
  elem.rel = 'stylesheet';
92
- elem.href = href;
98
+ elem.href = base64url;
93
99
  elem.defer = false;
94
100
  elem.async = false;
95
101
  elem.onload = resolve;
@@ -675,7 +675,7 @@
675
675
  {
676
676
  "type": "CesiumTilesetLayer",
677
677
  "name": "mesh_surface",
678
- "url": "https://a.3d.blc.shc.eu/WAB/base_layer/cesium_mesh_2020/",
678
+ "url": "https://berlin-wab.virtualcitymap.de/datasource-data/baselayer/mesh_2020/",
679
679
  "activeOnStartup": false,
680
680
  "allowPicking": false,
681
681
  "screenSpaceError": 16,
@@ -755,46 +755,6 @@
755
755
  "tooltip": "OpenStreetMap Building Polygons"
756
756
  }
757
757
  },
758
- {
759
- "name": "fisbroker-dop-2015",
760
- "url": "https://karten.blc.shc.eu/cache/tms/1.0.0/osm-berlin-dop2015-combined/",
761
- "type": "TMSLayer",
762
- "datasourceId": "5dnXzoL27oPYQbEWQ",
763
- "activeOnStartup": false,
764
- "extent": {
765
- "coordinates": [
766
- 248000,
767
- 5648000,
768
- 517000,
769
- 5968000
770
- ],
771
- "projection": {
772
- "epsg": "25833",
773
- "proj4": "+proj=utm +zone=33 +ellps=GRS80 +units=m +no_defs"
774
- }
775
- },
776
- "format": "jpg",
777
- "minLevel": "0",
778
- "maxLevel": "20",
779
- "tilingSchema": "mercator",
780
- "opacity": "1",
781
- "hiddenObjectIds": [],
782
- "exclusiveGroups": [
783
- "base"
784
- ],
785
- "tileSize": [
786
- "256",
787
- "256"
788
- ],
789
- "properties": {
790
- "title": "Aerial Image (2015)",
791
- "attributions": {
792
- "provider": "Geoportal Berlin / Luftbild 2015, OpenStreetMap contributors",
793
- "url": "http://www.stadtentwicklung.berlin.de/geoinformation/fis-broker/",
794
- "year": "2018"
795
- }
796
- }
797
- },
798
758
  {
799
759
  "name": "Openstreetmap OSM Cache",
800
760
  "url": "https://osm.virtualcitymap.de/mapproxy/wmts/osm/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.png",
@@ -1139,10 +1099,8 @@
1139
1099
  "activeOnStartup": true,
1140
1100
  "dataSets": [
1141
1101
  {
1142
- "url": "https://a.3d.blc.shc.eu/WAB/base_layer/obliques_2020/image_tiled.json",
1143
- "terrainProvider": {
1144
- "url": "https://b.3d.blc.shc.eu/WAB/base_layer/cesium_terrain/"
1145
- },
1102
+ "url": "https://berlin-wab.virtualcitymap.de/datasource-data/baselayer/obliques_2020/image_tiled.json",
1103
+ "terrainUrl": "https://berlin-wab.virtualcitymap.de/datasource-data/baselayer/terrain_2016/",
1146
1104
  "projection": {
1147
1105
  "epsg": "25833",
1148
1106
  "proj4": "+proj=utm +zone=33 +ellps=GRS80 +units=m +no_defs"
@@ -1169,6 +1127,10 @@
1169
1127
  {
1170
1128
  "name": "@vcmap/create-link",
1171
1129
  "entry": "plugins/@vcmap/create-link/index.js"
1130
+ },
1131
+ {
1132
+ "name": "notifier",
1133
+ "entry": "plugins/notifier/index.js"
1172
1134
  }
1173
1135
  ]
1174
1136
  }
@@ -40,7 +40,7 @@
40
40
  "projection": {
41
41
  "epsg": 4326
42
42
  },
43
- "activeOnStartup": true,
43
+ "activeOnStartup": false,
44
44
  "vectorProperties": {
45
45
  "altitudeMode": "clampToGround"
46
46
  },
@@ -396,6 +396,10 @@
396
396
  "name": "@vcmap/buttonExamples",
397
397
  "entry": "plugins/buttonExamples/index.js"
398
398
  },
399
+ {
400
+ "name": "@vcmap/wizardExample",
401
+ "entry": "plugins/wizardExample/index.js"
402
+ },
399
403
  {
400
404
  "name": "@vcmap/hello-world",
401
405
  "entry": "plugins/@vcmap/hello-world/index.js"
@@ -495,7 +495,7 @@
495
495
  {
496
496
  "type": "CesiumTilesetLayer",
497
497
  "name": "Planwerk innere Stadt",
498
- "url": "https://c.3d.blc.shc.eu/WAB/buildings/plannings/cesium_planwerk_innere_stadt/3444ad7c-b6a5-4623-9421-e80e37d5378c/",
498
+ "url": "https://berlin-wab.virtualcitymap.de/datasource-data/plannings/cesium_planwerk_innere_stadt/3444ad7c-b6a5-4623-9421-e80e37d5378c/",
499
499
  "activeOnStartup": false,
500
500
  "allowPicking": false,
501
501
  "style": {
@@ -691,7 +691,7 @@
691
691
  {
692
692
  "type": "CesiumTilesetLayer",
693
693
  "name": "mesh_surface",
694
- "url": "https://a.3d.blc.shc.eu/WAB/base_layer/cesium_mesh_2020/",
694
+ "url": "https://berlin-wab.virtualcitymap.de/datasource-data/baselayer/mesh_2020/",
695
695
  "activeOnStartup": false,
696
696
  "allowPicking": false,
697
697
  "screenSpaceError": 16,
@@ -894,14 +894,12 @@
894
894
  ],
895
895
  "obliqueCollections": [
896
896
  {
897
- "name": "Schrägluftbilder 2020",
897
+ "name": "obliques",
898
898
  "activeOnStartup": true,
899
899
  "dataSets": [
900
900
  {
901
- "url": "https://a.3d.blc.shc.eu/WAB/base_layer/obliques_2020/image_tiled.json",
902
- "terrainProvider": {
903
- "url": "https://www.virtualcitymap.de/datasource-data/globalterrain_5_9"
904
- },
901
+ "url": "https://berlin-wab.virtualcitymap.de/datasource-data/baselayer/obliques_2020/image_tiled.json",
902
+ "terrainUrl": "https://berlin-wab.virtualcitymap.de/datasource-data/baselayer/terrain_2016/",
905
903
  "projection": {
906
904
  "epsg": "25833",
907
905
  "proj4": "+proj=utm +zone=33 +ellps=GRS80 +units=m +no_defs"
@@ -909,10 +907,11 @@
909
907
  }
910
908
  ],
911
909
  "maxZoom": 7,
912
- "minZoom": 0,
913
- "properties": {
910
+ "minZoom": 3,
911
+ "hideLevels": null,
912
+ "properties:": {
914
913
  "attributions": {
915
- "provider": "Berlin Partner für Wirtschaft und Technologie",
914
+ "provider": "Berlin Partner / Senat von Berlin",
916
915
  "url": "https://www.berlin-partner.de",
917
916
  "year": "2020"
918
917
  }
@@ -1293,6 +1292,10 @@
1293
1292
  }
1294
1293
  ],
1295
1294
  "plugins": [
1295
+ {
1296
+ "name": "@vcmap/create-link",
1297
+ "entry": "plugins/@vcmap/create-link/index.js"
1298
+ },
1296
1299
  {
1297
1300
  "name": "@vcmap/print",
1298
1301
  "entry": "plugins/@vcmap/print/index.js",
@@ -1306,9 +1309,7 @@
1306
1309
  "phone": "+49 (0) 30 . 8904 . 871 . 0",
1307
1310
  "fax": "+49 (0) 30 . 8904 . 871 . 0"
1308
1311
  }
1309
- }
1310
- ],
1311
- "plugins": [
1312
+ },
1312
1313
  {
1313
1314
  "name": "@vcmap/search-nominatim",
1314
1315
  "entry": "plugins/@vcmap/search-nominatim/index.js"
@@ -1 +1 @@
1
- export * from "./cesium.2e288a.js";
1
+ export * from "./cesium.41de56.js";