import * as i0 from '@angular/core'; import { ModelSignal, InputSignalWithTransform, TemplateRef, QueryList, InputSignal } from '@angular/core'; import { MotionOptions } from '@primeuix/motion'; import * as i2 from 'primeng/api'; import { PrimeTemplate } from 'primeng/api'; import { BaseComponent } from 'primeng/basecomponent'; import * as i1 from 'primeng/bind'; import { Bind } from 'primeng/bind'; import { StepListPassThrough, StepperSeparatorPassThrough, StepItemPassThrough, StepPassThrough, StepPanelPassThrough, StepPanelsPassThrough, StepperPassThrough } from 'primeng/types/stepper'; import { BaseStyle } from 'primeng/base'; declare class StepItemStyle extends BaseStyle { name: string; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-stepitem-active': any; })[]; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface StepItemStyle extends BaseStyle { } declare class StepListStyle extends BaseStyle { name: string; classes: { root: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface StepListStyle extends BaseStyle { } declare class StepPanelsStyle extends BaseStyle { name: string; classes: { root: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface StepPanelsStyle extends BaseStyle { } declare class StepPanelStyle extends BaseStyle { name: string; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-steppanel-active': any; })[]; contentWrapper: string; content: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface StepPanelStyle extends BaseStyle { } /** * * Stepper is a component that streamlines a wizard-like workflow, organizing content into coherent steps and visually guiding users through a numbered progression in a multi-step process. * * [Live Demo](https://www.primeng.org/stepper/) * * @module stepperstyle * */ declare enum StepperClasses { /** * Class name of the root element */ root = "p-stepper", /** * Class name of the separator element */ separator = "p-stepper-separator" } declare class StepperStyle extends BaseStyle { name: string; style: string; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-readonly': any; })[]; separator: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface StepperStyle extends BaseStyle { } declare class StepStyle extends BaseStyle { name: string; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-step-active': any; 'p-disabled': any; })[]; header: string; number: string; title: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface StepStyle extends BaseStyle { } /** * Context interface for the StepPanel content template. * @property {() => void} activateCallback - Callback function to activate a step. * @property {number} value - The value associated with the step. * @property {boolean} active - A flag indicating whether the step is active. * @group Interface */ interface StepContentTemplateContext { activateCallback: () => void; value: number; active: boolean; } /** * Context interface for the StepPanel content template. * @property {(index: number) => void} activateCallback - Callback function to activate a step. * @property {number} value - The value associated with the step. * @property {boolean} active - A flag indicating whether the step is active. * @group Interface */ interface StepPanelContentTemplateContext { activateCallback: (index: number) => void; value: number; active: boolean; } declare class StepList extends BaseComponent { $pcStepList: StepList | undefined; bindDirectiveInstance: Bind; steps: i0.Signal; _componentStyle: StepListStyle; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * StepperSeparator is a helper component for Stepper component used in vertical orientation. * @group Components */ declare class StepperSeparator extends BaseComponent { $pcStepperSeparator: StepperSeparator | undefined; bindDirectiveInstance: Bind; onAfterViewChecked(): void; _componentStyle: StepperStyle; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * StepItem is a helper component for Stepper component used in vertical orientation. * @group Components */ declare class StepItem extends BaseComponent { $pcStepItem: StepItem | undefined; bindDirectiveInstance: Bind; _componentStyle: StepItemStyle; onAfterViewChecked(): void; pcStepper: any; /** * Value of step. * @type {} * @defaultValue undefined * @group Props */ value: ModelSignal; isActive: i0.Signal; step: i0.Signal; stepPanel: i0.Signal; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Step is a helper component for Stepper component. * @group Components */ declare class Step extends BaseComponent { $pcStep: Step | undefined; bindDirectiveInstance: Bind; pcStepper: any; onAfterViewChecked(): void; /** * Active value of stepper. * @type {number} * @defaultValue undefined * @group Props */ value: ModelSignal; /** * Whether the step is disabled. * @type {boolean} * @defaultValue false * @group Props */ disabled: InputSignalWithTransform; active: i0.Signal; isStepDisabled: i0.Signal; id: i0.Signal; ariaControls: i0.Signal; isSeparatorVisible: i0.Signal; /** * Content template. * @type {TemplateRef} * @group Templates */ content: TemplateRef; templates: QueryList | undefined; _contentTemplate: TemplateRef | undefined; _componentStyle: StepStyle; onAfterContentInit(): void; onStepClick(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * StepPanel is a helper component for Stepper component. * @group Components */ declare class StepPanel extends BaseComponent { $pcStepPanel: StepPanel | undefined; bindDirectiveInstance: Bind; pcStepper: any; onAfterViewChecked(): void; /** * Active value of stepper. * @type {number} * @defaultValue undefined * @group Props */ value: ModelSignal; active: i0.Signal; ariaControls: i0.Signal; id: i0.Signal; isVertical: i0.Signal; isSeparatorVisible: i0.Signal; computedMotionOptions: i0.Signal; /** * Content template. * @param {StepPanelContentTemplateContext} context - Context of the template * @see {@link StepPanelContentTemplateContext} * @group Templates */ contentTemplate: TemplateRef; templates: QueryList | undefined; _contentTemplate: TemplateRef | undefined; _componentStyle: StepPanelStyle; onAfterContentInit(): void; updateValue(value: number): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class StepPanels extends BaseComponent { $pcStepPanels: StepPanels | undefined; bindDirectiveInstance: Bind; _componentStyle: StepPanelsStyle; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Stepper is a component that streamlines a wizard-like workflow, organizing content into coherent steps and visually guiding users through a numbered progression in a multistep process. * @group Components */ declare class Stepper extends BaseComponent { $pcStepper: Stepper | undefined; bindDirectiveInstance: Bind; _componentStyle: StepperStyle; onAfterViewChecked(): void; /** * A model that can hold a numeric value or be undefined. * @defaultValue undefined * @type {ModelSignal} * @group Props */ value: ModelSignal; /** * A boolean variable that captures user input. * @defaultValue false * @type {InputSignalWithTransform} * @group Props */ linear: InputSignalWithTransform; /** * Transition options of the animation. * @defaultValue 400ms cubic-bezier(0.86, 0, 0.07, 1) * @type {InputSignal} * @group Props * @deprecated since v21.0.0, use `motionOptions` instead. */ transitionOptions: InputSignal; /** * The motion options. * @group Props */ motionOptions: InputSignal; computedMotionOptions: i0.Signal; id: i0.WritableSignal; stepItems: i0.Signal; steps: i0.Signal; stepList: i0.Signal; updateValue(value: number): void; isStepActive(value: number): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class StepperModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { Step, StepItem, StepList, StepPanel, StepPanels, Stepper, StepperClasses, StepperModule, StepperSeparator, StepperStyle }; export type { StepContentTemplateContext, StepPanelContentTemplateContext };