@altimateai/ui-components 0.0.10-beta.3 → 0.0.10-beta.6
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 +7463 -7437
- package/dist/NativeSelect.js +33 -3
- package/dist/chatbotV2/index.d.ts +3 -3
- package/dist/chatbotV2/index.js +15 -14
- package/dist/flowchart-elk-definition-170a3958.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +17 -17
- package/dist/is_dark.js +1 -1
- package/dist/lineage/index.d.ts +12 -1
- package/dist/lineage/index.js +33 -25
- package/dist/main.js +1 -1
- package/dist/mindmap-definition-44684416.js +1 -1
- package/dist/shadcn/index.d.ts +10 -1
- package/dist/shadcn/index.js +1 -1
- package/dist/timeline-definition-8e5a9bc6.js +1 -1
- package/dist/{types-MLsaGOQh.d.ts → types-DGhFybfM.d.ts} +14 -1
- package/package.json +1 -1
package/dist/NativeSelect.js
CHANGED
|
@@ -2002,15 +2002,45 @@ const Ci = Bt(
|
|
|
2002
2002
|
secondary: "al-border-transparent al-bg-secondary al-text-secondary-foreground hover:al-bg-secondary/80",
|
|
2003
2003
|
destructive: "al-border-transparent al-bg-destructive al-text-destructive-foreground hover:al-bg-destructive/80",
|
|
2004
2004
|
outline: "al-text-foreground"
|
|
2005
|
+
},
|
|
2006
|
+
interactive: {
|
|
2007
|
+
true: "al-cursor-pointer focus:al-ring-2 focus:al-ring-ring focus:al-ring-offset-2",
|
|
2008
|
+
false: "al-cursor-default"
|
|
2005
2009
|
}
|
|
2006
2010
|
},
|
|
2007
2011
|
defaultVariants: {
|
|
2008
|
-
variant: "default"
|
|
2012
|
+
variant: "default",
|
|
2013
|
+
interactive: !1
|
|
2009
2014
|
}
|
|
2010
2015
|
}
|
|
2011
2016
|
);
|
|
2012
|
-
function ud({
|
|
2013
|
-
|
|
2017
|
+
function ud({
|
|
2018
|
+
className: e,
|
|
2019
|
+
variant: o,
|
|
2020
|
+
interactive: t = !0,
|
|
2021
|
+
onAction: n,
|
|
2022
|
+
children: a,
|
|
2023
|
+
role: l = "status",
|
|
2024
|
+
tabIndex: i,
|
|
2025
|
+
onKeyDown: c,
|
|
2026
|
+
...d
|
|
2027
|
+
}) {
|
|
2028
|
+
const u = (f) => {
|
|
2029
|
+
t && n && (f.key === "Enter" || f.key === " ") && (f.preventDefault(), n()), c == null || c(f);
|
|
2030
|
+
};
|
|
2031
|
+
return /* @__PURE__ */ r.jsx(
|
|
2032
|
+
"div",
|
|
2033
|
+
{
|
|
2034
|
+
className: I(Ci({ variant: o, interactive: t }), e),
|
|
2035
|
+
role: t ? "button" : l,
|
|
2036
|
+
tabIndex: t ? 0 : i,
|
|
2037
|
+
onKeyDown: u,
|
|
2038
|
+
onClick: t ? n : void 0,
|
|
2039
|
+
"aria-disabled": t && !n,
|
|
2040
|
+
...d,
|
|
2041
|
+
children: a
|
|
2042
|
+
}
|
|
2043
|
+
);
|
|
2014
2044
|
}
|
|
2015
2045
|
var lo = "Collapsible", [_i, ua] = ue(lo), [Ni, io] = _i(lo), pa = s.forwardRef(
|
|
2016
2046
|
(e, o) => {
|
|
@@ -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, i as Citation } from '../types-
|
|
3
|
-
export { y as AgentStreamResponse, s as AssistantMeta, t as ChatSession, v as ChatbotUrls, F as Feedback, u as FileUploadProps, x as InteractionChoice, w as InteractionType, r as LoadingState } from '../types-
|
|
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, i as Citation } from '../types-DGhFybfM.js';
|
|
3
|
+
export { y as AgentStreamResponse, z as AgentTypes, s as AssistantMeta, t as ChatSession, v as ChatbotUrls, F as Feedback, u as FileUploadProps, x as InteractionChoice, w as InteractionType, r as LoadingState } from '../types-DGhFybfM.js';
|
|
4
4
|
import { UnknownAction } from '@reduxjs/toolkit';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import 'zod';
|
|
@@ -95,7 +95,7 @@ declare const useAgentChat: () => {
|
|
|
95
95
|
|
|
96
96
|
declare const Citations: ({ citations, frontEndUrl, }: {
|
|
97
97
|
citations?: Citation[];
|
|
98
|
-
frontEndUrl
|
|
98
|
+
frontEndUrl: string;
|
|
99
99
|
}) => JSX.Element | null;
|
|
100
100
|
|
|
101
101
|
export { AgentAction, Artifact, Artifacts, CancelGenerationButton, ChatMessage, ChatProvider, ChatResponse, ChatState, ChatTriggerLink, ChatbotProps, ChatbotProviderProps, Chatbot as ChatbotV2, Citations, CoachAI, ContextOption, ContextPanel, FeedbackButtons, InteractionPrompt, InteractionRequest, LoadingIndicator, MessageItem, MessageList, MessageMenu, QuestionForm, RegenerateButton, StatusUpdates, useAgentChat, useChatContext };
|
package/dist/chatbotV2/index.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { k as t, A as e, b as n, a as o, g as i, C as r, i as g, c as C, d as u, F as c, I as d, L as h, j as A, M as I, e as L, f as M, Q as m, R as p, S as b, h as f, u as k } from "../CoachForm.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
e as
|
|
5
|
-
n as
|
|
6
|
-
o as
|
|
7
|
-
i as
|
|
8
|
-
r as
|
|
3
|
+
t as AgentTypes,
|
|
4
|
+
e as Artifacts,
|
|
5
|
+
n as CancelGenerationButton,
|
|
6
|
+
o as ChatProvider,
|
|
7
|
+
i as ChatTriggerLink,
|
|
8
|
+
r as ChatbotV2,
|
|
9
|
+
g as Citations,
|
|
9
10
|
C as CoachAI,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
u as ContextPanel,
|
|
12
|
+
c as FeedbackButtons,
|
|
13
|
+
d as InteractionPrompt,
|
|
14
|
+
h as LoadingIndicator,
|
|
15
|
+
A as LoadingState,
|
|
15
16
|
I as MessageItem,
|
|
16
17
|
L as MessageList,
|
|
17
18
|
M as MessageMenu,
|
|
18
19
|
m as QuestionForm,
|
|
19
|
-
|
|
20
|
+
p as RegenerateButton,
|
|
20
21
|
b as StatusUpdates,
|
|
21
22
|
f as useAgentChat,
|
|
22
|
-
|
|
23
|
+
k as useChatContext
|
|
23
24
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { v as DH, w as wMe, x as gMe, o as K1, n as J1n, y as pMe, s as vMe, z as Y1n, B as mMe, D as kMe, E as Uee, G as yMe, H as Q1n, J as $H, K as jMe, N 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.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
div[data-radix-popper-content-wrapper]{z-index:
|
|
1
|
+
div[data-radix-popper-content-wrapper]{z-index:1000!important}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import * as React$1 from 'react';
|
|
|
4
4
|
import { ButtonHTMLAttributes, ReactNode, HTMLAttributes, FC, MouseEvent } from 'react';
|
|
5
5
|
import { B as ButtonProps } from './Button-Dln4BC6y.js';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
|
-
import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-
|
|
8
|
-
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-
|
|
7
|
+
import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-DGhFybfM.js';
|
|
8
|
+
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-DGhFybfM.js';
|
|
9
9
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
10
10
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
11
11
|
import * as immer from 'immer';
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { j as e, i as r, h as s, C as t, D as n, L as i, T as m, m as d, l as p, k as C } from "./main.js";
|
|
2
|
-
import { Alert as l, Card as v, CardBody as T, CardFooter as u, CardImg as f, CardSubtitle as
|
|
3
|
-
import { A as
|
|
4
|
-
import {
|
|
2
|
+
import { Alert as l, Card as v, CardBody as T, CardFooter as u, CardImg as f, CardSubtitle as F, CardText as M, CardTitle as P, Col as k, Container as B, Fade as L, Form as g, FormFeedback as y, FormGroup as G, Input as I, InputGroup as S, Label as h, List as A, ListGroup as b, ListGroupItem as x, Modal as j, ModalBody as D, Nav as w, NavItem as H, NavLink as N, Offcanvas as O, OffcanvasBody as z, OffcanvasHeader as R, Popover as X, PopoverBody as Y, PopoverHeader as Z, Row as _, Spinner as $ } from "reactstrap";
|
|
3
|
+
import { A as E, C as J, I as K, S as Q, T as U } from "./redux-toolkit.modern.js";
|
|
4
|
+
import { $ as W, a5 as aa, Z as oa, T as ea, a4 as ra, a3 as sa, _ as ta, Y as na, a8 as ia, a9 as ma, a7 as da, a6 as pa, a0 as Ca, a1 as ca, a2 as la, X as va } from "./CoachForm.js";
|
|
5
5
|
export {
|
|
6
6
|
l as Alert,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
E as ApiHelper,
|
|
8
|
+
W as Badge,
|
|
9
9
|
v as Card,
|
|
10
10
|
T as CardBody,
|
|
11
11
|
u as CardFooter,
|
|
12
12
|
f as CardImg,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
F as CardSubtitle,
|
|
14
|
+
M as CardText,
|
|
15
|
+
P as CardTitle,
|
|
16
16
|
aa as CoachForm,
|
|
17
17
|
e as CoachFormButton,
|
|
18
|
-
|
|
18
|
+
J as CodeBlock,
|
|
19
19
|
k as Col,
|
|
20
20
|
B as Container,
|
|
21
21
|
oa as ContentCategory,
|
|
@@ -27,7 +27,7 @@ export {
|
|
|
27
27
|
g as Form,
|
|
28
28
|
y as FormFeedback,
|
|
29
29
|
G as FormGroup,
|
|
30
|
-
|
|
30
|
+
K as IconButton,
|
|
31
31
|
I as Input,
|
|
32
32
|
S as InputGroup,
|
|
33
33
|
h as Label,
|
|
@@ -48,15 +48,15 @@ export {
|
|
|
48
48
|
R as OffcanvasHeader,
|
|
49
49
|
ta as PersonalizationScope,
|
|
50
50
|
na as Popconfirm,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
X as Popover,
|
|
52
|
+
Y as PopoverBody,
|
|
53
|
+
Z as PopoverHeader,
|
|
54
54
|
ia as ProjectGovernorAllowedFiles,
|
|
55
55
|
ma as ProjectGovernorCheckSchema,
|
|
56
56
|
da as ProjectGovernorCheckTypes,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
_ as Row,
|
|
58
|
+
$ as Spinner,
|
|
59
|
+
Q as Stack,
|
|
60
60
|
pa as TaskLabels,
|
|
61
61
|
Ca as TeamMateActionType,
|
|
62
62
|
ca as TeamMateAvailability,
|
|
@@ -64,7 +64,7 @@ export {
|
|
|
64
64
|
d as TeamMates,
|
|
65
65
|
la as TeamMatesConfig,
|
|
66
66
|
p as TeammateActions,
|
|
67
|
-
|
|
67
|
+
U as Tooltip,
|
|
68
68
|
va as learningSchema,
|
|
69
69
|
C as useTeamMateContext
|
|
70
70
|
};
|
package/dist/is_dark.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { O as s, U as r } from "./CoachForm.js";
|
|
2
2
|
const i = (n) => {
|
|
3
3
|
const { r: t, g: a, b: o } = s.parse(n), e = 0.2126 * r.channel.toLinear(t) + 0.7152 * r.channel.toLinear(a) + 0.0722 * r.channel.toLinear(o);
|
|
4
4
|
return r.lang.round(e);
|
package/dist/lineage/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
2
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
4
|
|
|
4
5
|
declare const VIEWS_TYPE_COLOR: {
|
|
@@ -34,6 +35,11 @@ interface Table {
|
|
|
34
35
|
interface ColumnMeta {
|
|
35
36
|
[key: string]: string | number | boolean | null | undefined;
|
|
36
37
|
}
|
|
38
|
+
interface Tag {
|
|
39
|
+
name: string;
|
|
40
|
+
rk?: string;
|
|
41
|
+
description: string;
|
|
42
|
+
}
|
|
37
43
|
interface Column {
|
|
38
44
|
name: string;
|
|
39
45
|
table: string;
|
|
@@ -42,6 +48,7 @@ interface Column {
|
|
|
42
48
|
is_transformation?: boolean;
|
|
43
49
|
description: string;
|
|
44
50
|
meta?: Map<string, ColumnMeta>;
|
|
51
|
+
tags?: Tag[];
|
|
45
52
|
}
|
|
46
53
|
interface Columns {
|
|
47
54
|
id: string;
|
|
@@ -179,6 +186,10 @@ interface LineageProviderProps {
|
|
|
179
186
|
lineageType: LineageType;
|
|
180
187
|
allowSyncColumnsWithDB?: boolean;
|
|
181
188
|
externalSidePanel?: boolean;
|
|
189
|
+
renderTags?: (entity: {
|
|
190
|
+
column: Column;
|
|
191
|
+
table_rk: string;
|
|
192
|
+
}) => ReactNode;
|
|
182
193
|
}
|
|
183
194
|
interface LineageRef {
|
|
184
195
|
rerender: () => void;
|
|
@@ -210,4 +221,4 @@ declare const ViewsTypeBadge: ({ viewsType }: {
|
|
|
210
221
|
viewsType: string;
|
|
211
222
|
}) => react_jsx_runtime.JSX.Element;
|
|
212
223
|
|
|
213
|
-
export { CLL, CllEvents, type CollectColumn, type Column, type ColumnLineage, type ColumnMeta, type Columns, type Confidence, type Details, type ExportFinalLineageArgs, type ExposureMetaData, _default as Lineage, type LineageRef, type ModalArgs, NodeIcon, type OpNodeArgs, type SelectedColumn, type SnowflakeStageMetadata, type StaticLineage, type StaticLineageDetails, type Table, type TableMeta, type ViewsCodeModalArgs, ViewsTypeBadge };
|
|
224
|
+
export { CLL, CllEvents, type CollectColumn, type Column, type ColumnLineage, type ColumnMeta, type Columns, type Confidence, type Details, type ExportFinalLineageArgs, type ExposureMetaData, _default as Lineage, type LineageRef, type ModalArgs, NodeIcon, type OpNodeArgs, type SelectedColumn, type SnowflakeStageMetadata, type StaticLineage, type StaticLineageDetails, type Table, type TableMeta, type Tag, type ViewsCodeModalArgs, ViewsTypeBadge };
|
package/dist/lineage/index.js
CHANGED
|
@@ -492,6 +492,7 @@ const p5 = {
|
|
|
492
492
|
errors: {},
|
|
493
493
|
lightdashEnabled: !1,
|
|
494
494
|
showCodeModal: !1,
|
|
495
|
+
renderTags: void 0,
|
|
495
496
|
config: { exportFinalLineage: !1 }
|
|
496
497
|
}, yt = Zr({
|
|
497
498
|
name: "lineageState",
|
|
@@ -606,6 +607,9 @@ const p5 = {
|
|
|
606
607
|
setShowCodeModal: (e, t) => {
|
|
607
608
|
e.showCodeModal = t.payload;
|
|
608
609
|
},
|
|
610
|
+
setRenderTags: (e, t) => {
|
|
611
|
+
e.renderTags = t.payload;
|
|
612
|
+
},
|
|
609
613
|
setConfig: (e, t) => {
|
|
610
614
|
e.config = t.payload;
|
|
611
615
|
}
|
|
@@ -641,6 +645,7 @@ const p5 = {
|
|
|
641
645
|
setErrors: So,
|
|
642
646
|
setLightdashEnabled: L5,
|
|
643
647
|
setShowCodeModal: N5,
|
|
648
|
+
setRenderTags: P4,
|
|
644
649
|
setConfig: M5
|
|
645
650
|
} = yt.actions;
|
|
646
651
|
function Ee(e) {
|
|
@@ -5211,8 +5216,8 @@ const Ka = "_component_13r39_1", Ya = "_spin_13r39_1", Xa = {
|
|
|
5211
5216
|
/* @__PURE__ */ a.jsx("div", { className: Q(I.column_card), children: /* @__PURE__ */ a.jsx("div", { className: "font-normal fs-xxs", children: e }) })
|
|
5212
5217
|
] }) }) }), Ws = ({ column: e, handleClick: t, selected: n, isSelectable: o }) => {
|
|
5213
5218
|
const {
|
|
5214
|
-
state: { theme: s, config: r },
|
|
5215
|
-
dispatch:
|
|
5219
|
+
state: { theme: s, config: r, renderTags: i },
|
|
5220
|
+
dispatch: l
|
|
5216
5221
|
} = je(h1);
|
|
5217
5222
|
return /* @__PURE__ */ a.jsxs(
|
|
5218
5223
|
"div",
|
|
@@ -5233,8 +5238,8 @@ const Ka = "_component_13r39_1", Ya = "_spin_13r39_1", Xa = {
|
|
|
5233
5238
|
fo,
|
|
5234
5239
|
{
|
|
5235
5240
|
className: "al-w-8 al-h-8",
|
|
5236
|
-
onClick: async (
|
|
5237
|
-
|
|
5241
|
+
onClick: async (c) => {
|
|
5242
|
+
c.stopPropagation(), l(
|
|
5238
5243
|
c1({
|
|
5239
5244
|
type: "export_final_lineage",
|
|
5240
5245
|
args: { table: e.table, column: e.name }
|
|
@@ -5248,6 +5253,7 @@ const Ka = "_component_13r39_1", Ya = "_spin_13r39_1", Xa = {
|
|
|
5248
5253
|
e.datatype && /* @__PURE__ */ a.jsx(Ja, { label: e.datatype })
|
|
5249
5254
|
] }),
|
|
5250
5255
|
e.description && /* @__PURE__ */ a.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ a.jsx("div", { className: "font-normal fs-xxs text-grey", children: e.description }) }),
|
|
5256
|
+
i && i({ column: e, table_rk: e.table }),
|
|
5251
5257
|
e.code && /* @__PURE__ */ a.jsx(At, { code: e.code, language: "sql", editorTheme: "tomorrow", theme: s })
|
|
5252
5258
|
]
|
|
5253
5259
|
}
|
|
@@ -6721,54 +6727,56 @@ const cn = () => {
|
|
|
6721
6727
|
dynamicLineage: o,
|
|
6722
6728
|
staticLineage: s,
|
|
6723
6729
|
allowSyncColumnsWithDB: r,
|
|
6724
|
-
externalSidePanel: i = !1
|
|
6725
|
-
|
|
6726
|
-
|
|
6730
|
+
externalSidePanel: i = !1,
|
|
6731
|
+
renderTags: l
|
|
6732
|
+
}, c) => {
|
|
6733
|
+
const [h, f] = Dr(yt.reducer, {
|
|
6727
6734
|
...yt.getInitialState(),
|
|
6728
6735
|
theme: e,
|
|
6729
6736
|
lineageType: t,
|
|
6730
6737
|
sqlLineage: n,
|
|
6731
6738
|
allowSyncColumnsWithDB: r,
|
|
6732
|
-
externalSidePanel: i
|
|
6733
|
-
|
|
6739
|
+
externalSidePanel: i,
|
|
6740
|
+
renderTags: l
|
|
6741
|
+
}), u = X(), [m, C] = se(0), x = oe(() => C((_) => (_ + 1) % 100), []);
|
|
6734
6742
|
Y(() => {
|
|
6735
|
-
var
|
|
6736
|
-
(
|
|
6737
|
-
}, [
|
|
6738
|
-
rerender:
|
|
6743
|
+
var _;
|
|
6744
|
+
(_ = u.current) == null || _.fitView({});
|
|
6745
|
+
}, [m]), Ir(c, () => ({
|
|
6746
|
+
rerender: x
|
|
6739
6747
|
})), Y(() => {
|
|
6740
|
-
|
|
6748
|
+
f(y5(e));
|
|
6741
6749
|
}, [e]);
|
|
6742
|
-
const
|
|
6750
|
+
const E = ge(
|
|
6743
6751
|
() => ({
|
|
6744
|
-
state:
|
|
6745
|
-
dispatch:
|
|
6746
|
-
rerender:
|
|
6752
|
+
state: h,
|
|
6753
|
+
dispatch: f,
|
|
6754
|
+
rerender: x
|
|
6747
6755
|
}),
|
|
6748
|
-
[
|
|
6756
|
+
[h, f, x]
|
|
6749
6757
|
);
|
|
6750
|
-
return /* @__PURE__ */ a.jsx(h1.Provider, { value:
|
|
6758
|
+
return /* @__PURE__ */ a.jsx(h1.Provider, { value: E, children: /* @__PURE__ */ a.jsxs("div", { className: "lineage-component", children: [
|
|
6751
6759
|
t === "sql" && n && /* @__PURE__ */ a.jsx(
|
|
6752
6760
|
N4,
|
|
6753
6761
|
{
|
|
6754
|
-
flow:
|
|
6762
|
+
flow: u,
|
|
6755
6763
|
details: n.details,
|
|
6756
6764
|
tableEdges: n.tableEdges,
|
|
6757
6765
|
nodePositions: n.nodePositions
|
|
6758
6766
|
}
|
|
6759
6767
|
),
|
|
6760
|
-
t === "dynamic" && o && /* @__PURE__ */ a.jsx(v4, { flow:
|
|
6761
|
-
t === "static" && s && /* @__PURE__ */ a.jsx(b4, { flow:
|
|
6768
|
+
t === "dynamic" && o && /* @__PURE__ */ a.jsx(v4, { flow: u, theme: e }),
|
|
6769
|
+
t === "static" && s && /* @__PURE__ */ a.jsx(b4, { flow: u, ...s }),
|
|
6762
6770
|
/* @__PURE__ */ a.jsx("div", { id: "lineage-sidebar" })
|
|
6763
6771
|
] }) });
|
|
6764
|
-
},
|
|
6772
|
+
}, O4 = L2(M4), ue = () => je(h1), pe = () => {
|
|
6765
6773
|
const { dispatch: e } = je(h1);
|
|
6766
6774
|
return e;
|
|
6767
6775
|
};
|
|
6768
6776
|
export {
|
|
6769
6777
|
he as CLL,
|
|
6770
6778
|
Aa as CllEvents,
|
|
6771
|
-
|
|
6779
|
+
O4 as Lineage,
|
|
6772
6780
|
Q2 as NodeIcon,
|
|
6773
6781
|
Bt as ViewsTypeBadge
|
|
6774
6782
|
};
|
package/dist/main.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Card as vt, CardBody as an, CardTitle as un, FormGroup as Pt, Input as Ft, FormFeedback as Kn, Collapse as Gn, Alert as ln, Col as Zn, CardImg as Qn, CardSubtitle as Jn, CardText as er, Row as tr } from "reactstrap";
|
|
2
2
|
import { g as mt, a as cn, A as ve, C as nr, I as Ie, u as dn, S as se, T as rr, b as or } from "./redux-toolkit.modern.js";
|
|
3
|
-
import {
|
|
3
|
+
import { T as fn, V as lt, W as ir, X as sr, Y as ar, Z as ur, _ as lr, $ as cr, a0 as tt, a1 as dr, a2 as fr } from "./CoachForm.js";
|
|
4
4
|
import { j as v, A as pn, i as pr, k as gr, b as hr, C as vr, D as mr, E as Er, e as yr, d as br } from "./index2.js";
|
|
5
5
|
import * as te from "react";
|
|
6
6
|
import Z, { createContext as _e, useReducer as gn, useCallback as we, useMemo as fe, useContext as be, useLayoutEffect as Cr, useEffect as le, useRef as Se, useId as hn, useInsertionEffect as Sr, Children as De, isValidElement as _r, useState as re, lazy as Ar } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { P as Zy, n as Dn, o as fa, s as Qy, q as Jy, r as jy } from "./CoachForm.js";
|
|
2
2
|
import { c as za, g as Vu, s as Cn } from "./redux-toolkit.modern.js";
|
|
3
3
|
import { i as em } from "./is_dark.js";
|
|
4
4
|
var Uu = { exports: {} };
|
package/dist/shadcn/index.d.ts
CHANGED
|
@@ -224,10 +224,19 @@ declare const Tooltip: ({ children, title, ...props }: TooltipPrimitive.TooltipP
|
|
|
224
224
|
|
|
225
225
|
declare const badgeVariants: (props?: ({
|
|
226
226
|
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
227
|
+
interactive?: boolean | null | undefined;
|
|
227
228
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
228
229
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
230
|
+
/**
|
|
231
|
+
* If true, the badge will be focusable and handle keyboard events
|
|
232
|
+
*/
|
|
233
|
+
interactive?: boolean;
|
|
234
|
+
/**
|
|
235
|
+
* Optional click handler for interactive badges
|
|
236
|
+
*/
|
|
237
|
+
onAction?: () => void;
|
|
229
238
|
}
|
|
230
|
-
declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
239
|
+
declare function Badge({ className, variant, interactive, onAction, children, role, tabIndex, onKeyDown, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
231
240
|
|
|
232
241
|
declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
233
242
|
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
package/dist/shadcn/index.js
CHANGED
|
@@ -753,7 +753,7 @@ const Dl = jl, Mr = c.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */
|
|
|
753
753
|
{
|
|
754
754
|
ref: a,
|
|
755
755
|
className: w(
|
|
756
|
-
"al-fixed al-top-0 al-z-[
|
|
756
|
+
"al-fixed al-top-0 al-z-[1000] al-flex al-max-h-screen al-w-full al-flex-col-reverse al-p-4 sm:al-bottom-0 sm:al-right-0 sm:al-top-auto sm:al-flex-col md:al-max-w-[420px]",
|
|
757
757
|
e
|
|
758
758
|
),
|
|
759
759
|
role: "region",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as kt, p as vt, m as wt, n as rt, o as I, s as St, q as Et, r as Tt, t as et } from "./CoachForm.js";
|
|
2
2
|
import { s as q } from "./redux-toolkit.modern.js";
|
|
3
3
|
import { i as It } from "./is_dark.js";
|
|
4
4
|
var X = function() {
|
|
@@ -47,6 +47,7 @@ interface FileUploadProps {
|
|
|
47
47
|
interface ChatbotUrls {
|
|
48
48
|
origin?: string;
|
|
49
49
|
askPath?: string;
|
|
50
|
+
continuePath?: string;
|
|
50
51
|
proceedPath?: string;
|
|
51
52
|
frontendUrl?: string;
|
|
52
53
|
followupPath?: string;
|
|
@@ -76,6 +77,8 @@ interface ChatbotProviderProps extends ChatbotProps {
|
|
|
76
77
|
value: string;
|
|
77
78
|
}[];
|
|
78
79
|
placeholder?: string;
|
|
80
|
+
isV1Agent?: boolean;
|
|
81
|
+
agentType: AgentTypes;
|
|
79
82
|
}
|
|
80
83
|
type InteractionType = "text" | "select" | "multiSelect" | "confirm";
|
|
81
84
|
interface InteractionChoice {
|
|
@@ -128,6 +131,7 @@ interface ChatState {
|
|
|
128
131
|
abortController: AbortController | null;
|
|
129
132
|
currentActions: AgentAction[];
|
|
130
133
|
taskLabel?: keyof typeof TaskLabels;
|
|
134
|
+
agentType: AgentTypes;
|
|
131
135
|
initialValidation?: (data: {
|
|
132
136
|
context: ChatSession["context"];
|
|
133
137
|
}) => Promise<void>;
|
|
@@ -142,6 +146,7 @@ interface ChatState {
|
|
|
142
146
|
components?: {
|
|
143
147
|
feedback?: ReactNode;
|
|
144
148
|
};
|
|
149
|
+
isV1Agent?: boolean;
|
|
145
150
|
}
|
|
146
151
|
interface AgentStreamResponse {
|
|
147
152
|
id?: string;
|
|
@@ -162,6 +167,14 @@ interface AgentStreamResponse {
|
|
|
162
167
|
artifacts?: Artifact[];
|
|
163
168
|
citations?: Citation[];
|
|
164
169
|
}
|
|
170
|
+
declare enum AgentTypes {
|
|
171
|
+
UNKNOWN = "unknown",
|
|
172
|
+
ALERT_MIGRATION = "alert_migration",
|
|
173
|
+
TABLE_INSIGHTS = "table_optimizer",
|
|
174
|
+
QUERY_INSIGHTS = "query_optimizer",
|
|
175
|
+
SUMMARY_CHAT = "summary_chat",
|
|
176
|
+
TERADATA_MIGRATION = "teradata_migration"
|
|
177
|
+
}
|
|
165
178
|
|
|
166
179
|
interface TeamMateState {
|
|
167
180
|
showCoachingForm: boolean;
|
|
@@ -271,4 +284,4 @@ interface Citation {
|
|
|
271
284
|
taskLabel: TaskLabels;
|
|
272
285
|
}
|
|
273
286
|
|
|
274
|
-
export { type Artifact as A, type CoachAiResponse as C, type Feedback as F, type InteractionRequest as I, type Learning as L, PersonalizationScope as P, TaskLabels as T, type TeamMateContextProps as a, type TeamMateState as b, type TeamMateConfig as c, TeamMateActionType as d, TeamMateAvailability as e, type CoachAiConfirmationResponse as f, ContentCategory as g, type TeamMateComponentProps as h, type Citation as i, type ChatbotProps as j, type ChatbotProviderProps as k, learningSchema as l, type ChatState as m, type ContextOption as n, type ChatMessage as o, type AgentAction as p, type ChatResponse as q, LoadingState as r, type AssistantMeta as s, type ChatSession as t, type FileUploadProps as u, type ChatbotUrls as v, type InteractionType as w, type InteractionChoice as x, type AgentStreamResponse as y };
|
|
287
|
+
export { type Artifact as A, type CoachAiResponse as C, type Feedback as F, type InteractionRequest as I, type Learning as L, PersonalizationScope as P, TaskLabels as T, type TeamMateContextProps as a, type TeamMateState as b, type TeamMateConfig as c, TeamMateActionType as d, TeamMateAvailability as e, type CoachAiConfirmationResponse as f, ContentCategory as g, type TeamMateComponentProps as h, type Citation as i, type ChatbotProps as j, type ChatbotProviderProps as k, learningSchema as l, type ChatState as m, type ContextOption as n, type ChatMessage as o, type AgentAction as p, type ChatResponse as q, LoadingState as r, type AssistantMeta as s, type ChatSession as t, type FileUploadProps as u, type ChatbotUrls as v, type InteractionType as w, type InteractionChoice as x, type AgentStreamResponse as y, AgentTypes as z };
|