@factoringplus/pl-components-pack-v3 0.3.57 → 0.3.60
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.
|
@@ -42085,6 +42085,9 @@ const _sfc_main$1 = {
|
|
|
42085
42085
|
const ruleForm = reactive({
|
|
42086
42086
|
[props.prop]: modelValue
|
|
42087
42087
|
});
|
|
42088
|
+
const validateInp = (prop, isValid2, message2) => {
|
|
42089
|
+
emit2("validate", prop, isValid2, message2);
|
|
42090
|
+
};
|
|
42088
42091
|
watch(modelValue, (newValue) => {
|
|
42089
42092
|
ruleForm[props.prop] = newValue;
|
|
42090
42093
|
});
|
|
@@ -42106,7 +42109,7 @@ const _sfc_main$1 = {
|
|
|
42106
42109
|
const _component_el_form = ElForm;
|
|
42107
42110
|
return openBlock(), createElementBlock("div", null, [
|
|
42108
42111
|
createVNode(_component_el_form, {
|
|
42109
|
-
onValidate:
|
|
42112
|
+
onValidate: validateInp,
|
|
42110
42113
|
"label-position": "top",
|
|
42111
42114
|
model: ruleForm,
|
|
42112
42115
|
ref: "form",
|
|
@@ -42171,7 +42174,7 @@ const _sfc_main$1 = {
|
|
|
42171
42174
|
], 2)
|
|
42172
42175
|
]),
|
|
42173
42176
|
_: 1
|
|
42174
|
-
}, 8, ["
|
|
42177
|
+
}, 8, ["model", "rules"])
|
|
42175
42178
|
]);
|
|
42176
42179
|
};
|
|
42177
42180
|
}
|