@factorialco/f0-react 6.9.1 → 6.10.0
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-YP1AvCtw.js → ChatPdfThumbnail-DvIr6bFv.js} +1 -1
- package/dist/{DocumentToolbar-CYJ9RD_9.js → DocumentToolbar-JXloIW8M.js} +1 -1
- package/dist/{DocxViewer-DAcbqs66.js → DocxViewer-vA5XI6zm.js} +1 -1
- package/dist/{SheetViewer-7n5tL3st.js → SheetViewer-6zoPBGG1.js} +1 -1
- package/dist/{TextViewer-CgLvGm24.js → TextViewer-DMjroRWq.js} +1 -1
- package/dist/ai.d.ts +7 -7
- package/dist/component-status.d.ts +7 -7
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +47 -8
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +46 -7
- package/dist/f0.js +14 -12
- package/dist/i18n-provider-defaults.d.ts +7 -7
- package/dist/{index-DwCZfN6F.js → index-C3LJVkTD.js} +2 -2
- package/dist/{index-ComER4OC.js → index-hfQiGNGR.js} +15327 -15215
- package/dist/{pdfWorker-CXF7VKxK.js → pdfWorker-2_ZMbk4J.js} +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -7386,7 +7386,7 @@ declare type GraphCollectionProps<Record extends RecordType, Filters extends Fil
|
|
|
7386
7386
|
* "the direct children of parentId" (`null` = the roots). Children are loaded
|
|
7387
7387
|
* when a node is expanded.
|
|
7388
7388
|
*/
|
|
7389
|
-
declare type GraphVisualizationOptions<R extends RecordType, Filters extends FiltersDefinition, _Sortings extends SortingsDefinition> = {
|
|
7389
|
+
export declare type GraphVisualizationOptions<R extends RecordType, Filters extends FiltersDefinition, _Sortings extends SortingsDefinition> = {
|
|
7390
7390
|
/** Primary line of text for a node. */
|
|
7391
7391
|
title: (record: R) => string;
|
|
7392
7392
|
/** Secondary line of text for a node. */
|
|
@@ -7516,6 +7516,27 @@ declare type GraphVisualizationOptions<R extends RecordType, Filters extends Fil
|
|
|
7516
7516
|
minZoom?: number;
|
|
7517
7517
|
/** Largest zoom the user can pan to (the zoom-in limit), passed through to F0Graph. */
|
|
7518
7518
|
maxZoom?: number;
|
|
7519
|
+
/**
|
|
7520
|
+
* Whether clicking a node flies to it (centers + zooms in close), passed
|
|
7521
|
+
* through to F0Graph. Defaults to `true` — pass `false` for a static camera on
|
|
7522
|
+
* click (selection still happens). Re-centers on every click, even a repeat.
|
|
7523
|
+
* The fly starts a beat after the click so it picks up a `viewportInset` set in
|
|
7524
|
+
* response to that same click (a side panel opening).
|
|
7525
|
+
*/
|
|
7526
|
+
centerOnNodeClick?: boolean;
|
|
7527
|
+
/**
|
|
7528
|
+
* Zoom a node click lands on (pass-through). Defaults to F0Graph's
|
|
7529
|
+
* `NODE_CLICK_ZOOM` (`1.5`), clamped to `maxZoom`. Lower it for a dense tree.
|
|
7530
|
+
*/
|
|
7531
|
+
nodeClickZoom?: number;
|
|
7532
|
+
/**
|
|
7533
|
+
* Region of the canvas (screen px) covered by a side panel / drawer the
|
|
7534
|
+
* consumer opens over the graph (pass-through to F0Graph). Every fly-to path
|
|
7535
|
+
* shifts its target so the clicked / revealed node lands centered in the free
|
|
7536
|
+
* area beside the panel instead of behind it. For a fixed-width drawer, pass
|
|
7537
|
+
* its width while open (e.g. `{ right: 480 }`) and omit it while closed.
|
|
7538
|
+
*/
|
|
7539
|
+
viewportInset?: ViewportInset;
|
|
7519
7540
|
/** Whether to render the zoom/fit controls. Defaults to `true`. */
|
|
7520
7541
|
showControls?: boolean;
|
|
7521
7542
|
/**
|
|
@@ -12113,6 +12134,24 @@ declare interface VideoPlayerContent {
|
|
|
12113
12134
|
descriptions?: Localized<string>;
|
|
12114
12135
|
}
|
|
12115
12136
|
|
|
12137
|
+
/**
|
|
12138
|
+
* Region of the canvas (in screen px) covered by external chrome — typically a
|
|
12139
|
+
* side panel / drawer opened over the graph. All fly-to paths shift their target
|
|
12140
|
+
* so the node lands centered in the *free* area instead of behind the panel.
|
|
12141
|
+
*
|
|
12142
|
+
* The consumer measures / knows this (e.g. a fixed-width drawer) and passes it;
|
|
12143
|
+
* F0Graph has no notion of the panel itself. The side is encoded by which key is
|
|
12144
|
+
* set — a right-hand drawer sets `right`, a left-hand one (or RTL layout) sets
|
|
12145
|
+
* `left` — so no separate direction handling is needed. Omitted / `0` on every
|
|
12146
|
+
* side behaves exactly as if there were no inset.
|
|
12147
|
+
*/
|
|
12148
|
+
export declare interface ViewportInset {
|
|
12149
|
+
top?: number;
|
|
12150
|
+
right?: number;
|
|
12151
|
+
bottom?: number;
|
|
12152
|
+
left?: number;
|
|
12153
|
+
}
|
|
12154
|
+
|
|
12116
12155
|
/**
|
|
12117
12156
|
* @experimental This is an experimental component use it at your own risk
|
|
12118
12157
|
*/
|
|
@@ -12629,10 +12668,9 @@ declare module "@tiptap/core" {
|
|
|
12629
12668
|
|
|
12630
12669
|
declare module "@tiptap/core" {
|
|
12631
12670
|
interface Commands<ReturnType> {
|
|
12632
|
-
|
|
12633
|
-
|
|
12634
|
-
|
|
12635
|
-
outdent: () => ReturnType;
|
|
12671
|
+
fontSize: {
|
|
12672
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
12673
|
+
unsetFontSize: () => ReturnType;
|
|
12636
12674
|
};
|
|
12637
12675
|
}
|
|
12638
12676
|
}
|
|
@@ -12640,9 +12678,10 @@ declare module "@tiptap/core" {
|
|
|
12640
12678
|
|
|
12641
12679
|
declare module "@tiptap/core" {
|
|
12642
12680
|
interface Commands<ReturnType> {
|
|
12643
|
-
|
|
12644
|
-
|
|
12645
|
-
|
|
12681
|
+
indent: {
|
|
12682
|
+
setIndent: (level: number) => ReturnType;
|
|
12683
|
+
unsetIndent: () => ReturnType;
|
|
12684
|
+
outdent: () => ReturnType;
|
|
12646
12685
|
};
|
|
12647
12686
|
}
|
|
12648
12687
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -3,8 +3,8 @@ import { cX as _1, cW as $1, d7 as H1, cT as j1, cU as W1, cL as U1, cM as V1, c
|
|
|
3
3
|
import { jsx as n, jsxs as h, Fragment as ze } from "react/jsx-runtime";
|
|
4
4
|
import te, { forwardRef as _e, useRef as O, useTransition as Iu, useState as D, useLayoutEffect as yn, useId as Pn, useContext as At, createContext as pt, useEffect as X, useCallback as U, useMemo as fe, Fragment as St, isValidElement as ku, cloneElement as xs, Suspense as Lr, lazy as ln, createElement as lr, memo as ys, Children as Ko } from "react";
|
|
5
5
|
import { d as S, T as Su, a as Tu, b as Ru, f as Xe, c as Eu, u as Lu } from "./tooltip-Cik7KBQT.js";
|
|
6
|
-
import { C as zu, P as Au, E as Pu, a as qo, b as Gn, M as Fu, p as Mu, c as Ou, R as Aa, e as ws, u as Du, f as Bu, g as _u, h as $u, i as Hu, j as ju, O as Ns, W as nn, A as Wu, B as Uu, L as Vu, k as Gu, V as Ku, l as qu, m as Yu, n as Xu, S as Ju, o as Qu, q as Zu, r as ef, s as tf, D as nf, t as rf, v as of, w as af, x as sf, y as lf, z as Pa } from "./index-
|
|
7
|
-
import { ah as vy, ai as xy, K as yy, N as wy, I as Ny, a1 as Cy, Q as Iy, Z as ky, as as Sy, a0 as Ty, J as Ry, af as Ey, au as Ly, at as zy, a7 as Ay, a2 as Py, ax as Fy, H as My, ac as Oy, a9 as Dy, a4 as By, az as _y, a5 as $y, ad as Hy, ae as jy, T as Wy, av as Uy, aw as Vy, a6 as Gy, ag as Ky, ap as qy, ar as Yy, U as Xy, aB as Jy, Y as Qy, _ as Zy, aa as ew, ay as tw, ab as nw, a8 as rw, aA as ow, X as aw, $ as iw, F as sw, G as lw, al as cw, am as dw, aj as uw, aq as fw, a3 as mw, an as hw, ak as pw, ao as gw } from "./index-
|
|
6
|
+
import { C as zu, P as Au, E as Pu, a as qo, b as Gn, M as Fu, p as Mu, c as Ou, R as Aa, e as ws, u as Du, f as Bu, g as _u, h as $u, i as Hu, j as ju, O as Ns, W as nn, A as Wu, B as Uu, L as Vu, k as Gu, V as Ku, l as qu, m as Yu, n as Xu, S as Ju, o as Qu, q as Zu, r as ef, s as tf, D as nf, t as rf, v as of, w as af, x as sf, y as lf, z as Pa } from "./index-hfQiGNGR.js";
|
|
7
|
+
import { ah as vy, ai as xy, K as yy, N as wy, I as Ny, a1 as Cy, Q as Iy, Z as ky, as as Sy, a0 as Ty, J as Ry, af as Ey, au as Ly, at as zy, a7 as Ay, a2 as Py, ax as Fy, H as My, ac as Oy, a9 as Dy, a4 as By, az as _y, a5 as $y, ad as Hy, ae as jy, T as Wy, av as Uy, aw as Vy, a6 as Gy, ag as Ky, ap as qy, ar as Yy, U as Xy, aB as Jy, Y as Qy, _ as Zy, aa as ew, ay as tw, ab as nw, a8 as rw, aA as ow, X as aw, $ as iw, F as sw, G as lw, al as cw, am as dw, aj as uw, aq as fw, a3 as mw, an as hw, ak as pw, ao as gw } from "./index-hfQiGNGR.js";
|
|
8
8
|
import cf from "react-dom";
|
|
9
9
|
const df = xc("Search", [
|
|
10
10
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
@@ -7899,7 +7899,7 @@ const gl = () => Vt(ll, "useChatJump"), mp = () => Vt(cl, "useChatHighlightedId"
|
|
|
7899
7899
|
}, Mr = (e, t) => {
|
|
7900
7900
|
const r = document.createElement("a");
|
|
7901
7901
|
r.href = e, r.download = t, r.rel = "noreferrer", r.click();
|
|
7902
|
-
}, bp = ln(() => import("./ChatPdfThumbnail-
|
|
7902
|
+
}, bp = ln(() => import("./ChatPdfThumbnail-DvIr6bFv.js")), vp = ln(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), xp = ln(() => import("./ChatDocxThumbnail-DzNPNFya.js")), yp = ln(() => import("./ChatTextThumbnail-yVt_iYi7.js")), wp = 288, Np = 160, Cp = (e) => {
|
|
7903
7903
|
const [t, r] = D(!1);
|
|
7904
7904
|
return X(() => {
|
|
7905
7905
|
const o = e.current;
|
|
@@ -9942,7 +9942,7 @@ const Hp = {
|
|
|
9942
9942
|
] })
|
|
9943
9943
|
] }) });
|
|
9944
9944
|
}, Zp = ln(
|
|
9945
|
-
() => import("./index-
|
|
9945
|
+
() => import("./index-C3LJVkTD.js").then((e) => e.i).then((e) => ({
|
|
9946
9946
|
default: e.F0PdfViewer
|
|
9947
9947
|
}))
|
|
9948
9948
|
), eg = () => {
|
package/dist/f0.d.ts
CHANGED
|
@@ -13597,6 +13597,27 @@ declare type GraphVisualizationOptions<R extends RecordType, Filters extends Fil
|
|
|
13597
13597
|
minZoom?: number;
|
|
13598
13598
|
/** Largest zoom the user can pan to (the zoom-in limit), passed through to F0Graph. */
|
|
13599
13599
|
maxZoom?: number;
|
|
13600
|
+
/**
|
|
13601
|
+
* Whether clicking a node flies to it (centers + zooms in close), passed
|
|
13602
|
+
* through to F0Graph. Defaults to `true` — pass `false` for a static camera on
|
|
13603
|
+
* click (selection still happens). Re-centers on every click, even a repeat.
|
|
13604
|
+
* The fly starts a beat after the click so it picks up a `viewportInset` set in
|
|
13605
|
+
* response to that same click (a side panel opening).
|
|
13606
|
+
*/
|
|
13607
|
+
centerOnNodeClick?: boolean;
|
|
13608
|
+
/**
|
|
13609
|
+
* Zoom a node click lands on (pass-through). Defaults to F0Graph's
|
|
13610
|
+
* `NODE_CLICK_ZOOM` (`1.5`), clamped to `maxZoom`. Lower it for a dense tree.
|
|
13611
|
+
*/
|
|
13612
|
+
nodeClickZoom?: number;
|
|
13613
|
+
/**
|
|
13614
|
+
* Region of the canvas (screen px) covered by a side panel / drawer the
|
|
13615
|
+
* consumer opens over the graph (pass-through to F0Graph). Every fly-to path
|
|
13616
|
+
* shifts its target so the clicked / revealed node lands centered in the free
|
|
13617
|
+
* area beside the panel instead of behind it. For a fixed-width drawer, pass
|
|
13618
|
+
* its width while open (e.g. `{ right: 480 }`) and omit it while closed.
|
|
13619
|
+
*/
|
|
13620
|
+
viewportInset?: ViewportInset;
|
|
13600
13621
|
/** Whether to render the zoom/fit controls. Defaults to `true`. */
|
|
13601
13622
|
showControls?: boolean;
|
|
13602
13623
|
/**
|
|
@@ -19290,6 +19311,24 @@ export declare interface VideoPlayerContent {
|
|
|
19290
19311
|
descriptions?: Localized<string>;
|
|
19291
19312
|
}
|
|
19292
19313
|
|
|
19314
|
+
/**
|
|
19315
|
+
* Region of the canvas (in screen px) covered by external chrome — typically a
|
|
19316
|
+
* side panel / drawer opened over the graph. All fly-to paths shift their target
|
|
19317
|
+
* so the node lands centered in the *free* area instead of behind the panel.
|
|
19318
|
+
*
|
|
19319
|
+
* The consumer measures / knows this (e.g. a fixed-width drawer) and passes it;
|
|
19320
|
+
* F0Graph has no notion of the panel itself. The side is encoded by which key is
|
|
19321
|
+
* set — a right-hand drawer sets `right`, a left-hand one (or RTL layout) sets
|
|
19322
|
+
* `left` — so no separate direction handling is needed. Omitted / `0` on every
|
|
19323
|
+
* side behaves exactly as if there were no inset.
|
|
19324
|
+
*/
|
|
19325
|
+
declare interface ViewportInset {
|
|
19326
|
+
top?: number;
|
|
19327
|
+
right?: number;
|
|
19328
|
+
bottom?: number;
|
|
19329
|
+
left?: number;
|
|
19330
|
+
}
|
|
19331
|
+
|
|
19293
19332
|
declare type VisualizacionTypeDefinition<Props, Settings = Record<string, never>> = {
|
|
19294
19333
|
render: (props: Props) => JSX.Element;
|
|
19295
19334
|
name: string;
|
|
@@ -19532,10 +19571,9 @@ declare module "@tiptap/core" {
|
|
|
19532
19571
|
|
|
19533
19572
|
declare module "@tiptap/core" {
|
|
19534
19573
|
interface Commands<ReturnType> {
|
|
19535
|
-
|
|
19536
|
-
|
|
19537
|
-
|
|
19538
|
-
outdent: () => ReturnType;
|
|
19574
|
+
fontSize: {
|
|
19575
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
19576
|
+
unsetFontSize: () => ReturnType;
|
|
19539
19577
|
};
|
|
19540
19578
|
}
|
|
19541
19579
|
}
|
|
@@ -19543,9 +19581,10 @@ declare module "@tiptap/core" {
|
|
|
19543
19581
|
|
|
19544
19582
|
declare module "@tiptap/core" {
|
|
19545
19583
|
interface Commands<ReturnType> {
|
|
19546
|
-
|
|
19547
|
-
|
|
19548
|
-
|
|
19584
|
+
indent: {
|
|
19585
|
+
setIndent: (level: number) => ReturnType;
|
|
19586
|
+
unsetIndent: () => ReturnType;
|
|
19587
|
+
outdent: () => ReturnType;
|
|
19549
19588
|
};
|
|
19550
19589
|
}
|
|
19551
19590
|
}
|
package/dist/f0.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { hE as uN, w as at, cq as Ab, a7 as dn, h4 as cN, a6 as En, fd as FV, hF as GV, hG as fN, r as Xt, av as rf, hH as HV, hI as Lw, hJ as Mr, hK as Xa, hL as WV, u as Be, aJ as Zv, hM as qi, hN as Fl, hO as hN, aD as ul, h1 as Hy, hP as UV, S as ee, s as Mb, hQ as $V, hR as YV, hS as Nw, el as XV, hT as qV, hU as ZV, hV as dN, hW 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, hX 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, hY as rF, h3 as kw, aw as nF, hZ as Pw, fM as iF, h_ 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, ha as sF, ge as bN, aL as xN, gd as lF, h$ as Jv, dT as Lb, gT as uF, at as wN, fL as cF, cC as fF, hB 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, i0 as bF, i1 as xF, i2 as NN, i3 as ep, i4 as wF, i5 as SF, R as IN, U as kN, cH as CF, i6 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, i7 as RF, bl as OF, cx as BF, l as ON, ax as zF, cl as VF, i8 as FF, h7 as GF, ay as HF, bp as WF, ab as BN, i9 as zN, ia as UF, ib as $F, I as YF, ic as XF, id as qF, ie as ZF, ig as jF } from "./F0CanvasPanel-B6yrVWWP.js";
|
|
2
2
|
import { iy as Bhe, C as zhe, D as Vhe, bd as Fhe, c as Ghe, F as Hhe, a as Whe, ir as Uhe, f as $he, bE as Yhe, be as Xhe, cv as qhe, bR as Zhe, b6 as jhe, aG as Khe, aQ as Qhe, ek as Jhe, aY as ede, cL as tde, g as rde, c1 as nde, cM as ide, il as ade, iD as ode, bS as sde, e as lde, c8 as ude, k as cde, cw as fde, it as hde, bt as dde, iu as vde, iw as pde, ix as gde, da as mde, iA as yde, d3 as _de, d4 as bde, P as xde, d8 as wde, iv as Sde, d5 as Cde, iz as Tde, iE as Dde, ii as Ade, ij as Mde, ik as Ede, ih as Lde, d6 as Nde, iC as Ide, is as kde, ip as Pde, io as Rde, d9 as Ode, gb as Bde, gU as zde, iB as Vde, bi as Fde, d2 as Gde, c$ as Hde, d1 as Wde, c_ as Ude, iq as $de, gW as Yde, gQ as Xde, gG as qde, iH as Zde, cS as jde, d0 as Kde, iG as Qde, bN as Jde, ec as eve, ga as tve, gH as rve, b as nve, bQ as ive, h9 as ave, bg as ove, ed as sve, im as lve, gS as uve, gR as cve, iF as fve } from "./F0CanvasPanel-B6yrVWWP.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, o as JF, q as e5, r as t5, s as Ow, aC as r5, aD as n5, y as i5, D as a5, v as o5, x as s5, z as l5, j as u5, H as VN, aE as c5, aF as f5, aG as h5, aH as d5, aI as v5, aJ as FN, aK as p5, aL as tp, aM as qa, aN as g5, aO as Pb, aP as Rb, a0 as m5, aQ as y5, aR as xs, aS as GN, aT as _5, aU as b5, aV as x5, aW as w5, aX as S5, aY as C5, ac as T5, as as D5, aZ as A5, a7 as M5, E as E5, a as L5, e as rp, R as Ob, u as Bb, aa as HN, O as zb, a_ as WN, a$ as Bw, b0 as Vb, I as N5, f as UN, ag as $N, b1 as I5, b2 as k5, b3 as P5, b4 as R5, M as O5 } from "./index-
|
|
5
|
-
import { K as dve, N as vve, a1 as pve, Q as gve, Z as mve, br as yve, bq as _ve, bj as bve, b6 as xve, b5 as wve, b7 as Sve, b8 as Cve, ba as Tve, bb as Dve, au as Ave, at as Mve, ax as Eve, a9 as Lve, a4 as Nve, az as Ive, a5 as kve, T as Pve, bs as Rve, av as Ove, aw as Bve, a6 as zve, U as Vve, P as Fve, Y as Gve, _ as Hve, ay as Wve, a8 as Uve, aA as $ve, X as Yve, $ as Xve, bu as qve, F as Zve, G as jve, bi as Kve, bo as Qve, bo as Jve, bp as epe, be as tpe, bd as rpe, bt as npe, aq as ipe, bg as ape, bh as ope, a3 as spe, bv as lpe, bw as upe, g as cpe, bk as fpe, bl as hpe, bm as dpe, b9 as vpe, bf as ppe, h as gpe, bn as mpe, bc as ype, bx as _pe } from "./index-
|
|
4
|
+
import { C as KF, W as QF, o as JF, q as e5, r as t5, s as Ow, aC as r5, aD as n5, y as i5, D as a5, v as o5, x as s5, z as l5, j as u5, H as VN, aE as c5, aF as f5, aG as h5, aH as d5, aI as v5, aJ as FN, aK as p5, aL as tp, aM as qa, aN as g5, aO as Pb, aP as Rb, a0 as m5, aQ as y5, aR as xs, aS as GN, aT as _5, aU as b5, aV as x5, aW as w5, aX as S5, aY as C5, ac as T5, as as D5, aZ as A5, a7 as M5, E as E5, a as L5, e as rp, R as Ob, u as Bb, aa as HN, O as zb, a_ as WN, a$ as Bw, b0 as Vb, I as N5, f as UN, ag as $N, b1 as I5, b2 as k5, b3 as P5, b4 as R5, M as O5 } from "./index-hfQiGNGR.js";
|
|
5
|
+
import { K as dve, N as vve, a1 as pve, Q as gve, Z as mve, br as yve, bq as _ve, bj as bve, b6 as xve, b5 as wve, b7 as Sve, b8 as Cve, ba as Tve, bb as Dve, au as Ave, at as Mve, ax as Eve, a9 as Lve, a4 as Nve, az as Ive, a5 as kve, T as Pve, bs as Rve, av as Ove, aw as Bve, a6 as zve, U as Vve, P as Fve, Y as Gve, _ as Hve, ay as Wve, a8 as Uve, aA as $ve, X as Yve, $ as Xve, bu as qve, F as Zve, G as jve, bi as Kve, bo as Qve, bo as Jve, bp as epe, be as tpe, bd as rpe, bt as npe, aq as ipe, bg as ape, bh as ope, a3 as spe, bv as lpe, bw as upe, g as cpe, bk as fpe, bl as hpe, bm as dpe, b9 as vpe, bf as ppe, h as gpe, bn as mpe, bc as ype, bx as _pe } from "./index-hfQiGNGR.js";
|
|
6
6
|
import * as wt from "react";
|
|
7
7
|
import B5, { forwardRef as Tr, useRef as ce, useImperativeHandle as z5, 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 V5 } from "react";
|
|
8
8
|
import { createPortal as np } from "react-dom";
|
|
@@ -11,8 +11,8 @@ import { l as Zy, c as XN, d as Cd, r as jy } from "./F0VideoPlayer-BYiRyqkd.js"
|
|
|
11
11
|
import { F as xpe } from "./F0VideoPlayer-BYiRyqkd.js";
|
|
12
12
|
import { D as H5, E as Td, G as Fb, H as qN, I as ZN, J as Qn, K as W5, L as U5, M as $5, N as Y5, O as X5, F as q5 } from "./F0AiProcessingOverlay-BmoShXls.js";
|
|
13
13
|
import { A as Spe, C as Cpe, t as Tpe, s as Dpe, v as Ape, y as Mpe, l as Epe, i as Lpe, q as Npe, z as Ipe, B as kpe, p as Ppe, r as Rpe, j as Ope, e as Bpe, g as zpe, k as Vpe, T as Fpe, w as Gpe, h as Hpe, a as Wpe, n as Upe, m as $pe, o as Ype, b as Xpe, f as qpe, x as Zpe, c as jpe, d as Kpe, u as Qpe } from "./F0AiProcessingOverlay-BmoShXls.js";
|
|
14
|
-
import { F as ege, p as tge } from "./index-
|
|
15
|
-
import { c as nge } from "./pdfWorker-
|
|
14
|
+
import { F as ege, p as tge } from "./index-C3LJVkTD.js";
|
|
15
|
+
import { c as nge } from "./pdfWorker-2_ZMbk4J.js";
|
|
16
16
|
import { g as Z5 } from "./_commonjsHelpers-ByX85dGu.js";
|
|
17
17
|
import { utils as vl, write as jN } from "./xlsx-CzlURDDb.js";
|
|
18
18
|
import { defaultTranslations as age } from "./i18n-provider-defaults.js";
|
|
@@ -56619,13 +56619,14 @@ const the = at(
|
|
|
56619
56619
|
activeTabId: v,
|
|
56620
56620
|
setActiveTabId: p,
|
|
56621
56621
|
disableContentPadding: g,
|
|
56622
|
-
container: m
|
|
56622
|
+
container: m,
|
|
56623
|
+
onWidthChange: y
|
|
56623
56624
|
}) => {
|
|
56624
|
-
const [
|
|
56625
|
+
const [_, b] = ue(t);
|
|
56625
56626
|
Me(() => {
|
|
56626
|
-
|
|
56627
|
+
b(t);
|
|
56627
56628
|
}, [t]);
|
|
56628
|
-
const
|
|
56629
|
+
const w = me(() => /* @__PURE__ */ B(it, { children: [
|
|
56629
56630
|
/* @__PURE__ */ S(
|
|
56630
56631
|
c5,
|
|
56631
56632
|
{
|
|
@@ -56645,7 +56646,7 @@ const the = at(
|
|
|
56645
56646
|
{
|
|
56646
56647
|
primaryAction: o ?? [],
|
|
56647
56648
|
secondaryAction: s ?? [],
|
|
56648
|
-
onClose: () =>
|
|
56649
|
+
onClose: () => b(!1)
|
|
56649
56650
|
}
|
|
56650
56651
|
)
|
|
56651
56652
|
] }), [
|
|
@@ -56665,16 +56666,17 @@ const the = at(
|
|
|
56665
56666
|
return /* @__PURE__ */ S(
|
|
56666
56667
|
d5,
|
|
56667
56668
|
{
|
|
56668
|
-
isOpen:
|
|
56669
|
+
isOpen: _,
|
|
56669
56670
|
onClose: e,
|
|
56670
56671
|
position: i,
|
|
56671
56672
|
size: a,
|
|
56672
56673
|
modal: d,
|
|
56673
56674
|
showOverlay: d,
|
|
56674
56675
|
fullHeight: !0,
|
|
56675
|
-
onOpenChange:
|
|
56676
|
+
onOpenChange: b,
|
|
56676
56677
|
container: m,
|
|
56677
|
-
|
|
56678
|
+
onWidthChange: y,
|
|
56679
|
+
children: w
|
|
56678
56680
|
}
|
|
56679
56681
|
);
|
|
56680
56682
|
}, Bse = v5, nV = (r) => {
|
|
@@ -1284,10 +1284,9 @@ declare module "@tiptap/core" {
|
|
|
1284
1284
|
|
|
1285
1285
|
declare module "@tiptap/core" {
|
|
1286
1286
|
interface Commands<ReturnType> {
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
outdent: () => ReturnType;
|
|
1287
|
+
fontSize: {
|
|
1288
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
1289
|
+
unsetFontSize: () => ReturnType;
|
|
1291
1290
|
};
|
|
1292
1291
|
}
|
|
1293
1292
|
}
|
|
@@ -1295,9 +1294,10 @@ declare module "@tiptap/core" {
|
|
|
1295
1294
|
|
|
1296
1295
|
declare module "@tiptap/core" {
|
|
1297
1296
|
interface Commands<ReturnType> {
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1297
|
+
indent: {
|
|
1298
|
+
setIndent: (level: number) => ReturnType;
|
|
1299
|
+
unsetIndent: () => ReturnType;
|
|
1300
|
+
outdent: () => ReturnType;
|
|
1301
1301
|
};
|
|
1302
1302
|
}
|
|
1303
1303
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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-B6yrVWWP.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-2_ZMbk4J.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-6zoPBGG1.js")), Ge = J(() => import("./DocxViewer-vA5XI6zm.js")), Ze = J(() => import("./TextViewer-DMjroRWq.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 });
|