Commit Graph

4476 Commits

Author SHA1 Message Date
Soumyajit Chakraborty
d776c7c77d AAE-35310 Displaying different text fields on an eform doesn't align vertically or horizontally (#10979)
* AAE-35310 fixing vertical or horizontal alignment issues

* AAE-35310 refactoring code and removed manual scss with flexboxes
2025-07-02 17:33:37 +05:30
Shivangi Shree
6dafcb4447 [ADF-5580] emit commentAdded event from adf-comments component (#10966)
* [ADF-5580] emit commentAdded event from adf-comments component

* [ADF-5580] Emit commentAdded event from adf-comments and expose it in adf-node-comments

* [ADF-5580] Emit commentAdded event from NodeCommentsComponent, add unit test, and update docs

* [ADF-5580] Add unit test for commentAdded output in NodeCommentsComponent, update docs and create testing utils

* [ADF-5580] Mark debugElement as readOnly

* [ADF-5580] Add mock services and fix unit test setup

* [ADF-5580] Reuse shared comment mocks across multiple test files

* [ADF-5580] Align comments component documentation

* [ADF-5580] Remove redundant setup and use ContentTestingModule in comment components tests
2025-07-01 13:54:07 +05:30
AleksanderSklorz
57713dbe6e [MNT-25175] configured scripts to execute are listed by node id and not by script name (#10969)
* [MNT-25175] Styles and title for non editable property

* [MNT-25175] Unit test
2025-07-01 08:01:20 +02:00
Denys Vuika
8b3b6ffbca AAE-36173 switch to TranslatePipe (#10968) 2025-06-27 10:20:05 -04:00
Soumyajit Chakraborty
16f42be08e AAE-35976 Adding auto required instead of manually handling styles manually (#10956)
* AAE-35976 adding auto-required instead of manually handling required using asterisks inside mat-form-field elements

* AAE-35976 removing hiderequiredmarker as it'll be handled by the form-fields itself

Resolving merge conflicts with develop

* AAE-35976 fixing units

* AAE-35976 adding isVisible condition with the required field

* AAE-35976 removing the method call from html and using the variable instead for conditions
2025-06-26 18:11:24 +05:30
Robert Duda
dcab68d78a AAE-35632 Priority filter unit tests (#10965) 2025-06-24 12:31:58 +02:00
Soumyajit Chakraborty
f40107de33 AAE-34482 Modelling inconsistencies in mat form fields label alignments ii (#10929)
* AAE-34482 fixing card view datetime component in adf using mat-label

* AAE-34482 fixing the padding for mat-form-field labels

* AAE-34482 resolving the pr review comments

* AAE-34482 changing the floatType from 'auto' to null

* AAE-34482 changing the scss class name as per the review comment

* AAE-34482 fixing the left units
2025-06-23 16:14:39 +05:30
MichalKinas
c16417cbff [ACS-9250] Adjust viewer to display properly under parent without overlay mode (#10950) 2025-06-20 17:46:29 +02:00
Soumyajit Chakraborty
27502d5d67 AAE-34902 Updating styles for input controls to maintain the ui consistency with studio hxp (#10900)
* AAE-34902 updating styles for input controls to maintain the ui consistency with studio-hxp

* AAE-34902 changing class prefix-names from hxp to adf

* AAE-34902 float level conditional on placeholder

* AAE-34902 fixing the placeholder in text-widgets

* AAE-34902 fixing the left and right side margins on workspace forms
2025-06-17 15:40:20 +05:30
Anna Karwatka
a4072aca74 AAE-35694 Update section-start-form with Sections in Row (#10947) 2025-06-17 06:15:00 +02:00
Soumyajit Chakraborty
22b62804d5 AAE-35882 Studio modelling forms required dropdown has double asterisk (#10948)
* AAE-35882 fixing the double asterix issue on require fields on preview and form-editors and workspace

* AAE-35882 altering one unit as the asterisks are now handled by mat-form-fields
2025-06-16 20:13:38 +05:30
Grzegorz Jaśkowski
eda59a1de8 [ACS-8746] yellow warning color (#10883)
* [ACS-8746] yellow warning color

* [ACS-8746] move snackbar bg styling to app level

* [ACS-8746] missing comma
2025-06-13 12:50:11 -04:00
Wojciech Duda
3009fa6dec AAE-35848 Fix dynamic viewer container scaling (#10932)
* AAE-35848 Fix dynamic viewer container scaling

* AAE-35848 Add unit test

* AAE-35848 Fix custom viewer test
2025-06-13 09:57:11 +01:00
AleksanderSklorz
cdc7553915 [MNT-24923] legal hold hold capabilities are not verified properly (#10930)
* [MNT-24923] Added possibility to filter capabilities by person id

* [MNT-24923] Documentation and unit tests
2025-06-12 08:21:49 -04:00
Alfresco Build
7a568baf72 New Crowdin translations by GitHub Action (#10928)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-06-12 08:18:48 -04:00
MichalKinas
f8a75d4af7 Viewer renderer stop loading when subsequent renderer throws error (#10931)
* Viewer renderer stop loading when subsequent renderer throws error

* Update lib/core/src/lib/viewer/components/viewer-render/viewer-render.component.spec.ts

* CR fix

---------

Co-authored-by: Michaela <85624192+mkrbr@users.noreply.github.com>
2025-06-12 11:47:22 +02:00
Michaela
31c2cb2162 AAE-35728 Add aria label to viewer loading bars (#10927)
* Adds loading state accessibility

Improves accessibility by adding screen reader support to loading indicators.

This ensures that users with disabilities are informed when the document is loading, improving the overall user experience.

* Trigger Build

* Fixes accessibility issue on loading spinner

Removes the redundant `attr.` prefix from the `aria-labelledby` attribute in the loading spinner.
This resolves an accessibility issue where the spinner's label was not correctly associated, enhancing the user experience for assistive technologies.

* Trigger Build
2025-06-11 17:20:51 +02:00
Michaela
2c4764f89e Adds loading state accessibility (#10926)
Improves accessibility by adding screen reader support to loading indicators.

This ensures that users with disabilities are informed when the document is loading, improving the overall user experience.
2025-06-11 15:48:08 +02:00
Michaela
e2693f9304 AAE-35668 Sending empty string instead of null after clearing value from numeric field (#10925)
* Handles null values in number widget

Ensures the number widget correctly handles null, undefined, and empty string values, setting the field value to null in these cases.

This change prevents unexpected behavior when the user clears the input field, ensuring data consistency.

* Adds test for readonly number widget

Adds a test case to verify the behavior of the number widget when it's in readonly mode.

The test checks if the displayValue is correctly set using the decimalNumberPipe when the readOnly property is true.

* Refactors number widget tests

Updates number widget tests to use `overrideComponent` for providing mocked dependencies. This approach ensures proper isolation and avoids potential issues with shared state between tests.
Additionally, it adds a test case to verify the `displayValue` is correctly set using the mocked `DecimalNumberPipe`.

---------

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2025-06-11 11:53:56 +02:00
MichalKinas
5d9acaec0d [AAE-35649] Viewer renderer wait until subsequent renderers will finish (#10924)
* [AAE-35649] Viewer renderer wait until particular renderers are done

* [AAE-35649] Add docs and unit test coverage

* [AAE-35649] Add missing space
2025-06-11 09:28:07 +02:00
Wojciech Duda
0c147513cc AAE-35521 Refactor AuthenticationService unit tests (#10922)
* AAE-35521 Refactor AuthenticationService

* AAE-35521 Remove last ajax call

* AAE-35521 Add missing test
2025-06-09 16:07:22 +01:00
Wojciech Duda
920b7d3585 AAE-34641 Fix ViewerRenderComponent hanging when in a mat-tab (#10913)
* AAE-34641 Fix ViewerRenderComponent hanging when in a mat-tab

Co-authored-by: tomson <tomasz.nastaly@hyland.com>

* AAE-34641 Fix pdf scaling

* AAE-34641 Remove RenderType refactoring

---------

Co-authored-by: tomson <tomasz.nastaly@hyland.com>
2025-06-06 14:21:10 +02:00
Domenico Sibilio
643b5f723a Revert "AAE-34641 Refactor viewer-render loading (#10868)" (#10912)
This reverts commit 413fce8cb7.
2025-06-04 18:44:53 +02:00
AleksanderSklorz
a6ab5fcbdd [ACS-9696] fix failing upgrade rxjs from 7.8.1 to 7.8.2 (#10911)
* [ACS-9696] Upgrade rxjs version to fix faling upgrade PR in ACA

* [ACS-9696] Update package-lock.json

* [ACS-9696] Fixed unit tests
2025-06-03 13:54:30 +02:00
MichalKinas
379fbbb508 [MNT-25043] Skip adding json as content type for FormData body requests (#10903) 2025-06-02 15:49:58 +02:00
Alfresco Build
342f165b41 New Crowdin translations by GitHub Action (#10887)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-06-02 12:46:53 +01:00
AleksanderSklorz
cdb65bf204 [ACS-9377] remove the join button for records management library for user s without permissions for that library (#10901)
* [ACS-9377] Added function for file plans to get file plan roles

* [ACS-9377] Types and documentation

* [ACS-9377] Unit tests

* [ACS-9377] Fixed sonar cloud issue
2025-06-02 10:15:19 +02:00
Enrico Hilgendorf
8cb7a1719f AAE-34656 Hide all counters in Workspace which do not provide value (#10896)
* Hide all counters in Workspace which do not provide value

* Fixed a copy & paste issue
2025-05-30 07:44:00 +02:00
dominikiwanekhyland
1971980216 [ACS-9619] Issues with trimming file's name in viewer (#10858) 2025-05-29 15:22:58 +02:00
Amedeo Lepore
467a19f3ec AAE-34959 Fix withCredentials can not be set by app.config.json (#10897)
* AAE-34959 Run security options loader when alfresco-api-v2-loader.serfvice is initialized because on content app the app-config.loader is run after AlfrescoApiLoaderService.init and the callback function that should setDefaultSecurityOption is not executed

* AAE-34959 Provide SecurityOptionsLoaderService in root to fix No Provider error
2025-05-29 10:24:17 +02:00
Mykyta Maliarchuk
d1e48f9c33 [ACS-9247] Extend library column context (#10894)
* [ACS-9247] extend library column context

* [ACS-9247] cr fix
2025-05-29 10:11:07 +02:00
Soumyajit Chakraborty
79163cbae0 AAE-34482 Fixing label and alignment issues in forms (#10898)
* AAE-34482 fixing label and alignment issues in forms

* AAE-34482 fixing margin issues

* AAE-34482 adding span inside mat-label

* AAE-34482 fixing units

* AAE-34482 removing unwanted unit

* AAE-34482 fixing unit

* AAE-34482 fixing native element class in unit tests
2025-05-28 23:20:17 +05:30
Michael Couné
06921783bf AAE-33907 Adds input for 'Open next task' checkbox (#10823)
* [AAE-33907] Adds input for 'Open next task' checkbox

* Adds input for 'Open next task' checkbox

Adds an input to the task screen component to determine whether the "Open next task" checkbox is checked by default.

Also, adds an output that emits an event when the state of the "Open next task" checkbox changes.

* [AAE-33907] added condition for isNextTaskCheckboxChecked

* [AAE-33907] added showNextTaskCheckbox property and moved condition

* Adds next task checkbox functionality.

* Adds support for next task navigation

* Enhances screen cloud component testing

* Makes openNextTask optional for complete task

* removed tests

* Cleans up unnecessary blank lines in spec file

* fixed unit test
2025-05-23 11:50:38 +02:00
Enrico Hilgendorf
1462560e6e AAE-35057 Change position of adf-cloud-form-content-card-fullscreen to relative (#10888) 2025-05-23 07:00:18 +02:00
Tomasz Nastaly
413fce8cb7 AAE-34641 Refactor viewer-render loading (#10868) 2025-05-22 10:07:26 +02:00
Bartosz Sekula
f2fa458fe5 AAE-33909 Ensure onProcessFinish event triggers when invoked from onFormLoaded event (#10867)
* AAE-33909 Ensure onProcessFinish event triggers when invoked from onFormLoaded event

* clean code

* fix unit tests

* update outcomes buttons

* update
2025-05-21 16:01:05 +02:00
Swetha Balasubramaniam
e37ef279e4 AAE-32986 Add custom-form-widget process to simpleapp (#10881)
* Update simpleapp.zip

* Update

* Update date-fns-utils.spec.ts

* Changes
2025-05-21 08:20:58 +01:00
AleksanderSklorz
2cc3ba4d6b [ACS-7706] create tags return promise tag paging instead of tag entry (#10869)
* [ACS-7706] Corrected returned type for createTags function

* [ACS-7706] Updated documentation for createTags and fixed unit tests
2025-05-21 08:08:49 +02:00
tomasz hanaj
3fea334468 [AAE-34479] added class for custom outcome button (#10882)
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2025-05-20 21:52:43 -04:00
Alfresco Build
f70ba30b46 New Crowdin translations by GitHub Action (#10884)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-05-20 21:49:59 -04:00
Tomasz Gnyp
b3900b96ed AAE-34972 Test PR for adf link (#10861) 2025-05-20 15:57:02 +02:00
Soumyajit Chakraborty
2fd960bf5c AAE-34885 Form with tabs has incomplete frame in preview (#10880)
* AAE-34885 Form tabs preview frame size and width fix

* AAE-34885 fixing form preview in modeling app

* AAE-34485 workspace-app form scroll fix

* AAE-34485 fixing margin issues on the modeling app form preview

* fixing width issues on preview

---------

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2025-05-19 15:40:06 +05:30
Bartosz Sekula
8b47434c37 AAE-33052 Deprecate custom theme (#10870) 2025-05-16 15:28:08 +01:00
Amedeo Lepore
051b82684f AAE-34959 Allow disabling withCredentials for the identity providers that disallow credentials (#10859) 2025-05-15 21:27:22 +02:00
Eugenio Romano
b4eee9d631 AAE-34675 Fix default selection required (#10860)
* fix default selection required

* rename test

* dropdown form field return object

* dropdown form field return object

* dropdown form field return object

* fix test

* Update lib/core/src/lib/form/components/widgets/core/form-field.model.spec.ts

Co-authored-by: Ehsan Rezaei <ehsan.rezaei@hyland.com>

* Update lib/core/src/lib/form/components/widgets/core/form-field.model.ts

Co-authored-by: Ehsan Rezaei <ehsan.rezaei@hyland.com>

---------

Co-authored-by: Ehsan Rezaei <ehsan.rezaei@hyland.com>
2025-05-15 21:26:17 +02:00
Wojciech Duda
efd6e5b1b0 AAE-34826 Incorrect scale for rendered pdf documents (#10857)
* AAE-34826 Fix missing class for pdf viewer

* AAE-34826 Remove double initial scale

* AAE-34826 Fix missing scale

* AAE-34826 Remove unnecessary condition

* AAE-34826 Remove surplus id

* AAE-34826 converted scale to string

---------

Co-authored-by: Ehsan Rezaei <ehsan.rezaei@hyland.com>
2025-05-15 12:50:36 +01:00
Vito Albano
6257510056 Ng18 migration (#10683)
* [MIGRATION] - Angular 18

* [ci:force][MIGRATION] - fixed Apollo new import

* [MIGRATION] - rebased to lastest

* [MIGRATION] - updated style to use still material 2 and postpone material migration

* [AAE-32974] - sync lock with version 8

* [AAE-33014] - Fixed m2 material issue

* Rebased to latest

* Rebased to latest

* [ACS-9159] Upgraded node version (#10782)

* [MIGRATION] - Added missing package

* [MIGRATION] - check if hte module mapping hide the warning

* [MIGRATION] - Readded wrongly removed package

* Upgrade TS

---------

Co-authored-by: AleksanderSklorz <115619721+AleksanderSklorz@users.noreply.github.com>
Co-authored-by: DominikIwanek <dominik.iwanek@hyland.com>
2025-05-15 12:33:07 +01:00
Ehsan Rezaei
28137d8a09 Revert "AAE-34641 Fix form loading when tab is changed (#10843)" (#10862)
This reverts commit 685bc387b5.
2025-05-15 12:07:07 +02:00
Alfresco Build
81822a119d New Crowdin translations by GitHub Action (#10854)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-05-14 16:48:50 -04:00
dependabot[bot]
43d0c00feb build(deps): bump formidable from 3.5.1 to 3.5.4 in /lib/cli (#10833)
Bumps [formidable](https://github.com/node-formidable/formidable) from 3.5.1 to 3.5.4.
- [Release notes](https://github.com/node-formidable/formidable/releases)
- [Changelog](https://github.com/node-formidable/formidable/blob/master/CHANGELOG.md)
- [Commits](https://github.com/node-formidable/formidable/commits)

---
updated-dependencies:
- dependency-name: formidable
  dependency-version: 3.5.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2025-05-14 16:47:05 -04:00