@3sc/common-component 0.0.555 → 0.0.557
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-Dl-ja_fK.js → index-QgT4vAFB.js} +74 -38
- package/dist/{index-Dl-ja_fK.js.map → index-QgT4vAFB.js.map} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/{nl-DJPK968Q.js → nl-BAYt973j.js} +2 -2
- package/dist/{nl-DJPK968Q.js.map → nl-BAYt973j.js.map} +1 -1
- package/dist/{tr-EoJNyUnv.js → tr-BQNxaRiT.js} +2 -2
- package/dist/{tr-EoJNyUnv.js.map → tr-BQNxaRiT.js.map} +1 -1
- package/package.json +1 -1
|
@@ -33091,9 +33091,9 @@ const LI = ({ color: e }) => /* @__PURE__ */ y.jsx("svg", { width: "7", height:
|
|
|
33091
33091
|
async function GI(e) {
|
|
33092
33092
|
switch (e.split("-")[0]) {
|
|
33093
33093
|
case "tr":
|
|
33094
|
-
return (await import("./tr-
|
|
33094
|
+
return (await import("./tr-BQNxaRiT.js")).tr;
|
|
33095
33095
|
case "nl":
|
|
33096
|
-
return (await import("./nl-
|
|
33096
|
+
return (await import("./nl-BAYt973j.js")).nl;
|
|
33097
33097
|
default:
|
|
33098
33098
|
return (await Promise.resolve().then(() => N6)).enUS;
|
|
33099
33099
|
}
|
|
@@ -37040,11 +37040,12 @@ Rr.propTypes = {
|
|
|
37040
37040
|
children: s.node
|
|
37041
37041
|
};
|
|
37042
37042
|
const M2 = ne.memo(
|
|
37043
|
-
({ row: e, isSelected: t, isHigh: n, onRowClick: r, children: o }) => /* @__PURE__ */ y.jsx(
|
|
37043
|
+
({ row: e, isSelected: t, isHigh: n, onRowClick: r, children: o, sxProps: i }) => /* @__PURE__ */ y.jsx(
|
|
37044
37044
|
Rr,
|
|
37045
37045
|
{
|
|
37046
|
-
sx: (
|
|
37047
|
-
backgroundColor: t || n ?
|
|
37046
|
+
sx: (a) => ({
|
|
37047
|
+
backgroundColor: t || n ? a.palette.primary.appBackground : a.palette.primary.notifyBackground,
|
|
37048
|
+
...i
|
|
37048
37049
|
}),
|
|
37049
37050
|
onClick: () => r?.(e),
|
|
37050
37051
|
children: o
|
|
@@ -38553,39 +38554,73 @@ const RN = ne.memo(function({
|
|
|
38553
38554
|
t?.map((k, R) => {
|
|
38554
38555
|
const P = b + R, D = c && c?.fhi === k?.fhi, N = k?.isHigh, T = d?.[k[p]];
|
|
38555
38556
|
return /* @__PURE__ */ y.jsxs(ne.Fragment, { children: [
|
|
38556
|
-
/* @__PURE__ */ y.jsxs(
|
|
38557
|
-
|
|
38558
|
-
|
|
38559
|
-
|
|
38560
|
-
|
|
38561
|
-
|
|
38562
|
-
|
|
38563
|
-
|
|
38564
|
-
|
|
38565
|
-
|
|
38566
|
-
isSelected: D,
|
|
38567
|
-
isHigh: N
|
|
38568
|
-
}
|
|
38569
|
-
),
|
|
38570
|
-
o && C(A, k, `sticky-${j}-${P}`)
|
|
38571
|
-
] }, `sticky-${A.sequenceId ?? j}`)),
|
|
38572
|
-
/* @__PURE__ */ y.jsx("td", { style: { minWidth: h, width: h, padding: 0, border: "none" } }),
|
|
38573
|
-
r.map((A, j) => /* @__PURE__ */ y.jsxs(ne.Fragment, { children: [
|
|
38574
|
-
/* @__PURE__ */ y.jsx(
|
|
38575
|
-
P0,
|
|
38576
|
-
{
|
|
38577
|
-
column: A,
|
|
38578
|
-
row: k,
|
|
38579
|
-
cellKey: j,
|
|
38580
|
-
parent: A._parent,
|
|
38581
|
-
stickyLeft: m(A),
|
|
38582
|
-
isSelected: D,
|
|
38583
|
-
isHigh: N
|
|
38557
|
+
/* @__PURE__ */ y.jsxs(
|
|
38558
|
+
M2,
|
|
38559
|
+
{
|
|
38560
|
+
row: k,
|
|
38561
|
+
isSelected: D,
|
|
38562
|
+
isHigh: N,
|
|
38563
|
+
sxProps: {
|
|
38564
|
+
height: "3.5rem",
|
|
38565
|
+
"& td, & th": {
|
|
38566
|
+
height: "3.5rem"
|
|
38584
38567
|
}
|
|
38585
|
-
|
|
38586
|
-
|
|
38587
|
-
|
|
38588
|
-
|
|
38568
|
+
},
|
|
38569
|
+
children: [
|
|
38570
|
+
n.map((A, j) => /* @__PURE__ */ y.jsxs(ne.Fragment, { children: [
|
|
38571
|
+
/* @__PURE__ */ y.jsx(
|
|
38572
|
+
P0,
|
|
38573
|
+
{
|
|
38574
|
+
column: A,
|
|
38575
|
+
row: k,
|
|
38576
|
+
cellKey: j,
|
|
38577
|
+
parent: A._parent,
|
|
38578
|
+
stickyLeft: m(A),
|
|
38579
|
+
isSelected: D,
|
|
38580
|
+
isHigh: N
|
|
38581
|
+
}
|
|
38582
|
+
),
|
|
38583
|
+
o && C(
|
|
38584
|
+
A,
|
|
38585
|
+
k,
|
|
38586
|
+
`sticky-${j}-${P}`
|
|
38587
|
+
)
|
|
38588
|
+
] }, `sticky-${A.sequenceId ?? j}`)),
|
|
38589
|
+
/* @__PURE__ */ y.jsx(
|
|
38590
|
+
"td",
|
|
38591
|
+
{
|
|
38592
|
+
style: {
|
|
38593
|
+
minWidth: h,
|
|
38594
|
+
width: h,
|
|
38595
|
+
padding: 0,
|
|
38596
|
+
border: "none"
|
|
38597
|
+
}
|
|
38598
|
+
}
|
|
38599
|
+
),
|
|
38600
|
+
r.map((A, j) => /* @__PURE__ */ y.jsxs(
|
|
38601
|
+
ne.Fragment,
|
|
38602
|
+
{
|
|
38603
|
+
children: [
|
|
38604
|
+
/* @__PURE__ */ y.jsx(
|
|
38605
|
+
P0,
|
|
38606
|
+
{
|
|
38607
|
+
column: A,
|
|
38608
|
+
row: k,
|
|
38609
|
+
cellKey: j,
|
|
38610
|
+
parent: A._parent,
|
|
38611
|
+
stickyLeft: m(A),
|
|
38612
|
+
isSelected: D,
|
|
38613
|
+
isHigh: N
|
|
38614
|
+
}
|
|
38615
|
+
),
|
|
38616
|
+
o && C(A, k, `${j}-${P}`)
|
|
38617
|
+
]
|
|
38618
|
+
},
|
|
38619
|
+
`col-${A?._parent?.key ?? A.key}-${j}`
|
|
38620
|
+
))
|
|
38621
|
+
]
|
|
38622
|
+
}
|
|
38623
|
+
),
|
|
38589
38624
|
u && T && /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
38590
38625
|
/* @__PURE__ */ y.jsx(
|
|
38591
38626
|
ON,
|
|
@@ -38859,6 +38894,7 @@ function DN({
|
|
|
38859
38894
|
onDrop: _,
|
|
38860
38895
|
onDragEnd: M,
|
|
38861
38896
|
isResizingRef: k,
|
|
38897
|
+
visibleGridColumns: p,
|
|
38862
38898
|
columnUpdaterFunction: E
|
|
38863
38899
|
}
|
|
38864
38900
|
),
|
|
@@ -40892,4 +40928,4 @@ export {
|
|
|
40892
40928
|
QN as t,
|
|
40893
40929
|
S$ as u
|
|
40894
40930
|
};
|
|
40895
|
-
//# sourceMappingURL=index-
|
|
40931
|
+
//# sourceMappingURL=index-QgT4vAFB.js.map
|