@factorialco/f0-react 1.408.0 → 1.409.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.
@@ -432,6 +432,13 @@ declare type AiChatProviderProps = {
432
432
  * @default false
433
433
  */
434
434
  lockVisualizationMode?: boolean;
435
+ /**
436
+ * Enable chat history UI (clickable header title + history dialog).
437
+ * When false (default), the header shows a simple "New Chat" button instead.
438
+ * Set to true only when the backend supports the /copilotkit/chat-history/threads route.
439
+ * @default false
440
+ */
441
+ historyEnabled?: boolean;
435
442
  /**
436
443
  * Optional footer content rendered below the textarea
437
444
  */
@@ -2564,6 +2571,10 @@ declare const defaultTranslations: {
2564
2571
  readonly thoughtsGroupTitle: "Reflection";
2565
2572
  readonly resourcesGroupTitle: "Resources";
2566
2573
  readonly thinking: "Thinking...";
2574
+ readonly closeDashboard: "Close dashboard";
2575
+ readonly unsavedChanges: "Unsaved changes";
2576
+ readonly saveChanges: "Save changes";
2577
+ readonly discardChanges: "Discard";
2567
2578
  readonly exportTable: "Download table";
2568
2579
  readonly generatedTableFilename: "OneGeneratedTable";
2569
2580
  readonly feedbackModal: {
@@ -2581,9 +2592,29 @@ declare const defaultTranslations: {
2581
2592
  readonly dataDownloadPreview: "Preview {{shown}} of {{total}} rows — download the Excel to see all data.";
2582
2593
  readonly expandChat: "Expand chat";
2583
2594
  readonly collapseChat: "Collapse chat";
2595
+ readonly chatHistory: "Chat history";
2596
+ readonly noPreviousChats: "No previous conversations";
2597
+ readonly newConversation: "New conversation";
2598
+ readonly today: "Today";
2599
+ readonly yesterday: "Yesterday";
2600
+ readonly thisMonth: "This month";
2601
+ readonly older: "Older";
2602
+ readonly searchChats: "Search conversations...";
2603
+ readonly pinnedChats: "Pinned";
2604
+ readonly threadOptions: "Thread options";
2605
+ readonly pinChat: "Pin chat";
2606
+ readonly unpinChat: "Unpin chat";
2607
+ readonly deleteChat: "Delete chat";
2584
2608
  readonly ask: "Ask One";
2585
2609
  readonly viewProfile: "View profile";
2586
2610
  readonly tools: "Tools";
2611
+ readonly reportCard: {
2612
+ readonly reportLabel: "Report";
2613
+ readonly openButton: "Open";
2614
+ };
2615
+ readonly dataDownload: {
2616
+ readonly download: "Download {{format}}";
2617
+ };
2587
2618
  readonly growth: {
2588
2619
  readonly demoCard: {
2589
2620
  readonly title: "See {{moduleName}} in action";
@@ -6850,7 +6881,7 @@ export declare type VisualizationFilterOverrides<Filters extends FiltersDefiniti
6850
6881
  /**
6851
6882
  * Visualization mode for the AI chat
6852
6883
  */
6853
- declare type VisualizationMode = "sidepanel" | "fullscreen";
6884
+ declare type VisualizationMode = "sidepanel" | "fullscreen" | "canvas";
6854
6885
 
6855
6886
  declare type VisualizationSettings = {
6856
6887
  [K in keyof typeof collectionVisualizations]: ExtractVisualizationSettings<(typeof collectionVisualizations)[K]>;
@@ -7077,13 +7108,8 @@ declare module "gridstack" {
7077
7108
  }
7078
7109
 
7079
7110
 
7080
- declare module "@tiptap/core" {
7081
- interface Commands<ReturnType> {
7082
- aiBlock: {
7083
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
7084
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
7085
- };
7086
- }
7111
+ declare namespace Calendar {
7112
+ var displayName: string;
7087
7113
  }
7088
7114
 
7089
7115
 
@@ -7099,8 +7125,9 @@ declare module "@tiptap/core" {
7099
7125
 
7100
7126
  declare module "@tiptap/core" {
7101
7127
  interface Commands<ReturnType> {
7102
- moodTracker: {
7103
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
7128
+ aiBlock: {
7129
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
7130
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
7104
7131
  };
7105
7132
  }
7106
7133
  }
@@ -7108,10 +7135,8 @@ declare module "@tiptap/core" {
7108
7135
 
7109
7136
  declare module "@tiptap/core" {
7110
7137
  interface Commands<ReturnType> {
7111
- videoEmbed: {
7112
- setVideoEmbed: (options: {
7113
- src: string;
7114
- }) => ReturnType;
7138
+ moodTracker: {
7139
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
7115
7140
  };
7116
7141
  }
7117
7142
  }
@@ -7126,6 +7151,12 @@ declare module "@tiptap/core" {
7126
7151
  }
7127
7152
 
7128
7153
 
7129
- declare namespace Calendar {
7130
- var displayName: string;
7154
+ declare module "@tiptap/core" {
7155
+ interface Commands<ReturnType> {
7156
+ videoEmbed: {
7157
+ setVideoEmbed: (options: {
7158
+ src: string;
7159
+ }) => ReturnType;
7160
+ };
7161
+ }
7131
7162
  }