@point-hub/papp 0.1.16 → 0.1.18
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 +10 -9
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10696,15 +10696,16 @@ const mg = /* @__PURE__ */ fg(vg), hg = { class: "relative w-full" }, gg = ["id"
|
|
|
10696
10696
|
}, h = E();
|
|
10697
10697
|
return ne(() => {
|
|
10698
10698
|
a.autofocus && h.value?.focus();
|
|
10699
|
-
}), ee(
|
|
10700
|
-
()
|
|
10701
|
-
|
|
10702
|
-
n.value = o.value?.label ?? "", r.value = o.value?.value ?? "", s.value?.length && (s.value = []);
|
|
10703
|
-
}
|
|
10704
|
-
), ee(
|
|
10699
|
+
}), ee(() => o.value, (g) => {
|
|
10700
|
+
r.value !== g?.value && (r.value = g?.value), n.value !== g?.label && (n.value = g?.label), s.value?.length && (s.value = []);
|
|
10701
|
+
}, { immediate: !0 }), ee(
|
|
10705
10702
|
() => r.value,
|
|
10706
10703
|
(g) => {
|
|
10707
|
-
|
|
10704
|
+
const v = a.options?.find((m) => m.value === g);
|
|
10705
|
+
v ? o.value = {
|
|
10706
|
+
value: v?.value,
|
|
10707
|
+
label: v?.label
|
|
10708
|
+
} : o.value = void 0;
|
|
10708
10709
|
},
|
|
10709
10710
|
{ immediate: !0 }
|
|
10710
10711
|
), t({
|
|
@@ -10781,7 +10782,7 @@ const mg = /* @__PURE__ */ fg(vg), hg = { class: "relative w-full" }, gg = ["id"
|
|
|
10781
10782
|
default: V(() => [
|
|
10782
10783
|
W(N(hu), { class: "options" }, {
|
|
10783
10784
|
default: V(() => [
|
|
10784
|
-
i.value ? (w(), B("div", Wg, " Loading data... ")) : _("", !0),
|
|
10785
|
+
i.value && d.value.length === 0 && l.value !== "" ? (w(), B("div", Wg, " Loading data... ")) : _("", !0),
|
|
10785
10786
|
!i.value && d.value.length === 0 && l.value !== "" ? (w(), B("div", Hg, " Nothing found. ")) : _("", !0),
|
|
10786
10787
|
i.value ? _("", !0) : (w(!0), B(fe, { key: 2 }, Me(d.value, (S) => (w(), U(N(gu), {
|
|
10787
10788
|
as: "template",
|
|
@@ -10818,7 +10819,7 @@ const mg = /* @__PURE__ */ fg(vg), hg = { class: "relative w-full" }, gg = ["id"
|
|
|
10818
10819
|
}, 8, ["label", "layout", "description", "required", "helpers", "errors"]);
|
|
10819
10820
|
};
|
|
10820
10821
|
}
|
|
10821
|
-
}), zg = /* @__PURE__ */ oe(qg, [["__scopeId", "data-v-
|
|
10822
|
+
}), zg = /* @__PURE__ */ oe(qg, [["__scopeId", "data-v-fc084772"]]), Ug = ["disabled", "data-testid"], Yg = /* @__PURE__ */ R({
|
|
10822
10823
|
__name: "base-switch",
|
|
10823
10824
|
props: /* @__PURE__ */ ye({
|
|
10824
10825
|
modelValue: { type: Boolean },
|