devextreme-angular
Version:
Angular UI and visualization components based on DevExtreme widgets
95 lines (75 loc) • 4.27 kB
TypeScript
/*!
* devextreme-angular
* Version: 24.2.6
* Build date: Mon Mar 17 2025
*
* Copyright (c) 2012 - 2025 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-angular
*/
import { TransferState, ElementRef, NgZone, OnDestroy, EventEmitter } from '@angular/core';
import { DisposingEvent, InitializedEvent, OptionChangedEvent } from 'devextreme/ui/validation_group';
import DxValidationGroup from 'devextreme/ui/validation_group';
import { DxComponent, DxTemplateHost, NestedOptionHost, WatcherHelper } from 'devextreme-angular/core';
import type * as DxValidationGroupTypes from "devextreme/ui/validation_group_types";
import * as i0 from "@angular/core";
import * as i1 from "devextreme-angular/core";
/**
* The ValidationGroup is a UI component that allows you to validate several editors simultaneously.
*/
export declare class DxValidationGroupComponent extends DxComponent implements OnDestroy {
instance: DxValidationGroup;
/**
* Specifies the global attributes to be attached to the UI component's container element.
*/
get elementAttr(): Record<string, any>;
set elementAttr(value: Record<string, any>);
/**
* Specifies the UI component's height.
*/
get height(): (() => number | string) | number | string | undefined;
set height(value: (() => number | string) | number | string | undefined);
/**
* Specifies the UI component's width.
*/
get width(): (() => number | string) | number | string | undefined;
set width(value: (() => number | string) | number | string | undefined);
/**
* A function that is executed before the UI component is disposed of.
*/
onDisposing: EventEmitter<DisposingEvent>;
/**
* A function used in JavaScript frameworks to save the UI component instance.
*/
onInitialized: EventEmitter<InitializedEvent>;
/**
* A function that is executed after a UI component property is changed.
*/
onOptionChanged: EventEmitter<OptionChangedEvent>;
/**
* This member supports the internal infrastructure and is not intended to be used directly from your code.
*/
elementAttrChange: EventEmitter<Record<string, any>>;
/**
* This member supports the internal infrastructure and is not intended to be used directly from your code.
*/
heightChange: EventEmitter<(() => number | string) | number | string | undefined>;
/**
* This member supports the internal infrastructure and is not intended to be used directly from your code.
*/
widthChange: EventEmitter<(() => number | string) | number | string | undefined>;
constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost, _watcherHelper: WatcherHelper, optionHost: NestedOptionHost, transferState: TransferState, platformId: any);
protected _createInstance(element: any, options: any): DxValidationGroup;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<DxValidationGroupComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<DxValidationGroupComponent, "dx-validation-group", never, { "elementAttr": { "alias": "elementAttr"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, { "onDisposing": "onDisposing"; "onInitialized": "onInitialized"; "onOptionChanged": "onOptionChanged"; "elementAttrChange": "elementAttrChange"; "heightChange": "heightChange"; "widthChange": "widthChange"; }, never, ["*"], false, never>;
}
export declare class DxValidationGroupModule {
static ɵfac: i0.ɵɵFactoryDeclaration<DxValidationGroupModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<DxValidationGroupModule, [typeof DxValidationGroupComponent], [typeof i1.DxIntegrationModule, typeof i1.DxTemplateModule], [typeof DxValidationGroupComponent, typeof i1.DxTemplateModule]>;
static ɵinj: i0.ɵɵInjectorDeclaration<DxValidationGroupModule>;
}
export { DxValidationGroupTypes };