21 Commits

Author SHA1 Message Date
Denys Vuika
da18a21e7c [ADF-551] sorting for document list (#1891)
* table cell component

- table cell component with performance improvements

* permissions and sorting fixes

- fixed ability to set default sorting
- fixed permission evaluation
- new: context menu now also works with permissions
- disabled tags column in demo shell due to performance implications

* fix unit tests

* fix tsconfig for unit testing
2017-05-25 15:12:52 +01:00
Denys Vuika
27ba99d11e disable ADF-551 due to conflicts with Permissions feature 2017-05-25 15:12:50 +01:00
Denys Vuika
b0be88ec37 [ADF-551] allow setting sorting in html (#1857)
* allow setting sorting in html

* readme update

* update readme

* restore permissions code

* - Remove the check permission from the datatable and move inside the documentlist

* Remove commented test
2017-05-25 15:12:49 +01:00
Denys Vuika
07d898b2aa node-click and node-dblclick DOM events (#1863)
Extra DOM events with bubbling support for DocumentList:
- node-click
- node-dblclick
2017-05-25 15:12:49 +01:00
Eugenio Romano
0b246b8211 Speed up build (#1852)
* single build webpack

* fix demo shell test
2017-05-25 15:12:46 +01:00
Vito
93b8d3742f Added permission check on documentlist action menu (#1832)
* #ADF-166 - add permissin check on folder creation

* #ADF-166 - removed wrong pushed change

* #ADF-166 - improved permission check

* #ADF-166 - added test for menu action permission check

* #ADF-166 upgraded disabled attribute to match all the browsers

* #ADF-166 added peer review changes

* #ADF-166 added some little code improvements
2017-04-27 14:05:11 +01:00
Eugenio Romano
d4cc54d561 hide Pagination in empty folder #1595 (#1811)
* hide Pagination in empty folder #1595

* unify isPaginationEnabled condition in template #1595
2017-04-27 14:05:09 +01:00
Maurizio Vitale
f6102dfc07 DocumentList - Check permissions on delete folder/file (#1808)
* Add check permission on delete folder/file

* Provide a way to disable the action when if there is no permission

* Improve the code using the external permission inside the folder/document action service

* Add basic documentation.
 - How disable the button when the permission is missing
 - How to show a notification message when the permission is missing

* Resize the image

* Change the value to true for demo purpose

* Update folder-actions.service.ts

* Update document-actions.service.ts
2017-04-27 14:05:08 +01:00
Eugenio Romano
dba5d5a037 reload folder after success upload event only if is the event is related to the current folder #1637 (#1813) 2017-04-27 14:05:08 +01:00
Denys Vuika
3fee3b5002 improved uploading of files (#1730)
* improved uploading of files

- new core/UploadDirective to allow dropping files to any html element
- enhanced file dropping for DataTable rows (disabled by default)
- enhanced file dropping for DocumentList rows (disabled by default)
- upload drop area now handles file uploads for child elements (i.e.
rows in the document list)

* fix unit tests

* unit tests and code cleanup

* #1732, fix upload of folders
2017-03-16 16:28:18 +00:00
Denys Vuika
57557a991e support for column definitions in html (#1705)
* support for column definitions in html

- provides generic support for html-based column definitions for
datatable-like controls

* html column definitions for Task List component

* html column definitions for Document List component

* update code and documentation
2017-03-13 11:05:52 +00:00
Denys Vuika
5b5916bfb1 fix image paths for components (#1696)
* fix Login image paths

* fix TaskList image paths

* fix DocumentList image paths

* fix Search image paths
2017-03-13 10:42:18 +00:00
Denys Vuika
2e44550d7f support for toggling custom context menu (#1683)
* support for toggling custom context menu

* fix unit tests
2017-03-03 09:25:08 +00:00
Denys Vuika
4ca18bc8f9 cancellable events for DataTable and DocumentList (#1682)
* cancellable events for DataTable and DocumentList

* more typed events and code fixes

* code fixes
2017-03-02 14:49:55 +00:00
Denys Vuika
7c54090dea ability to change position of the dropdown menu (left|right) (#1590)
* ability to change position of the dropdown menu (left|right)

* unit tests
2017-02-06 09:55:12 +00:00
Will Abson
5519f9fb00 Fix typos in component properties (#1560)
* Fix typo `fallbackThubnail` -> `fallbackThumbnail`

* Fix typo `showUdoNotificationBar` -> `showNotificationBar`

Update upload mis-spelled properties to 'showNotificationBar' since
showUndoNotificationBar is already a method on the drag area component

Refs #1559

* Fix test cases
2017-01-28 14:52:23 +00:00
Mario Romano
b05247dade #1014 use document list to display search results (#1548)
* #1014 use document list to diplay search results

* #1014 refactor pagination

* #1014 documentation and scripts update

* fix random erros on tests executrion

* #1014 fix travis scripts and raise timeout jasmine

* #1014 fix appveyor script

* #1014 type nodeId
2017-01-27 12:22:25 +00:00
Mario Romano
9655e51943 #1471 rollback className change (#1472) 2017-01-16 11:49:43 +00:00
Mario Romano
6ee34a2e49 #1387 fix rename document-list file (#1462) 2017-01-13 12:54:04 +00:00
Mario Romano
9fb085eb3a #1387 fix img for systemjs and refactoring apiservice (#1421) 2017-01-10 16:59:08 +00:00
Denys Vuika
dc28d5b679 #1400 component naming convention fixes (#1418) 2017-01-09 18:57:58 +00:00