@factorialco/f0-react 4.51.0 → 4.53.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/{ChatDocxThumbnail-ZpA0oGfg.js → ChatDocxThumbnail-DzNPNFya.js} +1 -1
- package/dist/{ChatPdfThumbnail-Inmuy7U7.js → ChatPdfThumbnail-Ee5Wx96X.js} +1 -1
- package/dist/{DocumentToolbar-BYKMRth5.js → DocumentToolbar-BwJIFXDT.js} +2 -2
- package/dist/{DocxViewer-DTyN6WkM.js → DocxViewer-C8UBtCTB.js} +3 -3
- package/dist/{F0AiProcessingOverlay-BUB4HW4a.js → F0AiProcessingOverlay-BR8LMWyo.js} +802 -693
- package/dist/{F0CanvasPanel-DkQ4xhBx.js → F0CanvasPanel-DGLx1cqO.js} +545 -575
- package/dist/{LocationMap-BiiecVq_.js → LocationMap-BeSyUnec.js} +1 -1
- package/dist/{SheetViewer-BettRk5l.js → SheetViewer-DUvAHeaC.js} +2 -2
- package/dist/{TextViewer-DkXDyzcR.js → TextViewer-60i44dbD.js} +2 -2
- package/dist/_commonjsHelpers-ByX85dGu.js +33 -0
- package/dist/ai.d.ts +16 -0
- package/dist/ai.js +2 -2
- package/dist/axe-mZXA-kzX.js +23823 -0
- package/dist/component-status.d.ts +14 -0
- package/dist/component-status.js +297 -92
- package/dist/{docx-preview-bIzfytWN.js → docx-preview-BaRDMyPN.js} +1 -1
- package/dist/experimental.d.ts +16 -0
- package/dist/experimental.js +7 -7
- package/dist/f0.d.ts +67 -0
- package/dist/f0.js +13027 -12287
- package/dist/i18n-provider-defaults.d.ts +16 -0
- package/dist/i18n-provider-defaults.js +16 -0
- package/dist/{index-C4zDor6d.js → index-DsuHJt_y.js} +135 -134
- package/dist/{index-Ck1QOo1R.js → index-EDXekGcx.js} +29 -29
- package/dist/{pdfWorker-BecOMPtI.js → pdfWorker-D0j0TkJF.js} +3 -2
- package/dist/styles.css +1 -1
- package/icons/app/VolumeHigh.d.ts +4 -0
- package/icons/app/VolumeHigh.d.ts.map +1 -0
- package/icons/app/VolumeHigh.js +5 -0
- package/icons/app/VolumeMid.d.ts +4 -0
- package/icons/app/VolumeMid.d.ts.map +1 -0
- package/icons/app/VolumeMid.js +5 -0
- package/icons/app/VolumeMuted.d.ts +4 -0
- package/icons/app/VolumeMuted.d.ts.map +1 -0
- package/icons/app/VolumeMuted.js +5 -0
- package/icons/app/index.d.ts +3 -0
- package/icons/app/index.d.ts.map +1 -1
- package/icons/app/index.js +3 -0
- package/package.json +3 -2
package/dist/experimental.d.ts
CHANGED
|
@@ -4104,6 +4104,22 @@ declare const defaultTranslations: {
|
|
|
4104
4104
|
readonly other: "Showing the first {{count}} rows";
|
|
4105
4105
|
};
|
|
4106
4106
|
};
|
|
4107
|
+
readonly videoPlayer: {
|
|
4108
|
+
readonly regionLabel: "Video player";
|
|
4109
|
+
readonly play: "Play";
|
|
4110
|
+
readonly pause: "Pause";
|
|
4111
|
+
readonly playing: "Playing";
|
|
4112
|
+
readonly paused: "Paused";
|
|
4113
|
+
readonly mute: "Mute";
|
|
4114
|
+
readonly unmute: "Unmute";
|
|
4115
|
+
readonly volume: "Volume";
|
|
4116
|
+
readonly seekLabel: "Seek";
|
|
4117
|
+
readonly enterFullscreen: "Enter fullscreen";
|
|
4118
|
+
readonly exitFullscreen: "Exit fullscreen";
|
|
4119
|
+
readonly playbackSpeed: "Playback speed ({{rate}})";
|
|
4120
|
+
readonly playbackSpeedLabel: "Playback speed";
|
|
4121
|
+
readonly timeProgress: "{{current}} of {{total}}";
|
|
4122
|
+
};
|
|
4107
4123
|
};
|
|
4108
4124
|
|
|
4109
4125
|
export declare interface DeleteBlockNotesTextEditorPageDocumentPatch {
|
package/dist/experimental.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { y as Sl, B as kl, z as Tl, A as Rl, E as Vo, G as Tn, H as ln, J as El, n as S, K as ue, L as zt, u as pe, M as Ll, N as zl, O as Al, R as Fl, Q as Pl, U as Qe, V as Ml, W as so, X as Hn, Y as mn, Z as Ve, _ as Ol, $ as Dl, a0 as ve, a1 as Bl, a2 as _l, a3 as Ie, a4 as ea, a5 as Hl, a6 as $l, m as Me, a7 as er, S as ie, a8 as Vt, a9 as Wl, aa as jl, ab as Vl, ac as Ul, ad as Gl, ae as ct, af as ta, ag as na, ah as At, ai as $n, aj as Kl, e as ra, ak as Wt, al as oa, am as tr, w as tt, s as We, an as Wn, ao as ia, ap as ql, aq as aa, ar as Ue, t as Je, as as Yl, at as Xl, au as Ql, av as Jl, aw as Zl, ax as Et, ay as nr, az as ec, aA as tc, aB as nc, aC as rc, aD as rr, aE as sa, j as la, aF as oc, aG as ic, k as jn, aH as ac, aI as ca, aJ as sc, aK as lc, aL as cc, aM as dc, aN as uc, aO as da, aP as ua, aQ as fa, aR as Br, aS as ha, aT as _r, aU as ma, aV as fc, aW as hc, aX as mc, aY as pa, aZ as pc, a_ as nt, a$ as Zt, b0 as Hr, b1 as ga, b2 as gc, b3 as or, b4 as bc, b5 as vc, b6 as xc, b7 as Jt, b8 as yc, b9 as wc, ba as dn, bb as Uo, bc as $r, bd as Nc, be as Cc, b as ba, bf as Ic, a as Sc, bg as ir, bh as kc, g as Tc, F as Rc, bi as Ec, bj as va, bk as Lc, q as lo, bl as zc, bm as co, bn as en, bo as Ac, bp as Fc, bq as Pc, br as Mc, bs as xa, bt as Oc, bu as Dc, bv as Bc, bw as Wr, bx as _c, by as Hc, bz as $c, bA as uo, bB as Wc, bC as jc, bD as Vc, bE as Uc, bF as Gc, bG as Kc, bH as qc, bI as ya, bJ as wa, bK as Na, bL as Yc, bM as Xc, bN as Qc, bO as Jc, bP as Zc, bQ as Ca, bR as ed, bS as td, bT as Ia, bU as fo, bV as nd, bW as rd, bX as od, o as id, bY as ad, bZ as Sa, b_ as sd, b$ as ld, c0 as ka, c1 as Ta, c2 as Ra, l as Vn, c3 as cd, c4 as Go, c5 as Ea, c6 as dd, c7 as ud, c8 as fd, c9 as jr, ca as Vr, cb as hd, cc as md, cd as pd, ce as gd, cf as bd, cg as vd, ch as xd, ci as St, cj as ho, ck as mo, cl as po, cm as La, cn as go, co as za, cp as Aa, cq as yd, cr as wd, cs as Nd, ct as Cd, cu as Id, cv as Sd, cw as kd, cx as Ko, cy as Td, cz as Rd, cA as qo, cB as Ed, cC as Ld, cD as zd, cE as Ad, cF as Fa, cG as Fd, cH as Pd } from "./F0CanvasPanel-DGLx1cqO.js";
|
|
2
|
+
import { cR as S0, cQ as k0, d1 as T0, cN as R0, cO as E0, cI as L0, cJ as z0, cJ as A0, cK as F0, d4 as P0, cP as M0, cZ as O0, c_ as D0, d2 as B0, cL as _0, cT as H0, cS as $0, T as W0, h as j0, c$ as V0, d5 as U0, d0 as G0, d3 as K0, cY as q0, cV as Y0, cX as X0, cU as Q0, cM as J0, cW as Z0 } from "./F0CanvasPanel-DGLx1cqO.js";
|
|
3
3
|
import { jsx as n, jsxs as m, Fragment as De } from "react/jsx-runtime";
|
|
4
4
|
import Q, { forwardRef as Ae, useRef as _, useTransition as Md, useState as $, 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 Hd, b as $d, 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 { a3 as tx, a4 as nx, t as rx, v as ox, r as ix, J as ax, w as sx, E as lx, ae as cx, I as dx, s as ux, a1 as fx, ag as hx, af as mx, U as px, aj as gx, F as bx, _ as vx, X as xx, N as yx, al as wx, Q as Nx, $ as Cx, a0 as Ix, x as Sx, ah as kx, ai as Tx, T as Rx, a2 as Ex, ab as Lx, ad as zx, y as Ax, D as Fx, G as Px, Y as Mx, ak as Ox, Z as Dx, W as Bx, am as _x, z as Hx, H as $x, o as Wx, q as jx, a7 as Vx, a8 as Ux, a5 as Gx, ac as Kx, K as qx, a9 as Yx, a6 as Xx, aa as Qx } from "./index-
|
|
5
|
+
import { C as Dd, P as Bd, a as Nn, M as _d, p as Hd, b as $d, 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-DsuHJt_y.js";
|
|
6
|
+
import { a3 as tx, a4 as nx, t as rx, v as ox, r as ix, J as ax, w as sx, E as lx, ae as cx, I as dx, s as ux, a1 as fx, ag as hx, af as mx, U as px, aj as gx, F as bx, _ as vx, X as xx, N as yx, al as wx, Q as Nx, $ as Cx, a0 as Ix, x as Sx, ah as kx, ai as Tx, T as Rx, a2 as Ex, ab as Lx, ad as zx, y as Ax, D as Fx, G as Px, Y as Mx, ak as Ox, Z as Dx, W as Bx, am as _x, z as Hx, H as $x, o as Wx, q as jx, a7 as Vx, a8 as Ux, a5 as Gx, ac as Kx, K as qx, a9 as Yx, a6 as Xx, aa as Qx } from "./index-DsuHJt_y.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 $h = {
|
|
|
8412
8412
|
] })
|
|
8413
8413
|
] }) });
|
|
8414
8414
|
}, Jh = tn(
|
|
8415
|
-
() => import("./index-
|
|
8415
|
+
() => import("./index-EDXekGcx.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-Ee5Wx96X.js")), Zp = tn(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), eg = tn(() => import("./ChatDocxThumbnail-DzNPNFya.js")), tg = tn(() => import("./ChatTextThumbnail-yVt_iYi7.js")), Fr = 288, ng = 160, rg = (e) => {
|
|
12632
12632
|
const [t, r] = $(!1);
|
|
12633
12633
|
return te(() => {
|
|
12634
12634
|
const o = e.current;
|
|
@@ -12755,7 +12755,7 @@ const Wp = (e) => {
|
|
|
12755
12755
|
]
|
|
12756
12756
|
}
|
|
12757
12757
|
);
|
|
12758
|
-
}, ig = tn(() => import("./LocationMap-
|
|
12758
|
+
}, ig = tn(() => import("./LocationMap-BeSyUnec.js")), ag = 200, sg = ({ latitude: e, longitude: t }) => `https://www.google.com/maps?q=${e},${t}`, lg = ({
|
|
12759
12759
|
location: e,
|
|
12760
12760
|
cornerClass: t = "rounded-xl"
|
|
12761
12761
|
}) => {
|
package/dist/f0.d.ts
CHANGED
|
@@ -5310,6 +5310,22 @@ export declare const defaultTranslations: {
|
|
|
5310
5310
|
readonly other: "Showing the first {{count}} rows";
|
|
5311
5311
|
};
|
|
5312
5312
|
};
|
|
5313
|
+
readonly videoPlayer: {
|
|
5314
|
+
readonly regionLabel: "Video player";
|
|
5315
|
+
readonly play: "Play";
|
|
5316
|
+
readonly pause: "Pause";
|
|
5317
|
+
readonly playing: "Playing";
|
|
5318
|
+
readonly paused: "Paused";
|
|
5319
|
+
readonly mute: "Mute";
|
|
5320
|
+
readonly unmute: "Unmute";
|
|
5321
|
+
readonly volume: "Volume";
|
|
5322
|
+
readonly seekLabel: "Seek";
|
|
5323
|
+
readonly enterFullscreen: "Enter fullscreen";
|
|
5324
|
+
readonly exitFullscreen: "Exit fullscreen";
|
|
5325
|
+
readonly playbackSpeed: "Playback speed ({{rate}})";
|
|
5326
|
+
readonly playbackSpeedLabel: "Playback speed";
|
|
5327
|
+
readonly timeProgress: "{{current}} of {{total}}";
|
|
5328
|
+
};
|
|
5313
5329
|
};
|
|
5314
5330
|
|
|
5315
5331
|
/**
|
|
@@ -11880,6 +11896,57 @@ export declare type F0ToolCall = {
|
|
|
11880
11896
|
};
|
|
11881
11897
|
};
|
|
11882
11898
|
|
|
11899
|
+
/**
|
|
11900
|
+
* @experimental This is an experimental component, use it at your own risk.
|
|
11901
|
+
*
|
|
11902
|
+
* Video player built on a native `<video>` element with f0-styled controls
|
|
11903
|
+
* (play/pause, seekbar, volume, playback speed, fullscreen) plus keyboard
|
|
11904
|
+
* shortcuts. Analytics, watch-% milestones, completion and forward-seek
|
|
11905
|
+
* restriction are built in and enabled via props (`onTrackAction`,
|
|
11906
|
+
* `onMilestone`, `onComplete`, `restrictForwardSeek`).
|
|
11907
|
+
*/
|
|
11908
|
+
export declare const F0VideoPlayer: WithDataTestIdReturnType_3<typeof F0VideoPlayerInternal>;
|
|
11909
|
+
|
|
11910
|
+
/**
|
|
11911
|
+
* Video player built on a native `<video>` element.
|
|
11912
|
+
*
|
|
11913
|
+
* useVideoState → element ref, native listeners, derived state.
|
|
11914
|
+
* useFullscreen → toggles fullscreen on the wrapper (keeps controls visible).
|
|
11915
|
+
* useKeyboardShortcuts → Space, ←/→, ↑/↓, M, F.
|
|
11916
|
+
* useVideoTracking → analytics callback on play/pause + interval.
|
|
11917
|
+
* useVideoMilestones → watched-% milestone callbacks (25/50/75).
|
|
11918
|
+
* useVideoCompletion → "watched enough" callback (min(10s, 3%)).
|
|
11919
|
+
* useRestrictForwardSeek → blocks seeking past the furthest-watched point.
|
|
11920
|
+
* <Controls> → presentation only; interactions delegated back here.
|
|
11921
|
+
*/
|
|
11922
|
+
declare function F0VideoPlayerInternal({ src, autoPlay, autoFocus, restrictForwardSeek, onTrackAction, onMilestone, onComplete, ...dataAttributes }: F0VideoPlayerProps): JSX_2.Element;
|
|
11923
|
+
|
|
11924
|
+
export declare interface F0VideoPlayerProps extends DataAttributes_2 {
|
|
11925
|
+
/** Video source URL. */
|
|
11926
|
+
src: string;
|
|
11927
|
+
/** Start playing on mount. Default `false`. */
|
|
11928
|
+
autoPlay?: boolean;
|
|
11929
|
+
/** Focus the player on mount so keyboard shortcuts work immediately. Default `false`. */
|
|
11930
|
+
autoFocus?: boolean;
|
|
11931
|
+
/**
|
|
11932
|
+
* Prevent seeking past the furthest point already watched. Renders a marker at
|
|
11933
|
+
* that position and blocks the cursor beyond it. Default `false`.
|
|
11934
|
+
*/
|
|
11935
|
+
restrictForwardSeek?: boolean;
|
|
11936
|
+
/** Called on play, on pause and on a recurring heartbeat during playback. */
|
|
11937
|
+
onTrackAction?: () => void;
|
|
11938
|
+
/**
|
|
11939
|
+
* Called once when each watched-% milestone (`25`, `50`, `75`) is first
|
|
11940
|
+
* reached. For progress analytics; completion is reported via `onComplete`.
|
|
11941
|
+
*/
|
|
11942
|
+
onMilestone?: (milestone: number, video: HTMLVideoElement) => void;
|
|
11943
|
+
/**
|
|
11944
|
+
* Called once when the video is "watched enough": the remaining time drops to
|
|
11945
|
+
* `min(10s, 3% of duration)` (the later of "last 10s" and "97%").
|
|
11946
|
+
*/
|
|
11947
|
+
onComplete?: (video: HTMLVideoElement) => void;
|
|
11948
|
+
}
|
|
11949
|
+
|
|
11883
11950
|
export declare const F0WizardForm: {
|
|
11884
11951
|
<TSchema extends F0FormSchema_2>(props: F0WizardFormSingleSchemaProps<TSchema>): default_2.ReactElement;
|
|
11885
11952
|
<T extends F0PerSectionSchema_2>(props: F0WizardFormPerSectionProps<T>): default_2.ReactElement;
|