sixseconds-modules 1.2.5 → 1.2.7
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.
|
@@ -18,5 +18,5 @@ interface SubHeaderProps {
|
|
|
18
18
|
t?: t;
|
|
19
19
|
sx?: any;
|
|
20
20
|
}
|
|
21
|
-
export declare const Header: ({ frontCustomComponent, endCustomComponents, userData, interFaceLangList, centerCustomComponents,
|
|
21
|
+
export declare const Header: ({ frontCustomComponent, endCustomComponents, userData, interFaceLangList, centerCustomComponents, selectedInterFaceLang, logoutHandler, logo, isNotification, extraMenuOptions, isMenu, isAccessAppMenu, sx, }: SubHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
export {};
|
package/dist/index.cjs.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const MenuIcon = require("@mui/icons-material/Menu");
|
|
5
|
-
const KeyboardArrowDownIcon = require("@mui/icons-material/KeyboardArrowDown");
|
|
6
5
|
const material = require("@mui/material");
|
|
7
6
|
const React = require("react");
|
|
8
7
|
const CheckIcon = require("@mui/icons-material/Check");
|
|
@@ -4474,7 +4473,7 @@ function Language({
|
|
|
4474
4473
|
}
|
|
4475
4474
|
}
|
|
4476
4475
|
},
|
|
4477
|
-
children: interFaceLangList
|
|
4476
|
+
children: interFaceLangList?.map((lang2, i) => {
|
|
4478
4477
|
return /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4479
4478
|
material.Stack,
|
|
4480
4479
|
{
|
|
@@ -5360,7 +5359,7 @@ const Header = ({
|
|
|
5360
5359
|
interFaceLangList,
|
|
5361
5360
|
// toggleSiderMenu,
|
|
5362
5361
|
centerCustomComponents,
|
|
5363
|
-
updateInterfaceLang,
|
|
5362
|
+
// updateInterfaceLang,
|
|
5364
5363
|
selectedInterFaceLang,
|
|
5365
5364
|
logoutHandler,
|
|
5366
5365
|
logo,
|
|
@@ -5461,7 +5460,7 @@ const Header = ({
|
|
|
5461
5460
|
},
|
|
5462
5461
|
children: [
|
|
5463
5462
|
/* @__PURE__ */ jsxRuntime.jsx("img", { width: 40, height: 30, alt: "lang", src: selectedInterFaceLang?.flag || IMAGES.Us }),
|
|
5464
|
-
|
|
5463
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Box, { sx: { margin: "2px 0px 0px 2px" }, children: /* @__PURE__ */ jsxRuntime.jsx(SVG.Dawn, {}) })
|
|
5465
5464
|
]
|
|
5466
5465
|
}
|
|
5467
5466
|
),
|
|
@@ -5471,7 +5470,6 @@ const Header = ({
|
|
|
5471
5470
|
setInitialState: setState,
|
|
5472
5471
|
interFaceLangList,
|
|
5473
5472
|
userData,
|
|
5474
|
-
updateInterfaceLang,
|
|
5475
5473
|
setState,
|
|
5476
5474
|
selectedInterFaceLang
|
|
5477
5475
|
}
|