@progress/telerik-angular-native-report-viewer
Version:
Progress® Telerik® Native Report Viewer for Angular
149 lines (148 loc) • 7.99 kB
TypeScript
import { ReportingAngularViewerService } from './reporting-angular-viewer.service';
import { Observable, Subscription } from 'rxjs';
import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnDestroy, Renderer2, SimpleChanges, ChangeDetectorRef, OnInit, ViewContainerRef, TemplateRef } from '@angular/core';
import { DocumentInfo, PageInfo, ReportSourceOptions, ReportServerSettings, ParameterInfo } from '@progress/telerik-common-report-viewer';
import { SVGIcon } from '@progress/kendo-svg-icons';
import { NotificationService } from "@progress/kendo-angular-notification";
import { PageMode, PrintMode, ScaleMode, ServiceType, ViewMode } from './models/types';
import { CurrentPageOptions } from './models/current-page.interface';
import { LicenseInfo } from '@progress/telerik-common-report-viewer/dist/Types/LicenseInfoType';
import { PromptOutput } from '@progress/kendo-angular-conversational-ui';
import * as i0 from "@angular/core";
export declare class ReportingAngularViewerComponent implements OnInit, AfterViewInit, OnDestroy {
private ngZone;
private renderer;
private cdr;
hostEl: ElementRef;
service: ReportingAngularViewerService;
private kendoNotificationService;
hostClass: boolean;
private readonly historySessionKey;
private readonly currentHistoryIndexSessionKey;
private readonly currentHistoryItemSessionKey;
scale: number;
serviceUrl?: string;
width: string;
height: string;
authenticationToken?: string;
contentTabIndex: number;
scaleMode: ScaleMode;
enableSendEmail: boolean;
keepClientAlive: boolean;
serviceType: ServiceType;
viewMode: ViewMode;
documentMapVisible: boolean;
reportSource?: ReportSourceOptions;
printMode: PrintMode;
parametersAreaVisible: boolean;
pageMode: PageMode;
reportServer?: ReportServerSettings | null;
persistSession: boolean;
updateUI: EventEmitter<any>;
error: EventEmitter<string>;
printStarted: EventEmitter<any>;
exportStarted: EventEmitter<any>;
beginLoadReport: EventEmitter<any>;
beforeLoadReport: EventEmitter<any>;
renderingStopped: EventEmitter<any>;
loadedReportChange: EventEmitter<any>;
printDocumentReady: EventEmitter<any>;
pageReady: EventEmitter<PageInfo>;
exportDocumentReady: EventEmitter<any>;
interactiveActionExecuting: EventEmitter<any>;
reportVersionMismatch: EventEmitter<string>;
reportLoadProgress: EventEmitter<DocumentInfo>;
reportLoadComplete: EventEmitter<DocumentInfo>;
reportAutoRunOff: EventEmitter<any>;
currentPageChanged: EventEmitter<CurrentPageOptions>;
navigateToReport: EventEmitter<ReportSourceOptions>;
parametersLoaded: EventEmitter<ParameterInfo[]>;
redoIcon: SVGIcon;
undoIcon: SVGIcon;
printIcon: SVGIcon;
rewindIcon: SVGIcon;
zoomInIcon: SVGIcon;
searchIcon: SVGIcon;
sparklesIcon: SVGIcon;
xCircleIcon: SVGIcon;
forwardIcon: SVGIcon;
zoomOutIcon: SVGIcon;
fileTxtIcon: SVGIcon;
downloadIcon: SVGIcon;
alignLeftIcon: SVGIcon;
positionLeftIcon: SVGIcon;
positionRightIcon: SVGIcon;
arrowRotateCwIcon: SVGIcon;
caretAltToLeftIcon: SVGIcon;
caretAltToRightIcon: SVGIcon;
questionCircleIcon: SVGIcon;
warningTriangleIcon: SVGIcon;
subs: Subscription;
resizeObservable: Observable<Event>;
tooltipSelector: string;
searchTerms: string[];
licenseBannerAppendTo: ViewContainerRef;
licenseBannerTemplate: TemplateRef<unknown>;
licenseBannerData: LicenseInfo | null;
showLicenseBanner: boolean;
showLicenseOverlay: boolean;
aiAvailable: boolean;
aiPromptOutputs: Array<PromptOutput>;
aiPredefinedPrompts: Array<string>;
constructor(ngZone: NgZone, renderer: Renderer2, cdr: ChangeDetectorRef, hostEl: ElementRef, service: ReportingAngularViewerService, kendoNotificationService: NotificationService);
ngOnInit(): void;
ngAfterViewInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
get getDocumentMapNodes(): any;
get getRenderingExtensions(): any[];
onApplyButtonClick(): void;
children: (dataItem: any) => Observable<any[]>;
hasChildren: (dataItem: any) => boolean;
navigateToPage(ev: any): void;
getToolbarButtonTitle(buttonName: string): string;
get splitterWrapperClasses(): string;
get hasLazyParameters(): boolean;
get autoRunEnabled(): boolean;
get displayParameterArea(): boolean;
get displayDocumentMap(): boolean;
get isRenderingInProgress(): boolean;
get isParametersSectionAvailable(): boolean;
get isDocumentMapAvailable(): boolean;
get isSearchWindowOpen(): boolean;
get isAiPromptWindowOpen(): boolean;
get totalPages(): number;
executeCommand(commandName: string, commandValue?: any): void;
get isInPrintViewMode(): boolean;
private executeCommandInternal;
private getPrintModeAsNumber;
private getScaleModeAsNumber;
private getPageModeAsNumber;
private getViewModeAsNumber;
private getServiceTypeAsNumber;
private getErrorMessage;
private initReportingSubs;
private onBeforeLoadReport;
private onReportVersionMismatch;
private onReportLoadProgress;
private onLoadedReportChange;
private onReportLoadComplete;
private onReportAutoRunOff;
private saveSession;
private restoreSession;
private onRenderingStopped;
private onError;
private onParametersLoaded;
private onCurrentPageChanged;
private updateCurrentHistoryItemPageNumber;
private onNavigateToReport;
private onScaleModeChanged;
private onScaleChanged;
private onViewModeChanged;
private updateScaleModeHistory;
private updateScaleHistory;
private updateViewModeHistory;
private onMissingOrInvalidParameters;
static ɵfac: i0.ɵɵFactoryDeclaration<ReportingAngularViewerComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ReportingAngularViewerComponent, "reporting-angular-viewer", never, { "scale": { "alias": "scale"; "required": false; }; "serviceUrl": { "alias": "serviceUrl"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "authenticationToken": { "alias": "authenticationToken"; "required": false; }; "contentTabIndex": { "alias": "contentTabIndex"; "required": false; }; "scaleMode": { "alias": "scaleMode"; "required": false; }; "enableSendEmail": { "alias": "enableSendEmail"; "required": false; }; "keepClientAlive": { "alias": "keepClientAlive"; "required": false; }; "serviceType": { "alias": "serviceType"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "documentMapVisible": { "alias": "documentMapVisible"; "required": false; }; "reportSource": { "alias": "reportSource"; "required": false; }; "printMode": { "alias": "printMode"; "required": false; }; "parametersAreaVisible": { "alias": "parametersAreaVisible"; "required": false; }; "pageMode": { "alias": "pageMode"; "required": false; }; "reportServer": { "alias": "reportServer"; "required": false; }; "persistSession": { "alias": "persistSession"; "required": false; }; }, { "updateUI": "updateUI"; "error": "error"; "printStarted": "printStarted"; "exportStarted": "exportStarted"; "beginLoadReport": "beginLoadReport"; "beforeLoadReport": "beforeLoadReport"; "renderingStopped": "renderingStopped"; "loadedReportChange": "loadedReportChange"; "printDocumentReady": "printDocumentReady"; "pageReady": "pageReady"; "exportDocumentReady": "exportDocumentReady"; "interactiveActionExecuting": "interactiveActionExecuting"; "reportVersionMismatch": "reportVersionMismatch"; "reportLoadProgress": "reportLoadProgress"; "reportLoadComplete": "reportLoadComplete"; "reportAutoRunOff": "reportAutoRunOff"; "currentPageChanged": "currentPageChanged"; "navigateToReport": "navigateToReport"; "parametersLoaded": "parametersLoaded"; }, never, never, false, never>;
}