/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * Font size in pixels. Defaults to 16 if not set. */ export type FontSize = number; /** * Weight of the text. Defaults to 'normal'. */ export type FontWeight = | "normal" | "bold" | "lighter" | "bolder" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900"; /** * Style of the text. Defaults to 'normal'. */ export type FontStyle = "normal" | "italic" | "oblique"; /** * Horizontal alignment of the text within the widget tile. Defaults to 'left'. */ export type TextAlignment = "left" | "center" | "right" | "justify"; /** * Vertical alignment of the text within the widget tile. Defaults to 'center'. */ export type VerticalAlignment = "top" | "center" | "bottom"; /** * A lightweight label widget for displaying a single configurable text string. Use this widget for headings, captions, status indicators, KPI labels, or any place a dashboard needs simple styled text. The widget exposes typography controls (font size, color, weight, alignment) and an optional background color so it can be themed independently of the surrounding tile. */ export interface InputData { text?: Text; fontColor?: FontColor; fontSize?: FontSize; fontWeight?: FontWeight; fontStyle?: FontStyle; textAlign?: TextAlignment; verticalAlign?: VerticalAlignment; backgroundColor?: BackgroundColor; [k: string]: unknown; } /** * The text content to display. Supports plain text and standard whitespace; line breaks are preserved. */ export interface Text { [k: string]: unknown; } /** * CSS color for the text (e.g. '#291f42', 'red', 'rgb(0,0,0)'). If empty, the platform theme's text color is used. */ export interface FontColor { [k: string]: unknown; } /** * CSS color for the widget background (e.g. '#ffffff', 'transparent'). If empty, the platform theme's tile background is used. */ export interface BackgroundColor { [k: string]: unknown; }