Member Junction
    Preparing search index...

    Main dashboard viewer component. Renders a configurable dashboard with draggable/resizable panels using Golden Layout.

    This component is GENERIC and has no routing dependencies. Navigation events are bubbled up for the parent component to handle.

    Hierarchy (View Summary)

    Implements

    • OnDestroy
    Index

    Constructors

    Properties

    breadcrumbNavigate: EventEmitter<BreadcrumbNavigateEvent> = ...

    Emitted when user navigates via breadcrumb

    Categories: MJDashboardCategoryEntity[] = []

    All categories for breadcrumb path resolution

    config: DashboardConfig | null = null
    configChanged: EventEmitter<DashboardConfigChangedEvent> = ...

    Emitted when dashboard configuration changes

    dashboardSaved: EventEmitter<MJDashboardEntity> = ...

    Emitted when the dashboard is saved

    editModeChanged: EventEmitter<boolean> = ...

    Emitted when edit mode changes

    error: EventEmitter<{ error?: Error; message: string }> = ...

    Emitted when an error occurs

    hasUnsavedChanges: boolean = false
    isLoading: boolean = false
    layoutContainer: ElementRef<HTMLElement>
    layoutDeferred: EventEmitter<{ reason: string }> = ...

    Emitted when layout initialization is deferred because the container cannot be initialized yet.

    layoutLifecycle: EventEmitter<DashboardLayoutLifecycleEvent> = ...

    Emitted as the Golden Layout viewer moves through dashboard/layout readiness states.

    layoutReady: EventEmitter<void> = ...

    Emitted once Golden Layout has initialized with a non-zero container and updated its size.

    navigationRequested: EventEmitter<DashboardNavRequestEvent> = ...

    Emitted when a panel requests navigation to another resource

    openInTab: EventEmitter<{ dashboardId: string; dashboardName: string }> = ...

    Emitted when user clicks "Open in Tab" button

    panelInteraction: EventEmitter<PanelInteractionEvent> = ...

    Emitted when a panel interaction occurs

    partTypes: MJDashboardPartTypeEntity[] = []
    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.

    showBreadcrumb: boolean = true

    Whether to show the breadcrumb navigation

    showEditButton: boolean = true

    Whether to show the Edit button

    showOpenInTabButton: boolean = false

    Whether to show the "Open in Tab" button (for embedded dashboards)

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