sixseconds-modules 1.6.169 → 1.6.171
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 +15 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +16 -11
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -13662,6 +13662,11 @@ var createCache = function createCache2(options) {
|
|
|
13662
13662
|
cache.sheet.hydrate(nodesToHydrate);
|
|
13663
13663
|
return cache;
|
|
13664
13664
|
};
|
|
13665
|
+
const isolatedTheme = material.createTheme({
|
|
13666
|
+
typography: {
|
|
13667
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13668
|
+
}
|
|
13669
|
+
});
|
|
13665
13670
|
material.unstable_ClassNameGenerator.configure((componentName) => `sixseconds-modules-${componentName}`);
|
|
13666
13671
|
function createEmotionCache() {
|
|
13667
13672
|
if (typeof document === "undefined") {
|
|
@@ -13681,7 +13686,7 @@ function createEmotionCache() {
|
|
|
13681
13686
|
}
|
|
13682
13687
|
function MuiProvider({ children }) {
|
|
13683
13688
|
const cacheRef = React.useRef(createEmotionCache());
|
|
13684
|
-
return /* @__PURE__ */ jsxRuntime.jsx(react.CacheProvider, { value: cacheRef.current, children });
|
|
13689
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react.CacheProvider, { value: cacheRef.current, children: /* @__PURE__ */ jsxRuntime.jsx(material.ThemeProvider, { theme: isolatedTheme, children }) });
|
|
13685
13690
|
}
|
|
13686
13691
|
const DangerDialog = ({
|
|
13687
13692
|
open,
|
|
@@ -13706,7 +13711,7 @@ const DangerDialog = ({
|
|
|
13706
13711
|
onClose: () => handleCloseUtil(setInitialState),
|
|
13707
13712
|
open,
|
|
13708
13713
|
"aria-labelledby": "draggable-dialog-title",
|
|
13709
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { sx: { p: 3 }, children: [
|
|
13714
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { sx: { p: 3 }, className: "sixseconds-header-root", children: [
|
|
13710
13715
|
/* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { direction: "column", spacing: 2, alignItems: "flex-start", sx: { textAlign: "start", mb: 2 }, children: [
|
|
13711
13716
|
/* @__PURE__ */ jsxRuntime.jsx(ExitToAppTwoToneIcon, { sx: { color: "#d32f2f", fontSize: "48px" } }),
|
|
13712
13717
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -14178,7 +14183,7 @@ function ViewProfileDialog({ userData, setInitialState, isOpen }) {
|
|
|
14178
14183
|
},
|
|
14179
14184
|
onClose: () => handleCloseUtil(setInitialState),
|
|
14180
14185
|
open: isOpen,
|
|
14181
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(ProfileStyled, { children: [
|
|
14186
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(ProfileStyled, { className: "sixseconds-header-root", children: [
|
|
14182
14187
|
/* @__PURE__ */ jsxRuntime.jsx(material.Box, { sx: { display: "flex", justifyContent: "flex-end", p: 1.5 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14183
14188
|
material.IconButton,
|
|
14184
14189
|
{
|
|
@@ -14419,7 +14424,7 @@ function ChangePasswordDialog({ isOpen, email, t: t2, setInitialState }) {
|
|
|
14419
14424
|
},
|
|
14420
14425
|
onClose: () => handleCloseUtil(setInitialState),
|
|
14421
14426
|
open: isOpen,
|
|
14422
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("form", { onSubmit: formik.handleSubmit, children: /* @__PURE__ */ jsxRuntime.jsxs(ChangePasswordStyled, { children: [
|
|
14427
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("form", { onSubmit: formik.handleSubmit, children: /* @__PURE__ */ jsxRuntime.jsxs(ChangePasswordStyled, { className: "sixseconds-header-root", children: [
|
|
14423
14428
|
/* @__PURE__ */ jsxRuntime.jsx(material.Box, { sx: { display: "flex", justifyContent: "flex-end", p: 1.5 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14424
14429
|
material.IconButton,
|
|
14425
14430
|
{
|
|
@@ -14582,10 +14587,10 @@ const AppMenus = ({ menuItems, setInitialState, t: t2, appName, router }) => {
|
|
|
14582
14587
|
const DropdownMenu = ({ headerMenuArray, initialState }) => {
|
|
14583
14588
|
const pathname = window.location.pathname;
|
|
14584
14589
|
const isMobile = material.useMediaQuery("(max-width: 1324px)");
|
|
14585
|
-
return /* @__PURE__ */ jsxRuntime.jsx("nav", { style: { backgroundColor: "transparent", color: "#000" }, children: !isMobile ? /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "sixseconds-header-main-list-menu sixseconds-header-desktop-menu", children: headerMenuArray.map((items, index) => /* @__PURE__ */ jsxRuntime.
|
|
14590
|
+
return /* @__PURE__ */ jsxRuntime.jsx("nav", { style: { backgroundColor: "transparent", color: "#000" }, children: !isMobile ? /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "sixseconds-header-main-list-menu sixseconds-header-desktop-menu", children: headerMenuArray.map((items, index) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "sixseconds-header-menu-item", style: { listStyle: "none" }, children: [
|
|
14586
14591
|
/* @__PURE__ */ jsxRuntime.jsx("a", { href: items.value || "", target: items.target, className: `sixseconds-header-menu-link`, children: items.label }),
|
|
14587
|
-
Boolean(items.children.length) && /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "sixseconds-header-submenu-data", children: items.children?.map((child, index2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
14588
|
-
] }, index)
|
|
14592
|
+
Boolean(items.children.length) && /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "sixseconds-header-submenu-data", children: items.children?.map((child, index2) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: child.value || "", target: child.target, className: "sixseconds-header-submenu-link", children: child.label }) }, index2)) })
|
|
14593
|
+
] }, index)) }) : initialState.toggles.dropDownMenu && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "lg:hidden sixseconds-header-small-device-menu", id: "mobile-menu", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sixseconds-header-layout-mobile-menu", children: headerMenuArray.map((items, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
14589
14594
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14590
14595
|
"a",
|
|
14591
14596
|
{
|
|
@@ -14596,7 +14601,7 @@ const DropdownMenu = ({ headerMenuArray, initialState }) => {
|
|
|
14596
14601
|
},
|
|
14597
14602
|
index
|
|
14598
14603
|
),
|
|
14599
|
-
Boolean(items.children.length) && /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "sixseconds-header-submenu-child", children: items.children?.map((items2, index2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
14604
|
+
Boolean(items.children.length) && /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "sixseconds-header-submenu-child", children: items.children?.map((items2, index2) => /* @__PURE__ */ jsxRuntime.jsx("li", { style: { listStyleType: "none" }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14600
14605
|
"a",
|
|
14601
14606
|
{
|
|
14602
14607
|
href: items2.value || "",
|
|
@@ -14604,8 +14609,8 @@ const DropdownMenu = ({ headerMenuArray, initialState }) => {
|
|
|
14604
14609
|
className: "sixseconds-header-submenu-child-link",
|
|
14605
14610
|
children: items2.label
|
|
14606
14611
|
}
|
|
14607
|
-
) }, index2)
|
|
14608
|
-
] })) }) }) });
|
|
14612
|
+
) }, index2)) })
|
|
14613
|
+
] }, index)) }) }) });
|
|
14609
14614
|
};
|
|
14610
14615
|
function Language({
|
|
14611
14616
|
interFaceLangList,
|