@factorialco/f0-react 8.36.0 → 8.37.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 (32) hide show
  1. package/dist/{ChatPdfThumbnail-DtjnbxlK.js → ChatPdfThumbnail-D17gaAZw.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-CKyQwOZh.js → ChatPostComposerDialog-Dzcwl3UT.js} +3 -3
  3. package/dist/{DocumentToolbar-DmU2Z6yx.js → DocumentToolbar-BF90Kcrb.js} +9 -9
  4. package/dist/{DocxViewer-C54WGD1S.js → DocxViewer-DXUC2CUW.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-BDqqztvk.js → F0AiProcessingOverlay-DTsO9rEl.js} +1 -1
  6. package/dist/{F0CanvasPanel-WVtVnJRZ.js → F0CanvasPanel-kbwLvapQ.js} +15672 -15669
  7. package/dist/{index-SaYqmPwO.js → F0DocumentViewer-Bk7ciWZW.js} +142 -149
  8. package/dist/{F0Map-CNWfSFZ1.js → F0Map-B_XG6Txo.js} +4 -4
  9. package/dist/{F0VideoPlayer-D7c3Yh3w.js → F0VideoPlayer-Cdq6rTqq.js} +48 -48
  10. package/dist/{MapProvider-27XPHPiu.js → MapProvider-DrUuwDLP.js} +13645 -13652
  11. package/dist/{SheetViewer-1drEsfd7.js → SheetViewer-DgLdv4qf.js} +3 -3
  12. package/dist/{TextViewer-EXSsPDXE.js → TextViewer-7qYfyanJ.js} +2 -2
  13. package/dist/ai.d.ts +32 -21
  14. package/dist/ai.js +2 -2
  15. package/dist/component-status.d.ts +12 -12
  16. package/dist/component-status.js +1 -1
  17. package/dist/{experimental-B8-mgCce.js → experimental-B_Hvv6tU.js} +166 -165
  18. package/dist/experimental.d.ts +72 -67
  19. package/dist/experimental.js +63 -63
  20. package/dist/f0.d.ts +334 -104
  21. package/dist/f0.js +6788 -6781
  22. package/dist/i18n-provider-defaults.d.ts +12 -12
  23. package/dist/index-BGG-4WaL.js +4 -0
  24. package/dist/{index-C3NBN1Ds.js → index-BQthngzU.js} +2 -2
  25. package/dist/index-CzPx-LpF.js +8 -0
  26. package/dist/{index-BC3sRBhO.js → index-HEb5Ocnl.js} +3 -3
  27. package/dist/{index-P3wd7w_Q.js → index-QJVt3QQ2.js} +1 -1
  28. package/dist/pdfWorker-CX_u28dQ.js +13120 -0
  29. package/package.json +1 -1
  30. package/dist/index-6YSyIntj.js +0 -4
  31. package/dist/pdfWorker-Bt3dfOGU.js +0 -13120
  32. /package/dist/{index2.css → F0DocumentViewer.css} +0 -0
@@ -1,9 +1,9 @@
1
1
  import { jsx as r, jsxs as n, Fragment as v } from "react/jsx-runtime";
2
2
  import { useState as m, useEffect as E } from "react";
3
- import { u as F, T as S, h as T, S as V, i as A } from "./F0CanvasPanel-WVtVnJRZ.js";
4
- import { d as D } from "./index-SaYqmPwO.js";
3
+ import { u as F, T as S, h as T, S as V, i as A } from "./F0CanvasPanel-kbwLvapQ.js";
4
+ import { d as D } from "./F0DocumentViewer-Bk7ciWZW.js";
5
5
  import { f as L, c as R } from "./sheetPreview-BiccmyTD.js";
6
- import { u as z, D as U } from "./DocumentToolbar-DmU2Z6yx.js";
6
+ import { u as z, D as U } from "./DocumentToolbar-BF90Kcrb.js";
7
7
  const w = 1e3, _ = 100, $ = ({
8
8
  url: a,
9
9
  filename: f,
@@ -1,7 +1,7 @@
1
1
  import { jsxs as p, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as u, useEffect as x } from "react";
3
- import { u as w, S as y, p as g } from "./F0CanvasPanel-WVtVnJRZ.js";
4
- import { u as k, D as v } from "./DocumentToolbar-DmU2Z6yx.js";
3
+ import { u as w, S as y, p as g } from "./F0CanvasPanel-kbwLvapQ.js";
4
+ import { u as k, D as v } from "./DocumentToolbar-BF90Kcrb.js";
5
5
  const q = 2 * 1024 * 1024, N = [
6
6
  "[&_h1]:mb-3 [&_h1]:mt-6 [&_h1]:text-2xl [&_h1]:font-semibold",
7
7
  "[&_h2]:mb-2 [&_h2]:mt-5 [&_h2]:text-xl [&_h2]:font-semibold",
package/dist/ai.d.ts CHANGED
@@ -27,10 +27,6 @@ import { DeltaCellValue } from './types/delta';
27
27
  import { DotTagCellValue } from '../../../ui/value-display/types/dotTag';
28
28
  import { DotTagCellValue as DotTagCellValue_2 } from './types/dotTag';
29
29
  import { EmployeeItemProps } from './types';
30
- import { F0TagBalanceProps as F0TagBalanceProps_2 } from './types';
31
- import { F0TagCompanyProps } from './types';
32
- import { F0TagPersonProps } from './types';
33
- import { F0TagTeamProps } from './types';
34
30
  import { f1Colors } from '@factorialco/f0-core';
35
31
  import { FileCellValue } from '../../../ui/value-display/types/file';
36
32
  import { FileCellValue as FileCellValue_2 } from './types/file';
@@ -55,7 +51,6 @@ import { PersonCellValue as PersonCellValue_2 } from './types/person';
55
51
  import { ProgressBarCellValue } from '../../../ui/value-display/types/progressBar';
56
52
  import { ProgressBarCellValue as ProgressBarCellValue_2 } from './types/progressBar';
57
53
  import { ProgressSeriesCellValue } from './types/progressSeries';
58
- import { Props as Props_3 } from './types';
59
54
  import * as React_2 from 'react';
60
55
  import { ReactElement } from 'react';
61
56
  import { ReactNode } from 'react';
@@ -88,8 +83,8 @@ import { TextCellValue as TextCellValue_2 } from './types/text';
88
83
  import { TrackReferenceOrPlaceholder } from '@livekit/components-react';
89
84
  import { ValueDisplayRendererContext } from '../../../ui/value-display';
90
85
  import { VariantProps } from 'cva';
91
- import { WithDataTestIdReturnType } from '../../lib/data-testid';
92
- import { WithDataTestIdReturnType as WithDataTestIdReturnType_2 } from '../../../lib/data-testid';
86
+ import { WithDataTestIdReturnType } from '../../lib/data-testid/data-testid';
87
+ import { WithDataTestIdReturnType as WithDataTestIdReturnType_2 } from '../../../lib/data-testid/data-testid';
93
88
 
94
89
  declare type ActionBaseProps = ActionCommonProps & DataAttributes;
95
90
 
@@ -5443,9 +5438,9 @@ export declare type F0OneSwitchProps = React.ComponentPropsWithoutRef<typeof Swi
5443
5438
  onCheckedChange?: (open: boolean) => void;
5444
5439
  };
5445
5440
 
5446
- declare const F0TagAlert: WithDataTestIdReturnType_2<ForwardRefExoticComponent<Props_3 & RefAttributes<HTMLDivElement>>>;
5441
+ declare const F0TagAlert: WithDataTestIdReturnType_2<ForwardRefExoticComponent<Props & RefAttributes<HTMLDivElement>>>;
5447
5442
 
5448
- declare const F0TagBalance: WithDataTestIdReturnType_2<ForwardRefExoticComponent<F0TagBalanceProps_2 & RefAttributes<HTMLDivElement>>>;
5443
+ declare const F0TagBalance: WithDataTestIdReturnType_2<ForwardRefExoticComponent<F0TagBalanceProps & RefAttributes<HTMLDivElement>>>;
5449
5444
 
5450
5445
  declare type F0TagBalanceProps = {
5451
5446
  /**
@@ -5479,6 +5474,11 @@ declare type F0TagBalanceProps = {
5479
5474
 
5480
5475
  declare const F0TagCompany: WithDataTestIdReturnType_2<ForwardRefExoticComponent<F0TagCompanyProps & RefAttributes<HTMLDivElement>>>;
5481
5476
 
5477
+ declare interface F0TagCompanyProps {
5478
+ name: string;
5479
+ src?: string;
5480
+ }
5481
+
5482
5482
  declare type F0TagListProps<T extends TagType_2> = {
5483
5483
  /**
5484
5484
  * The type of tags to display. Only one type can be used at a time.
@@ -5501,6 +5501,12 @@ declare type F0TagListProps<T extends TagType_2> = {
5501
5501
 
5502
5502
  declare const F0TagPerson: WithDataTestIdReturnType_2<ForwardRefExoticComponent<F0TagPersonProps & RefAttributes<HTMLDivElement>>>;
5503
5503
 
5504
+ declare type F0TagPersonProps = {
5505
+ src?: string;
5506
+ name: string;
5507
+ deactivated?: boolean;
5508
+ };
5509
+
5504
5510
  declare type F0TagRawProps = {
5505
5511
  /**
5506
5512
  * The label to display in the tag or used for accessible text
@@ -5544,6 +5550,11 @@ declare interface F0TagStatusProps {
5544
5550
 
5545
5551
  declare const F0TagTeam: WithDataTestIdReturnType_2<ForwardRefExoticComponent<F0TagTeamProps & RefAttributes<HTMLDivElement>>>;
5546
5552
 
5553
+ declare interface F0TagTeamProps {
5554
+ name: string;
5555
+ src?: string;
5556
+ }
5557
+
5547
5558
  /**
5548
5559
  * Loose message shape used inside f0. Mirrors the CopilotKit `Message`
5549
5560
  * shape so adapters (factorial, mock runtime) can map back and forth
@@ -6801,6 +6812,16 @@ declare namespace Calendar {
6801
6812
  }
6802
6813
 
6803
6814
 
6815
+ declare module "@tiptap/core" {
6816
+ interface Commands<ReturnType> {
6817
+ fontSize: {
6818
+ setFontSize: (fontSize: string) => ReturnType;
6819
+ unsetFontSize: () => ReturnType;
6820
+ };
6821
+ }
6822
+ }
6823
+
6824
+
6804
6825
  declare module "@tiptap/core" {
6805
6826
  interface Commands<ReturnType> {
6806
6827
  aiBlock: {
@@ -6825,9 +6846,8 @@ declare module "@tiptap/core" {
6825
6846
 
6826
6847
  declare module "@tiptap/core" {
6827
6848
  interface Commands<ReturnType> {
6828
- fontSize: {
6829
- setFontSize: (fontSize: string) => ReturnType;
6830
- unsetFontSize: () => ReturnType;
6849
+ moodTracker: {
6850
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
6831
6851
  };
6832
6852
  }
6833
6853
  }
@@ -6844,15 +6864,6 @@ declare module "@tiptap/core" {
6844
6864
  }
6845
6865
 
6846
6866
 
6847
- declare module "@tiptap/core" {
6848
- interface Commands<ReturnType> {
6849
- moodTracker: {
6850
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
6851
- };
6852
- }
6853
- }
6854
-
6855
-
6856
6867
  declare module "@tiptap/core" {
6857
6868
  interface Commands<ReturnType> {
6858
6869
  transcript: {
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as m } from "./F0CanvasPanel-WVtVnJRZ.js";
1
+ import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as m } from "./F0CanvasPanel-kbwLvapQ.js";
2
2
  import { defaultTranslations as c } from "./i18n-provider-defaults.js";
3
- import { A as g, C as p, t as v, s as I, v as T, y as S, B as f, l as y, i as x, q as b, E as k, G as B, p as H, r as L, j as M, e as O, g as V, k as w, F as D, T as z, w as E, h as G, a as j, n as q, z as R, m as U, o as J, D as K, b as N, f as Q, x as W, c as X, d as Y, u as Z } from "./F0AiProcessingOverlay-BDqqztvk.js";
3
+ import { A as g, C as p, t as v, s as I, v as T, y as S, B as f, l as y, i as x, q as b, E as k, G as B, p as H, r as L, j as M, e as O, g as V, k as w, F as D, T as z, w as E, h as G, a as j, n as q, z as R, m as U, o as J, D as K, b as N, f as Q, x as W, c as X, d as Y, u as Z } from "./F0AiProcessingOverlay-DTsO9rEl.js";
4
4
  export {
5
5
  g as AiChatTranslationsProvider,
6
6
  e as ChatSpinner,
@@ -294,6 +294,16 @@ declare namespace Calendar {
294
294
  }
295
295
 
296
296
 
297
+ declare module "@tiptap/core" {
298
+ interface Commands<ReturnType> {
299
+ fontSize: {
300
+ setFontSize: (fontSize: string) => ReturnType;
301
+ unsetFontSize: () => ReturnType;
302
+ };
303
+ }
304
+ }
305
+
306
+
297
307
  declare module "@tiptap/core" {
298
308
  interface Commands<ReturnType> {
299
309
  aiBlock: {
@@ -318,9 +328,8 @@ declare module "@tiptap/core" {
318
328
 
319
329
  declare module "@tiptap/core" {
320
330
  interface Commands<ReturnType> {
321
- fontSize: {
322
- setFontSize: (fontSize: string) => ReturnType;
323
- unsetFontSize: () => ReturnType;
331
+ moodTracker: {
332
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
324
333
  };
325
334
  }
326
335
  }
@@ -337,15 +346,6 @@ declare module "@tiptap/core" {
337
346
  }
338
347
 
339
348
 
340
- declare module "@tiptap/core" {
341
- interface Commands<ReturnType> {
342
- moodTracker: {
343
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
344
- };
345
- }
346
- }
347
-
348
-
349
349
  declare module "@tiptap/core" {
350
350
  interface Commands<ReturnType> {
351
351
  transcript: {