@point-hub/papp 0.0.104 → 0.0.106
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.css +1 -1
- package/dist/index.js +8 -15
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7926,7 +7926,7 @@ const sm = /* @__PURE__ */ R({
|
|
|
7926
7926
|
}, 8, ["label", "layout", "description", "required", "helpers", "errors"]);
|
|
7927
7927
|
};
|
|
7928
7928
|
}
|
|
7929
|
-
}), Im = /* @__PURE__ */ le(Bm, [["__scopeId", "data-v-
|
|
7929
|
+
}), Im = /* @__PURE__ */ le(Bm, [["__scopeId", "data-v-6561518b"]]), Mm = { class: "flex gap-2 items-center" }, $m = ["id", "required", "disabled"], Rm = ["for"], Lm = { key: 0 }, _m = /* @__PURE__ */ R({
|
|
7930
7930
|
__name: "base-checkbox",
|
|
7931
7931
|
props: /* @__PURE__ */ ke({
|
|
7932
7932
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -8088,8 +8088,9 @@ const sm = /* @__PURE__ */ R({
|
|
|
8088
8088
|
"onUpdate:modelValue": g[0] || (g[0] = (p) => n.value = p),
|
|
8089
8089
|
onClick: h,
|
|
8090
8090
|
border: v.border,
|
|
8091
|
+
placeholder: v.placeholder,
|
|
8091
8092
|
class: "w-full"
|
|
8092
|
-
}, null, 8, ["modelValue", "border"])) : q("", !0),
|
|
8093
|
+
}, null, 8, ["modelValue", "border", "placeholder"])) : q("", !0),
|
|
8093
8094
|
v.mode === "text" ? (S(), T("div", {
|
|
8094
8095
|
key: 1,
|
|
8095
8096
|
class: "border-b border-dashed cursor-pointer border-black dark:border-white",
|
|
@@ -9455,12 +9456,8 @@ const ng = ["autofocus", "required", "disabled"], rg = /* @__PURE__ */ R({
|
|
|
9455
9456
|
if (!r.disabled) {
|
|
9456
9457
|
i.value = [];
|
|
9457
9458
|
const f = c == null ? void 0 : c.split("-");
|
|
9458
|
-
if (!f) {
|
|
9459
|
-
d.value = "", a("update:modelValue", "");
|
|
9460
|
-
return;
|
|
9461
|
-
}
|
|
9462
|
-
if (r.required && (f.length !== 3 || Number(f[0]) < 1e3)) {
|
|
9463
|
-
i.value = ["Invalid date format."], d.value = "", a("update:modelValue", "");
|
|
9459
|
+
if (!f || f.length !== 3 || Number(f[0]) < 1e3) {
|
|
9460
|
+
r.required && (i.value = ["Invalid date format."]), d.value = "", a("update:modelValue", "");
|
|
9464
9461
|
return;
|
|
9465
9462
|
}
|
|
9466
9463
|
const h = /* @__PURE__ */ new Date();
|
|
@@ -9473,12 +9470,8 @@ const ng = ["autofocus", "required", "disabled"], rg = /* @__PURE__ */ R({
|
|
|
9473
9470
|
}, d = E();
|
|
9474
9471
|
re(o, (c) => {
|
|
9475
9472
|
const f = c == null ? void 0 : c.split("-");
|
|
9476
|
-
if (!f) {
|
|
9477
|
-
d.value = "", a("update:modelValue", "");
|
|
9478
|
-
return;
|
|
9479
|
-
}
|
|
9480
|
-
if (r.required && (f.length !== 3 || Number(f[0]) < 1e3)) {
|
|
9481
|
-
i.value = ["Invalid date format."], d.value = "", a("update:modelValue", "");
|
|
9473
|
+
if (!f || f.length !== 3 || Number(f[0]) < 1e3) {
|
|
9474
|
+
r.required && (i.value = ["Invalid date format."]), d.value = "", a("update:modelValue", "");
|
|
9482
9475
|
return;
|
|
9483
9476
|
}
|
|
9484
9477
|
const h = /* @__PURE__ */ new Date();
|
|
@@ -9553,7 +9546,7 @@ const ng = ["autofocus", "required", "disabled"], rg = /* @__PURE__ */ R({
|
|
|
9553
9546
|
}, 8, ["label", "layout", "description", "required", "helpers", "errors"]);
|
|
9554
9547
|
};
|
|
9555
9548
|
}
|
|
9556
|
-
}), ag = /* @__PURE__ */ le(rg, [["__scopeId", "data-v-
|
|
9549
|
+
}), ag = /* @__PURE__ */ le(rg, [["__scopeId", "data-v-dbb4adf9"]]), og = ["multiple", "accept", "autofocus", "required", "disabled"], ig = ["multiple", "accept", "required", "disabled"], lg = /* @__PURE__ */ R({
|
|
9557
9550
|
__name: "base-file-upload",
|
|
9558
9551
|
props: /* @__PURE__ */ ke({
|
|
9559
9552
|
id: {},
|