import { HTMLAttributes } from 'vue'; import { MazInputProps } from './MazInput.vue'; import { MazSize } from './types'; export interface MazInputNumberProps { /** * The id of the input. */ id?: string; /** * The inline style object for the component. * @type {HTMLAttributes['style']} */ style?: HTMLAttributes['style']; /** * The CSS class name for the component. * @type {HTMLAttributes['class']} */ class?: HTMLAttributes['class']; /** * The value of the component (v-model). * @model */ modelValue?: number; /** * Whether the input number is disabled or not. */ disabled?: boolean; /** * The maximum value allowed for the input number. * @default Number.POSITIVE_INFINITY */ max?: number; /** * The minimum value allowed for the input number. * @default Number.NEGATIVE_INFINITY */ min?: number; /** * The step value for incrementing or decrementing the input number. * @default 1 */ step?: number; /** * The size of the input number component. * @type {MazSize} * @default 'md' */ size?: MazSize; /** * Whether to hide the increment and decrement buttons or not. * @default false */ hideButtons?: boolean; /** * Whether to center the text inside the input or not. * @default true */ textCenter?: boolean; /** * The inputmode attribute for the input. * @type {HTMLAttributes['inputmode']} */ inputmode?: HTMLAttributes['inputmode']; /** * The input will be displayed in full width */ block?: boolean; /** * Will display the input in error state. * @default false */ error?: boolean; /** * The hint text to display below the input. */ hint?: string; /** * Will display the input in success state. * @default false */ success?: boolean; /** * Will display the input in warning state. * @default false */ warning?: boolean; /** * The props for the input component. * @type {MazInputProps} */ inputProps?: MazInputProps; /** * Static label displayed above the input field. Unlike the floating label, this remains fixed * @example "User Information" */ topLabel?: string; } declare const _default: import('vue').DefineComponent any; change: (value: Event) => any; click: (value: Event) => any; focus: (value: Event) => any; "update:model-value": (value?: number | undefined) => any; }, string, import('vue').PublicProps, Readonly & Readonly<{ onBlur?: ((value: Event) => any) | undefined; onChange?: ((value: Event) => any) | undefined; onClick?: ((value: Event) => any) | undefined; onFocus?: ((value: Event) => any) | undefined; "onUpdate:model-value"?: ((value?: number | undefined) => any) | undefined; }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; export default _default;