@vergelijkdirect/comparison-forms 1.0.209 → 1.0.211

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.
@@ -27222,6 +27222,11 @@ const JL = Dw.exports, QL = (t, e) => {
27222
27222
  name: {
27223
27223
  type: String,
27224
27224
  required: !0
27225
+ },
27226
+ isRequired: {
27227
+ type: Boolean,
27228
+ required: !1,
27229
+ default: !1
27225
27230
  }
27226
27231
  },
27227
27232
  setup(t, { attrs: e, listeners: r, emit: n }) {
@@ -27250,8 +27255,8 @@ const JL = Dw.exports, QL = (t, e) => {
27250
27255
  });
27251
27256
  var $w = function() {
27252
27257
  var e = this, r = e._self._c;
27253
- return e._self._setupProxy, r("DefaultInput", e._g(e._b({ attrs: { id: e.id, name: e.name, type: "text", placeholder: "example@gmail.com", label: "E-mailadres", validation: "required|email", "is-required": !0 }, scopedSlots: e._u([{ key: "error-messages", fn: function() {
27254
- return [r("ErrorHandler", { attrs: { name: "email", "errors-data": e.errorsData } })];
27258
+ return e._self._setupProxy, r("DefaultInput", e._g(e._b({ attrs: { id: e.id, name: e.name, type: "text", placeholder: "example@gmail.com", label: "E-mailadres", validation: `${e.isRequired ? "required" : ""}|email|emailServerValidation`, "is-required": e.isRequired }, scopedSlots: e._u([{ key: "error-messages", fn: function() {
27259
+ return [r("ErrorHandler", { attrs: { name: e.name, "errors-data": e.errorsData } })];
27255
27260
  }, proxy: !0 }]) }, "DefaultInput", e.attrs, !1), e.listeners));
27256
27261
  }, tV = [];
27257
27262
  $w._withStripped = !0;
@@ -29090,7 +29095,7 @@ var l0 = function() {
29090
29095
  return [r("ErrorHandler", { attrs: { name: "phoneNumber", "errors-data": e.phoneNumberErrors } })];
29091
29096
  }, proxy: !0 }]), model: { value: e.userInformation.phoneNumber, callback: function(n) {
29092
29097
  e.$set(e.userInformation, "phoneNumber", n);
29093
- }, expression: "userInformation.phoneNumber" } })], 1), r("div", { staticClass: "vd-form-group" }, [r("email-input", { attrs: { id: "email", name: "email" }, model: { value: e.userInformation.email, callback: function(n) {
29098
+ }, expression: "userInformation.phoneNumber" } })], 1), r("div", { staticClass: "vd-form-group" }, [r("email-input", { attrs: { id: "formEmail", name: "formEmail", "is-required": !0 }, model: { value: e.userInformation.email, callback: function(n) {
29094
29099
  e.$set(e.userInformation, "email", n);
29095
29100
  }, expression: "userInformation.email" } })], 1), r("div", { staticClass: "vd-form-group" }, [r("default-checkbox", { staticClass: "agreement", attrs: { validation: "required", value: e.agreement, name: "agreement" }, on: { input: (n) => e.agreement = n }, scopedSlots: e._u([{ key: "title", fn: function() {
29096
29101
  return [e._v(" Ik ga akkoord met de "), r("a", { attrs: { href: e.conditionsLink, target: "_blank" } }, [e._v("voorwaarden")]), e._v(" en "), r("a", { attrs: { href: e.siteLink, target: "_blank" } }, [e._v("Vergelijkdirect.com")]), e._v(" mag mij telefonisch, via WhatsApp en per e-mail benaderen. ")];