Vito 4ac523df11 [ADF-1761] Search component refactoring (#2623)
* [ADF-1761] refactoring search

* [ADF-1761] added click exit strategy and selection for list items

* [ADF-1761] removed old search component replaced with the new implementation

* [ADF-1761] removed old component and replaced with the refactored version

* [ADF-1761] added the new tests for search control component

* [ADF-1761] added test for refactored search component

* [ADF-1761] fixed minor twitch start styling the list

* [ADF-1761] fixed test

* [ADF-1761] removed unused import

* [ADF-1761] added search integrations with files component

* [ADF-1761] rebased branch on lates development

* [ADF-1761] added blur management for search

* [ADF-1761] fixed wrong behaviour on blur

* [ADF - 1761] fixed responsiveness on smaller resolution

* [ADF-1761] reduced font and added white line

* [ADF-1761] fixed some blur behaviour

* [ADF-1761] added some fix for on blur behaviour

* [ADF-1761] fixed some behaviour on blur

* [ADF-1761] fix for angular 5

* [ADF-1761] changed name from search integration to search result into demoshell

* [ADF-1761] fixed wrong change name

* [ADF-1761] added documentation for search control component

* [ADF-1761] added documentation for search component

* [ADF-1761] fixed wrong link into documentation

* [ADF-1761] fixed image for simple example

* [ADF-1761] added some improvements and removed duplicated code

* [ADF-1761] renamed directive to searchAutocomplete

* [ADF-1761] added some changes after Peer review
2017-11-09 19:24:38 +00:00
..
2017-10-31 17:16:14 +00:00
2017-06-29 15:57:37 +01:00
2016-05-19 17:29:23 +01:00
2017-06-29 15:57:37 +01:00
2017-06-29 15:57:37 +01:00
2017-06-29 15:57:37 +01:00

Search library

Contains the Search and Search Results components.

Documentation

See the ADF Search section of the docs index for all available documentation on this library.

Prerequisites

Before you start using this development framework, make sure you have installed all required software and done all the necessary configuration, see this page.

If you plan using this component with projects generated by Angular CLI, please refer to the following article: Using ADF with Angular CLI

Install

npm install ng2-alfresco-search

Build from sources

You can build component from sources with the following commands:

npm install
npm run build

The build task rebuilds all the code, runs tslint, license checks and other quality check tools before performing unit testing.

NPM scripts

Command Description
npm run build Build component
npm run test Run unit tests in the console
npm run test-browser Run unit tests in the browser
npm run coverage Run unit tests and display code coverage report

Demo

Please check the demo folder for a demo project

cd demo
npm install
npm start

License

Apache Version 2.0