import { h } from '@stencil/core'; import { CaptionType, CaptionTypes } from './input-caption.types'; import { MessageContentType } from './input-caption.enum'; import { CaptionInfo, Caption } from './caption.interface'; import { ConsoleMessageClass } from '../../console-message/console-message'; export class InputCaption implements CaptionInfo { /** * The text to display as caption. */ captionText: string; /** * The type of caption to render. */ captionType?: CaptionType = 'default'; /** * Determine whether the input field is required. */ required?: boolean = false; /** * Determine whether the rendered element is a `