@factorialco/f0-react 3.11.0 → 3.12.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/ai.d.ts +6 -6
- package/dist/experimental.d.ts +16 -6
- package/dist/experimental.js +2 -2
- package/dist/f0.d.ts +16 -6
- package/dist/f0.js +2 -2
- package/dist/i18n-provider-defaults.d.ts +6 -6
- package/dist/{useDataCollectionSource-5Ik4-_94.js → useDataCollectionSource-DR8se7ko.js} +5751 -5722
- package/package.json +1 -1
package/dist/ai.d.ts
CHANGED
|
@@ -4739,8 +4739,10 @@ declare module "@tiptap/core" {
|
|
|
4739
4739
|
|
|
4740
4740
|
declare module "@tiptap/core" {
|
|
4741
4741
|
interface Commands<ReturnType> {
|
|
4742
|
-
|
|
4743
|
-
|
|
4742
|
+
videoEmbed: {
|
|
4743
|
+
setVideoEmbed: (options: {
|
|
4744
|
+
src: string;
|
|
4745
|
+
}) => ReturnType;
|
|
4744
4746
|
};
|
|
4745
4747
|
}
|
|
4746
4748
|
}
|
|
@@ -4748,10 +4750,8 @@ declare module "@tiptap/core" {
|
|
|
4748
4750
|
|
|
4749
4751
|
declare module "@tiptap/core" {
|
|
4750
4752
|
interface Commands<ReturnType> {
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
src: string;
|
|
4754
|
-
}) => ReturnType;
|
|
4753
|
+
transcript: {
|
|
4754
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
4755
4755
|
};
|
|
4756
4756
|
}
|
|
4757
4757
|
}
|
package/dist/experimental.d.ts
CHANGED
|
@@ -8475,6 +8475,14 @@ maxHeight?: number;
|
|
|
8475
8475
|
*/
|
|
8476
8476
|
export declare type TextareaProps = F0TextAreaInputProps;
|
|
8477
8477
|
|
|
8478
|
+
/** A button rendered in the footer at the bottom of the table of contents */
|
|
8479
|
+
export declare type TOCAction = {
|
|
8480
|
+
label: string;
|
|
8481
|
+
onClick: () => void;
|
|
8482
|
+
icon?: IconType;
|
|
8483
|
+
disabled?: boolean;
|
|
8484
|
+
};
|
|
8485
|
+
|
|
8478
8486
|
export declare type TOCItem<Depth extends 1 | 2 | 3 | 4 = 1> = BaseTOCItem & {
|
|
8479
8487
|
children?: NextDepth<Depth> extends never ? never : TOCItem<NextDepth<Depth>>[];
|
|
8480
8488
|
};
|
|
@@ -8555,6 +8563,8 @@ export declare interface TOCProps {
|
|
|
8555
8563
|
hideChildrenCounter?: boolean;
|
|
8556
8564
|
/** Enable vertical scrolling when content overflows (default: true) */
|
|
8557
8565
|
scrollable?: boolean;
|
|
8566
|
+
/** Action buttons pinned in a footer at the bottom of the panel */
|
|
8567
|
+
actions?: TOCAction[];
|
|
8558
8568
|
}
|
|
8559
8569
|
|
|
8560
8570
|
declare type toggleActionType = {
|
|
@@ -9527,8 +9537,10 @@ declare module "@tiptap/core" {
|
|
|
9527
9537
|
|
|
9528
9538
|
declare module "@tiptap/core" {
|
|
9529
9539
|
interface Commands<ReturnType> {
|
|
9530
|
-
|
|
9531
|
-
|
|
9540
|
+
videoEmbed: {
|
|
9541
|
+
setVideoEmbed: (options: {
|
|
9542
|
+
src: string;
|
|
9543
|
+
}) => ReturnType;
|
|
9532
9544
|
};
|
|
9533
9545
|
}
|
|
9534
9546
|
}
|
|
@@ -9536,10 +9548,8 @@ declare module "@tiptap/core" {
|
|
|
9536
9548
|
|
|
9537
9549
|
declare module "@tiptap/core" {
|
|
9538
9550
|
interface Commands<ReturnType> {
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
src: string;
|
|
9542
|
-
}) => ReturnType;
|
|
9551
|
+
transcript: {
|
|
9552
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
9543
9553
|
};
|
|
9544
9554
|
}
|
|
9545
9555
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -2,8 +2,8 @@ import { h as ga, B as pa, i as ba, j as xa, k as Dt, l as Be, m as Te, n as va,
|
|
|
2
2
|
import { c1 as Kc, c0 as qc, cd as Yc, bZ as Jc, b_ as Zc, bS as Xc, cg as Qc, bT as ed, bU as td, ch as nd, b$ as ad, c9 as rd, ca as id, ce as ld, bV as sd, c3 as od, c2 as cd, bW as dd, bX as ud, cb as fd, ci as md, cc as hd, cf as gd, c8 as pd, c5 as bd, c7 as xd, c4 as vd, bY as yd, c6 as wd } from "./F0CanvasPanel-DWqZRYSD.js";
|
|
3
3
|
import { jsx as e, jsxs as o, Fragment as Z } from "react/jsx-runtime";
|
|
4
4
|
import ue, { forwardRef as G, useRef as j, useTransition as ni, useState as D, useLayoutEffect as Tn, useId as pt, useContext as Pe, createContext as Qe, useEffect as W, useCallback as ne, useMemo as q, Fragment as ai, isValidElement as ri, cloneElement as zn, Children as Rn } from "react";
|
|
5
|
-
import { C as ii, P as li, a as Bn, M as si, p as oi, b as ci, R as Mt, c as $n, u as di, d as ui, e as fi, f as mi, g as hi, h as Mn, S as gi, A as pi, B as bi, L as xi, i as vi, V as yi, j as wi, k as Ni, l as Ci, O as Ii } from "./useDataCollectionSource-
|
|
6
|
-
import { r as Cd, s as Id, o as kd, H as Sd, t as Fd, z as Ad, a8 as Ld, G as Od, q as Pd, aa as Ed, a9 as _d, Q as Dd, ad as Td, F as zd, Y as Rd, U as Bd, J as $d, af as Md, K as Wd, Z as jd, _ as Vd, v as Ud, ab as Hd, ac as Gd, N as Kd, $ as qd, a5 as Yd, a7 as Jd, w as Zd, y as Xd, D as Qd, W as eu, ae as tu, X as nu, T as au, ag as ru, x as iu, E as lu, m as su, n as ou, a1 as cu, a2 as du, a6 as uu, I as fu, a3 as mu, a0 as hu, a4 as gu } from "./useDataCollectionSource-
|
|
5
|
+
import { C as ii, P as li, a as Bn, M as si, p as oi, b as ci, R as Mt, c as $n, u as di, d as ui, e as fi, f as mi, g as hi, h as Mn, S as gi, A as pi, B as bi, L as xi, i as vi, V as yi, j as wi, k as Ni, l as Ci, O as Ii } from "./useDataCollectionSource-DR8se7ko.js";
|
|
6
|
+
import { r as Cd, s as Id, o as kd, H as Sd, t as Fd, z as Ad, a8 as Ld, G as Od, q as Pd, aa as Ed, a9 as _d, Q as Dd, ad as Td, F as zd, Y as Rd, U as Bd, J as $d, af as Md, K as Wd, Z as jd, _ as Vd, v as Ud, ab as Hd, ac as Gd, N as Kd, $ as qd, a5 as Yd, a7 as Jd, w as Zd, y as Xd, D as Qd, W as eu, ae as tu, X as nu, T as au, ag as ru, x as iu, E as lu, m as su, n as ou, a1 as cu, a2 as du, a6 as uu, I as fu, a3 as mu, a0 as hu, a4 as gu } from "./useDataCollectionSource-DR8se7ko.js";
|
|
7
7
|
const ki = ga("Search", [
|
|
8
8
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
9
9
|
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
package/dist/f0.d.ts
CHANGED
|
@@ -15439,6 +15439,14 @@ export declare type TimelineRowStatus = (typeof timelineRowStatuses)[number];
|
|
|
15439
15439
|
|
|
15440
15440
|
export declare const timelineRowStatuses: readonly ["completed", "in-progress", "not-started"];
|
|
15441
15441
|
|
|
15442
|
+
/** A button rendered in the footer at the bottom of the table of contents */
|
|
15443
|
+
declare type TOCAction = {
|
|
15444
|
+
label: string;
|
|
15445
|
+
onClick: () => void;
|
|
15446
|
+
icon?: IconType;
|
|
15447
|
+
disabled?: boolean;
|
|
15448
|
+
};
|
|
15449
|
+
|
|
15442
15450
|
declare type TOCItem<Depth extends 1 | 2 | 3 | 4 = 1> = BaseTOCItem & {
|
|
15443
15451
|
children?: NextDepth<Depth> extends never ? never : TOCItem<NextDepth<Depth>>[];
|
|
15444
15452
|
};
|
|
@@ -15484,6 +15492,8 @@ declare interface TOCProps {
|
|
|
15484
15492
|
hideChildrenCounter?: boolean;
|
|
15485
15493
|
/** Enable vertical scrolling when content overflows (default: true) */
|
|
15486
15494
|
scrollable?: boolean;
|
|
15495
|
+
/** Action buttons pinned in a footer at the bottom of the panel */
|
|
15496
|
+
actions?: TOCAction[];
|
|
15487
15497
|
}
|
|
15488
15498
|
|
|
15489
15499
|
declare type toggleActionType = {
|
|
@@ -16805,8 +16815,10 @@ declare module "@tiptap/core" {
|
|
|
16805
16815
|
|
|
16806
16816
|
declare module "@tiptap/core" {
|
|
16807
16817
|
interface Commands<ReturnType> {
|
|
16808
|
-
|
|
16809
|
-
|
|
16818
|
+
videoEmbed: {
|
|
16819
|
+
setVideoEmbed: (options: {
|
|
16820
|
+
src: string;
|
|
16821
|
+
}) => ReturnType;
|
|
16810
16822
|
};
|
|
16811
16823
|
}
|
|
16812
16824
|
}
|
|
@@ -16814,10 +16826,8 @@ declare module "@tiptap/core" {
|
|
|
16814
16826
|
|
|
16815
16827
|
declare module "@tiptap/core" {
|
|
16816
16828
|
interface Commands<ReturnType> {
|
|
16817
|
-
|
|
16818
|
-
|
|
16819
|
-
src: string;
|
|
16820
|
-
}) => ReturnType;
|
|
16829
|
+
transcript: {
|
|
16830
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
16821
16831
|
};
|
|
16822
16832
|
}
|
|
16823
16833
|
}
|
package/dist/f0.js
CHANGED
|
@@ -6,8 +6,8 @@ import xt, { forwardRef as hr, useRef as fe, useImperativeHandle as B3, Children
|
|
|
6
6
|
import { T as y2, y as F3, z as G3, B as H3, C as W3, D as b2, E as dv, G as F_, H as x2, I as _2, J as pi, K as $3, L as U3, M as Y3, N as X3, O as q3, F as Z3 } from "./useChatHistory-BJpDjaBs.js";
|
|
7
7
|
import { A as hme, s as vme, t as pme, w as gme, l as mme, i as yme, q as bme, x as xme, p as _me, r as wme, j as Sme, e as Cme, P as Tme, g as Dme, k as Ame, h as Mme, a as Eme, n as Lme, m as Nme, o as Ime, b as Rme, f as kme, v as Pme, c as Ome, d as Bme, u as zme } from "./useChatHistory-BJpDjaBs.js";
|
|
8
8
|
import { createPortal as G_, unstable_batchedUpdates as vd } from "react-dom";
|
|
9
|
-
import { C as j3, F as K3, ah as w2, ai as Q3, aj as J3, ak as eH, al as H_, am as W_, G as tH, an as rH, Y as nH, a8 as iH, ao as aH, Q as oH, ap as sH, aq as lH, c as Yp, ar as Wf, R as $_, u as U_, W as S2, O as Y_, as as C2, at as jS, au as X_, o as uH, d as T2, $ as D2, av as cH, aw as fH, ax as dH, ay as hH, az as vH, M as pH } from "./useDataCollectionSource-
|
|
10
|
-
import { r as Fme, s as Gme, H as Hme, t as Wme, z as $me, aQ as Ume, aP as Yme, aL as Xme, aB as qme, aA as Zme, aC as jme, aD as Kme, aa as Qme, a9 as Jme, ad as eye, U as tye, J as rye, af as nye, K as iye, v as aye, aR as oye, ab as sye, ac as lye, N as uye, w as cye, P as fye, y as dye, D as hye, ae as vye, T as pye, ag as gye, x as mye, E as yye, aT as bye, m as xye, n as _ye, aK as wye, aG as Sye, aF as Cye, aS as Tye, a6 as Dye, aI as Aye, aJ as Mye, I as Eye, aU as Lye, aV as Nye, e as Iye, aM as Rye, aN as kye, aO as Pye, aH as Oye, f as Bye, h as zye, aE as Vye, aW as Fye } from "./useDataCollectionSource-
|
|
9
|
+
import { C as j3, F as K3, ah as w2, ai as Q3, aj as J3, ak as eH, al as H_, am as W_, G as tH, an as rH, Y as nH, a8 as iH, ao as aH, Q as oH, ap as sH, aq as lH, c as Yp, ar as Wf, R as $_, u as U_, W as S2, O as Y_, as as C2, at as jS, au as X_, o as uH, d as T2, $ as D2, av as cH, aw as fH, ax as dH, ay as hH, az as vH, M as pH } from "./useDataCollectionSource-DR8se7ko.js";
|
|
10
|
+
import { r as Fme, s as Gme, H as Hme, t as Wme, z as $me, aQ as Ume, aP as Yme, aL as Xme, aB as qme, aA as Zme, aC as jme, aD as Kme, aa as Qme, a9 as Jme, ad as eye, U as tye, J as rye, af as nye, K as iye, v as aye, aR as oye, ab as sye, ac as lye, N as uye, w as cye, P as fye, y as dye, D as hye, ae as vye, T as pye, ag as gye, x as mye, E as yye, aT as bye, m as xye, n as _ye, aK as wye, aG as Sye, aF as Cye, aS as Tye, a6 as Dye, aI as Aye, aJ as Mye, I as Eye, aU as Lye, aV as Nye, e as Iye, aM as Rye, aN as kye, aO as Pye, aH as Oye, f as Bye, h as zye, aE as Vye, aW as Fye } from "./useDataCollectionSource-DR8se7ko.js";
|
|
11
11
|
import { utils as kl, write as A2 } from "./xlsx-Bedf3nwD.js";
|
|
12
12
|
import { defaultTranslations as Hye } from "./i18n-provider-defaults.js";
|
|
13
13
|
import './f0.css';const gH = {
|
|
@@ -894,8 +894,10 @@ declare module "@tiptap/core" {
|
|
|
894
894
|
|
|
895
895
|
declare module "@tiptap/core" {
|
|
896
896
|
interface Commands<ReturnType> {
|
|
897
|
-
|
|
898
|
-
|
|
897
|
+
videoEmbed: {
|
|
898
|
+
setVideoEmbed: (options: {
|
|
899
|
+
src: string;
|
|
900
|
+
}) => ReturnType;
|
|
899
901
|
};
|
|
900
902
|
}
|
|
901
903
|
}
|
|
@@ -903,10 +905,8 @@ declare module "@tiptap/core" {
|
|
|
903
905
|
|
|
904
906
|
declare module "@tiptap/core" {
|
|
905
907
|
interface Commands<ReturnType> {
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
src: string;
|
|
909
|
-
}) => ReturnType;
|
|
908
|
+
transcript: {
|
|
909
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
910
910
|
};
|
|
911
911
|
}
|
|
912
912
|
}
|