systelab-components
Version:
systelab-components is a set of components that use wide accepted and adopted standard technologies like Angular and Bootstrap, as well as other popular libraries. Please read the ATTRIBUTION.md file for a complete list of dependencies.
32 lines (31 loc) • 1.45 kB
TypeScript
import { AfterViewInit, ElementRef } from '@angular/core';
import { SearcherTableComponent } from './searcher.table.component';
import { I18nService } from 'systelab-translate';
import { ModalComponent } from '../modal/dialog/modal-context';
import { DialogRef } from '../modal/dialog/dialog-ref';
import { SearcherDialogParameters } from './searcher.dialog.parameters';
import * as i0 from "@angular/core";
export declare class SearcherDialog<T> implements ModalComponent<SearcherDialogParameters<T>>, AfterViewInit {
dialog: DialogRef<SearcherDialogParameters<T>>;
protected i18nService: I18nService;
tableComponent: SearcherTableComponent<T>;
valueToSearchInput: ElementRef;
parameters: SearcherDialogParameters<T>;
searchingValue: string;
searchLabel: string;
titleForDialog: string;
multipleSelection: boolean;
showClose: boolean;
searchByContains: boolean;
constructor(dialog: DialogRef<SearcherDialogParameters<T>>, i18nService: I18nService);
ngAfterViewInit(): void;
setFocusToInput(): void;
close(): void;
submit(): void;
setFocusToGrid(event: KeyboardEvent): void;
refreshSearch(): void;
selectOnClick(data: T): void;
getSelectedElements(): string;
static ɵfac: i0.ɵɵFactoryDeclaration<SearcherDialog<any>, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SearcherDialog<any>, "systelab-searcher-dialog", never, {}, {}, never, never, false, never>;
}