@yelon/bis 12.0.17 → 13.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 (110) hide show
  1. package/LICENSE +21 -21
  2. package/bis.d.ts +5 -4
  3. package/{esm2015/bis.js → esm2020/bis.mjs} +4 -4
  4. package/esm2020/layout/act.guard.mjs +108 -0
  5. package/{esm2015/layout/bis.config.js → esm2020/layout/bis.config.mjs} +10 -10
  6. package/esm2020/layout/contact/contact.component.mjs +492 -0
  7. package/esm2020/layout/contact/contact.service.mjs +146 -0
  8. package/esm2020/layout/layout.mjs +5 -0
  9. package/esm2020/layout/layout.module.mjs +73 -0
  10. package/{esm2015/layout/path-to-regexp.service.js → esm2020/layout/path-to-regexp.service.mjs} +238 -237
  11. package/{esm2015/layout/public_api.js → esm2020/layout/public_api.mjs} +15 -15
  12. package/esm2020/layout/stomp.config.mjs +18 -0
  13. package/{esm2015/layout/widgets/index.js → esm2020/layout/widgets/index.mjs} +7 -7
  14. package/esm2020/layout/widgets/yz.application.component.mjs +271 -0
  15. package/esm2020/layout/widgets/yz.clear-storage.component.mjs +45 -0
  16. package/esm2020/layout/widgets/yz.fullscreen.component.mjs +45 -0
  17. package/esm2020/layout/widgets/yz.i18n.component.mjs +115 -0
  18. package/esm2020/layout/widgets/yz.notify.component.mjs +184 -0
  19. package/esm2020/layout/widgets/yz.them-btn.component.mjs +196 -0
  20. package/esm2020/layout/widgets/yz.user.component.mjs +112 -0
  21. package/esm2020/layout/yz.auth.service.mjs +156 -0
  22. package/esm2020/layout/yz.basic.component.mjs +207 -0
  23. package/esm2020/layout/yz.default.interceptor.mjs +203 -0
  24. package/esm2020/layout/yz.i18n.service.mjs +93 -0
  25. package/esm2020/layout/yz.startup.service.mjs +137 -0
  26. package/esm2020/layout/yz.stomp.service.mjs +88 -0
  27. package/{esm2015/public_api.js → esm2020/public_api.mjs} +1 -1
  28. package/{esm2015/shared/public_api.js → esm2020/shared/public_api.mjs} +4 -4
  29. package/{esm2015/shared/shared-yelon.module.js → esm2020/shared/shared-yelon.module.mjs} +107 -107
  30. package/{esm2015/shared/shared-zorro.module.js → esm2020/shared/shared-zorro.module.mjs} +80 -80
  31. package/{esm2015/shared/shared.js → esm2020/shared/shared.mjs} +4 -4
  32. package/esm2020/shared/shared.module.mjs +116 -0
  33. package/{esm2015/shared/style-icons.js → esm2020/shared/style-icons.mjs} +795 -795
  34. package/fesm2015/{bis.js → bis.mjs} +3 -3
  35. package/fesm2015/bis.mjs.map +1 -0
  36. package/fesm2015/{layout.js → layout.mjs} +2514 -2181
  37. package/fesm2015/layout.mjs.map +1 -0
  38. package/fesm2015/{shared.js → shared.mjs} +1004 -910
  39. package/fesm2015/shared.mjs.map +1 -0
  40. package/fesm2020/bis.mjs +6 -0
  41. package/fesm2020/bis.mjs.map +1 -0
  42. package/fesm2020/layout.mjs +2796 -0
  43. package/fesm2020/layout.mjs.map +1 -0
  44. package/fesm2020/shared.mjs +1106 -0
  45. package/fesm2020/shared.mjs.map +1 -0
  46. package/layout/act.guard.d.ts +23 -20
  47. package/layout/bis.config.d.ts +3 -3
  48. package/layout/contact/contact.component.d.ts +169 -166
  49. package/layout/contact/contact.service.d.ts +118 -115
  50. package/layout/layout.d.ts +5 -7
  51. package/layout/layout.module.d.ts +20 -2
  52. package/layout/package.json +5 -6
  53. package/layout/path-to-regexp.service.d.ts +26 -23
  54. package/layout/public_api.d.ts +14 -12
  55. package/layout/stomp.config.d.ts +3 -3
  56. package/layout/widgets/index.d.ts +7 -7
  57. package/layout/widgets/yz.application.component.d.ts +48 -45
  58. package/layout/widgets/yz.clear-storage.component.d.ts +11 -8
  59. package/layout/widgets/yz.fullscreen.component.d.ts +8 -6
  60. package/layout/widgets/yz.i18n.component.d.ts +22 -19
  61. package/layout/widgets/yz.notify.component.d.ts +30 -25
  62. package/layout/widgets/yz.them-btn.component.d.ts +32 -29
  63. package/layout/widgets/yz.user.component.d.ts +28 -25
  64. package/layout/yz.auth.service.d.ts +22 -19
  65. package/layout/yz.basic.component.d.ts +24 -15
  66. package/layout/yz.default.interceptor.d.ts +29 -26
  67. package/layout/yz.i18n.service.d.ts +27 -24
  68. package/layout/yz.startup.service.d.ts +34 -31
  69. package/layout/yz.stomp.service.d.ts +42 -39
  70. package/package.json +46 -18
  71. package/public_api.d.ts +2 -2
  72. package/shared/package.json +5 -6
  73. package/shared/public_api.d.ts +4 -4
  74. package/shared/shared-yelon.module.d.ts +3 -3
  75. package/shared/shared-zorro.module.d.ts +2 -2
  76. package/shared/shared.d.ts +5 -4
  77. package/shared/shared.module.d.ts +95 -2
  78. package/shared/style-icons.d.ts +1 -1
  79. package/bis.metadata.json +0 -1
  80. package/bundles/bis.umd.js +0 -18
  81. package/bundles/bis.umd.js.map +0 -1
  82. package/bundles/layout.umd.js +0 -2669
  83. package/bundles/layout.umd.js.map +0 -1
  84. package/bundles/shared.umd.js +0 -1249
  85. package/bundles/shared.umd.js.map +0 -1
  86. package/esm2015/layout/act.guard.js +0 -115
  87. package/esm2015/layout/contact/contact.component.js +0 -434
  88. package/esm2015/layout/contact/contact.service.js +0 -150
  89. package/esm2015/layout/layout.js +0 -8
  90. package/esm2015/layout/layout.module.js +0 -47
  91. package/esm2015/layout/stomp.config.js +0 -20
  92. package/esm2015/layout/widgets/yz.application.component.js +0 -200
  93. package/esm2015/layout/widgets/yz.clear-storage.component.js +0 -39
  94. package/esm2015/layout/widgets/yz.fullscreen.component.js +0 -36
  95. package/esm2015/layout/widgets/yz.i18n.component.js +0 -78
  96. package/esm2015/layout/widgets/yz.notify.component.js +0 -154
  97. package/esm2015/layout/widgets/yz.them-btn.component.js +0 -146
  98. package/esm2015/layout/widgets/yz.user.component.js +0 -81
  99. package/esm2015/layout/yz.auth.service.js +0 -158
  100. package/esm2015/layout/yz.basic.component.js +0 -101
  101. package/esm2015/layout/yz.default.interceptor.js +0 -204
  102. package/esm2015/layout/yz.i18n.service.js +0 -102
  103. package/esm2015/layout/yz.startup.service.js +0 -138
  104. package/esm2015/layout/yz.stomp.service.js +0 -91
  105. package/esm2015/shared/shared.module.js +0 -22
  106. package/fesm2015/bis.js.map +0 -1
  107. package/fesm2015/layout.js.map +0 -1
  108. package/fesm2015/shared.js.map +0 -1
  109. package/layout/layout.metadata.json +0 -1
  110. package/shared/shared.metadata.json +0 -1
@@ -1,115 +1,118 @@
1
- import { Observable } from 'rxjs';
2
- import { NzSafeAny } from 'ng-zorro-antd/core/types';
3
- import { NzTreeNodeOptions } from 'ng-zorro-antd/tree';
4
- import { CacheService } from '@yelon/cache';
5
- import { _HttpClient } from '@yelon/theme';
6
- export interface BaseUserParam {
7
- realName?: string;
8
- userCode?: string;
9
- deptId?: string;
10
- roleId?: string;
11
- friendGroupId?: string;
12
- userTypes?: string;
13
- buildId?: string;
14
- floor?: string;
15
- roomId?: string;
16
- rylb?: string;
17
- }
18
- export interface Page<T> {
19
- pageNum: number;
20
- pageSize: number;
21
- pageParam?: T;
22
- }
23
- export interface PageRes<T> {
24
- endRow: number;
25
- hasNextPage: boolean;
26
- hasPreviousPage: boolean;
27
- isFirstPage: boolean;
28
- isLastPage: boolean;
29
- list: T[];
30
- navigateFirstPage: number;
31
- navigateLastPage: number;
32
- navigatePages: number;
33
- navigatepageNums: number[];
34
- nextPage: number;
35
- pageNum: number;
36
- pageSize: number;
37
- pages: number;
38
- prePage: number;
39
- size: number;
40
- startRow: number;
41
- total: number;
42
- }
43
- export declare class ContactService {
44
- private http;
45
- private cache;
46
- constructor(http: _HttpClient, cache: CacheService);
47
- /**
48
- * 部门树查询
49
- *
50
- * @param clas 包含班级
51
- * @returns 可观察部门树
52
- */
53
- dept(clas: boolean): Observable<NzTreeNodeOptions[]>;
54
- /**
55
- * 部门树查询
56
- *
57
- * @param clas 包含班级
58
- * @param his 包含历史班级
59
- * @returns 可观察部门树
60
- */
61
- dept(clas: boolean, his: boolean): Observable<NzTreeNodeOptions[]>;
62
- /**
63
- * 部门树查询
64
- *
65
- * @param clas 包含班级
66
- * @param his 包含历史班级
67
- * @param grade 系部
68
- * @returns 可观察部门树
69
- */
70
- dept(clas: boolean, his: boolean, grade: boolean): Observable<NzTreeNodeOptions[]>;
71
- /**
72
- * 部门树查询
73
- *
74
- * @param clas 包含班级
75
- * @param his 包含历史班级
76
- * @param grade 系部
77
- * @param gradeID 系部ID
78
- * @returns 可观察部门树
79
- */
80
- dept(clas: boolean, his: boolean, grade: boolean, gradeID: string): Observable<NzTreeNodeOptions[]>;
81
- page<U, T>(uri: string, page: Page<U>): Observable<PageRes<T>>;
82
- pageBaseUser(page: Page<BaseUserParam>): Observable<PageRes<NzSafeAny>>;
83
- getUserByIds(ids: string[]): Observable<any[]>;
84
- /**
85
- * 查询人员信息
86
- *
87
- * @param userIds[] 用户id数组,["aaa","bbb","ccc"]
88
- */
89
- getUserByUserIds(userIds: any): Observable<any[]>;
90
- /**
91
- * 获取角色组角色
92
- *
93
- * @param roleGroupCode 角色组code
94
- */
95
- getGroupRole(roleGroupCode: string): Observable<NzTreeNodeOptions[]>;
96
- /**
97
- * 查询当前用户好友分组
98
- */
99
- getFriendGroup(): Observable<any[]>;
100
- /**
101
- * 查询年级
102
- */
103
- getGrade(): Observable<any[]>;
104
- /**
105
- * 查询人员类别列表
106
- */
107
- getRylbs(): Observable<any[]>;
108
- /**
109
- * 获取学生公寓树
110
- *
111
- * @param isPower 是否带有权限,默认false
112
- * @param treeType 树类型 0:宿舍楼 1:宿舍楼+层 2:宿舍楼+层+房间
113
- */
114
- getDormTree(isPower: boolean, treeType: number): Observable<any[]>;
115
- }
1
+ import { Observable } from 'rxjs';
2
+ import { NzSafeAny } from 'ng-zorro-antd/core/types';
3
+ import { NzTreeNodeOptions } from 'ng-zorro-antd/tree';
4
+ import { CacheService } from '@yelon/cache';
5
+ import { _HttpClient } from '@yelon/theme';
6
+ import * as i0 from "@angular/core";
7
+ export interface BaseUserParam {
8
+ realName?: string;
9
+ userCode?: string;
10
+ deptId?: string;
11
+ roleId?: string;
12
+ friendGroupId?: string;
13
+ userTypes?: string;
14
+ buildId?: string;
15
+ floor?: string;
16
+ roomId?: string;
17
+ rylb?: string;
18
+ }
19
+ export interface Page<T> {
20
+ pageNum: number;
21
+ pageSize: number;
22
+ pageParam?: T;
23
+ }
24
+ export interface PageRes<T> {
25
+ endRow: number;
26
+ hasNextPage: boolean;
27
+ hasPreviousPage: boolean;
28
+ isFirstPage: boolean;
29
+ isLastPage: boolean;
30
+ list: T[];
31
+ navigateFirstPage: number;
32
+ navigateLastPage: number;
33
+ navigatePages: number;
34
+ navigatepageNums: number[];
35
+ nextPage: number;
36
+ pageNum: number;
37
+ pageSize: number;
38
+ pages: number;
39
+ prePage: number;
40
+ size: number;
41
+ startRow: number;
42
+ total: number;
43
+ }
44
+ export declare class ContactService {
45
+ private http;
46
+ private cache;
47
+ constructor(http: _HttpClient, cache: CacheService);
48
+ /**
49
+ * 部门树查询
50
+ *
51
+ * @param clas 包含班级
52
+ * @returns 可观察部门树
53
+ */
54
+ dept(clas: boolean): Observable<NzTreeNodeOptions[]>;
55
+ /**
56
+ * 部门树查询
57
+ *
58
+ * @param clas 包含班级
59
+ * @param his 包含历史班级
60
+ * @returns 可观察部门树
61
+ */
62
+ dept(clas: boolean, his: boolean): Observable<NzTreeNodeOptions[]>;
63
+ /**
64
+ * 部门树查询
65
+ *
66
+ * @param clas 包含班级
67
+ * @param his 包含历史班级
68
+ * @param grade 系部
69
+ * @returns 可观察部门树
70
+ */
71
+ dept(clas: boolean, his: boolean, grade: boolean): Observable<NzTreeNodeOptions[]>;
72
+ /**
73
+ * 部门树查询
74
+ *
75
+ * @param clas 包含班级
76
+ * @param his 包含历史班级
77
+ * @param grade 系部
78
+ * @param gradeID 系部ID
79
+ * @returns 可观察部门树
80
+ */
81
+ dept(clas: boolean, his: boolean, grade: boolean, gradeID: string | null): Observable<NzTreeNodeOptions[]>;
82
+ page<U, T>(uri: string, page: Page<U>): Observable<PageRes<T>>;
83
+ pageBaseUser(page: Page<BaseUserParam>): Observable<PageRes<NzSafeAny>>;
84
+ getUserByIds(ids: string[]): Observable<any[]>;
85
+ /**
86
+ * 查询人员信息
87
+ *
88
+ * @param userIds[] 用户id数组,["aaa","bbb","ccc"]
89
+ */
90
+ getUserByUserIds(userIds: any): Observable<any[]>;
91
+ /**
92
+ * 获取角色组角色
93
+ *
94
+ * @param roleGroupCode 角色组code
95
+ */
96
+ getGroupRole(roleGroupCode: string): Observable<NzTreeNodeOptions[]>;
97
+ /**
98
+ * 查询当前用户好友分组
99
+ */
100
+ getFriendGroup(): Observable<any[]>;
101
+ /**
102
+ * 查询年级
103
+ */
104
+ getGrade(): Observable<any[]>;
105
+ /**
106
+ * 查询人员类别列表
107
+ */
108
+ getRylbs(): Observable<any[]>;
109
+ /**
110
+ * 获取学生公寓树
111
+ *
112
+ * @param isPower 是否带有权限,默认false
113
+ * @param treeType 树类型 0:宿舍楼 1:宿舍楼+层 2:宿舍楼+层+房间
114
+ */
115
+ getDormTree(isPower: boolean, treeType: number): Observable<any[]>;
116
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContactService, never>;
117
+ static ɵprov: i0.ɵɵInjectableDeclaration<ContactService>;
118
+ }
@@ -1,7 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public_api';
5
- export { ContactComponent as ɵa } from './contact/contact.component';
6
- export { ContactService as ɵb } from './contact/contact.service';
7
- export { YzHeaderApplicationComponent as ɵc, YzHeaderClearStorageComponent as ɵh, YzHeaderFullScreenComponent as ɵg, YzHeaderI18NComponent as ɵi, YzHeaderNotifyComponent as ɵd, YzHeaderThemBtnComponent as ɵe, YzHeaderUserComponent as ɵf } from './widgets';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@yelon/bis/layout" />
5
+ export * from './public_api';
@@ -1,2 +1,20 @@
1
- export declare class YunzaiLayoutModule {
2
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./contact/contact.component";
3
+ import * as i2 from "./yz.basic.component";
4
+ import * as i3 from "./widgets/yz.application.component";
5
+ import * as i4 from "./widgets/yz.notify.component";
6
+ import * as i5 from "./widgets/yz.them-btn.component";
7
+ import * as i6 from "./widgets/yz.user.component";
8
+ import * as i7 from "./widgets/yz.fullscreen.component";
9
+ import * as i8 from "./widgets/yz.clear-storage.component";
10
+ import * as i9 from "./widgets/yz.i18n.component";
11
+ import * as i10 from "@angular/common/http";
12
+ import * as i11 from "@angular/common";
13
+ import * as i12 from "@angular/forms";
14
+ import * as i13 from "@angular/router";
15
+ import * as i14 from "@yelon/bis/shared";
16
+ export declare class YunzaiLayoutModule {
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiLayoutModule, never>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<YunzaiLayoutModule, [typeof i1.ContactComponent, typeof i2.YzLayoutBasicComponent, typeof i3.YzHeaderApplicationComponent, typeof i4.YzHeaderNotifyComponent, typeof i5.YzHeaderThemBtnComponent, typeof i6.YzHeaderUserComponent, typeof i7.YzHeaderFullScreenComponent, typeof i8.YzHeaderClearStorageComponent, typeof i9.YzHeaderI18NComponent], [typeof i10.HttpClientModule, typeof i11.CommonModule, typeof i12.FormsModule, typeof i13.RouterModule, typeof i12.ReactiveFormsModule, typeof i14.YzSharedModule], [typeof i1.ContactComponent, typeof i2.YzLayoutBasicComponent, typeof i3.YzHeaderApplicationComponent, typeof i4.YzHeaderNotifyComponent, typeof i5.YzHeaderThemBtnComponent, typeof i6.YzHeaderUserComponent, typeof i7.YzHeaderFullScreenComponent, typeof i8.YzHeaderClearStorageComponent, typeof i9.YzHeaderI18NComponent]>;
19
+ static ɵinj: i0.ɵɵInjectorDeclaration<YunzaiLayoutModule>;
20
+ }
@@ -1,11 +1,10 @@
1
1
  {
2
- "main": "../bundles/layout.umd.js",
3
- "module": "../fesm2015/layout.js",
4
- "es2015": "../fesm2015/layout.js",
5
- "esm2015": "../esm2015/layout/layout.js",
6
- "fesm2015": "../fesm2015/layout.js",
2
+ "module": "../fesm2015/layout.mjs",
3
+ "es2020": "../fesm2020/layout.mjs",
4
+ "esm2020": "../esm2020/layout/layout.mjs",
5
+ "fesm2020": "../fesm2020/layout.mjs",
6
+ "fesm2015": "../fesm2015/layout.mjs",
7
7
  "typings": "layout.d.ts",
8
- "metadata": "layout.metadata.json",
9
8
  "sideEffects": false,
10
9
  "name": "@yelon/bis/layout"
11
10
  }
@@ -1,23 +1,26 @@
1
- export declare class PathToRegexpService {
2
- constructor();
3
- DEFAULT_DELIMITER: string;
4
- PATH_REGEXP: RegExp;
5
- parse(str: any, options: any): (string | {
6
- name: string | number;
7
- prefix: string;
8
- delimiter: any;
9
- optional: boolean;
10
- repeat: boolean;
11
- pattern: any;
12
- })[];
13
- compile(str: any, options: any): (data: any, options: any) => string;
14
- tokensToFunction(tokens: any, options: any): (data: any, options: any) => string;
15
- escapeString(str: any): any;
16
- escapeGroup(group: any): any;
17
- flags(options: any): "" | "i";
18
- regexpToRegexp(path: any, keys: any): any;
19
- arrayToRegexp(path: any, keys: any, options: any): RegExp;
20
- stringToRegexp(path: any, keys: any, options: any): RegExp;
21
- tokensToRegExp(tokens: any, keys: any, options: any): RegExp;
22
- pathToRegexp(path: any, keys: any, options: any): any;
23
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class PathToRegexpService {
3
+ constructor();
4
+ DEFAULT_DELIMITER: string;
5
+ PATH_REGEXP: RegExp;
6
+ parse(str: any, options: any): (string | {
7
+ name: string | number;
8
+ prefix: string;
9
+ delimiter: any;
10
+ optional: boolean;
11
+ repeat: boolean;
12
+ pattern: any;
13
+ })[];
14
+ compile(str: any, options: any): (data: any, options: any) => string;
15
+ tokensToFunction(tokens: any, options: any): (data: any, options: any) => string;
16
+ escapeString(str: any): any;
17
+ escapeGroup(group: any): any;
18
+ flags(options: any): "" | "i";
19
+ regexpToRegexp(path: any, keys: any): any;
20
+ arrayToRegexp(path: any, keys: any, options: any): RegExp;
21
+ stringToRegexp(path: any, keys: any, options: any): RegExp;
22
+ tokensToRegExp(tokens: any, keys: any, options: any): RegExp;
23
+ pathToRegexp(path: any, keys: any, options: any): any;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<PathToRegexpService, never>;
25
+ static ɵprov: i0.ɵɵInjectableDeclaration<PathToRegexpService>;
26
+ }
@@ -1,12 +1,14 @@
1
- export * from './widgets';
2
- export * from './layout.module';
3
- export * from './yz.auth.service';
4
- export * from './yz.basic.component';
5
- export * from './yz.default.interceptor';
6
- export * from './yz.i18n.service';
7
- export * from './yz.startup.service';
8
- export * from './bis.config';
9
- export * from './stomp.config';
10
- export * from './yz.stomp.service';
11
- export * from './act.guard';
12
- export * from './path-to-regexp.service';
1
+ export * from './widgets';
2
+ export * from './layout.module';
3
+ export * from './yz.auth.service';
4
+ export * from './yz.basic.component';
5
+ export * from './yz.default.interceptor';
6
+ export * from './yz.i18n.service';
7
+ export * from './yz.startup.service';
8
+ export * from './bis.config';
9
+ export * from './stomp.config';
10
+ export * from './yz.stomp.service';
11
+ export * from './act.guard';
12
+ export * from './path-to-regexp.service';
13
+ export * from './contact/contact.component';
14
+ export * from './contact/contact.service';
@@ -1,3 +1,3 @@
1
- import { YunzaiConfigService, YunzaiStompConfig } from '@yelon/util';
2
- export declare const STOMP_DEFAULT_CONFIG: YunzaiStompConfig;
3
- export declare function mergeStompConfig(srv: YunzaiConfigService): YunzaiStompConfig;
1
+ import { YunzaiConfigService, YunzaiStompConfig } from '@yelon/util';
2
+ export declare const STOMP_DEFAULT_CONFIG: YunzaiStompConfig;
3
+ export declare function mergeStompConfig(srv: YunzaiConfigService): YunzaiStompConfig;
@@ -1,7 +1,7 @@
1
- export * from './yz.application.component';
2
- export * from './yz.i18n.component';
3
- export * from './yz.notify.component';
4
- export * from './yz.them-btn.component';
5
- export * from './yz.user.component';
6
- export * from './yz.clear-storage.component';
7
- export * from './yz.fullscreen.component';
1
+ export * from './yz.application.component';
2
+ export * from './yz.i18n.component';
3
+ export * from './yz.notify.component';
4
+ export * from './yz.them-btn.component';
5
+ export * from './yz.user.component';
6
+ export * from './yz.clear-storage.component';
7
+ export * from './yz.fullscreen.component';
@@ -1,45 +1,48 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { Subscription } from 'rxjs';
3
- import { CacheService } from '@yelon/cache';
4
- import { _HttpClient } from '@yelon/theme';
5
- import { YzI18NService } from '../yz.i18n.service';
6
- export declare enum TOPIC {
7
- FULL = 0,
8
- OWN = 1,
9
- EVERY = 2
10
- }
11
- export interface HeaderTopic {
12
- attribute: any;
13
- children: HeaderTopic[];
14
- intro: string;
15
- key: string;
16
- name: string;
17
- target: string;
18
- auth: boolean;
19
- url: string;
20
- version: string;
21
- }
22
- export declare class YzHeaderApplicationComponent implements OnInit, OnDestroy {
23
- private inject;
24
- private cacheService;
25
- private i18n;
26
- private http;
27
- T: typeof TOPIC;
28
- active: boolean;
29
- topicData: HeaderTopic[];
30
- listData: HeaderTopic[];
31
- topic: TOPIC;
32
- choosed: HeaderTopic | undefined;
33
- searchValue: string | null;
34
- subs: Subscription[];
35
- constructor(inject: Injector, cacheService: CacheService, i18n: YzI18NService, http: _HttpClient);
36
- ngOnInit(): void;
37
- ngOnDestroy(): void;
38
- diffChange(flag?: boolean): void;
39
- initTopic(topic: TOPIC): void;
40
- full(): void;
41
- own(): void;
42
- every(e: HeaderTopic): void;
43
- onSearch(): void;
44
- open(topic: HeaderTopic): void;
45
- }
1
+ import { Injector, OnDestroy, OnInit } from '@angular/core';
2
+ import { Subscription } from 'rxjs';
3
+ import { CacheService } from '@yelon/cache';
4
+ import { _HttpClient } from '@yelon/theme';
5
+ import { YzI18NService } from '../yz.i18n.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare enum TOPIC {
8
+ FULL = 0,
9
+ OWN = 1,
10
+ EVERY = 2
11
+ }
12
+ export interface HeaderTopic {
13
+ attribute: any;
14
+ children: HeaderTopic[];
15
+ intro: string;
16
+ key: string;
17
+ name: string;
18
+ target: string;
19
+ auth: boolean;
20
+ url: string;
21
+ version: string;
22
+ }
23
+ export declare class YzHeaderApplicationComponent implements OnInit, OnDestroy {
24
+ private inject;
25
+ private cacheService;
26
+ private i18n;
27
+ private http;
28
+ T: typeof TOPIC;
29
+ active: boolean;
30
+ topicData: HeaderTopic[];
31
+ listData: HeaderTopic[];
32
+ topic: TOPIC;
33
+ choosed: HeaderTopic | undefined;
34
+ searchValue: string | null;
35
+ subs: Subscription[];
36
+ constructor(inject: Injector, cacheService: CacheService, i18n: YzI18NService, http: _HttpClient);
37
+ ngOnInit(): void;
38
+ ngOnDestroy(): void;
39
+ diffChange(flag?: boolean): void;
40
+ initTopic(topic: TOPIC): void;
41
+ full(): void;
42
+ own(): void;
43
+ every(e: HeaderTopic): void;
44
+ onSearch(): void;
45
+ open(topic: HeaderTopic): void;
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<YzHeaderApplicationComponent, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<YzHeaderApplicationComponent, "yz-header-application", never, {}, {}, never, never>;
48
+ }
@@ -1,8 +1,11 @@
1
- import { NzMessageService } from 'ng-zorro-antd/message';
2
- import { NzModalService } from 'ng-zorro-antd/modal';
3
- export declare class YzHeaderClearStorageComponent {
4
- private modalSrv;
5
- private messageSrv;
6
- constructor(modalSrv: NzModalService, messageSrv: NzMessageService);
7
- _click(): void;
8
- }
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 YzHeaderClearStorageComponent {
5
+ private modalSrv;
6
+ private messageSrv;
7
+ constructor(modalSrv: NzModalService, messageSrv: NzMessageService);
8
+ _click(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<YzHeaderClearStorageComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<YzHeaderClearStorageComponent, "yz-header-clear-storage", never, {}, {}, never, never>;
11
+ }
@@ -1,6 +1,8 @@
1
- export declare class YzHeaderFullScreenComponent {
2
- status: boolean;
3
- private get sf();
4
- _resize(): void;
5
- _click(): void;
6
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class YzHeaderFullScreenComponent {
3
+ status: boolean;
4
+ _resize(): void;
5
+ _click(): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<YzHeaderFullScreenComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<YzHeaderFullScreenComponent, "yz-header-fullscreen", never, {}, {}, never, never>;
8
+ }
@@ -1,19 +1,22 @@
1
- import { SettingsService } from '@yelon/theme';
2
- import { BooleanInput } from '@yelon/util/decorator';
3
- import { YzI18NService } from '../yz.i18n.service';
4
- export declare class YzHeaderI18NComponent {
5
- private settings;
6
- private i18n;
7
- private doc;
8
- static ngAcceptInputType_showLangText: BooleanInput;
9
- /** Whether to display language text */
10
- showLangText: boolean;
11
- get langs(): Array<{
12
- code: string;
13
- text: string;
14
- abbr: string;
15
- }>;
16
- get curLangCode(): string;
17
- constructor(settings: SettingsService, i18n: YzI18NService, doc: any);
18
- change(lang: string): void;
19
- }
1
+ import { SettingsService } from '@yelon/theme';
2
+ import { BooleanInput } from '@yelon/util/decorator';
3
+ import { YzI18NService } from '../yz.i18n.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class YzHeaderI18NComponent {
6
+ private settings;
7
+ private i18n;
8
+ private doc;
9
+ static ngAcceptInputType_showLangText: BooleanInput;
10
+ /** Whether to display language text */
11
+ showLangText: boolean;
12
+ get langs(): Array<{
13
+ code: string;
14
+ text: string;
15
+ abbr: string;
16
+ }>;
17
+ get curLangCode(): string;
18
+ constructor(settings: SettingsService, i18n: YzI18NService, doc: any);
19
+ change(lang: string): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<YzHeaderI18NComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<YzHeaderI18NComponent, "yz-header-i18n", never, { "showLangText": "showLangText"; }, {}, never, never>;
22
+ }
@@ -1,25 +1,30 @@
1
- import { ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { Observable, Subscription } from 'rxjs';
3
- import { NzI18nService } from 'ng-zorro-antd/i18n';
4
- import { NzMessageService } from 'ng-zorro-antd/message';
5
- import { NoticeIconSelect, NoticeItem } from '@yelon/abc/notice-icon';
6
- import { _HttpClient } from '@yelon/theme';
7
- export declare class YzHeaderNotifyComponent implements OnInit, OnDestroy {
8
- private injector;
9
- private msg;
10
- private nzI18n;
11
- private cdr;
12
- private httpClient;
13
- data: NoticeItem[];
14
- loading: boolean;
15
- count: number;
16
- subs: Subscription[];
17
- constructor(injector: Injector, msg: NzMessageService, nzI18n: NzI18nService, cdr: ChangeDetectorRef, httpClient: _HttpClient);
18
- ngOnInit(): void;
19
- loadData(): void;
20
- loadMessage(): Observable<void>;
21
- loadTodo(): Observable<void>;
22
- clear(type: string): void;
23
- select(res: NoticeIconSelect): void;
24
- ngOnDestroy(): void;
25
- }
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 { YzI18NService } from '../yz.i18n.service';
8
+ import * as i0 from "@angular/core";
9
+ export declare class YzHeaderNotifyComponent 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: YzI18NService, 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<YzHeaderNotifyComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<YzHeaderNotifyComponent, "yz-header-notify", never, {}, {}, never, never>;
30
+ }