@factorialco/f0-react 6.21.1 → 6.21.2

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.
@@ -13174,8 +13174,10 @@ declare module "@tiptap/core" {
13174
13174
 
13175
13175
  declare module "@tiptap/core" {
13176
13176
  interface Commands<ReturnType> {
13177
- transcript: {
13178
- insertTranscript: (data: TranscriptData) => ReturnType;
13177
+ videoEmbed: {
13178
+ setVideoEmbed: (options: {
13179
+ src: string;
13180
+ }) => ReturnType;
13179
13181
  };
13180
13182
  }
13181
13183
  }
@@ -13183,10 +13185,8 @@ declare module "@tiptap/core" {
13183
13185
 
13184
13186
  declare module "@tiptap/core" {
13185
13187
  interface Commands<ReturnType> {
13186
- videoEmbed: {
13187
- setVideoEmbed: (options: {
13188
- src: string;
13189
- }) => ReturnType;
13188
+ transcript: {
13189
+ insertTranscript: (data: TranscriptData) => ReturnType;
13190
13190
  };
13191
13191
  }
13192
13192
  }
@@ -3,8 +3,8 @@ import { c_ as lN, cZ as cN, da as dN, cW as uN, cX as fN, cO as hN, cP as mN, c
3
3
  import { jsx as n, jsxs as m, Fragment as Pe } from "react/jsx-runtime";
4
4
  import ne, { forwardRef as Be, useRef as M, useTransition as Pf, useState as D, useLayoutEffect as St, useId as On, useContext as yt, createContext as dt, useEffect as q, useCallback as W, useMemo as ie, Fragment as kt, isValidElement as Xs, cloneElement as Js, Suspense as $r, lazy as ln, createElement as gr, memo as Qs, Children as ca } from "react";
5
5
  import { d as I, T as _f, a as zf, b as Mf, f as et, c as Of, u as Ff } from "./tooltip-Cik7KBQT.js";
6
- import { C as Df, P as Bf, c as jr, n as Hf, E as $f, a as da, b as Yn, M as jf, p as Wf, e as Uf, R as Xa, f as Zs, u as Vf, g as Gf, h as Kf, i as qf, j as Yf, k as Xf, O as el, W as nn, A as Jf, B as Qf, L as Zf, l as eh, V as th, m as nh, o as rh, q as oh, S as ah, r as ih, s as sh, t as lh, v as ch, w as dh, D as uh, x as fh, y as hh, z as mh, F as ph, G as gh, H as Ja } from "./CoachmarkProvider-DIJ-5n7c.js";
7
- import { ak as $N, al as jN, T as WN, U as UN, N as VN, a4 as GN, X as KN, aw as qN, a0 as YN, av as XN, a3 as JN, Q as QN, ai as ZN, ay as eC, ax as tC, aa as nC, a5 as rC, aB as oC, K as aC, af as iC, ac as sC, a7 as lC, aD as cC, a8 as dC, ag as uC, ah as fC, Y as hC, az as mC, aA as pC, a9 as gC, aj as bC, as as vC, au as xC, Z as yC, aF as wC, $ as NC, a1 as CC, ad as IC, aC as kC, ae as SC, ab as TC, aE as EC, _ as RC, a2 as LC, I as AC, J as PC, ao as _C, ap as zC, am as MC, at as OC, a6 as FC, aq as DC, an as BC, ar as HC } from "./CoachmarkProvider-DIJ-5n7c.js";
6
+ import { C as Df, P as Bf, c as jr, n as Hf, E as $f, a as da, b as Yn, M as jf, p as Wf, e as Uf, R as Xa, f as Zs, u as Vf, g as Gf, h as Kf, i as qf, j as Yf, k as Xf, O as el, W as nn, A as Jf, B as Qf, L as Zf, l as eh, V as th, m as nh, o as rh, q as oh, S as ah, r as ih, s as sh, t as lh, v as ch, w as dh, D as uh, x as fh, y as hh, z as mh, F as ph, G as gh, H as Ja } from "./CoachmarkProvider-DnKoMvHs.js";
7
+ import { ak as $N, al as jN, T as WN, U as UN, N as VN, a4 as GN, X as KN, aw as qN, a0 as YN, av as XN, a3 as JN, Q as QN, ai as ZN, ay as eC, ax as tC, aa as nC, a5 as rC, aB as oC, K as aC, af as iC, ac as sC, a7 as lC, aD as cC, a8 as dC, ag as uC, ah as fC, Y as hC, az as mC, aA as pC, a9 as gC, aj as bC, as as vC, au as xC, Z as yC, aF as wC, $ as NC, a1 as CC, ad as IC, aC as kC, ae as SC, ab as TC, aE as EC, _ as RC, a2 as LC, I as AC, J as PC, ao as _C, ap as zC, am as MC, at as OC, a6 as FC, aq as DC, an as BC, ar as HC } from "./CoachmarkProvider-DnKoMvHs.js";
8
8
  import bh, { createPortal as Qa } from "react-dom";
9
9
  const vh = kd("Search", [
10
10
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
@@ -8426,7 +8426,7 @@ const Jl = () => Ut(Wl, "useChatJump"), Pg = () => Ut(Ul, "useChatHighlightedId"
8426
8426
  }, qr = (e, t) => {
8427
8427
  const r = document.createElement("a");
8428
8428
  r.href = e, r.download = t, r.rel = "noreferrer", r.click();
8429
- }, sc = () => import("./ChatPdfThumbnail-CA55drLV.js"), lc = () => import("./ChatSheetThumbnail-BvnxT-4A.js"), cc = () => import("./ChatDocxThumbnail-DzNPNFya.js"), dc = () => import("./ChatTextThumbnail-yVt_iYi7.js"), Hg = ln(sc), $g = ln(lc), jg = ln(cc), Wg = ln(dc), Ug = {
8429
+ }, sc = () => import("./ChatPdfThumbnail-Bki7w90N.js"), lc = () => import("./ChatSheetThumbnail-BvnxT-4A.js"), cc = () => import("./ChatDocxThumbnail-DzNPNFya.js"), dc = () => import("./ChatTextThumbnail-yVt_iYi7.js"), Hg = ln(sc), $g = ln(lc), jg = ln(cc), Wg = ln(dc), Ug = {
8430
8430
  pdf: sc,
8431
8431
  sheet: lc,
8432
8432
  docx: cc,
@@ -10367,7 +10367,7 @@ const fb = {
10367
10367
  }
10368
10368
  ) }) });
10369
10369
  }, Nb = ln(
10370
- () => import("./index-jlgWX7vd.js").then((e) => e.i).then((e) => ({
10370
+ () => import("./index-DlA848zF.js").then((e) => e.i).then((e) => ({
10371
10371
  default: e.F0PdfViewer
10372
10372
  }))
10373
10373
  ), Cb = () => {
package/dist/f0.d.ts CHANGED
@@ -19718,8 +19718,10 @@ declare module "@tiptap/core" {
19718
19718
 
19719
19719
  declare module "@tiptap/core" {
19720
19720
  interface Commands<ReturnType> {
19721
- transcript: {
19722
- insertTranscript: (data: TranscriptData) => ReturnType;
19721
+ videoEmbed: {
19722
+ setVideoEmbed: (options: {
19723
+ src: string;
19724
+ }) => ReturnType;
19723
19725
  };
19724
19726
  }
19725
19727
  }
@@ -19727,10 +19729,8 @@ declare module "@tiptap/core" {
19727
19729
 
19728
19730
  declare module "@tiptap/core" {
19729
19731
  interface Commands<ReturnType> {
19730
- videoEmbed: {
19731
- setVideoEmbed: (options: {
19732
- src: string;
19733
- }) => ReturnType;
19732
+ transcript: {
19733
+ insertTranscript: (data: TranscriptData) => ReturnType;
19734
19734
  };
19735
19735
  }
19736
19736
  }
package/dist/f0.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { hH as uN, w as at, cp as Ab, a7 as dn, h6 as cN, a6 as En, fe as FV, hI as GV, hJ as fN, r as Xt, av as rf, hK as HV, hL as Lw, hM as Mr, hN as Xa, hO as WV, u as Be, aJ as Zv, hP as qi, hQ as Fl, hR as hN, aD as ul, h3 as Hy, hS as UV, S as ee, s as Mb, hT as $V, hU as YV, hV as Nw, em as XV, hW as qV, hX as ZV, hY as dN, hZ as jV, t as jv, v as Kv, m as tt, x as Qv, y as Gr, O as KV, Q as QV, z as nf, A as af, cd as qo, B as of, gh as Wy, am as Ft, V as et, aC as bl, ao as La, aR as Eb, h_ as JV, by as eF, ei as Iw, n as vN, o as xl, ad as Sc, bz as tF, da as xd, cn as pN, h$ as rF, h5 as kw, aw as nF, i0 as Pw, fN as iF, i1 as aF, c6 as gN, ca as mN, g0 as Uy, aW as oF, dl as $y, ce as yN, gD as Gl, gE as sf, gG as _N, hc as sF, gf as bN, aL as xN, ge as lF, i2 as Jv, dW as Lb, gU as uF, at as wN, fM as cF, cD as fF, hD as Nb, bW as SN, b$ as hF, c0 as dF, c1 as vF, d as pF, af as CN, ds as as, e7 as TN, dV as DN, cG as Ib, cb as AN, df as kb, G as cl, H as fl, K as hl, L as dl, gi as va, cf as MN, j as gF, dT as wd, bK as wl, J as Nr, cU as mF, as as EN, cJ as Yy, ej as Cc, cT as yF, dN as lf, ap as Hl, bm as LN, b3 as _F, gN as Or, i3 as bF, i4 as xF, i5 as NN, i6 as ep, i7 as wF, i8 as SF, R as IN, U as kN, cK as CF, i9 as TF, bf as PN, c8 as DF, c9 as AF, ag as Xy, aN as Wl, cs as Ul, eR as uf, e9 as MF, cq as EF, bx as LF, ai as RN, bB as NF, ar as IF, bU as Rw, e6 as Tc, fP as kF, fQ as PF, ia as RF, bl as OF, cw as BF, l as ON, ax as zF, bE as VF, ib as FF, h9 as GF, ay as HF, bp as WF, ab as BN, ic as zN, id as UF, ie as $F, I as YF, ig as XF, ih as qF, ii as ZF, ij as jF } from "./F0CanvasPanel-BR31-R1U.js";
2
2
  import { iB as zhe, C as Vhe, D as Fhe, bd as Ghe, c as Hhe, F as Whe, a as Uhe, iu as $he, f as Yhe, bF as Xhe, be as qhe, cu as Zhe, bS as jhe, b6 as Khe, aG as Qhe, aQ as Jhe, el as ede, aY as tde, cO as rde, g as nde, c2 as ide, cP as ade, ip as ode, iG as sde, bT as lde, e as ude, cc as cde, k as fde, cv as hde, iw as dde, bt as vde, ix as pde, iz as gde, iA as mde, dd as yde, iD as _de, d6 as bde, d7 as xde, P as wde, db as Sde, iy as Cde, d8 as Tde, iC as Dde, iH as Ade, il as Mde, im as Ede, io as Lde, ik as Nde, d9 as Ide, iF as kde, iv as Pde, is as Rde, ir as Ode, dc as Bde, gc as zde, gV as Vde, iE as Fde, bi as Gde, d5 as Hde, d2 as Wde, d4 as Ude, d1 as $de, it as Yde, gX as Xde, gR as qde, gH as Zde, iK as jde, cV as Kde, d3 as Qde, iJ as Jde, bO as eve, ef as tve, gb as rve, gI as nve, b as ive, bR as ave, hb as ove, bg as sve, eg as lve, iq as uve, gT as cve, gS as fve, iI as hve } from "./F0CanvasPanel-BR31-R1U.js";
3
3
  import { jsx as S, jsxs as B, Fragment as it } from "react/jsx-runtime";
4
- import { C as KF, W as QF, s as JF, t as e5, v as t5, w as Ow, aG as r5, aH as n5, G as i5, D as a5, y as o5, F as s5, H as l5, k as u5, K as VN, aI as c5, aJ as f5, aK as h5, aL as d5, aM as v5, aN as FN, aO as p5, n as tp, aP as qa, aQ as g5, aR as Pb, aS as Rb, a3 as m5, aT as y5, aU as xs, aV as GN, aW as _5, aX as b5, aY as x5, aZ as w5, a_ as S5, a$ as C5, af as T5, av as D5, b0 as A5, aa as M5, E as E5, a as L5, f as rp, R as Ob, u as Bb, ad as HN, O as zb, b1 as WN, b2 as Bw, b3 as Vb, N as N5, g as UN, aj as $N, b4 as I5, b5 as k5, b6 as P5, b7 as R5, aw as O5, M as B5 } from "./CoachmarkProvider-DIJ-5n7c.js";
5
- import { T as vve, U as pve, a4 as gve, X as mve, a0 as yve, bu as _ve, bt as bve, bm as xve, b9 as wve, b8 as Sve, ba as Cve, bb as Tve, bd as Dve, be as Ave, ay as Mve, ax as Eve, aB as Lve, ac as Nve, a7 as Ive, aD as kve, a8 as Pve, Y as Rve, bv as Ove, az as Bve, aA as zve, a9 as Vve, Z as Fve, P as Gve, $ as Hve, a1 as Wve, aC as Uve, ab as $ve, aE as Yve, _ as Xve, a2 as qve, bx as Zve, I as jve, J as Kve, bl as Qve, br as Jve, br as epe, bs as tpe, bh as rpe, bg as npe, bw as ipe, at as ape, bj as ope, bk as spe, a6 as lpe, by as upe, bz as cpe, h as fpe, bn as hpe, bo as dpe, bp as vpe, bc as ppe, bi as gpe, i as mpe, bq as ype, bf as _pe, bA as bpe } from "./CoachmarkProvider-DIJ-5n7c.js";
4
+ import { C as KF, W as QF, s as JF, t as e5, v as t5, w as Ow, aG as r5, aH as n5, G as i5, D as a5, y as o5, F as s5, H as l5, k as u5, K as VN, aI as c5, aJ as f5, aK as h5, aL as d5, aM as v5, aN as FN, aO as p5, n as tp, aP as qa, aQ as g5, aR as Pb, aS as Rb, a3 as m5, aT as y5, aU as xs, aV as GN, aW as _5, aX as b5, aY as x5, aZ as w5, a_ as S5, a$ as C5, af as T5, av as D5, b0 as A5, aa as M5, E as E5, a as L5, f as rp, R as Ob, u as Bb, ad as HN, O as zb, b1 as WN, b2 as Bw, b3 as Vb, N as N5, g as UN, aj as $N, b4 as I5, b5 as k5, b6 as P5, b7 as R5, aw as O5, M as B5 } from "./CoachmarkProvider-DnKoMvHs.js";
5
+ import { T as vve, U as pve, a4 as gve, X as mve, a0 as yve, bu as _ve, bt as bve, bm as xve, b9 as wve, b8 as Sve, ba as Cve, bb as Tve, bd as Dve, be as Ave, ay as Mve, ax as Eve, aB as Lve, ac as Nve, a7 as Ive, aD as kve, a8 as Pve, Y as Rve, bv as Ove, az as Bve, aA as zve, a9 as Vve, Z as Fve, P as Gve, $ as Hve, a1 as Wve, aC as Uve, ab as $ve, aE as Yve, _ as Xve, a2 as qve, bx as Zve, I as jve, J as Kve, bl as Qve, br as Jve, br as epe, bs as tpe, bh as rpe, bg as npe, bw as ipe, at as ape, bj as ope, bk as spe, a6 as lpe, by as upe, bz as cpe, h as fpe, bn as hpe, bo as dpe, bp as vpe, bc as ppe, bi as gpe, i as mpe, bq as ype, bf as _pe, bA as bpe } from "./CoachmarkProvider-DnKoMvHs.js";
6
6
  import * as wt from "react";
7
7
  import z5, { forwardRef as Tr, useRef as ce, useImperativeHandle as V5, Children as Sd, createContext as Va, useContext as os, useState as ue, useMemo as me, useEffect as Me, useCallback as de, useLayoutEffect as qy, isValidElement as YN, Fragment as $l, useSyncExternalStore as Sl, useId as lc, memo as F5 } from "react";
8
8
  import { createPortal as np } from "react-dom";
@@ -11,8 +11,8 @@ import { l as Zy, c as XN, d as Cd, r as jy } from "./F0VideoPlayer-CK831O43.js"
11
11
  import { F as wpe } from "./F0VideoPlayer-CK831O43.js";
12
12
  import { D as W5, E as Td, G as Fb, H as qN, I as ZN, J as Qn, K as U5, L as $5, M as Y5, N as X5, O as q5, F as Z5 } from "./F0AiProcessingOverlay-DsRTnmWj.js";
13
13
  import { A as Cpe, C as Tpe, t as Dpe, s as Ape, v as Mpe, y as Epe, l as Lpe, i as Npe, q as Ipe, z as kpe, B as Ppe, p as Rpe, r as Ope, j as Bpe, e as zpe, g as Vpe, k as Fpe, T as Gpe, w as Hpe, h as Wpe, a as Upe, n as $pe, m as Ype, o as Xpe, b as qpe, f as Zpe, x as jpe, c as Kpe, d as Qpe, u as Jpe } from "./F0AiProcessingOverlay-DsRTnmWj.js";
14
- import { F as tge, p as rge } from "./index-jlgWX7vd.js";
15
- import { c as ige } from "./pdfWorker-DK3co3Bk.js";
14
+ import { F as tge, p as rge } from "./index-DlA848zF.js";
15
+ import { c as ige } from "./pdfWorker-RF5IEEDt.js";
16
16
  import { g as j5 } from "./_commonjsHelpers-ByX85dGu.js";
17
17
  import { utils as vl, write as jN } from "./xlsx-CzlURDDb.js";
18
18
  import { defaultTranslations as oge } from "./i18n-provider-defaults.js";
@@ -1327,8 +1327,10 @@ declare module "@tiptap/core" {
1327
1327
 
1328
1328
  declare module "@tiptap/core" {
1329
1329
  interface Commands<ReturnType> {
1330
- transcript: {
1331
- insertTranscript: (data: TranscriptData) => ReturnType;
1330
+ videoEmbed: {
1331
+ setVideoEmbed: (options: {
1332
+ src: string;
1333
+ }) => ReturnType;
1332
1334
  };
1333
1335
  }
1334
1336
  }
@@ -1336,10 +1338,8 @@ declare module "@tiptap/core" {
1336
1338
 
1337
1339
  declare module "@tiptap/core" {
1338
1340
  interface Commands<ReturnType> {
1339
- videoEmbed: {
1340
- setVideoEmbed: (options: {
1341
- src: string;
1342
- }) => ReturnType;
1341
+ transcript: {
1342
+ insertTranscript: (data: TranscriptData) => ReturnType;
1343
1343
  };
1344
1344
  }
1345
1345
  }
@@ -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-BR31-R1U.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-DK3co3Bk.js";
4
+ import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-RF5IEEDt.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-24SsVp_g.js")), Ge = J(() => import("./DocxViewer-CUA5UqFj.js")), Ze = J(() => import("./TextViewer-BRAo06fz.js")), oe = 48, se = ne(
225
+ const qe = J(() => import("./SheetViewer-DKXkRLnJ.js")), Ge = J(() => import("./DocxViewer-DKzO-C2J.js")), Ze = J(() => import("./TextViewer-BoPxdAZB.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 });
@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { createContext, useReducer, forwardRef, useRef, useImperativeHandle, useEffect, useCallback, useMemo, useContext, useLayoutEffect } from "react";
3
3
  import { e as clsx } from "./tooltip-Cik7KBQT.js";
4
4
  import { W as invariant } from "./F0CanvasPanel-BR31-R1U.js";
5
- import { d as dequal } from "./CoachmarkProvider-DIJ-5n7c.js";
5
+ import { d as dequal } from "./CoachmarkProvider-DnKoMvHs.js";
6
6
  import { a as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./_commonjsHelpers-ByX85dGu.js";
7
7
  import { c as commonjsRequire } from "./_commonjs-dynamic-modules-BpilXLfW.js";
8
8
  import './pdfWorker.css';var pdf$1 = { exports: {} };