@opencloud-eu/web-pkg 7.0.0 → 7.0.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.
package/dist/web-pkg.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as e, $a as t, $i as n, $n as r, $r as i, $t as a, A as o, Aa as s, Ai as c, An as l, Ar as u, At as d, B as f, Ba as p, Bi as m, Bn as h, Br as g, Bt as _, C as v, Ca as y, Ci as b, Cn as x, Cr as S, Ct as C, D as w, Da as T, Di as E, Dn as D, Dr as ee, Dt as O, E as k, Ea as A, Ei as te, En as j, Er as ne, Et as M, F as re, Fa as N, Fi as ie, Fn as ae, Fr as oe, Ft as se, G as ce, Ga as le, Gi as ue, Gn as de, Gr as fe, Gt as pe, H as me, Ha as he, Hi as ge, Hn as _e, Hr as ve, Ht as ye, I as be, Ia as P, Ii as xe, In as Se, Ir as Ce, It as we, J as Te, Ja as F, Ji as Ee, Jn as De, Jr as Oe, Jt as ke, K as Ae, Ka as je, Ki as Me, Kn as Ne, Kr as Pe, Kt as Fe, L as Ie, La as Le, Li as Re, Ln as ze, Lr as Be, Lt as Ve, M as He, Ma as Ue, Mi as We, Mn as Ge, Mr as Ke, Mt as qe, N as Je, Na as Ye, Ni as Xe, Nn as Ze, Nr as Qe, Nt as $e, O as et, Oa as tt, Oi as nt, On as rt, Or as it, Ot as at, P as ot, Pa as st, Pi as ct, Pn as lt, Pr as ut, Pt as dt, Q as ft, Qa as pt, Qi as mt, Qn as ht, Qr as gt, Qt as _t, R as vt, Ra as I, Ri as yt, Rn as bt, Rr as xt, Rt as St, S as Ct, Sa as L, Si as wt, Sn as Tt, Sr as Et, St as Dt, T as Ot, Ta as R, Ti as kt, Tn as At, Tr as jt, Tt as Mt, U as Nt, Ua as z, Ui as Pt, Un as Ft, Ur as It, Ut as Lt, V as Rt, Va as zt, Vi as Bt, Vn as Vt, Vr as Ht, Vt as Ut, W as Wt, Wa as Gt, Wi as Kt, Wn as qt, Wr as Jt, Wt as Yt, X as Xt, Xa as B, Xi as Zt, Xn as Qt, Xr as $t, Xt as en, Y as tn, Ya as V, Yi as nn, Yn as rn, Yr as an, Yt as on, Z as sn, Za as cn, Zi as ln, Zn as un, Zr as dn, Zt as fn, _ as pn, _a as mn, _i as hn, _n as gn, _r as _n, _t as vn, a as yn, aa as bn, ai as xn, an as Sn, ar as Cn, at as wn, b as Tn, ba as H, bi as En, bn as Dn, br as On, bt as kn, c as An, ca as U, ci as jn, cn as Mn, cr as Nn, ct as Pn, d as Fn, da as In, di as Ln, dn as Rn, dr as zn, dt as Bn, ea as Vn, ei as Hn, en as Un, eo as W, er as Wn, et as Gn, f as Kn, fa as qn, fi as Jn, fn as Yn, fr as Xn, ft as Zn, g as Qn, ga as G, gi as $n, gn as er, gr as tr, gt as nr, h as rr, ha as ir, hi as ar, hn as or, hr as sr, ht as cr, i as lr, ia as ur, ii as dr, in as fr, io as pr, ir as mr, it as hr, j as gr, ja as K, ji as _r, jn as vr, jr as yr, jt as br, k as xr, ka as Sr, ki as Cr, kn as wr, kr as Tr, kt as Er, l as Dr, la as Or, li as kr, ln as Ar, lr as jr, lt as Mr, m as Nr, ma as Pr, mi as Fr, mn as Ir, mr as Lr, mt as Rr, n as zr, na as Br, ni as Vr, nn as Hr, no as q, nr as Ur, nt as Wr, o as Gr, oa as Kr, oi as qr, on as Jr, or as Yr, ot as Xr, p as Zr, pa as Qr, pi as $r, pn as ei, pr as ti, pt as ni, q as ri, qa as ii, qi as ai, qn as oi, qr as si, qt as ci, r as li, ra as ui, ri as di, rn as fi, ro as pi, rr as mi, rt as hi, s as gi, sa as _i, si as vi, sn as yi, sr as bi, st as xi, t as Si, ta as Ci, ti as wi, tn as Ti, to as Ei, tr as Di, tt as Oi, u as ki, ua as Ai, ui as ji, un as Mi, ur as Ni, ut as Pi, v as Fi, va as J, vi as Ii, vn as Li, vr as Ri, vt as zi, w as Bi, wa as Vi, wi as Hi, wn as Ui, wr as Wi, wt as Gi, x as Ki, xa as Y, xi as qi, xn as Ji, xr as Yi, xt as Xi, y as Zi, ya as X, yi as Qi, yn as $i, yr as ea, yt as ta, z as na, za as Z, zi as ra, zn as ia, zr as aa, zt as oa } from "./components-DGm07xAo.js";
1
+ import { $ as e, $a as t, $i as n, $n as r, $r as i, $t as a, A as o, Aa as s, Ai as c, An as l, Ar as u, At as d, B as f, Ba as p, Bi as m, Bn as h, Br as g, Bt as _, C as v, Ca as y, Ci as b, Cn as x, Cr as S, Ct as C, D as w, Da as T, Di as E, Dn as D, Dr as ee, Dt as O, E as k, Ea as A, Ei as te, En as j, Er as ne, Et as M, F as re, Fa as N, Fi as ie, Fn as ae, Fr as oe, Ft as se, G as ce, Ga as le, Gi as ue, Gn as de, Gr as fe, Gt as pe, H as me, Ha as he, Hi as ge, Hn as _e, Hr as ve, Ht as ye, I as be, Ia as P, Ii as xe, In as Se, Ir as Ce, It as we, J as Te, Ja as F, Ji as Ee, Jn as De, Jr as Oe, Jt as ke, K as Ae, Ka as je, Ki as Me, Kn as Ne, Kr as Pe, Kt as Fe, L as Ie, La as Le, Li as Re, Ln as ze, Lr as Be, Lt as Ve, M as He, Ma as Ue, Mi as We, Mn as Ge, Mr as Ke, Mt as qe, N as Je, Na as Ye, Ni as Xe, Nn as Ze, Nr as Qe, Nt as $e, O as et, Oa as tt, Oi as nt, On as rt, Or as it, Ot as at, P as ot, Pa as st, Pi as ct, Pn as lt, Pr as ut, Pt as dt, Q as ft, Qa as pt, Qi as mt, Qn as ht, Qr as gt, Qt as _t, R as vt, Ra as I, Ri as yt, Rn as bt, Rr as xt, Rt as St, S as Ct, Sa as L, Si as wt, Sn as Tt, Sr as Et, St as Dt, T as Ot, Ta as R, Ti as kt, Tn as At, Tr as jt, Tt as Mt, U as Nt, Ua as z, Ui as Pt, Un as Ft, Ur as It, Ut as Lt, V as Rt, Va as zt, Vi as Bt, Vn as Vt, Vr as Ht, Vt as Ut, W as Wt, Wa as Gt, Wi as Kt, Wn as qt, Wr as Jt, Wt as Yt, X as Xt, Xa as B, Xi as Zt, Xn as Qt, Xr as $t, Xt as en, Y as tn, Ya as V, Yi as nn, Yn as rn, Yr as an, Yt as on, Z as sn, Za as cn, Zi as ln, Zn as un, Zr as dn, Zt as fn, _ as pn, _a as mn, _i as hn, _n as gn, _r as _n, _t as vn, a as yn, aa as bn, ai as xn, an as Sn, ao as Cn, ar as wn, at as Tn, b as En, ba as H, bi as Dn, bn as On, br as kn, bt as An, c as jn, ca as U, ci as Mn, cn as Nn, cr as Pn, ct as Fn, d as In, da as Ln, di as Rn, dn as zn, dr as Bn, dt as Vn, ea as Hn, ei as Un, en as Wn, eo as W, er as Gn, et as Kn, f as qn, fa as Jn, fi as Yn, fn as Xn, fr as Zn, ft as Qn, g as $n, ga as G, gi as er, gn as tr, gr as nr, gt as rr, h as ir, ha as ar, hi as or, hn as sr, hr as cr, ht as lr, i as ur, ia as dr, ii as fr, in as pr, io as mr, ir as hr, it as gr, j as _r, ja as K, ji as vr, jn as yr, jr as br, jt as xr, k as Sr, ka as Cr, ki as wr, kn as Tr, kr as Er, kt as Dr, l as Or, la as kr, li as Ar, ln as jr, lr as Mr, lt as Nr, m as Pr, ma as Fr, mi as Ir, mn as Lr, mr as Rr, mt as zr, n as Br, na as Vr, ni as Hr, nn as Ur, nr as Wr, nt as Gr, o as Kr, oa as qr, oi as Jr, on as Yr, or as Xr, ot as Zr, p as Qr, pa as $r, pi as ei, pn as ti, pr as ni, pt as ri, q as ii, qa as ai, qi as oi, qn as si, qr as ci, qt as li, r as ui, ra as di, ri as fi, rn as pi, ro as q, rr as mi, rt as hi, s as gi, sa as _i, si as vi, sn as yi, sr as bi, st as xi, t as Si, ta as Ci, ti as wi, tn as Ti, to as Ei, tr as Di, tt as Oi, u as ki, ua as Ai, ui as ji, un as Mi, ur as Ni, ut as Pi, v as Fi, va as J, vi as Ii, vn as Li, vr as Ri, vt as zi, w as Bi, wa as Vi, wi as Hi, wn as Ui, wr as Wi, wt as Gi, x as Ki, xa as Y, xi as qi, xn as Ji, xr as Yi, xt as Xi, y as Zi, ya as X, yi as Qi, yn as $i, yr as ea, yt as ta, z as na, za as Z, zi as ra, zn as ia, zr as aa, zt as oa } from "./components-GUHsaO1-.js";
2
2
  import { HttpError as sa, ShareTypes as ca, buildIncomingShareResource as la, buildSpaceImageResource as ua, call as da, extractDomSelector as fa, getSpaceManagers as pa, isCollaboratorShare as ma, isIncomingShareResource as ha, isLinkShare as ga, isManager as _a, isOutgoingShareResource as va, isPersonalSpaceResource as ya, isProjectSpaceResource as ba, isPublicSpaceResource as xa, isShareResource as Sa, isShareSpaceResource as Ca, isSpaceResource as wa, urlJoin as Ta } from "@opencloud-eu/web-client";
3
3
  import { useGettext as Q } from "vue3-gettext";
4
4
  import Ea from "fuse.js";
@@ -83,7 +83,7 @@ var Ba = (e) => e, Va = A({
83
83
  }, Ua = ["textContent"], Wa = ["textContent"];
84
84
  function Ga(e, t, n, r, i, a) {
85
85
  let o = p("oc-image"), s = p("oc-icon"), c = p("oc-button"), l = zt("oc-tooltip");
86
- return B((P(), L("li", null, [B((P(), H(c, Sr({ type: e.componentType }, e.componentProps, {
86
+ return B((P(), L("li", null, [B((P(), H(c, Cr({ type: e.componentType }, e.componentProps, {
87
87
  class: [
88
88
  e.action.class,
89
89
  "action-menu-item",
@@ -210,7 +210,7 @@ var Ya = /* @__PURE__ */ U(qa, [["render", Ja]]), Xa = { class: "context-menu px
210
210
  "fill-type": "line"
211
211
  })]),
212
212
  _: 1
213
- }, 8, ["id"]), R(q(Gr), {
213
+ }, 8, ["id"]), R(q(Kr), {
214
214
  title: e.menuSectionDrop.label,
215
215
  "drop-id": q(t),
216
216
  toggle: `#${q(n)}`,
@@ -305,7 +305,7 @@ var io = /* @__PURE__ */ U(to, [["render", ro]]), ao = A({
305
305
  required: !0
306
306
  } },
307
307
  setup(e) {
308
- let { getAllOpenWithActions: t } = O(), { $gettext: n } = Q(), { actions: r } = Dt(), { actions: i } = M(), { actions: a } = Gi(), { actions: o } = nr(), s = At(), c = J(() => s.requestExtensions({
308
+ let { getAllOpenWithActions: t } = O(), { $gettext: n } = Q(), { actions: r } = Dt(), { actions: i } = M(), { actions: a } = Gi(), { actions: o } = rr(), s = At(), c = J(() => s.requestExtensions({
309
309
  id: "global.files.context-actions",
310
310
  extensionType: "action"
311
311
  }).map((e) => e.action)), l = Ei(e, "actionOptions"), u = J(() => [...q(c).filter((e) => e.category === "primary")].filter((e) => e.isVisible(q(l)))), d = J(() => [...q(c).filter((e) => e.category === "secondary")].filter((e) => e.isVisible(q(l)))), f = J(() => [
@@ -403,20 +403,20 @@ var so = /* @__PURE__ */ U(ao, [["render", oo]]), co = { class: "flex items-cent
403
403
  paginationOptions: { default: () => be.options },
404
404
  perPageQueryName: { default: () => be.perPageQueryName },
405
405
  perPageDefault: { default: () => be.perPageDefault },
406
- viewModeDefault: { default: () => xr.defaultModeName },
406
+ viewModeDefault: { default: () => Sr.defaultModeName },
407
407
  viewModes: { default: () => [] }
408
408
  },
409
409
  setup(e) {
410
- let t = Hi(), n = b(), { $gettext: r } = Q(), i = fi(), { setAreHiddenFilesShown: a, setAreFileExtensionsShown: o, setAreDisabledSpacesShown: s, setAreEmptyTrashesShown: c } = i, { areHiddenFilesShown: l, areFileExtensionsShown: u, areDisabledSpacesShown: d, areEmptyTrashesShown: f } = $(i), h = W(!1), g = Ln(m, "files-spaces-projects"), _ = Ln(Cr, "files-trash-overview"), v = Fr("page"), y = J(() => q(v) ? parseInt(jn(q(v))) : 1), x = Jn({
410
+ let t = Hi(), n = b(), { $gettext: r } = Q(), i = pi(), { setAreHiddenFilesShown: a, setAreFileExtensionsShown: o, setAreDisabledSpacesShown: s, setAreEmptyTrashesShown: c } = i, { areHiddenFilesShown: l, areFileExtensionsShown: u, areDisabledSpacesShown: d, areEmptyTrashesShown: f } = $(i), h = W(!1), g = Rn(m, "files-spaces-projects"), _ = Rn(wr, "files-trash-overview"), v = Ir("page"), y = J(() => q(v) ? parseInt(Mn(q(v))) : 1), x = Yn({
411
411
  name: e.perPageQueryName,
412
412
  defaultValue: e.perPageDefault,
413
413
  storagePrefix: e.perPageStoragePrefix
414
- }), S = Jn({
415
- name: xr.queryName,
414
+ }), S = Yn({
415
+ name: Sr.queryName,
416
416
  defaultValue: e.viewModeDefault
417
- }), C = J(() => e.viewModes.find((e) => e.name === jn(q(S)))), T = Jn({
418
- name: xr.tilesSizeQueryName,
419
- defaultValue: xr.tilesSizeDefault.toString()
417
+ }), C = J(() => e.viewModes.find((e) => e.name === Mn(q(S)))), T = Yn({
418
+ name: Sr.tilesSizeQueryName,
419
+ defaultValue: Sr.tilesSizeDefault.toString()
420
420
  }), E = (r) => t.replace({ query: {
421
421
  ...q(n).query,
422
422
  [e.perPageQueryName]: r.toString(),
@@ -564,7 +564,7 @@ var so = /* @__PURE__ */ U(ao, [["render", oo]]), co = { class: "flex items-cent
564
564
  }, null, 8, ["checked", "label"])])) : Y("", !0),
565
565
  e.hasPagination ? (P(), L("li", ho, [h.value ? Y("", !0) : (P(), H(l, {
566
566
  key: 0,
567
- selected: q(jn)(q(x)),
567
+ selected: q(Mn)(q(x)),
568
568
  "data-testid": "files-pagination-size",
569
569
  label: q(r)("Items per page"),
570
570
  options: e.paginationOptions,
@@ -587,7 +587,7 @@ var so = /* @__PURE__ */ U(ao, [["render", oo]]), co = { class: "flex items-cent
587
587
  "data-testid": "files-switch-projects-show-disabled",
588
588
  label: q(r)("Show empty trash bins")
589
589
  }, null, 8, ["checked", "label"])])) : Y("", !0),
590
- q(S) === q(xr).name.tiles ? (P(), L("li", vo, [X("label", {
590
+ q(S) === q(Sr).name.tiles ? (P(), L("li", vo, [X("label", {
591
591
  for: "tiles-size-slider",
592
592
  textContent: z(q(r)("Tile size"))
593
593
  }, null, 8, yo), B(X("input", {
@@ -598,7 +598,7 @@ var so = /* @__PURE__ */ U(ao, [["render", oo]]), co = { class: "flex items-cent
598
598
  max: q(ee),
599
599
  class: "oc-range bg-role-surface-container-high rounded-sm outline-0 w-full max-w-[50%] h-1.5 hover:opacity-100 appearance-none",
600
600
  "data-testid": "files-tiles-size-slider"
601
- }, null, 8, bo), [[Qr, q(T)]])])) : Y("", !0)
601
+ }, null, 8, bo), [[$r, q(T)]])])) : Y("", !0)
602
602
  ]),
603
603
  _: 1
604
604
  })]),
@@ -618,7 +618,7 @@ var so = /* @__PURE__ */ U(ao, [["render", oo]]), co = { class: "flex items-cent
618
618
  viewModeDefault: {
619
619
  type: String,
620
620
  required: !1,
621
- default: () => xr.defaultModeName
621
+ default: () => Sr.defaultModeName
622
622
  },
623
623
  breadcrumbs: {
624
624
  type: Array,
@@ -667,8 +667,8 @@ var so = /* @__PURE__ */ U(ao, [["render", oo]]), co = { class: "flex items-cent
667
667
  }
668
668
  },
669
669
  setup(e, { emit: t }) {
670
- let n = Jr(), { $gettext: r } = Q(), { can: i } = qn(), o = Hi(), { requestExtensions: s } = At(), { isSticky: c } = Rt(), { isSideBarOpen: l } = $(a()), u = fi(), { selectedResources: d } = $(u), f = J(() => e.space), { actions: p } = M(), { actions: m } = Gi(), { actions: h } = nr(), g = W(0);
671
- Ln(Pt, "files-common-search");
670
+ let n = Yr(), { $gettext: r } = Q(), { can: i } = Jn(), o = Hi(), { requestExtensions: s } = At(), { isSticky: c } = Rt(), { isSideBarOpen: l } = $(a()), u = pi(), { selectedResources: d } = $(u), f = J(() => e.space), { actions: p } = M(), { actions: m } = Gi(), { actions: h } = rr(), g = W(0);
671
+ Rn(Pt, "files-common-search");
672
672
  let _ = J(() => Object.hasOwn(je(), "navigation") && i("create-all", "Share")), v = J(() => {
673
673
  let e = [...q(m)], t = s({
674
674
  id: "global.files.batch-actions",
@@ -682,9 +682,9 @@ var so = /* @__PURE__ */ U(ao, [["render", oo]]), co = { class: "flex items-cent
682
682
  space: q(f),
683
683
  resources: u.selectedResources
684
684
  }));
685
- }), y = J(() => n.spaces.filter((e) => ya(e) || ba(e))), b = Ln(Cr, "files-trash-generic"), x = J(() => q(b) && q(y).length === 1 ? !1 : e.breadcrumbs.length), S = J(() => q(b) && q(y).length === 1 ? e.breadcrumbs.length <= 2 : e.breadcrumbs.length <= 1), C = J(() => q(f) && (ba(q(f)) || Ca(q(f))) ? 3 : 2), w = (e) => {
685
+ }), y = J(() => n.spaces.filter((e) => ya(e) || ba(e))), b = Rn(wr, "files-trash-generic"), x = J(() => q(b) && q(y).length === 1 ? !1 : e.breadcrumbs.length), S = J(() => q(b) && q(y).length === 1 ? e.breadcrumbs.length <= 2 : e.breadcrumbs.length <= 1), C = J(() => q(f) && (ba(q(f)) || Ca(q(f))) ? 3 : 2), w = (e) => {
686
686
  t(Jt, e);
687
- }, T = $n("title");
687
+ }, T = er("title");
688
688
  return {
689
689
  router: o,
690
690
  hasSharesNavigation: _,
@@ -708,10 +708,10 @@ var so = /* @__PURE__ */ U(ao, [["render", oo]]), co = { class: "flex items-cent
708
708
  },
709
709
  computed: {
710
710
  showContextActions() {
711
- return pi(this.breadcrumbs).allowContextActions;
711
+ return mr(this.breadcrumbs).allowContextActions;
712
712
  },
713
713
  showBatchActions() {
714
- return this.hasBulkActions && (this.selectedResources.length >= 1 || Cr(this.router, "files-trash-generic"));
714
+ return this.hasBulkActions && (this.selectedResources.length >= 1 || wr(this.router, "files-trash-generic"));
715
715
  },
716
716
  selectedResourcesAnnouncement() {
717
717
  return this.selectedResources.length === 0 ? this.$gettext("No items selected.") : this.$ngettext("%{ amount } item selected. Actions are available above the table.", "%{ amount } items selected. Actions are available above the table.", this.selectedResources.length, { amount: this.selectedResources.length.toString() });
@@ -911,7 +911,7 @@ function Po(e, t, n, r, i, a) {
911
911
  "no-hover": a.isNavigatable ? void 0 : !0,
912
912
  draggable: !1,
913
913
  class: "oc-resource-link max-w-full",
914
- onDragstart: t[0] ||= ir(() => {}, ["prevent", "stop"]),
914
+ onDragstart: t[0] ||= ar(() => {}, ["prevent", "stop"]),
915
915
  onClick: a.emitClick
916
916
  }, {
917
917
  default: V(() => [Z(e.$slots, "default", {}, void 0, !0)]),
@@ -928,7 +928,7 @@ function Po(e, t, n, r, i, a) {
928
928
  "onClick"
929
929
  ])) : (P(), L("span", No, [Z(e.$slots, "default", {}, void 0, !0)]));
930
930
  }
931
- var Fo = /* @__PURE__ */ U(Mo, [["render", Po], ["__scopeId", "data-v-3ed333cc"]]), Io = /* @__PURE__ */ pr(Or(), 1), Lo = [
931
+ var Fo = /* @__PURE__ */ U(Mo, [["render", Po], ["__scopeId", "data-v-3ed333cc"]]), Io = /* @__PURE__ */ Cn(kr(), 1), Lo = [
932
932
  "data-test-resource-path",
933
933
  "data-test-resource-name",
934
934
  "data-test-resource-type",
@@ -1126,7 +1126,7 @@ var Fo = /* @__PURE__ */ U(Mo, [["render", Po], ["__scopeId", "data-v-3ed333cc"]
1126
1126
  "cursor-default": !e.parentFolderLink
1127
1127
  }])
1128
1128
  }, {
1129
- default: V(() => [R(d, Sr(a.value, { class: "mr-1" }), null, 16), X("span", {
1129
+ default: V(() => [R(d, Cr(a.value, { class: "mr-1" }), null, 16), X("span", {
1130
1130
  class: "text truncate text-sm hover:underline",
1131
1131
  textContent: z(e.parentFolderName)
1132
1132
  }, null, 8, Wo)]),
@@ -1163,7 +1163,7 @@ var Fo = /* @__PURE__ */ U(Mo, [["render", Po], ["__scopeId", "data-v-3ed333cc"]
1163
1163
  },
1164
1164
  emits: ["close"],
1165
1165
  setup(e) {
1166
- let { $gettext: t, current: n } = Q(), r = fi(), a = i(), { getMatchingSpace: o } = se(), { getParentFolderName: s, getPathPrefix: c, getParentFolderLinkIconAdditionalAttributes: l } = zi(), u = J(() => r.areFileExtensionsShown), d = J(() => t("Show context menu")), f = J(() => e.isEditor && e.hasAutoSave && a.options.editor.autosaveEnabled), m = J(() => t("Autosave (every %{ duration })", { duration: Pa.fromObject({ seconds: a.options.editor.autosaveInterval }, { locale: n }).toHuman() })), h = J(() => o(e.resource)), g = J(() => !xa(q(h)));
1166
+ let { $gettext: t, current: n } = Q(), r = pi(), a = i(), { getMatchingSpace: o } = se(), { getParentFolderName: s, getPathPrefix: c, getParentFolderLinkIconAdditionalAttributes: l } = zi(), u = J(() => r.areFileExtensionsShown), d = J(() => t("Show context menu")), f = J(() => e.isEditor && e.hasAutoSave && a.options.editor.autosaveEnabled), m = J(() => t("Autosave (every %{ duration })", { duration: Pa.fromObject({ seconds: a.options.editor.autosaveInterval }, { locale: n }).toHuman() })), h = J(() => o(e.resource)), g = J(() => !xa(q(h)));
1167
1167
  return (n, r) => {
1168
1168
  let i = p("oc-icon"), a = p("oc-button"), o = p("oc-drop"), h = zt("oc-tooltip");
1169
1169
  return P(), L("div", Ko, [X("div", qo, [X("div", Jo, [e.resource ? (P(), H(Go, {
@@ -1203,7 +1203,7 @@ var Fo = /* @__PURE__ */ U(Mo, [["render", Po], ["__scopeId", "data-v-3ed333cc"]
1203
1203
  toggle: "#oc-openfile-contextmenu-trigger",
1204
1204
  "close-on-click": "",
1205
1205
  title: e.resource.name,
1206
- onClick: r[0] ||= ir(() => {}, ["stop", "prevent"])
1206
+ onClick: r[0] ||= ar(() => {}, ["stop", "prevent"])
1207
1207
  }, {
1208
1208
  default: V(() => [R(io, {
1209
1209
  "menu-sections": e.dropDownMenuSections,
@@ -1349,7 +1349,7 @@ var ss = /* @__PURE__ */ U(rs, [["render", os]]), cs = [
1349
1349
  }, {
1350
1350
  default: V(() => [R(h, { name: "close" })]),
1351
1351
  _: 1
1352
- }, 8, ["aria-label"])])])) : Y("", !0), X("div", { class: K(["sidebar-panel__body flex flex-col px-2 pb-2 pt-0 overflow-y-auto overflow-x-hidden", [`sidebar-panel__body-${n.name}`]]) }, [X("div", { class: K(["sidebar-panel__body-content", { "flex-1 ": !n.isRoot?.(e.panelContext) }]) }, [Z(t.$slots, "body", {}, () => [(P(!0), L(G, null, I(n.isRoot?.(e.panelContext) ? i.value : [n], (t, n) => (P(), L("div", { key: `sidebar-panel-${t.name}` }, [(l.value ? t.isRoot?.(e.panelContext) : [f.value, u.value].includes(t.name)) ? (P(), H(he(t.component), Sr({
1352
+ }, 8, ["aria-label"])])])) : Y("", !0), X("div", { class: K(["sidebar-panel__body flex flex-col px-2 pb-2 pt-0 overflow-y-auto overflow-x-hidden", [`sidebar-panel__body-${n.name}`]]) }, [X("div", { class: K(["sidebar-panel__body-content", { "flex-1 ": !n.isRoot?.(e.panelContext) }]) }, [Z(t.$slots, "body", {}, () => [(P(!0), L(G, null, I(n.isRoot?.(e.panelContext) ? i.value : [n], (t, n) => (P(), L("div", { key: `sidebar-panel-${t.name}` }, [(l.value ? t.isRoot?.(e.panelContext) : [f.value, u.value].includes(t.name)) ? (P(), H(he(t.component), Cr({
1353
1353
  key: 0,
1354
1354
  class: [{ "multi-root-panel-separator mt-4 pt-2 border-t": n > 0 }, "rounded-sm"]
1355
1355
  }, { ref_for: !0 }, t.componentAttrs?.(e.panelContext) || {}), null, 16, ["class"])) : Y("", !0)]))), 128))], !0)], 2), n.isRoot?.(e.panelContext) && a.value.length > 0 ? (P(), L("div", fs, [(P(!0), L(G, null, I(a.value, (t) => (P(), H(g, {
@@ -1390,7 +1390,7 @@ var ss = /* @__PURE__ */ U(rs, [["render", os]]), cs = [
1390
1390
  },
1391
1391
  emits: ["selectPanel", "close"],
1392
1392
  setup(e, { emit: t }) {
1393
- let n = t, r = le(), { isMobile: i } = Un(), o = a(), { focusSidebar: s } = o, { sideBarActivePanel: c } = $(o), l = J(() => {
1393
+ let n = t, r = le(), { isMobile: i } = Wn(), o = a(), { focusSidebar: s } = o, { sideBarActivePanel: c } = $(o), l = J(() => {
1394
1394
  if (q(i)) return {
1395
1395
  ...q(r),
1396
1396
  isFocusTrapActive: !e.loading,
@@ -1429,7 +1429,7 @@ var ss = /* @__PURE__ */ U(rs, [["render", os]]), cs = [
1429
1429
  }), (t, n) => (P(), H(mn, {
1430
1430
  to: "#mobile-right-sidebar",
1431
1431
  disabled: !q(i)
1432
- }, [(P(), H(he(q(i) ? "oc-bottom-drawer" : "div"), Sr({
1432
+ }, [(P(), H(he(q(i) ? "oc-bottom-drawer" : "div"), Cr({
1433
1433
  id: "app-sidebar",
1434
1434
  tabindex: "-1"
1435
1435
  }, l.value), {
@@ -1487,7 +1487,7 @@ var ss = /* @__PURE__ */ U(rs, [["render", os]]), cs = [
1487
1487
  __name: "FileInfo",
1488
1488
  props: { isSubPanelActive: { type: Boolean } },
1489
1489
  setup(e) {
1490
- let t = fi(), { isPersonalSpaceRoot: n } = se(), r = tt("resource"), i = tt("space"), a = J(() => t.areFileExtensionsShown), o = J(() => q(r) ? n(q(r)) && q(i)?.name || q(r).name : "");
1490
+ let t = pi(), { isPersonalSpaceRoot: n } = se(), r = tt("resource"), i = tt("space"), a = J(() => t.areFileExtensionsShown), o = J(() => q(r) ? n(q(r)) && q(i)?.name || q(r).name : "");
1491
1491
  return (e, t) => q(r) ? (P(), L("div", vs, [X("div", ys, [R(jo, {
1492
1492
  resource: q(r),
1493
1493
  size: "large",
@@ -1515,7 +1515,7 @@ var ss = /* @__PURE__ */ U(rs, [["render", os]]), cs = [
1515
1515
  __name: "FileSideBar",
1516
1516
  props: { space: { default: () => void 0 } },
1517
1517
  setup(e) {
1518
- let n = Hi(), r = di(), o = At(), s = Jr(), c = Mn(), l = i(), u = Vr(), { canListShares: d } = rr(), { canListVersions: f } = gr(), p = fi(), { currentFolder: h } = $(p), { isSideBarOpen: g, sideBarActivePanel: _ } = $(a()), v = W(), y = W([]), b = W([]), x = W([]), { selectedResources: S } = Qn(), C = W(!1), w = J(() => q(C)), T = J(() => q(S).length === 0 ? {
1518
+ let n = Hi(), r = fi(), o = At(), s = Yr(), c = Nn(), l = i(), u = Hr(), { canListShares: d } = ir(), { canListVersions: f } = _r(), p = pi(), { currentFolder: h } = $(p), { isSideBarOpen: g, sideBarActivePanel: _ } = $(a()), v = W(), y = W([]), b = W([]), x = W([]), { selectedResources: S } = $n(), C = W(!1), w = J(() => q(C)), T = J(() => q(S).length === 0 ? {
1519
1519
  root: e.space,
1520
1520
  parent: null,
1521
1521
  items: q(h)?.id ? [q(h)] : []
@@ -1523,7 +1523,7 @@ var ss = /* @__PURE__ */ U(rs, [["render", os]]), cs = [
1523
1523
  root: e.space,
1524
1524
  parent: q(h),
1525
1525
  items: q(S)
1526
- }), E = Ln(ie, "files-shares-with-me"), D = Ln(ie, "files-shares-with-others"), ee = Ln(ie, "files-shares-via-link"), O = m(n, "files-spaces-projects"), k = Ln(Pt, "files-common-favorites"), A = Ln(Pt, "files-common-search"), te = J(() => q(T).items?.length === 1 && !ba(q(T).items[0])), j = J(() => q(T).items?.length === 1 && ba(q(T).items[0])), ne = J(() => q(E) || q(D) || q(ee)), M = J(() => q(ne) || q(A) || q(k)), re = J(() => o.requestExtensions({
1526
+ }), E = Rn(ie, "files-shares-with-me"), D = Rn(ie, "files-shares-with-others"), ee = Rn(ie, "files-shares-via-link"), O = m(n, "files-spaces-projects"), k = Rn(Pt, "files-common-favorites"), A = Rn(Pt, "files-common-search"), te = J(() => q(T).items?.length === 1 && !ba(q(T).items[0])), j = J(() => q(T).items?.length === 1 && ba(q(T).items[0])), ne = J(() => q(E) || q(D) || q(ee)), M = J(() => q(ne) || q(A) || q(k)), re = J(() => o.requestExtensions({
1527
1527
  id: "global.files.sidebar",
1528
1528
  extensionType: "sidebarPanel"
1529
1529
  }).map((e) => e.panel)), N = Ma(function* (e, t) {
@@ -1638,7 +1638,7 @@ var ss = /* @__PURE__ */ U(rs, [["render", os]]), cs = [
1638
1638
  }, {
1639
1639
  deep: !0,
1640
1640
  immediate: !0
1641
- }), Le("resource", t(v)), Le("versions", t(y)), Le("space", J(() => e.space)), Le("availableInternalShareRoles", t(b)), Le("availableExternalShareRoles", t(x)), Le("versionsLoading", J(() => N.isRunning)), (e, t) => q(g) ? (P(), H(ms, Sr({
1641
+ }), Le("resource", t(v)), Le("versions", t(y)), Le("space", J(() => e.space)), Le("availableInternalShareRoles", t(b)), Le("availableExternalShareRoles", t(x)), Le("versionsLoading", J(() => N.isRunning)), (e, t) => q(g) ? (P(), H(ms, Cr({
1642
1642
  key: 0,
1643
1643
  ref: "sidebar",
1644
1644
  class: "files-side-bar z-30",
@@ -1685,7 +1685,7 @@ var ss = /* @__PURE__ */ U(rs, [["render", os]]), cs = [
1685
1685
  },
1686
1686
  emits: ["confirm", "cancel"],
1687
1687
  setup() {
1688
- let { currentTheme: e } = $(Rn()), t = W(), n = W(!0);
1688
+ let { currentTheme: e } = $(zn()), t = W(), n = W(!0);
1689
1689
  return {
1690
1690
  confirmDisabled: n,
1691
1691
  onDateChanged: ({ date: e, error: r }) => {
@@ -1733,7 +1733,7 @@ var Ds = /* @__PURE__ */ U(ws, [["render", Es]]), Os = A({
1733
1733
  } },
1734
1734
  emits: ["confirm"],
1735
1735
  setup(e, { emit: t }) {
1736
- let { currentTheme: n } = $(Rn());
1736
+ let { currentTheme: n } = $(zn());
1737
1737
  return {
1738
1738
  onEmojiSelect: (e) => {
1739
1739
  t("confirm", e);
@@ -1765,7 +1765,7 @@ var As = /* @__PURE__ */ U(Os, [["render", ks]]), js = A({
1765
1765
  },
1766
1766
  emits: ["cancel", "confirm"],
1767
1767
  setup(e) {
1768
- let { removeModal: t } = ei();
1768
+ let { removeModal: t } = ti();
1769
1769
  return { onClose: () => {
1770
1770
  t(e.modal.id), e.closeCallback();
1771
1771
  } };
@@ -1821,10 +1821,10 @@ function Bs(e) {
1821
1821
  var Vs = NaN, Hs = /^[-+]0x[0-9a-f]+$/i, Us = /^0b[01]+$/i, Ws = /^0o[0-7]+$/i, Gs = parseInt;
1822
1822
  function Ks(e) {
1823
1823
  if (typeof e == "number") return e;
1824
- if (On(e)) return Vs;
1825
- if (ai(e)) {
1824
+ if (kn(e)) return Vs;
1825
+ if (oi(e)) {
1826
1826
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
1827
- e = ai(t) ? t + "" : t;
1827
+ e = oi(t) ? t + "" : t;
1828
1828
  }
1829
1829
  if (typeof e != "string") return e === 0 ? e : +e;
1830
1830
  e = Bs(e);
@@ -1853,7 +1853,7 @@ var qs = ["id"], Js = ["textContent"], Ys = {
1853
1853
  }
1854
1854
  },
1855
1855
  setup(e) {
1856
- let { $gettext: t, current: n } = Q(), r = Vr(), { showMessage: s, showErrorMessage: c } = rt(), l = La(), u = b(), d = di(), f = $e(), { getResourceContext: p } = o(), { selectedResources: m } = Qn(), { dispatchModal: g } = ei(), _ = Jr(), v = i(), y = fi(), x = Mn(), S = Yt(), { isMobile: C } = Un(), { isSideBarOpen: w } = $(a()), { actions: T } = vn({ appId: e.applicationId }), { actions: E } = Gi(), { actions: D } = M(), ee = J(() => !!e.wrappedComponent.emits?.includes("update:resource")), O = W(), k = W(), A = W(""), te = W(""), j = W(!q(ee)), ne = W(), re = W(!1), N = W(), ie = W(), ae = "", oe = null, { registerExtensions: se, unregisterExtensions: ce, requestExtensions: le } = At();
1856
+ let { $gettext: t, current: n } = Q(), r = Hr(), { showMessage: s, showErrorMessage: c } = rt(), l = La(), u = b(), d = fi(), f = $e(), { getResourceContext: p } = o(), { selectedResources: m } = $n(), { dispatchModal: g } = ti(), _ = Yr(), v = i(), y = pi(), x = Nn(), S = Yt(), { isMobile: C } = Wn(), { isSideBarOpen: w } = $(a()), { actions: T } = vn({ appId: e.applicationId }), { actions: E } = Gi(), { actions: D } = M(), ee = J(() => !!e.wrappedComponent.emits?.includes("update:resource")), O = W(), k = W(), A = W(""), te = W(""), j = W(!q(ee)), ne = W(), re = W(!1), N = W(), ie = W(), ae = "", oe = null, { registerExtensions: se, unregisterExtensions: ce, requestExtensions: le } = At();
1857
1857
  se(J(() => q(j) || q(ne) || !q(O) ? [] : [{
1858
1858
  id: Xs,
1859
1859
  type: "customComponent",
@@ -1872,7 +1872,7 @@ var qs = ["id"], Js = ["textContent"], Ys = {
1872
1872
  }
1873
1873
  })
1874
1874
  }]));
1875
- let { actions: ue } = Rr({ content: ie }), de = J(() => !!e.wrappedComponent.emits?.includes("update:currentContent")), fe = (t) => !!Object.keys(e.wrappedComponent.props).includes(t), me = J(() => q(ie) !== q(N)), he = (e) => {
1875
+ let { actions: ue } = zr({ content: ie }), de = J(() => !!e.wrappedComponent.emits?.includes("update:currentContent")), fe = (t) => !!Object.keys(e.wrappedComponent.props).includes(t), me = J(() => q(ie) !== q(N)), he = (e) => {
1876
1876
  e.preventDefault();
1877
1877
  };
1878
1878
  F(me, (e) => {
@@ -1887,7 +1887,7 @@ var qs = ["id"], Js = ["textContent"], Ys = {
1887
1887
  appName: t(e),
1888
1888
  fileName: q(q(ve).fileName)
1889
1889
  });
1890
- }), Me = ar("driveAliasAndItem"), Ne = Fr("fileId"), Pe = J(() => jn(q(Ne))), Fe = async () => {
1890
+ }), Me = or("driveAliasAndItem"), Ne = Ir("fileId"), Pe = J(() => Mn(q(Ne))), Fe = async () => {
1891
1891
  let e = q(Pe), { space: t, path: n } = await p(e), r = t.getDriveAliasAndItem({ path: n });
1892
1892
  return ya(t) ? l.push({
1893
1893
  params: {
@@ -2032,10 +2032,10 @@ var qs = ["id"], Js = ["textContent"], Ys = {
2032
2032
  }), Ye(() => {
2033
2033
  S.unsubscribe("runtime.resource.deleted", ae), ce([Xs]), f.isLoading || window.removeEventListener("beforeunload", he), q(fe("url")) && we(te.value), q(de) && (clearInterval(He), He = null);
2034
2034
  });
2035
- let { bindKeyAction: Ue } = Bn({ skipDisabledKeyBindingsCheck: !0 });
2035
+ let { bindKeyAction: Ue } = Vn({ skipDisabledKeyBindingsCheck: !0 });
2036
2036
  Ue({
2037
2037
  modifier: Pi.Ctrl,
2038
- primary: Mr.S
2038
+ primary: Nr.S
2039
2039
  }, () => {
2040
2040
  q(me) && Ve();
2041
2041
  });
@@ -2143,14 +2143,14 @@ var qs = ["id"], Js = ["textContent"], Ys = {
2143
2143
  return (t, n) => (P(), L("main", {
2144
2144
  id: e.applicationId,
2145
2145
  class: K(["app-wrapper h-full rounded-xl", { "border-0": e.applicationId.startsWith("external-") }]),
2146
- onKeydown: n[0] ||= Pr((...e) => q(_e) && q(_e)(...e), ["esc"])
2146
+ onKeydown: n[0] ||= Fr((...e) => q(_e) && q(_e)(...e), ["esc"])
2147
2147
  }, [X("h1", {
2148
2148
  class: "sr-only",
2149
2149
  textContent: z(je.value)
2150
2150
  }, null, 8, Js), j.value ? (P(), H(ss, { key: 0 })) : ne.value ? (P(), H(ns, {
2151
2151
  key: 1,
2152
2152
  message: ne.value.message
2153
- }, null, 8, ["message"])) : (P(), L("div", Ys, [Z(t.$slots, "default", Sr({ class: ["app-wrapper-content size-full", { "w-[calc(100%-360px)]": q(w) && !q(C) }] }, it.value)), R(Cs, { space: k.value }, null, 8, ["space"])]))], 42, qs));
2153
+ }, null, 8, ["message"])) : (P(), L("div", Ys, [Z(t.$slots, "default", Cr({ class: ["app-wrapper-content size-full", { "w-[calc(100%-360px)]": q(w) && !q(C) }] }, it.value)), R(Cs, { space: k.value }, null, 8, ["space"])]))], 42, qs));
2154
2154
  }
2155
2155
  });
2156
2156
  //#endregion
@@ -2177,7 +2177,7 @@ var $s = /* @__PURE__ */ A({
2177
2177
  },
2178
2178
  emits: ["quickActionClicked"],
2179
2179
  setup(e, { expose: t }) {
2180
- let { $gettext: n } = Q(), r = ii("drop");
2180
+ let { $gettext: n } = Q(), r = ai("drop");
2181
2181
  t({ drop: r });
2182
2182
  let i = J(() => n("Show context menu"));
2183
2183
  return (t, n) => {
@@ -2197,7 +2197,7 @@ var $s = /* @__PURE__ */ A({
2197
2197
  "data-test-context-menu-resource-name",
2198
2198
  "aria-label",
2199
2199
  "class"
2200
- ])), [[s, i.value]]), R(q(Gr), {
2200
+ ])), [[s, i.value]]), R(q(Kr), {
2201
2201
  ref_key: "drop",
2202
2202
  ref: r,
2203
2203
  "drop-id": `context-menu-drop-${e.resourceDomSelector(e.item)}`,
@@ -2291,7 +2291,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
2291
2291
  });
2292
2292
  return e.filter ? t.filter(e.filter) : t;
2293
2293
  });
2294
- return (n, i) => r.value.length > 0 ? (P(), H(q(zr), Sr({ key: 0 }, q(t), {
2294
+ return (n, i) => r.value.length > 0 ? (P(), H(q(Br), Cr({ key: 0 }, q(t), {
2295
2295
  indicators: r.value,
2296
2296
  resource: e.resource
2297
2297
  }), null, 16, ["indicators", "resource"])) : Y("", !0);
@@ -2304,7 +2304,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
2304
2304
  width: { default: 36 }
2305
2305
  },
2306
2306
  setup(e) {
2307
- let { avatarMap: t } = $(dn()), { enqueueAvatar: n } = Dr(), r = J(() => q(t)[e.userId]);
2307
+ let { avatarMap: t } = $(dn()), { enqueueAvatar: n } = Or(), r = J(() => q(t)[e.userId]);
2308
2308
  return st(() => {
2309
2309
  n(e.userId);
2310
2310
  }), (t, n) => {
@@ -2357,10 +2357,26 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
2357
2357
  };
2358
2358
  return F(o, (e) => {
2359
2359
  e && r(o, a);
2360
- }), t({ getCroppedCanvas: async (e, t) => q(o) ? await q(o).$toCanvas(e && t ? {
2361
- width: e,
2362
- height: t
2363
- } : void 0) : null }), (t, r) => {
2360
+ }), t({ getCroppedCanvas: async (e, t) => {
2361
+ let n = q(o);
2362
+ if (!n) return null;
2363
+ if (e && t) return await n.$toCanvas({
2364
+ width: e,
2365
+ height: t
2366
+ });
2367
+ let r = q(a);
2368
+ if (r) {
2369
+ let [e, t] = r.$getTransform(), i = Math.sqrt(e * e + t * t);
2370
+ if (i > 0) {
2371
+ let e = Math.round(n.width / i), t = Math.round(n.height / i);
2372
+ return await n.$toCanvas({
2373
+ width: e,
2374
+ height: t
2375
+ });
2376
+ }
2377
+ }
2378
+ return await n.$toCanvas(void 0);
2379
+ } }), (t, r) => {
2364
2380
  let s = p("cropper-image"), u = p("cropper-shade"), d = p("cropper-handle"), f = p("cropper-grid"), m = p("cropper-crosshair"), h = p("cropper-selection"), g = p("cropper-canvas"), _ = p("oc-icon");
2365
2381
  return P(), L("div", null, [R(g, {
2366
2382
  ref_key: "cropperCanvasRef",
@@ -2462,7 +2478,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
2462
2478
  }), _c = { class: "flex flex-col items-center" }, vc = { class: "oc-button-group" }, yc = /* @__PURE__ */ A({
2463
2479
  __name: "AvatarUpload",
2464
2480
  setup(e) {
2465
- let t = Yn(), n = dn(), { avatarMap: r } = $(n), { user: i } = $(t), { $gettext: a } = Q(), { showErrorMessage: o, showMessage: s } = rt(), { graphAuthenticated: c } = di(), l = W(null), u = W(null), d = W(!1), f = W(!1), m = W(null), h = J(() => !!q(r)[q(i).id]), g = (e) => {
2481
+ let t = Xn(), n = dn(), { avatarMap: r } = $(n), { user: i } = $(t), { $gettext: a } = Q(), { showErrorMessage: o, showMessage: s } = rt(), { graphAuthenticated: c } = fi(), l = W(null), u = W(null), d = W(!1), f = W(!1), m = W(null), h = J(() => !!q(r)[q(i).id]), g = (e) => {
2466
2482
  let t = e.target.files?.[0];
2467
2483
  if (t) {
2468
2484
  if (t.size > 10485760) {
@@ -2578,10 +2594,10 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
2578
2594
  ]);
2579
2595
  };
2580
2596
  }
2581
- }), bc = { class: "resource-table-select-all flex justify-center items-center" }, xc = { class: "truncate" }, Sc = ["textContent"], Cc = ["textContent"], wc = ["textContent"], Tc = {
2597
+ }), bc = { class: "resource-table-select-all flex justify-center items-center" }, xc = { class: "flex justify-center items-center" }, Sc = { class: "truncate" }, Cc = ["textContent"], wc = ["textContent"], Tc = ["textContent"], Ec = {
2582
2598
  key: 0,
2583
2599
  class: "flex items-center justify-end flex-row flex-nowrap"
2584
- }, Ec = 850, Dc = /* @__PURE__ */ A({
2600
+ }, Dc = 850, Oc = /* @__PURE__ */ A({
2585
2601
  __name: "ResourceTable",
2586
2602
  props: {
2587
2603
  resources: {},
@@ -2615,7 +2631,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
2615
2631
  type: Boolean,
2616
2632
  default: !1
2617
2633
  },
2618
- viewMode: { default: () => xr.defaultModeName },
2634
+ viewMode: { default: () => Sr.defaultModeName },
2619
2635
  hover: {
2620
2636
  type: Boolean,
2621
2637
  default: !0
@@ -2638,12 +2654,12 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
2638
2654
  "update:modelValue"
2639
2655
  ],
2640
2656
  setup(e, { emit: t }) {
2641
- let n = t, r = Hi(), { requestExtensions: i } = At(), o = $t(), { getMatchingSpace: s } = se(), { interceptModifierClick: c } = Pn(), { getParentFolderLink: l, getParentFolderLinkIconAdditionalAttributes: u, getParentFolderName: d, getPathPrefix: f } = zi({ space: W(e.space) }), { isSticky: m } = Rt(), { $gettext: h, $ngettext: g, current: _ } = Q(), { isLocationPicker: v, isFilePicker: b } = Hr(), { selectedResources: x, disabledResources: S, isResourceSelected: C, fileContainerClicked: w, fileNameClicked: T, fileCheckboxClicked: E, isResourceDisabled: D, isResourceInDeleteQueue: ee, isResourceClickable: O, isResourceCut: k, getResourceLink: A, dragItem: te, dragSelection: j, dragStart: ne, fileDropped: M, setDropStyling: re, shouldShowContextDrop: N, showContextMenuOnRightClick: ie, showContextMenuOnBtnClick: ae, selectAllCheckboxLabel: oe, getResourceCheckboxLabel: ce, toggleSelectionAll: le, areAllResourcesSelected: ue } = Fi({
2657
+ let n = t, r = Hi(), { requestExtensions: i } = At(), o = $t(), { getMatchingSpace: s } = se(), { interceptModifierClick: c } = Fn(), { getParentFolderLink: l, getParentFolderLinkIconAdditionalAttributes: u, getParentFolderName: d, getPathPrefix: f } = zi({ space: W(e.space) }), { isSticky: m } = Rt(), { $gettext: h, $ngettext: g, current: _ } = Q(), { isLocationPicker: v, isFilePicker: b } = Ur(), { selectedResources: x, disabledResources: S, isResourceSelected: C, fileContainerClicked: w, fileNameClicked: T, fileCheckboxClicked: E, isResourceDisabled: D, isResourceInDeleteQueue: ee, isResourceClickable: O, isResourceCut: k, getResourceLink: A, dragItem: te, dragSelection: j, dragStart: ne, fileDropped: M, setDropStyling: re, shouldShowContextDrop: N, showContextMenuOnRightClick: ie, showContextMenuOnBtnClick: ae, selectAllCheckboxLabel: oe, getResourceCheckboxLabel: ce, toggleSelectionAll: le, areAllResourcesSelected: ue } = Fi({
2642
2658
  space: J(() => e.space),
2643
2659
  resources: J(() => e.resources),
2644
2660
  selectedIds: J(() => e.selectedIds),
2645
2661
  emit: n
2646
- }), de = a(), { isSideBarOpen: fe } = $(de), { userContextReady: pe } = $(Hn()), { areFileExtensionsShown: me, latestSelectedId: _e } = $(fi()), { width: ye } = Fa(), be = J(() => o.filesTags && ye.value >= Ec), xe = J(() => (i({
2662
+ }), de = a(), { isSideBarOpen: fe } = $(de), { userContextReady: pe } = $(Un()), { areFileExtensionsShown: me, latestSelectedId: _e } = $(pi()), { width: ye } = Fa(), be = J(() => o.filesTags && ye.value >= Dc), xe = J(() => (i({
2647
2663
  id: "global.files.resource-table-actions",
2648
2664
  extensionType: "action"
2649
2665
  }) || []).map((e) => e.action)), Se = W({}), Ce = (e) => h("Search for tag %{tag}", { tag: e }), we = J(() => {
@@ -2833,10 +2849,10 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
2833
2849
  })) : [];
2834
2850
  return (t, n) => {
2835
2851
  let r = p("oc-checkbox"), i = p("oc-icon"), a = p("oc-tag"), o = p("oc-avatars"), g = zt("oc-tooltip");
2836
- return P(), L(G, null, [R(q(Si), Sr(t.$attrs, {
2852
+ return P(), L(G, null, [R(q(Si), Cr(t.$attrs, {
2837
2853
  id: "files-space-table",
2838
2854
  class: [{
2839
- condensed: e.viewMode === q(xr).name.condensedTable,
2855
+ condensed: e.viewMode === q(Sr).name.condensedTable,
2840
2856
  "files-table": e.resourceType === "file",
2841
2857
  "files-table-squashed": e.resourceType === "file" && q(fe),
2842
2858
  "spaces-table": e.resourceType === "space",
@@ -2871,6 +2887,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
2871
2887
  Z(t.$slots, "image", { resource: n }),
2872
2888
  (P(), H(Go, {
2873
2889
  key: `${n.path}-${e.resourceDomSelector(n)}-${n.thumbnail}`,
2890
+ class: K(["min-w-0", { "opacity-60": q(k)(n) }]),
2874
2891
  resource: n,
2875
2892
  "path-prefix": q(f)(n),
2876
2893
  "is-path-displayed": e.arePathsDisplayed,
@@ -2881,8 +2898,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
2881
2898
  link: q(A)(n),
2882
2899
  "parent-folder-link": q(l)(n),
2883
2900
  "parent-folder-link-icon-additional-attributes": q(u)(n),
2884
- class: K({ "opacity-60": q(k)(n) }),
2885
- onClick: ir((e) => q(T)({
2901
+ onClick: ar((e) => q(T)({
2886
2902
  resource: n,
2887
2903
  event: e
2888
2904
  }), ["stop"])
@@ -2900,12 +2916,12 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
2900
2916
  "class",
2901
2917
  "onClick"
2902
2918
  ])),
2903
- (P(!0), L(G, null, I(De(n), (e) => B((P(), H(q(An), {
2919
+ (P(!0), L(G, null, I(De(n), (e) => B((P(), H(q(jn), {
2904
2920
  key: `resource-table-action-${n.id}-${e.name}`,
2905
2921
  class: "resource-table-edit-name inline-flex raw-hover-surface p-1 ml-1",
2906
2922
  appearance: "raw",
2907
2923
  "aria-label": ke(e, n),
2908
- onClick: ir((t) => {
2924
+ onClick: ar((t) => {
2909
2925
  q(c)(t, n) || e.handler({
2910
2926
  space: q(s)(n),
2911
2927
  resources: [n]
@@ -2923,7 +2939,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
2923
2939
  ], 2), Z(t.$slots, "additionalResourceContent", { resource: n })]),
2924
2940
  syncEnabled: V(({ item: e }) => [Z(t.$slots, "syncEnabled", { resource: e })]),
2925
2941
  size: V(({ item: e }) => [R(dc, { size: e.size || NaN }, null, 8, ["size"])]),
2926
- tags: V(({ item: e }) => [(P(!0), L(G, null, I(e.tags.slice(0, 2), (e) => (P(), H(he(q(pe) ? "router-link" : "span"), Sr({ key: e }, { ref_for: !0 }, F(e), { class: "resource-table-tag-wrapper" }), {
2942
+ tags: V(({ item: e }) => [(P(!0), L(G, null, I(e.tags.slice(0, 2), (e) => (P(), H(he(q(pe) ? "router-link" : "span"), Cr({ key: e }, { ref_for: !0 }, F(e), { class: "resource-table-tag-wrapper" }), {
2927
2943
  default: V(() => [B((P(), H(a, {
2928
2944
  class: "resource-table-tag ml-1 max-w-20",
2929
2945
  rounded: !0,
@@ -2932,7 +2948,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
2932
2948
  default: V(() => [R(i, {
2933
2949
  name: "price-tag-3",
2934
2950
  size: "small"
2935
- }), X("span", xc, z(e), 1)]),
2951
+ }), X("span", Sc, z(e), 1)]),
2936
2952
  _: 2
2937
2953
  }, 1024)), [[g, Ce(e)]])]),
2938
2954
  _: 2
@@ -2953,7 +2969,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
2953
2969
  mdate: V(({ item: e }) => [B(X("span", {
2954
2970
  tabindex: "0",
2955
2971
  textContent: z(je(e.mdate))
2956
- }, null, 8, Sc), [[g, Ae(e.mdate)]])]),
2972
+ }, null, 8, Cc), [[g, Ae(e.mdate)]])]),
2957
2973
  indicators: V(({ item: t }) => [R(fc, {
2958
2974
  space: e.space,
2959
2975
  resource: t,
@@ -2966,12 +2982,12 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
2966
2982
  sdate: V(({ item: e }) => [B(X("span", {
2967
2983
  tabindex: "0",
2968
2984
  textContent: z(je(e.sdate))
2969
- }, null, 8, Cc), [[g, Ae(e.sdate)]])]),
2985
+ }, null, 8, wc), [[g, Ae(e.sdate)]])]),
2970
2986
  ddate: V(({ item: e }) => [B(X("p", {
2971
2987
  tabindex: "0",
2972
2988
  class: "m-0",
2973
2989
  textContent: z(je(e.ddate))
2974
- }, null, 8, wc), [[g, Ae(e.ddate)]])]),
2990
+ }, null, 8, Tc), [[g, Ae(e.ddate)]])]),
2975
2991
  sharedBy: V(({ item: e }) => [R(o, {
2976
2992
  class: "flex items-center justify-end flex-row flex-nowrap",
2977
2993
  "is-tooltip-displayed": !0,
@@ -3013,7 +3029,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3013
3029
  ]))), 128))]),
3014
3030
  _: 1
3015
3031
  }, 8, ["items", "accessible-description"])]),
3016
- actions: V(({ item: n }) => [q(N)(n) ? (P(), L("div", Tc, [Z(t.$slots, "quickActions", { resource: n }), R($s, {
3032
+ actions: V(({ item: n }) => [q(N)(n) ? (P(), L("div", Ec, [Z(t.$slots, "quickActions", { resource: n }), R($s, {
3017
3033
  ref: (e) => Se.value[n.id] = e?.drop,
3018
3034
  title: n.name,
3019
3035
  item: n,
@@ -3040,7 +3056,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3040
3056
  disabled: e.resources.length === q(S).length,
3041
3057
  "label-hidden": !0,
3042
3058
  "model-value": q(ue),
3043
- onClick: ir(q(le), ["stop"])
3059
+ onClick: ar(q(le), ["stop"])
3044
3060
  }, null, 8, [
3045
3061
  "label",
3046
3062
  "disabled",
@@ -3051,7 +3067,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3051
3067
  } : void 0,
3052
3068
  !q(v) && !q(b) ? {
3053
3069
  name: "select",
3054
- fn: V(({ item: t }) => [q(ee)(t.id) ? (P(), H(q(li), {
3070
+ fn: V(({ item: t }) => [X("div", xc, [q(ee)(t.id) ? (P(), H(q(ui), {
3055
3071
  key: 0,
3056
3072
  class: "inline-flex ml-1",
3057
3073
  size: "medium",
@@ -3067,7 +3083,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3067
3083
  outline: Ee(t),
3068
3084
  "data-test-selection-resource-name": t.name,
3069
3085
  "data-test-selection-resource-path": t.path,
3070
- onClick: ir((e) => q(E)({
3086
+ onClick: ar((e) => q(E)({
3071
3087
  resource: t,
3072
3088
  event: e
3073
3089
  }), ["stop"])
@@ -3080,7 +3096,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3080
3096
  "data-test-selection-resource-name",
3081
3097
  "data-test-selection-resource-path",
3082
3098
  "onClick"
3083
- ]))]),
3099
+ ]))])]),
3084
3100
  key: "1"
3085
3101
  } : void 0,
3086
3102
  t.$slots.footer ? {
@@ -3113,16 +3129,16 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3113
3129
  }, null, 8, ["preview-items"])])) : Y("", !0)], 64);
3114
3130
  };
3115
3131
  }
3116
- }), Oc = {
3132
+ }), kc = {
3117
3133
  key: 0,
3118
3134
  class: "oc-tile-card-lazy-shimmer h-30 overflow-hidden relative after:absolute after:inset-0 after:transform-[translateX(-100%)] opacity-20 after:animate-shimmer"
3119
- }, kc = { class: "z-10 absolute top-0 left-0 [&_input]:not-[.oc-checkbox-checked]:bg-role-surface-container" }, Ac = {
3135
+ }, Ac = { class: "z-10 absolute top-0 left-0 [&_input]:not-[.oc-checkbox-checked]:bg-role-surface-container" }, jc = {
3120
3136
  key: 0,
3121
3137
  class: "oc-tile-card-loading-spinner z-990 m-2"
3122
- }, jc = ["textContent"], Mc = ["aria-label"], Nc = { class: "flex justify-between items-center" }, Pc = { class: "flex items-center truncate resource-name-wrapper text-role-on-surface overflow-hidden" }, Fc = { class: "flex items-center" }, Ic = {
3138
+ }, Mc = ["textContent"], Nc = ["aria-label"], Pc = { class: "flex justify-between items-center" }, Fc = { class: "flex items-center truncate resource-name-wrapper text-role-on-surface overflow-hidden" }, Ic = { class: "flex items-center" }, Lc = {
3123
3139
  key: 0,
3124
3140
  class: "text-left my-0 truncate"
3125
- }, Lc = ["textContent"], Rc = /* @__PURE__ */ A({
3141
+ }, Rc = ["textContent"], zc = /* @__PURE__ */ A({
3126
3142
  __name: "ResourceTile",
3127
3143
  props: {
3128
3144
  resource: {},
@@ -3165,7 +3181,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3165
3181
  "tileClicked"
3166
3182
  ],
3167
3183
  setup(e, { emit: t }) {
3168
- let n = t, { $gettext: r } = Q(), { getParentFolderName: i, getParentFolderLink: a } = zi({ space: W(e.space) }), o = ii("observerTarget"), s = J(() => q(o)?.$el), c = J(() => e.resource.locked || e.resource.processing), l = J(() => e.resource.locked ? {
3184
+ let n = t, { $gettext: r } = Q(), { getParentFolderName: i, getParentFolderLink: a } = zi({ space: W(e.space) }), o = ai("observerTarget"), s = J(() => q(o)?.$el), c = J(() => e.resource.locked || e.resource.processing), l = J(() => e.resource.locked ? {
3169
3185
  name: "lock",
3170
3186
  fillType: "fill"
3171
3187
  } : e.resource.processing ? {
@@ -3190,7 +3206,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3190
3206
  "data-item-id": e.resource.id,
3191
3207
  onContextmenu: n[4] ||= (e) => t.$emit("contextmenu", e)
3192
3208
  }, {
3193
- default: V(() => [m.value ? (P(), L("div", Oc)) : (P(), L(G, { key: 1 }, [R(Fo, {
3209
+ default: V(() => [m.value ? (P(), L("div", kc)) : (P(), L(G, { key: 1 }, [R(Fo, {
3194
3210
  class: "oc-card-media-top flex justify-center items-center m-0 w-full relative aspect-[16/9]",
3195
3211
  resource: e.resource,
3196
3212
  link: e.resourceRoute,
@@ -3199,7 +3215,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3199
3215
  onClick: n[1] ||= (e) => t.$emit("fileNameClicked", e)
3200
3216
  }, {
3201
3217
  default: V(() => [
3202
- X("div", kc, [e.isLoading ? (P(), L("div", Ac, [R(s, { "aria-label": q(r)("File is being processed") }, null, 8, ["aria-label"])])) : Z(t.$slots, "selection", {
3218
+ X("div", Ac, [e.isLoading ? (P(), L("div", jc, [R(s, { "aria-label": q(r)("File is being processed") }, null, 8, ["aria-label"])])) : Z(t.$slots, "selection", {
3203
3219
  key: 1,
3204
3220
  item: e.resource
3205
3221
  })]),
@@ -3208,7 +3224,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3208
3224
  class: "z-10 absolute text-role-on-surface",
3209
3225
  type: "span"
3210
3226
  }, {
3211
- default: V(() => [X("span", { textContent: z(q(r)("Disabled")) }, null, 8, jc)]),
3227
+ default: V(() => [X("span", { textContent: z(q(r)("Disabled")) }, null, 8, Mc)]),
3212
3228
  _: 1
3213
3229
  })) : Y("", !0),
3214
3230
  B((P(), L("div", {
@@ -3222,7 +3238,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3222
3238
  class: K(["tile-preview rounded-t-sm size-full object-cover aspect-[16/9] pointer-events-none", { "rounded-sm": e.isResourceSelected }]),
3223
3239
  src: e.resource.thumbnail,
3224
3240
  "data-test-thumbnail-resource-name": e.resource.name,
3225
- onClick: n[0] ||= ir((n) => t.$emit("tileClicked", [e.resource, n]), ["stop"])
3241
+ onClick: n[0] ||= ar((n) => t.$emit("tileClicked", [e.resource, n]), ["stop"])
3226
3242
  }, null, 8, [
3227
3243
  "class",
3228
3244
  "src",
@@ -3234,9 +3250,9 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3234
3250
  class: "tile-default-image pt-1 relative"
3235
3251
  }, y({ _: 2 }, [c.value ? {
3236
3252
  name: "status",
3237
- fn: V(() => [R(g, Sr(l.value, { size: "xsmall" }), null, 16)]),
3253
+ fn: V(() => [R(g, Cr(l.value, { size: "xsmall" }), null, 16)]),
3238
3254
  key: "0"
3239
- } : void 0]), 1032, ["resource", "size"]))])], 10, Mc)), [[_, u.value]])
3255
+ } : void 0]), 1032, ["resource", "size"]))])], 10, Nc)), [[_, u.value]])
3240
3256
  ]),
3241
3257
  _: 3
3242
3258
  }, 8, [
@@ -3245,9 +3261,9 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3245
3261
  "is-resource-clickable"
3246
3262
  ]), X("div", {
3247
3263
  class: "p-2",
3248
- onClick: n[3] ||= ir((n) => t.$emit("tileClicked", [e.resource, n]), ["stop"])
3264
+ onClick: n[3] ||= ar((n) => t.$emit("tileClicked", [e.resource, n]), ["stop"])
3249
3265
  }, [
3250
- X("div", Nc, [X("div", Pc, [R(Go, {
3266
+ X("div", Pc, [X("div", Fc, [R(Go, {
3251
3267
  resource: e.resource,
3252
3268
  "is-icon-displayed": !1,
3253
3269
  "is-extension-displayed": e.isExtensionDisplayed,
@@ -3256,7 +3272,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3256
3272
  "parent-folder-name": q(i)(e.resource),
3257
3273
  "parent-folder-link": q(a)(e.resource),
3258
3274
  link: e.resourceRoute,
3259
- onClick: n[2] ||= ir((e) => t.$emit("fileNameClicked", e), ["stop"])
3275
+ onClick: n[2] ||= ar((e) => t.$emit("fileNameClicked", e), ["stop"])
3260
3276
  }, null, 8, [
3261
3277
  "resource",
3262
3278
  "is-extension-displayed",
@@ -3265,7 +3281,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3265
3281
  "parent-folder-name",
3266
3282
  "parent-folder-link",
3267
3283
  "link"
3268
- ])]), X("div", Fc, [
3284
+ ])]), X("div", Ic, [
3269
3285
  Z(t.$slots, "indicators", {
3270
3286
  item: e.resource,
3271
3287
  class: "resource-indicators"
@@ -3273,26 +3289,26 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3273
3289
  Z(t.$slots, "actions", { item: e.resource }),
3274
3290
  Z(t.$slots, "contextMenu", { item: e.resource })
3275
3291
  ])]),
3276
- d.value ? (P(), L("p", Ic, [X("span", {
3292
+ d.value ? (P(), L("p", Lc, [X("span", {
3277
3293
  class: "text-sm",
3278
3294
  textContent: z(d.value)
3279
- }, null, 8, Lc)])) : Y("", !0),
3295
+ }, null, 8, Rc)])) : Y("", !0),
3280
3296
  Z(t.$slots, "additionalResourceContent", { item: e.resource })
3281
3297
  ])], 64))]),
3282
3298
  _: 3
3283
3299
  }, 8, ["data-item-id", "class"]);
3284
3300
  };
3285
3301
  }
3286
- }), zc = {
3302
+ }), Bc = {
3287
3303
  id: "tiles-view",
3288
3304
  class: "px-4 pt-2"
3289
- }, Bc = { class: "flex items-center mb-2 pb-2 oc-tiles-controls" }, Vc = {
3305
+ }, Vc = { class: "flex items-center mb-2 pb-2 oc-tiles-controls" }, Hc = {
3290
3306
  key: 1,
3291
3307
  class: "oc-tiles-sort"
3292
- }, Hc = {
3308
+ }, Uc = {
3293
3309
  key: 0,
3294
3310
  class: "flex"
3295
- }, Uc = { class: "p-1 text-sm" }, Wc = /* @__PURE__ */ U(/* @__PURE__ */ A({
3311
+ }, Wc = { class: "p-1 text-sm" }, Gc = /* @__PURE__ */ U(/* @__PURE__ */ A({
3296
3312
  __name: "ResourceTiles",
3297
3313
  props: {
3298
3314
  resources: { default: () => [] },
@@ -3305,7 +3321,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3305
3321
  sortFields: { default: () => [] },
3306
3322
  sortBy: {},
3307
3323
  sortDir: {},
3308
- viewSize: { default: () => xr.tilesSizeDefault },
3324
+ viewSize: { default: () => Sr.tilesSizeDefault },
3309
3325
  dragDrop: {
3310
3326
  type: Boolean,
3311
3327
  default: !1
@@ -3331,7 +3347,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3331
3347
  "update:selectedIds"
3332
3348
  ],
3333
3349
  setup(e, { emit: t }) {
3334
- let n = t, { $gettext: r } = Q(), { areFileExtensionsShown: i } = $(fi()), { isLocationPicker: o, isFilePicker: s } = Hr(), c = w(), l = J(() => Math.min(q(c), e.viewSize)), { isSideBarOpen: u } = $(a()), { disabledResources: d, isResourceSelected: f, fileContainerClicked: m, fileNameClicked: h, fileCheckboxClicked: g, isResourceDisabled: _, isResourceInDeleteQueue: v, isResourceClickable: y, isResourceCut: b, getResourceLink: x, dragItem: S, dragSelection: C, dragStart: T, fileDropped: E, setDropStyling: D, shouldShowContextDrop: ee, showContextMenuOnRightClick: O, showContextMenuOnBtnClick: k, selectAllCheckboxLabel: A, getResourceCheckboxLabel: te, toggleSelectionAll: j, areAllResourcesSelected: ne } = Fi({
3350
+ let n = t, { $gettext: r } = Q(), { areFileExtensionsShown: i } = $(pi()), { isLocationPicker: o, isFilePicker: s } = Ur(), c = w(), l = J(() => Math.min(q(c), e.viewSize)), { isSideBarOpen: u } = $(a()), { disabledResources: d, isResourceSelected: f, fileContainerClicked: m, fileNameClicked: h, fileCheckboxClicked: g, isResourceDisabled: _, isResourceInDeleteQueue: v, isResourceClickable: y, isResourceCut: b, getResourceLink: x, dragItem: S, dragSelection: C, dragStart: T, fileDropped: E, setDropStyling: D, shouldShowContextDrop: ee, showContextMenuOnRightClick: O, showContextMenuOnBtnClick: k, selectAllCheckboxLabel: A, getResourceCheckboxLabel: te, toggleSelectionAll: j, areAllResourcesSelected: ne } = Fi({
3335
3351
  space: J(() => e.space),
3336
3352
  resources: J(() => e.resources),
3337
3353
  selectedIds: J(() => e.selectedIds),
@@ -3352,7 +3368,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3352
3368
  let e = document.getElementById("tiles-view"), t = getComputedStyle(e), n = parseInt(t.getPropertyValue("padding-left"), 10) | 0, r = parseInt(t.getPropertyValue("padding-right"), 10) | 0;
3353
3369
  oe.value = e.clientWidth - n - r;
3354
3370
  }, ce = J(() => parseFloat(getComputedStyle(document.documentElement).fontSize)), { calculateTileSizePixels: le } = et(), ue = J(() => {
3355
- let e = [...Array(xr.tilesSizeMax).keys()].map((e) => e + 1);
3371
+ let e = [...Array(Sr.tilesSizeMax).keys()].map((e) => e + 1);
3356
3372
  return [...new Set(e.map((e) => {
3357
3373
  let t = le(e);
3358
3374
  return t ? Math.round(q(oe) / (t + q(ce))) : 0;
@@ -3376,8 +3392,8 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3376
3392
  window.removeEventListener("resize", se);
3377
3393
  }), (t, n) => {
3378
3394
  let a = p("oc-checkbox"), c = p("oc-icon"), l = p("oc-button"), u = p("oc-list"), w = p("oc-filter-chip"), oe = zt("oc-tooltip");
3379
- return P(), L("div", zc, [
3380
- X("div", Bc, [e.isSelectable && !q(s) ? B((P(), H(a, {
3395
+ return P(), L("div", Bc, [
3396
+ X("div", Vc, [e.isSelectable && !q(s) ? B((P(), H(a, {
3381
3397
  key: 0,
3382
3398
  id: "tiles-view-select-all",
3383
3399
  class: "ml-2",
@@ -3386,13 +3402,13 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3386
3402
  "label-hidden": !0,
3387
3403
  disabled: e.resources.length === q(d).length,
3388
3404
  "model-value": q(ne),
3389
- onClick: ir(q(j), ["stop"])
3405
+ onClick: ar(q(j), ["stop"])
3390
3406
  }, null, 8, [
3391
3407
  "label",
3392
3408
  "disabled",
3393
3409
  "model-value",
3394
3410
  "onClick"
3395
- ])), [[oe, q(A)]]) : Y("", !0), e.sortFields.length ? (P(), L("div", Vc, [R(w, {
3411
+ ])), [[oe, q(A)]]) : Y("", !0), e.sortFields.length ? (P(), L("div", Hc, [R(w, {
3396
3412
  class: "[&_.oc-filter-chip-label]:text-sm",
3397
3413
  "filter-label": q(r)("Sort by"),
3398
3414
  "selected-item-names": [N.value.label],
@@ -3409,7 +3425,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3409
3425
  class: "oc-tiles-sort-filter-chip-item",
3410
3426
  onClick: (t) => ie(e)
3411
3427
  }, {
3412
- default: V(() => [X("span", null, z(e.label), 1), e === N.value ? (P(), L("div", Hc, [R(c, { name: "check" })])) : Y("", !0)]),
3428
+ default: V(() => [X("span", null, z(e.label), 1), e === N.value ? (P(), L("div", Uc, [R(c, { name: "check" })])) : Y("", !0)]),
3413
3429
  _: 2
3414
3430
  }, 1032, [
3415
3431
  "appearance",
@@ -3425,7 +3441,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3425
3441
  default: V(() => [(P(!0), L(G, null, I(e.resources, (r) => (P(), L("li", {
3426
3442
  key: r.id,
3427
3443
  class: "oc-tiles-item has-item-context-menu"
3428
- }, [R(Rc, {
3444
+ }, [R(zc, {
3429
3445
  resource: r,
3430
3446
  space: e.space,
3431
3447
  "resource-route": q(x)(r),
@@ -3440,13 +3456,13 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3440
3456
  "is-loading": q(v)(r.id),
3441
3457
  class: K({ "opacity-60": q(b)(r) }),
3442
3458
  onContextmenu: (e) => q(O)(e, r, M.value[r.id]),
3443
- onFileNameClicked: ir((e) => q(h)({
3459
+ onFileNameClicked: ar((e) => q(h)({
3444
3460
  resource: r,
3445
3461
  event: e
3446
3462
  }), ["stop"]),
3447
3463
  onDragstart: (e) => q(T)(r, e),
3448
- onDragenter: ir((e) => q(D)(r, !1, e), ["prevent"]),
3449
- onDragleave: ir((e) => q(D)(r, !0, e), ["prevent"]),
3464
+ onDragenter: ar((e) => q(D)(r, !1, e), ["prevent"]),
3465
+ onDragleave: ar((e) => q(D)(r, !0, e), ["prevent"]),
3450
3466
  onDrop: (e) => q(E)(r, e),
3451
3467
  onDragover: n[0] ||= (e) => e.preventDefault(),
3452
3468
  onItemVisible: (e) => t.$emit("itemVisible", r),
@@ -3465,7 +3481,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3465
3481
  "model-value": q(f)(r),
3466
3482
  "data-test-selection-resource-name": r.name,
3467
3483
  "data-test-selection-resource-path": r.path,
3468
- onClick: ir((e) => q(g)({
3484
+ onClick: ar((e) => q(g)({
3469
3485
  resource: r,
3470
3486
  event: e
3471
3487
  }), ["stop"])
@@ -3545,11 +3561,11 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3545
3561
  ref: "ghostElement",
3546
3562
  "preview-items": [q(S), ...q(C)]
3547
3563
  }, null, 8, ["preview-items"])])) : Y("", !0),
3548
- X("div", Uc, [Z(t.$slots, "footer", {}, void 0, !0)])
3564
+ X("div", Wc, [Z(t.$slots, "footer", {}, void 0, !0)])
3549
3565
  ]);
3550
3566
  };
3551
3567
  }
3552
- }), [["__scopeId", "data-v-15ffc95e"]]), Gc = { class: "flex items-center truncate" }, Kc = { class: "truncate ml-2" }, qc = { class: "flex" }, Jc = { class: "my-1" }, Yc = { class: "flex items-center truncate" }, Xc = { class: "truncate ml-2" }, Zc = ["textContent"], Qc = { class: "flex" }, $c = { class: "flex items-center justify-between mb-4" }, el = ["textContent"], tl = { class: "mt-2" }, nl = { class: "date-filter-apply-btn text-end" }, rl = /* @__PURE__ */ U(/* @__PURE__ */ A({
3568
+ }), [["__scopeId", "data-v-15ffc95e"]]), Kc = { class: "flex items-center truncate" }, qc = { class: "truncate ml-2" }, Jc = { class: "flex" }, Yc = { class: "my-1" }, Xc = { class: "flex items-center truncate" }, Zc = { class: "truncate ml-2" }, Qc = ["textContent"], $c = { class: "flex" }, el = { class: "flex items-center justify-between mb-4" }, tl = ["textContent"], nl = { class: "mt-2" }, rl = { class: "date-filter-apply-btn text-end" }, il = /* @__PURE__ */ U(/* @__PURE__ */ A({
3553
3569
  __name: "DateFilter",
3554
3570
  props: {
3555
3571
  filterLabel: {},
@@ -3560,7 +3576,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3560
3576
  },
3561
3577
  emits: ["selectionChange"],
3562
3578
  setup(e, { expose: t, emit: n }) {
3563
- let r = n, i = Hi(), { current: a } = Q(), o = b(), { currentTheme: s } = $(Rn()), c = W(), l = W(e.items), u = W(), d = W(), f = W(!1), m = W(), h = `q_${e.filterName}`, g = Fr(h), _ = (t) => t[e.idAttribute], v = () => i.push({ query: {
3579
+ let r = n, i = Hi(), { current: a } = Q(), o = b(), { currentTheme: s } = $(zn()), c = W(), l = W(e.items), u = W(), d = W(), f = W(!1), m = W(), h = `q_${e.filterName}`, g = Ir(h), _ = (t) => t[e.idAttribute], v = () => i.push({ query: {
3564
3580
  ...Di(q(o).query, [h]),
3565
3581
  ...q(c) && { [h]: _(q(c)) }
3566
3582
  } }), y = (e) => q(c) && _(q(c)) === _(e), x = () => {
@@ -3574,7 +3590,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3574
3590
  }, T = () => {
3575
3591
  f.value = !1;
3576
3592
  }, E = () => {
3577
- let t = jn(q(g));
3593
+ let t = Mn(q(g));
3578
3594
  if (!t) return;
3579
3595
  let n = e.items.find((e) => _(e) === t);
3580
3596
  if (n) {
@@ -3585,7 +3601,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3585
3601
  let e = t.replace("range:", ""), n = Number(e.split(" - ")[0]), r = Number(e.split(" - ")[1]);
3586
3602
  u.value = Na.fromMillis(n), d.value = Na.fromMillis(r), c.value = q(O);
3587
3603
  }
3588
- }, D = J(() => jn(q(g))?.startsWith("range:")), ee = J(() => !q(u) || !q(d) ? !1 : q(u) <= q(d)), O = J(() => {
3604
+ }, D = J(() => Mn(q(g))?.startsWith("range:")), ee = J(() => !q(u) || !q(d) ? !1 : q(u) <= q(d)), O = J(() => {
3589
3605
  if (!q(u) || !q(d)) return null;
3590
3606
  let t = Vt(q(u), a, Na.DATE_SHORT), n = Vt(q(d), a, Na.DATE_SHORT), r = q(u).toMillis(), i = q(d).toMillis();
3591
3607
  return {
@@ -3630,7 +3646,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3630
3646
  "data-testid": n[e.displayNameAttribute],
3631
3647
  onClick: (e) => S(n)
3632
3648
  }, {
3633
- default: V(() => [X("div", Gc, [X("div", Kc, [Z(t.$slots, "item", { item: n }, void 0, !0)])]), X("div", qc, [y(n) ? (P(), H(r, {
3649
+ default: V(() => [X("div", Kc, [X("div", qc, [Z(t.$slots, "item", { item: n }, void 0, !0)])]), X("div", Jc, [y(n) ? (P(), H(r, {
3634
3650
  key: 0,
3635
3651
  name: "check"
3636
3652
  })) : Y("", !0)])]),
@@ -3639,14 +3655,14 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3639
3655
  "class",
3640
3656
  "data-testid",
3641
3657
  "onClick"
3642
- ])]))), 128)), X("li", Jc, [R(i, {
3658
+ ])]))), 128)), X("li", Yc, [R(i, {
3643
3659
  class: K(["date-filter-list-item flex justify-between items-center w-full p-1", { "date-filter-list-item-active": D.value }]),
3644
3660
  "justify-content": "space-between",
3645
3661
  appearance: "raw",
3646
3662
  "data-testid": "custom-date-range",
3647
3663
  onClick: n[0] ||= (e) => f.value = !0
3648
3664
  }, {
3649
- default: V(() => [X("div", Yc, [X("div", Xc, [X("span", { textContent: z(t.$gettext("Custom date range")) }, null, 8, Zc)])]), X("div", Qc, [D.value ? (P(), H(r, {
3665
+ default: V(() => [X("div", Xc, [X("div", Zc, [X("span", { textContent: z(t.$gettext("Custom date range")) }, null, 8, Qc)])]), X("div", $c, [D.value ? (P(), H(r, {
3650
3666
  key: 0,
3651
3667
  name: "check"
3652
3668
  })) : Y("", !0)])]),
@@ -3657,7 +3673,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3657
3673
  "transform-[translateX(0)] visible": f.value,
3658
3674
  "transform-[translateX(100%)] invisible": !f.value
3659
3675
  }]) }, [
3660
- X("div", $c, [
3676
+ X("div", el, [
3661
3677
  R(i, {
3662
3678
  appearance: "raw",
3663
3679
  class: "date-filter-range-panel-back",
@@ -3670,7 +3686,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3670
3686
  })]),
3671
3687
  _: 1
3672
3688
  }, 8, ["aria-label"]),
3673
- X("span", { textContent: z(t.$gettext("Custom date range")) }, null, 8, el),
3689
+ X("span", { textContent: z(t.$gettext("Custom date range")) }, null, 8, tl),
3674
3690
  R(i, {
3675
3691
  appearance: "raw",
3676
3692
  class: "date-filter-range-panel-close",
@@ -3681,7 +3697,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3681
3697
  _: 1
3682
3698
  }, 8, ["aria-label"])
3683
3699
  ]),
3684
- X("div", tl, [R(o, {
3700
+ X("div", nl, [R(o, {
3685
3701
  label: t.$gettext("From"),
3686
3702
  "is-clearable": !0,
3687
3703
  "current-date": u.value,
@@ -3704,7 +3720,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3704
3720
  "min-date",
3705
3721
  "is-dark"
3706
3722
  ])]),
3707
- X("div", nl, [R(i, {
3723
+ X("div", rl, [R(i, {
3708
3724
  size: "small",
3709
3725
  disabled: !ee.value,
3710
3726
  onClick: k
@@ -3717,7 +3733,7 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3717
3733
  }, 8, ["filter-label", "selected-item-names"])], 2);
3718
3734
  };
3719
3735
  }
3720
- }), [["__scopeId", "data-v-9c476fec"]]), il = A({
3736
+ }), [["__scopeId", "data-v-9c476fec"]]), al = A({
3721
3737
  name: "ItemFilterInline",
3722
3738
  props: {
3723
3739
  filterName: {
@@ -3731,12 +3747,12 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3731
3747
  },
3732
3748
  emits: ["toggleFilter"],
3733
3749
  setup: function(e, { emit: t }) {
3734
- let n = Hi(), r = b(), i = W(e.filterOptions[0].name), a = `q_${e.filterName}`, o = Fr(a), s = (e) => n.push({ query: {
3750
+ let n = Hi(), r = b(), i = W(e.filterOptions[0].name), a = `q_${e.filterName}`, o = Ir(a), s = (e) => n.push({ query: {
3735
3751
  ...Di(q(r).query, [a]),
3736
3752
  [a]: e
3737
3753
  } });
3738
3754
  return st(() => {
3739
- let n = jn(q(o));
3755
+ let n = Mn(q(o));
3740
3756
  n && e.filterOptions.some(({ name: e }) => e === n) && (i.value = n, t("toggleFilter", e.filterOptions.find(({ name: e }) => e === n)));
3741
3757
  }), {
3742
3758
  queryParam: a,
@@ -3746,8 +3762,8 @@ var dc = /* @__PURE__ */ U(cc, [["render", uc]]), fc = /* @__PURE__ */ A({
3746
3762
  }
3747
3763
  };
3748
3764
  }
3749
- }), al = ["textContent"];
3750
- function ol(e, t, n, r, i, a) {
3765
+ }), ol = ["textContent"];
3766
+ function sl(e, t, n, r, i, a) {
3751
3767
  let o = p("oc-button");
3752
3768
  return P(), L("div", null, [X("div", { class: K(["item-inline-filter inline-flex outline outline-offset-[-1px] rounded-md", `item-inline-filter-${e.filterName}`]) }, [(P(!0), L(G, null, I(e.filterOptions, (t, n) => (P(), H(o, {
3753
3769
  id: t.name,
@@ -3761,7 +3777,7 @@ function ol(e, t, n, r, i, a) {
3761
3777
  default: V(() => [X("span", {
3762
3778
  class: "truncate item-inline-filter-option-label",
3763
3779
  textContent: z(t.label)
3764
- }, null, 8, al)]),
3780
+ }, null, 8, ol)]),
3765
3781
  _: 2
3766
3782
  }, 1032, [
3767
3783
  "id",
@@ -3772,13 +3788,13 @@ function ol(e, t, n, r, i, a) {
3772
3788
  "onClick"
3773
3789
  ]))), 128))], 2)]);
3774
3790
  }
3775
- var sl = /* @__PURE__ */ U(il, [["render", ol]]), cl = {
3791
+ var cl = /* @__PURE__ */ U(al, [["render", sl]]), ll = {
3776
3792
  key: 1,
3777
3793
  class: "flex justify-between items-center w-full"
3778
- }, ll = { class: "flex items-center truncate" }, ul = { class: "flex flex-col items-start ml-5 truncate" }, dl = ["textContent"], fl = ["textContent"], pl = { class: "flex justify-between items-center w-full" }, ml = { class: "flex items-center truncate" }, hl = { class: "flex flex-col items-start ml-5 truncate" }, gl = ["textContent"], _l = ["textContent"], vl = /* @__PURE__ */ A({
3794
+ }, ul = { class: "flex items-center truncate" }, dl = { class: "flex flex-col items-start ml-5 truncate" }, fl = ["textContent"], pl = ["textContent"], ml = { class: "flex justify-between items-center w-full" }, hl = { class: "flex items-center truncate" }, gl = { class: "flex flex-col items-start ml-5 truncate" }, _l = ["textContent"], vl = ["textContent"], yl = /* @__PURE__ */ A({
3779
3795
  __name: "AccountsSwitch",
3780
3796
  setup(e) {
3781
- let t = or(), { accounts: n, currentAccount: r, isLoading: i } = $(t), { setCurrentAccount: a } = t, o = (e) => {
3797
+ let t = sr(), { accounts: n, currentAccount: r, isLoading: i } = $(t), { setCurrentAccount: a } = t, o = (e) => {
3782
3798
  a(e);
3783
3799
  };
3784
3800
  return (e, t) => {
@@ -3794,14 +3810,14 @@ var sl = /* @__PURE__ */ U(il, [["render", ol]]), cl = {
3794
3810
  default: V(() => [q(i) ? (P(), H(a, {
3795
3811
  key: 0,
3796
3812
  "aria-label": e.$gettext("Loading accounts")
3797
- }, null, 8, ["aria-label"])) : (P(), L("div", cl, [X("div", ll, [R(s, { "user-name": q(r)?.name || "" }, null, 8, ["user-name"]), X("div", ul, [X("span", {
3813
+ }, null, 8, ["aria-label"])) : (P(), L("div", ll, [X("div", ul, [R(s, { "user-name": q(r)?.name || "" }, null, 8, ["user-name"]), X("div", dl, [X("span", {
3798
3814
  class: "font-bold",
3799
3815
  textContent: z(q(r)?.name || "")
3800
- }, null, 8, dl), q(r)?.identities?.[0]?.email ? (P(), L("span", {
3816
+ }, null, 8, fl), q(r)?.identities?.[0]?.email ? (P(), L("span", {
3801
3817
  key: 0,
3802
3818
  class: "max-w-full truncate",
3803
3819
  textContent: z(q(r).identities[0].email)
3804
- }, null, 8, fl)) : Y("", !0)])]), R(c, {
3820
+ }, null, 8, pl)) : Y("", !0)])]), R(c, {
3805
3821
  class: "ml-2",
3806
3822
  name: "more-2"
3807
3823
  })]))]),
@@ -3822,13 +3838,13 @@ var sl = /* @__PURE__ */ U(il, [["render", ol]]), cl = {
3822
3838
  "color-role": e.accountId === q(r).accountId ? "secondaryContainer" : "surface",
3823
3839
  onClick: (t) => o(e)
3824
3840
  }, {
3825
- default: V(() => [X("div", pl, [X("div", ml, [R(s, { "user-name": e.name }, null, 8, ["user-name"]), X("div", hl, [X("span", {
3841
+ default: V(() => [X("div", ml, [X("div", hl, [R(s, { "user-name": e.name }, null, 8, ["user-name"]), X("div", gl, [X("span", {
3826
3842
  class: "font-bold",
3827
3843
  textContent: z(e.name)
3828
- }, null, 8, gl), e.identities?.[0]?.email ? (P(), L("span", {
3844
+ }, null, 8, _l), e.identities?.[0]?.email ? (P(), L("span", {
3829
3845
  key: 0,
3830
3846
  textContent: z(e.identities[0].email)
3831
- }, null, 8, _l)) : Y("", !0)])]), e.accountId === q(r).accountId ? (P(), H(c, {
3847
+ }, null, 8, vl)) : Y("", !0)])]), e.accountId === q(r).accountId ? (P(), H(c, {
3832
3848
  key: 0,
3833
3849
  class: "ml-2",
3834
3850
  name: "check"
@@ -3845,7 +3861,7 @@ var sl = /* @__PURE__ */ U(il, [["render", ol]]), cl = {
3845
3861
  }, 8, ["title"])], 64);
3846
3862
  };
3847
3863
  }
3848
- }), yl = { class: "space-quota" }, bl = ["textContent"], xl = /* @__PURE__ */ A({
3864
+ }), bl = { class: "space-quota" }, xl = ["textContent"], Sl = /* @__PURE__ */ A({
3849
3865
  __name: "SpaceQuota",
3850
3866
  props: { spaceQuota: {} },
3851
3867
  setup(e) {
@@ -3861,10 +3877,10 @@ var sl = /* @__PURE__ */ U(il, [["render", ol]]), cl = {
3861
3877
  });
3862
3878
  return (e, t) => {
3863
3879
  let n = p("oc-progress");
3864
- return P(), L("div", yl, [X("p", {
3880
+ return P(), L("div", bl, [X("p", {
3865
3881
  class: "mb-2 mt-0",
3866
3882
  textContent: z(r.value)
3867
- }, null, 8, bl), R(n, {
3883
+ }, null, 8, xl), R(n, {
3868
3884
  value: o.value,
3869
3885
  max: 100,
3870
3886
  size: "small",
@@ -3873,7 +3889,7 @@ var sl = /* @__PURE__ */ U(il, [["render", ol]]), cl = {
3873
3889
  }, null, 8, ["value", "color"])]);
3874
3890
  };
3875
3891
  }
3876
- }), Sl = A({
3892
+ }), Cl = A({
3877
3893
  name: "WebDavDetails",
3878
3894
  props: { space: {
3879
3895
  type: Object,
@@ -3894,15 +3910,15 @@ var sl = /* @__PURE__ */ U(il, [["render", ol]]), cl = {
3894
3910
  webDavUrl: s
3895
3911
  };
3896
3912
  }
3897
- }), Cl = { class: "flex" }, wl = ["textContent"], Tl = { class: "flex" }, El = ["textContent"];
3898
- function Dl(e, t, n, r, i, a) {
3913
+ }), wl = { class: "flex" }, Tl = ["textContent"], El = { class: "flex" }, Dl = ["textContent"];
3914
+ function Ol(e, t, n, r, i, a) {
3899
3915
  let o = p("oc-icon"), s = p("oc-button"), c = zt("oc-tooltip");
3900
3916
  return P(), L(G, null, [
3901
3917
  X("dt", null, z(e.$gettext("WebDAV path")), 1),
3902
- X("dd", Cl, [B(X("div", {
3918
+ X("dd", wl, [B(X("div", {
3903
3919
  class: "truncate",
3904
3920
  textContent: z(e.webDavPath)
3905
- }, null, 8, wl), [[c, e.webDavPath]]), B((P(), H(s, {
3921
+ }, null, 8, Tl), [[c, e.webDavPath]]), B((P(), H(s, {
3906
3922
  class: "ml-2",
3907
3923
  appearance: "raw",
3908
3924
  size: "small",
@@ -3914,10 +3930,10 @@ function Dl(e, t, n, r, i, a) {
3914
3930
  _: 1
3915
3931
  }, 8, ["aria-label", "onClick"])), [[c, e.$gettext("Copy WebDAV path")]])]),
3916
3932
  X("dt", null, z(e.$gettext("WebDAV URL")), 1),
3917
- X("dd", Tl, [B(X("div", {
3933
+ X("dd", El, [B(X("div", {
3918
3934
  class: "truncate",
3919
3935
  textContent: z(e.webDavUrl)
3920
- }, null, 8, El), [[c, e.webDavUrl]]), B((P(), H(s, {
3936
+ }, null, 8, Dl), [[c, e.webDavUrl]]), B((P(), H(s, {
3921
3937
  class: "ml-2",
3922
3938
  appearance: "raw",
3923
3939
  size: "small",
@@ -3930,7 +3946,7 @@ function Dl(e, t, n, r, i, a) {
3930
3946
  }, 8, ["aria-label", "onClick"])), [[c, e.$gettext("Copy WebDAV URL")]])])
3931
3947
  ], 64);
3932
3948
  }
3933
- var Ol = /* @__PURE__ */ U(Sl, [["render", Dl]]), kl = /* @__PURE__ */ A({
3949
+ var kl = /* @__PURE__ */ U(Cl, [["render", Ol]]), Al = /* @__PURE__ */ A({
3934
3950
  __name: "CustomComponentTarget",
3935
3951
  props: { extensionPoint: {} },
3936
3952
  setup(e) {
@@ -3939,34 +3955,34 @@ var Ol = /* @__PURE__ */ U(Sl, [["render", Dl]]), kl = /* @__PURE__ */ A({
3939
3955
  let e = r.getExtensionPreference(t.extensionPoint.id, a);
3940
3956
  return e.selectedExtensionIds.length ? [q(i).find((t) => e.selectedExtensionIds.includes(t.id)) || q(i)[0]] : [q(i)[0]];
3941
3957
  });
3942
- return (e, t) => (P(!0), L(G, null, I(o.value, (e) => (P(), H(he(e.content), Sr({ key: `custom-component-${e.id}` }, { ref_for: !0 }, e.componentProps ? e.componentProps() : void 0), null, 16))), 128));
3958
+ return (e, t) => (P(!0), L(G, null, I(o.value, (e) => (P(), H(he(e.content), Cr({ key: `custom-component-${e.id}` }, { ref_for: !0 }, e.componentProps ? e.componentProps() : void 0), null, 16))), 128));
3943
3959
  }
3944
- }), Al = {
3960
+ }), jl = {
3945
3961
  id: "app.files.sidebar.space-details.table",
3946
3962
  extensionType: "customComponent"
3947
- }, jl = () => J(() => [Al]), Ml = {
3963
+ }, Ml = () => J(() => [jl]), Nl = {
3948
3964
  id: "oc-space-details-sidebar",
3949
3965
  class: "p-2"
3950
- }, Nl = {
3966
+ }, Pl = {
3951
3967
  key: 1,
3952
3968
  class: "bg-role-surface-container rounded-xl flex items-center justify-center p-4 mb-4"
3953
- }, Pl = { key: 0 }, Fl = ["src"], Il = { key: 1 }, Ll = {
3969
+ }, Fl = { key: 0 }, Il = ["src"], Ll = { key: 1 }, Rl = {
3954
3970
  key: 2,
3955
3971
  class: "flex items-center oc-space-details-sidebar-members mb-2 text-sm gap-2"
3956
- }, Rl = ["textContent"], zl = ["textContent"], Bl = ["aria-label"], Vl = /* @__PURE__ */ A({
3972
+ }, zl = ["textContent"], Bl = ["textContent"], Vl = ["aria-label"], Hl = /* @__PURE__ */ A({
3957
3973
  __name: "SpaceDetails",
3958
3974
  props: { showShareIndicators: {
3959
3975
  type: Boolean,
3960
3976
  default: !0
3961
3977
  } },
3962
3978
  setup(e) {
3963
- let t = Yn(), n = fi(), { resourceContentsText: r } = v({ showSizeInformation: !1 }), i = Hi(), { $gettext: o, $ngettext: s, current: c } = Q(), { loadPreview: l } = Bi(), { openSideBarPanel: u } = a(), d = Jr(), { imagesLoading: f } = $(d), g = Mn(), _ = tt("resource"), y = W(""), { user: b } = $(t), x = J(() => d.getSpaceMembers(q(_))), S = J(() => g.linkShares.length), C = J(() => n.areWebDavDetailsShown), w = J(() => !m(i, "files-spaces-projects")), T = J(() => `${h(q(_).size, c)}, ${q(r)}`);
3979
+ let t = Xn(), n = pi(), { resourceContentsText: r } = v({ showSizeInformation: !1 }), i = Hi(), { $gettext: o, $ngettext: s, current: c } = Q(), { loadPreview: l } = Bi(), { openSideBarPanel: u } = a(), d = Yr(), { imagesLoading: f } = $(d), g = Nn(), _ = tt("resource"), y = W(""), { user: b } = $(t), x = J(() => d.getSpaceMembers(q(_))), S = J(() => g.linkShares.length), C = J(() => n.areWebDavDetailsShown), w = J(() => !m(i, "files-spaces-projects")), T = J(() => `${h(q(_).size, c)}, ${q(r)}`);
3964
3980
  F(() => q(_).spaceImageData, async () => {
3965
3981
  y.value = await l({
3966
3982
  space: q(_),
3967
3983
  resource: q(_).spaceImageData ? ua(q(_)) : q(_),
3968
- dimensions: Gn.Tile,
3969
- processor: Yr.enum.fit,
3984
+ dimensions: Kn.Tile,
3985
+ processor: Xr.enum.fit,
3970
3986
  cancelRunning: !0,
3971
3987
  updateStore: !1
3972
3988
  });
@@ -3984,20 +4000,20 @@ var Ol = /* @__PURE__ */ U(Sl, [["render", Dl]]), kl = /* @__PURE__ */ A({
3984
4000
  }), k = J(() => o("Open share panel")), A = J(() => o("Open link list in share panel")), te = J(() => o("Open member list in share panel")), j = J(() => q(M) > 0), ne = J(() => q(S) > 0), M = J(() => q(x).length), re = J(() => s("This space has %{memberShareCount} member.", "This space has %{memberShareCount} members.", q(M), { memberShareCount: q(M).toString() })), N = J(() => s("%{linkShareCount} link giving access.", "%{linkShareCount} links giving access.", q(S), { linkShareCount: q(S).toString() }));
3985
4001
  return (t, n) => {
3986
4002
  let r = p("oc-spinner"), i = p("oc-icon"), a = p("oc-button");
3987
- return P(), L("div", Ml, [
4003
+ return P(), L("div", Nl, [
3988
4004
  q(f).includes(q(_).id) ? (P(), H(r, {
3989
4005
  key: 0,
3990
4006
  "aria-label": q(o)("Space image is loading")
3991
- }, null, 8, ["aria-label"])) : (P(), L("div", Nl, [y.value ? (P(), L("div", Pl, [X("img", {
4007
+ }, null, 8, ["aria-label"])) : (P(), L("div", Pl, [y.value ? (P(), L("div", Fl, [X("img", {
3992
4008
  src: y.value,
3993
4009
  alt: "",
3994
4010
  class: "h-[160px]"
3995
- }, null, 8, Fl)])) : (P(), L("div", Il, [R(i, {
4011
+ }, null, 8, Il)])) : (P(), L("div", Ll, [R(i, {
3996
4012
  name: "layout-grid",
3997
4013
  size: "xxxlarge",
3998
4014
  class: "space-default-image px-4 py-4"
3999
4015
  })]))])),
4000
- e.showShareIndicators && ee.value && !q(_).disabled ? (P(), L("div", Ll, [
4016
+ e.showShareIndicators && ee.value && !q(_).disabled ? (P(), L("div", Rl, [
4001
4017
  j.value ? (P(), H(a, {
4002
4018
  key: 0,
4003
4019
  appearance: "raw",
@@ -4026,7 +4042,7 @@ var Ol = /* @__PURE__ */ U(Sl, [["render", Dl]]), kl = /* @__PURE__ */ A({
4026
4042
  })]),
4027
4043
  _: 1
4028
4044
  }, 8, ["aria-label"])) : Y("", !0),
4029
- X("p", { textContent: z(O.value) }, null, 8, Rl),
4045
+ X("p", { textContent: z(O.value) }, null, 8, zl),
4030
4046
  R(a, {
4031
4047
  appearance: "raw",
4032
4048
  "aria-label": k.value,
@@ -4037,7 +4053,7 @@ var Ol = /* @__PURE__ */ U(Sl, [["render", Dl]]), kl = /* @__PURE__ */ A({
4037
4053
  default: V(() => [X("span", {
4038
4054
  class: "text-sm",
4039
4055
  textContent: z(q(o)("Show"))
4040
- }, null, 8, zl)]),
4056
+ }, null, 8, Bl)]),
4041
4057
  _: 1
4042
4058
  }, 8, ["aria-label"])
4043
4059
  ])) : Y("", !0),
@@ -4049,21 +4065,21 @@ var Ol = /* @__PURE__ */ U(Sl, [["render", Dl]]), kl = /* @__PURE__ */ A({
4049
4065
  X("dd", null, z(D.value), 1),
4050
4066
  q(_).description ? (P(), L(G, { key: 0 }, [X("dt", null, z(q(o)("Subtitle")), 1), X("dd", null, z(q(_).description), 1)], 64)) : Y("", !0),
4051
4067
  q(_).disabled ? Y("", !0) : (P(), L(G, { key: 1 }, [X("dt", null, z(q(o)("Manager")), 1), X("dd", null, z(E.value), 1)], 64)),
4052
- q(_).disabled ? Y("", !0) : (P(), L(G, { key: 2 }, [X("dt", null, z(q(o)("Quota")), 1), X("dd", null, [R(xl, { "space-quota": q(_).spaceQuota }, null, 8, ["space-quota"])])], 64)),
4068
+ q(_).disabled ? Y("", !0) : (P(), L(G, { key: 2 }, [X("dt", null, z(q(o)("Quota")), 1), X("dd", null, [R(Sl, { "space-quota": q(_).spaceQuota }, null, 8, ["space-quota"])])], 64)),
4053
4069
  w.value ? (P(), L(G, { key: 3 }, [X("dt", null, z(q(o)("Size")), 1), X("dd", null, z(T.value), 1)], 64)) : Y("", !0),
4054
- C.value ? (P(), H(Ol, {
4070
+ C.value ? (P(), H(kl, {
4055
4071
  key: 4,
4056
4072
  space: q(_)
4057
4073
  }, null, 8, ["space"])) : Y("", !0),
4058
- R(kl, { "extension-point": q(Al) }, null, 8, ["extension-point"])
4059
- ], 8, Bl)
4074
+ R(Al, { "extension-point": q(jl) }, null, 8, ["extension-point"])
4075
+ ], 8, Vl)
4060
4076
  ]);
4061
4077
  };
4062
4078
  }
4063
- }), Hl = {
4079
+ }), Ul = {
4064
4080
  id: "oc-spaces-details-multiple-sidebar",
4065
4081
  class: "p-4 bg-role-surface-container rounded-sm"
4066
- }, Ul = { class: "text-center mb-6 rounded-sm" }, Wl = ["textContent"], Gl = /* @__PURE__ */ A({
4082
+ }, Wl = { class: "text-center mb-6 rounded-sm" }, Gl = ["textContent"], Kl = /* @__PURE__ */ A({
4067
4083
  __name: "SpaceDetailsMultiple",
4068
4084
  props: { selectedSpaces: {} },
4069
4085
  setup(e) {
@@ -4106,25 +4122,25 @@ var Ol = /* @__PURE__ */ U(Sl, [["render", Dl]]), kl = /* @__PURE__ */ A({
4106
4122
  ]);
4107
4123
  return (e, t) => {
4108
4124
  let n = p("oc-icon"), r = p("oc-definition-list");
4109
- return P(), L("div", Hl, [X("div", Ul, [X("div", null, [R(n, {
4125
+ return P(), L("div", Ul, [X("div", Wl, [X("div", null, [R(n, {
4110
4126
  size: "xxlarge",
4111
4127
  name: "layout-grid"
4112
- }), X("p", { textContent: z(u.value) }, null, 8, Wl)])]), R(r, {
4128
+ }), X("p", { textContent: z(u.value) }, null, 8, Gl)])]), R(r, {
4113
4129
  "aria-label": l.value,
4114
4130
  items: d.value,
4115
4131
  class: "m-0"
4116
4132
  }, null, 8, ["aria-label", "items"])]);
4117
4133
  };
4118
4134
  }
4119
- }), Kl = A({ name: "SpaceNoSelection" }), ql = { class: "mt-12" }, Jl = { class: "flex flex-col items-center space-info text-center" }, Yl = ["textContent"];
4120
- function Xl(e, t, n, r, i, a) {
4135
+ }), ql = A({ name: "SpaceNoSelection" }), Jl = { class: "mt-12" }, Yl = { class: "flex flex-col items-center space-info text-center" }, Xl = ["textContent"];
4136
+ function Zl(e, t, n, r, i, a) {
4121
4137
  let o = p("oc-icon");
4122
- return P(), L("div", ql, [X("div", Jl, [R(o, {
4138
+ return P(), L("div", Jl, [X("div", Yl, [R(o, {
4123
4139
  name: "layout-grid",
4124
4140
  size: "xxlarge"
4125
- }), X("p", { textContent: z(e.$gettext("Select a space to view details")) }, null, 8, Yl)])]);
4141
+ }), X("p", { textContent: z(e.$gettext("Select a space to view details")) }, null, 8, Xl)])]);
4126
4142
  }
4127
- var Zl = /* @__PURE__ */ U(Kl, [["render", Xl]]), Ql = A({
4143
+ var Ql = /* @__PURE__ */ U(ql, [["render", Zl]]), $l = A({
4128
4144
  name: "CompareSaveDialog",
4129
4145
  props: {
4130
4146
  originalObject: {
@@ -4153,7 +4169,7 @@ var Zl = /* @__PURE__ */ U(Kl, [["render", Xl]]), Ql = A({
4153
4169
  },
4154
4170
  computed: {
4155
4171
  unsavedChanges() {
4156
- return !Nn(this.originalObject, this.compareObject);
4172
+ return !Pn(this.originalObject, this.compareObject);
4157
4173
  },
4158
4174
  unsavedChangesText() {
4159
4175
  return this.unsavedChanges ? this.$gettext("Unsaved changes") : this.$gettext("No changes");
@@ -4167,21 +4183,21 @@ var Zl = /* @__PURE__ */ U(Kl, [["render", Xl]]), Ql = A({
4167
4183
  this.saved = !1;
4168
4184
  }
4169
4185
  }
4170
- }), $l = { class: "w-full flex flex-row flex-wrap justify-between items-center" }, eu = {
4186
+ }), eu = { class: "w-full flex flex-row flex-wrap justify-between items-center" }, tu = {
4171
4187
  key: 0,
4172
4188
  class: "flex items-center"
4173
- }, tu = ["textContent"], nu = { key: 1 }, ru = ["textContent"], iu = ["textContent"];
4174
- function au(e, t, n, r, i, a) {
4189
+ }, nu = ["textContent"], ru = { key: 1 }, iu = ["textContent"], au = ["textContent"];
4190
+ function ou(e, t, n, r, i, a) {
4175
4191
  let o = p("oc-icon"), s = p("oc-button");
4176
- return P(), L("div", $l, [e.saved ? (P(), L("span", eu, [R(o, { name: "checkbox-circle" }), X("span", {
4192
+ return P(), L("div", eu, [e.saved ? (P(), L("span", tu, [R(o, { name: "checkbox-circle" }), X("span", {
4177
4193
  class: "ml-2",
4178
4194
  textContent: z(e.$gettext("Changes saved"))
4179
- }, null, 8, tu)])) : (P(), L("span", nu, z(e.unsavedChangesText), 1)), X("div", null, [R(s, {
4195
+ }, null, 8, nu)])) : (P(), L("span", ru, z(e.unsavedChangesText), 1)), X("div", null, [R(s, {
4180
4196
  disabled: !e.unsavedChanges,
4181
4197
  class: "compare-save-dialog-revert-btn",
4182
4198
  onClick: t[0] ||= (t) => e.$emit("revert")
4183
4199
  }, {
4184
- default: V(() => [X("span", { textContent: z(e.$gettext("Revert")) }, null, 8, ru)]),
4200
+ default: V(() => [X("span", { textContent: z(e.$gettext("Revert")) }, null, 8, iu)]),
4185
4201
  _: 1
4186
4202
  }, 8, ["disabled"]), R(s, {
4187
4203
  appearance: "filled",
@@ -4189,13 +4205,11 @@ function au(e, t, n, r, i, a) {
4189
4205
  disabled: !e.unsavedChanges || e.confirmButtonDisabled,
4190
4206
  onClick: t[1] ||= (t) => e.$emit("confirm")
4191
4207
  }, {
4192
- default: V(() => [X("span", { textContent: z(e.$gettext("Save")) }, null, 8, iu)]),
4208
+ default: V(() => [X("span", { textContent: z(e.$gettext("Save")) }, null, 8, au)]),
4193
4209
  _: 1
4194
4210
  }, 8, ["disabled"])])]);
4195
4211
  }
4196
- var ou = /* @__PURE__ */ U(Ql, [["render", au]]), su = /* @__PURE__ */ function(e) {
4197
- return e[e.enter = 0] = "enter", e[e.exit = 1] = "exit", e;
4198
- }(su || {}), cu = class {
4212
+ var su = /* @__PURE__ */ U($l, [["render", ou]]), cu = class {
4199
4213
  state;
4200
4214
  observeEnter;
4201
4215
  observeExit;
@@ -4213,16 +4227,16 @@ var ou = /* @__PURE__ */ U(Ql, [["render", au]]), su = /* @__PURE__ */ function(
4213
4227
  element: t,
4214
4228
  unobserve: () => this.unobserve(e, t)
4215
4229
  };
4216
- e === su.enter && this.observeEnter && this.onEnter ? (this.onEnterCallCount++, this.onEnter({
4230
+ e === 0 && this.observeEnter && this.onEnter ? (this.onEnterCallCount++, this.onEnter({
4217
4231
  callCount: this.onEnterCallCount,
4218
4232
  ...n
4219
- })) : this.state === su.enter && e === su.exit && this.observeExit && this.onExit && (this.onExitCallCount++, this.onExit({
4233
+ })) : this.state === 0 && e === 1 && this.observeExit && this.onExit && (this.onExitCallCount++, this.onExit({
4220
4234
  callCount: this.onExitCallCount,
4221
4235
  ...n
4222
4236
  })), this.state = e;
4223
4237
  }
4224
4238
  unobserve(e, t) {
4225
- e === su.enter ? this.observeEnter = !1 : e === su.exit && (this.observeExit = !1), !this.observeEnter && !this.observeExit && this.unobserver(t);
4239
+ e === 0 ? this.observeEnter = !1 : e === 1 && (this.observeExit = !1), !this.observeEnter && !this.observeExit && this.unobserver(t);
4226
4240
  }
4227
4241
  }, lu = class {
4228
4242
  targets;
@@ -4250,7 +4264,7 @@ var ou = /* @__PURE__ */ U(Ql, [["render", au]]), su = /* @__PURE__ */ function(
4250
4264
  trigger(e) {
4251
4265
  e.forEach((e) => {
4252
4266
  let t = this.targets.get(e.target);
4253
- t && t.request(e.isIntersecting && e.intersectionRatio > t.threshold ? su.enter : su.exit, e.target);
4267
+ t && t.request(e.isIntersecting && e.intersectionRatio > t.threshold ? 0 : 1, e.target);
4254
4268
  });
4255
4269
  }
4256
4270
  }, uu = /* @__PURE__ */ A({
@@ -4264,7 +4278,7 @@ var ou = /* @__PURE__ */ U(Ql, [["render", au]]), su = /* @__PURE__ */ function(
4264
4278
  term: { default: "" }
4265
4279
  },
4266
4280
  setup(e) {
4267
- let t = new lu(), { triggerDefaultAction: n } = O(), { getMatchingSpace: r } = se(), { getDefaultAction: i } = O(), { loadPreview: a } = Bi(), o = ii("resourceListItem"), { getPathPrefix: s, getParentFolderName: c, getParentFolderLink: l, getParentFolderLinkIconAdditionalAttributes: u, getFolderLink: d } = zi(), f = fi(), p = W(), m = J(() => f.areFileExtensionsShown), h = J(() => ({
4281
+ let t = new lu(), { triggerDefaultAction: n } = O(), { getMatchingSpace: r } = se(), { getDefaultAction: i } = O(), { loadPreview: a } = Bi(), o = ai("resourceListItem"), { getPathPrefix: s, getParentFolderName: c, getParentFolderLink: l, getParentFolderLinkIconAdditionalAttributes: u, getFolderLink: d } = zi(), f = pi(), p = W(), m = J(() => f.areFileExtensionsShown), h = J(() => ({
4268
4282
  ...e.searchResult.data,
4269
4283
  ...q(p) && { thumbnail: q(p) }
4270
4284
  })), g = J(() => r(q(h))), _ = J(() => {
@@ -4303,7 +4317,7 @@ var ou = /* @__PURE__ */ U(Ql, [["render", au]]), su = /* @__PURE__ */ function(
4303
4317
  let e = await a({
4304
4318
  space: q(g),
4305
4319
  resource: q(h),
4306
- dimensions: Gn.Thumbnail,
4320
+ dimensions: Kn.Thumbnail,
4307
4321
  cancelRunning: !0,
4308
4322
  updateStore: !1
4309
4323
  });
@@ -4317,7 +4331,7 @@ var ou = /* @__PURE__ */ U(Ql, [["render", au]]), su = /* @__PURE__ */ function(
4317
4331
  });
4318
4332
  }), Ye(() => {
4319
4333
  t.disconnect();
4320
- }), (e, t) => (P(), H(Go, Sr({
4334
+ }), (e, t) => (P(), H(Go, Cr({
4321
4335
  ref_key: "resourceListItem",
4322
4336
  ref: o,
4323
4337
  resource: h.value,
@@ -4448,7 +4462,7 @@ var ou = /* @__PURE__ */ U(Ql, [["render", au]]), su = /* @__PURE__ */ function(
4448
4462
  };
4449
4463
  function _u(e, t, n, r, i, a) {
4450
4464
  let o = p("oc-icon"), s = p("oc-select");
4451
- return P(), L("div", fu, [R(s, Sr({
4465
+ return P(), L("div", fu, [R(s, Cr({
4452
4466
  ref: "select",
4453
4467
  "model-value": r.selectedOption,
4454
4468
  selectable: a.optionSelectable,
@@ -4466,7 +4480,7 @@ function _u(e, t, n, r, i, a) {
4466
4480
  class: "mr-1",
4467
4481
  size: "small"
4468
4482
  })) : Y("", !0), X("span", { textContent: z(t) }, null, 8, pu)]),
4469
- search: V(({ attributes: e, events: t }) => [X("input", Sr({ class: "vs__search" }, e, Gt(t, !0)), null, 16)]),
4483
+ search: V(({ attributes: e, events: t }) => [X("input", Cr({ class: "vs__search" }, e, Gt(t, !0)), null, 16)]),
4470
4484
  option: V(({ displayValue: e, error: t }) => [X("div", mu, [X("span", { textContent: z(e) }, null, 8, hu)]), t ? (P(), L("div", gu, z(t), 1)) : Y("", !0)]),
4471
4485
  _: 1
4472
4486
  }, 16, [
@@ -4492,7 +4506,7 @@ var vu = /* @__PURE__ */ U(du, [["render", _u]]), yu = {
4492
4506
  },
4493
4507
  emits: ["update:confirmDisabled"],
4494
4508
  setup(e, { expose: t, emit: n }) {
4495
- let r = n, { showMessage: i, showErrorMessage: a } = rt(), { $gettext: o, $ngettext: s } = Q(), c = di(), l = Hi(), u = Jr(), { spacesMaxQuota: d } = $($t()), { updateResourceField: f } = fi(), m = W(e.spaces[0]?.spaceQuota?.total || 0), h = (t) => e.resourceType === "space" ? s("Space quota was changed successfully", "Quota of %{count} spaces was changed successfully", t, { count: t.toString() }) : e.resourceType === "user" ? s("User quota was changed successfully", "Quota of %{count} users was changed successfully", t, { count: t.toString() }) : o("Quota was changed successfully"), g = (t) => e.resourceType === "space" ? s("Failed to change space quota", "Failed to change quota for %{count} spaces", t, { count: t.toString() }) : e.resourceType === "user" ? s("Failed to change user quota", "Failed to change quota for %{count} users", t, { count: t.toString() }) : o("Failed to change quota"), _ = J(() => !e.spaces.some((e) => e.spaceQuota.total !== q(m)));
4509
+ let r = n, { showMessage: i, showErrorMessage: a } = rt(), { $gettext: o, $ngettext: s } = Q(), c = fi(), l = Hi(), u = Yr(), { spacesMaxQuota: d } = $($t()), { updateResourceField: f } = pi(), m = W(e.spaces[0]?.spaceQuota?.total || 0), h = (t) => e.resourceType === "space" ? s("Space quota was changed successfully", "Quota of %{count} spaces was changed successfully", t, { count: t.toString() }) : e.resourceType === "user" ? s("User quota was changed successfully", "Quota of %{count} users was changed successfully", t, { count: t.toString() }) : o("Quota was changed successfully"), g = (t) => e.resourceType === "space" ? s("Failed to change space quota", "Failed to change quota for %{count} spaces", t, { count: t.toString() }) : e.resourceType === "user" ? s("Failed to change user quota", "Failed to change quota for %{count} users", t, { count: t.toString() }) : o("Failed to change quota"), _ = J(() => !e.spaces.some((e) => e.spaceQuota.total !== q(m)));
4496
4510
  F(_, () => {
4497
4511
  r("update:confirmDisabled", q(_));
4498
4512
  }, { immediate: !0 });
@@ -4537,7 +4551,7 @@ var vu = /* @__PURE__ */ U(du, [["render", _u]]), yu = {
4537
4551
  }, null, 8, ["total-quota", "max-quota"]), e.warningMessage ? (P(), L("div", yu, [X("span", {
4538
4552
  class: "oc-text-input-warning",
4539
4553
  textContent: z(e.warningMessage)
4540
- }, null, 8, bu), e.warningMessageContextualHelperData ? (P(), H(r, Sr({
4554
+ }, null, 8, bu), e.warningMessageContextualHelperData ? (P(), H(r, Cr({
4541
4555
  key: 0,
4542
4556
  class: "pl-1"
4543
4557
  }, e.warningMessageContextualHelperData), null, 16)) : Y("", !0)])) : Y("", !0)], 64);
@@ -4551,7 +4565,7 @@ var vu = /* @__PURE__ */ U(du, [["render", _u]]), yu = {
4551
4565
  file: {}
4552
4566
  },
4553
4567
  setup(e, { expose: t }) {
4554
- let { showMessage: n, showErrorMessage: r } = rt(), { $gettext: i } = Q(), a = di(), o = Jr(), { createDefaultMetaFolder: s } = dt(), { getDefaultMetaFolder: c } = we(), l = W(null), u = W(null);
4568
+ let { showMessage: n, showErrorMessage: r } = rt(), { $gettext: i } = Q(), a = fi(), o = Yr(), { createDefaultMetaFolder: s } = dt(), { getDefaultMetaFolder: c } = we(), l = W(null), u = W(null);
4555
4569
  t({ onConfirm: async () => {
4556
4570
  if (!q(l)) return;
4557
4571
  let e = await q(l).getCroppedCanvas();
@@ -4638,7 +4652,7 @@ var vu = /* @__PURE__ */ U(du, [["render", _u]]), yu = {
4638
4652
  },
4639
4653
  emits: ["selectionChange"],
4640
4654
  setup(e, { expose: t, emit: r }) {
4641
- let i = r, a = Hi(), o = b(), c = ii("filterInputRef"), l = W([]), u = W(e.items), d = ii("itemFilterListRef"), f = `q_${e.filterName}`, m = Fr(f), h = (t) => t[e.idAttribute], g = () => a.push({ query: {
4655
+ let i = r, a = Hi(), o = b(), c = ai("filterInputRef"), l = W([]), u = W(e.items), d = ai("itemFilterListRef"), f = `q_${e.filterName}`, m = Ir(f), h = (t) => t[e.idAttribute], g = () => a.push({ query: {
4642
4656
  ...Di(q(o).query, [f]),
4643
4657
  ...!!q(l).length && { [f]: q(l).reduce((e, t) => (e += `${h(t)}+`, e), "").slice(0, -1) }
4644
4658
  } }), _ = (e) => !!q(l).find((t) => h(t) === h(e)), v = async (t) => {
@@ -4664,7 +4678,7 @@ var vu = /* @__PURE__ */ U(du, [["render", _u]]), yu = {
4664
4678
  }));
4665
4679
  });
4666
4680
  let E = () => {
4667
- let t = jn(q(m));
4681
+ let t = Mn(q(m));
4668
4682
  if (t) {
4669
4683
  let n = t.split("+");
4670
4684
  l.value = e.items.filter((e) => n.includes(h(e)));
@@ -4681,7 +4695,7 @@ var vu = /* @__PURE__ */ U(du, [["render", _u]]), yu = {
4681
4695
  onClearFilter: S,
4682
4696
  onShowDrop: w
4683
4697
  }, {
4684
- default: V(() => [e.showOptionFilter && e.filterableAttributes.length ? (P(), H(q(lr), {
4698
+ default: V(() => [e.showOptionFilter && e.filterableAttributes.length ? (P(), H(q(ur), {
4685
4699
  key: 0,
4686
4700
  ref_key: "filterInputRef",
4687
4701
  ref: c,
@@ -4717,7 +4731,7 @@ var vu = /* @__PURE__ */ U(du, [["render", _u]]), yu = {
4717
4731
  "model-value": _(o),
4718
4732
  "label-hidden": !0,
4719
4733
  "onUpdate:modelValue": (e) => v(o),
4720
- onClick: n[1] ||= ir(() => {}, ["stop"])
4734
+ onClick: n[1] ||= ar(() => {}, ["stop"])
4721
4735
  }, null, 8, [
4722
4736
  "label",
4723
4737
  "model-value",
@@ -4759,12 +4773,12 @@ var vu = /* @__PURE__ */ U(du, [["render", _u]]), yu = {
4759
4773
  },
4760
4774
  emits: ["toggleFilter"],
4761
4775
  setup: function(e, { emit: t }) {
4762
- let n = Hi(), r = b(), i = W(!1), a = `q_${e.filterName}`, o = Fr(a), s = () => n.push({ query: {
4776
+ let n = Hi(), r = b(), i = W(!1), a = `q_${e.filterName}`, o = Ir(a), s = () => n.push({ query: {
4763
4777
  ...Di(q(r).query, [a]),
4764
4778
  ...q(i) && { [a]: "true" }
4765
4779
  } });
4766
4780
  return st(() => {
4767
- jn(q(o)) === "true" && (i.value = !0);
4781
+ Mn(q(o)) === "true" && (i.value = !0);
4768
4782
  }), {
4769
4783
  queryParam: a,
4770
4784
  filterActive: i,
@@ -4892,9 +4906,9 @@ var zu = /* @__PURE__ */ U(Au, [["render", Ru]]), Bu = A({
4892
4906
  a.value = e.currentProgress;
4893
4907
  };
4894
4908
  return st(() => {
4895
- t = S.subscribe(jr.add, o), n = S.subscribe(jr.remove, o), r = S.subscribe(jr.setProgress, s);
4909
+ t = S.subscribe(Mr.add, o), n = S.subscribe(Mr.remove, o), r = S.subscribe(Mr.setProgress, s);
4896
4910
  }), Ye(() => {
4897
- S.unsubscribe(jr.add, t), S.unsubscribe(jr.remove, n), S.unsubscribe(jr.setProgress, r);
4911
+ S.unsubscribe(Mr.add, t), S.unsubscribe(Mr.remove, n), S.unsubscribe(Mr.setProgress, r);
4898
4912
  }), {
4899
4913
  isLoading: i,
4900
4914
  currentProgress: a
@@ -4986,7 +5000,7 @@ var Xu = /* @__PURE__ */ U(Ju, [["render", Yu]]), Zu = A({
4986
5000
  } },
4987
5001
  emits: ["update:modelValue"],
4988
5002
  setup(e, { emit: t }) {
4989
- let { $gettext: n } = Q(), r = Fr("useScope"), i = W(), a = W(), o = J(() => n(i.value?.title)), s = J(() => [{
5003
+ let { $gettext: n } = Q(), r = Ir("useScope"), i = W(), a = W(), o = J(() => n(i.value?.title)), s = J(() => [{
4990
5004
  id: ke.currentFolder,
4991
5005
  title: n("Current folder"),
4992
5006
  enabled: e.currentFolderAvailable
@@ -5031,7 +5045,7 @@ function ed(e, t, n, r, i, a) {
5031
5045
  return P(), L("div", {
5032
5046
  class: "z-[var(--z-index-modal)] absolute top-[50%] transform-[translateY(-50%)] right-0 ml-4 mb-4 mt-0 mr-[34px] float-right",
5033
5047
  "data-testid": "search-bar-filter",
5034
- onClick: t[0] ||= ir(() => {}, ["stop"])
5048
+ onClick: t[0] ||= ar(() => {}, ["stop"])
5035
5049
  }, [e.currentSelection ? (P(), L("div", Qu, [R(l, {
5036
5050
  "is-toggle": !1,
5037
5051
  "is-toggle-active": !1,
@@ -5085,7 +5099,7 @@ var td = /* @__PURE__ */ U(Zu, [["render", ed]]), nd = 7, rd = 200, id = A({
5085
5099
  },
5086
5100
  emits: ["update:confirmDisabled"],
5087
5101
  setup(e, { emit: t, expose: n }) {
5088
- let r = di(), { $gettext: i } = Q(), { showMessage: a, showErrorMessage: o } = rt(), c = Hi(), { search: l } = ci(), { getPathPrefix: u, getParentFolderName: d, getParentFolderLink: f, getParentFolderLinkIconAdditionalAttributes: p, getFolderLink: m } = zi(), h = fi(), { resources: g, currentFolder: _ } = $(h), v = ii("dropRef"), y = W(""), b = W(""), x = W(null), S = W(null), C = W(!1), w, T = (e) => {
5102
+ let r = fi(), { $gettext: i } = Q(), { showMessage: a, showErrorMessage: o } = rt(), c = Hi(), { search: l } = li(), { getPathPrefix: u, getParentFolderName: d, getParentFolderLink: f, getParentFolderLinkIconAdditionalAttributes: p, getFolderLink: m } = zi(), h = pi(), { resources: g, currentFolder: _ } = $(h), v = ai("dropRef"), y = W(""), b = W(""), x = W(null), S = W(null), C = W(!1), w, T = (e) => {
5089
5103
  let t = e.trim();
5090
5104
  return te(t) ? t : `https://${t}`;
5091
5105
  }, E = J(() => T(q(y))), D = J(() => !!q(g).find((e) => e.name === `${q(b)}.url`)), ee = J(() => q(D) || !q(b) || !q(y));
@@ -5103,12 +5117,12 @@ var td = /* @__PURE__ */ U(Zu, [["render", ed]]), nd = 7, rd = 200, id = A({
5103
5117
  x.value = null, y.value = q(E);
5104
5118
  try {
5105
5119
  let e = new URL(q(E)).host;
5106
- q(g).some((t) => t.name === `${e}.url`) && (e = ur(`${e}.url`, "url", q(g)).slice(0, -4)), b.value = e;
5120
+ q(g).some((t) => t.name === `${e}.url`) && (e = dr(`${e}.url`, "url", q(g)).slice(0, -4)), b.value = e;
5107
5121
  } catch {}
5108
5122
  }, ne = (e) => {
5109
5123
  x.value = null;
5110
5124
  let t = new URL(window.location.href), n = e.data.name;
5111
- y.value = `${t.origin}/f/${e.id}`, q(g).some((e) => e.name === `${n}.url`) && (n = ur(`${n}.url`, "url", q(g)).slice(0, -4)), b.value = n;
5125
+ y.value = `${t.origin}/f/${e.id}`, q(g).some((e) => e.name === `${n}.url`) && (n = dr(`${n}.url`, "url", q(g)).slice(0, -4)), b.value = n;
5112
5126
  }, M = (e) => q(S) === e, re = (e = !1) => {
5113
5127
  let t = Array.from(document.querySelectorAll("li.selectable-item")), n = q(S) === null ? e ? t.length : -1 : q(S), r = e ? -1 : 1;
5114
5128
  do
@@ -5134,7 +5148,7 @@ var td = /* @__PURE__ */ U(Zu, [["render", ed]]), nd = 7, rd = 200, id = A({
5134
5148
  q(v).hide();
5135
5149
  return;
5136
5150
  }
5137
- q(v).show({ noFocus: !0 }), _r(c, "files-public-link") || A();
5151
+ q(v).show({ noFocus: !0 }), vr(c, "files-public-link") || A();
5138
5152
  }, de = async () => {
5139
5153
  try {
5140
5154
  let t = `[InternetShortcut]\nURL=${za.sanitize(T(q(y)), { USE_PROFILES: { html: !0 } })}`, n = Ta(q(_).path, `${q(b)}.url`), o = await r.webdav.putFileContents(e.space, {
@@ -5206,10 +5220,10 @@ function md(e, t, n, r, i, a) {
5206
5220
  placeholder: "example.org",
5207
5221
  label: e.$gettext("Webpage or file"),
5208
5222
  onKeydown: [
5209
- Pr(e.onKeyUpDrop, ["up"]),
5210
- Pr(e.onKeyDownDrop, ["down"]),
5211
- Pr(e.onKeyEscDrop, ["esc"]),
5212
- Pr(e.onKeyEnterDrop, ["enter"])
5223
+ Fr(e.onKeyUpDrop, ["up"]),
5224
+ Fr(e.onKeyDownDrop, ["down"]),
5225
+ Fr(e.onKeyEscDrop, ["esc"]),
5226
+ Fr(e.onKeyEnterDrop, ["enter"])
5213
5227
  ],
5214
5228
  onClick: e.onClickUrlInput
5215
5229
  }, {
@@ -5318,7 +5332,7 @@ var hd = /* @__PURE__ */ U(id, [["render", md]]), gd = { class: "flex justify-be
5318
5332
  },
5319
5333
  emits: ["cancel", "confirm"],
5320
5334
  setup(e, { expose: t }) {
5321
- let n = di(), { $gettext: r } = Q(), { removeModal: i } = ei(), { copyLink: a } = f(), o = ot(), { isEnabled: s, postMessage: c } = Hr(), { defaultLinkType: l, getAvailableLinkTypes: u, getLinkRoleByType: d, isPasswordEnforcedForLinkType: m } = na(), { addLink: h } = Mn(), { currentTheme: g } = $(Rn()), _ = W(!1), v = W(!1), y = J(() => e.resources.every(({ isFolder: e }) => e)), b = J(() => q(s) ? r("Share link(s)") : r("Copy link")), x = J(() => q(s) ? r("Share link(s) and password(s)") : r("Copy link and password")), S = W(ja()), C = W({}), w = W(), T = pt({
5335
+ let n = fi(), { $gettext: r } = Q(), { removeModal: i } = ti(), { copyLink: a } = f(), o = ot(), { isEnabled: s, postMessage: c } = Ur(), { defaultLinkType: l, getAvailableLinkTypes: u, getLinkRoleByType: d, isPasswordEnforcedForLinkType: m } = na(), { addLink: h } = Nn(), { currentTheme: g } = $(zn()), _ = W(!1), v = W(!1), y = J(() => e.resources.every(({ isFolder: e }) => e)), b = J(() => q(s) ? r("Share link(s)") : r("Copy link")), x = J(() => q(s) ? r("Share link(s) and password(s)") : r("Copy link and password")), S = W(ja()), C = W({}), w = W(), T = pt({
5322
5336
  value: "",
5323
5337
  error: void 0
5324
5338
  }), E = W(q(l)), D = J(() => r(d(q(E)).description)), ee = J(() => r(d(q(E)).displayName)), O = J(() => d(q(E)).icon), k = J(() => u({ isFolder: q(y) })), A = J(() => m(q(E))), te = o.getPolicy({ enforcePassword: q(A) }), j = () => {
@@ -5336,7 +5350,7 @@ var hd = /* @__PURE__ */ U(id, [["render", md]]), gd = { class: "flex justify-be
5336
5350
  expirationDateTime: q(w)?.toISO(),
5337
5351
  displayName: r("Unnamed link")
5338
5352
  }
5339
- }))), re = J(() => te.check(q(T).value)), N = J(() => !q(re) || q(v)), ie = async () => {
5353
+ }))), re = J(() => te.check(q(T).value)), N = J(() => !q(re) || q(v) || e.modal.isLoading), ie = async () => {
5340
5354
  let e = await M(), t = [], n = e.filter(lt);
5341
5355
  return n.length && n.map(({ reason: e }) => e).forEach((e) => {
5342
5356
  if (console.error(e), e.response?.status === 400) {
@@ -5388,7 +5402,7 @@ var hd = /* @__PURE__ */ U(id, [["render", md]]), gd = { class: "flex justify-be
5388
5402
  }, null, 8, bd), X("span", {
5389
5403
  class: "text-sm",
5390
5404
  textContent: z(D.value)
5391
- }, null, 8, xd)])])), _.value ? Y("", !0) : (P(), H(q(An), {
5405
+ }, null, 8, xd)])])), _.value ? Y("", !0) : (P(), H(q(jn), {
5392
5406
  key: 2,
5393
5407
  class: "link-modal-advanced-mode-button",
5394
5408
  "gap-size": "xsmall",
@@ -5433,7 +5447,7 @@ var hd = /* @__PURE__ */ U(id, [["render", md]]), gd = { class: "flex justify-be
5433
5447
  "is-dark"
5434
5448
  ])) : Y("", !0)]),
5435
5449
  X("div", Dd, [X("div", { class: K(["ml-2", { "oc-button-group": T.value }]) }, [
5436
- R(q(An), {
5450
+ R(q(jn), {
5437
5451
  class: "link-modal-confirm oc-modal-body-actions-confirm",
5438
5452
  appearance: "filled",
5439
5453
  disabled: N.value,
@@ -5442,7 +5456,7 @@ var hd = /* @__PURE__ */ U(id, [["render", md]]), gd = { class: "flex justify-be
5442
5456
  default: V(() => [Vi(z(b.value), 1)]),
5443
5457
  _: 1
5444
5458
  }, 8, ["disabled"]),
5445
- T.value ? (P(), H(q(An), {
5459
+ T.value ? (P(), H(q(jn), {
5446
5460
  key: 0,
5447
5461
  class: "link-modal-confirm oc-modal-body-actions-confirm-secondary-trigger p-1",
5448
5462
  appearance: "filled",
@@ -5465,7 +5479,7 @@ var hd = /* @__PURE__ */ U(id, [["render", md]]), gd = { class: "flex justify-be
5465
5479
  "close-on-click": ""
5466
5480
  }, {
5467
5481
  default: V(() => [R(o, null, {
5468
- default: V(() => [X("li", null, [R(q(An), {
5482
+ default: V(() => [X("li", null, [R(q(jn), {
5469
5483
  class: "oc-modal-body-actions-confirm-password",
5470
5484
  appearance: "raw",
5471
5485
  "justify-content": "left",
@@ -5491,12 +5505,12 @@ var hd = /* @__PURE__ */ U(id, [["render", md]]), gd = { class: "flex justify-be
5491
5505
  }, Pd = ["textContent"], Fd = ["textContent"], Id = ["textContent"], Ld = /* @__PURE__ */ A({
5492
5506
  __name: "VersionCheck",
5493
5507
  setup(e) {
5494
- let { $gettext: t } = Q(), n = $t(), r = qn(), i = _t(), { setHasError: a } = i, o = n.capabilities.core["check-for-updates"], { updates: s, isLoading: c, hasError: l } = $(i), u = J(() => o && !q(l)), d = W(!1), f = W(), m = n.status.edition || "rolling", h = n.status.productversion.split("+")[0], g = J(() => q(f)?.critical.includes(h) && r.can("read-all", "Setting"));
5508
+ let { $gettext: t } = Q(), n = $t(), r = Jn(), i = _t(), { setHasError: a } = i, o = n.capabilities.core["check-for-updates"], { updates: s, isLoading: c, hasError: l } = $(i), u = J(() => o && !q(l)), d = W(!1), f = W(), m = n.status.edition || "rolling", h = n.status.productversion.split("+")[0], g = J(() => q(f)?.critical.includes(h) && r.can("read-all", "Setting"));
5495
5509
  return F(() => s, () => {
5496
5510
  if (q(s)) try {
5497
5511
  f.value = q(s).channels[m];
5498
5512
  let e = q(s).channels[m].current_version;
5499
- Tr(e, h) > 0 && (d.value = !0);
5513
+ Er(e, h) > 0 && (d.value = !0);
5500
5514
  } catch (e) {
5501
5515
  console.error(e), a(!0);
5502
5516
  }
@@ -5544,4 +5558,4 @@ var hd = /* @__PURE__ */ U(id, [["render", md]]), gd = { class: "flex justify-be
5544
5558
  };
5545
5559
  }
5546
5560
  }), Rd = Qe.dirname;
5547
- export { Me as $gettext, e as AVATAR_UPLOAD_MAX_FILE_SIZE_MB, er as AccountCapabilitiesSchema, gn as AccountSchema, Li as AccountsSchema, vl as AccountsSwitch, eo as ActionMenuDropItem, Ka as ActionMenuItem, oe as ApiError, Ao as AppBar, Xi as AppLoadingSpinner, Be as AppProviderService, Zo as AppTopBar, Zs as AppWrapper, Qs as AppWrapperRoute, it as ArchiverService, ne as Auth, yc as AvatarUpload, Ya as BatchActions, an as Cache, Wi as ClientService, ht as ClipboardActions, ou as CompareSaveDialog, bn as ConflictDialog, io as ContextActionMenu, so as ContextActions, $s as ContextMenuQuickAction, kd as CreateLinkModal, hd as CreateShortcutModal, kl as CustomComponentTarget, rl as DateFilter, Ds as DatePickerModal, As as EmojiPickerModal, Et as EventBus, Ss as FileInfo, kn as FilePickerModal, Cs as FileSideBar, _n as FolderLoaderFavorites, tr as FolderLoaderSharedViaLink, sr as FolderLoaderSharedWithMe, Lr as FolderLoaderSharedWithOthers, Ri as FolderLoaderSpace, ti as FolderLoaderTrashbin, zn as FolderService, xr as FolderViewModeConstants, jt as HttpClient, $i as IdentitySchema, Gn as ImageDimension, Oi as ImageType, Eu as ItemFilter, sl as ItemFilterInline, ku as ItemFilterToggle, Mr as Key, Dn as LimitsSchema, zu as LinkRoleDropdown, jr as LoadingEventTopics, Uu as LoadingIndicator, Ni as LoadingService, Ji as MailCapabilitiesSchema, xt as MimeTypesToAppsSchema, Pi as Modifier, qu as NoContentMessage, Xu as Pagination, be as PaginationConstants, Cn as PasswordPolicyService, bi as PreviewService, Tt as PrimaryAccountsSchema, Yr as ProcessorType, xu as QuotaModal, vu as QuotaSelect, Wr as RESOURCE_MAX_CHARACTER_LENGTH, hi as RESOURCE_NAME_MAX_BYTES, gt as RawConfigSchema, x as RawGroupwareConfigSchema, Ci as ResolveStrategy, Kr as ResourceConflictModal, sc as ResourceGhostElement, jo as ResourceIcon, Fo as ResourceLink, Go as ResourceListItem, Ho as ResourceName, uu as ResourcePreview, dc as ResourceSize, Dc as ResourceTable, Rc as ResourceTile, Wc as ResourceTiles, Vn as ResourceTransfer, Ce as RuntimeError, cr as SaveAsModal, td as SearchBarFilter, ke as SearchLocationFilterConstants, ms as SideBar, ps as SideBarPanels, Ui as SieveCapabilitiesSchema, Zr as SortConstants, Vl as SpaceDetails, Gl as SpaceDetailsMultiple, Su as SpaceImageModal, _s as SpaceInfo, _i as SpaceMoveInfoModal, Zl as SpaceNoSelection, xl as SpaceQuota, Ar as ThemeConfig, Br as TransferType, Is as UnsavedChangesModal, Ur as UppyService, pc as UserAvatar, Ld as VersionCheck, xo as ViewOptions, lu as VisibilityObserver, Ol as WebDavDetails, Mi as WebThemeConfig, qi as activeApp, te as authContextValues, Se as blobToArrayBuffer, r as breadcrumbsFromPath, Ve as buildRoutes, Qi as buildUrl, ee as cacheService, bt as canBeMoved, ze as canvasToBlob, In as cloneStateObject, Tr as compareVersions, Wn as concatBreadcrumbs, dr as contextQueryToFileContextProps, xn as contextRouteNameKey, qr as contextRouteParamsKey, vi as contextRouteQueryKey, mi as convertToMinimalUppyFile, Zt as createDefaultFileIconMapping, En as createFileRouteOptions, mr as createFolderDummyFile, Kt as createLocation, ge as createLocationCommon, c as createLocationPublic, ct as createLocationShares, ra as createLocationSpaces, nt as createLocationTrash, wr as createVirtualCursorElement, n as defaultFuseOptions, Ba as defineWebApplication, ve as determineResourceTableSortFields, aa as determineResourceTilesSortFields, Rd as dirname, Ke as encodePath, S as eventBus, jl as extensionPoints, Al as fileSideBarSpaceDetailsTableExtensionPoint, mt as filterResources, fe as focusCheckbox, Xn as folderService, Vt as formatDateFromDateTime, _e as formatDateFromHTTP, Ft as formatDateFromISO, qt as formatDateFromJSDate, de as formatDateFromRFC, h as formatFileSize, Ne as formatRelativeDateFromDateTime, oi as formatRelativeDateFromHTTP, De as formatRelativeDateFromISO, rn as formatRelativeDateFromJSDate, Qt as formatRelativeDateFromRFC, l as getBackendVersion, Ie as getExtensionNavItems, un as getLocaleFromLanguage, ia as getParentPaths, si as getSharedAncestorRoute, Oe as getSharedDriveItem, fr as getSpacesByType, Ge as getTextByteSize, vr as getWebVersion, nn as isItemInCurrentFolder, St as isLocationActive, ue as isLocationActiveDirector, Pt as isLocationCommonActive, _r as isLocationPublicActive, ie as isLocationSharesActive, m as isLocationSpacesActive, Cr as isLocationTrashActive, ae as isMacOs, Ze as isPromiseFulfilled, lt as isPromiseRejected, ui as isResourceBeeingMovedToSameLocation, Ai as isSameResource, We as locationPublicLink, Xe as locationPublicUpload, xe as locationSharesViaLink, Re as locationSharesWithMe, yt as locationSharesWithOthers, Bt as locationSpacesGeneric, yr as objectKeys, u as parseVersion, jn as queryItemAsString, Ee as renameResource, ur as resolveFileNameDuplicate, ln as resourceIconMappingInjectionKey, kr as routeToContextQuery, Pe as setCurrentUserShareSpacePermissions, g as sortFields, Fn as sortHelper, Sn as sortSpaceMembers, Ht as translateSortFields, ut as triggerDownloadWithFilename, qn as useAbility, tn as useActionsShowDetails, wt as useActiveApp, Ln as useActiveLocation, E as useAppConfig, oa as useAppDefaults, en as useAppFileHandling, Fe as useAppFolderHandling, pe as useAppMeta, ji as useAppNavigation, ce as useAppProviderService, Vr as useAppsStore, Wt as useArchiverService, on as useAuthService, Hn as useAuthStore, dn as useAvatarsStore, Nt as useBreadcrumbsFromPath, He as useCanBeOpenedWithSecureView, rr as useCanListShares, gr as useCanListVersions, Nr as useCanShare, $t as useCapabilityStore, di as useClientService, D as useClipboardStore, i as useConfigStore, f as useCopyLink, dt as useCreateSpace, xi as useCropperKeyboardActions, br as useDeleteWorker, Lt as useDocumentTitle, Mt as useDownloadFile, _ as useDriveResolver, Hr as useEmbedMode, Yt as useEventBus, j as useExtensionPreferencesStore, At as useExtensionRegistry, Zn as useFileActionFallbackToDownload, O as useFileActions, M as useFileActionsDelete, Xr as useFileActionsDeleteResources, Gi as useFileActionsDownloadFile, C as useFileActionsNavigate, vn as useFileActionsOpenWithApp, Dt as useFileActionsOpenWithDefault, nr as useFileActionsRestore, Rr as useFileActionsSaveAs, ni as useFileActionsUndoDelete, me as useFileListHeaderPosition, Ii as useFileRouteReplace, zi as useFolderLink, se as useGetMatchingSpace, o as useGetResourceContext, or as useGroupwareAccountsStore, Ir as useGroupwareConfigStore, Pn as useInterceptModifierClick, wn as useIsAppActive, hr as useIsFilesAppActive, ft as useIsResourceNameValid, sn as useIsSearchActive, Rt as useIsTopBarSticky, Bn as useKeyboardActions, na as useLinkTypes, Dr as useLoadAvatars, Bi as useLoadPreview, $e as useLoadingService, $r as useLocalStorage, rt as useMessages, ei as useModals, vt as useNavItems, Te as useOpenEmptyEditor, ri as useOpenWithDefaultApp, re as usePagination, ot as usePasswordPolicyService, d as usePasteWorker, Je as usePreviewService, ye as useRequest, qe as useRequestHeaders, v as useResourceContents, Ct as useResourceIndicators, ta as useResourceRouteResolver, Ki as useResourceViewContextMenu, Tn as useResourceViewDrag, Fi as useResourceViewHelpers, Zi as useResourceViewSelection, fi as useResourcesStore, Er as useRestoreWorker, b as useRoute, $n as useRouteMeta, hn as useRouteName, ar as useRouteParam, Fr as useRouteQuery, Jn as useRouteQueryPersisted, Hi as useRouter, pn as useScrollTo, ci as useSearch, Qn as useSelectedResources, kt as useService, Mn as useSharesStore, a as useSideBar, Kn as useSort, Xt as useSpaceActionsCreate, we as useSpaceHelpers, Ut as useSpacesLoading, Jr as useSpacesStore, Rn as useThemeStore, et as useTileSize, at as useTokenTimerWorker, _t as useUpdatesStore, ki as useUpload, Yn as useUserStore, Ot as useViewMode, k as useViewSize, w as useViewSizeMax, fn as useWebWorkersStore, Ae as useWindowOpen, wi as webFingerResponseSchema };
5561
+ export { Me as $gettext, e as AVATAR_UPLOAD_MAX_FILE_SIZE_MB, tr as AccountCapabilitiesSchema, gn as AccountSchema, Li as AccountsSchema, yl as AccountsSwitch, eo as ActionMenuDropItem, Ka as ActionMenuItem, oe as ApiError, Ao as AppBar, Xi as AppLoadingSpinner, Be as AppProviderService, Zo as AppTopBar, Zs as AppWrapper, Qs as AppWrapperRoute, it as ArchiverService, ne as Auth, yc as AvatarUpload, Ya as BatchActions, an as Cache, Wi as ClientService, ht as ClipboardActions, su as CompareSaveDialog, bn as ConflictDialog, io as ContextActionMenu, so as ContextActions, $s as ContextMenuQuickAction, kd as CreateLinkModal, hd as CreateShortcutModal, Al as CustomComponentTarget, il as DateFilter, Ds as DatePickerModal, As as EmojiPickerModal, Et as EventBus, Ss as FileInfo, An as FilePickerModal, Cs as FileSideBar, _n as FolderLoaderFavorites, nr as FolderLoaderSharedViaLink, cr as FolderLoaderSharedWithMe, Rr as FolderLoaderSharedWithOthers, Ri as FolderLoaderSpace, ni as FolderLoaderTrashbin, Bn as FolderService, Sr as FolderViewModeConstants, jt as HttpClient, $i as IdentitySchema, Kn as ImageDimension, Oi as ImageType, Eu as ItemFilter, cl as ItemFilterInline, ku as ItemFilterToggle, Nr as Key, On as LimitsSchema, zu as LinkRoleDropdown, Mr as LoadingEventTopics, Uu as LoadingIndicator, Ni as LoadingService, Ji as MailCapabilitiesSchema, xt as MimeTypesToAppsSchema, Pi as Modifier, qu as NoContentMessage, Xu as Pagination, be as PaginationConstants, wn as PasswordPolicyService, bi as PreviewService, Tt as PrimaryAccountsSchema, Xr as ProcessorType, xu as QuotaModal, vu as QuotaSelect, Gr as RESOURCE_MAX_CHARACTER_LENGTH, hi as RESOURCE_NAME_MAX_BYTES, gt as RawConfigSchema, x as RawGroupwareConfigSchema, Ci as ResolveStrategy, qr as ResourceConflictModal, sc as ResourceGhostElement, jo as ResourceIcon, Fo as ResourceLink, Go as ResourceListItem, Ho as ResourceName, uu as ResourcePreview, dc as ResourceSize, Oc as ResourceTable, zc as ResourceTile, Gc as ResourceTiles, Hn as ResourceTransfer, Ce as RuntimeError, lr as SaveAsModal, td as SearchBarFilter, ke as SearchLocationFilterConstants, ms as SideBar, ps as SideBarPanels, Ui as SieveCapabilitiesSchema, Qr as SortConstants, Hl as SpaceDetails, Kl as SpaceDetailsMultiple, Su as SpaceImageModal, _s as SpaceInfo, _i as SpaceMoveInfoModal, Ql as SpaceNoSelection, Sl as SpaceQuota, jr as ThemeConfig, Vr as TransferType, Is as UnsavedChangesModal, Wr as UppyService, pc as UserAvatar, Ld as VersionCheck, xo as ViewOptions, lu as VisibilityObserver, kl as WebDavDetails, Mi as WebThemeConfig, qi as activeApp, te as authContextValues, Se as blobToArrayBuffer, r as breadcrumbsFromPath, Ve as buildRoutes, Qi as buildUrl, ee as cacheService, bt as canBeMoved, ze as canvasToBlob, Ln as cloneStateObject, Er as compareVersions, Gn as concatBreadcrumbs, fr as contextQueryToFileContextProps, xn as contextRouteNameKey, Jr as contextRouteParamsKey, vi as contextRouteQueryKey, mi as convertToMinimalUppyFile, Zt as createDefaultFileIconMapping, Dn as createFileRouteOptions, hr as createFolderDummyFile, Kt as createLocation, ge as createLocationCommon, c as createLocationPublic, ct as createLocationShares, ra as createLocationSpaces, nt as createLocationTrash, Tr as createVirtualCursorElement, n as defaultFuseOptions, Ba as defineWebApplication, ve as determineResourceTableSortFields, aa as determineResourceTilesSortFields, Rd as dirname, Ke as encodePath, S as eventBus, Ml as extensionPoints, jl as fileSideBarSpaceDetailsTableExtensionPoint, mt as filterResources, fe as focusCheckbox, Zn as folderService, Vt as formatDateFromDateTime, _e as formatDateFromHTTP, Ft as formatDateFromISO, qt as formatDateFromJSDate, de as formatDateFromRFC, h as formatFileSize, Ne as formatRelativeDateFromDateTime, si as formatRelativeDateFromHTTP, De as formatRelativeDateFromISO, rn as formatRelativeDateFromJSDate, Qt as formatRelativeDateFromRFC, l as getBackendVersion, Ie as getExtensionNavItems, un as getLocaleFromLanguage, ia as getParentPaths, ci as getSharedAncestorRoute, Oe as getSharedDriveItem, pr as getSpacesByType, Ge as getTextByteSize, yr as getWebVersion, nn as isItemInCurrentFolder, St as isLocationActive, ue as isLocationActiveDirector, Pt as isLocationCommonActive, vr as isLocationPublicActive, ie as isLocationSharesActive, m as isLocationSpacesActive, wr as isLocationTrashActive, ae as isMacOs, Ze as isPromiseFulfilled, lt as isPromiseRejected, di as isResourceBeeingMovedToSameLocation, Ai as isSameResource, We as locationPublicLink, Xe as locationPublicUpload, xe as locationSharesViaLink, Re as locationSharesWithMe, yt as locationSharesWithOthers, Bt as locationSpacesGeneric, br as objectKeys, u as parseVersion, Mn as queryItemAsString, Ee as renameResource, dr as resolveFileNameDuplicate, ln as resourceIconMappingInjectionKey, Ar as routeToContextQuery, Pe as setCurrentUserShareSpacePermissions, g as sortFields, In as sortHelper, Sn as sortSpaceMembers, Ht as translateSortFields, ut as triggerDownloadWithFilename, Jn as useAbility, tn as useActionsShowDetails, wt as useActiveApp, Rn as useActiveLocation, E as useAppConfig, oa as useAppDefaults, en as useAppFileHandling, Fe as useAppFolderHandling, pe as useAppMeta, ji as useAppNavigation, ce as useAppProviderService, Hr as useAppsStore, Wt as useArchiverService, on as useAuthService, Un as useAuthStore, dn as useAvatarsStore, Nt as useBreadcrumbsFromPath, He as useCanBeOpenedWithSecureView, ir as useCanListShares, _r as useCanListVersions, Pr as useCanShare, $t as useCapabilityStore, fi as useClientService, D as useClipboardStore, i as useConfigStore, f as useCopyLink, dt as useCreateSpace, xi as useCropperKeyboardActions, xr as useDeleteWorker, Lt as useDocumentTitle, Mt as useDownloadFile, _ as useDriveResolver, Ur as useEmbedMode, Yt as useEventBus, j as useExtensionPreferencesStore, At as useExtensionRegistry, Qn as useFileActionFallbackToDownload, O as useFileActions, M as useFileActionsDelete, Zr as useFileActionsDeleteResources, Gi as useFileActionsDownloadFile, C as useFileActionsNavigate, vn as useFileActionsOpenWithApp, Dt as useFileActionsOpenWithDefault, rr as useFileActionsRestore, zr as useFileActionsSaveAs, ri as useFileActionsUndoDelete, me as useFileListHeaderPosition, Ii as useFileRouteReplace, zi as useFolderLink, se as useGetMatchingSpace, o as useGetResourceContext, sr as useGroupwareAccountsStore, Lr as useGroupwareConfigStore, Fn as useInterceptModifierClick, Tn as useIsAppActive, gr as useIsFilesAppActive, ft as useIsResourceNameValid, sn as useIsSearchActive, Rt as useIsTopBarSticky, Vn as useKeyboardActions, na as useLinkTypes, Or as useLoadAvatars, Bi as useLoadPreview, $e as useLoadingService, ei as useLocalStorage, rt as useMessages, ti as useModals, vt as useNavItems, Te as useOpenEmptyEditor, ii as useOpenWithDefaultApp, re as usePagination, ot as usePasswordPolicyService, d as usePasteWorker, Je as usePreviewService, ye as useRequest, qe as useRequestHeaders, v as useResourceContents, Ct as useResourceIndicators, ta as useResourceRouteResolver, Ki as useResourceViewContextMenu, En as useResourceViewDrag, Fi as useResourceViewHelpers, Zi as useResourceViewSelection, pi as useResourcesStore, Dr as useRestoreWorker, b as useRoute, er as useRouteMeta, hn as useRouteName, or as useRouteParam, Ir as useRouteQuery, Yn as useRouteQueryPersisted, Hi as useRouter, pn as useScrollTo, li as useSearch, $n as useSelectedResources, kt as useService, Nn as useSharesStore, a as useSideBar, qn as useSort, Xt as useSpaceActionsCreate, we as useSpaceHelpers, Ut as useSpacesLoading, Yr as useSpacesStore, zn as useThemeStore, et as useTileSize, at as useTokenTimerWorker, _t as useUpdatesStore, ki as useUpload, Xn as useUserStore, Ot as useViewMode, k as useViewSize, w as useViewSizeMax, fn as useWebWorkersStore, Ae as useWindowOpen, wi as webFingerResponseSchema };