UNPKG

devextreme-angular

Version:

Angular UI and visualization components based on DevExtreme widgets

30 lines (28 loc) 5.54 kB
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/platform-browser"),require("@angular/core"),require("devextreme/ui/validation_group"),require("devextreme-angular/core")):"function"==typeof define&&define.amd?define("devextreme-angular/ui/validation-group",["exports","@angular/platform-browser","@angular/core","devextreme/ui/validation_group","devextreme-angular/core"],t):t(((e=e||self)["devextreme-angular"]=e["devextreme-angular"]||{},e["devextreme-angular"].ui=e["devextreme-angular"].ui||{},e["devextreme-angular"].ui["validation-group"]={}),e.ng.platformBrowser,e.ng.core,e.DxValidationGroup,e["devextreme-angular"].core)}(this,(function(e,t,n,o,r){"use strict";o=o&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function p(e,t,n,o){var r,i=arguments.length,p=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)p=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(p=(i<3?r(p):i>3?r(t,n,p):r(t,n))||p);return i>3&&p&&Object.defineProperty(t,n,p),p}function a(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)} /*! * devextreme-angular * Version: 20.2.5 * Build date: Fri Jan 15 2021 * * Copyright (c) 2012 - 2021 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 */ var u=function(e){function u(t,n,o,r,i,p,a){var u=e.call(this,t,n,o,r,p,a)||this;return u._createEventEmitters([{subscribe:"disposing",emit:"onDisposing"},{subscribe:"initialized",emit:"onInitialized"},{subscribe:"optionChanged",emit:"onOptionChanged"},{emit:"elementAttrChange"},{emit:"heightChange"},{emit:"widthChange"}]),i.setHost(u),u}var s,c;return function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(u,e),Object.defineProperty(u.prototype,"elementAttr",{get:function(){return this._getOption("elementAttr")},set:function(e){this._setOption("elementAttr",e)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"height",{get:function(){return this._getOption("height")},set:function(e){this._setOption("height",e)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"width",{get:function(){return this._getOption("width")},set:function(e){this._setOption("width",e)},enumerable:!0,configurable:!0}),u.prototype._createInstance=function(e,t){return new o(e,t)},u.prototype.ngOnDestroy=function(){this._destroyWidget()},u.ctorParameters=function(){return[{type:n.ElementRef},{type:n.NgZone},{type:r.DxTemplateHost},{type:r.WatcherHelper},{type:r.NestedOptionHost},{type:t.TransferState},{type:void 0,decorators:[{type:n.Inject,args:[n.PLATFORM_ID]}]}]},p([n.Input(),a("design:type",Object),a("design:paramtypes",[Object])],u.prototype,"elementAttr",null),p([n.Input(),a("design:type",Object),a("design:paramtypes",[Object])],u.prototype,"height",null),p([n.Input(),a("design:type",Object),a("design:paramtypes",[Object])],u.prototype,"width",null),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"onDisposing",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"onInitialized",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"onOptionChanged",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"elementAttrChange",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"heightChange",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"widthChange",void 0),u=p([n.Component({selector:"dx-validation-group",template:"<ng-content></ng-content>",providers:[r.DxTemplateHost,r.WatcherHelper,r.NestedOptionHost]}),(s=6,c=n.Inject(n.PLATFORM_ID),function(e,t){c(e,t,s)}),a("design:paramtypes",[n.ElementRef,n.NgZone,r.DxTemplateHost,r.WatcherHelper,r.NestedOptionHost,t.TransferState,Object])],u)}(r.DxComponent),s=function(){function e(){}return e=p([n.NgModule({imports:[r.DxIntegrationModule,r.DxTemplateModule,t.BrowserTransferStateModule],declarations:[u],exports:[u,r.DxTemplateModule]})],e)}();e.DxValidationGroupComponent=u,e.DxValidationGroupModule=s,Object.defineProperty(e,"__esModule",{value:!0})})); //# sourceMappingURL=devextreme-angular-ui-validation-group.umd.min.js.map