Member Junction
    Preparing search index...

    Dynamic host component that mounts a registered EntitySubtypeUIDriverBase subclass (@RegisterClass(EntitySubtypeUIDriverBase, UIDriverClass)) for a comment subtype card inside <mj-record-comments>.

    Hierarchy (View Summary)

    Implements

    • OnChanges
    • OnDestroy
    Index

    Constructors

    Properties

    ChildRecord: BaseEntity<unknown> | null = null

    The subtype IS-A child record (e.g., MJFieldSuggestionEntity).

    CommentRecord: MJCommentEntity | null = null

    The MJ: Comments record (or null when mocked in tests).

    DriverContext: CommentCardDriverContext | null = null

    Structured card context (coordinator, discussion callback, error callback).

    EditMode: boolean = false

    Whether the host form is currently in edit mode.

    HostDisplay: "contents" = 'contents'
    Navigate: EventEmitter<FormNavigationEvent> = ...
    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.

    RecordMutated: EventEmitter<void> = ...
    TargetRecord: BaseEntity<unknown> | null = null

    The target entity record that the comment is anchored to.

    UIDriverKey: string | null = null

    Registration key (MJ: Comment Types.UIDriverClass) in MJGlobal.Instance.ClassFactory.

    "ɵ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