File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { Injectable } from '@angular/core'
21import { FormGroup } from '@angular/forms'
32
43export interface WizardStep {
@@ -10,16 +9,3 @@ export interface WizardStep {
109 isDone ?: boolean
1110 form ?: FormGroup
1211}
13-
14- @Injectable ( )
15- export class FormWizardState {
16- activeStep ! : WizardStep
17- steps : WizardStep [ ] = [ ]
18-
19- init ( steps : WizardStep [ ] ) : void {
20- if ( steps != null && steps . length > 0 ) {
21- this . steps = steps
22- this . activeStep = this . steps [ 0 ]
23- }
24- }
25- }
Original file line number Diff line number Diff line change @@ -21,17 +21,3 @@ export class Option<T> {
2121 }
2222 }
2323}
24-
25- export class MSDropdownOption < T > extends Option < T > {
26- constructor (
27- public override name : string ,
28- public override label : string ,
29- public override value : T ,
30- public icon ?: string ,
31- public badgeType ?: BadgeType ,
32- ) {
33- super ( name , label , value )
34- }
35- }
36-
37- export type BadgeType = 'default' | 'danger' | 'success' | 'warning' | 'primary'
You can’t perform that action at this time.
0 commit comments