1 | import { OnInit, OnChanges, OnDestroy } from '@angular/core';
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | export interface ApiStatus {
|
8 | loading?: boolean;
|
9 | loaded?: boolean;
|
10 | loadError?: any;
|
11 | modifying?: boolean;
|
12 | modified?: boolean;
|
13 | modifyError?: any;
|
14 | }
|
15 | export declare class ApiStateComponent implements OnInit, OnChanges, OnDestroy {
|
16 |
|
17 | state: ApiStatus;
|
18 |
|
19 | toaster: boolean;
|
20 |
|
21 | showSuccess: boolean;
|
22 |
|
23 | initialLoadComplete: boolean;
|
24 |
|
25 | successVisible: boolean;
|
26 | constructor();
|
27 | ngOnInit(): void;
|
28 | ngOnChanges(): void;
|
29 | /**
|
30 | * Close the alert and clear success state
|
31 | */
|
32 | closeSuccess(): void;
|
33 | ngOnDestroy(): void;
|
34 | }
|