@apform-ui/core 1.10.37 → 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 +18 -3
- package/dist/apform-ui.css +1 -1
- package/dist/apform-ui.js +5078 -5271
- package/dist/apform-ui.umd.cjs +55 -55
- package/dist/bpmn.css +1 -0
- package/dist/bpmn.d.ts +7 -0
- package/dist/bpmn.js +202 -0
- package/dist/bpmn.umd.cjs +1 -0
- package/dist/chat.css +1 -0
- package/dist/chat.d.ts +78 -0
- package/dist/chat.js +9801 -0
- package/dist/chat.umd.cjs +68 -0
- package/dist/components/AppDialog/AppDialog.vue.d.ts +6 -6
- package/dist/components/CardGridSkeleton/CardGridSkeleton.vue.d.ts +1 -1
- package/dist/components/Chat/AssistantPicker/AssistantPicker.vue.d.ts +2 -2
- package/dist/components/Chat/BpmnFlowPreviewCanvas/BpmnFlowPreviewCanvas.vue.d.ts +2 -2
- package/dist/components/Chat/ConversationSearchBar/ConversationSearchBar.vue.d.ts +5 -5
- package/dist/components/Chat/EditableArtifactCard/EditableArtifactCard.vue.d.ts +1 -1
- package/dist/components/Chat/MessageBubble/MessageBubble.vue.d.ts +4 -4
- package/dist/components/Chat/MessageList/MessageList.vue.d.ts +4 -4
- package/dist/components/Chat/PendingAttachmentChip/PendingAttachmentChip.vue.d.ts +2 -2
- package/dist/components/Chat/RagContextPanel/RagContextPanel.vue.d.ts +4 -4
- package/dist/components/Chat/ThinkingBlock/ThinkingBlock.vue.d.ts +1 -1
- package/dist/components/Chat/WorkflowRunTimeline/WorkflowRunTimeline.vue.d.ts +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts +1 -1
- package/dist/components/DocumentPreview/DocumentPreviewDrawer.vue.d.ts +2 -2
- package/dist/components/DocumentPreview/DocumentPreviewPanel.vue.d.ts +2 -2
- package/dist/components/ExcelPreviewCard/ExcelPreviewCard.vue.d.ts +2 -2
- package/dist/components/ExecutionArtifactPanel/ExecutionArtifactPanel.vue.d.ts +1 -1
- package/dist/components/FormDialog/FormDialog.vue.d.ts +3 -3
- package/dist/components/ImagePreviewCard/ImagePreviewCard.vue.d.ts +1 -1
- package/dist/components/LogStream/LogStream.vue.d.ts +3 -3
- package/dist/components/MetricChart/MetricChart.vue.d.ts +1 -1
- package/dist/components/PropertyField/PropertyField.vue.d.ts +1 -1
- package/dist/components/PropertyPanel/editors/NumberArrayEditor.vue.d.ts +1 -1
- package/dist/components/SearchForm/SearchForm.vue.d.ts +3 -3
- package/dist/components/Skeleton/Skeleton.vue.d.ts +2 -2
- package/dist/components/StatusTag/StatusTag.vue.d.ts +1 -1
- package/dist/components/TimeRangePicker/TimeRangePicker.vue.d.ts +1 -1
- package/dist/components/UserAvatar/UserAvatar.vue.d.ts +2 -2
- package/dist/index.d.ts +3 -75
- package/package.json +13 -3
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
|
|
24
|
-
npm install pdfjs-dist
|
|
25
|
-
npm install xlsx
|
|
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
|
## 快速开始
|