@dative-gpi/foundation-shared-components 1.0.110 → 1.0.112

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 -15
  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
@@ -242,15 +242,15 @@ export default defineComponent({
242
242
  });
243
243
 
244
244
  const cancelLabel = computed(() => {
245
- return props.cancelButtonLabel ?? $tr("ui.button.cancel", "Cancel");
245
+ return props.cancelButtonLabel ?? $tr("button.cancel", "Cancel");
246
246
  });
247
247
 
248
248
  const submitLabel = computed(() => {
249
- return props.submitButtonLabel ?? $tr("ui.button.submit", "Submit");
249
+ return props.submitButtonLabel ?? $tr("button.submit", "Submit");
250
250
  });
251
251
 
252
252
  const validateLabel = computed(() => {
253
- return props.validateButtonLabel ?? $tr("ui.button.validate", "Done");
253
+ return props.validateButtonLabel ?? $tr("button.validate", "Done");
254
254
  });
255
255
 
256
256
  const onSubmit = () => {
@@ -200,14 +200,14 @@ export default defineComponent({
200
200
 
201
201
  const previousButtonLabel = computed(() => {
202
202
  return currentStep.value == 1
203
- ? props.cancelButtonLabel ?? $tr("ui.button.cancel", "Cancel")
204
- : $tr("ui.button.back", "Back");
203
+ ? props.cancelButtonLabel ?? $tr("button.cancel", "Cancel")
204
+ : $tr("button.back", "Back");
205
205
  });
206
206
 
207
207
  const nextButtonLabel = computed(() => {
208
208
  return currentStep.value == props.steps
209
- ? props.submitButtonLabel ?? $tr("ui.button.validate", "Validate")
210
- : $tr("ui.button.next", "Next");
209
+ ? props.submitButtonLabel ?? $tr("button.validate", "Validate")
210
+ : $tr("button.next", "Next");
211
211
  });
212
212
 
213
213
  const nextButtonVariant = computed(() => {
@@ -2,7 +2,7 @@
2
2
  <FSDialogSubmit
3
3
  width="460px"
4
4
  :title="title"
5
- :submitButtonLabel="$tr('ui.button.remove', 'Remove')"
5
+ :submitButtonLabel="$tr('button.remove', 'Remove')"
6
6
  :submitButtonColor="ColorEnum.Error"
7
7
  :modelValue="$props.modelValue"
8
8
  @update:modelValue="$emit('update:modelValue', $event)"
@@ -24,17 +24,17 @@
24
24
  gap="2px"
25
25
  >
26
26
  <FSSpan>
27
- {{ $tr("ui.remove-dialog.body-regular", "This action is") }}
27
+ {{ $tr("dialog-remove.body-regular", "This action is") }}
28
28
  </FSSpan>
29
29
  <FSSpan
30
30
  font="text-button"
31
31
  >
32
- {{ $tr("ui.remove-dialog.body-bold", "definitive") }}
32
+ {{ $tr("dialog-remove.body-bold", "definitive") }}
33
33
  </FSSpan>
34
34
  </FSRow>
35
35
  </FSRow>
36
36
  <FSSpan>
37
- {{ $tr("ui.remove-dialog.final-warning", "Once removed, entities won't be retrievable") }}
37
+ {{ $tr("dialog-remove.final-warning", "Once removed, entities won't be retrievable") }}
38
38
  </FSSpan>
39
39
  </FSCol>
40
40
  </template>
@@ -108,10 +108,10 @@ export default defineComponent({
108
108
 
109
109
  const title = computed((): string => {
110
110
  if (props.removeTotal > 1) {
111
- return $tr("ui.dialog-remove.remove-plural", "Remove {0} entities", props.removeTotal.toString());
111
+ return $tr("dialog-remove.remove-plural", "Remove {0} entities", props.removeTotal.toString());
112
112
  }
113
113
  else {
114
- return $tr("ui.dialog-remove.remove-singular", "Remove an entity");
114
+ return $tr("dialog-remove.remove-singular", "Remove an entity");
115
115
  }
116
116
  });
117
117
 
@@ -185,11 +185,11 @@ export default defineComponent({
185
185
  });
186
186
 
187
187
  const cancelLabel = computed(() => {
188
- return props.cancelButtonLabel ?? $tr("ui.button.cancel", "Cancel");
188
+ return props.cancelButtonLabel ?? $tr("button.cancel", "Cancel");
189
189
  });
190
190
 
191
191
  const submitLabel = computed(() => {
192
- return props.submitButtonLabel ?? $tr("ui.button.validate", "Validate");
192
+ return props.submitButtonLabel ?? $tr("button.validate", "Validate");
193
193
  });
194
194
 
195
195
  return {
@@ -81,14 +81,14 @@
81
81
  font="text-overline"
82
82
  :style="style"
83
83
  >
84
- {{ $tr('ui.edit-image.format', 'PNG or JPG format') }}
84
+ {{ $tr('edit-image.format', 'PNG or JPG format') }}
85
85
  </FSText>
86
86
  <FSText
87
87
  class="fs-edit-image-overline"
88
88
  font="text-overline"
89
89
  :style="style"
90
90
  >
91
- {{ $tr('ui.edit-image.size', '10 MB Maximum') }}
91
+ {{ $tr('edit-image.max-size', '10 MB Maximum') }}
92
92
  </FSText>
93
93
  </FSCol>
94
94
  </FSCol>
@@ -154,7 +154,7 @@
154
154
  font="text-body"
155
155
  :lineClamp="2"
156
156
  >
157
- {{ $tr('ui.edit-image.add-image', 'Add an image.') }}
157
+ {{ $tr('edit-image.add-image', 'Add an image.') }}
158
158
  </FSText>
159
159
  <FSButtonFileMini
160
160
  class="fs-edit-image-hidden-button"
@@ -16,7 +16,7 @@
16
16
  <FSButton
17
17
  color="primary"
18
18
  width="100%"
19
- :label="$tr('ui.agenda.calendar.dialog.submit', 'Validate')"
19
+ :label="$tr('button.submit', 'Validate')"
20
20
  @click="onSubmit"
21
21
  />
22
22
  </FSCol>
@@ -47,7 +47,7 @@
47
47
  />
48
48
  <FSButton
49
49
  prependIcon="mdi-calendar-today-outline"
50
- :label="$tr('ui.agenda.today', 'Today')"
50
+ :label="$tr('ui.common.today', 'Today')"
51
51
  @click="onToday"
52
52
  />
53
53
  </FSRow>
@@ -58,7 +58,7 @@
58
58
  >
59
59
  <FSButton
60
60
  prependIcon="mdi-calendar-today-outline"
61
- :label="$tr('ui.agenda.today', 'Today')"
61
+ :label="$tr('ui.common.today', 'Today')"
62
62
  width="100%"
63
63
  @click="onToday"
64
64
  />
@@ -42,8 +42,8 @@ export default defineComponent({
42
42
  const { $tr } = useTranslationsProvider();
43
43
 
44
44
  const items = [
45
- { id: AgendaMode.Week, label: $tr('ui.agenda.week', 'Week'), icon: 'mdi-calendar-week' },
46
- { id: AgendaMode.Month, label: $tr('ui.agenda.month', 'Month'), icon: 'mdi-calendar-month' },
45
+ { id: AgendaMode.Week, label: $tr('ui.common.week', 'Week'), icon: 'mdi-calendar-week' },
46
+ { id: AgendaMode.Month, label: $tr('ui.common.month', 'Month'), icon: 'mdi-calendar-month' },
47
47
  ];
48
48
 
49
49
  return {
@@ -70,7 +70,7 @@
70
70
  class="fs-agenda-week-number-label"
71
71
  :color="weekTextColor"
72
72
  >
73
- {{ $tr('ui.common.agenda.week-short', 'W{0}',day.weekNumber) }}
73
+ {{ $tr('ui.common.week-short', 'W{0}',day.weekNumber) }}
74
74
  </FSText>
75
75
  </FSCol>
76
76
  </FSCard>
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <FSAutocompleteField
3
+ :label="$props.label ?? $tr('autocomplete.address.label', 'Address')"
3
4
  :clearable="false"
4
5
  :toggleSet="false"
5
6
  :multiple="false"
@@ -32,6 +33,11 @@ export default defineComponent({
32
33
  required: false,
33
34
  default: null
34
35
  },
36
+ label: {
37
+ type: String,
38
+ required: false,
39
+ default: null
40
+ }
35
41
  },
36
42
  emits: ["update:modelValue"],
37
43
  setup(props, { emit }) {
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <FSAutocompleteField
3
+ :label="$tr('autocomplete.language.label', 'Language')"
3
4
  :toggleSet="!$props.toggleSetDisabled && toggleSet"
4
5
  :multiple="$props.multiple"
5
6
  :placeholder="placeholder"
@@ -58,6 +59,11 @@ export default defineComponent({
58
59
  type: Boolean,
59
60
  required: false,
60
61
  default: false
62
+ },
63
+ label: {
64
+ type: String as PropType<string | null>,
65
+ required: false,
66
+ default: null
61
67
  }
62
68
  },
63
69
  emits: ["update:modelValue"],
@@ -71,7 +77,7 @@ export default defineComponent({
71
77
 
72
78
  const placeholder = computed((): string | null => {
73
79
  if (props.multiple && props.modelValue) {
74
- return $tr("ui.autocomplete-language.placeholder", "{0} language(s) selected", props.modelValue.length);
80
+ return $tr("autocomplete.language.placeholder", "{0} language(s) selected", props.modelValue.length);
75
81
  }
76
82
  return null;
77
83
  });
@@ -1,6 +1,7 @@
1
1
  <template>
2
2
  <FSAutocompleteField
3
3
  itemTitle="id"
4
+ :label="$tr('autocomplete.time-zone.label', 'Time zone')"
4
5
  :toggleSet="!$props.toggleSetDisabled && toggleSet"
5
6
  :multiple="$props.multiple"
6
7
  :placeholder="placeholder"
@@ -81,6 +82,11 @@ export default defineComponent({
81
82
  type: Boolean,
82
83
  required: false,
83
84
  default: false
85
+ },
86
+ label: {
87
+ type: String as PropType<string | null>,
88
+ required: false,
89
+ default: null
84
90
  }
85
91
  },
86
92
  emits: ["update:modelValue"],
@@ -94,7 +100,7 @@ export default defineComponent({
94
100
 
95
101
  const placeholder = computed((): string | null => {
96
102
  if (props.multiple && props.modelValue) {
97
- return $tr("ui.autocomplete-time-zone.placeholder", "{0} time zone(s) selected", props.modelValue.length);
103
+ return $tr("autocomplete.time-zone.placeholder", "{0} time zone(s) selected", props.modelValue.length);
98
104
  }
99
105
  return null;
100
106
  });
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <FSButton
3
3
  prependIcon="mdi-plus-circle-outline"
4
- :label="$tr('ui.button.add', 'Add')"
4
+ :label="$tr('button.add', 'Add')"
5
5
  :color="ColorEnum.Primary"
6
6
  v-bind="$attrs"
7
7
  />
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSButton
3
- :label="$tr('ui.button.add', 'Add')"
3
+ :label="$tr('button.add', 'Add')"
4
4
  :color="ColorEnum.Primary"
5
5
  v-bind="$attrs"
6
6
  />
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <FSButton
3
3
  prependIcon="mdi-cancel"
4
- :label="$tr('ui.button.cancel', 'Cancel')"
4
+ :label="$tr('button.cancel', 'Cancel')"
5
5
  :color="ColorEnum.Light"
6
6
  v-bind="$attrs"
7
7
  />
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSButton
3
- :label="$tr('ui.button.cancel', 'Cancel')"
3
+ :label="$tr('button.cancel', 'Cancel')"
4
4
  :color="ColorEnum.Light"
5
5
  v-bind="$attrs"
6
6
  />
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <FSButton
3
3
  prependIcon="mdi-content-copy"
4
- :label="$tr('ui.button.copy', 'Copy')"
4
+ :label="$tr('button.copy', 'Copy')"
5
5
  :color="ColorEnum.Light"
6
6
  v-bind="$attrs"
7
7
  />
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSButton
3
- :label="$tr('ui.button.copy', 'Copy')"
3
+ :label="$tr('button.copy', 'Copy')"
4
4
  :color="ColorEnum.Light"
5
5
  v-bind="$attrs"
6
6
  />
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <FSButton
3
3
  prependIcon="mdi-content-copy"
4
- :label="$tr('ui.button.duplicate', 'Duplicate')"
4
+ :label="$tr('button.duplicate', 'Duplicate')"
5
5
  :color="ColorEnum.Light"
6
6
  v-bind="$attrs"
7
7
  />
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSButton
3
- :label="$tr('ui.button.duplicate', 'Duplicate')"
3
+ :label="$tr('button.duplicate', 'Duplicate')"
4
4
  :color="ColorEnum.Light"
5
5
  v-bind="$attrs"
6
6
  />
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <FSButton
3
3
  prependIcon="mdi-pencil-outline"
4
- :label="$tr('ui.button.edit', 'Edit')"
4
+ :label="$tr('button.edit', 'Edit')"
5
5
  :color="ColorEnum.Light"
6
6
  v-bind="$attrs"
7
7
  />
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSButton
3
- :label="$tr('ui.button.edit', 'Edit')"
3
+ :label="$tr('button.edit', 'Edit')"
4
4
  :color="ColorEnum.Light"
5
5
  v-bind="$attrs"
6
6
  />
@@ -2,7 +2,7 @@
2
2
  <div>
3
3
  <FSButton
4
4
  prependIcon="mdi-upload-outline"
5
- :label="$tr('ui.button.import-file', 'Import file')"
5
+ :label="$tr('button.import-file', 'Import file')"
6
6
  :color="ColorEnum.Light"
7
7
  @click="onClick"
8
8
  v-bind="$attrs"
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div>
3
3
  <FSButton
4
- :label="$tr('ui.button.import-file', 'Import file')"
4
+ :label="$tr('button.import-file', 'Import file')"
5
5
  :color="ColorEnum.Light"
6
6
  @click="onClick"
7
7
  v-bind="$attrs"
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <FSButton
3
3
  appendIcon="mdi-chevron-right"
4
- :label="$tr('ui.button.next', 'Next')"
4
+ :label="$tr('button.next', 'Next')"
5
5
  :color="ColorEnum.Primary"
6
6
  v-bind="$attrs"
7
7
  />
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSButton
3
- :label="$tr('ui.button.next', 'Next')"
3
+ :label="$tr('button.next', 'Next')"
4
4
  :color="ColorEnum.Primary"
5
5
  v-bind="$attrs"
6
6
  />
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <FSButton
3
3
  prependIcon="mdi-chevron-left"
4
- :label="$tr('ui.button.previous', 'Previous')"
4
+ :label="$tr('button.previous', 'Previous')"
5
5
  :color="ColorEnum.Primary"
6
6
  v-bind="$attrs"
7
7
  />
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSButton
3
- :label="$tr('ui.button.previous', 'Previous')"
3
+ :label="$tr('button.previous', 'Previous')"
4
4
  :color="ColorEnum.Primary"
5
5
  v-bind="$attrs"
6
6
  />
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <FSButton
3
3
  prependIcon="mdi-redo-variant"
4
- :label="$tr('ui.button.redo', 'Redo')"
4
+ :label="$tr('button.redo', 'Redo')"
5
5
  :color="ColorEnum.Light"
6
6
  v-bind="$attrs"
7
7
  />
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSButton
3
- :label="$tr('ui.button.redo', 'Redo')"
3
+ :label="$tr('button.redo', 'Redo')"
4
4
  :color="ColorEnum.Light"
5
5
  v-bind="$attrs"
6
6
  />
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <FSButton
3
3
  prependIcon="mdi-delete-outline"
4
- :label="$tr('ui.button.remove', 'Remove')"
4
+ :label="$tr('button.remove', 'Remove')"
5
5
  :color="ColorEnum.Error"
6
6
  v-bind="$attrs"
7
7
  />
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSButton
3
- :label="$tr('ui.button.remove', 'Remove')"
3
+ :label="$tr('button.remove', 'Remove')"
4
4
  :color="ColorEnum.Error"
5
5
  v-bind="$attrs"
6
6
  />
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <FSButton
3
3
  prependIcon="mdi-content-save-outline"
4
- :label="$tr('ui.button.save', 'Save')"
4
+ :label="$tr('button.save', 'Save')"
5
5
  :color="ColorEnum.Primary"
6
6
  v-bind="$attrs"
7
7
  />
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSButton
3
- :label="$tr('ui.button.save', 'Save')"
3
+ :label="$tr('button.save', 'Save')"
4
4
  :color="ColorEnum.Primary"
5
5
  v-bind="$attrs"
6
6
  />
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <FSButton
3
3
  prependIcon="mdi-magnify"
4
- :label="$tr('ui.button.search', 'Search')"
4
+ :label="$tr('button.search', 'Search')"
5
5
  :color="ColorEnum.Primary"
6
6
  v-bind="$attrs"
7
7
  />
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSButton
3
- :label="$tr('ui.button.search', 'Search')"
3
+ :label="$tr('button.search', 'Search')"
4
4
  :color="ColorEnum.Primary"
5
5
  v-bind="$attrs"
6
6
  />
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <FSButton
3
3
  prependIcon="mdi-undo-variant"
4
- :label="$tr('ui.button.undo', 'Undo')"
4
+ :label="$tr('button.undo', 'Undo')"
5
5
  :color="ColorEnum.Light"
6
6
  v-bind="$attrs"
7
7
  />
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSButton
3
- :label="$tr('ui.button.undo', 'Undo')"
3
+ :label="$tr('button.undo', 'Undo')"
4
4
  :color="ColorEnum.Light"
5
5
  v-bind="$attrs"
6
6
  />
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <FSButton
3
3
  prependIcon="mdi-pencil-outline"
4
- :label="$tr('ui.button.update', 'Update')"
4
+ :label="$tr('button.update', 'Update')"
5
5
  :color="ColorEnum.Primary"
6
6
  v-bind="$attrs"
7
7
  />
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSButton
3
- :label="$tr('ui.button.update', 'Update')"
3
+ :label="$tr('button.update', 'Update')"
4
4
  :color="ColorEnum.Primary"
5
5
  v-bind="$attrs"
6
6
  />
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <FSButton
3
3
  prependIcon="mdi-check"
4
- :label="$tr('ui.button.validate', 'Validate')"
4
+ :label="$tr('button.validate', 'Validate')"
5
5
  :color="ColorEnum.Primary"
6
6
  v-bind="$attrs"
7
7
  />
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <FSButton
3
- :label="$tr('ui.button.validate', 'Validate')"
3
+ :label="$tr('button.validate', 'Validate')"
4
4
  :color="ColorEnum.Primary"
5
5
  v-bind="$attrs"
6
6
  />
@@ -84,29 +84,29 @@ export default defineComponent({
84
84
  const monthToString = (month: number) => {
85
85
  switch(month) {
86
86
  case Months.January:
87
- return $tr("ui.months.january", "January");
87
+ return $tr("ui.common.january", "January");
88
88
  case Months.February:
89
- return $tr("ui.months.february", "February");
89
+ return $tr("ui.common.february", "February");
90
90
  case Months.March:
91
- return $tr("ui.months.march", "March");
91
+ return $tr("ui.common.march", "March");
92
92
  case Months.April:
93
- return $tr("ui.months.april", "April");
93
+ return $tr("ui.common.april", "April");
94
94
  case Months.May:
95
- return $tr("ui.months.may", "May");
95
+ return $tr("ui.common.may", "May");
96
96
  case Months.June:
97
- return $tr("ui.months.june", "June");
97
+ return $tr("ui.common.june", "June");
98
98
  case Months.July:
99
- return $tr("ui.months.july", "July");
99
+ return $tr("ui.common.july", "July");
100
100
  case Months.August:
101
- return $tr("ui.months.august", "August");
101
+ return $tr("ui.common.august", "August");
102
102
  case Months.September:
103
- return $tr("ui.months.september", "September");
103
+ return $tr("ui.common.september", "September");
104
104
  case Months.October:
105
- return $tr("ui.months.october", "October");
105
+ return $tr("ui.common.october", "October");
106
106
  case Months.November:
107
- return $tr("ui.months.november", "November");
107
+ return $tr("ui.common.november", "November");
108
108
  case Months.December:
109
- return $tr("ui.months.december", "December");
109
+ return $tr("ui.common.december", "December");
110
110
  }
111
111
  }
112
112
 
@@ -212,7 +212,7 @@
212
212
  >
213
213
  <FSButton
214
214
  variant="icon"
215
- :label="$tr('ui.autocomplete-field.add-item', 'Add new item')"
215
+ :label="$tr('autocomplete-field.add-item', 'Add new item')"
216
216
  :color="ColorEnum.Primary"
217
217
  @click="$emit('add:item', search)"
218
218
  />
@@ -222,7 +222,7 @@
222
222
  padding="4px 3px"
223
223
  >
224
224
  <FSSpan>
225
- {{ $tr("ui.autocomplete-field.no-data", "No data") }}
225
+ {{ $tr("autocomplete-field.no-data", "No data") }}
226
226
  </FSSpan>
227
227
  </FSRow>
228
228
  </template>
@@ -414,7 +414,7 @@
414
414
  >
415
415
  <FSButton
416
416
  variant="icon"
417
- :label="$tr('ui.autocomplete-field.add-item', 'Add new item')"
417
+ :label="$tr('autocomplete-field.add-item', 'Add new item')"
418
418
  :color="ColorEnum.Primary"
419
419
  @click="$emit('add:item', search)"
420
420
  />
@@ -62,7 +62,7 @@ export default defineComponent({
62
62
  if (!props.modelValue || props.modelValue.length === 0) {
63
63
  return null;
64
64
  }
65
- return props.placeholder ?? $tr("ui.autocomplete-tag.items-selected", "{0} item(s) selected", props.modelValue?.length ?? 0);
65
+ return props.placeholder ?? $tr("autocomplete.tag.selecteds", "{0} item(s) selected", props.modelValue?.length ?? 0);
66
66
  });
67
67
 
68
68
  const onUpdateModelValue = (value: string[] | null): void => {
@@ -15,6 +15,7 @@
15
15
  :modelValue="toShortDateFormat"
16
16
  @click="onClick"
17
17
  @update:modelValue="onClear"
18
+ v-bind="$attrs"
18
19
  >
19
20
  <template
20
21
  #prepend-inner