@dative-gpi/foundation-shared-components 1.0.189-update-fs-card → 1.0.190-feat-time-normalization

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.
@@ -1,61 +1,363 @@
1
1
  <template>
2
- <FSCard
3
- :variant="$props.variant"
4
- :color="$props.color"
5
- :clickable="$props.clickable"
6
- v-bind="$attrs"
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"
7
11
  >
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>
8
115
  <template
9
- v-for="(_, name) in $slots"
10
- v-slot:[name]="slotData"
116
+ v-if="$props.load"
11
117
  >
12
- <slot
13
- :name="name"
14
- v-bind="{ ...slotData }"
118
+ <v-progress-circular
119
+ class="fs-clickable-load"
120
+ width="2"
121
+ size="24"
122
+ :indeterminate="true"
123
+ :color="loadColor"
15
124
  />
16
125
  </template>
17
- </FSCard>
126
+ </button>
18
127
  </template>
19
128
 
20
129
  <script lang="ts">
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";
130
+ import { computed, defineComponent, type PropType, ref, type StyleValue } from "vue";
131
+ import { type RouteLocation } from "vue-router";
27
132
 
28
- import { type CardVariant, CardVariants, type ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
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";
29
136
 
137
+ import FSRouterLink from "./FSRouterLink.vue";
30
138
  import FSCard from "./FSCard.vue";
31
139
 
32
140
  export default defineComponent({
33
141
  name: "FSClickable",
34
142
  components: {
143
+ FSRouterLink,
35
144
  FSCard
36
145
  },
37
146
  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
+ },
38
177
  variant: {
39
- type: String as PropType<CardVariant>,
178
+ type: String as PropType<"standard" | "background" | "full">,
40
179
  required: false,
41
- default: CardVariants.Standard
180
+ default: "standard"
181
+ },
182
+ type: {
183
+ type: String as PropType<"button" | "submit">,
184
+ required: false,
185
+ default: "button"
42
186
  },
43
187
  color: {
44
188
  type: String as PropType<ColorBase>,
45
189
  required: false,
46
190
  default: ColorEnum.Light
47
191
  },
48
- clickable: {
192
+ border: {
49
193
  type: Boolean,
50
194
  required: false,
51
195
  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
52
216
  }
53
217
  },
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.');
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
+ }
57
345
  });
346
+
347
+ const onClick = (event: MouseEvent) => {
348
+ if (!props.to && !props.href && !props.disabled && !props.load) {
349
+ emit("click", event);
350
+ }
351
+ };
352
+
58
353
  return {
354
+ contentVariant,
355
+ loadColor,
356
+ classes,
357
+ active,
358
+ hover,
359
+ style,
360
+ onClick
59
361
  };
60
362
  }
61
363
  });
@@ -6,44 +6,37 @@
6
6
  :color="$props.color"
7
7
  :width="cardWidth"
8
8
  >
9
- <FSCol>
10
- <slot
11
- name="header"
12
- v-bind="{ title: $props.title, subtitle: $props.subtitle }"
13
- >
14
- <FSCol>
15
- <FSRow
16
- align="center-left"
17
- :wrap="false"
18
- >
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>
34
- </FSRow>
9
+ <template
10
+ #header
11
+ >
12
+ <FSCol>
13
+ <FSRow
14
+ align="center-left"
15
+ :wrap="false"
16
+ >
35
17
  <FSText
36
- v-if="$props.subtitle"
18
+ font="text-h2"
37
19
  >
38
- {{ $props.subtitle }}
20
+ {{ $props.title }}
39
21
  </FSText>
40
- </FSCol>
41
- </slot>
42
- <slot
43
- name="body"
44
- />
45
- <slot />
46
- </FSCol>
22
+ <FSRow
23
+ align="center-right"
24
+ >
25
+ <FSButton
26
+ icon="mdi-close"
27
+ variant="icon"
28
+ :color="ColorEnum.Dark"
29
+ @click="$emit('update:modelValue', false)"
30
+ />
31
+ </FSRow>
32
+ </FSRow>
33
+ <FSText
34
+ v-if="$props.subtitle"
35
+ >
36
+ {{ $props.subtitle }}
37
+ </FSText>
38
+ </FSCol>
39
+ </template>
47
40
  <template
48
41
  v-for="(_, name) in $slots"
49
42
  v-slot:[name]="slotData"
@@ -23,6 +23,7 @@
23
23
  name="left-footer"
24
24
  />
25
25
  <FSRow
26
+ v-if="$props.showCancelButton || $props.showSubmitButton"
26
27
  class="fs-dialog-actions"
27
28
  align="top-right"
28
29
  :wrap="false"
@@ -135,25 +135,36 @@
135
135
  />
136
136
  </FSRow>
137
137
  </FSRow>
138
- <template
138
+ <FSClickable
139
139
  v-else
140
+ borderStyle="dashed"
141
+ variant="background"
142
+ :height="$props.height"
143
+ :width="$props.width"
144
+ @click="() => invisibleButtonRef.input.click()"
140
145
  >
141
- <FSButtonFileMini
142
- class="fs-edit-image-hidden-button"
143
- ref="invisibleButtonRef"
144
- accept=".jpg,.jpeg,.png"
145
- :readFile="false"
146
- @update:metadata="onUpload"
147
- />
148
- <FSCardPlaceholder
149
- v-if="invisibleButtonRef"
150
- :height="$props.height"
151
- :width="$props.width"
152
- icon="mdi-plus-box-outline"
153
- :label="$tr('edit-image.add-image', 'Add an image.')"
154
- @click="() => invisibleButtonRef!.input.click()"
155
- />
156
- </template>
146
+ <FSRow
147
+ align="center-center"
148
+ :wrap="false"
149
+ >
150
+ <FSIcon>
151
+ mdi-plus-box-outline
152
+ </FSIcon>
153
+ <FSText
154
+ font="text-body"
155
+ :lineClamp="2"
156
+ >
157
+ {{ $tr('edit-image.add-image', 'Add an image.') }}
158
+ </FSText>
159
+ <FSButtonFileMini
160
+ class="fs-edit-image-hidden-button"
161
+ ref="invisibleButtonRef"
162
+ accept=".jpg,.jpeg,.png"
163
+ :readFile="false"
164
+ @update:metadata="onUpload"
165
+ />
166
+ </FSRow>
167
+ </FSClickable>
157
168
  </FSCol>
158
169
  </template>
159
170
 
@@ -166,7 +177,7 @@ import { useFiles } from "@dative-gpi/foundation-shared-services/composables";
166
177
 
167
178
  import FSButtonRemoveMini from "./buttons/FSButtonRemoveMini.vue";
168
179
  import FSButtonFileMini from "./buttons/FSButtonFileMini.vue";
169
- import FSCardPlaceholder from "./FSCardPlaceholder.vue";
180
+ import FSClickable from "./FSClickable.vue";
170
181
  import FSImageUI from "./FSImageUI.vue";
171
182
  import FSCard from "./FSCard.vue";
172
183
  import FSText from "./FSText.vue";
@@ -177,8 +188,8 @@ export default defineComponent({
177
188
  name: "FSEditImageUI",
178
189
  components: {
179
190
  FSButtonRemoveMini,
180
- FSCardPlaceholder,
181
191
  FSButtonFileMini,
192
+ FSClickable,
182
193
  FSImageUI,
183
194
  FSCard,
184
195
  FSText,
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <FSCard
2
+ <FSClickable
3
3
  class="fs-image-card"
4
4
  :height="height"
5
5
  :width="width"
@@ -22,20 +22,20 @@
22
22
  </FSSpan>
23
23
  </FSRow>
24
24
  </FSRow>
25
- </FSCard>
25
+ </FSClickable>
26
26
  </template>
27
27
 
28
28
  <script lang="ts">
29
29
  import { computed, defineComponent, type PropType, type StyleValue } from "vue";
30
30
 
31
- import FSCard from "./FSCard.vue";
31
+ import FSClickable from "./FSClickable.vue";
32
32
  import FSSpan from "./FSSpan.vue";
33
33
  import FSRow from "./FSRow.vue";
34
34
 
35
35
  export default defineComponent({
36
36
  name: "FSImageCard",
37
37
  components: {
38
- FSCard,
38
+ FSClickable,
39
39
  FSSpan,
40
40
  FSRow
41
41
  },
@@ -1,7 +1,19 @@
1
1
  <template>
2
+ <a
3
+ v-if="$props.href"
4
+ :href="$props.href"
5
+ :class="classes"
6
+ :style="style"
7
+ >
8
+ <slot>
9
+ <FSSpan>
10
+ {{ $props.label }}
11
+ </FSSpan>
12
+ </slot>
13
+ </a>
2
14
  <FSRouterLink
15
+ v-else-if="$props.to"
3
16
  :to="$props.to"
4
- :href="$props.href"
5
17
  :class="classes"
6
18
  :style="style"
7
19
  v-bind="$attrs"
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <FSCard
2
+ <FSClickable
3
3
  :disabled="$props.disabled"
4
4
  :height="['32px', '28px']"
5
5
  :padding="$props.padding"
@@ -47,7 +47,7 @@
47
47
  </FSIcon>
48
48
  </slot>
49
49
  </FSRow>
50
- </FSCard>
50
+ </FSClickable>
51
51
  </template>
52
52
 
53
53
  <script lang="ts">
@@ -56,7 +56,7 @@ import { computed, defineComponent, type PropType } from "vue";
56
56
  import { type ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
57
57
  import { useColors } from "@dative-gpi/foundation-shared-components/composables";
58
58
 
59
- import FSCard from "./FSCard.vue";
59
+ import FSClickable from "./FSClickable.vue";
60
60
  import FSSpan from "./FSSpan.vue";
61
61
  import FSIcon from "./FSIcon.vue";
62
62
  import FSRow from "./FSRow.vue";
@@ -64,7 +64,7 @@ import FSRow from "./FSRow.vue";
64
64
  export default defineComponent({
65
65
  name: "FSOptionItem",
66
66
  components: {
67
- FSCard,
67
+ FSClickable,
68
68
  FSSpan,
69
69
  FSIcon,
70
70
  FSRow
@@ -41,13 +41,12 @@
41
41
  :scrollOutside="false"
42
42
  maxHeight="80dvh"
43
43
  >
44
- <FSCard
44
+ <FSClickable
45
45
  v-for="(item, index) in $props.items"
46
46
  width="100%"
47
47
  padding="8px"
48
48
  height="40px"
49
49
  :key="index"
50
- :color="ColorEnum.Light"
51
50
  :border="false"
52
51
  @click="onClickItem(item)"
53
52
  >
@@ -69,7 +68,7 @@
69
68
  </FSText>
70
69
  </FSRow>
71
70
  </slot>
72
- </FSCard>
71
+ </FSClickable>
73
72
  </FSFadeOut>
74
73
  </FSCol>
75
74
  </slot>
@@ -82,7 +81,7 @@ import { defineComponent, ref, type PropType } from "vue";
82
81
 
83
82
  import { useColors } from "@dative-gpi/foundation-shared-components/composables";
84
83
 
85
- import { CardVariants, ColorEnum, type ColorBase } from '@dative-gpi/foundation-shared-components/models';
84
+ import { ColorEnum, type ColorBase } from '@dative-gpi/foundation-shared-components/models';
86
85
 
87
86
  import FSRow from '@dative-gpi/foundation-shared-components/components/FSRow.vue';
88
87
  import FSCol from '@dative-gpi/foundation-shared-components/components/FSCol.vue';
@@ -91,6 +90,7 @@ import FSMenu from '@dative-gpi/foundation-shared-components/components/FSMenu.v
91
90
  import FSCard from '@dative-gpi/foundation-shared-components/components/FSCard.vue';
92
91
  import FSText from '@dative-gpi/foundation-shared-components/components/FSText.vue';
93
92
  import FSButton from '@dative-gpi/foundation-shared-components/components/FSButton.vue';
93
+ import FSClickable from '@dative-gpi/foundation-shared-components/components/FSClickable.vue';
94
94
 
95
95
  export default defineComponent({
96
96
  name: "FSInformationsMenu",
@@ -101,7 +101,8 @@ export default defineComponent({
101
101
  FSText,
102
102
  FSButton,
103
103
  FSCol,
104
- FSIcon
104
+ FSIcon,
105
+ FSClickable
105
106
  },
106
107
  props: {
107
108
  items: {
@@ -157,7 +158,6 @@ export default defineComponent({
157
158
  ColorEnum,
158
159
  modelValue,
159
160
  lightColors,
160
- CardVariants,
161
161
  onClickItem
162
162
  };
163
163
  }