@aheart-ui/ai 1.0.0 → 1.2.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 +10 -1
- package/es/actions/index.d.ts +2 -0
- package/es/actions/index.js +5 -0
- package/es/actions/style.css +36 -0
- package/es/actions.vue.d.ts +4 -4
- package/es/agent/index.d.ts +5 -0
- package/es/agent/index.js +12 -0
- package/es/agent/style.css +3241 -0
- package/es/agent-execution.vue.d.ts +4 -4
- package/es/agent-execution.vue.js +2 -2
- package/es/agent-workbench/index.d.ts +2 -0
- package/es/agent-workbench/index.js +5 -0
- package/es/agent-workbench/style.css +2423 -0
- package/es/agent-workbench.vue.d.ts +4 -4
- package/es/agent-workbench.vue.js +10 -7
- package/es/attachments/index.d.ts +2 -0
- package/es/attachments/index.js +5 -0
- package/es/attachments/style.css +62 -0
- package/es/attachments.vue.d.ts +4 -4
- package/es/bubble/index.d.ts +2 -0
- package/es/bubble/index.js +5 -0
- package/es/bubble/style.css +241 -0
- package/es/bubble.vue.d.ts +3 -3
- package/es/chat/index.d.ts +11 -0
- package/es/chat/index.js +23 -0
- package/es/chat/style.css +595 -0
- package/es/chat-panel/index.d.ts +3 -0
- package/es/chat-panel/index.js +8 -0
- package/es/chat-panel/style.css +591 -0
- package/es/chat-panel.vue.d.ts +4 -4
- package/es/conversations/index.d.ts +2 -0
- package/es/conversations/index.js +5 -0
- package/es/conversations/style.css +48 -0
- package/es/conversations.vue.d.ts +4 -4
- package/es/form/index.d.ts +3 -0
- package/es/form/index.js +9 -0
- package/es/form/style.css +3175 -0
- package/es/form-field.vue.d.ts +4 -4
- package/es/form-field.vue.js +53 -43
- package/es/form.vue.d.ts +4 -4
- package/es/form.vue.js +7 -6
- package/es/process/index.d.ts +2 -0
- package/es/process/index.js +5 -0
- package/es/process/style.css +77 -0
- package/es/process.vue.d.ts +3 -3
- package/es/prompts/index.d.ts +2 -0
- package/es/prompts/index.js +5 -0
- package/es/prompts/style.css +76 -0
- package/es/prompts.vue.d.ts +4 -4
- package/es/sender/index.d.ts +2 -0
- package/es/sender/index.js +5 -0
- package/es/sender/style.css +88 -0
- package/es/sender.vue.d.ts +4 -4
- package/es/sources/index.d.ts +2 -0
- package/es/sources/index.js +5 -0
- package/es/sources/style.css +54 -0
- package/es/sources.vue.d.ts +3 -3
- package/es/thought-chain/index.d.ts +2 -0
- package/es/thought-chain/index.js +5 -0
- package/es/thought-chain/style.css +77 -0
- package/es/thought-chain.vue.d.ts +3 -3
- package/es/welcome/index.d.ts +2 -0
- package/es/welcome/index.js +5 -0
- package/es/welcome/style.css +33 -0
- package/es/welcome.vue.d.ts +3 -3
- package/lib/actions/index.d.ts +2 -0
- package/lib/actions/index.js +1 -0
- package/lib/actions/style.css +36 -0
- package/lib/actions.vue.d.ts +4 -4
- package/lib/agent/index.d.ts +5 -0
- package/lib/agent/index.js +1 -0
- package/lib/agent/style.css +3241 -0
- package/lib/agent-execution.vue.d.ts +4 -4
- package/lib/agent-execution.vue.js +1 -1
- package/lib/agent-workbench/index.d.ts +2 -0
- package/lib/agent-workbench/index.js +1 -0
- package/lib/agent-workbench/style.css +2423 -0
- package/lib/agent-workbench.vue.d.ts +4 -4
- package/lib/agent-workbench.vue.js +1 -1
- package/lib/attachments/index.d.ts +2 -0
- package/lib/attachments/index.js +1 -0
- package/lib/attachments/style.css +62 -0
- package/lib/attachments.vue.d.ts +4 -4
- package/lib/bubble/index.d.ts +2 -0
- package/lib/bubble/index.js +1 -0
- package/lib/bubble/style.css +241 -0
- package/lib/bubble.vue.d.ts +3 -3
- package/lib/chat/index.d.ts +11 -0
- package/lib/chat/index.js +1 -0
- package/lib/chat/style.css +595 -0
- package/lib/chat-panel/index.d.ts +3 -0
- package/lib/chat-panel/index.js +1 -0
- package/lib/chat-panel/style.css +591 -0
- package/lib/chat-panel.vue.d.ts +4 -4
- package/lib/conversations/index.d.ts +2 -0
- package/lib/conversations/index.js +1 -0
- package/lib/conversations/style.css +48 -0
- package/lib/conversations.vue.d.ts +4 -4
- package/lib/form/index.d.ts +3 -0
- package/lib/form/index.js +1 -0
- package/lib/form/style.css +3175 -0
- package/lib/form-field.vue.d.ts +4 -4
- package/lib/form-field.vue.js +1 -1
- package/lib/form.vue.d.ts +4 -4
- package/lib/form.vue.js +1 -1
- package/lib/process/index.d.ts +2 -0
- package/lib/process/index.js +1 -0
- package/lib/process/style.css +77 -0
- package/lib/process.vue.d.ts +3 -3
- package/lib/prompts/index.d.ts +2 -0
- package/lib/prompts/index.js +1 -0
- package/lib/prompts/style.css +76 -0
- package/lib/prompts.vue.d.ts +4 -4
- package/lib/sender/index.d.ts +2 -0
- package/lib/sender/index.js +1 -0
- package/lib/sender/style.css +88 -0
- package/lib/sender.vue.d.ts +4 -4
- package/lib/sources/index.d.ts +2 -0
- package/lib/sources/index.js +1 -0
- package/lib/sources/style.css +54 -0
- package/lib/sources.vue.d.ts +3 -3
- package/lib/thought-chain/index.d.ts +2 -0
- package/lib/thought-chain/index.js +1 -0
- package/lib/thought-chain/style.css +77 -0
- package/lib/thought-chain.vue.d.ts +3 -3
- package/lib/welcome/index.d.ts +2 -0
- package/lib/welcome/index.js +1 -0
- package/lib/welcome/style.css +33 -0
- package/lib/welcome.vue.d.ts +3 -3
- package/package.json +106 -4
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--aheart-ai-cyan: #0e7490;
|
|
3
|
+
--aheart-ai-cyan-strong: #0e7490;
|
|
4
|
+
--aheart-ai-brand-strong: #0958d9;
|
|
5
|
+
--aheart-ai-cyan-soft: #ecfeff;
|
|
6
|
+
--aheart-ai-line: #e4e7ec;
|
|
7
|
+
--aheart-ai-surface: #ffffff;
|
|
8
|
+
--aheart-ai-surface-subtle: #f8fafc;
|
|
9
|
+
--aheart-ai-text: #182230;
|
|
10
|
+
--aheart-ai-text-secondary: #667085;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.aheart-ai-process h3 {
|
|
14
|
+
margin: 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.aheart-ai-process small {
|
|
18
|
+
display: block;
|
|
19
|
+
color: var(--aheart-ai-text-secondary);
|
|
20
|
+
font-size: 12px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.aheart-ai-process {
|
|
24
|
+
display: grid;
|
|
25
|
+
gap: 8px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.aheart-ai-process ol {
|
|
29
|
+
margin: 0;
|
|
30
|
+
padding: 0;
|
|
31
|
+
list-style: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.aheart-ai-process h3 {
|
|
35
|
+
font-size: 12px;
|
|
36
|
+
color: var(--aheart-ai-text-secondary);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.aheart-ai-process ol {
|
|
40
|
+
display: grid;
|
|
41
|
+
gap: 6px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.aheart-ai-process li {
|
|
45
|
+
position: relative;
|
|
46
|
+
display: grid;
|
|
47
|
+
gap: 2px;
|
|
48
|
+
padding-inline-start: 16px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.aheart-ai-process li::before {
|
|
52
|
+
content: "";
|
|
53
|
+
position: absolute;
|
|
54
|
+
inset-block-start: 7px;
|
|
55
|
+
inset-inline-start: 2px;
|
|
56
|
+
inline-size: 6px;
|
|
57
|
+
block-size: 6px;
|
|
58
|
+
border-radius: 50%;
|
|
59
|
+
background: #98a2b3;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.aheart-ai-process li.is-running::before {
|
|
63
|
+
background: var(--aheart-ai-cyan);
|
|
64
|
+
box-shadow: 0 0 0 3px #cffafe;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.aheart-ai-process li.is-complete::before {
|
|
68
|
+
background: #12b76a;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.aheart-ai-process li.is-stopped::before {
|
|
72
|
+
background: #98a2b3;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.aheart-ai-process li.is-error {
|
|
76
|
+
color: var(--aheart-color-danger, #d92d20);
|
|
77
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { AIProcessItem } from './types';
|
|
2
|
-
declare const _default: import("
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
items?: AIProcessItem[] | undefined;
|
|
4
4
|
}>, {
|
|
5
5
|
items: () => never[];
|
|
6
|
-
}>>, {}, {}, {}, {}, import("
|
|
6
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
7
|
items?: AIProcessItem[] | undefined;
|
|
8
8
|
}>, {
|
|
9
9
|
items: () => never[];
|
|
10
10
|
}>>> & Readonly<{}>, {
|
|
11
11
|
items: AIProcessItem[];
|
|
12
|
-
}, {}, {}, {}, string, import("
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
13
|
export default _default;
|
|
14
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
15
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../welcome.vue.js");exports.AIWelcome=e.default;exports.default=e.default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--aheart-ai-cyan: #0e7490;
|
|
3
|
+
--aheart-ai-cyan-strong: #0e7490;
|
|
4
|
+
--aheart-ai-brand-strong: #0958d9;
|
|
5
|
+
--aheart-ai-cyan-soft: #ecfeff;
|
|
6
|
+
--aheart-ai-line: #e4e7ec;
|
|
7
|
+
--aheart-ai-surface: #ffffff;
|
|
8
|
+
--aheart-ai-surface-subtle: #f8fafc;
|
|
9
|
+
--aheart-ai-text: #182230;
|
|
10
|
+
--aheart-ai-text-secondary: #667085;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.aheart-ai-welcome {
|
|
14
|
+
display: grid;
|
|
15
|
+
gap: 6px;
|
|
16
|
+
max-inline-size: 620px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.aheart-ai-welcome__title,
|
|
20
|
+
.aheart-ai-welcome__description {
|
|
21
|
+
margin: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.aheart-ai-welcome__title {
|
|
25
|
+
color: var(--aheart-ai-text);
|
|
26
|
+
font-size: 24px;
|
|
27
|
+
line-height: 1.35;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.aheart-ai-welcome__description {
|
|
31
|
+
color: var(--aheart-ai-text-secondary);
|
|
32
|
+
line-height: 1.65;
|
|
33
|
+
}
|
package/lib/welcome.vue.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
title?: string | undefined;
|
|
3
3
|
description?: string | undefined;
|
|
4
4
|
}>, {
|
|
5
5
|
title: string;
|
|
6
6
|
description: undefined;
|
|
7
|
-
}>>, {}, {}, {}, {}, import("
|
|
7
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
8
|
title?: string | undefined;
|
|
9
9
|
description?: string | undefined;
|
|
10
10
|
}>, {
|
|
@@ -13,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import("@vue/runtime-core").Defi
|
|
|
13
13
|
}>>> & Readonly<{}>, {
|
|
14
14
|
title: string;
|
|
15
15
|
description: string;
|
|
16
|
-
}, {}, {}, {}, string, import("
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
17
17
|
default?(_: {}): any;
|
|
18
18
|
}>;
|
|
19
19
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aheart-ui/ai",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Vue 3 AI interface components for Aheart UI.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -17,7 +17,109 @@
|
|
|
17
17
|
"./style.css": "./es/style.css",
|
|
18
18
|
"./es/*": "./es/*",
|
|
19
19
|
"./lib/*": "./lib/*",
|
|
20
|
-
"./package.json": "./package.json"
|
|
20
|
+
"./package.json": "./package.json",
|
|
21
|
+
"./actions": {
|
|
22
|
+
"types": "./es/actions/index.d.ts",
|
|
23
|
+
"import": "./es/actions/index.js",
|
|
24
|
+
"require": "./lib/actions/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./actions/style.css": "./es/actions/style.css",
|
|
27
|
+
"./attachments": {
|
|
28
|
+
"types": "./es/attachments/index.d.ts",
|
|
29
|
+
"import": "./es/attachments/index.js",
|
|
30
|
+
"require": "./lib/attachments/index.js"
|
|
31
|
+
},
|
|
32
|
+
"./attachments/style.css": "./es/attachments/style.css",
|
|
33
|
+
"./bubble": {
|
|
34
|
+
"types": "./es/bubble/index.d.ts",
|
|
35
|
+
"import": "./es/bubble/index.js",
|
|
36
|
+
"require": "./lib/bubble/index.js"
|
|
37
|
+
},
|
|
38
|
+
"./bubble/style.css": "./es/bubble/style.css",
|
|
39
|
+
"./conversations": {
|
|
40
|
+
"types": "./es/conversations/index.d.ts",
|
|
41
|
+
"import": "./es/conversations/index.js",
|
|
42
|
+
"require": "./lib/conversations/index.js"
|
|
43
|
+
},
|
|
44
|
+
"./conversations/style.css": "./es/conversations/style.css",
|
|
45
|
+
"./form": {
|
|
46
|
+
"types": "./es/form/index.d.ts",
|
|
47
|
+
"import": "./es/form/index.js",
|
|
48
|
+
"require": "./lib/form/index.js"
|
|
49
|
+
},
|
|
50
|
+
"./form/style.css": "./es/form/style.css",
|
|
51
|
+
"./process": {
|
|
52
|
+
"types": "./es/process/index.d.ts",
|
|
53
|
+
"import": "./es/process/index.js",
|
|
54
|
+
"require": "./lib/process/index.js"
|
|
55
|
+
},
|
|
56
|
+
"./process/style.css": "./es/process/style.css",
|
|
57
|
+
"./prompts": {
|
|
58
|
+
"types": "./es/prompts/index.d.ts",
|
|
59
|
+
"import": "./es/prompts/index.js",
|
|
60
|
+
"require": "./lib/prompts/index.js"
|
|
61
|
+
},
|
|
62
|
+
"./prompts/style.css": "./es/prompts/style.css",
|
|
63
|
+
"./sender": {
|
|
64
|
+
"types": "./es/sender/index.d.ts",
|
|
65
|
+
"import": "./es/sender/index.js",
|
|
66
|
+
"require": "./lib/sender/index.js"
|
|
67
|
+
},
|
|
68
|
+
"./sender/style.css": "./es/sender/style.css",
|
|
69
|
+
"./sources": {
|
|
70
|
+
"types": "./es/sources/index.d.ts",
|
|
71
|
+
"import": "./es/sources/index.js",
|
|
72
|
+
"require": "./lib/sources/index.js"
|
|
73
|
+
},
|
|
74
|
+
"./sources/style.css": "./es/sources/style.css",
|
|
75
|
+
"./thought-chain": {
|
|
76
|
+
"types": "./es/thought-chain/index.d.ts",
|
|
77
|
+
"import": "./es/thought-chain/index.js",
|
|
78
|
+
"require": "./lib/thought-chain/index.js"
|
|
79
|
+
},
|
|
80
|
+
"./thought-chain/style.css": "./es/thought-chain/style.css",
|
|
81
|
+
"./welcome": {
|
|
82
|
+
"types": "./es/welcome/index.d.ts",
|
|
83
|
+
"import": "./es/welcome/index.js",
|
|
84
|
+
"require": "./lib/welcome/index.js"
|
|
85
|
+
},
|
|
86
|
+
"./welcome/style.css": "./es/welcome/style.css",
|
|
87
|
+
"./chat-panel": {
|
|
88
|
+
"types": "./es/chat-panel/index.d.ts",
|
|
89
|
+
"import": "./es/chat-panel/index.js",
|
|
90
|
+
"require": "./lib/chat-panel/index.js"
|
|
91
|
+
},
|
|
92
|
+
"./chat-panel/style.css": "./es/chat-panel/style.css",
|
|
93
|
+
"./agent-workbench": {
|
|
94
|
+
"types": "./es/agent-workbench/index.d.ts",
|
|
95
|
+
"import": "./es/agent-workbench/index.js",
|
|
96
|
+
"require": "./lib/agent-workbench/index.js"
|
|
97
|
+
},
|
|
98
|
+
"./agent-workbench/style.css": "./es/agent-workbench/style.css",
|
|
99
|
+
"./chat": {
|
|
100
|
+
"types": "./es/chat/index.d.ts",
|
|
101
|
+
"import": "./es/chat/index.js",
|
|
102
|
+
"require": "./lib/chat/index.js"
|
|
103
|
+
},
|
|
104
|
+
"./chat/style.css": "./es/chat/style.css",
|
|
105
|
+
"./agent": {
|
|
106
|
+
"types": "./es/agent/index.d.ts",
|
|
107
|
+
"import": "./es/agent/index.js",
|
|
108
|
+
"require": "./lib/agent/index.js"
|
|
109
|
+
},
|
|
110
|
+
"./agent/style.css": "./es/agent/style.css",
|
|
111
|
+
"./workbench": {
|
|
112
|
+
"types": "./es/agent-workbench/index.d.ts",
|
|
113
|
+
"import": "./es/agent-workbench/index.js",
|
|
114
|
+
"require": "./lib/agent-workbench/index.js"
|
|
115
|
+
},
|
|
116
|
+
"./workbench/style.css": "./es/agent-workbench/style.css",
|
|
117
|
+
"./full": {
|
|
118
|
+
"types": "./es/index.d.ts",
|
|
119
|
+
"import": "./es/index.js",
|
|
120
|
+
"require": "./lib/index.js"
|
|
121
|
+
},
|
|
122
|
+
"./full.css": "./es/style.css"
|
|
21
123
|
},
|
|
22
124
|
"files": [
|
|
23
125
|
"es",
|
|
@@ -47,11 +149,11 @@
|
|
|
47
149
|
"registry": "https://registry.npmjs.org/"
|
|
48
150
|
},
|
|
49
151
|
"peerDependencies": {
|
|
50
|
-
"aheart-ui": "^1.
|
|
152
|
+
"aheart-ui": "^1.4.0",
|
|
51
153
|
"vue": ">=3.5.0 <4"
|
|
52
154
|
},
|
|
53
155
|
"dependencies": {
|
|
54
|
-
"@aheart-ui/dnd": "^1.
|
|
156
|
+
"@aheart-ui/dnd": "^1.1.0"
|
|
55
157
|
},
|
|
56
158
|
"devDependencies": {
|
|
57
159
|
"@vitejs/plugin-vue": "^5.0.3",
|