UNPKG

@progress/kendo-angular-conversational-ui

Version:

Kendo UI for Angular Conversational UI components

60 lines (59 loc) 1.82 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /** * Defines the settings for opening an Inline AI Prompt through the `InlineAIPromptService`. */ export class InlineAIPromptSettings { /** * The settings for the Inline AI Prompt Popup. */ popupSettings; /** * Sets the width of the component. * Accepts a number for pixels or a string for other units, for example, `50%`. */ width; /** * Sets the maximum height of the component. * Accepts a number for pixels or a string for other units, for example, `50%`. */ maxHeight; /** * Sets the value of the Inline AI Prompt TextArea. */ promptValue; /** * Sets the placeholder text for the Inline AI Prompt TextArea. */ placeholder; /** * Sets the action buttons for the output card. */ outputActions; /** * Sets the commands for the Inline AI Prompt TextArea prefix. */ promptCommands; /** * Sets the prompt output to display. */ promptOutput; /** * Controls the visibility and configuration of the Speech to Text button. */ enableSpeechToTextButton; /** * Sets the template for the output content. If not provided, uses the default output template. */ outputTemplate; /** * If `true`, the send button turns into a stop button. */ streaming; /** * Sets the titles of the buttons shown in the Inline AI Prompt. Use for localization. */ messages; }