@alfresco/adf-core 8.1.0-14642948129 → 8.1.0-14646017803
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/esm2022/lib/viewer/components/pdf-viewer/pdf-viewer.component.mjs +29 -25
- package/fesm2022/adf-core.mjs +28 -24
- package/fesm2022/adf-core.mjs.map +1 -1
- package/lib/styles/_index.scss +4 -5
- package/lib/styles/_theming.scss +3 -5
- package/lib/styles/_typography.scss +1 -1
- package/lib/viewer/components/pdf-viewer/pdf-viewer.component.d.ts +4 -3
- package/package.json +3 -3
- package/lib/styles/_colors.scss +0 -73
package/lib/styles/_index.scss
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
/* stylelint-disable value-keyword-case */
|
|
2
2
|
@use '@angular/material' as mat;
|
|
3
|
+
@use '@mat-datetimepicker/core/datetimepicker/datetimepicker-theme';
|
|
3
4
|
/* stylelint-disable value-list-max-empty-lines */
|
|
4
5
|
/* stylelint-disable scss/no-global-function-names */
|
|
5
6
|
/* stylelint-disable scss/at-import-partial-extension */
|
|
6
|
-
@import '
|
|
7
|
-
@import '
|
|
8
|
-
@import '../styles/mat-selectors';
|
|
7
|
+
@import './mixins';
|
|
8
|
+
@import './mat-selectors';
|
|
9
9
|
@import '../form/components/widgets/form.theme';
|
|
10
10
|
@import '../clipboard/clipboard.theme';
|
|
11
11
|
@import './snackbar.theme';
|
|
12
12
|
@import './material.theme';
|
|
13
|
-
@import '../../../../../node_modules/@mat-datetimepicker/core/datetimepicker/datetimepicker-theme';
|
|
14
13
|
|
|
15
14
|
@mixin alfresco-material-theme($theme) {
|
|
16
15
|
@include adf-core-theme($theme);
|
|
@@ -115,7 +114,7 @@
|
|
|
115
114
|
}
|
|
116
115
|
}
|
|
117
116
|
|
|
118
|
-
@include mat-datetimepicker-theme($theme);
|
|
117
|
+
@include datetimepicker-theme.mat-datetimepicker-theme($theme);
|
|
119
118
|
@include adf-snackbar-theme;
|
|
120
119
|
@include adf-material-theme;
|
|
121
120
|
}
|
package/lib/styles/_theming.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '@angular/material' as mat;
|
|
2
2
|
|
|
3
3
|
$alfresco-typography: mat.define-typography-config(
|
|
4
|
-
$font-family: '
|
|
4
|
+
$font-family: 'Roboto, "Helvetica Neue", sans-serif',
|
|
5
5
|
$headline-1: mat.define-typography-level(112px, 112px, 300),
|
|
6
6
|
$headline-2: mat.define-typography-level(56px, 56px, 400),
|
|
7
7
|
$headline-3: mat.define-typography-level(45px, 48px, 400),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, InjectionToken, OnChanges, OnDestroy, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
-
import { PDFViewer } from 'pdfjs-dist/
|
|
2
|
+
import { PDFViewer } 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';
|
|
@@ -49,8 +49,9 @@ export declare class PdfViewerComponent implements OnChanges, OnDestroy {
|
|
|
49
49
|
constructor();
|
|
50
50
|
getUserScaling(): number;
|
|
51
51
|
checkLimits(scaleConfig: number): number;
|
|
52
|
-
ngOnChanges(changes: SimpleChanges):
|
|
53
|
-
executePdf(pdfOptions: any):
|
|
52
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
53
|
+
executePdf(pdfOptions: any): void;
|
|
54
|
+
private setupPdfJsWorker;
|
|
54
55
|
private getPdfJsWorker;
|
|
55
56
|
initPDFViewer(pdfDocument: PDFDocumentProxy): void;
|
|
56
57
|
ngOnDestroy(): void;
|
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-14646017803",
|
|
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-14646017803",
|
|
79
|
+
"@alfresco/adf-extensions": ">=8.1.0-14646017803",
|
|
80
80
|
"minimatch": ">=10.0.0",
|
|
81
81
|
"pdfjs-dist": ">=3.3.122",
|
|
82
82
|
"ts-morph": ">=20.0.0"
|
package/lib/styles/_colors.scss
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/* stylelint-disable */
|
|
2
|
-
// Accent color palette
|
|
3
|
-
$black-87-opacity: rgba(black, 0.87);
|
|
4
|
-
$white-87-opacity: rgba(white, 0.87);
|
|
5
|
-
|
|
6
|
-
// [AAE-34457] TODO: move to the alfresco-applications: apps/admin-cc/src/custom-style.scss
|
|
7
|
-
$alfresco-warn: (
|
|
8
|
-
50: #ffebee,
|
|
9
|
-
100: #ffcdd2,
|
|
10
|
-
200: #ef9a9a,
|
|
11
|
-
300: #e57373,
|
|
12
|
-
400: #ef5350,
|
|
13
|
-
500: #f44336,
|
|
14
|
-
600: #e53935,
|
|
15
|
-
700: #d32f2f,
|
|
16
|
-
800: #c62828,
|
|
17
|
-
900: #b71c1c,
|
|
18
|
-
A100: #ff8a80,
|
|
19
|
-
A200: #ff5252,
|
|
20
|
-
A400: #ff1744,
|
|
21
|
-
A700: #c95100,
|
|
22
|
-
contrast: (
|
|
23
|
-
50: $black-87-opacity,
|
|
24
|
-
100: $black-87-opacity,
|
|
25
|
-
200: $black-87-opacity,
|
|
26
|
-
300: $black-87-opacity,
|
|
27
|
-
400: $black-87-opacity,
|
|
28
|
-
500: white,
|
|
29
|
-
600: white,
|
|
30
|
-
700: white,
|
|
31
|
-
800: $white-87-opacity,
|
|
32
|
-
900: $white-87-opacity,
|
|
33
|
-
A100: $black-87-opacity,
|
|
34
|
-
A200: white,
|
|
35
|
-
A400: white,
|
|
36
|
-
A700: white
|
|
37
|
-
)
|
|
38
|
-
);
|
|
39
|
-
|
|
40
|
-
// [AAE-34458] TODO: move to HxP: apps/admin-apa/src/custom-style.scss
|
|
41
|
-
$alfresco-accent-orange: (
|
|
42
|
-
50: #fff3e0,
|
|
43
|
-
100: #ffe0b2,
|
|
44
|
-
200: #ffcc80,
|
|
45
|
-
300: #ffb74d,
|
|
46
|
-
400: #ffa726,
|
|
47
|
-
500: #ff9800,
|
|
48
|
-
600: #fb8c00,
|
|
49
|
-
700: #f57c00,
|
|
50
|
-
800: #ef6c00,
|
|
51
|
-
900: #e65100,
|
|
52
|
-
A100: #ffd180,
|
|
53
|
-
A200: #ffab40,
|
|
54
|
-
A400: #ff9100,
|
|
55
|
-
A700: #ff6d00,
|
|
56
|
-
contrast: (
|
|
57
|
-
50: $white-87-opacity,
|
|
58
|
-
100: $white-87-opacity,
|
|
59
|
-
200: $white-87-opacity,
|
|
60
|
-
300: $white-87-opacity,
|
|
61
|
-
400: $white-87-opacity,
|
|
62
|
-
500: $white-87-opacity,
|
|
63
|
-
600: $white-87-opacity,
|
|
64
|
-
700: $white-87-opacity,
|
|
65
|
-
800: white,
|
|
66
|
-
900: white,
|
|
67
|
-
A100: $black-87-opacity,
|
|
68
|
-
A200: $black-87-opacity,
|
|
69
|
-
A400: $black-87-opacity,
|
|
70
|
-
A700: black
|
|
71
|
-
)
|
|
72
|
-
);
|
|
73
|
-
/* stylelint-enable */
|