/** * DevExtreme (ui/text_box.d.ts) * Version: 21.1.7 * Build date: Thu Aug 07 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ import { UserDefinedElement, } from '../core/element'; import { EventInfo, NativeEventInfo, InitializedEventInfo, ChangedOptionInfo, } from '../events/index'; import { ValueChangedInfo, } from './editor/editor'; import dxTextEditor, { dxTextEditorOptions, } from './text_box/ui.text_editor.base'; /** @public */ export type ChangeEvent = NativeEventInfo; /** @public */ export type ContentReadyEvent = EventInfo; /** @public */ export type CopyEvent = NativeEventInfo; /** @public */ export type CutEvent = NativeEventInfo; /** @public */ export type DisposingEvent = EventInfo; /** @public */ export type EnterKeyEvent = NativeEventInfo; /** @public */ export type FocusInEvent = NativeEventInfo; /** @public */ export type FocusOutEvent = NativeEventInfo; /** @public */ export type InitializedEvent = InitializedEventInfo; /** @public */ export type InputEvent = NativeEventInfo; /** @public */ export type KeyDownEvent = NativeEventInfo; /** @public */ export type KeyPressEvent = NativeEventInfo; /** @public */ export type KeyUpEvent = NativeEventInfo; /** @public */ export type OptionChangedEvent = EventInfo & ChangedOptionInfo; /** @public */ export type PasteEvent = NativeEventInfo; /** @public */ export type ValueChangedEvent = NativeEventInfo & ValueChangedInfo; /** * @deprecated use Properties instead * @namespace DevExpress.ui */ export interface dxTextBoxOptions extends dxTextEditorOptions { /** * @docid * @default null * @public */ maxLength?: string | number; /** * @docid * @type Enums.TextBoxMode * @default "text" * @public */ mode?: 'email' | 'password' | 'search' | 'tel' | 'text' | 'url'; /** * @docid * @default "" * @public */ value?: string; } /** * @docid * @isEditor * @inherits dxTextEditor * @namespace DevExpress.ui * @public */ export default class dxTextBox extends dxTextEditor { constructor(element: UserDefinedElement, options?: dxTextBoxOptions) } /** @public */ export type Properties = dxTextBoxOptions; /** @deprecated use Properties instead */ export type Options = dxTextBoxOptions; /** @deprecated use Properties instead */ export type IOptions = dxTextBoxOptions;