@altimateai/ui-components 0.0.1-beta.2 → 0.0.1-beta.3
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/CoachForm.js +7392 -7561
- package/dist/assets/icons/index.d.ts +10 -0
- package/dist/assets/icons/index.js +44 -39
- package/dist/chatbotV2/index.d.ts +66 -1
- package/dist/chatbotV2/index.js +16 -3
- package/dist/flowchart-elk-definition-170a3958.js +1 -1
- package/dist/index.js +16 -16
- package/dist/index2.js +197 -192
- package/dist/is_dark.js +1 -1
- package/dist/main.js +1 -1
- package/dist/mindmap-definition-44684416.js +1 -1
- package/dist/timeline-definition-8e5a9bc6.js +1 -1
- package/package.json +55 -55
- package/readme.md +11 -0
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { FC, SVGProps } from 'react';
|
|
2
2
|
declare const AddIcon: FC<SVGProps<SVGSVGElement>>;
|
|
3
|
+
declare const ArrowLeftIcon: FC<SVGProps<SVGSVGElement>>;
|
|
4
|
+
declare const ArrowRightIcon: FC<SVGProps<SVGSVGElement>>;
|
|
3
5
|
declare const AskIcon: FC<SVGProps<SVGSVGElement>>;
|
|
4
6
|
declare const BoltIcon: FC<SVGProps<SVGSVGElement>>;
|
|
5
7
|
declare const BracketsIcon: FC<SVGProps<SVGSVGElement>>;
|
|
@@ -17,10 +19,13 @@ declare const CommentAddIcon: FC<SVGProps<SVGSVGElement>>;
|
|
|
17
19
|
declare const CommentDiscussionIcon: FC<SVGProps<SVGSVGElement>>;
|
|
18
20
|
declare const CommentUnresolvedIcon: FC<SVGProps<SVGSVGElement>>;
|
|
19
21
|
declare const CopyIcon: FC<SVGProps<SVGSVGElement>>;
|
|
22
|
+
declare const DatabaseIcon: FC<SVGProps<SVGSVGElement>>;
|
|
20
23
|
declare const DeleteIcon: FC<SVGProps<SVGSVGElement>>;
|
|
24
|
+
declare const DownloadIcon: FC<SVGProps<SVGSVGElement>>;
|
|
21
25
|
declare const EditIcon: FC<SVGProps<SVGSVGElement>>;
|
|
22
26
|
declare const FileUploadIcon: FC<SVGProps<SVGSVGElement>>;
|
|
23
27
|
declare const FilesIcon: FC<SVGProps<SVGSVGElement>>;
|
|
28
|
+
declare const GitMergeIcon: FC<SVGProps<SVGSVGElement>>;
|
|
24
29
|
declare const GithubIcon: FC<SVGProps<SVGSVGElement>>;
|
|
25
30
|
declare const GlobeIcon: FC<SVGProps<SVGSVGElement>>;
|
|
26
31
|
declare const GripVerticalIcon: FC<SVGProps<SVGSVGElement>>;
|
|
@@ -43,6 +48,8 @@ declare const UserIcon: FC<SVGProps<SVGSVGElement>>;
|
|
|
43
48
|
|
|
44
49
|
export {
|
|
45
50
|
AddIcon,
|
|
51
|
+
ArrowLeftIcon,
|
|
52
|
+
ArrowRightIcon,
|
|
46
53
|
AskIcon,
|
|
47
54
|
BoltIcon,
|
|
48
55
|
BracketsIcon,
|
|
@@ -60,10 +67,13 @@ export {
|
|
|
60
67
|
CommentDiscussionIcon,
|
|
61
68
|
CommentUnresolvedIcon,
|
|
62
69
|
CopyIcon,
|
|
70
|
+
DatabaseIcon,
|
|
63
71
|
DeleteIcon,
|
|
72
|
+
DownloadIcon,
|
|
64
73
|
EditIcon,
|
|
65
74
|
FileUploadIcon,
|
|
66
75
|
FilesIcon,
|
|
76
|
+
GitMergeIcon,
|
|
67
77
|
GithubIcon,
|
|
68
78
|
GlobeIcon,
|
|
69
79
|
GripVerticalIcon,
|
|
@@ -1,44 +1,49 @@
|
|
|
1
|
-
import { A as s,
|
|
1
|
+
import { A as s, J as a, z as c, l as e, n as I, B as r, p as t, d as i, C as l, a as C, g as h, f as d, b as m, S as f, c as p, m as v, P as b, Q as D, k as g, w as k, F as u, D as w, v as A, E as R, y as S, O as U, G, N as L, L as T, h as B, H as F, I as H, T as M, M as x, e as y, r as z, K as E, R as N, i as O, q as P, s as q, o as J, x as K, u as Q, t as V, U as j } from "../../index2.js";
|
|
2
2
|
export {
|
|
3
3
|
s as AddIcon,
|
|
4
|
-
a as
|
|
5
|
-
c as
|
|
6
|
-
e as
|
|
7
|
-
I as
|
|
4
|
+
a as ArrowLeftIcon,
|
|
5
|
+
c as ArrowRightIcon,
|
|
6
|
+
e as AskIcon,
|
|
7
|
+
I as BoltIcon,
|
|
8
|
+
r as BracketsIcon,
|
|
9
|
+
t as CaseSensitiveIcon,
|
|
8
10
|
i as CheckNoOutlineIcon,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
l as CheckedIcon,
|
|
12
|
+
C as ChevronDownIcon,
|
|
13
|
+
h as ChevronLeftIcon,
|
|
14
|
+
d as ChevronRightIcon,
|
|
15
|
+
m as ChevronUpIcon,
|
|
16
|
+
f as CircleIcon,
|
|
17
|
+
p as CloseIcon,
|
|
18
|
+
v as CodeIcon,
|
|
19
|
+
b as CommentAddIcon,
|
|
20
|
+
D as CommentDiscussionIcon,
|
|
21
|
+
g as CommentUnresolvedIcon,
|
|
20
22
|
k as CopyIcon,
|
|
21
|
-
u as
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
23
|
+
u as DatabaseIcon,
|
|
24
|
+
w as DeleteIcon,
|
|
25
|
+
A as DownloadIcon,
|
|
26
|
+
R as EditIcon,
|
|
27
|
+
S as FileUploadIcon,
|
|
28
|
+
U as FilesIcon,
|
|
29
|
+
G as GitMergeIcon,
|
|
30
|
+
L as GithubIcon,
|
|
31
|
+
T as GlobeIcon,
|
|
32
|
+
B as GripVerticalIcon,
|
|
33
|
+
F as HalfCircleIcon,
|
|
34
|
+
H as InfoCircleIcon,
|
|
35
|
+
M as LoaderIcon,
|
|
36
|
+
x as MoreIcon,
|
|
37
|
+
y as PanelLeftIcon,
|
|
38
|
+
z as RefreshIcon,
|
|
39
|
+
E as RemoveIcon,
|
|
40
|
+
N as RobotIcon,
|
|
41
|
+
O as SearchIcon,
|
|
42
|
+
P as SettingsIcon,
|
|
43
|
+
q as ShareIcon,
|
|
44
|
+
J as SplitHorizontalIcon,
|
|
45
|
+
K as ThinkingIcon,
|
|
46
|
+
Q as ThumbsDownIcon,
|
|
47
|
+
V as ThumbsUpIcon,
|
|
48
|
+
j as UserIcon
|
|
44
49
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React__default, { FC } from 'react';
|
|
2
2
|
import { T as TaskLabels } from '../types-PVxbm0tZ.js';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
4
|
import '@reduxjs/toolkit';
|
|
4
5
|
import 'zod';
|
|
5
6
|
|
|
@@ -108,4 +109,68 @@ declare const ChatProvider: React__default.FC<{
|
|
|
108
109
|
initialValidation?: ChatState["initialValidation"];
|
|
109
110
|
}>;
|
|
110
111
|
|
|
111
|
-
|
|
112
|
+
interface ArtifactsProps {
|
|
113
|
+
artifacts: Artifact[];
|
|
114
|
+
}
|
|
115
|
+
declare const Artifacts: FC<ArtifactsProps>;
|
|
116
|
+
|
|
117
|
+
declare const CancelGenerationButton: React__default.FC;
|
|
118
|
+
|
|
119
|
+
declare const CoachAI: () => react_jsx_runtime.JSX.Element | null;
|
|
120
|
+
|
|
121
|
+
interface ContextPanelProps {
|
|
122
|
+
fileUploadProps?: {
|
|
123
|
+
allowedFiles: string;
|
|
124
|
+
contextFieldKey: string;
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
declare const ContextPanel: React.FC<ContextPanelProps>;
|
|
128
|
+
|
|
129
|
+
interface FeedbackButtonsProps {
|
|
130
|
+
messageId: string;
|
|
131
|
+
}
|
|
132
|
+
declare const FeedbackButtons: FC<FeedbackButtonsProps>;
|
|
133
|
+
|
|
134
|
+
interface InteractionPromptProps {
|
|
135
|
+
interaction: InteractionRequest;
|
|
136
|
+
}
|
|
137
|
+
declare const InteractionPrompt: React__default.FC<InteractionPromptProps>;
|
|
138
|
+
|
|
139
|
+
declare const LoadingIndicator: FC;
|
|
140
|
+
|
|
141
|
+
interface MessageItemProps {
|
|
142
|
+
message: ChatMessage;
|
|
143
|
+
isLastMessage?: boolean;
|
|
144
|
+
}
|
|
145
|
+
declare const MessageItem: FC<MessageItemProps>;
|
|
146
|
+
|
|
147
|
+
interface MessageListProps {
|
|
148
|
+
messages: ChatMessage[];
|
|
149
|
+
}
|
|
150
|
+
declare const MessageList: FC<MessageListProps>;
|
|
151
|
+
|
|
152
|
+
interface MessageMenuProps {
|
|
153
|
+
messageId: string;
|
|
154
|
+
content: string;
|
|
155
|
+
}
|
|
156
|
+
declare const MessageMenu: FC<MessageMenuProps>;
|
|
157
|
+
|
|
158
|
+
interface QuestionFormProps {
|
|
159
|
+
onSubmit: (message: string) => Promise<void>;
|
|
160
|
+
isLoading: boolean;
|
|
161
|
+
}
|
|
162
|
+
declare const QuestionForm: React.FC<QuestionFormProps>;
|
|
163
|
+
|
|
164
|
+
interface RegenerateButtonProps {
|
|
165
|
+
messageId: string;
|
|
166
|
+
}
|
|
167
|
+
declare const RegenerateButton: FC<RegenerateButtonProps>;
|
|
168
|
+
|
|
169
|
+
interface StatusUpdatesProps {
|
|
170
|
+
actions: AgentAction[];
|
|
171
|
+
isComplete?: boolean;
|
|
172
|
+
heading: string;
|
|
173
|
+
}
|
|
174
|
+
declare const StatusUpdates: FC<StatusUpdatesProps>;
|
|
175
|
+
|
|
176
|
+
export { type AgentAction, type Artifact, Artifacts, type AssistantMeta, CancelGenerationButton, type ChatMessage, ChatProvider, type ChatResponse, type ChatSession, type ChatState, type ChatbotProps, Chatbot as ChatbotV2, CoachAI, ContextPanel, type Feedback, FeedbackButtons, type InteractionChoice, InteractionPrompt, type InteractionRequest, type InteractionType, LoadingIndicator, LoadingState, MessageItem, MessageList, MessageMenu, QuestionForm, RegenerateButton, StatusUpdates };
|
package/dist/chatbotV2/index.js
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
|
-
import { a as o, C as r, L as e } from "../CoachForm.js";
|
|
1
|
+
import { A as t, b as e, a as o, C as n, c as r, d as i, F as c, I as d, L as g, g as u, M as C, e as I, f as M, Q as m, R as L, S as b } from "../CoachForm.js";
|
|
2
2
|
export {
|
|
3
|
+
t as Artifacts,
|
|
4
|
+
e as CancelGenerationButton,
|
|
3
5
|
o as ChatProvider,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
+
n as ChatbotV2,
|
|
7
|
+
r as CoachAI,
|
|
8
|
+
i as ContextPanel,
|
|
9
|
+
c as FeedbackButtons,
|
|
10
|
+
d as InteractionPrompt,
|
|
11
|
+
g as LoadingIndicator,
|
|
12
|
+
u as LoadingState,
|
|
13
|
+
C as MessageItem,
|
|
14
|
+
I as MessageList,
|
|
15
|
+
M as MessageMenu,
|
|
16
|
+
m as QuestionForm,
|
|
17
|
+
L as RegenerateButton,
|
|
18
|
+
b as StatusUpdates
|
|
6
19
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as DH, q as wMe, r as gMe, l as K1, j as J1n, t as pMe, s as vMe, u as Y1n, v as mMe, w as kMe, x as Uee, y as yMe, z as Q1n, B as $H, D as jMe, E as EMe } from "./CoachForm.js";
|
|
2
2
|
import { s as bI } from "./redux-toolkit.modern.js";
|
|
3
3
|
import { c as Hee, g as CMe } from "./Stack.js";
|
|
4
4
|
var Wee = { exports: {} };
|
package/dist/index.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { j as s, i as r, h as t, C as n, D as i, L as m, T as c, m as p, l as C, k as T } from "./main.js";
|
|
2
2
|
import "reactstrap";
|
|
3
3
|
import { A as v, C as h, I as u } from "./redux-toolkit.modern.js";
|
|
4
|
-
import { T as
|
|
5
|
-
import {
|
|
6
|
-
import { B as
|
|
4
|
+
import { T as f } from "./Stack.js";
|
|
5
|
+
import { Z as x, T as A, J as B, V as M, a0 as P, a1 as k, $ as j, _ as y, W as F, X as G, Y as L, O as S } from "./CoachForm.js";
|
|
6
|
+
import { B as D } from "./Badge.js";
|
|
7
7
|
export {
|
|
8
8
|
v as ApiHelper,
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
D as Badge,
|
|
10
|
+
x as CoachForm,
|
|
11
11
|
s as CoachFormButton,
|
|
12
12
|
h as CodeBlock,
|
|
13
|
-
|
|
13
|
+
A as ContentCategory,
|
|
14
14
|
r as ConversationGroupProvider,
|
|
15
15
|
t as ConversationInputForm,
|
|
16
16
|
n as ConversationSources,
|
|
17
17
|
i as DbtDocs,
|
|
18
18
|
u as IconButton,
|
|
19
19
|
m as Learnings,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
B as LoadingButton,
|
|
21
|
+
M as PersonalizationScope,
|
|
22
|
+
P as ProjectGovernorAllowedFiles,
|
|
23
23
|
k as ProjectGovernorCheckSchema,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
j as ProjectGovernorCheckTypes,
|
|
25
|
+
y as TaskLabels,
|
|
26
|
+
F as TeamMateActionType,
|
|
27
|
+
G as TeamMateAvailability,
|
|
28
28
|
c as TeamMateProvider,
|
|
29
29
|
p as TeamMates,
|
|
30
|
-
|
|
30
|
+
L as TeamMatesConfig,
|
|
31
31
|
C as TeammateActions,
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
f as Tooltip,
|
|
33
|
+
S as learningSchema,
|
|
34
34
|
T as useTeamMateContext
|
|
35
35
|
};
|