@harbor-design/proform 1.4.6 → 1.4.7
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.js +11 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -372,8 +372,12 @@ class o {
|
|
|
372
372
|
for (const t in e) {
|
|
373
373
|
if (t === "componentProps")
|
|
374
374
|
return !1;
|
|
375
|
-
if (e.hasOwnProperty(t)
|
|
376
|
-
|
|
375
|
+
if (e.hasOwnProperty(t)) {
|
|
376
|
+
if (e[t] instanceof Date)
|
|
377
|
+
return !1;
|
|
378
|
+
if (this.isProcessInprogress(e[t]))
|
|
379
|
+
return !0;
|
|
380
|
+
}
|
|
377
381
|
}
|
|
378
382
|
} else if (this.isArray(e)) {
|
|
379
383
|
if (this.isArrayEmpty(e))
|
|
@@ -391,11 +395,14 @@ function b(r, ...e) {
|
|
|
391
395
|
return e.forEach((t) => {
|
|
392
396
|
if (Array.isArray(t))
|
|
393
397
|
Array.isArray(r) || (r = []), t.forEach((i, s) => {
|
|
394
|
-
typeof i == "object" && i !== null ? r[s] = b(Array.isArray(i) ? [] : {}, i) : r[s] = i;
|
|
398
|
+
typeof i == "object" && i !== null && !(i instanceof Date) ? r[s] = b(Array.isArray(i) ? [] : {}, i) : r[s] = i;
|
|
395
399
|
});
|
|
396
400
|
else
|
|
397
401
|
for (const i in t)
|
|
398
|
-
t.hasOwnProperty(i) && (typeof t[i] == "object" && t[i] !== null
|
|
402
|
+
t.hasOwnProperty(i) && (typeof t[i] == "object" && t[i] !== null && !(t[i] instanceof Date) ? r[i] = b(
|
|
403
|
+
r[i] || (Array.isArray(t[i]) ? [] : {}),
|
|
404
|
+
t[i]
|
|
405
|
+
) : r[i] = t[i]);
|
|
399
406
|
}), r;
|
|
400
407
|
}
|
|
401
408
|
function I(r) {
|