@vergelijkdirect/comparison-forms 1.3.17-ver-8380.1 → 1.3.17-ver-8380.3

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.
Files changed (68) hide show
  1. package/dist-rollup/comparison-forms.js +30270 -6
  2. package/dist-rollup/comparison-forms.umd.cjs +29 -15
  3. package/package.json +4 -7
  4. package/dist-rollup/AddressHandler-jwYRDHTI.js +0 -288
  5. package/dist-rollup/BikeForm-30I53uCm.js +0 -126
  6. package/dist-rollup/BikeFormHorizontal-u1PW-9KV.js +0 -126
  7. package/dist-rollup/BirthdateInput-1tsGzxTx.js +0 -84
  8. package/dist-rollup/BusinessCarForm-oeBpet3X.js +0 -119
  9. package/dist-rollup/BusinessCarFormHorizontal-lBxuzRso.js +0 -119
  10. package/dist-rollup/CarForm-xTslX4mq.js +0 -102
  11. package/dist-rollup/CarFormHorizontal-z_-Ew9Ji.js +0 -101
  12. package/dist-rollup/CaravanForm-BWUCqXZ8.js +0 -137
  13. package/dist-rollup/CaravanFormHorizontal-qVPTYW4D.js +0 -137
  14. package/dist-rollup/CaravanFormOld-JaY01RDW.js +0 -130
  15. package/dist-rollup/DefaultForm-4umbLheg.js +0 -60
  16. package/dist-rollup/DefaultInput-zxU1ufPA.js +0 -435
  17. package/dist-rollup/DefaultPlainRadioGroup-i8P1ACl4.js +0 -145
  18. package/dist-rollup/DefaultSelect-t64f_R7v.js +0 -93
  19. package/dist-rollup/ErrorHandler-9Zxi6g3R.js +0 -45
  20. package/dist-rollup/FamilyCompositionInput-dWbnEFac.js +0 -51
  21. package/dist-rollup/HouseForm-ga4I0nPa.js +0 -105
  22. package/dist-rollup/HouseFormHorizontal-zcNNDuDQ.js +0 -104
  23. package/dist-rollup/LegalAssistanceForm-M2yX72hT.js +0 -109
  24. package/dist-rollup/LegalAssistanceFormHorizontal-NztH_5Yq.js +0 -108
  25. package/dist-rollup/LiabilityForm-D09YaRGm.js +0 -102
  26. package/dist-rollup/LiabilityFormHorizontal-nV1JerpT.js +0 -102
  27. package/dist-rollup/LicensePlate-BMeYEcIe.js +0 -505
  28. package/dist-rollup/Loader-_esX79Uz.js +0 -1105
  29. package/dist-rollup/ManualNewValueModal-S0C68NGl.js +0 -2586
  30. package/dist-rollup/MopedForm-ZL3526H3.js +0 -112
  31. package/dist-rollup/MopedFormHorizontal-6btf9cMz.js +0 -112
  32. package/dist-rollup/MotorForm-M6FHM1pV.js +0 -111
  33. package/dist-rollup/MotorFormHorizontal-NcCjW3P5.js +0 -105
  34. package/dist-rollup/PackageForm-HcPVbqOI.js +0 -305
  35. package/dist-rollup/PetForm-OvLvibk1.js +0 -115
  36. package/dist-rollup/PetFormHorizontal-u7P_iNbx.js +0 -124
  37. package/dist-rollup/PetFormOld-9yiD9akJ.js +0 -126
  38. package/dist-rollup/PhoneInput-l6YwvwSj.js +0 -131
  39. package/dist-rollup/QuestionnaireForm-mDU7NBoo.js +0 -64
  40. package/dist-rollup/QuotationForm-j1i5zScM.js +0 -183
  41. package/dist-rollup/RiskScannerForm-JGojbshZ.js +0 -152
  42. package/dist-rollup/SearchableSelect-1GCKHHKe.js +0 -232
  43. package/dist-rollup/Session.util-aedjr12J.js +0 -42
  44. package/dist-rollup/SimpleCard-_Mg9wAqJ.js +0 -50
  45. package/dist-rollup/TravelForm-goy4CZNN.js +0 -117
  46. package/dist-rollup/TravelFormHorizontal-q396jXWh.js +0 -117
  47. package/dist-rollup/TravelFormOld-83YKTgP8.js +0 -123
  48. package/dist-rollup/ZipcodeInput-z5W6JSl0.js +0 -61
  49. package/dist-rollup/_commonjsHelpers-4t9S7M5p.js +0 -30
  50. package/dist-rollup/array.util-agNtEyks.js +0 -16
  51. package/dist-rollup/bikeBrands.model-FYepHp3k.js +0 -338
  52. package/dist-rollup/businessCar-Mt6F5U-j.js +0 -188
  53. package/dist-rollup/car-oIzIKvsB.js +0 -85
  54. package/dist-rollup/common-J_DOueuE.js +0 -1577
  55. package/dist-rollup/createLoanComparisonForm-T4s_32PC.js +0 -96
  56. package/dist-rollup/familyComposition.model-1F80igwZ.js +0 -21
  57. package/dist-rollup/familySize.model-9dESnIuL.js +0 -98
  58. package/dist-rollup/form-radio-group-J-EQJhh9.js +0 -1238
  59. package/dist-rollup/house-iRMRIU6o.js +0 -73
  60. package/dist-rollup/index-WjnHra7k.js +0 -619
  61. package/dist-rollup/liability-W6z2ze1t.js +0 -73
  62. package/dist-rollup/loanPurpose-nICjCm1d.js +0 -273
  63. package/dist-rollup/moped-T6_xyOsb.js +0 -84
  64. package/dist-rollup/motor-fCU2n3O5.js +0 -83
  65. package/dist-rollup/paymentTerms.model-J3WNhgPU.js +0 -145
  66. package/dist-rollup/updateLoanComparisonForm-iyTnJD5A.js +0 -92
  67. package/dist-rollup/useSkipUpdateComparison-WseHt-cH.js +0 -437
  68. package/dist-rollup/vue-popper.min-O3ciEEKg.js +0 -1159
@@ -1,84 +0,0 @@
1
- import { defineComponent as i, ref as m, computed as d } from "vue";
2
- import l from "moment";
3
- import { h as p, n as c } from "./index-WjnHra7k.js";
4
- import { D as f } from "./DefaultInput-zxU1ufPA.js";
5
- import { E as _ } from "./ErrorHandler-9Zxi6g3R.js";
6
- function g(t) {
7
- return t.valueOf().toString().substr(6, 12);
8
- }
9
- function b() {
10
- function t(e) {
11
- const r = g(/* @__PURE__ */ new Date());
12
- return `${e}-${r}`;
13
- }
14
- return {
15
- inputId: t
16
- };
17
- }
18
- const h = i({
19
- name: "BirthdateInput",
20
- components: {
21
- ErrorHandler: _,
22
- DefaultInput: f
23
- },
24
- props: {
25
- agesRange: {
26
- required: !1,
27
- default: () => ({
28
- min: 18,
29
- max: 99
30
- })
31
- },
32
- label: {
33
- required: !1,
34
- default: "Geboortedatum"
35
- }
36
- },
37
- setup(t, { attrs: e, listeners: r }) {
38
- const { inputId: s } = b(), n = m(+l().format("YYYY")), u = d(() => [
39
- {
40
- rule: "required",
41
- text: "Geboortedatum is verplicht"
42
- },
43
- {
44
- rule: "date_format",
45
- text: "Geboortedatum is incorrect"
46
- },
47
- {
48
- rule: "ageRange",
49
- text: `Je dient tussen ${n.value - t.agesRange.max} en ${n.value - t.agesRange.min} te zijn geboren`
50
- }
51
- ]);
52
- return {
53
- hasNewDesign: p,
54
- attrs: e,
55
- listeners: r,
56
- errorsData: u,
57
- currentYear: n,
58
- inputId: s
59
- };
60
- }
61
- });
62
- var a = function() {
63
- var e = this, r = e._self._c;
64
- return e._self._setupProxy, r("DefaultInput", e._g(e._b({ attrs: { id: e.inputId("birthdate"), name: "birthdate", type: "text", placeholder: "DD-MM-JJJJ", label: e.label, mask: "##-##-####", validation: `required|date_format:dd-MM-yyyy|ageRange:${e.agesRange.min},${e.agesRange.max}`, "is-required": !0 }, scopedSlots: e._u([{ key: "error-messages", fn: function() {
65
- return [r("ErrorHandler", { attrs: { name: "birthdate", "errors-data": e.errorsData } })];
66
- }, proxy: !0 }]) }, "DefaultInput", e.attrs, !1), e.listeners));
67
- }, v = [];
68
- a._withStripped = !0;
69
- var o = /* @__PURE__ */ c(
70
- h,
71
- a,
72
- v,
73
- !1,
74
- null,
75
- null,
76
- null,
77
- null
78
- );
79
- o.options.__file = "/Users/vergelijkdirect/Documents/projects/comparison-forms/src/components/common/inputs/BirthdateInput.vue";
80
- const q = o.exports;
81
- export {
82
- q as B,
83
- b as u
84
- };
@@ -1,119 +0,0 @@
1
- var f = Object.defineProperty;
2
- var r = Object.getOwnPropertySymbols;
3
- var v = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
4
- var i = (a, e, t) => e in a ? f(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t, n = (a, e) => {
5
- for (var t in e || (e = {}))
6
- v.call(e, t) && i(a, t, e[t]);
7
- if (r)
8
- for (var t of r(e))
9
- _.call(e, t) && i(a, t, e[t]);
10
- return a;
11
- };
12
- import { defineComponent as C } from "vue";
13
- import { F as S, a as o, c as b, e as y, i as g, n as L } from "./index-WjnHra7k.js";
14
- import { u as h } from "./businessCar-Mt6F5U-j.js";
15
- import { S as k } from "./SimpleCard-_Mg9wAqJ.js";
16
- import { L as q } from "./LicensePlate-BMeYEcIe.js";
17
- import { C as D, L as j } from "./Loader-_esX79Uz.js";
18
- import "@vergelijkdirect/insurance-transmission-client";
19
- import "vee-validate";
20
- import "moment";
21
- import "./common-J_DOueuE.js";
22
- import "./Session.util-aedjr12J.js";
23
- import "./array.util-agNtEyks.js";
24
- import "./_commonjsHelpers-4t9S7M5p.js";
25
- import "./ErrorHandler-9Zxi6g3R.js";
26
- const B = C({
27
- name: "BusinessCarForm",
28
- components: {
29
- SimpleCard: k,
30
- LicensePlate: q,
31
- CompaniesListSelect: D,
32
- Loader: j
33
- },
34
- props: {
35
- link: {
36
- type: String,
37
- required: !1
38
- },
39
- classes: {
40
- required: !1,
41
- type: String,
42
- default: ""
43
- },
44
- title: {
45
- type: String,
46
- required: !1,
47
- default: "Zakelijke autoverzekering vergelijken"
48
- },
49
- showTitle: {
50
- required: !1,
51
- type: Boolean,
52
- default: !0
53
- },
54
- buttonOptions: {
55
- required: !1
56
- },
57
- insuranceState: {
58
- required: !1,
59
- default() {
60
- return {};
61
- }
62
- },
63
- formLocation: {
64
- type: String,
65
- required: !1,
66
- default: S.isBeforeFlow
67
- }
68
- },
69
- setup(a, { emit: e }) {
70
- const {
71
- hasCompaniesListValidationError: t,
72
- isMultiselectReady: s,
73
- onLicenseInput: m,
74
- onLicenseError: p,
75
- validateBeforeSubmit: d
76
- } = h(a, e);
77
- return {
78
- businessState: o,
79
- carState: b,
80
- errors: y,
81
- isRequestIsHandling: g,
82
- hasCompaniesListValidationError: t,
83
- isMultiselectReady: s,
84
- onLicenseInput: m,
85
- onLicenseError: p,
86
- updateCompanyData: (u) => {
87
- o.companyData = n({}, u);
88
- },
89
- validateBeforeSubmit: d
90
- };
91
- }
92
- });
93
- var l = function() {
94
- var e = this, t = e._self._c;
95
- return e._self._setupProxy, t("simple-card", { staticClass: "vd-form-card vd-new-form", class: { [e.classes]: !!e.classes } }, [t("div", { staticClass: "vd-form-card__header" }, [e.showTitle ? t("p", { staticClass: "vd-form-card__title" }, [e._v(" " + e._s(e.title) + " ")]) : e._e()]), t("div", { staticClass: "vd-form-card__content" }, [t("license-plate", { attrs: { id: "license", "vehicle-types": [
96
- "Car",
97
- "Van"
98
- ], "vehicle-type": "car", "insurance-dutch-naming": "auto", "prop-vehicle-information": e.carState, name: "license", "vd-form-version": "1" }, on: { input: e.onLicenseInput, "on-error": e.onLicenseError, "on-vehicle-information-update": (s) => Object.assign(e.carState, s) }, model: { value: e.carState.LicensePlate, callback: function(s) {
99
- e.$set(e.carState, "LicensePlate", s);
100
- }, expression: "carState.LicensePlate" } }), t("div", { staticClass: "vd-form-group" }, [t("label", { staticClass: "vd-form-group__label", attrs: { for: "search-select-input" } }, [e._v(" Selecteer de naam van je bedrijf "), t("span", { staticClass: "text-danger mr-3 mt-2" }, [e._v("*")])]), e.isMultiselectReady ? t("companies-list-select", { attrs: { "has-companies-list-validation-error": e.hasCompaniesListValidationError, "company-data": e.businessState.companyData }, on: { "update-company-data": e.updateCompanyData }, model: { value: e.businessState.companyData, callback: function(s) {
101
- e.$set(e.businessState, "companyData", s);
102
- }, expression: "businessState.companyData" } }) : t("loader")], 1)], 1), t("div", { staticClass: "vd-form-card__footer" }, [t("button", { staticClass: "vd-btn vd-btn-green vd-btn-w-100", attrs: { disabled: e.isRequestIsHandling }, on: { click: e.validateBeforeSubmit } }, [e._v(" Vergelijken ")])])]);
103
- }, F = [];
104
- l._withStripped = !0;
105
- var c = /* @__PURE__ */ L(
106
- B,
107
- l,
108
- F,
109
- !1,
110
- null,
111
- null,
112
- null,
113
- null
114
- );
115
- c.options.__file = "/Users/vergelijkdirect/Documents/projects/comparison-forms/src/insurances/business/businessCar/components/BusinessCarForm.vue";
116
- const G = c.exports;
117
- export {
118
- G as default
119
- };
@@ -1,119 +0,0 @@
1
- var f = Object.defineProperty;
2
- var r = Object.getOwnPropertySymbols;
3
- var v = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
4
- var n = (a, e, t) => e in a ? f(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t, i = (a, e) => {
5
- for (var t in e || (e = {}))
6
- v.call(e, t) && n(a, t, e[t]);
7
- if (r)
8
- for (var t of r(e))
9
- _.call(e, t) && n(a, t, e[t]);
10
- return a;
11
- };
12
- import { defineComponent as C } from "vue";
13
- import { F as S, a as o, c as b, e as y, i as g, n as L } from "./index-WjnHra7k.js";
14
- import { u as h } from "./businessCar-Mt6F5U-j.js";
15
- import { S as k } from "./SimpleCard-_Mg9wAqJ.js";
16
- import { L as q } from "./LicensePlate-BMeYEcIe.js";
17
- import { C as D, L as j } from "./Loader-_esX79Uz.js";
18
- import "@vergelijkdirect/insurance-transmission-client";
19
- import "vee-validate";
20
- import "moment";
21
- import "./common-J_DOueuE.js";
22
- import "./Session.util-aedjr12J.js";
23
- import "./array.util-agNtEyks.js";
24
- import "./_commonjsHelpers-4t9S7M5p.js";
25
- import "./ErrorHandler-9Zxi6g3R.js";
26
- const B = C({
27
- name: "BusinessCarFormHorizontal",
28
- components: {
29
- SimpleCard: k,
30
- LicensePlate: q,
31
- CompaniesListSelect: D,
32
- Loader: j
33
- },
34
- props: {
35
- link: {
36
- type: String,
37
- required: !1
38
- },
39
- classes: {
40
- required: !1,
41
- type: String,
42
- default: ""
43
- },
44
- title: {
45
- type: String,
46
- required: !1,
47
- default: "Zakelijke autoverzekering vergelijken"
48
- },
49
- showTitle: {
50
- required: !1,
51
- type: Boolean,
52
- default: !0
53
- },
54
- buttonOptions: {
55
- required: !1
56
- },
57
- insuranceState: {
58
- required: !1,
59
- default() {
60
- return {};
61
- }
62
- },
63
- formLocation: {
64
- type: String,
65
- required: !1,
66
- default: S.isBeforeFlow
67
- }
68
- },
69
- setup(a, { emit: e }) {
70
- const {
71
- hasCompaniesListValidationError: t,
72
- isMultiselectReady: s,
73
- onLicenseInput: m,
74
- onLicenseError: p,
75
- validateBeforeSubmit: u
76
- } = h(a, e);
77
- return {
78
- businessState: o,
79
- carState: b,
80
- errors: y,
81
- isRequestIsHandling: g,
82
- hasCompaniesListValidationError: t,
83
- isMultiselectReady: s,
84
- onLicenseInput: m,
85
- onLicenseError: p,
86
- updateCompanyData: (d) => {
87
- o.companyData = i({}, d);
88
- },
89
- validateBeforeSubmit: u
90
- };
91
- }
92
- });
93
- var l = function() {
94
- var e = this, t = e._self._c;
95
- return e._self._setupProxy, t("simple-card", { staticClass: "vd-form-card vd-new-form vd-form-card--horizontal", class: { [e.classes]: !!e.classes }, attrs: { "has-new-style": !0 } }, [e.showTitle ? t("p", { staticClass: "vd-form-card__title" }, [e._v(" " + e._s(e.title) + " ")]) : e._e(), t("div", { staticClass: "vd-form-card__content vd-form-card__content-car-business" }, [t("license-plate", { attrs: { id: "license", "vehicle-types": [
96
- "Car",
97
- "Van"
98
- ], "vehicle-type": "car", "insurance-dutch-naming": "auto", "prop-vehicle-information": e.carState, name: "license" }, on: { input: e.onLicenseInput, "on-error": e.onLicenseError, "on-vehicle-information-update": (s) => Object.assign(e.carState, s) }, model: { value: e.carState.LicensePlate, callback: function(s) {
99
- e.$set(e.carState, "LicensePlate", s);
100
- }, expression: "carState.LicensePlate" } }), t("div", { staticClass: "vd-form-group" }, [t("label", { staticClass: "vd-form-group__label", attrs: { for: "search-select-input" } }, [e._v(" Selecteer de naam van je bedrijf "), t("span", { staticClass: "text-danger mr-3 mt-2" }, [e._v("*")])]), e.isMultiselectReady ? t("companies-list-select", { attrs: { "has-companies-list-validation-error": e.hasCompaniesListValidationError, "company-data": e.businessState.companyData }, on: { "update-company-data": e.updateCompanyData }, model: { value: e.businessState.companyData, callback: function(s) {
101
- e.$set(e.businessState, "companyData", s);
102
- }, expression: "businessState.companyData" } }) : t("loader")], 1), t("div", { staticClass: "vd-form-group vd-form-group__button" }, [t("button", { staticClass: "vd-btn vd-btn-green vd-btn-w-100", attrs: { disabled: e.isRequestIsHandling }, on: { click: e.validateBeforeSubmit } }, [e._v(" Vergelijken ")])])], 1)]);
103
- }, w = [];
104
- l._withStripped = !0;
105
- var c = /* @__PURE__ */ L(
106
- B,
107
- l,
108
- w,
109
- !1,
110
- null,
111
- null,
112
- null,
113
- null
114
- );
115
- c.options.__file = "/Users/vergelijkdirect/Documents/projects/comparison-forms/src/insurances/business/businessCar/components/BusinessCarFormHorizontal.vue";
116
- const G = c.exports;
117
- export {
118
- G as default
119
- };
@@ -1,102 +0,0 @@
1
- import { defineComponent as n } from "vue";
2
- import { u } from "./car-oIzIKvsB.js";
3
- import { F as d, u as m, c, h as l, e as p, i as f, n as h } from "./index-WjnHra7k.js";
4
- import { L as v } from "./LicensePlate-BMeYEcIe.js";
5
- import { A as _ } from "./AddressHandler-jwYRDHTI.js";
6
- import { D as b } from "./DefaultInput-zxU1ufPA.js";
7
- import { S } from "./SimpleCard-_Mg9wAqJ.js";
8
- import { B as g } from "./BirthdateInput-1tsGzxTx.js";
9
- import "./useSkipUpdateComparison-WseHt-cH.js";
10
- import "./_commonjsHelpers-4t9S7M5p.js";
11
- import "./array.util-agNtEyks.js";
12
- import "./common-J_DOueuE.js";
13
- import "@vergelijkdirect/insurance-transmission-client";
14
- import "./Session.util-aedjr12J.js";
15
- import "vee-validate";
16
- import "moment";
17
- import "./ErrorHandler-9Zxi6g3R.js";
18
- import "./DefaultSelect-t64f_R7v.js";
19
- import "./vue-popper.min-O3ciEEKg.js";
20
- const C = n({
21
- name: "CarForm",
22
- components: {
23
- LicensePlate: v,
24
- AddressHandler: _,
25
- DefaultInput: b,
26
- SimpleCard: S,
27
- BirthdateInput: g
28
- },
29
- props: {
30
- title: {
31
- type: String,
32
- default: "Autoverzekering vergelijken"
33
- },
34
- showTitle: {
35
- required: !1,
36
- type: Boolean,
37
- default: !0
38
- },
39
- link: {
40
- type: String,
41
- required: !0
42
- },
43
- userInformation: {
44
- required: !1
45
- },
46
- insuranceState: {
47
- required: !1
48
- },
49
- classes: {
50
- type: String
51
- },
52
- formLocation: {
53
- type: String,
54
- required: !1,
55
- default: d.isBeforeFlow
56
- }
57
- },
58
- setup(s, { emit: e }) {
59
- const {
60
- houseError: r,
61
- setHouseInformation: t,
62
- validateBeforeSubmit: i
63
- } = u(s, e);
64
- return {
65
- userState: m,
66
- carState: c,
67
- hasNewDesign: l,
68
- errors: p,
69
- isRequestIsHandling: f,
70
- houseError: r,
71
- setHouseInformation: t,
72
- validateBeforeSubmit: i
73
- };
74
- }
75
- });
76
- var a = function() {
77
- var e = this, r = e._self._c;
78
- return e._self._setupProxy, r("simple-card", { staticClass: "vd-form-card vd-new-form", class: { [e.classes]: !!e.classes } }, [r("div", { staticClass: "vd-form-card__header" }, [e.showTitle ? r("p", { staticClass: "vd-form-card__title" }, [e._v(" " + e._s(e.title) + " ")]) : e._e()]), r("div", { staticClass: "vd-form-card__content" }, [r("license-plate", { attrs: { id: "license", "vehicle-types": [
79
- "Car",
80
- "Van"
81
- ], "vehicle-type": "car", "insurance-dutch-naming": "auto", "prop-vehicle-information": e.carState, name: "license" }, on: { "on-vehicle-information-update": (t) => Object.assign(e.carState, t) }, model: { value: e.carState.LicensePlate, callback: function(t) {
82
- e.$set(e.carState, "LicensePlate", t);
83
- }, expression: "carState.LicensePlate" } }), r("div", { staticClass: "vd-form-group" }, [r("address-handler", { attrs: { "zipcode-name": "zipcode", "show-street-and-city": !0, "house-number-name": "housenumber", "house-number-addition-name": "housenumberaddition", zipcode: e.userState.zipcode, "house-number": e.userState.houseNumber, "house-number-addition": e.userState.houseNumberAddition }, on: { "update-zipcode": (t) => e.userState.zipcode = t, "update-house-number": (t) => e.userState.houseNumber = t, "update-house-number-addition": (t) => e.userState.houseNumberAddition = t, "update-house-information": (t) => e.setHouseInformation(t), "address-correct": (t) => e.houseError = !t } })], 1), r("birthdate-input", { attrs: { label: "Geboortedatum hoofdbestuurder" }, model: { value: e.userState.birthdate, callback: function(t) {
84
- e.$set(e.userState, "birthdate", t);
85
- }, expression: "userState.birthdate" } })], 1), r("div", { staticClass: "vd-form-card__footer" }, [r("button", { staticClass: "vd-btn vd-btn-green vd-btn-w-100", attrs: { disabled: e.isRequestIsHandling }, on: { click: e.validateBeforeSubmit } }, [e._v(" Vergelijken ")])])]);
86
- }, y = [];
87
- a._withStripped = !0;
88
- var o = /* @__PURE__ */ h(
89
- C,
90
- a,
91
- y,
92
- !1,
93
- null,
94
- null,
95
- null,
96
- null
97
- );
98
- o.options.__file = "/Users/vergelijkdirect/Documents/projects/comparison-forms/src/insurances/car/components/forms/CarForm.vue";
99
- const $ = o.exports;
100
- export {
101
- $ as default
102
- };
@@ -1,101 +0,0 @@
1
- import { defineComponent as n } from "vue";
2
- import { u } from "./car-oIzIKvsB.js";
3
- import { F as d, u as m, c, e as l, i as p, n as f } from "./index-WjnHra7k.js";
4
- import { L as v } from "./LicensePlate-BMeYEcIe.js";
5
- import { A as h } from "./AddressHandler-jwYRDHTI.js";
6
- import { D as _ } from "./DefaultInput-zxU1ufPA.js";
7
- import { S as b } from "./SimpleCard-_Mg9wAqJ.js";
8
- import { B as S } from "./BirthdateInput-1tsGzxTx.js";
9
- import "./useSkipUpdateComparison-WseHt-cH.js";
10
- import "./_commonjsHelpers-4t9S7M5p.js";
11
- import "./array.util-agNtEyks.js";
12
- import "./common-J_DOueuE.js";
13
- import "@vergelijkdirect/insurance-transmission-client";
14
- import "./Session.util-aedjr12J.js";
15
- import "vee-validate";
16
- import "moment";
17
- import "./ErrorHandler-9Zxi6g3R.js";
18
- import "./DefaultSelect-t64f_R7v.js";
19
- import "./vue-popper.min-O3ciEEKg.js";
20
- const g = n({
21
- name: "CarFormHorizontal",
22
- components: {
23
- LicensePlate: v,
24
- AddressHandler: h,
25
- DefaultInput: _,
26
- SimpleCard: b,
27
- BirthdateInput: S
28
- },
29
- props: {
30
- title: {
31
- type: String,
32
- default: "Autoverzekering vergelijken"
33
- },
34
- showTitle: {
35
- required: !1,
36
- type: Boolean,
37
- default: !0
38
- },
39
- link: {
40
- type: String,
41
- required: !0
42
- },
43
- userInformation: {
44
- required: !1
45
- },
46
- insuranceState: {
47
- required: !1
48
- },
49
- classes: {
50
- type: String
51
- },
52
- formLocation: {
53
- type: String,
54
- required: !1,
55
- default: d.isBeforeFlow
56
- }
57
- },
58
- setup(o, { emit: e }) {
59
- const {
60
- houseError: r,
61
- setHouseInformation: t,
62
- validateBeforeSubmit: i
63
- } = u(o, e);
64
- return {
65
- userState: m,
66
- carState: c,
67
- errors: l,
68
- isRequestIsHandling: p,
69
- houseError: r,
70
- setHouseInformation: t,
71
- validateBeforeSubmit: i
72
- };
73
- }
74
- });
75
- var a = function() {
76
- var e = this, r = e._self._c;
77
- return e._self._setupProxy, r("simple-card", { staticClass: "vd-new-form vd-form-card vd-form-card--horizontal", class: { [e.classes]: !!e.classes } }, [e.showTitle ? r("p", { staticClass: "vd-form-card__title" }, [e._v(" " + e._s(e.title) + " ")]) : e._e(), r("div", { staticClass: "vd-form-card__content vd-form-card__content-car" }, [r("license-plate", { attrs: { id: "license", "vehicle-types": [
78
- "Car",
79
- "Van"
80
- ], "vehicle-type": "car", "insurance-dutch-naming": "auto", "prop-vehicle-information": e.carState, name: "license" }, on: { "on-vehicle-information-update": (t) => Object.assign(e.carState, t) }, model: { value: e.carState.LicensePlate, callback: function(t) {
81
- e.$set(e.carState, "LicensePlate", t);
82
- }, expression: "carState.LicensePlate" } }), r("div", { staticClass: "vd-form-group vd-form-group--address-handler-block" }, [r("address-handler", { attrs: { "zipcode-name": "zipcode", "show-street-and-city": !0, template: "FORM_HORIZONTAL", "house-number-name": "housenumber", "house-number-addition-name": "housenumberaddition", zipcode: e.userState.zipcode, "house-number": e.userState.houseNumber, "house-number-addition": e.userState.houseNumberAddition }, on: { "update-zipcode": (t) => e.userState.zipcode = t, "update-house-number": (t) => e.userState.houseNumber = t, "update-house-number-addition": (t) => e.userState.houseNumberAddition = t, "update-house-information": (t) => e.setHouseInformation(t), "address-correct": (t) => e.houseError = !t } })], 1), r("birthdate-input", { attrs: { label: "Geboortedatum hoofdbestuurder" }, model: { value: e.userState.birthdate, callback: function(t) {
83
- e.$set(e.userState, "birthdate", t);
84
- }, expression: "userState.birthdate" } }), r("div", { staticClass: "vd-form-group vd-form-group__button" }, [r("button", { class: "vd-btn vd-btn-green vd-btn-w-100", attrs: { disabled: e.isRequestIsHandling }, on: { click: e.validateBeforeSubmit } }, [e._v(" Vergelijken ")])])], 1)]);
85
- }, C = [];
86
- a._withStripped = !0;
87
- var s = /* @__PURE__ */ f(
88
- g,
89
- a,
90
- C,
91
- !1,
92
- null,
93
- null,
94
- null,
95
- null
96
- );
97
- s.options.__file = "/Users/vergelijkdirect/Documents/projects/comparison-forms/src/insurances/car/components/forms/CarFormHorizontal.vue";
98
- const E = s.exports;
99
- export {
100
- E as default
101
- };
@@ -1,137 +0,0 @@
1
- import { defineComponent as g } from "vue";
2
- import { F as h, g as S, e as _, h as C, i as V, n as w } from "./index-WjnHra7k.js";
3
- import { C as b, M as y, u as O, n as k, t as x, l as E } from "./ManualNewValueModal-S0C68NGl.js";
4
- import { S as q } from "./SimpleCard-_Mg9wAqJ.js";
5
- import { D as M } from "./DefaultSelect-t64f_R7v.js";
6
- import { D as H } from "./DefaultPlainRadioGroup-i8P1ACl4.js";
7
- import { D } from "./DefaultInput-zxU1ufPA.js";
8
- import { E as N } from "./ErrorHandler-9Zxi6g3R.js";
9
- import { B as Y } from "./form-radio-group-J-EQJhh9.js";
10
- import "@vergelijkdirect/insurance-transmission-client";
11
- import "vee-validate";
12
- import "moment";
13
- import "./common-J_DOueuE.js";
14
- import "./Session.util-aedjr12J.js";
15
- const j = g({
16
- name: "CaravanForm",
17
- components: {
18
- ErrorHandler: N,
19
- CatalogValueModal: b,
20
- ManualNewValueModal: y,
21
- SimpleCard: q,
22
- DefaultSelect: M,
23
- DefaultPlainRadioGroup: H,
24
- DefaultInput: D,
25
- BFormRadioGroup: Y
26
- },
27
- props: {
28
- title: {
29
- type: String,
30
- default: "Caravanverzekering vergelijken"
31
- },
32
- showTitle: {
33
- required: !1,
34
- type: Boolean,
35
- default: !0
36
- },
37
- formLocation: {
38
- type: String,
39
- required: !1,
40
- default: h.isBeforeFlow
41
- },
42
- link: {
43
- type: String,
44
- required: !0
45
- },
46
- userInformation: {
47
- required: !1
48
- },
49
- insuranceState: {
50
- required: !1
51
- },
52
- classes: {
53
- type: String
54
- }
55
- },
56
- setup(t, { emit: a }) {
57
- const {
58
- buildYear: e,
59
- catalogValueModal: r,
60
- manualNewValueModal: l,
61
- fieldsErrors: o,
62
- purchaseValueChecker: c,
63
- isDataInModalCorrect: i,
64
- catalogValueHelper: u,
65
- validateBeforeSubmit: d,
66
- setCatalogusValue: p,
67
- switchValues: v,
68
- setPurchaseValueAsNewValue: f,
69
- validateCatalogValue: m
70
- } = O(t, a);
71
- return {
72
- caravanState: S,
73
- newOrOccasion: k,
74
- typeOfCaravan: x,
75
- length: E,
76
- errors: _,
77
- hasNewDesign: C,
78
- isRequestIsHandling: V,
79
- buildYear: e,
80
- catalogValueModal: r,
81
- manualNewValueModal: l,
82
- fieldsErrors: o,
83
- purchaseValueChecker: c,
84
- isDataInModalCorrect: i,
85
- catalogValueHelper: u,
86
- validateBeforeSubmit: d,
87
- setCatalogusValue: p,
88
- switchValues: v,
89
- setPurchaseValueAsNewValue: f,
90
- validateCatalogValue: m
91
- };
92
- }
93
- });
94
- var s = function() {
95
- var a = this, e = a._self._c;
96
- return a._self._setupProxy, e("simple-card", { staticClass: "vd-form-card vd-new-form", class: { [a.classes]: !!a.classes } }, [e("div", { staticClass: "vd-form-card__header" }, [a.showTitle ? e("p", { staticClass: "vd-form-card__title" }, [a._v(" " + a._s(a.title) + " ")]) : a._e()]), e("div", { staticClass: "vd-form-card__content" }, [e("default-select", { attrs: { id: "TypeOfCaravan", options: a.typeOfCaravan, label: "Soort caravan", placeholder: "Maak je keuze", name: "caravanType", "is-required": "" }, scopedSlots: a._u([{ key: "error-messages", fn: function() {
97
- return [e("ErrorHandler", { attrs: { name: "caravanType", "errors-data": a.fieldsErrors.type } })];
98
- }, proxy: !0 }]), model: { value: a.caravanState.typeOfCaravan, callback: function(r) {
99
- a.$set(a.caravanState, "typeOfCaravan", r);
100
- }, expression: "caravanState.typeOfCaravan" } }), e("default-select", { attrs: { id: "Length", options: a.length, label: "Lengte (excl. dissel)", placeholder: "Maak je keuze", name: "caravanLength", "is-required": "" }, scopedSlots: a._u([{ key: "error-messages", fn: function() {
101
- return [e("ErrorHandler", { attrs: { name: "caravanLength", "errors-data": a.fieldsErrors.length } })];
102
- }, proxy: !0 }]), model: { value: a.caravanState.length, callback: function(r) {
103
- a.$set(a.caravanState, "length", r);
104
- }, expression: "caravanState.length" } }), e("div", { staticClass: "vd-form-group vd-radio-group" }, [e("label", { staticClass: "vd-form-group__label", attrs: { for: "newOrOccasion" } }, [a._v(" Gekocht als ")]), e("b-form-radio-group", { staticClass: "vd-radio-buttons", attrs: { options: a.newOrOccasion, id: "newOrOccasion", name: "newOrOccasion" }, on: { input: a.purchaseValueChecker }, model: { value: a.caravanState.newOrOccasion, callback: function(r) {
105
- a.$set(a.caravanState, "newOrOccasion", r);
106
- }, expression: "caravanState.newOrOccasion" } }), e("ErrorHandler", { attrs: { name: "newOrOccasion", "errors-data": a.fieldsErrors.newOrOccasion } })], 1), e("default-select", { attrs: { id: "buildYear", options: a.buildYear, label: "Bouwjaar", placeholder: "Maak je keuze", name: "buildYear", "is-required": "" }, scopedSlots: a._u([{ key: "error-messages", fn: function() {
107
- return [e("ErrorHandler", { attrs: { name: "buildYear", "errors-data": a.fieldsErrors.buildYear } })];
108
- }, proxy: !0 }]), model: { value: a.caravanState.buildYear, callback: function(r) {
109
- a.$set(a.caravanState, "buildYear", r);
110
- }, expression: "caravanState.buildYear" } }), e("default-input", { directives: [{ name: "show", rawName: "v-show", value: a.caravanState.newOrOccasion === "N", expression: "caravanState.newOrOccasion === 'N'" }], attrs: { id: "purchaseValue", mask: "#####", "has-prepend": !0, "prepend-text": "€", name: "purchaseValue", label: "Aankoopprijs", placeholder: "bv. 10 000", type: "text", validation: { required: !0, regex: /^(?!(0))([0-9]{1,5})$/, max_value: 6e4 }, "is-required": "" }, on: { change: a.isDataInModalCorrect }, scopedSlots: a._u([{ key: "error-messages", fn: function() {
111
- return [e("ErrorHandler", { attrs: { name: "purchaseValue", "errors-data": a.fieldsErrors.purchaseValue } })];
112
- }, proxy: !0 }]), model: { value: a.caravanState.purchaseValue, callback: function(r) {
113
- a.$set(a.caravanState, "purchaseValue", r);
114
- }, expression: "caravanState.purchaseValue" } }), e("default-input", { attrs: { id: "catalogValue", mask: "#####", "has-prepend": !0, "prepend-text": "€", name: "catalogValue", label: "Nieuwwaarde", placeholder: "bv. 10 000", type: "text", validation: { required: !0, regex: /^(?!(0))([0-9]{1,5})$/, max_value: 6e4 }, "is-required": "" }, on: { change: a.isDataInModalCorrect, input: a.validateCatalogValue }, scopedSlots: a._u([{ key: "error-messages", fn: function() {
115
- return [e("ErrorHandler", { attrs: { name: "catalogValue", "errors-data": a.fieldsErrors.catalogValue } })];
116
- }, proxy: !0 }]), model: { value: a.caravanState.catalogValue, callback: function(r) {
117
- a.$set(a.caravanState, "catalogValue", r);
118
- }, expression: "caravanState.catalogValue" } }), a.caravanState.typeOfCaravan !== "CS" && a.caravanState.typeOfCaravan !== "" ? e("p", { staticClass: "vd-form-additional-info-text cursor-pointer", on: { click: a.catalogValueHelper } }, [e("i", { staticClass: "fas fa-question-circle vd-tip-icon vd-tip-icon_additional-text", attrs: { id: "newValueIcon" } }), e("span", [a._v("Ik weet de nieuwwaarde niet?")])]) : a._e(), e("ErrorHandler", { attrs: { "errors-data": a.fieldsErrors.helperValue } })], 1), e("div", { staticClass: "vd-form-card__footer" }, [e("button", { staticClass: "vd-btn vd-btn-green vd-btn-w-100", attrs: { disabled: a.isRequestIsHandling }, on: { click: a.validateBeforeSubmit } }, [a._v(" Vergelijken ")])]), e("catalog-value-modal", { ref: "catalogValueModal", attrs: { "caravan-type": a.caravanState.typeOfCaravan, "build-year": a.caravanState.buildYear }, on: { "set-catalog-value": a.setCatalogusValue } }), e("manual-new-value-modal", { ref: "manualNewValueModal", attrs: { "caravan-type": a.caravanState.typeOfCaravan, "catalog-value": a.caravanState.catalogValue, "purchase-value": a.caravanState.purchaseValue }, on: { "switch-values": function(r) {
119
- return a.switchValues(a.caravanState.purchaseValue, a.caravanState.catalogValue);
120
- }, "set-purchase-value-as-new-value": a.setPurchaseValueAsNewValue } })], 1);
121
- }, I = [];
122
- s._withStripped = !0;
123
- var n = /* @__PURE__ */ w(
124
- j,
125
- s,
126
- I,
127
- !1,
128
- null,
129
- null,
130
- null,
131
- null
132
- );
133
- n.options.__file = "/Users/vergelijkdirect/Documents/projects/comparison-forms/src/insurances/caravan/components/forms/CaravanForm.vue";
134
- const W = n.exports;
135
- export {
136
- W as default
137
- };