Member Junction
    Preparing search index...

    Search panel component providing global search UI Can be displayed as a modal or slide-out panel Supports filtering, date ranges, and result navigation

    Implements

    • OnInit
    • OnDestroy
    Index

    Constructors

    Properties

    ActiveFilter: SearchFilter = 'all'
    close: EventEmitter<void> = ...
    CurrentUser: UserInfo
    DateRange: DateRange = ...
    EnvironmentId: string
    InitialQuery: string = ''

    Term to open with, e.g. handed over from a narrower filter the user had already typed.

    IsSearching: boolean = false
    RecentSearches: string[] = []
    Results: GroupedSearchResults = ...
    resultSelected: EventEmitter<SearchResult> = ...

    Use ResultSelected.

    The same emitter under the old binding name, so a template still binding (resultSelected) keeps working. Must stay AFTER ResultSelected: class fields initialise in order, and the other way round this captures undefined.

    ResultSelected: EventEmitter<SearchResult> = ...
    SearchInput?: ElementRef<HTMLInputElement>
    SearchQuery: string = ''
    SelectedIndex: number = -1

    Accessors

    Methods