wt-front-shared 1.0.58 → 1.0.59
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/+state/static-data/behavios/static-data-get-list-behavior.mjs +4 -3
- package/esm2020/lib/core/+state/static-data/behavios/static-data-get-list-categories-behavior.mjs +4 -4
- package/esm2020/lib/core/+state/static-data/static-data.actions.mjs +1 -1
- package/esm2020/lib/core/+state/static-data/static-data.reducer.mjs +13 -8
- package/fesm2015/wt-front-shared.mjs +9 -3
- package/fesm2015/wt-front-shared.mjs.map +1 -1
- package/fesm2020/wt-front-shared.mjs +14 -8
- package/fesm2020/wt-front-shared.mjs.map +1 -1
- package/lib/core/+state/static-data/behavios/static-data-get-list-categories-behavior.d.ts +3 -3
- package/lib/core/+state/static-data/static-data.actions.d.ts +2 -0
- package/lib/core/+state/static-data/static-data.reducer.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Action } from '@ngrx/store';
|
|
2
|
-
import { Behavior } from
|
|
3
|
-
import { HttpClientResult } from
|
|
4
|
-
import { BaseResponse } from
|
|
2
|
+
import { Behavior } from '../../behavior';
|
|
3
|
+
import { HttpClientResult } from '../../../models/http-client-result';
|
|
4
|
+
import { BaseResponse } from '../../../../models';
|
|
5
5
|
export declare class StaticDataGetListCategoriesBehavior extends Behavior {
|
|
6
6
|
protected action: Action;
|
|
7
7
|
protected result: HttpClientResult<BaseResponse>;
|
|
@@ -170,6 +170,7 @@ export interface StaticDataGetListPayload {
|
|
|
170
170
|
sort?: string;
|
|
171
171
|
forPanel?: boolean;
|
|
172
172
|
search?: string;
|
|
173
|
+
keepState?: boolean;
|
|
173
174
|
}
|
|
174
175
|
export declare const StaticDataGetList: import("@ngrx/store").ActionCreator<"[StaticData] StaticData Load", (props: {
|
|
175
176
|
payload: StaticDataGetListPayload;
|
|
@@ -179,6 +180,7 @@ export declare const StaticDataGetList: import("@ngrx/store").ActionCreator<"[St
|
|
|
179
180
|
export interface StaticDataGetListSuccessPayload {
|
|
180
181
|
data: StaticDataModel[];
|
|
181
182
|
meta: MetaModel;
|
|
183
|
+
keepState?: boolean;
|
|
182
184
|
}
|
|
183
185
|
export declare const StaticDataGetListSuccess: import("@ngrx/store").ActionCreator<"[StaticData] StaticData Load Success", (props: {
|
|
184
186
|
payload: StaticDataGetListSuccessPayload;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StaticDataModel } from
|
|
1
|
+
import { StaticDataModel } from '../../../models/models/static-data';
|
|
2
2
|
export declare const STATIC_DATA_FEATURE_KEY = "staticData";
|
|
3
3
|
export declare enum StaticDataMetaStatus {
|
|
4
4
|
LOADING = "loading",
|