@3sc/common-component 0.0.407 → 0.0.408
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 +75 -74
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -43753,78 +43753,78 @@ nh.propTypes = {
|
|
|
43753
43753
|
minWidth: "number",
|
|
43754
43754
|
className: "string"
|
|
43755
43755
|
};
|
|
43756
|
-
|
|
43757
|
-
|
|
43758
|
-
|
|
43759
|
-
|
|
43760
|
-
|
|
43761
|
-
{
|
|
43762
|
-
|
|
43763
|
-
|
|
43764
|
-
|
|
43765
|
-
|
|
43766
|
-
|
|
43767
|
-
|
|
43768
|
-
|
|
43769
|
-
|
|
43770
|
-
|
|
43771
|
-
|
|
43772
|
-
|
|
43773
|
-
|
|
43774
|
-
|
|
43775
|
-
|
|
43776
|
-
|
|
43777
|
-
|
|
43778
|
-
|
|
43779
|
-
|
|
43780
|
-
|
|
43781
|
-
|
|
43782
|
-
|
|
43783
|
-
|
|
43784
|
-
|
|
43785
|
-
}
|
|
43786
|
-
}
|
|
43787
|
-
},
|
|
43788
|
-
children: /* @__PURE__ */ g.jsx(
|
|
43789
|
-
Se,
|
|
43790
|
-
{
|
|
43791
|
-
sx: {
|
|
43792
|
-
maxWidth: "auto",
|
|
43793
|
-
whiteSpace: "normal"
|
|
43794
|
-
},
|
|
43795
|
-
children: /* @__PURE__ */ g.jsx(
|
|
43796
|
-
it,
|
|
43797
|
-
{
|
|
43798
|
-
sx: {
|
|
43799
|
-
fontSize: "1.1rem",
|
|
43800
|
-
overflow: "hidden",
|
|
43801
|
-
whiteSpace: "nowrap",
|
|
43802
|
-
textOverflow: "ellipsis"
|
|
43803
|
-
},
|
|
43804
|
-
children: i
|
|
43805
|
-
}
|
|
43806
|
-
)
|
|
43756
|
+
function rh({ isRenderCellContent: e, column: t, row: n, parent: r }) {
|
|
43757
|
+
const o = n[t.key], i = (o == null ? void 0 : o.length) > 20;
|
|
43758
|
+
return /* @__PURE__ */ g.jsx(g.Fragment, { children: e ? /* @__PURE__ */ g.jsx(
|
|
43759
|
+
Se,
|
|
43760
|
+
{
|
|
43761
|
+
sx: {
|
|
43762
|
+
display: "flex",
|
|
43763
|
+
alignItems: "center",
|
|
43764
|
+
justifyContent: "center",
|
|
43765
|
+
width: "100%",
|
|
43766
|
+
overflow: "hidden",
|
|
43767
|
+
whiteSpace: "nowrap",
|
|
43768
|
+
textOverflow: "ellipsis",
|
|
43769
|
+
textTransform: "none",
|
|
43770
|
+
fontSize: "1.1rem"
|
|
43771
|
+
},
|
|
43772
|
+
children: t == null ? void 0 : t.cellRenderer(n, { column: t, parent: r })
|
|
43773
|
+
}
|
|
43774
|
+
) : /* @__PURE__ */ g.jsx(g.Fragment, { children: i ? /* @__PURE__ */ g.jsx(
|
|
43775
|
+
qf,
|
|
43776
|
+
{
|
|
43777
|
+
title: o,
|
|
43778
|
+
placement: "top",
|
|
43779
|
+
componentsProps: {
|
|
43780
|
+
tooltip: {
|
|
43781
|
+
sx: {
|
|
43782
|
+
fontSize: "1rem",
|
|
43783
|
+
padding: "0.5rem 1rem",
|
|
43784
|
+
boxShadow: "0 2px 8px rgba(0,0,0,0.3)"
|
|
43807
43785
|
}
|
|
43808
|
-
|
|
43809
|
-
}
|
|
43810
|
-
|
|
43811
|
-
|
|
43812
|
-
|
|
43813
|
-
|
|
43814
|
-
|
|
43815
|
-
|
|
43816
|
-
|
|
43817
|
-
|
|
43818
|
-
|
|
43819
|
-
|
|
43820
|
-
|
|
43821
|
-
|
|
43822
|
-
|
|
43823
|
-
|
|
43824
|
-
|
|
43825
|
-
|
|
43826
|
-
|
|
43827
|
-
|
|
43786
|
+
}
|
|
43787
|
+
},
|
|
43788
|
+
children: /* @__PURE__ */ g.jsx(
|
|
43789
|
+
Se,
|
|
43790
|
+
{
|
|
43791
|
+
sx: {
|
|
43792
|
+
maxWidth: "auto",
|
|
43793
|
+
whiteSpace: "normal"
|
|
43794
|
+
},
|
|
43795
|
+
children: /* @__PURE__ */ g.jsx(
|
|
43796
|
+
it,
|
|
43797
|
+
{
|
|
43798
|
+
sx: {
|
|
43799
|
+
fontSize: "1.1rem",
|
|
43800
|
+
overflow: "hidden",
|
|
43801
|
+
whiteSpace: "nowrap",
|
|
43802
|
+
textOverflow: "ellipsis",
|
|
43803
|
+
textTransform: "none"
|
|
43804
|
+
},
|
|
43805
|
+
children: o
|
|
43806
|
+
}
|
|
43807
|
+
)
|
|
43808
|
+
}
|
|
43809
|
+
)
|
|
43810
|
+
}
|
|
43811
|
+
) : /* @__PURE__ */ g.jsx(
|
|
43812
|
+
Se,
|
|
43813
|
+
{
|
|
43814
|
+
sx: {
|
|
43815
|
+
overflow: "hidden",
|
|
43816
|
+
whiteSpace: "nowrap",
|
|
43817
|
+
textOverflow: "ellipsis",
|
|
43818
|
+
textTransform: "none",
|
|
43819
|
+
fontSize: "1.1rem",
|
|
43820
|
+
m: 0
|
|
43821
|
+
},
|
|
43822
|
+
id: t.key,
|
|
43823
|
+
component: "p",
|
|
43824
|
+
children: o
|
|
43825
|
+
}
|
|
43826
|
+
) }) });
|
|
43827
|
+
}
|
|
43828
43828
|
rh.propTypes = {
|
|
43829
43829
|
isRenderCellContent: s.bool,
|
|
43830
43830
|
column: s.object,
|
|
@@ -43992,9 +43992,10 @@ const WW = q(Xv)(({ theme: e }) => ({
|
|
|
43992
43992
|
padding: "0rem",
|
|
43993
43993
|
textAlign: "center"
|
|
43994
43994
|
}
|
|
43995
|
-
}))
|
|
43996
|
-
|
|
43997
|
-
});
|
|
43995
|
+
}));
|
|
43996
|
+
function na({ children: e, ...t }) {
|
|
43997
|
+
return /* @__PURE__ */ g.jsx(zW, { ...t, children: e });
|
|
43998
|
+
}
|
|
43998
43999
|
na.propTypes = {
|
|
43999
44000
|
children: s.node
|
|
44000
44001
|
// Expecting column width as a string like "150px"
|