@ostack.tech/ui-kform 0.15.0 → 0.15.2
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/dist/chunks/en-CaLvO1z0.js +133 -0
- package/dist/chunks/en-CaLvO1z0.js.map +1 -0
- package/dist/locales/en-GB.js +10 -8
- package/dist/locales/en-GB.js.map +1 -1
- package/dist/locales/en-US.js +10 -8
- package/dist/locales/en-US.js.map +1 -1
- package/dist/locales/fr-FR.js +133 -145
- package/dist/locales/fr-FR.js.map +1 -1
- package/dist/locales/pt-PT.js +133 -145
- package/dist/locales/pt-PT.js.map +1 -1
- package/dist/ostack-ui-kform.js +5559 -7867
- package/dist/ostack-ui-kform.js.map +1 -1
- package/package.json +10 -10
- package/{dist/types → types}/components/Annexes/Annex.d.ts +5 -5
- package/{dist/types → types}/components/Annexes/AnnexRegistrar.d.ts +1 -1
- package/{dist/types → types}/components/Annexes/AnnexTab.d.ts +2 -2
- package/{dist/types → types}/components/Annexes/Annexes.d.ts +4 -4
- package/{dist/types → types}/components/Annexes/AnnexesContext.d.ts +5 -5
- package/{dist/types → types}/components/Annexes/AnnexesManager.d.ts +3 -3
- package/{dist/types → types}/components/Annexes/AnnexesMenu.d.ts +4 -4
- package/{dist/types → types}/components/Annexes/AnnexesTabList.d.ts +3 -3
- package/{dist/types → types}/components/Annexes/RepetitiveAnnexRegistrar.d.ts +2 -2
- package/types/components/Annexes/index.d.ts +5 -0
- package/{dist/types → types}/components/CheckboxControl/CheckboxControl.d.ts +6 -6
- package/types/components/CheckboxControl/index.d.ts +1 -0
- package/{dist/types → types}/components/CheckboxGroupControl/CheckboxGroupControl.d.ts +6 -6
- package/types/components/CheckboxGroupControl/index.d.ts +1 -0
- package/{dist/types → types}/components/ControlField/ControlField.d.ts +4 -4
- package/{dist/types → types}/components/ControlField/ControlFieldContext.d.ts +4 -4
- package/types/components/ControlField/index.d.ts +2 -0
- package/{dist/types → types}/components/DateControl/DateControl.d.ts +6 -6
- package/types/components/DateControl/index.d.ts +1 -0
- package/{dist/types → types}/components/DateRangeControl/DateRangeControl.d.ts +6 -6
- package/types/components/DateRangeControl/index.d.ts +1 -0
- package/{dist/types → types}/components/FileControl/FileControl.d.ts +6 -6
- package/types/components/FileControl/index.d.ts +1 -0
- package/{dist/types → types}/components/FormApp/FormApp.d.ts +9 -9
- package/{dist/types → types}/components/FormApp/FormAppContext.d.ts +7 -7
- package/{dist/types → types}/components/FormApp/FormAppElement.d.ts +3 -3
- package/{dist/types → types}/components/FormApp/FormAppIssueMessages.d.ts +3 -3
- package/{dist/types → types}/components/FormApp/FormAppStatus.d.ts +2 -2
- package/{dist/types → types}/components/FormApp/index.d.ts +4 -4
- package/{dist/types → types}/components/FormPages/FormPage.d.ts +6 -6
- package/{dist/types → types}/components/FormPages/FormPageHeader.d.ts +3 -3
- package/{dist/types → types}/components/FormPages/FormPageRegistrar.d.ts +1 -1
- package/{dist/types → types}/components/FormPages/FormPageSidebarItem.d.ts +2 -2
- package/{dist/types → types}/components/FormPages/FormPages.d.ts +3 -3
- package/{dist/types → types}/components/FormPages/FormPagesContext.d.ts +5 -5
- package/{dist/types → types}/components/FormPages/FormPagesNavigation.d.ts +4 -4
- package/{dist/types → types}/components/FormPages/FormPagesSelect.d.ts +2 -2
- package/{dist/types → types}/components/FormPages/FormPagesSelectOption.d.ts +2 -2
- package/{dist/types → types}/components/FormPages/FormPagesSidebar.d.ts +2 -2
- package/types/components/FormPages/index.d.ts +4 -0
- package/{dist/types → types}/components/FormStepper/FormStep.d.ts +6 -6
- package/{dist/types → types}/components/FormStepper/FormStepButton.d.ts +2 -2
- package/types/components/FormStepper/FormStepList.d.ts +7 -0
- package/{dist/types → types}/components/FormStepper/FormStepRegistrar.d.ts +1 -1
- package/{dist/types → types}/components/FormStepper/FormStepper.d.ts +4 -4
- package/{dist/types → types}/components/FormStepper/FormStepperContext.d.ts +5 -5
- package/types/components/FormStepper/FormStepperFinishTrigger.d.ts +2 -0
- package/types/components/FormStepper/FormStepperNextTrigger.d.ts +2 -0
- package/types/components/FormStepper/FormStepperPreviousTrigger.d.ts +2 -0
- package/{dist/types → types}/components/FormStepper/FormStepperState.d.ts +1 -1
- package/types/components/FormStepper/index.d.ts +7 -0
- package/{dist/types → types}/components/IssueMessage/IssueMessage.d.ts +4 -4
- package/types/components/IssueMessage/index.d.ts +1 -0
- package/{dist/types → types}/components/IssueMessages/IssueMessages.d.ts +4 -4
- package/types/components/IssueMessages/index.d.ts +1 -0
- package/{dist/types → types}/components/IssuesAlert/IssuesAlert.d.ts +4 -4
- package/types/components/IssuesAlert/index.d.ts +1 -0
- package/{dist/types → types}/components/IssuesPanel/IssuesPanel.d.ts +4 -4
- package/{dist/types → types}/components/IssuesPanel/IssuesPanelControls.d.ts +5 -5
- package/{dist/types → types}/components/IssuesPanel/IssuesPanelMessagesCard.d.ts +6 -6
- package/types/components/IssuesPanel/IssuesPanelSummaryCard.d.ts +9 -0
- package/types/components/IssuesPanel/index.d.ts +1 -0
- package/{dist/types → types}/components/IssuesPopover/IssuesPopover.d.ts +4 -4
- package/types/components/IssuesPopover/index.d.ts +1 -0
- package/{dist/types → types}/components/LoadAction/LoadAction.d.ts +4 -4
- package/types/components/LoadAction/index.d.ts +1 -0
- package/{dist/types → types}/components/NumericControl/NumericControl.d.ts +6 -6
- package/types/components/NumericControl/index.d.ts +1 -0
- package/{dist/types → types}/components/PathLink/PathLink.d.ts +2 -2
- package/types/components/PathLink/index.d.ts +1 -0
- package/{dist/types → types}/components/PrintAction/PrintAction.d.ts +3 -3
- package/types/components/PrintAction/index.d.ts +1 -0
- package/{dist/types → types}/components/RadioGroupControl/RadioGroupControl.d.ts +6 -6
- package/types/components/RadioGroupControl/index.d.ts +1 -0
- package/{dist/types → types}/components/SaveAction/SaveAction.d.ts +4 -4
- package/types/components/SaveAction/index.d.ts +1 -0
- package/{dist/types → types}/components/SelectControl/SelectControl.d.ts +7 -7
- package/types/components/SelectControl/index.d.ts +1 -0
- package/{dist/types → types}/components/SelectMultipleControl/SelectMultipleControl.d.ts +7 -7
- package/types/components/SelectMultipleControl/index.d.ts +1 -0
- package/{dist/types → types}/components/SubmitAction/SubmitAction.d.ts +5 -5
- package/types/components/SubmitAction/index.d.ts +1 -0
- package/{dist/types → types}/components/TableControl/TableControl.d.ts +8 -8
- package/{dist/types → types}/components/TableControl/TableControlAddRowTrigger.d.ts +3 -3
- package/{dist/types → types}/components/TableControl/TableControlApi.d.ts +4 -4
- package/types/components/TableControl/TableControlCell.d.ts +7 -0
- package/{dist/types → types}/components/TableControl/TableControlColumn.d.ts +4 -4
- package/{dist/types → types}/components/TableControl/TableControlContent.d.ts +3 -3
- package/{dist/types → types}/components/TableControl/TableControlContext.d.ts +7 -7
- package/types/components/TableControl/TableControlPagination.d.ts +2 -0
- package/{dist/types → types}/components/TableControl/TableControlRemoveRowTrigger.d.ts +3 -3
- package/types/components/TableControl/TableControlRow.d.ts +7 -0
- package/types/components/TableControl/TableControlRowsPerPage.d.ts +2 -0
- package/types/components/TableControl/index.d.ts +8 -0
- package/{dist/types → types}/components/TextControl/TextControl.d.ts +6 -6
- package/types/components/TextControl/index.d.ts +1 -0
- package/types/components/TopBar/TopBar.d.ts +6 -0
- package/types/components/TopBar/TopBarActions.d.ts +7 -0
- package/{dist/types → types}/components/TopBar/TopBarContext.d.ts +1 -1
- package/types/components/TopBar/index.d.ts +3 -0
- package/{dist/types → types}/components/UnknownValue/UnknownValue.d.ts +2 -2
- package/types/components/UnknownValue/index.d.ts +1 -0
- package/{dist/types → types}/components/ValidateAction/ValidateAction.d.ts +3 -3
- package/types/components/ValidateAction/index.d.ts +1 -0
- package/types/index.d.ts +39 -0
- package/types/locales/en-GB.d.ts +3 -0
- package/types/locales/en-US.d.ts +3 -0
- package/{dist/types → types}/locales/en.d.ts +1 -1
- package/types/locales/fr-FR.d.ts +3 -0
- package/types/locales/index.d.ts +4 -0
- package/types/locales/pt-PT.d.ts +3 -0
- package/{dist/types → types}/providers/ActivePathProvider/ActivePathContext.d.ts +2 -2
- package/{dist/types → types}/providers/ActivePathProvider/ActivePathProvider.d.ts +3 -3
- package/types/providers/ActivePathProvider/index.d.ts +2 -0
- package/{dist/types → types}/providers/LocalizationProvider/LocalizationContext.d.ts +2 -2
- package/{dist/types → types}/providers/LocalizationProvider/LocalizationObject.d.ts +20 -20
- package/{dist/types → types}/providers/LocalizationProvider/LocalizationProvider.d.ts +3 -3
- package/types/providers/LocalizationProvider/index.d.ts +4 -0
- package/{dist/types → types}/providers/LocalizationProvider/useLocale.d.ts +1 -1
- package/types/providers/PrefixSuffixProvider/PrefixSuffixContext.d.ts +2 -0
- package/{dist/types → types}/providers/PrefixSuffixProvider/PrefixSuffixProvider.d.ts +2 -2
- package/{dist/types → types}/providers/PrefixSuffixProvider/defaultPrefixSuffix.d.ts +1 -1
- package/types/providers/PrefixSuffixProvider/index.d.ts +4 -0
- package/{dist/types → types}/providers/PrefixSuffixProvider/usePrefix.d.ts +1 -1
- package/{dist/types → types}/utils/dateRestrictions.d.ts +2 -2
- package/{dist/types → types}/utils/displayStatusConversions.d.ts +2 -2
- package/{dist/types → types}/utils/mostSpecificPath.d.ts +1 -1
- package/{dist/types → types}/utils/options.d.ts +2 -2
- package/{dist/types → types}/utils/pathSpecificity.d.ts +1 -1
- package/{dist/types → types}/utils/selectionTransformations.d.ts +4 -4
- package/{dist/types → types}/utils/useControlAutofocus.d.ts +2 -2
- package/{dist/types → types}/utils/useControlIssues.d.ts +3 -3
- package/{dist/types → types}/utils/useFormLoader.d.ts +3 -3
- package/{dist/types → types}/utils/useFormSaver.d.ts +3 -3
- package/{dist/types → types}/utils/useRegisterControl.d.ts +3 -3
- package/{dist/types → types}/utils/useReportValidationFailures.d.ts +1 -1
- package/{dist/types → types}/utils/useResetOnChange.d.ts +3 -3
- package/{dist/types → types}/utils/useTemporalStringTransformer.d.ts +3 -3
- package/dist/chunks/en-Cb79GQnj.js +0 -145
- package/dist/chunks/en-Cb79GQnj.js.map +0 -1
- package/dist/types/components/Annexes/index.d.ts +0 -5
- package/dist/types/components/CheckboxControl/index.d.ts +0 -1
- package/dist/types/components/CheckboxGroupControl/index.d.ts +0 -1
- package/dist/types/components/ControlField/index.d.ts +0 -2
- package/dist/types/components/DateControl/index.d.ts +0 -1
- package/dist/types/components/DateRangeControl/index.d.ts +0 -1
- package/dist/types/components/FileControl/index.d.ts +0 -1
- package/dist/types/components/FormPages/index.d.ts +0 -4
- package/dist/types/components/FormStepper/FormStepList.d.ts +0 -7
- package/dist/types/components/FormStepper/FormStepperFinishTrigger.d.ts +0 -2
- package/dist/types/components/FormStepper/FormStepperNextTrigger.d.ts +0 -2
- package/dist/types/components/FormStepper/FormStepperPreviousTrigger.d.ts +0 -2
- package/dist/types/components/FormStepper/index.d.ts +0 -7
- package/dist/types/components/IssueMessage/index.d.ts +0 -1
- package/dist/types/components/IssueMessages/index.d.ts +0 -1
- package/dist/types/components/IssuesAlert/index.d.ts +0 -1
- package/dist/types/components/IssuesPanel/IssuesPanelSummaryCard.d.ts +0 -9
- package/dist/types/components/IssuesPanel/index.d.ts +0 -1
- package/dist/types/components/IssuesPopover/index.d.ts +0 -1
- package/dist/types/components/LoadAction/index.d.ts +0 -1
- package/dist/types/components/NumericControl/index.d.ts +0 -1
- package/dist/types/components/PathLink/index.d.ts +0 -1
- package/dist/types/components/PrintAction/index.d.ts +0 -1
- package/dist/types/components/RadioGroupControl/index.d.ts +0 -1
- package/dist/types/components/SaveAction/index.d.ts +0 -1
- package/dist/types/components/SelectControl/index.d.ts +0 -1
- package/dist/types/components/SelectMultipleControl/index.d.ts +0 -1
- package/dist/types/components/SubmitAction/index.d.ts +0 -1
- package/dist/types/components/TableControl/TableControlCell.d.ts +0 -7
- package/dist/types/components/TableControl/TableControlPagination.d.ts +0 -2
- package/dist/types/components/TableControl/TableControlRow.d.ts +0 -7
- package/dist/types/components/TableControl/TableControlRowsPerPage.d.ts +0 -2
- package/dist/types/components/TableControl/index.d.ts +0 -8
- package/dist/types/components/TextControl/index.d.ts +0 -1
- package/dist/types/components/TopBar/TopBar.d.ts +0 -6
- package/dist/types/components/TopBar/TopBarActions.d.ts +0 -7
- package/dist/types/components/TopBar/index.d.ts +0 -3
- package/dist/types/components/UnknownValue/index.d.ts +0 -1
- package/dist/types/components/ValidateAction/index.d.ts +0 -1
- package/dist/types/index.d.ts +0 -39
- package/dist/types/locales/en-GB.d.ts +0 -3
- package/dist/types/locales/en-US.d.ts +0 -3
- package/dist/types/locales/fr-FR.d.ts +0 -3
- package/dist/types/locales/index.d.ts +0 -4
- package/dist/types/locales/pt-PT.d.ts +0 -3
- package/dist/types/providers/ActivePathProvider/index.d.ts +0 -2
- package/dist/types/providers/LocalizationProvider/index.d.ts +0 -4
- package/dist/types/providers/PrefixSuffixProvider/PrefixSuffixContext.d.ts +0 -2
- package/dist/types/providers/PrefixSuffixProvider/index.d.ts +0 -4
- /package/{dist/types → types}/components/FormApp/FormAppAutoFocus.d.ts +0 -0
- /package/{dist/types → types}/utils/useEqualityFn.d.ts +0 -0
- /package/{dist/types → types}/utils/useFormValidator.d.ts +0 -0
package/dist/locales/pt-PT.js
CHANGED
|
@@ -1,147 +1,135 @@
|
|
|
1
|
-
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
1
|
import { ptPT } from "@ostack.tech/ui";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
index + 1,
|
|
133
|
-
"?"
|
|
134
|
-
] }),
|
|
135
|
-
confirmDialogOkText: "Remover"
|
|
136
|
-
},
|
|
137
|
-
UnknownValue: {
|
|
138
|
-
label: "Valor desconhecido"
|
|
139
|
-
},
|
|
140
|
-
ValidateAction: {
|
|
141
|
-
label: "Validar"
|
|
142
|
-
}
|
|
2
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
//#region src/locales/pt-PT.tsx
|
|
4
|
+
/** `pt-PT` locale. */
|
|
5
|
+
var locale = {
|
|
6
|
+
baseLocale: ptPT,
|
|
7
|
+
AnnexesManager: {
|
|
8
|
+
"aria-label": "Anexos",
|
|
9
|
+
menuButtonText: "Anexos",
|
|
10
|
+
menuButtonLabel: "Gestor de anexos",
|
|
11
|
+
addAnnexText: "Adicionar anexo",
|
|
12
|
+
removeAnnexButtonLabel: "Remover anexo",
|
|
13
|
+
removeAnnexKeyboardHint: "Pressione “Delete” para remover o anexo.",
|
|
14
|
+
removeAnnexConfirmDialogTitle: "Remover anexo",
|
|
15
|
+
removeAnnexConfirmDialogMessage: (annexName) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
16
|
+
"Tem a certeza que pretende remover o anexo ",
|
|
17
|
+
annexName,
|
|
18
|
+
"?"
|
|
19
|
+
] }),
|
|
20
|
+
removeAnnexConfirmDialogOkText: "Remover"
|
|
21
|
+
},
|
|
22
|
+
CheckboxGroupControl: {},
|
|
23
|
+
DateRangeControl: {
|
|
24
|
+
issuesPanelStartLabelSuffix: " (data de início)",
|
|
25
|
+
issuesPanelEndLabelSuffix: " (data de fim)"
|
|
26
|
+
},
|
|
27
|
+
FileControl: {
|
|
28
|
+
clearDescription: "Pressione Backspace ou Delete para limpar.",
|
|
29
|
+
viewFileButtonLabel: "Visualizar ficheiro",
|
|
30
|
+
downloadFileButtonLabel: "Descarregar ficheiro",
|
|
31
|
+
fallbackText: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
32
|
+
"O ficheiro selecionado não pode ser visualizado neste navegador.",
|
|
33
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
34
|
+
"Por favor use o botão acima para descarregar o ficheiro. Pode depois abri-lo utilizando uma aplicação externa."
|
|
35
|
+
] })
|
|
36
|
+
},
|
|
37
|
+
FormApp: {
|
|
38
|
+
formTitle: "Formulário",
|
|
39
|
+
issueMessages: { "/**": {
|
|
40
|
+
valueMissing: "Campo de preenchimento obrigatório.",
|
|
41
|
+
valueDisallowed: "Valor indicado não permitido.",
|
|
42
|
+
rangeUnderflow: "Valor inferior ao mínimo permitido.",
|
|
43
|
+
rangeOverflow: "Valor excede o máximo permitido.",
|
|
44
|
+
lengthMismatch: (_data, { typeInfo: { name, restrictions } }) => name === "String" && typeof restrictions.minLength === "number" && restrictions.minLength === restrictions.maxLength ? `Valor deve ter ${restrictions.minLength} ${restrictions.minLength === 1 ? "carácter" : "caracteres"}.` : "Valor tem comprimento inválido.",
|
|
45
|
+
tooShort: (_data, { typeInfo: { name, restrictions } }) => name === "String" && typeof restrictions.minLength === "number" ? `Valor não deve ter menos de ${restrictions.minLength} ${restrictions.minLength === 1 ? "caractér" : "caracteres"}.` : "Valor demasiado curto.",
|
|
46
|
+
tooLong: (_data, { typeInfo: { name, restrictions } }) => name === "String" && typeof restrictions.maxLength === "number" ? `Valor não deve ter mais de ${restrictions.maxLength} ${restrictions.maxLength === 1 ? "caractér" : "caracteres"}.` : "Valor demasiado longo.",
|
|
47
|
+
sizeMismatch: (_data, { typeInfo: { restrictions } }) => typeof restrictions.minSize === "number" && restrictions.minSize === restrictions.maxSize ? `Campo deve ter ${restrictions.minSize} ${restrictions.minSize === 1 ? "item" : "itens"}.` : "Campo tem número inválido de itens.",
|
|
48
|
+
tooSmall: (_data, { typeInfo: { restrictions } }) => typeof restrictions.minLength === "number" ? `Campo não deve ter menos de ${restrictions.minLength} ${restrictions.minLength === 1 ? "item" : "itens"}.` : "Número de itens do campo não é suficiente.",
|
|
49
|
+
tooLarge: (_data, { typeInfo: { restrictions } }) => typeof restrictions.maxLength === "number" ? `Campo não deve ter mais de ${restrictions.maxLength} ${restrictions.maxLength === 1 ? "item" : "itens"}.` : "Número de itens do campo excede o limite permitido.",
|
|
50
|
+
scaleMismatch: (_data, { typeInfo: { restrictions } }) => typeof restrictions.scale === "number" ? `Valor deve ter ${restrictions.scale} ${restrictions.scale === 1 ? "casa decimal" : "casas decimais"}.` : "Valor tem número inválido de casas decimais.",
|
|
51
|
+
patternMismatch: "Valor não segue o padrão permitido.",
|
|
52
|
+
emailPatternMismatch: "Endereço de correio eletrónico inválido.",
|
|
53
|
+
fileTypeMismatch: (_data, { typeInfo: { restrictions } }) => Array.isArray(restrictions.acceptedFileTypes) ? `Apenas os seguintes tipos de ficheiro são permitidos: ${restrictions.acceptedFileTypes.join(", ")}.` : "Tipo do ficheiro indicado não é permitido.",
|
|
54
|
+
itemsRepeated: ({ firstIndex, secondIndex }) => firstIndex != null && secondIndex != null ? `Itens ${+firstIndex + 1} e ${+secondIndex + 1} encontram-se repetidos.` : "Campo contém itens repetidos.",
|
|
55
|
+
computedValueMismatch: "O valor difere do valor calculado.",
|
|
56
|
+
validationFailed: (data) => process.env.NODE_ENV !== "production" ? data.exception : "Algo correu mal ao validar este campo. Por favor volte a tentar mais tarde."
|
|
57
|
+
} },
|
|
58
|
+
confirmUnloadMessage: "Tem a certeza que pretende sair da página? Alterações que fez ao formulário podem não ter sido guardadas."
|
|
59
|
+
},
|
|
60
|
+
FormPagesNavigation: { "aria-label": "Páginas" },
|
|
61
|
+
FormPage: {
|
|
62
|
+
helperButtonLabel: "Mostrar ajuda",
|
|
63
|
+
visuallyHiddenCodePrefix: "Página"
|
|
64
|
+
},
|
|
65
|
+
IssueMessages: {
|
|
66
|
+
visuallyHiddenErrorCodePrefix: "Código de erro,",
|
|
67
|
+
visuallyHiddenWarningCodePrefix: "Código de alerta,",
|
|
68
|
+
unknownErrorMessage: "Campo com erro desconhecido.",
|
|
69
|
+
unknownWarningMessage: "Campo com alerta desconhecido."
|
|
70
|
+
},
|
|
71
|
+
IssuesPanel: {
|
|
72
|
+
errorsLabel: (errors) => errors === void 0 ? "Erros" : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
73
|
+
errors,
|
|
74
|
+
"\xA0",
|
|
75
|
+
errors === 1 ? "Erro" : "Erros"
|
|
76
|
+
] }),
|
|
77
|
+
warningsLabel: (warnings) => warnings === void 0 ? "Alertas" : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
78
|
+
warnings,
|
|
79
|
+
"\xA0",
|
|
80
|
+
warnings === 1 ? "Alerta" : "Alertas"
|
|
81
|
+
] }),
|
|
82
|
+
focusButtonLabel: "Focar campo",
|
|
83
|
+
previousIssueButtonLabel: "Campo com problemas anterior",
|
|
84
|
+
nextIssueButtonLabel: "Próximo campo com problemas",
|
|
85
|
+
firstIssueButtonLabel: "Primeiro campo com problemas",
|
|
86
|
+
lastIssueButtonLabel: "Último campo com problemas",
|
|
87
|
+
paginationLabel: (currentPage, totalPages) => `Campo com problemas ${currentPage} de ${totalPages}.`,
|
|
88
|
+
noIssuesMessage: "Nenhum problema a reportar.",
|
|
89
|
+
resolvedTitle: "Resolvido",
|
|
90
|
+
resolvedMessage: "Problemas foram resolvidos. Por favor avance para o próximo campo com problemas."
|
|
91
|
+
},
|
|
92
|
+
IssuesPopover: { label: "Mostrar problemas" },
|
|
93
|
+
LoadAction: {
|
|
94
|
+
label: "Abrir",
|
|
95
|
+
successMessage: (file) => `Ficheiro “${file.name}” carregado com sucesso.`,
|
|
96
|
+
errorMessage: (file) => file ? `Não foi possível carregar o ficheiro “${file.name}”. Por favor confirme que o ficheiro indicado é um ficheiro válido do formulário.` : "Não foi possível abrir o ficheiro indicado. Por favor confirme que tem as permissões devidas para efetuar a operação."
|
|
97
|
+
},
|
|
98
|
+
PrintAction: { label: "Imprimir" },
|
|
99
|
+
RadioGroupControl: {},
|
|
100
|
+
SaveAction: {
|
|
101
|
+
label: "Gravar",
|
|
102
|
+
saveOptionsLabel: "Opções de gravação",
|
|
103
|
+
saveAsLabel: "Gravar como…",
|
|
104
|
+
successMessage: (fileHandle) => `Ficheiro “${fileHandle.name}” gravado com sucesso.`,
|
|
105
|
+
errorMessage: (fileHandle) => fileHandle ? `Não foi possível gravar o ficheiro “${fileHandle.name}”. Por favor confirme que tem as permissões devidas para efetuar a operação.` : "Não foi possível gravar o ficheiro indicado. Por favor confirme que tem as permissões devidas para efetuar a operação."
|
|
106
|
+
},
|
|
107
|
+
SelectControl: {},
|
|
108
|
+
SelectMultipleControl: {},
|
|
109
|
+
SubmitAction: {
|
|
110
|
+
label: "Entregar",
|
|
111
|
+
dialogTitle: "Entregar declaração",
|
|
112
|
+
dialogDescription: "Por favor confirme que pretende continuar com a entrega da declaração.",
|
|
113
|
+
dialogCancelText: "Cancelar",
|
|
114
|
+
confirmWarningsCheckboxLabel: "Declaro que tomei conhecimento dos alertas gerados pelos dados desta declaração e que desejo continuar sem alterar os respetivos dados.",
|
|
115
|
+
successMessage: "Declaração entregue com sucesso.",
|
|
116
|
+
errorMessage: "Algo correu mal ao entregar a declaração. Por favor volte a tentar mais tarde."
|
|
117
|
+
},
|
|
118
|
+
TableControlAddRowTrigger: { label: "Adicionar linha" },
|
|
119
|
+
TableControlRemoveRowTrigger: {
|
|
120
|
+
label: "Remover linha",
|
|
121
|
+
confirmDialogTitle: "Remover linha",
|
|
122
|
+
confirmDialogMessage: (index) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
123
|
+
"Tem a certeza que pretende remover a linha #",
|
|
124
|
+
index + 1,
|
|
125
|
+
"?"
|
|
126
|
+
] }),
|
|
127
|
+
confirmDialogOkText: "Remover"
|
|
128
|
+
},
|
|
129
|
+
UnknownValue: { label: "Valor desconhecido" },
|
|
130
|
+
ValidateAction: { label: "Validar" }
|
|
143
131
|
};
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
//# sourceMappingURL=pt-PT.js.map
|
|
132
|
+
//#endregion
|
|
133
|
+
export { locale };
|
|
134
|
+
|
|
135
|
+
//# sourceMappingURL=pt-PT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pt-PT.js","sources":["../../src/locales/pt-PT.tsx"],"sourcesContent":["import { ptPT as uiPtPT } from \"@ostack.tech/ui\";\n\nimport type { LocalizationObject } from \"../providers/LocalizationProvider\";\n\n/** `pt-PT` locale. */\nexport const locale: LocalizationObject = {\n baseLocale: uiPtPT,\n AnnexesManager: {\n \"aria-label\": \"Anexos\",\n menuButtonText: \"Anexos\",\n menuButtonLabel: \"Gestor de anexos\",\n addAnnexText: \"Adicionar anexo\",\n removeAnnexButtonLabel: \"Remover anexo\",\n removeAnnexKeyboardHint: \"Pressione “Delete” para remover o anexo.\",\n removeAnnexConfirmDialogTitle: \"Remover anexo\",\n removeAnnexConfirmDialogMessage: (annexName) => (\n <>Tem a certeza que pretende remover o anexo {annexName}?</>\n ),\n removeAnnexConfirmDialogOkText: \"Remover\",\n },\n CheckboxGroupControl: {},\n DateRangeControl: {\n issuesPanelStartLabelSuffix: \" (data de início)\",\n issuesPanelEndLabelSuffix: \" (data de fim)\",\n },\n FileControl: {\n clearDescription: \"Pressione Backspace ou Delete para limpar.\",\n viewFileButtonLabel: \"Visualizar ficheiro\",\n downloadFileButtonLabel: \"Descarregar ficheiro\",\n fallbackText: (\n <>\n O ficheiro selecionado não pode ser visualizado neste navegador.\n <br />\n Por favor use o botão acima para descarregar o ficheiro. Pode depois\n abri-lo utilizando uma aplicação externa.\n </>\n ),\n },\n FormApp: {\n formTitle: \"Formulário\",\n issueMessages: {\n \"/**\": {\n valueMissing: \"Campo de preenchimento obrigatório.\",\n valueDisallowed: \"Valor indicado não permitido.\",\n rangeUnderflow: \"Valor inferior ao mínimo permitido.\",\n rangeOverflow: \"Valor excede o máximo permitido.\",\n lengthMismatch: (_data, { typeInfo: { name, restrictions } }) =>\n name === \"String\" &&\n typeof restrictions.minLength === \"number\" &&\n restrictions.minLength === restrictions.maxLength\n ? `Valor deve ter ${restrictions.minLength} ${\n restrictions.minLength === 1 ? \"carácter\" : \"caracteres\"\n }.`\n : \"Valor tem comprimento inválido.\",\n tooShort: (_data, { typeInfo: { name, restrictions } }) =>\n name === \"String\" && typeof restrictions.minLength === \"number\"\n ? `Valor não deve ter menos de ${restrictions.minLength} ${\n restrictions.minLength === 1 ? \"caractér\" : \"caracteres\"\n }.`\n : \"Valor demasiado curto.\",\n tooLong: (_data, { typeInfo: { name, restrictions } }) =>\n name === \"String\" && typeof restrictions.maxLength === \"number\"\n ? `Valor não deve ter mais de ${restrictions.maxLength} ${\n restrictions.maxLength === 1 ? \"caractér\" : \"caracteres\"\n }.`\n : \"Valor demasiado longo.\",\n sizeMismatch: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.minSize === \"number\" &&\n restrictions.minSize === restrictions.maxSize\n ? `Campo deve ter ${restrictions.minSize} ${\n restrictions.minSize === 1 ? \"item\" : \"itens\"\n }.`\n : \"Campo tem número inválido de itens.\",\n tooSmall: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.minLength === \"number\"\n ? `Campo não deve ter menos de ${restrictions.minLength} ${\n restrictions.minLength === 1 ? \"item\" : \"itens\"\n }.`\n : \"Número de itens do campo não é suficiente.\",\n tooLarge: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.maxLength === \"number\"\n ? `Campo não deve ter mais de ${restrictions.maxLength} ${\n restrictions.maxLength === 1 ? \"item\" : \"itens\"\n }.`\n : \"Número de itens do campo excede o limite permitido.\",\n scaleMismatch: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.scale === \"number\"\n ? `Valor deve ter ${restrictions.scale} ${\n restrictions.scale === 1 ? \"casa decimal\" : \"casas decimais\"\n }.`\n : \"Valor tem número inválido de casas decimais.\",\n patternMismatch: \"Valor não segue o padrão permitido.\",\n emailPatternMismatch: \"Endereço de correio eletrónico inválido.\",\n fileTypeMismatch: (_data, { typeInfo: { restrictions } }) =>\n Array.isArray(restrictions.acceptedFileTypes)\n ? `Apenas os seguintes tipos de ficheiro são permitidos: ${restrictions.acceptedFileTypes.join(\", \")}.`\n : \"Tipo do ficheiro indicado não é permitido.\",\n itemsRepeated: ({ firstIndex, secondIndex }) =>\n firstIndex != null && secondIndex != null\n ? `Itens ${+firstIndex + 1} e ${+secondIndex + 1} encontram-se repetidos.`\n : \"Campo contém itens repetidos.\",\n computedValueMismatch: \"O valor difere do valor calculado.\",\n validationFailed: (data) =>\n process.env.NODE_ENV !== \"production\"\n ? data.exception\n : \"Algo correu mal ao validar este campo. \" +\n \"Por favor volte a tentar mais tarde.\",\n },\n },\n confirmUnloadMessage:\n \"Tem a certeza que pretende sair da página? Alterações que fez ao \" +\n \"formulário podem não ter sido guardadas.\",\n },\n FormPagesNavigation: {\n \"aria-label\": \"Páginas\",\n },\n FormPage: {\n helperButtonLabel: \"Mostrar ajuda\",\n visuallyHiddenCodePrefix: \"Página\",\n },\n IssueMessages: {\n visuallyHiddenErrorCodePrefix: \"Código de erro,\",\n visuallyHiddenWarningCodePrefix: \"Código de alerta,\",\n unknownErrorMessage: \"Campo com erro desconhecido.\",\n unknownWarningMessage: \"Campo com alerta desconhecido.\",\n },\n IssuesPanel: {\n errorsLabel: (errors) =>\n errors === undefined ? (\n \"Erros\"\n ) : (\n <>\n {errors} {errors === 1 ? \"Erro\" : \"Erros\"}\n </>\n ),\n warningsLabel: (warnings) =>\n warnings === undefined ? (\n \"Alertas\"\n ) : (\n <>\n {warnings} {warnings === 1 ? \"Alerta\" : \"Alertas\"}\n </>\n ),\n focusButtonLabel: \"Focar campo\",\n previousIssueButtonLabel: \"Campo com problemas anterior\",\n nextIssueButtonLabel: \"Próximo campo com problemas\",\n firstIssueButtonLabel: \"Primeiro campo com problemas\",\n lastIssueButtonLabel: \"Último campo com problemas\",\n paginationLabel: (currentPage, totalPages) =>\n `Campo com problemas ${currentPage} de ${totalPages}.`,\n noIssuesMessage: \"Nenhum problema a reportar.\",\n resolvedTitle: \"Resolvido\",\n resolvedMessage:\n \"Problemas foram resolvidos. \" +\n \"Por favor avance para o próximo campo com problemas.\",\n },\n IssuesPopover: {\n label: \"Mostrar problemas\",\n },\n LoadAction: {\n label: \"Abrir\",\n successMessage: (file) => `Ficheiro “${file.name}” carregado com sucesso.`,\n errorMessage: (file) =>\n file\n ? `Não foi possível carregar o ficheiro “${file.name}”. ` +\n \"Por favor confirme que o ficheiro indicado é um ficheiro válido \" +\n \"do formulário.\"\n : \"Não foi possível abrir o ficheiro indicado. Por favor confirme \" +\n \"que tem as permissões devidas para efetuar a operação.\",\n },\n PrintAction: {\n label: \"Imprimir\",\n },\n RadioGroupControl: {},\n SaveAction: {\n label: \"Gravar\",\n saveOptionsLabel: \"Opções de gravação\",\n saveAsLabel: \"Gravar como…\",\n successMessage: (fileHandle) =>\n `Ficheiro “${fileHandle.name}” gravado com sucesso.`,\n errorMessage: (fileHandle) =>\n fileHandle\n ? `Não foi possível gravar o ficheiro “${fileHandle.name}”. ` +\n \"Por favor confirme que tem as permissões devidas para efetuar a \" +\n \"operação.\"\n : \"Não foi possível gravar o ficheiro indicado. Por favor confirme \" +\n \"que tem as permissões devidas para efetuar a operação.\",\n },\n SelectControl: {},\n SelectMultipleControl: {},\n SubmitAction: {\n label: \"Entregar\",\n dialogTitle: \"Entregar declaração\",\n dialogDescription:\n \"Por favor confirme que pretende continuar com a entrega da declaração.\",\n dialogCancelText: \"Cancelar\",\n confirmWarningsCheckboxLabel:\n \"Declaro que tomei conhecimento dos alertas gerados pelos dados desta \" +\n \"declaração e que desejo continuar sem alterar os respetivos dados.\",\n successMessage: \"Declaração entregue com sucesso.\",\n errorMessage:\n \"Algo correu mal ao entregar a declaração. Por favor volte a tentar \" +\n \"mais tarde.\",\n },\n TableControlAddRowTrigger: {\n label: \"Adicionar linha\",\n },\n TableControlRemoveRowTrigger: {\n label: \"Remover linha\",\n confirmDialogTitle: \"Remover linha\",\n confirmDialogMessage: (index) => (\n <>Tem a certeza que pretende remover a linha #{index + 1}?</>\n ),\n confirmDialogOkText: \"Remover\",\n },\n UnknownValue: {\n label: \"Valor desconhecido\",\n },\n ValidateAction: {\n label: \"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AAA;AAAA,EAGR,eAAe,CAAA;AAAA,EACf,uBAAuB,CAAA;AAAA,EACvB,cAAc;AAAA,IACZ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,mBACE;AAAA,IACF,kBAAkB;AAAA,IAClB,8BACE;AAAA,IAEF,gBAAgB;AAAA,IAChB,cACE;AAAA,EAAA;AAAA,EAGJ,2BAA2B;AAAA,IACzB,OAAO;AAAA,EAAA;AAAA,EAET,8BAA8B;AAAA,IAC5B,OAAO;AAAA,IACP,oBAAoB;AAAA,IACpB,sBAAsB,CAAC,UACrB,qBAAA,UAAA,EAAE,UAAA;AAAA,MAAA;AAAA,MAA6C,QAAQ;AAAA,MAAE;AAAA,IAAA,GAAC;AAAA,IAE5D,qBAAqB;AAAA,EAAA;AAAA,EAEvB,cAAc;AAAA,IACZ,OAAO;AAAA,EAAA;AAAA,EAET,gBAAgB;AAAA,IACd,OAAO;AAAA,EAAA;AAEX;"}
|
|
1
|
+
{"version":3,"file":"pt-PT.js","names":[],"sources":["../../src/locales/pt-PT.tsx"],"sourcesContent":["import { ptPT as uiPtPT } from \"@ostack.tech/ui\";\n\nimport type { LocalizationObject } from \"../providers/LocalizationProvider\";\n\n/** `pt-PT` locale. */\nexport const locale: LocalizationObject = {\n baseLocale: uiPtPT,\n AnnexesManager: {\n \"aria-label\": \"Anexos\",\n menuButtonText: \"Anexos\",\n menuButtonLabel: \"Gestor de anexos\",\n addAnnexText: \"Adicionar anexo\",\n removeAnnexButtonLabel: \"Remover anexo\",\n removeAnnexKeyboardHint: \"Pressione “Delete” para remover o anexo.\",\n removeAnnexConfirmDialogTitle: \"Remover anexo\",\n removeAnnexConfirmDialogMessage: (annexName) => (\n <>Tem a certeza que pretende remover o anexo {annexName}?</>\n ),\n removeAnnexConfirmDialogOkText: \"Remover\",\n },\n CheckboxGroupControl: {},\n DateRangeControl: {\n issuesPanelStartLabelSuffix: \" (data de início)\",\n issuesPanelEndLabelSuffix: \" (data de fim)\",\n },\n FileControl: {\n clearDescription: \"Pressione Backspace ou Delete para limpar.\",\n viewFileButtonLabel: \"Visualizar ficheiro\",\n downloadFileButtonLabel: \"Descarregar ficheiro\",\n fallbackText: (\n <>\n O ficheiro selecionado não pode ser visualizado neste navegador.\n <br />\n Por favor use o botão acima para descarregar o ficheiro. Pode depois\n abri-lo utilizando uma aplicação externa.\n </>\n ),\n },\n FormApp: {\n formTitle: \"Formulário\",\n issueMessages: {\n \"/**\": {\n valueMissing: \"Campo de preenchimento obrigatório.\",\n valueDisallowed: \"Valor indicado não permitido.\",\n rangeUnderflow: \"Valor inferior ao mínimo permitido.\",\n rangeOverflow: \"Valor excede o máximo permitido.\",\n lengthMismatch: (_data, { typeInfo: { name, restrictions } }) =>\n name === \"String\" &&\n typeof restrictions.minLength === \"number\" &&\n restrictions.minLength === restrictions.maxLength\n ? `Valor deve ter ${restrictions.minLength} ${\n restrictions.minLength === 1 ? \"carácter\" : \"caracteres\"\n }.`\n : \"Valor tem comprimento inválido.\",\n tooShort: (_data, { typeInfo: { name, restrictions } }) =>\n name === \"String\" && typeof restrictions.minLength === \"number\"\n ? `Valor não deve ter menos de ${restrictions.minLength} ${\n restrictions.minLength === 1 ? \"caractér\" : \"caracteres\"\n }.`\n : \"Valor demasiado curto.\",\n tooLong: (_data, { typeInfo: { name, restrictions } }) =>\n name === \"String\" && typeof restrictions.maxLength === \"number\"\n ? `Valor não deve ter mais de ${restrictions.maxLength} ${\n restrictions.maxLength === 1 ? \"caractér\" : \"caracteres\"\n }.`\n : \"Valor demasiado longo.\",\n sizeMismatch: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.minSize === \"number\" &&\n restrictions.minSize === restrictions.maxSize\n ? `Campo deve ter ${restrictions.minSize} ${\n restrictions.minSize === 1 ? \"item\" : \"itens\"\n }.`\n : \"Campo tem número inválido de itens.\",\n tooSmall: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.minLength === \"number\"\n ? `Campo não deve ter menos de ${restrictions.minLength} ${\n restrictions.minLength === 1 ? \"item\" : \"itens\"\n }.`\n : \"Número de itens do campo não é suficiente.\",\n tooLarge: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.maxLength === \"number\"\n ? `Campo não deve ter mais de ${restrictions.maxLength} ${\n restrictions.maxLength === 1 ? \"item\" : \"itens\"\n }.`\n : \"Número de itens do campo excede o limite permitido.\",\n scaleMismatch: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.scale === \"number\"\n ? `Valor deve ter ${restrictions.scale} ${\n restrictions.scale === 1 ? \"casa decimal\" : \"casas decimais\"\n }.`\n : \"Valor tem número inválido de casas decimais.\",\n patternMismatch: \"Valor não segue o padrão permitido.\",\n emailPatternMismatch: \"Endereço de correio eletrónico inválido.\",\n fileTypeMismatch: (_data, { typeInfo: { restrictions } }) =>\n Array.isArray(restrictions.acceptedFileTypes)\n ? `Apenas os seguintes tipos de ficheiro são permitidos: ${restrictions.acceptedFileTypes.join(\", \")}.`\n : \"Tipo do ficheiro indicado não é permitido.\",\n itemsRepeated: ({ firstIndex, secondIndex }) =>\n firstIndex != null && secondIndex != null\n ? `Itens ${+firstIndex + 1} e ${+secondIndex + 1} encontram-se repetidos.`\n : \"Campo contém itens repetidos.\",\n computedValueMismatch: \"O valor difere do valor calculado.\",\n validationFailed: (data) =>\n process.env.NODE_ENV !== \"production\"\n ? data.exception\n : \"Algo correu mal ao validar este campo. \" +\n \"Por favor volte a tentar mais tarde.\",\n },\n },\n confirmUnloadMessage:\n \"Tem a certeza que pretende sair da página? Alterações que fez ao \" +\n \"formulário podem não ter sido guardadas.\",\n },\n FormPagesNavigation: {\n \"aria-label\": \"Páginas\",\n },\n FormPage: {\n helperButtonLabel: \"Mostrar ajuda\",\n visuallyHiddenCodePrefix: \"Página\",\n },\n IssueMessages: {\n visuallyHiddenErrorCodePrefix: \"Código de erro,\",\n visuallyHiddenWarningCodePrefix: \"Código de alerta,\",\n unknownErrorMessage: \"Campo com erro desconhecido.\",\n unknownWarningMessage: \"Campo com alerta desconhecido.\",\n },\n IssuesPanel: {\n errorsLabel: (errors) =>\n errors === undefined ? (\n \"Erros\"\n ) : (\n <>\n {errors} {errors === 1 ? \"Erro\" : \"Erros\"}\n </>\n ),\n warningsLabel: (warnings) =>\n warnings === undefined ? (\n \"Alertas\"\n ) : (\n <>\n {warnings} {warnings === 1 ? \"Alerta\" : \"Alertas\"}\n </>\n ),\n focusButtonLabel: \"Focar campo\",\n previousIssueButtonLabel: \"Campo com problemas anterior\",\n nextIssueButtonLabel: \"Próximo campo com problemas\",\n firstIssueButtonLabel: \"Primeiro campo com problemas\",\n lastIssueButtonLabel: \"Último campo com problemas\",\n paginationLabel: (currentPage, totalPages) =>\n `Campo com problemas ${currentPage} de ${totalPages}.`,\n noIssuesMessage: \"Nenhum problema a reportar.\",\n resolvedTitle: \"Resolvido\",\n resolvedMessage:\n \"Problemas foram resolvidos. \" +\n \"Por favor avance para o próximo campo com problemas.\",\n },\n IssuesPopover: {\n label: \"Mostrar problemas\",\n },\n LoadAction: {\n label: \"Abrir\",\n successMessage: (file) => `Ficheiro “${file.name}” carregado com sucesso.`,\n errorMessage: (file) =>\n file\n ? `Não foi possível carregar o ficheiro “${file.name}”. ` +\n \"Por favor confirme que o ficheiro indicado é um ficheiro válido \" +\n \"do formulário.\"\n : \"Não foi possível abrir o ficheiro indicado. Por favor confirme \" +\n \"que tem as permissões devidas para efetuar a operação.\",\n },\n PrintAction: {\n label: \"Imprimir\",\n },\n RadioGroupControl: {},\n SaveAction: {\n label: \"Gravar\",\n saveOptionsLabel: \"Opções de gravação\",\n saveAsLabel: \"Gravar como…\",\n successMessage: (fileHandle) =>\n `Ficheiro “${fileHandle.name}” gravado com sucesso.`,\n errorMessage: (fileHandle) =>\n fileHandle\n ? `Não foi possível gravar o ficheiro “${fileHandle.name}”. ` +\n \"Por favor confirme que tem as permissões devidas para efetuar a \" +\n \"operação.\"\n : \"Não foi possível gravar o ficheiro indicado. Por favor confirme \" +\n \"que tem as permissões devidas para efetuar a operação.\",\n },\n SelectControl: {},\n SelectMultipleControl: {},\n SubmitAction: {\n label: \"Entregar\",\n dialogTitle: \"Entregar declaração\",\n dialogDescription:\n \"Por favor confirme que pretende continuar com a entrega da declaração.\",\n dialogCancelText: \"Cancelar\",\n confirmWarningsCheckboxLabel:\n \"Declaro que tomei conhecimento dos alertas gerados pelos dados desta \" +\n \"declaração e que desejo continuar sem alterar os respetivos dados.\",\n successMessage: \"Declaração entregue com sucesso.\",\n errorMessage:\n \"Algo correu mal ao entregar a declaração. Por favor volte a tentar \" +\n \"mais tarde.\",\n },\n TableControlAddRowTrigger: {\n label: \"Adicionar linha\",\n },\n TableControlRemoveRowTrigger: {\n label: \"Remover linha\",\n confirmDialogTitle: \"Remover linha\",\n confirmDialogMessage: (index) => (\n <>Tem a certeza que pretende remover a linha #{index + 1}?</>\n ),\n confirmDialogOkText: \"Remover\",\n },\n UnknownValue: {\n label: \"Valor desconhecido\",\n },\n ValidateAction: {\n label: \"Validar\",\n },\n};\n"],"mappings":";;;;AAKA,IAAa,SAA6B;CACxC,YAAY;CACZ,gBAAgB;EACd,cAAc;EACd,gBAAgB;EAChB,iBAAiB;EACjB,cAAc;EACd,wBAAwB;EACxB,yBAAyB;EACzB,+BAA+B;EAC/B,kCAAkC,cAChC,qBAAA,UAAA,EAAA,UAAA;GAAE;GAA4C;GAAU;EAAG,EAAA,CAAA;EAE7D,gCAAgC;CAClC;CACA,sBAAsB,CAAC;CACvB,kBAAkB;EAChB,6BAA6B;EAC7B,2BAA2B;CAC7B;CACA,aAAa;EACX,kBAAkB;EAClB,qBAAqB;EACrB,yBAAyB;EACzB,cACE,qBAAA,UAAA,EAAA,UAAA;GAAE;GAEA,oBAAC,MAAD,CAAK,CAAA;GAAC;EAGN,EAAA,CAAA;CAEN;CACA,SAAS;EACP,WAAW;EACX,eAAe,EACb,OAAO;GACL,cAAc;GACd,iBAAiB;GACjB,gBAAgB;GAChB,eAAe;GACf,iBAAiB,OAAO,EAAE,UAAU,EAAE,MAAM,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