@factorialco/f0-react 3.0.1 → 3.1.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/{F0CanvasPanel-nz2dQz9Z.js → F0CanvasPanel-z8xqI8tX.js} +24863 -24403
- package/dist/F0CanvasPanel.css +1 -1
- package/dist/ai.d.ts +42 -43
- package/dist/ai.js +21 -21
- package/dist/experimental.d.ts +245 -217
- package/dist/experimental.js +75 -70
- package/dist/f0.d.ts +223 -238
- package/dist/f0.js +1857 -1852
- package/dist/i18n-provider-defaults.d.ts +9 -7
- package/dist/i18n-provider-defaults.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/{useChatHistory-DceLgsyD.js → useChatHistory-0yvpUg-H.js} +3734 -4203
- package/dist/{useDataCollectionSource-DhEZxBan.js → useDataCollectionSource-D0BqJ0ux.js} +14875 -14415
- package/package.json +1 -1
- package/dist/useChatHistory.css +0 -1
|
@@ -704,7 +704,7 @@ export declare const defaultTranslations: {
|
|
|
704
704
|
readonly blocks: "Blocks";
|
|
705
705
|
};
|
|
706
706
|
readonly ai: {
|
|
707
|
-
readonly enhanceButtonLabel: "
|
|
707
|
+
readonly enhanceButtonLabel: "Generate";
|
|
708
708
|
readonly loadingEnhanceLabel: "Loading...";
|
|
709
709
|
readonly defaultError: "An error occurred while loading";
|
|
710
710
|
readonly closeErrorButtonLabel: "Continue editing";
|
|
@@ -876,9 +876,9 @@ declare namespace Calendar {
|
|
|
876
876
|
|
|
877
877
|
declare module "@tiptap/core" {
|
|
878
878
|
interface Commands<ReturnType> {
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
879
|
+
aiBlock: {
|
|
880
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
881
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
882
882
|
};
|
|
883
883
|
}
|
|
884
884
|
}
|
|
@@ -886,9 +886,11 @@ declare module "@tiptap/core" {
|
|
|
886
886
|
|
|
887
887
|
declare module "@tiptap/core" {
|
|
888
888
|
interface Commands<ReturnType> {
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
889
|
+
enhanceHighlight: {
|
|
890
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
891
|
+
placeholder?: string;
|
|
892
|
+
}) => ReturnType;
|
|
893
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
892
894
|
};
|
|
893
895
|
}
|
|
894
896
|
}
|
|
@@ -704,7 +704,7 @@ const e = {
|
|
|
704
704
|
blocks: "Blocks"
|
|
705
705
|
},
|
|
706
706
|
ai: {
|
|
707
|
-
enhanceButtonLabel: "
|
|
707
|
+
enhanceButtonLabel: "Generate",
|
|
708
708
|
loadingEnhanceLabel: "Loading...",
|
|
709
709
|
defaultError: "An error occurred while loading",
|
|
710
710
|
closeErrorButtonLabel: "Continue editing",
|