sixseconds-modules 1.6.179 → 1.6.180
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/components/header/type.d.ts +1 -0
- package/dist/index.cjs.js +15 -39
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +15 -39
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -13758,8 +13758,8 @@ const AppMenus = ({ menuItems, setInitialState, t: t2, appName, router }) => {
|
|
|
13758
13758
|
/* @__PURE__ */ jsxRuntime.jsx(material.Box, { sx: { mb: 1, display: "flex", alignItems: "center", justifyContent: "center" }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
13759
13759
|
"img",
|
|
13760
13760
|
{
|
|
13761
|
-
width:
|
|
13762
|
-
height:
|
|
13761
|
+
width: 40,
|
|
13762
|
+
height: 40,
|
|
13763
13763
|
style: { margin: "0 auto", display: "block", objectFit: "contain" },
|
|
13764
13764
|
src: item.icon,
|
|
13765
13765
|
alt: item.name
|
|
@@ -13874,7 +13874,7 @@ function Language({
|
|
|
13874
13874
|
}
|
|
13875
13875
|
}
|
|
13876
13876
|
},
|
|
13877
|
-
children: interFaceLangList?.map((lang2, i) => {
|
|
13877
|
+
children: interFaceLangList?.length > 0 ? interFaceLangList?.map((lang2, i) => {
|
|
13878
13878
|
return /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
13879
13879
|
material.Stack,
|
|
13880
13880
|
{
|
|
@@ -13894,11 +13894,11 @@ function Language({
|
|
|
13894
13894
|
src: lang2?.flag || IMAGES.DefaultLang,
|
|
13895
13895
|
alt: lang2?.label,
|
|
13896
13896
|
style: {
|
|
13897
|
-
width: "
|
|
13898
|
-
height: "
|
|
13897
|
+
width: "35px !important",
|
|
13898
|
+
height: "35px !important"
|
|
13899
13899
|
},
|
|
13900
|
-
width:
|
|
13901
|
-
height:
|
|
13900
|
+
width: 35,
|
|
13901
|
+
height: 35
|
|
13902
13902
|
}
|
|
13903
13903
|
),
|
|
13904
13904
|
/* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "h4", sx: { fontSize: "16px", fontWeight: "500", m: 0 }, children: t2(lang2?.label) }),
|
|
@@ -13906,7 +13906,7 @@ function Language({
|
|
|
13906
13906
|
] }) })
|
|
13907
13907
|
}
|
|
13908
13908
|
) }, i);
|
|
13909
|
-
})
|
|
13909
|
+
}) : /* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "h4", sx: { fontSize: "16px", fontWeight: "500", m: 0 }, children: t2(ALERT_MESSAGES.dataNoFount) })
|
|
13910
13910
|
}
|
|
13911
13911
|
)
|
|
13912
13912
|
}
|
|
@@ -14654,6 +14654,7 @@ const HeaderInner = ({
|
|
|
14654
14654
|
notificationAccessApps,
|
|
14655
14655
|
sx,
|
|
14656
14656
|
isMainLogo = true,
|
|
14657
|
+
isLang = true,
|
|
14657
14658
|
handleSideToggle,
|
|
14658
14659
|
t
|
|
14659
14660
|
}) => {
|
|
@@ -14820,7 +14821,7 @@ const HeaderInner = ({
|
|
|
14820
14821
|
]
|
|
14821
14822
|
}
|
|
14822
14823
|
),
|
|
14823
|
-
|
|
14824
|
+
isLang && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14824
14825
|
material.Box,
|
|
14825
14826
|
{
|
|
14826
14827
|
sx: {
|
|
@@ -14845,11 +14846,11 @@ const HeaderInner = ({
|
|
|
14845
14846
|
"img",
|
|
14846
14847
|
{
|
|
14847
14848
|
style: {
|
|
14848
|
-
width: "
|
|
14849
|
-
height: "
|
|
14849
|
+
width: "35px !important",
|
|
14850
|
+
height: "35px !important"
|
|
14850
14851
|
},
|
|
14851
|
-
width:
|
|
14852
|
-
height:
|
|
14852
|
+
width: 35,
|
|
14853
|
+
height: 35,
|
|
14853
14854
|
alt: "lang",
|
|
14854
14855
|
"data-cookiecategory": "essential",
|
|
14855
14856
|
"data-src": selectedInterFaceLang?.flag || IMAGES.DefaultLang,
|
|
@@ -15267,6 +15268,7 @@ const App = () => {
|
|
|
15267
15268
|
{
|
|
15268
15269
|
isAccessAppMenu: true,
|
|
15269
15270
|
isMenu: true,
|
|
15271
|
+
isLang: false,
|
|
15270
15272
|
handleSideToggle: () => {
|
|
15271
15273
|
},
|
|
15272
15274
|
updateInterfaceLang: () => {
|
|
@@ -15343,32 +15345,6 @@ const App = () => {
|
|
|
15343
15345
|
linkedInUrl: "",
|
|
15344
15346
|
notificationCount: 10
|
|
15345
15347
|
},
|
|
15346
|
-
interFaceLangList: [
|
|
15347
|
-
{
|
|
15348
|
-
id: 1,
|
|
15349
|
-
label: "Chinese",
|
|
15350
|
-
value: "zh",
|
|
15351
|
-
flag: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/flags/1736568764.png"
|
|
15352
|
-
},
|
|
15353
|
-
{
|
|
15354
|
-
id: 1,
|
|
15355
|
-
label: "English (US)",
|
|
15356
|
-
value: "en",
|
|
15357
|
-
flag: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/flags/1735277288.png"
|
|
15358
|
-
},
|
|
15359
|
-
{
|
|
15360
|
-
id: 1,
|
|
15361
|
-
label: "Spanish",
|
|
15362
|
-
value: 3,
|
|
15363
|
-
flag: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/flags/1735277337.png"
|
|
15364
|
-
}
|
|
15365
|
-
],
|
|
15366
|
-
selectedInterFaceLang: {
|
|
15367
|
-
id: 1,
|
|
15368
|
-
label: "Chinese",
|
|
15369
|
-
value: "zh",
|
|
15370
|
-
flag: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/flags/1736568764.png"
|
|
15371
|
-
},
|
|
15372
15348
|
isMainLogo: true,
|
|
15373
15349
|
totallyEndCustomComponent: "asdfsdf",
|
|
15374
15350
|
extraMenuOptions: {
|