@elderbyte/ngx-starter 12.13.0 → 12.13.1
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/bundles/elderbyte-ngx-starter.umd.js +67 -9
- package/bundles/elderbyte-ngx-starter.umd.js.map +1 -1
- package/elderbyte-ngx-starter.d.ts +7 -6
- package/elderbyte-ngx-starter.metadata.json +1 -1
- package/esm2015/elderbyte-ngx-starter.js +8 -7
- package/esm2015/lib/common/data/data-context/data-context-base.js +4 -1
- package/esm2015/lib/common/data/data-context/data-context.js +1 -1
- package/esm2015/lib/components/data-view/common/data-context-state-indicator/data-context-state-indicator.component.js +45 -0
- package/esm2015/lib/components/data-view/common/elder-data-common.module.js +6 -3
- package/esm2015/lib/components/data-view/table/elder-table/elder-table.component.js +2 -2
- package/fesm2015/elderbyte-ngx-starter.js +52 -4
- package/fesm2015/elderbyte-ngx-starter.js.map +1 -1
- package/lib/common/data/data-context/data-context-base.d.ts +1 -0
- package/lib/common/data/data-context/data-context.d.ts +4 -0
- package/lib/components/data-view/common/data-context-state-indicator/data-context-state-indicator.component.d.ts +29 -0
- package/package.json +1 -1
- package/src/lib/components/data-view/common/data-context-state-indicator/data-context-state-indicator.component.scss +0 -0
|
@@ -61,6 +61,7 @@ export declare abstract class DataContextBase<T> extends DataSource<T> implement
|
|
|
61
61
|
get statusSnapshot(): DataContextStatus;
|
|
62
62
|
get isEmpty(): boolean;
|
|
63
63
|
get isStarted(): boolean;
|
|
64
|
+
get isStarted$(): Observable<boolean>;
|
|
64
65
|
get isClosed(): boolean;
|
|
65
66
|
protected get started(): boolean;
|
|
66
67
|
protected set started(started: boolean);
|
|
@@ -44,6 +44,10 @@ export interface IDataContext<T> {
|
|
|
44
44
|
* Indicates if the context has been started.
|
|
45
45
|
*/
|
|
46
46
|
readonly isStarted: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Indicates if the context has been started.
|
|
49
|
+
*/
|
|
50
|
+
readonly isStarted$: Observable<boolean>;
|
|
47
51
|
/**
|
|
48
52
|
* Indicates if the context has been closed.
|
|
49
53
|
* Depending on the implementation, restarting might not be possible.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { IDataContext } from '../../../../common/data/data-context/data-context';
|
|
4
|
+
export declare class DataContextStateIndicatorComponent implements OnInit {
|
|
5
|
+
/***************************************************************************
|
|
6
|
+
* *
|
|
7
|
+
* Fields *
|
|
8
|
+
* *
|
|
9
|
+
**************************************************************************/
|
|
10
|
+
readonly dataContext$: BehaviorSubject<IDataContext<any>>;
|
|
11
|
+
/***************************************************************************
|
|
12
|
+
* *
|
|
13
|
+
* Constructor *
|
|
14
|
+
* *
|
|
15
|
+
**************************************************************************/
|
|
16
|
+
constructor();
|
|
17
|
+
/***************************************************************************
|
|
18
|
+
* *
|
|
19
|
+
* Life Cycle *
|
|
20
|
+
* *
|
|
21
|
+
**************************************************************************/
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
/***************************************************************************
|
|
24
|
+
* *
|
|
25
|
+
* Properties *
|
|
26
|
+
* *
|
|
27
|
+
**************************************************************************/
|
|
28
|
+
set dataContext(dataContext: IDataContext<any>);
|
|
29
|
+
}
|
package/package.json
CHANGED