@altimateai/ui-components 0.0.52-beta.1 → 0.0.53-beta.1
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.css +1 -1
- package/dist/CoachForm.js +7981 -8144
- package/dist/Stack.js +27 -27
- package/dist/TagsInput.js +2448 -2407
- package/dist/chatbotV2/index.d.ts +3 -14
- package/dist/chatbotV2/index.js +40 -43
- package/dist/flowchart-elk-definition-170a3958.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +15 -15
- package/dist/is_dark.js +4 -4
- package/dist/lineage/index.js +273 -273
- package/dist/main.js +75 -75
- package/dist/mindmap-definition-44684416.js +1 -1
- package/dist/redux-toolkit.modern.js +1 -1
- package/dist/shadcn/index.d.ts +2 -1
- package/dist/shadcn/index.js +989 -1011
- package/dist/storybook/Combobox.stories.tsx +73 -0
- package/dist/timeline-definition-8e5a9bc6.js +20 -20
- package/dist/{types-Dqrpza7-.d.ts → types-oWZJEjV7.d.ts} +1 -24
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { FC } from 'react';
|
|
2
|
-
import { j as ChatbotProps, k as ChatbotProviderProps, m as ChatState, A as Artifact, n as ContextOption, I as InteractionRequest, o as ChatMessage, p as AgentAction, q as ChatResponse, F as Feedback, r as LoadingState, s as ChatSession, i as Citation, t as TodoItem, M as MessageAttachment,
|
|
3
|
-
export { v as AssistantMeta, x as ChatbotUrls,
|
|
2
|
+
import { j as ChatbotProps, k as ChatbotProviderProps, m as ChatState, A as Artifact, n as ContextOption, I as InteractionRequest, o as ChatMessage, p as AgentAction, q as ChatResponse, F as Feedback, r as LoadingState, s as ChatSession, i as Citation, t as TodoItem, M as MessageAttachment, u as AgentStreamResponse } from '../types-oWZJEjV7.js';
|
|
3
|
+
export { v as AssistantMeta, x as ChatbotUrls, D as Datamate, w as FileUploadProps, J as FinalResponseData, B as InteractionChoice, z as InteractionType, y as Mode, H as ProgressUpdate, G as ToolUsageData, U as UploadedFile, K as agentStreamResponseSchema, E as todoItemSchema } from '../types-oWZJEjV7.js';
|
|
4
4
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
5
5
|
import { UnknownAction } from '@reduxjs/toolkit';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -135,15 +135,6 @@ interface UpdateDatamateInSessionPayload {
|
|
|
135
135
|
sessionId: string;
|
|
136
136
|
datamates: string[];
|
|
137
137
|
}
|
|
138
|
-
interface UpdateEntitiesPayload {
|
|
139
|
-
sessionId: string;
|
|
140
|
-
entities: DetectedEntity[];
|
|
141
|
-
}
|
|
142
|
-
interface UpdateEntityTypePayload {
|
|
143
|
-
sessionId: string;
|
|
144
|
-
entityName: string;
|
|
145
|
-
newType: EntityType;
|
|
146
|
-
}
|
|
147
138
|
declare const initialState: ChatState;
|
|
148
139
|
declare const createSession: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
149
140
|
context?: Record<string, unknown>;
|
|
@@ -186,8 +177,6 @@ declare const clearContext: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
|
186
177
|
}, "chat/clearContext">;
|
|
187
178
|
declare const updateMode: _reduxjs_toolkit.ActionCreatorWithPayload<UpdateModePayload, "chat/updateMode">;
|
|
188
179
|
declare const updateDatamateInSession: _reduxjs_toolkit.ActionCreatorWithPayload<UpdateDatamateInSessionPayload, "chat/updateDatamateInSession">;
|
|
189
|
-
declare const updateEntities: _reduxjs_toolkit.ActionCreatorWithPayload<UpdateEntitiesPayload, "chat/updateEntities">;
|
|
190
|
-
declare const updateEntityType: _reduxjs_toolkit.ActionCreatorWithPayload<UpdateEntityTypePayload, "chat/updateEntityType">;
|
|
191
180
|
declare const setSessions: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, ChatSession>, "chat/setSessions">;
|
|
192
181
|
declare const resetSession: _reduxjs_toolkit.ActionCreatorWithoutPayload<"chat/resetSession">;
|
|
193
182
|
|
|
@@ -288,4 +277,4 @@ declare const Citations: ({ citations, frontEndUrl, }: {
|
|
|
288
277
|
frontEndUrl: string;
|
|
289
278
|
}) => JSX.Element | null;
|
|
290
279
|
|
|
291
|
-
export { AgentAction, AgentStreamResponse, Artifact, Artifacts, CancelGenerationButton, ChatMessage, ChatProvider, ChatResponse, ChatSession, ChatState, ChatTriggerLink, ChatbotProps, ChatbotProviderProps, Chatbot as ChatbotV2, Citations, CoachAI, ContextOption, ContextPanel,
|
|
280
|
+
export { AgentAction, AgentStreamResponse, Artifact, Artifacts, CancelGenerationButton, ChatMessage, ChatProvider, ChatResponse, ChatSession, ChatState, ChatTriggerLink, ChatbotProps, ChatbotProviderProps, Chatbot as ChatbotV2, Citations, CoachAI, ContextOption, ContextPanel, Feedback, FeedbackButtons, InteractionPrompt, InteractionRequest, LoadingIndicator, LoadingState, MessageAttachment, MessageItem, MessageList, MessageMenu, QuestionForm, RegenerateButton, StatusUpdates, TodoItem, addAction, addMessage, clearActions, clearContext, clearHistory, clearTodos, createSession, deleteMessage, initialState, processAgentMessageContent, processAgentStream, processExistingConversation, processPlaygroundSessionTurns, resetSession, sendMessageAndProcessStream, setAbortController, setCurrentSession, setError, setLoadingState, setSelectedModel, setSessions, setTodos, streamResponseToAgentMessages, updateContext, updateDatamateInSession, updateMessageFeedback, updateMode, useAgentChat, useChatContext };
|
package/dist/chatbotV2/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as a, b as t, a as o, g as n, C as r, m as i, c as d, d as c,
|
|
1
|
+
import { A as a, b as t, a as o, g as n, C as r, m as i, c as d, d as c, F as g, I as C, L as S, n as u, M as l, e as p, f as m, Q as M, R as A, S as h, H as x, x as I, o as L, J as P, P as T, z as b, N as k, r as B, B as F, q as R, k as f, p as v, j as y, l as E, W as D, s as G, G as H, w as Q, E as U, D as V, v as j, V as q, K as w, i as z, t as J, O as K, U as N, y as O, T as W, h as X, u as Y } from "../CoachForm.js";
|
|
2
2
|
export {
|
|
3
3
|
a as Artifacts,
|
|
4
4
|
t as CancelGenerationButton,
|
|
@@ -8,48 +8,45 @@ export {
|
|
|
8
8
|
i as Citations,
|
|
9
9
|
d as CoachAI,
|
|
10
10
|
c as ContextPanel,
|
|
11
|
-
g as
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
S as LoadingState,
|
|
11
|
+
g as FeedbackButtons,
|
|
12
|
+
C as InteractionPrompt,
|
|
13
|
+
S as LoadingIndicator,
|
|
14
|
+
u as LoadingState,
|
|
16
15
|
l as MessageItem,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
p as MessageList,
|
|
17
|
+
m as MessageMenu,
|
|
18
|
+
M as QuestionForm,
|
|
19
|
+
A as RegenerateButton,
|
|
20
|
+
h as StatusUpdates,
|
|
22
21
|
x as addAction,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
_ as useAgentChat,
|
|
54
|
-
$ as useChatContext
|
|
22
|
+
I as addMessage,
|
|
23
|
+
L as agentStreamResponseSchema,
|
|
24
|
+
P as clearActions,
|
|
25
|
+
T as clearContext,
|
|
26
|
+
b as clearHistory,
|
|
27
|
+
k as clearTodos,
|
|
28
|
+
B as createSession,
|
|
29
|
+
F as deleteMessage,
|
|
30
|
+
R as initialState,
|
|
31
|
+
f as processAgentMessageContent,
|
|
32
|
+
v as processAgentStream,
|
|
33
|
+
y as processExistingConversation,
|
|
34
|
+
E as processPlaygroundSessionTurns,
|
|
35
|
+
D as resetSession,
|
|
36
|
+
G as sendMessageAndProcessStream,
|
|
37
|
+
H as setAbortController,
|
|
38
|
+
Q as setCurrentSession,
|
|
39
|
+
U as setError,
|
|
40
|
+
V as setLoadingState,
|
|
41
|
+
j as setSelectedModel,
|
|
42
|
+
q as setSessions,
|
|
43
|
+
w as setTodos,
|
|
44
|
+
z as streamResponseToAgentMessages,
|
|
45
|
+
J as todoItemSchema,
|
|
46
|
+
K as updateContext,
|
|
47
|
+
N as updateDatamateInSession,
|
|
48
|
+
O as updateMessageFeedback,
|
|
49
|
+
W as updateMode,
|
|
50
|
+
X as useAgentChat,
|
|
51
|
+
Y as useChatContext
|
|
55
52
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a4 as DH, a5 as wMe, a6 as gMe, $ as K1, _ as J1n, a7 as pMe, a0 as vMe, a8 as Y1n, a9 as mMe, aa as kMe, ab as Uee, ac as yMe, ad as Q1n, ae as $H, af as jMe, ag as EMe } from "./CoachForm.js";
|
|
2
2
|
import { c as Hee, g as CMe, s as bI } from "./redux-toolkit.modern.js";
|
|
3
3
|
var Wee = { exports: {} };
|
|
4
4
|
(function(Ae, It) {
|
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { HTMLAttributes, ButtonHTMLAttributes, ReactNode, FC, MouseEvent } from
|
|
|
3
3
|
import { B as ButtonProps } from './Button-CVsSwe4f.js';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import { PlotParams } from 'react-plotly.js';
|
|
6
|
-
import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-
|
|
7
|
-
export { i as Citation, f as CoachAiConfirmationResponse, C as CoachAiResponse, g as ContentCategory, L as Learning, P as PersonalizationScope, h as TeamMateComponentProps, l as learningSchema } from './types-
|
|
6
|
+
import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-oWZJEjV7.js';
|
|
7
|
+
export { i as Citation, f as CoachAiConfirmationResponse, C as CoachAiResponse, g as ContentCategory, L as Learning, P as PersonalizationScope, h as TeamMateComponentProps, l as learningSchema } from './types-oWZJEjV7.js';
|
|
8
8
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
9
9
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
10
10
|
import * as immer from 'immer';
|
package/dist/index.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { j as e, i as s, h as r, C as t, D as n, L as i, T as m, m as c, l
|
|
1
|
+
import { j as e, i as s, h as r, C as t, D as n, L as i, T as m, m as c, l, k as p } from "./main.js";
|
|
2
2
|
import { C as T, T as v } from "./Table.js";
|
|
3
|
-
import {
|
|
3
|
+
import { ax as u, am as M, ak as P, aw as d, av as f, an as h, au as x, al as A, aA as g, aB as y, az as S, at as B, ay as b, aq as j, ar as D, as as F, ap as G } from "./CoachForm.js";
|
|
4
4
|
import { A as w, C as I, I as z } from "./redux-toolkit.modern.js";
|
|
5
|
-
import {
|
|
5
|
+
import { a4 as H } from "./Stack.js";
|
|
6
6
|
export {
|
|
7
7
|
w as ApiHelper,
|
|
8
|
-
|
|
8
|
+
u as CoachForm,
|
|
9
9
|
e as CoachFormButton,
|
|
10
10
|
I as CodeBlock,
|
|
11
11
|
T as Collapse,
|
|
12
|
-
|
|
12
|
+
M as ContentCategory,
|
|
13
13
|
s as ConversationGroupProvider,
|
|
14
14
|
r as ConversationInputForm,
|
|
15
15
|
t as ConversationSources,
|
|
16
16
|
n as DbtDocs,
|
|
17
17
|
z as IconButton,
|
|
18
18
|
i as Learnings,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
P as LoadingButton,
|
|
20
|
+
d as Markdown,
|
|
21
|
+
f as MermaidDiagram,
|
|
22
|
+
h as PersonalizationScope,
|
|
23
23
|
x as Plotly,
|
|
24
24
|
A as Popconfirm,
|
|
25
25
|
g as ProjectGovernorAllowedFiles,
|
|
26
26
|
y as ProjectGovernorCheckSchema,
|
|
27
27
|
S as ProjectGovernorCheckTypes,
|
|
28
28
|
B as Spinner,
|
|
29
|
-
|
|
29
|
+
H as Stack,
|
|
30
30
|
v as Table,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
b as TaskLabels,
|
|
32
|
+
j as TeamMateActionType,
|
|
33
|
+
D as TeamMateAvailability,
|
|
34
34
|
m as TeamMateProvider,
|
|
35
35
|
c as TeamMates,
|
|
36
36
|
F as TeamMatesConfig,
|
|
37
|
-
|
|
37
|
+
l as TeammateActions,
|
|
38
38
|
G as learningSchema,
|
|
39
|
-
|
|
39
|
+
p as useTeamMateContext
|
|
40
40
|
};
|
package/dist/is_dark.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
3
|
-
const { r: a, g: t, b: o } =
|
|
1
|
+
import { ah as i, ai as r } from "./CoachForm.js";
|
|
2
|
+
const s = (n) => {
|
|
3
|
+
const { r: a, g: t, b: o } = i.parse(n), e = 0.2126 * r.channel.toLinear(a) + 0.7152 * r.channel.toLinear(t) + 0.0722 * r.channel.toLinear(o);
|
|
4
4
|
return r.lang.round(e);
|
|
5
|
-
}, c = (n) =>
|
|
5
|
+
}, c = (n) => s(n) >= 0.5, u = (n) => !c(n);
|
|
6
6
|
export {
|
|
7
7
|
u as i
|
|
8
8
|
};
|