@alauda/ui 6.0.1-beta → 6.0.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alauda-ui.metadata.json +1 -1
- package/bundles/alauda-ui.umd.js +8 -2
- package/bundles/alauda-ui.umd.js.map +1 -1
- package/bundles/alauda-ui.umd.min.js +1 -1
- package/bundles/alauda-ui.umd.min.js.map +1 -1
- package/esm2015/steps/steps.component.js +11 -4
- package/esm2015/steps/steps.component.ngfactory.js +1 -1
- package/esm2015/steps/steps.component.ngsummary.json +1 -1
- package/fesm2015/alauda-ui.js +8 -2
- package/fesm2015/alauda-ui.js.map +1 -1
- package/package.json +1 -1
- package/steps/steps.component.d.ts +4 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
3
|
import { StepItem, StepState, StepsOrientation, StepsType } from './types';
|
|
4
|
-
export declare class StepsComponent implements OnInit {
|
|
4
|
+
export declare class StepsComponent implements OnInit, OnDestroy {
|
|
5
5
|
_currentIndex: number;
|
|
6
6
|
private _steps;
|
|
7
7
|
get steps(): StepItem[];
|
|
@@ -16,6 +16,7 @@ export declare class StepsComponent implements OnInit {
|
|
|
16
16
|
currentIndexChange$$: BehaviorSubject<number>;
|
|
17
17
|
stepsChange$$: BehaviorSubject<StepItem[]>;
|
|
18
18
|
selectedIndex: number;
|
|
19
|
+
private readonly destroy$$;
|
|
19
20
|
ngOnInit(): void;
|
|
20
21
|
private setCurrentIndex;
|
|
21
22
|
private getProgressCurrentIndex;
|
|
@@ -25,4 +26,5 @@ export declare class StepsComponent implements OnInit {
|
|
|
25
26
|
select(i: number, step: StepItem): void;
|
|
26
27
|
getActiveIndex(): number;
|
|
27
28
|
isLastActive(i: number, steps: StepItem[]): boolean;
|
|
29
|
+
ngOnDestroy(): void;
|
|
28
30
|
}
|