@factorialco/f0-react 6.14.0 → 6.15.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.
package/dist/f0.d.ts CHANGED
@@ -19629,9 +19629,11 @@ declare module "@tiptap/core" {
19629
19629
 
19630
19630
  declare module "@tiptap/core" {
19631
19631
  interface Commands<ReturnType> {
19632
- fontSize: {
19633
- setFontSize: (fontSize: string) => ReturnType;
19634
- unsetFontSize: () => ReturnType;
19632
+ enhanceHighlight: {
19633
+ setEnhanceHighlight: (from: number, to: number, options?: {
19634
+ placeholder?: string;
19635
+ }) => ReturnType;
19636
+ clearEnhanceHighlight: () => ReturnType;
19635
19637
  };
19636
19638
  }
19637
19639
  }
@@ -19639,11 +19641,9 @@ declare module "@tiptap/core" {
19639
19641
 
19640
19642
  declare module "@tiptap/core" {
19641
19643
  interface Commands<ReturnType> {
19642
- enhanceHighlight: {
19643
- setEnhanceHighlight: (from: number, to: number, options?: {
19644
- placeholder?: string;
19645
- }) => ReturnType;
19646
- clearEnhanceHighlight: () => ReturnType;
19644
+ fontSize: {
19645
+ setFontSize: (fontSize: string) => ReturnType;
19646
+ unsetFontSize: () => ReturnType;
19647
19647
  };
19648
19648
  }
19649
19649
  }
package/dist/f0.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { hF as uN, w as at, cq as Ab, a7 as dn, h4 as cN, a6 as En, fd as FV, hG as GV, hH as fN, r as Xt, av as rf, hI as HV, hJ as Lw, hK as Mr, hL as Xa, hM as WV, u as Be, aJ as Zv, hN as qi, hO as Fl, hP as hN, aD as ul, h1 as Hy, hQ as UV, S as ee, s as Mb, hR as $V, hS as YV, hT as Nw, el as XV, hU as qV, hV as ZV, hW as dN, hX 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, ca as qo, B as of, gg as Wy, am as Ft, V as et, aC as bl, ao as La, aR as Eb, hY as JV, by as eF, ef as Iw, n as vN, o as xl, ad as Sc, bz as tF, d7 as xd, co as pN, hZ as rF, h3 as kw, aw as nF, h_ as Pw, fM as iF, h$ as aF, c5 as gN, cd as mN, f$ as Uy, aW as oF, di as $y, ce as yN, gC as Gl, gD as sf, gF as _N, ha as sF, ge as bN, aL as xN, gd as lF, i0 as Jv, dT as Lb, gT as uF, at as wN, fL as cF, cC as fF, hB as Nb, bV as SN, b_ as hF, b$ as dF, c0 as vF, d as pF, af as CN, dp as as, e4 as TN, dS as DN, cF as Ib, c7 as AN, dc as kb, G as cl, H as fl, K as hl, L as dl, gh as va, cf as MN, j as gF, dQ as wd, bJ as wl, J as Nr, cR as mF, as as EN, cG as Yy, eg as Cc, cQ as yF, dK as lf, ap as Hl, bm as LN, b3 as _F, gM as Or, i1 as bF, i2 as xF, i3 as NN, i4 as ep, i5 as wF, i6 as SF, R as IN, U as kN, cH as CF, i7 as TF, bf as PN, cb as DF, cc as AF, ag as Xy, aN as Wl, ct as Ul, eQ as uf, e6 as MF, cr as EF, bx as LF, ai as RN, bB as NF, ar as IF, bT as Rw, e3 as Tc, fO as kF, fP as PF, i8 as RF, bl as OF, cx as BF, l as ON, ax as zF, cl as VF, i9 as FF, h7 as GF, ay as HF, bp as WF, ab as BN, ia as zN, ib as UF, ic as $F, I as YF, id as XF, ie as qF, ig as ZF, ih as jF } from "./F0CanvasPanel-BaVziWGi.js";
2
2
  import { iz as zhe, C as Vhe, D as Fhe, bd as Ghe, c as Hhe, F as Whe, a as Uhe, is as $he, f as Yhe, bE as Xhe, be as qhe, cv as Zhe, bR as jhe, b6 as Khe, aG as Qhe, aQ as Jhe, ek as ede, aY as tde, cL as rde, g as nde, c1 as ide, cM as ade, im as ode, iE as sde, bS as lde, e as ude, c8 as cde, k as fde, cw as hde, iu as dde, bt as vde, iv as pde, ix as gde, iy as mde, da as yde, iB as _de, d3 as bde, d4 as xde, P as wde, d8 as Sde, iw as Cde, d5 as Tde, iA as Dde, iF as Ade, ij as Mde, ik as Ede, il as Lde, ii as Nde, d6 as Ide, iD as kde, it as Pde, iq as Rde, ip as Ode, d9 as Bde, gb as zde, gU as Vde, iC as Fde, bi as Gde, d2 as Hde, c$ as Wde, d1 as Ude, c_ as $de, ir as Yde, gW as Xde, gQ as qde, gG as Zde, iI as jde, cS as Kde, d0 as Qde, iH as Jde, bN as eve, ec as tve, ga as rve, gH as nve, b as ive, bQ as ave, h9 as ove, bg as sve, ed as lve, io as uve, gS as cve, gR as fve, iG as hve } from "./F0CanvasPanel-BaVziWGi.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, r as JF, s as e5, t as t5, v as Ow, aF as r5, aG as n5, F as i5, D as a5, x as o5, z as s5, G as l5, k as u5, J as VN, aH as c5, aI as f5, aJ as h5, aK as d5, aL as v5, aM as FN, aN as p5, n as tp, aO as qa, aP as g5, aQ as Pb, aR as Rb, a2 as m5, aS as y5, aT as xs, aU as GN, aV as _5, aW as b5, aX as x5, aY as w5, aZ as S5, a_ as C5, ae as T5, au as D5, a$ as A5, a9 as M5, E as E5, a as L5, f as rp, R as Ob, u as Bb, ac as HN, O as zb, b0 as WN, b1 as Bw, b2 as Vb, K as N5, g as UN, ai as $N, b3 as I5, b4 as k5, b5 as P5, b6 as R5, av as O5, M as B5 } from "./CoachmarkProvider-BfLPK4UQ.js";
5
- import { Q as vve, T as pve, a3 as gve, U as mve, $ as yve, bt as _ve, bs as bve, bl as xve, b8 as wve, b7 as Sve, b9 as Cve, ba as Tve, bc as Dve, bd as Ave, ax as Mve, aw as Eve, aA as Lve, ab as Nve, a6 as Ive, aC as kve, a7 as Pve, X as Rve, bu as Ove, ay as Bve, az as zve, a8 as Vve, Y as Fve, P as Gve, _ as Hve, a0 as Wve, aB as Uve, aa as $ve, aD as Yve, Z as Xve, a1 as qve, bw as Zve, H as jve, I as Kve, bk as Qve, bq as Jve, bq as epe, br as tpe, bg as rpe, bf as npe, bv as ipe, as as ape, bi as ope, bj as spe, a5 as lpe, bx as upe, by as cpe, h as fpe, bm as hpe, bn as dpe, bo as vpe, bb as ppe, bh as gpe, i as mpe, bp as ype, be as _pe, bz as bpe } from "./CoachmarkProvider-BfLPK4UQ.js";
4
+ import { C as KF, W as QF, r as JF, s as e5, t as t5, v as Ow, aF as r5, aG as n5, F as i5, D as a5, x as o5, z as s5, G as l5, k as u5, J as VN, aH as c5, aI as f5, aJ as h5, aK as d5, aL as v5, aM as FN, aN as p5, n as tp, aO as qa, aP as g5, aQ as Pb, aR as Rb, a2 as m5, aS as y5, aT as xs, aU as GN, aV as _5, aW as b5, aX as x5, aY as w5, aZ as S5, a_ as C5, ae as T5, au as D5, a$ as A5, a9 as M5, E as E5, a as L5, f as rp, R as Ob, u as Bb, ac as HN, O as zb, b0 as WN, b1 as Bw, b2 as Vb, K as N5, g as UN, ai as $N, b3 as I5, b4 as k5, b5 as P5, b6 as R5, av as O5, M as B5 } from "./CoachmarkProvider-BZOYmPtf.js";
5
+ import { Q as vve, T as pve, a3 as gve, U as mve, $ as yve, bt as _ve, bs as bve, bl as xve, b8 as wve, b7 as Sve, b9 as Cve, ba as Tve, bc as Dve, bd as Ave, ax as Mve, aw as Eve, aA as Lve, ab as Nve, a6 as Ive, aC as kve, a7 as Pve, X as Rve, bu as Ove, ay as Bve, az as zve, a8 as Vve, Y as Fve, P as Gve, _ as Hve, a0 as Wve, aB as Uve, aa as $ve, aD as Yve, Z as Xve, a1 as qve, bw as Zve, H as jve, I as Kve, bk as Qve, bq as Jve, bq as epe, br as tpe, bg as rpe, bf as npe, bv as ipe, as as ape, bi as ope, bj as spe, a5 as lpe, bx as upe, by as cpe, h as fpe, bm as hpe, bn as dpe, bo as vpe, bb as ppe, bh as gpe, i as mpe, bp as ype, be as _pe, bz as bpe } from "./CoachmarkProvider-BZOYmPtf.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-D0FM9YSS.js"
11
11
  import { F as wpe } from "./F0VideoPlayer-D0FM9YSS.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-LUNmxmv6.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-LUNmxmv6.js";
14
- import { F as tge, p as rge } from "./index-sttJnSgh.js";
15
- import { c as ige } from "./pdfWorker-ztkiVyPO.js";
14
+ import { F as tge, p as rge } from "./index-Db0jOPZS.js";
15
+ import { c as ige } from "./pdfWorker-NANwCJGE.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";
@@ -1276,9 +1276,11 @@ declare module "@tiptap/core" {
1276
1276
 
1277
1277
  declare module "@tiptap/core" {
1278
1278
  interface Commands<ReturnType> {
1279
- fontSize: {
1280
- setFontSize: (fontSize: string) => ReturnType;
1281
- unsetFontSize: () => ReturnType;
1279
+ enhanceHighlight: {
1280
+ setEnhanceHighlight: (from: number, to: number, options?: {
1281
+ placeholder?: string;
1282
+ }) => ReturnType;
1283
+ clearEnhanceHighlight: () => ReturnType;
1282
1284
  };
1283
1285
  }
1284
1286
  }
@@ -1286,11 +1288,9 @@ declare module "@tiptap/core" {
1286
1288
 
1287
1289
  declare module "@tiptap/core" {
1288
1290
  interface Commands<ReturnType> {
1289
- enhanceHighlight: {
1290
- setEnhanceHighlight: (from: number, to: number, options?: {
1291
- placeholder?: string;
1292
- }) => ReturnType;
1293
- clearEnhanceHighlight: () => ReturnType;
1291
+ fontSize: {
1292
+ setFontSize: (fontSize: string) => ReturnType;
1293
+ unsetFontSize: () => ReturnType;
1294
1294
  };
1295
1295
  }
1296
1296
  }
@@ -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-BaVziWGi.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-ztkiVyPO.js";
4
+ import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-NANwCJGE.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-N3SRbJIT.js")), Ge = J(() => import("./DocxViewer-Dwqp4ftc.js")), Ze = J(() => import("./TextViewer-Bae_zMuw.js")), oe = 48, se = ne(
225
+ const qe = J(() => import("./SheetViewer-CWYHmzco.js")), Ge = J(() => import("./DocxViewer-StraMvwi.js")), Ze = J(() => import("./TextViewer-DOJ-tzi2.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-BaVziWGi.js";
5
- import { d as dequal } from "./CoachmarkProvider-BfLPK4UQ.js";
5
+ import { d as dequal } from "./CoachmarkProvider-BZOYmPtf.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: {} };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "6.14.0",
3
+ "version": "6.15.0",
4
4
  "private": false,
5
5
  "files": [
6
6
  "assets",