@vcmap/ui 6.1.0-rc.6 → 6.1.0-rc.7
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/config/cluster.config.json +4 -13
- package/config/dev.config.json +6 -3
- package/config/splashscreen.config.json +6 -10
- package/dist/assets/{cesium-f5e8e354.js → cesium-6c6aa853.js} +53 -23
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core-c134a524.js → core-52c2ef11.js} +5982 -5411
- package/dist/assets/core.js +1 -1
- package/dist/assets/{ol-2752311f.js → ol-b0589b0c.js} +87 -37
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui-dccb9009.css +1 -0
- package/dist/assets/{ui-83514586.js → ui-dccb9009.js} +16051 -15479
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +1 -1
- package/dist/assets/{vuetify-5dbe2644.css → vuetify-43a20e18.css} +1 -1
- package/dist/assets/{vuetify-5dbe2644.js → vuetify-43a20e18.js} +5004 -4958
- package/dist/assets/vuetify.js +1 -1
- package/dist/index.html +1 -1
- package/index.d.ts +2 -0
- package/index.html +1 -1
- package/index.js +1 -0
- package/package.json +6 -3
- package/plugins/@vcmap-show-case/theming-example/src/index.js +1 -0
- package/src/application/MapsGroupMobileMenu.vue +105 -0
- package/src/application/MapsGroupMobileMenu.vue.d.ts +7 -0
- package/src/application/VcsApp.vue +48 -24
- package/src/application/VcsApp.vue.d.ts +5 -2
- package/src/application/VcsContainer.vue +35 -13
- package/src/application/VcsContainer.vue.d.ts +3 -0
- package/src/application/VcsMobileMenuList.vue +118 -0
- package/src/application/VcsMobileMenuList.vue.d.ts +2 -0
- package/src/application/VcsNavbar.vue +12 -3
- package/src/application/VcsNavbarMobile.vue +218 -0
- package/src/application/VcsNavbarMobile.vue.d.ts +43 -0
- package/src/application/VcsSplashScreen.vue +39 -7
- package/src/application/VcsSplashScreen.vue.d.ts +6 -0
- package/src/application/uiConfigHelper.d.ts +12 -0
- package/src/application/uiConfigHelper.js +37 -0
- package/src/components/buttons/VcsToolButton.vue +8 -1
- package/src/components/buttons/VcsToolButton.vue.d.ts +1 -0
- package/src/components/form-output/VcsTemplateMarkdown.vue +43 -0
- package/src/components/form-output/VcsTemplateMarkdown.vue.d.ts +9 -0
- package/src/components/lists/VcsTreeNode.vue +6 -1
- package/src/components/lists/VcsTreeview.vue +36 -2
- package/src/components/lists/VcsTreeview.vue.d.ts +1 -0
- package/src/components/lists/VcsTreeviewTitle.vue +8 -1
- package/src/contentTree/contentTreeCollection.js +1 -0
- package/src/contentTree/flightContentTreeItem.d.ts +8 -1
- package/src/contentTree/flightContentTreeItem.js +26 -3
- package/src/contentTree/groupContentTreeItem.d.ts +16 -0
- package/src/contentTree/groupContentTreeItem.js +31 -1
- package/src/contentTree/layerContentTreeItem.d.ts +8 -1
- package/src/contentTree/layerContentTreeItem.js +25 -3
- package/src/contentTree/layerGroupContentTreeItem.d.ts +6 -0
- package/src/contentTree/layerGroupContentTreeItem.js +27 -3
- package/src/contentTree/obliqueCollectionContentTreeItem.d.ts +6 -0
- package/src/contentTree/obliqueCollectionContentTreeItem.js +22 -2
- package/src/featureInfo/BalloonComponent.vue +6 -6
- package/src/featureInfo/MarkdownBalloonComponent.vue +3 -9
- package/src/featureInfo/MarkdownBalloonComponent.vue.d.ts +1 -11
- package/src/featureInfo/balloonHelper.js +1 -1
- package/src/featureInfo/featureInfo.js +2 -3
- package/src/featureInfo/markdownBalloonFeatureInfoView.d.ts +0 -6
- package/src/featureInfo/markdownBalloonFeatureInfoView.js +5 -14
- package/src/featureInfo/markdownFeatureInfoView.d.ts +2 -8
- package/src/featureInfo/markdownFeatureInfoView.js +6 -15
- package/src/i18n/de.d.ts +58 -50
- package/src/i18n/de.js +5 -0
- package/src/i18n/en.d.ts +58 -50
- package/src/i18n/en.js +5 -0
- package/src/legend/VcsLegend.vue +21 -2
- package/src/legend/VcsLegend.vue.d.ts +1 -0
- package/src/legend/legendHelper.d.ts +0 -13
- package/src/legend/legendHelper.js +3 -27
- package/src/manager/navbarManager.d.ts +14 -1
- package/src/manager/navbarManager.js +22 -2
- package/src/manager/toolbox/GroupToolboxComponent.vue +16 -3
- package/src/manager/toolbox/GroupToolboxComponent.vue.d.ts +1 -0
- package/src/manager/toolbox/SelectToolboxComponent.vue +15 -3
- package/src/manager/toolbox/SelectToolboxComponent.vue.d.ts +1 -0
- package/src/manager/toolbox/ToolboxManagerComponent.vue +44 -14
- package/src/manager/toolbox/ToolboxManagerComponent.vue.d.ts +9 -0
- package/src/manager/toolbox/toolboxManager.d.ts +2 -1
- package/src/manager/toolbox/toolboxManager.js +13 -1
- package/src/manager/window/WindowComponent.vue +3 -2
- package/src/manager/window/WindowComponentHeader.vue +9 -1
- package/src/manager/window/WindowComponentHeader.vue.d.ts +1 -0
- package/src/manager/window/WindowManager.vue +175 -30
- package/src/manager/window/WindowManager.vue.d.ts +5 -0
- package/src/navigation/MapNavigation.vue +27 -19
- package/src/navigation/MapNavigation.vue.d.ts +1 -0
- package/src/search/ResultsComponent.vue +44 -17
- package/src/search/ResultsComponent.vue.d.ts +11 -1
- package/src/search/SearchComponent.vue +60 -9
- package/src/search/SearchComponent.vue.d.ts +2 -0
- package/src/vuePlugins/vuetify.d.ts +4 -0
- package/src/vuePlugins/vuetify.js +49 -3
- package/dist/assets/ui-83514586.css +0 -1
- /package/dist/assets/{vue-f8b1b5f8.js → vue-f7a0b088.js} +0 -0
@@ -1,6 +1,5 @@
|
|
1
|
-
import { renderTemplate } from '@vcmap/core';
|
2
1
|
import AbstractFeatureInfoView from './abstractFeatureInfoView.js';
|
3
|
-
import
|
2
|
+
import VcsTemplateMarkdown from '../components/form-output/VcsTemplateMarkdown.vue';
|
4
3
|
|
5
4
|
/**
|
6
5
|
* @typedef {import("./abstractFeatureInfoView.js").FeatureInfoViewOptions & { template: string | string[] }} MarkdownFeatureInfoViewOptions
|
@@ -8,7 +7,7 @@ import VcsMarkdown from '../components/form-output/VcsMarkdown.vue';
|
|
8
7
|
*/
|
9
8
|
|
10
9
|
/**
|
11
|
-
* @typedef {import("./abstractFeatureInfoView.js").FeatureInfoProps & {
|
10
|
+
* @typedef {import("./abstractFeatureInfoView.js").FeatureInfoProps & { template: string }} MarkdownFeatureInfoViewProps
|
12
11
|
*/
|
13
12
|
|
14
13
|
/**
|
@@ -28,7 +27,7 @@ class MarkdownFeatureInfoView extends AbstractFeatureInfoView {
|
|
28
27
|
* @param {MarkdownFeatureInfoViewOptions} options
|
29
28
|
*/
|
30
29
|
constructor(options) {
|
31
|
-
super(options,
|
30
|
+
super(options, VcsTemplateMarkdown);
|
32
31
|
|
33
32
|
/**
|
34
33
|
* @type {string | string[]}
|
@@ -38,15 +37,6 @@ class MarkdownFeatureInfoView extends AbstractFeatureInfoView {
|
|
38
37
|
: options.template;
|
39
38
|
}
|
40
39
|
|
41
|
-
/**
|
42
|
-
* @param {Record<string, unknown>} attributes
|
43
|
-
* @protected
|
44
|
-
* @returns {string}
|
45
|
-
*/
|
46
|
-
_renderTemplate(attributes) {
|
47
|
-
return renderTemplate(this.template, attributes);
|
48
|
-
}
|
49
|
-
|
50
40
|
/**
|
51
41
|
* Supports markdown templates (e.g. {{someProperty}}) and style expressions to derive a markdown rendering
|
52
42
|
* @param {import("./featureInfo.js").FeatureInfoEvent} featureInfo
|
@@ -57,10 +47,11 @@ class MarkdownFeatureInfoView extends AbstractFeatureInfoView {
|
|
57
47
|
const properties = super.getProperties(featureInfo, layer);
|
58
48
|
return {
|
59
49
|
...properties,
|
60
|
-
|
50
|
+
template: this.template,
|
51
|
+
context: {
|
61
52
|
...properties,
|
62
53
|
...properties.attributes,
|
63
|
-
}
|
54
|
+
},
|
64
55
|
};
|
65
56
|
}
|
66
57
|
|
package/src/i18n/de.d.ts
CHANGED
@@ -123,33 +123,37 @@ declare namespace messages {
|
|
123
123
|
export { tooltip_1 as tooltip };
|
124
124
|
}
|
125
125
|
}
|
126
|
-
export namespace
|
126
|
+
export namespace mobileMenu {
|
127
127
|
let title: string;
|
128
|
-
|
129
|
-
|
128
|
+
}
|
129
|
+
export namespace content {
|
130
|
+
let title_1: string;
|
131
|
+
export { title_1 as title };
|
132
|
+
export let empty: string;
|
133
|
+
export namespace search {
|
130
134
|
let placeholder: string;
|
131
135
|
}
|
132
|
-
namespace helpAction {
|
133
|
-
let title_1: string;
|
134
|
-
export { title_1 as title };
|
135
|
-
}
|
136
|
-
namespace infoAction {
|
136
|
+
export namespace helpAction {
|
137
137
|
let title_2: string;
|
138
138
|
export { title_2 as title };
|
139
139
|
}
|
140
|
-
namespace
|
140
|
+
export namespace infoAction {
|
141
141
|
let title_3: string;
|
142
142
|
export { title_3 as title };
|
143
143
|
}
|
144
|
-
namespace
|
144
|
+
export namespace viewpointAction {
|
145
145
|
let title_4: string;
|
146
146
|
export { title_4 as title };
|
147
147
|
}
|
148
|
-
namespace
|
149
|
-
export let name: string;
|
148
|
+
export namespace styleAction {
|
150
149
|
let title_5: string;
|
151
150
|
export { title_5 as title };
|
152
151
|
}
|
152
|
+
export namespace layerExtentAction {
|
153
|
+
export let name: string;
|
154
|
+
let title_6: string;
|
155
|
+
export { title_6 as title };
|
156
|
+
}
|
153
157
|
}
|
154
158
|
export namespace navigation {
|
155
159
|
let rotateButton: string;
|
@@ -174,13 +178,13 @@ declare namespace messages {
|
|
174
178
|
}
|
175
179
|
namespace obliqueFallback {
|
176
180
|
export let message: string;
|
177
|
-
let
|
178
|
-
export {
|
181
|
+
let title_7: string;
|
182
|
+
export { title_7 as title };
|
179
183
|
}
|
180
184
|
}
|
181
185
|
export namespace categoryManager {
|
182
|
-
let
|
183
|
-
export {
|
186
|
+
let title_8: string;
|
187
|
+
export { title_8 as title };
|
184
188
|
let tooltip_2: string;
|
185
189
|
export { tooltip_2 as tooltip };
|
186
190
|
}
|
@@ -257,8 +261,8 @@ declare namespace messages {
|
|
257
261
|
export let general: string;
|
258
262
|
let name_1: string;
|
259
263
|
export { name_1 as name };
|
260
|
-
let
|
261
|
-
export {
|
264
|
+
let title_9: string;
|
265
|
+
export { title_9 as title };
|
262
266
|
export let titlePlaceholder: string;
|
263
267
|
export let interpolation: string;
|
264
268
|
export let duration: string;
|
@@ -292,8 +296,8 @@ declare namespace messages {
|
|
292
296
|
export namespace viewpoint {
|
293
297
|
let name_4: string;
|
294
298
|
export { name_4 as name };
|
295
|
-
let
|
296
|
-
export {
|
299
|
+
let title_10: string;
|
300
|
+
export { title_10 as title };
|
297
301
|
let titlePlaceholder_1: string;
|
298
302
|
export { titlePlaceholder_1 as titlePlaceholder };
|
299
303
|
export let groundPosition: string;
|
@@ -318,8 +322,8 @@ declare namespace messages {
|
|
318
322
|
let outOfRange: string;
|
319
323
|
}
|
320
324
|
export namespace extent {
|
321
|
-
let
|
322
|
-
export {
|
325
|
+
let title_11: string;
|
326
|
+
export { title_11 as title };
|
323
327
|
export let projection: string;
|
324
328
|
export let min: string;
|
325
329
|
export let max: string;
|
@@ -334,8 +338,8 @@ declare namespace messages {
|
|
334
338
|
export let toggle: string;
|
335
339
|
}
|
336
340
|
export namespace projection_1 {
|
337
|
-
let
|
338
|
-
export {
|
341
|
+
let title_12: string;
|
342
|
+
export { title_12 as title };
|
339
343
|
export let epsg: string;
|
340
344
|
export let proj4: string;
|
341
345
|
export let proj4Tooltip: string;
|
@@ -363,8 +367,8 @@ declare namespace messages {
|
|
363
367
|
export let modifyInfo: string;
|
364
368
|
export let styleHeader: string;
|
365
369
|
export namespace snapping {
|
366
|
-
let
|
367
|
-
export {
|
370
|
+
let title_13: string;
|
371
|
+
export { title_13 as title };
|
368
372
|
let help_1: string;
|
369
373
|
export { help_1 as help };
|
370
374
|
export let orthogonalTooltip: string;
|
@@ -432,14 +436,14 @@ declare namespace messages {
|
|
432
436
|
}
|
433
437
|
}
|
434
438
|
export namespace settings {
|
435
|
-
let
|
436
|
-
export {
|
439
|
+
let title_14: string;
|
440
|
+
export { title_14 as title };
|
437
441
|
let tooltip_3: string;
|
438
442
|
export { tooltip_3 as tooltip };
|
439
443
|
export let languageSelector: string;
|
440
444
|
export namespace displayQuality {
|
441
|
-
let
|
442
|
-
export {
|
445
|
+
let title_15: string;
|
446
|
+
export { title_15 as title };
|
443
447
|
export namespace level {
|
444
448
|
let low: string;
|
445
449
|
let medium: string;
|
@@ -447,15 +451,15 @@ declare namespace messages {
|
|
447
451
|
}
|
448
452
|
}
|
449
453
|
export namespace theme {
|
450
|
-
let
|
451
|
-
export {
|
454
|
+
let title_16: string;
|
455
|
+
export { title_16 as title };
|
452
456
|
export let dark: string;
|
453
457
|
export let light: string;
|
454
458
|
}
|
455
459
|
}
|
456
460
|
export namespace help_3 {
|
457
|
-
let
|
458
|
-
export {
|
461
|
+
let title_17: string;
|
462
|
+
export { title_17 as title };
|
459
463
|
let tooltip_4: string;
|
460
464
|
export { tooltip_4 as tooltip };
|
461
465
|
}
|
@@ -472,8 +476,8 @@ declare namespace messages {
|
|
472
476
|
}
|
473
477
|
}
|
474
478
|
export namespace legend {
|
475
|
-
let
|
476
|
-
export {
|
479
|
+
let title_18: string;
|
480
|
+
export { title_18 as title };
|
477
481
|
let tooltip_5: string;
|
478
482
|
export { tooltip_5 as tooltip };
|
479
483
|
let empty_3: string;
|
@@ -482,8 +486,8 @@ declare namespace messages {
|
|
482
486
|
export let defaultLabelText: string;
|
483
487
|
}
|
484
488
|
export namespace search_1 {
|
485
|
-
let
|
486
|
-
export {
|
489
|
+
let title_19: string;
|
490
|
+
export { title_19 as title };
|
487
491
|
let tooltip_6: string;
|
488
492
|
export { tooltip_6 as tooltip };
|
489
493
|
export let select: string;
|
@@ -491,41 +495,42 @@ declare namespace messages {
|
|
491
495
|
export { placeholder_1 as placeholder };
|
492
496
|
export let zoomToFeatureAction: string;
|
493
497
|
export let zoomToAll: string;
|
498
|
+
export let zoomToAllMobile: string;
|
494
499
|
}
|
495
500
|
export { search_1 as search };
|
496
501
|
export namespace toolbox {
|
497
|
-
let
|
498
|
-
export {
|
502
|
+
let title_20: string;
|
503
|
+
export { title_20 as title };
|
499
504
|
let flight_1: string;
|
500
505
|
export { flight_1 as flight };
|
501
506
|
export let miscellaneous: string;
|
502
507
|
}
|
503
508
|
export namespace footer {
|
504
|
-
let
|
505
|
-
export {
|
509
|
+
let title_21: string;
|
510
|
+
export { title_21 as title };
|
506
511
|
export namespace attributions {
|
507
|
-
let
|
508
|
-
export {
|
512
|
+
let title_22: string;
|
513
|
+
export { title_22 as title };
|
509
514
|
let tooltip_7: string;
|
510
515
|
export { tooltip_7 as tooltip };
|
511
516
|
let empty_4: string;
|
512
517
|
export { empty_4 as empty };
|
513
518
|
}
|
514
519
|
export namespace imprint {
|
515
|
-
let
|
516
|
-
export {
|
520
|
+
let title_23: string;
|
521
|
+
export { title_23 as title };
|
517
522
|
let tooltip_8: string;
|
518
523
|
export { tooltip_8 as tooltip };
|
519
524
|
}
|
520
525
|
export namespace dataProtection {
|
521
|
-
let
|
522
|
-
export {
|
526
|
+
let title_24: string;
|
527
|
+
export { title_24 as title };
|
523
528
|
let tooltip_9: string;
|
524
529
|
export { tooltip_9 as tooltip };
|
525
530
|
}
|
526
531
|
export namespace positionDisplay {
|
527
|
-
let
|
528
|
-
export {
|
532
|
+
let title_25: string;
|
533
|
+
export { title_25 as title };
|
529
534
|
let projection_2: string;
|
530
535
|
export { projection_2 as projection };
|
531
536
|
}
|
@@ -537,6 +542,9 @@ declare namespace messages {
|
|
537
542
|
let west: string;
|
538
543
|
let nadir: string;
|
539
544
|
}
|
545
|
+
export namespace mobile {
|
546
|
+
let rotationWarning: string;
|
547
|
+
}
|
540
548
|
}
|
541
549
|
export namespace notification {
|
542
550
|
let error: string;
|
package/src/i18n/de.js
CHANGED
@@ -22,6 +22,7 @@ const messages = {
|
|
22
22
|
tooltip: 'Aktuellen Kartenausschnitt teilen',
|
23
23
|
},
|
24
24
|
},
|
25
|
+
mobileMenu: { title: 'Menü' },
|
25
26
|
content: {
|
26
27
|
title: 'Inhalte',
|
27
28
|
empty: 'Aktuell sind keine Einträge verfügbar.',
|
@@ -347,6 +348,7 @@ const messages = {
|
|
347
348
|
placeholder: 'Suche nach Adresse oder Ort/Sehenswürdigkeit',
|
348
349
|
zoomToFeatureAction: 'Auf Ergebnis zoomen',
|
349
350
|
zoomToAll: 'Auf alle Ergebnisse zoomen',
|
351
|
+
zoomToAllMobile: 'Auf alle zoomen',
|
350
352
|
},
|
351
353
|
toolbox: {
|
352
354
|
title: 'Werkzeugkasten',
|
@@ -380,6 +382,9 @@ const messages = {
|
|
380
382
|
west: 'West',
|
381
383
|
nadir: 'Nadir',
|
382
384
|
},
|
385
|
+
mobile: {
|
386
|
+
rotationWarning: 'Rotieren um alle Feature zu benutzen',
|
387
|
+
},
|
383
388
|
},
|
384
389
|
notification: {
|
385
390
|
error: 'Fehler',
|
package/src/i18n/en.d.ts
CHANGED
@@ -123,33 +123,37 @@ declare namespace messages {
|
|
123
123
|
export { tooltip_1 as tooltip };
|
124
124
|
}
|
125
125
|
}
|
126
|
-
export namespace
|
126
|
+
export namespace mobileMenu {
|
127
127
|
let title: string;
|
128
|
-
|
129
|
-
|
128
|
+
}
|
129
|
+
export namespace content {
|
130
|
+
let title_1: string;
|
131
|
+
export { title_1 as title };
|
132
|
+
export let empty: string;
|
133
|
+
export namespace search {
|
130
134
|
let placeholder: string;
|
131
135
|
}
|
132
|
-
namespace helpAction {
|
133
|
-
let title_1: string;
|
134
|
-
export { title_1 as title };
|
135
|
-
}
|
136
|
-
namespace infoAction {
|
136
|
+
export namespace helpAction {
|
137
137
|
let title_2: string;
|
138
138
|
export { title_2 as title };
|
139
139
|
}
|
140
|
-
namespace
|
140
|
+
export namespace infoAction {
|
141
141
|
let title_3: string;
|
142
142
|
export { title_3 as title };
|
143
143
|
}
|
144
|
-
namespace
|
144
|
+
export namespace viewpointAction {
|
145
145
|
let title_4: string;
|
146
146
|
export { title_4 as title };
|
147
147
|
}
|
148
|
-
namespace
|
149
|
-
export let name: string;
|
148
|
+
export namespace styleAction {
|
150
149
|
let title_5: string;
|
151
150
|
export { title_5 as title };
|
152
151
|
}
|
152
|
+
export namespace layerExtentAction {
|
153
|
+
export let name: string;
|
154
|
+
let title_6: string;
|
155
|
+
export { title_6 as title };
|
156
|
+
}
|
153
157
|
}
|
154
158
|
export namespace navigation {
|
155
159
|
let rotateButton: string;
|
@@ -174,13 +178,13 @@ declare namespace messages {
|
|
174
178
|
}
|
175
179
|
namespace obliqueFallback {
|
176
180
|
export let message: string;
|
177
|
-
let
|
178
|
-
export {
|
181
|
+
let title_7: string;
|
182
|
+
export { title_7 as title };
|
179
183
|
}
|
180
184
|
}
|
181
185
|
export namespace categoryManager {
|
182
|
-
let
|
183
|
-
export {
|
186
|
+
let title_8: string;
|
187
|
+
export { title_8 as title };
|
184
188
|
let tooltip_2: string;
|
185
189
|
export { tooltip_2 as tooltip };
|
186
190
|
}
|
@@ -257,8 +261,8 @@ declare namespace messages {
|
|
257
261
|
export let general: string;
|
258
262
|
let name_1: string;
|
259
263
|
export { name_1 as name };
|
260
|
-
let
|
261
|
-
export {
|
264
|
+
let title_9: string;
|
265
|
+
export { title_9 as title };
|
262
266
|
export let titlePlaceholder: string;
|
263
267
|
export let interpolation: string;
|
264
268
|
export let duration: string;
|
@@ -292,8 +296,8 @@ declare namespace messages {
|
|
292
296
|
export namespace viewpoint {
|
293
297
|
let name_4: string;
|
294
298
|
export { name_4 as name };
|
295
|
-
let
|
296
|
-
export {
|
299
|
+
let title_10: string;
|
300
|
+
export { title_10 as title };
|
297
301
|
let titlePlaceholder_1: string;
|
298
302
|
export { titlePlaceholder_1 as titlePlaceholder };
|
299
303
|
export let groundPosition: string;
|
@@ -318,8 +322,8 @@ declare namespace messages {
|
|
318
322
|
let outOfRange: string;
|
319
323
|
}
|
320
324
|
export namespace extent {
|
321
|
-
let
|
322
|
-
export {
|
325
|
+
let title_11: string;
|
326
|
+
export { title_11 as title };
|
323
327
|
export let projection: string;
|
324
328
|
export let min: string;
|
325
329
|
export let max: string;
|
@@ -334,8 +338,8 @@ declare namespace messages {
|
|
334
338
|
export let toggle: string;
|
335
339
|
}
|
336
340
|
export namespace projection_1 {
|
337
|
-
let
|
338
|
-
export {
|
341
|
+
let title_12: string;
|
342
|
+
export { title_12 as title };
|
339
343
|
export let epsg: string;
|
340
344
|
export let proj4: string;
|
341
345
|
export let proj4Tooltip: string;
|
@@ -363,8 +367,8 @@ declare namespace messages {
|
|
363
367
|
export let modifyInfo: string;
|
364
368
|
export let styleHeader: string;
|
365
369
|
export namespace snapping {
|
366
|
-
let
|
367
|
-
export {
|
370
|
+
let title_13: string;
|
371
|
+
export { title_13 as title };
|
368
372
|
let help_1: string;
|
369
373
|
export { help_1 as help };
|
370
374
|
export let orthogonalTooltip: string;
|
@@ -432,14 +436,14 @@ declare namespace messages {
|
|
432
436
|
}
|
433
437
|
}
|
434
438
|
export namespace settings {
|
435
|
-
let
|
436
|
-
export {
|
439
|
+
let title_14: string;
|
440
|
+
export { title_14 as title };
|
437
441
|
let tooltip_3: string;
|
438
442
|
export { tooltip_3 as tooltip };
|
439
443
|
export let languageSelector: string;
|
440
444
|
export namespace displayQuality {
|
441
|
-
let
|
442
|
-
export {
|
445
|
+
let title_15: string;
|
446
|
+
export { title_15 as title };
|
443
447
|
export namespace level {
|
444
448
|
let low: string;
|
445
449
|
let medium: string;
|
@@ -447,15 +451,15 @@ declare namespace messages {
|
|
447
451
|
}
|
448
452
|
}
|
449
453
|
export namespace theme {
|
450
|
-
let
|
451
|
-
export {
|
454
|
+
let title_16: string;
|
455
|
+
export { title_16 as title };
|
452
456
|
export let dark: string;
|
453
457
|
export let light: string;
|
454
458
|
}
|
455
459
|
}
|
456
460
|
export namespace help_3 {
|
457
|
-
let
|
458
|
-
export {
|
461
|
+
let title_17: string;
|
462
|
+
export { title_17 as title };
|
459
463
|
let tooltip_4: string;
|
460
464
|
export { tooltip_4 as tooltip };
|
461
465
|
}
|
@@ -472,8 +476,8 @@ declare namespace messages {
|
|
472
476
|
}
|
473
477
|
}
|
474
478
|
export namespace legend {
|
475
|
-
let
|
476
|
-
export {
|
479
|
+
let title_18: string;
|
480
|
+
export { title_18 as title };
|
477
481
|
let tooltip_5: string;
|
478
482
|
export { tooltip_5 as tooltip };
|
479
483
|
let empty_3: string;
|
@@ -482,50 +486,51 @@ declare namespace messages {
|
|
482
486
|
export let defaultLabelText: string;
|
483
487
|
}
|
484
488
|
export namespace search_1 {
|
485
|
-
let
|
486
|
-
export {
|
489
|
+
let title_19: string;
|
490
|
+
export { title_19 as title };
|
487
491
|
let tooltip_6: string;
|
488
492
|
export { tooltip_6 as tooltip };
|
489
493
|
export let select: string;
|
490
494
|
let placeholder_1: string;
|
491
495
|
export { placeholder_1 as placeholder };
|
492
496
|
export let zoomToFeatureAction: string;
|
497
|
+
export let zoomToAllMobile: string;
|
493
498
|
export let zoomToAll: string;
|
494
499
|
}
|
495
500
|
export { search_1 as search };
|
496
501
|
export namespace toolbox {
|
497
|
-
let
|
498
|
-
export {
|
502
|
+
let title_20: string;
|
503
|
+
export { title_20 as title };
|
499
504
|
let flight_1: string;
|
500
505
|
export { flight_1 as flight };
|
501
506
|
export let miscellaneous: string;
|
502
507
|
}
|
503
508
|
export namespace footer {
|
504
|
-
let
|
505
|
-
export {
|
509
|
+
let title_21: string;
|
510
|
+
export { title_21 as title };
|
506
511
|
export namespace attributions {
|
507
|
-
let
|
508
|
-
export {
|
512
|
+
let title_22: string;
|
513
|
+
export { title_22 as title };
|
509
514
|
let tooltip_7: string;
|
510
515
|
export { tooltip_7 as tooltip };
|
511
516
|
let empty_4: string;
|
512
517
|
export { empty_4 as empty };
|
513
518
|
}
|
514
519
|
export namespace imprint {
|
515
|
-
let
|
516
|
-
export {
|
520
|
+
let title_23: string;
|
521
|
+
export { title_23 as title };
|
517
522
|
let tooltip_8: string;
|
518
523
|
export { tooltip_8 as tooltip };
|
519
524
|
}
|
520
525
|
export namespace dataProtection {
|
521
|
-
let
|
522
|
-
export {
|
526
|
+
let title_24: string;
|
527
|
+
export { title_24 as title };
|
523
528
|
let tooltip_9: string;
|
524
529
|
export { tooltip_9 as tooltip };
|
525
530
|
}
|
526
531
|
export namespace positionDisplay {
|
527
|
-
let
|
528
|
-
export {
|
532
|
+
let title_25: string;
|
533
|
+
export { title_25 as title };
|
529
534
|
let projection_2: string;
|
530
535
|
export { projection_2 as projection };
|
531
536
|
}
|
@@ -537,6 +542,9 @@ declare namespace messages {
|
|
537
542
|
let west: string;
|
538
543
|
let nadir: string;
|
539
544
|
}
|
545
|
+
export namespace mobile {
|
546
|
+
let rotationWarning: string;
|
547
|
+
}
|
540
548
|
}
|
541
549
|
export namespace notification {
|
542
550
|
let error: string;
|
package/src/i18n/en.js
CHANGED
@@ -22,6 +22,7 @@ const messages = {
|
|
22
22
|
tooltip: 'Share current view of the map',
|
23
23
|
},
|
24
24
|
},
|
25
|
+
mobileMenu: { title: 'Menu' },
|
25
26
|
content: {
|
26
27
|
title: 'Content',
|
27
28
|
empty: 'Currently there are no entries available.',
|
@@ -346,6 +347,7 @@ const messages = {
|
|
346
347
|
select: 'Select result item',
|
347
348
|
placeholder: 'Search for address or landmark/point of interest',
|
348
349
|
zoomToFeatureAction: 'Zoom to result',
|
350
|
+
zoomToAllMobile: 'Zoom to all',
|
349
351
|
zoomToAll: 'Zoom to all',
|
350
352
|
},
|
351
353
|
toolbox: {
|
@@ -380,6 +382,9 @@ const messages = {
|
|
380
382
|
west: 'west',
|
381
383
|
nadir: 'nadir',
|
382
384
|
},
|
385
|
+
mobile: {
|
386
|
+
rotationWarning: 'Rotate to use all features',
|
387
|
+
},
|
383
388
|
},
|
384
389
|
notification: {
|
385
390
|
error: 'Error',
|
package/src/legend/VcsLegend.vue
CHANGED
@@ -12,10 +12,16 @@
|
|
12
12
|
:key="i"
|
13
13
|
:value="entry.key"
|
14
14
|
:heading="entry.title"
|
15
|
-
:header-actions="entry.actions"
|
16
15
|
>
|
17
|
-
<v-list class="pl-6 pb-2">
|
16
|
+
<v-list class="pl-6 pb-2 pr-2">
|
18
17
|
<div v-for="(item, idx) in entry.legend" :key="idx">
|
18
|
+
<VcsButton
|
19
|
+
v-if="item.popoutBtn && item.src"
|
20
|
+
class="popout-button ma-1"
|
21
|
+
icon="mdi-open-in-new"
|
22
|
+
tooltip="legend.openInNew"
|
23
|
+
@click="openInNew(item.src)"
|
24
|
+
/>
|
19
25
|
<div v-if="item.type === LegendType.Image">
|
20
26
|
<img
|
21
27
|
:src="$st(item.src)"
|
@@ -51,6 +57,7 @@
|
|
51
57
|
import { useComponentId } from '../components/composables.js';
|
52
58
|
import { LegendType } from './legendHelper.js';
|
53
59
|
import StyleLegendItem from './StyleLegendItem.vue';
|
60
|
+
import VcsButton from '../components/buttons/VcsButton.vue';
|
54
61
|
import VcsExpansionPanel from '../components/section/VcsExpansionPanel.vue';
|
55
62
|
|
56
63
|
/**
|
@@ -61,6 +68,7 @@
|
|
61
68
|
export default {
|
62
69
|
name: 'VcsLegend',
|
63
70
|
components: {
|
71
|
+
VcsButton,
|
64
72
|
VcsExpansionPanel,
|
65
73
|
StyleLegendItem,
|
66
74
|
VExpansionPanels,
|
@@ -113,6 +121,9 @@
|
|
113
121
|
setIframeHeight,
|
114
122
|
panels,
|
115
123
|
cid,
|
124
|
+
openInNew(src) {
|
125
|
+
window.open(src, '_blank');
|
126
|
+
},
|
116
127
|
};
|
117
128
|
},
|
118
129
|
};
|
@@ -122,5 +133,13 @@
|
|
122
133
|
.legend-image {
|
123
134
|
max-width: 100%;
|
124
135
|
height: auto;
|
136
|
+
position: relative;
|
137
|
+
}
|
138
|
+
.popout-button {
|
139
|
+
position: absolute;
|
140
|
+
// Matches the pr-2 padding of the LegendItem
|
141
|
+
right: 8px;
|
142
|
+
background-color: rgb(var(--v-theme-base-lighten-2));
|
143
|
+
z-index: 1;
|
125
144
|
}
|
126
145
|
</style>
|
@@ -12,6 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
12
12
|
setIframeHeight: (id: string) => void;
|
13
13
|
panels: import("vue").Ref<string[]>;
|
14
14
|
cid: string;
|
15
|
+
openInNew(src: any): void;
|
15
16
|
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
16
17
|
entries: {
|
17
18
|
type: ArrayConstructor;
|