Member Junction
    Preparing search index...

    Base class for all Angular components in the MemberJunction system.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    CurrentPage: number = 1

    Current page (1-based) for flat mode pagination

    DisplayMode: "flat" | "grouped" = 'flat'

    Display mode: 'flat' for blended list sorted by score, 'grouped' for source-type groups

    ElapsedMs: number = 0

    Elapsed search time in ms

    ExpandedGroups: Set<string> = ...

    Tracks which groups are expanded

    ExpandedResultIDs: Set<string> = ...

    Set of expanded result card IDs — multiple can be open simultaneously

    FlatResults: SearchResultItem[] = []

    Flat list of all results sorted by score (used when DisplayMode is 'flat')

    HighlightText: string = ''

    Text to highlight within result cards (e.g. from a client-side filter)

    IsLoading: boolean = false

    Whether results are currently loading

    MaxPerGroup: number = 5

    Maximum results per group before "Show more" (grouped mode only)

    MoreLikeThisRequested: EventEmitter<SearchResultItem> = ...

    Emitted when user clicks "See Similar Items" — parent runs a "more like this" search

    OpenRecordRequested: EventEmitter<SearchResultItem> = ...

    Emitted when user clicks "Open Record" — parent handles navigation

    PageSize: number = 10

    Results per page in flat mode

    Provider: IMetadataProvider | null

    If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.

    ResultGroups: SearchResultGroup[] = []

    Grouped search results to display (used when DisplayMode is 'grouped')

    ResultSelected: EventEmitter<SearchResultSelectedEvent> = ...
    ShowScores: boolean = true

    Whether to show score badges

    ShowSourceIcons: boolean = true

    Whether to show source type icons

    ShowSummary: boolean = true

    Whether to show the results summary line (count + time). Set false when parent provides its own header.

    ShowTags: boolean = true

    Whether to show tags

    TotalCount: number = 0

    Total result count

    "ɵdir": unknown
    "ɵfac": unknown

    Accessors

    • get ProviderToUse(): IMetadataProvider

      Returns either the default Metadata provider or the one specified in the Provider property, if it was specified

      Returns IMetadataProvider

    • get RunQueryToUse(): IRunQueryProvider

      Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified

      Returns IRunQueryProvider

    • get RunReportToUse(): IRunReportProvider

      Returns either the default RunReport provider or the one specified in the Provider property, if it was specified

      Returns IRunReportProvider

    • get RunViewToUse(): IRunViewProvider

      Returns either the default RunView provider or the one specified in the Provider property, if it was specified

      Returns IRunViewProvider

    Methods

    • Get URL and Email fields for an entity using ExtendedType from entity metadata. Returns fields with ExtendedType='URL' or ExtendedType='Email'.

      Parameters

      • entityName: string

      Returns { DisplayName: string; Name: string; Type: "URL" | "Email" }[]

    • Resolve URL and Email fields from the result's RawMetadata using entity ExtendedType metadata. Returns clickable link entries with proper type classification.

      Parameters

      Returns { Label: string; Type: "URL" | "Email"; Value: string }[]

    • Wrap substrings matching HighlightText in tags for visual emphasis. The input is regex-escaped so user text is treated as a literal string.

      Parameters

      • text: string

      Returns string