@vergelijkdirect/comparison-forms 1.1.26-rc.0 → 1.1.26-rc.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.
|
@@ -18341,11 +18341,11 @@ const ne = n_.exports, n2 = N({
|
|
|
18341
18341
|
});
|
|
18342
18342
|
var a_ = function() {
|
|
18343
18343
|
var e = this, r = e._self._c;
|
|
18344
|
-
return e._self._setupProxy, r("div", { staticClass: "vd-form-group" }, [e.hideLabel ? e._e() : r("label", { staticClass: "vd-form-group__label", attrs: { for: e.id } }, [e.label ? r("span", [e._v(
|
|
18344
|
+
return e._self._setupProxy, r("div", { staticClass: "vd-form-group" }, [e.hideLabel ? e._e() : r("label", { staticClass: "vd-form-group__label", attrs: { for: e.id } }, [e.label ? r("span", [e._v(e._s(e.label))]) : r("span", [e._t("title")], 2), e.isRequired && e.label ? r("span", { staticClass: "text-danger ml-1 mt-2" }, [e._v("*")]) : e._e()]), r("div", [r("div", { staticClass: "position-relative", class: {
|
|
18345
18345
|
"vd-form-group--filled-in": e.value && e.value !== "CHOOSE_OPTION" && e.wasOptionChosen && !e.errors.has(e.name),
|
|
18346
18346
|
"vd-form-group--error vd-form-group--error--no-error-times": e.errors.has(e.name),
|
|
18347
|
-
"vd-form-group--empty-select": e.value
|
|
18348
|
-
} }, [r("select", { directives: [{ name: "validate", rawName: "v-validate", value: e.validation, expression: "validation" }], staticClass: "vd-form-group__input form-control", class: { "vd-form-group__input--error": e.errors.has(e.name) }, attrs: { id: e.id, disabled: e.disabled, name: e.name }, domProps: { value: e.value }, on: { change: e.changeValue } }, [e.noDefaultPlaceholder ? e._e() : r("option", { attrs: { value: "" } }, [e._v(" " + e._s(e.placeholder) + " ")]), e._l(e.options, function(n, a) {
|
|
18347
|
+
"vd-form-group--empty-select": !e.value && !e.errors.has(e.name)
|
|
18348
|
+
} }, [r("select", { directives: [{ name: "validate", rawName: "v-validate", value: e.validation, expression: "validation" }], staticClass: "vd-form-group__input form-control", class: { "vd-form-group__input--error": e.errors.has(e.name) }, attrs: { id: e.id, disabled: e.disabled, name: e.name }, domProps: { value: e.value }, on: { change: e.changeValue } }, [e.noDefaultPlaceholder ? e._e() : r("option", { attrs: { value: "", disabled: "" } }, [e._v(" " + e._s(e.placeholder) + " ")]), e._l(e.options, function(n, a) {
|
|
18349
18349
|
return r("option", { key: n.value + "_" + a, attrs: { disabled: n.disabled || !1 }, domProps: { selected: n.selected || !1, value: n.value } }, [e._v(" " + e._s(n.title) + " ")]);
|
|
18350
18350
|
})], 2), r("label", { staticClass: "vd-form-group__select-icon cursor-pointer", attrs: { for: e.id } })])]), e._t("additional-info"), e._t("error-messages")], 2);
|
|
18351
18351
|
}, a2 = [];
|
|
@@ -23308,7 +23308,7 @@ const wF = N({
|
|
|
23308
23308
|
});
|
|
23309
23309
|
var Cb = function() {
|
|
23310
23310
|
var e = this, r = e._self._c;
|
|
23311
|
-
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("default-select", { attrs: { id: "kind", label: "Soort fiets", name: "kind", placeholder: "
|
|
23311
|
+
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("default-select", { class: { "select-empty-value": !e.bikeState.kind }, attrs: { id: "kind", label: "Soort fiets", name: "kind", placeholder: "Maak een keuze", options: e.bikeKinds, "is-required": "" }, scopedSlots: e._u([{ key: "error-messages", fn: function() {
|
|
23312
23312
|
return [r("ErrorHandler", { attrs: { name: "kind", "errors-data": [{ rule: "required", text: "Selecteer je fiets" }] } })];
|
|
23313
23313
|
}, proxy: !0 }]), model: { value: e.bikeState.kind, callback: function(n) {
|
|
23314
23314
|
e.$set(e.bikeState, "kind", e._n(n));
|
|
@@ -23680,7 +23680,7 @@ const IF = N(
|
|
|
23680
23680
|
() => [
|
|
23681
23681
|
{
|
|
23682
23682
|
rule: "required",
|
|
23683
|
-
text: "
|
|
23683
|
+
text: "Dit veld is verplicht"
|
|
23684
23684
|
},
|
|
23685
23685
|
{
|
|
23686
23686
|
rule: "minlength",
|
|
@@ -27655,7 +27655,7 @@ var $w = function() {
|
|
|
27655
27655
|
e.$set(e.legalState, "ownedBuilding", n);
|
|
27656
27656
|
}, expression: "legalState.ownedBuilding" } }), r("ErrorHandler", { attrs: { "errors-data": [{ rule: e.ownedBuildingError, text: "Deze vraag is verplicht" }] } })], 1), r("family-composition-input", { model: { value: e.userState.familyComposition, callback: function(n) {
|
|
27657
27657
|
e.$set(e.userState, "familyComposition", n);
|
|
27658
|
-
}, expression: "userState.familyComposition" } }), ["K"].includes(e.userState.familyComposition) ? r("default-select", { attrs: { id: "familySize", options: e.FamilySizeOptions, "is-required": !0, label: "Aantal kinderen", placeholder: "
|
|
27658
|
+
}, expression: "userState.familyComposition" } }), ["K"].includes(e.userState.familyComposition) ? r("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(n) {
|
|
27659
27659
|
e.$set(e.legalState, "familySize", n);
|
|
27660
27660
|
}, expression: "legalState.familySize" } }, [r("template", { slot: "error-messages" }, [r("ErrorHandler", { attrs: { name: "familySize", "errors-data": [{ rule: "required", text: "Kies het aantal kinderen" }] } })], 1)], 2) : e._e()], 1), r("div", { staticClass: "vd-form-card__footer" }, [r("button", { staticClass: "vd-btn vd-btn-green vd-btn-w-100", on: { click: e.validateBeforeSubmit } }, [e._v(" Vergelijken ")])])])], 1);
|
|
27661
27661
|
}, aV = [];
|
|
@@ -27747,7 +27747,7 @@ var Mw = function() {
|
|
|
27747
27747
|
e.$set(e.legalState, "ownedBuilding", n);
|
|
27748
27748
|
}, expression: "legalState.ownedBuilding" } }), r("ErrorHandler", { attrs: { "errors-data": [{ rule: e.ownedBuildingError, text: "Deze vraag is verplicht" }] } })], 1), r("family-composition-input", { model: { value: e.userState.familyComposition, callback: function(n) {
|
|
27749
27749
|
e.$set(e.userState, "familyComposition", n);
|
|
27750
|
-
}, expression: "userState.familyComposition" } }), ["K"].includes(e.userState.familyComposition) ? r("div", { staticClass: "vd-form-group mb-0" }, [r("default-select", { attrs: { id: "familySize", options: e.FamilySizeOptions, "is-required": !0, label: "Aantal kinderen", placeholder: "
|
|
27750
|
+
}, expression: "userState.familyComposition" } }), ["K"].includes(e.userState.familyComposition) ? r("div", { staticClass: "vd-form-group mb-0" }, [r("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(n) {
|
|
27751
27751
|
e.$set(e.legalState, "familySize", n);
|
|
27752
27752
|
}, expression: "legalState.familySize" } }, [r("template", { slot: "error-messages" }, [r("ErrorHandler", { attrs: { name: "familySize", "errors-data": [{ rule: "required", text: "Kies het aantal kinderen" }] } })], 1)], 2)], 1) : e._e(), r("div", { staticClass: "vd-form-group vd-form-group__button" }, [r("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", on: { click: e.validateBeforeSubmit } }, [e._v(" Vergelijken ")])])], 1)])], 1);
|
|
27753
27753
|
}, oV = [];
|
|
@@ -27991,9 +27991,9 @@ var Fw = function() {
|
|
|
27991
27991
|
n.target.composing || e.$set(e.legalState, "ownedBuilding", n.target.value);
|
|
27992
27992
|
} } }), e.errors.has("ownedBuilding-hidden:required") ? r("p", { staticClass: "vd-form-error position-relative mb-3" }, [e._v(" Deze vraag is verplicht ")]) : e._e(), r("family-composition-input", { model: { value: e.userState.familyComposition, callback: function(n) {
|
|
27993
27993
|
e.$set(e.userState, "familyComposition", n);
|
|
27994
|
-
}, expression: "userState.familyComposition" } }), ["K"].includes(e.userState.familyComposition) ? r("div", [r("default-select", { staticClass: "mb-3 mx-0", attrs: { id: "familySize", options: e.FamilySizeOptions, label: "Aantal kinderen", placeholder: "
|
|
27995
|
-
e.$set(e.
|
|
27996
|
-
}, expression: "
|
|
27994
|
+
}, expression: "userState.familyComposition" } }), ["K"].includes(e.userState.familyComposition) ? r("div", [r("default-select", { staticClass: "mb-3 mx-0", attrs: { id: "familySize", options: e.FamilySizeOptions, label: "Aantal kinderen", placeholder: "Maak een keuze", name: "familySize", "is-required": "" }, model: { value: e.legalState.familySize, callback: function(n) {
|
|
27995
|
+
e.$set(e.legalState, "familySize", n);
|
|
27996
|
+
}, expression: "legalState.familySize" } }, [r("template", { slot: "error-messages" }, [e.errors.has("familySize:required") ? r("p", { staticClass: "vd-form-error position-relative" }, [e._v(" Kies het aantal kinderen ")]) : e._e()])], 2)], 1) : e._e(), r("div", { staticClass: "vd-form-group" }, [r("div", { staticClass: "btn-a btn-a--success btn-a--bold btn-block btn-a--horizontal cursor-pointer", on: { click: e.validateBeforeSubmit } }, [e._v(" Vergelijken ")])])], 1)]), r("b-modal", { staticClass: "form-modal", attrs: { static: "", "hide-footer": "", title: "Oeps.. er gaat iets mis!", centered: "", "header-border-variant": "white", "no-close-on-backdrop": "" }, model: { value: e.hasComparisonCreationError, callback: function(n) {
|
|
27997
27997
|
e.hasComparisonCreationError = n;
|
|
27998
27998
|
}, expression: "hasComparisonCreationError" } }, [r("p", [e._v(" Door een technische storing kunnen we op dit moment geen premies vergelijken. Laat je gegevens achter en we helpen je zo snel mogelijk telefonisch verder! ")]), r("quotation-modal", { attrs: { notes: e.comparisonCreationErrorNotes, "ref-id": e.comparisonCreationErrorRefId } })], 1)], 1);
|
|
27999
27999
|
}, mV = [];
|