@abp/ng.core 5.1.2 → 5.2.0-rc.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/esm2020/lib/services/localization.service.mjs +7 -1
- package/esm2020/lib/services/rest.service.mjs +7 -5
- package/fesm2015/abp-ng.core.mjs +12 -4
- package/fesm2015/abp-ng.core.mjs.map +1 -1
- package/fesm2020/abp-ng.core.mjs +12 -4
- package/fesm2020/abp-ng.core.mjs.map +1 -1
- package/lib/services/localization.service.d.ts +4 -0
- package/package.json +2 -2
|
@@ -15,8 +15,12 @@ export declare class LocalizationService {
|
|
|
15
15
|
private localizations$;
|
|
16
16
|
/**
|
|
17
17
|
* Returns currently selected language
|
|
18
|
+
* Even though this looks like it's redundant to return the same value as `getLanguage()`,
|
|
19
|
+
* it's actually not. This could be invoked any time, and the latestLang could be different from the
|
|
20
|
+
* sessionState.getLanguage() value.
|
|
18
21
|
*/
|
|
19
22
|
get currentLang(): string;
|
|
23
|
+
get currentLang$(): Observable<string>;
|
|
20
24
|
get languageChange$(): Observable<string>;
|
|
21
25
|
constructor(sessionState: SessionStateService, injector: Injector, otherInstance: LocalizationService, configState: ConfigStateService);
|
|
22
26
|
private initLocalizationValues;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abp/ng.core",
|
|
3
|
-
"version": "5.1
|
|
3
|
+
"version": "5.2.0-rc.1",
|
|
4
4
|
"homepage": "https://abp.io",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/abpframework/abp.git"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@abp/utils": "~5.1
|
|
10
|
+
"@abp/utils": "~5.2.0-rc.1",
|
|
11
11
|
"angular-oauth2-oidc": "^13.0.1",
|
|
12
12
|
"just-clone": "^3.2.1",
|
|
13
13
|
"just-compare": "^1.4.0",
|