UNPKG

@docsvision/webclient

Version:

Type definitions for DocsVision WebClient scripts and extensions.

24 lines (23 loc) 985 B
import { BatchOperationErrorInfo } from "@docsvision/webclient/Platform/BatchOperationErrorInfo"; export interface BatchOperationsProgressDialogProps { operationName: string; operationDescription?: string; totalCardsCount: number; onCanceled: () => void; } export interface BatchOperationsProgressDialogState { processedCardsCount: number; totalCardsCount: number; errors: BatchOperationErrorInfo[]; preventButtonClickFlag: boolean; } export interface IBatchOperationsProgressDialog { open(props: BatchOperationsProgressDialogProps): Promise<void>; updateState(state: BatchOperationsProgressDialogState): Promise<void>; close(): Promise<void>; readonly isOpen: boolean; } export declare type $BatchOperationsProgressDialog = { batchOperationsProgressDialog: IBatchOperationsProgressDialog; }; export declare const $BatchOperationsProgressDialog: string | ((model?: $BatchOperationsProgressDialog) => IBatchOperationsProgressDialog);