HXCS 3856 File rotation in ADF Viewer (#9873)

This commit is contained in:
Chandan Chatterjee
2024-07-02 23:24:34 +05:30
committed by GitHub
parent f3a94bdfa4
commit e457dd3a78
10 changed files with 71 additions and 3 deletions

View File

@@ -24,6 +24,7 @@
[urlFile]="urlFileContent"
[tracks]="tracks"
[readOnly]="readOnly"
[allowedEditActions]="allowedEditActions"
[viewerExtensions]="viewerExtensions"
(downloadFile)="onDownloadFile()"
(navigateBefore)="onNavigateBeforeClick($event)"

View File

@@ -215,6 +215,10 @@ export class AlfrescoViewerComponent implements OnChanges, OnInit, OnDestroy {
nodeEntry: NodeEntry;
tracks: Track[] = [];
readOnly: boolean = true;
allowedEditActions: { [key: string]: boolean } = {
rotate: true,
crop: true
};
sidebarRightTemplateContext: { node: Node } = { node: null };
sidebarLeftTemplateContext: { node: Node } = { node: null };