asma-doc-viewer 1.0.30 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/src/models.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export interface IConfig {
|
|
|
9
9
|
pdfZoom?: IPdfZoomConfig;
|
|
10
10
|
pdfVerticalScrollByDefault?: boolean;
|
|
11
11
|
disablePageTags?: boolean;
|
|
12
|
+
/** Target for external links in PDFs. Defaults to '_self' */
|
|
13
|
+
externalLinkTarget?: '_self' | '_blank' | '_parent' | '_top';
|
|
12
14
|
}
|
|
13
15
|
export interface ILoadingRendererConfig {
|
|
14
16
|
overrideComponent?: ComponentType<{
|
|
@@ -22,4 +22,10 @@ export interface SetCurrentPage {
|
|
|
22
22
|
value: number;
|
|
23
23
|
}
|
|
24
24
|
export declare const setCurrentPage: (value: number) => SetCurrentPage;
|
|
25
|
-
export
|
|
25
|
+
export declare const SET_CONTAINER_WIDTH: string;
|
|
26
|
+
export interface SetContainerWidth {
|
|
27
|
+
type: typeof SET_CONTAINER_WIDTH;
|
|
28
|
+
value: number;
|
|
29
|
+
}
|
|
30
|
+
export declare const setContainerWidth: (value: number) => SetContainerWidth;
|
|
31
|
+
export type PDFActions = SetZoomLevel | SetPDFPaginated | SetNumPages | SetCurrentPage | SetContainerWidth;
|