UNPKG

@mescius/dspdfviewer

Version:
33 lines (32 loc) 1.09 kB
/// <reference path="../vendor/i18next.d.ts" /> //@ts-ignore import { i18n } from 'i18next'; //@ts-ignore import React, { Component, FormEvent } from 'react'; import PdfReportPlugin from '../plugin'; export type GcPdfPasswordDialogState = { inputValue: string; lastShowReason: number; }; export declare class GcPdfPasswordDialog extends Component<any, GcPdfPasswordDialogState> { rootElement: HTMLDivElement; _updateCallback: any; _wrongPasswordMessage: HTMLSpanElement; _cancelCallback: any; _plugin: PdfReportPlugin; constructor(props: any); get inputElement(): HTMLInputElement; get wrongPassword(): HTMLElement; onFormSubmit(event: FormEvent<HTMLFormElement>): boolean; get isVisible(): boolean; submitPassword(): void; cancel(): void; show(plugin: PdfReportPlugin, updateCallback: any, cancelCallback: any, reason?: any): void; hide(): void; onInputChange(e: any): void; onKeyUp(e: any): void; get in17n(): i18n | undefined; //@ts-ignore //@ts-ignore render(): React.JSX.Element; }