@3sc/common-component 0.0.217 → 0.0.218

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 CHANGED
@@ -42152,16 +42152,16 @@ function kC({ tableProps: e, isDefaultConfig: t, gridPath: n, baseUrl: o }) {
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
42154
  return s.map((p) => {
42155
- console.log({ visibleCol: p });
42156
- const f = d.get(p == null ? void 0 : p.key);
42157
- return console.log({ mergedCol: f, mergedMap: d }), f ? {
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 }