| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- /*!
- * devextreme-angular
- * Version: 19.1.16
- * Build date: Tue Oct 18 2022
- *
- * Copyright (c) 2012 - 2022 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 } from '@angular/platform-browser';
- import { ElementRef, NgZone, OnDestroy, EventEmitter, OnChanges, DoCheck, SimpleChanges, QueryList } from '@angular/core';
- import DxValidationSummary from 'devextreme/ui/validation_summary';
- import { DxComponent } from '../core/component';
- import { DxTemplateHost } from '../core/template-host';
- import { NestedOptionHost } from '../core/nested-option';
- import { WatcherHelper } from '../core/watcher-helper';
- import { IterableDifferHelper } from '../core/iterable-differ-helper';
- import { DxiItemComponent } from './nested/item-dxi';
- /**
- * A widget for displaying the result of checking validation rules for editors.
- */
- export declare class DxValidationSummaryComponent extends DxComponent implements OnDestroy, OnChanges, DoCheck {
- private _watcherHelper;
- private _idh;
- instance: DxValidationSummary;
- /**
- * Specifies the attributes to be attached to the widget's root element.
- */
- elementAttr: any;
- /**
- * Specifies whether the widget changes its state when a user pauses on it.
- */
- hoverStateEnabled: boolean;
- /**
- * An array of items displayed by the widget.
- */
- items: Array<string | any | {
- disabled?: boolean;
- html?: string;
- template?: any;
- text?: string;
- visible?: boolean;
- }>;
- /**
- * Specifies a custom template for items.
- */
- itemTemplate: any;
- /**
- * Specifies the validation group for which summary should be generated.
- */
- validationGroup: string;
- /**
- * A function that is executed when the widget's content is ready and each time the content is changed.
- */
- onContentReady: EventEmitter<any>;
- /**
- * A function that is executed before the widget is disposed of.
- */
- onDisposing: EventEmitter<any>;
- /**
- * A function used in JavaScript frameworks to save the widget instance.
- */
- onInitialized: EventEmitter<any>;
- /**
- * A function that is executed when a collection item is clicked or tapped.
- */
- onItemClick: EventEmitter<any>;
- /**
- * A function that is executed after a widget option is changed.
- */
- onOptionChanged: EventEmitter<any>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- elementAttrChange: EventEmitter<any>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- hoverStateEnabledChange: EventEmitter<boolean>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- itemsChange: EventEmitter<Array<string | any | {
- disabled?: boolean;
- html?: string;
- template?: any;
- text?: string;
- visible?: boolean;
- }>>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- itemTemplateChange: EventEmitter<any>;
- /**
- * This member supports the internal infrastructure and is not intended to be used directly from your code.
- */
- validationGroupChange: EventEmitter<string>;
- itemsChildren: QueryList<DxiItemComponent>;
- constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost, _watcherHelper: WatcherHelper, _idh: IterableDifferHelper, optionHost: NestedOptionHost, transferState: TransferState, platformId: any);
- protected _createInstance(element: any, options: any): DxValidationSummary;
- ngOnDestroy(): void;
- ngOnChanges(changes: SimpleChanges): void;
- setupChanges(prop: string, changes: SimpleChanges): void;
- ngDoCheck(): void;
- _setOption(name: string, value: any): void;
- }
- export declare class DxValidationSummaryModule {
- }
|