@ostack.tech/ui-kform 0.15.0 → 0.15.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.
Files changed (153) hide show
  1. package/dist/chunks/en-CaLvO1z0.js +133 -0
  2. package/dist/chunks/en-CaLvO1z0.js.map +1 -0
  3. package/dist/locales/en-GB.js +10 -8
  4. package/dist/locales/en-GB.js.map +1 -1
  5. package/dist/locales/en-US.js +10 -8
  6. package/dist/locales/en-US.js.map +1 -1
  7. package/dist/locales/fr-FR.js +133 -145
  8. package/dist/locales/fr-FR.js.map +1 -1
  9. package/dist/locales/pt-PT.js +133 -145
  10. package/dist/locales/pt-PT.js.map +1 -1
  11. package/dist/ostack-ui-kform.js +5559 -7867
  12. package/dist/ostack-ui-kform.js.map +1 -1
  13. package/dist/types/components/Annexes/Annex.d.ts +5 -5
  14. package/dist/types/components/Annexes/AnnexRegistrar.d.ts +1 -1
  15. package/dist/types/components/Annexes/AnnexTab.d.ts +2 -2
  16. package/dist/types/components/Annexes/Annexes.d.ts +4 -4
  17. package/dist/types/components/Annexes/AnnexesContext.d.ts +5 -5
  18. package/dist/types/components/Annexes/AnnexesManager.d.ts +3 -3
  19. package/dist/types/components/Annexes/AnnexesMenu.d.ts +4 -4
  20. package/dist/types/components/Annexes/AnnexesTabList.d.ts +3 -3
  21. package/dist/types/components/Annexes/RepetitiveAnnexRegistrar.d.ts +2 -2
  22. package/dist/types/components/Annexes/index.d.ts +5 -5
  23. package/dist/types/components/CheckboxControl/CheckboxControl.d.ts +6 -6
  24. package/dist/types/components/CheckboxControl/index.d.ts +1 -1
  25. package/dist/types/components/CheckboxGroupControl/CheckboxGroupControl.d.ts +6 -6
  26. package/dist/types/components/CheckboxGroupControl/index.d.ts +1 -1
  27. package/dist/types/components/ControlField/ControlField.d.ts +4 -4
  28. package/dist/types/components/ControlField/ControlFieldContext.d.ts +4 -4
  29. package/dist/types/components/ControlField/index.d.ts +2 -2
  30. package/dist/types/components/DateControl/DateControl.d.ts +6 -6
  31. package/dist/types/components/DateControl/index.d.ts +1 -1
  32. package/dist/types/components/DateRangeControl/DateRangeControl.d.ts +6 -6
  33. package/dist/types/components/DateRangeControl/index.d.ts +1 -1
  34. package/dist/types/components/FileControl/FileControl.d.ts +6 -6
  35. package/dist/types/components/FileControl/index.d.ts +1 -1
  36. package/dist/types/components/FormApp/FormApp.d.ts +9 -9
  37. package/dist/types/components/FormApp/FormAppContext.d.ts +7 -7
  38. package/dist/types/components/FormApp/FormAppElement.d.ts +3 -3
  39. package/dist/types/components/FormApp/FormAppIssueMessages.d.ts +3 -3
  40. package/dist/types/components/FormApp/FormAppStatus.d.ts +2 -2
  41. package/dist/types/components/FormApp/index.d.ts +4 -4
  42. package/dist/types/components/FormPages/FormPage.d.ts +6 -6
  43. package/dist/types/components/FormPages/FormPageHeader.d.ts +3 -3
  44. package/dist/types/components/FormPages/FormPageRegistrar.d.ts +1 -1
  45. package/dist/types/components/FormPages/FormPageSidebarItem.d.ts +2 -2
  46. package/dist/types/components/FormPages/FormPages.d.ts +3 -3
  47. package/dist/types/components/FormPages/FormPagesContext.d.ts +5 -5
  48. package/dist/types/components/FormPages/FormPagesNavigation.d.ts +4 -4
  49. package/dist/types/components/FormPages/FormPagesSelect.d.ts +2 -2
  50. package/dist/types/components/FormPages/FormPagesSelectOption.d.ts +2 -2
  51. package/dist/types/components/FormPages/FormPagesSidebar.d.ts +2 -2
  52. package/dist/types/components/FormPages/index.d.ts +4 -4
  53. package/dist/types/components/FormStepper/FormStep.d.ts +6 -6
  54. package/dist/types/components/FormStepper/FormStepButton.d.ts +2 -2
  55. package/dist/types/components/FormStepper/FormStepList.d.ts +3 -3
  56. package/dist/types/components/FormStepper/FormStepRegistrar.d.ts +1 -1
  57. package/dist/types/components/FormStepper/FormStepper.d.ts +4 -4
  58. package/dist/types/components/FormStepper/FormStepperContext.d.ts +5 -5
  59. package/dist/types/components/FormStepper/FormStepperFinishTrigger.d.ts +1 -1
  60. package/dist/types/components/FormStepper/FormStepperNextTrigger.d.ts +1 -1
  61. package/dist/types/components/FormStepper/FormStepperPreviousTrigger.d.ts +1 -1
  62. package/dist/types/components/FormStepper/FormStepperState.d.ts +1 -1
  63. package/dist/types/components/FormStepper/index.d.ts +7 -7
  64. package/dist/types/components/IssueMessage/IssueMessage.d.ts +4 -4
  65. package/dist/types/components/IssueMessage/index.d.ts +1 -1
  66. package/dist/types/components/IssueMessages/IssueMessages.d.ts +4 -4
  67. package/dist/types/components/IssueMessages/index.d.ts +1 -1
  68. package/dist/types/components/IssuesAlert/IssuesAlert.d.ts +4 -4
  69. package/dist/types/components/IssuesAlert/index.d.ts +1 -1
  70. package/dist/types/components/IssuesPanel/IssuesPanel.d.ts +4 -4
  71. package/dist/types/components/IssuesPanel/IssuesPanelControls.d.ts +5 -5
  72. package/dist/types/components/IssuesPanel/IssuesPanelMessagesCard.d.ts +6 -6
  73. package/dist/types/components/IssuesPanel/IssuesPanelSummaryCard.d.ts +5 -5
  74. package/dist/types/components/IssuesPanel/index.d.ts +1 -1
  75. package/dist/types/components/IssuesPopover/IssuesPopover.d.ts +4 -4
  76. package/dist/types/components/IssuesPopover/index.d.ts +1 -1
  77. package/dist/types/components/LoadAction/LoadAction.d.ts +4 -4
  78. package/dist/types/components/LoadAction/index.d.ts +1 -1
  79. package/dist/types/components/NumericControl/NumericControl.d.ts +6 -6
  80. package/dist/types/components/NumericControl/index.d.ts +1 -1
  81. package/dist/types/components/PathLink/PathLink.d.ts +2 -2
  82. package/dist/types/components/PathLink/index.d.ts +1 -1
  83. package/dist/types/components/PrintAction/PrintAction.d.ts +3 -3
  84. package/dist/types/components/PrintAction/index.d.ts +1 -1
  85. package/dist/types/components/RadioGroupControl/RadioGroupControl.d.ts +6 -6
  86. package/dist/types/components/RadioGroupControl/index.d.ts +1 -1
  87. package/dist/types/components/SaveAction/SaveAction.d.ts +4 -4
  88. package/dist/types/components/SaveAction/index.d.ts +1 -1
  89. package/dist/types/components/SelectControl/SelectControl.d.ts +7 -7
  90. package/dist/types/components/SelectControl/index.d.ts +1 -1
  91. package/dist/types/components/SelectMultipleControl/SelectMultipleControl.d.ts +7 -7
  92. package/dist/types/components/SelectMultipleControl/index.d.ts +1 -1
  93. package/dist/types/components/SubmitAction/SubmitAction.d.ts +5 -5
  94. package/dist/types/components/SubmitAction/index.d.ts +1 -1
  95. package/dist/types/components/TableControl/TableControl.d.ts +8 -8
  96. package/dist/types/components/TableControl/TableControlAddRowTrigger.d.ts +3 -3
  97. package/dist/types/components/TableControl/TableControlApi.d.ts +4 -4
  98. package/dist/types/components/TableControl/TableControlCell.d.ts +3 -3
  99. package/dist/types/components/TableControl/TableControlColumn.d.ts +4 -4
  100. package/dist/types/components/TableControl/TableControlContent.d.ts +3 -3
  101. package/dist/types/components/TableControl/TableControlContext.d.ts +7 -7
  102. package/dist/types/components/TableControl/TableControlPagination.d.ts +1 -1
  103. package/dist/types/components/TableControl/TableControlRemoveRowTrigger.d.ts +3 -3
  104. package/dist/types/components/TableControl/TableControlRow.d.ts +3 -3
  105. package/dist/types/components/TableControl/TableControlRowsPerPage.d.ts +1 -1
  106. package/dist/types/components/TableControl/index.d.ts +8 -8
  107. package/dist/types/components/TextControl/TextControl.d.ts +6 -6
  108. package/dist/types/components/TextControl/index.d.ts +1 -1
  109. package/dist/types/components/TopBar/TopBar.d.ts +2 -2
  110. package/dist/types/components/TopBar/TopBarActions.d.ts +3 -3
  111. package/dist/types/components/TopBar/TopBarContext.d.ts +1 -1
  112. package/dist/types/components/TopBar/index.d.ts +3 -3
  113. package/dist/types/components/UnknownValue/UnknownValue.d.ts +2 -2
  114. package/dist/types/components/UnknownValue/index.d.ts +1 -1
  115. package/dist/types/components/ValidateAction/ValidateAction.d.ts +3 -3
  116. package/dist/types/components/ValidateAction/index.d.ts +1 -1
  117. package/dist/types/index.d.ts +39 -39
  118. package/dist/types/locales/en-GB.d.ts +1 -1
  119. package/dist/types/locales/en-US.d.ts +1 -1
  120. package/dist/types/locales/en.d.ts +1 -1
  121. package/dist/types/locales/fr-FR.d.ts +1 -1
  122. package/dist/types/locales/index.d.ts +4 -4
  123. package/dist/types/locales/pt-PT.d.ts +1 -1
  124. package/dist/types/providers/ActivePathProvider/ActivePathContext.d.ts +2 -2
  125. package/dist/types/providers/ActivePathProvider/ActivePathProvider.d.ts +3 -3
  126. package/dist/types/providers/ActivePathProvider/index.d.ts +2 -2
  127. package/dist/types/providers/LocalizationProvider/LocalizationContext.d.ts +2 -2
  128. package/dist/types/providers/LocalizationProvider/LocalizationObject.d.ts +20 -20
  129. package/dist/types/providers/LocalizationProvider/LocalizationProvider.d.ts +3 -3
  130. package/dist/types/providers/LocalizationProvider/index.d.ts +4 -4
  131. package/dist/types/providers/LocalizationProvider/useLocale.d.ts +1 -1
  132. package/dist/types/providers/PrefixSuffixProvider/PrefixSuffixContext.d.ts +1 -1
  133. package/dist/types/providers/PrefixSuffixProvider/PrefixSuffixProvider.d.ts +2 -2
  134. package/dist/types/providers/PrefixSuffixProvider/defaultPrefixSuffix.d.ts +1 -1
  135. package/dist/types/providers/PrefixSuffixProvider/index.d.ts +4 -4
  136. package/dist/types/providers/PrefixSuffixProvider/usePrefix.d.ts +1 -1
  137. package/dist/types/utils/dateRestrictions.d.ts +2 -2
  138. package/dist/types/utils/displayStatusConversions.d.ts +2 -2
  139. package/dist/types/utils/mostSpecificPath.d.ts +1 -1
  140. package/dist/types/utils/options.d.ts +2 -2
  141. package/dist/types/utils/pathSpecificity.d.ts +1 -1
  142. package/dist/types/utils/selectionTransformations.d.ts +4 -4
  143. package/dist/types/utils/useControlAutofocus.d.ts +2 -2
  144. package/dist/types/utils/useControlIssues.d.ts +3 -3
  145. package/dist/types/utils/useFormLoader.d.ts +3 -3
  146. package/dist/types/utils/useFormSaver.d.ts +3 -3
  147. package/dist/types/utils/useRegisterControl.d.ts +3 -3
  148. package/dist/types/utils/useReportValidationFailures.d.ts +1 -1
  149. package/dist/types/utils/useResetOnChange.d.ts +3 -3
  150. package/dist/types/utils/useTemporalStringTransformer.d.ts +3 -3
  151. package/package.json +5 -5
  152. package/dist/chunks/en-Cb79GQnj.js +0 -145
  153. package/dist/chunks/en-Cb79GQnj.js.map +0 -1
@@ -0,0 +1,133 @@
1
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
+ //#region src/locales/en.tsx
3
+ /** `en` locale (partial). */
4
+ var en = {
5
+ AnnexesManager: {
6
+ "aria-label": "Annexes",
7
+ menuButtonText: "Annexes",
8
+ menuButtonLabel: "Annexes manager",
9
+ addAnnexText: "Add annex",
10
+ removeAnnexButtonLabel: "Remove annex",
11
+ removeAnnexKeyboardHint: "Press “Delete” to remove the annex.",
12
+ removeAnnexConfirmDialogTitle: "Remove annex",
13
+ removeAnnexConfirmDialogMessage: (annexName) => /* @__PURE__ */ jsxs(Fragment, { children: [
14
+ "Are you sure you want to remove annex ",
15
+ annexName,
16
+ "?"
17
+ ] }),
18
+ removeAnnexConfirmDialogOkText: "Remove"
19
+ },
20
+ CheckboxGroupControl: {},
21
+ DateRangeControl: {
22
+ issuesPanelStartLabelSuffix: " (start date)",
23
+ issuesPanelEndLabelSuffix: " (end date)"
24
+ },
25
+ FileControl: {
26
+ clearDescription: "Press Backspace or Delete to clear.",
27
+ viewFileButtonLabel: "View file",
28
+ downloadFileButtonLabel: "Download file",
29
+ fallbackText: /* @__PURE__ */ jsxs(Fragment, { children: [
30
+ "The selected file cannot be viewed in this browser.",
31
+ /* @__PURE__ */ jsx("br", {}),
32
+ "Please use the button above to download the file. You can then open it using an external application."
33
+ ] })
34
+ },
35
+ FormApp: {
36
+ formTitle: "Form",
37
+ issueMessages: { "/**": {
38
+ valueMissing: "Field is required.",
39
+ valueDisallowed: "Indicated value is not allowed.",
40
+ rangeUnderflow: "Value is under the minimum allowed.",
41
+ rangeOverflow: "Value exceeds the maximum allowed.",
42
+ lengthMismatch: (_data, { typeInfo: { name, restrictions } }) => name === "String" && typeof restrictions.minLength === "number" && restrictions.minLength === restrictions.maxLength ? `Value must have ${restrictions.minLength} character${restrictions.minLength === 1 ? "" : "s"}.` : "Value has an invalid length.",
43
+ tooShort: (_data, { typeInfo: { name, restrictions } }) => name === "String" && typeof restrictions.minLength === "number" ? `Value must not have under ${restrictions.minLength} character${restrictions.minLength === 1 ? "" : "s"}.` : "Value is too short.",
44
+ tooLong: (_data, { typeInfo: { name, restrictions } }) => name === "String" && typeof restrictions.maxLength === "number" ? `Value must not have over ${restrictions.maxLength} character${restrictions.maxLength === 1 ? "" : "s"}.` : "Value is too long.",
45
+ sizeMismatch: (_data, { typeInfo: { restrictions } }) => typeof restrictions.minSize === "number" && restrictions.minSize === restrictions.maxSize ? `Field must have ${restrictions.minSize} item${restrictions.minSize === 1 ? "" : "s"}.` : "Field has an invalid number of items.",
46
+ tooSmall: (_data, { typeInfo: { restrictions } }) => typeof restrictions.minLength === "number" ? `Field must not have under ${restrictions.minLength} item${restrictions.minLength === 1 ? "" : "s"}.` : "Field does not have enough items.",
47
+ tooLarge: (_data, { typeInfo: { restrictions } }) => typeof restrictions.maxLength === "number" ? `Field must not have over ${restrictions.maxLength} item${restrictions.maxLength === 1 ? "" : "s"}.` : "Number of items of field exceeds allowed limit.",
48
+ scaleMismatch: (_data, { typeInfo: { restrictions } }) => typeof restrictions.scale === "number" ? `Value must have ${restrictions.scale} decimal place${restrictions.scale === 1 ? "" : "s"}.` : "Value has invalid number of decimal places.",
49
+ patternMismatch: "Value does not follow required pattern.",
50
+ emailPatternMismatch: "Invalid email address.",
51
+ fileTypeMismatch: (_data, { typeInfo: { restrictions } }) => Array.isArray(restrictions.acceptedFileTypes) ? `Only the following file types are allowed: ${restrictions.acceptedFileTypes.join(", ")}.` : "Indicated file’s type is not allowed.",
52
+ itemsRepeated: ({ firstIndex, secondIndex }) => firstIndex != null && secondIndex != null ? `Items ${+firstIndex + 1} and ${+secondIndex + 1} are repeated.` : "Field contains repeated items.",
53
+ computedValueMismatch: "Value differs from the computed value.",
54
+ validationFailed: (data) => process.env.NODE_ENV !== "production" ? data.exception : "Something went wrong validating this field. Please try again later."
55
+ } },
56
+ confirmUnloadMessage: "Are you sure you want to leave the page? Changes you made to the form may not have been saved."
57
+ },
58
+ FormPagesNavigation: { "aria-label": "Pages" },
59
+ FormPage: {
60
+ helperButtonLabel: "Show help",
61
+ visuallyHiddenCodePrefix: "Page"
62
+ },
63
+ IssueMessages: {
64
+ visuallyHiddenErrorCodePrefix: "Error code,",
65
+ visuallyHiddenWarningCodePrefix: "Warning code,",
66
+ unknownErrorMessage: "Field with unknown error.",
67
+ unknownWarningMessage: "Field with unknown warning."
68
+ },
69
+ IssuesPanel: {
70
+ errorsLabel: (errors) => errors === void 0 ? "Errors" : /* @__PURE__ */ jsxs(Fragment, { children: [
71
+ errors,
72
+ "\xA0",
73
+ errors === 1 ? "Error" : "Errors"
74
+ ] }),
75
+ warningsLabel: (warnings) => warnings === void 0 ? "Warnings" : /* @__PURE__ */ jsxs(Fragment, { children: [
76
+ warnings,
77
+ "\xA0",
78
+ warnings === 1 ? "Warning" : "Warnings"
79
+ ] }),
80
+ focusButtonLabel: "Focus field",
81
+ previousIssueButtonLabel: "Previous field with issues",
82
+ nextIssueButtonLabel: "Next field with issues",
83
+ firstIssueButtonLabel: "First field with issues",
84
+ lastIssueButtonLabel: "Last field with issues",
85
+ paginationLabel: (currentPage, totalPages) => `Field with issues ${currentPage} of ${totalPages}.`,
86
+ noIssuesMessage: "No issues to report.",
87
+ resolvedTitle: "Resolved",
88
+ resolvedMessage: "Issues have been resolved. Please advance to the next field with issues."
89
+ },
90
+ IssuesPopover: { label: "Show issues" },
91
+ LoadAction: {
92
+ label: "Load",
93
+ successMessage: (file) => `File “${file.name}” loaded successfully.`,
94
+ errorMessage: (file) => file ? `Unable to load file “${file.name}”. Please confirm that the indicated file is a valid file of the form.` : "Unable to load the indicated file. Please confirm that you have the appropriate permissions to perform the operation."
95
+ },
96
+ PrintAction: { label: "Print" },
97
+ RadioGroupControl: {},
98
+ SaveAction: {
99
+ label: "Save",
100
+ saveOptionsLabel: "Save options",
101
+ saveAsLabel: "Save as…",
102
+ successMessage: (fileHandle) => `File “${fileHandle.name}” saved successfully.`,
103
+ errorMessage: (fileHandle) => fileHandle ? `Unable to save file “${fileHandle.name}”. Please confirm that you have the appropriate permissions to perform the operation.` : "Unable to save the indicated file. Please confirm that you have the appropriate permissions to perform the operation."
104
+ },
105
+ SelectControl: {},
106
+ SelectMultipleControl: {},
107
+ SubmitAction: {
108
+ label: "Submit",
109
+ dialogTitle: "Submit form",
110
+ dialogDescription: "Please confirm that you wish to proceed with the form submission.",
111
+ dialogCancelText: "Cancel",
112
+ confirmWarningsCheckboxLabel: "I declare that I have been informed of the warnings generated by the data in this form and that I wish to proceed without changing said data.",
113
+ successMessage: "Form submitted successfully.",
114
+ errorMessage: "Something went wrong while submitting the form. Please try again later."
115
+ },
116
+ TableControlAddRowTrigger: { label: "Add row" },
117
+ TableControlRemoveRowTrigger: {
118
+ label: "Remove row",
119
+ confirmDialogTitle: "Remove row",
120
+ confirmDialogMessage: (index) => /* @__PURE__ */ jsxs(Fragment, { children: [
121
+ "Are you sure you want to remove line #",
122
+ index + 1,
123
+ "?"
124
+ ] }),
125
+ confirmDialogOkText: "Remove"
126
+ },
127
+ UnknownValue: { label: "Unknown value" },
128
+ ValidateAction: { label: "Validate" }
129
+ };
130
+ //#endregion
131
+ export { en as t };
132
+
133
+ //# sourceMappingURL=en-CaLvO1z0.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en-CaLvO1z0.js","names":[],"sources":["../../src/locales/en.tsx"],"sourcesContent":["import 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\n using an external 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\" &&\n 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.scale === \"number\"\n ? `Value must have ${restrictions.scale} decimal place${\n restrictions.scale === 1 ? \"\" : \"s\"\n }.`\n : \"Value has invalid number of 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 process.env.NODE_ENV !== \"production\"\n ? data.exception\n : \"Something went wrong validating this field. \" +\n \"Please try again later.\",\n },\n },\n confirmUnloadMessage:\n \"Are you sure you want to leave the page? \" +\n \"Changes you made to the form may not have been 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 ? (\n \"Errors\"\n ) : (\n <>\n {errors}&nbsp;{errors === 1 ? \"Error\" : \"Errors\"}\n </>\n ),\n warningsLabel: (warnings) =>\n warnings === undefined ? (\n \"Warnings\"\n ) : (\n <>\n {warnings}&nbsp;{warnings === 1 ? \"Warning\" : \"Warnings\"}\n </>\n ),\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:\n \"Issues have been resolved. \" +\n \"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}”. ` +\n \"Please confirm that the indicated file is a valid file of the form.\"\n : \"Unable to load the indicated file. Please confirm that you have \" +\n \"the appropriate 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) =>\n `File “${fileHandle.name}” saved successfully.`,\n errorMessage: (fileHandle) =>\n fileHandle\n ? `Unable to save file “${fileHandle.name}”. ` +\n \"Please confirm that you have the appropriate permissions to \" +\n \"perform the operation.\"\n : \"Unable to save the indicated file. Please confirm that you have \" +\n \"the appropriate permissions to perform the operation.\",\n },\n SelectControl: {},\n SelectMultipleControl: {},\n SubmitAction: {\n label: \"Submit\",\n dialogTitle: \"Submit form\",\n dialogDescription:\n \"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 \" +\n \"data in this form and that I wish to proceed without changing said \" +\n \"data.\",\n successMessage: \"Form submitted successfully.\",\n errorMessage:\n \"Something went wrong while submitting the form. Please try again later.\",\n },\n TableControlAddRowTrigger: {\n label: \"Add row\",\n },\n TableControlRemoveRowTrigger: {\n label: \"Remove row\",\n confirmDialogTitle: \"Remove row\",\n confirmDialogMessage: (index) => (\n <>Are you sure you want to remove line #{index + 1}?</>\n ),\n confirmDialogOkText: \"Remove\",\n },\n UnknownValue: {\n label: \"Unknown value\",\n },\n ValidateAction: {\n label: \"Validate\",\n },\n};\n"],"mappings":";;;AAGA,IAAa,KAA6D;CACxE,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;GAAuC;GAAU;EAAG,EAAA,CAAA;EAExD,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,mBAAmB,aAAa,UAAU,YACxC,aAAa,cAAc,IAAI,KAAK,IACrC,KACD;GACN,WAAW,OAAO,EAAE,UAAU,EAAE,MAAM,qBACpC,SAAS,YAAY,OAAO,aAAa,cAAc,WACnD,6BAA6B,aAAa,UAAU,YAClD,aAAa,cAA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CACA,aAAa;EACX,cAAc,WACZ,WAAW,KAAA,IACT,WAEA,qBAAA,UAAA,EAAA,UAAA;GACG;GAAO;GAAO,WAAW,IAAI,UAAU;EACxC,EAAA,CAAA;EAEN,gBAAgB,aACd,aAAa,KAAA,IACX,aAEA,qBAAA,UAAA,EAAA,UAAA;GACG;GAAS;GAAO,aAAa,IAAI,YAAY;EAC9C,EAAA,CAAA;EAEN,kBAAkB;EAClB,0BAA0B;EAC1B,sBAAsB;EACtB,uBAAuB;EACvB,sBAAsB;EACtB,kBAAkB,aAAa,eAC7B,qBAAqB,YAAY,MAAM,WAAW;EACpD,iBAAiB;EACjB,eAAe;EACf,iBACE;CAEJ;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,eACf,SAAS,WAAW,KAAK;EAC3B,eAAe,eACb,aACI,wBAAwB,WAAW,KAAK,yFAGxC;CAER;CACA,eAAe,CAAC;CAChB,uBAAuB,CAAC;CACxB,cAAc;EACZ,OAAO;EACP,aAAa;EACb,mBACE;EACF,kBAAkB;EAClB,8BACE;EAGF,gBAAgB;EAChB,cACE;CACJ;CACA,2BAA2B,EACzB,OAAO,UACT;CACA,8BAA8B;EAC5B,OAAO;EACP,oBAAoB;EACpB,uBAAuB,UACrB,qBAAA,UAAA,EAAA,UAAA;GAAE;GAAuC,QAAQ;GAAE;EAAG,EAAA,CAAA;EAExD,qBAAqB;CACvB;CACA,cAAc,EACZ,OAAO,gBACT;CACA,gBAAgB,EACd,OAAO,WACT;AACF"}
@@ -1,10 +1,12 @@
1
+ import { t as en } from "../chunks/en-CaLvO1z0.js";
1
2
  import { enGB } from "@ostack.tech/ui";
2
- import { e as en } from "../chunks/en-Cb79GQnj.js";
3
- const locale = {
4
- baseLocale: enGB,
5
- ...en
3
+ //#region src/locales/en-GB.tsx
4
+ /** `en-GB` locale. */
5
+ var locale = {
6
+ baseLocale: enGB,
7
+ ...en
6
8
  };
7
- export {
8
- locale
9
- };
10
- //# sourceMappingURL=en-GB.js.map
9
+ //#endregion
10
+ export { locale };
11
+
12
+ //# sourceMappingURL=en-GB.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"en-GB.js","sources":["../../src/locales/en-GB.tsx"],"sourcesContent":["import { enGB as uiEnGB } from \"@ostack.tech/ui\";\n\nimport type { LocalizationObject } from \"../providers/LocalizationProvider\";\nimport { en } from \"./en.tsx\";\n\n/** `en-GB` locale. */\nexport const locale: LocalizationObject = {\n baseLocale: uiEnGB,\n ...en,\n};\n"],"names":["uiEnGB"],"mappings":";;AAMO,MAAM,SAA6B;AAAA,EACxC,YAAYA;AAAAA,EACZ,GAAG;AACL;"}
1
+ {"version":3,"file":"en-GB.js","names":[],"sources":["../../src/locales/en-GB.tsx"],"sourcesContent":["import { enGB as uiEnGB } from \"@ostack.tech/ui\";\n\nimport type { LocalizationObject } from \"../providers/LocalizationProvider\";\nimport { en } from \"./en.tsx\";\n\n/** `en-GB` locale. */\nexport const locale: LocalizationObject = {\n baseLocale: uiEnGB,\n ...en,\n};\n"],"mappings":";;;;AAMA,IAAa,SAA6B;CACxC,YAAY;CACZ,GAAG;AACL"}
@@ -1,10 +1,12 @@
1
+ import { t as en } from "../chunks/en-CaLvO1z0.js";
1
2
  import { enUS } from "@ostack.tech/ui";
2
- import { e as en } from "../chunks/en-Cb79GQnj.js";
3
- const locale = {
4
- baseLocale: enUS,
5
- ...en
3
+ //#region src/locales/en-US.tsx
4
+ /** `en-US` locale. */
5
+ var locale = {
6
+ baseLocale: enUS,
7
+ ...en
6
8
  };
7
- export {
8
- locale
9
- };
10
- //# sourceMappingURL=en-US.js.map
9
+ //#endregion
10
+ export { locale };
11
+
12
+ //# sourceMappingURL=en-US.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"en-US.js","sources":["../../src/locales/en-US.tsx"],"sourcesContent":["import { enUS as uiEnUS } from \"@ostack.tech/ui\";\n\nimport type { LocalizationObject } from \"../providers/LocalizationProvider\";\nimport { en } from \"./en.tsx\";\n\n/** `en-US` locale. */\nexport const locale: LocalizationObject = {\n baseLocale: uiEnUS,\n ...en,\n};\n"],"names":["uiEnUS"],"mappings":";;AAMO,MAAM,SAA6B;AAAA,EACxC,YAAYA;AAAAA,EACZ,GAAG;AACL;"}
1
+ {"version":3,"file":"en-US.js","names":[],"sources":["../../src/locales/en-US.tsx"],"sourcesContent":["import { enUS as uiEnUS } from \"@ostack.tech/ui\";\n\nimport type { LocalizationObject } from \"../providers/LocalizationProvider\";\nimport { en } from \"./en.tsx\";\n\n/** `en-US` locale. */\nexport const locale: LocalizationObject = {\n baseLocale: uiEnUS,\n ...en,\n};\n"],"mappings":";;;;AAMA,IAAa,SAA6B;CACxC,YAAY;CACZ,GAAG;AACL"}
@@ -1,147 +1,135 @@
1
- import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
1
  import { frFR } from "@ostack.tech/ui";
3
- const locale = {
4
- baseLocale: frFR,
5
- AnnexesManager: {
6
- "aria-label": "Annexes",
7
- menuButtonText: "Annexes",
8
- menuButtonLabel: "Gestionnaire d’annexes",
9
- addAnnexText: "Ajouter une annexe",
10
- removeAnnexButtonLabel: "Supprimer une annexe",
11
- removeAnnexKeyboardHint: "Appuyez sur « Supprimer » pour supprimer la annexe.",
12
- removeAnnexConfirmDialogTitle: "Supprimer la annexe",
13
- removeAnnexConfirmDialogMessage: (annexName) => /* @__PURE__ */ jsxs(Fragment, { children: [
14
- "Êtes-vous sûr de vouloir supprimer la annexe ",
15
- annexName,
16
- " ?"
17
- ] }),
18
- removeAnnexConfirmDialogOkText: "Supprimer"
19
- },
20
- CheckboxGroupControl: {},
21
- DateRangeControl: {
22
- issuesPanelStartLabelSuffix: " (date de début)",
23
- issuesPanelEndLabelSuffix: " (date de fin)"
24
- },
25
- FileControl: {
26
- clearDescription: "Appuyez sur Retour arrière ou Suppr pour effacer.",
27
- viewFileButtonLabel: "Afficher le fichier",
28
- downloadFileButtonLabel: "Télécharger le fichier",
29
- fallbackText: /* @__PURE__ */ jsxs(Fragment, { children: [
30
- "Le fichier sélectionné ne peut pas être affiché dans ce navigateur.",
31
- /* @__PURE__ */ jsx("br", {}),
32
- "Veuillez utiliser le bouton ci-dessus pour télécharger le fichier. Vous pourrez ensuite l’ouvrir à l’aide d’une application externe."
33
- ] })
34
- },
35
- FormApp: {
36
- formTitle: "Formulaire",
37
- issueMessages: {
38
- "/**": {
39
- valueMissing: "Champ obligatoire.",
40
- valueDisallowed: "Valeur indiquée non autorisée.",
41
- rangeUnderflow: "Valeur inférieure au minimum autorisé.",
42
- rangeOverflow: "Valeur supérieure au maximum autorisé.",
43
- lengthMismatch: (_data, { typeInfo: { name, restrictions } }) => name === "String" && typeof restrictions.minLength === "number" && restrictions.minLength === restrictions.maxLength ? `La valeur doit comporter ${restrictions.minLength} ${restrictions.minLength === 1 ? "caractère" : "caractères"}.` : "La valeur a une longueur invalide.",
44
- tooShort: (_data, { typeInfo: { name, restrictions } }) => name === "String" && typeof restrictions.minLength === "number" ? `La valeur ne doit pas être inférieure à ${restrictions.minLength} ${restrictions.minLength === 1 ? "caractère" : "caractères"}.` : "Valeur trop courte.",
45
- tooLong: (_data, { typeInfo: { name, restrictions } }) => name === "String" && typeof restrictions.maxLength === "number" ? `La valeur ne doit pas dépasser ${restrictions.maxLength} ${restrictions.maxLength === 1 ? "caractère" : "caractères"}.` : "Valeur trop longue.",
46
- sizeMismatch: (_data, { typeInfo: { restrictions } }) => typeof restrictions.minSize === "number" && restrictions.minSize === restrictions.maxSize ? `Le champ doit contenir ${restrictions.minSize} ${restrictions.minSize === 1 ? "élément" : "éléments"}.` : "Le champ contient un nombre d’éléments non valide.",
47
- tooSmall: (_data, { typeInfo: { restrictions } }) => typeof restrictions.minLength === "number" ? `Le champ ne doit pas contenir moins de ${restrictions.minLength} ${restrictions.minLength === 1 ? "élément" : "éléments"}.` : "Le nombre d’éléments du champ n’est pas suffisant.",
48
- tooLarge: (_data, { typeInfo: { restrictions } }) => typeof restrictions.maxLength === "number" ? `Le champ ne doit pas contenir plus de ${restrictions.maxLength} ${restrictions.maxLength === 1 ? "élément" : "éléments"}.` : "Le nombre d’éléments du champ dépasse la limite autorisée.",
49
- scaleMismatch: (_data, { typeInfo: { restrictions } }) => typeof restrictions.scale === "number" ? `La valeur doit comporter ${restrictions.scale} ${restrictions.scale === 1 ? "décimale" : "décimales"}.` : "La valeur comporte un nombre invalide de décimales.",
50
- patternMismatch: "La valeur ne respecte pas le modèle requis.",
51
- emailPatternMismatch: "Adresse e-mail non valide.",
52
- fileTypeMismatch: (_data, { typeInfo: { restrictions } }) => Array.isArray(restrictions.acceptedFileTypes) ? `Seuls les types de fichiers suivants sont autorisés : ${restrictions.acceptedFileTypes.join(", ")}.` : "Le type de fichier indiqué n’est pas autorisé.",
53
- itemsRepeated: ({ firstIndex, secondIndex }) => firstIndex != null && secondIndex != null ? `Les éléments ${+firstIndex + 1} et ${+secondIndex + 1} sont répétés.` : "Le champ contient des éléments répétés.",
54
- computedValueMismatch: "La valeur diffère de la valeur calculée.",
55
- validationFailed: (data) => process.env.NODE_ENV !== "production" ? data.exception : "Une erreur s’est produite lors de la validation de ce champ. Veuillez réessayer plus tard."
56
- }
57
- },
58
- confirmUnloadMessage: "Êtes-tu sûr de vouloir quitter cette page ? Les modifications que tu as apportées au formulaire n’ont peut-être pas été enregistrées."
59
- },
60
- FormPagesNavigation: {
61
- "aria-label": "Pages"
62
- },
63
- FormPage: {
64
- helperButtonLabel: "Afficher l’aide",
65
- visuallyHiddenCodePrefix: "Page"
66
- },
67
- IssueMessages: {
68
- visuallyHiddenErrorCodePrefix: "Code d'erreur,",
69
- visuallyHiddenWarningCodePrefix: "Code d'alerte,",
70
- unknownErrorMessage: "Champ avec erreur inconnue.",
71
- unknownWarningMessage: "Champ avec alerte inconnue."
72
- },
73
- IssuesPanel: {
74
- errorsLabel: (errors) => errors === void 0 ? "Erreurs" : /* @__PURE__ */ jsxs(Fragment, { children: [
75
- errors,
76
- " ",
77
- errors === 1 ? "Erreur" : "Erreurs"
78
- ] }),
79
- warningsLabel: (warnings) => warnings === void 0 ? "Alertes" : /* @__PURE__ */ jsxs(Fragment, { children: [
80
- warnings,
81
- " ",
82
- warnings === 1 ? "Alerte" : "Alertes"
83
- ] }),
84
- focusButtonLabel: "Focaliser le champ",
85
- previousIssueButtonLabel: "Champ précédent avec problèmes",
86
- nextIssueButtonLabel: "Champ suivant avec problèmes",
87
- firstIssueButtonLabel: "Premier champ avec problèmes",
88
- lastIssueButtonLabel: "Dernier champ avec problèmes",
89
- paginationLabel: (currentPage, totalPages) => `Champ avec problèmes ${currentPage} sur ${totalPages}.`,
90
- noIssuesMessage: "Aucun problème à signaler.",
91
- resolvedTitle: "Résolu",
92
- resolvedMessage: "Les problèmes ont été résolus. Veuillez passer au champ suivant avec des problèmes."
93
- },
94
- IssuesPopover: {
95
- label: "Afficher les problèmes"
96
- },
97
- LoadAction: {
98
- label: "Ouvrir",
99
- successMessage: (file) => `Fichier « ${file.name} » chargé avec succès.`,
100
- errorMessage: (file) => file ? `Impossible de charger le fichier « ${file.name} ». Veuillez confirmer que le fichier indiqué est un fichier valide du formulaire.` : "Impossible d’ouvrir le fichier indiqué. Veuillez vérifier que vous disposez des autorisations nécessaires pour effectuer cette opération."
101
- },
102
- PrintAction: {
103
- label: "Imprimer"
104
- },
105
- RadioGroupControl: {},
106
- SaveAction: {
107
- label: "Enregistrer",
108
- saveOptionsLabel: "Options d’enregistrement",
109
- saveAsLabel: "Enregistrer sous…",
110
- successMessage: (fileHandle) => `Fichier « ${fileHandle.name} » enregistré avec succès.`,
111
- errorMessage: (fileHandle) => fileHandle ? `Impossible d’enregistrer le fichier « ${fileHandle.name} ». Veuillez vérifier que vous disposez des autorisations nécessaires pour effectuer cette opération.` : "Impossible d’enregistrer le fichier indiqué. Veuillez vérifier que vous disposez des autorisations nécessaires pour effectuer cette opération."
112
- },
113
- SelectControl: {},
114
- SelectMultipleControl: {},
115
- SubmitAction: {
116
- label: "Déposer",
117
- dialogTitle: "Déposer la déclaration",
118
- dialogDescription: "Veuillez confirmer que vous souhaitez poursuivre le dépôt de la déclaration.",
119
- dialogCancelText: "Annuler",
120
- confirmWarningsCheckboxLabel: "Je déclare avoir pris connaissance des alertes générées par les données de cette déclaration et souhaiter continuer sans modifier les données correspondantes.",
121
- successMessage: "Déclaration déposée avec succès.",
122
- errorMessage: "Une erreur s’est produite lors du dépôt de la déclaration. Veuillez réessayer plus tard."
123
- },
124
- TableControlAddRowTrigger: {
125
- label: "Ajouter une ligne"
126
- },
127
- TableControlRemoveRowTrigger: {
128
- label: "Supprimer une ligne",
129
- confirmDialogTitle: "Supprimer une ligne",
130
- confirmDialogMessage: (index) => /* @__PURE__ */ jsxs(Fragment, { children: [
131
- "Êtes-vous sûr de vouloir supprimer la ligne #",
132
- index + 1,
133
- " ?"
134
- ] }),
135
- confirmDialogOkText: "Supprimer"
136
- },
137
- UnknownValue: {
138
- label: "Valeur inconnue"
139
- },
140
- ValidateAction: {
141
- label: "Valider"
142
- }
2
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
+ //#region src/locales/fr-FR.tsx
4
+ /** `fr-FR` locale. */
5
+ var locale = {
6
+ baseLocale: frFR,
7
+ AnnexesManager: {
8
+ "aria-label": "Annexes",
9
+ menuButtonText: "Annexes",
10
+ menuButtonLabel: "Gestionnaire d’annexes",
11
+ addAnnexText: "Ajouter une annexe",
12
+ removeAnnexButtonLabel: "Supprimer une annexe",
13
+ removeAnnexKeyboardHint: "Appuyez sur « Supprimer » pour supprimer la annexe.",
14
+ removeAnnexConfirmDialogTitle: "Supprimer la annexe",
15
+ removeAnnexConfirmDialogMessage: (annexName) => /* @__PURE__ */ jsxs(Fragment, { children: [
16
+ "Êtes-vous sûr de vouloir supprimer la annexe ",
17
+ annexName,
18
+ " ?"
19
+ ] }),
20
+ removeAnnexConfirmDialogOkText: "Supprimer"
21
+ },
22
+ CheckboxGroupControl: {},
23
+ DateRangeControl: {
24
+ issuesPanelStartLabelSuffix: " (date de début)",
25
+ issuesPanelEndLabelSuffix: " (date de fin)"
26
+ },
27
+ FileControl: {
28
+ clearDescription: "Appuyez sur Retour arrière ou Suppr pour effacer.",
29
+ viewFileButtonLabel: "Afficher le fichier",
30
+ downloadFileButtonLabel: "Télécharger le fichier",
31
+ fallbackText: /* @__PURE__ */ jsxs(Fragment, { children: [
32
+ "Le fichier sélectionné ne peut pas être affiché dans ce navigateur.",
33
+ /* @__PURE__ */ jsx("br", {}),
34
+ "Veuillez utiliser le bouton ci-dessus pour télécharger le fichier. Vous pourrez ensuite l’ouvrir à l’aide d’une application externe."
35
+ ] })
36
+ },
37
+ FormApp: {
38
+ formTitle: "Formulaire",
39
+ issueMessages: { "/**": {
40
+ valueMissing: "Champ obligatoire.",
41
+ valueDisallowed: "Valeur indiquée non autorisée.",
42
+ rangeUnderflow: "Valeur inférieure au minimum autorisé.",
43
+ rangeOverflow: "Valeur supérieure au maximum autorisé.",
44
+ lengthMismatch: (_data, { typeInfo: { name, restrictions } }) => name === "String" && typeof restrictions.minLength === "number" && restrictions.minLength === restrictions.maxLength ? `La valeur doit comporter ${restrictions.minLength} ${restrictions.minLength === 1 ? "caractère" : "caractères"}.` : "La valeur a une longueur invalide.",
45
+ tooShort: (_data, { typeInfo: { name, restrictions } }) => name === "String" && typeof restrictions.minLength === "number" ? `La valeur ne doit pas être inférieure à ${restrictions.minLength} ${restrictions.minLength === 1 ? "caractère" : "caractères"}.` : "Valeur trop courte.",
46
+ tooLong: (_data, { typeInfo: { name, restrictions } }) => name === "String" && typeof restrictions.maxLength === "number" ? `La valeur ne doit pas dépasser ${restrictions.maxLength} ${restrictions.maxLength === 1 ? "caractère" : "caractères"}.` : "Valeur trop longue.",
47
+ sizeMismatch: (_data, { typeInfo: { restrictions } }) => typeof restrictions.minSize === "number" && restrictions.minSize === restrictions.maxSize ? `Le champ doit contenir ${restrictions.minSize} ${restrictions.minSize === 1 ? "élément" : "éléments"}.` : "Le champ contient un nombre d’éléments non valide.",
48
+ tooSmall: (_data, { typeInfo: { restrictions } }) => typeof restrictions.minLength === "number" ? `Le champ ne doit pas contenir moins de ${restrictions.minLength} ${restrictions.minLength === 1 ? "élément" : "éléments"}.` : "Le nombre d’éléments du champ n’est pas suffisant.",
49
+ tooLarge: (_data, { typeInfo: { restrictions } }) => typeof restrictions.maxLength === "number" ? `Le champ ne doit pas contenir plus de ${restrictions.maxLength} ${restrictions.maxLength === 1 ? "élément" : "éléments"}.` : "Le nombre d’éléments du champ dépasse la limite autorisée.",
50
+ scaleMismatch: (_data, { typeInfo: { restrictions } }) => typeof restrictions.scale === "number" ? `La valeur doit comporter ${restrictions.scale} ${restrictions.scale === 1 ? "décimale" : "décimales"}.` : "La valeur comporte un nombre invalide de décimales.",
51
+ patternMismatch: "La valeur ne respecte pas le modèle requis.",
52
+ emailPatternMismatch: "Adresse e-mail non valide.",
53
+ fileTypeMismatch: (_data, { typeInfo: { restrictions } }) => Array.isArray(restrictions.acceptedFileTypes) ? `Seuls les types de fichiers suivants sont autorisés\u202F: ${restrictions.acceptedFileTypes.join(", ")}.` : "Le type de fichier indiqué n’est pas autorisé.",
54
+ itemsRepeated: ({ firstIndex, secondIndex }) => firstIndex != null && secondIndex != null ? `Les éléments ${+firstIndex + 1} et ${+secondIndex + 1} sont répétés.` : "Le champ contient des éléments répétés.",
55
+ computedValueMismatch: "La valeur diffère de la valeur calculée.",
56
+ validationFailed: (data) => process.env.NODE_ENV !== "production" ? data.exception : "Une erreur s’est produite lors de la validation de ce champ. Veuillez réessayer plus tard."
57
+ } },
58
+ confirmUnloadMessage: "Êtes-tu sûr de vouloir quitter cette page ? Les modifications que tu as apportées au formulaire n’ont peut-être pas été enregistrées."
59
+ },
60
+ FormPagesNavigation: { "aria-label": "Pages" },
61
+ FormPage: {
62
+ helperButtonLabel: "Afficher l’aide",
63
+ visuallyHiddenCodePrefix: "Page"
64
+ },
65
+ IssueMessages: {
66
+ visuallyHiddenErrorCodePrefix: "Code d'erreur,",
67
+ visuallyHiddenWarningCodePrefix: "Code d'alerte,",
68
+ unknownErrorMessage: "Champ avec erreur inconnue.",
69
+ unknownWarningMessage: "Champ avec alerte inconnue."
70
+ },
71
+ IssuesPanel: {
72
+ errorsLabel: (errors) => errors === void 0 ? "Erreurs" : /* @__PURE__ */ jsxs(Fragment, { children: [
73
+ errors,
74
+ "\xA0",
75
+ errors === 1 ? "Erreur" : "Erreurs"
76
+ ] }),
77
+ warningsLabel: (warnings) => warnings === void 0 ? "Alertes" : /* @__PURE__ */ jsxs(Fragment, { children: [
78
+ warnings,
79
+ "\xA0",
80
+ warnings === 1 ? "Alerte" : "Alertes"
81
+ ] }),
82
+ focusButtonLabel: "Focaliser le champ",
83
+ previousIssueButtonLabel: "Champ précédent avec problèmes",
84
+ nextIssueButtonLabel: "Champ suivant avec problèmes",
85
+ firstIssueButtonLabel: "Premier champ avec problèmes",
86
+ lastIssueButtonLabel: "Dernier champ avec problèmes",
87
+ paginationLabel: (currentPage, totalPages) => `Champ avec problèmes ${currentPage} sur ${totalPages}.`,
88
+ noIssuesMessage: "Aucun problème à signaler.",
89
+ resolvedTitle: "Résolu",
90
+ resolvedMessage: "Les problèmes ont été résolus. Veuillez passer au champ suivant avec des problèmes."
91
+ },
92
+ IssuesPopover: { label: "Afficher les problèmes" },
93
+ LoadAction: {
94
+ label: "Ouvrir",
95
+ successMessage: (file) => `Fichier «\u202F${file.name}\u202F» chargé avec succès.`,
96
+ errorMessage: (file) => file ? `Impossible de charger le fichier «\u202F${file.name}\u202F». Veuillez confirmer que le fichier indiqué est un fichier valide du formulaire.` : "Impossible d’ouvrir le fichier indiqué. Veuillez vérifier que vous disposez des autorisations nécessaires pour effectuer cette opération."
97
+ },
98
+ PrintAction: { label: "Imprimer" },
99
+ RadioGroupControl: {},
100
+ SaveAction: {
101
+ label: "Enregistrer",
102
+ saveOptionsLabel: "Options d’enregistrement",
103
+ saveAsLabel: "Enregistrer sous…",
104
+ successMessage: (fileHandle) => `Fichier «\u202F${fileHandle.name}\u202F» enregistré avec succès.`,
105
+ errorMessage: (fileHandle) => fileHandle ? `Impossible d’enregistrer le fichier «\u202F${fileHandle.name}\u202F». Veuillez vérifier que vous disposez des autorisations nécessaires pour effectuer cette opération.` : "Impossible d’enregistrer le fichier indiqué. Veuillez vérifier que vous disposez des autorisations nécessaires pour effectuer cette opération."
106
+ },
107
+ SelectControl: {},
108
+ SelectMultipleControl: {},
109
+ SubmitAction: {
110
+ label: "Déposer",
111
+ dialogTitle: "Déposer la déclaration",
112
+ dialogDescription: "Veuillez confirmer que vous souhaitez poursuivre le dépôt de la déclaration.",
113
+ dialogCancelText: "Annuler",
114
+ confirmWarningsCheckboxLabel: "Je déclare avoir pris connaissance des alertes générées par les données de cette déclaration et souhaiter continuer sans modifier les données correspondantes.",
115
+ successMessage: "Déclaration déposée avec succès.",
116
+ errorMessage: "Une erreur s’est produite lors du dépôt de la déclaration. Veuillez réessayer plus tard."
117
+ },
118
+ TableControlAddRowTrigger: { label: "Ajouter une ligne" },
119
+ TableControlRemoveRowTrigger: {
120
+ label: "Supprimer une ligne",
121
+ confirmDialogTitle: "Supprimer une ligne",
122
+ confirmDialogMessage: (index) => /* @__PURE__ */ jsxs(Fragment, { children: [
123
+ "Êtes-vous sûr de vouloir supprimer la ligne #",
124
+ index + 1,
125
+ " ?"
126
+ ] }),
127
+ confirmDialogOkText: "Supprimer"
128
+ },
129
+ UnknownValue: { label: "Valeur inconnue" },
130
+ ValidateAction: { label: "Valider" }
143
131
  };
144
- export {
145
- locale
146
- };
147
- //# sourceMappingURL=fr-FR.js.map
132
+ //#endregion
133
+ export { locale };
134
+
135
+ //# sourceMappingURL=fr-FR.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fr-FR.js","sources":["../../src/locales/fr-FR.tsx"],"sourcesContent":["import { frFR as uiFrFR } from \"@ostack.tech/ui\";\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}&#x202F;?</>\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.scale === \"number\"\n ? `La valeur doit comporter ${restrictions.scale} ${\n restrictions.scale === 1 ? \"décimale\" : \"décimales\"\n }.`\n : \"La valeur comporte un nombre invalide 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 process.env.NODE_ENV !== \"production\"\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}&nbsp;{errors === 1 ? \"Erreur\" : \"Erreurs\"}\n </>\n ),\n warningsLabel: (warnings) =>\n warnings === undefined ? (\n \"Alertes\"\n ) : (\n <>\n {warnings}&nbsp;{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 TableControlAddRowTrigger: {\n label: \"Ajouter une ligne\",\n },\n TableControlRemoveRowTrigger: {\n label: \"Supprimer une ligne\",\n confirmDialogTitle: \"Supprimer une ligne\",\n confirmDialogMessage: (index) => (\n <>Êtes-vous sûr de vouloir supprimer la ligne #{index + 1}&#x202F;?</>\n ),\n confirmDialogOkText: \"Supprimer\",\n },\n UnknownValue: {\n label: \"Valeur inconnue\",\n },\n ValidateAction: {\n label: \"Valider\",\n },\n};\n"],"names":["uiFrFR"],"mappings":";;AAKO,MAAM,SAA6B;AAAA,EACxC,YAAYA;AAAAA,EACZ,gBAAgB;AAAA,IACd,cAAc;AAAA,IACd,gBAAgB;AAAA,IAChB,iBAAiB;AAAA,IACjB,cAAc;AAAA,IACd,wBAAwB;AAAA,IACxB,yBACE;AAAA,IACF,+BAA+B;AAAA,IAC/B,iCAAiC,CAAC,cAChC,qBAAA,UAAA,EAAE,UAAA;AAAA,MAAA;AAAA,MAA8C;AAAA,MAAU;AAAA,IAAA,GAAS;AAAA,IAErE,gCAAgC;AAAA,EAAA;AAAA,EAElC,sBAAsB,CAAA;AAAA,EACtB,kBAAkB;AAAA,IAChB,6BAA6B;AAAA,IAC7B,2BAA2B;AAAA,EAAA;AAAA,EAE7B,aAAa;AAAA,IACX,kBAAkB;AAAA,IAClB,qBAAqB;AAAA,IACrB,yBAAyB;AAAA,IACzB,cACE,qBAAA,UAAA,EAAE,UAAA;AAAA,MAAA;AAAA,0BAEC,MAAA,EAAG;AAAA,MAAE;AAAA,IAAA,EAAA,CAGR;AAAA,EAAA;AAAA,EAGJ,SAAS;AAAA,IACP,WAAW;AAAA,IACX,eAAe;AAAA,MACb,OAAO;AAAA,QACL,cAAc;AAAA,QACd,iBAAiB;AAAA,QACjB,gBAAgB;AAAA,QAChB,eAAe;AAAA,QACf,gBAAgB,CAAC,OAAO,EAAE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AAC,SACf,aAAkB,KAAK,IAAI;AAAA,IAC7B,cAAc,CAAC,SACb,OACI,sCAA2C,KAAK,IAAI,uFAGpD;AAAA,EAAA;AAAA,EAIR,aAAa;AAAA,IACX,OAAO;AAAA,EAAA;AAAA,EAET,mBAAmB,CAAA;AAAA,EACnB,YAAY;AAAA,IACV,OAAO;AAAA,IACP,kBAAkB;AAAA,IAClB,aAAa;AAAA,IACb,gBAAgB,CAAC,eACf,aAAkB,WAAW,IAAI;AAAA,IACnC,cAAc,CAAC,eACb,aACI,yCAA8C,WAAW,IAAI,0GAG7D;AAAA,EAAA;AAAA,EAIR,eAAe,CAAA;AAAA,EACf,uBAAuB,CAAA;AAAA,EACvB,cAAc;AAAA,IACZ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,mBACE;AAAA,IAEF,kBAAkB;AAAA,IAClB,8BACE;AAAA,IAGF,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,MAA8C,QAAQ;AAAA,MAAE;AAAA,IAAA,GAAS;AAAA,IAErE,qBAAqB;AAAA,EAAA;AAAA,EAEvB,cAAc;AAAA,IACZ,OAAO;AAAA,EAAA;AAAA,EAET,gBAAgB;AAAA,IACd,OAAO;AAAA,EAAA;AAEX;"}
1
+ {"version":3,"file":"fr-FR.js","names":[],"sources":["../../src/locales/fr-FR.tsx"],"sourcesContent":["import { frFR as uiFrFR } from \"@ostack.tech/ui\";\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}&#x202F;?</>\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.scale === \"number\"\n ? `La valeur doit comporter ${restrictions.scale} ${\n restrictions.scale === 1 ? \"décimale\" : \"décimales\"\n }.`\n : \"La valeur comporte un nombre invalide 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 process.env.NODE_ENV !== \"production\"\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}&nbsp;{errors === 1 ? \"Erreur\" : \"Erreurs\"}\n </>\n ),\n warningsLabel: (warnings) =>\n warnings === undefined ? (\n \"Alertes\"\n ) : (\n <>\n {warnings}&nbsp;{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 TableControlAddRowTrigger: {\n label: \"Ajouter une ligne\",\n },\n TableControlRemoveRowTrigger: {\n label: \"Supprimer une ligne\",\n confirmDialogTitle: \"Supprimer une ligne\",\n confirmDialogMessage: (index) => (\n <>Êtes-vous sûr de vouloir supprimer la ligne #{index + 1}&#x202F;?</>\n ),\n confirmDialogOkText: \"Supprimer\",\n },\n UnknownValue: {\n label: \"Valeur inconnue\",\n },\n ValidateAction: {\n label: \"Valider\",\n },\n};\n"],"mappings":";;;;AAKA,IAAa,SAA6B;CACxC,YAAY;CACZ,gBAAgB;EACd,cAAc;EACd,gBAAgB;EAChB,iBAAiB;EACjB,cAAc;EACd,wBAAwB;EACxB,yBACE;EACF,+BAA+B;EAC/B,kCAAkC,cAChC,qBAAA,UAAA,EAAA,UAAA;GAAE;GAA8C;GAAU;EAAW,EAAA,CAAA;EAEvE,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,4BAA4B,aAAa,UAAU,GACjD,aAAa,cAAc,IAAI,cAAc,aAC9C,KACD;GACN,WAAW,OAAO,EAAE,UAAU,EAAE,MAAM,qBACpC,SAAS,YAAY,OAAO,aAAa,cAAc,WACnD,2CAA2C,aAAa,UAAU,GAChE,aAAa,cAAc,IAAI,cAAc,aAC9C,KACD;GACN,UAAU,OAAO,EAAE,UAAU,EAAE,MAAM,qBACnC,SAAS,YAAY,OAAO,aAAa,cAAc,WACnD,kCAAkC,aAAa,UAAU,GACvD,aAAa,cAAc,IAAI,cAAc,aAC9C,KACD;GACN,eAAe,OAAO,EAAE,UAAU,EAAE,qBAClC,OAAO,aAAa,YA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