@clr/angular
Version:
Angular components for Clarity
27 lines (26 loc) • 1.29 kB
TypeScript
import { AfterViewInit, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges } from '@angular/core';
import { FormGroupDirective, NgForm } from '@angular/forms';
import { Subscription } from 'rxjs';
import { StepperService } from './providers/stepper.service';
import { ClrStepperPanel } from './stepper-panel';
import * as i0 from "@angular/core";
export declare class ClrStepper implements OnInit, OnChanges, AfterViewInit, OnDestroy {
private formGroup;
private ngForm;
private stepperService;
initialPanel: string;
panels: QueryList<ClrStepperPanel>;
subscriptions: Subscription[];
form: FormGroupDirective | NgForm;
constructor(formGroup: FormGroupDirective, ngForm: NgForm, stepperService: StepperService);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngAfterViewInit(): void;
ngOnDestroy(): void;
private listenForFormResetChanges;
private listenForPanelsCompleted;
private setPanelsWithFormErrors;
private listenForDOMChanges;
static ɵfac: i0.ɵɵFactoryDeclaration<ClrStepper, [{ optional: true; }, { optional: true; }, null]>;
static ɵcmp: i0.ɵɵComponentDeclaration<ClrStepper, "form[clrStepper]", never, { "initialPanel": "clrInitialStep"; }, {}, ["panels"], ["*"], false, never>;
}