416 Commits

Author SHA1 Message Date
Vito
e8889a5adb [ADF-147] Add input mask to Text Widget on Form (#1885)
* ADF-147 create directive to apply input mask
* ADF-147 - created directive for calculate input mask
* ADF-147 added input mask for text element
2017-05-25 15:12:51 +01:00
Denys Vuika
e63802ef4f form renderer fixes (#1882)
- provide support for showing generated documents in Display Value widget
2017-05-25 15:12:51 +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
af82f83669 Add config files in any components folder (#1878)
* add config files in any components folder
* all test run option ft and option to skip build and run only test
2017-05-25 15:12:50 +01:00
Eugenio Romano
72704cad57 [ADF-570] Script for Pushing to Registry (#1875)
* change prepublish to build only
add .npmrc in the gitignore and npmignore
clean .npmrc during the clean task
change registry during publish with npmrc file
add rimraf install in npm publish

* add option to link an alfresco-js-api from github

* npm build on develop branch will use the alfresco-js-api from develop

* modify script after review
add -gitjsapi to starts.sh to change jsapi pointing
add -vjsapi to starts.sh to change jsapi pointing

* start dist demo shell script option
2017-05-25 15:12:50 +01:00
Mario Romano
6da0eaba37 Fix build problem (#1861)
* fix sourcemap
fix relative path and pre publish build
change travis wait
all test run build and remove unused cpx

* global test task
modify publish script to accept options

* appveyor run

* different approach single test run

* make it work the analytics test
modify start demo shell script to use a different registry

* sourcemap demo shell working

* update readme and add install after any clean
add registry option in start.sh script
add develop and normal mode in demo shell
add -d option in start.sh to point to the local components
add -c option in build script to point to the local components
2017-05-25 15:12:49 +01:00
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
Mario Romano
ac16f1c3dc 1.4.0 (#1848) 2017-04-27 14:05:12 +01:00
Denys Vuika
dad7a575f7 disable debug button by default (#1836)
- debug button is now disabled by default for the Form and Task Details
- debug mode now enabled by the demo shell explicitly
2017-04-27 14:05:11 +01:00
Denys Vuika
1dd283b0d8 Form renderer enhancements (#1839)
- readonly mode for “Dynamic Table”
- “Display Value” now just uses “Dynamic Table” if needed (previously
rendered the table itself)
- support for “tableEditable” settings
2017-04-27 14:05:11 +01:00
Denys Vuika
6c2e56296f readme updates for Form component 2017-04-27 14:05:09 +01:00
Eugenio Romano
0fcd40b7f0 revert update ng2-translate-version #1397 (#1818) 2017-04-27 14:05:08 +01:00
Eugenio Romano
ab3d18e5c1 update ng2-translate-version #1397 (#1805)
* update ng2-translate-version #1397

* change karma.conf and build for ng2-translate 4.0.0
2017-04-27 14:05:08 +01:00
Maurizio Vitale
d2f7a6858f Activiti form - Custom date format (#1806)
* Fix format date|
#1704

* Add unit tests on custom format date
#1704

* Update form-field.model.ts

* Update display-value.widget.ts
2017-04-27 14:05:07 +01:00
Vito
25a430c933 #1712 - Removed old private api call for wokflows users and groups (#1799)
* #1712 - changed workflow api call from private to enterprise

* #1712 - removed Testbed added injector
2017-04-27 14:05:07 +01:00
Eugenio Romano
8725a745c2 1.3.0 (#1795) 2017-04-04 12:27:58 +01:00
Maurizio Vitale
64a66e676b Improve activiti content coverage (#1800) 2017-04-02 13:44:05 +01:00
Mario Romano
2651ec46d6 #1711 fix version package.json 3rd libraries (#1768)
* #1711 fix version package.json 3rd libraries

* fix test
2017-03-30 19:06:01 +01:00
Maurizio Vitale
952df8d81c Activiti form - Dropdown display label in complete form (#1777)
* Dropdown - retrieve the label instead of the id

* Add unit test

* Use find instead of filter
2017-03-30 18:14:22 +01:00
Maurizio Vitale
a608bc40a4 Close the dialog when the activiti content preview is cliecked (#1792) 2017-03-30 18:10:26 +01:00
Denys Vuika
4c62409e8c optimise some dependencies (#1781)
- remove “intl” from components (not needed)
- remove “material-design-icons” from core (not needed)
2017-03-28 17:27:37 +01:00
Denys Vuika
aa9269291a remove hardcoded date format (#1779) 2017-03-28 17:25:44 +01:00
Eugenio Romano
7657c1e633 add @angular/material dep on demos systemjs conf (#1780) 2017-03-28 16:26:19 +01:00
Denys Vuika
88acf9d3c1 fix checkboxes (Form) (#1773)
- migrate to angular/material checkboxes
- add required indicator
- various fixes and improvements (caused by migration)
2017-03-28 09:47:41 +01:00
Maurizio Vitale
a58dcca269 Required filed should have an asterisk inside the label (#1776) 2017-03-28 09:07:26 +01:00
Maurizio Vitale
fde08bb573 Integration beetwen Viewer and Activiti Content (#1765)
* Provide a FormService event when you click on the uploaded content

* Add a formContentClick event to the Form component

* Provide a way to pass Blob to viewer

* Provide a way to use the viewer using a Blob
 - Fix the pdf viewer
 - Fix the image viewer
 - Fix the media viewer

* Update the viewer documentation

* Use the ContentService provided by the core

* Fix and improve unit test

* Add unit test blob viewer
2017-03-27 14:33:07 +01:00
Eugenio Romano
36c76bf10c add timeout increase karma tests (#1771) 2017-03-27 12:51:14 +01:00
Denys Vuika
cf67a0c1b5 bug fixes for thumbnails and Safari download (#1763)
- set ‘show thumbnail’ to true by default
- add support for safe downloads in Safari (upcoming 10.1 and TP)
2017-03-24 13:27:51 +00:00
Eugenio Romano
5072cb3aa0 increase inactivity timeout test (#1760) 2017-03-23 17:55:50 +00:00
Denys Vuika
4f154f8bca Form: support for embedded document view (#1748)
* Form: support for embedded document view

* unit tests and improvements

- new ContentService to deal with trusted URL and downloads
- unit tests and improvements for ActivitiContent component
2017-03-23 17:51:20 +00:00
Eugenio Romano
e8c524176e fix clean script and build all (#1758) 2017-03-23 15:51:28 +00:00
Eugenio Romano
707851ce85 fix HammerJS warning #1617 (#1755) 2017-03-23 15:44:52 +00:00
Eugenio Romano
96c72eeef1 remove event model from coverage (#1753) 2017-03-23 12:00:15 +00:00
Eugenio Romano
d739526517 make the local link build fast and run the test only if asked #1588 (#1671)
* make the local link build fast and run the test only if asked #1588

* demo core doesn't exist

* link after install

* move in after success matrix build and install scripts
2017-03-23 10:54:49 +00:00
Eugenio Romano
f3c9ffab8d remove style in html #1678 (#1743) 2017-03-22 10:50:24 +00:00
Denys Vuika
44808a31a3 fix dynamic table validation (#1741)
- dynamic table widget no longer creates a copy of field model, but
uses original one, fixes the problem with validation and state
management
- update unit tests
2017-03-22 09:58:12 +00:00
Denys Vuika
0afc6affb6 support for setting CSS classes in the designer (#1737)
- provides support for `className` field that Angular 1 designer allows
to define for Forms and Form Fields
2017-03-17 14:33:05 +00:00
Denys Vuika
55137917bd form component fixes (#1726)
- fix ‘readonly highlighting when input fields loaded with values
- Start Form raises base ‘FormLoaded’ event (including FormService
emits)
2017-03-14 10:14:14 +00:00
Mario Romano
cf85840350 Dev denys 1704 hotfix (#1717)
* Update README.md

* #1173 fix doc documentlist

* Date widget: support for `display date format`

* unit tests update

* pin js-api version

* Fix Thumbnail preview (#1689)

* Fix Thumbnail preview

* Fix thumbnail unit test

* Remove the fix prexif

* Rollback the pin js api version

* Update package.json

* 1.2.1 tasklist,processlist,form
2017-03-10 18:46:22 +00:00
Maurizio Vitale
a0b8781209 Fix Thumbnail preview (#1689)
* Fix Thumbnail preview

* Fix thumbnail unit test

* Remove the fix prexif
2017-03-06 16:50:28 +00:00
Vito
4d8abee892 1454 - fixed spacing in forms (#1687) 2017-03-03 15:32:37 +00:00
Denys Vuika
fd6433027a Update README.md 2017-02-28 13:56:48 +00:00
Mario Romano
cb19ff911c 1.2.0 (#1665)
* bump to 1.2.0

* Update package.json

* Update package.json

* update demo 1.2.0
2017-02-27 12:02:01 +00:00
Eugenio Romano
571b7f09c3 refactoring build script #1533 (#1664) 2017-02-27 09:15:52 +00:00
Denys Vuika
618d9e6e0e fix display-value rendering for checkboxes (#1661) 2017-02-24 18:04:34 +00:00
Denys Vuika
14c7f0409b sequential loading order (#1659) 2017-02-24 13:49:16 +00:00
Mario Romano
b614d2d5a5 #1540 fix systemjs links 2017-02-15 13:32:41 +00:00
Maurizio Vitale
d3d67c5934 Create a new activiti content component that provide the file preview (#1516)
* #1236 Add activiti content component

* fix wrong name

* Fix unit test import

* Rollback api changes

* #1236 fix preview using blob

* Fix after review
2017-02-06 19:40:49 +00:00
Mario Romano
ffb959d331 1.1.0 (#1562) 2017-01-30 12:57:27 +00:00