@kashifd/jwero-components 0.7.41 → 0.7.42
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 +48 -40
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -58585,6 +58585,7 @@ const hz = ({ name: e, data: t, labels: r }) => {
|
|
|
58585
58585
|
return /* @__PURE__ */ v.jsxs(
|
|
58586
58586
|
Ve,
|
|
58587
58587
|
{
|
|
58588
|
+
className: "no-scrollbar",
|
|
58588
58589
|
sx: {
|
|
58589
58590
|
backgroundColor: w.colors.white,
|
|
58590
58591
|
minWidth: "200px",
|
|
@@ -58607,48 +58608,55 @@ const hz = ({ name: e, data: t, labels: r }) => {
|
|
|
58607
58608
|
children: /* @__PURE__ */ v.jsx(vt, { variant: "xxxlSemibold", ...r, children: e })
|
|
58608
58609
|
}
|
|
58609
58610
|
),
|
|
58610
|
-
/* @__PURE__ */ v.jsx(
|
|
58611
|
-
|
|
58611
|
+
/* @__PURE__ */ v.jsx(
|
|
58612
|
+
Ve,
|
|
58612
58613
|
{
|
|
58613
|
-
|
|
58614
|
-
|
|
58615
|
-
|
|
58614
|
+
className: "no-scrollbar",
|
|
58615
|
+
sx: { gap: "1rem", height: "100%", overflowY: "auto", ...c },
|
|
58616
|
+
children: Gr.isArrayWithValues(s) && s.map((S, O) => /* @__PURE__ */ v.jsx(
|
|
58617
|
+
Mr,
|
|
58616
58618
|
{
|
|
58617
|
-
|
|
58618
|
-
|
|
58619
|
-
|
|
58620
|
-
|
|
58621
|
-
|
|
58622
|
-
|
|
58623
|
-
|
|
58624
|
-
|
|
58625
|
-
|
|
58626
|
-
|
|
58627
|
-
|
|
58628
|
-
|
|
58629
|
-
|
|
58630
|
-
|
|
58631
|
-
|
|
58632
|
-
|
|
58633
|
-
|
|
58634
|
-
|
|
58635
|
-
|
|
58636
|
-
|
|
58637
|
-
|
|
58638
|
-
|
|
58639
|
-
|
|
58640
|
-
|
|
58641
|
-
|
|
58642
|
-
|
|
58643
|
-
|
|
58644
|
-
|
|
58645
|
-
|
|
58646
|
-
|
|
58647
|
-
|
|
58648
|
-
|
|
58649
|
-
|
|
58650
|
-
|
|
58651
|
-
|
|
58619
|
+
title: S.access ? "" : `You don't have permission to edit ${S.label.toLowerCase() || ""}`,
|
|
58620
|
+
children: /* @__PURE__ */ v.jsxs(
|
|
58621
|
+
Ve,
|
|
58622
|
+
{
|
|
58623
|
+
onClick: () => {
|
|
58624
|
+
b && b(S.value, S.access, S == null ? void 0 : S.navigate);
|
|
58625
|
+
},
|
|
58626
|
+
direction: "row",
|
|
58627
|
+
alignItems: "center",
|
|
58628
|
+
justifyContent: "space-between",
|
|
58629
|
+
sx: {
|
|
58630
|
+
borderRadius: "0.5rem",
|
|
58631
|
+
padding: "0.75rem",
|
|
58632
|
+
backgroundColor: S.value === t ? w.colors.light_blue : w.palette.background.paper,
|
|
58633
|
+
color: S.value === t ? w.colors.secondary : w.colors.text_secondary,
|
|
58634
|
+
cursor: S.access ? "pointer" : "not-allowed",
|
|
58635
|
+
"&:hover": {
|
|
58636
|
+
backgroundColor: S.value === t ? w.colors.light_blue : w.colors.light_grey
|
|
58637
|
+
},
|
|
58638
|
+
...m
|
|
58639
|
+
},
|
|
58640
|
+
children: [
|
|
58641
|
+
/* @__PURE__ */ v.jsx(vt, { variant: "xlMedium", ...a, children: S.label }),
|
|
58642
|
+
(S == null ? void 0 : S.count) && /* @__PURE__ */ v.jsx(
|
|
58643
|
+
af,
|
|
58644
|
+
{
|
|
58645
|
+
type: "single",
|
|
58646
|
+
count: S == null ? void 0 : S.count,
|
|
58647
|
+
sx: {
|
|
58648
|
+
backgroundColor: w.colors.secondary
|
|
58649
|
+
}
|
|
58650
|
+
}
|
|
58651
|
+
)
|
|
58652
|
+
]
|
|
58653
|
+
}
|
|
58654
|
+
)
|
|
58655
|
+
},
|
|
58656
|
+
`${S.value}_${O}`
|
|
58657
|
+
))
|
|
58658
|
+
}
|
|
58659
|
+
)
|
|
58652
58660
|
]
|
|
58653
58661
|
}
|
|
58654
58662
|
);
|