@brftech/filex-core 0.12.0 → 0.13.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/{ArchiveViewer-ChemVSr_.js → ArchiveViewer-Brzg_0Xj.js} +14 -14
- package/dist/ArchiveViewer-Brzg_0Xj.js.map +1 -0
- package/dist/{CsvViewer-BPLL4a6K.js → CsvViewer-T7W9mqZB.js} +2 -2
- package/dist/{CsvViewer-BPLL4a6K.js.map → CsvViewer-T7W9mqZB.js.map} +1 -1
- package/dist/{DrawioViewer-HUDLaBMb.js → DrawioViewer-DReOOHRc.js} +2 -2
- package/dist/{DrawioViewer-HUDLaBMb.js.map → DrawioViewer-DReOOHRc.js.map} +1 -1
- package/dist/{EpubViewer-Dlb9JwZx.js → EpubViewer-yf9zJXXg.js} +2 -2
- package/dist/{EpubViewer-Dlb9JwZx.js.map → EpubViewer-yf9zJXXg.js.map} +1 -1
- package/dist/{IpynbViewer-omprV92r.js → IpynbViewer-Dt_l00CD.js} +2 -2
- package/dist/{IpynbViewer-omprV92r.js.map → IpynbViewer-Dt_l00CD.js.map} +1 -1
- package/dist/{MermaidViewer-DwgszRcQ.js → MermaidViewer-Nbv27ana.js} +2 -2
- package/dist/{MermaidViewer-DwgszRcQ.js.map → MermaidViewer-Nbv27ana.js.map} +1 -1
- package/dist/{PsdViewer-DIHfkYmM.js → PsdViewer-1nRpsuvz.js} +2 -2
- package/dist/{PsdViewer-DIHfkYmM.js.map → PsdViewer-1nRpsuvz.js.map} +1 -1
- package/dist/{TiffViewer-D5YH_ISS.js → TiffViewer-Djawe0Rq.js} +2 -2
- package/dist/{TiffViewer-D5YH_ISS.js.map → TiffViewer-Djawe0Rq.js.map} +1 -1
- package/dist/{Viewer3D-Qq7TBKJ_.js → Viewer3D-D7EtANiH.js} +2 -2
- package/dist/{Viewer3D-Qq7TBKJ_.js.map → Viewer3D-D7EtANiH.js.map} +1 -1
- package/dist/filex-core.js +1 -1
- package/dist/filex-core.umd.cjs +4 -4
- package/dist/filex-core.umd.cjs.map +1 -1
- package/dist/{index-BekR3mux.js → index-DeVgQCwW.js} +546 -532
- package/dist/index-DeVgQCwW.js.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/FileExplorer.vue +11 -2
- package/src/components/ListView.vue +2 -0
- package/src/components/RecentlyOpened.vue +6 -1
- package/src/components/StarButton.vue +6 -1
- package/src/components/TagPicker.vue +7 -2
- package/src/modals/PreviewModal.vue +1 -1
- package/src/viewers/ArchiveViewer.vue +1 -1
- package/dist/ArchiveViewer-ChemVSr_.js.map +0 -1
- package/dist/index-BekR3mux.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Tr = Object.defineProperty;
|
|
2
2
|
var Er = (n, i, o) => i in n ? Tr(n, i, { enumerable: !0, configurable: !0, writable: !0, value: o }) : n[i] = o;
|
|
3
3
|
var kt = (n, i, o) => Er(n, typeof i != "symbol" ? i + "" : i, o);
|
|
4
|
-
import { ref as g, computed as W, onMounted as Qe, onBeforeUnmount as Ye, defineComponent as Le, openBlock as c, createElementBlock as u, normalizeClass as ve, Fragment as se, renderList as he, createElementVNode as t, normalizeStyle as Ot, createTextVNode as $e, toDisplayString as
|
|
4
|
+
import { ref as g, computed as W, onMounted as Qe, onBeforeUnmount as Ye, defineComponent as Le, openBlock as c, createElementBlock as u, normalizeClass as ve, Fragment as se, renderList as he, createElementVNode as t, normalizeStyle as Ot, createTextVNode as $e, toDisplayString as p, createCommentVNode as B, unref as f, createBlock as Ne, Teleport as Ro, createVNode as Ke, Transition as Lt, withCtx as Re, withModifiers as Ee, withKeys as ut, nextTick as it, watch as Pe, withDirectives as ze, vModelText as Ze, vModelCheckbox as na, renderSlot as mo, shallowRef as Dr, resolveDynamicComponent as Mr, mergeProps as Pr, getCurrentScope as Ar, onScopeDispose as Ir, vModelSelect as Ea, customRef as Lr, createStaticVNode as fn } from "vue";
|
|
5
5
|
function ho(n) {
|
|
6
6
|
return !!n && n.enabled && n.state === "ok";
|
|
7
7
|
}
|
|
@@ -1975,11 +1975,11 @@ const dl = {
|
|
|
1975
1975
|
class: "fx-presence-avatar",
|
|
1976
1976
|
style: Ot({ backgroundColor: `hsl(${h(P)} 60% 45%)` })
|
|
1977
1977
|
}, [
|
|
1978
|
-
$e(
|
|
1978
|
+
$e(p(r(P.name)) + " ", 1),
|
|
1979
1979
|
P.file ? (c(), u("span", pl)) : B("", !0)
|
|
1980
1980
|
], 4),
|
|
1981
|
-
t("span", vl,
|
|
1982
|
-
P.file ? (c(), u("span", ml, "· " +
|
|
1981
|
+
t("span", vl, p(P.name), 1),
|
|
1982
|
+
P.file ? (c(), u("span", ml, "· " + p(P.file), 1)) : B("", !0)
|
|
1983
1983
|
], 8, fl))), 128))
|
|
1984
1984
|
])) : (c(), u(se, { key: 1 }, [
|
|
1985
1985
|
t("div", {
|
|
@@ -1992,29 +1992,29 @@ const dl = {
|
|
|
1992
1992
|
style: Ot({ backgroundColor: `hsl(${h(P)} 60% 45%)` }),
|
|
1993
1993
|
title: w(P)
|
|
1994
1994
|
}, [
|
|
1995
|
-
$e(
|
|
1995
|
+
$e(p(r(P.name)) + " ", 1),
|
|
1996
1996
|
P.file ? (c(), u("span", bl)) : B("", !0)
|
|
1997
1997
|
], 12, yl))), 128)),
|
|
1998
|
-
d.value.length > 5 ? (c(), u("span", gl, "+" +
|
|
1998
|
+
d.value.length > 5 ? (c(), u("span", gl, "+" + p(d.value.length - 5), 1)) : B("", !0)
|
|
1999
1999
|
], 8, hl),
|
|
2000
2000
|
t("span", {
|
|
2001
2001
|
class: "fx-presence-text",
|
|
2002
2002
|
title: d.value.map(w).join(", ")
|
|
2003
2003
|
}, [
|
|
2004
|
-
$e(
|
|
2004
|
+
$e(p(d.value.length === 1 ? d.value[0].name : `${d.value.length} kişi`) + " ", 1),
|
|
2005
2005
|
d.value.length === 1 && d.value[0].file ? (c(), u(se, { key: 0 }, [
|
|
2006
2006
|
H[0] || (H[0] = $e(" · ", -1)),
|
|
2007
|
-
t("span", kl,
|
|
2007
|
+
t("span", kl, p(d.value[0].file), 1)
|
|
2008
2008
|
], 64)) : B("", !0)
|
|
2009
2009
|
], 8, _l)
|
|
2010
2010
|
], 64)),
|
|
2011
2011
|
t("button", {
|
|
2012
2012
|
type: "button",
|
|
2013
2013
|
class: "fx-presence-toggle",
|
|
2014
|
-
title: s.value ?
|
|
2014
|
+
title: s.value ? f(o)("presence.collapse") : f(o)("presence.expand"),
|
|
2015
2015
|
"aria-expanded": s.value,
|
|
2016
2016
|
onClick: l
|
|
2017
|
-
},
|
|
2017
|
+
}, p(s.value ? "‹" : "›"), 9, wl)
|
|
2018
2018
|
], 2)) : B("", !0);
|
|
2019
2019
|
}
|
|
2020
2020
|
}), sa = (n, i) => {
|
|
@@ -2169,7 +2169,7 @@ const dl = {
|
|
|
2169
2169
|
ref: L,
|
|
2170
2170
|
class: "fe-sheet",
|
|
2171
2171
|
role: "menu",
|
|
2172
|
-
"aria-label":
|
|
2172
|
+
"aria-label": f(l)("sheet.menu"),
|
|
2173
2173
|
tabindex: "-1",
|
|
2174
2174
|
style: Ot(k.value),
|
|
2175
2175
|
onClick: y[0] || (y[0] = Ee(() => {
|
|
@@ -2179,7 +2179,7 @@ const dl = {
|
|
|
2179
2179
|
class: "fe-sheet__handle",
|
|
2180
2180
|
role: "button",
|
|
2181
2181
|
tabindex: "0",
|
|
2182
|
-
"aria-label":
|
|
2182
|
+
"aria-label": f(l)("sheet.close"),
|
|
2183
2183
|
onClick: S,
|
|
2184
2184
|
onKeydown: ut(Ee(S, ["prevent"]), ["enter"]),
|
|
2185
2185
|
onTouchstartPassive: F,
|
|
@@ -2199,8 +2199,8 @@ const dl = {
|
|
|
2199
2199
|
role: "menuitem",
|
|
2200
2200
|
onClick: ($) => Q(v)
|
|
2201
2201
|
}, [
|
|
2202
|
-
v.icon ? (c(), u("span", Pl,
|
|
2203
|
-
t("span", Al,
|
|
2202
|
+
v.icon ? (c(), u("span", Pl, p(v.icon), 1)) : B("", !0),
|
|
2203
|
+
t("span", Al, p(v.label), 1)
|
|
2204
2204
|
], 10, Ml))
|
|
2205
2205
|
], 64))), 128))
|
|
2206
2206
|
])
|
|
@@ -2211,7 +2211,7 @@ const dl = {
|
|
|
2211
2211
|
class: "fe-ctx",
|
|
2212
2212
|
role: "menu",
|
|
2213
2213
|
"aria-orientation": "vertical",
|
|
2214
|
-
"aria-label":
|
|
2214
|
+
"aria-label": f(l)("sheet.menu"),
|
|
2215
2215
|
style: Ot({ top: h.value + "px", left: r.value + "px" }),
|
|
2216
2216
|
onClick: y[1] || (y[1] = Ee(() => {
|
|
2217
2217
|
}, ["stop"]))
|
|
@@ -2227,8 +2227,8 @@ const dl = {
|
|
|
2227
2227
|
role: "menuitem",
|
|
2228
2228
|
onClick: ($) => Q(v)
|
|
2229
2229
|
}, [
|
|
2230
|
-
v.icon ? (c(), u("span", Bl,
|
|
2231
|
-
t("span", zl,
|
|
2230
|
+
v.icon ? (c(), u("span", Bl, p(v.icon), 1)) : B("", !0),
|
|
2231
|
+
t("span", zl, p(v.label), 1)
|
|
2232
2232
|
], 10, Ol))
|
|
2233
2233
|
], 64))), 128))
|
|
2234
2234
|
], 12, Il))
|
|
@@ -2440,9 +2440,9 @@ const dl = {
|
|
|
2440
2440
|
ref: h,
|
|
2441
2441
|
type: "search",
|
|
2442
2442
|
class: "fe-search__input",
|
|
2443
|
-
placeholder:
|
|
2443
|
+
placeholder: f(r)("toolbar.search.placeholder"),
|
|
2444
2444
|
value: w.value,
|
|
2445
|
-
"aria-label":
|
|
2445
|
+
"aria-label": f(r)("toolbar.search"),
|
|
2446
2446
|
onInput: H,
|
|
2447
2447
|
onKeydown: ut(Ee(Q, ["stop", "prevent"]), ["esc"])
|
|
2448
2448
|
}, null, 40, ui)
|
|
@@ -2450,8 +2450,8 @@ const dl = {
|
|
|
2450
2450
|
t("button", {
|
|
2451
2451
|
type: "button",
|
|
2452
2452
|
class: "fe-btn fe-btn--icon-only",
|
|
2453
|
-
title:
|
|
2454
|
-
"aria-label":
|
|
2453
|
+
title: f(r)("toolbar.search.close"),
|
|
2454
|
+
"aria-label": f(r)("toolbar.search.close"),
|
|
2455
2455
|
onClick: Q
|
|
2456
2456
|
}, [...b[27] || (b[27] = [
|
|
2457
2457
|
t("span", { class: "fe-icon" }, "✕", -1)
|
|
@@ -2461,8 +2461,8 @@ const dl = {
|
|
|
2461
2461
|
key: 0,
|
|
2462
2462
|
type: "button",
|
|
2463
2463
|
class: "fe-btn fe-btn--icon-only",
|
|
2464
|
-
title:
|
|
2465
|
-
"aria-label":
|
|
2464
|
+
title: f(r)("toolbar.go_up"),
|
|
2465
|
+
"aria-label": f(r)("toolbar.go_up"),
|
|
2466
2466
|
onClick: b[10] || (b[10] = ($) => s("go-up"))
|
|
2467
2467
|
}, [...b[28] || (b[28] = [
|
|
2468
2468
|
t("span", { class: "fe-icon" }, "↑", -1)
|
|
@@ -2471,8 +2471,8 @@ const dl = {
|
|
|
2471
2471
|
t("button", {
|
|
2472
2472
|
type: "button",
|
|
2473
2473
|
class: ve(["fe-btn fe-btn--icon-only fe-toolbar__search-toggle", { "is-active": !!w.value }]),
|
|
2474
|
-
title:
|
|
2475
|
-
"aria-label":
|
|
2474
|
+
title: f(r)("toolbar.search"),
|
|
2475
|
+
"aria-label": f(r)("toolbar.search"),
|
|
2476
2476
|
onClick: k
|
|
2477
2477
|
}, [...b[29] || (b[29] = [
|
|
2478
2478
|
t("span", { class: "fe-icon" }, "🔍", -1)
|
|
@@ -2481,8 +2481,8 @@ const dl = {
|
|
|
2481
2481
|
key: 1,
|
|
2482
2482
|
type: "button",
|
|
2483
2483
|
class: "fe-btn fe-btn--icon-only",
|
|
2484
|
-
title:
|
|
2485
|
-
"aria-label":
|
|
2484
|
+
title: f(r)("toolbar.upload"),
|
|
2485
|
+
"aria-label": f(r)("toolbar.upload"),
|
|
2486
2486
|
onClick: b[11] || (b[11] = ($) => s("upload"))
|
|
2487
2487
|
}, [...b[30] || (b[30] = [
|
|
2488
2488
|
t("span", { class: "fe-icon" }, "⬆", -1)
|
|
@@ -2492,8 +2492,8 @@ const dl = {
|
|
|
2492
2492
|
ref: le,
|
|
2493
2493
|
type: "button",
|
|
2494
2494
|
class: "fe-btn fe-btn--icon-only fe-toolbar__more",
|
|
2495
|
-
title:
|
|
2496
|
-
"aria-label":
|
|
2495
|
+
title: f(r)("toolbar.more"),
|
|
2496
|
+
"aria-label": f(r)("toolbar.more"),
|
|
2497
2497
|
"aria-haspopup": "menu",
|
|
2498
2498
|
onClick: E
|
|
2499
2499
|
}, [...b[31] || (b[31] = [
|
|
@@ -2519,8 +2519,8 @@ const dl = {
|
|
|
2519
2519
|
key: 0,
|
|
2520
2520
|
type: "button",
|
|
2521
2521
|
class: "fe-btn fe-btn--icon-only",
|
|
2522
|
-
title:
|
|
2523
|
-
"aria-label":
|
|
2522
|
+
title: f(r)("toolbar.go_up"),
|
|
2523
|
+
"aria-label": f(r)("toolbar.go_up"),
|
|
2524
2524
|
onClick: b[0] || (b[0] = ($) => s("go-up"))
|
|
2525
2525
|
}, [...b[13] || (b[13] = [
|
|
2526
2526
|
t("span", { class: "fe-icon" }, "↑", -1)
|
|
@@ -2529,11 +2529,11 @@ const dl = {
|
|
|
2529
2529
|
key: 1,
|
|
2530
2530
|
type: "button",
|
|
2531
2531
|
class: "fe-btn fe-btn--primary",
|
|
2532
|
-
title:
|
|
2532
|
+
title: f(r)("toolbar.new_folder"),
|
|
2533
2533
|
onClick: b[1] || (b[1] = ($) => s("new-folder"))
|
|
2534
2534
|
}, [
|
|
2535
2535
|
b[14] || (b[14] = t("span", { class: "fe-icon" }, "📁", -1)),
|
|
2536
|
-
t("span", Rl, f(
|
|
2536
|
+
t("span", Rl, p(f(r)("toolbar.new_folder")), 1)
|
|
2537
2537
|
], 8, Nl)) : B("", !0),
|
|
2538
2538
|
(c(!0), u(se, null, he(L.value, ($) => (c(), u("button", {
|
|
2539
2539
|
key: $.key,
|
|
@@ -2543,8 +2543,8 @@ const dl = {
|
|
|
2543
2543
|
title: $.label,
|
|
2544
2544
|
onClick: (ie) => _($.key)
|
|
2545
2545
|
}, [
|
|
2546
|
-
t("span", Fl,
|
|
2547
|
-
t("span", jl,
|
|
2546
|
+
t("span", Fl, p($.icon), 1),
|
|
2547
|
+
t("span", jl, p($.label), 1)
|
|
2548
2548
|
], 10, Ul))), 128)),
|
|
2549
2549
|
z.value.length > 0 ? (c(), u("button", {
|
|
2550
2550
|
key: 2,
|
|
@@ -2552,8 +2552,8 @@ const dl = {
|
|
|
2552
2552
|
ref: T,
|
|
2553
2553
|
type: "button",
|
|
2554
2554
|
class: "fe-btn fe-btn--icon-only",
|
|
2555
|
-
title:
|
|
2556
|
-
"aria-label":
|
|
2555
|
+
title: f(r)("toolbar.more"),
|
|
2556
|
+
"aria-label": f(r)("toolbar.more"),
|
|
2557
2557
|
"aria-haspopup": "menu",
|
|
2558
2558
|
onClick: F
|
|
2559
2559
|
}, [...b[15] || (b[15] = [
|
|
@@ -2571,19 +2571,19 @@ const dl = {
|
|
|
2571
2571
|
class: "fe-btn",
|
|
2572
2572
|
tabindex: "-1"
|
|
2573
2573
|
}, [
|
|
2574
|
-
t("span", Hl,
|
|
2575
|
-
t("span", Yl,
|
|
2574
|
+
t("span", Hl, p($.icon), 1),
|
|
2575
|
+
t("span", Yl, p($.label), 1)
|
|
2576
2576
|
]))), 128))
|
|
2577
2577
|
], 512),
|
|
2578
2578
|
n.pasteEnabled && O.value === "none" && !n.trashActive && !n.atVirtualRoot && n.canWrite !== !1 ? (c(), u("button", {
|
|
2579
2579
|
key: 3,
|
|
2580
2580
|
type: "button",
|
|
2581
2581
|
class: "fe-btn",
|
|
2582
|
-
title:
|
|
2582
|
+
title: f(r)("ctx.paste"),
|
|
2583
2583
|
onClick: b[2] || (b[2] = ($) => _("paste"))
|
|
2584
2584
|
}, [
|
|
2585
2585
|
b[16] || (b[16] = t("span", { class: "fe-icon" }, "📋", -1)),
|
|
2586
|
-
t("span", Wl, f(
|
|
2586
|
+
t("span", Wl, p(f(r)("ctx.paste")), 1)
|
|
2587
2587
|
], 8, Gl)) : B("", !0)
|
|
2588
2588
|
], 512),
|
|
2589
2589
|
b[26] || (b[26] = t("div", { class: "fe-toolbar__spacer" }, null, -1)),
|
|
@@ -2594,9 +2594,9 @@ const dl = {
|
|
|
2594
2594
|
ref: h,
|
|
2595
2595
|
type: "search",
|
|
2596
2596
|
class: "fe-search__input",
|
|
2597
|
-
placeholder:
|
|
2597
|
+
placeholder: f(r)("toolbar.search.placeholder"),
|
|
2598
2598
|
value: w.value,
|
|
2599
|
-
"aria-label":
|
|
2599
|
+
"aria-label": f(r)("toolbar.search"),
|
|
2600
2600
|
onInput: H
|
|
2601
2601
|
}, null, 40, Xl)
|
|
2602
2602
|
]),
|
|
@@ -2604,8 +2604,8 @@ const dl = {
|
|
|
2604
2604
|
key: 0,
|
|
2605
2605
|
type: "button",
|
|
2606
2606
|
class: "fe-btn fe-btn--icon-only",
|
|
2607
|
-
title:
|
|
2608
|
-
"aria-label":
|
|
2607
|
+
title: f(r)("toolbar.upload"),
|
|
2608
|
+
"aria-label": f(r)("toolbar.upload"),
|
|
2609
2609
|
onClick: b[3] || (b[3] = ($) => s("upload"))
|
|
2610
2610
|
}, [...b[17] || (b[17] = [
|
|
2611
2611
|
t("span", {
|
|
@@ -2616,8 +2616,8 @@ const dl = {
|
|
|
2616
2616
|
t("button", {
|
|
2617
2617
|
type: "button",
|
|
2618
2618
|
class: "fe-btn fe-btn--icon-only",
|
|
2619
|
-
title:
|
|
2620
|
-
"aria-label":
|
|
2619
|
+
title: f(r)("toolbar.refresh"),
|
|
2620
|
+
"aria-label": f(r)("toolbar.refresh"),
|
|
2621
2621
|
onClick: b[4] || (b[4] = ($) => s("refresh"))
|
|
2622
2622
|
}, [...b[18] || (b[18] = [
|
|
2623
2623
|
t("span", {
|
|
@@ -2630,8 +2630,8 @@ const dl = {
|
|
|
2630
2630
|
type: "button",
|
|
2631
2631
|
class: ve(["fe-btn fe-btn--icon-only fe-toolbar__density", { "is-active": l.value === "compact" }]),
|
|
2632
2632
|
"aria-pressed": l.value === "compact",
|
|
2633
|
-
"aria-label": l.value === "compact" ?
|
|
2634
|
-
title: l.value === "compact" ?
|
|
2633
|
+
"aria-label": l.value === "compact" ? f(r)("toolbar.density.comfortable") : f(r)("toolbar.density.compact"),
|
|
2634
|
+
title: l.value === "compact" ? f(r)("toolbar.density.comfortable") : f(r)("toolbar.density.compact"),
|
|
2635
2635
|
onClick: m
|
|
2636
2636
|
}, [
|
|
2637
2637
|
l.value === "compact" ? (c(), u("svg", ti, [...b[19] || (b[19] = [
|
|
@@ -2644,8 +2644,8 @@ const dl = {
|
|
|
2644
2644
|
type: "button",
|
|
2645
2645
|
class: ve(["fe-btn fe-btn--icon-only fe-toolbar__inspector", { "is-active": n.inspectorOpen }]),
|
|
2646
2646
|
"aria-pressed": !!n.inspectorOpen,
|
|
2647
|
-
title:
|
|
2648
|
-
"aria-label":
|
|
2647
|
+
title: f(r)("toolbar.inspector"),
|
|
2648
|
+
"aria-label": f(r)("toolbar.inspector"),
|
|
2649
2649
|
onClick: b[5] || (b[5] = ($) => s("toggle-inspector"))
|
|
2650
2650
|
}, [...b[21] || (b[21] = [
|
|
2651
2651
|
t("svg", {
|
|
@@ -2676,8 +2676,8 @@ const dl = {
|
|
|
2676
2676
|
t("button", {
|
|
2677
2677
|
type: "button",
|
|
2678
2678
|
class: "fe-btn fe-btn--icon-only fe-toolbar__theme",
|
|
2679
|
-
title:
|
|
2680
|
-
"aria-label":
|
|
2679
|
+
title: f(r)("theme.menu"),
|
|
2680
|
+
"aria-label": f(r)("theme.menu"),
|
|
2681
2681
|
onClick: b[6] || (b[6] = ($) => s("open-theme"))
|
|
2682
2682
|
}, [...b[22] || (b[22] = [
|
|
2683
2683
|
t("svg", {
|
|
@@ -2718,7 +2718,7 @@ const dl = {
|
|
|
2718
2718
|
t("div", {
|
|
2719
2719
|
class: "fe-toolbar__view",
|
|
2720
2720
|
role: "tablist",
|
|
2721
|
-
"aria-label":
|
|
2721
|
+
"aria-label": f(r)("toolbar.view_label")
|
|
2722
2722
|
/* wiring:c4 — was hardcoded EN */
|
|
2723
2723
|
}, [
|
|
2724
2724
|
t("button", {
|
|
@@ -2726,8 +2726,8 @@ const dl = {
|
|
|
2726
2726
|
class: ve(["fe-btn fe-btn--icon-only", { "is-active": n.viewMode === "list" }]),
|
|
2727
2727
|
role: "tab",
|
|
2728
2728
|
"aria-selected": n.viewMode === "list",
|
|
2729
|
-
title:
|
|
2730
|
-
"aria-label":
|
|
2729
|
+
title: f(r)("toolbar.view.list"),
|
|
2730
|
+
"aria-label": f(r)("toolbar.view.list"),
|
|
2731
2731
|
onClick: b[7] || (b[7] = ($) => s("update:viewMode", "list"))
|
|
2732
2732
|
}, [...b[23] || (b[23] = [
|
|
2733
2733
|
t("span", {
|
|
@@ -2740,8 +2740,8 @@ const dl = {
|
|
|
2740
2740
|
class: ve(["fe-btn fe-btn--icon-only", { "is-active": n.viewMode === "grid" }]),
|
|
2741
2741
|
role: "tab",
|
|
2742
2742
|
"aria-selected": n.viewMode === "grid",
|
|
2743
|
-
title:
|
|
2744
|
-
"aria-label":
|
|
2743
|
+
title: f(r)("toolbar.view.grid"),
|
|
2744
|
+
"aria-label": f(r)("toolbar.view.grid"),
|
|
2745
2745
|
onClick: b[8] || (b[8] = ($) => s("update:viewMode", "grid"))
|
|
2746
2746
|
}, [...b[24] || (b[24] = [
|
|
2747
2747
|
t("span", {
|
|
@@ -2754,8 +2754,8 @@ const dl = {
|
|
|
2754
2754
|
class: ve(["fe-btn fe-btn--icon-only", { "is-active": n.viewMode === "gallery" }]),
|
|
2755
2755
|
role: "tab",
|
|
2756
2756
|
"aria-selected": n.viewMode === "gallery",
|
|
2757
|
-
title:
|
|
2758
|
-
"aria-label":
|
|
2757
|
+
title: f(r)("toolbar.view.gallery"),
|
|
2758
|
+
"aria-label": f(r)("toolbar.view.gallery"),
|
|
2759
2759
|
onClick: b[9] || (b[9] = ($) => s("update:viewMode", "gallery"))
|
|
2760
2760
|
}, [...b[25] || (b[25] = [
|
|
2761
2761
|
t("span", {
|
|
@@ -2783,6 +2783,7 @@ const dl = {
|
|
|
2783
2783
|
nodeId: {},
|
|
2784
2784
|
apiBase: {},
|
|
2785
2785
|
authHeaders: { type: Function },
|
|
2786
|
+
authCredentials: {},
|
|
2786
2787
|
palette: {}
|
|
2787
2788
|
},
|
|
2788
2789
|
emits: ["change", "error"],
|
|
@@ -2811,7 +2812,7 @@ const dl = {
|
|
|
2811
2812
|
try {
|
|
2812
2813
|
const N = o.apiBase ?? "", S = await fetch(`${N}/api/files/manager/tags?node_id=${o.nodeId}`, {
|
|
2813
2814
|
headers: await I(),
|
|
2814
|
-
credentials: "
|
|
2815
|
+
credentials: o.authCredentials ?? "same-origin"
|
|
2815
2816
|
});
|
|
2816
2817
|
if (S.ok) {
|
|
2817
2818
|
const T = await S.json();
|
|
@@ -2830,7 +2831,7 @@ const dl = {
|
|
|
2830
2831
|
const T = o.apiBase ?? "", A = await fetch(`${T}/api/files/manager/tags`, {
|
|
2831
2832
|
method: "POST",
|
|
2832
2833
|
headers: await I({ "Content-Type": "application/json" }),
|
|
2833
|
-
credentials: "
|
|
2834
|
+
credentials: o.authCredentials ?? "same-origin",
|
|
2834
2835
|
body: JSON.stringify({ node_id: o.nodeId, tags: N })
|
|
2835
2836
|
});
|
|
2836
2837
|
if (!A.ok) throw new Error(`tag save failed: ${A.status}`);
|
|
@@ -2858,7 +2859,7 @@ const dl = {
|
|
|
2858
2859
|
class: "filex-tag",
|
|
2859
2860
|
style: Ot({ "--filex-tag-color": w(T) })
|
|
2860
2861
|
}, [
|
|
2861
|
-
$e(
|
|
2862
|
+
$e(p(T) + " ", 1),
|
|
2862
2863
|
t("button", {
|
|
2863
2864
|
class: "filex-tag-x",
|
|
2864
2865
|
type: "button",
|
|
@@ -2890,7 +2891,7 @@ const dl = {
|
|
|
2890
2891
|
}, "+ Add tag"))
|
|
2891
2892
|
], 2));
|
|
2892
2893
|
}
|
|
2893
|
-
}), _i = /* @__PURE__ */ sa(gi, [["__scopeId", "data-v-
|
|
2894
|
+
}), _i = /* @__PURE__ */ sa(gi, [["__scopeId", "data-v-f45d1512"]]), ki = { class: "filex-recent" }, wi = ["disabled"], xi = { key: 0 }, $i = ["onClick"], Ci = { class: "filex-recent-name" }, Si = { class: "filex-recent-meta" }, Ti = {
|
|
2894
2895
|
key: 1,
|
|
2895
2896
|
class: "filex-recent-empty"
|
|
2896
2897
|
}, Ei = {
|
|
@@ -2901,6 +2902,7 @@ const dl = {
|
|
|
2901
2902
|
props: {
|
|
2902
2903
|
apiBase: {},
|
|
2903
2904
|
authHeaders: { type: Function },
|
|
2905
|
+
authCredentials: {},
|
|
2904
2906
|
limit: {},
|
|
2905
2907
|
refreshKey: {}
|
|
2906
2908
|
},
|
|
@@ -2912,7 +2914,7 @@ const dl = {
|
|
|
2912
2914
|
try {
|
|
2913
2915
|
const h = await (o.authHeaders ?? (() => ({})))(), w = o.apiBase ?? "", I = o.limit ?? 20, H = await fetch(`${w}/api/files/manager/recent?limit=${I}`, {
|
|
2914
2916
|
headers: h,
|
|
2915
|
-
credentials: "
|
|
2917
|
+
credentials: o.authCredentials ?? "same-origin"
|
|
2916
2918
|
});
|
|
2917
2919
|
if (H.ok) {
|
|
2918
2920
|
const P = await H.json();
|
|
@@ -2950,14 +2952,14 @@ const dl = {
|
|
|
2950
2952
|
onClick: (H) => d("open", I),
|
|
2951
2953
|
class: "filex-recent-item"
|
|
2952
2954
|
}, [
|
|
2953
|
-
t("span", Ci,
|
|
2954
|
-
t("span", Si,
|
|
2955
|
+
t("span", Ci, p(I.name), 1),
|
|
2956
|
+
t("span", Si, p(r(I.last_opened)), 1)
|
|
2955
2957
|
], 8, $i)
|
|
2956
2958
|
]))), 128))
|
|
2957
2959
|
])) : l.value ? (c(), u("p", Ei, "Loading…")) : (c(), u("p", Ti, "Nothing here yet."))
|
|
2958
2960
|
]));
|
|
2959
2961
|
}
|
|
2960
|
-
}), Mi = /* @__PURE__ */ sa(Di, [["__scopeId", "data-v-
|
|
2962
|
+
}), Mi = /* @__PURE__ */ sa(Di, [["__scopeId", "data-v-71358505"]]), Pi = {
|
|
2961
2963
|
class: "fe-breadcrumb",
|
|
2962
2964
|
"aria-label": "Breadcrumb"
|
|
2963
2965
|
}, Ai = ["aria-current", "onClick", "onContextmenu", "onDrop"], Ii = {
|
|
@@ -3113,7 +3115,7 @@ const dl = {
|
|
|
3113
3115
|
"onUpdate:modelValue": Q[1] || (Q[1] = (R) => j.value = R),
|
|
3114
3116
|
type: "text",
|
|
3115
3117
|
class: "fe-breadcrumb__input",
|
|
3116
|
-
placeholder:
|
|
3118
|
+
placeholder: f(l)("breadcrumb.path_placeholder"),
|
|
3117
3119
|
spellcheck: "false",
|
|
3118
3120
|
autocomplete: "off",
|
|
3119
3121
|
onKeydown: [
|
|
@@ -3134,7 +3136,7 @@ const dl = {
|
|
|
3134
3136
|
onDragover: te,
|
|
3135
3137
|
onDrop: (ce) => L(ce, R)
|
|
3136
3138
|
}, [
|
|
3137
|
-
t("span", null,
|
|
3139
|
+
t("span", null, p(R.label), 1),
|
|
3138
3140
|
h.value || Z < w.value.length - 1 ? (c(), u("span", Ii, "›")) : B("", !0)
|
|
3139
3141
|
], 42, Ai))), 128)),
|
|
3140
3142
|
I.value.length ? (c(), u("span", {
|
|
@@ -3148,8 +3150,8 @@ const dl = {
|
|
|
3148
3150
|
class: "fe-breadcrumb__more",
|
|
3149
3151
|
"aria-haspopup": "menu",
|
|
3150
3152
|
"aria-expanded": P.value,
|
|
3151
|
-
"aria-label":
|
|
3152
|
-
title:
|
|
3153
|
+
"aria-label": f(l)("breadcrumb.more"),
|
|
3154
|
+
title: f(l)("breadcrumb.more"),
|
|
3153
3155
|
onClick: Q[0] || (Q[0] = (R) => P.value = !P.value)
|
|
3154
3156
|
}, "…", 8, Li),
|
|
3155
3157
|
Q[2] || (Q[2] = t("span", {
|
|
@@ -3163,7 +3165,7 @@ const dl = {
|
|
|
3163
3165
|
class: "fe-breadcrumb__menu-item",
|
|
3164
3166
|
role: "menuitem",
|
|
3165
3167
|
onClick: (Z) => U(R)
|
|
3166
|
-
},
|
|
3168
|
+
}, p(R.label), 9, Bi))), 128))
|
|
3167
3169
|
])) : B("", !0)
|
|
3168
3170
|
], 512)) : B("", !0),
|
|
3169
3171
|
(c(!0), u(se, null, he(H.value, (R, Z) => (c(), u("button", {
|
|
@@ -3176,14 +3178,14 @@ const dl = {
|
|
|
3176
3178
|
onDragover: te,
|
|
3177
3179
|
onDrop: (ce) => L(ce, R)
|
|
3178
3180
|
}, [
|
|
3179
|
-
t("span", null,
|
|
3181
|
+
t("span", null, p(R.label), 1),
|
|
3180
3182
|
Z < H.value.length - 1 ? (c(), u("span", Ki, "›")) : B("", !0)
|
|
3181
3183
|
], 42, zi))), 128)),
|
|
3182
3184
|
t("button", {
|
|
3183
3185
|
type: "button",
|
|
3184
3186
|
class: "fe-breadcrumb__edit",
|
|
3185
|
-
title:
|
|
3186
|
-
"aria-label":
|
|
3187
|
+
title: f(l)("breadcrumb.go_to_path"),
|
|
3188
|
+
"aria-label": f(l)("breadcrumb.go_to_path"),
|
|
3187
3189
|
onClick: F
|
|
3188
3190
|
}, "✏", 8, Ni)
|
|
3189
3191
|
], 64))
|
|
@@ -3308,6 +3310,7 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
3308
3310
|
nodeId: {},
|
|
3309
3311
|
apiBase: {},
|
|
3310
3312
|
authHeaders: { type: Function },
|
|
3313
|
+
authCredentials: {},
|
|
3311
3314
|
compact: { type: Boolean }
|
|
3312
3315
|
},
|
|
3313
3316
|
emits: ["change", "error"],
|
|
@@ -3326,7 +3329,7 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
3326
3329
|
}, h = o.apiBase ?? "", w = await fetch(`${h}/api/files/manager/star`, {
|
|
3327
3330
|
method: "POST",
|
|
3328
3331
|
headers: r,
|
|
3329
|
-
credentials: "
|
|
3332
|
+
credentials: o.authCredentials ?? "same-origin",
|
|
3330
3333
|
body: JSON.stringify({ node_id: o.nodeId, starred: m })
|
|
3331
3334
|
});
|
|
3332
3335
|
if (!w.ok) throw new Error(`star toggle failed: ${w.status}`);
|
|
@@ -3351,10 +3354,10 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
3351
3354
|
d: "M12 2.5l3.09 6.26 6.91 1-5 4.87 1.18 6.87L12 18.27l-6.18 3.23L7 14.63 2 9.76l6.91-1z"
|
|
3352
3355
|
}, null, 8, Wi)
|
|
3353
3356
|
])),
|
|
3354
|
-
n.compact ? B("", !0) : (c(), u("span", qi,
|
|
3357
|
+
n.compact ? B("", !0) : (c(), u("span", qi, p(s.value ? "Starred" : "Star"), 1))
|
|
3355
3358
|
], 10, Yi));
|
|
3356
3359
|
}
|
|
3357
|
-
}), Xi = /* @__PURE__ */ sa(Ji, [["__scopeId", "data-v-
|
|
3360
|
+
}), Xi = /* @__PURE__ */ sa(Ji, [["__scopeId", "data-v-f3b3f90a"]]), Qi = ["aria-label", "aria-busy"], Zi = {
|
|
3358
3361
|
class: "fe-list__head",
|
|
3359
3362
|
role: "row"
|
|
3360
3363
|
}, ec = ["aria-label"], tc = ["aria-sort"], ac = ["title"], nc = {
|
|
@@ -3412,7 +3415,8 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
3412
3415
|
loading: { type: Boolean },
|
|
3413
3416
|
starredIds: {},
|
|
3414
3417
|
apiBase: {},
|
|
3415
|
-
authHeaders: { type: Function }
|
|
3418
|
+
authHeaders: { type: Function },
|
|
3419
|
+
authCredentials: {}
|
|
3416
3420
|
},
|
|
3417
3421
|
emits: ["click-row", "dbl-row", "context-row", "item-drag-start", "item-drop-into", "star-change"],
|
|
3418
3422
|
setup(n, { emit: i }) {
|
|
@@ -3552,14 +3556,14 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
3552
3556
|
return (y, v) => (c(), u("div", {
|
|
3553
3557
|
class: ve(["fe-list", { "is-loading": n.loading, "has-star-col": !!n.apiBase || n.apiBase === "" }]),
|
|
3554
3558
|
role: "grid",
|
|
3555
|
-
"aria-label":
|
|
3559
|
+
"aria-label": f(s)("list.aria"),
|
|
3556
3560
|
"aria-busy": n.loading ? "true" : void 0
|
|
3557
3561
|
}, [
|
|
3558
3562
|
t("div", Zi, [
|
|
3559
3563
|
t("div", {
|
|
3560
3564
|
class: "fe-list__col fe-list__col--star",
|
|
3561
3565
|
role: "columnheader",
|
|
3562
|
-
"aria-label":
|
|
3566
|
+
"aria-label": f(s)("col.star")
|
|
3563
3567
|
/* wiring:c4 */
|
|
3564
3568
|
}, null, 8, ec),
|
|
3565
3569
|
t("div", {
|
|
@@ -3570,11 +3574,11 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
3570
3574
|
t("button", {
|
|
3571
3575
|
type: "button",
|
|
3572
3576
|
class: "fe-list__sort",
|
|
3573
|
-
title:
|
|
3577
|
+
title: f(s)("col.sort"),
|
|
3574
3578
|
onClick: v[0] || (v[0] = (b) => R("name"))
|
|
3575
3579
|
}, [
|
|
3576
|
-
$e(f(
|
|
3577
|
-
C.value === "name" ? (c(), u("span", nc,
|
|
3580
|
+
$e(p(f(s)("col.name")) + " ", 1),
|
|
3581
|
+
C.value === "name" ? (c(), u("span", nc, p(k.value === "asc" ? "↑" : "↓"), 1)) : B("", !0)
|
|
3578
3582
|
], 8, ac)
|
|
3579
3583
|
], 8, tc),
|
|
3580
3584
|
t("div", {
|
|
@@ -3585,11 +3589,11 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
3585
3589
|
t("button", {
|
|
3586
3590
|
type: "button",
|
|
3587
3591
|
class: "fe-list__sort",
|
|
3588
|
-
title:
|
|
3592
|
+
title: f(s)("col.sort"),
|
|
3589
3593
|
onClick: v[1] || (v[1] = (b) => R("size"))
|
|
3590
3594
|
}, [
|
|
3591
|
-
$e(f(
|
|
3592
|
-
C.value === "size" ? (c(), u("span", rc,
|
|
3595
|
+
$e(p(f(s)("col.size")) + " ", 1),
|
|
3596
|
+
C.value === "size" ? (c(), u("span", rc, p(k.value === "asc" ? "↑" : "↓"), 1)) : B("", !0)
|
|
3593
3597
|
], 8, sc)
|
|
3594
3598
|
], 8, oc),
|
|
3595
3599
|
t("div", {
|
|
@@ -3600,11 +3604,11 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
3600
3604
|
t("button", {
|
|
3601
3605
|
type: "button",
|
|
3602
3606
|
class: "fe-list__sort",
|
|
3603
|
-
title:
|
|
3607
|
+
title: f(s)("col.sort"),
|
|
3604
3608
|
onClick: v[2] || (v[2] = (b) => R("modified"))
|
|
3605
3609
|
}, [
|
|
3606
|
-
$e(f(
|
|
3607
|
-
C.value === "modified" ? (c(), u("span", cc,
|
|
3610
|
+
$e(p(f(s)("col.modified")) + " ", 1),
|
|
3611
|
+
C.value === "modified" ? (c(), u("span", cc, p(k.value === "asc" ? "↑" : "↓"), 1)) : B("", !0)
|
|
3608
3612
|
], 8, ic)
|
|
3609
3613
|
], 8, lc)
|
|
3610
3614
|
]),
|
|
@@ -3612,7 +3616,7 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
3612
3616
|
(c(!0), u(se, null, he(E.value, (b) => (c(), u(se, {
|
|
3613
3617
|
key: b.id
|
|
3614
3618
|
}, [
|
|
3615
|
-
b.label ? (c(), u("div", dc,
|
|
3619
|
+
b.label ? (c(), u("div", dc, p(b.label), 1)) : B("", !0),
|
|
3616
3620
|
(c(!0), u(se, null, he(b.nodes, ($) => {
|
|
3617
3621
|
var ie, we;
|
|
3618
3622
|
return c(), u("div", {
|
|
@@ -3627,7 +3631,7 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
3627
3631
|
role: "row",
|
|
3628
3632
|
tabindex: "0",
|
|
3629
3633
|
"aria-selected": r($) ? "true" : "false",
|
|
3630
|
-
"aria-label":
|
|
3634
|
+
"aria-label": f(m)($),
|
|
3631
3635
|
"data-fe-path": $.path,
|
|
3632
3636
|
draggable: "true",
|
|
3633
3637
|
onClick: (be) => h($, be),
|
|
@@ -3653,45 +3657,46 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
3653
3657
|
"node-id": $.id,
|
|
3654
3658
|
"api-base": n.apiBase,
|
|
3655
3659
|
"auth-headers": n.authHeaders,
|
|
3660
|
+
"auth-credentials": n.authCredentials,
|
|
3656
3661
|
compact: "",
|
|
3657
3662
|
onChange: (be) => d("star-change", $, be)
|
|
3658
|
-
}, null, 8, ["starred", "node-id", "api-base", "auth-headers", "onChange"])) : B("", !0)
|
|
3663
|
+
}, null, 8, ["starred", "node-id", "api-base", "auth-headers", "auth-credentials", "onChange"])) : B("", !0)
|
|
3659
3664
|
]),
|
|
3660
3665
|
t("div", pc, [
|
|
3661
|
-
L($) ? (c(), u("span", vc,
|
|
3666
|
+
L($) ? (c(), u("span", vc, p(L($)), 1)) : (c(), u("span", {
|
|
3662
3667
|
key: 1,
|
|
3663
3668
|
class: "fe-list__icon fe-list__icon--svg",
|
|
3664
3669
|
"aria-hidden": "true",
|
|
3665
|
-
innerHTML:
|
|
3670
|
+
innerHTML: f(oa)($)
|
|
3666
3671
|
}, null, 8, mc)),
|
|
3667
3672
|
t("div", hc, [
|
|
3668
3673
|
t("span", {
|
|
3669
3674
|
class: "fe-list__name",
|
|
3670
3675
|
title: $.basename
|
|
3671
3676
|
}, [
|
|
3672
|
-
$e(f(
|
|
3673
|
-
_($) ? (c(), u("span", bc, f(
|
|
3677
|
+
$e(p(f(m)($)) + " ", 1),
|
|
3678
|
+
_($) ? (c(), u("span", bc, p(f(s)("search.in_content")), 1)) : B("", !0)
|
|
3674
3679
|
], 8, yc),
|
|
3675
3680
|
n.showParentPath ? (c(), u("span", {
|
|
3676
3681
|
key: 0,
|
|
3677
3682
|
class: "fe-list__parent",
|
|
3678
3683
|
title: K($.path)
|
|
3679
|
-
},
|
|
3684
|
+
}, p(K($.path) || "—"), 9, gc)) : B("", !0),
|
|
3680
3685
|
F($) ? (c(), u("span", _c, [
|
|
3681
|
-
(c(!0), u(se, null, he(
|
|
3682
|
-
be.match ? (c(), u("mark", kc,
|
|
3683
|
-
$e(
|
|
3686
|
+
(c(!0), u(se, null, he(f(Oa)(F($)), (be, Oe) => (c(), u(se, { key: Oe }, [
|
|
3687
|
+
be.match ? (c(), u("mark", kc, p(be.text), 1)) : (c(), u(se, { key: 1 }, [
|
|
3688
|
+
$e(p(be.text), 1)
|
|
3684
3689
|
], 64))
|
|
3685
3690
|
], 64))), 128))
|
|
3686
3691
|
])) : B("", !0)
|
|
3687
3692
|
])
|
|
3688
3693
|
]),
|
|
3689
|
-
t("div", wc, f(
|
|
3690
|
-
t("div", xc,
|
|
3694
|
+
t("div", wc, p(f(l)($.size)), 1),
|
|
3695
|
+
t("div", xc, p(j($.last_modified)), 1)
|
|
3691
3696
|
], 42, fc);
|
|
3692
3697
|
}), 128))
|
|
3693
3698
|
], 64))), 128)),
|
|
3694
|
-
!n.loading && le.value.length === 0 ? (c(), u("div", $c, f(
|
|
3699
|
+
!n.loading && le.value.length === 0 ? (c(), u("div", $c, p(f(s)("empty.folder")), 1)) : B("", !0)
|
|
3695
3700
|
])
|
|
3696
3701
|
], 10, Qi));
|
|
3697
3702
|
}
|
|
@@ -3787,7 +3792,7 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
3787
3792
|
class: ve(["fe-grid", { "is-loading": n.loading }]),
|
|
3788
3793
|
role: "listbox",
|
|
3789
3794
|
"aria-multiselectable": "true",
|
|
3790
|
-
"aria-label":
|
|
3795
|
+
"aria-label": f(s)("grid.aria"),
|
|
3791
3796
|
"aria-busy": n.loading ? "true" : void 0
|
|
3792
3797
|
}, [
|
|
3793
3798
|
(c(!0), u(se, null, he(n.files, (k) => {
|
|
@@ -3804,7 +3809,7 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
3804
3809
|
tabindex: "0",
|
|
3805
3810
|
role: "option",
|
|
3806
3811
|
"aria-selected": h(k) ? "true" : "false",
|
|
3807
|
-
"aria-label":
|
|
3812
|
+
"aria-label": f(m)(k),
|
|
3808
3813
|
"data-fe-path": k.path,
|
|
3809
3814
|
draggable: "true",
|
|
3810
3815
|
onClick: (R) => w(k, R),
|
|
@@ -3825,36 +3830,36 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
3825
3830
|
alt: k.basename,
|
|
3826
3831
|
loading: "lazy",
|
|
3827
3832
|
draggable: "false"
|
|
3828
|
-
}, null, 8, Ec)) : j(k) ? (c(), u("span", Dc,
|
|
3833
|
+
}, null, 8, Ec)) : j(k) ? (c(), u("span", Dc, p(j(k)), 1)) : (c(), u("span", {
|
|
3829
3834
|
key: 2,
|
|
3830
3835
|
class: "fe-grid__icon fe-grid__icon--svg",
|
|
3831
|
-
innerHTML:
|
|
3836
|
+
innerHTML: f(oa)(k)
|
|
3832
3837
|
}, null, 8, Mc))
|
|
3833
3838
|
]),
|
|
3834
3839
|
t("div", {
|
|
3835
3840
|
class: "fe-grid__label",
|
|
3836
3841
|
title: k.basename
|
|
3837
|
-
}, f(
|
|
3842
|
+
}, p(f(m)(k)), 9, Pc),
|
|
3838
3843
|
n.showParentPath ? (c(), u("div", {
|
|
3839
3844
|
key: 0,
|
|
3840
3845
|
class: "fe-grid__parent",
|
|
3841
3846
|
title: z(k.path)
|
|
3842
|
-
},
|
|
3843
|
-
t("div", Ic, f(
|
|
3847
|
+
}, p(z(k.path) || "—"), 9, Ac)) : B("", !0),
|
|
3848
|
+
t("div", Ic, p(f(l)(k.size)), 1),
|
|
3844
3849
|
K(k) ? (c(), u("div", {
|
|
3845
3850
|
key: 1,
|
|
3846
3851
|
class: "fe-grid__snippet",
|
|
3847
3852
|
title: F(K(k))
|
|
3848
3853
|
}, [
|
|
3849
|
-
(c(!0), u(se, null, he(
|
|
3850
|
-
R.match ? (c(), u("mark", Oc,
|
|
3851
|
-
$e(
|
|
3854
|
+
(c(!0), u(se, null, he(f(Oa)(K(k)), (R, Z) => (c(), u(se, { key: Z }, [
|
|
3855
|
+
R.match ? (c(), u("mark", Oc, p(R.text), 1)) : (c(), u(se, { key: 1 }, [
|
|
3856
|
+
$e(p(R.text), 1)
|
|
3852
3857
|
], 64))
|
|
3853
3858
|
], 64))), 128))
|
|
3854
3859
|
], 8, Lc)) : B("", !0)
|
|
3855
3860
|
], 42, Sc);
|
|
3856
3861
|
}), 128)),
|
|
3857
|
-
!n.loading && n.files.length === 0 ? (c(), u("div", Bc, f(
|
|
3862
|
+
!n.loading && n.files.length === 0 ? (c(), u("div", Bc, p(f(s)("empty.folder")), 1)) : B("", !0)
|
|
3858
3863
|
], 10, Cc));
|
|
3859
3864
|
}
|
|
3860
3865
|
}), zc = ["aria-label", "aria-busy"], Kc = ["aria-selected", "aria-label", "onClick", "onDblclick", "onContextmenu", "onDragstart", "onDragover", "onDragleave", "onDrop", "onTouchstartPassive"], Nc = { class: "fe-gal__thumb" }, Rc = ["src", "alt"], Uc = {
|
|
@@ -3952,7 +3957,7 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
3952
3957
|
class: ve(["fe-gal", { "is-loading": n.loading }]),
|
|
3953
3958
|
role: "listbox",
|
|
3954
3959
|
"aria-multiselectable": "true",
|
|
3955
|
-
"aria-label":
|
|
3960
|
+
"aria-label": f(s)("gallery.aria"),
|
|
3956
3961
|
"aria-busy": n.loading ? "true" : void 0
|
|
3957
3962
|
}, [
|
|
3958
3963
|
(c(!0), u(se, null, he(n.files, (k) => {
|
|
@@ -3969,7 +3974,7 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
3969
3974
|
tabindex: "0",
|
|
3970
3975
|
role: "option",
|
|
3971
3976
|
"aria-selected": h(k) ? "true" : "false",
|
|
3972
|
-
"aria-label":
|
|
3977
|
+
"aria-label": f(m)(k),
|
|
3973
3978
|
draggable: "true",
|
|
3974
3979
|
onClick: (R) => w(k, R),
|
|
3975
3980
|
onDblclick: (R) => I(k),
|
|
@@ -3989,27 +3994,27 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
3989
3994
|
alt: k.basename,
|
|
3990
3995
|
loading: "lazy",
|
|
3991
3996
|
draggable: "false"
|
|
3992
|
-
}, null, 8, Rc)) : j(k) ? (c(), u("span", Uc,
|
|
3997
|
+
}, null, 8, Rc)) : j(k) ? (c(), u("span", Uc, p(j(k)), 1)) : (c(), u("span", {
|
|
3993
3998
|
key: 2,
|
|
3994
3999
|
class: "fe-gal__icon fe-gal__icon--svg",
|
|
3995
|
-
innerHTML:
|
|
4000
|
+
innerHTML: f(oa)(k)
|
|
3996
4001
|
}, null, 8, Fc)),
|
|
3997
4002
|
t("div", jc, [
|
|
3998
|
-
F(k) ? (c(), u("span", Vc,
|
|
4003
|
+
F(k) ? (c(), u("span", Vc, p(F(k)), 1)) : B("", !0),
|
|
3999
4004
|
n.showParentPath && z(k.path) ? (c(), u("span", {
|
|
4000
4005
|
key: 1,
|
|
4001
4006
|
class: "fe-gal__meta-line fe-gal__meta-line--path",
|
|
4002
4007
|
title: z(k.path)
|
|
4003
|
-
},
|
|
4008
|
+
}, p(z(k.path)), 9, Hc)) : B("", !0)
|
|
4004
4009
|
])
|
|
4005
4010
|
]),
|
|
4006
4011
|
t("div", {
|
|
4007
4012
|
class: "fe-gal__label",
|
|
4008
4013
|
title: k.basename
|
|
4009
|
-
}, f(
|
|
4014
|
+
}, p(f(m)(k)), 9, Yc)
|
|
4010
4015
|
], 42, Kc);
|
|
4011
4016
|
}), 128)),
|
|
4012
|
-
!n.loading && n.files.length === 0 ? (c(), u("div", Gc, f(
|
|
4017
|
+
!n.loading && n.files.length === 0 ? (c(), u("div", Gc, p(f(s)("empty.folder")), 1)) : B("", !0)
|
|
4013
4018
|
], 10, zc));
|
|
4014
4019
|
}
|
|
4015
4020
|
}), Wc = /* @__PURE__ */ Le({
|
|
@@ -4377,27 +4382,27 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
4377
4382
|
), (ae, de) => (c(), u("aside", {
|
|
4378
4383
|
class: ve(["fe-inspector", { "fe-inspector--overlay": n.narrow }]),
|
|
4379
4384
|
role: "complementary",
|
|
4380
|
-
"aria-label":
|
|
4385
|
+
"aria-label": f(s)("inspector.title")
|
|
4381
4386
|
}, [
|
|
4382
4387
|
t("header", Xc, [
|
|
4383
|
-
t("h2", Qc, f(
|
|
4388
|
+
t("h2", Qc, p(f(s)("inspector.title")), 1),
|
|
4384
4389
|
t("button", {
|
|
4385
4390
|
type: "button",
|
|
4386
4391
|
class: "fe-inspector__close",
|
|
4387
|
-
title:
|
|
4388
|
-
"aria-label":
|
|
4392
|
+
title: f(s)("inspector.close"),
|
|
4393
|
+
"aria-label": f(s)("inspector.close"),
|
|
4389
4394
|
onClick: de[0] || (de[0] = (ne) => d("close"))
|
|
4390
4395
|
}, "×", 8, Zc)
|
|
4391
4396
|
]),
|
|
4392
4397
|
t("div", eu, [
|
|
4393
4398
|
t("section", tu, [
|
|
4394
|
-
t("h3", au, f(
|
|
4399
|
+
t("h3", au, p(f(s)("inspector.section.general")), 1),
|
|
4395
4400
|
h.value ? (c(), u("div", nu, [
|
|
4396
4401
|
t("span", {
|
|
4397
4402
|
class: "fe-inspector__bigicon",
|
|
4398
|
-
innerHTML:
|
|
4403
|
+
innerHTML: f(oa)({ type: "dir" })
|
|
4399
4404
|
}, null, 8, ou),
|
|
4400
|
-
t("p", su, f(
|
|
4405
|
+
t("p", su, p(f(s)("inspector.items_summary", { n: n.nodes.length, size: f(l)(H.value) })), 1)
|
|
4401
4406
|
])) : r.value ? (c(), u(se, { key: 1 }, [
|
|
4402
4407
|
t("div", ru, [
|
|
4403
4408
|
O.value ? (c(), u("img", {
|
|
@@ -4409,54 +4414,54 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
4409
4414
|
}, null, 8, lu)) : (c(), u("span", {
|
|
4410
4415
|
key: 1,
|
|
4411
4416
|
class: "fe-inspector__bigicon",
|
|
4412
|
-
innerHTML:
|
|
4417
|
+
innerHTML: f(oa)(r.value)
|
|
4413
4418
|
}, null, 8, iu)),
|
|
4414
4419
|
t("p", {
|
|
4415
4420
|
class: "fe-inspector__name",
|
|
4416
4421
|
title: r.value.basename
|
|
4417
|
-
}, f(
|
|
4422
|
+
}, p(f(m)(r.value)), 9, cu)
|
|
4418
4423
|
]),
|
|
4419
4424
|
t("dl", uu, [
|
|
4420
4425
|
t("div", du, [
|
|
4421
|
-
t("dt", null, f(
|
|
4426
|
+
t("dt", null, p(f(s)("inspector.path")), 1),
|
|
4422
4427
|
t("dd", fu, [
|
|
4423
4428
|
t("span", {
|
|
4424
4429
|
class: "fe-inspector__path",
|
|
4425
4430
|
title: r.value.path
|
|
4426
|
-
},
|
|
4431
|
+
}, p(r.value.path), 9, pu),
|
|
4427
4432
|
t("button", {
|
|
4428
4433
|
type: "button",
|
|
4429
4434
|
class: "fe-inspector__copy",
|
|
4430
|
-
title:
|
|
4431
|
-
"aria-label":
|
|
4435
|
+
title: f(s)("inspector.copy"),
|
|
4436
|
+
"aria-label": f(s)("inspector.copy"),
|
|
4432
4437
|
onClick: de[1] || (de[1] = (ne) => T(r.value.path))
|
|
4433
4438
|
}, "⧉", 8, vu)
|
|
4434
4439
|
])
|
|
4435
4440
|
]),
|
|
4436
4441
|
w.value ? (c(), u("div", mu, [
|
|
4437
|
-
t("dt", null, f(
|
|
4438
|
-
t("dd", null, f(
|
|
4442
|
+
t("dt", null, p(f(s)("inspector.size")), 1),
|
|
4443
|
+
t("dd", null, p(f(l)(typeof r.value.size == "number" ? r.value.size : null)), 1)
|
|
4439
4444
|
])) : B("", !0),
|
|
4440
4445
|
t("div", hu, [
|
|
4441
|
-
t("dt", null, f(
|
|
4442
|
-
t("dd", null,
|
|
4446
|
+
t("dt", null, p(f(s)("inspector.modified")), 1),
|
|
4447
|
+
t("dd", null, p(N(r.value.last_modified)), 1)
|
|
4443
4448
|
]),
|
|
4444
4449
|
w.value && r.value.mime_type ? (c(), u("div", yu, [
|
|
4445
|
-
t("dt", null, f(
|
|
4446
|
-
t("dd", bu,
|
|
4450
|
+
t("dt", null, p(f(s)("inspector.mime")), 1),
|
|
4451
|
+
t("dd", bu, p(r.value.mime_type), 1)
|
|
4447
4452
|
])) : B("", !0),
|
|
4448
4453
|
P.value ? (c(), u("div", gu, [
|
|
4449
|
-
t("dt", null, f(
|
|
4454
|
+
t("dt", null, p(f(s)("inspector.etag")), 1),
|
|
4450
4455
|
t("dd", _u, [
|
|
4451
4456
|
t("span", {
|
|
4452
4457
|
class: "fe-inspector__path",
|
|
4453
4458
|
title: P.value
|
|
4454
|
-
},
|
|
4459
|
+
}, p(U(P.value)), 9, ku),
|
|
4455
4460
|
t("button", {
|
|
4456
4461
|
type: "button",
|
|
4457
4462
|
class: "fe-inspector__copy",
|
|
4458
|
-
title:
|
|
4459
|
-
"aria-label":
|
|
4463
|
+
title: f(s)("inspector.copy"),
|
|
4464
|
+
"aria-label": f(s)("inspector.copy"),
|
|
4460
4465
|
onClick: de[2] || (de[2] = (ne) => T(P.value))
|
|
4461
4466
|
}, "⧉", 8, wu)
|
|
4462
4467
|
])
|
|
@@ -4465,29 +4470,29 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
4465
4470
|
], 64)) : (c(), u("div", xu, [
|
|
4466
4471
|
t("span", {
|
|
4467
4472
|
class: "fe-inspector__bigicon",
|
|
4468
|
-
innerHTML:
|
|
4473
|
+
innerHTML: f(oa)({ type: "dir" })
|
|
4469
4474
|
}, null, 8, $u),
|
|
4470
4475
|
t("p", {
|
|
4471
4476
|
class: "fe-inspector__name",
|
|
4472
4477
|
title: n.dirLabel
|
|
4473
|
-
},
|
|
4474
|
-
t("p", Su, f(
|
|
4478
|
+
}, p(n.dirLabel), 9, Cu),
|
|
4479
|
+
t("p", Su, p(f(s)("inspector.folder_items", { n: n.dirCount })), 1)
|
|
4475
4480
|
]))
|
|
4476
4481
|
]),
|
|
4477
4482
|
z.value === "ok" || z.value === "error" ? (c(), u("section", Tu, [
|
|
4478
|
-
t("h3", Eu, f(
|
|
4479
|
-
z.value === "error" ? (c(), u("p", Du, f(
|
|
4480
|
-
j.value.length === 0 ? (c(), u("p", Mu, f(
|
|
4483
|
+
t("h3", Eu, p(f(s)("inspector.section.versions")), 1),
|
|
4484
|
+
z.value === "error" ? (c(), u("p", Du, p(f(s)("inspector.error")), 1)) : (c(), u(se, { key: 1 }, [
|
|
4485
|
+
j.value.length === 0 ? (c(), u("p", Mu, p(f(s)("inspector.versions.empty")), 1)) : (c(), u("ul", Pu, [
|
|
4481
4486
|
(c(!0), u(se, null, he(j.value, (ne) => (c(), u("li", {
|
|
4482
4487
|
key: ne.id,
|
|
4483
4488
|
class: "fe-inspector__version"
|
|
4484
4489
|
}, [
|
|
4485
4490
|
t("div", Au, [
|
|
4486
|
-
t("span", Iu, f(
|
|
4487
|
-
t("span", Lu,
|
|
4491
|
+
t("span", Iu, p(f(s)("inspector.versions.v", { n: ne.version_n })), 1),
|
|
4492
|
+
t("span", Lu, p(S(ne.created_at)) + " · " + p(f(l)(ne.size)), 1)
|
|
4488
4493
|
]),
|
|
4489
4494
|
K.value === ne.id ? (c(), u("div", Ou, [
|
|
4490
|
-
t("p", Bu, f(
|
|
4495
|
+
t("p", Bu, p(f(s)("inspector.versions.restore_confirm")), 1),
|
|
4491
4496
|
t("label", zu, [
|
|
4492
4497
|
ze(t("input", {
|
|
4493
4498
|
"onUpdate:modelValue": de[3] || (de[3] = (Se) => F.value = Se),
|
|
@@ -4495,7 +4500,7 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
4495
4500
|
}, null, 512), [
|
|
4496
4501
|
[na, F.value]
|
|
4497
4502
|
]),
|
|
4498
|
-
$e(" " + f(
|
|
4503
|
+
$e(" " + p(f(s)("inspector.versions.snapshot_current")), 1)
|
|
4499
4504
|
]),
|
|
4500
4505
|
t("div", Ku, [
|
|
4501
4506
|
t("button", {
|
|
@@ -4503,13 +4508,13 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
4503
4508
|
class: "fe-btn fe-btn--primary fe-btn--sm",
|
|
4504
4509
|
disabled: _.value,
|
|
4505
4510
|
onClick: (Se) => le(ne)
|
|
4506
|
-
}, f(
|
|
4511
|
+
}, p(f(s)("inspector.versions.confirm")), 9, Nu),
|
|
4507
4512
|
t("button", {
|
|
4508
4513
|
type: "button",
|
|
4509
4514
|
class: "fe-btn fe-btn--sm",
|
|
4510
4515
|
disabled: _.value,
|
|
4511
4516
|
onClick: de[4] || (de[4] = (Se) => K.value = null)
|
|
4512
|
-
}, f(
|
|
4517
|
+
}, p(f(s)("inspector.versions.cancel")), 9, Ru)
|
|
4513
4518
|
])
|
|
4514
4519
|
])) : (c(), u("button", {
|
|
4515
4520
|
key: 1,
|
|
@@ -4517,7 +4522,7 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
4517
4522
|
class: "fe-btn fe-btn--sm",
|
|
4518
4523
|
disabled: _.value,
|
|
4519
4524
|
onClick: (Se) => ce(ne)
|
|
4520
|
-
}, f(
|
|
4525
|
+
}, p(f(s)("inspector.versions.restore")), 9, Uu))
|
|
4521
4526
|
]))), 128))
|
|
4522
4527
|
])),
|
|
4523
4528
|
t("button", {
|
|
@@ -4525,26 +4530,26 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
4525
4530
|
class: "fe-btn fe-btn--sm fe-inspector__snapshot",
|
|
4526
4531
|
disabled: _.value,
|
|
4527
4532
|
onClick: ue
|
|
4528
|
-
}, f(
|
|
4533
|
+
}, p(f(s)("inspector.versions.take_snapshot")), 9, Fu)
|
|
4529
4534
|
], 64))
|
|
4530
4535
|
])) : B("", !0),
|
|
4531
4536
|
r.value && A.value ? (c(), u("section", ju, [
|
|
4532
|
-
t("h3", Vu, f(
|
|
4537
|
+
t("h3", Vu, p(f(s)("inspector.section.permissions")), 1),
|
|
4533
4538
|
t("div", Hu, [
|
|
4534
4539
|
t("span", {
|
|
4535
4540
|
class: ve(["fe-inspector__badge", `fe-inspector__badge--${A.value}`])
|
|
4536
|
-
},
|
|
4541
|
+
}, p(L(A.value)), 3),
|
|
4537
4542
|
te.value ? (c(), u("button", {
|
|
4538
4543
|
key: 0,
|
|
4539
4544
|
type: "button",
|
|
4540
4545
|
class: "fe-btn fe-btn--sm",
|
|
4541
4546
|
onClick: de[5] || (de[5] = (ne) => d("manage-permissions", r.value))
|
|
4542
|
-
}, f(
|
|
4547
|
+
}, p(f(s)("inspector.perm.manage")), 1)) : B("", !0)
|
|
4543
4548
|
])
|
|
4544
4549
|
])) : B("", !0),
|
|
4545
4550
|
C.value === "ok" ? (c(), u("section", Yu, [
|
|
4546
|
-
t("h3", Gu, f(
|
|
4547
|
-
k.value.length === 0 ? (c(), u("p", Wu, f(
|
|
4551
|
+
t("h3", Gu, p(f(s)("inspector.section.shares")), 1),
|
|
4552
|
+
k.value.length === 0 ? (c(), u("p", Wu, p(f(s)("inspector.shares.empty")), 1)) : (c(), u("ul", qu, [
|
|
4548
4553
|
(c(!0), u(se, null, he(k.value, (ne) => (c(), u("li", {
|
|
4549
4554
|
key: ne.uuid,
|
|
4550
4555
|
class: "fe-inspector__share"
|
|
@@ -4552,14 +4557,14 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
4552
4557
|
t("span", {
|
|
4553
4558
|
class: "fe-inspector__share-url",
|
|
4554
4559
|
title: ne.url
|
|
4555
|
-
},
|
|
4560
|
+
}, p(ne.url), 9, Ju),
|
|
4556
4561
|
ne.password_pin ? (c(), u("span", Xu, "PIN")) : B("", !0),
|
|
4557
|
-
ne.expires_at ? (c(), u("span", Qu,
|
|
4562
|
+
ne.expires_at ? (c(), u("span", Qu, p(S(ne.expires_at)), 1)) : B("", !0),
|
|
4558
4563
|
t("button", {
|
|
4559
4564
|
type: "button",
|
|
4560
4565
|
class: "fe-inspector__copy",
|
|
4561
|
-
title:
|
|
4562
|
-
"aria-label":
|
|
4566
|
+
title: f(s)("inspector.shares.copy"),
|
|
4567
|
+
"aria-label": f(s)("inspector.shares.copy"),
|
|
4563
4568
|
onClick: (Se) => T(ne.url)
|
|
4564
4569
|
}, "⧉", 8, Zu)
|
|
4565
4570
|
]))), 128))
|
|
@@ -4567,11 +4572,11 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
4567
4572
|
])) : B("", !0),
|
|
4568
4573
|
ye.value === "ok" || ye.value === "error" ? (c(), u("section", ed, [
|
|
4569
4574
|
t("h3", td, [
|
|
4570
|
-
$e(f(
|
|
4571
|
-
E.value.length > 0 ? (c(), u("span", ad,
|
|
4575
|
+
$e(p(f(s)("inspector.section.comments")) + " ", 1),
|
|
4576
|
+
E.value.length > 0 ? (c(), u("span", ad, p(E.value.length), 1)) : B("", !0)
|
|
4572
4577
|
]),
|
|
4573
|
-
ye.value === "error" ? (c(), u("p", nd, f(
|
|
4574
|
-
E.value.length === 0 ? (c(), u("p", od, f(
|
|
4578
|
+
ye.value === "error" ? (c(), u("p", nd, p(f(s)("inspector.error")), 1)) : (c(), u(se, { key: 1 }, [
|
|
4579
|
+
E.value.length === 0 ? (c(), u("p", od, p(f(s)("inspector.comments.empty")), 1)) : (c(), u("ul", sd, [
|
|
4575
4580
|
(c(!0), u(se, null, he(E.value, (ne) => (c(), u("li", {
|
|
4576
4581
|
key: ne.id,
|
|
4577
4582
|
class: "fe-inspector__comment"
|
|
@@ -4580,22 +4585,22 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
4580
4585
|
t("span", {
|
|
4581
4586
|
class: "fe-inspector__comment-author",
|
|
4582
4587
|
title: ne.author_name
|
|
4583
|
-
},
|
|
4588
|
+
}, p(ne.author_name || "—"), 9, ld),
|
|
4584
4589
|
t("span", {
|
|
4585
4590
|
class: "fe-inspector__comment-time",
|
|
4586
4591
|
title: S(ne.created_at)
|
|
4587
|
-
},
|
|
4592
|
+
}, p(Oe(ne.created_at)), 9, id),
|
|
4588
4593
|
ne.can_delete ? (c(), u("button", {
|
|
4589
4594
|
key: 0,
|
|
4590
4595
|
type: "button",
|
|
4591
4596
|
class: "fe-inspector__comment-del",
|
|
4592
4597
|
disabled: v.value,
|
|
4593
|
-
title:
|
|
4594
|
-
"aria-label":
|
|
4598
|
+
title: f(s)("inspector.comments.delete"),
|
|
4599
|
+
"aria-label": f(s)("inspector.comments.delete"),
|
|
4595
4600
|
onClick: (Se) => be(ne)
|
|
4596
4601
|
}, "×", 8, cd)) : B("", !0)
|
|
4597
4602
|
]),
|
|
4598
|
-
t("p", ud,
|
|
4603
|
+
t("p", ud, p(ne.body), 1)
|
|
4599
4604
|
]))), 128))
|
|
4600
4605
|
])),
|
|
4601
4606
|
t("form", {
|
|
@@ -4607,8 +4612,8 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
4607
4612
|
type: "text",
|
|
4608
4613
|
class: "fe-inspector__comment-input",
|
|
4609
4614
|
maxlength: "5000",
|
|
4610
|
-
placeholder:
|
|
4611
|
-
"aria-label":
|
|
4615
|
+
placeholder: f(s)("inspector.comments.placeholder"),
|
|
4616
|
+
"aria-label": f(s)("inspector.comments.placeholder"),
|
|
4612
4617
|
disabled: v.value
|
|
4613
4618
|
}, null, 8, dd), [
|
|
4614
4619
|
[Ze, y.value]
|
|
@@ -4617,7 +4622,7 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
4617
4622
|
type: "submit",
|
|
4618
4623
|
class: "fe-btn fe-btn--primary fe-btn--sm",
|
|
4619
4624
|
disabled: v.value || y.value.trim() === ""
|
|
4620
|
-
}, f(
|
|
4625
|
+
}, p(f(s)("inspector.comments.send")), 9, fd)
|
|
4621
4626
|
], 32)
|
|
4622
4627
|
], 64))
|
|
4623
4628
|
])) : B("", !0)
|
|
@@ -4905,7 +4910,7 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
4905
4910
|
class: "fe-cmdp",
|
|
4906
4911
|
role: "dialog",
|
|
4907
4912
|
"aria-modal": "true",
|
|
4908
|
-
"aria-label":
|
|
4913
|
+
"aria-label": f(s)("palette.placeholder"),
|
|
4909
4914
|
onClick: y[1] || (y[1] = Ee(() => {
|
|
4910
4915
|
}, ["stop"]))
|
|
4911
4916
|
}, [
|
|
@@ -4934,7 +4939,7 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
4934
4939
|
"onUpdate:modelValue": y[0] || (y[0] = (v) => m.value = v),
|
|
4935
4940
|
type: "text",
|
|
4936
4941
|
class: "fe-cmdp__input",
|
|
4937
|
-
placeholder:
|
|
4942
|
+
placeholder: f(s)("palette.placeholder"),
|
|
4938
4943
|
autocomplete: "off",
|
|
4939
4944
|
spellcheck: "false"
|
|
4940
4945
|
}, null, 8, hd), [
|
|
@@ -4956,11 +4961,11 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
4956
4961
|
onMouseenter: ($) => r.value = b,
|
|
4957
4962
|
onClick: ($) => ue(v)
|
|
4958
4963
|
}, [
|
|
4959
|
-
t("span", bd,
|
|
4960
|
-
t("span", gd,
|
|
4964
|
+
t("span", bd, p(v.icon), 1),
|
|
4965
|
+
t("span", gd, p(v.label), 1)
|
|
4961
4966
|
], 42, yd))), 128)),
|
|
4962
4967
|
P.value.length ? (c(), u(se, { key: 0 }, [
|
|
4963
|
-
t("div", _d, f(
|
|
4968
|
+
t("div", _d, p(f(s)("palette.files")), 1),
|
|
4964
4969
|
(c(!0), u(se, null, he(P.value, (v, b) => (c(), u("button", {
|
|
4965
4970
|
key: v.id,
|
|
4966
4971
|
type: "button",
|
|
@@ -4970,13 +4975,13 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
4970
4975
|
onMouseenter: ($) => r.value = Q.value + b,
|
|
4971
4976
|
onClick: ($) => ue(v)
|
|
4972
4977
|
}, [
|
|
4973
|
-
t("span", wd,
|
|
4974
|
-
t("span", xd,
|
|
4978
|
+
t("span", wd, p(v.icon), 1),
|
|
4979
|
+
t("span", xd, p(v.label), 1)
|
|
4975
4980
|
], 42, kd))), 128))
|
|
4976
4981
|
], 64)) : B("", !0),
|
|
4977
4982
|
L.value.length || N.value ? (c(), u(se, { key: 1 }, [
|
|
4978
|
-
t("div", $d, f(
|
|
4979
|
-
N.value && !L.value.length ? (c(), u("div", Cd, f(
|
|
4983
|
+
t("div", $d, p(f(s)("palette.everywhere")), 1),
|
|
4984
|
+
N.value && !L.value.length ? (c(), u("div", Cd, p(f(s)("palette.searching")), 1)) : B("", !0),
|
|
4980
4985
|
(c(!0), u(se, null, he(L.value, (v, b) => (c(), u("button", {
|
|
4981
4986
|
key: v.id,
|
|
4982
4987
|
type: "button",
|
|
@@ -4986,21 +4991,21 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
4986
4991
|
onMouseenter: ($) => r.value = R.value + b,
|
|
4987
4992
|
onClick: ($) => ue(v)
|
|
4988
4993
|
}, [
|
|
4989
|
-
t("span", Td,
|
|
4994
|
+
t("span", Td, p(v.icon), 1),
|
|
4990
4995
|
t("span", Ed, [
|
|
4991
4996
|
t("span", Dd, [
|
|
4992
|
-
t("span", Md,
|
|
4993
|
-
v.inContent ? (c(), u("span", Pd, f(
|
|
4997
|
+
t("span", Md, p(v.label), 1),
|
|
4998
|
+
v.inContent ? (c(), u("span", Pd, p(f(s)("search.in_content")), 1)) : B("", !0)
|
|
4994
4999
|
]),
|
|
4995
5000
|
v.crumb ? (c(), u("span", {
|
|
4996
5001
|
key: 0,
|
|
4997
5002
|
class: "fe-cmdp__crumb",
|
|
4998
5003
|
title: v.crumb
|
|
4999
|
-
},
|
|
5004
|
+
}, p(v.crumb), 9, Ad)) : B("", !0),
|
|
5000
5005
|
v.snippet ? (c(), u("span", Id, [
|
|
5001
|
-
(c(!0), u(se, null, he(
|
|
5002
|
-
$.match ? (c(), u("mark", Ld,
|
|
5003
|
-
$e(
|
|
5006
|
+
(c(!0), u(se, null, he(f(Oa)(v.snippet), ($, ie) => (c(), u(se, { key: ie }, [
|
|
5007
|
+
$.match ? (c(), u("mark", Ld, p($.text), 1)) : (c(), u(se, { key: 1 }, [
|
|
5008
|
+
$e(p($.text), 1)
|
|
5004
5009
|
], 64))
|
|
5005
5010
|
], 64))), 128))
|
|
5006
5011
|
])) : B("", !0)
|
|
@@ -5008,7 +5013,7 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
5008
5013
|
], 42, Sd))), 128))
|
|
5009
5014
|
], 64)) : B("", !0),
|
|
5010
5015
|
C.value.length ? (c(), u(se, { key: 2 }, [
|
|
5011
|
-
t("div", Od, f(
|
|
5016
|
+
t("div", Od, p(f(s)("palette.saved")), 1),
|
|
5012
5017
|
(c(!0), u(se, null, he(C.value, (v, b) => (c(), u("div", {
|
|
5013
5018
|
key: v.id,
|
|
5014
5019
|
class: ve(["fe-cmdp__item fe-cmdp__item--saved", { "is-active": Z.value + b === r.value }]),
|
|
@@ -5019,20 +5024,20 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
5019
5024
|
onClick: ($) => ue(v),
|
|
5020
5025
|
onKeydown: ut(Ee(($) => ue(v), ["prevent"]), ["enter"])
|
|
5021
5026
|
}, [
|
|
5022
|
-
t("span", zd,
|
|
5023
|
-
t("span", Kd,
|
|
5027
|
+
t("span", zd, p(v.icon), 1),
|
|
5028
|
+
t("span", Kd, p(v.label), 1),
|
|
5024
5029
|
v.kind === "saved" ? (c(), u("button", {
|
|
5025
5030
|
key: 0,
|
|
5026
5031
|
type: "button",
|
|
5027
5032
|
class: "fe-cmdp__del",
|
|
5028
|
-
title:
|
|
5029
|
-
"aria-label":
|
|
5033
|
+
title: f(s)("palette.saved.delete"),
|
|
5034
|
+
"aria-label": f(s)("palette.saved.delete"),
|
|
5030
5035
|
onClick: Ee(($) => _(v.query), ["stop"])
|
|
5031
5036
|
}, "🗑", 8, Nd)) : B("", !0)
|
|
5032
5037
|
], 42, Bd))), 128))
|
|
5033
5038
|
], 64)) : B("", !0),
|
|
5034
5039
|
O.value.length ? (c(), u(se, { key: 3 }, [
|
|
5035
|
-
t("div", Rd, f(
|
|
5040
|
+
t("div", Rd, p(f(s)("palette.commands")), 1),
|
|
5036
5041
|
(c(!0), u(se, null, he(O.value, (v, b) => (c(), u("button", {
|
|
5037
5042
|
key: v.id,
|
|
5038
5043
|
type: "button",
|
|
@@ -5042,13 +5047,13 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
5042
5047
|
onMouseenter: ($) => r.value = ce.value + b,
|
|
5043
5048
|
onClick: ($) => ue(v)
|
|
5044
5049
|
}, [
|
|
5045
|
-
t("span", Fd,
|
|
5046
|
-
t("span", jd,
|
|
5050
|
+
t("span", Fd, p(v.icon), 1),
|
|
5051
|
+
t("span", jd, p(v.label), 1)
|
|
5047
5052
|
], 42, Ud))), 128))
|
|
5048
5053
|
], 64)) : B("", !0),
|
|
5049
|
-
k.value.length === 0 && !N.value ? (c(), u("div", Vd, f(
|
|
5054
|
+
k.value.length === 0 && !N.value ? (c(), u("div", Vd, p(f(s)("palette.empty")), 1)) : B("", !0)
|
|
5050
5055
|
], 512),
|
|
5051
|
-
t("div", Hd, f(
|
|
5056
|
+
t("div", Hd, p(f(s)("palette.hint")), 1)
|
|
5052
5057
|
], 8, vd)
|
|
5053
5058
|
])) : B("", !0)
|
|
5054
5059
|
]),
|
|
@@ -5135,7 +5140,7 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
5135
5140
|
t("h2", {
|
|
5136
5141
|
id: m,
|
|
5137
5142
|
class: "fe-modal__title"
|
|
5138
|
-
},
|
|
5143
|
+
}, p(n.title), 1),
|
|
5139
5144
|
t("button", {
|
|
5140
5145
|
type: "button",
|
|
5141
5146
|
class: "fe-modal__close",
|
|
@@ -5178,7 +5183,7 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
5178
5183
|
});
|
|
5179
5184
|
return (r, h) => (c(), Ne(Bt, {
|
|
5180
5185
|
open: n.open,
|
|
5181
|
-
title:
|
|
5186
|
+
title: f(s)("shortcuts.title"),
|
|
5182
5187
|
size: "md",
|
|
5183
5188
|
onClose: h[2] || (h[2] = (w) => d("close"))
|
|
5184
5189
|
}, {
|
|
@@ -5187,12 +5192,12 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
5187
5192
|
type: "button",
|
|
5188
5193
|
class: "fe-btn fe-btn--primary",
|
|
5189
5194
|
onClick: h[0] || (h[0] = (w) => d("customize"))
|
|
5190
|
-
}, " ⌨ " + f(
|
|
5195
|
+
}, " ⌨ " + p(f(s)("shortcuts.customize")), 1),
|
|
5191
5196
|
t("button", {
|
|
5192
5197
|
type: "button",
|
|
5193
5198
|
class: "fe-btn",
|
|
5194
5199
|
onClick: h[1] || (h[1] = (w) => d("close"))
|
|
5195
|
-
}, f(
|
|
5200
|
+
}, p(f(s)("viewer.close")), 1)
|
|
5196
5201
|
]),
|
|
5197
5202
|
default: Re(() => [
|
|
5198
5203
|
t("div", ef, [
|
|
@@ -5200,24 +5205,24 @@ const Yi = ["aria-pressed", "title"], Gi = {
|
|
|
5200
5205
|
key: w.key,
|
|
5201
5206
|
class: "fe-shortcuts__group"
|
|
5202
5207
|
}, [
|
|
5203
|
-
t("h3", tf, f(
|
|
5208
|
+
t("h3", tf, p(f(s)(w.key)), 1),
|
|
5204
5209
|
t("div", af, [
|
|
5205
5210
|
(c(!0), u(se, null, he(w.items, (I) => (c(), u("div", {
|
|
5206
5211
|
key: I.id,
|
|
5207
5212
|
class: "fe-shortcuts__row"
|
|
5208
5213
|
}, [
|
|
5209
5214
|
t("span", nf, [
|
|
5210
|
-
I.keys.length === 0 ? (c(), u("span", of, f(
|
|
5211
|
-
t("kbd", sf,
|
|
5215
|
+
I.keys.length === 0 ? (c(), u("span", of, p(f(s)("shortcuts.settings.unbound")), 1)) : (c(!0), u(se, { key: 1 }, he(I.keys, (H, P) => (c(), u(se, { key: H }, [
|
|
5216
|
+
t("kbd", sf, p(H), 1),
|
|
5212
5217
|
P < I.keys.length - 1 ? (c(), u("span", rf, "/")) : B("", !0)
|
|
5213
5218
|
], 64))), 128))
|
|
5214
5219
|
]),
|
|
5215
5220
|
t("span", lf, [
|
|
5216
|
-
$e(f(
|
|
5221
|
+
$e(p(f(s)(I.labelKey)) + " ", 1),
|
|
5217
5222
|
I.overridden ? (c(), u("span", {
|
|
5218
5223
|
key: 0,
|
|
5219
5224
|
class: "fe-shortcuts__custom",
|
|
5220
|
-
title:
|
|
5225
|
+
title: f(s)("shortcuts.settings.customized")
|
|
5221
5226
|
}, "●", 8, cf)) : B("", !0)
|
|
5222
5227
|
])
|
|
5223
5228
|
]))), 128))
|
|
@@ -5611,7 +5616,7 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
5611
5616
|
const m = Tt;
|
|
5612
5617
|
return (r, h) => (c(), Ne(Bt, {
|
|
5613
5618
|
open: n.open,
|
|
5614
|
-
title:
|
|
5619
|
+
title: f(s)("theme.title"),
|
|
5615
5620
|
size: "lg",
|
|
5616
5621
|
theme: n.theme,
|
|
5617
5622
|
onClose: h[2] || (h[2] = (w) => d("close"))
|
|
@@ -5620,23 +5625,23 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
5620
5625
|
t("button", {
|
|
5621
5626
|
type: "button",
|
|
5622
5627
|
class: "fe-btn",
|
|
5623
|
-
disabled: n.current ===
|
|
5624
|
-
onClick: h[0] || (h[0] = (w) => d("select",
|
|
5625
|
-
}, f(
|
|
5628
|
+
disabled: n.current === f(m),
|
|
5629
|
+
onClick: h[0] || (h[0] = (w) => d("select", f(m)))
|
|
5630
|
+
}, p(f(s)("theme.reset")), 9, xf),
|
|
5626
5631
|
t("button", {
|
|
5627
5632
|
type: "button",
|
|
5628
5633
|
class: "fe-btn fe-btn--primary",
|
|
5629
5634
|
onClick: h[1] || (h[1] = (w) => d("close"))
|
|
5630
|
-
}, f(
|
|
5635
|
+
}, p(f(s)("theme.close")), 1)
|
|
5631
5636
|
]),
|
|
5632
5637
|
default: Re(() => [
|
|
5633
|
-
t("p", bf, f(
|
|
5638
|
+
t("p", bf, p(f(s)("theme.hint")), 1),
|
|
5634
5639
|
t("div", {
|
|
5635
5640
|
class: "fe-themes",
|
|
5636
5641
|
role: "listbox",
|
|
5637
|
-
"aria-label":
|
|
5642
|
+
"aria-label": f(s)("theme.title")
|
|
5638
5643
|
}, [
|
|
5639
|
-
(c(!0), u(se, null, he(
|
|
5644
|
+
(c(!0), u(se, null, he(f(Dn), (w) => (c(), u("button", {
|
|
5640
5645
|
key: w.id,
|
|
5641
5646
|
type: "button",
|
|
5642
5647
|
class: ve(["fe-themecard", { "is-selected": w.id === n.current }]),
|
|
@@ -5677,11 +5682,11 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
5677
5682
|
])
|
|
5678
5683
|
], -1)),
|
|
5679
5684
|
t("span", kf, [
|
|
5680
|
-
$e(f(
|
|
5685
|
+
$e(p(f(s)(w.nameKey)) + " ", 1),
|
|
5681
5686
|
w.id === n.current ? (c(), u("span", {
|
|
5682
5687
|
key: 0,
|
|
5683
5688
|
class: "fe-themecard__check",
|
|
5684
|
-
title:
|
|
5689
|
+
title: f(s)("theme.selected")
|
|
5685
5690
|
}, "✓", 8, wf)) : B("", !0)
|
|
5686
5691
|
])
|
|
5687
5692
|
], 14, _f))), 128))
|
|
@@ -5783,7 +5788,7 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
5783
5788
|
}
|
|
5784
5789
|
return (L, z) => (c(), Ne(Bt, {
|
|
5785
5790
|
open: n.open,
|
|
5786
|
-
title:
|
|
5791
|
+
title: f(s)("shortcuts.settings.title"),
|
|
5787
5792
|
size: "lg",
|
|
5788
5793
|
theme: n.theme,
|
|
5789
5794
|
onClose: te
|
|
@@ -5793,24 +5798,24 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
5793
5798
|
type: "button",
|
|
5794
5799
|
class: "fe-btn",
|
|
5795
5800
|
onClick: te
|
|
5796
|
-
}, f(
|
|
5801
|
+
}, p(f(s)("viewer.close")), 1)
|
|
5797
5802
|
]),
|
|
5798
5803
|
default: Re(() => [
|
|
5799
5804
|
t("div", Cf, [
|
|
5800
5805
|
t("div", Sf, [
|
|
5801
|
-
t("p", Tf, f(
|
|
5806
|
+
t("p", Tf, p(f(s)("shortcuts.settings.hint")), 1),
|
|
5802
5807
|
t("button", {
|
|
5803
5808
|
type: "button",
|
|
5804
5809
|
class: "fe-btn fe-shortset__reset-all",
|
|
5805
5810
|
disabled: !r.value,
|
|
5806
5811
|
onClick: T
|
|
5807
|
-
}, " ↺ " + f(
|
|
5812
|
+
}, " ↺ " + p(f(s)("shortcuts.settings.reset_all")), 9, Ef)
|
|
5808
5813
|
]),
|
|
5809
5814
|
(c(!0), u(se, null, he(m.value, (j) => (c(), u("section", {
|
|
5810
5815
|
key: j.key,
|
|
5811
5816
|
class: "fe-shortset__group"
|
|
5812
5817
|
}, [
|
|
5813
|
-
t("h3", Df, f(
|
|
5818
|
+
t("h3", Df, p(f(s)(j.key)), 1),
|
|
5814
5819
|
(c(!0), u(se, null, he(j.items, (K) => {
|
|
5815
5820
|
var F;
|
|
5816
5821
|
return c(), u("div", {
|
|
@@ -5822,17 +5827,17 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
5822
5827
|
}, [
|
|
5823
5828
|
t("div", Mf, [
|
|
5824
5829
|
t("span", Pf, [
|
|
5825
|
-
$e(f(
|
|
5830
|
+
$e(p(f(s)(K.labelKey)) + " ", 1),
|
|
5826
5831
|
K.overridden ? (c(), u("span", {
|
|
5827
5832
|
key: 0,
|
|
5828
5833
|
class: "fe-shortcuts__custom",
|
|
5829
|
-
title:
|
|
5834
|
+
title: f(s)("shortcuts.settings.customized")
|
|
5830
5835
|
}, "●", 8, Af)) : B("", !0)
|
|
5831
5836
|
]),
|
|
5832
5837
|
t("span", If, [
|
|
5833
|
-
h.value === K.id ? (c(), u("span", Lf, f(
|
|
5834
|
-
K.keys.length === 0 ? (c(), u("span", Of, f(
|
|
5835
|
-
t("kbd", Bf,
|
|
5838
|
+
h.value === K.id ? (c(), u("span", Lf, p(f(s)("shortcuts.settings.capture")), 1)) : (c(), u(se, { key: 1 }, [
|
|
5839
|
+
K.keys.length === 0 ? (c(), u("span", Of, p(f(s)("shortcuts.settings.unbound")), 1)) : (c(!0), u(se, { key: 1 }, he(K.keys, (_, C) => (c(), u(se, { key: _ }, [
|
|
5840
|
+
t("kbd", Bf, p(_), 1),
|
|
5836
5841
|
C < K.keys.length - 1 ? (c(), u("span", zf, "/")) : B("", !0)
|
|
5837
5842
|
], 64))), 128))
|
|
5838
5843
|
], 64))
|
|
@@ -5844,27 +5849,27 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
5844
5849
|
type: "button",
|
|
5845
5850
|
class: "fe-btn fe-shortset__btn",
|
|
5846
5851
|
onClick: (_) => H(K.id)
|
|
5847
|
-
}, f(
|
|
5852
|
+
}, p(f(s)("shortcuts.settings.change")), 9, Nf)) : (c(), u("button", {
|
|
5848
5853
|
key: 1,
|
|
5849
5854
|
type: "button",
|
|
5850
5855
|
class: "fe-btn fe-shortset__btn",
|
|
5851
5856
|
onClick: P
|
|
5852
|
-
}, f(
|
|
5857
|
+
}, p(f(s)("shortcuts.settings.conflict_cancel")), 1)),
|
|
5853
5858
|
K.overridden ? (c(), u("button", {
|
|
5854
5859
|
key: 2,
|
|
5855
5860
|
type: "button",
|
|
5856
5861
|
class: "fe-btn fe-btn--icon-only fe-shortset__btn",
|
|
5857
|
-
title:
|
|
5858
|
-
"aria-label":
|
|
5862
|
+
title: f(s)("shortcuts.settings.reset"),
|
|
5863
|
+
"aria-label": f(s)("shortcuts.settings.reset"),
|
|
5859
5864
|
onClick: (_) => S(K.id)
|
|
5860
5865
|
}, " ↺ ", 8, Rf)) : B("", !0)
|
|
5861
|
-
], 64)) : (c(), u("span", Uf, f(
|
|
5866
|
+
], 64)) : (c(), u("span", Uf, p(f(s)("shortcuts.settings.fixed")), 1))
|
|
5862
5867
|
])
|
|
5863
5868
|
]),
|
|
5864
5869
|
w.value && w.value.id === K.id ? (c(), u("div", Ff, [
|
|
5865
5870
|
t("span", jf, [
|
|
5866
|
-
t("kbd", Vf,
|
|
5867
|
-
$e(" " +
|
|
5871
|
+
t("kbd", Vf, p(w.value.combo), 1),
|
|
5872
|
+
$e(" " + p(w.value.fixed ? f(s)("shortcuts.settings.conflict_fixed", { name: I(w.value.conflictId) }) : f(s)("shortcuts.settings.conflict", { name: I(w.value.conflictId) })), 1)
|
|
5868
5873
|
]),
|
|
5869
5874
|
t("span", Hf, [
|
|
5870
5875
|
w.value.fixed ? B("", !0) : (c(), u("button", {
|
|
@@ -5872,12 +5877,12 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
5872
5877
|
type: "button",
|
|
5873
5878
|
class: "fe-btn fe-btn--danger fe-shortset__btn",
|
|
5874
5879
|
onClick: U
|
|
5875
|
-
}, f(
|
|
5880
|
+
}, p(f(s)("shortcuts.settings.conflict_take")), 1)),
|
|
5876
5881
|
t("button", {
|
|
5877
5882
|
type: "button",
|
|
5878
5883
|
class: "fe-btn fe-shortset__btn",
|
|
5879
5884
|
onClick: N
|
|
5880
|
-
}, f(
|
|
5885
|
+
}, p(f(s)("shortcuts.settings.conflict_cancel")), 1)
|
|
5881
5886
|
])
|
|
5882
5887
|
])) : B("", !0)
|
|
5883
5888
|
], 2);
|
|
@@ -6028,28 +6033,28 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
6028
6033
|
diff: "diff",
|
|
6029
6034
|
patch: "diff"
|
|
6030
6035
|
}, I = ["txt", "log"], H = ["docx", "doc", "xlsx", "xls", "pptx", "ppt", "odt", "ods", "odp", "rtf"], P = {
|
|
6031
|
-
glb: () => import("./Viewer3D-
|
|
6032
|
-
gltf: () => import("./Viewer3D-
|
|
6033
|
-
obj: () => import("./Viewer3D-
|
|
6034
|
-
stl: () => import("./Viewer3D-
|
|
6035
|
-
fbx: () => import("./Viewer3D-
|
|
6036
|
-
"3ds": () => import("./Viewer3D-
|
|
6037
|
-
epub: () => import("./EpubViewer-
|
|
6038
|
-
mmd: () => import("./MermaidViewer-
|
|
6039
|
-
mermaid: () => import("./MermaidViewer-
|
|
6040
|
-
drawio: () => import("./DrawioViewer-
|
|
6041
|
-
dio: () => import("./DrawioViewer-
|
|
6042
|
-
tif: () => import("./TiffViewer-
|
|
6043
|
-
tiff: () => import("./TiffViewer-
|
|
6044
|
-
psd: () => import("./PsdViewer-
|
|
6036
|
+
glb: () => import("./Viewer3D-D7EtANiH.js"),
|
|
6037
|
+
gltf: () => import("./Viewer3D-D7EtANiH.js"),
|
|
6038
|
+
obj: () => import("./Viewer3D-D7EtANiH.js"),
|
|
6039
|
+
stl: () => import("./Viewer3D-D7EtANiH.js"),
|
|
6040
|
+
fbx: () => import("./Viewer3D-D7EtANiH.js"),
|
|
6041
|
+
"3ds": () => import("./Viewer3D-D7EtANiH.js"),
|
|
6042
|
+
epub: () => import("./EpubViewer-yf9zJXXg.js"),
|
|
6043
|
+
mmd: () => import("./MermaidViewer-Nbv27ana.js"),
|
|
6044
|
+
mermaid: () => import("./MermaidViewer-Nbv27ana.js"),
|
|
6045
|
+
drawio: () => import("./DrawioViewer-DReOOHRc.js"),
|
|
6046
|
+
dio: () => import("./DrawioViewer-DReOOHRc.js"),
|
|
6047
|
+
tif: () => import("./TiffViewer-Djawe0Rq.js"),
|
|
6048
|
+
tiff: () => import("./TiffViewer-Djawe0Rq.js"),
|
|
6049
|
+
psd: () => import("./PsdViewer-1nRpsuvz.js"),
|
|
6045
6050
|
// PDF deliberately uses the native browser viewer (`kind === 'pdf'`
|
|
6046
6051
|
// branch in the template). PdfViewer.vue still exists for callers
|
|
6047
6052
|
// that want the rich custom UI but the SFC default keeps things
|
|
6048
6053
|
// minimal — the browser already paints search/zoom/page UI for free.
|
|
6049
|
-
ipynb: () => import("./IpynbViewer-
|
|
6050
|
-
csv: () => import("./CsvViewer-
|
|
6051
|
-
tsv: () => import("./CsvViewer-
|
|
6052
|
-
zip: () => import("./ArchiveViewer-
|
|
6054
|
+
ipynb: () => import("./IpynbViewer-Dt_l00CD.js"),
|
|
6055
|
+
csv: () => import("./CsvViewer-T7W9mqZB.js"),
|
|
6056
|
+
tsv: () => import("./CsvViewer-T7W9mqZB.js"),
|
|
6057
|
+
zip: () => import("./ArchiveViewer-Brzg_0Xj.js")
|
|
6053
6058
|
}, O = W(() => {
|
|
6054
6059
|
const oe = l(o.file);
|
|
6055
6060
|
if (!oe) return "other";
|
|
@@ -6210,7 +6215,7 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
6210
6215
|
const q = {};
|
|
6211
6216
|
o.authHeaders && Object.assign(q, o.authHeaders());
|
|
6212
6217
|
const re = await fetch(oe, {
|
|
6213
|
-
credentials: o.authCredentials || "
|
|
6218
|
+
credentials: o.authCredentials || "same-origin",
|
|
6214
6219
|
headers: q
|
|
6215
6220
|
});
|
|
6216
6221
|
if (!re.ok)
|
|
@@ -6568,23 +6573,23 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
6568
6573
|
type: "button",
|
|
6569
6574
|
class: "fe-btn fe-btn--primary",
|
|
6570
6575
|
onClick: z
|
|
6571
|
-
}, "✏ " + f(
|
|
6576
|
+
}, "✏ " + p(f(s)("viewer.edit")), 1)) : B("", !0),
|
|
6572
6577
|
n.file && n.newTabEnabled !== !1 ? (c(), u("button", {
|
|
6573
6578
|
key: 1,
|
|
6574
6579
|
type: "button",
|
|
6575
6580
|
class: "fe-btn",
|
|
6576
6581
|
onClick: L
|
|
6577
|
-
}, "↗ " + f(
|
|
6582
|
+
}, "↗ " + p(f(s)("viewer.open_in_new_tab")), 1)) : B("", !0),
|
|
6578
6583
|
n.file ? (c(), u("a", {
|
|
6579
6584
|
key: 2,
|
|
6580
6585
|
href: C.value,
|
|
6581
6586
|
class: "fe-btn"
|
|
6582
|
-
}, f(
|
|
6587
|
+
}, p(f(s)("viewer.download")), 9, zp)) : B("", !0),
|
|
6583
6588
|
t("button", {
|
|
6584
6589
|
type: "button",
|
|
6585
6590
|
class: "fe-btn",
|
|
6586
6591
|
onClick: q[1] || (q[1] = (xe) => d("close"))
|
|
6587
|
-
}, f(
|
|
6592
|
+
}, p(f(s)("viewer.close")), 1)
|
|
6588
6593
|
]),
|
|
6589
6594
|
default: Re(() => [
|
|
6590
6595
|
n.file ? (c(), u("div", Gf, [
|
|
@@ -6621,22 +6626,22 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
6621
6626
|
}, "PDF'i Yeni Sekmede Aç", 8, Zf)
|
|
6622
6627
|
])
|
|
6623
6628
|
], 8, Xf)) : O.value === "markdown" ? (c(), u(se, { key: 4 }, [
|
|
6624
|
-
Q.value ? (c(), u("div", ep, f(
|
|
6629
|
+
Q.value ? (c(), u("div", ep, p(f(s)("viewer.loading")), 1)) : ce.value ? (c(), u("div", tp, [
|
|
6625
6630
|
q[5] || (q[5] = $e(" Dosya çok büyük (>1 MB). ", -1)),
|
|
6626
6631
|
t("a", {
|
|
6627
6632
|
href: C.value,
|
|
6628
6633
|
class: "fe-btn"
|
|
6629
|
-
}, f(
|
|
6634
|
+
}, p(f(s)("viewer.download")), 9, ap)
|
|
6630
6635
|
])) : n.openMode === "edit" && n.saveTextEndpoint ? (c(), u("div", np, [
|
|
6631
6636
|
t("div", op, [
|
|
6632
6637
|
q[6] || (q[6] = t("span", { class: "fe-preview__md-split-label" }, "MARKDOWN", -1)),
|
|
6633
|
-
R.value ? (c(), u("span", sp,
|
|
6638
|
+
R.value ? (c(), u("span", sp, p(R.value), 1)) : B("", !0),
|
|
6634
6639
|
t("button", {
|
|
6635
6640
|
type: "button",
|
|
6636
6641
|
class: "fe-btn fe-btn--primary",
|
|
6637
6642
|
disabled: !le.value || ue.value,
|
|
6638
6643
|
onClick: v
|
|
6639
|
-
},
|
|
6644
|
+
}, p(ue.value ? f(s)("viewer.saving") : le.value ? f(s)("viewer.save") : f(s)("viewer.saved")), 9, rp)
|
|
6640
6645
|
]),
|
|
6641
6646
|
t("div", lp, [
|
|
6642
6647
|
ze(t("textarea", {
|
|
@@ -6660,63 +6665,63 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
6660
6665
|
}, null, 8, cp)
|
|
6661
6666
|
])
|
|
6662
6667
|
])) : R.value ? (c(), u("div", up, [
|
|
6663
|
-
t("p", null,
|
|
6668
|
+
t("p", null, p(R.value), 1),
|
|
6664
6669
|
t("a", {
|
|
6665
6670
|
href: C.value,
|
|
6666
6671
|
class: "fe-btn fe-btn--primary"
|
|
6667
|
-
}, f(
|
|
6672
|
+
}, p(f(s)("viewer.download")), 9, dp)
|
|
6668
6673
|
])) : $.value ? (c(), u("div", {
|
|
6669
6674
|
key: 4,
|
|
6670
6675
|
ref_key: "markdownEl",
|
|
6671
6676
|
ref: ie,
|
|
6672
6677
|
class: "fe-preview__md",
|
|
6673
6678
|
innerHTML: $.value
|
|
6674
|
-
}, null, 8, fp)) : (c(), u("pre", pp,
|
|
6679
|
+
}, null, 8, fp)) : (c(), u("pre", pp, p(Z.value), 1))
|
|
6675
6680
|
], 64)) : O.value === "viewer" ? (c(), u(se, { key: 5 }, [
|
|
6676
6681
|
N.value && !S.value ? (c(), u("div", vp, [
|
|
6677
6682
|
q[7] || (q[7] = t("span", { class: "fe-preview__fallback-icon" }, "⚠️", -1)),
|
|
6678
|
-
t("p", null,
|
|
6683
|
+
t("p", null, p(N.value), 1),
|
|
6679
6684
|
t("a", {
|
|
6680
6685
|
href: C.value,
|
|
6681
6686
|
class: "fe-btn fe-btn--primary"
|
|
6682
|
-
}, f(
|
|
6687
|
+
}, p(f(s)("viewer.download")), 9, mp)
|
|
6683
6688
|
])) : U.value ? (c(), Ne(Mr(U.value), Pr({ key: 2 }, te.value, {
|
|
6684
6689
|
class: "fe-preview__viewer",
|
|
6685
6690
|
onFallback: A
|
|
6686
6691
|
}), null, 16)) : (c(), u("div", hp, [
|
|
6687
6692
|
q[8] || (q[8] = t("span", { class: "fe-preview__fallback-icon" }, "⏳", -1)),
|
|
6688
|
-
t("p", null, f(
|
|
6693
|
+
t("p", null, p(f(s)("viewer.loading")), 1)
|
|
6689
6694
|
]))
|
|
6690
6695
|
], 64)) : O.value === "code" || O.value === "text" ? (c(), u(se, { key: 6 }, [
|
|
6691
|
-
Q.value ? (c(), u("div", yp, f(
|
|
6696
|
+
Q.value ? (c(), u("div", yp, p(f(s)("viewer.loading")), 1)) : ce.value ? (c(), u("div", bp, [
|
|
6692
6697
|
q[9] || (q[9] = $e(" Dosya çok büyük (>1 MB). ", -1)),
|
|
6693
6698
|
t("a", {
|
|
6694
6699
|
href: C.value,
|
|
6695
6700
|
class: "fe-btn"
|
|
6696
|
-
}, f(
|
|
6701
|
+
}, p(f(s)("viewer.download")), 9, gp)
|
|
6697
6702
|
])) : R.value ? (c(), u("div", _p, [
|
|
6698
|
-
t("p", null,
|
|
6703
|
+
t("p", null, p(R.value), 1),
|
|
6699
6704
|
t("a", {
|
|
6700
6705
|
href: C.value,
|
|
6701
6706
|
class: "fe-btn fe-btn--primary"
|
|
6702
|
-
}, f(
|
|
6707
|
+
}, p(f(s)("viewer.download")), 9, kp)
|
|
6703
6708
|
])) : (c(), u("div", wp, [
|
|
6704
6709
|
t("div", xp, [
|
|
6705
|
-
t("span", $p,
|
|
6706
|
-
!Be.value && ae.value ? (c(), u("span", Cp,
|
|
6707
|
-
ct.value ? (c(), u("span", Sp, "✓ " + f(
|
|
6710
|
+
t("span", $p, p(ge.value), 1),
|
|
6711
|
+
!Be.value && ae.value ? (c(), u("span", Cp, p(n.saveTextEndpoint ? f(s)("viewer.editor_loading") : f(s)("viewer.read_only")), 1)) : B("", !0),
|
|
6712
|
+
ct.value ? (c(), u("span", Sp, "✓ " + p(f(s)("viewer.saved")), 1)) : B("", !0),
|
|
6708
6713
|
at.value ? (c(), u("span", {
|
|
6709
6714
|
key: 2,
|
|
6710
6715
|
class: "fe-preview__code-status fe-preview__code-status--err",
|
|
6711
6716
|
title: at.value
|
|
6712
|
-
}, "✗ " + f(
|
|
6713
|
-
n.openMode === "view" ? (c(), u("span", Ep, f(
|
|
6717
|
+
}, "✗ " + p(f(s)("viewer.save_error")), 9, Tp)) : B("", !0),
|
|
6718
|
+
n.openMode === "view" ? (c(), u("span", Ep, p(f(s)("viewer.read_only")), 1)) : n.saveTextEndpoint && Be.value ? (c(), u("button", {
|
|
6714
6719
|
key: 4,
|
|
6715
6720
|
type: "button",
|
|
6716
6721
|
class: "fe-btn fe-btn--primary",
|
|
6717
6722
|
disabled: rt.value,
|
|
6718
6723
|
onClick: J
|
|
6719
|
-
},
|
|
6724
|
+
}, p(rt.value ? f(s)("viewer.saving") : f(s)("viewer.save")), 9, Dp)) : B("", !0)
|
|
6720
6725
|
]),
|
|
6721
6726
|
t("div", {
|
|
6722
6727
|
ref_key: "monacoEl",
|
|
@@ -6732,16 +6737,16 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
6732
6737
|
key: 1,
|
|
6733
6738
|
class: "fe-preview__pre",
|
|
6734
6739
|
"data-lang": ge.value
|
|
6735
|
-
},
|
|
6740
|
+
}, p(Z.value), 9, Ap)) : B("", !0)
|
|
6736
6741
|
]))
|
|
6737
6742
|
], 64)) : O.value === "office" ? (c(), u(se, { key: 7 }, [
|
|
6738
6743
|
De.value ? (c(), u("div", Ip, [
|
|
6739
6744
|
q[10] || (q[10] = t("span", { class: "fe-preview__fallback-icon" }, "📄", -1)),
|
|
6740
|
-
t("p", null,
|
|
6745
|
+
t("p", null, p(De.value), 1),
|
|
6741
6746
|
t("a", {
|
|
6742
6747
|
href: C.value,
|
|
6743
6748
|
class: "fe-btn fe-btn--primary"
|
|
6744
|
-
}, f(
|
|
6749
|
+
}, p(f(s)("viewer.download")), 9, Lp)
|
|
6745
6750
|
])) : (c(), u("div", {
|
|
6746
6751
|
key: 1,
|
|
6747
6752
|
ref_key: "officeEl",
|
|
@@ -6750,11 +6755,11 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
6750
6755
|
}, null, 512))
|
|
6751
6756
|
], 64)) : (c(), u("div", Op, [
|
|
6752
6757
|
q[11] || (q[11] = t("span", { class: "fe-preview__fallback-icon" }, "📎", -1)),
|
|
6753
|
-
t("p", null, f(
|
|
6758
|
+
t("p", null, p(f(s)("viewer.no_preview")), 1),
|
|
6754
6759
|
t("a", {
|
|
6755
6760
|
href: C.value,
|
|
6756
6761
|
class: "fe-btn fe-btn--primary"
|
|
6757
|
-
}, f(
|
|
6762
|
+
}, p(f(s)("viewer.download")), 9, Bp)
|
|
6758
6763
|
]))
|
|
6759
6764
|
])) : B("", !0)
|
|
6760
6765
|
]),
|
|
@@ -6841,14 +6846,14 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
6841
6846
|
"aria-hidden": "true"
|
|
6842
6847
|
}, [
|
|
6843
6848
|
h[1] || (h[1] = t("kbd", { class: "fe-kbd" }, "Space", -1)),
|
|
6844
|
-
$e(" " + f(
|
|
6849
|
+
$e(" " + p(f(s)("quicklook.hint_close")) + " ", 1),
|
|
6845
6850
|
h[2] || (h[2] = t("span", { class: "fe-ql-hint__sep" }, "·", -1)),
|
|
6846
6851
|
h[3] || (h[3] = t("kbd", { class: "fe-kbd" }, "↑", -1)),
|
|
6847
6852
|
h[4] || (h[4] = t("kbd", { class: "fe-kbd" }, "↓", -1)),
|
|
6848
|
-
$e(" " + f(
|
|
6853
|
+
$e(" " + p(f(s)("quicklook.hint_nav")) + " ", 1),
|
|
6849
6854
|
h[5] || (h[5] = t("span", { class: "fe-ql-hint__sep" }, "·", -1)),
|
|
6850
6855
|
h[6] || (h[6] = t("kbd", { class: "fe-kbd" }, "Enter", -1)),
|
|
6851
|
-
$e(" " + f(
|
|
6856
|
+
$e(" " + p(f(s)("quicklook.hint_open")), 1)
|
|
6852
6857
|
], 2)) : B("", !0)
|
|
6853
6858
|
]),
|
|
6854
6859
|
_: 1
|
|
@@ -6954,20 +6959,20 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
6954
6959
|
key: 0,
|
|
6955
6960
|
class: "fe-opc__panel",
|
|
6956
6961
|
role: "dialog",
|
|
6957
|
-
"aria-label":
|
|
6962
|
+
"aria-label": f(o)("opc.title")
|
|
6958
6963
|
}, [
|
|
6959
6964
|
t("header", Rp, [
|
|
6960
|
-
t("strong", null, f(
|
|
6965
|
+
t("strong", null, p(f(o)("opc.title")), 1),
|
|
6961
6966
|
t("button", {
|
|
6962
6967
|
type: "button",
|
|
6963
6968
|
class: "fe-opc__x",
|
|
6964
|
-
"aria-label":
|
|
6969
|
+
"aria-label": f(o)("opc.close"),
|
|
6965
6970
|
onClick: _[0] || (_[0] = (C) => s.value = !1)
|
|
6966
6971
|
}, "×", 8, Up)
|
|
6967
6972
|
]),
|
|
6968
6973
|
t("div", Fp, [
|
|
6969
6974
|
m.value.length > 0 ? (c(), u("div", jp, [
|
|
6970
|
-
t("h3", Vp, f(
|
|
6975
|
+
t("h3", Vp, p(f(o)("opc.active")), 1),
|
|
6971
6976
|
t("ul", Hp, [
|
|
6972
6977
|
(c(!0), u(se, null, he(m.value, (C) => (c(), u("li", {
|
|
6973
6978
|
key: C.key,
|
|
@@ -6982,14 +6987,14 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
6982
6987
|
t("div", {
|
|
6983
6988
|
class: "fe-opc__name",
|
|
6984
6989
|
title: te(C)
|
|
6985
|
-
},
|
|
6990
|
+
}, p(te(C)), 9, qp),
|
|
6986
6991
|
t("div", Jp, [
|
|
6987
|
-
t("span", Xp,
|
|
6992
|
+
t("span", Xp, p(A(C)), 1),
|
|
6988
6993
|
_[3] || (_[3] = t("span", {
|
|
6989
6994
|
class: "fe-opc__dot",
|
|
6990
6995
|
"aria-hidden": "true"
|
|
6991
6996
|
}, "·", -1)),
|
|
6992
|
-
t("span", Qp,
|
|
6997
|
+
t("span", Qp, p(L(C)), 1)
|
|
6993
6998
|
]),
|
|
6994
6999
|
C.status === "running" && C.percent !== null ? (c(), u("div", {
|
|
6995
7000
|
key: 0,
|
|
@@ -7012,18 +7017,18 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
7012
7017
|
type: "button",
|
|
7013
7018
|
class: "fe-opc__act",
|
|
7014
7019
|
onClick: (k) => n.center.cancel(C.key)
|
|
7015
|
-
}, f(
|
|
7020
|
+
}, p(f(o)("opc.cancel")), 9, av)) : B("", !0),
|
|
7016
7021
|
C.status === "error" && C.retryable ? (c(), u("button", {
|
|
7017
7022
|
key: 1,
|
|
7018
7023
|
type: "button",
|
|
7019
7024
|
class: "fe-opc__act fe-opc__act--retry",
|
|
7020
7025
|
onClick: (k) => n.center.retry(C.key)
|
|
7021
|
-
}, f(
|
|
7026
|
+
}, p(f(o)("opc.retry")), 9, nv)) : B("", !0),
|
|
7022
7027
|
C.status !== "running" ? (c(), u("button", {
|
|
7023
7028
|
key: 2,
|
|
7024
7029
|
type: "button",
|
|
7025
7030
|
class: "fe-opc__x",
|
|
7026
|
-
"aria-label":
|
|
7031
|
+
"aria-label": f(o)("opc.dismiss"),
|
|
7027
7032
|
onClick: (k) => n.center.dismiss(C.key)
|
|
7028
7033
|
}, "×", 8, ov)) : B("", !0)
|
|
7029
7034
|
])
|
|
@@ -7032,12 +7037,12 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
7032
7037
|
])) : B("", !0),
|
|
7033
7038
|
r.value.length > 0 ? (c(), u("div", sv, [
|
|
7034
7039
|
t("h3", rv, [
|
|
7035
|
-
$e(f(
|
|
7040
|
+
$e(p(f(o)("opc.history")) + " ", 1),
|
|
7036
7041
|
t("button", {
|
|
7037
7042
|
type: "button",
|
|
7038
7043
|
class: "fe-opc__act",
|
|
7039
7044
|
onClick: _[1] || (_[1] = (C) => n.center.clearHistory())
|
|
7040
|
-
}, f(
|
|
7045
|
+
}, p(f(o)("opc.clear")), 1)
|
|
7041
7046
|
]),
|
|
7042
7047
|
t("ul", lv, [
|
|
7043
7048
|
(c(!0), u(se, null, he(r.value, (C) => (c(), u("li", {
|
|
@@ -7053,16 +7058,16 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
7053
7058
|
t("div", {
|
|
7054
7059
|
class: "fe-opc__name",
|
|
7055
7060
|
title: te(C)
|
|
7056
|
-
},
|
|
7057
|
-
C.status === "error" && C.error ? (c(), u("div", fv,
|
|
7061
|
+
}, p(te(C)), 9, dv),
|
|
7062
|
+
C.status === "error" && C.error ? (c(), u("div", fv, p(C.error), 1)) : B("", !0)
|
|
7058
7063
|
]),
|
|
7059
7064
|
t("span", {
|
|
7060
7065
|
class: ve(["fe-opc__chip", `is-${C.status}`])
|
|
7061
|
-
},
|
|
7066
|
+
}, p(z(C)), 3)
|
|
7062
7067
|
], 2))), 128))
|
|
7063
7068
|
])
|
|
7064
7069
|
])) : B("", !0),
|
|
7065
|
-
m.value.length === 0 && r.value.length === 0 ? (c(), u("p", pv, f(
|
|
7070
|
+
m.value.length === 0 && r.value.length === 0 ? (c(), u("p", pv, p(f(o)("opc.empty")), 1)) : B("", !0)
|
|
7066
7071
|
])
|
|
7067
7072
|
], 8, Np)) : B("", !0)
|
|
7068
7073
|
]),
|
|
@@ -7102,8 +7107,8 @@ const bf = { class: "fe-themes__hint" }, gf = ["aria-label"], _f = ["aria-select
|
|
|
7102
7107
|
transform: "rotate(-90 11 11)"
|
|
7103
7108
|
}, null, 8, mv)
|
|
7104
7109
|
], 2)),
|
|
7105
|
-
t("span", hv,
|
|
7106
|
-
N.value ? (c(), u("span", yv,
|
|
7110
|
+
t("span", hv, p(m.value.length), 1),
|
|
7111
|
+
N.value ? (c(), u("span", yv, p(N.value), 1)) : B("", !0)
|
|
7107
7112
|
], 10, vv)
|
|
7108
7113
|
], 2)) : B("", !0);
|
|
7109
7114
|
}
|
|
@@ -7382,7 +7387,7 @@ const wv = ["data-prefers-dark", "aria-label"], xv = {
|
|
|
7382
7387
|
"data-prefers-dark": z.value ? "1" : "0",
|
|
7383
7388
|
role: "dialog",
|
|
7384
7389
|
"aria-modal": "true",
|
|
7385
|
-
"aria-label":
|
|
7390
|
+
"aria-label": f(s)("tour.aria"),
|
|
7386
7391
|
onKeydown: L
|
|
7387
7392
|
}, [
|
|
7388
7393
|
P.value ? (c(), u("div", {
|
|
@@ -7403,9 +7408,9 @@ const wv = ["data-prefers-dark", "aria-label"], xv = {
|
|
|
7403
7408
|
style: Ot(P.value ? O.value : {}),
|
|
7404
7409
|
tabindex: "-1"
|
|
7405
7410
|
}, [
|
|
7406
|
-
t("p", $v, f(
|
|
7407
|
-
t("h3", Cv, f(
|
|
7408
|
-
t("p", Sv, f(
|
|
7411
|
+
t("p", $v, p(f(s)("tour.progress", { n: h.value + 1, m: I.value })), 1),
|
|
7412
|
+
t("h3", Cv, p(f(s)(w.value.titleKey)), 1),
|
|
7413
|
+
t("p", Sv, p(f(s)(w.value.descKey)), 1),
|
|
7409
7414
|
t("div", Tv, [
|
|
7410
7415
|
(c(!0), u(se, null, he(r.value, (k, Q) => (c(), u("span", {
|
|
7411
7416
|
key: k.id,
|
|
@@ -7417,19 +7422,19 @@ const wv = ["data-prefers-dark", "aria-label"], xv = {
|
|
|
7417
7422
|
type: "button",
|
|
7418
7423
|
class: "fe-btn fe-tour__skip",
|
|
7419
7424
|
onClick: te
|
|
7420
|
-
}, f(
|
|
7425
|
+
}, p(f(s)("tour.skip")), 1),
|
|
7421
7426
|
C[0] || (C[0] = t("span", { class: "fe-tour__actions-spacer" }, null, -1)),
|
|
7422
7427
|
h.value > 0 ? (c(), u("button", {
|
|
7423
7428
|
key: 0,
|
|
7424
7429
|
type: "button",
|
|
7425
7430
|
class: "fe-btn",
|
|
7426
7431
|
onClick: A
|
|
7427
|
-
}, f(
|
|
7432
|
+
}, p(f(s)("tour.back")), 1)) : B("", !0),
|
|
7428
7433
|
t("button", {
|
|
7429
7434
|
type: "button",
|
|
7430
7435
|
class: "fe-btn fe-btn--primary",
|
|
7431
7436
|
onClick: T
|
|
7432
|
-
},
|
|
7437
|
+
}, p(h.value >= I.value - 1 ? f(s)("tour.done") : f(s)("tour.next")), 1)
|
|
7433
7438
|
])
|
|
7434
7439
|
], 6)
|
|
7435
7440
|
], 42, wv)) : B("", !0)
|
|
@@ -7479,7 +7484,7 @@ const wv = ["data-prefers-dark", "aria-label"], xv = {
|
|
|
7479
7484
|
return (U, N) => (c(), u("div", {
|
|
7480
7485
|
class: "fe-tabs",
|
|
7481
7486
|
role: "tablist",
|
|
7482
|
-
"aria-label":
|
|
7487
|
+
"aria-label": f(s)("tabs.strip")
|
|
7483
7488
|
}, [
|
|
7484
7489
|
t("div", Pv, [
|
|
7485
7490
|
(c(!0), u(se, null, he(n.tabs, (S, T) => (c(), u("div", {
|
|
@@ -7504,20 +7509,20 @@ const wv = ["data-prefers-dark", "aria-label"], xv = {
|
|
|
7504
7509
|
onDragend: H
|
|
7505
7510
|
}, [
|
|
7506
7511
|
S.split ? (c(), u("span", Iv)) : B("", !0),
|
|
7507
|
-
t("span", Lv,
|
|
7512
|
+
t("span", Lv, p(S.label), 1),
|
|
7508
7513
|
t("button", {
|
|
7509
7514
|
type: "button",
|
|
7510
7515
|
class: "fe-tabs__close",
|
|
7511
|
-
"aria-label":
|
|
7512
|
-
title:
|
|
7516
|
+
"aria-label": f(s)("tabs.close"),
|
|
7517
|
+
title: f(s)("tabs.close"),
|
|
7513
7518
|
onClick: Ee((A) => d("close", S.id), ["stop"])
|
|
7514
7519
|
}, "×", 8, Ov)
|
|
7515
7520
|
], 42, Av))), 128)),
|
|
7516
7521
|
t("button", {
|
|
7517
7522
|
type: "button",
|
|
7518
7523
|
class: "fe-tabs__new",
|
|
7519
|
-
"aria-label":
|
|
7520
|
-
title:
|
|
7524
|
+
"aria-label": f(s)("tabs.new"),
|
|
7525
|
+
title: f(s)("tabs.new"),
|
|
7521
7526
|
onClick: N[1] || (N[1] = (S) => d("new"))
|
|
7522
7527
|
}, "+", 8, Bv)
|
|
7523
7528
|
]),
|
|
@@ -7525,8 +7530,8 @@ const wv = ["data-prefers-dark", "aria-label"], xv = {
|
|
|
7525
7530
|
key: 0,
|
|
7526
7531
|
type: "button",
|
|
7527
7532
|
class: ve(["fe-tabs__split", { "is-active": n.splitActive }]),
|
|
7528
|
-
"aria-label": n.splitActive ?
|
|
7529
|
-
title: n.splitActive ?
|
|
7533
|
+
"aria-label": n.splitActive ? f(s)("tabs.split_off") : f(s)("tabs.split"),
|
|
7534
|
+
title: n.splitActive ? f(s)("tabs.split_off") : f(s)("tabs.split"),
|
|
7530
7535
|
"aria-pressed": n.splitActive ? "true" : "false",
|
|
7531
7536
|
onClick: N[2] || (N[2] = (S) => d("toggle-split"))
|
|
7532
7537
|
}, [...N[3] || (N[3] = [
|
|
@@ -7917,7 +7922,7 @@ const am = ["aria-label"], nm = { class: "fe-split__crumbs" }, om = ["title"], s
|
|
|
7917
7922
|
return i({ reload: ye, goUp: Z, selectAll: ce, openSelected: ue, selectedNodes: le, getPath: E }), (y, v) => (c(), u("section", {
|
|
7918
7923
|
class: ve(["fe-split", { "fe-pane--focus": n.active }]),
|
|
7919
7924
|
role: "region",
|
|
7920
|
-
"aria-label":
|
|
7925
|
+
"aria-label": f(l)("split.pane"),
|
|
7921
7926
|
onPointerdown: v[3] || (v[3] = (b) => s("activate"))
|
|
7922
7927
|
}, [
|
|
7923
7928
|
t("header", nm, [
|
|
@@ -7927,7 +7932,7 @@ const am = ["aria-label"], nm = { class: "fe-split__crumbs" }, om = ["title"], s
|
|
|
7927
7932
|
class: ve(["fe-split__crumb", { "is-last": U.value.length === 0 }]),
|
|
7928
7933
|
title: n.rootLabel,
|
|
7929
7934
|
onClick: v[0] || (v[0] = (b) => S(""))
|
|
7930
|
-
},
|
|
7935
|
+
}, p(n.rootLabel), 11, om)) : B("", !0),
|
|
7931
7936
|
(c(!0), u(se, null, he(U.value, (b) => (c(), u(se, {
|
|
7932
7937
|
key: b.target
|
|
7933
7938
|
}, [
|
|
@@ -7940,14 +7945,14 @@ const am = ["aria-label"], nm = { class: "fe-split__crumbs" }, om = ["title"], s
|
|
|
7940
7945
|
class: ve(["fe-split__crumb", { "is-last": b.last }]),
|
|
7941
7946
|
title: b.label,
|
|
7942
7947
|
onClick: ($) => S(b.target)
|
|
7943
|
-
},
|
|
7948
|
+
}, p(b.label), 11, sm)
|
|
7944
7949
|
], 64))), 128)),
|
|
7945
7950
|
v[5] || (v[5] = t("span", { class: "fe-split__spacer" }, null, -1)),
|
|
7946
7951
|
t("button", {
|
|
7947
7952
|
type: "button",
|
|
7948
7953
|
class: "fe-split__closebtn",
|
|
7949
|
-
"aria-label":
|
|
7950
|
-
title:
|
|
7954
|
+
"aria-label": f(l)("split.close"),
|
|
7955
|
+
title: f(l)("split.close"),
|
|
7951
7956
|
onClick: v[1] || (v[1] = (b) => s("close"))
|
|
7952
7957
|
}, "×", 8, rm)
|
|
7953
7958
|
]),
|
|
@@ -7959,14 +7964,14 @@ const am = ["aria-label"], nm = { class: "fe-split__crumbs" }, om = ["title"], s
|
|
|
7959
7964
|
onDragleave: Q,
|
|
7960
7965
|
onDrop: R
|
|
7961
7966
|
}, [
|
|
7962
|
-
h.value && r.value.length === 0 ? (c(), u("div", lm, f(
|
|
7963
|
-
t("span", null, f(
|
|
7967
|
+
h.value && r.value.length === 0 ? (c(), u("div", lm, p(f(l)("loading")), 1)) : w.value ? (c(), u("div", im, [
|
|
7968
|
+
t("span", null, p(f(l)("split.error")), 1),
|
|
7964
7969
|
t("button", {
|
|
7965
7970
|
type: "button",
|
|
7966
7971
|
class: "fe-btn",
|
|
7967
7972
|
onClick: v[2] || (v[2] = () => O())
|
|
7968
|
-
}, f(
|
|
7969
|
-
])) : r.value.length === 0 ? (c(), u("div", cm, f(
|
|
7973
|
+
}, p(f(l)("split.retry")), 1)
|
|
7974
|
+
])) : r.value.length === 0 ? (c(), u("div", cm, p(f(l)("empty.folder")), 1)) : (n.viewMode ?? "list") === "list" ? (c(), Ne(Wo, {
|
|
7970
7975
|
key: 3,
|
|
7971
7976
|
files: r.value,
|
|
7972
7977
|
selected: I.value,
|
|
@@ -8160,7 +8165,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8160
8165
|
}
|
|
8161
8166
|
return (H, P) => (c(), Ne(Bt, {
|
|
8162
8167
|
open: n.open,
|
|
8163
|
-
title:
|
|
8168
|
+
title: f(s)("e2e.create.title"),
|
|
8164
8169
|
size: "sm",
|
|
8165
8170
|
onClose: P[5] || (P[5] = (O) => d("close"))
|
|
8166
8171
|
}, {
|
|
@@ -8170,13 +8175,13 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8170
8175
|
class: "fe-btn",
|
|
8171
8176
|
disabled: n.busy,
|
|
8172
8177
|
onClick: P[4] || (P[4] = (O) => d("close"))
|
|
8173
|
-
}, f(
|
|
8178
|
+
}, p(f(s)("modal.newfolder.cancel")), 9, gm),
|
|
8174
8179
|
t("button", {
|
|
8175
8180
|
type: "button",
|
|
8176
8181
|
class: "fe-btn fe-btn--primary",
|
|
8177
8182
|
disabled: n.busy,
|
|
8178
8183
|
onClick: I
|
|
8179
|
-
},
|
|
8184
|
+
}, p(n.busy ? f(s)("e2e.create.busy") : f(s)("e2e.create.create")), 9, _m)
|
|
8180
8185
|
]),
|
|
8181
8186
|
default: Re(() => [
|
|
8182
8187
|
t("form", {
|
|
@@ -8187,7 +8192,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8187
8192
|
"onUpdate:modelValue": P[0] || (P[0] = (O) => l.value = O),
|
|
8188
8193
|
type: "text",
|
|
8189
8194
|
class: "fe-input",
|
|
8190
|
-
placeholder:
|
|
8195
|
+
placeholder: f(s)("modal.newfolder.placeholder"),
|
|
8191
8196
|
autocomplete: "off",
|
|
8192
8197
|
disabled: n.busy
|
|
8193
8198
|
}, null, 8, fm), [
|
|
@@ -8197,7 +8202,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8197
8202
|
"onUpdate:modelValue": P[1] || (P[1] = (O) => m.value = O),
|
|
8198
8203
|
type: "password",
|
|
8199
8204
|
class: "fe-input",
|
|
8200
|
-
placeholder:
|
|
8205
|
+
placeholder: f(s)("e2e.create.pw_placeholder"),
|
|
8201
8206
|
autocomplete: "new-password",
|
|
8202
8207
|
disabled: n.busy
|
|
8203
8208
|
}, null, 8, pm), [
|
|
@@ -8207,7 +8212,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8207
8212
|
"onUpdate:modelValue": P[2] || (P[2] = (O) => r.value = O),
|
|
8208
8213
|
type: "password",
|
|
8209
8214
|
class: "fe-input",
|
|
8210
|
-
placeholder:
|
|
8215
|
+
placeholder: f(s)("e2e.create.pw2_placeholder"),
|
|
8211
8216
|
autocomplete: "new-password",
|
|
8212
8217
|
disabled: n.busy,
|
|
8213
8218
|
onKeydown: ut(Ee(I, ["prevent"]), ["enter"])
|
|
@@ -8215,8 +8220,8 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8215
8220
|
[Ze, r.value]
|
|
8216
8221
|
]),
|
|
8217
8222
|
t("div", mm, [
|
|
8218
|
-
t("strong", null, f(
|
|
8219
|
-
t("p", null, f(
|
|
8223
|
+
t("strong", null, p(f(s)("e2e.create.warn_title")), 1),
|
|
8224
|
+
t("p", null, p(f(s)("e2e.create.warn_body")), 1)
|
|
8220
8225
|
]),
|
|
8221
8226
|
t("label", hm, [
|
|
8222
8227
|
ze(t("input", {
|
|
@@ -8226,9 +8231,9 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8226
8231
|
}, null, 8, ym), [
|
|
8227
8232
|
[na, h.value]
|
|
8228
8233
|
]),
|
|
8229
|
-
t("span", null, f(
|
|
8234
|
+
t("span", null, p(f(s)("e2e.create.ack")), 1)
|
|
8230
8235
|
]),
|
|
8231
|
-
w.value ? (c(), u("p", bm,
|
|
8236
|
+
w.value ? (c(), u("p", bm, p(w.value), 1)) : B("", !0)
|
|
8232
8237
|
], 32)
|
|
8233
8238
|
]),
|
|
8234
8239
|
_: 1
|
|
@@ -8264,7 +8269,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8264
8269
|
}
|
|
8265
8270
|
return (h, w) => (c(), Ne(Bt, {
|
|
8266
8271
|
open: n.open,
|
|
8267
|
-
title:
|
|
8272
|
+
title: f(s)("modal.newfolder.title"),
|
|
8268
8273
|
size: "sm",
|
|
8269
8274
|
onClose: w[3] || (w[3] = (I) => d("close"))
|
|
8270
8275
|
}, {
|
|
@@ -8273,12 +8278,12 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8273
8278
|
type: "button",
|
|
8274
8279
|
class: "fe-btn",
|
|
8275
8280
|
onClick: w[2] || (w[2] = (I) => d("close"))
|
|
8276
|
-
}, f(
|
|
8281
|
+
}, p(f(s)("modal.newfolder.cancel")), 1),
|
|
8277
8282
|
t("button", {
|
|
8278
8283
|
type: "button",
|
|
8279
8284
|
class: "fe-btn fe-btn--primary",
|
|
8280
8285
|
onClick: r
|
|
8281
|
-
}, f(
|
|
8286
|
+
}, p(f(s)("modal.newfolder.create")), 1)
|
|
8282
8287
|
]),
|
|
8283
8288
|
default: Re(() => [
|
|
8284
8289
|
t("form", {
|
|
@@ -8288,19 +8293,19 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8288
8293
|
"onUpdate:modelValue": w[0] || (w[0] = (I) => l.value = I),
|
|
8289
8294
|
type: "text",
|
|
8290
8295
|
class: "fe-input",
|
|
8291
|
-
placeholder:
|
|
8296
|
+
placeholder: f(s)("modal.newfolder.placeholder"),
|
|
8292
8297
|
autocomplete: "off",
|
|
8293
8298
|
onKeydown: ut(Ee(r, ["prevent"]), ["enter"])
|
|
8294
8299
|
}, null, 40, wm), [
|
|
8295
8300
|
[Ze, l.value]
|
|
8296
8301
|
]),
|
|
8297
|
-
m.value ? (c(), u("p", xm,
|
|
8302
|
+
m.value ? (c(), u("p", xm, p(m.value), 1)) : B("", !0),
|
|
8298
8303
|
n.encryptedOption !== !1 ? (c(), u("button", {
|
|
8299
8304
|
key: 1,
|
|
8300
8305
|
type: "button",
|
|
8301
8306
|
class: "fe-e2e-optlink",
|
|
8302
8307
|
onClick: w[1] || (w[1] = (I) => d("encrypted"))
|
|
8303
|
-
}, " 🔒 " + f(
|
|
8308
|
+
}, " 🔒 " + p(f(s)("e2e.create.option")), 1)) : B("", !0)
|
|
8304
8309
|
], 32)
|
|
8305
8310
|
]),
|
|
8306
8311
|
_: 1
|
|
@@ -8328,7 +8333,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8328
8333
|
}
|
|
8329
8334
|
return (r, h) => (c(), Ne(Bt, {
|
|
8330
8335
|
open: n.open,
|
|
8331
|
-
title:
|
|
8336
|
+
title: f(s)("modal.rename.title"),
|
|
8332
8337
|
size: "sm",
|
|
8333
8338
|
onClose: h[2] || (h[2] = (w) => d("close"))
|
|
8334
8339
|
}, {
|
|
@@ -8337,12 +8342,12 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8337
8342
|
type: "button",
|
|
8338
8343
|
class: "fe-btn",
|
|
8339
8344
|
onClick: h[1] || (h[1] = (w) => d("close"))
|
|
8340
|
-
}, f(
|
|
8345
|
+
}, p(f(s)("modal.rename.cancel")), 1),
|
|
8341
8346
|
t("button", {
|
|
8342
8347
|
type: "button",
|
|
8343
8348
|
class: "fe-btn fe-btn--primary",
|
|
8344
8349
|
onClick: m
|
|
8345
|
-
}, f(
|
|
8350
|
+
}, p(f(s)("modal.rename.save")), 1)
|
|
8346
8351
|
]),
|
|
8347
8352
|
default: Re(() => [
|
|
8348
8353
|
t("form", {
|
|
@@ -8374,7 +8379,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8374
8379
|
const o = n, d = i, { t: s } = Ve(() => o.locale);
|
|
8375
8380
|
return (l, m) => (c(), Ne(Bt, {
|
|
8376
8381
|
open: n.open,
|
|
8377
|
-
title:
|
|
8382
|
+
title: f(s)("modal.delete.title"),
|
|
8378
8383
|
size: "sm",
|
|
8379
8384
|
onClose: m[2] || (m[2] = (r) => d("close"))
|
|
8380
8385
|
}, {
|
|
@@ -8383,15 +8388,15 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8383
8388
|
type: "button",
|
|
8384
8389
|
class: "fe-btn",
|
|
8385
8390
|
onClick: m[0] || (m[0] = (r) => d("close"))
|
|
8386
|
-
}, f(
|
|
8391
|
+
}, p(f(s)("modal.delete.cancel")), 1),
|
|
8387
8392
|
t("button", {
|
|
8388
8393
|
type: "button",
|
|
8389
8394
|
class: "fe-btn fe-btn--danger",
|
|
8390
8395
|
onClick: m[1] || (m[1] = (r) => d("confirm"))
|
|
8391
|
-
}, f(
|
|
8396
|
+
}, p(f(s)("modal.delete.confirm")), 1)
|
|
8392
8397
|
]),
|
|
8393
8398
|
default: Re(() => [
|
|
8394
|
-
t("p", null, f(
|
|
8399
|
+
t("p", null, p(f(s)("modal.delete.message", { count: n.count })), 1)
|
|
8395
8400
|
]),
|
|
8396
8401
|
_: 1
|
|
8397
8402
|
}, 8, ["open", "title"]));
|
|
@@ -8439,7 +8444,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8439
8444
|
});
|
|
8440
8445
|
return (P, O) => (c(), Ne(Bt, {
|
|
8441
8446
|
open: n.open,
|
|
8442
|
-
title:
|
|
8447
|
+
title: f(s)("modal.share.title"),
|
|
8443
8448
|
size: "md",
|
|
8444
8449
|
onClose: O[7] || (O[7] = (U) => d("close"))
|
|
8445
8450
|
}, {
|
|
@@ -8448,13 +8453,13 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8448
8453
|
type: "button",
|
|
8449
8454
|
class: "fe-btn",
|
|
8450
8455
|
onClick: O[6] || (O[6] = (U) => d("close"))
|
|
8451
|
-
},
|
|
8456
|
+
}, p(n.share ? "Kapat" : f(s)("modal.share.cancel")), 1),
|
|
8452
8457
|
n.share ? B("", !0) : (c(), u("button", {
|
|
8453
8458
|
key: 0,
|
|
8454
8459
|
type: "button",
|
|
8455
8460
|
class: "fe-btn fe-btn--primary",
|
|
8456
8461
|
onClick: h
|
|
8457
|
-
}, f(
|
|
8462
|
+
}, p(f(s)("modal.share.create")), 1))
|
|
8458
8463
|
]),
|
|
8459
8464
|
default: Re(() => [
|
|
8460
8465
|
n.share ? (c(), u("div", Pm, [
|
|
@@ -8469,8 +8474,8 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8469
8474
|
t("button", {
|
|
8470
8475
|
type: "button",
|
|
8471
8476
|
class: "fe-btn",
|
|
8472
|
-
onClick: O[3] || (O[3] = (U) => w(n.share.url,
|
|
8473
|
-
}, f(
|
|
8477
|
+
onClick: O[3] || (O[3] = (U) => w(n.share.url, f(s)("modal.share.url_copied")))
|
|
8478
|
+
}, p(f(s)("modal.share.copy")), 1)
|
|
8474
8479
|
])
|
|
8475
8480
|
]),
|
|
8476
8481
|
n.share.password_pin ? (c(), u("div", Om, [
|
|
@@ -8484,8 +8489,8 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8484
8489
|
t("button", {
|
|
8485
8490
|
type: "button",
|
|
8486
8491
|
class: "fe-btn",
|
|
8487
|
-
onClick: O[4] || (O[4] = (U) => w(n.share.password_pin,
|
|
8488
|
-
}, f(
|
|
8492
|
+
onClick: O[4] || (O[4] = (U) => w(n.share.password_pin, f(s)("modal.share.pin_copied")))
|
|
8493
|
+
}, p(f(s)("modal.share.copy")), 1)
|
|
8489
8494
|
])
|
|
8490
8495
|
])) : B("", !0),
|
|
8491
8496
|
t("div", Km, [
|
|
@@ -8499,8 +8504,8 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8499
8504
|
t("button", {
|
|
8500
8505
|
type: "button",
|
|
8501
8506
|
class: "fe-btn",
|
|
8502
|
-
onClick: O[5] || (O[5] = (U) => w(H.value,
|
|
8503
|
-
}, f(
|
|
8507
|
+
onClick: O[5] || (O[5] = (U) => w(H.value, f(s)("modal.share.cli_copied")))
|
|
8508
|
+
}, p(f(s)("modal.share.copy")), 1)
|
|
8504
8509
|
])
|
|
8505
8510
|
])
|
|
8506
8511
|
])) : (c(), u("form", {
|
|
@@ -8515,10 +8520,10 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8515
8520
|
}, null, 512), [
|
|
8516
8521
|
[na, l.value]
|
|
8517
8522
|
]),
|
|
8518
|
-
t("span", null, f(
|
|
8523
|
+
t("span", null, p(f(s)("modal.share.pin")), 1)
|
|
8519
8524
|
]),
|
|
8520
8525
|
t("label", Dm, [
|
|
8521
|
-
t("span", null, f(
|
|
8526
|
+
t("span", null, p(f(s)("modal.share.expires")), 1),
|
|
8522
8527
|
ze(t("input", {
|
|
8523
8528
|
"onUpdate:modelValue": O[1] || (O[1] = (U) => m.value = U),
|
|
8524
8529
|
type: "datetime-local",
|
|
@@ -8528,7 +8533,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8528
8533
|
])
|
|
8529
8534
|
]),
|
|
8530
8535
|
t("label", Mm, [
|
|
8531
|
-
t("span", null, f(
|
|
8536
|
+
t("span", null, p(f(s)("modal.share.max_downloads")), 1),
|
|
8532
8537
|
ze(t("input", {
|
|
8533
8538
|
"onUpdate:modelValue": O[2] || (O[2] = (U) => r.value = U),
|
|
8534
8539
|
type: "number",
|
|
@@ -8633,22 +8638,22 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8633
8638
|
}, [
|
|
8634
8639
|
t("div", Fm, [
|
|
8635
8640
|
t("header", jm, [
|
|
8636
|
-
t("h3", null,
|
|
8641
|
+
t("h3", null, p(L("convert.title", "Dönüştür")) + " — " + p(n.fileName), 1),
|
|
8637
8642
|
t("button", {
|
|
8638
8643
|
class: "filex-cv__x",
|
|
8639
8644
|
onClick: j[0] || (j[0] = (K) => d("close"))
|
|
8640
8645
|
}, "✕")
|
|
8641
8646
|
]),
|
|
8642
|
-
l.value === "loading" ? (c(), u("div", Vm,
|
|
8643
|
-
t("p", null, "✓ " +
|
|
8647
|
+
l.value === "loading" ? (c(), u("div", Vm, p(L("convert.loading", "Dönüştürücü yükleniyor…")), 1)) : l.value === "done" ? (c(), u("div", Hm, [
|
|
8648
|
+
t("p", null, "✓ " + p(L("convert.done", "Dönüştürüldü ve klasöre yüklendi.")), 1),
|
|
8644
8649
|
t("button", {
|
|
8645
8650
|
class: "filex-cv__convert",
|
|
8646
8651
|
onClick: j[1] || (j[1] = (K) => d("close"))
|
|
8647
|
-
},
|
|
8652
|
+
}, p(L("convert.close", "Kapat")), 1)
|
|
8648
8653
|
])) : (c(), u(se, { key: 2 }, [
|
|
8649
8654
|
t("p", Ym, [
|
|
8650
|
-
$e(
|
|
8651
|
-
t("b", null,
|
|
8655
|
+
$e(p(L("convert.from", "Kaynak")) + ": ", 1),
|
|
8656
|
+
t("b", null, p(I.value || "?"), 1)
|
|
8652
8657
|
]),
|
|
8653
8658
|
ze(t("input", {
|
|
8654
8659
|
"onUpdate:modelValue": j[2] || (j[2] = (K) => h.value = K),
|
|
@@ -8665,19 +8670,19 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
8665
8670
|
class: ve(["filex-cv__fmt", { "is-sel": ((F = w.value) == null ? void 0 : F.index) === K.index }]),
|
|
8666
8671
|
onClick: (_) => w.value = K
|
|
8667
8672
|
}, [
|
|
8668
|
-
t("b", null,
|
|
8669
|
-
t("small", null,
|
|
8673
|
+
t("b", null, p((K.ext || K.format).toUpperCase()), 1),
|
|
8674
|
+
t("small", null, p(K.name), 1)
|
|
8670
8675
|
], 10, qm);
|
|
8671
8676
|
}), 128)),
|
|
8672
|
-
P.value.length === 0 ? (c(), u("div", Jm,
|
|
8677
|
+
P.value.length === 0 ? (c(), u("div", Jm, p(L("convert.noFmt", "Eşleşen format yok.")), 1)) : B("", !0)
|
|
8673
8678
|
]),
|
|
8674
|
-
m.value ? (c(), u("div", Xm,
|
|
8679
|
+
m.value ? (c(), u("div", Xm, p(m.value), 1)) : B("", !0),
|
|
8675
8680
|
t("footer", Qm, [
|
|
8676
8681
|
t("button", {
|
|
8677
8682
|
class: "filex-cv__convert",
|
|
8678
8683
|
disabled: !w.value || !H.value || l.value === "converting",
|
|
8679
8684
|
onClick: te
|
|
8680
|
-
},
|
|
8685
|
+
}, p(l.value === "converting" ? L("convert.converting", "Dönüştürülüyor…") : L("convert.convert", "Dönüştür")), 9, Zm)
|
|
8681
8686
|
])
|
|
8682
8687
|
], 64)),
|
|
8683
8688
|
t("iframe", {
|
|
@@ -9087,15 +9092,15 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9087
9092
|
t("div", nh, [
|
|
9088
9093
|
t("header", oh, [
|
|
9089
9094
|
t("div", sh, [
|
|
9090
|
-
t("span", rh,
|
|
9095
|
+
t("span", rh, p(n.isDir ? "📁" : "📄"), 1),
|
|
9091
9096
|
t("div", lh, [
|
|
9092
|
-
t("h3", null,
|
|
9097
|
+
t("h3", null, p(l("Paylaş / İzinler", "Share / Permissions")), 1),
|
|
9093
9098
|
t("span", {
|
|
9094
9099
|
class: "fx-perm-sub",
|
|
9095
9100
|
title: n.path
|
|
9096
9101
|
}, [
|
|
9097
|
-
$e(
|
|
9098
|
-
t("span", ch, " · " +
|
|
9102
|
+
$e(p(m.value.name), 1),
|
|
9103
|
+
t("span", ch, " · " + p(m.value.adapter), 1)
|
|
9099
9104
|
], 8, ih)
|
|
9100
9105
|
])
|
|
9101
9106
|
]),
|
|
@@ -9110,22 +9115,22 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9110
9115
|
key: 0,
|
|
9111
9116
|
class: ve(["fx-perm-tab", { "is-active": r.value === "perms" }]),
|
|
9112
9117
|
onClick: V[1] || (V[1] = (ee) => r.value = "perms")
|
|
9113
|
-
},
|
|
9118
|
+
}, p(l("Kişiler", "People")), 3)) : B("", !0),
|
|
9114
9119
|
t("button", {
|
|
9115
9120
|
class: ve(["fx-perm-tab", { "is-active": r.value === "share" }]),
|
|
9116
9121
|
onClick: V[2] || (V[2] = (ee) => r.value = "share")
|
|
9117
|
-
},
|
|
9122
|
+
}, p(l("Bağlantı", "Link")), 3),
|
|
9118
9123
|
n.isDir ? (c(), u("button", {
|
|
9119
9124
|
key: 1,
|
|
9120
9125
|
class: ve(["fx-perm-tab", { "is-active": r.value === "drop" }]),
|
|
9121
9126
|
onClick: V[3] || (V[3] = (ee) => r.value = "drop")
|
|
9122
|
-
},
|
|
9127
|
+
}, p(l("Dosya İste", "Request files")), 3)) : B("", !0)
|
|
9123
9128
|
]),
|
|
9124
9129
|
t("div", dh, [
|
|
9125
9130
|
r.value === "perms" && h.value ? (c(), u(se, { key: 0 }, [
|
|
9126
|
-
O.value ? B("", !0) : (c(), u("div", fh,
|
|
9127
|
-
I.value ? (c(), u("div", ph,
|
|
9128
|
-
w.value ? (c(), u("div", vh,
|
|
9131
|
+
O.value ? B("", !0) : (c(), u("div", fh, p(l("Bu diskte RBAC kapalı — izinler yalnızca RBAC açık disklerde geçerli.", "RBAC is off on this storage — grants only apply when RBAC is enabled.")), 1)),
|
|
9132
|
+
I.value ? (c(), u("div", ph, p(I.value), 1)) : B("", !0),
|
|
9133
|
+
w.value ? (c(), u("div", vh, p(l("Yükleniyor…", "Loading…")), 1)) : (c(), u(se, { key: 3 }, [
|
|
9129
9134
|
t("div", mh, [
|
|
9130
9135
|
t("div", hh, [
|
|
9131
9136
|
t("div", yh, [
|
|
@@ -9146,10 +9151,10 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9146
9151
|
key: ee.id,
|
|
9147
9152
|
onMousedown: Ee((Ae) => X(ee), ["prevent"])
|
|
9148
9153
|
}, [
|
|
9149
|
-
t("span", kh,
|
|
9154
|
+
t("span", kh, p((ee.display_name || ee.email).charAt(0).toUpperCase()), 1),
|
|
9150
9155
|
t("span", wh, [
|
|
9151
|
-
t("span", xh,
|
|
9152
|
-
t("span", $h,
|
|
9156
|
+
t("span", xh, p(ee.display_name || ee.email), 1),
|
|
9157
|
+
t("span", $h, p(ee.email) + " · " + p(ee.role), 1)
|
|
9153
9158
|
])
|
|
9154
9159
|
], 40, _h))), 128))
|
|
9155
9160
|
])) : B("", !0)
|
|
@@ -9162,7 +9167,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9162
9167
|
(c(), u(se, null, he(F, (ee) => t("option", {
|
|
9163
9168
|
key: ee.v,
|
|
9164
9169
|
value: ee.v
|
|
9165
|
-
},
|
|
9170
|
+
}, p(ee.l), 9, Sh)), 64))
|
|
9166
9171
|
], 8, Ch), [
|
|
9167
9172
|
[Ea, N.value]
|
|
9168
9173
|
]),
|
|
@@ -9170,18 +9175,18 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9170
9175
|
class: "fx-perm-btn fx-perm-btn--primary",
|
|
9171
9176
|
disabled: S.value,
|
|
9172
9177
|
onClick: J
|
|
9173
|
-
},
|
|
9178
|
+
}, p(l("Ekle", "Add")), 9, Th)
|
|
9174
9179
|
]),
|
|
9175
9180
|
A.value ? (c(), u("div", Eh, [
|
|
9176
|
-
t("p", Dh,
|
|
9181
|
+
t("p", Dh, p(l("Bu e-postada hesap yok. Ne yapmak istersiniz?", "No account for this email — what next?")), 1),
|
|
9177
9182
|
t("div", Mh, [
|
|
9178
9183
|
t("div", Ph, [
|
|
9179
9184
|
ze(t("select", {
|
|
9180
9185
|
"onUpdate:modelValue": V[6] || (V[6] = (ee) => te.value = ee),
|
|
9181
9186
|
class: "fx-perm-sel"
|
|
9182
9187
|
}, [
|
|
9183
|
-
t("option", Ah,
|
|
9184
|
-
t("option", Ih,
|
|
9188
|
+
t("option", Ah, p(l("Kullanıcı", "User")), 1),
|
|
9189
|
+
t("option", Ih, p(l("Görüntüleyen", "Viewer")), 1)
|
|
9185
9190
|
], 512), [
|
|
9186
9191
|
[Ea, te.value]
|
|
9187
9192
|
]),
|
|
@@ -9189,33 +9194,33 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9189
9194
|
class: "fx-perm-btn fx-perm-btn--primary",
|
|
9190
9195
|
disabled: S.value,
|
|
9191
9196
|
onClick: pe
|
|
9192
|
-
},
|
|
9197
|
+
}, p(l("Kullanıcı oluştur + yetki ver", "Create user + grant")), 9, Lh)
|
|
9193
9198
|
]),
|
|
9194
9199
|
t("button", {
|
|
9195
9200
|
class: "fx-perm-btn fx-perm-btn--ghost",
|
|
9196
9201
|
disabled: S.value,
|
|
9197
9202
|
onClick: ge
|
|
9198
|
-
},
|
|
9203
|
+
}, p(l("Sadece paylaşım linki gönder →", "Just send a share link →")), 9, Oh)
|
|
9199
9204
|
])
|
|
9200
9205
|
])) : B("", !0),
|
|
9201
|
-
T.value ? (c(), u("div", Bh,
|
|
9206
|
+
T.value ? (c(), u("div", Bh, p(T.value), 1)) : B("", !0),
|
|
9202
9207
|
(Ie = L.value) != null && Ie.tempPassword ? (c(), u("div", zh, [
|
|
9203
|
-
$e(
|
|
9204
|
-
t("code", null,
|
|
9208
|
+
$e(p(l("Geçici parola:", "Temp password:")) + " ", 1),
|
|
9209
|
+
t("code", null, p(L.value.tempPassword), 1)
|
|
9205
9210
|
])) : B("", !0)
|
|
9206
9211
|
]),
|
|
9207
9212
|
t("div", Kh, [
|
|
9208
|
-
t("h4", null,
|
|
9209
|
-
!H.value.length && !P.value.length ? (c(), u("div", Nh,
|
|
9213
|
+
t("h4", null, p(l("Erişimi olanlar", "People with access")), 1),
|
|
9214
|
+
!H.value.length && !P.value.length ? (c(), u("div", Nh, p(l("Henüz kimseyle paylaşılmadı.", "Not shared with anyone yet.")), 1)) : B("", !0),
|
|
9210
9215
|
(c(!0), u(se, null, he(H.value, (ee) => (c(), u("div", {
|
|
9211
9216
|
key: "d" + ee.id,
|
|
9212
9217
|
class: "fx-perm-person"
|
|
9213
9218
|
}, [
|
|
9214
|
-
t("span", Rh,
|
|
9219
|
+
t("span", Rh, p(Ue(ee)), 1),
|
|
9215
9220
|
t("span", {
|
|
9216
9221
|
class: "fx-perm-user",
|
|
9217
9222
|
title: ee.user_email
|
|
9218
|
-
},
|
|
9223
|
+
}, p(Ge(ee)), 9, Uh),
|
|
9219
9224
|
t("select", {
|
|
9220
9225
|
class: "fx-perm-sel fx-perm-sel--sm",
|
|
9221
9226
|
value: ee.level,
|
|
@@ -9224,7 +9229,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9224
9229
|
(c(), u(se, null, he(F, (Ae) => t("option", {
|
|
9225
9230
|
key: Ae.v,
|
|
9226
9231
|
value: Ae.v
|
|
9227
|
-
},
|
|
9232
|
+
}, p(Ae.l), 9, jh)), 64))
|
|
9228
9233
|
], 40, Fh),
|
|
9229
9234
|
t("button", {
|
|
9230
9235
|
class: "fx-perm-del",
|
|
@@ -9237,16 +9242,16 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9237
9242
|
key: "i" + ee.id,
|
|
9238
9243
|
class: "fx-perm-person fx-perm-inh"
|
|
9239
9244
|
}, [
|
|
9240
|
-
t("span", Hh,
|
|
9245
|
+
t("span", Hh, p(Ue(ee)), 1),
|
|
9241
9246
|
t("span", {
|
|
9242
9247
|
class: "fx-perm-user",
|
|
9243
9248
|
title: ee.user_email
|
|
9244
|
-
},
|
|
9245
|
-
t("span", Gh,
|
|
9249
|
+
}, p(Ge(ee)), 9, Yh),
|
|
9250
|
+
t("span", Gh, p(_(ee.level)), 1),
|
|
9246
9251
|
t("span", {
|
|
9247
9252
|
class: "fx-perm-from",
|
|
9248
9253
|
title: l("Üst klasörden gelir", "Inherited from") + ": " + (ee.path_prefix || "/")
|
|
9249
|
-
}, " ↳ " +
|
|
9254
|
+
}, " ↳ " + p(ee.path_prefix || "/"), 9, Wh)
|
|
9250
9255
|
]))), 128))
|
|
9251
9256
|
])
|
|
9252
9257
|
], 64))
|
|
@@ -9261,10 +9266,10 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9261
9266
|
}, null, 512), [
|
|
9262
9267
|
[na, Q.value]
|
|
9263
9268
|
]),
|
|
9264
|
-
$e(" " +
|
|
9269
|
+
$e(" " + p(l("PIN ile koru", "Protect with a PIN")), 1)
|
|
9265
9270
|
]),
|
|
9266
9271
|
t("label", Qh, [
|
|
9267
|
-
t("span", Zh,
|
|
9272
|
+
t("span", Zh, p(l("Süre", "Expiry")), 1),
|
|
9268
9273
|
ze(t("select", {
|
|
9269
9274
|
"onUpdate:modelValue": V[8] || (V[8] = (ee) => R.value = ee),
|
|
9270
9275
|
class: "fx-perm-sel fx-perm-sel--sm"
|
|
@@ -9272,7 +9277,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9272
9277
|
(c(), u(se, null, he(y, (ee) => t("option", {
|
|
9273
9278
|
key: ee.v,
|
|
9274
9279
|
value: ee.v
|
|
9275
|
-
},
|
|
9280
|
+
}, p(ee.l), 9, ey)), 64))
|
|
9276
9281
|
], 512), [
|
|
9277
9282
|
[
|
|
9278
9283
|
Ea,
|
|
@@ -9286,9 +9291,9 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9286
9291
|
class: "fx-perm-btn fx-perm-btn--primary",
|
|
9287
9292
|
disabled: k.value,
|
|
9288
9293
|
onClick: lt
|
|
9289
|
-
},
|
|
9294
|
+
}, p(l("Bağlantı oluştur", "Create link")), 9, ty)
|
|
9290
9295
|
]),
|
|
9291
|
-
ce.value ? (c(), u("div", ay,
|
|
9296
|
+
ce.value ? (c(), u("div", ay, p(ce.value), 1)) : B("", !0),
|
|
9292
9297
|
Z.value ? (c(), u("div", ny, [
|
|
9293
9298
|
t("div", oy, [
|
|
9294
9299
|
t("a", {
|
|
@@ -9296,21 +9301,21 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9296
9301
|
target: "_blank",
|
|
9297
9302
|
rel: "noopener",
|
|
9298
9303
|
class: "fx-perm-link"
|
|
9299
|
-
},
|
|
9304
|
+
}, p(Z.value.url), 9, sy),
|
|
9300
9305
|
t("button", {
|
|
9301
9306
|
class: "fx-perm-btn fx-perm-btn--sm",
|
|
9302
9307
|
onClick: V[9] || (V[9] = (ee) => _e(Z.value.url, "new"))
|
|
9303
|
-
},
|
|
9308
|
+
}, p(le.value === "new" ? l("Kopyalandı ✓", "Copied ✓") : l("Kopyala", "Copy")), 1)
|
|
9304
9309
|
]),
|
|
9305
9310
|
Z.value.pin ? (c(), u("div", ry, [
|
|
9306
9311
|
t("span", null, [
|
|
9307
9312
|
V[25] || (V[25] = $e("PIN: ", -1)),
|
|
9308
|
-
t("code", null,
|
|
9313
|
+
t("code", null, p(Z.value.pin), 1)
|
|
9309
9314
|
]),
|
|
9310
9315
|
t("button", {
|
|
9311
9316
|
class: "fx-perm-btn fx-perm-btn--sm",
|
|
9312
9317
|
onClick: V[10] || (V[10] = (ee) => _e(Z.value.pin, "sharepin"))
|
|
9313
|
-
},
|
|
9318
|
+
}, p(le.value === "sharepin" ? l("Kopyalandı ✓", "Copied ✓") : l("Kopyala", "Copy")), 1)
|
|
9314
9319
|
])) : B("", !0),
|
|
9315
9320
|
t("div", ly, [
|
|
9316
9321
|
ze(t("input", {
|
|
@@ -9327,9 +9332,9 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9327
9332
|
class: "fx-perm-btn",
|
|
9328
9333
|
disabled: ye.value,
|
|
9329
9334
|
onClick: zt
|
|
9330
|
-
},
|
|
9335
|
+
}, p(l("Gönder", "Send")), 9, cy)
|
|
9331
9336
|
]),
|
|
9332
|
-
E.value ? (c(), u("div", uy,
|
|
9337
|
+
E.value ? (c(), u("div", uy, p(E.value), 1)) : B("", !0),
|
|
9333
9338
|
Fe.value ? (c(), u("button", {
|
|
9334
9339
|
key: 2,
|
|
9335
9340
|
type: "button",
|
|
@@ -9337,17 +9342,17 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9337
9342
|
onClick: V[12] || (V[12] = (ee) => Gt(gt()))
|
|
9338
9343
|
}, [
|
|
9339
9344
|
V[26] || (V[26] = t("span", { "aria-hidden": "true" }, "📤", -1)),
|
|
9340
|
-
$e(" " +
|
|
9345
|
+
$e(" " + p(l("Paylaş", "Share")), 1)
|
|
9341
9346
|
])) : B("", !0)
|
|
9342
9347
|
])) : ue.value ? (c(), u("p", dy, [
|
|
9343
|
-
$e(
|
|
9344
|
-
t("strong", null,
|
|
9345
|
-
$e(" " +
|
|
9348
|
+
$e(p(l("Aşağıdan bir bağlantı oluşturun, ardından", "Create a link below, then it will be sent to")) + " ", 1),
|
|
9349
|
+
t("strong", null, p(ue.value), 1),
|
|
9350
|
+
$e(" " + p(l("adresine gönderin.", ".")), 1)
|
|
9346
9351
|
])) : B("", !0)
|
|
9347
9352
|
]),
|
|
9348
9353
|
t("div", fy, [
|
|
9349
|
-
t("h4", null,
|
|
9350
|
-
C.value.length ? B("", !0) : (c(), u("div", py,
|
|
9354
|
+
t("h4", null, p(l("Mevcut bağlantılar", "Existing links")), 1),
|
|
9355
|
+
C.value.length ? B("", !0) : (c(), u("div", py, p(l("Yok", "None")), 1)),
|
|
9351
9356
|
(c(!0), u(se, null, he(C.value, (ee) => (c(), u("div", {
|
|
9352
9357
|
key: ee.uuid,
|
|
9353
9358
|
class: "fx-perm-person"
|
|
@@ -9355,11 +9360,11 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9355
9360
|
t("span", {
|
|
9356
9361
|
class: "fx-perm-user fx-perm-link",
|
|
9357
9362
|
title: ee.url
|
|
9358
|
-
},
|
|
9363
|
+
}, p(ee.url), 9, vy),
|
|
9359
9364
|
t("button", {
|
|
9360
9365
|
class: "fx-perm-btn fx-perm-btn--sm",
|
|
9361
9366
|
onClick: (Ae) => _e(ee.url, ee.uuid)
|
|
9362
|
-
},
|
|
9367
|
+
}, p(le.value === ee.uuid ? l("✓", "✓") : l("Kopyala", "Copy")), 9, my),
|
|
9363
9368
|
t("button", {
|
|
9364
9369
|
class: "fx-perm-del",
|
|
9365
9370
|
disabled: k.value,
|
|
@@ -9370,7 +9375,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9370
9375
|
])
|
|
9371
9376
|
], 64)) : B("", !0),
|
|
9372
9377
|
r.value === "drop" ? (c(), u("div", yy, [
|
|
9373
|
-
t("p", by,
|
|
9378
|
+
t("p", by, p(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),
|
|
9374
9379
|
t("div", gy, [
|
|
9375
9380
|
t("label", _y, [
|
|
9376
9381
|
ze(t("input", {
|
|
@@ -9379,10 +9384,10 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9379
9384
|
}, null, 512), [
|
|
9380
9385
|
[na, v.value]
|
|
9381
9386
|
]),
|
|
9382
|
-
$e(" " +
|
|
9387
|
+
$e(" " + p(l("PIN ile koru", "Protect with a PIN")), 1)
|
|
9383
9388
|
]),
|
|
9384
9389
|
t("label", ky, [
|
|
9385
|
-
t("span", wy,
|
|
9390
|
+
t("span", wy, p(l("Süre", "Expiry")), 1),
|
|
9386
9391
|
ze(t("select", {
|
|
9387
9392
|
"onUpdate:modelValue": V[14] || (V[14] = (ee) => b.value = ee),
|
|
9388
9393
|
class: "fx-perm-sel fx-perm-sel--sm"
|
|
@@ -9390,7 +9395,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9390
9395
|
(c(), u(se, null, he(y, (ee) => t("option", {
|
|
9391
9396
|
key: ee.v,
|
|
9392
9397
|
value: ee.v
|
|
9393
|
-
},
|
|
9398
|
+
}, p(ee.l), 9, xy)), 64))
|
|
9394
9399
|
], 512), [
|
|
9395
9400
|
[
|
|
9396
9401
|
Ea,
|
|
@@ -9404,16 +9409,16 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9404
9409
|
class: "fx-perm-btn fx-perm-btn--primary",
|
|
9405
9410
|
disabled: ae.value,
|
|
9406
9411
|
onClick: q
|
|
9407
|
-
},
|
|
9412
|
+
}, p(l("Bağlantı oluştur", "Create link")), 9, $y)
|
|
9408
9413
|
]),
|
|
9409
9414
|
t("button", {
|
|
9410
9415
|
type: "button",
|
|
9411
9416
|
class: "fx-perm-btn fx-perm-btn--ghost fx-perm-advtoggle",
|
|
9412
9417
|
onClick: V[15] || (V[15] = (ee) => $.value = !$.value)
|
|
9413
|
-
},
|
|
9418
|
+
}, p($.value ? l("Gelişmiş ▲", "Advanced ▲") : l("Gelişmiş ▼", "Advanced ▼")), 1),
|
|
9414
9419
|
$.value ? (c(), u("div", Cy, [
|
|
9415
9420
|
t("label", Sy, [
|
|
9416
|
-
t("span", Ty,
|
|
9421
|
+
t("span", Ty, p(l("En fazla dosya", "Max files")), 1),
|
|
9417
9422
|
ze(t("input", {
|
|
9418
9423
|
"onUpdate:modelValue": V[16] || (V[16] = (ee) => ie.value = ee),
|
|
9419
9424
|
type: "number",
|
|
@@ -9425,7 +9430,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9425
9430
|
])
|
|
9426
9431
|
]),
|
|
9427
9432
|
t("label", Ey, [
|
|
9428
|
-
t("span", Dy,
|
|
9433
|
+
t("span", Dy, p(l("Dosya başı MB", "MB / file")), 1),
|
|
9429
9434
|
ze(t("input", {
|
|
9430
9435
|
"onUpdate:modelValue": V[17] || (V[17] = (ee) => we.value = ee),
|
|
9431
9436
|
type: "number",
|
|
@@ -9437,7 +9442,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9437
9442
|
])
|
|
9438
9443
|
]),
|
|
9439
9444
|
t("label", My, [
|
|
9440
|
-
t("span", Py,
|
|
9445
|
+
t("span", Py, p(l("İzinli türler", "Allowed types")), 1),
|
|
9441
9446
|
ze(t("input", {
|
|
9442
9447
|
"onUpdate:modelValue": V[18] || (V[18] = (ee) => be.value = ee),
|
|
9443
9448
|
type: "text",
|
|
@@ -9454,10 +9459,10 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9454
9459
|
}, null, 512), [
|
|
9455
9460
|
[na, Oe.value]
|
|
9456
9461
|
]),
|
|
9457
|
-
$e(" " +
|
|
9462
|
+
$e(" " + p(l("Yükleyenin adını sor", "Ask uploader name")), 1)
|
|
9458
9463
|
])
|
|
9459
9464
|
])) : B("", !0),
|
|
9460
|
-
de.value ? (c(), u("div", Ly,
|
|
9465
|
+
de.value ? (c(), u("div", Ly, p(de.value), 1)) : B("", !0),
|
|
9461
9466
|
ne.value ? (c(), u("div", Oy, [
|
|
9462
9467
|
t("div", By, [
|
|
9463
9468
|
t("a", {
|
|
@@ -9465,21 +9470,21 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9465
9470
|
target: "_blank",
|
|
9466
9471
|
rel: "noopener",
|
|
9467
9472
|
class: "fx-perm-link"
|
|
9468
|
-
},
|
|
9473
|
+
}, p(ne.value.url), 9, zy),
|
|
9469
9474
|
t("button", {
|
|
9470
9475
|
class: "fx-perm-btn fx-perm-btn--sm",
|
|
9471
9476
|
onClick: V[20] || (V[20] = (ee) => _e(ne.value.url, "drop"))
|
|
9472
|
-
},
|
|
9477
|
+
}, p(le.value === "drop" ? l("Kopyalandı ✓", "Copied ✓") : l("Kopyala", "Copy")), 1)
|
|
9473
9478
|
]),
|
|
9474
9479
|
ne.value.pin ? (c(), u("div", Ky, [
|
|
9475
9480
|
t("span", null, [
|
|
9476
9481
|
V[27] || (V[27] = $e("PIN: ", -1)),
|
|
9477
|
-
t("code", null,
|
|
9482
|
+
t("code", null, p(ne.value.pin), 1)
|
|
9478
9483
|
]),
|
|
9479
9484
|
t("button", {
|
|
9480
9485
|
class: "fx-perm-btn fx-perm-btn--sm",
|
|
9481
9486
|
onClick: V[21] || (V[21] = (ee) => _e(ne.value.pin, "droppin"))
|
|
9482
|
-
},
|
|
9487
|
+
}, p(le.value === "droppin" ? l("Kopyalandı ✓", "Copied ✓") : l("Kopyala", "Copy")), 1)
|
|
9483
9488
|
])) : B("", !0),
|
|
9484
9489
|
t("div", Ny, [
|
|
9485
9490
|
ze(t("input", {
|
|
@@ -9496,9 +9501,9 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9496
9501
|
class: "fx-perm-btn",
|
|
9497
9502
|
disabled: ft.value,
|
|
9498
9503
|
onClick: re
|
|
9499
|
-
},
|
|
9504
|
+
}, p(l("Gönder", "Send")), 9, Uy)
|
|
9500
9505
|
]),
|
|
9501
|
-
Be.value ? (c(), u("div", Fy,
|
|
9506
|
+
Be.value ? (c(), u("div", Fy, p(Be.value), 1)) : B("", !0),
|
|
9502
9507
|
Fe.value ? (c(), u("button", {
|
|
9503
9508
|
key: 2,
|
|
9504
9509
|
type: "button",
|
|
@@ -9506,7 +9511,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9506
9511
|
onClick: V[23] || (V[23] = (ee) => Gt(Yt()))
|
|
9507
9512
|
}, [
|
|
9508
9513
|
V[28] || (V[28] = t("span", { "aria-hidden": "true" }, "📤", -1)),
|
|
9509
|
-
$e(" " +
|
|
9514
|
+
$e(" " + p(l("Paylaş", "Share")), 1)
|
|
9510
9515
|
])) : B("", !0)
|
|
9511
9516
|
])) : B("", !0)
|
|
9512
9517
|
])) : B("", !0)
|
|
@@ -9672,7 +9677,13 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9672
9677
|
try {
|
|
9673
9678
|
const e = await Vt(), a = d.config.apiBase ?? "", x = await fetch(`${a}/api/files/manager/star/list?limit=500`, {
|
|
9674
9679
|
headers: e,
|
|
9675
|
-
|
|
9680
|
+
// ⚠ NOT 'include'. With a bearer token the request is cross-origin for
|
|
9681
|
+
// every embedder that serves the UI from a different origin to the API
|
|
9682
|
+
// (the desktop app is one), and a credentialed request may not be
|
|
9683
|
+
// answered with `Access-Control-Allow-Origin: *` — which is what filex
|
|
9684
|
+
// sends. This one line made starred files fail silently in every such
|
|
9685
|
+
// install while the rest of the explorer worked.
|
|
9686
|
+
credentials: l.credentialsMode()
|
|
9676
9687
|
});
|
|
9677
9688
|
if (!x.ok) return;
|
|
9678
9689
|
const M = await x.json(), Y = Array.isArray(M) ? M : Array.isArray(M == null ? void 0 : M.entries) ? M.entries : Array.isArray(M == null ? void 0 : M.nodes) ? M.nodes : [];
|
|
@@ -9692,7 +9703,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
9692
9703
|
await fetch(`${a}/api/files/manager/recent`, {
|
|
9693
9704
|
method: "POST",
|
|
9694
9705
|
headers: await Vt({ "Content-Type": "application/json" }),
|
|
9695
|
-
credentials:
|
|
9706
|
+
credentials: l.credentialsMode(),
|
|
9696
9707
|
body: JSON.stringify({ node_id: e.id })
|
|
9697
9708
|
}), ne.value += 1;
|
|
9698
9709
|
} catch {
|
|
@@ -11224,14 +11235,14 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11224
11235
|
rr.value ? (c(), Ne(Kv, {
|
|
11225
11236
|
key: 0,
|
|
11226
11237
|
tabs: ir.value,
|
|
11227
|
-
"active-id":
|
|
11238
|
+
"active-id": f(nn),
|
|
11228
11239
|
locale: m.value,
|
|
11229
11240
|
"split-enabled": !pt.value,
|
|
11230
11241
|
"split-active": !!At.value,
|
|
11231
11242
|
onSelect: cr,
|
|
11232
11243
|
onClose: Xn,
|
|
11233
11244
|
onNew: on,
|
|
11234
|
-
onReorder: a[0] || (a[0] = (D, me) =>
|
|
11245
|
+
onReorder: a[0] || (a[0] = (D, me) => f(Xe).move(D, me)),
|
|
11235
11246
|
onToggleSplit: to
|
|
11236
11247
|
}, null, 8, ["tabs", "active-id", "locale", "split-enabled", "split-active"])) : B("", !0),
|
|
11237
11248
|
Ke(yi, {
|
|
@@ -11284,29 +11295,29 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11284
11295
|
"root-label": z.value,
|
|
11285
11296
|
locale: m.value,
|
|
11286
11297
|
"multi-storage-root": tt.value,
|
|
11287
|
-
"root-path":
|
|
11298
|
+
"root-path": f(T),
|
|
11288
11299
|
onNavigate: Js,
|
|
11289
11300
|
onCopyPath: Gn,
|
|
11290
11301
|
onCrumbContext: ws,
|
|
11291
11302
|
onCrumbDrop: Gs
|
|
11292
11303
|
}, null, 8, ["dirname", "adapter", "root-label", "locale", "multi-storage-root", "root-path"]),
|
|
11293
|
-
|
|
11294
|
-
|
|
11304
|
+
f(w).length || f(I) ? (c(), u("div", Hy, [
|
|
11305
|
+
f(w).length ? (c(), Ne($l, {
|
|
11295
11306
|
key: 0,
|
|
11296
|
-
users:
|
|
11307
|
+
users: f(w),
|
|
11297
11308
|
locale: m.value
|
|
11298
11309
|
}, null, 8, ["users", "locale"])) : B("", !0),
|
|
11299
|
-
|
|
11310
|
+
f(I) ? (c(), u("span", {
|
|
11300
11311
|
key: 1,
|
|
11301
11312
|
class: "fe-connbadge",
|
|
11302
11313
|
role: "status",
|
|
11303
|
-
title:
|
|
11314
|
+
title: f(r)("conn.tooltip")
|
|
11304
11315
|
}, [
|
|
11305
11316
|
a[50] || (a[50] = t("span", {
|
|
11306
11317
|
class: "fe-connbadge__dot",
|
|
11307
11318
|
"aria-hidden": "true"
|
|
11308
11319
|
}, null, -1)),
|
|
11309
|
-
$e(" " + f(
|
|
11320
|
+
$e(" " + p(f(r)("conn.offline")), 1)
|
|
11310
11321
|
], 8, Yy)) : B("", !0)
|
|
11311
11322
|
])) : B("", !0),
|
|
11312
11323
|
$t.value ? (c(), u("div", Gy, [
|
|
@@ -11314,20 +11325,20 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11314
11325
|
class: "fe-e2e-strip__icon",
|
|
11315
11326
|
"aria-hidden": "true"
|
|
11316
11327
|
}, "🔒", -1)),
|
|
11317
|
-
t("span", Wy, f(
|
|
11328
|
+
t("span", Wy, p(f(r)("e2e.strip.label")), 1),
|
|
11318
11329
|
t("button", {
|
|
11319
11330
|
type: "button",
|
|
11320
11331
|
class: "fe-btn fe-e2e-strip__btn",
|
|
11321
11332
|
onClick: wr
|
|
11322
|
-
}, f(
|
|
11333
|
+
}, p(f(r)("e2e.strip.lock")), 1)
|
|
11323
11334
|
])) : B("", !0),
|
|
11324
11335
|
t("div", {
|
|
11325
11336
|
class: "fe__body",
|
|
11326
11337
|
onPointerdownCapture: a[13] || (a[13] = (D) => hr()),
|
|
11327
|
-
onClick: a[14] || (a[14] = Ee((D) =>
|
|
11338
|
+
onClick: a[14] || (a[14] = Ee((D) => f($).clear(), ["self"]))
|
|
11328
11339
|
}, [
|
|
11329
11340
|
S.value && K.value.length === 0 ? (c(), u("div", qy, [
|
|
11330
|
-
t("span", Jy, f(
|
|
11341
|
+
t("span", Jy, p(f(r)("loading")), 1),
|
|
11331
11342
|
R.value !== "list" ? (c(), u("div", Xy, [
|
|
11332
11343
|
(c(), u(se, null, he(8, (D) => t("div", {
|
|
11333
11344
|
key: D,
|
|
@@ -11370,35 +11381,35 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11370
11381
|
stroke: "none"
|
|
11371
11382
|
})
|
|
11372
11383
|
], -1)),
|
|
11373
|
-
t("p", eb, f(
|
|
11374
|
-
t("p", tb,
|
|
11375
|
-
t("p", ab, f(
|
|
11384
|
+
t("p", eb, p(f(r)("notFound.title")), 1),
|
|
11385
|
+
t("p", tb, p(_.value), 1),
|
|
11386
|
+
t("p", ab, p(f(r)("notFound.desc")), 1),
|
|
11376
11387
|
t("div", nb, [
|
|
11377
11388
|
t("button", {
|
|
11378
11389
|
type: "button",
|
|
11379
11390
|
class: "fe-btn",
|
|
11380
11391
|
onClick: is
|
|
11381
|
-
}, f(
|
|
11392
|
+
}, p(f(r)("notFound.goRoot")), 1)
|
|
11382
11393
|
])
|
|
11383
11394
|
])) : C.value && K.value.length === 0 ? (c(), u("div", ob, [
|
|
11384
11395
|
a[55] || (a[55] = fn('<svg class="fe-state__art" viewBox="0 0 120 100" width="110" height="92" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="60" cy="50" r="28"></circle><path d="M60 36v18"></path><circle cx="60" cy="63" r="1.8" fill="currentColor" stroke="none"></circle><path d="M24 88h72" stroke-dasharray="3 5"></path></svg>', 1)),
|
|
11385
|
-
t("p", sb, f(
|
|
11386
|
-
t("p", rb, f(
|
|
11396
|
+
t("p", sb, p(f(r)("error.title")), 1),
|
|
11397
|
+
t("p", rb, p(f(r)("error.hint")), 1),
|
|
11387
11398
|
t("div", lb, [
|
|
11388
11399
|
t("button", {
|
|
11389
11400
|
type: "button",
|
|
11390
11401
|
class: "fe-btn fe-btn--primary",
|
|
11391
11402
|
onClick: Q
|
|
11392
|
-
}, f(
|
|
11403
|
+
}, p(f(r)("error.retry")), 1)
|
|
11393
11404
|
]),
|
|
11394
11405
|
t("details", ib, [
|
|
11395
|
-
t("summary", cb, f(
|
|
11396
|
-
t("pre", ub,
|
|
11406
|
+
t("summary", cb, p(f(r)("error.details")), 1),
|
|
11407
|
+
t("pre", ub, p(C.value), 1)
|
|
11397
11408
|
])
|
|
11398
11409
|
])) : rn.value ? (c(), u("div", db, [
|
|
11399
11410
|
a[56] || (a[56] = fn('<svg class="fe-state__art" viewBox="0 0 120 100" width="110" height="92" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="38" y="44" width="44" height="34" rx="6"></rect><path d="M46 44v-8a14 14 0 0 1 28 0v8"></path><circle cx="60" cy="59" r="3" fill="currentColor" stroke="none"></circle><path d="M60 62v7"></path></svg>', 1)),
|
|
11400
|
-
t("p", fb, f(
|
|
11401
|
-
t("p", pb, f(
|
|
11411
|
+
t("p", fb, p(f(r)("e2e.locked.title")), 1),
|
|
11412
|
+
t("p", pb, p(f(r)("e2e.locked.hint")), 1),
|
|
11402
11413
|
t("form", {
|
|
11403
11414
|
class: "fe-e2e-lock__form",
|
|
11404
11415
|
onSubmit: Ee(kr, ["prevent"])
|
|
@@ -11407,7 +11418,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11407
11418
|
"onUpdate:modelValue": a[9] || (a[9] = (D) => Zt.value = D),
|
|
11408
11419
|
type: "password",
|
|
11409
11420
|
class: "fe-input fe-e2e-lock__input",
|
|
11410
|
-
placeholder:
|
|
11421
|
+
placeholder: f(r)("e2e.locked.pw_placeholder"),
|
|
11411
11422
|
autocomplete: "current-password",
|
|
11412
11423
|
disabled: ea.value
|
|
11413
11424
|
}, null, 8, vb), [
|
|
@@ -11417,9 +11428,9 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11417
11428
|
type: "submit",
|
|
11418
11429
|
class: "fe-btn fe-btn--primary",
|
|
11419
11430
|
disabled: ea.value || !Zt.value
|
|
11420
|
-
},
|
|
11431
|
+
}, p(ea.value ? f(r)("e2e.locked.busy") : f(r)("e2e.locked.unlock")), 9, mb)
|
|
11421
11432
|
], 32),
|
|
11422
|
-
ta.value ? (c(), u("p", hb,
|
|
11433
|
+
ta.value ? (c(), u("p", hb, p(ta.value), 1)) : B("", !0)
|
|
11423
11434
|
])) : !S.value && K.value.length === 0 && ce.value ? (c(), u("div", yb, [
|
|
11424
11435
|
a[57] || (a[57] = t("svg", {
|
|
11425
11436
|
class: "fe-state__art",
|
|
@@ -11441,11 +11452,11 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11441
11452
|
t("path", { d: "M68 61l20 20" }),
|
|
11442
11453
|
t("path", { d: "M46 38l12 12M58 38l-12 12" })
|
|
11443
11454
|
], -1)),
|
|
11444
|
-
t("p", bb, f(
|
|
11445
|
-
t("p", gb, f(
|
|
11455
|
+
t("p", bb, p(f(r)("empty.search.title")), 1),
|
|
11456
|
+
t("p", gb, p(f(r)("empty.search.hint")), 1)
|
|
11446
11457
|
])) : !S.value && K.value.length === 0 && le.value ? (c(), u("div", _b, [
|
|
11447
11458
|
a[58] || (a[58] = fn('<svg class="fe-state__art" viewBox="0 0 120 100" width="110" height="92" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M38 34l4 48a6 6 0 0 0 6 5.6h24a6 6 0 0 0 6-5.6l4-48"></path><path d="M32 34h56"></path><path d="M50 34v-6a6 6 0 0 1 6-6h8a6 6 0 0 1 6 6v6"></path><path d="M52 44v32M60 44v32M68 44v32" opacity="0.5"></path></svg>', 1)),
|
|
11448
|
-
t("p", kb, f(
|
|
11459
|
+
t("p", kb, p(f(r)("empty.trash.title")), 1)
|
|
11449
11460
|
])) : !S.value && K.value.length === 0 ? (c(), u("div", wb, [
|
|
11450
11461
|
(c(), u("svg", xb, [
|
|
11451
11462
|
a[60] || (a[60] = t("path", { d: "M18 36v42a6 6 0 0 0 6 6h72a6 6 0 0 0 6-6V44a6 6 0 0 0-6-6H62l-9-10H24a6 6 0 0 0-6 6z" }, null, -1)),
|
|
@@ -11457,19 +11468,19 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11457
11468
|
t("path", { d: "M53 59l7 8 7-8" }, null, -1)
|
|
11458
11469
|
])])) : B("", !0)
|
|
11459
11470
|
])),
|
|
11460
|
-
t("p", Cb, f(
|
|
11461
|
-
Mt.value ? (c(), u("p", Sb, f(
|
|
11471
|
+
t("p", Cb, p(f(r)("empty.folder")), 1),
|
|
11472
|
+
Mt.value ? (c(), u("p", Sb, p(f(r)("empty.hint")), 1)) : B("", !0),
|
|
11462
11473
|
Mt.value ? (c(), u("div", Tb, [
|
|
11463
11474
|
t("button", {
|
|
11464
11475
|
type: "button",
|
|
11465
11476
|
class: "fe-btn fe-btn--primary",
|
|
11466
11477
|
onClick: _a
|
|
11467
|
-
}, f(
|
|
11478
|
+
}, p(f(r)("empty.upload")), 1)
|
|
11468
11479
|
])) : B("", !0)
|
|
11469
11480
|
])) : R.value === "list" ? (c(), Ne(Wo, {
|
|
11470
11481
|
key: 7,
|
|
11471
11482
|
files: K.value,
|
|
11472
|
-
selected:
|
|
11483
|
+
selected: f($).selected.value,
|
|
11473
11484
|
clipped: ka.value,
|
|
11474
11485
|
"show-parent-path": !!ce.value,
|
|
11475
11486
|
locale: m.value,
|
|
@@ -11477,22 +11488,23 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11477
11488
|
"starred-ids": be.value,
|
|
11478
11489
|
"api-base": d.config.apiBase ?? "",
|
|
11479
11490
|
"auth-headers": () => Vt(),
|
|
11480
|
-
|
|
11491
|
+
"auth-credentials": f(l).credentialsMode(),
|
|
11492
|
+
onClickRow: a[10] || (a[10] = (D, me) => f($).click(D.path, me)),
|
|
11481
11493
|
onDblRow: xt,
|
|
11482
11494
|
onContextRow: Ga,
|
|
11483
11495
|
onItemDragStart: Xa,
|
|
11484
11496
|
onItemDropInto: Qa,
|
|
11485
11497
|
onStarChange: ft
|
|
11486
|
-
}, null, 8, ["files", "selected", "clipped", "show-parent-path", "locale", "loading", "starred-ids", "api-base", "auth-headers"])) : R.value === "grid" ? (c(), Ne(qo, {
|
|
11498
|
+
}, null, 8, ["files", "selected", "clipped", "show-parent-path", "locale", "loading", "starred-ids", "api-base", "auth-headers", "auth-credentials"])) : R.value === "grid" ? (c(), Ne(qo, {
|
|
11487
11499
|
key: 8,
|
|
11488
11500
|
files: K.value,
|
|
11489
|
-
selected:
|
|
11501
|
+
selected: f($).selected.value,
|
|
11490
11502
|
clipped: ka.value,
|
|
11491
11503
|
"show-parent-path": !!ce.value,
|
|
11492
11504
|
locale: m.value,
|
|
11493
11505
|
loading: S.value,
|
|
11494
|
-
"thumb-src":
|
|
11495
|
-
onClickCard: a[11] || (a[11] = (D, me) =>
|
|
11506
|
+
"thumb-src": f(P).src,
|
|
11507
|
+
onClickCard: a[11] || (a[11] = (D, me) => f($).click(D.path, me)),
|
|
11496
11508
|
onDblCard: xt,
|
|
11497
11509
|
onContextCard: Ga,
|
|
11498
11510
|
onItemDragStart: Xa,
|
|
@@ -11500,13 +11512,13 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11500
11512
|
}, null, 8, ["files", "selected", "clipped", "show-parent-path", "locale", "loading", "thumb-src"])) : (c(), Ne(Jo, {
|
|
11501
11513
|
key: 9,
|
|
11502
11514
|
files: K.value,
|
|
11503
|
-
selected:
|
|
11515
|
+
selected: f($).selected.value,
|
|
11504
11516
|
clipped: ka.value,
|
|
11505
11517
|
"show-parent-path": !!ce.value,
|
|
11506
11518
|
locale: m.value,
|
|
11507
11519
|
loading: S.value,
|
|
11508
|
-
"thumb-src":
|
|
11509
|
-
onClickCard: a[12] || (a[12] = (D, me) =>
|
|
11520
|
+
"thumb-src": f(P).src,
|
|
11521
|
+
onClickCard: a[12] || (a[12] = (D, me) => f($).click(D.path, me)),
|
|
11510
11522
|
onDblCard: xt,
|
|
11511
11523
|
onContextCard: Ga,
|
|
11512
11524
|
onItemDragStart: Xa,
|
|
@@ -11517,25 +11529,25 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11517
11529
|
ua.value && At.value ? (c(), Ne(um, {
|
|
11518
11530
|
ref_key: "splitPaneRef",
|
|
11519
11531
|
ref: We,
|
|
11520
|
-
key: "split-" +
|
|
11521
|
-
api:
|
|
11532
|
+
key: "split-" + f(nn),
|
|
11533
|
+
api: f(l),
|
|
11522
11534
|
"initial-path": At.value.path,
|
|
11523
11535
|
locale: m.value,
|
|
11524
11536
|
qualify: He,
|
|
11525
11537
|
"to-user": br,
|
|
11526
11538
|
clamp: gr,
|
|
11527
|
-
"root-label": tt.value ? "/" : z.value ||
|
|
11528
|
-
floor:
|
|
11539
|
+
"root-label": tt.value ? "/" : z.value || f(r)("breadcrumb.root"),
|
|
11540
|
+
floor: f(A),
|
|
11529
11541
|
"multi-root": tt.value,
|
|
11530
11542
|
"virtual-rows": In,
|
|
11531
11543
|
active: yt.value,
|
|
11532
11544
|
"view-mode": ao.value,
|
|
11533
|
-
"thumb-src":
|
|
11545
|
+
"thumb-src": f(P).src,
|
|
11534
11546
|
"trash-visible": n.config.trashVisible !== !1,
|
|
11535
11547
|
onNavigate: pr,
|
|
11536
11548
|
onActivate: a[15] || (a[15] = (D) => It.value = "split"),
|
|
11537
11549
|
onClose: fr,
|
|
11538
|
-
onOpenTab: a[16] || (a[16] = (D) =>
|
|
11550
|
+
onOpenTab: a[16] || (a[16] = (D) => f(Xe).openTab(D, { viewMode: R.value, background: !0 })),
|
|
11539
11551
|
onTransfer: _r,
|
|
11540
11552
|
onContext: xs,
|
|
11541
11553
|
onOpenTrash: vr
|
|
@@ -11543,14 +11555,14 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11543
11555
|
}, null, 8, ["api", "initial-path", "locale", "root-label", "floor", "multi-root", "active", "view-mode", "thumb-src", "trash-visible", "onContext", "onOpenTrash"])) : B("", !0),
|
|
11544
11556
|
ot.value ? (c(), Ne(pd, {
|
|
11545
11557
|
key: 1,
|
|
11546
|
-
api:
|
|
11547
|
-
nodes:
|
|
11558
|
+
api: f(l),
|
|
11559
|
+
nodes: f($).nodes.value,
|
|
11548
11560
|
"dir-label": V.value,
|
|
11549
11561
|
"dir-count": K.value.length,
|
|
11550
11562
|
"dir-perm": F.value,
|
|
11551
11563
|
locale: m.value,
|
|
11552
11564
|
narrow: pt.value,
|
|
11553
|
-
"thumb-src":
|
|
11565
|
+
"thumb-src": f(P).src,
|
|
11554
11566
|
onClose: G,
|
|
11555
11567
|
onManagePermissions: fe,
|
|
11556
11568
|
onToast: ke,
|
|
@@ -11566,19 +11578,19 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11566
11578
|
Ke(Wc, {
|
|
11567
11579
|
jobs: J.value,
|
|
11568
11580
|
locale: m.value,
|
|
11569
|
-
center:
|
|
11581
|
+
center: f(en),
|
|
11570
11582
|
onCancel: Ws,
|
|
11571
11583
|
onDismiss: qs,
|
|
11572
11584
|
onRetry: tr
|
|
11573
11585
|
}, null, 8, ["jobs", "locale", "center"]),
|
|
11574
11586
|
Ke(qc, {
|
|
11575
|
-
ops:
|
|
11587
|
+
ops: f(N).ops.value,
|
|
11576
11588
|
locale: m.value,
|
|
11577
|
-
center:
|
|
11578
|
-
onDismiss: a[18] || (a[18] = (D) =>
|
|
11589
|
+
center: f(en),
|
|
11590
|
+
onDismiss: a[18] || (a[18] = (D) => f(N).dismiss(D))
|
|
11579
11591
|
}, null, 8, ["ops", "locale", "center"]),
|
|
11580
11592
|
Ke(bv, {
|
|
11581
|
-
center:
|
|
11593
|
+
center: f(en),
|
|
11582
11594
|
locale: m.value,
|
|
11583
11595
|
narrow: pt.value
|
|
11584
11596
|
}, null, 8, ["center", "locale", "narrow"]),
|
|
@@ -11586,8 +11598,8 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11586
11598
|
key: 2,
|
|
11587
11599
|
type: "button",
|
|
11588
11600
|
class: "fe-fab",
|
|
11589
|
-
title:
|
|
11590
|
-
"aria-label":
|
|
11601
|
+
title: f(r)("toolbar.upload"),
|
|
11602
|
+
"aria-label": f(r)("toolbar.upload"),
|
|
11591
11603
|
onClick: _a
|
|
11592
11604
|
}, [...a[62] || (a[62] = [
|
|
11593
11605
|
t("svg", {
|
|
@@ -11639,7 +11651,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11639
11651
|
Ke(Tm, {
|
|
11640
11652
|
open: De.value,
|
|
11641
11653
|
locale: m.value,
|
|
11642
|
-
count:
|
|
11654
|
+
count: f($).size.value,
|
|
11643
11655
|
onClose: a[23] || (a[23] = (D) => De.value = !1),
|
|
11644
11656
|
onConfirm: Is
|
|
11645
11657
|
}, null, 8, ["open", "locale", "count"]),
|
|
@@ -11657,14 +11669,14 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11657
11669
|
file: q.value,
|
|
11658
11670
|
theme: n.config.theme || "auto",
|
|
11659
11671
|
"preview-url": (D) => Ta(D),
|
|
11660
|
-
"download-url": (D) => $t.value ? Ta(D) :
|
|
11672
|
+
"download-url": (D) => $t.value ? Ta(D) : f(l).downloadUrl(D),
|
|
11661
11673
|
"only-office-base": bt.value ? null : at.value,
|
|
11662
11674
|
"only-office-config-endpoint": ht.value,
|
|
11663
11675
|
"new-tab-enabled": !bt.value,
|
|
11664
|
-
"save-text-endpoint": bt.value ? null :
|
|
11676
|
+
"save-text-endpoint": bt.value ? null : f(l).endpoints.saveText || null,
|
|
11665
11677
|
"open-mode": re.value,
|
|
11666
11678
|
"auth-headers": () => Vt({ "Content-Type": "application/json" }),
|
|
11667
|
-
"auth-credentials":
|
|
11679
|
+
"auth-credentials": f(l).credentialsMode(),
|
|
11668
11680
|
"drawio-url": Dt.value,
|
|
11669
11681
|
"pdf-worker-url": d.config.pdfWorkerUrl || null,
|
|
11670
11682
|
"pdf-save-url": d.config.pdfSaveUrl || null,
|
|
@@ -11677,16 +11689,16 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11677
11689
|
"file-name": ((M = _e.value) == null ? void 0 : M.basename) || ((Y = _e.value) == null ? void 0 : Y.path) || "",
|
|
11678
11690
|
"fetch-bytes": () => {
|
|
11679
11691
|
var D;
|
|
11680
|
-
return
|
|
11692
|
+
return f(l).fetchArrayBuffer(((D = _e.value) == null ? void 0 : D.path) ?? "");
|
|
11681
11693
|
},
|
|
11682
|
-
upload: (D) =>
|
|
11694
|
+
upload: (D) => f(l).uploadMultipart(He(L.value), [D]).then(() => {
|
|
11683
11695
|
}),
|
|
11684
11696
|
onClose: a[25] || (a[25] = (D) => xe.value = !1),
|
|
11685
11697
|
onDone: Bs
|
|
11686
11698
|
}, null, 8, ["convert-url", "file-name", "fetch-bytes", "upload"])) : B("", !0),
|
|
11687
11699
|
Fe.value && nt.value ? (c(), Ne(Vy, {
|
|
11688
11700
|
key: 4,
|
|
11689
|
-
api:
|
|
11701
|
+
api: f(l),
|
|
11690
11702
|
path: nt.value.path,
|
|
11691
11703
|
"is-dir": nt.value.type === "dir",
|
|
11692
11704
|
size: typeof nt.value.size == "number" ? nt.value.size : void 0,
|
|
@@ -11709,7 +11721,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11709
11721
|
}, ["stop"]))
|
|
11710
11722
|
}, [
|
|
11711
11723
|
t("div", Mb, [
|
|
11712
|
-
t("strong", null,
|
|
11724
|
+
t("strong", null, p(m.value === "en" ? "Recently opened" : "Son açılanlar"), 1),
|
|
11713
11725
|
t("button", {
|
|
11714
11726
|
class: "fe-recents__close",
|
|
11715
11727
|
"aria-label": "Close",
|
|
@@ -11719,11 +11731,12 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11719
11731
|
Ke(Mi, {
|
|
11720
11732
|
"api-base": d.config.apiBase ?? "",
|
|
11721
11733
|
"auth-headers": () => Vt(),
|
|
11734
|
+
"auth-credentials": f(l).credentialsMode(),
|
|
11722
11735
|
limit: 20,
|
|
11723
11736
|
"refresh-key": ne.value,
|
|
11724
11737
|
onOpen: ct,
|
|
11725
11738
|
onError: a[28] || (a[28] = (D) => s("error", { message: D, context: { op: "recents" } }))
|
|
11726
|
-
}, null, 8, ["api-base", "auth-headers", "refresh-key"])
|
|
11739
|
+
}, null, 8, ["api-base", "auth-headers", "auth-credentials", "refresh-key"])
|
|
11727
11740
|
])
|
|
11728
11741
|
], 2)) : B("", !0)
|
|
11729
11742
|
]),
|
|
@@ -11742,7 +11755,7 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11742
11755
|
}, ["stop"]))
|
|
11743
11756
|
}, [
|
|
11744
11757
|
t("header", Pb, [
|
|
11745
|
-
t("h2", Ab,
|
|
11758
|
+
t("h2", Ab, p(m.value === "en" ? "Tags" : "Etiketler") + " — " + p(de.value.basename), 1),
|
|
11746
11759
|
t("button", {
|
|
11747
11760
|
class: "fe-modal__close",
|
|
11748
11761
|
"aria-label": "Close",
|
|
@@ -11754,8 +11767,9 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11754
11767
|
"node-id": de.value.id,
|
|
11755
11768
|
"api-base": d.config.apiBase ?? "",
|
|
11756
11769
|
"auth-headers": () => Vt(),
|
|
11770
|
+
"auth-credentials": f(l).credentialsMode(),
|
|
11757
11771
|
onError: a[32] || (a[32] = (D) => s("error", { message: D, context: { op: "tags" } }))
|
|
11758
|
-
}, null, 8, ["node-id", "api-base", "auth-headers"])
|
|
11772
|
+
}, null, 8, ["node-id", "api-base", "auth-headers", "auth-credentials"])
|
|
11759
11773
|
])
|
|
11760
11774
|
])
|
|
11761
11775
|
])) : B("", !0)
|
|
@@ -11800,9 +11814,9 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11800
11814
|
locale: m.value,
|
|
11801
11815
|
theme: n.config.theme || "auto",
|
|
11802
11816
|
dark: Za.value,
|
|
11803
|
-
current:
|
|
11817
|
+
current: f(xa),
|
|
11804
11818
|
onClose: a[47] || (a[47] = (D) => wa.value = !1),
|
|
11805
|
-
onSelect:
|
|
11819
|
+
onSelect: f(Xs)
|
|
11806
11820
|
}, null, 8, ["open", "locale", "theme", "dark", "current", "onSelect"]),
|
|
11807
11821
|
t("input", {
|
|
11808
11822
|
ref_key: "fileInputEl",
|
|
@@ -11820,13 +11834,13 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11820
11834
|
role: "status",
|
|
11821
11835
|
onClick: Fa
|
|
11822
11836
|
}, [
|
|
11823
|
-
t("span", Lb,
|
|
11837
|
+
t("span", Lb, p(wt.value.message), 1),
|
|
11824
11838
|
wt.value.actionLabel && wt.value.action ? (c(), u("button", {
|
|
11825
11839
|
key: 0,
|
|
11826
11840
|
type: "button",
|
|
11827
11841
|
class: "fe-toast__action",
|
|
11828
11842
|
onClick: Ee(rs, ["stop"])
|
|
11829
|
-
},
|
|
11843
|
+
}, p(wt.value.actionLabel), 1)) : B("", !0)
|
|
11830
11844
|
], 2)) : B("", !0)
|
|
11831
11845
|
]),
|
|
11832
11846
|
_: 1
|
|
@@ -11843,11 +11857,11 @@ const fm = ["placeholder", "disabled"], pm = ["placeholder", "disabled"], vm = [
|
|
|
11843
11857
|
file: Pt.value,
|
|
11844
11858
|
theme: n.config.theme || "auto",
|
|
11845
11859
|
"preview-url": (D) => Ta(D),
|
|
11846
|
-
"download-url": (D) => $t.value ? Ta(D) :
|
|
11860
|
+
"download-url": (D) => $t.value ? Ta(D) : f(l).downloadUrl(D),
|
|
11847
11861
|
"only-office-base": bt.value ? null : at.value,
|
|
11848
11862
|
"only-office-config-endpoint": ht.value,
|
|
11849
11863
|
"auth-headers": () => Vt({ "Content-Type": "application/json" }),
|
|
11850
|
-
"auth-credentials":
|
|
11864
|
+
"auth-credentials": f(l).credentialsMode(),
|
|
11851
11865
|
"drawio-url": Dt.value,
|
|
11852
11866
|
"pdf-worker-url": d.config.pdfWorkerUrl || null,
|
|
11853
11867
|
"viewer-base-url": d.config.viewerBaseUrl || null,
|
|
@@ -11934,4 +11948,4 @@ export {
|
|
|
11934
11948
|
es as y,
|
|
11935
11949
|
Ka as z
|
|
11936
11950
|
};
|
|
11937
|
-
//# sourceMappingURL=index-
|
|
11951
|
+
//# sourceMappingURL=index-DeVgQCwW.js.map
|