@copilotkit/react-core 1.88.0 → 1.90.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/{copilotkit-D4AAgBT1.cjs → copilotkit-CBTsyfYP.cjs} +267 -61
- package/dist/copilotkit-CBTsyfYP.cjs.map +1 -0
- package/dist/{copilotkit-RAr-1JSr.d.mts → copilotkit-CfnudBCL.d.mts} +20 -5
- package/dist/copilotkit-CfnudBCL.d.mts.map +1 -0
- package/dist/{copilotkit-CYqkB8Nv.mjs → copilotkit-CslZDEfY.mjs} +271 -65
- package/dist/copilotkit-CslZDEfY.mjs.map +1 -0
- package/dist/{copilotkit-BS_3fQrS.d.cts → copilotkit-XLp7jKQk.d.cts} +20 -5
- package/dist/copilotkit-XLp7jKQk.d.cts.map +1 -0
- package/dist/{hooks-CEFWIeKR.d.cts → hooks-DMSkcNOl.d.cts} +4 -4
- package/dist/{hooks-CEFWIeKR.d.cts.map → hooks-DMSkcNOl.d.cts.map} +1 -1
- package/dist/{hooks-DFgYRjj3.d.mts → hooks-EwGvqYsW.d.mts} +4 -4
- package/dist/{hooks-DFgYRjj3.d.mts.map → hooks-EwGvqYsW.d.mts.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.umd.js +15 -10
- package/dist/index.umd.js.map +1 -1
- package/dist/v2/generative-ui/native.d.cts +1 -1
- package/dist/v2/generative-ui/native.d.mts +1 -1
- package/dist/v2/generative-ui.cjs +66 -33
- package/dist/v2/generative-ui.cjs.map +1 -1
- package/dist/v2/generative-ui.d.cts +47 -47
- package/dist/v2/generative-ui.d.cts.map +1 -1
- package/dist/v2/generative-ui.d.mts +47 -47
- package/dist/v2/generative-ui.d.mts.map +1 -1
- package/dist/v2/generative-ui.mjs +66 -33
- package/dist/v2/generative-ui.mjs.map +1 -1
- package/dist/v2/index.cjs +19 -1
- package/dist/v2/index.css +1 -1
- package/dist/v2/index.d.cts +2 -2
- package/dist/v2/index.d.mts +2 -2
- package/dist/v2/index.mjs +2 -2
- package/dist/v2/index.umd.js +284 -60
- package/dist/v2/index.umd.js.map +1 -1
- package/package.json +10 -10
- package/dist/copilotkit-BS_3fQrS.d.cts.map +0 -1
- package/dist/copilotkit-CYqkB8Nv.mjs.map +0 -1
- package/dist/copilotkit-D4AAgBT1.cjs.map +0 -1
- package/dist/copilotkit-RAr-1JSr.d.mts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as createGenerativeUI, D as DefaultGenerativeUIChatCard, E as useGenerativeUIAccessibility, O as GenerativeUIChatSurfaceProps, S as GenerativeUIStateOf, T as GenerativeUIAriaAttributes, _ as GenerativeUIFunctionArgs, b as GenerativeUIFunctionName, c as useGenerativeUIRuntime, d as GenerativeUI, f as GenerativeUIComponentDefinition, g as GenerativeUIEventDefinition, m as GenerativeUIComponentProps, n as GenerativeUIErrorBoundaryConfig, o as GenerativeUITheme, p as GenerativeUIComponentName, r as GenerativeUIMarkdownConfig, s as GenerativeUIToolConfig, t as GenerativeUIConfig, u as CreateGenerativeUIConfig, v as GenerativeUIFunctionDefinition, w as GenerativeUIAccessibility, x as GenerativeUISlotKind, y as GenerativeUIFunctionInput } from "../runtime-context-Da7T5vy4.cjs";
|
|
2
|
-
import { a as childList, i as child, n as useGenerativeUIState, t as useGenerativeUIFunction } from "../hooks-
|
|
2
|
+
import { a as childList, i as child, n as useGenerativeUIState, t as useGenerativeUIFunction } from "../hooks-DMSkcNOl.cjs";
|
|
3
3
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
import { ComponentProps, ReactNode } from "react";
|
|
5
5
|
import { Streamdown } from "streamdown";
|
|
@@ -1320,6 +1320,7 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
1320
1320
|
href: zod.ZodOptional<zod.ZodString>;
|
|
1321
1321
|
copy: zod.ZodOptional<zod.ZodString>;
|
|
1322
1322
|
}, "strip", zod.ZodTypeAny, {
|
|
1323
|
+
label?: string | undefined;
|
|
1323
1324
|
checks?: {
|
|
1324
1325
|
message?: string | undefined;
|
|
1325
1326
|
condition?: boolean | zod.objectOutputType<{
|
|
@@ -1329,7 +1330,6 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
1329
1330
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
1330
1331
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
1331
1332
|
}[] | undefined;
|
|
1332
|
-
label?: string | undefined;
|
|
1333
1333
|
icon?: string | undefined;
|
|
1334
1334
|
text?: string | undefined;
|
|
1335
1335
|
href?: string | undefined;
|
|
@@ -1345,6 +1345,7 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
1345
1345
|
uniform?: boolean | undefined;
|
|
1346
1346
|
copy?: string | undefined;
|
|
1347
1347
|
}, {
|
|
1348
|
+
label?: string | undefined;
|
|
1348
1349
|
checks?: {
|
|
1349
1350
|
message?: string | undefined;
|
|
1350
1351
|
condition?: boolean | zod.objectInputType<{
|
|
@@ -1354,7 +1355,6 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
1354
1355
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
1355
1356
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
1356
1357
|
}[] | undefined;
|
|
1357
|
-
label?: string | undefined;
|
|
1358
1358
|
icon?: string | undefined;
|
|
1359
1359
|
text?: string | undefined;
|
|
1360
1360
|
href?: string | undefined;
|
|
@@ -1673,6 +1673,9 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
1673
1673
|
autoSelect: zod.ZodOptional<zod.ZodBoolean>;
|
|
1674
1674
|
mask: zod.ZodOptional<zod.ZodString>;
|
|
1675
1675
|
}, "strip", zod.ZodTypeAny, {
|
|
1676
|
+
label?: string | undefined;
|
|
1677
|
+
required?: boolean | undefined;
|
|
1678
|
+
name?: string | undefined;
|
|
1676
1679
|
checks?: {
|
|
1677
1680
|
message?: string | undefined;
|
|
1678
1681
|
condition?: boolean | zod.objectOutputType<{
|
|
@@ -1682,9 +1685,6 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
1682
1685
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
1683
1686
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
1684
1687
|
}[] | undefined;
|
|
1685
|
-
label?: string | undefined;
|
|
1686
|
-
required?: boolean | undefined;
|
|
1687
|
-
name?: string | undefined;
|
|
1688
1688
|
value?: string | number | undefined;
|
|
1689
1689
|
weight?: number | undefined;
|
|
1690
1690
|
variant?: "number" | "url" | "shortText" | "longText" | "obscured" | "email" | "tel" | undefined;
|
|
@@ -1696,6 +1696,9 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
1696
1696
|
autoSelect?: boolean | undefined;
|
|
1697
1697
|
mask?: string | undefined;
|
|
1698
1698
|
}, {
|
|
1699
|
+
label?: string | undefined;
|
|
1700
|
+
required?: boolean | undefined;
|
|
1701
|
+
name?: string | undefined;
|
|
1699
1702
|
checks?: {
|
|
1700
1703
|
message?: string | undefined;
|
|
1701
1704
|
condition?: boolean | zod.objectInputType<{
|
|
@@ -1705,9 +1708,6 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
1705
1708
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
1706
1709
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
1707
1710
|
}[] | undefined;
|
|
1708
|
-
label?: string | undefined;
|
|
1709
|
-
required?: boolean | undefined;
|
|
1710
|
-
name?: string | undefined;
|
|
1711
1711
|
value?: string | number | undefined;
|
|
1712
1712
|
weight?: number | undefined;
|
|
1713
1713
|
variant?: "number" | "url" | "shortText" | "longText" | "obscured" | "email" | "tel" | undefined;
|
|
@@ -1768,6 +1768,9 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
1768
1768
|
invalid: zod.ZodOptional<zod.ZodBoolean>;
|
|
1769
1769
|
size: zod.ZodOptional<zod.ZodEnum<["sm", "md", "lg", "xl"]>>;
|
|
1770
1770
|
}, "strip", zod.ZodTypeAny, {
|
|
1771
|
+
label?: string | undefined;
|
|
1772
|
+
required?: boolean | undefined;
|
|
1773
|
+
name?: string | undefined;
|
|
1771
1774
|
checks?: {
|
|
1772
1775
|
message?: string | undefined;
|
|
1773
1776
|
condition?: boolean | zod.objectOutputType<{
|
|
@@ -1777,9 +1780,6 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
1777
1780
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
1778
1781
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
1779
1782
|
}[] | undefined;
|
|
1780
|
-
label?: string | undefined;
|
|
1781
|
-
required?: boolean | undefined;
|
|
1782
|
-
name?: string | undefined;
|
|
1783
1783
|
value?: string | undefined;
|
|
1784
1784
|
rows?: number | undefined;
|
|
1785
1785
|
weight?: number | undefined;
|
|
@@ -1790,6 +1790,9 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
1790
1790
|
maxRows?: number | undefined;
|
|
1791
1791
|
autoResize?: boolean | undefined;
|
|
1792
1792
|
}, {
|
|
1793
|
+
label?: string | undefined;
|
|
1794
|
+
required?: boolean | undefined;
|
|
1795
|
+
name?: string | undefined;
|
|
1793
1796
|
checks?: {
|
|
1794
1797
|
message?: string | undefined;
|
|
1795
1798
|
condition?: boolean | zod.objectInputType<{
|
|
@@ -1799,9 +1802,6 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
1799
1802
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
1800
1803
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
1801
1804
|
}[] | undefined;
|
|
1802
|
-
label?: string | undefined;
|
|
1803
|
-
required?: boolean | undefined;
|
|
1804
|
-
name?: string | undefined;
|
|
1805
1805
|
value?: string | undefined;
|
|
1806
1806
|
rows?: number | undefined;
|
|
1807
1807
|
weight?: number | undefined;
|
|
@@ -1875,6 +1875,9 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
1875
1875
|
size: zod.ZodOptional<zod.ZodEnum<["sm", "md", "lg", "xl"]>>;
|
|
1876
1876
|
pill: zod.ZodOptional<zod.ZodBoolean>;
|
|
1877
1877
|
}, "strip", zod.ZodTypeAny, {
|
|
1878
|
+
label?: string | undefined;
|
|
1879
|
+
required?: boolean | undefined;
|
|
1880
|
+
name?: string | undefined;
|
|
1878
1881
|
checks?: {
|
|
1879
1882
|
message?: string | undefined;
|
|
1880
1883
|
condition?: boolean | zod.objectOutputType<{
|
|
@@ -1884,9 +1887,6 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
1884
1887
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
1885
1888
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
1886
1889
|
}[] | undefined;
|
|
1887
|
-
label?: string | undefined;
|
|
1888
|
-
required?: boolean | undefined;
|
|
1889
|
-
name?: string | undefined;
|
|
1890
1890
|
icon?: string | undefined;
|
|
1891
1891
|
value?: string | undefined;
|
|
1892
1892
|
options?: (string | {
|
|
@@ -1903,6 +1903,9 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
1903
1903
|
clearLabel?: string | undefined;
|
|
1904
1904
|
searchable?: boolean | undefined;
|
|
1905
1905
|
}, {
|
|
1906
|
+
label?: string | undefined;
|
|
1907
|
+
required?: boolean | undefined;
|
|
1908
|
+
name?: string | undefined;
|
|
1906
1909
|
checks?: {
|
|
1907
1910
|
message?: string | undefined;
|
|
1908
1911
|
condition?: boolean | zod.objectInputType<{
|
|
@@ -1912,9 +1915,6 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
1912
1915
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
1913
1916
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
1914
1917
|
}[] | undefined;
|
|
1915
|
-
label?: string | undefined;
|
|
1916
|
-
required?: boolean | undefined;
|
|
1917
|
-
name?: string | undefined;
|
|
1918
1918
|
icon?: string | undefined;
|
|
1919
1919
|
value?: string | undefined;
|
|
1920
1920
|
options?: (string | {
|
|
@@ -1976,6 +1976,9 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
1976
1976
|
lineThrough: zod.ZodOptional<zod.ZodBoolean>;
|
|
1977
1977
|
shape: zod.ZodOptional<zod.ZodEnum<["round", "square"]>>;
|
|
1978
1978
|
}, "strip", zod.ZodTypeAny, {
|
|
1979
|
+
label?: string | undefined;
|
|
1980
|
+
required?: boolean | undefined;
|
|
1981
|
+
name?: string | undefined;
|
|
1979
1982
|
checks?: {
|
|
1980
1983
|
message?: string | undefined;
|
|
1981
1984
|
condition?: boolean | zod.objectOutputType<{
|
|
@@ -1985,15 +1988,15 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
1985
1988
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
1986
1989
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
1987
1990
|
}[] | undefined;
|
|
1988
|
-
label?: string | undefined;
|
|
1989
|
-
required?: boolean | undefined;
|
|
1990
|
-
name?: string | undefined;
|
|
1991
1991
|
value?: boolean | undefined;
|
|
1992
1992
|
weight?: number | undefined;
|
|
1993
1993
|
lineThrough?: boolean | undefined;
|
|
1994
1994
|
disabled?: boolean | undefined;
|
|
1995
1995
|
shape?: "round" | "square" | undefined;
|
|
1996
1996
|
}, {
|
|
1997
|
+
label?: string | undefined;
|
|
1998
|
+
required?: boolean | undefined;
|
|
1999
|
+
name?: string | undefined;
|
|
1997
2000
|
checks?: {
|
|
1998
2001
|
message?: string | undefined;
|
|
1999
2002
|
condition?: boolean | zod.objectInputType<{
|
|
@@ -2003,9 +2006,6 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2003
2006
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
2004
2007
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
2005
2008
|
}[] | undefined;
|
|
2006
|
-
label?: string | undefined;
|
|
2007
|
-
required?: boolean | undefined;
|
|
2008
|
-
name?: string | undefined;
|
|
2009
2009
|
value?: boolean | undefined;
|
|
2010
2010
|
weight?: number | undefined;
|
|
2011
2011
|
lineThrough?: boolean | undefined;
|
|
@@ -2085,6 +2085,9 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2085
2085
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
2086
2086
|
required: zod.ZodOptional<zod.ZodBoolean>;
|
|
2087
2087
|
}, "strip", zod.ZodTypeAny, {
|
|
2088
|
+
label?: string | undefined;
|
|
2089
|
+
required?: boolean | undefined;
|
|
2090
|
+
name?: string | undefined;
|
|
2088
2091
|
checks?: {
|
|
2089
2092
|
message?: string | undefined;
|
|
2090
2093
|
condition?: boolean | zod.objectOutputType<{
|
|
@@ -2094,9 +2097,6 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2094
2097
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
2095
2098
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
2096
2099
|
}[] | undefined;
|
|
2097
|
-
label?: string | undefined;
|
|
2098
|
-
required?: boolean | undefined;
|
|
2099
|
-
name?: string | undefined;
|
|
2100
2100
|
value?: string | undefined;
|
|
2101
2101
|
options?: (string | {
|
|
2102
2102
|
value: string;
|
|
@@ -2107,6 +2107,9 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2107
2107
|
variant?: "list" | "pills" | "cards" | undefined;
|
|
2108
2108
|
disabled?: boolean | undefined;
|
|
2109
2109
|
}, {
|
|
2110
|
+
label?: string | undefined;
|
|
2111
|
+
required?: boolean | undefined;
|
|
2112
|
+
name?: string | undefined;
|
|
2110
2113
|
checks?: {
|
|
2111
2114
|
message?: string | undefined;
|
|
2112
2115
|
condition?: boolean | zod.objectInputType<{
|
|
@@ -2116,9 +2119,6 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2116
2119
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
2117
2120
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
2118
2121
|
}[] | undefined;
|
|
2119
|
-
label?: string | undefined;
|
|
2120
|
-
required?: boolean | undefined;
|
|
2121
|
-
name?: string | undefined;
|
|
2122
2122
|
value?: string | undefined;
|
|
2123
2123
|
options?: (string | {
|
|
2124
2124
|
value: string;
|
|
@@ -2187,6 +2187,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2187
2187
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
2188
2188
|
name: zod.ZodOptional<zod.ZodString>;
|
|
2189
2189
|
}, "strip", zod.ZodTypeAny, {
|
|
2190
|
+
label?: string | undefined;
|
|
2191
|
+
name?: string | undefined;
|
|
2190
2192
|
checks?: {
|
|
2191
2193
|
message?: string | undefined;
|
|
2192
2194
|
condition?: boolean | zod.objectOutputType<{
|
|
@@ -2196,8 +2198,6 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2196
2198
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
2197
2199
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
2198
2200
|
}[] | undefined;
|
|
2199
|
-
label?: string | undefined;
|
|
2200
|
-
name?: string | undefined;
|
|
2201
2201
|
value?: number | undefined;
|
|
2202
2202
|
min?: number | undefined;
|
|
2203
2203
|
max?: number | undefined;
|
|
@@ -2212,6 +2212,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2212
2212
|
}[] | undefined;
|
|
2213
2213
|
sliderStyle?: "continuous" | "discrete" | undefined;
|
|
2214
2214
|
}, {
|
|
2215
|
+
label?: string | undefined;
|
|
2216
|
+
name?: string | undefined;
|
|
2215
2217
|
checks?: {
|
|
2216
2218
|
message?: string | undefined;
|
|
2217
2219
|
condition?: boolean | zod.objectInputType<{
|
|
@@ -2221,8 +2223,6 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2221
2223
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
2222
2224
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
2223
2225
|
}[] | undefined;
|
|
2224
|
-
label?: string | undefined;
|
|
2225
|
-
name?: string | undefined;
|
|
2226
2226
|
value?: number | undefined;
|
|
2227
2227
|
min?: number | undefined;
|
|
2228
2228
|
max?: number | undefined;
|
|
@@ -2294,6 +2294,7 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2294
2294
|
variant: zod.ZodOptional<zod.ZodEnum<["solid", "soft", "outline", "ghost"]>>;
|
|
2295
2295
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
2296
2296
|
}, "strip", zod.ZodTypeAny, {
|
|
2297
|
+
label?: string | undefined;
|
|
2297
2298
|
checks?: {
|
|
2298
2299
|
message?: string | undefined;
|
|
2299
2300
|
condition?: boolean | zod.objectOutputType<{
|
|
@@ -2303,7 +2304,6 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2303
2304
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
2304
2305
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
2305
2306
|
}[] | undefined;
|
|
2306
|
-
label?: string | undefined;
|
|
2307
2307
|
value?: string | undefined;
|
|
2308
2308
|
options?: (string | {
|
|
2309
2309
|
value: string;
|
|
@@ -2316,6 +2316,7 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2316
2316
|
block?: boolean | undefined;
|
|
2317
2317
|
disabled?: boolean | undefined;
|
|
2318
2318
|
}, {
|
|
2319
|
+
label?: string | undefined;
|
|
2319
2320
|
checks?: {
|
|
2320
2321
|
message?: string | undefined;
|
|
2321
2322
|
condition?: boolean | zod.objectInputType<{
|
|
@@ -2325,7 +2326,6 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2325
2326
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
2326
2327
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
2327
2328
|
}[] | undefined;
|
|
2328
|
-
label?: string | undefined;
|
|
2329
2329
|
value?: string | undefined;
|
|
2330
2330
|
options?: (string | {
|
|
2331
2331
|
value: string;
|
|
@@ -2396,6 +2396,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2396
2396
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
2397
2397
|
required: zod.ZodOptional<zod.ZodBoolean>;
|
|
2398
2398
|
}, "strip", zod.ZodTypeAny, {
|
|
2399
|
+
label?: string | undefined;
|
|
2400
|
+
required?: boolean | undefined;
|
|
2399
2401
|
checks?: {
|
|
2400
2402
|
message?: string | undefined;
|
|
2401
2403
|
condition?: boolean | zod.objectOutputType<{
|
|
@@ -2405,8 +2407,6 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2405
2407
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
2406
2408
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
2407
2409
|
}[] | undefined;
|
|
2408
|
-
label?: string | undefined;
|
|
2409
|
-
required?: boolean | undefined;
|
|
2410
2410
|
value?: string[] | undefined;
|
|
2411
2411
|
options?: (string | {
|
|
2412
2412
|
value: string;
|
|
@@ -2419,6 +2419,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2419
2419
|
displayStyle?: "checkbox" | "chips" | undefined;
|
|
2420
2420
|
filterable?: boolean | undefined;
|
|
2421
2421
|
}, {
|
|
2422
|
+
label?: string | undefined;
|
|
2423
|
+
required?: boolean | undefined;
|
|
2422
2424
|
checks?: {
|
|
2423
2425
|
message?: string | undefined;
|
|
2424
2426
|
condition?: boolean | zod.objectInputType<{
|
|
@@ -2428,8 +2430,6 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2428
2430
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
2429
2431
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
2430
2432
|
}[] | undefined;
|
|
2431
|
-
label?: string | undefined;
|
|
2432
|
-
required?: boolean | undefined;
|
|
2433
2433
|
value?: string[] | undefined;
|
|
2434
2434
|
options?: (string | {
|
|
2435
2435
|
value: string;
|
|
@@ -2492,6 +2492,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2492
2492
|
clearable: zod.ZodOptional<zod.ZodBoolean>;
|
|
2493
2493
|
block: zod.ZodOptional<zod.ZodBoolean>;
|
|
2494
2494
|
}, "strip", zod.ZodTypeAny, {
|
|
2495
|
+
label?: string | undefined;
|
|
2496
|
+
required?: boolean | undefined;
|
|
2495
2497
|
checks?: {
|
|
2496
2498
|
message?: string | undefined;
|
|
2497
2499
|
condition?: boolean | zod.objectOutputType<{
|
|
@@ -2501,8 +2503,6 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2501
2503
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
2502
2504
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
2503
2505
|
}[] | undefined;
|
|
2504
|
-
label?: string | undefined;
|
|
2505
|
-
required?: boolean | undefined;
|
|
2506
2506
|
value?: string | undefined;
|
|
2507
2507
|
min?: string | undefined;
|
|
2508
2508
|
max?: string | undefined;
|
|
@@ -2515,6 +2515,8 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2515
2515
|
enableTime?: boolean | undefined;
|
|
2516
2516
|
timeStep?: number | undefined;
|
|
2517
2517
|
}, {
|
|
2518
|
+
label?: string | undefined;
|
|
2519
|
+
required?: boolean | undefined;
|
|
2518
2520
|
checks?: {
|
|
2519
2521
|
message?: string | undefined;
|
|
2520
2522
|
condition?: boolean | zod.objectInputType<{
|
|
@@ -2524,8 +2526,6 @@ declare const standardUI: GenerativeUI<_copilotkit_shared_generative_ui0.Generat
|
|
|
2524
2526
|
severity: zod.ZodOptional<zod.ZodEnum<["error", "warning", "info"]>>;
|
|
2525
2527
|
}, zod.ZodTypeAny, "passthrough"> | undefined;
|
|
2526
2528
|
}[] | undefined;
|
|
2527
|
-
label?: string | undefined;
|
|
2528
|
-
required?: boolean | undefined;
|
|
2529
2529
|
value?: string | undefined;
|
|
2530
2530
|
min?: string | undefined;
|
|
2531
2531
|
max?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generative-ui.d.cts","names":[],"sources":["../../src/v2/generative-ui/GenerativeUISurface.tsx","../../src/v2/generative-ui/markdown/MarkdownSurfaces.tsx","../../src/v2/generative-ui/standard/index.ts"],"mappings":";;;;;;;;;;UAWU,4BAAA;;EAER,EAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"generative-ui.d.cts","names":[],"sources":["../../src/v2/generative-ui/GenerativeUISurface.tsx","../../src/v2/generative-ui/markdown/MarkdownSurfaces.tsx","../../src/v2/generative-ui/standard/index.ts"],"mappings":";;;;;;;;;;UAWU,4BAAA;;EAER,EAAA;;;;;EAKA,WAAA;EAPQ;EASR,QAA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