@factorialco/f0-react 1.468.0 → 1.468.2
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-C73OlDrF.js → F0AiChat-yry58Wdg.js} +43808 -43774
- package/dist/ai.d.ts +6 -6
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +11 -6
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +20 -10
- package/dist/f0.js +60 -46
- package/dist/i18n-provider-defaults.d.ts +6 -6
- package/dist/{index-DifsbBrG.js → index-eeMmyF0T.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{types-AMzndbEB.js → types-Cfw6Pg7w.js} +1 -1
- package/package.json +1 -1
package/dist/ai.d.ts
CHANGED
|
@@ -3296,10 +3296,8 @@ declare module "@tiptap/core" {
|
|
|
3296
3296
|
|
|
3297
3297
|
declare module "@tiptap/core" {
|
|
3298
3298
|
interface Commands<ReturnType> {
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
src: string;
|
|
3302
|
-
}) => ReturnType;
|
|
3299
|
+
transcript: {
|
|
3300
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
3303
3301
|
};
|
|
3304
3302
|
}
|
|
3305
3303
|
}
|
|
@@ -3307,8 +3305,10 @@ declare module "@tiptap/core" {
|
|
|
3307
3305
|
|
|
3308
3306
|
declare module "@tiptap/core" {
|
|
3309
3307
|
interface Commands<ReturnType> {
|
|
3310
|
-
|
|
3311
|
-
|
|
3308
|
+
videoEmbed: {
|
|
3309
|
+
setVideoEmbed: (options: {
|
|
3310
|
+
src: string;
|
|
3311
|
+
}) => ReturnType;
|
|
3312
3312
|
};
|
|
3313
3313
|
}
|
|
3314
3314
|
}
|
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-yry58Wdg.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-Cfw6Pg7w.js";
|
|
4
4
|
export {
|
|
5
5
|
v as AiChatTranslationsProvider,
|
|
6
6
|
t as ChatSpinner,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -1245,6 +1245,11 @@ declare type ButtonInternalProps = Pick<ActionProps, "size" | "disabled" | "clas
|
|
|
1245
1245
|
* If true, the button is inactive and does not respond to user interaction.
|
|
1246
1246
|
*/
|
|
1247
1247
|
disabled?: boolean;
|
|
1248
|
+
/**
|
|
1249
|
+
* If true and disabled is also true, the button retains its normal visual appearance
|
|
1250
|
+
* (no reduced opacity or not-allowed cursor) while still being non-interactive.
|
|
1251
|
+
*/
|
|
1252
|
+
withoutDisabledAppearance?: boolean;
|
|
1248
1253
|
/**
|
|
1249
1254
|
* @private
|
|
1250
1255
|
* If true, the button is visually active or selected (pressed state).
|
|
@@ -8072,10 +8077,8 @@ declare module "@tiptap/core" {
|
|
|
8072
8077
|
|
|
8073
8078
|
declare module "@tiptap/core" {
|
|
8074
8079
|
interface Commands<ReturnType> {
|
|
8075
|
-
|
|
8076
|
-
|
|
8077
|
-
src: string;
|
|
8078
|
-
}) => ReturnType;
|
|
8080
|
+
transcript: {
|
|
8081
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
8079
8082
|
};
|
|
8080
8083
|
}
|
|
8081
8084
|
}
|
|
@@ -8083,8 +8086,10 @@ declare module "@tiptap/core" {
|
|
|
8083
8086
|
|
|
8084
8087
|
declare module "@tiptap/core" {
|
|
8085
8088
|
interface Commands<ReturnType> {
|
|
8086
|
-
|
|
8087
|
-
|
|
8089
|
+
videoEmbed: {
|
|
8090
|
+
setVideoEmbed: (options: {
|
|
8091
|
+
src: string;
|
|
8092
|
+
}) => ReturnType;
|
|
8088
8093
|
};
|
|
8089
8094
|
}
|
|
8090
8095
|
}
|
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 p, W as Z, P as pe, u as se, aj as ma, ak as ha, al as ba, am as pa, 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 bt, 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 be, 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 bn, bj as tr, bk as nr, bl as pn, bm as ar, bn as rr, T as Ue, bo as pt, 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 br, bF as pr, 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 bd, cX as pd, 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 p, W as Z, P as pe, u as se, aj as ma, ak as ha, al as ba, am as pa, 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 bt, 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 be, 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 bn, bj as tr, bk as nr, bl as pn, bm as ar, bn as rr, T as Ue, bo as pt, 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 br, bF as pr, 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-yry58Wdg.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 bd, cX as pd, cT as gd, cY as xd } from "./F0AiChat-yry58Wdg.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-eeMmyF0T.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-eeMmyF0T.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
|
@@ -1726,6 +1726,11 @@ declare type ButtonInternalProps = Pick<ActionProps, "size" | "disabled" | "clas
|
|
|
1726
1726
|
* If true, the button is inactive and does not respond to user interaction.
|
|
1727
1727
|
*/
|
|
1728
1728
|
disabled?: boolean;
|
|
1729
|
+
/**
|
|
1730
|
+
* If true and disabled is also true, the button retains its normal visual appearance
|
|
1731
|
+
* (no reduced opacity or not-allowed cursor) while still being non-interactive.
|
|
1732
|
+
*/
|
|
1733
|
+
withoutDisabledAppearance?: boolean;
|
|
1729
1734
|
/**
|
|
1730
1735
|
* @private
|
|
1731
1736
|
* If true, the button is visually active or selected (pressed state).
|
|
@@ -13239,7 +13244,7 @@ export declare function useSelectable<R extends RecordType, Filters extends Filt
|
|
|
13239
13244
|
export declare type UseSelectableProps<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Grouping extends GroupingDefinition<R>> = {
|
|
13240
13245
|
data: Data<R>;
|
|
13241
13246
|
paginationInfo: PaginationInfo | null;
|
|
13242
|
-
source:
|
|
13247
|
+
source: DataSource<R, Filters, Sortings, Grouping>;
|
|
13243
13248
|
onSelectItems?: OnSelectItemsCallback<R, Filters>;
|
|
13244
13249
|
selectionMode?: "multi" | "single";
|
|
13245
13250
|
selectedState?: SelectedItemsState<R>;
|
|
@@ -13265,9 +13270,14 @@ export declare type UseSelectableProps<R extends RecordType, Filters extends Fil
|
|
|
13265
13270
|
*/
|
|
13266
13271
|
allPagesSelection?: boolean;
|
|
13267
13272
|
/**
|
|
13268
|
-
* When true (default), clears selection when
|
|
13269
|
-
* (unless all items are selected
|
|
13270
|
-
*
|
|
13273
|
+
* When true (default), clears selection when navigating to a different page
|
|
13274
|
+
* in page-based pagination (unless all items are selected via the
|
|
13275
|
+
* "Select all N items" banner). Set to false to persist selections across
|
|
13276
|
+
* page changes unconditionally.
|
|
13277
|
+
*
|
|
13278
|
+
* This flag has no effect on infinite-scroll pagination: loadMore() advances
|
|
13279
|
+
* the cursor but the list is cumulative, so selections are always preserved
|
|
13280
|
+
* across loadMore() calls regardless of this flag.
|
|
13271
13281
|
*/
|
|
13272
13282
|
resetOnPageChange?: boolean;
|
|
13273
13283
|
};
|
|
@@ -13606,10 +13616,8 @@ declare module "@tiptap/core" {
|
|
|
13606
13616
|
|
|
13607
13617
|
declare module "@tiptap/core" {
|
|
13608
13618
|
interface Commands<ReturnType> {
|
|
13609
|
-
|
|
13610
|
-
|
|
13611
|
-
src: string;
|
|
13612
|
-
}) => ReturnType;
|
|
13619
|
+
transcript: {
|
|
13620
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
13613
13621
|
};
|
|
13614
13622
|
}
|
|
13615
13623
|
}
|
|
@@ -13617,8 +13625,10 @@ declare module "@tiptap/core" {
|
|
|
13617
13625
|
|
|
13618
13626
|
declare module "@tiptap/core" {
|
|
13619
13627
|
interface Commands<ReturnType> {
|
|
13620
|
-
|
|
13621
|
-
|
|
13628
|
+
videoEmbed: {
|
|
13629
|
+
setVideoEmbed: (options: {
|
|
13630
|
+
src: string;
|
|
13631
|
+
}) => ReturnType;
|
|
13622
13632
|
};
|
|
13623
13633
|
}
|
|
13624
13634
|
}
|
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-yry58Wdg.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-yry58Wdg.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-Cfw6Pg7w.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-Cfw6Pg7w.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-eeMmyF0T.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-eeMmyF0T.js";
|
|
10
10
|
import { defaultTranslations as mp } from "./i18n-provider-defaults.js";
|
|
11
11
|
import './f0.css';const Ja = {
|
|
12
12
|
xs: 1,
|
|
@@ -12008,7 +12008,11 @@ const Sr = {
|
|
|
12008
12008
|
disabled: r,
|
|
12009
12009
|
isEmojiMode: s = !1
|
|
12010
12010
|
}) => {
|
|
12011
|
-
const { value: o, label: a } = n, [d, u] = j(!1)
|
|
12011
|
+
const { value: o, label: a } = n, [d, u] = j(!1);
|
|
12012
|
+
V(() => {
|
|
12013
|
+
r && u(!1);
|
|
12014
|
+
}, [r]);
|
|
12015
|
+
const c = () => {
|
|
12012
12016
|
r || t(o);
|
|
12013
12017
|
}, h = (f) => {
|
|
12014
12018
|
i?.(o, f.native), u(!1);
|
|
@@ -12016,54 +12020,64 @@ const Sr = {
|
|
|
12016
12020
|
return /* @__PURE__ */ l(
|
|
12017
12021
|
"div",
|
|
12018
12022
|
{
|
|
12023
|
+
"data-testid": `score-edit-option-${o}`,
|
|
12019
12024
|
className: P(
|
|
12020
12025
|
"group relative flex h-10 min-w-20 flex-1 items-center justify-center rounded-md border border-solid border-f1-border-secondary text-center font-medium",
|
|
12021
12026
|
e && "border-f1-border-selected bg-f1-background-selected-secondary",
|
|
12022
12027
|
r ? "cursor-default" : "cursor-pointer"
|
|
12023
12028
|
),
|
|
12024
12029
|
onClick: c,
|
|
12025
|
-
children: s ? /* @__PURE__ */ C(
|
|
12026
|
-
|
|
12027
|
-
|
|
12028
|
-
|
|
12029
|
-
|
|
12030
|
-
|
|
12031
|
-
|
|
12032
|
-
|
|
12033
|
-
}
|
|
12034
|
-
) }),
|
|
12035
|
-
/* @__PURE__ */ l(
|
|
12036
|
-
gi,
|
|
12037
|
-
{
|
|
12038
|
-
side: "bottom",
|
|
12039
|
-
align: "center",
|
|
12040
|
-
className: "w-fit border-none bg-transparent p-2 shadow-none",
|
|
12041
|
-
onClick: (f) => {
|
|
12042
|
-
f.preventDefault(), f.stopPropagation();
|
|
12043
|
-
},
|
|
12044
|
-
children: /* @__PURE__ */ l(
|
|
12045
|
-
Ca,
|
|
12030
|
+
children: s ? /* @__PURE__ */ C(
|
|
12031
|
+
fi,
|
|
12032
|
+
{
|
|
12033
|
+
open: !r && d,
|
|
12034
|
+
onOpenChange: r ? void 0 : u,
|
|
12035
|
+
children: [
|
|
12036
|
+
/* @__PURE__ */ l(mi, { asChild: !0, children: /* @__PURE__ */ l(
|
|
12037
|
+
Ce,
|
|
12046
12038
|
{
|
|
12047
|
-
|
|
12048
|
-
|
|
12049
|
-
|
|
12050
|
-
|
|
12051
|
-
|
|
12052
|
-
|
|
12053
|
-
|
|
12054
|
-
|
|
12055
|
-
|
|
12056
|
-
|
|
12057
|
-
|
|
12058
|
-
|
|
12059
|
-
|
|
12060
|
-
|
|
12061
|
-
|
|
12039
|
+
emoji: a,
|
|
12040
|
+
label: o.toString(),
|
|
12041
|
+
variant: "ghost",
|
|
12042
|
+
disabled: r,
|
|
12043
|
+
withoutDisabledAppearance: !0,
|
|
12044
|
+
hideLabel: !0
|
|
12045
|
+
}
|
|
12046
|
+
) }),
|
|
12047
|
+
/* @__PURE__ */ l(
|
|
12048
|
+
gi,
|
|
12049
|
+
{
|
|
12050
|
+
side: "bottom",
|
|
12051
|
+
align: "center",
|
|
12052
|
+
className: "w-fit border-none bg-transparent p-2 shadow-none",
|
|
12053
|
+
onClick: (f) => {
|
|
12054
|
+
f.preventDefault(), f.stopPropagation();
|
|
12055
|
+
},
|
|
12056
|
+
children: /* @__PURE__ */ l(
|
|
12057
|
+
Ca,
|
|
12058
|
+
{
|
|
12059
|
+
data: Sa,
|
|
12060
|
+
onEmojiSelect: h,
|
|
12061
|
+
locale: "en",
|
|
12062
|
+
icons: "outline",
|
|
12063
|
+
set: "twitter",
|
|
12064
|
+
theme: "light",
|
|
12065
|
+
emojiButtonSize: 32,
|
|
12066
|
+
emojiButtonRadius: "10px",
|
|
12067
|
+
emojiSize: 24,
|
|
12068
|
+
maxFrequentRows: 2,
|
|
12069
|
+
skinTonePosition: "none",
|
|
12070
|
+
previewPosition: "none",
|
|
12071
|
+
searchPosition: "top",
|
|
12072
|
+
navPosition: "top",
|
|
12073
|
+
dynamicWidth: !0
|
|
12074
|
+
}
|
|
12075
|
+
)
|
|
12062
12076
|
}
|
|
12063
12077
|
)
|
|
12064
|
-
|
|
12065
|
-
|
|
12066
|
-
|
|
12078
|
+
]
|
|
12079
|
+
}
|
|
12080
|
+
) : /* @__PURE__ */ l("span", { className: "text-base font-medium", children: a })
|
|
12067
12081
|
}
|
|
12068
12082
|
);
|
|
12069
12083
|
}, Ju = ({
|
|
@@ -841,10 +841,8 @@ declare module "@tiptap/core" {
|
|
|
841
841
|
|
|
842
842
|
declare module "@tiptap/core" {
|
|
843
843
|
interface Commands<ReturnType> {
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
src: string;
|
|
847
|
-
}) => ReturnType;
|
|
844
|
+
transcript: {
|
|
845
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
848
846
|
};
|
|
849
847
|
}
|
|
850
848
|
}
|
|
@@ -852,8 +850,10 @@ declare module "@tiptap/core" {
|
|
|
852
850
|
|
|
853
851
|
declare module "@tiptap/core" {
|
|
854
852
|
interface Commands<ReturnType> {
|
|
855
|
-
|
|
856
|
-
|
|
853
|
+
videoEmbed: {
|
|
854
|
+
setVideoEmbed: (options: {
|
|
855
|
+
src: string;
|
|
856
|
+
}) => ReturnType;
|
|
857
857
|
};
|
|
858
858
|
}
|
|
859
859
|
}
|
|
@@ -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-yry58Wdg.js";
|
|
5
5
|
import './index.css';const mp = {
|
|
6
6
|
active: !0,
|
|
7
7
|
breakpoints: {},
|