Member Junction
    Preparing search index...

    Dialog for adding a new part to the dashboard. Two-step flow: first select the part type, then configure using dynamically loaded config panels.

    Config panels are loaded via ClassFactory using DashboardPartType.ConfigDialogClass, allowing new part types to be added without modifying this component.

    Implements

    • AfterViewInit
    • OnDestroy
    Index

    Constructors

    Properties

    canAddPart: boolean = false

    Whether the Add Part button should be enabled

    cancelled: EventEmitter<void> = ...

    Emitted when the dialog is cancelled

    configPanelContainer: ViewContainerRef
    currentResult: ConfigPanelResult | null = null

    Current config panel result (updated via configChanged event)

    isLoadingPanel: boolean = false

    Whether config panel is loading

    loadError: string | null = null

    Error loading the config panel

    panelAdded: EventEmitter<AddPanelResult> = ...

    Emitted when a part is configured and ready to add

    partTypes: MJDashboardPartTypeEntity[] = []

    Available part types to choose from

    selectedPartType: MJDashboardPartTypeEntity | null = null
    step: DialogStep = 'select-type'

    Accessors

    Methods