@yelon/bis 15.0.0-beta.6 → 15.1.0-29196db0
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/layout/layout-basic/layout-basic.component.mjs +18 -12
- package/esm2020/layout/layout-nav/layout-nav-application.component.mjs +13 -13
- package/esm2020/layout/layout-nav/types.mjs +1 -1
- package/esm2020/layout/widgets/yunzai-clear-storage.component.mjs +3 -3
- package/esm2020/layout/widgets/yunzai-fullscreen.component.mjs +3 -3
- package/esm2020/layout/widgets/yunzai-i18n.component.mjs +3 -3
- package/esm2020/layout/widgets/yunzai-notify.component.mjs +7 -7
- package/esm2020/layout/widgets/yunzai-user.component.mjs +3 -3
- package/esm2020/layout/yunzai-i18n.service.mjs +28 -40
- package/esm2020/layout/yunzai-lang.mjs +123 -0
- package/fesm2015/layout.mjs +187 -75
- package/fesm2015/layout.mjs.map +1 -1
- package/fesm2020/layout.mjs +187 -75
- package/fesm2020/layout.mjs.map +1 -1
- package/layout/yunzai-i18n.service.d.ts +4 -1
- package/layout/yunzai-lang.d.ts +11 -0
- package/package.json +11 -11
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Platform } from '@angular/cdk/platform';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import { CacheService } from '@yelon/cache';
|
|
3
4
|
import { YelonLocaleService, SettingsService, _HttpClient, YunzaiI18nBaseService } from '@yelon/theme';
|
|
4
5
|
import { YunzaiConfigService } from '@yelon/util/config';
|
|
5
6
|
import { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
@@ -11,9 +12,11 @@ declare class YunzaiI18NService extends YunzaiI18nBaseService {
|
|
|
11
12
|
private nzI18nService;
|
|
12
13
|
private yelonLocaleService;
|
|
13
14
|
private platform;
|
|
15
|
+
private cacheService;
|
|
14
16
|
protected _defaultLang: string;
|
|
17
|
+
private bisConf;
|
|
15
18
|
private _langs;
|
|
16
|
-
constructor(http: _HttpClient, settings: SettingsService, nzI18nService: NzI18nService, yelonLocaleService: YelonLocaleService, platform: Platform, cogSrv: YunzaiConfigService);
|
|
19
|
+
constructor(http: _HttpClient, settings: SettingsService, nzI18nService: NzI18nService, yelonLocaleService: YelonLocaleService, platform: Platform, cogSrv: YunzaiConfigService, cacheService: CacheService);
|
|
17
20
|
private getDefaultLang;
|
|
18
21
|
loadLangData(lang: string): Observable<NzSafeAny>;
|
|
19
22
|
use(lang: string, data: Record<string, unknown>): void;
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yelon/bis",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.1.0-29196db0",
|
|
4
4
|
"author": "devcui<devcui@outlook.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"ng-zorro-antd": "^15.0.3",
|
|
8
|
-
"@yelon/acl": "^15.
|
|
9
|
-
"@yelon/auth": "^15.
|
|
10
|
-
"@yelon/theme": "^15.
|
|
11
|
-
"@yelon/mock": "^15.
|
|
12
|
-
"@yelon/cache": "^15.
|
|
13
|
-
"@yelon/chart": "^15.
|
|
14
|
-
"@yelon/form": "^15.
|
|
15
|
-
"@yelon/testing": "^15.
|
|
16
|
-
"@yelon/util": "^15.
|
|
17
|
-
"@yelon/bcs": "^15.
|
|
8
|
+
"@yelon/acl": "^15.1.0-29196db0",
|
|
9
|
+
"@yelon/auth": "^15.1.0-29196db0",
|
|
10
|
+
"@yelon/theme": "^15.1.0-29196db0",
|
|
11
|
+
"@yelon/mock": "^15.1.0-29196db0",
|
|
12
|
+
"@yelon/cache": "^15.1.0-29196db0",
|
|
13
|
+
"@yelon/chart": "^15.1.0-29196db0",
|
|
14
|
+
"@yelon/form": "^15.1.0-29196db0",
|
|
15
|
+
"@yelon/testing": "^15.1.0-29196db0",
|
|
16
|
+
"@yelon/util": "^15.1.0-29196db0",
|
|
17
|
+
"@yelon/bcs": "^15.1.0-29196db0",
|
|
18
18
|
"tslib": "^2.3.0"
|
|
19
19
|
},
|
|
20
20
|
"module": "fesm2015/bis.mjs",
|