@hmcts/media-viewer
Version:
67 lines • 1.94 kB
TypeScript
import * as i0 from "@angular/core";
export declare class ToolbarButtonVisibilityService {
showPrint: boolean;
showDownload: boolean;
showNavigation: boolean;
showZoom: boolean;
showRotate: boolean;
showPresentationMode: boolean;
showRedact: boolean;
showOpenFile: boolean;
showBookmark: boolean;
showHighlightButton: boolean;
showDrawButton: boolean;
showSearchBar: boolean;
showSidebar: boolean;
showCommentSummary: boolean;
showGrabNDragButton: boolean;
showSaveRotationButton: boolean;
/**
* Reset the visibility of all buttons to false then set the value from the options
*/
setup(options: Partial<ToolbarButtonVisibilityService>): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarButtonVisibilityService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ToolbarButtonVisibilityService>;
}
/**
* Default toolbar state for the PDF viewer
*/
export declare const defaultPdfOptions: {
showPrint: boolean;
showDownload: boolean;
showNavigation: boolean;
showZoom: boolean;
showRotate: boolean;
showSearchBar: boolean;
showSidebar: boolean;
showGrabNDragButton: boolean;
showCommentSummary: boolean;
showPresentationMode: boolean;
showRedact: boolean;
};
/**
* Default toolbar state for the image viewer
*/
export declare const defaultImageOptions: {
showPrint: boolean;
showDownload: boolean;
showZoom: boolean;
showRotate: boolean;
showGrabNDragButton: boolean;
showCommentSummary: boolean;
showRedact: boolean;
};
/**
* Default toolbar state for multimedia
*/
export declare const defaultMultimediaOptions: {
showDownload: boolean;
};
/**
* Default toolbar state for unsupported media
*/
export declare const defaultUnsupportedOptions: {
showDownload: boolean;
showPrint: boolean;
};
//# sourceMappingURL=toolbar-button-visibility.service.d.ts.map