@altimateai/ui-components 0.0.64-beta2 → 0.0.64-beta3
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 +2216 -2206
- package/dist/chatbotV2/index.d.ts +4 -2
- package/dist/index.d.ts +2 -2
- package/dist/{types-DbY7DJ8y.d.ts → types-CiyozQU3.d.ts} +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { FC, ReactNode } 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, D as DetectedEntity, E as EntityType, u as AgentStreamResponse } from '../types-
|
|
3
|
-
export { v as AssistantMeta, x as ChatbotUrls, y as Datamate, z as EntityDetectionRequest, B as EntityDetectionResponse, w as FileUploadProps, Q as FinalResponseData, J as InteractionChoice, H as InteractionType, G as Mode, O as ProgressUpdate, N as ToolUsageData, U as UploadedFile, R as agentStreamResponseSchema, K as todoItemSchema } 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, F as Feedback, r as LoadingState, s as ChatSession, i as Citation, t as TodoItem, M as MessageAttachment, D as DetectedEntity, E as EntityType, u as AgentStreamResponse } from '../types-CiyozQU3.js';
|
|
3
|
+
export { v as AssistantMeta, x as ChatbotUrls, y as Datamate, z as EntityDetectionRequest, B as EntityDetectionResponse, w as FileUploadProps, Q as FinalResponseData, J as InteractionChoice, H as InteractionType, G as Mode, O as ProgressUpdate, N as ToolUsageData, U as UploadedFile, R as agentStreamResponseSchema, K as todoItemSchema } from '../types-CiyozQU3.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';
|
|
@@ -56,12 +56,14 @@ interface MessageItemProps {
|
|
|
56
56
|
isLastMessage?: boolean;
|
|
57
57
|
isFirstMessage?: boolean;
|
|
58
58
|
handleSavePrompt?: (message: ChatMessage) => void;
|
|
59
|
+
showSavePromptButton?: boolean;
|
|
59
60
|
}
|
|
60
61
|
declare const MessageItem: FC<MessageItemProps>;
|
|
61
62
|
|
|
62
63
|
interface MessageListProps {
|
|
63
64
|
messages: ChatMessage[];
|
|
64
65
|
handleSavePrompt?: (message: ChatMessage) => void;
|
|
66
|
+
showSavePromptButton?: boolean;
|
|
65
67
|
}
|
|
66
68
|
declare const MessageList: FC<MessageListProps>;
|
|
67
69
|
|
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { B as ButtonProps } from './Button-CVsSwe4f.js';
|
|
|
4
4
|
import { Components } from 'react-markdown';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { PlotParams } from 'react-plotly.js';
|
|
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-CiyozQU3.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-CiyozQU3.js';
|
|
9
9
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
10
10
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
11
11
|
import * as immer from 'immer';
|
|
@@ -108,6 +108,7 @@ interface ChatbotProps {
|
|
|
108
108
|
chatboxStartPosition?: "middle" | "bottom";
|
|
109
109
|
helloMessageFooter?: ReactNode;
|
|
110
110
|
handleSavePrompt?: (message: ChatMessage) => void;
|
|
111
|
+
showSavePromptButton?: boolean;
|
|
111
112
|
}
|
|
112
113
|
interface ChatbotProviderProps extends ChatbotProps {
|
|
113
114
|
taskLabel?: keyof typeof TaskLabels;
|