@progress/kendo-angular-conversational-ui
Version:
Kendo UI for Angular Conversational UI components
39 lines (38 loc) • 1.27 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 { SVGIcon } from "@progress/kendo-svg-icons";
/**
* Defines the interface for the Inline AI Prompt commands that display in the input.
*/
export interface InlineAIPromptCommand {
/**
* Represents the unique identifier of the command.
*/
id: string | number;
/**
* Specifies the command text.
*/
text?: string;
/**
* Defines the prompt that the component uses when the command executes.
*/
prompt?: string;
/**
* Sets the name of the [font icon](slug:icons#icons-list) to render for the command.
*/
icon?: string;
/**
* Sets the name of the [SVG icon](slug:svgicon_list) to render for the command.
*/
svgIcon?: SVGIcon;
/**
* Specifies whether the command is disabled.
*/
disabled?: boolean;
/**
* Specifies the subcommands of the command.
*/
children?: InlineAIPromptCommand[];
}