UNPKG

scanbot-web-sdk

Version:

Scanbot Web Document and Barcode Scanner SDK

33 lines (32 loc) 1.31 kB
import React, { CSSProperties } from "react"; import BarcodeCalculationPopupList from "./barcode-calculation-popup-list"; import { BarcodeItem } from "../../core-types"; export declare enum AnimationType { None = 0, PushRight = 1, PushBottom = 2, Pop = 3 } export default class BarcodeCalculationPopup extends React.Component<any, any> { list: BarcodeCalculationPopupList; previousDestination?: string; barcodes?: BarcodeItem[]; constructor(props: any); containerStyle(transform: string): CSSProperties; render(): React.ReactNode; reset(): void; private _isVisible; isVisible(): boolean; push(type: AnimationType, barcodes: BarcodeItem[]): void; update(barcodes: BarcodeItem[]): void; pop(): void; onAnimationStart(): void; onAnimationEnd(): void; pushType?: AnimationType; updateAnimationType(type: AnimationType, callback?: any): void; animation(type: AnimationType): import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>; from(type: AnimationType): string; to(type: AnimationType): string; translate(axis: "X" | "Y", percentage: number): string; componentWillUnmount(): void; }