Member Junction
    Preparing search index...

    The LIVE surface of the Interactive Component channel (mj-realtime-interactive-component-surface): one tab per open component and the active component's pane under it. Every open component stays mounted (hidden when not active) so switching tabs never loses what the user was doing in one.

    Purely a view of the channel's ComponentInstanceEngine: the agent's actions mutate the engine through the channel, and this re-renders. What the user does (selecting a tab, closing one, anything inside a component) is reported back through ActivityHandler.

    Hierarchy (View Summary)

    Implements

    • OnInit
    • OnDestroy
    Index

    Constructors

    Properties

    ActiveID: string | null = null

    The id of the component the user is looking at.

    ActivityHandler:
        | ((instanceId: string, activity: ComponentActivity) => void)
        | null = null

    Reports what the user does (tab selection, closing a tab, activity inside a component) to the channel.

    AgentName: string = 'The agent'

    Display name of the agent fronting the session, for the empty-state copy.

    Instances: readonly ComponentInstanceRecord[] = []

    The open components, in open order.

    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.

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