149 Commits

Author SHA1 Message Date
Baptiste Mahé
3fa95d6bd8
[AAE-1579] Fixing the style of the prefix of amount widget (#5546)
* [AAE-1579] Fix amount widget prefix

* top of prefix fixed in modeler

* [AAE-1579] prefix color get from theming

* [AAE-1579] fix color and removed useless include

* [AAE-1579] remove useless import and prefix red when input empty and required
2020-03-19 09:53:58 +00:00
dhrn
c64396b2fe
[AAE-1923] Form APS E2E (#5540)
* [AAE-1923] Form APS E2E

* * minor changes

* * fixed e2e
2020-03-16 11:49:11 +00:00
Vito
6bf8c17771
[AAE-1944] - Amount Widget Unit test (#5504)
* AAE-1944 - added unit test for amount widget

* AAE-1944 - fixed wrong header and lint problem
2020-02-28 14:04:26 +00:00
Baptiste Mahé
7a79d5bebf
[AAE-1943] Dropdown widget unit test (#5513)
* [AAE-2034] Radio Button displaued in read-only mode

* [AAE-2034] Added tests and disable for all radio group and not every button

* [AAE-1943] C309672 and C309675 into unit tests

* [AAE-1943] C309680 automated

* [AAE-1943] C309682 automated
2020-02-28 14:03:13 +00:00
Denys Vuika
a9b49a1eb7
[AAE-1883] document list preset unit tests (#5519)
* document list preset unit tests

* remove useless tests

* remove useless tests

* remove even more garbage

* remove junk
2020-02-28 13:26:01 +00:00
davidcanonieto
fcda1e3c7e
[AAE-1940] Add unit tests for Radio Buttons Widget (#5505)
* [AAE-1940] Add unit tests for Radio Buttons Component

* Update tests
2020-02-24 15:45:35 +00:00
Baptiste Mahé
53e1940ee7
[AAE-2034] Display disabled radio button in read-only mode (#5500)
* [AAE-2034] Radio Button displaued in read-only mode

* [AAE-2034] Added tests and disable for all radio group and not every button

* Test disbled property
2020-02-24 11:19:56 +00:00
Eugenio Romano
2d0b571875
remove not needed spaces (#5495)
* remove not usefull spaces

* increase timeout

* increase timeout

* fix
2020-02-23 17:00:16 +00:00
davidcanonieto
9898ad4401
[AAE-1939] Add unit tests to Text Widget (#5488)
* [AAE-1939] Add unit tests to Text Widget

* Improve code

* Improve toBeFalsy/toBeTruthy

* Configure TestBed only with needed modules
2020-02-23 12:38:46 +00:00
Eugenio Romano
1847768b56
[AAE-1848] fix kebab case files and add tlsint rule (#5481)
* fix kebab case files and add tlsint rule

* headless

* m 2 in e2e

* download file in headless chrome

* fix budget

* fix import

* fix import
2020-02-20 21:08:42 +00:00
Baptiste Mahé
918d27bc8a
C310322 to C310324 made in unit tests (#5493) 2020-02-20 15:29:04 +00:00
Denys Vuika
a0926a38d8
Minor code and style fixes (#5398)
* type fixes

* import fixes

* fix typos

* fix warning for private props that init in ctor only

* typing fixes

* typing fixes

* style cleanup

* fix test template
2020-02-09 22:03:32 +00:00
Baptiste Mahé
a3cbf9bcd3
[ADF-4920] Fixed checkbox dropdown style when invalid (#5444)
* ADF-4920 Fixed checkbox dropdown style when invalid

* ADF-4920 Corrected misspelling
2020-02-07 17:19:27 +00:00
Chris Rodriguez
4b102c1e7f [ACA-2475] keyboard trap (#5386)
* chore: added cdk keyboard trap to mat-datpicker

* chore: keyboard trap in datetimepicker
2020-01-24 11:08:02 +00:00
Denys Vuika
c7c1d76510
[AAE-936] injecting external settings for amount widget (#5389)
* injecting external settings for amount widget

* undo form changes
2020-01-23 11:59:40 +00:00
Silviu Popa
e0bc43d933 [AAE-1235] - fix task completion with datetime form widget (#5340) 2020-01-17 14:38:56 +00:00
Marouan Bentaleb
dac0f72b96 Adding amount row editor for dynamic table (#5366)
* Adding amount row editor for dynamic table

* Adding amount row editor for dynamic table
2020-01-15 15:26:30 +01:00
Maurizio Vitale
88d89b4ca8 [AAE-1152] Making sure the people and group widget is working fine as part of form (#5322)
* Making sure the people and group widget is working fine as part of the form

* Be able to save a form with people and group

* Fix tslint

* Fix html error

* Fix unit test
2019-12-11 11:22:50 +00:00
Eugenio Romano
703b96c9b0
[AAE-1152] Add People and Group component in the AAE Forms (#5314)
* firt version groupo component widget

* fix group

* fix compilation issue

* fix compilation issue

* fix compilation issue

* fix compilation issue

* fix problem update script

* multiple browser ps cloud

* add field assignment

* add field in form model

* no need subobject we need an issue to refactor the field model

* no need subobject we need an issue to refactor the field model

* fix unit test

* remove title modify

* revert

* fix lint

* exclude AAE-1179

* exclude tooltip e2e
2019-12-10 11:24:24 +00:00
Denys Vuika
8e6e755ed1
Revert "[ADF-4861] Fix memory leak in Date widgets and Form Cloud Model (#5041)" (#5279)
This reverts commit 2def8d05575709e613dc6ee9c59401346a4c3ae9.
2019-11-22 14:03:49 +00:00
Denys Vuika
e806e97c75 [AAE-207] support aps 1.x for upload reset (#5260)
* support aps 1.x for upload reset

* update test

* revert pdfjd change

* fix error reporting and crash from upload button

* i18n support for generic error

* fix test
2019-11-21 15:06:00 +00:00
Eugenio Romano
e667ec4f2f
[AAE-174] Show radio box in text box when read only (#5182)
* show radio box in text box when read only

* show radio box in text box when read only
2019-10-23 12:23:11 +01:00
Denys Vuika
d7ab0417b8
[AAE-622] No implicit returns (#5157)
* enable noImplicitReturns rule

* type fixes

* fix return types

* fix return value

* fix tests

* fix visibility service

* update tests

* add missing types

* fix test
2019-10-17 09:35:39 +01:00
davidcanonieto
2def8d0557 [ADF-4861] Fix memory leak in Date widgets and Form Cloud Model (#5041)
* [ADF-4836] Fix memory leak in Date widgets and Form Cloud Model

* Remove unit tests based on old logic
2019-10-10 11:01:06 +01:00
Denys Vuika
90b2cee70d
[ADF-4894] Json editor dialog (#5082)
* move download-zip to its own folder

* json dialog

* update docs

* update test

* disable e2e test

* json widget for the Form

* remove deprecated test

* fix tests, update display text name
2019-09-20 07:26:37 +01:00
Silviu Popa
d89b61cff0 [ACTIVITI-3746] - fix form completion with tab fields (#5059)
* [ACTIVITI-3746] - fix form completion with tab fields

* fix lint

* fix unit test

* refractoring and PR changes

* fix unit tests
2019-09-16 12:57:46 +03:00
Denys Vuika
77415d08a0 temporary switch off the FormModel json typing 2019-09-13 13:12:24 +01:00
Denys Vuika
d90497a3f8 fix FormRepresentationModel interface 2019-09-12 13:40:38 +01:00
Denys Vuika
2360ccc6d5 [ACTIVITI-3720] cloud form support for form variable mapping (#5044)
* universal form model

* parse variables correctly

* turn group model into interface

* remove console.log

* interface instead of class

* update form id type

* improved form variable parsing

* improved variable conversion

* fix cloud tests

* fix typings and code bugs
2019-09-04 20:14:21 +01:00
Vito
19a17ca6e6 [ADF-4823] added download and show preview for attach cloud widget (#4996)
* [ADF-4823] fixed download and start fixing show preview

* [ADF-4823] fixed preview files

* [ADF-4823] - added unit test

* [ADF-4823] - fixed lint problem

* [ADF-4823] - rebased and fixed lint problem

* added a new method in BrowserActions to check that the action menu is visible, and using that in the tests.

* linting fixes
2019-09-03 11:10:40 +01:00
Denys Vuika
ce50e9a3d3 [ACTIVITI-3720] form variables enhancements (#5028)
* support form variables on the model level

* take 'variables.name' convention into account

* move API to a proper place

* unit tests and code fixes

* unit tests for form field model

* process variable interface
2019-09-02 11:20:54 +01:00
davidcanonieto
1cb4dfc1b8 [ADF-4764] Hide placeholder in Amount Widget in readOnly mode (#5035)
* [ADF-4764] Hide placeholder in Amount Widget in readOnly mode

* add missing return type
2019-08-31 00:30:13 +01:00
Silviu Popa
be867b0c0c [ADF-4848] Form - fix tab visibility (#5021)
* [ADF-4848] - fix tab visibility

* add unit test
2019-08-30 19:31:12 +01:00
Denys Vuika
edc0945f39 fix "ng lint" command (#5012)
* update to latest js-api

* fix the "ng lint" command

* fix linting issues

* fix lint issues

* lint fixes

* code fixes

* fix html

* fix html

* update tests

* test fixes

* update tests

* fix tests and api

* fix code
2019-08-29 16:35:30 +01:00
Denys Vuika
9ca61975a5 add missing export 2019-08-13 10:23:17 +01:00
Eugenio Romano
4aa0f49c58
fix date issue +1 time zone in date widget (#4982) 2019-08-08 22:52:22 +01:00
Silviu Popa
cb988b0145 [ADF-4790] [ADF-4791] - fix visibility condition for text/checkbox and variable/value (#4978)
* [ADF-4790] [ADF-4791] - fix visibility condition for empty string and checkbox - value/variable

* reset package-lock

* reset package-lock.json

* fix lint and change return type
2019-08-08 22:51:09 +01:00
davidcanonieto
8adb9b2a25 [ADF-4775] Make date widget compatible with APS1 and APS2 (#4966)
* [ADF-4775] Make date widget compatible with APS1 and APS2

* Refactor and create new cloud widget
2019-08-07 00:40:19 +02:00
davidcanonieto
964e89f6ef [ADF-4788] Fix parsing of process variables from APS2 BE (#4972) 2019-08-07 00:34:04 +02:00
Silviu Popa
ba11019e11 [ADF-4760] - fix task form completion with a header field (#4965)
* [ADF-4760] - fix task completion form with header

* [ADF-4760] - PR changes
2019-08-01 15:36:47 +02:00
davidcanonieto
479416861f [ADF-4650] Fix and refactor amount, date and date-time widgets (#4957)
* [ADF-4650] Fix and refactor amount, date and date-time widgets

* fix e2e tests

* Fix people cloud test

* Fix e2e date test

* fix lint
2019-07-26 14:01:00 +02:00
davidcanonieto
c98687d6f0 [ADF-4754] Fix Date Widget display value (#4945) 2019-07-19 13:51:10 +02:00
davidcanonieto
a0d4160c11 [ADF-4713] Add new DecimalNumber Pipe to transform and localize numbers (#4926)
* [ADF-4713] Add new DecimalNumber Pipe to transform and localize numbers

* Unsubscribe from userPreference service

* Make Pipe impure

* Add documentation in localization page
2019-07-18 12:09:50 +02:00
Denys Vuika
1abb9bfc89 [ADF-4745] memory leak fixes (#4931)
* fix app-layout component

* fix card-view component

* fix cloud-layout service

* code fixes

* code fixes

* even more fixes

* even more fixes

* lint fixes

* test fixes

* fix code

* remove useless pipes

* fix code owners

* enable spellcheck for cloud components

* update test

* update test
2019-07-16 15:56:00 +01:00
Eugenio Romano
b28a53afe7
Ban xit and xdescribe use in the future (#4923)
* remove xit test and ban xit and xdescribe use in the future

* remove xit test and ban xit and xdescribe use in the future

* remove test excluded

* remove consecutive blank line
2019-07-12 15:04:53 +01:00
Silviu Popa
72b3a75a85 [ADF-4710] - adapt visibility condition to the new schema (#4884)
* [ADF-4710] - adapt new visibility condition schema

* [ADF-4710] - fix unit tests

* [ADF-4710] - support visibility for APS1 and APS2
2019-07-11 17:07:26 +01:00
Eugenio Romano
7a70e88ae3
Clean pdf viewer unit (#4916)
* fix unit test pdf viewer

* add more clean unit test core

* add more clean unit test core

* Delete license-info-3.3.0.md
2019-07-10 20:03:05 +01:00
davidcanonieto
c151d4535c [ADF-4682] Fix displayed date in date time and date widget (#4911) 2019-07-09 15:29:38 +01:00
dhrn
cdc39759ca [ADF-4716] Dynamic Table not working properly (regression) (#4896)
* [ADF-4716] Dynamic Table not working properly (regression)
[ADF-4722] Wrong date is displayed when updating row of dynamic table
* removing dynamic table date added

* * fix e2e
2019-07-09 11:40:27 +01:00
Silviu Popa
bd24105036 [ADF-4720] FormFieldModel fix error when has no variables (#4892)
* [ADF-4720] - prevent FormFieldModel crash

* [ADF-4720] - add unit test
2019-07-08 11:07:08 +01:00