@factorialco/f0-react 8.4.0 → 8.6.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-CVnpciH6.js → ChatPdfThumbnail-VP-cfGR2.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-Dtnvl7ba.js → ChatPostComposerDialog-CbOGdBUl.js} +3 -3
  3. package/dist/{DocumentToolbar-O693bl3f.js → DocumentToolbar-ChGsNWeY.js} +2 -2
  4. package/dist/{DocxViewer-WTgh5A1f.js → DocxViewer-BSM66Yl8.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-CzSB2LO4.js → F0AiProcessingOverlay-DSqrHg0P.js} +1 -1
  6. package/dist/{F0CanvasPanel-BJXetkJd.js → F0CanvasPanel-Cnv8Z0Bu.js} +17286 -17200
  7. package/dist/{F0Map-4ViiMQSk.js → F0Map-BwHOdoOf.js} +4 -4
  8. package/dist/{F0VideoPlayer-D0yWIaUD.js → F0VideoPlayer-BsHtSkls.js} +2 -2
  9. package/dist/{MapProvider-C84jne3O.js → MapProvider-D-1EWW6K.js} +8145 -7990
  10. package/dist/{SheetViewer-DUft1Ohd.js → SheetViewer-BkXGvx3-.js} +2 -2
  11. package/dist/{TextViewer-CvzooBWI.js → TextViewer-DG_z6Grk.js} +2 -2
  12. package/dist/ai.d.ts +18 -18
  13. package/dist/ai.js +2 -2
  14. package/dist/component-status.d.ts +18 -18
  15. package/dist/component-status.js +1 -1
  16. package/dist/{experimental-SH5u5OFs.js → experimental-CEfFcp92.js} +7 -7
  17. package/dist/experimental.d.ts +43 -20
  18. package/dist/experimental.js +4 -4
  19. package/dist/f0.d.ts +63 -21
  20. package/dist/f0.js +10 -10
  21. package/dist/i18n-provider-defaults.d.ts +18 -18
  22. package/dist/{index-BOqArG0M.js → index-BmnqXsR0.js} +2 -2
  23. package/dist/{index-Cj48-P_6.js → index-CpP8SQvS.js} +3 -3
  24. package/dist/{index-CZMT_8vp.js → index-Da5-UhV8.js} +1 -1
  25. package/dist/{index-CI4HFlA1.js → index-TWffqlKx.js} +3 -3
  26. package/dist/index-VXloamRw.js +4 -0
  27. package/dist/{pdfWorker-J0U9pY7G.js → pdfWorker-BD-OjWu-.js} +2 -2
  28. package/dist/styles.css +1 -1
  29. package/package.json +1 -1
  30. package/dist/index-BTZ9wcj-.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-BJXetkJd.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-C84jne3O.js";
6
- import { c as _b, u as et, S as Vu, d as xb } from "./F0Map-4ViiMQSk.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-D-1EWW6K.js";
6
+ import { c as _b, u as et, S as Vu, d as xb } from "./F0Map-BwHOdoOf.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-CVnpciH6.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-VP-cfGR2.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-CI4HFlA1.js").then((e) => e.i).then((e) => ({
21749
+ () => import("./index-TWffqlKx.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-BTZ9wcj-.js").then((e) => ({
24438
+ }, G9 = () => import("./index-VXloamRw.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-Dtnvl7ba.js").then((e) => ({
26128
+ () => import("./ChatPostComposerDialog-CbOGdBUl.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"
@@ -20646,11 +20669,9 @@ declare namespace Calendar {
20646
20669
 
20647
20670
  declare module "@tiptap/core" {
20648
20671
  interface Commands<ReturnType> {
20649
- enhanceHighlight: {
20650
- setEnhanceHighlight: (from: number, to: number, options?: {
20651
- placeholder?: string;
20652
- }) => ReturnType;
20653
- clearEnhanceHighlight: () => ReturnType;
20672
+ aiBlock: {
20673
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
20674
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
20654
20675
  };
20655
20676
  }
20656
20677
  }
@@ -20658,10 +20679,11 @@ declare module "@tiptap/core" {
20658
20679
 
20659
20680
  declare module "@tiptap/core" {
20660
20681
  interface Commands<ReturnType> {
20661
- indent: {
20662
- setIndent: (level: number) => ReturnType;
20663
- unsetIndent: () => ReturnType;
20664
- outdent: () => ReturnType;
20682
+ enhanceHighlight: {
20683
+ setEnhanceHighlight: (from: number, to: number, options?: {
20684
+ placeholder?: string;
20685
+ }) => ReturnType;
20686
+ clearEnhanceHighlight: () => ReturnType;
20665
20687
  };
20666
20688
  }
20667
20689
  }
@@ -20679,9 +20701,10 @@ declare module "@tiptap/core" {
20679
20701
 
20680
20702
  declare module "@tiptap/core" {
20681
20703
  interface Commands<ReturnType> {
20682
- aiBlock: {
20683
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
20684
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
20704
+ indent: {
20705
+ setIndent: (level: number) => ReturnType;
20706
+ unsetIndent: () => ReturnType;
20707
+ outdent: () => ReturnType;
20685
20708
  };
20686
20709
  }
20687
20710
  }
@@ -20698,8 +20721,10 @@ declare module "@tiptap/core" {
20698
20721
 
20699
20722
  declare module "@tiptap/core" {
20700
20723
  interface Commands<ReturnType> {
20701
- transcript: {
20702
- insertTranscript: (data: TranscriptData) => ReturnType;
20724
+ videoEmbed: {
20725
+ setVideoEmbed: (options: {
20726
+ src: string;
20727
+ }) => ReturnType;
20703
20728
  };
20704
20729
  }
20705
20730
  }
@@ -20707,10 +20732,8 @@ declare module "@tiptap/core" {
20707
20732
 
20708
20733
  declare module "@tiptap/core" {
20709
20734
  interface Commands<ReturnType> {
20710
- videoEmbed: {
20711
- setVideoEmbed: (options: {
20712
- src: string;
20713
- }) => ReturnType;
20735
+ transcript: {
20736
+ insertTranscript: (data: TranscriptData) => ReturnType;
20714
20737
  };
20715
20738
  }
20716
20739
  }
@@ -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-SH5u5OFs.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-BJXetkJd.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-C84jne3O.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-4ViiMQSk.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-CEfFcp92.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-D-1EWW6K.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-BwHOdoOf.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
 
@@ -16368,6 +16391,7 @@ export declare type InlineFieldRowAlert = Omit<F0AlertProps, "variant"> & {
16368
16391
  variant?: F0AlertProps["variant"];
16369
16392
  };
16370
16393
 
16394
+ /** One card of rows, sharing one label column so their values line up. */
16371
16395
  export declare const InlineFieldRowList: ({ children }: {
16372
16396
  children: ReactNode;
16373
16397
  }) => JSX_2.Element;
@@ -16395,6 +16419,14 @@ export declare type InlineFieldRowProps = {
16395
16419
  * @default "fixed"
16396
16420
  */
16397
16421
  valueHeight?: "fixed" | "auto";
16422
+ /**
16423
+ * The narrowest the value may get beside its label before the label stacks
16424
+ * above it. Rows in one `InlineFieldRowList` share one label column, so a
16425
+ * long label also stacks when the column it needs would squeeze another
16426
+ * row's value below its minimum.
16427
+ * @default 15
16428
+ */
16429
+ valueMinWidth?: InlineValueMinWidth;
16398
16430
  editing: boolean;
16399
16431
  /** Validation copy below the value; also marks the value box as critical. */
16400
16432
  message?: string;
@@ -16405,6 +16437,16 @@ export declare type InlineFieldRowProps = {
16405
16437
  alert?: InlineFieldRowAlert;
16406
16438
  };
16407
16439
 
16440
+ /**
16441
+ * The narrowest a value may get beside its label: a size in rem, or the strings
16442
+ * it can show (such as a select's options), measured in the value's font, plus
16443
+ * `chrome` rem for its padding and controls.
16444
+ */
16445
+ declare type InlineValueMinWidth = number | {
16446
+ texts: readonly string[];
16447
+ chrome: number;
16448
+ };
16449
+
16408
16450
  /**
16409
16451
  * @deprecated Renamed to `F0TextInput` to match the F0 input vocabulary
16410
16452
  * (any component where the user types text in a box has the `Input` suffix
@@ -22569,11 +22611,9 @@ declare namespace Calendar {
22569
22611
 
22570
22612
  declare module "@tiptap/core" {
22571
22613
  interface Commands<ReturnType> {
22572
- enhanceHighlight: {
22573
- setEnhanceHighlight: (from: number, to: number, options?: {
22574
- placeholder?: string;
22575
- }) => ReturnType;
22576
- clearEnhanceHighlight: () => ReturnType;
22614
+ aiBlock: {
22615
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
22616
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
22577
22617
  };
22578
22618
  }
22579
22619
  }
@@ -22581,10 +22621,11 @@ declare module "@tiptap/core" {
22581
22621
 
22582
22622
  declare module "@tiptap/core" {
22583
22623
  interface Commands<ReturnType> {
22584
- indent: {
22585
- setIndent: (level: number) => ReturnType;
22586
- unsetIndent: () => ReturnType;
22587
- outdent: () => ReturnType;
22624
+ enhanceHighlight: {
22625
+ setEnhanceHighlight: (from: number, to: number, options?: {
22626
+ placeholder?: string;
22627
+ }) => ReturnType;
22628
+ clearEnhanceHighlight: () => ReturnType;
22588
22629
  };
22589
22630
  }
22590
22631
  }
@@ -22602,9 +22643,10 @@ declare module "@tiptap/core" {
22602
22643
 
22603
22644
  declare module "@tiptap/core" {
22604
22645
  interface Commands<ReturnType> {
22605
- aiBlock: {
22606
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
22607
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
22646
+ indent: {
22647
+ setIndent: (level: number) => ReturnType;
22648
+ unsetIndent: () => ReturnType;
22649
+ outdent: () => ReturnType;
22608
22650
  };
22609
22651
  }
22610
22652
  }
@@ -22621,8 +22663,10 @@ declare module "@tiptap/core" {
22621
22663
 
22622
22664
  declare module "@tiptap/core" {
22623
22665
  interface Commands<ReturnType> {
22624
- transcript: {
22625
- insertTranscript: (data: TranscriptData) => ReturnType;
22666
+ videoEmbed: {
22667
+ setVideoEmbed: (options: {
22668
+ src: string;
22669
+ }) => ReturnType;
22626
22670
  };
22627
22671
  }
22628
22672
  }
@@ -22630,10 +22674,8 @@ declare module "@tiptap/core" {
22630
22674
 
22631
22675
  declare module "@tiptap/core" {
22632
22676
  interface Commands<ReturnType> {
22633
- videoEmbed: {
22634
- setVideoEmbed: (options: {
22635
- src: string;
22636
- }) => ReturnType;
22677
+ transcript: {
22678
+ insertTranscript: (data: TranscriptData) => ReturnType;
22637
22679
  };
22638
22680
  }
22639
22681
  }
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-BJXetkJd.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-BJXetkJd.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-C84jne3O.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-C84jne3O.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-D-1EWW6K.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-D-1EWW6K.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-D0yWIaUD.js";
12
- import { F as ibe } from "./F0VideoPlayer-D0yWIaUD.js";
13
- import { F as obe, p as sbe } from "./index-CI4HFlA1.js";
14
- import { c as ube } from "./pdfWorker-J0U9pY7G.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-CzSB2LO4.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-CzSB2LO4.js";
11
+ import { l as N0, c as h2, d as iv, r as I0 } from "./F0VideoPlayer-BsHtSkls.js";
12
+ import { F as ibe } from "./F0VideoPlayer-BsHtSkls.js";
13
+ import { F as obe, p as sbe } from "./index-TWffqlKx.js";
14
+ import { c as ube } from "./pdfWorker-BD-OjWu-.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 = {
@@ -1570,11 +1570,9 @@ declare namespace Calendar {
1570
1570
 
1571
1571
  declare module "@tiptap/core" {
1572
1572
  interface Commands<ReturnType> {
1573
- enhanceHighlight: {
1574
- setEnhanceHighlight: (from: number, to: number, options?: {
1575
- placeholder?: string;
1576
- }) => ReturnType;
1577
- clearEnhanceHighlight: () => ReturnType;
1573
+ aiBlock: {
1574
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
1575
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
1578
1576
  };
1579
1577
  }
1580
1578
  }
@@ -1582,10 +1580,11 @@ declare module "@tiptap/core" {
1582
1580
 
1583
1581
  declare module "@tiptap/core" {
1584
1582
  interface Commands<ReturnType> {
1585
- indent: {
1586
- setIndent: (level: number) => ReturnType;
1587
- unsetIndent: () => ReturnType;
1588
- outdent: () => ReturnType;
1583
+ enhanceHighlight: {
1584
+ setEnhanceHighlight: (from: number, to: number, options?: {
1585
+ placeholder?: string;
1586
+ }) => ReturnType;
1587
+ clearEnhanceHighlight: () => ReturnType;
1589
1588
  };
1590
1589
  }
1591
1590
  }
@@ -1603,9 +1602,10 @@ declare module "@tiptap/core" {
1603
1602
 
1604
1603
  declare module "@tiptap/core" {
1605
1604
  interface Commands<ReturnType> {
1606
- aiBlock: {
1607
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
1608
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
1605
+ indent: {
1606
+ setIndent: (level: number) => ReturnType;
1607
+ unsetIndent: () => ReturnType;
1608
+ outdent: () => ReturnType;
1609
1609
  };
1610
1610
  }
1611
1611
  }
@@ -1622,8 +1622,10 @@ declare module "@tiptap/core" {
1622
1622
 
1623
1623
  declare module "@tiptap/core" {
1624
1624
  interface Commands<ReturnType> {
1625
- transcript: {
1626
- insertTranscript: (data: TranscriptData) => ReturnType;
1625
+ videoEmbed: {
1626
+ setVideoEmbed: (options: {
1627
+ src: string;
1628
+ }) => ReturnType;
1627
1629
  };
1628
1630
  }
1629
1631
  }
@@ -1631,10 +1633,8 @@ declare module "@tiptap/core" {
1631
1633
 
1632
1634
  declare module "@tiptap/core" {
1633
1635
  interface Commands<ReturnType> {
1634
- videoEmbed: {
1635
- setVideoEmbed: (options: {
1636
- src: string;
1637
- }) => ReturnType;
1636
+ transcript: {
1637
+ insertTranscript: (data: TranscriptData) => ReturnType;
1638
1638
  };
1639
1639
  }
1640
1640
  }