@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.
@@ -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;
@@ -0,0 +1,11 @@
1
+ export interface LangConfigData {
2
+ abbr: string;
3
+ text: string;
4
+ ng: any;
5
+ zorro: any;
6
+ date: any;
7
+ yelon: any;
8
+ }
9
+ export declare const YUNZAI_LANGS: {
10
+ [key: string]: LangConfigData;
11
+ };
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@yelon/bis",
3
- "version": "15.0.0-beta.6",
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.0.0-beta.6",
9
- "@yelon/auth": "^15.0.0-beta.6",
10
- "@yelon/theme": "^15.0.0-beta.6",
11
- "@yelon/mock": "^15.0.0-beta.6",
12
- "@yelon/cache": "^15.0.0-beta.6",
13
- "@yelon/chart": "^15.0.0-beta.6",
14
- "@yelon/form": "^15.0.0-beta.6",
15
- "@yelon/testing": "^15.0.0-beta.6",
16
- "@yelon/util": "^15.0.0-beta.6",
17
- "@yelon/bcs": "^15.0.0-beta.6",
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",