@factorialco/f0-react 8.24.0 → 8.25.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 (31) hide show
  1. package/dist/{ChatPdfThumbnail-Hbw_WAU8.js → ChatPdfThumbnail-BP3BhC1t.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-tfRN0-3K.js → ChatPostComposerDialog-Dj2P0bnN.js} +19 -19
  3. package/dist/{DocumentToolbar-DX79oXzF.js → DocumentToolbar-DSrjm9Sk.js} +2 -2
  4. package/dist/{DocxViewer-BJRn9ROF.js → DocxViewer-DmH6PhfZ.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-B5WA3jJt.js → F0AiProcessingOverlay-Ci2nfhE-.js} +1 -1
  6. package/dist/{F0CanvasPanel-Rkf-f6ge.js → F0CanvasPanel-BVax--nb.js} +23988 -23446
  7. package/dist/{F0Map-Dzgjuq89.js → F0Map-CzUf3hPY.js} +4 -4
  8. package/dist/{F0VideoPlayer-BG_MSJyp.js → F0VideoPlayer-BwJozdrv.js} +2 -2
  9. package/dist/{MapProvider-DlazFyCh.js → MapProvider-CW-YsazY.js} +2 -2
  10. package/dist/{SheetViewer-CoayiGl_.js → SheetViewer-M_1YpAmn.js} +2 -2
  11. package/dist/{TextViewer-Dljx7q7Y.js → TextViewer-DHX-xQuE.js} +2 -2
  12. package/dist/ai.d.ts +32 -8
  13. package/dist/ai.js +2 -2
  14. package/dist/component-status.d.ts +31 -8
  15. package/dist/component-status.js +16 -16
  16. package/dist/{experimental-B5_SBbZo.js → experimental-C7pr9C-7.js} +14888 -17982
  17. package/dist/experimental.d.ts +40 -10
  18. package/dist/experimental.js +16 -16
  19. package/dist/f0.d.ts +32 -8
  20. package/dist/f0.js +10 -10
  21. package/dist/i18n-provider-defaults.d.ts +32 -8
  22. package/dist/i18n-provider-defaults.js +1 -0
  23. package/dist/{index-Bf7snjOt.js → index-BfdrCa05.js} +2 -2
  24. package/dist/index-Cw8x44pA.js +4 -0
  25. package/dist/{index-dsJVIYGM.js → index-DIFVX207.js} +3 -3
  26. package/dist/{index-BcDwQNGH.js → index-Ib6ZsExK.js} +3 -3
  27. package/dist/{index-C255Mt5f.js → index-cPheoSzU.js} +1 -1
  28. package/dist/{pdfWorker-V2aHzdYi.js → pdfWorker-Cix1s-5O.js} +2 -2
  29. package/dist/styles.css +1 -1
  30. package/package.json +2 -3
  31. package/dist/index-BoXRnsIw.js +0 -4
@@ -1430,7 +1430,7 @@ declare interface BaseChipProps extends VariantProps<typeof chipVariants> {
1430
1430
 
1431
1431
  declare type BaseColor = keyof typeof baseColors;
1432
1432
 
1433
- export declare const BaseCommunityPost: ({ id, author, group, createdAt, title, description, onClick, mediaUrl, event, counters, reactions, inLabel, comment, actions, dropdownItems, noReactionsButton, descriptionExpandable, noDescriptionClamp, hideTitle, hideGroup, pinned, pinnedLabel, relativeDate, }: CommunityPostProps) => JSX_2.Element;
1433
+ export declare const BaseCommunityPost: ({ id, author, group, createdAt, title, description, onClick, mediaUrl, event, counters, reactions, inLabel, comment, actions, dropdownItems, noReactionsButton, descriptionExpandable, noDescriptionClamp, hideTitle, hideGroup, pinned, pinnedLabel, relativeDate, noVideoPreload, reserveCountersLine, }: CommunityPostProps) => JSX_2.Element;
1434
1434
 
1435
1435
  /**
1436
1436
  * Base data adapter configuration for non-paginated collections
@@ -4159,7 +4159,7 @@ export declare type CommandRunContext = {
4159
4159
  setQuery: (query: string) => void;
4160
4160
  };
4161
4161
 
4162
- export declare const CommunityPost: (({ id, author, group, createdAt, title, description, onClick, mediaUrl, event, counters, reactions, inLabel, comment, actions, dropdownItems, noReactionsButton, descriptionExpandable, noDescriptionClamp, hideTitle, hideGroup, pinned, pinnedLabel, relativeDate, }: CommunityPostProps) => JSX_2.Element) & {
4162
+ export declare const CommunityPost: (({ id, author, group, createdAt, title, description, onClick, mediaUrl, event, counters, reactions, inLabel, comment, actions, dropdownItems, noReactionsButton, descriptionExpandable, noDescriptionClamp, hideTitle, hideGroup, pinned, pinnedLabel, relativeDate, noVideoPreload, reserveCountersLine, }: CommunityPostProps) => JSX_2.Element) & {
4163
4163
  Skeleton: ({ withEvent, withImage, }: CommunityPostSkeletonProps) => JSX_2.Element;
4164
4164
  };
4165
4165
 
@@ -4197,7 +4197,13 @@ export declare type CommunityPostProps = {
4197
4197
  onClick: () => void;
4198
4198
  };
4199
4199
  actions?: CommunityPostAction[];
4200
+ /** Sets `preload="none"` on a video: for lists that mount posts ahead of
4201
+ * the reader (a virtualized feed), where preloading would fetch unseen media. */
4200
4202
  noVideoPreload?: boolean;
4203
+ /** Keeps the counters line one line tall even while empty, so the first view
4204
+ * or comment doesn't grow a post already on screen (a virtualized feed
4205
+ * anchors on row heights). */
4206
+ reserveCountersLine?: boolean;
4201
4207
  /**
4202
4208
  * WHAT CLICKING THE POST DOES — and whether it does anything.
4203
4209
  *
@@ -6075,6 +6081,7 @@ declare const defaultTranslations: {
6075
6081
  readonly documentPreview: "Document preview";
6076
6082
  readonly videoPlayerLabel: "Video player: {{name}}";
6077
6083
  readonly loadingVideo: "Loading video: {{name}}";
6084
+ readonly previewUnavailable: "Can't preview this file";
6078
6085
  readonly photo: "Photo";
6079
6086
  readonly photoCount: {
6080
6087
  readonly one: "{{count}} photo";
@@ -21020,9 +21027,11 @@ declare module "@tiptap/core" {
21020
21027
 
21021
21028
  declare module "@tiptap/core" {
21022
21029
  interface Commands<ReturnType> {
21023
- fontSize: {
21024
- setFontSize: (fontSize: string) => ReturnType;
21025
- unsetFontSize: () => ReturnType;
21030
+ enhanceHighlight: {
21031
+ setEnhanceHighlight: (from: number, to: number, options?: {
21032
+ placeholder?: string;
21033
+ }) => ReturnType;
21034
+ clearEnhanceHighlight: () => ReturnType;
21026
21035
  };
21027
21036
  }
21028
21037
  }
@@ -21030,11 +21039,9 @@ declare module "@tiptap/core" {
21030
21039
 
21031
21040
  declare module "@tiptap/core" {
21032
21041
  interface Commands<ReturnType> {
21033
- enhanceHighlight: {
21034
- setEnhanceHighlight: (from: number, to: number, options?: {
21035
- placeholder?: string;
21036
- }) => ReturnType;
21037
- clearEnhanceHighlight: () => ReturnType;
21042
+ fontSize: {
21043
+ setFontSize: (fontSize: string) => ReturnType;
21044
+ unsetFontSize: () => ReturnType;
21038
21045
  };
21039
21046
  }
21040
21047
  }
@@ -21098,3 +21105,26 @@ declare namespace F0GraphCollapserWrapperInner {
21098
21105
  declare namespace F0GraphStackGroupWrapperInner {
21099
21106
  var displayName: string;
21100
21107
  }
21108
+
21109
+
21110
+ declare global {
21111
+ interface Window {
21112
+ __f0Jank?: JankProbe;
21113
+ }
21114
+ }
21115
+
21116
+
21117
+ declare global {
21118
+ interface Window {
21119
+ __f0ChatHarness?: JankHarnessApi;
21120
+ __f0JankInput?: JankRealInput;
21121
+ __f0JankLast?: JankReport;
21122
+ __f0JankState?: JankRunState;
21123
+ /** Set by the runner when recording video: draw the anchor lines. */
21124
+ __f0JankOverlay?: boolean;
21125
+ /** Set by the runner: serve images through a slow route. */
21126
+ __f0JankSlowImages?: boolean;
21127
+ /** Force hard assertions on the gates (also `?jankStrict` in the URL). */
21128
+ __f0JankStrict?: boolean;
21129
+ }
21130
+ }
@@ -1,10 +1,10 @@
1
- import { G as s, D as t, A as i, b as o, W as r, br as n, bq as l, bs as b, C as d, I as S, M as g, Y as c, by as u, bz as C, bI as m, K as F, J as P, bx as p, bJ as T, O as I, N as h, ad as M, c2 as E, c9 as f, X as A, c1 as L, E as R, d as D, g as y, v as B, ay as _, aB as v, az as k, aw as W, P as O, h as H, bn as N, F as x, aH as V, k as w, aM as G, aI as z, aJ as U, aK as K, p as X, r as Q, w as j, x as Y, aA as J, L as Z, bM as $, bN as q, bB as aa, aG as ea, bQ as sa, b$ as ta, bt as ia, a$ as oa, aL as ra, aZ as na, aY as la, aR as ba, a_ as da, ag as Sa, bL as ga, a2 as ca, ap as ua, U as Ca, T as ma, V as Fa, cd as Pa, a3 as pa, Z as Ta, _ as Ia, $ as ha, bu as Ma, R as Ea, bZ as fa, c3 as Aa, S as La, aj as Ra, ak as Da, a8 as ya, a9 as Ba, aa as _a, a7 as va, ab as ka, a4 as Wa, ac as Oa, ae as Ha, af as Na, ah as xa, ai as Va, al as wa, am as Ga, an as za, c7 as Ua, c6 as Ka, bp as Xa, bo as Qa, bw as ja, bK as Ya, bH as Ja, bv as Za, ao as $a, bC as qa, c8 as ae, cb as ee, bA as se, bF as te, bD as ie, cc as oe, bG as re, bE as ne, ca as le, e as be, l as de, b5 as Se, at as ge, av as ce, j as ue, aU as Ce, c5 as me, c4 as Fe, au as Pe, aq as pe, aC as Te, f as Ie, bi as he, bm as Me, bg as Ee, bh as fe, be as Ae, bf as Le, bj as Re, bk as De, bd as ye, n as Be, o as _e, bl as ve, bT as ke, bR as We, aF as Oe, aD as He, aE as Ne, b1 as xe, c0 as Ve, bS as we, y as Ge, z as ze, m as Ue, b8 as Ke, Q as Xe, B as Qe, b9 as je, q as Ye, bX as Je, b4 as Ze, t as $e, b3 as qe, ba as as, bP as es, bU as ss, ar as ts, bb as is, b_ as os, b0 as rs, b2 as ns, b6 as ls, b7 as bs, c as ds, ax as Ss, H as gs, i as cs, as as us, u as Cs, aN as ms, aO as Fs, aP as Ps, aQ as ps, bO as Ts, aV as Is, aW as hs, aS as Ms, aT as Es, a1 as fs, a0 as As, a6 as Ls, a5 as Rs, aX as Ds, bc as ys, bY as Bs, bW as _s, bV as vs } from "./experimental-B5_SBbZo.js";
2
- import { ec as Ws, eO as Os, eN as Hs, e_ as Ns, r as xs, eL as Vs, cH as ws, cl as Gs, cE as zs, eG as Us, cr as Ks, cr as Xs, co as Qs, eH as js, cK as Ys, es as Js, cL as Zs, f1 as $s, eM as qs, eW as at, eX as et, eb as st, e$ as tt, k as it, ed as ot, d5 as rt, eK as nt, dU as lt, eP as bt, T as dt, h as St, cp as gt, eY as ct, f2 as ut, eZ as Ct, f0 as mt, eV as Ft, eS as Pt, eU as pt, eQ as Tt, eI as It, eJ as ht, eC as Mt, eT as Et, eR as ft, dW as At } from "./F0CanvasPanel-Rkf-f6ge.js";
3
- import { aW as Rt, aX as Dt, aq as yt, ar as Bt, ao as _t, aB as vt, t as kt, as as Wt, b5 as Ot, ax as Ht, b4 as Nt, aA as xt, ap as Vt, aU as wt, aC as Gt, b7 as zt, b6 as Ut, aK as Kt, aL as Xt, aD as Qt, aP as jt, F as Yt, an as Jt, aR as Zt, aN as $t, aO as qt, aI as ai, aG as ei, bb as si, aH as ti, aS as ii, aT as oi, at as ri, b8 as ni, b9 as li, aJ as bi, aV as di, b1 as Si, Q as gi, b3 as ci, au as ui, bd as Ci, aw as mi, ay as Fi, aP as Pi, ba as pi, aQ as Ti, aM as Ii, bc as hi, av as Mi, W as Ei, az as fi, am as Ai, ak as Li, al as Ri, a_ as Di, a$ as yi, aY as Bi, be as _i, b2 as vi, aF as ki, aE as Wi, u as Oi, z as Hi, aZ as Ni, b0 as xi, a3 as Vi } from "./MapProvider-DlazFyCh.js";
4
- import { b as Gi, e as zi, i as Ui, g as Ki, h as Xi, a as Qi, R as ji, l as Yi, f as Ji, j as Zi, k as $i, u as qi } from "./F0Map-Dzgjuq89.js";
1
+ import { H as s, G as t, A as i, b as o, X as r, bs as n, br as l, bt as b, D as d, J as S, N as g, Z as c, bz as u, bA as C, bJ as m, L as F, K as P, by as p, bK as T, P as I, O as h, ae as M, c3 as E, ca as f, Y as A, c2 as L, E as D, d as R, g as y, w as B, az as _, aC as v, aA as k, ax as W, Q as O, h as H, bo as N, F as x, aI as V, k as w, aN as G, aJ as z, aK as U, aL as K, q as X, t as Q, x as j, y as Y, aB as J, M as Z, bN as $, bO as q, bC as aa, aH as ea, bR as sa, c0 as ta, bu as ia, b0 as oa, aM as ra, a_ as na, aZ as la, aS as ba, a$ as da, ah as Sa, bM as ga, a3 as ca, aq as ua, V as Ca, U as ma, W as Fa, ce as Pa, a4 as pa, _ as Ta, $ as Ia, a0 as ha, bv as Ma, R as Ea, b_ as fa, c4 as Aa, S as La, ak as Da, al as Ra, a9 as ya, aa as Ba, ab as _a, a8 as va, ac as ka, a5 as Wa, ad as Oa, af as Ha, ag as Na, ai as xa, aj as Va, am as wa, an as Ga, ao as za, c8 as Ua, c7 as Ka, bq as Xa, bp as Qa, bx as ja, bL as Ya, bI as Ja, bw as Za, ap as $a, bD as qa, c9 as ae, cc as ee, bB as se, bG as te, bE as ie, cd as oe, bH as re, bF as ne, cb as le, e as be, l as de, b6 as Se, au as ge, aw as ce, j as ue, aV as Ce, c6 as me, c5 as Fe, av as Pe, ar as pe, aD as Te, f as Ie, bj as he, bn as Me, bh as Ee, bi as fe, bf as Ae, bg as Le, bk as De, bl as Re, be as ye, o as Be, p as _e, bm as ve, bU as ke, bS as We, aG as Oe, aE as He, aF as Ne, b2 as xe, c1 as Ve, bT as we, z as Ge, B as ze, m as Ue, b9 as Ke, T as Xe, C as Qe, ba as je, r as Ye, bY as Je, b5 as Ze, v as $e, b4 as qe, bb as as, bQ as es, bV as ss, as as ts, bc as is, b$ as os, b1 as rs, b3 as ns, b7 as ls, b8 as bs, c as ds, ay as Ss, I as gs, i as cs, at as us, u as Cs, aO as ms, aP as Fs, aQ as Ps, aR as ps, bP as Ts, aW as Is, aX as hs, aT as Ms, aU as Es, a2 as fs, a1 as As, a7 as Ls, a6 as Ds, aY as Rs, bd as ys, bZ as Bs, bX as _s, bW as vs } from "./experimental-C7pr9C-7.js";
2
+ import { ec as Ws, eP as Os, eO as Hs, e$ as Ns, r as xs, eM as Vs, cH as ws, cl as Gs, cE as zs, eH as Us, cr as Ks, cr as Xs, co as Qs, eI as js, cK as Ys, es as Js, cL as Zs, f2 as $s, eN as qs, eX as at, eY as et, eb as st, f0 as tt, k as it, ed as ot, d5 as rt, eL as nt, dU as lt, eQ as bt, T as dt, h as St, cp as gt, eZ as ct, f3 as ut, e_ as Ct, f1 as mt, eW as Ft, eT as Pt, eV as pt, eR as Tt, eJ as It, eK as ht, eD as Mt, eU as Et, eS as ft, dW as At } from "./F0CanvasPanel-BVax--nb.js";
3
+ import { aW as Dt, aX as Rt, aq as yt, ar as Bt, ao as _t, aB as vt, t as kt, as as Wt, b5 as Ot, ax as Ht, b4 as Nt, aA as xt, ap as Vt, aU as wt, aC as Gt, b7 as zt, b6 as Ut, aK as Kt, aL as Xt, aD as Qt, aP as jt, F as Yt, an as Jt, aR as Zt, aN as $t, aO as qt, aI as ai, aG as ei, bb as si, aH as ti, aS as ii, aT as oi, at as ri, b8 as ni, b9 as li, aJ as bi, aV as di, b1 as Si, Q as gi, b3 as ci, au as ui, bd as Ci, aw as mi, ay as Fi, aP as Pi, ba as pi, aQ as Ti, aM as Ii, bc as hi, av as Mi, W as Ei, az as fi, am as Ai, ak as Li, al as Di, a_ as Ri, a$ as yi, aY as Bi, be as _i, b2 as vi, aF as ki, aE as Wi, u as Oi, z as Hi, aZ as Ni, b0 as xi, a3 as Vi } from "./MapProvider-CW-YsazY.js";
4
+ import { b as Gi, e as zi, i as Ui, g as Ki, h as Xi, a as Qi, R as ji, l as Yi, f as Ji, j as Zi, k as $i, u as qi } from "./F0Map-CzUf3hPY.js";
5
5
  export {
6
- Rt as AUTO_PER_PAGE_MAX,
7
- Dt as AUTO_PER_PAGE_MIN_RESERVED_ROWS,
6
+ Dt as AUTO_PER_PAGE_MAX,
7
+ Rt as AUTO_PER_PAGE_MIN_RESERVED_ROWS,
8
8
  s as ActivityItemList,
9
9
  t as ActivityItemListSkeleton,
10
10
  i as AiPromotionChat,
@@ -48,10 +48,10 @@ export {
48
48
  Nt as Dialog,
49
49
  Gs as Dropdown,
50
50
  L as EVENT_LIST_GAP,
51
- R as EntitySelect,
51
+ D as EntitySelect,
52
52
  xt as F0ActionBar,
53
53
  Vt as F0AiBanner,
54
- D as F0AiCallout,
54
+ R as F0AiCallout,
55
55
  zs as F0AvatarModule,
56
56
  Us as F0ButtonToggle,
57
57
  y as F0Callout,
@@ -159,11 +159,11 @@ export {
159
159
  fa as SLOT_ROW_BLEED,
160
160
  Aa as SLOT_SKELETON_ITEM_TESTID,
161
161
  La as ScrollArea,
162
- Ra as SearchBar,
162
+ Da as SearchBar,
163
163
  Ti as SectionHeader,
164
164
  it as Select,
165
165
  ot as Shortcut,
166
- Da as Sidebar,
166
+ Ra as Sidebar,
167
167
  ya as SidebarChatBlankState,
168
168
  Ba as SidebarChatItem,
169
169
  _a as SidebarChatItemSkeleton,
@@ -216,7 +216,7 @@ export {
216
216
  Se as buildTiles,
217
217
  Ai as buttonToggleColors,
218
218
  Li as buttonToggleSizes,
219
- Ri as buttonToggleVariants,
219
+ Di as buttonToggleVariants,
220
220
  Ct as chipVariants,
221
221
  ge as coachmarks,
222
222
  ce as commandActionRisks,
@@ -226,7 +226,7 @@ export {
226
226
  me as defaultSlotRenderers,
227
227
  Fe as defaultSlotSkeleton,
228
228
  Pe as defineStepByStepCoachmarkGuidance,
229
- Di as downloadAsCSV,
229
+ Ri as downloadAsCSV,
230
230
  pe as downloadAsExcel,
231
231
  Te as f0ChatSenderColors,
232
232
  Ie as f0EmojiPickerSizes,
@@ -239,8 +239,8 @@ export {
239
239
  fe as f0MeetingPermissions,
240
240
  Ae as f0MeetingPresences,
241
241
  Le as f0MeetingStatuses,
242
- Re as f0MeetingSurfaceDestinations,
243
- De as f0MeetingSurfaceModes,
242
+ De as f0MeetingSurfaceDestinations,
243
+ Re as f0MeetingSurfaceModes,
244
244
  ye as f0MeetingTrackKinds,
245
245
  Be as f0ProgressSeriesColors,
246
246
  _e as f0ProgressSeriesSizes,
@@ -315,8 +315,8 @@ export {
315
315
  At as useSidePanel,
316
316
  qi as useSidebar,
317
317
  Ls as useSidebarChatActions,
318
- Rs as useSidebarChats,
319
- Ds as useTrackBinding,
318
+ Ds as useSidebarChats,
319
+ Rs as useTrackBinding,
320
320
  Vi as useWidgetIsWide,
321
321
  ys as viewportRect,
322
322
  Bs as widgetChrome,
package/dist/f0.d.ts CHANGED
@@ -6016,6 +6016,7 @@ export declare const defaultTranslations: {
6016
6016
  readonly documentPreview: "Document preview";
6017
6017
  readonly videoPlayerLabel: "Video player: {{name}}";
6018
6018
  readonly loadingVideo: "Loading video: {{name}}";
6019
+ readonly previewUnavailable: "Can't preview this file";
6019
6020
  readonly photo: "Photo";
6020
6021
  readonly photoCount: {
6021
6022
  readonly one: "{{count}} photo";
@@ -22740,9 +22741,11 @@ declare module "@tiptap/core" {
22740
22741
 
22741
22742
  declare module "@tiptap/core" {
22742
22743
  interface Commands<ReturnType> {
22743
- fontSize: {
22744
- setFontSize: (fontSize: string) => ReturnType;
22745
- unsetFontSize: () => ReturnType;
22744
+ enhanceHighlight: {
22745
+ setEnhanceHighlight: (from: number, to: number, options?: {
22746
+ placeholder?: string;
22747
+ }) => ReturnType;
22748
+ clearEnhanceHighlight: () => ReturnType;
22746
22749
  };
22747
22750
  }
22748
22751
  }
@@ -22750,11 +22753,9 @@ declare module "@tiptap/core" {
22750
22753
 
22751
22754
  declare module "@tiptap/core" {
22752
22755
  interface Commands<ReturnType> {
22753
- enhanceHighlight: {
22754
- setEnhanceHighlight: (from: number, to: number, options?: {
22755
- placeholder?: string;
22756
- }) => ReturnType;
22757
- clearEnhanceHighlight: () => ReturnType;
22756
+ fontSize: {
22757
+ setFontSize: (fontSize: string) => ReturnType;
22758
+ unsetFontSize: () => ReturnType;
22758
22759
  };
22759
22760
  }
22760
22761
  }
@@ -22818,3 +22819,26 @@ declare namespace F0GraphCollapserWrapperInner {
22818
22819
  declare namespace F0GraphStackGroupWrapperInner {
22819
22820
  var displayName: string;
22820
22821
  }
22822
+
22823
+
22824
+ declare global {
22825
+ interface Window {
22826
+ __f0Jank?: JankProbe;
22827
+ }
22828
+ }
22829
+
22830
+
22831
+ declare global {
22832
+ interface Window {
22833
+ __f0ChatHarness?: JankHarnessApi;
22834
+ __f0JankInput?: JankRealInput;
22835
+ __f0JankLast?: JankReport;
22836
+ __f0JankState?: JankRunState;
22837
+ /** Set by the runner when recording video: draw the anchor lines. */
22838
+ __f0JankOverlay?: boolean;
22839
+ /** Set by the runner: serve images through a slow route. */
22840
+ __f0JankSlowImages?: boolean;
22841
+ /** Force hard assertions on the gates (also `?jankStrict` in the URL). */
22842
+ __f0JankStrict?: boolean;
22843
+ }
22844
+ }
package/dist/f0.js CHANGED
@@ -1,19 +1,19 @@
1
- import { iF as AI, E as yt, eu as vx, cR as Wn, hP as MI, ge as K5, ac as Va, fK as Q5, iG as J5, iH as EI, G as sr, cl as If, iI as RS, iJ as kr, iK as no, iL as eG, iM as Mi, u as Be, ae as Ep, iN as nu, iO as LI, iP as NI, cq as bl, hL as T0, iQ as tG, S as ae, H as px, iR as rG, iS as nG, iT as OS, cW as iG, iU as aG, iV as oG, iW as II, iX as sG, J as Pf, K as kf, y as lt, L as Rf, M as qr, a0 as lG, a1 as uG, N as Pl, O as kl, aZ as Fa, R as Rl, gV as D0, dS as Ft, v as ut, aH as Ol, gU as Ga, dm as gx, iY as cG, s as fG, t as BS, z as PI, w as Bl, ab as kI, x as dG, e_ as tv, eq as RI, iZ as hG, hO as zS, df as vG, i_ as VS, a5 as pG, i$ as gG, cv as OI, em as BI, gE as A0, hf as iu, hg as Of, hW as mG, gC as zI, r as yG, aw as M0, av as mx, hi as VI, gA as bG, j0 as Lp, by as yx, hy as _G, cC as FI, gm as xG, aW as wG, iA as bx, bB as GI, cy as SG, cz as CG, cA as TG, d as DG, c7 as HI, aJ as gs, cc as WI, bx as $I, aF as _x, ce as UI, a8 as xx, V as _l, W as xl, Y as wl, Z as Sl, gW as Fi, ao as YI, j as AG, X as Br, eK as MG, bv as rv, aT as zl, cp as Sx, bz as E0, cO as Yc, cL as EG, bk as Bf, aj as au, aI as XI, dJ as qI, dx as ZI, hs as Wr, j1 as LG, j2 as NG, j3 as IG, j4 as Cx, j5 as PG, j6 as kG, a4 as En, a2 as jI, a3 as KI, m as RG, j7 as OG, cE as QI, ek as BG, el as zG, cm as Cl, dj as ou, ex as su, fl as zf, cf as VG, ev as FG, bZ as GG, aL as JI, aa as e2, aK as HG, bp as FS, cb as Xc, hU as WG, bf as $G, j8 as UG, j9 as YG, ja as XG, b as t2, dg as r2, cK as qG, bs as ZG, l as n2, ax as jG, au as KG, jb as QG, jc as JG, jd as eH, hT as tH, ag as i2, je as rH, cx as nH, d5 as iH, jf as a2, jg as aH, jh as oH, I as sH, ji as lH, jj as uH, jk as cH, jl as fH } from "./F0CanvasPanel-Rkf-f6ge.js";
2
- import { jD as xme, C as wme, D as Sme, dD as Cme, c as Tme, F as Dme, a as Ame, jv as Mme, f as Eme, cU as Lme, dE as Nme, ey as Ime, cF as Pme, cG as kme, q as Rme, cD as Ome, cT as Bme, ds as zme, eG as Vme, g as Fme, cB as Gme, cr as Hme, jq as Wme, jJ as $me, co as Ume, e as Yme, es as Xme, k as qme, jx as Zme, cV as jme, jy as Kme, dP as Qme, jz as Jme, jB as eye, jC as tye, f1 as rye, jF as nye, jG as iye, eW as aye, eX as oye, P as sye, e$ as lye, jA as uye, eY as cye, jE as fye, jK as dye, jn as hye, jo as vye, jp as pye, jm as gye, eZ as mye, jI as yye, jw as bye, jt as _ye, js as xye, f0 as wye, gQ as Sye, hF as Cye, jH as Tye, dG as Dye, eV as Aye, eS as Mye, eU as Eye, eQ as Lye, ju as Nye, hA as Iye, hv as Pye, hj as kye, jN as Rye, eC as Oye, eT as Bye, jM as zye, eg as Vye, eR as Fye, cI as Gye, gP as Hye, hl as Wye, ej as $ye, hV as Uye, dF as Yye, cJ as Xye, jr as qye, hx as Zye, hw as jye, jL as Kye } from "./F0CanvasPanel-Rkf-f6ge.js";
1
+ import { iG as AI, E as yt, ew as vx, cR as Wn, hQ as MI, gf as K5, ac as Va, fL as Q5, iH as J5, iI as EI, G as sr, cl as If, iJ as RS, iK as kr, iL as no, iM as eG, iN as Mi, u as Be, ae as Ep, iO as nu, iP as LI, iQ as NI, cq as bl, hM as T0, iR as tG, S as ae, H as px, iS as rG, iT as nG, iU as OS, cW as iG, iV as aG, iW as oG, iX as II, iY as sG, J as Pf, K as kf, y as lt, L as Rf, M as qr, a0 as lG, a1 as uG, N as Pl, O as kl, aZ as Fa, R as Rl, gW as D0, dS as Ft, v as ut, aH as Ol, gV as Ga, dm as gx, iZ as cG, s as fG, t as BS, z as PI, w as Bl, ab as kI, x as dG, e$ as tv, eq as RI, i_ as hG, hP as zS, df as vG, i$ as VS, a5 as pG, j0 as gG, cv as OI, em as BI, gF as A0, hg as iu, hh as Of, hX as mG, gD as zI, r as yG, aw as M0, av as mx, hj as VI, gB as bG, j1 as Lp, by as yx, hz as _G, cC as FI, gn as xG, aW as wG, iB as bx, bB as GI, cy as SG, cz as CG, cA as TG, d as DG, c7 as HI, aJ as gs, cc as WI, bx as $I, aF as _x, ce as UI, a8 as xx, V as _l, W as xl, Y as wl, Z as Sl, gX as Fi, ao as YI, j as AG, X as Br, eL as MG, bv as rv, aT as zl, cp as Sx, bz as E0, cO as Yc, cL as EG, bk as Bf, aj as au, aI as XI, dJ as qI, dx as ZI, ht as Wr, j2 as LG, j3 as NG, j4 as IG, j5 as Cx, j6 as PG, j7 as kG, a4 as En, a2 as jI, a3 as KI, m as RG, j8 as OG, cE as QI, ek as BG, el as zG, cm as Cl, dj as ou, ez as su, fm as zf, cf as VG, ex as FG, bZ as GG, aL as JI, aa as e2, aK as HG, bp as FS, cb as Xc, hV as WG, bf as $G, j9 as UG, ja as YG, jb as XG, b as t2, dg as r2, cK as qG, bs as ZG, l as n2, ax as jG, au as KG, jc as QG, jd as JG, je as eH, hU as tH, ag as i2, jf as rH, cx as nH, d5 as iH, jg as a2, jh as aH, ji as oH, I as sH, jj as lH, jk as uH, jl as cH, jm as fH } from "./F0CanvasPanel-BVax--nb.js";
2
+ import { jE as xme, C as wme, D as Sme, dD as Cme, c as Tme, F as Dme, a as Ame, jw as Mme, f as Eme, cU as Lme, dE as Nme, eA as Ime, cF as Pme, cG as kme, q as Rme, cD as Ome, cT as Bme, ds as zme, eH as Vme, g as Fme, cB as Gme, cr as Hme, jr as Wme, jK as $me, co as Ume, e as Yme, es as Xme, k as qme, jy as Zme, cV as jme, jz as Kme, dP as Qme, jA as Jme, jC as eye, jD as tye, f2 as rye, jG as nye, jH as iye, eX as aye, eY as oye, P as sye, f0 as lye, jB as uye, eZ as cye, jF as fye, jL as dye, jo as hye, jp as vye, jq as pye, jn as gye, e_ as mye, jJ as yye, jx as bye, ju as _ye, jt as xye, f1 as wye, gR as Sye, hG as Cye, jI as Tye, dG as Dye, eW as Aye, eT as Mye, eV as Eye, eR as Lye, jv as Nye, hB as Iye, hw as Pye, hk as kye, jO as Rye, eD as Oye, eU as Bye, jN as zye, eg as Vye, eS as Fye, cI as Gye, gQ as Hye, hm as Wye, ej as $ye, hW as Uye, dF as Yye, cJ as Xye, js as qye, hy as Zye, hx as jye, jM as Kye } from "./F0CanvasPanel-BVax--nb.js";
3
3
  import { jsx as x, jsxs as B, Fragment as nt } from "react/jsx-runtime";
4
- import { t as dH, W as hH, a8 as vH, a9 as pH, aa as gH, ab as GS, bf as mH, bg as yH, ai as bH, ac as _H, ae as xH, ag as wH, ah as SH, O as CH, a as qc, an as o2, bh as TH, bi as DH, bj as AH, bk as MH, bl as EH, bm as s2, bn as LH, n as Tx, bo as io, bp as Ns, bq as l2, br as NH, bs as IH, bt as PH, bu as kH, bv as RH, bw as OH, bx as BH, by as zH, bz as VH, a6 as Dx, bA as Ax, aA as FH, bB as GH, bC as HH, bD as WH, bE as $H, aR as UH, b4 as YH, bF as XH, aK as qH, E as ZH, h as jH, x as Np, R as Mx, y as Ex, aP as u2, Q as Lx, bG as c2, bH as HS, U as Nx, ao as KH, bI as L0, V as QH, z as f2, aV as d2, K as JH, bJ as e3, bK as t3, bL as r3, bM as n3, p as i3, bN as Ng, bO as a3, bP as o3, bQ as s3, b5 as l3, bR as u3, M as c3 } from "./MapProvider-DlazFyCh.js";
5
- import { aq as Jye, ar as e0e, aB as t0e, as as r0e, ax as n0e, cc as i0e, cb as a0e, c5 as o0e, bU as s0e, bS as l0e, bT as u0e, bV as c0e, bW as f0e, bY as d0e, a7 as h0e, w as v0e, b7 as p0e, b6 as g0e, aL as m0e, F as y0e, aN as b0e, aO as _0e, aI as x0e, aG as w0e, bb as S0e, c0 as C0e, aH as T0e, at as D0e, cd as A0e, b8 as M0e, b9 as E0e, aJ as L0e, au as N0e, v as I0e, aw as P0e, ay as k0e, ba as R0e, aM as O0e, bc as B0e, av as z0e, az as V0e, cf as F0e, am as G0e, ak as H0e, al as W0e, c4 as $0e, o as U0e, o as Y0e, ca as X0e, b$ as q0e, b_ as Z0e, ce as j0e, b2 as K0e, c2 as Q0e, c3 as J0e, aF as ebe, aE as tbe, cg as rbe, ch as nbe, N as ibe, A as abe, c6 as obe, c7 as sbe, c8 as lbe, bX as ube, c1 as cbe, B as fbe, c9 as dbe, bZ as hbe, ci as vbe } from "./MapProvider-DlazFyCh.js";
4
+ import { t as dH, W as hH, a8 as vH, a9 as pH, aa as gH, ab as GS, bf as mH, bg as yH, ai as bH, ac as _H, ae as xH, ag as wH, ah as SH, O as CH, a as qc, an as o2, bh as TH, bi as DH, bj as AH, bk as MH, bl as EH, bm as s2, bn as LH, n as Tx, bo as io, bp as Ns, bq as l2, br as NH, bs as IH, bt as PH, bu as kH, bv as RH, bw as OH, bx as BH, by as zH, bz as VH, a6 as Dx, bA as Ax, aA as FH, bB as GH, bC as HH, bD as WH, bE as $H, aR as UH, b4 as YH, bF as XH, aK as qH, E as ZH, h as jH, x as Np, R as Mx, y as Ex, aP as u2, Q as Lx, bG as c2, bH as HS, U as Nx, ao as KH, bI as L0, V as QH, z as f2, aV as d2, K as JH, bJ as e3, bK as t3, bL as r3, bM as n3, p as i3, bN as Ng, bO as a3, bP as o3, bQ as s3, b5 as l3, bR as u3, M as c3 } from "./MapProvider-CW-YsazY.js";
5
+ import { aq as Jye, ar as e0e, aB as t0e, as as r0e, ax as n0e, cc as i0e, cb as a0e, c5 as o0e, bU as s0e, bS as l0e, bT as u0e, bV as c0e, bW as f0e, bY as d0e, a7 as h0e, w as v0e, b7 as p0e, b6 as g0e, aL as m0e, F as y0e, aN as b0e, aO as _0e, aI as x0e, aG as w0e, bb as S0e, c0 as C0e, aH as T0e, at as D0e, cd as A0e, b8 as M0e, b9 as E0e, aJ as L0e, au as N0e, v as I0e, aw as P0e, ay as k0e, ba as R0e, aM as O0e, bc as B0e, av as z0e, az as V0e, cf as F0e, am as G0e, ak as H0e, al as W0e, c4 as $0e, o as U0e, o as Y0e, ca as X0e, b$ as q0e, b_ as Z0e, ce as j0e, b2 as K0e, c2 as Q0e, c3 as J0e, aF as ebe, aE as tbe, cg as rbe, ch as nbe, N as ibe, A as abe, c6 as obe, c7 as sbe, c8 as lbe, bX as ube, c1 as cbe, B as fbe, c9 as dbe, bZ as hbe, ci as vbe } from "./MapProvider-CW-YsazY.js";
6
6
  import * as ge from "react";
7
7
  import f3, { forwardRef as Hr, useRef as ce, useImperativeHandle as h2, Children as nv, createContext as na, useContext as ia, useState as ve, useMemo as _e, useEffect as Te, useCallback as de, useLayoutEffect as as, isValidElement as v2, Fragment as lu, memo as Ix, useSyncExternalStore as Zc, useId as Tl, 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 ne, u as Ff, h as d3, i as fl, j as Gf, g as uu, k as h3, f as _n } from "./tooltip-CrXp1Uaz.js";
11
- import { l as N0, c as p2, d as iv, r as I0 } from "./F0VideoPlayer-BG_MSJyp.js";
12
- import { F as gbe } from "./F0VideoPlayer-BG_MSJyp.js";
13
- import { F as ybe, c as bbe, p as _be } from "./index-dsJVIYGM.js";
14
- import { c as wbe } from "./pdfWorker-V2aHzdYi.js";
15
- import { H as v3, I as av, J as kx, K as g2, L as p3, M as g3, N as m3, O as y3, P as b3, F as _3 } from "./F0AiProcessingOverlay-B5WA3jJt.js";
16
- import { A as Cbe, C as Tbe, t as Dbe, s as Abe, v as Mbe, y as Ebe, B as Lbe, l as Nbe, i as Ibe, q as Pbe, E as kbe, G as Rbe, p as Obe, r as Bbe, j as zbe, e as Vbe, g as Fbe, k as Gbe, T as Hbe, w as Wbe, h as $be, a as Ube, n as Ybe, z as Xbe, m as qbe, o as Zbe, D as jbe, b as Kbe, f as Qbe, x as Jbe, c as e_e, d as t_e, u as r_e } from "./F0AiProcessingOverlay-B5WA3jJt.js";
11
+ import { l as N0, c as p2, d as iv, r as I0 } from "./F0VideoPlayer-BwJozdrv.js";
12
+ import { F as gbe } from "./F0VideoPlayer-BwJozdrv.js";
13
+ import { F as ybe, c as bbe, p as _be } from "./index-DIFVX207.js";
14
+ import { c as wbe } from "./pdfWorker-Cix1s-5O.js";
15
+ import { H as v3, I as av, J as kx, K as g2, L as p3, M as g3, N as m3, O as y3, P as b3, F as _3 } from "./F0AiProcessingOverlay-Ci2nfhE-.js";
16
+ import { A as Cbe, C as Tbe, t as Dbe, s as Abe, v as Mbe, y as Ebe, B as Lbe, l as Nbe, i as Ibe, q as Pbe, E as kbe, G as Rbe, p as Obe, r as Bbe, j as zbe, e as Vbe, g as Fbe, k as Gbe, T as Hbe, w as Wbe, h as $be, a as Ube, n as Ybe, z as Xbe, m as qbe, o as Zbe, D as jbe, b as Kbe, f as Qbe, x as Jbe, c as e_e, d as t_e, u as r_e } from "./F0AiProcessingOverlay-Ci2nfhE-.js";
17
17
  import { utils as Dl, write as m2 } from "./xlsx-CzlURDDb.js";
18
18
  import { defaultTranslations as i_e } from "./i18n-provider-defaults.js";
19
19
  import './f0.css';const x3 = {
@@ -929,6 +929,7 @@ export declare const defaultTranslations: {
929
929
  readonly documentPreview: "Document preview";
930
930
  readonly videoPlayerLabel: "Video player: {{name}}";
931
931
  readonly loadingVideo: "Loading video: {{name}}";
932
+ readonly previewUnavailable: "Can't preview this file";
932
933
  readonly photo: "Photo";
933
934
  readonly photoCount: {
934
935
  readonly one: "{{count}} photo";
@@ -1599,9 +1600,11 @@ declare module "@tiptap/core" {
1599
1600
 
1600
1601
  declare module "@tiptap/core" {
1601
1602
  interface Commands<ReturnType> {
1602
- fontSize: {
1603
- setFontSize: (fontSize: string) => ReturnType;
1604
- unsetFontSize: () => ReturnType;
1603
+ enhanceHighlight: {
1604
+ setEnhanceHighlight: (from: number, to: number, options?: {
1605
+ placeholder?: string;
1606
+ }) => ReturnType;
1607
+ clearEnhanceHighlight: () => ReturnType;
1605
1608
  };
1606
1609
  }
1607
1610
  }
@@ -1609,11 +1612,9 @@ declare module "@tiptap/core" {
1609
1612
 
1610
1613
  declare module "@tiptap/core" {
1611
1614
  interface Commands<ReturnType> {
1612
- enhanceHighlight: {
1613
- setEnhanceHighlight: (from: number, to: number, options?: {
1614
- placeholder?: string;
1615
- }) => ReturnType;
1616
- clearEnhanceHighlight: () => ReturnType;
1615
+ fontSize: {
1616
+ setFontSize: (fontSize: string) => ReturnType;
1617
+ unsetFontSize: () => ReturnType;
1617
1618
  };
1618
1619
  }
1619
1620
  }
@@ -1677,3 +1678,26 @@ declare namespace F0GraphCollapserWrapperInner {
1677
1678
  declare namespace F0GraphStackGroupWrapperInner {
1678
1679
  var displayName: string;
1679
1680
  }
1681
+
1682
+
1683
+ declare global {
1684
+ interface Window {
1685
+ __f0Jank?: JankProbe;
1686
+ }
1687
+ }
1688
+
1689
+
1690
+ declare global {
1691
+ interface Window {
1692
+ __f0ChatHarness?: JankHarnessApi;
1693
+ __f0JankInput?: JankRealInput;
1694
+ __f0JankLast?: JankReport;
1695
+ __f0JankState?: JankRunState;
1696
+ /** Set by the runner when recording video: draw the anchor lines. */
1697
+ __f0JankOverlay?: boolean;
1698
+ /** Set by the runner: serve images through a slow route. */
1699
+ __f0JankSlowImages?: boolean;
1700
+ /** Force hard assertions on the gates (also `?jankStrict` in the URL). */
1701
+ __f0JankStrict?: boolean;
1702
+ }
1703
+ }
@@ -929,6 +929,7 @@ const e = {
929
929
  documentPreview: "Document preview",
930
930
  videoPlayerLabel: "Video player: {{name}}",
931
931
  loadingVideo: "Loading video: {{name}}",
932
+ previewUnavailable: "Can't preview this file",
932
933
  photo: "Photo",
933
934
  photoCount: {
934
935
  one: "{{count}} photo",