UNPKG

@progressive-development/pd-wizard

Version:

Webcomponent pd-wizard following open-wc recommendations

44 lines 1.42 kB
import { LitElement, CSSResultGroup } from 'lit'; import { PdWizardStep } from '../types.js'; /** * A multi-step wizard UI component. * * @fires next-step - Fired when the "Weiter" button is clicked * @fires previous-step - Fired when the "Zurück" button is clicked * @fires submit-wizard - Fired when the wizard is submitted; can modify the `submited` flag in the detail object * @fires close-wizard - Fired when the wizard is closed * * @slot slotLogo - The slot for the logo in the title area * @slot step-1 - Content for step 1 * @slot step-2 - Content for step 2 * @slot step-3 - Content for step 3 * @slot step-4 - Content for step 4 * @slot step-5 - Content for step 5 * @slot step-6 - Content for step 6 * @tagname pd-wizard */ export declare class PdWizard extends LitElement { /** * Current step number (1-based index) */ currentNumber: number; /** * List of wizard step definitions */ wizardSteps: PdWizardStep[]; /** * If true, renders the wizard in panel style (reduced header) */ panelWizard: boolean; /** * Internal state to disable submit button after submission */ private _submited; static styles: CSSResultGroup; protected render(): import('lit').TemplateResult<1>; private _previousStep; private _nextStep; private _submit; private _closeWizard; } //# sourceMappingURL=PdWizard.d.ts.map