/**----------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { NumberFormatOptions } from '@progress/kendo-angular-intl'; /** * Represents the available configuration options for the NumericTextBox components used in the recurrence editor. */ export interface NumericTextBoxOptions { /** * Specifies if the value is auto-corrected based on the minimum and maximum values * [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/precision). */ autoCorrect?: boolean; /** * Sets the greatest valid value * [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/precision#value-ranges). */ max?: number; /** * Sets the smallest valid value * [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/precision#value-ranges). */ min?: number; /** * Specifies if the NumericTextBox is in a read-only state * [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/readonly-state). */ readonly?: boolean; /** * Specifies if the whole value is selected when the NumericTextBox is clicked. * * @default true */ selectOnFocus?: boolean; /** * Specifies if the **Up** and **Down** spin buttons are rendered * [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/spin-buttons). */ spinners?: boolean; /** * Sets the value used to increment or decrement the component value * [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/predefined-step). */ step?: number; /** * Sets the title of the `input` element of the NumericTextBox. */ title?: string; /** * Sets the number format used when the NumericTextBox is not focused * [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/formats). * * If `format` is `null` or `undefined`, the default format is used. */ format: string | NumberFormatOptions | null | undefined; }