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
@@ -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';
|
||||
|
@@ -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;
|
||||
}
|
Reference in New Issue
Block a user