Member Junction
    Preparing search index...

    Container panel that discovers and displays IS-A related entity records (siblings and children) for the current form's record.

    Placement: Sits to the right of the main form panels inside <mj-record-form-container>. Hidden when in edit mode or when no related IS-A records exist.

    Data flow:

    • Receives the current Record (BaseEntity) as input
    • Inspects EntityInfo.ParentEntityInfo and ISAChildren to discover related records
    • Builds a tree structure for nested sub-card rendering
    • Renders an <mj-isa-related-card> for each root-level related entity (grandchildren render as nested sub-cards inside their parent card)
    <mj-isa-related-panel
    [Record]="record"
    (Navigate)="OnNavigate($event)">
    </mj-isa-related-panel>

    Hierarchy (View Summary)

    Implements

    • OnChanges
    • OnInit
    • OnDestroy
    Index

    Constructors

    Properties

    Collapsed: boolean = false

    Whether the panel is collapsed (icon-only strip in full-width mode)

    EditMode: boolean = false

    Whether the form is in edit mode (panel hides during edit)

    Navigate: EventEmitter<FormNavigationEvent> = ...

    Emitted for navigation to a related record

    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: BaseEntity<unknown> | null = null

    The entity record currently displayed in the form

    RelatedItems: IsaRelatedItem[] = []

    Root-level related IS-A entities to display cards for (children nested inside)

    "ɵdir": unknown
    "ɵfac": ɵɵFactoryDeclaration<BaseAngularComponent, never>

    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 RunViewToUse(): IRunViewProvider

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

      Returns IRunViewProvider

    Methods

    • A callback method that is invoked immediately after the default change detector has checked data-bound properties if at least one has changed, and before the view and content children are checked.

      Parameters

      • changes: { [propName: string]: SimpleChange<any> }

        The changed properties.

      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