UNPKG

devextreme-angular

Version:

Angular UI and visualization components based on DevExtreme widgets

30 lines (28 loc) • 14.8 kB
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/platform-browser"),require("@angular/core"),require("devextreme/ui/load_panel"),require("devextreme-angular/core"),require("devextreme-angular/ui/nested")):"function"==typeof define&&define.amd?define("devextreme-angular/ui/load-panel",["exports","@angular/platform-browser","@angular/core","devextreme/ui/load_panel","devextreme-angular/core","devextreme-angular/ui/nested"],t):t(((e=e||self)["devextreme-angular"]=e["devextreme-angular"]||{},e["devextreme-angular"].ui=e["devextreme-angular"].ui||{},e["devextreme-angular"].ui["load-panel"]={}),e.ng.platformBrowser,e.ng.core,e.DxLoadPanel,e["devextreme-angular"].core,e["devextreme-angular"].ui.nested)}(this,(function(e,t,n,o,i,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 p=function(e,t){return(p=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 a(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 s(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 r(t,n,o,i,r,p,a){var s=e.call(this,t,n,o,i,p,a)||this;return s._createEventEmitters([{subscribe:"contentReady",emit:"onContentReady"},{subscribe:"disposing",emit:"onDisposing"},{subscribe:"hidden",emit:"onHidden"},{subscribe:"hiding",emit:"onHiding"},{subscribe:"initialized",emit:"onInitialized"},{subscribe:"optionChanged",emit:"onOptionChanged"},{subscribe:"showing",emit:"onShowing"},{subscribe:"shown",emit:"onShown"},{emit:"animationChange"},{emit:"closeOnOutsideClickChange"},{emit:"containerChange"},{emit:"deferRenderingChange"},{emit:"delayChange"},{emit:"elementAttrChange"},{emit:"focusStateEnabledChange"},{emit:"heightChange"},{emit:"hintChange"},{emit:"hoverStateEnabledChange"},{emit:"indicatorSrcChange"},{emit:"maxHeightChange"},{emit:"maxWidthChange"},{emit:"messageChange"},{emit:"minHeightChange"},{emit:"minWidthChange"},{emit:"positionChange"},{emit:"rtlEnabledChange"},{emit:"shadingChange"},{emit:"shadingColorChange"},{emit:"showIndicatorChange"},{emit:"showPaneChange"},{emit:"visibleChange"},{emit:"widthChange"}]),r.setHost(s),s}var u,d;return function(e,t){function n(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(r,e),Object.defineProperty(r.prototype,"animation",{get:function(){return this._getOption("animation")},set:function(e){this._setOption("animation",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"closeOnOutsideClick",{get:function(){return this._getOption("closeOnOutsideClick")},set:function(e){this._setOption("closeOnOutsideClick",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"container",{get:function(){return this._getOption("container")},set:function(e){this._setOption("container",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"deferRendering",{get:function(){return this._getOption("deferRendering")},set:function(e){this._setOption("deferRendering",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"delay",{get:function(){return this._getOption("delay")},set:function(e){this._setOption("delay",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"elementAttr",{get:function(){return this._getOption("elementAttr")},set:function(e){this._setOption("elementAttr",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"focusStateEnabled",{get:function(){return this._getOption("focusStateEnabled")},set:function(e){this._setOption("focusStateEnabled",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){return this._getOption("height")},set:function(e){this._setOption("height",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hint",{get:function(){return this._getOption("hint")},set:function(e){this._setOption("hint",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hoverStateEnabled",{get:function(){return this._getOption("hoverStateEnabled")},set:function(e){this._setOption("hoverStateEnabled",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"indicatorSrc",{get:function(){return this._getOption("indicatorSrc")},set:function(e){this._setOption("indicatorSrc",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maxHeight",{get:function(){return this._getOption("maxHeight")},set:function(e){this._setOption("maxHeight",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"maxWidth",{get:function(){return this._getOption("maxWidth")},set:function(e){this._setOption("maxWidth",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"message",{get:function(){return this._getOption("message")},set:function(e){this._setOption("message",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"minHeight",{get:function(){return this._getOption("minHeight")},set:function(e){this._setOption("minHeight",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"minWidth",{get:function(){return this._getOption("minWidth")},set:function(e){this._setOption("minWidth",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"position",{get:function(){return this._getOption("position")},set:function(e){this._setOption("position",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"rtlEnabled",{get:function(){return this._getOption("rtlEnabled")},set:function(e){this._setOption("rtlEnabled",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"shading",{get:function(){return this._getOption("shading")},set:function(e){this._setOption("shading",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"shadingColor",{get:function(){return this._getOption("shadingColor")},set:function(e){this._setOption("shadingColor",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"showIndicator",{get:function(){return this._getOption("showIndicator")},set:function(e){this._setOption("showIndicator",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"showPane",{get:function(){return this._getOption("showPane")},set:function(e){this._setOption("showPane",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"visible",{get:function(){return this._getOption("visible")},set:function(e){this._setOption("visible",e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"width",{get:function(){return this._getOption("width")},set:function(e){this._setOption("width",e)},enumerable:!0,configurable:!0}),r.prototype._createInstance=function(e,t){return new o(e,t)},r.prototype.ngOnDestroy=function(){this._destroyWidget()},r.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]}]}]},a([n.Input(),s("design:type",Object),s("design:paramtypes",[Object])],r.prototype,"animation",null),a([n.Input(),s("design:type",Object),s("design:paramtypes",[Object])],r.prototype,"closeOnOutsideClick",null),a([n.Input(),s("design:type",Object),s("design:paramtypes",[Object])],r.prototype,"container",null),a([n.Input(),s("design:type",Boolean),s("design:paramtypes",[Boolean])],r.prototype,"deferRendering",null),a([n.Input(),s("design:type",Number),s("design:paramtypes",[Number])],r.prototype,"delay",null),a([n.Input(),s("design:type",Object),s("design:paramtypes",[Object])],r.prototype,"elementAttr",null),a([n.Input(),s("design:type",Boolean),s("design:paramtypes",[Boolean])],r.prototype,"focusStateEnabled",null),a([n.Input(),s("design:type",Object),s("design:paramtypes",[Object])],r.prototype,"height",null),a([n.Input(),s("design:type",String),s("design:paramtypes",[String])],r.prototype,"hint",null),a([n.Input(),s("design:type",Boolean),s("design:paramtypes",[Boolean])],r.prototype,"hoverStateEnabled",null),a([n.Input(),s("design:type",String),s("design:paramtypes",[String])],r.prototype,"indicatorSrc",null),a([n.Input(),s("design:type",Object),s("design:paramtypes",[Object])],r.prototype,"maxHeight",null),a([n.Input(),s("design:type",Object),s("design:paramtypes",[Object])],r.prototype,"maxWidth",null),a([n.Input(),s("design:type",String),s("design:paramtypes",[String])],r.prototype,"message",null),a([n.Input(),s("design:type",Object),s("design:paramtypes",[Object])],r.prototype,"minHeight",null),a([n.Input(),s("design:type",Object),s("design:paramtypes",[Object])],r.prototype,"minWidth",null),a([n.Input(),s("design:type",Object),s("design:paramtypes",[Object])],r.prototype,"position",null),a([n.Input(),s("design:type",Boolean),s("design:paramtypes",[Boolean])],r.prototype,"rtlEnabled",null),a([n.Input(),s("design:type",Boolean),s("design:paramtypes",[Boolean])],r.prototype,"shading",null),a([n.Input(),s("design:type",String),s("design:paramtypes",[String])],r.prototype,"shadingColor",null),a([n.Input(),s("design:type",Boolean),s("design:paramtypes",[Boolean])],r.prototype,"showIndicator",null),a([n.Input(),s("design:type",Boolean),s("design:paramtypes",[Boolean])],r.prototype,"showPane",null),a([n.Input(),s("design:type",Boolean),s("design:paramtypes",[Boolean])],r.prototype,"visible",null),a([n.Input(),s("design:type",Object),s("design:paramtypes",[Object])],r.prototype,"width",null),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"onContentReady",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"onDisposing",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"onHidden",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"onHiding",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"onInitialized",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"onOptionChanged",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"onShowing",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"onShown",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"animationChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"closeOnOutsideClickChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"containerChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"deferRenderingChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"delayChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"elementAttrChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"focusStateEnabledChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"heightChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"hintChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"hoverStateEnabledChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"indicatorSrcChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"maxHeightChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"maxWidthChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"messageChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"minHeightChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"minWidthChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"positionChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"rtlEnabledChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"shadingChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"shadingColorChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"showIndicatorChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"showPaneChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"visibleChange",void 0),a([n.Output(),s("design:type",n.EventEmitter)],r.prototype,"widthChange",void 0),r=a([n.Component({selector:"dx-load-panel",template:"",providers:[i.DxTemplateHost,i.WatcherHelper,i.NestedOptionHost]}),(u=6,d=n.Inject(n.PLATFORM_ID),function(e,t){d(e,t,u)}),s("design:paramtypes",[n.ElementRef,n.NgZone,i.DxTemplateHost,i.WatcherHelper,i.NestedOptionHost,t.TransferState,Object])],r)}(i.DxComponent),d=function(){function e(){}return e=a([n.NgModule({imports:[r.DxoAnimationModule,r.DxoHideModule,r.DxoShowModule,r.DxoPositionModule,r.DxoAtModule,r.DxoBoundaryOffsetModule,r.DxoCollisionModule,r.DxoMyModule,r.DxoOffsetModule,i.DxIntegrationModule,i.DxTemplateModule,t.BrowserTransferStateModule],declarations:[u],exports:[u,r.DxoAnimationModule,r.DxoHideModule,r.DxoShowModule,r.DxoPositionModule,r.DxoAtModule,r.DxoBoundaryOffsetModule,r.DxoCollisionModule,r.DxoMyModule,r.DxoOffsetModule,i.DxTemplateModule]})],e)}();e.DxLoadPanelComponent=u,e.DxLoadPanelModule=d,Object.defineProperty(e,"__esModule",{value:!0})})); //# sourceMappingURL=devextreme-angular-ui-load-panel.umd.min.js.map