[ADF-1534] Automatic PDF rendering for unsupported types. (#2313)

* move viewer dialog to a separate folder

* make dialog take full screen size

* automatic PDF conversion

* mime type icon in the title

* [ADF-1530] correct plain text viewer resolving

* separate lightweigh pdf view for the dialog
This commit is contained in:
Denys Vuika
2017-09-11 10:08:44 +01:00
committed by Popovics András
parent 3ba93a6840
commit 1cf2db48ac
15 changed files with 1007 additions and 89 deletions

View File

@@ -52,8 +52,8 @@
</adf-media-player>
</ng-container>
<ng-container *ngIf="isText()">
<adf-txt-viewer [urlFile]="urlFileContent" [blobFile]="blobFile" ></adf-txt-viewer>
<ng-container *ngIf="isText() && !isExternalSupportedExtension()">
<adf-txt-viewer [urlFile]="urlFileContent" [blobFile]="blobFile"></adf-txt-viewer>
</ng-container>
<span *ngFor="let extensionTemplate of extensionTemplates">