@erpsquad/common 1.10.73 → 1.10.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{ERPUIProvider-BPpcQgND.js → ERPUIProvider-Ce7EhOa_.js} +15 -10
- package/dist/chunks/ERPUIProvider-Ce7EhOa_.js.map +1 -0
- package/dist/chunks/{ERPUIProvider-DZbxFsRb.esm.js → ERPUIProvider-CmmabhgQ.esm.js} +15 -10
- package/dist/chunks/{ERPUIProvider-DZbxFsRb.esm.js.map → ERPUIProvider-CmmabhgQ.esm.js.map} +1 -1
- package/dist/chunks/{actionCreator-B1XDiSfb.esm.js → actionCreator-Cy_J6Xfp.esm.js} +2 -2
- package/dist/chunks/{actionCreator-B1XDiSfb.esm.js.map → actionCreator-Cy_J6Xfp.esm.js.map} +1 -1
- package/dist/chunks/{actionCreator-DlbJbrTk.js → actionCreator-DqVmiGzl.js} +2 -2
- package/dist/chunks/{actionCreator-DlbJbrTk.js.map → actionCreator-DqVmiGzl.js.map} +1 -1
- package/dist/chunks/{android-12-switch-DcPr9cvn.js → android-12-switch-Cruc3J1J.js} +13 -13
- package/dist/chunks/{android-12-switch-DcPr9cvn.js.map → android-12-switch-Cruc3J1J.js.map} +1 -1
- package/dist/chunks/{android-12-switch-DSM1b9TA.esm.js → android-12-switch-DPP00xjJ.esm.js} +12 -12
- package/dist/chunks/{android-12-switch-DSM1b9TA.esm.js.map → android-12-switch-DPP00xjJ.esm.js.map} +1 -1
- package/dist/chunks/{appbar-DDijzrAm.esm.js → appbar-7puZelDZ.esm.js} +105 -6
- package/dist/chunks/appbar-7puZelDZ.esm.js.map +1 -0
- package/dist/chunks/{appbar-Bf_GaMVY.js → appbar-DbazXkez.js} +105 -6
- package/dist/chunks/appbar-DbazXkez.js.map +1 -0
- package/dist/chunks/{checkbox-Jgx2gkFF.js → checkbox-DNW1SYc0.js} +3 -3
- package/dist/chunks/{checkbox-Jgx2gkFF.js.map → checkbox-DNW1SYc0.js.map} +1 -1
- package/dist/chunks/{checkbox-C5oERyEy.esm.js → checkbox-Vd4h25n2.esm.js} +3 -3
- package/dist/chunks/{checkbox-C5oERyEy.esm.js.map → checkbox-Vd4h25n2.esm.js.map} +1 -1
- package/dist/chunks/{common-BtIKVrzA.js → common-B1hGK8kQ.js} +23 -7
- package/dist/chunks/{common-BtIKVrzA.js.map → common-B1hGK8kQ.js.map} +1 -1
- package/dist/chunks/{common-D8YIf-p0.esm.js → common-BVfS06ca.esm.js} +23 -7
- package/dist/chunks/{common-D8YIf-p0.esm.js.map → common-BVfS06ca.esm.js.map} +1 -1
- package/dist/chunks/{custom-editor-DxM6_6Mt.esm.js → custom-editor-e50eHmKt.esm.js} +2 -2
- package/dist/chunks/{custom-editor-DxM6_6Mt.esm.js.map → custom-editor-e50eHmKt.esm.js.map} +1 -1
- package/dist/chunks/{custom-editor-5dpZZW_j.js → custom-editor-iUZb8s2v.js} +2 -2
- package/dist/chunks/{custom-editor-5dpZZW_j.js.map → custom-editor-iUZb8s2v.js.map} +1 -1
- package/dist/chunks/{default-data-CmARVEBW.js → default-data-B0Y8TU26.js} +14 -14
- package/dist/chunks/{default-data-CmARVEBW.js.map → default-data-B0Y8TU26.js.map} +1 -1
- package/dist/chunks/{default-data-DSbmaVFY.esm.js → default-data-DlPr1rYe.esm.js} +14 -14
- package/dist/chunks/{default-data-DSbmaVFY.esm.js.map → default-data-DlPr1rYe.esm.js.map} +1 -1
- package/dist/chunks/{form-builder-conversion-D9q6WTmq.js → form-builder-conversion-BcJXOpRp.js} +2 -2
- package/dist/chunks/{form-builder-conversion-D9q6WTmq.js.map → form-builder-conversion-BcJXOpRp.js.map} +1 -1
- package/dist/chunks/{form-builder-conversion-C2frmPH6.esm.js → form-builder-conversion-DrA9C0NQ.esm.js} +2 -2
- package/dist/chunks/{form-builder-conversion-C2frmPH6.esm.js.map → form-builder-conversion-DrA9C0NQ.esm.js.map} +1 -1
- package/dist/chunks/{form-builder-deconversion-pKIkZ_95.esm.js → form-builder-deconversion-1hYI2jWw.esm.js} +3 -3
- package/dist/chunks/{form-builder-deconversion-pKIkZ_95.esm.js.map → form-builder-deconversion-1hYI2jWw.esm.js.map} +1 -1
- package/dist/chunks/{form-builder-deconversion-x7TevuHU.js → form-builder-deconversion-BmHlW07j.js} +3 -3
- package/dist/chunks/{form-builder-deconversion-x7TevuHU.js.map → form-builder-deconversion-BmHlW07j.js.map} +1 -1
- package/dist/chunks/{fullScreen-B73ASpXc.esm.js → fullScreen-B4ZPj9dr.esm.js} +2 -2
- package/dist/chunks/{fullScreen-B73ASpXc.esm.js.map → fullScreen-B4ZPj9dr.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-GATqKdsG.js → fullScreen-BrdRBi-K.js} +2 -2
- package/dist/chunks/{fullScreen-GATqKdsG.js.map → fullScreen-BrdRBi-K.js.map} +1 -1
- package/dist/chunks/{languageContext-CsSLzEaN.js → languageContext-CANlRoA0.js} +3 -3
- package/dist/chunks/{languageContext-CsSLzEaN.js.map → languageContext-CANlRoA0.js.map} +1 -1
- package/dist/chunks/{languageContext-9Nob_HWV.esm.js → languageContext-DfIURMbF.esm.js} +3 -3
- package/dist/chunks/{languageContext-9Nob_HWV.esm.js.map → languageContext-DfIURMbF.esm.js.map} +1 -1
- package/dist/chunks/{migration-utils-2n9_gMx1.esm.js → migration-utils-D4OMb4fL.esm.js} +2 -2
- package/dist/chunks/{migration-utils-2n9_gMx1.esm.js.map → migration-utils-D4OMb4fL.esm.js.map} +1 -1
- package/dist/chunks/{migration-utils-hBeA2Gxt.js → migration-utils-Dc_6VdeJ.js} +2 -2
- package/dist/chunks/{migration-utils-hBeA2Gxt.js.map → migration-utils-Dc_6VdeJ.js.map} +1 -1
- package/dist/chunks/{page-context-_AMJB_ty.js → page-context-Cg2MyCmD.js} +3 -3
- package/dist/chunks/{page-context-_AMJB_ty.js.map → page-context-Cg2MyCmD.js.map} +1 -1
- package/dist/chunks/{page-context-C_YWMVhh.esm.js → page-context-DfmpUWuf.esm.js} +3 -3
- package/dist/chunks/{page-context-C_YWMVhh.esm.js.map → page-context-DfmpUWuf.esm.js.map} +1 -1
- package/dist/chunks/{radio-button-BYtmY0l-.js → radio-button-Bxl9UISl.js} +1 -18
- package/dist/chunks/radio-button-Bxl9UISl.js.map +1 -0
- package/dist/chunks/{radio-button-wgwiOmaZ.esm.js → radio-button-mbPNQ3rc.esm.js} +16 -33
- package/dist/chunks/radio-button-mbPNQ3rc.esm.js.map +1 -0
- package/dist/chunks/{reducer-BMzMjtRW.js → reducer-BuEwR2fM.js} +2 -2
- package/dist/chunks/{reducer-BMzMjtRW.js.map → reducer-BuEwR2fM.js.map} +1 -1
- package/dist/chunks/{reducer-CUnOsvvx.esm.js → reducer-C0cHDjmv.esm.js} +2 -2
- package/dist/chunks/{reducer-CUnOsvvx.esm.js.map → reducer-C0cHDjmv.esm.js.map} +1 -1
- package/dist/chunks/{shareSlice-D8QQItpw.js → shareSlice-BHlSQRKw.js} +2 -2
- package/dist/chunks/{shareSlice-D8QQItpw.js.map → shareSlice-BHlSQRKw.js.map} +1 -1
- package/dist/chunks/{shareSlice-DtNEq6Sr.esm.js → shareSlice-DvnaG9GO.esm.js} +2 -2
- package/dist/chunks/{shareSlice-DtNEq6Sr.esm.js.map → shareSlice-DvnaG9GO.esm.js.map} +1 -1
- package/dist/chunks/{sidebar-CGU3tdez.esm.js → sidebar-B6-JNM4K.esm.js} +5 -5
- package/dist/chunks/{sidebar-CGU3tdez.esm.js.map → sidebar-B6-JNM4K.esm.js.map} +1 -1
- package/dist/chunks/{sidebar-CobitAdp.js → sidebar-CBzmUNFw.js} +5 -5
- package/dist/chunks/{sidebar-CobitAdp.js.map → sidebar-CBzmUNFw.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-R_SLQJpq.esm.js → sidebarScreen-C7gUqSYZ.esm.js} +5 -5
- package/dist/chunks/{sidebarScreen-R_SLQJpq.esm.js.map → sidebarScreen-C7gUqSYZ.esm.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-Kh58mSpF.js → sidebarScreen-vIzHgQxd.js} +5 -5
- package/dist/chunks/{sidebarScreen-Kh58mSpF.js.map → sidebarScreen-vIzHgQxd.js.map} +1 -1
- package/dist/chunks/{store-BlAfdMng.js → store-6mckWhh4.js} +3 -3
- package/dist/chunks/{store-BlAfdMng.js.map → store-6mckWhh4.js.map} +1 -1
- package/dist/chunks/{store-CKCweEtz.esm.js → store-giqheYvw.esm.js} +3 -3
- package/dist/chunks/{store-CKCweEtz.esm.js.map → store-giqheYvw.esm.js.map} +1 -1
- package/dist/chunks/{tick-B4IAsV4W.js → tick-COMAwRR1.js} +18 -1
- package/dist/chunks/tick-COMAwRR1.js.map +1 -0
- package/dist/chunks/{tick-DUuDXLjB.esm.js → tick-DaxkNl7E.esm.js} +18 -1
- package/dist/chunks/tick-DaxkNl7E.esm.js.map +1 -0
- package/dist/chunks/{translations-CURTcJu7.esm.js → translations-DiE6kTBI.esm.js} +2 -2
- package/dist/chunks/{translations-CURTcJu7.esm.js.map → translations-DiE6kTBI.esm.js.map} +1 -1
- package/dist/chunks/{translations-B5xv1gxS.js → translations-vAZ7RIc7.js} +2 -2
- package/dist/chunks/{translations-B5xv1gxS.js.map → translations-vAZ7RIc7.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-Dke2cTpR.esm.js → uom-field-wrapper-BnjRsGw2.esm.js} +16 -16
- package/dist/chunks/{uom-field-wrapper-Dke2cTpR.esm.js.map → uom-field-wrapper-BnjRsGw2.esm.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-BAFOTp35.js → uom-field-wrapper-aR0Kqbm9.js} +17 -17
- package/dist/chunks/{uom-field-wrapper-BAFOTp35.js.map → uom-field-wrapper-aR0Kqbm9.js.map} +1 -1
- package/dist/chunks/{useAddressContact-DRv6rxkI.js → useAddressContact-3jZsdmGS.js} +6 -6
- package/dist/chunks/{useAddressContact-DRv6rxkI.js.map → useAddressContact-3jZsdmGS.js.map} +1 -1
- package/dist/chunks/{useAddressContact-jJ8XlmC_.esm.js → useAddressContact-VUXo0xxq.esm.js} +6 -6
- package/dist/chunks/{useAddressContact-jJ8XlmC_.esm.js.map → useAddressContact-VUXo0xxq.esm.js.map} +1 -1
- package/dist/chunks/{useAuth-DtiC6c_b.js → useAuth-BNR7N60-.js} +2 -2
- package/dist/chunks/useAuth-BNR7N60-.js.map +1 -0
- package/dist/chunks/{useAuth-DnwuL4k3.esm.js → useAuth-b1FMAFmO.esm.js} +2 -2
- package/dist/chunks/useAuth-b1FMAFmO.esm.js.map +1 -0
- package/dist/chunks/{useLangauge-C_Z9sEw7.js → useLangauge-DsEM05Ll.js} +2 -2
- package/dist/chunks/{useLangauge-C_Z9sEw7.js.map → useLangauge-DsEM05Ll.js.map} +1 -1
- package/dist/chunks/{useLangauge-P-Sc0U-O.esm.js → useLangauge-dxTIlPe-.esm.js} +2 -2
- package/dist/chunks/{useLangauge-P-Sc0U-O.esm.js.map → useLangauge-dxTIlPe-.esm.js.map} +1 -1
- package/dist/components/header/components/index.d.ts +1 -0
- package/dist/components/header/components/language-switch/index.d.ts +2 -0
- package/dist/components/header/components/language-switch/language-switch.d.ts +2 -0
- package/dist/components/index.esm.js +34 -34
- package/dist/components/index.js +18 -18
- package/dist/components/providers/ERPUIProvider.d.ts +1 -0
- package/dist/contexts/AuthContext.d.ts +1 -0
- package/dist/contexts/index.esm.js +3 -3
- package/dist/contexts/index.js +3 -3
- package/dist/hooks/index.esm.js +5 -5
- package/dist/hooks/index.js +5 -5
- package/dist/icons/index.esm.js +26 -26
- package/dist/icons/index.js +8 -8
- package/dist/index.esm.js +58 -58
- package/dist/index.js +32 -32
- package/dist/layout/index.esm.js +2 -2
- package/dist/layout/index.js +2 -2
- package/dist/redux/index.esm.js +4 -4
- package/dist/redux/index.js +4 -4
- package/dist/src/components/header/components/index.d.ts +1 -0
- package/dist/src/components/header/components/language-switch/index.d.ts +2 -0
- package/dist/src/components/header/components/language-switch/language-switch.d.ts +2 -0
- package/dist/src/components/providers/ERPUIProvider.d.ts +1 -0
- package/dist/src/contexts/AuthContext.d.ts +1 -0
- package/dist/style.css +43 -0
- package/dist/utils/index.esm.js +7 -7
- package/dist/utils/index.js +6 -6
- package/dist/views/index.esm.js +8 -8
- package/dist/views/index.js +7 -7
- package/package.json +4 -3
- package/dist/chunks/ERPUIProvider-BPpcQgND.js.map +0 -1
- package/dist/chunks/appbar-Bf_GaMVY.js.map +0 -1
- package/dist/chunks/appbar-DDijzrAm.esm.js.map +0 -1
- package/dist/chunks/radio-button-BYtmY0l-.js.map +0 -1
- package/dist/chunks/radio-button-wgwiOmaZ.esm.js.map +0 -1
- package/dist/chunks/tick-B4IAsV4W.js.map +0 -1
- package/dist/chunks/tick-DUuDXLjB.esm.js.map +0 -1
- package/dist/chunks/useAuth-DnwuL4k3.esm.js.map +0 -1
- package/dist/chunks/useAuth-DtiC6c_b.js.map +0 -1
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
const jsxRuntime = require("./jsx-runtime-B6vEU3CM.js");
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const marked = require("marked");
|
|
5
|
-
const useAuth = require("./useAuth-
|
|
5
|
+
const useAuth = require("./useAuth-BNR7N60-.js");
|
|
6
6
|
const apiConfig = require("./api-config-DXwDMFn-.js");
|
|
7
|
-
const common = require("./common-
|
|
7
|
+
const common = require("./common-B1hGK8kQ.js");
|
|
8
8
|
const api = require("./api-CrXXYiZ2.js");
|
|
9
9
|
const iconsMaterial = require("@mui/icons-material");
|
|
10
10
|
const button = require("./button-GxDcw3FY.js");
|
|
11
|
-
const tick = require("./tick-
|
|
11
|
+
const tick = require("./tick-COMAwRR1.js");
|
|
12
12
|
const identifier = require("./identifier-CaTy7Osd.js");
|
|
13
13
|
const _$1 = require("lodash");
|
|
14
14
|
const material = require("@mui/material");
|
|
@@ -23,12 +23,12 @@ const routePageMap = require("./route-page-map-BMisO6c3.js");
|
|
|
23
23
|
const CssBaseline = require("./CssBaseline-BtFw_t3c.js");
|
|
24
24
|
const ReactDOM = require("react-dom");
|
|
25
25
|
const notistack = require("notistack");
|
|
26
|
-
const useLangauge = require("./useLangauge-
|
|
26
|
+
const useLangauge = require("./useLangauge-DsEM05Ll.js");
|
|
27
|
+
const react = require("@emotion/react");
|
|
27
28
|
const reactHookForm = require("react-hook-form");
|
|
28
29
|
const resolvers = require("@hookform/resolvers");
|
|
29
30
|
const Yup = require("yup");
|
|
30
31
|
const eye = require("./eye-CPMoo4Zm.js");
|
|
31
|
-
const react = require("@emotion/react");
|
|
32
32
|
function _interopNamespaceDefault(e) {
|
|
33
33
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
34
34
|
if (e) {
|
|
@@ -8866,6 +8866,104 @@ function GlobalSearch() {
|
|
|
8866
8866
|
] })
|
|
8867
8867
|
] });
|
|
8868
8868
|
}
|
|
8869
|
+
const createEnglishFallback = () => ({
|
|
8870
|
+
code: "en",
|
|
8871
|
+
label: "English",
|
|
8872
|
+
direction: "ltr"
|
|
8873
|
+
});
|
|
8874
|
+
function LanguageSwitch() {
|
|
8875
|
+
const { t } = reactI18next.useTranslation();
|
|
8876
|
+
const {
|
|
8877
|
+
languages,
|
|
8878
|
+
currentLanguage,
|
|
8879
|
+
changeLanguage,
|
|
8880
|
+
isLoading,
|
|
8881
|
+
error: languageContextError,
|
|
8882
|
+
isFallbackActive,
|
|
8883
|
+
fetchLanguages
|
|
8884
|
+
} = useLangauge.useLanguage();
|
|
8885
|
+
const [localLanguageError, setLocalLanguageError] = React.useState(null);
|
|
8886
|
+
const [anchorEl, setAnchorEl] = React.useState(null);
|
|
8887
|
+
const isMenuOpen = Boolean(anchorEl);
|
|
8888
|
+
const handleMenuOpen = (event) => setAnchorEl(event.currentTarget);
|
|
8889
|
+
const handleMenuClose = () => setAnchorEl(null);
|
|
8890
|
+
const getLanguagesForDropdown = () => {
|
|
8891
|
+
if (!languages || languages.length === 0) {
|
|
8892
|
+
return [createEnglishFallback()];
|
|
8893
|
+
}
|
|
8894
|
+
const hasEnglish = languages.some((lang) => lang.code === "en");
|
|
8895
|
+
if (!hasEnglish) {
|
|
8896
|
+
return [createEnglishFallback(), ...languages];
|
|
8897
|
+
}
|
|
8898
|
+
return languages;
|
|
8899
|
+
};
|
|
8900
|
+
const getCurrentLanguageDisplay = () => {
|
|
8901
|
+
if (!currentLanguage) return "EN";
|
|
8902
|
+
return currentLanguage.code.toUpperCase();
|
|
8903
|
+
};
|
|
8904
|
+
const onChangeLang = (lang_code) => {
|
|
8905
|
+
setLocalLanguageError(null);
|
|
8906
|
+
handleMenuClose();
|
|
8907
|
+
if (!languages || languages.length === 0) {
|
|
8908
|
+
const errorMsg = t("header.language_not_available") || "Languages not available";
|
|
8909
|
+
setLocalLanguageError(errorMsg);
|
|
8910
|
+
return;
|
|
8911
|
+
}
|
|
8912
|
+
const languageExists = languages.some((lang) => lang.code === lang_code);
|
|
8913
|
+
if (languageExists) {
|
|
8914
|
+
try {
|
|
8915
|
+
changeLanguage(lang_code);
|
|
8916
|
+
} catch (error) {
|
|
8917
|
+
setLocalLanguageError(error instanceof Error ? error.message : "Failed to change language");
|
|
8918
|
+
}
|
|
8919
|
+
} else {
|
|
8920
|
+
const errorMsg = t("header.language_not_found", { language: lang_code }) || `Selected language "${lang_code}" is not available`;
|
|
8921
|
+
setLocalLanguageError(errorMsg);
|
|
8922
|
+
}
|
|
8923
|
+
};
|
|
8924
|
+
const handleRetryLanguages = async () => {
|
|
8925
|
+
setLocalLanguageError(null);
|
|
8926
|
+
try {
|
|
8927
|
+
await fetchLanguages();
|
|
8928
|
+
} catch (error) {
|
|
8929
|
+
setLocalLanguageError("Failed to reload languages");
|
|
8930
|
+
}
|
|
8931
|
+
};
|
|
8932
|
+
const availableLanguages = getLanguagesForDropdown();
|
|
8933
|
+
if (isLoading) {
|
|
8934
|
+
return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Box, { className: "language-chip language-chip-loading", children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("span", { children: t("header.language_loading") || "Loading..." }) });
|
|
8935
|
+
}
|
|
8936
|
+
return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(Box, { className: "language-selector-wrapper", children: [
|
|
8937
|
+
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(
|
|
8938
|
+
"button",
|
|
8939
|
+
{
|
|
8940
|
+
className: `hdr-lang-btn ${isFallbackActive || languageContextError ? "language-fallback-active" : ""}`,
|
|
8941
|
+
type: "button",
|
|
8942
|
+
onClick: handleMenuOpen,
|
|
8943
|
+
children: [
|
|
8944
|
+
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("span", { className: "lang-text", children: getCurrentLanguageDisplay() }),
|
|
8945
|
+
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(tick.ArrowDown, { width: 14, height: 14 })
|
|
8946
|
+
]
|
|
8947
|
+
}
|
|
8948
|
+
),
|
|
8949
|
+
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(
|
|
8950
|
+
Menu,
|
|
8951
|
+
{
|
|
8952
|
+
className: "main-profile-menu",
|
|
8953
|
+
anchorEl,
|
|
8954
|
+
open: isMenuOpen,
|
|
8955
|
+
onClose: handleMenuClose,
|
|
8956
|
+
anchorOrigin: { vertical: "bottom", horizontal: "right" },
|
|
8957
|
+
transformOrigin: { vertical: "top", horizontal: "right" },
|
|
8958
|
+
children: [
|
|
8959
|
+
availableLanguages.map(({ code, label }) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(MenuItem, { onClick: () => onChangeLang(code), children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(useAuth.Typography, { type: "s4", weight: "medium", color: (currentLanguage == null ? void 0 : currentLanguage.code) === code ? "theme.primary.1000" : "theme.secondary.1000", children: label }) }, code)),
|
|
8960
|
+
languageContextError && /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(MenuItem, { onClick: handleRetryLanguages, style: { fontStyle: "italic" }, children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(useAuth.Typography, { type: "s4", weight: "medium", color: "theme.secondary.500", children: t("header.retry_languages") || "Retry loading languages" }) })
|
|
8961
|
+
]
|
|
8962
|
+
}
|
|
8963
|
+
),
|
|
8964
|
+
localLanguageError && /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(useAuth.Typography, { type: "s5", color: "theme.error.600", style: { position: "absolute", bottom: "-15px", whiteSpace: "nowrap" }, children: localLanguageError })
|
|
8965
|
+
] });
|
|
8966
|
+
}
|
|
8869
8967
|
const getNotificationUrl = (data) => {
|
|
8870
8968
|
var _a;
|
|
8871
8969
|
const { moduleName = "", moduleId = "", notificationData = {} } = data;
|
|
@@ -9727,6 +9825,7 @@ function Header(props) {
|
|
|
9727
9825
|
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("div", { style: { flex: 1 } }),
|
|
9728
9826
|
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(GlobalSearch, {}),
|
|
9729
9827
|
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("div", { className: "notif-wrap", children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(NotificationMenu, {}) }),
|
|
9828
|
+
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(LanguageSwitch, {}),
|
|
9730
9829
|
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("div", { className: "v-divider" }),
|
|
9731
9830
|
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(UserMenu, {})
|
|
9732
9831
|
] });
|
|
@@ -9837,4 +9936,4 @@ exports.resolveComponentProps = resolveComponentProps;
|
|
|
9837
9936
|
exports.useRtl = useRtl;
|
|
9838
9937
|
exports.useSlotProps = useSlotProps;
|
|
9839
9938
|
exports.useTheme = useTheme;
|
|
9840
|
-
//# sourceMappingURL=appbar-
|
|
9939
|
+
//# sourceMappingURL=appbar-DbazXkez.js.map
|