text: !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/platform-browser"),require("@angular/core"),require("devextreme/ui/button"),require("devextreme-angular/core")):"function"==typeof define&&define.amd?define("devextreme-angular/ui/button",["exports","@angular/platform-browser","@angular/core","devextreme/ui/button","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.button={}),e.ng.platformBrowser,e.ng.core,e.DxButton,e["devextreme-angular"].core)}(this,(function(e,t,n,o,i){"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 r=function(e,t){return(r=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 i,r=arguments.length,p=r<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--)(i=e[a])&&(p=(r<3?i(p):r>3?i(t,n,p):i(t,n))||p);return r>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: 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
       */
  var u=function(e){function u(t,n,o,i,r,p,a){var u=e.call(this,t,n,o,i,p,a)||this;return u._createEventEmitters([{subscribe:"click",emit:"onClick"},{subscribe:"contentReady",emit:"onContentReady"},{subscribe:"disposing",emit:"onDisposing"},{subscribe:"initialized",emit:"onInitialized"},{subscribe:"optionChanged",emit:"onOptionChanged"},{emit:"accessKeyChange"},{emit:"activeStateEnabledChange"},{emit:"disabledChange"},{emit:"elementAttrChange"},{emit:"focusStateEnabledChange"},{emit:"heightChange"},{emit:"hintChange"},{emit:"hoverStateEnabledChange"},{emit:"iconChange"},{emit:"rtlEnabledChange"},{emit:"stylingModeChange"},{emit:"tabIndexChange"},{emit:"templateChange"},{emit:"textChange"},{emit:"typeChange"},{emit:"useSubmitBehaviorChange"},{emit:"validationGroupChange"},{emit:"visibleChange"},{emit:"widthChange"}]),r.setHost(u),u}var s,l;return function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(u,e),Object.defineProperty(u.prototype,"accessKey",{get:function(){return this._getOption("accessKey")},set:function(e){this._setOption("accessKey",e)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"activeStateEnabled",{get:function(){return this._getOption("activeStateEnabled")},set:function(e){this._setOption("activeStateEnabled",e)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"disabled",{get:function(){return this._getOption("disabled")},set:function(e){this._setOption("disabled",e)},enumerable:!0,configurable:!0}),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,"focusStateEnabled",{get:function(){return this._getOption("focusStateEnabled")},set:function(e){this._setOption("focusStateEnabled",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,"hint",{get:function(){return this._getOption("hint")},set:function(e){this._setOption("hint",e)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"hoverStateEnabled",{get:function(){return this._getOption("hoverStateEnabled")},set:function(e){this._setOption("hoverStateEnabled",e)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"icon",{get:function(){return this._getOption("icon")},set:function(e){this._setOption("icon",e)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"rtlEnabled",{get:function(){return this._getOption("rtlEnabled")},set:function(e){this._setOption("rtlEnabled",e)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"stylingMode",{get:function(){return this._getOption("stylingMode")},set:function(e){this._setOption("stylingMode",e)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"tabIndex",{get:function(){return this._getOption("tabIndex")},set:function(e){this._setOption("tabIndex",e)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"template",{get:function(){return this._getOption("template")},set:function(e){this._setOption("template",e)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"text",{get:function(){return this._getOption("text")},set:function(e){this._setOption("text",e)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"type",{get:function(){return this._getOption("type")},set:function(e){this._setOption("type",e)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"useSubmitBehavior",{get:function(){return this._getOption("useSubmitBehavior")},set:function(e){this._setOption("useSubmitBehavior",e)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"validationGroup",{get:function(){return this._getOption("validationGroup")},set:function(e){this._setOption("validationGroup",e)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"visible",{get:function(){return this._getOption("visible")},set:function(e){this._setOption("visible",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:i.DxTemplateHost},{type:i.WatcherHelper},{type:i.NestedOptionHost},{type:t.TransferState},{type:void 0,decorators:[{type:n.Inject,args:[n.PLATFORM_ID]}]}]},p([n.Input(),a("design:type",String),a("design:paramtypes",[String])],u.prototype,"accessKey",null),p([n.Input(),a("design:type",Boolean),a("design:paramtypes",[Boolean])],u.prototype,"activeStateEnabled",null),p([n.Input(),a("design:type",Boolean),a("design:paramtypes",[Boolean])],u.prototype,"disabled",null),p([n.Input(),a("design:type",Object),a("design:paramtypes",[Object])],u.prototype,"elementAttr",null),p([n.Input(),a("design:type",Boolean),a("design:paramtypes",[Boolean])],u.prototype,"focusStateEnabled",null),p([n.Input(),a("design:type",Object),a("design:paramtypes",[Object])],u.prototype,"height",null),p([n.Input(),a("design:type",String),a("design:paramtypes",[String])],u.prototype,"hint",null),p([n.Input(),a("design:type",Boolean),a("design:paramtypes",[Boolean])],u.prototype,"hoverStateEnabled",null),p([n.Input(),a("design:type",String),a("design:paramtypes",[String])],u.prototype,"icon",null),p([n.Input(),a("design:type",Boolean),a("design:paramtypes",[Boolean])],u.prototype,"rtlEnabled",null),p([n.Input(),a("design:type",String),a("design:paramtypes",[String])],u.prototype,"stylingMode",null),p([n.Input(),a("design:type",Number),a("design:paramtypes",[Number])],u.prototype,"tabIndex",null),p([n.Input(),a("design:type",Object),a("design:paramtypes",[Object])],u.prototype,"template",null),p([n.Input(),a("design:type",String),a("design:paramtypes",[String])],u.prototype,"text",null),p([n.Input(),a("design:type",String),a("design:paramtypes",[String])],u.prototype,"type",null),p([n.Input(),a("design:type",Boolean),a("design:paramtypes",[Boolean])],u.prototype,"useSubmitBehavior",null),p([n.Input(),a("design:type",String),a("design:paramtypes",[String])],u.prototype,"validationGroup",null),p([n.Input(),a("design:type",Boolean),a("design:paramtypes",[Boolean])],u.prototype,"visible",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,"onClick",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"onContentReady",void 0),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,"accessKeyChange",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"activeStateEnabledChange",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"disabledChange",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,"focusStateEnabledChange",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,"hintChange",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"hoverStateEnabledChange",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"iconChange",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"rtlEnabledChange",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"stylingModeChange",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"tabIndexChange",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"templateChange",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"textChange",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"typeChange",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"useSubmitBehaviorChange",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"validationGroupChange",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"visibleChange",void 0),p([n.Output(),a("design:type",n.EventEmitter)],u.prototype,"widthChange",void 0),u=p([n.Component({selector:"dx-button",template:"<ng-content></ng-content>",providers:[i.DxTemplateHost,i.WatcherHelper,i.NestedOptionHost]}),(s=6,l=n.Inject(n.PLATFORM_ID),function(e,t){l(e,t,s)}),a("design:paramtypes",[n.ElementRef,n.NgZone,i.DxTemplateHost,i.WatcherHelper,i.NestedOptionHost,t.TransferState,Object])],u)}(i.DxComponent),s=function(){function e(){}return e=p([n.NgModule({imports:[i.DxIntegrationModule,i.DxTemplateModule,t.BrowserTransferStateModule],declarations:[u],exports:[u,i.DxTemplateModule]})],e)}();e.DxButtonComponent=u,e.DxButtonModule=s,Object.defineProperty(e,"__esModule",{value:!0})}));
  //# sourceMappingURL=devextreme-angular-ui-button.umd.min.js.map