@ostack.tech/ui-kform 1.0.0-rc.0 → 1.0.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { VisuallyHidden } from "@ostack.tech/ui";
2
- import { DEV } from "esm-env";
3
2
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
+ import { DEV } from "esm-env";
4
4
  //#region src/locales/en.tsx
5
5
  /** `en` locale (partial). */
6
6
  var en = {
@@ -140,4 +140,4 @@ if (DEV) en.DebugInfo = { label: "Debug information" };
140
140
  //#endregion
141
141
  export { en as t };
142
142
 
143
- //# sourceMappingURL=en-CBhjKaFE.js.map
143
+ //# sourceMappingURL=en-D4xMcf6Q.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"en-CBhjKaFE.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\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.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. \" +\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 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) => (\n <>Are you sure you want to remove row no. {index + 1}?</>\n ),\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,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,UAA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;CAChB,uBAAuB,CAAC;CACxB,cAAc;EACZ,OAAO;EACP,aAAa;EACb,mBACE;EACF,kBAAkB;EAClB,8BACE;EAGF,gBAAgB;EAChB,cACE;CACJ;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,UACrB,qBAAA,UAAA,EAAA,UAAA;GAAE;GAAyC,QAAQ;GAAE;EAAG,EAAA,CAAA;EAE1D,qBAAqB;CACvB;CACA,cAAc,EACZ,OAAO,gBACT;CACA,gBAAgB,EACd,OAAO,WACT;AACF;AAEA,IAAI,KACF,GAAG,YAAY,EACb,OAAO,oBACT"}
1
+ {"version":3,"file":"en-D4xMcf6Q.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\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.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. \" +\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 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) => (\n <>Are you sure you want to remove row no. {index + 1}?</>\n ),\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,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,EAA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ACf,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,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,UACrB,qBAAA,UAAA,EAAA,UAAA;GAAE;GAAyC,QAAQ;GAAE;EAAG,EAAA,CAAA;EAE1D,qBAAqB;CACvB;CACA,cAAc,EACZ,OAAO,gBACT;CACA,gBAAgB,EACd,OAAO,WACT;AACF;AAEA,IAAI,KACF,GAAG,YAAY,EACb,OAAO,oBACT"}
@@ -1,4 +1,4 @@
1
- import { t as en } from "../chunks/en-CBhjKaFE.js";
1
+ import { t as en } from "../chunks/en-D4xMcf6Q.js";
2
2
  import { locale as locale$1 } from "@ostack.tech/ui/locales/en-GB";
3
3
  //#region src/locales/en-GB.tsx
4
4
  /** `en-GB` locale. */
@@ -1,4 +1,4 @@
1
- import { t as en } from "../chunks/en-CBhjKaFE.js";
1
+ import { t as en } from "../chunks/en-D4xMcf6Q.js";
2
2
  import { locale as locale$1 } from "@ostack.tech/ui/locales/en-US";
3
3
  //#region src/locales/en-US.tsx
4
4
  /** `en-US` locale. */
@@ -1,6 +1,6 @@
1
1
  import { VisuallyHidden } from "@ostack.tech/ui";
2
- import { DEV } from "esm-env";
3
2
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
+ import { DEV } from "esm-env";
4
4
  import { locale as locale$1 } from "@ostack.tech/ui/locales/fr-FR";
5
5
  //#region src/locales/fr-FR.tsx
6
6
  /** `fr-FR` locale. */
@@ -0,0 +1,5 @@
1
+ import { locale } from "./en-GB.js";
2
+ import { locale as locale$1 } from "./en-US.js";
3
+ import { locale as locale$2 } from "./fr-FR.js";
4
+ import { locale as locale$3 } from "./pt-PT.js";
5
+ export { locale as enGB, locale$1 as enUS, locale$2 as fr, locale$2 as frFR, locale$3 as pt, locale$3 as ptPT };
@@ -1,6 +1,6 @@
1
1
  import { VisuallyHidden } from "@ostack.tech/ui";
2
- import { DEV } from "esm-env";
3
2
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
+ import { DEV } from "esm-env";
4
4
  import { locale as locale$1 } from "@ostack.tech/ui/locales/pt-PT";
5
5
  //#region src/locales/pt-PT.tsx
6
6
  /** `pt-PT` locale. */
@@ -771,6 +771,11 @@
771
771
  .o-ui-kform-top-bar .o-ui-kform-annexes__tab:focus-visible:not(:disabled):not([data-disabled])[data-status] {
772
772
  box-shadow: inset -1px 0 0 0 #1c2024, inset 1px 0 0 0 #1c2024, inset 0 -2px 0 #1c2024;
773
773
  }
774
+ .o-ui-kform-top-bar__global-issues-container {
775
+ align-self: stretch;
776
+ margin-right: var(--o-ui-space);
777
+ padding-top: calc(var(--o-ui-space) * 0.5);
778
+ }
774
779
  .o-ui-kform-top-bar__actions-container {
775
780
  align-self: stretch;
776
781
  margin: 0 0 var(--o-ui-space) auto;