@factorialco/f0-react 6.38.1 → 6.51.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.
Files changed (27) hide show
  1. package/dist/{ChatPdfThumbnail-BylbDvdh.js → ChatPdfThumbnail-BtJNIR03.js} +1 -1
  2. package/dist/{CoachmarkProvider-DDlkiieh.js → CoachmarkProvider-D1crauDt.js} +17536 -17054
  3. package/dist/{DocumentToolbar-C73oFj5j.js → DocumentToolbar-CYIgumvP.js} +2 -2
  4. package/dist/{DocxViewer-DvhVvro8.js → DocxViewer-BYC6ILzw.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-O9iKzCzA.js → F0AiProcessingOverlay-B_jVVBb3.js} +1675 -1687
  6. package/dist/{F0CanvasPanel-x0HG1lL2.js → F0CanvasPanel-D9QM6A5c.js} +24585 -24368
  7. package/dist/{F0VideoPlayer-CNLDjvWx.js → F0VideoPlayer-Czdae49M.js} +1 -1
  8. package/dist/{LocationMap-B9uJiP6s.js → LocationMap-_ELkGzce.js} +1 -1
  9. package/dist/{SheetViewer-Cb3M0JfB.js → SheetViewer-rS-lxOWo.js} +2 -2
  10. package/dist/{TextViewer-zWnCj_Ll.js → TextViewer-D_ddwlEE.js} +2 -2
  11. package/dist/ai.d.ts +32 -8
  12. package/dist/ai.js +2 -2
  13. package/dist/component-status.d.ts +6 -6
  14. package/dist/component-status.js +4 -4
  15. package/dist/{experimental-AwqVvQnQ.js → experimental-BsGKnyna.js} +12830 -12549
  16. package/dist/experimental.d.ts +485 -35
  17. package/dist/experimental.js +210 -205
  18. package/dist/f0.d.ts +296 -32
  19. package/dist/f0.js +16453 -15755
  20. package/dist/i18n-provider-defaults.d.ts +16 -6
  21. package/dist/i18n-provider-defaults.js +11 -1
  22. package/dist/index-C3HrVTrD.js +4 -0
  23. package/dist/{index-B9tGQBrU.js → index-CBvQMzjP.js} +3 -3
  24. package/dist/{pdfWorker-Bb9OLhh-.js → pdfWorker-BpY_xYql.js} +2 -2
  25. package/dist/styles.css +1 -1
  26. package/package.json +1 -1
  27. package/dist/index-DfvLN3Ea.js +0 -4
@@ -491,6 +491,8 @@ export declare const defaultTranslations: {
491
491
  readonly hideAllColumns: "Hide all";
492
492
  readonly addColumn: "Add column";
493
493
  readonly removeColumn: "Remove column";
494
+ readonly lockColumn: "Lock column: {{label}}";
495
+ readonly unlockColumn: "Unlock column: {{label}}";
494
496
  };
495
497
  };
496
498
  readonly editableTable: {
@@ -696,6 +698,13 @@ export declare const defaultTranslations: {
696
698
  readonly exporting: "Exporting…";
697
699
  };
698
700
  readonly dashboardItem: {
701
+ /**
702
+ * Deliberately not `ai.ask` ("Ask One" by default here, but hosts
703
+ * override it — factorial renders it as plain "Ask" for the widget and
704
+ * insight-card buttons). This menu entry needs the product name spelled
705
+ * out, so it owns its own key.
706
+ */
707
+ readonly askOne: "Ask One";
699
708
  readonly chartType: "Chart type";
700
709
  readonly errorTitle: "Error loading data";
701
710
  readonly retry: "Retry";
@@ -728,6 +737,7 @@ export declare const defaultTranslations: {
728
737
  readonly fileUploadBlockedSubmit: "Your message wasn't sent because one of the attachments failed to upload. Remove it or retry.";
729
738
  readonly tooManyFilesError: "You can attach up to {{maxFiles}} files at once";
730
739
  readonly dropFilesHere: "Drop your files here";
740
+ readonly dropWidgetToDiscuss: "Drop here to discuss with One";
731
741
  readonly reply: "Reply";
732
742
  readonly removeQuote: "Remove quote";
733
743
  readonly clarifyingQuestion: {
@@ -1361,10 +1371,8 @@ declare module "@tiptap/core" {
1361
1371
 
1362
1372
  declare module "@tiptap/core" {
1363
1373
  interface Commands<ReturnType> {
1364
- videoEmbed: {
1365
- setVideoEmbed: (options: {
1366
- src: string;
1367
- }) => ReturnType;
1374
+ transcript: {
1375
+ insertTranscript: (data: TranscriptData) => ReturnType;
1368
1376
  };
1369
1377
  }
1370
1378
  }
@@ -1372,8 +1380,10 @@ declare module "@tiptap/core" {
1372
1380
 
1373
1381
  declare module "@tiptap/core" {
1374
1382
  interface Commands<ReturnType> {
1375
- transcript: {
1376
- insertTranscript: (data: TranscriptData) => ReturnType;
1383
+ videoEmbed: {
1384
+ setVideoEmbed: (options: {
1385
+ src: string;
1386
+ }) => ReturnType;
1377
1387
  };
1378
1388
  }
1379
1389
  }
@@ -490,7 +490,9 @@ const e = {
490
490
  showAllColumns: "Show all",
491
491
  hideAllColumns: "Hide all",
492
492
  addColumn: "Add column",
493
- removeColumn: "Remove column"
493
+ removeColumn: "Remove column",
494
+ lockColumn: "Lock column: {{label}}",
495
+ unlockColumn: "Unlock column: {{label}}"
494
496
  }
495
497
  },
496
498
  editableTable: {
@@ -696,6 +698,13 @@ const e = {
696
698
  exporting: "Exporting…"
697
699
  },
698
700
  dashboardItem: {
701
+ /**
702
+ * Deliberately not `ai.ask` ("Ask One" by default here, but hosts
703
+ * override it — factorial renders it as plain "Ask" for the widget and
704
+ * insight-card buttons). This menu entry needs the product name spelled
705
+ * out, so it owns its own key.
706
+ */
707
+ askOne: "Ask One",
699
708
  chartType: "Chart type",
700
709
  errorTitle: "Error loading data",
701
710
  retry: "Retry",
@@ -728,6 +737,7 @@ const e = {
728
737
  fileUploadBlockedSubmit: "Your message wasn't sent because one of the attachments failed to upload. Remove it or retry.",
729
738
  tooManyFilesError: "You can attach up to {{maxFiles}} files at once",
730
739
  dropFilesHere: "Drop your files here",
740
+ dropWidgetToDiscuss: "Drop here to discuss with One",
731
741
  reply: "Reply",
732
742
  removeQuote: "Remove quote",
733
743
  clarifyingQuestion: {
@@ -0,0 +1,4 @@
1
+ import { F as r } from "./F0VideoPlayer-Czdae49M.js";
2
+ export {
3
+ r as F0VideoPlayer
4
+ };
@@ -1,7 +1,7 @@
1
- import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-x0HG1lL2.js";
1
+ import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-D9QM6A5c.js";
2
2
  import { jsx as t, jsxs as y } from "react/jsx-runtime";
3
3
  import { lazy as J, forwardRef as ne, Suspense as He, useState as V, useRef as A, useMemo as te, useCallback as w, useEffect as T } from "react";
4
- import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-Bb9OLhh-.js";
4
+ import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-BpY_xYql.js";
5
5
  import { F as We } from "./Printer-BD-FEi_2.js";
6
6
  import { d as ae } from "./tooltip-DTpaXpXW.js";
7
7
  import './index.css';const Oe = ({
@@ -222,7 +222,7 @@ import './index.css';const Oe = ({
222
222
  }), i;
223
223
  };
224
224
  Ee();
225
- const qe = J(() => import("./SheetViewer-Cb3M0JfB.js")), Ge = J(() => import("./DocxViewer-DvhVvro8.js")), Ze = J(() => import("./TextViewer-zWnCj_Ll.js")), oe = 48, se = ne(
225
+ const qe = J(() => import("./SheetViewer-rS-lxOWo.js")), Ge = J(() => import("./DocxViewer-BYC6ILzw.js")), Ze = J(() => import("./TextViewer-D_ddwlEE.js")), oe = 48, se = ne(
226
226
  (o, a) => {
227
227
  const { kind: e = "pdf", mimeType: i, ...l } = o;
228
228
  if (e === "pdf") return /* @__PURE__ */ t(le, { ref: a, ...l });
@@ -1,8 +1,8 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { createContext, useReducer, forwardRef, useRef, useImperativeHandle, useEffect, useCallback, useMemo, useContext, useLayoutEffect } from "react";
3
3
  import { e as clsx } from "./tooltip-DTpaXpXW.js";
4
- import { W as invariant } from "./F0CanvasPanel-x0HG1lL2.js";
5
- import { d as dequal } from "./CoachmarkProvider-DDlkiieh.js";
4
+ import { W as invariant } from "./F0CanvasPanel-D9QM6A5c.js";
5
+ import { d as dequal } from "./CoachmarkProvider-D1crauDt.js";
6
6
  import { a as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./_commonjsHelpers-ByX85dGu.js";
7
7
  import { c as commonjsRequire } from "./_commonjs-dynamic-modules-BpilXLfW.js";
8
8
  import './pdfWorker.css';var pdf$1 = { exports: {} };