monkey-front-core 0.0.619 → 0.0.621
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/esm2020/lib/core/interfaces/monkeyecx-store.mjs +1 -1
- package/esm2020/lib/core/services/store/monkeyecx-store-base.service.mjs +31 -7
- package/fesm2015/monkey-front-core.mjs +31 -7
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +30 -7
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/interfaces/monkeyecx-store.d.ts +2 -0
- package/lib/core/services/store/monkeyecx-store-base.service.d.ts +3 -1
- package/monkey-front-core-0.0.621.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.619.tgz +0 -0
|
@@ -12,6 +12,7 @@ export interface MonkeyEcxCollectionStore extends MonkeyEcxConfigStore {
|
|
|
12
12
|
updatePage: Action;
|
|
13
13
|
updateAll: Action;
|
|
14
14
|
clear: Action;
|
|
15
|
+
load?: Action;
|
|
15
16
|
};
|
|
16
17
|
selectors: {
|
|
17
18
|
linksHasDifference?: Function;
|
|
@@ -37,6 +38,7 @@ export interface MonkeyEcxStoreControl {
|
|
|
37
38
|
export interface MonkeyEcxStoreLoadParams {
|
|
38
39
|
force?: boolean;
|
|
39
40
|
identifier: string;
|
|
41
|
+
skipClear?: boolean;
|
|
40
42
|
url: string;
|
|
41
43
|
}
|
|
42
44
|
export interface MonkeyEcxStoreLoadPageParams {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
2
3
|
import { MonkeyEcxConfigStore, MonkeyEcxControlStore, MonkeyEcxLinks, MonkeyEcxPage, MonkeyEcxPagination } from '../../interfaces';
|
|
3
4
|
import { MonkeyEcxCommonsService } from '../commons';
|
|
4
5
|
import { MonkeyEcxService } from '../monkeyecx-service.service';
|
|
@@ -26,7 +27,8 @@ export declare abstract class MonkeyEcxCommonsStoreBaseService<T, K extends Monk
|
|
|
26
27
|
protected updatePage?(data: MonkeyEcxPage): void;
|
|
27
28
|
protected updateLinks?(data: MonkeyEcxLinks): void;
|
|
28
29
|
protected loadData(url: string, updateLinks?: boolean): Promise<void>;
|
|
29
|
-
protected
|
|
30
|
+
protected loadDataStream(url: string): Observable<any>;
|
|
31
|
+
protected loadPageData(pagination: MonkeyEcxPagination, dispatchLoadAction?: boolean): Promise<void>;
|
|
30
32
|
/**
|
|
31
33
|
* @description Neste método precisamos incluir a lógica para conferir se precisa limpar a
|
|
32
34
|
* entidade ou não
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|