* Angular 9 compatibility: add explicit types to prevent automatic deep imports
If you do not provide an explicit return type to a function then TypeScript
will try to guess it and create a dynamic import type for the `.d.ts` files.
Often the imports incorrectly point to a path deep within a package,
rather than accessing the type via the correct public facing import.
From Angular v9, using ivy, such deep imports cause compilation
errors and will prevent this library from being used for ivy enabled
applications.
This commit fixes this problem for a component and a service that
the adf-core library exports.
* Angular 9 compatibility: import DOCUMENT from `@angular/common`
In Angular 7 importing `DOCUMENT` from `platform-browser` was
deprecated, and it was removed completely in Angular 8.
* fix type afterlast alpha
* fix type after last alpha
* fix types demo shell
* [ADF-3401] refactoring - different way to call the facet parsers
* [ADF-3401] fix duplicate search call
* [ADF-3401] add new fields and buckets from the response
- If a facet is already displayed, just update the bucket count, else add the new facet to the responseFields
- this way any existing filters are preserved, the collapsed state is preserved, facet selection is preserved
* [ADF-3401] reset & clear all selections buttons
* [ADF-3401] delete facets that are not in the response
- for better UX, prevent deletion of items from the category where there is a selected item
- clean-up reset buttons
* [ADF-3401] apply filters to the newly created items
* [ADF-3401] update tests
* [ADF-3401] fix after rebase
* [ADF-3401] Code refactoring
* [ADF-3401] show count value inside tooltip
* [ADF-3401] translatable strings
* [ADF-3401] move 'Clear all selections' button to search-chip-list
* [ADF-3401] option to configure having a reset button for filters
* [ADF-3401] code cleanup and improvements after review
* Update lib/content-services/search/components/search-filter/search-filter.component.ts
Co-Authored-By: suzanadirla <dirla.silvia.suzana@gmail.com>
* [ADF-3401] Better namings
* fix failing e2e tests on search radio
* [ADF-3401] add documentation for search resetButton
* add stylelint
* fix style first part
* fix style second part
* fix style third part
* fix style fourth part
* Fix e2e tests first part
* Fix e2e tests second part
* Rebase branch
* fix style third part
* fix style fourth part
* Fix list error
* fix insights
* fix style abotu component
* Fix e2e tests second part
* Rebase branch
* fix style third part
* fix style fourth part
* Fix list error
* Fix e2e tests second part
* Rebase branch
* fix style third part
* fix style fourth part
* Fix list error
* [ADF-3746] Rebase branch
* Fix e2e tests second part
* Rebase branch
* fix style third part
* fix style fourth part
* Fix list error
* Fix e2e tests second part
* Rebase branch
* Fix list error
* fix new style added
* tslint fix
* [ADF-3746] Fix scss errors on Process Filters Cloud component
* sorting configuration
* detect primary sorting and use with document list
* search results sorting
* docs update
* unit tests and code updates
* update code
* update code
* generic sorting picker, test updates
* ability to switch off client side sorting
* update docs for document list
* schema and configuration improvements
* check list search widget
* "Clear all" button to reset the list
* page size and "show more" for response facet fields
* test fixes
* fix tests
* fix pagination bug (skipCount reseting)
* integrate date range picker from #3248
* i18n support for date and number range
* some docs for search filter
* docs update
* docs update
* cleanup code as per review
* (wip) facet container
* shaping out the API
* code lint fixes
* radiobox facet example
* fields selector facet
* search limits support
* scope locations facet example
* move custom search to 'search.query' config
* use facet fields and queries from the config file
* use facet filters
* use facet buckets in query
* preserve expanded/checked states
* code cleanup and binding fixes
* fix apis after rebase
* extract query builder into separate class
* code improvements
* full chip list (merge facet fields with queries)
* placeholder for range requests
* move search infrastructure to ADF core
* cleanup code
* auto-search on init
* move search components to the content services
* selected facets chip list
* split into separate components at ADF level
* move the rest of the implementation to ADF
* facet builder fixes and tests
* translation support for category names
* docs placeholders
* update language level
* unit tests and packaging updates
* fix after rebase
* remove fdescribe
* some docs on search settings
* rename components as per review
* simplify chip list as per review
* turn query builder into service
* improve search service, integrate old search results
* fix node selector integration
* move service to the top module
* update tests
* remove fdescribe
* update tests
* test fixes
* test fixes
* test updates
* fix tests
* code and test fixes
* remove fit
* fix tests
* fix tests
* remove obsolete test
* increase bundle threshold
* update docs to reflect PR changes
* fix docs
* [ADF-1876] added custom empty template for no search result
* [ADF-1876] added custom empty result tag for search result control
* [ADF-1876] added custom no search result tag for search control component
* [ADF-1876] added documentation for template no result
* [ADF-2150] changed query body parameter to a function
* [ADF-2150] added an example page where to try change query body
* [ADF-2150] improved queryBody mechanism
* [ADF-2150] fixed content node test
* [ADF-2150] extended docs added another way to use the query node
* [ADF-2150] fixed test for search on content node
* [ADF-2150] added some improvements to service config
* [ADF-2150] changed the documentation accordingly
* [ADF-2150] added PR changes
* [ADF-2150] fixed jdoc
* [ADF-2150] added checkbox to switch from service approach to input object approach
* [ADF-2150] fixed build error on demo shell