@yelon/bis 17.3.2 → 18.0.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 (70) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +1 -1
  3. package/config/bis.config.d.ts +3 -3
  4. package/config/index.d.ts +5 -5
  5. package/config/public_api.d.ts +1 -1
  6. package/esm2022/bis.mjs +4 -4
  7. package/esm2022/config/bis.config.mjs +14 -14
  8. package/esm2022/config/config.mjs +4 -4
  9. package/esm2022/config/public_api.mjs +1 -1
  10. package/esm2022/layout/layout-basic.component.mjs +518 -508
  11. package/esm2022/layout/layout-nav-application.component.mjs +372 -372
  12. package/esm2022/layout/layout-nav-group.component.mjs +166 -162
  13. package/esm2022/layout/layout-nav-tile.component.mjs +14 -14
  14. package/esm2022/layout/layout.mjs +4 -4
  15. package/esm2022/layout/layout.module.mjs +53 -53
  16. package/esm2022/layout/public_api.mjs +5 -5
  17. package/esm2022/public_api.mjs +8 -8
  18. package/esm2022/src/bis.module.mjs +16 -16
  19. package/esm2022/src/helper.mjs +44 -44
  20. package/esm2022/src/provide.mjs +7 -7
  21. package/esm2022/src/refresh-token.mjs +78 -78
  22. package/esm2022/src/startup.service.mjs +183 -183
  23. package/esm2022/src/yunzai-act.guard.mjs +87 -87
  24. package/esm2022/src/yunzai-analysis-addon.guard.mjs +98 -98
  25. package/esm2022/src/yunzai-default.interceptor.mjs +62 -62
  26. package/esm2022/yunzai-widgets/public_api.mjs +6 -6
  27. package/esm2022/yunzai-widgets/yunzai-clear-storage.component.mjs +46 -46
  28. package/esm2022/yunzai-widgets/yunzai-fullscreen.component.mjs +46 -46
  29. package/esm2022/yunzai-widgets/yunzai-i18n.component.mjs +138 -138
  30. package/esm2022/yunzai-widgets/yunzai-notify.component.mjs +179 -179
  31. package/esm2022/yunzai-widgets/yunzai-user.component.mjs +119 -119
  32. package/esm2022/yunzai-widgets/yunzai-widget.module.mjs +61 -61
  33. package/esm2022/yunzai-widgets/yunzai-widgets.mjs +4 -4
  34. package/fesm2022/bis.mjs +559 -559
  35. package/fesm2022/config.mjs +21 -21
  36. package/fesm2022/layout.mjs +1097 -1083
  37. package/fesm2022/layout.mjs.map +1 -1
  38. package/fesm2022/yunzai-widgets.mjs +563 -563
  39. package/index.d.ts +5 -5
  40. package/index.less +1 -1
  41. package/layout/index.d.ts +5 -5
  42. package/layout/layout-basic.component.d.ts +54 -54
  43. package/layout/layout-nav-application.component.d.ts +26 -26
  44. package/layout/layout-nav-group.component.d.ts +14 -14
  45. package/layout/layout-nav-tile.component.d.ts +5 -5
  46. package/layout/layout.module.d.ts +18 -18
  47. package/layout/public_api.d.ts +5 -5
  48. package/layout/style/index.less +181 -182
  49. package/package.json +68 -68
  50. package/public_api.d.ts +8 -8
  51. package/src/bis.module.d.ts +8 -8
  52. package/src/helper.d.ts +16 -16
  53. package/src/provide.d.ts +2 -2
  54. package/src/refresh-token.d.ts +6 -6
  55. package/src/startup.service.d.ts +24 -24
  56. package/src/yunzai-act.guard.d.ts +20 -20
  57. package/src/yunzai-analysis-addon.guard.d.ts +26 -26
  58. package/src/yunzai-default.interceptor.d.ts +2 -2
  59. package/theme-compact.less +3 -3
  60. package/theme-dark.less +46 -46
  61. package/theme-default.less +48 -48
  62. package/theme-variable.less +1 -0
  63. package/yunzai-widgets/index.d.ts +5 -5
  64. package/yunzai-widgets/public_api.d.ts +6 -6
  65. package/yunzai-widgets/yunzai-clear-storage.component.d.ts +8 -8
  66. package/yunzai-widgets/yunzai-fullscreen.component.d.ts +8 -8
  67. package/yunzai-widgets/yunzai-i18n.component.d.ts +19 -19
  68. package/yunzai-widgets/yunzai-notify.component.d.ts +25 -25
  69. package/yunzai-widgets/yunzai-user.component.d.ts +22 -22
  70. package/yunzai-widgets/yunzai-widget.module.d.ts +18 -18
@@ -1,8 +1,8 @@
1
- import * as i0 from "@angular/core";
2
- export declare class YunzaiHeaderFullScreenComponent {
3
- status: boolean;
4
- _resize(): void;
5
- _click(): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiHeaderFullScreenComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiHeaderFullScreenComponent, "yunzai-header-fullscreen", never, {}, {}, never, never, true, never>;
8
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class YunzaiHeaderFullScreenComponent {
3
+ status: boolean;
4
+ _resize(): void;
5
+ _click(): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiHeaderFullScreenComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiHeaderFullScreenComponent, "yunzai-header-fullscreen", never, {}, {}, never, never, true, never>;
8
+ }
@@ -1,19 +1,19 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { YunzaiI18NType } from '@yelon/theme';
3
- import * as i0 from "@angular/core";
4
- export declare class YunzaiHeaderI18nComponent implements OnInit, OnDestroy {
5
- private readonly settings;
6
- private readonly i18n;
7
- private readonly doc;
8
- langs: YunzaiI18NType[];
9
- private destroy$;
10
- /** Whether to display language text */
11
- showLangText: boolean;
12
- get curLangCode(): string;
13
- ngOnInit(): void;
14
- change(lang: string): void;
15
- ngOnDestroy(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiHeaderI18nComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiHeaderI18nComponent, "yunzai-header-i18n", never, { "showLangText": { "alias": "showLangText"; "required": false; }; }, {}, never, never, true, never>;
18
- static ngAcceptInputType_showLangText: unknown;
19
- }
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { YunzaiI18NType } from '@yelon/theme';
3
+ import * as i0 from "@angular/core";
4
+ export declare class YunzaiHeaderI18nComponent implements OnInit, OnDestroy {
5
+ private readonly settings;
6
+ private readonly i18n;
7
+ private readonly doc;
8
+ langs: YunzaiI18NType[];
9
+ private destroy$;
10
+ /** Whether to display language text */
11
+ showLangText: boolean;
12
+ get curLangCode(): string;
13
+ ngOnInit(): void;
14
+ change(lang: string): void;
15
+ ngOnDestroy(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiHeaderI18nComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiHeaderI18nComponent, "yunzai-header-i18n", never, { "showLangText": { "alias": "showLangText"; "required": false; }; }, {}, never, never, true, never>;
18
+ static ngAcceptInputType_showLangText: unknown;
19
+ }
@@ -1,25 +1,25 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { Observable, Subscription } from 'rxjs';
3
- import { NoticeIconSelect, NoticeItem } from '@yelon/abc/notice-icon';
4
- import * as i0 from "@angular/core";
5
- export declare class YunzaiHeaderNotifyComponent implements OnInit, OnDestroy {
6
- private readonly i18n;
7
- private readonly msg;
8
- private readonly nzI18n;
9
- private readonly cdr;
10
- private readonly http;
11
- private readonly win;
12
- loading: boolean;
13
- count: number;
14
- subs: Subscription[];
15
- data: NoticeItem[];
16
- ngOnInit(): void;
17
- loadData(): void;
18
- loadMessage(): Observable<void>;
19
- loadTodo(): Observable<void>;
20
- clear(type: string): void;
21
- select(res: NoticeIconSelect): void;
22
- ngOnDestroy(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiHeaderNotifyComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiHeaderNotifyComponent, "yunzai-header-notify", never, {}, {}, never, never, true, never>;
25
- }
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { Observable, Subscription } from 'rxjs';
3
+ import { NoticeIconSelect, NoticeItem } from '@yelon/abc/notice-icon';
4
+ import * as i0 from "@angular/core";
5
+ export declare class YunzaiHeaderNotifyComponent implements OnInit, OnDestroy {
6
+ private readonly i18n;
7
+ private readonly msg;
8
+ private readonly nzI18n;
9
+ private readonly cdr;
10
+ private readonly http;
11
+ private readonly win;
12
+ loading: boolean;
13
+ count: number;
14
+ subs: Subscription[];
15
+ data: NoticeItem[];
16
+ ngOnInit(): void;
17
+ loadData(): void;
18
+ loadMessage(): Observable<void>;
19
+ loadTodo(): Observable<void>;
20
+ clear(type: string): void;
21
+ select(res: NoticeIconSelect): void;
22
+ ngOnDestroy(): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiHeaderNotifyComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiHeaderNotifyComponent, "yunzai-header-notify", never, {}, {}, never, never, true, never>;
25
+ }
@@ -1,22 +1,22 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export interface UserLink {
4
- icon: string;
5
- name: string;
6
- url: string;
7
- }
8
- export declare class YunzaiHeaderUserComponent implements OnInit {
9
- private readonly msg;
10
- private readonly tokenService;
11
- private readonly configService;
12
- private readonly config;
13
- private readonly win;
14
- icon: string;
15
- username: string;
16
- menus: UserLink[];
17
- ngOnInit(): void;
18
- logout(): void;
19
- to(href: string): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiHeaderUserComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiHeaderUserComponent, "yunzai-header-user", never, {}, {}, never, never, true, never>;
22
- }
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export interface UserLink {
4
+ icon: string;
5
+ name: string;
6
+ url: string;
7
+ }
8
+ export declare class YunzaiHeaderUserComponent implements OnInit {
9
+ private readonly msg;
10
+ private readonly tokenService;
11
+ private readonly configService;
12
+ private readonly config;
13
+ private readonly win;
14
+ icon: string;
15
+ username: string;
16
+ menus: UserLink[];
17
+ ngOnInit(): void;
18
+ logout(): void;
19
+ to(href: string): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiHeaderUserComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiHeaderUserComponent, "yunzai-header-user", never, {}, {}, never, never, true, never>;
22
+ }
@@ -1,18 +1,18 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "ng-zorro-antd/avatar";
3
- import * as i2 from "@angular/router";
4
- import * as i3 from "@yelon/abc/notice-icon";
5
- import * as i4 from "ng-zorro-antd/dropdown";
6
- import * as i5 from "@angular/common";
7
- import * as i6 from "ng-zorro-antd/icon";
8
- import * as i7 from "@yelon/theme";
9
- import * as i8 from "./yunzai-clear-storage.component";
10
- import * as i9 from "./yunzai-fullscreen.component";
11
- import * as i10 from "./yunzai-notify.component";
12
- import * as i11 from "./yunzai-i18n.component";
13
- import * as i12 from "./yunzai-user.component";
14
- export declare class YunzaiWidgetsModule {
15
- static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiWidgetsModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<YunzaiWidgetsModule, never, [typeof i1.NzAvatarModule, typeof i2.RouterModule, typeof i3.NoticeIconModule, typeof i4.NzDropDownModule, typeof i5.CommonModule, typeof i6.NzIconModule, typeof i7.I18nPipe, typeof i8.YunzaiHeaderClearStorageComponent, typeof i9.YunzaiHeaderFullScreenComponent, typeof i10.YunzaiHeaderNotifyComponent, typeof i11.YunzaiHeaderI18nComponent, typeof i12.YunzaiHeaderUserComponent], [typeof i8.YunzaiHeaderClearStorageComponent, typeof i9.YunzaiHeaderFullScreenComponent, typeof i10.YunzaiHeaderNotifyComponent, typeof i11.YunzaiHeaderI18nComponent, typeof i12.YunzaiHeaderUserComponent]>;
17
- static ɵinj: i0.ɵɵInjectorDeclaration<YunzaiWidgetsModule>;
18
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "ng-zorro-antd/avatar";
3
+ import * as i2 from "@angular/router";
4
+ import * as i3 from "@yelon/abc/notice-icon";
5
+ import * as i4 from "ng-zorro-antd/dropdown";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "ng-zorro-antd/icon";
8
+ import * as i7 from "@yelon/theme";
9
+ import * as i8 from "./yunzai-clear-storage.component";
10
+ import * as i9 from "./yunzai-fullscreen.component";
11
+ import * as i10 from "./yunzai-notify.component";
12
+ import * as i11 from "./yunzai-i18n.component";
13
+ import * as i12 from "./yunzai-user.component";
14
+ export declare class YunzaiWidgetsModule {
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiWidgetsModule, never>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<YunzaiWidgetsModule, never, [typeof i1.NzAvatarModule, typeof i2.RouterModule, typeof i3.NoticeIconModule, typeof i4.NzDropDownModule, typeof i5.CommonModule, typeof i6.NzIconModule, typeof i7.I18nPipe, typeof i8.YunzaiHeaderClearStorageComponent, typeof i9.YunzaiHeaderFullScreenComponent, typeof i10.YunzaiHeaderNotifyComponent, typeof i11.YunzaiHeaderI18nComponent, typeof i12.YunzaiHeaderUserComponent], [typeof i8.YunzaiHeaderClearStorageComponent, typeof i9.YunzaiHeaderFullScreenComponent, typeof i10.YunzaiHeaderNotifyComponent, typeof i11.YunzaiHeaderI18nComponent, typeof i12.YunzaiHeaderUserComponent]>;
17
+ static ɵinj: i0.ɵɵInjectorDeclaration<YunzaiWidgetsModule>;
18
+ }