import { EventEmitter } from '../../stencil-public-runtime'; import { DateStructure } from "./exports"; export declare class InputDate { host: HTMLRInputDateElement; /** Specifies the `id` of the `
` to which the element belongs */ form?: string; /** Specifies if element must be ignored during validation of the form elements */ novalidate?: boolean; /** Specifies a name for a input */ name: string; /** Specifies a date format */ format: string; /** The value of the date input */ value?: string | null; /** The text on the label */ label: string; /** Text of an additional marker in the label */ fieldIndicator?: string; /** * Optional hint, visually presented under the input, * giving additional context to the user */ hint?: string; /** Defines if the component suppose to occupy 100% width */ fullWidth?: boolean; /** Defines label for the input for the day */ dayAriaLabel: string; /** Defines label for the input for the month */ monthAriaLabel: string; /** Defines label for the input for the year */ yearAriaLabel: string; /** Visual indication of valid state */ valid?: boolean; /** Validity indicator, serving to change UI of the component */ invalid?: boolean; /** The way to provide error message separately from Constraint Validation API. */ error?: string; /** Prevents user interaction and applies disabled style */ disabled?: boolean; /** * Makes the date inputs read-only: users can focus and copy the value, * but cannot modify it (value still submitted with the form unlike disabled). */ readonly?: boolean; /** Specifies that an input is required/must be filled out */ required?: boolean; /** Set custom message for `valueMissing` property of a ValidityState object (set by `required`) */ valueMissingMessage?: string; /** Custom error message displayed when date is not valid. */ invalidDateMessage?: string; /** * Minimum date value (in the same format as the date input). * Note: When changing the `format` prop, ensure `min` is also updated to match the new format. */ min?: string; /** * Maximum date value (in the same format as the date input). * Note: When changing the `format` prop, ensure `max` is also updated to match the new format. */ max?: string; /** Custom error message displayed when date is before the minimum date. */ rangeUnderflowMessage?: string; /** Custom error message displayed when date is after the maximum date. */ rangeOverflowMessage?: string; /** Custom error message displayed for any validation failures in the input. */ customErrorMessage?: string; /** Save current value */ currentValues: DateStructure; /** Defines date delimiter */ delimiter: string; /** Validity state passed from validateFormElement function after validation */ validityState: string; /** Validity message passed from validateFormElement function after validation */ validityMessage: string; /** Defines if the component has been touched by user */ touched: boolean; /** Defines if the value has been changed by user interaction */ dirty: boolean; /** Emits event after each validation */ rValidate: EventEmitter<{ state: string; message: string; }>; /** Emits 'rInput' event when value of the component is changing */ rInput: EventEmitter<{ element: HTMLRInputDateElement; value: any; }>; /** Emits 'rChange' event when value of the component has been changed */ rChange: EventEmitter<{ element: HTMLRInputDateElement; value: any; }>; /** Emits 'rReset' event when form containing the component was reset */ rReset: EventEmitter<{ element: HTMLRInputDateElement; value: any; }>; handleFormatChange(): void; handleValueChange(): void; /** Get the date value */ getValue(): Promise; /** Sets the date value */ setValue(value: string): Promise; /** Gets the current date format */ getFormat(): Promise; /** Sets the date format */ setFormat(format: string): Promise; /** Gets the touched state (whether user has interacted with the input) */ isTouched(): Promise; /** Gets the dirty state (whether value has been changed by user) */ isDirty(): Promise; /** Resets touched and dirty states to pristine (untouched/clean) */ markAsPristine(): Promise; /** * Resets the component by clearing all input values and focusing the first input. * @returns Promise that resolves when reset is complete */ reset(): Promise; /** Validates an element, displays provided message in case value is invalid. */ setCustomValidity(message: string): Promise; /** * Validates the input date without triggering UI and returns a boolean indicating its validity. * @returns A boolean indicating whether the input date is valid. */ checkValidity(): Promise; /** * Initial attributes state * */ private initial; private uniqueId; private nativeElement; private get inputs(); private get inputOrder(); private get message(); private get hasMessage(); private get ariaDescribedBy(); /** Identify wrapping form element */ private get parentFormEl(); /** * Determine whether this element should be ignored * during Constraint Validation API validation. * */ private get isNoValidate(); private get firstEmptyInput(); private get hasTrailingSlot(); private getDateComponent; private setDateComponent; private getInputAttrs; private getDelimiter; private updateValue; private onHostClick; private onInputClick; private createKeyDownHandler; private handleKeyDown; private handlePaste; private createInputHandler; private handleInput; private createChangeHandler; private handleChange; private handleBlur; private getValidityStateData; private validateFormElement; private onResetForm; private onSubmitForm; private contributeToFormData; private setCurrentValues; componentWillLoad(): void; private connectFormEventListeners; private disconnectFormEventListeners; connectedCallback(): void; componentDidLoad(): void; disconnectedCallback(): void; render(): any; }