UNPKG

@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

80 lines (79 loc) 2.84 kB
import { EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef } from "@angular/core"; import { IBusyConfig, SpinnerSize } from "@nova-ui/bits"; import { IDashwizStepComponent, IDashwizStepNavigatedEvent } from "../types"; import * as i0 from "@angular/core"; /** * 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; static ɵfac: i0.ɵɵFactoryDeclaration<DashwizStepComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DashwizStepComponent, "nui-dashwiz-step", never, { "stepTemplate": { "alias": "stepTemplate"; "required": false; }; "stepControl": { "alias": "stepControl"; "required": false; }; "title": { "alias": "title"; "required": false; }; "nextText": { "alias": "nextText"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "spinnerSize": { "alias": "spinnerSize"; "required": false; }; }, { "enter": "enter"; "valid": "valid"; "exit": "exit"; "next": "next"; }, never, never, false, never>; }