@ostack.tech/ui-kform 1.2.0-beta.0 → 1.2.0-beta.1
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-D4xMcf6Q.js → en-BHlLXSzh.js} +4 -16
- package/dist/chunks/en-BHlLXSzh.js.map +1 -0
- package/dist/locales/en-GB.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/fr-FR.js +5 -17
- package/dist/locales/fr-FR.js.map +1 -1
- package/dist/locales/pt-PT.js +3 -15
- package/dist/locales/pt-PT.js.map +1 -1
- package/dist/ostack-ui-kform.js +15299 -4434
- package/dist/ostack-ui-kform.js.map +1 -1
- package/package.json +16 -14
- package/scss/components/Annexes/_Annexes-variables.scss +4 -9
- package/scss/components/Annexes/_Annexes.scss +9 -15
- package/scss/components/FormApp/_FormApp.scss +1 -4
- package/scss/components/FormPages/_FormPages-variables.scss +8 -27
- package/scss/components/FormPages/_FormPages.scss +11 -33
- package/scss/components/IssuesPanel/_IssuesPanel-variables.scss +3 -8
- package/scss/components/IssuesPanel/_IssuesPanel.scss +3 -8
- package/types/components/Annexes/Annex.d.ts +26 -37
- package/types/components/Annexes/Annexes.d.ts +8 -10
- package/types/components/Annexes/AnnexesContext.d.ts +1 -1
- package/types/components/Annexes/AnnexesManager.d.ts +8 -12
- package/types/components/CheckboxControl/CheckboxControl.d.ts +9 -19
- package/types/components/CheckboxGroupControl/CheckboxGroupControl.d.ts +14 -31
- package/types/components/CheckboxGroupControl/CheckboxGroupControlItem.d.ts +1 -2
- package/types/components/ControlField/ControlField.d.ts +6 -6
- package/types/components/DateControl/DateControl.d.ts +13 -18
- package/types/components/DateRangeControl/DateRangeControl.d.ts +16 -22
- package/types/components/DebugInfo/DebugInfo.d.ts +3 -4
- package/types/components/DebugInfo/DebugInfoControlAddonTrigger.d.ts +1 -1
- package/types/components/FileControl/FileControl.d.ts +16 -22
- package/types/components/FileControl/FileControlDownloadAddon.d.ts +2 -2
- package/types/components/FileControl/FileControlViewAddon.d.ts +1 -1
- package/types/components/FormApp/FormApp.d.ts +25 -34
- package/types/components/FormApp/FormAppContext.d.ts +20 -44
- package/types/components/FormApp/FormAppIssueMessages.d.ts +6 -8
- package/types/components/FormApp/FormAppStatus.d.ts +1 -1
- package/types/components/FormPages/FormPage.d.ts +12 -20
- package/types/components/FormPages/FormPages.d.ts +8 -17
- package/types/components/FormPages/FormPagesContext.d.ts +1 -1
- package/types/components/FormPages/FormPagesNavigation.d.ts +3 -3
- package/types/components/FormStepper/FormStep.d.ts +8 -9
- package/types/components/FormStepper/FormStepper.d.ts +14 -18
- package/types/components/FormStepper/FormStepperContext.d.ts +1 -1
- package/types/components/IssueMessage/IssueMessage.d.ts +1 -1
- package/types/components/IssueMessages/IssueMessages.d.ts +17 -25
- package/types/components/IssuesPanel/IssuesPanel.d.ts +11 -15
- package/types/components/IssuesPanel/IssuesPanelControls.d.ts +1 -1
- package/types/components/IssuesPopover/IssuesPopover.d.ts +4 -4
- package/types/components/LoadAction/LoadAction.d.ts +7 -10
- package/types/components/NumericControl/NumericControl.d.ts +15 -21
- package/types/components/PathLink/PathLink.d.ts +4 -5
- package/types/components/PrintAction/PrintAction.d.ts +7 -11
- package/types/components/RadioGroupControl/RadioGroupControl.d.ts +12 -21
- package/types/components/RadioGroupControl/RadioGroupControlItem.d.ts +2 -2
- package/types/components/ResetOnChange/ResetOnChange.d.ts +6 -14
- package/types/components/ResetOnChange/index.d.ts +1 -1
- package/types/components/ResetOnChange/useResetOnChange.d.ts +22 -32
- package/types/components/SaveAction/SaveAction.d.ts +22 -30
- package/types/components/SelectControl/SelectControl.d.ts +11 -21
- package/types/components/SelectControl/SelectControlItem.d.ts +2 -2
- package/types/components/SelectControl/SelectControlItemGroup.d.ts +2 -3
- package/types/components/SelectMultipleControl/SelectMultipleControl.d.ts +17 -35
- package/types/components/SelectMultipleControl/SelectMultipleControlItem.d.ts +1 -2
- package/types/components/SelectMultipleControl/SelectMultipleControlItemGroup.d.ts +2 -2
- package/types/components/SubmitAction/SubmitAction.d.ts +19 -33
- package/types/components/TableControl/TableControl.d.ts +27 -41
- package/types/components/TableControl/TableControlActionsColumn.d.ts +3 -5
- package/types/components/TableControl/TableControlAddRowTrigger.d.ts +7 -13
- package/types/components/TableControl/TableControlApi.d.ts +4 -4
- package/types/components/TableControl/TableControlColumn.d.ts +5 -8
- package/types/components/TableControl/TableControlColumnFns.d.ts +21 -31
- package/types/components/TableControl/TableControlColumnGroup.d.ts +3 -6
- package/types/components/TableControl/TableControlColumns.d.ts +4 -4
- package/types/components/TableControl/TableControlContent.d.ts +1 -1
- package/types/components/TableControl/TableControlIndexColumn.d.ts +2 -2
- package/types/components/TableControl/TableControlRemoveRowTrigger.d.ts +9 -16
- package/types/components/TextControl/TextControl.d.ts +7 -13
- package/types/components/UnknownValue/UnknownValue.d.ts +1 -1
- package/types/components/ValidateAction/ValidateAction.d.ts +7 -10
- package/types/providers/ActivePathProvider/ActivePathProvider.d.ts +4 -7
- package/types/providers/LocalizationProvider/LocalizationProvider.d.ts +1 -4
- package/types/providers/LocalizationProvider/useLocale.d.ts +1 -4
- package/types/providers/PrefixSuffixProvider/PrefixSuffixProvider.d.ts +1 -1
- package/types/providers/PrefixSuffixProvider/defaultPrefixSuffix.d.ts +3 -3
- package/types/providers/PrefixSuffixProvider/usePrefix.d.ts +1 -4
- package/types/utils/mostSpecificPath.d.ts +4 -6
- package/types/utils/pathSpecificity.d.ts +7 -8
- package/types/utils/selectionTransformations.d.ts +2 -8
- package/types/utils/useControlAutofocus.d.ts +6 -8
- package/types/utils/useControlIssues.d.ts +4 -4
- package/types/utils/useFormLoader.d.ts +24 -31
- package/types/utils/useFormSaver.d.ts +29 -34
- package/types/utils/useFormValidator.d.ts +13 -20
- package/types/utils/useRegisterControl.d.ts +1 -1
- package/types/utils/useTemporalStringTransformer.d.ts +4 -10
- package/dist/chunks/en-D4xMcf6Q.js.map +0 -1
|
@@ -71,16 +71,8 @@ var en = {
|
|
|
71
71
|
unknownWarningMessage: "Field with unknown warning."
|
|
72
72
|
},
|
|
73
73
|
IssuesPanel: {
|
|
74
|
-
errorsLabel: (errors) => errors === void 0 ? "Errors" :
|
|
75
|
-
|
|
76
|
-
"\xA0",
|
|
77
|
-
errors === 1 ? "Error" : "Errors"
|
|
78
|
-
] }),
|
|
79
|
-
warningsLabel: (warnings) => warnings === void 0 ? "Warnings" : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
80
|
-
warnings,
|
|
81
|
-
"\xA0",
|
|
82
|
-
warnings === 1 ? "Warning" : "Warnings"
|
|
83
|
-
] }),
|
|
74
|
+
errorsLabel: (errors) => errors === void 0 ? "Errors" : `${errors}\u00A0${errors === 1 ? "Error" : "Errors"}`,
|
|
75
|
+
warningsLabel: (warnings) => warnings === void 0 ? "Warnings" : `${warnings}\u00A0${warnings === 1 ? "Warning" : "Warnings"}`,
|
|
84
76
|
focusButtonLabel: "Focus field",
|
|
85
77
|
previousIssueButtonLabel: "Previous field with issues",
|
|
86
78
|
nextIssueButtonLabel: "Next field with issues",
|
|
@@ -126,11 +118,7 @@ var en = {
|
|
|
126
118
|
}) },
|
|
127
119
|
TableControlRemoveRowTrigger: {
|
|
128
120
|
label: "Remove row",
|
|
129
|
-
confirmDialogMessage: (index) =>
|
|
130
|
-
"Are you sure you want to remove row no. ",
|
|
131
|
-
index + 1,
|
|
132
|
-
"?"
|
|
133
|
-
] }),
|
|
121
|
+
confirmDialogMessage: (index) => `Are you sure you want to remove row no. ${index + 1}?`,
|
|
134
122
|
confirmDialogOkText: "Remove"
|
|
135
123
|
},
|
|
136
124
|
UnknownValue: { label: "Unknown value" },
|
|
@@ -140,4 +128,4 @@ if (DEV) en.DebugInfo = { label: "Debug information" };
|
|
|
140
128
|
//#endregion
|
|
141
129
|
export { en as t };
|
|
142
130
|
|
|
143
|
-
//# sourceMappingURL=en-
|
|
131
|
+
//# sourceMappingURL=en-BHlLXSzh.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"en-BHlLXSzh.js","names":[],"sources":["../../src/locales/en.tsx"],"sourcesContent":["import { VisuallyHidden } from \"@ostack.tech/ui\";\nimport { DEV } from \"esm-env\";\n\nimport type { LocalizationObject } from \"../providers/LocalizationProvider\";\n\n/** `en` locale (partial). */\nexport const en: Omit<LocalizationObject, \"languageTag\" | \"baseLocale\"> = {\n AnnexesManager: {\n \"aria-label\": \"Annexes\",\n menuButtonText: \"Annexes\",\n menuButtonLabel: \"Annexes manager\",\n addAnnexText: \"Add annex\",\n removeAnnexButtonLabel: \"Remove annex\",\n removeAnnexKeyboardHint: \"Press “Delete” to remove the annex.\",\n removeAnnexConfirmDialogTitle: \"Remove annex\",\n removeAnnexConfirmDialogMessage: (annexName) => (\n <>Are you sure you want to remove annex {annexName}?</>\n ),\n removeAnnexConfirmDialogOkText: \"Remove\",\n },\n CheckboxGroupControl: {},\n DateRangeControl: {\n issuesPanelStartLabelSuffix: \" (start date)\",\n issuesPanelEndLabelSuffix: \" (end date)\",\n },\n FileControl: {\n clearDescription: \"Press Backspace or Delete to clear.\",\n viewFileButtonLabel: \"View file\",\n downloadFileButtonLabel: \"Download file\",\n fallbackText: (\n <>\n The selected file cannot be viewed in this browser.\n <br />\n Please use the button above to download the file. You can then open it using an external\n application.\n </>\n ),\n },\n FormApp: {\n formTitle: \"Form\",\n issueMessages: {\n \"/**\": {\n valueMissing: \"Field is required.\",\n valueDisallowed: \"Indicated value is not allowed.\",\n rangeUnderflow: \"Value is under the minimum allowed.\",\n rangeOverflow: \"Value exceeds the maximum allowed.\",\n lengthMismatch: (_data, { typeInfo: { name, restrictions } }) =>\n name === \"String\" &&\n typeof restrictions.minLength === \"number\" &&\n restrictions.minLength === restrictions.maxLength\n ? `Value must have ${restrictions.minLength} character${\n restrictions.minLength === 1 ? \"\" : \"s\"\n }.`\n : \"Value has an invalid length.\",\n tooShort: (_data, { typeInfo: { name, restrictions } }) =>\n name === \"String\" && typeof restrictions.minLength === \"number\"\n ? `Value must not have under ${restrictions.minLength} character${\n restrictions.minLength === 1 ? \"\" : \"s\"\n }.`\n : \"Value is too short.\",\n tooLong: (_data, { typeInfo: { name, restrictions } }) =>\n name === \"String\" && typeof restrictions.maxLength === \"number\"\n ? `Value must not have over ${restrictions.maxLength} character${\n restrictions.maxLength === 1 ? \"\" : \"s\"\n }.`\n : \"Value is too long.\",\n sizeMismatch: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.minSize === \"number\" && restrictions.minSize === restrictions.maxSize\n ? `Field must have ${restrictions.minSize} item${\n restrictions.minSize === 1 ? \"\" : \"s\"\n }.`\n : \"Field has an invalid number of items.\",\n tooSmall: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.minLength === \"number\"\n ? `Field must not have under ${restrictions.minLength} item${\n restrictions.minLength === 1 ? \"\" : \"s\"\n }.`\n : \"Field does not have enough items.\",\n tooLarge: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.maxLength === \"number\"\n ? `Field must not have over ${restrictions.maxLength} item${\n restrictions.maxLength === 1 ? \"\" : \"s\"\n }.`\n : \"Number of items of field exceeds allowed limit.\",\n scaleMismatch: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.minScale === \"number\" &&\n restrictions.minScale === restrictions.maxScale\n ? `Value must have ${restrictions.minScale} decimal place${\n restrictions.minScale === 1 ? \"\" : \"s\"\n }.`\n : \"Value has invalid number of decimal places.\",\n scaleUnderflow: (_data, { typeInfo: { name, restrictions } }) =>\n name === \"String\" && typeof restrictions.minScale === \"number\"\n ? `Value must not have under ${restrictions.minScale} decimal place${\n restrictions.minScale === 1 ? \"\" : \"s\"\n }.`\n : \"Value has too few decimal places.\",\n scaleOverflow: (_data, { typeInfo: { name, restrictions } }) =>\n name === \"String\" && typeof restrictions.maxScale === \"number\"\n ? `Value must not have over ${restrictions.maxScale} decimal place${\n restrictions.maxScale === 1 ? \"\" : \"s\"\n }.`\n : \"Value has too many decimal places.\",\n patternMismatch: \"Value does not follow required pattern.\",\n emailPatternMismatch: \"Invalid email address.\",\n fileTypeMismatch: (_data, { typeInfo: { restrictions } }) =>\n Array.isArray(restrictions.acceptedFileTypes)\n ? `Only the following file types are allowed: ${restrictions.acceptedFileTypes.join(\", \")}.`\n : \"Indicated file’s type is not allowed.\",\n itemsRepeated: ({ firstIndex, secondIndex }) =>\n firstIndex != null && secondIndex != null\n ? `Items ${+firstIndex + 1} and ${+secondIndex + 1} are repeated.`\n : \"Field contains repeated items.\",\n computedValueMismatch: \"Value differs from the computed value.\",\n validationFailed: (data) =>\n DEV\n ? data.exception\n : \"Something went wrong validating this field. Please try again later.\",\n },\n },\n confirmUnloadMessage:\n \"Are you sure you want to leave the page? Changes you made to the form may not have been \" +\n \"saved.\",\n },\n FormPagesNavigation: {\n \"aria-label\": \"Pages\",\n },\n FormPage: {\n helperButtonLabel: \"Show help\",\n visuallyHiddenCodePrefix: \"Page\",\n },\n IssueMessages: {\n visuallyHiddenErrorCodePrefix: \"Error code,\",\n visuallyHiddenWarningCodePrefix: \"Warning code,\",\n unknownErrorMessage: \"Field with unknown error.\",\n unknownWarningMessage: \"Field with unknown warning.\",\n },\n IssuesPanel: {\n errorsLabel: (errors) =>\n errors === undefined ? \"Errors\" : `${errors}\\u00A0${errors === 1 ? \"Error\" : \"Errors\"}`,\n warningsLabel: (warnings) =>\n warnings === undefined\n ? \"Warnings\"\n : `${warnings}\\u00A0${warnings === 1 ? \"Warning\" : \"Warnings\"}`,\n focusButtonLabel: \"Focus field\",\n previousIssueButtonLabel: \"Previous field with issues\",\n nextIssueButtonLabel: \"Next field with issues\",\n firstIssueButtonLabel: \"First field with issues\",\n lastIssueButtonLabel: \"Last field with issues\",\n paginationLabel: (currentPage, totalPages) =>\n `Field with issues ${currentPage} of ${totalPages}.`,\n noIssuesMessage: \"No issues to report.\",\n resolvedTitle: \"Resolved\",\n resolvedMessage: \"Issues have been resolved. Please advance to the next field with issues.\",\n },\n IssuesPopover: {\n label: \"Show issues\",\n },\n LoadAction: {\n label: \"Load\",\n successMessage: (file) => `File “${file.name}” loaded successfully.`,\n errorMessage: (file) =>\n file\n ? `Unable to load file “${file.name}”. Please confirm that the indicated file is a ` +\n \"valid file of the form.\"\n : \"Unable to load the indicated file. Please confirm that you have the appropriate \" +\n \"permissions to perform the operation.\",\n },\n PrintAction: {\n label: \"Print\",\n },\n RadioGroupControl: {},\n SaveAction: {\n label: \"Save\",\n saveOptionsLabel: \"Save options\",\n saveAsLabel: \"Save as…\",\n successMessage: (fileHandle) => `File “${fileHandle.name}” saved successfully.`,\n errorMessage: (fileHandle) =>\n fileHandle\n ? `Unable to save file “${fileHandle.name}”. Please confirm that you have the ` +\n \"appropriate permissions to perform the operation.\"\n : \"Unable to save the indicated file. Please confirm that you have the appropriate \" +\n \"permissions to perform the operation.\",\n },\n SelectControl: {},\n SelectMultipleControl: {},\n SubmitAction: {\n label: \"Submit\",\n dialogTitle: \"Submit form\",\n dialogDescription: \"Please confirm that you wish to proceed with the form submission.\",\n dialogCancelText: \"Cancel\",\n confirmWarningsCheckboxLabel:\n \"I declare that I have been informed of the warnings generated by the data in this form \" +\n \"and that I wish to proceed without changing said data.\",\n successMessage: \"Form submitted successfully.\",\n errorMessage: \"Something went wrong while submitting the form. Please try again later.\",\n },\n TableControlActionsColumn: {\n label: <VisuallyHidden>Actions</VisuallyHidden>,\n },\n TableControlAddRowTrigger: {\n label: \"Add row\",\n },\n TableControlContent: {\n emptyMessage: \"No rows added.\",\n },\n TableControlIndexColumn: {\n label: <span aria-label=\"Row number\">No.</span>,\n },\n TableControlRemoveRowTrigger: {\n label: \"Remove row\",\n confirmDialogMessage: (index) => `Are you sure you want to remove row no. ${index + 1}?`,\n confirmDialogOkText: \"Remove\",\n },\n UnknownValue: {\n label: \"Unknown value\",\n },\n ValidateAction: {\n label: \"Validate\",\n },\n};\n\nif (DEV) {\n en.DebugInfo = {\n label: \"Debug information\",\n };\n}\n"],"mappings":";;;;;AAMA,IAAa,KAA6D;CACxE,gB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AAa,KAAA,IACT,aACA,GAAG,SAAS,QAAQ,aAAa,IAAI,YAAY;EACvD,kBAAkB;EAClB,0BAA0B;EAC1B,sBAAsB;EACtB,uBAAuB;EACvB,sBAAsB;EACtB,kBAAkB,aAAa,eAC7B,qBAAqB,YAAY,MAAM,WAAW;EACpD,iBAAiB;EACjB,eAAe;EACf,iBAAiB;CACnB;CACA,eAAe,EACb,OAAO,cACT;CACA,YAAY;EACV,OAAO;EACP,iBAAiB,SAAS,SAAS,KAAK,KAAK;EAC7C,eAAe,SACb,OACI,wBAAwB,KAAK,KAAK,0EAElC;CAER;CACA,aAAa,EACX,OAAO,QACT;CACA,mBAAmB,CAAC;CACpB,YAAY;EACV,OAAO;EACP,kBAAkB;EAClB,aAAa;EACb,iBAAiB,eAAe,SAAS,WAAW,KAAK;EACzD,eAAe,eACb,aACI,wBAAwB,WAAW,KAAK,yFAExC;CAER;CACA,eAAe,CAAC;CAChB,uBAAuB,CAAC;CACxB,cAAc;EACZ,OAAO;EACP,aAAa;EACb,mBAAmB;EACnB,kBAAkB;EAClB,8BACE;EAEF,gBAAgB;EAChB,cAAc;CAChB;CACA,2BAA2B,EACzB,OAAO,oBAAC,gBAAD,EAAA,UAAgB,UAAuB,CAAA,EAChD;CACA,2BAA2B,EACzB,OAAO,UACT;CACA,qBAAqB,EACnB,cAAc,iBAChB;CACA,yBAAyB,EACvB,OAAO,oBAAC,QAAD;EAAM,cAAW;EAAa,UAAA;CAAS,CAAA,EAChD;CACA,8BAA8B;EAC5B,OAAO;EACP,uBAAuB,UAAU,2CAA2C,QAAQ,EAAE;EACtF,qBAAqB;CACvB;CACA,cAAc,EACZ,OAAO,gBACT;CACA,gBAAgB,EACd,OAAO,WACT;AACF;AAEA,IAAI,KACF,GAAG,YAAY,EACb,OAAO,oBACT"}
|
package/dist/locales/en-GB.js
CHANGED
package/dist/locales/en-US.js
CHANGED
package/dist/locales/fr-FR.js
CHANGED
|
@@ -67,22 +67,14 @@ var locale = {
|
|
|
67
67
|
visuallyHiddenCodePrefix: "Page"
|
|
68
68
|
},
|
|
69
69
|
IssueMessages: {
|
|
70
|
-
visuallyHiddenErrorCodePrefix: "Code d
|
|
71
|
-
visuallyHiddenWarningCodePrefix: "Code d
|
|
70
|
+
visuallyHiddenErrorCodePrefix: "Code d’erreur,",
|
|
71
|
+
visuallyHiddenWarningCodePrefix: "Code d’alerte,",
|
|
72
72
|
unknownErrorMessage: "Champ avec erreur inconnue.",
|
|
73
73
|
unknownWarningMessage: "Champ avec alerte inconnue."
|
|
74
74
|
},
|
|
75
75
|
IssuesPanel: {
|
|
76
|
-
errorsLabel: (errors) => errors === void 0 ? "Erreurs" :
|
|
77
|
-
|
|
78
|
-
"\xA0",
|
|
79
|
-
errors <= 1 ? "Erreur" : "Erreurs"
|
|
80
|
-
] }),
|
|
81
|
-
warningsLabel: (warnings) => warnings === void 0 ? "Alertes" : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
82
|
-
warnings,
|
|
83
|
-
"\xA0",
|
|
84
|
-
warnings <= 1 ? "Alerte" : "Alertes"
|
|
85
|
-
] }),
|
|
76
|
+
errorsLabel: (errors) => errors === void 0 ? "Erreurs" : `${errors}\u00A0${errors <= 1 ? "Erreur" : "Erreurs"}`,
|
|
77
|
+
warningsLabel: (warnings) => warnings === void 0 ? "Alertes" : `${warnings}\u00A0${warnings <= 1 ? "Alerte" : "Alertes"}`,
|
|
86
78
|
focusButtonLabel: "Focaliser le champ",
|
|
87
79
|
previousIssueButtonLabel: "Champ précédent avec problèmes",
|
|
88
80
|
nextIssueButtonLabel: "Champ suivant avec problèmes",
|
|
@@ -128,11 +120,7 @@ var locale = {
|
|
|
128
120
|
}) },
|
|
129
121
|
TableControlRemoveRowTrigger: {
|
|
130
122
|
label: "Supprimer une ligne",
|
|
131
|
-
confirmDialogMessage: (index) =>
|
|
132
|
-
"Êtes-vous sûr de vouloir supprimer la ligne n° ",
|
|
133
|
-
index + 1,
|
|
134
|
-
" ?"
|
|
135
|
-
] }),
|
|
123
|
+
confirmDialogMessage: (index) => `Êtes-vous sûr de vouloir supprimer la ligne n° ${index + 1}\u202F?`,
|
|
136
124
|
confirmDialogOkText: "Supprimer"
|
|
137
125
|
},
|
|
138
126
|
UnknownValue: { label: "Valeur inconnue" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fr-FR.js","names":[],"sources":["../../src/locales/fr-FR.tsx"],"sourcesContent":["import { VisuallyHidden } from \"@ostack.tech/ui\";\nimport { locale as uiFrFR } from \"@ostack.tech/ui/locales/fr-FR\";\nimport { DEV } from \"esm-env\";\n\nimport type { LocalizationObject } from \"../providers/LocalizationProvider\";\n\n/** `fr-FR` locale. */\nexport const locale: LocalizationObject = {\n baseLocale: uiFrFR,\n AnnexesManager: {\n \"aria-label\": \"Annexes\",\n menuButtonText: \"Annexes\",\n menuButtonLabel: \"Gestionnaire d’annexes\",\n addAnnexText: \"Ajouter une annexe\",\n removeAnnexButtonLabel: \"Supprimer une annexe\",\n removeAnnexKeyboardHint:\n \"Appuyez sur «\\u202FSupprimer\\u202F» pour supprimer la annexe.\",\n removeAnnexConfirmDialogTitle: \"Supprimer la annexe\",\n removeAnnexConfirmDialogMessage: (annexName) => (\n <>Êtes-vous sûr de vouloir supprimer la annexe {annexName} ?</>\n ),\n removeAnnexConfirmDialogOkText: \"Supprimer\",\n },\n CheckboxGroupControl: {},\n DateRangeControl: {\n issuesPanelStartLabelSuffix: \" (date de début)\",\n issuesPanelEndLabelSuffix: \" (date de fin)\",\n },\n FileControl: {\n clearDescription: \"Appuyez sur Retour arrière ou Suppr pour effacer.\",\n viewFileButtonLabel: \"Afficher le fichier\",\n downloadFileButtonLabel: \"Télécharger le fichier\",\n fallbackText: (\n <>\n Le fichier sélectionné ne peut pas être affiché dans ce navigateur.\n <br />\n Veuillez utiliser le bouton ci-dessus pour télécharger le fichier. Vous\n pourrez ensuite l’ouvrir à l’aide d’une application externe.\n </>\n ),\n },\n FormApp: {\n formTitle: \"Formulaire\",\n issueMessages: {\n \"/**\": {\n valueMissing: \"Champ obligatoire.\",\n valueDisallowed: \"Valeur indiquée non autorisée.\",\n rangeUnderflow: \"Valeur inférieure au minimum autorisé.\",\n rangeOverflow: \"Valeur supérieure au maximum autorisé.\",\n lengthMismatch: (_data, { typeInfo: { name, restrictions } }) =>\n name === \"String\" &&\n typeof restrictions.minLength === \"number\" &&\n restrictions.minLength === restrictions.maxLength\n ? `La valeur doit comporter ${restrictions.minLength} ${\n restrictions.minLength <= 1 ? \"caractère\" : \"caractères\"\n }.`\n : \"La valeur a une longueur invalide.\",\n tooShort: (_data, { typeInfo: { name, restrictions } }) =>\n name === \"String\" && typeof restrictions.minLength === \"number\"\n ? `La valeur ne doit pas être inférieure à ${restrictions.minLength} ${\n restrictions.minLength <= 1 ? \"caractère\" : \"caractères\"\n }.`\n : \"Valeur trop courte.\",\n tooLong: (_data, { typeInfo: { name, restrictions } }) =>\n name === \"String\" && typeof restrictions.maxLength === \"number\"\n ? `La valeur ne doit pas dépasser ${restrictions.maxLength} ${\n restrictions.maxLength <= 1 ? \"caractère\" : \"caractères\"\n }.`\n : \"Valeur trop longue.\",\n sizeMismatch: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.minSize === \"number\" &&\n restrictions.minSize === restrictions.maxSize\n ? `Le champ doit contenir ${restrictions.minSize} ${\n restrictions.minSize <= 1 ? \"élément\" : \"éléments\"\n }.`\n : \"Le champ contient un nombre d’éléments non valide.\",\n tooSmall: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.minLength === \"number\"\n ? `Le champ ne doit pas contenir moins de ${restrictions.minLength} ${\n restrictions.minLength <= 1 ? \"élément\" : \"éléments\"\n }.`\n : \"Le nombre d’éléments du champ n’est pas suffisant.\",\n tooLarge: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.maxLength === \"number\"\n ? `Le champ ne doit pas contenir plus de ${restrictions.maxLength} ${\n restrictions.maxLength <= 1 ? \"élément\" : \"éléments\"\n }.`\n : \"Le nombre d’éléments du champ dépasse la limite autorisée.\",\n scaleMismatch: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.minScale === \"number\" &&\n restrictions.minScale === restrictions.maxScale\n ? `La valeur doit comporter ${restrictions.minScale} ${\n restrictions.minScale <= 1 ? \"décimale\" : \"décimales\"\n }.`\n : \"La valeur comporte un nombre invalide de décimales.\",\n scaleUnderflow: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.minScale === \"number\"\n ? `La valeur ne doit pas comporter moins de ${restrictions.minScale} ${\n restrictions.minScale <= 1 ? \"décimale\" : \"décimales\"\n }.`\n : \"La valeur comporte trop peu de décimales.\",\n scaleOverflow: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.maxScale === \"number\"\n ? `La valeur ne doit pas comporter plus de ${restrictions.maxScale} ${\n restrictions.maxScale <= 1 ? \"décimale\" : \"décimales\"\n }.`\n : \"La valeur comporte trop de décimales.\",\n patternMismatch: \"La valeur ne respecte pas le modèle requis.\",\n emailPatternMismatch: \"Adresse e-mail non valide.\",\n fileTypeMismatch: (_data, { typeInfo: { restrictions } }) =>\n Array.isArray(restrictions.acceptedFileTypes)\n ? `Seuls les types de fichiers suivants sont autorisés\\u202F: ${restrictions.acceptedFileTypes.join(\", \")}.`\n : \"Le type de fichier indiqué n’est pas autorisé.\",\n itemsRepeated: ({ firstIndex, secondIndex }) =>\n firstIndex != null && secondIndex != null\n ? `Les éléments ${+firstIndex + 1} et ${+secondIndex + 1} sont répétés.`\n : \"Le champ contient des éléments répétés.\",\n computedValueMismatch: \"La valeur diffère de la valeur calculée.\",\n validationFailed: (data) =>\n DEV\n ? data.exception\n : \"Une erreur s’est produite lors de la validation de ce champ. \" +\n \"Veuillez réessayer plus tard.\",\n },\n },\n confirmUnloadMessage:\n \"Êtes-tu sûr de vouloir quitter cette page\\u202F? Les modifications que tu \" +\n \"as apportées au formulaire n’ont peut-être pas été enregistrées.\",\n },\n FormPagesNavigation: {\n \"aria-label\": \"Pages\",\n },\n FormPage: {\n helperButtonLabel: \"Afficher l’aide\",\n visuallyHiddenCodePrefix: \"Page\",\n },\n IssueMessages: {\n visuallyHiddenErrorCodePrefix: \"Code d'erreur,\",\n visuallyHiddenWarningCodePrefix: \"Code d'alerte,\",\n unknownErrorMessage: \"Champ avec erreur inconnue.\",\n unknownWarningMessage: \"Champ avec alerte inconnue.\",\n },\n IssuesPanel: {\n errorsLabel: (errors) =>\n errors === undefined ? (\n \"Erreurs\"\n ) : (\n <>\n {errors} {errors <= 1 ? \"Erreur\" : \"Erreurs\"}\n </>\n ),\n warningsLabel: (warnings) =>\n warnings === undefined ? (\n \"Alertes\"\n ) : (\n <>\n {warnings} {warnings <= 1 ? \"Alerte\" : \"Alertes\"}\n </>\n ),\n focusButtonLabel: \"Focaliser le champ\",\n previousIssueButtonLabel: \"Champ précédent avec problèmes\",\n nextIssueButtonLabel: \"Champ suivant avec problèmes\",\n firstIssueButtonLabel: \"Premier champ avec problèmes\",\n lastIssueButtonLabel: \"Dernier champ avec problèmes\",\n paginationLabel: (currentPage, totalPages) =>\n `Champ avec problèmes ${currentPage} sur ${totalPages}.`,\n noIssuesMessage: \"Aucun problème à signaler.\",\n resolvedTitle: \"Résolu\",\n resolvedMessage:\n \"Les problèmes ont été résolus. \" +\n \"Veuillez passer au champ suivant avec des problèmes.\",\n },\n IssuesPopover: {\n label: \"Afficher les problèmes\",\n },\n LoadAction: {\n label: \"Ouvrir\",\n successMessage: (file) =>\n `Fichier «\\u202F${file.name}\\u202F» chargé avec succès.`,\n errorMessage: (file) =>\n file\n ? `Impossible de charger le fichier «\\u202F${file.name}\\u202F». ` +\n \"Veuillez confirmer que le fichier indiqué est un fichier valide \" +\n \"du formulaire.\"\n : \"Impossible d’ouvrir le fichier indiqué. Veuillez vérifier que \" +\n \"vous disposez des autorisations nécessaires pour effectuer cette \" +\n \"opération.\",\n },\n PrintAction: {\n label: \"Imprimer\",\n },\n RadioGroupControl: {},\n SaveAction: {\n label: \"Enregistrer\",\n saveOptionsLabel: \"Options d’enregistrement\",\n saveAsLabel: \"Enregistrer sous…\",\n successMessage: (fileHandle) =>\n `Fichier «\\u202F${fileHandle.name}\\u202F» enregistré avec succès.`,\n errorMessage: (fileHandle) =>\n fileHandle\n ? `Impossible d’enregistrer le fichier «\\u202F${fileHandle.name}\\u202F». ` +\n \"Veuillez vérifier que vous disposez des autorisations nécessaires \" +\n \"pour effectuer cette opération.\"\n : \"Impossible d’enregistrer le fichier indiqué. Veuillez vérifier \" +\n \"que vous disposez des autorisations nécessaires pour effectuer \" +\n \"cette opération.\",\n },\n SelectControl: {},\n SelectMultipleControl: {},\n SubmitAction: {\n label: \"Déposer\",\n dialogTitle: \"Déposer la déclaration\",\n dialogDescription:\n \"Veuillez confirmer que vous souhaitez poursuivre le dépôt de la \" +\n \"déclaration.\",\n dialogCancelText: \"Annuler\",\n confirmWarningsCheckboxLabel:\n \"Je déclare avoir pris connaissance des alertes générées par les \" +\n \"données de cette déclaration et souhaiter continuer sans modifier les \" +\n \"données correspondantes.\",\n successMessage: \"Déclaration déposée avec succès.\",\n errorMessage:\n \"Une erreur s’est produite lors du dépôt de la déclaration. Veuillez \" +\n \"réessayer plus tard.\",\n },\n TableControlActionsColumn: {\n label: <VisuallyHidden>Actions</VisuallyHidden>,\n },\n TableControlAddRowTrigger: {\n label: \"Ajouter une ligne\",\n },\n TableControlContent: {\n emptyMessage: \"Aucune ligne ajoutée.\",\n },\n TableControlIndexColumn: {\n label: <span aria-label=\"Numéro de ligne\">N°</span>,\n },\n TableControlRemoveRowTrigger: {\n label: \"Supprimer une ligne\",\n confirmDialogMessage: (index) => (\n <>Êtes-vous sûr de vouloir supprimer la ligne n° {index + 1} ?</>\n ),\n confirmDialogOkText: \"Supprimer\",\n },\n UnknownValue: {\n label: \"Valeur inconnue\",\n },\n ValidateAction: {\n label: \"Valider\",\n },\n};\n\nif (DEV) {\n locale.DebugInfo = {\n label: \"Informations de débogage\",\n };\n}\n"],"mappings":";;;;;;AAOA,IAAa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,YAAY,EACjB,OAAO,2BACT"}
|
|
1
|
+
{"version":3,"file":"fr-FR.js","names":[],"sources":["../../src/locales/fr-FR.tsx"],"sourcesContent":["import { VisuallyHidden } from \"@ostack.tech/ui\";\nimport { locale as uiFrFR } from \"@ostack.tech/ui/locales/fr-FR\";\nimport { DEV } from \"esm-env\";\n\nimport type { LocalizationObject } from \"../providers/LocalizationProvider\";\n\n/** `fr-FR` locale. */\nexport const locale: LocalizationObject = {\n baseLocale: uiFrFR,\n AnnexesManager: {\n \"aria-label\": \"Annexes\",\n menuButtonText: \"Annexes\",\n menuButtonLabel: \"Gestionnaire d’annexes\",\n addAnnexText: \"Ajouter une annexe\",\n removeAnnexButtonLabel: \"Supprimer une annexe\",\n removeAnnexKeyboardHint: \"Appuyez sur «\\u202FSupprimer\\u202F» pour supprimer la annexe.\",\n removeAnnexConfirmDialogTitle: \"Supprimer la annexe\",\n removeAnnexConfirmDialogMessage: (annexName) => (\n <>Êtes-vous sûr de vouloir supprimer la annexe {annexName} ?</>\n ),\n removeAnnexConfirmDialogOkText: \"Supprimer\",\n },\n CheckboxGroupControl: {},\n DateRangeControl: {\n issuesPanelStartLabelSuffix: \" (date de début)\",\n issuesPanelEndLabelSuffix: \" (date de fin)\",\n },\n FileControl: {\n clearDescription: \"Appuyez sur Retour arrière ou Suppr pour effacer.\",\n viewFileButtonLabel: \"Afficher le fichier\",\n downloadFileButtonLabel: \"Télécharger le fichier\",\n fallbackText: (\n <>\n Le fichier sélectionné ne peut pas être affiché dans ce navigateur.\n <br />\n Veuillez utiliser le bouton ci-dessus pour télécharger le fichier. Vous pourrez ensuite\n l’ouvrir à l’aide d’une application externe.\n </>\n ),\n },\n FormApp: {\n formTitle: \"Formulaire\",\n issueMessages: {\n \"/**\": {\n valueMissing: \"Champ obligatoire.\",\n valueDisallowed: \"Valeur indiquée non autorisée.\",\n rangeUnderflow: \"Valeur inférieure au minimum autorisé.\",\n rangeOverflow: \"Valeur supérieure au maximum autorisé.\",\n lengthMismatch: (_data, { typeInfo: { name, restrictions } }) =>\n name === \"String\" &&\n typeof restrictions.minLength === \"number\" &&\n restrictions.minLength === restrictions.maxLength\n ? `La valeur doit comporter ${restrictions.minLength} ${\n restrictions.minLength <= 1 ? \"caractère\" : \"caractères\"\n }.`\n : \"La valeur a une longueur invalide.\",\n tooShort: (_data, { typeInfo: { name, restrictions } }) =>\n name === \"String\" && typeof restrictions.minLength === \"number\"\n ? `La valeur ne doit pas être inférieure à ${restrictions.minLength} ${\n restrictions.minLength <= 1 ? \"caractère\" : \"caractères\"\n }.`\n : \"Valeur trop courte.\",\n tooLong: (_data, { typeInfo: { name, restrictions } }) =>\n name === \"String\" && typeof restrictions.maxLength === \"number\"\n ? `La valeur ne doit pas dépasser ${restrictions.maxLength} ${\n restrictions.maxLength <= 1 ? \"caractère\" : \"caractères\"\n }.`\n : \"Valeur trop longue.\",\n sizeMismatch: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.minSize === \"number\" && restrictions.minSize === restrictions.maxSize\n ? `Le champ doit contenir ${restrictions.minSize} ${\n restrictions.minSize <= 1 ? \"élément\" : \"éléments\"\n }.`\n : \"Le champ contient un nombre d’éléments non valide.\",\n tooSmall: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.minLength === \"number\"\n ? `Le champ ne doit pas contenir moins de ${restrictions.minLength} ${\n restrictions.minLength <= 1 ? \"élément\" : \"éléments\"\n }.`\n : \"Le nombre d’éléments du champ n’est pas suffisant.\",\n tooLarge: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.maxLength === \"number\"\n ? `Le champ ne doit pas contenir plus de ${restrictions.maxLength} ${\n restrictions.maxLength <= 1 ? \"élément\" : \"éléments\"\n }.`\n : \"Le nombre d’éléments du champ dépasse la limite autorisée.\",\n scaleMismatch: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.minScale === \"number\" &&\n restrictions.minScale === restrictions.maxScale\n ? `La valeur doit comporter ${restrictions.minScale} ${\n restrictions.minScale <= 1 ? \"décimale\" : \"décimales\"\n }.`\n : \"La valeur comporte un nombre invalide de décimales.\",\n scaleUnderflow: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.minScale === \"number\"\n ? `La valeur ne doit pas comporter moins de ${restrictions.minScale} ${\n restrictions.minScale <= 1 ? \"décimale\" : \"décimales\"\n }.`\n : \"La valeur comporte trop peu de décimales.\",\n scaleOverflow: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.maxScale === \"number\"\n ? `La valeur ne doit pas comporter plus de ${restrictions.maxScale} ${\n restrictions.maxScale <= 1 ? \"décimale\" : \"décimales\"\n }.`\n : \"La valeur comporte trop de décimales.\",\n patternMismatch: \"La valeur ne respecte pas le modèle requis.\",\n emailPatternMismatch: \"Adresse e-mail non valide.\",\n fileTypeMismatch: (_data, { typeInfo: { restrictions } }) =>\n Array.isArray(restrictions.acceptedFileTypes)\n ? `Seuls les types de fichiers suivants sont autorisés\\u202F: ${restrictions.acceptedFileTypes.join(\", \")}.`\n : \"Le type de fichier indiqué n’est pas autorisé.\",\n itemsRepeated: ({ firstIndex, secondIndex }) =>\n firstIndex != null && secondIndex != null\n ? `Les éléments ${+firstIndex + 1} et ${+secondIndex + 1} sont répétés.`\n : \"Le champ contient des éléments répétés.\",\n computedValueMismatch: \"La valeur diffère de la valeur calculée.\",\n validationFailed: (data) =>\n DEV\n ? data.exception\n : \"Une erreur s’est produite lors de la validation de ce champ. Veuillez réessayer \" +\n \"plus tard.\",\n },\n },\n confirmUnloadMessage:\n \"Êtes-tu sûr de vouloir quitter cette page\\u202F? Les modifications que tu as apportées au \" +\n \"formulaire n’ont peut-être pas été enregistrées.\",\n },\n FormPagesNavigation: {\n \"aria-label\": \"Pages\",\n },\n FormPage: {\n helperButtonLabel: \"Afficher l’aide\",\n visuallyHiddenCodePrefix: \"Page\",\n },\n IssueMessages: {\n visuallyHiddenErrorCodePrefix: \"Code d’erreur,\",\n visuallyHiddenWarningCodePrefix: \"Code d’alerte,\",\n unknownErrorMessage: \"Champ avec erreur inconnue.\",\n unknownWarningMessage: \"Champ avec alerte inconnue.\",\n },\n IssuesPanel: {\n errorsLabel: (errors) =>\n errors === undefined ? \"Erreurs\" : `${errors}\\u00A0${errors <= 1 ? \"Erreur\" : \"Erreurs\"}`,\n warningsLabel: (warnings) =>\n warnings === undefined\n ? \"Alertes\"\n : `${warnings}\\u00A0${warnings <= 1 ? \"Alerte\" : \"Alertes\"}`,\n focusButtonLabel: \"Focaliser le champ\",\n previousIssueButtonLabel: \"Champ précédent avec problèmes\",\n nextIssueButtonLabel: \"Champ suivant avec problèmes\",\n firstIssueButtonLabel: \"Premier champ avec problèmes\",\n lastIssueButtonLabel: \"Dernier champ avec problèmes\",\n paginationLabel: (currentPage, totalPages) =>\n `Champ avec problèmes ${currentPage} sur ${totalPages}.`,\n noIssuesMessage: \"Aucun problème à signaler.\",\n resolvedTitle: \"Résolu\",\n resolvedMessage:\n \"Les problèmes ont été résolus. Veuillez passer au champ suivant avec des problèmes.\",\n },\n IssuesPopover: {\n label: \"Afficher les problèmes\",\n },\n LoadAction: {\n label: \"Ouvrir\",\n successMessage: (file) => `Fichier «\\u202F${file.name}\\u202F» chargé avec succès.`,\n errorMessage: (file) =>\n file\n ? `Impossible de charger le fichier «\\u202F${file.name}\\u202F». Veuillez confirmer que ` +\n \"le fichier indiqué est un fichier valide du formulaire.\"\n : \"Impossible d’ouvrir le fichier indiqué. Veuillez vérifier que vous disposez des \" +\n \"autorisations nécessaires pour effectuer cette opération.\",\n },\n PrintAction: {\n label: \"Imprimer\",\n },\n RadioGroupControl: {},\n SaveAction: {\n label: \"Enregistrer\",\n saveOptionsLabel: \"Options d’enregistrement\",\n saveAsLabel: \"Enregistrer sous…\",\n successMessage: (fileHandle) =>\n `Fichier «\\u202F${fileHandle.name}\\u202F» enregistré avec succès.`,\n errorMessage: (fileHandle) =>\n fileHandle\n ? `Impossible d’enregistrer le fichier «\\u202F${fileHandle.name}\\u202F». Veuillez ` +\n \"vérifier que vous disposez des autorisations nécessaires pour effectuer cette opération.\"\n : \"Impossible d’enregistrer le fichier indiqué. Veuillez vérifier que vous disposez des \" +\n \"autorisations nécessaires pour effectuer cette opération.\",\n },\n SelectControl: {},\n SelectMultipleControl: {},\n SubmitAction: {\n label: \"Déposer\",\n dialogTitle: \"Déposer la déclaration\",\n dialogDescription:\n \"Veuillez confirmer que vous souhaitez poursuivre le dépôt de la déclaration.\",\n dialogCancelText: \"Annuler\",\n confirmWarningsCheckboxLabel:\n \"Je déclare avoir pris connaissance des alertes générées par les données de cette \" +\n \"déclaration et souhaiter continuer sans modifier les données correspondantes.\",\n successMessage: \"Déclaration déposée avec succès.\",\n errorMessage:\n \"Une erreur s’est produite lors du dépôt de la déclaration. Veuillez réessayer plus tard.\",\n },\n TableControlActionsColumn: {\n label: <VisuallyHidden>Actions</VisuallyHidden>,\n },\n TableControlAddRowTrigger: {\n label: \"Ajouter une ligne\",\n },\n TableControlContent: {\n emptyMessage: \"Aucune ligne ajoutée.\",\n },\n TableControlIndexColumn: {\n label: <span aria-label=\"Numéro de ligne\">N°</span>,\n },\n TableControlRemoveRowTrigger: {\n label: \"Supprimer une ligne\",\n confirmDialogMessage: (index) =>\n `Êtes-vous sûr de vouloir supprimer la ligne n° ${index + 1}\\u202F?`,\n confirmDialogOkText: \"Supprimer\",\n },\n UnknownValue: {\n label: \"Valeur inconnue\",\n },\n ValidateAction: {\n label: \"Valider\",\n },\n};\n\nif (DEV) {\n locale.DebugInfo = {\n label: \"Informations de débogage\",\n };\n}\n"],"mappings":";;;;;;AAOA,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;GAA8C;GAAU;EAAW,EAAA,CAAA;EAEvE,gCAAgC;CAClC;CACA,sBAAsB,CAAC;CACvB,kBAAk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ACA,YAAY;EACV,OAAO;EACP,iBAAiB,SAAS,kBAAkB,KAAK,KAAK;EACtD,eAAe,SACb,OACI,2CAA2C,KAAK,KAAK,2FAErD;CAER;CACA,aAAa,EACX,OAAO,WACT;CACA,mBAAmB,CAAC;CACpB,YAAY;EACV,OAAO;EACP,kBAAkB;EAClB,aAAa;EACb,iBAAiB,eACf,kBAAkB,WAAW,KAAK;EACpC,eAAe,eACb,aACI,8CAA8C,WAAW,KAAK,8GAE9D;CAER;CACA,eAAe,CAAC;CAChB,uBAAuB,CAAC;CACxB,cAAc;EACZ,OAAO;EACP,aAAa;EACb,mBACE;EACF,kBAAkB;EAClB,8BACE;EAEF,gBAAgB;EAChB,cACE;CACJ;CACA,2BAA2B,EACzB,OAAO,oBAAC,gBAAD,EAAA,UAAgB,UAAuB,CAAA,EAChD;CACA,2BAA2B,EACzB,OAAO,oBACT;CACA,qBAAqB,EACnB,cAAc,wBAChB;CACA,yBAAyB,EACvB,OAAO,oBAAC,QAAD;EAAM,cAAW;EAAkB,UAAA;CAAQ,CAAA,EACpD;CACA,8BAA8B;EAC5B,OAAO;EACP,uBAAuB,UACrB,kDAAkD,QAAQ,EAAE;EAC9D,qBAAqB;CACvB;CACA,cAAc,EACZ,OAAO,kBACT;CACA,gBAAgB,EACd,OAAO,UACT;AACF;AAEA,IAAI,KACF,OAAO,YAAY,EACjB,OAAO,2BACT"}
|
package/dist/locales/pt-PT.js
CHANGED
|
@@ -73,16 +73,8 @@ var locale = {
|
|
|
73
73
|
unknownWarningMessage: "Campo com alerta desconhecido."
|
|
74
74
|
},
|
|
75
75
|
IssuesPanel: {
|
|
76
|
-
errorsLabel: (errors) => errors === void 0 ? "Erros" :
|
|
77
|
-
|
|
78
|
-
"\xA0",
|
|
79
|
-
errors === 1 ? "Erro" : "Erros"
|
|
80
|
-
] }),
|
|
81
|
-
warningsLabel: (warnings) => warnings === void 0 ? "Alertas" : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
82
|
-
warnings,
|
|
83
|
-
"\xA0",
|
|
84
|
-
warnings === 1 ? "Alerta" : "Alertas"
|
|
85
|
-
] }),
|
|
76
|
+
errorsLabel: (errors) => errors === void 0 ? "Erros" : `${errors}\u00A0${errors === 1 ? "Erro" : "Erros"}`,
|
|
77
|
+
warningsLabel: (warnings) => warnings === void 0 ? "Alertas" : `${warnings}\u00A0${warnings === 1 ? "Alerta" : "Alertas"}`,
|
|
86
78
|
focusButtonLabel: "Focar campo",
|
|
87
79
|
previousIssueButtonLabel: "Campo com problemas anterior",
|
|
88
80
|
nextIssueButtonLabel: "Próximo campo com problemas",
|
|
@@ -128,11 +120,7 @@ var locale = {
|
|
|
128
120
|
}) },
|
|
129
121
|
TableControlRemoveRowTrigger: {
|
|
130
122
|
label: "Remover linha",
|
|
131
|
-
confirmDialogMessage: (index) =>
|
|
132
|
-
"Tem a certeza que pretende remover a linha n.º ",
|
|
133
|
-
index + 1,
|
|
134
|
-
"?"
|
|
135
|
-
] }),
|
|
123
|
+
confirmDialogMessage: (index) => `Tem a certeza que pretende remover a linha n.º ${index + 1}?`,
|
|
136
124
|
confirmDialogOkText: "Remover"
|
|
137
125
|
},
|
|
138
126
|
UnknownValue: { label: "Valor desconhecido" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pt-PT.js","names":[],"sources":["../../src/locales/pt-PT.tsx"],"sourcesContent":["import { VisuallyHidden } from \"@ostack.tech/ui\";\nimport { locale as uiPtPT } from \"@ostack.tech/ui/locales/pt-PT\";\nimport { DEV } from \"esm-env\";\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.minScale === \"number\" &&\n restrictions.minScale === restrictions.maxScale\n ? `Valor deve ter ${restrictions.minScale} ${\n restrictions.minScale === 1 ? \"casa decimal\" : \"casas decimais\"\n }.`\n : \"Valor tem número inválido de casas decimais.\",\n scaleUnderflow: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.minScale === \"number\"\n ? `Valor não deve ter menos de ${restrictions.minScale} ${\n restrictions.minScale === 1 ? \"casa decimal\" : \"casas decimais\"\n }.`\n : \"Valor tem número insuficiente de casas decimais.\",\n scaleOverflow: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.maxScale === \"number\"\n ? `Valor não deve ter mais de ${restrictions.maxScale} ${\n restrictions.maxScale === 1 ? \"casa decimal\" : \"casas decimais\"\n }.`\n : \"Valor tem demasiadas 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 DEV\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 TableControlActionsColumn: {\n label: <VisuallyHidden>Ações</VisuallyHidden>,\n },\n TableControlAddRowTrigger: {\n label: \"Adicionar linha\",\n },\n TableControlContent: {\n emptyMessage: \"Sem linhas adicionadas.\",\n },\n TableControlIndexColumn: {\n label: <span aria-label=\"Número da linha\">N.º</span>,\n },\n TableControlRemoveRowTrigger: {\n label: \"Remover linha\",\n confirmDialogMessage: (index) => (\n <>Tem a certeza que pretende remover a linha n.º {index + 1}?</>\n ),\n confirmDialogOkText: \"Remover\",\n },\n UnknownValue: {\n label: \"Valor desconhecido\",\n },\n ValidateAction: {\n label: \"Validar\",\n },\n};\n\nif (DEV) {\n locale.DebugInfo = {\n label: (\n <>\n Informação de <i>debug</i>\n </>\n ),\n };\n}\n"],"mappings":";;;;;;AAOA,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,qBAC1C,SAAS,YACT,OAAO,aAAa,cAAc,YAClC,aAAa,cAAc,aAAa,YACpC,kBAAkB,aAAa,UAAU,GACvC,aAAa,cAAc,IAAI,aAAa,aAC7C,KACD;GACN,WAAW,OAAO,EAAE,UAAU,EAAE,MAAM,qBACpC,SAAS,YAAY,OAAO,aAAa,cAAc,WACnD,+BAA+B,aAAa,UAAU,GACpD,aAAa,cAAc,IAAI,aAAa,aAC7C,KACD;GACN,UAAU,OAAO,EAAE,UAAU,EAAE,MAAM,qBACnC,SAAS,YAAY,OAAO,aAAa,cAAc,WACnD,8BAA8B,aAAa,UAAU,GACnD,aAAa,cAAc,IAAI,a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;CACA,8BAA8B;EAC5B,OAAO;EACP,uBAAuB,UACrB,qBAAA,UAAA,EAAA,UAAA;GAAE;GAAgD,QAAQ;GAAE;EAAG,EAAA,CAAA;EAEjE,qBAAqB;CACvB;CACA,cAAc,EACZ,OAAO,qBACT;CACA,gBAAgB,EACd,OAAO,UACT;AACF;AAEA,IAAI,KACF,OAAO,YAAY,EACjB,OACE,qBAAA,UAAA,EAAA,UAAA,CAAE,kBACc,oBAAC,KAAD,EAAA,UAAG,QAAQ,CAAA,CACzB,EAAA,CAAA,EAEN"}
|
|
1
|
+
{"version":3,"file":"pt-PT.js","names":[],"sources":["../../src/locales/pt-PT.tsx"],"sourcesContent":["import { VisuallyHidden } from \"@ostack.tech/ui\";\nimport { locale as uiPtPT } from \"@ostack.tech/ui/locales/pt-PT\";\nimport { DEV } from \"esm-env\";\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 abri-lo utilizando uma\n 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\" && 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.minScale === \"number\" &&\n restrictions.minScale === restrictions.maxScale\n ? `Valor deve ter ${restrictions.minScale} ${\n restrictions.minScale === 1 ? \"casa decimal\" : \"casas decimais\"\n }.`\n : \"Valor tem número inválido de casas decimais.\",\n scaleUnderflow: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.minScale === \"number\"\n ? `Valor não deve ter menos de ${restrictions.minScale} ${\n restrictions.minScale === 1 ? \"casa decimal\" : \"casas decimais\"\n }.`\n : \"Valor tem número insuficiente de casas decimais.\",\n scaleOverflow: (_data, { typeInfo: { restrictions } }) =>\n typeof restrictions.maxScale === \"number\"\n ? `Valor não deve ter mais de ${restrictions.maxScale} ${\n restrictions.maxScale === 1 ? \"casa decimal\" : \"casas decimais\"\n }.`\n : \"Valor tem demasiadas 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 DEV\n ? data.exception\n : \"Algo correu mal ao validar este campo. 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 formulário podem não ter \" +\n \"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 ? \"Erros\" : `${errors}\\u00A0${errors === 1 ? \"Erro\" : \"Erros\"}`,\n warningsLabel: (warnings) =>\n warnings === undefined\n ? \"Alertas\"\n : `${warnings}\\u00A0${warnings === 1 ? \"Alerta\" : \"Alertas\"}`,\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. 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}”. Por favor confirme que o ` +\n \"ficheiro indicado é um ficheiro válido do formulário.\"\n : \"Não foi possível abrir o ficheiro indicado. Por favor confirme que tem as permissões \" +\n \"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) => `Ficheiro “${fileHandle.name}” gravado com sucesso.`,\n errorMessage: (fileHandle) =>\n fileHandle\n ? `Não foi possível gravar o ficheiro “${fileHandle.name}”. Por favor confirme que tem ` +\n \"as permissões devidas para efetuar a operação.\"\n : \"Não foi possível gravar o ficheiro indicado. Por favor confirme que tem as permissões \" +\n \"devidas para efetuar a operação.\",\n },\n SelectControl: {},\n SelectMultipleControl: {},\n SubmitAction: {\n label: \"Entregar\",\n dialogTitle: \"Entregar declaração\",\n dialogDescription: \"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 declaração e que \" +\n \"desejo continuar sem alterar os respetivos dados.\",\n successMessage: \"Declaração entregue com sucesso.\",\n errorMessage: \"Algo correu mal ao entregar a declaração. Por favor volte a tentar mais tarde.\",\n },\n TableControlActionsColumn: {\n label: <VisuallyHidden>Ações</VisuallyHidden>,\n },\n TableControlAddRowTrigger: {\n label: \"Adicionar linha\",\n },\n TableControlContent: {\n emptyMessage: \"Sem linhas adicionadas.\",\n },\n TableControlIndexColumn: {\n label: <span aria-label=\"Número da linha\">N.º</span>,\n },\n TableControlRemoveRowTrigger: {\n label: \"Remover linha\",\n confirmDialogMessage: (index) => `Tem a certeza que pretende remover a linha n.º ${index + 1}?`,\n confirmDialogOkText: \"Remover\",\n },\n UnknownValue: {\n label: \"Valor desconhecido\",\n },\n ValidateAction: {\n label: \"Validar\",\n },\n};\n\nif (DEV) {\n locale.DebugInfo = {\n label: (\n <>\n Informação de <i>debug</i>\n </>\n ),\n };\n}\n"],"mappings":";;;;;;AAOA,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,2BAA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