max-agent-ui 0.0.32 → 0.0.34
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 +62 -8
- package/fesm2022/max-agent-ui.mjs.map +1 -1
- package/index.d.ts +10 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -181,12 +181,15 @@ interface AssistantDisplayResponse {
|
|
|
181
181
|
rota?: AssistantRotaCalendar;
|
|
182
182
|
markdown?: string;
|
|
183
183
|
}
|
|
184
|
-
type AssistantHelpIcon = 'budget' | 'calendar' | 'document' | 'megaphone' | 'people' | 'team' | 'time-off' | 'timesheet' | 'workflow';
|
|
184
|
+
type AssistantHelpIcon = 'action' | 'analytics' | 'budget' | 'calendar' | 'document' | 'knowledge' | 'megaphone' | 'people' | 'team' | 'time-off' | 'timesheet' | 'workflow';
|
|
185
185
|
interface AssistantHelpGuide {
|
|
186
|
+
kind?: 'help' | 'knowledge' | 'analytics' | 'action' | 'procedure' | 'information';
|
|
186
187
|
title: string;
|
|
187
188
|
summary: string;
|
|
188
189
|
icon: AssistantHelpIcon;
|
|
189
190
|
steps: string[];
|
|
191
|
+
continuation?: boolean;
|
|
192
|
+
content?: string;
|
|
190
193
|
tips?: string[];
|
|
191
194
|
restrictions?: string[];
|
|
192
195
|
accessNote?: string;
|
|
@@ -541,6 +544,7 @@ declare class MaxAssistantComponent implements OnInit {
|
|
|
541
544
|
private readonly destroyRef;
|
|
542
545
|
private readonly defaultConfig;
|
|
543
546
|
private messagesViewport?;
|
|
547
|
+
private activeTurnAnchorMessageId?;
|
|
544
548
|
private composerInput?;
|
|
545
549
|
private supportQueryInput?;
|
|
546
550
|
private feedbackInput?;
|
|
@@ -619,6 +623,9 @@ declare class MaxAssistantComponent implements OnInit {
|
|
|
619
623
|
protected searchResultIcon(type: string): string;
|
|
620
624
|
protected searchActionIcon(action: AssistantSearchResult['actions'][number]): string;
|
|
621
625
|
protected helpIcon(icon: AssistantHelpGuide['icon']): string;
|
|
626
|
+
protected helpGuideLabel(kind: AssistantHelpGuide['kind']): string;
|
|
627
|
+
protected isContentGuide(kind: AssistantHelpGuide['kind']): boolean;
|
|
628
|
+
protected helpGuideMarkdownVariant(kind: AssistantHelpGuide['kind']): 'default' | 'information';
|
|
622
629
|
protected getTableRowActions(table: AssistantResponseTable, rowIndex: number): AssistantResponseTableAction[];
|
|
623
630
|
protected useTableAction(action: AssistantResponseTableAction): void;
|
|
624
631
|
protected resolvePendingAction(message: AssistantMessage, decision: AssistantConfirmation['decision']): void;
|
|
@@ -679,6 +686,7 @@ declare class MaxAssistantComponent implements OnInit {
|
|
|
679
686
|
private createAssistantResponseMessage;
|
|
680
687
|
private createMessage;
|
|
681
688
|
private createDisplayResponse;
|
|
689
|
+
private typedHelpGuide;
|
|
682
690
|
private createExtractedIntent;
|
|
683
691
|
private getToolApiCalls;
|
|
684
692
|
private getSampleJsonResponseFallback;
|
|
@@ -695,6 +703,7 @@ declare class MaxAssistantComponent implements OnInit {
|
|
|
695
703
|
private traceStepKey;
|
|
696
704
|
private getConversationHistory;
|
|
697
705
|
private scrollToLatest;
|
|
706
|
+
private scrollToMessage;
|
|
698
707
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaxAssistantComponent, never>;
|
|
699
708
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaxAssistantComponent, "max-assistant", never, { "app": { "alias": "app"; "required": false; }; "assistantApiUrl": { "alias": "assistantApiUrl"; "required": false; }; "user": { "alias": "user"; "required": false; }; "context": { "alias": "context"; "required": false; }; "requestHeaders": { "alias": "requestHeaders"; "required": false; }; "developerDetailsEnabled": { "alias": "developerDetailsEnabled"; "required": false; }; }, { "hostAction": "hostAction"; "closeRequested": "closeRequested"; }, never, never, true, never>;
|
|
700
709
|
}
|