@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,32 +1,3 @@
1
- .fs-chip-container {
2
- text-decoration: none;
3
- }
4
-
5
1
  .fs-chip {
6
2
  user-select: none;
7
- transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
8
- background-color: var(--fs-chip-background-color) !important;
9
- border: 1px solid var(--fs-chip-border-color) !important;
10
- height: var(--fs-chip-height) !important;
11
- color: var(--fs-chip-color) !important;
12
- border-radius: 50px !important;
13
- padding: 2px 20px !important;
14
- }
15
-
16
- .fs-chip-clickable {
17
- cursor: pointer !important;
18
-
19
- &:active {
20
- background-color: var(--fs-chip-active-background-color) !important;
21
- border-color: var(--fs-chip-active-border-color) !important;
22
- color: var(--fs-chip-active-color) !important;
23
- }
24
-
25
- @include clickscreen {
26
- &:hover {
27
- background-color: var(--fs-chip-hover-background-color) !important;
28
- border-color: var(--fs-chip-hover-border-color) !important;
29
- color: var(--fs-chip-hover-color) !important;
30
- }
31
- }
32
3
  }
@@ -1,5 +1,10 @@
1
1
  .fs-filter-button-menu {
2
- width: 300px;
2
+ max-width: 400px;
3
+ overflow: hidden;
4
+ }
5
+
6
+ .fs-filter-button-menu * {
7
+ min-width: 0;
3
8
  }
4
9
 
5
10
  .fs-filter-button-chip {
@@ -27,12 +27,18 @@
27
27
  transition: height 0.28s cubic-bezier(0.4, 0, 0.2, 1);
28
28
  }
29
29
 
30
- .fs-map-overlay-desktop {
30
+ .fs-map-overlay-desktop {
31
31
  position: absolute;
32
32
  top: 0;
33
33
  left: 0;
34
34
  margin: 12px;
35
35
  max-height: calc(100% - 24px);
36
+ display: flex;
37
+ flex-direction: column;
38
+
39
+ .fs-card {
40
+ min-height: 0;
41
+ }
36
42
  }
37
43
 
38
44
  .fs-map-layer-button {
@@ -1,14 +1,70 @@
1
- .fs-progress-bar-gradient {
1
+ .fs-progress-bar-wrapper {
2
2
  flex: 1;
3
- background-color: var(--progress-bar-background-color);
3
+ display: flex;
4
+ flex-direction: column;
5
+ gap: 2px;
6
+ }
7
+
8
+ .fs-progress-bar-track {
9
+ position: relative;
10
+ background-color: var(--progress-bar-background);
4
11
  height: 8px;
5
12
  border-radius: 4px;
6
13
 
7
- div {
8
- transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
14
+ .fs-progress-bar-fill {
15
+ position: absolute;
9
16
  height: 100%;
10
- background: linear-gradient(to right, var(--progress-bar-gradient-start-color) 0%, var(--progress-bar-gradient-end-color) var(--progress-bar-total-relative-width));
11
- width: var(--progress-bar-gradient-width);
17
+ left: var(--progress-bar-fill-left);
18
+ width: var(--progress-bar-fill-width);
19
+ background: linear-gradient(
20
+ to right,
21
+ var(--progress-bar-gradient-start) var(--progress-bar-gradient-start-stop),
22
+ var(--progress-bar-gradient-end) var(--progress-bar-gradient-end-stop)
23
+ );
12
24
  border-radius: 4px;
25
+ transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
26
+ }
27
+
28
+ .fs-progress-bar-cursor {
29
+ position: absolute;
30
+ top: 50%;
31
+ left: var(--progress-bar-cursor-position);
32
+ width: 14px;
33
+ height: 14px;
34
+ border-radius: 50%;
35
+ background: linear-gradient(
36
+ to right,
37
+ var(--progress-bar-gradient-start),
38
+ var(--progress-bar-gradient-end)
39
+ );
40
+ transform: translate(-50%, -50%);
41
+ transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
42
+
43
+ .fs-progress-bar-cursor-label {
44
+ position: absolute;
45
+ top: calc(100% + 4px);
46
+ left: 50%;
47
+ transform: translateX(-50%);
48
+ white-space: nowrap;
49
+ pointer-events: none;
50
+ }
51
+ }
52
+ }
53
+
54
+ .fs-progress-bar-labels {
55
+ position: relative;
56
+ height: 16px;
57
+
58
+ .fs-progress-bar-label {
59
+ position: absolute;
60
+ transform: translateX(-50%);
61
+
62
+ &.fs-progress-bar-label--start {
63
+ transform: translateX(0);
64
+ }
65
+
66
+ &.fs-progress-bar-label--end {
67
+ transform: translateX(-100%);
68
+ }
13
69
  }
14
70
  }
@@ -0,0 +1,7 @@
1
+ .fs-snackbar {
2
+ .v-snackbar__wrapper {
3
+ border-radius: var(--fs-snackbar-border-radius);
4
+ background-color: var(--fs-snackbar-background-color);
5
+ color: var(--fs-snackbar-color);
6
+ }
7
+ }
@@ -12,12 +12,10 @@
12
12
  @import "fs_card.scss";
13
13
  @import "fs_checkbox.scss";
14
14
  @import "fs_chip.scss";
15
- @import "fs_clickable.scss";
16
15
  @import "fs_clock.scss";
17
16
  @import "fs_col.scss";
18
17
  @import "fs_color_field.scss";
19
18
  @import "fs_color.scss";
20
- @import "fs_color_icon.scss";
21
19
  @import "fs_data_table.scss";
22
20
  @import "fs_dialog_menu.scss";
23
21
  @import "fs_dialog.scss";
@@ -53,6 +51,7 @@
53
51
  @import "fs_select_field.scss";
54
52
  @import "fs_slide_group.scss";
55
53
  @import "fs_slider.scss";
54
+ @import "fs_snackbar.scss";
56
55
  @import "fs_span.scss";
57
56
  @import "fs_status_rich_card.scss";
58
57
  @import "fs_switch.scss";
@@ -175,7 +175,7 @@ $nthOverlay: 25;
175
175
  color: var(--fs-group-color);
176
176
  min-width: 32px !important;
177
177
  width: 32px !important;
178
- flex: 1 1 0 !important;
178
+ flex: 0 1 32px !important;
179
179
 
180
180
  @include touchscreen {
181
181
  display: none !important;
@@ -1,69 +0,0 @@
1
- .fs-clickable {
2
- border: var(--fs-clickable-border-size) var(--fs-clickable-border-style) !important;
3
- border-radius: var(--fs-clickable-border-radius) !important;
4
- transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
5
- cursor: pointer;
6
-
7
- background-color: var(--fs-clickable-background-color) !important;
8
- border-color: var(--fs-clickable-border-color) !important;
9
- color: var(--fs-clickable-color) !important;
10
-
11
- &.fs-clickable-disabled {
12
- cursor: default;
13
- }
14
-
15
- &:not(.fs-clickable-disabled):active:not(:has( .fs-stopclick:hover)) {
16
- background-color: var(--fs-clickable-active-background-color) !important;
17
- border-color: var(--fs-clickable-active-border-color) !important;
18
- color: var(--fs-clickable-active-color) !important;
19
-
20
- & .fs-card-clickable {
21
- transition: background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
22
- background-color: var(--fs-clickable-active-background-color);
23
- }
24
- }
25
-
26
- @include clickscreen {
27
- &:not(.fs-clickable-disabled):hover:not(:has( .fs-stopclick:hover)) {
28
- background-color: var(--fs-clickable-hover-background-color) !important;
29
- border-color: var(--fs-clickable-hover-border-color) !important;
30
- color: var(--fs-clickable-hover-color) !important;
31
-
32
- & .fs-card-clickable {
33
- transition: background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
34
- background-color: var(--fs-clickable-hover-background-color);
35
- }
36
- }
37
- }
38
- }
39
-
40
- a:has(.fs-clickable) {
41
- position: relative !important;
42
- text-decoration: none;
43
- padding: 0 !important;
44
- height: var(--fs-clickable-height);
45
- width: var(--fs-clickable-width);
46
- }
47
-
48
- button:has(.fs-clickable) {
49
- position: relative;
50
- height: var(--fs-clickable-height);
51
- width: var(--fs-clickable-width);
52
- }
53
-
54
- .fs-clickable-load {
55
- cursor: default;
56
- position: absolute !important;
57
- height: 100% !important;
58
- width: 100% !important;
59
- left: 0;
60
- top: 0;
61
-
62
- & > svg {
63
- height: 24px !important;
64
- }
65
- }
66
-
67
- *:has(~ .fs-clickable-load) > * {
68
- opacity: 0;
69
- }
@@ -1,3 +0,0 @@
1
- .fs-color-icon {
2
- cursor: pointer;
3
- }