mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
* [ci:force][auto-commit] Update @alfresco/adf-extensions to 6.0.0-A.2-8156 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 37793 * [ci:force][auto-commit] Update @alfresco/adf-core to 6.0.0-A.2-7992 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 37793 * [ci:force][auto-commit] Update @alfresco/adf-content-services to 6.0.0-A.2-8156 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 37793 * [ci:force][auto-commit] Update @alfresco/adf-cli to 6.0.0-A.2-7992 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 37793 * [ci:force][auto-commit] Update @alfresco/adf-testing to 6.0.0-A.2-7992 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 37793 * [AAE-10778] Fix viewer BC: replace adf-viewer with adf-alfresco-viewer * Update @alfresco/adf-extensions and @alfresco/adf-content-services to 6.0.0-A.2-7992 * [AAE-10778] Fix viewer BC: fix Unit node effects unit tests, replace ViewUtilService with RenditionViewerService since method 'printFileGeneric' has been moved from ViewUtilService to RenditionViewerService * Fix comments-tab unit test: provide a mock onLogout value --------- Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
39 lines
1.3 KiB
HTML
39 lines
1.3 KiB
HTML
<ng-container *ngIf="nodeId">
|
|
<adf-alfresco-viewer
|
|
[ngClass]="{
|
|
'right_side--hide': !showRightSide
|
|
}"
|
|
[maxRetries]="'viewer.maxRetries' | adfAppConfig"
|
|
[nodeId]="nodeId"
|
|
[versionId]="versionId"
|
|
[allowNavigate]="navigateMultiple"
|
|
[allowRightSidebar]="true"
|
|
[allowPrint]="false"
|
|
[showRightSidebar]="true"
|
|
[allowDownload]="false"
|
|
[allowFullScreen]="false"
|
|
[overlayMode]="true"
|
|
(showViewerChange)="onViewerVisibilityChanged()"
|
|
[canNavigateBefore]="!!previousNodeId"
|
|
[canNavigateNext]="!!nextNodeId"
|
|
(navigateBefore)="onNavigateBefore($event)"
|
|
(navigateNext)="onNavigateNext($event)"
|
|
>
|
|
<adf-viewer-sidebar *ngIf="infoDrawerOpened$ | async">
|
|
<aca-info-drawer [node]="selection.file"></aca-info-drawer>
|
|
</adf-viewer-sidebar>
|
|
|
|
<adf-viewer-open-with *ngIf="openWith.length">
|
|
<ng-container *ngFor="let action of openWith; trackBy: trackByActionId">
|
|
<app-toolbar-menu-item [actionRef]="action"></app-toolbar-menu-item>
|
|
</ng-container>
|
|
</adf-viewer-open-with>
|
|
|
|
<adf-viewer-toolbar-actions>
|
|
<ng-container *ngFor="let action of toolbarActions; trackBy: trackByActionId">
|
|
<aca-toolbar-action [actionRef]="action"></aca-toolbar-action>
|
|
</ng-container>
|
|
</adf-viewer-toolbar-actions>
|
|
</adf-alfresco-viewer>
|
|
</ng-container>
|