@altimateai/ui-components 0.0.1-beta.6 → 0.0.1-beta.8
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/Button-BKBSxoPA.d.ts +14 -0
- package/dist/CoachForm.css +1 -1
- package/dist/CoachForm.js +22686 -15999
- package/dist/NativeSelect.js +8994 -0
- package/dist/assets/icons/index.js +1 -1
- package/dist/chatbotV2/index.d.ts +8 -112
- package/dist/chatbotV2/index.js +11 -10
- package/dist/flowchart-elk-definition-170a3958.js +4 -5
- package/dist/index.css +1 -1
- package/dist/index.d.ts +76 -13
- package/dist/index.js +68 -31
- package/dist/index2.js +52 -52
- package/dist/is_dark.js +1 -1
- package/dist/lineage/index.js +21 -22
- package/dist/main.js +44 -47
- package/dist/mindmap-definition-44684416.js +4 -5
- package/dist/redux-toolkit.modern.js +995 -886
- package/dist/shadcn/index.d.ts +27 -22
- package/dist/shadcn/index.js +3073 -4254
- package/dist/storybook/Select.stories.tsx +23 -0
- package/dist/timeline-definition-8e5a9bc6.js +1 -1
- package/dist/types-6QSONCz1.d.ts +249 -0
- package/package.json +1 -1
- package/dist/Accordion.js +0 -7781
- package/dist/Badge.js +0 -7
- package/dist/Tooltip.js +0 -115
- package/dist/chatbot/index.d.ts +0 -43
- package/dist/chatbot/index.js +0 -186
- package/dist/index2.css +0 -1
- package/dist/types-FVWfXDNw.d.ts +0 -104
- package/dist/v4.css +0 -1
- package/dist/v4.js +0 -6839
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s,
|
|
1
|
+
import { A as s, F as a, x as c, k as e, m as I, B as r, o as t, c as i, P as l, g as C, d as h, b as d, h as m, S as f, C as p, l as v, N as b, O as D, i as g, u as k, y as u, D as w, t as A, E as R, w as S, L as U, z as G, K as L, J as T, e as B, H as F, I as H, U as M, M as x, a as y, R as z, G as E, Q as N, f as O, p as P, q, n as J, v as K, s as Q, r as V, T as j } from "../../index2.js";
|
|
2
2
|
export {
|
|
3
3
|
s as AddIcon,
|
|
4
4
|
a as ArrowLeftIcon,
|
|
@@ -1,121 +1,13 @@
|
|
|
1
1
|
import React__default, { FC } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { j as ChatbotProps, k as ChatbotProviderProps, A as Artifact, I as InteractionRequest, m as ChatMessage, n as AgentAction } from '../types-6QSONCz1.js';
|
|
3
|
+
export { x as AgentStreamResponse, p as AssistantMeta, v as ChatResponse, q as ChatSession, w as ChatState, s as ChatbotUrls, F as Feedback, r as FileUploadProps, u as InteractionChoice, t as InteractionType, o as LoadingState } from '../types-6QSONCz1.js';
|
|
3
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
5
|
import '@reduxjs/toolkit';
|
|
5
6
|
import 'zod';
|
|
6
7
|
|
|
7
|
-
interface AgentAction {
|
|
8
|
-
id?: string;
|
|
9
|
-
type: "info" | "analysis";
|
|
10
|
-
content: string;
|
|
11
|
-
timestamp: number;
|
|
12
|
-
artifacts?: Artifact[];
|
|
13
|
-
}
|
|
14
|
-
declare enum LoadingState {
|
|
15
|
-
LOADING = "LOADING",
|
|
16
|
-
LOADED = "LOADED",
|
|
17
|
-
ERROR = "ERROR",
|
|
18
|
-
UNINITIALIZED = "UNINITIALIZED"
|
|
19
|
-
}
|
|
20
|
-
interface AssistantMeta {
|
|
21
|
-
avatar: string;
|
|
22
|
-
name: string;
|
|
23
|
-
}
|
|
24
|
-
interface Feedback {
|
|
25
|
-
rating?: "up" | "down";
|
|
26
|
-
comment?: string;
|
|
27
|
-
}
|
|
28
|
-
interface ChatSession {
|
|
29
|
-
id: string;
|
|
30
|
-
messages: ChatMessage[];
|
|
31
|
-
context?: {
|
|
32
|
-
files?: File[];
|
|
33
|
-
selectedOptions?: string[];
|
|
34
|
-
[x: string]: unknown;
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
interface FileUploadProps {
|
|
38
|
-
allowedFiles: string;
|
|
39
|
-
contextFieldKey: string;
|
|
40
|
-
}
|
|
41
|
-
interface ChatbotUrls {
|
|
42
|
-
origin?: string;
|
|
43
|
-
askPath?: string;
|
|
44
|
-
proceedPath?: string;
|
|
45
|
-
}
|
|
46
|
-
interface ChatbotProps {
|
|
47
|
-
helloMessage?: React.ReactNode;
|
|
48
|
-
assistantMeta?: AssistantMeta;
|
|
49
|
-
context?: Record<string, unknown>;
|
|
50
|
-
fileUploadProps?: FileUploadProps;
|
|
51
|
-
}
|
|
52
|
-
type InteractionType = "text" | "select" | "multiSelect" | "confirm";
|
|
53
|
-
interface InteractionChoice {
|
|
54
|
-
id: string;
|
|
55
|
-
label: string;
|
|
56
|
-
value: string;
|
|
57
|
-
}
|
|
58
|
-
interface InteractionRequest {
|
|
59
|
-
type: InteractionType;
|
|
60
|
-
id: string;
|
|
61
|
-
prompt: string;
|
|
62
|
-
required?: boolean;
|
|
63
|
-
choices?: InteractionChoice[];
|
|
64
|
-
validation?: {
|
|
65
|
-
pattern?: string;
|
|
66
|
-
message?: string;
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
interface ChatMessage {
|
|
70
|
-
id: string;
|
|
71
|
-
content: string;
|
|
72
|
-
role: "user" | "assistant";
|
|
73
|
-
timestamp: number;
|
|
74
|
-
followUpQuestions?: string[];
|
|
75
|
-
actions?: AgentAction[];
|
|
76
|
-
interaction?: InteractionRequest;
|
|
77
|
-
artifacts?: Artifact[];
|
|
78
|
-
heading: string;
|
|
79
|
-
}
|
|
80
|
-
interface Artifact {
|
|
81
|
-
content: string;
|
|
82
|
-
entity: string;
|
|
83
|
-
name: string;
|
|
84
|
-
type: string;
|
|
85
|
-
}
|
|
86
|
-
interface ChatResponse {
|
|
87
|
-
content: string;
|
|
88
|
-
followUpQuestions?: string[];
|
|
89
|
-
actions?: AgentAction[];
|
|
90
|
-
interaction?: InteractionRequest;
|
|
91
|
-
role: "assistant" | "user";
|
|
92
|
-
timestamp: number;
|
|
93
|
-
artifacts?: Artifact[];
|
|
94
|
-
heading: string;
|
|
95
|
-
}
|
|
96
|
-
interface ChatState {
|
|
97
|
-
sessions: Record<string, ChatSession>;
|
|
98
|
-
currentSessionId: string | null;
|
|
99
|
-
loadingState: LoadingState;
|
|
100
|
-
error: string | null;
|
|
101
|
-
abortController: AbortController | null;
|
|
102
|
-
currentActions: AgentAction[];
|
|
103
|
-
taskLabel?: keyof typeof TaskLabels;
|
|
104
|
-
initialValidation?: (data: {
|
|
105
|
-
context: ChatSession["context"];
|
|
106
|
-
}) => Promise<void>;
|
|
107
|
-
urls?: ChatbotUrls;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
8
|
declare const Chatbot: FC<ChatbotProps>;
|
|
111
9
|
|
|
112
|
-
declare const ChatProvider: React__default.FC<
|
|
113
|
-
children: React__default.ReactNode;
|
|
114
|
-
taskLabel?: keyof typeof TaskLabels;
|
|
115
|
-
initialValidation?: ChatState["initialValidation"];
|
|
116
|
-
onError?: (error: unknown) => void;
|
|
117
|
-
urls?: ChatbotUrls;
|
|
118
|
-
}>;
|
|
10
|
+
declare const ChatProvider: React__default.FC<ChatbotProviderProps>;
|
|
119
11
|
|
|
120
12
|
interface ArtifactsProps {
|
|
121
13
|
artifacts: Artifact[];
|
|
@@ -181,4 +73,8 @@ interface StatusUpdatesProps {
|
|
|
181
73
|
}
|
|
182
74
|
declare const StatusUpdates: FC<StatusUpdatesProps>;
|
|
183
75
|
|
|
184
|
-
|
|
76
|
+
declare const ChatTriggerLink: ({ text }: {
|
|
77
|
+
text: string;
|
|
78
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
79
|
+
|
|
80
|
+
export { AgentAction, Artifact, Artifacts, CancelGenerationButton, ChatMessage, ChatProvider, ChatTriggerLink, ChatbotProps, ChatbotProviderProps, Chatbot as ChatbotV2, CoachAI, ContextPanel, FeedbackButtons, InteractionPrompt, InteractionRequest, LoadingIndicator, MessageItem, MessageList, MessageMenu, QuestionForm, RegenerateButton, StatusUpdates };
|
package/dist/chatbotV2/index.js
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { A as t, b as e, a as o, C as
|
|
1
|
+
import { A as t, b as e, a as n, g as o, C as r, c as i, d as g, F as c, I as d, L as C, h as u, M as h, e as I, f as L, Q as M, R as m, S as b } from "../CoachForm.js";
|
|
2
2
|
export {
|
|
3
3
|
t as Artifacts,
|
|
4
4
|
e as CancelGenerationButton,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
r as
|
|
8
|
-
i as
|
|
5
|
+
n as ChatProvider,
|
|
6
|
+
o as ChatTriggerLink,
|
|
7
|
+
r as ChatbotV2,
|
|
8
|
+
i as CoachAI,
|
|
9
|
+
g as ContextPanel,
|
|
9
10
|
c as FeedbackButtons,
|
|
10
11
|
d as InteractionPrompt,
|
|
11
|
-
|
|
12
|
+
C as LoadingIndicator,
|
|
12
13
|
u as LoadingState,
|
|
13
|
-
|
|
14
|
+
h as MessageItem,
|
|
14
15
|
I as MessageList,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
L as MessageMenu,
|
|
17
|
+
M as QuestionForm,
|
|
18
|
+
m as RegenerateButton,
|
|
18
19
|
b as StatusUpdates
|
|
19
20
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as bI } from "./redux-toolkit.modern.js";
|
|
3
|
-
import { c as Hee, g as CMe } from "./Tooltip.js";
|
|
1
|
+
import { q as DH, r as wMe, t as gMe, l as K1, k as J1n, u as pMe, s as vMe, v as Y1n, w as mMe, x as kMe, y as Uee, z as yMe, B as Q1n, D as $H, E as jMe, G as EMe } from "./CoachForm.js";
|
|
2
|
+
import { c as Hee, g as CMe, s as bI } from "./redux-toolkit.modern.js";
|
|
4
3
|
var Wee = { exports: {} };
|
|
5
4
|
(function(Ae, It) {
|
|
6
5
|
(function(ot) {
|
|
@@ -46383,12 +46382,12 @@ const PMe = function(Ae, It, ot, at, Ot, Ei, j) {
|
|
|
46383
46382
|
// // stroke:black;
|
|
46384
46383
|
// }
|
|
46385
46384
|
${RMe(Ae)}
|
|
46386
|
-
`, KMe = _Me,
|
|
46385
|
+
`, KMe = _Me, GMe = {
|
|
46387
46386
|
db: wMe,
|
|
46388
46387
|
renderer: BMe,
|
|
46389
46388
|
parser: gMe,
|
|
46390
46389
|
styles: KMe
|
|
46391
46390
|
};
|
|
46392
46391
|
export {
|
|
46393
|
-
|
|
46392
|
+
GMe as diagram
|
|
46394
46393
|
};
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._chatbot_1ti7a_1 ._chatTriggerLink_1ti7a_1{border:1px solid #e0e6ef;text-decoration:none;text-align:left}._chatbot_1ti7a_1 div[data-id=default] .ant-pro-chat-message-content,._chatbot_1ti7a_1 div[data-id=default] .ant-pro-chat-message-content>div{width:100%}._chatbot_1ti7a_1 div[data-id=default] .ant-pro-chat-list-item-message-content{margin-top:6px;padding:0}._chatbot_1ti7a_1 div[data-id=default] .ant-pro-chat-list-item-message-content .ant-default-message{background:#eef5ff;padding:1rem;line-height:1.5;border-radius:8px;margin-bottom:1rem}._chatbot_1ti7a_1 .ant-pro-chat-chat-list-container{overflow:hidden auto}._chatbot_1ti7a_1 .ant-pro-chat-list-item{content-visibility:visible}._chatbot_1ti7a_1 .ant-pro-chat-list-item-actions{position:absolute;bottom:-24px}._chatbot_1ti7a_1 .ant-pro-chat-list-item-left{display:block}._chatbot_1ti7a_1 .ant-pro-chat-list-item-title{left:52px;top:-16px}._chatbot_1ti7a_1 .ant-pro-chat-message-content,._chatbot_1ti7a_1 .js-plotly-plot,._chatbot_1ti7a_1 .ant-pro-chat-list-item-message-content{max-width:100%}._chatbot_1ti7a_1 .ant-pro-chat-message-content{flex-direction:column;position:static}._chatbot_1ti7a_1 .ant-pro-chat p{word-break:break-word;margin:0}._chatbot_1ti7a_1 ._statusUpdates_1ti7a_51{padding:.5rem;border:1px solid var(--primary, #247efe);border-radius:6px;margin-top:1rem}._chatbot_1ti7a_1 ._statusUpdates_1ti7a_51 .card-title{color:var(--primary, #247efe);display:flex;justify-content:space-between;align-items:center;cursor:pointer;line-height:1.5}._chatbot_1ti7a_1 ._statusUpdates_1ti7a_51 .card-title .codicon-pass-filled{color:var(--primary, #247efe)}._chatbot_1ti7a_1 ._statusUpdates_1ti7a_51 .card{background-color:#f2f4f7;border:none}._chatbot_1ti7a_1 ._statusUpdates_1ti7a_51 .card li{display:flex;gap:6px;align-items:center}._chatbot_1ti7a_1 ._statusUpdates_1ti7a_51 .card li code{white-space:normal;color:inherit}._chatbot_1ti7a_1 ._statusUpdates_1ti7a_51 .card li:not(:last-child){border-bottom:1px solid #e0e6ef;padding-bottom:.5rem;margin-bottom:.5rem}._chatbot_1ti7a_1 ._statusUpdates_1ti7a_51 .codicon-pass-filled{color:#17b26a;vertical-align:text-bottom}._citations_18435_1{background:#17b26a1a;color:#17b26a;padding:.5rem 1rem;border-radius:2rem;align-items:center}._citations_18435_1 ul{margin:0}._citations_18435_1 button,._citations_18435_1 a{text-decoration:none;border-radius:50%;background:#17b26a!important;border:none;padding:4px 5px;margin-top:-1px}._citations_18435_1 button:hover,._citations_18435_1 a:hover{background:#07a058!important}
|
|
1
|
+
._table_node_1h0by_1{width:300px;display:flex;flex-direction:column;cursor:default;color:var(--text-color)}._table_node_1h0by_1 ._header_1h0by_8{background:var(--table-node-expand-bg);border-top:2px solid var(--table-node-border-color);border-left:2px solid var(--table-node-border-color);border-right:2px solid var(--table-node-border-color);border-radius:.25em .25em 0 0;padding:.25em}._table_node_1h0by_1 ._header_1h0by_8._collapse_1h0by_16{background:var(--table-node-collapse-bg);border-bottom:2px solid var(--table-node-border-color);border-radius:.25em}._table_node_1h0by_1 ._header_1h0by_8._selected_1h0by_21{border-color:#e38e00}._table_node_1h0by_1 ._content_1h0by_24{flex-grow:1;background:var(--table-node-content-bg);border-bottom:2px solid var(--table-node-border-color);border-left:2px solid var(--table-node-border-color);border-right:2px solid var(--table-node-border-color);border-radius:0 0 .25em .25em;padding:.25em}._table_node_1h0by_1 ._content_1h0by_24._selected_1h0by_21{border-color:#e38e00}._table_header_1h0by_37{display:grid;grid-template-columns:3.2em 1fr 1em;gap:0em .5em;width:100%;height:3.2em;align-items:center;border-radius:.25em;border:1px solid var(--table-node-border-color);overflow-x:hidden}._table_header_1h0by_37 ._seed_1h0by_48{border:1px solid rgba(1,205,140,.3);color:#01cd8c;background-color:#01cd8c1a}._table_header_1h0by_37 ._model_1h0by_53{border:1px solid rgba(var(--node-model-color),.3);color:rgba(var(--node-model-color),1);background-color:rgba(var(--node-model-color),.1)}._table_header_1h0by_37 ._source_1h0by_58{border:1px solid rgba(188,226,228,.3);color:#bce2e4;background-color:#bce2e41a}._table_header_1h0by_37 ._exposure_1h0by_63{border:1px solid rgba(241,180,151,.3);color:#f1b497;background-color:#f1b4971a}._table_header_1h0by_37 ._snapshot_1h0by_68{border:1px solid rgba(245,197,240,.3);color:#f5c5f0;background-color:#f5c5f01a}._table_header_1h0by_37 ._metrics_1h0by_73{border:1px solid rgba(199,243,192,.3);color:#c7f3c0;background-color:#c7f3c01a}._table_header_1h0by_37 ._macros_1h0by_78{border:1px solid rgba(221,157,165,.3);color:#dd9da5;background-color:#dd9da51a}._table_header_1h0by_37 ._analysis_1h0by_83{border:1px solid rgba(255,132,136,.3);color:#ff8488;background-color:#ff84881a}._table_header_1h0by_37 ._node_icon_1h0by_88{display:flex;flex-direction:column;align-items:center;padding:.15em .5em;border-radius:.25em;font-size:.75em}._table_header_1h0by_37 ._node_icon_1h0by_88 svg{width:2em;height:2em}._table_header_1h0by_37 ._dialect_icon_1h0by_100{display:flex;flex-direction:column;align-items:center;width:2em;height:2em;justify-self:center}._table_handle_1h0by_109{width:1.2em;height:1.2em;line-height:1.2em;border-radius:50%;background-color:var(--primary-accent);border:1px solid #d6e7ff;color:#fff;display:flex;justify-content:center;align-items:end;cursor:default}._see_more_node_1h0by_123{width:300px;display:flex;background:var(--table-node-collapse-bg);border:1px solid var(--table-node-border-color);border-radius:.5em;padding:.5em;cursor:default;color:var(--text-color)}._table_card_1h0by_134{width:100%;overflow-x:hidden;border-radius:.25em;padding:.25em;border:1px solid var(--card-border-color);cursor:pointer;background-color:var(--card-bg)}._table_card_1h0by_134._selected_1h0by_21{border-color:#e38e00}._table_card_1h0by_134._disabled_1h0by_146{background-color:#e5e6e7;cursor:default}._column_card_1h0by_151{display:flex;flex-direction:column;gap:.5em;border-radius:.6em;padding:.8em;border:1px solid var(--card-border-color);background-color:var(--card-bg)}._column_card_1h0by_151._selected_1h0by_21{border-color:#e38e00}._edit_icon_1h0by_164{width:1.2rem;height:1.2rem;color:#8390a3}._edit_icon_1h0by_164:hover,._edit_icon_1h0by_164._active_1h0by_172{color:var(--primary-accent)}._expand_lineage_icon_1h0by_176{background-color:var(--primary-accent);padding:.25rem;border-radius:.25rem;display:flex;justify-content:center;align-items:center}._expand_lineage_icon_1h0by_176 svg{width:1rem;height:1rem}._processing_div_1h0by_189{background-color:#fff}._processing_div_1h0by_189 ._gif_img_1h0by_192{max-width:100%;max-height:90%}._card_1h0by_197{box-shadow:0 1px 2px #38414a26;background-color:#fff;border-radius:.5rem;padding:.5rem}._card_1h0by_197 .card{background-color:var(--background--01)}._card_1h0by_197 .card pre{border:none!important;margin:0!important;padding:6px!important}._column_node_1h0by_212{border:1px solid var(--primary-accent);width:276px;border-radius:.25em;padding:4px 8px;color:var(--column-node-color);position:relative}._column_node_1h0by_212._default_1h0by_220{background:var(--column-node-bg)}._column_node_1h0by_212 ._column_name_1h0by_223{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}._column_node_1h0by_212 ._column_top_right_1h0by_228{position:absolute;top:-6px;right:4px;display:flex;gap:.25rem}._divider_1h0by_236{height:2px;width:100%;background-color:var(--card-border-color)}._table_details_header_1h0by_242{width:100%;display:grid;grid-template-columns:1.5rem 1fr;gap:0em .5em;align-items:center}._verticle_divider_1h0by_250{width:2px;background-color:#c4cad2}._low_confidence_1h0by_255{padding:.125em .75em;border-radius:.375rem;background:#ff754c;color:#fff}._high_confidence_1h0by_262{padding:.125em .75em;border-radius:.375rem;background:#327e36;color:#fff}._alert_icon_1h0by_269{width:1rem;height:1rem;display:flex}._menu_card_1h0by_275{padding:.275em!important;font-size:.875em}._menu_card_container_1h0by_280{background-color:var(--background--02);border-color:var(--stroke--disable);padding:1px;border-radius:6px}._table_details_tabs_1h0by_287{width:100%;padding:.25em;border-radius:.5em;display:flex;background-color:var(--column-section-bg)}._table_details_tabs_1h0by_287 ._tab_1h0by_1{width:100%;padding:.5em;border-radius:.5em;color:var(--text-color);text-align:center;cursor:pointer}._table_details_tabs_1h0by_287 ._tab_1h0by_1._selected_1h0by_21{background-color:var(--primary-accent);color:#fff}._table_node_pill_1h0by_307{display:flex;align-items:center;border-radius:.5em;gap:.25em;padding:.125em .325em;font-size:.8em;background-color:var(--tag-bg);color:var(--text-color)}._table_node_pill_1h0by_307 ._icon_1h0by_317{width:1rem;height:1rem;display:flex;align-items:center}._node-checkbox_1h0by_324,._non_select_node_checkbox_1h0by_324,._select_node_checkbox_1h0by_324{display:flex;align-items:start;gap:.5em;padding:.125em .5em;border-radius:.5em}._select_node_checkbox_1h0by_324{border:2px solid var(--card-border-color)}._non_select_node_checkbox_1h0by_324{border:2px dashed var(--card-border-color)}._node_extra_info_1h0by_340{height:1.6em}._help_body_1h0by_344,._feedback_body_1h0by_348{color:var(--text-grey2-color)}._feedback_body_1h0by_348 ._cancel_btn_1h0by_351{color:var(--text-grey-color);text-decoration:none}._expand_nav_1h0by_356{border-radius:4px;border:var(--table-node-border-color) solid 1px;display:flex;align-items:center;background-color:var(--background--01);color:var(--text-color)}._expand_nav_1h0by_356 ._expand_nav_btn_1h0by_364{background-color:var(--popover-bg);border-radius:4px;margin:.125em;display:flex;align-items:center}._expand_nav_1h0by_356 ._expand_nav_btn_1h0by_364 ._divider_1h0by_236{height:1.75em;width:1px;background-color:var(--divider-color)}._expand_nav_1h0by_356 ._expand_nav_btn_1h0by_364 ._icon_1h0by_317{padding:.125em;cursor:pointer}._expand_nav_1h0by_356 ._expand_nav_btn_1h0by_364 ._icon_1h0by_317 svg{width:1.5em;height:1.5em}._expand_nav_1h0by_356._disabled_1h0by_146{opacity:.5}._expand_nav_1h0by_356._disabled_1h0by_146 ._icon_1h0by_317{cursor:default}._column_legend_1h0by_408 .popover{border-radius:2px;--bs-popover-bg: --popover-bg;background-color:var(--popover-bg);color:var(--text-color)!important;text-transform:capitalize;border:1px solid #d5dbe4}._column_legend_1h0by_408 .popover .popover-body{color:var(--text-color)!important;padding:.5rem 1rem}._column_legend_1h0by_408 .popover .popover-body>div{margin-bottom:1rem;font-size:10px}._column_legend_1h0by_408 ._dot_1h0by_424{width:.75rem;height:.75rem;border-radius:50%;display:inline-block;vertical-align:text-bottom;margin-right:.4rem;color:#fff;text-align:center;font-size:8px}._model_views_type_1h0by_436{padding:.5rem;background-color:var(--column-section-bg);border-radius:6px;display:flex;align-items:center;gap:.5rem}._close_button_1h0by_445{background-color:var(--primary-accent);padding:.5rem;position:absolute;top:0;right:0;cursor:pointer}._close_button_1h0by_445 svg{width:1rem;height:1rem}._op_node_1h0by_458{display:flex;align-items:center;gap:.25rem;border-radius:2rem;background:var(--table-node-content-bg);border:2px solid var(--table-node-border-color);padding:.25rem}._op_node_1h0by_458 ._node_icon_1h0by_88{width:2.5rem;height:2.5rem;padding:.1rem;border-radius:50%;border:2px solid var(--table-node-border-color);display:flex;justify-content:center;align-items:center}._op_node_1h0by_458 ._node_icon_1h0by_88._light_mode_1h0by_477{background-color:#eaf3ff}._op_node_1h0by_458 ._node_icon_1h0by_88._dark_mode_1h0by_480{background-color:#d3e5ff}._op_node_1h0by_458._highlighted_1h0by_483{background-color:#fbe16b}._op_node_1h0by_458._selected_1h0by_21{border-color:#e38e00}._op_node_1h0by_458 ._cost_data_1h0by_489{display:flex;flex-direction:column;align-items:center;justify-content:center;height:2.5rem;padding:0rem .25rem;border:solid 1px #ff754c;background-color:#ffefeb;color:#374c6a;border-radius:2rem;font-size:.8em;letter-spacing:-.05em;line-height:.75rem}._op_node_1h0by_458 ._op_type_text_1h0by_504{color:var(--primary-accent)}._op_node_1h0by_458 ._op_type_text_1h0by_504 ._node_stats_1h0by_507{position:absolute;right:20%;top:-.45rem;display:flex;gap:.25em}._node_stats_1h0by_507{position:absolute;right:5%;top:-.45rem;display:flex;gap:.25em}._savings-performance_1h0by_523,._performance_1h0by_523,._savings_1h0by_523{display:flex;align-items:center;gap:.25rem;border-radius:1rem;padding:0rem .125rem;font-size:.65rem;text-wrap:nowrap;line-height:.75rem}._savings_1h0by_523{background:#dcfae6;border:1px solid #ade4cb}._savings_1h0by_523 ._value_1h0by_538{color:#374c6a}._savings_1h0by_523 ._percent_1h0by_541{color:#079455}._performance_1h0by_523{background:#fff1d7;border:1px solid #e7a427}._performance_1h0by_523 ._value_1h0by_538{color:#374c6a}._performance_1h0by_523 ._percent_1h0by_541{color:#e7a427}._static_table_node_1h0by_556{width:300px;display:flex;flex-direction:column;cursor:default;color:var(--text-color)}._static_table_node_1h0by_556 ._header_1h0by_8{background:var(--table-node-expand-bg);border-top:2px solid var(--table-node-border-color);border-left:2px solid var(--table-node-border-color);border-right:2px solid var(--table-node-border-color);border-radius:.25em .25em 0 0}._static_table_node_1h0by_556 ._header_1h0by_8._collapse_1h0by_16{background:var(--table-node-collapse-bg);border-bottom:2px solid var(--table-node-border-color);border-radius:.25em}._static_table_node_1h0by_556 ._header_1h0by_8._selected_1h0by_21{border-color:#e38e00}._static_table_node_1h0by_556 ._header_1h0by_8._highlighted_1h0by_483{background-color:#fbe16b}._static_table_node_1h0by_556 ._node_icon_1h0by_88{display:flex;flex-direction:column;align-items:center;margin-top:.25rem;margin-bottom:.25rem}._static_table_node_1h0by_556 ._node_icon_1h0by_88 svg{width:2.8rem;height:2.8rem}._static_table_node_1h0by_556 ._cost_data_1h0by_489{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-top:.25rem;margin-bottom:.25rem;height:100%;padding:.325rem .3rem;border:solid 1px #ff754c;background-color:#ffefeb;color:#374c6a;border-radius:.375rem;font-size:.8em;letter-spacing:-.05em}._static_table_node_1h0by_556 ._content_1h0by_24{flex-grow:1;background:var(--table-node-content-bg);border-bottom:2px solid var(--table-node-border-color);border-left:2px solid var(--table-node-border-color);border-right:2px solid var(--table-node-border-color);border-radius:0 0 .25em .25em;padding:.25em}._static_table_node_1h0by_556 ._content_1h0by_24._selected_1h0by_21{border-color:#e38e00}._static_table_node_1h0by_556 ._details_btn_1h0by_620{border-radius:50%;width:1.25rem;height:1.25rem;display:flex;justify-content:center;align-items:center;padding:.2rem}._static_table_node_1h0by_556 ._details_btn_1h0by_620._enable_1h0by_629{background-color:var(--primary-accent);cursor:pointer;color:#fff}._static_table_node_1h0by_556 ._details_btn_1h0by_620._disable_1h0by_146{background-color:var(--btn-disable);color:var(--btn-disable-text);cursor:not-allowed}._code_editor_container_1h0by_640{background-color:var(--code-bg)!important;margin:0!important;padding:.25rem!important;flex-grow:1}._code_editor_1h0by_640{background-color:var(--code-bg)!important;padding:.5rem;width:100%;line-height:2!important}._tooltip_container_1h0by_654{position:relative;display:flex;align-items:center}._tooltip_container_1h0by_654:hover ._tooltip_text_1h0by_660{display:block}._tooltip_text_1h0by_660{display:none;position:absolute;bottom:125%;left:50%;transform:translate(-50%);padding:8px;color:#fff;border-radius:4px;white-space:nowrap;background:#082247}._views_type_badge_1h0by_677{background-color:var(--views-color)!important;font-size:8px;padding:2px;width:12px;height:12px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#fff;cursor:default}._lineage_legend_1h0by_391{position:absolute;bottom:1rem;left:3.5rem;z-index:4;background-color:var(--card-bg)!important;color:var(--text-color)!important;border:1px solid var(--input-border-color)!important;border-radius:5px!important;font-size:10px!important;padding:6px!important}._lineage_legend_1h0by_391 svg{margin-left:.6rem;vertical-align:baseline}._column_code_icon_1h0by_708{background-color:#082247!important;padding:2px;width:12px;height:12px;display:flex;align-items:center;justify-content:center;border-radius:6px;cursor:pointer;color:#fff}._column_code_icon_1h0by_708 .codicon{font-size:10px!important}._edge_select_1h0by_724{display:flex;align-items:center}._edge_select_1h0by_724 div{height:2px;width:12px;border-top:solid 2px #e38e00}._edge_non_select_1h0by_734{display:flex;align-items:center}._edge_non_select_1h0by_734 div{height:2px;width:12px;border-top:dashed 1px #e38e00}._modal_views_code_container_1h0by_744{background-color:var(--card-bg);border-radius:6px}._custom_node_code_block_1h0by_749 .tooltip{--bs-tooltip-max-width: none}._custom_node_code_block_1h0by_749 .tooltip .card{border:none;background-color:transparent}._custom_node_code_block_1h0by_749 .tooltip .card pre{padding:0!important;white-space:nowrap!important}._reset_btn_1h0by_761{align-items:center;display:flex;gap:4px}._error_tooltip_1h0by_767{padding:8px;color:#fff;border-radius:4px;background:#082247}:root{--border-radius: 8px}._tableWrapper_1h0by_778{width:100%;max-width:800px;margin:0 auto}._dataTable_1h0by_784{background-color:var(--background--02);color:var(--text-color--paragraph);border-radius:var(--border-radius);overflow:hidden}._dataTable_1h0by_784.table{border:1px solid var(--gray--gray-01);margin-bottom:0}._dataTable_1h0by_784 td{border-color:var(--gray--gray-01)!important;padding:.25rem .5rem!important;background-color:var(--background--02)}._dataTable_1h0by_784 thead th{background-color:var(--background--04);border-bottom-width:2px;border-color:var(--gray--gray-01)!important;padding:.25rem .5rem!important;font-weight:500}._dataTable_1h0by_784 thead th:first-child{border-top-left-radius:calc(var(--border-radius) - 1px)}._dataTable_1h0by_784 thead th:last-child{border-top-right-radius:calc(var(--border-radius) - 1px)}._dataTable_1h0by_784 tbody tr:last-child td:first-child{border-bottom-left-radius:calc(var(--border-radius) - 1px)}._dataTable_1h0by_784 tbody tr:last-child td:last-child{border-bottom-right-radius:calc(var(--border-radius) - 1px)}#lineage-sidebar .sidebar-modal{position:fixed;top:-1px;height:calc(100% + 1px);box-shadow:none;transition:transform .3s ease-in-out;z-index:997;color:var(--text-color);left:0;width:100vw;background-color:transparent}#lineage-sidebar .sidebar-background-screen{position:absolute;top:0;left:0;width:100vw;height:100%;background-color:#08224780;z-index:998;display:block}#lineage-sidebar .sidebar-modal-content{border-radius:0;height:100%;right:0;position:absolute;background-color:var(--card-bg);z-index:998;min-width:400px;max-width:600px}#lineage-sidebar .sidebar-close-button{position:absolute;top:0;right:100%;height:32px;width:32px;background:1px solid #e7e8ea;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;z-index:999;padding:8px;background:var(--primary-accent, #247efe)}._component_13r39_1{position:absolute;width:100%;height:100%;transform:translate(-50%,-50%);display:flex;justify-content:center;align-items:center;flex-direction:column;border:4px solid rgba(0,0,0,.1);width:40px;height:40px;border-radius:50%;border-left-color:var(--primary-color);margin:0 auto;animation:_spin_13r39_1 1s linear infinite}@keyframes _spin_13r39_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._level_tag_x6wwh_1{width:-moz-min-content;width:min-content;display:flex;align-items:center;padding:2px 8px;font-weight:500;border-radius:30px;white-space:nowrap;text-overflow:ellipsis;font-size:.8em;background-color:var(--tag-bg);color:var(--tag-text-color)}.react-flow{direction:ltr}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:grab}.react-flow__node.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:#ffffff80;padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:#3367d9;border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.lineage-component{--primary-color: #247efe;--bg-color: #f5f5f7;--primary-accent: #247efe;--column-node-bg: #e9f2ff;--column-node-color: var(--primary-accent);--text-color: #000000;--card-bg: #ffffff;--card-border-color: #e7e8ea;--table-node-border-color: rgba(167, 178, 193, .3);--table-node-expand-bg: #eaf3ff;--table-node-collapse-bg: #ffffff;--table-node-content-bg: #ffffff;--text-grey-color: #8390a3;--text-grey2-color: #c4cad2;--purpose-section-bg: #eaf3ff;--column-section-bg: #f5f6f7;--tag-bg: #f5f6f7;--tag-text-color: #082247;--input-placeholder-color: rgba(8, 34, 71, .5);--input-bg: #ffffff;--input-text-color: #212529;--input-border-color: #dee2e6;--modal-bg: #ffffff;--popover-bg: #ffffff;--divider-color: #e8e8e8;--code-bg: #082247;--node-model-color: 36, 126, 254;line-height:var(--bs-body-line-height);height:100%}.vscode-dark .lineage-component{--bg-color: #1e1e1e;--primary-accent: #247efe;--column-node-bg: rgba(131, 144, 163, .2);--column-node-color: #ffffff;--text-color: #ffffff;--card-bg: #252526;--card-border-color: #d5dbe433;--table-node-border-color: rgba(213, 219, 228, .1);--table-node-expand-bg: #494e56;--table-node-collapse-bg: #3a3d41;--table-node-content-bg: #3a3d41;--text-grey-color: #66768d;--text-grey2-color: #c4cad2;--purpose-section-bg: #3c3c3c;--column-section-bg: #3c3c3c;--tag-bg: #4a4d51;--tag-text-color: #ffffff;--input-placeholder-color: #ffffff;--input-bg: rgba(131, 144, 163, .2);--input-text-color: #ffffff;--input-border-color: rgba(131, 144, 163, .1);--modal-bg: #484e55;--popover-bg: #28292c;--divider-color: #424750;--code-bg: #171717;--node-model-color: 202, 232, 249}body.lineage .popover{--bs-popover-bg: var(--background--02)}body.vscode-dark .bs-modal{--bs-modal-bg: #252526 !important;--bs-modal-color: #ffffff !important}.position-relative{position:relative}.gap-xxs{gap:.25rem}.gap-xs{gap:.5rem}.gap-sm{gap:.75rem}.gap-md{gap:1rem}.gap-lg{gap:1.25rem}.gap-xl{gap:2rem}.overflow-y{overflow-y:auto}.overflow-x{overflow-x:auto}.lines-2{display:-webkit-box;text-overflow:ellipsis;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-word}.text-blue{color:var(--primary-accent)}.text-grey{color:var(--text-grey-color)}.text-overflow{text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap}.invisible{visibility:hidden}.spacer{flex-grow:1}.fw-semibold{font-weight:600}.top-right-container{position:absolute;top:16px;right:16px;display:flex;gap:8px;z-index:1;align-items:center}.fs-xxs{font-size:.875rem}.purpose-section{background-color:var(--purpose-section-bg)}.column-section{background-color:var(--column-section-bg)}.custom-input{background-color:var(--input-bg)!important;color:var(--input-text-color)!important;border-color:var(--input-border-color)!important}.custom-input::placeholder{color:var(--input-placeholder-color)!important;opacity:1!important}.custom-input::-moz-placeholder{color:var(--input-placeholder-color)!important;opacity:1!important}.custom-input::-ms-input-placeholder{color:var(--input-placeholder-color)!important;opacity:1!important}.cursor-pointer{cursor:pointer}.tooltip-container{position:relative;display:flex;align-items:center}.tooltip-container:hover .tooltip-text{display:block}.tooltip-text{display:none;position:absolute;bottom:125%;left:50%;transform:translate(-50%);padding:8px;color:#082247;border-radius:4px;white-space:nowrap;background:#ffce73}.bottom-right-container{position:absolute;bottom:16px;right:16px;display:flex;gap:8px;z-index:100;align-items:center}.normal-text{color:var(--text-color)}.theme-bg{background-color:var(--bg-color)!important}.cursor-disable{cursor:not-allowed}pre[class*=language-],code[class*=language-]{overflow:auto;word-break:break-word}.text-primary{color:var(--primary-accent)}.text-white{color:#fff}code[class*=language-],pre[class*=language-]{color:#ccc;background:none;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#2d2d2d}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.comment,.token.block-comment,.token.prolog,.token.doctype,.token.cdata{color:#999}.token.punctuation{color:#ccc}.token.tag,.token.attr-name,.token.namespace,.token.deleted{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.number,.token.function{color:#f08d49}.token.property,.token.class-name,.token.constant,.token.symbol{color:#f8c555}.token.selector,.token.important,.token.atrule,.token.keyword,.token.builtin{color:#cc99cd}.token.string,.token.char,.token.attr-value,.token.regex,.token.variable{color:#7ec699}.token.operator,.token.entity,.token.url{color:#67cdcc}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { BadgeProps } from 'reactstrap';
|
|
2
|
+
export { Alert, Button, ButtonGroup, Card, CardBody, CardFooter, CardImg, CardSubtitle, CardText, CardTitle, Col, Container, Fade, Form, FormFeedback, FormGroup, Input, InputGroup, Label, List, ListGroup, ListGroupItem, Modal, ModalBody, Nav, NavItem, NavLink, Offcanvas, OffcanvasBody, OffcanvasHeader, Popover, PopoverBody, PopoverHeader, Row, Spinner } from 'reactstrap';
|
|
3
|
+
import * as React$1 from 'react';
|
|
4
|
+
import { ButtonHTMLAttributes, ReactNode, HTMLAttributes, FC, MouseEvent } from 'react';
|
|
5
|
+
import { B as ButtonProps } from './Button-BKBSxoPA.js';
|
|
3
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-
|
|
5
|
-
export { 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-6QSONCz1.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-6QSONCz1.js';
|
|
6
9
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
7
10
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
8
11
|
import * as immer from 'immer';
|
|
9
12
|
import { z } from 'zod';
|
|
13
|
+
import 'class-variance-authority/types';
|
|
14
|
+
import 'class-variance-authority';
|
|
10
15
|
|
|
11
16
|
interface Props$9 extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
12
17
|
color?: string;
|
|
@@ -38,11 +43,69 @@ interface Props$6 {
|
|
|
38
43
|
}
|
|
39
44
|
declare const CodeBlockComponent: ({ code, language, fileName, editorTheme, theme, showLineNumbers, className, titleActions, }: Props$6) => JSX.Element;
|
|
40
45
|
|
|
46
|
+
type SpacingSize = "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl";
|
|
47
|
+
interface StackProps extends HTMLAttributes<HTMLDivElement> {
|
|
48
|
+
children: ReactNode;
|
|
49
|
+
wrap?: boolean;
|
|
50
|
+
justify?: "start" | "end" | "center" | "between" | "around" | "evenly";
|
|
51
|
+
align?: "start" | "end" | "center" | "baseline" | "stretch";
|
|
52
|
+
flex?: string;
|
|
53
|
+
gap?: SpacingSize;
|
|
54
|
+
direction?: "row" | "column";
|
|
55
|
+
}
|
|
56
|
+
declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
57
|
+
|
|
41
58
|
interface Props$5 extends BadgeProps {
|
|
42
59
|
tooltip: Parameters<typeof Tooltip>[0]["title"];
|
|
43
60
|
}
|
|
44
61
|
declare const Badge: ({ tooltip, ...props }: Props$5) => react_jsx_runtime.JSX.Element;
|
|
45
62
|
|
|
63
|
+
interface MermaidDiagramProps {
|
|
64
|
+
content: string;
|
|
65
|
+
id: string;
|
|
66
|
+
}
|
|
67
|
+
declare const MermaidDiagram: FC<MermaidDiagramProps>;
|
|
68
|
+
|
|
69
|
+
interface MarkdownProps {
|
|
70
|
+
content: string;
|
|
71
|
+
id?: string;
|
|
72
|
+
}
|
|
73
|
+
declare const Markdown: React.FC<MarkdownProps>;
|
|
74
|
+
|
|
75
|
+
interface PopconfirmProps {
|
|
76
|
+
/**
|
|
77
|
+
* The content to be displayed inside the trigger
|
|
78
|
+
*/
|
|
79
|
+
children: ReactNode;
|
|
80
|
+
/**
|
|
81
|
+
* The title of the confirmation dialog
|
|
82
|
+
*/
|
|
83
|
+
title: string;
|
|
84
|
+
/**
|
|
85
|
+
* The description/message of the confirmation dialog
|
|
86
|
+
*/
|
|
87
|
+
description: string;
|
|
88
|
+
/**
|
|
89
|
+
* Callback function called when user confirms the action
|
|
90
|
+
*/
|
|
91
|
+
onConfirm?: (e: MouseEvent) => void;
|
|
92
|
+
/**
|
|
93
|
+
* Callback function called when user cancels the action
|
|
94
|
+
*/
|
|
95
|
+
onCancel?: (e: MouseEvent) => void;
|
|
96
|
+
/**
|
|
97
|
+
* Text for the confirm button
|
|
98
|
+
* @default "Yes"
|
|
99
|
+
*/
|
|
100
|
+
okText?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Text for the cancel button
|
|
103
|
+
* @default "No"
|
|
104
|
+
*/
|
|
105
|
+
cancelText?: string;
|
|
106
|
+
}
|
|
107
|
+
declare function Popconfirm({ children, title, description, onConfirm, onCancel, okText, cancelText, }: PopconfirmProps): react_jsx_runtime.JSX.Element;
|
|
108
|
+
|
|
46
109
|
declare const ApiHelper: {
|
|
47
110
|
get: <T>(_url: string, _data?: Record<string, unknown>, _request?: RequestInit) => Promise<T>;
|
|
48
111
|
post: <T>(_url: string, _data: Record<string, unknown>, _request?: RequestInit) => Promise<T>;
|
|
@@ -157,6 +220,14 @@ interface Props$1 {
|
|
|
157
220
|
}
|
|
158
221
|
declare const LearningsPage: ({ filters, learning }: Props$1) => react_jsx_runtime.JSX.Element;
|
|
159
222
|
|
|
223
|
+
declare const TeamMatesConfig: TeamMateConfig[];
|
|
224
|
+
|
|
225
|
+
interface Props {
|
|
226
|
+
onSelect: (selected: (typeof TeamMatesConfig)[0], action: TeamMateActionType) => Promise<boolean | undefined>;
|
|
227
|
+
client: keyof typeof TeamMateAvailability;
|
|
228
|
+
}
|
|
229
|
+
declare const TeamMates: ({ onSelect, client }: Props) => react_jsx_runtime.JSX.Element;
|
|
230
|
+
|
|
160
231
|
declare enum ProjectGovernorCheckTypes {
|
|
161
232
|
DOCUMENTATION = "documentation",
|
|
162
233
|
TESTS = "tests",
|
|
@@ -204,12 +275,4 @@ interface ProjectGovernorCheck extends z.infer<typeof ProjectGovernorCheckSchema
|
|
|
204
275
|
id: string;
|
|
205
276
|
}
|
|
206
277
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
interface Props {
|
|
210
|
-
onSelect: (selected: (typeof TeamMatesConfig)[0], action: TeamMateActionType) => Promise<boolean | undefined>;
|
|
211
|
-
client: keyof typeof TeamMateAvailability;
|
|
212
|
-
}
|
|
213
|
-
declare const TeamMates: ({ onSelect, client }: Props) => react_jsx_runtime.JSX.Element;
|
|
214
|
-
|
|
215
|
-
export { ApiHelper, Badge, CoachForm, CoachFormButton, CodeBlockComponent as CodeBlock, type Conversation, type ConversationGroup, ConversationGroupProvider, ConversationInputForm, ConversationSources, DbtDocs, type DbtDocsShareDetails, IconButton, LearningsPage as Learnings, LoadingButton, ProjectGovernorAllowedFiles, type ProjectGovernorCheck, type ProjectGovernorCheckConfirmationResponse, type ProjectGovernorCheckFormValues, ProjectGovernorCheckSchema, ProjectGovernorCheckTypes, type ProjectGovernorCheckValidateResponse, TaskLabels, TeamMateActionType, TeamMateAvailability, TeamMateConfig, TeamMateContextProps, TeamMateProvider, TeamMateState, TeamMates, TeamMatesConfig, TeammateActions, Tooltip, useTeamMateContext };
|
|
278
|
+
export { ApiHelper, Badge, CoachForm, CoachFormButton, CodeBlockComponent as CodeBlock, type Conversation, type ConversationGroup, ConversationGroupProvider, ConversationInputForm, ConversationSources, DbtDocs, type DbtDocsShareDetails, IconButton, LearningsPage as Learnings, LoadingButton, Markdown, MermaidDiagram, Popconfirm, ProjectGovernorAllowedFiles, type ProjectGovernorCheck, type ProjectGovernorCheckConfirmationResponse, type ProjectGovernorCheckFormValues, ProjectGovernorCheckSchema, ProjectGovernorCheckTypes, type ProjectGovernorCheckValidateResponse, Stack, TaskLabels, TeamMateActionType, TeamMateAvailability, TeamMateConfig, TeamMateContextProps, TeamMateProvider, TeamMateState, TeamMates, TeamMatesConfig, TeammateActions, Tooltip, useTeamMateContext };
|
package/dist/index.js
CHANGED
|
@@ -1,35 +1,72 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import "reactstrap";
|
|
3
|
-
import { A as
|
|
4
|
-
import {
|
|
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";
|
|
1
|
+
import { j as e, i as r, h as t, C as s, 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, Button as v, ButtonGroup as u, Card as T, CardBody as f, CardFooter as B, CardImg as P, CardSubtitle as F, CardText as M, CardTitle as k, Col as G, Container as L, Fade as g, Form as y, FormFeedback as I, FormGroup as h, Input as A, InputGroup as S, Label as b, List as x, ListGroup as j, ListGroupItem as D, Modal as w, ModalBody as H, Nav as N, NavItem as O, NavLink as z, Offcanvas as K, OffcanvasBody as R, OffcanvasHeader as V, Popover as W, PopoverBody as X, PopoverHeader as Y, Row as _, Spinner as $ } from "reactstrap";
|
|
3
|
+
import { A as E, C as J, I as Q, T as U } from "./redux-toolkit.modern.js";
|
|
4
|
+
import { _ as aa, a4 as oa, X as ea, K as ra, a3 as ta, a2 as sa, Y as na, W as ia, a7 as ma, a8 as da, a6 as pa, V as Ca, a5 as ca, $ as la, a0 as va, a1 as ua, P as Ta } from "./CoachForm.js";
|
|
7
5
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
l as Alert,
|
|
7
|
+
E as ApiHelper,
|
|
8
|
+
aa as Badge,
|
|
9
|
+
v as Button,
|
|
10
|
+
u as ButtonGroup,
|
|
11
|
+
T as Card,
|
|
12
|
+
f as CardBody,
|
|
13
|
+
B as CardFooter,
|
|
14
|
+
P as CardImg,
|
|
15
|
+
F as CardSubtitle,
|
|
16
|
+
M as CardText,
|
|
17
|
+
k as CardTitle,
|
|
18
|
+
oa as CoachForm,
|
|
19
|
+
e as CoachFormButton,
|
|
20
|
+
J as CodeBlock,
|
|
21
|
+
G as Col,
|
|
22
|
+
L as Container,
|
|
23
|
+
ea as ContentCategory,
|
|
14
24
|
r as ConversationGroupProvider,
|
|
15
25
|
t as ConversationInputForm,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
26
|
+
s as ConversationSources,
|
|
27
|
+
n as DbtDocs,
|
|
28
|
+
g as Fade,
|
|
29
|
+
y as Form,
|
|
30
|
+
I as FormFeedback,
|
|
31
|
+
h as FormGroup,
|
|
32
|
+
Q as IconButton,
|
|
33
|
+
A as Input,
|
|
34
|
+
S as InputGroup,
|
|
35
|
+
b as Label,
|
|
36
|
+
i as Learnings,
|
|
37
|
+
x as List,
|
|
38
|
+
j as ListGroup,
|
|
39
|
+
D as ListGroupItem,
|
|
40
|
+
ra as LoadingButton,
|
|
41
|
+
ta as Markdown,
|
|
42
|
+
sa as MermaidDiagram,
|
|
43
|
+
w as Modal,
|
|
44
|
+
H as ModalBody,
|
|
45
|
+
N as Nav,
|
|
46
|
+
O as NavItem,
|
|
47
|
+
z as NavLink,
|
|
48
|
+
K as Offcanvas,
|
|
49
|
+
R as OffcanvasBody,
|
|
50
|
+
V as OffcanvasHeader,
|
|
51
|
+
na as PersonalizationScope,
|
|
52
|
+
ia as Popconfirm,
|
|
53
|
+
W as Popover,
|
|
54
|
+
X as PopoverBody,
|
|
55
|
+
Y as PopoverHeader,
|
|
56
|
+
ma as ProjectGovernorAllowedFiles,
|
|
57
|
+
da as ProjectGovernorCheckSchema,
|
|
58
|
+
pa as ProjectGovernorCheckTypes,
|
|
59
|
+
_ as Row,
|
|
60
|
+
$ as Spinner,
|
|
61
|
+
Ca as Stack,
|
|
62
|
+
ca as TaskLabels,
|
|
63
|
+
la as TeamMateActionType,
|
|
64
|
+
va as TeamMateAvailability,
|
|
65
|
+
m as TeamMateProvider,
|
|
66
|
+
d as TeamMates,
|
|
67
|
+
ua as TeamMatesConfig,
|
|
68
|
+
p as TeammateActions,
|
|
69
|
+
U as Tooltip,
|
|
70
|
+
Ta as learningSchema,
|
|
71
|
+
C as useTeamMateContext
|
|
35
72
|
};
|