mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ACA-4486] support search widget chips layout (#7122)
* [ACA-4486] support search widget chips layout * * revert to old config * * resolved rebase conflicts * [ci:force] force e2e * [ci:force] docs update and remove directive added * [ci:force] config updated * [ci:force] add missing app config schema to prod build
This commit is contained in:
@@ -16,17 +16,23 @@
|
||||
*/
|
||||
|
||||
import { SearchWidgetSettings } from './search-widget-settings.interface';
|
||||
import { SearchQueryBuilderService } from '../search-query-builder.service';
|
||||
import { SearchQueryBuilderService } from '../services/search-query-builder.service';
|
||||
import { Subject } from 'rxjs';
|
||||
|
||||
export interface SearchWidget {
|
||||
id: string;
|
||||
/* optional field control options */
|
||||
settings?: SearchWidgetSettings;
|
||||
context?: SearchQueryBuilderService;
|
||||
isActive?: boolean;
|
||||
startValue: any;
|
||||
reset();
|
||||
submitValues();
|
||||
hasValidValue();
|
||||
getCurrentValue();
|
||||
/* stream emit value on changes */
|
||||
displayValue$: Subject<string>;
|
||||
/* reset the value and update the search */
|
||||
reset(): void;
|
||||
/* update the search with field value */
|
||||
submitValues(): void;
|
||||
hasValidValue(): boolean;
|
||||
getCurrentValue(): any;
|
||||
setValue(value: any);
|
||||
}
|
||||
|
Reference in New Issue
Block a user