@omg-dev/app 0.1.332 → 0.1.334

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.
@@ -1,4 +1,4 @@
1
- import { R as c, L as f, A as d } from "./streamdown-response-Db3eKxi4.js";
1
+ import { R as c, L as f, A as d } from "./streamdown-response-CUgM_1N-.js";
2
2
  import { useContext as p, useState as L, useEffect as N } from "react";
3
3
  import { jsx as x } from "react/jsx-runtime";
4
4
  var A = ({ code: s, language: e, raw: a, className: o, startLine: m, lineNumbers: u, ...g }) => {
@@ -7,24 +7,7 @@ import { jsxs as wt, Fragment as Tt, jsx as he } from "react/jsx-runtime";
7
7
  import { D as ln, a as Hi } from "./create-BrnHvSDE.js";
8
8
  import { t as fe } from "./engine-compile-BeZvvx0I.js";
9
9
  import { useContext as Ai, useRef as wi, useCallback as Ti, useEffect as bi, useLayoutEffect as Ii, useMemo as Di } from "react";
10
- class Mi extends ln {
11
- }
12
- const Fi = new Mi();
13
- function Pi(e, t, n) {
14
- return Fi.diff(e, t, n);
15
- }
16
- const bt = "a-zA-Z0-9_\\u{AD}\\u{C0}-\\u{D6}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}";
17
- class zi extends ln {
18
- tokenize(t) {
19
- const n = new RegExp(`(\\r?\\n)|[${bt}]+|[^\\S\\n\\r]+|[^${bt}]`, "ug");
20
- return t.match(n) || [];
21
- }
22
- }
23
- const Ni = new zi();
24
- function Oi(e, t, n) {
25
- return Ni.diff(e, t, n);
26
- }
27
- function Ui({ hunkIndex: e, lineIndex: t, conflictIndex: n }) {
10
+ function Mi({ hunkIndex: e, lineIndex: t, conflictIndex: n }) {
28
11
  return `merge-conflict-action-${e}-${t}-${n}`;
29
12
  }
30
13
  function ee(e, t) {
@@ -33,15 +16,15 @@ function ee(e, t) {
33
16
  function j(e, t) {
34
17
  return ee(e, t) + t;
35
18
  }
36
- function Bi(e, t) {
19
+ function Fi(e, t) {
37
20
  const n = t.hunks[e.hunkIndex];
38
21
  if (n != null)
39
22
  return {
40
23
  hunkIndex: e.hunkIndex,
41
- lineIndex: Vi(n, e.startContentIndex)
24
+ lineIndex: Pi(n, e.startContentIndex)
42
25
  };
43
26
  }
44
- function Vi(e, t) {
27
+ function Pi(e, t) {
45
28
  let n = e.unifiedLineStart;
46
29
  for (let i = 0; i < t; i++) {
47
30
  const s = e.hunkContent[i];
@@ -49,7 +32,7 @@ function Vi(e, t) {
49
32
  }
50
33
  return n;
51
34
  }
52
- function Wi({ fileDiff: e, actions: t, renderCustomHeader: n, renderHeaderPrefix: i, renderHeaderFilenameSuffix: s, renderHeaderMetadata: r, renderAnnotation: a, renderGutterUtility: l, renderMergeConflictUtility: o, lineAnnotations: h, getHoveredLine: d, getInstance: u }) {
35
+ function zi({ fileDiff: e, actions: t, renderCustomHeader: n, renderHeaderPrefix: i, renderHeaderFilenameSuffix: s, renderHeaderMetadata: r, renderAnnotation: a, renderGutterUtility: l, renderMergeConflictUtility: o, lineAnnotations: h, getHoveredLine: d, getInstance: u }) {
53
36
  const c = n == null ? void 0 : n(e), f = i == null ? void 0 : i(e), g = s == null ? void 0 : s(e), p = r == null ? void 0 : r(e);
54
37
  return /* @__PURE__ */ wt(Tt, { children: [
55
38
  c != null ? /* @__PURE__ */ he("div", {
@@ -75,7 +58,7 @@ function Wi({ fileDiff: e, actions: t, renderCustomHeader: n, renderHeaderPrefix
75
58
  }, C))),
76
59
  t != null && o != null && u != null && t.map((m) => {
77
60
  if (m == null) return;
78
- const C = _i(m, e);
61
+ const C = Ni(m, e);
79
62
  return /* @__PURE__ */ he("div", {
80
63
  slot: C,
81
64
  style: An,
@@ -89,9 +72,9 @@ function Wi({ fileDiff: e, actions: t, renderCustomHeader: n, renderHeaderPrefix
89
72
  })
90
73
  ] });
91
74
  }
92
- function _i(e, t) {
93
- const n = Bi(e, t);
94
- return n != null ? Ui({
75
+ function Ni(e, t) {
76
+ const n = Fi(e, t);
77
+ return n != null ? Mi({
95
78
  hunkIndex: n.hunkIndex,
96
79
  lineIndex: n.lineIndex,
97
80
  conflictIndex: e.conflictIndex
@@ -139,7 +122,7 @@ function re({ isPartial: e, rangeSize: t, expandedHunks: n, hunkIndex: i, collap
139
122
  renderAll: d
140
123
  };
141
124
  }
142
- function Gi(e) {
125
+ function Oi(e) {
143
126
  const t = e.hunks[e.hunks.length - 1];
144
127
  if (t == null || e.isPartial || e.additionLines.length === 0 || e.deletionLines.length === 0) return !1;
145
128
  const n = e.additionLines.length - j(t.additionStart, t.additionCount), i = e.deletionLines.length - j(t.deletionStart, t.deletionCount);
@@ -203,7 +186,7 @@ function hn({ fileDiff: e, lineNumber: t, expandedHunks: n, collapsedContextThre
203
186
  const r = e.hunks[e.hunks.length - 1], [, a] = be(r);
204
187
  return t < a + s.fromStart || t >= a + s.rangeSize;
205
188
  }
206
- function $i({ fileDiff: e, lineNumber: t, direction: n, expandedHunks: i, collapsedContextThreshold: s }) {
189
+ function Ui({ fileDiff: e, lineNumber: t, direction: n, expandedHunks: i, collapsedContextThreshold: s }) {
207
190
  if (i === !0 || e.isPartial) return t;
208
191
  const r = [];
209
192
  let a = 1;
@@ -244,7 +227,7 @@ function un({ type: e, metrics: t }) {
244
227
  function cn({ type: e, metrics: t }) {
245
228
  return e === "simple" || e === "metadata" || e === "line-info-basic" ? 0 : t.spacing;
246
229
  }
247
- function Ki({ type: e, hunkIndex: t, hunkSpecs: n }) {
230
+ function Bi({ type: e, hunkIndex: t, hunkSpecs: n }) {
248
231
  switch (e) {
249
232
  case "simple":
250
233
  return t > 0;
@@ -256,11 +239,11 @@ function Ki({ type: e, hunkIndex: t, hunkSpecs: n }) {
256
239
  return !0;
257
240
  }
258
241
  }
259
- function ji(e) {
242
+ function Vi(e) {
260
243
  return e !== "simple" && e !== "metadata";
261
244
  }
262
245
  function Te({ type: e, metrics: t, hunkIndex: n, hunkSpecs: i }) {
263
- if (!Ki({
246
+ if (!Bi({
264
247
  type: e,
265
248
  hunkIndex: n,
266
249
  hunkSpecs: i
@@ -280,7 +263,7 @@ function Te({ type: e, metrics: t, hunkIndex: n, hunkSpecs: i }) {
280
263
  };
281
264
  }
282
265
  function ce({ type: e, metrics: t }) {
283
- if (!ji(e)) return;
266
+ if (!Vi(e)) return;
284
267
  const n = un({
285
268
  type: e,
286
269
  metrics: t
@@ -297,7 +280,7 @@ function ce({ type: e, metrics: t }) {
297
280
  }
298
281
  function ge({ diff: e, diffStyle: t, startingLine: n = 0, totalLines: i = 1 / 0, expandedHunks: s, collapsedContextThreshold: r = 1, callback: a }) {
299
282
  var h;
300
- const l = qi({
283
+ const l = Wi({
301
284
  diff: e,
302
285
  diffStyle: t,
303
286
  startingLine: n,
@@ -447,11 +430,11 @@ function ge({ diff: e, diffStyle: t, startingLine: n = 0, totalLines: i = 1 / 0,
447
430
  } else {
448
431
  const O = Math.max(R.deletions, R.additions), U = R.deletions + R.additions;
449
432
  if (!o.shouldSkip(U, O)) {
450
- const T = Yi(o, R, t);
433
+ const T = $i(o, R, t);
451
434
  (((h = T[0]) == null ? void 0 : h[0]) ?? 0) > 0 && S();
452
435
  for (const [I, N] of T) for (let W = I; W < N; W++) {
453
436
  const b = L(y + W, t === "unified" ? k + (W < R.deletions ? W : W - R.deletions) : k + W);
454
- if (o.emit(Zi({
437
+ if (o.emit(Ki({
455
438
  hunkIndex: d,
456
439
  hunk: u,
457
440
  collapsedBefore: S(),
@@ -503,13 +486,13 @@ function ge({ diff: e, diffStyle: t, startingLine: n = 0, totalLines: i = 1 / 0,
503
486
  }
504
487
  }
505
488
  }
506
- function qi({ diff: e, diffStyle: t, startingLine: n, expandedHunks: i, collapsedContextThreshold: s }) {
489
+ function Wi({ diff: e, diffStyle: t, startingLine: n, expandedHunks: i, collapsedContextThreshold: s }) {
507
490
  if (n <= 0 || t === "both") return {
508
491
  hunkIndex: 0,
509
492
  splitCount: 0,
510
493
  unifiedCount: 0
511
494
  };
512
- const r = Xi({
495
+ const r = _i({
513
496
  diff: e,
514
497
  expandedHunks: i,
515
498
  collapsedContextThreshold: s
@@ -537,7 +520,7 @@ function qi({ diff: e, diffStyle: t, startingLine: n, expandedHunks: i, collapse
537
520
  unifiedCount: h.unifiedCount
538
521
  };
539
522
  }
540
- function Xi({ diff: e, expandedHunks: t, collapsedContextThreshold: n }) {
523
+ function _i({ diff: e, expandedHunks: t, collapsedContextThreshold: n }) {
541
524
  let i = 0, s = 0;
542
525
  const r = e.hunks.length - 1, a = [{
543
526
  splitCount: 0,
@@ -572,7 +555,7 @@ function Xi({ diff: e, expandedHunks: t, collapsedContextThreshold: n }) {
572
555
  }
573
556
  return a;
574
557
  }
575
- function Ji(e, t, n) {
558
+ function Gi(e, t, n) {
576
559
  if (!e.isWindowedHighlight || t <= 0) return [0, t];
577
560
  const i = [];
578
561
  function s(l) {
@@ -588,7 +571,7 @@ function Ji(e, t, n) {
588
571
  return [r, a];
589
572
  }
590
573
  function Me(e, t, n, i, s, r) {
591
- const [a, l] = Ji(e, t, n);
574
+ const [a, l] = Gi(e, t, n);
592
575
  a > 0 && (e.incrementCounts(a, a), s == null || s());
593
576
  let o = a;
594
577
  for (; o < t; ) {
@@ -604,7 +587,7 @@ function Me(e, t, n, i, s, r) {
604
587
  }
605
588
  return !1;
606
589
  }
607
- function Yi(e, t, n) {
590
+ function $i(e, t, n) {
608
591
  if (!e.isWindowedHighlight) return [[0, n === "unified" ? t.deletions + t.additions : Math.max(t.deletions, t.additions)]];
609
592
  const i = n !== "split", s = n !== "unified", r = n === "unified" ? "unified" : "split", a = [];
610
593
  function l(u, c) {
@@ -629,7 +612,7 @@ function Yi(e, t, n) {
629
612
  }
630
613
  return d;
631
614
  }
632
- function Zi({ hunkIndex: e, hunk: t, collapsedAfter: n, collapsedBefore: i, diffStyle: s, index: r, unifiedLineIndex: a, splitLineIndex: l, additionLineIndex: o, deletionLineIndex: h, additionLineNumber: d, deletionLineNumber: u, content: c, isLastContent: f, unifiedCount: g, splitCount: p }) {
615
+ function Ki({ hunkIndex: e, hunk: t, collapsedAfter: n, collapsedBefore: i, diffStyle: s, index: r, unifiedLineIndex: a, splitLineIndex: l, additionLineIndex: o, deletionLineIndex: h, additionLineNumber: d, deletionLineNumber: u, content: c, isLastContent: f, unifiedCount: g, splitCount: p }) {
633
616
  const m = r < c.deletions ? a + r : void 0, C = s === "unified" ? r >= c.deletions ? a + r : void 0 : r < c.additions ? a + c.deletions + r : void 0, x = s === "unified" ? l + (r < c.deletions ? r : r - c.deletions) : l + r, L = r < c.deletions ? h + r : void 0, H = r < c.deletions ? u + r : void 0, S = s === "unified" ? r >= c.deletions ? o + (r - c.deletions) : void 0 : r < c.additions ? o + r : void 0, y = s === "unified" ? r >= c.deletions ? d + (r - c.deletions) : void 0 : r < c.additions ? d + r : void 0, k = s === "unified" ? f && r === c.deletions - 1 && t.noEOFCRDeletions : f && r === p - 1 && t.noEOFCRDeletions, w = s === "unified" ? f && r === g - 1 && t.noEOFCRAdditions : f && r === p - 1 && t.noEOFCRAdditions, E = L != null && H != null && m != null ? {
634
617
  lineNumber: H,
635
618
  lineIndex: L,
@@ -672,6 +655,23 @@ function Zi({ hunkIndex: e, hunk: t, collapsedAfter: n, collapsedBefore: i, diff
672
655
  additionLine: D
673
656
  };
674
657
  }
658
+ class ji extends ln {
659
+ }
660
+ const qi = new ji();
661
+ function Xi(e, t, n) {
662
+ return qi.diff(e, t, n);
663
+ }
664
+ const bt = "a-zA-Z0-9_\\u{AD}\\u{C0}-\\u{D6}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}";
665
+ class Ji extends ln {
666
+ tokenize(t) {
667
+ const n = new RegExp(`(\\r?\\n)|[${bt}]+|[^\\S\\n\\r]+|[^${bt}]`, "ug");
668
+ return t.match(n) || [];
669
+ }
670
+ }
671
+ const Yi = new Ji();
672
+ function Zi(e, t, n) {
673
+ return Yi.diff(e, t, n);
674
+ }
675
675
  function It({ line: e, spanStart: t, spanLength: n }) {
676
676
  return {
677
677
  start: {
@@ -791,7 +791,7 @@ function es(e, t, n, { forcePlainText: i, startingLine: s, totalLines: r, expand
791
791
  }
792
792
  function ts({ deletionLine: e, additionLine: t, deletionLineIndex: n, additionLineIndex: i, deletionDecorations: s, additionDecorations: r, lineDiffType: a, maxLineDiffLength: l }) {
793
793
  if (e == null || t == null || a === "none" || (e = se(e), t = se(t), e.length > l || t.length > l)) return;
794
- const o = a === "char" ? Pi(e, t) : Oi(e, t), h = [], d = [], u = a === "word-alt", c = o.at(-1);
794
+ const o = a === "char" ? Xi(e, t) : Zi(e, t), h = [], d = [], u = a === "word-alt", c = o.at(-1);
795
795
  for (const g of o) {
796
796
  const p = g === c;
797
797
  !g.added && !g.removed ? (Fe({
@@ -1469,7 +1469,7 @@ function Is(e, t, n) {
1469
1469
  const s = Ds(e, i);
1470
1470
  if (s.size === 0) return ne(e, ie(e, n));
1471
1471
  for (const r of s) if (!Fs(e, r, n)) return ne(e, ie(e, n));
1472
- return Ct(e), Gi(e) ? ne(e, ie(e, n)) : ne(e, {
1472
+ return Ct(e), Oi(e) ? ne(e, ie(e, n)) : ne(e, {
1473
1473
  hunks: e.hunks,
1474
1474
  splitLineCount: e.splitLineCount,
1475
1475
  unifiedLineCount: e.unifiedLineCount,
@@ -3639,7 +3639,7 @@ var st, En = (st = class {
3639
3639
  const n = this.fileDiffCache;
3640
3640
  if (n == null) return e;
3641
3641
  const { expandUnchanged: i = !1, collapsedContextThreshold: s = 1 } = this.options;
3642
- return $i({
3642
+ return Ui({
3643
3643
  fileDiff: n,
3644
3644
  lineNumber: e,
3645
3645
  direction: t,
@@ -5025,7 +5025,7 @@ function Yr({ patch: e, options: t, editorOptions: n, metrics: i, lineAnnotation
5025
5025
  ref: x,
5026
5026
  className: a,
5027
5027
  style: l,
5028
- children: Ri(Wi({
5028
+ children: Ri(zi({
5029
5029
  fileDiff: C,
5030
5030
  renderCustomHeader: d,
5031
5031
  renderHeaderPrefix: u,
@@ -5051,7 +5051,7 @@ export {
5051
5051
  io as VirtualizerContext,
5052
5052
  xi as WorkerPoolContext,
5053
5053
  At as noopRender,
5054
- Wi as renderDiffChildren,
5054
+ zi as renderDiffChildren,
5055
5055
  so as renderFileChildren,
5056
5056
  Ri as templateRender,
5057
5057
  yi as useCreateEditor,
@@ -1,4 +1,4 @@
1
- import { w as T, s as U, h as X, c as Y, v as G, S as J, o as k, l as Q, f as M, m as y } from "./streamdown-response-Db3eKxi4.js";
1
+ import { w as T, s as U, h as X, c as Y, v as G, S as J, o as k, l as Q, f as M, m as y } from "./streamdown-response-CUgM_1N-.js";
2
2
  import v from "./katex-jHfnQmlp.js";
3
3
  function Z(t, e) {
4
4
  return B(t, {}) || { type: "root", children: [] };
package/dist-lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { ae as p, af as m, ag as o } from "./embedded-DLVV2SSd.js";
3
+ import { ae as p, af as m, ag as o } from "./embedded-14sIqN1B.js";
4
4
  export {
5
5
  p as OmgAppSurface,
6
6
  m as OmgSettingsSurface,
@@ -0,0 +1,4 @@
1
+ import { p } from "./streamdown-response-CUgM_1N-.js";
2
+ export {
3
+ p as Mermaid
4
+ };
@@ -1,5 +1,5 @@
1
1
  import { jsx as t, jsxs as s, Fragment as N } from "react/jsx-runtime";
2
- import { r as H, n as Q, a as le, o as re, p as oe, q as ie, X, A, f as u, R as B, s as ce, u as de, v as J, T as ue, w as me, x as he, y as pe, L as fe } from "./embedded-DLVV2SSd.js";
2
+ import { r as H, n as Q, a as le, o as re, p as oe, q as ie, X, A, f as u, R as B, s as ce, u as de, v as J, T as ue, w as me, x as he, y as pe, L as fe } from "./embedded-14sIqN1B.js";
3
3
  import { useState as a, useRef as L, useEffect as v, useCallback as ge } from "react";
4
4
  function we({
5
5
  initial: m,
@@ -1,5 +1,5 @@
1
1
  import { jsx as s, jsxs as n, Fragment as $ } from "react/jsx-runtime";
2
- import { a as C, D as T, b as M, c as D, d as S, G as F, e as L, t as R, L as j, f as z } from "./embedded-DLVV2SSd.js";
2
+ import { a as C, D as T, b as M, c as D, d as S, G as F, e as L, t as R, L as j, f as z } from "./embedded-14sIqN1B.js";
3
3
  import { useState as g, useCallback as P, useEffect as U } from "react";
4
4
  function u({
5
5
  title: r,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as l, jsx as r, Fragment as me } from "react/jsx-runtime";
2
2
  import { useState as f, useEffect as w, useRef as fe, useContext as $e, useMemo as ze } from "react";
3
- import { z as ve, O as he, Q as Te, U as S, V as ge, W as Se, Y as Pe, Z as je, B as Fe, L as pe, v as J, y as Ye, R as Ge, f as P, T as Be, _ as Ke, k as be, g as Ue, $ as He, a as L, a0 as k, a1 as R, l as _, a2 as W, a3 as Ve, a4 as qe, a5 as Qe, a6 as Xe, P as Je, a7 as We } from "./embedded-DLVV2SSd.js";
3
+ import { z as ve, O as he, Q as Te, U as S, V as ge, W as Se, Y as Pe, Z as je, B as Fe, L as pe, v as J, y as Ye, R as Ge, f as P, T as Be, _ as Ke, k as be, g as Ue, $ as He, a as L, a0 as k, a1 as R, l as _, a2 as W, a3 as Ve, a4 as qe, a5 as Qe, a6 as Xe, P as Je, a7 as We } from "./embedded-14sIqN1B.js";
4
4
  /**
5
5
  * @license lucide-react v0.577.0 - ISC
6
6
  *
@@ -3,7 +3,7 @@ var Od = (e, t, n) => t in e ? Rd(e, t, { enumerable: !0, configurable: !0, writ
3
3
  var le = (e, t, n) => Od(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { jsx as y, jsxs as J, Fragment as _t } from "react/jsx-runtime";
5
5
  import { memo as he, useId as Dd, useTransition as Pd, useMemo as Ee, useRef as Re, useEffect as De, useState as ge, createElement as Xa, isValidElement as Vt, cloneElement as Md, useContext as Pe, createContext as Jt, useCallback as ze, Suspense as wi, lazy as Zu } from "react";
6
- import { ad as Ju, f as eo, a8 as vd, m as Bd, a9 as Fd } from "./embedded-DLVV2SSd.js";
6
+ import { ad as Ju, f as eo, a8 as vd, m as Bd, a9 as Fd } from "./embedded-14sIqN1B.js";
7
7
  import { createPortal as to } from "react-dom";
8
8
  import { f as Ur, p as Ka, e as Za, g as Ja, h as Jn, s as Mt, z as no, i as ro, j as io, k as Hd, l as es, w as Ud, b as zd, c as $d, m as jd, d as qd } from "./engine-compile-BeZvvx0I.js";
9
9
  import { g as ao } from "./_commonjsHelpers-C6fGbg64.js";
@@ -18959,7 +18959,7 @@ var yc = Jt(!1), kk = () => Pe(yc), Ua = (...e) => nc(Ju(e)), xk = (e, t) => {
18959
18959
  for (; t > 0 && e[t - 1] === `
18960
18960
  `; ) t--;
18961
18961
  return e.slice(0, t);
18962
- }, wk = Zu(() => import("./highlighted-body-OFNGDK62-CPp-AhKg.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), Lk = ({ code: e, language: t, className: n, children: r, isIncomplete: i = !1, startLine: a, lineNumbers: s, ...u }) => {
18962
+ }, wk = Zu(() => import("./highlighted-body-OFNGDK62-Bs-ihMer.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), Lk = ({ code: e, language: t, className: n, children: r, isIncomplete: i = !1, startLine: a, lineNumbers: s, ...u }) => {
18963
18963
  let o = ee(), l = Ee(() => Sk(e), [e]), d = Ee(() => ({ bg: "transparent", fg: "inherit", tokens: l.split(`
18964
18964
  `).map((f) => [{ content: f, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [l]);
18965
18965
  return y(Cc.Provider, { value: { code: e }, children: J(Ik, { isIncomplete: i, language: t, children: [y(Nk, { language: t }), r ? y("div", { className: o("pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end"), children: y("div", { className: o("pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur"), "data-streamdown": "code-block-actions", children: r }) }) : null, y(wi, { fallback: y(Ck, { className: n, language: t, lineNumbers: s, result: d, startLine: a, ...u }), children: y(wk, { className: n, code: l, language: t, lineNumbers: s, raw: d, startLine: a, ...u }) })] }) });
@@ -19301,7 +19301,7 @@ var yc = Jt(!1), kk = () => Pe(yc), Ua = (...e) => nc(Ju(e)), xk = (e, t) => {
19301
19301
  }, Zk = ({ children: e, className: t, showControls: n, showCopy: r = !0, showDownload: i = !0, showFullscreen: a = !0, ...s }) => {
19302
19302
  let u = ee(), o = n && r, l = n && i, d = n && a, f = o || l || d;
19303
19303
  return J("div", { className: u("my-4 flex flex-col gap-2 rounded-lg border border-border bg-sidebar p-2"), "data-streamdown": "table-wrapper", children: [f ? J("div", { className: u("flex items-center justify-end gap-1"), children: [o ? y(Rc, {}) : null, l ? y(Oc, {}) : null, d ? y(Kk, { showCopy: o, showDownload: l, children: e }) : null] }) : null, y("div", { className: u("border-collapse overflow-x-auto overflow-y-auto rounded-md border border-border bg-background"), children: y("table", { className: u("w-full divide-y divide-border", t), "data-streamdown": "table", ...s, children: e }) })] });
19304
- }, Jk = /startLine=(\d+)/, ex = /\bnoLineNumbers\b/, tx = Zu(() => import("./mermaid-GHXKKRXX-nLJJ6t_Z.js").then((e) => ({ default: e.Mermaid }))), nx = /language-([^\s]+)/;
19304
+ }, Jk = /startLine=(\d+)/, ex = /\bnoLineNumbers\b/, tx = Zu(() => import("./mermaid-GHXKKRXX-NZijSarc.js").then((e) => ({ default: e.Mermaid }))), nx = /language-([^\s]+)/;
19305
19305
  function Jr(e, t) {
19306
19306
  if (!(e != null && e.position || t != null && t.position)) return !0;
19307
19307
  if (!(e != null && e.position && t != null && t.position)) return !1;
@@ -20814,7 +20814,7 @@ function S6(e) {
20814
20814
  }
20815
20815
  function w6() {
20816
20816
  return Tr || (Tr = Promise.all([
20817
- import("./index-b8b5esBJ.js"),
20817
+ import("./index-CH75WLYV.js"),
20818
20818
  import("./index-JkCQXUYs.js").then((e) => e.bp)
20819
20819
  ]).then(([e, t]) => {
20820
20820
  Hn = { math: e.math, mermaid: t.mermaid };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omg-dev/app",
3
- "version": "0.1.332",
3
+ "version": "0.1.334",
4
4
  "description": "The full OMG application surface for React hosts.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://omg.dev",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "type": "module",
26
26
  "dependencies": {
27
- "@omg-dev/client": "0.1.332",
27
+ "@omg-dev/client": "0.1.334",
28
28
  "@ai-sdk/react": "^4.0.19",
29
29
  "@base-ui/react": "^1.3.0",
30
30
  "@number-flow/react": "^0.6.2",
@@ -1,4 +0,0 @@
1
- import { p } from "./streamdown-response-Db3eKxi4.js";
2
- export {
3
- p as Mermaid
4
- };