[ADF-3530, ADF-3598] Sharing files (#3828)

* share node

* lint fix

* createSharedLinks parameter

* remove es6 async

* use fakeAsync

* removed trailing comma

* e2e update dialog title locator

* Expires label localization

* docs update
This commit is contained in:
Cilibiu Bogdan
2018-10-01 16:10:40 +03:00
committed by Eugenio Romano
parent b34ca87657
commit 42f4bee2b4
39 changed files with 1241 additions and 435 deletions

View File

@@ -119,10 +119,13 @@
</mat-icon>
</button>
<button mat-icon-button
disabled
[disabled]="!shareRef.isFile"
[baseShareUrl]="baseShareUrl"
#shareRef="adfShare"
[adf-share]="documentList.selection[0]"
matTooltip="{{ 'DOCUMENT_LIST.TOOLBAR.SHARE' | translate }}">
[matTooltip]="(shareRef.isShared
? 'DOCUMENT_LIST.TOOLBAR.SHARE_EDIT'
: 'DOCUMENT_LIST.TOOLBAR.SHARE') | translate">
<mat-icon>
share
</mat-icon>