@dative-gpi/foundation-shared-components 1.0.66 → 1.0.67-map-edit
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/assets/images/map/snow.png +0 -0
- package/components/FSAccordionPanel.vue +40 -21
- package/components/FSBreadcrumbs.vue +21 -12
- package/components/FSButton.vue +11 -9
- package/components/FSCalendar.vue +50 -12
- package/components/FSCalendarTwin.vue +95 -43
- package/components/FSCard.vue +61 -9
- package/components/FSCardPlaceholder.vue +8 -5
- package/components/FSCheckbox.vue +5 -4
- package/components/FSChip.vue +73 -45
- package/components/FSChipGroup.vue +69 -0
- package/components/FSClickable.vue +11 -9
- package/components/FSClock.vue +30 -12
- package/components/FSCol.vue +11 -5
- package/components/FSDialog.vue +2 -1
- package/components/FSDialogContent.vue +12 -11
- package/components/FSDialogForm.vue +22 -2
- package/components/FSDialogFormBody.vue +50 -31
- package/components/FSDialogMenu.vue +17 -8
- package/components/FSDialogMultiFormBody.vue +23 -13
- package/components/FSDialogRemove.vue +7 -8
- package/components/FSDialogSubmit.vue +20 -11
- package/components/FSEditImageUI.vue +13 -5
- package/components/FSFadeOut.vue +53 -21
- package/components/FSForm.vue +10 -8
- package/components/FSGrid.vue +0 -1
- package/components/FSIcon.vue +2 -2
- package/components/FSIconCard.vue +68 -12
- package/components/FSInformationsMenu.vue +142 -0
- package/components/FSInstantPicker.vue +268 -0
- package/components/FSLink.vue +25 -9
- package/components/FSLoader.vue +28 -10
- package/components/FSMenu.vue +47 -0
- package/components/FSOptionGroup.vue +8 -8
- package/components/FSOptionItem.vue +4 -4
- package/components/FSOptionsMenu.vue +165 -0
- package/components/FSPagination.vue +1 -1
- package/components/FSPlayButtons.vue +72 -0
- package/components/FSProgressBar.vue +94 -0
- package/components/FSRadio.vue +5 -4
- package/components/FSRadioGroup.vue +3 -3
- package/components/FSRangePicker.vue +275 -0
- package/components/FSRangeSlider.vue +84 -0
- package/components/FSRouterLink.vue +42 -0
- package/components/FSSlideGroup.vue +19 -5
- package/components/FSSlider.vue +44 -79
- package/components/FSSpan.vue +12 -7
- package/components/FSSwitch.vue +44 -48
- package/components/FSTab.vue +15 -13
- package/components/FSTabs.vue +32 -7
- package/components/FSTag.vue +3 -3
- package/components/FSTagGroup.vue +6 -4
- package/components/FSText.vue +11 -7
- package/components/FSToggleSet.vue +7 -7
- package/components/FSWindow.vue +122 -5
- package/components/FSWrapGroup.vue +13 -1
- package/components/agenda/FSAgenda.vue +26 -7
- package/components/agenda/FSAgendaDialogCalendar.vue +2 -2
- package/components/agenda/FSAgendaHeader.vue +35 -10
- package/components/agenda/FSAgendaHorizontalEvent.vue +18 -6
- package/components/agenda/FSAgendaHoursRow.vue +48 -8
- package/components/agenda/FSAgendaVerticalEvent.vue +1 -1
- package/components/agenda/FSDayAgenda.vue +0 -1
- package/components/agenda/FSMonthAgenda.vue +1 -6
- package/components/agenda/FSSelectAgendaMode.vue +2 -2
- package/components/agenda/FSWeekAgenda.vue +5 -10
- package/components/autocompletes/FSAutoCompleteAddress.vue +25 -20
- package/components/autocompletes/FSAutocompleteLanguage.vue +7 -1
- package/components/autocompletes/FSAutocompleteTimeZone.vue +7 -1
- package/components/buttons/FSButtonAdd.vue +1 -1
- package/components/buttons/FSButtonAddLabel.vue +1 -1
- package/components/buttons/FSButtonCancel.vue +1 -1
- package/components/buttons/FSButtonCancelLabel.vue +1 -1
- package/components/buttons/FSButtonCheckbox.vue +4 -4
- package/components/buttons/FSButtonCopy.vue +1 -1
- package/components/buttons/FSButtonCopyLabel.vue +1 -1
- package/components/buttons/FSButtonDuplicate.vue +1 -1
- package/components/buttons/FSButtonDuplicateLabel.vue +1 -1
- package/components/buttons/FSButtonEdit.vue +1 -1
- package/components/buttons/FSButtonEditLabel.vue +1 -1
- package/components/buttons/FSButtonFile.vue +1 -1
- package/components/buttons/FSButtonFileLabel.vue +1 -1
- package/components/buttons/FSButtonNext.vue +1 -1
- package/components/buttons/FSButtonNextLabel.vue +1 -1
- package/components/buttons/FSButtonPrevious.vue +1 -1
- package/components/buttons/FSButtonPreviousLabel.vue +1 -1
- package/components/buttons/FSButtonRedo.vue +1 -1
- package/components/buttons/FSButtonRedoLabel.vue +1 -1
- package/components/buttons/FSButtonRemove.vue +1 -1
- package/components/buttons/FSButtonRemoveLabel.vue +1 -1
- package/components/buttons/FSButtonSave.vue +1 -1
- package/components/buttons/FSButtonSaveLabel.vue +1 -1
- package/components/buttons/FSButtonSearch.vue +1 -1
- package/components/buttons/FSButtonSearchLabel.vue +1 -1
- package/components/buttons/FSButtonUndo.vue +1 -1
- package/components/buttons/FSButtonUndoLabel.vue +1 -1
- package/components/buttons/FSButtonUpdate.vue +1 -1
- package/components/buttons/FSButtonUpdateLabel.vue +1 -1
- package/components/buttons/FSButtonValidate.vue +1 -1
- package/components/buttons/FSButtonValidateLabel.vue +1 -1
- package/components/calendar/FSSimpleCalendar.vue +145 -0
- package/components/calendar/FSSimpleCalendarHeader.vue +60 -0
- package/components/calendar/FSSimpleMonthSelector.vue +138 -0
- package/components/deviceOrganisations/FSConnectivity.vue +5 -3
- package/components/deviceOrganisations/FSStatus.vue +5 -3
- package/components/deviceOrganisations/FSStatusCard.vue +7 -9
- package/components/deviceOrganisations/FSStatusRichCard.vue +171 -0
- package/components/deviceOrganisations/FSWorstAlert.vue +24 -36
- package/components/deviceOrganisations/FSWorstAlertCard.vue +8 -47
- package/components/fields/FSAutocompleteField.vue +85 -82
- package/components/fields/FSAutocompleteTag.vue +1 -1
- package/components/fields/FSBaseField.vue +42 -25
- package/components/fields/FSClosableSearchField.vue +83 -0
- package/components/fields/FSColorField.vue +12 -10
- package/components/fields/FSCommentField.vue +28 -16
- package/components/fields/FSDateField.vue +13 -10
- package/components/fields/FSDateRangeField.vue +6 -5
- package/components/fields/FSDateTimeField.vue +14 -11
- package/components/fields/FSDateTimeRangeDialog.vue +160 -0
- package/components/fields/FSDateTimeRangeField.vue +23 -115
- package/components/fields/FSEntityFieldUI.vue +19 -16
- package/components/fields/FSGradientField.vue +5 -5
- package/components/fields/FSIconField.vue +16 -9
- package/components/fields/FSMagicConfigField.vue +15 -7
- package/components/fields/FSMagicField.vue +7 -2
- package/components/fields/FSNumberField.vue +8 -4
- package/components/fields/FSPasswordField.vue +7 -7
- package/components/fields/FSRichTextField.vue +78 -58
- package/components/fields/FSSearchField.vue +9 -115
- package/components/fields/FSSelectField.vue +69 -71
- package/components/fields/FSTagField.vue +9 -9
- package/components/fields/FSTermField.vue +69 -46
- package/components/fields/FSTextArea.vue +17 -11
- package/components/fields/FSTextField.vue +15 -10
- package/components/fields/FSTimeField.vue +14 -10
- package/components/fields/FSTimeRangeField.vue +310 -0
- package/components/fields/FSTimeStepField.vue +5 -5
- package/components/fields/FSTranslateField.vue +10 -10
- package/components/fields/FSTranslateRichTextField.vue +41 -20
- package/components/fields/FSTranslateTextArea.vue +10 -10
- package/components/fields/FSTreeViewField.vue +15 -13
- package/components/fields/periodicField/FSPeriodicDailyField.vue +7 -7
- package/components/fields/periodicField/FSPeriodicField.vue +15 -15
- package/components/fields/periodicField/FSPeriodicMonthlyField.vue +16 -16
- package/components/fields/periodicField/FSPeriodicWeeklyField.vue +28 -18
- package/components/fields/periodicField/FSPeriodicYearlyField.vue +12 -12
- package/components/lists/FSDataIteratorItem.vue +23 -67
- package/components/lists/FSDataTableUI.vue +198 -123
- package/components/lists/FSDraggable.vue +2 -2
- package/components/lists/FSFilterButton.vue +14 -16
- package/components/lists/FSHeaderButton.vue +11 -9
- package/components/lists/FSHiddenButton.vue +9 -9
- package/components/lists/FSLoadDataTable.vue +10 -7
- package/components/lists/FSSimpleList.vue +95 -88
- package/components/lists/FSSimpleListItem.vue +131 -0
- package/components/map/FSMap.vue +144 -158
- package/components/map/FSMapEditLocationAddress.vue +189 -0
- package/components/map/FSMapFeatureGroup.vue +7 -1
- package/components/map/FSMapLayerButton.vue +4 -3
- package/components/map/FSMapMarker.vue +103 -42
- package/components/map/FSMapMarkerClusterGroup.vue +32 -7
- package/components/map/FSMapOverlay.vue +44 -24
- package/components/map/FSMapPolygon.vue +16 -4
- package/components/map/FSMapTileLayer.vue +26 -9
- package/components/map/layers.ts +0 -0
- package/components/selects/FSSelectAutoRefresh.vue +8 -8
- package/components/selects/FSSelectDashboardVariableType.vue +4 -3
- package/components/selects/FSSelectDateSetting.vue +2 -2
- package/components/selects/FSSelectDays.vue +8 -8
- package/components/selects/FSSelectListMode.vue +2 -2
- package/components/selects/FSSelectMapLayer.vue +68 -0
- package/components/selects/FSSelectMonths.vue +13 -13
- package/components/selects/chartSelectors/FSAggregationSelector.vue +52 -0
- package/components/selects/chartSelectors/FSAxisTypeSelector.vue +49 -0
- package/components/selects/chartSelectors/FSDisplayAsSelector.vue +53 -0
- package/components/selects/chartSelectors/FSFilterTypeSelector.vue +54 -0
- package/components/selects/chartSelectors/FSHeatmapRuleSelector.vue +54 -0
- package/components/selects/chartSelectors/FSOperationOnSelector.vue +53 -0
- package/components/selects/chartSelectors/FSPlanningTypeSelector.vue +53 -0
- package/components/selects/chartSelectors/FSPlotPerSelector.vue +52 -0
- package/components/selects/chartSelectors/FSSelectEntityType.vue +59 -0
- package/components/selects/chartSelectors/FSSerieTypeSelector.vue +53 -0
- package/components/tiles/FSAlertTileUI.vue +90 -0
- package/components/tiles/FSChartTileUI.vue +61 -52
- package/components/tiles/FSCommentTileUI.vue +38 -13
- package/components/tiles/FSDashboardOrganisationTypeTileUI.vue +14 -2
- package/components/tiles/FSDashboardShallowTileUI.vue +14 -2
- package/components/tiles/FSDeviceOrganisationTileUI.vue +0 -6
- package/components/tiles/FSEntityCountBadge.vue +72 -0
- package/components/tiles/FSFolderTileUI.vue +38 -4
- package/components/tiles/FSGroupTileUI.vue +32 -136
- package/components/tiles/FSLoadTile.vue +16 -10
- package/components/tiles/FSLocationTileUI.vue +45 -63
- package/components/tiles/FSServiceAccountOrganisationTileUI.vue +0 -6
- package/components/tiles/FSSimpleTileUI.vue +30 -24
- package/components/tiles/FSTile.vue +46 -39
- package/components/tiles/FSUserOrganisationTileUI.vue +1 -7
- package/components/tiles/FSUserTileUI.vue +119 -0
- package/components/toggleSets/FSToggleSetPosition.vue +1 -1
- package/components/views/FSBaseView.vue +64 -0
- package/components/views/FSEntityView.vue +12 -146
- package/components/views/FSSimpleView.vue +29 -0
- package/components/views/desktop/FSBaseDefaultDesktopView.vue +135 -0
- package/components/views/desktop/FSBaseDesktopView.vue +53 -0
- package/components/views/desktop/FSBaseEntityDesktopView.vue +211 -0
- package/components/views/mobile/FSBaseDefaultMobileView.vue +133 -0
- package/components/views/mobile/FSBaseEntityMobileView.vue +206 -0
- package/components/views/mobile/FSBaseMobileView.vue +53 -0
- package/composables/index.ts +1 -0
- package/composables/useAddress.ts +40 -8
- package/composables/useBreakpoints.ts +40 -4
- package/composables/useColors.ts +16 -7
- package/composables/useMagicFieldProvider.ts +1 -0
- package/composables/useMapLayers.ts +69 -0
- package/composables/useSlots.ts +2 -1
- package/models/colors.ts +2 -1
- package/models/deviceAlerts.ts +1 -0
- package/models/magicFields.ts +1 -0
- package/models/map.ts +12 -10
- package/models/rules.ts +5 -2
- package/models/tables.ts +2 -1
- package/models/variableNode.ts +8 -5
- package/package.json +5 -5
- package/styles/components/fs_agenda.scss +4 -0
- package/styles/components/fs_agenda_event.scss +1 -1
- package/styles/components/fs_agenda_hours_row.scss +0 -8
- package/styles/components/fs_autocomplete_field.scss +0 -13
- package/styles/components/fs_breadcrumbs.scss +18 -36
- package/styles/components/fs_button.scss +7 -5
- package/styles/components/fs_calendar.scss +1 -0
- package/styles/components/fs_card.scss +9 -0
- package/styles/components/fs_chip.scss +13 -7
- package/styles/components/fs_clickable.scss +16 -23
- package/styles/components/fs_clock.scss +0 -10
- package/styles/components/fs_col.scss +1 -1
- package/styles/components/fs_color_field.scss +0 -4
- package/styles/components/fs_data_table.scss +6 -9
- package/styles/components/fs_dialog.scss +4 -10
- package/styles/components/fs_dialog_menu.scss +4 -2
- package/styles/components/fs_draggable.scss +0 -5
- package/styles/components/fs_fade_out.scss +10 -2
- package/styles/components/fs_filter_button.scss +1 -1
- package/styles/components/fs_hidden_button.scss +2 -7
- package/styles/components/fs_image_card.scss +6 -4
- package/styles/components/fs_magic_config_field.scss +1 -2
- package/styles/components/fs_map.scss +57 -17
- package/styles/components/fs_meta_field.scss +3 -5
- package/styles/components/fs_password_field.scss +4 -2
- package/styles/components/fs_progress_bar.scss +14 -0
- package/styles/components/fs_radio.scss +0 -11
- package/styles/components/fs_rich_text_field.scss +1 -10
- package/styles/components/fs_select_field.scss +4 -13
- package/styles/components/fs_slide_group.scss +7 -0
- package/styles/components/fs_slider.scss +0 -40
- package/styles/components/fs_span.scss +13 -5
- package/styles/components/fs_status_rich_card.scss +6 -0
- package/styles/components/fs_tabs.scss +18 -37
- package/styles/components/fs_tag.scss +8 -22
- package/styles/components/fs_text_area.scss +2 -21
- package/styles/components/fs_tile.scss +0 -19
- package/styles/components/fs_window.scss +3 -1
- package/styles/components/fs_wrap_group.scss +7 -0
- package/styles/components/index.scss +2 -6
- package/styles/globals/index.scss +1 -5
- package/styles/globals/overrides.scss +26 -54
- package/styles/globals/scrollbars.scss +8 -0
- package/styles/globals/text_fonts.scss +18 -66
- package/styles/globals/touchscreen.scss +2 -2
- package/tools/alertsTools.ts +94 -18
- package/tools/chartsTools.ts +155 -16
- package/tools/index.ts +3 -1
- package/tools/reportsTools.ts +38 -0
- package/tools/timeRangeTools.ts +125 -0
- package/utils/badge.ts +9 -5
- package/utils/filter.ts +4 -1
- package/utils/index.ts +2 -0
- package/utils/leafletMarkers.ts +4 -4
- package/utils/operations.ts +108 -0
- package/utils/picker.ts +40 -0
- package/utils/sort.ts +2 -2
- package/utils/time.ts +13 -13
- package/components/fields/FSTimeSlotField.vue +0 -250
- package/components/views/FSEntityHeader.vue +0 -343
- package/components/views/FSListHeader.vue +0 -83
- package/components/views/FSListView.vue +0 -83
- package/components/views/FSSkeletonView.vue +0 -100
- package/styles/components/fs_data_iterator_item.scss +0 -33
- package/styles/components/fs_icon_field.scss +0 -12
- package/styles/components/fs_search_field.scss +0 -3
- package/styles/components/fs_tag_field.scss +0 -8
- package/styles/components/fs_time_field.scss +0 -12
- package/styles/components/fs_timeslot_field.scss +0 -12
- package/styles/globals/breakpoints.scss +0 -20
- package/styles/globals/fixes.scss +0 -5
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<FSMenu
|
|
3
|
+
:location="$props.location"
|
|
4
|
+
:closeOnContentClick="true"
|
|
5
|
+
:contained="false"
|
|
6
|
+
minWidth="0"
|
|
7
|
+
v-model="modelValue"
|
|
8
|
+
v-bind="$attrs"
|
|
9
|
+
>
|
|
10
|
+
<template
|
|
11
|
+
#activator="{ props }"
|
|
12
|
+
>
|
|
13
|
+
<slot
|
|
14
|
+
name="activator"
|
|
15
|
+
v-bind="props"
|
|
16
|
+
>
|
|
17
|
+
<FSButton
|
|
18
|
+
v-bind="props"
|
|
19
|
+
:icon="$props.icon"
|
|
20
|
+
:iconSize="$props.iconSize"
|
|
21
|
+
:color="$props.buttonColor"
|
|
22
|
+
:variant="$props.buttonVariant"
|
|
23
|
+
/>
|
|
24
|
+
</slot>
|
|
25
|
+
</template>
|
|
26
|
+
<FSCard
|
|
27
|
+
:maxWidth="$props.maxWidth"
|
|
28
|
+
:width="$props.width"
|
|
29
|
+
padding="2px"
|
|
30
|
+
:border="false"
|
|
31
|
+
:elevation="true"
|
|
32
|
+
align="center-center"
|
|
33
|
+
>
|
|
34
|
+
<slot
|
|
35
|
+
name="content"
|
|
36
|
+
>
|
|
37
|
+
<FSCol
|
|
38
|
+
gap="0px"
|
|
39
|
+
>
|
|
40
|
+
<FSFadeOut
|
|
41
|
+
:scrollOutside="false"
|
|
42
|
+
maxHeight="80dvh"
|
|
43
|
+
>
|
|
44
|
+
<FSClickable
|
|
45
|
+
v-for="(item, index) in $props.items"
|
|
46
|
+
width="100%"
|
|
47
|
+
padding="8px"
|
|
48
|
+
height="40px"
|
|
49
|
+
:key="index"
|
|
50
|
+
:border="false"
|
|
51
|
+
@click="onClickItem(item)"
|
|
52
|
+
>
|
|
53
|
+
<slot
|
|
54
|
+
name="item"
|
|
55
|
+
v-bind="{ item, index }"
|
|
56
|
+
>
|
|
57
|
+
<FSRow
|
|
58
|
+
align="center-left"
|
|
59
|
+
>
|
|
60
|
+
<FSIcon
|
|
61
|
+
v-if="item.icon"
|
|
62
|
+
:icon="item.icon"
|
|
63
|
+
/>
|
|
64
|
+
<FSText
|
|
65
|
+
font="text-body"
|
|
66
|
+
>
|
|
67
|
+
{{ item.label }}
|
|
68
|
+
</FSText>
|
|
69
|
+
</FSRow>
|
|
70
|
+
</slot>
|
|
71
|
+
</FSClickable>
|
|
72
|
+
</FSFadeOut>
|
|
73
|
+
</FSCol>
|
|
74
|
+
</slot>
|
|
75
|
+
</FSCard>
|
|
76
|
+
</FSMenu>
|
|
77
|
+
</template>
|
|
78
|
+
|
|
79
|
+
<script lang="ts">
|
|
80
|
+
import { defineComponent, ref, type PropType } from "vue";
|
|
81
|
+
|
|
82
|
+
import { useColors } from "@dative-gpi/foundation-shared-components/composables";
|
|
83
|
+
|
|
84
|
+
import { ColorEnum, type ColorBase } from '@dative-gpi/foundation-shared-components/models';
|
|
85
|
+
|
|
86
|
+
import FSRow from '@dative-gpi/foundation-shared-components/components/FSRow.vue';
|
|
87
|
+
import FSCol from '@dative-gpi/foundation-shared-components/components/FSCol.vue';
|
|
88
|
+
import FSIcon from '@dative-gpi/foundation-shared-components/components/FSIcon.vue';
|
|
89
|
+
import FSMenu from '@dative-gpi/foundation-shared-components/components/FSMenu.vue';
|
|
90
|
+
import FSCard from '@dative-gpi/foundation-shared-components/components/FSCard.vue';
|
|
91
|
+
import FSText from '@dative-gpi/foundation-shared-components/components/FSText.vue';
|
|
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
|
+
|
|
95
|
+
export default defineComponent({
|
|
96
|
+
name: "FSInformationsMenu",
|
|
97
|
+
components: {
|
|
98
|
+
FSMenu,
|
|
99
|
+
FSCard,
|
|
100
|
+
FSRow,
|
|
101
|
+
FSText,
|
|
102
|
+
FSButton,
|
|
103
|
+
FSCol,
|
|
104
|
+
FSIcon,
|
|
105
|
+
FSClickable
|
|
106
|
+
},
|
|
107
|
+
props: {
|
|
108
|
+
items: {
|
|
109
|
+
type: Array as PropType<{label: string, icon?: string, onClick: () => void, closeOnContentClick?: boolean}[]>,
|
|
110
|
+
default: () => []
|
|
111
|
+
},
|
|
112
|
+
location: {
|
|
113
|
+
type: String,
|
|
114
|
+
default: "bottom"
|
|
115
|
+
},
|
|
116
|
+
width: {
|
|
117
|
+
type: [Array, String, Number] as PropType<string[] | number[] | string | number | null>,
|
|
118
|
+
default: null
|
|
119
|
+
},
|
|
120
|
+
maxWidth: {
|
|
121
|
+
type: [Array, String, Number] as PropType<string[] | number[] | string | number | null>,
|
|
122
|
+
default: "90dvw"
|
|
123
|
+
},
|
|
124
|
+
icon: {
|
|
125
|
+
type: String,
|
|
126
|
+
default: "mdi-dots-horizontal"
|
|
127
|
+
},
|
|
128
|
+
iconSize: {
|
|
129
|
+
type: String,
|
|
130
|
+
default: "18px"
|
|
131
|
+
},
|
|
132
|
+
buttonColor: {
|
|
133
|
+
type: String as PropType<ColorBase>,
|
|
134
|
+
default: ColorEnum.Light
|
|
135
|
+
},
|
|
136
|
+
buttonVariant: {
|
|
137
|
+
type: String as PropType<"standard" | "full" | "icon">,
|
|
138
|
+
required: false,
|
|
139
|
+
default: "icon"
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
emits: ["update:modelValue"],
|
|
143
|
+
setup() {
|
|
144
|
+
const modelValue = ref(false);
|
|
145
|
+
|
|
146
|
+
const { getColors } = useColors();
|
|
147
|
+
|
|
148
|
+
const lightColors = getColors(ColorEnum.Light);
|
|
149
|
+
|
|
150
|
+
const onClickItem = (item: { onClick: () => void, closeOnContentClick?: boolean }) => {
|
|
151
|
+
item.onClick();
|
|
152
|
+
if (item.closeOnContentClick !== false) {
|
|
153
|
+
modelValue.value = false;
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
return {
|
|
158
|
+
ColorEnum,
|
|
159
|
+
modelValue,
|
|
160
|
+
lightColors,
|
|
161
|
+
onClickItem
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
</script>
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<FSRow
|
|
3
|
+
width="hug"
|
|
4
|
+
gap="4px"
|
|
5
|
+
>
|
|
6
|
+
<FSClickable
|
|
7
|
+
variant="full"
|
|
8
|
+
:color="ColorEnum.Light"
|
|
9
|
+
borderRadius="50%"
|
|
10
|
+
padding="2px"
|
|
11
|
+
@click="$emit('click:backward')"
|
|
12
|
+
>
|
|
13
|
+
<FSIcon
|
|
14
|
+
size="18px"
|
|
15
|
+
icon="mdi-skip-backward"
|
|
16
|
+
/>
|
|
17
|
+
</FSClickable>
|
|
18
|
+
<FSClickable
|
|
19
|
+
variant="full"
|
|
20
|
+
:color="ColorEnum.Light"
|
|
21
|
+
borderRadius="50%"
|
|
22
|
+
padding="2px"
|
|
23
|
+
@click="$emit('update:modelValue', !$props.modelValue)"
|
|
24
|
+
>
|
|
25
|
+
<FSIcon
|
|
26
|
+
size="18px"
|
|
27
|
+
:icon="$props.modelValue ? 'mdi-pause' : 'mdi-play'"
|
|
28
|
+
/>
|
|
29
|
+
</FSClickable>
|
|
30
|
+
<FSClickable
|
|
31
|
+
variant="full"
|
|
32
|
+
:color="ColorEnum.Light"
|
|
33
|
+
borderRadius="50%"
|
|
34
|
+
padding="2px"
|
|
35
|
+
@click="$emit('click:forward')"
|
|
36
|
+
>
|
|
37
|
+
<FSIcon
|
|
38
|
+
size="18px"
|
|
39
|
+
icon="mdi-skip-forward"
|
|
40
|
+
/>
|
|
41
|
+
</FSClickable>
|
|
42
|
+
</FSRow>
|
|
43
|
+
</template>
|
|
44
|
+
|
|
45
|
+
<script lang="ts">
|
|
46
|
+
import { defineComponent } from "vue";
|
|
47
|
+
|
|
48
|
+
import { ColorEnum } from '@dative-gpi/foundation-shared-components/models';
|
|
49
|
+
|
|
50
|
+
import FSIcon from '@dative-gpi/foundation-shared-components/components/FSIcon.vue';
|
|
51
|
+
import FSClickable from '@dative-gpi/foundation-shared-components/components/FSClickable.vue';
|
|
52
|
+
|
|
53
|
+
export default defineComponent({
|
|
54
|
+
name: "FSPlayButtons",
|
|
55
|
+
components: {
|
|
56
|
+
FSClickable,
|
|
57
|
+
FSIcon
|
|
58
|
+
},
|
|
59
|
+
props: {
|
|
60
|
+
modelValue: {
|
|
61
|
+
type: Boolean,
|
|
62
|
+
required: true,
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
emits: ['update:modelValue', 'click:backward', 'click:forward'],
|
|
66
|
+
setup() {
|
|
67
|
+
return {
|
|
68
|
+
ColorEnum
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
});
|
|
72
|
+
</script>
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<FSRow
|
|
3
|
+
align="center-center"
|
|
4
|
+
:style="style"
|
|
5
|
+
>
|
|
6
|
+
<div
|
|
7
|
+
class="fs-progress-bar-gradient"
|
|
8
|
+
>
|
|
9
|
+
<div></div>
|
|
10
|
+
</div>
|
|
11
|
+
<FSText
|
|
12
|
+
v-if="$props.showValue"
|
|
13
|
+
font="text-button"
|
|
14
|
+
>
|
|
15
|
+
{{ fixedRate }}%
|
|
16
|
+
</FSText>
|
|
17
|
+
</FSRow>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script lang="ts">
|
|
21
|
+
import { computed, defineComponent, type StyleValue } from "vue";
|
|
22
|
+
|
|
23
|
+
import { useColors } from '@dative-gpi/foundation-shared-components/composables';
|
|
24
|
+
|
|
25
|
+
import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
|
|
26
|
+
|
|
27
|
+
import FSRow from '@dative-gpi/foundation-shared-components/components/FSRow.vue';
|
|
28
|
+
import FSText from '@dative-gpi/foundation-shared-components/components/FSText.vue';
|
|
29
|
+
|
|
30
|
+
export default defineComponent({
|
|
31
|
+
name: "FSProgressBar",
|
|
32
|
+
components: {
|
|
33
|
+
FSText,
|
|
34
|
+
FSRow
|
|
35
|
+
},
|
|
36
|
+
props: {
|
|
37
|
+
modelValue: {
|
|
38
|
+
type: Number,
|
|
39
|
+
required: true
|
|
40
|
+
},
|
|
41
|
+
startColor: {
|
|
42
|
+
type: String,
|
|
43
|
+
required: false
|
|
44
|
+
},
|
|
45
|
+
endColor: {
|
|
46
|
+
type: String,
|
|
47
|
+
required: false
|
|
48
|
+
},
|
|
49
|
+
showValue: {
|
|
50
|
+
type: Boolean,
|
|
51
|
+
required: false,
|
|
52
|
+
default: true
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
setup(props) {
|
|
56
|
+
const { getColors } = useColors();
|
|
57
|
+
|
|
58
|
+
const lightColors = getColors(ColorEnum.Light);
|
|
59
|
+
const successColors = getColors(ColorEnum.Success);
|
|
60
|
+
const errorColors = getColors(ColorEnum.Error);
|
|
61
|
+
|
|
62
|
+
const fixedRate = computed(() => {
|
|
63
|
+
return (props.modelValue * 100).toFixed(0);
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
const relativeWidth = computed(() => {
|
|
67
|
+
return props.modelValue ? 100 / props.modelValue : 0;
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
const startColor = computed(() => {
|
|
71
|
+
return props.startColor ?? errorColors.base;
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
const endColor = computed(() => {
|
|
75
|
+
return props.endColor ?? successColors.base;
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
const style = computed((): StyleValue => {
|
|
79
|
+
return {
|
|
80
|
+
'--progress-bar-background-color': lightColors.dark,
|
|
81
|
+
'--progress-bar-gradient-start-color': startColor.value,
|
|
82
|
+
'--progress-bar-gradient-end-color': endColor.value,
|
|
83
|
+
'--progress-bar-gradient-width': `min(100%, ${fixedRate.value}%)`,
|
|
84
|
+
'--progress-bar-total-relative-width': `${relativeWidth.value}%`
|
|
85
|
+
};
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
return {
|
|
89
|
+
style,
|
|
90
|
+
fixedRate
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
});
|
|
94
|
+
</script>
|
package/components/FSRadio.vue
CHANGED
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
v-if="$props.description"
|
|
51
51
|
class="fs-radio-description"
|
|
52
52
|
font="text-overline"
|
|
53
|
+
:lineClamp="2"
|
|
53
54
|
:style="style"
|
|
54
55
|
>
|
|
55
56
|
{{ $props.description }}
|
|
@@ -117,10 +118,10 @@ export default defineComponent({
|
|
|
117
118
|
required: false,
|
|
118
119
|
default: null
|
|
119
120
|
},
|
|
120
|
-
|
|
121
|
+
disabled: {
|
|
121
122
|
type: Boolean,
|
|
122
123
|
required: false,
|
|
123
|
-
default:
|
|
124
|
+
default: false
|
|
124
125
|
}
|
|
125
126
|
},
|
|
126
127
|
emits: ["update:modelValue"],
|
|
@@ -134,7 +135,7 @@ export default defineComponent({
|
|
|
134
135
|
const darks = getColors(ColorEnum.Dark);
|
|
135
136
|
|
|
136
137
|
const style = computed((): StyleValue => {
|
|
137
|
-
if (
|
|
138
|
+
if (props.disabled) {
|
|
138
139
|
return {
|
|
139
140
|
"--fs-radio-cursor" : "default",
|
|
140
141
|
"--fs-radio-radio-color": props.selected ? colors.value.light : lights.base,
|
|
@@ -162,7 +163,7 @@ export default defineComponent({
|
|
|
162
163
|
const messages = computed((): string[] => props.messages ?? getMessages(props.modelValue, props.rules));
|
|
163
164
|
|
|
164
165
|
const onToggle = (): void => {
|
|
165
|
-
if (
|
|
166
|
+
if (props.disabled) {
|
|
166
167
|
return;
|
|
167
168
|
}
|
|
168
169
|
if (!props.selected) {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
v-for="(item, index) in $props.values"
|
|
8
8
|
:selected="isSelected(item.value)"
|
|
9
9
|
:description="item.description"
|
|
10
|
-
:
|
|
10
|
+
:disabled="$props.disabled"
|
|
11
11
|
:color="$props.color"
|
|
12
12
|
:label="item.label"
|
|
13
13
|
:item="item.item"
|
|
@@ -63,10 +63,10 @@ export default defineComponent({
|
|
|
63
63
|
required: false,
|
|
64
64
|
default: ColorEnum.Primary
|
|
65
65
|
},
|
|
66
|
-
|
|
66
|
+
disabled: {
|
|
67
67
|
type: Boolean,
|
|
68
68
|
required: false,
|
|
69
|
-
default:
|
|
69
|
+
default: false
|
|
70
70
|
},
|
|
71
71
|
},
|
|
72
72
|
emits: ["update:modelValue"],
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<FSBaseField
|
|
3
|
+
:description="$props.description"
|
|
4
|
+
:hideHeader="$props.hideHeader"
|
|
5
|
+
:required="$props.required"
|
|
6
|
+
:disabled="$props.disabled"
|
|
7
|
+
:label="$props.label"
|
|
8
|
+
:maxWidth="$props.maxWidth"
|
|
9
|
+
>
|
|
10
|
+
<FSRow
|
|
11
|
+
align="bottom-center"
|
|
12
|
+
gap="32px"
|
|
13
|
+
>
|
|
14
|
+
<FSTermField
|
|
15
|
+
width="430px"
|
|
16
|
+
:label="$tr('ui.instant-picker.analyze-period', 'Analyze Period')"
|
|
17
|
+
:startDate="$props.startDate"
|
|
18
|
+
:endDate="$props.endDate"
|
|
19
|
+
:disabled="$props.disabled"
|
|
20
|
+
@update:startDate="$emit('update:startDate', $event)"
|
|
21
|
+
@update:endDate="$emit('update:endDate', $event)"
|
|
22
|
+
/>
|
|
23
|
+
<FSRow
|
|
24
|
+
padding="0 0 2px 0"
|
|
25
|
+
align="center-center"
|
|
26
|
+
>
|
|
27
|
+
<FSCol>
|
|
28
|
+
<FSRangeSlider
|
|
29
|
+
minWidth='min(300px, 90vw)'
|
|
30
|
+
:disabled="$props.disabled"
|
|
31
|
+
:color="ColorEnum.Light"
|
|
32
|
+
:thumbColor="ColorEnum.Primary"
|
|
33
|
+
:trackFillColor="ColorEnum.Primary"
|
|
34
|
+
:trackSize="8"
|
|
35
|
+
thumb-label="always"
|
|
36
|
+
:step="$props.stepTime"
|
|
37
|
+
:min="startTimestamp"
|
|
38
|
+
:max="endTimestamp"
|
|
39
|
+
:hideHeader="true"
|
|
40
|
+
:maxWidth="null"
|
|
41
|
+
:ticks="ticks"
|
|
42
|
+
showTicks="always"
|
|
43
|
+
:modelValue="$props.modelValue"
|
|
44
|
+
@update:modelValue="$emit('update:modelValue', $event)"
|
|
45
|
+
>
|
|
46
|
+
<template
|
|
47
|
+
#thumb-label="{ modelValue }"
|
|
48
|
+
>
|
|
49
|
+
<FSSpan
|
|
50
|
+
font="text-overline"
|
|
51
|
+
>
|
|
52
|
+
{{ epochToMonthShortTimeFormat(modelValue) }}
|
|
53
|
+
</FSSpan>
|
|
54
|
+
</template>
|
|
55
|
+
<template
|
|
56
|
+
#tick-label="{ tick }"
|
|
57
|
+
>
|
|
58
|
+
<FSRow>
|
|
59
|
+
<FSText
|
|
60
|
+
:color="lightColors.dark"
|
|
61
|
+
font="text-overline"
|
|
62
|
+
>
|
|
63
|
+
{{ tickPrecision === TimePrecision.Hours ? epochToShortTimeOnlyFormat(tick.value) : epochToDayMonthShortOnly(tick.value) }}
|
|
64
|
+
</FSText>
|
|
65
|
+
</FSRow>
|
|
66
|
+
</template>
|
|
67
|
+
</FSRangeSlider>
|
|
68
|
+
</FSCol>
|
|
69
|
+
<FSPlayButtons
|
|
70
|
+
v-if="$props.playable"
|
|
71
|
+
:disabled="$props.disabled"
|
|
72
|
+
:modelValue="playing"
|
|
73
|
+
@click:backward="onClickBackward"
|
|
74
|
+
@click:forward="onClickForward"
|
|
75
|
+
@update:modelValue="onPlayingChange"
|
|
76
|
+
/>
|
|
77
|
+
</FSRow>
|
|
78
|
+
</FSRow>
|
|
79
|
+
</FSBaseField>
|
|
80
|
+
</template>
|
|
81
|
+
|
|
82
|
+
<script lang="ts">
|
|
83
|
+
import { computed, defineComponent, ref, watch, type PropType } from "vue";
|
|
84
|
+
|
|
85
|
+
import { useBreakpoints, useColors } from '@dative-gpi/foundation-shared-components/composables';
|
|
86
|
+
import { useDateFormat, useDateExpression } from "@dative-gpi/foundation-shared-services/composables";
|
|
87
|
+
|
|
88
|
+
import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
|
|
89
|
+
import { computeTicks, TimePrecision } from '@dative-gpi/foundation-shared-components/utils';
|
|
90
|
+
|
|
91
|
+
import FSCol from '@dative-gpi/foundation-shared-components/components/FSCol.vue';
|
|
92
|
+
import FSSpan from '@dative-gpi/foundation-shared-components/components/FSSpan.vue';
|
|
93
|
+
import FSText from '@dative-gpi/foundation-shared-components/components/FSText.vue';
|
|
94
|
+
import FSPlayButtons from '@dative-gpi/foundation-shared-components/components/FSPlayButtons.vue';
|
|
95
|
+
import FSRangeSlider from '@dative-gpi/foundation-shared-components/components/FSRangeSlider.vue';
|
|
96
|
+
import FSBaseField from '@dative-gpi/foundation-shared-components/components/fields/FSBaseField.vue';
|
|
97
|
+
import FSTermField from '@dative-gpi/foundation-shared-components/components/fields/FSTermField.vue';
|
|
98
|
+
|
|
99
|
+
export default defineComponent({
|
|
100
|
+
name: "FSRangePicker",
|
|
101
|
+
components: {
|
|
102
|
+
FSCol,
|
|
103
|
+
FSSpan,
|
|
104
|
+
FSText,
|
|
105
|
+
FSTermField,
|
|
106
|
+
FSBaseField,
|
|
107
|
+
FSRangeSlider,
|
|
108
|
+
FSPlayButtons,
|
|
109
|
+
},
|
|
110
|
+
props: {
|
|
111
|
+
label: {
|
|
112
|
+
type: String,
|
|
113
|
+
required: false,
|
|
114
|
+
},
|
|
115
|
+
mode: {
|
|
116
|
+
type: String as () => 'single' | 'range',
|
|
117
|
+
required: false,
|
|
118
|
+
default: 'single'
|
|
119
|
+
},
|
|
120
|
+
modelValue: {
|
|
121
|
+
type: Object as () => [number, number],
|
|
122
|
+
required: true
|
|
123
|
+
},
|
|
124
|
+
startDate: {
|
|
125
|
+
type: String,
|
|
126
|
+
required: true
|
|
127
|
+
},
|
|
128
|
+
endDate: {
|
|
129
|
+
type: String,
|
|
130
|
+
required: true
|
|
131
|
+
},
|
|
132
|
+
description: {
|
|
133
|
+
type: String,
|
|
134
|
+
required: false,
|
|
135
|
+
default: null
|
|
136
|
+
},
|
|
137
|
+
hideHeader: {
|
|
138
|
+
type: Boolean,
|
|
139
|
+
required: false,
|
|
140
|
+
default: false
|
|
141
|
+
},
|
|
142
|
+
required: {
|
|
143
|
+
type: Boolean,
|
|
144
|
+
required: false,
|
|
145
|
+
default: false
|
|
146
|
+
},
|
|
147
|
+
disabled: {
|
|
148
|
+
type: Boolean,
|
|
149
|
+
required: false,
|
|
150
|
+
default: false
|
|
151
|
+
},
|
|
152
|
+
playable: {
|
|
153
|
+
type: Boolean,
|
|
154
|
+
required: false,
|
|
155
|
+
default: true
|
|
156
|
+
},
|
|
157
|
+
stepTime: {
|
|
158
|
+
type: Number,
|
|
159
|
+
required: false,
|
|
160
|
+
default: 60000
|
|
161
|
+
},
|
|
162
|
+
playingStepDuration: {
|
|
163
|
+
type: Number,
|
|
164
|
+
required: false,
|
|
165
|
+
default: 50
|
|
166
|
+
},
|
|
167
|
+
maxWidth: {
|
|
168
|
+
type: String as PropType<string | null>,
|
|
169
|
+
required: false,
|
|
170
|
+
default: null
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
emits: ['update:modelValue', 'update:startDate', 'update:endDate'],
|
|
174
|
+
setup(props, { emit, expose }) {
|
|
175
|
+
const { epochToShortTimeOnlyFormat, epochToShortDateFormat, epochToDayMonthShortOnly, epochToISO, epochToMonthShortTimeFormat } = useDateFormat();
|
|
176
|
+
const { convert : convertTermToEpoch } = useDateExpression();
|
|
177
|
+
const { isMobileSized, isExtraSmall } = useBreakpoints();
|
|
178
|
+
const { getColors } = useColors();
|
|
179
|
+
|
|
180
|
+
const lightColors = getColors(ColorEnum.Light);
|
|
181
|
+
const playing = ref(false);
|
|
182
|
+
const playingInterval = ref();
|
|
183
|
+
const startTimestamp = ref(convertTermToEpoch(props.startDate));
|
|
184
|
+
const endTimestamp = ref(convertTermToEpoch(props.endDate));
|
|
185
|
+
|
|
186
|
+
const tickCount = computed(() => {
|
|
187
|
+
if (isExtraSmall.value) { return 3; }
|
|
188
|
+
if (isMobileSized.value) { return 4; }
|
|
189
|
+
return 5;
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
const tickPrecision = computed(() => {
|
|
193
|
+
const rangeDuration = endTimestamp.value - startTimestamp.value;
|
|
194
|
+
if (rangeDuration <= 86400000 * tickCount.value) { return TimePrecision.Hours; }
|
|
195
|
+
if (rangeDuration <= 2592000000 * tickCount.value) { return TimePrecision.Days; }
|
|
196
|
+
return TimePrecision.Months;
|
|
197
|
+
});
|
|
198
|
+
|
|
199
|
+
// Génération des ticks via la fonction utilitaire
|
|
200
|
+
const ticks = computed(() => computeTicks({
|
|
201
|
+
start: startTimestamp.value,
|
|
202
|
+
end: endTimestamp.value,
|
|
203
|
+
tickCount: tickCount.value,
|
|
204
|
+
precision: tickPrecision.value
|
|
205
|
+
}));
|
|
206
|
+
|
|
207
|
+
const refresh = () => {
|
|
208
|
+
startTimestamp.value = convertTermToEpoch(props.startDate);
|
|
209
|
+
endTimestamp.value = convertTermToEpoch(props.endDate);
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
const onPlayingChange = (value: boolean) => {
|
|
213
|
+
playing.value = value;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
const onClickBackward = () => {
|
|
217
|
+
const modelValueDuration = props.modelValue[1] - props.modelValue[0];
|
|
218
|
+
emit('update:modelValue', [startTimestamp.value, startTimestamp.value + modelValueDuration]);
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
const onClickForward = () => {
|
|
222
|
+
const modelValueDuration = props.modelValue[1] - props.modelValue[0];
|
|
223
|
+
emit('update:modelValue', [endTimestamp.value - modelValueDuration, endTimestamp.value]);
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
watch([() => props.startDate, () => props.endDate, () => props.modelValue], () => {
|
|
227
|
+
if((props.modelValue[0] < startTimestamp.value || props.modelValue[1] > endTimestamp.value)) {
|
|
228
|
+
emit('update:modelValue', [startTimestamp.value, endTimestamp.value]);
|
|
229
|
+
}
|
|
230
|
+
}, { immediate: true });
|
|
231
|
+
|
|
232
|
+
watch([() => props.startDate, () => props.endDate], () => {
|
|
233
|
+
refresh();
|
|
234
|
+
}, { immediate: true });
|
|
235
|
+
|
|
236
|
+
watch(playing, (value) => {
|
|
237
|
+
if(!value && playingInterval.value) {
|
|
238
|
+
clearInterval(playingInterval.value);
|
|
239
|
+
return;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
playingInterval.value = setInterval(() => {
|
|
243
|
+
if(props.modelValue[0] + props.stepTime <= endTimestamp.value && props.modelValue[1] + props.stepTime <= endTimestamp.value) {
|
|
244
|
+
emit('update:modelValue', [props.modelValue[0] + props.stepTime, props.modelValue[1] + props.stepTime]);
|
|
245
|
+
} else {
|
|
246
|
+
playing.value = false;
|
|
247
|
+
}
|
|
248
|
+
}, props.playingStepDuration);
|
|
249
|
+
});
|
|
250
|
+
|
|
251
|
+
expose({
|
|
252
|
+
refresh,
|
|
253
|
+
});
|
|
254
|
+
|
|
255
|
+
return {
|
|
256
|
+
ticks,
|
|
257
|
+
playing,
|
|
258
|
+
ColorEnum,
|
|
259
|
+
lightColors,
|
|
260
|
+
endTimestamp,
|
|
261
|
+
TimePrecision,
|
|
262
|
+
tickPrecision,
|
|
263
|
+
startTimestamp,
|
|
264
|
+
epochToISO,
|
|
265
|
+
onPlayingChange,
|
|
266
|
+
onClickForward,
|
|
267
|
+
onClickBackward,
|
|
268
|
+
epochToShortDateFormat,
|
|
269
|
+
epochToShortTimeOnlyFormat,
|
|
270
|
+
epochToDayMonthShortOnly,
|
|
271
|
+
epochToMonthShortTimeFormat
|
|
272
|
+
};
|
|
273
|
+
},
|
|
274
|
+
});
|
|
275
|
+
</script>
|