[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:
Silviu Popa
2019-11-12 21:22:48 +02:00
committed by Eugenio Romano
parent c11ce016fa
commit f20b78a2c5
32 changed files with 834 additions and 933 deletions

View File

@@ -33,3 +33,4 @@ export * from './identity-group.model';
export * from './identity-user.model';
export * from './identity-role.model';
export * from './identity-group.model';
export * from './search-text-input.model';

View File

@@ -15,24 +15,22 @@
* limitations under the License.
*/
import { SearchTextCloudComponent } from '../search-cloud/components/search-text-cloud/search-text-cloud.component';
export enum SearchTextStateEnum {
expanded = 'expanded',
collapsed = 'collapsed'
}
export interface SearchCloudProperties {
value?: string;
placeholder?: string;
debounceTime?: number;
expandable?: boolean;
}
export interface SearchAnimationState {
value: string;
params?: any;
}
export enum SearchCloudTypesEnum {
text = 'text'
}
export interface SearchAnimationControl {
active: SearchAnimationState;
inactive: SearchAnimationState;
}
export const SEARCH_CLOUD_TYPES = {
text: SearchTextCloudComponent
};
export interface SearchCloudWidget {
properties: SearchCloudProperties;
onChangedHandler(event: any);
}
export interface SearchAnimationDirection {
ltr: SearchAnimationControl;
rtl: SearchAnimationControl;
}