@point-hub/papp 0.0.68 → 0.0.69
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 +8 -8
- package/dist/index.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9224,12 +9224,12 @@ const Vh = ["autofocus", "required", "disabled"], Nh = /* @__PURE__ */ R({
|
|
|
9224
9224
|
if (!r.disabled) {
|
|
9225
9225
|
i.value = [];
|
|
9226
9226
|
const f = c.split("-");
|
|
9227
|
-
if (f.length !== 3 || Number(f[
|
|
9227
|
+
if (f.length !== 3 || Number(f[0]) < 1e3) {
|
|
9228
9228
|
i.value = ["Invalid date format."], d.value = "", a("update:modelValue", "");
|
|
9229
9229
|
return;
|
|
9230
9230
|
}
|
|
9231
9231
|
const h = /* @__PURE__ */ new Date();
|
|
9232
|
-
h.setDate(Number(f[
|
|
9232
|
+
h.setDate(Number(f[2])), h.setMonth(Number(f[1])), h.setFullYear(Number(f[0])), d.value = `${f[0]}-${f[1]}-${f[2]}`, a("isoValue", Fh(h)), a("update:modelValue", c);
|
|
9233
9233
|
}
|
|
9234
9234
|
},
|
|
9235
9235
|
get: () => r.modelValue
|
|
@@ -9238,14 +9238,14 @@ const Vh = ["autofocus", "required", "disabled"], Nh = /* @__PURE__ */ R({
|
|
|
9238
9238
|
}, d = E();
|
|
9239
9239
|
oe(o, (c) => {
|
|
9240
9240
|
const f = c.split("-");
|
|
9241
|
-
if (f.length !== 3 || Number(f[
|
|
9241
|
+
if (f.length !== 3 || Number(f[0]) < 1e3) {
|
|
9242
9242
|
i.value = ["Invalid date format."], d.value = "", a("update:modelValue", "");
|
|
9243
9243
|
return;
|
|
9244
9244
|
}
|
|
9245
9245
|
const h = /* @__PURE__ */ new Date();
|
|
9246
|
-
h.setDate(Number(f[
|
|
9246
|
+
h.setDate(Number(f[2])), h.setMonth(Number(f[1])), h.setFullYear(Number(f[0])), d.value = `${f[0]}-${f[1]}-${f[2]}`;
|
|
9247
9247
|
}), oe(d, (c) => {
|
|
9248
|
-
c ? o.value = Lh(new Date(c), "
|
|
9248
|
+
c ? o.value = Lh(new Date(c), "yyyy-MM-dd") : a("update:modelValue", ""), l.value.blur();
|
|
9249
9249
|
});
|
|
9250
9250
|
const u = E();
|
|
9251
9251
|
return t({
|
|
@@ -9294,7 +9294,7 @@ const Vh = ["autofocus", "required", "disabled"], Nh = /* @__PURE__ */ R({
|
|
|
9294
9294
|
"border-full": c.border === "full",
|
|
9295
9295
|
"border-none pl-0!": c.border === "none"
|
|
9296
9296
|
}]),
|
|
9297
|
-
placeholder: "
|
|
9297
|
+
placeholder: "YYYY-MM-DD",
|
|
9298
9298
|
autofocus: r.autofocus,
|
|
9299
9299
|
required: r.required,
|
|
9300
9300
|
disabled: r.disabled
|
|
@@ -9305,14 +9305,14 @@ const Vh = ["autofocus", "required", "disabled"], Nh = /* @__PURE__ */ R({
|
|
|
9305
9305
|
void 0,
|
|
9306
9306
|
{ lazy: !0 }
|
|
9307
9307
|
],
|
|
9308
|
-
[p, { date: !0, delimiter: "-", datePattern: ["
|
|
9308
|
+
[p, { date: !0, delimiter: "-", datePattern: ["Y", "m", "d"] }]
|
|
9309
9309
|
])
|
|
9310
9310
|
]),
|
|
9311
9311
|
_: 1
|
|
9312
9312
|
}, 8, ["label", "layout", "description", "required", "helpers", "errors"]);
|
|
9313
9313
|
};
|
|
9314
9314
|
}
|
|
9315
|
-
}), jh = /* @__PURE__ */ se(Nh, [["__scopeId", "data-v-
|
|
9315
|
+
}), jh = /* @__PURE__ */ se(Nh, [["__scopeId", "data-v-32958586"]]), Wh = ["multiple", "autofocus", "required", "disabled"], qh = ["multiple", "required", "disabled"], Hh = /* @__PURE__ */ R({
|
|
9316
9316
|
__name: "base-file-upload",
|
|
9317
9317
|
props: {
|
|
9318
9318
|
id: {},
|