67 Commits

Author SHA1 Message Date
Denys Vuika
e29741d18d [ADF-587] upgrade components to angular 4 (#1866)
[ADF-587]  upgrade components to angular 4
2017-05-25 15:12:48 +01:00
Eugenio Romano
0b246b8211 Speed up build (#1852)
* single build webpack

* fix demo shell test
2017-05-25 15:12:46 +01:00
Denys Vuika
87b479e720 datatable improvements (#1822)
- move ngSwitch outside of the ngFor directive (to avoid issues)
- improved template maintainance (without ngFor template hack)
- readme updates to reflect new features
2017-04-27 14:05:09 +01:00
Denys Vuika
82b32cde25 fix pagination styles (#1821) 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
04f343b28f fix dropdown visibility #1593 (#1767)
* fix dropdown visibility #1593

* fix test search workaround material2 issue 1913
2017-03-30 10:26:18 +01:00
Denys Vuika
fa448374a9 fix datatable multi select checkboxes (#1784)
* fix datatable multi select checkboxes

* template cleanup

* fix unit tests
2017-03-30 01:44:34 -07:00
Denys Vuika
2f2513ced9 fix long names in columns (ellipsis-cell class) (#1775) 2017-03-28 09:47:01 +01:00
Mario Romano
59ed4ee65d #1750 add ngOnchange on data input (#1751)
* #1750 add ngOnchange on data input

* Update datatable.component.ts
2017-03-23 15:49:58 +00: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
f3de023ab3 extra DOM events for DataTable (#1723)
* extra DOM events for DataTable

- support for ‘row-click’ DOM event (bubbling)
- support for ‘row-dblclick’ DOM event (bubbling)
- DataRowEvent exposes ‘sender’ property to simplify access to
component from within handlers
- readme and test updates

* fix unit tests
2017-03-14 10:17:33 +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
facd6e0458 DataTable docs and backwards compatibility (#1702)
* example: custom datatable row actions

* update docs, provide backwards compatibility
2017-03-10 09:50:02 +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
Mario Romano
9d77346aab fix type issue 2017-01-27 15:55:55 +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
Denys Vuika
eacdfd7f6a Support for column (cell) templates (#1513)
support for column (cell) templates readme updates and test fixes
2017-01-23 10:28:57 +00:00
Denys Vuika
e3a94fc2d2 improved focus outline for datatable rows (#1503) 2017-01-19 15:29:01 +00:00
Denys Vuika
0fa87bb17d selected row highlight (#1448)
* showing selected row

Support for showing selected row for the components:

- DataTable
- DocumentList
- Activiti TaskList
- Activiti ProcessList

fixes #170

* unit test fixes
2017-01-13 12:45:37 +00:00
Denys Vuika
3ca2c28a41 Performance improvements (#1166)
#1166 * Update angular libs
document-list: performance improvements
caching ‘heavy’ cell evaluations (i.e. date pipe)
code/test fixes
document-list: performance improvements
Removed ‘AfterViewChecked’ bottleneck as underlying data-table already
does it.
data-table: performance improvements
2016-11-28 21:36:00 +00:00
Eugenio Romano
ce6f89d47d improve test datatable 2016-11-10 15:18:04 +00:00
Denys Vuika
8c1f2cc957 #960 fix event handling for FF
- use cross browser `event.target` instead of IE-specific
`event.srcElement`
2016-11-01 15:25:04 +00:00
Denys Vuika
820e200379 #478 Custom event emitter for data loaded event 2016-10-28 15:03:53 +01:00
Denys Vuika
6873fc01bc #478 pagination improvements
- update page summary only on data change (performance and presentation
improvements)
2016-10-28 14:57:03 +01:00
Eugenio Romano
68465e46f2 remove consecutive blank line 2016-10-12 13:47:38 +01:00
Eugenio Romano
12914e0680 change tsconfig,module name ,karma.conf,karma-tst-shim and #749 2016-10-06 11:56:07 +01:00
Denys Vuika
b09e0bc1b3 Upgrade core, documentList, dataTable 2016-09-21 17:36:29 +01:00
mauriziovitale84
b4ca418d44 add sort feature 2016-09-20 13:53:16 +01:00
Denys Vuika
2c830d9693 Single place for translate pipe 2016-09-17 19:56:55 +01:00
Vito Albano
87b9269b81 Fix for selection in firefox and Safari 2016-09-08 17:18:17 +01:00
Vito Albano
a95aad8685 #374 Added tabindex for data table 2016-09-07 09:15:58 +01:00
Vito Albano
25f91beab6 Revert "Added tabindex for data table"
This reverts commit e51984c33cf7e92502ea5f4ff329d7f7142b692b.
2016-09-07 09:13:39 +01:00
Vito Albano
e51984c33c Added tabindex for data table 2016-09-07 09:10:32 +01:00
Denys Vuika
c3f5395190 Fix typing issue 2016-08-25 13:32:08 +01:00
Denys Vuika
2d8d31aed4 #601 support for fallback thumbnails 2016-08-25 12:49:36 +01:00
Hussain Ashraf
fc45221d7c tidy up 2016-07-26 14:28:38 +01:00
Hussain Ashraf
9198b462ad Add data automation ids for pagination 2016-07-26 14:27:25 +01:00
Hussain Ashraf
d9f533de63 Add data-automation-id to action menu 2016-07-18 16:24:20 +01:00
Hussain Ashraf
046b4a7232 Add data-automation-ids for text and date columns in individual rows 2016-07-15 16:38:44 +01:00
Denys Vuika
ce85d2016b ui improvements 2016-07-14 15:44:09 +01:00
Denys Vuika
e5355bd603 Move 'pagination' from 'core' to 'datatable' 2016-07-14 14:50:47 +01:00
Denys Vuika
6826f796fe Update icon size as per mockups 2016-07-13 18:37:07 +01:00
Will Abson
9e8f644431 Add alt text for file and folder icons in documentlist
Refs #378
2016-07-12 15:10:06 +01:00
Denys Vuika
0a9cc60016 #393 readme updates 2016-07-11 15:30:21 +01:00
Denys Vuika
21c1cbc531 Code cleanup and fixes 2016-07-05 16:19:39 +01:00
Denys Vuika
e414135bd2 #340 document list now wraps and extends datatable 2016-07-05 14:19:07 +01:00
Denys Vuika
236926c1ca #340 Empty content template and context menu for datatable 2016-07-05 12:37:07 +01:00
Denys Vuika
e3924fdaa3 Integrating datatable into document list (wip) 2016-07-05 09:30:28 +01:00