Member Junction
    Preparing search index...

    The dashboard designer's Properties panel and Wires list, on mj-dialog.

    Properties: add, edit and remove the dashboard's properties (name, type, description, required, and a default: a fixed value or a context token). Wires: each sets a property from one value of a part's event (a View part's RecordSelected, a Query part's RowSelected, a component's declared events). Apply is refused while a property, a wire or a part's mapping no longer fits, for example a property renamed while a part still maps it.

    The host opens and closes it, for example with @if around [Visible]="true".

    Hierarchy (View Summary)

    Implements

    • OnDestroy
    Index

    Constructors

    Properties

    Cancelled: EventEmitter<void> = ...

    Emitted on Cancel or close.

    EditProperties: DashboardProperty[] = []

    The properties being edited.

    EditWires: DashboardWire[] = []

    The wires being edited.

    Interfaces: Map<string, DashboardPartInterface | null> = ...

    What each part declares, by panel ID; null when it couldn't load.

    IsLoading: boolean = false
    Panels: DashboardPanel[] = []

    The dashboard's parts.

    Properties: DashboardProperty[] = []

    The dashboard's properties.

    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.

    Saved: EventEmitter<DashboardPropertiesDialogResult> = ...

    Emitted on Apply with the edited properties and wires.

    Types: readonly ["string", "number", "boolean", "date", "uuid"] = PROPERTY_VALUE_TYPES
    Wires: DashboardWire[] = []

    The dashboard's wires.

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