/*! * * Wijmo Library 5.20251.40 * https://developer.mescius.com/wijmo * * Copyright(c) MESCIUS inc. All rights reserved. * * Licensed under the End-User License Agreement For MESCIUS Wijmo Software. * us.sales@mescius.com * https://developer.mescius.com/wijmo/licensing * */ /** * {@module wijmo.react.viewer} * Contains React components for the wijmo.viewer module. */ /** * */ export declare var ___keepComment: any; import { ControlBaseEvents, ControlBaseInputs, WjRef, WjForwardRefExoticComponent } from 'wijmo/wijmo.react.base'; import * as wjcCore from 'wijmo/wijmo'; import * as wjcViewer from 'wijmo/wijmo.viewer'; export declare type ViewerBaseInputs = ControlBaseInputs & { filePath?: string; fullScreen?: boolean; mouseMode?: wjcViewer.MouseMode | string; requestHeaders?: any; serviceUrl?: string; thresholdWidth?: number; viewMode?: wjcViewer.ViewMode | string; zoomFactor?: number; zoomMode?: wjcViewer.ZoomMode | string; }; export declare type ViewerBaseEvents = ControlBaseEvents & { beforeSendRequest?: wjcCore.IEventHandler; fullScreenChanged?: wjcCore.IEventHandler; mouseModeChanged?: wjcCore.IEventHandler; pageIndexChanged?: wjcCore.IEventHandler; pageLoaded?: wjcCore.IEventHandler; queryLoadingData?: wjcCore.IEventHandler; viewModeChanged?: wjcCore.IEventHandler; zoomFactorChanged?: wjcCore.IEventHandler; zoomModeChanged?: wjcCore.IEventHandler; }; export declare const ViewerBaseMeta: { inputs: string[]; events: string[]; }; export declare type ReportViewerInputs = ViewerBaseInputs & { paginated?: boolean; parameters?: any; reportName?: string; }; export declare type ReportViewerEvents = ViewerBaseEvents & {}; export declare const ReportViewerMeta: { inputs: string[]; events: string[]; }; export declare type ReportViewerProps = ReportViewerInputs & ReportViewerEvents; export declare type ReportViewerRef = WjRef; /** * React component for the {@link wijmo.viewer.ReportViewer} control. * * The component supports all properties and events of the pure JavaScript {@link wijmo.viewer.ReportViewer} control it represents. * * The component includes an initialized event that is raised when the control is initialized after it is added to the page. * You can use this event to perform further initialization in addition to setting properties in JSX. * The signature of the handler function is the same as any other Wijmo event handlers. */ export declare const ReportViewer: WjForwardRefExoticComponent; export declare type PdfViewerInputs = ViewerBaseInputs & {}; export declare type PdfViewerEvents = ViewerBaseEvents & {}; export declare const PdfViewerMeta: { inputs: string[]; events: string[]; }; export declare type PdfViewerProps = PdfViewerInputs & PdfViewerEvents; export declare type PdfViewerRef = WjRef; /** * React component for the {@link wijmo.viewer.PdfViewer} control. * * The component supports all properties and events of the pure JavaScript {@link wijmo.viewer.PdfViewer} control it represents. * * The component includes an initialized event that is raised when the control is initialized after it is added to the page. * You can use this event to perform further initialization in addition to setting properties in JSX. * The signature of the handler function is the same as any other Wijmo event handlers. */ export declare const PdfViewer: WjForwardRefExoticComponent;