@factorialco/f0-react 6.8.1 → 6.8.3
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-BnbuXPNR.js → ChatPdfThumbnail-B99urKL4.js} +1 -1
- package/dist/{DocumentToolbar-y3aLcNJS.js → DocumentToolbar-D8P6yao4.js} +1 -1
- package/dist/{DocxViewer-BLamnfuI.js → DocxViewer-B1oTa7FE.js} +1 -1
- package/dist/{SheetViewer-BEKUvemP.js → SheetViewer-B_a_Pk7c.js} +1 -1
- package/dist/{TextViewer-DrqpHwCf.js → TextViewer-CXtHGcQL.js} +1 -1
- package/dist/component-status.js +1 -1
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +2 -15
- package/dist/f0.js +4 -4
- package/dist/{index-BhxwFfGp.js → index-DGHi0qIa.js} +2 -2
- package/dist/{index-CBdFwZmD.js → index-MYcx5hes.js} +5319 -5299
- package/dist/{pdfWorker-BXDt5jsL.js → pdfWorker-Cxl0-4gh.js} +1 -1
- package/package.json +1 -1
package/dist/experimental.js
CHANGED
|
@@ -3,8 +3,8 @@ import { c$ as l1, c_ as c1, db as d1, cX as u1, cY as f1, cP as m1, cQ as h1, c
|
|
|
3
3
|
import { jsx as n, jsxs as h, Fragment as Pe } from "react/jsx-runtime";
|
|
4
4
|
import Y, { forwardRef as Oe, useRef as O, useTransition as vu, useState as B, useLayoutEffect as Hn, useId as Ln, useContext as zt, createContext as ht, useEffect as q, useCallback as U, useMemo as de, Fragment as _t, isValidElement as xu, cloneElement as hs, Suspense as Er, lazy as sn, createElement as or, memo as ps, Children as gs } from "react";
|
|
5
5
|
import { d as k, T as yu, a as wu, b as Nu, f as Ye, c as Cu, u as Iu } from "./tooltip-Cik7KBQT.js";
|
|
6
|
-
import { C as ku, P as Su, E as Tu, a as Uo, b as Wn, M as Ru, p as Eu, c as Lu, R as Ri, e as bs, u as zu, f as Fu, g as Pu, h as Au, i as Mu, j as Ou, O as vs, k as xs, S as Du, A as Bu, B as _u, L as $u, l as Hu, V as Wu, m as ju, n as Uu, o as Vu } from "./index-
|
|
7
|
-
import { a6 as H1, a7 as W1, v as j1, w as U1, s as V1, N as G1, x as K1, H as q1, ah as Y1, K as X1, t as J1, a4 as Q1, aj as Z1, ai as ey, Y as ty, Q as ny, am as ry, F as oy, a1 as iy, _ as ay, U as sy, ao as ly, W as cy, a2 as dy, a3 as uy, y as fy, ak as my, al as hy, X as py, a5 as gy, ae as by, ag as vy, z as xy, G as yy, I as wy, $ as Ny, an as Cy, a0 as Iy, Z as ky, ap as Sy, D as Ty, J as Ry, q as Ey, r as Ly, aa as zy, ab as Fy, a8 as Py, af as Ay, T as My, ac as Oy, a9 as Dy, ad as By } from "./index-
|
|
6
|
+
import { C as ku, P as Su, E as Tu, a as Uo, b as Wn, M as Ru, p as Eu, c as Lu, R as Ri, e as bs, u as zu, f as Fu, g as Pu, h as Au, i as Mu, j as Ou, O as vs, k as xs, S as Du, A as Bu, B as _u, L as $u, l as Hu, V as Wu, m as ju, n as Uu, o as Vu } from "./index-MYcx5hes.js";
|
|
7
|
+
import { a6 as H1, a7 as W1, v as j1, w as U1, s as V1, N as G1, x as K1, H as q1, ah as Y1, K as X1, t as J1, a4 as Q1, aj as Z1, ai as ey, Y as ty, Q as ny, am as ry, F as oy, a1 as iy, _ as ay, U as sy, ao as ly, W as cy, a2 as dy, a3 as uy, y as fy, ak as my, al as hy, X as py, a5 as gy, ae as by, ag as vy, z as xy, G as yy, I as wy, $ as Ny, an as Cy, a0 as Iy, Z as ky, ap as Sy, D as Ty, J as Ry, q as Ey, r as Ly, aa as zy, ab as Fy, a8 as Py, af as Ay, T as My, ac as Oy, a9 as Dy, ad as By } from "./index-MYcx5hes.js";
|
|
8
8
|
import Gu from "react-dom";
|
|
9
9
|
const Ku = hc("Search", [
|
|
10
10
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
@@ -7899,7 +7899,7 @@ const fl = () => Ut(ol, "useChatJump"), Qh = () => Ut(il, "useChatHighlightedId"
|
|
|
7899
7899
|
}, Ar = (e, t) => {
|
|
7900
7900
|
const r = document.createElement("a");
|
|
7901
7901
|
r.href = e, r.download = t, r.rel = "noreferrer", r.click();
|
|
7902
|
-
}, np = sn(() => import("./ChatPdfThumbnail-
|
|
7902
|
+
}, np = sn(() => import("./ChatPdfThumbnail-B99urKL4.js")), rp = sn(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), op = sn(() => import("./ChatDocxThumbnail-DzNPNFya.js")), ip = sn(() => import("./ChatTextThumbnail-yVt_iYi7.js")), ap = 288, sp = 160, lp = (e) => {
|
|
7903
7903
|
const [t, r] = B(!1);
|
|
7904
7904
|
return q(() => {
|
|
7905
7905
|
const o = e.current;
|
|
@@ -9942,7 +9942,7 @@ const Sp = {
|
|
|
9942
9942
|
] })
|
|
9943
9943
|
] }) });
|
|
9944
9944
|
}, Bp = sn(
|
|
9945
|
-
() => import("./index-
|
|
9945
|
+
() => import("./index-DGHi0qIa.js").then((e) => e.i).then((e) => ({
|
|
9946
9946
|
default: e.F0PdfViewer
|
|
9947
9947
|
}))
|
|
9948
9948
|
), _p = () => {
|
package/dist/f0.d.ts
CHANGED
|
@@ -5894,19 +5894,6 @@ export declare type DialogWidth = (typeof dialogWidths)[number];
|
|
|
5894
5894
|
|
|
5895
5895
|
declare const dialogWidths: readonly ["sm", "md", "lg", "xl"];
|
|
5896
5896
|
|
|
5897
|
-
declare type DialogWrapperContextType = {
|
|
5898
|
-
open: boolean;
|
|
5899
|
-
onClose: () => void;
|
|
5900
|
-
shownBottomSheet: boolean;
|
|
5901
|
-
position: DialogAlikePosition;
|
|
5902
|
-
/**
|
|
5903
|
-
* The dialog's content container element.
|
|
5904
|
-
* Use this as the `portalContainer` prop for components like F0Select
|
|
5905
|
-
* to ensure dropdowns render inside the dialog.
|
|
5906
|
-
*/
|
|
5907
|
-
portalContainer: HTMLDivElement | null;
|
|
5908
|
-
};
|
|
5909
|
-
|
|
5910
5897
|
/**
|
|
5911
5898
|
* The props for the F0DialogProvider component.
|
|
5912
5899
|
*/
|
|
@@ -9341,7 +9328,7 @@ export declare type F0DialogActionsProps = {
|
|
|
9341
9328
|
secondaryAction?: F0DialogSecondaryAction | F0DialogSecondaryActionItem[];
|
|
9342
9329
|
};
|
|
9343
9330
|
|
|
9344
|
-
export declare const F0DialogAlikeContext: Context<
|
|
9331
|
+
export declare const F0DialogAlikeContext: Context<F0DialogContextType>;
|
|
9345
9332
|
|
|
9346
9333
|
export declare const F0DialogAlikeProvider: ({ isOpen, onClose, shownBottomSheet, position, children, portalContainer, }: DialogWrapperProviderProps) => JSX_2.Element;
|
|
9347
9334
|
|
|
@@ -18686,7 +18673,7 @@ export declare function useF0AiFormRegistry(): F0AiFormRegistryContextValue | nu
|
|
|
18686
18673
|
|
|
18687
18674
|
export declare const useF0Dialog: () => F0DialogContextType;
|
|
18688
18675
|
|
|
18689
|
-
export declare const useF0DialogAlikeContext: () =>
|
|
18676
|
+
export declare const useF0DialogAlikeContext: () => F0DialogContextType;
|
|
18690
18677
|
|
|
18691
18678
|
/**
|
|
18692
18679
|
* Hook to control F0Form programmatically.
|
package/dist/f0.js
CHANGED
|
@@ -7,12 +7,12 @@ import { D as r5, E as n5, G as i5, H as Dd, I as Pb, J as FN, K as GN, L as Qn,
|
|
|
7
7
|
import { A as yve, C as _ve, t as bve, s as xve, v as wve, y as Sve, l as Cve, i as Tve, q as Dve, z as Ave, B as Mve, p as Eve, r as Lve, j as Nve, e as Ive, g as kve, k as Pve, T as Rve, w as Ove, h as Bve, a as zve, n as Vve, m as Fve, o as Gve, b as Hve, f as Wve, x as Uve, c as $ve, d as Yve, u as Xve } from "./F0AiProcessingOverlay-BoGKj-lN.js";
|
|
8
8
|
import { d as ee, u as ff, h as f5, i as tl, P as hf, g as ql, j as h5, f as Ga } from "./tooltip-Cik7KBQT.js";
|
|
9
9
|
import { createPortal as np } from "react-dom";
|
|
10
|
-
import { C as d5, aq as v5, ar as p5, as as g5, at as Ow, au as m5, av as y5, aw as _5, ax as b5, ay as x5, az as w5, aA as S5, j as C5, F as HN, aB as T5, aC as D5, aD as A5, aE as M5, aF as E5, aG as WN, aH as L5, aI as ip, aJ as Za, aK as N5, aL as Rb, aM as Ob, K as I5, aN as k5, aO as xs, aP as UN, aQ as P5, aR as R5, aS as O5, aT as B5, aU as z5, aV as V5, a1 as F5, ah as G5, aW as H5, Y as W5, E as U5, a as $5, e as ap, R as Bb, u as zb, $ as $N, O as Vb, aX as YN, aY as Bw, aZ as Fb, s as Y5, f as XN, a5 as qN, a_ as X5, a$ as q5, b0 as Z5, b1 as j5, M as K5 } from "./index-
|
|
11
|
-
import { v as Zve, w as jve, N as Kve, x as Qve, H as Jve, bn as epe, bm as tpe, bg as rpe, b3 as npe, b2 as ipe, b4 as ape, b5 as ope, b7 as spe, b8 as lpe, aj as upe, ai as cpe, am as fpe, _ as hpe, U as dpe, ao as vpe, W as ppe, y as gpe, bo as mpe, ak as ype, al as _pe, X as bpe, z as xpe, P as wpe, G as Spe, I as Cpe, an as Tpe, Z as Dpe, ap as Ape, D as Mpe, J as Epe, bq as Lpe, q as Npe, r as Ipe, bf as kpe, bk as Ppe, bk as Rpe, bl as Ope, bb as Bpe, ba as zpe, bp as Vpe, af as Fpe, bd as Gpe, be as Hpe, T as Wpe, br as Upe, bs as $pe, g as Ype, bh as Xpe, bi as qpe, bj as Zpe, b6 as jpe, bc as Kpe, h as Qpe, k as Jpe, b9 as ege, bt as tge } from "./index-
|
|
10
|
+
import { C as d5, aq as v5, ar as p5, as as g5, at as Ow, au as m5, av as y5, aw as _5, ax as b5, ay as x5, az as w5, aA as S5, j as C5, F as HN, aB as T5, aC as D5, aD as A5, aE as M5, aF as E5, aG as WN, aH as L5, aI as ip, aJ as Za, aK as N5, aL as Rb, aM as Ob, K as I5, aN as k5, aO as xs, aP as UN, aQ as P5, aR as R5, aS as O5, aT as B5, aU as z5, aV as V5, a1 as F5, ah as G5, aW as H5, Y as W5, E as U5, a as $5, e as ap, R as Bb, u as zb, $ as $N, O as Vb, aX as YN, aY as Bw, aZ as Fb, s as Y5, f as XN, a5 as qN, a_ as X5, a$ as q5, b0 as Z5, b1 as j5, M as K5 } from "./index-MYcx5hes.js";
|
|
11
|
+
import { v as Zve, w as jve, N as Kve, x as Qve, H as Jve, bn as epe, bm as tpe, bg as rpe, b3 as npe, b2 as ipe, b4 as ape, b5 as ope, b7 as spe, b8 as lpe, aj as upe, ai as cpe, am as fpe, _ as hpe, U as dpe, ao as vpe, W as ppe, y as gpe, bo as mpe, ak as ype, al as _pe, X as bpe, z as xpe, P as wpe, G as Spe, I as Cpe, an as Tpe, Z as Dpe, ap as Ape, D as Mpe, J as Epe, bq as Lpe, q as Npe, r as Ipe, bf as kpe, bk as Ppe, bk as Rpe, bl as Ope, bb as Bpe, ba as zpe, bp as Vpe, af as Fpe, bd as Gpe, be as Hpe, T as Wpe, br as Upe, bs as $pe, g as Ype, bh as Xpe, bi as qpe, bj as Zpe, b6 as jpe, bc as Kpe, h as Qpe, k as Jpe, b9 as ege, bt as tge } from "./index-MYcx5hes.js";
|
|
12
12
|
import { l as jy, c as ZN, d as Ad, r as Ky } from "./F0VideoPlayer-je4bZKr4.js";
|
|
13
13
|
import { F as nge } from "./F0VideoPlayer-je4bZKr4.js";
|
|
14
|
-
import { F as age, p as oge } from "./index-
|
|
15
|
-
import { c as lge } from "./pdfWorker-
|
|
14
|
+
import { F as age, p as oge } from "./index-DGHi0qIa.js";
|
|
15
|
+
import { c as lge } from "./pdfWorker-Cxl0-4gh.js";
|
|
16
16
|
import { g as Q5 } from "./_commonjsHelpers-ByX85dGu.js";
|
|
17
17
|
import { utils as vl, write as jN } from "./xlsx-CzlURDDb.js";
|
|
18
18
|
import { defaultTranslations as cge } from "./i18n-provider-defaults.js";
|
|
@@ -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-BImifyj_.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-Cxl0-4gh.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-B_a_Pk7c.js")), Ge = J(() => import("./DocxViewer-B1oTa7FE.js")), Ze = J(() => import("./TextViewer-CXtHGcQL.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 });
|