@factorialco/f0-react 1.458.2 → 1.458.3
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/{F0AiChat-DCBZKVBj.js → F0AiChat-Dxqa4vK_.js} +26544 -26448
- package/dist/ai.d.ts +12 -12
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +12 -12
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +31 -15
- package/dist/f0.js +6 -6
- package/dist/i18n-provider-defaults.d.ts +12 -12
- package/dist/{index-DM6oo-6E.js → index-BmwlWRfh.js} +1 -1
- package/dist/{types-BSfiLtJG.js → types-DZjGTk6i.js} +1 -1
- package/package.json +1 -1
package/dist/ai.d.ts
CHANGED
|
@@ -3211,9 +3211,9 @@ declare module "gridstack" {
|
|
|
3211
3211
|
|
|
3212
3212
|
declare module "@tiptap/core" {
|
|
3213
3213
|
interface Commands<ReturnType> {
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3214
|
+
aiBlock: {
|
|
3215
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
3216
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
3217
3217
|
};
|
|
3218
3218
|
}
|
|
3219
3219
|
}
|
|
@@ -3221,9 +3221,9 @@ declare module "@tiptap/core" {
|
|
|
3221
3221
|
|
|
3222
3222
|
declare module "@tiptap/core" {
|
|
3223
3223
|
interface Commands<ReturnType> {
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3224
|
+
enhanceHighlight: {
|
|
3225
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
3226
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
3227
3227
|
};
|
|
3228
3228
|
}
|
|
3229
3229
|
}
|
|
@@ -3240,10 +3240,8 @@ declare module "@tiptap/core" {
|
|
|
3240
3240
|
|
|
3241
3241
|
declare module "@tiptap/core" {
|
|
3242
3242
|
interface Commands<ReturnType> {
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
src: string;
|
|
3246
|
-
}) => ReturnType;
|
|
3243
|
+
transcript: {
|
|
3244
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
3247
3245
|
};
|
|
3248
3246
|
}
|
|
3249
3247
|
}
|
|
@@ -3251,8 +3249,10 @@ declare module "@tiptap/core" {
|
|
|
3251
3249
|
|
|
3252
3250
|
declare module "@tiptap/core" {
|
|
3253
3251
|
interface Commands<ReturnType> {
|
|
3254
|
-
|
|
3255
|
-
|
|
3252
|
+
videoEmbed: {
|
|
3253
|
+
setVideoEmbed: (options: {
|
|
3254
|
+
src: string;
|
|
3255
|
+
}) => ReturnType;
|
|
3256
3256
|
};
|
|
3257
3257
|
}
|
|
3258
3258
|
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as t, k as e, F as r, a as o, C as i, b as n, m as F, n as u, d as A, I as c, g as C, c as m, h, e as l, u as d, j as I, i as f, f as T } from "./F0AiChat-
|
|
1
|
+
import { l as t, k as e, F as r, a as o, C as i, b as n, m as F, n as u, d as A, I as c, g as C, c as m, h, e as l, u as d, j as I, i as f, f as T } from "./F0AiChat-Dxqa4vK_.js";
|
|
2
2
|
import { defaultTranslations as S } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as v, e as x, F as P, c as V, d as k, b as O, a as b, f as y, o as M, u as j } from "./types-
|
|
3
|
+
import { A as v, e as x, F as P, c as V, d as k, b as O, a as b, f as y, o as M, u as j } from "./types-DZjGTk6i.js";
|
|
4
4
|
export {
|
|
5
5
|
v as AiChatTranslationsProvider,
|
|
6
6
|
t as ChatSpinner,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -8017,9 +8017,9 @@ declare module "gridstack" {
|
|
|
8017
8017
|
|
|
8018
8018
|
declare module "@tiptap/core" {
|
|
8019
8019
|
interface Commands<ReturnType> {
|
|
8020
|
-
|
|
8021
|
-
|
|
8022
|
-
|
|
8020
|
+
aiBlock: {
|
|
8021
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
8022
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
8023
8023
|
};
|
|
8024
8024
|
}
|
|
8025
8025
|
}
|
|
@@ -8027,9 +8027,9 @@ declare module "@tiptap/core" {
|
|
|
8027
8027
|
|
|
8028
8028
|
declare module "@tiptap/core" {
|
|
8029
8029
|
interface Commands<ReturnType> {
|
|
8030
|
-
|
|
8031
|
-
|
|
8032
|
-
|
|
8030
|
+
enhanceHighlight: {
|
|
8031
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
8032
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
8033
8033
|
};
|
|
8034
8034
|
}
|
|
8035
8035
|
}
|
|
@@ -8046,10 +8046,8 @@ declare module "@tiptap/core" {
|
|
|
8046
8046
|
|
|
8047
8047
|
declare module "@tiptap/core" {
|
|
8048
8048
|
interface Commands<ReturnType> {
|
|
8049
|
-
|
|
8050
|
-
|
|
8051
|
-
src: string;
|
|
8052
|
-
}) => ReturnType;
|
|
8049
|
+
transcript: {
|
|
8050
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
8053
8051
|
};
|
|
8054
8052
|
}
|
|
8055
8053
|
}
|
|
@@ -8057,8 +8055,10 @@ declare module "@tiptap/core" {
|
|
|
8057
8055
|
|
|
8058
8056
|
declare module "@tiptap/core" {
|
|
8059
8057
|
interface Commands<ReturnType> {
|
|
8060
|
-
|
|
8061
|
-
|
|
8058
|
+
videoEmbed: {
|
|
8059
|
+
setVideoEmbed: (options: {
|
|
8060
|
+
src: string;
|
|
8061
|
+
}) => ReturnType;
|
|
8062
8062
|
};
|
|
8063
8063
|
}
|
|
8064
8064
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a9 as oa, aa as ca, ab as da, ac as ua, ad as Ft, ae as Te, af as fa, ag as ht, ah as rt, ai as Be, O as b, W as Z, P as be, u as se, aj as ma, ak as ha, al as pa, am as ba, an as ga, a5 as oe, ao as xa, U as Ee, ap as va, aq as wa, ar as $, as as ya, at as Na, M as _e, au as ln, av as Ca, aw as ka, Q as B, ax as sn, a8 as E, ay as ge, az as Sa, aA as Ia, aB as Fa, aC as Aa, aD as La, aE as Ce, aF as on, aG as Ea, aH as xe, aI as $e, aJ as _a, aK as pt, n as cn, aL as Ne, aM as Oa, aN as dn, a6 as ne, aO as H, R as un, aP as fn, aQ as Ta, aR as mn, aS as me, a7 as ee, aT as Da, aU as za, aV as Pa, aW as Ra, X as pe, aX as Ge, aY as Ba, aZ as $a, a_ as Wa, a$ as Ma, b0 as He, b1 as hn, b2 as ja, b3 as Va, b4 as Ga, b5 as We, b6 as Ha, b7 as Ua, b8 as Ka, b9 as qa, ba as Ya, bb as Za, bc as Xa, bd as Ja, be as Qa, bf as er, bg as lt, bh as it, bi as pn, bj as tr, bk as nr, bl as bn, bm as ar, bn as rr, T as Ue, bo as bt, bp as gn, bq as lr, br as xn, bs as ir, bt as sr, bu as or, bv as Le, bw as cr, bx as De, by as At, bz as st, bA as dr, bB as ur, a as fr, c as mr, bC as hr, bD as vn, bE as pr, bF as br, F as gr, bG as wn, _ as xr, bH as yn, bI as vr, bJ as Lt, bK as wr, bL as yr, bM as Nr, bN as Cr, bO as Nn, bP as kr, bQ as Sr, bR as Ir, bS as Fr, bT as Ar, Y as Cn, bU as ue, bV as kn, bW as gt, bX as xt, bY as vt, bZ as Sn, b_ as wt, b$ as In, $ as Fn, c0 as Lr, c1 as Er, c2 as _r, c3 as Or, c4 as Tr, c5 as Dr, c6 as zr, c7 as Pr, c8 as Rr, c9 as Br, ca as $r, cb as Et, cc as _t, cd as Ot, ce as Wr, cf as Mr, cg as jr, ch as Vr, ci as An, cj as Gr, ck as Hr, cl as Ur } from "./F0AiChat-
|
|
2
|
-
import { cF as Ac, cE as Lc, co as Ec, cR as _c, cy as Oc, cz as Tc, cn as Dc, cB as zc, cp as Pc, d1 as Rc, c$ as Bc, cq as $c, cC as Wc, cD as Mc, cA as jc, cr as Vc, cN as Gc, cO as Hc, cS as Uc, cZ as Kc, c_ as qc, d0 as Yc, cx as Zc, cs as Xc, cH as Jc, cG as Qc, ct as ed, cu as td, cv as nd, cP as ad, d2 as rd, cm as ld, cQ as id, cU as sd, cV as od, cM as cd, cJ as dd, cL as ud, cI as fd, cw as md, cK as hd, cW as pd, cX as bd, cT as gd, cY as xd } from "./F0AiChat-
|
|
1
|
+
import { a9 as oa, aa as ca, ab as da, ac as ua, ad as Ft, ae as Te, af as fa, ag as ht, ah as rt, ai as Be, O as b, W as Z, P as be, u as se, aj as ma, ak as ha, al as pa, am as ba, an as ga, a5 as oe, ao as xa, U as Ee, ap as va, aq as wa, ar as $, as as ya, at as Na, M as _e, au as ln, av as Ca, aw as ka, Q as B, ax as sn, a8 as E, ay as ge, az as Sa, aA as Ia, aB as Fa, aC as Aa, aD as La, aE as Ce, aF as on, aG as Ea, aH as xe, aI as $e, aJ as _a, aK as pt, n as cn, aL as Ne, aM as Oa, aN as dn, a6 as ne, aO as H, R as un, aP as fn, aQ as Ta, aR as mn, aS as me, a7 as ee, aT as Da, aU as za, aV as Pa, aW as Ra, X as pe, aX as Ge, aY as Ba, aZ as $a, a_ as Wa, a$ as Ma, b0 as He, b1 as hn, b2 as ja, b3 as Va, b4 as Ga, b5 as We, b6 as Ha, b7 as Ua, b8 as Ka, b9 as qa, ba as Ya, bb as Za, bc as Xa, bd as Ja, be as Qa, bf as er, bg as lt, bh as it, bi as pn, bj as tr, bk as nr, bl as bn, bm as ar, bn as rr, T as Ue, bo as bt, bp as gn, bq as lr, br as xn, bs as ir, bt as sr, bu as or, bv as Le, bw as cr, bx as De, by as At, bz as st, bA as dr, bB as ur, a as fr, c as mr, bC as hr, bD as vn, bE as pr, bF as br, F as gr, bG as wn, _ as xr, bH as yn, bI as vr, bJ as Lt, bK as wr, bL as yr, bM as Nr, bN as Cr, bO as Nn, bP as kr, bQ as Sr, bR as Ir, bS as Fr, bT as Ar, Y as Cn, bU as ue, bV as kn, bW as gt, bX as xt, bY as vt, bZ as Sn, b_ as wt, b$ as In, $ as Fn, c0 as Lr, c1 as Er, c2 as _r, c3 as Or, c4 as Tr, c5 as Dr, c6 as zr, c7 as Pr, c8 as Rr, c9 as Br, ca as $r, cb as Et, cc as _t, cd as Ot, ce as Wr, cf as Mr, cg as jr, ch as Vr, ci as An, cj as Gr, ck as Hr, cl as Ur } from "./F0AiChat-Dxqa4vK_.js";
|
|
2
|
+
import { cF as Ac, cE as Lc, co as Ec, cR as _c, cy as Oc, cz as Tc, cn as Dc, cB as zc, cp as Pc, d1 as Rc, c$ as Bc, cq as $c, cC as Wc, cD as Mc, cA as jc, cr as Vc, cN as Gc, cO as Hc, cS as Uc, cZ as Kc, c_ as qc, d0 as Yc, cx as Zc, cs as Xc, cH as Jc, cG as Qc, ct as ed, cu as td, cv as nd, cP as ad, d2 as rd, cm as ld, cQ as id, cU as sd, cV as od, cM as cd, cJ as dd, cL as ud, cI as fd, cw as md, cK as hd, cW as pd, cX as bd, cT as gd, cY as xd } from "./F0AiChat-Dxqa4vK_.js";
|
|
3
3
|
import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
|
|
4
4
|
import re, { forwardRef as j, useRef as V, useTransition as Kr, useState as _, useLayoutEffect as Ln, useContext as Ke, createContext as yt, useCallback as Q, useMemo as K, useEffect as W, useId as qr, Fragment as Yr, isValidElement as Zr, cloneElement as En, Children as _n } from "react";
|
|
5
|
-
import { C as Xr, P as Jr, g as On, c as Qr, F as ot, f as el, a as tl, A as nl, B as al, L as rl, b as ll, V as il, d as sl, e as Tt, h as ol, i as cl } from "./index-
|
|
6
|
-
import { l as wd, m as yd, j as Nd, n as Cd, s as kd, D as Sd, k as Id, o as Fd, w as Ad, x as Ld, N as Ed, y as _d, p as Od, r as Td, R as Dd, u as zd, q as Pd, _ as Rd, v as Bd, t as $d } from "./index-
|
|
5
|
+
import { C as Xr, P as Jr, g as On, c as Qr, F as ot, f as el, a as tl, A as nl, B as al, L as rl, b as ll, V as il, d as sl, e as Tt, h as ol, i as cl } from "./index-BmwlWRfh.js";
|
|
6
|
+
import { l as wd, m as yd, j as Nd, n as Cd, s as kd, D as Sd, k as Id, o as Fd, w as Ad, x as Ld, N as Ed, y as _d, p as Od, r as Td, R as Dd, u as zd, q as Pd, _ as Rd, v as Bd, t as $d } from "./index-BmwlWRfh.js";
|
|
7
7
|
const dl = oa("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
|
@@ -1076,6 +1076,14 @@ export declare type AsyncOrSync<T> = T | ((signal: AbortSignal) => Promise<T>);
|
|
|
1076
1076
|
*/
|
|
1077
1077
|
declare type AsyncWithParams<T, TParams> = (params: TParams) => Promise<T>;
|
|
1078
1078
|
|
|
1079
|
+
/**
|
|
1080
|
+
* An item that can be passed in the `availableFormDefinitions` array.
|
|
1081
|
+
* Accepts either a plain {@link F0AiAvailableFormDefinition} or the result
|
|
1082
|
+
* of calling {@link useF0FormDefinition} (i.e. {@link F0FormDefinitionSingleSchema}
|
|
1083
|
+
* or {@link F0FormDefinitionPerSection}).
|
|
1084
|
+
*/
|
|
1085
|
+
export declare type AvailableFormDefinitionItem = F0AiAvailableFormDefinition | F0FormDefinitionSingleSchema<any> | F0FormDefinitionPerSection<any>;
|
|
1086
|
+
|
|
1079
1087
|
declare const Avatar: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & {
|
|
1080
1088
|
size?: (typeof internalAvatarSizes)[number];
|
|
1081
1089
|
type?: (typeof internalAvatarTypes)[number];
|
|
@@ -4480,6 +4488,13 @@ export declare const defaultTranslations: {
|
|
|
4480
4488
|
*/
|
|
4481
4489
|
export declare function defineAvailableForm<TParams extends Record<string, unknown> = Record<string, unknown>>(definition: F0AiAvailableFormDefinition<TParams>): F0AiAvailableFormDefinition<TParams>;
|
|
4482
4490
|
|
|
4491
|
+
/**
|
|
4492
|
+
* Overload that accepts an `F0FormDefinitionSingleSchema` (the return value
|
|
4493
|
+
* of `useF0FormDefinition` with a single schema) and converts it into an
|
|
4494
|
+
* `F0AiAvailableFormDefinition`.
|
|
4495
|
+
*/
|
|
4496
|
+
export declare function defineAvailableForm<TSchema extends F0FormSchema>(definition: F0FormDefinitionSingleSchema<TSchema>): F0AiAvailableFormDefinition;
|
|
4497
|
+
|
|
4483
4498
|
declare interface DeleteBlockNotesTextEditorPageDocumentPatch {
|
|
4484
4499
|
type: "delete_block";
|
|
4485
4500
|
targetId: string;
|
|
@@ -5091,10 +5106,11 @@ declare interface F0AiFormRegistryContextValue {
|
|
|
5091
5106
|
* </F0AiChatProvider>
|
|
5092
5107
|
* ```
|
|
5093
5108
|
*/
|
|
5094
|
-
export declare function F0AiFormRegistryProvider({ children, availableFormDefinitions, }: {
|
|
5109
|
+
export declare function F0AiFormRegistryProvider({ children, availableFormDefinitions: rawAvailableFormDefinitions, }: {
|
|
5095
5110
|
children: React.ReactNode;
|
|
5096
|
-
/** Form definitions the AI can interact with even if the form is not rendered on the page
|
|
5097
|
-
|
|
5111
|
+
/** Form definitions the AI can interact with even if the form is not rendered on the page.
|
|
5112
|
+
* Accepts plain definitions, or the return value of `useF0FormDefinition` hooks. */
|
|
5113
|
+
availableFormDefinitions?: AvailableFormDefinitionItem[];
|
|
5098
5114
|
}): JSX_2.Element;
|
|
5099
5115
|
|
|
5100
5116
|
/**
|
|
@@ -13262,9 +13278,9 @@ declare module "gridstack" {
|
|
|
13262
13278
|
|
|
13263
13279
|
declare module "@tiptap/core" {
|
|
13264
13280
|
interface Commands<ReturnType> {
|
|
13265
|
-
|
|
13266
|
-
|
|
13267
|
-
|
|
13281
|
+
aiBlock: {
|
|
13282
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
13283
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
13268
13284
|
};
|
|
13269
13285
|
}
|
|
13270
13286
|
}
|
|
@@ -13272,9 +13288,9 @@ declare module "@tiptap/core" {
|
|
|
13272
13288
|
|
|
13273
13289
|
declare module "@tiptap/core" {
|
|
13274
13290
|
interface Commands<ReturnType> {
|
|
13275
|
-
|
|
13276
|
-
|
|
13277
|
-
|
|
13291
|
+
enhanceHighlight: {
|
|
13292
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
13293
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
13278
13294
|
};
|
|
13279
13295
|
}
|
|
13280
13296
|
}
|
|
@@ -13291,10 +13307,8 @@ declare module "@tiptap/core" {
|
|
|
13291
13307
|
|
|
13292
13308
|
declare module "@tiptap/core" {
|
|
13293
13309
|
interface Commands<ReturnType> {
|
|
13294
|
-
|
|
13295
|
-
|
|
13296
|
-
src: string;
|
|
13297
|
-
}) => ReturnType;
|
|
13310
|
+
transcript: {
|
|
13311
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
13298
13312
|
};
|
|
13299
13313
|
}
|
|
13300
13314
|
}
|
|
@@ -13302,8 +13316,10 @@ declare module "@tiptap/core" {
|
|
|
13302
13316
|
|
|
13303
13317
|
declare module "@tiptap/core" {
|
|
13304
13318
|
interface Commands<ReturnType> {
|
|
13305
|
-
|
|
13306
|
-
|
|
13319
|
+
videoEmbed: {
|
|
13320
|
+
setVideoEmbed: (options: {
|
|
13321
|
+
src: string;
|
|
13322
|
+
}) => ReturnType;
|
|
13307
13323
|
};
|
|
13308
13324
|
}
|
|
13309
13325
|
}
|
package/dist/f0.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { fy as Or, a6 as se, bU as Tn, O as P, P as ht, fz as Mr, W as yt, dG as zo, aS as Yi, fA as Io, a7 as zr, a8 as de, u as oe, ar as he, fp as Ut, U as Bo, ac as Po, M as Ir, fB as un, aO as Oe, aL as hi, fC as Ho, fD as Wo, fE as qo, fF as Ji, a0 as Go, fG as $o, fH as Br, fI as jo, bd as fi, be as mi, a5 as Fn, bf as gi, aX as Pr, cR as hn, fJ as Hr, fK as Uo, eg as Vo, fL as Zi, ef as Qo, fM as Ko, fN as wt, fO as Vt, fP as Xo, fQ as Wr, fR as Yo, fS as Jo, fT as An, fU as Zo, fV as ea, R as We, b0 as ta, d4 as si, d3 as qr, fW as na, fX as pi, cn as ia, fY as ra, fZ as Gr, f_ as Ln, f$ as sa, g0 as oa, aI as vi, Q as Ce, aJ as aa, aK as fn, ce as la, g1 as ca, aR as On, g2 as $r, g3 as da, g4 as ua, g5 as ha, g6 as fa, cB as ma, m as ga, dq as pa, aq as jr, f4 as ft, g7 as Ur, f2 as Vr, g8 as mn, g9 as Qr, ch as Kr, ga as Xr, as as bi, at as yi, gb as xi, aw as wi, aB as De, gc as Ci, aD as xt, gd as At, ge as Lt, av as Ot, gf as Mt, gg as va, gh as Zt, gi as Yr, gj as gn, bM as Pt, gk as _e, cs as ba, gl as Jr, gm as ya, gn as pn, cr as xa, cq as wa, go as Ca, gp as Sa, bO as Mn, aE as zn, gq as Zr, bJ as Si, bP as Ei, bc as Ea, gr as Ae, gs as Na, gt as _a, gu as es, gv as In, gw as Da, gx as Ra, cj as ts, gy as ka, gz as Ta, gA as Fa, gB as Aa, bp as ns, bv as La, fs as Oa, ft as Ma, fv as za, gC as is, bW as Ia, b_ as Ba, gD as er, c5 as Pa, gE as rs, gF as Ha, gG as Wa } from "./F0AiChat-
|
|
2
|
-
import { hk as Lf, gL as Of, co as Mf, l as zf, hy as If, bo as Bf, k as Pf, F as Hf, a as Wf, C as qf, hb as Gf, b as $f, gY as jf, bN as Uf, c7 as Vf, _ as Qf, c8 as Kf, gI as Xf, bh as Yf, Y as Jf, X as Zf, Z as em, b3 as tm, gS as nm, gW as im, gJ as rm, gX as sm, gZ as om, g$ as am, hD as lm, bx as cm, n as dm, hv as um, b5 as hm, $ as fm, hf as mm, bB as gm, hg as pm, hi as vm, hj as bm, d1 as ym, c$ as xm, d as wm, gM as Cm, hl as Sm, gN as Em, gO as Nm, gP as _m, cN as Dm, cO as Rm, gH as km, gQ as Tm, hC as Fm, gR as Am, bu as Lm, d0 as Om, hh as Mm, cP as zm, cm as Im, hE as Bm, gT as Pm, gU as Hm, gV as Wm, gK as qm, cQ as Gm, hx as $m, hq as jm, hd as Um, h4 as Vm, h3 as Qm, h2 as Km, ha as Xm, ht as Ym, g as Jm, hp as Zm, bs as eg, cM as tg, cJ as ng, cL as ig, h9 as rg, cI as sg, h5 as og, ho as ag, hn as lg, h6 as cg, cw as dg, cK as ug, h0 as hg, h1 as fg, h7 as mg, c as gg, hm as pg, hr as vg, h as bg, hz as yg, hA as xg, hB as wg, bq as Cg, hc as Sg, g_ as Eg, he as Ng, e as _g, hw as Dg, hs as Rg, j as kg, i as Tg, bV as Fg, T as Ag, h8 as Lg, hu as Og, f as Mg, hF as zg } from "./F0AiChat-
|
|
1
|
+
import { fy as Or, a6 as se, bU as Tn, O as P, P as ht, fz as Mr, W as yt, dG as zo, aS as Yi, fA as Io, a7 as zr, a8 as de, u as oe, ar as he, fp as Ut, U as Bo, ac as Po, M as Ir, fB as un, aO as Oe, aL as hi, fC as Ho, fD as Wo, fE as qo, fF as Ji, a0 as Go, fG as $o, fH as Br, fI as jo, bd as fi, be as mi, a5 as Fn, bf as gi, aX as Pr, cR as hn, fJ as Hr, fK as Uo, eg as Vo, fL as Zi, ef as Qo, fM as Ko, fN as wt, fO as Vt, fP as Xo, fQ as Wr, fR as Yo, fS as Jo, fT as An, fU as Zo, fV as ea, R as We, b0 as ta, d4 as si, d3 as qr, fW as na, fX as pi, cn as ia, fY as ra, fZ as Gr, f_ as Ln, f$ as sa, g0 as oa, aI as vi, Q as Ce, aJ as aa, aK as fn, ce as la, g1 as ca, aR as On, g2 as $r, g3 as da, g4 as ua, g5 as ha, g6 as fa, cB as ma, m as ga, dq as pa, aq as jr, f4 as ft, g7 as Ur, f2 as Vr, g8 as mn, g9 as Qr, ch as Kr, ga as Xr, as as bi, at as yi, gb as xi, aw as wi, aB as De, gc as Ci, aD as xt, gd as At, ge as Lt, av as Ot, gf as Mt, gg as va, gh as Zt, gi as Yr, gj as gn, bM as Pt, gk as _e, cs as ba, gl as Jr, gm as ya, gn as pn, cr as xa, cq as wa, go as Ca, gp as Sa, bO as Mn, aE as zn, gq as Zr, bJ as Si, bP as Ei, bc as Ea, gr as Ae, gs as Na, gt as _a, gu as es, gv as In, gw as Da, gx as Ra, cj as ts, gy as ka, gz as Ta, gA as Fa, gB as Aa, bp as ns, bv as La, fs as Oa, ft as Ma, fv as za, gC as is, bW as Ia, b_ as Ba, gD as er, c5 as Pa, gE as rs, gF as Ha, gG as Wa } from "./F0AiChat-Dxqa4vK_.js";
|
|
2
|
+
import { hk as Lf, gL as Of, co as Mf, l as zf, hy as If, bo as Bf, k as Pf, F as Hf, a as Wf, C as qf, hb as Gf, b as $f, gY as jf, bN as Uf, c7 as Vf, _ as Qf, c8 as Kf, gI as Xf, bh as Yf, Y as Jf, X as Zf, Z as em, b3 as tm, gS as nm, gW as im, gJ as rm, gX as sm, gZ as om, g$ as am, hD as lm, bx as cm, n as dm, hv as um, b5 as hm, $ as fm, hf as mm, bB as gm, hg as pm, hi as vm, hj as bm, d1 as ym, c$ as xm, d as wm, gM as Cm, hl as Sm, gN as Em, gO as Nm, gP as _m, cN as Dm, cO as Rm, gH as km, gQ as Tm, hC as Fm, gR as Am, bu as Lm, d0 as Om, hh as Mm, cP as zm, cm as Im, hE as Bm, gT as Pm, gU as Hm, gV as Wm, gK as qm, cQ as Gm, hx as $m, hq as jm, hd as Um, h4 as Vm, h3 as Qm, h2 as Km, ha as Xm, ht as Ym, g as Jm, hp as Zm, bs as eg, cM as tg, cJ as ng, cL as ig, h9 as rg, cI as sg, h5 as og, ho as ag, hn as lg, h6 as cg, cw as dg, cK as ug, h0 as hg, h1 as fg, h7 as mg, c as gg, hm as pg, hr as vg, h as bg, hz as yg, hA as xg, hB as wg, bq as Cg, hc as Sg, g_ as Eg, he as Ng, e as _g, hw as Dg, hs as Rg, j as kg, i as Tg, bV as Fg, T as Ag, h8 as Lg, hu as Og, f as Mg, hF as zg } from "./F0AiChat-Dxqa4vK_.js";
|
|
3
3
|
import { jsx as l, jsxs as C, Fragment as we } from "react/jsx-runtime";
|
|
4
4
|
import ae, { forwardRef as qe, useRef as W, useImperativeHandle as qa, Children as vn, createContext as Qe, useContext as Re, useState as j, useMemo as B, useEffect as V, useCallback as I, useLayoutEffect as oi, createElement as en, isValidElement as ss, Fragment as Ga, memo as os, useReducer as $a, cloneElement as ja, useId as as } from "react";
|
|
5
|
-
import { g as Ua, h as Va } from "./types-
|
|
6
|
-
import { A as Bg, e as Pg, F as Hg, c as Wg, d as qg, b as Gg, a as $g, f as jg, o as Ug, u as Vg } from "./types-
|
|
5
|
+
import { g as Ua, h as Va } from "./types-DZjGTk6i.js";
|
|
6
|
+
import { A as Bg, e as Pg, F as Hg, c as Wg, d as qg, b as Gg, a as $g, f as jg, o as Ug, u as Vg } from "./types-DZjGTk6i.js";
|
|
7
7
|
import { createPortal as ls, unstable_batchedUpdates as tn } from "react-dom";
|
|
8
|
-
import { C as Qa, M as Ni, D as Ka, z as Xa, u as cs, j as Ya } from "./index-
|
|
9
|
-
import { l as Kg, m as Xg, n as Yg, s as Jg, F as Zg, o as ep, w as tp, x as np, N as ip, y as rp, p as sp, P as op, r as ap, R as lp, q as cp, _ as dp, v as up, t as hp } from "./index-
|
|
8
|
+
import { C as Qa, M as Ni, D as Ka, z as Xa, u as cs, j as Ya } from "./index-BmwlWRfh.js";
|
|
9
|
+
import { l as Kg, m as Xg, n as Yg, s as Jg, F as Zg, o as ep, w as tp, x as np, N as ip, y as rp, p as sp, P as op, r as ap, R as lp, q as cp, _ as dp, v as up, t as hp } from "./index-BmwlWRfh.js";
|
|
10
10
|
import { defaultTranslations as mp } from "./i18n-provider-defaults.js";
|
|
11
11
|
import './f0.css';const Ja = {
|
|
12
12
|
xs: 1,
|
|
@@ -792,9 +792,9 @@ declare module "gridstack" {
|
|
|
792
792
|
|
|
793
793
|
declare module "@tiptap/core" {
|
|
794
794
|
interface Commands<ReturnType> {
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
795
|
+
aiBlock: {
|
|
796
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
797
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
798
798
|
};
|
|
799
799
|
}
|
|
800
800
|
}
|
|
@@ -802,9 +802,9 @@ declare module "@tiptap/core" {
|
|
|
802
802
|
|
|
803
803
|
declare module "@tiptap/core" {
|
|
804
804
|
interface Commands<ReturnType> {
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
805
|
+
enhanceHighlight: {
|
|
806
|
+
setEnhanceHighlight: (from: number, to: number) => ReturnType;
|
|
807
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
808
808
|
};
|
|
809
809
|
}
|
|
810
810
|
}
|
|
@@ -821,10 +821,8 @@ declare module "@tiptap/core" {
|
|
|
821
821
|
|
|
822
822
|
declare module "@tiptap/core" {
|
|
823
823
|
interface Commands<ReturnType> {
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
src: string;
|
|
827
|
-
}) => ReturnType;
|
|
824
|
+
transcript: {
|
|
825
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
828
826
|
};
|
|
829
827
|
}
|
|
830
828
|
}
|
|
@@ -832,8 +830,10 @@ declare module "@tiptap/core" {
|
|
|
832
830
|
|
|
833
831
|
declare module "@tiptap/core" {
|
|
834
832
|
interface Commands<ReturnType> {
|
|
835
|
-
|
|
836
|
-
|
|
833
|
+
videoEmbed: {
|
|
834
|
+
setVideoEmbed: (options: {
|
|
835
|
+
src: string;
|
|
836
|
+
}) => ReturnType;
|
|
837
837
|
};
|
|
838
838
|
}
|
|
839
839
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as x, jsx as m, Fragment as Bt } from "react/jsx-runtime";
|
|
2
2
|
import * as K from "react";
|
|
3
3
|
import C, { useRef as ot, useState as ae, useCallback as Ye, useEffect as Ze, useLayoutEffect as Ac, PureComponent as Kn, useMemo as $s, forwardRef as Pt, useId as Cc, useImperativeHandle as Ec, memo as Sf, Fragment as Ra } from "react";
|
|
4
|
-
import { M as Pn, aG as kf, O as z, ax as Af, d3 as Cf, d4 as Ef, P as js, a6 as Re, aO as Gi, d5 as An, d6 as Of, d7 as _f, d8 as Nf, d9 as $a, da as ja, db as Fa, dc as za, dd as Ba, de as Oc, df as ui, dg as Tf, dh as Pf, di as Df, aW as Dn, dj as _e, dk as U, dl as Me, dm as _c, dn as Mf, dp as Nc, dq as Fs, dr as Lf, ds as ye, dt as Yi, du as oe, dv as Tc, dw as qi, dx as zs, dy as Bs, dz as Vs, dA as pe, dB as Pe, dC as Go, dD as Xi, dE as If, dF as Oe, dG as Ji, dH as Te, dI as pn, dJ as Hs, dK as Zi, dL as di, dM as Qi, c9 as Ws, dN as Rf, dO as Qr, dP as ki, dQ as $f, dR as jf, dS as Ff, dT as zf, dU as Bf, dV as Vf, dW as Pc, dX as Dc, dY as Mc, dZ as Lc, d_ as Ic, d$ as Hf, e0 as Ai, e1 as Wf, e2 as Uf, e3 as $r, e4 as Kt, a3 as Ot, e5 as Us, e6 as jr, e7 as Rc, a4 as $c, e8 as Kf, e9 as Gf, a1 as Yf, ea as qf, bV as Xf, a2 as Jf, eb as fe, ec as we, aj as Zf, ak as Qf, al as eh, ao as th, ed as jc, ee as nh, ef as Fc, bU as Dt, ar as _t, bp as rh, Q, aE as Ks, eg as ih, cI as Ce, eh as et, ei as gt, ej as $e, ek as oh, el as fi, em as rt, en as zc, eo as qe, ep as Gs, eq as Qe, er as Va, es as sh, et as Bc, eu as be, ev as Ve, ew as vr, ex as Ci, ey as Vc, ez as ah, eA as mn, eB as lh, eC as ch, eD as uh, a8 as j, aS as Hc, bu as dh, a7 as Wc, eE as Fr, eF as zr, eG as Ys, eH as fh, eI as Uc, eJ as Kc, eK as Gc, eL as hh, eM as Yc, eN as qc, eO as Xc, eP as Jc, eQ as Zc, eR as Qc, eS as ph, eT as mh, u as gn, aN as gh, bM as eo, U as eu, W as tn, bo as yh, b7 as bh, br as vh, eU as wh, eV as xh, eW as Sh, eX as kh, eY as Ah, eZ as Ch, aJ as tu, aK as qs, aL as to, e_ as Ha, e$ as Eh, f0 as Oh, f1 as _h, f2 as Nh, f3 as Th, f4 as Ph, f5 as Dh, f6 as Mh, f7 as Lh, f8 as Ih, f9 as Rh, fa as $h, fb as jh, fc as Fh, fd as zh, fe as Bh, ff as Vh, X as Hh, aC as Wh, aQ as Uh, bB as Kh, bv as Wa, Y as Gh, aI as Yh, bN as nu, aH as Ua, b$ as qh, cA as ru, fg as Xh, fh as Jh, fi as Zh, fj as Qh, fk as ep, fl as tp, fm as np, b3 as Yo, aX as iu, fn as rp, c7 as ou, fo as ip, b2 as op, fp as sp, fq as ap, fr as lp, fs as cp, ft as up, fu as dp, fv as fp, fw as hp, fx as pp, c6 as Ka } from "./F0AiChat-
|
|
4
|
+
import { M as Pn, aG as kf, O as z, ax as Af, d3 as Cf, d4 as Ef, P as js, a6 as Re, aO as Gi, d5 as An, d6 as Of, d7 as _f, d8 as Nf, d9 as $a, da as ja, db as Fa, dc as za, dd as Ba, de as Oc, df as ui, dg as Tf, dh as Pf, di as Df, aW as Dn, dj as _e, dk as U, dl as Me, dm as _c, dn as Mf, dp as Nc, dq as Fs, dr as Lf, ds as ye, dt as Yi, du as oe, dv as Tc, dw as qi, dx as zs, dy as Bs, dz as Vs, dA as pe, dB as Pe, dC as Go, dD as Xi, dE as If, dF as Oe, dG as Ji, dH as Te, dI as pn, dJ as Hs, dK as Zi, dL as di, dM as Qi, c9 as Ws, dN as Rf, dO as Qr, dP as ki, dQ as $f, dR as jf, dS as Ff, dT as zf, dU as Bf, dV as Vf, dW as Pc, dX as Dc, dY as Mc, dZ as Lc, d_ as Ic, d$ as Hf, e0 as Ai, e1 as Wf, e2 as Uf, e3 as $r, e4 as Kt, a3 as Ot, e5 as Us, e6 as jr, e7 as Rc, a4 as $c, e8 as Kf, e9 as Gf, a1 as Yf, ea as qf, bV as Xf, a2 as Jf, eb as fe, ec as we, aj as Zf, ak as Qf, al as eh, ao as th, ed as jc, ee as nh, ef as Fc, bU as Dt, ar as _t, bp as rh, Q, aE as Ks, eg as ih, cI as Ce, eh as et, ei as gt, ej as $e, ek as oh, el as fi, em as rt, en as zc, eo as qe, ep as Gs, eq as Qe, er as Va, es as sh, et as Bc, eu as be, ev as Ve, ew as vr, ex as Ci, ey as Vc, ez as ah, eA as mn, eB as lh, eC as ch, eD as uh, a8 as j, aS as Hc, bu as dh, a7 as Wc, eE as Fr, eF as zr, eG as Ys, eH as fh, eI as Uc, eJ as Kc, eK as Gc, eL as hh, eM as Yc, eN as qc, eO as Xc, eP as Jc, eQ as Zc, eR as Qc, eS as ph, eT as mh, u as gn, aN as gh, bM as eo, U as eu, W as tn, bo as yh, b7 as bh, br as vh, eU as wh, eV as xh, eW as Sh, eX as kh, eY as Ah, eZ as Ch, aJ as tu, aK as qs, aL as to, e_ as Ha, e$ as Eh, f0 as Oh, f1 as _h, f2 as Nh, f3 as Th, f4 as Ph, f5 as Dh, f6 as Mh, f7 as Lh, f8 as Ih, f9 as Rh, fa as $h, fb as jh, fc as Fh, fd as zh, fe as Bh, ff as Vh, X as Hh, aC as Wh, aQ as Uh, bB as Kh, bv as Wa, Y as Gh, aI as Yh, bN as nu, aH as Ua, b$ as qh, cA as ru, fg as Xh, fh as Jh, fi as Zh, fj as Qh, fk as ep, fl as tp, fm as np, b3 as Yo, aX as iu, fn as rp, c7 as ou, fo as ip, b2 as op, fp as sp, fq as ap, fr as lp, fs as cp, ft as up, fu as dp, fv as fp, fw as hp, fx as pp, c6 as Ka } from "./F0AiChat-Dxqa4vK_.js";
|
|
5
5
|
import './index.css';const mp = {
|
|
6
6
|
active: !0,
|
|
7
7
|
breakpoints: {},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defaultTranslations as rt } from "./i18n-provider-defaults.js";
|
|
2
2
|
import { jsx as h, jsxs as M, Fragment as Ge } from "react/jsx-runtime";
|
|
3
3
|
import { useInsertionEffect as nt, forwardRef as me, createContext as ot, useContext as it, useRef as D, useEffect as ue, useState as de, useCallback as at, useMemo as st, useId as ct, createElement as lt } from "react";
|
|
4
|
-
import { r as ut, o as dt, p as ft, q as ht, s as ke, t as mt, v as pt, w as vt, x as gt, y as wt, z as We, A as bt, V as yt, B as Tt, D as xt, E as At, S as Et, H as Rt, G as fe, J as Ct, K as St, L as Lt, M as It, N as Ft, O as X, P as ie, Q as we, R as _t, u as Nt, T as ze, U as Pt, W as he, X as Ut, Y as Mt, Z as Bt, _ as Ot, $ as Vt, a0 as Dt, a1 as Gt, a2 as kt, a3 as Wt, a4 as zt, a5 as Xt, a6 as Yt, a7 as $t, a8 as oe } from "./F0AiChat-
|
|
4
|
+
import { r as ut, o as dt, p as ft, q as ht, s as ke, t as mt, v as pt, w as vt, x as gt, y as wt, z as We, A as bt, V as yt, B as Tt, D as xt, E as At, S as Et, H as Rt, G as fe, J as Ct, K as St, L as Lt, M as It, N as Ft, O as X, P as ie, Q as we, R as _t, u as Nt, T as ze, U as Pt, W as he, X as Ut, Y as Mt, Z as Bt, _ as Ot, $ as Vt, a0 as Dt, a1 as Gt, a2 as kt, a3 as Wt, a4 as zt, a5 as Xt, a6 as Yt, a7 as $t, a8 as oe } from "./F0AiChat-Dxqa4vK_.js";
|
|
5
5
|
import { useTrackVolume as qt } from "@livekit/components-react";
|
|
6
6
|
function Ht(t, e, r) {
|
|
7
7
|
nt(() => t.on(e, r), [t, e, r]);
|