@yelon/bis 16.4.6 → 17.2.0

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 (30) hide show
  1. package/LICENSE +1 -1
  2. package/esm2022/layout/layout-basic/layout-basic.component.mjs +23 -24
  3. package/esm2022/layout/layout-nav/layout-nav-application.component.mjs +17 -18
  4. package/esm2022/layout/layout-nav/layout-nav-group.component.mjs +7 -8
  5. package/esm2022/layout/layout-nav/layout-nav-tile.component.mjs +5 -5
  6. package/esm2022/layout/widgets/yunzai-clear-storage.component.mjs +8 -9
  7. package/esm2022/layout/widgets/yunzai-fullscreen.component.mjs +7 -8
  8. package/esm2022/layout/widgets/yunzai-i18n.component.mjs +13 -19
  9. package/esm2022/layout/widgets/yunzai-notify.component.mjs +6 -6
  10. package/esm2022/layout/widgets/yunzai-theme-btn.component.mjs +13 -13
  11. package/esm2022/layout/widgets/yunzai-user.component.mjs +11 -12
  12. package/esm2022/layout/yunzai-act.guard.mjs +5 -5
  13. package/esm2022/layout/yunzai-analysis-addon.guard.mjs +6 -6
  14. package/esm2022/layout/yunzai-auth.service.mjs +5 -5
  15. package/esm2022/layout/yunzai-default.interceptor.mjs +5 -5
  16. package/esm2022/layout/yunzai-i18n.service.mjs +6 -6
  17. package/esm2022/layout/yunzai-lang.mjs +1 -1
  18. package/esm2022/layout/yunzai-layout.module.mjs +78 -37
  19. package/esm2022/layout/yunzai-startup.service.mjs +6 -6
  20. package/fesm2022/layout.mjs +187 -151
  21. package/fesm2022/layout.mjs.map +1 -1
  22. package/layout/layout-basic/layout-basic.component.d.ts +2 -1
  23. package/layout/layout-nav/layout-nav-application.component.d.ts +2 -1
  24. package/layout/widgets/yunzai-i18n.component.d.ts +2 -1
  25. package/layout/widgets/yunzai-theme-btn.component.d.ts +3 -3
  26. package/layout/yunzai-analysis-addon.guard.d.ts +2 -1
  27. package/layout/yunzai-default.interceptor.d.ts +2 -1
  28. package/layout/yunzai-lang.d.ts +5 -4
  29. package/layout/yunzai-layout.module.d.ts +22 -14
  30. package/package.json +12 -12
@@ -2,6 +2,7 @@ import { OnInit } from '@angular/core';
2
2
  import { StompService } from '@yelon/socket';
3
3
  import { LayoutDefaultOptions, LayoutDisplayService } from '@yelon/theme/layout-default';
4
4
  import { NavType, LayoutBasicAside } from '@yelon/util';
5
+ import { NzSafeAny } from 'ng-zorro-antd/core/types';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class YunzaiLayoutBasicComponent implements OnInit {
7
8
  private layoutDisplayService;
@@ -13,7 +14,7 @@ export declare class YunzaiLayoutBasicComponent implements OnInit {
13
14
  get navType(): NavType;
14
15
  get aside(): LayoutBasicAside;
15
16
  get displayReusetab(): boolean;
16
- get reusetabCSS(): any;
17
+ get reusetabCSS(): NzSafeAny;
17
18
  constructor(layoutDisplayService: LayoutDisplayService, stompService: StompService, win: typeof window);
18
19
  ngOnInit(): void;
19
20
  initFavicon(): void;
@@ -1,6 +1,7 @@
1
1
  import { Injector, OnDestroy, OnInit } from '@angular/core';
2
2
  import { _HttpClient } from '@yelon/theme';
3
3
  import { LayoutNavApplicationState, YunzaiConfigService, YunzaiNavTopic } from '@yelon/util';
4
+ import { NzSafeAny } from 'ng-zorro-antd/core/types';
4
5
  import { YunzaiI18NService } from '../yunzai-i18n.service';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class LayoutNavApplicationComponent implements OnInit, OnDestroy {
@@ -14,7 +15,7 @@ export declare class LayoutNavApplicationComponent implements OnInit, OnDestroy
14
15
  state: LayoutNavApplicationState;
15
16
  get showAllMenu(): boolean;
16
17
  get showMineMenu(): boolean;
17
- constructor(i18n: YunzaiI18NService, http: _HttpClient, inject: Injector, configService: YunzaiConfigService, win: any);
18
+ constructor(i18n: YunzaiI18NService, http: _HttpClient, inject: Injector, configService: YunzaiConfigService, win: NzSafeAny);
18
19
  ngOnInit(): void;
19
20
  fetchAllTopic(): void;
20
21
  attachNav(type: 'all' | 'mine' | 'other', topic?: YunzaiNavTopic): void;
@@ -1,6 +1,7 @@
1
1
  import { OnDestroy } from '@angular/core';
2
2
  import { SettingsService, YunzaiI18NType } from '@yelon/theme';
3
3
  import { BooleanInput } from '@yelon/util/decorator';
4
+ import { NzSafeAny } from 'ng-zorro-antd/core/types';
4
5
  import { YunzaiI18NService } from '../yunzai-i18n.service';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class YunzaiI18NComponent implements OnDestroy {
@@ -13,7 +14,7 @@ export declare class YunzaiI18NComponent implements OnDestroy {
13
14
  private $destroy;
14
15
  langs: YunzaiI18NType[];
15
16
  get curLangCode(): string;
16
- constructor(settings: SettingsService, i18n: YunzaiI18NService, doc: any);
17
+ constructor(settings: SettingsService, i18n: YunzaiI18NService, doc: NzSafeAny);
17
18
  change(lang: string): void;
18
19
  ngOnDestroy(): void;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiI18NComponent, never>;
@@ -8,7 +8,7 @@ import * as i0 from "@angular/core";
8
8
  export interface YunzaiThemeBtnType extends ThemeBtnType {
9
9
  color?: string;
10
10
  }
11
- export declare class YunzaiThemBtnComponent implements OnInit, OnDestroy {
11
+ export declare class YunzaiThemeBtnComponent implements OnInit, OnDestroy {
12
12
  private renderer;
13
13
  private configSrv;
14
14
  private platform;
@@ -27,6 +27,6 @@ export declare class YunzaiThemBtnComponent implements OnInit, OnDestroy {
27
27
  private updateChartTheme;
28
28
  onThemeChange(theme: string): void;
29
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": { "alias": "types"; "required": false; }; "devTips": { "alias": "devTips"; "required": false; }; "deployUrl": { "alias": "deployUrl"; "required": false; }; }, {}, never, never, false, never>;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiThemeBtnComponent, [null, null, null, null, { optional: true; }, null]>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiThemeBtnComponent, "yunzai-theme-btn", never, { "types": { "alias": "types"; "required": false; }; "devTips": { "alias": "devTips"; "required": false; }; "deployUrl": { "alias": "deployUrl"; "required": false; }; }, {}, never, never, false, never>;
32
32
  }
@@ -2,6 +2,7 @@ import { CanActivateChildFn, CanActivateFn } from '@angular/router';
2
2
  import { ITokenService } from '@yelon/auth';
3
3
  import { Menu } from '@yelon/theme';
4
4
  import { PathToRegexpService, YunzaiConfigService } from '@yelon/util';
5
+ import { NzSafeAny } from 'ng-zorro-antd/core/types';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class YunzaiAnalysisAddonGuardService {
7
8
  private configService;
@@ -12,7 +13,7 @@ export declare class YunzaiAnalysisAddonGuardService {
12
13
  private menus;
13
14
  private links;
14
15
  private value;
15
- constructor(configService: YunzaiConfigService, pathToRegexp: PathToRegexpService, win: any, tokenService: ITokenService);
16
+ constructor(configService: YunzaiConfigService, pathToRegexp: PathToRegexpService, win: NzSafeAny, tokenService: ITokenService);
16
17
  process(url: string): boolean;
17
18
  getAllLinks(menu: Menu[], links: Array<{
18
19
  title: string;
@@ -1,6 +1,7 @@
1
1
  import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
2
2
  import { Injector } from '@angular/core';
3
3
  import { Observable } from 'rxjs';
4
+ import { NzSafeAny } from 'ng-zorro-antd/core/types';
4
5
  import * as i0 from "@angular/core";
5
6
  declare class YunzaiDefaultInterceptor implements HttpInterceptor {
6
7
  private injector;
@@ -20,7 +21,7 @@ declare class YunzaiDefaultInterceptor implements HttpInterceptor {
20
21
  private tryRefreshToken;
21
22
  private getAdditionalHeaders;
22
23
  private handleData;
23
- intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
24
+ intercept(req: HttpRequest<NzSafeAny>, next: HttpHandler): Observable<HttpEvent<NzSafeAny>>;
24
25
  static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiDefaultInterceptor, never>;
25
26
  static ɵprov: i0.ɵɵInjectableDeclaration<YunzaiDefaultInterceptor>;
26
27
  }
@@ -1,10 +1,11 @@
1
+ import { NzSafeAny } from 'ng-zorro-antd/core/types';
1
2
  export interface LangConfigData {
2
3
  abbr: string;
3
4
  text: string;
4
- ng: any;
5
- zorro: any;
6
- date: any;
7
- yelon: any;
5
+ ng: NzSafeAny;
6
+ zorro: NzSafeAny;
7
+ date: NzSafeAny;
8
+ yelon: NzSafeAny;
8
9
  }
9
10
  export declare const YUNZAI_LANGS: {
10
11
  [key: string]: LangConfigData;
@@ -1,22 +1,30 @@
1
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";
2
+ import * as i1 from "./widgets/yunzai-clear-storage.component";
3
+ import * as i2 from "./widgets/yunzai-fullscreen.component";
4
+ import * as i3 from "./widgets/yunzai-i18n.component";
5
+ import * as i4 from "./widgets/yunzai-notify.component";
6
+ import * as i5 from "./widgets/yunzai-theme-btn.component";
7
+ import * as i6 from "./widgets/yunzai-user.component";
8
+ import * as i7 from "./layout-basic/layout-basic.component";
9
9
  import * as i8 from "./layout-nav/layout-nav-application.component";
10
10
  import * as i9 from "./layout-nav/layout-nav-group.component";
11
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/yunzai-shared-yelon";
17
- import * as i16 from "@yelon/bcs/yunzai-shared-zorro";
12
+ import * as i11 from "@angular/router";
13
+ import * as i12 from "@yelon/abc/reuse-tab";
14
+ import * as i13 from "@yelon/theme/layout-default";
15
+ import * as i14 from "@angular/common";
16
+ import * as i15 from "ng-zorro-antd/tabs";
17
+ import * as i16 from "ng-zorro-antd/tooltip";
18
+ import * as i17 from "ng-zorro-antd/dropdown";
19
+ import * as i18 from "ng-zorro-antd/avatar";
20
+ import * as i19 from "@yelon/abc/notice-icon";
21
+ import * as i20 from "@angular/forms";
22
+ import * as i21 from "ng-zorro-antd/grid";
23
+ import * as i22 from "@yelon/theme";
24
+ import * as i23 from "ng-zorro-antd/input";
25
+ import * as i24 from "ng-zorro-antd/icon";
18
26
  export declare class YunzaiLayoutModule {
19
27
  static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiLayoutModule, never>;
20
- 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 i16.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]>;
28
+ static ɵmod: i0.ɵɵNgModuleDeclaration<YunzaiLayoutModule, [typeof i1.YunzaiClearStorageComponent, typeof i2.YunzaiFullScreenComponent, typeof i3.YunzaiI18NComponent, typeof i4.YunzaiNotifyComponent, typeof i5.YunzaiThemeBtnComponent, typeof i6.YunzaiUserComponent, typeof i7.YunzaiLayoutBasicComponent, typeof i8.LayoutNavApplicationComponent, typeof i9.LayoutNavGroupComponent, typeof i10.LayoutNavTileComponent], [typeof i11.RouterModule, typeof i12.ReuseTabModule, typeof i13.LayoutDefaultModule, typeof i14.CommonModule, typeof i15.NzTabsModule, typeof i14.NgOptimizedImage, typeof i16.NzToolTipModule, typeof i17.NzDropDownModule, typeof i18.NzAvatarModule, typeof i19.NoticeIconModule, typeof i20.FormsModule, typeof i21.NzGridModule, typeof i22.YunzaiThemeModule, typeof i23.NzInputModule, typeof i24.NzIconModule], [typeof i1.YunzaiClearStorageComponent, typeof i2.YunzaiFullScreenComponent, typeof i3.YunzaiI18NComponent, typeof i4.YunzaiNotifyComponent, typeof i5.YunzaiThemeBtnComponent, typeof i6.YunzaiUserComponent, typeof i7.YunzaiLayoutBasicComponent, typeof i8.LayoutNavApplicationComponent, typeof i9.LayoutNavGroupComponent, typeof i10.LayoutNavTileComponent]>;
21
29
  static ɵinj: i0.ɵɵInjectorDeclaration<YunzaiLayoutModule>;
22
30
  }
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@yelon/bis",
3
- "version": "16.4.6",
3
+ "version": "17.2.0",
4
4
  "author": "devcui<devcui@outlook.com>",
5
5
  "license": "MIT",
6
6
  "dependencies": {
7
- "ng-zorro-antd": "^16.2.2",
8
- "@yelon/acl": "^16.4.6",
9
- "@yelon/auth": "^16.4.6",
10
- "@yelon/theme": "^16.4.6",
11
- "@yelon/mock": "^16.4.6",
12
- "@yelon/cache": "^16.4.6",
13
- "@yelon/chart": "^16.4.6",
14
- "@yelon/form": "^16.4.6",
15
- "@yelon/testing": "^16.4.6",
16
- "@yelon/util": "^16.4.6",
17
- "@yelon/bcs": "^16.4.6",
7
+ "ng-zorro-antd": "^17.2.0",
8
+ "@yelon/acl": "^17.2.0",
9
+ "@yelon/auth": "^17.2.0",
10
+ "@yelon/theme": "^17.2.0",
11
+ "@yelon/mock": "^17.2.0",
12
+ "@yelon/cache": "^17.2.0",
13
+ "@yelon/chart": "^17.2.0",
14
+ "@yelon/form": "^17.2.0",
15
+ "@yelon/testing": "^17.2.0",
16
+ "@yelon/util": "^17.2.0",
17
+ "@yelon/bcs": "^17.2.0",
18
18
  "tslib": "^2.3.0"
19
19
  },
20
20
  "module": "fesm2022/bis.mjs",