@factorialco/f0-react 1.414.1 → 1.415.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/F0AiChat-CrcLUV-I.js +63788 -0
- package/dist/F0AiChat.css +1 -1
- package/dist/{F0AnalyticsDashboard-C74qJ7sF.js → F0AnalyticsDashboard-BhvG-yU1.js} +2 -2
- package/dist/F0ChatDashboard.d.ts +5 -5
- package/dist/F0ChatDashboard.js +1 -1
- package/dist/{F0HILActionConfirmation-BvAjbJKj.js → F0HILActionConfirmation-Bu877U3G.js} +35 -35
- package/dist/{F0Input-C9w04Jpr.js → F0Input-Ctwd5zZH.js} +23551 -21684
- package/dist/ai.d.ts +34 -5
- package/dist/ai.js +42 -38
- package/dist/experimental.d.ts +5 -5
- package/dist/experimental.js +402 -402
- package/dist/f0.d.ts +498 -19
- package/dist/f0.js +4313 -11766
- package/dist/i18n-provider-defaults.d.ts +5 -5
- package/dist/index-BZMnPkIB.js +22909 -0
- package/dist/styles.css +1 -1
- package/dist/useDataCollectionSource-BH2-U4PN.js +8206 -0
- package/package.json +2 -1
- package/dist/F0AiChat-CBy7rZCW.js +0 -29274
- package/dist/index-c9MQbjVB.js +0 -48076
- package/dist/index.css +0 -1
- package/dist/useDataCollectionSource-BzzlFsAB.js +0 -10118
package/dist/ai.d.ts
CHANGED
|
@@ -1920,6 +1920,35 @@ export declare function useAiChatTranslations(): AiChatTranslations;
|
|
|
1920
1920
|
*/
|
|
1921
1921
|
export declare const useDefaultCopilotActions: () => void;
|
|
1922
1922
|
|
|
1923
|
+
/**
|
|
1924
|
+
* Hook that registers all AI form interaction tools and pushes
|
|
1925
|
+
* form context to the co-agent shared state via `useCoAgent`.
|
|
1926
|
+
*
|
|
1927
|
+
* Must be called inside a component tree that has both:
|
|
1928
|
+
* - A `F0AiFormRegistryProvider` ancestor (for form lookup)
|
|
1929
|
+
* - A CopilotKit context (for tool registration + co-agent state)
|
|
1930
|
+
* - An `AiChatStateProvider` ancestor (for the agent name)
|
|
1931
|
+
*/
|
|
1932
|
+
export declare const useF0AiFormActions: () => void;
|
|
1933
|
+
|
|
1934
|
+
/**
|
|
1935
|
+
* AI tool that fills one or more fields in an active F0Form.
|
|
1936
|
+
* After setting values, it triggers validation and returns any errors.
|
|
1937
|
+
*/
|
|
1938
|
+
export declare const useFormFillAction: () => void;
|
|
1939
|
+
|
|
1940
|
+
/**
|
|
1941
|
+
* AI tool that reads the current state of an active F0Form —
|
|
1942
|
+
* current values, dirty status, and validation errors.
|
|
1943
|
+
*/
|
|
1944
|
+
export declare const useFormGetStateAction: () => void;
|
|
1945
|
+
|
|
1946
|
+
/**
|
|
1947
|
+
* AI tool that submits an active F0Form.
|
|
1948
|
+
* Triggers validation first — only calls onSubmit if all fields pass.
|
|
1949
|
+
*/
|
|
1950
|
+
export declare const useFormSubmitAction: () => void;
|
|
1951
|
+
|
|
1923
1952
|
export declare function useI18n(): TranslationsType & {
|
|
1924
1953
|
t: (key: TranslationKey, args?: Record<string, string | number>) => string;
|
|
1925
1954
|
};
|
|
@@ -1990,11 +2019,6 @@ declare module "gridstack" {
|
|
|
1990
2019
|
}
|
|
1991
2020
|
|
|
1992
2021
|
|
|
1993
|
-
declare namespace Calendar {
|
|
1994
|
-
var displayName: string;
|
|
1995
|
-
}
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
2022
|
declare module "@tiptap/core" {
|
|
1999
2023
|
interface Commands<ReturnType> {
|
|
2000
2024
|
aiBlock: {
|
|
@@ -2042,3 +2066,8 @@ declare module "@tiptap/core" {
|
|
|
2042
2066
|
};
|
|
2043
2067
|
}
|
|
2044
2068
|
}
|
|
2069
|
+
|
|
2070
|
+
|
|
2071
|
+
declare namespace Calendar {
|
|
2072
|
+
var displayName: string;
|
|
2073
|
+
}
|
package/dist/ai.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { I as e, u as t } from "./F0Input-
|
|
1
|
+
import { I as e, u as t } from "./F0Input-Ctwd5zZH.js";
|
|
2
2
|
import { defaultTranslations as i } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as r, B as l, C as
|
|
4
|
-
import { A as
|
|
3
|
+
import { A as r, B as l, C as F, v as A, E as u, l as c, F as m, a as C, M as h, m as d, b as S, n as T, D as f, G as p, J as g, K as I, c as k, w as x, x as M, y as b, H as v, I as H, L as P, O as w, z as E, P as O, S as y, T as D, q as R, s as L, t as q, U as z, o as B, p as G, g as U, r as j, u as J, d as K, h as V, i as N, k as Q, j as W, f as X, e as Y } from "./F0AiChat-CrcLUV-I.js";
|
|
4
|
+
import { A as _, F as $, c as aa, d as sa, e as ea, b as ta, a as oa, o as ia, u as na } from "./F0HILActionConfirmation-Bu877U3G.js";
|
|
5
5
|
export {
|
|
6
6
|
r as A,
|
|
7
|
-
|
|
7
|
+
_ as AiChatTranslationsProvider,
|
|
8
8
|
l as Blockquote,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
9
|
+
F as ChatSpinner,
|
|
10
|
+
A as Em,
|
|
11
|
+
u as EntityRef,
|
|
12
|
+
c as F0ActionItem,
|
|
13
|
+
m as F0AiChat,
|
|
14
|
+
C as F0AiChatProvider,
|
|
15
|
+
h as F0AiChatTextArea,
|
|
16
|
+
d as F0AiCollapsibleMessage,
|
|
17
|
+
S as F0AiFullscreenChat,
|
|
18
|
+
$ as F0AiMask,
|
|
19
|
+
aa as F0AuraVoiceAnimation,
|
|
20
|
+
sa as F0ChatReportCard,
|
|
21
|
+
T as F0DataDownload,
|
|
22
|
+
ea as F0HILActionConfirmation,
|
|
23
|
+
f as F0MessageSources,
|
|
24
|
+
p as F0OneIcon,
|
|
25
|
+
g as F0OneSwitch,
|
|
26
|
+
I as F0Thinking,
|
|
27
27
|
k as FullscreenChatContext,
|
|
28
28
|
x as H1,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
M as H2,
|
|
30
|
+
b as H3,
|
|
31
|
+
v as Hr,
|
|
32
32
|
e as I18nProvider,
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
H as Image,
|
|
34
|
+
P as Li,
|
|
35
35
|
w as Ol,
|
|
36
36
|
E as P,
|
|
37
37
|
O as Pre,
|
|
@@ -41,18 +41,22 @@ export {
|
|
|
41
41
|
L as Td,
|
|
42
42
|
q as Th,
|
|
43
43
|
z as Ul,
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
ta as actionItemStatuses,
|
|
45
|
+
oa as aiTranslations,
|
|
46
46
|
i as defaultTranslations,
|
|
47
47
|
B as f0MarkdownRenderers,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
48
|
+
G as f0MarkdownRenderersSimple,
|
|
49
|
+
U as getCanvasEntity,
|
|
50
|
+
ia as oneIconSizes,
|
|
51
|
+
j as registerCanvasEntity,
|
|
52
|
+
J as useAiChat,
|
|
53
|
+
na as useAiChatTranslations,
|
|
54
|
+
K as useDefaultCopilotActions,
|
|
55
|
+
V as useF0AiFormActions,
|
|
56
|
+
N as useFormFillAction,
|
|
57
|
+
Q as useFormGetStateAction,
|
|
58
|
+
W as useFormSubmitAction,
|
|
55
59
|
t as useI18n,
|
|
56
|
-
|
|
57
|
-
|
|
60
|
+
X as useMessageSourcesAction,
|
|
61
|
+
Y as useOrchestratorThinkingAction
|
|
58
62
|
};
|
package/dist/experimental.d.ts
CHANGED
|
@@ -7135,11 +7135,6 @@ declare module "gridstack" {
|
|
|
7135
7135
|
}
|
|
7136
7136
|
|
|
7137
7137
|
|
|
7138
|
-
declare namespace Calendar {
|
|
7139
|
-
var displayName: string;
|
|
7140
|
-
}
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
7138
|
declare module "@tiptap/core" {
|
|
7144
7139
|
interface Commands<ReturnType> {
|
|
7145
7140
|
aiBlock: {
|
|
@@ -7187,3 +7182,8 @@ declare module "@tiptap/core" {
|
|
|
7187
7182
|
};
|
|
7188
7183
|
}
|
|
7189
7184
|
}
|
|
7185
|
+
|
|
7186
|
+
|
|
7187
|
+
declare namespace Calendar {
|
|
7188
|
+
var displayName: string;
|
|
7189
|
+
}
|