vuefinder 2.4.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/style.css +1 -1
- package/dist/vuefinder.cjs +2 -2
- package/dist/vuefinder.js +64 -64
- package/package.json +1 -1
package/dist/vuefinder.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var En = Object.defineProperty;
|
|
2
2
|
var An = (t, e, s) => e in t ? En(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
|
|
3
3
|
var Zs = (t, e, s) => (An(t, typeof e != "symbol" ? e + "" : e, s), s);
|
|
4
|
-
import { reactive as Ht, watch as Mt, ref as O, shallowRef as Dn, onMounted as Ee, onUnmounted as $o, onUpdated as So, nextTick as Lt, computed as at, inject as le, openBlock as h, createElementBlock as _, withKeys as St, unref as r, createElementVNode as a, withModifiers as Ze, renderSlot as Tt, normalizeClass as
|
|
4
|
+
import { reactive as Ht, watch as Mt, ref as O, shallowRef as Dn, onMounted as Ee, onUnmounted as $o, onUpdated as So, nextTick as Lt, computed as at, inject as le, openBlock as h, createElementBlock as _, withKeys as St, unref as r, createElementVNode as a, withModifiers as Ze, renderSlot as Tt, normalizeClass as he, createCommentVNode as W, createBlock as J, withCtx as K, toDisplayString as b, withDirectives as ge, vModelText as Ct, createTextVNode as se, Fragment as ke, renderList as Ce, onBeforeUnmount as Co, createVNode as Q, customRef as Mn, vShow as Xe, isRef as Eo, TransitionGroup as Ln, normalizeStyle as zs, vModelCheckbox as Ft, vModelSelect as $s, provide as Tn, Transition as On, resolveDynamicComponent as Vn } from "vue";
|
|
5
5
|
import Hn from "mitt";
|
|
6
6
|
import Bn from "dragselect";
|
|
7
7
|
import Rn from "@uppy/core";
|
|
@@ -186,7 +186,7 @@ const ve = {
|
|
|
186
186
|
FULL_SCREEN: "fullscreen",
|
|
187
187
|
DOWNLOAD: "download",
|
|
188
188
|
LANGUAGE: "language"
|
|
189
|
-
}, Gn = Object.values(ve), Wn = "2.4.
|
|
189
|
+
}, Gn = Object.values(ve), Wn = "2.4.1";
|
|
190
190
|
function Ao(t, e, s, n, o) {
|
|
191
191
|
return (e = Math, s = e.log, n = 1024, o = s(t) / s(n) | 0, t / e.pow(n, o)).toFixed(0) + " " + (o ? "KMGTPEZY"[--o] + "iB" : "B");
|
|
192
192
|
}
|
|
@@ -904,9 +904,9 @@ const Tr = () => {
|
|
|
904
904
|
ct: Ye(V, q || []),
|
|
905
905
|
lt: te,
|
|
906
906
|
it: v,
|
|
907
|
-
dt: (Te,
|
|
907
|
+
dt: (Te, be) => {
|
|
908
908
|
const { target: Oe, attributeName: It } = Te;
|
|
909
|
-
return (!
|
|
909
|
+
return (!be && It && !M ? rr(Oe, v, u) : !1) || !!vt(Oe, `.${Le}`) || !!Be(Te);
|
|
910
910
|
}
|
|
911
911
|
});
|
|
912
912
|
d = re(), i = Se;
|
|
@@ -1152,7 +1152,7 @@ const Tr = () => {
|
|
|
1152
1152
|
}), c(G), y();
|
|
1153
1153
|
})];
|
|
1154
1154
|
return [() => Y(Ve, me(de, T())), ({ Et: G, Tt: ie, Gt: ae, Qt: ce }) => {
|
|
1155
|
-
const { tn: ye, nn: _e, sn: fe } = ce || {}, { Ct: C, _t: L } = ae || {}, { N: E } = s, { T: H } = He(), { k: j, en: q } = n, [ee, te] = G("showNativeOverlaidScrollbars"), [pe, xe] = G("scrollbars.theme"), [Z, we] = G("scrollbars.visibility"), [$e, Be] = G("scrollbars.autoHide"), [re, Se] = G("scrollbars.autoHideSuspend"), [Te] = G("scrollbars.autoHideDelay"), [
|
|
1155
|
+
const { tn: ye, nn: _e, sn: fe } = ce || {}, { Ct: C, _t: L } = ae || {}, { N: E } = s, { T: H } = He(), { k: j, en: q } = n, [ee, te] = G("showNativeOverlaidScrollbars"), [pe, xe] = G("scrollbars.theme"), [Z, we] = G("scrollbars.visibility"), [$e, Be] = G("scrollbars.autoHide"), [re, Se] = G("scrollbars.autoHideSuspend"), [Te] = G("scrollbars.autoHideDelay"), [be, Oe] = G("scrollbars.dragScroll"), [It, Nt] = G("scrollbars.clickScroll"), [Ut, ze] = G("overflow"), ot = L && !ie, nt = q.x || q.y, ps = ye || _e || C || ie, Ke = fe || we || ze, vs = ee && H.x && H.y, dt = (ut, mt, At) => {
|
|
1156
1156
|
const zt = ut.includes("scroll") && (Z === "visible" || Z === "auto" && mt === "scroll");
|
|
1157
1157
|
return R(yr, zt, At), zt;
|
|
1158
1158
|
};
|
|
@@ -1160,7 +1160,7 @@ const Tr = () => {
|
|
|
1160
1160
|
v = ue(N, "scroll", Y(P, !0), {
|
|
1161
1161
|
A: !0
|
|
1162
1162
|
});
|
|
1163
|
-
})) : P(!0)), te && R(br, vs), xe && (R(f), R(pe, !0), f = pe), Se && !re && P(!0), Be && (d = $e === "move", l = $e === "leave", m = $e === "never", U(m, !0)), Oe && R(Sr,
|
|
1163
|
+
})) : P(!0)), te && R(br, vs), xe && (R(f), R(pe, !0), f = pe), Se && !re && P(!0), Be && (d = $e === "move", l = $e === "leave", m = $e === "never", U(m, !0)), Oe && R(Sr, be), Nt && R($r, It), Ke) {
|
|
1164
1164
|
const ut = dt(Ut.x, j.x, !0), mt = dt(Ut.y, j.y, !1);
|
|
1165
1165
|
R(kr, !(ut && mt));
|
|
1166
1166
|
}
|
|
@@ -1194,9 +1194,9 @@ const Tr = () => {
|
|
|
1194
1194
|
let ee = w ? fe : Ms([H, E, L, C, fe].find((Z) => Z && !ce(Z)));
|
|
1195
1195
|
const te = y ? fe : H || E, pe = Y(Ve, j);
|
|
1196
1196
|
return [_e, () => {
|
|
1197
|
-
const Z = M(), we = Ls(), $e = (
|
|
1198
|
-
De(yt(
|
|
1199
|
-
}, Be = (
|
|
1197
|
+
const Z = M(), we = Ls(), $e = (be) => {
|
|
1198
|
+
De(yt(be), Ms(be)), tt(be);
|
|
1199
|
+
}, Be = (be) => be ? ue(be, "focusin focusout focus blur", (Oe) => {
|
|
1200
1200
|
Ws(Oe), Oe.stopImmediatePropagation();
|
|
1201
1201
|
}, {
|
|
1202
1202
|
I: !0,
|
|
@@ -1205,8 +1205,8 @@ const Tr = () => {
|
|
|
1205
1205
|
return Re(C, Ae, D ? "viewport" : "host"), Re(L, Rs, ""), Re(H, ho, ""), D || (Re(E, We, ""), Re(E, re, Se || "-1"), A && Vt(B, Ae, mr)), q && (oo(fe, C), me(j, () => {
|
|
1206
1206
|
oo(C, fe), tt(C);
|
|
1207
1207
|
})), De(te, ee), De(C, L), De(L || C, !D && E), De(E, H), me(j, [Te, () => {
|
|
1208
|
-
const
|
|
1209
|
-
Fe(L, Rs), Fe(H, ho), Fe(E, [nn, rn, We]), Se ? Re(E, re, Se) : Fe(E, re), ce(H) && $e(H), ce(E) && $e(E), ce(L) && $e(L), $(
|
|
1208
|
+
const be = Ls(), Oe = Be(be);
|
|
1209
|
+
Fe(L, Rs), Fe(H, ho), Fe(E, [nn, rn, We]), Se ? Re(E, re, Se) : Fe(E, re), ce(H) && $e(H), ce(E) && $e(E), ce(L) && $e(L), $(be), Oe();
|
|
1210
1210
|
}]), n && !D && (Vt(E, We, ln), me(j, Y(Fe, E, We))), $(!D && we === k && Z.top === Z ? E : we), Te(), ee = 0, pe;
|
|
1211
1211
|
}, pe];
|
|
1212
1212
|
}, jr = ({ wt: t }) => ({ Gt: e, an: s, Tt: n }) => {
|
|
@@ -1288,12 +1288,12 @@ const Tr = () => {
|
|
|
1288
1288
|
};
|
|
1289
1289
|
te = $(Qs), ee = B(S(zt, Qs), D);
|
|
1290
1290
|
}
|
|
1291
|
-
const [xe, Z] = te, [we, $e] = ee, [Be, re] = q, [Se, Te] = j,
|
|
1291
|
+
const [xe, Z] = te, [we, $e] = ee, [Be, re] = q, [Se, Te] = j, be = {
|
|
1292
1292
|
x: we.w > 0,
|
|
1293
1293
|
y: we.h > 0
|
|
1294
|
-
}, Oe = L && E && (
|
|
1294
|
+
}, Oe = L && E && (be.x || be.y) || L && be.x && !be.y || E && be.y && !be.x;
|
|
1295
1295
|
if (y || P || X || Te || re || Z || $e || fe || ye || C) {
|
|
1296
|
-
const ze = {}, ot = Mr(t,
|
|
1296
|
+
const ze = {}, ot = Mr(t, be, _e, ze);
|
|
1297
1297
|
ae && ae(ot, V, !!G && G(ot, Be, Se), ze), i ? (Re(n, nn, ze[cs]), Re(n, rn, ze[ds])) : kt(c, ze);
|
|
1298
1298
|
}
|
|
1299
1299
|
Wt(n, Ae, an, Oe), Wt(o, Rs, pr, Oe), i || Wt(c, We, bt, H);
|
|
@@ -1308,7 +1308,7 @@ const Tr = () => {
|
|
|
1308
1308
|
x: we.w,
|
|
1309
1309
|
y: we.h
|
|
1310
1310
|
},
|
|
1311
|
-
en:
|
|
1311
|
+
en: be
|
|
1312
1312
|
}), {
|
|
1313
1313
|
sn: Ut,
|
|
1314
1314
|
tn: Z,
|
|
@@ -1547,7 +1547,7 @@ function Kr() {
|
|
|
1547
1547
|
o.value = g.map(($) => JSON.parse($.dataset.item)), w(g.map(($) => JSON.parse($.dataset.item)));
|
|
1548
1548
|
});
|
|
1549
1549
|
}, k = () => {
|
|
1550
|
-
f.value && (e.value.getBoundingClientRect().height < e.value.scrollHeight ? (v.value.style.height = e.value.scrollHeight
|
|
1550
|
+
f.value && (e.value.getBoundingClientRect().height < e.value.scrollHeight ? (v.value.style.height = e.value.scrollHeight + "px", v.value.style.display = "block") : (v.value.style.height = "100%", v.value.style.display = "none"));
|
|
1551
1551
|
}, A = (w) => {
|
|
1552
1552
|
if (!f.value)
|
|
1553
1553
|
return;
|
|
@@ -1789,7 +1789,7 @@ const Xr = (t, e) => {
|
|
|
1789
1789
|
key: 0,
|
|
1790
1790
|
ref_key: "strMessage",
|
|
1791
1791
|
ref: i,
|
|
1792
|
-
class:
|
|
1792
|
+
class: he(["flex mt-2 p-1 px-2 rounded text-sm break-all dark:opacity-75", t.error ? "bg-red-100 text-red-600 " : "bg-emerald-100 text-emerald-600"])
|
|
1793
1793
|
}, [
|
|
1794
1794
|
Tt(f.$slots, "default"),
|
|
1795
1795
|
a("div", {
|
|
@@ -1864,7 +1864,7 @@ const Xr = (t, e) => {
|
|
|
1864
1864
|
a("h3", ia, b(r(s)("New Folder")), 1),
|
|
1865
1865
|
a("div", ca, [
|
|
1866
1866
|
a("p", da, b(r(s)("Create a new folder")), 1),
|
|
1867
|
-
|
|
1867
|
+
ge(a("input", {
|
|
1868
1868
|
"onUpdate:modelValue": d[0] || (d[0] = (l) => n.value = l),
|
|
1869
1869
|
onKeyup: St(c, ["enter"]),
|
|
1870
1870
|
class: "px-2 py-1 border rounded dark:bg-gray-700/25 dark:focus:ring-gray-600 dark:focus:border-gray-600 dark:text-gray-100 w-full",
|
|
@@ -1952,7 +1952,7 @@ const Xr = (t, e) => {
|
|
|
1952
1952
|
a("h3", va, b(r(s)("New File")), 1),
|
|
1953
1953
|
a("div", ha, [
|
|
1954
1954
|
a("p", ga, b(r(s)("Create a new file")), 1),
|
|
1955
|
-
|
|
1955
|
+
ge(a("input", {
|
|
1956
1956
|
"onUpdate:modelValue": d[0] || (d[0] = (l) => n.value = l),
|
|
1957
1957
|
onKeyup: St(c, ["enter"]),
|
|
1958
1958
|
class: "px-2 py-1 border rounded dark:bg-gray-700/25 dark:focus:ring-gray-600 dark:focus:border-gray-600 dark:text-gray-100 w-full",
|
|
@@ -2070,7 +2070,7 @@ const Xr = (t, e) => {
|
|
|
2070
2070
|
n.value.type === "dir" ? (h(), _("svg", Ca, Aa)) : (h(), _("svg", Da, La)),
|
|
2071
2071
|
a("span", Ta, b(n.value.basename), 1)
|
|
2072
2072
|
]),
|
|
2073
|
-
|
|
2073
|
+
ge(a("input", {
|
|
2074
2074
|
"onUpdate:modelValue": l[0] || (l[0] = (m) => o.value = m),
|
|
2075
2075
|
onKeyup: St(i, ["enter"]),
|
|
2076
2076
|
class: "px-2 py-1 border rounded dark:bg-gray-700/25 dark:focus:ring-gray-600 dark:focus:border-gray-600 dark:text-gray-100 w-full",
|
|
@@ -2457,7 +2457,7 @@ const Ka = { class: "sm:flex sm:items-start" }, Ja = /* @__PURE__ */ a("div", {
|
|
|
2457
2457
|
buttons: K(() => [
|
|
2458
2458
|
a("button", {
|
|
2459
2459
|
type: "button",
|
|
2460
|
-
class:
|
|
2460
|
+
class: he(["vf-btn vf-btn-primary", x.value ? "bg-blue-200 hover:bg-blue-200 dark:bg-gray-700/50 dark:hover:bg-gray-700/50 dark:text-gray-500" : "bg-blue-600 hover:bg-blue-700 dark:bg-gray-700 dark:hover:bg-gray-500"]),
|
|
2461
2461
|
disabled: x.value,
|
|
2462
2462
|
onClick: Ze($, ["prevent"])
|
|
2463
2463
|
}, b(r(s)("Upload")), 11, vl),
|
|
@@ -2524,7 +2524,7 @@ const Ka = { class: "sm:flex sm:items-start" }, Ja = /* @__PURE__ */ a("div", {
|
|
|
2524
2524
|
}, [
|
|
2525
2525
|
a("span", rl, [
|
|
2526
2526
|
a("span", {
|
|
2527
|
-
class:
|
|
2527
|
+
class: he(["text-base m-auto", g(y)]),
|
|
2528
2528
|
textContent: b(B(y))
|
|
2529
2529
|
}, null, 10, al)
|
|
2530
2530
|
]),
|
|
@@ -2532,7 +2532,7 @@ const Ka = { class: "sm:flex sm:items-start" }, Ja = /* @__PURE__ */ a("div", {
|
|
|
2532
2532
|
a("div", il, b(r(Ns)(y.name, 40)) + " (" + b(y.size) + ")", 1),
|
|
2533
2533
|
a("div", cl, b(r(Ns)(y.name, 16)) + " (" + b(y.size) + ")", 1),
|
|
2534
2534
|
a("div", {
|
|
2535
|
-
class:
|
|
2535
|
+
class: he(["flex break-all text-left", g(y)])
|
|
2536
2536
|
}, [
|
|
2537
2537
|
se(b(y.statusName) + " ", 1),
|
|
2538
2538
|
y.status === c.value.QUEUE_ENTRY_STATUS.UPLOADING ? (h(), _("b", dl, b(y.percent), 1)) : W("", !0)
|
|
@@ -2540,7 +2540,7 @@ const Ka = { class: "sm:flex sm:items-start" }, Ja = /* @__PURE__ */ a("div", {
|
|
|
2540
2540
|
]),
|
|
2541
2541
|
a("button", {
|
|
2542
2542
|
type: "button",
|
|
2543
|
-
class:
|
|
2543
|
+
class: he(["rounded w-5 h-5 border-1 text-base leading-none font-medium focus:outline-none dark:border-gray-200 dark:text-gray-400 dark:hover:text-gray-200 dark:bg-gray-600 ml-auto sm:text-xs hover:text-red-600", x.value ? "disabled:bg-gray-100 text-white text-opacity-50" : "bg-gray-100"]),
|
|
2544
2544
|
title: r(s)("Delete"),
|
|
2545
2545
|
disabled: x.value,
|
|
2546
2546
|
onClick: (U) => I(y)
|
|
@@ -2786,7 +2786,7 @@ const Ka = { class: "sm:flex sm:items-start" }, Ja = /* @__PURE__ */ a("div", {
|
|
|
2786
2786
|
a("span", jl, b(m.basename), 1)
|
|
2787
2787
|
]))), 256))
|
|
2788
2788
|
]),
|
|
2789
|
-
|
|
2789
|
+
ge(a("input", {
|
|
2790
2790
|
"onUpdate:modelValue": l[0] || (l[0] = (m) => n.value = m),
|
|
2791
2791
|
onKeyup: St(i, ["enter"]),
|
|
2792
2792
|
class: "my-1 px-2 py-1 border rounded dark:bg-gray-700/25 dark:focus:ring-gray-600 dark:focus:border-gray-600 dark:text-gray-100 w-full",
|
|
@@ -3022,7 +3022,7 @@ const Xi = { render: Ji }, Qi = { class: "border-neutral-300 flex justify-betwee
|
|
|
3022
3022
|
onClick: m[2] || (m[2] = (f) => r(o).getCount() !== 1 || r(e).modal.open(_n, { items: r(o).getSelected() }))
|
|
3023
3023
|
}, [
|
|
3024
3024
|
Q(r(ai), {
|
|
3025
|
-
class:
|
|
3025
|
+
class: he(r(o).getCount() === 1 ? "vf-toolbar-icon" : "vf-toolbar-icon-disabled")
|
|
3026
3026
|
}, null, 8, ["class"])
|
|
3027
3027
|
], 8, sc)) : W("", !0),
|
|
3028
3028
|
r(e).features.includes(r(ve).DELETE) ? (h(), _("div", {
|
|
@@ -3034,7 +3034,7 @@ const Xi = { render: Ji }, Qi = { class: "border-neutral-300 flex justify-betwee
|
|
|
3034
3034
|
onClick: m[3] || (m[3] = (f) => !r(o).getCount() || r(e).modal.open(xn, { items: r(o).getSelected() }))
|
|
3035
3035
|
}, [
|
|
3036
3036
|
Q(r(ui), {
|
|
3037
|
-
class:
|
|
3037
|
+
class: he(r(o).getCount() ? "vf-toolbar-icon" : "vf-toolbar-icon-disabled")
|
|
3038
3038
|
}, null, 8, ["class"])
|
|
3039
3039
|
], 8, oc)) : W("", !0),
|
|
3040
3040
|
r(e).features.includes(r(ve).UPLOAD) ? (h(), _("div", {
|
|
@@ -3056,7 +3056,7 @@ const Xi = { render: Ji }, Qi = { class: "border-neutral-300 flex justify-betwee
|
|
|
3056
3056
|
onClick: m[5] || (m[5] = (f) => !r(o).getCount() || r(e).modal.open(wn, { items: r(o).getSelected() }))
|
|
3057
3057
|
}, [
|
|
3058
3058
|
Q(r(Ci), {
|
|
3059
|
-
class:
|
|
3059
|
+
class: he(r(o).getCount() ? "vf-toolbar-icon" : "vf-toolbar-icon-disabled")
|
|
3060
3060
|
}, null, 8, ["class"])
|
|
3061
3061
|
], 8, rc)) : W("", !0),
|
|
3062
3062
|
r(e).features.includes(r(ve).ARCHIVE) ? (h(), _("div", {
|
|
@@ -3068,7 +3068,7 @@ const Xi = { render: Ji }, Qi = { class: "border-neutral-300 flex justify-betwee
|
|
|
3068
3068
|
onClick: m[6] || (m[6] = (f) => !r(o).getCount() || r(e).modal.open(yn, { items: r(o).getSelected() }))
|
|
3069
3069
|
}, [
|
|
3070
3070
|
Q(r(wi), {
|
|
3071
|
-
class:
|
|
3071
|
+
class: he(r(o).getCount() ? "vf-toolbar-icon" : "vf-toolbar-icon-disabled")
|
|
3072
3072
|
}, null, 8, ["class"])
|
|
3073
3073
|
], 8, ac)) : W("", !0)
|
|
3074
3074
|
])),
|
|
@@ -3092,11 +3092,11 @@ const Xi = { render: Ji }, Qi = { class: "border-neutral-300 flex justify-betwee
|
|
|
3092
3092
|
}, [
|
|
3093
3093
|
r(e).view === "grid" ? (h(), J(r(Gi), {
|
|
3094
3094
|
key: 0,
|
|
3095
|
-
class:
|
|
3095
|
+
class: he(c.value.length ? "vf-toolbar-icon-disabled" : "vf-toolbar-icon")
|
|
3096
3096
|
}, null, 8, ["class"])) : W("", !0),
|
|
3097
3097
|
r(e).view === "list" ? (h(), J(r(Xi), {
|
|
3098
3098
|
key: 1,
|
|
3099
|
-
class:
|
|
3099
|
+
class: he(c.value.length ? "vf-toolbar-icon-disabled" : "vf-toolbar-icon")
|
|
3100
3100
|
}, null, 8, ["class"])) : W("", !0)
|
|
3101
3101
|
], 8, mc)
|
|
3102
3102
|
])
|
|
@@ -3468,7 +3468,7 @@ const bd = { render: gd }, _d = { class: "flex p-1.5 bg-neutral-100 dark:bg-gray
|
|
|
3468
3468
|
onDragleave: $[1] || ($[1] = (T) => f(T)),
|
|
3469
3469
|
onDrop: $[2] || ($[2] = (T) => l(T)),
|
|
3470
3470
|
onClick: u,
|
|
3471
|
-
class:
|
|
3471
|
+
class: he(r(e).fs.isGoUpAvailable() ? "text-slate-700 hover:bg-neutral-300 dark:text-neutral-200 dark:hover:bg-gray-700 cursor-pointer" : "text-gray-400 dark:text-neutral-500")
|
|
3472
3472
|
}, null, 8, ["class"])
|
|
3473
3473
|
], 8, xd),
|
|
3474
3474
|
r(e).fs.loading ? (h(), _("span", {
|
|
@@ -3488,7 +3488,7 @@ const bd = { render: gd }, _d = { class: "flex p-1.5 bg-neutral-100 dark:bg-gray
|
|
|
3488
3488
|
}, [
|
|
3489
3489
|
Q(r(Ic), { onClick: v })
|
|
3490
3490
|
], 8, wd)),
|
|
3491
|
-
|
|
3491
|
+
ge(a("div", {
|
|
3492
3492
|
onClick: Ze(A, ["self"]),
|
|
3493
3493
|
class: "group flex bg-white dark:bg-gray-700 items-center rounded p-1 ml-2 w-full overflow-hidden"
|
|
3494
3494
|
}, [
|
|
@@ -3501,7 +3501,7 @@ const bd = { render: gd }, _d = { class: "flex p-1.5 bg-neutral-100 dark:bg-gray
|
|
|
3501
3501
|
})
|
|
3502
3502
|
]),
|
|
3503
3503
|
a("div", kd, [
|
|
3504
|
-
r(e).fs.hiddenBreadcrumbs.length ?
|
|
3504
|
+
r(e).fs.hiddenBreadcrumbs.length ? ge((h(), _("div", $d, [
|
|
3505
3505
|
Sd,
|
|
3506
3506
|
a("div", Cd, [
|
|
3507
3507
|
a("span", {
|
|
@@ -3538,11 +3538,11 @@ const bd = { render: gd }, _d = { class: "flex p-1.5 bg-neutral-100 dark:bg-gray
|
|
|
3538
3538
|
], 512), [
|
|
3539
3539
|
[Xe, !r(e).fs.searchMode]
|
|
3540
3540
|
]),
|
|
3541
|
-
|
|
3541
|
+
ge(a("div", Dd, [
|
|
3542
3542
|
a("div", null, [
|
|
3543
3543
|
Q(r(nd))
|
|
3544
3544
|
]),
|
|
3545
|
-
|
|
3545
|
+
ge(a("input", {
|
|
3546
3546
|
ref_key: "searchInput",
|
|
3547
3547
|
ref: k,
|
|
3548
3548
|
onKeydown: St(g, ["esc"]),
|
|
@@ -3558,7 +3558,7 @@ const bd = { render: gd }, _d = { class: "flex p-1.5 bg-neutral-100 dark:bg-gray
|
|
|
3558
3558
|
], 512), [
|
|
3559
3559
|
[Xe, r(e).fs.searchMode]
|
|
3560
3560
|
]),
|
|
3561
|
-
|
|
3561
|
+
ge(a("div", Ld, [
|
|
3562
3562
|
(h(!0), _(ke, null, Ce(r(e).fs.hiddenBreadcrumbs, (T, I) => (h(), _("div", {
|
|
3563
3563
|
key: I,
|
|
3564
3564
|
onDragover: $[11] || ($[11] = (N) => m(N)),
|
|
@@ -3597,7 +3597,7 @@ const bd = { render: gd }, _d = { class: "flex p-1.5 bg-neutral-100 dark:bg-gray
|
|
|
3597
3597
|
d(m);
|
|
3598
3598
|
}, 5e3);
|
|
3599
3599
|
}), (l, m) => (h(), _("div", {
|
|
3600
|
-
class:
|
|
3600
|
+
class: he([n.value.value ? "fixed" : "absolute", "max-w-fit flex flex-col bottom-0 left-1/2 -translate-x-1/2"])
|
|
3601
3601
|
}, [
|
|
3602
3602
|
Q(Ln, {
|
|
3603
3603
|
name: "vf-toast-item",
|
|
@@ -3608,7 +3608,7 @@ const bd = { render: gd }, _d = { class: "flex p-1.5 bg-neutral-100 dark:bg-gray
|
|
|
3608
3608
|
(h(!0), _(ke, null, Ce(o.value, (f, v) => (h(), _("div", {
|
|
3609
3609
|
onClick: (u) => i(v),
|
|
3610
3610
|
key: f,
|
|
3611
|
-
class:
|
|
3611
|
+
class: he([c(f.type), "inline-block mx-auto my-0.5 py-0.5 px-2 min-w-max bg-gray-50 dark:bg-gray-600 border text-xs sm:text-sm rounded cursor-pointer"])
|
|
3612
3612
|
}, b(f.label), 11, Bd))), 128))
|
|
3613
3613
|
]),
|
|
3614
3614
|
_: 1
|
|
@@ -3686,10 +3686,10 @@ const Qd = { render: Xd }, ys = {
|
|
|
3686
3686
|
return (e, s) => (h(), _("span", null, [
|
|
3687
3687
|
t.type === "dir" ? (h(), J(r($n), {
|
|
3688
3688
|
key: 0,
|
|
3689
|
-
class:
|
|
3689
|
+
class: he({ "h-5 w-5": t.small, "h-10 w-10 md:h-12 md:w-12 m-auto": !t.small })
|
|
3690
3690
|
}, null, 8, ["class"])) : (h(), J(r(Qd), {
|
|
3691
3691
|
key: 1,
|
|
3692
|
-
class:
|
|
3692
|
+
class: he({ "h-5 w-5": t.small, "h-10 w-10 md:h-12 md:w-12 m-auto": !t.small })
|
|
3693
3693
|
}, null, 8, ["class"]))
|
|
3694
3694
|
]));
|
|
3695
3695
|
}
|
|
@@ -3787,7 +3787,7 @@ const ou = { render: su }, nu = { class: "absolute -z-50 -top-96" }, ru = { clas
|
|
|
3787
3787
|
]),
|
|
3788
3788
|
a("div", null, [
|
|
3789
3789
|
i.value ? (h(), _("div", uu, [
|
|
3790
|
-
|
|
3790
|
+
ge(a("textarea", {
|
|
3791
3791
|
ref_key: "editInput",
|
|
3792
3792
|
ref: c,
|
|
3793
3793
|
"onUpdate:modelValue": x[1] || (x[1] = (S) => o.value = S),
|
|
@@ -4152,9 +4152,9 @@ const ou = { render: su }, nu = { class: "absolute -z-50 -top-96" }, ru = { clas
|
|
|
4152
4152
|
u.target.dispatchEvent(p);
|
|
4153
4153
|
}, 500);
|
|
4154
4154
|
};
|
|
4155
|
-
return (u, p) =>
|
|
4155
|
+
return (u, p) => ge((h(), _("div", {
|
|
4156
4156
|
style: zs({ opacity: r(s).isDraggingRef.value && r(s).getSelection().find((x) => u.$el === x) ? "0.5 !important" : "" }),
|
|
4157
|
-
class:
|
|
4157
|
+
class: he(["vf-item-" + r(s).explorerId]),
|
|
4158
4158
|
"data-type": t.item.type,
|
|
4159
4159
|
key: t.item.path,
|
|
4160
4160
|
"data-item": JSON.stringify(t.item),
|
|
@@ -4217,7 +4217,7 @@ const ou = { render: su }, nu = { class: "absolute -z-50 -top-96" }, ru = { clas
|
|
|
4217
4217
|
class: "col-span-7 vf-sort-button"
|
|
4218
4218
|
}, [
|
|
4219
4219
|
se(b(r(s)("Name")) + " ", 1),
|
|
4220
|
-
|
|
4220
|
+
ge(Q(qt, {
|
|
4221
4221
|
direction: l.order
|
|
4222
4222
|
}, null, 8, ["direction"]), [
|
|
4223
4223
|
[Xe, l.active && l.column === "basename"]
|
|
@@ -4229,7 +4229,7 @@ const ou = { render: su }, nu = { class: "absolute -z-50 -top-96" }, ru = { clas
|
|
|
4229
4229
|
class: "justify-center col-span-2 vf-sort-button"
|
|
4230
4230
|
}, [
|
|
4231
4231
|
se(b(r(s)("Size")) + " ", 1),
|
|
4232
|
-
|
|
4232
|
+
ge(Q(qt, {
|
|
4233
4233
|
direction: l.order
|
|
4234
4234
|
}, null, 8, ["direction"]), [
|
|
4235
4235
|
[Xe, l.active && l.column === "file_size"]
|
|
@@ -4241,7 +4241,7 @@ const ou = { render: su }, nu = { class: "absolute -z-50 -top-96" }, ru = { clas
|
|
|
4241
4241
|
class: "justify-center col-span-3 vf-sort-button"
|
|
4242
4242
|
}, [
|
|
4243
4243
|
se(b(r(s)("Date")) + " ", 1),
|
|
4244
|
-
|
|
4244
|
+
ge(Q(qt, {
|
|
4245
4245
|
direction: l.order
|
|
4246
4246
|
}, null, 8, ["direction"]), [
|
|
4247
4247
|
[Xe, l.active && l.column === "last_modified"]
|
|
@@ -4253,7 +4253,7 @@ const ou = { render: su }, nu = { class: "absolute -z-50 -top-96" }, ru = { clas
|
|
|
4253
4253
|
class: "justify-center col-span-5 vf-sort-button"
|
|
4254
4254
|
}, [
|
|
4255
4255
|
se(b(r(s)("Filepath")) + " ", 1),
|
|
4256
|
-
|
|
4256
|
+
ge(Q(qt, {
|
|
4257
4257
|
direction: l.order
|
|
4258
4258
|
}, null, 8, ["direction"]), [
|
|
4259
4259
|
[Xe, l.active && l.column === "path"]
|
|
@@ -4269,16 +4269,16 @@ const ou = { render: su }, nu = { class: "absolute -z-50 -top-96" }, ru = { clas
|
|
|
4269
4269
|
]),
|
|
4270
4270
|
a("div", {
|
|
4271
4271
|
ref: r(i).scrollBarContainer,
|
|
4272
|
-
class: "vf-explorer-scrollbar-container"
|
|
4272
|
+
class: he(["vf-explorer-scrollbar-container", [{ "grid-view": r(e).view === "grid" }]])
|
|
4273
4273
|
}, [
|
|
4274
4274
|
a("div", {
|
|
4275
4275
|
ref: r(i).scrollBar,
|
|
4276
|
-
class: "w-
|
|
4276
|
+
class: "w-5 bg-transparent pointer-events-none"
|
|
4277
4277
|
}, null, 512)
|
|
4278
|
-
],
|
|
4278
|
+
], 2),
|
|
4279
4279
|
a("div", {
|
|
4280
4280
|
ref: r(i).area,
|
|
4281
|
-
class:
|
|
4281
|
+
class: he([{ "resize-y": !r(e).fullScreen }, "h-full w-full text-xs vf-explorer-scrollbar vf-selector-area min-h-[150px] z-0 overflow-y-auto"]),
|
|
4282
4282
|
onContextmenu: u[4] || (u[4] = Ze((p) => r(e).emitter.emit("vf-contextmenu-show", { event: p, items: r(i).getSelected() }), ["self", "prevent"]))
|
|
4283
4283
|
}, [
|
|
4284
4284
|
c.value.length ? (h(!0), _(ke, { key: 0 }, Ce(m(), (p, x) => (h(), J(ks, {
|
|
@@ -4468,7 +4468,7 @@ const ou = { render: su }, nu = { class: "absolute -z-50 -top-96" }, ru = { clas
|
|
|
4468
4468
|
};
|
|
4469
4469
|
});
|
|
4470
4470
|
};
|
|
4471
|
-
return (v, u) =>
|
|
4471
|
+
return (v, u) => ge((h(), _("ul", {
|
|
4472
4472
|
ref_key: "contextmenu",
|
|
4473
4473
|
ref: n,
|
|
4474
4474
|
style: zs(i.positions),
|
|
@@ -4528,7 +4528,7 @@ const ou = { render: su }, nu = { class: "absolute -z-50 -top-96" }, ru = { clas
|
|
|
4528
4528
|
}, g0 = { key: 1 };
|
|
4529
4529
|
function b0(t, e, s, n, o, c) {
|
|
4530
4530
|
return h(), _("div", {
|
|
4531
|
-
class:
|
|
4531
|
+
class: he(["text-sm text-green-600 dark:text-green-600 transition-opacity duration-500 ease-out", [{ "opacity-0": !n.shown }]])
|
|
4532
4532
|
}, [
|
|
4533
4533
|
t.$slots.default ? Tt(t.$slots, "default", { key: 0 }) : (h(), _("span", g0, b(n.t("Saved.")), 1))
|
|
4534
4534
|
], 2);
|
|
@@ -4634,7 +4634,7 @@ const ft = /* @__PURE__ */ v0(h0, [["render", b0]]), _0 = { class: "sm:flex sm:i
|
|
|
4634
4634
|
a("div", E0, [
|
|
4635
4635
|
a("div", A0, [
|
|
4636
4636
|
a("div", D0, [
|
|
4637
|
-
|
|
4637
|
+
ge(a("input", {
|
|
4638
4638
|
id: "metric_unit",
|
|
4639
4639
|
name: "metric_unit",
|
|
4640
4640
|
type: "checkbox",
|
|
@@ -4662,7 +4662,7 @@ const ft = /* @__PURE__ */ v0(h0, [["render", b0]]), _0 = { class: "sm:flex sm:i
|
|
|
4662
4662
|
]),
|
|
4663
4663
|
a("div", T0, [
|
|
4664
4664
|
a("div", O0, [
|
|
4665
|
-
|
|
4665
|
+
ge(a("input", {
|
|
4666
4666
|
id: "large_icons",
|
|
4667
4667
|
name: "large_icons",
|
|
4668
4668
|
type: "checkbox",
|
|
@@ -4690,7 +4690,7 @@ const ft = /* @__PURE__ */ v0(h0, [["render", b0]]), _0 = { class: "sm:flex sm:i
|
|
|
4690
4690
|
]),
|
|
4691
4691
|
a("div", B0, [
|
|
4692
4692
|
a("div", R0, [
|
|
4693
|
-
|
|
4693
|
+
ge(a("input", {
|
|
4694
4694
|
id: "persist_path",
|
|
4695
4695
|
name: "persist_path",
|
|
4696
4696
|
type: "checkbox",
|
|
@@ -4718,7 +4718,7 @@ const ft = /* @__PURE__ */ v0(h0, [["render", b0]]), _0 = { class: "sm:flex sm:i
|
|
|
4718
4718
|
]),
|
|
4719
4719
|
a("div", U0, [
|
|
4720
4720
|
a("div", z0, [
|
|
4721
|
-
|
|
4721
|
+
ge(a("input", {
|
|
4722
4722
|
id: "show_thumbnails",
|
|
4723
4723
|
name: "show_thumbnails",
|
|
4724
4724
|
type: "checkbox",
|
|
@@ -4749,7 +4749,7 @@ const ft = /* @__PURE__ */ v0(h0, [["render", b0]]), _0 = { class: "sm:flex sm:i
|
|
|
4749
4749
|
a("label", G0, b(r(o)("Theme")), 1)
|
|
4750
4750
|
]),
|
|
4751
4751
|
a("div", W0, [
|
|
4752
|
-
|
|
4752
|
+
ge(a("select", {
|
|
4753
4753
|
id: "theme",
|
|
4754
4754
|
"onUpdate:modelValue": w[4] || (w[4] = (g) => r(e).theme.value = g),
|
|
4755
4755
|
onChange: w[5] || (w[5] = (g) => l(g.target.value)),
|
|
@@ -4779,7 +4779,7 @@ const ft = /* @__PURE__ */ v0(h0, [["render", b0]]), _0 = { class: "sm:flex sm:i
|
|
|
4779
4779
|
a("label", Q0, b(r(o)("Language")), 1)
|
|
4780
4780
|
]),
|
|
4781
4781
|
a("div", Z0, [
|
|
4782
|
-
|
|
4782
|
+
ge(a("select", {
|
|
4783
4783
|
id: "language",
|
|
4784
4784
|
"onUpdate:modelValue": w[6] || (w[6] = (g) => Eo(i) ? i.value = g : null),
|
|
4785
4785
|
onChange: w[7] || (w[7] = (g) => r(c)(g.target.value)),
|
|
@@ -4875,7 +4875,7 @@ const mm = { render: um }, fm = { class: "p-1 text-xs border-t border-neutral-30
|
|
|
4875
4875
|
}, [
|
|
4876
4876
|
Q(r(lm))
|
|
4877
4877
|
], 8, vm),
|
|
4878
|
-
|
|
4878
|
+
ge(a("select", {
|
|
4879
4879
|
"onUpdate:modelValue": m[0] || (m[0] = (f) => r(e).fs.adapter = f),
|
|
4880
4880
|
onChange: c,
|
|
4881
4881
|
class: "py-0.5 text-sm text-slate-500 border dark:border-gray-600 dark:text-neutral-50 dark:bg-gray-700 rounded pl-2 pr-8"
|
|
@@ -4892,7 +4892,7 @@ const mm = { render: um }, fm = { class: "p-1 text-xs border-t border-neutral-30
|
|
|
4892
4892
|
a("div", xm, [
|
|
4893
4893
|
r(e).selectButton.active ? (h(), _("button", {
|
|
4894
4894
|
key: 0,
|
|
4895
|
-
class:
|
|
4895
|
+
class: he(["vf-btn py-0 vf-btn-primary", { disabled: !d.value }]),
|
|
4896
4896
|
disabled: !d.value,
|
|
4897
4897
|
onClick: m[1] || (m[1] = (f) => r(e).selectButton.click(r(o).getSelected(), f))
|
|
4898
4898
|
}, b(r(s)("Select")), 11, wm)) : W("", !0),
|
|
@@ -5012,10 +5012,10 @@ const mm = { render: um }, fm = { class: "p-1 text-xs border-t border-neutral-30
|
|
|
5012
5012
|
ref: i
|
|
5013
5013
|
}, [
|
|
5014
5014
|
a("div", {
|
|
5015
|
-
class:
|
|
5015
|
+
class: he(r(o).theme.actualValue)
|
|
5016
5016
|
}, [
|
|
5017
5017
|
a("div", {
|
|
5018
|
-
class:
|
|
5018
|
+
class: he([r(o).fullScreen ? "fixed w-screen inset-0 z-20" : "relative rounded", "border flex flex-col bg-white dark:bg-gray-800 text-gray-700 dark:text-neutral-400 border-neutral-300 dark:border-gray-900 select-none"]),
|
|
5019
5019
|
style: zs(r(o).fullScreen ? "" : "max-height: " + t.maxHeight),
|
|
5020
5020
|
onMousedown: v[0] || (v[0] = (u) => r(o).emitter.emit("vf-contextmenu-hide")),
|
|
5021
5021
|
onTouchstart: v[1] || (v[1] = (u) => r(o).emitter.emit("vf-contextmenu-hide"))
|