@factorialco/f0-react 6.93.1 → 6.95.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.
@@ -2,7 +2,7 @@ import { cP as Y_, cQ as m0, cR as z_, cS as H_, cT as O_, cU as J_, cV as Kh, c
2
2
  import { jsx as h, jsxs as te, Fragment as Fi } from "react/jsx-runtime";
3
3
  import Tt, { forwardRef as Di, useRef as De, useTransition as jx, useState as Ee, useLayoutEffect as Gn, useId as Ho, useContext as wg, createContext as Tn, useEffect as it, useCallback as Ne, useMemo as Dt, useImperativeHandle as Lx, Fragment as Rg, isValidElement as sm, cloneElement as n1, Suspense as Md, lazy as Rs, createElement as zc, memo as g1, Children as Im } from "react";
4
4
  import { d as Be, T as Xx, a as qx, b as $x, f as qi, c as eD, g as a1 } from "./tooltip-CMBdJvJA.js";
5
- import { C as tD, P as iD, c as Pd, n as o1, E as nD, a as gD, u as aD, b as r1, e as oD, f as rD, g as sD, h as ID, i as y0, M as CD, p as AD, j as s1, R as U0, k as I1, l as lD, m as cD, o as dD, q as uD, r as fD, t as C1, s as hD, O as A1, v as l1, F as mD, W as vs, A as pD, B as BD, L as FD, w as yD, V as UD, x as QD, y as wD, z as vD, D as Cm, S as bD, G as c1, H as d1, I as _D, J as kD, K as xD, N as DD, Q as SD, T as RD, U as MD, X as PD, Y as VD, Z as Q0, _ as GD, $ as ED } from "./CoachmarkProvider-BWN-lnib.js";
5
+ import { C as tD, P as iD, c as Pd, n as o1, E as nD, a as gD, u as aD, b as r1, e as oD, f as rD, g as sD, h as ID, i as y0, M as CD, p as AD, j as s1, R as U0, k as I1, l as lD, m as cD, o as dD, q as uD, r as fD, t as C1, s as hD, O as A1, v as l1, F as mD, W as vs, A as pD, B as BD, L as FD, w as yD, V as UD, x as QD, y as wD, z as vD, D as Cm, S as bD, G as c1, H as d1, I as _D, J as kD, K as xD, N as DD, Q as SD, T as RD, U as MD, X as PD, Y as VD, Z as Q0, _ as GD, $ as ED } from "./CoachmarkProvider-BGG9hfjn.js";
6
6
  import { g as TD } from "./_commonjsHelpers-ByX85dGu.js";
7
7
  import ND, { createPortal as gd } from "react-dom";
8
8
  import './experimental.css';const ZD = Y_("Search", [
@@ -37064,7 +37064,7 @@ const Zd = (a, I) => {
37064
37064
  ),
37065
37065
  children: a
37066
37066
  }
37067
- ), JV = () => import("./ChatPdfThumbnail-CPl0nss6.js"), jV = () => import("./ChatSheetThumbnail-D8aN1W_0.js"), LV = () => import("./ChatDocxThumbnail-D5hDwmp7.js"), XV = () => import("./ChatTextThumbnail-B53pSYUy.js"), qV = Rs(JV), $V = Rs(jV), eG = Rs(LV), tG = Rs(XV), iG = 384, nG = 160, gG = ({
37067
+ ), JV = () => import("./ChatPdfThumbnail--9H7ga1n.js"), jV = () => import("./ChatSheetThumbnail-D8aN1W_0.js"), LV = () => import("./ChatDocxThumbnail-D5hDwmp7.js"), XV = () => import("./ChatTextThumbnail-B53pSYUy.js"), qV = Rs(JV), $V = Rs(jV), eG = Rs(LV), tG = Rs(XV), iG = 384, nG = 160, gG = ({
37068
37068
  kind: a,
37069
37069
  url: I,
37070
37070
  width: u,
@@ -37258,7 +37258,7 @@ const Zd = (a, I) => {
37258
37258
  });
37259
37259
  U.observe(b), u.current = U;
37260
37260
  }, []), shouldMount: a };
37261
- }, Kd = "w-[24rem] max-w-full", rG = "w-[32rem] max-w-full", sG = "gap-0.5", IG = "pointer-events-none absolute inset-x-0 bottom-0 h-[46%] bg-[linear-gradient(to_top,rgba(0,0,0,0.5),rgba(0,0,0,0.18)_45%,transparent)]", CG = "bg-[hsl(222_31%_11%)]", AG = "bg-[hsl(220_39%_6%/0.72)]", lG = "bg-[hsl(220_39%_6%/0.6)]", cG = "bg-[hsl(220_39%_6%/0.55)]", dG = () => import("./LocationMap-BB6ejEpS.js"), uG = Rs(dG), fG = 3 / 2, hG = ({ latitude: a, longitude: I }) => `https://www.google.com/maps?q=${a},${I}`, sQ = ({
37261
+ }, Kd = "w-[24rem] max-w-full", rG = "w-[32rem] max-w-full", sG = "gap-0.5", IG = "pointer-events-none absolute inset-x-0 bottom-0 h-[46%] bg-[linear-gradient(to_top,rgba(0,0,0,0.5),rgba(0,0,0,0.18)_45%,transparent)]", CG = "bg-[hsl(222_31%_11%)]", AG = "bg-[hsl(220_39%_6%/0.72)]", lG = "bg-[hsl(220_39%_6%/0.6)]", cG = "bg-[hsl(220_39%_6%/0.55)]", dG = () => import("./LocationMap-CrIh64Xr.js"), uG = Rs(dG), fG = 3 / 2, hG = ({ latitude: a, longitude: I }) => `https://www.google.com/maps?q=${a},${I}`, sQ = ({
37262
37262
  location: a,
37263
37263
  cornerClass: I = "rounded-xl",
37264
37264
  surfaceClassName: u,
@@ -42793,7 +42793,7 @@ const m3 = {
42793
42793
  }
42794
42794
  ) }) });
42795
42795
  }, v3 = Rs(
42796
- () => import("./index-BO9XpVCw.js").then((a) => a.i).then((a) => ({
42796
+ () => import("./index-CBg77yy7.js").then((a) => a.i).then((a) => ({
42797
42797
  default: a.F0PdfViewer
42798
42798
  }))
42799
42799
  ), b3 = () => {
@@ -5280,6 +5280,13 @@ declare const defaultTranslations: {
5280
5280
  readonly upgradePlan: "Upgrade";
5281
5281
  readonly needMoreCredits: "Need more credits?";
5282
5282
  };
5283
+ readonly usageLimits: {
5284
+ readonly title: "Personal allowance";
5285
+ readonly used: "{{percentage}}% used";
5286
+ readonly yourCompany: "Your company";
5287
+ readonly unlimited: "Unlimited";
5288
+ readonly error: "Could not load usage";
5289
+ };
5283
5290
  readonly reportCard: {
5284
5291
  readonly tableLabel: "Table";
5285
5292
  readonly openButton: "Open";
@@ -13798,6 +13805,11 @@ declare type SelectCellConfig<R extends RecordType> = {
13798
13805
  clearable?: boolean;
13799
13806
  showSearchBox?: boolean;
13800
13807
  defaultItem?: (item: R) => F0SelectItemObject<string, RecordType> | undefined;
13808
+ /**
13809
+ * Buttons rendered below the options, for what a value cannot express —
13810
+ * dropping a scheduled change, say. Pass a function to decide them per row.
13811
+ */
13812
+ actions?: Action[] | ((item: R) => Action[] | undefined);
13801
13813
  } & ({
13802
13814
  options: F0SelectItemProps<string>[] | ((item: R) => F0SelectItemProps<string>[]);
13803
13815
  source?: never;
@@ -16568,9 +16580,11 @@ declare module "@tiptap/core" {
16568
16580
 
16569
16581
  declare module "@tiptap/core" {
16570
16582
  interface Commands<ReturnType> {
16571
- fontSize: {
16572
- setFontSize: (fontSize: string) => ReturnType;
16573
- unsetFontSize: () => ReturnType;
16583
+ enhanceHighlight: {
16584
+ setEnhanceHighlight: (from: number, to: number, options?: {
16585
+ placeholder?: string;
16586
+ }) => ReturnType;
16587
+ clearEnhanceHighlight: () => ReturnType;
16574
16588
  };
16575
16589
  }
16576
16590
  }
@@ -16578,11 +16592,9 @@ declare module "@tiptap/core" {
16578
16592
 
16579
16593
  declare module "@tiptap/core" {
16580
16594
  interface Commands<ReturnType> {
16581
- enhanceHighlight: {
16582
- setEnhanceHighlight: (from: number, to: number, options?: {
16583
- placeholder?: string;
16584
- }) => ReturnType;
16585
- clearEnhanceHighlight: () => ReturnType;
16595
+ fontSize: {
16596
+ setFontSize: (fontSize: string) => ReturnType;
16597
+ unsetFontSize: () => ReturnType;
16586
16598
  };
16587
16599
  }
16588
16600
  }
@@ -16610,8 +16622,10 @@ declare module "@tiptap/core" {
16610
16622
 
16611
16623
  declare module "@tiptap/core" {
16612
16624
  interface Commands<ReturnType> {
16613
- transcript: {
16614
- insertTranscript: (data: TranscriptData) => ReturnType;
16625
+ videoEmbed: {
16626
+ setVideoEmbed: (options: {
16627
+ src: string;
16628
+ }) => ReturnType;
16615
16629
  };
16616
16630
  }
16617
16631
  }
@@ -16619,10 +16633,8 @@ declare module "@tiptap/core" {
16619
16633
 
16620
16634
  declare module "@tiptap/core" {
16621
16635
  interface Commands<ReturnType> {
16622
- videoEmbed: {
16623
- setVideoEmbed: (options: {
16624
- src: string;
16625
- }) => ReturnType;
16636
+ transcript: {
16637
+ insertTranscript: (data: TranscriptData) => ReturnType;
16626
16638
  };
16627
16639
  }
16628
16640
  }
@@ -1,6 +1,6 @@
1
- import { v as s, t, A as i, a as o, J as r, av as n, au as l, aw as d, B as S, w as C, y as g, L as m, aC as u, aD as c, aM as b, x as h, C as P, aB as T, aN as p, D as F, z as I, a3 as E, b7 as A, be as B, K as L, b6 as y, E as D, b as k, i as W, ak as _, al as v, ai as f, G as O, ar as R, F as M, j as x, n as H, o as N, k as V, c as w, q as G, r as z, H as U, aQ as j, aR as q, aF as K, aq as X, aV as J, b4 as Q, ax as Y, a6 as Z, aP as $, U as aa, ac as ea, O as sa, bi as ta, V as ia, P as oa, M as ra, N as na, ay as la, R as da, b2 as Sa, b8 as Ca, S as ga, a7 as ma, a8 as ua, _ as ca, $ as ba, a0 as ha, Z as Pa, a1 as Ta, W as pa, a2 as Fa, a4 as Ia, a5 as Ea, a9 as Aa, aa as Ba, bc as La, bb as ya, at as Da, as as ka, aA as Wa, aO as _a, aL as va, az as fa, ab as Oa, aG as Ra, bd as Ma, bg as xa, aE as Ha, aJ as Na, aH as Va, bh as wa, aK as Ga, aI as za, bf as Ua, d as ja, af as qa, ah as Ka, ba as Xa, b9 as Ja, ag as Qa, an as Ya, f as Za, l as $a, p as ae, g as ee, h as se, aY as te, aW as ie, ao as oe, ap as re, aU as ne, b5 as le, aX as de, e as Se, s as Ce, b0 as ge, aT as me, aZ as ue, ad as ce, b3 as be, u as he, aj as Pe, ae as Te, am as pe, aS as Fe, T as Ie, Q as Ee, I as Ae, Y as Be, X as Le, b1 as ye, a$ as De, a_ as ke } from "./experimental-BSasmmWC.js";
1
+ import { v as s, t, A as i, a as o, J as r, av as n, au as l, aw as d, B as S, w as C, y as g, L as m, aC as u, aD as c, aM as b, x as h, C as P, aB as T, aN as p, D as F, z as I, a3 as E, b7 as A, be as B, K as L, b6 as y, E as D, b as k, i as W, ak as _, al as v, ai as f, G as O, ar as R, F as M, j as x, n as H, o as N, k as V, c as w, q as G, r as z, H as U, aQ as j, aR as q, aF as K, aq as X, aV as J, b4 as Q, ax as Y, a6 as Z, aP as $, U as aa, ac as ea, O as sa, bi as ta, V as ia, P as oa, M as ra, N as na, ay as la, R as da, b2 as Sa, b8 as Ca, S as ga, a7 as ma, a8 as ua, _ as ca, $ as ba, a0 as ha, Z as Pa, a1 as Ta, W as pa, a2 as Fa, a4 as Ia, a5 as Ea, a9 as Aa, aa as Ba, bc as La, bb as ya, at as Da, as as ka, aA as Wa, aO as _a, aL as va, az as fa, ab as Oa, aG as Ra, bd as Ma, bg as xa, aE as Ha, aJ as Na, aH as Va, bh as wa, aK as Ga, aI as za, bf as Ua, d as ja, af as qa, ah as Ka, ba as Xa, b9 as Ja, ag as Qa, an as Ya, f as Za, l as $a, p as ae, g as ee, h as se, aY as te, aW as ie, ao as oe, ap as re, aU as ne, b5 as le, aX as de, e as Se, s as Ce, b0 as ge, aT as me, aZ as ue, ad as ce, b3 as be, u as he, aj as Pe, ae as Te, am as pe, aS as Fe, T as Ie, Q as Ee, I as Ae, Y as Be, X as Le, b1 as ye, a$ as De, a_ as ke } from "./experimental-Cvo85WVw.js";
2
2
  import { dR as _e, er as ve, eq as fe, eE as Oe, dn as Re, eo as Me, cf as xe, c5 as He, cc as Ne, ej as Ve, b_ as we, b_ as Ge, bT as ze, ek as Ue, ci as je, e5 as qe, ck as Ke, eH as Xe, ep as Je, eA as Qe, eB as Ye, d7 as Ze, eF as $e, k as as, dS as es, cM as ss, en as ts, et as is, es as os, T as rs, h as ns, bU as ls, eC as ds, eI as Ss, eD as Cs, eG as gs, ez as ms, ew as us, ey as cs, eu as bs, el as hs, em as Ps, ef as Ts, ex as ps, ev as Fs } from "./F0CanvasPanel-CRfRDRcY.js";
3
- import { ay as Es, az as As, a6 as Bs, a7 as Ls, a4 as ys, ah as Ds, C as ks, a8 as Ws, aK as _s, ad as vs, aJ as fs, ag as Os, a5 as Rs, aw as Ms, aM as xs, aL as Hs, ao as Ns, ai as Vs, ar as ws, aP as Gs, a3 as zs, at as Us, aq as js, al as qs, aR as Ks, am as Xs, au as Js, av as Qs, a9 as Ys, aN as Zs, aO as $s, an as at, ax as et, aG as st, O as tt, aI as it, aa as ot, aT as rt, ac as nt, ae as lt, ar as dt, aQ as St, as as Ct, ap as gt, aS as mt, ab as ut, W as ct, af as bt, a2 as ht, a0 as Pt, a1 as Tt, aC as pt, aD as Ft, aA as It, aH as Et, ak as At, aj as Bt, aE as Lt, m as yt, aB as Dt, aF as kt, D as Wt } from "./CoachmarkProvider-BWN-lnib.js";
3
+ import { ay as Es, az as As, a6 as Bs, a7 as Ls, a4 as ys, ah as Ds, C as ks, a8 as Ws, aK as _s, ad as vs, aJ as fs, ag as Os, a5 as Rs, aw as Ms, aM as xs, aL as Hs, ao as Ns, ai as Vs, ar as ws, aP as Gs, a3 as zs, at as Us, aq as js, al as qs, aR as Ks, am as Xs, au as Js, av as Qs, a9 as Ys, aN as Zs, aO as $s, an as at, ax as et, aG as st, O as tt, aI as it, aa as ot, aT as rt, ac as nt, ae as lt, ar as dt, aQ as St, as as Ct, ap as gt, aS as mt, ab as ut, W as ct, af as bt, a2 as ht, a0 as Pt, a1 as Tt, aC as pt, aD as Ft, aA as It, aH as Et, ak as At, aj as Bt, aE as Lt, m as yt, aB as Dt, aF as kt, D as Wt } from "./CoachmarkProvider-BGG9hfjn.js";
4
4
  export {
5
5
  Es as AUTO_PER_PAGE_MAX,
6
6
  As as AUTO_PER_PAGE_MIN_RESERVED_ROWS,
package/dist/f0.d.ts CHANGED
@@ -982,6 +982,8 @@ declare interface AiChatState {
982
982
  tracking?: AiChatTrackingOptions;
983
983
  }
984
984
 
985
+ export declare type AiChatTextAreaUsageLimits = Pick<F0AiChatUsageLimitsButtonProps, "usage" | "error" | "onOpenChange">;
986
+
985
987
  export declare type AiChatTrackingOptions = {
986
988
  onVisibility?: () => void;
987
989
  onClose?: () => void;
@@ -1009,6 +1011,32 @@ export declare interface AiChatTranslationsProviderProps {
1009
1011
  translations: AiChatTranslations;
1010
1012
  }
1011
1013
 
1014
+ /**
1015
+ * Host-resolved numbers for `F0AiChatUsageLimitsButton`. Percentages only: the
1016
+ * product avoids credit counts in the chat.
1017
+ */
1018
+ export declare type AiChatUsageLimits = {
1019
+ /** The viewer's own allowance, 0–100. */
1020
+ usedPercentage: number;
1021
+ /** Already localized, e.g. "Resets in 3h 6m". */
1022
+ description?: string;
1023
+ unlimited?: boolean;
1024
+ /** Extra rows below a divider, typically for admins. */
1025
+ sections?: AiChatUsageLimitsSection[];
1026
+ /** Renders the "Your company" row. */
1027
+ onSeeCompany?: () => void;
1028
+ };
1029
+
1030
+ export declare type AiChatUsageLimitsSection = {
1031
+ id: string;
1032
+ /** Already localized. */
1033
+ label: string;
1034
+ /** Already localized, e.g. "Renews Sep 4". */
1035
+ description?: string;
1036
+ usedPercentage: number;
1037
+ unlimited?: boolean;
1038
+ };
1039
+
1012
1040
  export declare type AiInsightCardContent = {
1013
1041
  content: "text";
1014
1042
  } | {
@@ -1112,6 +1140,13 @@ export declare const aiTranslations: {
1112
1140
  readonly upgradePlan: "Upgrade";
1113
1141
  readonly needMoreCredits: "Need more credits?";
1114
1142
  };
1143
+ readonly usageLimits: {
1144
+ readonly title: "Personal allowance";
1145
+ readonly used: "{{percentage}}% used";
1146
+ readonly yourCompany: "Your company";
1147
+ readonly unlimited: "Unlimited";
1148
+ readonly error: "Could not load usage";
1149
+ };
1115
1150
  readonly reportCard: {
1116
1151
  readonly tableLabel: "Table";
1117
1152
  readonly openButton: "Open";
@@ -5463,6 +5498,13 @@ export declare const defaultTranslations: {
5463
5498
  readonly upgradePlan: "Upgrade";
5464
5499
  readonly needMoreCredits: "Need more credits?";
5465
5500
  };
5501
+ readonly usageLimits: {
5502
+ readonly title: "Personal allowance";
5503
+ readonly used: "{{percentage}}% used";
5504
+ readonly yourCompany: "Your company";
5505
+ readonly unlimited: "Unlimited";
5506
+ readonly error: "Could not load usage";
5507
+ };
5466
5508
  readonly reportCard: {
5467
5509
  readonly tableLabel: "Table";
5468
5510
  readonly openButton: "Open";
@@ -7174,7 +7216,7 @@ export declare const F0AiChatProvider: ({ enabled, side, panelContentSide, initi
7174
7216
  * coupling to `useAiChat()` or CopilotKit — wrappers like F0AiChat
7175
7217
  * provide the wiring.
7176
7218
  */
7177
- export declare const F0AiChatTextArea: ({ onSubmit, onStop, inProgress, onBeforeSubmit, placeholders, creditWarning, clarifyingUI, pendingContext, onPendingContextChange, pendingQuote, onPendingQuoteChange, fileAttachments, toolbarStart, onTranscribe, searchPersons, onProcessFilesRef, disclaimer, footer, isWelcomeScreen, fullscreen, welcomeScreenSuggestions, onSuggestionClick, welcomeScreenSuggestionsPlacement, welcomeScreenSuggestionsCollapsedByDefault, welcomeScreenCards, padding, ref, }: F0AiChatTextAreaProps) => JSX_2.Element;
7219
+ 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;
7178
7220
 
7179
7221
  export declare type F0AiChatTextAreaProps = {
7180
7222
  ref: RefObject<HTMLDivElement>;
@@ -7238,6 +7280,8 @@ export declare type F0AiChatTextAreaProps = {
7238
7280
  * the welcome screen of the fullscreen layout to give the footer room.
7239
7281
  */
7240
7282
  disclaimer?: AiChatDisclaimer;
7283
+ /** Usage ring at the right end of the disclaimer row; the text then aligns left. */
7284
+ usageLimits?: AiChatTextAreaUsageLimits;
7241
7285
  /**
7242
7286
  * Optional footer (e.g. powered-by, legal copy) rendered below the
7243
7287
  * textarea on the welcome screen.
@@ -7379,6 +7423,25 @@ export declare type F0AiChatTextAreaSubmitPayload = {
7379
7423
  quote: PendingQuote | null;
7380
7424
  };
7381
7425
 
7426
+ /**
7427
+ * Headless usage-limits popover with its ring trigger. `F0AiChatTextArea`
7428
+ * renders it from its `usageLimits` prop.
7429
+ */
7430
+ export declare const F0AiChatUsageLimitsButton: ({ usage, error, onOpenChange, trigger, side, }: F0AiChatUsageLimitsButtonProps) => JSX_2.Element;
7431
+
7432
+ export declare interface F0AiChatUsageLimitsButtonProps {
7433
+ /** `null` while loading: empty ring, skeleton in the popover. */
7434
+ usage: AiChatUsageLimits | null;
7435
+ /** Shows an error line instead of the rows. */
7436
+ error?: boolean;
7437
+ /** Hosts refetch on open. */
7438
+ onOpenChange?: (open: boolean) => void;
7439
+ /** Custom popover trigger (asChild). Defaults to the usage ring button. */
7440
+ trigger?: ReactNode;
7441
+ /** `"top"` suits the composer row; use `"bottom"` from a header. */
7442
+ side?: UsageLimitsPopoverSide;
7443
+ }
7444
+
7382
7445
  /**
7383
7446
  * A card shown below the composer on the fullscreen welcome screen, rendered
7384
7447
  * as an `F0CardHorizontal`. Each card owns its behavior via `onClick`, so
@@ -17875,6 +17938,11 @@ declare type SelectCellConfig<R extends RecordType> = {
17875
17938
  clearable?: boolean;
17876
17939
  showSearchBox?: boolean;
17877
17940
  defaultItem?: (item: R) => F0SelectItemObject<string, RecordType> | undefined;
17941
+ /**
17942
+ * Buttons rendered below the options, for what a value cannot express —
17943
+ * dropping a scheduled change, say. Pass a function to decide them per row.
17944
+ */
17945
+ actions?: Action_2[] | ((item: R) => Action_2[] | undefined);
17878
17946
  } & ({
17879
17947
  options: F0SelectItemProps<string>[] | ((item: R) => F0SelectItemProps<string>[]);
17880
17948
  source?: never;
@@ -19450,6 +19518,10 @@ declare interface UpsellRequestResponseDialogProps {
19450
19518
  portalContainer?: HTMLElement | null;
19451
19519
  }
19452
19520
 
19521
+ export declare type UsageLimitsPopoverSide = (typeof usageLimitsPopoverSides)[number];
19522
+
19523
+ export declare const usageLimitsPopoverSides: readonly ["top", "bottom"];
19524
+
19453
19525
  /**
19454
19526
  * Read the AiChat context. Returns an inert fallback when no provider
19455
19527
  * is mounted — that case is intentional in `ApplicationFrame`, which
@@ -20687,9 +20759,11 @@ declare module "@tiptap/core" {
20687
20759
 
20688
20760
  declare module "@tiptap/core" {
20689
20761
  interface Commands<ReturnType> {
20690
- fontSize: {
20691
- setFontSize: (fontSize: string) => ReturnType;
20692
- unsetFontSize: () => ReturnType;
20762
+ enhanceHighlight: {
20763
+ setEnhanceHighlight: (from: number, to: number, options?: {
20764
+ placeholder?: string;
20765
+ }) => ReturnType;
20766
+ clearEnhanceHighlight: () => ReturnType;
20693
20767
  };
20694
20768
  }
20695
20769
  }
@@ -20697,11 +20771,9 @@ declare module "@tiptap/core" {
20697
20771
 
20698
20772
  declare module "@tiptap/core" {
20699
20773
  interface Commands<ReturnType> {
20700
- enhanceHighlight: {
20701
- setEnhanceHighlight: (from: number, to: number, options?: {
20702
- placeholder?: string;
20703
- }) => ReturnType;
20704
- clearEnhanceHighlight: () => ReturnType;
20774
+ fontSize: {
20775
+ setFontSize: (fontSize: string) => ReturnType;
20776
+ unsetFontSize: () => ReturnType;
20705
20777
  };
20706
20778
  }
20707
20779
  }
@@ -20729,8 +20801,10 @@ declare module "@tiptap/core" {
20729
20801
 
20730
20802
  declare module "@tiptap/core" {
20731
20803
  interface Commands<ReturnType> {
20732
- transcript: {
20733
- insertTranscript: (data: TranscriptData) => ReturnType;
20804
+ videoEmbed: {
20805
+ setVideoEmbed: (options: {
20806
+ src: string;
20807
+ }) => ReturnType;
20734
20808
  };
20735
20809
  }
20736
20810
  }
@@ -20738,10 +20812,8 @@ declare module "@tiptap/core" {
20738
20812
 
20739
20813
  declare module "@tiptap/core" {
20740
20814
  interface Commands<ReturnType> {
20741
- videoEmbed: {
20742
- setVideoEmbed: (options: {
20743
- src: string;
20744
- }) => ReturnType;
20815
+ transcript: {
20816
+ insertTranscript: (data: TranscriptData) => ReturnType;
20745
20817
  };
20746
20818
  }
20747
20819
  }
package/dist/f0.js CHANGED
@@ -1,20 +1,20 @@
1
1
  import { i0 as xN, w as ct, e6 as I_, cu as gn, hq as wN, fV as nF, bZ as Nn, fp as iF, i1 as aF, i2 as SN, r as rr, c5 as yf, i3 as Hw, i4 as Nr, i5 as Qa, i6 as oF, u as ze, bX as cp, i7 as Ki, i8 as Kl, i9 as sF, ia as CN, bW as yl, hm as jy, ib as lF, S as ie, s as k_, ic as uF, id as cF, ie as Ww, cA as fF, ig as dF, ih as hF, ii as TN, ij as vF, t as bf, v as _f, m as ot, x as xf, y as $r, O as pF, Q as gF, z as es, A as ts, az as Pa, B as rs, gx as Ky, d5 as Ct, V as at, ah as El, d6 as Ra, db as DN, dj as P_, ik as mF, cn as yF, co as $w, n as AN, o as Nl, bY as Pc, cp as bF, eE as zh, e3 as MN, il as _F, hp as Uw, d8 as xF, im as Yw, de as wF, io as SF, c2 as LN, d$ as EN, gg as Qy, dn as CF, a7 as Jy, a6 as R_, gT as Ql, gU as wf, gW as NN, hw as TF, gv as IN, gu as DF, ip as fp, b5 as O_, h9 as AF, ca as kN, g1 as MF, aw as LF, hX as B_, b8 as PN, c6 as EF, c7 as NF, c8 as IF, d as kF, bD as RN, aj as hs, bJ as ON, b4 as BN, ag as z_, bL as zN, X as V_, G as bl, H as _l, K as xl, L as wl, gy as ki, $ as VN, j as PF, J as Pr, en as RF, b2 as Vh, au as Il, bU as F_, b6 as e0, cr as Rc, ck as OF, aU as Sf, as as Jl, ai as FN, dI as GN, dv as HN, h3 as Vr, iq as BF, ir as zF, is as VF, it as G_, iu as FF, iv as GF, cF as ti, R as WN, U as $N, cj as HF, iw as WF, cc as UN, dZ as $F, d_ as UF, bR as $o, dc as eu, e9 as tu, f0 as Cf, bM as YF, e7 as XF, bt as qF, al as YN, dh as ZF, ak as jF, aY as Xw, bH as Oc, hu as KF, aQ as QF, ix as JF, iy as e5, iz as t5, b as XN, e_ as H_, ci as r5, a$ as n5, l as qN, a8 as i5, a5, iA as o5, iB as s5, iC as l5, ht as u5, d1 as ZN, cM as c5, c4 as f5, iD as jN, iE as d5, iF as h5, I as v5, iG as p5, iH as g5, iI as m5, iJ as y5 } from "./F0CanvasPanel-CRfRDRcY.js";
2
2
  import { i_ as whe, C as She, D as Che, dC as The, c as Dhe, F as Ahe, a as Mhe, iT as Lhe, f as Ehe, cy as Nhe, dD as Ihe, eb as khe, cd as Phe, ce as Rhe, cw as Ohe, cb as Bhe, cx as zhe, dq as Vhe, ej as Fhe, g as Ghe, c9 as Hhe, b_ as Whe, iO as $he, j3 as Uhe, bT as Yhe, e as Xhe, e5 as qhe, k as Zhe, cz as jhe, iV as Khe, dM as Qhe, iW as Jhe, iY as eve, iZ as tve, eH as rve, j0 as nve, eA as ive, eB as ave, P as ove, eF as sve, iX as lve, eC as uve, i$ as cve, j4 as fve, iL as dve, iM as hve, iN as vve, iK as pve, eD as gve, j2 as mve, iU as yve, iR as bve, iQ as _ve, eG as xve, gs as wve, hg as Sve, j1 as Cve, dF as Tve, ez as Dve, ew as Ave, ey as Mve, eu as Lve, iS as Eve, hb as Nve, h6 as Ive, gX as kve, j7 as Pve, ef as Rve, ex as Ove, j6 as Bve, dV as zve, ev as Vve, cg as Fve, gr as Gve, gY as Hve, dY as Wve, hv as $ve, dE as Uve, ch as Yve, iP as Xve, h8 as qve, h7 as Zve, j5 as jve } from "./F0CanvasPanel-CRfRDRcY.js";
3
3
  import { jsx as x, jsxs as B, Fragment as tt } from "react/jsx-runtime";
4
- import { C as b5, W as _5, I as x5, J as w5, K as S5, N as qw, aU as C5, aV as T5, _ as D5, Q as A5, U as M5, Y as L5, Z as E5, s as N5, a3 as KN, aW as I5, aX as k5, aY as P5, aZ as R5, a_ as O5, a$ as QN, b0 as B5, n as W_, b1 as Ja, b2 as Ls, b3 as z5, G as $_, b4 as U_, ag as V5, b5 as F5, b6 as JN, b7 as G5, b8 as H5, b9 as W5, ba as $5, bb as U5, bc as Y5, at as X5, aJ as q5, bd as Z5, ao as j5, E as K5, a as Q5, k as dp, R as Y_, l as X_, ar as eI, O as q_, be as tI, bf as Zw, bg as Z_, a4 as J5, bh as jw, F as eG, m as rI, ax as nI, bi as tG, bj as rG, bk as nG, bl as Es, bm as iG, aK as aG, M as oG } from "./CoachmarkProvider-BWN-lnib.js";
5
- import { a6 as Qve, a7 as Jve, ah as epe, a8 as tpe, ad as rpe, bI as npe, bH as ipe, bA as ape, bo as ope, bn as spe, bp as lpe, bq as upe, bs as cpe, H as fpe, aM as dpe, aL as hpe, aP as vpe, aq as ppe, al as gpe, aR as mpe, am as ype, a9 as bpe, bJ as _pe, aN as xpe, aO as wpe, an as Spe, aa as Cpe, P as Tpe, ac as Dpe, ae as Ape, aQ as Mpe, ap as Lpe, aS as Epe, ab as Npe, af as Ipe, bL as kpe, a2 as Ppe, a0 as Rpe, a1 as Ope, bz as Bpe, bF as zpe, bF as Vpe, bG as Fpe, bv as Gpe, bu as Hpe, bK as Wpe, aH as $pe, bx as Upe, by as Ype, ak as Xpe, aj as qpe, bM as Zpe, bN as jpe, t as Kpe, o as Qpe, bB as Jpe, bC as ege, bD as tge, br as rge, bw as nge, q as ige, bE as age, bt as oge, bO as sge } from "./CoachmarkProvider-BWN-lnib.js";
4
+ import { C as b5, W as _5, I as x5, J as w5, K as S5, N as qw, aU as C5, aV as T5, _ as D5, Q as A5, U as M5, Y as L5, Z as E5, s as N5, a3 as KN, aW as I5, aX as k5, aY as P5, aZ as R5, a_ as O5, a$ as QN, b0 as B5, n as W_, b1 as Ja, b2 as Ls, b3 as z5, G as $_, b4 as U_, ag as V5, b5 as F5, b6 as JN, b7 as G5, b8 as H5, b9 as W5, ba as $5, bb as U5, bc as Y5, at as X5, aJ as q5, bd as Z5, ao as j5, E as K5, a as Q5, k as dp, R as Y_, l as X_, ar as eI, O as q_, be as tI, bf as Zw, bg as Z_, a4 as J5, bh as jw, F as eG, m as rI, ax as nI, bi as tG, bj as rG, bk as nG, bl as Es, bm as iG, aK as aG, M as oG } from "./CoachmarkProvider-BGG9hfjn.js";
5
+ import { a6 as Qve, a7 as Jve, ah as epe, a8 as tpe, ad as rpe, bI as npe, bH as ipe, bA as ape, bo as ope, bn as spe, bp as lpe, bq as upe, bs as cpe, H as fpe, aM as dpe, aL as hpe, aP as vpe, aq as ppe, al as gpe, aR as mpe, am as ype, a9 as bpe, bJ as _pe, aN as xpe, aO as wpe, an as Spe, aa as Cpe, P as Tpe, ac as Dpe, ae as Ape, aQ as Mpe, ap as Lpe, aS as Epe, ab as Npe, af as Ipe, bL as kpe, a2 as Ppe, a0 as Rpe, a1 as Ope, bz as Bpe, bF as zpe, bF as Vpe, bG as Fpe, bv as Gpe, bu as Hpe, bK as Wpe, aH as $pe, bx as Upe, by as Ype, ak as Xpe, aj as qpe, bM as Zpe, bN as jpe, t as Kpe, o as Qpe, bB as Jpe, bC as ege, bD as tge, br as rge, bw as nge, q as ige, bE as age, bt as oge, bO as sge } from "./CoachmarkProvider-BGG9hfjn.js";
6
6
  import * as Tt from "react";
7
7
  import sG, { forwardRef as Mr, useRef as ae, useImperativeHandle as lG, Children as Fh, createContext as $a, useContext as Ua, useState as le, useMemo as me, useEffect as be, useCallback as de, useLayoutEffect as Bc, isValidElement as iI, Fragment as ru, memo as j_, useSyncExternalStore as kl, useId as Sl } from "react";
8
8
  import { createPortal as Tf } from "react-dom";
9
9
  import { d as oe, g as Df, h as uG, i as cl, P as Af, u as nu, j as cG, f as Qi } from "./tooltip-CMBdJvJA.js";
10
10
  import { l as t0, c as aI, d as Gh, r as r0 } from "./F0VideoPlayer-YejLcqsl.js";
11
11
  import { F as uge } from "./F0VideoPlayer-YejLcqsl.js";
12
- import { F as fge, p as dge } from "./index-BO9XpVCw.js";
13
- import { c as vge } from "./pdfWorker-BlHUxQSr.js";
14
- import { D as fG, E as Hh, G as K_, H as oI, I as dG, J as hG, K as vG, L as pG, M as gG, F as mG } from "./F0AiProcessingOverlay-CnPJe6l9.js";
15
- import { A as gge, C as mge, t as yge, s as bge, v as _ge, y as xge, l as wge, i as Sge, q as Cge, z as Tge, B as Dge, p as Age, r as Mge, j as Lge, e as Ege, g as Nge, k as Ige, T as kge, w as Pge, h as Rge, a as Oge, n as Bge, m as zge, o as Vge, b as Fge, f as Gge, x as Hge, c as Wge, d as $ge, u as Uge } from "./F0AiProcessingOverlay-CnPJe6l9.js";
12
+ import { F as fge, p as dge } from "./index-CBg77yy7.js";
13
+ import { c as vge } from "./pdfWorker-DP34_8_v.js";
14
+ import { G as fG, H as Hh, I as K_, J as oI, K as dG, L as hG, M as vG, N as pG, O as gG, F as mG } from "./F0AiProcessingOverlay-D6Y6MLaK.js";
15
+ import { A as gge, C as mge, t as yge, s as bge, v as _ge, y as xge, z as wge, l as Sge, i as Cge, q as Tge, D as Dge, E as Age, p as Mge, r as Lge, j as Ege, e as Nge, g as Ige, k as kge, T as Pge, w as Rge, h as Oge, a as Bge, n as zge, m as Vge, o as Fge, B as Gge, b as Hge, f as Wge, x as $ge, c as Uge, d as Yge, u as Xge } from "./F0AiProcessingOverlay-D6Y6MLaK.js";
16
16
  import { utils as Cl, write as sI } from "./xlsx-CzlURDDb.js";
17
- import { defaultTranslations as Xge } from "./i18n-provider-defaults.js";
17
+ import { defaultTranslations as Zge } from "./i18n-provider-defaults.js";
18
18
  import './f0.css';const yG = {
19
19
  xs: 1,
20
20
  sm: 2,
@@ -67888,20 +67888,21 @@ export {
67888
67888
  _ge as F0AiChatHistory,
67889
67889
  Mhe as F0AiChatProvider,
67890
67890
  xge as F0AiChatTextArea,
67891
+ wge as F0AiChatUsageLimitsButton,
67891
67892
  Lhe as F0AiFormRegistryProvider,
67892
- wge as F0AiInsightCard,
67893
- Sge as F0AiMask,
67894
- Cge as F0AiMessageSources,
67895
- Tge as F0AiMessagesContainer,
67893
+ Sge as F0AiInsightCard,
67894
+ Cge as F0AiMask,
67895
+ Tge as F0AiMessageSources,
67896
+ Dge as F0AiMessagesContainer,
67896
67897
  Ehe as F0AiPong,
67897
- Dge as F0AiProcessingOverlay,
67898
- Age as F0AiProposalCard,
67899
- Mge as F0AiTableCard,
67898
+ Age as F0AiProcessingOverlay,
67899
+ Mge as F0AiProposalCard,
67900
+ Lge as F0AiTableCard,
67900
67901
  ope as F0Alert,
67901
67902
  ghe as F0AnalyticsDashboard,
67902
67903
  Ode as F0AudioPlayer,
67903
67904
  Bde as F0AudioPlayerCard,
67904
- Lge as F0AuraVoiceAnimation,
67905
+ Ege as F0AuraVoiceAnimation,
67905
67906
  ZF as F0Avatar,
67906
67907
  LN as F0AvatarAlert,
67907
67908
  Nhe as F0AvatarCompany,
@@ -67919,13 +67920,13 @@ export {
67919
67920
  ot as F0Button,
67920
67921
  Vhe as F0ButtonDropdown,
67921
67922
  Fhe as F0ButtonToggle,
67922
- Ege as F0CanvasCard,
67923
+ Nge as F0CanvasCard,
67923
67924
  Ghe as F0CanvasPanel,
67924
67925
  Hhe as F0Card,
67925
67926
  Whe as F0CardRow,
67926
67927
  Rc as F0Checkbox,
67927
67928
  Gde as F0ChipList,
67928
- Nge as F0ClarifyingPanel,
67929
+ Ige as F0ClarifyingPanel,
67929
67930
  Mse as F0DataChart,
67930
67931
  spe as F0DatePicker,
67931
67932
  fhe as F0DemoCard,
@@ -67943,7 +67944,7 @@ export {
67943
67944
  fpe as F0Form,
67944
67945
  yr as F0FormField,
67945
67946
  rhe as F0GridStack,
67946
- Ige as F0HILActionConfirmation,
67947
+ kge as F0HILActionConfirmation,
67947
67948
  jde as F0Heading,
67948
67949
  at as F0Icon,
67949
67950
  f5 as F0Link,
@@ -68022,8 +68023,8 @@ export {
68022
68023
  the as Tag,
68023
68024
  lve as TagCounter,
68024
68025
  Lpe as Textarea,
68025
- kge as ThreadItem,
68026
- Pge as ThreadListSkeleton,
68026
+ Pge as ThreadItem,
68027
+ Rge as ThreadListSkeleton,
68027
68028
  ude as ToastProvider,
68028
68029
  Mde as TwoColumnLayout,
68029
68030
  Epe as UPLOAD_INPUT_ID,
@@ -68035,9 +68036,9 @@ export {
68035
68036
  Npe as VerticalBarChart,
68036
68037
  uve as WeekStartDay,
68037
68038
  Ipe as actionBarStatuses,
68038
- Rge as actionItemStatuses,
68039
+ Oge as actionItemStatuses,
68039
68040
  cve as adaptDataAdapterToInfiniteScroll,
68040
- Oge as aiTranslations,
68041
+ Bge as aiTranslations,
68041
68042
  $de as alertVariantOptions,
68042
68043
  Rde as audioPlayerSizes,
68043
68044
  Cde as avatarVariants,
@@ -68059,7 +68060,7 @@ export {
68059
68060
  gve as chipVariants,
68060
68061
  Que as computeSectionEndIds,
68061
68062
  vge as configurePdfWorker,
68062
- Bge as contentTypes,
68063
+ zge as contentTypes,
68063
68064
  Bpe as createAtlaskitDriver,
68064
68065
  mve as createDataSourceDefinition,
68065
68066
  qde as createF0FormDefinitionTester,
@@ -68068,7 +68069,7 @@ export {
68068
68069
  VG as createPageLayoutBlockGroup,
68069
68070
  Hde as dataCollectionLocalStorageHandler,
68070
68071
  Wde as datepickerSizes,
68071
- Xge as defaultTranslations,
68072
+ Zge as defaultTranslations,
68072
68073
  yve as defineAvailableForm,
68073
68074
  Ole as describeFormSchema,
68074
68075
  zpe as dialog,
@@ -68102,10 +68103,10 @@ export {
68102
68103
  Ive as isPageBasedPagination,
68103
68104
  kve as isZodType,
68104
68105
  zde as linkVariants,
68105
- zge as markdownRenderers,
68106
+ Vge as markdownRenderers,
68106
68107
  Pve as mergeDataCollectionFilters,
68107
68108
  Rve as modules,
68108
- Vge as oneIconSizes,
68109
+ Fge as oneIconSizes,
68109
68110
  Wpe as parseDataCollectionUrlParams,
68110
68111
  dge as pdfScales,
68111
68112
  $pe as predefinedPresets,
@@ -68127,11 +68128,12 @@ export {
68127
68128
  Jde as timelineRowStatuses,
68128
68129
  Kpe as toasts,
68129
68130
  Hve as unwrapZodSchema,
68131
+ Gge as usageLimitsPopoverSides,
68130
68132
  XN as useAiChat,
68131
- Fge as useAiChatTranslations,
68133
+ Hge as useAiChatTranslations,
68132
68134
  N5 as useAudioPlayer,
68133
- Gge as useCanvasEntity,
68134
- Hge as useChatHistory,
68135
+ Wge as useCanvasEntity,
68136
+ $ge as useChatHistory,
68135
68137
  Wve as useData,
68136
68138
  $ve as useDataSource,
68137
68139
  Qpe as useDataSourceItemNavigation,
@@ -68145,7 +68147,7 @@ export {
68145
68147
  rge as useF0DialogAlikeContext,
68146
68148
  $_ as useF0Form,
68147
68149
  nge as useF0FormDefinition,
68148
- Wge as useFormCardValueFormatter,
68150
+ Uge as useFormCardValueFormatter,
68149
68151
  yhe as useFormComponent,
68150
68152
  qve as useGroups,
68151
68153
  mhe as useIsDesktop,
@@ -68155,8 +68157,8 @@ export {
68155
68157
  cp as useReducedMotion,
68156
68158
  oge as useSchemaDefinition,
68157
68159
  Zve as useSelectable,
68158
- $ge as useSetFormCardValueFormatter,
68159
- Uge as useToolCallId,
68160
+ Yge as useSetFormCardValueFormatter,
68161
+ Xge as useToolCallId,
68160
68162
  jve as useXRay,
68161
68163
  ct as withDataTestId,
68162
68164
  sge as writeDataCollectionStorage
@@ -690,6 +690,13 @@ export declare const defaultTranslations: {
690
690
  readonly upgradePlan: "Upgrade";
691
691
  readonly needMoreCredits: "Need more credits?";
692
692
  };
693
+ readonly usageLimits: {
694
+ readonly title: "Personal allowance";
695
+ readonly used: "{{percentage}}% used";
696
+ readonly yourCompany: "Your company";
697
+ readonly unlimited: "Unlimited";
698
+ readonly error: "Could not load usage";
699
+ };
693
700
  readonly reportCard: {
694
701
  readonly tableLabel: "Table";
695
702
  readonly openButton: "Open";
@@ -1360,9 +1367,11 @@ declare module "@tiptap/core" {
1360
1367
 
1361
1368
  declare module "@tiptap/core" {
1362
1369
  interface Commands<ReturnType> {
1363
- fontSize: {
1364
- setFontSize: (fontSize: string) => ReturnType;
1365
- unsetFontSize: () => ReturnType;
1370
+ enhanceHighlight: {
1371
+ setEnhanceHighlight: (from: number, to: number, options?: {
1372
+ placeholder?: string;
1373
+ }) => ReturnType;
1374
+ clearEnhanceHighlight: () => ReturnType;
1366
1375
  };
1367
1376
  }
1368
1377
  }
@@ -1370,11 +1379,9 @@ declare module "@tiptap/core" {
1370
1379
 
1371
1380
  declare module "@tiptap/core" {
1372
1381
  interface Commands<ReturnType> {
1373
- enhanceHighlight: {
1374
- setEnhanceHighlight: (from: number, to: number, options?: {
1375
- placeholder?: string;
1376
- }) => ReturnType;
1377
- clearEnhanceHighlight: () => ReturnType;
1382
+ fontSize: {
1383
+ setFontSize: (fontSize: string) => ReturnType;
1384
+ unsetFontSize: () => ReturnType;
1378
1385
  };
1379
1386
  }
1380
1387
  }
@@ -1402,8 +1409,10 @@ declare module "@tiptap/core" {
1402
1409
 
1403
1410
  declare module "@tiptap/core" {
1404
1411
  interface Commands<ReturnType> {
1405
- transcript: {
1406
- insertTranscript: (data: TranscriptData) => ReturnType;
1412
+ videoEmbed: {
1413
+ setVideoEmbed: (options: {
1414
+ src: string;
1415
+ }) => ReturnType;
1407
1416
  };
1408
1417
  }
1409
1418
  }
@@ -1411,10 +1420,8 @@ declare module "@tiptap/core" {
1411
1420
 
1412
1421
  declare module "@tiptap/core" {
1413
1422
  interface Commands<ReturnType> {
1414
- videoEmbed: {
1415
- setVideoEmbed: (options: {
1416
- src: string;
1417
- }) => ReturnType;
1423
+ transcript: {
1424
+ insertTranscript: (data: TranscriptData) => ReturnType;
1418
1425
  };
1419
1426
  }
1420
1427
  }
@@ -693,6 +693,13 @@ const e = {
693
693
  upgradePlan: "Upgrade",
694
694
  needMoreCredits: "Need more credits?"
695
695
  },
696
+ usageLimits: {
697
+ title: "Personal allowance",
698
+ used: "{{percentage}}% used",
699
+ yourCompany: "Your company",
700
+ unlimited: "Unlimited",
701
+ error: "Could not load usage"
702
+ },
696
703
  reportCard: {
697
704
  tableLabel: "Table",
698
705
  openButton: "Open"
@@ -1,7 +1,7 @@
1
1
  import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-CRfRDRcY.js";
2
2
  import { jsx as t, jsxs as y } from "react/jsx-runtime";
3
3
  import { lazy as J, forwardRef as ne, Suspense as He, useState as V, useRef as A, useMemo as te, useCallback as w, useEffect as T } from "react";
4
- import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-BlHUxQSr.js";
4
+ import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-DP34_8_v.js";
5
5
  import { F as We } from "./Printer-BD-FEi_2.js";
6
6
  import { d as ae } from "./tooltip-CMBdJvJA.js";
7
7
  import './index.css';const Oe = ({
@@ -227,7 +227,7 @@ import './index.css';const Oe = ({
227
227
  }), i;
228
228
  };
229
229
  Ee();
230
- const qe = J(() => import("./SheetViewer-ENbTiiHW.js")), Ge = J(() => import("./DocxViewer-Bq8rtoGl.js")), Ze = J(() => import("./TextViewer-ClU-D6hJ.js")), oe = 48, le = ne(
230
+ const qe = J(() => import("./SheetViewer-DXsMpnXc.js")), Ge = J(() => import("./DocxViewer-B9Jg8Jpz.js")), Ze = J(() => import("./TextViewer-gVXjs_cQ.js")), oe = 48, le = ne(
231
231
  (o, a) => {
232
232
  const { kind: e = "pdf", mimeType: i, ...s } = o;
233
233
  if (e === "pdf")
@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { createContext, useReducer, forwardRef, useRef, useImperativeHandle, useEffect, useCallback, useMemo, useContext, useLayoutEffect } from "react";
3
3
  import { e as clsx } from "./tooltip-CMBdJvJA.js";
4
4
  import { W as invariant } from "./F0CanvasPanel-CRfRDRcY.js";
5
- import { d as dequal } from "./CoachmarkProvider-BWN-lnib.js";
5
+ import { d as dequal } from "./CoachmarkProvider-BGG9hfjn.js";
6
6
  import { a as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./_commonjsHelpers-ByX85dGu.js";
7
7
  import { c as commonjsRequire } from "./_commonjs-dynamic-modules-BpilXLfW.js";
8
8
  import './pdfWorker.css';var pdf$1 = { exports: {} };