Member Junction
    Preparing search index...

    Implements

    • OnInit
    • OnDestroy
    Index

    Constructors

    Properties

    ActiveFilters: Record<string, string[]> = {}
    AgentCtaClicked: EventEmitter<string> = ...
    AgentCtaText: string = 'Ask Knowledge Agent'

    Text for the agent CTA button

    AllResults: SearchResultItem[] = []
    DebounceMs: number = 400

    Debounce time in ms before search fires

    ElapsedMs: number = 0
    EnableGlobalShortcut: boolean = true

    When false, the overlay does NOT claim the global Ctrl/Cmd+K chord. For hosts (e.g. the Explorer shell) that own that shortcut themselves and open the overlay programmatically — two listeners on the same chord would double-toggle. Escape/arrow handling while open is unaffected.

    EnableStreaming: boolean = false

    When true, the overlay subscribes to SearchService.StreamSearch instead of awaiting ExecuteSearch. Results render progressively as each provider reports back. The per-provider status chip strip becomes visible while the stream is in flight. Defaults to false to preserve the request-response UX that shipped in Phase 1.

    FilterChanged: EventEmitter<SearchFilterChangeEvent> = ...
    Filters: SearchFilter[] = []
    HasSearched: boolean = false
    HighlightedIndex: number = -1
    IncludeSources: ("entity" | "vector" | "fulltext")[] = ...

    Which search sources to include

    IsOpenChange: EventEmitter<boolean> = ...
    IsSearching: boolean = false
    MaxResults: number = 8

    Maximum number of results to fetch and display. Deliberately small — the overlay is a quick-jump surface; "See all results" hands off to the full Search Results workspace for anything deeper. 8 matches the omnibar palette's RESULT count (it fetches 9 rows = 8 results + its see-all row; this overlay's see-all is a footer button, not a row).

    Placeholder: string = 'Search across all your knowledge...'

    Placeholder text for the search input

    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 = ''
    ResultGroups: SearchResultGroup[] = []
    ResultSelected: EventEmitter<SearchResultSelectedEvent> = ...
    SearchExecuted: EventEmitter<SearchExecutedEvent> = ...
    searchInputRef: ElementRef<HTMLInputElement>
    searchService: SearchService = ...
    SeeAllRequested: EventEmitter<string> = ...

    Emitted when the user clicks "See all results" — carries the current query. Hosts (e.g. the Explorer shell) open the full Search Results workspace, which has scopes, relevance controls, and richer result actions than this capped quick-jump overlay. The overlay closes itself after emitting.

    ShowAgentCta: boolean = true

    Whether to show the agent CTA

    ShowFilters: boolean = true

    Whether to show filter facets

    ShowPromo: boolean = false

    Optional promo strip pinned to the overlay'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.

    StreamingProviders: StreamingProviderStatus[] = []

    Per-provider status entries shown above the results list while a streaming search is in flight. One entry per provider that has reported back. Empty when the user is not running a streaming search (or when EnableStreaming is false).

    TotalCount: number = 0

    Accessors

    Methods

    • A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.

      Returns void

    • 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 void

    • Recent-search rows are keyboard-activatable (Enter/Space = click).

      Parameters

      • event: KeyboardEvent
      • query: string

      Returns void

    • Recent-search row activated (click or Enter/Space). Re-runs the search AND refocuses the input — the activated row leaves the DOM when recents are replaced by results, which would otherwise drop focus to .

      Parameters

      • query: string

      Returns void

    • Tab behavior inside the dialog:

      • On a result row, Tab / Shift+Tab step through the RESULTS themselves (mirrors ArrowDown/Up) until walking off either end of the list — then focus continues to the footer actions / back to the earlier controls.
      • Everywhere else, Tab wraps within the dialog (focus trap): input → close → filter chips → results → footer actions → back to the input. Escape is handled by the document-level keydown.

      Parameters

      • event: KeyboardEvent

      Returns void