Commit Graph

532 Commits

Author SHA1 Message Date
Maurizio Vitale
fa7f89c75f [ADF-1694] Datepicker should be localizable (#2471)
* Add locate as user preference property

* The datepicker should be localizable.
Save the locale as user preference
The app should get the default locale from the store or appcongif or Browser or en

* Fix build error

* Fix unit test date widget

* Needs more investigation

* Fix import UserPreference

* Rollback date format change
2017-10-17 14:12:07 +01:00
Vito
3023d30d38 [ADF - 1681] Added username and created initials pipe for user info (#2479)
* [ADF-1681] appling design spec to userinfo component

* [ADF-1681] added default pipe to userinfo

* [ADF-1681] fixed pipe name and added pipe test

* [ADF-168] fixed test for new userinfo feature

* [ADF-1681] fixed test

* [ADF-1681] fixed style for initials image

* [ADF-1681] fixed button for new material design spec

* [ADF - 1681] Added documentation for the new values

* [ADF - 1681] added some test to check new input attributes
2017-10-16 22:55:40 +01:00
Andy Stark
f8438ea2de [ADF-1586] Moved and renamed docs index file (#2477)
* [ADF-1586] Moved and renamed doc index file

* [ADF-1586] Moved and renamed docs index file
2017-10-16 15:10:29 +01:00
Eugenio Romano
fcb292c849 [ADF-1731] update material2 beta12 e angular2 4.4.5 (#2475)
* update material2 beta12
update angular2 4.4.5

* fix changed version js-api

* update types hammerjs

* fix test

* clean old doc

* fix pagination test

* fix test

* missing update packages

* fix <mat-form-field> for select box

* start task component test
2017-10-16 09:58:19 +01:00
Eugenio Romano
a102a7ffb2 [ADF-1684] [object Object] appears in People control when selecting the same name (#2472)
* object people component bug

* fix test people widget
2017-10-14 08:35:53 +01:00
Eugenio Romano
a46cf4be64 [ADF-1724] Remove all log in favor of log service (#2465)
* remove console log from components

* remove console log from demo shell

* fix visibility issue

* fix error template

* remove console.log from spec

* fix tests

* fix test
2017-10-12 23:14:28 +01:00
Vito
c338e6913a [ADF-1679] added it translation for form validator messages (#2461) 2017-10-11 15:32:45 +01:00
Vito
fcda2228fa [ADF-1679] added translation for form field validators (#2455)
* [ADF-1679] added translation for form field validators

* [ADF-1679] fixed typeahead test
2017-10-11 10:11:52 +01:00
siva kumar
6f69f545ec [ADF-1672] Start Process - Improve the look and feel (#2437)
* [DW-180]  Start Process - Improve the look and feel.

* Created custom-button directive to have custom buttons inside the form.
* Updated en.json.
* Refactored start-process component.
* Added a property showEventIcon in start-form component.

* [DW-180] Start Process - Improve the look and feel.

* Refactored start-process scss file.
* Added some scss class to the html in start process/form components.
* Updated en.json.
* Added  ViewEncapsulation none.

* [ADF-1672] Start Process - Improve the look and feel .

* Removed Event icon.
2017-10-10 14:01:37 +01:00
Eugenio Romano
6d9bbcbf32 1.9.0 2017-10-09 12:11:05 +01:00
Vito
317ca76741 [ADF-1688] Update value for the form field when is empty string (#2450) 2017-10-09 12:10:48 +01:00
Vito
7db1a29f04 [ADF-1653] cleaned user suggestion when input type is an empty string (#2444)
* [ADF-1653] cleaned user suggestion when input type is an empty string

* [ADF-1653] removed wrong fdescribe

* [ADF-1653] improved behaviour of people widget

* Removed fdescribe
2017-10-06 21:46:43 +01:00
Eugenio Romano
48f0ccfc4f [ADF-1671] visibility fix use id instead of name during comparison (#2441)
* visibility fix use id instead of name during comparison

* fix tslint problems
2017-10-06 15:39:08 +01:00
Vito
8289492905 [ADF-1625] removed wrong select into typeahed widget, readded validati… (#2411)
* #ADF-1625 removed wrong select into typeahed widget, readded validation on blur

* #ADF-1625 added validator for typeahead fixed tests

* #ADF-1625 removed wrong fdescribe

* [ADF-1625] cleaned behaviour on typeahed

* [ADF-1625] fixed some selection bug on typeahed and start fixing test

* [ADF-1625] fixed typeahead test for autocomplete
2017-10-06 12:23:12 +01:00
Eugenio Romano
ad13bcafd6 fix user model process service and image loading (#2431) 2017-10-05 22:35:14 +01:00
Eugenio Romano
f9302869d1 [ADF-1674] align amount prefix widget 2017-10-05 18:14:14 +01:00
Maurizio Vitale
6d3c3316d9 Fix Form Service parseForm (#2440) 2017-10-05 17:13:02 +01:00
Maurizio Vitale
3f1383e412 [ADF-1640] Start form - Get the variables from the process instance API (#2425)
* Get the variables from the process instance API
/api/enterprise/process-instances/XXX
instead of
/api/enterprise/process-instances/382/variables
because the latest api returns 404 if the process is completed

* Fix unit test

* Add field id
2017-10-05 12:29:09 +01:00
Maurizio Vitale
80b6e15420 [ADF-1629] Fix check the visibility before render the form (#2423) 2017-10-04 14:09:56 +01:00
Eugenio Romano
07c0c1c593 remove console log (#2422) 2017-10-04 12:18:15 +01:00
Andy Stark
e8235fa7fe [ADF-1549] Removed doc content from library README files (#2400)
* [ADF-1549] Removed doc content from library README files

* [ADF-1549] Removed doc content from library README files

* [ADF-1583] Fix change detection error (the quick way) (#2396)

* Fix change detection error (the quick way)

* Fix it the second time

* raise keyboard events, improve task list keyboard handling (#2401)

* [ADF-1549] Removed doc content from library README files

* [ADF-1549] Added doc update from Tasklist readme
2017-10-02 22:41:44 +01:00
tdonovancsra
79422ac32c 508 compliance fix for upload widget (#2406)
* 508 fixes to bring the comments table into compliance. The <thead> element must be visible to users and <th> must display text that indicates what resides in the columns below.

* Updated to properly use the i18 translation

* This is a 508 Compliance fix to add a keyup.enter, role, and tabindex to both the icon and span associated with the file upload widget. This will allow keyboard-only users the ability to tab to a file loaded with the Upload Widget and select the element using the enter key.
2017-10-02 16:41:33 +01:00
Popovics András
84d4a1b6ba Fix input stylings for adf-people-search and modify existing fix for form inputs (#2405) 2017-10-02 14:32:06 +01:00
Eugenio Romano
ae1c0a7bca remove unused scss import 2017-09-29 17:06:11 +01:00
Eugenio Romano
545b04a642 fix build issues 2017-09-29 16:38:29 +01:00
siva kumar
1629a99911 [ADF-1608] Start Form - Improve the unit test cases. (#2390)
* * Covered more test case scenarios for start-form component

* [ADF-1608] Start Form - Improve the unit test cases.
* Refactored start-form.component.spec.ts
* Covered more test case scenarios for start-form component
2017-09-28 14:19:39 -04:00
Maurizio Vitale
e3ab50b4a1 [ADF-1595] Typeahead - Fetch the value from the process variables (#2388)
* Get the typeahead value from the process variables. We should not use the processDefinition to get again all the values

* Improve the dropdown widget
2017-09-28 15:22:26 +01:00
Popovics András
9af78dc240 Fix datewidget's moment issue (#2384) 2017-09-27 15:22:42 -04:00
Maurizio Vitale
e1573ddbde Fix dropdown should show the value in readonly mode (#2380) 2017-09-27 09:06:49 -04:00
Popovics András
870cab047e [ADF-1582] Revert error widget style modification (#2372)
* Revert error widget style modification

* Fix start form issues
2017-09-26 13:27:19 +01:00
Eugenio Romano
70a38acbff Update package json typescript version (#2368)
* update package json typescript version

* fix test problem

* fix minor upload type bug
2017-09-24 16:01:34 +01:00
Eugenio Romano
4f84079a19 refactoring autocomplete fields form in order to use the material 2 autocomplete (#2358) 2017-09-21 10:10:47 +01:00
Maurizio Vitale
77e75757a6 Fix start task form (#2356) 2017-09-20 14:59:35 +01:00
Eugenio Romano
c429aa8a10 fix people widget form component when no images are present (#2349) 2017-09-19 09:59:05 +01:00
Denys Vuika
95d6a04f99 [ADF-1548] deprecate the usage of the "forRoot" methods in modules (#2344)
* remove CoreModule.forRoot

* remove forRoot methods

* fix form issues (lint)
2017-09-18 14:35:41 +01:00
Eugenio Romano
cd46a589e1 [ADF-1555] add animation on show and hide of results (#2343)
* add animation on show and hide of results
make the style similar to the other material 2 menu
fix issue popup always stays on the screen
fix Search does not collapse if its input is focused

* minor code style issues

* minors fix and test fix

* fix app.config.json error in test

* update beta10 mat-menu-base method

* karma configuration all
2017-09-18 11:06:45 +01:00
Eugenio Romano
3c1729b960 [ADF-1518] Update material2 beta 10 and angular 4.3.6 (#2304)
* ignore pkg lock

* update pkg json

* date picker update material beta.10

* isDateInstance moment adapter

* style and  datepicker update material2 beta 10

* update test dateitem to beta10

* regenerate style files

* use material icons web font

* fix data range material 2 beta 10

* minors cleaning

* recreate styles

* remove unused componentHandler var

* fix failing test checkbox
2017-09-15 11:39:27 +01:00
andyhealey26
dfccf13fb1 [ADF-1515] Internationalization - ADF strings review (#2336)
* Update en.json

ADF-1515
Update to match Content Services terminology

* Update en.json

ADF-1515
Improvements to readability in line with docs.alfresco.com/writing-for-alfresco

* Update en.json

ADF-1515
Improvements to readability and consistency

* Update en.json

* Update en.json

ADF-1515
Fix typo

* Update en.json

ADF-1515
Updated for US spelling and consistency with docs.alfresco.com/writing-for-alfresco

* Update en.json

ADF-1515 - reduced word count

* Update en.json

ADF-1515
Readability improvements

* Update en.json

ADF-1515
Updates for readability and consistency

* Update en.json

ADF-1515
Updated for readability and consistency

* Update en.json

* Update en.json

* Update en.json

ADF-1515 - removed variables section as discussed w. Eugenio

* Update en.json

ADF-1515 - removed search label as discussed with Eugenio
2017-09-14 16:38:14 +01:00
Eugenio Romano
d9bd59833c [ADF-1543] Remove local copy of muli (#2335)
Use http request to load the font
Add the Muli font in all the theme
Remove the overwritten font-family not necessary
2017-09-14 09:27:55 +01:00
Eugenio Romano
cebadc8bd5 remove max length attribute (#2321) 2017-09-11 18:21:24 +02:00
Maurizio Vitale
7a26c1d53d [ADF-1521] Form string type is not rendered (#2318)
* Fix missing string widget and task list loading

* Update tasklist.component.ts

call initStream
2017-09-11 18:01:42 +02:00
Maurizio Vitale
7479bb1b6f [ADF-1537] Fix check property defined (#2320) 2017-09-11 16:34:45 +01:00
Denys Vuika
a8dfbeb572 [ADF-1090] support custom dynamic table row validation (#2308)
* support custom dynamic table row validation

* test fixes

* export missing models
2017-09-08 08:46:29 +02:00
Denys Vuika
1f766f3ade new "document" widget (#2307) 2017-09-07 16:05:46 +02:00
Denys Vuika
acef0c1159 fix wrapped field resolving (#2305)
check for the type property before resolving a wrapped field (addresses issue with empty field objects)
2017-09-07 12:24:55 +02:00
Vito
233355ffe7 [ADF-1499] fixed validation and value setting on date widget (#2298)
* [ADF-1499] added fix for date widget usage

* [ADF-1499] improved date validator to match new date widget material
2017-09-05 15:16:41 +01:00
Eugenio Romano
50e61a0d08 1.8.0 bump version (#2296) 2017-09-05 15:16:41 +01:00
Eugenio Romano
a11fb3afb9 fix tab form service (#2293) 2017-09-05 15:16:41 +01:00
Vito
480b0e0e55 [ADF-1512] fixed required style problem and others minor twitch for form (#2283)
* [ADF-1381] added some fix for style on form

* [ADF-1381] fix some styles for form
2017-09-05 15:16:41 +01:00
Popovics András
af900ab0af Table header fix (#2285) 2017-09-05 15:16:41 +01:00