@3sc/common-component 0.0.341 → 0.0.342
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 +2 -1
- 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
|
@@ -43501,6 +43501,7 @@ const Bu = $c(Mr.SNOP), Lu = $c(Mr.SELECTED_BU), Vu = $c(Mr.USER), SW = $c(Mr.SE
|
|
|
43501
43501
|
}
|
|
43502
43502
|
a = (d == null ? void 0 : d.columns) ?? a ?? wy({ definitions: i });
|
|
43503
43503
|
const f = a.reduce((x, w) => (x[w.key] = w, x), {}), p = l.reduce((x, w) => (x[w.key] = w, x), {}), h = [];
|
|
43504
|
+
console.log({ defaultUserSettings: a, definitions: i, hashMapUserSettings: f, hashMapLabels: p });
|
|
43504
43505
|
for (const x of i) {
|
|
43505
43506
|
const w = f[x.key] || {}, C = p[x.key] || {};
|
|
43506
43507
|
let O = {
|
|
@@ -43508,7 +43509,7 @@ const Bu = $c(Mr.SNOP), Lu = $c(Mr.SELECTED_BU), Vu = $c(Mr.USER), SW = $c(Mr.SE
|
|
|
43508
43509
|
...w,
|
|
43509
43510
|
...C
|
|
43510
43511
|
};
|
|
43511
|
-
if ((b = x.children) != null && b.length) {
|
|
43512
|
+
if (console.log({ item: x, userSetting: w, label: C, obj: O }), (b = x.children) != null && b.length) {
|
|
43512
43513
|
const v = (w.children || []).reduce((E, M) => (M != null && M.key && (E[M.key] = M), E), {}), k = (C.children || []).reduce((E, M) => (M != null && M.key && (E[M.key] = M), E), {});
|
|
43513
43514
|
O.children = x.children.map((E) => ({
|
|
43514
43515
|
...E,
|