@vcmap/ui 6.0.0-rc.5 → 6.0.0-rc.6

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 (156) hide show
  1. package/build/buildTypes.js +9 -5
  2. package/config/base.config.json +0 -6
  3. package/config/dev.config.json +4 -0
  4. package/config/projects.config.json +2 -1
  5. package/config/theming.config.json +68 -0
  6. package/config/www.config.json +31 -30
  7. package/dist/assets/cesium.js +1 -1
  8. package/dist/assets/{core-1c8b8674.js → core-e06aa7a6.js} +1403 -1375
  9. package/dist/assets/core.js +1 -1
  10. package/dist/assets/ol.js +1 -1
  11. package/dist/assets/ui-5dda32d2.css +1 -0
  12. package/dist/assets/{ui-7214428e.js → ui-5dda32d2.js} +11632 -11501
  13. package/dist/assets/ui.js +1 -1
  14. package/dist/assets/vue.js +1 -1
  15. package/dist/assets/{vuetify-88a2fabe.css → vuetify-4c4e4217.css} +1 -1
  16. package/dist/assets/{vuetify-88a2fabe.js → vuetify-4c4e4217.js} +2375 -2369
  17. package/dist/assets/vuetify.js +1 -1
  18. package/index.d.ts +22 -10
  19. package/index.js +9 -3
  20. package/package.json +3 -3
  21. package/plugins/@vcmap-show-case/custom-icons-example/README.md +3 -0
  22. package/plugins/@vcmap-show-case/custom-icons-example/assets/imageExample.png +0 -0
  23. package/plugins/@vcmap-show-case/custom-icons-example/assets/svgExample.svg +1 -0
  24. package/plugins/@vcmap-show-case/custom-icons-example/package.json +5 -0
  25. package/plugins/@vcmap-show-case/custom-icons-example/src/CustomIconsExample.vue +90 -0
  26. package/plugins/@vcmap-show-case/custom-icons-example/src/index.js +45 -0
  27. package/plugins/@vcmap-show-case/plugin-editors/src/PluginEditors.vue +11 -7
  28. package/plugins/@vcmap-show-case/theming-example/README.md +3 -0
  29. package/plugins/@vcmap-show-case/theming-example/package.json +5 -0
  30. package/plugins/@vcmap-show-case/theming-example/src/ThemingExample.vue +116 -0
  31. package/plugins/@vcmap-show-case/theming-example/src/index.js +53 -0
  32. package/plugins/package.json +5 -1
  33. package/src/actions/actionHelper.d.ts +4 -11
  34. package/src/actions/actionHelper.js +2 -5
  35. package/src/actions/listActions.d.ts +2 -2
  36. package/src/application/VcsApp.vue +17 -19
  37. package/src/application/VcsApp.vue.d.ts +5 -1
  38. package/src/application/VcsAttributionsFooter.vue.d.ts +1 -1
  39. package/src/application/VcsContainer.vue +2 -2
  40. package/src/application/VcsContainer.vue.d.ts +5 -1
  41. package/src/application/VcsNavbar.vue +9 -1
  42. package/src/application/VcsNavbar.vue.d.ts +1 -0
  43. package/src/application/VcsSplashScreen.vue +11 -2
  44. package/src/application/attributionsHelper.d.ts +20 -22
  45. package/src/application/attributionsHelper.js +4 -4
  46. package/src/callback/vcsCallback.d.ts +2 -2
  47. package/src/callback/vcsCallback.js +1 -1
  48. package/src/components/buttons/VcsActionButtonList.vue +2 -3
  49. package/src/components/buttons/VcsButton.vue +2 -4
  50. package/src/components/buttons/VcsButton.vue.d.ts +1 -1
  51. package/src/components/buttons/VcsFormButton.vue +4 -4
  52. package/src/components/buttons/VcsToolButton.vue +4 -2
  53. package/src/components/buttons/VcsToolButton.vue.d.ts +2 -2
  54. package/src/components/composables.d.ts +5 -0
  55. package/src/components/composables.js +79 -9
  56. package/src/components/extent/VcsExtent.vue +10 -6
  57. package/src/components/extent/VcsExtent.vue.d.ts +1 -0
  58. package/src/components/flight/VcsFlightComponent.vue +13 -13
  59. package/src/components/flight/VcsFlightComponent.vue.d.ts +1 -0
  60. package/src/components/form-inputs-controls/VcsCheckbox.vue +8 -3
  61. package/src/components/form-inputs-controls/VcsChipArrayInput.vue +3 -8
  62. package/src/components/form-inputs-controls/VcsChipArrayInput.vue.d.ts +0 -1
  63. package/src/components/form-inputs-controls/VcsCoordinate.vue +1 -2
  64. package/src/components/form-inputs-controls/VcsFileInput.vue +1 -1
  65. package/src/components/form-inputs-controls/VcsLabel.vue +1 -1
  66. package/src/components/form-inputs-controls/VcsRadio.vue +8 -6
  67. package/src/components/form-inputs-controls/VcsRadio.vue.d.ts +1 -0
  68. package/src/components/form-inputs-controls/VcsSelect.vue +1 -1
  69. package/src/components/form-inputs-controls/VcsSlider.vue +5 -5
  70. package/src/components/form-inputs-controls/VcsTextArea.vue +1 -1
  71. package/src/components/form-inputs-controls/VcsTextField.vue +10 -1
  72. package/src/components/form-inputs-controls/VcsTextField.vue.d.ts +2 -1
  73. package/src/components/form-inputs-controls/VcsWizard.vue +3 -3
  74. package/src/components/form-inputs-controls/VcsWizardStep.vue +5 -1
  75. package/src/components/form-inputs-controls/vcsTextField.scss +7 -1
  76. package/src/components/form-output/VcsFormattedNumber.vue +1 -1
  77. package/src/components/import/VcsImportComponent.vue +7 -4
  78. package/src/components/import/VcsImportComponent.vue.d.ts +1 -1
  79. package/src/components/lists/VcsActionList.vue +2 -6
  80. package/src/components/lists/VcsListItemComponent.vue +20 -10
  81. package/src/components/lists/VcsListItemComponent.vue.d.ts +11 -1
  82. package/src/components/lists/VcsTreeview.vue +53 -11
  83. package/src/components/lists/VcsTreeview.vue.d.ts +2 -0
  84. package/src/components/lists/VcsTreeviewSearchbar.vue +14 -3
  85. package/src/components/lists/VcsTreeviewSearchbar.vue.d.ts +3 -1
  86. package/src/components/lists/VcsTreeviewTitle.vue +36 -0
  87. package/src/components/modelHelper.d.ts +10 -8
  88. package/src/components/modelHelper.js +8 -6
  89. package/src/components/notification/VcsHelp.vue +6 -7
  90. package/src/components/notification/VcsHelp.vue.d.ts +0 -9
  91. package/src/components/plugins/AbstractConfigEditor.vue +1 -22
  92. package/src/components/plugins/AbstractConfigEditor.vue.d.ts +6 -29
  93. package/src/components/section/VcsExpansionPanel.vue +9 -3
  94. package/src/components/section/VcsExpansionPanel.vue.d.ts +2 -2
  95. package/src/components/section/VcsFormSection.vue +6 -6
  96. package/src/components/section/VcsFormSection.vue.d.ts +2 -2
  97. package/src/components/style/VcsImageSelector.vue +14 -6
  98. package/src/components/style/VcsImageSelector.vue.d.ts +1 -0
  99. package/src/components/style/VcsStrokeSelector.vue +5 -2
  100. package/src/components/style/VcsStrokeSelector.vue.d.ts +1 -0
  101. package/src/components/style/VcsTextMenu.vue +2 -2
  102. package/src/components/tables/VcsDataTable.vue +14 -10
  103. package/src/components/tables/VcsDataTable.vue.d.ts +1 -0
  104. package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +42 -31
  105. package/src/components/vector-properties/VcsVectorPropertiesComponent.vue.d.ts +1 -0
  106. package/src/components/viewpoint/VcsViewpointComponent.vue +12 -9
  107. package/src/components/viewpoint/VcsViewpointComponent.vue.d.ts +1 -0
  108. package/src/contentTree/contentTreeItem.d.ts +2 -2
  109. package/src/contentTree/contentTreeItem.js +1 -1
  110. package/src/featureInfo/BalloonComponent.vue +21 -13
  111. package/src/featureInfo/BalloonComponent.vue.d.ts +1 -0
  112. package/src/featureInfo/abstractFeatureInfoView.d.ts +4 -4
  113. package/src/featureInfo/abstractFeatureInfoView.js +4 -4
  114. package/src/featureInfo/featureInfo.d.ts +2 -2
  115. package/src/featureInfo/featureInfo.js +1 -1
  116. package/src/i18n/i18nCollection.d.ts +9 -15
  117. package/src/i18n/i18nCollection.js +3 -3
  118. package/src/legend/VcsLegend.vue +6 -2
  119. package/src/legend/VcsLegend.vue.d.ts +1 -0
  120. package/src/manager/collectionManager/CollectionComponentList.vue +1 -1
  121. package/src/manager/collectionManager/categoryManager.d.ts +1 -1
  122. package/src/manager/collectionManager/collectionComponentClass.d.ts +2 -2
  123. package/src/manager/collectionManager/collectionComponentClass.js +4 -4
  124. package/src/manager/collectionManager/collectionManager.d.ts +1 -1
  125. package/src/manager/toolbox/GroupToolboxComponent.vue +8 -6
  126. package/src/manager/toolbox/GroupToolboxComponent.vue.d.ts +1 -1
  127. package/src/manager/toolbox/SelectToolboxComponent.vue +8 -6
  128. package/src/manager/toolbox/SelectToolboxComponent.vue.d.ts +1 -1
  129. package/src/manager/toolbox/{ToolboxManager.vue → ToolboxManagerComponent.vue} +8 -5
  130. package/src/manager/toolbox/{ToolboxManager.vue.d.ts → ToolboxManagerComponent.vue.d.ts} +1 -1
  131. package/src/manager/window/WindowComponentHeader.vue +6 -3
  132. package/src/manager/window/WindowComponentHeader.vue.d.ts +1 -0
  133. package/src/manager/window/windowManager.d.ts +6 -6
  134. package/src/manager/window/windowManager.js +3 -3
  135. package/src/navigation/OrientationToolsButton.vue +2 -4
  136. package/src/navigation/TiltSlider.vue +3 -5
  137. package/src/search/SearchComponent.vue +8 -6
  138. package/src/search/SearchComponent.vue.d.ts +1 -1
  139. package/src/styles/vcsList.scss +1 -1
  140. package/src/uiConfig.d.ts +12 -3
  141. package/src/uiConfig.js +2 -1
  142. package/src/vcsUiApp.d.ts +41 -56
  143. package/src/vcsUiApp.js +34 -28
  144. package/src/vuePlugins/vuetify.d.ts +88 -62
  145. package/src/vuePlugins/vuetify.js +116 -20
  146. package/dist/assets/ui-7214428e.css +0 -1
  147. package/plugins/@vcmap-show-case/theme-changer/README.md +0 -23
  148. package/plugins/@vcmap-show-case/theme-changer/config.json +0 -69
  149. package/plugins/@vcmap-show-case/theme-changer/package.json +0 -11
  150. package/plugins/@vcmap-show-case/theme-changer/src/ThemeChangerComponent.vue +0 -120
  151. package/plugins/@vcmap-show-case/theme-changer/src/index.js +0 -108
  152. package/src/components/lists/VcsTreeviewLeaf.vue +0 -92
  153. /package/dist/assets/{cesium-126f111a.js → cesium-ccb4cc30.js} +0 -0
  154. /package/dist/assets/{ol-27f9b3f3.js → ol-e7981d5c.js} +0 -0
  155. /package/dist/assets/{vue-c78a5f76.js → vue-87bc6efe.js} +0 -0
  156. /package/src/components/lists/{VcsTreeviewLeaf.vue.d.ts → VcsTreeviewTitle.vue.d.ts} +0 -0
@@ -113,12 +113,16 @@ async function vueAugmentations() {
113
113
  let content = await readFile('./index.d.ts', 'utf-8');
114
114
  content = `${content}
115
115
  declare module 'vue' {
116
- type ReplaceFirstParam<TParams extends readonly any[], TReplace> = {
117
- [K in keyof TParams]: K extends "0" ? TReplace : TParams[K]
118
- }
119
-
120
116
  interface ComponentCustomProperties {
121
- $st: (...params: ReplaceFirstParam<Parameters<import("vue-i18n").ComposerTranslation>, string | null | undefined>) => ReturnType<import("vue-i18n").ComposerTranslation>
117
+ $st(key: string | number | undefined | null): string;
118
+ $st(key: string | number | undefined | null, plural: number, options?: import("vue-i18n").TranslateOptions<import("vue-i18n").Locale>): string;
119
+ $st(key: string | number | undefined | null, defaultMsg: string, options?: import("vue-i18n").TranslateOptions<import("vue-i18n").Locale>): string;
120
+ $st(key: string | number | undefined | null, list: unknown[], options?: import("vue-i18n").TranslateOptions<import("vue-i18n").Locale>): string;
121
+ $st(key: string | number | undefined | null, list: unknown[], plural: number): string;
122
+ $st(key: string | number | undefined | null, list: unknown[], defaultMsg: string): string;
123
+ $st(key: string | number | undefined | null, named: import("vue-i18n").NamedValue, options?: import("vue-i18n").TranslateOptions<import("vue-i18n").Locale>): string;
124
+ $st(key: string | number | undefined | null, named: import("vue-i18n").NamedValue, plural: number): string;
125
+ $st(key: string | number | undefined | null, named: import("vue-i18n").NamedValue, defaultMsg: string): string;
122
126
  }
123
127
  }
124
128
  `;
@@ -1112,12 +1112,6 @@
1112
1112
  }
1113
1113
  }
1114
1114
  ],
1115
- "plugins": [
1116
- {
1117
- "name": "@vcmap-show-case/theme-changer",
1118
- "entry": "plugins/@vcmap-show-case/theme-changer/index.js"
1119
- }
1120
- ],
1121
1115
  "plugins2": [
1122
1116
  {
1123
1117
  "name": "@vcmap/create-link",
@@ -662,6 +662,10 @@
662
662
  {
663
663
  "name": "@vcmap-show-case/search-example",
664
664
  "entry": "plugins/@vcmap-show-case/search-example/index.js"
665
+ },
666
+ {
667
+ "name": "@vcmap-show-case/custom-icons-example",
668
+ "entry": "plugins/@vcmap-show-case/custom-icons-example/index.js"
665
669
  }
666
670
  ],
667
671
  "plugins2": [
@@ -23,7 +23,8 @@
23
23
  "config/dev.config.json",
24
24
  "config/codes.config.json",
25
25
  "config/graphFeatureInfo.config.json",
26
- "config/splashscreen.config.json"
26
+ "config/splashscreen.config.json",
27
+ "config/theming.config.json"
27
28
  ]
28
29
  }
29
30
  ]
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "Theming Examples",
3
+ "plugins": [
4
+ {
5
+ "name": "@vcmap-show-case/theming-example",
6
+ "entry": "plugins/@vcmap-show-case/theming-example/index.js"
7
+ }
8
+ ],
9
+ "uiConfig": [
10
+ {
11
+ "name": "vuetifyTheme",
12
+ "value": {
13
+ "light": {
14
+ "colors": {
15
+ "base": "#9E9E9E",
16
+ "base-lighten-5": "#FFFFFF",
17
+ "base-lighten-4": "#F8F8F8",
18
+ "base-lighten-3": "#EBEBEB",
19
+ "base-lighten-2": "#D0D0D0",
20
+ "base-lighten-1": "#B8B8B8",
21
+ "base-darken-1": "#858585",
22
+ "base-darken-2": "#6B6B6B",
23
+ "base-darken-3": "#525252",
24
+ "base-darken-4": "#383838",
25
+ "warning": "#FFCE00",
26
+ "error": "#AA0000",
27
+ "info": "#2196F3",
28
+ "success": "#4CAF50",
29
+ "surface-light": "#ffffff"
30
+ },
31
+ "variables": {
32
+ "hover-opacity": 0.16,
33
+ "high-emphasis-opacity": 1,
34
+ "medium-emphasis-opacity": 1,
35
+ "vcs-font-size": "14px",
36
+ "vcs-font-family": "Times New Roman"
37
+ }
38
+ },
39
+ "dark": {
40
+ "colors": {
41
+ "base": "#9E9E9E",
42
+ "base-lighten-5": "#FFFFFF",
43
+ "base-lighten-4": "#383838",
44
+ "base-lighten-3": "#525252",
45
+ "base-lighten-2": "#6B6B6B",
46
+ "base-lighten-1": "#858585",
47
+ "base-darken-1": "#B8B8B8",
48
+ "base-darken-2": "#D0D0D0",
49
+ "base-darken-3": "#EBEBEB",
50
+ "base-darken-4": "#F8F8F8",
51
+ "warning": "#FFCE00",
52
+ "error": "#FF5252",
53
+ "info": "#2196F3",
54
+ "success": "#4CAF50",
55
+ "surface-light": "#222222"
56
+ },
57
+ "variables": {
58
+ "hover-opacity": 0.16,
59
+ "high-emphasis-opacity": 1,
60
+ "medium-emphasis-opacity": 1,
61
+ "vcs-font-size": "14px",
62
+ "vcs-font-family": "Times New Roman"
63
+ }
64
+ }
65
+ }
66
+ }
67
+ ]
68
+ }
@@ -1828,6 +1828,28 @@
1828
1828
  }
1829
1829
  ],
1830
1830
  "plugins": [
1831
+ {
1832
+ "name": "@vcmap/link-button",
1833
+ "entry": "plugins/@vcmap/link-button/index.js",
1834
+ "buttons": [
1835
+ {
1836
+ "buttonLocation": 5,
1837
+ "templateUrl": "https://www.virtualcitymap.de/?state=[[[{{cameraPosition}}],[{{groundPosition}}],{{distance}},{{heading}},{{pitch}},{{roll}}],\"cesium\",[\"VC Map Demo\"]]",
1838
+ "title": "Zweites Fenster öffnen",
1839
+ "projection": {}
1840
+ },
1841
+ {
1842
+ "buttonLocation": 5,
1843
+ "templateUrl": "https://old.virtualcitymap.de/?cameraPosition={{cameraPosition}}&groundPosition={{groundPosition}}&distance={{distance}}&pitch={{pitch}}&heading={{heading}}&roll={{roll}}#/",
1844
+ "title": "Alte 4.3 Map öffnen",
1845
+ "projection": {}
1846
+ }
1847
+ ]
1848
+ },
1849
+ {
1850
+ "name": "@vcmap/walk",
1851
+ "entry": "plugins/@vcmap/walk/index.js"
1852
+ },
1831
1853
  {
1832
1854
  "name": "@vcmap/print",
1833
1855
  "entry": "plugins/@vcmap/print/index.js",
@@ -1849,31 +1871,17 @@
1849
1871
  {
1850
1872
  "name": "@vcmap/transparent-terrain",
1851
1873
  "entry": "plugins/@vcmap/transparent-terrain/index.js"
1852
- }
1853
- ],
1854
- "plugins2": [
1855
- {
1856
- "name": "@vcmap/link-button",
1857
- "entry": "plugins/@vcmap/link-button/index.js",
1858
- "buttons": [
1859
- {
1860
- "buttonLocation": 5,
1861
- "templateUrl": "https://new.virtualcitymap.de/?state=[[[{{cameraPosition}}],[{{groundPosition}}],{{distance}},{{heading}},{{pitch}},{{roll}}],\"cesium\",[\"VC Map Demo\"]]",
1862
- "title": "Zweites Fenster öffnen",
1863
- "projection": {}
1864
- },
1865
- {
1866
- "buttonLocation": 5,
1867
- "templateUrl": "https://www.virtualcitymap.de/?cameraPosition={{cameraPosition}}&groundPosition={{groundPosition}}&distance={{distance}}&pitch={{pitch}}&heading={{heading}}&roll={{roll}}#/",
1868
- "title": "Alte 4.3 Map öffnen",
1869
- "projection": {}
1870
- }
1871
- ]
1872
1874
  },
1873
1875
  {
1874
- "name": "@vcmap/walk",
1875
- "entry": "plugins/@vcmap/walk/index.js"
1876
+ "name": "@vcmap/viewshed",
1877
+ "entry": "plugins/@vcmap/viewshed/index.js"
1876
1878
  },
1879
+ {
1880
+ "name": "@vcmap/clipping-tool",
1881
+ "entry": "plugins/@vcmap/clipping-tool/index.js"
1882
+ }
1883
+ ],
1884
+ "plugins2": [
1877
1885
  {
1878
1886
  "name": "@vcmap/create-link",
1879
1887
  "entry": "plugins/@vcmap/create-link/index.js"
@@ -1923,10 +1931,7 @@
1923
1931
  }
1924
1932
  ]
1925
1933
  },
1926
- {
1927
- "name": "@vcmap/viewshed",
1928
- "entry": "plugins/@vcmap/viewshed/index.js"
1929
- },
1934
+
1930
1935
  {
1931
1936
  "name": "@vcmap/measurement",
1932
1937
  "entry": "plugins/@vcmap/measurement/index.js"
@@ -1947,10 +1952,6 @@
1947
1952
  "name": "@vcmap/search-coordinate",
1948
1953
  "entry": "plugins/@vcmap/search-coordinate/index.js"
1949
1954
  },
1950
- {
1951
- "name": "@vcmap/clipping-tool",
1952
- "entry": "plugins/@vcmap/clipping-tool/index.js"
1953
- },
1954
1955
  {
1955
1956
  "name": "@vcmap/height-profile",
1956
1957
  "entry": "plugins/@vcmap/height-profile/index.js"
@@ -1 +1 @@
1
- export * from "./cesium-126f111a.js";
1
+ export * from "./cesium-ccb4cc30.js";