@factorialco/f0-react 7.30.0 → 7.32.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 +42 -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 +88 -16
  18. package/dist/experimental.js +79 -78
  19. package/dist/f0.d.ts +350 -30
  20. package/dist/f0.js +8402 -8249
  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
@@ -1686,6 +1686,18 @@ export declare interface ChatDashboardScatterChartConfig {
1686
1686
  xAxisName?: string;
1687
1687
  /** What the Y measure is, e.g. "tenure" — labels the y row in the tooltip */
1688
1688
  yAxisName?: string;
1689
+ /** Pin the X axis bounds, e.g. 0 and 100 for a percentage */
1690
+ xAxisMin?: number;
1691
+ xAxisMax?: number;
1692
+ /** Pin the Y axis bounds, e.g. 1 and 5 for a rating */
1693
+ yAxisMin?: number;
1694
+ yAxisMax?: number;
1695
+ /** Print each point's label next to it. @default false */
1696
+ showPointLabels?: boolean;
1697
+ /** Merge points on nearly the same spot; hover lists them. @default false */
1698
+ groupNearbyPoints?: boolean;
1699
+ /** Render the axis names as axis titles. @default false */
1700
+ showAxisNames?: boolean;
1689
1701
  /** Formats the Y measure */
1690
1702
  valueFormat?: FormatPreset;
1691
1703
  /** Formats the X measure, which is a second measure rather than a category */
@@ -2460,6 +2472,9 @@ export declare const defaultTranslations: {
2460
2472
  };
2461
2473
  readonly toc: {
2462
2474
  readonly search: "Search...";
2475
+ readonly noResults: "No matches.";
2476
+ readonly moreResults: "+{{count}} more";
2477
+ readonly resultsCount: "{{count}} results";
2463
2478
  };
2464
2479
  readonly collections: {
2465
2480
  readonly sorting: {
@@ -3324,6 +3339,19 @@ export declare const defaultTranslations: {
3324
3339
  readonly other: "{{count}} issues";
3325
3340
  };
3326
3341
  };
3342
+ readonly sections: {
3343
+ readonly search: {
3344
+ readonly placeholder: "Search this record";
3345
+ readonly noResults: "No field matches.";
3346
+ readonly moreResults: "+{{count}} more";
3347
+ readonly resultsCount: "{{count}} fields";
3348
+ };
3349
+ };
3350
+ readonly inline: {
3351
+ readonly edit: "Edit {{label}}";
3352
+ readonly copy: "Copy {{label}}";
3353
+ readonly copied: "Copied {{label}}";
3354
+ };
3327
3355
  readonly file: {
3328
3356
  readonly dropzone: "Drag and drop a file, or click to select";
3329
3357
  readonly dropzoneActive: "Drop the file here";
@@ -6157,11 +6185,9 @@ declare namespace Calendar {
6157
6185
 
6158
6186
  declare module "@tiptap/core" {
6159
6187
  interface Commands<ReturnType> {
6160
- enhanceHighlight: {
6161
- setEnhanceHighlight: (from: number, to: number, options?: {
6162
- placeholder?: string;
6163
- }) => ReturnType;
6164
- clearEnhanceHighlight: () => ReturnType;
6188
+ aiBlock: {
6189
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
6190
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
6165
6191
  };
6166
6192
  }
6167
6193
  }
@@ -6169,9 +6195,11 @@ declare module "@tiptap/core" {
6169
6195
 
6170
6196
  declare module "@tiptap/core" {
6171
6197
  interface Commands<ReturnType> {
6172
- aiBlock: {
6173
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
6174
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
6198
+ enhanceHighlight: {
6199
+ setEnhanceHighlight: (from: number, to: number, options?: {
6200
+ placeholder?: string;
6201
+ }) => ReturnType;
6202
+ clearEnhanceHighlight: () => ReturnType;
6175
6203
  };
6176
6204
  }
6177
6205
  }
@@ -6209,10 +6237,8 @@ declare module "@tiptap/core" {
6209
6237
 
6210
6238
  declare module "@tiptap/core" {
6211
6239
  interface Commands<ReturnType> {
6212
- videoEmbed: {
6213
- setVideoEmbed: (options: {
6214
- src: string;
6215
- }) => ReturnType;
6240
+ transcript: {
6241
+ insertTranscript: (data: TranscriptData) => ReturnType;
6216
6242
  };
6217
6243
  }
6218
6244
  }
@@ -6220,8 +6246,10 @@ declare module "@tiptap/core" {
6220
6246
 
6221
6247
  declare module "@tiptap/core" {
6222
6248
  interface Commands<ReturnType> {
6223
- transcript: {
6224
- insertTranscript: (data: TranscriptData) => ReturnType;
6249
+ videoEmbed: {
6250
+ setVideoEmbed: (options: {
6251
+ src: string;
6252
+ }) => ReturnType;
6225
6253
  };
6226
6254
  }
6227
6255
  }
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
  }