@zhama/a2ui 0.10.5 → 0.12.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/README.md +179 -70
- package/dist/{a2ui-CnaCcq4c.d.ts → a2ui-CZYqbeoz.d.ts} +2 -1
- package/dist/{a2ui-vyxwZCoa.d.cts → a2ui-Dpl-E-Do.d.cts} +2 -1
- package/dist/context/index.cjs +702 -1
- package/dist/context/index.d.cts +35 -2
- package/dist/context/index.d.ts +35 -2
- package/dist/context/index.js +702 -1
- package/dist/data/index.cjs +2 -2
- package/dist/data/index.d.cts +3 -2
- package/dist/data/index.d.ts +3 -2
- package/dist/data/index.js +2 -2
- package/dist/events/index.d.cts +3 -2
- package/dist/events/index.d.ts +3 -2
- package/dist/index-BvhdLkQ7.d.ts +111 -0
- package/dist/{index-DCv59E9u.d.cts → index-CWQNUF1X.d.ts} +65 -20
- package/dist/index-Ccel8ysN.d.cts +111 -0
- package/dist/index-CfG_a073.d.cts +143 -0
- package/dist/{index-CEWReOmS.d.ts → index-DF2gGMk6.d.ts} +1 -1
- package/dist/index-DZnukf8z.d.ts +143 -0
- package/dist/{index-CfuPxsd1.d.cts → index-DfVLIScc.d.cts} +1 -1
- package/dist/{index-DKh6MRhF.d.cts → index-K0C1W74m.d.ts} +26 -15
- package/dist/{index-BJe-XUR4.d.ts → index-PGBpNFSS.d.cts} +26 -15
- package/dist/{index-BWAU7Xp2.d.ts → index-nNr2JOQb.d.cts} +65 -20
- package/dist/index.cjs +702 -2
- package/dist/index.d.cts +71 -8
- package/dist/index.d.ts +71 -8
- package/dist/index.js +702 -2
- package/dist/styles/index.cjs +702 -1
- package/dist/styles/index.d.cts +3 -2
- package/dist/styles/index.d.ts +3 -2
- package/dist/styles/index.js +702 -1
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +1 -0
- package/dist/{types-CtrG7MJe.d.cts → types-Csi2jaoN.d.cts} +122 -178
- package/dist/{types-CtrG7MJe.d.ts → types-Csi2jaoN.d.ts} +122 -178
- package/dist/ui/index.cjs +2 -2
- package/dist/ui/index.d.cts +4 -3
- package/dist/ui/index.d.ts +4 -3
- package/dist/ui/index.js +2 -2
- package/package.json +3 -12
- package/dist/index-Bgqafemj.d.ts +0 -106
- package/dist/index-BltkjFKi.d.ts +0 -67
- package/dist/index-Bzqwwd1k.d.cts +0 -106
- package/dist/index-CLn74O53.d.cts +0 -67
- package/dist/styles/a2ui-variables.css +0 -106
- package/dist/styles/a2ui.css +0 -143
- package/tailwind.preset.js +0 -326
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,73 @@
|
|
|
1
|
-
export { A as A2uiMessageProcessor, i as Data, c as createMessageProcessor, j as isAnyComponentNode, h as isBooleanValue, e as isComponentArrayReference, g as isNumberValue, d as isObject, b as isPath, k as isResolvedAudioPlayer, l as isResolvedButton, m as isResolvedCard, n as isResolvedCheckbox, o as isResolvedColumn, p as isResolvedDateTimeInput, q as isResolvedDivider, s as isResolvedIcon, r as isResolvedImage, t as isResolvedList, u as isResolvedModal, v as isResolvedMultipleChoice, w as isResolvedRow, x as isResolvedSlider, y as isResolvedTabItem, z as isResolvedTabs, B as isResolvedText, C as isResolvedTextField, D as isResolvedVideo, f as isStringValue, a as isValueMap } from './index-
|
|
2
|
-
export { i as Events } from './index-
|
|
3
|
-
export {
|
|
4
|
-
export { i as Styles, a as appendToAll, c as classesToString, b as createTheme, d as defaultTheme, m as merge, s as stylesToCSS } from './index-
|
|
5
|
-
export { o as A2UIComponentProps, h as A2UIRoot, A as Audio, B as Button, b as Card, c as Checkbox, C as Column, m as ComponentRegistry, k as ComponentRenderer, e as DateTimeInput, D as Divider, a as Icon, I as Image, L as List, l as Markdown, g as Modal, M as MultipleChoice, h as Root, R as Row, S as Slider, j as Surface, f as Tabs, T as Text, d as TextField, i as UI, V as Video, s as cn, n as componentRegistry, q as extractNumberValue, p as extractStringValue, r as renderMarkdown } from './index-
|
|
6
|
-
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
1
|
+
export { A as A2uiMessageProcessor, i as Data, c as createMessageProcessor, j as isAnyComponentNode, h as isBooleanValue, e as isComponentArrayReference, g as isNumberValue, d as isObject, b as isPath, k as isResolvedAudioPlayer, l as isResolvedButton, m as isResolvedCard, n as isResolvedCheckbox, o as isResolvedColumn, p as isResolvedDateTimeInput, q as isResolvedDivider, s as isResolvedIcon, r as isResolvedImage, t as isResolvedList, u as isResolvedModal, v as isResolvedMultipleChoice, w as isResolvedRow, x as isResolvedSlider, y as isResolvedTabItem, z as isResolvedTabs, B as isResolvedText, C as isResolvedTextField, D as isResolvedVideo, f as isStringValue, a as isValueMap } from './index-PGBpNFSS.cjs';
|
|
2
|
+
export { i as Events } from './index-DfVLIScc.cjs';
|
|
3
|
+
export { i as Types } from './index-Ccel8ysN.cjs';
|
|
4
|
+
export { i as Styles, a as appendToAll, c as classesToString, g as cloneDefaultTheme, b as cnStyles, e as createTheme, d as defaultTheme, j as getA2UIStyles, m as merge, f as mergeStyles, h as structuralStyles, s as stylesToCSS } from './index-CfG_a073.cjs';
|
|
5
|
+
export { o as A2UIComponentProps, h as A2UIRoot, A as Audio, B as Button, b as Card, c as Checkbox, C as Column, m as ComponentRegistry, k as ComponentRenderer, e as DateTimeInput, D as Divider, a as Icon, I as Image, L as List, l as Markdown, g as Modal, M as MultipleChoice, h as Root, R as Row, S as Slider, j as Surface, f as Tabs, T as Text, d as TextField, i as UI, V as Video, s as cn, n as componentRegistry, q as extractNumberValue, p as extractStringValue, r as renderMarkdown } from './index-nNr2JOQb.cjs';
|
|
6
|
+
import { DEFAULT_PATH_MAPPINGS, SURFACE_IDS, audioPlayer, body, button, caption, card, checkbox, choicePicker, column, createChatSurface, createInputFormSurface, createOrchestrationSurface, createRecommendationSurface, createStatusSurface, createSurface, createV09Messages, dateTimeInput, deleteSurface, divider, flattenObjectToValueMap, generateId, h1, h2, h3, h4, h5, icon, image, jsonlToMessages, list, messagesToJsonl, modal, normalizePath, objectToValueMap, resetIdCounter, row, slider, tabs, text, textButton, textField, updateComponents, updateDataModel, updatesToValueMap, valueMapToObject, valueToValueMap, video } from '@zhama/a2ui-core';
|
|
7
|
+
export { ClientToServerMessage as A2UIClientEventMessage, A2UI_EXTENSION_URI, A2UI_MIME_TYPE, Action, AnyComponent, AudioPlayerComponent as AudioPlayer, BooleanOrPath, ButtonComponent, CheckBoxComponent as CheckboxComponent, ClientToServerMessage, ComponentInstance, ComponentType, CreateSurfaceMessage, DEFAULT_PATH_MAPPINGS, DataArray, DataChangeEvent, DataObject, DataValue, DateTimeInputComponent, DeleteSurfaceMessage, DividerComponent, IconComponent, ImageComponent, ModalComponent, ChoicePickerComponent as MultipleChoiceComponent, NumberOrPath, STANDARD_CATALOG_ID, SURFACE_IDS, ServerToClientMessageV09 as ServerToClientMessage, ServerToClientMessageV09, SliderComponent, StringArrayOrPath, StringOrPath, TabsComponent, TextComponent, TextFieldComponent, UpdateComponentsMessage, UpdateDataModelMessage, UserActionEvent, VideoComponent, audioPlayer, body, button, caption, card, checkbox, choicePicker, column, createChatSurface, createInputFormSurface, createOrchestrationSurface, createRecommendationSurface, createStatusSurface, createSurface, createV09Messages, dateTimeInput, deleteSurface, divider, flattenObjectToValueMap, generateId, h1, h2, h3, h4, h5, icon, image, isV09Message, jsonlToMessages, list, messagesToJsonl, modal, normalizePath, objectToValueMap, resetIdCounter, row, slider, tabs, text, textButton, textField, updateComponents, updateDataModel, updatesToValueMap, valueMapToObject, valueToValueMap, video } from '@zhama/a2ui-core';
|
|
8
|
+
export { A as AnyComponentNode, g as AudioPlayerNode, B as ButtonNode, j as CardNode, n as CheckboxNode, _ as ClientCapabilitiesDynamic, i as ColumnNode, a as ComponentArrayReference, C as ComponentArrayTemplate, b as ComponentProperties, r as CustomNode, X as CustomNodeProperties, D as DataMap, p as DateTimeInputNode, l as DividerNode, f as IconNode, I as ImageNode, L as ListNode, M as MessageProcessor, m as ModalNode, q as MultipleChoiceNode, d as ResolvedArray, w as ResolvedAudioPlayer, K as ResolvedButton, O as ResolvedCard, y as ResolvedCheckbox, J as ResolvedColumn, E as ResolvedDateTimeInput, x as ResolvedDivider, t as ResolvedIcon, u as ResolvedImage, N as ResolvedList, c as ResolvedMap, W as ResolvedModal, F as ResolvedMultipleChoice, H as ResolvedRow, G as ResolvedSlider, P as ResolvedTabItem, Q as ResolvedTabs, s as ResolvedText, z as ResolvedTextField, R as ResolvedValue, v as ResolvedVideo, h as RowNode, S as SliderNode, Y as SurfaceID, Z as SurfaceState, k as TabsNode, o as TextFieldNode, e as TextNode, T as Theme, U as UserAction, V as VideoNode } from './types-Csi2jaoN.cjs';
|
|
9
|
+
export { A as A2UIAction, a as A2UIEventDetailMap, b as A2UIEventType, c as A2UI_EVENT_NAME, B as BaseEventDetail } from './a2ui-Dpl-E-Do.cjs';
|
|
10
|
+
export { ProcessorContext, ProcessorProvider, StyleProvider, ThemeContext, ThemeProvider, createStyleElement, getStylesCSS, useProcessor, useTheme } from './context/index.cjs';
|
|
9
11
|
import 'react/jsx-runtime';
|
|
10
12
|
import 'react';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* A2UI Builders - v0.9 Protocol
|
|
16
|
+
*
|
|
17
|
+
* 提供 A2UI v0.9 协议的消息和组件构建器
|
|
18
|
+
* 所有构建器从 @zhama/a2ui-core 重导出
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
declare const index_DEFAULT_PATH_MAPPINGS: typeof DEFAULT_PATH_MAPPINGS;
|
|
22
|
+
declare const index_SURFACE_IDS: typeof SURFACE_IDS;
|
|
23
|
+
declare const index_audioPlayer: typeof audioPlayer;
|
|
24
|
+
declare const index_body: typeof body;
|
|
25
|
+
declare const index_button: typeof button;
|
|
26
|
+
declare const index_caption: typeof caption;
|
|
27
|
+
declare const index_card: typeof card;
|
|
28
|
+
declare const index_checkbox: typeof checkbox;
|
|
29
|
+
declare const index_choicePicker: typeof choicePicker;
|
|
30
|
+
declare const index_column: typeof column;
|
|
31
|
+
declare const index_createChatSurface: typeof createChatSurface;
|
|
32
|
+
declare const index_createInputFormSurface: typeof createInputFormSurface;
|
|
33
|
+
declare const index_createOrchestrationSurface: typeof createOrchestrationSurface;
|
|
34
|
+
declare const index_createRecommendationSurface: typeof createRecommendationSurface;
|
|
35
|
+
declare const index_createStatusSurface: typeof createStatusSurface;
|
|
36
|
+
declare const index_createSurface: typeof createSurface;
|
|
37
|
+
declare const index_createV09Messages: typeof createV09Messages;
|
|
38
|
+
declare const index_dateTimeInput: typeof dateTimeInput;
|
|
39
|
+
declare const index_deleteSurface: typeof deleteSurface;
|
|
40
|
+
declare const index_divider: typeof divider;
|
|
41
|
+
declare const index_flattenObjectToValueMap: typeof flattenObjectToValueMap;
|
|
42
|
+
declare const index_generateId: typeof generateId;
|
|
43
|
+
declare const index_h1: typeof h1;
|
|
44
|
+
declare const index_h2: typeof h2;
|
|
45
|
+
declare const index_h3: typeof h3;
|
|
46
|
+
declare const index_h4: typeof h4;
|
|
47
|
+
declare const index_h5: typeof h5;
|
|
48
|
+
declare const index_icon: typeof icon;
|
|
49
|
+
declare const index_image: typeof image;
|
|
50
|
+
declare const index_jsonlToMessages: typeof jsonlToMessages;
|
|
51
|
+
declare const index_list: typeof list;
|
|
52
|
+
declare const index_messagesToJsonl: typeof messagesToJsonl;
|
|
53
|
+
declare const index_modal: typeof modal;
|
|
54
|
+
declare const index_normalizePath: typeof normalizePath;
|
|
55
|
+
declare const index_objectToValueMap: typeof objectToValueMap;
|
|
56
|
+
declare const index_resetIdCounter: typeof resetIdCounter;
|
|
57
|
+
declare const index_row: typeof row;
|
|
58
|
+
declare const index_slider: typeof slider;
|
|
59
|
+
declare const index_tabs: typeof tabs;
|
|
60
|
+
declare const index_text: typeof text;
|
|
61
|
+
declare const index_textButton: typeof textButton;
|
|
62
|
+
declare const index_textField: typeof textField;
|
|
63
|
+
declare const index_updateComponents: typeof updateComponents;
|
|
64
|
+
declare const index_updateDataModel: typeof updateDataModel;
|
|
65
|
+
declare const index_updatesToValueMap: typeof updatesToValueMap;
|
|
66
|
+
declare const index_valueMapToObject: typeof valueMapToObject;
|
|
67
|
+
declare const index_valueToValueMap: typeof valueToValueMap;
|
|
68
|
+
declare const index_video: typeof video;
|
|
69
|
+
declare namespace index {
|
|
70
|
+
export { index_DEFAULT_PATH_MAPPINGS as DEFAULT_PATH_MAPPINGS, index_SURFACE_IDS as SURFACE_IDS, index_audioPlayer as audioPlayer, index_body as body, index_button as button, index_caption as caption, index_card as card, index_checkbox as checkbox, index_choicePicker as choicePicker, index_column as column, index_createChatSurface as createChatSurface, index_createInputFormSurface as createInputFormSurface, index_createOrchestrationSurface as createOrchestrationSurface, index_createRecommendationSurface as createRecommendationSurface, index_createStatusSurface as createStatusSurface, index_createSurface as createSurface, index_createV09Messages as createV09Messages, index_dateTimeInput as dateTimeInput, index_deleteSurface as deleteSurface, index_divider as divider, index_flattenObjectToValueMap as flattenObjectToValueMap, index_generateId as generateId, index_h1 as h1, index_h2 as h2, index_h3 as h3, index_h4 as h4, index_h5 as h5, index_icon as icon, index_image as image, index_jsonlToMessages as jsonlToMessages, index_list as list, index_messagesToJsonl as messagesToJsonl, index_modal as modal, index_normalizePath as normalizePath, index_objectToValueMap as objectToValueMap, index_resetIdCounter as resetIdCounter, index_row as row, index_slider as slider, index_tabs as tabs, index_text as text, index_textButton as textButton, index_textField as textField, index_updateComponents as updateComponents, index_updateDataModel as updateDataModel, index_updatesToValueMap as updatesToValueMap, index_valueMapToObject as valueMapToObject, index_valueToValueMap as valueToValueMap, index_video as video };
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export { index as Builders };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,73 @@
|
|
|
1
|
-
export { A as A2uiMessageProcessor, i as Data, c as createMessageProcessor, j as isAnyComponentNode, h as isBooleanValue, e as isComponentArrayReference, g as isNumberValue, d as isObject, b as isPath, k as isResolvedAudioPlayer, l as isResolvedButton, m as isResolvedCard, n as isResolvedCheckbox, o as isResolvedColumn, p as isResolvedDateTimeInput, q as isResolvedDivider, s as isResolvedIcon, r as isResolvedImage, t as isResolvedList, u as isResolvedModal, v as isResolvedMultipleChoice, w as isResolvedRow, x as isResolvedSlider, y as isResolvedTabItem, z as isResolvedTabs, B as isResolvedText, C as isResolvedTextField, D as isResolvedVideo, f as isStringValue, a as isValueMap } from './index-
|
|
2
|
-
export { i as Events } from './index-
|
|
3
|
-
export {
|
|
4
|
-
export { i as Styles, a as appendToAll, c as classesToString, b as createTheme, d as defaultTheme, m as merge, s as stylesToCSS } from './index-
|
|
5
|
-
export { o as A2UIComponentProps, h as A2UIRoot, A as Audio, B as Button, b as Card, c as Checkbox, C as Column, m as ComponentRegistry, k as ComponentRenderer, e as DateTimeInput, D as Divider, a as Icon, I as Image, L as List, l as Markdown, g as Modal, M as MultipleChoice, h as Root, R as Row, S as Slider, j as Surface, f as Tabs, T as Text, d as TextField, i as UI, V as Video, s as cn, n as componentRegistry, q as extractNumberValue, p as extractStringValue, r as renderMarkdown } from './index-
|
|
6
|
-
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
1
|
+
export { A as A2uiMessageProcessor, i as Data, c as createMessageProcessor, j as isAnyComponentNode, h as isBooleanValue, e as isComponentArrayReference, g as isNumberValue, d as isObject, b as isPath, k as isResolvedAudioPlayer, l as isResolvedButton, m as isResolvedCard, n as isResolvedCheckbox, o as isResolvedColumn, p as isResolvedDateTimeInput, q as isResolvedDivider, s as isResolvedIcon, r as isResolvedImage, t as isResolvedList, u as isResolvedModal, v as isResolvedMultipleChoice, w as isResolvedRow, x as isResolvedSlider, y as isResolvedTabItem, z as isResolvedTabs, B as isResolvedText, C as isResolvedTextField, D as isResolvedVideo, f as isStringValue, a as isValueMap } from './index-K0C1W74m.js';
|
|
2
|
+
export { i as Events } from './index-DF2gGMk6.js';
|
|
3
|
+
export { i as Types } from './index-BvhdLkQ7.js';
|
|
4
|
+
export { i as Styles, a as appendToAll, c as classesToString, g as cloneDefaultTheme, b as cnStyles, e as createTheme, d as defaultTheme, j as getA2UIStyles, m as merge, f as mergeStyles, h as structuralStyles, s as stylesToCSS } from './index-DZnukf8z.js';
|
|
5
|
+
export { o as A2UIComponentProps, h as A2UIRoot, A as Audio, B as Button, b as Card, c as Checkbox, C as Column, m as ComponentRegistry, k as ComponentRenderer, e as DateTimeInput, D as Divider, a as Icon, I as Image, L as List, l as Markdown, g as Modal, M as MultipleChoice, h as Root, R as Row, S as Slider, j as Surface, f as Tabs, T as Text, d as TextField, i as UI, V as Video, s as cn, n as componentRegistry, q as extractNumberValue, p as extractStringValue, r as renderMarkdown } from './index-CWQNUF1X.js';
|
|
6
|
+
import { DEFAULT_PATH_MAPPINGS, SURFACE_IDS, audioPlayer, body, button, caption, card, checkbox, choicePicker, column, createChatSurface, createInputFormSurface, createOrchestrationSurface, createRecommendationSurface, createStatusSurface, createSurface, createV09Messages, dateTimeInput, deleteSurface, divider, flattenObjectToValueMap, generateId, h1, h2, h3, h4, h5, icon, image, jsonlToMessages, list, messagesToJsonl, modal, normalizePath, objectToValueMap, resetIdCounter, row, slider, tabs, text, textButton, textField, updateComponents, updateDataModel, updatesToValueMap, valueMapToObject, valueToValueMap, video } from '@zhama/a2ui-core';
|
|
7
|
+
export { ClientToServerMessage as A2UIClientEventMessage, A2UI_EXTENSION_URI, A2UI_MIME_TYPE, Action, AnyComponent, AudioPlayerComponent as AudioPlayer, BooleanOrPath, ButtonComponent, CheckBoxComponent as CheckboxComponent, ClientToServerMessage, ComponentInstance, ComponentType, CreateSurfaceMessage, DEFAULT_PATH_MAPPINGS, DataArray, DataChangeEvent, DataObject, DataValue, DateTimeInputComponent, DeleteSurfaceMessage, DividerComponent, IconComponent, ImageComponent, ModalComponent, ChoicePickerComponent as MultipleChoiceComponent, NumberOrPath, STANDARD_CATALOG_ID, SURFACE_IDS, ServerToClientMessageV09 as ServerToClientMessage, ServerToClientMessageV09, SliderComponent, StringArrayOrPath, StringOrPath, TabsComponent, TextComponent, TextFieldComponent, UpdateComponentsMessage, UpdateDataModelMessage, UserActionEvent, VideoComponent, audioPlayer, body, button, caption, card, checkbox, choicePicker, column, createChatSurface, createInputFormSurface, createOrchestrationSurface, createRecommendationSurface, createStatusSurface, createSurface, createV09Messages, dateTimeInput, deleteSurface, divider, flattenObjectToValueMap, generateId, h1, h2, h3, h4, h5, icon, image, isV09Message, jsonlToMessages, list, messagesToJsonl, modal, normalizePath, objectToValueMap, resetIdCounter, row, slider, tabs, text, textButton, textField, updateComponents, updateDataModel, updatesToValueMap, valueMapToObject, valueToValueMap, video } from '@zhama/a2ui-core';
|
|
8
|
+
export { A as AnyComponentNode, g as AudioPlayerNode, B as ButtonNode, j as CardNode, n as CheckboxNode, _ as ClientCapabilitiesDynamic, i as ColumnNode, a as ComponentArrayReference, C as ComponentArrayTemplate, b as ComponentProperties, r as CustomNode, X as CustomNodeProperties, D as DataMap, p as DateTimeInputNode, l as DividerNode, f as IconNode, I as ImageNode, L as ListNode, M as MessageProcessor, m as ModalNode, q as MultipleChoiceNode, d as ResolvedArray, w as ResolvedAudioPlayer, K as ResolvedButton, O as ResolvedCard, y as ResolvedCheckbox, J as ResolvedColumn, E as ResolvedDateTimeInput, x as ResolvedDivider, t as ResolvedIcon, u as ResolvedImage, N as ResolvedList, c as ResolvedMap, W as ResolvedModal, F as ResolvedMultipleChoice, H as ResolvedRow, G as ResolvedSlider, P as ResolvedTabItem, Q as ResolvedTabs, s as ResolvedText, z as ResolvedTextField, R as ResolvedValue, v as ResolvedVideo, h as RowNode, S as SliderNode, Y as SurfaceID, Z as SurfaceState, k as TabsNode, o as TextFieldNode, e as TextNode, T as Theme, U as UserAction, V as VideoNode } from './types-Csi2jaoN.js';
|
|
9
|
+
export { A as A2UIAction, a as A2UIEventDetailMap, b as A2UIEventType, c as A2UI_EVENT_NAME, B as BaseEventDetail } from './a2ui-CZYqbeoz.js';
|
|
10
|
+
export { ProcessorContext, ProcessorProvider, StyleProvider, ThemeContext, ThemeProvider, createStyleElement, getStylesCSS, useProcessor, useTheme } from './context/index.js';
|
|
9
11
|
import 'react/jsx-runtime';
|
|
10
12
|
import 'react';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* A2UI Builders - v0.9 Protocol
|
|
16
|
+
*
|
|
17
|
+
* 提供 A2UI v0.9 协议的消息和组件构建器
|
|
18
|
+
* 所有构建器从 @zhama/a2ui-core 重导出
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
declare const index_DEFAULT_PATH_MAPPINGS: typeof DEFAULT_PATH_MAPPINGS;
|
|
22
|
+
declare const index_SURFACE_IDS: typeof SURFACE_IDS;
|
|
23
|
+
declare const index_audioPlayer: typeof audioPlayer;
|
|
24
|
+
declare const index_body: typeof body;
|
|
25
|
+
declare const index_button: typeof button;
|
|
26
|
+
declare const index_caption: typeof caption;
|
|
27
|
+
declare const index_card: typeof card;
|
|
28
|
+
declare const index_checkbox: typeof checkbox;
|
|
29
|
+
declare const index_choicePicker: typeof choicePicker;
|
|
30
|
+
declare const index_column: typeof column;
|
|
31
|
+
declare const index_createChatSurface: typeof createChatSurface;
|
|
32
|
+
declare const index_createInputFormSurface: typeof createInputFormSurface;
|
|
33
|
+
declare const index_createOrchestrationSurface: typeof createOrchestrationSurface;
|
|
34
|
+
declare const index_createRecommendationSurface: typeof createRecommendationSurface;
|
|
35
|
+
declare const index_createStatusSurface: typeof createStatusSurface;
|
|
36
|
+
declare const index_createSurface: typeof createSurface;
|
|
37
|
+
declare const index_createV09Messages: typeof createV09Messages;
|
|
38
|
+
declare const index_dateTimeInput: typeof dateTimeInput;
|
|
39
|
+
declare const index_deleteSurface: typeof deleteSurface;
|
|
40
|
+
declare const index_divider: typeof divider;
|
|
41
|
+
declare const index_flattenObjectToValueMap: typeof flattenObjectToValueMap;
|
|
42
|
+
declare const index_generateId: typeof generateId;
|
|
43
|
+
declare const index_h1: typeof h1;
|
|
44
|
+
declare const index_h2: typeof h2;
|
|
45
|
+
declare const index_h3: typeof h3;
|
|
46
|
+
declare const index_h4: typeof h4;
|
|
47
|
+
declare const index_h5: typeof h5;
|
|
48
|
+
declare const index_icon: typeof icon;
|
|
49
|
+
declare const index_image: typeof image;
|
|
50
|
+
declare const index_jsonlToMessages: typeof jsonlToMessages;
|
|
51
|
+
declare const index_list: typeof list;
|
|
52
|
+
declare const index_messagesToJsonl: typeof messagesToJsonl;
|
|
53
|
+
declare const index_modal: typeof modal;
|
|
54
|
+
declare const index_normalizePath: typeof normalizePath;
|
|
55
|
+
declare const index_objectToValueMap: typeof objectToValueMap;
|
|
56
|
+
declare const index_resetIdCounter: typeof resetIdCounter;
|
|
57
|
+
declare const index_row: typeof row;
|
|
58
|
+
declare const index_slider: typeof slider;
|
|
59
|
+
declare const index_tabs: typeof tabs;
|
|
60
|
+
declare const index_text: typeof text;
|
|
61
|
+
declare const index_textButton: typeof textButton;
|
|
62
|
+
declare const index_textField: typeof textField;
|
|
63
|
+
declare const index_updateComponents: typeof updateComponents;
|
|
64
|
+
declare const index_updateDataModel: typeof updateDataModel;
|
|
65
|
+
declare const index_updatesToValueMap: typeof updatesToValueMap;
|
|
66
|
+
declare const index_valueMapToObject: typeof valueMapToObject;
|
|
67
|
+
declare const index_valueToValueMap: typeof valueToValueMap;
|
|
68
|
+
declare const index_video: typeof video;
|
|
69
|
+
declare namespace index {
|
|
70
|
+
export { index_DEFAULT_PATH_MAPPINGS as DEFAULT_PATH_MAPPINGS, index_SURFACE_IDS as SURFACE_IDS, index_audioPlayer as audioPlayer, index_body as body, index_button as button, index_caption as caption, index_card as card, index_checkbox as checkbox, index_choicePicker as choicePicker, index_column as column, index_createChatSurface as createChatSurface, index_createInputFormSurface as createInputFormSurface, index_createOrchestrationSurface as createOrchestrationSurface, index_createRecommendationSurface as createRecommendationSurface, index_createStatusSurface as createStatusSurface, index_createSurface as createSurface, index_createV09Messages as createV09Messages, index_dateTimeInput as dateTimeInput, index_deleteSurface as deleteSurface, index_divider as divider, index_flattenObjectToValueMap as flattenObjectToValueMap, index_generateId as generateId, index_h1 as h1, index_h2 as h2, index_h3 as h3, index_h4 as h4, index_h5 as h5, index_icon as icon, index_image as image, index_jsonlToMessages as jsonlToMessages, index_list as list, index_messagesToJsonl as messagesToJsonl, index_modal as modal, index_normalizePath as normalizePath, index_objectToValueMap as objectToValueMap, index_resetIdCounter as resetIdCounter, index_row as row, index_slider as slider, index_tabs as tabs, index_text as text, index_textButton as textButton, index_textField as textField, index_updateComponents as updateComponents, index_updateDataModel as updateDataModel, index_updatesToValueMap as updatesToValueMap, index_valueMapToObject as valueMapToObject, index_valueToValueMap as valueToValueMap, index_video as video };
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export { index as Builders };
|