@brftech/filex 0.41.4 → 0.42.0

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.
Files changed (24) hide show
  1. package/dist/{ArchiveViewer-BF-5G3Db.js → ArchiveViewer-WzjW-K4A.js} +2 -2
  2. package/dist/{ArchiveViewer-BF-5G3Db.js.map → ArchiveViewer-WzjW-K4A.js.map} +1 -1
  3. package/dist/{CsvViewer-CLcVmcFa.js → CsvViewer-CPaLWbHw.js} +2 -2
  4. package/dist/{CsvViewer-CLcVmcFa.js.map → CsvViewer-CPaLWbHw.js.map} +1 -1
  5. package/dist/{DrawioViewer-DC4Ttxv9.js → DrawioViewer-DaYAzq-6.js} +2 -2
  6. package/dist/{DrawioViewer-DC4Ttxv9.js.map → DrawioViewer-DaYAzq-6.js.map} +1 -1
  7. package/dist/{EpubViewer-BKNoqUb4.js → EpubViewer-DyLqGSrv.js} +2 -2
  8. package/dist/{EpubViewer-BKNoqUb4.js.map → EpubViewer-DyLqGSrv.js.map} +1 -1
  9. package/dist/{IpynbViewer-BNZFlc7Q.js → IpynbViewer-BY2mIHrI.js} +2 -2
  10. package/dist/{IpynbViewer-BNZFlc7Q.js.map → IpynbViewer-BY2mIHrI.js.map} +1 -1
  11. package/dist/{MermaidViewer-BBP5FZww.js → MermaidViewer-CI7am2Hz.js} +2 -2
  12. package/dist/{MermaidViewer-BBP5FZww.js.map → MermaidViewer-CI7am2Hz.js.map} +1 -1
  13. package/dist/{PsdViewer-D79Wq5aM.js → PsdViewer-Dio_2vHK.js} +2 -2
  14. package/dist/{PsdViewer-D79Wq5aM.js.map → PsdViewer-Dio_2vHK.js.map} +1 -1
  15. package/dist/{TiffViewer-Du2HUrfR.js → TiffViewer-DUCsLKeR.js} +2 -2
  16. package/dist/{TiffViewer-Du2HUrfR.js.map → TiffViewer-DUCsLKeR.js.map} +1 -1
  17. package/dist/{Viewer3D-Cn1kOUXj.js → Viewer3D-Be9e3gLf.js} +2 -2
  18. package/dist/{Viewer3D-Cn1kOUXj.js.map → Viewer3D-Be9e3gLf.js.map} +1 -1
  19. package/dist/filex.js +1 -1
  20. package/dist/filex.umd.cjs +17 -17
  21. package/dist/filex.umd.cjs.map +1 -1
  22. package/dist/{index-CN14lShK.js → index-CglojTSb.js} +130 -115
  23. package/dist/{index-CN14lShK.js.map → index-CglojTSb.js.map} +1 -1
  24. package/package.json +2 -2
@@ -496,7 +496,7 @@ function Sn(e, t, a, o, n, r) {
496
496
  }
497
497
  function Ro(e) {
498
498
  const t = /* @__PURE__ */ gt(e);
499
- return t === e ? t : (ha(t, "iterate", Zr), /* @__PURE__ */ Aa(e) ? t : t.map(Va));
499
+ return t === e ? t : (ha(t, "iterate", Zr), /* @__PURE__ */ Pa(e) ? t : t.map(Va));
500
500
  }
501
501
  function Js(e) {
502
502
  return ha(e = /* @__PURE__ */ gt(e), "iterate", Zr), e;
@@ -616,14 +616,14 @@ const a_ = {
616
616
  };
617
617
  function ac(e, t, a) {
618
618
  const o = Js(e), n = o[t]();
619
- return o !== e && !/* @__PURE__ */ Aa(e) && (n._next = n.next, n.next = () => {
619
+ return o !== e && !/* @__PURE__ */ Pa(e) && (n._next = n.next, n.next = () => {
620
620
  const r = n._next();
621
621
  return r.done || (r.value = a(r.value)), r;
622
622
  }), n;
623
623
  }
624
624
  const n_ = Array.prototype;
625
625
  function bn(e, t, a, o, n, r) {
626
- const c = Js(e), l = c !== e && !/* @__PURE__ */ Aa(e), h = c[t];
626
+ const c = Js(e), l = c !== e && !/* @__PURE__ */ Pa(e), h = c[t];
627
627
  if (h !== n_[t]) {
628
628
  const b = h.apply(e, r);
629
629
  return l ? Va(b) : b;
@@ -638,7 +638,7 @@ function bn(e, t, a, o, n, r) {
638
638
  return l && n ? n(m) : m;
639
639
  }
640
640
  function Nf(e, t, a, o) {
641
- const n = Js(e), r = n !== e && !/* @__PURE__ */ Aa(e);
641
+ const n = Js(e), r = n !== e && !/* @__PURE__ */ Pa(e);
642
642
  let c = a, l = !1;
643
643
  n !== e && (r ? (l = o.length === 0, c = function(g, m, b) {
644
644
  return l && (l = !1, g = nn(e, g)), a.call(this, g, nn(e, m), b, e);
@@ -718,7 +718,7 @@ class vv extends hv {
718
718
  const c = et(t) && pd(a);
719
719
  if (!this._isShallow) {
720
720
  const g = /* @__PURE__ */ Mn(r);
721
- if (!/* @__PURE__ */ Aa(o) && !/* @__PURE__ */ Mn(o) && (r = /* @__PURE__ */ gt(r), o = /* @__PURE__ */ gt(o)), !c && /* @__PURE__ */ ga(r) && !/* @__PURE__ */ ga(o))
721
+ if (!/* @__PURE__ */ Pa(o) && !/* @__PURE__ */ Mn(o) && (r = /* @__PURE__ */ gt(r), o = /* @__PURE__ */ gt(o)), !c && /* @__PURE__ */ ga(r) && !/* @__PURE__ */ ga(o))
722
722
  return g || (r.value = o), !0;
723
723
  }
724
724
  const l = c ? Number(a) < t.length : yt(t, a), h = Reflect.set(
@@ -822,11 +822,11 @@ function u_(e, t) {
822
822
  clear: Qi("clear")
823
823
  } : {
824
824
  add(n) {
825
- const r = /* @__PURE__ */ gt(this), c = Zi(r), l = /* @__PURE__ */ gt(n), h = !t && !/* @__PURE__ */ Aa(n) && !/* @__PURE__ */ Mn(n) ? l : n;
825
+ const r = /* @__PURE__ */ gt(this), c = Zi(r), l = /* @__PURE__ */ gt(n), h = !t && !/* @__PURE__ */ Pa(n) && !/* @__PURE__ */ Mn(n) ? l : n;
826
826
  return c.has.call(r, h) || rn(n, h) && c.has.call(r, n) || rn(l, h) && c.has.call(r, l) || (r.add(h), Sn(r, "add", h, h)), this;
827
827
  },
828
828
  set(n, r) {
829
- !t && !/* @__PURE__ */ Aa(r) && !/* @__PURE__ */ Mn(r) && (r = /* @__PURE__ */ gt(r));
829
+ !t && !/* @__PURE__ */ Pa(r) && !/* @__PURE__ */ Mn(r) && (r = /* @__PURE__ */ gt(r));
830
830
  const c = /* @__PURE__ */ gt(this), { has: l, get: h } = Zi(c);
831
831
  let g = l.call(c, n);
832
832
  g || (n = /* @__PURE__ */ gt(n), g = l.call(c, n));
@@ -946,7 +946,7 @@ function Mn(e) {
946
946
  return !!(e && e.__v_isReadonly);
947
947
  }
948
948
  // @__NO_SIDE_EFFECTS__
949
- function Aa(e) {
949
+ function Pa(e) {
950
950
  return !!(e && e.__v_isShallow);
951
951
  }
952
952
  // @__NO_SIDE_EFFECTS__
@@ -985,7 +985,7 @@ class __ {
985
985
  return this.dep.track(), this._value;
986
986
  }
987
987
  set value(t) {
988
- const a = this._rawValue, o = this.__v_isShallow || /* @__PURE__ */ Aa(t) || /* @__PURE__ */ Mn(t);
988
+ const a = this._rawValue, o = this.__v_isShallow || /* @__PURE__ */ Pa(t) || /* @__PURE__ */ Mn(t);
989
989
  t = o ? t : /* @__PURE__ */ gt(t), rn(t, a) && (this._rawValue = t, this._value = o ? t : Va(t), this.dep.trigger());
990
990
  }
991
991
  }
@@ -1052,9 +1052,9 @@ function C_(e, t = !1, a = mo) {
1052
1052
  }
1053
1053
  }
1054
1054
  function $_(e, t, a = zt) {
1055
- const { immediate: o, deep: n, once: r, scheduler: c, augmentJob: l, call: h } = a, g = (x) => n ? x : /* @__PURE__ */ Aa(x) || n === !1 || n === 0 ? zn(x, 1) : zn(x);
1055
+ const { immediate: o, deep: n, once: r, scheduler: c, augmentJob: l, call: h } = a, g = (x) => n ? x : /* @__PURE__ */ Pa(x) || n === !1 || n === 0 ? zn(x, 1) : zn(x);
1056
1056
  let m, b, w, _, B = !1, D = !1;
1057
- if (/* @__PURE__ */ ga(e) ? (b = () => e.value, B = /* @__PURE__ */ Aa(e)) : /* @__PURE__ */ wo(e) ? (b = () => g(e), B = !0) : et(e) ? (D = !0, B = e.some((x) => /* @__PURE__ */ wo(x) || /* @__PURE__ */ Aa(x)), b = () => e.map((x) => {
1057
+ if (/* @__PURE__ */ ga(e) ? (b = () => e.value, B = /* @__PURE__ */ Pa(e)) : /* @__PURE__ */ wo(e) ? (b = () => g(e), B = !0) : et(e) ? (D = !0, B = e.some((x) => /* @__PURE__ */ wo(x) || /* @__PURE__ */ Pa(x)), b = () => e.map((x) => {
1058
1058
  if (/* @__PURE__ */ ga(x))
1059
1059
  return x.value;
1060
1060
  if (/* @__PURE__ */ wo(x))
@@ -1627,25 +1627,25 @@ function F_() {
1627
1627
  e.isUnmounting = !0;
1628
1628
  }), e;
1629
1629
  }
1630
- const Ma = [Function, Array], Ev = {
1630
+ const Aa = [Function, Array], Ev = {
1631
1631
  mode: String,
1632
1632
  appear: Boolean,
1633
1633
  persisted: Boolean,
1634
1634
  // enter
1635
- onBeforeEnter: Ma,
1636
- onEnter: Ma,
1637
- onAfterEnter: Ma,
1638
- onEnterCancelled: Ma,
1635
+ onBeforeEnter: Aa,
1636
+ onEnter: Aa,
1637
+ onAfterEnter: Aa,
1638
+ onEnterCancelled: Aa,
1639
1639
  // leave
1640
- onBeforeLeave: Ma,
1641
- onLeave: Ma,
1642
- onAfterLeave: Ma,
1643
- onLeaveCancelled: Ma,
1640
+ onBeforeLeave: Aa,
1641
+ onLeave: Aa,
1642
+ onAfterLeave: Aa,
1643
+ onLeaveCancelled: Aa,
1644
1644
  // appear
1645
- onBeforeAppear: Ma,
1646
- onAppear: Ma,
1647
- onAfterAppear: Ma,
1648
- onAppearCancelled: Ma
1645
+ onBeforeAppear: Aa,
1646
+ onAppear: Aa,
1647
+ onAfterAppear: Aa,
1648
+ onAppearCancelled: Aa
1649
1649
  }, Mv = (e) => {
1650
1650
  const t = e.subTree;
1651
1651
  return t.component ? Mv(t.component) : t;
@@ -2016,7 +2016,7 @@ function Be(e, t, a, o) {
2016
2016
  if (c || Mt(e)) {
2017
2017
  const l = c && /* @__PURE__ */ wo(e);
2018
2018
  let h = !1, g = !1;
2019
- l && (h = !/* @__PURE__ */ Aa(e), g = /* @__PURE__ */ Mn(e), e = Js(e)), n = new Array(e.length);
2019
+ l && (h = !/* @__PURE__ */ Pa(e), g = /* @__PURE__ */ Mn(e), e = Js(e)), n = new Array(e.length);
2020
2020
  for (let m = 0, b = e.length; m < b; m++)
2021
2021
  n[m] = t(
2022
2022
  h ? g ? tr(Va(e[m])) : Va(e[m]) : e[m],
@@ -11190,7 +11190,7 @@ function Rd(e) {
11190
11190
  let t = Zp.get(e);
11191
11191
  return t || (t = `<span class="fe-ftile fe-ftile--${e}">${Jp(e)}</span>`, Zp.set(e, t)), t;
11192
11192
  }
11193
- function Pa(e) {
11193
+ function Da(e) {
11194
11194
  return Rd(Pn(e));
11195
11195
  }
11196
11196
  function As(e) {
@@ -11945,7 +11945,7 @@ const _o = [
11945
11945
  stylesheet has to agree with it about which ones exist. */
11946
11946
  { id: "star", width: 24, min: 24, max: 24, hideable: !1, resizable: !1 }
11947
11947
  ], fh = { check: 28, menu: 28 }, ph = 220;
11948
- function Da(e) {
11948
+ function La(e) {
11949
11949
  return _o.find((t) => t.id === e);
11950
11950
  }
11951
11951
  function ps(e) {
@@ -11959,12 +11959,12 @@ function Zm(e) {
11959
11959
  if (a.w && typeof a.w == "object")
11960
11960
  for (const [c, l] of Object.entries(a.w)) {
11961
11961
  if (!ps(c) || typeof l != "number" || !Number.isFinite(l)) continue;
11962
- const h = Da(c);
11962
+ const h = La(c);
11963
11963
  h && (o[c] = Math.min(h.max, Math.max(h.min, Math.round(l))));
11964
11964
  }
11965
11965
  const n = Array.isArray(a.hidden) ? a.hidden.filter((c) => {
11966
11966
  var l;
11967
- return ps(c) && ((l = Da(c)) == null ? void 0 : l.hideable);
11967
+ return ps(c) && ((l = La(c)) == null ? void 0 : l.hideable);
11968
11968
  }) : [], r = Array.isArray(a.o) ? [...new Set(a.o.filter(ps))] : void 0;
11969
11969
  return { w: o, hidden: [...new Set(n)], o: r };
11970
11970
  }
@@ -11979,7 +11979,7 @@ function zo() {
11979
11979
  return a;
11980
11980
  }
11981
11981
  function Qm(e, t) {
11982
- const a = Da(e);
11982
+ const a = La(e);
11983
11983
  if (!a || !a.hideable) return;
11984
11984
  const o = zo(), n = o.indexOf(e);
11985
11985
  if (n === -1) return;
@@ -11989,7 +11989,7 @@ function Qm(e, t) {
11989
11989
  function Z0(e, t) {
11990
11990
  const a = zo().filter((l) => {
11991
11991
  var h;
11992
- return (h = Da(l)) == null ? void 0 : h.hideable;
11992
+ return (h = La(l)) == null ? void 0 : h.hideable;
11993
11993
  }), o = a.indexOf(e);
11994
11994
  if (o === -1) return;
11995
11995
  const n = o + t;
@@ -12000,16 +12000,16 @@ function Z0(e, t) {
12000
12000
  function hh(e, t) {
12001
12001
  const a = zo().filter((n) => {
12002
12002
  var r;
12003
- return (r = Da(n)) == null ? void 0 : r.hideable;
12003
+ return (r = La(n)) == null ? void 0 : r.hideable;
12004
12004
  }), o = a.indexOf(e);
12005
12005
  return o === -1 ? !1 : o + t >= 0 && o + t < a.length;
12006
12006
  }
12007
12007
  function Gr(e) {
12008
- const t = Da(e);
12008
+ const t = La(e);
12009
12009
  return t ? Ht.value.w[e] ?? t.width : 0;
12010
12010
  }
12011
12011
  function gc(e, t) {
12012
- const a = Da(e);
12012
+ const a = La(e);
12013
12013
  if (!a || !a.resizable) return;
12014
12014
  const o = Math.min(a.max, Math.max(a.min, Math.round(t)));
12015
12015
  Ht.value.w[e] !== o && (Ht.value = { ...Ht.value, w: { ...Ht.value.w, [e]: o } }, Dn());
@@ -12022,7 +12022,7 @@ function Q0(e) {
12022
12022
  let a = !1;
12023
12023
  for (const [o, n] of Object.entries(e)) {
12024
12024
  if (!ps(o) || typeof n != "number" || !Number.isFinite(n) || t[o] !== void 0) continue;
12025
- const r = Da(o);
12025
+ const r = La(o);
12026
12026
  !r || !r.resizable || (t[o] = Math.min(r.max, Math.max(r.min, Math.round(n))), a = !0);
12027
12027
  }
12028
12028
  a && (Ht.value = { ...Ht.value, w: t }, Dn());
@@ -12031,7 +12031,7 @@ function Fs(e) {
12031
12031
  return Ht.value.hidden.includes(e);
12032
12032
  }
12033
12033
  function e2(e, t) {
12034
- const a = Da(e);
12034
+ const a = La(e);
12035
12035
  if (!a || !a.hideable || Fs(e) === t) return;
12036
12036
  const o = new Set(Ht.value.hidden);
12037
12037
  t ? o.add(e) : o.delete(e), Ht.value = { ...Ht.value, hidden: [...o] }, Dn();
@@ -12085,17 +12085,17 @@ function l2(e, t, a = {}) {
12085
12085
  ), c = {};
12086
12086
  for (const b of r) c[b] = Gr(b);
12087
12087
  c.name = Gr("name");
12088
- const l = fh.check + fh.menu + n + o * (r.length + 2), h = eg(), g = Da("name");
12088
+ const l = fh.check + fh.menu + n + o * (r.length + 2), h = eg(), g = La("name");
12089
12089
  if (h && e > 0) {
12090
12090
  const b = e - l;
12091
12091
  let w = r.reduce((B, D) => B + c[D], 0);
12092
12092
  const _ = b - ph;
12093
12093
  if (w > _) {
12094
- const B = r.reduce((D, H) => D + (c[H] - Da(H).min), 0);
12094
+ const B = r.reduce((D, H) => D + (c[H] - La(H).min), 0);
12095
12095
  if (B > 0) {
12096
12096
  const D = Math.min(1, (w - _) / B);
12097
12097
  for (const H of r) {
12098
- const S = Da(H);
12098
+ const S = La(H);
12099
12099
  c[H] = Math.max(S.min, c[H] - Math.ceil((c[H] - S.min) * D));
12100
12100
  }
12101
12101
  w = r.reduce((H, S) => H + c[S], 0);
@@ -12595,7 +12595,7 @@ const O2 = /* @__PURE__ */ tt({
12595
12595
  return B.value && /^(image|video)[/]/.test(String(((F = h.value) == null ? void 0 : F.mime_type) ?? "")) ? B.value : null;
12596
12596
  }
12597
12597
  ), T = E(
12598
- () => Pa(h.value && !g.value ? h.value : { type: "dir" })
12598
+ () => Da(h.value && !g.value ? h.value : { type: "dir" })
12599
12599
  ), z = E(
12600
12600
  () => b.value != null && a.apiBase !== void 0 && !g.value
12601
12601
  );
@@ -13770,7 +13770,7 @@ function jo() {
13770
13770
  function ci() {
13771
13771
  return qo ? Date.now() - qo.startedAt > $C ? (qo = null, null) : qo : null;
13772
13772
  }
13773
- function La(e) {
13773
+ function Ba(e) {
13774
13774
  var t;
13775
13775
  return (t = e.dataTransfer) != null && t.types.includes(og) ? !0 : ci() !== null;
13776
13776
  }
@@ -14381,13 +14381,13 @@ const o3 = ["aria-label", "aria-busy"], r3 = {
14381
14381
  }
14382
14382
  const pe = /* @__PURE__ */ y(null);
14383
14383
  function ve(J, re) {
14384
- J.type === "dir" && La(re) && (re.preventDefault(), re.stopPropagation(), re.dataTransfer && (re.dataTransfer.dropEffect = "move"), pe.value = J.path);
14384
+ J.type === "dir" && Ba(re) && (re.preventDefault(), re.stopPropagation(), re.dataTransfer && (re.dataTransfer.dropEffect = "move"), pe.value = J.path);
14385
14385
  }
14386
14386
  function de(J) {
14387
14387
  pe.value === J.path && (pe.value = null);
14388
14388
  }
14389
14389
  function ae(J, re) {
14390
- pe.value = null, J.type === "dir" && La(re) && (re.preventDefault(), re.stopPropagation(), o("item-drop-into", J, re));
14390
+ pe.value = null, J.type === "dir" && Ba(re) && (re.preventDefault(), re.stopPropagation(), o("item-drop-into", J, re));
14391
14391
  }
14392
14392
  const Z = tu(
14393
14393
  (J, re) => o("context-card", J, { ...re, preventDefault: () => {
@@ -14487,7 +14487,7 @@ const o3 = ["aria-label", "aria-busy"], r3 = {
14487
14487
  x(te).length === 0 ? (f(), p("span", {
14488
14488
  key: 0,
14489
14489
  class: "fe-grid__icon fe-grid__icon--svg",
14490
- innerHTML: s(Pa)(te)
14490
+ innerHTML: s(Da)(te)
14491
14491
  }, null, 8, l3)) : $("", !0)
14492
14492
  ], 64)) : S(te) ? (f(), p("img", {
14493
14493
  key: 1,
@@ -14508,7 +14508,7 @@ const o3 = ["aria-label", "aria-busy"], r3 = {
14508
14508
  }, null, 8, d3)) : (f(), p("span", {
14509
14509
  key: 3,
14510
14510
  class: "fe-grid__icon fe-grid__icon--svg",
14511
- innerHTML: s(Pa)(te)
14511
+ innerHTML: s(Da)(te)
14512
14512
  }, null, 8, u3)),
14513
14513
  !z(te) && S(te) && s(rg)(te) ? (f(), p("span", f3)) : $("", !0),
14514
14514
  A(te) ? (f(), p("div", {
@@ -14545,7 +14545,7 @@ const o3 = ["aria-label", "aria-busy"], r3 = {
14545
14545
  }, null, 8, h3)) : (f(), p("span", {
14546
14546
  key: 1,
14547
14547
  class: "fe-grid__tile fe-grid__tile--svg",
14548
- innerHTML: s(Pa)(te)
14548
+ innerHTML: s(Da)(te)
14549
14549
  }, null, 8, v3)),
14550
14550
  e.selectable ? (f(), p("span", {
14551
14551
  key: 2,
@@ -14677,7 +14677,7 @@ const o3 = ["aria-label", "aria-busy"], r3 = {
14677
14677
  function b(S, T) {
14678
14678
  return l.value && S > 0 && T === 0;
14679
14679
  }
14680
- const w = /* @__PURE__ */ new Set(), _ = Pa({ type: "dir", mime_type: "inode/storage" });
14680
+ const w = /* @__PURE__ */ new Set(), _ = Da({ type: "dir", mime_type: "inode/storage" });
14681
14681
  function B(S) {
14682
14682
  return typeof S.usedBytes == "number" && S.usedBytes >= 0 ? n("drive.storage.used_unlimited", { used: r(S.usedBytes) }) : n("conn.guide.storage");
14683
14683
  }
@@ -18023,10 +18023,10 @@ const T4 = {
18023
18023
  return R > 0 ? L.slice(R + 1) : "";
18024
18024
  }
18025
18025
  function b(L) {
18026
- if (L.kind === "file") return Pa(L.node);
18026
+ if (L.kind === "file") return Da(L.node);
18027
18027
  if (L.kind === "hit") {
18028
18028
  const R = String(L.hit.name ?? "");
18029
- return Pa({
18029
+ return Da({
18030
18030
  type: L.hit.type === "dir" ? "dir" : "file",
18031
18031
  extension: m(R),
18032
18032
  basename: R
@@ -20589,28 +20589,28 @@ const nA = {
20589
20589
  diff: "diff",
20590
20590
  patch: "diff"
20591
20591
  }, _ = ["txt", "log"], B = ["docx", "doc", "xlsx", "xls", "pptx", "ppt", "odt", "ods", "odp", "rtf"], D = {
20592
- glb: () => import("./Viewer3D-Cn1kOUXj.js"),
20593
- gltf: () => import("./Viewer3D-Cn1kOUXj.js"),
20594
- obj: () => import("./Viewer3D-Cn1kOUXj.js"),
20595
- stl: () => import("./Viewer3D-Cn1kOUXj.js"),
20596
- fbx: () => import("./Viewer3D-Cn1kOUXj.js"),
20597
- "3ds": () => import("./Viewer3D-Cn1kOUXj.js"),
20598
- epub: () => import("./EpubViewer-BKNoqUb4.js"),
20599
- mmd: () => import("./MermaidViewer-BBP5FZww.js"),
20600
- mermaid: () => import("./MermaidViewer-BBP5FZww.js"),
20601
- drawio: () => import("./DrawioViewer-DC4Ttxv9.js"),
20602
- dio: () => import("./DrawioViewer-DC4Ttxv9.js"),
20603
- tif: () => import("./TiffViewer-Du2HUrfR.js"),
20604
- tiff: () => import("./TiffViewer-Du2HUrfR.js"),
20605
- psd: () => import("./PsdViewer-D79Wq5aM.js"),
20592
+ glb: () => import("./Viewer3D-Be9e3gLf.js"),
20593
+ gltf: () => import("./Viewer3D-Be9e3gLf.js"),
20594
+ obj: () => import("./Viewer3D-Be9e3gLf.js"),
20595
+ stl: () => import("./Viewer3D-Be9e3gLf.js"),
20596
+ fbx: () => import("./Viewer3D-Be9e3gLf.js"),
20597
+ "3ds": () => import("./Viewer3D-Be9e3gLf.js"),
20598
+ epub: () => import("./EpubViewer-DyLqGSrv.js"),
20599
+ mmd: () => import("./MermaidViewer-CI7am2Hz.js"),
20600
+ mermaid: () => import("./MermaidViewer-CI7am2Hz.js"),
20601
+ drawio: () => import("./DrawioViewer-DaYAzq-6.js"),
20602
+ dio: () => import("./DrawioViewer-DaYAzq-6.js"),
20603
+ tif: () => import("./TiffViewer-DUCsLKeR.js"),
20604
+ tiff: () => import("./TiffViewer-DUCsLKeR.js"),
20605
+ psd: () => import("./PsdViewer-Dio_2vHK.js"),
20606
20606
  // PDF deliberately uses the native browser viewer (`kind === 'pdf'`
20607
20607
  // branch in the template). PdfViewer.vue still exists for callers
20608
20608
  // that want the rich custom UI but the SFC default keeps things
20609
20609
  // minimal — the browser already paints search/zoom/page UI for free.
20610
- ipynb: () => import("./IpynbViewer-BNZFlc7Q.js"),
20611
- csv: () => import("./CsvViewer-CLcVmcFa.js"),
20612
- tsv: () => import("./CsvViewer-CLcVmcFa.js"),
20613
- zip: () => import("./ArchiveViewer-BF-5G3Db.js")
20610
+ ipynb: () => import("./IpynbViewer-BY2mIHrI.js"),
20611
+ csv: () => import("./CsvViewer-CPaLWbHw.js"),
20612
+ tsv: () => import("./CsvViewer-CPaLWbHw.js"),
20613
+ zip: () => import("./ArchiveViewer-WzjW-K4A.js")
20614
20614
  }, H = E(() => {
20615
20615
  const Pe = h(a.file);
20616
20616
  if (!Pe) return "other";
@@ -20733,7 +20733,7 @@ const nA = {
20733
20733
  const me = Pe.indexOf("://");
20734
20734
  return me === -1 ? Pe : Pe.slice(me + 3);
20735
20735
  }
20736
- const ve = E(() => !a.chromeless), de = /* @__PURE__ */ y(null), ae = E(() => a.file ? Pa(a.file) : ""), Z = E(() => a.file ? l(a.file) : ""), we = E(() => {
20736
+ const ve = E(() => !a.chromeless), de = /* @__PURE__ */ y(null), ae = E(() => a.file ? Da(a.file) : ""), Z = E(() => a.file ? l(a.file) : ""), we = E(() => {
20737
20737
  const Pe = a.index, me = a.total;
20738
20738
  return !Pe || !me || me < 1 || Pe < 1 ? "" : n("viewer.counter", { i: Pe, n: me });
20739
20739
  }), be = E(() => {
@@ -21117,7 +21117,7 @@ const nA = {
21117
21117
  if (!me.ok)
21118
21118
  throw new Error(`Config fetch ${me.status}: ${(await me.text()).slice(0, 200)}`);
21119
21119
  const { config: He, documentServerUrl: oe } = await me.json();
21120
- await Ba(oe), Sa();
21120
+ await Oa(oe), Sa();
21121
21121
  const ue = "fe-onlyoffice-mount";
21122
21122
  Ut.value.id = ue, He.events = {
21123
21123
  onError: (le) => {
@@ -21162,7 +21162,7 @@ const nA = {
21162
21162
  return "OnlyOffice error";
21163
21163
  }
21164
21164
  }
21165
- function Ba(Pe) {
21165
+ function Oa(Pe) {
21166
21166
  return new Promise((me, He) => {
21167
21167
  var G;
21168
21168
  if ((G = window.DocsAPI) != null && G.DocEditor) {
@@ -22651,10 +22651,10 @@ const fD = ["data-prefers-dark", "aria-label"], pD = {
22651
22651
  });
22652
22652
  }
22653
22653
  function pe(R) {
22654
- La(R) && (R.preventDefault(), R.stopPropagation(), R.dataTransfer && (R.dataTransfer.dropEffect = "move"));
22654
+ Ba(R) && (R.preventDefault(), R.stopPropagation(), R.dataTransfer && (R.dataTransfer.dropEffect = "move"));
22655
22655
  }
22656
22656
  function ve(R, Q) {
22657
- La(R) && (R.preventDefault(), R.stopPropagation(), c("crumb-drop", Q.adapterPath, R));
22657
+ Ba(R) && (R.preventDefault(), R.stopPropagation(), c("crumb-drop", Q.adapterPath, R));
22658
22658
  }
22659
22659
  const de = /* @__PURE__ */ y(!1), ae = /* @__PURE__ */ y(""), Z = /* @__PURE__ */ y(null);
22660
22660
  function we() {
@@ -23448,13 +23448,13 @@ const fD = ["data-prefers-dark", "aria-label"], pD = {
23448
23448
  }
23449
23449
  const z = /* @__PURE__ */ y(null);
23450
23450
  function x(G, le) {
23451
- G.type === "dir" && La(le) && (le.preventDefault(), le.stopPropagation(), le.dataTransfer && (le.dataTransfer.dropEffect = "move"), z.value = G.path);
23451
+ G.type === "dir" && Ba(le) && (le.preventDefault(), le.stopPropagation(), le.dataTransfer && (le.dataTransfer.dropEffect = "move"), z.value = G.path);
23452
23452
  }
23453
23453
  function P(G) {
23454
23454
  z.value === G.path && (z.value = null);
23455
23455
  }
23456
23456
  function A(G, le) {
23457
- z.value = null, G.type === "dir" && La(le) && (le.preventDefault(), le.stopPropagation(), o("item-drop-into", G, le));
23457
+ z.value = null, G.type === "dir" && Ba(le) && (le.preventDefault(), le.stopPropagation(), o("item-drop-into", G, le));
23458
23458
  }
23459
23459
  const Y = tu(
23460
23460
  (G, le) => o("context-row", G, { ...le, preventDefault: () => {
@@ -23707,7 +23707,7 @@ const fD = ["data-prefers-dark", "aria-label"], pD = {
23707
23707
  function hn() {
23708
23708
  J0(), Ct();
23709
23709
  }
23710
- function Ba() {
23710
+ function Oa() {
23711
23711
  a.folderKey && X0(a.folderKey), Ct();
23712
23712
  }
23713
23713
  const Pe = E(() => {
@@ -23934,7 +23934,7 @@ const fD = ["data-prefers-dark", "aria-label"], pD = {
23934
23934
  key: 2,
23935
23935
  class: "fe-list__icon fe-list__icon--svg",
23936
23936
  "aria-hidden": "true",
23937
- innerHTML: s(Pa)(Fe)
23937
+ innerHTML: s(Da)(Fe)
23938
23938
  }, null, 8, UL)),
23939
23939
  i("div", jL, [
23940
23940
  i("span", {
@@ -24099,7 +24099,7 @@ const fD = ["data-prefers-dark", "aria-label"], pD = {
24099
24099
  key: 5,
24100
24100
  type: "button",
24101
24101
  class: "fe-colmenu__row",
24102
- onClick: Ba
24102
+ onClick: Oa
24103
24103
  }, [
24104
24104
  i("span", fB, v(s(n)("cols.forget_folder")), 1)
24105
24105
  ])) : $("", !0),
@@ -24212,13 +24212,13 @@ const fD = ["data-prefers-dark", "aria-label"], pD = {
24212
24212
  }
24213
24213
  const K = /* @__PURE__ */ y(null);
24214
24214
  function V(de, ae) {
24215
- de.type === "dir" && La(ae) && (ae.preventDefault(), ae.stopPropagation(), ae.dataTransfer && (ae.dataTransfer.dropEffect = "move"), K.value = de.path);
24215
+ de.type === "dir" && Ba(ae) && (ae.preventDefault(), ae.stopPropagation(), ae.dataTransfer && (ae.dataTransfer.dropEffect = "move"), K.value = de.path);
24216
24216
  }
24217
24217
  function X(de) {
24218
24218
  K.value === de.path && (K.value = null);
24219
24219
  }
24220
24220
  function I(de, ae) {
24221
- K.value = null, de.type === "dir" && La(ae) && (ae.preventDefault(), ae.stopPropagation(), o("item-drop-into", de, ae));
24221
+ K.value = null, de.type === "dir" && Ba(ae) && (ae.preventDefault(), ae.stopPropagation(), o("item-drop-into", de, ae));
24222
24222
  }
24223
24223
  const ie = tu(
24224
24224
  (de, ae) => o("context-card", de, { ...ae, preventDefault: () => {
@@ -24304,7 +24304,7 @@ const fD = ["data-prefers-dark", "aria-label"], pD = {
24304
24304
  H(Z).length === 0 ? (f(), p("span", {
24305
24305
  key: 0,
24306
24306
  class: "fe-gal__icon fe-gal__icon--svg",
24307
- innerHTML: s(Pa)(Z)
24307
+ innerHTML: s(Da)(Z)
24308
24308
  }, null, 8, kB)) : $("", !0)
24309
24309
  ], 64)) : _(Z) ? (f(), p("img", {
24310
24310
  key: 1,
@@ -24325,7 +24325,7 @@ const fD = ["data-prefers-dark", "aria-label"], pD = {
24325
24325
  }, null, 8, xB)) : (f(), p("span", {
24326
24326
  key: 3,
24327
24327
  class: "fe-gal__icon fe-gal__icon--svg",
24328
- innerHTML: s(Pa)(Z)
24328
+ innerHTML: s(Da)(Z)
24329
24329
  }, null, 8, SB)),
24330
24330
  !D(Z) && _(Z) && s(rg)(Z) ? (f(), p("span", zB)) : $("", !0),
24331
24331
  e.selectable ? (f(), p("span", {
@@ -24451,7 +24451,8 @@ const fD = ["data-prefers-dark", "aria-label"], pD = {
24451
24451
  authHeaders: {},
24452
24452
  authCredentials: {},
24453
24453
  e2eActive: { type: Boolean },
24454
- bodyOverride: { type: Boolean }
24454
+ bodyOverride: { type: Boolean },
24455
+ openTrigger: { default: "double" }
24455
24456
  },
24456
24457
  emits: ["activate", "close", "navigate", "open", "open-trash", "click-row", "context", "clear-selection", "display-order", "item-drag-start", "item-drop-into", "transfer", "update:viewMode", "update:filters", "crumb-context", "copy-path", "crumb-drop", "new-folder", "upload", "paste", "select-all", "clear-filters", "star-change", "retry"],
24457
24458
  setup(e, { expose: t, emit: a }) {
@@ -24528,11 +24529,15 @@ const fD = ["data-prefers-dark", "aria-label"], pD = {
24528
24529
  n("activate"), n("click-row", k, { ctrl: !0, shift: W.shift });
24529
24530
  return;
24530
24531
  }
24531
- I = Date.now(), we(k);
24532
+ if (W.touch || o.openTrigger === "single") {
24533
+ I = Date.now(), we(k);
24534
+ return;
24535
+ }
24536
+ n("activate"), n("click-row", k, { ctrl: W.ctrl, shift: W.shift });
24532
24537
  }
24533
24538
  }
24534
24539
  function ve(k) {
24535
- ie() || we(k);
24540
+ ie() || (I = Date.now(), we(k));
24536
24541
  }
24537
24542
  function de(k, W) {
24538
24543
  W.preventDefault(), W.stopPropagation(), n("activate"), n("context", k, W);
@@ -24569,7 +24574,7 @@ const fD = ["data-prefers-dark", "aria-label"], pD = {
24569
24574
  }
24570
24575
  const L = /* @__PURE__ */ y(!1);
24571
24576
  function R(k) {
24572
- return La(k);
24577
+ return Ba(k);
24573
24578
  }
24574
24579
  function Q(k, W) {
24575
24580
  const ne = vs(k);
@@ -26515,7 +26520,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
26515
26520
  return { adapter: ue, name: le.length ? le[le.length - 1] : ue, rel: G };
26516
26521
  }), g = E(() => {
26517
26522
  const oe = h.value.name, ue = oe.lastIndexOf(".");
26518
- return Pa({
26523
+ return Da({
26519
26524
  type: a.isDir ? "dir" : "file",
26520
26525
  extension: !a.isDir && ue > 0 ? oe.slice(ue + 1) : ""
26521
26526
  });
@@ -26881,7 +26886,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
26881
26886
  }), hn = E(() => {
26882
26887
  const oe = D.value.length + H.value.length;
26883
26888
  return oe ? r("access.sum.people", { n: oe }) : r("access.sum.people_none");
26884
- }), Ba = E(
26889
+ }), Oa = E(
26885
26890
  () => te.value.length ? r("access.sum.drop", { n: te.value.length }) : r("access.sum.drop_none")
26886
26891
  );
26887
26892
  function Pe() {
@@ -27359,7 +27364,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
27359
27364
  i("path", { d: "M9 6l6 6-6 6" }, null, -1)
27360
27365
  ])], 2)),
27361
27366
  i("span", kK, v(s(r)("access.section.drop")), 1),
27362
- i("span", wK, v(Ba.value), 1)
27367
+ i("span", wK, v(Oa.value), 1)
27363
27368
  ], 8, _K),
27364
27369
  m.value.drop ? (f(), p("div", xK, [
27365
27370
  i("p", SK, v(l("Bu klasöre herkesin dosya YÜKLEYEBİLECEĞİ herkese açık bir bağlantı. Yükleyenler klasördeki mevcut dosyaları göremez.", "A public link that lets anyone UPLOAD files into this folder. Uploaders never see the folder's existing files.")), 1),
@@ -27978,7 +27983,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
27978
27983
  extension: (d.name.split(".").pop() || "").toLowerCase(),
27979
27984
  id: d.id
27980
27985
  };
27981
- Re.value = !1, Ia(u);
27986
+ Re.value = !1, Ma(u);
27982
27987
  }
27983
27988
  const Vt = E(() => {
27984
27989
  var u, M, q;
@@ -28004,7 +28009,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
28004
28009
  return !d || d.length === 0 ? !1 : d.some(
28005
28010
  (u) => u.requires === "onlyoffice" ? !!Vt.value : u.requires === "drawio" ? !!Pt.value : !0
28006
28011
  );
28007
- }), pt = /* @__PURE__ */ y([]), xa = /* @__PURE__ */ y(null), Dt = /* @__PURE__ */ y(!1), oa = /* @__PURE__ */ y(!1), Jt = /* @__PURE__ */ y(!1), It = /* @__PURE__ */ y(!1), Ut = /* @__PURE__ */ y(!1), Nt = /* @__PURE__ */ y(null), Ct = /* @__PURE__ */ y(!1), da = /* @__PURE__ */ y(null), Sa = /* @__PURE__ */ y("edit"), hn = /* @__PURE__ */ y(!1), Ba = /* @__PURE__ */ y(null), Pe = /* @__PURE__ */ y(!1), me = /* @__PURE__ */ y(null), He = /* @__PURE__ */ y(!1), oe = /* @__PURE__ */ y("move"), ue = /* @__PURE__ */ y([]), G = /* @__PURE__ */ y(!1), le = /* @__PURE__ */ y(
28012
+ }), pt = /* @__PURE__ */ y([]), xa = /* @__PURE__ */ y(null), Dt = /* @__PURE__ */ y(!1), oa = /* @__PURE__ */ y(!1), Jt = /* @__PURE__ */ y(!1), It = /* @__PURE__ */ y(!1), Ut = /* @__PURE__ */ y(!1), Nt = /* @__PURE__ */ y(null), Ct = /* @__PURE__ */ y(!1), da = /* @__PURE__ */ y(null), Sa = /* @__PURE__ */ y("edit"), hn = /* @__PURE__ */ y(!1), Oa = /* @__PURE__ */ y(null), Pe = /* @__PURE__ */ y(!1), me = /* @__PURE__ */ y(null), He = /* @__PURE__ */ y(!1), oe = /* @__PURE__ */ y("move"), ue = /* @__PURE__ */ y([]), G = /* @__PURE__ */ y(!1), le = /* @__PURE__ */ y(
28008
28013
  (() => {
28009
28014
  try {
28010
28015
  return localStorage.getItem(Lh) === "1";
@@ -28354,7 +28359,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
28354
28359
  const Wa = E(() => Mo(K.value)), xi = E(
28355
28360
  () => Wa.value && !k.value && !Z.value
28356
28361
  ), oo = /* @__PURE__ */ y(null), Zt = /* @__PURE__ */ y(null), Mu = /* @__PURE__ */ y(null), za = /* @__PURE__ */ y(!1), Au = /* @__PURE__ */ y(!1);
28357
- let Ao, Oa;
28362
+ let Ao, Ia;
28358
28363
  function kl(d) {
28359
28364
  Au.value = !!(d && "matches" in d && d.matches);
28360
28365
  }
@@ -28364,10 +28369,10 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
28364
28369
  var q, ce, _e;
28365
28370
  const M = ((ce = (q = u[0]) == null ? void 0 : q.contentRect) == null ? void 0 : ce.width) ?? ((_e = Zt.value) == null ? void 0 : _e.clientWidth) ?? 0;
28366
28371
  za.value = M > 0 && M < 560;
28367
- }), Ao.observe(Zt.value)), typeof window < "u" && window.matchMedia && (Oa = window.matchMedia("(pointer: coarse)"), kl(Oa), (d = Oa.addEventListener) == null || d.call(Oa, "change", kl));
28372
+ }), Ao.observe(Zt.value)), typeof window < "u" && window.matchMedia && (Ia = window.matchMedia("(pointer: coarse)"), kl(Ia), (d = Ia.addEventListener) == null || d.call(Ia, "change", kl));
28368
28373
  }), dt(() => {
28369
28374
  var d;
28370
- Ao == null || Ao.disconnect(), Ao = void 0, (d = Oa == null ? void 0 : Oa.removeEventListener) == null || d.call(Oa, "change", kl), Oa = void 0;
28375
+ Ao == null || Ao.disconnect(), Ao = void 0, (d = Ia == null ? void 0 : Ia.removeEventListener) == null || d.call(Ia, "change", kl), Ia = void 0;
28371
28376
  });
28372
28377
  const qa = /* @__PURE__ */ y(null);
28373
28378
  let Po;
@@ -28694,7 +28699,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
28694
28699
  }
28695
28700
  if (await lt(_e), M) return;
28696
28701
  const Le = String(d.name ?? u.slice(q + 1)), Ve = U.value.find((it) => it.type === "file" && it.basename === Le);
28697
- Ve && (ge.click(Ve.path), Ia(Ve));
28702
+ Ve && (ge.click(Ve.path), Ma(Ve));
28698
28703
  }
28699
28704
  Kw(Zt, {
28700
28705
  onDelete: () => {
@@ -28717,7 +28722,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
28717
28722
  return;
28718
28723
  }
28719
28724
  const d = ge.nodes.value[0];
28720
- d && Ia(d);
28725
+ d && Ma(d);
28721
28726
  },
28722
28727
  onClose: () => {
28723
28728
  var d;
@@ -28798,7 +28803,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
28798
28803
  "ods",
28799
28804
  "odp"
28800
28805
  ]);
28801
- function Ia(d) {
28806
+ function Ma(d) {
28802
28807
  if (d.basename === ".trash") {
28803
28808
  Bn();
28804
28809
  return;
@@ -28813,6 +28818,10 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
28813
28818
  return;
28814
28819
  }
28815
28820
  if (Vl.value && d.type === "file") return;
28821
+ if (o.config.openInHost && d.type === "file") {
28822
+ n("file-opened", { path: d.path, basename: d.basename }), kt(d);
28823
+ return;
28824
+ }
28816
28825
  const u = (d.extension || "").toLowerCase();
28817
28826
  Sa.value = Mo(d.perm ?? K.value) ? hy(u) : "view", da.value = d, Ut.value = !0, n("file-opened", { path: d.path, basename: d.basename }), kt(d);
28818
28827
  }
@@ -28901,13 +28910,17 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
28901
28910
  Ja.value && Zl(d);
28902
28911
  return;
28903
28912
  }
28913
+ if (o.config.openInHost) {
28914
+ Ma(d);
28915
+ return;
28916
+ }
28904
28917
  if (!Mo(d.perm ?? K.value)) {
28905
28918
  Uu(d);
28906
28919
  return;
28907
28920
  }
28908
28921
  const u = (d.extension || "").toLowerCase(), M = o.config.openPageBase;
28909
28922
  if (!M) {
28910
- Ia(d);
28923
+ Ma(d);
28911
28924
  return;
28912
28925
  }
28913
28926
  const q = cf(M), ce = q.includes("?") ? "&" : "?", _e = `${q}${ce}path=${encodeURIComponent(d.path)}&type=${encodeURIComponent(u)}&mode=edit`;
@@ -28920,7 +28933,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
28920
28933
  async function Cl(d) {
28921
28934
  const u = ua();
28922
28935
  if (d === "open") {
28923
- u[0] && Ia(u[0]);
28936
+ u[0] && Ma(u[0]);
28924
28937
  return;
28925
28938
  }
28926
28939
  await Ha(d, u);
@@ -29418,7 +29431,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
29418
29431
  }
29419
29432
  }
29420
29433
  function Oy(d) {
29421
- Ba.value = d, hn.value = !0;
29434
+ Oa.value = d, hn.value = !0;
29422
29435
  }
29423
29436
  function Iy(d) {
29424
29437
  qe(c.value === "en" ? `Converted → ${d}` : `Dönüştürüldü → ${d}`), lt();
@@ -29552,7 +29565,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
29552
29565
  Fn.value = Math.max(0, Fn.value - 1), Fn.value === 0 && (Hn.value = !1);
29553
29566
  }
29554
29567
  function Ny(d) {
29555
- if (La(d)) {
29568
+ if (Ba(d)) {
29556
29569
  d.preventDefault();
29557
29570
  return;
29558
29571
  }
@@ -29560,14 +29573,14 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
29560
29573
  }
29561
29574
  function Ry(d) {
29562
29575
  var M;
29563
- if (La(d)) {
29576
+ if (Ba(d)) {
29564
29577
  const q = ad(d) || "", ce = mt(P.value), _e = vs(d);
29565
29578
  if (_e && q && ce && q !== ce && !Z.value && Wa.value) {
29566
29579
  d.preventDefault(), Fn.value = 0, Hn.value = !1, jo(), xr(), Fo(_e.map((Le) => Le.path), ce, q);
29567
29580
  return;
29568
29581
  }
29569
29582
  }
29570
- if (La(d)) {
29583
+ if (Ba(d)) {
29571
29584
  Fn.value = 0, Hn.value = !1, jo(), xr();
29572
29585
  return;
29573
29586
  }
@@ -29805,7 +29818,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
29805
29818
  }
29806
29819
  function Jy() {
29807
29820
  const d = vn.value;
29808
- Kn.value = !1, d && Ia(d);
29821
+ Kn.value = !1, d && Ma(d);
29809
29822
  }
29810
29823
  Ue(
29811
29824
  () => ge.nodes.value,
@@ -29990,7 +30003,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
29990
30003
  );
29991
30004
  return;
29992
30005
  }
29993
- Ia(u);
30006
+ Ma(u);
29994
30007
  }
29995
30008
  function pb() {
29996
30009
  Xa.value = "main", Bn();
@@ -30572,6 +30585,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
30572
30585
  order: Bg.value,
30573
30586
  "view-mode": ve.value,
30574
30587
  "view-modes": hl.value,
30588
+ "open-trigger": o.config.openTrigger,
30575
30589
  "show-crumbs": L.value !== "home",
30576
30590
  "filter-mode": W.value,
30577
30591
  "find-label": L.value === "home" ? s(l)("filter.find.home") : "",
@@ -30595,7 +30609,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
30595
30609
  "body-override": Nl.value !== "",
30596
30610
  onActivate: hb,
30597
30611
  onNavigate: Yy,
30598
- onOpen: Ia,
30612
+ onOpen: Ma,
30599
30613
  onOpenTrash: u[14] || (u[14] = () => Bn()),
30600
30614
  onClickRow: u[15] || (u[15] = (Te, pa) => tf("main", Te, pa)),
30601
30615
  onContext: u[16] || (u[16] = (Te, pa) => qu("main", Te, pa)),
@@ -30746,7 +30760,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
30746
30760
  "name-filter": yr.value.name ?? "",
30747
30761
  "thumb-src": s(_).src,
30748
30762
  onOpenStorage: Tu,
30749
- onOpenNode: Ia,
30763
+ onOpenNode: Ma,
30750
30764
  onContextNode: Wu
30751
30765
  }, null, 8, ["storages", "recent", "starred", "loading", "locale", "name-filter", "thumb-src"])) : Nl.value === "notfound" ? (f(), p("div", IN, [
30752
30766
  u[81] || (u[81] = i("svg", {
@@ -30953,7 +30967,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
30953
30967
  ]))
30954
30968
  ]),
30955
30969
  _: 1
30956
- }, 8, ["api", "locale", "theme", "focused", "path", "root-path", "floor", "multi-root", "rows", "loading", "error", "order", "view-mode", "view-modes", "show-crumbs", "filter-mode", "find-label", "show-view-switcher", "folder-key", "show-parent-path", "clipped", "extra-filters", "can-write", "can-paste", "selected", "filters", "thumb-src", "keep-badge-for", "starred-ids", "star-enabled", "api-base", "auth-headers", "auth-credentials", "e2e-active", "body-override"]),
30970
+ }, 8, ["api", "locale", "theme", "focused", "path", "root-path", "floor", "multi-root", "rows", "loading", "error", "order", "view-mode", "view-modes", "open-trigger", "show-crumbs", "filter-mode", "find-label", "show-view-switcher", "folder-key", "show-parent-path", "clipped", "extra-filters", "can-write", "can-paste", "selected", "filters", "thumb-src", "keep-badge-for", "starred-ids", "star-enabled", "api-base", "auth-headers", "auth-credentials", "e2e-active", "body-override"]),
30957
30971
  Io.value && mn.value ? (f(), nt(Mh, {
30958
30972
  ref_key: "splitPaneRef",
30959
30973
  ref: St,
@@ -30977,6 +30991,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
30977
30991
  "nav-offers-trash": vu.value,
30978
30992
  "view-mode": kf.value,
30979
30993
  "view-modes": hl.value,
30994
+ "open-trigger": o.config.openTrigger,
30980
30995
  clipped: Pl.value,
30981
30996
  "can-write": Wa.value,
30982
30997
  "can-paste": !!ke.value.mode,
@@ -30993,7 +31008,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
30993
31008
  onActivate: u[24] || (u[24] = (Te) => Xa.value = "split"),
30994
31009
  onClose: db,
30995
31010
  onNavigate: ub,
30996
- onOpen: Ia,
31011
+ onOpen: Ma,
30997
31012
  onOpenTrash: pb,
30998
31013
  onClickRow: u[25] || (u[25] = (Te, pa) => tf("split", Te, pa)),
30999
31014
  onContext: u[26] || (u[26] = (Te, pa) => qu("split", Te, pa)),
@@ -31012,7 +31027,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
31012
31027
  onSelectAll: u[33] || (u[33] = (Te) => s(qt).selectAll()),
31013
31028
  onClearFilters: u[34] || (u[34] = (Te) => zr.value = { ...s(qn) }),
31014
31029
  onStarChange: he
31015
- }, null, 8, ["api", "locale", "theme", "focused", "path", "root-path", "floor", "multi-root", "trash-visible", "nav-offers-trash", "view-mode", "view-modes", "clipped", "can-write", "can-paste", "selected", "filters", "folder-key", "thumb-src", "keep-badge-for", "starred-ids", "star-enabled", "api-base", "auth-headers", "auth-credentials"])) : $("", !0)
31030
+ }, null, 8, ["api", "locale", "theme", "focused", "path", "root-path", "floor", "multi-root", "trash-visible", "nav-offers-trash", "view-mode", "view-modes", "open-trigger", "clipped", "can-write", "can-paste", "selected", "filters", "folder-key", "thumb-src", "keep-badge-for", "starred-ids", "star-enabled", "api-base", "auth-headers", "auth-credentials"])) : $("", !0)
31016
31031
  ])
31017
31032
  ]),
31018
31033
  le.value ? (f(), nt(Ez, {
@@ -31283,13 +31298,13 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
31283
31298
  onNav: $e,
31284
31299
  onClose: u[51] || (u[51] = (Te) => Ut.value = !1)
31285
31300
  }, null, 8, ["open", "locale", "file", "theme", "preview-url", "download-url", "only-office-base", "only-office-config-endpoint", "new-tab-enabled", "save-text-endpoint", "archive-list-endpoint", "open-mode", "auth-headers", "auth-credentials", "drawio-url", "pdf-worker-url", "pdf-save-url", "viewer-base-url", "index", "total", "nav-enabled", "share-enabled", "api-base"]),
31286
- hn.value && Ba.value && Kt.value ? (f(), nt(wF, {
31301
+ hn.value && Oa.value && Kt.value ? (f(), nt(wF, {
31287
31302
  key: 4,
31288
31303
  "convert-url": Kt.value,
31289
- "file-name": ((it = Ba.value) == null ? void 0 : it.basename) || ((ht = Ba.value) == null ? void 0 : ht.path) || "",
31304
+ "file-name": ((it = Oa.value) == null ? void 0 : it.basename) || ((ht = Oa.value) == null ? void 0 : ht.path) || "",
31290
31305
  "fetch-bytes": () => {
31291
31306
  var Te;
31292
- return s(r).fetchArrayBuffer(((Te = Ba.value) == null ? void 0 : Te.path) ?? "");
31307
+ return s(r).fetchArrayBuffer(((Te = Oa.value) == null ? void 0 : Te.path) ?? "");
31293
31308
  },
31294
31309
  upload: (Te) => s(r).uploadMultipart(mt(P.value), [Te]).then(() => {
31295
31310
  }),
@@ -31408,7 +31423,7 @@ const EF = ["aria-label"], MF = { class: "fe-share__head" }, AF = ["innerHTML"],
31408
31423
  "global-search": dy,
31409
31424
  onClose: u[64] || (u[64] = (Te) => Pi.value = !1),
31410
31425
  onOpenHit: uy,
31411
- onOpenNode: Ia,
31426
+ onOpenNode: Ma,
31412
31427
  onNavigate: u[65] || (u[65] = (Te) => lt(Te)),
31413
31428
  onNewFolder: u[66] || (u[66] = (Te) => Dt.value = !0),
31414
31429
  onUpload: In,
@@ -35249,7 +35264,7 @@ export {
35249
35264
  Ge as f,
35250
35265
  y as g,
35251
35266
  E as h,
35252
- Pa as i,
35267
+ Da as i,
35253
35268
  dt as j,
35254
35269
  $ as k,
35255
35270
  Je as l,
@@ -35266,4 +35281,4 @@ export {
35266
35281
  Ue as w,
35267
35282
  c7 as x
35268
35283
  };
35269
- //# sourceMappingURL=index-CN14lShK.js.map
35284
+ //# sourceMappingURL=index-CglojTSb.js.map