@factorialco/f0-react 7.32.0 → 7.33.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-Cg2_Torf.js → ChatPdfThumbnail-CewvkWu-.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-D9vt19Do.js → ChatPostComposerDialog-CKwdWt5B.js} +3 -3
  3. package/dist/{DocumentToolbar-VcjNLI2W.js → DocumentToolbar-BdgPc16e.js} +2 -2
  4. package/dist/{DocxViewer-B_vuIwqx.js → DocxViewer-HWpF_G9w.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-DT4-88F7.js → F0AiProcessingOverlay-DxlgF3Pt.js} +4035 -3852
  6. package/dist/{F0CanvasPanel-BWGjNwSC.js → F0CanvasPanel-BCZjxhVB.js} +7047 -7049
  7. package/dist/{F0Map-BAGn-Pbt.js → F0Map-DZtgpSnS.js} +4 -4
  8. package/dist/{F0VideoPlayer-BiPN02OV.js → F0VideoPlayer-EqXupZV9.js} +1 -1
  9. package/dist/{MapProvider-DC2FAppw.js → MapProvider-C4K2ey4N.js} +2 -2
  10. package/dist/{SheetViewer-CW5aD1Gh.js → SheetViewer-yK40OmE1.js} +2 -2
  11. package/dist/{TextViewer-BoRCHEug.js → TextViewer-BYFQn6S1.js} +2 -2
  12. package/dist/ai.d.ts +420 -13
  13. package/dist/ai.js +23 -22
  14. package/dist/component-status.d.ts +8 -8
  15. package/dist/component-status.js +1 -1
  16. package/dist/{experimental-BqvlI_rl.js → experimental-BKF7swb0.js} +7 -7
  17. package/dist/experimental.d.ts +54 -16
  18. package/dist/experimental.js +100 -100
  19. package/dist/f0.d.ts +132 -10
  20. package/dist/f0.js +22 -21
  21. package/dist/i18n-provider-defaults.d.ts +12 -8
  22. package/dist/i18n-provider-defaults.js +4 -0
  23. package/dist/index-Bt9DLm3D.js +4 -0
  24. package/dist/{index-CqgzgxRb.js → index-BzA0lEl1.js} +2 -2
  25. package/dist/{index-C63g3BaC.js → index-C_LLYE_o.js} +3 -3
  26. package/dist/{index-DFjMggw2.js → index-Ca0rOdez.js} +3 -3
  27. package/dist/{index-DgYKKlh1.js → index-DlMbfdLc.js} +1 -1
  28. package/dist/{pdfWorker-BM17l5Gd.js → pdfWorker-CA3xmb-5.js} +2 -2
  29. package/package.json +1 -1
  30. package/dist/index-U6-zZZzn.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}}";
@@ -7141,6 +7185,14 @@ declare type EntitiesListItem = Record<string, unknown>;
7141
7185
  export declare type EntityRefs = {
7142
7186
  resolvers?: EntityResolvers;
7143
7187
  urls?: EntityUrlBuilders;
7188
+ /**
7189
+ * Entity types F0 does not know, keyed by the `type` attribute of
7190
+ * `<entity-ref>` (e.g. `allowance`, `timeoff_policy`). Built-in types
7191
+ * (`person`, `candidate`, …) keep their own renderers and are configured
7192
+ * through `resolvers` and `urls`; an entry here for one of them is ignored.
7193
+ * Types that are neither built in nor registered render as plain text.
7194
+ */
7195
+ custom?: Record<string, CustomEntityRefConfig>;
7144
7196
  };
7145
7197
 
7146
7198
  /**
@@ -7549,7 +7601,7 @@ export declare const F0AiChatProvider: ({ enabled, side, panelContentSide, initi
7549
7601
  * coupling to `useAiChat()` or CopilotKit — wrappers like F0AiChat
7550
7602
  * provide the wiring.
7551
7603
  */
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;
7604
+ 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
7605
 
7554
7606
  export declare type F0AiChatTextAreaProps = {
7555
7607
  ref: RefObject<HTMLDivElement>;
@@ -7600,8 +7652,20 @@ export declare type F0AiChatTextAreaProps = {
7600
7652
  * reviews and sends it manually). When omitted, the microphone is hidden.
7601
7653
  */
7602
7654
  onTranscribe?: TranscribeFn;
7603
- /** Async search used by the @-mention popover. When omitted, mentions are disabled. */
7655
+ /**
7656
+ * Async person search used by the @-mention popover. It becomes the built-in
7657
+ * `person` mention source, listed first unless `mentionSources` already has
7658
+ * a source of type `"person"`. When both this and `mentionSources` are
7659
+ * omitted, mentions are disabled.
7660
+ */
7604
7661
  searchPersons?: (query: string) => Promise<PersonProfile[]>;
7662
+ /**
7663
+ * Typed @-mention sources. Each source is a group in the popover and its
7664
+ * items are sent as `<entity-ref type="<item.type>" id="<item.id>">label</entity-ref>`.
7665
+ * Mentions are tracked by position, so two items with the same label keep
7666
+ * their own ids. Order the groups with `MentionSource.order`.
7667
+ */
7668
+ mentionSources?: MentionSource[];
7605
7669
  /**
7606
7670
  * Registers a callback that lets external drop zones forward dropped
7607
7671
  * files to this textarea's file-attachment pipeline. The textarea calls
@@ -16851,11 +16915,55 @@ export declare type MentionedUser = {
16851
16915
  href?: string;
16852
16916
  };
16853
16917
 
16918
+ /** One row of the @-mention popover, as a {@link MentionSource} returns it. */
16919
+ export declare type MentionItem = {
16920
+ /** Serialised as the `type` attribute of the `<entity-ref>` tag. */
16921
+ type: string;
16922
+ /** Serialised as the `id` attribute of the `<entity-ref>` tag. */
16923
+ id: string;
16924
+ /** Inserted after the `@` in the textarea and used as the tag's text. */
16925
+ label: string;
16926
+ /** Secondary line under the label (job title, unit · policy…). */
16927
+ description?: string;
16928
+ /** Leading slot of the row: a person's avatar, or an icon for most entities. */
16929
+ avatar?: AvatarVariant;
16930
+ };
16931
+
16854
16932
  export declare type MentionsConfig = {
16855
16933
  onMentionQueryStringChanged?: (queryString: string) => Promise<MentionedUser[]> | undefined;
16856
16934
  users: MentionedUser[];
16857
16935
  };
16858
16936
 
16937
+ /** What a source knows about the message when it is asked to search. */
16938
+ export declare type MentionSearchContext = {
16939
+ /** The full textarea text. */
16940
+ text: string;
16941
+ /** Cursor offset in `text`. */
16942
+ cursor: number;
16943
+ /** Completed mentions that end before the `@` being typed, in text order. */
16944
+ mentionsBefore: TrackedMention[];
16945
+ };
16946
+
16947
+ /**
16948
+ * A typed source of @-mention suggestions. Each source is one group in the
16949
+ * popover.
16950
+ */
16951
+ export declare type MentionSource = {
16952
+ /** Identifies the group. Usually the `type` of the items it returns. */
16953
+ type: string;
16954
+ /** Heading of the group, shown when more than one source is configured. */
16955
+ label: string;
16956
+ /** Returns the rows for `query` (the text between the `@` and the cursor). */
16957
+ search: (query: string, context: MentionSearchContext) => Promise<MentionItem[]>;
16958
+ /**
16959
+ * Where the group sits in the popover: groups sort ascending, `0` when
16960
+ * unset, ties keep the order of the `mentionSources` array. A function lets
16961
+ * a group move up for the message so far, e.g. counters first once a person
16962
+ * is mentioned. Enter and the arrow keys follow the displayed order.
16963
+ */
16964
+ order?: number | ((context: MentionSearchContext) => number);
16965
+ };
16966
+
16859
16967
  /**
16860
16968
  * Write counterpart of `resolveDataCollectionFilters`: returns a new storage
16861
16969
  * object with `filters` replaced, writing the SAME slot the resolver reads —
@@ -20730,6 +20838,20 @@ export declare interface TopLevelPrependNotesTextEditorPageDocumentPatch {
20730
20838
  blocks: JSONContent[];
20731
20839
  }
20732
20840
 
20841
+ /**
20842
+ * A mention the composer has recorded. It is anchored by the offset of its
20843
+ * `@`, not matched by label, so two mentions with the same label (two people
20844
+ * called "Ana García", or a person and a counter both called "Vacation") keep
20845
+ * their own ids.
20846
+ */
20847
+ export declare type TrackedMention = {
20848
+ type: string;
20849
+ id: string;
20850
+ label: string;
20851
+ /** Offset of the mention's `@` in the textarea text. */
20852
+ start: number;
20853
+ };
20854
+
20733
20855
  /**
20734
20856
  * Transcribes a recorded audio blob to text (voice dictation). The returned
20735
20857
  * promise resolves with the final transcript; `onPartial` delivers
@@ -22231,11 +22353,9 @@ declare module "@tiptap/core" {
22231
22353
 
22232
22354
  declare module "@tiptap/core" {
22233
22355
  interface Commands<ReturnType> {
22234
- enhanceHighlight: {
22235
- setEnhanceHighlight: (from: number, to: number, options?: {
22236
- placeholder?: string;
22237
- }) => ReturnType;
22238
- clearEnhanceHighlight: () => ReturnType;
22356
+ fontSize: {
22357
+ setFontSize: (fontSize: string) => ReturnType;
22358
+ unsetFontSize: () => ReturnType;
22239
22359
  };
22240
22360
  }
22241
22361
  }
@@ -22243,9 +22363,11 @@ declare module "@tiptap/core" {
22243
22363
 
22244
22364
  declare module "@tiptap/core" {
22245
22365
  interface Commands<ReturnType> {
22246
- fontSize: {
22247
- setFontSize: (fontSize: string) => ReturnType;
22248
- unsetFontSize: () => ReturnType;
22366
+ enhanceHighlight: {
22367
+ setEnhanceHighlight: (from: number, to: number, options?: {
22368
+ placeholder?: string;
22369
+ }) => ReturnType;
22370
+ clearEnhanceHighlight: () => ReturnType;
22249
22371
  };
22250
22372
  }
22251
22373
  }
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-BWGjNwSC.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-BWGjNwSC.js";
1
+ import { iv as DI, B as vt, eq as vx, cN as Hn, hJ as AI, ga as Z5, ab as Va, fG as j5, iw as K5, ix as MI, E as sr, cz as If, iy as RS, iz as Rr, iA as no, iB as Q5, iC as Mi, u as Be, ad as Ep, iD as nu, iE as J5, iF as EI, cl as yl, hF as T0, iG as eG, S as ae, G as px, iH as tG, iI as rG, iJ as OS, cS as nG, iK as iG, iL as aG, iM as LI, iN 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, gR as D0, dO as Ft, v as ut, aG as Rl, e7 as Ga, dh as gx, iO as uG, s as cG, t as BS, z as NI, w as Ol, aa as II, x as fG, eW as tv, en as PI, iP as dG, hI as zS, db as hG, iQ as VS, a4 as vG, iR as pG, cq as kI, ej as RI, gB as A0, hb as iu, hc as Of, hQ as gG, gz as OI, r as mG, av as M0, au as mx, he as BI, o as yG, gx as bG, iS as Lp, bw as yx, hs as _G, cx as zI, gi as xG, aV as wG, ip as bx, bz as VI, ct as SG, cu as CG, cv 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, gS as Fi, an as $I, j as AG, W as zr, eG as MG, bt as rv, aS as Bl, ck as Sx, bx as E0, cK as Yc, cH as EG, bi as Bf, ai as au, aH as UI, dF as YI, ds as XI, hm as Wr, iT as LG, iU as NG, iV as IG, iW as Cx, iX as PG, iY as kG, a3 as si, a1 as qI, a2 as ZI, m as RG, iZ as OG, cA as jI, eh as BG, ei as zG, ch as Sl, de as ou, et as su, fh as zf, cb as VG, er as FG, bV as GG, aK as KI, a9 as QI, aJ as HG, bn as FS, c7 as Xc, hO as WG, be as $G, i_ as UG, i$ as YG, j0 as XG, b as JI, dc as e2, cG as qG, bq as ZG, l as t2, aw as jG, at as KG, j1 as QG, j2 as JG, j3 as eH, hN as tH, af as r2, j4 as rH, cs as nH, d1 as iH, j5 as n2, j6 as aH, j7 as oH, I as sH, j8 as lH, j9 as uH, ja as cH, jb as fH } from "./F0CanvasPanel-BCZjxhVB.js";
2
+ import { jt as dme, C as hme, D as vme, dz as pme, c as gme, F as mme, a as yme, jl as bme, f as _me, cQ as xme, dA as wme, ev as Sme, cB as Cme, cC as Tme, q as Dme, cy as Ame, cP as Mme, dm as Eme, dN as Lme, g as Nme, cw as Ime, cm as Pme, jg as kme, jz as Rme, cj as Ome, e as Bme, ep as zme, k as Vme, jn as Fme, cR as Gme, jo as Hme, dL as Wme, jp as $me, jr as Ume, js as Yme, eZ as Xme, jv as qme, jw as Zme, eS as jme, eT as Kme, P as Qme, eX as Jme, jq as eye, eU as tye, ju as rye, jA as nye, jd as iye, je as aye, jf as oye, jc as sye, eV as lye, jy as uye, jm as cye, jj as fye, ji as dye, eY as hye, gN as vye, hz as pye, jx as gye, dC as mye, eR as yye, eO as bye, eQ as _ye, eM as xye, jk as wye, hu as Sye, hp as Cye, hf as Tye, jD as Dye, ez as Aye, eP as Mye, jC as Eye, ed as Lye, eN as Nye, cE as Iye, gM as Pye, hg as kye, eg as Rye, hP as Oye, dB as Bye, cF as zye, jh as Vye, hr as Fye, hq as Gye, jB as Hye } from "./F0CanvasPanel-BCZjxhVB.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-DC2FAppw.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-DC2FAppw.js";
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-C4K2ey4N.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-C4K2ey4N.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-BiPN02OV.js";
12
- import { F as obe } from "./F0VideoPlayer-BiPN02OV.js";
13
- import { F as lbe, p as ube } from "./index-DFjMggw2.js";
14
- import { c as fbe } from "./pdfWorker-BM17l5Gd.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-DT4-88F7.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-DT4-88F7.js";
11
+ import { l as N0, c as h2, d as iv, r as I0 } from "./F0VideoPlayer-EqXupZV9.js";
12
+ import { F as obe } from "./F0VideoPlayer-EqXupZV9.js";
13
+ import { F as lbe, p as ube } from "./index-Ca0rOdez.js";
14
+ import { c as fbe } from "./pdfWorker-CA3xmb-5.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-DxlgF3Pt.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-DxlgF3Pt.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}}";
@@ -1564,11 +1568,9 @@ declare module "@tiptap/core" {
1564
1568
 
1565
1569
  declare module "@tiptap/core" {
1566
1570
  interface Commands<ReturnType> {
1567
- enhanceHighlight: {
1568
- setEnhanceHighlight: (from: number, to: number, options?: {
1569
- placeholder?: string;
1570
- }) => ReturnType;
1571
- clearEnhanceHighlight: () => ReturnType;
1571
+ fontSize: {
1572
+ setFontSize: (fontSize: string) => ReturnType;
1573
+ unsetFontSize: () => ReturnType;
1572
1574
  };
1573
1575
  }
1574
1576
  }
@@ -1576,9 +1578,11 @@ declare module "@tiptap/core" {
1576
1578
 
1577
1579
  declare module "@tiptap/core" {
1578
1580
  interface Commands<ReturnType> {
1579
- fontSize: {
1580
- setFontSize: (fontSize: string) => ReturnType;
1581
- unsetFontSize: () => ReturnType;
1581
+ enhanceHighlight: {
1582
+ setEnhanceHighlight: (from: number, to: number, options?: {
1583
+ placeholder?: string;
1584
+ }) => ReturnType;
1585
+ clearEnhanceHighlight: () => ReturnType;
1582
1586
  };
1583
1587
  }
1584
1588
  }
@@ -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}}"
@@ -0,0 +1,4 @@
1
+ import { F as r } from "./F0VideoPlayer-EqXupZV9.js";
2
+ export {
3
+ r as F0VideoPlayer
4
+ };