@progress/kendo-angular-conversational-ui
Version:
Kendo UI for Angular Conversational UI components
67 lines (66 loc) • 2.54 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 { SpeechToTextButtonSettings } from "@progress/kendo-angular-buttons";
import { InlineAIPromptOutputAction } from "./output-action.interface";
import { InlineAIPromptCommand } from "./command.interface";
import { InlineAIPromptOutput } from "./prompt-output.interface";
import { InlineAIPromptMessages } from "./messages";
import { TemplateRef } from "@angular/core";
import { InlineAIPromptPopupSettings } from "./inlineaiprompt-popupsettings";
/**
* Defines the settings for opening an Inline AI Prompt through the `InlineAIPromptService`.
*/
export declare class InlineAIPromptSettings {
/**
* The settings for the Inline AI Prompt Popup.
*/
popupSettings?: InlineAIPromptPopupSettings;
/**
* Sets the width of the component.
* Accepts a number for pixels or a string for other units, for example, `50%`.
*/
width?: number | string;
/**
* Sets the maximum height of the component.
* Accepts a number for pixels or a string for other units, for example, `50%`.
*/
maxHeight?: number | string;
/**
* Sets the value of the Inline AI Prompt TextArea.
*/
promptValue?: string;
/**
* Sets the placeholder text for the Inline AI Prompt TextArea.
*/
placeholder?: string;
/**
* Sets the action buttons for the output card.
*/
outputActions?: InlineAIPromptOutputAction[];
/**
* Sets the commands for the Inline AI Prompt TextArea prefix.
*/
promptCommands?: InlineAIPromptCommand[];
/**
* Sets the prompt output to display.
*/
promptOutput?: InlineAIPromptOutput;
/**
* Controls the visibility and configuration of the Speech to Text button.
*/
enableSpeechToTextButton?: boolean | SpeechToTextButtonSettings;
/**
* Sets the template for the output content. If not provided, uses the default output template.
*/
outputTemplate?: TemplateRef<any>;
/**
* If `true`, the send button turns into a stop button.
*/
streaming?: boolean;
/**
* Sets the titles of the buttons shown in the Inline AI Prompt. Use for localization.
*/
messages?: InlineAIPromptMessages;
}