@uniquedj95/vform 1.4.2 → 1.4.3

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/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({});