@3sc/common-component 0.0.492 → 0.0.494
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 -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 +1 -1
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);
|
|
@@ -44057,6 +44058,7 @@ const tC = {
|
|
|
44057
44058
|
}
|
|
44058
44059
|
(async () => {
|
|
44059
44060
|
try {
|
|
44061
|
+
console.log(c, u, d, a, E);
|
|
44060
44062
|
const I = { ...y || {
|
|
44061
44063
|
platform: { theme: "light" }
|
|
44062
44064
|
} }, N = (m == null ? void 0 : m.pageSize) ?? o;
|
|
@@ -44068,7 +44070,7 @@ const tC = {
|
|
|
44068
44070
|
pageSize: N
|
|
44069
44071
|
} : (D[j] = { ...D[j] || {} }, D = D[j]);
|
|
44070
44072
|
}
|
|
44071
|
-
localStorage.setItem(Nr.SETTINGS, JSON.stringify(I)), await nu({ baseUrl: n, payload: I });
|
|
44073
|
+
localStorage.setItem(Nr.SETTINGS, JSON.stringify(I)), console.log({ "table-helper": n, payload: I, gridPath: t }), await nu({ baseUrl: n, payload: I });
|
|
44072
44074
|
} catch (M) {
|
|
44073
44075
|
console.error(M);
|
|
44074
44076
|
}
|
|
@@ -44620,7 +44622,7 @@ const Tz = we.memo(
|
|
|
44620
44622
|
pageSize: O
|
|
44621
44623
|
} : (v[E] = { ...v[E] || {} }, v = v[E]);
|
|
44622
44624
|
}
|
|
44623
|
-
localStorage.setItem(Nr.SETTINGS, JSON.stringify(x)), await nu({ baseUrl: n, payload: x });
|
|
44625
|
+
localStorage.setItem(Nr.SETTINGS, JSON.stringify(x)), console.log({ hide: n, payload: x, gridPath: r }), await nu({ baseUrl: n, payload: x });
|
|
44624
44626
|
};
|
|
44625
44627
|
return { selectedColumn: a, handleMenuClick: c, handleClose: u, handleHideClick: d, columnUpdaterFunction: f };
|
|
44626
44628
|
}, Ez = (e) => {
|
|
@@ -44690,7 +44692,7 @@ const Tz = we.memo(
|
|
|
44690
44692
|
}, Pz = async ({ baseUrl: e, gridSetting: t, childUniqueKey: n, gridPath: r }) => {
|
|
44691
44693
|
try {
|
|
44692
44694
|
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;
|
|
44695
|
+
return localStorage.setItem("settings", JSON.stringify(i)), console.log({ "update-setting": e, payload: i, gridPath: r }), await nu({ baseUrl: e, payload: i }), a;
|
|
44694
44696
|
} catch (o) {
|
|
44695
44697
|
console.error(o);
|
|
44696
44698
|
}
|
|
@@ -44733,7 +44735,7 @@ const Tz = we.memo(
|
|
|
44733
44735
|
pageSize: f
|
|
44734
44736
|
} : (w[x] = { ...w[x] || {} }, w = w[x]);
|
|
44735
44737
|
}
|
|
44736
|
-
localStorage.setItem(m, JSON.stringify(b)), await nu({ baseUrl: n, payload: b });
|
|
44738
|
+
localStorage.setItem(m, JSON.stringify(b)), console.log({ pagination: n, payload, gridPath: p }), await nu({ baseUrl: n, payload: b });
|
|
44737
44739
|
};
|
|
44738
44740
|
return /* @__PURE__ */ g.jsxs(
|
|
44739
44741
|
Se,
|