@factorialco/f0-react 6.14.0 → 6.16.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/{ChatPdfThumbnail-C5p2koTa.js → ChatPdfThumbnail-D4cWJWmH.js} +1 -1
- package/dist/{CoachmarkProvider-BfLPK4UQ.js → CoachmarkProvider-CHQkg-XU.js} +4984 -4982
- package/dist/{DocumentToolbar-CIAaZveP.js → DocumentToolbar-BH7eIb_4.js} +2 -2
- package/dist/{DocxViewer-Dwqp4ftc.js → DocxViewer-U1eIEZfb.js} +2 -2
- package/dist/{F0AiProcessingOverlay-LUNmxmv6.js → F0AiProcessingOverlay-tkweqfj-.js} +1 -1
- package/dist/{F0CanvasPanel-BaVziWGi.js → F0CanvasPanel-AzUcdyo_.js} +10918 -10909
- package/dist/{F0VideoPlayer-D0FM9YSS.js → F0VideoPlayer-aOwaSsX3.js} +1 -1
- package/dist/{SheetViewer-N3SRbJIT.js → SheetViewer-BUUgGaqh.js} +2 -2
- package/dist/{TextViewer-Bae_zMuw.js → TextViewer-Bn0pOdK-.js} +2 -2
- package/dist/ai.d.ts +8 -8
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +8 -8
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +88 -11
- package/dist/experimental.js +2391 -2282
- package/dist/f0.d.ts +9 -8
- package/dist/f0.js +10 -10
- package/dist/i18n-provider-defaults.d.ts +8 -8
- package/dist/{index-sttJnSgh.js → index-CS9Y71A5.js} +3 -3
- package/dist/index-qorAs8mV.js +4 -0
- package/dist/{pdfWorker-ztkiVyPO.js → pdfWorker-B3Q3cU0Q.js} +2 -2
- package/package.json +1 -1
- package/dist/index-BfTe3kmv.js +0 -4
package/dist/f0.d.ts
CHANGED
|
@@ -11934,6 +11934,7 @@ export declare const F0Select: <T extends string = string, R = unknown>(props: F
|
|
|
11934
11934
|
*/
|
|
11935
11935
|
declare type F0SelectBaseProps<T extends string, R = unknown> = {
|
|
11936
11936
|
withApplySelection?: boolean;
|
|
11937
|
+
applySelectionLabel?: string;
|
|
11937
11938
|
onChangeSelectedOption?: (option: F0SelectItemObject<T, ResolvedRecordType<R>> | undefined, checked: boolean) => void;
|
|
11938
11939
|
children?: React.ReactNode;
|
|
11939
11940
|
open?: boolean;
|
|
@@ -19629,9 +19630,11 @@ declare module "@tiptap/core" {
|
|
|
19629
19630
|
|
|
19630
19631
|
declare module "@tiptap/core" {
|
|
19631
19632
|
interface Commands<ReturnType> {
|
|
19632
|
-
|
|
19633
|
-
|
|
19634
|
-
|
|
19633
|
+
enhanceHighlight: {
|
|
19634
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
19635
|
+
placeholder?: string;
|
|
19636
|
+
}) => ReturnType;
|
|
19637
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
19635
19638
|
};
|
|
19636
19639
|
}
|
|
19637
19640
|
}
|
|
@@ -19639,11 +19642,9 @@ declare module "@tiptap/core" {
|
|
|
19639
19642
|
|
|
19640
19643
|
declare module "@tiptap/core" {
|
|
19641
19644
|
interface Commands<ReturnType> {
|
|
19642
|
-
|
|
19643
|
-
|
|
19644
|
-
|
|
19645
|
-
}) => ReturnType;
|
|
19646
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
19645
|
+
fontSize: {
|
|
19646
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
19647
|
+
unsetFontSize: () => ReturnType;
|
|
19647
19648
|
};
|
|
19648
19649
|
}
|
|
19649
19650
|
}
|
package/dist/f0.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
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-
|
|
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-
|
|
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-AzUcdyo_.js";
|
|
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-AzUcdyo_.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-
|
|
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-
|
|
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-CHQkg-XU.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-CHQkg-XU.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";
|
|
9
9
|
import { d as re, u as cf, h as G5, i as tl, P as ff, g as Yl, j as H5, f as Fa } from "./tooltip-Cik7KBQT.js";
|
|
10
|
-
import { l as Zy, c as XN, d as Cd, r as jy } from "./F0VideoPlayer-
|
|
11
|
-
import { F as wpe } from "./F0VideoPlayer-
|
|
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-
|
|
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-
|
|
14
|
-
import { F as tge, p as rge } from "./index-
|
|
15
|
-
import { c as ige } from "./pdfWorker-
|
|
10
|
+
import { l as Zy, c as XN, d as Cd, r as jy } from "./F0VideoPlayer-aOwaSsX3.js";
|
|
11
|
+
import { F as wpe } from "./F0VideoPlayer-aOwaSsX3.js";
|
|
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-tkweqfj-.js";
|
|
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-tkweqfj-.js";
|
|
14
|
+
import { F as tge, p as rge } from "./index-CS9Y71A5.js";
|
|
15
|
+
import { c as ige } from "./pdfWorker-B3Q3cU0Q.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
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
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
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
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
|
-
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-
|
|
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-AzUcdyo_.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-
|
|
4
|
+
import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-B3Q3cU0Q.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-
|
|
225
|
+
const qe = J(() => import("./SheetViewer-BUUgGaqh.js")), Ge = J(() => import("./DocxViewer-U1eIEZfb.js")), Ze = J(() => import("./TextViewer-Bn0pOdK-.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 });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
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
|
-
import { W as invariant } from "./F0CanvasPanel-
|
|
5
|
-
import { d as dequal } from "./CoachmarkProvider-
|
|
4
|
+
import { W as invariant } from "./F0CanvasPanel-AzUcdyo_.js";
|
|
5
|
+
import { d as dequal } from "./CoachmarkProvider-CHQkg-XU.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
package/dist/index-BfTe3kmv.js
DELETED