@factorialco/f0-react 6.16.0 → 6.16.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.
- package/dist/{ChatPdfThumbnail-D4cWJWmH.js → ChatPdfThumbnail-DpmezNrE.js} +1 -1
- package/dist/{CoachmarkProvider-CHQkg-XU.js → CoachmarkProvider-Bpg1z4PQ.js} +5665 -5653
- package/dist/{DocumentToolbar-BH7eIb_4.js → DocumentToolbar-Blp1K8da.js} +2 -2
- package/dist/{DocxViewer-U1eIEZfb.js → DocxViewer-CPKkkAgl.js} +2 -2
- package/dist/{F0AiProcessingOverlay-tkweqfj-.js → F0AiProcessingOverlay-CFNWLXy-.js} +1 -1
- package/dist/{F0CanvasPanel-AzUcdyo_.js → F0CanvasPanel-grLHLh5g.js} +15603 -15586
- package/dist/{F0VideoPlayer-aOwaSsX3.js → F0VideoPlayer-D2ELBwPf.js} +1 -1
- package/dist/{SheetViewer-BUUgGaqh.js → SheetViewer-6Jy4tSWV.js} +2 -2
- package/dist/{TextViewer-Bn0pOdK-.js → TextViewer-D3kXNDxC.js} +2 -2
- package/dist/ai.d.ts +7 -7
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +7 -7
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +22 -7
- package/dist/experimental.js +2893 -2885
- package/dist/f0.d.ts +22 -7
- package/dist/f0.js +10 -10
- package/dist/i18n-provider-defaults.d.ts +7 -7
- package/dist/index-BZb3ahxG.js +4 -0
- package/dist/{index-CS9Y71A5.js → index-DamOOup-.js} +3 -3
- package/dist/{pdfWorker-B3Q3cU0Q.js → pdfWorker-DCzmXymk.js} +2 -2
- package/package.json +1 -1
- package/dist/index-qorAs8mV.js +0 -4
package/dist/f0.d.ts
CHANGED
|
@@ -18617,6 +18617,21 @@ export declare interface UseDataReturn<R extends RecordType> {
|
|
|
18617
18617
|
loadMore: () => void;
|
|
18618
18618
|
totalItems: number | undefined;
|
|
18619
18619
|
mergedFilters: FiltersState<FiltersDefinition>;
|
|
18620
|
+
/**
|
|
18621
|
+
* Opaque identity of the query whose response produced `data` — filters,
|
|
18622
|
+
* search, sortings and pagination position, as they were when that fetch was
|
|
18623
|
+
* issued. Undefined until the first response commits.
|
|
18624
|
+
*
|
|
18625
|
+
* Compare it across renders to tell "these rows answer a different question"
|
|
18626
|
+
* from "these rows changed". The live filter/search state on the source can't
|
|
18627
|
+
* do that: it moves a render (and a debounce) before the matching rows do, so
|
|
18628
|
+
* there is always a window where it describes a query the rendered rows do
|
|
18629
|
+
* not answer.
|
|
18630
|
+
*
|
|
18631
|
+
* Optional so existing constructors of this interface (mocks, adapters) stay
|
|
18632
|
+
* valid; `useData` itself always returns it.
|
|
18633
|
+
*/
|
|
18634
|
+
committedQuery?: string;
|
|
18620
18635
|
}
|
|
18621
18636
|
|
|
18622
18637
|
/**
|
|
@@ -19642,9 +19657,10 @@ declare module "@tiptap/core" {
|
|
|
19642
19657
|
|
|
19643
19658
|
declare module "@tiptap/core" {
|
|
19644
19659
|
interface Commands<ReturnType> {
|
|
19645
|
-
|
|
19646
|
-
|
|
19647
|
-
|
|
19660
|
+
indent: {
|
|
19661
|
+
setIndent: (level: number) => ReturnType;
|
|
19662
|
+
unsetIndent: () => ReturnType;
|
|
19663
|
+
outdent: () => ReturnType;
|
|
19648
19664
|
};
|
|
19649
19665
|
}
|
|
19650
19666
|
}
|
|
@@ -19652,10 +19668,9 @@ declare module "@tiptap/core" {
|
|
|
19652
19668
|
|
|
19653
19669
|
declare module "@tiptap/core" {
|
|
19654
19670
|
interface Commands<ReturnType> {
|
|
19655
|
-
|
|
19656
|
-
|
|
19657
|
-
|
|
19658
|
-
outdent: () => ReturnType;
|
|
19671
|
+
fontSize: {
|
|
19672
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
19673
|
+
unsetFontSize: () => ReturnType;
|
|
19659
19674
|
};
|
|
19660
19675
|
}
|
|
19661
19676
|
}
|
package/dist/f0.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { hG as uN, w as at, cq as Ab, a7 as dn, h5 as cN, a6 as En, fd as FV, hH as GV, hI as fN, r as Xt, av as rf, hJ as HV, hK as Lw, hL as Mr, hM as Xa, hN as WV, u as Be, aJ as Zv, hO as qi, hP as Fl, hQ as hN, aD as ul, h2 as Hy, hR as UV, S as ee, s as Mb, hS as $V, hT as YV, hU as Nw, el as XV, hV as qV, hW as ZV, hX as dN, hY 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, hZ 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, h_ as rF, h4 as kw, aw as nF, h$ as Pw, fM as iF, i0 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, hb as sF, ge as bN, aL as xN, gd as lF, i1 as Jv, dT as Lb, gT as uF, at as wN, fL as cF, cC as fF, hC 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, i2 as bF, i3 as xF, i4 as NN, i5 as ep, i6 as wF, i7 as SF, R as IN, U as kN, cH as CF, i8 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, i9 as RF, bl as OF, cx as BF, l as ON, ax as zF, cl as VF, ia as FF, h8 as GF, ay as HF, bp as WF, ab as BN, ib as zN, ic as UF, id as $F, I as YF, ie as XF, ig as qF, ih as ZF, ii as jF } from "./F0CanvasPanel-grLHLh5g.js";
|
|
2
|
+
import { iA as zhe, C as Vhe, D as Fhe, bd as Ghe, c as Hhe, F as Whe, a as Uhe, it 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, io as ode, iF as sde, bS as lde, e as ude, c8 as cde, k as fde, cw as hde, iv as dde, bt as vde, iw as pde, iy as gde, iz as mde, da as yde, iC as _de, d3 as bde, d4 as xde, P as wde, d8 as Sde, ix as Cde, d5 as Tde, iB as Dde, iG as Ade, ik as Mde, il as Ede, im as Lde, ij as Nde, d6 as Ide, iE as kde, iu as Pde, ir as Rde, iq as Ode, d9 as Bde, gb as zde, gU as Vde, iD as Fde, bi as Gde, d2 as Hde, c$ as Wde, d1 as Ude, c_ as $de, is as Yde, gW as Xde, gQ as qde, gG as Zde, iJ as jde, cS as Kde, d0 as Qde, iI as Jde, bN as eve, ec as tve, ga as rve, gH as nve, b as ive, bQ as ave, ha as ove, bg as sve, ed as lve, ip as uve, gS as cve, gR as fve, iH as hve } from "./F0CanvasPanel-grLHLh5g.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-Bpg1z4PQ.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-Bpg1z4PQ.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-D2ELBwPf.js";
|
|
11
|
+
import { F as wpe } from "./F0VideoPlayer-D2ELBwPf.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-CFNWLXy-.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-CFNWLXy-.js";
|
|
14
|
+
import { F as tge, p as rge } from "./index-DamOOup-.js";
|
|
15
|
+
import { c as ige } from "./pdfWorker-DCzmXymk.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";
|
|
@@ -1288,9 +1288,10 @@ declare module "@tiptap/core" {
|
|
|
1288
1288
|
|
|
1289
1289
|
declare module "@tiptap/core" {
|
|
1290
1290
|
interface Commands<ReturnType> {
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1291
|
+
indent: {
|
|
1292
|
+
setIndent: (level: number) => ReturnType;
|
|
1293
|
+
unsetIndent: () => ReturnType;
|
|
1294
|
+
outdent: () => ReturnType;
|
|
1294
1295
|
};
|
|
1295
1296
|
}
|
|
1296
1297
|
}
|
|
@@ -1298,10 +1299,9 @@ declare module "@tiptap/core" {
|
|
|
1298
1299
|
|
|
1299
1300
|
declare module "@tiptap/core" {
|
|
1300
1301
|
interface Commands<ReturnType> {
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
outdent: () => ReturnType;
|
|
1302
|
+
fontSize: {
|
|
1303
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
1304
|
+
unsetFontSize: () => ReturnType;
|
|
1305
1305
|
};
|
|
1306
1306
|
}
|
|
1307
1307
|
}
|
|
@@ -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-grLHLh5g.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-DCzmXymk.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-6Jy4tSWV.js")), Ge = J(() => import("./DocxViewer-CPKkkAgl.js")), Ze = J(() => import("./TextViewer-D3kXNDxC.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-grLHLh5g.js";
|
|
5
|
+
import { d as dequal } from "./CoachmarkProvider-Bpg1z4PQ.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-qorAs8mV.js
DELETED