@factorialco/f0-react 2.57.0 → 2.58.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 +4 -0
- package/dist/ai.js +1 -1
- package/dist/experimental.d.ts +4 -0
- package/dist/f0.d.ts +4 -0
- package/dist/f0.js +2 -2
- package/dist/{useChatHistory-RT7UPbrU.js → useChatHistory-CEzj-hkr.js} +1356 -1354
- package/package.json +1 -1
package/dist/ai.d.ts
CHANGED
|
@@ -537,6 +537,10 @@ export declare type AiChatTrackingOptions = {
|
|
|
537
537
|
onWelcomeSuggestionClick?: (event: WelcomeSuggestionClickEvent) => void;
|
|
538
538
|
onNewChat?: () => void;
|
|
539
539
|
onMessage?: (message: F0Message) => void;
|
|
540
|
+
/** Mic button pressed — fires on intent, even if mic permission is later denied. */
|
|
541
|
+
onDictationStart?: () => void;
|
|
542
|
+
/** Dictation discarded by the user, while recording or mid-transcription. */
|
|
543
|
+
onDictationCancel?: () => void;
|
|
540
544
|
};
|
|
541
545
|
|
|
542
546
|
/**
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as e, F as r, a as t, e as o, f as i, c as n, d as F, I as C, P as A, b as l, u as d } from "./F0CanvasPanel-Dr6ruMgi.js";
|
|
2
2
|
import { defaultTranslations as m } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as c, C as I, h as P, t as v, v as f, x as p, n as T, j as g, r as y, y as S, q as x, s as H, k as V, e as b, g as k, l as w, F as M, i as O, a as D, p as j, m as q, o as z, b as B, f as E, w as L, c as R, d as G, u as J } from "./useChatHistory-
|
|
3
|
+
import { A as c, C as I, h as P, t as v, v as f, x as p, n as T, j as g, r as y, y as S, q as x, s as H, k as V, e as b, g as k, l as w, F as M, i as O, a as D, p as j, m as q, o as z, b as B, f as E, w as L, c as R, d as G, u as J } from "./useChatHistory-CEzj-hkr.js";
|
|
4
4
|
export {
|
|
5
5
|
c as AiChatTranslationsProvider,
|
|
6
6
|
I as ChatSpinner,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -631,6 +631,10 @@ declare type AiChatTrackingOptions = {
|
|
|
631
631
|
onWelcomeSuggestionClick?: (event: WelcomeSuggestionClickEvent) => void;
|
|
632
632
|
onNewChat?: () => void;
|
|
633
633
|
onMessage?: (message: F0Message) => void;
|
|
634
|
+
/** Mic button pressed — fires on intent, even if mic permission is later denied. */
|
|
635
|
+
onDictationStart?: () => void;
|
|
636
|
+
/** Dictation discarded by the user, while recording or mid-transcription. */
|
|
637
|
+
onDictationCancel?: () => void;
|
|
634
638
|
};
|
|
635
639
|
|
|
636
640
|
/**
|
package/dist/f0.d.ts
CHANGED
|
@@ -808,6 +808,10 @@ export declare type AiChatTrackingOptions = {
|
|
|
808
808
|
onWelcomeSuggestionClick?: (event: WelcomeSuggestionClickEvent) => void;
|
|
809
809
|
onNewChat?: () => void;
|
|
810
810
|
onMessage?: (message: F0Message) => void;
|
|
811
|
+
/** Mic button pressed — fires on intent, even if mic permission is later denied. */
|
|
812
|
+
onDictationStart?: () => void;
|
|
813
|
+
/** Dictation discarded by the user, while recording or mid-transcription. */
|
|
814
|
+
onDictationCancel?: () => void;
|
|
811
815
|
};
|
|
812
816
|
|
|
813
817
|
/**
|
package/dist/f0.js
CHANGED
|
@@ -3,8 +3,8 @@ import { hr as wpe, D as Spe, aN as Cpe, F as Tpe, a as Dpe, hk as Ape, e as Mpe
|
|
|
3
3
|
import { jsx as S, jsxs as z, Fragment as st } from "react/jsx-runtime";
|
|
4
4
|
import * as St from "react";
|
|
5
5
|
import _t, { forwardRef as Pr, useRef as ue, useImperativeHandle as x3, Children as ov, createContext as Or, useContext as fr, useState as ce, useMemo as se, useEffect as ge, useCallback as le, useLayoutEffect as q0, isValidElement as u2, Fragment as Wp, memo as c2, useReducer as w3, cloneElement as S3, useId as Ic, useSyncExternalStore as YS } from "react";
|
|
6
|
-
import { T as f2, z as C3, B as T3, D as D3, E as A3, G as d2, H as sv, I as zx, J as h2, K as v2, L as p2, M as M3, N as E3, O as L3, P as N3, Q as I3, F as R3 } from "./useChatHistory-
|
|
7
|
-
import { A as Gge, C as Hge, h as Wge, t as $ge, v as Uge, x as Yge, n as Xge, j as qge, r as Zge, y as jge, q as Kge, s as Qge, k as Jge, e as eme, R as tme, g as rme, l as nme, i as ime, a as ame, p as ome, m as sme, o as lme, b as ume, f as cme, w as fme, c as dme, d as hme, u as vme } from "./useChatHistory-
|
|
6
|
+
import { T as f2, z as C3, B as T3, D as D3, E as A3, G as d2, H as sv, I as zx, J as h2, K as v2, L as p2, M as M3, N as E3, O as L3, P as N3, Q as I3, F as R3 } from "./useChatHistory-CEzj-hkr.js";
|
|
7
|
+
import { A as Gge, C as Hge, h as Wge, t as $ge, v as Uge, x as Yge, n as Xge, j as qge, r as Zge, y as jge, q as Kge, s as Qge, k as Jge, e as eme, R as tme, g as rme, l as nme, i as ime, a as ame, p as ome, m as sme, o as lme, b as ume, f as cme, w as fme, c as dme, d as hme, u as vme } from "./useChatHistory-CEzj-hkr.js";
|
|
8
8
|
import { createPortal as Vx, unstable_batchedUpdates as ud } from "react-dom";
|
|
9
9
|
import { C as k3, F as P3, ad as g2, ae as O3, af as B3, ag as z3, ah as Fx, ai as Gx, D as V3, aj as F3, W as G3, a6 as H3, ak as W3, J as $3, al as U3, am as Y3, b as $p, an as zf, R as Hx, u as Wx, Q as m2, O as $x, ao as y2, ap as XS, aq as Ux, m as X3, d as b2, Z as _2, ar as q3, as as Z3, at as j3, au as K3, av as Q3, aw as J3, M as eH, ax as qS } from "./readDataCollectionStorage-DyBXGaXR.js";
|
|
10
10
|
import { o as gme, p as mme, E as yme, q as bme, x as _me, aN as xme, aM as wme, aI as Sme, az as Cme, ay as Tme, aA as Dme, aB as Ame, K as Mme, H as Eme, ac as Lme, I as Nme, s as Ime, aO as Rme, a8 as kme, a9 as Pme, a7 as Ome, aa as Bme, N as zme, t as Vme, P as Fme, w as Gme, y as Hme, ab as Wme, T as $me, v as Ume, z as Yme, aQ as Xme, k as qme, l as Zme, aH as jme, aE as Kme, aD as Qme, aP as Jme, a4 as eye, aU as tye, r as rye, aG as nye, G as iye, aR as aye, aS as oye, e as sye, aJ as lye, aK as uye, aL as cye, aF as fye, f as dye, aC as hye, aT as vye } from "./readDataCollectionStorage-DyBXGaXR.js";
|