@factorialco/f0-react 7.30.0 → 7.31.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 (31) hide show
  1. package/dist/{ChatPdfThumbnail-DkJtoG16.js → ChatPdfThumbnail-Cg2_Torf.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-D2V5_4Qn.js → ChatPostComposerDialog-D9vt19Do.js} +3 -3
  3. package/dist/{DocumentToolbar-18QMNCIk.js → DocumentToolbar-VcjNLI2W.js} +2 -2
  4. package/dist/{DocxViewer-Bdwvw9nT.js → DocxViewer-B_vuIwqx.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-BVQ4_pEu.js → F0AiProcessingOverlay-DT4-88F7.js} +1 -1
  6. package/dist/{F0CanvasPanel-C8cIM9Yr.js → F0CanvasPanel-BWGjNwSC.js} +21280 -21048
  7. package/dist/{F0Map-DSm4dkRh.js → F0Map-BAGn-Pbt.js} +4 -4
  8. package/dist/{F0VideoPlayer-B6lLIogs.js → F0VideoPlayer-BiPN02OV.js} +1 -1
  9. package/dist/{MapProvider-CEDmoxh-.js → MapProvider-DC2FAppw.js} +21675 -20103
  10. package/dist/{SheetViewer-DG84TuWc.js → SheetViewer-CW5aD1Gh.js} +2 -2
  11. package/dist/{TextViewer-DFSEOA-p.js → TextViewer-BoRCHEug.js} +2 -2
  12. package/dist/ai.d.ts +30 -14
  13. package/dist/ai.js +2 -2
  14. package/dist/component-status.d.ts +14 -14
  15. package/dist/component-status.js +5 -5
  16. package/dist/{experimental-NdTal_L8.js → experimental-BqvlI_rl.js} +7 -7
  17. package/dist/experimental.d.ts +76 -16
  18. package/dist/experimental.js +79 -78
  19. package/dist/f0.d.ts +302 -30
  20. package/dist/f0.js +3455 -3420
  21. package/dist/i18n-provider-defaults.d.ts +30 -14
  22. package/dist/i18n-provider-defaults.js +17 -1
  23. package/dist/{index-jy-prVvh.js → index-C63g3BaC.js} +3 -3
  24. package/dist/{index-DzawmKPN.js → index-CqgzgxRb.js} +2 -2
  25. package/dist/{index-DAtPHo1R.js → index-DFjMggw2.js} +3 -3
  26. package/dist/{index-0B5VeBG8.js → index-DgYKKlh1.js} +1 -1
  27. package/dist/index-U6-zZZzn.js +4 -0
  28. package/dist/{pdfWorker-BrZ5Yw8e.js → pdfWorker-BM17l5Gd.js} +2 -2
  29. package/dist/styles.css +1 -1
  30. package/package.json +1 -1
  31. package/dist/index-BXynxfxZ.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-C8cIM9Yr.js";
3
+ import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-BWGjNwSC.js";
4
4
  import { f as z, c as E } from "./sheetPreview-Djc-YyVs.js";
5
- import { u as _, D as j } from "./DocumentToolbar-18QMNCIk.js";
5
+ import { u as _, D as j } from "./DocumentToolbar-VcjNLI2W.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-C8cIM9Yr.js";
4
- import { u as y, D as g } from "./DocumentToolbar-18QMNCIk.js";
3
+ import { u as x, S as p, p as w } from "./F0CanvasPanel-BWGjNwSC.js";
4
+ import { u as y, D as g } from "./DocumentToolbar-VcjNLI2W.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
@@ -2460,6 +2460,9 @@ export declare const defaultTranslations: {
2460
2460
  };
2461
2461
  readonly toc: {
2462
2462
  readonly search: "Search...";
2463
+ readonly noResults: "No matches.";
2464
+ readonly moreResults: "+{{count}} more";
2465
+ readonly resultsCount: "{{count}} results";
2463
2466
  };
2464
2467
  readonly collections: {
2465
2468
  readonly sorting: {
@@ -3324,6 +3327,19 @@ export declare const defaultTranslations: {
3324
3327
  readonly other: "{{count}} issues";
3325
3328
  };
3326
3329
  };
3330
+ readonly sections: {
3331
+ readonly search: {
3332
+ readonly placeholder: "Search this record";
3333
+ readonly noResults: "No field matches.";
3334
+ readonly moreResults: "+{{count}} more";
3335
+ readonly resultsCount: "{{count}} fields";
3336
+ };
3337
+ };
3338
+ readonly inline: {
3339
+ readonly edit: "Edit {{label}}";
3340
+ readonly copy: "Copy {{label}}";
3341
+ readonly copied: "Copied {{label}}";
3342
+ };
3327
3343
  readonly file: {
3328
3344
  readonly dropzone: "Drag and drop a file, or click to select";
3329
3345
  readonly dropzoneActive: "Drop the file here";
@@ -6157,11 +6173,9 @@ declare namespace Calendar {
6157
6173
 
6158
6174
  declare module "@tiptap/core" {
6159
6175
  interface Commands<ReturnType> {
6160
- enhanceHighlight: {
6161
- setEnhanceHighlight: (from: number, to: number, options?: {
6162
- placeholder?: string;
6163
- }) => ReturnType;
6164
- clearEnhanceHighlight: () => ReturnType;
6176
+ aiBlock: {
6177
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
6178
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
6165
6179
  };
6166
6180
  }
6167
6181
  }
@@ -6169,9 +6183,11 @@ declare module "@tiptap/core" {
6169
6183
 
6170
6184
  declare module "@tiptap/core" {
6171
6185
  interface Commands<ReturnType> {
6172
- aiBlock: {
6173
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
6174
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
6186
+ enhanceHighlight: {
6187
+ setEnhanceHighlight: (from: number, to: number, options?: {
6188
+ placeholder?: string;
6189
+ }) => ReturnType;
6190
+ clearEnhanceHighlight: () => ReturnType;
6175
6191
  };
6176
6192
  }
6177
6193
  }
@@ -6209,10 +6225,8 @@ declare module "@tiptap/core" {
6209
6225
 
6210
6226
  declare module "@tiptap/core" {
6211
6227
  interface Commands<ReturnType> {
6212
- videoEmbed: {
6213
- setVideoEmbed: (options: {
6214
- src: string;
6215
- }) => ReturnType;
6228
+ transcript: {
6229
+ insertTranscript: (data: TranscriptData) => ReturnType;
6216
6230
  };
6217
6231
  }
6218
6232
  }
@@ -6220,8 +6234,10 @@ declare module "@tiptap/core" {
6220
6234
 
6221
6235
  declare module "@tiptap/core" {
6222
6236
  interface Commands<ReturnType> {
6223
- transcript: {
6224
- insertTranscript: (data: TranscriptData) => ReturnType;
6237
+ videoEmbed: {
6238
+ setVideoEmbed: (options: {
6239
+ src: string;
6240
+ }) => ReturnType;
6225
6241
  };
6226
6242
  }
6227
6243
  }
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-C8cIM9Yr.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-BWGjNwSC.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 f, z as y, l as S, i as x, q as b, D as k, E as B, p as H, r as L, j as O, e as V, g as w, k as D, F as M, T as z, w as E, h as j, a as q, n as G, m as R, o as U, B as J, b as K, f as N, x as Q, c as W, d as X, u as Y } from "./F0AiProcessingOverlay-BVQ4_pEu.js";
3
+ import { A as g, C as p, t as v, s as I, v as T, y as f, z as y, l as S, i as x, q as b, D as k, E as B, p as H, r as L, j as O, e as V, g as w, k as D, F as M, T as z, w as E, h as j, a as q, n as G, m as R, o as U, B as J, b as K, f as N, x as Q, c as W, d as X, u as Y } from "./F0AiProcessingOverlay-DT4-88F7.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,9 +306,11 @@ declare module "@tiptap/core" {
308
306
 
309
307
  declare module "@tiptap/core" {
310
308
  interface Commands<ReturnType> {
311
- aiBlock: {
312
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
313
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
309
+ enhanceHighlight: {
310
+ setEnhanceHighlight: (from: number, to: number, options?: {
311
+ placeholder?: string;
312
+ }) => ReturnType;
313
+ clearEnhanceHighlight: () => ReturnType;
314
314
  };
315
315
  }
316
316
  }
@@ -348,10 +348,8 @@ declare module "@tiptap/core" {
348
348
 
349
349
  declare module "@tiptap/core" {
350
350
  interface Commands<ReturnType> {
351
- videoEmbed: {
352
- setVideoEmbed: (options: {
353
- src: string;
354
- }) => ReturnType;
351
+ transcript: {
352
+ insertTranscript: (data: TranscriptData) => ReturnType;
355
353
  };
356
354
  }
357
355
  }
@@ -359,8 +357,10 @@ declare module "@tiptap/core" {
359
357
 
360
358
  declare module "@tiptap/core" {
361
359
  interface Commands<ReturnType> {
362
- transcript: {
363
- insertTranscript: (data: TranscriptData) => ReturnType;
360
+ videoEmbed: {
361
+ setVideoEmbed: (options: {
362
+ src: string;
363
+ }) => ReturnType;
364
364
  };
365
365
  }
366
366
  }