"Apply to my form" — bubbled from the form-aware component-artifact-viewer branch. Carries the spec + entity. Consumer (chat message card, etc.) confirms and invokes the Create-or-Modify Interactive Form action.
Cached icon class — set once after artifact loads to avoid mid-cycle flicker
OptionalcanOptionalcanOptionalcontextThe no-plugin fallback. An artifact type with no viewer plugin (CSV today) used to render an empty pane: the display tab only knew the extracted markdown/HTML attributes, and a file-backed version has no inline Content to show. Now such an artifact gets a file card with a Download action, and text-like content (text/*, JSON, CSV) is fetched and shown as plain text — capped, so a large file is downloaded rather than rendered.
OptionalpluginIf 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.
OptionalrefreshOptionalversionStaticɵdirStaticɵfacGet collection IDs that already contain the current version Used to exclude them from the save picker
The file name shown on the fallback card.
Human file size for the fallback card, when the version knows it.
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 RunView provider or the one specified in the Provider property, if it was specified
True when the display tab has nothing better than the file card to show.
Download the artifact's file: file-backed via MJ's URL (fetched to a blob so the browser saves it), inline via the data URL.
Get the component inputs for a component tab
Get the component type for a component tab. Returns null if the tab is not a component tab (used for template type safety).
Passthrough to the active plugin's GetCurrentStateSnapshot(). Returns null if no plugin is loaded or the plugin has no snapshot.
Get resolved tab content for string-based tabs (non-component tabs). For component tabs, use GetTabDefinition() and render the component directly.
Get the full tab definition for a given tab name. Returns the ArtifactViewerTab which may include component info for custom component tabs.
Get icon class for a tab
Check if a tab is a component tab (renders a custom Angular component)
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.
Capture the current snapshot and emit an analyze event. The parent component handles routing this to an agent conversation.
Navigate to a linked conversation or collection
Handle navigation request from artifact viewer plugin. Propagates the event up to parent components for app-level navigation.
Handle entity record open request from artifact viewer plugin (React component) Propagates the event up to parent components
Called when the plugin viewer finishes loading. Selects the first available tab now that plugin tabs are available.
Called when a plugin's async tab data changes (e.g., ComponentArtifactViewer loads the full spec from the registry after initial render with a stripped spec). Forces re-evaluation of allTabs so new tab labels render correctly.
Reload the cached set of collections that contain the current version of this artifact. Called by the chat-area after the collection picker reports successful saves so the bookmark icon and "already saved" exclusion list refresh without a full artifact reload.
Set active tab
Base class for all Angular components in the MemberJunction system.