Member Junction
    Preparing search index...

    EntityRecordDetailPanelComponent - A reusable panel for displaying entity record details

    This component provides a detail panel view for entity records with:

    • Primary key display with copy functionality
    • Foreign key fields showing friendly names with navigation
    • Enum fields displayed as pills
    • Related entities with expandable record lists
    • Configurable sections for details and relationships
    <mj-entity-record-detail-panel
    [entity]="selectedEntity"
    [record]="selectedRecord"
    (close)="onClosePanel()"
    (openRecord)="onOpenRecord($event)"
    (navigateToRelated)="onNavigateToRelated($event)">
    </mj-entity-record-detail-panel>

    Hierarchy (View Summary)

    Implements

    • OnChanges
    Index

    Constructors

    Properties

    close: EventEmitter<void> = ...
    detailsSectionExpanded: boolean = true
    entity: EntityInfo | null = null
    isLoadingOrganicKeys: boolean = false
    isLoadingRelationships: boolean = false
    navigateToRelated: EventEmitter<NavigateToRelatedEvent> = ...
    openForeignKeyRecord: EventEmitter<OpenForeignKeyRecordEvent> = ...
    openRecord: EventEmitter<Record<string, unknown>> = ...
    openRelatedRecord: EventEmitter<OpenRelatedRecordEvent> = ...
    organicKeyMatches: OrganicKeyMatchData[] = []
    organicKeysSectionExpanded: boolean = true
    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.

    record: Record<string, unknown> | null = null
    relatedEntities: RelatedEntityData[] = []
    relationshipsSectionExpanded: boolean = true
    "ɵ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