@alfresco/adf-core 8.1.0-14486936416 → 8.1.0-14491540427
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.
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { EventEmitter, InjectionToken, OnChanges, OnDestroy, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
-
import
|
|
2
|
+
import * as pdfjsViewer from 'pdfjs-dist/web/pdf_viewer.mjs';
|
|
3
3
|
import { PDFDocumentLoadingTask, PDFDocumentProxy } from 'pdfjs-dist/types/src/display/api';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export type PdfScaleMode = 'init' | 'page-actual' | 'page-width' | 'page-height' | 'page-fit' | 'auto';
|
|
6
6
|
export declare const PDFJS_MODULE: InjectionToken<any>;
|
|
7
|
-
export declare const PDFJS_VIEWER_MODULE: InjectionToken<typeof
|
|
7
|
+
export declare const PDFJS_VIEWER_MODULE: InjectionToken<typeof pdfjsViewer>;
|
|
8
8
|
export declare class PdfViewerComponent implements OnChanges, OnDestroy {
|
|
9
9
|
urlFile: string;
|
|
10
10
|
blobFile: Blob;
|
|
@@ -38,14 +38,14 @@ export declare class PdfViewerComponent implements OnChanges, OnDestroy {
|
|
|
38
38
|
randomPdfId: string;
|
|
39
39
|
documentOverflow: boolean;
|
|
40
40
|
get currentScaleText(): string;
|
|
41
|
+
private pdfjsLib;
|
|
42
|
+
private pdfjsViewer;
|
|
41
43
|
private eventBus;
|
|
42
44
|
private pdfjsDefaultOptions;
|
|
43
45
|
private pdfjsWorkerDestroy$;
|
|
44
46
|
private dialog;
|
|
45
47
|
private renderingQueueServices;
|
|
46
48
|
private appConfigService;
|
|
47
|
-
private pdfjsViewer;
|
|
48
|
-
private pdfjsLib;
|
|
49
49
|
constructor();
|
|
50
50
|
getUserScaling(): number;
|
|
51
51
|
checkLimits(scaleConfig: number): number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfresco/adf-core",
|
|
3
3
|
"description": "Alfresco ADF core",
|
|
4
|
-
"version": "8.1.0-
|
|
4
|
+
"version": "8.1.0-14491540427",
|
|
5
5
|
"author": "Hyland Software, Inc. and its affiliates",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"@angular/router": ">=16.0.0",
|
|
76
76
|
"@mat-datetimepicker/core": ">=12.0.1",
|
|
77
77
|
"@ngx-translate/core": ">=14.0.0",
|
|
78
|
-
"@alfresco/js-api": ">=9.1.0-
|
|
79
|
-
"@alfresco/adf-extensions": ">=8.1.0-
|
|
78
|
+
"@alfresco/js-api": ">=9.1.0-14491540427",
|
|
79
|
+
"@alfresco/adf-extensions": ">=8.1.0-14491540427",
|
|
80
80
|
"minimatch": ">=10.0.0",
|
|
81
81
|
"pdfjs-dist": ">=3.3.122",
|
|
82
82
|
"ts-morph": ">=20.0.0"
|