@dative-gpi/foundation-shared-components 0.0.173 → 0.0.175

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 (138) hide show
  1. package/components/FSAccordion.vue +2 -1
  2. package/components/FSAccordionPanel.vue +2 -1
  3. package/components/FSBadge.vue +7 -3
  4. package/components/FSBreadcrumbs.vue +4 -2
  5. package/components/FSButton.vue +5 -3
  6. package/components/FSCalendar.vue +4 -2
  7. package/components/FSCalendarTwin.vue +4 -2
  8. package/components/FSCard.vue +4 -2
  9. package/components/FSCardPlaceholder.vue +2 -1
  10. package/components/FSCheckbox.vue +4 -2
  11. package/components/FSChip.vue +4 -2
  12. package/components/FSClickable.vue +5 -3
  13. package/components/FSClock.vue +4 -2
  14. package/components/FSCol.vue +2 -1
  15. package/components/FSColor.vue +4 -2
  16. package/components/FSColorIcon.vue +5 -3
  17. package/components/FSDialog.vue +4 -2
  18. package/components/FSDialogForm.vue +4 -2
  19. package/components/FSDialogMenu.vue +4 -2
  20. package/components/FSDialogMultiForm.vue +4 -2
  21. package/components/FSDialogSubmit.vue +4 -2
  22. package/components/FSDivider.vue +4 -2
  23. package/components/FSEditImage.vue +4 -2
  24. package/components/FSErrorToast.vue +2 -1
  25. package/components/FSFadeOut.vue +2 -1
  26. package/components/FSForm.vue +2 -1
  27. package/components/FSGrid.vue +4 -2
  28. package/components/FSGridMosaic.vue +3 -2
  29. package/components/FSIcon.vue +3 -2
  30. package/components/FSIconCard.vue +4 -2
  31. package/components/FSIconCheck.vue +2 -1
  32. package/components/FSIconFlag.vue +2 -1
  33. package/components/FSImage.vue +2 -1
  34. package/components/FSLabel.vue +4 -2
  35. package/components/FSLink.vue +5 -3
  36. package/components/FSLoader.vue +2 -1
  37. package/components/FSOptionGroup.vue +24 -20
  38. package/components/FSOptionItem.vue +4 -2
  39. package/components/FSPagination.vue +4 -2
  40. package/components/FSRadio.vue +4 -2
  41. package/components/FSRadioGroup.vue +6 -4
  42. package/components/FSRow.vue +2 -1
  43. package/components/FSSlideGroup.vue +2 -1
  44. package/components/FSSlider.vue +4 -2
  45. package/components/FSSpan.vue +2 -1
  46. package/components/FSSwitch.vue +12 -8
  47. package/components/FSTab.vue +4 -2
  48. package/components/FSTabs.vue +4 -2
  49. package/components/FSTag.vue +11 -4
  50. package/components/FSTagGroup.vue +4 -2
  51. package/components/FSText.vue +4 -2
  52. package/components/FSToggleSet.vue +4 -2
  53. package/components/FSTooltip.vue +15 -4
  54. package/components/FSWindow.vue +2 -1
  55. package/components/FSWrapGroup.vue +2 -1
  56. package/components/autocompletes/FSAutocompleteLanguage.vue +3 -4
  57. package/components/autocompletes/FSAutocompleteTimeZone.vue +3 -2
  58. package/components/buttons/FSButtonFile.vue +2 -2
  59. package/components/buttons/FSButtonFileIcon.vue +2 -2
  60. package/components/buttons/FSButtonFileLabel.vue +2 -2
  61. package/components/buttons/FSButtonFileMini.vue +2 -2
  62. package/components/deviceOrganisations/FSConnectivity.vue +3 -2
  63. package/components/deviceOrganisations/FSConnectivityCard.vue +3 -2
  64. package/components/deviceOrganisations/FSStatus.vue +3 -2
  65. package/components/deviceOrganisations/FSStatusCard.vue +3 -2
  66. package/components/deviceOrganisations/FSStatusesCarousel.vue +3 -2
  67. package/components/deviceOrganisations/FSStatusesRow.vue +3 -2
  68. package/components/deviceOrganisations/FSWorstAlert.vue +3 -2
  69. package/components/deviceOrganisations/FSWorstAlertCard.vue +4 -2
  70. package/components/fields/FSAutocompleteField.vue +4 -3
  71. package/components/fields/FSBaseField.vue +2 -1
  72. package/components/fields/FSColorField.vue +2 -1
  73. package/components/fields/FSDateField.vue +4 -2
  74. package/components/fields/FSDateRangeField.vue +4 -2
  75. package/components/fields/FSDateTimeField.vue +4 -2
  76. package/components/fields/FSDateTimeRangeField.vue +4 -2
  77. package/components/fields/FSIconField.vue +5 -3
  78. package/components/fields/FSMagicConfigField.vue +2 -1
  79. package/components/fields/FSMagicField.vue +2 -1
  80. package/components/fields/FSNumberField.vue +2 -1
  81. package/components/fields/FSPasswordField.vue +2 -1
  82. package/components/fields/FSRichTextField.vue +8 -4
  83. package/components/fields/FSSearchField.vue +4 -2
  84. package/components/fields/FSSelectField.vue +5 -4
  85. package/components/fields/FSTagField.vue +4 -2
  86. package/components/fields/FSTermField.vue +2 -1
  87. package/components/fields/FSTextArea.vue +2 -1
  88. package/components/fields/FSTextField.vue +2 -1
  89. package/components/fields/FSTimeField.vue +2 -1
  90. package/components/fields/FSTimeSlotField.vue +2 -1
  91. package/components/fields/FSTranslateField.vue +4 -2
  92. package/components/fields/FSTreeViewField.vue +4 -3
  93. package/components/lists/FSDataIteratorItem.vue +4 -2
  94. package/components/lists/FSDataTableUI.vue +9 -5
  95. package/components/lists/FSFilterButton.vue +4 -2
  96. package/components/lists/FSHiddenButton.vue +4 -2
  97. package/components/selects/FSSelectAutoRefresh.vue +2 -1
  98. package/components/selects/FSSelectDashboardVariableType.vue +2 -1
  99. package/components/selects/FSSelectDateSetting.vue +2 -1
  100. package/components/selects/FSSelectDays.vue +2 -1
  101. package/components/tiles/FSDashboardOrganisationTileUI.vue +4 -2
  102. package/components/tiles/FSDashboardOrganisationTypeTileUI.vue +4 -2
  103. package/components/tiles/FSDashboardShallowTileUI.vue +4 -2
  104. package/components/tiles/FSDeviceOrganisationTileUI.vue +3 -2
  105. package/components/tiles/FSFolderTileUI.vue +4 -2
  106. package/components/tiles/FSGroupTileUI.vue +4 -3
  107. package/components/tiles/FSSimpleTileUI.vue +4 -2
  108. package/components/tiles/FSTile.vue +5 -4
  109. package/components/tiles/FSUserOrganisationTileUI.vue +2 -1
  110. package/composables/useAuthTokens.ts +2 -1
  111. package/composables/useAutocomplete.ts +2 -1
  112. package/composables/useColors.ts +2 -1
  113. package/composables/useDebounce.ts +2 -1
  114. package/composables/useRules.ts +2 -1
  115. package/composables/useSlots.ts +2 -1
  116. package/composables/useTables.ts +1 -1
  117. package/composables/useTreeView.ts +2 -1
  118. package/elements/FSFormElement.ts +2 -1
  119. package/icons/flags/France.vue +21 -5
  120. package/icons/flags/Germany.vue +16 -4
  121. package/icons/flags/GreatBritain.vue +25 -6
  122. package/icons/flags/Italy.vue +21 -5
  123. package/icons/flags/Portugal.vue +225 -51
  124. package/icons/flags/Spain.vue +2781 -543
  125. package/icons/flags/UnitedStates.vue +31 -7
  126. package/icons/widgetTemplates/DevicesWidget.vue +189 -189
  127. package/icons/widgetTemplates/ProfileWidget.vue +9 -9
  128. package/icons/widgetTemplates/TextWidget.vue +6 -6
  129. package/models/breadcrumbs.ts +1 -1
  130. package/models/deviceAlerts.ts +1 -1
  131. package/models/deviceConnectivities.ts +1 -1
  132. package/package.json +5 -5
  133. package/plugins/colorPlugin.ts +2 -2
  134. package/shims-plugin.d.ts +2 -2
  135. package/styles/components/fs_option_group.scss +1 -0
  136. package/styles/components/fs_select_field.scss +1 -0
  137. package/themes/default.ts +1 -1
  138. package/utils/lexical.ts +1 -1
@@ -1,22 +1,22 @@
1
1
  <template>
2
2
  <FSWrapGroup
3
- v-if="['wrap'].includes($props.variant)"
3
+ v-if="['wrap'].includes(props.variant)"
4
4
  class="fs-option-group"
5
- :padding="$props.padding"
6
- :gap="$props.gap"
5
+ :padding="props.padding"
6
+ :gap="props.gap"
7
7
  :style="style"
8
8
  >
9
9
  <template
10
- v-if="$props.values.length"
10
+ v-if="props.values.length"
11
11
  >
12
12
  <template
13
13
  v-if="!$slots.item"
14
14
  >
15
15
  <FSOptionItem
16
- v-for="(item, index) in $props.values"
16
+ v-for="(item, index) in props.values"
17
17
  :prependIcon="item.prependIcon"
18
18
  :appendIcon="item.appendIcon"
19
- :editable="$props.editable"
19
+ :editable="props.editable"
20
20
  :variant="getVariant(item)"
21
21
  :color="getColor(item)"
22
22
  :class="getClass(item)"
@@ -30,7 +30,7 @@
30
30
  v-else
31
31
  >
32
32
  <template
33
- v-for="item in $props.values"
33
+ v-for="item in props.values"
34
34
  >
35
35
  <slot
36
36
  name="item"
@@ -47,21 +47,21 @@
47
47
  <FSSlideGroup
48
48
  v-else
49
49
  class="fs-option-group"
50
- :padding="$props.padding"
51
- :gap="$props.gap"
50
+ :padding="props.padding"
51
+ :gap="props.gap"
52
52
  :style="style"
53
53
  >
54
54
  <template
55
- v-if="$props.values.length"
55
+ v-if="props.values.length"
56
56
  >
57
57
  <template
58
58
  v-if="!$slots.item"
59
59
  >
60
60
  <FSOptionItem
61
- v-for="(item, index) in $props.values"
61
+ v-for="(item, index) in props.values"
62
62
  :prependIcon="item.prependIcon"
63
63
  :appendIcon="item.appendIcon"
64
- :editable="$props.editable"
64
+ :editable="props.editable"
65
65
  :variant="getVariant(item)"
66
66
  :color="getColor(item)"
67
67
  :class="getClass(item)"
@@ -75,7 +75,7 @@
75
75
  v-else
76
76
  >
77
77
  <template
78
- v-for="item in $props.values"
78
+ v-for="item in props.values"
79
79
  >
80
80
  <slot
81
81
  name="item"
@@ -92,12 +92,14 @@
92
92
  </template>
93
93
 
94
94
  <script lang="ts">
95
- import { computed, defineComponent, PropType } from "vue";
95
+ import type { PropType } from "vue";
96
+ import { computed, defineComponent } from "vue";
96
97
 
97
- import { ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
98
+ import type { ColorBase} from "@dative-gpi/foundation-shared-components/models";
99
+ import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
98
100
  import { useColors } from "@dative-gpi/foundation-shared-components/composables";
99
101
  import { sizeToVar } from "@dative-gpi/foundation-shared-components/utils";
100
- import { FSToggle } from "@dative-gpi/foundation-shared-components/models";
102
+ import type { FSToggle } from "@dative-gpi/foundation-shared-components/models";
101
103
 
102
104
  import FSOptionItem from "./FSOptionItem.vue";
103
105
  import FSSlideGroup from "./FSSlideGroup.vue";
@@ -202,14 +204,15 @@ export default defineComponent({
202
204
  const { getColors } = useColors();
203
205
 
204
206
  const lights = getColors(ColorEnum.Light);
205
-
207
+ const backgrounds = getColors(ColorEnum.Background);
206
208
  const colors = getColors(props.optionColor);
207
209
 
208
210
  const style = computed((): { [key: string] : string | null | undefined } => {
209
211
  return {
210
- "--fs-option-group-border-size" : props.border ? "1px" : "0",
211
- "--fs-option-group-border-radius": sizeToVar(props.borderRadius),
212
- "--fs-option-group-border-color" : lights.base
212
+ "--fs-option-group-background-color": backgrounds.base,
213
+ "--fs-option-group-border-size" : props.border ? "1px" : "0",
214
+ "--fs-option-group-border-radius" : sizeToVar(props.borderRadius),
215
+ "--fs-option-group-border-color" : lights.base
213
216
  };
214
217
  });
215
218
 
@@ -289,6 +292,7 @@ export default defineComponent({
289
292
  };
290
293
 
291
294
  return {
295
+ props,
292
296
  style,
293
297
  getVariant,
294
298
  getColor,
@@ -52,9 +52,11 @@
52
52
  </template>
53
53
 
54
54
  <script lang="ts">
55
- import { computed, defineComponent, PropType } from "vue";
55
+ import type { PropType } from "vue";
56
+ import { computed, defineComponent } from "vue";
56
57
 
57
- import { ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
58
+ import type { ColorBase} from "@dative-gpi/foundation-shared-components/models";
59
+ import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
58
60
  import { sizeToVar, varToSize } from "@dative-gpi/foundation-shared-components/utils";
59
61
  import { useColors } from "@dative-gpi/foundation-shared-components/composables";
60
62
 
@@ -16,9 +16,11 @@
16
16
  </template>
17
17
 
18
18
  <script lang="ts">
19
- import { computed, defineComponent, PropType } from "vue";
19
+ import type { PropType } from "vue";
20
+ import { computed, defineComponent } from "vue";
20
21
 
21
- import { ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
22
+ import type { ColorBase} from "@dative-gpi/foundation-shared-components/models";
23
+ import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
22
24
  import { useColors } from "@dative-gpi/foundation-shared-components/composables";
23
25
  import { sizeToVar } from "@dative-gpi/foundation-shared-components/utils";
24
26
 
@@ -59,10 +59,12 @@
59
59
  </template>
60
60
 
61
61
  <script lang="ts">
62
- import { computed, defineComponent, PropType } from "vue";
62
+ import type { PropType } from "vue";
63
+ import { computed, defineComponent } from "vue";
63
64
 
64
65
  import { useColors, useRules } from "@dative-gpi/foundation-shared-components/composables";
65
- import { ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
66
+ import type { ColorBase} from "@dative-gpi/foundation-shared-components/models";
67
+ import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
66
68
 
67
69
  import FSIcon from "./FSIcon.vue";
68
70
  import FSSpan from "./FSSpan.vue";
@@ -29,9 +29,11 @@
29
29
  </template>
30
30
 
31
31
  <script lang="ts">
32
- import { defineComponent, PropType } from "vue";
32
+ import type { PropType } from "vue";
33
+ import { defineComponent } from "vue";
33
34
 
34
- import { ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
35
+ import type { ColorBase} from "@dative-gpi/foundation-shared-components/models";
36
+ import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
35
37
 
36
38
  import FSRadio from "./FSRadio.vue";
37
39
  import FSCol from "./FSCol.vue";
@@ -71,11 +73,11 @@ export default defineComponent({
71
73
  },
72
74
  emits: ["update:modelValue"],
73
75
  setup(props, { emit }) {
74
- const isSelected = (item: String | Boolean | Number): boolean => {
76
+ const isSelected = (item: string | boolean | number): boolean => {
75
77
  return item == props.modelValue;
76
78
  };
77
79
 
78
- const onToggle = (item: String | Boolean | Number): void => {
80
+ const onToggle = (item: string | boolean | number): void => {
79
81
  if (item != props.modelValue) {
80
82
  emit("update:modelValue", item);
81
83
  }
@@ -9,7 +9,8 @@
9
9
  </template>
10
10
 
11
11
  <script lang="ts">
12
- import { computed, defineComponent, PropType } from "vue";
12
+ import type { PropType } from "vue";
13
+ import { computed, defineComponent } from "vue";
13
14
 
14
15
  import { sizeToVar } from "@dative-gpi/foundation-shared-components/utils";
15
16
 
@@ -40,7 +40,8 @@
40
40
  </template>
41
41
 
42
42
  <script lang="ts">
43
- import { computed, defineComponent, onMounted, onUnmounted, PropType, ref } from "vue";
43
+ import type { PropType} from "vue";
44
+ import { computed, defineComponent, onMounted, onUnmounted, ref } from "vue";
44
45
 
45
46
  import { useColors, useSlots } from "@dative-gpi/foundation-shared-components/composables";
46
47
  import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
@@ -64,9 +64,11 @@
64
64
  </template>
65
65
 
66
66
  <script lang="ts">
67
- import { computed, defineComponent, PropType } from "vue";
67
+ import type { PropType } from "vue";
68
+ import { computed, defineComponent } from "vue";
68
69
 
69
- import { ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
70
+ import type { ColorBase} from "@dative-gpi/foundation-shared-components/models";
71
+ import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
70
72
  import { useColors } from "@dative-gpi/foundation-shared-components/composables";
71
73
 
72
74
  import FSSpan from "./FSSpan.vue";
@@ -11,7 +11,8 @@
11
11
  </template>
12
12
 
13
13
  <script lang="ts">
14
- import { computed, defineComponent, PropType } from "vue";
14
+ import type { PropType } from "vue";
15
+ import { computed, defineComponent } from "vue";
15
16
 
16
17
  import { useSlots } from "@dative-gpi/foundation-shared-components/composables";
17
18
 
@@ -20,17 +20,19 @@
20
20
  />
21
21
  <slot>
22
22
  <FSSpan
23
- v-if="$props.label"
24
- class="fs-switch-label"
25
- :style="style"
26
- :font="font"
27
- @click.stop="onToggle"
23
+ v-if="$props.label"
24
+ class="fs-switch-label"
25
+ :style="style"
26
+ :font="font"
27
+ @click.stop="onToggle"
28
28
  >
29
29
  {{ $props.label }}
30
30
  </FSSpan>
31
31
  </slot>
32
32
  </FSRow>
33
- <slot name="description">
33
+ <slot
34
+ name="description"
35
+ >
34
36
  <FSSpan
35
37
  v-if="$props.description"
36
38
  class="fs-switch-description"
@@ -44,10 +46,12 @@
44
46
  </template>
45
47
 
46
48
  <script lang="ts">
47
- import { computed, defineComponent, PropType } from "vue";
49
+ import type { PropType } from "vue";
50
+ import { computed, defineComponent } from "vue";
48
51
 
49
52
  import { useColors, useRules } from "@dative-gpi/foundation-shared-components/composables";
50
- import { ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
53
+ import type { ColorBase} from "@dative-gpi/foundation-shared-components/models";
54
+ import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
51
55
 
52
56
  import FSSpan from "./FSSpan.vue";
53
57
  import FSCol from "./FSCol.vue";
@@ -55,9 +55,11 @@
55
55
  </template>
56
56
 
57
57
  <script lang="ts">
58
- import { defineComponent, PropType } from "vue";
58
+ import type { PropType } from "vue";
59
+ import { defineComponent } from "vue";
59
60
 
60
- import { ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
61
+ import type { ColorBase} from "@dative-gpi/foundation-shared-components/models";
62
+ import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
61
63
 
62
64
  import FSSpan from "./FSSpan.vue";
63
65
  import FSIcon from "./FSIcon.vue";
@@ -22,10 +22,12 @@
22
22
  </template>
23
23
 
24
24
  <script lang="ts">
25
- import { computed, defineComponent, PropType } from "vue";
25
+ import type { PropType } from "vue";
26
+ import { computed, defineComponent } from "vue";
26
27
 
27
28
  import { useColors, useSlots } from "@dative-gpi/foundation-shared-components/composables";
28
- import { ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
29
+ import type { ColorBase} from "@dative-gpi/foundation-shared-components/models";
30
+ import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
29
31
 
30
32
  export default defineComponent({
31
33
  name: "FSTabs",
@@ -7,7 +7,9 @@
7
7
  :wrap="false"
8
8
  v-bind="$attrs"
9
9
  >
10
- <slot v-bind="{ color: $props.color, colors }">
10
+ <slot
11
+ v-bind="{ color: $props.color, colors }"
12
+ >
11
13
  <FSSpan
12
14
  v-if="$props.label"
13
15
  class="fs-tag-label"
@@ -15,7 +17,10 @@
15
17
  {{ $props.label }}
16
18
  </FSSpan>
17
19
  </slot>
18
- <slot name="button" v-bind="{ color: $props.color, colors }">
20
+ <slot
21
+ name="button"
22
+ v-bind="{ color: $props.color, colors }"
23
+ >
19
24
  <v-btn
20
25
  v-if="$props.editable"
21
26
  class="fs-tag-button"
@@ -33,9 +38,11 @@
33
38
  </template>
34
39
 
35
40
  <script lang="ts">
36
- import { computed, defineComponent, PropType } from "vue";
41
+ import type { PropType } from "vue";
42
+ import { computed, defineComponent } from "vue";
37
43
 
38
- import { ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
44
+ import type { ColorBase} from "@dative-gpi/foundation-shared-components/models";
45
+ import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
39
46
  import { useColors } from "@dative-gpi/foundation-shared-components/composables";
40
47
 
41
48
  import FSIcon from "./FSIcon.vue";
@@ -32,9 +32,11 @@
32
32
  </template>
33
33
 
34
34
  <script lang="ts">
35
- import { defineComponent, PropType } from "vue";
35
+ import type { PropType } from "vue";
36
+ import { defineComponent } from "vue";
36
37
 
37
- import { ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
38
+ import type { ColorBase} from "@dative-gpi/foundation-shared-components/models";
39
+ import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
38
40
 
39
41
  import FSWrapGroup from "./FSWrapGroup.vue";
40
42
  import FSTag from "./FSTag.vue";
@@ -11,10 +11,12 @@
11
11
  </template>
12
12
 
13
13
  <script lang="ts">
14
- import { computed, defineComponent, PropType } from "vue";
14
+ import type { PropType } from "vue";
15
+ import { computed, defineComponent } from "vue";
15
16
 
16
17
  import { useColors, useSlots } from "@dative-gpi/foundation-shared-components/composables";
17
- import { ColorBase, ColorEnum } from "@dative-gpi/foundation-shared-components/models";
18
+ import type { ColorBase} from "@dative-gpi/foundation-shared-components/models";
19
+ import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
18
20
 
19
21
  export default defineComponent({
20
22
  name: "FSText",
@@ -94,9 +94,11 @@
94
94
  </template>
95
95
 
96
96
  <script lang="ts">
97
- import { defineComponent, PropType, ref } from "vue";
97
+ import type { PropType} from "vue";
98
+ import { defineComponent, ref } from "vue";
98
99
 
99
- import { ColorBase, ColorEnum, FSToggle } from "@dative-gpi/foundation-shared-components/models";
100
+ import type { ColorBase, FSToggle } from "@dative-gpi/foundation-shared-components/models";
101
+ import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
100
102
 
101
103
  import FSSlideGroup from "./FSSlideGroup.vue";
102
104
  import FSWrapGroup from "./FSWrapGroup.vue";
@@ -3,11 +3,22 @@
3
3
  class="fs-tooltip"
4
4
  location="top"
5
5
  >
6
- <template #activator="{ props }">
7
- <slot name="activator" v-bind="props" />
6
+ <template
7
+ #activator="{ props }"
8
+ >
9
+ <slot
10
+ name="activator"
11
+ v-bind="props"
12
+ />
8
13
  </template>
9
- <template v-for="(_, name) in $slots" v-slot:[name]="slotData">
10
- <slot :name="name" v-bind="slotData" />
14
+ <template
15
+ v-for="(_, name) in $slots"
16
+ v-slot:[name]="slotData"
17
+ >
18
+ <slot
19
+ :name="name"
20
+ v-bind="slotData"
21
+ />
11
22
  </template>
12
23
  </v-tooltip>
13
24
  </template>
@@ -27,7 +27,8 @@
27
27
  </template>
28
28
 
29
29
  <script lang="ts">
30
- import { computed, defineComponent, PropType, VNode } from "vue";
30
+ import type { PropType, VNode } from "vue";
31
+ import { computed, defineComponent } from "vue";
31
32
 
32
33
  import { useSlots } from "@dative-gpi/foundation-shared-components/composables";
33
34
  import { sizeToVar } from "@dative-gpi/foundation-shared-components/utils";
@@ -19,7 +19,8 @@
19
19
  </template>
20
20
 
21
21
  <script lang="ts">
22
- import { computed, defineComponent, onMounted, onUnmounted, PropType, ref } from "vue";
22
+ import type { PropType} from "vue";
23
+ import { computed, defineComponent, onMounted, onUnmounted, ref } from "vue";
23
24
 
24
25
  import { useColors, useSlots } from "@dative-gpi/foundation-shared-components/composables";
25
26
  import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
@@ -49,14 +49,14 @@
49
49
  </template>
50
50
 
51
51
  <script lang="ts">
52
- import { computed, defineComponent, PropType } from "vue"
52
+ import type { PropType } from "vue";
53
+ import { computed, defineComponent } from "vue"
53
54
 
54
55
  import { useAutocomplete } from "@dative-gpi/foundation-shared-components/composables";
55
56
  import { useLanguages } from "@dative-gpi/foundation-shared-services/composables";
56
- import { LanguageFilters } from "@dative-gpi/foundation-shared-domain/models";
57
+ import type { LanguageFilters } from "@dative-gpi/foundation-shared-domain/models";
57
58
 
58
59
  import FSAutocompleteField from "../fields/FSAutocompleteField.vue";
59
- import FSCheckbox from "../FSCheckbox.vue";
60
60
  import FSIcon from "../FSIcon.vue";
61
61
  import FSSpan from "../FSSpan.vue";
62
62
  import FSRow from "../FSRow.vue";
@@ -65,7 +65,6 @@ export default defineComponent({
65
65
  name: "FSAutocompleteLanguage",
66
66
  components: {
67
67
  FSAutocompleteField,
68
- FSCheckbox,
69
68
  FSIcon,
70
69
  FSSpan,
71
70
  FSRow
@@ -65,9 +65,10 @@
65
65
  </template>
66
66
 
67
67
  <script lang="ts">
68
- import { computed, defineComponent, PropType } from "vue";
68
+ import type { PropType } from "vue";
69
+ import { computed, defineComponent } from "vue";
69
70
 
70
- import { TimeZoneFilters, TimeZoneInfos } from "@dative-gpi/foundation-shared-domain/models";
71
+ import type { TimeZoneFilters, TimeZoneInfos } from "@dative-gpi/foundation-shared-domain/models";
71
72
  import { useAutocomplete } from "@dative-gpi/foundation-shared-components/composables";
72
73
  import { useTimeZones } from "@dative-gpi/foundation-shared-services/composables";
73
74
  import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
@@ -51,8 +51,8 @@ export default defineComponent({
51
51
  const input = ref<HTMLFormElement | null>(null);
52
52
 
53
53
  const clear = (): void => {
54
- if (input.value) {
55
- input.value.form && input.value.form.reset();
54
+ if (input.value && input.value.form) {
55
+ input.value.form.reset();
56
56
  }
57
57
  };
58
58
 
@@ -51,8 +51,8 @@ export default defineComponent({
51
51
  const input = ref<HTMLFormElement | null>(null);
52
52
 
53
53
  const clear = (): void => {
54
- if (input.value) {
55
- input.value.form && input.value.form.reset();
54
+ if (input.value && input.value.form) {
55
+ input.value.form.reset();
56
56
  }
57
57
  };
58
58
 
@@ -50,8 +50,8 @@ export default defineComponent({
50
50
  const input = ref<HTMLFormElement | null>(null);
51
51
 
52
52
  const clear = (): void => {
53
- if (input.value) {
54
- input.value.form && input.value.form.reset();
53
+ if (input.value && input.value.form) {
54
+ input.value.form.reset();
55
55
  }
56
56
  };
57
57
 
@@ -55,8 +55,8 @@ export default defineComponent({
55
55
  const input = ref<HTMLFormElement | null>(null);
56
56
 
57
57
  const clear = (): void => {
58
- if (input.value) {
59
- input.value.form && input.value.form.reset();
58
+ if (input.value && input.value.form) {
59
+ input.value.form.reset();
60
60
  }
61
61
  };
62
62
 
@@ -24,9 +24,10 @@
24
24
  </template>
25
25
 
26
26
  <script lang="ts">
27
- import { defineComponent, PropType, ref } from "vue";
27
+ import type { PropType} from "vue";
28
+ import { defineComponent, ref } from "vue";
28
29
 
29
- import { FSDeviceConnectivity } from "@dative-gpi/foundation-shared-components/models";
30
+ import type { FSDeviceConnectivity } from "@dative-gpi/foundation-shared-components/models";
30
31
 
31
32
  import FSConnectivityCard from "./FSConnectivityCard.vue";
32
33
  import FSColorIcon from "../FSColorIcon.vue";
@@ -55,9 +55,10 @@
55
55
  </template>
56
56
 
57
57
  <script lang="ts">
58
- import { computed, defineComponent, PropType } from "vue";
58
+ import type { PropType } from "vue";
59
+ import { computed, defineComponent } from "vue";
59
60
 
60
- import { FSDeviceConnectivity } from "@dative-gpi/foundation-shared-components/models";
61
+ import type { FSDeviceConnectivity } from "@dative-gpi/foundation-shared-components/models";
61
62
  import { useAppTimeZone } from "@dative-gpi/foundation-shared-services/composables";
62
63
 
63
64
  import { connectivityLabel } from "../../utils";
@@ -25,9 +25,10 @@
25
25
  </template>
26
26
 
27
27
  <script lang="ts">
28
- import { defineComponent, PropType, ref } from "vue";
28
+ import type { PropType} from "vue";
29
+ import { defineComponent, ref } from "vue";
29
30
 
30
- import { FSDeviceStatusGroup, FSModelStatus } from "@dative-gpi/foundation-shared-components/models";
31
+ import type { FSDeviceStatusGroup, FSModelStatus } from "@dative-gpi/foundation-shared-components/models";
31
32
 
32
33
  import FSStatusCard from "./FSStatusCard.vue";
33
34
  import FSColorIcon from "../FSColorIcon.vue";
@@ -67,9 +67,10 @@
67
67
  </template>
68
68
 
69
69
  <script lang="ts">
70
- import { computed, defineComponent, PropType } from "vue";
70
+ import type { PropType } from "vue";
71
+ import { computed, defineComponent } from "vue";
71
72
 
72
- import { FSDeviceStatusGroup, FSModelStatus } from "@dative-gpi/foundation-shared-components/models";
73
+ import type { FSDeviceStatusGroup, FSModelStatus } from "@dative-gpi/foundation-shared-components/models";
73
74
  import { useAppTimeZone } from "@dative-gpi/foundation-shared-services/composables";
74
75
 
75
76
  import FSButton from "../FSButton.vue";
@@ -39,9 +39,10 @@
39
39
  </template>
40
40
 
41
41
  <script lang="ts">
42
- import { defineComponent, PropType, ref } from "vue";
42
+ import type { PropType} from "vue";
43
+ import { defineComponent, ref } from "vue";
43
44
 
44
- import { FSDeviceStatus, FSDeviceStatusGroup, FSModelStatus } from "@dative-gpi/foundation-shared-components/models";
45
+ import type { FSDeviceStatus, FSDeviceStatusGroup, FSModelStatus } from "@dative-gpi/foundation-shared-components/models";
45
46
  import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
46
47
 
47
48
  import FSButton from "../FSButton.vue";
@@ -27,9 +27,10 @@
27
27
  </template>
28
28
 
29
29
  <script lang="ts">
30
- import { defineComponent, PropType } from "vue";
30
+ import type { PropType } from "vue";
31
+ import { defineComponent } from "vue";
31
32
 
32
- import { FSDeviceAlert, FSDeviceConnectivity, FSDeviceStatus, FSDeviceStatusGroup, FSModelStatus } from "@dative-gpi/foundation-shared-components/models";
33
+ import type { FSDeviceAlert, FSDeviceConnectivity, FSDeviceStatus, FSDeviceStatusGroup, FSModelStatus } from "@dative-gpi/foundation-shared-components/models";
33
34
  import { ConnectivityStatus } from "@dative-gpi/foundation-shared-domain/models";
34
35
 
35
36
  import FSConnectivity from "./FSConnectivity.vue";
@@ -29,10 +29,11 @@
29
29
  </template>
30
30
 
31
31
  <script lang="ts">
32
- import { computed, defineComponent, PropType, ref } from "vue";
32
+ import type { PropType} from "vue";
33
+ import { computed, defineComponent, ref } from "vue";
33
34
 
34
35
  import { AlertStatus, Criticity } from "@dative-gpi/foundation-shared-domain/models";
35
- import { FSDeviceAlert } from "@dative-gpi/foundation-shared-components/models";
36
+ import type { FSDeviceAlert } from "@dative-gpi/foundation-shared-components/models";
36
37
  import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
37
38
 
38
39
  import FSWorstAlertCard from "./FSWorstAlertCard.vue";