@apform-ui/core 1.10.38 → 1.11.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 CHANGED
@@ -20,9 +20,24 @@ npm install element-plus@2.14.2 vue@^3.5.0
20
20
  可选 peer(按需):
21
21
 
22
22
  ```bash
23
- npm install echarts # MetricChart
24
- npm install pdfjs-dist # PdfPreviewCard 富预览
25
- npm install xlsx # ExcelPreviewCard 富预览
23
+ npm install echarts # MetricChart
24
+ npm install pdfjs-dist # PdfPreviewCard 富预览
25
+ npm install xlsx # ExcelPreviewCard 富预览
26
+ npm install vue-virtual-scroller # VirtualMessageScroller
27
+ npm install @vue-flow/core @vue-flow/background @vue-flow/controls # 仅 @apform-ui/core/bpmn
28
+ ```
29
+
30
+ ## 入口
31
+
32
+ | 入口 | 用途 | vue-flow |
33
+ |------|------|----------|
34
+ | `@apform-ui/core` | 通用组件 | 否 |
35
+ | `@apform-ui/core/chat` | 对话组件轻量入口 | 否 |
36
+ | `@apform-ui/core/bpmn` | `BpmnFlowPreviewCanvas` | 是(peer) |
37
+
38
+ ```typescript
39
+ import { MessageBubble, Composer } from '@apform-ui/core/chat'
40
+ import { BpmnFlowPreviewCanvas } from '@apform-ui/core/bpmn'
26
41
  ```
27
42
 
28
43
  ## 快速开始