@factorialco/f0-react 7.20.0 → 7.21.1

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.
Files changed (27) hide show
  1. package/dist/{ChatPdfThumbnail-B08WkQr5.js → ChatPdfThumbnail-BsW9PHhB.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-CDpQA9SZ.js → ChatPostComposerDialog-oYYbyFHr.js} +3 -3
  3. package/dist/{DocumentToolbar-DBMC0tEb.js → DocumentToolbar-DLszIp0d.js} +2 -2
  4. package/dist/{DocxViewer-DtBXcIGW.js → DocxViewer-BKmZzMTc.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-ALgvivd7.js → F0AiProcessingOverlay-DTy1V2AM.js} +1 -1
  6. package/dist/{F0CanvasPanel-DdPS8Xoa.js → F0CanvasPanel-DVxLdNFT.js} +13001 -12961
  7. package/dist/{F0VideoPlayer-Df62rfwr.js → F0VideoPlayer-CGCxboCp.js} +1 -1
  8. package/dist/{MapProvider-CPKaaKCa.js → MapProvider-BDyF6hFR.js} +3042 -3041
  9. package/dist/{SheetViewer-BGKB5VH_.js → SheetViewer-DKytmrij.js} +2 -2
  10. package/dist/{TextViewer-BxgshUHa.js → TextViewer-yLiuobWX.js} +2 -2
  11. package/dist/ai.d.ts +9 -9
  12. package/dist/ai.js +2 -2
  13. package/dist/component-status.d.ts +9 -9
  14. package/dist/component-status.js +1 -1
  15. package/dist/{experimental-BmjOlbLv.js → experimental-BhhUcnDu.js} +7107 -6599
  16. package/dist/experimental.d.ts +20 -10
  17. package/dist/experimental.js +207 -205
  18. package/dist/f0.d.ts +17 -10
  19. package/dist/f0.js +20 -12
  20. package/dist/i18n-provider-defaults.d.ts +9 -9
  21. package/dist/{index-C8Eip11M.js → index-BC8evOMv.js} +3 -3
  22. package/dist/index-BNGg9gpx.js +4 -0
  23. package/dist/{index-DDIqbZ5d.js → index-CS9FvHhv.js} +2 -2
  24. package/dist/index-CU9jEqQP.js +281 -0
  25. package/dist/{pdfWorker-DQXrBQjj.js → pdfWorker-BIfcH4Xl.js} +2 -2
  26. package/package.json +2 -1
  27. package/dist/index-2_8jPx76.js +0 -4
package/dist/f0.js CHANGED
@@ -1,18 +1,18 @@
1
- import { e$ as bN, w as st, eq as k_, cE as mn, f0 as _N, f1 as iF, c8 as In, f2 as aF, f3 as oF, f4 as xN, t as rr, cg as mf, f5 as Hw, f6 as Nr, f7 as Ka, f8 as sF, f9 as Si, u as Ve, c6 as up, fa as jl, fb as lF, fc as wN, c5 as hl, fd as Zy, fe as uF, S as ie, v as P_, ff as cF, fg as fF, fh as Ww, cK as dF, fi as hF, fj as vF, fk as SN, fl as pF, x as yf, y as bf, o as at, z as _f, A as $r, U as gF, V as mF, B as Dl, E as Al, aE as ka, H as Ml, fm as jy, dN as kt, Y as it, al as El, e7 as Pa, d7 as CN, de as R_, fn as yF, cx as bF, cy as $w, q as TN, r as Ll, c7 as kc, cz as _F, eW as Bh, en as DN, fo as xF, fp as Uw, d4 as wF, fq as Yw, da as SF, fr as CF, cd as AN, ej as MN, fs as Ky, ft as Kl, fu as xf, fv as TF, fw as EN, di as DF, aa as Qy, a9 as O_, fx as LN, fy as AF, fz as cp, bd as B_, fA as MF, cl as NN, fB as EF, aB as LF, fC as z_, bg as IN, ch as NF, ci as IF, cj as kF, d as PF, bN as kN, an as ls, bT as PN, bc as RN, aj as V_, bV as ON, _ as F_, K as vl, L as pl, N as gl, O as ml, fD as Oi, a2 as BN, j as RF, M as Pr, eG as OF, ba as zh, ay as Nl, c3 as G_, be as Jy, cB as Pc, cu as BF, a$ as wf, aw as Ql, am as zN, dD as VN, dq as FN, fE as Vr, fF as zF, fG as VF, fH as FF, fI as H_, fJ as GF, fK as HF, cP as ri, W as GN, X as HN, m as WF, fL as $F, cn as WN, eh as UF, ei as YF, c0 as yl, d8 as Jl, et as eu, fM as Sf, bW as XF, er as qF, bD as ZF, ap as $N, dc as jF, ao as KF, b4 as Xw, bR as Rc, fN as QF, aW as JF, fO as e5, fP as t5, fQ as r5, b as UN, d5 as YN, ct as n5, b7 as i5, l as XN, ab as a5, a8 as o5, fR as s5, fS as l5, fT as u5, fU as c5, dK as qN, cW as f5, cf as d5, fV as ZN, fW as h5, fX as v5, I as p5, fY as g5, fZ as m5, f_ as y5, f$ as b5 } from "./F0CanvasPanel-DdPS8Xoa.js";
2
- import { gk as _he, C as xhe, D as whe, dx as She, c as Che, F as The, a as Dhe, gd as Ahe, f as Mhe, cI as Ehe, dy as Lhe, ev as Nhe, co as Ihe, cp as khe, cG as Phe, cm as Rhe, cH as Ohe, dk as Bhe, dM as zhe, g as Vhe, ck as Fhe, c9 as Ghe, g4 as Hhe, gw as Whe, c2 as $he, e as Uhe, ep as Yhe, k as Xhe, cJ as qhe, gf as Zhe, dI as jhe, gg as Khe, gi as Qhe, gj as Jhe, eZ as eve, gm as tve, gn as rve, eS as nve, eT as ive, P as ave, eX as ove, gh as sve, eU as lve, gl as uve, gx as cve, g1 as fve, g2 as dve, g3 as hve, g0 as vve, eV as pve, gr as gve, ge as mve, g9 as yve, g8 as bve, eY as _ve, g7 as xve, gu as wve, gq as Sve, dA as Cve, eR as Tve, eO as Dve, eQ as Ave, eM as Mve, ga as Eve, gp as Lve, go as Nve, gb as Ive, gA as kve, ez as Pve, eP as Rve, gz as Ove, ed as Bve, eN as zve, cr as Vve, g6 as Fve, gc as Gve, eg as Hve, gs as Wve, dz as $ve, cs as Uve, g5 as Yve, gt as Xve, gv as qve, gy as Zve } from "./F0CanvasPanel-DdPS8Xoa.js";
1
+ import { e$ as bN, w as st, eq as k_, cE as mn, f0 as _N, f1 as iF, c8 as In, f2 as aF, f3 as oF, f4 as xN, t as rr, cg as mf, f5 as Hw, f6 as Nr, f7 as Ka, f8 as sF, f9 as Si, u as Ve, c6 as up, fa as jl, fb as lF, fc as wN, c5 as hl, fd as Zy, fe as uF, S as ie, v as P_, ff as cF, fg as fF, fh as Ww, cK as dF, fi as hF, fj as vF, fk as SN, fl as pF, x as yf, y as bf, o as at, z as _f, A as $r, U as gF, V as mF, B as Dl, E as Al, aE as ka, H as Ml, fm as jy, dN as kt, Y as it, al as El, e7 as Pa, d7 as CN, de as R_, fn as yF, cx as bF, cy as $w, q as TN, r as Ll, c7 as kc, cz as _F, eW as Bh, en as DN, fo as xF, fp as Uw, d4 as wF, fq as Yw, da as SF, fr as CF, cd as AN, ej as MN, fs as Ky, ft as Kl, fu as xf, fv as TF, fw as EN, di as DF, aa as Qy, a9 as O_, fx as LN, fy as AF, fz as cp, bd as B_, fA as MF, cl as NN, fB as EF, aB as LF, fC as z_, bg as IN, ch as NF, ci as IF, cj as kF, d as PF, bN as kN, an as ls, bT as PN, bc as RN, aj as V_, bV as ON, _ as F_, K as vl, L as pl, N as gl, O as ml, fD as Oi, a2 as BN, j as RF, M as Pr, eG as OF, ba as zh, ay as Nl, c3 as G_, be as Jy, cB as Pc, cu as BF, a$ as wf, aw as Ql, am as zN, dD as VN, dq as FN, fE as Vr, fF as zF, fG as VF, fH as FF, fI as H_, fJ as GF, fK as HF, cP as ri, W as GN, X as HN, m as WF, fL as $F, cn as WN, eh as UF, ei as YF, c0 as yl, d8 as Jl, et as eu, fM as Sf, bW as XF, er as qF, bD as ZF, ap as $N, dc as jF, ao as KF, b4 as Xw, bR as Rc, fN as QF, aW as JF, fO as e5, fP as t5, fQ as r5, b as UN, d5 as YN, ct as n5, b7 as i5, l as XN, ab as a5, a8 as o5, fR as s5, fS as l5, fT as u5, fU as c5, dK as qN, cW as f5, cf as d5, fV as ZN, fW as h5, fX as v5, I as p5, fY as g5, fZ as m5, f_ as y5, f$ as b5 } from "./F0CanvasPanel-DVxLdNFT.js";
2
+ import { gk as _he, C as xhe, D as whe, dx as She, c as Che, F as The, a as Dhe, gd as Ahe, f as Mhe, cI as Ehe, dy as Lhe, ev as Nhe, co as Ihe, cp as khe, cG as Phe, cm as Rhe, cH as Ohe, dk as Bhe, dM as zhe, g as Vhe, ck as Fhe, c9 as Ghe, g4 as Hhe, gw as Whe, c2 as $he, e as Uhe, ep as Yhe, k as Xhe, cJ as qhe, gf as Zhe, dI as jhe, gg as Khe, gi as Qhe, gj as Jhe, eZ as eve, gm as tve, gn as rve, eS as nve, eT as ive, P as ave, eX as ove, gh as sve, eU as lve, gl as uve, gx as cve, g1 as fve, g2 as dve, g3 as hve, g0 as vve, eV as pve, gr as gve, ge as mve, g9 as yve, g8 as bve, eY as _ve, g7 as xve, gu as wve, gq as Sve, dA as Cve, eR as Tve, eO as Dve, eQ as Ave, eM as Mve, ga as Eve, gp as Lve, go as Nve, gb as Ive, gA as kve, ez as Pve, eP as Rve, gz as Ove, ed as Bve, eN as zve, cr as Vve, g6 as Fve, gc as Gve, eg as Hve, gs as Wve, dz as $ve, cs as Uve, g5 as Yve, gt as Xve, gv as qve, gy as Zve } from "./F0CanvasPanel-DVxLdNFT.js";
3
3
  import { jsx as x, jsxs as B, Fragment as et } from "react/jsx-runtime";
4
- import { j as _5, W as x5, T as w5, U as S5, X as C5, Y as qw, b0 as T5, b1 as D5, a3 as A5, Z as M5, $ as E5, a1 as L5, a2 as N5, x as I5, a8 as jN, b2 as k5, b3 as P5, b4 as R5, b5 as O5, b6 as B5, b7 as KN, b8 as z5, n as W_, b9 as Qa, ba as Cs, bb as QN, bc as V5, bd as F5, be as G5, bf as H5, N as $_, bg as U_, al as W5, bh as $5, bi as U5, bj as Y5, bk as X5, aB as q5, aR as Z5, bl as j5, av as K5, E as Q5, a as J5, l as fp, R as Y_, m as X_, az as JN, O as q_, bm as eI, bn as Zw, bo as Z_, a9 as eG, bp as e0, z as tG, o as tI, aF as rI, bq as rG, br as nG, bs as iG, bt as Ts, bu as aG, aS as oG, bv as sG, M as lG } from "./MapProvider-CPKaaKCa.js";
5
- import { ab as Kve, ac as Qve, am as Jve, ad as epe, ai as tpe, bR as rpe, bQ as npe, bJ as ipe, bx as ape, bw as ope, by as spe, bz as lpe, bB as upe, Q as cpe, aU as fpe, aT as dpe, aw as hpe, F as vpe, ay as ppe, at as gpe, ar as mpe, aY as ype, as as bpe, ae as _pe, bS as xpe, aV as wpe, aW as Spe, au as Cpe, af as Tpe, k as Dpe, ah as Ape, aj as Mpe, aX as Epe, ax as Lpe, aZ as Npe, ag as Ipe, ak as kpe, bU as Ppe, a7 as Rpe, a5 as Ope, a6 as Bpe, bI as zpe, bO as Vpe, bO as Fpe, bP as Gpe, bE as Hpe, bD as Wpe, bT as $pe, aP as Upe, bG as Ype, bH as Xpe, aq as qpe, ap as Zpe, bV as jpe, bW as Kpe, w as Qpe, q as Jpe, bK as ege, bL as tge, bM as rge, bA as nge, bF as ige, s as age, bN as oge, bC as sge, bX as lge } from "./MapProvider-CPKaaKCa.js";
4
+ import { k as _5, W as x5, U as w5, X as S5, Y as C5, Z as qw, b1 as T5, b2 as D5, a4 as A5, _ as M5, a0 as E5, a2 as L5, a3 as N5, y as I5, a9 as jN, b3 as k5, b4 as P5, b5 as R5, b6 as O5, b7 as B5, b8 as KN, b9 as z5, n as W_, ba as Qa, bb as Cs, bc as QN, bd as V5, be as F5, bf as G5, bg as H5, Q as $_, bh as U_, am as W5, bi as $5, bj as U5, bk as Y5, bl as X5, aC as q5, aS as Z5, bm as j5, aw as K5, E as Q5, a as J5, m as fp, R as Y_, o as X_, aA as JN, O as q_, bn as eI, bo as Zw, bp as Z_, aa as eG, bq as e0, A as tG, q as tI, aG as rI, br as rG, bs as nG, bt as iG, bu as Ts, bv as aG, aT as oG, bw as sG, M as lG } from "./MapProvider-BDyF6hFR.js";
5
+ import { ac as Kve, ad as Qve, an as Jve, ae as epe, aj as tpe, bS as rpe, bR as npe, bK as ipe, by as ape, bx as ope, bz as spe, bA as lpe, bC as upe, T as cpe, aV as fpe, aU as dpe, ax as hpe, F as vpe, az as ppe, au as gpe, as as mpe, aZ as ype, at as bpe, af as _pe, bT as xpe, aW as wpe, aX as Spe, av as Cpe, ag as Tpe, l as Dpe, ai as Ape, ak as Mpe, aY as Epe, ay as Lpe, a_ as Npe, ah as Ipe, al as kpe, bV as Ppe, a8 as Rpe, a6 as Ope, a7 as Bpe, bJ as zpe, bP as Vpe, bP as Fpe, bQ as Gpe, bF as Hpe, bE as Wpe, bU as $pe, aQ as Upe, bH as Ype, bI as Xpe, ar as qpe, aq as Zpe, bW as jpe, bX as Kpe, x as Qpe, s as Jpe, bL as ege, bM as tge, bN as rge, bB as nge, bG as ige, t as age, bO as oge, bD as sge, bY as lge } from "./MapProvider-BDyF6hFR.js";
6
6
  import * as St from "react";
7
7
  import uG, { forwardRef as Mr, useRef as se, useImperativeHandle as cG, Children as Vh, createContext as Wa, useContext as $a, useState as fe, useMemo as me, useEffect as be, useCallback as de, useLayoutEffect as Oc, isValidElement as nI, Fragment as tu, memo as j_, useSyncExternalStore as Il, useId as bl } from "react";
8
8
  import { createPortal as Cf } from "react-dom";
9
9
  import { d as ae, g as Tf, h as fG, i as al, j as Df, u as ru, k as dG, f as Ci } from "./tooltip-BElsa4MF.js";
10
- import { l as t0, c as iI, d as Fh, r as r0 } from "./F0VideoPlayer-Df62rfwr.js";
11
- import { F as cge } from "./F0VideoPlayer-Df62rfwr.js";
12
- import { F as dge, p as hge } from "./index-C8Eip11M.js";
13
- import { c as pge } from "./pdfWorker-DQXrBQjj.js";
14
- import { G as hG, H as Gh, I as K_, J as aI, K as vG, L as pG, M as gG, N as mG, O as yG, F as bG } from "./F0AiProcessingOverlay-ALgvivd7.js";
15
- import { A as mge, C as yge, t as bge, s as _ge, v as xge, y as wge, z as Sge, l as Cge, i as Tge, q as Dge, D as Age, E as Mge, p as Ege, r as Lge, j as Nge, e as Ige, g as kge, k as Pge, T as Rge, w as Oge, h as Bge, a as zge, n as Vge, m as Fge, o as Gge, B as Hge, b as Wge, f as $ge, x as Uge, c as Yge, d as Xge, u as qge } from "./F0AiProcessingOverlay-ALgvivd7.js";
10
+ import { l as t0, c as iI, d as Fh, r as r0 } from "./F0VideoPlayer-CGCxboCp.js";
11
+ import { F as cge } from "./F0VideoPlayer-CGCxboCp.js";
12
+ import { F as dge, p as hge } from "./index-BC8evOMv.js";
13
+ import { c as pge } from "./pdfWorker-BIfcH4Xl.js";
14
+ import { G as hG, H as Gh, I as K_, J as aI, K as vG, L as pG, M as gG, N as mG, O as yG, F as bG } from "./F0AiProcessingOverlay-DTy1V2AM.js";
15
+ import { A as mge, C as yge, t as bge, s as _ge, v as xge, y as wge, z as Sge, l as Cge, i as Tge, q as Dge, D as Age, E as Mge, p as Ege, r as Lge, j as Nge, e as Ige, g as kge, k as Pge, T as Rge, w as Oge, h as Bge, a as zge, n as Vge, m as Fge, o as Gge, B as Hge, b as Wge, f as $ge, x as Uge, c as Yge, d as Xge, u as qge } from "./F0AiProcessingOverlay-DTy1V2AM.js";
16
16
  import { utils as _l, write as oI } from "./xlsx-CzlURDDb.js";
17
17
  import { defaultTranslations as jge } from "./i18n-provider-defaults.js";
18
18
  import './f0.css';const _G = {
@@ -67568,7 +67568,8 @@ const tde = {
67568
67568
  showExperimentalWarnings: c = !1,
67569
67569
  renderDataTestIdAttribute: f = !1,
67570
67570
  formComponent: d,
67571
- mapEngine: h
67571
+ mapEngine: h,
67572
+ mapConfig: v
67572
67573
  }) => /* @__PURE__ */ x(cde, { children: /* @__PURE__ */ x(
67573
67574
  h5,
67574
67575
  {
@@ -67595,7 +67596,14 @@ const tde = {
67595
67596
  rF.Provider,
67596
67597
  {
67597
67598
  value: d,
67598
- children: /* @__PURE__ */ x(bG, { children: /* @__PURE__ */ x(oG, { children: /* @__PURE__ */ x(sG, { provider: h, children: r }) }) })
67599
+ children: /* @__PURE__ */ x(bG, { children: /* @__PURE__ */ x(oG, { children: /* @__PURE__ */ x(
67600
+ sG,
67601
+ {
67602
+ provider: h,
67603
+ config: v,
67604
+ children: r
67605
+ }
67606
+ ) }) })
67599
67607
  }
67600
67608
  ) })
67601
67609
  }
@@ -1540,9 +1540,8 @@ declare module "@tiptap/core" {
1540
1540
 
1541
1541
  declare module "@tiptap/core" {
1542
1542
  interface Commands<ReturnType> {
1543
- fontSize: {
1544
- setFontSize: (fontSize: string) => ReturnType;
1545
- unsetFontSize: () => ReturnType;
1543
+ moodTracker: {
1544
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1546
1545
  };
1547
1546
  }
1548
1547
  }
@@ -1550,10 +1549,9 @@ declare module "@tiptap/core" {
1550
1549
 
1551
1550
  declare module "@tiptap/core" {
1552
1551
  interface Commands<ReturnType> {
1553
- indent: {
1554
- setIndent: (level: number) => ReturnType;
1555
- unsetIndent: () => ReturnType;
1556
- outdent: () => ReturnType;
1552
+ fontSize: {
1553
+ setFontSize: (fontSize: string) => ReturnType;
1554
+ unsetFontSize: () => ReturnType;
1557
1555
  };
1558
1556
  }
1559
1557
  }
@@ -1561,8 +1559,10 @@ declare module "@tiptap/core" {
1561
1559
 
1562
1560
  declare module "@tiptap/core" {
1563
1561
  interface Commands<ReturnType> {
1564
- moodTracker: {
1565
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1562
+ indent: {
1563
+ setIndent: (level: number) => ReturnType;
1564
+ unsetIndent: () => ReturnType;
1565
+ outdent: () => ReturnType;
1566
1566
  };
1567
1567
  }
1568
1568
  }
@@ -1,7 +1,7 @@
1
- import { S as L, o as ye, u as Z, q as Se, r as Re, i as ke, j as _e, k as Ne, s as Ce, l as Le, w as Fe, t as Ve, v as Te } from "./F0CanvasPanel-DdPS8Xoa.js";
1
+ import { S as L, o as ye, u as Z, q as Se, r as Re, i as ke, j as _e, k as Ne, s as Ce, l as Le, w as Fe, t as Ve, v as Te } from "./F0CanvasPanel-DVxLdNFT.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-DQXrBQjj.js";
4
+ import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-BIfcH4Xl.js";
5
5
  import { F as We } from "./Printer-BD-FEi_2.js";
6
6
  import { d as ae } from "./tooltip-BElsa4MF.js";
7
7
  import './index2.css';const Oe = ({
@@ -227,7 +227,7 @@ import './index2.css';const Oe = ({
227
227
  }), i;
228
228
  };
229
229
  Ee();
230
- const qe = J(() => import("./SheetViewer-BGKB5VH_.js")), Ge = J(() => import("./DocxViewer-DtBXcIGW.js")), Ze = J(() => import("./TextViewer-BxgshUHa.js")), oe = 48, le = ne(
230
+ const qe = J(() => import("./SheetViewer-DKytmrij.js")), Ge = J(() => import("./DocxViewer-BKmZzMTc.js")), Ze = J(() => import("./TextViewer-yLiuobWX.js")), oe = 48, le = ne(
231
231
  (o, a) => {
232
232
  const { kind: e = "pdf", mimeType: i, ...s } = o;
233
233
  if (e === "pdf")
@@ -0,0 +1,4 @@
1
+ import { F as r } from "./F0VideoPlayer-CGCxboCp.js";
2
+ export {
3
+ r as F0VideoPlayer
4
+ };