253 Commits

Author SHA1 Message Date
Vito
8a9a9a6fdc
[AAE-7072] - added utc time for date time widget to avoid changing ti… (#7469)
* [AAE-7072] - added utc time for date time widget to avoid changing time on different timezones

* [AAE-7072] - fixed parsing when override is not added
2022-01-26 15:24:53 +00:00
arditdomi
e98fd2db0c
[AAE-7010] - Fix nested linked dropdowns are not reset (#7463)
* [AAE-7010] - Fix nested linked dropdowns are not reset

* Rebase

* Reset rest in case value is not part of the options

* Update failing unit test due to form field changes
2022-01-24 14:57:22 +01:00
Eugenio Romano
7c7b1eadf3
remove depend on from the general render (#7442) 2022-01-10 13:58:10 +01:00
dependabot[bot]
28bdab1146
Bump stylelint from 13.13.1 to 14.2.0 (#7431)
* Bump stylelint from 13.13.1 to 14.2.0

Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.13.1 to 14.2.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.13.1...14.2.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* upgrade to newest stylelint

* fix style issues

* fix color function rules to match old Angular

* rollback modern color func

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2022-01-05 09:21:09 +00:00
Dharan
2b25b50720
[ADF-4915][Form] FormField: When required is set to true, asterisk apppears in placeholder text (#7399)
* [ADF-4915][Form] FormField: When required is set to true, asterix appears in placeholder text

* [ADF-4915][Form] FormField: When required is set to true, asterix appears in placeholder text
2021-11-30 16:35:49 +00:00
Dharan
2d032f50fb
[AAE-6417] [FE] [FORM] preselect the logged user (#7377)
* [AAE-6417] [FE] [FORM] preselect the logged user

* [ci:force] force e2e
2021-11-25 10:34:05 +05:30
arditdomi
79d54ea4e4
[AAE-6025] - Resolve linked dropdowns during runtime (#7289)
* Resolve linked dropdown during runtime, Draft commit

* Remove app from appconfig

* Make the link work for Saved and Completed tasks

* Call the new API to fetch dropdown options in case of rest type

* When widgetId is missing from restUrl

* Update unit tests

* Declare default option

* Rebase, remove appName example

* Maurizify the PR

* Fix lint error

Co-authored-by: Ardit Domi <arditdomi@apl-c02g64vpmd6t.home>
2021-11-01 00:30:55 +00:00
Sushmitha V
f14d333281
[AAE-6165] Add capability in the Attach File of displaying metadata fields in addition to file name (#7324)
* [AAE-6165] Add capability in the Attach File of displaying metadata fields in addition to file name

* Minor css styling adjustments

* [AAE-6165] Changes done for date datatype and table css

* [AAE-6165] Changes done as per the comments

* [AAE-6165] Changes done as per comments on PR

* Resolved failing lints

* Updated CSS for attach file widget

* Updated css

* Updated UT

* Resolved e2e failures

* Resolved e2e errors

Co-authored-by: amohammedalfresco <abdul.mohammed@alfresco.com>
2021-10-31 23:40:57 +05:30
Vito
7481001461
[AAE-6093] - fixed rest option for cloud widget (#7304)
* [AAE-6093] - fixed rest option for cloud widget

* [AAE-6093] - reverted app config change

* [AAE-6093] - fixed naming

* [AAE-6093] - fixed radio button complete task and added support for rest url with the new feature

* [AAE-6093] - removed test value

* [AAE-6093] - fixed lint

* [AAE-6093] - fixed lint

* [AAE-6093] - merged fix for dropdown
2021-10-29 14:55:51 +01:00
Dharan
c596a06eda
[AAE-6209] Remove default dropdown value (#7331) 2021-10-29 16:50:32 +05:30
Dharan
b9997be4ab
[AAE-5971] [Form] Support for multi select drop down (#7321)
* [AAE-5971] [ADF][Form-cloud] Support for multi select drop down

* * fix drop down validation

* * minor changes

* * fix tests

* * minor changes

* * fix comments

* * fix e2e
2021-10-27 09:15:28 +01:00
Pablo Martinez Garcia
5a2d27393d
[MNT-22606] Add properties viewer as form widget (#7278)
* [MNT-22606] Add properties viewer as form widget

* [MNT-22606] Add documentation and fix the params accessor

* [MNT-22606] Fix unit tests

* [MNT-22606] Fix lint

* [MNT-22606] Fix lint

* [MNT-22606] Fix lint
2021-10-06 18:12:14 +02:00
Denys Vuika
6f968f7e4a
[AAE-5637] Remove SCSS mixins and use CSS variables (#7250)
* remove default-class mixin and use regular import

* cleanup colors

* remove variables file, fix bugs in animations

* proper ordering of imports, core css vars

* cleanup snackbar and material themes

* tags component

* login component styles

* app login

* toolbar component styles

* breadcrumb styles

* dropdown breadcrumb

* app layout component

* demo shell: files component

* aspect list styles

* content metadata styles

* node selector

* name location cell

* node share dialog

* content type dialog

* folder dialog

* document list

* datatable theme

* pagination theme

* viewer theme

* viewer theme

* user-info theme

* container widget

* dynamic table theme

* form widgets

* form theme

* form renderer

* sidebar menu

* header theme

* info drawer theme

* comment list

* commens and layout container

* sidenav layout

* empty content

* error content

* clipboard theme

* search input

* tooltip card and notification history

* card view theme

* remove unused keys

* add permission dialog

* search and permission dialogs

* version comparison and column themes

* upload drag area and cleanup references

* remove the need for content styles

* insight components

* cleanup insights theme

* process components

* process components

* process cloud themes

* cleanup unsed imports

* cleanup mixins

* update build scripts

* test fixes

* remove fdescribe

* css fixes

* update unit tests
2021-09-29 13:17:05 +01:00
Dharan
ccb17bb1a6
[ADF-5464] [form]Mandatory field validations are not applied once content removed (#7255)
* [ADF-5464] [form]Mandatory field validations are not applied once content is removed from these fields

* * fix test and people widget

* * fix flaky test
2021-09-28 13:41:43 +01:00
siva kumar
e73d3c3213
[AAE-5612] FE - [ADF] Destination picker it's not displaying my files folder if the destination Folder path type of string/folder variable is set to a folder part of trash (#7224)
* [AAE-5612] FE - [ADF] Destination picker it's not displaying my files folder if the destination Folder path type of string/folder variable is set to a folder part of trash

* * Refactored getDestinationFolderPath

* * Updated attachFileCloudWidget unit tests

* * Renamed method name

* * Added unit tests to the content-cloud-node-selector service

* * Fixed comments

* * Removed mock obj

* * fixed lint error

* * Fixed lint error
2021-09-28 11:48:48 +01:00
Pablo Martinez Garcia
c54587d90d
[AAE-5727] Add 'today' and 'now' as default values for date and datetime widgets (#7229) 2021-09-01 16:10:25 +02:00
Eugenio Romano
f30b20cc46
[ADF-5426] Remove compatibility layer from Lib (#7110)
* remove compatibility step 1

* remove compatibility step 2

* remove compatibility step 3

* remove compatibility step 4

* remove compatibility step 5
2021-08-04 17:31:35 +02:00
Denys Vuika
81f7e2af33
[ADF-5456] improved theming bundling (#7180)
* theming barrel file for core

* card-view theme

* clipboard theme

* rename core theme files

* content services themes

* process services theme

* process services cloud theme

* insights theming

* try fix flaky test
2021-07-20 15:24:37 +01:00
Denys Vuika
c1860f0c1f
[ADF-5410] code fixes and updates prior to Angular 12 upgrade (#7177)
* package fixes

* upgrade stylelint config

* upgrade configuration and stats

* code fixes based on Angular upgrade

* rework scss-bundle usage

* use node 14 with travis (lts)

* fix production builds

* fix node sass version
2021-07-15 12:48:23 +01:00
Pablo Martinez Garcia
8be6bbaf3c
[AAE-4241] Fix date and date time not being populated when node metadata is retrieved (#7025)
* AAE-4241 Fix date and date time not being populated when node metadata is retrieved

* AAE-4241 Fix unit tests

* [AAE-4241] Fix validation messages

* [AAE-4241] Fix unit tests

* [AAE-4241] Fix error log messages

* [AAE-4241] Fix unit tests

* [AAE-4241] Fix e2e tests
2021-07-13 07:22:27 +02:00
Denys Vuika
a4c3f3a95b
[ADF-5415] remove deprecated async method (#7171)
* remove deprecated async method

* fix tests and code

* test fixes

* fix tests
2021-07-12 20:09:47 +01:00
Dharan
8024f828f7
* fix adf lint (#7152) 2021-07-05 16:55:02 +02:00
Eugenio Romano
05c3ed01d7
[7094] Fix empty save people groups (#7137)
* fix empty save people groups

* fix
2021-07-01 12:36:13 +02:00
Silviu Popa
40e48d2444
fix disable complete button on invalid datetime (#7134) 2021-06-29 18:20:58 +02:00
arditdomi
7f7b61bda1
[ACA-4479][ACA-4480] - Enable Save button when the form is invalid (#7131)
* [ACA-4479][ACA-4480] - Enable Save button when the form is invalid

* Add a unit test for form cloud

* Fix e2e
2021-06-29 14:36:19 +01:00
Denys Vuika
829805e201
[ADF-5432] component template and code fixes after testing Angular strict mode (#7118)
* process list fixes

* template error fixes

* template and code fixes

* bug fixes in templates and types

* bugs, bugs are everywhere

* fix test

* test fixes

* enable strict templates for extensions lib

* enable strict mode for insights lib

* enable strict mode for core lib

* enable strict mode for content lib

* strict mode for process lib

* strict mode for process cloud

* fix demo shell template issues

* fix process cloud types
2021-06-22 16:36:06 +01:00
Denys Vuika
3079aa48c3
[ADF-5422] remove deprecated "async()" from unit tests (#7109)
* remove angualar async from content services

* upgrade more tests

* upgrade core tests

* upgrade tests

* fix deprecated constant

* fix tests

* fix after rebase
2021-06-15 16:16:15 +01:00
Denys Vuika
eb71a79d1e
prepare tests for ng-12 upgrade (#7099)
* prepare tests for ng12 upgrade

* fix lint

* fix tests

* test fixes

* fix code and tests

* fix code and tests

* test fixes

* test fixes
2021-06-11 07:36:32 +01:00
Denys Vuika
e94b2f99bd
[ADF-5406] SCSS and HTML template path fixes (#7063)
* remove useless mixin

* fix scss paths

* style fixes

* fix styles

* style fixes

* style fixes

* style fixes

* style fixes

* insights fixes

* css and template path fixes

* bug fixes
2021-06-01 09:21:00 +01:00
Eugenio Romano
5e3bc08594
Form fix style (#7038) 2021-05-17 16:44:08 +01:00
Vito
2b9535e90c
Fixing header style as now it's not aligned anymore (#7028) 2021-05-14 14:52:36 +01:00
Vito
e9bf84e13c
[ADF-5370] - fixed style for container dimension (#6923) 2021-04-15 16:50:42 +01:00
loictrichaud
be355cc6b4
add enableFractions in form values (#6915) 2021-04-12 11:58:51 +01:00
Vito
d6def4491d
Revert "[MNT-22063] - fix form cloud layout (#6529)" (#6795)
This reverts commit b126c14a0703ffd63f72ac5a5f2a2cc5e950344b.
2021-03-08 16:47:02 +00:00
Eugenio Romano
f4976a1949
[ADF-4329][ASD-5330] plus Improve e2e (#6580)
Improve e2e
Fix SSO user avatar 
Fix Priority for APS1
2021-02-05 15:18:30 +00:00
siva kumar
301df3dcb8
[AAE-4504] FE - [ADF] Fetch destination Folder Path from a static path (#6557)
* [AAE4504] FE - [ADF] Fetch destination Folder Path from a static path

* * Added condition to check destination folder path

* * Added typescript way to check

* Fix attach file from local e2e

* * Added unit tests to the recent changes

* * Fixed comments

Co-authored-by: Cristina Jalba <cristina.jalba@ness.com>
2021-02-05 09:45:04 +00:00
Silviu Popa
b126c14a07
[MNT-22063] - fix form cloud layout (#6529) 2021-01-22 16:59:39 +00:00
Silviu Popa
98705109e1
[MNT-22051] - Fix form field mapping when value is zero (#6517)
* [MNT-22051] - Fix form field mapping when value is zero

* PR changes

* add validation for null
2021-01-19 13:57:20 +00:00
Pablo Martinez Garcia
dd09c3ac02
[AAE-4241] Populate date and datetime widgets on retrieve metadata (#6412)
* AAE-4241 Populate date and datetime widget on retrieve metadata

* AAE-4241 Trigger build

* AAE-4241 Use on change to allow inline editing

* AAE-4241 Fix unit tests

* AAE-4241 Increase coverage

* AAE-4241 Add coverage
2021-01-11 09:39:24 +00:00
Ketevani Kvirikashvili
83df643133
unit tests are added for using date fields as visibility conditions (#6478)
Co-authored-by: Ketevani Kvirikashvili <ketevani@Ketevanis-MacBook-Pro.local>
2020-12-23 11:27:03 +00:00
dhrn
02aad08070
[ADF-5281][ADF] Can't go through a form with date/dateTime widgets only with Tab (#6365)
* [ADF-5281][ADF] Can't go through a form with date/dateTime widgets only with Tab

* * update datetime library

* Update date-time.widget.html
2020-12-18 09:48:28 +00:00
Vito
7f31441946
[ADF-5294] - fixed problem on form rendering (#6405)
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2020-12-01 23:58:32 +00:00
Vito
3ea094cff2
[AAE-1379] - fixed form rapresentation (#6366)
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2020-11-24 09:50:53 +00:00
davidcanonieto
91b7458bee
[ADF-5223] Fix Amount widget styling (#6302)
* [ADF-5223] Fix Amount widget styling

* Fix unit test

* Fix e2e test

* Fix e2e test
2020-11-05 14:00:15 +00:00
Pablo Martinez Garcia
b3e8ff27af
[AAE-3587] Use grid to allow using rowspan (#6151)
* AAE-3587 Use material grid to allow using rowspan

* AAE-3587 Fix column field rowspan

* AAE-3587 Add enableFixedSpace default value

* AAE-3587 Change material grid to CSS grid area

* AAE-3587 Review comments

* AAE-3587 Refactor for clarification of the complex method

* AAE-3587 Add types to method signatures
2020-10-16 14:36:58 +01:00
Vito
e22bdc7f4c
[ADF-5259] - addded unit test for custom widget (#6202)
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2020-10-02 13:51:15 +01:00
Vito
ffe04120a8
[MNT-21705] - fixed column display for fields (#6078)
* [MNT-21705] - fixed column display for fields

* [MNT-21705] - fixed unit test

* [MNT-21636] - adding flag for enable-disable column

* [MNT-21705] - fixed broken unit test

* [MNT-21705] - added documentation for extra form input field

Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2020-09-24 10:20:18 +01:00
Pablo Martinez Garcia
3a464a7bed
[AAE-3514] Create file viewer widget (#6142)
* AAE-3514 Create File viewer widget

* AAE-3514 Fix complex fields behaviour

* AAE-3514 Modify attach widget selection indicator

* AAE-3514 Add unit tests to attach-file-cloud widget

* AAE-3514 Add unit tests

* AAE-3514 Increase coverage

* AAE-3514 Fix review comments

* AAE-3514 Fix review comments
2020-09-22 17:01:03 +01:00
davidcanonieto
f4ebaec501
[AAE-3296] Add unit tests for Tooltips in Form Widgets (#6094) 2020-09-10 08:39:26 +01:00
Denys Vuika
d051aed476
fix production builds (#6075)
* run builds scripts sequentially

* temporary enable prod builds

* use ng instead of nx for adf-core

* increase mem

* downgrage the ts target

* downgrade main tsconfig

* update config

* downgrade scss-bundle

* raise mem only for prod builds

* restore dev build

* update angular cdk

* try restore build target

* upgrade unit tests after angular upgrade

* fix tests after angular upgrade

* remove old e2e
2020-08-28 17:34:08 +01:00