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

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 +30271 -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,45 +0,0 @@
1
- import { defineComponent as a } from "vue";
2
- import { e as l, n as i } from "./index-WjnHra7k.js";
3
- const _ = a({
4
- name: "ErrorHandler",
5
- props: {
6
- name: {
7
- required: !1,
8
- type: String
9
- },
10
- errorsData: {
11
- required: !0,
12
- type: Array[{
13
- rule: String || Boolean,
14
- text: Boolean
15
- }]
16
- }
17
- },
18
- setup() {
19
- return {
20
- errors: l
21
- };
22
- }
23
- });
24
- var o = function() {
25
- var r = this, e = r._self._c;
26
- return r._self._setupProxy, e("ul", { staticClass: "vd-form-error__list m-0" }, r._l(r.errorsData, function(t, n) {
27
- return (typeof t.rule == "boolean" ? t.rule : r.errors.has(r.name + ":" + t.rule)) ? e("li", { key: n, staticClass: "vd-form-error__list-item" }, [e("p", { staticClass: "vd-form-error" }, [e("i", { staticClass: "vd-error-icon fas fa-exclamation-circle mr-1" }), r._v(r._s(t.text) + " ")])]) : r._e();
28
- }), 0);
29
- }, c = [];
30
- o._withStripped = !0;
31
- var s = /* @__PURE__ */ i(
32
- _,
33
- o,
34
- c,
35
- !1,
36
- null,
37
- null,
38
- null,
39
- null
40
- );
41
- s.options.__file = "/Users/vergelijkdirect/Documents/projects/comparison-forms/src/components/common/ErrorHandler.vue";
42
- const f = s.exports;
43
- export {
44
- f as E
45
- };
@@ -1,51 +0,0 @@
1
- import { defineComponent as m, computed as p } from "vue";
2
- import { u as l } from "./BirthdateInput-1tsGzxTx.js";
3
- import { e as u, h as c, n as f } from "./index-WjnHra7k.js";
4
- import { F as _ } from "./familyComposition.model-1F80igwZ.js";
5
- import { D as d } from "./DefaultSelect-t64f_R7v.js";
6
- import { E as y } from "./ErrorHandler-9Zxi6g3R.js";
7
- const C = m({
8
- name: "FamilyCompositionInput",
9
- components: {
10
- DefaultSelect: d,
11
- ErrorHandler: y
12
- },
13
- setup(s, { attrs: o, listeners: e }) {
14
- const { inputId: i } = l(), n = _, a = p(() => [
15
- {
16
- rule: u.has("familyComposition"),
17
- text: "Gezinssituatie is verplicht"
18
- }
19
- ]);
20
- return {
21
- hasNewDesign: c,
22
- familyCompositionOptions: n,
23
- attrs: o,
24
- listeners: e,
25
- errorsData: a,
26
- inputId: i
27
- };
28
- }
29
- });
30
- var t = function() {
31
- var o = this, e = o._self._c;
32
- return o._self._setupProxy, e("default-select", o._g(o._b({ attrs: { id: o.inputId("familyComposition"), label: "Gezinssituatie", name: "familyComposition", options: o.familyCompositionOptions, "is-required": !0, "no-default-placeholder": !0 }, scopedSlots: o._u([{ key: "error-messages", fn: function() {
33
- return [e("ErrorHandler", { attrs: { name: "familyComposition", "errors-data": o.errorsData } })];
34
- }, proxy: !0 }]) }, "default-select", o.attrs, !1), o.listeners));
35
- }, F = [];
36
- t._withStripped = !0;
37
- var r = /* @__PURE__ */ f(
38
- C,
39
- t,
40
- F,
41
- !1,
42
- null,
43
- null,
44
- null,
45
- null
46
- );
47
- r.options.__file = "/Users/vergelijkdirect/Documents/projects/comparison-forms/src/components/common/inputs/FamilyCompositionInput.vue";
48
- const z = r.exports;
49
- export {
50
- z as F
51
- };
@@ -1,105 +0,0 @@
1
- import { defineComponent as l } from "vue";
2
- import { u as m } from "./house-iRMRIU6o.js";
3
- import { F as s, u as p, k as c, i as f, n as v } from "./index-WjnHra7k.js";
4
- import { S as _ } from "./SimpleCard-_Mg9wAqJ.js";
5
- import { A as g } from "./AddressHandler-jwYRDHTI.js";
6
- import { D as h } from "./DefaultPlainRadioGroup-i8P1ACl4.js";
7
- import { D as b } from "./DefaultSelect-t64f_R7v.js";
8
- import { E as S } from "./ErrorHandler-9Zxi6g3R.js";
9
- import { B as C } from "./form-radio-group-J-EQJhh9.js";
10
- import "./familyComposition.model-1F80igwZ.js";
11
- import "./common-J_DOueuE.js";
12
- import "@vergelijkdirect/insurance-transmission-client";
13
- import "./Session.util-aedjr12J.js";
14
- import "./array.util-agNtEyks.js";
15
- import "vee-validate";
16
- import "moment";
17
- import "./DefaultInput-zxU1ufPA.js";
18
- import "./vue-popper.min-O3ciEEKg.js";
19
- import "./_commonjsHelpers-4t9S7M5p.js";
20
- const w = l({
21
- name: "HouseForm",
22
- components: {
23
- ErrorHandler: S,
24
- SimpleCard: _,
25
- AddressHandler: g,
26
- DefaultPlainRadioGroup: h,
27
- DefaultSelect: b,
28
- BFormRadioGroup: C
29
- },
30
- props: {
31
- title: {
32
- type: String,
33
- default: "Woonverzekering vergelijken"
34
- },
35
- showTitle: {
36
- required: !1,
37
- type: Boolean,
38
- default: !0
39
- },
40
- formLocation: {
41
- type: String,
42
- required: !1,
43
- default: s.isBeforeFlow
44
- },
45
- link: {
46
- type: String,
47
- required: !0
48
- },
49
- userInformation: {
50
- required: !1
51
- },
52
- insuranceState: {
53
- required: !1
54
- },
55
- classes: {
56
- type: String
57
- }
58
- },
59
- setup(t, { emit: e }) {
60
- const {
61
- houseError: o,
62
- ownedBuildingError: r,
63
- houseOwnedBuilding: n,
64
- FamilyCompositionsModel: u,
65
- validateBeforeSubmit: d
66
- } = m(t, e);
67
- return {
68
- userState: p,
69
- houseState: c,
70
- isRequestIsHandling: f,
71
- houseError: o,
72
- ownedBuildingError: r,
73
- houseOwnedBuilding: n,
74
- FamilyCompositionsModel: u,
75
- FormLocations: s,
76
- validateBeforeSubmit: d
77
- };
78
- }
79
- });
80
- var i = function() {
81
- var e = this, o = e._self._c;
82
- return e._self._setupProxy, o("simple-card", { staticClass: "vd-form-card vd-new-form", class: { [e.classes]: !!e.classes } }, [o("div", { staticClass: "vd-form-card__header" }, [e.showTitle ? o("p", { staticClass: "vd-form-card__title" }, [e._v(" " + e._s(e.title) + " ")]) : e._e()]), o("div", { staticClass: "vd-form-card__content" }, [o("div", { staticClass: "vd-form-group" }, [o("address-handler", { attrs: { "zipcode-name": "zipcode", "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": (r) => e.userState.zipcode = r, "update-house-number": (r) => e.userState.houseNumber = r, "update-house-number-addition": (r) => e.userState.houseNumberAddition = r, "address-correct": (r) => e.houseError = !r } })], 1), o("div", { staticClass: "vd-form-group vd-radio-group" }, [o("label", { staticClass: "vd-form-group__label", attrs: { for: "ownedBuilding" } }, [e._v(" Heb je een koop- of huurwoning? ")]), o("b-form-radio-group", { staticClass: "vd-radio-buttons", attrs: { options: e.houseOwnedBuilding, "text-field": "title", "data-vv-name": "ownedBuilding", name: "ownedBuilding" }, model: { value: e.houseState.ownedBuilding, callback: function(r) {
83
- e.$set(e.houseState, "ownedBuilding", r);
84
- }, expression: "houseState.ownedBuilding" } }), o("ErrorHandler", { attrs: { "errors-data": [{ rule: e.ownedBuildingError, text: "Deze vraag is verplicht" }] } })], 1), o("default-select", { attrs: { id: "familyComposition", options: e.FamilyCompositionsModel, label: "Gezinssituatie", placeholder: "Kies je gezinsamenstelling", name: "familyComposition", "is-required": "" }, scopedSlots: e._u([{ key: "error-messages", fn: function() {
85
- return [o("ErrorHandler", { attrs: { name: "familyComposition", "errors-data": [{ rule: "required", text: "Kies een gezinsamenstelling" }] } })];
86
- }, proxy: !0 }]), model: { value: e.userState.familyComposition, callback: function(r) {
87
- e.$set(e.userState, "familyComposition", r);
88
- }, expression: "userState.familyComposition" } })], 1), o("div", { staticClass: "vd-form-card__footer" }, [o("button", { staticClass: "vd-btn vd-btn-green vd-btn-w-100", attrs: { disabled: e.isRequestIsHandling }, on: { click: e.validateBeforeSubmit } }, [e._v(" Vergelijken ")])])]);
89
- }, y = [];
90
- i._withStripped = !0;
91
- var a = /* @__PURE__ */ v(
92
- w,
93
- i,
94
- y,
95
- !1,
96
- null,
97
- null,
98
- null,
99
- null
100
- );
101
- a.options.__file = "/Users/vergelijkdirect/Documents/projects/comparison-forms/src/insurances/house/components/forms/HouseForm.vue";
102
- const P = a.exports;
103
- export {
104
- P as default
105
- };
@@ -1,104 +0,0 @@
1
- import { defineComponent as d } from "vue";
2
- import { u as l } from "./house-iRMRIU6o.js";
3
- import { F as m, u as p, k as c, i as f, n as v } from "./index-WjnHra7k.js";
4
- import { S as _ } from "./SimpleCard-_Mg9wAqJ.js";
5
- import { A as g } from "./AddressHandler-jwYRDHTI.js";
6
- import { D as h } from "./DefaultPlainRadioGroup-i8P1ACl4.js";
7
- import { D as b } from "./DefaultSelect-t64f_R7v.js";
8
- import { E as S } from "./ErrorHandler-9Zxi6g3R.js";
9
- import { B as C } from "./form-radio-group-J-EQJhh9.js";
10
- import "./familyComposition.model-1F80igwZ.js";
11
- import "./common-J_DOueuE.js";
12
- import "@vergelijkdirect/insurance-transmission-client";
13
- import "./Session.util-aedjr12J.js";
14
- import "./array.util-agNtEyks.js";
15
- import "vee-validate";
16
- import "moment";
17
- import "./DefaultInput-zxU1ufPA.js";
18
- import "./vue-popper.min-O3ciEEKg.js";
19
- import "./_commonjsHelpers-4t9S7M5p.js";
20
- const w = d({
21
- name: "HouseFormHorizontal",
22
- components: {
23
- ErrorHandler: S,
24
- SimpleCard: _,
25
- AddressHandler: g,
26
- DefaultPlainRadioGroup: h,
27
- DefaultSelect: b,
28
- BFormRadioGroup: C
29
- },
30
- props: {
31
- title: {
32
- type: String,
33
- default: "Woonverzekering vergelijken"
34
- },
35
- showTitle: {
36
- required: !1,
37
- type: Boolean,
38
- default: !0
39
- },
40
- formLocation: {
41
- type: String,
42
- required: !1,
43
- default: m.isBeforeFlow
44
- },
45
- link: {
46
- type: String,
47
- required: !0
48
- },
49
- userInformation: {
50
- required: !1
51
- },
52
- insuranceState: {
53
- required: !1
54
- },
55
- classes: {
56
- type: String
57
- }
58
- },
59
- setup(t, { emit: e }) {
60
- const {
61
- houseError: o,
62
- ownedBuildingError: r,
63
- houseOwnedBuilding: a,
64
- FamilyCompositionsModel: n,
65
- validateBeforeSubmit: u
66
- } = l(t, e);
67
- return {
68
- userState: p,
69
- houseState: c,
70
- isRequestIsHandling: f,
71
- houseError: o,
72
- ownedBuildingError: r,
73
- houseOwnedBuilding: a,
74
- FamilyCompositionsModel: n,
75
- validateBeforeSubmit: u
76
- };
77
- }
78
- });
79
- var s = function() {
80
- var e = this, o = e._self._c;
81
- return e._self._setupProxy, o("simple-card", { staticClass: "vd-new-form vd-form-card vd-form-card--horizontal", class: { [e.classes]: !!e.classes }, attrs: { "has-new-style": !0 } }, [e.showTitle ? o("p", { staticClass: "vd-form-card__title" }, [e._v(" " + e._s(e.title) + " ")]) : e._e(), o("div", { staticClass: "vd-form-card__content vd-form-card__content-house" }, [o("div", { staticClass: "vd-form-group vd-form-group--address-handler-block" }, [o("address-handler", { attrs: { template: "FORM_HORIZONTAL", "zipcode-name": "zipcode", "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": (r) => e.userState.zipcode = r, "update-house-number": (r) => e.userState.houseNumber = r, "update-house-number-addition": (r) => e.userState.houseNumberAddition = r, "address-correct": (r) => e.houseError = !r } })], 1), o("div", { staticClass: "vd-form-group vd-radio-group" }, [o("label", { staticClass: "vd-form-group__label", attrs: { for: "ownedBuilding" } }, [e._v(" Heb je een koop- of huurwoning? ")]), o("b-form-radio-group", { staticClass: "vd-radio-buttons", attrs: { options: e.houseOwnedBuilding, "text-field": "title", "data-vv-name": "ownedBuilding", name: "ownedBuilding" }, model: { value: e.houseState.ownedBuilding, callback: function(r) {
82
- e.$set(e.houseState, "ownedBuilding", r);
83
- }, expression: "houseState.ownedBuilding" } }), o("ErrorHandler", { attrs: { "errors-data": [{ rule: e.ownedBuildingError, text: "Deze vraag is verplicht" }] } })], 1), o("default-select", { attrs: { id: "familyComposition", options: e.FamilyCompositionsModel, label: "Gezinssituatie", placeholder: "Maak je keuze", name: "familyComposition", "is-required": "" }, scopedSlots: e._u([{ key: "error-messages", fn: function() {
84
- return [o("ErrorHandler", { attrs: { name: "familyComposition", "errors-data": [{ rule: "required", text: "Kies een gezinsamenstelling" }] } })];
85
- }, proxy: !0 }]), model: { value: e.userState.familyComposition, callback: function(r) {
86
- e.$set(e.userState, "familyComposition", r);
87
- }, expression: "userState.familyComposition" } }), o("div", { staticClass: "vd-form-group vd-form-group__button" }, [o("button", { staticClass: "vd-btn vd-btn-green vd-btn-w-100", attrs: { disabled: e.isRequestIsHandling }, on: { click: e.validateBeforeSubmit } }, [e._v(" Vergelijken ")])])], 1)]);
88
- }, y = [];
89
- s._withStripped = !0;
90
- var i = /* @__PURE__ */ v(
91
- w,
92
- s,
93
- y,
94
- !1,
95
- null,
96
- null,
97
- null,
98
- null
99
- );
100
- i.options.__file = "/Users/vergelijkdirect/Documents/projects/comparison-forms/src/insurances/house/components/forms/HouseFormHorizontal.vue";
101
- const P = i.exports;
102
- export {
103
- P as default
104
- };
@@ -1,109 +0,0 @@
1
- import { defineComponent as n } from "vue";
2
- import { u as l, H as d, F as u } from "./familySize.model-9dESnIuL.js";
3
- import { F as m, u as p, l as c, e as f, h as g, i as v, n as S } from "./index-WjnHra7k.js";
4
- import { A as _ } from "./AddressHandler-jwYRDHTI.js";
5
- import { D as b } from "./DefaultInput-zxU1ufPA.js";
6
- import { D as h } from "./DefaultSelect-t64f_R7v.js";
7
- import { S as y } from "./SimpleCard-_Mg9wAqJ.js";
8
- import { B as w } from "./BirthdateInput-1tsGzxTx.js";
9
- import { F as z } from "./FamilyCompositionInput-dWbnEFac.js";
10
- import { E as B } from "./ErrorHandler-9Zxi6g3R.js";
11
- import { B as C } from "./form-radio-group-J-EQJhh9.js";
12
- import "./familyComposition.model-1F80igwZ.js";
13
- import "./array.util-agNtEyks.js";
14
- import "./common-J_DOueuE.js";
15
- import "@vergelijkdirect/insurance-transmission-client";
16
- import "./Session.util-aedjr12J.js";
17
- import "vee-validate";
18
- import "moment";
19
- import "./vue-popper.min-O3ciEEKg.js";
20
- import "./_commonjsHelpers-4t9S7M5p.js";
21
- const k = n({
22
- name: "LegalAssistanceForm",
23
- components: {
24
- AddressHandler: _,
25
- DefaultInput: b,
26
- DefaultSelect: h,
27
- SimpleCard: y,
28
- BirthdateInput: w,
29
- FamilyCompositionInput: z,
30
- ErrorHandler: B,
31
- BFormRadioGroup: C
32
- },
33
- props: {
34
- title: {
35
- type: String,
36
- default: "Rechtsbijstandverzekering vergelijken"
37
- },
38
- showTitle: {
39
- required: !1,
40
- type: Boolean,
41
- default: !0
42
- },
43
- formLocation: {
44
- type: String,
45
- required: !1,
46
- default: m.isBeforeFlow
47
- },
48
- link: {
49
- type: String,
50
- required: !0
51
- },
52
- userInformation: {
53
- required: !1
54
- },
55
- insuranceState: {
56
- required: !1
57
- },
58
- classes: {
59
- type: String
60
- }
61
- },
62
- setup(a, { emit: e }) {
63
- const {
64
- houseError: t,
65
- ownedBuildingError: r,
66
- validateBeforeSubmit: o
67
- } = l(a, e);
68
- return {
69
- userState: p,
70
- legalState: c,
71
- errors: f,
72
- HouseOwnedBuildingOptions: d,
73
- FamilySizeOptions: u,
74
- hasNewDesign: g,
75
- isRequestIsHandling: v,
76
- houseError: t,
77
- ownedBuildingError: r,
78
- validateBeforeSubmit: o
79
- };
80
- }
81
- });
82
- var s = function() {
83
- var e = this, t = e._self._c;
84
- return e._self._setupProxy, t("div", [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("div", { staticClass: "vd-form-group" }, [t("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": (r) => e.userState.zipcode = r, "update-house-number": (r) => e.userState.houseNumber = r, "update-house-number-addition": (r) => e.userState.houseNumberAddition = r, "address-correct": (r) => e.houseError = !r } })], 1), t("div", { staticClass: "vd-form-group vd-radio-group" }, [t("label", { staticClass: "vd-form-group__label", attrs: { for: "ownedBuilding" } }, [e._v(" Heb je een koop- of huurwoning? ")]), t("b-form-radio-group", { staticClass: "vd-radio-buttons", attrs: { options: e.HouseOwnedBuildingOptions, "text-field": "title", "data-vv-name": "ownedBuilding", name: "ownedBuilding" }, model: { value: e.legalState.ownedBuilding, callback: function(r) {
85
- e.$set(e.legalState, "ownedBuilding", r);
86
- }, expression: "legalState.ownedBuilding" } }), t("ErrorHandler", { attrs: { "errors-data": [{ rule: e.ownedBuildingError, text: "Deze vraag is verplicht" }] } })], 1), t("birthdate-input", { model: { value: e.userState.birthdate, callback: function(r) {
87
- e.$set(e.userState, "birthdate", r);
88
- }, expression: "userState.birthdate" } }), t("family-composition-input", { model: { value: e.userState.familyComposition, callback: function(r) {
89
- e.$set(e.userState, "familyComposition", r);
90
- }, expression: "userState.familyComposition" } }), ["K"].includes(e.userState.familyComposition) ? t("default-select", { attrs: { id: "familySize", options: e.FamilySizeOptions, "is-required": !0, label: "Aantal kinderen", placeholder: "Maak een keuze", name: "familySize" }, model: { value: e.legalState.familySize, callback: function(r) {
91
- e.$set(e.legalState, "familySize", r);
92
- }, expression: "legalState.familySize" } }, [t("template", { slot: "error-messages" }, [t("ErrorHandler", { attrs: { name: "familySize", "errors-data": [{ rule: "required", text: "Kies het aantal kinderen" }] } })], 1)], 2) : e._e()], 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 ")])])])], 1);
93
- }, F = [];
94
- s._withStripped = !0;
95
- var i = /* @__PURE__ */ S(
96
- k,
97
- s,
98
- F,
99
- !1,
100
- null,
101
- null,
102
- null,
103
- null
104
- );
105
- i.options.__file = "/Users/vergelijkdirect/Documents/projects/comparison-forms/src/insurances/legal/components/forms/LegalAssistanceForm.vue";
106
- const J = i.exports;
107
- export {
108
- J as default
109
- };
@@ -1,108 +0,0 @@
1
- import { defineComponent as n } from "vue";
2
- import { u as l, H as d, F as u } from "./familySize.model-9dESnIuL.js";
3
- import { F as m, u as p, l as c, e as f, h as g, i as b, n as v } from "./index-WjnHra7k.js";
4
- import { A as S } from "./AddressHandler-jwYRDHTI.js";
5
- import { D as h } from "./DefaultInput-zxU1ufPA.js";
6
- import { S as _ } from "./SimpleCard-_Mg9wAqJ.js";
7
- import { B as z } from "./BirthdateInput-1tsGzxTx.js";
8
- import { F as w } from "./FamilyCompositionInput-dWbnEFac.js";
9
- import { E as y } from "./ErrorHandler-9Zxi6g3R.js";
10
- import { B as k } from "./form-radio-group-J-EQJhh9.js";
11
- import "./familyComposition.model-1F80igwZ.js";
12
- import "./array.util-agNtEyks.js";
13
- import "./common-J_DOueuE.js";
14
- import "@vergelijkdirect/insurance-transmission-client";
15
- import "./Session.util-aedjr12J.js";
16
- import "vee-validate";
17
- import "moment";
18
- import "./DefaultSelect-t64f_R7v.js";
19
- import "./vue-popper.min-O3ciEEKg.js";
20
- import "./_commonjsHelpers-4t9S7M5p.js";
21
- const B = n({
22
- name: "LegalAssistanceFormHorizontal",
23
- components: {
24
- AddressHandler: S,
25
- DefaultInput: h,
26
- SimpleCard: _,
27
- BirthdateInput: z,
28
- FamilyCompositionInput: w,
29
- ErrorHandler: y,
30
- BFormRadioGroup: k
31
- },
32
- props: {
33
- title: {
34
- type: String,
35
- default: "Rechtsbijstandverzekering vergelijken"
36
- },
37
- showTitle: {
38
- required: !1,
39
- type: Boolean,
40
- default: !0
41
- },
42
- formLocation: {
43
- type: String,
44
- required: !1,
45
- default: m.isBeforeFlow
46
- },
47
- link: {
48
- type: String,
49
- required: !0
50
- },
51
- userInformation: {
52
- required: !1
53
- },
54
- insuranceState: {
55
- required: !1
56
- },
57
- classes: {
58
- type: String
59
- }
60
- },
61
- setup(a, { emit: e }) {
62
- const {
63
- houseError: t,
64
- ownedBuildingError: r,
65
- validateBeforeSubmit: i
66
- } = l(a, e);
67
- return {
68
- userState: p,
69
- legalState: c,
70
- errors: f,
71
- HouseOwnedBuildingOptions: d,
72
- FamilySizeOptions: u,
73
- hasNewDesign: g,
74
- isRequestIsHandling: b,
75
- houseError: t,
76
- ownedBuildingError: r,
77
- validateBeforeSubmit: i
78
- };
79
- }
80
- });
81
- var o = function() {
82
- var e = this, t = e._self._c;
83
- return e._self._setupProxy, t("div", [t("simple-card", { staticClass: "vd-form-card vd-form-card--border-box vd-form-card--horizontal", class: { "vd-new-form": e.hasNewDesign, [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-legal-assistance" }, [t("birthdate-input", { model: { value: e.userState.birthdate, callback: function(r) {
84
- e.$set(e.userState, "birthdate", r);
85
- }, expression: "userState.birthdate" } }), t("div", { staticClass: "vd-form-group vd-form-group--address-handler-block" }, [t("address-handler", { staticClass: "address-handler-horizontal-block", attrs: { "zipcode-name": "zipcode", "show-street-and-city": !0, "house-number-name": "housenumber", template: "FORM_HORIZONTAL", "house-number-addition-name": "housenumberaddition", zipcode: e.userState.zipcode, "house-number": e.userState.houseNumber, "house-number-addition": e.userState.houseNumberAddition }, on: { "update-zipcode": (r) => e.userState.zipcode = r, "update-house-number": (r) => e.userState.houseNumber = r, "update-house-number-addition": (r) => e.userState.houseNumberAddition = r, "address-correct": (r) => e.houseError = !r } })], 1), t("div", { staticClass: "vd-form-group" }, [t("label", { staticClass: "vd-form-group__label", attrs: { for: "ownedBuilding" } }, [e._v(" Heb je een koop- of huurwoning? ")]), t("b-form-radio-group", { staticClass: "vd-radio-buttons", attrs: { options: e.HouseOwnedBuildingOptions, "text-field": "title", "data-vv-name": "ownedBuilding", name: "ownedBuilding" }, model: { value: e.legalState.ownedBuilding, callback: function(r) {
86
- e.$set(e.legalState, "ownedBuilding", r);
87
- }, expression: "legalState.ownedBuilding" } }), t("ErrorHandler", { attrs: { "errors-data": [{ rule: e.ownedBuildingError, text: "Deze vraag is verplicht" }] } })], 1), t("family-composition-input", { model: { value: e.userState.familyComposition, callback: function(r) {
88
- e.$set(e.userState, "familyComposition", r);
89
- }, expression: "userState.familyComposition" } }), ["K"].includes(e.userState.familyComposition) ? t("div", { staticClass: "vd-form-group mb-0" }, [t("default-select", { attrs: { id: "familySize", options: e.FamilySizeOptions, "is-required": !0, label: "Aantal kinderen", placeholder: "Maak een keuze", name: "familySize" }, model: { value: e.legalState.familySize, callback: function(r) {
90
- e.$set(e.legalState, "familySize", r);
91
- }, expression: "legalState.familySize" } }, [t("template", { slot: "error-messages" }, [t("ErrorHandler", { attrs: { name: "familySize", "errors-data": [{ rule: "required", text: "Kies het aantal kinderen" }] } })], 1)], 2)], 1) : e._e(), t("div", { staticClass: "vd-form-group vd-form-group__button" }, [t("button", { class: e.hasNewDesign ? "vd-btn vd-btn-green vd-btn-w-100" : "btn-a btn-a--success btn-a--bold btn-block cursor-pointer", attrs: { disabled: e.isRequestIsHandling }, on: { click: e.validateBeforeSubmit } }, [e._v(" Vergelijken ")])])], 1)])], 1);
92
- }, C = [];
93
- o._withStripped = !0;
94
- var s = /* @__PURE__ */ v(
95
- B,
96
- o,
97
- C,
98
- !1,
99
- null,
100
- null,
101
- null,
102
- null
103
- );
104
- s.options.__file = "/Users/vergelijkdirect/Documents/projects/comparison-forms/src/insurances/legal/components/forms/LegalAssistanceFormHorizontal.vue";
105
- const V = s.exports;
106
- export {
107
- V as default
108
- };
@@ -1,102 +0,0 @@
1
- import { defineComponent as u } from "vue";
2
- import { u as d } from "./liability-W6z2ze1t.js";
3
- import { F as o, u as l, h as p, i as c, n as f } from "./index-WjnHra7k.js";
4
- import { S as _ } from "./SimpleCard-_Mg9wAqJ.js";
5
- import { A as b } from "./AddressHandler-jwYRDHTI.js";
6
- import { D as v } from "./DefaultInput-zxU1ufPA.js";
7
- import { D as h } from "./DefaultSelect-t64f_R7v.js";
8
- import { B as S } from "./BirthdateInput-1tsGzxTx.js";
9
- import { E as y } from "./ErrorHandler-9Zxi6g3R.js";
10
- import { F as C } from "./FamilyCompositionInput-dWbnEFac.js";
11
- import "./familyComposition.model-1F80igwZ.js";
12
- import "./array.util-agNtEyks.js";
13
- import "./common-J_DOueuE.js";
14
- import "@vergelijkdirect/insurance-transmission-client";
15
- import "./Session.util-aedjr12J.js";
16
- import "vee-validate";
17
- import "moment";
18
- import "./vue-popper.min-O3ciEEKg.js";
19
- import "./_commonjsHelpers-4t9S7M5p.js";
20
- const g = u({
21
- name: "LiabilityForm",
22
- components: {
23
- ErrorHandler: y,
24
- BirthdateInput: S,
25
- SimpleCard: _,
26
- AddressHandler: b,
27
- DefaultInput: v,
28
- DefaultSelect: h,
29
- FamilyCompositionInput: C
30
- },
31
- props: {
32
- title: {
33
- type: String,
34
- default: "Aansprakelijkheidsverzekering vergelijken"
35
- },
36
- showTitle: {
37
- required: !1,
38
- type: Boolean,
39
- default: !0
40
- },
41
- formLocation: {
42
- type: String,
43
- required: !1,
44
- default: o.isBeforeFlow
45
- },
46
- link: {
47
- type: String,
48
- required: !0
49
- },
50
- userInformation: {
51
- required: !1
52
- },
53
- insuranceState: {
54
- required: !1
55
- },
56
- classes: {
57
- type: String
58
- }
59
- },
60
- setup(i, { emit: e }) {
61
- const {
62
- houseError: r,
63
- familyCompositionErrorData: t,
64
- familyCompositionModel: n,
65
- validateBeforeSubmit: m
66
- } = d(i, e);
67
- return {
68
- userState: l,
69
- hasNewDesign: p,
70
- isRequestIsHandling: c,
71
- houseError: r,
72
- familyCompositionErrorData: t,
73
- familyCompositionModel: n,
74
- FormLocations: o,
75
- validateBeforeSubmit: m
76
- };
77
- }
78
- });
79
- var s = function() {
80
- var e = this, r = e._self._c;
81
- 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("div", { staticClass: "vd-form-group" }, [r("address-handler", { attrs: { "zipcode-name": "zipcode", "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, "address-correct": (t) => e.houseError = !t } })], 1), r("birthdate-input", { model: { value: e.userState.birthdate, callback: function(t) {
82
- e.$set(e.userState, "birthdate", t);
83
- }, expression: "userState.birthdate" } }), r("family-composition-input", { model: { value: e.userState.familyComposition, callback: function(t) {
84
- e.$set(e.userState, "familyComposition", t);
85
- }, expression: "userState.familyComposition" } })], 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
- }, k = [];
87
- s._withStripped = !0;
88
- var a = /* @__PURE__ */ f(
89
- g,
90
- s,
91
- k,
92
- !1,
93
- null,
94
- null,
95
- null,
96
- null
97
- );
98
- a.options.__file = "/Users/vergelijkdirect/Documents/projects/comparison-forms/src/insurances/liability/components/forms/LiabilityForm.vue";
99
- const U = a.exports;
100
- export {
101
- U as default
102
- };