@factorialco/f0-react 6.92.0 → 6.93.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/{ChatPdfThumbnail-B5AL0nrd.js → ChatPdfThumbnail-DlJ8lMdS.js} +1 -1
- package/dist/{CoachmarkProvider-BvHCC6U-.js → CoachmarkProvider-DiCvfQiv.js} +18779 -18560
- package/dist/{DocumentToolbar-Z04LbjLe.js → DocumentToolbar-DNQcONeP.js} +2 -2
- package/dist/{DocxViewer-DatEcuPj.js → DocxViewer-CD5LOQ0C.js} +2 -2
- package/dist/{F0AiProcessingOverlay-CIBXF0aA.js → F0AiProcessingOverlay-Ki2lYT6_.js} +2251 -2236
- package/dist/{F0CanvasPanel-BYk37H3S.js → F0CanvasPanel-CfmcbyHH.js} +29734 -29536
- package/dist/{F0VideoPlayer-ivv-8jRS.js → F0VideoPlayer-B0yLBZ02.js} +1 -1
- package/dist/{LocationMap-DJV-K2nH.js → LocationMap-DdflrLnM.js} +1 -1
- package/dist/{SheetViewer-DOPXx5v-.js → SheetViewer-BB5R4ynJ.js} +2 -2
- package/dist/{TextViewer-CLD0qUx1.js → TextViewer-CNVtakjJ.js} +2 -2
- package/dist/ai.d.ts +22 -16
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +16 -16
- package/dist/component-status.js +1 -1
- package/dist/{experimental-CjCTiapX.js → experimental-BiC_8-Mj.js} +8770 -8725
- package/dist/experimental.d.ts +16 -16
- package/dist/experimental.js +3 -3
- package/dist/f0.d.ts +34 -23
- package/dist/f0.js +10554 -10458
- package/dist/i18n-provider-defaults.d.ts +16 -16
- package/dist/index-2T_ZqKWj.js +4 -0
- package/dist/{index-C2ylL84h.js → index-B4q9e6bP.js} +3 -3
- package/dist/{pdfWorker-vVxORhXo.js → pdfWorker-BXbqwWmI.js} +2 -2
- package/package.json +1 -1
- package/dist/index-Bl4ay97j.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as W, t as je, v as Ge, m as $, x as Xe, y as Ze, z as qe, A as Ye, B as Je, E as Qe, G as et, H as tt, J as nt, K as rt, L as at, M as ot, N as ye, O as st, Q as Ce, l as it, R as ct, U as lt, V as ut, w as dt, r as ft } from "./F0CanvasPanel-
|
|
1
|
+
import { u as W, t as je, v as Ge, m as $, x as Xe, y as Ze, z as qe, A as Ye, B as Je, E as Qe, G as et, H as tt, J as nt, K as rt, L as at, M as ot, N as ye, O as st, Q as Ce, l as it, R as ct, U as lt, V as ut, w as dt, r as ft } from "./F0CanvasPanel-CfmcbyHH.js";
|
|
2
2
|
import { jsxs as S, jsx as c } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as re, useId as mt, useState as x, useRef as F, useEffect as N, useMemo as J, useCallback as T } from "react";
|
|
4
4
|
import { d as H, f as ue } from "./tooltip-CMBdJvJA.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { m } from "./experimental-
|
|
2
|
+
import { m } from "./experimental-BiC_8-Mj.js";
|
|
3
3
|
import { useRef as l, useEffect as i, useState as b } from "react";
|
|
4
4
|
const k = "https://tiles.openfreemap.org/styles/positron", y = "https://tiles.openfreemap.org/styles/dark", R = 15, d = (n) => {
|
|
5
5
|
const [c, s] = b(!1);
|
|
@@ -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-
|
|
3
|
+
import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-CfmcbyHH.js";
|
|
4
4
|
import { f as z, c as E } from "./sheetPreview-Djc-YyVs.js";
|
|
5
|
-
import { u as _, D as j } from "./DocumentToolbar-
|
|
5
|
+
import { u as _, D as j } from "./DocumentToolbar-DNQcONeP.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-
|
|
4
|
-
import { u as y, D as g } from "./DocumentToolbar-
|
|
3
|
+
import { u as x, S as p, p as w } from "./F0CanvasPanel-CfmcbyHH.js";
|
|
4
|
+
import { u as y, D as g } from "./DocumentToolbar-DNQcONeP.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
|
@@ -1135,6 +1135,9 @@ declare type CanvasCardAction = {
|
|
|
1135
1135
|
hideLabel?: boolean;
|
|
1136
1136
|
};
|
|
1137
1137
|
|
|
1138
|
+
/** The card's own control: open/close, or the host's custom action. */
|
|
1139
|
+
declare const CanvasCardAction: ({ action, isActive, }: Pick<F0CanvasCardProps, "action" | "isActive">) => JSX_2.Element | null;
|
|
1140
|
+
|
|
1138
1141
|
declare type CanvasCardAvatar = {
|
|
1139
1142
|
type: "module";
|
|
1140
1143
|
module: ModuleId;
|
|
@@ -1146,6 +1149,9 @@ declare type CanvasCardAvatar = {
|
|
|
1146
1149
|
icon: IconType;
|
|
1147
1150
|
};
|
|
1148
1151
|
|
|
1152
|
+
/** Whichever avatar the card was given: a module, a file, or an icon. */
|
|
1153
|
+
declare const CanvasCardAvatar: ({ avatar }: Pick<F0CanvasCardProps, "avatar">) => JSX_2.Element | null;
|
|
1154
|
+
|
|
1149
1155
|
/**
|
|
1150
1156
|
* Discriminated union for canvas panel content.
|
|
1151
1157
|
* Add new entity types to this union as they are implemented.
|
|
@@ -5783,6 +5789,16 @@ declare namespace Calendar {
|
|
|
5783
5789
|
}
|
|
5784
5790
|
|
|
5785
5791
|
|
|
5792
|
+
declare module "@tiptap/core" {
|
|
5793
|
+
interface Commands<ReturnType> {
|
|
5794
|
+
aiBlock: {
|
|
5795
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
5796
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
5797
|
+
};
|
|
5798
|
+
}
|
|
5799
|
+
}
|
|
5800
|
+
|
|
5801
|
+
|
|
5786
5802
|
declare module "@tiptap/core" {
|
|
5787
5803
|
interface Commands<ReturnType> {
|
|
5788
5804
|
enhanceHighlight: {
|
|
@@ -5805,16 +5821,6 @@ declare module "@tiptap/core" {
|
|
|
5805
5821
|
}
|
|
5806
5822
|
|
|
5807
5823
|
|
|
5808
|
-
declare module "@tiptap/core" {
|
|
5809
|
-
interface Commands<ReturnType> {
|
|
5810
|
-
aiBlock: {
|
|
5811
|
-
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
5812
|
-
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
5813
|
-
};
|
|
5814
|
-
}
|
|
5815
|
-
}
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
5824
|
declare module "@tiptap/core" {
|
|
5819
5825
|
interface Commands<ReturnType> {
|
|
5820
5826
|
indent: {
|
|
@@ -5837,8 +5843,10 @@ declare module "@tiptap/core" {
|
|
|
5837
5843
|
|
|
5838
5844
|
declare module "@tiptap/core" {
|
|
5839
5845
|
interface Commands<ReturnType> {
|
|
5840
|
-
|
|
5841
|
-
|
|
5846
|
+
videoEmbed: {
|
|
5847
|
+
setVideoEmbed: (options: {
|
|
5848
|
+
src: string;
|
|
5849
|
+
}) => ReturnType;
|
|
5842
5850
|
};
|
|
5843
5851
|
}
|
|
5844
5852
|
}
|
|
@@ -5846,10 +5854,8 @@ declare module "@tiptap/core" {
|
|
|
5846
5854
|
|
|
5847
5855
|
declare module "@tiptap/core" {
|
|
5848
5856
|
interface Commands<ReturnType> {
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
src: string;
|
|
5852
|
-
}) => ReturnType;
|
|
5857
|
+
transcript: {
|
|
5858
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
5853
5859
|
};
|
|
5854
5860
|
}
|
|
5855
5861
|
}
|
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 h } from "./F0CanvasPanel-
|
|
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 h } from "./F0CanvasPanel-CfmcbyHH.js";
|
|
2
2
|
import { defaultTranslations as c } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-
|
|
3
|
+
import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-Ki2lYT6_.js";
|
|
4
4
|
export {
|
|
5
5
|
P as AiChatTranslationsProvider,
|
|
6
6
|
e as ChatSpinner,
|
|
@@ -294,6 +294,16 @@ declare namespace Calendar {
|
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
|
|
297
|
+
declare module "@tiptap/core" {
|
|
298
|
+
interface Commands<ReturnType> {
|
|
299
|
+
aiBlock: {
|
|
300
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
301
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
302
|
+
};
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
|
|
297
307
|
declare module "@tiptap/core" {
|
|
298
308
|
interface Commands<ReturnType> {
|
|
299
309
|
enhanceHighlight: {
|
|
@@ -316,16 +326,6 @@ declare module "@tiptap/core" {
|
|
|
316
326
|
}
|
|
317
327
|
|
|
318
328
|
|
|
319
|
-
declare module "@tiptap/core" {
|
|
320
|
-
interface Commands<ReturnType> {
|
|
321
|
-
aiBlock: {
|
|
322
|
-
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
323
|
-
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
324
|
-
};
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
|
|
329
329
|
declare module "@tiptap/core" {
|
|
330
330
|
interface Commands<ReturnType> {
|
|
331
331
|
indent: {
|
|
@@ -348,8 +348,10 @@ declare module "@tiptap/core" {
|
|
|
348
348
|
|
|
349
349
|
declare module "@tiptap/core" {
|
|
350
350
|
interface Commands<ReturnType> {
|
|
351
|
-
|
|
352
|
-
|
|
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
|
-
|
|
361
|
-
|
|
362
|
-
src: string;
|
|
363
|
-
}) => ReturnType;
|
|
362
|
+
transcript: {
|
|
363
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
364
364
|
};
|
|
365
365
|
}
|
|
366
366
|
}
|