@vergelijkdirect/comparison-forms 1.0.91 → 1.0.93

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.
@@ -13164,7 +13164,7 @@ const qt = Pc.exports, E1 = de({
13164
13164
  });
13165
13165
  var Rc = function() {
13166
13166
  var e = this, r = e._self._c;
13167
- return e._self._setupProxy, r("div", { class: e.vdFormVersion === "1" ? "vd-form-group" : "" }, [r("span", [e.template === "FORM" ? r("div", { staticClass: "component-mb-1" }, [r("div", { staticClass: "row" }, [r("div", { staticClass: "col-md-12" }, [r("default-input", { attrs: { id: e.zipcodeName, mask: "####AA", "autocomplete-off": !0, placeholder: "bv. 1234AZ", validation: { rules: { required: "required", regex: /^\d{4}(\s|)[a-z]{2}$/i } }, type: "text", label: "Postcode", name: e.zipcodeName, "is-required": !0 }, on: { change: e.updateZipcode }, model: { value: e.zipcodeModel, callback: function(n) {
13167
+ return e._self._setupProxy, r("div", { staticClass: "vd-form-group" }, [r("span", [e.template === "FORM" ? r("div", { staticClass: "component-mb-1" }, [r("div", { staticClass: "row" }, [r("div", { staticClass: "col-md-12" }, [r("default-input", { attrs: { id: e.zipcodeName, mask: "####AA", "autocomplete-off": !0, placeholder: "bv. 1234AZ", validation: { rules: { required: "required", regex: /^\d{4}(\s|)[a-z]{2}$/i } }, type: "text", label: "Postcode", name: e.zipcodeName, "is-required": !0 }, on: { change: e.updateZipcode }, model: { value: e.zipcodeModel, callback: function(n) {
13168
13168
  e.zipcodeModel = n;
13169
13169
  }, expression: "zipcodeModel" } }, [r("template", { slot: "error-messages" }, [e.errors.has(e.zipcodeName + ":required") ? r("p", { staticClass: "vd-form-error" }, [r("i", { staticClass: "fas fa-exclamation-circle mr-1" }), e._v("Vul je postcode in ")]) : e._e(), e.errors.has(e.zipcodeName + ":regex") ? r("p", { staticClass: "vd-form-error" }, [r("i", { staticClass: "fas fa-exclamation-circle mr-1" }), e._v("Postcode is incorrect ")]) : e._e()])], 2)], 1)]), r("div", { staticClass: "row" }, [r("div", { staticClass: "col-md-4" }, [r("default-input", { staticClass: "mb-md-0", attrs: { id: "houseNumber", "autocomplete-off": !0, placeholder: "bv. 1", validation: "required|numeric", label: "Huisnummer", type: "text", name: e.houseNumberName, "is-required": !0 }, on: { change: e.updateHouseNumber }, model: { value: e.houseNumberModel, callback: function(n) {
13170
13170
  e.houseNumberModel = n;
@@ -13373,6 +13373,11 @@ const hr = Fc.exports, q1 = de({
13373
13373
  required: !1,
13374
13374
  default: "Motorverzekering vergelijken"
13375
13375
  },
13376
+ showTitle: {
13377
+ required: !1,
13378
+ type: Boolean,
13379
+ default: !0
13380
+ },
13376
13381
  buttonOptions: {
13377
13382
  required: !1
13378
13383
  },
@@ -13454,7 +13459,7 @@ var Nc = function() {
13454
13459
  var e = this, r = e._self._c;
13455
13460
  return e._self._setupProxy, r("div", { staticClass: "vd-form-card", class: { "vd-new-form": e.vdFormVersion === "1", [e.classes]: !!e.classes } }, [r("form", { ref: "motor-form", attrs: { action: e.link, method: "GET" }, on: { submit: function(n) {
13456
13461
  return n.preventDefault(), e.validateBeforeSubmit.apply(null, arguments);
13457
- } } }, [r("p", { staticClass: "vd-form-card__title" }, [e._v(" " + e._s(e.title) + " ")]), r("div", { staticClass: "vd-form-card__content" }, [r("license-plate", { attrs: { id: "license", "prop-vehicle-information": e.vehicle, "vehicle-types": [
13462
+ } } }, [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", "prop-vehicle-information": e.vehicle, "vehicle-types": [
13458
13463
  "Motor",
13459
13464
  "MP3Motor"
13460
13465
  ], "vehicle-type": "motor", "insurance-dutch-naming": "motor", name: "license", "vd-form-version": e.vdFormVersion }, on: { input: e.onLicenseInput, "on-error": e.onLicenseError, "on-vehicle-information-update": (n) => e.licenseInformation = n }, model: { value: e.motorState.license, callback: function(n) {
@@ -13515,6 +13520,11 @@ const B1 = Ic.exports, G1 = de({
13515
13520
  required: !1,
13516
13521
  default: "Motorverzekering vergelijken"
13517
13522
  },
13523
+ showTitle: {
13524
+ required: !1,
13525
+ type: Boolean,
13526
+ default: !0
13527
+ },
13518
13528
  buttonOptions: {
13519
13529
  required: !1
13520
13530
  },
@@ -13588,9 +13598,9 @@ const B1 = Ic.exports, G1 = de({
13588
13598
  });
13589
13599
  var Ec = function() {
13590
13600
  var e = this, r = e._self._c;
13591
- return e._self._setupProxy, r("div", { staticClass: "vd-form-card", class: { "vd-new-form": e.vdFormVersion === "1", [e.classes]: !!e.classes } }, [r("form", { ref: "motor-form", attrs: { action: e.link, method: "GET" }, on: { submit: function(n) {
13601
+ return e._self._setupProxy, r("div", { staticClass: "vd-form-card vd-form-card--horizontal", class: { "vd-new-form": e.vdFormVersion === "1", [e.classes]: !!e.classes } }, [r("form", { ref: "motor-form", attrs: { action: e.link, method: "GET" }, on: { submit: function(n) {
13592
13602
  return n.preventDefault(), e.validateBeforeSubmit.apply(null, arguments);
13593
- } } }, [r("p", { staticClass: "vd-form-card__title" }, [e._v(" " + e._s(e.title) + " ")]), r("div", { staticClass: "vd-form-card__content mb-0 pb-0 pb-lg-3" }, [r("license-plate", { attrs: { id: "license", "prop-vehicle-information": e.vehicle, "vehicle-types": [
13603
+ } } }, [e.showTitle ? r("p", { staticClass: "vd-form-card__title" }, [e._v(" " + e._s(e.title) + " ")]) : e._e(), r("div", { staticClass: "vd-form-card__content mb-0 pb-0 pb-lg-3" }, [r("license-plate", { attrs: { id: "license", "prop-vehicle-information": e.vehicle, "vehicle-types": [
13594
13604
  "Motor",
13595
13605
  "MP3Motor"
13596
13606
  ], "vehicle-type": "motor", "insurance-dutch-naming": "motor", name: "license", "vd-form-version": e.vdFormVersion }, on: { input: e.onLicenseInput, "on-error": e.onLicenseError, "on-vehicle-information-update": (n) => e.licenseInformation = n }, model: { value: e.motorState.license, callback: function(n) {
@@ -14038,11 +14048,16 @@ const ed = (t, e) => {
14038
14048
  required: !1,
14039
14049
  type: String
14040
14050
  },
14041
- formTitle: {
14051
+ title: {
14042
14052
  required: !1,
14043
14053
  type: String,
14044
14054
  default: "Geld lenen"
14045
14055
  },
14056
+ showTitle: {
14057
+ required: !1,
14058
+ type: Boolean,
14059
+ default: !0
14060
+ },
14046
14061
  formOrientation: {
14047
14062
  type: String,
14048
14063
  default: qr.Vertical,
@@ -14074,7 +14089,7 @@ const ed = (t, e) => {
14074
14089
  });
14075
14090
  var td = function() {
14076
14091
  var e = this, r = e._self._c;
14077
- return e._self._setupProxy, r("div", { staticClass: "vd-form-card", class: { "vd-new-form": e.vdFormVersion === "1", [e.classes]: !!e.classes, "vd-form-card--horizontal": e.isHorizontalForm } }, [r("p", { staticClass: "vd-form-card__title" }, [e._v(" " + e._s(e.formTitle) + " ")]), r("div", { staticClass: "vd-form-card__content" }, [r("loan-purpose-input-field", { attrs: { "vd-form-version": e.vdFormVersion }, model: { value: e.loanState.loanPurpose, callback: function(n) {
14092
+ return e._self._setupProxy, r("div", { staticClass: "vd-form-card", class: { "vd-new-form": e.vdFormVersion === "1", [e.classes]: !!e.classes, "vd-form-card--horizontal": e.isHorizontalForm } }, [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("loan-purpose-input-field", { attrs: { "vd-form-version": e.vdFormVersion }, model: { value: e.loanState.loanPurpose, callback: function(n) {
14078
14093
  e.$set(e.loanState, "loanPurpose", n);
14079
14094
  }, expression: "loanState.loanPurpose" } }), r("loan-amount-input-field", { attrs: { "vd-form-version": e.vdFormVersion }, model: { value: e.loanState.loanAmount, callback: function(n) {
14080
14095
  e.$set(e.loanState, "loanAmount", e._n(n));
@@ -14110,11 +14125,16 @@ const hw = rd.exports, mw = de({
14110
14125
  SimpleCard: hr
14111
14126
  },
14112
14127
  props: {
14113
- formTitle: {
14128
+ title: {
14114
14129
  required: !1,
14115
14130
  type: String,
14116
14131
  default: "Geld lenen"
14117
14132
  },
14133
+ showTitle: {
14134
+ required: !1,
14135
+ type: Boolean,
14136
+ default: !0
14137
+ },
14118
14138
  comparison: {
14119
14139
  required: !0
14120
14140
  },
@@ -14150,7 +14170,7 @@ const hw = rd.exports, mw = de({
14150
14170
  });
14151
14171
  var nd = function() {
14152
14172
  var e = this, r = e._self._c;
14153
- return e._self._setupProxy, r("div", { staticClass: "vd-form-card", class: { "vd-new-form": e.vdFormVersion === "1", [e.classes]: !!e.classes } }, [r("p", { staticClass: "vd-form-card__title" }, [e._v(" " + e._s(e.formTitle) + " ")]), r("div", { staticClass: "vd-form-card__content p-0" }, [r("loan-purpose-input-field", { attrs: { "vd-form-version": e.vdFormVersion }, model: { value: e.loanState.loanPurpose, callback: function(n) {
14173
+ return e._self._setupProxy, r("div", { staticClass: "vd-form-card", class: { "vd-new-form": e.vdFormVersion === "1", [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 p-0" }, [r("loan-purpose-input-field", { attrs: { "vd-form-version": e.vdFormVersion }, model: { value: e.loanState.loanPurpose, callback: function(n) {
14154
14174
  e.$set(e.loanState, "loanPurpose", n);
14155
14175
  }, expression: "loanState.loanPurpose" } }), r("loan-amount-input-field", { attrs: { "vd-form-version": e.vdFormVersion }, model: { value: e.loanState.loanAmount, callback: function(n) {
14156
14176
  e.$set(e.loanState, "loanAmount", e._n(n));
@@ -14547,10 +14567,15 @@ const Ow = ld.exports, Cw = de({
14547
14567
  type: String,
14548
14568
  required: !1
14549
14569
  },
14550
- formTitle: {
14570
+ title: {
14551
14571
  required: !1,
14552
14572
  type: String
14553
14573
  },
14574
+ showTitle: {
14575
+ required: !1,
14576
+ type: Boolean,
14577
+ default: !0
14578
+ },
14554
14579
  formOrientation: {
14555
14580
  required: !1,
14556
14581
  type: String,
@@ -14573,7 +14598,7 @@ const Ow = ld.exports, Cw = de({
14573
14598
  });
14574
14599
  var cd = function() {
14575
14600
  var e = this, r = e._self._c;
14576
- return e._self._setupProxy, r(e.formComponent, { tag: "component", attrs: { link: e.link, "base-url": e.baseUrl, "vd-form-version": e.vdFormVersion, "user-information": e.userInformation, "insurance-state": e.insuranceState, "is-on-result-page": e.isOnResultPage, classes: e.classes, "form-title": e.formTitle, "form-orientation": e.formOrientation, comparison: e.comparison }, on: { "submit-form": e.submitFormData, "emit-event-hub": e.emitEventHub } });
14601
+ return e._self._setupProxy, r(e.formComponent, { tag: "component", attrs: { link: e.link, "base-url": e.baseUrl, "vd-form-version": e.vdFormVersion, "user-information": e.userInformation, "insurance-state": e.insuranceState, "is-on-result-page": e.isOnResultPage, classes: e.classes, title: e.title, showTitle: e.showTitle, "form-orientation": e.formOrientation, comparison: e.comparison }, on: { "submit-form": e.submitFormData, "emit-event-hub": e.emitEventHub } });
14577
14602
  }, Mw = [];
14578
14603
  cd._withStripped = !0;
14579
14604
  var dd = /* @__PURE__ */ fe(