@vergelijkdirect/comparison-forms 1.0.210 → 1.0.212

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,10 +27222,19 @@ 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 }) {
27228
27233
  const a = U(() => [
27234
+ {
27235
+ rule: "required",
27236
+ text: "E-mailadres is verplicht"
27237
+ },
27229
27238
  {
27230
27239
  rule: "email",
27231
27240
  text: "E-mailadres is incorrect"
@@ -27246,8 +27255,8 @@ const JL = Dw.exports, QL = (t, e) => {
27246
27255
  });
27247
27256
  var $w = function() {
27248
27257
  var e = this, r = e._self._c;
27249
- 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: "email|emailServerValidation", "is-required": !0 }, scopedSlots: e._u([{ key: "error-messages", fn: function() {
27250
- 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 } })];
27251
27260
  }, proxy: !0 }]) }, "DefaultInput", e.attrs, !1), e.listeners));
27252
27261
  }, tV = [];
27253
27262
  $w._withStripped = !0;
@@ -29086,7 +29095,7 @@ var l0 = function() {
29086
29095
  return [r("ErrorHandler", { attrs: { name: "phoneNumber", "errors-data": e.phoneNumberErrors } })];
29087
29096
  }, proxy: !0 }]), model: { value: e.userInformation.phoneNumber, callback: function(n) {
29088
29097
  e.$set(e.userInformation, "phoneNumber", n);
29089
- }, 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) {
29090
29099
  e.$set(e.userInformation, "email", n);
29091
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() {
29092
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. ")];