[ADF-1188] Upload related components, unify interfaces, deprecate disableWithNoPermission (#2216)

* Deprecate enabled input property in UploadDragAreaComponent

* Refactoring about disabled property

* using adf-node-permission directive, deprecating disableWithNoPermission

* Parent component access from directive

* Upliad drag area component uses the directive also

* Usage of property instead of helper method in the NodePermissionSubjects

* Fix small issues

* Update readme files
This commit is contained in:
Popovics András
2017-08-16 15:44:04 +02:00
committed by Eugenio Romano
parent 4d19aa96ee
commit 5305b44096
12 changed files with 494 additions and 218 deletions

View File

@@ -1,4 +1,4 @@
<div [file-draggable]="enabled" id="UploadBorder" class="upload-border"
<div [file-draggable]="isDroppable()" id="UploadBorder" class="upload-border"
(onFilesDropped)="onFilesDropped($event)"
(onFilesEntityDropped)="onFilesEntityDropped($event)"
(onFolderEntityDropped)="onFolderEntityDropped($event)"