UNPKG

@progress/kendo-angular-conversational-ui

Version:

Kendo UI for Angular Conversational UI components

77 lines (76 loc) 2.27 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { LocalizationService } from '@progress/kendo-angular-l10n'; import { SVGIcon } from '@progress/kendo-svg-icons'; import { SpeechToTextButtonSettings } from '@progress/kendo-angular-buttons'; import { TextAreaSettings } from '@progress/kendo-angular-inputs'; import { BaseView } from './base-view'; import { AIPromptService } from '../common/aiprompt.service'; import * as i0 from "@angular/core"; /** * Represents the component that renders the **Prompt** view of the AIPrompt. * * @example * ```html * <kendo-aiprompt-prompt-view * buttonText="My prompt view"> * </kendo-aiprompt-prompt-view> * ``` */ export declare class PromptViewComponent extends BaseView { service: AIPromptService; constructor(localization: LocalizationService, service: AIPromptService); /** * @hidden */ get suggestionsIcons(): { font: string; svg: SVGIcon; }; /** * @hidden */ showSuggestions: boolean; /** * @hidden */ contentId: string; /** * @hidden */ get promptSuggestions(): string[]; /** * * @hidden */ set textAreaValue(value: string); get textAreaValue(): string; /** * @hidden */ suggestionClick(suggestion: string): void; /** * @hidden */ suggestionKeydown(event: KeyboardEvent, suggestion: string): void; /** * @hidden */ get speechToTextButtonSettings(): SpeechToTextButtonSettings; /** * @hidden */ get textareaSettings(): TextAreaSettings; /** * @hidden */ onSpeechToTextResult(event: any): void; /** * @hidden */ onSpeechToTextError(event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration<PromptViewComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<PromptViewComponent, "kendo-aiprompt-prompt-view", never, {}, {}, never, never, true, never>; }