@floegence/floe-webapp-core 0.78.2 → 0.78.4
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/components/file-browser/DirectoryTree.js +10 -10
- package/dist/components/file-browser/FileBrowserStatusBar.js +16 -16
- package/dist/components/file-browser/FileListView.js +352 -339
- package/dist/components/layout/Sidebar.js +10 -10
- package/dist/floe.css +2 -0
- package/dist/primitives.css +12 -5
- package/dist/styles/tokens.d.ts +10 -10
- package/dist/styles/tokens.js +5 -5
- package/dist/styles.css +1 -1
- package/dist/ui.css +2 -2
- package/dist/viewport.js +1 -1
- package/package.json +1 -1
|
@@ -1,362 +1,375 @@
|
|
|
1
|
-
import { use as
|
|
2
|
-
import {
|
|
3
|
-
import { Skeleton as
|
|
4
|
-
import { cn as
|
|
5
|
-
import { useMediaQuery as
|
|
6
|
-
import { useResizeObserver as
|
|
7
|
-
import { useVirtualWindow as
|
|
8
|
-
import { useFileBrowser as
|
|
9
|
-
import { useFileBrowserDrag as
|
|
10
|
-
import { FileItemIcon as
|
|
11
|
-
import { FileItemDecorationBadge as
|
|
12
|
-
import { ChevronDown as
|
|
13
|
-
import { createLongPressContextMenuHandlers as
|
|
14
|
-
import { ResizeHandle as
|
|
15
|
-
import { fileBrowserTouchTargetAttrs as
|
|
16
|
-
import { createItemContextMenuEvent as
|
|
17
|
-
import { createFileBrowserMarqueeSelection as
|
|
18
|
-
import { isPrimaryModKeyPressed as
|
|
19
|
-
var
|
|
20
|
-
const
|
|
21
|
-
function
|
|
22
|
-
const l =
|
|
1
|
+
import { use as K, insert as f, createComponent as d, effect as p, className as N, setStyleProperty as T, addEventListener as ue, style as _e, setAttribute as ze, template as I, spread as ye, mergeProps as Re, memo as xe, delegateEvents as Pe } from "solid-js/web";
|
|
2
|
+
import { createSignal as J, createEffect as me, onCleanup as ae, createMemo as se, Show as _, For as ce, untrack as pe } from "solid-js";
|
|
3
|
+
import { Skeleton as j } from "../loading/Skeleton.js";
|
|
4
|
+
import { cn as W } from "../../utils/cn.js";
|
|
5
|
+
import { useMediaQuery as fe } from "../../hooks/useMediaQuery.js";
|
|
6
|
+
import { useResizeObserver as Fe } from "../../hooks/useResizeObserver.js";
|
|
7
|
+
import { useVirtualWindow as ke } from "../../hooks/useVirtualWindow.js";
|
|
8
|
+
import { useFileBrowser as we } from "./FileBrowserContext.js";
|
|
9
|
+
import { useFileBrowserDrag as Te } from "../../context/FileBrowserDragContext.js";
|
|
10
|
+
import { FileItemIcon as Ae } from "./FileIcons.js";
|
|
11
|
+
import { FileItemDecorationBadge as Le, fileItemDecorationNameClass as Ee } from "./FileItemDecorations.js";
|
|
12
|
+
import { ChevronDown as We } from "../icons/index.js";
|
|
13
|
+
import { createLongPressContextMenuHandlers as He } from "./longPressContextMenu.js";
|
|
14
|
+
import { ResizeHandle as ge } from "../layout/ResizeHandle.js";
|
|
15
|
+
import { fileBrowserTouchTargetAttrs as Be } from "./touchInteractionGuard.js";
|
|
16
|
+
import { createItemContextMenuEvent as Ne } from "./contextMenuEvent.js";
|
|
17
|
+
import { createFileBrowserMarqueeSelection as Oe, FILE_BROWSER_MARQUEE_OVERLAY_CLASS as qe } from "./useFileBrowserMarqueeSelection.js";
|
|
18
|
+
import { isPrimaryModKeyPressed as he } from "../../utils/keybind.js";
|
|
19
|
+
var be = /* @__PURE__ */ I("<span>"), Xe = /* @__PURE__ */ I('<mark class="bg-warning/40 text-inherit rounded-sm">'), Ye = /* @__PURE__ */ I('<div><button type=button class="group w-full flex items-center justify-start text-left px-3 py-2 cursor-pointer hover:bg-muted/50 transition-colors">Modified'), Ve = /* @__PURE__ */ I('<div class=shrink-0><button type=button class="group w-full flex items-center justify-start text-left px-3 py-2 cursor-pointer hover:bg-muted/50 transition-colors">Size'), ve = /* @__PURE__ */ I("<div>"), Ge = /* @__PURE__ */ I('<div><div aria-hidden=true class="absolute invisible pointer-events-none w-px h-[var(--floe-row-height)]"></div><div data-file-list-header class="flex items-center border-b border-border text-[11px] text-muted-foreground font-medium"><div><button type=button class="group w-full flex items-center min-w-0 px-3 py-2 cursor-pointer hover:bg-muted/50 transition-colors"><span class="flex items-center gap-2 min-w-0"><span class="flex-shrink-0 w-4 h-4"aria-hidden=true></span><span class="flex items-center min-w-0"><span class=truncate>Name</span></span></span></button></div></div><div class="relative flex-1 min-h-0 overflow-auto">'), Ue = /* @__PURE__ */ I("<div aria-hidden=true>"), Z = /* @__PURE__ */ I('<div class="shrink-0 px-3 py-1 text-left text-muted-foreground truncate">'), Qe = /* @__PURE__ */ I('<div data-file-browser-placeholder data-file-list-row class="w-full h-[var(--floe-row-height)] flex items-center text-[length:var(--floe-type-control)] leading-[var(--floe-line-control)]"><div class="flex items-center gap-2 flex-1 min-w-0 px-3 py-1">'), je = /* @__PURE__ */ I('<span>No files matching "<!>"'), Ke = /* @__PURE__ */ I('<button type=button class="px-2 py-1 rounded bg-muted hover:bg-muted/80 transition-colors">Clear Filter'), Je = /* @__PURE__ */ I('<div class="flex flex-col items-center justify-center h-32 gap-2 text-xs text-muted-foreground">'), Ze = /* @__PURE__ */ I("<span>This folder is empty"), et = /* @__PURE__ */ I('<button type=button data-file-list-row><div class="flex items-center gap-2 flex-1 min-w-0 px-3 py-1"><span class="relative flex-shrink-0 w-4 h-4">');
|
|
20
|
+
const tt = "w-full h-[var(--floe-row-height)] flex items-center text-[length:var(--floe-type-control)] leading-[var(--floe-line-control)]";
|
|
21
|
+
function nt(e) {
|
|
22
|
+
const l = se(() => {
|
|
23
23
|
if (!e.match || e.match.matchedIndices.length === 0)
|
|
24
24
|
return [{
|
|
25
25
|
text: e.name,
|
|
26
26
|
highlight: !1
|
|
27
27
|
}];
|
|
28
|
-
const
|
|
29
|
-
let
|
|
30
|
-
for (let
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
text:
|
|
34
|
-
highlight:
|
|
35
|
-
}),
|
|
28
|
+
const w = [], k = new Set(e.match.matchedIndices);
|
|
29
|
+
let M = "", D = !1;
|
|
30
|
+
for (let b = 0; b < e.name.length; b++) {
|
|
31
|
+
const S = k.has(b);
|
|
32
|
+
b === 0 ? (D = S, M = e.name[b]) : S === D ? M += e.name[b] : (w.push({
|
|
33
|
+
text: M,
|
|
34
|
+
highlight: D
|
|
35
|
+
}), M = e.name[b], D = S);
|
|
36
36
|
}
|
|
37
|
-
return
|
|
38
|
-
text:
|
|
39
|
-
highlight:
|
|
40
|
-
}),
|
|
37
|
+
return M && w.push({
|
|
38
|
+
text: M,
|
|
39
|
+
highlight: D
|
|
40
|
+
}), w;
|
|
41
41
|
});
|
|
42
42
|
return (() => {
|
|
43
|
-
var
|
|
44
|
-
return
|
|
43
|
+
var w = be();
|
|
44
|
+
return f(w, d(ce, {
|
|
45
45
|
get each() {
|
|
46
46
|
return l();
|
|
47
47
|
},
|
|
48
|
-
children: (
|
|
48
|
+
children: (k) => d(_, {
|
|
49
49
|
get when() {
|
|
50
|
-
return
|
|
50
|
+
return k.highlight;
|
|
51
51
|
},
|
|
52
52
|
get fallback() {
|
|
53
|
-
return
|
|
53
|
+
return xe(() => k.text);
|
|
54
54
|
},
|
|
55
55
|
get children() {
|
|
56
|
-
var
|
|
57
|
-
return
|
|
56
|
+
var M = Xe();
|
|
57
|
+
return f(M, () => k.text), M;
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
|
-
})),
|
|
60
|
+
})), p(() => N(w, W("truncate", e.class))), w;
|
|
61
61
|
})();
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
const l =
|
|
63
|
+
function $t(e) {
|
|
64
|
+
const l = we(), w = Te(), k = () => (e.enableDragDrop ?? !0) && !!w, M = () => e.instanceId ?? "default", [D, b] = J(null), [S, O] = J(28);
|
|
65
|
+
me(() => {
|
|
66
|
+
const t = D();
|
|
67
|
+
if (!t) return;
|
|
68
|
+
const o = () => {
|
|
69
|
+
if (!t.getClientRects().length) return;
|
|
70
|
+
const u = Number.parseFloat(getComputedStyle(t).height);
|
|
71
|
+
u > 0 && O(u);
|
|
72
|
+
};
|
|
73
|
+
if (o(), typeof ResizeObserver > "u") return;
|
|
74
|
+
const a = new ResizeObserver(o);
|
|
75
|
+
a.observe(t), ae(() => a.disconnect());
|
|
76
|
+
});
|
|
77
|
+
const y = ke({
|
|
65
78
|
count: () => l.currentFiles().length,
|
|
66
|
-
itemSize:
|
|
79
|
+
itemSize: S,
|
|
67
80
|
overscan: 12
|
|
68
|
-
}),
|
|
81
|
+
}), C = se(() => {
|
|
69
82
|
const {
|
|
70
|
-
start:
|
|
71
|
-
end:
|
|
72
|
-
} =
|
|
73
|
-
return l.currentFiles().slice(
|
|
74
|
-
}),
|
|
75
|
-
let
|
|
76
|
-
const
|
|
77
|
-
if (
|
|
78
|
-
|
|
83
|
+
start: t,
|
|
84
|
+
end: o
|
|
85
|
+
} = y.range();
|
|
86
|
+
return l.currentFiles().slice(t, o);
|
|
87
|
+
}), A = /* @__PURE__ */ new Map();
|
|
88
|
+
let R = null, z = 0;
|
|
89
|
+
const ee = (t, o) => {
|
|
90
|
+
if (o) {
|
|
91
|
+
A.set(t, o);
|
|
79
92
|
return;
|
|
80
93
|
}
|
|
81
|
-
|
|
82
|
-
},
|
|
83
|
-
if (!
|
|
84
|
-
const
|
|
85
|
-
if (
|
|
86
|
-
|
|
94
|
+
A.delete(t);
|
|
95
|
+
}, G = (t) => {
|
|
96
|
+
if (!R) return;
|
|
97
|
+
const o = t * S(), a = o + S(), u = R.scrollTop, g = u + R.clientHeight;
|
|
98
|
+
if (o < u) {
|
|
99
|
+
R.scrollTop = o, y.onScroll();
|
|
87
100
|
return;
|
|
88
101
|
}
|
|
89
|
-
|
|
102
|
+
a > g && (R.scrollTop = Math.max(0, a - R.clientHeight), y.onScroll());
|
|
90
103
|
};
|
|
91
|
-
|
|
92
|
-
const
|
|
93
|
-
if (
|
|
94
|
-
const
|
|
95
|
-
if (
|
|
96
|
-
if (!
|
|
97
|
-
|
|
104
|
+
me(() => {
|
|
105
|
+
const t = l.revealRequest(), o = l.currentFiles();
|
|
106
|
+
if (C(), !t) return;
|
|
107
|
+
const a = o.findIndex((h) => h.id === t.targetId);
|
|
108
|
+
if (a < 0) return;
|
|
109
|
+
if (!A.get(t.targetId)) {
|
|
110
|
+
G(a);
|
|
98
111
|
return;
|
|
99
112
|
}
|
|
100
|
-
typeof cancelAnimationFrame == "function" &&
|
|
101
|
-
const
|
|
102
|
-
l.revealRequest()?.requestId ===
|
|
113
|
+
typeof cancelAnimationFrame == "function" && z && (cancelAnimationFrame(z), z = 0);
|
|
114
|
+
const g = () => {
|
|
115
|
+
l.revealRequest()?.requestId === t.requestId && (A.get(t.targetId)?.scrollIntoView({
|
|
103
116
|
block: "nearest",
|
|
104
117
|
inline: "nearest"
|
|
105
|
-
}), l.selectItem(
|
|
118
|
+
}), l.selectItem(t.targetId, !1), l.consumeRevealRequest(t.requestId));
|
|
106
119
|
};
|
|
107
120
|
if (typeof requestAnimationFrame == "function") {
|
|
108
|
-
|
|
109
|
-
|
|
121
|
+
z = requestAnimationFrame(() => {
|
|
122
|
+
z = 0, g();
|
|
110
123
|
});
|
|
111
124
|
return;
|
|
112
125
|
}
|
|
113
|
-
queueMicrotask(
|
|
114
|
-
}),
|
|
115
|
-
typeof cancelAnimationFrame == "function" &&
|
|
126
|
+
queueMicrotask(g);
|
|
127
|
+
}), ae(() => {
|
|
128
|
+
typeof cancelAnimationFrame == "function" && z && cancelAnimationFrame(z);
|
|
116
129
|
});
|
|
117
|
-
const
|
|
118
|
-
const
|
|
130
|
+
const P = (t) => {
|
|
131
|
+
const o = l.sortConfig();
|
|
119
132
|
l.setSortConfig({
|
|
120
|
-
field:
|
|
121
|
-
direction:
|
|
133
|
+
field: t,
|
|
134
|
+
direction: o.field === t && o.direction === "asc" ? "desc" : "asc"
|
|
122
135
|
});
|
|
123
|
-
},
|
|
136
|
+
}, te = (t) => t === void 0 ? "-" : t < 1024 ? `${t} B` : t < 1024 * 1024 ? `${(t / 1024).toFixed(1)} KB` : `${(t / (1024 * 1024)).toFixed(1)} MB`, q = (t) => t ? t.toLocaleDateString("en-US", {
|
|
124
137
|
month: "short",
|
|
125
138
|
day: "numeric",
|
|
126
139
|
year: "numeric"
|
|
127
|
-
}) : "-",
|
|
128
|
-
getContainer: () =>
|
|
129
|
-
getOverlayHost: () =>
|
|
130
|
-
getVisibleItemIdsInOrder: () => l.currentFiles().map((
|
|
131
|
-
getElementForId: (
|
|
140
|
+
}) : "-", X = Oe({
|
|
141
|
+
getContainer: () => R,
|
|
142
|
+
getOverlayHost: () => R,
|
|
143
|
+
getVisibleItemIdsInOrder: () => l.currentFiles().map((t) => t.id),
|
|
144
|
+
getElementForId: (t) => A.get(t) ?? null,
|
|
132
145
|
getSelectedIds: () => [...l.selectedItems()],
|
|
133
|
-
replaceSelection: (
|
|
146
|
+
replaceSelection: (t, o) => l.replaceSelection(t, o),
|
|
134
147
|
clearSelection: l.clearSelection
|
|
135
|
-
}),
|
|
136
|
-
const
|
|
148
|
+
}), Y = (t) => {
|
|
149
|
+
const o = () => l.sortConfig(), a = () => o().field === t.field;
|
|
137
150
|
return (() => {
|
|
138
|
-
var u =
|
|
139
|
-
return
|
|
151
|
+
var u = be();
|
|
152
|
+
return f(u, d(We, {
|
|
140
153
|
get class() {
|
|
141
|
-
return
|
|
154
|
+
return W("w-3 h-3 transition-transform duration-150", a() && o().direction === "asc" && "rotate-180");
|
|
142
155
|
}
|
|
143
|
-
})),
|
|
156
|
+
})), p(() => N(u, W("ml-1 transition-all duration-150", a() ? "opacity-100" : "opacity-0 group-hover:opacity-40"))), u;
|
|
144
157
|
})();
|
|
145
|
-
},
|
|
158
|
+
}, U = fe("(min-width: 640px)"), ne = fe("(min-width: 768px)"), [ie, H] = J(null), Q = Fe(ie, {
|
|
146
159
|
preserveWhenHidden: !0
|
|
147
|
-
}),
|
|
148
|
-
const
|
|
149
|
-
if (!
|
|
160
|
+
}), L = (t, o, a) => Math.max(o, Math.min(a, t)), v = se(() => {
|
|
161
|
+
const t = Q()?.width ?? 0, o = U(), a = ne(), u = l.listColumnRatios(), g = 160, h = 120, x = 80, n = 128, s = 96;
|
|
162
|
+
if (!o || t <= 0)
|
|
150
163
|
return {
|
|
151
|
-
width:
|
|
152
|
-
showModified:
|
|
153
|
-
showSize:
|
|
154
|
-
minName:
|
|
155
|
-
minModified:
|
|
156
|
-
minSize:
|
|
157
|
-
modifiedWidth:
|
|
158
|
-
sizeWidth:
|
|
164
|
+
width: t,
|
|
165
|
+
showModified: o,
|
|
166
|
+
showSize: a,
|
|
167
|
+
minName: g,
|
|
168
|
+
minModified: h,
|
|
169
|
+
minSize: x,
|
|
170
|
+
modifiedWidth: n,
|
|
171
|
+
sizeWidth: s
|
|
159
172
|
};
|
|
160
|
-
if (!
|
|
161
|
-
const m = u.size,
|
|
162
|
-
let
|
|
163
|
-
return
|
|
164
|
-
width:
|
|
165
|
-
showModified:
|
|
166
|
-
showSize:
|
|
167
|
-
minName:
|
|
168
|
-
minModified:
|
|
169
|
-
minSize:
|
|
170
|
-
modifiedWidth:
|
|
173
|
+
if (!a) {
|
|
174
|
+
const m = u.size, $ = Math.max(0, 1 - m);
|
|
175
|
+
let F = ($ > 0 ? u.modifiedAt / $ : u.modifiedAt) * t;
|
|
176
|
+
return F = L(F, h, Math.max(h, t - g)), {
|
|
177
|
+
width: t,
|
|
178
|
+
showModified: o,
|
|
179
|
+
showSize: a,
|
|
180
|
+
minName: g,
|
|
181
|
+
minModified: h,
|
|
182
|
+
minSize: x,
|
|
183
|
+
modifiedWidth: F,
|
|
171
184
|
sizeWidth: 0
|
|
172
185
|
};
|
|
173
186
|
}
|
|
174
|
-
let r = Math.max(
|
|
175
|
-
const
|
|
176
|
-
if (r +
|
|
177
|
-
const m = r +
|
|
178
|
-
|
|
187
|
+
let r = Math.max(h, u.modifiedAt * t), i = Math.max(x, u.size * t);
|
|
188
|
+
const c = Math.max(0, t - g);
|
|
189
|
+
if (r + i > c) {
|
|
190
|
+
const m = r + i - c, $ = Math.max(0, r - h), F = Math.max(0, i - x), E = $ + F;
|
|
191
|
+
E > 0 && (r -= m * ($ / E), i -= m * (F / E));
|
|
179
192
|
}
|
|
180
|
-
return r = Math.max(
|
|
181
|
-
width:
|
|
182
|
-
showModified:
|
|
183
|
-
showSize:
|
|
184
|
-
minName:
|
|
185
|
-
minModified:
|
|
186
|
-
minSize:
|
|
193
|
+
return r = Math.max(h, r), i = Math.max(x, i), {
|
|
194
|
+
width: t,
|
|
195
|
+
showModified: o,
|
|
196
|
+
showSize: a,
|
|
197
|
+
minName: g,
|
|
198
|
+
minModified: h,
|
|
199
|
+
minSize: x,
|
|
187
200
|
modifiedWidth: r,
|
|
188
|
-
sizeWidth:
|
|
201
|
+
sizeWidth: i
|
|
189
202
|
};
|
|
190
|
-
}),
|
|
191
|
-
const
|
|
192
|
-
if (!
|
|
193
|
-
if (!
|
|
194
|
-
const m = l.listColumnRatios().size,
|
|
195
|
-
if (
|
|
196
|
-
const
|
|
197
|
-
if (
|
|
198
|
-
const
|
|
203
|
+
}), B = () => v().modifiedWidth, V = () => v().sizeWidth, re = (t) => {
|
|
204
|
+
const o = v();
|
|
205
|
+
if (!o.showModified || o.width <= 0) return;
|
|
206
|
+
if (!o.showSize) {
|
|
207
|
+
const m = l.listColumnRatios().size, $ = Math.max(0, 1 - m);
|
|
208
|
+
if ($ <= 0) return;
|
|
209
|
+
const F = o.width, E = o.modifiedWidth, de = Math.max(0, F - E), Se = o.minName - de, Ce = E - o.minModified, le = L(t, Se, Ce);
|
|
210
|
+
if (le === 0) return;
|
|
211
|
+
const $e = de + le, Ie = E - le, Me = $e / F * $, De = Ie / F * $;
|
|
199
212
|
l.setListColumnRatios({
|
|
200
|
-
name:
|
|
201
|
-
modifiedAt:
|
|
213
|
+
name: Me,
|
|
214
|
+
modifiedAt: De,
|
|
202
215
|
size: m
|
|
203
216
|
});
|
|
204
217
|
return;
|
|
205
218
|
}
|
|
206
|
-
const
|
|
207
|
-
if (
|
|
208
|
-
const r =
|
|
219
|
+
const a = o.width, u = o.modifiedWidth, g = o.sizeWidth, h = Math.max(0, a - u - g), x = o.minName - h, n = u - o.minModified, s = L(t, x, n);
|
|
220
|
+
if (s === 0) return;
|
|
221
|
+
const r = h + s, i = u - s;
|
|
209
222
|
l.setListColumnRatios({
|
|
210
|
-
name: r /
|
|
211
|
-
modifiedAt:
|
|
212
|
-
size:
|
|
223
|
+
name: r / a,
|
|
224
|
+
modifiedAt: i / a,
|
|
225
|
+
size: g / a
|
|
213
226
|
});
|
|
214
|
-
},
|
|
215
|
-
const
|
|
216
|
-
if (!
|
|
217
|
-
const
|
|
218
|
-
if (
|
|
219
|
-
const
|
|
227
|
+
}, oe = (t) => {
|
|
228
|
+
const o = v();
|
|
229
|
+
if (!o.showSize || o.width <= 0) return;
|
|
230
|
+
const a = o.width, u = o.modifiedWidth, g = o.sizeWidth, h = o.minModified - u, x = g - o.minSize, n = L(t, h, x);
|
|
231
|
+
if (n === 0) return;
|
|
232
|
+
const s = u + n, r = g - n, i = Math.max(0, a - s - r);
|
|
220
233
|
l.setListColumnRatios({
|
|
221
|
-
name:
|
|
222
|
-
modifiedAt:
|
|
223
|
-
size: r /
|
|
234
|
+
name: i / a,
|
|
235
|
+
modifiedAt: s / a,
|
|
236
|
+
size: r / a
|
|
224
237
|
});
|
|
225
238
|
};
|
|
226
239
|
return (() => {
|
|
227
|
-
var
|
|
228
|
-
|
|
229
|
-
var
|
|
230
|
-
return
|
|
240
|
+
var t = Ge(), o = t.firstChild, a = o.nextSibling, u = a.firstChild, g = u.firstChild, h = g.firstChild, x = h.firstChild, n = x.nextSibling;
|
|
241
|
+
n.firstChild;
|
|
242
|
+
var s = a.nextSibling;
|
|
243
|
+
return K(b, o), K(H, a), g.$$click = () => P("name"), f(n, d(Y, {
|
|
231
244
|
field: "name"
|
|
232
|
-
}), null),
|
|
245
|
+
}), null), f(u, d(_, {
|
|
233
246
|
get when() {
|
|
234
247
|
return v().showModified;
|
|
235
248
|
},
|
|
236
249
|
get children() {
|
|
237
|
-
return d(
|
|
250
|
+
return d(ge, {
|
|
238
251
|
direction: "horizontal",
|
|
239
|
-
onResize:
|
|
252
|
+
onResize: re
|
|
240
253
|
});
|
|
241
254
|
}
|
|
242
|
-
}), null),
|
|
255
|
+
}), null), f(a, d(_, {
|
|
243
256
|
get when() {
|
|
244
257
|
return v().showModified;
|
|
245
258
|
},
|
|
246
259
|
get children() {
|
|
247
|
-
var
|
|
248
|
-
return
|
|
260
|
+
var r = Ye(), i = r.firstChild;
|
|
261
|
+
return i.firstChild, i.$$click = () => P("modifiedAt"), f(i, d(Y, {
|
|
249
262
|
field: "modifiedAt"
|
|
250
|
-
}), null),
|
|
263
|
+
}), null), f(r, d(_, {
|
|
251
264
|
get when() {
|
|
252
265
|
return v().showSize;
|
|
253
266
|
},
|
|
254
267
|
get children() {
|
|
255
|
-
return d(
|
|
268
|
+
return d(ge, {
|
|
256
269
|
direction: "horizontal",
|
|
257
|
-
onResize:
|
|
270
|
+
onResize: oe
|
|
258
271
|
});
|
|
259
272
|
}
|
|
260
|
-
}), null),
|
|
261
|
-
var
|
|
262
|
-
return
|
|
273
|
+
}), null), p((c) => {
|
|
274
|
+
var m = W("relative shrink-0", v().showSize && "border-r border-border"), $ = `${B()}px`;
|
|
275
|
+
return m !== c.e && N(r, c.e = m), $ !== c.t && T(r, "width", c.t = $), c;
|
|
263
276
|
}, {
|
|
264
277
|
e: void 0,
|
|
265
278
|
t: void 0
|
|
266
|
-
}),
|
|
279
|
+
}), r;
|
|
267
280
|
}
|
|
268
|
-
}), null),
|
|
281
|
+
}), null), f(a, d(_, {
|
|
269
282
|
get when() {
|
|
270
283
|
return v().showSize;
|
|
271
284
|
},
|
|
272
285
|
get children() {
|
|
273
|
-
var
|
|
274
|
-
return
|
|
286
|
+
var r = Ve(), i = r.firstChild;
|
|
287
|
+
return i.firstChild, i.$$click = () => P("size"), f(i, d(Y, {
|
|
275
288
|
field: "size"
|
|
276
|
-
}), null),
|
|
289
|
+
}), null), p((c) => T(r, "width", `${V()}px`)), r;
|
|
277
290
|
}
|
|
278
|
-
}), null),
|
|
279
|
-
|
|
280
|
-
},
|
|
291
|
+
}), null), ue(s, "pointerdown", X.onPointerDown, !0), ue(s, "scroll", y.onScroll), K((r) => {
|
|
292
|
+
R = r, y.scrollRef(r), l.setScrollContainer(r);
|
|
293
|
+
}, s), f(s, d(_, {
|
|
281
294
|
get when() {
|
|
282
295
|
return !e.initializing;
|
|
283
296
|
},
|
|
284
297
|
get fallback() {
|
|
285
298
|
return (() => {
|
|
286
|
-
var
|
|
287
|
-
return
|
|
299
|
+
var r = Ue();
|
|
300
|
+
return f(r, d(ce, {
|
|
288
301
|
get each() {
|
|
289
302
|
return Array.from({
|
|
290
303
|
length: 8
|
|
291
304
|
});
|
|
292
305
|
},
|
|
293
306
|
children: () => (() => {
|
|
294
|
-
var
|
|
295
|
-
return c
|
|
307
|
+
var i = Qe(), c = i.firstChild;
|
|
308
|
+
return f(c, d(j, {
|
|
296
309
|
class: "h-4 w-4 shrink-0"
|
|
297
|
-
}), null), c
|
|
298
|
-
class: "h-
|
|
299
|
-
}), null),
|
|
310
|
+
}), null), f(c, d(j, {
|
|
311
|
+
class: "h-[var(--floe-line-control)] w-32 max-w-full"
|
|
312
|
+
}), null), f(i, d(_, {
|
|
300
313
|
get when() {
|
|
301
314
|
return v().showModified;
|
|
302
315
|
},
|
|
303
316
|
get children() {
|
|
304
|
-
var
|
|
305
|
-
return
|
|
306
|
-
class: "h-
|
|
307
|
-
})),
|
|
317
|
+
var m = Z();
|
|
318
|
+
return f(m, d(j, {
|
|
319
|
+
class: "h-[var(--floe-line-control)] w-20 max-w-full"
|
|
320
|
+
})), p(($) => T(m, "width", `${B()}px`)), m;
|
|
308
321
|
}
|
|
309
|
-
}), null),
|
|
322
|
+
}), null), f(i, d(_, {
|
|
310
323
|
get when() {
|
|
311
324
|
return v().showSize;
|
|
312
325
|
},
|
|
313
326
|
get children() {
|
|
314
|
-
var
|
|
315
|
-
return
|
|
316
|
-
class: "h-
|
|
317
|
-
})),
|
|
327
|
+
var m = Z();
|
|
328
|
+
return f(m, d(j, {
|
|
329
|
+
class: "h-[var(--floe-line-control)] w-10 max-w-full"
|
|
330
|
+
})), p(($) => T(m, "width", `${V()}px`)), m;
|
|
318
331
|
}
|
|
319
|
-
}), null),
|
|
332
|
+
}), null), i;
|
|
320
333
|
})()
|
|
321
|
-
})),
|
|
334
|
+
})), r;
|
|
322
335
|
})();
|
|
323
336
|
},
|
|
324
337
|
get children() {
|
|
325
|
-
return d(
|
|
338
|
+
return d(_, {
|
|
326
339
|
get when() {
|
|
327
340
|
return l.currentFiles().length > 0;
|
|
328
341
|
},
|
|
329
342
|
get fallback() {
|
|
330
343
|
return (() => {
|
|
331
|
-
var
|
|
332
|
-
return
|
|
344
|
+
var r = Je();
|
|
345
|
+
return f(r, d(_, {
|
|
333
346
|
get when() {
|
|
334
347
|
return l.filterQueryApplied().trim();
|
|
335
348
|
},
|
|
336
349
|
get fallback() {
|
|
337
|
-
return
|
|
350
|
+
return Ze();
|
|
338
351
|
},
|
|
339
352
|
get children() {
|
|
340
353
|
return [(() => {
|
|
341
|
-
var
|
|
342
|
-
return
|
|
354
|
+
var i = je(), c = i.firstChild, m = c.nextSibling;
|
|
355
|
+
return m.nextSibling, f(i, () => l.filterQueryApplied(), m), i;
|
|
343
356
|
})(), (() => {
|
|
344
|
-
var
|
|
345
|
-
return
|
|
357
|
+
var i = Ke();
|
|
358
|
+
return i.$$click = () => l.setFilterQuery(""), i;
|
|
346
359
|
})()];
|
|
347
360
|
}
|
|
348
|
-
})),
|
|
361
|
+
})), r;
|
|
349
362
|
})();
|
|
350
363
|
},
|
|
351
364
|
get children() {
|
|
352
|
-
var
|
|
353
|
-
return
|
|
365
|
+
var r = ve();
|
|
366
|
+
return f(r, d(ce, {
|
|
354
367
|
get each() {
|
|
355
|
-
return
|
|
368
|
+
return C();
|
|
356
369
|
},
|
|
357
|
-
children: (
|
|
358
|
-
item:
|
|
359
|
-
formatSize:
|
|
370
|
+
children: (i) => d(it, {
|
|
371
|
+
item: i,
|
|
372
|
+
formatSize: te,
|
|
360
373
|
formatDate: q,
|
|
361
374
|
get showModified() {
|
|
362
375
|
return v().showModified;
|
|
@@ -365,80 +378,80 @@ function St(e) {
|
|
|
365
378
|
return v().showSize;
|
|
366
379
|
},
|
|
367
380
|
get modifiedWidthPx() {
|
|
368
|
-
return
|
|
381
|
+
return B();
|
|
369
382
|
},
|
|
370
383
|
get sizeWidthPx() {
|
|
371
|
-
return
|
|
384
|
+
return V();
|
|
372
385
|
},
|
|
373
386
|
get instanceId() {
|
|
374
|
-
return
|
|
387
|
+
return M();
|
|
375
388
|
},
|
|
376
389
|
get enableDragDrop() {
|
|
377
|
-
return
|
|
390
|
+
return k();
|
|
378
391
|
},
|
|
379
|
-
dragContext:
|
|
380
|
-
registerRow:
|
|
392
|
+
dragContext: w,
|
|
393
|
+
registerRow: ee
|
|
381
394
|
})
|
|
382
|
-
})),
|
|
383
|
-
var
|
|
384
|
-
return
|
|
395
|
+
})), p((i) => {
|
|
396
|
+
var c = `${y.paddingTop()}px`, m = `${y.paddingBottom()}px`;
|
|
397
|
+
return c !== i.e && T(r, "padding-top", i.e = c), m !== i.t && T(r, "padding-bottom", i.t = m), i;
|
|
385
398
|
}, {
|
|
386
399
|
e: void 0,
|
|
387
400
|
t: void 0
|
|
388
|
-
}),
|
|
401
|
+
}), r;
|
|
389
402
|
}
|
|
390
403
|
});
|
|
391
404
|
}
|
|
392
|
-
}), null),
|
|
405
|
+
}), null), f(s, d(_, {
|
|
393
406
|
get when() {
|
|
394
|
-
return
|
|
407
|
+
return X.overlayStyle();
|
|
395
408
|
},
|
|
396
|
-
children: (
|
|
397
|
-
var
|
|
398
|
-
return
|
|
409
|
+
children: (r) => (() => {
|
|
410
|
+
var i = ve();
|
|
411
|
+
return N(i, qe), p((c) => _e(i, r(), c)), i;
|
|
399
412
|
})()
|
|
400
|
-
}), null),
|
|
401
|
-
var
|
|
402
|
-
return
|
|
413
|
+
}), null), p((r) => {
|
|
414
|
+
var i = W("relative flex flex-col h-full min-h-0", e.class), c = e.initializing || void 0, m = W("relative flex-1 min-w-0", v().showModified && "border-r border-border");
|
|
415
|
+
return i !== r.e && N(t, r.e = i), c !== r.t && ze(t, "aria-busy", r.t = c), m !== r.a && N(u, r.a = m), r;
|
|
403
416
|
}, {
|
|
404
417
|
e: void 0,
|
|
405
418
|
t: void 0,
|
|
406
419
|
a: void 0
|
|
407
|
-
}),
|
|
420
|
+
}), t;
|
|
408
421
|
})();
|
|
409
422
|
}
|
|
410
|
-
function
|
|
411
|
-
const l =
|
|
423
|
+
function it(e) {
|
|
424
|
+
const l = we(), w = () => l.isSelected(e.item.id), k = () => l.getFilterMatchForId(e.item.id), M = pe(() => e.item), D = He(l, M, {
|
|
412
425
|
source: "list"
|
|
413
426
|
});
|
|
414
|
-
let
|
|
415
|
-
const
|
|
416
|
-
let
|
|
417
|
-
const [
|
|
418
|
-
if (!
|
|
419
|
-
const
|
|
420
|
-
return
|
|
421
|
-
}, Z = () => {
|
|
422
|
-
if (!e.dragContext) return !1;
|
|
423
|
-
const t = e.dragContext.dragState();
|
|
424
|
-
return t.isDragging ? t.draggedItems.some((a) => a.item.id === e.item.id) : !1;
|
|
427
|
+
let b, S = null, O = 0, y = 0, C = !1;
|
|
428
|
+
const A = 5, R = 500;
|
|
429
|
+
let z = null;
|
|
430
|
+
const [ee, G] = J(!1), P = () => b === "touch" || b === "pen", te = () => e.item.type === "folder", q = () => te() && e.enableDragDrop && e.dragContext, X = () => {
|
|
431
|
+
if (!q() || !e.dragContext) return !1;
|
|
432
|
+
const n = e.dragContext.dragState();
|
|
433
|
+
return n.isDragging ? e.dragContext.canDropOn(n.draggedItems, e.item.path, e.item, e.instanceId) : !1;
|
|
425
434
|
}, Y = () => {
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
},
|
|
430
|
-
|
|
431
|
-
},
|
|
432
|
-
|
|
435
|
+
if (!e.dragContext) return !1;
|
|
436
|
+
const n = e.dragContext.dragState();
|
|
437
|
+
return n.isDragging ? n.draggedItems.some((s) => s.item.id === e.item.id) : !1;
|
|
438
|
+
}, U = () => {
|
|
439
|
+
z !== null && (clearTimeout(z), z = null);
|
|
440
|
+
}, ne = () => {
|
|
441
|
+
typeof document > "u" || (document.removeEventListener("pointermove", L, !0), document.removeEventListener("pointerup", v, !0), document.removeEventListener("pointercancel", B, !0));
|
|
442
|
+
}, ie = () => {
|
|
443
|
+
typeof document > "u" || (document.addEventListener("pointermove", L, !0), document.addEventListener("pointerup", v, !0), document.addEventListener("pointercancel", B, !0));
|
|
444
|
+
}, H = (n) => {
|
|
445
|
+
U(), ne(), C && e.dragContext && e.dragContext.endDrag(n), S = null, C = !1;
|
|
433
446
|
};
|
|
434
|
-
|
|
435
|
-
e.registerRow(e.item.id, null),
|
|
447
|
+
ae(() => {
|
|
448
|
+
e.registerRow(e.item.id, null), H(!1);
|
|
436
449
|
});
|
|
437
|
-
const
|
|
438
|
-
if (!e.enableDragDrop || !e.dragContext ||
|
|
439
|
-
|
|
440
|
-
const
|
|
441
|
-
item:
|
|
450
|
+
const Q = (n, s) => {
|
|
451
|
+
if (!e.enableDragDrop || !e.dragContext || C) return;
|
|
452
|
+
C = !0, w() || l.selectItem(e.item.id, !1);
|
|
453
|
+
const r = l.getSelectedItemsList(), c = (r.length > 0 && w() ? r : [e.item]).map((m) => ({
|
|
454
|
+
item: m,
|
|
442
455
|
sourceInstanceId: e.instanceId,
|
|
443
456
|
sourcePath: l.currentPath()
|
|
444
457
|
}));
|
|
@@ -447,149 +460,149 @@ function et(e) {
|
|
|
447
460
|
navigator.vibrate(50);
|
|
448
461
|
} catch {
|
|
449
462
|
}
|
|
450
|
-
e.dragContext.startDrag(
|
|
451
|
-
},
|
|
452
|
-
if (
|
|
453
|
-
const
|
|
454
|
-
if (P() && !
|
|
455
|
-
|
|
463
|
+
e.dragContext.startDrag(c, n, s);
|
|
464
|
+
}, L = (n) => {
|
|
465
|
+
if (S !== n.pointerId) return;
|
|
466
|
+
const s = n.clientX - O, r = n.clientY - y, i = Math.sqrt(s * s + r * r);
|
|
467
|
+
if (P() && !C && i > 10) {
|
|
468
|
+
H(!1);
|
|
456
469
|
return;
|
|
457
470
|
}
|
|
458
|
-
!P() && !
|
|
459
|
-
},
|
|
460
|
-
|
|
461
|
-
},
|
|
462
|
-
|
|
463
|
-
},
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
},
|
|
467
|
-
},
|
|
468
|
-
|
|
469
|
-
},
|
|
470
|
-
if (!
|
|
471
|
-
const
|
|
472
|
-
if (!
|
|
473
|
-
|
|
474
|
-
const
|
|
471
|
+
!P() && !C && i > A && Q(n.clientX, n.clientY), C && e.dragContext && e.dragContext.updateDrag(n.clientX, n.clientY);
|
|
472
|
+
}, v = (n) => {
|
|
473
|
+
S === n.pointerId && (D.onPointerUp(), H(!0));
|
|
474
|
+
}, B = (n) => {
|
|
475
|
+
S === n.pointerId && (D.onPointerCancel(), H(!1));
|
|
476
|
+
}, V = (n) => {
|
|
477
|
+
b = n.pointerType, D.onPointerDown(n), !(n.pointerType === "mouse" && n.button !== 0) && (!e.enableDragDrop || !e.dragContext || (S = n.pointerId, O = n.clientX, y = n.clientY, C = !1, ie(), P() && (U(), z = setTimeout(() => {
|
|
478
|
+
S !== null && !C && Q(O, y);
|
|
479
|
+
}, R))));
|
|
480
|
+
}, re = (n) => {
|
|
481
|
+
b = n.pointerType, D.onPointerMove(n);
|
|
482
|
+
}, oe = (n) => {
|
|
483
|
+
if (!q() || !e.dragContext) return;
|
|
484
|
+
const s = e.dragContext.dragState();
|
|
485
|
+
if (!s.isDragging) return;
|
|
486
|
+
G(!0);
|
|
487
|
+
const r = e.dragContext.canDropOn(s.draggedItems, e.item.path, e.item, e.instanceId), c = n.currentTarget?.getBoundingClientRect() ?? null;
|
|
475
488
|
e.dragContext.setDropTarget({
|
|
476
489
|
instanceId: e.instanceId,
|
|
477
490
|
targetPath: e.item.path,
|
|
478
491
|
targetItem: e.item
|
|
479
|
-
},
|
|
480
|
-
},
|
|
492
|
+
}, r, c);
|
|
493
|
+
}, t = (n) => {
|
|
481
494
|
if (!e.dragContext) return;
|
|
482
|
-
|
|
483
|
-
const
|
|
484
|
-
|
|
485
|
-
},
|
|
486
|
-
if (
|
|
487
|
-
|
|
495
|
+
G(!1);
|
|
496
|
+
const s = e.dragContext.dragState();
|
|
497
|
+
s.isDragging && s.dropTarget?.targetPath === e.item.path && e.dragContext.setDropTarget(null, !1);
|
|
498
|
+
}, o = (n) => {
|
|
499
|
+
if (C) {
|
|
500
|
+
C = !1;
|
|
488
501
|
return;
|
|
489
502
|
}
|
|
490
|
-
if (!
|
|
503
|
+
if (!D.consumeClickSuppression(n)) {
|
|
491
504
|
if (P()) {
|
|
492
505
|
l.openItem(e.item);
|
|
493
506
|
return;
|
|
494
507
|
}
|
|
495
|
-
if (
|
|
496
|
-
l.selectRangeTo(e.item.id,
|
|
508
|
+
if (n.shiftKey) {
|
|
509
|
+
l.selectRangeTo(e.item.id, he(n));
|
|
497
510
|
return;
|
|
498
511
|
}
|
|
499
|
-
l.selectItem(e.item.id,
|
|
512
|
+
l.selectItem(e.item.id, he(n));
|
|
500
513
|
}
|
|
501
|
-
},
|
|
514
|
+
}, a = () => {
|
|
502
515
|
P() || l.openItem(e.item);
|
|
503
|
-
},
|
|
504
|
-
if (
|
|
516
|
+
}, u = (n) => {
|
|
517
|
+
if (n.preventDefault(), n.stopPropagation(), P()) return;
|
|
505
518
|
l.ensureContextMenuSelection(e.item.id);
|
|
506
|
-
const
|
|
507
|
-
l.showContextMenu(
|
|
508
|
-
x:
|
|
509
|
-
y:
|
|
519
|
+
const s = l.getSelectedItemsList(), r = s.length > 0 ? s : [e.item];
|
|
520
|
+
l.showContextMenu(Ne({
|
|
521
|
+
x: n.clientX,
|
|
522
|
+
y: n.clientY,
|
|
510
523
|
triggerItem: e.item,
|
|
511
|
-
items:
|
|
524
|
+
items: r,
|
|
512
525
|
source: "list"
|
|
513
526
|
}));
|
|
514
|
-
},
|
|
527
|
+
}, g = () => e.dragContext?.dragState(), h = () => g()?.isDragging ?? !1, x = () => ee() && h() && q();
|
|
515
528
|
return (() => {
|
|
516
|
-
var
|
|
517
|
-
return
|
|
518
|
-
e.registerRow(e.item.id,
|
|
519
|
-
},
|
|
529
|
+
var n = et(), s = n.firstChild, r = s.firstChild;
|
|
530
|
+
return K((i) => {
|
|
531
|
+
e.registerRow(e.item.id, i);
|
|
532
|
+
}, n), ye(n, Re({
|
|
520
533
|
get "data-file-browser-item-id"() {
|
|
521
534
|
return e.item.id;
|
|
522
535
|
},
|
|
523
536
|
get "data-file-browser-item-path"() {
|
|
524
537
|
return e.item.path;
|
|
525
538
|
}
|
|
526
|
-
},
|
|
527
|
-
onClick:
|
|
528
|
-
onDblClick:
|
|
529
|
-
onContextMenu:
|
|
530
|
-
onPointerDown:
|
|
531
|
-
onPointerMove:
|
|
532
|
-
onPointerEnter:
|
|
533
|
-
onPointerLeave:
|
|
539
|
+
}, Be, {
|
|
540
|
+
onClick: o,
|
|
541
|
+
onDblClick: a,
|
|
542
|
+
onContextMenu: u,
|
|
543
|
+
onPointerDown: V,
|
|
544
|
+
onPointerMove: re,
|
|
545
|
+
onPointerEnter: oe,
|
|
546
|
+
onPointerLeave: t,
|
|
534
547
|
get class() {
|
|
535
|
-
return
|
|
536
|
-
|
|
548
|
+
return W(
|
|
549
|
+
tt,
|
|
537
550
|
"group cursor-pointer",
|
|
538
551
|
"transition-all duration-150 ease-out",
|
|
539
552
|
"hover:bg-accent/50",
|
|
540
553
|
"focus:outline-none focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-ring",
|
|
541
|
-
|
|
554
|
+
w() && "bg-accent text-accent-foreground",
|
|
542
555
|
// Drag state styling - being dragged items become translucent
|
|
543
|
-
|
|
556
|
+
Y() && "opacity-40 scale-[0.98]",
|
|
544
557
|
// Drop target styling - enhanced visual feedback
|
|
545
|
-
|
|
546
|
-
|
|
558
|
+
x() && X() && ["bg-primary/15 outline outline-2 outline-primary/60", "scale-[1.01] shadow-sm shadow-primary/10"],
|
|
559
|
+
x() && !X() && ["bg-destructive/10 outline outline-2 outline-dashed outline-destructive/50"]
|
|
547
560
|
);
|
|
548
561
|
}
|
|
549
|
-
}), !1, !0),
|
|
562
|
+
}), !1, !0), f(r, d(Ae, {
|
|
550
563
|
get item() {
|
|
551
564
|
return e.item;
|
|
552
565
|
},
|
|
553
566
|
size: 16,
|
|
554
567
|
class: "w-4 h-4"
|
|
555
|
-
}), null),
|
|
568
|
+
}), null), f(r, d(Le, {
|
|
556
569
|
get item() {
|
|
557
570
|
return e.item;
|
|
558
571
|
},
|
|
559
572
|
size: "xs"
|
|
560
|
-
}), null),
|
|
573
|
+
}), null), f(s, d(nt, {
|
|
561
574
|
get name() {
|
|
562
575
|
return e.item.name;
|
|
563
576
|
},
|
|
564
577
|
get match() {
|
|
565
|
-
return
|
|
578
|
+
return k();
|
|
566
579
|
},
|
|
567
580
|
get class() {
|
|
568
|
-
return
|
|
581
|
+
return Ee(e.item);
|
|
569
582
|
}
|
|
570
|
-
}), null),
|
|
583
|
+
}), null), f(n, d(_, {
|
|
571
584
|
get when() {
|
|
572
585
|
return e.showModified;
|
|
573
586
|
},
|
|
574
587
|
get children() {
|
|
575
|
-
var
|
|
576
|
-
return
|
|
588
|
+
var i = Z();
|
|
589
|
+
return f(i, () => e.formatDate(e.item.modifiedAt)), p((c) => T(i, "width", `${e.modifiedWidthPx}px`)), i;
|
|
577
590
|
}
|
|
578
|
-
}), null),
|
|
591
|
+
}), null), f(n, d(_, {
|
|
579
592
|
get when() {
|
|
580
593
|
return e.showSize;
|
|
581
594
|
},
|
|
582
595
|
get children() {
|
|
583
|
-
var
|
|
584
|
-
return
|
|
585
|
-
var
|
|
586
|
-
return () =>
|
|
587
|
-
})()),
|
|
596
|
+
var i = Z();
|
|
597
|
+
return f(i, (() => {
|
|
598
|
+
var c = xe(() => e.item.type === "folder");
|
|
599
|
+
return () => c() ? "-" : e.formatSize(e.item.size);
|
|
600
|
+
})()), p((c) => T(i, "width", `${e.sizeWidthPx}px`)), i;
|
|
588
601
|
}
|
|
589
|
-
}), null),
|
|
602
|
+
}), null), n;
|
|
590
603
|
})();
|
|
591
604
|
}
|
|
592
|
-
|
|
605
|
+
Pe(["click", "pointerdown"]);
|
|
593
606
|
export {
|
|
594
|
-
|
|
607
|
+
$t as FileListView
|
|
595
608
|
};
|