@alfresco/adf-core 8.0.1 → 8.0.3-A.1

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,15 +15,13 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { FocusableOption } from '@angular/cdk/a11y';
18
- import { ElementRef, OnInit } from '@angular/core';
19
- import { DomSanitizer } from '@angular/platform-browser';
18
+ import { OnInit } from '@angular/core';
20
19
  import * as i0 from "@angular/core";
21
20
  export declare class PdfThumbComponent implements OnInit, FocusableOption {
22
- private sanitizer;
23
- private element;
21
+ private readonly sanitizer;
22
+ private readonly element;
24
23
  page: any;
25
24
  image$: Promise<string>;
26
- constructor(sanitizer: DomSanitizer, element: ElementRef);
27
25
  ngOnInit(): void;
28
26
  focus(): void;
29
27
  private getThumb;
@@ -1,9 +1,9 @@
1
- import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
1
+ import { AfterViewInit, 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 element;
6
- private document;
5
+ private readonly element;
6
+ private readonly 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 margin;
15
+ private readonly margin;
16
16
  private itemHeight;
17
17
  private previouslyFocusedElement;
18
18
  private keyManager;
@@ -20,15 +20,13 @@ 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);
24
23
  ngOnInit(): void;
25
24
  ngAfterViewInit(): void;
26
25
  ngOnDestroy(): void;
27
- trackByFn(_: number, item: any): number;
28
26
  isSelected(pageNumber: number): boolean;
29
27
  goTo(pageNumber: number): void;
30
28
  scrollInto(pageNumber: number): void;
31
- getPages(): any;
29
+ getPages(): any[];
32
30
  private setHeight;
33
31
  private calculateHeight;
34
32
  private calculateItems;
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.0.1",
4
+ "version": "8.0.3-A.1",
5
5
  "author": "Hyland Software, Inc. and its affiliates",
6
6
  "repository": {
7
7
  "type": "git",
@@ -63,8 +63,8 @@
63
63
  "@angular/router": ">=16.0.0",
64
64
  "@mat-datetimepicker/core": ">=12.0.1",
65
65
  "@ngx-translate/core": ">=16.0.0",
66
- "@alfresco/js-api": ">=9.0.1",
67
- "@alfresco/adf-extensions": ">=8.0.1",
66
+ "@alfresco/js-api": ">=9.0.2",
67
+ "@alfresco/adf-extensions": ">=8.0.2",
68
68
  "minimatch": ">=10.0.0",
69
69
  "pdfjs-dist": ">=3.3.122",
70
70
  "ts-morph": ">=20.0.0"
@@ -43,4 +43,4 @@
43
43
  }
44
44
  }
45
45
  }
46
- }
46
+ }