sixseconds-modules 1.6.49 → 1.6.52
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/index.cjs.js +20 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +20 -5
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -2
package/dist/index.cjs.js
CHANGED
|
@@ -9094,13 +9094,15 @@ const UserProfile = ({ t: t2, userData, setInitialState, extraMenuOptions, route
|
|
|
9094
9094
|
},
|
|
9095
9095
|
children: [
|
|
9096
9096
|
/* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "h4", sx: { fontSize: "16px", fontWeight: "500", m: 0 }, children: userData?.fullName }),
|
|
9097
|
-
|
|
9097
|
+
/* @__PURE__ */ jsxRuntime.jsxs(material.Typography, { component: "span", sx: { m: 0, fontSize: "14px", color: "#666666" }, children: [
|
|
9098
9098
|
truncateValUtil(userData?.email || ""),
|
|
9099
9099
|
" ",
|
|
9100
9100
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
9101
|
-
|
|
9102
|
-
|
|
9103
|
-
|
|
9101
|
+
Boolean(userData?.role) && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
9102
|
+
"(",
|
|
9103
|
+
userData?.role,
|
|
9104
|
+
")"
|
|
9105
|
+
] })
|
|
9104
9106
|
] })
|
|
9105
9107
|
]
|
|
9106
9108
|
}
|
|
@@ -9270,7 +9272,19 @@ function Language({
|
|
|
9270
9272
|
setInitialState((p) => ({ ...p, toggles: { ...p.toggles, lang: false } }));
|
|
9271
9273
|
},
|
|
9272
9274
|
children: /* @__PURE__ */ jsxRuntime.jsx(material.Box, { sx: { flex: 1 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { direction: "row", alignItems: "center", justifyContent: "flex-start", gap: 2, children: [
|
|
9273
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9275
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9276
|
+
"img",
|
|
9277
|
+
{
|
|
9278
|
+
src: lang2?.flag,
|
|
9279
|
+
alt: lang2?.label,
|
|
9280
|
+
style: {
|
|
9281
|
+
width: "40px !important",
|
|
9282
|
+
height: "25px !important"
|
|
9283
|
+
},
|
|
9284
|
+
width: 40,
|
|
9285
|
+
height: 25
|
|
9286
|
+
}
|
|
9287
|
+
),
|
|
9274
9288
|
/* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "h4", sx: { fontSize: "16px", fontWeight: "500", m: 0 }, children: t2(lang2?.label) }),
|
|
9275
9289
|
selectedInterFaceLang?.value === lang2?.value && /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, { sx: { color: "#007FC0", fontSize: "30px" } })
|
|
9276
9290
|
] }) })
|
|
@@ -11296,6 +11310,7 @@ const PreviousLoginBanner = ({ t: t2, router, sx }) => {
|
|
|
11296
11310
|
return previousLoginDetails.id && previousLoginDetails.isAllowToAccess && /* @__PURE__ */ jsxRuntime.jsx(
|
|
11297
11311
|
material.Box,
|
|
11298
11312
|
{
|
|
11313
|
+
component: material.AppBar,
|
|
11299
11314
|
sx: {
|
|
11300
11315
|
height: "auto",
|
|
11301
11316
|
width: "100%",
|