Member Junction
    Preparing search index...

    Base class for config panels. Config panels contain ONLY the form content - no dialog chrome (header, footer, buttons). They communicate with their container via the configChanged output.

    This allows the same panel to be used:

    1. As the Source section of the part dialog (mj-dashboard-part-dialog), which adds and edits parts
    2. In the deprecated add-panel and edit-part dialogs

    Subclasses are registered with

    and instantiated via ClassFactory.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    cdr: ChangeDetectorRef
    configChanged: EventEmitter<ConfigPanelResult> = ...

    Emitted when configuration changes. Container should listen to this to update save button state, etc.

    panel: DashboardPanel | null = null

    The existing panel (for editing) or null (for creating)

    partType: MJDashboardPartTypeEntity | null = null

    The part type being configured

    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.

    ShowCommonFields: boolean = true

    Shows the fields that the part dialog shows itself: the title and, for a query, the parameter-controls and auto refresh options. The part dialog sets it to false.

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