@blueking/chat-x 0.0.16 → 0.0.18
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/icons/ai.d.ts +4 -4
- package/dist/index.css +1 -1
- package/dist/index.js +2590 -2586
- package/dist/index.js.map +1 -1
- package/dist/mcp/generated/docs/chat-container.md +8 -7
- package/dist/mcp/generated/index.json +1 -1
- package/package.json +1 -1
|
@@ -326,13 +326,14 @@ ai-chat-container
|
|
|
326
326
|
|
|
327
327
|
ChatContainer 的 Props 继承自 `ChatInputProps` 和 `MessageContainerProps`(排除 `enableSelection` 和 `messageGroups`),另外新增:
|
|
328
328
|
|
|
329
|
-
| 属性名 | 类型
|
|
330
|
-
| ------------------ |
|
|
331
|
-
| chatLoading | `boolean`
|
|
332
|
-
| commonTippyOptions | `AITippyProps`
|
|
333
|
-
| openingRemark | `string`
|
|
334
|
-
| placement | `'left' \| 'right'`
|
|
335
|
-
|
|
|
329
|
+
| 属性名 | 类型 | 默认值 | 说明 |
|
|
330
|
+
| ------------------ | ---------------------------------------------------------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
331
|
+
| chatLoading | `boolean` | — | 整体加载状态,`true` 时显示 Loading 遮罩 |
|
|
332
|
+
| commonTippyOptions | `AITippyProps` | — | 通用 Tippy 配置,传入的选项会注入到所有使用 `v-overflow-tips` 的子组件中 |
|
|
333
|
+
| openingRemark | `string` | — | 开场白,无消息时显示,支持 Markdown |
|
|
334
|
+
| placement | `'left' \| 'right'` | `'left'` | 侧边栏位置 |
|
|
335
|
+
| resizeProps | `{ disabled?: boolean; initialDivide?: number; max?: number; min?: number }` | — | 透传给内部 `ResizeLayout` 的可选配置,与默认 `collapsible: false`、`immediate: true`、`min: 400` 合并;`placement` 始终取自本组件 `placement` |
|
|
336
|
+
| onCustomTabChange | `(tab: CustomTab) => Promise<any>` | — | 自定义 Tab 切换回调,返回值作为 Tab 组件 props |
|
|
336
337
|
|
|
337
338
|
> 完整 Props 列表请参考 [ChatInput](./chat-input.md) 和 [MessageContainer](./message-container.md) 文档。
|
|
338
339
|
|