@vergelijkdirect/comparison-forms 1.0.65 → 1.0.66
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.
|
@@ -23442,43 +23442,41 @@ const mW = Yt({
|
|
|
23442
23442
|
familyComposition: ""
|
|
23443
23443
|
});
|
|
23444
23444
|
Ir(() => {
|
|
23445
|
-
const { LoanPurpose:
|
|
23445
|
+
const { LoanPurpose: f, LoanAmount: u } = t.insuranceState, { birthdate: h, familyComposition: _ } = Pe;
|
|
23446
23446
|
return vW.isEqual(n, {
|
|
23447
|
-
loanPurpose:
|
|
23448
|
-
loanAmount:
|
|
23449
|
-
birthdate:
|
|
23450
|
-
familyComposition:
|
|
23447
|
+
loanPurpose: f,
|
|
23448
|
+
loanAmount: u,
|
|
23449
|
+
birthdate: h,
|
|
23450
|
+
familyComposition: _
|
|
23451
23451
|
});
|
|
23452
23452
|
});
|
|
23453
23453
|
const i = () => {
|
|
23454
|
-
|
|
23455
|
-
|
|
23456
|
-
|
|
23457
|
-
|
|
23458
|
-
|
|
23459
|
-
|
|
23460
|
-
...u.getUser().getDetail(null),
|
|
23461
|
-
...l
|
|
23454
|
+
const { birthdate: f, familyComposition: u } = n;
|
|
23455
|
+
t.comparison.getUser().setBirthDate(f), t.comparison.getUser().setFamilyComposition(u), Pe.birthdate = f, Pe.familyComposition = u;
|
|
23456
|
+
}, s = Ir(() => pW.render(t.comparison.getUser().getDetail())), l = () => {
|
|
23457
|
+
console.warn(s), t.comparison.getUser().setDetail(null, {
|
|
23458
|
+
...t.comparison.getUser().getDetail(null),
|
|
23459
|
+
...s.value
|
|
23462
23460
|
});
|
|
23463
|
-
},
|
|
23461
|
+
}, d = () => {
|
|
23464
23462
|
console.warn(t.insuranceState), n.loanAmount = t.insuranceState.LoanAmount, n.loanPurpose = t.insuranceState.LoanPurpose, n.birthdate = t.userInformation.birthdate, n.familyComposition = t.userInformation.familyComposition;
|
|
23465
|
-
},
|
|
23463
|
+
}, p = async () => {
|
|
23466
23464
|
r.value = !0, console.warn("submit");
|
|
23467
23465
|
try {
|
|
23468
|
-
const
|
|
23469
|
-
if (console.warn(
|
|
23470
|
-
console.warn(t.comparison), console.warn("updateLoanData()"), await
|
|
23471
|
-
const
|
|
23472
|
-
console.warn(
|
|
23466
|
+
const f = await Id(["birthdate", "familyComposition", "loanAmount", "loanPurpose"]);
|
|
23467
|
+
if (console.warn(f), f) {
|
|
23468
|
+
console.warn(t.comparison), console.warn("updateLoanData()"), await l(t.comparison), console.warn("updateUserInformation()"), await i(), console.warn("update!"), console.warn(t.comparison);
|
|
23469
|
+
const u = await Kr.comparisonService.update(t.comparison);
|
|
23470
|
+
console.warn(u), e("submit-form", { userInformation: Pe, formData: n });
|
|
23473
23471
|
}
|
|
23474
|
-
} catch (
|
|
23475
|
-
console.error(
|
|
23472
|
+
} catch (f) {
|
|
23473
|
+
console.error(f);
|
|
23476
23474
|
}
|
|
23477
23475
|
r.value = !1;
|
|
23478
23476
|
};
|
|
23479
23477
|
return ya(() => {
|
|
23480
|
-
|
|
23481
|
-
}), { inSubmissions: r, formData: n, submit:
|
|
23478
|
+
d();
|
|
23479
|
+
}), { inSubmissions: r, formData: n, submit: p };
|
|
23482
23480
|
}
|
|
23483
23481
|
});
|
|
23484
23482
|
var N1 = function() {
|