@apform-ui/core 1.10.11 → 1.10.12
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/apform-ui.css +1 -1
- package/dist/apform-ui.js +2462 -2168
- package/dist/apform-ui.umd.cjs +71 -71
- package/dist/components/Chat/FieldListCard/FieldListCard.vue.d.ts +19 -0
- package/dist/components/Chat/FieldListCard/doc.d.ts +3 -0
- package/dist/components/Chat/FieldListCard/index.d.ts +2 -0
- package/dist/components/Chat/FieldListCard/types.d.ts +7 -0
- package/dist/components/Chat/FlowNodeStripCard/FlowNodeStripCard.vue.d.ts +19 -0
- package/dist/components/Chat/FlowNodeStripCard/doc.d.ts +3 -0
- package/dist/components/Chat/FlowNodeStripCard/index.d.ts +2 -0
- package/dist/components/Chat/FlowNodeStripCard/types.d.ts +5 -0
- package/dist/components/Chat/QuestionnaireCard/QuestionnaireCard.vue.d.ts +26 -0
- package/dist/components/Chat/QuestionnaireCard/doc.d.ts +3 -0
- package/dist/components/Chat/QuestionnaireCard/index.d.ts +2 -0
- package/dist/components/Chat/QuestionnaireCard/types.d.ts +7 -0
- package/dist/components/Chat/TokenUsageCard/TokenUsageCard.vue.d.ts +10 -0
- package/dist/components/Chat/TokenUsageCard/doc.d.ts +3 -0
- package/dist/components/Chat/TokenUsageCard/index.d.ts +1 -0
- package/dist/docs/index.d.ts +4 -0
- package/dist/index.d.ts +7 -0
- package/package.json +1 -1
- package/src/docs/index.ts +12 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FieldListItem } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
title: string;
|
|
4
|
+
fields: FieldListItem[];
|
|
5
|
+
badgeLabel?: string;
|
|
6
|
+
primaryAction?: string;
|
|
7
|
+
secondaryAction?: string;
|
|
8
|
+
compact?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
"primary-action": () => any;
|
|
12
|
+
"secondary-action": () => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
"onPrimary-action"?: (() => any) | undefined;
|
|
15
|
+
"onSecondary-action"?: (() => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
compact: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FlowStripNode } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
title: string;
|
|
4
|
+
nodes: FlowStripNode[];
|
|
5
|
+
badgeLabel?: string;
|
|
6
|
+
primaryAction?: string;
|
|
7
|
+
secondaryAction?: string;
|
|
8
|
+
compact?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
"primary-action": () => any;
|
|
12
|
+
"secondary-action": () => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
"onPrimary-action"?: (() => any) | undefined;
|
|
15
|
+
"onSecondary-action"?: (() => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
compact: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { QuestionnaireQuestion } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
title: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
questions: QuestionnaireQuestion[];
|
|
6
|
+
answers?: Record<string, string>;
|
|
7
|
+
status?: 'waiting' | 'approved' | 'rejected' | string;
|
|
8
|
+
approveLabel?: string;
|
|
9
|
+
rejectLabel?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
approve: () => any;
|
|
14
|
+
reject: () => any;
|
|
15
|
+
answer: (questionId: string, value: string) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onApprove?: (() => any) | undefined;
|
|
18
|
+
onReject?: (() => any) | undefined;
|
|
19
|
+
onAnswer?: ((questionId: string, value: string) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
status: "waiting" | "approved" | "rejected" | string;
|
|
22
|
+
answers: Record<string, string>;
|
|
23
|
+
approveLabel: string;
|
|
24
|
+
rejectLabel: string;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
inputTokens: number;
|
|
3
|
+
outputTokens: number;
|
|
4
|
+
totalTokens?: number;
|
|
5
|
+
estimatedCost?: number | null;
|
|
6
|
+
model?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TokenUsageCard } from './TokenUsageCard.vue';
|
package/dist/docs/index.d.ts
CHANGED
|
@@ -28,6 +28,10 @@ export { EditableArtifactCardDoc } from '../components/Chat/EditableArtifactCard
|
|
|
28
28
|
export { MessageActionBarDoc } from '../components/Chat/MessageActionBar/doc';
|
|
29
29
|
export { CollapsibleStepCardDoc } from '../components/Chat/CollapsibleStepCard/doc';
|
|
30
30
|
export { AgentTransferCardDoc } from '../components/Chat/AgentTransferCard/doc';
|
|
31
|
+
export { FieldListCardDoc } from '../components/Chat/FieldListCard/doc';
|
|
32
|
+
export { FlowNodeStripCardDoc } from '../components/Chat/FlowNodeStripCard/doc';
|
|
33
|
+
export { TokenUsageCardDoc } from '../components/Chat/TokenUsageCard/doc';
|
|
34
|
+
export { QuestionnaireCardDoc } from '../components/Chat/QuestionnaireCard/doc';
|
|
31
35
|
export { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc';
|
|
32
36
|
export { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc';
|
|
33
37
|
export { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc';
|
package/dist/index.d.ts
CHANGED
|
@@ -91,6 +91,13 @@ export { MessageActionBar } from './components/Chat/MessageActionBar';
|
|
|
91
91
|
export { CollapsibleStepCard } from './components/Chat/CollapsibleStepCard';
|
|
92
92
|
export type { StepCardTone } from './components/Chat/CollapsibleStepCard';
|
|
93
93
|
export { AgentTransferCard } from './components/Chat/AgentTransferCard';
|
|
94
|
+
export { FieldListCard } from './components/Chat/FieldListCard';
|
|
95
|
+
export type { FieldListItem } from './components/Chat/FieldListCard';
|
|
96
|
+
export { FlowNodeStripCard } from './components/Chat/FlowNodeStripCard';
|
|
97
|
+
export type { FlowStripNode } from './components/Chat/FlowNodeStripCard';
|
|
98
|
+
export { TokenUsageCard } from './components/Chat/TokenUsageCard';
|
|
99
|
+
export { QuestionnaireCard } from './components/Chat/QuestionnaireCard';
|
|
100
|
+
export type { QuestionnaireQuestion } from './components/Chat/QuestionnaireCard';
|
|
94
101
|
export { AssistantPicker } from './components/Chat/AssistantPicker';
|
|
95
102
|
export type { AssistantPickerItem } from './components/Chat/AssistantPicker';
|
|
96
103
|
export { ModelPicker } from './components/Chat/ModelPicker';
|
package/package.json
CHANGED
package/src/docs/index.ts
CHANGED
|
@@ -28,6 +28,10 @@ export { EditableArtifactCardDoc } from '../components/Chat/EditableArtifactCard
|
|
|
28
28
|
export { MessageActionBarDoc } from '../components/Chat/MessageActionBar/doc'
|
|
29
29
|
export { CollapsibleStepCardDoc } from '../components/Chat/CollapsibleStepCard/doc'
|
|
30
30
|
export { AgentTransferCardDoc } from '../components/Chat/AgentTransferCard/doc'
|
|
31
|
+
export { FieldListCardDoc } from '../components/Chat/FieldListCard/doc'
|
|
32
|
+
export { FlowNodeStripCardDoc } from '../components/Chat/FlowNodeStripCard/doc'
|
|
33
|
+
export { TokenUsageCardDoc } from '../components/Chat/TokenUsageCard/doc'
|
|
34
|
+
export { QuestionnaireCardDoc } from '../components/Chat/QuestionnaireCard/doc'
|
|
31
35
|
export { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc'
|
|
32
36
|
export { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc'
|
|
33
37
|
export { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc'
|
|
@@ -101,6 +105,10 @@ import { EditableArtifactCardDoc } from '../components/Chat/EditableArtifactCard
|
|
|
101
105
|
import { MessageActionBarDoc } from '../components/Chat/MessageActionBar/doc'
|
|
102
106
|
import { CollapsibleStepCardDoc } from '../components/Chat/CollapsibleStepCard/doc'
|
|
103
107
|
import { AgentTransferCardDoc } from '../components/Chat/AgentTransferCard/doc'
|
|
108
|
+
import { FieldListCardDoc } from '../components/Chat/FieldListCard/doc'
|
|
109
|
+
import { FlowNodeStripCardDoc } from '../components/Chat/FlowNodeStripCard/doc'
|
|
110
|
+
import { TokenUsageCardDoc } from '../components/Chat/TokenUsageCard/doc'
|
|
111
|
+
import { QuestionnaireCardDoc } from '../components/Chat/QuestionnaireCard/doc'
|
|
104
112
|
import { AttachmentPreviewModalDoc } from '../components/Chat/message/AttachmentPreviewModal.doc'
|
|
105
113
|
import { DocumentSummaryListDoc } from '../components/Chat/message/DocumentSummaryList.doc'
|
|
106
114
|
import { MessageAttachmentListDoc } from '../components/Chat/message/MessageAttachmentList.doc'
|
|
@@ -175,6 +183,10 @@ export const componentDocs: Record<string, ComponentDoc> = {
|
|
|
175
183
|
MessageActionBar: MessageActionBarDoc,
|
|
176
184
|
CollapsibleStepCard: CollapsibleStepCardDoc,
|
|
177
185
|
AgentTransferCard: AgentTransferCardDoc,
|
|
186
|
+
FieldListCard: FieldListCardDoc,
|
|
187
|
+
FlowNodeStripCard: FlowNodeStripCardDoc,
|
|
188
|
+
TokenUsageCard: TokenUsageCardDoc,
|
|
189
|
+
QuestionnaireCard: QuestionnaireCardDoc,
|
|
178
190
|
AttachmentPreviewModal: AttachmentPreviewModalDoc,
|
|
179
191
|
DocumentSummaryList: DocumentSummaryListDoc,
|
|
180
192
|
MessageAttachmentList: MessageAttachmentListDoc,
|