@factorialco/f0-react 2.57.0 → 2.59.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/{F0CanvasPanel-Dr6ruMgi.js → F0CanvasPanel-44Gm4epD.js} +16716 -16879
- package/dist/ai.d.ts +4 -11
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +4 -7
- package/dist/experimental.js +1458 -1319
- package/dist/f0.d.ts +4 -11
- package/dist/f0.js +6 -6
- package/dist/{readDataCollectionStorage-DyBXGaXR.js → readDataCollectionStorage-U2-EKmqB.js} +3190 -3176
- package/dist/{useChatHistory-RT7UPbrU.js → useChatHistory-HVhWAfGi.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
|
/**
|
|
@@ -1120,13 +1124,6 @@ declare type CardAvatarVariant = AvatarVariant | {
|
|
|
1120
1124
|
} | {
|
|
1121
1125
|
type: "date";
|
|
1122
1126
|
date: Date;
|
|
1123
|
-
} | {
|
|
1124
|
-
type: "pulse";
|
|
1125
|
-
firstName: string;
|
|
1126
|
-
lastName: string;
|
|
1127
|
-
src?: string;
|
|
1128
|
-
pulse?: Pulse;
|
|
1129
|
-
onPulseClick: () => void;
|
|
1130
1127
|
};
|
|
1131
1128
|
|
|
1132
1129
|
declare type CardInternalProps = F0AiInsightCardProps & {
|
|
@@ -4251,10 +4248,6 @@ declare type Props_2 = {
|
|
|
4251
4248
|
customColor: string;
|
|
4252
4249
|
});
|
|
4253
4250
|
|
|
4254
|
-
declare type Pulse = (typeof pulses)[number];
|
|
4255
|
-
|
|
4256
|
-
declare const pulses: readonly ["superNegative", "negative", "neutral", "positive", "superPositive"];
|
|
4257
|
-
|
|
4258
4251
|
export declare interface RadarComputation {
|
|
4259
4252
|
datasetId: string;
|
|
4260
4253
|
seriesColumn: string;
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
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-44Gm4epD.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-HVhWAfGi.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
|
/**
|
|
@@ -1532,13 +1536,6 @@ declare type CardAvatarVariant = AvatarVariant | {
|
|
|
1532
1536
|
} | {
|
|
1533
1537
|
type: "date";
|
|
1534
1538
|
date: Date;
|
|
1535
|
-
} | {
|
|
1536
|
-
type: "pulse";
|
|
1537
|
-
firstName: string;
|
|
1538
|
-
lastName: string;
|
|
1539
|
-
src?: string;
|
|
1540
|
-
pulse?: Pulse;
|
|
1541
|
-
onPulseClick: () => void;
|
|
1542
1539
|
};
|
|
1543
1540
|
|
|
1544
1541
|
/**
|