sixseconds-modules 1.6.192 → 1.6.194
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 +154 -55
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +154 -55
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -13766,63 +13766,90 @@ const AppMenus = ({ menuItems, setInitialState, t: t2, appName, router }) => {
|
|
|
13766
13766
|
}
|
|
13767
13767
|
}
|
|
13768
13768
|
};
|
|
13769
|
-
return /* @__PURE__ */ jsxRuntime.jsx(material.ClickAwayListener, { touchEvent: "onTouchStart", onClickAway: () => handleCloseUtil(setInitialState), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
13770
|
-
material.
|
|
13769
|
+
return /* @__PURE__ */ jsxRuntime.jsx(material.ClickAwayListener, { touchEvent: "onTouchStart", onClickAway: () => handleCloseUtil(setInitialState), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
13770
|
+
material.Box,
|
|
13771
13771
|
{
|
|
13772
|
-
|
|
13773
|
-
|
|
13774
|
-
|
|
13775
|
-
|
|
13776
|
-
|
|
13777
|
-
|
|
13778
|
-
|
|
13779
|
-
|
|
13780
|
-
|
|
13781
|
-
|
|
13782
|
-
|
|
13783
|
-
|
|
13784
|
-
|
|
13785
|
-
|
|
13786
|
-
|
|
13787
|
-
|
|
13788
|
-
|
|
13789
|
-
|
|
13790
|
-
|
|
13791
|
-
|
|
13792
|
-
width: "100%"
|
|
13793
|
-
},
|
|
13794
|
-
children: [
|
|
13795
|
-
/* @__PURE__ */ jsxRuntime.jsx(material.Box, { sx: { mb: 1, display: "flex", alignItems: "center", justifyContent: "center" }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
13796
|
-
"img",
|
|
13797
|
-
{
|
|
13798
|
-
width: 40,
|
|
13799
|
-
height: 40,
|
|
13800
|
-
style: { margin: "0 auto", display: "block", objectFit: "contain" },
|
|
13801
|
-
src: item.icon,
|
|
13802
|
-
alt: item.name
|
|
13803
|
-
}
|
|
13804
|
-
) }),
|
|
13805
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13806
|
-
material.Typography,
|
|
13807
|
-
{
|
|
13808
|
-
className: "sixseconds-header-menu-text",
|
|
13809
|
-
sx: {
|
|
13810
|
-
fontSize: { xs: "12px", md: "13px" },
|
|
13811
|
-
color: "#1a1c1e",
|
|
13812
|
-
fontWeight: 500,
|
|
13813
|
-
lineHeight: 1.2,
|
|
13814
|
-
minWidth: "110px",
|
|
13815
|
-
wordBreak: "break-all"
|
|
13816
|
-
},
|
|
13817
|
-
children: t2(item.name)
|
|
13818
|
-
}
|
|
13819
|
-
)
|
|
13820
|
-
]
|
|
13772
|
+
sx: {
|
|
13773
|
+
p: 2,
|
|
13774
|
+
background: "#fff",
|
|
13775
|
+
zIndex: 1100,
|
|
13776
|
+
maxHeight: "450px",
|
|
13777
|
+
overflowY: "auto",
|
|
13778
|
+
overflowX: "hidden",
|
|
13779
|
+
"&::-webkit-scrollbar": {
|
|
13780
|
+
width: "6px"
|
|
13781
|
+
},
|
|
13782
|
+
"&::-webkit-scrollbar-track": {
|
|
13783
|
+
background: "#f1f1f1",
|
|
13784
|
+
borderRadius: "10px"
|
|
13785
|
+
},
|
|
13786
|
+
"&::-webkit-scrollbar-thumb": {
|
|
13787
|
+
background: "#ccc",
|
|
13788
|
+
borderRadius: "10px",
|
|
13789
|
+
"&:hover": {
|
|
13790
|
+
background: "#bbb"
|
|
13791
|
+
}
|
|
13821
13792
|
}
|
|
13822
|
-
|
|
13823
|
-
|
|
13824
|
-
|
|
13825
|
-
|
|
13793
|
+
},
|
|
13794
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(material.Grid, { container: true, spacing: 2, children: menuItems?.length > 0 && menuItems?.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
13795
|
+
material.Grid,
|
|
13796
|
+
{
|
|
13797
|
+
onClick: () => handleRedirection2(appName, item.link, item.type),
|
|
13798
|
+
item: true,
|
|
13799
|
+
md: 4,
|
|
13800
|
+
sm: 4,
|
|
13801
|
+
xs: 4,
|
|
13802
|
+
sx: { cursor: "pointer", textDecoration: "none" },
|
|
13803
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
13804
|
+
material.Box,
|
|
13805
|
+
{
|
|
13806
|
+
className: "sixseconds-header-dashboard-boxes",
|
|
13807
|
+
component: material.IconButton,
|
|
13808
|
+
sx: {
|
|
13809
|
+
display: "flex",
|
|
13810
|
+
flexDirection: "column",
|
|
13811
|
+
justifyContent: "flex-start",
|
|
13812
|
+
alignItems: "center",
|
|
13813
|
+
textAlign: "center",
|
|
13814
|
+
height: "100%",
|
|
13815
|
+
borderRadius: "12px",
|
|
13816
|
+
transition: "all 0.2s",
|
|
13817
|
+
width: "100%"
|
|
13818
|
+
},
|
|
13819
|
+
children: [
|
|
13820
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Box, { sx: { mb: 1, display: "flex", alignItems: "center", justifyContent: "center" }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
13821
|
+
"img",
|
|
13822
|
+
{
|
|
13823
|
+
width: 40,
|
|
13824
|
+
height: 40,
|
|
13825
|
+
style: { margin: "0 auto", display: "block", objectFit: "contain" },
|
|
13826
|
+
src: item.icon,
|
|
13827
|
+
alt: item.name
|
|
13828
|
+
}
|
|
13829
|
+
) }),
|
|
13830
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13831
|
+
material.Typography,
|
|
13832
|
+
{
|
|
13833
|
+
className: "sixseconds-header-menu-text",
|
|
13834
|
+
sx: {
|
|
13835
|
+
fontSize: { xs: "12px", md: "13px" },
|
|
13836
|
+
color: "#1a1c1e",
|
|
13837
|
+
fontWeight: 500,
|
|
13838
|
+
lineHeight: 1.2,
|
|
13839
|
+
minWidth: "110px",
|
|
13840
|
+
wordBreak: "break-all"
|
|
13841
|
+
},
|
|
13842
|
+
children: t2(item.name)
|
|
13843
|
+
}
|
|
13844
|
+
)
|
|
13845
|
+
]
|
|
13846
|
+
}
|
|
13847
|
+
)
|
|
13848
|
+
},
|
|
13849
|
+
index
|
|
13850
|
+
)) })
|
|
13851
|
+
}
|
|
13852
|
+
) });
|
|
13826
13853
|
};
|
|
13827
13854
|
const DropdownMenu = ({ headerMenuArray, initialState }) => {
|
|
13828
13855
|
const pathname = typeof window !== "undefined" ? window.location.pathname : "";
|
|
@@ -15383,6 +15410,78 @@ const App = () => {
|
|
|
15383
15410
|
link: "https://cards.6seconds.org",
|
|
15384
15411
|
type: "app"
|
|
15385
15412
|
},
|
|
15413
|
+
{
|
|
15414
|
+
name: "Cards ",
|
|
15415
|
+
icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
|
|
15416
|
+
link: "https://cards.6seconds.org",
|
|
15417
|
+
type: "app"
|
|
15418
|
+
},
|
|
15419
|
+
{
|
|
15420
|
+
name: "Cards Home",
|
|
15421
|
+
icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
|
|
15422
|
+
link: "https://cards.6seconds.org",
|
|
15423
|
+
type: "app"
|
|
15424
|
+
},
|
|
15425
|
+
{
|
|
15426
|
+
name: "Cards ",
|
|
15427
|
+
icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
|
|
15428
|
+
link: "https://cards.6seconds.org",
|
|
15429
|
+
type: "app"
|
|
15430
|
+
},
|
|
15431
|
+
{
|
|
15432
|
+
name: "Cards Home",
|
|
15433
|
+
icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
|
|
15434
|
+
link: "https://cards.6seconds.org",
|
|
15435
|
+
type: "app"
|
|
15436
|
+
},
|
|
15437
|
+
{
|
|
15438
|
+
name: "Cards ",
|
|
15439
|
+
icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
|
|
15440
|
+
link: "https://cards.6seconds.org",
|
|
15441
|
+
type: "app"
|
|
15442
|
+
},
|
|
15443
|
+
{
|
|
15444
|
+
name: "Cards Home",
|
|
15445
|
+
icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
|
|
15446
|
+
link: "https://cards.6seconds.org",
|
|
15447
|
+
type: "app"
|
|
15448
|
+
},
|
|
15449
|
+
{
|
|
15450
|
+
name: "Cards ",
|
|
15451
|
+
icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
|
|
15452
|
+
link: "https://cards.6seconds.org",
|
|
15453
|
+
type: "app"
|
|
15454
|
+
},
|
|
15455
|
+
{
|
|
15456
|
+
name: "Cards Home",
|
|
15457
|
+
icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
|
|
15458
|
+
link: "https://cards.6seconds.org",
|
|
15459
|
+
type: "app"
|
|
15460
|
+
},
|
|
15461
|
+
{
|
|
15462
|
+
name: "Cards ",
|
|
15463
|
+
icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
|
|
15464
|
+
link: "https://cards.6seconds.org",
|
|
15465
|
+
type: "app"
|
|
15466
|
+
},
|
|
15467
|
+
{
|
|
15468
|
+
name: "Cards Home",
|
|
15469
|
+
icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
|
|
15470
|
+
link: "https://cards.6seconds.org",
|
|
15471
|
+
type: "app"
|
|
15472
|
+
},
|
|
15473
|
+
{
|
|
15474
|
+
name: "Cards ",
|
|
15475
|
+
icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
|
|
15476
|
+
link: "https://cards.6seconds.org",
|
|
15477
|
+
type: "app"
|
|
15478
|
+
},
|
|
15479
|
+
{
|
|
15480
|
+
name: "Cards Home",
|
|
15481
|
+
icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
|
|
15482
|
+
link: "https://cards.6seconds.org",
|
|
15483
|
+
type: "app"
|
|
15484
|
+
},
|
|
15386
15485
|
{
|
|
15387
15486
|
name: "Cards Home",
|
|
15388
15487
|
icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
|