@floegence/floe-webapp-core 0.81.1 → 0.81.3
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/assets/markdown.worker-DurayC72.js +59 -0
- package/dist/components/chat/blocks/SvgBlock.js +16 -10
- package/dist/components/chat/diff/diffModel.js +1 -1
- package/dist/components/chat/hooks/useMarkdown.js +5 -5
- package/dist/components/chat/markdown/markdown.js +1 -1
- package/dist/components/editor/CodeEditor.d.ts +1 -2
- package/dist/components/editor/CodeEditor.js +7 -8
- package/dist/components/editor/languages.js +37 -37
- package/dist/components/editor/monacoEnvironment.js +5 -5
- package/dist/components/editor/monacoStandaloneRuntime.d.ts +1 -1
- package/dist/components/editor/monacoStandaloneRuntime.js +7 -7
- package/dist/components/file-browser/DragPreview.js +1 -1
- package/dist/components/icons/DockIcons.js +118 -114
- package/dist/components/layout/BottomBarCompanion.js +29 -29
- package/dist/components/layout/Shell.js +1 -1
- package/dist/components/notes/NotesOverlay.js +1 -1
- package/dist/components/ui/picker/PickerNavigation.js +10 -9
- package/dist/components/workbench/WorkbenchFilterBar.js +226 -223
- package/dist/components/workbench/WorkbenchLockButton.js +1 -1
- package/dist/components/workbench/WorkbenchOverlay.js +1 -1
- package/dist/components/workbench/WorkbenchSurface.js +101 -101
- package/dist/node_modules/.pnpm/dompurify@3.4.16/node_modules/dompurify/dist/purify.es.js +1480 -0
- package/dist/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.js +1141 -0
- package/dist/node_modules/.pnpm/{solid-motionone@1.0.4_solid-js@1.9.11 → solid-motionone@1.0.4_solid-js@1.9.15}/node_modules/solid-motionone/dist/index.js +3 -3
- package/dist/node_modules/.pnpm/{tailwind-merge@3.4.0 → tailwind-merge@3.7.0}/node_modules/tailwind-merge/dist/bundle-mjs.js +653 -420
- package/dist/pdf/PdfDocumentSurface.js +1 -0
- package/dist/pdf/localization.js +2 -0
- package/dist/styles.css +1 -1
- package/dist/terminal/mockRuntime.js +118 -110
- package/dist/utils/cn.js +1 -1
- package/package.json +13 -12
- package/dist/assets/markdown.worker-xpdzahxf.js +0 -59
- package/dist/node_modules/.pnpm/marked@17.0.1/node_modules/marked/lib/marked.esm.js +0 -1114
- /package/dist/node_modules/.pnpm/{@solid-primitives_props@3.2.2_solid-js@1.9.11 → @solid-primitives_props@3.2.4_solid-js@1.9.15}/node_modules/@solid-primitives/props/dist/combineProps.js +0 -0
- /package/dist/node_modules/.pnpm/{@solid-primitives_refs@1.1.2_solid-js@1.9.11 → @solid-primitives_refs@1.1.4_solid-js@1.9.15}/node_modules/@solid-primitives/refs/dist/index.js +0 -0
- /package/dist/node_modules/.pnpm/{@solid-primitives_transition-group@1.1.2_solid-js@1.9.11 → @solid-primitives_transition-group@1.1.2_solid-js@1.9.15}/node_modules/@solid-primitives/transition-group/dist/index.js +0 -0
- /package/dist/node_modules/.pnpm/{diff@8.0.3 → diff@8.0.4}/node_modules/diff/libesm/diff/base.js +0 -0
- /package/dist/node_modules/.pnpm/{diff@8.0.3 → diff@8.0.4}/node_modules/diff/libesm/diff/line.js +0 -0
|
@@ -28,6 +28,7 @@ class S extends Error {
|
|
|
28
28
|
constructor(n) {
|
|
29
29
|
super(n), this.kind = n;
|
|
30
30
|
}
|
|
31
|
+
kind;
|
|
31
32
|
}
|
|
32
33
|
function g(t, n = "") {
|
|
33
34
|
let e = String(t ?? "").trim();
|
|
@@ -59,9 +60,9 @@ function j(t, n) {
|
|
|
59
60
|
throw new S("missingPath");
|
|
60
61
|
}
|
|
61
62
|
function V(t, n) {
|
|
62
|
-
const [e, u] = l(null), [o,
|
|
63
|
+
const [e, u] = l(null), [o, E] = l(""), [B, H] = l([]), [v, C] = l(""), [N, c] = l(!1), [$, f] = l(null), [I, q] = l(!1), [h, R] = l(!1);
|
|
63
64
|
let p = 0, b = 0, A, w = /* @__PURE__ */ new Map();
|
|
64
|
-
const G = () => h() &&
|
|
65
|
+
const G = () => h() && !N() && !$() && !!o() && g(v(), e()?.homePathAbs) === o(), L = () => {
|
|
65
66
|
p += 1, b += 1, w = /* @__PURE__ */ new Map();
|
|
66
67
|
}, W = () => {
|
|
67
68
|
L(), d(() => {
|
|
@@ -81,16 +82,16 @@ function V(t, n) {
|
|
|
81
82
|
const s = t(), m = { showHidden: I() }, F = `${r}\0${m.showHidden}`;
|
|
82
83
|
let P = w.get(F);
|
|
83
84
|
P || (P = Promise.resolve().then(() => s.loadDirectory ? s.loadDirectory(r, m) : j(s.files ?? [], r)), w.set(F, P));
|
|
84
|
-
let
|
|
85
|
+
let k;
|
|
85
86
|
try {
|
|
86
|
-
|
|
87
|
+
k = await P;
|
|
87
88
|
} finally {
|
|
88
89
|
w.get(F) === P && w.delete(F);
|
|
89
90
|
}
|
|
90
91
|
if (!y()) return !1;
|
|
91
|
-
const O = s.loadDirectory || m.showHidden ?
|
|
92
|
+
const O = s.loadDirectory || m.showHidden ? k : k.filter((T) => !T.name.startsWith("."));
|
|
92
93
|
return d(() => {
|
|
93
|
-
|
|
94
|
+
E(r), H(O), C(r), c(!1), f(null);
|
|
94
95
|
}), n?.(r), !0;
|
|
95
96
|
} catch (s) {
|
|
96
97
|
return y() && d(() => {
|
|
@@ -103,7 +104,7 @@ function V(t, n) {
|
|
|
103
104
|
A = i;
|
|
104
105
|
const a = t();
|
|
105
106
|
d(() => {
|
|
106
|
-
R(!0), u(null),
|
|
107
|
+
R(!0), u(null), E(""), H([]), C(i ?? ""), c(!0), f(null), q(a.initialShowHidden ?? !a.loadDirectory);
|
|
107
108
|
});
|
|
108
109
|
try {
|
|
109
110
|
const r = a.loadPathContext ? await a.loadPathContext() : a.pathContext;
|
|
@@ -129,8 +130,8 @@ function V(t, n) {
|
|
|
129
130
|
currentPath: o,
|
|
130
131
|
entries: B,
|
|
131
132
|
pathInput: v,
|
|
132
|
-
pending:
|
|
133
|
-
error:
|
|
133
|
+
pending: N,
|
|
134
|
+
error: $,
|
|
134
135
|
showHidden: I,
|
|
135
136
|
active: h,
|
|
136
137
|
valid: G,
|