@tdesign-react/chat 1.1.0-alpha.1 → 1.1.0-alpha.2
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/es/_chunks/dep-870f0d35.js +839 -0
- package/es/_chunks/dep-870f0d35.js.map +1 -0
- package/es/_util/reactify.js +1 -1
- package/es/_util/useDynamicStyle.js +1 -1
- package/es/attachments/index.js +1 -1
- package/es/chat-actionbar/index.js +1 -1
- package/es/chat-engine/components/activity/index.js +1 -1
- package/es/chat-engine/components/activity/registry.js +1 -1
- package/es/chat-engine/components/activity/render.js +1 -1
- package/es/chat-engine/components/activity/types.js +1 -1
- package/es/chat-engine/components/index.js +3 -3
- package/es/chat-engine/components/json-render/A2UIJsonRenderActivityRenderer.js +2 -2
- package/es/chat-engine/components/json-render/JsonRenderActivityRenderer.js +2 -2
- package/es/chat-engine/components/json-render/SurfaceStateManager.js +1 -1
- package/es/chat-engine/components/json-render/adapters/a2ui-to-jsonrender.js +1 -1
- package/es/chat-engine/components/json-render/adapters/a2ui-types.js +1 -1
- package/es/chat-engine/components/json-render/adapters/index.js +1 -1
- package/es/chat-engine/components/json-render/catalog/a2ui-binding.js +2 -2
- package/es/chat-engine/components/json-render/catalog/a2ui-registry.js +2 -2
- package/es/chat-engine/components/json-render/catalog/button.js +1 -1
- package/es/chat-engine/components/json-render/catalog/card.js +1 -1
- package/es/chat-engine/components/json-render/catalog/index.d.ts +2 -1
- package/es/chat-engine/components/json-render/catalog/index.js +3 -3
- package/es/chat-engine/components/json-render/catalog/input.js +2 -2
- package/es/chat-engine/components/json-render/catalog/layout.js +1 -1
- package/es/chat-engine/components/json-render/catalog/text.js +1 -1
- package/es/chat-engine/components/json-render/catalog.d.ts +65 -0
- package/es/chat-engine/components/json-render/catalog.js +414 -2
- package/es/chat-engine/components/json-render/catalog.js.map +1 -1
- package/es/chat-engine/components/json-render/config.js +2 -2
- package/es/chat-engine/components/json-render/contexts/actions.js +1 -1
- package/es/chat-engine/components/json-render/contexts/data.js +1 -1
- package/es/chat-engine/components/json-render/contexts/validation.js +1 -1
- package/es/chat-engine/components/json-render/contexts/visibility.js +1 -1
- package/es/chat-engine/components/json-render/engine.js +1 -1
- package/es/chat-engine/components/json-render/index.d.ts +3 -1
- package/es/chat-engine/components/json-render/index.js +3 -3
- package/es/chat-engine/components/json-render/performance.js +1 -1
- package/es/chat-engine/components/json-render/renderer.js +1 -1
- package/es/chat-engine/components/json-render/types.js +1 -1
- package/es/chat-engine/components/provider/agent-state.js +1 -1
- package/es/chat-engine/components/toolcall/index.js +1 -1
- package/es/chat-engine/components/toolcall/registry.js +1 -1
- package/es/chat-engine/components/toolcall/render.js +1 -1
- package/es/chat-engine/components/toolcall/types.js +1 -1
- package/es/chat-engine/core/adapters/agui/activity-manager.js +1 -1
- package/es/chat-engine/core/adapters/agui/event-mapper.js +1 -1
- package/es/chat-engine/core/adapters/agui/events.js +1 -1
- package/es/chat-engine/core/adapters/agui/index.js +1 -1
- package/es/chat-engine/core/adapters/agui/state-manager.js +1 -1
- package/es/chat-engine/core/adapters/agui/types.js +1 -1
- package/es/chat-engine/core/adapters/agui/utils.js +1 -1
- package/es/chat-engine/core/event-bus/ChatEventBus.js +1 -1
- package/es/chat-engine/core/event-bus/index.js +1 -1
- package/es/chat-engine/core/event-bus/types.js +1 -1
- package/es/chat-engine/core/index.js +1 -1
- package/es/chat-engine/core/processor/index.js +1 -1
- package/es/chat-engine/core/server/batch-client.js +1 -1
- package/es/chat-engine/core/server/connection-manager.js +1 -1
- package/es/chat-engine/core/server/errors.js +1 -1
- package/es/chat-engine/core/server/index.js +1 -1
- package/es/chat-engine/core/server/llm-service.js +1 -1
- package/es/chat-engine/core/server/sse-client.js +1 -1
- package/es/chat-engine/core/server/sse-parser.js +1 -1
- package/es/chat-engine/core/server/types.js +1 -1
- package/es/chat-engine/core/store/message.js +1 -1
- package/es/chat-engine/core/store/model.js +1 -1
- package/es/chat-engine/core/store/reactiveState.js +1 -1
- package/es/chat-engine/core/type.js +1 -1
- package/es/chat-engine/core/utils/eventEmitter.js +1 -1
- package/es/chat-engine/core/utils/index.js +1 -1
- package/es/chat-engine/core/utils/logger.js +1 -1
- package/es/chat-engine/hooks/index.js +1 -1
- package/es/chat-engine/hooks/useAgentActivity.js +1 -1
- package/es/chat-engine/hooks/useAgentState.js +1 -1
- package/es/chat-engine/hooks/useAgentToolcall.js +1 -1
- package/es/chat-engine/hooks/useChat.js +1 -1
- package/es/chat-engine/hooks/useJsonRenderActivity.js +2 -2
- package/es/chat-engine/index.js +3 -3
- package/es/chat-filecard/index.js +1 -1
- package/es/chat-loading/index.js +1 -1
- package/es/chat-markdown/index.js +1 -1
- package/es/chat-message/index.js +1 -1
- package/es/chat-sender/index.js +1 -1
- package/es/chat-thinking/index.js +1 -1
- package/es/chatbot/index.js +1 -1
- package/es/index.js +3 -3
- package/es/style/index.js +1 -1
- package/package.json +1 -1
|
@@ -12,8 +12,9 @@ export type { PerformanceMetrics } from './performance';
|
|
|
12
12
|
export type { JsonRenderSchema, ComponentCatalog, JsonRenderContext, DeltaInfo, JsonRenderActivityProps, A2UIAdapterConfig, } from './types';
|
|
13
13
|
export { createCustomRegistry, tdesignRegistry, withStableProps } from './catalog/index';
|
|
14
14
|
export type { CreateCustomRegistryOptions } from './catalog/index';
|
|
15
|
-
export { tdesignCatalog, createCustomCatalog, tdesignComponentList, tdesignActionList, } from './catalog/index';
|
|
15
|
+
export { tdesignCatalog, createCustomCatalog, tdesignComponentList, tdesignActionList, generateCatalogPrompt, } from './catalog/index';
|
|
16
16
|
export type { Catalog } from '@json-render/core';
|
|
17
|
+
export type { PromptTemplateMode, CustomTemplateGenerator, ComponentDoc, NormalizedComponentDoc } from './catalog';
|
|
17
18
|
export { a2uiRegistry, createA2UIRegistry, A2UITextField, A2UIButton } from './catalog/index';
|
|
18
19
|
export { withA2UIBinding } from './catalog/index';
|
|
19
20
|
export type { A2UIBindingConfig } from './catalog/index';
|
|
@@ -32,3 +33,4 @@ export { VisibilityProvider, useVisibility, useIsVisible, type VisibilityContext
|
|
|
32
33
|
export { ActionProvider, useActions, useAction, ConfirmDialog, type ActionContextValue, type ActionProviderProps, type PendingConfirmation, type ConfirmDialogProps, } from "./contexts/actions";
|
|
33
34
|
export { ValidationProvider, useValidation, useFieldValidation, type ValidationContextValue, type ValidationProviderProps, type FieldValidationState, } from "./contexts/validation";
|
|
34
35
|
export { Renderer, JSONUIProvider, createRendererFromCatalog, type ComponentRenderProps, type ComponentRenderer, type ComponentRegistry, type RendererProps, type JSONUIProviderProps, } from "./renderer";
|
|
36
|
+
export * from './catalog';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v1.0
|
|
2
|
+
* tdesign v1.1.0-alpha.1
|
|
3
3
|
* (c) 2026 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
export { e as A2UIButton, A as A2UIJsonRenderActivityRenderer, d as A2UITextField, J as JsonRenderActivityRenderer, g as JsonRenderInput, a as a2uiRegistry, j as createA2UIJsonRenderActivityConfig, b as createA2UIRegistry, c as createCustomRegistry, h as createJsonRenderActivityConfig, h as default, k as defaultA2UIJsonRenderActivityConfig, i as defaultJsonRenderActivityConfig, t as tdesignRegistry, f as withA2UIBinding, w as withStableProps } from '../../../_chunks/dep-
|
|
7
|
+
export { e as A2UIButton, A as A2UIJsonRenderActivityRenderer, d as A2UITextField, J as JsonRenderActivityRenderer, g as JsonRenderInput, a as a2uiRegistry, j as createA2UIJsonRenderActivityConfig, b as createA2UIRegistry, c as createCustomRegistry, h as createJsonRenderActivityConfig, h as default, k as defaultA2UIJsonRenderActivityConfig, i as defaultJsonRenderActivityConfig, t as tdesignRegistry, f as withA2UIBinding, w as withStableProps } from '../../../_chunks/dep-870f0d35.js';
|
|
8
8
|
export { JsonRenderEngine, createJsonRenderEngine } from './engine.js';
|
|
9
9
|
export { PERFORMANCE_THRESHOLDS, PerformanceMonitor, checkPerformance, globalPerformanceMonitor } from './performance.js';
|
|
10
10
|
export { JsonRenderButton } from './catalog/button.js';
|
|
@@ -17,7 +17,7 @@ export { VisibilityProvider, useIsVisible, useVisibility } from './contexts/visi
|
|
|
17
17
|
export { ActionProvider, ConfirmDialog, useAction, useActions } from './contexts/actions.js';
|
|
18
18
|
export { ValidationProvider, useFieldValidation, useValidation } from './contexts/validation.js';
|
|
19
19
|
export { JSONUIProvider, Renderer, createRendererFromCatalog } from './renderer.js';
|
|
20
|
-
export { createCustomCatalog, tdesignActionList, tdesignCatalog, tdesignComponentList } from './catalog.js';
|
|
20
|
+
export { createCustomCatalog, generateCatalogPrompt, tdesignActionList, tdesignCatalog, tdesignComponentList } from './catalog.js';
|
|
21
21
|
export { default as A2UIAdapter, applyA2UIDataUpdate, applyA2UIUpdates, convertA2UIMessagesToJsonRender } from './adapters/a2ui-to-jsonrender.js';
|
|
22
22
|
import 'react';
|
|
23
23
|
import '@babel/runtime/helpers/typeof';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v1.0
|
|
2
|
+
* tdesign v1.1.0-alpha.1
|
|
3
3
|
* (c) 2026 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
@@ -8,7 +8,7 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
|
8
8
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
9
9
|
import { useMemo } from 'react';
|
|
10
10
|
import { useAgentActivity } from './useAgentActivity.js';
|
|
11
|
-
import { j as createA2UIJsonRenderActivityConfig, h as createJsonRenderActivityConfig } from '../../_chunks/dep-
|
|
11
|
+
import { j as createA2UIJsonRenderActivityConfig, h as createJsonRenderActivityConfig } from '../../_chunks/dep-870f0d35.js';
|
|
12
12
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
13
13
|
import '../components/activity/registry.js';
|
|
14
14
|
import '@babel/runtime/helpers/classCallCheck';
|
package/es/chat-engine/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v1.0
|
|
2
|
+
* tdesign v1.1.0-alpha.1
|
|
3
3
|
* (c) 2026 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
@@ -16,10 +16,10 @@ export { ToolCallRenderer, withAgentStateToolcall, withAgentStateToolcall1 } fro
|
|
|
16
16
|
export { activityRegistry } from './components/activity/registry.js';
|
|
17
17
|
export { ActivityRenderer } from './components/activity/render.js';
|
|
18
18
|
export { AgentStateProvider } from './components/provider/agent-state.js';
|
|
19
|
-
export { e as A2UIButton, A as A2UIJsonRenderActivityRenderer, d as A2UITextField, J as JsonRenderActivityRenderer, g as JsonRenderInput, a as a2uiRegistry, j as createA2UIJsonRenderActivityConfig, b as createA2UIRegistry, c as createCustomRegistry, h as createJsonRenderActivityConfig, k as defaultA2UIJsonRenderActivityConfig, i as defaultJsonRenderActivityConfig, t as tdesignRegistry, f as withA2UIBinding, w as withStableProps } from '../_chunks/dep-
|
|
19
|
+
export { e as A2UIButton, A as A2UIJsonRenderActivityRenderer, d as A2UITextField, J as JsonRenderActivityRenderer, g as JsonRenderInput, a as a2uiRegistry, j as createA2UIJsonRenderActivityConfig, b as createA2UIRegistry, c as createCustomRegistry, h as createJsonRenderActivityConfig, k as defaultA2UIJsonRenderActivityConfig, i as defaultJsonRenderActivityConfig, t as tdesignRegistry, f as withA2UIBinding, w as withStableProps } from '../_chunks/dep-870f0d35.js';
|
|
20
20
|
export { JsonRenderEngine, createJsonRenderEngine } from './components/json-render/engine.js';
|
|
21
21
|
export { PERFORMANCE_THRESHOLDS, PerformanceMonitor, checkPerformance, globalPerformanceMonitor } from './components/json-render/performance.js';
|
|
22
|
-
export { createCustomCatalog, tdesignActionList, tdesignCatalog, tdesignComponentList } from './components/json-render/catalog.js';
|
|
22
|
+
export { createCustomCatalog, generateCatalogPrompt, tdesignActionList, tdesignCatalog, tdesignComponentList } from './components/json-render/catalog.js';
|
|
23
23
|
export { JsonRenderButton } from './components/json-render/catalog/button.js';
|
|
24
24
|
export { JsonRenderCard } from './components/json-render/catalog/card.js';
|
|
25
25
|
export { JsonRenderCol, JsonRenderDivider, JsonRenderRow, JsonRenderSpace } from './components/json-render/catalog/layout.js';
|
package/es/chat-loading/index.js
CHANGED
package/es/chat-message/index.js
CHANGED
package/es/chat-sender/index.js
CHANGED
package/es/chatbot/index.js
CHANGED
package/es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v1.0
|
|
2
|
+
* tdesign v1.1.0-alpha.1
|
|
3
3
|
* (c) 2026 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
@@ -24,10 +24,10 @@ export { ToolCallRenderer, withAgentStateToolcall, withAgentStateToolcall1 } fro
|
|
|
24
24
|
export { activityRegistry } from './chat-engine/components/activity/registry.js';
|
|
25
25
|
export { ActivityRenderer } from './chat-engine/components/activity/render.js';
|
|
26
26
|
export { AgentStateProvider } from './chat-engine/components/provider/agent-state.js';
|
|
27
|
-
export { e as A2UIButton, A as A2UIJsonRenderActivityRenderer, d as A2UITextField, J as JsonRenderActivityRenderer, g as JsonRenderInput, a as a2uiRegistry, j as createA2UIJsonRenderActivityConfig, b as createA2UIRegistry, c as createCustomRegistry, h as createJsonRenderActivityConfig, k as defaultA2UIJsonRenderActivityConfig, i as defaultJsonRenderActivityConfig, t as tdesignRegistry, f as withA2UIBinding, w as withStableProps } from './_chunks/dep-
|
|
27
|
+
export { e as A2UIButton, A as A2UIJsonRenderActivityRenderer, d as A2UITextField, J as JsonRenderActivityRenderer, g as JsonRenderInput, a as a2uiRegistry, j as createA2UIJsonRenderActivityConfig, b as createA2UIRegistry, c as createCustomRegistry, h as createJsonRenderActivityConfig, k as defaultA2UIJsonRenderActivityConfig, i as defaultJsonRenderActivityConfig, t as tdesignRegistry, f as withA2UIBinding, w as withStableProps } from './_chunks/dep-870f0d35.js';
|
|
28
28
|
export { JsonRenderEngine, createJsonRenderEngine } from './chat-engine/components/json-render/engine.js';
|
|
29
29
|
export { PERFORMANCE_THRESHOLDS, PerformanceMonitor, checkPerformance, globalPerformanceMonitor } from './chat-engine/components/json-render/performance.js';
|
|
30
|
-
export { createCustomCatalog, tdesignActionList, tdesignCatalog, tdesignComponentList } from './chat-engine/components/json-render/catalog.js';
|
|
30
|
+
export { createCustomCatalog, generateCatalogPrompt, tdesignActionList, tdesignCatalog, tdesignComponentList } from './chat-engine/components/json-render/catalog.js';
|
|
31
31
|
export { JsonRenderButton } from './chat-engine/components/json-render/catalog/button.js';
|
|
32
32
|
export { JsonRenderCard } from './chat-engine/components/json-render/catalog/card.js';
|
|
33
33
|
export { JsonRenderCol, JsonRenderDivider, JsonRenderRow, JsonRenderSpace } from './chat-engine/components/json-render/catalog/layout.js';
|
package/es/style/index.js
CHANGED