Member Junction
    Preparing search index...

    Implements

    • OnInit
    Index

    Constructors

    Properties

    ClearRecentRequested: EventEmitter<void> = ...

    Emitted when the user clicks "Clear" on recent searches

    HighlightedIndex: number = -1

    Currently keyboard-highlighted index (-1 for none)

    IsFilterOpen: boolean = false

    Whether the filter popover is open

    IsLoading: boolean = false

    Whether a search is currently loading

    IsOpen: boolean = false

    Whether the suggest dropdown is visible

    MaxPreviewResults: number = 8

    Maximum number of preview results to display

    MinQueryLength: number = 2

    Minimum query length before preview results are shown

    MinRelevanceOptions: number[] = MIN_RELEVANCE_OPTIONS

    Available min relevance presets

    MinRelevancePercent: number = 0

    Min relevance percentage (0-100) for filtering preview results

    PreviewResults: SearchResultItem[] = []

    Preview search results to display

    PromoAccepted: EventEmitter<string> = ...

    Promo accept — carries the current query so the host can hand it off.

    PromoActionLabel: string = 'Turn on'

    Label for the promo's accept action.

    PromoDismissed: EventEmitter<void> = ...

    Promo dismissed — the host should persist this and stop showing it.

    PromoText: string = ''

    Promo copy (one sentence). Required when ShowPromo is true.

    Query: string = ''

    Current query text — used to determine whether to show recent vs preview

    RecentRecords: RecentRecordItem[] = []

    Recently opened records (host-loaded, e.g. from SearchService .GetRecentlyOpenedRecords). Rendered as a "Recently Opened" section in the idle/empty state so users can jump straight back to a record they just had open — the complement to Recent Searches (queries).

    RecentRecordSelected: EventEmitter<RecentRecordItem> = ...

    Emitted when the user selects a recently opened record

    RecentSearches: RecentSearch[] = []

    Recent search entries to show when query is empty/short

    RecentSelected: EventEmitter<string> = ...

    Emitted when the user selects a recent search

    ResultSelected: EventEmitter<SearchResultItem> = ...

    Emitted when the user selects a preview result

    SeeAllRequested: EventEmitter<string> = ...

    Emitted when the user clicks "See all N results"

    ShowPromo: boolean = false

    Optional promo row pinned to the dropdown's bottom edge — a host-supplied nudge (e.g. Explorer advertising its command palette). The component is deliberately ignorant of WHAT is being promoted; the host provides the copy and handles both outcomes.

    ShowRecent: boolean = true

    Whether to show the recent searches section

    TotalCount: number = 0

    Total count of results for the current query (may exceed PreviewResults.length)

    Accessors

    • Number of keyboard-navigable rows currently visible (recents + recently opened + preview results + see-all). Public so the composite's Tab handling knows when the highlight has walked off the end of the list.

      Returns number

    Methods

    • A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.

      Returns Promise<void>

    • "Clear" on recent searches — click-driven so keyboard Enter/Space work; the template's mousedown-preventDefault keeps the input from blurring.

      Parameters

      • event: MouseEvent

      Returns void

    • Promo accept — fired on click so keyboard Enter/Space work too; the template's mousedown-preventDefault keeps the input from blurring first.

      Returns void