ActionDialog Type documentation¶
TypeScript declaration¶
import type { ActionDialog } from '@siemens/element-ng/action-modal';All possible action dialogs.
Types Documentation¶
import type { AlertDialog } from '@siemens/element-ng/action-modal';An action dialog showing an alert
-
Label of the confirmation button.
-
Callback for delaying dismiss with a progress indicator until the returned Observable emits.
delayDismiss?:
((result: "confirm") => Observable<"confirm">)Inherited from ActionDialogBase<"confirm">¶ -
The heading.
heading?:
TranslatableStringInherited from ActionDialogBase<"confirm">¶ -
Icon displayed in the heading.
icon?:
stringInherited from ActionDialogBase<"confirm">¶ -
The message.
message?:
TranslatableStringInherited from ActionDialogBase<"confirm">¶ -
Parameters for the translate pipe.
translationParams?:
Record<string, any>Inherited from ActionDialogBase<"confirm">¶
import type { ConfirmationDialog } from '@siemens/element-ng/action-modal';An action dialog for a confirmation.
-
Label of the confirmation button.
-
Label of the decline button.
-
Callback for delaying dismiss with a progress indicator until the returned Observable emits.
delayDismiss?:
((result: ConfirmationDialogResult) => Observable<ConfirmationDialogResult>)Inherited from ActionDialogBase<ConfirmationDialogResult>¶ -
The heading.
heading?:
TranslatableStringInherited from ActionDialogBase<ConfirmationDialogResult>¶ -
Icon displayed in the heading.
icon?:
stringInherited from ActionDialogBase<ConfirmationDialogResult>¶ -
The message.
message?:
TranslatableStringInherited from ActionDialogBase<ConfirmationDialogResult>¶ -
Parameters for the translate pipe.
translationParams?:
Record<string, any>Inherited from ActionDialogBase<ConfirmationDialogResult>¶
import type { DeleteConfirmationDialog } from '@siemens/element-ng/action-modal';An action dialog for a delete confirmation.
-
Label of the cancel button.
-
Callback for delaying dismiss with a progress indicator until the returned Observable emits.
delayDismiss?:
((result: DeleteConfirmationDialogResult) => Observable<DeleteConfirmationDialogResult>)Inherited from ActionDialogBase<DeleteConfirmationDialogResult>¶ -
Label of the delete button.
-
The heading.
heading?:
TranslatableStringInherited from ActionDialogBase<DeleteConfirmationDialogResult>¶ -
Icon displayed in the heading.
icon?:
stringInherited from ActionDialogBase<DeleteConfirmationDialogResult>¶ -
The message.
message?:
TranslatableStringInherited from ActionDialogBase<DeleteConfirmationDialogResult>¶ -
Parameters for the translate pipe.
translationParams?:
Record<string, any>Inherited from ActionDialogBase<DeleteConfirmationDialogResult>¶
import type { EditDiscardDialog } from '@siemens/element-ng/action-modal';An action dialog for an edit/discard prompt.
-
Label of the cancel button.
-
Callback for delaying dismiss with a progress indicator until the returned Observable emits.
delayDismiss?:
((result: EditDiscardDialogResult) => Observable<EditDiscardDialogResult>)Inherited from ActionDialogBase<EditDiscardDialogResult>¶ -
Whether to disable the save button.
-
Label of the discard button when disableSave is set.
-
Message when disableSave is set.
-
Label of the discard button.
-
The heading.
heading?:
TranslatableStringInherited from ActionDialogBase<EditDiscardDialogResult>¶ -
Icon displayed in the heading.
icon?:
stringInherited from ActionDialogBase<EditDiscardDialogResult>¶ -
The message.
message?:
TranslatableStringInherited from ActionDialogBase<EditDiscardDialogResult>¶ -
Label of the save button.
-
Parameters for the translate pipe.
translationParams?:
Record<string, any>Inherited from ActionDialogBase<EditDiscardDialogResult>¶
import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit. Equivalent to a normal string in usage and functionality.
Base type for all action dialogs
-
Callback for delaying dismiss with a progress indicator until the returned Observable emits.
delayDismiss?:
((result: TResult) => Observable<TResult>)¶ -
The heading.
-
Icon displayed in the heading.
-
The message.
-
Parameters for the translate pipe.
translationParams?:
Record<string, any>¶
import type { AlertDialogResult } from '@siemens/element-ng/action-modal'; import type { ConfirmationDialogResult } from '@siemens/element-ng/action-modal'; import type { EditDiscardDialogResult } from '@siemens/element-ng/action-modal'; import type { DeleteConfirmationDialogResult } from '@siemens/element-ng/action-modal'; Except where otherwise noted, content on this site is licensed under MIT License.