@yelon/bis 15.1.2 → 15.2.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.
Files changed (73) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +23 -23
  3. package/esm2020/bis.mjs +4 -4
  4. package/esm2020/index.mjs +1 -1
  5. package/esm2020/layout/bis.config.mjs +10 -10
  6. package/esm2020/layout/html-names.mjs +33 -0
  7. package/esm2020/layout/icon/style-icons.mjs +795 -795
  8. package/esm2020/layout/layout-basic/index.mjs +2 -2
  9. package/esm2020/layout/layout-basic/interface.mjs +6 -6
  10. package/esm2020/layout/layout-basic/layout-basic.component.mjs +356 -332
  11. package/esm2020/layout/layout-nav/index.mjs +4 -4
  12. package/esm2020/layout/layout-nav/layout-nav-application.component.mjs +327 -283
  13. package/esm2020/layout/layout-nav/layout-nav-group.component.mjs +124 -120
  14. package/esm2020/layout/layout-nav/layout-nav-tile.component.mjs +14 -14
  15. package/esm2020/layout/layout-nav/types.mjs +1 -1
  16. package/esm2020/layout/layout.mjs +4 -4
  17. package/esm2020/layout/public_api.mjs +13 -12
  18. package/esm2020/layout/widgets/index.mjs +6 -6
  19. package/esm2020/layout/widgets/yunzai-clear-storage.component.mjs +44 -44
  20. package/esm2020/layout/widgets/yunzai-fullscreen.component.mjs +44 -44
  21. package/esm2020/layout/widgets/yunzai-i18n.component.mjs +146 -142
  22. package/esm2020/layout/widgets/yunzai-notify.component.mjs +182 -182
  23. package/esm2020/layout/widgets/yunzai-theme-btn.component.mjs +201 -195
  24. package/esm2020/layout/widgets/yunzai-user.component.mjs +130 -116
  25. package/esm2020/layout/yunzai-act.guard.mjs +106 -106
  26. package/esm2020/layout/yunzai-auth.service.mjs +169 -167
  27. package/esm2020/layout/yunzai-default.interceptor.mjs +208 -208
  28. package/esm2020/layout/yunzai-i18n.service.mjs +130 -130
  29. package/esm2020/layout/yunzai-lang.mjs +113 -113
  30. package/esm2020/layout/yunzai-layout.module.mjs +75 -75
  31. package/esm2020/layout/yunzai-startup.service.mjs +156 -156
  32. package/esm2020/public_api.mjs +1 -1
  33. package/fesm2015/bis.mjs +6 -6
  34. package/fesm2015/layout.mjs +3232 -3101
  35. package/fesm2015/layout.mjs.map +1 -1
  36. package/fesm2020/bis.mjs +6 -6
  37. package/fesm2020/layout.mjs +3240 -3109
  38. package/fesm2020/layout.mjs.map +1 -1
  39. package/index.d.ts +1 -1
  40. package/index.less +1 -1
  41. package/layout/bis.config.d.ts +3 -3
  42. package/layout/html-names.d.ts +31 -0
  43. package/layout/icon/style-icons.d.ts +1 -1
  44. package/layout/index.d.ts +5 -5
  45. package/layout/layout-basic/index.d.ts +2 -2
  46. package/layout/layout-basic/interface.d.ts +24 -24
  47. package/layout/layout-basic/layout-basic.component.d.ts +32 -32
  48. package/layout/layout-nav/index.d.ts +4 -4
  49. package/layout/layout-nav/layout-nav-application.component.d.ts +27 -27
  50. package/layout/layout-nav/layout-nav-group.component.d.ts +17 -17
  51. package/layout/layout-nav/layout-nav-tile.component.d.ts +6 -6
  52. package/layout/layout-nav/types.d.ts +15 -15
  53. package/layout/public_api.d.ts +12 -11
  54. package/layout/style/index.less +154 -154
  55. package/layout/widgets/index.d.ts +6 -6
  56. package/layout/widgets/yunzai-clear-storage.component.d.ts +11 -11
  57. package/layout/widgets/yunzai-fullscreen.component.d.ts +8 -8
  58. package/layout/widgets/yunzai-i18n.component.d.ts +21 -21
  59. package/layout/widgets/yunzai-notify.component.d.ts +30 -30
  60. package/layout/widgets/yunzai-theme-btn.component.d.ts +32 -32
  61. package/layout/widgets/yunzai-user.component.d.ts +28 -28
  62. package/layout/yunzai-act.guard.d.ts +22 -22
  63. package/layout/yunzai-auth.service.d.ts +21 -21
  64. package/layout/yunzai-default.interceptor.d.ts +27 -27
  65. package/layout/yunzai-i18n.service.d.ts +33 -33
  66. package/layout/yunzai-lang.d.ts +11 -11
  67. package/layout/yunzai-layout.module.d.ts +21 -21
  68. package/layout/yunzai-startup.service.d.ts +37 -37
  69. package/package.json +47 -47
  70. package/public_api.d.ts +2 -2
  71. package/theme-compact.less +3 -3
  72. package/theme-dark.less +46 -46
  73. package/theme-default.less +46 -46
@@ -1,6 +1,6 @@
1
- export * from './yunzai-clear-storage.component';
2
- export * from './yunzai-fullscreen.component';
3
- export * from './yunzai-i18n.component';
4
- export * from './yunzai-notify.component';
5
- export * from './yunzai-theme-btn.component';
6
- export * from './yunzai-user.component';
1
+ export * from './yunzai-clear-storage.component';
2
+ export * from './yunzai-fullscreen.component';
3
+ export * from './yunzai-i18n.component';
4
+ export * from './yunzai-notify.component';
5
+ export * from './yunzai-theme-btn.component';
6
+ export * from './yunzai-user.component';
@@ -1,11 +1,11 @@
1
- import { NzMessageService } from 'ng-zorro-antd/message';
2
- import { NzModalService } from 'ng-zorro-antd/modal';
3
- import * as i0 from "@angular/core";
4
- export declare class YunzaiClearStorageComponent {
5
- private modalSrv;
6
- private messageSrv;
7
- constructor(modalSrv: NzModalService, messageSrv: NzMessageService);
8
- _click(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiClearStorageComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiClearStorageComponent, "yunzai-clearstorage", never, {}, {}, never, never, false, never>;
11
- }
1
+ import { NzMessageService } from 'ng-zorro-antd/message';
2
+ import { NzModalService } from 'ng-zorro-antd/modal';
3
+ import * as i0 from "@angular/core";
4
+ export declare class YunzaiClearStorageComponent {
5
+ private modalSrv;
6
+ private messageSrv;
7
+ constructor(modalSrv: NzModalService, messageSrv: NzMessageService);
8
+ _click(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiClearStorageComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiClearStorageComponent, "yunzai-clearstorage", never, {}, {}, never, never, false, never>;
11
+ }
@@ -1,8 +1,8 @@
1
- import * as i0 from "@angular/core";
2
- export declare class YunzaiFullScreenComponent {
3
- status: boolean;
4
- _resize(): void;
5
- _click(): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiFullScreenComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiFullScreenComponent, "yunzai-fullscreen", never, {}, {}, never, never, false, never>;
8
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class YunzaiFullScreenComponent {
3
+ status: boolean;
4
+ _resize(): void;
5
+ _click(): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiFullScreenComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiFullScreenComponent, "yunzai-fullscreen", never, {}, {}, never, never, false, never>;
8
+ }
@@ -1,21 +1,21 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { SettingsService, YunzaiI18NType } from '@yelon/theme';
3
- import { BooleanInput } from '@yelon/util/decorator';
4
- import { YunzaiI18NService } from '../yunzai-i18n.service';
5
- import * as i0 from "@angular/core";
6
- export declare class YunzaiI18NComponent implements OnDestroy {
7
- private settings;
8
- private i18n;
9
- private doc;
10
- static ngAcceptInputType_showLangText: BooleanInput;
11
- private destroy$;
12
- /** Whether to display language text */
13
- showLangText: boolean;
14
- langs: YunzaiI18NType[];
15
- get curLangCode(): string;
16
- constructor(settings: SettingsService, i18n: YunzaiI18NService, doc: any);
17
- change(lang: string): void;
18
- ngOnDestroy(): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiI18NComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiI18NComponent, "yunzai-i18n", never, { "showLangText": "showLangText"; }, {}, never, never, false, never>;
21
- }
1
+ import { OnDestroy } from '@angular/core';
2
+ import { SettingsService, YunzaiI18NType } from '@yelon/theme';
3
+ import { BooleanInput } from '@yelon/util/decorator';
4
+ import { YunzaiI18NService } from '../yunzai-i18n.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class YunzaiI18NComponent implements OnDestroy {
7
+ private settings;
8
+ private i18n;
9
+ private doc;
10
+ static ngAcceptInputType_showLangText: BooleanInput;
11
+ private destroy$;
12
+ /** Whether to display language text */
13
+ showLangText: boolean;
14
+ langs: YunzaiI18NType[];
15
+ get curLangCode(): string;
16
+ constructor(settings: SettingsService, i18n: YunzaiI18NService, doc: any);
17
+ change(lang: string): void;
18
+ ngOnDestroy(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiI18NComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiI18NComponent, "yunzai-i18n", never, { "showLangText": "showLangText"; }, {}, never, never, false, never>;
21
+ }
@@ -1,30 +1,30 @@
1
- import { ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { Observable, Subscription } from 'rxjs';
3
- import { NoticeIconSelect, NoticeItem } from '@yelon/abc/notice-icon';
4
- import { _HttpClient } from '@yelon/theme';
5
- import { NzI18nService } from 'ng-zorro-antd/i18n';
6
- import { NzMessageService } from 'ng-zorro-antd/message';
7
- import { YunzaiI18NService } from '../yunzai-i18n.service';
8
- import * as i0 from "@angular/core";
9
- export declare class YunzaiNotifyComponent implements OnInit, OnDestroy {
10
- private injector;
11
- private msg;
12
- private y18n;
13
- private nzI18n;
14
- private cdr;
15
- private httpClient;
16
- data: NoticeItem[];
17
- loading: boolean;
18
- count: number;
19
- subs: Subscription[];
20
- constructor(injector: Injector, msg: NzMessageService, y18n: YunzaiI18NService, nzI18n: NzI18nService, cdr: ChangeDetectorRef, httpClient: _HttpClient);
21
- ngOnInit(): void;
22
- loadData(): void;
23
- loadMessage(): Observable<void>;
24
- loadTodo(): Observable<void>;
25
- clear(type: string): void;
26
- select(res: NoticeIconSelect): void;
27
- ngOnDestroy(): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiNotifyComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiNotifyComponent, "yunzai-notify", never, {}, {}, never, never, false, never>;
30
- }
1
+ import { ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
2
+ import { Observable, Subscription } from 'rxjs';
3
+ import { NoticeIconSelect, NoticeItem } from '@yelon/abc/notice-icon';
4
+ import { _HttpClient } from '@yelon/theme';
5
+ import { NzI18nService } from 'ng-zorro-antd/i18n';
6
+ import { NzMessageService } from 'ng-zorro-antd/message';
7
+ import { YunzaiI18NService } from '../yunzai-i18n.service';
8
+ import * as i0 from "@angular/core";
9
+ export declare class YunzaiNotifyComponent implements OnInit, OnDestroy {
10
+ private injector;
11
+ private msg;
12
+ private y18n;
13
+ private nzI18n;
14
+ private cdr;
15
+ private httpClient;
16
+ data: NoticeItem[];
17
+ loading: boolean;
18
+ count: number;
19
+ subs: Subscription[];
20
+ constructor(injector: Injector, msg: NzMessageService, y18n: YunzaiI18NService, nzI18n: NzI18nService, cdr: ChangeDetectorRef, httpClient: _HttpClient);
21
+ ngOnInit(): void;
22
+ loadData(): void;
23
+ loadMessage(): Observable<void>;
24
+ loadTodo(): Observable<void>;
25
+ clear(type: string): void;
26
+ select(res: NoticeIconSelect): void;
27
+ ngOnDestroy(): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiNotifyComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiNotifyComponent, "yunzai-notify", never, {}, {}, never, never, false, never>;
30
+ }
@@ -1,32 +1,32 @@
1
- import { Direction, Directionality } from '@angular/cdk/bidi';
2
- import { Platform } from '@angular/cdk/platform';
3
- import { OnDestroy, OnInit, Renderer2 } from '@angular/core';
4
- import { ThemeBtnType } from '@yelon/theme/theme-btn';
5
- import { YunzaiConfigService } from '@yelon/util/config';
6
- import { NzSafeAny } from 'ng-zorro-antd/core/types';
7
- import * as i0 from "@angular/core";
8
- export interface YunzaiThemeBtnType extends ThemeBtnType {
9
- color?: string;
10
- }
11
- export declare class YunzaiThemBtnComponent implements OnInit, OnDestroy {
12
- private renderer;
13
- private configSrv;
14
- private platform;
15
- private doc;
16
- private directionality;
17
- private KEYS;
18
- private theme;
19
- types: YunzaiThemeBtnType[];
20
- devTips: string;
21
- deployUrl: string;
22
- private destroy$;
23
- dir: Direction;
24
- constructor(renderer: Renderer2, configSrv: YunzaiConfigService, platform: Platform, doc: NzSafeAny, directionality: Directionality, KEYS: string);
25
- ngOnInit(): void;
26
- private initTheme;
27
- private updateChartTheme;
28
- onThemeChange(theme: string): void;
29
- ngOnDestroy(): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiThemBtnComponent, [null, null, null, null, { optional: true; }, null]>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiThemBtnComponent, "yunzai-theme-btn", never, { "types": "types"; "devTips": "devTips"; "deployUrl": "deployUrl"; }, {}, never, never, false, never>;
32
- }
1
+ import { Direction, Directionality } from '@angular/cdk/bidi';
2
+ import { Platform } from '@angular/cdk/platform';
3
+ import { OnDestroy, OnInit, Renderer2 } from '@angular/core';
4
+ import { ThemeBtnType } from '@yelon/theme/theme-btn';
5
+ import { YunzaiConfigService } from '@yelon/util/config';
6
+ import { NzSafeAny } from 'ng-zorro-antd/core/types';
7
+ import * as i0 from "@angular/core";
8
+ export interface YunzaiThemeBtnType extends ThemeBtnType {
9
+ color?: string;
10
+ }
11
+ export declare class YunzaiThemBtnComponent implements OnInit, OnDestroy {
12
+ private renderer;
13
+ private configSrv;
14
+ private platform;
15
+ private doc;
16
+ private directionality;
17
+ private KEYS;
18
+ private theme;
19
+ types: YunzaiThemeBtnType[];
20
+ devTips: string;
21
+ deployUrl: string;
22
+ private destroy$;
23
+ dir: Direction;
24
+ constructor(renderer: Renderer2, configSrv: YunzaiConfigService, platform: Platform, doc: NzSafeAny, directionality: Directionality, KEYS: string);
25
+ ngOnInit(): void;
26
+ private initTheme;
27
+ private updateChartTheme;
28
+ onThemeChange(theme: string): void;
29
+ ngOnDestroy(): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiThemBtnComponent, [null, null, null, null, { optional: true; }, null]>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiThemBtnComponent, "yunzai-theme-btn", never, { "types": "types"; "devTips": "devTips"; "deployUrl": "deployUrl"; }, {}, never, never, false, never>;
32
+ }
@@ -1,28 +1,28 @@
1
- import { Injector, OnInit } from '@angular/core';
2
- import { ITokenService } from '@yelon/auth';
3
- import { CacheService } from '@yelon/cache';
4
- import { YunzaiConfigService } from '@yelon/util';
5
- import { NzMessageService } from 'ng-zorro-antd/message';
6
- import * as i0 from "@angular/core";
7
- export interface UserLink {
8
- icon: string;
9
- name: string;
10
- url: string;
11
- }
12
- export declare class YunzaiUserComponent implements OnInit {
13
- private injector;
14
- private msg;
15
- private tokenService;
16
- private configService;
17
- private cacheService;
18
- private config;
19
- constructor(injector: Injector, msg: NzMessageService, tokenService: ITokenService, configService: YunzaiConfigService, cacheService: CacheService);
20
- icon: string;
21
- username: string;
22
- menus: UserLink[];
23
- ngOnInit(): void;
24
- logout(): void;
25
- to(href: string): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiUserComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiUserComponent, "yunzai-user", never, {}, {}, never, never, false, never>;
28
- }
1
+ import { Injector, OnInit } from '@angular/core';
2
+ import { ITokenService } from '@yelon/auth';
3
+ import { CacheService } from '@yelon/cache';
4
+ import { YunzaiConfigService } from '@yelon/util';
5
+ import { NzMessageService } from 'ng-zorro-antd/message';
6
+ import * as i0 from "@angular/core";
7
+ export interface UserLink {
8
+ icon: string;
9
+ name: string;
10
+ url: string;
11
+ }
12
+ export declare class YunzaiUserComponent implements OnInit {
13
+ private injector;
14
+ private msg;
15
+ private tokenService;
16
+ private configService;
17
+ private cacheService;
18
+ private config;
19
+ constructor(injector: Injector, msg: NzMessageService, tokenService: ITokenService, configService: YunzaiConfigService, cacheService: CacheService);
20
+ icon: string;
21
+ username: string;
22
+ menus: UserLink[];
23
+ ngOnInit(): void;
24
+ logout(): void;
25
+ to(href: string): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiUserComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiUserComponent, "yunzai-user", never, {}, {}, never, never, false, never>;
28
+ }
@@ -1,22 +1,22 @@
1
- import { ActivatedRouteSnapshot, CanActivate, CanActivateChild, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
2
- import { Observable } from 'rxjs';
3
- import { CacheService } from '@yelon/cache';
4
- import { Menu } from '@yelon/theme';
5
- import { YunzaiConfigService, PathToRegexpService } from '@yelon/util';
6
- import * as i0 from "@angular/core";
7
- export declare class ActGuard implements CanActivate, CanActivateChild {
8
- private configService;
9
- private cacheService;
10
- private pathToRegexp;
11
- private router;
12
- private bis;
13
- private menus;
14
- private links;
15
- constructor(configService: YunzaiConfigService, cacheService: CacheService, pathToRegexp: PathToRegexpService, router: Router);
16
- canActivate(_: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
17
- canActivateChild(_: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
18
- preHandle(state: RouterStateSnapshot): boolean;
19
- getAllLinks(menu: Menu[], links: string[]): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<ActGuard, never>;
21
- static ɵprov: i0.ɵɵInjectableDeclaration<ActGuard>;
22
- }
1
+ import { ActivatedRouteSnapshot, CanActivate, CanActivateChild, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
2
+ import { Observable } from 'rxjs';
3
+ import { CacheService } from '@yelon/cache';
4
+ import { Menu } from '@yelon/theme';
5
+ import { YunzaiConfigService, PathToRegexpService } from '@yelon/util';
6
+ import * as i0 from "@angular/core";
7
+ export declare class ActGuard implements CanActivate, CanActivateChild {
8
+ private configService;
9
+ private cacheService;
10
+ private pathToRegexp;
11
+ private router;
12
+ private bis;
13
+ private menus;
14
+ private links;
15
+ constructor(configService: YunzaiConfigService, cacheService: CacheService, pathToRegexp: PathToRegexpService, router: Router);
16
+ canActivate(_: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
17
+ canActivateChild(_: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
18
+ preHandle(state: RouterStateSnapshot): boolean;
19
+ getAllLinks(menu: Menu[], links: string[]): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActGuard, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<ActGuard>;
22
+ }
@@ -1,21 +1,21 @@
1
- import { Injector } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { ITokenModel } from '@yelon/auth';
4
- import * as i0 from "@angular/core";
5
- declare class YunzaiAuthService {
6
- private injector;
7
- private config;
8
- constructor(injector: Injector);
9
- private get configService();
10
- private get tokenService();
11
- private get httpClient();
12
- private get cacheService();
13
- askToken(): Observable<ITokenModel>;
14
- fetchTokenByUP(): Observable<ITokenModel>;
15
- fetchTokenByCas(): Observable<ITokenModel>;
16
- login(): Observable<void>;
17
- cacheInit(): Observable<void[]>;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiAuthService, never>;
19
- static ɵprov: i0.ɵɵInjectableDeclaration<YunzaiAuthService>;
20
- }
21
- export { YunzaiAuthService as YzAuthService, YunzaiAuthService };
1
+ import { Injector } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import { ITokenModel } from '@yelon/auth';
4
+ import * as i0 from "@angular/core";
5
+ declare class YunzaiAuthService {
6
+ private injector;
7
+ private config;
8
+ constructor(injector: Injector);
9
+ private get configService();
10
+ private get tokenService();
11
+ private get httpClient();
12
+ private get cacheService();
13
+ askToken(): Observable<ITokenModel>;
14
+ fetchTokenByUP(): Observable<ITokenModel>;
15
+ fetchTokenByCas(): Observable<ITokenModel>;
16
+ login(): Observable<void>;
17
+ cacheInit(): Observable<void[]>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiAuthService, never>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<YunzaiAuthService>;
20
+ }
21
+ export { YunzaiAuthService as YzAuthService, YunzaiAuthService };
@@ -1,27 +1,27 @@
1
- import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
2
- import { Injector } from '@angular/core';
3
- import { Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- declare class YunzaiDefaultInterceptor implements HttpInterceptor {
6
- private injector;
7
- private jump;
8
- private refreshToking;
9
- private refreshToken$;
10
- private get notification();
11
- private get tokenSrv();
12
- private get http();
13
- private get config();
14
- private goTo;
15
- constructor(injector: Injector);
16
- private checkStatus;
17
- private ToLogin;
18
- private reAttachToken;
19
- private refreshTokenRequest;
20
- private tryRefreshToken;
21
- private getAdditionalHeaders;
22
- private handleData;
23
- intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiDefaultInterceptor, never>;
25
- static ɵprov: i0.ɵɵInjectableDeclaration<YunzaiDefaultInterceptor>;
26
- }
27
- export { YunzaiDefaultInterceptor as YzDefaultInterceptor, YunzaiDefaultInterceptor };
1
+ import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
2
+ import { Injector } from '@angular/core';
3
+ import { Observable } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ declare class YunzaiDefaultInterceptor implements HttpInterceptor {
6
+ private injector;
7
+ private jump;
8
+ private refreshToking;
9
+ private refreshToken$;
10
+ private get notification();
11
+ private get tokenSrv();
12
+ private get http();
13
+ private get config();
14
+ private goTo;
15
+ constructor(injector: Injector);
16
+ private checkStatus;
17
+ private ToLogin;
18
+ private reAttachToken;
19
+ private refreshTokenRequest;
20
+ private tryRefreshToken;
21
+ private getAdditionalHeaders;
22
+ private handleData;
23
+ intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiDefaultInterceptor, never>;
25
+ static ɵprov: i0.ɵɵInjectableDeclaration<YunzaiDefaultInterceptor>;
26
+ }
27
+ export { YunzaiDefaultInterceptor as YzDefaultInterceptor, YunzaiDefaultInterceptor };
@@ -1,33 +1,33 @@
1
- import { Platform } from '@angular/cdk/platform';
2
- import { OnDestroy } from '@angular/core';
3
- import { Observable } from 'rxjs';
4
- import { CacheService } from '@yelon/cache';
5
- import { YelonLocaleService, SettingsService, _HttpClient, YunzaiI18nBaseService, YunzaiI18NType } from '@yelon/theme';
6
- import { YunzaiConfigService } from '@yelon/util/config';
7
- import { NzSafeAny } from 'ng-zorro-antd/core/types';
8
- import { NzI18nService } from 'ng-zorro-antd/i18n';
9
- import * as i0 from "@angular/core";
10
- declare class YunzaiI18NService extends YunzaiI18nBaseService implements OnDestroy {
11
- private http;
12
- private settings;
13
- private nzI18nService;
14
- private yelonLocaleService;
15
- private platform;
16
- private cacheService;
17
- protected _defaultLang: string;
18
- private bis;
19
- private destroy$;
20
- constructor(http: _HttpClient, settings: SettingsService, nzI18nService: NzI18nService, yelonLocaleService: YelonLocaleService, platform: Platform, cogSrv: YunzaiConfigService, cacheService: CacheService);
21
- private getDefaultLang;
22
- loadLangData(lang: string): Observable<NzSafeAny>;
23
- use(lang: string, data: Record<string, unknown>): void;
24
- getLangs(): Observable<YunzaiI18NType[]>;
25
- cacheLang(lang: string, data: Record<string, unknown>): void;
26
- getLang(lang: string): Record<string, unknown>;
27
- cacheLangs(langs: YunzaiI18NType[]): void;
28
- getCachedLangs(): YunzaiI18NType[];
29
- ngOnDestroy(): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiI18NService, never>;
31
- static ɵprov: i0.ɵɵInjectableDeclaration<YunzaiI18NService>;
32
- }
33
- export { YunzaiI18NService as YzI18NService, YunzaiI18NService };
1
+ import { Platform } from '@angular/cdk/platform';
2
+ import { OnDestroy } from '@angular/core';
3
+ import { Observable } from 'rxjs';
4
+ import { CacheService } from '@yelon/cache';
5
+ import { YelonLocaleService, SettingsService, _HttpClient, YunzaiI18nBaseService, YunzaiI18NType } from '@yelon/theme';
6
+ import { YunzaiConfigService } from '@yelon/util/config';
7
+ import { NzSafeAny } from 'ng-zorro-antd/core/types';
8
+ import { NzI18nService } from 'ng-zorro-antd/i18n';
9
+ import * as i0 from "@angular/core";
10
+ declare class YunzaiI18NService extends YunzaiI18nBaseService implements OnDestroy {
11
+ private http;
12
+ private settings;
13
+ private nzI18nService;
14
+ private yelonLocaleService;
15
+ private platform;
16
+ private cacheService;
17
+ protected _defaultLang: string;
18
+ private bis;
19
+ private destroy$;
20
+ constructor(http: _HttpClient, settings: SettingsService, nzI18nService: NzI18nService, yelonLocaleService: YelonLocaleService, platform: Platform, cogSrv: YunzaiConfigService, cacheService: CacheService);
21
+ private getDefaultLang;
22
+ loadLangData(lang: string): Observable<NzSafeAny>;
23
+ use(lang: string, data: Record<string, unknown>): void;
24
+ getLangs(): Observable<YunzaiI18NType[]>;
25
+ cacheLang(lang: string, data: Record<string, unknown>): void;
26
+ getLang(lang: string): Record<string, unknown>;
27
+ cacheLangs(langs: YunzaiI18NType[]): void;
28
+ getCachedLangs(): YunzaiI18NType[];
29
+ ngOnDestroy(): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiI18NService, never>;
31
+ static ɵprov: i0.ɵɵInjectableDeclaration<YunzaiI18NService>;
32
+ }
33
+ export { YunzaiI18NService as YzI18NService, YunzaiI18NService };
@@ -1,11 +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
- };
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
+ };
@@ -1,21 +1,21 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./layout-basic/layout-basic.component";
3
- import * as i2 from "./widgets/yunzai-clear-storage.component";
4
- import * as i3 from "./widgets/yunzai-fullscreen.component";
5
- import * as i4 from "./widgets/yunzai-i18n.component";
6
- import * as i5 from "./widgets/yunzai-notify.component";
7
- import * as i6 from "./widgets/yunzai-theme-btn.component";
8
- import * as i7 from "./widgets/yunzai-user.component";
9
- import * as i8 from "./layout-nav/layout-nav-application.component";
10
- import * as i9 from "./layout-nav/layout-nav-group.component";
11
- import * as i10 from "./layout-nav/layout-nav-tile.component";
12
- import * as i11 from "@angular/common/http";
13
- import * as i12 from "@angular/common";
14
- import * as i13 from "@angular/forms";
15
- import * as i14 from "@angular/router";
16
- import * as i15 from "@yelon/bcs";
17
- export declare class YunzaiLayoutModule {
18
- static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiLayoutModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<YunzaiLayoutModule, [typeof i1.YunzaiLayoutBasicComponent, typeof i2.YunzaiClearStorageComponent, typeof i3.YunzaiFullScreenComponent, typeof i4.YunzaiI18NComponent, typeof i5.YunzaiNotifyComponent, typeof i6.YunzaiThemBtnComponent, typeof i7.YunzaiUserComponent, typeof i8.LayoutNavApplicationComponent, typeof i9.LayoutNavGroupComponent, typeof i10.LayoutNavTileComponent], [typeof i11.HttpClientModule, typeof i12.CommonModule, typeof i13.FormsModule, typeof i14.RouterModule, typeof i13.ReactiveFormsModule, typeof i15.YunzaiSharedYelonModule, typeof i15.YunzaiSharedZorroModule], [typeof i1.YunzaiLayoutBasicComponent, typeof i2.YunzaiClearStorageComponent, typeof i3.YunzaiFullScreenComponent, typeof i4.YunzaiI18NComponent, typeof i5.YunzaiNotifyComponent, typeof i6.YunzaiThemBtnComponent, typeof i7.YunzaiUserComponent, typeof i8.LayoutNavApplicationComponent, typeof i9.LayoutNavGroupComponent, typeof i10.LayoutNavTileComponent]>;
20
- static ɵinj: i0.ɵɵInjectorDeclaration<YunzaiLayoutModule>;
21
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./layout-basic/layout-basic.component";
3
+ import * as i2 from "./widgets/yunzai-clear-storage.component";
4
+ import * as i3 from "./widgets/yunzai-fullscreen.component";
5
+ import * as i4 from "./widgets/yunzai-i18n.component";
6
+ import * as i5 from "./widgets/yunzai-notify.component";
7
+ import * as i6 from "./widgets/yunzai-theme-btn.component";
8
+ import * as i7 from "./widgets/yunzai-user.component";
9
+ import * as i8 from "./layout-nav/layout-nav-application.component";
10
+ import * as i9 from "./layout-nav/layout-nav-group.component";
11
+ import * as i10 from "./layout-nav/layout-nav-tile.component";
12
+ import * as i11 from "@angular/common/http";
13
+ import * as i12 from "@angular/common";
14
+ import * as i13 from "@angular/forms";
15
+ import * as i14 from "@angular/router";
16
+ import * as i15 from "@yelon/bcs";
17
+ export declare class YunzaiLayoutModule {
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiLayoutModule, never>;
19
+ static ɵmod: i0.ɵɵNgModuleDeclaration<YunzaiLayoutModule, [typeof i1.YunzaiLayoutBasicComponent, typeof i2.YunzaiClearStorageComponent, typeof i3.YunzaiFullScreenComponent, typeof i4.YunzaiI18NComponent, typeof i5.YunzaiNotifyComponent, typeof i6.YunzaiThemBtnComponent, typeof i7.YunzaiUserComponent, typeof i8.LayoutNavApplicationComponent, typeof i9.LayoutNavGroupComponent, typeof i10.LayoutNavTileComponent], [typeof i11.HttpClientModule, typeof i12.CommonModule, typeof i13.FormsModule, typeof i14.RouterModule, typeof i13.ReactiveFormsModule, typeof i15.YunzaiSharedYelonModule, typeof i15.YunzaiSharedZorroModule], [typeof i1.YunzaiLayoutBasicComponent, typeof i2.YunzaiClearStorageComponent, typeof i3.YunzaiFullScreenComponent, typeof i4.YunzaiI18NComponent, typeof i5.YunzaiNotifyComponent, typeof i6.YunzaiThemBtnComponent, typeof i7.YunzaiUserComponent, typeof i8.LayoutNavApplicationComponent, typeof i9.LayoutNavGroupComponent, typeof i10.LayoutNavTileComponent]>;
20
+ static ɵinj: i0.ɵɵInjectorDeclaration<YunzaiLayoutModule>;
21
+ }