@altimateai/ui-components 0.0.4-beta.2 → 0.0.4-beta.4

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 CHANGED
@@ -45542,7 +45542,7 @@ const nre = (e) => typeof e.props.children == "string" ? e.props.children : "",
45542
45542
  ), are = ({ children: e }) => /* @__PURE__ */ U.jsx(
45543
45543
  RT,
45544
45544
  {
45545
- title: "Tool Call",
45545
+ title: "Fetching more context...",
45546
45546
  className: "al-tool-call",
45547
45547
  renderContent: (t) => /* @__PURE__ */ U.jsx(
45548
45548
  Nh,
@@ -46319,13 +46319,13 @@ const jT = (e, t) => {
46319
46319
  initialState: wre,
46320
46320
  reducers: {
46321
46321
  createSession: (e, t) => {
46322
- var r, i;
46322
+ var r, i, a;
46323
46323
  const n = Sre();
46324
46324
  e.sessions[n] = {
46325
46325
  id: n,
46326
46326
  messages: [],
46327
46327
  context: t.payload.context || {},
46328
- selectedModel: ((i = (r = t.payload) == null ? void 0 : r.models) == null ? void 0 : i[0]) || null
46328
+ selectedModel: ((a = (i = (r = t.payload) == null ? void 0 : r.models) == null ? void 0 : i[0]) == null ? void 0 : a.value) || null
46329
46329
  }, e.currentSessionId = n;
46330
46330
  },
46331
46331
  setSelectedModel: (e, t) => {
@@ -49894,7 +49894,7 @@ const Fre = /* @__PURE__ */ Eo(Bre), $T = ({ artifacts: e }) => {
49894
49894
  By,
49895
49895
  {
49896
49896
  "aria-label": "Model selection",
49897
- options: p.map((R) => ({ value: R, label: R })),
49897
+ options: p,
49898
49898
  value: (b == null ? void 0 : b.selectedModel) || void 0,
49899
49899
  onChange: v,
49900
49900
  placeholder: "Select model",
@@ -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 } from '../types-BKWf381e.js';
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-BKWf381e.js';
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 } from '../types-ClqBUI2s.js';
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-ClqBUI2s.js';
4
4
  import { UnknownAction } from '@reduxjs/toolkit';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
  import 'zod';
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-BKWf381e.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-BKWf381e.js';
7
+ import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-ClqBUI2s.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-ClqBUI2s.js';
9
9
  import * as _reduxjs_toolkit from '@reduxjs/toolkit';
10
10
  import { PayloadAction } from '@reduxjs/toolkit';
11
11
  import * as immer from 'immer';
@@ -1,4 +1,5 @@
1
1
  import * as React$1 from 'react';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
3
 
3
4
  declare const VIEWS_TYPE_COLOR: {
4
5
  Original: string;
@@ -28,6 +29,7 @@ interface Table {
28
29
  }[];
29
30
  schema?: string;
30
31
  meta?: Map<string, TableMeta>;
32
+ source?: string;
31
33
  }
32
34
  interface ColumnMeta {
33
35
  [key: string]: string | number | boolean | null | undefined;
@@ -37,6 +39,7 @@ interface Column {
37
39
  table: string;
38
40
  datatype?: string;
39
41
  can_lineage_expand: boolean;
42
+ is_transformation?: boolean;
40
43
  description: string;
41
44
  meta?: Map<string, ColumnMeta>;
42
45
  }
@@ -81,6 +84,7 @@ interface ExposureMetaData {
81
84
  interface ViewsCodeModalArgs {
82
85
  table: string;
83
86
  column: string;
87
+ datatype: string;
84
88
  viewsType: ViewsTypes;
85
89
  viewsCode: Record<string, [string, string][]>;
86
90
  nodeType: string;
@@ -186,4 +190,12 @@ declare class CLL {
186
190
  static showCllInProgressMsg(): void;
187
191
  }
188
192
 
189
- export { CLL, CllEvents, type CollectColumn, type Column, type ColumnLineage, type ColumnMeta, type Columns, type Confidence, type Details, type ExposureMetaData, _default as Lineage, type LineageRef, type ModalArgs, type OpNodeArgs, type SelectedColumn, type StaticLineage, type StaticLineageDetails, type Table, type TableMeta, type ViewsCodeModalArgs };
193
+ declare const NodeIcon: ({ nodeType }: {
194
+ nodeType: string;
195
+ }) => react_jsx_runtime.JSX.Element;
196
+
197
+ declare const ViewsTypeBadge: ({ viewsType }: {
198
+ viewsType: string;
199
+ }) => react_jsx_runtime.JSX.Element;
200
+
201
+ export { CLL, CllEvents, type CollectColumn, type Column, type ColumnLineage, type ColumnMeta, type Columns, type Confidence, type Details, type ExposureMetaData, _default as Lineage, type LineageRef, type ModalArgs, NodeIcon, type OpNodeArgs, type SelectedColumn, type StaticLineage, type StaticLineageDetails, type Table, type TableMeta, type ViewsCodeModalArgs, ViewsTypeBadge };