import { Component , ElementRef , ViewContainerRef , ChangeDetectionStrategy , QueryList , Renderer2 , Injector , ValueProvider , ContentChild } from '@angular/core' ; import { ComponentBase , IComponentBase , applyMixins , ComponentMixins , PropertyCollectionInfo , setValue } from '@syncfusion/ej2-angular-base' ; import { PivotView } from '@syncfusion/ej2-pivotview' ; import { Template } from '@syncfusion/ej2-angular-base' ; export const inputs = [ 'aggregateTypes' , 'allowCalculatedField' , 'allowConditionalFormatting' , 'allowDataCompression' , 'allowDeferLayoutUpdate' , 'allowDrillThrough' , 'allowExcelExport' , 'allowGrouping' , 'allowNumberFormatting' , 'allowPdfExport' , 'cellTemplate' , 'chartSettings' , 'chartTypes' , 'currencyCode' , 'dataSourceSettings' , 'displayOption' , 'editSettings' , 'enableHtmlSanitizer' , 'enablePersistence' , 'enableRtl' , 'enableValueSorting' , 'enableVirtualization' , 'exportAllPages' , 'gridSettings' , 'groupingBarSettings' , 'height' , 'hyperlinkSettings' , 'loadOnDemandInMemberEditor' , 'locale' , 'maxNodeLimitInMemberEditor' , 'maxRowsInDrillThrough' , 'pivotValues' , 'showFieldList' , 'showGroupingBar' , 'showToolbar' , 'showTooltip' , 'showValuesButton' , 'spinnerTemplate' , 'toolbar' , 'toolbarTemplate' , 'tooltipTemplate' , 'width' ] ; export const outputs = [ 'actionBegin' , 'actionComplete' , 'actionFailure' , 'aggregateCellInfo' , 'aggregateMenuOpen' , 'beforeExport' , 'beforeServiceInvoke' , 'beginDrillThrough' , 'calculatedFieldCreate' , 'cellClick' , 'cellSelected' , 'cellSelecting' , 'chartSeriesCreated' , 'conditionalFormatting' , 'created' , 'dataBound' , 'destroyed' , 'drill' , 'drillThrough' , 'editCompleted' , 'enginePopulated' , 'enginePopulating' , 'fetchReport' , 'fieldDragStart' , 'fieldDrop' , 'fieldListRefreshed' , 'fieldRemove' , 'hyperlinkCellClick' , 'load' , 'loadReport' , 'memberEditorOpen' , 'memberFiltering' , 'newReport' , 'numberFormatting' , 'onFieldDropped' , 'onPdfCellRender' , 'removeReport' , 'renameReport' , 'saveReport' , 'toolbarClick' , 'toolbarRender' ] ; export const twoWays = [ ] ; /**
 * `ej-pivotview` represents the Angular PivotView Component.
 * ```html
 * <ej-pivotview></ej-pivotview>
 * ```
 */ @ Component ( { selector : 'ejs-pivotview' , inputs : inputs , outputs : outputs , template : '' , changeDetection : ChangeDetectionStrategy . OnPush , queries : { } } ) @ ComponentMixins ( [ ComponentBase ] ) export class PivotViewComponent extends PivotView implements IComponentBase { public context : any ; public tagObjects : any ; actionBegin : any ; actionComplete : any ; actionFailure : any ; aggregateCellInfo : any ; aggregateMenuOpen : any ; beforeExport : any ; beforeServiceInvoke : any ; beginDrillThrough : any ; calculatedFieldCreate : any ; cellClick : any ; cellSelected : any ; cellSelecting : any ; chartSeriesCreated : any ; conditionalFormatting : any ; created : any ; dataBound : any ; destroyed : any ; drill : any ; drillThrough : any ; editCompleted : any ; enginePopulated : any ; enginePopulating : any ; fetchReport : any ; fieldDragStart : any ; fieldDrop : any ; fieldListRefreshed : any ; fieldRemove : any ; hyperlinkCellClick : any ; load : any ; loadReport : any ; memberEditorOpen : any ; memberFiltering : any ; newReport : any ; numberFormatting : any ; onFieldDropped : any ; onPdfCellRender : any ; removeReport : any ; renameReport : any ; saveReport : any ; toolbarClick : any ; public toolbarRender : any ; default @ ContentChild ( 'cellTemplate' ) @ Template ( ) public cellTemplate : any ; constructor ( private ngEle , private srenderer , private viewContainerRef , private injector ) { super ( ) ; this . element = this . ngEle . nativeElement ; this . injectedModules = this . injectedModules || [ ] ; try { let mod = this . injector . get ( 'PivotViewGroupingBar' ) ; if ( this . injectedModules . indexOf ( mod ) === - 1 ) { this . injectedModules . push ( mod ) ; } } catch { } try { let mod = this . injector . get ( 'PivotViewFieldList' ) ; if ( this . injectedModules . indexOf ( mod ) === - 1 ) { this . injectedModules . push ( mod ) ; } } catch { } try { let mod = this . injector . get ( 'PivotViewCalculatedField' ) ; if ( this . injectedModules . indexOf ( mod ) === - 1 ) { this . injectedModules . push ( mod ) ; } } catch { } try { let mod = this . injector . get ( 'PivotViewConditionalFormatting' ) ; if ( this . injectedModules . indexOf ( mod ) === - 1 ) { this . injectedModules . push ( mod ) ; } } catch { } try { let mod = this . injector . get ( 'PivotViewVirtualScroll' ) ; if ( this . injectedModules . indexOf ( mod ) === - 1 ) { this . injectedModules . push ( mod ) ; } } catch { } try { let mod = this . injector . get ( 'PivotViewDrillThrough' ) ; if ( this . injectedModules . indexOf ( mod ) === - 1 ) { this . injectedModules . push ( mod ) ; } } catch { } try { let mod = this . injector . get ( 'PivotViewToolbar' ) ; if ( this . injectedModules . indexOf ( mod ) === - 1 ) { this . injectedModules . push ( mod ) ; } } catch { } try { let mod = this . injector . get ( 'PivotViewPivotChart' ) ; if ( this . injectedModules . indexOf ( mod ) === - 1 ) { this . injectedModules . push ( mod ) ; } } catch { } try { let mod = this . injector . get ( 'PivotViewPDFExport' ) ; if ( this . injectedModules . indexOf ( mod ) === - 1 ) { this . injectedModules . push ( mod ) ; } } catch { } try { let mod = this . injector . get ( 'PivotViewExcelExport' ) ; if ( this . injectedModules . indexOf ( mod ) === - 1 ) { this . injectedModules . push ( mod ) ; } } catch { } try { let mod = this . injector . get ( 'PivotViewNumberFormatting' ) ; if ( this . injectedModules . indexOf ( mod ) === - 1 ) { this . injectedModules . push ( mod ) ; } } catch { } try { let mod = this . injector . get ( 'PivotViewGrouping' ) ; if ( this . injectedModules . indexOf ( mod ) === - 1 ) { this . injectedModules . push ( mod ) ; } } catch { } this . registerEvents ( outputs ) ; this . addTwoWay . call ( this , twoWays ) ; setValue ( 'currentInstance' , this , this . viewContainerRef ) ; this . context = new ComponentBase ( ) ; } public ngOnInit ( ) { this . context . ngOnInit ( this ) ; } public ngAfterViewInit ( ) { this . context . ngAfterViewInit ( this ) ; } public ngOnDestroy ( ) { this . context . ngOnDestroy ( this ) ; } public ngAfterContentChecked ( ) { this . context . ngAfterContentChecked ( this ) ; } public registerEvents : ( eventList : string [ ] ) => void ; public addTwoWay : ( propList : string [ ] ) => void ; }