vuefinder 4.0.10 → 4.0.11

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 (2) hide show
  1. package/dist/vuefinder.js +164 -164
  2. package/package.json +1 -1
package/dist/vuefinder.js CHANGED
@@ -1,8 +1,8 @@
1
- import { inject as it, reactive as vt, watch as ie, ref as E, shallowRef as nn, computed as H, markRaw as Ln, defineComponent as X, onMounted as ue, nextTick as Te, createElementBlock as p, openBlock as v, withKeys as et, unref as s, createElementVNode as o, createCommentVNode as A, withModifiers as ae, renderSlot as ke, toDisplayString as y, createBlock as V, resolveDynamicComponent as on, withCtx as te, createVNode as z, Fragment as de, renderList as _e, withDirectives as fe, vModelText as tt, onUnmounted as Se, useTemplateRef as Re, createTextVNode as se, resolveComponent as sn, normalizeClass as Q, vModelCheckbox as Dt, customRef as Vn, Teleport as ft, normalizeStyle as Be, isRef as Rn, vModelSelect as xt, onBeforeUnmount as an, vModelRadio as kt, mergeProps as Me, toHandlers as Ne, vShow as Oe, normalizeProps as Ue, guardReactiveProps as He, onUpdated as Nn, mergeModels as Un, useModel as rn, Transition as Hn, provide as jn } from "vue";
1
+ import { inject as it, reactive as vt, watch as ie, ref as E, shallowRef as nn, computed as H, markRaw as Vn, defineComponent as X, onMounted as ue, nextTick as Te, createElementBlock as p, openBlock as v, withKeys as et, unref as s, createElementVNode as o, createCommentVNode as A, withModifiers as ae, renderSlot as ke, toDisplayString as y, createBlock as L, resolveDynamicComponent as on, withCtx as te, createVNode as z, Fragment as de, renderList as _e, withDirectives as fe, vModelText as tt, onUnmounted as Se, useTemplateRef as Re, createTextVNode as se, resolveComponent as sn, normalizeClass as Q, vModelCheckbox as Dt, customRef as Ln, Teleport as ft, normalizeStyle as Be, isRef as Rn, vModelSelect as xt, onBeforeUnmount as an, vModelRadio as kt, mergeProps as Me, toHandlers as Ne, vShow as Oe, normalizeProps as Ue, guardReactiveProps as He, onUpdated as Nn, mergeModels as Un, useModel as rn, Transition as Hn, provide as jn } from "vue";
2
2
  import Kn from "mitt";
3
3
  import { toast as oe, Toaster as qn } from "vue-sonner";
4
4
  import { persistentAtom as Wn } from "@nanostores/persistent";
5
- import { atom as xe, computed as Ve } from "nanostores";
5
+ import { atom as xe, computed as Le } from "nanostores";
6
6
  import { useStore as K } from "@nanostores/vue";
7
7
  import { QueryClient as Gn } from "@tanstack/vue-query";
8
8
  import Yn from "@uppy/core";
@@ -129,7 +129,7 @@ function jt() {
129
129
  function un(i) {
130
130
  return i ? i === "simple" || i === "advanced" ? { ...cn[i] } : { ...jt(), ...i } : jt();
131
131
  }
132
- const io = "4.0.10";
132
+ const io = "4.0.11";
133
133
  function Et(i, e, t, n, a) {
134
134
  return e = Math, t = e.log, n = 1024, a = t(i) / t(n) | 0, (i / e.pow(n, a)).toFixed(0) + " " + (a ? "KMGTPEZY"[--a] + "iB" : "B");
135
135
  }
@@ -210,7 +210,7 @@ const uo = (i, e = {}) => {
210
210
  encode: JSON.stringify,
211
211
  decode: JSON.parse
212
212
  }
213
- ), c = xe(d), _ = Ve(
213
+ ), c = xe(d), _ = Le(
214
214
  [r, c],
215
215
  (g, w) => ({
216
216
  ...g,
@@ -263,8 +263,8 @@ const fo = () => {
263
263
  type: "copy",
264
264
  path: "",
265
265
  items: /* @__PURE__ */ new Set()
266
- }), c = xe(null), _ = xe(0), m = xe(!1), h = xe([]), u = xe(-1), k = Ve([i], (T) => {
267
- const L = (T ?? "").trim(), N = L.indexOf("://"), W = N >= 0 ? L.slice(0, N) : "", he = (N >= 0 ? L.slice(N + 3) : L).split("/").filter(Boolean);
266
+ }), c = xe(null), _ = xe(0), m = xe(!1), h = xe([]), u = xe(-1), k = Le([i], (T) => {
267
+ const V = (T ?? "").trim(), N = V.indexOf("://"), W = N >= 0 ? V.slice(0, N) : "", he = (N >= 0 ? V.slice(N + 3) : V).split("/").filter(Boolean);
268
268
  let De = "";
269
269
  const je = he.map((Pe) => (De = De ? `${De}/${Pe}` : Pe, {
270
270
  basename: Pe,
@@ -272,17 +272,17 @@ const fo = () => {
272
272
  path: W ? `${W}://${De}` : De,
273
273
  type: "dir"
274
274
  }));
275
- return { storage: W, breadcrumb: je, path: L };
276
- }), F = Ve([n, a, l], (T, L, N) => {
275
+ return { storage: W, breadcrumb: je, path: V };
276
+ }), F = Le([n, a, l], (T, V, N) => {
277
277
  let W = T;
278
278
  N.kind === "files" ? W = W.filter((Pe) => Pe.type === "file") : N.kind === "folders" && (W = W.filter((Pe) => Pe.type === "dir")), N.showHidden || (W = W.filter((Pe) => !Pe.basename.startsWith(".")));
279
- const { active: ge, column: he, order: De } = L;
279
+ const { active: ge, column: he, order: De } = V;
280
280
  if (!ge || !he) return W;
281
281
  const je = De === "asc" ? 1 : -1;
282
282
  return W.slice().sort((Pe, zn) => vo(Pe[he], zn[he]) * je);
283
- }), P = Ve([n, d], (T, L) => L.size === 0 ? [] : T.filter((N) => L.has(N.path))), g = (T, L) => {
283
+ }), P = Le([n, d], (T, V) => V.size === 0 ? [] : T.filter((N) => V.has(N.path))), g = (T, V) => {
284
284
  const N = i.get();
285
- if ((L ?? !0) && N !== T) {
285
+ if ((V ?? !0) && N !== T) {
286
286
  const W = h.get(), ge = u.get();
287
287
  ge < W.length - 1 && W.splice(ge + 1), W.length === 0 && N && W.push(N), W.push(T), h.set([...W]), u.set(W.length - 1);
288
288
  }
@@ -291,12 +291,12 @@ const fo = () => {
291
291
  n.set(T ?? []);
292
292
  }, f = (T) => {
293
293
  e.set(T ?? []);
294
- }, b = (T, L) => {
295
- a.set({ active: !0, column: T, order: L });
294
+ }, b = (T, V) => {
295
+ a.set({ active: !0, column: T, order: V });
296
296
  }, S = (T) => {
297
- const L = a.get();
298
- L.active && L.column === T ? a.set({
299
- active: L.order === "asc",
297
+ const V = a.get();
298
+ V.active && V.column === T ? a.set({
299
+ active: V.order === "asc",
300
300
  column: T,
301
301
  order: "desc"
302
302
  }) : a.set({
@@ -306,29 +306,29 @@ const fo = () => {
306
306
  });
307
307
  }, x = () => {
308
308
  a.set({ active: !1, column: "", order: "" });
309
- }, O = (T, L) => {
310
- l.set({ kind: T, showHidden: L });
309
+ }, O = (T, V) => {
310
+ l.set({ kind: T, showHidden: V });
311
311
  }, I = () => {
312
312
  l.set({ kind: "all", showHidden: !1 });
313
- }, j = (T, L = "multiple") => {
313
+ }, j = (T, V = "multiple") => {
314
314
  const N = new Set(d.get());
315
- L === "single" && N.clear(), N.add(T), d.set(N), _.set(N.size);
315
+ V === "single" && N.clear(), N.add(T), d.set(N), _.set(N.size);
316
316
  }, B = (T) => {
317
- const L = new Set(d.get());
318
- L.delete(T), d.set(L), _.set(L.size);
319
- }, G = (T) => d.get().has(T), ce = (T, L = "multiple") => {
317
+ const V = new Set(d.get());
318
+ V.delete(T), d.set(V), _.set(V.size);
319
+ }, G = (T) => d.get().has(T), ce = (T, V = "multiple") => {
320
320
  const N = new Set(d.get());
321
- N.has(T) ? N.delete(T) : (L === "single" && N.clear(), N.add(T)), d.set(N), _.set(N.size);
322
- }, me = (T = "multiple", L) => {
321
+ N.has(T) ? N.delete(T) : (V === "single" && N.clear(), N.add(T)), d.set(N), _.set(N.size);
322
+ }, me = (T = "multiple", V) => {
323
323
  if (T === "single") {
324
324
  const N = n.get()[0];
325
325
  if (N) {
326
326
  const W = N.path;
327
327
  d.set(/* @__PURE__ */ new Set([W])), _.set(1);
328
328
  }
329
- } else if (L?.selectionFilterType || L?.selectionFilterMimeIncludes && L.selectionFilterMimeIncludes.length > 0) {
329
+ } else if (V?.selectionFilterType || V?.selectionFilterMimeIncludes && V.selectionFilterMimeIncludes.length > 0) {
330
330
  const N = n.get().filter((W) => {
331
- const ge = L.selectionFilterType, he = L.selectionFilterMimeIncludes;
331
+ const ge = V.selectionFilterType, he = V.selectionFilterMimeIncludes;
332
332
  return ge === "files" && W.type === "dir" || ge === "dirs" && W.type === "file" ? !1 : he && Array.isArray(he) && he.length > 0 && W.type !== "dir" ? W.mime_type ? he.some((De) => W.mime_type?.startsWith(De)) : !1 : !0;
333
333
  }).map((W) => W.path);
334
334
  d.set(new Set(N)), _.set(N.length);
@@ -339,46 +339,46 @@ const fo = () => {
339
339
  }, Z = () => {
340
340
  d.set(/* @__PURE__ */ new Set()), _.set(0);
341
341
  }, re = (T) => {
342
- const L = new Set(T ?? []);
343
- d.set(L), _.set(L.size);
342
+ const V = new Set(T ?? []);
343
+ d.set(V), _.set(V.size);
344
344
  }, ve = (T) => {
345
345
  _.set(T);
346
346
  }, Y = (T) => {
347
347
  m.set(!!T);
348
- }, C = () => m.get(), $ = (T, L) => {
349
- const N = n.get().filter((W) => L.has(W.path));
348
+ }, C = () => m.get(), $ = (T, V) => {
349
+ const N = n.get().filter((W) => V.has(W.path));
350
350
  r.set({
351
351
  type: T,
352
352
  path: k.get().path,
353
353
  items: new Set(N)
354
354
  });
355
- }, D = (T) => Ve([r], (L) => L.type === "cut" && Array.from(L.items).some((N) => N.path === T)), M = (T) => Ve([r], (L) => L.type === "copy" && Array.from(L.items).some((N) => N.path === T)), U = (T) => {
356
- const L = D(T);
357
- return K(L).value ?? !1;
355
+ }, D = (T) => Le([r], (V) => V.type === "cut" && Array.from(V.items).some((N) => N.path === T)), M = (T) => Le([r], (V) => V.type === "copy" && Array.from(V.items).some((N) => N.path === T)), U = (T) => {
356
+ const V = D(T);
357
+ return K(V).value ?? !1;
358
358
  }, q = (T) => {
359
- const L = M(T);
360
- return K(L).value ?? !1;
359
+ const V = M(T);
360
+ return K(V).value ?? !1;
361
361
  }, pe = () => {
362
362
  r.set({ type: "copy", path: "", items: /* @__PURE__ */ new Set() });
363
363
  }, le = () => r.get(), ze = (T) => {
364
364
  c.set(T);
365
- }, Le = () => c.get(), qe = () => {
365
+ }, Ve = () => c.get(), qe = () => {
366
366
  c.set(null);
367
367
  }, We = () => {
368
- const T = h.get(), L = u.get();
369
- if (L > 0) {
370
- const N = L - 1, W = T[N];
368
+ const T = h.get(), V = u.get();
369
+ if (V > 0) {
370
+ const N = V - 1, W = T[N];
371
371
  W && (u.set(N), g(W, !1));
372
372
  }
373
373
  }, bt = () => {
374
- const T = h.get(), L = u.get();
375
- if (L < T.length - 1) {
376
- const N = L + 1, W = T[N];
374
+ const T = h.get(), V = u.get();
375
+ if (V < T.length - 1) {
376
+ const N = V + 1, W = T[N];
377
377
  W && (u.set(N), g(W, !1));
378
378
  }
379
- }, ot = Ve([u], (T) => T > 0), st = Ve(
379
+ }, ot = Le([u], (T) => T > 0), st = Le(
380
380
  [h, u],
381
- (T, L) => L < T.length - 1
381
+ (T, V) => V < T.length - 1
382
382
  );
383
383
  return {
384
384
  // Atoms (state)
@@ -423,7 +423,7 @@ const fo = () => {
423
423
  clearClipboard: pe,
424
424
  getClipboard: le,
425
425
  setDraggedItem: ze,
426
- getDraggedItem: Le,
426
+ getDraggedItem: Ve,
427
427
  clearDraggedItem: qe,
428
428
  setReadOnly: (T) => {
429
429
  t.set(T);
@@ -923,7 +923,7 @@ class _n extends Mt {
923
923
  }
924
924
  async delete(e) {
925
925
  return this.validateParam(e.items, "items"), this.validateParam(e.path, "path"), await this.request(this.config.url.delete, {
926
- method: "DELETE",
926
+ method: "POST",
927
927
  body: JSON.stringify({ path: e.path, items: e.items })
928
928
  });
929
929
  }
@@ -1690,7 +1690,7 @@ const ho = (i, e) => {
1690
1690
  modal: ro(),
1691
1691
  // adapter for file operations (always wrapped with AdapterManager)
1692
1692
  // Use markRaw to prevent TanStack Query from being made reactive
1693
- adapter: Ln(c),
1693
+ adapter: Vn(c),
1694
1694
  // active features
1695
1695
  features: un(i.features),
1696
1696
  // selection mode
@@ -1788,7 +1788,7 @@ const ho = (i, e) => {
1788
1788
  setup(i) {
1789
1789
  return (e, t) => (v(), p("div", $o, [
1790
1790
  o("div", xo, [
1791
- (v(), V(on(i.icon), { class: "vuefinder__modal-header__icon" }))
1791
+ (v(), L(on(i.icon), { class: "vuefinder__modal-header__icon" }))
1792
1792
  ]),
1793
1793
  o("div", So, y(i.title), 1)
1794
1794
  ]));
@@ -1819,11 +1819,11 @@ const pn = { render: Fo }, Do = { class: "vuefinder__about-modal__content" }, Po
1819
1819
  class: "vuefinder__about-modal__link-btn",
1820
1820
  target: "_blank",
1821
1821
  rel: "noopener noreferrer"
1822
- }, Oo = { class: "vuefinder__about-modal__meta" }, Bo = { class: "vuefinder__about-modal__meta-item" }, zo = { class: "vuefinder__about-modal__meta-label" }, Lo = { class: "vuefinder__about-modal__meta-value" }, Vo = { class: "vuefinder__about-modal__meta-item" }, Ro = { class: "vuefinder__about-modal__meta-label" }, hn = /* @__PURE__ */ X({
1822
+ }, Oo = { class: "vuefinder__about-modal__meta" }, Bo = { class: "vuefinder__about-modal__meta-item" }, zo = { class: "vuefinder__about-modal__meta-label" }, Vo = { class: "vuefinder__about-modal__meta-value" }, Lo = { class: "vuefinder__about-modal__meta-item" }, Ro = { class: "vuefinder__about-modal__meta-label" }, hn = /* @__PURE__ */ X({
1823
1823
  __name: "ModalAbout",
1824
1824
  setup(i) {
1825
1825
  const e = J(), { t } = e.i18n;
1826
- return (n, a) => (v(), V(Fe, null, {
1826
+ return (n, a) => (v(), L(Fe, null, {
1827
1827
  buttons: te(() => [
1828
1828
  o("button", {
1829
1829
  type: "button",
@@ -1853,9 +1853,9 @@ const pn = { render: Fo }, Do = { class: "vuefinder__about-modal__content" }, Po
1853
1853
  o("div", Oo, [
1854
1854
  o("div", Bo, [
1855
1855
  o("span", zo, y(s(t)("Version")), 1),
1856
- o("span", Lo, y(s(e).version), 1)
1856
+ o("span", Vo, y(s(e).version), 1)
1857
1857
  ]),
1858
- o("div", Vo, [
1858
+ o("div", Lo, [
1859
1859
  o("span", Ro, y(s(t)("License")), 1),
1860
1860
  a[2] || (a[2] = o("span", { class: "vuefinder__about-modal__meta-value" }, "MIT", -1))
1861
1861
  ])
@@ -1910,7 +1910,7 @@ const mn = { render: Uo }, Ho = { class: "vuefinder__delete-modal__content" }, j
1910
1910
  oe.error(Ce(r, t("Failed to delete files")));
1911
1911
  });
1912
1912
  };
1913
- return (r, c) => (v(), V(Fe, null, {
1913
+ return (r, c) => (v(), L(Fe, null, {
1914
1914
  buttons: te(() => [
1915
1915
  o("button", {
1916
1916
  type: "button",
@@ -2002,7 +2002,7 @@ const gn = { render: Jo }, Zo = { class: "vuefinder__rename-modal__content" }, e
2002
2002
  oe.error(Ce(c, t("Failed to rename")));
2003
2003
  });
2004
2004
  };
2005
- return (c, _) => (v(), V(Fe, null, {
2005
+ return (c, _) => (v(), L(Fe, null, {
2006
2006
  buttons: te(() => [
2007
2007
  o("button", {
2008
2008
  type: "button",
@@ -2366,7 +2366,7 @@ const vs = { class: "vuefinder__image-preview" }, fs = { class: "vuefinder__imag
2366
2366
  ])
2367
2367
  ]),
2368
2368
  o("div", hs, [
2369
- d.value ? (v(), V(s(Qn), {
2369
+ d.value ? (v(), L(s(Qn), {
2370
2370
  key: 1,
2371
2371
  ref_key: "cropperRef",
2372
2372
  ref: F,
@@ -2485,7 +2485,7 @@ const Je = { render: ys }, bs = { class: "vuefinder__default-preview" }, ks = {
2485
2485
  ])
2486
2486
  ]));
2487
2487
  }
2488
- }), Ls = { class: "vuefinder__pdf-preview" }, Vs = ["title"], Rs = ["data"], Ns = ["src"], Us = /* @__PURE__ */ X({
2488
+ }), Vs = { class: "vuefinder__pdf-preview" }, Ls = ["title"], Rs = ["data"], Ns = ["src"], Us = /* @__PURE__ */ X({
2489
2489
  __name: "Pdf",
2490
2490
  emits: ["success"],
2491
2491
  setup(i, { emit: e }) {
@@ -2495,12 +2495,12 @@ const Je = { render: ys }, bs = { class: "vuefinder__default-preview" }, ks = {
2495
2495
  };
2496
2496
  return ue(() => {
2497
2497
  n("success");
2498
- }), (l, d) => (v(), p("div", Ls, [
2498
+ }), (l, d) => (v(), p("div", Vs, [
2499
2499
  o("h3", {
2500
2500
  id: "modal-title",
2501
2501
  class: "vuefinder__pdf-preview__title",
2502
2502
  title: s(t).modal.data.item.path
2503
- }, y(s(t).modal.data.item.basename), 9, Vs),
2503
+ }, y(s(t).modal.data.item.basename), 9, Ls),
2504
2504
  o("div", null, [
2505
2505
  o("object", {
2506
2506
  class: "vuefinder__pdf-preview__object",
@@ -2583,7 +2583,7 @@ const js = {
2583
2583
  return ue(() => {
2584
2584
  const f = document.querySelector(".vuefinder__preview-modal");
2585
2585
  f && f.focus();
2586
- }), (f, b) => (v(), V(Fe, null, {
2586
+ }), (f, b) => (v(), L(Fe, null, {
2587
2587
  buttons: te(() => [
2588
2588
  o("button", {
2589
2589
  type: "button",
@@ -2640,22 +2640,22 @@ const js = {
2640
2640
  ])),
2641
2641
  o("div", Ws, [
2642
2642
  s(c) ? (v(), p("div", Gs, [
2643
- r("text") ? (v(), V(us, {
2643
+ r("text") ? (v(), L(us, {
2644
2644
  key: `text-${_.value.path}`,
2645
2645
  onSuccess: b[0] || (b[0] = (S) => a.value = !0)
2646
- })) : r("image") ? (v(), V(gs, {
2646
+ })) : r("image") ? (v(), L(gs, {
2647
2647
  key: `image-${_.value.path}`,
2648
2648
  onSuccess: b[1] || (b[1] = (S) => a.value = !0)
2649
- })) : r("video") ? (v(), V(Ts, {
2649
+ })) : r("video") ? (v(), L(Ts, {
2650
2650
  key: `video-${_.value.path}`,
2651
2651
  onSuccess: b[2] || (b[2] = (S) => a.value = !0)
2652
- })) : r("audio") ? (v(), V(zs, {
2652
+ })) : r("audio") ? (v(), L(zs, {
2653
2653
  key: `audio-${_.value.path}`,
2654
2654
  onSuccess: b[3] || (b[3] = (S) => a.value = !0)
2655
- })) : r("application/pdf") ? (v(), V(Us, {
2655
+ })) : r("application/pdf") ? (v(), L(Us, {
2656
2656
  key: `pdf-${_.value.path}`,
2657
2657
  onSuccess: b[4] || (b[4] = (S) => a.value = !0)
2658
- })) : (v(), V(Fs, {
2658
+ })) : (v(), L(Fs, {
2659
2659
  key: `default-${_.value.path}`,
2660
2660
  onSuccess: b[5] || (b[5] = (S) => a.value = !0)
2661
2661
  }))
@@ -2886,10 +2886,10 @@ const Ot = { render: gi }, wi = { class: "vuefinder__modal-tree__folder-item" },
2886
2886
  class: "vuefinder__modal-tree__folder-toggle",
2887
2887
  onClick: u
2888
2888
  }, [
2889
- r.value ? (v(), V(s(wt), {
2889
+ r.value ? (v(), L(s(wt), {
2890
2890
  key: 1,
2891
2891
  class: "vuefinder__modal-tree__folder-toggle-icon"
2892
- })) : (v(), V(s(gt), {
2892
+ })) : (v(), L(s(gt), {
2893
2893
  key: 0,
2894
2894
  class: "vuefinder__modal-tree__folder-toggle-icon"
2895
2895
  }))
@@ -2903,10 +2903,10 @@ const Ot = { render: gi }, wi = { class: "vuefinder__modal-tree__folder-item" },
2903
2903
  onDblclick: F,
2904
2904
  onTouchend: g
2905
2905
  }, [
2906
- r.value ? (v(), V(s(Ot), {
2906
+ r.value ? (v(), L(s(Ot), {
2907
2907
  key: 1,
2908
2908
  class: "vuefinder__item-icon__folder--open vuefinder__modal-tree__folder-icon"
2909
- })) : (v(), V(s(Ae), {
2909
+ })) : (v(), L(s(Ae), {
2910
2910
  key: 0,
2911
2911
  class: "vuefinder__modal-tree__folder-icon vuefinder__item-icon__folder"
2912
2912
  })),
@@ -2914,7 +2914,7 @@ const Ot = { render: gi }, wi = { class: "vuefinder__modal-tree__folder-item" },
2914
2914
  ], 34)
2915
2915
  ]),
2916
2916
  r.value && h.value ? (v(), p("div", $i, [
2917
- (v(!0), p(de, null, _e(m.value, (S) => (v(), V(b, {
2917
+ (v(!0), p(de, null, _e(m.value, (S) => (v(), L(b, {
2918
2918
  key: S.path,
2919
2919
  folder: S,
2920
2920
  storage: i.storage,
@@ -2933,7 +2933,7 @@ const Ot = { render: gi }, wi = { class: "vuefinder__modal-tree__folder-item" },
2933
2933
  }), Ci = { class: "vuefinder__modal-tree" }, Fi = { class: "vuefinder__modal-tree__header" }, Di = { class: "vuefinder__modal-tree__title" }, Pi = {
2934
2934
  key: 0,
2935
2935
  class: "vuefinder__modal-tree__section"
2936
- }, Ei = { class: "vuefinder__modal-tree__section-title" }, Mi = { class: "vuefinder__modal-tree__list" }, Ti = ["onClick", "onDblclick", "onTouchend"], Ii = { class: "vuefinder__modal-tree__text" }, Ai = { class: "vuefinder__modal-tree__text-storage" }, Oi = { class: "vuefinder__modal-tree__section-title" }, Bi = { class: "vuefinder__modal-tree__list" }, zi = { class: "vuefinder__modal-tree__storage-item" }, Li = { class: "vuefinder__modal-tree__storage-content" }, Vi = ["onClick"], Ri = ["onClick", "onDblclick", "onTouchend"], Ni = { class: "vuefinder__modal-tree__storage-text" }, Ui = {
2936
+ }, Ei = { class: "vuefinder__modal-tree__section-title" }, Mi = { class: "vuefinder__modal-tree__list" }, Ti = ["onClick", "onDblclick", "onTouchend"], Ii = { class: "vuefinder__modal-tree__text" }, Ai = { class: "vuefinder__modal-tree__text-storage" }, Oi = { class: "vuefinder__modal-tree__section-title" }, Bi = { class: "vuefinder__modal-tree__list" }, zi = { class: "vuefinder__modal-tree__storage-item" }, Vi = { class: "vuefinder__modal-tree__storage-content" }, Li = ["onClick"], Ri = ["onClick", "onDblclick", "onTouchend"], Ni = { class: "vuefinder__modal-tree__storage-text" }, Ui = {
2937
2937
  key: 0,
2938
2938
  class: "vuefinder__modal-tree__subfolders"
2939
2939
  }, Qt = 300, Bt = /* @__PURE__ */ X({
@@ -3049,19 +3049,19 @@ const Ot = { render: gi }, wi = { class: "vuefinder__modal-tree__folder-item" },
3049
3049
  }, [
3050
3050
  o("div", Bi, [
3051
3051
  o("div", zi, [
3052
- o("div", Li, [
3052
+ o("div", Vi, [
3053
3053
  o("div", {
3054
3054
  class: "vuefinder__modal-tree__storage-toggle",
3055
3055
  onClick: ae((G) => F(B, B + "://"), ["stop"])
3056
3056
  }, [
3057
- u.value[`${B}:${B}://`] ? (v(), V(s(wt), {
3057
+ u.value[`${B}:${B}://`] ? (v(), L(s(wt), {
3058
3058
  key: 1,
3059
3059
  class: "vuefinder__modal-tree__toggle-icon"
3060
- })) : (v(), V(s(gt), {
3060
+ })) : (v(), L(s(gt), {
3061
3061
  key: 0,
3062
3062
  class: "vuefinder__modal-tree__toggle-icon"
3063
3063
  }))
3064
- ], 8, Vi),
3064
+ ], 8, Li),
3065
3065
  o("div", {
3066
3066
  class: Q(["vuefinder__modal-tree__storage-link", {
3067
3067
  "vuefinder__modal-tree__storage-link--selected": i.modelValue?.path === B + "://"
@@ -3075,7 +3075,7 @@ const Ot = { render: gi }, wi = { class: "vuefinder__modal-tree__folder-item" },
3075
3075
  ], 42, Ri)
3076
3076
  ]),
3077
3077
  u.value[`${B}:${B}://`] ? (v(), p("div", Ui, [
3078
- (v(!0), p(de, null, _e(P(B + "://"), (G) => (v(), V(Si, {
3078
+ (v(!0), p(de, null, _e(P(B + "://"), (G) => (v(), L(Si, {
3079
3079
  key: G.path,
3080
3080
  folder: G,
3081
3081
  storage: B,
@@ -3185,7 +3185,7 @@ const Ot = { render: gi }, wi = { class: "vuefinder__modal-tree__folder-item" },
3185
3185
  e.fs.setFiles(x), e.modal.close();
3186
3186
  }
3187
3187
  };
3188
- return (x, O) => (v(), V(Fe, null, {
3188
+ return (x, O) => (v(), L(Fe, null, {
3189
3189
  buttons: te(() => [
3190
3190
  o("button", {
3191
3191
  type: "button",
@@ -3214,10 +3214,10 @@ const Ot = { render: gi }, wi = { class: "vuefinder__modal-tree__folder-item" },
3214
3214
  class: "vuefinder__move-modal__file"
3215
3215
  }, [
3216
3216
  o("div", null, [
3217
- I.type === "dir" ? (v(), V(s(Ae), {
3217
+ I.type === "dir" ? (v(), L(s(Ae), {
3218
3218
  key: 0,
3219
3219
  class: "vuefinder__move-modal__icon vuefinder__move-modal__icon--dir"
3220
- })) : (v(), V(s(Je), {
3220
+ })) : (v(), L(s(Je), {
3221
3221
  key: 1,
3222
3222
  class: "vuefinder__move-modal__icon"
3223
3223
  }))
@@ -3266,7 +3266,7 @@ const Ot = { render: gi }, wi = { class: "vuefinder__modal-tree__folder-item" },
3266
3266
  o("span", na, y(s(n)("Create a copy instead of moving")), 1)
3267
3267
  ])
3268
3268
  ])) : A("", !0),
3269
- f.value ? (v(), V(Ct, {
3269
+ f.value ? (v(), L(Ct, {
3270
3270
  key: 1,
3271
3271
  error: ""
3272
3272
  }, {
@@ -3275,7 +3275,7 @@ const Ot = { render: gi }, wi = { class: "vuefinder__modal-tree__folder-item" },
3275
3275
  ]),
3276
3276
  _: 1
3277
3277
  })) : A("", !0),
3278
- r.value.length && !f.value ? (v(), V(Ct, {
3278
+ r.value.length && !f.value ? (v(), L(Ct, {
3279
3279
  key: 2,
3280
3280
  error: "",
3281
3281
  onHidden: O[3] || (O[3] = (I) => r.value = "")
@@ -3294,12 +3294,12 @@ const Ot = { render: gi }, wi = { class: "vuefinder__modal-tree__folder-item" },
3294
3294
  }), Ge = /* @__PURE__ */ X({
3295
3295
  __name: "ModalMove",
3296
3296
  setup(i) {
3297
- return (e, t) => (v(), V(bn, { copy: !1 }));
3297
+ return (e, t) => (v(), L(bn, { copy: !1 }));
3298
3298
  }
3299
3299
  }), zt = /* @__PURE__ */ X({
3300
3300
  __name: "ModalCopy",
3301
3301
  setup(i) {
3302
- return (e, t) => (v(), V(bn, { copy: !0 }));
3302
+ return (e, t) => (v(), L(bn, { copy: !0 }));
3303
3303
  }
3304
3304
  }), ia = (i, e = 0, t = !1) => {
3305
3305
  let n;
@@ -3310,7 +3310,7 @@ const Ot = { render: gi }, wi = { class: "vuefinder__modal-tree__folder-item" },
3310
3310
  };
3311
3311
  }, kn = (i, e, t) => {
3312
3312
  const n = E(i);
3313
- return Vn((a, l) => ({
3313
+ return Ln((a, l) => ({
3314
3314
  get() {
3315
3315
  return a(), n.value;
3316
3316
  },
@@ -3332,7 +3332,7 @@ function ra(i, e) {
3332
3332
  o("path", { d: "m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607" }, null, -1)
3333
3333
  ])]);
3334
3334
  }
3335
- const Lt = { render: ra }, la = {
3335
+ const Vt = { render: ra }, la = {
3336
3336
  xmlns: "http://www.w3.org/2000/svg",
3337
3337
  fill: "none",
3338
3338
  class: "animate-spin p-0.5 h-5 w-5 text-white ml-auto",
@@ -3379,7 +3379,7 @@ const yt = { render: da }, ca = { class: "vuefinder__search-modal__search-input"
3379
3379
  d.value && d.value.focus();
3380
3380
  }
3381
3381
  }), (_, m) => (v(), p("div", ca, [
3382
- z(s(Lt), { class: "vuefinder__search-modal__search-icon" }),
3382
+ z(s(Vt), { class: "vuefinder__search-modal__search-icon" }),
3383
3383
  o("input", {
3384
3384
  ref_key: "searchInput",
3385
3385
  ref: d,
@@ -3542,7 +3542,7 @@ const $n = { render: pa }, ha = ["disabled", "title"], ma = ["data-theme"], ga =
3542
3542
  }, [
3543
3543
  z(s($n), { class: "vuefinder__search-modal__dropdown-icon" })
3544
3544
  ], 10, ha),
3545
- (v(), V(ft, { to: "body" }, [
3545
+ (v(), L(ft, { to: "body" }, [
3546
3546
  i.visible ? (v(), p("div", {
3547
3547
  key: 0,
3548
3548
  ref_key: "dropdownContent",
@@ -3667,7 +3667,7 @@ function Pa(i, e) {
3667
3667
  const Cn = { render: Pa }, Ea = ["title"], Ma = { class: "vuefinder__search-modal__result-icon" }, Ta = { class: "vuefinder__search-modal__result-content" }, Ia = { class: "vuefinder__search-modal__result-name" }, Aa = {
3668
3668
  key: 0,
3669
3669
  class: "vuefinder__search-modal__result-size"
3670
- }, Oa = ["title"], Ba = ["title"], za = ["data-item-dropdown", "data-theme"], La = { class: "vuefinder__search-modal__item-dropdown-content" }, Va = /* @__PURE__ */ X({
3670
+ }, Oa = ["title"], Ba = ["title"], za = ["data-item-dropdown", "data-theme"], Va = { class: "vuefinder__search-modal__item-dropdown-content" }, La = /* @__PURE__ */ X({
3671
3671
  name: "SearchResultItem",
3672
3672
  __name: "SearchResultItem",
3673
3673
  props: {
@@ -3779,7 +3779,7 @@ const Cn = { render: Pa }, Ea = ["title"], Ma = { class: "vuefinder__search-moda
3779
3779
  onClick: f[9] || (f[9] = (b) => n("select", i.index))
3780
3780
  }, [
3781
3781
  o("div", Ma, [
3782
- i.item.type === "dir" ? (v(), V(s(Ae), { key: 0 })) : (v(), V(s(Je), { key: 1 }))
3782
+ i.item.type === "dir" ? (v(), L(s(Ae), { key: 0 })) : (v(), L(s(Je), { key: 1 }))
3783
3783
  ]),
3784
3784
  o("div", Ta, [
3785
3785
  o("div", Ia, [
@@ -3805,7 +3805,7 @@ const Cn = { render: Pa }, Ea = ["title"], Ma = { class: "vuefinder__search-moda
3805
3805
  }, [
3806
3806
  z(s(Cn), { class: "vuefinder__search-modal__result-actions-icon" })
3807
3807
  ], 8, Ba),
3808
- (v(), V(ft, { to: "body" }, [
3808
+ (v(), L(ft, { to: "body" }, [
3809
3809
  i.activeDropdown === i.item.path ? (v(), p("div", {
3810
3810
  key: 0,
3811
3811
  "data-item-dropdown": i.item.path,
@@ -3816,7 +3816,7 @@ const Cn = { render: Pa }, Ea = ["title"], Ma = { class: "vuefinder__search-moda
3816
3816
  }, ["stop"])),
3817
3817
  onKeydown: g
3818
3818
  }, [
3819
- o("div", La, [
3819
+ o("div", Va, [
3820
3820
  o("div", {
3821
3821
  class: Q(["vuefinder__search-modal__item-dropdown-option", {
3822
3822
  "vuefinder__search-modal__item-dropdown-option--selected": i.selectedItemDropdownOption === `copy-path-${i.item.path}`
@@ -3964,7 +3964,7 @@ const Cn = { render: Pa }, Ea = ["title"], Ma = { class: "vuefinder__search-moda
3964
3964
  height: `${Ke}px`
3965
3965
  })
3966
3966
  }, [
3967
- z(Va, {
3967
+ z(La, {
3968
3968
  item: x.item,
3969
3969
  index: x.index,
3970
3970
  "selected-index": i.selectedIndex,
@@ -3994,7 +3994,7 @@ const Cn = { render: Pa }, Ea = ["title"], Ma = { class: "vuefinder__search-moda
3994
3994
  }, Za = { class: "vuefinder__search-modal__folder-selector-content" }, er = {
3995
3995
  key: 1,
3996
3996
  class: "vuefinder__search-modal__instructions"
3997
- }, tr = { class: "vuefinder__search-modal__instructions-text" }, Vt = /* @__PURE__ */ X({
3997
+ }, tr = { class: "vuefinder__search-modal__instructions-text" }, Lt = /* @__PURE__ */ X({
3998
3998
  name: "ModalSearch",
3999
3999
  __name: "ModalSearch",
4000
4000
  setup(i) {
@@ -4070,11 +4070,11 @@ const Cn = { render: Pa }, Ea = ["title"], Ma = { class: "vuefinder__search-moda
4070
4070
  !M && !U && I();
4071
4071
  }
4072
4072
  };
4073
- return ($, D) => (v(), V(Fe, { class: "vuefinder__search-modal-layout" }, {
4073
+ return ($, D) => (v(), L(Fe, { class: "vuefinder__search-modal-layout" }, {
4074
4074
  default: te(() => [
4075
4075
  o("div", qa, [
4076
4076
  z(Ee, {
4077
- icon: s(Lt),
4077
+ icon: s(Vt),
4078
4078
  title: s(t)("Search files")
4079
4079
  }, null, 8, ["icon", "title"]),
4080
4080
  o("div", Wa, [
@@ -4158,7 +4158,7 @@ const Cn = { render: Pa }, Ea = ["title"], Ma = { class: "vuefinder__search-moda
4158
4158
  !s(r).trim() && !u.value ? (v(), p("div", er, [
4159
4159
  o("p", tr, y(s(t)("Start typing to search files. Use options to filter or include subfolders.")), 1)
4160
4160
  ])) : A("", !0),
4161
- s(r).trim() && !u.value ? (v(), V(Ka, {
4161
+ s(r).trim() && !u.value ? (v(), L(Ka, {
4162
4162
  key: 2,
4163
4163
  ref_key: "searchResultsListRef",
4164
4164
  ref: d,
@@ -4252,7 +4252,7 @@ const Ye = /* @__PURE__ */ or(nr, [["render", ir]]), ar = [
4252
4252
  }, Or = {
4253
4253
  key: 3,
4254
4254
  class: "vuefinder__about-modal__setting"
4255
- }, Br = { class: "vuefinder__about-modal__setting-input justify-end" }, zr = ["label"], Lr = ["value"], Vr = { class: "vuefinder__about-modal__tab-content" }, Rr = { class: "vuefinder__about-modal__settings__section-title" }, Nr = { class: "vuefinder__about-modal__description" }, Fn = /* @__PURE__ */ X({
4255
+ }, Br = { class: "vuefinder__about-modal__setting-input justify-end" }, zr = ["label"], Vr = ["value"], Lr = { class: "vuefinder__about-modal__tab-content" }, Rr = { class: "vuefinder__about-modal__settings__section-title" }, Nr = { class: "vuefinder__about-modal__description" }, Fn = /* @__PURE__ */ X({
4256
4256
  __name: "ModalSettings",
4257
4257
  setup(i) {
4258
4258
  const e = J(), { enabled: t } = Ie(), n = e.config, { clearStore: a } = e.storage, { t: l } = e.i18n, d = K(n.state), r = H(() => d.value.theme || "silver"), c = async () => {
@@ -4287,7 +4287,7 @@ const Ye = /* @__PURE__ */ or(nr, [["render", ir]]), ar = [
4287
4287
  tr: "Turkish (Türkçe)"
4288
4288
  }).filter(([g]) => Object.keys(k).includes(g))
4289
4289
  );
4290
- return (g, w) => (v(), V(Fe, null, {
4290
+ return (g, w) => (v(), L(Fe, null, {
4291
4291
  buttons: te(() => [
4292
4292
  o("button", {
4293
4293
  type: "button",
@@ -4421,7 +4421,7 @@ const Ye = /* @__PURE__ */ or(nr, [["render", ir]]), ar = [
4421
4421
  (v(!0), p(de, null, _e(s(P), (f, b) => (v(), p("option", {
4422
4422
  key: b,
4423
4423
  value: b
4424
- }, y(f), 9, Lr))), 128))
4424
+ }, y(f), 9, Vr))), 128))
4425
4425
  ], 8, zr)
4426
4426
  ], 512), [
4427
4427
  [xt, s(e).i18n.locale]
@@ -4439,7 +4439,7 @@ const Ye = /* @__PURE__ */ or(nr, [["render", ir]]), ar = [
4439
4439
  ])) : A("", !0)
4440
4440
  ])
4441
4441
  ]),
4442
- o("div", Vr, [
4442
+ o("div", Lr, [
4443
4443
  o("div", Rr, y(s(l)("Reset")), 1),
4444
4444
  o("div", Nr, y(s(l)("Reset all settings to default")), 1),
4445
4445
  o("button", {
@@ -4472,7 +4472,7 @@ const Ye = /* @__PURE__ */ or(nr, [["render", ir]]), ar = [
4472
4472
  function Ur() {
4473
4473
  const i = J(), e = i.fs, t = i.config, { enabled: n } = Ie(), a = K(e.path), l = K(e.selectedItems), d = (r) => {
4474
4474
  if (r.code === $e.ESCAPE && (i.modal.close(), i.root.focus()), !i.modal.visible) {
4475
- if (r.metaKey && r.code === $e.KEY_R && !r.shiftKey && (i.adapter.invalidateListQuery(a.value.path), i.adapter.open(a.value.path), r.preventDefault()), r.metaKey && r.shiftKey && r.code === $e.KEY_R && n("rename") && l.value.length === 1 && (i.modal.open(ht, { items: l.value }), r.preventDefault()), r.code === $e.DELETE && l.value.length !== 0 && i.modal.open(pt, { items: l.value }), r.metaKey && r.code === $e.BACKSLASH && i.modal.open(hn), r.metaKey && r.code === $e.KEY_F && n("search") && (i.modal.open(Vt), r.preventDefault()), r.metaKey && r.code === $e.KEY_E && (t.toggle("showTreeView"), r.preventDefault()), r.metaKey && r.code === $e.KEY_S && (i.modal.open(Fn), r.preventDefault()), r.metaKey && r.code === $e.ENTER && (t.toggle("fullScreen"), i.root.focus()), r.metaKey && r.code === $e.KEY_A && (e.selectAll(i.selectionMode || "multiple", i), r.preventDefault()), r.code === $e.SPACE && l.value.length === 1 && l.value[0]?.type !== "dir" && i.modal.open(mt, {
4475
+ if (r.metaKey && r.code === $e.KEY_R && !r.shiftKey && (i.adapter.invalidateListQuery(a.value.path), i.adapter.open(a.value.path), r.preventDefault()), r.metaKey && r.shiftKey && r.code === $e.KEY_R && n("rename") && l.value.length === 1 && (i.modal.open(ht, { items: l.value }), r.preventDefault()), r.code === $e.DELETE && l.value.length !== 0 && i.modal.open(pt, { items: l.value }), r.metaKey && r.code === $e.BACKSLASH && i.modal.open(hn), r.metaKey && r.code === $e.KEY_F && n("search") && (i.modal.open(Lt), r.preventDefault()), r.metaKey && r.code === $e.KEY_E && (t.toggle("showTreeView"), r.preventDefault()), r.metaKey && r.code === $e.KEY_S && (i.modal.open(Fn), r.preventDefault()), r.metaKey && r.code === $e.ENTER && (t.toggle("fullScreen"), i.root.focus()), r.metaKey && r.code === $e.KEY_A && (e.selectAll(i.selectionMode || "multiple", i), r.preventDefault()), r.code === $e.SPACE && l.value.length === 1 && l.value[0]?.type !== "dir" && i.modal.open(mt, {
4476
4476
  storage: e.path.get().storage,
4477
4477
  item: l.value[0]
4478
4478
  }), r.metaKey && r.code === $e.KEY_C && n("copy")) {
@@ -4611,7 +4611,7 @@ const Dn = { render: Kr }, qr = { class: "vuefinder__new-folder-modal__content"
4611
4611
  oe.error(Ce(r, t("Failed to create folder")));
4612
4612
  });
4613
4613
  };
4614
- return (r, c) => (v(), V(Fe, null, {
4614
+ return (r, c) => (v(), L(Fe, null, {
4615
4615
  buttons: te(() => [
4616
4616
  o("button", {
4617
4617
  type: "button",
@@ -4675,7 +4675,7 @@ const Pn = { render: Xr }, Jr = { class: "vuefinder__new-file-modal__content" },
4675
4675
  oe.error(Ce(r, t("Failed to create file")));
4676
4676
  });
4677
4677
  };
4678
- return (r, c) => (v(), V(Fe, null, {
4678
+ return (r, c) => (v(), L(Fe, null, {
4679
4679
  buttons: te(() => [
4680
4680
  o("button", {
4681
4681
  type: "button",
@@ -4796,7 +4796,7 @@ const Mn = { render: ol }, sl = { class: "vuefinder__upload-modal__content relat
4796
4796
  const $ = C.target, D = re.value?.contains($) ?? !1, M = ve.value?.contains($) ?? !1;
4797
4797
  !D && !M && (Z.value = !1);
4798
4798
  };
4799
- return ue(() => document.addEventListener("click", Y)), Se(() => document.removeEventListener("click", Y)), (C, $) => (v(), V(Fe, {
4799
+ return ue(() => document.addEventListener("click", Y)), Se(() => document.removeEventListener("click", Y)), (C, $) => (v(), L(Fe, {
4800
4800
  "show-drag-overlay": s(w),
4801
4801
  "drag-overlay-text": s(t)("Drag and drop the files/folders to here.")
4802
4802
  }, {
@@ -5040,7 +5040,7 @@ const Mn = { render: ol }, sl = { class: "vuefinder__upload-modal__content relat
5040
5040
  ]))), 128)),
5041
5041
  s(F).length ? A("", !0) : (v(), p("div", yl, y(s(t)("No files selected!")), 1))
5042
5042
  ]),
5043
- s(P).length ? (v(), V(Ct, {
5043
+ s(P).length ? (v(), L(Ct, {
5044
5044
  key: 0,
5045
5045
  error: "",
5046
5046
  onHidden: $[2] || ($[2] = (D) => P.value = "")
@@ -5112,7 +5112,7 @@ const Tn = { render: Fl }, Dl = { class: "vuefinder__unarchive-modal__content" }
5112
5112
  oe.error(Ce(c, a("Failed to unarchive")));
5113
5113
  });
5114
5114
  };
5115
- return (c, _) => (v(), V(Fe, null, {
5115
+ return (c, _) => (v(), L(Fe, null, {
5116
5116
  buttons: te(() => [
5117
5117
  o("button", {
5118
5118
  type: "button",
@@ -5171,7 +5171,7 @@ function Ol(i, e) {
5171
5171
  o("path", { d: "m20.25 7.5-.625 10.632a2.25 2.25 0 0 1-2.247 2.118H6.622a2.25 2.25 0 0 1-2.247-2.118L3.75 7.5M10 11.25h4M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125" }, null, -1)
5172
5172
  ])]);
5173
5173
  }
5174
- const In = { render: Ol }, Bl = { class: "vuefinder__archive-modal__content" }, zl = { class: "vuefinder__archive-modal__form" }, Ll = { class: "vuefinder__archive-modal__files vf-scrollbar" }, Vl = {
5174
+ const In = { render: Ol }, Bl = { class: "vuefinder__archive-modal__content" }, zl = { class: "vuefinder__archive-modal__form" }, Vl = { class: "vuefinder__archive-modal__files vf-scrollbar" }, Ll = {
5175
5175
  key: 0,
5176
5176
  class: "vuefinder__archive-modal__icon vuefinder__archive-modal__icon--dir",
5177
5177
  xmlns: "http://www.w3.org/2000/svg",
@@ -5204,7 +5204,7 @@ const In = { render: Ol }, Bl = { class: "vuefinder__archive-modal__content" },
5204
5204
  oe.error(Ce(c, t("Failed to archive files")));
5205
5205
  });
5206
5206
  };
5207
- return (c, _) => (v(), V(Fe, null, {
5207
+ return (c, _) => (v(), L(Fe, null, {
5208
5208
  buttons: te(() => [
5209
5209
  o("button", {
5210
5210
  type: "button",
@@ -5225,12 +5225,12 @@ const In = { render: Ol }, Bl = { class: "vuefinder__archive-modal__content" },
5225
5225
  }, null, 8, ["icon", "title"]),
5226
5226
  o("div", Bl, [
5227
5227
  o("div", zl, [
5228
- o("div", Ll, [
5228
+ o("div", Vl, [
5229
5229
  (v(!0), p(de, null, _e(d.value, (m) => (v(), p("p", {
5230
5230
  key: m.path,
5231
5231
  class: "vuefinder__archive-modal__file"
5232
5232
  }, [
5233
- m.type === "dir" ? (v(), p("svg", Vl, [..._[2] || (_[2] = [
5233
+ m.type === "dir" ? (v(), p("svg", Ll, [..._[2] || (_[2] = [
5234
5234
  o("path", {
5235
5235
  "stroke-linecap": "round",
5236
5236
  "stroke-linejoin": "round",
@@ -5290,7 +5290,7 @@ const In = { render: Ol }, Bl = { class: "vuefinder__archive-modal__content" },
5290
5290
  __name: "ModalShortcuts",
5291
5291
  setup(i) {
5292
5292
  const e = J(), { enabled: t } = Ie(), { t: n } = e.i18n;
5293
- return (a, l) => (v(), V(Fe, null, {
5293
+ return (a, l) => (v(), L(Fe, null, {
5294
5294
  buttons: te(() => [
5295
5295
  o("button", {
5296
5296
  type: "button",
@@ -5444,7 +5444,7 @@ const In = { render: Ol }, Bl = { class: "vuefinder__archive-modal__content" },
5444
5444
  {
5445
5445
  id: "search",
5446
5446
  label: n("Search"),
5447
- action: () => e.modal.open(Vt),
5447
+ action: () => e.modal.open(Lt),
5448
5448
  enabled: () => t("search")
5449
5449
  },
5450
5450
  { type: "separator" },
@@ -5888,7 +5888,7 @@ function Fd(i, e) {
5888
5888
  }, null, -1)
5889
5889
  ])]);
5890
5890
  }
5891
- const Dd = { render: Fd }, Pd = { class: "vuefinder__toolbar" }, Ed = { class: "vuefinder__toolbar__actions" }, Md = ["title"], Td = ["title"], Id = ["title"], Ad = ["title"], Od = ["title"], Bd = ["title"], zd = ["title"], Ld = { class: "vuefinder__toolbar__controls" }, Vd = ["title"], Rd = { class: "vuefinder__toolbar__control vuefinder__toolbar__dropdown-container" }, Nd = ["title"], Ud = { class: "relative" }, Hd = {
5891
+ const Dd = { render: Fd }, Pd = { class: "vuefinder__toolbar" }, Ed = { class: "vuefinder__toolbar__actions" }, Md = ["title"], Td = ["title"], Id = ["title"], Ad = ["title"], Od = ["title"], Bd = ["title"], zd = ["title"], Vd = { class: "vuefinder__toolbar__controls" }, Ld = ["title"], Rd = { class: "vuefinder__toolbar__control vuefinder__toolbar__dropdown-container" }, Nd = ["title"], Ud = { class: "relative" }, Hd = {
5892
5892
  key: 0,
5893
5893
  class: "vuefinder__toolbar__filter-indicator"
5894
5894
  }, jd = {
@@ -6057,15 +6057,15 @@ const Dd = { render: Fd }, Pd = { class: "vuefinder__toolbar" }, Ed = { class: "
6057
6057
  }, null, 8, ["class"])
6058
6058
  ], 8, zd)) : A("", !0)
6059
6059
  ]),
6060
- o("div", Ld, [
6060
+ o("div", Vd, [
6061
6061
  s(t)("search") ? (v(), p("div", {
6062
6062
  key: 0,
6063
6063
  class: "mx-1.5",
6064
6064
  title: s(n)("Search Files"),
6065
- onClick: w[7] || (w[7] = (f) => s(e).modal.open(Vt))
6065
+ onClick: w[7] || (w[7] = (f) => s(e).modal.open(Lt))
6066
6066
  }, [
6067
- z(s(Lt), { class: "vf-toolbar-icon text-(--vf-bg-primary)" })
6068
- ], 8, Vd)) : A("", !0),
6067
+ z(s(Vt), { class: "vf-toolbar-icon text-(--vf-bg-primary)" })
6068
+ ], 8, Ld)) : A("", !0),
6069
6069
  o("div", Rd, [
6070
6070
  o("div", {
6071
6071
  title: s(n)("Filter"),
@@ -6171,10 +6171,10 @@ const Dd = { render: Fd }, Pd = { class: "vuefinder__toolbar" }, Ed = { class: "
6171
6171
  title: s(n)("Toggle Full Screen"),
6172
6172
  onClick: w[15] || (w[15] = (f) => s(l).toggle("fullScreen"))
6173
6173
  }, [
6174
- s(d).fullScreen ? (v(), V(s(wd), {
6174
+ s(d).fullScreen ? (v(), L(s(wd), {
6175
6175
  key: 0,
6176
6176
  class: "vf-toolbar-icon"
6177
- })) : (v(), V(s(hd), {
6177
+ })) : (v(), L(s(hd), {
6178
6178
  key: 1,
6179
6179
  class: "vf-toolbar-icon"
6180
6180
  }))
@@ -6184,11 +6184,11 @@ const Dd = { render: Fd }, Pd = { class: "vuefinder__toolbar" }, Ed = { class: "
6184
6184
  title: s(n)("Change View"),
6185
6185
  onClick: w[16] || (w[16] = (f) => k())
6186
6186
  }, [
6187
- s(d).view === "grid" ? (v(), V(s(kd), {
6187
+ s(d).view === "grid" ? (v(), L(s(kd), {
6188
6188
  key: 0,
6189
6189
  class: "vf-toolbar-icon"
6190
6190
  })) : A("", !0),
6191
- s(d).view === "list" ? (v(), V(s(Sd), {
6191
+ s(d).view === "list" ? (v(), L(s(Sd), {
6192
6192
  key: 1,
6193
6193
  class: "vf-toolbar-icon"
6194
6194
  })) : A("", !0)
@@ -6355,7 +6355,7 @@ function nt(i, e = []) {
6355
6355
  }
6356
6356
  return { events: m };
6357
6357
  }
6358
- const zc = { class: "vuefinder__breadcrumb__container" }, Lc = ["title"], Vc = ["title"], Rc = ["title"], Nc = ["title"], Uc = { class: "vuefinder__breadcrumb__path-container" }, Hc = { class: "vuefinder__breadcrumb__list" }, jc = {
6358
+ const zc = { class: "vuefinder__breadcrumb__container" }, Vc = ["title"], Lc = ["title"], Rc = ["title"], Nc = ["title"], Uc = { class: "vuefinder__breadcrumb__path-container" }, Hc = { class: "vuefinder__breadcrumb__list" }, jc = {
6359
6359
  key: 0,
6360
6360
  class: "vuefinder__breadcrumb__hidden-list"
6361
6361
  }, Kc = { class: "relative" }, qc = ["title", "onClick"], Wc = ["title"], Gc = { class: "vuefinder__breadcrumb__path-mode" }, Yc = { class: "vuefinder__breadcrumb__path-mode-content" }, Qc = ["title"], Xc = { class: "vuefinder__breadcrumb__path-text" }, Jc = ["title"], Zc = ["data-theme"], eu = ["onClick"], tu = { class: "vuefinder__breadcrumb__hidden-item-content" }, nu = { class: "vuefinder__breadcrumb__hidden-item-text" }, ou = /* @__PURE__ */ X({
@@ -6454,14 +6454,14 @@ const zc = { class: "vuefinder__breadcrumb__container" }, Lc = ["title"], Vc = [
6454
6454
  class: Q(["vuefinder__breadcrumb__toggle-tree", s(l).showTreeView ? "vuefinder__breadcrumb__toggle-tree--active" : ""]),
6455
6455
  onClick: G
6456
6456
  }, null, 8, ["class"])
6457
- ], 8, Lc),
6457
+ ], 8, Vc),
6458
6458
  o("span", {
6459
6459
  title: s(t)("Go up a directory")
6460
6460
  }, [
6461
6461
  z(s(bc), Me({
6462
6462
  class: k.value.length ? "vuefinder__breadcrumb__go-up--active" : "vuefinder__breadcrumb__go-up--inactive"
6463
6463
  }, Ne(k.value.length ? s(b).events(S()) : {}), { onClick: O }), null, 16, ["class"])
6464
- ], 8, Vc),
6464
+ ], 8, Lc),
6465
6465
  s(n).isLoading() ? (v(), p("span", {
6466
6466
  key: 1,
6467
6467
  title: s(t)("Cancel")
@@ -6512,7 +6512,7 @@ const zc = { class: "vuefinder__breadcrumb__container" }, Lc = ["title"], Vc = [
6512
6512
  }), y($.name), 17, qc)
6513
6513
  ]))), 128))
6514
6514
  ], 512),
6515
- s(a).get("loadingIndicator") === "circular" && s(r) ? (v(), V(s(yt), { key: 0 })) : A("", !0),
6515
+ s(a).get("loadingIndicator") === "circular" && s(r) ? (v(), L(s(yt), { key: 0 })) : A("", !0),
6516
6516
  o("span", {
6517
6517
  title: s(t)("Toggle Path Copy Mode"),
6518
6518
  onClick: Z
@@ -6545,7 +6545,7 @@ const zc = { class: "vuefinder__breadcrumb__container" }, Lc = ["title"], Vc = [
6545
6545
  ], 512), [
6546
6546
  [Oe, u.value]
6547
6547
  ]),
6548
- (v(), V(ft, { to: "body" }, [
6548
+ (v(), L(ft, { to: "body" }, [
6549
6549
  o("div", null, [
6550
6550
  fe(o("div", {
6551
6551
  style: Be({
@@ -6676,7 +6676,7 @@ function iu(i) {
6676
6676
  }, S = (C) => {
6677
6677
  if (C.size === 0) return null;
6678
6678
  const D = Array.from(C).map((le) => {
6679
- const ze = h.value?.findIndex((Le) => n(Le) === le) ?? -1;
6679
+ const ze = h.value?.findIndex((Ve) => n(Ve) === le) ?? -1;
6680
6680
  return e(ze >= 0 ? ze : 0);
6681
6681
  }), M = Math.min(...D.map((le) => le.row)), U = Math.max(...D.map((le) => le.row)), q = Math.min(...D.map((le) => le.col)), pe = Math.max(...D.map((le) => le.col));
6682
6682
  return { minRow: M, maxRow: U, minCol: q, maxCol: pe };
@@ -6714,7 +6714,7 @@ function iu(i) {
6714
6714
  if (q) {
6715
6715
  const pe = q.getBoundingClientRect(), le = I(C);
6716
6716
  if (le) {
6717
- const ze = le.y - pe.top + q.scrollTop, Le = le.x - pe.left, qe = Math.floor(ze / l.value), We = Math.floor(Le / d);
6717
+ const ze = le.y - pe.top + q.scrollTop, Ve = le.x - pe.left, qe = Math.floor(ze / l.value), We = Math.floor(Ve / d);
6718
6718
  P.value = { row: qe, col: We };
6719
6719
  }
6720
6720
  }
@@ -6855,8 +6855,8 @@ const uu = { render: cu }, $t = /* @__PURE__ */ X({
6855
6855
  },
6856
6856
  setup(i) {
6857
6857
  return (e, t) => (v(), p("div", null, [
6858
- i.direction === "asc" ? (v(), V(s(lu), { key: 0 })) : A("", !0),
6859
- i.direction === "desc" ? (v(), V(s(uu), { key: 1 })) : A("", !0)
6858
+ i.direction === "asc" ? (v(), L(s(lu), { key: 0 })) : A("", !0),
6859
+ i.direction === "desc" ? (v(), L(s(uu), { key: 1 })) : A("", !0)
6860
6860
  ]));
6861
6861
  }
6862
6862
  }), vu = {
@@ -6882,7 +6882,7 @@ const Jt = { render: fu }, _u = { class: "vuefinder__drag-item__container" }, pu
6882
6882
  setup(i) {
6883
6883
  const e = i;
6884
6884
  return (t, n) => (v(), p("div", _u, [
6885
- e.count > 1 ? (v(), V(s(Jt), {
6885
+ e.count > 1 ? (v(), L(s(Jt), {
6886
6886
  key: 0,
6887
6887
  class: "vuefinder__drag-item__icon translate-x-1 translate-y-1"
6888
6888
  })) : A("", !0),
@@ -6910,10 +6910,10 @@ const Jt = { render: fu }, _u = { class: "vuefinder__drag-item__container" }, pu
6910
6910
  class: Q(["vuefinder__item-icon", i.small ? "vuefinder__item-icon--small" : "vuefinder__item-icon--large"])
6911
6911
  }, [
6912
6912
  ke(l.$slots, "icon", Ue(He(a)), () => [
6913
- i.item.type === "dir" ? (v(), V(s(Ae), {
6913
+ i.item.type === "dir" ? (v(), L(s(Ae), {
6914
6914
  key: 0,
6915
6915
  class: "vuefinder__item-icon__folder"
6916
- })) : (v(), V(s(Je), {
6916
+ })) : (v(), L(s(Je), {
6917
6917
  key: 1,
6918
6918
  class: "vuefinder__item-icon__file"
6919
6919
  })),
@@ -7023,7 +7023,7 @@ const en = { render: wu }, yu = ["data-key", "data-row", "data-col", "draggable"
7023
7023
  onDragend: S[7] || (S[7] = (x) => n("dragend", x))
7024
7024
  }, [
7025
7025
  i.view === "grid" ? (v(), p("div", bu, [
7026
- s(l).isReadOnly(i.item) ? (v(), V(s(en), {
7026
+ s(l).isReadOnly(i.item) ? (v(), L(s(en), {
7027
7027
  key: 0,
7028
7028
  class: "vuefinder__item--readonly vuefinder__item--readonly--left",
7029
7029
  title: "Read Only"
@@ -7036,7 +7036,7 @@ const en = { render: wu }, yu = ["data-key", "data-row", "data-col", "draggable"
7036
7036
  "data-src": i.item.previewUrl ?? s(a).adapter.getPreviewUrl({ path: i.item.path }),
7037
7037
  alt: i.item.basename,
7038
7038
  onTouchstart: S[0] || (S[0] = (x) => x.preventDefault())
7039
- }, null, 40, $u)) : (v(), V(Zt, {
7039
+ }, null, 40, $u)) : (v(), L(Zt, {
7040
7040
  key: 1,
7041
7041
  item: i.item,
7042
7042
  ext: !0
@@ -7063,7 +7063,7 @@ const en = { render: wu }, yu = ["data-key", "data-row", "data-col", "draggable"
7063
7063
  ]),
7064
7064
  o("span", Du, y(i.item.basename), 1),
7065
7065
  o("div", null, [
7066
- s(l).isReadOnly(i.item) ? (v(), V(s(en), {
7066
+ s(l).isReadOnly(i.item) ? (v(), L(s(en), {
7067
7067
  key: 0,
7068
7068
  class: "vuefinder__item--readonly vuefinder__item--readonly--list",
7069
7069
  title: "Read Only"
@@ -7076,7 +7076,7 @@ const en = { render: wu }, yu = ["data-key", "data-row", "data-col", "draggable"
7076
7076
  ])),
7077
7077
  !i.showPath && i.item.last_modified ? (v(), p("div", Tu, y(new Date(i.item.last_modified * 1e3).toLocaleString()), 1)) : A("", !0)
7078
7078
  ])),
7079
- s(P)("pinned") && s(d).get("pinnedFolders").find((x) => x.path === i.item.path) ? (v(), V(s(It), {
7079
+ s(P)("pinned") && s(d).get("pinnedFolders").find((x) => x.path === i.item.path) ? (v(), L(s(It), {
7080
7080
  key: 2,
7081
7081
  class: "vuefinder__item--pinned"
7082
7082
  })) : A("", !0)
@@ -7124,7 +7124,7 @@ const en = { render: wu }, yu = ["data-key", "data-row", "data-col", "draggable"
7124
7124
  class: Q(["grid justify-self-start", { "w-full": i.view === "list" }]),
7125
7125
  style: Be(d.value)
7126
7126
  }, [
7127
- (v(!0), p(de, null, _e(i.items, (_, m) => (v(), V(Iu, Me({
7127
+ (v(!0), p(de, null, _e(i.items, (_, m) => (v(), L(Iu, Me({
7128
7128
  key: _.path,
7129
7129
  item: _,
7130
7130
  view: i.view,
@@ -7157,10 +7157,10 @@ const en = { render: wu }, yu = ["data-key", "data-row", "data-col", "draggable"
7157
7157
  }, zu = {
7158
7158
  key: 0,
7159
7159
  class: "vuefinder__explorer__header"
7160
- }, Lu = {
7160
+ }, Vu = {
7161
7161
  key: 0,
7162
7162
  class: "vuefinder__linear-loader"
7163
- }, Vu = /* @__PURE__ */ X({
7163
+ }, Lu = /* @__PURE__ */ X({
7164
7164
  __name: "Explorer",
7165
7165
  props: {
7166
7166
  onFileDclick: { type: Function },
@@ -7275,9 +7275,9 @@ const en = { render: wu }, yu = ["data-key", "data-row", "data-col", "draggable"
7275
7275
  const pe = (R) => {
7276
7276
  const ee = R.target?.closest(".file-item-" + re), ne = R;
7277
7277
  if (ee) {
7278
- const T = String(ee.getAttribute("data-key")), L = u.value?.find((je) => je.path === T), N = t.selectionFilterType, W = t.selectionFilterMimeIncludes, ge = !N || N === "both" || N === "files" && L?.type === "file" || N === "dirs" && L?.type === "dir";
7278
+ const T = String(ee.getAttribute("data-key")), V = u.value?.find((je) => je.path === T), N = t.selectionFilterType, W = t.selectionFilterMimeIncludes, ge = !N || N === "both" || N === "files" && V?.type === "file" || N === "dirs" && V?.type === "dir";
7279
7279
  let he = !0;
7280
- if (W && Array.isArray(W) && W.length > 0 && (L?.type === "dir" ? he = !0 : L?.mime_type ? he = W.some((je) => (L?.mime_type).startsWith(je)) : he = !1), !ge || !he)
7280
+ if (W && Array.isArray(W) && W.length > 0 && (V?.type === "dir" ? he = !0 : V?.mime_type ? he = W.some((je) => (V?.mime_type).startsWith(je)) : he = !1), !ge || !he)
7281
7281
  return;
7282
7282
  const De = t.selectionMode || "multiple";
7283
7283
  !ne?.ctrlKey && !ne?.metaKey && (R.type !== "touchstart" || !c.isSelected(T)) && (c.clearSelection(), l.value?.clearSelection(!0, !0)), l.value?.resolveSelectables(), R.type === "touchstart" && c.isSelected(T) ? c.select(T, De) : c.toggleSelect(T, De);
@@ -7305,12 +7305,12 @@ const en = { render: wu }, yu = ["data-key", "data-row", "data-col", "draggable"
7305
7305
  searchQuery: ""
7306
7306
  }));
7307
7307
  ne && ne.action(t, [R]);
7308
- }, Le = (R) => {
7308
+ }, Ve = (R) => {
7309
7309
  const ee = R.target?.closest(
7310
7310
  ".file-item-" + re
7311
7311
  ), ne = ee ? String(ee.getAttribute("data-key")) : null;
7312
7312
  if (!ne) return;
7313
- const T = u.value?.find((he) => he.path === ne), L = t.selectionFilterType, N = t.selectionFilterMimeIncludes, W = !L || L === "both" || L === "files" && T?.type === "file" || L === "dirs" && T?.type === "dir";
7313
+ const T = u.value?.find((he) => he.path === ne), V = t.selectionFilterType, N = t.selectionFilterMimeIncludes, W = !V || V === "both" || V === "files" && T?.type === "file" || V === "dirs" && T?.type === "dir";
7314
7314
  let ge = !0;
7315
7315
  N && Array.isArray(N) && N.length > 0 && (T?.type === "dir" ? ge = !0 : T?.mime_type ? ge = N.some((he) => (T?.mime_type).startsWith(he)) : ge = !1), !(!W || !ge) && T && ze(T);
7316
7316
  }, qe = () => {
@@ -7322,7 +7322,7 @@ const en = { render: wu }, yu = ["data-key", "data-row", "data-col", "draggable"
7322
7322
  ".file-item-" + re
7323
7323
  );
7324
7324
  if (ee) {
7325
- const ne = String(ee.getAttribute("data-key")), T = u.value?.find((he) => he.path === ne), L = t.selectionFilterType, N = t.selectionFilterMimeIncludes, W = !L || L === "both" || L === "files" && T?.type === "file" || L === "dirs" && T?.type === "dir";
7325
+ const ne = String(ee.getAttribute("data-key")), T = u.value?.find((he) => he.path === ne), V = t.selectionFilterType, N = t.selectionFilterMimeIncludes, W = !V || V === "both" || V === "files" && T?.type === "file" || V === "dirs" && T?.type === "dir";
7326
7326
  let ge = !0;
7327
7327
  if (N && Array.isArray(N) && N.length > 0 && (T?.type === "dir" ? ge = !0 : T?.mime_type ? ge = N.some(
7328
7328
  (he) => (T?.mime_type).startsWith(he)
@@ -7400,7 +7400,7 @@ const en = { render: wu }, yu = ["data-key", "data-row", "data-col", "draggable"
7400
7400
  onScroll: ee[4] || (ee[4] = //@ts-ignore
7401
7401
  (...ne) => s(B) && s(B)(...ne))
7402
7402
  }, [
7403
- s(_).get("loadingIndicator") === "linear" && s(F) ? (v(), p("div", Lu)) : A("", !0),
7403
+ s(_).get("loadingIndicator") === "linear" && s(F) ? (v(), p("div", Vu)) : A("", !0),
7404
7404
  o("div", {
7405
7405
  ref_key: "scrollContent",
7406
7406
  ref: r,
@@ -7422,7 +7422,7 @@ const en = { render: wu }, yu = ["data-key", "data-row", "data-col", "draggable"
7422
7422
  count: M.value && s(k).has(M.value) ? s(k).size : 1
7423
7423
  }, null, 8, ["count"])
7424
7424
  ], 512),
7425
- s(m).view === "grid" ? (v(!0), p(de, { key: 0 }, _e(s(j), (ne) => (v(), V(tn, {
7425
+ s(m).view === "grid" ? (v(!0), p(de, { key: 0 }, _e(s(j), (ne) => (v(), L(tn, {
7426
7426
  key: ne,
7427
7427
  "row-index": ne,
7428
7428
  "row-height": S.value,
@@ -7435,7 +7435,7 @@ const en = { render: wu }, yu = ["data-key", "data-row", "data-col", "draggable"
7435
7435
  "drag-n-drop-events": (T) => s(n).events(T),
7436
7436
  "explorer-id": s(re),
7437
7437
  onClick: pe,
7438
- onDblclick: Le,
7438
+ onDblclick: Ve,
7439
7439
  onContextmenu: We,
7440
7440
  onDragstart: ot,
7441
7441
  onDragend: st
@@ -7444,7 +7444,7 @@ const en = { render: wu }, yu = ["data-key", "data-row", "data-col", "draggable"
7444
7444
  ke(R.$slots, "icon", Me({ ref_for: !0 }, T))
7445
7445
  ]),
7446
7446
  _: 3
7447
- }, 8, ["row-index", "row-height", "items-per-row", "items", "show-thumbnails", "drag-n-drop-events", "explorer-id"]))), 128)) : (v(!0), p(de, { key: 1 }, _e(s(j), (ne) => (v(), V(tn, {
7447
+ }, 8, ["row-index", "row-height", "items-per-row", "items", "show-thumbnails", "drag-n-drop-events", "explorer-id"]))), 128)) : (v(!0), p(de, { key: 1 }, _e(s(j), (ne) => (v(), L(tn, {
7448
7448
  key: ne,
7449
7449
  "row-index": ne,
7450
7450
  "row-height": S.value,
@@ -7456,7 +7456,7 @@ const en = { render: wu }, yu = ["data-key", "data-row", "data-col", "draggable"
7456
7456
  "drag-n-drop-events": (T) => s(n).events(T),
7457
7457
  "explorer-id": s(re),
7458
7458
  onClick: pe,
7459
- onDblclick: Le,
7459
+ onDblclick: Ve,
7460
7460
  onContextmenu: We,
7461
7461
  onDragstart: ot,
7462
7462
  onDragend: st
@@ -7644,15 +7644,15 @@ const sv = { class: "vuefinder__folder-loader-indicator" }, iv = {
7644
7644
  }
7645
7645
  };
7646
7646
  return (d, r) => (v(), p("div", sv, [
7647
- a.value ? (v(), V(s(yt), {
7647
+ a.value ? (v(), L(s(yt), {
7648
7648
  key: 0,
7649
7649
  class: "vuefinder__folder-loader-indicator--loading"
7650
7650
  })) : (v(), p("div", iv, [
7651
- n.value ? (v(), V(s(wt), {
7651
+ n.value ? (v(), L(s(wt), {
7652
7652
  key: 0,
7653
7653
  class: "vuefinder__folder-loader-indicator--minus"
7654
7654
  })) : A("", !0),
7655
- n.value ? A("", !0) : (v(), V(s(gt), {
7655
+ n.value ? A("", !0) : (v(), L(s(gt), {
7656
7656
  key: 1,
7657
7657
  class: "vuefinder__folder-loader-indicator--plus"
7658
7658
  }))
@@ -7720,10 +7720,10 @@ const sv = { class: "vuefinder__folder-loader-indicator" }, iv = {
7720
7720
  onClick: (F) => s(e).adapter.open(k.path)
7721
7721
  }), [
7722
7722
  o("div", uv, [
7723
- s(d)?.path === k.path ? (v(), V(s(Ot), {
7723
+ s(d)?.path === k.path ? (v(), L(s(Ot), {
7724
7724
  key: 0,
7725
7725
  class: "vuefinder__item-icon__folder--open"
7726
- })) : (v(), V(s(Ae), {
7726
+ })) : (v(), L(s(Ae), {
7727
7727
  key: 1,
7728
7728
  class: "vuefinder__item-icon__folder"
7729
7729
  }))
@@ -7815,11 +7815,11 @@ const sv = { class: "vuefinder__folder-loader-indicator" }, iv = {
7815
7815
  const e = rn(i, "modelValue");
7816
7816
  return (t, n) => (v(), p("div", pv, [
7817
7817
  o("div", hv, [
7818
- e.value ? (v(), V(s(wt), {
7818
+ e.value ? (v(), L(s(wt), {
7819
7819
  key: 0,
7820
7820
  class: "vuefinder__folder-indicator--minus"
7821
7821
  })) : A("", !0),
7822
- e.value ? A("", !0) : (v(), V(s(gt), {
7822
+ e.value ? A("", !0) : (v(), L(s(gt), {
7823
7823
  key: 1,
7824
7824
  class: "vuefinder__folder-indicator--plus"
7825
7825
  }))
@@ -7911,11 +7911,11 @@ const sv = { class: "vuefinder__folder-loader-indicator" }, iv = {
7911
7911
  o("div", Me({ class: "vuefinder__treeview__pinned-folder" }, Ne(s(k).events(x), !0), {
7912
7912
  onClick: (O) => s(e).adapter.open(x.path)
7913
7913
  }), [
7914
- s(u).path !== x.path ? (v(), V(s(Ae), {
7914
+ s(u).path !== x.path ? (v(), L(s(Ae), {
7915
7915
  key: 0,
7916
7916
  class: "vuefinder__treeview__folder-icon vuefinder__item-icon__folder"
7917
7917
  })) : A("", !0),
7918
- s(u).path === x.path ? (v(), V(s(Ot), {
7918
+ s(u).path === x.path ? (v(), L(s(Ot), {
7919
7919
  key: 1,
7920
7920
  class: "vuefinder__item-icon__folder--open vuefinder__treeview__open-folder-icon"
7921
7921
  })) : A("", !0),
@@ -8292,7 +8292,7 @@ const Bn = [
8292
8292
  z(ou),
8293
8293
  o("div", Tv, [
8294
8294
  z(Fv),
8295
- z(Vu, {
8295
+ z(Lu, {
8296
8296
  "on-file-dclick": n.onFileDclick,
8297
8297
  "on-folder-dclick": n.onFolderDclick
8298
8298
  }, {
@@ -8309,10 +8309,10 @@ const Bn = [
8309
8309
  _: 3
8310
8310
  })
8311
8311
  ], 34),
8312
- (v(), V(ft, { to: "body" }, [
8312
+ (v(), L(ft, { to: "body" }, [
8313
8313
  z(Hn, { name: "fade" }, {
8314
8314
  default: te(() => [
8315
- s(a).modal.visible ? (v(), V(on(s(a).modal.type), { key: 0 })) : A("", !0)
8315
+ s(a).modal.visible ? (v(), L(on(s(a).modal.type), { key: 0 })) : A("", !0)
8316
8316
  ]),
8317
8317
  _: 1
8318
8318
  })
@@ -8352,7 +8352,7 @@ const Bn = [
8352
8352
  const n = ho(e, it("VueFinderOptions") || {});
8353
8353
  return Zn(t, n), jn(St, t), an(() => {
8354
8354
  eo(t);
8355
- }), (a, l) => (v(), V(Iv, Ue(He(e)), {
8355
+ }), (a, l) => (v(), L(Iv, Ue(He(e)), {
8356
8356
  icon: te((d) => [
8357
8357
  ke(a.$slots, "icon", Ue(He(d)))
8358
8358
  ]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vuefinder",
3
- "version": "4.0.10",
3
+ "version": "4.0.11",
4
4
  "description": "A sleek, developer-friendly file manager for Vue — organize, preview, and manage files with ease.",
5
5
  "type": "module",
6
6
  "engines": {