@techlabi/kycrazy-ui-kit 0.60.0-beta.2 → 0.60.0-beta.4

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
@@ -24426,7 +24426,7 @@ function G1(r) {
24426
24426
  return new Date(Date.UTC(r.getFullYear(), r.getMonth(), r.getDate()));
24427
24427
  }
24428
24428
  function JT(r) {
24429
- return new Date(Date.UTC(r.getUTCFullYear(), r.getUTCMonth(), r.getUTCDate())).toISOString();
24429
+ return new Date(Date.UTC(r.getFullYear(), r.getMonth(), r.getDate())).toISOString();
24430
24430
  }
24431
24431
  function zT(r, e) {
24432
24432
  var a = Array.prototype.slice.call(e);
@@ -34016,17 +34016,16 @@ const TM = {
34016
34016
  r && /* @__PURE__ */ u(p0, { className: "text-md mt-8", onClick: r, children: "Explore App" })
34017
34017
  ] }) }) }), dm = 20, hm = 3, OM = 6e4, MM = (r, e, a) => {
34018
34018
  const t = new FormData();
34019
- return t.append("section", r), t.append(
34020
- "data",
34021
- JSON.stringify(e, (n, i) => i instanceof Date ? JT(i) : i)
34022
- ), Object.entries(a).forEach(([n, i]) => {
34023
- if (i) {
34024
- if (i instanceof File) {
34025
- t.append(n, i);
34019
+ t.append("section", r);
34020
+ const n = (i) => Object.fromEntries(Object.entries(i).map(([o, A]) => [o, A instanceof Date ? JT(A) : A]));
34021
+ return t.append("data", JSON.stringify(n(e))), Object.entries(a).forEach(([i, o]) => {
34022
+ if (o) {
34023
+ if (o instanceof File) {
34024
+ t.append(i, o);
34026
34025
  return;
34027
34026
  }
34028
- Array.isArray(i) && i.forEach((o) => {
34029
- o instanceof File && t.append(n, o);
34027
+ Array.isArray(o) && o.forEach((A) => {
34028
+ A instanceof File && t.append(i, A);
34030
34029
  });
34031
34030
  }
34032
34031
  }), t;