@factorialco/f0-react 4.47.0 → 4.47.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-Do7W0hDk.js → ChatPdfThumbnail-Cz-NbQ1w.js} +1 -1
- package/dist/{DocumentToolbar-DrzPSeKc.js → DocumentToolbar-Ct_Et9Ep.js} +1 -1
- package/dist/{DocxViewer-DfyZy0OC.js → DocxViewer-FDYl7a9o.js} +1 -1
- package/dist/{SheetViewer-CIVjgXZX.js → SheetViewer-CcUI_Cm_.js} +1 -1
- package/dist/{TextViewer-DxQTS3w6.js → TextViewer-DOYwJUHI.js} +1 -1
- package/dist/ai.d.ts +6 -6
- package/dist/component-status.d.ts +6 -6
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +6 -6
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +6 -6
- package/dist/f0.js +7 -7
- package/dist/i18n-provider-defaults.d.ts +6 -6
- package/dist/{index-GYtcPbOz.js → index-8Z3dRSwW.js} +1 -1
- package/dist/{index-CDaRGzb8.js → index-CAXEmnmo.js} +2 -2
- package/dist/{pdfWorker-YS2Gadpl.js → pdfWorker-B1n2TrgP.js} +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/experimental.js
CHANGED
|
@@ -2,8 +2,8 @@ import { B as Sl, E as kl, G as Tl, H as Rl, J as Vo, K as Tn, L as ln, M as El,
|
|
|
2
2
|
import { cU as S0, cT as k0, d4 as T0, cQ as R0, cR as E0, cL as L0, cM as z0, cM as F0, cN as A0, d7 as P0, cS as M0, d0 as O0, d1 as D0, d5 as B0, cO as _0, cW as $0, cV as H0, T as W0, h as j0, d2 as V0, d8 as U0, d3 as G0, d6 as K0, c$ as q0, cY as Y0, c_ as X0, cX as Q0, cP as J0, cZ as Z0 } from "./F0CanvasPanel-CUlu2cJa.js";
|
|
3
3
|
import { jsx as n, jsxs as m, Fragment as De } from "react/jsx-runtime";
|
|
4
4
|
import Q, { forwardRef as Fe, useRef as _, useTransition as Md, useState as H, useLayoutEffect as ar, useId as Ur, useContext as Nt, createContext as st, useEffect as te, useCallback as K, useMemo as he, Fragment as Rt, isValidElement as Od, cloneElement as Pa, Suspense as bo, lazy as tn, createElement as Mn, memo as Ma, Children as Oa } from "react";
|
|
5
|
-
import { C as Dd, P as Bd, a as Nn, M as _d, p as $d, b as Hd, R as Yo, c as Da, u as Wd, e as jd, f as Vd, g as Ud, h as Gd, i as Kd, O as Ba, j as _a, S as qd, A as Yd, B as Xd, L as Qd, k as Jd, V as Zd, l as eu, m as tu, n as nu } from "./index-
|
|
6
|
-
import { t as tx, v as nx, r as rx, J as ox, w as ix, E as ax, ab as sx, I as lx, s as cx, a1 as dx, ad as ux, ac as fx, U as hx, ag as mx, F as px, _ as gx, X as bx, N as vx, ai as xx, Q as yx, $ as wx, a0 as Nx, x as Cx, ae as Ix, af as Sx, T as kx, a2 as Tx, a8 as Rx, aa as Ex, y as Lx, D as zx, G as Fx, Y as Ax, ah as Px, Z as Mx, W as Ox, aj as Dx, z as Bx, H as _x, o as $x, q as Hx, a4 as Wx, a5 as jx, a9 as Vx, K as Ux, a6 as Gx, a3 as Kx, a7 as qx } from "./index-
|
|
5
|
+
import { C as Dd, P as Bd, a as Nn, M as _d, p as $d, b as Hd, R as Yo, c as Da, u as Wd, e as jd, f as Vd, g as Ud, h as Gd, i as Kd, O as Ba, j as _a, S as qd, A as Yd, B as Xd, L as Qd, k as Jd, V as Zd, l as eu, m as tu, n as nu } from "./index-8Z3dRSwW.js";
|
|
6
|
+
import { t as tx, v as nx, r as rx, J as ox, w as ix, E as ax, ab as sx, I as lx, s as cx, a1 as dx, ad as ux, ac as fx, U as hx, ag as mx, F as px, _ as gx, X as bx, N as vx, ai as xx, Q as yx, $ as wx, a0 as Nx, x as Cx, ae as Ix, af as Sx, T as kx, a2 as Tx, a8 as Rx, aa as Ex, y as Lx, D as zx, G as Fx, Y as Ax, ah as Px, Z as Mx, W as Ox, aj as Dx, z as Bx, H as _x, o as $x, q as Hx, a4 as Wx, a5 as jx, a9 as Vx, K as Ux, a6 as Gx, a3 as Kx, a7 as qx } from "./index-8Z3dRSwW.js";
|
|
7
7
|
import ru from "react-dom";
|
|
8
8
|
const ou = Sl("Search", [
|
|
9
9
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
@@ -8412,7 +8412,7 @@ const Hh = {
|
|
|
8412
8412
|
] })
|
|
8413
8413
|
] }) });
|
|
8414
8414
|
}, Jh = tn(
|
|
8415
|
-
() => import("./index-
|
|
8415
|
+
() => import("./index-CAXEmnmo.js").then((e) => e.i).then((e) => ({
|
|
8416
8416
|
default: e.F0PdfViewer
|
|
8417
8417
|
}))
|
|
8418
8418
|
), Zh = () => {
|
|
@@ -12628,7 +12628,7 @@ const Wp = (e) => {
|
|
|
12628
12628
|
}
|
|
12629
12629
|
)
|
|
12630
12630
|
] });
|
|
12631
|
-
}, Jp = tn(() => import("./ChatPdfThumbnail-
|
|
12631
|
+
}, Jp = tn(() => import("./ChatPdfThumbnail-Cz-NbQ1w.js")), Zp = tn(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), eg = tn(() => import("./ChatDocxThumbnail-Dv_RJfHi.js")), tg = tn(() => import("./ChatTextThumbnail-yVt_iYi7.js")), Ar = 288, ng = 160, rg = (e) => {
|
|
12632
12632
|
const [t, r] = H(!1);
|
|
12633
12633
|
return te(() => {
|
|
12634
12634
|
const o = e.current;
|
package/dist/f0.d.ts
CHANGED
|
@@ -18400,8 +18400,10 @@ declare module "@tiptap/core" {
|
|
|
18400
18400
|
|
|
18401
18401
|
declare module "@tiptap/core" {
|
|
18402
18402
|
interface Commands<ReturnType> {
|
|
18403
|
-
|
|
18404
|
-
|
|
18403
|
+
videoEmbed: {
|
|
18404
|
+
setVideoEmbed: (options: {
|
|
18405
|
+
src: string;
|
|
18406
|
+
}) => ReturnType;
|
|
18405
18407
|
};
|
|
18406
18408
|
}
|
|
18407
18409
|
}
|
|
@@ -18409,10 +18411,8 @@ declare module "@tiptap/core" {
|
|
|
18409
18411
|
|
|
18410
18412
|
declare module "@tiptap/core" {
|
|
18411
18413
|
interface Commands<ReturnType> {
|
|
18412
|
-
|
|
18413
|
-
|
|
18414
|
-
src: string;
|
|
18415
|
-
}) => ReturnType;
|
|
18414
|
+
transcript: {
|
|
18415
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
18416
18416
|
};
|
|
18417
18417
|
}
|
|
18418
18418
|
}
|
package/dist/f0.js
CHANGED
|
@@ -6,10 +6,10 @@ import U5, { forwardRef as Dr, useRef as le, useImperativeHandle as $5, Children
|
|
|
6
6
|
import { D as X5, E as q5, G as Z5, H as wd, I as Tb, J as NN, K as IN, L as Jn, M as j5, N as K5, O as Q5, P as J5, Q as eF, F as tF } from "./F0AiProcessingOverlay-B32hzXK2.js";
|
|
7
7
|
import { A as sde, C as lde, t as ude, s as cde, v as fde, y as hde, l as dde, i as vde, q as pde, z as gde, B as mde, p as yde, r as _de, j as bde, e as xde, g as wde, k as Sde, T as Cde, w as Tde, h as Dde, a as Ade, n as Mde, m as Ede, o as Lde, b as Nde, f as Ide, x as kde, c as Pde, d as Rde, u as Ode } from "./F0AiProcessingOverlay-B32hzXK2.js";
|
|
8
8
|
import { createPortal as qv } from "react-dom";
|
|
9
|
-
import { C as rF, ak as nF, al as iF, am as aF, an as Sw, ao as oF, ap as sF, aq as lF, ar as uF, as as cF, at as fF, au as hF, i as dF, F as kN, av as vF, aw as pF, ax as gF, ay as mF, az as yF, aA as PN, aB as _F, aC as Zv, aD as Ha, aE as bF, aF as Db, aG as Ab, I as xF, aH as wF, aI as ps, aJ as RN, aK as SF, aL as CF, aM as TF, aN as DF, aO as AF, aP as MF, _ as EF, ab as LF, aQ as NF, U as IF, aR as kF, aS as PF, c as jv, R as Mb, u as Eb, Y as ON, O as Lb, aT as BN, aU as Cw, aV as Nb, r as RF, e as zN, a2 as VN, aW as OF, aX as BF, aY as zF, aZ as VF, M as FF } from "./index-
|
|
10
|
-
import { t as zde, v as Vde, J as Fde, w as Gde, E as Hde, bj as Wde, bi as Ude, bc as $de, a$ as Yde, a_ as Xde, b0 as qde, b1 as Zde, b3 as jde, b4 as Kde, ad as Qde, ac as Jde, ag as eve, X as tve, N as rve, ai as nve, Q as ive, x as ave, bk as ove, ae as sve, af as lve, T as uve, y as cve, P as fve, D as hve, G as dve, ah as vve, W as pve, aj as gve, z as mve, H as yve, bm as _ve, o as bve, q as xve, bb as wve, bg as Sve, bg as Cve, bh as Tve, b7 as Dve, b6 as Ave, bl as Mve, a9 as Eve, b9 as Lve, ba as Nve, K as Ive, bn as kve, bo as Pve, f as Rve, bd as Ove, be as Bve, bf as zve, b2 as Vve, b8 as Fve, g as Gve, j as Hve, b5 as Wve, bp as Uve } from "./index-
|
|
11
|
-
import { F as Yve, p as Xve } from "./index-
|
|
12
|
-
import { c as Zve } from "./pdfWorker-
|
|
9
|
+
import { C as rF, ak as nF, al as iF, am as aF, an as Sw, ao as oF, ap as sF, aq as lF, ar as uF, as as cF, at as fF, au as hF, i as dF, F as kN, av as vF, aw as pF, ax as gF, ay as mF, az as yF, aA as PN, aB as _F, aC as Zv, aD as Ha, aE as bF, aF as Db, aG as Ab, I as xF, aH as wF, aI as ps, aJ as RN, aK as SF, aL as CF, aM as TF, aN as DF, aO as AF, aP as MF, _ as EF, ab as LF, aQ as NF, U as IF, aR as kF, aS as PF, c as jv, R as Mb, u as Eb, Y as ON, O as Lb, aT as BN, aU as Cw, aV as Nb, r as RF, e as zN, a2 as VN, aW as OF, aX as BF, aY as zF, aZ as VF, M as FF } from "./index-8Z3dRSwW.js";
|
|
10
|
+
import { t as zde, v as Vde, J as Fde, w as Gde, E as Hde, bj as Wde, bi as Ude, bc as $de, a$ as Yde, a_ as Xde, b0 as qde, b1 as Zde, b3 as jde, b4 as Kde, ad as Qde, ac as Jde, ag as eve, X as tve, N as rve, ai as nve, Q as ive, x as ave, bk as ove, ae as sve, af as lve, T as uve, y as cve, P as fve, D as hve, G as dve, ah as vve, W as pve, aj as gve, z as mve, H as yve, bm as _ve, o as bve, q as xve, bb as wve, bg as Sve, bg as Cve, bh as Tve, b7 as Dve, b6 as Ave, bl as Mve, a9 as Eve, b9 as Lve, ba as Nve, K as Ive, bn as kve, bo as Pve, f as Rve, bd as Ove, be as Bve, bf as zve, b2 as Vve, b8 as Fve, g as Gve, j as Hve, b5 as Wve, bp as Uve } from "./index-8Z3dRSwW.js";
|
|
11
|
+
import { F as Yve, p as Xve } from "./index-CAXEmnmo.js";
|
|
12
|
+
import { c as Zve } from "./pdfWorker-B1n2TrgP.js";
|
|
13
13
|
import { utils as ll, write as FN } from "./xlsx-CzlURDDb.js";
|
|
14
14
|
import { defaultTranslations as Kve } from "./i18n-provider-defaults.js";
|
|
15
15
|
import './f0.css';const GF = {
|
|
@@ -61149,16 +61149,16 @@ function Ole({
|
|
|
61149
61149
|
const { options: i, disabled: a } = n, o = (s) => {
|
|
61150
61150
|
a || (e(s), t());
|
|
61151
61151
|
};
|
|
61152
|
-
return /* @__PURE__ */ w("div", { className: "
|
|
61152
|
+
return /* @__PURE__ */ w("div", { className: "flex flex-wrap gap-3", children: i.map((s) => /* @__PURE__ */ w(
|
|
61153
61153
|
"div",
|
|
61154
61154
|
{
|
|
61155
61155
|
className: te(
|
|
61156
|
-
"flex h-10 min-w-20 items-center justify-center rounded-md border border-solid border-f1-border text-center font-medium",
|
|
61156
|
+
"flex min-h-10 min-w-20 grow basis-auto items-center justify-center rounded-md border border-solid border-f1-border px-3 py-1.5 text-center font-medium",
|
|
61157
61157
|
a ? "cursor-not-allowed" : "cursor-pointer",
|
|
61158
61158
|
r === s.value && "border-f1-border-selected bg-f1-background-selected-secondary"
|
|
61159
61159
|
),
|
|
61160
61160
|
onClick: () => o(s.value),
|
|
61161
|
-
children: /* @__PURE__ */ w("span", { className: "text-base font-medium", children: s.label })
|
|
61161
|
+
children: /* @__PURE__ */ w("span", { className: "text-base font-medium leading-tight", children: s.label })
|
|
61162
61162
|
},
|
|
61163
61163
|
s.value
|
|
61164
61164
|
)) });
|
|
@@ -1055,8 +1055,10 @@ declare module "@tiptap/core" {
|
|
|
1055
1055
|
|
|
1056
1056
|
declare module "@tiptap/core" {
|
|
1057
1057
|
interface Commands<ReturnType> {
|
|
1058
|
-
|
|
1059
|
-
|
|
1058
|
+
videoEmbed: {
|
|
1059
|
+
setVideoEmbed: (options: {
|
|
1060
|
+
src: string;
|
|
1061
|
+
}) => ReturnType;
|
|
1060
1062
|
};
|
|
1061
1063
|
}
|
|
1062
1064
|
}
|
|
@@ -1064,10 +1066,8 @@ declare module "@tiptap/core" {
|
|
|
1064
1066
|
|
|
1065
1067
|
declare module "@tiptap/core" {
|
|
1066
1068
|
interface Commands<ReturnType> {
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
src: string;
|
|
1070
|
-
}) => ReturnType;
|
|
1069
|
+
transcript: {
|
|
1070
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
1071
1071
|
};
|
|
1072
1072
|
}
|
|
1073
1073
|
}
|
|
@@ -16729,7 +16729,7 @@ const hq = ({
|
|
|
16729
16729
|
"div",
|
|
16730
16730
|
{
|
|
16731
16731
|
className: Y(
|
|
16732
|
-
"
|
|
16732
|
+
"flex flex-col justify-between gap-4 border border-dashed border-transparent px-6 pb-5 pt-5 first:pb-0 first:pt-0 md:flex-row md:gap-2",
|
|
16733
16733
|
o === "standard" && "-mx-[23px]",
|
|
16734
16734
|
r === "top" && "border-t-f1-border first:pt-5",
|
|
16735
16735
|
r === "bottom" && "border-b-f1-border first:pb-5"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as L, o as ye, u as Z, q as ne, r as Se, s as Re, i as ke, j as _e, k as Ne, t as Ce, l as Le, w as Fe, v as Ve, x as Te } from "./F0CanvasPanel-CUlu2cJa.js";
|
|
2
2
|
import { jsx as t, jsxs as y } from "react/jsx-runtime";
|
|
3
3
|
import { lazy as J, forwardRef as ae, 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-B1n2TrgP.js";
|
|
5
5
|
import { F as We } from "./Printer-B7iDPx2r.js";
|
|
6
6
|
import './index.css';const Oe = ({
|
|
7
7
|
label: o,
|
|
@@ -221,7 +221,7 @@ import './index.css';const Oe = ({
|
|
|
221
221
|
}), i;
|
|
222
222
|
};
|
|
223
223
|
Ee();
|
|
224
|
-
const qe = J(() => import("./SheetViewer-
|
|
224
|
+
const qe = J(() => import("./SheetViewer-CcUI_Cm_.js")), Ge = J(() => import("./DocxViewer-FDYl7a9o.js")), Ze = J(() => import("./TextViewer-DOYwJUHI.js")), oe = 48, se = ae(
|
|
225
225
|
(o, a) => {
|
|
226
226
|
const { kind: e = "pdf", mimeType: i, ...l } = o;
|
|
227
227
|
if (e === "pdf") return /* @__PURE__ */ t(le, { ref: a, ...l });
|
|
@@ -1,7 +1,7 @@
|
|
|
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 { y as getAugmentedNamespace, n as getDefaultExportFromCjs, z as invariant, A as clsx } from "./F0CanvasPanel-CUlu2cJa.js";
|
|
4
|
-
import { d as dequal } from "./index-
|
|
4
|
+
import { d as dequal } from "./index-8Z3dRSwW.js";
|
|
5
5
|
import { c as commonjsRequire } from "./_commonjs-dynamic-modules-BpilXLfW.js";
|
|
6
6
|
import './pdfWorker.css';var pdf$1 = { exports: {} };
|
|
7
7
|
const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|