UNPKG

@tindtechnologies/universalviewer

Version:

The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎

35 lines (34 loc) 1.72 kB
import { Canvas, Size, IExternalResourceData, Sequence, Manifest } from "manifesto.js"; import { CroppedImageDimensions } from "./CroppedImageDimensions"; declare const DownloadDialogue: ({ canvases, confinedImageSize, content, downloadCurrentViewEnabled, downloadWholeImageHighResEnabled, downloadWholeImageLowResEnabled, getConfinedImageDimensions, getConfinedImageUri, getCroppedImageDimensions, locale, manifest, maxImageWidth, mediaDownloadEnabled, onClose, onDownloadCurrentView, onDownloadSelection, onShowTermsOfUse, open, paged, parent, resources, requiredStatement, rotation, selectionEnabled, sequence, termsOfUseEnabled, triggerButton, }: { canvases: Canvas[]; confinedImageSize: number; content: { [key: string]: string; }; downloadCurrentViewEnabled: boolean; downloadWholeImageHighResEnabled: boolean; downloadWholeImageLowResEnabled: boolean; getConfinedImageDimensions: (canvas: Canvas) => Size | null; getConfinedImageUri: (canvas: Canvas) => string | null; getCroppedImageDimensions: (canvas: Canvas) => CroppedImageDimensions | null; locale: string; manifest: Manifest; maxImageWidth: number; mediaDownloadEnabled: boolean; onClose: () => void; onDownloadCurrentView: (canvas: Canvas) => void; onDownloadSelection: () => void; onShowTermsOfUse: () => void; open: boolean; paged: boolean; parent: HTMLElement; resources: IExternalResourceData[] | null; requiredStatement: string | null | undefined; rotation: number; selectionEnabled: boolean; sequence: Sequence; termsOfUseEnabled: boolean; triggerButton: HTMLElement; }) => JSX.Element | null; export default DownloadDialogue;