@factorialco/f0-react 8.4.0 → 8.6.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.
Files changed (30) hide show
  1. package/dist/{ChatPdfThumbnail-CVnpciH6.js → ChatPdfThumbnail-VP-cfGR2.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-Dtnvl7ba.js → ChatPostComposerDialog-CbOGdBUl.js} +3 -3
  3. package/dist/{DocumentToolbar-O693bl3f.js → DocumentToolbar-ChGsNWeY.js} +2 -2
  4. package/dist/{DocxViewer-WTgh5A1f.js → DocxViewer-BSM66Yl8.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-CzSB2LO4.js → F0AiProcessingOverlay-DSqrHg0P.js} +1 -1
  6. package/dist/{F0CanvasPanel-BJXetkJd.js → F0CanvasPanel-Cnv8Z0Bu.js} +17286 -17200
  7. package/dist/{F0Map-4ViiMQSk.js → F0Map-BwHOdoOf.js} +4 -4
  8. package/dist/{F0VideoPlayer-D0yWIaUD.js → F0VideoPlayer-BsHtSkls.js} +2 -2
  9. package/dist/{MapProvider-C84jne3O.js → MapProvider-D-1EWW6K.js} +8145 -7990
  10. package/dist/{SheetViewer-DUft1Ohd.js → SheetViewer-BkXGvx3-.js} +2 -2
  11. package/dist/{TextViewer-CvzooBWI.js → TextViewer-DG_z6Grk.js} +2 -2
  12. package/dist/ai.d.ts +18 -18
  13. package/dist/ai.js +2 -2
  14. package/dist/component-status.d.ts +18 -18
  15. package/dist/component-status.js +1 -1
  16. package/dist/{experimental-SH5u5OFs.js → experimental-CEfFcp92.js} +7 -7
  17. package/dist/experimental.d.ts +43 -20
  18. package/dist/experimental.js +4 -4
  19. package/dist/f0.d.ts +63 -21
  20. package/dist/f0.js +10 -10
  21. package/dist/i18n-provider-defaults.d.ts +18 -18
  22. package/dist/{index-BOqArG0M.js → index-BmnqXsR0.js} +2 -2
  23. package/dist/{index-Cj48-P_6.js → index-CpP8SQvS.js} +3 -3
  24. package/dist/{index-CZMT_8vp.js → index-Da5-UhV8.js} +1 -1
  25. package/dist/{index-CI4HFlA1.js → index-TWffqlKx.js} +3 -3
  26. package/dist/index-VXloamRw.js +4 -0
  27. package/dist/{pdfWorker-J0U9pY7G.js → pdfWorker-BD-OjWu-.js} +2 -2
  28. package/dist/styles.css +1 -1
  29. package/package.json +1 -1
  30. package/dist/index-BTZ9wcj-.js +0 -4
@@ -1,8 +1,8 @@
1
1
  import { jsxs as a, jsx as r, Fragment as N } from "react/jsx-runtime";
2
2
  import { useState as i, useEffect as k } from "react";
3
- import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-BJXetkJd.js";
3
+ import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-Cnv8Z0Bu.js";
4
4
  import { f as z, c as E } from "./sheetPreview-Djc-YyVs.js";
5
- import { u as _, D as j } from "./DocumentToolbar-O693bl3f.js";
5
+ import { u as _, D as j } from "./DocumentToolbar-ChGsNWeY.js";
6
6
  const g = 1e3, F = 100, G = ({
7
7
  url: n,
8
8
  filename: y,
@@ -1,7 +1,7 @@
1
1
  import { jsxs as b, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as _, useEffect as h } from "react";
3
- import { u as x, S as p, p as w } from "./F0CanvasPanel-BJXetkJd.js";
4
- import { u as y, D as g } from "./DocumentToolbar-O693bl3f.js";
3
+ import { u as x, S as p, p as w } from "./F0CanvasPanel-Cnv8Z0Bu.js";
4
+ import { u as y, D as g } from "./DocumentToolbar-ChGsNWeY.js";
5
5
  const k = 2 * 1024 * 1024, v = [
6
6
  "[&_h1]:mb-3 [&_h1]:mt-6 [&_h1]:text-2xl [&_h1]:font-semibold",
7
7
  "[&_h2]:mb-2 [&_h2]:mt-5 [&_h2]:text-xl [&_h2]:font-semibold",
package/dist/ai.d.ts CHANGED
@@ -6761,11 +6761,9 @@ declare namespace Calendar {
6761
6761
 
6762
6762
  declare module "@tiptap/core" {
6763
6763
  interface Commands<ReturnType> {
6764
- enhanceHighlight: {
6765
- setEnhanceHighlight: (from: number, to: number, options?: {
6766
- placeholder?: string;
6767
- }) => ReturnType;
6768
- clearEnhanceHighlight: () => ReturnType;
6764
+ aiBlock: {
6765
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
6766
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
6769
6767
  };
6770
6768
  }
6771
6769
  }
@@ -6773,10 +6771,11 @@ declare module "@tiptap/core" {
6773
6771
 
6774
6772
  declare module "@tiptap/core" {
6775
6773
  interface Commands<ReturnType> {
6776
- indent: {
6777
- setIndent: (level: number) => ReturnType;
6778
- unsetIndent: () => ReturnType;
6779
- outdent: () => ReturnType;
6774
+ enhanceHighlight: {
6775
+ setEnhanceHighlight: (from: number, to: number, options?: {
6776
+ placeholder?: string;
6777
+ }) => ReturnType;
6778
+ clearEnhanceHighlight: () => ReturnType;
6780
6779
  };
6781
6780
  }
6782
6781
  }
@@ -6794,9 +6793,10 @@ declare module "@tiptap/core" {
6794
6793
 
6795
6794
  declare module "@tiptap/core" {
6796
6795
  interface Commands<ReturnType> {
6797
- aiBlock: {
6798
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
6799
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
6796
+ indent: {
6797
+ setIndent: (level: number) => ReturnType;
6798
+ unsetIndent: () => ReturnType;
6799
+ outdent: () => ReturnType;
6800
6800
  };
6801
6801
  }
6802
6802
  }
@@ -6813,8 +6813,10 @@ declare module "@tiptap/core" {
6813
6813
 
6814
6814
  declare module "@tiptap/core" {
6815
6815
  interface Commands<ReturnType> {
6816
- transcript: {
6817
- insertTranscript: (data: TranscriptData) => ReturnType;
6816
+ videoEmbed: {
6817
+ setVideoEmbed: (options: {
6818
+ src: string;
6819
+ }) => ReturnType;
6818
6820
  };
6819
6821
  }
6820
6822
  }
@@ -6822,10 +6824,8 @@ declare module "@tiptap/core" {
6822
6824
 
6823
6825
  declare module "@tiptap/core" {
6824
6826
  interface Commands<ReturnType> {
6825
- videoEmbed: {
6826
- setVideoEmbed: (options: {
6827
- src: string;
6828
- }) => ReturnType;
6827
+ transcript: {
6828
+ insertTranscript: (data: TranscriptData) => ReturnType;
6829
6829
  };
6830
6830
  }
6831
6831
  }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as m } from "./F0CanvasPanel-BJXetkJd.js";
1
+ import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as m } from "./F0CanvasPanel-Cnv8Z0Bu.js";
2
2
  import { defaultTranslations as c } from "./i18n-provider-defaults.js";
3
- import { A as g, C as p, t as v, s as I, v as T, y as S, B as f, l as y, i as x, q as b, E as k, G as B, p as H, r as L, j as M, e as O, g as V, k as w, F as D, T as z, w as E, h as G, a as j, n as q, z as R, m as U, o as J, D as K, b as N, f as Q, x as W, c as X, d as Y, u as Z } from "./F0AiProcessingOverlay-CzSB2LO4.js";
3
+ import { A as g, C as p, t as v, s as I, v as T, y as S, B as f, l as y, i as x, q as b, E as k, G as B, p as H, r as L, j as M, e as O, g as V, k as w, F as D, T as z, w as E, h as G, a as j, n as q, z as R, m as U, o as J, D as K, b as N, f as Q, x as W, c as X, d as Y, u as Z } from "./F0AiProcessingOverlay-DSqrHg0P.js";
4
4
  export {
5
5
  g as AiChatTranslationsProvider,
6
6
  e as ChatSpinner,
@@ -296,11 +296,9 @@ declare namespace Calendar {
296
296
 
297
297
  declare module "@tiptap/core" {
298
298
  interface Commands<ReturnType> {
299
- enhanceHighlight: {
300
- setEnhanceHighlight: (from: number, to: number, options?: {
301
- placeholder?: string;
302
- }) => ReturnType;
303
- clearEnhanceHighlight: () => ReturnType;
299
+ aiBlock: {
300
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
301
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
304
302
  };
305
303
  }
306
304
  }
@@ -308,10 +306,11 @@ declare module "@tiptap/core" {
308
306
 
309
307
  declare module "@tiptap/core" {
310
308
  interface Commands<ReturnType> {
311
- indent: {
312
- setIndent: (level: number) => ReturnType;
313
- unsetIndent: () => ReturnType;
314
- outdent: () => ReturnType;
309
+ enhanceHighlight: {
310
+ setEnhanceHighlight: (from: number, to: number, options?: {
311
+ placeholder?: string;
312
+ }) => ReturnType;
313
+ clearEnhanceHighlight: () => ReturnType;
315
314
  };
316
315
  }
317
316
  }
@@ -329,9 +328,10 @@ declare module "@tiptap/core" {
329
328
 
330
329
  declare module "@tiptap/core" {
331
330
  interface Commands<ReturnType> {
332
- aiBlock: {
333
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
334
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
331
+ indent: {
332
+ setIndent: (level: number) => ReturnType;
333
+ unsetIndent: () => ReturnType;
334
+ outdent: () => ReturnType;
335
335
  };
336
336
  }
337
337
  }
@@ -348,8 +348,10 @@ declare module "@tiptap/core" {
348
348
 
349
349
  declare module "@tiptap/core" {
350
350
  interface Commands<ReturnType> {
351
- transcript: {
352
- insertTranscript: (data: TranscriptData) => ReturnType;
351
+ videoEmbed: {
352
+ setVideoEmbed: (options: {
353
+ src: string;
354
+ }) => ReturnType;
353
355
  };
354
356
  }
355
357
  }
@@ -357,10 +359,8 @@ declare module "@tiptap/core" {
357
359
 
358
360
  declare module "@tiptap/core" {
359
361
  interface Commands<ReturnType> {
360
- videoEmbed: {
361
- setVideoEmbed: (options: {
362
- src: string;
363
- }) => ReturnType;
362
+ transcript: {
363
+ insertTranscript: (data: TranscriptData) => ReturnType;
364
364
  };
365
365
  }
366
366
  }