@factorialco/f0-react 4.67.0 → 4.68.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-DdGaoAhx.js → ChatPdfThumbnail-CaG1phtP.js} +1 -1
- package/dist/{DocumentToolbar-BTKvzHAu.js → DocumentToolbar-DxRPtnyk.js} +2 -2
- package/dist/{DocxViewer-C8TSH4uj.js → DocxViewer-B_wA8l77.js} +2 -2
- package/dist/{F0AiProcessingOverlay-D4uoUT5u.js → F0AiProcessingOverlay-C0NmG1vV.js} +1396 -1579
- package/dist/{F0CanvasPanel-DxDzkDr0.js → F0CanvasPanel-BStowVw4.js} +555 -553
- package/dist/F0VideoPlayer-BWRlLaGW.js +1418 -0
- package/dist/{SheetViewer-L64AYlhM.js → SheetViewer-BioSNqUs.js} +2 -2
- package/dist/{TextViewer-DdteOLrX.js → TextViewer-BtNnw0eP.js} +2 -2
- package/dist/VolumeMuted-XL3dwOL-.js +189 -0
- package/dist/ai.d.ts +6 -0
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +126 -6
- package/dist/experimental.js +7060 -6188
- package/dist/f0.d.ts +6 -0
- package/dist/f0.js +14645 -16044
- package/dist/i18n-provider-defaults.d.ts +6 -0
- package/dist/i18n-provider-defaults.js +7 -1
- package/dist/{index-BvfA8BM8.js → index-BZPUbw4M.js} +1 -1
- package/dist/{index-CnX1kb-7.js → index-Cql9uxeA.js} +3 -3
- package/dist/index-D_vSP4tQ.js +4 -0
- package/dist/{pdfWorker-JxQes0dQ.js → pdfWorker-CMiWD9U2.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -602,7 +602,9 @@ export declare const defaultTranslations: {
|
|
|
602
602
|
readonly cancelRecording: "Cancel recording";
|
|
603
603
|
readonly dropFilesHere: "Drop your files here";
|
|
604
604
|
readonly removeFile: "Remove";
|
|
605
|
+
readonly removeNamedFile: "Remove {{name}}";
|
|
605
606
|
readonly tooManyFilesError: "You can attach up to {{maxFiles}} files at once";
|
|
607
|
+
readonly fileTooLargeError: "Each file must be {{maxFileSize}} or smaller";
|
|
606
608
|
readonly fileUploadError: "Upload failed";
|
|
607
609
|
readonly micPermissionDenied: "Microphone access is blocked. Allow it in your browser settings to dictate.";
|
|
608
610
|
readonly micError: "Couldn't access the microphone.";
|
|
@@ -638,6 +640,7 @@ export declare const defaultTranslations: {
|
|
|
638
640
|
readonly reply: "Reply";
|
|
639
641
|
readonly react: "Add reaction";
|
|
640
642
|
readonly download: "Download";
|
|
643
|
+
readonly downloadNamedFile: "Download {{name}}";
|
|
641
644
|
readonly removeQuote: "Remove quote";
|
|
642
645
|
readonly edit: "Edit";
|
|
643
646
|
readonly editing: "Editing";
|
|
@@ -651,7 +654,10 @@ export declare const defaultTranslations: {
|
|
|
651
654
|
readonly previousImage: "Previous image";
|
|
652
655
|
readonly nextImage: "Next image";
|
|
653
656
|
readonly openDocument: "Open document";
|
|
657
|
+
readonly openNamedDocument: "Open {{name}}";
|
|
654
658
|
readonly documentPreview: "Document preview";
|
|
659
|
+
readonly videoPlayerLabel: "Video player: {{name}}";
|
|
660
|
+
readonly loadingVideo: "Loading video: {{name}}";
|
|
655
661
|
readonly photo: "Photo";
|
|
656
662
|
readonly photoCount: {
|
|
657
663
|
readonly one: "{{count}} photo";
|
|
@@ -602,8 +602,10 @@ const e = {
|
|
|
602
602
|
cancelRecording: "Cancel recording",
|
|
603
603
|
dropFilesHere: "Drop your files here",
|
|
604
604
|
removeFile: "Remove",
|
|
605
|
-
|
|
605
|
+
removeNamedFile: "Remove {{name}}",
|
|
606
|
+
// Composer errors (upload/voice failures are transient; validation may persist).
|
|
606
607
|
tooManyFilesError: "You can attach up to {{maxFiles}} files at once",
|
|
608
|
+
fileTooLargeError: "Each file must be {{maxFileSize}} or smaller",
|
|
607
609
|
fileUploadError: "Upload failed",
|
|
608
610
|
micPermissionDenied: "Microphone access is blocked. Allow it in your browser settings to dictate.",
|
|
609
611
|
micError: "Couldn't access the microphone.",
|
|
@@ -648,6 +650,7 @@ const e = {
|
|
|
648
650
|
reply: "Reply",
|
|
649
651
|
react: "Add reaction",
|
|
650
652
|
download: "Download",
|
|
653
|
+
downloadNamedFile: "Download {{name}}",
|
|
651
654
|
removeQuote: "Remove quote",
|
|
652
655
|
// Editing your own message (within the edit window). `editing` heads the
|
|
653
656
|
// composer chip; `edited` is the muted marker after an edited message body.
|
|
@@ -665,7 +668,10 @@ const e = {
|
|
|
665
668
|
previousImage: "Previous image",
|
|
666
669
|
nextImage: "Next image",
|
|
667
670
|
openDocument: "Open document",
|
|
671
|
+
openNamedDocument: "Open {{name}}",
|
|
668
672
|
documentPreview: "Document preview",
|
|
673
|
+
videoPlayerLabel: "Video player: {{name}}",
|
|
674
|
+
loadingVideo: "Loading video: {{name}}",
|
|
669
675
|
// Attachment previews in reply quotes + the composer chip (a lone file shows
|
|
670
676
|
// its real name instead of a count).
|
|
671
677
|
photo: "Photo",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m, jsxs as P, Fragment as Pe } from "react/jsx-runtime";
|
|
2
2
|
import * as Ve from "react";
|
|
3
3
|
import le, { useRef as V, useState as Z, useCallback as te, useEffect as oe, useContext as ut, useMemo as Q, createContext as It, forwardRef as Ze, useLayoutEffect as sn, memo as Nt, useReducer as B7, cloneElement as nE, PureComponent as yc, useImperativeHandle as La, Fragment as Ol, useId as vc, createElement as Wv, isValidElement as j7, useDebugValue as iE, version as z2, createRef as H7 } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { en as B2, eo as Wf, ep as V7, e9 as rE, eq as W7, er as U7, es as q7, et as V1, eu as K7, ev as G7, ew as Y7, ex as X7, ey as J7, ez as Z7, eA as Q7, a2 as Ke, eB as oE, eC as eP, ac as nn, an as ig, ae as rg, c5 as tP, dc as nP, a3 as Ts, w as Ft, r as Qi, eD as sE, eE as aE, eF as iP, eG as rP, eH as Gs, eI as At, eJ as ui, eK as lE, eL as oP, eM as cE, eN as sP, eO as zn, eP as og, eQ as tn, eR as dE, eS as sg, eT as gw, eU as yw, eV as vw, eW as In, eX as di, eY as Uv, eZ as ag, e_ as aP, e$ as Yn, f0 as ls, f1 as ai, f2 as Fa, f3 as bw, f4 as lg, f5 as Ih, f6 as cg, cx as ww, f7 as lP, f8 as Bu, f9 as cp, fa as cP, fb as dP, fc as fP, fd as uP, fe as hP, ff as pP, fg as fE, fh as uE, fi as hE, fj as pE, fk as mE, fl as mP, fm as dp, fn as gP, fo as yP, fp as Uf, fq as Ds, ef as yo, fr as xw, fs as qf, ft as gE, eg as yE, fu as vP, fv as bP, ed as wP, fw as xP, ee as kP, aB as Xn, fx as Jn, fy as _P, fz as vE, fA as bE, ch as er, a9 as zt, cP as SP, aO as Yi, m as Ee, ar as bc, at as Ml, U as nt, aj as Kf, c6 as CP, fB as EP, fC as AP, u as Be, b3 as kw, bf as wc, cv as wE, bI as xE, av as _w, br as dg, y as fg, fD as kE, b5 as NP, al as Lr, fE as TP, b$ as _E, fF as DP, cU as fn, fG as SE, fH as CE, fI as qv, fJ as OP, fK as j2, aD as Gf, c$ as EE, cV as Kv, t as Sw, v as Cw, x as Ew, cZ as MP, k as qi, cD as H2, ca as IP, dm as RP, dK as Gv, fL as PP, fM as LP, fN as W1, dP as AE, bY as $a, aH as bs, cf as FP, fO as V2, c4 as Aw, fP as $P, cT as zP, a1 as BP, $ as jP, Z as HP, fQ as NE, fR as VP, ea as WP, fS as UP, fT as TE, a7 as qP, fU as KP, fV as GP, fW as YP, fX as W2, fY as U2, fZ as U1, f_ as q2, f$ as XP, g0 as JP, aC as ZP, g1 as DE, g2 as QP, aT as eL, cK as ug, z as OE, A as ME, c1 as hg, B as IE, ak as tL, g3 as nL, g4 as K2, ai as fp, cL as pg, E as RE, G as PE, J as LE, K as FE, o as xc, dC as mg, aA as vo, aM as $E, bo as iL, bp as rL, g5 as oL, n as Nw, g6 as zE, g7 as gg, g8 as kc, g9 as sL, ga as Tw, gb as qt, e8 as Gd, gc as Vn, d6 as va, cc as Yv, aJ as aL, aK as lL, S as De, af as cL, ao as Xv, cn as dL, bR as BE, bS as jE, bT as HE, s as Yf, gd as Dw, aF as yg, ge as fL, aU as uL, bP as vg, bz as So, c2 as VE, c3 as WE, az as hL, cA as pL, dZ as UE, b9 as mL, gf as gL, gg as yL, cY as vL, gh as up, gi as Yo, e5 as bL, dS as wL, gj as xL, bl as kL, aP as Jv, dU as qE, bq as _L, bF as SL, gk as KE, bH as CL, bh as EL, gl as AL, gm as bg, gn as wg, ci as NL, cj as TL, ck as DL, cm as OL, go as xg, gp as Zv, bU as kg, gq as ML, gr as hp, gs as IL, aN as RL, dM as PL, gt as G2, gu as LL, gv as Y2, gw as q1, gx as GE, Q as YE, dR as FL, dz as $L, i as Ow, gy as zL, gz as BL, bj as jL, ap as HL, j as Mw, cG as VL, dO as WL, dH as X2, dL as Iw, dW as UL, l as qL, gA as KL, gB as Rw, dd as GL, dk as YL, dT as XL, gC as JL, q as ZL, cu as J2, gD as QL, gE as eF, gF as tF, gG as nF, gH as XE, b_ as iF, as as rF, c as oF, cz as sF, H as K1, gI as Xf, gJ as Pw, gK as Lw, gL as Jf, gM as aF, aw as lF, cH as Fw, bw as cF, d7 as dF, b7 as fF, bC as uF, de as hF, dG as pF, dY as mF, dV as gF, dD as JE, dE as ZE, dF as QE, dN as e9, di as t9, da as n9, d8 as i9, db as r9, d9 as o9, dj as s9, dQ as a9, aG as l9, gN as c9, gO as yF, bb as vF, dx as bF, dv as wF, du as xF, dt as kF, dw as _F, bK as SF, d_ as CF, bJ as EF, bZ as AF, dX as NF, bN as TF, bO as DF, R as OF, bX as MF, gP as IF, e4 as RF, gQ as PF, gR as LF, gS as FF } from "./F0CanvasPanel-BStowVw4.js";
|
|
5
5
|
import { d as X, e as Zn, T as Zf, a as Qf, b as eu, c as tu, f as un, u as d9, S as $F } from "./tooltip-Cik7KBQT.js";
|
|
6
6
|
import { g as _g } from "./_commonjsHelpers-ByX85dGu.js";
|
|
7
7
|
import $w, { unstable_batchedUpdates as ju, createPortal as zw, flushSync as zF } from "react-dom";
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
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-BStowVw4.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-CMiWD9U2.js";
|
|
5
5
|
import { F as We } from "./Printer-B7iDPx2r.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-BioSNqUs.js")), Ge = J(() => import("./DocxViewer-B_wA8l77.js")), Ze = J(() => import("./TextViewer-BtNnw0eP.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 });
|
|
@@ -1,8 +1,8 @@
|
|
|
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 { e as clsx } from "./tooltip-Cik7KBQT.js";
|
|
4
|
-
import {
|
|
5
|
-
import { d as dequal } from "./index-
|
|
4
|
+
import { V as invariant } from "./F0CanvasPanel-BStowVw4.js";
|
|
5
|
+
import { d as dequal } from "./index-BZPUbw4M.js";
|
|
6
6
|
import { a as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./_commonjsHelpers-ByX85dGu.js";
|
|
7
7
|
import { c as commonjsRequire } from "./_commonjs-dynamic-modules-BpilXLfW.js";
|
|
8
8
|
import './pdfWorker.css';var pdf$1 = { exports: {} };
|