Commit Graph

65 Commits

Author SHA1 Message Date
Denys Vuika
0f1f83492c [ADF-1115] selection management for DT/DL components (#2100)
* row select/unselect dom events for DT

- new events for datatable
- improved unit tests for empty content placeholders

* improved selection management for DT

* selection management for document list

* fix tests
2017-07-19 12:00:03 +01:00
Eugenio Romano
4ce66fd14b [ADF-1040] Change document list style rows based on permissions model (#2085)
* Change document list style rows based on permissions model

* fix test
2017-07-17 17:22:08 +01:00
Denys Vuika
a26b20459c [ADF-992] improve datatable styles according to UX guidelines (#2088)
* improve datatable style

* datatable and document list enhancements

- support to toggle header in DataTable
- Document List automatically hides header for empty content
2017-07-15 22:31:14 +01:00
Eugenio Romano
9a04a78cff [ADF-859] add codelyzer in core and datatable (#2056)
* add codelyzer in core and datatable

* add codelyzer in the main build

* order imports

* fix import in test

* fix import test

* import reorder form

* tasklist and processlist import reorder
2017-07-07 01:20:41 -07:00
Maurizio Vitale
308d3354a3 [ADF-970] Create a new Empty list component for the datatable (#2045)
* Create a new empty list component
Share the component between attachment list and document list
Add unit test
Add basic documentation

* Use the adf empty list also in the process attachment component

* Fix unit test

* delete wrong file
2017-07-06 13:03:57 +02:00
Eugenio Romano
e66d3aa1a3 add markdown linter (#2048) 2017-07-05 19:35:07 +02:00
Eugenio Romano
03686aa4ee [ADF-868] Use new ADF prefix in all tags (#2035)
* use new ADF prefix in all thr tag

* fix failing test

* fix datatable test
2017-07-04 00:47:29 -07:00
Eugenio Romano
829eac2dcf update viewer readme 2017-06-29 15:09:29 +01:00
Eugenio Romano
8e30af9d46 [ADF-838] Table of content automatic creation (#1981) 2017-06-29 15:09:18 +01:00
Eugenio Romano
f3d5b88671 [ADF-524] Datatable loading state (#1958)
* loading state datatable

* modify readme after review
2017-06-29 15:09:16 +01:00
Denys Vuika
774498e045 [ADF-591] documentation refinements (#1959)
* refine ng2-activiti-analytics

* refine ng2-activiti-diagrams docs

* refine ng2-activiti-form

* refine ng2-activiti-processlist

* refine ng2-activiti-tasklist

* refine ng2-alfresco-core

* refine ng2-alfresco-datatable

* refine ng2-alfresco-datatable

* refine gn2-alfresco-login

* refine ng2-alfresco-search

* refine ng2-alfresco-social

* refine ng2-alfresco-tag

* refine ng2-alfresco-upload

* refine ng2-alfresco-userinfo

* refine ng2-alfresco-viewer

* refine ng2-alfresco-webscript

* various readme cleanups
2017-06-29 15:09:15 +01:00
Eugenio Romano
282e64f93d Source Mapping is not working on test debugging (#1931)
* coverage single components run fix

* remove spec.ts from coverage

* make the coverage and the istanbul-instrumenter-loader works only over the console test because a problem on the remapping for the browser test

* move tslint on the main folder of any component

* remove build:w from readme

* stop build tslint error also in spec files

* clear karma file from unnecessary files

* add set -f for build all script in order to accept *

* fix lint problem and failing tests

* fix failing test search component

* add loader test for viewer

* fix tslint error userinfo

* --max_old_space_size=2048 remove

* fix tslint error uploader unused EventEmitter

* remove spec|index|.*mock|.*model|.*event from coverage
2017-06-29 15:09:08 +01:00
Denys Vuika
5025303980 [ADF-667] selection mode and row styles (#1914)
* selection mode and row styles

- single/multiple/none selection modes for DataTable component (and Document List)
- support for custom row styles (inline and classname values)
- fix karma config (material themes)
- readme updates
- package-lock.json files for NPM5 support
- updated DataTable demo to demonstrate selection modes and row styles

* remove package lock files
2017-06-29 15:09:05 +01:00
Maurizio Vitale
a90423aa21 [ADF-491] Task Attachment List Component (#1877)
* Create a new component Task Attachment List
Improve the datatable to get the rows to show

* The component name should follow the guide style
Move the Content calls in a different service file
Show the attach file inside the viewer

* Change method name

* Datatable should get the path and show the icon

* Improve attachment component

* Improve datatable documentation

* Remove console.log
2017-05-25 15:12:51 +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
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
Mario Romano
b614d2d5a5 #1540 fix systemjs links 2017-02-15 13:32:41 +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
Denys Vuika
9e00b1d4f1 documentation updates (#1549)
* documentation updates

refs #1357
refs #400

* Update README.md
2017-01-27 09:50:35 +00:00
Mario Romano
1c21875607 #537 snackbar notification system (#1527)
* #537 snackbar notification system

* #537 add test dependencies

* #537 add export material module

* #537 fix demo project
2017-01-24 17:09:13 +00:00
Denys Vuika
6f24ebd6d4 readme updates 2017-01-11 13:15:26 +00:00
Mario Romano
177c9694af #878 doc,demo and code improvements userinfo component 2016-11-09 12:27:44 +00:00
Mario Romano
cf0b0c5974 #878 doc and demo documentlist 2016-11-09 10:56:35 +00:00
Mario Romano
e778940f94 #878 doc and demo datatable 2016-11-09 10:56:35 +00:00
Mario Romano
f9210ba048 change needed for health care app 2016-09-06 19:18:35 +01:00
Eugenio Romano
beb37a2ded test and doc generateSchema 2016-07-19 10:21:22 +01:00
Denys Vuika
0bda181b94 Update README.md 2016-07-18 11:31:46 +01:00
Eugenio Romano
4c9463338f Update README.md 2016-07-15 10:55:54 +01:00
Mario Romano
723f14dc31 fix coverage badge 2016-07-12 15:51:33 +01:00
Mario Romano
5efbd7e864 integrate appveyor 2016-07-12 13:32:17 +01:00
Denys Vuika
5c546c5c8d Update README.md 2016-07-11 15:43:25 +01:00
Denys Vuika
1e312402e4 Update README.md 2016-07-11 15:42:24 +01:00
Denys Vuika
f158cbac1e Update README.md 2016-07-11 15:39:31 +01:00
Denys Vuika
0a9cc60016 #393 readme updates 2016-07-11 15:30:21 +01:00
Mario Romano
812befde22 update readme wiht new badge 2016-07-08 16:02:57 +01:00
Mario Romano
7a95c47598 #310 npm total donwloads stats 2016-07-01 10:49:37 +01:00
Mario Romano
89b90975b3 #310 npm donwloads stats 2016-07-01 10:47:15 +01:00
Mario Romano
2f9beba990 public travis 2016-06-29 23:26:27 +01:00
Mario Romano
13288199fb #229 remove private registry 2016-06-29 18:22:20 +01:00
Mario Romano
912f8554de #296 update naming and badges 2016-06-29 11:42:48 +01:00
Mario Romano
9e1f74caca #296 update travis link and badge after renaming 2016-06-29 10:48:43 +01:00
Mario Romano
dde481e64b more badges 2016-06-29 10:00:57 +01:00