1 | import { ChangeDetectorRef, ElementRef, OnDestroy, Renderer2, TemplateRef, EventEmitter } from '@angular/core';
|
2 | import { PositioningService } from 'ngx-bootstrap/positioning';
|
3 | import { Subscription } from 'rxjs';
|
4 | import { TypeaheadMatch } from './typeahead-match.class';
|
5 | import { TypeaheadDirective } from './typeahead.directive';
|
6 | import { TypeaheadOptionItemContext, TypeaheadOptionListContext, TypeaheadTemplateMethods } from './models';
|
7 | import * as ɵngcc0 from '@angular/core';
|
8 | export declare class TypeaheadContainerComponent implements OnDestroy {
|
9 | private positionService;
|
10 | private renderer;
|
11 | element: ElementRef;
|
12 | private changeDetectorRef;
|
13 | activeChangeEvent: EventEmitter<any>;
|
14 | parent?: TypeaheadDirective;
|
15 | query?: string[] | string;
|
16 | isFocused: boolean;
|
17 | top?: string;
|
18 | left?: string;
|
19 | display?: string;
|
20 | placemen?: string;
|
21 | dropup?: boolean;
|
22 | guiHeight?: string;
|
23 | needScrollbar?: boolean;
|
24 | animationState?: string;
|
25 | positionServiceSubscription: Subscription;
|
26 | height: number;
|
27 | popupId: string;
|
28 | get isBs4(): boolean;
|
29 | get typeaheadTemplateMethods(): TypeaheadTemplateMethods;
|
30 | protected _active?: TypeaheadMatch;
|
31 | protected _matches: TypeaheadMatch[];
|
32 | private ulElement?;
|
33 | private liElements?;
|
34 | constructor(positionService: PositioningService, renderer: Renderer2, element: ElementRef, changeDetectorRef: ChangeDetectorRef);
|
35 | get active(): TypeaheadMatch | undefined;
|
36 | set active(active: TypeaheadMatch | undefined);
|
37 | get matches(): TypeaheadMatch[];
|
38 | set matches(value: TypeaheadMatch[]);
|
39 | get isTopPosition(): boolean;
|
40 | get optionsListTemplate(): TemplateRef<TypeaheadOptionListContext> | undefined;
|
41 | get isAnimated(): boolean;
|
42 | get adaptivePosition(): boolean;
|
43 | get typeaheadScrollable(): boolean;
|
44 | get typeaheadOptionsInScrollableView(): number;
|
45 | get typeaheadIsFirstItemActive(): boolean;
|
46 | get itemTemplate(): TemplateRef<TypeaheadOptionItemContext> | undefined;
|
47 | selectActiveMatch(isActiveItemChanged?: boolean): void;
|
48 | activeChanged(): void;
|
49 | prevActiveMatch(): void;
|
50 | nextActiveMatch(): void;
|
51 | selectActive(value: TypeaheadMatch): void;
|
52 | highlight(match: TypeaheadMatch, query: string[] | string): string;
|
53 | focusLost(): void;
|
54 | isActive(value: TypeaheadMatch): boolean;
|
55 | selectMatch(value?: TypeaheadMatch, event?: Event): boolean;
|
56 | setScrollableMode(): void;
|
57 | scrollPrevious(index: number): void;
|
58 | scrollNext(index: number): void;
|
59 | ngOnDestroy(): void;
|
60 | protected setActive(value?: TypeaheadMatch): void;
|
61 | private isScrolledIntoView;
|
62 | private scrollToBottom;
|
63 | private scrollToTop;
|
64 | static ɵfac: ɵngcc0.ɵɵFactoryDef<TypeaheadContainerComponent, never>;
|
65 | static ɵcmp: ɵngcc0.ɵɵComponentDefWithMeta<TypeaheadContainerComponent, "typeahead-container", never, {}, { "activeChangeEvent": "activeChange"; }, never, never>;
|
66 | }
|
67 |
|
68 |
|
\ | No newline at end of file |