10860 Commits

Author SHA1 Message Date
Davide Cerbo
53ad9f729b
AAE-15874 enable local development option for simpleapp (#9031) 2023-10-27 10:53:54 +02:00
Denys Vuika
ba96ed14b2
[ACS-6196] await-thenable rule for ESLint, fix issues (#9027)
* fix issues for core lib

* fix content services lib

* fix and cleanup process services

* [ci:force] process services cloud

* [ci:force] align coverage with all libs

* [ci:force] fix the insights
2023-10-26 09:33:48 -04:00
Denys Vuika
7ebdce7875
[APPS-2108] break direct dependency on moment.js (#9032)
* break direct dependency on moment.js

* [ci:force] preserve moment for cli tools

* remove MatMomentDatetimeModule from content

* share dialog fixes

* revert testing module changes

* remove incorrect date modules

* fix html
2023-10-26 09:33:26 -04:00
AleksanderSklorz
abf369bc37
[ACS-6189] Moved date adapter from module to component (#9029) 2023-10-26 10:40:55 +02:00
AleksanderSklorz
67f1a4c506
[ACS-6189] broken decision table dates after deprecation of moment date adapter 3 (#9026)
* ACS-6189 Fixed date format

* ACS-6189 Fixed unit test

* ACS-6189 Reverted unwanted changes

* ACS-6189 Fixed date format
2023-10-25 15:28:58 +02:00
Aayush Rohila
e6bc457d26
[ACS-5831] Adding generic error to Library Modal. (#9025)
* [ACS-5831] Adding generic error to Library Modal.

* change

* change

* lint issue fix
2023-10-25 17:50:14 +05:30
Denys Vuika
8bd24dbb7c
[ACS-6190] prefer-promise-reject-errors rule and fixes (#9021)
* fix promise rejections

* fix promise errors

* promise error fixes

* fix promise rejections

* [ci:force] fix formatting

* test fixes

* [ci:force] fix tests

* [ci:force] fix tests

* fix incorrect return types

* meaningful errors

* remove useless pipe

* fix accessing private members in the test
2023-10-25 07:01:45 -04:00
dependabot[bot]
352e0e4933
Bump mini-css-extract-plugin from 1.6.2 to 2.7.6 (#8979)
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 1.6.2 to 2.7.6.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v1.6.2...v2.7.6)

---
updated-dependencies:
- dependency-name: mini-css-extract-plugin
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-25 06:39:55 -04:00
dependabot[bot]
72e646bdf8
build(deps-dev): bump css-loader from 6.7.4 to 6.8.1 (#9015)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.7.4 to 6.8.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v6.7.4...v6.8.1)

---
updated-dependencies:
- dependency-name: css-loader
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-25 05:46:11 -04:00
Alfresco Build
36d90b314d
[ci:force][auto-commit] Update dependencies JS:7.1.0-1437 (#9022)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-10-25 04:39:59 -04:00
Alfresco Build
46104e9246
[ci:force][auto-commit] Update dependencies JS:7.1.0-1429 (#8969)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-10-24 13:14:51 -04:00
AleksanderSklorz
a73e72facb
[ACS-6189] Corrected date format (#9016)
* ACS-6189 Corrected date format

* [ci:force]ACS-6189 Trigger build
2023-10-24 13:13:20 -04:00
Denys Vuika
f366cf7c0a
[ACS-5645] metadata fixes for encapsulation and host classes (#9018)
* remove useless typing

* fix missing host classes and encapsulation
2023-10-24 12:11:28 -04:00
Denys Vuika
879c5a6d2c
[ACS-5645] card view dateitem parse fix (#9017)
* card view dateitem parse fix

* remove unused prop

* remove dead link from demo shell
2023-10-24 10:48:36 -04:00
DominikIwanek
36c6e6d8ea
[ACS-5566] - Add configurable columns to document list (#8968)
* [ACS-5566] - add configurable columns to document list

* [ACS-5566] - add max visible columns

* [ACS-5566] - add unit tests

* [ACS-5566] - add docs

* [ACS-5566] - style changes after CR

* [ACS-5566] - changes for pipeline

* [ACS-5566] - changes for pipeline

* [ACS-5566] - changes for pipeline
2023-10-24 09:52:11 -04:00
Wojciech Duda
3912a652d5
[AAE-16369] use layout-bp mixin where applicable (#8945)
* [AAE-15828] layout-bp mixin for core

* [AAE-15828] fixed import

* [AAE-15828] layout-bp for process-services-cloud

* [AAE-15828] layout-bp for process-services

* [AAE-15828] layout-bp for content-services

* [AAE-15828] fixed incorrect values

* [AAE-15828] lint fix

* configure stylePreprocessorOptions for cross project scss importing

* scss import cardio

* set correct style paths for packages

* [AAE-16369] addded missing test config

* [ci:force] fix for the pretheme build

* unified configs for libs
2023-10-23 15:36:26 +01:00
evelina-di
f6f74f4660
[AAE-16982] Add default ui with custom theme to simpleapp (#9014) 2023-10-23 13:58:57 +02:00
Tomasz Gnyp
33f1147671
[AAE-16962] Handle number data table column type (#9013)
* [AAE-16962] Handle number column type

* solve conflicts

* remove TODO

* [AAE-16952] Revert incorrect conflict solve

* remove duplicated import
2023-10-23 11:53:32 +02:00
MichalKinas
7c4304a1e7
Fix AAE-16968 BC (#9010)
* Fix AAE-16968 BC

* Fix incorrect import

* Move DataColumnType to extensions lib

* Lint fixes
2023-10-19 09:17:28 -04:00
Tomasz Gnyp
6644f539fa
[AAE-16964] Handle amount data table cloumn type (#8984)
* [AAE-16964] Handle amount data table cloumn type

* remove not needed reset testing module

* improve spacing

* update documentation

* remove code duplications in unit tests

* add type for default currency config

* update doc
2023-10-19 11:50:35 +02:00
Kritagya Jaiswal
962a2be698
[ACS-6126] Fixed accessibility issues (#9007)
* [ACS-6126] Fixed accessibility issues

* Added localise aria-label for Tags
2023-10-19 09:16:37 +01:00
Denys Vuika
d13db25609
[ACS-6136] cleanup e2e files (protractor) (#9009)
* cleanup e2e

* clean e2e
2023-10-19 09:14:14 +01:00
Wiktor Danielewski
b49c86fda5
[AAE-16968] Add boolean type (#8972)
* [AAE-16968] Update variable mapper service

* Update DetaColumnComponent

* [AAE-16968] Update DataColumnTypes interface

* [AAE-16968] Handle boolean column on UI

* [AAE-16968] Create BooleanCellComponent

* [AAE-16968] Delete comment

* [AAE-16968] Update BooleanCellComponent

* [AAE-16968] Delete unnecessary css classes

* [AAE-16968] Allow for string values

* [AAE-16968] Update test for datatable

* [AAE-16968] Update tests for boolean cell

* [AAE-16968] Update tests for VariableMapperService

* [AAE-16968] Add boolean pipe

* [AAE-16968] Update pipe

* [AAE-16968] Update code formatting

* [AAE-16968] Add doc for the boolean pipe

* [AAE-16968] Update DataColumnComponent doc

* [AAE-16968] Delete unnecessary class

* [AAE-16968] Fix title bug

* [AAE-16968] Update BooleanCell tests

* [AAE-16968] Update Boolean pipe

* [AAE-16968] Update tests for variable mapper service

* [AAE-16968] Update PipesModule

* [AAE-16968] Small fix

* [AAE-16968] Fix lint error
2023-10-19 09:00:27 +02:00
Denys Vuika
cda12730f6
[APPS-2255] documentation on date adapters (#9008)
* release note placeholder

* datetime docs

* fix docs

* fix docs
2023-10-18 16:16:17 +01:00
Aayush Rohila
d500bc67d7
[ACS-5831] Added Generic Error to Library Dialog. (#9005)
* [ACS-5831] Added Generic Error to Library Dialogue.

* format fix

* format fix

* [ci:force]
2023-10-18 14:20:31 +01:00
Denys Vuika
678df4298d
[APPS-2108] migrate cardview and task filters to date-fns (#9006)
* move based edit task filter to date-fns

* migrate cardview component to date-fns

* bug fixes for card view types, utc and multivalue

* fix copy to clipboard typing issue

* mark moment adapter for deprecation

* exclude e2e

* try migrate metadata smoke
2023-10-18 14:17:30 +01:00
Denys Vuika
7d5fbecf3f
[APPS-2136] migrate search-datetime-range to date-fns (#9004)
* strongly typed forms

* migrate to date-fns

* [ci:force] mark moment pipes for deprecation

* [ci:force] try migrate the metadata smoke e2e

* [ci:force] remove dead code

* cleanup dead code and switch e2e to date-fns

* [ci:force] migrate tests

* revert metadata

* [ci:force] migrate e2e

* [ci:force] delete date util
2023-10-18 07:56:10 +01:00
dependabot[bot]
af24aceb65
build(deps): bump @babel/traverse from 7.21.5 to 7.23.2 (#9002)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.5 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 17:25:21 +01:00
Denys Vuika
e6d625253c
[APPS-2132] migrate components to date-fns (#9001)
* migrate edit process filter to date-fns

* refresh unit tests

* fix a11y for date-fns

* Revert "fix a11y for date-fns"

This reverts commit 2e706d4aed1b8a50d1de62fe11d9d528530d628c.

* update e2e

* start task fixes

* cleanup code

* remove fdescribe

* remove moment, improve unit testing

* remove dependency on date util

* cleanup search date range component

* cleanup code

* migrate search date range component

* revert e2e changes for now

* extra fixes and tests

* add missing functionality, extra tests

* increase time constraints

* improved code, disabled e2e

* move e2e to unit tests, extra rework for insights

* extra unit test for date range validation

* migrate date-range to date-fns
2023-10-17 17:24:46 +01:00
swapnil-verma-gl
f7b0544172
[ACS-6019] Added node-fetch to adf-cli package.json (#9003)
* [ACS-6019] Added node-fetch to adf-cli package.json

* [ACS-6019] Removed node-fetch from root package.json

* [ACS-6019] Removed node-fetch from root package-lock.json
2023-10-17 08:11:16 -04:00
swapnil-verma-gl
ef285a1f10
[ACS-6019] [ACS-6021] [ACS-6023] Replaced request with node-fetch (#8999)
* [ACS-6019] Replaced request with node-fetch

* [ACS-6019] [Non-Functional Change] Added documentation to peopleSelected event emitter - Change to trigger affected E2Es

* [ACS-6019] Added return type to getFileFromRemote function. Removed request dependencies from package.json

* [ACS-6019] Commit package-lock.json

* [ACS-6019] Testing node-fetch v2

* [ACS-6019] Commiting package-lock.json
2023-10-17 16:47:53 +05:30
Denys Vuika
82fafff114
Remove demo shell protractor TreeView e2e (#9000)
* remove protractor TreeView e2e

* [ci:force] fix types

* [ci:force] remove unused method
2023-10-16 11:31:33 +01:00
Denys Vuika
462166293a
Remove useless protractor tests (#8998)
* [ci:force] remove useless viewer tests

* [ci:force] fix types

* [ci:force] remove demo-shell specific tests

* fix typo
2023-10-16 05:44:52 -04:00
Denys Vuika
2f36da5765
[APPS-2108] date-fns adapter for datetime pickers, many datetime parsing and validation fixes (#8992)
* migrate cloud date widget to date-fns, fix test bugs

* [ci:force] update docs

* [ci:force] remove commented out code

* [APPS-2232] date cell validator, unit tests

* improved moment adapter, code cleanup

* datetime adapter, many code fixes

* code review fixes

* code cleanup

* cleanup

* fix max datetime validation, update tests

* remove e2e already covered by unit tests

* fix search date range

* remove fake demo shell e2e for search

* remove fake demo shell e2e for search page

* cleanup e2e

* migrate dynamic table to date-fns

* fix e2e formatting

* migrate protractor to unit tests

* cleanup e2e
2023-10-15 15:58:22 +01:00
MichalKinas
c637f3eb2a
[ACS-5611] Add the option to initially expand custom panel (#8986) 2023-10-12 11:08:35 -04:00
Denys Vuika
96d0a617a4
[APPS-2108] migrate unit tests to date-fns (#8991)
* migrate unit tests

* [ci:force] cleanup
2023-10-11 14:52:37 +01:00
Denys Vuika
03a52dc10f
[APPS-2108] migrate form field validators to date-fns (#8988)
* migrate test

* migrate datetime validator

* date validator

* min/max date validators

* migrate form-field validators to date-fns

* [ci:force] update docs

* form-field-model date

* field model: datetime

* migrate form field model, extra tests and fixes
2023-10-11 12:01:58 +01:00
Aayush Rohila
2f28ec9b6f
[ACS-5877] Migrate widget-visibility service do date-fns (#8870)
* [ACS-5877] Migrate from moment to date-fns for widget-visibility service

* [ACS-5877] Migration from moment to date-fns in widget-visiblity.service

* migrate widget visibility service to date-fns

* restore clean method

---------

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2023-10-10 17:12:44 +01:00
Denys Vuika
a86b9e625c
[APPS-2108] migrate analytics report to date-fns (#8985)
* migrate analytics report to date-fns

* migrate bar chart model
2023-10-10 16:14:31 +01:00
Mykyta Maliarchuk
f6d48cb85c
[ACS-5348] Fixed accessibility issues for the Date facet (#8982)
* [ACS-5348] fixed accessibility issues

* [ACS-5348] removed .mat customizations
2023-10-10 08:46:09 -04:00
Denys Vuika
ce549249e5
[APPS-2108] ADF date-fns adapter implementation (#8983)
* adf date-fns adapter, migrate date widget

* [ci:force] fix tests

* [ci:force] update docs

* fix types and tests

* fix how the real date is stored, extra tests

* remove useless e2e as covered by tests already
2023-10-10 11:58:04 +01:00
MichalKinas
4cc4498b0e
[ACS-5611] Add custom metadata side panels to metadata card component (#8974)
* [ACS-5611] Add custom panels to metadata card component

* [ACS-5611] Add custom metadata panels unit tests

* [ACS-5611] CR fixes

* [ACS-5611] CR fixes
2023-10-09 13:47:45 +02:00
Denys Vuika
3a374ad2a4
[APPS-2108] migrate date widget to Angular date picker (#8975)
* migrate date widget to Angular date picker

* [ci:force] fix tests

* [ci:force] fix tests

* [ci:force] test fixes

* [ci:force] missing label attributes

* added type for value
2023-10-09 10:28:13 +01:00
Denys Vuika
e42e0869ba
[APPS-2108] Switch search date range to the material date adapter (#8973)
* cleanup and setup testing

* switch to material adapter instead of adf one
2023-10-06 14:54:28 +01:00
Denys Vuika
93f45062fe
migrate node lock dialog to date-fns (#8970)
* migrate node lock dialog to date-fns

* cleanup
2023-10-06 13:25:33 +01:00
Kritagya Jaiswal
ea65756660
[APPS-2157][APPS-2158][APPS-2161][APPS-2162][APPS-2165] Migration from moment to date-fns (#8965)
* [APPS-2157][APPS-2158][APPS-2161][APPS-2162][2165] Migration from  moment to date-fns

* Modified endDate to CompletedDate

* Addressed review comments

* Revert import for dataFnsUtil

* Replace fit to it

* fix types and avoid double date conversion

* fix lint issue

* support iso strings for date formatting

---------

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2023-10-05 16:00:46 -04:00
Jatin Chugh
ecbee581a7
[APPS-2133] migration of dependency from moment to date-fns in start-task.component (#8844)
* migration of dependency from moment to date-fns in task-list.component

* used parse() instead of format()

* [APPS-2133] Migration from moment to date-fns with converter approach

* [APPS-2133] Changed varible name to avoid lint issue

---------

Co-authored-by: kritagya09 <kritagya.jaiswal@globallogic.com>
2023-10-05 15:05:41 +05:30
Mykyta Maliarchuk
93fe29503a
[ACS-6002] Add permissions displaying Site Permissions outside of Sites (#8952)
* [ACS-6002] added additional check for site

* [ACS-6002] changed type

* [ACS-6002] rebase
2023-10-05 04:40:47 -04:00
Alfresco Build
441d8003af
[ci:force][auto-commit] Update dependencies JS:7.1.0-1372 (#8966)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-10-05 03:40:55 -04:00
Tomasz Gnyp
11b4f5186b
[AAE-16969] Remove force casting of all types to text (#8963) 2023-10-04 15:36:11 +02:00