@3sc/common-component 0.0.498 → 0.0.499
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 +3 -3
- 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
|
@@ -45854,15 +45854,15 @@ uC.propTypes = {
|
|
|
45854
45854
|
gridPath: s.gridPath
|
|
45855
45855
|
};
|
|
45856
45856
|
function dC({ tableProps: e, toolbarProps: t, isDefaultConfig: n, isLoading: r, t: o }) {
|
|
45857
|
-
var a, l
|
|
45857
|
+
var a, l;
|
|
45858
45858
|
const i = (a = e.columns) == null ? void 0 : a.isManageable;
|
|
45859
|
-
return /* @__PURE__ */ g.jsx(Ew, { children: r
|
|
45859
|
+
return /* @__PURE__ */ g.jsx(Ew, { children: r ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
45860
45860
|
t && /* @__PURE__ */ g.jsx(tb, { type: "toolbar" }),
|
|
45861
45861
|
e && /* @__PURE__ */ g.jsx(tb, { type: "grid" })
|
|
45862
45862
|
] }) : /* @__PURE__ */ g.jsxs(Se, { sx: {
|
|
45863
45863
|
position: "sticky"
|
|
45864
45864
|
}, children: [
|
|
45865
|
-
t && /* @__PURE__ */ g.jsx(uC, { ...t, isManageable: i, pageSize: (
|
|
45865
|
+
t && /* @__PURE__ */ g.jsx(uC, { ...t, isManageable: i, pageSize: (l = e == null ? void 0 : e.pagination) == null ? void 0 : l.rowPerPage, gridData: e == null ? void 0 : e.data, t: o }),
|
|
45866
45866
|
/* @__PURE__ */ g.jsx(
|
|
45867
45867
|
lC,
|
|
45868
45868
|
{
|