ej-angular2/ej/reportviewer.component.ts

62 строки
2.7 KiB
TypeScript

import 'syncfusion-javascript/Scripts/ej/web/ej.reportviewer.min';
import { CommonModule } from '@angular/common';
import { EJComponents } from './core';
import { EventEmitter, Type, Component, ElementRef, ChangeDetectorRef, Input, Output, NgModule, ModuleWithProviders } from '@angular/core';
@Component({
selector: 'ej-reportviewer',
template: ''})
export class ReportViewerComponent extends EJComponents<any, any> {
@Input('options') options: any;
@Input('enablePageCache') enablePageCache_input: any;
@Input('exportSettings') exportSettings_input: any;
@Input('isResponsive') isResponsive_input: any;
@Input('locale') locale_input: any;
@Input('pageSettings') pageSettings_input: any;
@Input('printMode') printMode_input: any;
@Input('printOptions') printOptions_input: any;
@Input('processingMode') processingMode_input: any;
@Input('renderMode') renderMode_input: any;
@Input('reportPath') reportPath_input: any;
@Input('reportServerUrl') reportServerUrl_input: any;
@Input('reportServiceUrl') reportServiceUrl_input: any;
@Input('toolbarSettings') toolbarSettings_input: any;
@Input('zoomFactor') zoomFactor_input: any;
@Input('exportSettings.exportOptions') exportSettings_exportOptions_input: any;
@Input('exportSettings.excelFormat') exportSettings_excelFormat_input: any;
@Input('exportSettings.wordFormat') exportSettings_wordFormat_input: any;
@Input('pageSettings.orientation') pageSettings_orientation_input: any;
@Input('pageSettings.paperSize') pageSettings_paperSize_input: any;
@Input('toolbarSettings.click') toolbarSettings_click_input: any;
@Input('toolbarSettings.items') toolbarSettings_items_input: any;
@Input('toolbarSettings.showToolbar') toolbarSettings_showToolbar_input: any;
@Input('toolbarSettings.showTooltip') toolbarSettings_showTooltip_input: any;
@Input('toolbarSettings.templateId') toolbarSettings_templateId_input: any;
@Input('dataSources') dataSources_input: any;
@Input('parameters') parameters_input: any;
@Output('destroy') destroy_output = new EventEmitter();
@Output('drillThrough') drillThrough_output = new EventEmitter();
@Output('renderingBegin') renderingBegin_output = new EventEmitter();
@Output('renderingComplete') renderingComplete_output = new EventEmitter();
@Output('reportError') reportError_output = new EventEmitter();
@Output('reportExport') reportExport_output = new EventEmitter();
@Output('reportLoaded') reportLoaded_output = new EventEmitter();
@Output('viewReportClick') viewReportClick_output = new EventEmitter();
constructor(public el: ElementRef, public cdRef: ChangeDetectorRef) {
super('ReportViewer', el, cdRef, []);
}
}
export var EJ_REPORTVIEWER_COMPONENTS: Type<any>[] = [ReportViewerComponent
];