@progress/kendo-angular-conversational-ui
Version:
Kendo UI for Angular Conversational UI components
41 lines (40 loc) • 2.24 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { ElementRef, EventEmitter, QueryList } from '@angular/core';
import { Action } from './api/action.interface';
import { ChatItem } from './chat-item';
import { ChatSuggestion } from './api/chat-suggestion.interface';
import { ChatSuggestionTemplateDirective } from './templates/suggestion-template.directive';
import * as i0 from "@angular/core";
/**
* @hidden
*/
export declare class SuggestedActionsComponent extends ChatItem {
actions: Action[];
suggestions: ChatSuggestion[];
tabbable: boolean;
suggestionTemplate: ChatSuggestionTemplateDirective;
dispatchAction: EventEmitter<Action>;
dispatchSuggestion: EventEmitter<ChatSuggestion>;
defaultClass: boolean;
role: string;
items: QueryList<ElementRef>;
selectedIndex: number;
activeIndex: number;
active: boolean;
private actionKeyHandlers;
private suggestionKeyHandlers;
isSelected(index: number): boolean;
isActive(index: number): boolean;
actionClick(action: Action, index?: number): void;
suggestionClick(suggestion: ChatSuggestion, index?: number): void;
toggleActiveState(apply: boolean, index: number): void;
actionKeydown(e: any, action: Action): void;
suggestionKeydown(e: any, suggestion: ChatSuggestion): void;
focus(): void;
private changeSelectedIndex;
static ɵfac: i0.ɵɵFactoryDeclaration<SuggestedActionsComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SuggestedActionsComponent, "kendo-chat-suggested-actions", never, { "actions": { "alias": "actions"; "required": false; }; "suggestions": { "alias": "suggestions"; "required": false; }; "tabbable": { "alias": "tabbable"; "required": false; }; "suggestionTemplate": { "alias": "suggestionTemplate"; "required": false; }; }, { "dispatchAction": "dispatchAction"; "dispatchSuggestion": "dispatchSuggestion"; }, never, never, true, never>;
}