@point-hub/papp 0.1.16 → 0.1.17

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
@@ -10697,14 +10697,9 @@ const mg = /* @__PURE__ */ fg(vg), hg = { class: "relative w-full" }, gg = ["id"
10697
10697
  return ne(() => {
10698
10698
  a.autofocus && h.value?.focus();
10699
10699
  }), ee(
10700
- () => o.value,
10700
+ () => [r.value, a.options],
10701
10701
  () => {
10702
- n.value = o.value?.label ?? "", r.value = o.value?.value ?? "", s.value?.length && (s.value = []);
10703
- }
10704
- ), ee(
10705
- () => r.value,
10706
- (g) => {
10707
- o.value = a.options.find((v) => v.value === g);
10702
+ console.log("a"), o.value = a.options.find((g) => g.value === r.value), n.value = o.value?.label;
10708
10703
  },
10709
10704
  { immediate: !0 }
10710
10705
  ), t({
@@ -10781,7 +10776,7 @@ const mg = /* @__PURE__ */ fg(vg), hg = { class: "relative w-full" }, gg = ["id"
10781
10776
  default: V(() => [
10782
10777
  W(N(hu), { class: "options" }, {
10783
10778
  default: V(() => [
10784
- i.value ? (w(), B("div", Wg, " Loading data... ")) : _("", !0),
10779
+ i.value && d.value.length === 0 && l.value !== "" ? (w(), B("div", Wg, " Loading data... ")) : _("", !0),
10785
10780
  !i.value && d.value.length === 0 && l.value !== "" ? (w(), B("div", Hg, " Nothing found. ")) : _("", !0),
10786
10781
  i.value ? _("", !0) : (w(!0), B(fe, { key: 2 }, Me(d.value, (S) => (w(), U(N(gu), {
10787
10782
  as: "template",
@@ -10818,7 +10813,7 @@ const mg = /* @__PURE__ */ fg(vg), hg = { class: "relative w-full" }, gg = ["id"
10818
10813
  }, 8, ["label", "layout", "description", "required", "helpers", "errors"]);
10819
10814
  };
10820
10815
  }
10821
- }), zg = /* @__PURE__ */ oe(qg, [["__scopeId", "data-v-32636d03"]]), Ug = ["disabled", "data-testid"], Yg = /* @__PURE__ */ R({
10816
+ }), zg = /* @__PURE__ */ oe(qg, [["__scopeId", "data-v-726f11a7"]]), Ug = ["disabled", "data-testid"], Yg = /* @__PURE__ */ R({
10822
10817
  __name: "base-switch",
10823
10818
  props: /* @__PURE__ */ ye({
10824
10819
  modelValue: { type: Boolean },