@dative-gpi/foundation-shared-components 1.0.111 → 1.0.113
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/FSDialogFormBody.vue +3 -3
- package/components/FSDialogMultiFormBody.vue +4 -4
- package/components/FSDialogRemove.vue +6 -6
- package/components/FSDialogSubmit.vue +2 -2
- package/components/FSEditImageUI.vue +3 -3
- package/components/agenda/FSAgendaDialogCalendar.vue +1 -1
- package/components/agenda/FSAgendaHeader.vue +2 -2
- package/components/agenda/FSSelectAgendaMode.vue +2 -2
- package/components/agenda/FSWeekAgenda.vue +1 -1
- package/components/autocompletes/FSAutoCompleteAddress.vue +6 -0
- 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/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/FSSimpleMonthSelector.vue +12 -12
- package/components/fields/FSAutocompleteField.vue +3 -3
- package/components/fields/FSAutocompleteTag.vue +1 -1
- package/components/fields/FSDateRangeField.vue +1 -0
- package/components/fields/FSEntityFieldUI.vue +4 -4
- package/components/fields/FSMagicConfigField.vue +2 -2
- package/components/fields/FSMagicField.vue +2 -2
- package/components/fields/FSRichTextField.vue +1 -1
- package/components/fields/FSSearchField.vue +1 -1
- package/components/fields/FSSelectField.vue +2 -2
- package/components/fields/FSTranslateField.vue +3 -3
- package/components/fields/FSTranslateRichTextField.vue +4 -4
- package/components/fields/FSTranslateTextArea.vue +3 -3
- package/components/fields/periodicField/FSPeriodicDailyField.vue +2 -2
- package/components/fields/periodicField/FSPeriodicField.vue +4 -4
- package/components/fields/periodicField/FSPeriodicMonthlyField.vue +8 -8
- package/components/fields/periodicField/FSPeriodicWeeklyField.vue +2 -2
- package/components/fields/periodicField/FSPeriodicYearlyField.vue +2 -2
- package/components/lists/FSDataTableUI.vue +21 -17
- package/components/lists/FSFilterButton.vue +4 -4
- package/components/lists/FSHeaderButton.vue +4 -4
- package/components/lists/FSHiddenButton.vue +2 -2
- package/components/map/FSMap.vue +2 -2
- package/components/map/FSMapLayerButton.vue +1 -1
- package/components/selects/FSSelectAutoRefresh.vue +8 -8
- package/components/selects/FSSelectDateSetting.vue +1 -1
- package/components/selects/FSSelectDays.vue +8 -8
- package/components/selects/FSSelectListMode.vue +2 -2
- package/components/selects/FSSelectMonths.vue +13 -13
- package/components/selects/chartSelectors/FSAggregationSelector.vue +1 -1
- package/components/selects/chartSelectors/FSDisplayAsSelector.vue +1 -1
- package/components/selects/chartSelectors/FSFilterTypeSelector.vue +1 -1
- package/components/selects/chartSelectors/FSHeatmapRuleSelector.vue +1 -1
- package/components/selects/chartSelectors/FSOperationOnSelector.vue +1 -1
- package/components/selects/chartSelectors/FSPlanningTypeSelector.vue +1 -1
- package/components/selects/chartSelectors/FSPlotPerSelector.vue +1 -1
- package/components/selects/chartSelectors/FSSerieTypeSelector.vue +1 -1
- package/components/tiles/FSGroupTileUI.vue +2 -2
- package/components/tiles/FSLocationTileUI.vue +1 -1
- package/components/tiles/FSUserOrganisationTileUI.vue +1 -1
- package/package.json +4 -4
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
v-if="itemsCount > 0"
|
|
25
25
|
>
|
|
26
26
|
<FSButton
|
|
27
|
-
:label="$tr('
|
|
27
|
+
:label="$tr('button.edit', 'Edit')"
|
|
28
28
|
icon="mdi-pencil"
|
|
29
29
|
@click="$emit('click:select')"
|
|
30
30
|
/>
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
v-else
|
|
34
34
|
>
|
|
35
35
|
<FSButton
|
|
36
|
-
:label="$tr('
|
|
36
|
+
:label="$tr('button.select', 'Select')"
|
|
37
37
|
icon="mdi-plus-circle-multiple-outline"
|
|
38
38
|
@click="$emit('click:select')"
|
|
39
39
|
/>
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
<FSSpan
|
|
61
61
|
font="text-overline"
|
|
62
62
|
>
|
|
63
|
-
{{ $tr('
|
|
63
|
+
{{ $tr('entity-field.selected', '{0} selected(s)', itemsCount) }}
|
|
64
64
|
</FSSpan>
|
|
65
65
|
</FSRow>
|
|
66
66
|
</FSColor>
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
<FSSpan
|
|
85
85
|
font="text-overline"
|
|
86
86
|
>
|
|
87
|
-
{{ $tr('
|
|
87
|
+
{{ $tr('entity-field.no-entity-selected', 'No entity selected') }}
|
|
88
88
|
</FSSpan>
|
|
89
89
|
</FSRow>
|
|
90
90
|
</FSColor>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<component
|
|
6
6
|
class="fs-magic-config-field-value"
|
|
7
7
|
:is="get($props.type)"
|
|
8
|
-
:label="$tr('
|
|
8
|
+
:label="$tr('magic-config-field.value', 'Value')"
|
|
9
9
|
:editable="$props.editable"
|
|
10
10
|
:required="true"
|
|
11
11
|
:rules="rules"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
gap="24px"
|
|
17
17
|
>
|
|
18
18
|
<FSTranslateField
|
|
19
|
-
:label="$tr('
|
|
19
|
+
:label="$tr('magic-config-field.label', 'Label')"
|
|
20
20
|
:editable="$props.editable"
|
|
21
21
|
:modelValue="$props.labelDefault"
|
|
22
22
|
:translations="$props.translations"
|
|
@@ -148,9 +148,9 @@ export default defineComponent({
|
|
|
148
148
|
return value.toString();
|
|
149
149
|
case MagicFieldType.Switch:
|
|
150
150
|
if (value) {
|
|
151
|
-
return $tr("
|
|
151
|
+
return $tr("magic-field.true", "True");
|
|
152
152
|
}
|
|
153
|
-
return $tr("
|
|
153
|
+
return $tr("magic-field.false", "False");
|
|
154
154
|
case MagicFieldType.DateTimeField:
|
|
155
155
|
return epochToShortTimeFormat(parseFloat(value));
|
|
156
156
|
case MagicFieldType.TimeField:
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
<FSAutoCompleteField
|
|
142
142
|
itemTitle="label"
|
|
143
143
|
itemValue="code"
|
|
144
|
-
:placeholder="$tr('
|
|
144
|
+
:placeholder="$tr('rich-text-field.variable-placeholder', 'Choose a variable...')"
|
|
145
145
|
:items="$props.variableReferences"
|
|
146
146
|
@update:modelValue="insertVariable($event)"
|
|
147
147
|
/>
|
|
@@ -48,7 +48,7 @@ export default defineComponent({
|
|
|
48
48
|
const { $tr } = useTranslationsProvider();
|
|
49
49
|
|
|
50
50
|
const placeholder = computed(() => {
|
|
51
|
-
return props.placeholder ?? $tr('
|
|
51
|
+
return props.placeholder ?? $tr('search-field.placeholder', 'Search...');
|
|
52
52
|
});
|
|
53
53
|
|
|
54
54
|
return {
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
padding="4px 3px"
|
|
208
208
|
>
|
|
209
209
|
<FSSpan>
|
|
210
|
-
{{ $tr("
|
|
210
|
+
{{ $tr("select-field.no-data", "No data") }}
|
|
211
211
|
</FSSpan>
|
|
212
212
|
</FSRow>
|
|
213
213
|
</template>
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
padding="15px"
|
|
395
395
|
>
|
|
396
396
|
<FSSpan>
|
|
397
|
-
{{ $tr("
|
|
397
|
+
{{ $tr("select-field.no-data", "No data") }}
|
|
398
398
|
</FSSpan>
|
|
399
399
|
</FSRow>
|
|
400
400
|
</template>
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
</template>
|
|
32
32
|
</FSTextField>
|
|
33
33
|
<FSDialogSubmit
|
|
34
|
-
:title="$tr('
|
|
34
|
+
:title="$tr('translate-field.title', 'Handle translations')"
|
|
35
35
|
:submitButtonColor="$props.buttonColor"
|
|
36
36
|
@click:submitButton="onSubmit"
|
|
37
37
|
v-model="dialog"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
gap="32px"
|
|
44
44
|
>
|
|
45
45
|
<FSTextField
|
|
46
|
-
:label="$tr('
|
|
46
|
+
:label="$tr('translate-field.default-value', 'Default value')"
|
|
47
47
|
:editable="false"
|
|
48
48
|
:modelValue="$props.modelValue"
|
|
49
49
|
/>
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
font="text-overline"
|
|
70
70
|
:style="style"
|
|
71
71
|
>
|
|
72
|
-
{{ $tr("
|
|
72
|
+
{{ $tr("translate-field.translate-in", "Translate in {0}", language.label) }}
|
|
73
73
|
</FSSpan>
|
|
74
74
|
<FSIcon>
|
|
75
75
|
{{ language.icon }}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
>
|
|
8
8
|
<FSRichTextField
|
|
9
9
|
:editable="false"
|
|
10
|
-
:label="$tr('
|
|
10
|
+
:label="$tr('translate-rich-text-field.default-value', 'Default value')"
|
|
11
11
|
:modelValue="$props.modelValue"
|
|
12
12
|
v-bind="$attrs"
|
|
13
13
|
/>
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
class="fs-translate-field-label"
|
|
31
31
|
font="text-overline"
|
|
32
32
|
>
|
|
33
|
-
{{ $tr('
|
|
33
|
+
{{ $tr('translate-rich-text-field.translate-in', 'Translate in {0}', language.label) }}
|
|
34
34
|
</FSSpan>
|
|
35
35
|
<FSIcon>{{ language.icon }}</FSIcon>
|
|
36
36
|
</FSRow>
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
prependIcon="mdi-check"
|
|
51
51
|
color="primary"
|
|
52
52
|
width="100%"
|
|
53
|
-
:label="$tr('
|
|
53
|
+
:label="$tr('translate-rich-text-field.validate', 'Validate translations')"
|
|
54
54
|
@click="onSubmitTranslations"
|
|
55
55
|
/>
|
|
56
56
|
</FSRow>
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
prependIcon="mdi-translate"
|
|
70
70
|
color="primary"
|
|
71
71
|
width="100%"
|
|
72
|
-
:label="$tr('
|
|
72
|
+
:label="$tr('translate-rich-text-field.manage-translations', 'Manage translations')"
|
|
73
73
|
@click="() => $emit('update:translationsExpanded', true)"
|
|
74
74
|
/>
|
|
75
75
|
</template>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
</template>
|
|
33
33
|
</FSTextArea>
|
|
34
34
|
<FSDialogSubmit
|
|
35
|
-
:title="$tr('
|
|
35
|
+
:title="$tr('translate-text-area.title', 'Handle translations')"
|
|
36
36
|
:submitButtonColor="$props.buttonColor"
|
|
37
37
|
@click:submitButton="onSubmit"
|
|
38
38
|
v-model="dialog"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
gap="32px"
|
|
45
45
|
>
|
|
46
46
|
<FSTextArea
|
|
47
|
-
:label="$tr('
|
|
47
|
+
:label="$tr('translate-text-area.default-value', 'Default value')"
|
|
48
48
|
:editable="false"
|
|
49
49
|
:rows="($attrs.rows as number)"
|
|
50
50
|
:modelValue="$props.modelValue"
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
font="text-overline"
|
|
72
72
|
:style="style"
|
|
73
73
|
>
|
|
74
|
-
{{ $tr("
|
|
74
|
+
{{ $tr("translate-field.translate-in", "Translate in {0}", language.label) }}
|
|
75
75
|
</FSSpan>
|
|
76
76
|
<FSIcon>
|
|
77
77
|
{{ language.icon }}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<FSSpan
|
|
15
15
|
:font="font"
|
|
16
16
|
>
|
|
17
|
-
{{ $tr('
|
|
17
|
+
{{ $tr('periodic-field.every', 'Every') }}
|
|
18
18
|
</FSSpan>
|
|
19
19
|
<FSNumberField
|
|
20
20
|
:editable="$props.editable"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<FSSpan
|
|
27
27
|
:font="font"
|
|
28
28
|
>
|
|
29
|
-
{{ $tr('
|
|
29
|
+
{{ $tr('periodic-field.daysat', 'day(s) at') }}
|
|
30
30
|
</FSSpan>
|
|
31
31
|
<FSClock
|
|
32
32
|
:editable="$props.editable"
|
|
@@ -85,10 +85,10 @@ export default defineComponent({
|
|
|
85
85
|
const { $tr } = useTranslationsProvider();
|
|
86
86
|
|
|
87
87
|
const availablePeriod = [
|
|
88
|
-
{ label: $tr("ui.
|
|
89
|
-
{ label: $tr("ui.
|
|
90
|
-
{ label: $tr("ui.
|
|
91
|
-
{ label: $tr("ui.
|
|
88
|
+
{ label: $tr("ui.common.daily", "Daily") , value: "daily" , item: { default : "0 12 */1 * *"} },
|
|
89
|
+
{ label: $tr("ui.common.weekly", "Weekly") , value: "weekly" , item: { default : "0 12 * * 1"} },
|
|
90
|
+
{ label: $tr("ui.common.monthly", "Monthly"), value: "monthly", item: { default : "0 12 1 * *"} },
|
|
91
|
+
{ label: $tr("ui.common.yearly", "Yearly") , value: "yearly" , item: { default : "0 12 1 1 *"} }
|
|
92
92
|
];
|
|
93
93
|
|
|
94
94
|
const selectedPeriod = ref("daily");
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<FSSpan
|
|
15
15
|
:font="font"
|
|
16
16
|
>
|
|
17
|
-
{{ $tr("
|
|
17
|
+
{{ $tr("periodic-monthly-field.day", "Day") }}
|
|
18
18
|
</FSSpan>
|
|
19
19
|
<FSSelectField
|
|
20
20
|
:editable="$props.editable"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<FSSpan
|
|
28
28
|
:font="font"
|
|
29
29
|
>
|
|
30
|
-
{{ $tr("
|
|
30
|
+
{{ $tr("periodic-monthly-field.every-month-at", "every month at") }}
|
|
31
31
|
</FSSpan>
|
|
32
32
|
<FSClock
|
|
33
33
|
:editable="$props.editable"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
<FSSpan
|
|
46
46
|
:font="font"
|
|
47
47
|
>
|
|
48
|
-
{{ $tr("
|
|
48
|
+
{{ $tr("periodic-monthly-field.every", "Every") }}
|
|
49
49
|
</FSSpan>
|
|
50
50
|
<FSSelectField
|
|
51
51
|
:editable="$props.editable"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
<FSSpan
|
|
66
66
|
:font="font"
|
|
67
67
|
>
|
|
68
|
-
{{ $tr("
|
|
68
|
+
{{ $tr("periodic-monthly-field.at", "at") }}
|
|
69
69
|
</FSSpan>
|
|
70
70
|
<FSClock
|
|
71
71
|
:editable="$props.editable"
|
|
@@ -119,10 +119,10 @@ export default defineComponent({
|
|
|
119
119
|
const { $tr } = useTranslationsProvider();
|
|
120
120
|
|
|
121
121
|
const dayWeekNumbers = [
|
|
122
|
-
{ id: 1, label: $tr("
|
|
123
|
-
{ id: 2, label: $tr("
|
|
124
|
-
{ id: 3, label: $tr("
|
|
125
|
-
{ id: 4, label: $tr("
|
|
122
|
+
{ id: 1, label: $tr("periodic-monthly-field.first" , "First") },
|
|
123
|
+
{ id: 2, label: $tr("periodic-monthly-field.second", "Second") },
|
|
124
|
+
{ id: 3, label: $tr("periodic-monthly-field.third" , "Third") },
|
|
125
|
+
{ id: 4, label: $tr("periodic-monthly-field.fourth", "Fourth") },
|
|
126
126
|
];
|
|
127
127
|
|
|
128
128
|
const availableConfigurations = [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<FSSpan
|
|
15
15
|
:font="font"
|
|
16
16
|
>
|
|
17
|
-
{{ $tr("
|
|
17
|
+
{{ $tr("periodic-weekly-field.every", "Every") }}
|
|
18
18
|
</FSSpan>
|
|
19
19
|
<FSSelectDays
|
|
20
20
|
:editable="$props.editable"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<FSSpan
|
|
27
27
|
:font="font"
|
|
28
28
|
>
|
|
29
|
-
{{ $tr("
|
|
29
|
+
{{ $tr("periodic-weekly-field.at", "at") }}
|
|
30
30
|
</FSSpan>
|
|
31
31
|
<FSClock
|
|
32
32
|
:editable="$props.editable"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<FSSpan
|
|
15
15
|
:font="font"
|
|
16
16
|
>
|
|
17
|
-
{{ $tr("
|
|
17
|
+
{{ $tr("periodic-yearly-field.everyyear", "Every year") }}
|
|
18
18
|
</FSSpan>
|
|
19
19
|
<FSSelectMonths
|
|
20
20
|
:editable="$props.editable"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<FSSpan
|
|
34
34
|
:font="font"
|
|
35
35
|
>
|
|
36
|
-
{{ $tr("
|
|
36
|
+
{{ $tr("periodic-yearly-field.at", "at") }}
|
|
37
37
|
</FSSpan>
|
|
38
38
|
<FSClock
|
|
39
39
|
:editable="$props.editable"
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
<FSChip
|
|
96
96
|
v-if="innerShowFilters && resetable"
|
|
97
97
|
variant="standard"
|
|
98
|
-
:label="$tr('
|
|
98
|
+
:label="$tr('data-table.reset-filters', 'Reset')"
|
|
99
99
|
:height="['30px', '24px']"
|
|
100
100
|
:color="ColorEnum.Error"
|
|
101
101
|
:editable="true"
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
<FSText
|
|
148
148
|
font="text-overline"
|
|
149
149
|
>
|
|
150
|
-
{{ $tr("
|
|
150
|
+
{{ $tr("data-table.empty", "No data") }}
|
|
151
151
|
</FSText>
|
|
152
152
|
</template>
|
|
153
153
|
<template
|
|
@@ -359,19 +359,21 @@
|
|
|
359
359
|
<FSText
|
|
360
360
|
font="text-button"
|
|
361
361
|
>
|
|
362
|
-
{{ $tr("
|
|
362
|
+
{{ $tr("data-table.all-selected-bold", "Warning:") }}
|
|
363
363
|
</FSText>
|
|
364
364
|
<FSText>
|
|
365
|
-
{{ $tr("
|
|
365
|
+
{{ $tr("data-table.all-selected-regular", "All elements selected") }}
|
|
366
366
|
</FSText>
|
|
367
367
|
</FSRow>
|
|
368
368
|
</template>
|
|
369
369
|
<template
|
|
370
370
|
v-else
|
|
371
371
|
>
|
|
372
|
-
<
|
|
373
|
-
|
|
374
|
-
|
|
372
|
+
<FSRow>
|
|
373
|
+
<FSText>
|
|
374
|
+
{{ $tr("data-table.some-selected", "{0} element(s) selected", $props.modelValue.length.toString()) }}
|
|
375
|
+
</FSText>
|
|
376
|
+
</FSRow>
|
|
375
377
|
</template>
|
|
376
378
|
</template>
|
|
377
379
|
<FSRow
|
|
@@ -382,7 +384,7 @@
|
|
|
382
384
|
<FSText
|
|
383
385
|
font="text-overline"
|
|
384
386
|
>
|
|
385
|
-
{{ $tr("
|
|
387
|
+
{{ $tr("data-table.rows-per-page", "Rows per page") }}
|
|
386
388
|
</FSText>
|
|
387
389
|
<FSSelectField
|
|
388
390
|
class="fs-data-table-rows-per-page fs-small-input"
|
|
@@ -434,7 +436,7 @@
|
|
|
434
436
|
<FSText
|
|
435
437
|
font="text-overline"
|
|
436
438
|
>
|
|
437
|
-
{{ $tr("
|
|
439
|
+
{{ $tr("data-table.empty", "No data") }}
|
|
438
440
|
</FSText>
|
|
439
441
|
</template>
|
|
440
442
|
<template
|
|
@@ -532,19 +534,21 @@
|
|
|
532
534
|
<FSText
|
|
533
535
|
font="text-button"
|
|
534
536
|
>
|
|
535
|
-
{{ $tr("
|
|
537
|
+
{{ $tr("data-table.all-selected-bold", "Warning:") }}
|
|
536
538
|
</FSText>
|
|
537
539
|
<FSText>
|
|
538
|
-
{{ $tr("
|
|
540
|
+
{{ $tr("data-table.all-selected-regular", "All elements selected") }}
|
|
539
541
|
</FSText>
|
|
540
542
|
</FSRow>
|
|
541
543
|
</template>
|
|
542
544
|
<template
|
|
543
545
|
v-else
|
|
544
546
|
>
|
|
545
|
-
<
|
|
546
|
-
|
|
547
|
-
|
|
547
|
+
<FSRow>
|
|
548
|
+
<FSText>
|
|
549
|
+
{{ $tr("data-table.some-selected", "{0} element(s) selected", $props.modelValue.length.toString()) }}
|
|
550
|
+
</FSText>
|
|
551
|
+
</FSRow>
|
|
548
552
|
</template>
|
|
549
553
|
</template>
|
|
550
554
|
<FSRow
|
|
@@ -554,7 +558,7 @@
|
|
|
554
558
|
<FSText
|
|
555
559
|
font="text-overline"
|
|
556
560
|
>
|
|
557
|
-
{{ $tr("
|
|
561
|
+
{{ $tr("data-table.rows-per-page", "Rows per page") }}
|
|
558
562
|
</FSText>
|
|
559
563
|
<FSRow
|
|
560
564
|
width="120px"
|
|
@@ -603,7 +607,7 @@
|
|
|
603
607
|
<FSText
|
|
604
608
|
font="text-overline"
|
|
605
609
|
>
|
|
606
|
-
{{ $tr("
|
|
610
|
+
{{ $tr("data-table.empty", "No data") }}
|
|
607
611
|
</FSText>
|
|
608
612
|
</template>
|
|
609
613
|
<template
|
|
@@ -926,7 +930,7 @@ export default defineComponent({
|
|
|
926
930
|
{ id: 5, label: "5" },
|
|
927
931
|
{ id: 10, label: "10" },
|
|
928
932
|
{ id: 30, label: "30" },
|
|
929
|
-
{ id: -1, label: $tr("
|
|
933
|
+
{ id: -1, label: $tr("data-table.all-rows", "All") }
|
|
930
934
|
];
|
|
931
935
|
|
|
932
936
|
const showFiltersRow = computed((): boolean => {
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
<FSSpan
|
|
33
33
|
font="text-overline"
|
|
34
34
|
>
|
|
35
|
-
{{ $tr("
|
|
35
|
+
{{ $tr("button.filter", "Filter") }}
|
|
36
36
|
</FSSpan>
|
|
37
37
|
<FSChip
|
|
38
38
|
class="fs-filter-button-chip"
|
|
39
|
-
:label="$tr('ui.
|
|
39
|
+
:label="$tr('ui.common.all-values', 'All values')"
|
|
40
40
|
:height="['30px', '24px']"
|
|
41
41
|
:variant="getAllVariant()"
|
|
42
42
|
:color="$props.color"
|
|
@@ -136,10 +136,10 @@ export default defineComponent({
|
|
|
136
136
|
if (props.filters) {
|
|
137
137
|
const hidden = props.filters.filter(f => f.hidden).length;
|
|
138
138
|
if (hidden > 0) {
|
|
139
|
-
return $tr("
|
|
139
|
+
return $tr("filter-button.some-filters-visible", "{0}: {1} visible", props.header.text, (props.filters.length - hidden).toString());
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
return $tr("
|
|
142
|
+
return $tr("filter-button.all-filters-visible", "{0}: All visible", props.header.text);
|
|
143
143
|
}
|
|
144
144
|
return null;
|
|
145
145
|
});
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<FSSpan
|
|
25
25
|
font="text-overline"
|
|
26
26
|
>
|
|
27
|
-
{{ $tr("
|
|
27
|
+
{{ $tr("data-table.column-options", "Options for this column") }}
|
|
28
28
|
</FSSpan>
|
|
29
29
|
<FSCol
|
|
30
30
|
padding="6px"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
prependIcon="mdi-eye-off-outline"
|
|
34
34
|
class="fs-header-button-chip"
|
|
35
35
|
variant="borderless"
|
|
36
|
-
:label="$tr('
|
|
36
|
+
:label="$tr('data-table.hide-column', 'Hide column')"
|
|
37
37
|
:height="[30, 24]"
|
|
38
38
|
:editable="true"
|
|
39
39
|
@click="$emit('update:hide')"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
class="fs-header-button-chip"
|
|
44
44
|
variant="borderless"
|
|
45
45
|
prependIcon="mdi-chevron-left"
|
|
46
|
-
:label="$tr('
|
|
46
|
+
:label="$tr('data-table.move-left', 'Move to the left')"
|
|
47
47
|
:height="[30, 24]"
|
|
48
48
|
:editable="true"
|
|
49
49
|
@click="$emit('update:left')"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
class="fs-header-button-chip"
|
|
54
54
|
variant="borderless"
|
|
55
55
|
prependIcon="mdi-chevron-right"
|
|
56
|
-
:label="$tr('
|
|
56
|
+
:label="$tr('data-table.move-right', 'Move to the right')"
|
|
57
57
|
:height="[30, 24]"
|
|
58
58
|
:editable="true"
|
|
59
59
|
@click="$emit('update:right')"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
:height="[30, 24]"
|
|
12
12
|
:color="ColorEnum.Light"
|
|
13
13
|
:editable="true"
|
|
14
|
-
:label="$tr('
|
|
14
|
+
:label="$tr('data-table.hidden-columns', '{0} hidden column(s)', $props.headers.length.toString())"
|
|
15
15
|
v-bind="props"
|
|
16
16
|
/>
|
|
17
17
|
</template>
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<FSSpan
|
|
31
31
|
font="text-overline"
|
|
32
32
|
>
|
|
33
|
-
{{ $tr("
|
|
33
|
+
{{ $tr("data-table.show-columns", "Show columns") }}
|
|
34
34
|
</FSSpan>
|
|
35
35
|
</FSCol>
|
|
36
36
|
<FSFadeOut
|
package/components/map/FSMap.vue
CHANGED
|
@@ -255,7 +255,7 @@ export default defineComponent({
|
|
|
255
255
|
const mapLayers: MapLayer[] = [
|
|
256
256
|
{
|
|
257
257
|
name: "map",
|
|
258
|
-
label: $tr("ui.map
|
|
258
|
+
label: $tr("ui.map-layer.map", "Map"),
|
|
259
259
|
image: new URL("../../assets/images/map/map.png", import.meta.url).href,
|
|
260
260
|
layer: tileLayer(`http://{s}.google.com/vt/lyrs=m&x={x}&y={y}&z={z}&key=${import.meta.env.VITE_GOOGLE_MAPS_API_KEY ?? ""}`, {
|
|
261
261
|
maxZoom: 22,
|
|
@@ -265,7 +265,7 @@ export default defineComponent({
|
|
|
265
265
|
},
|
|
266
266
|
{
|
|
267
267
|
name: "imagery",
|
|
268
|
-
label: $tr("ui.map
|
|
268
|
+
label: $tr("ui.map-layer.imagery", "Imagery"),
|
|
269
269
|
image: new URL("../../assets/images/map/imagery.png", import.meta.url).href,
|
|
270
270
|
layer: tileLayer(`http://{s}.google.com/vt/lyrs=s,h&x={x}&y={y}&z={z}&key=${import.meta.env.VITE_GOOGLE_MAPS_API_KEY ?? ""}`, {
|
|
271
271
|
maxZoom: 22,
|
|
@@ -40,16 +40,16 @@ export default defineComponent({
|
|
|
40
40
|
|
|
41
41
|
const autoRefreshes = computed((): { id: AutoRefresh; label: string }[] => {
|
|
42
42
|
const items = [
|
|
43
|
-
{ id: AutoRefresh.FifteenSeconds, label: $tr("ui.
|
|
44
|
-
{ id: AutoRefresh.ThirtySeconds, label: $tr("ui.
|
|
45
|
-
{ id: AutoRefresh.OneMinute, label: $tr("ui.
|
|
46
|
-
{ id: AutoRefresh.FiveMinutes, label: $tr("ui.
|
|
47
|
-
{ id: AutoRefresh.FifteenMinutes, label: $tr("ui.
|
|
48
|
-
{ id: AutoRefresh.ThirtyMinutes, label: $tr("ui.
|
|
49
|
-
{ id: AutoRefresh.OneHour, label: $tr("ui.
|
|
43
|
+
{ id: AutoRefresh.FifteenSeconds, label: $tr("ui.common.fifteen-seconds", "Fifteen seconds") },
|
|
44
|
+
{ id: AutoRefresh.ThirtySeconds, label: $tr("ui.common.thirty-seconds", "Thirty seconds") },
|
|
45
|
+
{ id: AutoRefresh.OneMinute, label: $tr("ui.common.one-minute", "One minute") },
|
|
46
|
+
{ id: AutoRefresh.FiveMinutes, label: $tr("ui.common.five-minutes", "Five minutes") },
|
|
47
|
+
{ id: AutoRefresh.FifteenMinutes, label: $tr("ui.common.fifteen-minutes", "Fifteen minutes") },
|
|
48
|
+
{ id: AutoRefresh.ThirtyMinutes, label: $tr("ui.common.thirty-minutes", "Thirty minutes") },
|
|
49
|
+
{ id: AutoRefresh.OneHour, label: $tr("ui.common.one-hour", "One hour") },
|
|
50
50
|
];
|
|
51
51
|
if (props.useNone) {
|
|
52
|
-
items.unshift({ id: AutoRefresh.None, label: $tr("ui.
|
|
52
|
+
items.unshift({ id: AutoRefresh.None, label: $tr("ui.common.none", "None") });
|
|
53
53
|
}
|
|
54
54
|
return items;
|
|
55
55
|
});
|
|
@@ -40,16 +40,16 @@ export default defineComponent({
|
|
|
40
40
|
|
|
41
41
|
const days = computed((): { id: Days; label: string }[] => {
|
|
42
42
|
const items = [
|
|
43
|
-
{ id: Days.Monday, label: $tr("ui.
|
|
44
|
-
{ id: Days.Tuesday, label: $tr("ui.
|
|
45
|
-
{ id: Days.Wednesday, label: $tr("ui.
|
|
46
|
-
{ id: Days.Thursday, label: $tr("ui.
|
|
47
|
-
{ id: Days.Friday, label: $tr("ui.
|
|
48
|
-
{ id: Days.Saturday, label: $tr("ui.
|
|
49
|
-
{ id: Days.Sunday, label: $tr("ui.
|
|
43
|
+
{ id: Days.Monday, label: $tr("ui.common.monday", "Monday") },
|
|
44
|
+
{ id: Days.Tuesday, label: $tr("ui.common.tuesday", "Tuesday") },
|
|
45
|
+
{ id: Days.Wednesday, label: $tr("ui.common.wednesday", "Wednesday") },
|
|
46
|
+
{ id: Days.Thursday, label: $tr("ui.common.thursday", "Thursday") },
|
|
47
|
+
{ id: Days.Friday, label: $tr("ui.common.friday", "Friday") },
|
|
48
|
+
{ id: Days.Saturday, label: $tr("ui.common.saturday", "Saturday") },
|
|
49
|
+
{ id: Days.Sunday, label: $tr("ui.common.sunday", "Sunday") }
|
|
50
50
|
];
|
|
51
51
|
if (props.useAllDays) {
|
|
52
|
-
items.unshift({ id: Days.AllDays, label: $tr("ui.
|
|
52
|
+
items.unshift({ id: Days.AllDays, label: $tr("ui.common.all-days", "All days") });
|
|
53
53
|
}
|
|
54
54
|
return items;
|
|
55
55
|
});
|
|
@@ -39,8 +39,8 @@ export default defineComponent({
|
|
|
39
39
|
const { $tr } = useTranslationsProvider();
|
|
40
40
|
|
|
41
41
|
const items = [
|
|
42
|
-
{ id: ListModes.Table, label: $tr("ui.
|
|
43
|
-
{ id: ListModes.Iterator, label: $tr("ui.
|
|
42
|
+
{ id: ListModes.Table, label: $tr("ui.list-mode.table", "Table"), icon: "mdi-format-list-bulleted" },
|
|
43
|
+
{ id: ListModes.Iterator, label: $tr("ui.list-mode.iterator", "Tuile"), icon: "mdi-view-grid-outline" },
|
|
44
44
|
];
|
|
45
45
|
|
|
46
46
|
return {
|