@factorialco/f0-react 2.28.0 → 2.28.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/{F0CanvasPanel-5xCiLQgH.js → F0CanvasPanel-CKuB_a-C.js} +25795 -24160
- package/dist/ai.d.ts +31 -12
- package/dist/ai.js +15 -14
- package/dist/experimental.d.ts +20 -12
- package/dist/experimental.js +141 -141
- package/dist/f0.d.ts +31 -12
- package/dist/f0.js +230 -229
- package/dist/i18n-provider-defaults.d.ts +13 -12
- package/dist/i18n-provider-defaults.js +1 -0
- package/dist/styles.css +1 -1
- package/dist/{useChatHistory-D6KnQGF3.js → useChatHistory-DHc7fgQg.js} +4796 -3950
- package/dist/{useDataCollectionSource-DtX_WySE.js → useDataCollectionSource-CE-st2Wf.js} +12934 -14558
- package/package.json +1 -1
|
@@ -474,6 +474,7 @@ export declare const defaultTranslations: {
|
|
|
474
474
|
readonly attachFile: "Attach file";
|
|
475
475
|
readonly removeFile: "Remove";
|
|
476
476
|
readonly fileUploadError: "Upload failed";
|
|
477
|
+
readonly fileUploadBlockedSubmit: "Your message wasn't sent because one of the attachments failed to upload. Remove it or retry.";
|
|
477
478
|
readonly tooManyFilesError: "You can attach up to {{maxFiles}} files at once";
|
|
478
479
|
readonly dropFilesHere: "Drop your files here";
|
|
479
480
|
readonly reply: "Reply";
|
|
@@ -843,9 +844,9 @@ declare module "gridstack" {
|
|
|
843
844
|
|
|
844
845
|
declare module "@tiptap/core" {
|
|
845
846
|
interface Commands<ReturnType> {
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
847
|
+
enhanceHighlight: {
|
|
848
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
849
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
849
850
|
};
|
|
850
851
|
}
|
|
851
852
|
}
|
|
@@ -853,9 +854,9 @@ declare module "@tiptap/core" {
|
|
|
853
854
|
|
|
854
855
|
declare module "@tiptap/core" {
|
|
855
856
|
interface Commands<ReturnType> {
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
857
|
+
aiBlock: {
|
|
858
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
859
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
859
860
|
};
|
|
860
861
|
}
|
|
861
862
|
}
|
|
@@ -872,10 +873,8 @@ declare module "@tiptap/core" {
|
|
|
872
873
|
|
|
873
874
|
declare module "@tiptap/core" {
|
|
874
875
|
interface Commands<ReturnType> {
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
src: string;
|
|
878
|
-
}) => ReturnType;
|
|
876
|
+
transcript: {
|
|
877
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
879
878
|
};
|
|
880
879
|
}
|
|
881
880
|
}
|
|
@@ -883,8 +882,10 @@ declare module "@tiptap/core" {
|
|
|
883
882
|
|
|
884
883
|
declare module "@tiptap/core" {
|
|
885
884
|
interface Commands<ReturnType> {
|
|
886
|
-
|
|
887
|
-
|
|
885
|
+
videoEmbed: {
|
|
886
|
+
setVideoEmbed: (options: {
|
|
887
|
+
src: string;
|
|
888
|
+
}) => ReturnType;
|
|
888
889
|
};
|
|
889
890
|
}
|
|
890
891
|
}
|
|
@@ -474,6 +474,7 @@ const e = {
|
|
|
474
474
|
attachFile: "Attach file",
|
|
475
475
|
removeFile: "Remove",
|
|
476
476
|
fileUploadError: "Upload failed",
|
|
477
|
+
fileUploadBlockedSubmit: "Your message wasn't sent because one of the attachments failed to upload. Remove it or retry.",
|
|
477
478
|
tooManyFilesError: "You can attach up to {{maxFiles}} files at once",
|
|
478
479
|
dropFilesHere: "Drop your files here",
|
|
479
480
|
reply: "Reply",
|