'fill': the dashboard fills the editor. 'card': a padded card body.
The viewer's configuration changed (parts, layout).
The editor entered (true) or left (false) edit mode. Not emitted when the editor is destroyed.
The description field.
The name field.
The part the part dialog edits in edit mode.
The user starred (true) or unstarred (false) the dashboard.
True while the editor is in edit mode.
True while a Save of the shown dashboard runs (the question about a save made elsewhere, the screenshot, then the save). Meanwhile Edit, Save, Cancel, Add part and part edits do nothing, and the header shows it.
The dashboard's layout is ready. Once for each DashboardId.
The dashboard could not be shown: DashboardEngine does not hold it, it is a Code dashboard, or its layout failed. The editor then shows no dashboard.
The shown dashboard's saved name changed: this editor's Save, or a save elsewhere. Never empty.
A part asked to open something: a record, another dashboard, a query.
The user clicked "Open in Dashboards".
Whether the part dialog is open to add a part or to edit one. Null while it is closed.
The user's permissions for the shown dashboard. Nothing is allowed before a dashboard loads.
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 editor rebuilt the saved layout because the dashboard was saved elsewhere.
The viewer saved the dashboard (before the editor leaves edit mode).
Shows the favorite star in view mode.
Shows "Open in Dashboards" in view mode.
Enter edit mode when the dashboard finishes loading. Read once per load, then reset (StartInEditModeChange).
Emits false when the editor has read StartInEditMode, for a two-way binding.
Replaces the view-mode title, for example with Home's breadcrumb and dashboard switcher.
StaticɵdirStaticɵfacThe element that holds the dashboard: the Save screenshot, the pin thumbnail and the agent's screenshot capture it.
True when the user can edit the shown dashboard.
The shown dashboard: the instance DashboardEngine holds. Null before a load.
The Config dashboard to show. The editor reads it from DashboardEngine. The same ID again (in any case) changes nothing; another ID drops an edit in progress and shows that dashboard; null clears.
True while editing with changes the viewer or the fields have not saved.
True when the shown dashboard is one of the user's favorites. False when the favorites cannot be read.
In 'fill' style the editor takes its host's full height.
True when someone else owns the dashboard and shared it with the user.
The part types the part dialog offers: the viewer's part types.
Returns either the default Metadata provider or the one specified in the Provider property, if it was specified
Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified
Returns either the default RunView provider or the one specified in the Provider property, if it was specified
The viewer, for hosts that drive it (the dashboard tab's agent tools). Null before a load.
Leaves edit mode and drops the changes. The viewer reloads the saved layout before it leaves edit mode: it drops its layout at once, so leaving edit mode applies to the layout it rebuilds. Does nothing while a Save runs.
Closes the part dialog.
Enters edit mode when the user can edit. Returns true when the editor is editing afterwards, and false, changing nothing, while a Save runs: that Save reads the name and description fields.
A callback method that is invoked immediately after Angular has completed initialization of a component's view. It is invoked only once when the view is instantiated.
Stops a load in progress at its next step, ends the subscriptions and destroys the viewer.
Keeps the previous name when the user leaves the name field empty or with only spaces.
Adds the part, or applies the edited part, from the part dialog.
Opens the part dialog to add a part. Only while editing and not saving.
Reads the user's permissions for the dashboard again, for example after the host's Share dialog saved.
Saves like SaveDashboard. Returns null when saved, also when the editor shows another dashboard by
the time the viewer has saved; else why not. Outside edit mode it saves the dashboard's own name and
description. overrides replace the fields first. While a Save runs it refuses at once and leaves
the fields as they are.
Saves the name, description and layout, then leaves edit mode. An empty name is never saved: the previous name is kept. When the save fails, the editor stays in edit mode (see onSaveFailed). One Save runs at a time (see IsSaving).
Leaves edit mode without saving, or enters it.
Stars or unstars the shown dashboard, tells the user the new state, and emits it through FavoriteChange.
A Config dashboard with its header: view mode (title, description, favorite, host actions, Edit) and edit mode (Editing badge, name and description fields, Add part, Save, Cancel), the part dialog and the dashboard viewer. Made for the dashboard tab and Home's dashboard view, so both edit a dashboard the same way; Save asks before it replaces a save made elsewhere during the edit. It never navigates: hosts handle its events.
Hosts project their own header buttons:
[headerTools]shows in both modes,[viewActions]in view mode after the star.