ingeniuscliq-core 0.2.40 → 0.2.41
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 +57 -63
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1711,26 +1711,26 @@ function Ud(e) {
|
|
|
1711
1711
|
return Ud(jn(e, o));
|
|
1712
1712
|
}, n;
|
|
1713
1713
|
}
|
|
1714
|
-
const
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1714
|
+
const Ge = Ud(ho);
|
|
1715
|
+
Ge.Axios = Hn;
|
|
1716
|
+
Ge.CanceledError = Er;
|
|
1717
|
+
Ge.CancelToken = cy;
|
|
1718
|
+
Ge.isCancel = Id;
|
|
1719
|
+
Ge.VERSION = Vd;
|
|
1720
|
+
Ge.toFormData = $a;
|
|
1721
|
+
Ge.AxiosError = Se;
|
|
1722
|
+
Ge.Cancel = Ge.CanceledError;
|
|
1723
|
+
Ge.all = function(t) {
|
|
1724
1724
|
return Promise.all(t);
|
|
1725
1725
|
};
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1726
|
+
Ge.spread = ly;
|
|
1727
|
+
Ge.isAxiosError = uy;
|
|
1728
|
+
Ge.mergeConfig = jn;
|
|
1729
|
+
Ge.AxiosHeaders = Nt;
|
|
1730
|
+
Ge.formToJSON = (e) => Pd(P.isHTMLForm(e) ? new FormData(e) : e);
|
|
1731
|
+
Ge.getAdapter = Wd.getAdapter;
|
|
1732
|
+
Ge.HttpStatusCode = ci;
|
|
1733
|
+
Ge.default = Ge;
|
|
1734
1734
|
const {
|
|
1735
1735
|
Axios: _5,
|
|
1736
1736
|
AxiosError: A5,
|
|
@@ -1748,8 +1748,8 @@ const {
|
|
|
1748
1748
|
formToJSON: L5,
|
|
1749
1749
|
getAdapter: B5,
|
|
1750
1750
|
mergeConfig: z5
|
|
1751
|
-
} =
|
|
1752
|
-
let gr =
|
|
1751
|
+
} = Ge;
|
|
1752
|
+
let gr = Ge.create({
|
|
1753
1753
|
withCredentials: !0,
|
|
1754
1754
|
headers: {
|
|
1755
1755
|
Accept: "application/json",
|
|
@@ -1776,13 +1776,7 @@ const W5 = (e) => {
|
|
|
1776
1776
|
}, dy = async (e) => {
|
|
1777
1777
|
if (!Rl)
|
|
1778
1778
|
try {
|
|
1779
|
-
|
|
1780
|
-
`${e}/sanctum/csrf-cookie`,
|
|
1781
|
-
{
|
|
1782
|
-
method: "GET",
|
|
1783
|
-
credentials: "include"
|
|
1784
|
-
}
|
|
1785
|
-
), Rl = !0;
|
|
1779
|
+
Ge.get(`${e}/sanctum/csrf-cookie`), Rl = !0;
|
|
1786
1780
|
} catch (t) {
|
|
1787
1781
|
return console.error("Failed to fetch CSRF token:", t), !1;
|
|
1788
1782
|
}
|
|
@@ -4390,16 +4384,16 @@ function G5({ className: e = "", subtitle: t, title: n, renderActions: r, itemCo
|
|
|
4390
4384
|
}
|
|
4391
4385
|
var xo = (e) => e.type === "checkbox", Vn = (e) => e instanceof Date, yt = (e) => e == null;
|
|
4392
4386
|
const df = (e) => typeof e == "object";
|
|
4393
|
-
var
|
|
4387
|
+
var Xe = (e) => !yt(e) && !Array.isArray(e) && df(e) && !Vn(e), ff = (e) => Xe(e) && e.target ? xo(e.target) ? e.target.checked : e.target.value : e, j2 = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, mf = (e, t) => e.has(j2(t)), Y2 = (e) => {
|
|
4394
4388
|
const t = e.constructor && e.constructor.prototype;
|
|
4395
|
-
return
|
|
4389
|
+
return Xe(t) && t.hasOwnProperty("isPrototypeOf");
|
|
4396
4390
|
}, nc = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
4397
4391
|
function ot(e) {
|
|
4398
4392
|
let t;
|
|
4399
4393
|
const n = Array.isArray(e), r = typeof FileList < "u" ? e instanceof FileList : !1;
|
|
4400
4394
|
if (e instanceof Date)
|
|
4401
4395
|
t = new Date(e);
|
|
4402
|
-
else if (!(nc && (e instanceof Blob || r)) && (n ||
|
|
4396
|
+
else if (!(nc && (e instanceof Blob || r)) && (n || Xe(e)))
|
|
4403
4397
|
if (t = n ? [] : Object.create(Object.getPrototypeOf(e)), !n && !Y2(e))
|
|
4404
4398
|
t = e;
|
|
4405
4399
|
else
|
|
@@ -4409,11 +4403,11 @@ function ot(e) {
|
|
|
4409
4403
|
return e;
|
|
4410
4404
|
return t;
|
|
4411
4405
|
}
|
|
4412
|
-
var qa = (e) => /^\w*$/.test(e),
|
|
4413
|
-
if (!t || !
|
|
4406
|
+
var qa = (e) => /^\w*$/.test(e), Ke = (e) => e === void 0, rc = (e) => Array.isArray(e) ? e.filter(Boolean) : [], oc = (e) => rc(e.replace(/["|']|\]/g, "").split(/\.|\[/)), te = (e, t, n) => {
|
|
4407
|
+
if (!t || !Xe(e))
|
|
4414
4408
|
return n;
|
|
4415
4409
|
const r = (qa(t) ? [t] : oc(t)).reduce((o, a) => yt(o) ? o : o[a], e);
|
|
4416
|
-
return
|
|
4410
|
+
return Ke(r) || r === e ? Ke(e[t]) ? n : e[t] : r;
|
|
4417
4411
|
}, Dt = (e) => typeof e == "boolean", Me = (e, t, n) => {
|
|
4418
4412
|
let r = -1;
|
|
4419
4413
|
const o = qa(t) ? [t] : oc(t), a = o.length, s = a - 1;
|
|
@@ -4422,7 +4416,7 @@ var qa = (e) => /^\w*$/.test(e), Ge = (e) => e === void 0, rc = (e) => Array.isA
|
|
|
4422
4416
|
let c = n;
|
|
4423
4417
|
if (r !== s) {
|
|
4424
4418
|
const u = e[i];
|
|
4425
|
-
c =
|
|
4419
|
+
c = Xe(u) || Array.isArray(u) ? u : isNaN(+o[r + 1]) ? {} : [];
|
|
4426
4420
|
}
|
|
4427
4421
|
if (i === "__proto__" || i === "constructor" || i === "prototype")
|
|
4428
4422
|
return;
|
|
@@ -4510,7 +4504,7 @@ function mn(e, t, n = /* @__PURE__ */ new WeakSet()) {
|
|
|
4510
4504
|
return !1;
|
|
4511
4505
|
if (a !== "ref") {
|
|
4512
4506
|
const i = t[a];
|
|
4513
|
-
if (Vn(s) && Vn(i) ||
|
|
4507
|
+
if (Vn(s) && Vn(i) || Xe(s) && Xe(i) || Array.isArray(s) && Array.isArray(i) ? !mn(s, i, n) : s !== i)
|
|
4514
4508
|
return !1;
|
|
4515
4509
|
}
|
|
4516
4510
|
}
|
|
@@ -4615,7 +4609,7 @@ function K2(e) {
|
|
|
4615
4609
|
};
|
|
4616
4610
|
if (x(n, !0), w) {
|
|
4617
4611
|
const S = ot(te(o._options.defaultValues, n));
|
|
4618
|
-
Me(o._defaultValues, n, S),
|
|
4612
|
+
Me(o._defaultValues, n, S), Ke(te(o._formValues, n)) && Me(o._formValues, n, S);
|
|
4619
4613
|
}
|
|
4620
4614
|
return !i && o.register(n), () => {
|
|
4621
4615
|
(i ? w && !o._state.action : w) ? o.unregister(n) : x(n, !1);
|
|
@@ -4657,7 +4651,7 @@ var ic = (e, t, n, r, o) => t ? {
|
|
|
4657
4651
|
e = [];
|
|
4658
4652
|
}
|
|
4659
4653
|
};
|
|
4660
|
-
}, St = (e) =>
|
|
4654
|
+
}, St = (e) => Xe(e) && !Object.keys(e).length, cc = (e) => e.type === "file", qt = (e) => typeof e == "function", pa = (e) => {
|
|
4661
4655
|
if (!nc)
|
|
4662
4656
|
return !1;
|
|
4663
4657
|
const t = e ? e.ownerDocument : 0;
|
|
@@ -4667,18 +4661,18 @@ function J2(e, t) {
|
|
|
4667
4661
|
const n = t.slice(0, -1).length;
|
|
4668
4662
|
let r = 0;
|
|
4669
4663
|
for (; r < n; )
|
|
4670
|
-
e =
|
|
4664
|
+
e = Ke(e) ? r++ : e[t[r++]];
|
|
4671
4665
|
return e;
|
|
4672
4666
|
}
|
|
4673
4667
|
function e1(e) {
|
|
4674
4668
|
for (const t in e)
|
|
4675
|
-
if (e.hasOwnProperty(t) && !
|
|
4669
|
+
if (e.hasOwnProperty(t) && !Ke(e[t]))
|
|
4676
4670
|
return !1;
|
|
4677
4671
|
return !0;
|
|
4678
4672
|
}
|
|
4679
4673
|
function Je(e, t) {
|
|
4680
4674
|
const n = Array.isArray(t) ? t : qa(t) ? [t] : oc(t), r = n.length === 1 ? e : J2(e, n), o = n.length - 1, a = n[o];
|
|
4681
|
-
return r && delete r[a], o !== 0 && (
|
|
4675
|
+
return r && delete r[a], o !== 0 && (Xe(r) && St(r) || Array.isArray(r) && e1(r)) && Je(e, n.slice(0, -1)), e;
|
|
4682
4676
|
}
|
|
4683
4677
|
var bf = (e) => {
|
|
4684
4678
|
for (const t in e)
|
|
@@ -4688,16 +4682,16 @@ var bf = (e) => {
|
|
|
4688
4682
|
};
|
|
4689
4683
|
function ha(e, t = {}) {
|
|
4690
4684
|
const n = Array.isArray(e);
|
|
4691
|
-
if (
|
|
4685
|
+
if (Xe(e) || n)
|
|
4692
4686
|
for (const r in e)
|
|
4693
|
-
Array.isArray(e[r]) ||
|
|
4687
|
+
Array.isArray(e[r]) || Xe(e[r]) && !bf(e[r]) ? (t[r] = Array.isArray(e[r]) ? [] : {}, ha(e[r], t[r])) : yt(e[r]) || (t[r] = !0);
|
|
4694
4688
|
return t;
|
|
4695
4689
|
}
|
|
4696
4690
|
function yf(e, t, n) {
|
|
4697
4691
|
const r = Array.isArray(e);
|
|
4698
|
-
if (
|
|
4692
|
+
if (Xe(e) || r)
|
|
4699
4693
|
for (const o in e)
|
|
4700
|
-
Array.isArray(e[o]) ||
|
|
4694
|
+
Array.isArray(e[o]) || Xe(e[o]) && !bf(e[o]) ? Ke(t) || fi(n[o]) ? n[o] = Array.isArray(e[o]) ? ha(e[o], []) : { ...ha(e[o]) } : yf(e[o], yt(t) ? {} : t[o], n[o]) : n[o] = !mn(e[o], t[o]);
|
|
4701
4695
|
return n;
|
|
4702
4696
|
}
|
|
4703
4697
|
var Fr = (e, t) => yf(e, t, ha(t));
|
|
@@ -4713,11 +4707,11 @@ var wf = (e) => {
|
|
|
4713
4707
|
}
|
|
4714
4708
|
return e[0].checked && !e[0].disabled ? (
|
|
4715
4709
|
// @ts-expect-error expected to work in the browser
|
|
4716
|
-
e[0].attributes && !
|
|
4710
|
+
e[0].attributes && !Ke(e[0].attributes.value) ? Ke(e[0].value) || e[0].value === "" ? Ul : { value: e[0].value, isValid: !0 } : Ul
|
|
4717
4711
|
) : ql;
|
|
4718
4712
|
}
|
|
4719
4713
|
return ql;
|
|
4720
|
-
}, xf = (e, { valueAsNumber: t, valueAsDate: n, setValueAs: r }) =>
|
|
4714
|
+
}, xf = (e, { valueAsNumber: t, valueAsDate: n, setValueAs: r }) => Ke(e) ? e : t ? e === "" ? NaN : e && +e : n && nn(e) ? new Date(e) : r ? r(e) : e;
|
|
4721
4715
|
const Hl = {
|
|
4722
4716
|
isValid: !1,
|
|
4723
4717
|
value: null
|
|
@@ -4728,7 +4722,7 @@ var Cf = (e) => Array.isArray(e) ? e.reduce((t, n) => n && n.checked && !n.disab
|
|
|
4728
4722
|
} : t, Hl) : Hl;
|
|
4729
4723
|
function jl(e) {
|
|
4730
4724
|
const t = e.ref;
|
|
4731
|
-
return cc(t) ? t.files : lc(t) ? Cf(e.refs).value : vf(t) ? [...t.selectedOptions].map(({ value: n }) => n) : xo(t) ? wf(e.refs).value : xf(
|
|
4725
|
+
return cc(t) ? t.files : lc(t) ? Cf(e.refs).value : vf(t) ? [...t.selectedOptions].map(({ value: n }) => n) : xo(t) ? wf(e.refs).value : xf(Ke(t.value) ? e.ref.value : t.value, e);
|
|
4732
4726
|
}
|
|
4733
4727
|
var t1 = (e, t, n, r) => {
|
|
4734
4728
|
const o = {};
|
|
@@ -4742,7 +4736,7 @@ var t1 = (e, t, n, r) => {
|
|
|
4742
4736
|
fields: o,
|
|
4743
4737
|
shouldUseNativeValidation: r
|
|
4744
4738
|
};
|
|
4745
|
-
}, ga = (e) => e instanceof RegExp, Lr = (e) =>
|
|
4739
|
+
}, ga = (e) => e instanceof RegExp, Lr = (e) => Ke(e) ? e : ga(e) ? e.source : Xe(e) ? ga(e.value) ? e.value.source : e.value : e, Yl = (e) => ({
|
|
4746
4740
|
isOnSubmit: !e || e === Vt.onSubmit,
|
|
4747
4741
|
isOnBlur: e === Vt.onBlur,
|
|
4748
4742
|
isOnChange: e === Vt.onChange,
|
|
@@ -4750,7 +4744,7 @@ var t1 = (e, t, n, r) => {
|
|
|
4750
4744
|
isOnTouch: e === Vt.onTouched
|
|
4751
4745
|
});
|
|
4752
4746
|
const Zl = "AsyncFunction";
|
|
4753
|
-
var n1 = (e) => !!e && !!e.validate && !!(qt(e.validate) && e.validate.constructor.name === Zl ||
|
|
4747
|
+
var n1 = (e) => !!e && !!e.validate && !!(qt(e.validate) && e.validate.constructor.name === Zl || Xe(e.validate) && Object.values(e.validate).find((t) => t.constructor.name === Zl)), r1 = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate), Gl = (e, t, n) => !n && (t.watchAll || t.watch.has(e) || [...t.watch].some((r) => e.startsWith(r) && /^\.\w+/.test(e.slice(r.length))));
|
|
4754
4748
|
const Kr = (e, t, n, r) => {
|
|
4755
4749
|
for (const o of n || Object.keys(e)) {
|
|
4756
4750
|
const a = te(e, o);
|
|
@@ -4763,7 +4757,7 @@ const Kr = (e, t, n, r) => {
|
|
|
4763
4757
|
return !0;
|
|
4764
4758
|
if (Kr(i, t))
|
|
4765
4759
|
break;
|
|
4766
|
-
} else if (
|
|
4760
|
+
} else if (Xe(i) && Kr(i, t))
|
|
4767
4761
|
break;
|
|
4768
4762
|
}
|
|
4769
4763
|
}
|
|
@@ -4812,7 +4806,7 @@ function Xl(e, t, n = "validate") {
|
|
|
4812
4806
|
ref: t
|
|
4813
4807
|
};
|
|
4814
4808
|
}
|
|
4815
|
-
var ir = (e) =>
|
|
4809
|
+
var ir = (e) => Xe(e) && !ga(e) ? e : {
|
|
4816
4810
|
value: e,
|
|
4817
4811
|
message: ""
|
|
4818
4812
|
}, Ql = async (e, t, n, r, o, a) => {
|
|
@@ -4821,7 +4815,7 @@ var ir = (e) => Ke(e) && !ga(e) ? e : {
|
|
|
4821
4815
|
return {};
|
|
4822
4816
|
const x = i ? i[0] : s, S = (L) => {
|
|
4823
4817
|
o && x.reportValidity && (x.setCustomValidity(Dt(L) ? "" : L || ""), x.reportValidity());
|
|
4824
|
-
}, C = {}, N = lc(s), _ = xo(s), R = N || _, k = (y || cc(s)) &&
|
|
4818
|
+
}, C = {}, N = lc(s), _ = xo(s), R = N || _, k = (y || cc(s)) && Ke(s.value) && Ke(w) || pa(s) && s.value === "" || w === "" || Array.isArray(w) && !w.length, F = ic.bind(null, p, r, C), $ = (L, M, H, K = fn.maxLength, B = fn.minLength) => {
|
|
4825
4819
|
const j = L ? M : H;
|
|
4826
4820
|
C[p] = {
|
|
4827
4821
|
type: L ? K : B,
|
|
@@ -4876,7 +4870,7 @@ var ir = (e) => Ke(e) && !ga(e) ? e : {
|
|
|
4876
4870
|
...F(fn.validate, M.message)
|
|
4877
4871
|
}, !r))
|
|
4878
4872
|
return S(M.message), C;
|
|
4879
|
-
} else if (
|
|
4873
|
+
} else if (Xe(v)) {
|
|
4880
4874
|
let L = {};
|
|
4881
4875
|
for (const M in v) {
|
|
4882
4876
|
if (!St(L) && !r)
|
|
@@ -4920,7 +4914,7 @@ function u1(e = {}) {
|
|
|
4920
4914
|
validatingFields: {},
|
|
4921
4915
|
errors: t.errors || {},
|
|
4922
4916
|
disabled: t.disabled || !1
|
|
4923
|
-
}, r = {}, o =
|
|
4917
|
+
}, r = {}, o = Xe(t.defaultValues) || Xe(t.values) ? ot(t.defaultValues || t.values) || {} : {}, a = t.shouldUnregister ? {} : ot(o), s = {
|
|
4924
4918
|
action: !1,
|
|
4925
4919
|
mount: !1,
|
|
4926
4920
|
watch: !1
|
|
@@ -4997,8 +4991,8 @@ function u1(e = {}) {
|
|
|
4997
4991
|
}, S = (A, T, O, G) => {
|
|
4998
4992
|
const X = te(r, A);
|
|
4999
4993
|
if (X) {
|
|
5000
|
-
const Z = te(a, A,
|
|
5001
|
-
|
|
4994
|
+
const Z = te(a, A, Ke(O) ? te(o, A) : O);
|
|
4995
|
+
Ke(Z) || G && G.defaultChecked || T ? Me(a, A, T ? Z : jl(X._f)) : H(A, Z), s.mount && p();
|
|
5002
4996
|
}
|
|
5003
4997
|
}, C = (A, T, O, G, X) => {
|
|
5004
4998
|
let Z = !1, se = !1;
|
|
@@ -5072,7 +5066,7 @@ function u1(e = {}) {
|
|
|
5072
5066
|
}
|
|
5073
5067
|
i.unMount = /* @__PURE__ */ new Set();
|
|
5074
5068
|
}, $ = (A, T) => !t.disabled && (A && T && Me(a, A, T), !mn(oe(), o)), L = (A, T, O) => gf(A, i, {
|
|
5075
|
-
...s.mount ? a :
|
|
5069
|
+
...s.mount ? a : Ke(T) ? o : nn(A) ? { [A]: T } : T
|
|
5076
5070
|
}, O, T), M = (A) => rc(te(s.mount ? a : o, A, t.shouldUnregister ? te(o, A, []) : [])), H = (A, T, O = {}) => {
|
|
5077
5071
|
const G = te(r, A);
|
|
5078
5072
|
let X = T;
|
|
@@ -5091,7 +5085,7 @@ function u1(e = {}) {
|
|
|
5091
5085
|
if (!T.hasOwnProperty(G))
|
|
5092
5086
|
return;
|
|
5093
5087
|
const X = T[G], Z = A + "." + G, se = te(r, Z);
|
|
5094
|
-
(i.array.has(A) ||
|
|
5088
|
+
(i.array.has(A) || Xe(X) || se && !se._f) && !Vn(X) ? K(Z, X, O) : H(Z, X, O);
|
|
5095
5089
|
}
|
|
5096
5090
|
}, B = (A, T, O = {}) => {
|
|
5097
5091
|
const G = te(r, A), X = i.array.has(A), Z = ot(T);
|
|
@@ -5141,7 +5135,7 @@ function u1(e = {}) {
|
|
|
5141
5135
|
let O, G;
|
|
5142
5136
|
const X = Gr(A);
|
|
5143
5137
|
if (t.resolver) {
|
|
5144
|
-
const Z = await R(
|
|
5138
|
+
const Z = await R(Ke(A) ? A : X);
|
|
5145
5139
|
O = St(Z), G = A ? !X.some((se) => te(Z, se)) : O;
|
|
5146
5140
|
} else A ? (G = (await Promise.all(X.map(async (Z) => {
|
|
5147
5141
|
const se = te(r, Z);
|
|
@@ -5156,7 +5150,7 @@ function u1(e = {}) {
|
|
|
5156
5150
|
const T = {
|
|
5157
5151
|
...s.mount ? a : o
|
|
5158
5152
|
};
|
|
5159
|
-
return
|
|
5153
|
+
return Ke(A) ? T : nn(A) ? te(T, A) : A.map((O) => te(T, O));
|
|
5160
5154
|
}, be = (A, T) => ({
|
|
5161
5155
|
invalid: !!te((T || n).errors, A),
|
|
5162
5156
|
isDirty: !!te((T || n).dirtyFields, A),
|
|
@@ -5236,7 +5230,7 @@ function u1(e = {}) {
|
|
|
5236
5230
|
ref: (X) => {
|
|
5237
5231
|
if (X) {
|
|
5238
5232
|
me(A, T), O = te(r, A);
|
|
5239
|
-
const Z =
|
|
5233
|
+
const Z = Ke(X.value) && X.querySelectorAll && X.querySelectorAll("input,select,textarea")[0] || X, se = Q2(Z), Ae = O._f.refs || [];
|
|
5240
5234
|
if (se ? Ae.find((Ne) => Ne === Z) : Z === O._f.ref)
|
|
5241
5235
|
return;
|
|
5242
5236
|
Me(r, A, {
|
|
@@ -5297,7 +5291,7 @@ function u1(e = {}) {
|
|
|
5297
5291
|
}), G)
|
|
5298
5292
|
throw G;
|
|
5299
5293
|
}, ve = (A, T = {}) => {
|
|
5300
|
-
te(r, A) && (
|
|
5294
|
+
te(r, A) && (Ke(T.defaultValue) ? B(A, ot(te(o, A))) : (B(A, T.defaultValue), Me(o, A, ot(T.defaultValue))), T.keepTouched || Je(n.touchedFields, A), T.keepDirty || (Je(n.dirtyFields, A), n.isDirty = T.defaultValue ? $(A, ot(te(o, A))) : $()), T.keepError || (Je(n.errors, A), f.isValid && p()), m.state.next({ ...n }));
|
|
5301
5295
|
}, J = (A, T = {}) => {
|
|
5302
5296
|
const O = A ? ot(A) : o, G = ot(O), X = St(A), Z = X ? o : G;
|
|
5303
5297
|
if (T.keepDefaultValues || (o = O), !T.keepValues) {
|
|
@@ -5309,7 +5303,7 @@ function u1(e = {}) {
|
|
|
5309
5303
|
for (const Ae of Array.from(se))
|
|
5310
5304
|
te(n.dirtyFields, Ae) ? Me(Z, Ae, te(a, Ae)) : B(Ae, te(Z, Ae));
|
|
5311
5305
|
} else {
|
|
5312
|
-
if (nc &&
|
|
5306
|
+
if (nc && Ke(A))
|
|
5313
5307
|
for (const se of i.mount) {
|
|
5314
5308
|
const Ae = te(r, se);
|
|
5315
5309
|
if (Ae && Ae._f) {
|