@vcmap/ui 5.0.0-rc.21 → 5.0.0-rc.23

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 (153) hide show
  1. package/README.md +2 -2
  2. package/app.config.json +5 -0
  3. package/build/buildHelpers.js +1 -0
  4. package/build/buildPreview.js +2 -2
  5. package/build/commonViteConfig.js +1 -0
  6. package/config/aerowest.config.json +2 -0
  7. package/config/base.config.json +1 -0
  8. package/config/codes.config.json +2 -0
  9. package/config/dev.config.json +6 -0
  10. package/config/graphFeatureInfo.config.json +3 -1
  11. package/config/projects.config.json +27 -0
  12. package/config/www.config.json +27 -14
  13. package/dist/assets/cesium.js +1 -1
  14. package/dist/assets/{core.59d4d1.js → core.9342a1.js} +7912 -5474
  15. package/dist/assets/core.js +1 -1
  16. package/dist/assets/favicon.decf54cc.svg +10 -0
  17. package/dist/assets/index.fd041928.js +1 -0
  18. package/dist/assets/{ol.c1c512.js → ol.d2cba3.js} +12406 -12152
  19. package/dist/assets/ol.js +1 -1
  20. package/dist/assets/ui.c27597.css +5 -0
  21. package/dist/assets/{ui.80175f.js → ui.c27597.js} +6508 -5169
  22. package/dist/assets/ui.js +1 -1
  23. package/dist/assets/vue.js +2 -2
  24. package/dist/assets/vuetify.2f1432.css +5 -0
  25. package/dist/assets/{vuetify.efc158.js → vuetify.2f1432.js} +1 -1
  26. package/dist/assets/vuetify.js +2 -2
  27. package/dist/index.html +6 -1
  28. package/index.html +5 -0
  29. package/index.js +7 -3
  30. package/lib/olLib.js +15 -1
  31. package/package.json +5 -4
  32. package/plugins/@vcmap/project-selector/{ContextsListComponent.vue → ModulesListComponent.vue} +10 -10
  33. package/plugins/@vcmap/project-selector/ProjectSelectorComponent.vue +16 -16
  34. package/plugins/@vcmap/project-selector/README.md +15 -21
  35. package/plugins/@vcmap/project-selector/config.json +3 -3
  36. package/plugins/@vcmap/project-selector/de.json +3 -0
  37. package/plugins/@vcmap/project-selector/en.json +3 -0
  38. package/plugins/@vcmap/project-selector/index.js +76 -101
  39. package/plugins/@vcmap/simple-graph/index.js +1 -1
  40. package/plugins/@vcmap/theme-changer/ThemeChangerComponent.vue +10 -4
  41. package/plugins/@vcmap-show-case/category-tester/Categories.vue +2 -2
  42. package/plugins/@vcmap-show-case/category-tester/Category.vue +1 -4
  43. package/plugins/@vcmap-show-case/config-editor/editor.vue +14 -14
  44. package/plugins/@vcmap-show-case/form-inputs-example/FormInputsExample.vue +92 -81
  45. package/plugins/@vcmap-show-case/form-inputs-example/index.js +8 -3
  46. package/plugins/@vcmap-show-case/form-inputs-example/validation.js +1 -1
  47. package/plugins/@vcmap-show-case/list-example/ListExample.vue +5 -2
  48. package/plugins/@vcmap-show-case/table-example/DataTableExample.vue +202 -0
  49. package/plugins/@vcmap-show-case/table-example/README.md +3 -0
  50. package/plugins/@vcmap-show-case/table-example/index.js +47 -0
  51. package/plugins/@vcmap-show-case/table-example/package.json +5 -0
  52. package/plugins/@vcmap-show-case/wizard-example/wizardExample.vue +57 -23
  53. package/plugins/package.json +2 -1
  54. package/src/actions/actionHelper.js +16 -27
  55. package/src/actions/styleSelector.vue +26 -19
  56. package/src/application/VcsApp.vue +13 -5
  57. package/src/application/VcsAttributions.vue +2 -3
  58. package/src/application/VcsAttributionsFooter.vue +10 -16
  59. package/src/application/VcsNavbar.vue +1 -2
  60. package/src/application/VcsSettings.vue +21 -8
  61. package/src/assets/favicon-128.png +0 -0
  62. package/src/assets/favicon-180.png +0 -0
  63. package/src/assets/favicon-192.png +0 -0
  64. package/src/assets/favicon-32.png +0 -0
  65. package/src/assets/favicon.svg +10 -0
  66. package/src/components/buttons/VcsButton.vue +2 -3
  67. package/src/components/form-inputs-controls/VcsCheckbox.vue +46 -26
  68. package/src/components/form-inputs-controls/VcsDatePicker.vue +111 -0
  69. package/src/components/form-inputs-controls/VcsFormSection.vue +15 -13
  70. package/src/components/form-inputs-controls/VcsLabel.vue +10 -1
  71. package/src/components/form-inputs-controls/VcsRadio.vue +38 -18
  72. package/src/components/form-inputs-controls/VcsSelect.vue +117 -59
  73. package/src/components/form-inputs-controls/VcsTextArea.vue +101 -60
  74. package/src/components/form-inputs-controls/VcsTextField.vue +182 -69
  75. package/src/components/form-inputs-controls/VcsWizard.vue +23 -15
  76. package/src/components/form-inputs-controls/VcsWizardStep.vue +18 -16
  77. package/src/components/form-inputs-controls/composables.js +26 -0
  78. package/src/components/form-output/VcsFormattedNumber.vue +1 -1
  79. package/src/components/icons/2DDistanceIcon.vue +0 -3
  80. package/src/components/icons/3DDistanceIcon.vue +0 -3
  81. package/src/components/icons/3DHeightIcon.vue +0 -3
  82. package/src/components/icons/CheckboxCheckedIcon.vue +4 -11
  83. package/src/components/icons/CheckboxIcon.vue +9 -2
  84. package/src/components/icons/CheckboxIndeterminateIcon.vue +4 -21
  85. package/src/components/icons/CommentIcon.vue +1 -5
  86. package/src/components/icons/LegendIcon.vue +10 -60
  87. package/src/components/icons/ObliqueViewIcon.vue +6 -8
  88. package/src/components/icons/SimpleCircleOutlinedIcon.vue +1 -1
  89. package/src/components/icons/SplitViewIcon.vue +0 -4
  90. package/src/components/icons/ToolsIcon.vue +2 -4
  91. package/src/components/lists/VcsActionList.vue +0 -1
  92. package/src/components/lists/VcsList.vue +30 -30
  93. package/src/components/lists/VcsTreeview.vue +2 -2
  94. package/src/components/lists/VcsTreeviewLeaf.vue +3 -9
  95. package/src/components/lists/VcsTreeviewSearchbar.vue +4 -4
  96. package/src/components/notification/VcsBadge.vue +6 -2
  97. package/src/components/notification/VcsHelp.vue +39 -0
  98. package/src/components/tables/VcsDataTable.vue +386 -0
  99. package/src/components/tables/VcsTable.vue +55 -254
  100. package/src/contentTree/contentTreeCollection.js +1 -1
  101. package/src/contentTree/layerContentTreeItem.js +3 -0
  102. package/src/downloadHelper.js +49 -0
  103. package/src/featureInfo/AddressBalloonComponent.vue +1 -1
  104. package/src/featureInfo/BalloonComponent.vue +21 -15
  105. package/src/featureInfo/abstractFeatureInfoView.js +1 -1
  106. package/src/featureInfo/featureInfo.js +27 -9
  107. package/src/featureInfo/tableFeatureInfoView.js +4 -0
  108. package/src/i18n/de.js +13 -1
  109. package/src/i18n/en.js +13 -1
  110. package/src/i18n/i18nCollection.js +22 -22
  111. package/src/init.js +90 -7
  112. package/src/legend/styleLegendItem.vue +24 -2
  113. package/src/legend/vcsLegend.vue +24 -31
  114. package/src/manager/categoryManager/CategoryComponent.vue +56 -47
  115. package/src/manager/categoryManager/CategoryManager.vue +23 -10
  116. package/src/manager/categoryManager/categoryManager.js +11 -11
  117. package/src/manager/navbarManager.js +18 -0
  118. package/src/manager/toolbox/GroupToolboxComponent.vue +2 -3
  119. package/src/manager/toolbox/SelectToolboxComponent.vue +11 -5
  120. package/src/manager/toolbox/ToolboxManager.vue +0 -7
  121. package/src/manager/window/WindowComponent.vue +10 -16
  122. package/src/manager/window/WindowComponentHeader.vue +6 -4
  123. package/src/manager/window/WindowManager.vue +14 -15
  124. package/src/manager/window/windowHelper.js +1 -1
  125. package/src/manager/window/windowManager.js +18 -7
  126. package/src/navigation/mapNavCompass.vue +1 -1
  127. package/src/navigation/mapNavigation.vue +6 -6
  128. package/src/navigation/obliqueRotation.vue +36 -13
  129. package/src/navigation/orientationToolsButton.vue +0 -1
  130. package/src/navigation/overviewMap.js +11 -20
  131. package/src/navigation/tiltSlider.vue +30 -6
  132. package/src/navigation/vcsZoomButton.vue +37 -11
  133. package/src/pluginHelper.js +20 -0
  134. package/src/search/resultsComponent.vue +0 -1
  135. package/src/search/search.js +19 -20
  136. package/src/search/searchComponent.vue +21 -7
  137. package/src/state.js +6 -6
  138. package/src/styles/_theming.scss +72 -3
  139. package/src/styles/_typography.scss +0 -5
  140. package/src/styles/main.scss +1 -0
  141. package/src/styles/shades.scss +2 -0
  142. package/src/styles/variables.scss +40 -4
  143. package/src/uiConfig.js +4 -3
  144. package/src/vcsUiApp.js +49 -40
  145. package/src/vuePlugins/i18n.js +1 -0
  146. package/src/vuePlugins/vuetify.js +59 -13
  147. package/start.js +8 -2
  148. package/dist/assets/index.a3861d4e.js +0 -1
  149. package/dist/assets/ui.80175f.css +0 -1
  150. package/dist/assets/vuetify.efc158.css +0 -5
  151. package/map.config.json +0 -44
  152. /package/dist/assets/{cesium.49585c.js → cesium.166f91.js} +0 -0
  153. /package/dist/assets/{vue.a08ab1.js → vue.5d00e9.js} +0 -0
package/README.md CHANGED
@@ -42,7 +42,7 @@ Provides an abstraction layer around 2D, 3D and oblique Maps. Provides the follo
42
42
  - layers
43
43
  - interactions
44
44
  - styles
45
- - application and context/config handling
45
+ - application and module/config handling
46
46
 
47
47
  ### [@vcmap/ui](https://github.com/virtualcitySYSTEMS/map-ui)
48
48
  This Project, provides
@@ -75,7 +75,7 @@ how safe it is to start developing with these components.
75
75
  - STABLE: conforms to SemVer concept.
76
76
 
77
77
  ### @vcmap/core
78
- - Context Concept RC
78
+ - Module Concept RC
79
79
  - Categories Concept BETA
80
80
  - Layers/Maps RC
81
81
  - Styles: BETA
@@ -0,0 +1,5 @@
1
+ {
2
+ "modules": [
3
+ "config/projects.config.json"
4
+ ]
5
+ }
@@ -146,6 +146,7 @@ function loadCss(href) {
146
146
  export const libraries = {
147
147
  vue: 'vue',
148
148
  '@vcmap-cesium/engine': 'cesium',
149
+ '@cesium/engine': 'cesium',
149
150
  ol: 'ol',
150
151
  '@vcmap/core': 'core',
151
152
  '@vcmap/ui': 'ui',
@@ -10,8 +10,8 @@ await Promise.all([
10
10
  plugins: [vcsOl()],
11
11
  }, true),
12
12
  fs.promises.cp(
13
- getProjectPath('map.config.json'),
14
- path.join(process.cwd(), 'dist', 'map.config.json'),
13
+ getProjectPath('app.config.json'),
14
+ path.join(process.cwd(), 'dist', 'app.config.json'),
15
15
  ),
16
16
  fs.promises.cp(
17
17
  getProjectPath('config'),
@@ -8,6 +8,7 @@ const configMain = defineConfig({
8
8
  resolve: {
9
9
  alias: {
10
10
  '@vcmap/ui': `${path.resolve(process.cwd(), 'index.js')}`,
11
+ '@cesium/engine': '@vcmap-cesium/engine',
11
12
  vue: 'vue/dist/vue.esm.js',
12
13
  tinyqueue: 'tinyqueue/tinyqueue.js',
13
14
  },
@@ -1,4 +1,6 @@
1
1
  {
2
+ "name": "VC Map HOSTING",
3
+ "description": "AEROWEST DEMO (Standard Hosting Layout)",
2
4
  "mapcontainer": "vcs_map_container",
3
5
  "startingViewpointName": "Start",
4
6
  "startingMapName": "Cesium Map",
@@ -1,4 +1,5 @@
1
1
  {
2
+ "name": "VcsBaseConfig",
2
3
  "mapcontainer": "vcs_map_container",
3
4
  "startingViewpointName": "berlin",
4
5
  "startingMapName": "cesium",
@@ -1,4 +1,6 @@
1
1
  {
2
+ "name": "development",
3
+ "description": "module containing code lists for key and attribute mapping",
2
4
  "i18n": [
3
5
  {
4
6
  "de": {
@@ -1,4 +1,6 @@
1
1
  {
2
+ "name": "development",
3
+ "description": "module containing examples, showcases and other stuff",
2
4
  "startingViewpointName": "potsdamer_platz",
3
5
  "i18n": [
4
6
  {
@@ -417,6 +419,10 @@
417
419
  "name": "textfields-example",
418
420
  "entry": "plugins/@vcmap-show-case/textfields-example/index.js"
419
421
  },
422
+ {
423
+ "name": "table-example",
424
+ "entry": "plugins/@vcmap-show-case/table-example/index.js"
425
+ },
420
426
  {
421
427
  "name": "wizard-example",
422
428
  "entry": "plugins/@vcmap-show-case/wizard-example/index.js"
@@ -1,4 +1,6 @@
1
1
  {
2
+ "name": "graphFeatureInfo",
3
+ "description": "module adding a graph Feature Info view",
2
4
  "featureInfo": [
3
5
  {
4
6
  "type": "SimpleGraphView",
@@ -94,7 +96,7 @@
94
96
  "plugins": [
95
97
  {
96
98
  "name": "simple-graph",
97
- "entry": "plugins/simple-graph/index.js"
99
+ "entry": "plugins/@vcmap/simple-graph/index.js"
98
100
  }
99
101
  ]
100
102
  }
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "projectsDemo",
3
+ "plugins": [
4
+ {
5
+ "name": "@vcmap/project-selector",
6
+ "entry": "plugins/@vcmap/project-selector/index.js",
7
+ "selected": "",
8
+ "selectedModules": ["config/dev.config.json", "config/codes.config.json"],
9
+ "open": true,
10
+ "projects": [
11
+ {
12
+ "name": "VC Map HOSTING",
13
+ "description": "AEROWEST DEMO (Standard Hosting Layout)",
14
+ "modules": ["config/aerowest.config.json"]
15
+ },
16
+ {
17
+ "name": "VC Map Demo",
18
+ "description": "VC Map Demo www.virtualcitymap.de",
19
+ "modules": ["config/www.config.json"]
20
+ }
21
+ ],
22
+ "modules": [
23
+ "config/dev.config.json", "config/codes.config.json", "config/graphFeatureInfo.config.json"
24
+ ]
25
+ }
26
+ ]
27
+ }
@@ -1,4 +1,6 @@
1
1
  {
2
+ "name": "VC Map Demo",
3
+ "description": "VC Map Demo www.virtualcitymap.de",
2
4
  "startingViewpointName": "startview",
3
5
  "startingMapName": "cesium",
4
6
  "projection": {
@@ -589,20 +591,6 @@
589
591
  "terrain"
590
592
  ]
591
593
  },
592
- {
593
- "type": "WaterShaderLayer",
594
- "name": "WaterLayer",
595
- "activeOnStartup": false,
596
- "url": "https://www.virtualcitymap.de/datasource-data/lindau_2022_water/berlin_section-T0.000000_tileset.json",
597
- "shaderProperties": {
598
- "waveScaling": 41,
599
- "scaleWithHeight": true,
600
- "velocityScaling": 0,
601
- "animationCycle": 3,
602
- "transparencyFactor": 5,
603
- "waterColor": "#288a86"
604
- }
605
- },
606
594
  {
607
595
  "type": "TerrainLayer",
608
596
  "name": "GermanyBaseTerrain",
@@ -1942,6 +1930,31 @@
1942
1930
  {
1943
1931
  "name": "@vcmap/search-nominatim",
1944
1932
  "entry": "plugins/@vcmap/search-nominatim/index.js"
1933
+ },
1934
+ {
1935
+ "name": "@vcmap/export",
1936
+ "entry": "plugins/@vcmap/export/index.js",
1937
+ "crs": ["EPSG:25832", "EPSG:4326"],
1938
+ "allowCrsTextInput": false,
1939
+ "fmeSecurityToken": "abdec250f1d7f09c6383248d8596bf48ef436d6d",
1940
+ "fmeServerUrl": "https://fmeserver-virtualcitysystems--2.fmecloud.com/fmedatadownload/germany_viewer/MultiExporter.fmw",
1941
+ "dataProjection": {
1942
+ "epsg": "25832",
1943
+ "proj4": "+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"
1944
+ },
1945
+ "dataSourceOptionsList": [
1946
+ { "type": "cityModel" },
1947
+ {
1948
+ "type": "oblique",
1949
+ "obliqueCollectionName": "obliques"
1950
+ },
1951
+ {
1952
+ "type": "geojson",
1953
+ "geojsonUrl": "https://download-berlin3d.virtualcitymap.de/datasource-data/HOSTING-Berlin-DLPortal/2020_mesh_index.json",
1954
+ "baseUrl": "https://download-berlin3d.virtualcitymap.de/datasource-data/berlin_mesh_2021",
1955
+ "title": "Mesh model"
1956
+ }
1957
+ ]
1945
1958
  }
1946
1959
  ]
1947
1960
  }
@@ -1 +1 @@
1
- export * from "./cesium.49585c.js";
1
+ export * from "./cesium.166f91.js";