@point-hub/papp 0.0.103 → 0.0.105

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