import { EventEmitter } from "../../stencil-public-runtime"; import { StzhStepperDataItem, StzhStepperItemClickEvent, StzhStepperItemDottedClickEvent } from "../../index"; import { StzhStepperLocalizedText } from "./stzh-stepper.localization"; /** * @slot - Slot for any text content */ export declare class StzhStepper { /** Translation strings */ localization: StzhStepperLocalizedText; /** * Step data (JSON array with objects that have `label` attribute and optional: * - `disabled`, if step should be disabled * - `icon`, if icon instead of step number should be displayed): * - `analyticsId`, for Adobe Analytics, rendered as `s-object-id` (default is `label`) * * ``` * { * "label": "Step Label" * "icon": "clock", * "disabled": true * } * ``` */ data: StzhStepperDataItem[] | string; private _data; /** Index of the item that be active */ index: number; /** Number of steps to show below small breakpoint */ steps: number; /** Number of steps to show above small breakpoint */ stepsSmall: number; /** Number of steps to show above medium breakpoint */ stepsMedium: number; /** Number of steps to show above large breakpoint */ stepsLarge: number; /** Number of steps to show above ultra breakpoint */ stepsUltra: number; /** Whether all the stepper-items are clickable (overrides item.clickDisabled in data property). */ clickDisabled: boolean; currentSteps: number; element: HTMLStzhStepperElement; /** Step click event */ stzhClick: EventEmitter; /** Dotted step click event */ stzhDottedClick: EventEmitter; /** * Return infos about rendered stepper items. * Array of objects including: hide (whether step is hidden) * / passed (whether step has been passed) * / current (whether step is currently active) * / dotted (whether step has dotted style active) * / first|last (whether step is first or last) * / label */ getItemData(): Promise; onIndexChange(): void; indexWatcher(newIndex: string | number): void; stepsWatcher(): void; dataWatcher(newValue: any[] | string): void; private lastItemIndex; private maxStepIndex; private withinLastFewSteps; private getItemAttributes; /** The stzhClick and stzhDottedClick event from the stepper item is exceptionally passed through, because React wrappers don't see the event otherwise. * Don't use this pattern on other components (see PDESI-1530). */ private handleStepClick; private setCurrentSteps; componentWillLoad(): Promise; componentShouldUpdate(): Promise; componentDidUpdate(): Promise; connectedCallback(): void; disconnectedCallback(): void; render(): any; }