@uniquedj95/vform 1.4.2 → 1.4.4
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.
- package/dist/components/inputs/DateInput.vue.d.ts.map +1 -1
- package/dist/components/inputs/TextAreaInput.vue.d.ts.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +5 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/index.d.ts +6 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -8293,6 +8293,7 @@ const ks = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' view
|
|
8293
8293
|
emits: ["update:modelValue"],
|
8294
8294
|
setup(e, { expose: n }) {
|
8295
8295
|
const a = e, t = Tt(e, "modelValue"), l = j(null), r = j(t.value.max), o = j(t.value.max), v = j(t.value.value), s = K(() => {
|
8296
|
+
if (t.value.pattern) return t.value.pattern;
|
8296
8297
|
let h = t.value.pattern ?? "DD/MMM/YYYY";
|
8297
8298
|
return t.value.enableTime && (h += " HH:mm:ss"), h;
|
8298
8299
|
}), w = /[-/.,:\s]+/, c = K(() => s.value.split(w)), m = K(() => s.value.match(/[-/.,:\s]+/g) || []), f = j({});
|
@@ -8715,6 +8716,9 @@ const ks = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' view
|
|
8715
8716
|
counter: t.value.counter,
|
8716
8717
|
min: t.value.min,
|
8717
8718
|
max: t.value.max,
|
8719
|
+
rows: t.value.rows,
|
8720
|
+
cols: t.value.cols,
|
8721
|
+
"auto-grow": t.value.autoGrow,
|
8718
8722
|
"max-length": t.value.maxLength,
|
8719
8723
|
"min-length": t.value.minLength,
|
8720
8724
|
pattern: t.value.pattern,
|
@@ -8743,7 +8747,7 @@ const ks = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' view
|
|
8743
8747
|
})) : q("", !0)
|
8744
8748
|
]),
|
8745
8749
|
_: 1
|
8746
|
-
}, 8, ["modelValue", "fill", "label-placement", "required", "error-text", "auto-focus", "placeholder", "disabled", "counter", "min", "max", "max-length", "min-length", "pattern"]));
|
8750
|
+
}, 8, ["modelValue", "fill", "label-placement", "required", "error-text", "auto-focus", "placeholder", "disabled", "counter", "min", "max", "rows", "cols", "auto-grow", "max-length", "min-length", "pattern"]));
|
8747
8751
|
}
|
8748
8752
|
}), Ys = {
|
8749
8753
|
install(e) {
|