Whether the Add Part button should be enabled
Emitted when the dialog is cancelled
Current config panel result (updated via configChanged event)
Whether config panel is loading
Error loading the config panel
Use PanelAdded.
The same emitter under the old binding name, so a template still binding (panelAdded) keeps working. Must stay AFTER PanelAdded: class fields initialise in order, and the other way round this captures undefined.
Emitted when a part is configured and ready to add
Available part types to choose from
Use CanAddPart.
Use ConfigPanelContainer.
Use CurrentResult.
Use IsLoadingPanel.
Use PartTypes.
Use SelectedPartType.
Use Step.
Use Visible.
Whether the dialog is visible
Use AddPart.
Add the configured part
Use GetConfigTypeName.
Get the configuration type name
Use GoBack.
Go back to type selection
Use HasConfigPanel.
Check if the selected part type has a config panel class
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.
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
Cancel the dialog
Select a part type and go to configuration step
Use Reset.
Reset the dialog to initial state
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.
Deprecated
Use
DashboardPartDialogComponent(<mj-dashboard-part-dialog Mode="add">), which adds and edits parts onmj-dialog.