Member Junction
    Preparing search index...

    Parent passes the current selection in via SelectedScopeIDs and listens for SelectionChange events. The component also exposes a convenience IsOpen flag for the dropdown panel.

    Implements

    • OnInit
    Index

    Constructors

    Properties

    AvailableScopes: SearchScopeInfo[] = []

    All scopes the current user can see. Populated via SearchService.LoadScopes().

    Disabled: boolean = false

    Disables interaction (e.g., while a search is running).

    GlobalScope: SearchScopeInfo | null = null

    The Global scope (shown separately as the default option).

    IsLoading: boolean = false

    True while scopes are being loaded for the first time.

    IsOpen: boolean = false

    Whether the dropdown panel is open.

    OrgScopes: SearchScopeInfo[] = []

    Org-wide scopes.

    PersonalScopes: SearchScopeInfo[] = []

    Scopes owned by the current user (personal).

    SelectedScopeIDs: string[] = []

    Currently selected scope IDs (parent-owned state).

    SelectionChange: EventEmitter<string[]> = ...

    Emits whenever the selection changes. Parent should mirror into SearchRequest.ScopeIDs.

    Accessors

    • get SelectionIcon(): string

      The icon used on the selector button — falls back to a globe for Global, or the first selected scope's icon for single-selection, or a generic magnifier otherwise.

      Returns string

    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>