All scopes the current user can see. Populated via SearchService.LoadScopes().
Disables interaction (e.g., while a search is running).
The Global scope (shown separately as the default option).
True while scopes are being loaded for the first time.
Whether the dropdown panel is open.
Org-wide scopes.
Scopes owned by the current user (personal).
Currently selected scope IDs (parent-owned state).
Emits whenever the selection changes. Parent should mirror into SearchRequest.ScopeIDs.
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.
The current selection's display summary. Falls back to "Global" when no explicit scope is selected.
Clear all selections (back to Global).
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.
Toggle selection for a specific scope ID. The Global scope acts as a reset — choosing it clears all other selections.
Parent passes the current selection in via
SelectedScopeIDsand listens forSelectionChangeevents. The component also exposes a convenienceIsOpenflag for the dropdown panel.