@factorialco/f0-react 4.76.0 → 4.78.0

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.
@@ -11917,8 +11917,10 @@ declare module "@tiptap/core" {
11917
11917
 
11918
11918
  declare module "@tiptap/core" {
11919
11919
  interface Commands<ReturnType> {
11920
- moodTracker: {
11921
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
11920
+ indent: {
11921
+ setIndent: (level: number) => ReturnType;
11922
+ unsetIndent: () => ReturnType;
11923
+ outdent: () => ReturnType;
11922
11924
  };
11923
11925
  }
11924
11926
  }
@@ -11926,8 +11928,8 @@ declare module "@tiptap/core" {
11926
11928
 
11927
11929
  declare module "@tiptap/core" {
11928
11930
  interface Commands<ReturnType> {
11929
- transcript: {
11930
- insertTranscript: (data: TranscriptData) => ReturnType;
11931
+ moodTracker: {
11932
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
11931
11933
  };
11932
11934
  }
11933
11935
  }
@@ -11944,6 +11946,15 @@ declare module "@tiptap/core" {
11944
11946
  }
11945
11947
 
11946
11948
 
11949
+ declare module "@tiptap/core" {
11950
+ interface Commands<ReturnType> {
11951
+ transcript: {
11952
+ insertTranscript: (data: TranscriptData) => ReturnType;
11953
+ };
11954
+ }
11955
+ }
11956
+
11957
+
11947
11958
  declare namespace F0GraphNodeWrapperInner {
11948
11959
  var displayName: string;
11949
11960
  }
@@ -3,8 +3,8 @@ import { cY as d1, cX as u1, d8 as f1, cU as m1, cV as h1, cO as p1, cP as g1, c
3
3
  import { jsx as n, jsxs as h, Fragment as Fe } from "react/jsx-runtime";
4
4
  import Y, { forwardRef as Oe, useRef as D, useTransition as bu, useState as B, useLayoutEffect as $n, useId as Ln, useContext as zt, createContext as ht, useEffect as q, useCallback as U, useMemo as de, Fragment as _t, isValidElement as vu, cloneElement as hs, Suspense as Er, lazy as sn, createElement as rr, memo as ps, Children as gs } from "react";
5
5
  import { d as S, T as xu, a as yu, b as wu, f as qe, c as Nu, u as Cu } from "./tooltip-Cik7KBQT.js";
6
- import { C as Iu, P as ku, E as Su, a as jo, b as Hn, M as Tu, p as Ru, c as Eu, R as Ti, e as bs, u as Lu, f as zu, g as Au, h as Fu, i as Pu, j as Mu, O as vs, k as xs, S as Ou, A as Du, B as Bu, L as _u, l as $u, V as Hu, m as Wu, n as ju, o as Uu } from "./index-D2DZqULg.js";
7
- import { a5 as H1, a6 as W1, v as j1, w as U1, s as V1, N as G1, x as K1, H as q1, ag as Y1, K as X1, t as J1, a3 as Q1, ai as Z1, ah as ey, X as ty, al as ny, F as ry, a0 as oy, Z as iy, T as ay, an as sy, U as ly, a1 as cy, a2 as dy, y as uy, aj as fy, ak as my, W as hy, a4 as py, ad as gy, af as by, z as vy, G as xy, I as yy, _ as wy, am as Ny, $ as Cy, Y as Iy, ao as ky, D as Sy, J as Ty, q as Ry, r as Ey, a9 as Ly, aa as zy, a7 as Ay, ae as Fy, Q as Py, ab as My, a8 as Oy, ac as Dy } from "./index-D2DZqULg.js";
6
+ import { C as Iu, P as ku, E as Su, a as jo, b as Hn, M as Tu, p as Ru, c as Eu, R as Ti, e as bs, u as Lu, f as zu, g as Au, h as Fu, i as Pu, j as Mu, O as vs, k as xs, S as Ou, A as Du, B as Bu, L as _u, l as $u, V as Hu, m as Wu, n as ju, o as Uu } from "./index-CvCKENlk.js";
7
+ import { a5 as H1, a6 as W1, v as j1, w as U1, s as V1, N as G1, x as K1, H as q1, ag as Y1, K as X1, t as J1, a3 as Q1, ai as Z1, ah as ey, X as ty, al as ny, F as ry, a0 as oy, Z as iy, T as ay, an as sy, U as ly, a1 as cy, a2 as dy, y as uy, aj as fy, ak as my, W as hy, a4 as py, ad as gy, af as by, z as vy, G as xy, I as yy, _ as wy, am as Ny, $ as Cy, Y as Iy, ao as ky, D as Sy, J as Ty, q as Ry, r as Ey, a9 as Ly, aa as zy, a7 as Ay, ae as Fy, Q as Py, ab as My, a8 as Oy, ac as Dy } from "./index-CvCKENlk.js";
8
8
  import Vu from "react-dom";
9
9
  const Gu = mc("Search", [
10
10
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
@@ -7911,7 +7911,7 @@ const ul = () => Vt(rl, "useChatJump"), tp = () => Vt(ol, "useChatHighlightedId"
7911
7911
  }, Pr = (e, t) => {
7912
7912
  const r = document.createElement("a");
7913
7913
  r.href = e, r.download = t, r.rel = "noreferrer", r.click();
7914
- }, ip = sn(() => import("./ChatPdfThumbnail-CXn_J7EK.js")), ap = sn(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), sp = sn(() => import("./ChatDocxThumbnail-DzNPNFya.js")), lp = sn(() => import("./ChatTextThumbnail-yVt_iYi7.js")), cp = 288, dp = 160, up = (e) => {
7914
+ }, ip = sn(() => import("./ChatPdfThumbnail-C_HVLcVK.js")), ap = sn(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), sp = sn(() => import("./ChatDocxThumbnail-DzNPNFya.js")), lp = sn(() => import("./ChatTextThumbnail-yVt_iYi7.js")), cp = 288, dp = 160, up = (e) => {
7915
7915
  const [t, r] = B(!1);
7916
7916
  return q(() => {
7917
7917
  const o = e.current;
@@ -9954,7 +9954,7 @@ const Ep = {
9954
9954
  ] })
9955
9955
  ] }) });
9956
9956
  }, Hp = sn(
9957
- () => import("./index-Bco5bzTE.js").then((e) => e.i).then((e) => ({
9957
+ () => import("./index-CoBPrnKx.js").then((e) => e.i).then((e) => ({
9958
9958
  default: e.F0PdfViewer
9959
9959
  }))
9960
9960
  ), Wp = () => {
package/dist/f0.d.ts CHANGED
@@ -7940,7 +7940,7 @@ export declare type F0ButtonToggleProps = Omit<F0ButtonToggleInternalProps, (typ
7940
7940
  * Shows an avatar, title, optional description, and a configurable action button.
7941
7941
  *
7942
7942
  * @deprecated Being replaced by `F0CardHorizontal` (`@/experimental/F0CardHorizontal`).
7943
- * The co-creation flow already renders these cards with `F0CardHorizontal` directly
7943
+ * The AI Cocreation flow already renders these cards with `F0CardHorizontal` directly
7944
7944
  * (Open/Close → `primaryAction`; superseded → a faded `opacity-50 pointer-events-none`
7945
7945
  * wrapper). Don't add new usages; migrate the remaining one
7946
7946
  * (`F0AiMessagesContainer/FormCard`) once its inline `children` preview has an
@@ -10680,7 +10680,7 @@ export declare type F0HeadingProps = Omit<TextProps, "className" | "variant" | "
10680
10680
  * @deprecated Being replaced by `F0CardHorizontal` (`@/experimental/F0CardHorizontal`),
10681
10681
  * which this component already wraps. Use `F0CardHorizontal` directly: `confirmAction` /
10682
10682
  * `rejectAction` for the pending state, `status` for the resolved outcome, and
10683
- * `secondaryActions` for a single CTA. The co-creation flow no longer uses this component —
10683
+ * `secondaryActions` for a single CTA. The AI Cocreation flow no longer uses this component —
10684
10684
  * don't add new usages.
10685
10685
  * @removeIn 5.0.0
10686
10686
  */
@@ -18912,8 +18912,10 @@ declare module "@tiptap/core" {
18912
18912
 
18913
18913
  declare module "@tiptap/core" {
18914
18914
  interface Commands<ReturnType> {
18915
- moodTracker: {
18916
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
18915
+ indent: {
18916
+ setIndent: (level: number) => ReturnType;
18917
+ unsetIndent: () => ReturnType;
18918
+ outdent: () => ReturnType;
18917
18919
  };
18918
18920
  }
18919
18921
  }
@@ -18921,8 +18923,8 @@ declare module "@tiptap/core" {
18921
18923
 
18922
18924
  declare module "@tiptap/core" {
18923
18925
  interface Commands<ReturnType> {
18924
- transcript: {
18925
- insertTranscript: (data: TranscriptData) => ReturnType;
18926
+ moodTracker: {
18927
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
18926
18928
  };
18927
18929
  }
18928
18930
  }
@@ -18939,6 +18941,15 @@ declare module "@tiptap/core" {
18939
18941
  }
18940
18942
 
18941
18943
 
18944
+ declare module "@tiptap/core" {
18945
+ interface Commands<ReturnType> {
18946
+ transcript: {
18947
+ insertTranscript: (data: TranscriptData) => ReturnType;
18948
+ };
18949
+ }
18950
+ }
18951
+
18952
+
18942
18953
  declare namespace F0GraphNodeWrapperInner {
18943
18954
  var displayName: string;
18944
18955
  }
package/dist/f0.js CHANGED
@@ -7,12 +7,12 @@ import { D as HF, E as WF, G as UF, H as _d, I as Ab, J as DN, K as AN, L as Zn,
7
7
  import { A as vde, C as pde, t as gde, s as mde, v as yde, y as _de, l as bde, i as xde, q as wde, z as Sde, B as Cde, p as Tde, r as Dde, j as Ade, e as Mde, g as Ede, k as Lde, T as Nde, w as Ide, h as kde, a as Pde, n as Rde, m as Ode, o as Bde, b as zde, f as Vde, x as Fde, c as Gde, d as Hde, u as Wde } from "./F0AiProcessingOverlay-YSzHusB4.js";
8
8
  import { d as te, u as rf, h as KF, i as Ys, P as nf, g as Vl, j as QF, f as Pa } from "./tooltip-Cik7KBQT.js";
9
9
  import { createPortal as qv } from "react-dom";
10
- import { C as JF, ap as e5, aq as t5, ar as r5, as as Tw, at as n5, au as i5, av as a5, aw as o5, ax as s5, ay as l5, az as u5, j as c5, F as MN, aA as f5, aB as h5, aC as d5, aD as v5, aE as p5, aF as EN, aG as g5, aH as Zv, aI as Va, aJ as m5, aK as Mb, aL as Eb, K as y5, aM as _5, aN as hs, aO as LN, aP as b5, aQ as x5, aR as w5, aS as S5, aT as C5, aU as T5, a0 as D5, ag as A5, aV as M5, X as E5, E as L5, a as N5, e as jv, R as Lb, u as Nb, _ as NN, O as Ib, aW as IN, aX as Dw, aY as kb, s as I5, f as kN, a4 as PN, aZ as k5, a_ as P5, a$ as R5, b0 as O5, M as B5 } from "./index-D2DZqULg.js";
11
- import { v as $de, w as Yde, N as Xde, x as qde, H as Zde, bm as jde, bl as Kde, bf as Qde, b2 as Jde, b1 as eve, b3 as tve, b4 as rve, b6 as nve, b7 as ive, ai as ave, ah as ove, al as sve, Z as lve, T as uve, an as cve, U as fve, y as hve, bn as dve, aj as vve, ak as pve, W as gve, z as mve, P as yve, G as _ve, I as bve, am as xve, Y as wve, ao as Sve, D as Cve, J as Tve, bp as Dve, q as Ave, r as Mve, be as Eve, bj as Lve, bj as Nve, bk as Ive, ba as kve, b9 as Pve, bo as Rve, ae as Ove, bc as Bve, bd as zve, Q as Vve, bq as Fve, br as Gve, g as Hve, bg as Wve, bh as Uve, bi as $ve, b5 as Yve, bb as Xve, h as qve, k as Zve, b8 as jve, bs as Kve } from "./index-D2DZqULg.js";
10
+ import { C as JF, ap as e5, aq as t5, ar as r5, as as Tw, at as n5, au as i5, av as a5, aw as o5, ax as s5, ay as l5, az as u5, j as c5, F as MN, aA as f5, aB as h5, aC as d5, aD as v5, aE as p5, aF as EN, aG as g5, aH as Zv, aI as Va, aJ as m5, aK as Mb, aL as Eb, K as y5, aM as _5, aN as hs, aO as LN, aP as b5, aQ as x5, aR as w5, aS as S5, aT as C5, aU as T5, a0 as D5, ag as A5, aV as M5, X as E5, E as L5, a as N5, e as jv, R as Lb, u as Nb, _ as NN, O as Ib, aW as IN, aX as Dw, aY as kb, s as I5, f as kN, a4 as PN, aZ as k5, a_ as P5, a$ as R5, b0 as O5, M as B5 } from "./index-CvCKENlk.js";
11
+ import { v as $de, w as Yde, N as Xde, x as qde, H as Zde, bm as jde, bl as Kde, bf as Qde, b2 as Jde, b1 as eve, b3 as tve, b4 as rve, b6 as nve, b7 as ive, ai as ave, ah as ove, al as sve, Z as lve, T as uve, an as cve, U as fve, y as hve, bn as dve, aj as vve, ak as pve, W as gve, z as mve, P as yve, G as _ve, I as bve, am as xve, Y as wve, ao as Sve, D as Cve, J as Tve, bp as Dve, q as Ave, r as Mve, be as Eve, bj as Lve, bj as Nve, bk as Ive, ba as kve, b9 as Pve, bo as Rve, ae as Ove, bc as Bve, bd as zve, Q as Vve, bq as Fve, br as Gve, g as Hve, bg as Wve, bh as Uve, bi as $ve, b5 as Yve, bb as Xve, h as qve, k as Zve, b8 as jve, bs as Kve } from "./index-CvCKENlk.js";
12
12
  import { l as Wy, c as RN, d as bd, r as Uy } from "./F0VideoPlayer-C-ZIeH8A.js";
13
13
  import { F as Jve } from "./F0VideoPlayer-C-ZIeH8A.js";
14
- import { F as tpe, p as rpe } from "./index-Bco5bzTE.js";
15
- import { c as ipe } from "./pdfWorker-BRbRmP32.js";
14
+ import { F as tpe, p as rpe } from "./index-CoBPrnKx.js";
15
+ import { c as ipe } from "./pdfWorker-C0YKFzQc.js";
16
16
  import { g as z5 } from "./_commonjsHelpers-ByX85dGu.js";
17
17
  import { utils as al, write as ON } from "./xlsx-CzlURDDb.js";
18
18
  import { defaultTranslations as ope } from "./i18n-provider-defaults.js";
@@ -1131,8 +1131,10 @@ declare module "@tiptap/core" {
1131
1131
 
1132
1132
  declare module "@tiptap/core" {
1133
1133
  interface Commands<ReturnType> {
1134
- moodTracker: {
1135
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1134
+ indent: {
1135
+ setIndent: (level: number) => ReturnType;
1136
+ unsetIndent: () => ReturnType;
1137
+ outdent: () => ReturnType;
1136
1138
  };
1137
1139
  }
1138
1140
  }
@@ -1140,8 +1142,8 @@ declare module "@tiptap/core" {
1140
1142
 
1141
1143
  declare module "@tiptap/core" {
1142
1144
  interface Commands<ReturnType> {
1143
- transcript: {
1144
- insertTranscript: (data: TranscriptData) => ReturnType;
1145
+ moodTracker: {
1146
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1145
1147
  };
1146
1148
  }
1147
1149
  }
@@ -1158,6 +1160,15 @@ declare module "@tiptap/core" {
1158
1160
  }
1159
1161
 
1160
1162
 
1163
+ declare module "@tiptap/core" {
1164
+ interface Commands<ReturnType> {
1165
+ transcript: {
1166
+ insertTranscript: (data: TranscriptData) => ReturnType;
1167
+ };
1168
+ }
1169
+ }
1170
+
1171
+
1161
1172
  declare namespace F0GraphNodeWrapperInner {
1162
1173
  var displayName: string;
1163
1174
  }
@@ -1,7 +1,7 @@
1
1
  import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-CAY9Mu_e.js";
2
2
  import { jsx as t, jsxs as y } from "react/jsx-runtime";
3
3
  import { lazy as J, forwardRef as ne, Suspense as He, useState as V, useRef as A, useMemo as te, useCallback as w, useEffect as T } from "react";
4
- import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-BRbRmP32.js";
4
+ import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-C0YKFzQc.js";
5
5
  import { F as We } from "./Printer-BD-FEi_2.js";
6
6
  import { d as ae } from "./tooltip-Cik7KBQT.js";
7
7
  import './index.css';const Oe = ({
@@ -222,7 +222,7 @@ import './index.css';const Oe = ({
222
222
  }), i;
223
223
  };
224
224
  Ee();
225
- const qe = J(() => import("./SheetViewer-BG2EdRon.js")), Ge = J(() => import("./DocxViewer-OG-L4Fwr.js")), Ze = J(() => import("./TextViewer-zInYmR0-.js")), oe = 48, se = ne(
225
+ const qe = J(() => import("./SheetViewer-ChErEQkX.js")), Ge = J(() => import("./DocxViewer-BSoDHr_N.js")), Ze = J(() => import("./TextViewer-CbhWnpyu.js")), oe = 48, se = ne(
226
226
  (o, a) => {
227
227
  const { kind: e = "pdf", mimeType: i, ...l } = o;
228
228
  if (e === "pdf") return /* @__PURE__ */ t(le, { ref: a, ...l });