@factorialco/f0-react 6.94.0 → 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.
@@ -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";
@@ -16563,10 +16570,9 @@ declare namespace Calendar {
16563
16570
 
16564
16571
  declare module "@tiptap/core" {
16565
16572
  interface Commands<ReturnType> {
16566
- indent: {
16567
- setIndent: (level: number) => ReturnType;
16568
- unsetIndent: () => ReturnType;
16569
- outdent: () => ReturnType;
16573
+ aiBlock: {
16574
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
16575
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
16570
16576
  };
16571
16577
  }
16572
16578
  }
@@ -16586,9 +16592,9 @@ declare module "@tiptap/core" {
16586
16592
 
16587
16593
  declare module "@tiptap/core" {
16588
16594
  interface Commands<ReturnType> {
16589
- aiBlock: {
16590
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
16591
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
16595
+ fontSize: {
16596
+ setFontSize: (fontSize: string) => ReturnType;
16597
+ unsetFontSize: () => ReturnType;
16592
16598
  };
16593
16599
  }
16594
16600
  }
@@ -16596,8 +16602,10 @@ declare module "@tiptap/core" {
16596
16602
 
16597
16603
  declare module "@tiptap/core" {
16598
16604
  interface Commands<ReturnType> {
16599
- moodTracker: {
16600
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
16605
+ indent: {
16606
+ setIndent: (level: number) => ReturnType;
16607
+ unsetIndent: () => ReturnType;
16608
+ outdent: () => ReturnType;
16601
16609
  };
16602
16610
  }
16603
16611
  }
@@ -16605,9 +16613,8 @@ declare module "@tiptap/core" {
16605
16613
 
16606
16614
  declare module "@tiptap/core" {
16607
16615
  interface Commands<ReturnType> {
16608
- fontSize: {
16609
- setFontSize: (fontSize: string) => ReturnType;
16610
- unsetFontSize: () => ReturnType;
16616
+ moodTracker: {
16617
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
16611
16618
  };
16612
16619
  }
16613
16620
  }
@@ -16615,8 +16622,10 @@ declare module "@tiptap/core" {
16615
16622
 
16616
16623
  declare module "@tiptap/core" {
16617
16624
  interface Commands<ReturnType> {
16618
- transcript: {
16619
- insertTranscript: (data: TranscriptData) => ReturnType;
16625
+ videoEmbed: {
16626
+ setVideoEmbed: (options: {
16627
+ src: string;
16628
+ }) => ReturnType;
16620
16629
  };
16621
16630
  }
16622
16631
  }
@@ -16624,10 +16633,8 @@ declare module "@tiptap/core" {
16624
16633
 
16625
16634
  declare module "@tiptap/core" {
16626
16635
  interface Commands<ReturnType> {
16627
- videoEmbed: {
16628
- setVideoEmbed: (options: {
16629
- src: string;
16630
- }) => ReturnType;
16636
+ transcript: {
16637
+ insertTranscript: (data: TranscriptData) => ReturnType;
16631
16638
  };
16632
16639
  }
16633
16640
  }
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
@@ -19455,6 +19518,10 @@ declare interface UpsellRequestResponseDialogProps {
19455
19518
  portalContainer?: HTMLElement | null;
19456
19519
  }
19457
19520
 
19521
+ export declare type UsageLimitsPopoverSide = (typeof usageLimitsPopoverSides)[number];
19522
+
19523
+ export declare const usageLimitsPopoverSides: readonly ["top", "bottom"];
19524
+
19458
19525
  /**
19459
19526
  * Read the AiChat context. Returns an inert fallback when no provider
19460
19527
  * is mounted — that case is intentional in `ApplicationFrame`, which
@@ -20682,10 +20749,9 @@ declare namespace Calendar {
20682
20749
 
20683
20750
  declare module "@tiptap/core" {
20684
20751
  interface Commands<ReturnType> {
20685
- indent: {
20686
- setIndent: (level: number) => ReturnType;
20687
- unsetIndent: () => ReturnType;
20688
- outdent: () => ReturnType;
20752
+ aiBlock: {
20753
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
20754
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
20689
20755
  };
20690
20756
  }
20691
20757
  }
@@ -20705,9 +20771,9 @@ declare module "@tiptap/core" {
20705
20771
 
20706
20772
  declare module "@tiptap/core" {
20707
20773
  interface Commands<ReturnType> {
20708
- aiBlock: {
20709
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
20710
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
20774
+ fontSize: {
20775
+ setFontSize: (fontSize: string) => ReturnType;
20776
+ unsetFontSize: () => ReturnType;
20711
20777
  };
20712
20778
  }
20713
20779
  }
@@ -20715,8 +20781,10 @@ declare module "@tiptap/core" {
20715
20781
 
20716
20782
  declare module "@tiptap/core" {
20717
20783
  interface Commands<ReturnType> {
20718
- moodTracker: {
20719
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
20784
+ indent: {
20785
+ setIndent: (level: number) => ReturnType;
20786
+ unsetIndent: () => ReturnType;
20787
+ outdent: () => ReturnType;
20720
20788
  };
20721
20789
  }
20722
20790
  }
@@ -20724,9 +20792,8 @@ declare module "@tiptap/core" {
20724
20792
 
20725
20793
  declare module "@tiptap/core" {
20726
20794
  interface Commands<ReturnType> {
20727
- fontSize: {
20728
- setFontSize: (fontSize: string) => ReturnType;
20729
- unsetFontSize: () => ReturnType;
20795
+ moodTracker: {
20796
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
20730
20797
  };
20731
20798
  }
20732
20799
  }
@@ -20734,8 +20801,10 @@ declare module "@tiptap/core" {
20734
20801
 
20735
20802
  declare module "@tiptap/core" {
20736
20803
  interface Commands<ReturnType> {
20737
- transcript: {
20738
- insertTranscript: (data: TranscriptData) => ReturnType;
20804
+ videoEmbed: {
20805
+ setVideoEmbed: (options: {
20806
+ src: string;
20807
+ }) => ReturnType;
20739
20808
  };
20740
20809
  }
20741
20810
  }
@@ -20743,10 +20812,8 @@ declare module "@tiptap/core" {
20743
20812
 
20744
20813
  declare module "@tiptap/core" {
20745
20814
  interface Commands<ReturnType> {
20746
- videoEmbed: {
20747
- setVideoEmbed: (options: {
20748
- src: string;
20749
- }) => ReturnType;
20815
+ transcript: {
20816
+ insertTranscript: (data: TranscriptData) => ReturnType;
20750
20817
  };
20751
20818
  }
20752
20819
  }
package/dist/f0.js CHANGED
@@ -11,10 +11,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
12
  import { F as fge, p as dge } from "./index-CBg77yy7.js";
13
13
  import { c as vge } from "./pdfWorker-DP34_8_v.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";
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";
@@ -1350,10 +1357,9 @@ declare namespace Calendar {
1350
1357
 
1351
1358
  declare module "@tiptap/core" {
1352
1359
  interface Commands<ReturnType> {
1353
- indent: {
1354
- setIndent: (level: number) => ReturnType;
1355
- unsetIndent: () => ReturnType;
1356
- outdent: () => ReturnType;
1360
+ aiBlock: {
1361
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
1362
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
1357
1363
  };
1358
1364
  }
1359
1365
  }
@@ -1373,9 +1379,9 @@ declare module "@tiptap/core" {
1373
1379
 
1374
1380
  declare module "@tiptap/core" {
1375
1381
  interface Commands<ReturnType> {
1376
- aiBlock: {
1377
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
1378
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
1382
+ fontSize: {
1383
+ setFontSize: (fontSize: string) => ReturnType;
1384
+ unsetFontSize: () => ReturnType;
1379
1385
  };
1380
1386
  }
1381
1387
  }
@@ -1383,8 +1389,10 @@ declare module "@tiptap/core" {
1383
1389
 
1384
1390
  declare module "@tiptap/core" {
1385
1391
  interface Commands<ReturnType> {
1386
- moodTracker: {
1387
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1392
+ indent: {
1393
+ setIndent: (level: number) => ReturnType;
1394
+ unsetIndent: () => ReturnType;
1395
+ outdent: () => ReturnType;
1388
1396
  };
1389
1397
  }
1390
1398
  }
@@ -1392,9 +1400,8 @@ declare module "@tiptap/core" {
1392
1400
 
1393
1401
  declare module "@tiptap/core" {
1394
1402
  interface Commands<ReturnType> {
1395
- fontSize: {
1396
- setFontSize: (fontSize: string) => ReturnType;
1397
- unsetFontSize: () => ReturnType;
1403
+ moodTracker: {
1404
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1398
1405
  };
1399
1406
  }
1400
1407
  }
@@ -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"