@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.
Files changed (38) hide show
  1. package/dist/assets/markdown.worker-DurayC72.js +59 -0
  2. package/dist/components/chat/blocks/SvgBlock.js +16 -10
  3. package/dist/components/chat/diff/diffModel.js +1 -1
  4. package/dist/components/chat/hooks/useMarkdown.js +5 -5
  5. package/dist/components/chat/markdown/markdown.js +1 -1
  6. package/dist/components/editor/CodeEditor.d.ts +1 -2
  7. package/dist/components/editor/CodeEditor.js +7 -8
  8. package/dist/components/editor/languages.js +37 -37
  9. package/dist/components/editor/monacoEnvironment.js +5 -5
  10. package/dist/components/editor/monacoStandaloneRuntime.d.ts +1 -1
  11. package/dist/components/editor/monacoStandaloneRuntime.js +7 -7
  12. package/dist/components/file-browser/DragPreview.js +1 -1
  13. package/dist/components/icons/DockIcons.js +118 -114
  14. package/dist/components/layout/BottomBarCompanion.js +29 -29
  15. package/dist/components/layout/Shell.js +1 -1
  16. package/dist/components/notes/NotesOverlay.js +1 -1
  17. package/dist/components/ui/picker/PickerNavigation.js +10 -9
  18. package/dist/components/workbench/WorkbenchFilterBar.js +226 -223
  19. package/dist/components/workbench/WorkbenchLockButton.js +1 -1
  20. package/dist/components/workbench/WorkbenchOverlay.js +1 -1
  21. package/dist/components/workbench/WorkbenchSurface.js +101 -101
  22. package/dist/node_modules/.pnpm/dompurify@3.4.16/node_modules/dompurify/dist/purify.es.js +1480 -0
  23. package/dist/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.js +1141 -0
  24. 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
  25. 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
  26. package/dist/pdf/PdfDocumentSurface.js +1 -0
  27. package/dist/pdf/localization.js +2 -0
  28. package/dist/styles.css +1 -1
  29. package/dist/terminal/mockRuntime.js +118 -110
  30. package/dist/utils/cn.js +1 -1
  31. package/package.json +13 -12
  32. package/dist/assets/markdown.worker-xpdzahxf.js +0 -59
  33. package/dist/node_modules/.pnpm/marked@17.0.1/node_modules/marked/lib/marked.esm.js +0 -1114
  34. /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
  35. /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
  36. /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
  37. /package/dist/node_modules/.pnpm/{diff@8.0.3 → diff@8.0.4}/node_modules/diff/libesm/diff/base.js +0 -0
  38. /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, H] = l(""), [B, N] = l([]), [v, C] = l(""), [$, c] = l(!1), [k, f] = l(null), [I, q] = l(!1), [h, R] = l(!1);
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() && !$() && !k() && !!o() && g(v(), e()?.homePathAbs) === o(), L = () => {
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 E;
85
+ let k;
85
86
  try {
86
- E = await P;
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 ? E : E.filter((T) => !T.name.startsWith("."));
92
+ const O = s.loadDirectory || m.showHidden ? k : k.filter((T) => !T.name.startsWith("."));
92
93
  return d(() => {
93
- H(r), N(O), C(r), c(!1), f(null);
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), H(""), N([]), C(i ?? ""), c(!0), f(null), q(a.initialShowHidden ?? !a.loadDirectory);
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: k,
133
+ pending: N,
134
+ error: $,
134
135
  showHidden: I,
135
136
  active: h,
136
137
  valid: G,