Member Junction
    Preparing search index...

    mj-conversation-offers: the person-at-a-console side of a room handoff. Lists the conversations an AI agent is offering the signed-in user (a phone call that arrived through SIP, or a web room), with a countdown and Accept / Decline, kept live over the handoff subscription.

    It is a generic (L2) widget: it never navigates and never joins a room. Accepting raises OfferAccepted with the room name, and the host (an Explorer surface) decides how to join. Every call is scoped to the signed-in user on the server, so the list holds only their own offers.

    Public members are PascalCase (MJ convention); private members are camelCase.

    Hierarchy (View Summary)

    Implements

    • OnInit
    • OnDestroy
    Index

    Constructors

    Properties

    BusyOfferID: string | null = null

    The offer an accept/decline is in flight for; buttons are disabled meanwhile so two cannot race.

    Client: GraphQLHandoffClient | null = null

    A pre-built transport client, for a host that already holds one (and for tests). By default one is built over the component's provider.

    ErrorMessage: string | null = null

    The last problem worth telling the person about; cleared on the next successful action.

    Heading: string = 'Incoming conversations'

    Heading shown above the list.

    IsLoading: boolean = true

    True until the first list has arrived.

    OfferAccepted: EventEmitter<ConversationOfferAcceptedEvent> = ...

    Raised when an offer was accepted; the host joins RoomName.

    PendingCount: number = 0

    How many offers can still be answered.

    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.

    The rows on screen.

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

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