@3sc/common-component 0.0.314 → 0.0.316
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 -2
- 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
|
@@ -43468,7 +43468,7 @@ const Hc = {
|
|
|
43468
43468
|
}
|
|
43469
43469
|
})());
|
|
43470
43470
|
}
|
|
43471
|
-
a = (d == null ? void 0 : d.columns) ??
|
|
43471
|
+
a = a ?? (d == null ? void 0 : d.columns) ?? Cy({ definitions: i });
|
|
43472
43472
|
const f = a.reduce((x, w) => (x[w.key] = w, x), {}), p = l.reduce((x, w) => (x[w.key] = w, x), {}), h = [];
|
|
43473
43473
|
for (const x of i) {
|
|
43474
43474
|
const w = f[x.key] || {}, C = p[x.key] || {};
|
|
@@ -44627,7 +44627,8 @@ function kw({ tableProps: e, isDefaultConfig: t, gridPath: n, baseUrl: r }) {
|
|
|
44627
44627
|
return console.log({ mergedColumns: l, visibleGridColumns: i, columns: o, finalColumns: c }), xt(() => {
|
|
44628
44628
|
a({
|
|
44629
44629
|
type: qe.SET_GRID_DATA,
|
|
44630
|
-
payload: { visibleGridColumns:
|
|
44630
|
+
// payload: { visibleGridColumns: !visibleGridColumns.length ? mergedColumns : finalColumns },
|
|
44631
|
+
payload: { visibleGridColumns: l }
|
|
44631
44632
|
});
|
|
44632
44633
|
}, [l]), /* @__PURE__ */ y.jsx(
|
|
44633
44634
|
Ow,
|