// Type definitions for @dyna-grid/core v1.1.4 // Project: // Definitions by: zhangkun <> import { IDyLabel } from './dyAbstractLabel'; import { DyAbstractField as DyAbstractField, FieldElement } from './dyAbstractField'; export interface IInputField extends IDyLabel { value?: any; width?: number; } export declare abstract class DyAbstractInputField extends DyAbstractField { private readonly inputType; private readonly displayFieldTag; protected readonly eLabel: HTMLElement; protected readonly eWrapper: HTMLElement; protected readonly eInput: TElement; constructor(config?: TConfig, className?: string, inputType?: string | null, displayFieldTag?: string); protected postConstruct(): void; protected refreshLabel(): void; protected addInputListeners(): void; private setInputType; getInputElement(): TElement; setInputWidth(width: number | 'flex'): this; setInputName(name: string): this; getFocusableElement(): HTMLElement; setMaxLength(length: number): this; setInputPlaceholder(placeholder: string): this; setInputAriaLabel(label: string): this; setDisabled(disabled: boolean): this; }