@june-ai/june-ui 0.2.7 → 0.2.9
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/CHANGELOG.md +49 -2
- package/README.md +633 -400
- package/dist/{chunk-VFZI3SEL.js → chunk-27XM6EVX.js} +8 -8
- package/dist/chunk-G6YPSE6J.cjs +520 -0
- package/dist/chunk-GFCROSGQ.cjs +4399 -0
- package/dist/chunk-JSRO5CRO.js +4399 -0
- package/dist/{document-engine-RKD5SLXR.js → document-engine-BUTK73DW.js} +1 -1
- package/dist/document-engine-GXZH2LNW.cjs +12 -0
- package/dist/entry-core.cjs +148 -0
- package/dist/entry-core.d.cts +1005 -0
- package/dist/entry-core.d.ts +1005 -0
- package/dist/entry-core.js +149 -0
- package/dist/index.cjs +182 -4238
- package/dist/index.d.cts +80 -525
- package/dist/index.d.ts +80 -525
- package/dist/index.js +168 -3599
- package/dist/june.css +94 -0
- package/docs/architecture.md +95 -0
- package/docs/component-registration.md +115 -0
- package/docs/custom-features.md +68 -0
- package/docs/streaming.md +76 -0
- package/docs/theming.md +65 -0
- package/docs/troubleshooting.md +59 -0
- package/package.json +19 -5
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import "./block-automount.js";
|
|
2
|
+
import {
|
|
3
|
+
ALL_EXPORT_FORMATS,
|
|
4
|
+
ComponentRegistry,
|
|
5
|
+
DOCUMENT_COMPONENT_DESCRIPTION,
|
|
6
|
+
DocumentBridge,
|
|
7
|
+
DocumentEditor,
|
|
8
|
+
JuneDocumentContext,
|
|
9
|
+
JuneDocumentEditorComponent,
|
|
10
|
+
JuneErrorBoundary,
|
|
11
|
+
JuneRenderer,
|
|
12
|
+
JuneRuntimeContext,
|
|
13
|
+
JuneThemeProvider,
|
|
14
|
+
MarkdownText,
|
|
15
|
+
ToolApproval,
|
|
16
|
+
ToolApprovalList,
|
|
17
|
+
consumeStream,
|
|
18
|
+
copyDocumentToClipboard,
|
|
19
|
+
createActionHandler,
|
|
20
|
+
createComponentRegistry,
|
|
21
|
+
createDocumentStore,
|
|
22
|
+
createJuneLibrary,
|
|
23
|
+
createLangGraphExtractor,
|
|
24
|
+
createTheme,
|
|
25
|
+
darkTheme,
|
|
26
|
+
defaultParseActionEvent,
|
|
27
|
+
defaultToolApprovalLabels,
|
|
28
|
+
defineComponent,
|
|
29
|
+
defineJuneAction,
|
|
30
|
+
defineJuneComponent,
|
|
31
|
+
documentPromptOptions,
|
|
32
|
+
downloadResult,
|
|
33
|
+
exportDocument,
|
|
34
|
+
fetchStream,
|
|
35
|
+
getDefaultDocumentStore,
|
|
36
|
+
getDocumentEditorInstructions,
|
|
37
|
+
getDocumentEditorRules,
|
|
38
|
+
interruptToApprovalRequests,
|
|
39
|
+
isDocumentEcho,
|
|
40
|
+
isJuneComponent,
|
|
41
|
+
isThemeSet,
|
|
42
|
+
jsonFieldExtractor,
|
|
43
|
+
langGraphStreamOptions,
|
|
44
|
+
lightTheme,
|
|
45
|
+
listDocumentExporters,
|
|
46
|
+
mergeDocuments,
|
|
47
|
+
messageContentToText,
|
|
48
|
+
normalizeProgram,
|
|
49
|
+
readDocumentFromProgram,
|
|
50
|
+
readLangGraphInterrupts,
|
|
51
|
+
registerDocumentExporter,
|
|
52
|
+
rememberDocumentEcho,
|
|
53
|
+
resolveMixedContent,
|
|
54
|
+
resolveThemeVars,
|
|
55
|
+
runAction,
|
|
56
|
+
serializeDocumentsForAgent,
|
|
57
|
+
splitResponse,
|
|
58
|
+
sseToText,
|
|
59
|
+
toAsyncIterable,
|
|
60
|
+
updateDocumentInProgram,
|
|
61
|
+
useDocumentBridge,
|
|
62
|
+
useDocumentOptions,
|
|
63
|
+
useJuneRuntime,
|
|
64
|
+
useJuneStream,
|
|
65
|
+
useJuneTheme,
|
|
66
|
+
useRegistryLibrary,
|
|
67
|
+
useResolvedTheme,
|
|
68
|
+
useToolApproval,
|
|
69
|
+
validateComponentDefinition,
|
|
70
|
+
withDocumentEditor
|
|
71
|
+
} from "./chunk-JSRO5CRO.js";
|
|
72
|
+
import {
|
|
73
|
+
JuneError,
|
|
74
|
+
isJuneError,
|
|
75
|
+
toJuneError
|
|
76
|
+
} from "./chunk-27XM6EVX.js";
|
|
77
|
+
export {
|
|
78
|
+
ALL_EXPORT_FORMATS,
|
|
79
|
+
ComponentRegistry,
|
|
80
|
+
DOCUMENT_COMPONENT_DESCRIPTION,
|
|
81
|
+
DocumentBridge,
|
|
82
|
+
DocumentEditor,
|
|
83
|
+
JuneDocumentContext,
|
|
84
|
+
JuneDocumentEditorComponent,
|
|
85
|
+
JuneError,
|
|
86
|
+
JuneErrorBoundary,
|
|
87
|
+
JuneRenderer,
|
|
88
|
+
JuneRuntimeContext,
|
|
89
|
+
JuneThemeProvider,
|
|
90
|
+
MarkdownText,
|
|
91
|
+
ToolApproval,
|
|
92
|
+
ToolApprovalList,
|
|
93
|
+
consumeStream,
|
|
94
|
+
copyDocumentToClipboard,
|
|
95
|
+
createActionHandler,
|
|
96
|
+
createComponentRegistry,
|
|
97
|
+
createDocumentStore,
|
|
98
|
+
createJuneLibrary,
|
|
99
|
+
createLangGraphExtractor,
|
|
100
|
+
createTheme,
|
|
101
|
+
darkTheme,
|
|
102
|
+
defaultParseActionEvent,
|
|
103
|
+
defaultToolApprovalLabels,
|
|
104
|
+
defineComponent,
|
|
105
|
+
defineJuneAction,
|
|
106
|
+
defineJuneComponent,
|
|
107
|
+
documentPromptOptions,
|
|
108
|
+
downloadResult,
|
|
109
|
+
exportDocument,
|
|
110
|
+
fetchStream,
|
|
111
|
+
getDefaultDocumentStore,
|
|
112
|
+
getDocumentEditorInstructions,
|
|
113
|
+
getDocumentEditorRules,
|
|
114
|
+
interruptToApprovalRequests,
|
|
115
|
+
isDocumentEcho,
|
|
116
|
+
isJuneComponent,
|
|
117
|
+
isJuneError,
|
|
118
|
+
isThemeSet,
|
|
119
|
+
jsonFieldExtractor,
|
|
120
|
+
langGraphStreamOptions,
|
|
121
|
+
lightTheme,
|
|
122
|
+
listDocumentExporters,
|
|
123
|
+
mergeDocuments,
|
|
124
|
+
messageContentToText,
|
|
125
|
+
normalizeProgram,
|
|
126
|
+
readDocumentFromProgram,
|
|
127
|
+
readLangGraphInterrupts,
|
|
128
|
+
registerDocumentExporter,
|
|
129
|
+
rememberDocumentEcho,
|
|
130
|
+
resolveMixedContent,
|
|
131
|
+
resolveThemeVars,
|
|
132
|
+
runAction,
|
|
133
|
+
serializeDocumentsForAgent,
|
|
134
|
+
splitResponse,
|
|
135
|
+
sseToText,
|
|
136
|
+
toAsyncIterable,
|
|
137
|
+
toJuneError,
|
|
138
|
+
updateDocumentInProgram,
|
|
139
|
+
useDocumentBridge,
|
|
140
|
+
useDocumentOptions,
|
|
141
|
+
useJuneRuntime,
|
|
142
|
+
useJuneStream,
|
|
143
|
+
useJuneTheme,
|
|
144
|
+
useRegistryLibrary,
|
|
145
|
+
useResolvedTheme,
|
|
146
|
+
useToolApproval,
|
|
147
|
+
validateComponentDefinition,
|
|
148
|
+
withDocumentEditor
|
|
149
|
+
};
|