@dative-gpi/foundation-shared-components 0.0.229 → 0.1.68
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.
- package/components/FSAccordionPanel.vue +8 -10
- package/components/FSBadge.vue +2 -4
- package/components/FSBreadcrumbs.vue +9 -10
- package/components/FSButton.vue +81 -31
- package/components/FSCalendar.vue +35 -33
- package/components/FSCalendarTwin.vue +77 -84
- package/components/FSCard.vue +29 -16
- package/components/FSCardPlaceholder.vue +1 -2
- package/components/FSCheckbox.vue +5 -7
- package/components/FSChip.vue +9 -11
- package/components/FSClickable.vue +67 -57
- package/components/FSClock.vue +4 -4
- package/components/FSCol.vue +2 -3
- package/components/FSColor.vue +13 -31
- package/components/FSColorIcon.vue +25 -9
- package/components/FSDialog.vue +1 -2
- package/components/FSDialogFormBody.vue +4 -4
- package/components/FSDialogMenu.vue +2 -4
- package/components/FSDialogMultiFormBody.vue +63 -50
- package/components/FSDialogRemove.vue +1 -0
- package/components/FSDialogSubmit.vue +5 -7
- package/components/FSDivider.vue +7 -9
- package/components/FSEditImage.vue +27 -274
- package/components/FSEditImageUI.vue +303 -0
- package/components/FSErrorToast.vue +3 -4
- package/components/FSFadeOut.vue +18 -13
- package/components/FSGrid.vue +6 -9
- package/components/FSGridMosaic.vue +1 -2
- package/components/FSIcon.vue +7 -8
- package/components/FSIconCard.vue +23 -30
- package/components/FSIconCheck.vue +1 -2
- package/components/FSImage.vue +21 -193
- package/components/FSImageCard.vue +2 -2
- package/components/FSImageUI.vue +212 -0
- package/components/FSLabel.vue +18 -20
- package/components/FSLink.vue +19 -21
- package/components/FSLoader.vue +10 -14
- package/components/FSOptionGroup.vue +58 -12
- package/components/FSPagination.vue +3 -5
- package/components/FSRadio.vue +5 -7
- package/components/FSRadioGroup.vue +2 -4
- package/components/FSRow.vue +3 -4
- package/components/FSSlideGroup.vue +15 -4
- package/components/FSSlider.vue +9 -11
- package/components/FSSpan.vue +11 -9
- package/components/FSSwitch.vue +65 -37
- package/components/FSTab.vue +2 -4
- package/components/FSTabs.vue +36 -16
- package/components/FSTag.vue +23 -14
- package/components/FSTagGroup.vue +3 -5
- package/components/FSText.vue +8 -12
- package/components/FSWindow.vue +11 -5
- package/components/FSWrapGroup.vue +15 -4
- package/components/agenda/FSAgenda.vue +204 -0
- package/components/agenda/FSAgendaDialogCalendar.vue +76 -0
- package/components/agenda/FSAgendaHeader.vue +190 -0
- package/components/agenda/FSAgendaHorizontalEvent.vue +162 -0
- package/components/agenda/FSAgendaHorizontalTimeLineMarker.vue +46 -0
- package/components/agenda/FSAgendaHoursCol.vue +103 -0
- package/components/agenda/FSAgendaHoursRow.vue +124 -0
- package/components/agenda/FSAgendaVerticalEvent.vue +160 -0
- package/components/agenda/FSAgendaVerticalTimeLineMarker.vue +46 -0
- package/components/agenda/FSDayAgenda.vue +200 -0
- package/components/agenda/FSMonthAgenda.vue +257 -0
- package/components/agenda/FSSelectAgendaMode.vue +54 -0
- package/components/agenda/FSWeekAgenda.vue +328 -0
- package/components/autocompletes/FSAutocompleteLanguage.vue +18 -39
- package/components/autocompletes/FSAutocompleteTimeZone.vue +20 -38
- package/components/buttons/FSButtonCancelMini.vue +1 -0
- package/components/buttons/FSButtonCopy.vue +28 -0
- package/components/buttons/FSButtonCopyIcon.vue +28 -0
- package/components/buttons/FSButtonCopyLabel.vue +27 -0
- package/components/buttons/FSButtonCopyMini.vue +28 -0
- package/components/buttons/FSButtonDragIcon.vue +27 -0
- package/components/buttons/FSButtonDuplicateMini.vue +1 -0
- package/components/buttons/FSButtonEditMini.vue +1 -0
- package/components/buttons/FSButtonFileMini.vue +1 -0
- package/components/buttons/FSButtonNextMini.vue +1 -0
- package/components/buttons/FSButtonPreviousMini.vue +1 -0
- package/components/buttons/FSButtonRedoMini.vue +1 -0
- package/components/buttons/FSButtonRemoveMini.vue +1 -0
- package/components/buttons/FSButtonSaveMini.vue +1 -0
- package/components/buttons/FSButtonSearchMini.vue +1 -0
- package/components/buttons/FSButtonUndoMini.vue +1 -0
- package/components/buttons/FSButtonUpdateMini.vue +1 -0
- package/components/buttons/FSButtonValidateMini.vue +1 -0
- package/components/deviceOrganisations/FSConnectivity.vue +11 -1
- package/components/deviceOrganisations/FSConnectivityCard.vue +20 -49
- package/components/deviceOrganisations/FSStatus.vue +11 -1
- package/components/deviceOrganisations/FSStatusCard.vue +40 -60
- package/components/deviceOrganisations/FSStatusesCarousel.vue +1 -0
- package/components/deviceOrganisations/FSStatusesRow.vue +10 -5
- package/components/deviceOrganisations/FSWorstAlert.vue +19 -13
- package/components/deviceOrganisations/FSWorstAlertCard.vue +36 -47
- package/components/fields/FSAutocompleteField.vue +501 -323
- package/components/fields/FSAutocompleteTag.vue +100 -0
- package/components/fields/FSBaseField.vue +26 -16
- package/components/fields/FSColorField.vue +63 -55
- package/components/fields/FSCommentField.vue +93 -0
- package/components/fields/FSDateField.vue +2 -2
- package/components/fields/FSDateRangeField.vue +2 -2
- package/components/fields/FSDateTimeField.vue +4 -3
- package/components/fields/FSDateTimeRangeField.vue +7 -6
- package/components/fields/FSEntityFieldUI.vue +271 -0
- package/components/fields/FSGradientField.vue +27 -33
- package/components/fields/FSIconField.vue +2 -3
- package/components/fields/FSMagicConfigField.vue +28 -19
- package/components/fields/FSMagicField.vue +25 -17
- package/components/fields/FSNumberField.vue +9 -7
- package/components/fields/FSPasswordField.vue +2 -3
- package/components/fields/FSRichTextField.vue +32 -5
- package/components/fields/FSSearchField.vue +2 -2
- package/components/fields/FSSelectField.vue +483 -251
- package/components/fields/FSTagField.vue +4 -6
- package/components/fields/FSTermField.vue +25 -13
- package/components/fields/FSTextArea.vue +18 -6
- package/components/fields/FSTextField.vue +13 -10
- package/components/fields/FSTimeField.vue +1 -1
- package/components/fields/FSTimeSlotField.vue +3 -4
- package/components/fields/FSTimeStepField.vue +157 -0
- package/components/fields/FSTranslateField.vue +3 -2
- package/components/fields/FSTranslateRichTextField.vue +4 -3
- package/components/fields/FSTranslateTextArea.vue +233 -0
- package/components/fields/FSTreeViewField.vue +7 -9
- package/components/fields/periodicField/FSPeriodicDailyField.vue +120 -0
- package/components/fields/periodicField/FSPeriodicField.vue +131 -0
- package/components/fields/periodicField/FSPeriodicMonthlyField.vue +222 -0
- package/components/fields/periodicField/FSPeriodicWeeklyField.vue +120 -0
- package/components/fields/periodicField/FSPeriodicYearlyField.vue +144 -0
- package/components/lists/FSDataIteratorItem.vue +8 -10
- package/components/lists/FSDataTableUI.vue +47 -39
- package/components/lists/FSFilterButton.vue +20 -22
- package/components/lists/FSHiddenButton.vue +10 -12
- package/components/lists/FSLoadDataTable.vue +4 -6
- package/components/lists/FSSimpleList.vue +229 -0
- package/components/map/FSMap.vue +256 -405
- package/components/map/FSMapFeatureGroup.vue +51 -0
- package/components/map/FSMapLayerButton.vue +6 -3
- package/components/map/FSMapMarker.vue +116 -0
- package/components/map/FSMapMarkerClusterGroup.vue +72 -0
- package/components/map/FSMapOverlay.vue +69 -83
- package/components/map/FSMapPolygon.vue +81 -0
- package/components/map/FSMapTileLayer.vue +50 -0
- package/components/map/keys.ts +4 -0
- package/components/selects/FSSelectAutoRefresh.vue +1 -1
- package/components/selects/FSSelectDashboardVariableType.vue +1 -1
- package/components/selects/FSSelectDateSetting.vue +3 -3
- package/components/selects/FSSelectDays.vue +1 -1
- package/components/selects/FSSelectListMode.vue +51 -0
- package/components/selects/FSSelectMonths.vue +67 -0
- package/components/tiles/FSChartTileUI.vue +116 -0
- package/components/tiles/FSCommentTileUI.vue +149 -0
- package/components/tiles/FSDashboardOrganisationTileUI.vue +6 -8
- package/components/tiles/FSDashboardOrganisationTypeTileUI.vue +6 -8
- package/components/tiles/FSDashboardShallowTileUI.vue +6 -8
- package/components/tiles/FSDeviceOrganisationTileUI.vue +30 -18
- package/components/tiles/FSFolderTileUI.vue +6 -6
- package/components/tiles/FSGroupTileUI.vue +31 -22
- package/components/tiles/FSLoadTile.vue +5 -7
- package/components/tiles/FSLocationTileUI.vue +157 -0
- package/components/tiles/FSModelTileUI.vue +18 -0
- package/components/tiles/FSServiceAccountOrganisationTileUI.vue +142 -0
- package/components/tiles/FSSimpleTileUI.vue +57 -36
- package/components/tiles/FSTile.vue +115 -55
- package/components/tiles/FSUserOrganisationTileUI.vue +25 -35
- package/components/toggleSets/FSToggleSetPosition.vue +1 -1
- package/components/views/FSEntityHeader.vue +343 -0
- package/components/views/FSEntityView.vue +163 -0
- package/components/views/FSListHeader.vue +83 -0
- package/components/views/FSListView.vue +83 -0
- package/components/views/FSSkeletonView.vue +100 -0
- package/composables/useAddress.ts +2 -2
- package/composables/useColors.ts +15 -5
- package/composables/useMagicFieldProvider.ts +7 -6
- package/composables/useSlots.ts +51 -28
- package/models/agenda.ts +9 -0
- package/models/deviceAlerts.ts +1 -1
- package/models/deviceConnectivities.ts +1 -1
- package/models/index.ts +1 -0
- package/models/magicFields.ts +1 -0
- package/models/map.ts +2 -2
- package/models/rules.ts +10 -5
- package/models/tables.ts +3 -1
- package/package.json +4 -4
- package/styles/components/fs_agenda.scss +32 -0
- package/styles/components/fs_agenda_event.scss +41 -0
- package/styles/components/fs_agenda_hours_col.scss +4 -0
- package/styles/components/fs_agenda_hours_row.scss +13 -0
- package/styles/components/fs_agenda_time_line_marker.scss +19 -0
- package/styles/components/fs_card.scss +0 -1
- package/styles/components/fs_clickable.scss +5 -3
- package/styles/components/fs_color_field.scss +1 -0
- package/styles/components/fs_data_table.scss +2 -0
- package/styles/components/fs_dialog.scss +11 -15
- package/styles/components/fs_edit_image.scss +8 -0
- package/styles/components/fs_fade_out.scss +2 -1
- package/styles/components/fs_filter_button.scss +1 -6
- package/styles/components/fs_gradient_field.scss +11 -11
- package/styles/components/fs_magic_config_field.scss +2 -2
- package/styles/components/fs_map.scss +36 -30
- package/styles/components/fs_option_group.scss +15 -5
- package/styles/components/fs_radio.scss +11 -0
- package/styles/components/fs_rich_text_field.scss +2 -1
- package/styles/components/fs_search_field.scss +3 -0
- package/styles/components/fs_select_date_settings.scss +3 -0
- package/styles/components/fs_slide_group.scss +5 -0
- package/styles/components/fs_span.scss +2 -1
- package/styles/components/fs_switch.scss +1 -0
- package/styles/components/fs_tabs.scss +9 -0
- package/styles/components/fs_text_area.scss +15 -1
- package/styles/components/fs_tile.scss +22 -6
- package/styles/components/fs_window.scss +5 -0
- package/styles/components/fs_wrap_group.scss +4 -0
- package/styles/components/index.scss +6 -1
- package/styles/globals/overrides.scss +22 -19
- package/styles/globals/text_fonts.scss +17 -55
- package/tools/alertsTools.ts +54 -0
- package/tools/chartsTools.ts +300 -0
- package/tools/index.ts +2 -0
- package/utils/badge.ts +9 -0
- package/utils/filter.ts +18 -0
- package/utils/index.ts +2 -0
- package/utils/leafletMarkers.ts +8 -2
- package/utils/statuses.ts +1 -1
- package/utils/time.ts +27 -1
- package/components/autocompletes/FSAutocompleteTag.vue +0 -138
- package/components/map/FSMapEditPointAddressOverlay.vue +0 -164
- package/styles/components/fs_map_overlay.scss +0 -38
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
.fs-gradient-field-select > .v-input__control > .v-field {
|
|
2
|
+
display: flex;
|
|
1
3
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
4
|
+
& > .v-field__prepend-inner {
|
|
5
|
+
flex: 1;
|
|
6
|
+
}
|
|
7
7
|
|
|
8
|
-
.
|
|
9
|
-
|
|
10
|
-
> span {
|
|
11
|
-
height: 12px;
|
|
12
|
-
background: var(--fs-gradient-field-background) !important;
|
|
13
|
-
width: 100%;
|
|
8
|
+
& > .v-field__field {
|
|
9
|
+
flex: 0;
|
|
14
10
|
}
|
|
15
11
|
}
|
|
16
12
|
|
|
13
|
+
.fs-gradient-field-preview {
|
|
14
|
+
background: var(--fs-gradient-field-background) !important;
|
|
15
|
+
min-width: 100%;
|
|
16
|
+
}
|
|
@@ -5,53 +5,54 @@
|
|
|
5
5
|
|
|
6
6
|
.fs-leaflet-container {
|
|
7
7
|
width: 100%;
|
|
8
|
-
height:
|
|
8
|
+
height: 100%;
|
|
9
9
|
filter: grayscale(var(--fs-map-container-grayscale));
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.fs-map-overlay-
|
|
12
|
+
.fs-map-overlay-mobile {
|
|
13
13
|
position: absolute;
|
|
14
|
-
|
|
14
|
+
bottom: 0;
|
|
15
|
+
left: 0;
|
|
15
16
|
right: 0;
|
|
16
|
-
|
|
17
|
-
margin:
|
|
17
|
+
width: 100%;
|
|
18
|
+
margin: 0;
|
|
19
|
+
transition: height 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
18
20
|
}
|
|
19
21
|
|
|
20
|
-
.fs-map-overlay-
|
|
22
|
+
.fs-map-overlay-desktop {
|
|
23
|
+
position: absolute;
|
|
24
|
+
top: 0;
|
|
25
|
+
left: 0;
|
|
26
|
+
margin: 12px;
|
|
27
|
+
max-height: calc(100% - 24px);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.fs-map-layer-button {
|
|
21
31
|
position: absolute;
|
|
22
32
|
top: 0;
|
|
23
33
|
right: 0;
|
|
24
|
-
margin:
|
|
34
|
+
margin: 12px;
|
|
25
35
|
}
|
|
26
36
|
|
|
27
|
-
.fs-map-
|
|
37
|
+
.fs-map-control-buttons {
|
|
28
38
|
position: absolute;
|
|
29
39
|
bottom: 0;
|
|
30
40
|
right: 0;
|
|
31
|
-
|
|
32
|
-
margin:
|
|
33
|
-
width: calc(100% - 16px);
|
|
34
|
-
|
|
41
|
+
margin: 12px;
|
|
42
|
+
margin-bottom: calc(12px + var(--fs-map-control-buttons-margin-bottom));
|
|
35
43
|
|
|
36
|
-
.fs-map-zoom-
|
|
37
|
-
|
|
38
|
-
bottom:
|
|
39
|
-
right: 0;
|
|
40
|
-
z-index: 1001;
|
|
41
|
-
margin-bottom: calc(var(--fs-map-leaflet-bottom-overlay-margin) + 8px);
|
|
44
|
+
.fs-map-zoom-plus-button > * {
|
|
45
|
+
border-bottom-left-radius: 0 !important;
|
|
46
|
+
border-bottom-right-radius: 0 !important;
|
|
42
47
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
border-bottom-right-radius: 0 !important;
|
|
46
|
-
}
|
|
48
|
+
border-bottom: 0px !important;
|
|
49
|
+
}
|
|
47
50
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
border-top-right-radius: 0 !important;
|
|
51
|
+
.fs-map-zoom-minus-button > * {
|
|
52
|
+
border-top-left-radius: 0 !important;
|
|
53
|
+
border-top-right-radius: 0 !important;
|
|
52
54
|
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
+
border-top: 0px !important;
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
|
|
@@ -76,6 +77,11 @@
|
|
|
76
77
|
}
|
|
77
78
|
}
|
|
78
79
|
|
|
80
|
+
.fs-map-point-pin {
|
|
81
|
+
background-color: var(--fs-map-point-pin-color);
|
|
82
|
+
border-radius: 100%;
|
|
83
|
+
}
|
|
84
|
+
|
|
79
85
|
.fs-map-location > div {
|
|
80
86
|
display: flex;
|
|
81
87
|
height: 100%;
|
|
@@ -105,11 +111,11 @@
|
|
|
105
111
|
|
|
106
112
|
@keyframes fs-map-shadow-location {
|
|
107
113
|
0% {
|
|
108
|
-
box-shadow: 0 0 0px 0px var(--fs-map-
|
|
114
|
+
box-shadow: 0 0 0px 0px var(--fs-map-location-pin-color-alpha);
|
|
109
115
|
}
|
|
110
116
|
|
|
111
117
|
50% {
|
|
112
|
-
box-shadow: 0 0 0px 7px var(--fs-map-
|
|
118
|
+
box-shadow: 0 0 0px 7px var(--fs-map-location-pin-color-alpha);
|
|
113
119
|
}
|
|
114
120
|
|
|
115
121
|
100% {
|
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
.fs-option-group {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
border-radius: var(--fs-option-group-border-radius) !important;
|
|
3
|
+
border: var(--fs-option-group-border-size) solid !important;
|
|
4
|
+
background-color: var(--fs-option-group-background-color) !important;
|
|
5
|
+
border-color: var(--fs-option-group-border-color) !important;
|
|
6
|
+
width: fit-content;
|
|
7
|
+
}
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
.fs-option-group-full-width {
|
|
10
|
+
border-radius: var(--fs-option-group-border-radius) !important;
|
|
11
|
+
border: var(--fs-option-group-border-size) solid !important;
|
|
12
|
+
background-color: var(--fs-option-group-background-color) !important;
|
|
13
|
+
border-color: var(--fs-option-group-border-color) !important;
|
|
14
|
+
|
|
15
|
+
& > * {
|
|
16
|
+
width: 100% !important;
|
|
17
|
+
}
|
|
8
18
|
}
|
|
@@ -11,4 +11,15 @@
|
|
|
11
11
|
|
|
12
12
|
.fs-radio-description {
|
|
13
13
|
color: var(--fs-radio-color) !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.fs-radio-label .v-input__control {
|
|
17
|
+
@include web {
|
|
18
|
+
height: 40px !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@include mobile {
|
|
22
|
+
height: 36px !important;
|
|
23
|
+
}
|
|
24
|
+
grid-area: 1 / 2 / 3 / 3 !important;
|
|
14
25
|
}
|
|
@@ -25,7 +25,9 @@
|
|
|
25
25
|
&:focus-within {
|
|
26
26
|
border-color: var(--fs-rich-text-field-active-border-color) !important;
|
|
27
27
|
}
|
|
28
|
+
}
|
|
28
29
|
|
|
30
|
+
.fs-rich-text-field-readonly {
|
|
29
31
|
@include web {
|
|
30
32
|
padding: 10px 12px !important;
|
|
31
33
|
}
|
|
@@ -33,7 +35,6 @@
|
|
|
33
35
|
@include mobile {
|
|
34
36
|
padding: 6px 16px !important;
|
|
35
37
|
}
|
|
36
|
-
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
.fs-rich-text-field-undo {
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
.fs-slide-group {
|
|
2
|
+
height: var(--fs-group-height);
|
|
3
|
+
width: var(--fs-group-width);
|
|
4
|
+
max-width: 100%;
|
|
5
|
+
|
|
2
6
|
& > .v-slide-group__container > .v-slide-group__content {
|
|
7
|
+
margin: 0 2px 1px 0 !important;
|
|
3
8
|
padding: var(--fs-group-padding);
|
|
4
9
|
gap: var(--fs-group-gap);
|
|
5
10
|
}
|
|
@@ -4,10 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
@include web {
|
|
6
6
|
height: 48px !important;
|
|
7
|
+
max-height: 48px;
|
|
8
|
+
min-height: 48px;
|
|
7
9
|
}
|
|
8
10
|
|
|
9
11
|
@include mobile {
|
|
10
12
|
height: 40px !important;
|
|
13
|
+
max-height: 40px;
|
|
14
|
+
min-height: 40px;
|
|
11
15
|
}
|
|
12
16
|
}
|
|
13
17
|
|
|
@@ -30,10 +34,14 @@
|
|
|
30
34
|
|
|
31
35
|
@include web {
|
|
32
36
|
height: 48px !important;
|
|
37
|
+
max-height: 48px;
|
|
38
|
+
min-height: 48px;
|
|
33
39
|
}
|
|
34
40
|
|
|
35
41
|
@include mobile {
|
|
36
42
|
height: 40px !important;
|
|
43
|
+
max-height: 40px;
|
|
44
|
+
min-height: 40px;
|
|
37
45
|
}
|
|
38
46
|
}
|
|
39
47
|
|
|
@@ -54,6 +62,7 @@
|
|
|
54
62
|
color: var(--fs-tab-tag-color);
|
|
55
63
|
display: flex;
|
|
56
64
|
align-items: center;
|
|
65
|
+
justify-content: center;
|
|
57
66
|
|
|
58
67
|
@include web {
|
|
59
68
|
min-width: 28px;
|
|
@@ -25,7 +25,9 @@
|
|
|
25
25
|
padding: 0;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
& > .v-field__clearable {
|
|
29
|
+
align-items: flex-start;
|
|
30
|
+
}
|
|
29
31
|
|
|
30
32
|
@include web {
|
|
31
33
|
padding: 11px 16px !important;
|
|
@@ -34,6 +36,10 @@
|
|
|
34
36
|
@include mobile {
|
|
35
37
|
padding: 10px 16px !important;
|
|
36
38
|
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
& > .v-input__append {
|
|
42
|
+
padding-top: 0px;
|
|
37
43
|
}
|
|
38
44
|
}
|
|
39
45
|
|
|
@@ -62,6 +68,10 @@
|
|
|
62
68
|
color: var(--fs-text-area-color);
|
|
63
69
|
padding: 0;
|
|
64
70
|
}
|
|
71
|
+
|
|
72
|
+
& > .v-field__clearable {
|
|
73
|
+
align-items: flex-start;
|
|
74
|
+
}
|
|
65
75
|
|
|
66
76
|
@include web {
|
|
67
77
|
padding: 11px 16px !important;
|
|
@@ -71,4 +81,8 @@
|
|
|
71
81
|
padding: 10px 16px !important;
|
|
72
82
|
}
|
|
73
83
|
}
|
|
84
|
+
|
|
85
|
+
& > .v-input__append {
|
|
86
|
+
padding-top: 0px;
|
|
87
|
+
}
|
|
74
88
|
}
|
|
@@ -1,16 +1,28 @@
|
|
|
1
1
|
.fs-tile {
|
|
2
2
|
position: relative;
|
|
3
|
-
border-bottom-left-radius: 0px !important;
|
|
4
|
-
border-bottom-right-radius: 0px !important;
|
|
5
3
|
}
|
|
6
4
|
|
|
7
5
|
.fs-tile-bottom {
|
|
8
6
|
position: absolute;
|
|
9
|
-
bottom:
|
|
10
|
-
left:
|
|
11
|
-
width:
|
|
7
|
+
bottom: 0px;
|
|
8
|
+
left: 0;
|
|
9
|
+
width: 100%;
|
|
12
10
|
height: 3px;
|
|
13
|
-
|
|
11
|
+
border-bottom-left-radius: 4px;
|
|
12
|
+
border-bottom-right-radius: 4px;
|
|
13
|
+
background: var(--fs-tile-bottom-border-color);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
.fs-tile-left {
|
|
18
|
+
position: absolute;
|
|
19
|
+
top: 0px;
|
|
20
|
+
left: 0px;
|
|
21
|
+
height: 100%;
|
|
22
|
+
width: 3px;
|
|
23
|
+
border-bottom-left-radius: 4px;
|
|
24
|
+
border-top-left-radius: 4px;
|
|
25
|
+
background: var(--fs-tile-left-border-color);
|
|
14
26
|
}
|
|
15
27
|
|
|
16
28
|
.fs-tile-checkbox {
|
|
@@ -30,4 +42,8 @@
|
|
|
30
42
|
width: 32px;
|
|
31
43
|
height: 32px;
|
|
32
44
|
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.fs-location-tile-text-container {
|
|
48
|
+
min-width: 0;
|
|
33
49
|
}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
@import "fs_accordion_panel.scss";
|
|
2
|
+
@import "fs_agenda.scss";
|
|
3
|
+
@import "fs_agenda_event.scss";
|
|
4
|
+
@import "fs_agenda_hours_col.scss";
|
|
5
|
+
@import "fs_agenda_hours_row.scss";
|
|
6
|
+
@import "fs_agenda_time_line_marker.scss";
|
|
2
7
|
@import "fs_autocomplete_field.scss";
|
|
3
8
|
@import "fs_base_field.scss";
|
|
4
9
|
@import "fs_breadcrumbs.scss";
|
|
@@ -38,7 +43,6 @@
|
|
|
38
43
|
@import "fs_load_tile.scss";
|
|
39
44
|
@import "fs_loader.scss";
|
|
40
45
|
@import "fs_magic_config_field.scss";
|
|
41
|
-
@import "fs_map_overlay.scss";
|
|
42
46
|
@import "fs_map.scss";
|
|
43
47
|
@import "fs_meta_field.scss";
|
|
44
48
|
@import "fs_option_group.scss";
|
|
@@ -47,6 +51,7 @@
|
|
|
47
51
|
@import "fs_radio.scss";
|
|
48
52
|
@import "fs_rich_text_field.scss";
|
|
49
53
|
@import "fs_row.scss";
|
|
54
|
+
@import "fs_search_field.scss";
|
|
50
55
|
@import "fs_select_field.scss";
|
|
51
56
|
@import "fs_slide_group.scss";
|
|
52
57
|
@import "fs_slider.scss";
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
// Otherwise a v-progress-circular has the size of its parent and can trigger the vertical scroll when spinning
|
|
7
7
|
.v-progress-circular > svg {
|
|
8
|
-
height: fit-content;
|
|
9
|
-
width: fit-content;
|
|
8
|
+
height: fit-content !important;
|
|
9
|
+
width: fit-content !important;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
// No default hover effect on switches and others, no limited opacity, no limited width...
|
|
@@ -40,13 +40,8 @@
|
|
|
40
40
|
flex: 0 0 auto;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
&:not(.v-checkbox):not(.v-slider):not(.fs-small-input)
|
|
44
|
-
min-width:
|
|
45
|
-
width: 100%;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&.fs-number-field {
|
|
49
|
-
min-width: 80px;
|
|
43
|
+
&:not(.v-checkbox):not(.v-slider):not(.fs-small-input) {
|
|
44
|
+
min-width: var(--fs-base-field-min-width);
|
|
50
45
|
width: 100%;
|
|
51
46
|
}
|
|
52
47
|
|
|
@@ -143,6 +138,24 @@
|
|
|
143
138
|
display: none !important;
|
|
144
139
|
}
|
|
145
140
|
|
|
141
|
+
.v-text-field__suffix {
|
|
142
|
+
padding: 0 8px 0 0 !important;
|
|
143
|
+
|
|
144
|
+
@include web {
|
|
145
|
+
min-height: 38px !important;
|
|
146
|
+
height: 38px !important;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
@include mobile {
|
|
150
|
+
min-height: 34px !important;
|
|
151
|
+
height: 34px !important;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
& > .v-text-field__suffix__text {
|
|
155
|
+
@extend .text-body;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
146
159
|
// Ellipsis on input of all fields
|
|
147
160
|
input {
|
|
148
161
|
text-overflow: ellipsis;
|
|
@@ -169,16 +182,6 @@ $nthOverlay: 25;
|
|
|
169
182
|
}
|
|
170
183
|
}
|
|
171
184
|
|
|
172
|
-
/***** Applies to all slide groups (FSTabs, FSSlideGroup, FSWrapGroup) *****/
|
|
173
|
-
.fs-slide-group {
|
|
174
|
-
max-width: 100%;
|
|
175
|
-
|
|
176
|
-
// To avoid borders clipping
|
|
177
|
-
& > .v-slide-group__container > .v-slide-group__content {
|
|
178
|
-
margin: 0 2px 1px 0 !important;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
185
|
// On touchscreen, hide arrows
|
|
183
186
|
// Otherwise show small ones with base text color
|
|
184
187
|
.v-slide-group__prev,
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
@include mobile {
|
|
17
|
-
font-size:
|
|
17
|
+
font-size: 28px !important;
|
|
18
18
|
line-height: 32px !important;
|
|
19
|
-
letter-spacing: -1.
|
|
19
|
+
letter-spacing: -1.4px !important;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
font-weight: 600 !important;
|
|
27
27
|
|
|
28
28
|
@include web {
|
|
29
|
-
font-size:
|
|
29
|
+
font-size: 26px !important;
|
|
30
30
|
line-height: 32px !important;
|
|
31
|
-
letter-spacing: -0.
|
|
31
|
+
letter-spacing: -0.78px !important;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
@include mobile {
|
|
@@ -44,34 +44,16 @@
|
|
|
44
44
|
font-weight: 600 !important;
|
|
45
45
|
|
|
46
46
|
@include web {
|
|
47
|
-
font-size:
|
|
47
|
+
font-size: 20px !important;
|
|
48
48
|
line-height: 24px !important;
|
|
49
|
-
letter-spacing: -0.
|
|
49
|
+
letter-spacing: -0.6px !important;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
@include mobile {
|
|
53
|
-
font-size: 17px !important;
|
|
54
|
-
line-height: 20px !important;
|
|
55
|
-
letter-spacing: -0.51px !important;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.text-h4 {
|
|
60
|
-
font-family: 'Montserrat', sans-serif !important;
|
|
61
|
-
font-style: normal !important;
|
|
62
|
-
font-weight: 500 !important;
|
|
63
|
-
|
|
64
|
-
@include web {
|
|
65
53
|
font-size: 16px !important;
|
|
66
54
|
line-height: 20px !important;
|
|
67
55
|
letter-spacing: -0.48px !important;
|
|
68
56
|
}
|
|
69
|
-
|
|
70
|
-
@include mobile {
|
|
71
|
-
font-size: 14px !important;
|
|
72
|
-
line-height: 16px !important;
|
|
73
|
-
letter-spacing: -0.41px !important;
|
|
74
|
-
}
|
|
75
57
|
}
|
|
76
58
|
|
|
77
59
|
.text-body {
|
|
@@ -82,14 +64,14 @@
|
|
|
82
64
|
|
|
83
65
|
@include web {
|
|
84
66
|
font-size: 14px !important;
|
|
85
|
-
line-height:
|
|
86
|
-
letter-spacing: -0.
|
|
67
|
+
line-height: 20px !important;
|
|
68
|
+
letter-spacing: -0.42px !important;
|
|
87
69
|
}
|
|
88
70
|
|
|
89
71
|
@include mobile {
|
|
90
72
|
font-size: 12px !important;
|
|
91
|
-
line-height:
|
|
92
|
-
letter-spacing: -0.
|
|
73
|
+
line-height: 16px !important;
|
|
74
|
+
letter-spacing: -0.36px !important;
|
|
93
75
|
}
|
|
94
76
|
}
|
|
95
77
|
|
|
@@ -101,52 +83,32 @@
|
|
|
101
83
|
|
|
102
84
|
@include web {
|
|
103
85
|
font-size: 14px !important;
|
|
104
|
-
line-height:
|
|
105
|
-
letter-spacing: -0.
|
|
86
|
+
line-height: 20px !important;
|
|
87
|
+
letter-spacing: -0.42px !important;
|
|
106
88
|
}
|
|
107
89
|
|
|
108
90
|
@include mobile {
|
|
109
|
-
font-size: 12px !important;
|
|
110
|
-
line-height: 14px !important;
|
|
111
|
-
letter-spacing: -0.39px !important;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.text-overline {
|
|
116
|
-
font-family: 'Montserrat', sans-serif !important;
|
|
117
|
-
font-style: normal !important;
|
|
118
|
-
text-transform: none !important;
|
|
119
|
-
|
|
120
|
-
@include web {
|
|
121
|
-
font-weight: 600 !important;
|
|
122
91
|
font-size: 12px !important;
|
|
123
92
|
line-height: 16px !important;
|
|
124
|
-
letter-spacing: 0.
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
@include mobile {
|
|
128
|
-
font-weight: 500 !important;
|
|
129
|
-
font-size: 10px !important;
|
|
130
|
-
line-height: 16px !important;
|
|
131
|
-
letter-spacing: 0.19px !important;
|
|
93
|
+
letter-spacing: -0.36px !important;
|
|
132
94
|
}
|
|
133
95
|
}
|
|
134
96
|
|
|
135
|
-
.text-
|
|
97
|
+
.text-overline {
|
|
136
98
|
font-family: 'Montserrat', sans-serif !important;
|
|
137
99
|
font-style: normal !important;
|
|
138
|
-
font-weight: 500 !important;
|
|
139
100
|
text-transform: none !important;
|
|
101
|
+
font-weight: 600 !important;
|
|
140
102
|
|
|
141
103
|
@include web {
|
|
142
104
|
font-size: 12px !important;
|
|
143
105
|
line-height: 16px !important;
|
|
144
|
-
letter-spacing: 0
|
|
106
|
+
letter-spacing: 0 !important;
|
|
145
107
|
}
|
|
146
108
|
|
|
147
109
|
@include mobile {
|
|
148
110
|
font-size: 10px !important;
|
|
149
111
|
line-height: 16px !important;
|
|
150
|
-
letter-spacing: 0
|
|
112
|
+
letter-spacing: 0 !important;
|
|
151
113
|
}
|
|
152
114
|
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { useTranslations as useTranslationsProvider } from "@dative-gpi/bones-ui/composables";
|
|
2
|
+
import { AlertStatus, Criticity } from "@dative-gpi/foundation-shared-domain/enums";
|
|
3
|
+
import { ColorEnum } from "@dative-gpi/foundation-shared-components/models"
|
|
4
|
+
|
|
5
|
+
const { $tr } = useTranslationsProvider();
|
|
6
|
+
|
|
7
|
+
export const AlertTools = {
|
|
8
|
+
statusIcon(value: AlertStatus): string {
|
|
9
|
+
switch (value) {
|
|
10
|
+
case AlertStatus.Pending: return "mdi-timer-outline";
|
|
11
|
+
case AlertStatus.Untriggered: return "mdi-timer-off-outline";
|
|
12
|
+
case AlertStatus.Unresolved: return "mdi-alert-circle-outline";
|
|
13
|
+
case AlertStatus.Resolved: return "mdi-check-circle-outline";
|
|
14
|
+
case AlertStatus.Expired: return "mdi-clock-outline";
|
|
15
|
+
case AlertStatus.Triggered: return "mdi-alert-circle-outline";
|
|
16
|
+
case AlertStatus.Abandoned: return "mdi-cancel"
|
|
17
|
+
default: return "";
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
statusLabel(value: AlertStatus): string {
|
|
21
|
+
switch (value) {
|
|
22
|
+
case AlertStatus.Pending: return $tr("ui.alert.pending", "Pending");
|
|
23
|
+
case AlertStatus.Untriggered: return $tr("ui.alert.untriggered", "Untriggered");
|
|
24
|
+
case AlertStatus.Unresolved: return $tr("ui.alert.unresolved", "Unresolved");
|
|
25
|
+
case AlertStatus.Resolved: return $tr("ui.alert.resolved", "Resolved");
|
|
26
|
+
case AlertStatus.Expired: return $tr("ui.alert.expired", "Expired");
|
|
27
|
+
case AlertStatus.Triggered: return $tr("ui.alert.triggered", "Triggered");
|
|
28
|
+
case AlertStatus.Abandoned: return $tr("ui.alert.abandoned", "Abandoned");
|
|
29
|
+
default: return "";
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
criticityColor(value: Criticity): ColorEnum {
|
|
33
|
+
switch (value) {
|
|
34
|
+
case Criticity.Warning: return ColorEnum.Warning;
|
|
35
|
+
case Criticity.Error: return ColorEnum.Error;
|
|
36
|
+
case Criticity.Information: return ColorEnum.Primary;
|
|
37
|
+
default: return ColorEnum.Light;
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
criticityIcon(value: Criticity): string {
|
|
41
|
+
switch (value) {
|
|
42
|
+
case Criticity.Warning: return "mdi-alert-outline";
|
|
43
|
+
case Criticity.Error: return "mdi-alert-circle-outline";
|
|
44
|
+
default: return "mdi-information-outline";
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
criticityLabel(value: Criticity): string {
|
|
48
|
+
switch (value) {
|
|
49
|
+
case Criticity.Warning: return $tr("ui.alert.warning", "Warning");
|
|
50
|
+
case Criticity.Error: return $tr("ui.alert.error", "Error");
|
|
51
|
+
default: return $tr("ui.alert.information", "Information");
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|