@factorialco/f0-react 8.32.0 → 8.32.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-BSSuwnX6.js → ChatPdfThumbnail-DtjnbxlK.js} +1 -1
- package/dist/{ChatPostComposerDialog-DT2qzJz7.js → ChatPostComposerDialog-BaTMTzP7.js} +3 -3
- package/dist/{ChatSheetThumbnail-CyiwSdZJ.js → ChatSheetThumbnail-P76Jt0_u.js} +1 -1
- package/dist/{DocumentToolbar-COZ7xCb5.js → DocumentToolbar-DmU2Z6yx.js} +2 -2
- package/dist/{DocxViewer-Cwm_Q0g6.js → DocxViewer-C54WGD1S.js} +2 -2
- package/dist/{F0AiProcessingOverlay-CLBRUF77.js → F0AiProcessingOverlay-DZi5LhAe.js} +958 -958
- package/dist/{F0CanvasPanel-j19rKA2q.js → F0CanvasPanel-WVtVnJRZ.js} +846 -817
- package/dist/{F0Map-BYEGbNFJ.js → F0Map-CNWfSFZ1.js} +4 -4
- package/dist/{F0VideoPlayer-DLC7folq.js → F0VideoPlayer-D7c3Yh3w.js} +2 -2
- package/dist/{MapProvider-wJjbpL-O.js → MapProvider-27XPHPiu.js} +3 -3
- package/dist/{SheetViewer-DMCfqh-D.js → SheetViewer-1drEsfd7.js} +4 -4
- package/dist/{TextViewer-D4X0yq0F.js → TextViewer-EXSsPDXE.js} +2 -2
- package/dist/ai.d.ts +9 -9
- package/dist/ai.js +2 -2
- package/dist/browser-DqC2vZ6l.js +765 -0
- package/dist/component-status.d.ts +8 -8
- package/dist/component-status.js +1 -1
- package/dist/{experimental-C3h3olmD.js → experimental-BVFSvDo0.js} +1828 -1838
- package/dist/experimental.d.ts +9 -9
- package/dist/experimental.js +88 -88
- package/dist/f0.d.ts +10 -10
- package/dist/f0.js +9390 -9393
- package/dist/i18n-provider-defaults.d.ts +8 -8
- package/dist/index-6YSyIntj.js +4 -0
- package/dist/{index-D0RZbFbo.js → index-BC3sRBhO.js} +3 -3
- package/dist/{index-DPzxBulj.js → index-C3NBN1Ds.js} +2 -2
- package/dist/index-D-dPYkJS.js +2332 -0
- package/dist/{index-XRldN0kV.js → index-P3wd7w_Q.js} +1 -1
- package/dist/{index-2cL0J9Pc.js → index-SaYqmPwO.js} +3 -3
- package/dist/papaparse.min-Bh1MVuzw.js +405 -0
- package/dist/{pdfWorker-CQHWwuw6.js → pdfWorker-Bt3dfOGU.js} +2 -2
- package/dist/sheetPreview-BiccmyTD.js +2377 -0
- package/package.json +6 -2
- package/dist/index-no2co85K.js +0 -4
- package/dist/sheetPreview-Bqj3xODH.js +0 -51
- package/dist/xlsx-CzlURDDb.js +0 -24525
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r, jsxs as B, Fragment as De } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as ie, useMemo as ze, useEffect as j, useState as E, useRef as N, useLayoutEffect as Hn, useContext as Xn, createContext as Yn, useCallback as O, useId as Un, useImperativeHandle as Gn } from "react";
|
|
3
|
-
import { y as we, a5 as Zn, v as en, a6 as nt, a7 as lt, a8 as Oe, a9 as oe, aa as tn, u as se, z as Fe, ab as Kn, ac as qn, ad as Vn, j as Jn, ae as Qn, af as nn, ag as ea, ah as ta, ai as Rt, aj as an, ak as na } from "./F0CanvasPanel-
|
|
4
|
-
import { c as aa, d as oa, e as la } from "./MapProvider-
|
|
3
|
+
import { y as we, a5 as Zn, v as en, a6 as nt, a7 as lt, a8 as Oe, a9 as oe, aa as tn, u as se, z as Fe, ab as Kn, ac as qn, ad as Vn, j as Jn, ae as Qn, af as nn, ag as ea, ah as ta, ai as Rt, aj as an, ak as na } from "./F0CanvasPanel-WVtVnJRZ.js";
|
|
4
|
+
import { c as aa, d as oa, e as la } from "./MapProvider-27XPHPiu.js";
|
|
5
5
|
import { d as D, f as ra } from "./tooltip-CrXp1Uaz.js";
|
|
6
6
|
import { createPortal as ia } from "react-dom";
|
|
7
7
|
const sa = (e, t) => ({
|
|
@@ -1527,11 +1527,11 @@ const Lo = {
|
|
|
1527
1527
|
}, []);
|
|
1528
1528
|
return j(() => () => a.current?.disconnect(), []), { containerRef: l, isDark: e };
|
|
1529
1529
|
}, Ya = {
|
|
1530
|
-
maplibre: () => import("./index-
|
|
1530
|
+
maplibre: () => import("./index-C3NBN1Ds.js").then((e) => e.createMaplibreAdapter),
|
|
1531
1531
|
// Google needs its script in the page before a map can be constructed, so the
|
|
1532
1532
|
// loader resolves only once the API is up - which is what keeps the factory
|
|
1533
1533
|
// itself synchronous for every engine.
|
|
1534
|
-
google: (e) => import("./index-
|
|
1534
|
+
google: (e) => import("./index-P3wd7w_Q.js").then((t) => t.loadGoogleAdapter(e))
|
|
1535
1535
|
}, at = /* @__PURE__ */ new Map(), Ua = (e, t) => {
|
|
1536
1536
|
const a = at.get(e);
|
|
1537
1537
|
if (a)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as W, K as je, L as Xe, z as $, M as Ge, N as Ze, O as Ye, Q as qe, R as Qe, U as Je, V as et, W as tt, X as nt, Y as rt, Z as at, _ as ot, $ as st, a0 as ye, a1 as it, a2 as Pe, m as ct, a3 as lt, a4 as dt, v as ut, G as ft, H as mt } from "./F0CanvasPanel-
|
|
1
|
+
import { u as W, K as je, L as Xe, z as $, M as Ge, N as Ze, O as Ye, Q as qe, R as Qe, U as Je, V as et, W as tt, X as nt, Y as rt, Z as at, _ as ot, $ as st, a0 as ye, a1 as it, a2 as Pe, m as ct, a3 as lt, a4 as dt, v as ut, G as ft, H as mt } from "./F0CanvasPanel-WVtVnJRZ.js";
|
|
2
2
|
import { jsxs as R, jsx as c } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as re, useId as pt, useState as x, useRef as F, useEffect as _, useMemo as Q, useCallback as M } from "react";
|
|
4
4
|
import { d as H, f as de } from "./tooltip-CrXp1Uaz.js";
|
|
5
5
|
import { F as Ce, a as ht, b as gt } from "./VolumeMuted-UfTwt2zn.js";
|
|
6
|
-
import { b as vt } from "./MapProvider-
|
|
6
|
+
import { b as vt } from "./MapProvider-27XPHPiu.js";
|
|
7
7
|
function Re(e) {
|
|
8
8
|
return Array.isArray(e) && e.every(
|
|
9
9
|
(t) => typeof t == "object" && t !== null && "locale" in t && "value" in t
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m, jsxs as R, Fragment as We } from "react/jsx-runtime";
|
|
2
2
|
import * as qe from "react";
|
|
3
3
|
import oe, { useRef as L, useState as J, useCallback as K, useEffect as ie, useContext as ht, useMemo as X, createContext as Ft, forwardRef as Qe, useLayoutEffect as Lt, memo as Mt, useReducer as _z, cloneElement as iO, PureComponent as cd, useId as mi, useImperativeHandle as ia, Fragment as Vf, createElement as Im, isValidElement as Sz, Suspense as Cz, lazy as Ez, useDebugValue as rO, version as N4, createRef as oO, useSyncExternalStore as A4 } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { f9 as T4, fa as Zu, fb as Nz, cU as sO, fc as Az, fd as Tz, fe as Oz, ff as Dv, fg as Iz, fh as Dz, fi as Mz, fj as Pz, fk as Rz, fl as Lz, fm as Fz, a8 as it, fn as aO, fo as $z, co as Vt, aL as Qu, aM as dd, aw as Bz, ax as zz, cW as go, G as $t, H as ii, J as fd, dp as Pk, eC as Rk, eD as Dm, S as Be, fp as lO, eE as Lk, u as Re, v as st, bm as eh, cr as xc, bu as Fy, r as Fk, c_ as jz, cD as cO, cX as Hz, dl as Vz, ea as dO, z as De, a_ as th, fq as Wz, b6 as Uz, b7 as qz, fr as Kz, cy as fO, dO as uO, fs as hO, df as pO, ft as Gz, fu as Yz, fv as _a, fw as zt, fx as Ni, fy as mO, fz as Xz, fA as gO, fB as Jz, fC as Xn, fD as $y, fE as pn, fF as yO, fG as By, fH as $k, fI as Bk, fJ as zk, fK as Wn, fL as Ci, fM as Vb, fN as zy, fO as Zz, fP as ai, fQ as $o, fR as ki, fS as gl, fT as jk, fU as jy, fV as Yp, fW as Hy, eH as Hk, fX as Qz, fY as Xh, fZ as Mm, f_ as ej, f$ as tj, g0 as nj, g1 as ij, g2 as rj, g3 as oj, g4 as vO, g5 as bO, g6 as wO, g7 as xO, g8 as kO, g9 as sj, ga as Pm, gb as aj, gc as lj, gd as nh, ge as ra, d2 as Jo, gf as Vk, gg as Wo, gh as _O, d3 as SO, gi as cj, gj as dj, d0 as fj, gk as uj, d1 as hj, dr as li, gl as ci, gm as pj, gn as mj, go as gj, gp as yj, gq as vj, gr as Wb, gs as bj, a9 as CO, gt as EO, eB as _r, a7 as Jt, eS as wj, dx as mr, cn as ud, da as Xa, ao as ih, ap as xj, dN as kj, gu as NO, gv as AO, o as TO, af as is, i as hd, eF as OO, cK as IO, cL as Wk, a6 as rh, N as Vy, gw as _j, ex as DO, dk as Sj, gx as MO, eW as $n, gy as PO, gz as RO, gA as Ub, gB as Cj, gC as O4, gD as LO, ey as oa, f2 as FO, dC as $O, eY as Wy, K as Uy, L as Uk, M as qy, f0 as Ej, l as Qn, aG as I4, aO as Nj, b0 as Aj, bz as qk, gE as BO, gF as Tj, eX as Kk, gG as Gk, gH as zO, gI as yl, gJ as Mv, bY as jO, cx as vl, ak as br, ds as Gs, ev as Oj, gK as D4, er as Yk, gL as Ij, dZ as Dj, ee as Mj, ec as Pj, gM as HO, gN as Rj, cV as Lj, gO as Fj, gP as VO, ah as WO, gQ as $j, gR as Bj, gS as zj, gT as M4, gU as P4, gV as R4, gW as L4, gX as jj, aE as Hj, gY as UO, dz as Vj, gZ as Wj, cQ as pd, O as qO, Q as KO, U as GO, g_ as Uj, g$ as qj, h0 as F4, dX as Rm, eQ as Wf, W as YO, X as XO, Z as JO, _ as ZO, w as sa, cs as Hr, s as Kj, x as Gj, h1 as Yj, A as Ky, h2 as QO, h3 as eI, h4 as Xj, h5 as Lm, h6 as Jj, h7 as Zj, h8 as Ba, h9 as Qj, ha as $4, hb as eH, hc as tH, hd as Fm, he as nH, hf as iH, hg as rH, hh as tI, hi as oH, hj as nI, hk as sH, hl as Gy, hm as md, hn as aH, ho as Xk, hp as ln, hq as lH, cT as Uf, hr as ti, hs as cH, d4 as oh, ht as dH, ad as Ja, av as qb, du as fH, dv as uH, cz as iI, cA as rI, cB as oI, hu as Jk, hv as hH, d9 as sI, bS as sh, aU as rs, ep as aI, eq as lI, aI as cI, aX as pH, ch as dI, dM as mH, hw as gH, hx as yH, hy as $m, hz as Do, n as vH, c5 as bH, hA as wH, e4 as xH, aT as Bm, c8 as fI, c3 as kH, E as B4, eo as _H, a$ as SH, hB as CH, hC as Yy, hD as Xy, hE as Jy, cC as Zy, hF as EH, hG as zm, hH as NH, hI as AH, dw as TH, hJ as uI, bB as Pv, hK as OH, hL as IH, bE as DH, bK as MH, hM as z4, hN as PH, hO as j4, hP as Rv, hQ as hI, a3 as pI, c4 as RH, ab as LH, j as Zk, hR as FH, hS as $H, dU as BH, k as Qk, eL as zH, bX as jH, bO as HH, bw as H4, bA as e2, cd as VH, em as WH, hT as mI, hU as UH, hV as t2, m as qH, az as KH, aV as GH, c6 as YH, hW as XH, hX as JH, B as ZH, hY as QH, hZ as eV, h_ as tV, h$ as nV, i0 as gI, cg as iV, i1 as n2, i2 as rV, i3 as oV, i4 as sV, i5 as Lv, i6 as aV, i7 as Ie, i8 as ah, i9 as lV, ia as cV, ib as dV, ic as fV, id as V4, ie as uV, ig as jm, V as hV, ih as pV, ii as Fv, ij as Jh, ik as mV, il as gV, im as yV, io as vV, ip as bV, ay as wV, c as xV, c7 as kV, Y as $v, iq as lh, ir as i2, is as r2, it as ch, iu as _V, c1 as SV, eM as o2, eh as W4, an as CV, aj as EV, ek as NV, aB as AV, bv as TV, cf as OV, cb as IV, bo as yI, bp as vI, bq as bI, bN as wI, aK as xI, as as kI, aq as _I, at as SI, ar as CI, aQ as EI, c0 as NI, cE as AI, iv as TI, iw as DV, cP as MV, bc as PV, ba as RV, b9 as LV, b8 as FV, bb as $V, br as BV, ci as zV, cq as jV, cp as HV, ce as VV, bI as WV, bR as UV, a4 as qV, cv as KV, ix as GV, iy as Bv, iz as YV, bx as XV, iA as OI, iB as s2, iC as Fs, iD as ac, iE as II, iF as DI, cO as JV, iG as ZV, iH as QV, iI as eW, iJ as tW, cJ as nW, dW as iW, cu as rW, iK as oW } from "./F0CanvasPanel-WVtVnJRZ.js";
|
|
5
5
|
import { d as U, g as sW, e as di, T as dh, a as fh, b as uh, f as tn, u as a2, S as aW, c as Qy } from "./tooltip-CrXp1Uaz.js";
|
|
6
6
|
import { g as hh } from "./_commonjsHelpers-ByX85dGu.js";
|
|
7
7
|
import MI, { unstable_batchedUpdates as Zh, createPortal as e1, flushSync as lW } from "react-dom";
|
|
@@ -17882,7 +17882,7 @@ const DC = "bg-repeat-x bg-origin-border [background-image:repeating-linear-grad
|
|
|
17882
17882
|
/* @__PURE__ */ R("div", { className: "flex grow flex-col gap-3", children: [
|
|
17883
17883
|
/* @__PURE__ */ R("div", { className: "flex max-w-[640px] flex-col gap-1", children: [
|
|
17884
17884
|
/* @__PURE__ */ m("h2", { className: "text-lg font-semibold text-f1-foreground", children: e }),
|
|
17885
|
-
/* @__PURE__ */ m("p", { className: "text-f1-foreground-secondary", children: t })
|
|
17885
|
+
/* @__PURE__ */ m("p", { className: "whitespace-pre-line text-f1-foreground-secondary", children: t })
|
|
17886
17886
|
] }),
|
|
17887
17887
|
i ? /* @__PURE__ */ m("div", { className: "w-fit", children: /* @__PURE__ */ m(
|
|
17888
17888
|
hd,
|
|
@@ -39003,7 +39003,7 @@ const P0 = ({
|
|
|
39003
39003
|
}
|
|
39004
39004
|
);
|
|
39005
39005
|
}, Ihe = Ez(
|
|
39006
|
-
() => import("./index-
|
|
39006
|
+
() => import("./index-BC3sRBhO.js").then((e) => ({ default: e.MapCollection }))
|
|
39007
39007
|
), Xs = {
|
|
39008
39008
|
table: {
|
|
39009
39009
|
name: "Table",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as r, jsxs as n, Fragment as v } from "react/jsx-runtime";
|
|
2
2
|
import { useState as m, useEffect as E } from "react";
|
|
3
|
-
import { u as F, T as S, h as T, S as V, i as A } from "./F0CanvasPanel-
|
|
4
|
-
import { d as D } from "./index-
|
|
5
|
-
import { f as L, c as R } from "./sheetPreview-
|
|
6
|
-
import { u as z, D as U } from "./DocumentToolbar-
|
|
3
|
+
import { u as F, T as S, h as T, S as V, i as A } from "./F0CanvasPanel-WVtVnJRZ.js";
|
|
4
|
+
import { d as D } from "./index-SaYqmPwO.js";
|
|
5
|
+
import { f as L, c as R } from "./sheetPreview-BiccmyTD.js";
|
|
6
|
+
import { u as z, D as U } from "./DocumentToolbar-DmU2Z6yx.js";
|
|
7
7
|
const w = 1e3, _ = 100, $ = ({
|
|
8
8
|
url: a,
|
|
9
9
|
filename: f,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as p, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as u, useEffect as x } from "react";
|
|
3
|
-
import { u as w, S as y, p as g } from "./F0CanvasPanel-
|
|
4
|
-
import { u as k, D as v } from "./DocumentToolbar-
|
|
3
|
+
import { u as w, S as y, p as g } from "./F0CanvasPanel-WVtVnJRZ.js";
|
|
4
|
+
import { u as k, D as v } from "./DocumentToolbar-DmU2Z6yx.js";
|
|
5
5
|
const q = 2 * 1024 * 1024, N = [
|
|
6
6
|
"[&_h1]:mb-3 [&_h1]:mt-6 [&_h1]:text-2xl [&_h1]:font-semibold",
|
|
7
7
|
"[&_h2]:mb-2 [&_h2]:mt-5 [&_h2]:text-xl [&_h2]:font-semibold",
|
package/dist/ai.d.ts
CHANGED
|
@@ -4821,7 +4821,7 @@ export declare type F0AiProposalCardProps = F0AiProposalCardBaseProps & (F0AiPro
|
|
|
4821
4821
|
* Compact inline table for small datasets shown directly in an AI chat
|
|
4822
4822
|
* stream. Headers come from `columnLabels` when present, otherwise from
|
|
4823
4823
|
* the raw column id. Shows a download dropdown (Excel / CSV) — Excel
|
|
4824
|
-
* support is loaded lazily
|
|
4824
|
+
* support is loaded lazily. Pure presentational — no hooks,
|
|
4825
4825
|
* no AI coupling.
|
|
4826
4826
|
*/
|
|
4827
4827
|
export declare function F0AiTableCard({ dataset, title: titleProp, filename, }: F0AiTableCardProps): JSX_2.Element | null;
|
|
@@ -6808,11 +6808,9 @@ declare module "@tiptap/core" {
|
|
|
6808
6808
|
|
|
6809
6809
|
declare module "@tiptap/core" {
|
|
6810
6810
|
interface Commands<ReturnType> {
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
|
|
6814
|
-
}) => ReturnType;
|
|
6815
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
6811
|
+
fontSize: {
|
|
6812
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
6813
|
+
unsetFontSize: () => ReturnType;
|
|
6816
6814
|
};
|
|
6817
6815
|
}
|
|
6818
6816
|
}
|
|
@@ -6820,9 +6818,11 @@ declare module "@tiptap/core" {
|
|
|
6820
6818
|
|
|
6821
6819
|
declare module "@tiptap/core" {
|
|
6822
6820
|
interface Commands<ReturnType> {
|
|
6823
|
-
|
|
6824
|
-
|
|
6825
|
-
|
|
6821
|
+
enhanceHighlight: {
|
|
6822
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
6823
|
+
placeholder?: string;
|
|
6824
|
+
}) => ReturnType;
|
|
6825
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
6826
6826
|
};
|
|
6827
6827
|
}
|
|
6828
6828
|
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as m } from "./F0CanvasPanel-
|
|
1
|
+
import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as m } from "./F0CanvasPanel-WVtVnJRZ.js";
|
|
2
2
|
import { defaultTranslations as c } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as g, C as p, t as v, s as I, v as T, y as S, B as f, l as y, i as x, q as b, E as k, G as B, p as H, r as L, j as M, e as O, g as V, k as w, F as D, T as z, w as E, h as G, a as j, n as q, z as R, m as U, o as J, D as K, b as N, f as Q, x as W, c as X, d as Y, u as Z } from "./F0AiProcessingOverlay-
|
|
3
|
+
import { A as g, C as p, t as v, s as I, v as T, y as S, B as f, l as y, i as x, q as b, E as k, G as B, p as H, r as L, j as M, e as O, g as V, k as w, F as D, T as z, w as E, h as G, a as j, n as q, z as R, m as U, o as J, D as K, b as N, f as Q, x as W, c as X, d as Y, u as Z } from "./F0AiProcessingOverlay-DZi5LhAe.js";
|
|
4
4
|
export {
|
|
5
5
|
g as AiChatTranslationsProvider,
|
|
6
6
|
e as ChatSpinner,
|