@progressive-development/pd-dialog
Version:
Progressive Development dialog components.
32 lines • 1.22 kB
TypeScript
import { LitElement, PropertyValues } from 'lit';
/**
* @tagname pd-submit-dialog
*
* A submit dialog that shows progress, success or failure state.
*
* @fires submit-button-clicked - Triggered when a footer button is clicked, e.g. "Close" or "Back to Start".
* @slot submit-content - Content shown above the progress area
*/
export declare class PdSubmitDialog extends LitElement {
static styles: import('lit').CSSResult[];
/** Dialog title */
title: string;
/** Dialog type: `mail`, `editDate`, `order` (default) */
type: "mail" | "editDate" | "order";
/** Current status */
status: number;
/** Optional status message shown below the progress */
statusMsg: string;
/** Confirmation email address shown inside the content */
confirmMail: string;
/** Optional map with custom progress texts */
progressTxtMap: Map<number, string>;
/** Internal list of buttons shown in the popup dialog */
private _buttons;
updated(changedProps: PropertyValues<this>): void;
private _updateButtonsBasedOnStatus;
render(): import('lit').TemplateResult<1>;
private _renderProgressRow;
private _goToStartpage;
}
//# sourceMappingURL=PdSubmitDialog.d.ts.map