mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-534] Search - extract search text input from SearchControlComponent (#5213)
* [AAE-534] - add search cloud component * change doc file * more changes on doc file * remove empty scss file * add animation and more customizations * add preselect value property * fix unit tests * [AAE-534] Search - extract search text input from SearchControlComponent * rename component and fix build * fix import scss and lint * change in doc files * PR changes * more changes * add return type * fix unit test
This commit is contained in:
committed by
Eugenio Romano
parent
c11ce016fa
commit
f20b78a2c5
@@ -15,7 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { QueryBody } from '@alfresco/js-api';
|
||||
import { QueryBody, NodePaging } from '@alfresco/js-api';
|
||||
import { Subject } from 'rxjs';
|
||||
import { ElementRef } from '@angular/core';
|
||||
|
||||
export interface SearchConfigurationInterface {
|
||||
|
||||
@@ -29,3 +31,17 @@ export interface SearchConfigurationInterface {
|
||||
generateQueryBody(searchTerm: string, maxResults: number, skipCount: number): QueryBody;
|
||||
|
||||
}
|
||||
|
||||
export interface SearchComponentInterface {
|
||||
|
||||
panel: ElementRef;
|
||||
showPanel: boolean;
|
||||
results: NodePaging;
|
||||
isOpen: boolean;
|
||||
keyPressedStream: Subject<string>;
|
||||
displayWith: ((value: any) => string) | null;
|
||||
|
||||
resetResults(): void;
|
||||
hidePanel(): void;
|
||||
setVisibility(): void;
|
||||
}
|
||||
|
Reference in New Issue
Block a user