@dative-gpi/foundation-shared-components 1.1.24-unit-formatter → 1.1.24-unit-formatter-2

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 (74) hide show
  1. package/assets/images/map/open-street-map.png +0 -0
  2. package/components/FSAccordionPanel.vue +2 -0
  3. package/components/FSButton.vue +43 -87
  4. package/components/FSCard.vue +208 -100
  5. package/components/FSCardPlaceholder.vue +29 -25
  6. package/components/FSChip.vue +54 -127
  7. package/components/FSChipGroup.vue +141 -23
  8. package/components/FSClickable.vue +24 -326
  9. package/components/FSColor.vue +3 -3
  10. package/components/FSColorIcon.vue +1 -0
  11. package/components/FSDialogContent.vue +39 -28
  12. package/components/FSDialogFormBody.vue +2 -0
  13. package/components/FSDialogMenu.vue +8 -1
  14. package/components/FSDialogMultiFormBody.vue +6 -5
  15. package/components/FSDivider.vue +5 -1
  16. package/components/FSEditImageUI.vue +21 -30
  17. package/components/FSGridMosaic.vue +2 -0
  18. package/components/FSGroupingChip.vue +115 -0
  19. package/components/FSIconCard.vue +3 -1
  20. package/components/FSIconCheck.vue +8 -0
  21. package/components/FSImageCard.vue +4 -4
  22. package/components/FSInstantPicker.vue +2 -0
  23. package/components/FSLink.vue +1 -13
  24. package/components/FSOptionItem.vue +4 -4
  25. package/components/FSOptionsMenu.vue +6 -6
  26. package/components/FSPlayButtons.vue +11 -9
  27. package/components/FSProgressBar.vue +142 -28
  28. package/components/FSRangePicker.vue +2 -0
  29. package/components/FSRouterLink.vue +84 -14
  30. package/components/FSSlideGroup.vue +5 -1
  31. package/components/FSSnackbar.vue +146 -0
  32. package/components/FSSubgroupingChip.vue +138 -0
  33. package/components/FSWindow.vue +2 -0
  34. package/components/agenda/FSAgendaHorizontalEvent.vue +4 -4
  35. package/components/agenda/FSAgendaVerticalEvent.vue +4 -4
  36. package/components/deviceOrganisations/FSStatusRichCard.vue +4 -7
  37. package/components/fields/FSAutocompleteField.vue +1 -0
  38. package/components/fields/FSDurationField.vue +184 -0
  39. package/components/fields/FSEntityFieldUI.vue +12 -0
  40. package/components/fields/FSRichTextField.vue +2 -0
  41. package/components/lists/FSDataIteratorItem.vue +2 -0
  42. package/components/lists/FSDataTableUI.vue +12 -0
  43. package/components/lists/FSFilterButton.vue +34 -23
  44. package/components/lists/FSHeaderButton.vue +6 -3
  45. package/components/lists/FSTileList.vue +23 -6
  46. package/components/map/FSMap.vue +1 -1
  47. package/components/map/FSMapMarker.vue +4 -3
  48. package/components/selects/FSSelectMapLayer.vue +5 -0
  49. package/components/tiles/FSChartTileUI.vue +2 -0
  50. package/components/tiles/FSFolderTileUI.vue +2 -2
  51. package/components/tiles/FSLocationTileUI.vue +2 -0
  52. package/components/tiles/FSPlaylistTileUI.vue +149 -0
  53. package/components/tiles/FSServiceAccountOrganisationTileUI.vue +2 -0
  54. package/components/tiles/FSSubgroupingTileUI.vue +97 -0
  55. package/components/tiles/FSTile.vue +32 -64
  56. package/components/tiles/FSUserOrganisationTileUI.vue +2 -0
  57. package/components/toggleSets/FSToggleSetPosition.vue +5 -0
  58. package/composables/useMapLayers.ts +12 -0
  59. package/models/index.ts +2 -1
  60. package/models/map.ts +2 -1
  61. package/models/tables.ts +1 -0
  62. package/models/variants.ts +33 -0
  63. package/package.json +4 -4
  64. package/styles/components/fs_button.scss +1 -7
  65. package/styles/components/fs_card.scss +75 -4
  66. package/styles/components/fs_chip.scss +0 -29
  67. package/styles/components/fs_filter_button.scss +6 -1
  68. package/styles/components/fs_map.scss +7 -1
  69. package/styles/components/fs_progress_bar.scss +62 -6
  70. package/styles/components/fs_snackbar.scss +7 -0
  71. package/styles/components/index.scss +1 -2
  72. package/styles/globals/overrides.scss +1 -1
  73. package/styles/components/fs_clickable.scss +0 -69
  74. package/styles/components/fs_color_icon.scss +0 -3
@@ -1,363 +1,61 @@
1
1
  <template>
2
- <a
3
- v-if="$props.href"
4
- :href="$props.href"
5
- :style="style"
6
- :class="$props.class"
7
- @mouseover="hover = true"
8
- @mouseleave="hover = false"
9
- @mousedown="active = true"
10
- @mouseup="active = false"
2
+ <FSCard
3
+ :variant="$props.variant"
4
+ :color="$props.color"
5
+ :clickable="$props.clickable"
6
+ v-bind="$attrs"
11
7
  >
12
- <FSCard
13
- height="100%"
14
- width="100%"
15
- :borderRadius="$props.borderRadius"
16
- :borderStyle="$props.borderStyle"
17
- :padding="$props.padding"
18
- :class="classes"
19
- v-bind="$attrs"
20
- >
21
- <template
22
- v-for="(_, name) in $slots"
23
- v-slot:[name]="slotData"
24
- >
25
- <slot
26
- :name="name"
27
- v-bind="{ ...slotData, contentVariant }"
28
- />
29
- </template>
30
- </FSCard>
31
- <template
32
- v-if="$props.load"
33
- >
34
- <v-progress-circular
35
- class="fs-clickable-load"
36
- width="2"
37
- size="24"
38
- :indeterminate="true"
39
- :color="loadColor"
40
- />
41
- </template>
42
- </a>
43
- <FSRouterLink
44
- v-else-if="$props.to"
45
- :style="style"
46
- :to="$props.to"
47
- :class="$props.class"
48
- @mouseover="hover = true"
49
- @mouseleave="hover = false"
50
- @mousedown="active = true"
51
- @mouseup="active = false"
52
- >
53
- <FSCard
54
- height="100%"
55
- width="100%"
56
- :borderRadius="$props.borderRadius"
57
- :borderStyle="$props.borderStyle"
58
- :padding="$props.padding"
59
- :class="classes"
60
- v-bind="$attrs"
61
- >
62
- <template
63
- v-for="(_, name) in $slots"
64
- v-slot:[name]="slotData"
65
- >
66
- <slot
67
- :name="name"
68
- v-bind="{ ...slotData, contentVariant }"
69
- />
70
- </template>
71
- </FSCard>
72
- <template
73
- v-if="$props.load"
74
- >
75
- <v-progress-circular
76
- class="fs-clickable-load"
77
- width="2"
78
- size="24"
79
- :indeterminate="true"
80
- :color="loadColor"
81
- />
82
- </template>
83
- </FSRouterLink>
84
- <button
85
- v-else
86
- :type="$props.type"
87
- :style="style"
88
- :class="$props.class"
89
- :disabled="$props.load || $props.disabled"
90
- @click.stop="onClick"
91
- @mouseover="hover = true"
92
- @mouseleave="hover = false"
93
- @mousedown="active = true"
94
- @mouseup="active = false"
95
- >
96
- <FSCard
97
- height="100%"
98
- width="100%"
99
- :borderRadius="$props.borderRadius"
100
- :borderStyle="$props.borderStyle"
101
- :padding="$props.padding"
102
- :class="classes"
103
- v-bind="$attrs"
104
- >
105
- <template
106
- v-for="(_, name) in $slots"
107
- v-slot:[name]="slotData"
108
- >
109
- <slot
110
- :name="name"
111
- v-bind="{ ...slotData, contentVariant }"
112
- />
113
- </template>
114
- </FSCard>
115
8
  <template
116
- v-if="$props.load"
9
+ v-for="(_, name) in $slots"
10
+ v-slot:[name]="slotData"
117
11
  >
118
- <v-progress-circular
119
- class="fs-clickable-load"
120
- width="2"
121
- size="24"
122
- :indeterminate="true"
123
- :color="loadColor"
12
+ <slot
13
+ :name="name"
14
+ v-bind="{ ...slotData }"
124
15
  />
125
16
  </template>
126
- </button>
17
+ </FSCard>
127
18
  </template>
128
19
 
129
20
  <script lang="ts">
130
- import { computed, defineComponent, type PropType, ref, type StyleValue } from "vue";
131
- import { type RouteLocation } from "vue-router";
21
+ /**
22
+ * @deprecated FSClickable is deprecated. Please use <FSCard :clickable="true" :variant="CardVariants.Standard" :color="ColorEnum.Light" ... /> instead.
23
+ * Clickable prop to true is not necessary as it is will listen to any click listener or href, to prop.
24
+ * This component will be removed in a future release.
25
+ */
26
+ import { defineComponent, type PropType, onMounted } from "vue";
132
27
 
133
- import { type ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
134
- import { useColors } from "@dative-gpi/foundation-shared-components/composables";
135
- import { sizeToVar } from "@dative-gpi/foundation-shared-components/utils";
28
+ import { type CardVariant, CardVariants, type ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
136
29
 
137
- import FSRouterLink from "./FSRouterLink.vue";
138
30
  import FSCard from "./FSCard.vue";
139
31
 
140
32
  export default defineComponent({
141
33
  name: "FSClickable",
142
34
  components: {
143
- FSRouterLink,
144
35
  FSCard
145
36
  },
146
37
  props: {
147
- height: {
148
- type: [Array, String, Number] as PropType<string[] | number[] | string | number | null>,
149
- required: false,
150
- default: null
151
- },
152
- width: {
153
- type: [Array, String, Number] as PropType<string[] | number[] | string | number | null>,
154
- required: false,
155
- default: null
156
- },
157
- padding: {
158
- type: [Array, String, Number] as PropType<string[] | number[] | string | number | null>,
159
- required: false,
160
- default: "0"
161
- },
162
- class: {
163
- type: [String, Array] as PropType<string | string[] | null>,
164
- required: false,
165
- default: null
166
- },
167
- to: {
168
- type: Object as PropType<RouteLocation | null>,
169
- required: false,
170
- default: null
171
- },
172
- href: {
173
- type: String as PropType<string | null>,
174
- required: false,
175
- default: null
176
- },
177
38
  variant: {
178
- type: String as PropType<"standard" | "background" | "full">,
39
+ type: String as PropType<CardVariant>,
179
40
  required: false,
180
- default: "standard"
181
- },
182
- type: {
183
- type: String as PropType<"button" | "submit">,
184
- required: false,
185
- default: "button"
41
+ default: CardVariants.Standard
186
42
  },
187
43
  color: {
188
44
  type: String as PropType<ColorBase>,
189
45
  required: false,
190
46
  default: ColorEnum.Light
191
47
  },
192
- border: {
48
+ clickable: {
193
49
  type: Boolean,
194
50
  required: false,
195
51
  default: true
196
- },
197
- borderRadius: {
198
- type: [String, Number],
199
- required: false,
200
- default: "4px"
201
- },
202
- borderStyle: {
203
- type: String as PropType<"solid" | "dashed" | "dotted" | "double" | "groove" | "ridge" | "inset" | "outset" | "none">,
204
- required: false,
205
- default: "solid"
206
- },
207
- load: {
208
- type: Boolean,
209
- required: false,
210
- default: false
211
- },
212
- disabled: {
213
- type: Boolean,
214
- required: false,
215
- default: false
216
52
  }
217
53
  },
218
- emits: ["click"],
219
- setup(props, { emit }) {
220
- const { getColors } = useColors();
221
-
222
- const colors = computed(() => getColors(props.color));
223
- const backgrounds = getColors(ColorEnum.Background);
224
- const lights = getColors(ColorEnum.Light);
225
- const darks = getColors(ColorEnum.Dark);
226
-
227
- const hover = ref(false);
228
- const active = ref(false);
229
-
230
- const style = computed((): StyleValue => {
231
- if (props.disabled) {
232
- return {
233
- "--fs-clickable-border-size" : props.border ? "1px" : "0",
234
- "--fs-clickable-border-style" : props.borderStyle,
235
- "--fs-clickable-border-radius" : sizeToVar(props.borderRadius),
236
- "--fs-clickable-background-color": lights.light,
237
- "--fs-clickable-border-color" : lights.dark,
238
- "--fs-clickable-color" : lights.dark,
239
- "--fs-clickable-height" : sizeToVar(props.height),
240
- "--fs-clickable-width" : sizeToVar(props.width)
241
- };
242
- }
243
- switch (props.variant) {
244
- case "standard":
245
- switch (props.color) {
246
- case ColorEnum.Dark :
247
- case ColorEnum.Light: return {
248
- "--fs-clickable-border-size" : props.border ? "1px" : "0",
249
- "--fs-clickable-border-style" : props.borderStyle,
250
- "--fs-clickable-border-radius" : sizeToVar(props.borderRadius),
251
- "--fs-clickable-background-color" : backgrounds.base,
252
- "--fs-clickable-border-color" : lights.dark,
253
- "--fs-clickable-color" : lights.lightContrast!,
254
- "--fs-clickable-hover-background-color" : lights.base,
255
- "--fs-clickable-hover-border-color" : lights.dark,
256
- "--fs-clickable-hover-color" : lights.baseContrast!,
257
- "--fs-clickable-active-background-color": lights.dark,
258
- "--fs-clickable-active-border-color" : lights.dark,
259
- "--fs-clickable-active-color" : lights.darkContrast!,
260
- "--fs-clickable-height" : sizeToVar(props.height),
261
- "--fs-clickable-width" : sizeToVar(props.width)
262
- };
263
- default: return {
264
- "--fs-clickable-border-size" : props.border ? "1px" : "0",
265
- "--fs-clickable-border-style" : props.borderStyle,
266
- "--fs-clickable-border-radius" : sizeToVar(props.borderRadius),
267
- "--fs-clickable-background-color" : colors.value.light,
268
- "--fs-clickable-border-color" : colors.value.lightContrast!,
269
- "--fs-clickable-color" : colors.value.lightContrast!,
270
- "--fs-clickable-hover-background-color" : colors.value.base,
271
- "--fs-clickable-hover-border-color" : colors.value.base,
272
- "--fs-clickable-hover-color" : colors.value.baseContrast!,
273
- "--fs-clickable-active-background-color": colors.value.dark,
274
- "--fs-clickable-active-border-color" : colors.value.darkContrast!,
275
- "--fs-clickable-active-color" : colors.value.darkContrast!,
276
- "--fs-clickable-height" : sizeToVar(props.height),
277
- "--fs-clickable-width" : sizeToVar(props.width)
278
- };
279
- }
280
- case "background": return {
281
- "--fs-clickable-border-size" : props.border ? "1px" : "0",
282
- "--fs-clickable-border-style" : props.borderStyle,
283
- "--fs-clickable-border-radius" : sizeToVar(props.borderRadius),
284
- "--fs-clickable-background-color" : backgrounds.base,
285
- "--fs-clickable-border-color" : lights.dark,
286
- "--fs-clickable-color" : darks.base,
287
- "--fs-clickable-hover-background-color" : colors.value.base,
288
- "--fs-clickable-hover-border-color" : colors.value.baseContrast!,
289
- "--fs-clickable-hover-color" : colors.value.baseContrast!,
290
- "--fs-clickable-active-background-color": colors.value.dark,
291
- "--fs-clickable-active-border-color" : colors.value.darkContrast!,
292
- "--fs-clickable-active-color" : colors.value.darkContrast!,
293
- "--fs-clickable-height" : sizeToVar(props.height),
294
- "--fs-clickable-width" : sizeToVar(props.width)
295
- };
296
- case "full": return {
297
- "--fs-clickable-border-size" : props.border ? "1px" : "0",
298
- "--fs-clickable-border-style" : props.borderStyle,
299
- "--fs-clickable-border-radius" : sizeToVar(props.borderRadius),
300
- "--fs-clickable-background-color" : colors.value.base,
301
- "--fs-clickable-border-color" : colors.value.base,
302
- "--fs-clickable-color" : colors.value.baseContrast!,
303
- "--fs-clickable-hover-background-color" : colors.value.base,
304
- "--fs-clickable-hover-border-color" : colors.value.base,
305
- "--fs-clickable-hover-color" : colors.value.baseContrast!,
306
- "--fs-clickable-active-background-color": colors.value.dark,
307
- "--fs-clickable-active-border-color" : colors.value.dark,
308
- "--fs-clickable-active-color" : colors.value.darkContrast!,
309
- "--fs-clickable-height" : sizeToVar(props.height),
310
- "--fs-clickable-width" : sizeToVar(props.width)
311
- };
312
- }
313
- });
314
-
315
- const contentVariant = computed((): "base" | "baseContrast" | "light" | "lightContrast" | "dark" | "darkContrast" => {
316
- if (active.value) {
317
- return "darkContrast";
318
- }
319
- if (hover.value) {
320
- return "baseContrast";
321
- }
322
- switch (props.variant) {
323
- case "standard" : return "lightContrast";
324
- case "background": return "base";
325
- case "full" : return "baseContrast";
326
- }
327
- });
328
-
329
- const classes = computed((): string[] => {
330
- const classNames: string[] = ["fs-clickable"];
331
- if (props.disabled) {
332
- classNames.push("fs-clickable-disabled");
333
- }
334
- return classNames;
335
- });
336
-
337
- const loadColor = computed((): string => {
338
- switch (props.color) {
339
- case ColorEnum.Primary:
340
- case ColorEnum.Success:
341
- case ColorEnum.Warning:
342
- case ColorEnum.Error : return ["full"].includes(props.variant) ? colors.value.light : colors.value.dark;
343
- default : return ["full"].includes(props.variant) ? darks.soft : darks.dark;
344
- }
54
+ setup() {
55
+ onMounted(() => {
56
+ console.warn('[DEPRECATED] <FSClickable> is deprecated. Please use <FSCard :clickable="true" :variant="CardVariants.Standard" :color="ColorEnum.Light" ... /> instead. Clickable prop to true is not necessary as it is will listen to any click listener or href, to prop. This component will be removed in a future release.');
345
57
  });
346
-
347
- const onClick = (event: MouseEvent) => {
348
- if (!props.to && !props.href && !props.disabled && !props.load) {
349
- emit("click", event);
350
- }
351
- };
352
-
353
58
  return {
354
- contentVariant,
355
- loadColor,
356
- classes,
357
- active,
358
- hover,
359
- style,
360
- onClick
361
59
  };
362
60
  }
363
61
  });
@@ -14,7 +14,7 @@
14
14
  <script lang="ts">
15
15
  import { computed, defineComponent, type PropType } from "vue";
16
16
 
17
- import { type ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
17
+ import { type CardVariant, CardVariants, type ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
18
18
  import { useColors } from "@dative-gpi/foundation-shared-components/composables";
19
19
 
20
20
  import FSCard from "./FSCard.vue";
@@ -26,9 +26,9 @@ export default defineComponent({
26
26
  },
27
27
  props: {
28
28
  variant: {
29
- type: String as PropType<"standard" | "full">,
29
+ type: String as PropType<CardVariant>,
30
30
  required: false,
31
- default: "standard"
31
+ default: CardVariants.Standard
32
32
  },
33
33
  color: {
34
34
  type: String as PropType<ColorBase>,
@@ -5,6 +5,7 @@
5
5
  :border="false"
6
6
  :height="actualSize"
7
7
  :width="actualSize"
8
+ :disableHoverStyle="true"
8
9
  >
9
10
  <FSRow
10
11
  align="center-center"
@@ -6,37 +6,46 @@
6
6
  :color="$props.color"
7
7
  :width="cardWidth"
8
8
  >
9
- <template
10
- #header
11
- >
12
- <FSCol>
13
- <FSRow
14
- align="center-left"
15
- :wrap="false"
16
- >
17
- <FSText
18
- font="text-h2"
19
- >
20
- {{ $props.title }}
21
- </FSText>
9
+ <FSCol>
10
+ <slot
11
+ name="header"
12
+ v-bind="{ title: $props.title, subtitle: $props.subtitle }"
13
+ >
14
+ <FSCol>
22
15
  <FSRow
23
- align="center-right"
16
+ align="center-left"
17
+ :wrap="false"
24
18
  >
25
- <FSButton
26
- icon="mdi-close"
27
- variant="icon"
28
- :color="ColorEnum.Dark"
29
- @click="$emit('update:modelValue', false)"
30
- />
19
+ <FSText
20
+ font="text-h2"
21
+ >
22
+ {{ $props.title }}
23
+ </FSText>
24
+ <FSRow
25
+ align="center-right"
26
+ >
27
+ <FSButton
28
+ icon="mdi-close"
29
+ variant="icon"
30
+ :color="ColorEnum.Dark"
31
+ @click="$emit('update:modelValue', false)"
32
+ />
33
+ </FSRow>
31
34
  </FSRow>
32
- </FSRow>
33
- <FSText
34
- v-if="$props.subtitle"
35
- >
36
- {{ $props.subtitle }}
37
- </FSText>
38
- </FSCol>
39
- </template>
35
+ <FSText
36
+ v-if="$props.subtitle"
37
+ >
38
+ {{ $props.subtitle }}
39
+ </FSText>
40
+ </FSCol>
41
+ </slot>
42
+ <slot
43
+ name="body"
44
+ />
45
+ <slot
46
+ name="footer"
47
+ />
48
+ </FSCol>
40
49
  <template
41
50
  v-for="(_, name) in $slots"
42
51
  v-slot:[name]="slotData"
@@ -59,6 +68,7 @@ import { sizeToVar } from "@dative-gpi/foundation-shared-components/utils";
59
68
  import FSButton from "./FSButton.vue";
60
69
  import FSCard from "./FSCard.vue";
61
70
  import FSText from "./FSText.vue";
71
+ import FSCol from "./FSCol.vue";
62
72
  import FSRow from "./FSRow.vue";
63
73
 
64
74
  export default defineComponent({
@@ -67,6 +77,7 @@ export default defineComponent({
67
77
  FSButton,
68
78
  FSCard,
69
79
  FSText,
80
+ FSCol,
70
81
  FSRow
71
82
  },
72
83
  props: {
@@ -99,6 +99,7 @@ import { useBreakpoints } from "@dative-gpi/foundation-shared-components/composa
99
99
  import FSFadeOut from "./FSFadeOut.vue";
100
100
  import FSButton from "./FSButton.vue";
101
101
  import FSForm from "./FSForm.vue";
102
+ import FSCol from "./FSCol.vue";
102
103
  import FSRow from "./FSRow.vue";
103
104
 
104
105
  export default defineComponent({
@@ -107,6 +108,7 @@ export default defineComponent({
107
108
  FSFadeOut,
108
109
  FSButton,
109
110
  FSForm,
111
+ FSCol,
110
112
  FSRow
111
113
  },
112
114
  props: {
@@ -10,6 +10,11 @@
10
10
  :color="$props.color"
11
11
  :class="classes"
12
12
  >
13
+ <FSCol>
14
+ <slot
15
+ name="body"
16
+ />
17
+ </FSCol>
13
18
  <template
14
19
  v-for="(_, name) in $slots"
15
20
  v-slot:[name]="slotData"
@@ -30,11 +35,13 @@ import { type ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-compone
30
35
  import { useBreakpoints } from "@dative-gpi/foundation-shared-components/composables";
31
36
 
32
37
  import FSCard from "./FSCard.vue";
38
+ import FSCol from "./FSCol.vue";
33
39
 
34
40
  export default defineComponent({
35
41
  name: "FSDialogMenu",
36
42
  components: {
37
- FSCard
43
+ FSCard,
44
+ FSCol
38
45
  },
39
46
  props: {
40
47
  classes: {
@@ -104,7 +104,7 @@
104
104
  import { computed, defineComponent, type PropType, ref } from "vue";
105
105
 
106
106
  import { useTranslations as useTranslationsProvider } from "@dative-gpi/bones-ui/composables";
107
- import { type ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
107
+ import { type ColorBase, ColorEnum, type DialogMultiFormMode, DialogMultiFormModes, type DialogMultiFormVariant } from "@dative-gpi/foundation-shared-components/models";
108
108
  import { useBreakpoints } from "@dative-gpi/foundation-shared-components/composables";
109
109
 
110
110
  import FSPagination from "./FSPagination.vue";
@@ -118,6 +118,7 @@ import FSTabs from "./FSTabs.vue";
118
118
  import FSTab from "./FSTab.vue";
119
119
  import FSIcon from "./FSIcon.vue";
120
120
  import FSWindow from "./FSWindow.vue";
121
+ import { DialogMultiFormVariants } from "@dative-gpi/foundation-shared-components/models";
121
122
 
122
123
  export default defineComponent({
123
124
  name: "FSDialogMultiFormBody",
@@ -146,9 +147,9 @@ export default defineComponent({
146
147
  default: "auto"
147
148
  },
148
149
  variant: {
149
- type: String as PropType<"standard" | "submit">,
150
+ type: String as PropType<DialogMultiFormVariant>,
150
151
  required: false,
151
- default: "submit"
152
+ default: DialogMultiFormVariants.Submit
152
153
  },
153
154
  steps: {
154
155
  type: Number,
@@ -225,9 +226,9 @@ export default defineComponent({
225
226
  default: false
226
227
  },
227
228
  mode: {
228
- type: String as PropType<"pagination" | "tabs">,
229
+ type: String as PropType<DialogMultiFormMode>,
229
230
  required: false,
230
- default: "pagination"
231
+ default: DialogMultiFormModes.Pagination
231
232
  },
232
233
  tabsColor: {
233
234
  type: String as PropType<ColorBase>,
@@ -41,11 +41,15 @@ import { useColors, useSlots } from "@dative-gpi/foundation-shared-components/co
41
41
  import { sizeToVar } from "@dative-gpi/foundation-shared-components/utils";
42
42
 
43
43
  import FSText from "./FSText.vue";
44
+ import FSCol from "./FSCol.vue";
45
+ import FSRow from "./FSRow.vue";
44
46
 
45
47
  export default defineComponent({
46
48
  name: "FSDivider",
47
49
  components: {
48
- FSText
50
+ FSText,
51
+ FSCol,
52
+ FSRow
49
53
  },
50
54
  props: {
51
55
  label: {