@point-hub/papp 0.0.102 → 0.0.104

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.js CHANGED
@@ -9455,7 +9455,11 @@ const ng = ["autofocus", "required", "disabled"], rg = /* @__PURE__ */ R({
9455
9455
  if (!r.disabled) {
9456
9456
  i.value = [];
9457
9457
  const f = c == null ? void 0 : c.split("-");
9458
- if (!f || f.length !== 3 || Number(f[0]) < 1e3) {
9458
+ if (!f) {
9459
+ d.value = "", a("update:modelValue", "");
9460
+ return;
9461
+ }
9462
+ if (r.required && (f.length !== 3 || Number(f[0]) < 1e3)) {
9459
9463
  i.value = ["Invalid date format."], d.value = "", a("update:modelValue", "");
9460
9464
  return;
9461
9465
  }
@@ -9469,7 +9473,11 @@ const ng = ["autofocus", "required", "disabled"], rg = /* @__PURE__ */ R({
9469
9473
  }, d = E();
9470
9474
  re(o, (c) => {
9471
9475
  const f = c == null ? void 0 : c.split("-");
9472
- if (!f || f.length !== 3 || Number(f[0]) < 1e3) {
9476
+ if (!f) {
9477
+ d.value = "", a("update:modelValue", "");
9478
+ return;
9479
+ }
9480
+ if (r.required && (f.length !== 3 || Number(f[0]) < 1e3)) {
9473
9481
  i.value = ["Invalid date format."], d.value = "", a("update:modelValue", "");
9474
9482
  return;
9475
9483
  }
@@ -9545,7 +9553,7 @@ const ng = ["autofocus", "required", "disabled"], rg = /* @__PURE__ */ R({
9545
9553
  }, 8, ["label", "layout", "description", "required", "helpers", "errors"]);
9546
9554
  };
9547
9555
  }
9548
- }), ag = /* @__PURE__ */ le(rg, [["__scopeId", "data-v-38eb3ed5"]]), og = ["multiple", "accept", "autofocus", "required", "disabled"], ig = ["multiple", "accept", "required", "disabled"], lg = /* @__PURE__ */ R({
9556
+ }), ag = /* @__PURE__ */ le(rg, [["__scopeId", "data-v-139e2fe7"]]), og = ["multiple", "accept", "autofocus", "required", "disabled"], ig = ["multiple", "accept", "required", "disabled"], lg = /* @__PURE__ */ R({
9549
9557
  __name: "base-file-upload",
9550
9558
  props: /* @__PURE__ */ ke({
9551
9559
  id: {},