swapnil-verma-gl ec18f6b9cb
[ACS-4130] Added autocomplete to folder rules 'Has Category' condition (#3464)
* [ACS-4130] Added autocomplete for 'Has Category' option in manage rules

* [ACS-4130] Added loading spinner and 'No options found' template for Has Category rule condition. Options are now fetched as soon as user selected 'Has Category' option

* [ACS-4130] Added code to fetch category name when viewing/editing existing rule with has category option selected

* [ACS-4130] Resolved issues related to editing existing rules with 'Has Category' condition

* [ACS-4130] Added safety checks and minor code refactoring

* [ACS-4130] Added unit tests for new autocomplete functionality

* [ACS-4130] Added feature to auto select first option from autocomplete dropdown when user focuses out of autocomplete input field

* [ACS-4130] Minor code refactoring. Moved constants from global scope to local scope

* [ACS-4130] Moved mock data to conditions.mock.ts. Removed redundant return type

* [ACS-4130] Resolved PR review comments - AutoCompleteOption is now an interface. Changed occurences of autocomplete with auto-complete. Removed/Added types

* [ACS-4130] Resolved PR review comments - AutoCompleteOption is now built using a single common helper method

* [ACS-4130] Added missed types
2023-10-11 18:00:44 +05:30
..
2023-10-05 12:12:54 -04:00

AcaContent

This library was generated with Angular CLI version 14.1.0.

Code scaffolding

Run nx generate component component-name --project aca-content to generate a new component. You can also use nx generate directive|pipe|service|class|guard|interface|enum|module --project aca-content.

Note: Don't forget to add --project aca-content or else it will be added to the default project in your angular.json file.

Build

Run nx build aca-content to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with nx build aca-content, go to the dist folder cd dist/aca-content and run npm publish.

Running unit tests

Run nx test aca-content to execute the unit tests via Karma.

Further help

To get more help on the NX use nx help or go check out the NX documentation page.