@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.
Files changed (83) hide show
  1. package/components/FSDialogFormBody.vue +3 -3
  2. package/components/FSDialogMultiFormBody.vue +4 -4
  3. package/components/FSDialogRemove.vue +6 -6
  4. package/components/FSDialogSubmit.vue +2 -2
  5. package/components/FSEditImageUI.vue +3 -3
  6. package/components/agenda/FSAgendaDialogCalendar.vue +1 -1
  7. package/components/agenda/FSAgendaHeader.vue +2 -2
  8. package/components/agenda/FSSelectAgendaMode.vue +2 -2
  9. package/components/agenda/FSWeekAgenda.vue +1 -1
  10. package/components/autocompletes/FSAutoCompleteAddress.vue +6 -0
  11. package/components/autocompletes/FSAutocompleteLanguage.vue +7 -1
  12. package/components/autocompletes/FSAutocompleteTimeZone.vue +7 -1
  13. package/components/buttons/FSButtonAdd.vue +1 -1
  14. package/components/buttons/FSButtonAddLabel.vue +1 -1
  15. package/components/buttons/FSButtonCancel.vue +1 -1
  16. package/components/buttons/FSButtonCancelLabel.vue +1 -1
  17. package/components/buttons/FSButtonCopy.vue +1 -1
  18. package/components/buttons/FSButtonCopyLabel.vue +1 -1
  19. package/components/buttons/FSButtonDuplicate.vue +1 -1
  20. package/components/buttons/FSButtonDuplicateLabel.vue +1 -1
  21. package/components/buttons/FSButtonEdit.vue +1 -1
  22. package/components/buttons/FSButtonEditLabel.vue +1 -1
  23. package/components/buttons/FSButtonFile.vue +1 -1
  24. package/components/buttons/FSButtonFileLabel.vue +1 -1
  25. package/components/buttons/FSButtonNext.vue +1 -1
  26. package/components/buttons/FSButtonNextLabel.vue +1 -1
  27. package/components/buttons/FSButtonPrevious.vue +1 -1
  28. package/components/buttons/FSButtonPreviousLabel.vue +1 -1
  29. package/components/buttons/FSButtonRedo.vue +1 -1
  30. package/components/buttons/FSButtonRedoLabel.vue +1 -1
  31. package/components/buttons/FSButtonRemove.vue +1 -1
  32. package/components/buttons/FSButtonRemoveLabel.vue +1 -1
  33. package/components/buttons/FSButtonSave.vue +1 -1
  34. package/components/buttons/FSButtonSaveLabel.vue +1 -1
  35. package/components/buttons/FSButtonSearch.vue +1 -1
  36. package/components/buttons/FSButtonSearchLabel.vue +1 -1
  37. package/components/buttons/FSButtonUndo.vue +1 -1
  38. package/components/buttons/FSButtonUndoLabel.vue +1 -1
  39. package/components/buttons/FSButtonUpdate.vue +1 -1
  40. package/components/buttons/FSButtonUpdateLabel.vue +1 -1
  41. package/components/buttons/FSButtonValidate.vue +1 -1
  42. package/components/buttons/FSButtonValidateLabel.vue +1 -1
  43. package/components/calendar/FSSimpleMonthSelector.vue +12 -12
  44. package/components/fields/FSAutocompleteField.vue +3 -3
  45. package/components/fields/FSAutocompleteTag.vue +1 -1
  46. package/components/fields/FSDateRangeField.vue +1 -0
  47. package/components/fields/FSEntityFieldUI.vue +4 -4
  48. package/components/fields/FSMagicConfigField.vue +2 -2
  49. package/components/fields/FSMagicField.vue +2 -2
  50. package/components/fields/FSRichTextField.vue +1 -1
  51. package/components/fields/FSSearchField.vue +1 -1
  52. package/components/fields/FSSelectField.vue +2 -2
  53. package/components/fields/FSTranslateField.vue +3 -3
  54. package/components/fields/FSTranslateRichTextField.vue +4 -4
  55. package/components/fields/FSTranslateTextArea.vue +3 -3
  56. package/components/fields/periodicField/FSPeriodicDailyField.vue +2 -2
  57. package/components/fields/periodicField/FSPeriodicField.vue +4 -4
  58. package/components/fields/periodicField/FSPeriodicMonthlyField.vue +8 -8
  59. package/components/fields/periodicField/FSPeriodicWeeklyField.vue +2 -2
  60. package/components/fields/periodicField/FSPeriodicYearlyField.vue +2 -2
  61. package/components/lists/FSDataTableUI.vue +21 -17
  62. package/components/lists/FSFilterButton.vue +4 -4
  63. package/components/lists/FSHeaderButton.vue +4 -4
  64. package/components/lists/FSHiddenButton.vue +2 -2
  65. package/components/map/FSMap.vue +2 -2
  66. package/components/map/FSMapLayerButton.vue +1 -1
  67. package/components/selects/FSSelectAutoRefresh.vue +8 -8
  68. package/components/selects/FSSelectDateSetting.vue +1 -1
  69. package/components/selects/FSSelectDays.vue +8 -8
  70. package/components/selects/FSSelectListMode.vue +2 -2
  71. package/components/selects/FSSelectMonths.vue +13 -13
  72. package/components/selects/chartSelectors/FSAggregationSelector.vue +1 -1
  73. package/components/selects/chartSelectors/FSDisplayAsSelector.vue +1 -1
  74. package/components/selects/chartSelectors/FSFilterTypeSelector.vue +1 -1
  75. package/components/selects/chartSelectors/FSHeatmapRuleSelector.vue +1 -1
  76. package/components/selects/chartSelectors/FSOperationOnSelector.vue +1 -1
  77. package/components/selects/chartSelectors/FSPlanningTypeSelector.vue +1 -1
  78. package/components/selects/chartSelectors/FSPlotPerSelector.vue +1 -1
  79. package/components/selects/chartSelectors/FSSerieTypeSelector.vue +1 -1
  80. package/components/tiles/FSGroupTileUI.vue +2 -2
  81. package/components/tiles/FSLocationTileUI.vue +1 -1
  82. package/components/tiles/FSUserOrganisationTileUI.vue +1 -1
  83. package/package.json +4 -4
@@ -24,7 +24,7 @@
24
24
  v-if="itemsCount > 0"
25
25
  >
26
26
  <FSButton
27
- :label="$tr('ui.entity-field.edit', 'Edit')"
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('ui.entity-field.select', 'Select')"
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('ui.entity-field.selected', '{0} selected(s)', itemsCount) }}
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('ui.entity-field.no-entity-selected', 'No entity selected') }}
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('ui.magic-config-field.value', 'Value')"
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('ui.magic-config-field.label', 'Label')"
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("ui.magic-field.true", "True");
151
+ return $tr("magic-field.true", "True");
152
152
  }
153
- return $tr("ui.magic-field.false", "False");
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('ui.rich-text-field.variable-placeholder', 'Choose a variable...')"
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('ui.search.placeholder', 'Search...');
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("ui.select-field.no-data", "No data") }}
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("ui.select-field.no-data", "No data") }}
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('ui.translate-field.title', 'Handle translations')"
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('ui.translate-field.default-value', 'Default value')"
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("ui.translate-field.translate-in", "Translate in {0}", language.label) }}
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('ui.translate-rich-text-field.default-value', 'Default value')"
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('ui.translate-rich-text-field.translate-in', 'Translate in {0}', language.label) }}
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('ui.translate-rich-text-field.validate-button.label', 'Validate translations')"
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('ui.translate-rich-text-field.translate-button.label', 'Manage translations')"
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('ui.translate-text-area.title', 'Handle translations')"
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('ui.translate-text-area.default-value', 'Default value')"
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("ui.translate-field.translate-in", "Translate in {0}", language.label) }}
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('ui.periodicfield.daily.every', 'Every') }}
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('ui.periodicfield.daily.daysat', 'day(s) at') }}
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.periodicfield.daily", "Daily") , value: "daily" , item: { default : "0 12 */1 * *"} },
89
- { label: $tr("ui.periodicfield.weekly", "Weekly") , value: "weekly" , item: { default : "0 12 * * 1"} },
90
- { label: $tr("ui.periodicfield.monthly", "Monthly"), value: "monthly", item: { default : "0 12 1 * *"} },
91
- { label: $tr("ui.periodicfield.yearly", "Yearly") , value: "yearly" , item: { default : "0 12 1 1 *"} }
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("ui.periodicfield.monthly.day", "Day") }}
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("ui.periodicfield.monthly.every-month-at", "every month at") }}
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("ui.periodicfield.monthly.every", "Every") }}
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("ui.periodicfield.monthly.at", "at") }}
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("ui.periodicfield.monthly.first" , "First") },
123
- { id: 2, label: $tr("ui.periodicfield.monthly.second", "Second") },
124
- { id: 3, label: $tr("ui.periodicfield.monthly.third" , "Third") },
125
- { id: 4, label: $tr("ui.periodicfield.monthly.fourth", "Fourth") },
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("ui.periodicfield.weekly.every", "Every") }}
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("ui.periodicfield.weekly.at", "at") }}
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("ui.periodicfield.yearly.everyyear", "Every year") }}
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("ui.periodicfield.yearly.at", "at") }}
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('ui.data-table.reset-filters', 'Reset')"
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("ui.data-table.empty", "No data") }}
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("ui.data-table.all-selected-bold", "Warning:") }}
362
+ {{ $tr("data-table.all-selected-bold", "Warning:") }}
363
363
  </FSText>
364
364
  <FSText>
365
- {{ $tr("ui.data-table.all-selected-regular", "All elements selected") }}
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
- <FSText>
373
- {{ $tr("ui.data-table.some-selected", "{0} element(s) selected", $props.modelValue.length.toString()) }}
374
- </FSText>
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("ui.data-table.rows-per-page", "Rows per page") }}
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("ui.data-table.empty", "No data") }}
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("ui.data-table.all-selected-bold", "Warning:") }}
537
+ {{ $tr("data-table.all-selected-bold", "Warning:") }}
536
538
  </FSText>
537
539
  <FSText>
538
- {{ $tr("ui.data-table.all-selected-regular", "All elements selected") }}
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
- <FSText>
546
- {{ $tr("ui.data-table.some-selected", "{0} element(s) selected", $props.modelValue.length.toString()) }}
547
- </FSText>
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("ui.data-table.rows-per-page", "Rows per page") }}
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("ui.data-table.empty", "No data") }}
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("ui.data-table.all-rows", "All") }
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("ui.data-table.filter", "Filter") }}
35
+ {{ $tr("button.filter", "Filter") }}
36
36
  </FSSpan>
37
37
  <FSChip
38
38
  class="fs-filter-button-chip"
39
- :label="$tr('ui.data-table.all-values', 'All values')"
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("ui.data-table.some-filters-visible", "{0}: {1} visible", props.header.text, (props.filters.length - hidden).toString());
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("ui.data-table.all-filters-visible", "{0}: All visible", props.header.text);
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("ui.data-table.column-options", "Options for this column") }}
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('ui.data-table.hide-column', 'Hide column')"
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('ui.data-table.move-left', 'Move to the left')"
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('ui.data-table.move-right', 'Move to the right')"
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('ui.data-table.hidden-columns', '{0} hidden column(s)', $props.headers.length.toString())"
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("ui.data-table.show-columns", "Show columns") }}
33
+ {{ $tr("data-table.show-columns", "Show columns") }}
34
34
  </FSSpan>
35
35
  </FSCol>
36
36
  <FSFadeOut
@@ -255,7 +255,7 @@ export default defineComponent({
255
255
  const mapLayers: MapLayer[] = [
256
256
  {
257
257
  name: "map",
258
- label: $tr("ui.map.layer.map", "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.layer.imagery", "Imagery"),
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,
@@ -7,7 +7,7 @@
7
7
  />
8
8
  <FSDialog
9
9
  v-model="dialog"
10
- :title="$tr('ui.map.select-layer', 'Select layer')"
10
+ :title="$tr('ui.map-layer.select', 'Select layer')"
11
11
  :contained="true"
12
12
  >
13
13
  <template
@@ -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.auto-refresh.fifteen-seconds", "Fifteen seconds") },
44
- { id: AutoRefresh.ThirtySeconds, label: $tr("ui.auto-refresh.thirty-seconds", "Thirty seconds") },
45
- { id: AutoRefresh.OneMinute, label: $tr("ui.auto-refresh.one-minute", "One minute") },
46
- { id: AutoRefresh.FiveMinutes, label: $tr("ui.auto-refresh.five-minutes", "Five minutes") },
47
- { id: AutoRefresh.FifteenMinutes, label: $tr("ui.auto-refresh.fifteen-minutes", "Fifteen minutes") },
48
- { id: AutoRefresh.ThirtyMinutes, label: $tr("ui.auto-refresh.thirty-minutes", "Thirty minutes") },
49
- { id: AutoRefresh.OneHour, label: $tr("ui.auto-refresh.one-hour", "One hour") },
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.auto-refresh.none", "None") });
52
+ items.unshift({ id: AutoRefresh.None, label: $tr("ui.common.none", "None") });
53
53
  }
54
54
  return items;
55
55
  });
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSSelectField
3
- class="fs-select-date-setting"
3
+ class="select.date-setting.label"
4
4
  :items="dateSettings"
5
5
  :clearable="false"
6
6
  :modelValue="$props.modelValue"
@@ -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.days.monday", "Monday") },
44
- { id: Days.Tuesday, label: $tr("ui.days.tuesday", "Tuesday") },
45
- { id: Days.Wednesday, label: $tr("ui.days.wednesday", "Wednesday") },
46
- { id: Days.Thursday, label: $tr("ui.days.thursday", "Thursday") },
47
- { id: Days.Friday, label: $tr("ui.days.friday", "Friday") },
48
- { id: Days.Saturday, label: $tr("ui.days.saturday", "Saturday") },
49
- { id: Days.Sunday, label: $tr("ui.days.sunday", "Sunday") }
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.days.all-days", "All days") });
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.common.table-mode", "Table"), icon: "mdi-format-list-bulleted" },
43
- { id: ListModes.Iterator, label: $tr("ui.common.tile-mode", "Tuile"), icon: "mdi-view-grid-outline" },
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 {