@factorialco/f0-react 4.73.1 → 4.74.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.
@@ -11907,8 +11907,9 @@ declare module "@tiptap/core" {
11907
11907
 
11908
11908
  declare module "@tiptap/core" {
11909
11909
  interface Commands<ReturnType> {
11910
- moodTracker: {
11911
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
11910
+ fontSize: {
11911
+ setFontSize: (fontSize: string) => ReturnType;
11912
+ unsetFontSize: () => ReturnType;
11912
11913
  };
11913
11914
  }
11914
11915
  }
@@ -11916,8 +11917,8 @@ declare module "@tiptap/core" {
11916
11917
 
11917
11918
  declare module "@tiptap/core" {
11918
11919
  interface Commands<ReturnType> {
11919
- transcript: {
11920
- insertTranscript: (data: TranscriptData) => ReturnType;
11920
+ moodTracker: {
11921
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
11921
11922
  };
11922
11923
  }
11923
11924
  }
@@ -11934,6 +11935,15 @@ declare module "@tiptap/core" {
11934
11935
  }
11935
11936
 
11936
11937
 
11938
+ declare module "@tiptap/core" {
11939
+ interface Commands<ReturnType> {
11940
+ transcript: {
11941
+ insertTranscript: (data: TranscriptData) => ReturnType;
11942
+ };
11943
+ }
11944
+ }
11945
+
11946
+
11937
11947
  declare namespace F0GraphNodeWrapperInner {
11938
11948
  var displayName: string;
11939
11949
  }
@@ -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-DLzi0awi.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-DLzi0awi.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-C37Recuv.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-C37Recuv.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-BJUxViZ9.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-BfB6Exsr.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-BkGwPQc3.js").then((e) => e.i).then((e) => ({
9957
+ () => import("./index-C2nsiu-X.js").then((e) => e.i).then((e) => ({
9958
9958
  default: e.F0PdfViewer
9959
9959
  }))
9960
9960
  ), Wp = () => {
package/dist/f0.d.ts CHANGED
@@ -18890,8 +18890,9 @@ declare module "@tiptap/core" {
18890
18890
 
18891
18891
  declare module "@tiptap/core" {
18892
18892
  interface Commands<ReturnType> {
18893
- moodTracker: {
18894
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
18893
+ fontSize: {
18894
+ setFontSize: (fontSize: string) => ReturnType;
18895
+ unsetFontSize: () => ReturnType;
18895
18896
  };
18896
18897
  }
18897
18898
  }
@@ -18899,8 +18900,8 @@ declare module "@tiptap/core" {
18899
18900
 
18900
18901
  declare module "@tiptap/core" {
18901
18902
  interface Commands<ReturnType> {
18902
- transcript: {
18903
- insertTranscript: (data: TranscriptData) => ReturnType;
18903
+ moodTracker: {
18904
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
18904
18905
  };
18905
18906
  }
18906
18907
  }
@@ -18917,6 +18918,15 @@ declare module "@tiptap/core" {
18917
18918
  }
18918
18919
 
18919
18920
 
18921
+ declare module "@tiptap/core" {
18922
+ interface Commands<ReturnType> {
18923
+ transcript: {
18924
+ insertTranscript: (data: TranscriptData) => ReturnType;
18925
+ };
18926
+ }
18927
+ }
18928
+
18929
+
18920
18930
  declare namespace F0GraphNodeWrapperInner {
18921
18931
  var displayName: string;
18922
18932
  }
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-BBVFRBSW.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-DLzi0awi.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-DLzi0awi.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-C37Recuv.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-C37Recuv.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-BkGwPQc3.js";
15
- import { c as ipe } from "./pdfWorker-DiSRacvp.js";
14
+ import { F as tpe, p as rpe } from "./index-C2nsiu-X.js";
15
+ import { c as ipe } from "./pdfWorker-JTFiOHIh.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";
@@ -1121,8 +1121,9 @@ declare module "@tiptap/core" {
1121
1121
 
1122
1122
  declare module "@tiptap/core" {
1123
1123
  interface Commands<ReturnType> {
1124
- moodTracker: {
1125
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1124
+ fontSize: {
1125
+ setFontSize: (fontSize: string) => ReturnType;
1126
+ unsetFontSize: () => ReturnType;
1126
1127
  };
1127
1128
  }
1128
1129
  }
@@ -1130,8 +1131,8 @@ declare module "@tiptap/core" {
1130
1131
 
1131
1132
  declare module "@tiptap/core" {
1132
1133
  interface Commands<ReturnType> {
1133
- transcript: {
1134
- insertTranscript: (data: TranscriptData) => ReturnType;
1134
+ moodTracker: {
1135
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1135
1136
  };
1136
1137
  }
1137
1138
  }
@@ -1148,6 +1149,15 @@ declare module "@tiptap/core" {
1148
1149
  }
1149
1150
 
1150
1151
 
1152
+ declare module "@tiptap/core" {
1153
+ interface Commands<ReturnType> {
1154
+ transcript: {
1155
+ insertTranscript: (data: TranscriptData) => ReturnType;
1156
+ };
1157
+ }
1158
+ }
1159
+
1160
+
1151
1161
  declare namespace F0GraphNodeWrapperInner {
1152
1162
  var displayName: string;
1153
1163
  }
@@ -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-DiSRacvp.js";
4
+ import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-JTFiOHIh.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-ChFPJmqQ.js")), Ge = J(() => import("./DocxViewer-DhxMGrUn.js")), Ze = J(() => import("./TextViewer-D2OcZcrA.js")), oe = 48, se = ne(
225
+ const qe = J(() => import("./SheetViewer-D5wIIOUJ.js")), Ge = J(() => import("./DocxViewer-CfzIQe_-.js")), Ze = J(() => import("./TextViewer-BYerZh2M.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 });