@factorialco/f0-react 1.438.1 → 1.438.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-DqqfCgbK.js → F0AiChat-C8H9OyiK.js} +10 -10
- package/dist/{F0HILActionConfirmation-BdjYxiC3.js → F0HILActionConfirmation-DjKwUcGT.js} +1 -1
- package/dist/ai.d.ts +6 -6
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +13 -10
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +8 -6
- package/dist/f0.js +7 -5
- package/dist/i18n-provider-defaults.d.ts +6 -6
- package/dist/{index-26YoN1Ks.js → index-CmGdjT42.js} +3704 -3694
- package/package.json +1 -1
|
@@ -3,9 +3,9 @@ import * as N from "react";
|
|
|
3
3
|
import yt, { useContext as e2, createContext as z2, useRef as Ee, useImperativeHandle as y3e, useEffect as Ve, useState as ve, useCallback as ze, forwardRef as z, memo as w3e, useLayoutEffect as Nr, useId as Sa, useInsertionEffect as b3e, useMemo as _e, Children as Y_e, isValidElement as L3e, Fragment as uo, createElement as tl, Component as q_e, useReducer as K_e, cloneElement as x3e, useDeferredValue as Q_e, useSyncExternalStore as J_e } from "react";
|
|
4
4
|
import { useCopilotAction as i4, useLazyToolRenderer as eke, useCopilotContext as Ch, useCopilotChatInternal as F9, CopilotKit as tke } from "@copilotkit/react-core";
|
|
5
5
|
import { Markdown as IH, useChatContext as nke, CopilotSidebar as rke } from "@copilotkit/react-ui";
|
|
6
|
+
import { randomId as Tw } from "@copilotkit/shared";
|
|
6
7
|
import * as gh from "react-dom";
|
|
7
|
-
import OH, { createPortal as
|
|
8
|
-
import { randomId as Fw } from "@copilotkit/shared";
|
|
8
|
+
import OH, { createPortal as Fw, flushSync as ake } from "react-dom";
|
|
9
9
|
import './F0AiChat.css';function M3e(e) {
|
|
10
10
|
var t, n, r = "";
|
|
11
11
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
@@ -90,7 +90,7 @@ const Rz = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ike = (e)
|
|
|
90
90
|
};
|
|
91
91
|
}, [i, o]), /* @__PURE__ */ E(ZH.Provider, { value: { enabled: t, enable: i, disable: o, filter: r }, children: [
|
|
92
92
|
e,
|
|
93
|
-
t && typeof document < "u" &&
|
|
93
|
+
t && typeof document < "u" && Fw(
|
|
94
94
|
/* @__PURE__ */ E("div", { className: "bg-white fixed right-2 top-2 z-50 flex flex-col space-y-2 rounded-2xs border-solid border-f1-border p-4 opacity-80 shadow-md", children: [
|
|
95
95
|
/* @__PURE__ */ u("div", { className: "text-md z-50 font-semibold", children: "XRay" }),
|
|
96
96
|
/* @__PURE__ */ u("div", { className: "flex flex-col space-y-2", children: Iz.map((s) => /* @__PURE__ */ E("label", { className: "block", children: [
|
|
@@ -29113,7 +29113,7 @@ function jqe() {
|
|
|
29113
29113
|
const { _reactContentMap: e } = Gie(), { getWidgetContainer: t } = zqe();
|
|
29114
29114
|
return /* @__PURE__ */ u(Et, { children: Array.from(e.value.entries()).map(([n, r]) => {
|
|
29115
29115
|
const a = t(n);
|
|
29116
|
-
return a ? /* @__PURE__ */ u(Wqe.Provider, { value: { widget: { id: n } }, children: r &&
|
|
29116
|
+
return a ? /* @__PURE__ */ u(Wqe.Provider, { value: { widget: { id: n } }, children: r && Fw(r, a) }, n) : (console.error(`Widget container not found for widget ${n}`), null);
|
|
29117
29117
|
}) });
|
|
29118
29118
|
}
|
|
29119
29119
|
function Gqe(e, t, n, r, a) {
|
|
@@ -165760,7 +165760,7 @@ const qhe = z2(null), Khe = "ONE-ai-chat-width", wx2 = () => {
|
|
|
165760
165760
|
return;
|
|
165761
165761
|
S || P(!0);
|
|
165762
165762
|
const D2 = typeof Kt == "string" ? {
|
|
165763
|
-
id:
|
|
165763
|
+
id: Tw(),
|
|
165764
165764
|
role: "user",
|
|
165765
165765
|
content: Kt
|
|
165766
165766
|
} : Kt;
|
|
@@ -194500,7 +194500,7 @@ const $ve = ({
|
|
|
194500
194500
|
await r?.(), v([
|
|
194501
194501
|
...w.current,
|
|
194502
194502
|
{
|
|
194503
|
-
id:
|
|
194503
|
+
id: Tw(),
|
|
194504
194504
|
role: "assistant",
|
|
194505
194505
|
content: `*<!--response-stopped-->${m.ai.responseStopped}*`
|
|
194506
194506
|
}
|
|
@@ -195224,7 +195224,7 @@ const gR2 = ({
|
|
|
195224
195224
|
},
|
|
195225
195225
|
[d]
|
|
195226
195226
|
), M = g.length > 0 || m.length > 0;
|
|
195227
|
-
return
|
|
195227
|
+
return Fw(
|
|
195228
195228
|
/* @__PURE__ */ E(Et, { children: [
|
|
195229
195229
|
/* @__PURE__ */ u(
|
|
195230
195230
|
"div",
|
|
@@ -196188,7 +196188,7 @@ const BR2 = ({ onClose: e }) => {
|
|
|
196188
196188
|
}, [s, a2, ht]), !s)
|
|
196189
196189
|
return /* @__PURE__ */ u("div", { ref: r });
|
|
196190
196190
|
const Xt = ue > 0.5 ? (Math.random() - 0.5) * ue : 0, tt = ue > 0.5 ? (Math.random() - 0.5) * ue : 0;
|
|
196191
|
-
return
|
|
196191
|
+
return Fw(
|
|
196192
196192
|
/* @__PURE__ */ E("div", { className: "absolute inset-0 z-50 flex flex-col bg-f1-background", children: [
|
|
196193
196193
|
/* @__PURE__ */ u("style", { children: `
|
|
196194
196194
|
@property --gradient-angle {
|
|
@@ -196489,7 +196489,7 @@ const jR2 = ({
|
|
|
196489
196489
|
icon: g.icon,
|
|
196490
196490
|
onClick: () => {
|
|
196491
196491
|
h?.onWelcomeSuggestionClick?.(g), d({
|
|
196492
|
-
id:
|
|
196492
|
+
id: Tw(),
|
|
196493
196493
|
role: "user",
|
|
196494
196494
|
content: g.prompt || g.message
|
|
196495
196495
|
});
|
|
@@ -196859,7 +196859,7 @@ const KR2 = () => {
|
|
|
196859
196859
|
setSendMessageFunction: r
|
|
196860
196860
|
} = Y1(), { reset: a, setMessages: i, sendMessage: o } = F9(), { setThreadId: s, copilotApiConfig: l, actions: c } = Ch();
|
|
196861
196861
|
return Ve(() => (e(() => {
|
|
196862
|
-
a(), s(
|
|
196862
|
+
a(), s(Tw());
|
|
196863
196863
|
}), () => {
|
|
196864
196864
|
e(null);
|
|
196865
196865
|
}), [e, a, s]), Ve(() => (t((d) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defaultTranslations as ke } from "./i18n-provider-defaults.js";
|
|
2
2
|
import { jsx as q, jsxs as le } from "react/jsx-runtime";
|
|
3
3
|
import { useInsertionEffect as Xe, createContext as Ye, useContext as $e, useRef as B, useEffect as ie, useState as Ue, useCallback as qe, useMemo as He } from "react";
|
|
4
|
-
import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./F0AiChat-
|
|
4
|
+
import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./F0AiChat-C8H9OyiK.js";
|
|
5
5
|
import { useTrackVolume as wt } from "@livekit/components-react";
|
|
6
6
|
function Tt(t, e, r) {
|
|
7
7
|
Xe(() => t.on(e, r), [t, e, r]);
|
package/dist/ai.d.ts
CHANGED
|
@@ -2005,10 +2005,8 @@ declare module "@tiptap/core" {
|
|
|
2005
2005
|
|
|
2006
2006
|
declare module "@tiptap/core" {
|
|
2007
2007
|
interface Commands<ReturnType> {
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
src: string;
|
|
2011
|
-
}) => ReturnType;
|
|
2008
|
+
transcript: {
|
|
2009
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
2012
2010
|
};
|
|
2013
2011
|
}
|
|
2014
2012
|
}
|
|
@@ -2016,8 +2014,10 @@ declare module "@tiptap/core" {
|
|
|
2016
2014
|
|
|
2017
2015
|
declare module "@tiptap/core" {
|
|
2018
2016
|
interface Commands<ReturnType> {
|
|
2019
|
-
|
|
2020
|
-
|
|
2017
|
+
videoEmbed: {
|
|
2018
|
+
setVideoEmbed: (options: {
|
|
2019
|
+
src: string;
|
|
2020
|
+
}) => ReturnType;
|
|
2021
2021
|
};
|
|
2022
2022
|
}
|
|
2023
2023
|
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-
|
|
1
|
+
import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-C8H9OyiK.js";
|
|
2
2
|
import { defaultTranslations as d } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-
|
|
3
|
+
import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-DjKwUcGT.js";
|
|
4
4
|
export {
|
|
5
5
|
p as AiChatTranslationsProvider,
|
|
6
6
|
t as ChatSpinner,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -107,6 +107,7 @@ import { TagType } from './experimental';
|
|
|
107
107
|
import { TeamCellValue } from './types/team';
|
|
108
108
|
import { TeamCellValue as TeamCellValue_2 } from './experimental';
|
|
109
109
|
import { TeamItemProps } from './types';
|
|
110
|
+
import { TextareaHTMLAttributes } from 'react';
|
|
110
111
|
import { TextCellValue } from './types/text';
|
|
111
112
|
import { TextCellValue as TextCellValue_2 } from './experimental';
|
|
112
113
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
@@ -6809,11 +6810,13 @@ declare type TeamTagProps = ComponentProps<typeof F0TagTeam>;
|
|
|
6809
6810
|
*/
|
|
6810
6811
|
export declare const Textarea: FC<TextareaProps>;
|
|
6811
6812
|
|
|
6812
|
-
declare const Textarea_2:
|
|
6813
|
-
|
|
6814
|
-
|
|
6813
|
+
declare const Textarea_2: ForwardRefExoticComponent<Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "onChange" | "onFocus" | "onBlur"> & {
|
|
6814
|
+
value?: string;
|
|
6815
|
+
/** Maximum height in pixels. When set, the textarea scrolls beyond this height instead of growing. */
|
|
6816
|
+
maxHeight?: number;
|
|
6817
|
+
} & Pick<InputFieldProps<string>, "label" | "value" | "onChange" | "size" | "icon" | "onFocus" | "onBlur" | "onKeyDown" | "status" | "loading" | "maxLength" | "placeholder" | "required" | "error" | "hideLabel" | "hint" | "labelIcon" | "clearable" | "onClear"> & RefAttributes<HTMLTextAreaElement>>;
|
|
6815
6818
|
|
|
6816
|
-
export declare type TextareaProps = Pick<ComponentProps<typeof Textarea_2>, "disabled" | "onChange" | "value" | "placeholder" | "rows" | "cols" | "label" | "labelIcon" | "icon" | "hideLabel" | "maxLength" | "clearable" | "onBlur" | "onFocus" | "name" | "status" | "hint" | "error" | "size" | "loading" | "required">;
|
|
6819
|
+
export declare type TextareaProps = Pick<ComponentProps<typeof Textarea_2>, "disabled" | "onChange" | "value" | "placeholder" | "rows" | "cols" | "label" | "labelIcon" | "icon" | "hideLabel" | "maxLength" | "clearable" | "onBlur" | "onFocus" | "name" | "status" | "hint" | "error" | "size" | "loading" | "required" | "maxHeight">;
|
|
6817
6820
|
|
|
6818
6821
|
declare const THEMES: {
|
|
6819
6822
|
readonly light: "";
|
|
@@ -7553,10 +7556,8 @@ declare module "@tiptap/core" {
|
|
|
7553
7556
|
|
|
7554
7557
|
declare module "@tiptap/core" {
|
|
7555
7558
|
interface Commands<ReturnType> {
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
src: string;
|
|
7559
|
-
}) => ReturnType;
|
|
7559
|
+
transcript: {
|
|
7560
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
7560
7561
|
};
|
|
7561
7562
|
}
|
|
7562
7563
|
}
|
|
@@ -7564,8 +7565,10 @@ declare module "@tiptap/core" {
|
|
|
7564
7565
|
|
|
7565
7566
|
declare module "@tiptap/core" {
|
|
7566
7567
|
interface Commands<ReturnType> {
|
|
7567
|
-
|
|
7568
|
-
|
|
7568
|
+
videoEmbed: {
|
|
7569
|
+
setVideoEmbed: (options: {
|
|
7570
|
+
src: string;
|
|
7571
|
+
}) => ReturnType;
|
|
7569
7572
|
};
|
|
7570
7573
|
}
|
|
7571
7574
|
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { cN as Uu, cO as Gu, cP as Ku, a1 as qu, cQ as uo, cR as Un, cS as Yu, cT as ms, cU as _i, cV as br, K as k, R as X, L as rt, u as me, cW as Ju, cX as Xu, cY as Zu, cZ as Qu, c_ as ef, af as Le, c$ as tf, a0 as Pt, d0 as nf, b3 as rf, _ as H, b9 as sf, ba as of, U as $t, d1 as Yl, bi as lf, bc as af, M as $, d2 as gs, Z as T, d3 as it, d4 as cf, d5 as df, bd as uf, au as ff, bf as hf, aC as Bt, d6 as Jl, d7 as pf, d8 as At, aV as xn, av as bs, aw as on, k as Xl, a4 as pt, d9 as Zl, da as mf, db as fo, dc as Qt, dd as ws, de as Mn, df as wr, dg as gf, dh as Ql, di as bf, dj as xs, dk as yn, dl as Re, dm as wf, dn as xf, dp as yt, dq as oi, dr as yf, ds as bn, dt as Ut, du as vf, P as ge, dv as kf, dw as Cf, dx as Sf, dy as Nf, dz as If, W as Ye, Y as de, dA as ys, aR as On, cK as $r, dB as ea, dC as vs, dD as Af, dE as _f, dF as Tf, dG as Ef, dH as Df, dI as Rf, dJ as Lf, dK as Mf, dL as Of, b6 as Ff, dM as zf, b4 as Pf, dN as $f, dO as Bf, dP as Hf, dQ as jf, dR as Vf, dS as Wf, dT as Uf, dU as Gf, b_ as nt, dV as ta, dW as Kf, a3 as V, N as na, dX as ra, dY as qf, aZ as ks, an as Yf, dZ as Jf, d_ as Xf, ah as ln, d$ as Zf, e0 as Qf, e1 as eh, e2 as th, aM as Br, e3 as ia, e4 as sa, ca as oa, e5 as nh, aF as xr, e6 as rh, e7 as ih, e8 as sh, e9 as oh, ea as lh, ad as ah, ae as ch, ag as dh, eb as la, ec as uh, ed as fh, as as yr, ee as Kt, ef as hh, eg as aa, eh as Cs, ei as ph, ej as mh, ek as ca, el as Ti, bX as Ei, em as da, en as gh, eo as bh, cJ as Hr, bz as ua, cM as wh, cL as xh, ep as yh, bA as en, eq as vh, aJ as Gn, er as ho, es as Di, et as kh, bn as Ch, eu as Sh, bV as fa, b$ as Nh, cl as ha, cj as Ss, a9 as Ih, cm as Ah, bY as Ns, aq as pa, a as _h, c as Th, bR as Eh, ev as ma, ew as Dh, ex as Rh, F as Lh, ey as ga, ez as ba, eA as Mh, bs as po, eB as Oh, eC as Fh, bT as zh, bq as wa, bt as Ph, eD as $h, eE as Bh, eF as Hh, eG as jh, bU as xa, $ as Vh, Q as st, bF as Is, eH as As, eI as _s, eJ as ya, bG as Ts, eK as va, eL as Wh, eM as Uh, eN as Gh, eO as Kh, eP as qh, bH as Yh, eQ as Jh, bW as Xh, eR as Zh, eS as mo, eT as go, eU as bo, aX as Qh, eV as ep, eW as tp, b8 as np, eX as ka, by as rp, eY as ip, eZ as sp } from "./F0AiChat-
|
|
2
|
-
import { f1 as jN, f0 as VN, ai as WN, e_ as UN, fl as GN, az as KN, e$ as qN, aE as YN, f9 as JN, fa as XN, fc as ZN, fj as QN, fk as eI, aG as tI, f3 as nI, f2 as rI, fb as iI, c9 as sI, fe as oI, ff as lI, f8 as aI, f5 as cI, f7 as dI, f4 as uI, bZ as fI, f6 as hI, fg as pI, fh as mI, fd as gI, fi as bI } from "./F0AiChat-
|
|
1
|
+
import { cN as Uu, cO as Gu, cP as Ku, a1 as qu, cQ as uo, cR as Un, cS as Yu, cT as ms, cU as _i, cV as br, K as k, R as X, L as rt, u as me, cW as Ju, cX as Xu, cY as Zu, cZ as Qu, c_ as ef, af as Le, c$ as tf, a0 as Pt, d0 as nf, b3 as rf, _ as H, b9 as sf, ba as of, U as $t, d1 as Yl, bi as lf, bc as af, M as $, d2 as gs, Z as T, d3 as it, d4 as cf, d5 as df, bd as uf, au as ff, bf as hf, aC as Bt, d6 as Jl, d7 as pf, d8 as At, aV as xn, av as bs, aw as on, k as Xl, a4 as pt, d9 as Zl, da as mf, db as fo, dc as Qt, dd as ws, de as Mn, df as wr, dg as gf, dh as Ql, di as bf, dj as xs, dk as yn, dl as Re, dm as wf, dn as xf, dp as yt, dq as oi, dr as yf, ds as bn, dt as Ut, du as vf, P as ge, dv as kf, dw as Cf, dx as Sf, dy as Nf, dz as If, W as Ye, Y as de, dA as ys, aR as On, cK as $r, dB as ea, dC as vs, dD as Af, dE as _f, dF as Tf, dG as Ef, dH as Df, dI as Rf, dJ as Lf, dK as Mf, dL as Of, b6 as Ff, dM as zf, b4 as Pf, dN as $f, dO as Bf, dP as Hf, dQ as jf, dR as Vf, dS as Wf, dT as Uf, dU as Gf, b_ as nt, dV as ta, dW as Kf, a3 as V, N as na, dX as ra, dY as qf, aZ as ks, an as Yf, dZ as Jf, d_ as Xf, ah as ln, d$ as Zf, e0 as Qf, e1 as eh, e2 as th, aM as Br, e3 as ia, e4 as sa, ca as oa, e5 as nh, aF as xr, e6 as rh, e7 as ih, e8 as sh, e9 as oh, ea as lh, ad as ah, ae as ch, ag as dh, eb as la, ec as uh, ed as fh, as as yr, ee as Kt, ef as hh, eg as aa, eh as Cs, ei as ph, ej as mh, ek as ca, el as Ti, bX as Ei, em as da, en as gh, eo as bh, cJ as Hr, bz as ua, cM as wh, cL as xh, ep as yh, bA as en, eq as vh, aJ as Gn, er as ho, es as Di, et as kh, bn as Ch, eu as Sh, bV as fa, b$ as Nh, cl as ha, cj as Ss, a9 as Ih, cm as Ah, bY as Ns, aq as pa, a as _h, c as Th, bR as Eh, ev as ma, ew as Dh, ex as Rh, F as Lh, ey as ga, ez as ba, eA as Mh, bs as po, eB as Oh, eC as Fh, bT as zh, bq as wa, bt as Ph, eD as $h, eE as Bh, eF as Hh, eG as jh, bU as xa, $ as Vh, Q as st, bF as Is, eH as As, eI as _s, eJ as ya, bG as Ts, eK as va, eL as Wh, eM as Uh, eN as Gh, eO as Kh, eP as qh, bH as Yh, eQ as Jh, bW as Xh, eR as Zh, eS as mo, eT as go, eU as bo, aX as Qh, eV as ep, eW as tp, b8 as np, eX as ka, by as rp, eY as ip, eZ as sp } from "./F0AiChat-C8H9OyiK.js";
|
|
2
|
+
import { f1 as jN, f0 as VN, ai as WN, e_ as UN, fl as GN, az as KN, e$ as qN, aE as YN, f9 as JN, fa as XN, fc as ZN, fj as QN, fk as eI, aG as tI, f3 as nI, f2 as rI, fb as iI, c9 as sI, fe as oI, ff as lI, f8 as aI, f5 as cI, f7 as dI, f4 as uI, bZ as fI, f6 as hI, fg as pI, fh as mI, fd as gI, fi as bI } from "./F0AiChat-C8H9OyiK.js";
|
|
3
3
|
import { jsx as c, jsxs as g, Fragment as re } from "react/jsx-runtime";
|
|
4
4
|
import * as he from "react";
|
|
5
5
|
import ne, { forwardRef as F, useRef as K, useTransition as op, useState as L, useLayoutEffect as Ca, useContext as Es, createContext as Ds, useCallback as J, useMemo as ee, useEffect as W, useId as Sa, useImperativeHandle as Na, memo as Ia, Fragment as lp, isValidElement as ap, cloneElement as Aa, Children as _a } from "react";
|
|
6
|
-
import { C as cp, m as dp, N as He, o as ot, q as Te, t as up, v as sr, w as Ue, x as Ta, y as Oe, z as Rs, E as $e, G as wo, H as fp, I as Ea, J as Ie, K as ze, O as vn, Q as vr, U as Da, W as hp, X as Ht, Y as pp, Z as mp, a0 as gp, a1 as Fn, a2 as zn, a3 as Ls, a4 as bp, a5 as Ra, a6 as La, a7 as Ma, a8 as wp, a9 as Oa, aa as Fa, ab as za, ac as Pa, ad as $a, ae as Ba, n as xo, af as xp, ag as yo, ah as yp, ai as vp, aj as kp, ak as Ha, al as Cp, am as Sp, an as Np, ao as ja, e as Ri, ap as Ip, aq as Ap, ar as _p, as as Tp, at as Ep, au as Dp, av as Rp, M as Lp, aw as Mp, ax as Op, ay as Fp, az as zp, u as Va, aA as Pp, aB as $p, aC as Bp, aD as Hp, aE as jp, aF as Vp, aG as vo, aH as Wp, aI as Up, aJ as Gp } from "./index-
|
|
7
|
-
import { A as xI, f as yI, B as vI, a as kI, g as CI, j as SI, D as NI, F as II, b as AI, aM as _I, aK as TI, aL as EI, L as DI, h as RI, i as LI, k as MI, c as OI, R as FI, S as zI, T as PI, V as $I, _ as BI, l as HI, p as jI, s as VI } from "./index-
|
|
6
|
+
import { C as cp, m as dp, N as He, o as ot, q as Te, t as up, v as sr, w as Ue, x as Ta, y as Oe, z as Rs, E as $e, G as wo, H as fp, I as Ea, J as Ie, K as ze, O as vn, Q as vr, U as Da, W as hp, X as Ht, Y as pp, Z as mp, a0 as gp, a1 as Fn, a2 as zn, a3 as Ls, a4 as bp, a5 as Ra, a6 as La, a7 as Ma, a8 as wp, a9 as Oa, aa as Fa, ab as za, ac as Pa, ad as $a, ae as Ba, n as xo, af as xp, ag as yo, ah as yp, ai as vp, aj as kp, ak as Ha, al as Cp, am as Sp, an as Np, ao as ja, e as Ri, ap as Ip, aq as Ap, ar as _p, as as Tp, at as Ep, au as Dp, av as Rp, M as Lp, aw as Mp, ax as Op, ay as Fp, az as zp, u as Va, aA as Pp, aB as $p, aC as Bp, aD as Hp, aE as jp, aF as Vp, aG as vo, aH as Wp, aI as Up, aJ as Gp } from "./index-CmGdjT42.js";
|
|
7
|
+
import { A as xI, f as yI, B as vI, a as kI, g as CI, j as SI, D as NI, F as II, b as AI, aM as _I, aK as TI, aL as EI, L as DI, h as RI, i as LI, k as MI, c as OI, R as FI, S as zI, T as PI, V as $I, _ as BI, l as HI, p as jI, s as VI } from "./index-CmGdjT42.js";
|
|
8
8
|
import './experimental.css';const Kp = Uu("Search", [
|
|
9
9
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
10
10
|
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
package/dist/f0.d.ts
CHANGED
|
@@ -7218,6 +7218,8 @@ export declare const F0Text: WithDataTestIdReturnType_3<ForwardRefExoticComponen
|
|
|
7218
7218
|
export declare interface F0TextareaConfig {
|
|
7219
7219
|
/** Number of rows for the textarea */
|
|
7220
7220
|
rows?: number;
|
|
7221
|
+
/** Maximum height in pixels. When set, the textarea scrolls beyond this height instead of growing. */
|
|
7222
|
+
maxHeight?: number;
|
|
7221
7223
|
}
|
|
7222
7224
|
|
|
7223
7225
|
/**
|
|
@@ -11790,10 +11792,8 @@ declare module "@tiptap/core" {
|
|
|
11790
11792
|
|
|
11791
11793
|
declare module "@tiptap/core" {
|
|
11792
11794
|
interface Commands<ReturnType> {
|
|
11793
|
-
|
|
11794
|
-
|
|
11795
|
-
src: string;
|
|
11796
|
-
}) => ReturnType;
|
|
11795
|
+
transcript: {
|
|
11796
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
11797
11797
|
};
|
|
11798
11798
|
}
|
|
11799
11799
|
}
|
|
@@ -11801,8 +11801,10 @@ declare module "@tiptap/core" {
|
|
|
11801
11801
|
|
|
11802
11802
|
declare module "@tiptap/core" {
|
|
11803
11803
|
interface Commands<ReturnType> {
|
|
11804
|
-
|
|
11805
|
-
|
|
11804
|
+
videoEmbed: {
|
|
11805
|
+
setVideoEmbed: (options: {
|
|
11806
|
+
src: string;
|
|
11807
|
+
}) => ReturnType;
|
|
11806
11808
|
};
|
|
11807
11809
|
}
|
|
11808
11810
|
}
|
package/dist/f0.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { O as xo, P as Oe, Q as sr, K as Q, L as nn, R as Kn, T as wo, U as ia, W as ei, X as gd, Y as So, Z as Be, u as Ne, _ as Le, $ as ar, a0 as vd, a1 as bd, a2 as _r, a3 as ut, a4 as oa, a5 as yd, a6 as xd, a7 as wd, a8 as ti, a9 as Sd, aa as kd, ab as ko, ac as _d, ad as la, ae as ca, af as Gr, ag as da, ah as _o, ai as Cr, aj as Co, ak as Cd, al as Nd, am as Dd, an as Fd, ao as ua, ap as ni, aq as Td, ar as Ad, as as Ed, at as Id, au as No, M as Me, av as Rd, aw as Nr, ax as Xn, ay as Do, az as fa, aA as Od, aB as Ld, aC as ir, aD as ma, aE as Fo, aF as bn, aG as To, aH as Md, aI as ha, aJ as Pd, aK as Ao, aL as Eo, N as kt, aM as Bd, aN as Bs, aO as Io, aP as Vd, aQ as Ro, aR as xn, aS as Oo, aT as jd, aU as $d, aV as Lo, aW as zd, aX as qd, aY as Zd, aZ as Kr, a_ as Ud, a$ as Wd, b0 as Hd, b1 as Qd, j as Gd, b2 as Kd, b3 as Mo, b4 as fn, b5 as Po, b6 as Bo, b7 as Dr, b8 as Vo, b9 as pa, ba as ga, bb as va, bc as ba, bd as ft, be as ya, bf as wn, bg as $n, bh as zn, bi as qn, bj as Zn, bk as Xd, bl as mr, bm as jo, bn as Fr, bo as lt, bp as $o, bq as Xr, br as zo, bs as xa, bt as wa, bu as Yd, bv as Jd, bw as eu, bx as tu, by as nu, bz as qo, bA as ru, bB as su, bC as au, bD as iu, bE as Zo, bF as ou, bG as lu, bH as cu, bI as Uo, bJ as du, bK as uu, bL as fu, bM as mu, I as hu, bN as pu, bO as gu, bP as vu, bQ as bu, bR as yu, bS as xu } from "./F0AiChat-
|
|
2
|
-
import { cq as ux, c2 as fx, i as mx, cC as hx, cK as px, h as gx, F as vx, a as bx, C as yx, b as xx, bT as wx, bU as Sx, bV as kx, bW as _x, bX as Cx, bY as Nx, b_ as Dx, b$ as Fx, ca as Tx, cb as Ax, cf as Ex, c0 as Ix, cg as Rx, cG as Ox, k as Lx, cj as Mx, ck as Px, cl as Bx, cm as Vx, co as jx, cp as $x, c3 as zx, cr as qx, c4 as Zx, c5 as Ux, c6 as Wx, ci as Hx, c7 as Qx, c8 as Gx, cn as Kx, cH as Xx, cc as Yx, cd as Jx, ce as ew, c1 as tw, c9 as nw, cB as rw, cw as sw, cz as aw, g as iw, cv as ow, cL as lw, cu as cw, ct as dw, bZ as uw, c as fw, cs as mw, cx as hw, d as pw, cD as gw, cE as vw, cF as bw, cM as yw, ch as xw, cy as ww, f as Sw, e as kw, cJ as _w, cA as Cw, cI as Nw } from "./F0AiChat-
|
|
1
|
+
import { O as xo, P as Oe, Q as sr, K as Q, L as nn, R as Kn, T as wo, U as ia, W as ei, X as gd, Y as So, Z as Be, u as Ne, _ as Le, $ as ar, a0 as vd, a1 as bd, a2 as _r, a3 as ut, a4 as oa, a5 as yd, a6 as xd, a7 as wd, a8 as ti, a9 as Sd, aa as kd, ab as ko, ac as _d, ad as la, ae as ca, af as Gr, ag as da, ah as _o, ai as Cr, aj as Co, ak as Cd, al as Nd, am as Dd, an as Fd, ao as ua, ap as ni, aq as Td, ar as Ad, as as Ed, at as Id, au as No, M as Me, av as Rd, aw as Nr, ax as Xn, ay as Do, az as fa, aA as Od, aB as Ld, aC as ir, aD as ma, aE as Fo, aF as bn, aG as To, aH as Md, aI as ha, aJ as Pd, aK as Ao, aL as Eo, N as kt, aM as Bd, aN as Bs, aO as Io, aP as Vd, aQ as Ro, aR as xn, aS as Oo, aT as jd, aU as $d, aV as Lo, aW as zd, aX as qd, aY as Zd, aZ as Kr, a_ as Ud, a$ as Wd, b0 as Hd, b1 as Qd, j as Gd, b2 as Kd, b3 as Mo, b4 as fn, b5 as Po, b6 as Bo, b7 as Dr, b8 as Vo, b9 as pa, ba as ga, bb as va, bc as ba, bd as ft, be as ya, bf as wn, bg as $n, bh as zn, bi as qn, bj as Zn, bk as Xd, bl as mr, bm as jo, bn as Fr, bo as lt, bp as $o, bq as Xr, br as zo, bs as xa, bt as wa, bu as Yd, bv as Jd, bw as eu, bx as tu, by as nu, bz as qo, bA as ru, bB as su, bC as au, bD as iu, bE as Zo, bF as ou, bG as lu, bH as cu, bI as Uo, bJ as du, bK as uu, bL as fu, bM as mu, I as hu, bN as pu, bO as gu, bP as vu, bQ as bu, bR as yu, bS as xu } from "./F0AiChat-C8H9OyiK.js";
|
|
2
|
+
import { cq as ux, c2 as fx, i as mx, cC as hx, cK as px, h as gx, F as vx, a as bx, C as yx, b as xx, bT as wx, bU as Sx, bV as kx, bW as _x, bX as Cx, bY as Nx, b_ as Dx, b$ as Fx, ca as Tx, cb as Ax, cf as Ex, c0 as Ix, cg as Rx, cG as Ox, k as Lx, cj as Mx, ck as Px, cl as Bx, cm as Vx, co as jx, cp as $x, c3 as zx, cr as qx, c4 as Zx, c5 as Ux, c6 as Wx, ci as Hx, c7 as Qx, c8 as Gx, cn as Kx, cH as Xx, cc as Yx, cd as Jx, ce as ew, c1 as tw, c9 as nw, cB as rw, cw as sw, cz as aw, g as iw, cv as ow, cL as lw, cu as cw, ct as dw, bZ as uw, c as fw, cs as mw, cx as hw, d as pw, cD as gw, cE as vw, cF as bw, cM as yw, ch as xw, cy as ww, f as Sw, e as kw, cJ as _w, cA as Cw, cI as Nw } from "./F0AiChat-C8H9OyiK.js";
|
|
3
3
|
import { jsx as c, jsxs as D, Fragment as Ke } from "react/jsx-runtime";
|
|
4
4
|
import * as _t from "react";
|
|
5
5
|
import ce, { forwardRef as tt, useRef as H, useImperativeHandle as wu, Children as Tr, useCallback as L, useMemo as z, useState as ee, useEffect as ie, createElement as hr, isValidElement as Wo, Fragment as Ho, useLayoutEffect as Su, createContext as Ct, memo as Qo, useReducer as ku, useContext as et, cloneElement as _u, useId as Sa } from "react";
|
|
6
6
|
import { unstable_batchedUpdates as pr, createPortal as Cu, flushSync as Nu } from "react-dom";
|
|
7
|
-
import { C as Du, r as Fu, F as Vs, a as Go, R as Tu, T as Au, S as Ko, b as ka, M as Xo, D as Eu, $ as Iu, d as Ru, n as Ou, c as Lu, B as Mu, P as Pu } from "./index-
|
|
8
|
-
import { A as Fw, f as Tw, g as Aw, j as Ew, e as Iw, L as Rw, h as Ow, m as Lw, i as Mw, k as Pw, V as Bw, _ as Vw, l as jw, p as $w, s as zw, u as qw } from "./index-
|
|
9
|
-
import { A as Uw, F as Ww, c as Hw, d as Qw, b as Gw, a as Kw, o as Xw, u as Yw } from "./F0HILActionConfirmation-
|
|
7
|
+
import { C as Du, r as Fu, F as Vs, a as Go, R as Tu, T as Au, S as Ko, b as ka, M as Xo, D as Eu, $ as Iu, d as Ru, n as Ou, c as Lu, B as Mu, P as Pu } from "./index-CmGdjT42.js";
|
|
8
|
+
import { A as Fw, f as Tw, g as Aw, j as Ew, e as Iw, L as Rw, h as Ow, m as Lw, i as Mw, k as Pw, V as Bw, _ as Vw, l as jw, p as $w, s as zw, u as qw } from "./index-CmGdjT42.js";
|
|
9
|
+
import { A as Uw, F as Ww, c as Hw, d as Qw, b as Gw, a as Kw, o as Xw, u as Yw } from "./F0HILActionConfirmation-DjKwUcGT.js";
|
|
10
10
|
import { defaultTranslations as e0 } from "./i18n-provider-defaults.js";
|
|
11
11
|
const Bu = {
|
|
12
12
|
xs: 1,
|
|
@@ -10660,6 +10660,7 @@ function fg({
|
|
|
10660
10660
|
disabled: e.disabled,
|
|
10661
10661
|
rows: e.rows,
|
|
10662
10662
|
maxLength: e.maxLength,
|
|
10663
|
+
maxHeight: e.maxHeight,
|
|
10663
10664
|
value: t.value != null ? String(t.value) : "",
|
|
10664
10665
|
size: on,
|
|
10665
10666
|
hideLabel: !0,
|
|
@@ -11286,6 +11287,7 @@ function Gi(e, t, n, r) {
|
|
|
11286
11287
|
...s,
|
|
11287
11288
|
type: "textarea",
|
|
11288
11289
|
rows: "rows" in n ? n.rows : void 0,
|
|
11290
|
+
maxHeight: "maxHeight" in n ? n.maxHeight : void 0,
|
|
11289
11291
|
maxLength: i,
|
|
11290
11292
|
clearable: a,
|
|
11291
11293
|
renderIf: n.renderIf
|
|
@@ -784,10 +784,8 @@ declare module "@tiptap/core" {
|
|
|
784
784
|
|
|
785
785
|
declare module "@tiptap/core" {
|
|
786
786
|
interface Commands<ReturnType> {
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
src: string;
|
|
790
|
-
}) => ReturnType;
|
|
787
|
+
transcript: {
|
|
788
|
+
insertTranscript: (data: TranscriptData) => ReturnType;
|
|
791
789
|
};
|
|
792
790
|
}
|
|
793
791
|
}
|
|
@@ -795,8 +793,10 @@ declare module "@tiptap/core" {
|
|
|
795
793
|
|
|
796
794
|
declare module "@tiptap/core" {
|
|
797
795
|
interface Commands<ReturnType> {
|
|
798
|
-
|
|
799
|
-
|
|
796
|
+
videoEmbed: {
|
|
797
|
+
setVideoEmbed: (options: {
|
|
798
|
+
src: string;
|
|
799
|
+
}) => ReturnType;
|
|
800
800
|
};
|
|
801
801
|
}
|
|
802
802
|
}
|