@apform-ui/core 1.11.0 → 1.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 +29 -8
- package/dist/apform-ui.js +1 -1
- package/dist/apform-ui.umd.cjs +1 -1
- package/dist/components/AppUserPanel/doc.d.ts +3 -0
- package/dist/components/Chat/BpmnFlowPreviewCanvas/doc.d.ts +3 -0
- package/dist/components/Chat/RagContextPanel/doc.d.ts +3 -0
- package/dist/components/Chat/StarterPromptGrid/doc.d.ts +3 -0
- package/dist/components/Chat/TaskChainBar/doc.d.ts +3 -0
- package/dist/components/Chat/TipBanner/doc.d.ts +3 -0
- package/dist/components/SliderCaptcha/doc.d.ts +3 -0
- package/dist/composables/useChatScroll.doc.d.ts +3 -0
- package/dist/composables/useClientPagination.doc.d.ts +3 -0
- package/dist/composables/useClipboard.doc.d.ts +3 -0
- package/dist/composables/useConfirm.doc.d.ts +3 -0
- package/dist/composables/useDataLoading.doc.d.ts +3 -0
- package/dist/composables/useDebounceFn.doc.d.ts +3 -0
- package/dist/composables/useMessage.doc.d.ts +3 -0
- package/dist/composables/useRealtime.doc.d.ts +3 -0
- package/dist/composables/useToast.doc.d.ts +3 -0
- package/dist/docs/index.d.ts +16 -0
- package/dist/docs/types.d.ts +14 -5
- package/dist/index.d.ts +1 -1
- package/package.json +3 -1
- package/src/docs/index.ts +48 -0
- package/src/docs/types.ts +14 -5
package/dist/docs/index.d.ts
CHANGED
|
@@ -46,6 +46,22 @@ export { SchemaFormPreviewDoc } from '../components/Chat/SchemaFormPreview/doc';
|
|
|
46
46
|
export { WorkflowRunTimelineDoc } from '../components/Chat/WorkflowRunTimeline/doc';
|
|
47
47
|
export { SuggestionCardDoc } from '../components/Chat/SuggestionCard/doc';
|
|
48
48
|
export { ConversationSearchBarDoc } from '../components/Chat/ConversationSearchBar/doc';
|
|
49
|
+
export { BpmnFlowPreviewCanvasDoc } from '../components/Chat/BpmnFlowPreviewCanvas/doc';
|
|
50
|
+
export { TipBannerDoc } from '../components/Chat/TipBanner/doc';
|
|
51
|
+
export { StarterPromptGridDoc } from '../components/Chat/StarterPromptGrid/doc';
|
|
52
|
+
export { TaskChainBarDoc } from '../components/Chat/TaskChainBar/doc';
|
|
53
|
+
export { RagContextPanelDoc } from '../components/Chat/RagContextPanel/doc';
|
|
54
|
+
export { AppUserPanelDoc } from '../components/AppUserPanel/doc';
|
|
55
|
+
export { SliderCaptchaDoc } from '../components/SliderCaptcha/doc';
|
|
56
|
+
export { useDebounceFnDoc } from '../composables/useDebounceFn.doc';
|
|
57
|
+
export { useToastDoc } from '../composables/useToast.doc';
|
|
58
|
+
export { useConfirmDoc } from '../composables/useConfirm.doc';
|
|
59
|
+
export { useMessageDoc } from '../composables/useMessage.doc';
|
|
60
|
+
export { useClientPaginationDoc } from '../composables/useClientPagination.doc';
|
|
61
|
+
export { useDataLoadingDoc } from '../composables/useDataLoading.doc';
|
|
62
|
+
export { useChatScrollDoc } from '../composables/useChatScroll.doc';
|
|
63
|
+
export { useClipboardDoc } from '../composables/useClipboard.doc';
|
|
64
|
+
export { useRealtimeDoc } from '../composables/useRealtime.doc';
|
|
49
65
|
export { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc';
|
|
50
66
|
export { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc';
|
|
51
67
|
export { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc';
|
package/dist/docs/types.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 组件文档元数据类型 — playground 文档站消费
|
|
3
3
|
*/
|
|
4
|
-
/** Props
|
|
4
|
+
/** Props / 参数文档行 */
|
|
5
5
|
export interface PropDoc {
|
|
6
|
-
/**
|
|
6
|
+
/** 属性名或参数名 */
|
|
7
7
|
name: string;
|
|
8
8
|
/** 类型说明 */
|
|
9
9
|
type: string;
|
|
@@ -38,10 +38,19 @@ export interface ComponentDoc {
|
|
|
38
38
|
titleZh?: string;
|
|
39
39
|
/** 一句话简述 */
|
|
40
40
|
description: string;
|
|
41
|
-
/**
|
|
41
|
+
/**
|
|
42
|
+
* 文档类型:组件(Attributes/Events/Slots)或 composable(Parameters/Returns)
|
|
43
|
+
* @default 'component'
|
|
44
|
+
*/
|
|
45
|
+
kind?: 'component' | 'composable';
|
|
46
|
+
/** Props / Attributes(组件) */
|
|
42
47
|
props?: PropDoc[];
|
|
43
|
-
/** Emits / Events */
|
|
48
|
+
/** Emits / Events(组件) */
|
|
44
49
|
emits?: EmitDoc[];
|
|
45
|
-
/** Slots */
|
|
50
|
+
/** Slots(组件) */
|
|
46
51
|
slots?: SlotDoc[];
|
|
52
|
+
/** 函数参数(composable) */
|
|
53
|
+
params?: PropDoc[];
|
|
54
|
+
/** 返回值字段 / 方法(composable) */
|
|
55
|
+
returns?: PropDoc[];
|
|
47
56
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -108,6 +108,6 @@ export type { StructuredJsonKind } from './utils/structuredJson';
|
|
|
108
108
|
export { extractBusinessResultTables, extractChartOption, } from './utils/businessResultTables';
|
|
109
109
|
export type { BusinessResultTable, ChartOptionExtract, } from './utils/businessResultTables';
|
|
110
110
|
export { COLORS, CHART_COLORS, TEXT_COLORS, SPACING, BORDER_RADIUS, SHADOWS, DURATION, Z_INDEX, FONT_SIZE, CONTROL_HEIGHT, LAYOUT_HEIGHT, ICON_SIZE, PAGE, FORM, AVATAR_SIZE, } from './tokens';
|
|
111
|
-
export declare const SCHEMA_UI_VERSION = "1.11.
|
|
111
|
+
export declare const SCHEMA_UI_VERSION = "1.11.1";
|
|
112
112
|
export declare const EP_FORK_BASE = "2.14.2";
|
|
113
113
|
export declare const EP_FORK_DATE = "2026-08-27";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apform-ui/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "yangdongnan",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,6 +46,8 @@
|
|
|
46
46
|
"./tokens.css": "./src/tokens/tokens.css",
|
|
47
47
|
"./design-tokens.css": "./src/tokens/design-tokens.css",
|
|
48
48
|
"./style.css": "./dist/apform-ui.css",
|
|
49
|
+
"./chat.css": "./dist/chat.css",
|
|
50
|
+
"./bpmn.css": "./dist/bpmn.css",
|
|
49
51
|
"./styles/element-override.css": "./styles/element-override.css",
|
|
50
52
|
"./styles/fg-theme.css": "./styles/fg-theme.css",
|
|
51
53
|
"./theme/*": "./src/theme/*",
|
package/src/docs/index.ts
CHANGED
|
@@ -46,6 +46,22 @@ export { SchemaFormPreviewDoc } from '../components/Chat/SchemaFormPreview/doc'
|
|
|
46
46
|
export { WorkflowRunTimelineDoc } from '../components/Chat/WorkflowRunTimeline/doc'
|
|
47
47
|
export { SuggestionCardDoc } from '../components/Chat/SuggestionCard/doc'
|
|
48
48
|
export { ConversationSearchBarDoc } from '../components/Chat/ConversationSearchBar/doc'
|
|
49
|
+
export { BpmnFlowPreviewCanvasDoc } from '../components/Chat/BpmnFlowPreviewCanvas/doc'
|
|
50
|
+
export { TipBannerDoc } from '../components/Chat/TipBanner/doc'
|
|
51
|
+
export { StarterPromptGridDoc } from '../components/Chat/StarterPromptGrid/doc'
|
|
52
|
+
export { TaskChainBarDoc } from '../components/Chat/TaskChainBar/doc'
|
|
53
|
+
export { RagContextPanelDoc } from '../components/Chat/RagContextPanel/doc'
|
|
54
|
+
export { AppUserPanelDoc } from '../components/AppUserPanel/doc'
|
|
55
|
+
export { SliderCaptchaDoc } from '../components/SliderCaptcha/doc'
|
|
56
|
+
export { useDebounceFnDoc } from '../composables/useDebounceFn.doc'
|
|
57
|
+
export { useToastDoc } from '../composables/useToast.doc'
|
|
58
|
+
export { useConfirmDoc } from '../composables/useConfirm.doc'
|
|
59
|
+
export { useMessageDoc } from '../composables/useMessage.doc'
|
|
60
|
+
export { useClientPaginationDoc } from '../composables/useClientPagination.doc'
|
|
61
|
+
export { useDataLoadingDoc } from '../composables/useDataLoading.doc'
|
|
62
|
+
export { useChatScrollDoc } from '../composables/useChatScroll.doc'
|
|
63
|
+
export { useClipboardDoc } from '../composables/useClipboard.doc'
|
|
64
|
+
export { useRealtimeDoc } from '../composables/useRealtime.doc'
|
|
49
65
|
export { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc'
|
|
50
66
|
export { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc'
|
|
51
67
|
export { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc'
|
|
@@ -141,6 +157,22 @@ import { SchemaFormPreviewDoc } from '../components/Chat/SchemaFormPreview/doc'
|
|
|
141
157
|
import { WorkflowRunTimelineDoc } from '../components/Chat/WorkflowRunTimeline/doc'
|
|
142
158
|
import { SuggestionCardDoc } from '../components/Chat/SuggestionCard/doc'
|
|
143
159
|
import { ConversationSearchBarDoc } from '../components/Chat/ConversationSearchBar/doc'
|
|
160
|
+
import { BpmnFlowPreviewCanvasDoc } from '../components/Chat/BpmnFlowPreviewCanvas/doc'
|
|
161
|
+
import { TipBannerDoc } from '../components/Chat/TipBanner/doc'
|
|
162
|
+
import { StarterPromptGridDoc } from '../components/Chat/StarterPromptGrid/doc'
|
|
163
|
+
import { TaskChainBarDoc } from '../components/Chat/TaskChainBar/doc'
|
|
164
|
+
import { RagContextPanelDoc } from '../components/Chat/RagContextPanel/doc'
|
|
165
|
+
import { AppUserPanelDoc } from '../components/AppUserPanel/doc'
|
|
166
|
+
import { SliderCaptchaDoc } from '../components/SliderCaptcha/doc'
|
|
167
|
+
import { useDebounceFnDoc } from '../composables/useDebounceFn.doc'
|
|
168
|
+
import { useToastDoc } from '../composables/useToast.doc'
|
|
169
|
+
import { useConfirmDoc } from '../composables/useConfirm.doc'
|
|
170
|
+
import { useMessageDoc } from '../composables/useMessage.doc'
|
|
171
|
+
import { useClientPaginationDoc } from '../composables/useClientPagination.doc'
|
|
172
|
+
import { useDataLoadingDoc } from '../composables/useDataLoading.doc'
|
|
173
|
+
import { useChatScrollDoc } from '../composables/useChatScroll.doc'
|
|
174
|
+
import { useClipboardDoc } from '../composables/useClipboard.doc'
|
|
175
|
+
import { useRealtimeDoc } from '../composables/useRealtime.doc'
|
|
144
176
|
import { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc'
|
|
145
177
|
import { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc'
|
|
146
178
|
import { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc'
|
|
@@ -237,6 +269,22 @@ export const componentDocs: Record<string, ComponentDoc> = {
|
|
|
237
269
|
WorkflowRunTimeline: WorkflowRunTimelineDoc,
|
|
238
270
|
SuggestionCard: SuggestionCardDoc,
|
|
239
271
|
ConversationSearchBar: ConversationSearchBarDoc,
|
|
272
|
+
BpmnFlowPreviewCanvas: BpmnFlowPreviewCanvasDoc,
|
|
273
|
+
TipBanner: TipBannerDoc,
|
|
274
|
+
StarterPromptGrid: StarterPromptGridDoc,
|
|
275
|
+
TaskChainBar: TaskChainBarDoc,
|
|
276
|
+
RagContextPanel: RagContextPanelDoc,
|
|
277
|
+
AppUserPanel: AppUserPanelDoc,
|
|
278
|
+
SliderCaptcha: SliderCaptchaDoc,
|
|
279
|
+
useDebounceFn: useDebounceFnDoc,
|
|
280
|
+
useToast: useToastDoc,
|
|
281
|
+
useConfirm: useConfirmDoc,
|
|
282
|
+
useMessage: useMessageDoc,
|
|
283
|
+
useClientPagination: useClientPaginationDoc,
|
|
284
|
+
useDataLoading: useDataLoadingDoc,
|
|
285
|
+
useChatScroll: useChatScrollDoc,
|
|
286
|
+
useClipboard: useClipboardDoc,
|
|
287
|
+
useRealtime: useRealtimeDoc,
|
|
240
288
|
AttachmentPreviewModal: AttachmentPreviewModalDoc,
|
|
241
289
|
DocumentSummaryList: DocumentSummaryListDoc,
|
|
242
290
|
MessageAttachmentList: MessageAttachmentListDoc,
|
package/src/docs/types.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* 组件文档元数据类型 — playground 文档站消费
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
/** Props
|
|
5
|
+
/** Props / 参数文档行 */
|
|
6
6
|
export interface PropDoc {
|
|
7
|
-
/**
|
|
7
|
+
/** 属性名或参数名 */
|
|
8
8
|
name: string
|
|
9
9
|
/** 类型说明 */
|
|
10
10
|
type: string
|
|
@@ -42,10 +42,19 @@ export interface ComponentDoc {
|
|
|
42
42
|
titleZh?: string
|
|
43
43
|
/** 一句话简述 */
|
|
44
44
|
description: string
|
|
45
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* 文档类型:组件(Attributes/Events/Slots)或 composable(Parameters/Returns)
|
|
47
|
+
* @default 'component'
|
|
48
|
+
*/
|
|
49
|
+
kind?: 'component' | 'composable'
|
|
50
|
+
/** Props / Attributes(组件) */
|
|
46
51
|
props?: PropDoc[]
|
|
47
|
-
/** Emits / Events */
|
|
52
|
+
/** Emits / Events(组件) */
|
|
48
53
|
emits?: EmitDoc[]
|
|
49
|
-
/** Slots */
|
|
54
|
+
/** Slots(组件) */
|
|
50
55
|
slots?: SlotDoc[]
|
|
56
|
+
/** 函数参数(composable) */
|
|
57
|
+
params?: PropDoc[]
|
|
58
|
+
/** 返回值字段 / 方法(composable) */
|
|
59
|
+
returns?: PropDoc[]
|
|
51
60
|
}
|