@alfresco/adf-core 8.1.0-15416593341 → 8.1.0-15446587287
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/form/components/form-renderer.component.mjs +3 -3
- package/esm2022/lib/viewer/components/viewer-render/viewer-render.component.mjs +12 -20
- package/esm2022/lib/viewer/components/viewer.component.mjs +2 -2
- package/fesm2022/adf-core.mjs +13 -20
- package/fesm2022/adf-core.mjs.map +1 -1
- package/lib/viewer/components/viewer-render/viewer-render.component.d.ts +5 -9
- package/package.json +3 -3
|
@@ -19,9 +19,7 @@ import { EventEmitter, Injector, OnChanges, OnInit, TemplateRef } from '@angular
|
|
|
19
19
|
import { MatDialog } from '@angular/material/dialog';
|
|
20
20
|
import { Track } from '../../models/viewer.model';
|
|
21
21
|
import { ViewUtilService } from '../../services/view-util.service';
|
|
22
|
-
import { BehaviorSubject } from 'rxjs';
|
|
23
22
|
import * as i0 from "@angular/core";
|
|
24
|
-
type ViewerType = 'media' | 'image' | 'pdf' | 'external' | 'text' | 'custom' | 'unknown';
|
|
25
23
|
export declare class ViewerRenderComponent implements OnChanges, OnInit {
|
|
26
24
|
private viewUtilService;
|
|
27
25
|
private extensionService;
|
|
@@ -44,6 +42,8 @@ export declare class ViewerRenderComponent implements OnChanges, OnInit {
|
|
|
44
42
|
mimeType: string;
|
|
45
43
|
/** Override Content filename. */
|
|
46
44
|
fileName: string;
|
|
45
|
+
/** Override loading status */
|
|
46
|
+
isLoading: boolean;
|
|
47
47
|
/** Enable when where is possible the editing functionalities */
|
|
48
48
|
readOnly: boolean;
|
|
49
49
|
/**
|
|
@@ -77,8 +77,8 @@ export declare class ViewerRenderComponent implements OnChanges, OnInit {
|
|
|
77
77
|
extensionsSupportedByTemplates: string[];
|
|
78
78
|
extension: string;
|
|
79
79
|
internalFileName: string;
|
|
80
|
-
viewerType:
|
|
81
|
-
|
|
80
|
+
viewerType: string;
|
|
81
|
+
isContentReady: boolean;
|
|
82
82
|
/**
|
|
83
83
|
* Returns a list of the active Viewer content extensions.
|
|
84
84
|
*
|
|
@@ -97,7 +97,6 @@ export declare class ViewerRenderComponent implements OnChanges, OnInit {
|
|
|
97
97
|
constructor(viewUtilService: ViewUtilService, extensionService: AppExtensionService, dialog: MatDialog, injector: Injector);
|
|
98
98
|
ngOnInit(): void;
|
|
99
99
|
ngOnChanges(): void;
|
|
100
|
-
markAsLoaded(): void;
|
|
101
100
|
private setUpBlobData;
|
|
102
101
|
private setUpUrlFile;
|
|
103
102
|
scrollTop(): void;
|
|
@@ -105,9 +104,6 @@ export declare class ViewerRenderComponent implements OnChanges, OnInit {
|
|
|
105
104
|
onSubmitFile(newImageBlob: Blob): void;
|
|
106
105
|
onUnsupportedFile(): void;
|
|
107
106
|
onClose(): void;
|
|
108
|
-
private canBePreviewed;
|
|
109
|
-
private setDefaultLoadingState;
|
|
110
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<ViewerRenderComponent, never>;
|
|
111
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ViewerRenderComponent, "adf-viewer-render", never, { "urlFile": { "alias": "urlFile"; "required": false; }; "blobFile": { "alias": "blobFile"; "required": false; }; "allowFullScreen": { "alias": "allowFullScreen"; "required": false; }; "allowThumbnails": { "alias": "allowThumbnails"; "required": false; }; "thumbnailsTemplate": { "alias": "thumbnailsTemplate"; "required": false; }; "mimeType": { "alias": "mimeType"; "required": false; }; "fileName": { "alias": "fileName"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "allowedEditActions": { "alias": "allowedEditActions"; "required": false; }; "tracks": { "alias": "tracks"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "viewerTemplateExtensions": { "alias": "viewerTemplateExtensions"; "required": false; }; "customError": { "alias": "customError"; "required": false; }; }, { "extensionChange": "extensionChange"; "submitFile": "submitFile"; "close": "close"; "isSaving": "isSaving"; }, never, never, true, never>;
|
|
108
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ViewerRenderComponent, "adf-viewer-render", never, { "urlFile": { "alias": "urlFile"; "required": false; }; "blobFile": { "alias": "blobFile"; "required": false; }; "allowFullScreen": { "alias": "allowFullScreen"; "required": false; }; "allowThumbnails": { "alias": "allowThumbnails"; "required": false; }; "thumbnailsTemplate": { "alias": "thumbnailsTemplate"; "required": false; }; "mimeType": { "alias": "mimeType"; "required": false; }; "fileName": { "alias": "fileName"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "allowedEditActions": { "alias": "allowedEditActions"; "required": false; }; "tracks": { "alias": "tracks"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "viewerTemplateExtensions": { "alias": "viewerTemplateExtensions"; "required": false; }; "customError": { "alias": "customError"; "required": false; }; }, { "extensionChange": "extensionChange"; "submitFile": "submitFile"; "close": "close"; "isSaving": "isSaving"; }, never, never, true, never>;
|
|
112
109
|
}
|
|
113
|
-
export {};
|
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-15446587287",
|
|
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-15446587287",
|
|
79
|
+
"@alfresco/adf-extensions": ">=8.1.0-15446587287",
|
|
80
80
|
"minimatch": ">=10.0.0",
|
|
81
81
|
"pdfjs-dist": ">=3.3.122",
|
|
82
82
|
"ts-morph": ">=20.0.0"
|