import * as i0 from '@angular/core'; import { OnDestroy, OnChanges, DoCheck, QueryList, EventEmitter, ElementRef, NgZone, TransferState, SimpleChanges } from '@angular/core'; import * as CommonTypes from 'devextreme/common'; import DxValidator, { DisposingEvent, InitializedEvent, OptionChangedEvent, ValidatedEvent } from 'devextreme/ui/validator'; import * as i3 from 'devextreme-angular/core'; import { DxComponentExtension, CollectionNestedOption, DxTemplateHost, WatcherHelper, IterableDifferHelper, NestedOptionHost } from 'devextreme-angular/core'; import * as i1 from 'devextreme-angular/ui/nested'; import * as i2 from 'devextreme-angular/ui/validator/nested'; export * from 'devextreme-angular/ui/validator/nested'; import * as validator_types from 'devextreme/ui/validator_types'; export { validator_types as DxValidatorTypes }; /*! * devextreme-angular * Version: 26.1.3 * Build date: Wed Jun 10 2026 * * Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/DevExtreme */ /** * A UI component that is used to validate the associated DevExtreme editors against the defined validation rules. */ declare class DxValidatorComponent extends DxComponentExtension implements OnDestroy, OnChanges, DoCheck { private _watcherHelper; private _idh; set _validationRulesContentChildren(value: QueryList); instance: DxValidator; /** * An object that specifies what and when to validate, and how to apply the validation result. */ get adapter(): { applyValidationResults?: Function; bypass?: Function; focus?: Function; getValue?: Function; reset?: Function; validationRequestsCallbacks?: Array; }; set adapter(value: { applyValidationResults?: Function; bypass?: Function; focus?: Function; getValue?: Function; reset?: Function; validationRequestsCallbacks?: Array; }); /** * Specifies the global attributes to be attached to the UI component's container element. */ get elementAttr(): Record; set elementAttr(value: Record); /** * Specifies the UI component's height. */ get height(): number | string | undefined; set height(value: number | string | undefined); /** * Specifies the editor name to be used in the validation default messages. */ get name(): string; set name(value: string); /** * Specifies the validation group the editor will be related to. */ get validationGroup(): string; set validationGroup(value: string); /** * An array of validation rules to be checked for the editor with which the dxValidator object is associated. */ get validationRules(): Array; set validationRules(value: Array); /** * Specifies the UI component's width. */ get width(): number | string | undefined; set width(value: number | string | undefined); /** * A function that is executed before the UI component is disposed of. */ onDisposing: EventEmitter; /** * A function used in JavaScript frameworks to save the UI component instance. */ onInitialized: EventEmitter; /** * A function that is executed after a UI component property is changed. */ onOptionChanged: EventEmitter; /** * A function that is executed after a value is validated. */ onValidated: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ adapterChange: EventEmitter<{ applyValidationResults?: Function; bypass?: Function; focus?: Function; getValue?: Function; reset?: Function; validationRequestsCallbacks?: Array; }>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ elementAttrChange: EventEmitter>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ heightChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ nameChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ validationGroupChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ validationRulesChange: EventEmitter>; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ widthChange: EventEmitter; parentElement: any; constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost, _watcherHelper: WatcherHelper, _idh: IterableDifferHelper, parentOptionHost: NestedOptionHost, optionHost: NestedOptionHost, transferState: TransferState, platformId: any); protected _createInstance(element: any, options: any): DxValidator; private getParentElement; ngOnDestroy(): void; ngOnChanges(changes: SimpleChanges): void; setupChanges(prop: string, changes: SimpleChanges): void; ngDoCheck(): void; _setOption(name: string, value: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DxValidatorModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { DxValidatorComponent, DxValidatorModule }; //# sourceMappingURL=index.d.ts.map