@factory-utils/tools
Version:
Set of genericised angular2+ components used in most of Advanced SCHEMA - Factory's projects.
25 lines (24 loc) • 1.53 kB
TypeScript
import { EventEmitter } from '@angular/core';
import { TranslateService } from '@ngx-translate/core';
import { SelectableElement } from '../../tools.module';
import { HtmlInput } from '../../typings';
import * as i0 from "@angular/core";
export declare class SearchComponent {
private _translationService;
currentSearch: string;
elements: SelectableElement[];
searchedFields: string[];
hierarchicalField: string;
iconClass: string;
searchPlaceholder: string;
disabled: HtmlInput;
currentSearchChange: EventEmitter<string>;
matchChange: EventEmitter<SelectableElement[]>;
private _matchingElements;
constructor(_translationService: TranslateService);
get isDisabled(): boolean;
inputChange(input?: string): void;
private _getMatchingElements;
static ɵfac: i0.ɵɵFactoryDeclaration<SearchComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "fut-search", never, { "currentSearch": { "alias": "currentSearch"; "required": false; }; "elements": { "alias": "elements"; "required": false; }; "searchedFields": { "alias": "searchedFields"; "required": false; }; "hierarchicalField": { "alias": "hierarchicalField"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "currentSearchChange": "currentSearchChange"; "matchChange": "matchChange"; }, never, never, false, never>;
}