sixseconds-modules 1.2.5 → 1.2.6
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.es.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import MenuIcon from "@mui/icons-material/Menu";
|
|
3
|
-
import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown";
|
|
4
3
|
import { styled, AppBar, Box, Avatar, ClickAwayListener, Stack, Typography, Link, useMediaQuery, Dialog, Button, MenuItem, Grid, Container, Badge, IconButton } from "@mui/material";
|
|
5
4
|
import * as React from "react";
|
|
6
5
|
import React__default, { createElement, useState, Component, useEffect } from "react";
|
|
@@ -4456,7 +4455,7 @@ function Language({
|
|
|
4456
4455
|
}
|
|
4457
4456
|
}
|
|
4458
4457
|
},
|
|
4459
|
-
children: interFaceLangList
|
|
4458
|
+
children: interFaceLangList?.map((lang2, i) => {
|
|
4460
4459
|
return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
4461
4460
|
Stack,
|
|
4462
4461
|
{
|
|
@@ -5342,7 +5341,7 @@ const Header = ({
|
|
|
5342
5341
|
interFaceLangList,
|
|
5343
5342
|
// toggleSiderMenu,
|
|
5344
5343
|
centerCustomComponents,
|
|
5345
|
-
updateInterfaceLang,
|
|
5344
|
+
// updateInterfaceLang,
|
|
5346
5345
|
selectedInterFaceLang,
|
|
5347
5346
|
logoutHandler,
|
|
5348
5347
|
logo,
|
|
@@ -5424,7 +5423,7 @@ const Header = ({
|
|
|
5424
5423
|
state.toggles.appMenus && userData?.appAccess?.length && /* @__PURE__ */ jsx(Box, { className: "profile headerMenu", children: /* @__PURE__ */ jsx(AppMenus, { menuItems: userData?.appAccess, setInitialState: setState }) })
|
|
5425
5424
|
] }),
|
|
5426
5425
|
Boolean(interFaceLangList?.length) && /* @__PURE__ */ jsxs(Box, { sx: { position: "relative" }, children: [
|
|
5427
|
-
/* @__PURE__ */
|
|
5426
|
+
/* @__PURE__ */ jsx(
|
|
5428
5427
|
Typography,
|
|
5429
5428
|
{
|
|
5430
5429
|
"data-toggle-name": "lang",
|
|
@@ -5441,10 +5440,7 @@ const Header = ({
|
|
|
5441
5440
|
xs: "10px 3px!important"
|
|
5442
5441
|
}
|
|
5443
5442
|
},
|
|
5444
|
-
children:
|
|
5445
|
-
/* @__PURE__ */ jsx("img", { width: 40, height: 30, alt: "lang", src: selectedInterFaceLang?.flag || IMAGES.Us }),
|
|
5446
|
-
Boolean(interFaceLangList?.length) && /* @__PURE__ */ jsx(KeyboardArrowDownIcon, {})
|
|
5447
|
-
]
|
|
5443
|
+
children: /* @__PURE__ */ jsx("img", { width: 40, height: 30, alt: "lang", src: selectedInterFaceLang?.flag || IMAGES.Us })
|
|
5448
5444
|
}
|
|
5449
5445
|
),
|
|
5450
5446
|
state.toggles.lang && /* @__PURE__ */ jsx(
|
|
@@ -5453,7 +5449,6 @@ const Header = ({
|
|
|
5453
5449
|
setInitialState: setState,
|
|
5454
5450
|
interFaceLangList,
|
|
5455
5451
|
userData,
|
|
5456
|
-
updateInterfaceLang,
|
|
5457
5452
|
setState,
|
|
5458
5453
|
selectedInterFaceLang
|
|
5459
5454
|
}
|