wt-front-shared 19.0.26 → 19.0.28
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/fesm2022/wt-front-shared.mjs +51 -26
- package/fesm2022/wt-front-shared.mjs.map +1 -1
- package/lib/core/+state/cache-data/cache-data.actions.d.ts +1 -0
- package/lib/core/+state/cache-data/cache-data.facade.d.ts +2 -2
- package/lib/core/+state/cache-data/cache-data.selectors.d.ts +1 -1
- package/lib/core/+state/static-data/static-data.actions.d.ts +1 -0
- package/lib/core/+state/static-data/static-data.facade.d.ts +2 -2
- package/lib/core/+state/static-data/static-data.selectors.d.ts +1 -1
- package/lib/core/+state/users/users.effects.d.ts +4 -4
- package/lib/core/components/static-data/components/static-data-list-items/static-data-list-items.component.d.ts +2 -1
- package/lib/core/components/static-data/containers/static-data-list/static-data-list.component.d.ts +1 -0
- package/lib/models/endpoints/cache-data/get-cache-data/request/get-cache-data-request-config.d.ts +1 -0
- package/lib/models/endpoints/static-data/static-data-get-list-categories/request/static-data-get-list-categories-request-config.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6,8 +6,8 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class CacheDataFacade {
|
|
7
7
|
private store;
|
|
8
8
|
constructor(store: Store<CacheDataState>);
|
|
9
|
-
getCacheData$(type: string): Observable<CacheDataModel>;
|
|
10
|
-
loadCacheData(type: string, revision?: string): void;
|
|
9
|
+
getCacheData$(type: string, langId?: number): Observable<CacheDataModel>;
|
|
10
|
+
loadCacheData(type: string, revision?: string, langId?: number): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<CacheDataFacade, never>;
|
|
12
12
|
static ɵprov: i0.ɵɵInjectableDeclaration<CacheDataFacade>;
|
|
13
13
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { CacheDataState } from './cache-data.reducer';
|
|
2
2
|
export declare const cacheDataQuery: {
|
|
3
|
-
getCacheData: (type: string) => import("@ngrx/store").MemoizedSelector<object, any, (s1: CacheDataState) => any>;
|
|
3
|
+
getCacheData: (type: string, langId?: number) => import("@ngrx/store").MemoizedSelector<object, any, (s1: CacheDataState) => any>;
|
|
4
4
|
};
|
|
@@ -252,6 +252,7 @@ export declare const StaticDataGetListFail: import("@ngrx/store").ActionCreator<
|
|
|
252
252
|
export interface StaticDataGetListCategoriesPayload {
|
|
253
253
|
contentTypes: string[];
|
|
254
254
|
revisions?: string[];
|
|
255
|
+
languageId?: number;
|
|
255
256
|
}
|
|
256
257
|
export declare const StaticDataGetListCategories: import("@ngrx/store").ActionCreator<"[StaticData] StaticData Get List Categories", (props: {
|
|
257
258
|
payload: StaticDataGetListCategoriesPayload;
|
|
@@ -25,7 +25,7 @@ export declare class StaticDataFacade {
|
|
|
25
25
|
getOrLoadStaticData$(contentType: string, subSection?: string, options?: any, where?: {
|
|
26
26
|
[key: string]: number | string | number[] | string[];
|
|
27
27
|
}, loadParams?: any): Observable<StaticDataModel[]>;
|
|
28
|
-
getStaticDataForListContentTypes$(contentTypes: string[]): Observable<{
|
|
28
|
+
getStaticDataForListContentTypes$(contentTypes: string[], langId?: number): Observable<{
|
|
29
29
|
[key: string]: StaticDataModel[];
|
|
30
30
|
}>;
|
|
31
31
|
getStaticDataItem$(contentType: string, subSection: string, itemIdOrSlug: number | string, langId?: number): Observable<StaticDataModel>;
|
|
@@ -51,7 +51,7 @@ export declare class StaticDataFacade {
|
|
|
51
51
|
[key: string]: string | number;
|
|
52
52
|
}): void;
|
|
53
53
|
patchUpdate(formId: string, contentType: string, itemId: number, data: StaticDataModel, publicApi?: boolean): void;
|
|
54
|
-
staticDataLoadCategories(contentTypes: string[]): void;
|
|
54
|
+
staticDataLoadCategories(contentTypes: string[], languageId?: number): void;
|
|
55
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<StaticDataFacade, never>;
|
|
56
56
|
static ɵprov: i0.ɵɵInjectableDeclaration<StaticDataFacade>;
|
|
57
57
|
}
|
|
@@ -9,7 +9,7 @@ export declare const staticDataQuery: {
|
|
|
9
9
|
}) => import("@ngrx/store").MemoizedSelector<object, StaticDataModel[], (s1: StaticDataModel[], s2: boolean) => StaticDataModel[]>;
|
|
10
10
|
getStaticDataItem: (contentType: string, subSection: string, itemIdOrSlug: number | string, langId?: number) => import("@ngrx/store").MemoizedSelector<object, StaticDataModel, (s1: StaticDataState) => StaticDataModel>;
|
|
11
11
|
getStaticDataMeta: (contentType: string, subSection: string) => import("@ngrx/store").MemoizedSelector<object, import("./static-data.reducer").StaticDataMeta, (s1: StaticDataState) => import("./static-data.reducer").StaticDataMeta>;
|
|
12
|
-
getStaticDataForListContentTypes: (contentTypes: string[]) => import("@ngrx/store").MemoizedSelector<object, {}, (s1: StaticDataState) => {}>;
|
|
12
|
+
getStaticDataForListContentTypes: (contentTypes: string[], langId?: number) => import("@ngrx/store").MemoizedSelector<object, {}, (s1: StaticDataState) => {}>;
|
|
13
13
|
getStaticDataRevision: (contentType: string) => import("@ngrx/store").MemoizedSelector<object, any, (s1: StaticDataState) => any>;
|
|
14
14
|
getStaticDataRevisions: () => import("@ngrx/store").MemoizedSelector<object, any[], (s1: StaticDataState) => any[]>;
|
|
15
15
|
getStaticDataRevisionsList: (contentTypes: string[]) => import("@ngrx/store").MemoizedSelector<object, any, (s1: StaticDataState) => any>;
|
|
@@ -22,19 +22,19 @@ export declare class UsersEffects {
|
|
|
22
22
|
protected notificationsFacade: NotificationsFacade;
|
|
23
23
|
GlobalEvent$: import("rxjs").Observable<HttpClientResult<BaseResponse>> & import("@ngrx/effects").CreateEffectMetadata;
|
|
24
24
|
GlobalEvent2$: import("rxjs").Observable<HttpClientResult<BaseResponse>> & import("@ngrx/effects").CreateEffectMetadata;
|
|
25
|
-
loginSend$: import("rxjs").Observable<({
|
|
25
|
+
loginSend$: import("rxjs").Observable<import("@ngrx/store").Action<string> | ({
|
|
26
26
|
payload: {
|
|
27
27
|
error: any;
|
|
28
28
|
};
|
|
29
|
-
} & import("@ngrx/store").Action<"[Users] Auth Send Error">)
|
|
29
|
+
} & import("@ngrx/store").Action<"[Users] Auth Send Error">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
30
30
|
loginSendSuccess$: import("rxjs").Observable<{
|
|
31
31
|
payload: UsersAction.LoginSendSuccessPayload;
|
|
32
32
|
} & import("@ngrx/store").Action<"[Users] Auth Send Success">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
33
|
-
refreshToken$: import("rxjs").Observable<({
|
|
33
|
+
refreshToken$: import("rxjs").Observable<import("@ngrx/store").Action<string> | ({
|
|
34
34
|
payload: {
|
|
35
35
|
error: any;
|
|
36
36
|
};
|
|
37
|
-
} & import("@ngrx/store").Action<"[Users] Refresh Token Error">)
|
|
37
|
+
} & import("@ngrx/store").Action<"[Users] Refresh Token Error">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
38
38
|
refreshTokenSuccess$: import("rxjs").Observable<[{
|
|
39
39
|
payload: UsersAction.RefreshTokenSuccessPayment;
|
|
40
40
|
} & import("@ngrx/store").Action<"[Users] Refresh Token Success 2">, import("wt-front-shared").UsersState]> & import("@ngrx/effects").CreateEffectMetadata;
|
|
@@ -37,6 +37,7 @@ export declare class StaticDataListItemsComponent implements OnInit, OnDestroy,
|
|
|
37
37
|
};
|
|
38
38
|
subEntity: SubEntity;
|
|
39
39
|
leftBlockFilterParamData: any;
|
|
40
|
+
defaultLanguageId: number;
|
|
40
41
|
paginator: MatPaginator;
|
|
41
42
|
sort: MatSort;
|
|
42
43
|
searchInput: ElementRef;
|
|
@@ -109,5 +110,5 @@ export declare class StaticDataListItemsComponent implements OnInit, OnDestroy,
|
|
|
109
110
|
deleteEvent(item: StaticDataModel): void;
|
|
110
111
|
changePage(data: any): void;
|
|
111
112
|
static ɵfac: i0.ɵɵFactoryDeclaration<StaticDataListItemsComponent, never>;
|
|
112
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StaticDataListItemsComponent, "app-static-data-list-items", never, { "staticDataConfiguration": { "alias": "staticDataConfiguration"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; "customTitle": { "alias": "customTitle"; "required": false; }; "addTitle": { "alias": "addTitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "parentSection": { "alias": "parentSection"; "required": false; }; "parentItemId": { "alias": "parentItemId"; "required": false; }; "showPanelHeader": { "alias": "showPanelHeader"; "required": false; }; "parentData": { "alias": "parentData"; "required": false; }; "parentSectionHashtag": { "alias": "parentSectionHashtag"; "required": false; }; "autoCompleteFields": { "alias": "autoCompleteFields"; "required": false; }; "filteringQuery": { "alias": "filteringQuery"; "required": false; }; "subEntity": { "alias": "subEntity"; "required": false; }; "leftBlockFilterParamData": { "alias": "leftBlockFilterParamData"; "required": false; }; }, {}, never, never, true, never>;
|
|
113
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StaticDataListItemsComponent, "app-static-data-list-items", never, { "staticDataConfiguration": { "alias": "staticDataConfiguration"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; "customTitle": { "alias": "customTitle"; "required": false; }; "addTitle": { "alias": "addTitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "parentSection": { "alias": "parentSection"; "required": false; }; "parentItemId": { "alias": "parentItemId"; "required": false; }; "showPanelHeader": { "alias": "showPanelHeader"; "required": false; }; "parentData": { "alias": "parentData"; "required": false; }; "parentSectionHashtag": { "alias": "parentSectionHashtag"; "required": false; }; "autoCompleteFields": { "alias": "autoCompleteFields"; "required": false; }; "filteringQuery": { "alias": "filteringQuery"; "required": false; }; "subEntity": { "alias": "subEntity"; "required": false; }; "leftBlockFilterParamData": { "alias": "leftBlockFilterParamData"; "required": false; }; "defaultLanguageId": { "alias": "defaultLanguageId"; "required": false; }; }, {}, never, never, true, never>;
|
|
113
114
|
}
|
package/lib/core/components/static-data/containers/static-data-list/static-data-list.component.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export declare class StaticDataListComponent implements OnInit, OnDestroy {
|
|
|
16
16
|
filteringData: FilteringData;
|
|
17
17
|
private destroy$;
|
|
18
18
|
filterData: any;
|
|
19
|
+
defaultLanguageId: number;
|
|
19
20
|
constructor(activatedRoute: ActivatedRoute, matIconReg: MatIconRegistry);
|
|
20
21
|
ngOnInit(): Promise<void>;
|
|
21
22
|
ngOnDestroy(): void;
|