Member Junction
    Preparing search index...

    Artifact message card component - displays a simple info bar for artifacts in conversation messages. Shows artifact icon, name, type badge, and version. Click to open full artifact viewer.

    Hierarchy (View Summary)

    Implements

    • OnInit
    • OnDestroy
    Index

    Constructors

    Properties

    _artifact: MJArtifactEntity | null = null
    _currentVersion: MJArtifactVersionEntity | null = null
    actionPerformed: EventEmitter<
        {
            action: string;
            artifact: MJArtifactEntity;
            version?: MJArtifactVersionEntity;
        },
    > = ...
    artifact?: MJArtifactEntity
    artifactId: string
    artifactVersion?: MJArtifactVersionEntity
    currentUser: UserInfo
    error: boolean = false
    loading: boolean = true
    previewComponentType: Type<IArtifactPreviewComponent> | null = null

    Resolved inline-preview component for this artifact's type/contentType, or null when no plugin exposes a matching preview (the card then falls back to its existing info-bar box). Resolved SYNCHRONOUSLY up front (before the box renders) to avoid a flash / ExpressionChanged error.

    previewInputs: Record<string, unknown> = {}

    Inputs forwarded to the dynamically rendered preview component via *ngComponentOutlet.

    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.

    versionNumber?: number
    "ɵ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

    • 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 Promise<void>