@nova-ui/dashboards
Version:
Nova Dashboards is a framework designed to provide feature developers with a common solution for presenting data coming from various sources within a single view, as well as a set of predefined widget visualizations that are 100% configuration-driven and
77 lines (76 loc) • 2.11 kB
TypeScript
import { EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef } from "@angular/core";
import { IBusyConfig, SpinnerSize } from "@nova-ui/bits";
import { IDashwizStepComponent, IDashwizStepNavigatedEvent } from "../types";
/**
* Component that provides wizard step functionality.
*/
export declare class DashwizStepComponent implements IDashwizStepComponent, OnInit, OnChanges {
/**
* Template for step.
*/
stepTemplate?: TemplateRef<any>;
/**
* Check is form inside step valid.
*/
stepControl?: boolean;
/**
* The title of the step.
*/
title: string;
/**
* Default:'Next'. Text for the Next button.
*/
nextText: string;
/**
* Hide step
*/
hidden: boolean;
/**
* Disables step
*/
disabled?: boolean;
/**
* The size of the busy spinner
*/
spinnerSize: SpinnerSize;
/**
* Evaluated when the step is entered.
*/
enter: EventEmitter<void | IDashwizStepNavigatedEvent>;
/**
* Evaluated when validity of the step is changed.
*/
valid: EventEmitter<boolean>;
/**
* Evaluated when the step is exited.
*/
exit: EventEmitter<void | IDashwizStepNavigatedEvent>;
/**
* Evaluated when trying to go to the next step.
*/
next: EventEmitter<void | IDashwizStepNavigatedEvent>;
/**
*
* Options for busy state. Default: no busy state, with clear empty busy component when set to true
*/
busyConfig: IBusyConfig;
visited: boolean;
active: boolean;
complete: boolean;
icon: string;
iconColor: string;
constructor();
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
/**
* Set flags for step entering and emits enter event
*/
enterStep: (event?: IDashwizStepNavigatedEvent) => void;
/**
* Set flags for step exiting and emits exit event
*/
exitStep: (event?: IDashwizStepNavigatedEvent) => void;
nextStep: (event?: IDashwizStepNavigatedEvent) => void;
applyEnteringStep: () => void;
applyExitingStep: () => void;
}