@topvisor/ui 1.5.0-updates.15 → 1.5.0-updates.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.
@@ -584,7 +584,7 @@ var Ue = ["innerHTML"], We = /* @__PURE__ */ O({
584
584
  ]).changeParams({
585
585
  folder_id_depth: !0,
586
586
  limit: 100
587
- }), Je = (e, t) => e.gen(`/add/${t}/groups/`), Ye = (e, t) => e.gen(`/del/${t}/groups/`), Xe = (e, t) => e.gen(`/edit/${t}/groups/rename/`), Ze = { class: "top-groupSelector_groupItem" }, Qe = {
587
+ }), Je = (e, t) => e.gen(`/add/${t}/groups/`), Ye = (e, t) => e.gen(`/del/${t}/groups/`), Xe = (e, t) => e.gen(`/edit/${t}/groups/rename/`), Ze = { class: "top-groupSelector_groupItem top-ellipsis1" }, Qe = {
588
588
  key: 0,
589
589
  class: "top-comment"
590
590
  }, $e = ["innerHTML"], et = ["innerHTML"], tt = ["data-id"], nt = ["innerHTML"], rt = /* @__PURE__ */ O({
@@ -697,16 +697,10 @@ var Ue = ["innerHTML"], We = /* @__PURE__ */ O({
697
697
  name: t
698
698
  }), d.value?.resetCache(!0));
699
699
  }, v = async (e) => {
700
- if (l && !(await l.changeParams({
700
+ l && ((await l.changeParams({
701
701
  project_id: n.projectId,
702
702
  id: e.id
703
- }).call()).errors) {
704
- if (a.value.id === e.id) {
705
- let t = f.value ?? [], r = t.findIndex((t) => t.id === e.id), i = t[r + 1], a = t[r - 1];
706
- m(i ?? a ?? (n.canSelectAll ? G() : U));
707
- }
708
- d.value?.resetCache(!0);
709
- }
703
+ }).call()).errors || (a.value.id === e.id && m(n.canSelectAll ? G() : U), d.value?.resetCache(!0)));
710
704
  };
711
705
  return (t, n) => (M(), S(y, {
712
706
  ref_key: "refSelector",
@@ -728,7 +722,7 @@ var Ue = ["innerHTML"], We = /* @__PURE__ */ O({
728
722
  item: z(({ item: r }) => [T("div", Ze, [
729
723
  r.id === I(null) ? (M(), w("div", Qe, F(t.$i18n.Common.Add) + ": ", 1)) : C("", !0),
730
724
  T("span", {
731
- class: "top-ellipsis1 top-groupSelector_groupItemName",
725
+ class: "top-groupSelector_groupItemName top-ellipsis1",
732
726
  innerHTML: r.name
733
727
  }, null, 8, $e),
734
728
  r.folder_path && e.showPath ? (M(), w("span", {