@alfresco/adf-core 8.0.3 → 8.0.4
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.
|
@@ -15,13 +15,15 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { FocusableOption } from '@angular/cdk/a11y';
|
|
18
|
-
import { OnInit } from '@angular/core';
|
|
18
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
19
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
19
20
|
import * as i0 from "@angular/core";
|
|
20
21
|
export declare class PdfThumbComponent implements OnInit, FocusableOption {
|
|
21
|
-
private
|
|
22
|
-
private
|
|
22
|
+
private sanitizer;
|
|
23
|
+
private element;
|
|
23
24
|
page: any;
|
|
24
25
|
image$: Promise<string>;
|
|
26
|
+
constructor(sanitizer: DomSanitizer, element: ElementRef);
|
|
25
27
|
ngOnInit(): void;
|
|
26
28
|
focus(): void;
|
|
27
29
|
private getThumb;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
2
|
import { PdfThumbComponent } from '../pdf-viewer-thumb/pdf-viewer-thumb.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PdfThumbListComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
5
|
-
private
|
|
6
|
-
private
|
|
5
|
+
private element;
|
|
6
|
+
private document;
|
|
7
7
|
pdfViewer: any;
|
|
8
8
|
close: EventEmitter<void>;
|
|
9
9
|
virtualHeight: number;
|
|
@@ -12,7 +12,7 @@ export declare class PdfThumbListComponent implements OnInit, AfterViewInit, OnD
|
|
|
12
12
|
width: number;
|
|
13
13
|
currentHeight: number;
|
|
14
14
|
private items;
|
|
15
|
-
private
|
|
15
|
+
private margin;
|
|
16
16
|
private itemHeight;
|
|
17
17
|
private previouslyFocusedElement;
|
|
18
18
|
private keyManager;
|
|
@@ -20,13 +20,15 @@ export declare class PdfThumbListComponent implements OnInit, AfterViewInit, OnD
|
|
|
20
20
|
thumbsList: QueryList<PdfThumbComponent>;
|
|
21
21
|
onKeydown(event: KeyboardEvent): void;
|
|
22
22
|
onResize(): void;
|
|
23
|
+
constructor(element: ElementRef, document: any);
|
|
23
24
|
ngOnInit(): void;
|
|
24
25
|
ngAfterViewInit(): void;
|
|
25
26
|
ngOnDestroy(): void;
|
|
27
|
+
trackByFn(_: number, item: any): number;
|
|
26
28
|
isSelected(pageNumber: number): boolean;
|
|
27
29
|
goTo(pageNumber: number): void;
|
|
28
30
|
scrollInto(pageNumber: number): void;
|
|
29
|
-
getPages(): any
|
|
31
|
+
getPages(): any;
|
|
30
32
|
private setHeight;
|
|
31
33
|
private calculateHeight;
|
|
32
34
|
private calculateItems;
|