@vcmap/ui 6.0.0-rc.8 → 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-2ec6aae0.js → cesium-a21a380a.js} +4672 -4704
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core-6f2522e5.js → core-ccecb5f4.js} +4898 -4772
- package/dist/assets/core.js +1 -1
- package/dist/assets/{ol-b0e134cb.js → ol-3c6b9b5b.js} +12074 -11458
- package/dist/assets/ol.js +1 -1
- package/dist/assets/{ui-bf3d1f84.css → ui-8a8aef2a.css} +1 -1
- package/dist/assets/{ui-bf3d1f84.js → ui-8a8aef2a.js} +6321 -6241
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +1 -1
- package/dist/assets/{vuetify-99bf601c.css → vuetify-ac50bfc8.css} +1 -1
- package/dist/assets/{vuetify-99bf601c.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/package.json +19 -3
- package/src/application/VcsApp.vue.d.ts +3 -0
- package/src/application/VcsContainer.vue.d.ts +3 -0
- package/src/components/buttons/VcsButton.vue +2 -2
- package/src/components/buttons/VcsButton.vue.d.ts +1 -1
- package/src/components/buttons/VcsFormButton.vue +2 -2
- package/src/components/buttons/VcsFormButton.vue.d.ts +1 -1
- package/src/components/buttons/VcsToolButton.vue +2 -2
- 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/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 +2 -2
- package/src/components/form-inputs-controls/VcsTextField.vue.d.ts +1 -1
- package/src/components/form-inputs-controls/VcsWizard.vue +2 -2
- package/src/components/form-inputs-controls/VcsWizard.vue.d.ts +1 -1
- package/src/components/form-inputs-controls/VcsWizardStep.vue +2 -2
- package/src/components/form-inputs-controls/VcsWizardStep.vue.d.ts +1 -1
- package/src/components/lists/VcsList.vue +14 -10
- package/src/components/lists/VcsListItemComponent.vue +13 -11
- 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/tables/VcsDataTable.vue +2 -2
- package/src/components/tables/VcsDataTable.vue.d.ts +1 -1
- package/src/contentTree/obliqueCollectionContentTreeItem.js +6 -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/manager/collectionManager/collectionComponentClass.js +5 -1
- package/src/manager/toolbox/ToolboxManagerComponent.vue +1 -1
- package/src/manager/window/windowManager.d.ts +59 -3
- package/src/manager/window/windowManager.js +23 -2
- package/src/obliqueFallbackWarnings.d.ts +5 -0
- package/src/obliqueFallbackWarnings.js +54 -0
- package/src/uiConfig.d.ts +3 -0
- package/src/vcsUiApp.d.ts +37 -10
- package/src/vcsUiApp.js +4 -0
- package/src/vuePlugins/i18n.js +1 -0
- /package/dist/assets/{vue-43880c5a.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>
|
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
|
}
|
@@ -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,6 +320,7 @@ 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
|
/**
|
@@ -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,6 +240,7 @@ 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
|
/**
|
@@ -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>;
|
@@ -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>;
|
@@ -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;
|
@@ -11,8 +11,10 @@
|
|
11
11
|
}"
|
12
12
|
v-bind="$attrs"
|
13
13
|
>
|
14
|
-
<template #label="scope">
|
15
|
-
<
|
14
|
+
<template #label="scope" v-if="label || $slots.label">
|
15
|
+
<span class="pl-1">
|
16
|
+
<slot name="label" v-bind="scope ?? {}">{{ $st(label) }}</slot>
|
17
|
+
</span>
|
16
18
|
</template>
|
17
19
|
<template v-for="slot of forwardSlots" #[slot]="scope">
|
18
20
|
<slot :name="slot" v-bind="scope ?? {}" />
|
@@ -61,14 +63,14 @@
|
|
61
63
|
<script>
|
62
64
|
import { ref } from 'vue';
|
63
65
|
import { VCheckbox, VTooltip } from 'vuetify/components';
|
64
|
-
import {
|
66
|
+
import { getForwardSlots, usePadding } from '../composables.js';
|
65
67
|
|
66
68
|
/**
|
67
69
|
* @description Stylized wrapper around {@link https://vuetifyjs.com/en/api/v-checkbox/ |vuetify checkbox}.
|
68
70
|
* Provides VTooltip to show error messages
|
69
71
|
* @vue-prop {string} [tooltip] - A message to be displayed when there is no error.
|
70
72
|
* @vue-prop {('bottom' | 'left' | 'top' | 'right')} [tooltipPosition='right'] - Position of the error tooltip, see {@link https://vuetifyjs.com/en/api/v-tooltip/#props-location | vuetify tooltip}.
|
71
|
-
* @vue-prop {string} label - Label to be displayed, will be translated.
|
73
|
+
* @vue-prop {string} [label] - Label to be displayed, will be translated.
|
72
74
|
* @vue-data {slot} [#label] - slot to pass html for Checkbox label. Overrides label passed as prop.
|
73
75
|
*/
|
74
76
|
export default {
|
@@ -87,12 +89,16 @@
|
|
87
89
|
type: String,
|
88
90
|
default: 'right',
|
89
91
|
},
|
92
|
+
label: {
|
93
|
+
type: String,
|
94
|
+
default: undefined,
|
95
|
+
},
|
90
96
|
},
|
91
97
|
setup(props, { attrs, slots }) {
|
92
98
|
const checkbox = ref();
|
93
99
|
const errorTooltip = ref();
|
94
100
|
const paddingProvided = usePadding(attrs);
|
95
|
-
const forwardSlots =
|
101
|
+
const forwardSlots = getForwardSlots(slots, ['label', 'message']);
|
96
102
|
return {
|
97
103
|
forwardSlots,
|
98
104
|
paddingProvided,
|
@@ -7,8 +7,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
7
7
|
type: StringConstructor;
|
8
8
|
default: string;
|
9
9
|
};
|
10
|
+
label: {
|
11
|
+
type: StringConstructor;
|
12
|
+
default: undefined;
|
13
|
+
};
|
10
14
|
}, {
|
11
|
-
forwardSlots:
|
15
|
+
forwardSlots: string[];
|
12
16
|
paddingProvided: import("vue").ComputedRef<boolean>;
|
13
17
|
checkbox: import("vue").Ref<any>;
|
14
18
|
errorTooltip: import("vue").Ref<any>;
|
@@ -21,7 +25,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
21
25
|
type: StringConstructor;
|
22
26
|
default: string;
|
23
27
|
};
|
28
|
+
label: {
|
29
|
+
type: StringConstructor;
|
30
|
+
default: undefined;
|
31
|
+
};
|
24
32
|
}>>, {
|
33
|
+
label: string;
|
25
34
|
tooltip: string;
|
26
35
|
tooltipPosition: string;
|
27
36
|
}, {}>;
|
@@ -53,7 +53,7 @@
|
|
53
53
|
<script>
|
54
54
|
import { ref } from 'vue';
|
55
55
|
import { VFileInput, VTooltip } from 'vuetify/components';
|
56
|
-
import {
|
56
|
+
import { getForwardSlots, usePadding } from '../composables.js';
|
57
57
|
|
58
58
|
/**
|
59
59
|
* @description extends API of {@link https://vuetifyjs.com/en/api/v-file-input v-text-field}.
|
@@ -86,7 +86,7 @@
|
|
86
86
|
const errorTooltipRef = ref();
|
87
87
|
|
88
88
|
const paddingProvided = usePadding(attrs);
|
89
|
-
const forwardSlots =
|
89
|
+
const forwardSlots = getForwardSlots(slots, ['append-inner', 'message']);
|
90
90
|
|
91
91
|
return {
|
92
92
|
forwardSlots,
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
8
8
|
default: string;
|
9
9
|
};
|
10
10
|
}, {
|
11
|
-
forwardSlots:
|
11
|
+
forwardSlots: string[];
|
12
12
|
paddingProvided: import("vue").ComputedRef<boolean>;
|
13
13
|
fileInputRef: import("vue").Ref<any>;
|
14
14
|
errorTooltipRef: import("vue").Ref<any>;
|
@@ -141,7 +141,7 @@
|
|
141
141
|
<script>
|
142
142
|
import { VSelect, VTooltip, VListItem } from 'vuetify/components';
|
143
143
|
import { computed, ref } from 'vue';
|
144
|
-
import {
|
144
|
+
import { getForwardSlots, usePadding } from '../composables.js';
|
145
145
|
import VcsCheckbox from './VcsCheckbox.vue';
|
146
146
|
import { useProxiedComplexModel } from '../modelHelper.js';
|
147
147
|
|
@@ -213,7 +213,7 @@
|
|
213
213
|
return props.multiple;
|
214
214
|
});
|
215
215
|
const paddingProvided = usePadding(attrs);
|
216
|
-
const forwardSlots =
|
216
|
+
const forwardSlots = getForwardSlots(slots, ['append-inner', 'message']);
|
217
217
|
|
218
218
|
return {
|
219
219
|
forwardSlots,
|
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
20
20
|
default: undefined;
|
21
21
|
};
|
22
22
|
}, {
|
23
|
-
forwardSlots:
|
23
|
+
forwardSlots: string[];
|
24
24
|
localModelValue: import("vue").Ref<any>;
|
25
25
|
additionalItems: import("vue").ComputedRef<number>;
|
26
26
|
isMultiple: import("vue").ComputedRef<boolean>;
|
@@ -76,7 +76,7 @@
|
|
76
76
|
<script>
|
77
77
|
import { computed, ref } from 'vue';
|
78
78
|
import { VSlider, VTooltip } from 'vuetify/components';
|
79
|
-
import {
|
79
|
+
import { getForwardSlots, usePadding } from '../composables.js';
|
80
80
|
import { useFontSize } from '../../vuePlugins/vuetify.js';
|
81
81
|
|
82
82
|
/**
|
@@ -112,7 +112,7 @@
|
|
112
112
|
return trackSize.value * 2;
|
113
113
|
});
|
114
114
|
const paddingProvided = usePadding(attrs);
|
115
|
-
const forwardSlots =
|
115
|
+
const forwardSlots = getForwardSlots(slots, ['append']);
|
116
116
|
const sliderRef = ref();
|
117
117
|
return {
|
118
118
|
hasAppendSlot: computed(() => {
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
9
9
|
};
|
10
10
|
}, {
|
11
11
|
hasAppendSlot: import("vue").ComputedRef<boolean>;
|
12
|
-
forwardSlots:
|
12
|
+
forwardSlots: string[];
|
13
13
|
sliderRef: import("vue").Ref<any>;
|
14
14
|
thumbSize: import("vue").ComputedRef<number>;
|
15
15
|
tickSize: import("vue").ComputedRef<number>;
|
@@ -141,7 +141,7 @@
|
|
141
141
|
<script>
|
142
142
|
import { ref } from 'vue';
|
143
143
|
import { VTextarea, VTooltip } from 'vuetify/components';
|
144
|
-
import {
|
144
|
+
import { getForwardSlots, usePadding } from '../composables.js';
|
145
145
|
|
146
146
|
/**
|
147
147
|
* @description extends API of {@link https://vuetifyjs.com/en/api/v-textarea/|vuetify v-textarea}.
|
@@ -173,7 +173,7 @@
|
|
173
173
|
const errorTooltipRef = ref();
|
174
174
|
|
175
175
|
const paddingProvided = usePadding(attrs);
|
176
|
-
const forwardSlots =
|
176
|
+
const forwardSlots = getForwardSlots(slots, ['append-inner', 'message']);
|
177
177
|
|
178
178
|
return {
|
179
179
|
forwardSlots,
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
8
8
|
default: string;
|
9
9
|
};
|
10
10
|
}, {
|
11
|
-
forwardSlots:
|
11
|
+
forwardSlots: string[];
|
12
12
|
textAreaRef: import("vue").Ref<any>;
|
13
13
|
errorTooltipRef: import("vue").Ref<any>;
|
14
14
|
paddingProvided: import("vue").ComputedRef<boolean>;
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<script>
|
61
61
|
import { computed, ref } from 'vue';
|
62
62
|
import { VTextField, VTooltip } from 'vuetify/components';
|
63
|
-
import {
|
63
|
+
import { getForwardSlots, usePadding } from '../composables.js';
|
64
64
|
import { useProxiedAtomicModel } from '../modelHelper.js';
|
65
65
|
|
66
66
|
function countDecimalPlaces(value) {
|
@@ -172,7 +172,7 @@
|
|
172
172
|
});
|
173
173
|
|
174
174
|
const paddingProvided = usePadding(attrs);
|
175
|
-
const forwardSlots =
|
175
|
+
const forwardSlots = getForwardSlots(slots, ['default', 'message']);
|
176
176
|
|
177
177
|
const prependedContent = computed(() => {
|
178
178
|
return (props.forcePrefix && attrs.prefix) || !!slots['prepend-inner'];
|
@@ -29,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
29
29
|
};
|
30
30
|
}, {
|
31
31
|
prependedContent: import("vue").ComputedRef<{}>;
|
32
|
-
forwardSlots:
|
32
|
+
forwardSlots: string[];
|
33
33
|
paddingProvided: import("vue").ComputedRef<boolean>;
|
34
34
|
visibleValue: import("vue").WritableComputedRef<string | number | boolean>;
|
35
35
|
rules: import("vue").ComputedRef<unknown>;
|
@@ -12,7 +12,7 @@
|
|
12
12
|
<script>
|
13
13
|
import { VStepperVertical } from 'vuetify/labs/VStepperVertical';
|
14
14
|
import { VIcon } from 'vuetify/components';
|
15
|
-
import {
|
15
|
+
import { getForwardSlots } from '../composables.js';
|
16
16
|
|
17
17
|
/**
|
18
18
|
* @description Stylized wrapper around {@link https://vuetifyjs.com/en/api/v-stepper-vertical/ |vuetify stepper vertical}per.
|
@@ -25,7 +25,7 @@
|
|
25
25
|
VIcon,
|
26
26
|
},
|
27
27
|
setup(_p, { slots }) {
|
28
|
-
const forwardSlots =
|
28
|
+
const forwardSlots = getForwardSlots(slots, ['icon']);
|
29
29
|
|
30
30
|
return {
|
31
31
|
forwardSlots,
|
@@ -1,4 +1,4 @@
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
2
|
-
forwardSlots:
|
2
|
+
forwardSlots: string[];
|
3
3
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
4
4
|
export default _default;
|
@@ -52,7 +52,7 @@
|
|
52
52
|
import { VStepperVerticalItem } from 'vuetify/labs/VStepperVertical';
|
53
53
|
import { VSpacer } from 'vuetify/components';
|
54
54
|
import { useProxiedComplexModel } from '../modelHelper.js';
|
55
|
-
import {
|
55
|
+
import { getForwardSlots } from '../composables.js';
|
56
56
|
import VcsActionButtonList from '../buttons/VcsActionButtonList.vue';
|
57
57
|
import VcsHelp from '../notification/VcsHelp.vue';
|
58
58
|
|
@@ -167,7 +167,7 @@
|
|
167
167
|
return props.headerActions;
|
168
168
|
});
|
169
169
|
|
170
|
-
const forwardSlots =
|
170
|
+
const forwardSlots = getForwardSlots(slots, ['title', 'default']);
|
171
171
|
|
172
172
|
return {
|
173
173
|
showHelp,
|
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
44
44
|
showHelp: import("vue").ComputedRef<boolean>;
|
45
45
|
actions: import("vue").ComputedRef<VcsAction>;
|
46
46
|
isActiveStep: import("vue").ComputedRef<boolean>;
|
47
|
-
forwardSlots:
|
47
|
+
forwardSlots: string[];
|
48
48
|
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
49
49
|
multiple: {
|
50
50
|
type: BooleanConstructor;
|
@@ -57,14 +57,17 @@
|
|
57
57
|
}"
|
58
58
|
@click="select(item, $event)"
|
59
59
|
>
|
60
|
-
<template #
|
61
|
-
<slot name="item.
|
60
|
+
<template #append="scope">
|
61
|
+
<slot name="item.append" v-bind="{ ...scope, index, item }" />
|
62
62
|
</template>
|
63
|
-
<template #
|
64
|
-
<slot name="item.
|
63
|
+
<template #title="scope">
|
64
|
+
<slot name="item.title" v-bind="{ ...scope, index, item }" />
|
65
65
|
</template>
|
66
|
-
<template #
|
67
|
-
<slot name="item.
|
66
|
+
<template #subtitle="scope">
|
67
|
+
<slot name="item.subtitle" v-bind="{ ...scope, index, item }" />
|
68
|
+
</template>
|
69
|
+
<template #prepend="scope">
|
70
|
+
<slot name="item.prepend" v-bind="{ ...scope, index, item }" />
|
68
71
|
</template>
|
69
72
|
</VcsListItemComponent>
|
70
73
|
<slot name="item.intermediate" :item="item" :index="index" />
|
@@ -170,10 +173,11 @@
|
|
170
173
|
* @vue-prop {string} [tooltip] - tooltip to render on the list title
|
171
174
|
* @vue-prop {Array<import("../../actions/actionHelper.js").VcsAction>} [actions] - actions to render in the list title
|
172
175
|
* @vue-event {ItemMovedEvent} item-moved - event triggered after item was dragged and is dropped
|
173
|
-
* @vue-data {slot} [#item.prepend
|
174
|
-
* @vue-data {slot} [#item.title] - A slot
|
175
|
-
* @vue-data {slot} [#item.
|
176
|
-
* @vue-data {slot} [#item.
|
176
|
+
* @vue-data {slot} [#item.prepend] - A slot that forwads to v-list-item prepend slot. Binds v-list-item append slot props, item and item index.
|
177
|
+
* @vue-data {slot} [#item.title] - A slot that forwards to v-list-item title slot. Binds v-list-item title slot props, item and item index.
|
178
|
+
* @vue-data {slot} [#item.subtitle] - A slot that forwards to v-list-item subtitle slot. Binds v-list-item subtitle slot props, item and item index.
|
179
|
+
* @vue-data {slot} [#item.append] - A slot that forwards to v-list-item append slot. Binds v-list-item append slot props, item and item index.
|
180
|
+
* @vue-data {slot} [#item.intermediate] - A slot to introduce content, e.g. buttons between two list items. Binds item and item index.
|
177
181
|
*/
|
178
182
|
export default {
|
179
183
|
name: 'VcsList',
|