👽 Angular 14 rebase 👽 (#7769)

* fix after rebase

* new release strategy for ng next

Signed-off-by: eromano <eugenioromano16@gmail.com>

* peer dep

Signed-off-by: eromano <eugenioromano16@gmail.com>

* Angular 14

fix unit test and storybook

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix after rebase

Signed-off-by: eromano <eugenioromano16@gmail.com>

update pkg.json

Signed-off-by: eromano <eugenioromano16@gmail.com>

missing dep

Signed-off-by: eromano <eugenioromano16@gmail.com>

Fix mistake and missing code

Dream....build only affected libs

Add utility run commands

* Use nx command to run affected tests

* Fix nx test core

fix content tests

Run unit with watch false

core test fixes

reduce test warnings

Fix process cloud unit

Fix adf unit test

Fix lint process cloud

Disable lint next line

Use right core path

Fix insights unit

fix linting insights

Fix process-services unit

fix the extensions test report

fix test warnings

Fix content unit

Fix bunch of content unit

* Produce an adf alpha of 14

* hopefully fixing the content

* Push back the npm publish

* Remove flaky unit

* Fix linting

* Make the branch as root

* Get rid of angualar13

* Remove the travis depth

* Fixing version for npm

* Enabling cache for unit and build

* Fix scss for core and paths

Copy i18 and asset by using ng-packager

Export the theming alias and fix path

Use ng-package to copy assets process-services-cloud

Use ng-package to copy assets process-services

Use ng-package to copy assets content-services

Use ng-package to copy assets insights

* feat: fix api secondary entry point

* fix storybook rebase

* Move dist under dist/libs from lib/dist

* Fix the webstyle

* Use only necessary nrwl deps and improve lint

* Fix unit for libs

* Convert lint.sh to targets - improve performance

* Use latest of angular

* Align alfresco-js-api

Signed-off-by: eromano <eugenioromano16@gmail.com>
Co-authored-by: eromano <eugenioromano16@gmail.com>
Co-authored-by: Mikolaj Serwicki <mikolaj.serwicki@hyland.com>
Co-authored-by: Tomasz <tomasz.gnyp@hyland.com>
This commit is contained in:
Maurizio Vitale
2022-08-25 10:50:30 +01:00
committed by GitHub
parent 53bc5aab2c
commit 1fa81962a0
1351 changed files with 26853 additions and 11958 deletions

View File

@@ -151,7 +151,7 @@ Result:
### 7. Process and Task attachment list component
This component shows all the attachments added to a task/process as a list. The component is using the [data table component](../../lib/core/datatable/components/datatable/datatable.component.ts) to show the list and the context menu with the actions. At the moment, you can open the attachment doing the double click on the row or select the action view from the menu actions. There is also the ability to download the attachment or remove it.
This component shows all the attachments added to a task/process as a list. The component is using the [data table component](lib/core/src/lib/datatable/components/datatable/datatable.component.ts) to show the list and the context menu with the actions. At the moment, you can open the attachment doing the double click on the row or select the action view from the menu actions. There is also the ability to download the attachment or remove it.
<alfresco-datatable *ngIf="!isEmpty()"
[rows]="attachments"
@@ -176,7 +176,7 @@ This component was already present in the previous ADF versions but we changed t
With this component, you can easily involve a person into a task. The component itself is composed of two different component, the [search component,](../content-services/components/search.component.md) the [people list component](../process-services/components/people-list.component.md).
The [search component](../content-services/components/search.component.md) has the goal to find a person not involved and show the results in a list. The list is always a [data table component](../../lib/core/datatable/components/datatable/datatable.component.ts) with the action menu disabled.
The [search component](../content-services/components/search.component.md) has the goal to find a person not involved and show the results in a list. The list is always a [data table component](lib/core/src/lib/datatable/components/datatable/datatable.component.ts) with the action menu disabled.
The [people list component](../process-services/components/people-list.component.md) shows all the people involved in a task in a list.
@@ -279,7 +279,7 @@ And the underlying component controller code can be as follows:
#### Parsing form definitions
The [`FormService`](../core/services/form.service.md) got a new API to parse form definitions from JSON into the [`FormModel`](../../lib/core/form/components/widgets/core/form.model.ts) instances without using [`Form`](../../lib/process-services/src/lib/task-list/models/form.model.ts) Component like it was previously.
The [`FormService`](../core/services/form.service.md) got a new API to parse form definitions from JSON into the [`FormModel`](lib/core/src/lib/form/components/widgets/core/form.model.ts) instances without using [`Form`](../../lib/process-services/src/lib/task-list/models/form.model.ts) Component like it was previously.
formService.parseForm(formDefinitionJSON)

View File

@@ -135,7 +135,7 @@ New "getFieldById" method to simplify certain scenarios when accessing multiple
getFieldById(fieldId: string): FormFieldModel
The [`Form`](../../lib/process-services/src/lib/task-list/models/form.model.ts) now controls all Field validators. It becomes possible managing existing validator instances, replacing them, or extending form validation with custom rules and error messages. The "adf-form" component now also supports binding custom validator sets to the underlying [FormModel,](../../lib/core/form/components/widgets/core/form.model.ts) that allows defining validation sets in your code and binding via HTML.
The [`Form`](../../lib/process-services/src/lib/task-list/models/form.model.ts) now controls all Field validators. It becomes possible managing existing validator instances, replacing them, or extending form validation with custom rules and error messages. The "adf-form" component now also supports binding custom validator sets to the underlying [FormModel,](lib/core/src/lib/form/components/widgets/core/form.model.ts) that allows defining validation sets in your code and binding via HTML.
You can read more details on the new Validation layer in the [`Form`](../../lib/process-services/src/lib/task-list/models/form.model.ts) readme: [Form Field Validators](../core/interfaces/form-field-validator.interface.md). The "demo shell" application has been also extended to demonstrate custom validators in action. You can check the code here: [Demo Field Validator](../core/interfaces/form-field-validator.interface.md).

View File

@@ -352,7 +352,7 @@ Release Notes - Apps Development Framework - Version 1.9.
- \[[ADF-1251](https://issues.alfresco.com/jira/browse/ADF-1251)] - Remove mdl from demo shell
- \[[ADF-1492](https://issues.alfresco.com/jira/browse/ADF-1492)] - Document List - Export [`ContentNodeSelectorComponent`](../content-services/components/content-node-selector.component.md) and [`ContentNodeSelectorComponentData`](../../lib/content-services/content-node-selector/content-node-selector.component-data.interface.ts)
- \[[ADF-1496](https://issues.alfresco.com/jira/browse/ADF-1496)] - Remove "Disable upload button when user has no permissions" switch.
- \[[ADF-1504](https://issues.alfresco.com/jira/browse/ADF-1504)] - Rename UserInfoComponentModule to [`UserInfoModule`](../../lib/core/userinfo/userinfo.module.ts)
- \[[ADF-1504](https://issues.alfresco.com/jira/browse/ADF-1504)] - Rename UserInfoComponentModule to [`UserInfoModule`](lib/core/src/lib/userinfo/userinfo.module.ts)
- \[[ADF-1515](https://issues.alfresco.com/jira/browse/ADF-1515)] - Internationalization - ADF strings review
- \[[ADF-1517](https://issues.alfresco.com/jira/browse/ADF-1517)] - Prebuilt theme
- \[[ADF-1518](https://issues.alfresco.com/jira/browse/ADF-1518)] - Update material 2 to beta 10

View File

@@ -332,7 +332,7 @@ We have added all the [process service](../process-services/services/process.ser
The [Login component](../core/components/login.component.md) now redirects users back to the originally requested URLs.
For example, if you have a route "/my-files" protected by the **[`AuthGuardEcm`](../../lib/core/services/auth-guard-ecm.service.ts)** (for ACS-related content) or **[`AuthGuardBpm`](../../lib/core/services/auth-guard-bpm.service.ts)** (for APS-related content), users may be redirected to a "/login" route if they are not authenticated. Upon successful login, the user is then redirected back to the "/my-files" page.
For example, if you have a route "/my-files" protected by the **[`AuthGuardEcm`](lib/core/src/lib/services/auth-guard-ecm.service.ts)** (for ACS-related content) or **[`AuthGuardBpm`](lib/core/src/lib/services/auth-guard-bpm.service.ts)** (for APS-related content), users may be redirected to a "/login" route if they are not authenticated. Upon successful login, the user is then redirected back to the "/my-files" page.
### 16. Task List override the columns
@@ -759,7 +759,7 @@ Release Notes - Apps Development Framework - Version 2.0.
- \[[ADF-1879](https://issues.alfresco.com/jira/browse/ADF-1879)] - ADF Process Services is not working properly
- \[[ADF-1885](https://issues.alfresco.com/jira/browse/ADF-1885)] - Once accessed process services components appear throughout app
- \[[ADF-1890](https://issues.alfresco.com/jira/browse/ADF-1890)] - Viewer - Content projection for sidebar only works if sidebarPosition is left
- \[[ADF-1891](https://issues.alfresco.com/jira/browse/ADF-1891)] - [`ActivitiContentService`](../../lib/core/form/services/activiti-alfresco.service.ts) is not exported
- \[[ADF-1891](https://issues.alfresco.com/jira/browse/ADF-1891)] - [`ActivitiContentService`](lib/core/src/lib/form/services/activiti-alfresco.service.ts) is not exported
- \[[ADF-1898](https://issues.alfresco.com/jira/browse/ADF-1898)] - [`ProcessService`](../process-services/services/process.service.md).createOrUpdateProcessInstanceVariables has incorrect method signature
- \[[ADF-1900](https://issues.alfresco.com/jira/browse/ADF-1900)] - [`ProcessService`](../process-services/services/process.service.md).getProcessInstanceVariables has incorrect method signature
- \[[ADF-1901](https://issues.alfresco.com/jira/browse/ADF-1901)] - [`ProcessService`](../process-services/services/process.service.md).createDefaultFilters has incorrect method signature
@@ -801,7 +801,7 @@ Release Notes - Apps Development Framework - Version 2.0.
- \[[ADF-1982](https://issues.alfresco.com/jira/browse/ADF-1982)] - [Destination Picker] Destination Picker doesn't match the designed component
- \[[ADF-1989](https://issues.alfresco.com/jira/browse/ADF-1989)] - Content is not properly sorted
- \[[ADF-1990](https://issues.alfresco.com/jira/browse/ADF-1990)] - Able to add comments on a completed task
- \[[ADF-1993](https://issues.alfresco.com/jira/browse/ADF-1993)] - [`AuthGuardEcm`](../../lib/core/services/auth-guard-ecm.service.ts) - canActivateChild missing
- \[[ADF-1993](https://issues.alfresco.com/jira/browse/ADF-1993)] - [`AuthGuardEcm`](lib/core/src/lib/services/auth-guard-ecm.service.ts) - canActivateChild missing
- \[[ADF-1994](https://issues.alfresco.com/jira/browse/ADF-1994)] - Document cannot be uploaded in a process
- \[[ADF-1995](https://issues.alfresco.com/jira/browse/ADF-1995)] - [Mobile] Menu button is not displayed - portrait orientation
- \[[ADF-1996](https://issues.alfresco.com/jira/browse/ADF-1996)] - Task document path is not displayed properly

View File

@@ -272,7 +272,7 @@ We have added the [target] property in the [infinite pagination component](../co
For more information about the infinite pagination see the following links:
- [Infinite pagination component](../core/components/infinite-pagination.component.md)
- [Paginated component interface](../../lib/core/pagination/paginated-component.interface.ts)
- [Paginated component interface](lib/core/src/lib/pagination/paginated-component.interface.ts)
### 10. App drop-down dialog selector
@@ -365,7 +365,7 @@ Release Notes - Apps Development Framework - Version 2.1.
- \[[ADF-1752](https://issues.alfresco.com/jira/browse/ADF-1752)] - allowInfoDrawer property does not disable the feature when showInfoDrawer is set to true
- \[[ADF-1882](https://issues.alfresco.com/jira/browse/ADF-1882)] - Preview uploaded content in APS fails in form
- \[[ADF-1888](https://issues.alfresco.com/jira/browse/ADF-1888)] - [`ExternalContent`](../../lib/core/form/components/widgets/core/external-content.ts) is not exported in ActivitiFormModule
- \[[ADF-1888](https://issues.alfresco.com/jira/browse/ADF-1888)] - [`ExternalContent`](lib/core/src/lib/form/components/widgets/core/external-content.ts) is not exported in ActivitiFormModule
- \[[ADF-1889](https://issues.alfresco.com/jira/browse/ADF-1889)] - Viewer does not render PDF renditions unless urlFile ends with .pdf
- \[[ADF-1926](https://issues.alfresco.com/jira/browse/ADF-1926)] - [`Form`](../../lib/process-services/src/lib/task-list/models/form.model.ts) is not exported from ActivitiTaskListModule
- \[[ADF-1959](https://issues.alfresco.com/jira/browse/ADF-1959)] - Apps with description appear with larger size on the Processes Services page

View File

@@ -321,7 +321,7 @@ Release Notes - Apps Development Framework - Version 2.3.0
- \[[ADF-2421](https://issues.alfresco.com/jira/browse/ADF-2421)] - CLONE - Unable to copy / move a file from Recent or Favorites when user has only granular permissions on the file
- \[[ADF-2428](https://issues.alfresco.com/jira/browse/ADF-2428)] - \[Demo shell Unable to view document metadata from document list view
- \[[ADF-2429](https://issues.alfresco.com/jira/browse/ADF-2429)] - Viewer - media file full screen
- \[[ADF-2442](https://issues.alfresco.com/jira/browse/ADF-2442)] - [Search Service](../../lib/core/services/search.service.ts) has wrong types for the 'search' API
- \[[ADF-2442](https://issues.alfresco.com/jira/browse/ADF-2442)] - [Search Service](lib/core/src/lib/services/search.service.ts) has wrong types for the 'search' API
- \[[ADF-2443](https://issues.alfresco.com/jira/browse/ADF-2443)] - Typo in the UserPreferences service
- \[[ADF-2444](https://issues.alfresco.com/jira/browse/ADF-2444)] - CLONE - Incorrect Items per page values on all lists after upgrade to ADF 2.2.0
- \[[ADF-2448](https://issues.alfresco.com/jira/browse/ADF-2448)] - Wrong type definition for [`RequestPagination`](https://github.com/Alfresco/alfresco-js-api/blob/develop/src/api/search-rest-api/docs/RequestPagination.md)
@@ -357,7 +357,7 @@ Release Notes - Apps Development Framework - Version 2.3.0
- \[[ADF-2660](https://issues.alfresco.com/jira/browse/ADF-2660)] - ADF [Process Service](../process-services/services/process.service.md) lib is not importing the content dependency
- \[[ADF-2662](https://issues.alfresco.com/jira/browse/ADF-2662)] - [Settings Component] Still able to sign in when changing APS or ACS URLS to invalid URL
- \[[ADF-2669](https://issues.alfresco.com/jira/browse/ADF-2669)] - Delete version confirmation dialog has wrong 'cancel' color
- \[[ADF-2673](https://issues.alfresco.com/jira/browse/ADF-2673)] - [`DebugAppConfigService`](../../lib/core/app-config/debug-app-config.service.ts) breaks default values for application config
- \[[ADF-2673](https://issues.alfresco.com/jira/browse/ADF-2673)] - [`DebugAppConfigService`](lib/core/src/lib/app-config/debug-app-config.service.ts) breaks default values for application config
- \[[ADF-2676](https://issues.alfresco.com/jira/browse/ADF-2676)] - SupportedPageSizes from app.config.json file are not displayed in Content Services Page
- \[[ADF-2681](https://issues.alfresco.com/jira/browse/ADF-2681)] - Not all sites are displayed in Site List dropdown
- \[[ADF-2682](https://issues.alfresco.com/jira/browse/ADF-2682)] - Number of page doesn't change when navigating to another folder

View File

@@ -180,7 +180,7 @@ A new input parameter processDefinitionId has been added to the Tasklist and the
### Lazy loading improvements
You can now use ADF libraries with the lazy-loaded feature modules. Every ADF library now supports "forRoot" and "forChild" semantics for the main modules.
For example, you should use ["CoreModule](../../lib/core/core.module.ts).forRoot()" in the main application module, and ["CoreModule](../../lib/core/core.module.ts).forChild()" in the lazy modules.
For example, you should use ["CoreModule](lib/core/src/lib/core.module.ts).forRoot()" in the main application module, and ["CoreModule](lib/core/src/lib/core.module.ts).forChild()" in the lazy modules.
### Localization
@@ -347,7 +347,7 @@ Release Notes - Apps Development Framework - Version 2.5.0
] - CLONE - DND - uploading folder into a folder fails
- \[
[ADF-3298](https://issues.alfresco.com/jira/browse/ADF-3298)
] - [`CardViewSelectItemComponent`](../../lib/core/card-view/components/card-view-selectitem/card-view-selectitem.component.ts) has the label twice
] - [`CardViewSelectItemComponent`](lib/core/src/lib/card-view/components/card-view-selectitem/card-view-selectitem.component.ts) has the label twice
- \[
[ADF-3301](https://issues.alfresco.com/jira/browse/ADF-3301)
] - Error thrown when user downloads from DocumentList