@3sc/common-component 0.0.491 → 0.0.493
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 +5 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +57 -57
- package/dist/index.umd.js.map +1 -1
- package/package.json +8 -6
package/dist/index.es.js
CHANGED
|
@@ -44012,6 +44012,7 @@ const tC = {
|
|
|
44012
44012
|
TENANT_IDS: sd == null ? void 0 : sd.tenant_id,
|
|
44013
44013
|
SNOP_IDS: rd == null ? void 0 : rd.snop_id
|
|
44014
44014
|
}, { TENANT_ID: uz, BU_ID: dz } = eC, { TENANT_IDS: fz, BU_IDS: pz } = tC, nu = async ({ baseUrl: e, payload: t }) => {
|
|
44015
|
+
console.log({ api: e, payload: t });
|
|
44015
44016
|
try {
|
|
44016
44017
|
const n = `${e}${tu.SETTING}/v1?${uz}=${fz}&${dz}=${pz}`;
|
|
44017
44018
|
return await kt.post(n, t, Fa);
|
|
@@ -44068,7 +44069,7 @@ const tC = {
|
|
|
44068
44069
|
pageSize: N
|
|
44069
44070
|
} : (D[j] = { ...D[j] || {} }, D = D[j]);
|
|
44070
44071
|
}
|
|
44071
|
-
localStorage.setItem(Nr.SETTINGS, JSON.stringify(I)), await nu({ baseUrl: n, payload: I });
|
|
44072
|
+
localStorage.setItem(Nr.SETTINGS, JSON.stringify(I)), console.log({ "table-helper": n, payload: I, gridPath: t }), await nu({ baseUrl: n, payload: I });
|
|
44072
44073
|
} catch (M) {
|
|
44073
44074
|
console.error(M);
|
|
44074
44075
|
}
|
|
@@ -44620,7 +44621,7 @@ const Tz = we.memo(
|
|
|
44620
44621
|
pageSize: O
|
|
44621
44622
|
} : (v[E] = { ...v[E] || {} }, v = v[E]);
|
|
44622
44623
|
}
|
|
44623
|
-
localStorage.setItem(Nr.SETTINGS, JSON.stringify(x)), await nu({ baseUrl: n, payload: x });
|
|
44624
|
+
localStorage.setItem(Nr.SETTINGS, JSON.stringify(x)), console.log({ hide: n, payload: x, gridPath: r }), await nu({ baseUrl: n, payload: x });
|
|
44624
44625
|
};
|
|
44625
44626
|
return { selectedColumn: a, handleMenuClick: c, handleClose: u, handleHideClick: d, columnUpdaterFunction: f };
|
|
44626
44627
|
}, Ez = (e) => {
|
|
@@ -44690,7 +44691,7 @@ const Tz = we.memo(
|
|
|
44690
44691
|
}, Pz = async ({ baseUrl: e, gridSetting: t, childUniqueKey: n, gridPath: r }) => {
|
|
44691
44692
|
try {
|
|
44692
44693
|
const o = JSON.parse(localStorage.getItem("settings")), { settingObject: i, defaultUserSettings: a } = Rz({ presentSetting: o, gridSetting: t, gridPath: r, childUniqueKey: n });
|
|
44693
|
-
return localStorage.setItem("settings", JSON.stringify(i)), await nu({ baseUrl: e, payload: i }), a;
|
|
44694
|
+
return localStorage.setItem("settings", JSON.stringify(i)), console.log({ "update-setting": e, payload: i, gridPath: r }), await nu({ baseUrl: e, payload: i }), a;
|
|
44694
44695
|
} catch (o) {
|
|
44695
44696
|
console.error(o);
|
|
44696
44697
|
}
|
|
@@ -44733,7 +44734,7 @@ const Tz = we.memo(
|
|
|
44733
44734
|
pageSize: f
|
|
44734
44735
|
} : (w[x] = { ...w[x] || {} }, w = w[x]);
|
|
44735
44736
|
}
|
|
44736
|
-
localStorage.setItem(m, JSON.stringify(b)), await nu({ baseUrl: n, payload: b });
|
|
44737
|
+
localStorage.setItem(m, JSON.stringify(b)), console.log({ pagination: n, payload, gridPath: p }), await nu({ baseUrl: n, payload: b });
|
|
44737
44738
|
};
|
|
44738
44739
|
return /* @__PURE__ */ g.jsxs(
|
|
44739
44740
|
Se,
|