@vergelijkdirect/comparison-forms 2.0.0 → 2.0.2-VER-9177.0
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/README.md +46 -6
- package/dist/client/.vite/ssr-manifest.json +600 -0
- package/dist/client/assets/index-6Enzr9rU.css +4 -0
- package/dist/client/assets/index-6Enzr9rU.css.br +0 -0
- package/dist/client/assets/index-DUchBxEo.js +57 -0
- package/dist/client/assets/index-DUchBxEo.js.br +0 -0
- package/dist/client/index.html +15 -0
- package/dist/server/entry-server.js +9981 -0
- package/dist/server/entry-server.js.br +0 -0
- package/dist/vue/comparison-forms.d.ts +17 -3
- package/dist/vue/comparison-forms.js +397 -510
- package/dist/wc/comparison-forms.js +385 -577
- package/dist/wc-forms/bike.cjs +1 -1
- package/dist/wc-forms/{birthdate.schema-C-y732mA.cjs → birthdate.schema-rpmbSDZH.cjs} +1 -1
- package/dist/wc-forms/business-car.cjs +1 -1
- package/dist/wc-forms/business-liability.cjs +1 -1
- package/dist/wc-forms/car.cjs +1 -1
- package/dist/wc-forms/caravan.cjs +1 -1
- package/dist/wc-forms/company.schema-BLoMUJDa.cjs +1 -0
- package/dist/wc-forms/{familyComposition.schema-gvSnx-ea.cjs → familyComposition.schema-DW6scNvt.cjs} +1 -1
- package/dist/wc-forms/house.cjs +1 -1
- package/dist/wc-forms/{houseOwnedBuilding.model-G9AqKTZo.cjs → houseOwnedBuilding.model-BMgRS2fn.cjs} +1 -1
- package/dist/wc-forms/itc-nSCTLC1V.cjs +1 -0
- package/dist/wc-forms/legal.cjs +1 -1
- package/dist/wc-forms/liability.cjs +1 -1
- package/dist/wc-forms/loan.cjs +1 -1
- package/dist/wc-forms/{messages-CX8jVyEo.cjs → messages-stJTqN-x.cjs} +1 -1
- package/dist/wc-forms/moped.cjs +1 -1
- package/dist/wc-forms/motor.cjs +1 -1
- package/dist/wc-forms/package.cjs +1 -1
- package/dist/wc-forms/pet.cjs +1 -1
- package/dist/wc-forms/travel.cjs +1 -1
- package/dist/wc-forms/useAddress-DJ4aWwYs.cjs +1 -0
- package/dist/wc-forms/useLicensePlate-98nreTI8.cjs +1 -0
- package/dist/wc-noitc/comparison-forms.umd.cjs +2 -2
- package/package.json +4 -3
- package/dist/wc-forms/company.schema-Dhzxphqu.cjs +0 -1
- package/dist/wc-forms/services-BmRVYKgg.cjs +0 -1
- package/dist/wc-forms/useAddress-CNccyKT4.cjs +0 -1
- package/dist/wc-forms/useLicensePlate-Ct8T-GYB.cjs +0 -1
|
@@ -23140,7 +23140,7 @@ var sO, cO, lO, uO, dO, fO, pO, mO, hO, gO, _O, vO, yO, bO, xO, SO, CO, wO, TO,
|
|
|
23140
23140
|
return t.default;
|
|
23141
23141
|
}
|
|
23142
23142
|
});
|
|
23143
|
-
})), DA = /* @__PURE__ */ s(((e) => {
|
|
23143
|
+
})), DA = (/* @__PURE__ */ s(((e) => {
|
|
23144
23144
|
var t = e && e.__createBinding || (Object.create ? (function(e, t, n, r) {
|
|
23145
23145
|
r === void 0 && (r = n);
|
|
23146
23146
|
var i = Object.getOwnPropertyDescriptor(t, n);
|
|
@@ -23156,188 +23156,73 @@ var sO, cO, lO, uO, dO, fO, pO, mO, hO, gO, _O, vO, yO, bO, xO, SO, CO, wO, TO,
|
|
|
23156
23156
|
for (var r in e) r !== "default" && !Object.prototype.hasOwnProperty.call(n, r) && t(n, e, r);
|
|
23157
23157
|
};
|
|
23158
23158
|
Object.defineProperty(e, "__esModule", { value: !0 }), n(Jb(), e), n(wA(), e), n(EA(), e), n($(), e), n(qS(), e);
|
|
23159
|
-
})), OA = {
|
|
23160
|
-
|
|
23161
|
-
|
|
23162
|
-
|
|
23163
|
-
|
|
23164
|
-
|
|
23165
|
-
|
|
23166
|
-
|
|
23167
|
-
|
|
23168
|
-
|
|
23169
|
-
|
|
23170
|
-
|
|
23171
|
-
|
|
23172
|
-
}
|
|
23173
|
-
|
|
23174
|
-
|
|
23175
|
-
|
|
23176
|
-
constructor(e = {}, t = {}) {
|
|
23177
|
-
this.values = e, this.cached = t;
|
|
23178
|
-
}
|
|
23179
|
-
constant(e, t) {
|
|
23180
|
-
this.values[e] = () => t;
|
|
23181
|
-
}
|
|
23182
|
-
get(e) {
|
|
23183
|
-
return e in this.cached ? this.cached[e] : e in this.values ? this.cached[e] = this.values[e](this) : (`${e}`, !1);
|
|
23184
|
-
}
|
|
23185
|
-
}, jA = class {
|
|
23186
|
-
static configure(e) {
|
|
23187
|
-
let t = AA.instance;
|
|
23188
|
-
e.api && e.api.url && t.constant("vd-api-url", e.api.url), e.mijn && e.mijn.url && t.constant("mijn-api-url", e.mijn.url), e.qa && e.qa.url && t.constant("qa-api-url", e.qa.url);
|
|
23189
|
-
}
|
|
23190
|
-
static getApiUrl() {
|
|
23191
|
-
return AA.instance.get("vd-api-url") || OA.api.url;
|
|
23192
|
-
}
|
|
23193
|
-
static getMijnUrl() {
|
|
23194
|
-
return AA.instance.get("mijn-api-url") || OA.mijn.url;
|
|
23195
|
-
}
|
|
23196
|
-
static getQAUrl() {
|
|
23197
|
-
return AA.instance.get("qa-api-url") || OA.qa.url;
|
|
23198
|
-
}
|
|
23199
|
-
}, MA = /* @__PURE__ */ u(DA(), 1), NA = class {
|
|
23200
|
-
insurances = [
|
|
23201
|
-
"PetService",
|
|
23202
|
-
"MotorService",
|
|
23203
|
-
"BikeService",
|
|
23204
|
-
"MopedService",
|
|
23205
|
-
"HousingService",
|
|
23206
|
-
"HomeService",
|
|
23207
|
-
"LiabilityService",
|
|
23208
|
-
"HouseholdService",
|
|
23209
|
-
"DocumentService",
|
|
23210
|
-
"PackageService",
|
|
23211
|
-
"CaravanService",
|
|
23212
|
-
"DataValidationService",
|
|
23213
|
-
"CarService",
|
|
23214
|
-
"PartnerService",
|
|
23215
|
-
"ComparisonService",
|
|
23216
|
-
"UserService",
|
|
23217
|
-
"V1Service",
|
|
23218
|
-
"TravelService",
|
|
23219
|
-
"DataService"
|
|
23220
|
-
];
|
|
23221
|
-
activeInsurances;
|
|
23222
|
-
client;
|
|
23223
|
-
petService;
|
|
23224
|
-
motorService;
|
|
23225
|
-
bikeService;
|
|
23226
|
-
mopedService;
|
|
23227
|
-
housingService;
|
|
23228
|
-
homeService;
|
|
23229
|
-
liabilityService;
|
|
23230
|
-
householdService;
|
|
23231
|
-
documentService;
|
|
23232
|
-
packageService;
|
|
23233
|
-
caravanService;
|
|
23234
|
-
dataValidationService;
|
|
23235
|
-
carService;
|
|
23236
|
-
partnerService;
|
|
23237
|
-
validation;
|
|
23238
|
-
comparisonService;
|
|
23239
|
-
userService;
|
|
23240
|
-
v1Service;
|
|
23241
|
-
travelService;
|
|
23242
|
-
dataService;
|
|
23243
|
-
constructor() {}
|
|
23244
|
-
getUrl() {
|
|
23245
|
-
let e = jA.getApiUrl();
|
|
23246
|
-
return e + (e.endsWith("/") ? "api" : "/api");
|
|
23247
|
-
}
|
|
23248
|
-
async initITC() {
|
|
23249
|
-
if (typeof window > "u") return;
|
|
23250
|
-
let e = JSON.parse(JSON.stringify(kA));
|
|
23251
|
-
e.api.baseUrl = this.getUrl();
|
|
23252
|
-
let t = new MA.LocalStorageAdapter("insurances");
|
|
23253
|
-
return this.client = new MA.InsuranceTransmissionClient(t), await this.client.configure(e), this.createConfig(), this.createInsuranceClasses(), this;
|
|
23254
|
-
}
|
|
23255
|
-
createConfig() {
|
|
23256
|
-
this.validation = new MA.DataValidationService(), this.petService = new MA.PetService(), this.motorService = new MA.MotorService(), this.bikeService = new MA.BikeService(), this.mopedService = new MA.MopedService(), this.housingService = new MA.HousingService(), this.homeService = new MA.HomeService(), this.liabilityService = new MA.LiabilityService(), this.householdService = new MA.HouseholdService(), this.documentService = new MA.DocumentService(), this.packageService = new MA.PackageService(), this.caravanService = new MA.CaravanService(), this.dataValidationService = new MA.DataValidationService(), this.carService = new MA.CarService(), this.partnerService = new MA.PartnerService(), this.comparisonService = new MA.ComparisonService(), this.userService = new MA.UserService(), this.v1Service = new MA.V1Service(), this.travelService = new MA.TravelService(), this.dataService = new MA.DataService();
|
|
23257
|
-
}
|
|
23258
|
-
createInsuranceClasses() {
|
|
23259
|
-
this.insurances.map((e) => {
|
|
23260
|
-
if (Object.prototype.hasOwnProperty.call(MA, e)) {
|
|
23261
|
-
let t = {};
|
|
23262
|
-
t[e] = new MA[e](), this.activeInsurances = Object.assign({}, this.activeInsurances, t);
|
|
23263
|
-
} else console.error(`${e} is not found in insurance transmission client`);
|
|
23264
|
-
});
|
|
23265
|
-
}
|
|
23266
|
-
get getActiveInsurances() {
|
|
23267
|
-
return this.activeInsurances;
|
|
23268
|
-
}
|
|
23269
|
-
get getClient() {
|
|
23270
|
-
return this.client;
|
|
23271
|
-
}
|
|
23272
|
-
async getVehicleLicenseInformation(e, t) {
|
|
23273
|
-
let n = e.toLocaleLowerCase();
|
|
23274
|
-
return await this.dataService.findVehicle(t, n) || null;
|
|
23275
|
-
}
|
|
23276
|
-
}, PA = null, FA = (e) => (e && jA.configure(e), PA ||= new NA().initITC(), PA), IA;
|
|
23277
|
-
function LA() {
|
|
23278
|
-
return {
|
|
23279
|
-
dataService: new MA.DataService(),
|
|
23280
|
-
dataValidationService: new MA.DataValidationService(),
|
|
23281
|
-
homeService: new MA.HomeService(),
|
|
23282
|
-
comparisonService: new MA.ComparisonService()
|
|
23283
|
-
};
|
|
23284
|
-
}
|
|
23285
|
-
function RA() {
|
|
23286
|
-
return IA ||= LA(), IA;
|
|
23287
|
-
}
|
|
23288
|
-
//#endregion
|
|
23289
|
-
//#region src/components/fields/address/address.presenter.ts
|
|
23290
|
-
var zA = (e) => ({
|
|
23159
|
+
})))(), OA = "v2", kA = null, AA, jA = (e) => {
|
|
23160
|
+
if (!e) throw Error("ITC api url is required — pass it to createItcClient(apiUrl) (custom elements: the api-url attribute).");
|
|
23161
|
+
return e + (e.endsWith("/") ? "api" : "/api");
|
|
23162
|
+
}, MA = async (e) => {
|
|
23163
|
+
typeof window > "u" || await new DA.InsuranceTransmissionClient(new DA.LocalStorageAdapter("insurances")).configure({ api: {
|
|
23164
|
+
baseUrl: e,
|
|
23165
|
+
version: OA
|
|
23166
|
+
} });
|
|
23167
|
+
}, NA = () => ({
|
|
23168
|
+
dataService: new DA.DataService(),
|
|
23169
|
+
dataValidationService: new DA.DataValidationService(),
|
|
23170
|
+
homeService: new DA.HomeService(),
|
|
23171
|
+
comparisonService: new DA.ComparisonService()
|
|
23172
|
+
}), PA = (e) => {
|
|
23173
|
+
let t = jA(e);
|
|
23174
|
+
return kA ||= MA(t), kA;
|
|
23175
|
+
}, FA = () => (AA ||= NA(), AA), IA = (e) => ({
|
|
23291
23176
|
zipCode: e.ZipCode,
|
|
23292
23177
|
houseNumber: String(e.HouseNumber),
|
|
23293
23178
|
houseNumberAddition: e.HouseNumberAddition,
|
|
23294
23179
|
city: e.Place,
|
|
23295
23180
|
street: e.Street
|
|
23296
|
-
}),
|
|
23181
|
+
}), LA = /^\d{4}\s?[a-zA-Z]{2}$/, RA = /^\d+$/, zA = {
|
|
23297
23182
|
"needs-addition": "Een toevoeging is verplicht",
|
|
23298
23183
|
"not-found": "Postcode en huisnummer combinatie onbekend.",
|
|
23299
23184
|
error: "Adres ophalen is mislukt. Probeer het opnieuw."
|
|
23300
23185
|
};
|
|
23301
|
-
function
|
|
23186
|
+
function BA(e) {
|
|
23302
23187
|
return e.replace(/\s/g, "").toUpperCase();
|
|
23303
23188
|
}
|
|
23304
|
-
var
|
|
23305
|
-
function
|
|
23306
|
-
return e ===
|
|
23189
|
+
var VA = "NO_ADDITION";
|
|
23190
|
+
function HA(e) {
|
|
23191
|
+
return e === VA ? "" : e.replace("-", "");
|
|
23307
23192
|
}
|
|
23308
|
-
var
|
|
23309
|
-
if (
|
|
23193
|
+
var UA = (e) => e instanceof Error, WA = (e) => {
|
|
23194
|
+
if (UA(e)) throw e;
|
|
23310
23195
|
return null;
|
|
23311
|
-
},
|
|
23196
|
+
}, GA = (e, t, n) => FA().dataValidationService.validateZipCode(e, t, n).then((e) => e).catch(WA), KA = (e, t) => FA().homeService.getAddition({
|
|
23312
23197
|
zipcode: e,
|
|
23313
23198
|
houseNumber: t
|
|
23314
|
-
}).then((e) => e ?? []).catch(
|
|
23315
|
-
let [n, r] = await Promise.all([
|
|
23199
|
+
}).then((e) => e ?? []).catch(WA), qA = async (e, t) => {
|
|
23200
|
+
let [n, r] = await Promise.all([GA(e, t), KA(e, t)]);
|
|
23316
23201
|
return !n && !r?.length ? null : {
|
|
23317
23202
|
validWithoutAddition: !!n,
|
|
23318
23203
|
template: n,
|
|
23319
23204
|
additions: r ?? []
|
|
23320
23205
|
};
|
|
23321
|
-
},
|
|
23206
|
+
}, JA = (e) => {
|
|
23322
23207
|
let t = e.additions.map((e) => ({
|
|
23323
23208
|
title: e,
|
|
23324
|
-
value:
|
|
23209
|
+
value: HA(e)
|
|
23325
23210
|
}));
|
|
23326
23211
|
return e.validWithoutAddition && t.length ? [{
|
|
23327
23212
|
title: "Geen toevoeging",
|
|
23328
|
-
value:
|
|
23213
|
+
value: VA
|
|
23329
23214
|
}, ...t] : t;
|
|
23330
|
-
},
|
|
23215
|
+
}, YA = (e) => ({
|
|
23331
23216
|
zipCode: e?.zipCode ?? "",
|
|
23332
23217
|
houseNumber: e?.houseNumber ?? "",
|
|
23333
|
-
houseNumberAddition: e ? e.houseNumberAddition ||
|
|
23334
|
-
}),
|
|
23335
|
-
let t = e?.path ?? "address", n =
|
|
23336
|
-
let t =
|
|
23218
|
+
houseNumberAddition: e ? e.houseNumberAddition || VA : ""
|
|
23219
|
+
}), XA = (e) => {
|
|
23220
|
+
let t = e?.path ?? "address", n = YA(e?.initial), r = /* @__PURE__ */ N(null), i = /* @__PURE__ */ N([]), a = 0, o = null, s = async (e) => {
|
|
23221
|
+
let t = BA(e.zipCode), n = e.houseNumber.trim(), r = HA(e.houseNumberAddition), i = `${t}:${n}`;
|
|
23337
23222
|
try {
|
|
23338
23223
|
let a = o?.key === i ? o : null;
|
|
23339
23224
|
if (!a) {
|
|
23340
|
-
let e = await
|
|
23225
|
+
let e = await qA(t, n);
|
|
23341
23226
|
if (!e) return {
|
|
23342
23227
|
status: "not-found",
|
|
23343
23228
|
options: [],
|
|
@@ -23348,14 +23233,14 @@ var KA = (e) => e instanceof Error, qA = (e) => {
|
|
|
23348
23233
|
verdict: e
|
|
23349
23234
|
};
|
|
23350
23235
|
}
|
|
23351
|
-
let s =
|
|
23236
|
+
let s = JA(a.verdict);
|
|
23352
23237
|
if (a.verdict.additions.length && !e.houseNumberAddition) return {
|
|
23353
23238
|
status: "needs-addition",
|
|
23354
23239
|
options: s,
|
|
23355
23240
|
address: null
|
|
23356
23241
|
};
|
|
23357
23242
|
if (!a.verdict.template) {
|
|
23358
|
-
let e = await
|
|
23243
|
+
let e = await GA(t, n, r);
|
|
23359
23244
|
if (!e) return {
|
|
23360
23245
|
status: "not-found",
|
|
23361
23246
|
options: [],
|
|
@@ -23380,7 +23265,7 @@ var KA = (e) => e instanceof Error, qA = (e) => {
|
|
|
23380
23265
|
}
|
|
23381
23266
|
}, c = async (e) => {
|
|
23382
23267
|
let t = ++a, n = await s(e), o = t !== a;
|
|
23383
|
-
return o || (i.value = n.options, r.value = n.address ?
|
|
23268
|
+
return o || (i.value = n.options, r.value = n.address ? IA(n.address) : null), {
|
|
23384
23269
|
...n,
|
|
23385
23270
|
stale: o
|
|
23386
23271
|
};
|
|
@@ -23388,23 +23273,23 @@ var KA = (e) => e instanceof Error, qA = (e) => {
|
|
|
23388
23273
|
return {
|
|
23389
23274
|
path: t,
|
|
23390
23275
|
addressSchema: Ob({
|
|
23391
|
-
zipCode: ub().required("Vul je postcode in").matches(
|
|
23392
|
-
houseNumber: ub().required("Huisnummer is verplicht").matches(
|
|
23276
|
+
zipCode: ub().required("Vul je postcode in").matches(LA, "Postcode is incorrect"),
|
|
23277
|
+
houseNumber: ub().required("Huisnummer is verplicht").matches(RA, "Huisnummer is incorrect"),
|
|
23393
23278
|
houseNumberAddition: ub().defined()
|
|
23394
23279
|
}).test("address-lookup", async (e, t) => {
|
|
23395
|
-
let n =
|
|
23396
|
-
if (!
|
|
23280
|
+
let n = BA(e.zipCode ?? ""), r = String(e.houseNumber ?? "").trim();
|
|
23281
|
+
if (!LA.test(n) || !RA.test(r)) return !0;
|
|
23397
23282
|
let { status: i, stale: a } = await c(e);
|
|
23398
23283
|
return a || i === "resolved" ? !0 : i === "needs-addition" ? t.createError({
|
|
23399
23284
|
path: `${t.path}.houseNumberAddition`,
|
|
23400
|
-
message:
|
|
23401
|
-
}) : t.createError({ message:
|
|
23285
|
+
message: zA[i]
|
|
23286
|
+
}) : t.createError({ message: zA[i] });
|
|
23402
23287
|
}),
|
|
23403
23288
|
draft: n,
|
|
23404
23289
|
resolvedAddress: r,
|
|
23405
23290
|
additionOptions: i
|
|
23406
23291
|
};
|
|
23407
|
-
},
|
|
23292
|
+
}, ZA = {
|
|
23408
23293
|
[vd.Car]: {
|
|
23409
23294
|
apiTypes: ["Car", "Van"],
|
|
23410
23295
|
dutch: "auto",
|
|
@@ -23425,14 +23310,14 @@ var KA = (e) => e instanceof Error, qA = (e) => {
|
|
|
23425
23310
|
dutch: "caravan",
|
|
23426
23311
|
icon: "fa-caravan-alt"
|
|
23427
23312
|
}
|
|
23428
|
-
},
|
|
23313
|
+
}, QA = Object.fromEntries(Object.values(ZA).flatMap(({ apiTypes: e, icon: t }) => e.map((e) => [e.toLowerCase(), t]))), $A = {
|
|
23429
23314
|
brommobiel: "fa-car-side",
|
|
23430
23315
|
"speed pedelec": "fa-bicycle"
|
|
23431
|
-
},
|
|
23316
|
+
}, ej = (e) => !!e?.Brand && !!e.Model && !!e.ManufacturingYear, tj = (e) => {
|
|
23432
23317
|
if (!e) return "";
|
|
23433
23318
|
let t = String(e.Model ?? "").toLowerCase().trim(), n = String(e.VehicleType ?? "").toLowerCase();
|
|
23434
|
-
return
|
|
23435
|
-
},
|
|
23319
|
+
return $A[t] ?? QA[n] ?? "";
|
|
23320
|
+
}, nj = (e) => e ? `${e.Brand} ${e.Model} (${e.ManufacturingYear})` : "", rj = [
|
|
23436
23321
|
"@@-##-@@",
|
|
23437
23322
|
"##-##-@@",
|
|
23438
23323
|
"##-@@-@@",
|
|
@@ -23450,22 +23335,22 @@ var KA = (e) => e instanceof Error, qA = (e) => {
|
|
|
23450
23335
|
];
|
|
23451
23336
|
//#endregion
|
|
23452
23337
|
//#region src/components/fields/licensePlate/licensePlate.util.ts
|
|
23453
|
-
function
|
|
23338
|
+
function ij(e) {
|
|
23454
23339
|
return e.replace(/[\s\\-]/g, "");
|
|
23455
23340
|
}
|
|
23456
|
-
var
|
|
23457
|
-
function
|
|
23458
|
-
let t =
|
|
23459
|
-
if (t.length < 6) return
|
|
23460
|
-
let n = [...t].map((e) => /[0-9]/.test(e) ? "#" : "@").join(""), r =
|
|
23461
|
-
return r === -1 ?
|
|
23341
|
+
var aj = "*".repeat(6), oj = rj.map((e) => e.replace(/-/g, ""));
|
|
23342
|
+
function sj(e) {
|
|
23343
|
+
let t = ij(e).slice(0, 6);
|
|
23344
|
+
if (t.length < 6) return aj;
|
|
23345
|
+
let n = [...t].map((e) => /[0-9]/.test(e) ? "#" : "@").join(""), r = oj.indexOf(n);
|
|
23346
|
+
return r === -1 ? aj : rj[r];
|
|
23462
23347
|
}
|
|
23463
23348
|
//#endregion
|
|
23464
23349
|
//#region src/components/fields/licensePlate/VdLicensePlate.vue?vue&type=script&setup=true&lang.ts
|
|
23465
|
-
var
|
|
23350
|
+
var cj = {
|
|
23466
23351
|
key: 0,
|
|
23467
23352
|
class: "vd-input-license-plate__loading-information"
|
|
23468
|
-
},
|
|
23353
|
+
}, lj = ["src"], uj = /* @__PURE__ */ L({
|
|
23469
23354
|
inheritAttrs: !1,
|
|
23470
23355
|
__name: "VdLicensePlate",
|
|
23471
23356
|
props: /*@__PURE__*/ Ha({
|
|
@@ -23488,16 +23373,16 @@ var dj = {
|
|
|
23488
23373
|
}),
|
|
23489
23374
|
emits: /*@__PURE__*/ Ha(["input"], ["update:modelValue", "update:vehicleData"]),
|
|
23490
23375
|
setup(e, { emit: t }) {
|
|
23491
|
-
let n = { mask:
|
|
23376
|
+
let n = { mask: sj }, r = e, i = uo(e, "modelValue"), a = uo(e, "vehicleData"), o = t, s = Ra(), c = La(), l = K({
|
|
23492
23377
|
get: () => i.value ?? "",
|
|
23493
23378
|
set: (e) => {
|
|
23494
23379
|
i.value = e, o("input", e);
|
|
23495
23380
|
}
|
|
23496
|
-
}), u = (e, t) =>
|
|
23381
|
+
}), u = (e, t) => ij(e).toUpperCase() === ij(t).toUpperCase();
|
|
23497
23382
|
I(i, (e) => {
|
|
23498
23383
|
a.value && !u(e, a.value.LicensePlate) && (a.value = null);
|
|
23499
23384
|
});
|
|
23500
|
-
let d = K(() =>
|
|
23385
|
+
let d = K(() => ej(a.value) ? a.value : null), f = K(() => r.loading || !!d.value && !r.errorMessage), p = K(() => tj(d.value)), m = K(() => nj(d.value));
|
|
23501
23386
|
return (t, r) => (z(), V(Gg, G(P(s), {
|
|
23502
23387
|
modelValue: l.value,
|
|
23503
23388
|
"onUpdate:modelValue": r[0] ||= (e) => l.value = e,
|
|
@@ -23523,12 +23408,12 @@ var dj = {
|
|
|
23523
23408
|
} : void 0,
|
|
23524
23409
|
f.value ? {
|
|
23525
23410
|
name: "information",
|
|
23526
|
-
fn: F(() => [e.loading ? (z(), B("div",
|
|
23411
|
+
fn: F(() => [e.loading ? (z(), B("div", cj, [...r[1] ||= [H("i", { class: "fas fa-circle-notch vd-input-license-plate__loading-icon" }, null, -1), Ms(" Voertuig gegevens ophalen... ", -1)]])) : d.value ? (z(), B(ms, { key: 1 }, [p.value ? (z(), B("img", {
|
|
23527
23412
|
key: 0,
|
|
23528
23413
|
src: `https://d12bmfj3oyxu0t.cloudfront.net/vergelijkdirect/icons/${p.value}.svg`,
|
|
23529
23414
|
class: "vd-field__svg-message-icon",
|
|
23530
23415
|
alt: "vehicle-icon"
|
|
23531
|
-
}, null, 8,
|
|
23416
|
+
}, null, 8, lj)) : W("", !0), Ms(" " + Le(m.value), 1)], 64)) : W("", !0)]),
|
|
23532
23417
|
key: "2"
|
|
23533
23418
|
} : void 0
|
|
23534
23419
|
]), 1040, [
|
|
@@ -23540,56 +23425,56 @@ var dj = {
|
|
|
23540
23425
|
"loading"
|
|
23541
23426
|
]));
|
|
23542
23427
|
}
|
|
23543
|
-
}),
|
|
23544
|
-
"wrong-type": (e) => `Het ingevoerde kenteken is geen ${
|
|
23428
|
+
}), dj = /* @__PURE__ */ new Map(), fj = (e, t) => `${t}:${e}`, pj = {
|
|
23429
|
+
"wrong-type": (e) => `Het ingevoerde kenteken is geen ${ZA[e].dutch}`,
|
|
23545
23430
|
unknown: () => "Voertuig onbekend - Voer ander kenteken in of neem contact op",
|
|
23546
23431
|
"not-found": () => "Kenteken onbekend",
|
|
23547
23432
|
error: () => "Kenteken is incorrect"
|
|
23548
|
-
},
|
|
23433
|
+
}, mj = async (e, t) => {
|
|
23549
23434
|
try {
|
|
23550
|
-
let n = await
|
|
23435
|
+
let n = await FA().dataService.findVehicle(e, t);
|
|
23551
23436
|
if (Array.isArray(n) || !n || !Object.keys(n).length) return { status: "not-found" };
|
|
23552
23437
|
let r = n;
|
|
23553
|
-
return r.VehicleType ?
|
|
23438
|
+
return r.VehicleType ? ZA[t].apiTypes.includes(r.VehicleType) ? {
|
|
23554
23439
|
status: "found",
|
|
23555
23440
|
data: r
|
|
23556
23441
|
} : { status: "wrong-type" } : { status: "unknown" };
|
|
23557
23442
|
} catch (e) {
|
|
23558
23443
|
return console.error("Error on ITC findVehicle", e), { status: "error" };
|
|
23559
23444
|
}
|
|
23560
|
-
},
|
|
23561
|
-
let n =
|
|
23562
|
-
return r || (r =
|
|
23563
|
-
e === "error" &&
|
|
23564
|
-
}, () =>
|
|
23565
|
-
},
|
|
23445
|
+
}, hj = (e, t) => {
|
|
23446
|
+
let n = fj(e, t), r = dj.get(n);
|
|
23447
|
+
return r || (r = mj(e, t), dj.set(n, r), r.then(({ status: e }) => {
|
|
23448
|
+
e === "error" && dj.delete(n);
|
|
23449
|
+
}, () => dj.delete(n))), r;
|
|
23450
|
+
}, gj = (e, t = {}) => {
|
|
23566
23451
|
let n = /* @__PURE__ */ N(t.initialData ?? null), r = 0;
|
|
23567
|
-
t.initialData?.LicensePlate &&
|
|
23452
|
+
t.initialData?.LicensePlate && dj.set(fj(ij(t.initialData.LicensePlate), e), Promise.resolve({
|
|
23568
23453
|
status: "found",
|
|
23569
23454
|
data: t.initialData
|
|
23570
23455
|
}));
|
|
23571
23456
|
let i = async (t) => {
|
|
23572
|
-
let i =
|
|
23457
|
+
let i = ij(t), a = ++r, o = await hj(i, e);
|
|
23573
23458
|
return a === r && (n.value = o.status === "found" ? o.data : null), o;
|
|
23574
23459
|
};
|
|
23575
23460
|
return {
|
|
23576
23461
|
vehicleData: n,
|
|
23577
23462
|
licensePlateSchema: ub().required("Dit veld is verplicht").test("license-plate-lookup", async (t, n) => {
|
|
23578
23463
|
if (!t) return !0;
|
|
23579
|
-
let r =
|
|
23464
|
+
let r = ij(t);
|
|
23580
23465
|
if (r.length < 6) return n.createError({ message: "Kenteken is incorrect" });
|
|
23581
23466
|
let { status: a } = await i(r);
|
|
23582
|
-
return a === "found" || n.createError({ message:
|
|
23467
|
+
return a === "found" || n.createError({ message: pj[a](e) });
|
|
23583
23468
|
})
|
|
23584
23469
|
};
|
|
23585
|
-
},
|
|
23470
|
+
}, _j = (e) => /^\d{8}$/.test(e), vj = (e) => _j(e) ? {
|
|
23586
23471
|
companyName: "",
|
|
23587
23472
|
kvkNumber: e
|
|
23588
23473
|
} : {
|
|
23589
23474
|
companyName: e,
|
|
23590
23475
|
kvkNumber: ""
|
|
23591
|
-
},
|
|
23592
|
-
let t =
|
|
23476
|
+
}, yj = "bezoekadres", bj = (e) => e._embedded?.hoofdvestiging?.adressen?.find((e) => e.type === yj), xj = (e) => {
|
|
23477
|
+
let t = bj(e), { huisnummer: n = 0, huisletter: r = "", huisnummerToevoeging: i = "", toevoegingAdres: a = "", plaats: o = "", postcode: s = "", straatnaam: c = "", volledigAdres: l = "" } = t ?? {};
|
|
23593
23478
|
return {
|
|
23594
23479
|
houseNumber: n,
|
|
23595
23480
|
houseNumberAddition: r || i || a,
|
|
@@ -23599,7 +23484,7 @@ var dj = {
|
|
|
23599
23484
|
fullAddress: l,
|
|
23600
23485
|
hasVisitingAddress: !!t
|
|
23601
23486
|
};
|
|
23602
|
-
},
|
|
23487
|
+
}, Sj = (e = []) => {
|
|
23603
23488
|
let [t, n, r] = e.reduce(([e, t, n], r) => {
|
|
23604
23489
|
let i = {
|
|
23605
23490
|
isMainActivity: r.indHoofdactiviteit,
|
|
@@ -23622,20 +23507,20 @@ var dj = {
|
|
|
23622
23507
|
firstSBIs: t,
|
|
23623
23508
|
secondSBIs: n
|
|
23624
23509
|
};
|
|
23625
|
-
},
|
|
23510
|
+
}, Cj = (e) => ({
|
|
23626
23511
|
kvkNumber: e.kvkNummer,
|
|
23627
23512
|
name: e.naam,
|
|
23628
23513
|
city: e.adres?.binnenlandsAdres?.plaats ?? "",
|
|
23629
23514
|
street: e.adres?.binnenlandsAdres?.straatnaam ?? ""
|
|
23630
|
-
}),
|
|
23515
|
+
}), wj = (e) => ({
|
|
23631
23516
|
name: e.naam,
|
|
23632
23517
|
kvkNumber: e.kvkNummer,
|
|
23633
23518
|
industry: e.sbiIndustryId,
|
|
23634
23519
|
numberOfEmployees: e.totaalWerkzamePersonen,
|
|
23635
23520
|
legalForm: e._embedded?.eigenaar?.rechtsvorm ?? "",
|
|
23636
|
-
...
|
|
23637
|
-
...
|
|
23638
|
-
}),
|
|
23521
|
+
...xj(e),
|
|
23522
|
+
...Sj(e.sbiActiviteiten)
|
|
23523
|
+
}), Tj = 30, Ej = ["hoofdvestiging", "nevenvestiging"], Dj = "IPD5200", Oj = (e) => {
|
|
23639
23524
|
let t = e, n = t?.response?.data?.fout;
|
|
23640
23525
|
if (Array.isArray(n)) return n;
|
|
23641
23526
|
if (Array.isArray(t?.fout)) return t.fout;
|
|
@@ -23643,24 +23528,24 @@ var dj = {
|
|
|
23643
23528
|
let e = JSON.parse(t.message);
|
|
23644
23529
|
if (Array.isArray(e?.fout)) return e.fout;
|
|
23645
23530
|
} catch {}
|
|
23646
|
-
},
|
|
23531
|
+
}, kj = (e) => Oj(e)?.some((e) => e.code === Dj) ?? !1, Aj = () => ({
|
|
23647
23532
|
search: async (e) => {
|
|
23648
23533
|
try {
|
|
23649
|
-
return ((await
|
|
23534
|
+
return ((await FA().dataService.searchBusinessInfoV2(vj(e), 1, Tj))?.resultaten ?? []).filter((e) => Ej.includes(e.type)).map(Cj);
|
|
23650
23535
|
} catch (e) {
|
|
23651
23536
|
let t = await e;
|
|
23652
|
-
if (
|
|
23537
|
+
if (kj(t)) return [];
|
|
23653
23538
|
throw t;
|
|
23654
23539
|
}
|
|
23655
23540
|
},
|
|
23656
23541
|
getDetails: async (e) => {
|
|
23657
|
-
let t = await
|
|
23542
|
+
let t = await FA().dataService.getProfileInfo(e);
|
|
23658
23543
|
return {
|
|
23659
|
-
presenter:
|
|
23544
|
+
presenter: wj(t),
|
|
23660
23545
|
raw: t
|
|
23661
23546
|
};
|
|
23662
23547
|
}
|
|
23663
|
-
}),
|
|
23548
|
+
}), jj = { class: "vd-combobox__multiline" }, Mj = { class: "vd-combobox__title" }, Nj = { class: "vd-combobox__subtext" }, Pj = { class: "vd-combobox__subtext" }, Fj = 400, Ij = 3, Lj = "Helaas, we hebben geen resultaten gevonden. Probeer te zoeken op de exacte naam waarmee je bedrijf is geregistreerd bij de Kamer van Koophandel, of gebruik je volledige KvK-nummer.", Rj = "Typ je bedrijfsnaam of KvK-nummer", zj = "Aan het zoeken…", Bj = "Er ging iets mis bij het ophalen van de gegevens. Probeer het later opnieuw.", Vj = /* @__PURE__ */ L({
|
|
23664
23549
|
inheritAttrs: !1,
|
|
23665
23550
|
__name: "VdCompanySelect",
|
|
23666
23551
|
props: /*@__PURE__*/ Ha({
|
|
@@ -23679,7 +23564,7 @@ var dj = {
|
|
|
23679
23564
|
"raw"
|
|
23680
23565
|
], ["update:modelValue"]),
|
|
23681
23566
|
setup(e, { emit: t }) {
|
|
23682
|
-
let n = t, r = Ra(), i = La(), a = uo(e, "modelValue"), { search: o, getDetails: s } =
|
|
23567
|
+
let n = t, r = Ra(), i = La(), a = uo(e, "modelValue"), { search: o, getDetails: s } = Aj(), c = /* @__PURE__ */ N(), l = /* @__PURE__ */ N(), u = /* @__PURE__ */ N(), d = /* @__PURE__ */ N(""), f = $u(d, Fj, { maxWait: 2e3 }), p = /* @__PURE__ */ N(!0), { state: m, isLoading: h, execute: g } = ud(async (e) => {
|
|
23683
23568
|
try {
|
|
23684
23569
|
return {
|
|
23685
23570
|
results: await o(e),
|
|
@@ -23702,20 +23587,20 @@ var dj = {
|
|
|
23702
23587
|
let { presenter: t, raw: r } = await s(e);
|
|
23703
23588
|
return a.value = t, n("raw", r), n("error", null), t;
|
|
23704
23589
|
} catch (e) {
|
|
23705
|
-
throw a.value = null, n("raw", null), u.value = void 0, c.value = void 0, n("error",
|
|
23590
|
+
throw a.value = null, n("raw", null), u.value = void 0, c.value = void 0, n("error", Bj), e;
|
|
23706
23591
|
}
|
|
23707
23592
|
}, null, {
|
|
23708
23593
|
immediate: !1,
|
|
23709
23594
|
resetOnExecute: !0
|
|
23710
|
-
}), y = K(() => d.value.length >=
|
|
23595
|
+
}), y = K(() => d.value.length >= Ij), b = K(() => y.value ? h.value || d.value !== f.value ? "searching" : m.value.failed ? "error" : m.value.results.length ? "idle" : "no-results" : "idle"), x = K(() => b.value === "searching" ? [] : y.value ? m.value.results : p.value && u.value ? [u.value] : []), S = K(() => b.value === "searching" || _.value), C = K(() => !!a.value && !S.value), w = K(() => {
|
|
23711
23596
|
let e = a.value;
|
|
23712
23597
|
return !e || S.value ? "" : e.fullAddress ? `Kvk: ${e.kvkNumber} ${e.fullAddress}` : `Kvk: ${e.kvkNumber}`;
|
|
23713
23598
|
}), T = K(() => {
|
|
23714
23599
|
switch (b.value) {
|
|
23715
|
-
case "searching": return
|
|
23716
|
-
case "error": return
|
|
23717
|
-
case "no-results": return
|
|
23718
|
-
default: return
|
|
23600
|
+
case "searching": return zj;
|
|
23601
|
+
case "error": return Bj;
|
|
23602
|
+
case "no-results": return Lj;
|
|
23603
|
+
default: return Rj;
|
|
23719
23604
|
}
|
|
23720
23605
|
}), E = (e) => {
|
|
23721
23606
|
u.value = e, p.value = !0, e.kvkNumber === a.value?.kvkNumber ? n("error", null) : v(0, e.kvkNumber);
|
|
@@ -23733,7 +23618,7 @@ var dj = {
|
|
|
23733
23618
|
return I(l, (e) => {
|
|
23734
23619
|
e || (d.value = "", p.value = !0);
|
|
23735
23620
|
}), I(f, (e) => {
|
|
23736
|
-
e && e.length >=
|
|
23621
|
+
e && e.length >= Ij && g(0, e);
|
|
23737
23622
|
}), I(a, (e) => {
|
|
23738
23623
|
c.value = e ? k(e) : void 0, p.value = !0, e || (u.value = void 0, n("raw", null));
|
|
23739
23624
|
}, { immediate: !0 }), (t, n) => (z(), V(hv, G(P(r), {
|
|
@@ -23761,10 +23646,10 @@ var dj = {
|
|
|
23761
23646
|
onBlur: D,
|
|
23762
23647
|
onSearch: ee
|
|
23763
23648
|
}), Sa({
|
|
23764
|
-
item: F(({ option: e }) => [H("div",
|
|
23765
|
-
H("div",
|
|
23766
|
-
H("span",
|
|
23767
|
-
H("span",
|
|
23649
|
+
item: F(({ option: e }) => [H("div", jj, [
|
|
23650
|
+
H("div", Mj, Le(e.name), 1),
|
|
23651
|
+
H("span", Nj, "Kvk: " + Le(e.kvkNumber), 1),
|
|
23652
|
+
H("span", Pj, Le(e.city) + ", " + Le(e.street), 1)
|
|
23768
23653
|
])]),
|
|
23769
23654
|
_: 2
|
|
23770
23655
|
}, [P(i).popover ? {
|
|
@@ -23790,15 +23675,15 @@ var dj = {
|
|
|
23790
23675
|
"info-message"
|
|
23791
23676
|
]));
|
|
23792
23677
|
}
|
|
23793
|
-
}),
|
|
23678
|
+
}), Hj = (e = "Bedrijfsnaam of KVK-nummer is verplicht") => Xy().nullable().required(e).test("has-kvk-number", e, (e) => !!e?.kvkNumber), Uj = {
|
|
23794
23679
|
min: 18,
|
|
23795
23680
|
max: 99
|
|
23796
|
-
},
|
|
23681
|
+
}, Wj = "DD-MM-YYYY", Gj = [
|
|
23797
23682
|
yd.SingleWithoutChildren,
|
|
23798
23683
|
yd.FamilyWithoutChildren,
|
|
23799
23684
|
yd.SingleWithChildren,
|
|
23800
23685
|
yd.FamilyWithChildren
|
|
23801
|
-
],
|
|
23686
|
+
], Kj = [bd.Yes, bd.No], qj = /* @__PURE__ */ s(((e, t) => {
|
|
23802
23687
|
(function(n, r) {
|
|
23803
23688
|
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs = r();
|
|
23804
23689
|
})(e, (function() {
|
|
@@ -24092,7 +23977,7 @@ var dj = {
|
|
|
24092
23977
|
return w(1e3 * e);
|
|
24093
23978
|
}, w.en = b[y], w.Ls = b, w.p = {}, w;
|
|
24094
23979
|
}));
|
|
24095
|
-
})),
|
|
23980
|
+
})), Jj = /* @__PURE__ */ s(((e, t) => {
|
|
24096
23981
|
(function(n, r) {
|
|
24097
23982
|
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_customParseFormat = r();
|
|
24098
23983
|
})(e, (function() {
|
|
@@ -24248,20 +24133,20 @@ var dj = {
|
|
|
24248
24133
|
};
|
|
24249
24134
|
};
|
|
24250
24135
|
}));
|
|
24251
|
-
})),
|
|
24252
|
-
|
|
24253
|
-
function
|
|
24254
|
-
return (0,
|
|
24136
|
+
})), Yj = /* @__PURE__ */ u(qj(), 1), Xj = /* @__PURE__ */ u(Jj(), 1);
|
|
24137
|
+
Yj.default.extend(Xj.default);
|
|
24138
|
+
function Zj() {
|
|
24139
|
+
return (0, Yj.default)().startOf("day");
|
|
24255
24140
|
}
|
|
24256
|
-
function
|
|
24257
|
-
return
|
|
24141
|
+
function Qj() {
|
|
24142
|
+
return Zj().year();
|
|
24258
24143
|
}
|
|
24259
|
-
function
|
|
24260
|
-
let n = (0,
|
|
24144
|
+
function $j(e, t) {
|
|
24145
|
+
let n = (0, Yj.default)(e ?? "", t, !0);
|
|
24261
24146
|
return n.isValid() ? n.startOf("day") : null;
|
|
24262
24147
|
}
|
|
24263
|
-
function
|
|
24264
|
-
let n =
|
|
24148
|
+
function eM(e, t) {
|
|
24149
|
+
let n = Zj();
|
|
24265
24150
|
return {
|
|
24266
24151
|
today: n,
|
|
24267
24152
|
earliest: n.subtract(t.value + 1, t.unit).add(1, "day"),
|
|
@@ -24270,13 +24155,13 @@ function rM(e, t) {
|
|
|
24270
24155
|
}
|
|
24271
24156
|
//#endregion
|
|
24272
24157
|
//#region src/utils/familyComposition.util.ts
|
|
24273
|
-
var
|
|
24274
|
-
function
|
|
24275
|
-
return
|
|
24158
|
+
var tM = [yd.FamilyWithChildren, yd.FamilyWithoutChildren];
|
|
24159
|
+
function nM(e) {
|
|
24160
|
+
return tM.includes(e);
|
|
24276
24161
|
}
|
|
24277
24162
|
//#endregion
|
|
24278
24163
|
//#region src/utils/normalizeInitialData.util.ts
|
|
24279
|
-
function
|
|
24164
|
+
function rM(e) {
|
|
24280
24165
|
if (e == null) return {};
|
|
24281
24166
|
if (typeof e == "string") {
|
|
24282
24167
|
let t = e.trim();
|
|
@@ -24293,13 +24178,13 @@ function oM(e) {
|
|
|
24293
24178
|
}
|
|
24294
24179
|
//#endregion
|
|
24295
24180
|
//#region src/schemas/birthdateRange.ts
|
|
24296
|
-
function
|
|
24181
|
+
function iM(e, t, n = "ageRange") {
|
|
24297
24182
|
return {
|
|
24298
24183
|
name: n,
|
|
24299
24184
|
test(n, r) {
|
|
24300
|
-
let i =
|
|
24185
|
+
let i = $j(n, Wj);
|
|
24301
24186
|
if (!i) return !0;
|
|
24302
|
-
let { today: a, earliest: o, latest: s } =
|
|
24187
|
+
let { today: a, earliest: o, latest: s } = eM(e.min, e.max), c = {
|
|
24303
24188
|
earliest: o,
|
|
24304
24189
|
latest: s
|
|
24305
24190
|
};
|
|
@@ -24309,7 +24194,7 @@ function sM(e, t, n = "ageRange") {
|
|
|
24309
24194
|
}
|
|
24310
24195
|
//#endregion
|
|
24311
24196
|
//#region src/schemas/messages.ts
|
|
24312
|
-
var
|
|
24197
|
+
var aM = {
|
|
24313
24198
|
birthdate: {
|
|
24314
24199
|
required: "Geboortedatum is verplicht",
|
|
24315
24200
|
dateFormat: "Geboortedatum is incorrect",
|
|
@@ -24332,7 +24217,6 @@ var cM = {
|
|
|
24332
24217
|
buildYearRequired: "Kies het bouwjaar van je caravan"
|
|
24333
24218
|
},
|
|
24334
24219
|
house: { familyCompositionRequired: "Kies een gezinsamenstelling" },
|
|
24335
|
-
legal: { familySizeRequired: "Kies het aantal kinderen" },
|
|
24336
24220
|
loan: {
|
|
24337
24221
|
purposeRequired: "Leendoel is verplicht",
|
|
24338
24222
|
amountRequired: "Leenbedrag is verplicht",
|
|
@@ -24349,11 +24233,11 @@ var cM = {
|
|
|
24349
24233
|
};
|
|
24350
24234
|
//#endregion
|
|
24351
24235
|
//#region src/schemas/birthdate.schema.ts
|
|
24352
|
-
function
|
|
24353
|
-
return
|
|
24236
|
+
function oM(e) {
|
|
24237
|
+
return $j(e, Wj) !== null;
|
|
24354
24238
|
}
|
|
24355
|
-
function
|
|
24356
|
-
return ub().required(
|
|
24239
|
+
function sM(e = Uj) {
|
|
24240
|
+
return ub().required(aM.birthdate.required).test("date_format", aM.birthdate.dateFormat, oM).test(iM({
|
|
24357
24241
|
min: {
|
|
24358
24242
|
value: e.min,
|
|
24359
24243
|
unit: "year"
|
|
@@ -24363,52 +24247,52 @@ function uM(e = Kj) {
|
|
|
24363
24247
|
unit: "year"
|
|
24364
24248
|
}
|
|
24365
24249
|
}, {
|
|
24366
|
-
tooYoung: () =>
|
|
24367
|
-
tooOld: () =>
|
|
24250
|
+
tooYoung: () => aM.birthdate.tooYoung(e.min),
|
|
24251
|
+
tooOld: () => aM.birthdate.tooOld(e.max)
|
|
24368
24252
|
}));
|
|
24369
24253
|
}
|
|
24370
24254
|
//#endregion
|
|
24371
24255
|
//#region src/schemas/rules.ts
|
|
24372
|
-
function
|
|
24256
|
+
function cM(e, t) {
|
|
24373
24257
|
return ub().required(t).oneOf(e, t);
|
|
24374
24258
|
}
|
|
24375
|
-
function
|
|
24259
|
+
function lM(e) {
|
|
24376
24260
|
return ub().required(e);
|
|
24377
24261
|
}
|
|
24378
|
-
function
|
|
24262
|
+
function uM(e) {
|
|
24379
24263
|
return pb().typeError(e).required(e);
|
|
24380
24264
|
}
|
|
24381
24265
|
//#endregion
|
|
24382
24266
|
//#region src/schemas/familyComposition.schema.ts
|
|
24383
|
-
function
|
|
24384
|
-
return
|
|
24267
|
+
function dM(e = aM.familyComposition.required) {
|
|
24268
|
+
return cM(Gj, e);
|
|
24385
24269
|
}
|
|
24386
|
-
var
|
|
24270
|
+
var fM = dM(), pM = cM(Kj, aM.ownedBuilding.required), mM = [1, 7], hM = [3, 4], gM = {
|
|
24387
24271
|
raceOrMtb: 15e3,
|
|
24388
24272
|
default: 9999
|
|
24389
|
-
},
|
|
24273
|
+
}, _M = {
|
|
24390
24274
|
mask: "N####",
|
|
24391
24275
|
tokens: { N: { pattern: /[1-9]/ } }
|
|
24392
|
-
},
|
|
24276
|
+
}, vM = (e, t) => e.test("max-value", aM.bike.priceMax(t), (e) => {
|
|
24393
24277
|
let n = Number(e);
|
|
24394
24278
|
return Number.isNaN(n) || n <= t;
|
|
24395
|
-
}),
|
|
24396
|
-
kind:
|
|
24397
|
-
condition:
|
|
24398
|
-
price: ub().required(
|
|
24279
|
+
}), yM = Ob({
|
|
24280
|
+
kind: uM(aM.bike.kindRequired),
|
|
24281
|
+
condition: uM(aM.bike.conditionRequired),
|
|
24282
|
+
price: ub().required(aM.bike.priceRequired).test("min-value", aM.bike.priceMin, (e) => {
|
|
24399
24283
|
if (!e) return !0;
|
|
24400
24284
|
let t = Number(e);
|
|
24401
24285
|
return Number.isNaN(t) || t > 0;
|
|
24402
24286
|
}).when("kind", {
|
|
24403
|
-
is: (e) =>
|
|
24404
|
-
then: (e) =>
|
|
24405
|
-
otherwise: (e) =>
|
|
24287
|
+
is: (e) => hM.includes(Number(e)),
|
|
24288
|
+
then: (e) => vM(e, gM.raceOrMtb),
|
|
24289
|
+
otherwise: (e) => vM(e, gM.default)
|
|
24406
24290
|
}),
|
|
24407
24291
|
brand: ub().when("kind", {
|
|
24408
|
-
is: (e) =>
|
|
24409
|
-
then: (e) => e.required(
|
|
24292
|
+
is: (e) => mM.includes(Number(e)),
|
|
24293
|
+
then: (e) => e.required(aM.bike.brandRequired)
|
|
24410
24294
|
})
|
|
24411
|
-
}),
|
|
24295
|
+
}), bM = [
|
|
24412
24296
|
{
|
|
24413
24297
|
value: 4,
|
|
24414
24298
|
title: "ATB / Mountainbike",
|
|
@@ -24475,13 +24359,13 @@ var hM = mM(), gM = dM(Yj, cM.ownedBuilding.required), _M = [1, 7], vM = [3, 4],
|
|
|
24475
24359
|
name: "Vouwfiets",
|
|
24476
24360
|
isEBike: !1
|
|
24477
24361
|
}
|
|
24478
|
-
],
|
|
24362
|
+
], xM = [{
|
|
24479
24363
|
value: 1,
|
|
24480
24364
|
label: "Nieuw"
|
|
24481
24365
|
}, {
|
|
24482
24366
|
value: 0,
|
|
24483
24367
|
label: "Tweedehands"
|
|
24484
|
-
}],
|
|
24368
|
+
}], SM = [
|
|
24485
24369
|
{
|
|
24486
24370
|
id: "Ander merk",
|
|
24487
24371
|
name: "Ander merk"
|
|
@@ -25902,7 +25786,7 @@ var hM = mM(), gM = dM(Yj, cM.ownedBuilding.required), _M = [1, 7], vM = [3, 4],
|
|
|
25902
25786
|
id: "Zündapp",
|
|
25903
25787
|
name: "Zündapp"
|
|
25904
25788
|
}
|
|
25905
|
-
],
|
|
25789
|
+
], CM = /* @__PURE__ */ L({
|
|
25906
25790
|
__name: "BikeForm",
|
|
25907
25791
|
props: /*@__PURE__*/ Va({
|
|
25908
25792
|
initialData: {},
|
|
@@ -25921,14 +25805,14 @@ var hM = mM(), gM = dM(Yj, cM.ownedBuilding.required), _M = [1, 7], vM = [3, 4],
|
|
|
25921
25805
|
}),
|
|
25922
25806
|
emits: ["submitted"],
|
|
25923
25807
|
setup(e, { emit: t }) {
|
|
25924
|
-
let n = e, r = _d(n), i = t, { isSubmitting: a, handleSubmit: o, defineField: s, resetField: c } = Vb(
|
|
25808
|
+
let n = e, r = _d(n), i = t, { isSubmitting: a, handleSubmit: o, defineField: s, resetField: c } = Vb(yM, {
|
|
25925
25809
|
kind: n.initialData?.kind ?? null,
|
|
25926
25810
|
condition: n.initialData?.condition ?? 1,
|
|
25927
25811
|
price: n.initialData?.price ?? "",
|
|
25928
25812
|
brand: n.initialData?.brand ?? ""
|
|
25929
|
-
}), [l, u, d] = s("kind", { validateAt: "change" }), [f, p, m] = s("brand", { validateAt: "change" }), [h, g, _] = s("condition"), [v, y, b] = s("price"), x = K(() =>
|
|
25813
|
+
}), [l, u, d] = s("kind", { validateAt: "change" }), [f, p, m] = s("brand", { validateAt: "change" }), [h, g, _] = s("condition"), [v, y, b] = s("price"), x = K(() => mM.includes(Number(l.value)));
|
|
25930
25814
|
I(l, (e) => {
|
|
25931
|
-
|
|
25815
|
+
mM.includes(Number(e)) || c("brand", { value: "" });
|
|
25932
25816
|
}, { immediate: !0 });
|
|
25933
25817
|
function S() {
|
|
25934
25818
|
o((e) => {
|
|
@@ -25949,7 +25833,7 @@ var hM = mM(), gM = dM(Yj, cM.ownedBuilding.required), _M = [1, 7], vM = [3, 4],
|
|
|
25949
25833
|
"onUpdate:modelValue": n[0] ||= (e) => /* @__PURE__ */ M(l) ? l.value = e : null,
|
|
25950
25834
|
modelModifiers: { number: !0 },
|
|
25951
25835
|
label: "Soort fiets",
|
|
25952
|
-
options: P(
|
|
25836
|
+
options: P(bM),
|
|
25953
25837
|
name: "kind",
|
|
25954
25838
|
required: !1,
|
|
25955
25839
|
"error-message": P(d)
|
|
@@ -25970,7 +25854,7 @@ var hM = mM(), gM = dM(Yj, cM.ownedBuilding.required), _M = [1, 7], vM = [3, 4],
|
|
|
25970
25854
|
"onUpdate:modelValue": n[1] ||= (e) => /* @__PURE__ */ M(f) ? f.value = e : null,
|
|
25971
25855
|
label: "Merk fiets",
|
|
25972
25856
|
placeholder: "Typ of kies je merk",
|
|
25973
|
-
options: P(
|
|
25857
|
+
options: P(SM),
|
|
25974
25858
|
"label-key": "name",
|
|
25975
25859
|
"value-key": "id",
|
|
25976
25860
|
name: "brand",
|
|
@@ -25992,7 +25876,7 @@ var hM = mM(), gM = dM(Yj, cM.ownedBuilding.required), _M = [1, 7], vM = [3, 4],
|
|
|
25992
25876
|
"onUpdate:modelValue": n[2] ||= (e) => /* @__PURE__ */ M(h) ? h.value = e : null,
|
|
25993
25877
|
legend: "Gekocht als",
|
|
25994
25878
|
name: "condition",
|
|
25995
|
-
options: P(
|
|
25879
|
+
options: P(xM),
|
|
25996
25880
|
variant: "boxed",
|
|
25997
25881
|
required: !1,
|
|
25998
25882
|
"error-message": P(_)
|
|
@@ -26014,7 +25898,7 @@ var hM = mM(), gM = dM(Yj, cM.ownedBuilding.required), _M = [1, 7], vM = [3, 4],
|
|
|
26014
25898
|
placeholder: "bv. 1 000",
|
|
26015
25899
|
icon: "far fa-euro-sign",
|
|
26016
25900
|
name: "price",
|
|
26017
|
-
mask: P(
|
|
25901
|
+
mask: P(_M),
|
|
26018
25902
|
inputmode: "numeric",
|
|
26019
25903
|
required: !1,
|
|
26020
25904
|
"error-message": P(b)
|
|
@@ -26032,7 +25916,7 @@ var hM = mM(), gM = dM(Yj, cM.ownedBuilding.required), _M = [1, 7], vM = [3, 4],
|
|
|
26032
25916
|
});
|
|
26033
25917
|
//#endregion
|
|
26034
25918
|
//#region src/comparisons/bike/bike.presenter.ts
|
|
26035
|
-
function
|
|
25919
|
+
function wM(e) {
|
|
26036
25920
|
return {
|
|
26037
25921
|
comparison: vd.Bike,
|
|
26038
25922
|
detail: { bike: {
|
|
@@ -26046,30 +25930,30 @@ function DM(e) {
|
|
|
26046
25930
|
}
|
|
26047
25931
|
//#endregion
|
|
26048
25932
|
//#region src/comparisons/bike/index.ts
|
|
26049
|
-
var
|
|
26050
|
-
Form: () =>
|
|
26051
|
-
presenter: () =>
|
|
26052
|
-
}),
|
|
25933
|
+
var TM = /* @__PURE__ */ c({
|
|
25934
|
+
Form: () => CM,
|
|
25935
|
+
presenter: () => wM
|
|
25936
|
+
}), EM = {
|
|
26053
25937
|
min: 0,
|
|
26054
25938
|
max: 99
|
|
26055
|
-
},
|
|
26056
|
-
kind: ub().required(
|
|
26057
|
-
age: ub().required(
|
|
25939
|
+
}, DM = Ob({
|
|
25940
|
+
kind: ub().required(aM.pet.kindRequired),
|
|
25941
|
+
age: ub().required(aM.birthdate.required).test("date_format", aM.birthdate.dateFormat, oM).test(iM({
|
|
26058
25942
|
min: {
|
|
26059
25943
|
value: 7,
|
|
26060
25944
|
unit: "week"
|
|
26061
25945
|
},
|
|
26062
25946
|
max: {
|
|
26063
|
-
value:
|
|
25947
|
+
value: EM.max,
|
|
26064
25948
|
unit: "year"
|
|
26065
25949
|
}
|
|
26066
25950
|
}, {
|
|
26067
|
-
future: () =>
|
|
26068
|
-
tooYoung: ({ earliest: e, latest: t }) =>
|
|
26069
|
-
tooOld: () =>
|
|
25951
|
+
future: () => aM.birthdate.tooYoung(EM.min),
|
|
25952
|
+
tooYoung: ({ earliest: e, latest: t }) => aM.pet.outOfRange(e.format(Wj), t.format(Wj)),
|
|
25953
|
+
tooOld: () => aM.birthdate.tooOld(EM.max)
|
|
26070
25954
|
}, "birthdate_range")),
|
|
26071
|
-
zipCode: ub().required(
|
|
26072
|
-
}),
|
|
25955
|
+
zipCode: ub().required(aM.pet.zipCodeRequired).matches(/^\d{4}\s?[a-zA-Z]{2}$/, aM.pet.zipCodeInvalid)
|
|
25956
|
+
}), OM = [
|
|
26073
25957
|
{
|
|
26074
25958
|
title: "Hond",
|
|
26075
25959
|
value: "dog"
|
|
@@ -26086,7 +25970,7 @@ var OM = /* @__PURE__ */ c({
|
|
|
26086
25970
|
title: "Vogel",
|
|
26087
25971
|
value: "bird"
|
|
26088
25972
|
}
|
|
26089
|
-
],
|
|
25973
|
+
], kM = /* @__PURE__ */ L({
|
|
26090
25974
|
__name: "PetForm",
|
|
26091
25975
|
props: /*@__PURE__*/ Va({
|
|
26092
25976
|
initialData: {},
|
|
@@ -26105,7 +25989,7 @@ var OM = /* @__PURE__ */ c({
|
|
|
26105
25989
|
}),
|
|
26106
25990
|
emits: ["submitted"],
|
|
26107
25991
|
setup(e, { emit: t }) {
|
|
26108
|
-
let n = e, r = _d(n), i = t, { isSubmitting: a, handleSubmit: o, defineField: s } = Vb(
|
|
25992
|
+
let n = e, r = _d(n), i = t, { isSubmitting: a, handleSubmit: o, defineField: s } = Vb(DM, {
|
|
26109
25993
|
kind: n.initialData?.kind ?? "dog",
|
|
26110
25994
|
age: n.initialData?.age ?? "",
|
|
26111
25995
|
zipCode: n.initialData?.zipCode ?? ""
|
|
@@ -26129,7 +26013,7 @@ var OM = /* @__PURE__ */ c({
|
|
|
26129
26013
|
"onUpdate:modelValue": n[0] ||= (e) => /* @__PURE__ */ M(c) ? c.value = e : null,
|
|
26130
26014
|
label: "Wat voor huisdier wil je verzekeren?",
|
|
26131
26015
|
placeholder: "",
|
|
26132
|
-
options: P(
|
|
26016
|
+
options: P(OM),
|
|
26133
26017
|
name: "kind",
|
|
26134
26018
|
required: !1,
|
|
26135
26019
|
"error-message": P(u)
|
|
@@ -26198,7 +26082,7 @@ var OM = /* @__PURE__ */ c({
|
|
|
26198
26082
|
});
|
|
26199
26083
|
//#endregion
|
|
26200
26084
|
//#region src/comparisons/pet/pet.presenter.ts
|
|
26201
|
-
function
|
|
26085
|
+
function AM(e) {
|
|
26202
26086
|
return {
|
|
26203
26087
|
comparison: vd.Pet,
|
|
26204
26088
|
detail: { pet: {
|
|
@@ -26210,14 +26094,14 @@ function NM(e) {
|
|
|
26210
26094
|
}
|
|
26211
26095
|
//#endregion
|
|
26212
26096
|
//#region src/comparisons/pet/index.ts
|
|
26213
|
-
var
|
|
26214
|
-
Form: () =>
|
|
26215
|
-
presenter: () =>
|
|
26216
|
-
}),
|
|
26217
|
-
TypeOfCaravan:
|
|
26218
|
-
NewOrOccasion:
|
|
26219
|
-
BuildYear:
|
|
26220
|
-
}),
|
|
26097
|
+
var jM = /* @__PURE__ */ c({
|
|
26098
|
+
Form: () => kM,
|
|
26099
|
+
presenter: () => AM
|
|
26100
|
+
}), MM = Ob({
|
|
26101
|
+
TypeOfCaravan: lM(aM.caravan.typeOfCaravanRequired),
|
|
26102
|
+
NewOrOccasion: cM(Kj, aM.caravan.newOrOccasionRequired),
|
|
26103
|
+
BuildYear: lM(aM.caravan.buildYearRequired)
|
|
26104
|
+
}), NM = [
|
|
26221
26105
|
{
|
|
26222
26106
|
value: "CS",
|
|
26223
26107
|
title: "Stacaravan"
|
|
@@ -26230,7 +26114,7 @@ var PM = /* @__PURE__ */ c({
|
|
|
26230
26114
|
value: "CV",
|
|
26231
26115
|
title: "Vouwwagen"
|
|
26232
26116
|
}
|
|
26233
|
-
],
|
|
26117
|
+
], PM = [{
|
|
26234
26118
|
value: bd.Yes,
|
|
26235
26119
|
label: "Nieuw"
|
|
26236
26120
|
}, {
|
|
@@ -26239,8 +26123,8 @@ var PM = /* @__PURE__ */ c({
|
|
|
26239
26123
|
}];
|
|
26240
26124
|
//#endregion
|
|
26241
26125
|
//#region src/comparisons/caravan/models/buildYears.model.ts
|
|
26242
|
-
function
|
|
26243
|
-
let e =
|
|
26126
|
+
function FM() {
|
|
26127
|
+
let e = Qj();
|
|
26244
26128
|
return Array.from({ length: 126 }, (t, n) => ({
|
|
26245
26129
|
title: String(e - n),
|
|
26246
26130
|
value: String(e - n)
|
|
@@ -26248,7 +26132,7 @@ function RM() {
|
|
|
26248
26132
|
}
|
|
26249
26133
|
//#endregion
|
|
26250
26134
|
//#region src/comparisons/caravan/CaravanForm.vue
|
|
26251
|
-
var
|
|
26135
|
+
var IM = /* @__PURE__ */ L({
|
|
26252
26136
|
__name: "CaravanForm",
|
|
26253
26137
|
props: /*@__PURE__*/ Va({
|
|
26254
26138
|
initialData: {},
|
|
@@ -26267,7 +26151,7 @@ var zM = /* @__PURE__ */ L({
|
|
|
26267
26151
|
}),
|
|
26268
26152
|
emits: ["submitted"],
|
|
26269
26153
|
setup(e, { emit: t }) {
|
|
26270
|
-
let n = e, r = _d(n), i = t, a =
|
|
26154
|
+
let n = e, r = _d(n), i = t, a = FM(), { isSubmitting: o, handleSubmit: s, defineField: c } = Vb(MM, {
|
|
26271
26155
|
TypeOfCaravan: n.initialData?.TypeOfCaravan ?? null,
|
|
26272
26156
|
NewOrOccasion: n.initialData?.NewOrOccasion ?? bd.Yes,
|
|
26273
26157
|
BuildYear: n.initialData?.BuildYear ?? null
|
|
@@ -26290,7 +26174,7 @@ var zM = /* @__PURE__ */ L({
|
|
|
26290
26174
|
modelValue: P(l),
|
|
26291
26175
|
"onUpdate:modelValue": n[0] ||= (e) => /* @__PURE__ */ M(l) ? l.value = e : null,
|
|
26292
26176
|
label: "Soort caravan",
|
|
26293
|
-
options: P(
|
|
26177
|
+
options: P(NM),
|
|
26294
26178
|
name: "typeOfCaravan",
|
|
26295
26179
|
required: !1,
|
|
26296
26180
|
"error-message": P(d)
|
|
@@ -26310,7 +26194,7 @@ var zM = /* @__PURE__ */ L({
|
|
|
26310
26194
|
"onUpdate:modelValue": n[1] ||= (e) => /* @__PURE__ */ M(f) ? f.value = e : null,
|
|
26311
26195
|
legend: "Gekocht als",
|
|
26312
26196
|
name: "newOrOccasion",
|
|
26313
|
-
options: P(
|
|
26197
|
+
options: P(PM),
|
|
26314
26198
|
variant: "boxed",
|
|
26315
26199
|
required: !1,
|
|
26316
26200
|
"error-message": P(m)
|
|
@@ -26347,7 +26231,7 @@ var zM = /* @__PURE__ */ L({
|
|
|
26347
26231
|
});
|
|
26348
26232
|
//#endregion
|
|
26349
26233
|
//#region src/comparisons/caravan/caravan.presenter.ts
|
|
26350
|
-
function
|
|
26234
|
+
function LM(e) {
|
|
26351
26235
|
return {
|
|
26352
26236
|
comparison: vd.Caravan,
|
|
26353
26237
|
detail: { caravan: {
|
|
@@ -26360,21 +26244,21 @@ function BM(e) {
|
|
|
26360
26244
|
}
|
|
26361
26245
|
//#endregion
|
|
26362
26246
|
//#region src/comparisons/caravan/index.ts
|
|
26363
|
-
var
|
|
26364
|
-
Form: () =>
|
|
26365
|
-
presenter: () =>
|
|
26366
|
-
}),
|
|
26247
|
+
var RM = /* @__PURE__ */ c({
|
|
26248
|
+
Form: () => IM,
|
|
26249
|
+
presenter: () => LM
|
|
26250
|
+
}), zM = /* @__PURE__ */ function(e) {
|
|
26367
26251
|
return e.Continuous = "L", e.ShortTerm = "S", e;
|
|
26368
|
-
}({}),
|
|
26369
|
-
PaymentTerm:
|
|
26370
|
-
birthdate:
|
|
26371
|
-
}),
|
|
26372
|
-
value:
|
|
26252
|
+
}({}), BM = Ob({
|
|
26253
|
+
PaymentTerm: cM([zM.Continuous, zM.ShortTerm], aM.travel.paymentTermRequired),
|
|
26254
|
+
birthdate: sM()
|
|
26255
|
+
}), VM = [{
|
|
26256
|
+
value: zM.Continuous,
|
|
26373
26257
|
label: "Doorlopend"
|
|
26374
26258
|
}, {
|
|
26375
|
-
value:
|
|
26259
|
+
value: zM.ShortTerm,
|
|
26376
26260
|
label: "Kortlopend"
|
|
26377
|
-
}],
|
|
26261
|
+
}], HM = /* @__PURE__ */ L({
|
|
26378
26262
|
__name: "TravelForm",
|
|
26379
26263
|
props: /*@__PURE__*/ Va({
|
|
26380
26264
|
initialData: {},
|
|
@@ -26393,8 +26277,8 @@ var VM = /* @__PURE__ */ c({
|
|
|
26393
26277
|
}),
|
|
26394
26278
|
emits: ["submitted"],
|
|
26395
26279
|
setup(e, { emit: t }) {
|
|
26396
|
-
let n = e, r = _d(n), i = t, { isSubmitting: a, handleSubmit: o, defineField: s } = Vb(
|
|
26397
|
-
PaymentTerm: n.initialData?.PaymentTerm ??
|
|
26280
|
+
let n = e, r = _d(n), i = t, { isSubmitting: a, handleSubmit: o, defineField: s } = Vb(BM, {
|
|
26281
|
+
PaymentTerm: n.initialData?.PaymentTerm ?? zM.Continuous,
|
|
26398
26282
|
birthdate: n.initialData?.birthdate ?? ""
|
|
26399
26283
|
}), [c, l, u] = s("PaymentTerm", { validateAt: "change" }), [d, f, p] = s("birthdate");
|
|
26400
26284
|
function m() {
|
|
@@ -26415,7 +26299,7 @@ var VM = /* @__PURE__ */ c({
|
|
|
26415
26299
|
"onUpdate:modelValue": n[0] ||= (e) => /* @__PURE__ */ M(c) ? c.value = e : null,
|
|
26416
26300
|
legend: "Kies je dekking",
|
|
26417
26301
|
name: "PaymentTerm",
|
|
26418
|
-
options: P(
|
|
26302
|
+
options: P(VM),
|
|
26419
26303
|
variant: "boxed",
|
|
26420
26304
|
required: !1,
|
|
26421
26305
|
"error-message": P(u)
|
|
@@ -26453,7 +26337,7 @@ var VM = /* @__PURE__ */ c({
|
|
|
26453
26337
|
});
|
|
26454
26338
|
//#endregion
|
|
26455
26339
|
//#region src/comparisons/travel/travel.presenter.ts
|
|
26456
|
-
function
|
|
26340
|
+
function UM(e) {
|
|
26457
26341
|
return {
|
|
26458
26342
|
comparison: vd.Travel,
|
|
26459
26343
|
detail: { comparison: { PaymentTerm: e.PaymentTerm } },
|
|
@@ -26462,14 +26346,14 @@ function KM(e) {
|
|
|
26462
26346
|
}
|
|
26463
26347
|
//#endregion
|
|
26464
26348
|
//#region src/comparisons/travel/index.ts
|
|
26465
|
-
var
|
|
26466
|
-
Form: () =>
|
|
26467
|
-
presenter: () =>
|
|
26468
|
-
}),
|
|
26349
|
+
var WM = /* @__PURE__ */ c({
|
|
26350
|
+
Form: () => HM,
|
|
26351
|
+
presenter: () => UM
|
|
26352
|
+
}), GM = (e) => Ob({
|
|
26469
26353
|
address: e,
|
|
26470
|
-
birthdate:
|
|
26471
|
-
familyComposition:
|
|
26472
|
-
}),
|
|
26354
|
+
birthdate: sM(),
|
|
26355
|
+
familyComposition: fM
|
|
26356
|
+
}), KM = /* @__PURE__ */ L({
|
|
26473
26357
|
__name: "LiabilityForm",
|
|
26474
26358
|
props: /*@__PURE__*/ Va({
|
|
26475
26359
|
initialData: {},
|
|
@@ -26488,7 +26372,7 @@ var qM = /* @__PURE__ */ c({
|
|
|
26488
26372
|
}),
|
|
26489
26373
|
emits: ["submitted"],
|
|
26490
26374
|
setup(e, { emit: t }) {
|
|
26491
|
-
let n = e, r = _d(n), i = t, { addressSchema: a, draft: o, resolvedAddress: s, additionOptions: c } =
|
|
26375
|
+
let n = e, r = _d(n), i = t, { addressSchema: a, draft: o, resolvedAddress: s, additionOptions: c } = XA({ initial: n.initialData?.address }), { isSubmitting: l, handleSubmit: u, defineField: d } = Vb(GM(a), {
|
|
26492
26376
|
birthdate: n.initialData?.birthdate ?? "",
|
|
26493
26377
|
familyComposition: n.initialData?.familyComposition ?? yd.SingleWithoutChildren,
|
|
26494
26378
|
address: o
|
|
@@ -26547,7 +26431,7 @@ var qM = /* @__PURE__ */ c({
|
|
|
26547
26431
|
});
|
|
26548
26432
|
//#endregion
|
|
26549
26433
|
//#region src/comparisons/liability/liability.presenter.ts
|
|
26550
|
-
function
|
|
26434
|
+
function qM(e) {
|
|
26551
26435
|
return {
|
|
26552
26436
|
comparison: vd.Liability,
|
|
26553
26437
|
detail: { liability: {
|
|
@@ -26567,20 +26451,20 @@ function XM(e) {
|
|
|
26567
26451
|
}
|
|
26568
26452
|
//#endregion
|
|
26569
26453
|
//#region src/comparisons/liability/index.ts
|
|
26570
|
-
var
|
|
26571
|
-
Form: () =>
|
|
26572
|
-
presenter: () =>
|
|
26573
|
-
}),
|
|
26454
|
+
var JM = /* @__PURE__ */ c({
|
|
26455
|
+
Form: () => KM,
|
|
26456
|
+
presenter: () => qM
|
|
26457
|
+
}), YM = [{
|
|
26574
26458
|
value: bd.Yes,
|
|
26575
26459
|
label: "Gekocht"
|
|
26576
26460
|
}, {
|
|
26577
26461
|
value: bd.No,
|
|
26578
26462
|
label: "Verhuurd"
|
|
26579
|
-
}],
|
|
26463
|
+
}], XM = (e) => Ob({
|
|
26580
26464
|
address: e,
|
|
26581
|
-
ownedBuilding:
|
|
26582
|
-
familyComposition:
|
|
26583
|
-
}),
|
|
26465
|
+
ownedBuilding: pM,
|
|
26466
|
+
familyComposition: dM(aM.house.familyCompositionRequired)
|
|
26467
|
+
}), ZM = /* @__PURE__ */ L({
|
|
26584
26468
|
__name: "HouseForm",
|
|
26585
26469
|
props: /*@__PURE__*/ Va({
|
|
26586
26470
|
initialData: {},
|
|
@@ -26599,7 +26483,7 @@ var ZM = /* @__PURE__ */ c({
|
|
|
26599
26483
|
}),
|
|
26600
26484
|
emits: ["submitted"],
|
|
26601
26485
|
setup(e, { emit: t }) {
|
|
26602
|
-
let n = e, r = _d(n), i = t, { addressSchema: a, draft: o, resolvedAddress: s, additionOptions: c } =
|
|
26486
|
+
let n = e, r = _d(n), i = t, { addressSchema: a, draft: o, resolvedAddress: s, additionOptions: c } = XA({ initial: n.initialData?.address }), { isSubmitting: l, handleSubmit: u, defineField: d } = Vb(XM(a), {
|
|
26603
26487
|
ownedBuilding: n.initialData?.ownedBuilding ?? bd.Yes,
|
|
26604
26488
|
familyComposition: n.initialData?.familyComposition ?? yd.SingleWithoutChildren,
|
|
26605
26489
|
address: o
|
|
@@ -26638,7 +26522,7 @@ var ZM = /* @__PURE__ */ c({
|
|
|
26638
26522
|
"onUpdate:modelValue": n[1] ||= (e) => /* @__PURE__ */ M(f) ? f.value = e : null,
|
|
26639
26523
|
legend: "Jouw woning is...",
|
|
26640
26524
|
name: "ownedBuilding",
|
|
26641
|
-
options: P(
|
|
26525
|
+
options: P(YM),
|
|
26642
26526
|
variant: "boxed",
|
|
26643
26527
|
required: !1,
|
|
26644
26528
|
"error-message": P(m)
|
|
@@ -26667,7 +26551,7 @@ var ZM = /* @__PURE__ */ c({
|
|
|
26667
26551
|
});
|
|
26668
26552
|
//#endregion
|
|
26669
26553
|
//#region src/comparisons/house/house.presenter.ts
|
|
26670
|
-
function
|
|
26554
|
+
function QM(e) {
|
|
26671
26555
|
return {
|
|
26672
26556
|
comparison: vd.Housing,
|
|
26673
26557
|
detail: { house: { ownedBuilding: e.ownedBuilding } },
|
|
@@ -26683,25 +26567,13 @@ function tN(e) {
|
|
|
26683
26567
|
}
|
|
26684
26568
|
//#endregion
|
|
26685
26569
|
//#region src/comparisons/house/index.ts
|
|
26686
|
-
var
|
|
26687
|
-
Form: () =>
|
|
26688
|
-
presenter: () =>
|
|
26689
|
-
}),
|
|
26570
|
+
var $M = /* @__PURE__ */ c({
|
|
26571
|
+
Form: () => ZM,
|
|
26572
|
+
presenter: () => QM
|
|
26573
|
+
}), eN = (e) => Ob({
|
|
26690
26574
|
address: e,
|
|
26691
|
-
ownedBuilding:
|
|
26692
|
-
|
|
26693
|
-
familyComposition: hM,
|
|
26694
|
-
familySize: ub().defined().when("familyComposition", {
|
|
26695
|
-
is: rN,
|
|
26696
|
-
then: (e) => e.required(cM.legal.familySizeRequired)
|
|
26697
|
-
})
|
|
26698
|
-
}), aN = [{
|
|
26699
|
-
title: "Alleenstaande met 1 kind",
|
|
26700
|
-
value: "2"
|
|
26701
|
-
}, {
|
|
26702
|
-
title: "Alleenstaande met 2 of meer kinderen",
|
|
26703
|
-
value: "3"
|
|
26704
|
-
}], oN = /* @__PURE__ */ L({
|
|
26575
|
+
ownedBuilding: pM
|
|
26576
|
+
}), tN = /* @__PURE__ */ L({
|
|
26705
26577
|
__name: "LegalForm",
|
|
26706
26578
|
props: /*@__PURE__*/ Va({
|
|
26707
26579
|
initialData: {},
|
|
@@ -26720,118 +26592,62 @@ var nN = /* @__PURE__ */ c({
|
|
|
26720
26592
|
}),
|
|
26721
26593
|
emits: ["submitted"],
|
|
26722
26594
|
setup(e, { emit: t }) {
|
|
26723
|
-
let n = e, r = _d(n), i = t, { addressSchema: a, draft: o, resolvedAddress: s, additionOptions: c } =
|
|
26595
|
+
let n = e, r = _d(n), i = t, { addressSchema: a, draft: o, resolvedAddress: s, additionOptions: c } = XA({ initial: n.initialData?.address }), { isSubmitting: l, handleSubmit: u, defineField: d } = Vb(eN(a), {
|
|
26724
26596
|
ownedBuilding: n.initialData?.ownedBuilding ?? bd.Yes,
|
|
26725
|
-
birthdate: n.initialData?.birthdate ?? "",
|
|
26726
|
-
familyComposition: n.initialData?.familyComposition ?? yd.SingleWithoutChildren,
|
|
26727
|
-
familySize: n.initialData?.familySize ?? "",
|
|
26728
26597
|
address: o
|
|
26729
|
-
}), [p, m
|
|
26730
|
-
|
|
26731
|
-
|
|
26732
|
-
}, { immediate: !0 });
|
|
26733
|
-
function E() {
|
|
26734
|
-
u(({ ownedBuilding: e, birthdate: t, familyComposition: n, familySize: r }) => {
|
|
26598
|
+
}), [f, p, m] = d("ownedBuilding");
|
|
26599
|
+
function h() {
|
|
26600
|
+
u(({ ownedBuilding: e }) => {
|
|
26735
26601
|
i("submitted", {
|
|
26736
26602
|
ownedBuilding: e,
|
|
26737
|
-
birthdate: t,
|
|
26738
|
-
familyComposition: n,
|
|
26739
|
-
familySize: r,
|
|
26740
26603
|
address: s.value
|
|
26741
26604
|
});
|
|
26742
26605
|
});
|
|
26743
26606
|
}
|
|
26744
26607
|
return (t, n) => (z(), V(P(ty), G(P(r), {
|
|
26745
26608
|
"submit-disabled": e.submitDisabled || P(l),
|
|
26746
|
-
onSubmit:
|
|
26609
|
+
onSubmit: h
|
|
26747
26610
|
}), {
|
|
26748
|
-
default: F(() => [
|
|
26749
|
-
|
|
26750
|
-
|
|
26751
|
-
|
|
26752
|
-
|
|
26753
|
-
|
|
26754
|
-
|
|
26755
|
-
|
|
26756
|
-
|
|
26757
|
-
|
|
26758
|
-
|
|
26759
|
-
|
|
26760
|
-
|
|
26761
|
-
|
|
26762
|
-
|
|
26763
|
-
|
|
26764
|
-
|
|
26765
|
-
|
|
26766
|
-
|
|
26767
|
-
|
|
26768
|
-
|
|
26769
|
-
|
|
26770
|
-
|
|
26771
|
-
|
|
26772
|
-
|
|
26773
|
-
|
|
26774
|
-
|
|
26775
|
-
|
|
26776
|
-
|
|
26777
|
-
|
|
26778
|
-
_: 1
|
|
26779
|
-
}),
|
|
26780
|
-
U(P(q), {
|
|
26781
|
-
span: "2",
|
|
26782
|
-
md: "6"
|
|
26783
|
-
}, {
|
|
26784
|
-
default: F(() => [U(P(ry), G({
|
|
26785
|
-
modelValue: P(g),
|
|
26786
|
-
"onUpdate:modelValue": n[2] ||= (e) => /* @__PURE__ */ M(g) ? g.value = e : null,
|
|
26787
|
-
"error-message": P(v)
|
|
26788
|
-
}, P(_)), null, 16, ["modelValue", "error-message"])]),
|
|
26789
|
-
_: 1
|
|
26790
|
-
}),
|
|
26791
|
-
U(P(q), {
|
|
26792
|
-
span: "2",
|
|
26793
|
-
md: "6"
|
|
26794
|
-
}, {
|
|
26795
|
-
default: F(() => [U(P(iy), G({
|
|
26796
|
-
modelValue: P(y),
|
|
26797
|
-
"onUpdate:modelValue": n[3] ||= (e) => /* @__PURE__ */ M(y) ? y.value = e : null,
|
|
26798
|
-
"error-message": P(x)
|
|
26799
|
-
}, P(b)), null, 16, ["modelValue", "error-message"])]),
|
|
26800
|
-
_: 1
|
|
26801
|
-
}),
|
|
26802
|
-
T.value ? (z(), V(P(q), {
|
|
26803
|
-
key: 0,
|
|
26804
|
-
span: "2",
|
|
26805
|
-
md: "6"
|
|
26806
|
-
}, {
|
|
26807
|
-
default: F(() => [U(P(n_), G({
|
|
26808
|
-
modelValue: P(S),
|
|
26809
|
-
"onUpdate:modelValue": n[4] ||= (e) => /* @__PURE__ */ M(S) ? S.value = e : null,
|
|
26810
|
-
label: "Aantal kinderen",
|
|
26811
|
-
placeholder: "Maak een keuze",
|
|
26812
|
-
options: P(aN),
|
|
26813
|
-
name: "familySize",
|
|
26814
|
-
required: !1,
|
|
26815
|
-
"error-message": P(w)
|
|
26816
|
-
}, P(C)), null, 16, [
|
|
26817
|
-
"modelValue",
|
|
26818
|
-
"options",
|
|
26819
|
-
"error-message"
|
|
26820
|
-
])]),
|
|
26821
|
-
_: 1
|
|
26822
|
-
})) : W("", !0)
|
|
26823
|
-
]),
|
|
26611
|
+
default: F(() => [U(P(q), {
|
|
26612
|
+
span: "5",
|
|
26613
|
+
md: "6"
|
|
26614
|
+
}, {
|
|
26615
|
+
default: F(() => [U(P(Kb), {
|
|
26616
|
+
"resolved-address": P(s),
|
|
26617
|
+
"onUpdate:resolvedAddress": n[0] ||= (e) => /* @__PURE__ */ M(s) ? s.value = e : null,
|
|
26618
|
+
"addition-options": P(c)
|
|
26619
|
+
}, null, 8, ["resolved-address", "addition-options"])]),
|
|
26620
|
+
_: 1
|
|
26621
|
+
}), U(P(q), {
|
|
26622
|
+
span: "5",
|
|
26623
|
+
md: "6"
|
|
26624
|
+
}, {
|
|
26625
|
+
default: F(() => [U(P(Dv), G({
|
|
26626
|
+
modelValue: P(f),
|
|
26627
|
+
"onUpdate:modelValue": n[1] ||= (e) => /* @__PURE__ */ M(f) ? f.value = e : null,
|
|
26628
|
+
legend: "Jouw woning is...",
|
|
26629
|
+
name: "ownedBuilding",
|
|
26630
|
+
options: P(YM),
|
|
26631
|
+
variant: "boxed",
|
|
26632
|
+
required: !1,
|
|
26633
|
+
"error-message": P(m)
|
|
26634
|
+
}, P(p)), null, 16, [
|
|
26635
|
+
"modelValue",
|
|
26636
|
+
"options",
|
|
26637
|
+
"error-message"
|
|
26638
|
+
])]),
|
|
26639
|
+
_: 1
|
|
26640
|
+
})]),
|
|
26824
26641
|
_: 1
|
|
26825
26642
|
}, 16, ["submit-disabled"]));
|
|
26826
26643
|
}
|
|
26827
26644
|
});
|
|
26828
26645
|
//#endregion
|
|
26829
26646
|
//#region src/comparisons/legal/legal.presenter.ts
|
|
26830
|
-
function
|
|
26647
|
+
function nN(e) {
|
|
26831
26648
|
return {
|
|
26832
26649
|
comparison: vd.LegalAssistance,
|
|
26833
26650
|
detail: { comparison: {
|
|
26834
|
-
familySize: e.familyComposition === rN ? e.familySize : "",
|
|
26835
26651
|
deductables: 300,
|
|
26836
26652
|
ownedBuilding: e.ownedBuilding
|
|
26837
26653
|
} },
|
|
@@ -26839,27 +26655,25 @@ function sN(e) {
|
|
|
26839
26655
|
zipCode: e.address.zipCode,
|
|
26840
26656
|
houseNumber: e.address.houseNumber,
|
|
26841
26657
|
houseNumberAddition: e.address.houseNumberAddition,
|
|
26842
|
-
birthdate: e.birthdate,
|
|
26843
26658
|
street: e.address.street,
|
|
26844
|
-
city: e.address.city
|
|
26845
|
-
familyComposition: e.familyComposition
|
|
26659
|
+
city: e.address.city
|
|
26846
26660
|
}
|
|
26847
26661
|
};
|
|
26848
26662
|
}
|
|
26849
26663
|
//#endregion
|
|
26850
26664
|
//#region src/comparisons/legal/index.ts
|
|
26851
|
-
var
|
|
26852
|
-
Form: () =>
|
|
26853
|
-
presenter: () =>
|
|
26854
|
-
}),
|
|
26665
|
+
var rN = /* @__PURE__ */ c({
|
|
26666
|
+
Form: () => tN,
|
|
26667
|
+
presenter: () => nN
|
|
26668
|
+
}), iN = (e) => Ob({
|
|
26855
26669
|
address: e,
|
|
26856
|
-
birthdate:
|
|
26857
|
-
familyComposition:
|
|
26670
|
+
birthdate: sM(),
|
|
26671
|
+
familyComposition: fM,
|
|
26858
26672
|
partnerBirthdate: ub().defined().when("familyComposition", {
|
|
26859
|
-
is:
|
|
26860
|
-
then: () =>
|
|
26673
|
+
is: nM,
|
|
26674
|
+
then: () => sM()
|
|
26861
26675
|
})
|
|
26862
|
-
}),
|
|
26676
|
+
}), aN = /* @__PURE__ */ L({
|
|
26863
26677
|
__name: "PackageForm",
|
|
26864
26678
|
props: /*@__PURE__*/ Va({
|
|
26865
26679
|
initialData: {},
|
|
@@ -26878,14 +26692,14 @@ var cN = /* @__PURE__ */ c({
|
|
|
26878
26692
|
}),
|
|
26879
26693
|
emits: ["submitted"],
|
|
26880
26694
|
setup(e, { emit: t }) {
|
|
26881
|
-
let n = e, r = _d(n), i = t, { addressSchema: a, draft: o, resolvedAddress: s, additionOptions: c } =
|
|
26695
|
+
let n = e, r = _d(n), i = t, { addressSchema: a, draft: o, resolvedAddress: s, additionOptions: c } = XA({ initial: n.initialData?.address }), { isSubmitting: l, handleSubmit: u, defineField: d, resetField: f } = Vb(iN(a), {
|
|
26882
26696
|
birthdate: n.initialData?.birthdate ?? "",
|
|
26883
26697
|
familyComposition: n.initialData?.familyComposition ?? yd.SingleWithoutChildren,
|
|
26884
26698
|
partnerBirthdate: n.initialData?.partnerBirthdate ?? "",
|
|
26885
26699
|
address: o
|
|
26886
|
-
}), [p, m, h] = d("birthdate"), [g, _, v] = d("familyComposition", { validateAt: "change" }), [y, b, x] = d("partnerBirthdate"), S = K(() =>
|
|
26700
|
+
}), [p, m, h] = d("birthdate"), [g, _, v] = d("familyComposition", { validateAt: "change" }), [y, b, x] = d("partnerBirthdate"), S = K(() => nM(g.value));
|
|
26887
26701
|
I(g, (e) => {
|
|
26888
|
-
|
|
26702
|
+
nM(e) || f("partnerBirthdate", { value: "" });
|
|
26889
26703
|
}, { immediate: !0 });
|
|
26890
26704
|
function C() {
|
|
26891
26705
|
u(({ birthdate: e, familyComposition: t, partnerBirthdate: n }) => {
|
|
@@ -26957,7 +26771,7 @@ var cN = /* @__PURE__ */ c({
|
|
|
26957
26771
|
});
|
|
26958
26772
|
//#endregion
|
|
26959
26773
|
//#region src/comparisons/package/package.presenter.ts
|
|
26960
|
-
function
|
|
26774
|
+
function oN(e) {
|
|
26961
26775
|
return {
|
|
26962
26776
|
comparison: vd.Package,
|
|
26963
26777
|
detail: { partner: { birthdate: e.partnerBirthdate } },
|
|
@@ -26974,21 +26788,21 @@ function dN(e) {
|
|
|
26974
26788
|
}
|
|
26975
26789
|
//#endregion
|
|
26976
26790
|
//#region src/comparisons/package/index.ts
|
|
26977
|
-
var
|
|
26978
|
-
Form: () =>
|
|
26979
|
-
presenter: () =>
|
|
26980
|
-
}),
|
|
26791
|
+
var sN = /* @__PURE__ */ c({
|
|
26792
|
+
Form: () => aN,
|
|
26793
|
+
presenter: () => oN
|
|
26794
|
+
}), cN = {
|
|
26981
26795
|
min: 21,
|
|
26982
26796
|
max: 74
|
|
26983
|
-
},
|
|
26797
|
+
}, lN = {
|
|
26984
26798
|
min: 3500,
|
|
26985
26799
|
max: 75e3
|
|
26986
|
-
},
|
|
26987
|
-
LoanPurpose: ub().required(
|
|
26988
|
-
LoanAmount:
|
|
26989
|
-
birthdate:
|
|
26990
|
-
familyComposition:
|
|
26991
|
-
}),
|
|
26800
|
+
}, uN = Ob({
|
|
26801
|
+
LoanPurpose: ub().required(aM.loan.purposeRequired),
|
|
26802
|
+
LoanAmount: uM(aM.loan.amountRequired).min(lN.min, aM.loan.amountMin(lN.min)).max(lN.max, aM.loan.amountMax(lN.max)),
|
|
26803
|
+
birthdate: sM(cN),
|
|
26804
|
+
familyComposition: fM
|
|
26805
|
+
}), dN = [
|
|
26992
26806
|
{
|
|
26993
26807
|
title: "Aankoop auto",
|
|
26994
26808
|
value: "02"
|
|
@@ -27037,7 +26851,7 @@ var fN = /* @__PURE__ */ c({
|
|
|
27037
26851
|
title: "Anders",
|
|
27038
26852
|
value: "99"
|
|
27039
26853
|
}
|
|
27040
|
-
],
|
|
26854
|
+
], fN = /* @__PURE__ */ L({
|
|
27041
26855
|
__name: "LoanForm",
|
|
27042
26856
|
props: /*@__PURE__*/ Va({
|
|
27043
26857
|
initialData: {},
|
|
@@ -27056,7 +26870,7 @@ var fN = /* @__PURE__ */ c({
|
|
|
27056
26870
|
}),
|
|
27057
26871
|
emits: ["submitted"],
|
|
27058
26872
|
setup(e, { emit: t }) {
|
|
27059
|
-
let n = e, r = _d(n), i = t, { isSubmitting: a, handleSubmit: o, defineField: s } = Vb(
|
|
26873
|
+
let n = e, r = _d(n), i = t, { isSubmitting: a, handleSubmit: o, defineField: s } = Vb(uN, {
|
|
27060
26874
|
LoanPurpose: n.initialData?.LoanPurpose ?? "",
|
|
27061
26875
|
LoanAmount: n.initialData?.LoanAmount ?? null,
|
|
27062
26876
|
birthdate: n.initialData?.birthdate ?? "",
|
|
@@ -27081,7 +26895,7 @@ var fN = /* @__PURE__ */ c({
|
|
|
27081
26895
|
"onUpdate:modelValue": n[0] ||= (e) => /* @__PURE__ */ M(c) ? c.value = e : null,
|
|
27082
26896
|
label: "Leendoel",
|
|
27083
26897
|
placeholder: "Maak een keuze",
|
|
27084
|
-
options: P(
|
|
26898
|
+
options: P(dN),
|
|
27085
26899
|
name: "LoanPurpose",
|
|
27086
26900
|
required: !1,
|
|
27087
26901
|
"error-message": P(u)
|
|
@@ -27140,19 +26954,19 @@ var fN = /* @__PURE__ */ c({
|
|
|
27140
26954
|
});
|
|
27141
26955
|
//#endregion
|
|
27142
26956
|
//#region src/comparisons/loan/loan.presenter.ts
|
|
27143
|
-
function
|
|
27144
|
-
let t =
|
|
26957
|
+
function pN(e) {
|
|
26958
|
+
let t = $j(e, Wj);
|
|
27145
26959
|
if (!t) return 120;
|
|
27146
|
-
let n = t.add(76, "year").diff((0,
|
|
26960
|
+
let n = t.add(76, "year").diff((0, Yj.default)(), "month", !0), r = Math.floor(n / 12) * 12;
|
|
27147
26961
|
return Math.min(r, 120);
|
|
27148
26962
|
}
|
|
27149
|
-
function
|
|
26963
|
+
function mN(e) {
|
|
27150
26964
|
return {
|
|
27151
26965
|
comparison: vd.Loan,
|
|
27152
26966
|
detail: { loan: {
|
|
27153
26967
|
LoanPurpose: e.LoanPurpose,
|
|
27154
26968
|
LoanAmount: e.LoanAmount,
|
|
27155
|
-
MaxDurationByLegalLimit:
|
|
26969
|
+
MaxDurationByLegalLimit: pN(e.birthdate)
|
|
27156
26970
|
} },
|
|
27157
26971
|
user: {
|
|
27158
26972
|
birthdate: e.birthdate,
|
|
@@ -27162,17 +26976,17 @@ function yN(e) {
|
|
|
27162
26976
|
}
|
|
27163
26977
|
//#endregion
|
|
27164
26978
|
//#region src/comparisons/loan/index.ts
|
|
27165
|
-
var
|
|
27166
|
-
Form: () =>
|
|
27167
|
-
presenter: () =>
|
|
27168
|
-
}),
|
|
26979
|
+
var hN = /* @__PURE__ */ c({
|
|
26980
|
+
Form: () => fN,
|
|
26981
|
+
presenter: () => mN
|
|
26982
|
+
}), gN = {
|
|
27169
26983
|
min: 16,
|
|
27170
26984
|
max: 99
|
|
27171
|
-
},
|
|
26985
|
+
}, _N = (e, t) => Ob({
|
|
27172
26986
|
licensePlate: e,
|
|
27173
26987
|
address: t,
|
|
27174
|
-
birthdate:
|
|
27175
|
-
}),
|
|
26988
|
+
birthdate: sM(gN)
|
|
26989
|
+
}), vN = /* @__PURE__ */ L({
|
|
27176
26990
|
__name: "MopedForm",
|
|
27177
26991
|
props: /*@__PURE__*/ Va({
|
|
27178
26992
|
initialData: {},
|
|
@@ -27191,7 +27005,7 @@ var bN = /* @__PURE__ */ c({
|
|
|
27191
27005
|
}),
|
|
27192
27006
|
emits: ["submitted"],
|
|
27193
27007
|
setup(e, { emit: t }) {
|
|
27194
|
-
let n = e, r = _d(n), i = t, { addressSchema: a, draft: o, resolvedAddress: s, additionOptions: c } =
|
|
27008
|
+
let n = e, r = _d(n), i = t, { addressSchema: a, draft: o, resolvedAddress: s, additionOptions: c } = XA({ initial: n.initialData?.address }), { vehicleData: l, licensePlateSchema: u } = gj(vd.Moped, { initialData: n.initialData?.vehicle ?? void 0 }), { isSubmitting: d, handleSubmit: f, defineField: p } = Vb(_N(u, a), {
|
|
27195
27009
|
licensePlate: n.initialData?.licensePlate ?? "",
|
|
27196
27010
|
birthdate: n.initialData?.birthdate ?? "",
|
|
27197
27011
|
address: o
|
|
@@ -27215,7 +27029,7 @@ var bN = /* @__PURE__ */ c({
|
|
|
27215
27029
|
span: "3",
|
|
27216
27030
|
md: "6"
|
|
27217
27031
|
}, {
|
|
27218
|
-
default: F(() => [U(P(
|
|
27032
|
+
default: F(() => [U(P(uj), G({
|
|
27219
27033
|
modelValue: P(m),
|
|
27220
27034
|
"onUpdate:modelValue": n[0] ||= (e) => /* @__PURE__ */ M(m) ? m.value = e : null,
|
|
27221
27035
|
"vehicle-data": P(l),
|
|
@@ -27272,7 +27086,7 @@ var bN = /* @__PURE__ */ c({
|
|
|
27272
27086
|
});
|
|
27273
27087
|
//#endregion
|
|
27274
27088
|
//#region src/comparisons/moped/moped.presenter.ts
|
|
27275
|
-
function
|
|
27089
|
+
function yN(e) {
|
|
27276
27090
|
return {
|
|
27277
27091
|
comparison: vd.Moped,
|
|
27278
27092
|
detail: { moped: { ...e.vehicle } },
|
|
@@ -27289,14 +27103,14 @@ function wN(e) {
|
|
|
27289
27103
|
}
|
|
27290
27104
|
//#endregion
|
|
27291
27105
|
//#region src/comparisons/moped/index.ts
|
|
27292
|
-
var
|
|
27293
|
-
Form: () =>
|
|
27294
|
-
presenter: () =>
|
|
27295
|
-
}),
|
|
27106
|
+
var bN = /* @__PURE__ */ c({
|
|
27107
|
+
Form: () => vN,
|
|
27108
|
+
presenter: () => yN
|
|
27109
|
+
}), xN = (e, t) => Ob({
|
|
27296
27110
|
licensePlate: e,
|
|
27297
27111
|
address: t,
|
|
27298
|
-
birthdate:
|
|
27299
|
-
}),
|
|
27112
|
+
birthdate: sM()
|
|
27113
|
+
}), SN = /* @__PURE__ */ L({
|
|
27300
27114
|
__name: "MotorForm",
|
|
27301
27115
|
props: /*@__PURE__*/ Va({
|
|
27302
27116
|
initialData: {},
|
|
@@ -27315,7 +27129,7 @@ var TN = /* @__PURE__ */ c({
|
|
|
27315
27129
|
}),
|
|
27316
27130
|
emits: ["submitted"],
|
|
27317
27131
|
setup(e, { emit: t }) {
|
|
27318
|
-
let n = e, r = _d(n), i = t, { addressSchema: a, draft: o, resolvedAddress: s, additionOptions: c } =
|
|
27132
|
+
let n = e, r = _d(n), i = t, { addressSchema: a, draft: o, resolvedAddress: s, additionOptions: c } = XA({ initial: n.initialData?.address }), { vehicleData: l, licensePlateSchema: u } = gj(vd.Motor, { initialData: n.initialData?.vehicle ?? void 0 }), { isSubmitting: d, handleSubmit: f, defineField: p } = Vb(xN(u, a), {
|
|
27319
27133
|
licensePlate: n.initialData?.licensePlate ?? "",
|
|
27320
27134
|
birthdate: n.initialData?.birthdate ?? "",
|
|
27321
27135
|
address: o
|
|
@@ -27339,7 +27153,7 @@ var TN = /* @__PURE__ */ c({
|
|
|
27339
27153
|
span: "3",
|
|
27340
27154
|
md: "6"
|
|
27341
27155
|
}, {
|
|
27342
|
-
default: F(() => [U(P(
|
|
27156
|
+
default: F(() => [U(P(uj), G({
|
|
27343
27157
|
modelValue: P(m),
|
|
27344
27158
|
"onUpdate:modelValue": n[0] ||= (e) => /* @__PURE__ */ M(m) ? m.value = e : null,
|
|
27345
27159
|
"vehicle-data": P(l),
|
|
@@ -27396,7 +27210,7 @@ var TN = /* @__PURE__ */ c({
|
|
|
27396
27210
|
});
|
|
27397
27211
|
//#endregion
|
|
27398
27212
|
//#region src/comparisons/motor/motor.presenter.ts
|
|
27399
|
-
function
|
|
27213
|
+
function CN(e) {
|
|
27400
27214
|
return {
|
|
27401
27215
|
comparison: vd.Motor,
|
|
27402
27216
|
detail: { motor: { ...e.vehicle } },
|
|
@@ -27413,14 +27227,14 @@ function ON(e) {
|
|
|
27413
27227
|
}
|
|
27414
27228
|
//#endregion
|
|
27415
27229
|
//#region src/comparisons/motor/index.ts
|
|
27416
|
-
var
|
|
27417
|
-
Form: () =>
|
|
27418
|
-
presenter: () =>
|
|
27419
|
-
}),
|
|
27230
|
+
var wN = /* @__PURE__ */ c({
|
|
27231
|
+
Form: () => SN,
|
|
27232
|
+
presenter: () => CN
|
|
27233
|
+
}), TN = (e, t) => Ob({
|
|
27420
27234
|
licensePlate: e,
|
|
27421
27235
|
address: t,
|
|
27422
|
-
birthdate:
|
|
27423
|
-
}),
|
|
27236
|
+
birthdate: sM()
|
|
27237
|
+
}), EN = /* @__PURE__ */ L({
|
|
27424
27238
|
__name: "CarForm",
|
|
27425
27239
|
props: /*@__PURE__*/ Va({
|
|
27426
27240
|
initialData: {},
|
|
@@ -27439,7 +27253,7 @@ var kN = /* @__PURE__ */ c({
|
|
|
27439
27253
|
}),
|
|
27440
27254
|
emits: ["submitted"],
|
|
27441
27255
|
setup(e, { emit: t }) {
|
|
27442
|
-
let n = e, r = _d(n), i = t, { addressSchema: a, draft: o, resolvedAddress: s, additionOptions: c } =
|
|
27256
|
+
let n = e, r = _d(n), i = t, { addressSchema: a, draft: o, resolvedAddress: s, additionOptions: c } = XA({ initial: n.initialData?.address }), { vehicleData: l, licensePlateSchema: u } = gj(vd.Car, { initialData: n.initialData?.vehicle ?? void 0 }), { isSubmitting: d, handleSubmit: f, defineField: p } = Vb(TN(u, a), {
|
|
27443
27257
|
licensePlate: n.initialData?.licensePlate ?? "",
|
|
27444
27258
|
birthdate: n.initialData?.birthdate ?? "",
|
|
27445
27259
|
address: o
|
|
@@ -27463,7 +27277,7 @@ var kN = /* @__PURE__ */ c({
|
|
|
27463
27277
|
span: "3",
|
|
27464
27278
|
md: "6"
|
|
27465
27279
|
}, {
|
|
27466
|
-
default: F(() => [U(P(
|
|
27280
|
+
default: F(() => [U(P(uj), G({
|
|
27467
27281
|
modelValue: P(m),
|
|
27468
27282
|
"onUpdate:modelValue": n[0] ||= (e) => /* @__PURE__ */ M(m) ? m.value = e : null,
|
|
27469
27283
|
"vehicle-data": P(l),
|
|
@@ -27520,7 +27334,7 @@ var kN = /* @__PURE__ */ c({
|
|
|
27520
27334
|
});
|
|
27521
27335
|
//#endregion
|
|
27522
27336
|
//#region src/comparisons/car/car.presenter.ts
|
|
27523
|
-
function
|
|
27337
|
+
function DN(e) {
|
|
27524
27338
|
return {
|
|
27525
27339
|
comparison: vd.Car,
|
|
27526
27340
|
detail: { car: { ...e.vehicle } },
|
|
@@ -27537,13 +27351,13 @@ function MN(e) {
|
|
|
27537
27351
|
}
|
|
27538
27352
|
//#endregion
|
|
27539
27353
|
//#region src/comparisons/car/index.ts
|
|
27540
|
-
var
|
|
27541
|
-
Form: () =>
|
|
27542
|
-
presenter: () =>
|
|
27543
|
-
}),
|
|
27354
|
+
var ON = /* @__PURE__ */ c({
|
|
27355
|
+
Form: () => EN,
|
|
27356
|
+
presenter: () => DN
|
|
27357
|
+
}), kN = (e) => Ob({
|
|
27544
27358
|
licensePlate: e,
|
|
27545
|
-
company:
|
|
27546
|
-
}),
|
|
27359
|
+
company: Hj()
|
|
27360
|
+
}), AN = /* @__PURE__ */ L({
|
|
27547
27361
|
__name: "BusinessCarForm",
|
|
27548
27362
|
props: /*@__PURE__*/ Va({
|
|
27549
27363
|
initialData: {},
|
|
@@ -27562,7 +27376,7 @@ var NN = /* @__PURE__ */ c({
|
|
|
27562
27376
|
}),
|
|
27563
27377
|
emits: ["submitted"],
|
|
27564
27378
|
setup(e, { emit: t }) {
|
|
27565
|
-
let n = e, r = _d(n), i = t, { vehicleData: a, licensePlateSchema: o } =
|
|
27379
|
+
let n = e, r = _d(n), i = t, { vehicleData: a, licensePlateSchema: o } = gj(vd.Car, { initialData: n.initialData?.vehicle ?? void 0 }), { isSubmitting: s, handleSubmit: c, defineField: l, setErrors: u, removeError: d } = Vb(kN(o), {
|
|
27566
27380
|
licensePlate: n.initialData?.licensePlate ?? "",
|
|
27567
27381
|
company: n.initialData?.company ?? null
|
|
27568
27382
|
}), [f, p, m, h] = l("licensePlate"), [g, _, v] = l("company"), y = (e) => e ? u({ company: e }) : d("company"), b = K(() => !!g.value && !g.value.hasVisitingAddress);
|
|
@@ -27583,7 +27397,7 @@ var NN = /* @__PURE__ */ c({
|
|
|
27583
27397
|
span: "5",
|
|
27584
27398
|
md: "6"
|
|
27585
27399
|
}, {
|
|
27586
|
-
default: F(() => [U(P(
|
|
27400
|
+
default: F(() => [U(P(uj), G({
|
|
27587
27401
|
modelValue: P(f),
|
|
27588
27402
|
"onUpdate:modelValue": n[0] ||= (e) => /* @__PURE__ */ M(f) ? f.value = e : null,
|
|
27589
27403
|
"vehicle-data": P(a),
|
|
@@ -27613,7 +27427,7 @@ var NN = /* @__PURE__ */ c({
|
|
|
27613
27427
|
span: "5",
|
|
27614
27428
|
md: "6"
|
|
27615
27429
|
}, {
|
|
27616
|
-
default: F(() => [U(P(
|
|
27430
|
+
default: F(() => [U(P(Vj), G({
|
|
27617
27431
|
modelValue: P(g),
|
|
27618
27432
|
"onUpdate:modelValue": n[2] ||= (e) => /* @__PURE__ */ M(g) ? g.value = e : null,
|
|
27619
27433
|
name: "company",
|
|
@@ -27642,7 +27456,7 @@ var NN = /* @__PURE__ */ c({
|
|
|
27642
27456
|
});
|
|
27643
27457
|
//#endregion
|
|
27644
27458
|
//#region src/comparisons/car-business/businessCar.presenter.ts
|
|
27645
|
-
function
|
|
27459
|
+
function jN(e) {
|
|
27646
27460
|
return {
|
|
27647
27461
|
comparison: vd.CarBusiness,
|
|
27648
27462
|
detail: {
|
|
@@ -27654,10 +27468,10 @@ function IN(e) {
|
|
|
27654
27468
|
}
|
|
27655
27469
|
//#endregion
|
|
27656
27470
|
//#region src/comparisons/car-business/index.ts
|
|
27657
|
-
var
|
|
27658
|
-
Form: () =>
|
|
27659
|
-
presenter: () =>
|
|
27660
|
-
}),
|
|
27471
|
+
var MN = /* @__PURE__ */ c({
|
|
27472
|
+
Form: () => AN,
|
|
27473
|
+
presenter: () => jN
|
|
27474
|
+
}), NN = Ob({ company: Hj() }), PN = /* @__PURE__ */ L({
|
|
27661
27475
|
__name: "BusinessLiabilityForm",
|
|
27662
27476
|
props: /*@__PURE__*/ Va({
|
|
27663
27477
|
initialData: {},
|
|
@@ -27678,7 +27492,7 @@ var LN = /* @__PURE__ */ c({
|
|
|
27678
27492
|
}),
|
|
27679
27493
|
emits: ["submitted"],
|
|
27680
27494
|
setup(e, { emit: t }) {
|
|
27681
|
-
let n = e, r = _d(n), i = t, { isSubmitting: a, handleSubmit: o, defineField: s, setErrors: c, removeError: l } = Vb(
|
|
27495
|
+
let n = e, r = _d(n), i = t, { isSubmitting: a, handleSubmit: o, defineField: s, setErrors: c, removeError: l } = Vb(NN, { company: n.initialData?.company ?? null }), [u, d, f] = s("company"), p = (e) => e ? c({ company: e }) : l("company"), m = K(() => !!u.value && !u.value.hasVisitingAddress);
|
|
27682
27496
|
function h() {
|
|
27683
27497
|
o(({ company: e }) => {
|
|
27684
27498
|
i("submitted", { company: e });
|
|
@@ -27693,7 +27507,7 @@ var LN = /* @__PURE__ */ c({
|
|
|
27693
27507
|
span: "8",
|
|
27694
27508
|
md: "6"
|
|
27695
27509
|
}, {
|
|
27696
|
-
default: F(() => [U(P(
|
|
27510
|
+
default: F(() => [U(P(Vj), G({
|
|
27697
27511
|
modelValue: P(u),
|
|
27698
27512
|
"onUpdate:modelValue": t[0] ||= (e) => /* @__PURE__ */ M(u) ? u.value = e : null,
|
|
27699
27513
|
name: "company",
|
|
@@ -27722,7 +27536,7 @@ var LN = /* @__PURE__ */ c({
|
|
|
27722
27536
|
});
|
|
27723
27537
|
//#endregion
|
|
27724
27538
|
//#region src/comparisons/businessLiability/businessLiability.presenter.ts
|
|
27725
|
-
function
|
|
27539
|
+
function FN(e) {
|
|
27726
27540
|
return {
|
|
27727
27541
|
comparison: vd.BusinessLiability,
|
|
27728
27542
|
detail: { companyData: { ...e.company } },
|
|
@@ -27731,29 +27545,29 @@ function BN(e) {
|
|
|
27731
27545
|
}
|
|
27732
27546
|
//#endregion
|
|
27733
27547
|
//#region src/comparisons/businessLiability/index.ts
|
|
27734
|
-
var
|
|
27735
|
-
Form: () =>
|
|
27736
|
-
presenter: () =>
|
|
27737
|
-
}),
|
|
27738
|
-
[vd.Bike]:
|
|
27739
|
-
[vd.Pet]:
|
|
27740
|
-
[vd.Caravan]:
|
|
27741
|
-
[vd.Travel]:
|
|
27742
|
-
[vd.Liability]:
|
|
27743
|
-
[vd.Housing]:
|
|
27744
|
-
house:
|
|
27745
|
-
[vd.LegalAssistance]:
|
|
27746
|
-
[vd.Package]:
|
|
27747
|
-
[vd.Loan]:
|
|
27748
|
-
[vd.Moped]:
|
|
27749
|
-
[vd.Motor]:
|
|
27750
|
-
[vd.Car]:
|
|
27751
|
-
[vd.CarBusiness]:
|
|
27752
|
-
"business-car":
|
|
27753
|
-
[vd.BusinessLiability]:
|
|
27754
|
-
},
|
|
27548
|
+
var IN = /* @__PURE__ */ c({
|
|
27549
|
+
Form: () => PN,
|
|
27550
|
+
presenter: () => FN
|
|
27551
|
+
}), LN = {
|
|
27552
|
+
[vd.Bike]: TM,
|
|
27553
|
+
[vd.Pet]: jM,
|
|
27554
|
+
[vd.Caravan]: RM,
|
|
27555
|
+
[vd.Travel]: WM,
|
|
27556
|
+
[vd.Liability]: JM,
|
|
27557
|
+
[vd.Housing]: $M,
|
|
27558
|
+
house: $M,
|
|
27559
|
+
[vd.LegalAssistance]: rN,
|
|
27560
|
+
[vd.Package]: sN,
|
|
27561
|
+
[vd.Loan]: hN,
|
|
27562
|
+
[vd.Moped]: bN,
|
|
27563
|
+
[vd.Motor]: wN,
|
|
27564
|
+
[vd.Car]: ON,
|
|
27565
|
+
[vd.CarBusiness]: MN,
|
|
27566
|
+
"business-car": MN,
|
|
27567
|
+
[vd.BusinessLiability]: IN
|
|
27568
|
+
}, RN = { [vd.Travel]: "/tarieven/" }, zN = (e, t, n) => `${e}#/${n}${RN[t] ?? ""}`, BN = (e) => {
|
|
27755
27569
|
window.location.href = e;
|
|
27756
|
-
},
|
|
27570
|
+
}, VN = ({ user: e, detail: t }) => new DA.User({
|
|
27757
27571
|
email: e.email || null,
|
|
27758
27572
|
name: e.firstName || null,
|
|
27759
27573
|
zip_code: e.zipCode || null,
|
|
@@ -27767,14 +27581,14 @@ var VN = /* @__PURE__ */ c({
|
|
|
27767
27581
|
...e.city && { city: e.city }
|
|
27768
27582
|
}
|
|
27769
27583
|
});
|
|
27770
|
-
function
|
|
27584
|
+
function HN(e) {
|
|
27771
27585
|
let t = /* @__PURE__ */ N(!1), n = /* @__PURE__ */ N(null);
|
|
27772
27586
|
return {
|
|
27773
27587
|
submit: async (r) => {
|
|
27774
27588
|
t.value = !0, n.value = null;
|
|
27775
27589
|
try {
|
|
27776
|
-
let t = await
|
|
27777
|
-
e.onRedirect ? e.onRedirect(n) :
|
|
27590
|
+
let t = await FA().comparisonService.create(r.comparison, VN(r)), n = zN(e.link, r.comparison, t.getId());
|
|
27591
|
+
e.onRedirect ? e.onRedirect(n) : BN(n);
|
|
27778
27592
|
} catch (t) {
|
|
27779
27593
|
n.value = t, e.onError?.(t, r);
|
|
27780
27594
|
} finally {
|
|
@@ -27787,7 +27601,7 @@ function qN(e) {
|
|
|
27787
27601
|
}
|
|
27788
27602
|
//#endregion
|
|
27789
27603
|
//#region src/flow/ComparisonFormFlow.vue
|
|
27790
|
-
var
|
|
27604
|
+
var UN = /* @__PURE__ */ L({
|
|
27791
27605
|
__name: "ComparisonFormFlow",
|
|
27792
27606
|
props: {
|
|
27793
27607
|
form: {},
|
|
@@ -27818,7 +27632,7 @@ var JN = /* @__PURE__ */ L({
|
|
|
27818
27632
|
},
|
|
27819
27633
|
emits: ["submitted", "error"],
|
|
27820
27634
|
setup(e, { emit: t }) {
|
|
27821
|
-
let n = e, r = t, i = _d(n), a = K(() =>
|
|
27635
|
+
let n = e, r = t, i = _d(n), a = K(() => LN[n.form]), { submit: o, isSubmitting: s } = HN({
|
|
27822
27636
|
link: n.link,
|
|
27823
27637
|
onRedirect: (e) => {
|
|
27824
27638
|
r("submitted", e), n.redirect ? n.redirect(e) : window.location.href = e;
|
|
@@ -27834,13 +27648,11 @@ var JN = /* @__PURE__ */ L({
|
|
|
27834
27648
|
onSubmitted: c
|
|
27835
27649
|
}), null, 16, ["initial-data", "submit-disabled"])) : W("", !0);
|
|
27836
27650
|
}
|
|
27837
|
-
}),
|
|
27651
|
+
}), WN = /* @__PURE__ */ kl(/* @__PURE__ */ L({
|
|
27838
27652
|
__name: "ComparisonFormFlow.ce",
|
|
27839
27653
|
props: {
|
|
27840
27654
|
initialData: { type: [Object, String] },
|
|
27841
27655
|
apiUrl: { type: String },
|
|
27842
|
-
mijnUrl: { type: String },
|
|
27843
|
-
qaUrl: { type: String },
|
|
27844
27656
|
form: { type: null },
|
|
27845
27657
|
link: { type: String },
|
|
27846
27658
|
redirect: { type: Function },
|
|
@@ -27868,28 +27680,24 @@ var JN = /* @__PURE__ */ L({
|
|
|
27868
27680
|
},
|
|
27869
27681
|
emits: ["submitted", "error"],
|
|
27870
27682
|
setup(e, { emit: t }) {
|
|
27871
|
-
let n = e, r = Yu(n, "apiUrl", "
|
|
27683
|
+
let n = e, r = Yu(n, "apiUrl", "initialData"), i = t, a = K(() => rM(n.initialData)), o = K(() => a.value.data);
|
|
27872
27684
|
I(a, ({ error: e }) => {
|
|
27873
27685
|
e && i("error", e);
|
|
27874
27686
|
}, { immediate: !0 });
|
|
27875
27687
|
let s = /* @__PURE__ */ N(!1);
|
|
27876
27688
|
return ia(async () => {
|
|
27877
27689
|
try {
|
|
27878
|
-
await
|
|
27879
|
-
api: n.apiUrl ? { url: n.apiUrl } : void 0,
|
|
27880
|
-
mijn: n.mijnUrl ? { url: n.mijnUrl } : void 0,
|
|
27881
|
-
qa: n.qaUrl ? { url: n.qaUrl } : void 0
|
|
27882
|
-
}), s.value = !0;
|
|
27690
|
+
await PA(n.apiUrl ?? ""), s.value = !0;
|
|
27883
27691
|
} catch (e) {
|
|
27884
27692
|
i("error", e);
|
|
27885
27693
|
}
|
|
27886
|
-
}), (e, t) => s.value ? (z(), V(
|
|
27694
|
+
}), (e, t) => s.value ? (z(), V(UN, G({ key: 0 }, P(r), {
|
|
27887
27695
|
"initial-data": o.value,
|
|
27888
27696
|
onSubmitted: t[0] ||= (e) => i("submitted", e),
|
|
27889
27697
|
onError: t[1] ||= (e, t) => i("error", e, t)
|
|
27890
27698
|
}), null, 16, ["initial-data"])) : W("", !0);
|
|
27891
27699
|
}
|
|
27892
27700
|
}), { shadowRoot: !1 });
|
|
27893
|
-
customElements.define("vd-comparison-form",
|
|
27701
|
+
customElements.define("vd-comparison-form", WN);
|
|
27894
27702
|
//#endregion
|
|
27895
|
-
export {
|
|
27703
|
+
export { WN as VdComparisonFormElement };
|