@factorialco/f0-react 4.78.0 → 5.0.1
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.
- package/dist/{ChatPdfThumbnail-C_HVLcVK.js → ChatPdfThumbnail-BQYptujt.js} +1 -1
- package/dist/{DocumentToolbar-CM2w_2w_.js → DocumentToolbar-DfMuLukk.js} +2 -2
- package/dist/{DocxViewer-BSoDHr_N.js → DocxViewer-RgxfFMad.js} +2 -2
- package/dist/{F0AiProcessingOverlay-YSzHusB4.js → F0AiProcessingOverlay-B3LzHI-c.js} +751 -730
- package/dist/{F0CanvasPanel-CAY9Mu_e.js → F0CanvasPanel-W66eCV0Y.js} +63005 -62937
- package/dist/{F0VideoPlayer-C-ZIeH8A.js → F0VideoPlayer-KHOq_pHC.js} +1 -1
- package/dist/{SheetViewer-ChErEQkX.js → SheetViewer-Bjqi9Lp-.js} +2 -2
- package/dist/{TextViewer-CbhWnpyu.js → TextViewer-8_RPl1ax.js} +2 -2
- package/dist/ai.d.ts +11 -11
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +11 -11
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +75 -18
- package/dist/experimental.js +2575 -2575
- package/dist/f0.d.ts +75 -18
- package/dist/f0.js +10 -10
- package/dist/i18n-provider-defaults.d.ts +11 -11
- package/dist/index-BBUAtI0e.js +4 -0
- package/dist/{index-CvCKENlk.js → index-DU8BTxcj.js} +14083 -13849
- package/dist/{index-CoBPrnKx.js → index-DzNPlwUX.js} +3 -3
- package/dist/{pdfWorker-C0YKFzQc.js → pdfWorker-Dvf-df0z.js} +2 -2
- package/icons/app/MaximizeHorizontal.d.ts +4 -0
- package/icons/app/MaximizeHorizontal.d.ts.map +1 -0
- package/icons/app/MaximizeHorizontal.js +5 -0
- package/icons/app/MinimizeHorizontal.d.ts +4 -0
- package/icons/app/MinimizeHorizontal.d.ts.map +1 -0
- package/icons/app/MinimizeHorizontal.js +5 -0
- package/icons/app/index.d.ts +5 -2
- package/icons/app/index.d.ts.map +1 -1
- package/icons/app/index.js +5 -2
- package/package.json +2 -2
- package/dist/index-xjQIsRdA.js +0 -4
package/dist/experimental.d.ts
CHANGED
|
@@ -7296,6 +7296,36 @@ declare type GroupRecord<RecordType> = {
|
|
|
7296
7296
|
records: RecordType[];
|
|
7297
7297
|
};
|
|
7298
7298
|
|
|
7299
|
+
/**
|
|
7300
|
+
* Configuration for a single header group, keyed by `headerGroupId` in the
|
|
7301
|
+
* `headerGroups` visualization option.
|
|
7302
|
+
*/
|
|
7303
|
+
declare type HeaderGroupDefinition = {
|
|
7304
|
+
/**
|
|
7305
|
+
* The label rendered in the spanning header row.
|
|
7306
|
+
*/
|
|
7307
|
+
label: string;
|
|
7308
|
+
/**
|
|
7309
|
+
* Ids of the columns in this group that stay visible while the group is
|
|
7310
|
+
* collapsed — the group's "summary" columns. Providing this key is what
|
|
7311
|
+
* makes the group collapsible; omit it for a purely visual group.
|
|
7312
|
+
*
|
|
7313
|
+
* Ids are matched against each column's `id` (falling back to its `label`,
|
|
7314
|
+
* mirroring how column ids are resolved elsewhere). Ids that don't belong to
|
|
7315
|
+
* this group are ignored. A collapsed group always keeps at least one
|
|
7316
|
+
* column, so passing `[]` — or only unknown ids — leaves the group's first
|
|
7317
|
+
* column visible.
|
|
7318
|
+
*/
|
|
7319
|
+
collapsedColumns?: ColId[];
|
|
7320
|
+
/**
|
|
7321
|
+
* Whether the group renders collapsed on first render. Only meaningful for
|
|
7322
|
+
* collapsible groups. Read once on mount; afterwards the collapsed state is
|
|
7323
|
+
* owned by the table.
|
|
7324
|
+
* @default false
|
|
7325
|
+
*/
|
|
7326
|
+
defaultCollapsed?: boolean;
|
|
7327
|
+
};
|
|
7328
|
+
|
|
7299
7329
|
export declare interface HeaderProps {
|
|
7300
7330
|
primaryAction?: PrimaryActionButton | PrimaryDropdownAction<string>;
|
|
7301
7331
|
secondaryActions?: HeaderSecondaryAction[];
|
|
@@ -10473,13 +10503,13 @@ declare type TableColumnDefinition<R extends RecordType, Sortings extends Sortin
|
|
|
10473
10503
|
/**
|
|
10474
10504
|
* Assigns this column to a header group. Columns with the same
|
|
10475
10505
|
* headerGroupId are visually grouped under a shared spanning header.
|
|
10476
|
-
*
|
|
10477
|
-
* the
|
|
10506
|
+
* Each group is configured via `headerGroups` in the visualization
|
|
10507
|
+
* options, which also controls whether the group can be collapsed.
|
|
10478
10508
|
*/
|
|
10479
10509
|
headerGroupId?: string;
|
|
10480
10510
|
};
|
|
10481
10511
|
|
|
10482
|
-
declare function TableHead({ children, width, minWidth, sortState, onSortClick, info, infoIcon, sticky, hidden, align, className, colSpan, }: TableHeadProps): JSX_2.Element;
|
|
10512
|
+
declare function TableHead({ children, width, minWidth, sortState, onSortClick, onClick, info, infoIcon, sticky, hidden, align, className, colSpan, }: TableHeadProps): JSX_2.Element;
|
|
10483
10513
|
|
|
10484
10514
|
declare type TableHeaderInfo = {
|
|
10485
10515
|
title: string;
|
|
@@ -10526,10 +10556,16 @@ declare interface TableHeadProps {
|
|
|
10526
10556
|
*/
|
|
10527
10557
|
sortState?: "none" | "asc" | "desc";
|
|
10528
10558
|
/**
|
|
10529
|
-
* Callback fired when the
|
|
10559
|
+
* Callback fired when the header is clicked to sort.
|
|
10530
10560
|
* Use this to handle toggling between sort states.
|
|
10531
10561
|
*/
|
|
10532
10562
|
onSortClick?: () => void;
|
|
10563
|
+
/**
|
|
10564
|
+
* Callback fired when the header cell is clicked, for cells that are
|
|
10565
|
+
* actionable beyond sorting. Like {@link onSortClick}, the whole cell is the
|
|
10566
|
+
* target — see the note on the cell's click handler.
|
|
10567
|
+
*/
|
|
10568
|
+
onClick?: () => void;
|
|
10533
10569
|
/**
|
|
10534
10570
|
* Optional header info. When provided, displays an info icon next to the
|
|
10535
10571
|
* header content. Pass a string for a short text tooltip, or a
|
|
@@ -10602,10 +10638,31 @@ declare type TableVisualizationOptions<R extends RecordType, _Filters extends Fi
|
|
|
10602
10638
|
/** Maps a row to a visual variant: `"striped"`, `"striked"`, or `"none"`. */
|
|
10603
10639
|
referenceRowType?: (item: R) => ReferenceType;
|
|
10604
10640
|
/**
|
|
10605
|
-
*
|
|
10606
|
-
* definitions
|
|
10641
|
+
* Header group configuration. Keys are the `headerGroupId` values used in
|
|
10642
|
+
* column definitions. Pass a string for a plain spanning label, or a
|
|
10643
|
+
* {@link HeaderGroupDefinition} to also make the group collapsible:
|
|
10644
|
+
*
|
|
10645
|
+
* ```ts
|
|
10646
|
+
* headerGroups: {
|
|
10647
|
+
* personal: "Personal information",
|
|
10648
|
+
* january: {
|
|
10649
|
+
* label: "January",
|
|
10650
|
+
* collapsedColumns: ["january-total"],
|
|
10651
|
+
* defaultCollapsed: true,
|
|
10652
|
+
* },
|
|
10653
|
+
* }
|
|
10654
|
+
* ```
|
|
10655
|
+
*
|
|
10656
|
+
* A collapsed group hides every column in it except the ones listed in
|
|
10657
|
+
* `collapsedColumns`, and renders a toggle next to its label.
|
|
10607
10658
|
*/
|
|
10608
|
-
|
|
10659
|
+
headerGroups?: Record<string, string | HeaderGroupDefinition>;
|
|
10660
|
+
/**
|
|
10661
|
+
* Called when the user collapses or expands a header group. Fires after the
|
|
10662
|
+
* table has applied the change; use it to persist the state, not to control
|
|
10663
|
+
* it.
|
|
10664
|
+
*/
|
|
10665
|
+
onHeaderGroupCollapsedChange?: (groupId: string, collapsed: boolean) => void;
|
|
10609
10666
|
/**
|
|
10610
10667
|
* Wraps the table in a rounded border container.
|
|
10611
10668
|
* Useful for embedding the table inside panels or detail views.
|
|
@@ -11915,6 +11972,15 @@ declare module "@tiptap/core" {
|
|
|
11915
11972
|
}
|
|
11916
11973
|
|
|
11917
11974
|
|
|
11975
|
+
declare module "@tiptap/core" {
|
|
11976
|
+
interface Commands<ReturnType> {
|
|
11977
|
+
moodTracker: {
|
|
11978
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
11979
|
+
};
|
|
11980
|
+
}
|
|
11981
|
+
}
|
|
11982
|
+
|
|
11983
|
+
|
|
11918
11984
|
declare module "@tiptap/core" {
|
|
11919
11985
|
interface Commands<ReturnType> {
|
|
11920
11986
|
indent: {
|
|
@@ -11928,8 +11994,8 @@ declare module "@tiptap/core" {
|
|
|
11928
11994
|
|
|
11929
11995
|
declare module "@tiptap/core" {
|
|
11930
11996
|
interface Commands<ReturnType> {
|
|
11931
|
-
|
|
11932
|
-
|
|
11997
|
+
transcript: {
|
|
11998
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
11933
11999
|
};
|
|
11934
12000
|
}
|
|
11935
12001
|
}
|
|
@@ -11946,15 +12012,6 @@ declare module "@tiptap/core" {
|
|
|
11946
12012
|
}
|
|
11947
12013
|
|
|
11948
12014
|
|
|
11949
|
-
declare module "@tiptap/core" {
|
|
11950
|
-
interface Commands<ReturnType> {
|
|
11951
|
-
transcript: {
|
|
11952
|
-
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
11953
|
-
};
|
|
11954
|
-
}
|
|
11955
|
-
}
|
|
11956
|
-
|
|
11957
|
-
|
|
11958
12015
|
declare namespace F0GraphNodeWrapperInner {
|
|
11959
12016
|
var displayName: string;
|
|
11960
12017
|
}
|