[ADF-2368] Version manager update (#3058)

* Add auto file renaming in FE side

* Add error handling, file type restriction

* Documentation

* Fix ts-lint error

* Test the service

* Fix fdescribe...
This commit is contained in:
Popovics András
2018-03-09 23:55:24 +01:00
committed by Eugenio Romano
parent 4ee7cc0870
commit 8859d3466e
15 changed files with 150 additions and 12 deletions

View File

@@ -1,10 +1,11 @@
<adf-upload-button
<adf-upload-version-button
data-automation-id="adf-new-version-file-upload"
class="adf-new-version-file-upload"
staticTitle="Upload new version"
[node]="node"
[rootFolderId]="node.parentId"
tooltip="Restriction: upload file with the same name to create a new version of it"
[versioning]="true"
(success)="onUploadSuccess($event)"
(error)="onUploadError($event)">
</adf-upload-button>
</adf-upload-version-button>