@factorialco/f0-react 1.408.0 → 1.410.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.
- package/dist/F0AiChat-B75wNcO_.js +28929 -0
- package/dist/F0AnalyticsDashboard-HOK1Grhk.js +64242 -0
- package/dist/{f0.css → F0AnalyticsDashboard.css} +1 -1
- package/dist/F0ChatDashboard-e_oKQtbl.js +292 -0
- package/dist/F0ChatDashboard.d.ts +364 -0
- package/dist/F0ChatDashboard.js +4 -0
- package/dist/{F0HILActionConfirmation-Cud7NMip.js → F0HILActionConfirmation-CasXGy89.js} +262 -236
- package/dist/{F0AiChat-B5pShue-.js → F0Input-JjjfHKNJ.js} +94271 -122303
- package/dist/ai.d.ts +363 -7
- package/dist/ai.js +54 -52
- package/dist/experimental.d.ts +59 -12
- package/dist/experimental.js +3119 -2937
- package/dist/f0.d.ts +424 -17
- package/dist/f0.js +16407 -70330
- package/dist/i18n-provider-defaults.d.ts +29 -5
- package/dist/i18n-provider-defaults.js +24 -0
- package/dist/{useDataCollectionSource-BIFyi9Io.js → index-5bsHlAsN.js} +14802 -24733
- package/dist/{useDataCollectionSource.css → index.css} +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -366,6 +366,8 @@ declare type ActivityItemProps = {
|
|
|
366
366
|
onVisible?: (id: string) => void;
|
|
367
367
|
};
|
|
368
368
|
|
|
369
|
+
declare type AddRowActionsResult = PrimaryActionItemDefinition | PrimaryActionItemDefinition[] | undefined;
|
|
370
|
+
|
|
369
371
|
declare type AiBannerAction = {
|
|
370
372
|
label: string;
|
|
371
373
|
onClick: () => void;
|
|
@@ -432,6 +434,13 @@ declare type AiChatProviderProps = {
|
|
|
432
434
|
* @default false
|
|
433
435
|
*/
|
|
434
436
|
lockVisualizationMode?: boolean;
|
|
437
|
+
/**
|
|
438
|
+
* Enable chat history UI (clickable header title + history dialog).
|
|
439
|
+
* When false (default), the header shows a simple "New Chat" button instead.
|
|
440
|
+
* Set to true only when the backend supports the /copilotkit/chat-history/threads route.
|
|
441
|
+
* @default false
|
|
442
|
+
*/
|
|
443
|
+
historyEnabled?: boolean;
|
|
435
444
|
/**
|
|
436
445
|
* Optional footer content rendered below the textarea
|
|
437
446
|
*/
|
|
@@ -2564,6 +2573,10 @@ declare const defaultTranslations: {
|
|
|
2564
2573
|
readonly thoughtsGroupTitle: "Reflection";
|
|
2565
2574
|
readonly resourcesGroupTitle: "Resources";
|
|
2566
2575
|
readonly thinking: "Thinking...";
|
|
2576
|
+
readonly closeDashboard: "Close dashboard";
|
|
2577
|
+
readonly unsavedChanges: "Unsaved changes";
|
|
2578
|
+
readonly saveChanges: "Save changes";
|
|
2579
|
+
readonly discardChanges: "Discard";
|
|
2567
2580
|
readonly exportTable: "Download table";
|
|
2568
2581
|
readonly generatedTableFilename: "OneGeneratedTable";
|
|
2569
2582
|
readonly feedbackModal: {
|
|
@@ -2581,9 +2594,29 @@ declare const defaultTranslations: {
|
|
|
2581
2594
|
readonly dataDownloadPreview: "Preview {{shown}} of {{total}} rows — download the Excel to see all data.";
|
|
2582
2595
|
readonly expandChat: "Expand chat";
|
|
2583
2596
|
readonly collapseChat: "Collapse chat";
|
|
2597
|
+
readonly chatHistory: "Chat history";
|
|
2598
|
+
readonly noPreviousChats: "No previous conversations";
|
|
2599
|
+
readonly newConversation: "New conversation";
|
|
2600
|
+
readonly today: "Today";
|
|
2601
|
+
readonly yesterday: "Yesterday";
|
|
2602
|
+
readonly thisMonth: "This month";
|
|
2603
|
+
readonly older: "Older";
|
|
2604
|
+
readonly searchChats: "Search conversations...";
|
|
2605
|
+
readonly pinnedChats: "Pinned";
|
|
2606
|
+
readonly threadOptions: "Thread options";
|
|
2607
|
+
readonly pinChat: "Pin chat";
|
|
2608
|
+
readonly unpinChat: "Unpin chat";
|
|
2609
|
+
readonly deleteChat: "Delete chat";
|
|
2584
2610
|
readonly ask: "Ask One";
|
|
2585
2611
|
readonly viewProfile: "View profile";
|
|
2586
2612
|
readonly tools: "Tools";
|
|
2613
|
+
readonly reportCard: {
|
|
2614
|
+
readonly reportLabel: "Report";
|
|
2615
|
+
readonly openButton: "Open";
|
|
2616
|
+
};
|
|
2617
|
+
readonly dataDownload: {
|
|
2618
|
+
readonly download: "Download {{format}}";
|
|
2619
|
+
};
|
|
2587
2620
|
readonly growth: {
|
|
2588
2621
|
readonly demoCard: {
|
|
2589
2622
|
readonly title: "See {{moduleName}} in action";
|
|
@@ -2956,12 +2989,26 @@ declare type EditableTableVisualizationOptions<R extends RecordType, _Filters ex
|
|
|
2956
2989
|
* Rejection sets an error on the edited column.
|
|
2957
2990
|
*/
|
|
2958
2991
|
onCellChange: (updatedItem: R) => Promise<void | Record<string, string>>;
|
|
2959
|
-
/**
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2992
|
+
/**
|
|
2993
|
+
* When provided, renders action buttons at the bottom of the root-level table.
|
|
2994
|
+
* Returns a single action, an array of actions, or undefined to hide the row.
|
|
2995
|
+
*/
|
|
2996
|
+
addRowActions?: () => AddRowActionsResult;
|
|
2997
|
+
/**
|
|
2998
|
+
* Label for the dropdown trigger button when multiple root-level add-row
|
|
2999
|
+
* actions are provided. Falls back to the first action's label if omitted.
|
|
3000
|
+
*/
|
|
3001
|
+
addRowActionsLabel?: string;
|
|
3002
|
+
/**
|
|
3003
|
+
* When provided, renders action buttons at the bottom of each expanded nested row.
|
|
3004
|
+
* Receives the parent item whose children the new row will be added to.
|
|
3005
|
+
*/
|
|
3006
|
+
addNestedRowActions?: (parent: R) => AddRowActionsResult;
|
|
3007
|
+
/**
|
|
3008
|
+
* Label for the dropdown trigger button when multiple nested add-row
|
|
3009
|
+
* actions are provided. Falls back to the first action's label if omitted.
|
|
3010
|
+
*/
|
|
3011
|
+
addNestedRowActionsLabel?: string;
|
|
2965
3012
|
};
|
|
2966
3013
|
|
|
2967
3014
|
declare type EditableTableVisualizationSettings = TableVisualizationSettings;
|
|
@@ -6850,7 +6897,7 @@ export declare type VisualizationFilterOverrides<Filters extends FiltersDefiniti
|
|
|
6850
6897
|
/**
|
|
6851
6898
|
* Visualization mode for the AI chat
|
|
6852
6899
|
*/
|
|
6853
|
-
declare type VisualizationMode = "sidepanel" | "fullscreen";
|
|
6900
|
+
declare type VisualizationMode = "sidepanel" | "fullscreen" | "canvas";
|
|
6854
6901
|
|
|
6855
6902
|
declare type VisualizationSettings = {
|
|
6856
6903
|
[K in keyof typeof collectionVisualizations]: ExtractVisualizationSettings<(typeof collectionVisualizations)[K]>;
|
|
@@ -7077,6 +7124,11 @@ declare module "gridstack" {
|
|
|
7077
7124
|
}
|
|
7078
7125
|
|
|
7079
7126
|
|
|
7127
|
+
declare namespace Calendar {
|
|
7128
|
+
var displayName: string;
|
|
7129
|
+
}
|
|
7130
|
+
|
|
7131
|
+
|
|
7080
7132
|
declare module "@tiptap/core" {
|
|
7081
7133
|
interface Commands<ReturnType> {
|
|
7082
7134
|
aiBlock: {
|
|
@@ -7124,8 +7176,3 @@ declare module "@tiptap/core" {
|
|
|
7124
7176
|
};
|
|
7125
7177
|
}
|
|
7126
7178
|
}
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
declare namespace Calendar {
|
|
7130
|
-
var displayName: string;
|
|
7131
|
-
}
|