UNPKG

ng-flexmonster

Version:

Angular 4+ Module for Flexmonster Pivot Table & Charts

2 lines 7.41 kB
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("flexmonster"),require("@angular/common")):"function"==typeof define&&define.amd?define("ng-flexmonster",["exports","@angular/core","flexmonster","@angular/common"],e):e(t["ng-flexmonster"]={},t.ng.core,null,t.ng.common)}(this,function(t,e,r,n){"use strict";var o=function(){function t(t){this.cellclick=new e.EventEmitter,this.celldoubleclick=new e.EventEmitter,this.chartclick=new e.EventEmitter,this.dataerror=new e.EventEmitter,this.datafilecancelled=new e.EventEmitter,this.dataloaded=new e.EventEmitter,this.datachanged=new e.EventEmitter,this.fieldslistclose=new e.EventEmitter,this.fieldslistopen=new e.EventEmitter,this.filterclose=new e.EventEmitter,this.filteropen=new e.EventEmitter,this.drillthroughopen=new e.EventEmitter,this.exportcomplete=new e.EventEmitter,this.exportstart=new e.EventEmitter,this.drillthroughclose=new e.EventEmitter,this.fullscreen=new e.EventEmitter,this.loadingdata=new e.EventEmitter,this.loadinglocalization=new e.EventEmitter,this.loadingolapstructure=new e.EventEmitter,this.loadingreportfile=new e.EventEmitter,this.localizationerror=new e.EventEmitter,this.localizationloaded=new e.EventEmitter,this.olapstructureerror=new e.EventEmitter,this.olapstructureloaded=new e.EventEmitter,this.openingreportfile=new e.EventEmitter,this.printcomplete=new e.EventEmitter,this.printstart=new e.EventEmitter,this.querycomplete=new e.EventEmitter,this.queryerror=new e.EventEmitter,this.ready=new e.EventEmitter,this.reportchange=new e.EventEmitter,this.reportcomplete=new e.EventEmitter,this.reportfilecancelled=new e.EventEmitter,this.reportfileerror=new e.EventEmitter,this.runningquery=new e.EventEmitter,this.unauthorizederror=new e.EventEmitter,this.update=new e.EventEmitter,this.beforetoolbarcreated=new e.EventEmitter,this.beforegriddraw=new e.EventEmitter,this.aftergriddraw=new e.EventEmitter,this.afterchartdraw=new e.EventEmitter,this.root=t.nativeElement}return t.prototype.ngOnInit=function(){var e=this;this.flexmonster=new r({container:this.root.getElementsByClassName("fm-ng-wrapper")[0],componentFolder:this.componentFolder,width:this.width,height:this.height,toolbar:this.toolbar,licenseKey:this.licenseKey,licenseFilePath:this.licenseFilePath,report:this.report,global:this.global,accessibility:this.accessibility,shareReportConnection:this.shareReportConnection,customizeAPIRequest:this.customizeAPIRequest,customizeCell:this.customizeCell,customizeChartElement:this.customizeChartElement,customizeContextMenu:this.customizeContextMenu,sortFieldsList:this.sortFieldsList,cellclick:function(t){return e.cellclick.next(t)},celldoubleclick:function(t){return e.celldoubleclick.next(t)},chartclick:function(t){return e.chartclick.next(t)},datachanged:function(t){return e.datachanged.next(t)},dataerror:function(t){return e.dataerror.next(t)},datafilecancelled:function(){return e.datafilecancelled.next()},dataloaded:function(){return e.dataloaded.next()},fieldslistclose:function(){return e.fieldslistclose.next()},fieldslistopen:function(){return e.fieldslistopen.next()},filterclose:function(){return e.filterclose.next()},filteropen:function(t){return e.filteropen.next(t)},drillthroughopen:function(t){return e.drillthroughopen.next(t)},exportcomplete:function(){return e.exportcomplete.next()},exportstart:function(){return e.exportstart.next()},drillthroughclose:function(){return e.drillthroughclose.next()},loadingdata:function(){return e.loadingdata.next()},loadinglocalization:function(){return e.loadinglocalization.next()},loadingolapstructure:function(){return e.loadingolapstructure.next()},loadingreportfile:function(){return e.loadingreportfile.next()},localizationerror:function(){return e.localizationerror.next()},localizationloaded:function(){return e.localizationloaded.next()},olapstructureerror:function(t){return e.olapstructureerror.next(t)},olapstructureloaded:function(){return e.olapstructureloaded.next()},openingreportfile:function(){return e.openingreportfile.next()},printcomplete:function(){return e.printcomplete.next()},printstart:function(){return e.printstart.next()},querycomplete:function(){return e.querycomplete.next()},queryerror:function(t){return e.queryerror.next(t)},ready:function(){return e.ready.next(e.flexmonster)},reportchange:function(){return e.reportchange.next()},reportcomplete:function(){return e.reportcomplete.next()},reportfilecancelled:function(){return e.reportfilecancelled.next()},reportfileerror:function(){return e.reportfileerror.next()},runningquery:function(){return e.runningquery.next()},unauthorizederror:function(t){return e.unauthorizederror.next(t)},update:function(){return e.update.next()},beforetoolbarcreated:function(t){return e.beforetoolbarcreated.next(t)},beforegriddraw:function(t){return e.beforegriddraw.next(t)},aftergriddraw:function(t){return e.aftergriddraw.next(t)},afterchartdraw:function(){return e.afterchartdraw.next()}})},t.prototype.ngOnDestroy=function(){this.flexmonster&&(this.flexmonster.dispose(),this.flexmonster=null)},t.decorators=[{type:e.Component,args:[{selector:"fm-pivot",template:'<div style="width:100%;height:100%;"><div class="fm-ng-wrapper"></div></div>'}]}],t.ctorParameters=function(){return[{type:e.ElementRef}]},t.propDecorators={toolbar:[{type:e.Input}],licenseKey:[{type:e.Input}],licenseFilePath:[{type:e.Input}],width:[{type:e.Input}],height:[{type:e.Input}],componentFolder:[{type:e.Input}],report:[{type:e.Input}],shareReportConnection:[{type:e.Input}],global:[{type:e.Input}],accessibility:[{type:e.Input}],customizeAPIRequest:[{type:e.Input}],customizeCell:[{type:e.Input}],customizeChartElement:[{type:e.Input}],customizeContextMenu:[{type:e.Input}],sortFieldsList:[{type:e.Input}],cellclick:[{type:e.Output}],celldoubleclick:[{type:e.Output}],chartclick:[{type:e.Output}],dataerror:[{type:e.Output}],datafilecancelled:[{type:e.Output}],dataloaded:[{type:e.Output}],datachanged:[{type:e.Output}],fieldslistclose:[{type:e.Output}],fieldslistopen:[{type:e.Output}],filterclose:[{type:e.Output}],filteropen:[{type:e.Output}],drillthroughopen:[{type:e.Output}],exportcomplete:[{type:e.Output}],exportstart:[{type:e.Output}],drillthroughclose:[{type:e.Output}],fullscreen:[{type:e.Output}],loadingdata:[{type:e.Output}],loadinglocalization:[{type:e.Output}],loadingolapstructure:[{type:e.Output}],loadingreportfile:[{type:e.Output}],localizationerror:[{type:e.Output}],localizationloaded:[{type:e.Output}],olapstructureerror:[{type:e.Output}],olapstructureloaded:[{type:e.Output}],openingreportfile:[{type:e.Output}],printcomplete:[{type:e.Output}],printstart:[{type:e.Output}],querycomplete:[{type:e.Output}],queryerror:[{type:e.Output}],ready:[{type:e.Output}],reportchange:[{type:e.Output}],reportcomplete:[{type:e.Output}],reportfilecancelled:[{type:e.Output}],reportfileerror:[{type:e.Output}],runningquery:[{type:e.Output}],unauthorizederror:[{type:e.Output}],update:[{type:e.Output}],beforetoolbarcreated:[{type:e.Output}],beforegriddraw:[{type:e.Output}],aftergriddraw:[{type:e.Output}],afterchartdraw:[{type:e.Output}]},t}(),i=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[n.CommonModule],declarations:[o],exports:[o]}]}],t}();t.FlexmonsterPivotModule=i,t.FlexmonsterPivot=o,Object.defineProperty(t,"__esModule",{value:!0})}); //# sourceMappingURL=ng-flexmonster.umd.min.js.map