max-agent-ui 0.0.38 → 0.0.39
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/fesm2022/max-agent-ui.mjs +27 -19
- package/fesm2022/max-agent-ui.mjs.map +1 -1
- package/index.d.ts +7 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -442,6 +442,8 @@ interface AssistantMessage {
|
|
|
442
442
|
actionDecision?: AssistantConfirmation['decision'];
|
|
443
443
|
capabilityKey?: string;
|
|
444
444
|
isError?: boolean;
|
|
445
|
+
isOffline?: boolean;
|
|
446
|
+
isAccessUnavailable?: boolean;
|
|
445
447
|
isStreaming?: boolean;
|
|
446
448
|
processingUpdates?: AssistantChatProgress[];
|
|
447
449
|
streamingContent?: string;
|
|
@@ -545,6 +547,10 @@ declare const ASSISTANT_UI_COPY: {
|
|
|
545
547
|
placeholder: string;
|
|
546
548
|
startingMessage: string;
|
|
547
549
|
errorMessage: string;
|
|
550
|
+
offlineTitle: string;
|
|
551
|
+
accessUnavailableTitle: string;
|
|
552
|
+
accessUnavailableMessage: string;
|
|
553
|
+
offlineMessage: string;
|
|
548
554
|
};
|
|
549
555
|
interface SupportTicketFormValue {
|
|
550
556
|
name: string;
|
|
@@ -665,6 +671,7 @@ declare class MaxAssistantComponent implements OnInit, DoCheck {
|
|
|
665
671
|
protected getTableRowActions(table: AssistantResponseTable, rowIndex: number): AssistantResponseTableAction[];
|
|
666
672
|
protected useTableAction(action: AssistantResponseTableAction): void;
|
|
667
673
|
protected resolvePendingAction(message: AssistantMessage, decision: AssistantConfirmation['decision']): void;
|
|
674
|
+
private createErrorMessage;
|
|
668
675
|
private resolveErrorMessage;
|
|
669
676
|
protected onComposerKeydown(event: KeyboardEvent): void;
|
|
670
677
|
protected isDetailsVisible(messageId: string): boolean;
|