@yelon/bis 15.2.0 → 15.2.2

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 +32 -32
  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 +355 -355
  11. package/esm2020/layout/layout-nav/index.mjs +4 -4
  12. package/esm2020/layout/layout-nav/layout-nav-application.component.mjs +326 -326
  13. package/esm2020/layout/layout-nav/layout-nav-group.component.mjs +123 -123
  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 +12 -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 +145 -145
  22. package/esm2020/layout/widgets/yunzai-notify.component.mjs +182 -182
  23. package/esm2020/layout/widgets/yunzai-theme-btn.component.mjs +200 -200
  24. package/esm2020/layout/widgets/yunzai-user.component.mjs +129 -129
  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 -3230
  35. package/fesm2015/layout.mjs.map +1 -1
  36. package/fesm2020/bis.mjs +6 -6
  37. package/fesm2020/layout.mjs +3240 -3238
  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 -31
  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 -12
  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
package/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from './public_api';
1
+ export * from './public_api';
package/index.less CHANGED
@@ -1 +1 @@
1
- @import './layout/style/index.less';
1
+ @import './layout/style/index.less';
@@ -1,3 +1,3 @@
1
- import { YunzaiBusinessConfig, YunzaiConfigService } from '@yelon/util';
2
- export declare const BUSINESS_DEFAULT_CONFIG: YunzaiBusinessConfig;
3
- export declare function mergeBisConfig(srv: YunzaiConfigService): YunzaiBusinessConfig;
1
+ import { YunzaiBusinessConfig, YunzaiConfigService } from '@yelon/util';
2
+ export declare const BUSINESS_DEFAULT_CONFIG: YunzaiBusinessConfig;
3
+ export declare function mergeBisConfig(srv: YunzaiConfigService): YunzaiBusinessConfig;
@@ -1,31 +1,31 @@
1
- export declare const HTML_NAMES_MAPPING: {
2
- _route_icon: string;
3
- _route_link: string;
4
- _route_toggle: string;
5
- _route_group: string;
6
- _route_user: string;
7
- _route_backhome: string;
8
- _nav_search: string;
9
- _nav_topic: string;
10
- _nav_item: string;
11
- _nav_notify: string;
12
- _nav_msg: string;
13
- _nav_todo: string;
14
- _nav_notice: string;
15
- _nav_clear_msg: string;
16
- _nav_clear_todo: string;
17
- _nav_clear_notice: string;
18
- _nav_theme: string;
19
- _nav_settings: string;
20
- _nav_user: string;
21
- _nav_lang: string;
22
- _nav_logo: string;
23
- _nav_toggle: string;
24
- _nav_app: string;
25
- _reusetab: string;
26
- _reusetab_refresh: string;
27
- _reusetab_close: string;
28
- _reusetab_closeOther: string;
29
- _reusetab_closeRight: string;
30
- _reusetab_custom: string;
31
- };
1
+ export declare const HTML_NAMES_MAPPING: {
2
+ _route_icon: string;
3
+ _route_link: string;
4
+ _route_toggle: string;
5
+ _route_group: string;
6
+ _route_user: string;
7
+ _route_backhome: string;
8
+ _nav_search: string;
9
+ _nav_topic: string;
10
+ _nav_item: string;
11
+ _nav_notify: string;
12
+ _nav_msg: string;
13
+ _nav_todo: string;
14
+ _nav_notice: string;
15
+ _nav_clear_msg: string;
16
+ _nav_clear_todo: string;
17
+ _nav_clear_notice: string;
18
+ _nav_theme: string;
19
+ _nav_settings: string;
20
+ _nav_user: string;
21
+ _nav_lang: string;
22
+ _nav_logo: string;
23
+ _nav_toggle: string;
24
+ _nav_app: string;
25
+ _reusetab: string;
26
+ _reusetab_refresh: string;
27
+ _reusetab_close: string;
28
+ _reusetab_closeOther: string;
29
+ _reusetab_closeRight: string;
30
+ _reusetab_custom: string;
31
+ };
@@ -1 +1 @@
1
- export declare const ICONS: import("@ant-design/icons-angular").IconDefinition[];
1
+ export declare const ICONS: import("@ant-design/icons-angular").IconDefinition[];
package/layout/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@yelon/bis/layout" />
5
- export * from './public_api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@yelon/bis/layout" />
5
+ export * from './public_api';
@@ -1,2 +1,2 @@
1
- export * from './interface';
2
- export * from './layout-basic.component';
1
+ export * from './interface';
2
+ export * from './layout-basic.component';
@@ -1,24 +1,24 @@
1
- import { Subject } from 'rxjs';
2
- import { LayoutDefaultOptions } from '@yelon/theme/layout-default';
3
- export declare enum NavType {
4
- APPLICATION = "application",
5
- GROUP = "group",
6
- TILE = "tile"
7
- }
8
- export interface LayoutBasicAside {
9
- name: string;
10
- intro: string;
11
- icon: string;
12
- }
13
- export interface LayoutBasicDisplay {
14
- nav: boolean;
15
- reusetab: boolean;
16
- aside: boolean;
17
- }
18
- export interface LayoutBasicState {
19
- options: LayoutDefaultOptions;
20
- aside: LayoutBasicAside;
21
- display: LayoutBasicDisplay;
22
- navType: NavType;
23
- destroy$: Subject<unknown>;
24
- }
1
+ import { Subject } from 'rxjs';
2
+ import { LayoutDefaultOptions } from '@yelon/theme/layout-default';
3
+ export declare enum NavType {
4
+ APPLICATION = "application",
5
+ GROUP = "group",
6
+ TILE = "tile"
7
+ }
8
+ export interface LayoutBasicAside {
9
+ name: string;
10
+ intro: string;
11
+ icon: string;
12
+ }
13
+ export interface LayoutBasicDisplay {
14
+ nav: boolean;
15
+ reusetab: boolean;
16
+ aside: boolean;
17
+ }
18
+ export interface LayoutBasicState {
19
+ options: LayoutDefaultOptions;
20
+ aside: LayoutBasicAside;
21
+ display: LayoutBasicDisplay;
22
+ navType: NavType;
23
+ destroy$: Subject<unknown>;
24
+ }
@@ -1,32 +1,32 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { CacheService } from '@yelon/cache';
3
- import { StompService } from '@yelon/socket';
4
- import { LayoutDefaultOptions, LayoutDisplayService } from '@yelon/theme/layout-default';
5
- import { LayoutBasicAside, NavType } from './interface';
6
- import * as i0 from "@angular/core";
7
- declare class YunzaiLayoutBasicComponent implements OnInit, OnDestroy {
8
- private layoutDisplayService;
9
- private cacheService;
10
- private stompService;
11
- private win;
12
- NavType: typeof NavType;
13
- private state;
14
- get options(): LayoutDefaultOptions;
15
- get navType(): NavType;
16
- get aside(): LayoutBasicAside;
17
- get displayReusetab(): boolean;
18
- get reusetabCSS(): any;
19
- constructor(layoutDisplayService: LayoutDisplayService, cacheService: CacheService, stompService: StompService, win: typeof window);
20
- ngOnInit(): void;
21
- initFavicon(): void;
22
- initAside(): void;
23
- initLogo(): void;
24
- initNavType(): void;
25
- toIndex(): void;
26
- onNavTypeChange(type: NavType): void;
27
- addLayoutDisplayListener(): void;
28
- ngOnDestroy(): void;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiLayoutBasicComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiLayoutBasicComponent, "yz-layout-basic", never, {}, {}, never, never, false, never>;
31
- }
32
- export { YunzaiLayoutBasicComponent as YzLayoutBasicComponent, YunzaiLayoutBasicComponent };
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { CacheService } from '@yelon/cache';
3
+ import { StompService } from '@yelon/socket';
4
+ import { LayoutDefaultOptions, LayoutDisplayService } from '@yelon/theme/layout-default';
5
+ import { LayoutBasicAside, NavType } from './interface';
6
+ import * as i0 from "@angular/core";
7
+ declare class YunzaiLayoutBasicComponent implements OnInit, OnDestroy {
8
+ private layoutDisplayService;
9
+ private cacheService;
10
+ private stompService;
11
+ private win;
12
+ NavType: typeof NavType;
13
+ private state;
14
+ get options(): LayoutDefaultOptions;
15
+ get navType(): NavType;
16
+ get aside(): LayoutBasicAside;
17
+ get displayReusetab(): boolean;
18
+ get reusetabCSS(): any;
19
+ constructor(layoutDisplayService: LayoutDisplayService, cacheService: CacheService, stompService: StompService, win: typeof window);
20
+ ngOnInit(): void;
21
+ initFavicon(): void;
22
+ initAside(): void;
23
+ initLogo(): void;
24
+ initNavType(): void;
25
+ toIndex(): void;
26
+ onNavTypeChange(type: NavType): void;
27
+ addLayoutDisplayListener(): void;
28
+ ngOnDestroy(): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiLayoutBasicComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiLayoutBasicComponent, "yz-layout-basic", never, {}, {}, never, never, false, never>;
31
+ }
32
+ export { YunzaiLayoutBasicComponent as YzLayoutBasicComponent, YunzaiLayoutBasicComponent };
@@ -1,4 +1,4 @@
1
- export * from './layout-nav-application.component';
2
- export * from './layout-nav-group.component';
3
- export * from './layout-nav-tile.component';
4
- export * from './types';
1
+ export * from './layout-nav-application.component';
2
+ export * from './layout-nav-group.component';
3
+ export * from './layout-nav-tile.component';
4
+ export * from './types';
@@ -1,27 +1,27 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { CacheService, YunzaiNavTopic } from '@yelon/cache';
3
- import { _HttpClient } from '@yelon/theme';
4
- import { YunzaiI18NService } from '../yunzai-i18n.service';
5
- import { LayoutNavApplicationState } from './types';
6
- import * as i0 from "@angular/core";
7
- export declare class LayoutNavApplicationComponent implements OnInit, OnDestroy {
8
- private cacheService;
9
- private i18n;
10
- private http;
11
- private inject;
12
- state: LayoutNavApplicationState;
13
- constructor(cacheService: CacheService, i18n: YunzaiI18NService, http: _HttpClient, inject: Injector);
14
- ngOnInit(): void;
15
- fetchAllTopic(): void;
16
- attachNav(type: 'all' | 'mine' | 'other', topic?: YunzaiNavTopic): void;
17
- clearSearch(): void;
18
- displayAllNav(): void;
19
- displayMineNav(): void;
20
- displayOtherNav(topic: YunzaiNavTopic): void;
21
- diffChange(flag?: boolean): void;
22
- open(topic: YunzaiNavTopic): void;
23
- onSearch(): void;
24
- ngOnDestroy(): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavApplicationComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavApplicationComponent, "layout-nav-application", never, {}, {}, never, never, false, never>;
27
- }
1
+ import { Injector, OnDestroy, OnInit } from '@angular/core';
2
+ import { CacheService, YunzaiNavTopic } from '@yelon/cache';
3
+ import { _HttpClient } from '@yelon/theme';
4
+ import { YunzaiI18NService } from '../yunzai-i18n.service';
5
+ import { LayoutNavApplicationState } from './types';
6
+ import * as i0 from "@angular/core";
7
+ export declare class LayoutNavApplicationComponent implements OnInit, OnDestroy {
8
+ private cacheService;
9
+ private i18n;
10
+ private http;
11
+ private inject;
12
+ state: LayoutNavApplicationState;
13
+ constructor(cacheService: CacheService, i18n: YunzaiI18NService, http: _HttpClient, inject: Injector);
14
+ ngOnInit(): void;
15
+ fetchAllTopic(): void;
16
+ attachNav(type: 'all' | 'mine' | 'other', topic?: YunzaiNavTopic): void;
17
+ clearSearch(): void;
18
+ displayAllNav(): void;
19
+ displayMineNav(): void;
20
+ displayOtherNav(topic: YunzaiNavTopic): void;
21
+ diffChange(flag?: boolean): void;
22
+ open(topic: YunzaiNavTopic): void;
23
+ onSearch(): void;
24
+ ngOnDestroy(): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavApplicationComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavApplicationComponent, "layout-nav-application", never, {}, {}, never, never, false, never>;
27
+ }
@@ -1,17 +1,17 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { CacheService, YunzaiNavTopic } from '@yelon/cache';
3
- import { _HttpClient } from '@yelon/theme';
4
- import { LayoutNavGroupState } from './types';
5
- import * as i0 from "@angular/core";
6
- export declare class LayoutNavGroupComponent implements OnInit, OnDestroy {
7
- private inject;
8
- private cacheService;
9
- private http;
10
- state: LayoutNavGroupState;
11
- constructor(inject: Injector, cacheService: CacheService, http: _HttpClient);
12
- ngOnInit(): void;
13
- open(topic: YunzaiNavTopic): void;
14
- ngOnDestroy(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavGroupComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavGroupComponent, "layout-nav-group", never, {}, {}, never, never, false, never>;
17
- }
1
+ import { Injector, OnDestroy, OnInit } from '@angular/core';
2
+ import { CacheService, YunzaiNavTopic } from '@yelon/cache';
3
+ import { _HttpClient } from '@yelon/theme';
4
+ import { LayoutNavGroupState } from './types';
5
+ import * as i0 from "@angular/core";
6
+ export declare class LayoutNavGroupComponent implements OnInit, OnDestroy {
7
+ private inject;
8
+ private cacheService;
9
+ private http;
10
+ state: LayoutNavGroupState;
11
+ constructor(inject: Injector, cacheService: CacheService, http: _HttpClient);
12
+ ngOnInit(): void;
13
+ open(topic: YunzaiNavTopic): void;
14
+ ngOnDestroy(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavGroupComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavGroupComponent, "layout-nav-group", never, {}, {}, never, never, false, never>;
17
+ }
@@ -1,6 +1,6 @@
1
- import * as i0 from "@angular/core";
2
- export declare class LayoutNavTileComponent {
3
- constructor();
4
- static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavTileComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavTileComponent, "layout-nav-tile", never, {}, {}, never, never, false, never>;
6
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class LayoutNavTileComponent {
3
+ constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavTileComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavTileComponent, "layout-nav-tile", never, {}, {}, never, never, false, never>;
6
+ }
@@ -1,15 +1,15 @@
1
- import { Subject } from 'rxjs';
2
- import { YunzaiNavTopic } from '@yelon/cache';
3
- export interface LayoutNavApplicationState {
4
- active: boolean;
5
- type: 'all' | 'mine' | 'other';
6
- topic?: YunzaiNavTopic;
7
- topics: YunzaiNavTopic[];
8
- list: YunzaiNavTopic[];
9
- search: string | null;
10
- destroy$: Subject<any>;
11
- }
12
- export interface LayoutNavGroupState {
13
- topics: YunzaiNavTopic[];
14
- destroy$: Subject<any>;
15
- }
1
+ import { Subject } from 'rxjs';
2
+ import { YunzaiNavTopic } from '@yelon/cache';
3
+ export interface LayoutNavApplicationState {
4
+ active: boolean;
5
+ type: 'all' | 'mine' | 'other';
6
+ topic?: YunzaiNavTopic;
7
+ topics: YunzaiNavTopic[];
8
+ list: YunzaiNavTopic[];
9
+ search: string | null;
10
+ destroy$: Subject<any>;
11
+ }
12
+ export interface LayoutNavGroupState {
13
+ topics: YunzaiNavTopic[];
14
+ destroy$: Subject<any>;
15
+ }
@@ -1,12 +1,12 @@
1
- export * from './layout-basic';
2
- export * from './layout-nav';
3
- export * from './widgets';
4
- export * from './bis.config';
5
- export * from './yunzai-act.guard';
6
- export * from './yunzai-auth.service';
7
- export * from './yunzai-default.interceptor';
8
- export * from './yunzai-i18n.service';
9
- export * from './yunzai-lang';
10
- export * from './yunzai-layout.module';
11
- export * from './yunzai-startup.service';
12
- export * from './html-names';
1
+ export * from './layout-basic';
2
+ export * from './layout-nav';
3
+ export * from './widgets';
4
+ export * from './bis.config';
5
+ export * from './yunzai-act.guard';
6
+ export * from './yunzai-auth.service';
7
+ export * from './yunzai-default.interceptor';
8
+ export * from './yunzai-i18n.service';
9
+ export * from './yunzai-lang';
10
+ export * from './yunzai-layout.module';
11
+ export * from './yunzai-startup.service';
12
+ export * from './html-names';