@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.
Files changed (147) hide show
  1. package/build/buildHelpers.js +1 -1
  2. package/config/base.config.json +3 -1
  3. package/config/dev.config.json +1 -3
  4. package/config/www.config.json +1 -3
  5. package/dist/assets/{cesium-2afc3568.js → cesium-a21a380a.js} +4672 -4704
  6. package/dist/assets/cesium.js +1 -1
  7. package/dist/assets/{core-3fd82bc2.js → core-ccecb5f4.js} +4953 -4782
  8. package/dist/assets/core.js +1 -1
  9. package/dist/assets/{ol-edf7bfb3.js → ol-3c6b9b5b.js} +12074 -11458
  10. package/dist/assets/ol.js +1 -1
  11. package/dist/assets/ui-8a8aef2a.css +1 -0
  12. package/dist/assets/{ui-c6eb55a5.js → ui-8a8aef2a.js} +6906 -6784
  13. package/dist/assets/ui.js +1 -1
  14. package/dist/assets/vue.js +1 -1
  15. package/dist/assets/{vuetify-c3b6c9b3.css → vuetify-ac50bfc8.css} +1 -1
  16. package/dist/assets/{vuetify-c3b6c9b3.js → vuetify-ac50bfc8.js} +4795 -4779
  17. package/dist/assets/vuetify.js +1 -1
  18. package/index.d.ts +2 -0
  19. package/index.js +1 -0
  20. package/lib/olLib.js +6 -0
  21. package/package.json +4 -4
  22. package/plugins/@vcmap-show-case/list-example/src/ListExample.vue +5 -2
  23. package/plugins/@vcmap-show-case/plugin-editors/src/PluginEditors.vue +3 -4
  24. package/plugins/package.json +19 -3
  25. package/src/actions/StyleSelector.vue +1 -1
  26. package/src/application/VcsApp.vue +29 -1
  27. package/src/application/VcsApp.vue.d.ts +8 -1
  28. package/src/application/VcsAppWrapper.vue +1 -1
  29. package/src/application/VcsAttributions.vue +1 -1
  30. package/src/application/VcsAttributionsFooter.vue +3 -1
  31. package/src/application/VcsContainer.vue.d.ts +8 -1
  32. package/src/application/VcsMainMap.vue +1 -1
  33. package/src/application/VcsMap.vue +1 -0
  34. package/src/application/VcsNavbar.vue +1 -1
  35. package/src/application/VcsPositionDisplay.vue +3 -3
  36. package/src/application/VcsSettings.vue +1 -1
  37. package/src/application/VcsSplashScreen.vue +1 -0
  38. package/src/application/VcsTextPage.vue +1 -1
  39. package/src/application/VcsTextPageFooter.vue +3 -1
  40. package/src/components/buttons/VcsActionButtonList.vue +5 -1
  41. package/src/components/buttons/VcsButton.vue +5 -5
  42. package/src/components/buttons/VcsButton.vue.d.ts +1 -1
  43. package/src/components/buttons/VcsFormButton.vue +4 -4
  44. package/src/components/buttons/VcsFormButton.vue.d.ts +1 -1
  45. package/src/components/buttons/VcsToolButton.vue +4 -4
  46. package/src/components/buttons/VcsToolButton.vue.d.ts +1 -1
  47. package/src/components/composables.d.ts +2 -2
  48. package/src/components/composables.js +3 -5
  49. package/src/components/extent/VcsExtent.vue +1 -1
  50. package/src/components/extent/VcsExtentEditor.vue +1 -0
  51. package/src/components/flight/VcsFlightAnchorsComponent.vue +1 -0
  52. package/src/components/flight/VcsFlightComponent.vue +1 -1
  53. package/src/components/flight/VcsFlightEditor.vue +1 -0
  54. package/src/components/flight/VcsFlightPlayer.vue +1 -1
  55. package/src/components/form-inputs-controls/VcsCheckbox.vue +11 -5
  56. package/src/components/form-inputs-controls/VcsCheckbox.vue.d.ts +10 -1
  57. package/src/components/form-inputs-controls/VcsFileInput.vue +2 -2
  58. package/src/components/form-inputs-controls/VcsFileInput.vue.d.ts +1 -1
  59. package/src/components/form-inputs-controls/VcsSelect.vue +2 -2
  60. package/src/components/form-inputs-controls/VcsSelect.vue.d.ts +1 -1
  61. package/src/components/form-inputs-controls/VcsSlider.vue +2 -2
  62. package/src/components/form-inputs-controls/VcsSlider.vue.d.ts +1 -1
  63. package/src/components/form-inputs-controls/VcsTextArea.vue +2 -2
  64. package/src/components/form-inputs-controls/VcsTextArea.vue.d.ts +1 -1
  65. package/src/components/form-inputs-controls/VcsTextField.vue +3 -3
  66. package/src/components/form-inputs-controls/VcsTextField.vue.d.ts +1 -1
  67. package/src/components/form-inputs-controls/VcsWizard.vue +3 -3
  68. package/src/components/form-inputs-controls/VcsWizard.vue.d.ts +1 -1
  69. package/src/components/form-inputs-controls/VcsWizardStep.vue +3 -2
  70. package/src/components/form-inputs-controls/VcsWizardStep.vue.d.ts +1 -1
  71. package/src/components/form-output/VcsMarkdown.vue +1 -1
  72. package/src/components/import/VcsFileDrop.vue +1 -1
  73. package/src/components/import/VcsImportComponent.vue +1 -1
  74. package/src/components/lists/VcsList.vue +14 -10
  75. package/src/components/lists/VcsListItemComponent.vue +18 -12
  76. package/src/components/lists/VcsListItemComponent.vue.d.ts +9 -5
  77. package/src/components/lists/VcsTreeview.vue +2 -2
  78. package/src/components/lists/VcsTreeview.vue.d.ts +1 -1
  79. package/src/components/lists/VcsTreeviewSearchbar.vue +1 -1
  80. package/src/components/lists/VcsTreeviewTitle.vue +1 -1
  81. package/src/components/notification/VcsBadge.vue +2 -2
  82. package/src/components/notification/VcsHelp.vue +1 -1
  83. package/src/components/plugins/AbstractConfigEditor.vue +1 -1
  84. package/src/components/section/VcsExpansionPanel.vue +5 -1
  85. package/src/components/style/MenuWrapper.vue +1 -1
  86. package/src/components/style/VcsFeatureStyleComponent.vue +1 -0
  87. package/src/components/style/VcsFillMenu.vue +1 -0
  88. package/src/components/style/VcsFillSelector.vue +1 -0
  89. package/src/components/style/VcsImageMenu.vue +1 -0
  90. package/src/components/style/VcsImageSelector.vue +1 -1
  91. package/src/components/style/VcsStrokeMenu.vue +1 -0
  92. package/src/components/style/VcsStrokeSelector.vue +1 -1
  93. package/src/components/style/VcsTextMenu.vue +1 -0
  94. package/src/components/style/VcsTextSelector.vue +1 -1
  95. package/src/components/style/VcsVectorStyleComponent.vue +1 -1
  96. package/src/components/tables/VcsDataTable.vue +3 -3
  97. package/src/components/tables/VcsDataTable.vue.d.ts +1 -1
  98. package/src/components/tables/VcsTable.vue +1 -0
  99. package/src/components/tables/VcsTableCell.vue +1 -1
  100. package/src/components/vector-properties/VcsFeatureEditingWindow.vue +1 -1
  101. package/src/components/vector-properties/VcsFeatureTransforms.vue +1 -1
  102. package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +1 -0
  103. package/src/components/viewpoint/VcsViewpointComponent.vue +1 -1
  104. package/src/components/viewpoint/VcsViewpointEditor.vue +1 -0
  105. package/src/contentTree/LayerTree.vue +1 -1
  106. package/src/contentTree/obliqueCollectionContentTreeItem.js +6 -1
  107. package/src/featureInfo/AddressBalloonComponent.vue +1 -1
  108. package/src/featureInfo/BalloonComponent.vue +1 -1
  109. package/src/featureInfo/IframeComponent.vue +6 -1
  110. package/src/featureInfo/MarkdownBalloonComponent.vue +1 -1
  111. package/src/featureInfo/abstractFeatureInfoView.js +3 -2
  112. package/src/i18n/de.d.ts +35 -30
  113. package/src/i18n/de.js +5 -0
  114. package/src/i18n/en.d.ts +35 -30
  115. package/src/i18n/en.js +5 -0
  116. package/src/legend/StyleLegendItem.vue +1 -1
  117. package/src/legend/VcsLegend.vue +1 -1
  118. package/src/manager/collectionManager/CollectionComponent.vue +1 -0
  119. package/src/manager/collectionManager/collectionComponentClass.js +5 -1
  120. package/src/manager/contextMenu/ContextMenuComponent.vue +1 -1
  121. package/src/manager/panel/PanelManagerComponent.vue +2 -2
  122. package/src/manager/toolbox/GroupToolboxComponent.vue +2 -2
  123. package/src/manager/toolbox/SelectToolboxComponent.vue +2 -2
  124. package/src/manager/toolbox/ToolboxManagerComponent.vue +13 -2
  125. package/src/manager/window/WindowComponent.vue +1 -1
  126. package/src/manager/window/WindowManager.vue +4 -1
  127. package/src/manager/window/windowManager.d.ts +59 -3
  128. package/src/manager/window/windowManager.js +23 -2
  129. package/src/navigation/MapNavigation.vue +4 -1
  130. package/src/navigation/ObliqueRotation.vue +2 -2
  131. package/src/navigation/OrientationToolsButton.vue +1 -1
  132. package/src/navigation/TiltSlider.vue +1 -0
  133. package/src/navigation/VcsCompass.vue +1 -1
  134. package/src/navigation/VcsZoomButton.vue +1 -1
  135. package/src/notifier/NotifierComponent.vue +1 -1
  136. package/src/obliqueFallbackWarnings.d.ts +5 -0
  137. package/src/obliqueFallbackWarnings.js +54 -0
  138. package/src/search/ResultItem.vue +1 -1
  139. package/src/search/ResultsComponent.vue +1 -1
  140. package/src/search/SearchComponent.vue +3 -1
  141. package/src/uiConfig.d.ts +16 -4
  142. package/src/uiConfig.js +3 -2
  143. package/src/vcsUiApp.d.ts +43 -17
  144. package/src/vcsUiApp.js +17 -11
  145. package/src/vuePlugins/i18n.js +1 -0
  146. package/dist/assets/ui-c6eb55a5.css +0 -1
  147. /package/dist/assets/{vue-aefad438.js → vue-bcc58dd1.js} +0 -0
@@ -11,8 +11,10 @@
11
11
  }"
12
12
  v-bind="$attrs"
13
13
  >
14
- <template #label="scope">
15
- <slot name="label" v-bind="scope ?? {}">{{ $st($attrs.label) }}</slot>
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 { useForwardSlots, usePadding } from '../composables.js';
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 = useForwardSlots(slots, ['label', 'message']);
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: import("vue").ComputedRef<string[]>;
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 { useForwardSlots, usePadding } from '../composables.js';
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 = useForwardSlots(slots, ['append-inner', 'message']);
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: import("vue").ComputedRef<string[]>;
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 { useForwardSlots, usePadding } from '../composables.js';
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 = useForwardSlots(slots, ['append-inner', 'message']);
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: import("vue").ComputedRef<string[]>;
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 { useForwardSlots, usePadding } from '../composables.js';
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 = useForwardSlots(slots, ['append']);
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: import("vue").ComputedRef<string[]>;
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 { useForwardSlots, usePadding } from '../composables.js';
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 = useForwardSlots(slots, ['append-inner', 'message']);
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: import("vue").ComputedRef<string[]>;
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 { useForwardSlots, usePadding } from '../composables.js';
63
+ import { getForwardSlots, usePadding } from '../composables.js';
64
64
  import { useProxiedAtomicModel } from '../modelHelper.js';
65
65
 
66
66
  function countDecimalPlaces(value) {
@@ -146,7 +146,7 @@
146
146
  ) {
147
147
  const v = parseFloat(localValue.value);
148
148
  if (Number.isFinite(v)) {
149
- return v.toFixed(props.decimals);
149
+ return parseFloat(v.toFixed(props.decimals));
150
150
  }
151
151
  }
152
152
  return localValue.value ?? '';
@@ -172,7 +172,7 @@
172
172
  });
173
173
 
174
174
  const paddingProvided = usePadding(attrs);
175
- const forwardSlots = useForwardSlots(slots, ['default', 'message']);
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: import("vue").ComputedRef<string[]>;
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>;
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <v-stepper-vertical v-bind="$attrs">
2
+ <v-stepper-vertical v-bind="$attrs" class="vcs-wizard">
3
3
  <template #icon>
4
4
  <slot name="icon"><v-icon>mdi-circle</v-icon></slot>
5
5
  </template>
@@ -12,7 +12,7 @@
12
12
  <script>
13
13
  import { VStepperVertical } from 'vuetify/labs/VStepperVertical';
14
14
  import { VIcon } from 'vuetify/components';
15
- import { useForwardSlots } from '../composables.js';
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 = useForwardSlots(slots, ['icon']);
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: import("vue").ComputedRef<string[]>;
2
+ forwardSlots: string[];
3
3
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
4
4
  export default _default;
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <v-stepper-vertical-item
3
+ class="vcs-wizard-step"
3
4
  :value="step"
4
5
  :editable="isActiveStep || editable"
5
6
  :complete="complete"
@@ -51,7 +52,7 @@
51
52
  import { VStepperVerticalItem } from 'vuetify/labs/VStepperVertical';
52
53
  import { VSpacer } from 'vuetify/components';
53
54
  import { useProxiedComplexModel } from '../modelHelper.js';
54
- import { useForwardSlots } from '../composables.js';
55
+ import { getForwardSlots } from '../composables.js';
55
56
  import VcsActionButtonList from '../buttons/VcsActionButtonList.vue';
56
57
  import VcsHelp from '../notification/VcsHelp.vue';
57
58
 
@@ -166,7 +167,7 @@
166
167
  return props.headerActions;
167
168
  });
168
169
 
169
- const forwardSlots = useForwardSlots(slots, ['title', 'default']);
170
+ const forwardSlots = getForwardSlots(slots, ['title', 'default']);
170
171
 
171
172
  return {
172
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: import("vue").ComputedRef<string[]>;
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;
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div
3
- class="marked"
3
+ class="marked vcs-markdown"
4
4
  :class="{
5
5
  'pa-2': !paddingProvided,
6
6
  }"
@@ -4,7 +4,7 @@
4
4
  @dragover.prevent="isDragging = true"
5
5
  @dragleave.prevent="isDragging = false"
6
6
  @drop.prevent="dropped"
7
- class="d-flex justify-center drop-field"
7
+ class="d-flex justify-center drop-field vcs-file-drop"
8
8
  :class="{ dragging: isDragging }"
9
9
  :dragging="isDragging"
10
10
  flat
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <v-card flat class="pa-2">
2
+ <v-card flat class="pa-2 vcs-import-component">
3
3
  <vcs-file-drop
4
4
  :height="dropElementHeight"
5
5
  :multiple="multiple"
@@ -57,14 +57,17 @@
57
57
  }"
58
58
  @click="select(item, $event)"
59
59
  >
60
- <template #title="titleScope">
61
- <slot name="item.title" v-bind="{ ...titleScope, index }"></slot>
60
+ <template #append="scope">
61
+ <slot name="item.append" v-bind="{ ...scope, index, item }" />
62
62
  </template>
63
- <template #subtitle="subtitleScope">
64
- <slot name="item.subtitle" v-bind="{ ...subtitleScope, index }" />
63
+ <template #title="scope">
64
+ <slot name="item.title" v-bind="{ ...scope, index, item }" />
65
65
  </template>
66
- <template #default="scope">
67
- <slot name="item.default" v-bind="{ ...scope, index }" />
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-title] - A slot to adapt the list item titel, adding content before the title. Binds item and index.
174
- * @vue-data {slot} [#item.title] - A slot to adapt the list item titel. Default content is a span or VcsTextField for active rename action. Binds item and index.
175
- * @vue-data {slot} [#item.append-title] - A slot to adapt the list item titel, adding content after the title. Binds item and index.
176
- * @vue-data {slot} [#item.intermediate] - A slot to introduce content, e.g. buttons between two list items. Binds item and index.
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',
@@ -89,14 +89,20 @@
89
89
  </script>
90
90
 
91
91
  <template>
92
- <v-list-item :disabled="item.disabled" v-bind="$attrs">
93
- <template #prepend>
94
- <v-icon v-if="item.icon">
95
- {{ item.icon }}
96
- </v-icon>
92
+ <v-list-item
93
+ :disabled="item.disabled"
94
+ v-bind="$attrs"
95
+ class="vcs-list-item-component"
96
+ >
97
+ <template #prepend="scope">
98
+ <slot name="prepend" v-bind="scope">
99
+ <v-icon v-if="item.icon">
100
+ {{ item.icon }}
101
+ </v-icon>
102
+ </slot>
97
103
  </template>
98
- <template #title>
99
- <slot name="title" v-bind="{ item, dragging, tooltip }">
104
+ <template #title="scope">
105
+ <slot name="title" v-bind="{ ...scope, tooltip }">
100
106
  <v-list-item-title
101
107
  ref="title"
102
108
  :class="{ 'vcs-list-item__rename': rename }"
@@ -121,17 +127,17 @@
121
127
  </v-list-item-title>
122
128
  </slot>
123
129
  </template>
124
- <template #subtitle>
125
- <slot name="subtitle" v-bind="{ item }" />
130
+ <template #subtitle="scope">
131
+ <slot name="subtitle" v-bind="scope" />
126
132
  </template>
127
133
  <template #default="scope">
128
- <slot name="default" v-bind="{ ...scope, item, dragging, tooltip }" />
134
+ <slot name="default" v-bind="{ ...scope, tooltip }" />
129
135
  </template>
130
- <template #append="appendScope">
136
+ <template #append="scope">
131
137
  <slot
132
138
  name="append"
133
139
  v-bind="{
134
- ...appendScope,
140
+ ...scope,
135
141
  item,
136
142
  actions,
137
143
  actionButtonListOverflowCount,
@@ -3,17 +3,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}
3
3
  readonly [x: string]: any;
4
4
  };
5
5
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
6
+ prepend?(_: {
7
+ isActive: boolean;
8
+ isOpen: boolean;
9
+ isSelected: boolean;
10
+ isIndeterminate: boolean;
11
+ select: (value: boolean) => void;
12
+ }): any;
6
13
  title?(_: {
7
- item: any;
8
- dragging: any;
9
14
  tooltip: string;
15
+ title?: string | number | undefined;
10
16
  }): any;
11
17
  subtitle?(_: {
12
- item: any;
18
+ subtitle?: string | number | undefined;
13
19
  }): any;
14
20
  default?(_: {
15
- item: any;
16
- dragging: any;
17
21
  tooltip: string;
18
22
  isActive: boolean;
19
23
  isOpen: boolean;
@@ -118,7 +118,7 @@
118
118
  import { VIcon } from 'vuetify/components';
119
119
  import { VTreeview } from 'vuetify/labs/VTreeview';
120
120
  import { useProxiedAtomicModel } from '../modelHelper.js';
121
- import { useForwardSlots } from '../composables.js';
121
+ import { getForwardSlots } from '../composables.js';
122
122
  import VcsTreeviewSearchbar from './VcsTreeviewSearchbar.vue';
123
123
  import VcsActionButtonList from '../buttons/VcsActionButtonList.vue';
124
124
  import ImageElementInjector from '../ImageElementInjector.vue';
@@ -184,7 +184,7 @@
184
184
  .indexOf(q.toLocaleLowerCase());
185
185
  };
186
186
 
187
- const forwardSlots = useForwardSlots(slots, [
187
+ const forwardSlots = getForwardSlots(slots, [
188
188
  'append',
189
189
  'title',
190
190
  'prepend',
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
19
19
  iconSize: import("vue").ComputedRef<number>;
20
20
  localSearchValue: import("vue").Ref<any>;
21
21
  handleFilter: (value: string, q: string, item: Object) => number;
22
- forwardSlots: import("vue").ComputedRef<string[]>;
22
+ forwardSlots: string[];
23
23
  itemClicked(name: any, event: any): void;
24
24
  }, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:search"[], "update:search", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
25
25
  items: {
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div
3
- class="pa-2 bg-base-lighten-3 position-relative d-flex flex-row justify-space-between align-center rounded-0"
3
+ class="pa-2 bg-base-lighten-3 position-relative d-flex flex-row justify-space-between align-center rounded-0 vcs-treeview-searchbar"
4
4
  >
5
5
  <slot name="prepend">
6
6
  <v-icon class="search-icon my-0 ml-1" :size="iconSize - 4">
@@ -26,7 +26,7 @@
26
26
  </style>
27
27
  <template>
28
28
  <div
29
- class="title-parent pr-2"
29
+ class="title-parent pr-2 vcs-treeview-title"
30
30
  ref="titleParent"
31
31
  @click.stop="item.clicked && !item.disabled && item.clicked($event)"
32
32
  >
@@ -1,9 +1,9 @@
1
1
  <template>
2
- <span class="badge rounded-circle h-3 w-3" :class="[color]" />
2
+ <span class="vcs-badge rounded-circle h-3 w-3" :class="[color]" />
3
3
  </template>
4
4
 
5
5
  <style lang="scss" scoped>
6
- .badge {
6
+ .vcs-badge {
7
7
  border: 1px solid rgb(var(--v-theme-surface)) !important;
8
8
  }
9
9
  .h-3 {
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div
3
3
  v-if="$slots.default || text"
4
- class="ma-0 font-weight-regular rounded-0 bg-base-lighten-4"
4
+ class="ma-0 font-weight-regular rounded-0 bg-base-lighten-4 vcs-help"
5
5
  >
6
6
  <v-container class="py-1 px-2 vcs-help">
7
7
  <slot>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <v-container class="pa-0">
2
+ <v-container class="pa-0 abstract-config-editor">
3
3
  <v-form v-model="isValid" @submit.prevent="submit">
4
4
  <slot />
5
5
  <div class="d-flex gc-2 px-2 pt-2 pb-1">
@@ -43,7 +43,11 @@
43
43
  const iconSize = useIconSize();
44
44
  </script>
45
45
  <template>
46
- <v-expansion-panel :disabled="disabled" v-bind="$attrs">
46
+ <v-expansion-panel
47
+ :disabled="disabled"
48
+ v-bind="$attrs"
49
+ class="vcs-expansion-panel"
50
+ >
47
51
  <v-expansion-panel-title static class="px-2">
48
52
  <template #default="{ expanded }">
49
53
  <v-list-item-title ref="panelHeader">
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <v-sheet>
2
+ <v-sheet class="menu-wrapper">
3
3
  <div class="d-flex align-center py-1">
4
4
  <VcsCheckbox
5
5
  :model-value="!!modelValue"
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <VcsVectorStyleComponent
3
+ class="vcs-feature-style-component"
3
4
  :model-value="styleOptions"
4
5
  @update:fill="updateFill"
5
6
  @update:stroke="updateStroke"
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <MenuWrapper
3
+ class="vcs-fill-menu"
3
4
  :value-fallback="{ color: [255, 255, 255, 1] }"
4
5
  name="components.style.fill"
5
6
  v-bind="{ ...$attrs, ...$props }"
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <v-color-picker
3
+ class="vcs-fill-selector"
3
4
  :model-value="rgbaObject"
4
5
  @update:model-value="updateColor"
5
6
  mode="rgba"
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <MenuWrapper
3
+ class="vcs-image-menu"
3
4
  :value-fallback="{
4
5
  radius: 10,
5
6
  fill: { color: [255, 255, 255, 1] },
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <v-sheet>
2
+ <v-sheet class="vcs-image-selector">
3
3
  <v-container class="px-1 py-0">
4
4
  <v-row no-gutters>
5
5
  <v-col class="d-flex justify-center py-1">
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <MenuWrapper
3
+ class="vcs-stroke-menu"
3
4
  :value-fallback="{ color: [0, 0, 0, 1], width: 1 }"
4
5
  name="components.style.stroke"
5
6
  v-bind="{ ...$attrs, ...$props }"
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <v-sheet>
2
+ <v-sheet class="vcs-stroke-selector">
3
3
  <v-container class="px-1 py-0">
4
4
  <v-row no-gutters>
5
5
  <v-col>
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <MenuWrapper
3
+ class="vcs-text-menu"
3
4
  :value-fallback="fallbackStyle"
4
5
  name="components.style.text"
5
6
  v-bind="{ ...$attrs, ...$props }"
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <v-sheet>
2
+ <v-sheet class="vcs-text-selector">
3
3
  <v-container class="px-1 py-0">
4
4
  <v-row no-gutters>
5
5
  <v-col>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <v-sheet>
2
+ <v-sheet class="vcs-vector-style-component">
3
3
  <component
4
4
  v-for="key in styleComponents"
5
5
  :key="key"