sixseconds-modules 1.2.4 → 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/components/header/index.d.ts +1 -1
- package/dist/index.cjs.js +6 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.es.js +6 -11
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
+
import MenuIcon from "@mui/icons-material/Menu";
|
|
3
|
+
import { styled, AppBar, Box, Avatar, ClickAwayListener, Stack, Typography, Link, useMediaQuery, Dialog, Button, MenuItem, Grid, Container, Badge, IconButton } from "@mui/material";
|
|
2
4
|
import * as React from "react";
|
|
3
5
|
import React__default, { createElement, useState, Component, useEffect } from "react";
|
|
4
|
-
import { styled, AppBar, Box, Avatar, ClickAwayListener, Stack, Typography, Link, useMediaQuery, Dialog, Button, MenuItem, Grid, Container, Badge, IconButton } from "@mui/material";
|
|
5
|
-
import MenuIcon from "@mui/icons-material/Menu";
|
|
6
|
-
import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown";
|
|
7
6
|
import CheckIcon from "@mui/icons-material/Check";
|
|
8
7
|
import axios from "axios";
|
|
9
8
|
const SvgBell = (props) => /* @__PURE__ */ React.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("rect", { width: 24, height: 24, fill: "white", fillOpacity: 0.01 }), /* @__PURE__ */ React.createElement("path", { d: "M20.7013 16.4944C20.145 15.5366 19.4816 13.7192 19.4816 10.5V9.83475C19.4816 5.68294 16.1509 2.28056 12.057 2.25019L11.9998 2.25C10.0132 2.25258 8.10904 3.0442 6.70613 4.45072C5.30322 5.85723 4.51649 7.76344 4.519 9.75V10.5C4.519 13.719 3.85535 15.5363 3.29875 16.494C3.16581 16.7218 3.09527 16.9805 3.09425 17.2443C3.09322 17.508 3.16175 17.7673 3.29291 17.9961C3.42408 18.2249 3.61325 18.415 3.84135 18.5474C4.06944 18.6798 4.32841 18.7496 4.59213 18.75H8.24997C8.24997 19.7446 8.64506 20.6984 9.34832 21.4016C10.0516 22.1049 11.0054 22.5 12 22.5C12.9945 22.5 13.9484 22.1049 14.6516 21.4016C15.3549 20.6984 15.75 19.7446 15.75 18.75H19.4078C19.6715 18.7497 19.9304 18.6798 20.1585 18.5475C20.3866 18.4151 20.5757 18.225 20.7069 17.9963C20.8381 17.7675 20.9066 17.5083 20.9056 17.2446C20.9047 16.9809 20.8342 16.7221 20.7013 16.4944ZM12 21C11.4034 20.9993 10.8315 20.7621 10.4097 20.3403C9.98791 19.9184 9.75064 19.3465 9.74997 18.75H14.25C14.2493 19.3465 14.012 19.9184 13.5902 20.3403C13.1684 20.7621 12.5965 20.9993 12 21ZM4.5955 17.2478C5.24491 16.1306 6.019 14.0531 6.019 10.5V9.75C6.01651 8.1612 6.64527 6.63649 7.76695 5.51127C8.88863 4.38606 10.4114 3.75251 12.0002 3.75L12.0458 3.75019C15.3188 3.77447 17.9817 6.504 17.9817 9.83475V10.5C17.9817 14.0531 18.7554 16.1306 19.4078 17.25L4.5955 17.2478Z", fill: "#808080" }));
|
|
@@ -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
|
}
|