@wizco/fenixds-ngx
Version:
Componentes fenix design system para Angular.
54 lines • 2.15 kB
TypeScript
import { AfterContentInit, AfterViewInit, ElementRef, OnChanges, OnDestroy, QueryList, SimpleChanges } from '@angular/core';
import { StepComponent } from '../step/step.component';
import * as i0 from "@angular/core";
export declare class StepperGroupComponent implements AfterContentInit, AfterViewInit, OnChanges, OnDestroy {
steps: QueryList<StepComponent>;
scrollContainer: ElementRef<HTMLElement>;
stepsWrapper: ElementRef<HTMLElement>;
/**
* Tamanho do stepper group
* 'fit' - ajusta ao conteúdo
* 'full' - ocupa toda a largura disponível
*/
size: 'fit' | 'full';
/**
* Modo de exibição
* 'default' - modo padrão
* 'mini' - modo compacto (mobile)
*/
mode: 'default' | 'mini';
/**
* Orientação dos steps
* 'horizontal' - orientação horizontal (padrão)
* 'vertical' - orientação vertical
*/
orientation: 'horizontal' | 'vertical';
/**
* Número do step atual (começa em 1, não 0)
*/
current: number;
hasHorizontalScroll: boolean;
canScrollLeft: boolean;
canScrollRight: boolean;
isHorizontal: boolean;
isMiniResponsive: boolean;
get totalSteps(): number;
isCurrentStep(index: number): boolean;
ngOnChanges(changes: SimpleChanges): void;
ngAfterContentInit(): void;
ngAfterViewInit(): void;
private updateStepsVisibility;
ngOnDestroy(): void;
onResize(): void;
private checkMiniResponsive;
private updateSteps;
private scrollHandler;
checkScroll(): void;
private updateArrowVisibility;
scrollToCurrent(): void;
scrollLeft(): void;
scrollRight(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<StepperGroupComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<StepperGroupComponent, "wco-stepper-group", never, { "size": { "alias": "size"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "current": { "alias": "current"; "required": false; }; }, {}, ["steps"], ["*"], true, never>;
}
//# sourceMappingURL=stepper-group.component.d.ts.map