@vcmap/ui 6.0.0-rc.7 → 6.0.0-rc.9
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/buildHelpers.js +1 -1
- package/config/base.config.json +3 -1
- package/config/dev.config.json +1 -3
- package/config/www.config.json +1 -3
- package/dist/assets/{cesium-2afc3568.js → cesium-a21a380a.js} +4672 -4704
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core-3fd82bc2.js → core-ccecb5f4.js} +4953 -4782
- package/dist/assets/core.js +1 -1
- package/dist/assets/{ol-edf7bfb3.js → ol-3c6b9b5b.js} +12074 -11458
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui-8a8aef2a.css +1 -0
- package/dist/assets/{ui-c6eb55a5.js → ui-8a8aef2a.js} +6906 -6784
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +1 -1
- package/dist/assets/{vuetify-c3b6c9b3.css → vuetify-ac50bfc8.css} +1 -1
- package/dist/assets/{vuetify-c3b6c9b3.js → vuetify-ac50bfc8.js} +4795 -4779
- package/dist/assets/vuetify.js +1 -1
- package/index.d.ts +2 -0
- package/index.js +1 -0
- package/lib/olLib.js +6 -0
- package/package.json +4 -4
- package/plugins/@vcmap-show-case/list-example/src/ListExample.vue +5 -2
- package/plugins/@vcmap-show-case/plugin-editors/src/PluginEditors.vue +3 -4
- package/plugins/package.json +19 -3
- package/src/actions/StyleSelector.vue +1 -1
- package/src/application/VcsApp.vue +29 -1
- package/src/application/VcsApp.vue.d.ts +8 -1
- package/src/application/VcsAppWrapper.vue +1 -1
- package/src/application/VcsAttributions.vue +1 -1
- package/src/application/VcsAttributionsFooter.vue +3 -1
- package/src/application/VcsContainer.vue.d.ts +8 -1
- package/src/application/VcsMainMap.vue +1 -1
- package/src/application/VcsMap.vue +1 -0
- package/src/application/VcsNavbar.vue +1 -1
- package/src/application/VcsPositionDisplay.vue +3 -3
- package/src/application/VcsSettings.vue +1 -1
- package/src/application/VcsSplashScreen.vue +1 -0
- package/src/application/VcsTextPage.vue +1 -1
- package/src/application/VcsTextPageFooter.vue +3 -1
- package/src/components/buttons/VcsActionButtonList.vue +5 -1
- package/src/components/buttons/VcsButton.vue +5 -5
- package/src/components/buttons/VcsButton.vue.d.ts +1 -1
- package/src/components/buttons/VcsFormButton.vue +4 -4
- package/src/components/buttons/VcsFormButton.vue.d.ts +1 -1
- package/src/components/buttons/VcsToolButton.vue +4 -4
- package/src/components/buttons/VcsToolButton.vue.d.ts +1 -1
- package/src/components/composables.d.ts +2 -2
- package/src/components/composables.js +3 -5
- package/src/components/extent/VcsExtent.vue +1 -1
- package/src/components/extent/VcsExtentEditor.vue +1 -0
- package/src/components/flight/VcsFlightAnchorsComponent.vue +1 -0
- package/src/components/flight/VcsFlightComponent.vue +1 -1
- package/src/components/flight/VcsFlightEditor.vue +1 -0
- package/src/components/flight/VcsFlightPlayer.vue +1 -1
- package/src/components/form-inputs-controls/VcsCheckbox.vue +11 -5
- package/src/components/form-inputs-controls/VcsCheckbox.vue.d.ts +10 -1
- package/src/components/form-inputs-controls/VcsFileInput.vue +2 -2
- package/src/components/form-inputs-controls/VcsFileInput.vue.d.ts +1 -1
- package/src/components/form-inputs-controls/VcsSelect.vue +2 -2
- package/src/components/form-inputs-controls/VcsSelect.vue.d.ts +1 -1
- package/src/components/form-inputs-controls/VcsSlider.vue +2 -2
- package/src/components/form-inputs-controls/VcsSlider.vue.d.ts +1 -1
- package/src/components/form-inputs-controls/VcsTextArea.vue +2 -2
- package/src/components/form-inputs-controls/VcsTextArea.vue.d.ts +1 -1
- package/src/components/form-inputs-controls/VcsTextField.vue +3 -3
- package/src/components/form-inputs-controls/VcsTextField.vue.d.ts +1 -1
- package/src/components/form-inputs-controls/VcsWizard.vue +3 -3
- package/src/components/form-inputs-controls/VcsWizard.vue.d.ts +1 -1
- package/src/components/form-inputs-controls/VcsWizardStep.vue +3 -2
- package/src/components/form-inputs-controls/VcsWizardStep.vue.d.ts +1 -1
- package/src/components/form-output/VcsMarkdown.vue +1 -1
- package/src/components/import/VcsFileDrop.vue +1 -1
- package/src/components/import/VcsImportComponent.vue +1 -1
- package/src/components/lists/VcsList.vue +14 -10
- package/src/components/lists/VcsListItemComponent.vue +18 -12
- package/src/components/lists/VcsListItemComponent.vue.d.ts +9 -5
- package/src/components/lists/VcsTreeview.vue +2 -2
- package/src/components/lists/VcsTreeview.vue.d.ts +1 -1
- package/src/components/lists/VcsTreeviewSearchbar.vue +1 -1
- package/src/components/lists/VcsTreeviewTitle.vue +1 -1
- package/src/components/notification/VcsBadge.vue +2 -2
- package/src/components/notification/VcsHelp.vue +1 -1
- package/src/components/plugins/AbstractConfigEditor.vue +1 -1
- package/src/components/section/VcsExpansionPanel.vue +5 -1
- package/src/components/style/MenuWrapper.vue +1 -1
- package/src/components/style/VcsFeatureStyleComponent.vue +1 -0
- package/src/components/style/VcsFillMenu.vue +1 -0
- package/src/components/style/VcsFillSelector.vue +1 -0
- package/src/components/style/VcsImageMenu.vue +1 -0
- package/src/components/style/VcsImageSelector.vue +1 -1
- package/src/components/style/VcsStrokeMenu.vue +1 -0
- package/src/components/style/VcsStrokeSelector.vue +1 -1
- package/src/components/style/VcsTextMenu.vue +1 -0
- package/src/components/style/VcsTextSelector.vue +1 -1
- package/src/components/style/VcsVectorStyleComponent.vue +1 -1
- package/src/components/tables/VcsDataTable.vue +3 -3
- package/src/components/tables/VcsDataTable.vue.d.ts +1 -1
- package/src/components/tables/VcsTable.vue +1 -0
- package/src/components/tables/VcsTableCell.vue +1 -1
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue +1 -1
- package/src/components/vector-properties/VcsFeatureTransforms.vue +1 -1
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +1 -0
- package/src/components/viewpoint/VcsViewpointComponent.vue +1 -1
- package/src/components/viewpoint/VcsViewpointEditor.vue +1 -0
- package/src/contentTree/LayerTree.vue +1 -1
- package/src/contentTree/obliqueCollectionContentTreeItem.js +6 -1
- package/src/featureInfo/AddressBalloonComponent.vue +1 -1
- package/src/featureInfo/BalloonComponent.vue +1 -1
- package/src/featureInfo/IframeComponent.vue +6 -1
- package/src/featureInfo/MarkdownBalloonComponent.vue +1 -1
- package/src/featureInfo/abstractFeatureInfoView.js +3 -2
- package/src/i18n/de.d.ts +35 -30
- package/src/i18n/de.js +5 -0
- package/src/i18n/en.d.ts +35 -30
- package/src/i18n/en.js +5 -0
- package/src/legend/StyleLegendItem.vue +1 -1
- package/src/legend/VcsLegend.vue +1 -1
- package/src/manager/collectionManager/CollectionComponent.vue +1 -0
- package/src/manager/collectionManager/collectionComponentClass.js +5 -1
- package/src/manager/contextMenu/ContextMenuComponent.vue +1 -1
- package/src/manager/panel/PanelManagerComponent.vue +2 -2
- package/src/manager/toolbox/GroupToolboxComponent.vue +2 -2
- package/src/manager/toolbox/SelectToolboxComponent.vue +2 -2
- package/src/manager/toolbox/ToolboxManagerComponent.vue +13 -2
- package/src/manager/window/WindowComponent.vue +1 -1
- package/src/manager/window/WindowManager.vue +4 -1
- package/src/manager/window/windowManager.d.ts +59 -3
- package/src/manager/window/windowManager.js +23 -2
- package/src/navigation/MapNavigation.vue +4 -1
- package/src/navigation/ObliqueRotation.vue +2 -2
- package/src/navigation/OrientationToolsButton.vue +1 -1
- package/src/navigation/TiltSlider.vue +1 -0
- package/src/navigation/VcsCompass.vue +1 -1
- package/src/navigation/VcsZoomButton.vue +1 -1
- package/src/notifier/NotifierComponent.vue +1 -1
- package/src/obliqueFallbackWarnings.d.ts +5 -0
- package/src/obliqueFallbackWarnings.js +54 -0
- package/src/search/ResultItem.vue +1 -1
- package/src/search/ResultsComponent.vue +1 -1
- package/src/search/SearchComponent.vue +3 -1
- package/src/uiConfig.d.ts +16 -4
- package/src/uiConfig.js +3 -2
- package/src/vcsUiApp.d.ts +43 -17
- package/src/vcsUiApp.js +17 -11
- package/src/vuePlugins/i18n.js +1 -0
- package/dist/assets/ui-c6eb55a5.css +0 -1
- /package/dist/assets/{vue-aefad438.js → vue-bcc58dd1.js} +0 -0
package/dist/assets/vuetify.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./vuetify-
|
1
|
+
export * from "./vuetify-ac50bfc8.js";
|
package/index.d.ts
CHANGED
@@ -294,6 +294,8 @@ export { getProvidedFlightInstance, setupFlightAnchorEditingListener } from "./s
|
|
294
294
|
export type * from "./src/components/flight/composables.d.ts";
|
295
295
|
export { default as VcsFeatureEditingWindow, EditorTransformationIcons, getAllowedEditorTransformationModes } from "./src/components/vector-properties/VcsFeatureEditingWindow.vue";
|
296
296
|
export type * from "./src/components/vector-properties/VcsFeatureEditingWindow.vue.d.ts";
|
297
|
+
export { LegendType, StyleRowType } from "./src/legend/legendHelper.js";
|
298
|
+
export type * from "./src/legend/legendHelper.d.ts";
|
297
299
|
|
298
300
|
declare module 'vue' {
|
299
301
|
interface ComponentCustomProperties {
|
package/index.js
CHANGED
@@ -315,3 +315,4 @@ export * from './src/application/attributionsHelper.js';
|
|
315
315
|
export * from './src/components/attrsHelpers.js';
|
316
316
|
export * from './src/components/modelHelper.js';
|
317
317
|
export * from './src/components/composables.js';
|
318
|
+
export { LegendType, StyleRowType } from './src/legend/legendHelper.js';
|
package/lib/olLib.js
CHANGED
@@ -63,6 +63,7 @@ export {isSorted as ol$array$isSorted} from 'ol/array';
|
|
63
63
|
export {assert as ol$asserts$assert} from 'ol/asserts';
|
64
64
|
export {createExtent as ol$centerconstraint$createExtent} from 'ol/centerconstraint';
|
65
65
|
export {none as ol$centerconstraint$none} from 'ol/centerconstraint';
|
66
|
+
export {NO_COLOR as ol$color$NO_COLOR} from 'ol/color';
|
66
67
|
export {asString as ol$color$asString} from 'ol/color';
|
67
68
|
export {withAlpha as ol$color$withAlpha} from 'ol/color';
|
68
69
|
export {rgbaToLcha as ol$color$rgbaToLcha} from 'ol/color';
|
@@ -488,6 +489,7 @@ export {default as ol$layer$Base} from 'ol/layer/Base';
|
|
488
489
|
export {default as ol$layer$BaseImage} from 'ol/layer/BaseImage';
|
489
490
|
export {default as ol$layer$BaseTile} from 'ol/layer/BaseTile';
|
490
491
|
export {default as ol$layer$BaseVector} from 'ol/layer/BaseVector';
|
492
|
+
export {default as ol$layer$Flow} from 'ol/layer/Flow';
|
491
493
|
export {default as ol$layer$Graticule} from 'ol/layer/Graticule';
|
492
494
|
export {GroupEvent as ol$layer$Group$GroupEvent} from 'ol/layer/Group';
|
493
495
|
export {default as ol$layer$Group} from 'ol/layer/Group';
|
@@ -679,6 +681,10 @@ export {defaultOrder as ol$renderer$vector$defaultOrder} from 'ol/renderer/vecto
|
|
679
681
|
export {getSquaredTolerance as ol$renderer$vector$getSquaredTolerance} from 'ol/renderer/vector';
|
680
682
|
export {getTolerance as ol$renderer$vector$getTolerance} from 'ol/renderer/vector';
|
681
683
|
export {renderFeature as ol$renderer$vector$renderFeature} from 'ol/renderer/vector';
|
684
|
+
export {U as ol$renderer$webgl$FlowLayer$U} from 'ol/renderer/webgl/FlowLayer';
|
685
|
+
export {A as ol$renderer$webgl$FlowLayer$A} from 'ol/renderer/webgl/FlowLayer';
|
686
|
+
export {V as ol$renderer$webgl$FlowLayer$V} from 'ol/renderer/webgl/FlowLayer';
|
687
|
+
export {default as ol$renderer$webgl$FlowLayer} from 'ol/renderer/webgl/FlowLayer';
|
682
688
|
export {default as ol$renderer$webgl$Layer} from 'ol/renderer/webgl/Layer';
|
683
689
|
export {default as ol$renderer$webgl$PointsLayer} from 'ol/renderer/webgl/PointsLayer';
|
684
690
|
export {Uniforms as ol$renderer$webgl$TileLayer$Uniforms} from 'ol/renderer/webgl/TileLayer';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vcmap/ui",
|
3
|
-
"version": "6.0.0-rc.
|
3
|
+
"version": "6.0.0-rc.9",
|
4
4
|
"author": "Virtual City Systems",
|
5
5
|
"license": "MIT",
|
6
6
|
"scripts": {
|
@@ -57,10 +57,10 @@
|
|
57
57
|
},
|
58
58
|
"peerDependencies": {
|
59
59
|
"@vcmap-cesium/engine": "^11.0.2",
|
60
|
-
"@vcmap/core": "^6.0.0-rc.
|
61
|
-
"ol": "^10.
|
60
|
+
"@vcmap/core": "^6.0.0-rc.10",
|
61
|
+
"ol": "^10.2.0",
|
62
62
|
"vue": "~3.4.38",
|
63
|
-
"vuetify": "^3.7.
|
63
|
+
"vuetify": "^3.7.2"
|
64
64
|
},
|
65
65
|
"devDependencies": {
|
66
66
|
"@histoire/plugin-vue": "^0.17.17",
|
@@ -146,10 +146,13 @@
|
|
146
146
|
@item-moved="move"
|
147
147
|
@item-renamed="({ item, newTitle }) => (item.title = newTitle)"
|
148
148
|
>
|
149
|
-
<template #[`item.prepend
|
149
|
+
<template #[`item.prepend`]="{ index }" v-if="prependIndex">
|
150
150
|
{{ index }}
|
151
151
|
</template>
|
152
|
-
<template #[`item.
|
152
|
+
<template #[`item.title`]="{ index }">
|
153
|
+
{{ index }}
|
154
|
+
</template>
|
155
|
+
<template #[`item.append`]="{ index }" v-if="appendIndex">
|
153
156
|
{{ index }}
|
154
157
|
</template>
|
155
158
|
</vcs-list>
|
@@ -39,10 +39,9 @@
|
|
39
39
|
parentId: name,
|
40
40
|
slot: WindowSlot.DYNAMIC_CHILD,
|
41
41
|
props: {
|
42
|
-
getConfig: () =>
|
43
|
-
|
44
|
-
|
45
|
-
),
|
42
|
+
getConfig: () => {
|
43
|
+
return vcsApp.plugins.getSerializedByKey(plugin.name);
|
44
|
+
},
|
46
45
|
setConfig(config) {
|
47
46
|
if (config) {
|
48
47
|
vcsApp.notifier.add({
|
package/plugins/package.json
CHANGED
@@ -1,11 +1,27 @@
|
|
1
1
|
{
|
2
2
|
"dependencies": {
|
3
3
|
"@vcmap/print": "https://github.com/virtualcitySYSTEMS/map-print.git#main",
|
4
|
-
"@vcmap/multi-view": "https://github.com/virtualcitySYSTEMS/map-multi-view.git",
|
5
|
-
"@vcmap/transparent-terrain": "https://github.com/virtualcitySYSTEMS/map-transparent-terrain.git",
|
6
4
|
"@vcmap/walk": "https://github.com/virtualcitySYSTEMS/map-walk.git#main",
|
7
5
|
"@vcmap/clipping-tool": "https://github.com/virtualcitySYSTEMS/map-clipping-tool.git#main",
|
6
|
+
"@vcmap/transparent-terrain": "https://github.com/virtualcitySYSTEMS/map-transparent-terrain.git#main",
|
7
|
+
"@vcmap/height-profile": "https://github.com/virtualcitySYSTEMS/map-heightprofile.git#main",
|
8
|
+
"@vcmap/flight": "https://github.com/virtualcitySYSTEMS/map-flight.git#main",
|
9
|
+
"@vcmap/swipe-tool": "https://github.com/virtualcitySYSTEMS/map-swipe-tool.git#main",
|
10
|
+
"@vcmap/export": "https://github.com/virtualcitySYSTEMS/map-export.git#main",
|
8
11
|
"@vcmap/viewshed": "https://github.com/virtualcitySYSTEMS/map-viewshed.git#main",
|
9
|
-
"@vcmap/
|
12
|
+
"@vcmap/measurement": "https://github.com/virtualcitySYSTEMS/map-measurement.git#main",
|
13
|
+
"@vcmap/multi-view": "https://github.com/virtualcitySYSTEMS/map-multi-view.git#main",
|
14
|
+
"@vcmap/draw": "https://github.com/virtualcitySYSTEMS/map-draw.git#main",
|
15
|
+
"@vcmap/shadow": "https://github.com/virtualcitySYSTEMS/map-shadow.git#main",
|
16
|
+
"@vcmap/search-wfs": "https://github.com/virtualcitySYSTEMS/map-search-wfs.git#main",
|
17
|
+
"@vcmap/search-esri": "https://github.com/virtualcitySYSTEMS/map-search-esri.git#main",
|
18
|
+
"@vcmap/search-coordinate": "https://github.com/virtualcitySYSTEMS/map-search-coordinate.git#main",
|
19
|
+
"@vcmap/link-button": "https://github.com/virtualcitySYSTEMS/map-link-button.git#main",
|
20
|
+
"@vcmap/cesium-filters": "https://github.com/virtualcitySYSTEMS/map-cesium-filters.git#main",
|
21
|
+
"@vcmap/search-nominatim": "https://github.com/virtualcitySYSTEMS/map-search-nominatim.git#main",
|
22
|
+
"@vcmap/create-link": "https://github.com/virtualcitySYSTEMS/map-create-link.git#main"
|
23
|
+
},
|
24
|
+
"optionalDependencies": {
|
25
|
+
"@vcmap/planning": "^6.0.0-rc.1"
|
10
26
|
}
|
11
27
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<template>
|
2
|
-
<v-container class="fill-height pa-0" absolute fluid>
|
2
|
+
<v-container class="fill-height pa-0 vcs-app" absolute fluid>
|
3
3
|
<VcsSplashScreen
|
4
4
|
v-if="splashScreen"
|
5
5
|
:options="splashScreen"
|
@@ -248,6 +248,33 @@
|
|
248
248
|
}
|
249
249
|
};
|
250
250
|
|
251
|
+
let currentEntryLength = entries.length;
|
252
|
+
const watchEntries = watch(entries, (newValue) => {
|
253
|
+
if (
|
254
|
+
app.uiConfig.config.openLegendOnAdd &&
|
255
|
+
newValue.length > currentEntryLength &&
|
256
|
+
!app.windowManager.has('legend')
|
257
|
+
) {
|
258
|
+
app.windowManager.add(
|
259
|
+
{
|
260
|
+
id: 'legend',
|
261
|
+
component: VcsLegend,
|
262
|
+
state: {
|
263
|
+
headerTitle: 'legend.title',
|
264
|
+
headerIcon: '$vcsLegend',
|
265
|
+
infoUrl: app.getHelpUrlCallback(
|
266
|
+
'/components/contentspace.html#id_legend',
|
267
|
+
),
|
268
|
+
},
|
269
|
+
slot: WindowSlot.DYNAMIC_RIGHT,
|
270
|
+
props: { entries },
|
271
|
+
},
|
272
|
+
vcsAppSymbol,
|
273
|
+
);
|
274
|
+
}
|
275
|
+
currentEntryLength = newValue.length;
|
276
|
+
});
|
277
|
+
|
251
278
|
/**
|
252
279
|
* Handles legend button and window.
|
253
280
|
* Adds a button, if legend definitions are available or removes legend otherwise.
|
@@ -284,6 +311,7 @@
|
|
284
311
|
];
|
285
312
|
|
286
313
|
return () => {
|
314
|
+
watchEntries();
|
287
315
|
app.navbarManager.remove('legend');
|
288
316
|
app.windowManager.remove('legend');
|
289
317
|
destroy();
|
@@ -300,6 +300,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
300
300
|
readonly fogScreenSpaceErrorFactor?: number | undefined;
|
301
301
|
readonly resolutionScale?: number | undefined;
|
302
302
|
readonly layerSSEFactor?: number | undefined;
|
303
|
+
readonly msaa?: 1 | 2 | 4 | 8 | undefined;
|
303
304
|
} | undefined;
|
304
305
|
readonly medium?: {
|
305
306
|
readonly sse?: number | undefined;
|
@@ -309,6 +310,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
309
310
|
readonly fogScreenSpaceErrorFactor?: number | undefined;
|
310
311
|
readonly resolutionScale?: number | undefined;
|
311
312
|
readonly layerSSEFactor?: number | undefined;
|
313
|
+
readonly msaa?: 1 | 2 | 4 | 8 | undefined;
|
312
314
|
} | undefined;
|
313
315
|
readonly high?: {
|
314
316
|
readonly sse?: number | undefined;
|
@@ -318,12 +320,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
318
320
|
readonly fogScreenSpaceErrorFactor?: number | undefined;
|
319
321
|
readonly resolutionScale?: number | undefined;
|
320
322
|
readonly layerSSEFactor?: number | undefined;
|
323
|
+
readonly msaa?: 1 | 2 | 4 | 8 | undefined;
|
321
324
|
} | undefined;
|
322
325
|
} | undefined;
|
323
326
|
/**
|
324
|
-
* - Vuetify Theming, also see vuetify
|
327
|
+
* - Vuetify Theming, also see vuetify configuraton https://vuetifyjs.com/en/features/theme/
|
325
328
|
*/
|
326
329
|
readonly vuetifyTheme?: any;
|
330
|
+
/**
|
331
|
+
* - open the legend window, if new layer has a config
|
332
|
+
*/
|
333
|
+
readonly openLegendOnAdd?: boolean | undefined;
|
327
334
|
};
|
328
335
|
showFooter: import("vue").ComputedRef<boolean>;
|
329
336
|
footerHeight: import("vue").ComputedRef<number>;
|
@@ -220,6 +220,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
220
220
|
readonly fogScreenSpaceErrorFactor?: number | undefined;
|
221
221
|
readonly resolutionScale?: number | undefined;
|
222
222
|
readonly layerSSEFactor?: number | undefined;
|
223
|
+
readonly msaa?: 1 | 2 | 4 | 8 | undefined;
|
223
224
|
} | undefined;
|
224
225
|
readonly medium?: {
|
225
226
|
readonly sse?: number | undefined;
|
@@ -229,6 +230,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
229
230
|
readonly fogScreenSpaceErrorFactor?: number | undefined;
|
230
231
|
readonly resolutionScale?: number | undefined;
|
231
232
|
readonly layerSSEFactor?: number | undefined;
|
233
|
+
readonly msaa?: 1 | 2 | 4 | 8 | undefined;
|
232
234
|
} | undefined;
|
233
235
|
readonly high?: {
|
234
236
|
readonly sse?: number | undefined;
|
@@ -238,12 +240,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
238
240
|
readonly fogScreenSpaceErrorFactor?: number | undefined;
|
239
241
|
readonly resolutionScale?: number | undefined;
|
240
242
|
readonly layerSSEFactor?: number | undefined;
|
243
|
+
readonly msaa?: 1 | 2 | 4 | 8 | undefined;
|
241
244
|
} | undefined;
|
242
245
|
} | undefined;
|
243
246
|
/**
|
244
|
-
* - Vuetify Theming, also see vuetify
|
247
|
+
* - Vuetify Theming, also see vuetify configuraton https://vuetifyjs.com/en/features/theme/
|
245
248
|
*/
|
246
249
|
readonly vuetifyTheme?: any;
|
250
|
+
/**
|
251
|
+
* - open the legend window, if new layer has a config
|
252
|
+
*/
|
253
|
+
readonly openLegendOnAdd?: boolean | undefined;
|
247
254
|
};
|
248
255
|
xs: import("vue").Ref<boolean>;
|
249
256
|
mobileLogo: import("vue").ComputedRef<any>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<template>
|
2
2
|
<span
|
3
|
-
class="d-flex gc-2 px-1 h-100 align-center"
|
4
|
-
:class="{
|
3
|
+
class="d-flex gc-2 px-1 h-100 align-center vcs-position-display"
|
4
|
+
:class="{ active: positionDisplayAction.active }"
|
5
5
|
>
|
6
6
|
<VcsButton
|
7
7
|
:tooltip="positionDisplayAction.title"
|
@@ -52,7 +52,7 @@
|
|
52
52
|
</template>
|
53
53
|
|
54
54
|
<style lang="scss" scoped>
|
55
|
-
.
|
55
|
+
.active {
|
56
56
|
background-color: rgb(var(--v-theme-primary));
|
57
57
|
span {
|
58
58
|
color: rgb(var(--v-theme-on-primary));
|
@@ -1,5 +1,7 @@
|
|
1
1
|
<template v-if="textPage.title">
|
2
|
-
<span
|
2
|
+
<span
|
3
|
+
class="d-inline-block text-truncate mr-1 flex-shrink-0 vcs-text-page-footer"
|
4
|
+
>
|
3
5
|
<span v-if="textPage.url" class="text-page-footer">
|
4
6
|
<a :href="$st(textPage.url)" target="_blank"
|
5
7
|
>{{ $st(textPage.title) }} <span></span>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
variant="text"
|
6
6
|
:color="appliedColor"
|
7
7
|
:disabled="disabled"
|
8
|
-
class="
|
8
|
+
class="vcs-button"
|
9
9
|
elevation="0"
|
10
10
|
density="compact"
|
11
11
|
size="small"
|
@@ -24,7 +24,7 @@
|
|
24
24
|
<VcsBadge
|
25
25
|
v-if="hasUpdate"
|
26
26
|
:color="'bg-warning'"
|
27
|
-
class="position-absolute"
|
27
|
+
class="position-absolute badge"
|
28
28
|
/>
|
29
29
|
<slot name="default" v-bind="scope ?? {}" />
|
30
30
|
</template>
|
@@ -41,7 +41,7 @@
|
|
41
41
|
}
|
42
42
|
.v-btn {
|
43
43
|
padding: 0px;
|
44
|
-
&.
|
44
|
+
&.vcs-button {
|
45
45
|
&:hover {
|
46
46
|
color: rgb(var(--v-theme-primary-lighten-1)) !important;
|
47
47
|
}
|
@@ -65,7 +65,7 @@
|
|
65
65
|
import { VBtn, VIcon, VTooltip } from 'vuetify/components';
|
66
66
|
import VcsBadge from '../notification/VcsBadge.vue';
|
67
67
|
import { useFontSize, useIconSize } from '../../vuePlugins/vuetify.js';
|
68
|
-
import {
|
68
|
+
import { getForwardSlots } from '../composables.js';
|
69
69
|
|
70
70
|
/**
|
71
71
|
* @description a button with tooltip extending {@link https://vuetifyjs.com/en/api/v-btn/|vuetify v-btn}.
|
@@ -124,7 +124,7 @@
|
|
124
124
|
return null;
|
125
125
|
}
|
126
126
|
});
|
127
|
-
const forwardSlots =
|
127
|
+
const forwardSlots = getForwardSlots(slots, ['default']);
|
128
128
|
const hasDefaultSlot = computed(() => {
|
129
129
|
return !!slots?.default;
|
130
130
|
});
|
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
28
28
|
default: string;
|
29
29
|
};
|
30
30
|
}, {
|
31
|
-
forwardSlots:
|
31
|
+
forwardSlots: string[];
|
32
32
|
hasDefaultSlot: import("vue").ComputedRef<boolean>;
|
33
33
|
appliedColor: import("vue").ComputedRef<string | null>;
|
34
34
|
iconSize: import("vue").ComputedRef<number>;
|
@@ -5,7 +5,7 @@
|
|
5
5
|
color="primary"
|
6
6
|
:min-width="itemHeight * 1.5"
|
7
7
|
:height="itemHeight"
|
8
|
-
class="
|
8
|
+
class="vcs-form-button"
|
9
9
|
:slim="false"
|
10
10
|
v-bind="{ ...$attrs }"
|
11
11
|
>
|
@@ -22,7 +22,7 @@
|
|
22
22
|
<VcsBadge
|
23
23
|
v-if="hasUpdate"
|
24
24
|
:color="'bg-warning'"
|
25
|
-
class="position-absolute"
|
25
|
+
class="position-absolute badge"
|
26
26
|
/>
|
27
27
|
<slot name="default" v-bind="scope ?? {}" />
|
28
28
|
</template>
|
@@ -68,7 +68,7 @@
|
|
68
68
|
import { VBtn, VIcon, VTooltip } from 'vuetify/components';
|
69
69
|
import VcsBadge from '../notification/VcsBadge.vue';
|
70
70
|
import { useFontSize, useIconSize } from '../../vuePlugins/vuetify.js';
|
71
|
-
import {
|
71
|
+
import { getForwardSlots } from '../composables.js';
|
72
72
|
|
73
73
|
/**
|
74
74
|
* @description a button with tooltip extending {@link https://vuetifyjs.com/en/api/v-btn/|vuetify v-btn}.
|
@@ -121,7 +121,7 @@
|
|
121
121
|
const hasDefaultSlot = computed(() => {
|
122
122
|
return !!slots?.default;
|
123
123
|
});
|
124
|
-
const forwardSlots =
|
124
|
+
const forwardSlots = getForwardSlots(slots, ['default']);
|
125
125
|
const fontSize = useFontSize();
|
126
126
|
const iconSize = useIconSize();
|
127
127
|
const itemHeight = computed(() => {
|
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
21
21
|
default: string;
|
22
22
|
};
|
23
23
|
}, {
|
24
|
-
forwardSlots:
|
24
|
+
forwardSlots: string[];
|
25
25
|
buttonVariant: import("vue").ComputedRef<string>;
|
26
26
|
hasDefaultSlot: import("vue").ComputedRef<boolean>;
|
27
27
|
itemHeight: import("vue").ComputedRef<number>;
|
@@ -4,7 +4,7 @@
|
|
4
4
|
:variant="buttonVariant"
|
5
5
|
:height="itemHeight + 2"
|
6
6
|
:min-width="itemHeight + itemHeight / 3"
|
7
|
-
class="
|
7
|
+
class="vcs-tool-button"
|
8
8
|
:disabled="disabled"
|
9
9
|
:class="{
|
10
10
|
'vcs-background': background,
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<VcsBadge
|
27
27
|
v-if="hasUpdate"
|
28
28
|
:color="'bg-warning'"
|
29
|
-
class="position-absolute"
|
29
|
+
class="position-absolute badge"
|
30
30
|
/>
|
31
31
|
<slot name="default" v-bind="scope ?? {}" />
|
32
32
|
</template>
|
@@ -69,7 +69,7 @@
|
|
69
69
|
import { computed } from 'vue';
|
70
70
|
import { VBtn, VIcon, VTooltip } from 'vuetify/components';
|
71
71
|
import VcsBadge from '../notification/VcsBadge.vue';
|
72
|
-
import {
|
72
|
+
import { getForwardSlots } from '../composables.js';
|
73
73
|
import { useFontSize } from '../../vuePlugins/vuetify.js';
|
74
74
|
|
75
75
|
/**
|
@@ -140,7 +140,7 @@
|
|
140
140
|
const hasDefaultSlot = computed(() => {
|
141
141
|
return !!slots?.default;
|
142
142
|
});
|
143
|
-
const forwardSlots =
|
143
|
+
const forwardSlots = getForwardSlots(slots, ['default']);
|
144
144
|
const buttonVariant = computed(() => {
|
145
145
|
if (props.active && !props.disabled) {
|
146
146
|
return 'flat';
|
@@ -35,7 +35,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
35
35
|
itemHeight: import("vue").ComputedRef<number>;
|
36
36
|
iconSize: import("vue").ComputedRef<number>;
|
37
37
|
appliedColor: import("vue").ComputedRef<string | null>;
|
38
|
-
forwardSlots:
|
38
|
+
forwardSlots: string[];
|
39
39
|
buttonVariant: import("vue").ComputedRef<"flat" | "text">;
|
40
40
|
hasDefaultSlot: import("vue").ComputedRef<boolean>;
|
41
41
|
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -9,9 +9,9 @@ export function usePadding(attrs: Object): import("vue").ComputedRef<boolean>;
|
|
9
9
|
* returns only the slotNames which are not excluded as a computed.
|
10
10
|
* @param {import("vue").Slots} slots
|
11
11
|
* @param {Array<string>} exclude
|
12
|
-
* @returns {
|
12
|
+
* @returns {Array<string>}
|
13
13
|
*/
|
14
|
-
export function
|
14
|
+
export function getForwardSlots(slots: import("vue").Slots, exclude?: Array<string>): Array<string>;
|
15
15
|
/**
|
16
16
|
* @param {import("vue").ComputedRef<HTMLElement|undefined>} parent
|
17
17
|
* @param {import("vue").ComputedRef<string|undefined>} tooltip
|
@@ -22,12 +22,10 @@ export function usePadding(attrs) {
|
|
22
22
|
* returns only the slotNames which are not excluded as a computed.
|
23
23
|
* @param {import("vue").Slots} slots
|
24
24
|
* @param {Array<string>} exclude
|
25
|
-
* @returns {
|
25
|
+
* @returns {Array<string>}
|
26
26
|
*/
|
27
|
-
export function
|
28
|
-
return
|
29
|
-
return Object.keys(slots).filter((slotName) => !exclude.includes(slotName));
|
30
|
-
});
|
27
|
+
export function getForwardSlots(slots, exclude = []) {
|
28
|
+
return Object.keys(slots).filter((slotName) => !exclude.includes(slotName));
|
31
29
|
}
|
32
30
|
|
33
31
|
let intersectionObserver = null;
|