text: import { __decorate, __metadata, __param } from 'tslib';
  import { TransferState, BrowserTransferStateModule } from '@angular/platform-browser';
  import { ElementRef, NgZone, Inject, PLATFORM_ID, Input, Output, EventEmitter, Component, NgModule } from '@angular/core';
  import DxValidationGroup from 'devextreme/ui/validation_group';
  import { DxComponent, DxTemplateHost, WatcherHelper, NestedOptionHost, DxIntegrationModule, DxTemplateModule } from 'devextreme-angular/core';
  
  /*!
   * devextreme-angular
   * Version: 21.2.5
   * Build date: Mon Jan 17 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
   */
  /**
   * The ValidationGroup is a UI component that allows you to validate several editors simultaneously.
  
   */
  import * as ɵngcc0 from '@angular/core';
  import * as ɵngcc1 from 'devextreme-angular/core';
  import * as ɵngcc2 from '@angular/platform-browser';
  
  const _c0 = ["*"];
  let DxValidationGroupComponent = class DxValidationGroupComponent extends DxComponent {
      constructor(elementRef, ngZone, templateHost, _watcherHelper, optionHost, transferState, platformId) {
          super(elementRef, ngZone, templateHost, _watcherHelper, transferState, platformId);
          this._createEventEmitters([
              { subscribe: 'disposing', emit: 'onDisposing' },
              { subscribe: 'initialized', emit: 'onInitialized' },
              { subscribe: 'optionChanged', emit: 'onOptionChanged' },
              { emit: 'elementAttrChange' },
              { emit: 'heightChange' },
              { emit: 'widthChange' }
          ]);
          optionHost.setHost(this);
      }
      /**
       * Specifies the global attributes to be attached to the UI component&apos;s container element.
      
       */
      get elementAttr() {
          return this._getOption('elementAttr');
      }
      set elementAttr(value) {
          this._setOption('elementAttr', value);
      }
      /**
       * Specifies the UI component&apos;s height.
      
       */
      get height() {
          return this._getOption('height');
      }
      set height(value) {
          this._setOption('height', value);
      }
      /**
       * Specifies the UI component&apos;s width.
      
       */
      get width() {
          return this._getOption('width');
      }
      set width(value) {
          this._setOption('width', value);
      }
      _createInstance(element, options) {
          return new DxValidationGroup(element, options);
      }
      ngOnDestroy() {
          this._destroyWidget();
      }
  };
  DxValidationGroupComponent.ɵfac = function DxValidationGroupComponent_Factory(t) { return new (t || DxValidationGroupComponent)(ɵngcc0.ɵɵdirectiveInject(ɵngcc0.ElementRef), ɵngcc0.ɵɵdirectiveInject(ɵngcc0.NgZone), ɵngcc0.ɵɵdirectiveInject(ɵngcc1.DxTemplateHost), ɵngcc0.ɵɵdirectiveInject(ɵngcc1.WatcherHelper), ɵngcc0.ɵɵdirectiveInject(ɵngcc1.NestedOptionHost), ɵngcc0.ɵɵdirectiveInject(ɵngcc2.TransferState), ɵngcc0.ɵɵdirectiveInject(PLATFORM_ID)); };
  DxValidationGroupComponent.ɵcmp = ɵngcc0.ɵɵdefineComponent({ type: DxValidationGroupComponent, selectors: [["dx-validation-group"]], inputs: { elementAttr: "elementAttr", height: "height", width: "width" }, outputs: { onDisposing: "onDisposing", onInitialized: "onInitialized", onOptionChanged: "onOptionChanged", elementAttrChange: "elementAttrChange", heightChange: "heightChange", widthChange: "widthChange" }, features: [ɵngcc0.ɵɵProvidersFeature([
              DxTemplateHost,
              WatcherHelper,
              NestedOptionHost
          ]), ɵngcc0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function DxValidationGroupComponent_Template(rf, ctx) { if (rf & 1) {
          ɵngcc0.ɵɵprojectionDef();
          ɵngcc0.ɵɵprojection(0);
      } }, encapsulation: 2 });
  DxValidationGroupComponent.ctorParameters = () => [
      { type: ElementRef },
      { type: NgZone },
      { type: DxTemplateHost },
      { type: WatcherHelper },
      { type: NestedOptionHost },
      { type: TransferState },
      { type: undefined, decorators: [{ type: Inject, args: [PLATFORM_ID,] }] }
  ];
  __decorate([
      Input(),
      __metadata("design:type", Object),
      __metadata("design:paramtypes", [Object])
  ], DxValidationGroupComponent.prototype, "elementAttr", null);
  __decorate([
      Input(),
      __metadata("design:type", Object),
      __metadata("design:paramtypes", [Object])
  ], DxValidationGroupComponent.prototype, "height", null);
  __decorate([
      Input(),
      __metadata("design:type", Object),
      __metadata("design:paramtypes", [Object])
  ], DxValidationGroupComponent.prototype, "width", null);
  __decorate([
      Output(),
      __metadata("design:type", EventEmitter)
  ], DxValidationGroupComponent.prototype, "onDisposing", void 0);
  __decorate([
      Output(),
      __metadata("design:type", EventEmitter)
  ], DxValidationGroupComponent.prototype, "onInitialized", void 0);
  __decorate([
      Output(),
      __metadata("design:type", EventEmitter)
  ], DxValidationGroupComponent.prototype, "onOptionChanged", void 0);
  __decorate([
      Output(),
      __metadata("design:type", EventEmitter)
  ], DxValidationGroupComponent.prototype, "elementAttrChange", void 0);
  __decorate([
      Output(),
      __metadata("design:type", EventEmitter)
  ], DxValidationGroupComponent.prototype, "heightChange", void 0);
  __decorate([
      Output(),
      __metadata("design:type", EventEmitter)
  ], DxValidationGroupComponent.prototype, "widthChange", void 0);
  DxValidationGroupComponent = __decorate([ __param(6, Inject(PLATFORM_ID)),
      __metadata("design:paramtypes", [ElementRef, NgZone, DxTemplateHost,
          WatcherHelper,
          NestedOptionHost,
          TransferState, Object])
  ], DxValidationGroupComponent);
  let DxValidationGroupModule = class DxValidationGroupModule {
  };
  DxValidationGroupModule.ɵfac = function DxValidationGroupModule_Factory(t) { return new (t || DxValidationGroupModule)(); };
  DxValidationGroupModule.ɵmod = ɵngcc0.ɵɵdefineNgModule({ type: DxValidationGroupModule });
  DxValidationGroupModule.ɵinj = ɵngcc0.ɵɵdefineInjector({ imports: [[
              DxIntegrationModule,
              DxTemplateModule,
              BrowserTransferStateModule
          ], DxTemplateModule] });
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DxValidationGroupComponent, [{
          type: Component,
          args: [{
                  selector: 'dx-validation-group',
                  template: '<ng-content></ng-content>',
                  providers: [
                      DxTemplateHost,
                      WatcherHelper,
                      NestedOptionHost
                  ]
              }]
      }], function () { return [{ type: ɵngcc0.ElementRef }, { type: ɵngcc0.NgZone }, { type: ɵngcc1.DxTemplateHost }, { type: ɵngcc1.WatcherHelper }, { type: ɵngcc1.NestedOptionHost }, { type: ɵngcc2.TransferState }, { type: undefined, decorators: [{
                  type: Inject,
                  args: [PLATFORM_ID]
              }] }]; }, { elementAttr: [{
              type: Input
          }], height: [{
              type: Input
          }], width: [{
              type: Input
          }], onDisposing: [{
              type: Output
          }], onInitialized: [{
              type: Output
          }], onOptionChanged: [{
              type: Output
          }], elementAttrChange: [{
              type: Output
          }], heightChange: [{
              type: Output
          }], widthChange: [{
              type: Output
          }] }); })();
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵngcc0.ɵɵsetNgModuleScope(DxValidationGroupModule, { declarations: function () { return [DxValidationGroupComponent]; }, imports: function () { return [DxIntegrationModule,
          DxTemplateModule,
          BrowserTransferStateModule]; }, exports: function () { return [DxValidationGroupComponent, DxTemplateModule]; } }); })();
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(DxValidationGroupModule, [{
          type: NgModule,
          args: [{
                  imports: [
                      DxIntegrationModule,
                      DxTemplateModule,
                      BrowserTransferStateModule
                  ],
                  declarations: [
                      DxValidationGroupComponent
                  ],
                  exports: [
                      DxValidationGroupComponent,
                      DxTemplateModule
                  ]
              }]
      }], null, null); })();
  
  /**
   * Generated bundle index. Do not edit.
   */
  
  export { DxValidationGroupComponent, DxValidationGroupModule };
  
  //# sourceMappingURL=devextreme-angular-ui-validation-group.js.map