@factorialco/f0-react 8.3.0 → 8.5.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.
Files changed (30) hide show
  1. package/dist/{ChatPdfThumbnail-CCRciWM2.js → ChatPdfThumbnail-Zvb8T9ae.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-dsZQOo0W.js → ChatPostComposerDialog-CqtSnrv1.js} +3 -3
  3. package/dist/{DocumentToolbar-DRjc6OvY.js → DocumentToolbar-BURsTTzt.js} +2 -2
  4. package/dist/{DocxViewer-BpBOMZ4p.js → DocxViewer-C4lMNb2n.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-DomyajN4.js → F0AiProcessingOverlay-DSqrHg0P.js} +1 -1
  6. package/dist/{F0CanvasPanel-Zn3xngd4.js → F0CanvasPanel-Cnv8Z0Bu.js} +18729 -18599
  7. package/dist/{F0Map-N_g1233G.js → F0Map-BgVFbcJm.js} +4 -4
  8. package/dist/{F0VideoPlayer-BXPQpZho.js → F0VideoPlayer-BtsW1ey2.js} +2 -2
  9. package/dist/{MapProvider-BlpN6UTt.js → MapProvider-C4uk2TNn.js} +2 -2
  10. package/dist/{SheetViewer-CB7xAKss.js → SheetViewer-BQRIxKjN.js} +2 -2
  11. package/dist/{TextViewer-BJ0XoI2w.js → TextViewer-B-vpgqSD.js} +2 -2
  12. package/dist/ai.d.ts +8 -8
  13. package/dist/ai.js +2 -2
  14. package/dist/component-status.d.ts +8 -8
  15. package/dist/component-status.js +1 -1
  16. package/dist/{experimental-o8CO5jov.js → experimental-CRkywTY0.js} +7 -7
  17. package/dist/experimental.d.ts +38 -10
  18. package/dist/experimental.js +4 -4
  19. package/dist/f0.d.ts +39 -11
  20. package/dist/f0.js +10 -10
  21. package/dist/i18n-provider-defaults.d.ts +8 -8
  22. package/dist/{index-Uo3ZhqG6.js → index-9b8C3rnh.js} +3 -3
  23. package/dist/{index-BWg4BuiJ.js → index-COdBgV0F.js} +3 -3
  24. package/dist/{index-Bf9YiH2E.js → index-Cj0YtUA_.js} +2 -2
  25. package/dist/{index-DT3Cmxtt.js → index-Da5-UhV8.js} +1 -1
  26. package/dist/index-M3oGx2wU.js +4 -0
  27. package/dist/{pdfWorker-mOY4-mCQ.js → pdfWorker-Dyzn49Gu.js} +2 -2
  28. package/dist/styles.css +1 -1
  29. package/package.json +1 -1
  30. package/dist/index-BB_EwD91.js +0 -4
@@ -1,9 +1,9 @@
1
- import { d7 as Nv, d8 as id, d9 as Iv, da as Tv, db as Pt, dc as Rv, dd as Ev, de as Vc, u as re, ab as _e, cl as Pe, aw as ro, aa as wn, d4 as ea, cQ as _i, B as Mn, E as gn, ai as Yn, L as gt, H as na, J as so, y as Me, b_ as ks, K as ia, am as Kc, ci as Yc, aG as ys, bq as lo, ad as Rn, s as Xc, v as ve, cp as Nn, t as Jc, z as ws, w as Qi, x as _s, df as Mv, S as oe, G as Pn, c_ as Li, q as ta, cg as Pr, cB as Ti, ak as Fv, dg as Qc, o as Lr, d3 as Mi, dh as xs, di as Av, aK as wt, aJ as Cs, m as fo, dj as Pv, aC as Lv, cC as xi, dk as co, dl as Zc, dm as Ov, dn as zv, bz as Bv, r as uo, dp as eu, j as mo, dq as Dv, aR as Hv, k as vt, dr as nu, bS as Wv, ds as jv, dt as $v, du as qv, dv as Gv, dw as Or, dx as iu, cF as ho, ay as tu, dy as Uv, dz as Vv, dA as Kv, a8 as au, dB as Yv, dC as Ci, cv as hi, dD as zr, cD as Ss, dE as ou, ah as _t, dF as Wa, dG as ru, dH as Ns, cJ as Xv, dI as Ei, co as oi, dJ as Jv, dK as Qv, dL as Zv, cw as ut, bR as ep, bX as aa, ck as wi, aZ as ja, aP as np, dM as su, a9 as Un, dN as ip, dO as lu, dP as Br, bf as tp, bM as ap, bN as op, bh as du, a1 as Is, dQ as fu, M as rp, N as sp, Q as lp, dR as dp, aY as oa, bG as go, bF as Ts, ch as cu, aU as Rs, bk as fp, bE as cp, bT as up, O as mp, aF as hp, c5 as uu, dS as Kn, cx as mu, cy as hu, cz as gu, bW as vu, dT as gp, dU as vp, dV as vo, dW as pp, dX as bp, a as kp, b as yp, dY as er, af as Dt, ag as Dr, dZ as po, g as wp, d_ as pu, F as _p, d$ as xp, e0 as Cp, bD as bo, e as Es, e1 as Sp, e2 as Np, e3 as Ms, e4 as td, e5 as ya, e6 as Rt, e7 as Ip, c7 as Tp, c6 as bu, bC as ko, b3 as Rp, e8 as Ep, e9 as Mp, bY as ku, c0 as yo, W as Fp, ae as Fs, at as yu, cT as Ap, aL as wo, ea as As, bJ as Pp, bI as Lp, aS as $a, eb as wu, ec as Op, ed as zp, ee as Bp, ef as Dp, eg as Hp, eh as Wp, av as Hr, bw as jp, aH as $p, aM as _o, ei as Ps, ej as Ls, ek as Os, cr as _u, bc as xu, aE as Cu, el as qp, l as xo, cE as zs, cn as Bs, $ as Wr, a0 as Lt, bo as Gp, bb as Up, bA as Vp, bO as Su, bP as Ds, aN as Kp, em as Nu, en as Iu, eo as Tu, ep as Ru, d6 as Yp, d5 as Xp, eq as Hs, bQ as Jp, cs as Qp, cu as Ws, cm as Zp, cd as e0, cA as js, a2 as n0, er as i0, au as Eu, an as ad, as as Mu, b$ as t0, bd as a0, R as nr, ce as o0, cM as r0, es as Si, et as s0, eu as l0, ev as d0, ew as f0, ex as c0, cU as u0, br as Fu, ey as qa, ez as m0, bU as h0, c9 as g0, aW as v0, c4 as ir, aV as p0, bp as b0, aQ as k0, eA as y0, c3 as w0, cO as _0, cP as x0, eB as C0, eC as Au, eD as S0, eE as N0 } from "./F0CanvasPanel-Zn3xngd4.js";
1
+ import { d7 as Nv, d8 as id, d9 as Iv, da as Tv, db as Pt, dc as Rv, dd as Ev, de as Vc, u as re, ab as _e, cl as Pe, aw as ro, aa as wn, d4 as ea, cQ as _i, B as Mn, E as gn, ai as Yn, L as gt, H as na, J as so, y as Me, b_ as ks, K as ia, am as Kc, ci as Yc, aG as ys, bq as lo, ad as Rn, s as Xc, v as ve, cp as Nn, t as Jc, z as ws, w as Qi, x as _s, df as Mv, S as oe, G as Pn, c_ as Li, q as ta, cg as Pr, cB as Ti, ak as Fv, dg as Qc, o as Lr, d3 as Mi, dh as xs, di as Av, aK as wt, aJ as Cs, m as fo, dj as Pv, aC as Lv, cC as xi, dk as co, dl as Zc, dm as Ov, dn as zv, bz as Bv, r as uo, dp as eu, j as mo, dq as Dv, aR as Hv, k as vt, dr as nu, bS as Wv, ds as jv, dt as $v, du as qv, dv as Gv, dw as Or, dx as iu, cF as ho, ay as tu, dy as Uv, dz as Vv, dA as Kv, a8 as au, dB as Yv, dC as Ci, cv as hi, dD as zr, cD as Ss, dE as ou, ah as _t, dF as Wa, dG as ru, dH as Ns, cJ as Xv, dI as Ei, co as oi, dJ as Jv, dK as Qv, dL as Zv, cw as ut, bR as ep, bX as aa, ck as wi, aZ as ja, aP as np, dM as su, a9 as Un, dN as ip, dO as lu, dP as Br, bf as tp, bM as ap, bN as op, bh as du, a1 as Is, dQ as fu, M as rp, N as sp, Q as lp, dR as dp, aY as oa, bG as go, bF as Ts, ch as cu, aU as Rs, bk as fp, bE as cp, bT as up, O as mp, aF as hp, c5 as uu, dS as Kn, cx as mu, cy as hu, cz as gu, bW as vu, dT as gp, dU as vp, dV as vo, dW as pp, dX as bp, a as kp, b as yp, dY as er, af as Dt, ag as Dr, dZ as po, g as wp, d_ as pu, F as _p, d$ as xp, e0 as Cp, bD as bo, e as Es, e1 as Sp, e2 as Np, e3 as Ms, e4 as td, e5 as ya, e6 as Rt, e7 as Ip, c7 as Tp, c6 as bu, bC as ko, b3 as Rp, e8 as Ep, e9 as Mp, bY as ku, c0 as yo, W as Fp, ae as Fs, at as yu, cT as Ap, aL as wo, ea as As, bJ as Pp, bI as Lp, aS as $a, eb as wu, ec as Op, ed as zp, ee as Bp, ef as Dp, eg as Hp, eh as Wp, av as Hr, bw as jp, aH as $p, aM as _o, ei as Ps, ej as Ls, ek as Os, cr as _u, bc as xu, aE as Cu, el as qp, l as xo, cE as zs, cn as Bs, $ as Wr, a0 as Lt, bo as Gp, bb as Up, bA as Vp, bO as Su, bP as Ds, aN as Kp, em as Nu, en as Iu, eo as Tu, ep as Ru, d6 as Yp, d5 as Xp, eq as Hs, bQ as Jp, cs as Qp, cu as Ws, cm as Zp, cd as e0, cA as js, a2 as n0, er as i0, au as Eu, an as ad, as as Mu, b$ as t0, bd as a0, R as nr, ce as o0, cM as r0, es as Si, et as s0, eu as l0, ev as d0, ew as f0, ex as c0, cU as u0, br as Fu, ey as qa, ez as m0, bU as h0, c9 as g0, aW as v0, c4 as ir, aV as p0, bp as b0, aQ as k0, eA as y0, c3 as w0, cO as _0, cP as x0, eB as C0, eC as Au, eD as S0, eE as N0 } from "./F0CanvasPanel-Cnv8Z0Bu.js";
2
2
  import { jsxs as v, jsx as a, Fragment as Ne } from "react/jsx-runtime";
3
3
  import ge, { useRef as M, useEffect as K, useContext as yn, createContext as vn, useState as W, forwardRef as nn, useId as Oi, useMemo as ee, useCallback as O, useLayoutEffect as hn, Fragment as Hn, useSyncExternalStore as Pu, memo as Zi, useTransition as I0, isValidElement as $s, cloneElement as Lu, Suspense as ra, lazy as Bi, createElement as Ea, Children as qs } from "react";
4
4
  import { d as N, u as Ou, f as Ve, P as T0, T as R0, a as E0, b as M0, c as F0 } from "./tooltip-CrXp1Uaz.js";
5
- import { g as Co, n as zu, r as A0, E as P0, h as L0, p as Et, P as Bu, C as O0, i as z0, j as B0, k as D0, l as od, a as rd, m as H0, b as W0, M as j0, o as $0, q as Du, s as q0, t as G0, v as U0, R as sd, w as Hu, x as V0, y as K0, z as Y0, A as X0, B as J0, D as Wu, G as ju, H as Q0, U as Z0, O as $u, I as qu, J as eb, W as Ki, K as nb, L as ib, N as tb, Q as ab, V as ob, T as rb, X as sb, Y as lb, Z as Gs, _ as db, $ as fb, a0 as Gu, a1 as Uu, a2 as cb, a3 as ub, a4 as mb, a5 as hb, a6 as gb, a7 as vb, a8 as pb, a9 as bb, aa as kb, ab as ld, ac as yb, ad as wb } from "./MapProvider-BlpN6UTt.js";
6
- import { c as _b, u as et, S as Vu, d as xb } from "./F0Map-N_g1233G.js";
5
+ import { g as Co, n as zu, r as A0, E as P0, h as L0, p as Et, P as Bu, C as O0, i as z0, j as B0, k as D0, l as od, a as rd, m as H0, b as W0, M as j0, o as $0, q as Du, s as q0, t as G0, v as U0, R as sd, w as Hu, x as V0, y as K0, z as Y0, A as X0, B as J0, D as Wu, G as ju, H as Q0, U as Z0, O as $u, I as qu, J as eb, W as Ki, K as nb, L as ib, N as tb, Q as ab, V as ob, T as rb, X as sb, Y as lb, Z as Gs, _ as db, $ as fb, a0 as Gu, a1 as Uu, a2 as cb, a3 as ub, a4 as mb, a5 as hb, a6 as gb, a7 as vb, a8 as pb, a9 as bb, aa as kb, ab as ld, ac as yb, ad as wb } from "./MapProvider-C4uk2TNn.js";
6
+ import { c as _b, u as et, S as Vu, d as xb } from "./F0Map-BgVFbcJm.js";
7
7
  import Cb, { createPortal as Ht } from "react-dom";
8
8
  import './maplibre-gl.css';/* empty css */
9
9
  const Sb = Nv("Search", [
@@ -15954,7 +15954,7 @@ const Y4 = /* @__PURE__ */ new Set(["blob:", "data:"]), X4 = /* @__PURE__ */ new
15954
15954
  ),
15955
15955
  children: e
15956
15956
  }
15957
- ), n6 = () => import("./ChatPdfThumbnail-CCRciWM2.js"), i6 = () => import("./ChatSheetThumbnail-D8aN1W_0.js"), t6 = () => import("./ChatDocxThumbnail-D5hDwmp7.js"), a6 = () => import("./ChatTextThumbnail-B53pSYUy.js"), o6 = Bi(n6), r6 = Bi(i6), s6 = Bi(t6), l6 = Bi(a6), d6 = 384, f6 = 160, c6 = ({
15957
+ ), n6 = () => import("./ChatPdfThumbnail-Zvb8T9ae.js"), i6 = () => import("./ChatSheetThumbnail-D8aN1W_0.js"), t6 = () => import("./ChatDocxThumbnail-D5hDwmp7.js"), a6 = () => import("./ChatTextThumbnail-B53pSYUy.js"), o6 = Bi(n6), r6 = Bi(i6), s6 = Bi(t6), l6 = Bi(a6), d6 = 384, f6 = 160, c6 = ({
15958
15958
  kind: e,
15959
15959
  url: n,
15960
15960
  width: i,
@@ -21746,7 +21746,7 @@ const IS = {
21746
21746
  }
21747
21747
  ) }) });
21748
21748
  }, LS = Bi(
21749
- () => import("./index-BWg4BuiJ.js").then((e) => e.i).then((e) => ({
21749
+ () => import("./index-COdBgV0F.js").then((e) => e.i).then((e) => ({
21750
21750
  default: e.F0PdfViewer
21751
21751
  }))
21752
21752
  ), OS = () => {
@@ -24435,7 +24435,7 @@ const o9 = 1e3, r9 = ({
24435
24435
  ]
24436
24436
  }
24437
24437
  );
24438
- }, G9 = () => import("./index-BB_EwD91.js").then((e) => ({
24438
+ }, G9 = () => import("./index-M3oGx2wU.js").then((e) => ({
24439
24439
  default: e.F0VideoPlayer
24440
24440
  })), U9 = Bi(G9), V9 = ({
24441
24441
  file: e,
@@ -26125,7 +26125,7 @@ const o9 = 1e3, r9 = ({
26125
26125
  }
26126
26126
  );
26127
26127
  }, zI = /* @__PURE__ */ new Set(), BI = Bi(
26128
- () => import("./ChatPostComposerDialog-dsZQOo0W.js").then((e) => ({
26128
+ () => import("./ChatPostComposerDialog-CqtSnrv1.js").then((e) => ({
26129
26129
  default: e.ChatPostComposerDialog
26130
26130
  }))
26131
26131
  ), DI = () => {
@@ -1203,6 +1203,26 @@ declare const Avatar: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.Ava
1203
1203
  color?: (typeof internalAvatarColors)[number];
1204
1204
  } & React_2.RefAttributes<HTMLSpanElement>>;
1205
1205
 
1206
+ /**
1207
+ * One thing the viewer can do with the avatar, e.g. change or remove the
1208
+ * picture. F0 only renders it: what happens on click, a file picker included,
1209
+ * is up to the consumer.
1210
+ */
1211
+ declare interface AvatarAction {
1212
+ /** Visible text in the menu, and the button's accessible name when alone. */
1213
+ label: string;
1214
+ /** @default Pencil */
1215
+ icon?: IconType;
1216
+ /**
1217
+ * Return a promise to keep the button in its loading state until it
1218
+ * settles. Report failures from here: the avatar shows nothing when a
1219
+ * promise rejects.
1220
+ */
1221
+ onClick: () => void | Promise<void>;
1222
+ /** Renders the menu item in red, for destructive actions like removing. */
1223
+ critical?: boolean;
1224
+ }
1225
+
1206
1226
  declare type AvatarBadge = ({
1207
1227
  type: "module";
1208
1228
  module: ModuleId;
@@ -1465,11 +1485,14 @@ declare type BaseHeaderProps = ComponentProps<typeof BaseHeader>;
1465
1485
  declare interface BaseHeaderProps_2 {
1466
1486
  title: string;
1467
1487
  deactivated?: boolean;
1468
- avatar?: {
1488
+ avatar?: ({
1469
1489
  type: "generic";
1470
1490
  name: string;
1471
1491
  src?: string;
1472
- } | AvatarVariant;
1492
+ } | AvatarVariant) & {
1493
+ /** What the viewer can do from the header avatar, e.g. change the picture. */
1494
+ actions?: AvatarAction[];
1495
+ };
1473
1496
  /**
1474
1497
  * Markdown. Inline formatting only — a link out to the resource's source of
1475
1498
  * truth is the case this exists for. Clamped to two lines behind a "show all"
@@ -15012,6 +15035,11 @@ export declare function MetadataItem({ item }: {
15012
15035
  export declare interface MetadataItem {
15013
15036
  label: string;
15014
15037
  value: MetadataItemValue;
15038
+ /**
15039
+ * Shown beside the value on hover. With a single action that is not a copy,
15040
+ * the whole item runs it too: clicking the value at any width, or Enter and
15041
+ * Space on the item.
15042
+ */
15015
15043
  actions?: (MetadataAction | MetadataCopyAction)[];
15016
15044
  hideLabel?: boolean;
15017
15045
  /**
@@ -20651,9 +20679,11 @@ declare module "@tiptap/core" {
20651
20679
 
20652
20680
  declare module "@tiptap/core" {
20653
20681
  interface Commands<ReturnType> {
20654
- fontSize: {
20655
- setFontSize: (fontSize: string) => ReturnType;
20656
- unsetFontSize: () => ReturnType;
20682
+ enhanceHighlight: {
20683
+ setEnhanceHighlight: (from: number, to: number, options?: {
20684
+ placeholder?: string;
20685
+ }) => ReturnType;
20686
+ clearEnhanceHighlight: () => ReturnType;
20657
20687
  };
20658
20688
  }
20659
20689
  }
@@ -20661,11 +20691,9 @@ declare module "@tiptap/core" {
20661
20691
 
20662
20692
  declare module "@tiptap/core" {
20663
20693
  interface Commands<ReturnType> {
20664
- enhanceHighlight: {
20665
- setEnhanceHighlight: (from: number, to: number, options?: {
20666
- placeholder?: string;
20667
- }) => ReturnType;
20668
- clearEnhanceHighlight: () => ReturnType;
20694
+ fontSize: {
20695
+ setFontSize: (fontSize: string) => ReturnType;
20696
+ unsetFontSize: () => ReturnType;
20669
20697
  };
20670
20698
  }
20671
20699
  }
@@ -1,7 +1,7 @@
1
- import { v as s, t, A as i, b as o, L as r, bi as n, bh as l, bj as S, B as d, w as b, y as g, N as u, bp as C, bq as c, bz as m, x as F, C as P, bo as p, bA as T, D as h, z as I, a5 as M, bV as E, c0 as A, M as f, bU as L, E as R, d as y, g as B, l as D, ap as _, as as k, aq as v, an as O, G as W, be as H, F as N, ay as x, h as V, aD as G, az as w, aA as U, aB as z, n as K, o as X, ar as j, H as q, bD as J, bE as Q, bs as Y, ax as Z, bH as $, bS as aa, bk as ea, aS as sa, aC as ta, aQ as ia, aP as oa, aI as ra, aR as na, a8 as la, bC as Sa, W as da, ah as ba, J as ga, O as ua, K as Ca, c4 as ca, X as ma, P as Fa, Q as Pa, T as pa, bl as Ta, R as ha, bQ as Ia, bW as Ma, S as Ea, ab as Aa, ac as fa, a0 as La, a1 as Ra, a2 as ya, $ as Ba, a3 as Da, Y as _a, a4 as ka, a6 as va, a7 as Oa, a9 as Wa, aa as Ha, ad as Na, ae as xa, af as Va, b_ as Ga, bZ as wa, bg as Ua, bf as za, bn as Ka, bB as Xa, by as ja, bm as qa, ag as Ja, bt as Qa, b$ as Ya, c2 as Za, br as $a, bw as ae, bu as ee, c3 as se, bx as te, bv as ie, c1 as oe, e as re, i as ne, aY as le, ak as Se, am as de, aL as be, bY as ge, bX as ue, al as Ce, at as ce, f as me, b9 as Fe, bd as Pe, b7 as pe, b8 as Te, b5 as he, b6 as Ie, ba as Me, bb as Ee, b4 as Ae, j as fe, k as Le, bc as Re, bK as ye, bI as Be, aw as De, au as _e, av as ke, aU as ve, bT as Oe, bJ as We, p as He, q as Ne, m as xe, a$ as Ve, I as Ge, r as we, b0 as Ue, bO as ze, aX as Ke, aW as Xe, b1 as je, bG as qe, bL as Je, ai as Qe, b2 as Ye, bR as Ze, aT as $e, aV as as, aZ as es, a_ as ss, c as ts, ao as is, aj as os, u as rs, aE as ns, aF as ls, aG as Ss, aH as ds, bF as bs, aM as gs, aN as us, aJ as Cs, aK as cs, V as ms, U as Fs, _ as Ps, Z as ps, aO as Ts, b3 as hs, bP as Is, bN as Ms, bM as Es } from "./experimental-o8CO5jov.js";
2
- import { ea as fs, eN as Ls, eM as Rs, eZ as ys, r as Bs, eK as Ds, cG as _s, ck as ks, cD as vs, eF as Os, cq as Ws, cq as Hs, cn as Ns, eG as xs, cJ as Vs, eq as Gs, cK as ws, f0 as Us, eL as zs, eV as Ks, eW as Xs, e9 as js, e_ as qs, k as Js, eb as Qs, d4 as Ys, eJ as Zs, dT as $s, eO as at, T as et, h as st, co as tt, eX as it, f1 as ot, eY as rt, e$ as nt, eU as lt, eR as St, eT as dt, eP as bt, eH as gt, eI as ut, eB as Ct, eS as ct, eQ as mt, dV as Ft } from "./F0CanvasPanel-Zn3xngd4.js";
3
- import { aQ as pt, aR as Tt, ak as ht, al as It, ai as Mt, av as Et, s as At, am as ft, a$ as Lt, ar as Rt, a_ as yt, au as Bt, aj as Dt, aO as _t, aw as kt, b1 as vt, b0 as Ot, aE as Wt, aF as Ht, ax as Nt, aJ as xt, F as Vt, ah as Gt, aL as wt, aH as Ut, aI as zt, aC as Kt, aA as Xt, b5 as jt, aB as qt, aM as Jt, aN as Qt, an as Yt, b2 as Zt, b3 as $t, aD as ai, aP as ei, aX as si, O as ti, aZ as ii, ao as oi, b7 as ri, aq as ni, as as li, aJ as Si, b4 as di, aK as bi, aG as gi, b6 as ui, ap as Ci, W as ci, at as mi, ag as Fi, ae as Pi, af as pi, aU as Ti, aV as hi, aS as Ii, b8 as Mi, aY as Ei, az as Ai, ay as fi, u as Li, y as Ri, aT as yi, aW as Bi, Z as Di } from "./MapProvider-BlpN6UTt.js";
4
- import { b as ki, e as vi, i as Oi, g as Wi, h as Hi, a as Ni, R as xi, l as Vi, f as Gi, j as wi, k as Ui, u as zi } from "./F0Map-N_g1233G.js";
1
+ import { v as s, t, A as i, b as o, L as r, bi as n, bh as l, bj as S, B as d, w as b, y as g, N as u, bp as C, bq as c, bz as m, x as F, C as P, bo as p, bA as T, D as h, z as I, a5 as M, bV as E, c0 as A, M as f, bU as L, E as R, d as y, g as B, l as D, ap as _, as as k, aq as v, an as O, G as W, be as H, F as N, ay as x, h as V, aD as G, az as w, aA as U, aB as z, n as K, o as X, ar as j, H as q, bD as J, bE as Q, bs as Y, ax as Z, bH as $, bS as aa, bk as ea, aS as sa, aC as ta, aQ as ia, aP as oa, aI as ra, aR as na, a8 as la, bC as Sa, W as da, ah as ba, J as ga, O as ua, K as Ca, c4 as ca, X as ma, P as Fa, Q as Pa, T as pa, bl as Ta, R as ha, bQ as Ia, bW as Ma, S as Ea, ab as Aa, ac as fa, a0 as La, a1 as Ra, a2 as ya, $ as Ba, a3 as Da, Y as _a, a4 as ka, a6 as va, a7 as Oa, a9 as Wa, aa as Ha, ad as Na, ae as xa, af as Va, b_ as Ga, bZ as wa, bg as Ua, bf as za, bn as Ka, bB as Xa, by as ja, bm as qa, ag as Ja, bt as Qa, b$ as Ya, c2 as Za, br as $a, bw as ae, bu as ee, c3 as se, bx as te, bv as ie, c1 as oe, e as re, i as ne, aY as le, ak as Se, am as de, aL as be, bY as ge, bX as ue, al as Ce, at as ce, f as me, b9 as Fe, bd as Pe, b7 as pe, b8 as Te, b5 as he, b6 as Ie, ba as Me, bb as Ee, b4 as Ae, j as fe, k as Le, bc as Re, bK as ye, bI as Be, aw as De, au as _e, av as ke, aU as ve, bT as Oe, bJ as We, p as He, q as Ne, m as xe, a$ as Ve, I as Ge, r as we, b0 as Ue, bO as ze, aX as Ke, aW as Xe, b1 as je, bG as qe, bL as Je, ai as Qe, b2 as Ye, bR as Ze, aT as $e, aV as as, aZ as es, a_ as ss, c as ts, ao as is, aj as os, u as rs, aE as ns, aF as ls, aG as Ss, aH as ds, bF as bs, aM as gs, aN as us, aJ as Cs, aK as cs, V as ms, U as Fs, _ as Ps, Z as ps, aO as Ts, b3 as hs, bP as Is, bN as Ms, bM as Es } from "./experimental-CRkywTY0.js";
2
+ import { ea as fs, eN as Ls, eM as Rs, eZ as ys, r as Bs, eK as Ds, cG as _s, ck as ks, cD as vs, eF as Os, cq as Ws, cq as Hs, cn as Ns, eG as xs, cJ as Vs, eq as Gs, cK as ws, f0 as Us, eL as zs, eV as Ks, eW as Xs, e9 as js, e_ as qs, k as Js, eb as Qs, d4 as Ys, eJ as Zs, dT as $s, eO as at, T as et, h as st, co as tt, eX as it, f1 as ot, eY as rt, e$ as nt, eU as lt, eR as St, eT as dt, eP as bt, eH as gt, eI as ut, eB as Ct, eS as ct, eQ as mt, dV as Ft } from "./F0CanvasPanel-Cnv8Z0Bu.js";
3
+ import { aQ as pt, aR as Tt, ak as ht, al as It, ai as Mt, av as Et, s as At, am as ft, a$ as Lt, ar as Rt, a_ as yt, au as Bt, aj as Dt, aO as _t, aw as kt, b1 as vt, b0 as Ot, aE as Wt, aF as Ht, ax as Nt, aJ as xt, F as Vt, ah as Gt, aL as wt, aH as Ut, aI as zt, aC as Kt, aA as Xt, b5 as jt, aB as qt, aM as Jt, aN as Qt, an as Yt, b2 as Zt, b3 as $t, aD as ai, aP as ei, aX as si, O as ti, aZ as ii, ao as oi, b7 as ri, aq as ni, as as li, aJ as Si, b4 as di, aK as bi, aG as gi, b6 as ui, ap as Ci, W as ci, at as mi, ag as Fi, ae as Pi, af as pi, aU as Ti, aV as hi, aS as Ii, b8 as Mi, aY as Ei, az as Ai, ay as fi, u as Li, y as Ri, aT as yi, aW as Bi, Z as Di } from "./MapProvider-C4uk2TNn.js";
4
+ import { b as ki, e as vi, i as Oi, g as Wi, h as Hi, a as Ni, R as xi, l as Vi, f as Gi, j as wi, k as Ui, u as zi } from "./F0Map-BgVFbcJm.js";
5
5
  export {
6
6
  pt as AUTO_PER_PAGE_MAX,
7
7
  Tt as AUTO_PER_PAGE_MIN_RESERVED_ROWS,
package/dist/f0.d.ts CHANGED
@@ -1605,6 +1605,26 @@ declare const Avatar: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.Ava
1605
1605
  color?: (typeof internalAvatarColors)[number];
1606
1606
  } & React_2.RefAttributes<HTMLSpanElement>>;
1607
1607
 
1608
+ /**
1609
+ * One thing the viewer can do with the avatar, e.g. change or remove the
1610
+ * picture. F0 only renders it: what happens on click, a file picker included,
1611
+ * is up to the consumer.
1612
+ */
1613
+ export declare interface AvatarAction {
1614
+ /** Visible text in the menu, and the button's accessible name when alone. */
1615
+ label: string;
1616
+ /** @default Pencil */
1617
+ icon?: IconType;
1618
+ /**
1619
+ * Return a promise to keep the button in its loading state until it
1620
+ * settles. Report failures from here: the avatar shows nothing when a
1621
+ * promise rejects.
1622
+ */
1623
+ onClick: () => void | Promise<void>;
1624
+ /** Renders the menu item in red, for destructive actions like removing. */
1625
+ critical?: boolean;
1626
+ }
1627
+
1608
1628
  export declare type AvatarBadge = ({
1609
1629
  type: "module";
1610
1630
  module: ModuleId;
@@ -1897,11 +1917,14 @@ declare type BaseHeaderProps = ComponentProps<typeof BaseHeader>;
1897
1917
  declare interface BaseHeaderProps_2 {
1898
1918
  title: string;
1899
1919
  deactivated?: boolean;
1900
- avatar?: {
1920
+ avatar?: ({
1901
1921
  type: "generic";
1902
1922
  name: string;
1903
1923
  src?: string;
1904
- } | AvatarVariant;
1924
+ } | AvatarVariant) & {
1925
+ /** What the viewer can do from the header avatar, e.g. change the picture. */
1926
+ actions?: AvatarAction[];
1927
+ };
1905
1928
  /**
1906
1929
  * Markdown. Inline formatting only — a link out to the resource's source of
1907
1930
  * truth is the case this exists for. Clamped to two lines behind a "show all"
@@ -8818,7 +8841,7 @@ declare const F0AuraVoiceAnimationVariants: (props?: ({
8818
8841
  className?: ClassValue;
8819
8842
  })) | undefined) => string;
8820
8843
 
8821
- export declare const F0Avatar: WithDataTestIdReturnType_4<({ avatar, size, dataTestId, }: AvatarProps) => ReactNode>;
8844
+ export declare const F0Avatar: WithDataTestIdReturnType_4<({ actions, ...props }: AvatarProps) => ReactNode>;
8822
8845
 
8823
8846
  export declare const F0AvatarAlert: WithDataTestIdReturnType_4<({ type, size, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, }: AlertAvatarProps_2) => JSX_2.Element>;
8824
8847
 
@@ -17297,6 +17320,11 @@ export declare function MetadataItem({ item }: {
17297
17320
  export declare interface MetadataItem {
17298
17321
  label: string;
17299
17322
  value: MetadataItemValue;
17323
+ /**
17324
+ * Shown beside the value on hover. With a single action that is not a copy,
17325
+ * the whole item runs it too: clicking the value at any width, or Enter and
17326
+ * Space on the item.
17327
+ */
17300
17328
  actions?: (MetadataAction | MetadataCopyAction)[];
17301
17329
  hideLabel?: boolean;
17302
17330
  /**
@@ -22574,9 +22602,11 @@ declare module "@tiptap/core" {
22574
22602
 
22575
22603
  declare module "@tiptap/core" {
22576
22604
  interface Commands<ReturnType> {
22577
- fontSize: {
22578
- setFontSize: (fontSize: string) => ReturnType;
22579
- unsetFontSize: () => ReturnType;
22605
+ enhanceHighlight: {
22606
+ setEnhanceHighlight: (from: number, to: number, options?: {
22607
+ placeholder?: string;
22608
+ }) => ReturnType;
22609
+ clearEnhanceHighlight: () => ReturnType;
22580
22610
  };
22581
22611
  }
22582
22612
  }
@@ -22584,11 +22614,9 @@ declare module "@tiptap/core" {
22584
22614
 
22585
22615
  declare module "@tiptap/core" {
22586
22616
  interface Commands<ReturnType> {
22587
- enhanceHighlight: {
22588
- setEnhanceHighlight: (from: number, to: number, options?: {
22589
- placeholder?: string;
22590
- }) => ReturnType;
22591
- clearEnhanceHighlight: () => ReturnType;
22617
+ fontSize: {
22618
+ setFontSize: (fontSize: string) => ReturnType;
22619
+ unsetFontSize: () => ReturnType;
22592
22620
  };
22593
22621
  }
22594
22622
  }
package/dist/f0.js CHANGED
@@ -1,19 +1,19 @@
1
- import { ix as DI, B as yt, es as vx, cQ as Wn, hM as AI, gd as q5, ab as Va, fJ as Z5, iy as j5, iz as MI, E as sr, ck as If, iA as RS, iB as kr, iC as no, iD as K5, iE as Mi, u as Be, ad as Ep, iF as nu, iG as Q5, iH as EI, cp as yl, hI as T0, iI as J5, S as oe, G as px, iJ as eG, iK as tG, iL as OS, cV as rG, iM as nG, iN as iG, iO as LI, iP as aG, H as Pf, J as kf, y as lt, K as Rf, L as qr, $ as oG, a0 as sG, M as Il, N as Pl, aY as Fa, Q as kl, gU as D0, dR as Ft, v as ut, aG as Rl, gT as Ga, dk as gx, iQ as lG, s as uG, t as BS, z as NI, w as Ol, aa as II, x as cG, eZ as tv, eo as PI, iR as fG, hL as zS, de as dG, iS as VS, a4 as hG, iT as vG, cu as kI, ek as RI, gD as A0, he as iu, hf as Of, hT as pG, gB as OI, r as gG, av as M0, au as mx, hh as BI, gz as mG, iU as Lp, bx as yx, hv as yG, cB as zI, gl as bG, aV as _G, is as bx, bA as VI, cx as xG, cy as wG, cz as SG, d as CG, c6 as FI, aI as ps, cb as GI, bw as HI, aE as _x, cd as WI, a7 as xx, U as bl, V as _l, X as xl, Y as wl, gV as Fi, an as $I, j as TG, W as Br, eJ as DG, bu as rv, aS as Bl, co as Sx, by as E0, cN as Yc, cK as AG, bj as Bf, ai as au, aH as UI, dI as YI, dv as XI, hp as Wr, iV as MG, iW as EG, iX as LG, iY as Cx, iZ as NG, i_ as IG, a3 as En, a1 as qI, a2 as ZI, m as PG, i$ as kG, cD as jI, ei as RG, ej as OG, cl as Sl, dh as ou, ev as su, fk as zf, ce as BG, et as zG, bY as VG, aK as KI, a9 as QI, aJ as FG, bo as FS, ca as Xc, hR as GG, be as HG, j0 as WG, j1 as $G, j2 as UG, b as JI, df as e2, cJ as YG, br as XG, l as t2, aw as qG, at as ZG, j3 as jG, j4 as KG, j5 as QG, hQ as JG, af as r2, j6 as eH, cw as tH, d4 as rH, j7 as n2, j8 as nH, j9 as iH, I as aH, ja as oH, jb as sH, jc as lH, jd as uH } from "./F0CanvasPanel-Zn3xngd4.js";
2
- import { jv as ume, C as cme, D as fme, dC as dme, c as hme, F as vme, a as pme, jn as gme, f as mme, cT as yme, dD as bme, ex as _me, cE as xme, cF as wme, q as Sme, cC as Cme, cS as Tme, dq as Dme, eF as Ame, g as Mme, cA as Eme, cq as Lme, ji as Nme, jB as Ime, cn as Pme, e as kme, eq as Rme, k as Ome, jp as Bme, cU as zme, jq as Vme, dO as Fme, jr as Gme, jt as Hme, ju as Wme, f0 as $me, jx as Ume, jy as Yme, eV as Xme, eW as qme, P as Zme, e_ as jme, js as Kme, eX as Qme, jw as Jme, jC as eye, jf as tye, jg as rye, jh as nye, je as iye, eY as aye, jA as oye, jo as sye, jl as lye, jk as uye, e$ as cye, gP as fye, hC as dye, jz as hye, dF as vye, eU as pye, eR as gye, eT as mye, eP as yye, jm as bye, hx as _ye, hs as xye, hi as wye, jF as Sye, eB as Cye, eS as Tye, jE as Dye, ee as Aye, eQ as Mye, cH as Eye, gO as Lye, hj as Nye, eh as Iye, hS as Pye, dE as kye, cI as Rye, jj as Oye, hu as Bye, ht as zye, jD as Vye } from "./F0CanvasPanel-Zn3xngd4.js";
1
+ import { ix as DI, B as yt, es as vx, cQ as Wn, hM as AI, gd as q5, ab as Va, fJ as Z5, iy as j5, iz as MI, E as sr, ck as If, iA as RS, iB as kr, iC as no, iD as K5, iE as Mi, u as Be, ad as Ep, iF as nu, iG as Q5, iH as EI, cp as yl, hI as T0, iI as J5, S as oe, G as px, iJ as eG, iK as tG, iL as OS, cV as rG, iM as nG, iN as iG, iO as LI, iP as aG, H as Pf, J as kf, y as lt, K as Rf, L as qr, $ as oG, a0 as sG, M as Il, N as Pl, aY as Fa, Q as kl, gU as D0, dR as Ft, v as ut, aG as Rl, gT as Ga, dk as gx, iQ as lG, s as uG, t as BS, z as NI, w as Ol, aa as II, x as cG, eZ as tv, eo as PI, iR as fG, hL as zS, de as dG, iS as VS, a4 as hG, iT as vG, cu as kI, ek as RI, gD as A0, he as iu, hf as Of, hT as pG, gB as OI, r as gG, av as M0, au as mx, hh as BI, gz as mG, iU as Lp, bx as yx, hv as yG, cB as zI, gl as bG, aV as _G, is as bx, bA as VI, cx as xG, cy as wG, cz as SG, d as CG, c6 as FI, aI as ps, cb as GI, bw as HI, aE as _x, cd as WI, a7 as xx, U as bl, V as _l, X as xl, Y as wl, gV as Fi, an as $I, j as TG, W as Br, eJ as DG, bu as rv, aS as Bl, co as Sx, by as E0, cN as Yc, cK as AG, bj as Bf, ai as au, aH as UI, dI as YI, dv as XI, hp as Wr, iV as MG, iW as EG, iX as LG, iY as Cx, iZ as NG, i_ as IG, a3 as En, a1 as qI, a2 as ZI, m as PG, i$ as kG, cD as jI, ei as RG, ej as OG, cl as Sl, dh as ou, ev as su, fk as zf, ce as BG, et as zG, bY as VG, aK as KI, a9 as QI, aJ as FG, bo as FS, ca as Xc, hR as GG, be as HG, j0 as WG, j1 as $G, j2 as UG, b as JI, df as e2, cJ as YG, br as XG, l as t2, aw as qG, at as ZG, j3 as jG, j4 as KG, j5 as QG, hQ as JG, af as r2, j6 as eH, cw as tH, d4 as rH, j7 as n2, j8 as nH, j9 as iH, I as aH, ja as oH, jb as sH, jc as lH, jd as uH } from "./F0CanvasPanel-Cnv8Z0Bu.js";
2
+ import { jv as ume, C as cme, D as fme, dC as dme, c as hme, F as vme, a as pme, jn as gme, f as mme, cT as yme, dD as bme, ex as _me, cE as xme, cF as wme, q as Sme, cC as Cme, cS as Tme, dq as Dme, eF as Ame, g as Mme, cA as Eme, cq as Lme, ji as Nme, jB as Ime, cn as Pme, e as kme, eq as Rme, k as Ome, jp as Bme, cU as zme, jq as Vme, dO as Fme, jr as Gme, jt as Hme, ju as Wme, f0 as $me, jx as Ume, jy as Yme, eV as Xme, eW as qme, P as Zme, e_ as jme, js as Kme, eX as Qme, jw as Jme, jC as eye, jf as tye, jg as rye, jh as nye, je as iye, eY as aye, jA as oye, jo as sye, jl as lye, jk as uye, e$ as cye, gP as fye, hC as dye, jz as hye, dF as vye, eU as pye, eR as gye, eT as mye, eP as yye, jm as bye, hx as _ye, hs as xye, hi as wye, jF as Sye, eB as Cye, eS as Tye, jE as Dye, ee as Aye, eQ as Mye, cH as Eye, gO as Lye, hj as Nye, eh as Iye, hS as Pye, dE as kye, cI as Rye, jj as Oye, hu as Bye, ht as zye, jD as Vye } from "./F0CanvasPanel-Cnv8Z0Bu.js";
3
3
  import { jsx as x, jsxs as B, Fragment as nt } from "react/jsx-runtime";
4
- import { s as cH, W as fH, a2 as dH, a3 as hH, a4 as vH, a5 as GS, b9 as pH, ba as gH, ac as mH, a6 as yH, a8 as bH, aa as _H, ab as xH, H as wH, a as qc, ah as i2, bb as SH, bc as CH, bd as TH, be as DH, bf as AH, bg as a2, bh as MH, n as Tx, bi as io, bj as Ls, bk as o2, bl as EH, bm as LH, bn as NH, bo as IH, bp as PH, bq as kH, a0 as Dx, br as Ax, au as RH, bs as OH, bt as BH, bu as zH, bv as VH, aL as FH, a_ as GH, bw as HH, aE as WH, E as $H, h as UH, w as Np, R as Mx, x as Ex, aJ as s2, O as Lx, bx as l2, by as HS, U as Nx, ai as YH, bz as L0, J as XH, y as u2, aP as c2, bA as qH, bB as ZH, bC as jH, bD as KH, bE as QH, p as JH, bF as Ng, bG as e3, bH as t3, bI as r3, a$ as n3, bJ as i3, M as a3 } from "./MapProvider-BlpN6UTt.js";
5
- import { ak as Gye, al as Hye, av as Wye, am as $ye, ar as Uye, c5 as Yye, c4 as Xye, bZ as qye, bM as Zye, bK as jye, bL as Kye, bN as Qye, bO as Jye, bQ as e0e, a1 as t0e, v as r0e, b1 as n0e, b0 as i0e, aF as a0e, F as o0e, aH as s0e, aI as l0e, aC as u0e, aA as c0e, b5 as f0e, bU as d0e, aB as h0e, an as v0e, c6 as p0e, b2 as g0e, b3 as m0e, aD as y0e, ao as b0e, t as _0e, aq as x0e, as as w0e, b4 as S0e, aG as C0e, b6 as T0e, ap as D0e, at as A0e, c8 as M0e, ag as E0e, ae as L0e, af as N0e, bY as I0e, c2 as P0e, c2 as k0e, c3 as R0e, bT as O0e, bS as B0e, c7 as z0e, aY as V0e, bW as F0e, bX as G0e, az as H0e, ay as W0e, c9 as $0e, ca as U0e, G as Y0e, z as X0e, b_ as q0e, b$ as Z0e, c0 as j0e, bP as K0e, bV as Q0e, A as J0e, c1 as ebe, bR as tbe, cb as rbe } from "./MapProvider-BlpN6UTt.js";
4
+ import { s as cH, W as fH, a2 as dH, a3 as hH, a4 as vH, a5 as GS, b9 as pH, ba as gH, ac as mH, a6 as yH, a8 as bH, aa as _H, ab as xH, H as wH, a as qc, ah as i2, bb as SH, bc as CH, bd as TH, be as DH, bf as AH, bg as a2, bh as MH, n as Tx, bi as io, bj as Ls, bk as o2, bl as EH, bm as LH, bn as NH, bo as IH, bp as PH, bq as kH, a0 as Dx, br as Ax, au as RH, bs as OH, bt as BH, bu as zH, bv as VH, aL as FH, a_ as GH, bw as HH, aE as WH, E as $H, h as UH, w as Np, R as Mx, x as Ex, aJ as s2, O as Lx, bx as l2, by as HS, U as Nx, ai as YH, bz as L0, J as XH, y as u2, aP as c2, bA as qH, bB as ZH, bC as jH, bD as KH, bE as QH, p as JH, bF as Ng, bG as e3, bH as t3, bI as r3, a$ as n3, bJ as i3, M as a3 } from "./MapProvider-C4uk2TNn.js";
5
+ import { ak as Gye, al as Hye, av as Wye, am as $ye, ar as Uye, c5 as Yye, c4 as Xye, bZ as qye, bM as Zye, bK as jye, bL as Kye, bN as Qye, bO as Jye, bQ as e0e, a1 as t0e, v as r0e, b1 as n0e, b0 as i0e, aF as a0e, F as o0e, aH as s0e, aI as l0e, aC as u0e, aA as c0e, b5 as f0e, bU as d0e, aB as h0e, an as v0e, c6 as p0e, b2 as g0e, b3 as m0e, aD as y0e, ao as b0e, t as _0e, aq as x0e, as as w0e, b4 as S0e, aG as C0e, b6 as T0e, ap as D0e, at as A0e, c8 as M0e, ag as E0e, ae as L0e, af as N0e, bY as I0e, c2 as P0e, c2 as k0e, c3 as R0e, bT as O0e, bS as B0e, c7 as z0e, aY as V0e, bW as F0e, bX as G0e, az as H0e, ay as W0e, c9 as $0e, ca as U0e, G as Y0e, z as X0e, b_ as q0e, b$ as Z0e, c0 as j0e, bP as K0e, bV as Q0e, A as J0e, c1 as ebe, bR as tbe, cb as rbe } from "./MapProvider-C4uk2TNn.js";
6
6
  import * as pe from "react";
7
7
  import o3, { forwardRef as Hr, useRef as fe, useImperativeHandle as f2, Children as nv, createContext as na, useContext as ia, useState as he, useMemo as be, useEffect as Te, useCallback as ve, useLayoutEffect as zl, isValidElement as d2, Fragment as lu, memo as Ix, useSyncExternalStore as Zc, useId as Cl, createElement as WS } from "react";
8
8
  import * as Px from "react-dom";
9
9
  import { createPortal as Vf } from "react-dom";
10
10
  import { d as ae, u as Ff, h as s3, i as cl, j as Gf, g as uu, k as l3, f as _n } from "./tooltip-CrXp1Uaz.js";
11
- import { l as N0, c as h2, d as iv, r as I0 } from "./F0VideoPlayer-BXPQpZho.js";
12
- import { F as ibe } from "./F0VideoPlayer-BXPQpZho.js";
13
- import { F as obe, p as sbe } from "./index-BWg4BuiJ.js";
14
- import { c as ube } from "./pdfWorker-mOY4-mCQ.js";
15
- import { H as u3, I as av, J as kx, K as v2, L as c3, M as f3, N as d3, O as h3, P as v3, F as p3 } from "./F0AiProcessingOverlay-DomyajN4.js";
16
- import { A as fbe, C as dbe, t as hbe, s as vbe, v as pbe, y as gbe, B as mbe, l as ybe, i as bbe, q as _be, E as xbe, G as wbe, p as Sbe, r as Cbe, j as Tbe, e as Dbe, g as Abe, k as Mbe, T as Ebe, w as Lbe, h as Nbe, a as Ibe, n as Pbe, z as kbe, m as Rbe, o as Obe, D as Bbe, b as zbe, f as Vbe, x as Fbe, c as Gbe, d as Hbe, u as Wbe } from "./F0AiProcessingOverlay-DomyajN4.js";
11
+ import { l as N0, c as h2, d as iv, r as I0 } from "./F0VideoPlayer-BtsW1ey2.js";
12
+ import { F as ibe } from "./F0VideoPlayer-BtsW1ey2.js";
13
+ import { F as obe, p as sbe } from "./index-COdBgV0F.js";
14
+ import { c as ube } from "./pdfWorker-Dyzn49Gu.js";
15
+ import { H as u3, I as av, J as kx, K as v2, L as c3, M as f3, N as d3, O as h3, P as v3, F as p3 } from "./F0AiProcessingOverlay-DSqrHg0P.js";
16
+ import { A as fbe, C as dbe, t as hbe, s as vbe, v as pbe, y as gbe, B as mbe, l as ybe, i as bbe, q as _be, E as xbe, G as wbe, p as Sbe, r as Cbe, j as Tbe, e as Dbe, g as Abe, k as Mbe, T as Ebe, w as Lbe, h as Nbe, a as Ibe, n as Pbe, z as kbe, m as Rbe, o as Obe, D as Bbe, b as zbe, f as Vbe, x as Fbe, c as Gbe, d as Hbe, u as Wbe } from "./F0AiProcessingOverlay-DSqrHg0P.js";
17
17
  import { utils as Tl, write as p2 } from "./xlsx-CzlURDDb.js";
18
18
  import { defaultTranslations as Ube } from "./i18n-provider-defaults.js";
19
19
  import './f0.css';const g3 = {
@@ -1580,9 +1580,11 @@ declare module "@tiptap/core" {
1580
1580
 
1581
1581
  declare module "@tiptap/core" {
1582
1582
  interface Commands<ReturnType> {
1583
- fontSize: {
1584
- setFontSize: (fontSize: string) => ReturnType;
1585
- unsetFontSize: () => ReturnType;
1583
+ enhanceHighlight: {
1584
+ setEnhanceHighlight: (from: number, to: number, options?: {
1585
+ placeholder?: string;
1586
+ }) => ReturnType;
1587
+ clearEnhanceHighlight: () => ReturnType;
1586
1588
  };
1587
1589
  }
1588
1590
  }
@@ -1590,11 +1592,9 @@ declare module "@tiptap/core" {
1590
1592
 
1591
1593
  declare module "@tiptap/core" {
1592
1594
  interface Commands<ReturnType> {
1593
- enhanceHighlight: {
1594
- setEnhanceHighlight: (from: number, to: number, options?: {
1595
- placeholder?: string;
1596
- }) => ReturnType;
1597
- clearEnhanceHighlight: () => ReturnType;
1595
+ fontSize: {
1596
+ setFontSize: (fontSize: string) => ReturnType;
1597
+ unsetFontSize: () => ReturnType;
1598
1598
  };
1599
1599
  }
1600
1600
  }
@@ -1,9 +1,9 @@
1
1
  import { jsxs as k, jsx as o, Fragment as rn } from "react/jsx-runtime";
2
2
  import { useRef as p, useEffect as v, useMemo as M, useCallback as A, useState as w } from "react";
3
- import { o as En, q as Fn, r as ln, s as Tn, t as Dn, v as Pn, w as Bn, x as Ln, u as sn } from "./F0CanvasPanel-Zn3xngd4.js";
3
+ import { o as En, q as Fn, r as ln, s as Tn, t as Dn, v as Pn, w as Bn, x as Ln, u as sn } from "./F0CanvasPanel-Cnv8Z0Bu.js";
4
4
  import { d as L, f as on, u as In } from "./tooltip-CrXp1Uaz.js";
5
- import { a as cn, u as Qn, S as jn } from "./MapProvider-BlpN6UTt.js";
6
- import { a as Kn, b as Un, R as tn } from "./F0Map-N_g1233G.js";
5
+ import { a as cn, u as Qn, S as jn } from "./MapProvider-C4uk2TNn.js";
6
+ import { a as Kn, b as Un, R as tn } from "./F0Map-BgVFbcJm.js";
7
7
  const R = 3, _n = ({
8
8
  title: e,
9
9
  count: t,
@@ -1,7 +1,7 @@
1
- import { S as L, y as ye, u as q, z as Se, w as Re, i as ke, j as _e, k as Ne, A as Ce, l as Le, B as Fe, E as Ve, G as Te } from "./F0CanvasPanel-Zn3xngd4.js";
1
+ import { S as L, y as ye, u as q, z as Se, w as Re, i as ke, j as _e, k as Ne, A as Ce, l as Le, B as Fe, E as Ve, G as Te } from "./F0CanvasPanel-Cnv8Z0Bu.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-mOY4-mCQ.js";
4
+ import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-Dyzn49Gu.js";
5
5
  import { F as We } from "./Printer-BD-FEi_2.js";
6
6
  import { d as ae } from "./tooltip-CrXp1Uaz.js";
7
7
  import './index2.css';const Oe = ({
@@ -227,7 +227,7 @@ import './index2.css';const Oe = ({
227
227
  }), i;
228
228
  };
229
229
  Ee();
230
- const Ge = J(() => import("./SheetViewer-CB7xAKss.js")), Ze = J(() => import("./DocxViewer-BpBOMZ4p.js")), qe = J(() => import("./TextViewer-BJ0XoI2w.js")), oe = 48, le = ne(
230
+ const Ge = J(() => import("./SheetViewer-BQRIxKjN.js")), Ze = J(() => import("./DocxViewer-C4lMNb2n.js")), qe = J(() => import("./TextViewer-B-vpgqSD.js")), oe = 48, le = ne(
231
231
  (o, a) => {
232
232
  const { kind: e = "pdf", mimeType: i, ...s } = o;
233
233
  if (e === "pdf")