@topvisor/ui 1.5.10-hotkeys.0 → 1.5.10-hotkeys.1

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.
@@ -1175,10 +1175,10 @@ var Ge = ["innerHTML"], Ke = /* @__PURE__ */ j({
1175
1175
  setup(e) {
1176
1176
  let t = n(), i = e, a = z(e, "modelValue"), o = vt(i.client), s = yt(i.client), c = F(Ot()), l = F(null), f = me(), p = w(() => i.placeholder ?? t.Projects.Select_project), m = w(() => !X.value || !i.excludeProjectId ? X.value : X.value.filter((e) => e.id !== i.excludeProjectId)), h = w(() => {
1177
1177
  if (c.value || c.value === 0) return c.value < Pt ? "static" : "api";
1178
- }), _ = async (e) => {
1179
- Y.value ||= e.call();
1180
- let t = await Y.value;
1181
- return Y.value = null, t;
1178
+ }), _ = async () => {
1179
+ Y.value ||= o.call();
1180
+ let e = await Y.value;
1181
+ return Y.value = null, e;
1182
1182
  }, v = async (e) => {
1183
1183
  let t = await s.changeParams({
1184
1184
  url: e.name,
@@ -1204,7 +1204,7 @@ var Ge = ["innerHTML"], Ke = /* @__PURE__ */ j({
1204
1204
  }
1205
1205
  }, y = async () => {
1206
1206
  if (X.value || h.value === "api") return;
1207
- let e = await _(o);
1207
+ let e = await _();
1208
1208
  e.errors || (X.value = e.result);
1209
1209
  }, b = async () => {
1210
1210
  if (c.value) {
@@ -1212,7 +1212,7 @@ var Ge = ["innerHTML"], Ke = /* @__PURE__ */ j({
1212
1212
  e && e.addEventListener("pointerenter", () => y(), { once: !0 });
1213
1213
  } else {
1214
1214
  o.changeParams({ limit: Pt });
1215
- let e = await _(o);
1215
+ let e = await _();
1216
1216
  if (e.errors) return;
1217
1217
  delete o.params.limit, c.value = e.total ?? void 0, !X.value && h.value !== "api" && (X.value = e.result), c.value && Dt(c.value);
1218
1218
  }