@factorialco/f0-react 1.407.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,11 +7108,16 @@ declare module "gridstack" {
7077
7108
  }
7078
7109
 
7079
7110
 
7111
+ declare namespace Calendar {
7112
+ var displayName: string;
7113
+ }
7114
+
7115
+
7080
7116
  declare module "@tiptap/core" {
7081
7117
  interface Commands<ReturnType> {
7082
- aiBlock: {
7083
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
7084
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
7118
+ enhanceHighlight: {
7119
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
7120
+ clearEnhanceHighlight: () => ReturnType;
7085
7121
  };
7086
7122
  }
7087
7123
  }
@@ -7089,9 +7125,9 @@ declare module "@tiptap/core" {
7089
7125
 
7090
7126
  declare module "@tiptap/core" {
7091
7127
  interface Commands<ReturnType> {
7092
- enhanceHighlight: {
7093
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
7094
- clearEnhanceHighlight: () => ReturnType;
7128
+ aiBlock: {
7129
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
7130
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
7095
7131
  };
7096
7132
  }
7097
7133
  }
@@ -7124,8 +7160,3 @@ declare module "@tiptap/core" {
7124
7160
  };
7125
7161
  }
7126
7162
  }
7127
-
7128
-
7129
- declare namespace Calendar {
7130
- var displayName: string;
7131
- }