Forwarded from MessageItemComponent — see its docs.
Forwarded from MessageItemComponent — see its docs.
Optional per-message additive decoration template, projected INSIDE the default
MessageItemComponent (after the message text). Forwarded by chat-area when a
consumer projects mjChatSlot="messageExtra". Ignored when
messageRendererTemplate is set (custom renderers own all per-message content).
Optional per-iteration custom message renderer. When set, the list renders each
message via this template (full replacement) instead of the default
MessageItemComponent. Forwarded by chat-area when a consumer projects
mjChatSlot="messageRenderer". The template receives the message as
$implicit and as a named message context binding.
Consumers opting into a custom renderer take full responsibility for displaying
the message — edit/delete/retry affordances, artifacts, ratings, attachments,
etc. The minimal MJChatMessageBubbleDefaultComponent ships as a ready-to-use
bubble renderer.
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.
Emitted with the MJ: AI Agent Sessions.ID when a realtime session block's Open affordance is clicked.
Optional session-row enrichment for realtime SESSION BLOCKS, keyed by
NormalizeUUID(sessionId) (agent name / status / close reason). Details stamped
with an AgentSessionID collapse into one timeline card per session — see
BuildConversationTimeline — and this map dresses those cards up when present.
Whether the sticky date header + jump-to-date dropdown render.
Whether the built-in "No messages yet" filler renders for empty conversations. Hosts with their own empty-state chrome set false.
StaticɵdirStaticɵfacCalled when messages array changes Efficiently updates the DOM without re-rendering everything
Returns either the default Metadata provider or the one specified in the Provider property, if it was specified
Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified
Returns either the default RunReport provider or the one specified in the Provider property, if it was specified
Returns either the default RunView provider or the one specified in the Provider property, if it was specified
A callback method that is invoked immediately after the default change detector has completed one change-check cycle for a component's view.
A callback method that is invoked immediately after Angular has completed initialization of a component's view. It is invoked only once when the view is instantiated.
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.
The changed properties.
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
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.
Removes a message from the rendered list Called externally when a message is deleted
Container component for displaying a list of messages Uses dynamic component creation (like skip-chat) to avoid Angular binding overhead This dramatically improves performance when messages are added/removed