@3sc/common-component 0.0.217 → 0.0.219
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 +6 -6
- 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
|
@@ -42151,17 +42151,17 @@ function kC({ tableProps: e, isDefaultConfig: t, gridPath: n, baseUrl: o }) {
|
|
|
42151
42151
|
});
|
|
42152
42152
|
}, [r, n, o, t, (u = e == null ? void 0 : e.pagination) == null ? void 0 : u.rowPerPage]), c = Qt(() => {
|
|
42153
42153
|
const d = new Map(l.map((p) => [p.key, p]));
|
|
42154
|
-
return s.map((p) => {
|
|
42155
|
-
|
|
42156
|
-
const f = d.get(p == null ? void 0 : p.key);
|
|
42157
|
-
return
|
|
42154
|
+
return console.log({ mergedMap: d, mergedColumns: l, visibleGridColumns: s }), s.map((p) => {
|
|
42155
|
+
if (!p) return null;
|
|
42156
|
+
const f = d == null ? void 0 : d.get(p == null ? void 0 : p.key);
|
|
42157
|
+
return f ? {
|
|
42158
42158
|
...f,
|
|
42159
42159
|
isHidden: p.isHidden,
|
|
42160
42160
|
sequenceId: p.sequenceId
|
|
42161
42161
|
} : null;
|
|
42162
|
-
});
|
|
42162
|
+
}).filter(Boolean);
|
|
42163
42163
|
}, [l]);
|
|
42164
|
-
return It(() => {
|
|
42164
|
+
return console.log({ finalColumns: c }), It(() => {
|
|
42165
42165
|
a({
|
|
42166
42166
|
type: Ze.SET_GRID_DATA,
|
|
42167
42167
|
payload: { visibleGridColumns: s.length ? c : l }
|