@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.
- package/build/buildTypes.js +9 -5
- package/config/base.config.json +0 -6
- package/config/dev.config.json +4 -0
- package/config/projects.config.json +2 -1
- package/config/theming.config.json +68 -0
- package/config/www.config.json +31 -30
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core-1c8b8674.js → core-e06aa7a6.js} +1403 -1375
- package/dist/assets/core.js +1 -1
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui-5dda32d2.css +1 -0
- package/dist/assets/{ui-7214428e.js → ui-5dda32d2.js} +11632 -11501
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +1 -1
- package/dist/assets/{vuetify-88a2fabe.css → vuetify-4c4e4217.css} +1 -1
- package/dist/assets/{vuetify-88a2fabe.js → vuetify-4c4e4217.js} +2375 -2369
- package/dist/assets/vuetify.js +1 -1
- package/index.d.ts +22 -10
- package/index.js +9 -3
- package/package.json +3 -3
- package/plugins/@vcmap-show-case/custom-icons-example/README.md +3 -0
- package/plugins/@vcmap-show-case/custom-icons-example/assets/imageExample.png +0 -0
- package/plugins/@vcmap-show-case/custom-icons-example/assets/svgExample.svg +1 -0
- package/plugins/@vcmap-show-case/custom-icons-example/package.json +5 -0
- package/plugins/@vcmap-show-case/custom-icons-example/src/CustomIconsExample.vue +90 -0
- package/plugins/@vcmap-show-case/custom-icons-example/src/index.js +45 -0
- package/plugins/@vcmap-show-case/plugin-editors/src/PluginEditors.vue +11 -7
- package/plugins/@vcmap-show-case/theming-example/README.md +3 -0
- package/plugins/@vcmap-show-case/theming-example/package.json +5 -0
- package/plugins/@vcmap-show-case/theming-example/src/ThemingExample.vue +116 -0
- package/plugins/@vcmap-show-case/theming-example/src/index.js +53 -0
- package/plugins/package.json +5 -1
- package/src/actions/actionHelper.d.ts +4 -11
- package/src/actions/actionHelper.js +2 -5
- package/src/actions/listActions.d.ts +2 -2
- package/src/application/VcsApp.vue +17 -19
- package/src/application/VcsApp.vue.d.ts +5 -1
- package/src/application/VcsAttributionsFooter.vue.d.ts +1 -1
- package/src/application/VcsContainer.vue +2 -2
- package/src/application/VcsContainer.vue.d.ts +5 -1
- package/src/application/VcsNavbar.vue +9 -1
- package/src/application/VcsNavbar.vue.d.ts +1 -0
- package/src/application/VcsSplashScreen.vue +11 -2
- package/src/application/attributionsHelper.d.ts +20 -22
- package/src/application/attributionsHelper.js +4 -4
- package/src/callback/vcsCallback.d.ts +2 -2
- package/src/callback/vcsCallback.js +1 -1
- package/src/components/buttons/VcsActionButtonList.vue +2 -3
- package/src/components/buttons/VcsButton.vue +2 -4
- package/src/components/buttons/VcsButton.vue.d.ts +1 -1
- package/src/components/buttons/VcsFormButton.vue +4 -4
- package/src/components/buttons/VcsToolButton.vue +4 -2
- package/src/components/buttons/VcsToolButton.vue.d.ts +2 -2
- package/src/components/composables.d.ts +5 -0
- package/src/components/composables.js +79 -9
- package/src/components/extent/VcsExtent.vue +10 -6
- package/src/components/extent/VcsExtent.vue.d.ts +1 -0
- package/src/components/flight/VcsFlightComponent.vue +13 -13
- package/src/components/flight/VcsFlightComponent.vue.d.ts +1 -0
- package/src/components/form-inputs-controls/VcsCheckbox.vue +8 -3
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue +3 -8
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue.d.ts +0 -1
- package/src/components/form-inputs-controls/VcsCoordinate.vue +1 -2
- package/src/components/form-inputs-controls/VcsFileInput.vue +1 -1
- package/src/components/form-inputs-controls/VcsLabel.vue +1 -1
- package/src/components/form-inputs-controls/VcsRadio.vue +8 -6
- package/src/components/form-inputs-controls/VcsRadio.vue.d.ts +1 -0
- package/src/components/form-inputs-controls/VcsSelect.vue +1 -1
- package/src/components/form-inputs-controls/VcsSlider.vue +5 -5
- package/src/components/form-inputs-controls/VcsTextArea.vue +1 -1
- package/src/components/form-inputs-controls/VcsTextField.vue +10 -1
- package/src/components/form-inputs-controls/VcsTextField.vue.d.ts +2 -1
- package/src/components/form-inputs-controls/VcsWizard.vue +3 -3
- package/src/components/form-inputs-controls/VcsWizardStep.vue +5 -1
- package/src/components/form-inputs-controls/vcsTextField.scss +7 -1
- package/src/components/form-output/VcsFormattedNumber.vue +1 -1
- package/src/components/import/VcsImportComponent.vue +7 -4
- package/src/components/import/VcsImportComponent.vue.d.ts +1 -1
- package/src/components/lists/VcsActionList.vue +2 -6
- package/src/components/lists/VcsListItemComponent.vue +20 -10
- package/src/components/lists/VcsListItemComponent.vue.d.ts +11 -1
- package/src/components/lists/VcsTreeview.vue +53 -11
- package/src/components/lists/VcsTreeview.vue.d.ts +2 -0
- package/src/components/lists/VcsTreeviewSearchbar.vue +14 -3
- package/src/components/lists/VcsTreeviewSearchbar.vue.d.ts +3 -1
- package/src/components/lists/VcsTreeviewTitle.vue +36 -0
- package/src/components/modelHelper.d.ts +10 -8
- package/src/components/modelHelper.js +8 -6
- package/src/components/notification/VcsHelp.vue +6 -7
- package/src/components/notification/VcsHelp.vue.d.ts +0 -9
- package/src/components/plugins/AbstractConfigEditor.vue +1 -22
- package/src/components/plugins/AbstractConfigEditor.vue.d.ts +6 -29
- package/src/components/section/VcsExpansionPanel.vue +9 -3
- package/src/components/section/VcsExpansionPanel.vue.d.ts +2 -2
- package/src/components/section/VcsFormSection.vue +6 -6
- package/src/components/section/VcsFormSection.vue.d.ts +2 -2
- package/src/components/style/VcsImageSelector.vue +14 -6
- package/src/components/style/VcsImageSelector.vue.d.ts +1 -0
- package/src/components/style/VcsStrokeSelector.vue +5 -2
- package/src/components/style/VcsStrokeSelector.vue.d.ts +1 -0
- package/src/components/style/VcsTextMenu.vue +2 -2
- package/src/components/tables/VcsDataTable.vue +14 -10
- package/src/components/tables/VcsDataTable.vue.d.ts +1 -0
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +42 -31
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue.d.ts +1 -0
- package/src/components/viewpoint/VcsViewpointComponent.vue +12 -9
- package/src/components/viewpoint/VcsViewpointComponent.vue.d.ts +1 -0
- package/src/contentTree/contentTreeItem.d.ts +2 -2
- package/src/contentTree/contentTreeItem.js +1 -1
- package/src/featureInfo/BalloonComponent.vue +21 -13
- package/src/featureInfo/BalloonComponent.vue.d.ts +1 -0
- package/src/featureInfo/abstractFeatureInfoView.d.ts +4 -4
- package/src/featureInfo/abstractFeatureInfoView.js +4 -4
- package/src/featureInfo/featureInfo.d.ts +2 -2
- package/src/featureInfo/featureInfo.js +1 -1
- package/src/i18n/i18nCollection.d.ts +9 -15
- package/src/i18n/i18nCollection.js +3 -3
- package/src/legend/VcsLegend.vue +6 -2
- package/src/legend/VcsLegend.vue.d.ts +1 -0
- package/src/manager/collectionManager/CollectionComponentList.vue +1 -1
- package/src/manager/collectionManager/categoryManager.d.ts +1 -1
- package/src/manager/collectionManager/collectionComponentClass.d.ts +2 -2
- package/src/manager/collectionManager/collectionComponentClass.js +4 -4
- package/src/manager/collectionManager/collectionManager.d.ts +1 -1
- package/src/manager/toolbox/GroupToolboxComponent.vue +8 -6
- package/src/manager/toolbox/GroupToolboxComponent.vue.d.ts +1 -1
- package/src/manager/toolbox/SelectToolboxComponent.vue +8 -6
- package/src/manager/toolbox/SelectToolboxComponent.vue.d.ts +1 -1
- package/src/manager/toolbox/{ToolboxManager.vue → ToolboxManagerComponent.vue} +8 -5
- package/src/manager/toolbox/{ToolboxManager.vue.d.ts → ToolboxManagerComponent.vue.d.ts} +1 -1
- package/src/manager/window/WindowComponentHeader.vue +6 -3
- package/src/manager/window/WindowComponentHeader.vue.d.ts +1 -0
- package/src/manager/window/windowManager.d.ts +6 -6
- package/src/manager/window/windowManager.js +3 -3
- package/src/navigation/OrientationToolsButton.vue +2 -4
- package/src/navigation/TiltSlider.vue +3 -5
- package/src/search/SearchComponent.vue +8 -6
- package/src/search/SearchComponent.vue.d.ts +1 -1
- package/src/styles/vcsList.scss +1 -1
- package/src/uiConfig.d.ts +12 -3
- package/src/uiConfig.js +2 -1
- package/src/vcsUiApp.d.ts +41 -56
- package/src/vcsUiApp.js +34 -28
- package/src/vuePlugins/vuetify.d.ts +88 -62
- package/src/vuePlugins/vuetify.js +116 -20
- package/dist/assets/ui-7214428e.css +0 -1
- package/plugins/@vcmap-show-case/theme-changer/README.md +0 -23
- package/plugins/@vcmap-show-case/theme-changer/config.json +0 -69
- package/plugins/@vcmap-show-case/theme-changer/package.json +0 -11
- package/plugins/@vcmap-show-case/theme-changer/src/ThemeChangerComponent.vue +0 -120
- package/plugins/@vcmap-show-case/theme-changer/src/index.js +0 -108
- package/src/components/lists/VcsTreeviewLeaf.vue +0 -92
- /package/dist/assets/{cesium-126f111a.js → cesium-ccb4cc30.js} +0 -0
- /package/dist/assets/{ol-27f9b3f3.js → ol-e7981d5c.js} +0 -0
- /package/dist/assets/{vue-c78a5f76.js → vue-87bc6efe.js} +0 -0
- /package/src/components/lists/{VcsTreeviewLeaf.vue.d.ts → VcsTreeviewTitle.vue.d.ts} +0 -0
package/build/buildTypes.js
CHANGED
@@ -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
|
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
|
`;
|
package/config/base.config.json
CHANGED
package/config/dev.config.json
CHANGED
@@ -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": [
|
@@ -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
|
+
}
|
package/config/www.config.json
CHANGED
@@ -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/
|
1875
|
-
"entry": "plugins/@vcmap/
|
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"
|
package/dist/assets/cesium.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./cesium-
|
1
|
+
export * from "./cesium-ccb4cc30.js";
|