@factorialco/f0-react 7.32.1 → 7.34.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 (44) hide show
  1. package/dist/{ChatPdfThumbnail-BwpWiV7T.js → ChatPdfThumbnail-CFEB3FYp.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-CFyr4Byz.js → ChatPostComposerDialog-DnuStGGi.js} +3 -3
  3. package/dist/{DocumentToolbar-DKzU4Tzy.js → DocumentToolbar-BT7Ks9jN.js} +2 -2
  4. package/dist/{DocxViewer-DfxGhQjU.js → DocxViewer-DzCul5m1.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-jO1HO2BD.js → F0AiProcessingOverlay-C3q5kdSu.js} +3999 -3813
  6. package/dist/{F0CanvasPanel-DLF1SCk4.js → F0CanvasPanel-DB32LsaK.js} +12766 -12683
  7. package/dist/{F0Map-CygKhB5i.js → F0Map-CFivWqOr.js} +4 -4
  8. package/dist/{F0VideoPlayer-DbTZXcO6.js → F0VideoPlayer-C5TOVGjz.js} +356 -377
  9. package/dist/{MapProvider-Ch1cPKjS.js → MapProvider-COBzcEBa.js} +214 -189
  10. package/dist/{SheetViewer-ViMuN1CA.js → SheetViewer-Bvv7GLJ5.js} +2 -2
  11. package/dist/{TextViewer-BcLRfqsx.js → TextViewer-CTLt0pvu.js} +2 -2
  12. package/dist/ai.d.ts +417 -5
  13. package/dist/ai.js +23 -22
  14. package/dist/component-status.js +1 -1
  15. package/dist/{experimental-CvuOJdq3.js → experimental-B0saLXEl.js} +11986 -11293
  16. package/dist/experimental.d.ts +425 -40
  17. package/dist/experimental.js +277 -275
  18. package/dist/f0.d.ts +129 -2
  19. package/dist/f0.js +22 -21
  20. package/dist/i18n-provider-defaults.d.ts +9 -0
  21. package/dist/i18n-provider-defaults.js +12 -0
  22. package/dist/{index-OJh_6X7K.js → index-AqJa6oaL.js} +3 -3
  23. package/dist/{index-DzDT9DH3.js → index-BdKI708R.js} +2 -2
  24. package/dist/index-C2VXFg3o.js +4 -0
  25. package/dist/{index-BBR_mAii.js → index-Dq029AUw.js} +1 -1
  26. package/dist/{index-HQ5Z51m0.js → index-H07Crbx2.js} +3 -3
  27. package/dist/{pdfWorker-Dv3lniwl.js → pdfWorker-CJFmh5Jp.js} +2 -2
  28. package/dist/styles.css +1 -1
  29. package/icons/app/Floating.d.ts.map +1 -1
  30. package/icons/app/Floating.js +1 -1
  31. package/icons/app/Fullscreen.d.ts +4 -0
  32. package/icons/app/Fullscreen.d.ts.map +1 -0
  33. package/icons/app/Fullscreen.js +5 -0
  34. package/icons/app/PanelLeft.d.ts +4 -0
  35. package/icons/app/PanelLeft.d.ts.map +1 -0
  36. package/icons/app/PanelLeft.js +5 -0
  37. package/icons/app/PanelRight.d.ts +4 -0
  38. package/icons/app/PanelRight.d.ts.map +1 -0
  39. package/icons/app/PanelRight.js +5 -0
  40. package/icons/app/index.d.ts +3 -0
  41. package/icons/app/index.d.ts.map +1 -1
  42. package/icons/app/index.js +3 -0
  43. package/package.json +2 -2
  44. package/dist/index-OmxDZUdx.js +0 -4
package/dist/f0.d.ts CHANGED
@@ -1099,6 +1099,10 @@ export declare const aiTranslations: {
1099
1099
  readonly thinkingElapsedSeconds: "{{seconds}}s";
1100
1100
  readonly thinkingElapsedMinutes: "{{minutes}}m {{seconds}}s";
1101
1101
  readonly attribution: "Suggested by One";
1102
+ readonly mentions: {
1103
+ readonly people: "People";
1104
+ readonly suggestions: "Mention suggestions";
1105
+ };
1102
1106
  readonly evidence: {
1103
1107
  readonly show: "See {{name}}";
1104
1108
  readonly hide: "Hide {{name}}";
@@ -3816,6 +3820,16 @@ export declare const createPageLayoutBlock: <Props = unknown>(displayName: strin
3816
3820
 
3817
3821
  export declare const createPageLayoutBlockGroup: <Props = unknown>(displayName: string, Component: React.ComponentType<Props>) => React.ComponentType<Props> & PageLayoutGroupComponent;
3818
3822
 
3823
+ /**
3824
+ * The `person` mention source for a person search: what `searchPersons`
3825
+ * becomes. Exported so hosts that build their own `mentionSources` can place
3826
+ * people explicitly.
3827
+ */
3828
+ export declare function createPersonMentionSource(searchPersons: (query: string) => Promise<PersonProfile[]>, options: {
3829
+ label: string;
3830
+ order?: MentionSource["order"];
3831
+ }): MentionSource;
3832
+
3819
3833
  /**
3820
3834
  * Credits usage data returned by the host app
3821
3835
  */
@@ -3842,6 +3856,32 @@ export declare type CurrentFilters<F extends FilterOptions<string>> = F extends
3842
3856
  [Key in K]?: FilterValue<F["fields"][Key]>;
3843
3857
  } : Record<string, never>;
3844
3858
 
3859
+ /**
3860
+ * Hover card content of a host-registered entity type. `avatar` is the card's
3861
+ * leading slot, where a person's avatar goes: an icon for most entities
3862
+ * (`{ type: "icon", icon: PalmTree }`).
3863
+ */
3864
+ export declare type CustomEntityRefCard = Pick<F0CardProps, "title" | "description" | "avatar">;
3865
+
3866
+ /**
3867
+ * How a host-defined `<entity-ref type="…">` renders in messages.
3868
+ *
3869
+ * The ref renders exactly like a person mention: an `@label` chip whose
3870
+ * hover card is resolved on first open.
3871
+ */
3872
+ export declare type CustomEntityRefConfig = {
3873
+ /**
3874
+ * Lazily resolves the hover card the first time it opens. While it runs the
3875
+ * card shows a skeleton; when it is omitted or fails, the card shows the
3876
+ * label with `avatar`.
3877
+ */
3878
+ resolve?: (id: string) => Promise<CustomEntityRefCard>;
3879
+ /** Card avatar used when `resolve` returns none, or is omitted or fails. */
3880
+ avatar?: CustomEntityRefCard["avatar"];
3881
+ /** When set, the card gets a "View" action to this URL. */
3882
+ url?: (id: string) => string;
3883
+ };
3884
+
3845
3885
  /**
3846
3886
  * All valid renderIf conditions for custom fields
3847
3887
  */
@@ -5605,6 +5645,10 @@ export declare const defaultTranslations: {
5605
5645
  readonly thinkingElapsedSeconds: "{{seconds}}s";
5606
5646
  readonly thinkingElapsedMinutes: "{{minutes}}m {{seconds}}s";
5607
5647
  readonly attribution: "Suggested by One";
5648
+ readonly mentions: {
5649
+ readonly people: "People";
5650
+ readonly suggestions: "Mention suggestions";
5651
+ };
5608
5652
  readonly evidence: {
5609
5653
  readonly show: "See {{name}}";
5610
5654
  readonly hide: "Hide {{name}}";
@@ -5983,12 +6027,15 @@ export declare const defaultTranslations: {
5983
6027
  readonly muted: "Muted";
5984
6028
  readonly waitingToJoin: "Waiting…";
5985
6029
  readonly sharingScreen: "Sharing screen";
6030
+ readonly audioRoom: "People in this call";
5986
6031
  readonly chatPanel: "Chat";
5987
6032
  readonly transcriptPanel: "Transcript";
5988
6033
  readonly notesPanel: "Notes";
5989
6034
  readonly openChat: "Open chat";
5990
6035
  readonly closeChat: "Close chat";
5991
6036
  readonly closePanel: "Close panel";
6037
+ readonly resizeChatPanel: "Resize chat panel";
6038
+ readonly chatPanelWidth: "{{width}} pixels";
5992
6039
  readonly notesPlaceholder: "Take notes for everyone in the call…";
5993
6040
  readonly roomChatPlaceholder: "Message this call…";
5994
6041
  readonly roomChatEmpty: "Messages here are only for this call and disappear when it ends.";
@@ -6051,6 +6098,8 @@ export declare const defaultTranslations: {
6051
6098
  readonly movedToFloating: "Meeting in a floating window";
6052
6099
  readonly movedToSidePanel: "Meeting in the side panel";
6053
6100
  readonly movedToMinimized: "Meeting minimized";
6101
+ readonly audioOnlyAnnouncement: "Audio only. There is not enough room for video";
6102
+ readonly videoResumed: "Video is back";
6054
6103
  readonly movedInline: "Meeting on the page";
6055
6104
  readonly movedToPictureInPicture: "Meeting in a picture-in-picture window";
6056
6105
  };
@@ -7141,6 +7190,14 @@ declare type EntitiesListItem = Record<string, unknown>;
7141
7190
  export declare type EntityRefs = {
7142
7191
  resolvers?: EntityResolvers;
7143
7192
  urls?: EntityUrlBuilders;
7193
+ /**
7194
+ * Entity types F0 does not know, keyed by the `type` attribute of
7195
+ * `<entity-ref>` (e.g. `allowance`, `timeoff_policy`). Built-in types
7196
+ * (`person`, `candidate`, …) keep their own renderers and are configured
7197
+ * through `resolvers` and `urls`; an entry here for one of them is ignored.
7198
+ * Types that are neither built in nor registered render as plain text.
7199
+ */
7200
+ custom?: Record<string, CustomEntityRefConfig>;
7144
7201
  };
7145
7202
 
7146
7203
  /**
@@ -7549,7 +7606,7 @@ export declare const F0AiChatProvider: ({ enabled, side, panelContentSide, initi
7549
7606
  * coupling to `useAiChat()` or CopilotKit — wrappers like F0AiChat
7550
7607
  * provide the wiring.
7551
7608
  */
7552
- export declare const F0AiChatTextArea: ({ onSubmit, onStop, inProgress, onBeforeSubmit, placeholders, creditWarning, clarifyingUI, pendingContext, onPendingContextChange, pendingQuote, onPendingQuoteChange, fileAttachments, toolbarStart, onTranscribe, searchPersons, onProcessFilesRef, disclaimer, usageLimits, footer, isWelcomeScreen, fullscreen, welcomeScreenSuggestions, onSuggestionClick, welcomeScreenSuggestionsPlacement, welcomeScreenSuggestionsCollapsedByDefault, welcomeScreenCards, padding, ref, }: F0AiChatTextAreaProps) => JSX_2.Element;
7609
+ export declare const F0AiChatTextArea: ({ onSubmit, onStop, inProgress, onBeforeSubmit, placeholders, creditWarning, clarifyingUI, pendingContext, onPendingContextChange, pendingQuote, onPendingQuoteChange, fileAttachments, toolbarStart, onTranscribe, searchPersons, mentionSources, onProcessFilesRef, disclaimer, usageLimits, footer, isWelcomeScreen, fullscreen, welcomeScreenSuggestions, onSuggestionClick, welcomeScreenSuggestionsPlacement, welcomeScreenSuggestionsCollapsedByDefault, welcomeScreenCards, padding, ref, }: F0AiChatTextAreaProps) => JSX_2.Element;
7553
7610
 
7554
7611
  export declare type F0AiChatTextAreaProps = {
7555
7612
  ref: RefObject<HTMLDivElement>;
@@ -7600,8 +7657,20 @@ export declare type F0AiChatTextAreaProps = {
7600
7657
  * reviews and sends it manually). When omitted, the microphone is hidden.
7601
7658
  */
7602
7659
  onTranscribe?: TranscribeFn;
7603
- /** Async search used by the @-mention popover. When omitted, mentions are disabled. */
7660
+ /**
7661
+ * Async person search used by the @-mention popover. It becomes the built-in
7662
+ * `person` mention source, listed first unless `mentionSources` already has
7663
+ * a source of type `"person"`. When both this and `mentionSources` are
7664
+ * omitted, mentions are disabled.
7665
+ */
7604
7666
  searchPersons?: (query: string) => Promise<PersonProfile[]>;
7667
+ /**
7668
+ * Typed @-mention sources. Each source is a group in the popover and its
7669
+ * items are sent as `<entity-ref type="<item.type>" id="<item.id>">label</entity-ref>`.
7670
+ * Mentions are tracked by position, so two items with the same label keep
7671
+ * their own ids. Order the groups with `MentionSource.order`.
7672
+ */
7673
+ mentionSources?: MentionSource[];
7605
7674
  /**
7606
7675
  * Registers a callback that lets external drop zones forward dropped
7607
7676
  * files to this textarea's file-attachment pipeline. The textarea calls
@@ -16851,11 +16920,55 @@ export declare type MentionedUser = {
16851
16920
  href?: string;
16852
16921
  };
16853
16922
 
16923
+ /** One row of the @-mention popover, as a {@link MentionSource} returns it. */
16924
+ export declare type MentionItem = {
16925
+ /** Serialised as the `type` attribute of the `<entity-ref>` tag. */
16926
+ type: string;
16927
+ /** Serialised as the `id` attribute of the `<entity-ref>` tag. */
16928
+ id: string;
16929
+ /** Inserted after the `@` in the textarea and used as the tag's text. */
16930
+ label: string;
16931
+ /** Secondary line under the label (job title, unit · policy…). */
16932
+ description?: string;
16933
+ /** Leading slot of the row: a person's avatar, or an icon for most entities. */
16934
+ avatar?: AvatarVariant;
16935
+ };
16936
+
16854
16937
  export declare type MentionsConfig = {
16855
16938
  onMentionQueryStringChanged?: (queryString: string) => Promise<MentionedUser[]> | undefined;
16856
16939
  users: MentionedUser[];
16857
16940
  };
16858
16941
 
16942
+ /** What a source knows about the message when it is asked to search. */
16943
+ export declare type MentionSearchContext = {
16944
+ /** The full textarea text. */
16945
+ text: string;
16946
+ /** Cursor offset in `text`. */
16947
+ cursor: number;
16948
+ /** Completed mentions that end before the `@` being typed, in text order. */
16949
+ mentionsBefore: TrackedMention[];
16950
+ };
16951
+
16952
+ /**
16953
+ * A typed source of @-mention suggestions. Each source is one group in the
16954
+ * popover.
16955
+ */
16956
+ export declare type MentionSource = {
16957
+ /** Identifies the group. Usually the `type` of the items it returns. */
16958
+ type: string;
16959
+ /** Heading of the group, shown when more than one source is configured. */
16960
+ label: string;
16961
+ /** Returns the rows for `query` (the text between the `@` and the cursor). */
16962
+ search: (query: string, context: MentionSearchContext) => Promise<MentionItem[]>;
16963
+ /**
16964
+ * Where the group sits in the popover: groups sort ascending, `0` when
16965
+ * unset, ties keep the order of the `mentionSources` array. A function lets
16966
+ * a group move up for the message so far, e.g. counters first once a person
16967
+ * is mentioned. Enter and the arrow keys follow the displayed order.
16968
+ */
16969
+ order?: number | ((context: MentionSearchContext) => number);
16970
+ };
16971
+
16859
16972
  /**
16860
16973
  * Write counterpart of `resolveDataCollectionFilters`: returns a new storage
16861
16974
  * object with `filters` replaced, writing the SAME slot the resolver reads —
@@ -20730,6 +20843,20 @@ export declare interface TopLevelPrependNotesTextEditorPageDocumentPatch {
20730
20843
  blocks: JSONContent[];
20731
20844
  }
20732
20845
 
20846
+ /**
20847
+ * A mention the composer has recorded. It is anchored by the offset of its
20848
+ * `@`, not matched by label, so two mentions with the same label (two people
20849
+ * called "Ana García", or a person and a counter both called "Vacation") keep
20850
+ * their own ids.
20851
+ */
20852
+ export declare type TrackedMention = {
20853
+ type: string;
20854
+ id: string;
20855
+ label: string;
20856
+ /** Offset of the mention's `@` in the textarea text. */
20857
+ start: number;
20858
+ };
20859
+
20733
20860
  /**
20734
20861
  * Transcribes a recorded audio blob to text (voice dictation). The returned
20735
20862
  * promise resolves with the final transcript; `onPartial` delivers
package/dist/f0.js CHANGED
@@ -1,21 +1,21 @@
1
- import { iw as DI, B as vt, er as vx, cO as Hn, hK as AI, gb as Z5, ab as Va, fH as j5, ix as K5, iy as MI, E as sr, cA as If, iz as RS, iA as Rr, iB as no, iC as Q5, iD as Mi, u as Be, ad as Ep, iE as nu, iF as J5, iG as EI, cm as yl, hG as T0, iH as eG, S as ae, G as px, iI as tG, iJ as rG, iK as OS, cT as nG, iL as iG, iM as aG, iN as LI, iO as oG, H as Pf, J as kf, y as lt, K as Rf, L as qr, $ as sG, a0 as lG, M as Il, N as Pl, aY as Fa, Q as kl, gS as D0, dP as Ft, v as ut, aG as Rl, e8 as Ga, di as gx, iP as uG, s as cG, t as BS, z as NI, w as Ol, aa as II, x as fG, eX as tv, eo as PI, iQ as dG, hJ as zS, dc as hG, iR as VS, a4 as vG, iS as pG, cr as kI, ek as RI, gC as A0, hc as iu, hd as Of, hR as gG, gA as OI, r as mG, av as M0, au as mx, hf as BI, o as yG, gy as bG, iT as Lp, bw as yx, ht as _G, cy as zI, gj as xG, aV as wG, iq as bx, bz as VI, cu as SG, cv as CG, cw as TG, d as DG, c3 as FI, aI as ps, c8 as GI, bv as HI, aE as _x, ca as WI, a7 as xx, U as bl, V as _l, X as xl, Y as wl, gT as Fi, an as $I, j as AG, W as zr, eH as MG, bt as rv, aS as Bl, ck as Sx, bx as E0, cL as Yc, cI as EG, bi as Bf, ai as au, aH as UI, dG as YI, dt as XI, hn as Wr, iU as LG, iV as NG, iW as IG, iX as Cx, iY as PG, iZ as kG, a3 as si, a1 as qI, a2 as ZI, m as RG, i_ as OG, cB as jI, ei as BG, ej as zG, ch as Sl, df as ou, eu as su, fi as zf, cb as VG, es as FG, bV as GG, aK as KI, a9 as QI, aJ as HG, bn as FS, c7 as Xc, hP as WG, be as $G, i$ as UG, j0 as YG, j1 as XG, b as JI, dd as e2, cH as qG, bq as ZG, l as t2, aw as jG, at as KG, j2 as QG, j3 as JG, j4 as eH, hO as tH, af as r2, j5 as rH, ct as nH, d2 as iH, j6 as n2, j7 as aH, j8 as oH, I as sH, j9 as lH, ja as uH, jb as cH, jc as fH } from "./F0CanvasPanel-DLF1SCk4.js";
2
- import { ju as dme, C as hme, D as vme, dA as pme, c as gme, F as mme, a as yme, jm as bme, f as _me, cR as xme, dB as wme, ew as Sme, cC as Cme, cD as Tme, q as Dme, cz as Ame, cQ as Mme, dn as Eme, dO as Lme, g as Nme, cx as Ime, cn as Pme, jh as kme, jA as Rme, cj as Ome, e as Bme, eq as zme, k as Vme, jo as Fme, cS as Gme, jp as Hme, dM as Wme, jq as $me, js as Ume, jt as Yme, e_ as Xme, jw as qme, jx as Zme, eT as jme, eU as Kme, P as Qme, eY as Jme, jr as eye, eV as tye, jv as rye, jB as nye, je as iye, jf as aye, jg as oye, jd as sye, eW as lye, jz as uye, jn as cye, jk as fye, jj as dye, eZ as hye, gO as vye, hA as pye, jy as gye, dD as mye, eS as yye, eP as bye, eR as _ye, eN as xye, jl as wye, hv as Sye, hq as Cye, hg as Tye, jE as Dye, eA as Aye, eQ as Mye, jD as Eye, ee as Lye, eO as Nye, cF as Iye, gN as Pye, hh as kye, eh as Rye, hQ as Oye, dC as Bye, cG as zye, ji as Vye, hs as Fye, hr as Gye, jC as Hye } from "./F0CanvasPanel-DLF1SCk4.js";
1
+ import { iy as DI, B as vt, et as vx, cQ as Hn, hN as AI, ge as Z5, ab as Va, fK as j5, iz as K5, iA as MI, E as sr, cC as If, iB as RS, iC as Rr, iD as no, iE as Q5, iF as Mi, u as Be, ad as Ep, iG as nu, iH as J5, iI as EI, co as yl, hJ as T0, iJ as eG, S as ae, G as px, iK as tG, iL as rG, iM as OS, cV as nG, iN as iG, iO as aG, iP as LI, iQ as oG, H as Pf, J as kf, y as lt, K as Rf, L as qr, $ as sG, a0 as lG, M as Il, N as Pl, aY as Fa, Q as kl, gV as D0, dR as Ft, v as ut, aG as Rl, ea as Ga, dk as gx, iR as uG, s as cG, t as BS, z as NI, w as Ol, aa as II, x as fG, e_ as tv, eq as PI, iS as dG, hM as zS, de as hG, iT as VS, a4 as vG, iU as pG, ct as kI, em as RI, gF as A0, hf as iu, hg as Of, hU as gG, gD as OI, r as mG, av as M0, au as mx, hi as BI, o as yG, gB as bG, iV as Lp, bx as yx, hw as _G, cA as zI, gm as xG, aV as wG, it as bx, bA as VI, cw as SG, cx as CG, cy as TG, d as DG, 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, gW as Fi, an as $I, j as AG, W as zr, eK as MG, bu as rv, aS as Bl, cn as Sx, by as E0, cN as Yc, cK as EG, bj as Bf, ai as au, aH as UI, dI as YI, dv as XI, hq as Wr, iW as LG, iX as NG, iY as IG, iZ as Cx, i_ as PG, i$ as kG, a3 as si, a1 as qI, a2 as ZI, m as RG, j0 as OG, cD as jI, ek as BG, el as zG, ck as Sl, dh as ou, ew as su, fl as zf, ce as VG, eu as FG, bY as GG, aK as KI, a9 as QI, aJ as HG, bo as FS, ca as Xc, hS as WG, be as $G, j1 as UG, j2 as YG, j3 as XG, b as JI, df as e2, cJ as qG, br as ZG, l as t2, aw as jG, at as KG, j4 as QG, j5 as JG, j6 as eH, hR as tH, af as r2, j7 as rH, cv as nH, d4 as iH, j8 as n2, j9 as aH, ja as oH, I as sH, jb as lH, jc as uH, jd as cH, je as fH } from "./F0CanvasPanel-DB32LsaK.js";
2
+ import { jw as dme, C as hme, D as vme, dC as pme, c as gme, F as mme, a as yme, jo as bme, f as _me, cT as xme, dD as wme, ey as Sme, cE as Cme, cF as Tme, q as Dme, cB as Ame, cS as Mme, dq as Eme, eG as Lme, g as Nme, cz as Ime, cp as Pme, jj as kme, jC as Rme, cm as Ome, e as Bme, es as zme, k as Vme, jq as Fme, cU as Gme, jr as Hme, dO as Wme, js as $me, ju as Ume, jv as Yme, f1 as Xme, jy as qme, jz as Zme, eW as jme, eX as Kme, P as Qme, e$ as Jme, jt as eye, eY as tye, jx as rye, jD as nye, jg as iye, jh as aye, ji as oye, jf as sye, eZ as lye, jB as uye, jp as cye, jm as fye, jl as dye, f0 as hye, gR as vye, hD as pye, jA as gye, dF as mye, eV as yye, eS as bye, eU as _ye, eQ as xye, jn as wye, hy as Sye, ht as Cye, hj as Tye, jG as Dye, eC as Aye, eT as Mye, jF as Eye, eg as Lye, eR as Nye, cH as Iye, gQ as Pye, hk as kye, ej as Rye, hT as Oye, dE as Bye, cI as zye, jk as Vye, hv as Fye, hu as Gye, jE as Hye } from "./F0CanvasPanel-DB32LsaK.js";
3
3
  import { jsx as x, jsxs as B, Fragment as nt } from "react/jsx-runtime";
4
- import { o as dH, W as hH, _ as vH, $ as pH, a0 as gH, a1 as GS, b5 as mH, b6 as yH, a8 as bH, a2 as _H, a4 as xH, a6 as wH, a7 as SH, B as CH, a as qc, ad as i2, b7 as TH, b8 as DH, b9 as AH, ba as MH, bb as EH, bc as a2, bd as LH, n as Tx, be as io, bf as Ls, bg as o2, bh as NH, bi as IH, bj as PH, bk as kH, bl as RH, bm as OH, Y as Dx, bn as Ax, aq as BH, bo as zH, bp as VH, bq as FH, br as GH, aH as HH, aW as WH, bs as $H, aA as UH, E as YH, g as XH, s as Np, R as Mx, t as Ex, aF as s2, O as Lx, bt as l2, bu as HS, bv as Nx, ae as qH, bw as L0, G as ZH, v as u2, aL as c2, bx as jH, by as KH, bz as QH, bA as JH, bB as e3, p as t3, bC as Ng, bD as r3, bE as n3, bF as i3, aX as a3, bG as o3, M as s3 } from "./MapProvider-Ch1cPKjS.js";
5
- import { ag as $ye, ah as Uye, ar as Yye, ai as Xye, an as qye, c2 as Zye, c1 as jye, bW as Kye, bJ as Qye, bH as Jye, bI as e0e, bK as t0e, bL as r0e, bN as n0e, Z as i0e, aZ as a0e, aY as o0e, aB as s0e, F as l0e, aD as u0e, aE as c0e, ay as f0e, aw as d0e, b1 as h0e, bR as v0e, ax as p0e, aj as g0e, c3 as m0e, a_ as y0e, a$ as b0e, az as _0e, ak as x0e, q as w0e, am as S0e, ao as C0e, b0 as T0e, aC as D0e, b2 as A0e, al as M0e, ap as E0e, c5 as L0e, ac as N0e, aa as I0e, ab as P0e, bV as k0e, b$ as R0e, b$ as O0e, c0 as B0e, bQ as z0e, bP as V0e, c4 as F0e, aU as G0e, bT as H0e, bU as W0e, av as $0e, au as U0e, c6 as Y0e, c7 as X0e, A as q0e, w as Z0e, bX as j0e, bY as K0e, bZ as Q0e, bM as J0e, bS as ebe, x as tbe, b_ as rbe, bO as nbe, c8 as ibe } from "./MapProvider-Ch1cPKjS.js";
4
+ import { s as dH, W as hH, a1 as vH, a2 as pH, a3 as gH, a4 as GS, b8 as mH, b9 as yH, ab as bH, a5 as _H, a7 as xH, a9 as wH, aa as SH, G as CH, a as qc, ag as i2, ba as TH, bb as DH, bc as AH, bd as MH, be as EH, bf as a2, bg as LH, n as Tx, bh as io, bi as Ls, bj as o2, bk as NH, bl as IH, bm as PH, bn as kH, bo as RH, bp as OH, $ as Dx, bq as Ax, at as BH, br as zH, bs as VH, bt as FH, bu as GH, aK as HH, aZ as WH, bv as $H, aD as UH, E as YH, h as XH, v as Np, R as Mx, w as Ex, aI as s2, O as Lx, bw as l2, bx as HS, U as Nx, ah as qH, by as L0, I as ZH, x as u2, aO as c2, bz as jH, bA as KH, bB as QH, bC as JH, bD as e3, p as t3, bE as Ng, bF as r3, bG as n3, bH as i3, a_ as a3, bI as o3, M as s3 } from "./MapProvider-COBzcEBa.js";
5
+ import { aj as $ye, ak as Uye, au as Yye, al as Xye, aq as qye, c4 as Zye, c3 as jye, bY as Kye, bL as Qye, bJ as Jye, bK as e0e, bM as t0e, bN as r0e, bP as n0e, a0 as i0e, b0 as a0e, a$ as o0e, aE as s0e, F as l0e, aG as u0e, aH as c0e, aB as f0e, az as d0e, b4 as h0e, bT as v0e, aA as p0e, am as g0e, c5 as m0e, b1 as y0e, b2 as b0e, aC as _0e, an as x0e, t as w0e, ap as S0e, ar as C0e, b3 as T0e, aF as D0e, b5 as A0e, ao as M0e, as as E0e, c7 as L0e, af as N0e, ad as I0e, ae as P0e, bX as k0e, c1 as R0e, c1 as O0e, c2 as B0e, bS as z0e, bR as V0e, c6 as F0e, aX as G0e, bV as H0e, bW as W0e, ay as $0e, ax as U0e, c8 as Y0e, c9 as X0e, D as q0e, y as Z0e, bZ as j0e, b_ as K0e, b$ as Q0e, bO as J0e, bU as ebe, z as tbe, c0 as rbe, bQ as nbe, ca as ibe } from "./MapProvider-COBzcEBa.js";
6
6
  import * as pe from "react";
7
7
  import l3, { forwardRef as Pr, useRef as ce, useImperativeHandle as f2, Children as nv, createContext as na, useContext as ia, useState as de, useMemo as be, useEffect as we, useCallback as he, 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 ie, u as Ff, h as u3, i as cl, j as Gf, g as uu, k as c3, f as _n } from "./tooltip-CrXp1Uaz.js";
11
- import { l as N0, c as h2, d as iv, r as I0 } from "./F0VideoPlayer-DbTZXcO6.js";
12
- import { F as obe } from "./F0VideoPlayer-DbTZXcO6.js";
13
- import { F as lbe, p as ube } from "./index-HQ5Z51m0.js";
14
- import { c as fbe } from "./pdfWorker-Dv3lniwl.js";
15
- import { G as f3, H as av, I as kx, J as v2, K as d3, L as h3, M as v3, N as p3, O as g3, F as m3 } from "./F0AiProcessingOverlay-jO1HO2BD.js";
16
- import { A as hbe, C as vbe, t as pbe, s as gbe, v as mbe, y as ybe, z as bbe, l as _be, i as xbe, q as wbe, D as Sbe, E as Cbe, p as Tbe, r as Dbe, j as Abe, e as Mbe, g as Ebe, k as Lbe, T as Nbe, w as Ibe, h as Pbe, a as kbe, n as Rbe, m as Obe, o as Bbe, B as zbe, b as Vbe, f as Fbe, x as Gbe, c as Hbe, d as Wbe, u as $be } from "./F0AiProcessingOverlay-jO1HO2BD.js";
11
+ import { l as N0, c as h2, d as iv, r as I0 } from "./F0VideoPlayer-C5TOVGjz.js";
12
+ import { F as obe } from "./F0VideoPlayer-C5TOVGjz.js";
13
+ import { F as lbe, p as ube } from "./index-H07Crbx2.js";
14
+ import { c as fbe } from "./pdfWorker-CJFmh5Jp.js";
15
+ import { H as f3, I as av, J as kx, K as v2, L as d3, M as h3, N as v3, O as p3, P as g3, F as m3 } from "./F0AiProcessingOverlay-C3q5kdSu.js";
16
+ import { A as hbe, C as vbe, t as pbe, s as gbe, v as mbe, y as ybe, B as bbe, l as _be, i as xbe, q as wbe, E as Sbe, G as Cbe, p as Tbe, r as Dbe, j as Abe, e as Mbe, g as Ebe, k as Lbe, T as Nbe, w as Ibe, h as Pbe, a as kbe, n as Rbe, z as Obe, m as Bbe, o as zbe, D as Vbe, b as Fbe, f as Gbe, x as Hbe, c as Wbe, d as $be, u as Ube } from "./F0AiProcessingOverlay-C3q5kdSu.js";
17
17
  import { utils as Tl, write as p2 } from "./xlsx-CzlURDDb.js";
18
- import { defaultTranslations as Ybe } from "./i18n-provider-defaults.js";
18
+ import { defaultTranslations as Xbe } from "./i18n-provider-defaults.js";
19
19
  import './f0.css';const y3 = {
20
20
  xs: 1,
21
21
  sm: 2,
@@ -69822,10 +69822,11 @@ export {
69822
69822
  Ace as createF0FormTester,
69823
69823
  z3 as createPageLayoutBlock,
69824
69824
  V3 as createPageLayoutBlockGroup,
69825
+ Obe as createPersonMentionSource,
69825
69826
  Nge as dataCollectionLocalStorageHandler,
69826
69827
  Ige as datePickerInlineDismissReasons,
69827
69828
  Pge as datepickerSizes,
69828
- Ybe as defaultTranslations,
69829
+ Xbe as defaultTranslations,
69829
69830
  cye as defineAvailableForm,
69830
69831
  Tce as describeFormSchema,
69831
69832
  R0e as dialog,
@@ -69859,10 +69860,10 @@ export {
69859
69860
  Cye as isPageBasedPagination,
69860
69861
  Tye as isZodType,
69861
69862
  Dge as linkVariants,
69862
- Obe as markdownRenderers,
69863
+ Bbe as markdownRenderers,
69863
69864
  Dye as mergeDataCollectionFilters,
69864
69865
  Aye as modules,
69865
- Bbe as oneIconSizes,
69866
+ zbe as oneIconSizes,
69866
69867
  F0e as parseDataCollectionUrlParams,
69867
69868
  ube as pdfScales,
69868
69869
  G0e as predefinedPresets,
@@ -69885,12 +69886,12 @@ export {
69885
69886
  Wge as timelineRowStatuses,
69886
69887
  q0e as toasts,
69887
69888
  kye as unwrapZodSchema,
69888
- zbe as usageLimitsPopoverSides,
69889
+ Vbe as usageLimitsPopoverSides,
69889
69890
  JI as useAiChat,
69890
- Vbe as useAiChatTranslations,
69891
+ Fbe as useAiChatTranslations,
69891
69892
  CH as useAudioPlayer,
69892
- Fbe as useCanvasEntity,
69893
- Gbe as useChatHistory,
69893
+ Gbe as useCanvasEntity,
69894
+ Hbe as useChatHistory,
69894
69895
  Rye as useData,
69895
69896
  Oye as useDataSource,
69896
69897
  Z0e as useDataSourceItemNavigation,
@@ -69904,7 +69905,7 @@ export {
69904
69905
  J0e as useF0DialogAlikeContext,
69905
69906
  Dx as useF0Form,
69906
69907
  ebe as useF0FormDefinition,
69907
- Hbe as useFormCardValueFormatter,
69908
+ Wbe as useFormCardValueFormatter,
69908
69909
  lme as useFormComponent,
69909
69910
  Fye as useGroups,
69910
69911
  sme as useIsDesktop,
@@ -69914,8 +69915,8 @@ export {
69914
69915
  Ep as useReducedMotion,
69915
69916
  nbe as useSchemaDefinition,
69916
69917
  Gye as useSelectable,
69917
- Wbe as useSetFormCardValueFormatter,
69918
- $be as useToolCallId,
69918
+ $be as useSetFormCardValueFormatter,
69919
+ Ube as useToolCallId,
69919
69920
  Hye as useXRay,
69920
69921
  vt as withDataTestId,
69921
69922
  ibe as writeDataCollectionStorage
@@ -670,6 +670,10 @@ export declare const defaultTranslations: {
670
670
  readonly thinkingElapsedSeconds: "{{seconds}}s";
671
671
  readonly thinkingElapsedMinutes: "{{minutes}}m {{seconds}}s";
672
672
  readonly attribution: "Suggested by One";
673
+ readonly mentions: {
674
+ readonly people: "People";
675
+ readonly suggestions: "Mention suggestions";
676
+ };
673
677
  readonly evidence: {
674
678
  readonly show: "See {{name}}";
675
679
  readonly hide: "Hide {{name}}";
@@ -1048,12 +1052,15 @@ export declare const defaultTranslations: {
1048
1052
  readonly muted: "Muted";
1049
1053
  readonly waitingToJoin: "Waiting…";
1050
1054
  readonly sharingScreen: "Sharing screen";
1055
+ readonly audioRoom: "People in this call";
1051
1056
  readonly chatPanel: "Chat";
1052
1057
  readonly transcriptPanel: "Transcript";
1053
1058
  readonly notesPanel: "Notes";
1054
1059
  readonly openChat: "Open chat";
1055
1060
  readonly closeChat: "Close chat";
1056
1061
  readonly closePanel: "Close panel";
1062
+ readonly resizeChatPanel: "Resize chat panel";
1063
+ readonly chatPanelWidth: "{{width}} pixels";
1057
1064
  readonly notesPlaceholder: "Take notes for everyone in the call…";
1058
1065
  readonly roomChatPlaceholder: "Message this call…";
1059
1066
  readonly roomChatEmpty: "Messages here are only for this call and disappear when it ends.";
@@ -1116,6 +1123,8 @@ export declare const defaultTranslations: {
1116
1123
  readonly movedToFloating: "Meeting in a floating window";
1117
1124
  readonly movedToSidePanel: "Meeting in the side panel";
1118
1125
  readonly movedToMinimized: "Meeting minimized";
1126
+ readonly audioOnlyAnnouncement: "Audio only. There is not enough room for video";
1127
+ readonly videoResumed: "Video is back";
1119
1128
  readonly movedInline: "Meeting on the page";
1120
1129
  readonly movedToPictureInPicture: "Meeting in a picture-in-picture window";
1121
1130
  };
@@ -670,6 +670,10 @@ const e = {
670
670
  thinkingElapsedSeconds: "{{seconds}}s",
671
671
  thinkingElapsedMinutes: "{{minutes}}m {{seconds}}s",
672
672
  attribution: "Suggested by One",
673
+ mentions: {
674
+ people: "People",
675
+ suggestions: "Mention suggestions"
676
+ },
673
677
  evidence: {
674
678
  show: "See {{name}}",
675
679
  hide: "Hide {{name}}"
@@ -1050,12 +1054,18 @@ const e = {
1050
1054
  muted: "Muted",
1051
1055
  waitingToJoin: "Waiting…",
1052
1056
  sharingScreen: "Sharing screen",
1057
+ // The audio-only room draws no copy of its own: a room of avatars with no
1058
+ // video in it does not need to be told it has no video. This is the list's
1059
+ // accessible name; the change itself is announced once, below.
1060
+ audioRoom: "People in this call",
1053
1061
  chatPanel: "Chat",
1054
1062
  transcriptPanel: "Transcript",
1055
1063
  notesPanel: "Notes",
1056
1064
  openChat: "Open chat",
1057
1065
  closeChat: "Close chat",
1058
1066
  closePanel: "Close panel",
1067
+ resizeChatPanel: "Resize chat panel",
1068
+ chatPanelWidth: "{{width}} pixels",
1059
1069
  notesPlaceholder: "Take notes for everyone in the call…",
1060
1070
  roomChatPlaceholder: "Message this call…",
1061
1071
  roomChatEmpty: "Messages here are only for this call and disappear when it ends.",
@@ -1124,6 +1134,8 @@ const e = {
1124
1134
  movedToFloating: "Meeting in a floating window",
1125
1135
  movedToSidePanel: "Meeting in the side panel",
1126
1136
  movedToMinimized: "Meeting minimized",
1137
+ audioOnlyAnnouncement: "Audio only. There is not enough room for video",
1138
+ videoResumed: "Video is back",
1127
1139
  movedInline: "Meeting on the page",
1128
1140
  movedToPictureInPicture: "Meeting in a picture-in-picture window"
1129
1141
  },
@@ -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-DLF1SCk4.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-DB32LsaK.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-Ch1cPKjS.js";
6
- import { a as Kn, b as Un, R as tn } from "./F0Map-CygKhB5i.js";
5
+ import { a as cn, u as Qn, S as jn } from "./MapProvider-COBzcEBa.js";
6
+ import { a as Kn, b as Un, R as tn } from "./F0Map-CFivWqOr.js";
7
7
  const R = 3, _n = ({
8
8
  title: e,
9
9
  count: t,