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