@factorialco/f0-react 6.2.2 → 6.3.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.
- package/dist/{ChatPdfThumbnail-BLCNW9tn.js → ChatPdfThumbnail-Dghs0CzO.js} +1 -1
- package/dist/{DocumentToolbar-_eHuk_7I.js → DocumentToolbar-BDvNUhV7.js} +2 -2
- package/dist/{DocxViewer-0nTKwe4-.js → DocxViewer-CY5mp3ZZ.js} +2 -2
- package/dist/{F0AiProcessingOverlay-Dk7GnQns.js → F0AiProcessingOverlay-DqFO2k91.js} +1 -1
- package/dist/{F0CanvasPanel-o1LTTwSF.js → F0CanvasPanel-BIyPWdvY.js} +47 -51
- package/dist/{F0VideoPlayer-CYF7DmfJ.js → F0VideoPlayer-9AGbcWmR.js} +1 -1
- package/dist/{SheetViewer-DQLoSGfZ.js → SheetViewer-Ck_r2UBe.js} +2 -2
- package/dist/{TextViewer-CEOWQzCr.js → TextViewer-yHpXtqxA.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 +8 -8
- package/dist/experimental.js +2004 -2016
- package/dist/f0.d.ts +35 -9
- package/dist/f0.js +5348 -5330
- package/dist/i18n-provider-defaults.d.ts +8 -8
- package/dist/{index-QfL3G68m.js → index-CTq35fiY.js} +3 -3
- package/dist/{index-BONXxGHX.js → index-DFDpzKBm.js} +308 -307
- package/dist/index-TLOX-SJX.js +4 -0
- package/dist/{pdfWorker-C6o67B6L.js → pdfWorker-WfUrOW8A.js} +2 -2
- package/dist/styles.css +1 -1
- package/icons/app/MaximizeHorizontal.d.ts.map +1 -1
- package/icons/app/MaximizeHorizontal.js +1 -1
- package/icons/app/MinimizeHorizontal.d.ts.map +1 -1
- package/icons/app/MinimizeHorizontal.js +1 -1
- package/package.json +1 -1
- package/dist/index-BZ75fcLT.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as i, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { useState as u, useCallback as m, useMemo as p } from "react";
|
|
3
|
-
import { u as x, i as w, j as k, k as S, l as C } from "./F0CanvasPanel-
|
|
4
|
-
import { n as g, a as h, f as v, T as r, d as F } from "./index-
|
|
3
|
+
import { u as x, i as w, j as k, k as S, l as C } from "./F0CanvasPanel-BIyPWdvY.js";
|
|
4
|
+
import { n as g, a as h, f as v, T as r, d as F } from "./index-CTq35fiY.js";
|
|
5
5
|
const D = () => {
|
|
6
6
|
const [t, a] = u(1), n = m(
|
|
7
7
|
() => a((e) => g(e) ?? e),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as g, useState as h, useEffect as b } from "react";
|
|
3
3
|
import { r as p } from "./docx-preview-BaRDMyPN.js";
|
|
4
|
-
import { u as v, S as w } from "./F0CanvasPanel-
|
|
5
|
-
import { u as x, D as y } from "./DocumentToolbar-
|
|
4
|
+
import { u as v, S as w } from "./F0CanvasPanel-BIyPWdvY.js";
|
|
5
|
+
import { u as x, D as y } from "./DocumentToolbar-BDvNUhV7.js";
|
|
6
6
|
const V = ({
|
|
7
7
|
url: o,
|
|
8
8
|
filename: d,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, jsx as t, Fragment as R1 } from "react/jsx-runtime";
|
|
2
2
|
import { useInsertionEffect as Ar, forwardRef as m, useRef as $, useEffect as W, useLayoutEffect as ie, useState as D, useId as G1, useMemo as K, useCallback as O, createContext as W1, useContext as I1, createElement as Er, memo as $r } from "react";
|
|
3
|
-
import { dc as Br,
|
|
3
|
+
import { dc as Br, aG as Ir, dd as Pr, am as nt, cd as Dr, de as jr, df as _r, dg as Zr, dh as Or, ce as Ur, cj as st, cc as zr, di as Gr, av as ae, dj as Wr, b5 as qr, dk as Xr, dl as Yr, dm as Kr, aN as Qr, dn as Jr, cJ as eo, y as it, aA as to, dp as ro, o as le, aq as at, ah as q1, n as lt, bD as oo, ch as no, dq as so, bq as io, cI as ao, ao as F1, aX as lo, bH as ct, dr as co, cG as uo, l as y1, cE as fo, ds as ho, c8 as dt, bp as po, dt as mo, du as Co, dv as go, dw as wo, dx as vo, dy as ut, cx as xo, cy as bo, dz as Lo, dA as ko, dB as yo, dC as Mo, dD as Ro, bS as Fo, cg as No, dE as Vo, dF as So, dG as To, dH as Ho, dI as Ao, dJ as Eo, dK as $o, dL as Bo, bR as Io, cH as Po, ay as Do, ct as jo, dM as _o, dN as Zo, dO as Oo, dP as Uo, dQ as zo, dR as Go, dS as Wo, aT as qo, bT as Xo, R as ft, dT as Yo, ag as Ko, ap as Qo, bU as ht, c7 as Jo, Q as pt, dU as en, i as tn, bG as rn, bF as on, dV as nn, dW as sn, bV as mt, bW as an, bX as ln, bo as cn, aZ as dn, dX as un, j as fn, bB as Ct, bA as gt, bv as hn, dY as wt, ax as pn, cf as ce, q as mn, by as de, dZ as Cn, d_ as gn, d$ as ue, N as wn, O as vn, cF as vt, e0 as xn, ae as bn, ad as Ln, e1 as kn, e2 as yn, e3 as Mn, e4 as Rn, c5 as Fn, e5 as xt, e6 as Nn, aF as Vn, az as Sn, e7 as Tn, af as i1, a6 as H1, co as Hn, u as G, c4 as An, S as h1, bQ as bt, U as a1, ar as En, m as w1, e8 as $n, aB as l1, aH as v1, ac as M1, a5 as Q, cO as Lt, t as fe, e9 as Bn, x as he, b as k1, c2 as In, ea as Pn, c3 as Dn, ai as jn, bn as _n, au as pe, bY as Zn, bZ as On, b_ as Un, b$ as Me, as as zn, aO as kt, bd as yt, bP as Gn, b4 as Wn, cU as qn, eb as Xn, ec as Yn, bj as Mt, ed as Kn, cQ as Qn, ee as Jn, bf as B1, bw as Rt, ef as Ft, bx as Nt, c as oe, ci as Re, eg as Vt, eh as es, ei as ts, aE as rs, ej as os, bC as me, cu as ns, ek as ss, el as is, em as as, en as ls, eo as cs, w as ds, s as us, v as St, aa as fs, ab as hs, aC as Fe, ep as Tt, eq as Ht, er as ps, es as ms, aK as Cs, aw as gs, et as ws, eu as vs, d as xs } from "./F0CanvasPanel-BIyPWdvY.js";
|
|
4
4
|
import { d as k, f as p1, g as bs } from "./tooltip-Cik7KBQT.js";
|
|
5
5
|
import { createPortal as At } from "react-dom";
|
|
6
6
|
import { defaultTranslations as Ls } from "./i18n-provider-defaults.js";
|
|
@@ -17916,8 +17916,7 @@ const yC2 = (e, t) => /* @__PURE__ */ H(
|
|
|
17916
17916
|
stroke: "currentColor",
|
|
17917
17917
|
strokeLinecap: "round",
|
|
17918
17918
|
strokeLinejoin: "round",
|
|
17919
|
-
d: "M14.12 12L21.9 12M21.9 12L19.07 9.17M21.9 12L19.07 14.83"
|
|
17920
|
-
vectorEffect: "non-scaling-stroke"
|
|
17919
|
+
d: "M14.12 12L21.9 12M21.9 12L19.07 9.17M21.9 12L19.07 14.83"
|
|
17921
17920
|
}
|
|
17922
17921
|
),
|
|
17923
17922
|
/* @__PURE__ */ i(
|
|
@@ -17926,8 +17925,7 @@ const yC2 = (e, t) => /* @__PURE__ */ H(
|
|
|
17926
17925
|
stroke: "currentColor",
|
|
17927
17926
|
strokeLinecap: "round",
|
|
17928
17927
|
strokeLinejoin: "round",
|
|
17929
|
-
d: "M9.88 12L2.1 12M2.1 12L4.93 9.17M2.1 12L4.93 14.83"
|
|
17930
|
-
vectorEffect: "non-scaling-stroke"
|
|
17928
|
+
d: "M9.88 12L2.1 12M2.1 12L4.93 9.17M2.1 12L4.93 14.83"
|
|
17931
17929
|
}
|
|
17932
17930
|
)
|
|
17933
17931
|
]
|
|
@@ -18107,8 +18105,7 @@ const yC2 = (e, t) => /* @__PURE__ */ H(
|
|
|
18107
18105
|
stroke: "currentColor",
|
|
18108
18106
|
strokeLinecap: "round",
|
|
18109
18107
|
strokeLinejoin: "round",
|
|
18110
|
-
d: "M21.9 12L14.12 12M14.12 12L16.95 9.17M14.12 12L16.95 14.83"
|
|
18111
|
-
vectorEffect: "non-scaling-stroke"
|
|
18108
|
+
d: "M21.9 12L14.12 12M14.12 12L16.95 9.17M14.12 12L16.95 14.83"
|
|
18112
18109
|
}
|
|
18113
18110
|
),
|
|
18114
18111
|
/* @__PURE__ */ i(
|
|
@@ -18117,8 +18114,7 @@ const yC2 = (e, t) => /* @__PURE__ */ H(
|
|
|
18117
18114
|
stroke: "currentColor",
|
|
18118
18115
|
strokeLinecap: "round",
|
|
18119
18116
|
strokeLinejoin: "round",
|
|
18120
|
-
d: "M2.1 12L9.88 12M9.88 12L7.05 9.17M9.88 12L7.05 14.83"
|
|
18121
|
-
vectorEffect: "non-scaling-stroke"
|
|
18117
|
+
d: "M2.1 12L9.88 12M9.88 12L7.05 9.17M9.88 12L7.05 14.83"
|
|
18122
18118
|
}
|
|
18123
18119
|
)
|
|
18124
18120
|
]
|
|
@@ -133458,7 +133454,7 @@ export {
|
|
|
133458
133454
|
XD2 as Z,
|
|
133459
133455
|
U22 as _,
|
|
133460
133456
|
ve3 as a,
|
|
133461
|
-
|
|
133457
|
+
mY1 as a$,
|
|
133462
133458
|
ji as a0,
|
|
133463
133459
|
HU1 as a1,
|
|
133464
133460
|
h12 as a2,
|
|
@@ -133469,33 +133465,33 @@ export {
|
|
|
133469
133465
|
h_ as a7,
|
|
133470
133466
|
r12 as a8,
|
|
133471
133467
|
Az as a9,
|
|
133472
|
-
|
|
133473
|
-
|
|
133474
|
-
|
|
133475
|
-
|
|
133476
|
-
|
|
133477
|
-
|
|
133478
|
-
|
|
133479
|
-
|
|
133480
|
-
|
|
133481
|
-
|
|
133482
|
-
|
|
133483
|
-
|
|
133484
|
-
|
|
133485
|
-
|
|
133486
|
-
|
|
133487
|
-
|
|
133488
|
-
|
|
133489
|
-
|
|
133490
|
-
|
|
133491
|
-
|
|
133492
|
-
|
|
133493
|
-
|
|
133494
|
-
|
|
133495
|
-
|
|
133496
|
-
|
|
133497
|
-
|
|
133498
|
-
|
|
133468
|
+
Vi as aA,
|
|
133469
|
+
ee as aB,
|
|
133470
|
+
P3 as aC,
|
|
133471
|
+
r4 as aD,
|
|
133472
|
+
$x as aE,
|
|
133473
|
+
J13 as aF,
|
|
133474
|
+
_23 as aG,
|
|
133475
|
+
z7 as aH,
|
|
133476
|
+
g8 as aI,
|
|
133477
|
+
jy as aJ,
|
|
133478
|
+
_x as aK,
|
|
133479
|
+
eo as aL,
|
|
133480
|
+
B5 as aM,
|
|
133481
|
+
D23 as aN,
|
|
133482
|
+
eG as aO,
|
|
133483
|
+
X6 as aP,
|
|
133484
|
+
CY1 as aQ,
|
|
133485
|
+
Bw2 as aR,
|
|
133486
|
+
MU as aS,
|
|
133487
|
+
m13 as aT,
|
|
133488
|
+
xc as aU,
|
|
133489
|
+
JP as aV,
|
|
133490
|
+
R9 as aW,
|
|
133491
|
+
Lc as aX,
|
|
133492
|
+
Ni as aY,
|
|
133493
|
+
Pm2 as aZ,
|
|
133494
|
+
C_ as a_,
|
|
133499
133495
|
xi as aa,
|
|
133500
133496
|
rI1 as ab,
|
|
133501
133497
|
A3 as ac,
|
|
@@ -133519,21 +133515,21 @@ export {
|
|
|
133519
133515
|
nx as au,
|
|
133520
133516
|
mM as av,
|
|
133521
133517
|
en as aw,
|
|
133522
|
-
|
|
133523
|
-
|
|
133524
|
-
|
|
133518
|
+
Z13 as ax,
|
|
133519
|
+
Mc as ay,
|
|
133520
|
+
Fi as az,
|
|
133525
133521
|
m_ as b,
|
|
133526
133522
|
N33 as b$,
|
|
133527
|
-
|
|
133528
|
-
|
|
133529
|
-
|
|
133530
|
-
|
|
133531
|
-
|
|
133532
|
-
|
|
133533
|
-
|
|
133534
|
-
|
|
133535
|
-
|
|
133536
|
-
|
|
133523
|
+
b23 as b0,
|
|
133524
|
+
oo as b1,
|
|
133525
|
+
L23 as b2,
|
|
133526
|
+
m33 as b3,
|
|
133527
|
+
QU as b4,
|
|
133528
|
+
Z23 as b5,
|
|
133529
|
+
p33 as b6,
|
|
133530
|
+
IY as b7,
|
|
133531
|
+
Ux as b8,
|
|
133532
|
+
Nx2 as b9,
|
|
133537
133533
|
T13 as bA,
|
|
133538
133534
|
A13 as bB,
|
|
133539
133535
|
WU as bC,
|
|
@@ -133561,8 +133557,8 @@ export {
|
|
|
133561
133557
|
fB1 as bY,
|
|
133562
133558
|
CB1 as bZ,
|
|
133563
133559
|
u22 as b_,
|
|
133564
|
-
|
|
133565
|
-
|
|
133560
|
+
vy as ba,
|
|
133561
|
+
sB as bb,
|
|
133566
133562
|
aP1 as bc,
|
|
133567
133563
|
Zc as bd,
|
|
133568
133564
|
x23 as be,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as W, t as je, v as Ge, m as $, x as Xe, y as Ze, z as qe, A as Ye, B as Je, E as Qe, G as et, H as tt, J as nt, K as rt, L as at, M as ye, N as ot, O as Ce, l as st, Q as it, R as ct, U as lt, w as dt, r as ut } from "./F0CanvasPanel-
|
|
1
|
+
import { u as W, t as je, v as Ge, m as $, x as Xe, y as Ze, z as qe, A as Ye, B as Je, E as Qe, G as et, H as tt, J as nt, K as rt, L as at, M as ye, N as ot, O as Ce, l as st, Q as it, R as ct, U as lt, w as dt, r as ut } from "./F0CanvasPanel-BIyPWdvY.js";
|
|
2
2
|
import { jsxs as R, jsx as l } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as re, useId as ft, useState as x, useRef as O, useEffect as _, useMemo as J, useCallback as M } from "react";
|
|
4
4
|
import { d as H, f as de } from "./tooltip-Cik7KBQT.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as a, jsx as r, Fragment as N } from "react/jsx-runtime";
|
|
2
2
|
import { useState as i, useEffect as k } from "react";
|
|
3
|
-
import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-
|
|
3
|
+
import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-BIyPWdvY.js";
|
|
4
4
|
import { f as z, c as E } from "./sheetPreview-5qeAOp0W.js";
|
|
5
|
-
import { u as _, D as j } from "./DocumentToolbar-
|
|
5
|
+
import { u as _, D as j } from "./DocumentToolbar-BDvNUhV7.js";
|
|
6
6
|
const g = 1e3, F = 100, G = ({
|
|
7
7
|
url: n,
|
|
8
8
|
filename: y,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as b, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as _, useEffect as h } from "react";
|
|
3
|
-
import { u as x, S as p, p as w } from "./F0CanvasPanel-
|
|
4
|
-
import { u as y, D as g } from "./DocumentToolbar-
|
|
3
|
+
import { u as x, S as p, p as w } from "./F0CanvasPanel-BIyPWdvY.js";
|
|
4
|
+
import { u as y, D as g } from "./DocumentToolbar-BDvNUhV7.js";
|
|
5
5
|
const k = 2 * 1024 * 1024, v = [
|
|
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
|
@@ -5297,11 +5297,9 @@ declare module "@tiptap/core" {
|
|
|
5297
5297
|
|
|
5298
5298
|
declare module "@tiptap/core" {
|
|
5299
5299
|
interface Commands<ReturnType> {
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
}) => ReturnType;
|
|
5304
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
5300
|
+
fontSize: {
|
|
5301
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
5302
|
+
unsetFontSize: () => ReturnType;
|
|
5305
5303
|
};
|
|
5306
5304
|
}
|
|
5307
5305
|
}
|
|
@@ -5309,9 +5307,11 @@ declare module "@tiptap/core" {
|
|
|
5309
5307
|
|
|
5310
5308
|
declare module "@tiptap/core" {
|
|
5311
5309
|
interface Commands<ReturnType> {
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5310
|
+
enhanceHighlight: {
|
|
5311
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
5312
|
+
placeholder?: string;
|
|
5313
|
+
}) => ReturnType;
|
|
5314
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
5315
5315
|
};
|
|
5316
5316
|
}
|
|
5317
5317
|
}
|
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 h } 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 h } from "./F0CanvasPanel-BIyPWdvY.js";
|
|
2
2
|
import { defaultTranslations as c } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-
|
|
3
|
+
import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-DqFO2k91.js";
|
|
4
4
|
export {
|
|
5
5
|
P as AiChatTranslationsProvider,
|
|
6
6
|
e as ChatSpinner,
|
|
@@ -295,11 +295,9 @@ declare module "@tiptap/core" {
|
|
|
295
295
|
|
|
296
296
|
declare module "@tiptap/core" {
|
|
297
297
|
interface Commands<ReturnType> {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
}) => ReturnType;
|
|
302
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
298
|
+
fontSize: {
|
|
299
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
300
|
+
unsetFontSize: () => ReturnType;
|
|
303
301
|
};
|
|
304
302
|
}
|
|
305
303
|
}
|
|
@@ -307,9 +305,11 @@ declare module "@tiptap/core" {
|
|
|
307
305
|
|
|
308
306
|
declare module "@tiptap/core" {
|
|
309
307
|
interface Commands<ReturnType> {
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
308
|
+
enhanceHighlight: {
|
|
309
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
310
|
+
placeholder?: string;
|
|
311
|
+
}) => ReturnType;
|
|
312
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
313
313
|
};
|
|
314
314
|
}
|
|
315
315
|
}
|