@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.
- package/LICENSE +21 -21
- package/bis.d.ts +5 -4
- package/{esm2015/bis.js → esm2020/bis.mjs} +4 -4
- package/esm2020/layout/act.guard.mjs +108 -0
- package/{esm2015/layout/bis.config.js → esm2020/layout/bis.config.mjs} +10 -10
- package/esm2020/layout/contact/contact.component.mjs +492 -0
- package/esm2020/layout/contact/contact.service.mjs +146 -0
- package/esm2020/layout/layout.mjs +5 -0
- package/esm2020/layout/layout.module.mjs +73 -0
- package/{esm2015/layout/path-to-regexp.service.js → esm2020/layout/path-to-regexp.service.mjs} +238 -237
- package/{esm2015/layout/public_api.js → esm2020/layout/public_api.mjs} +15 -15
- package/esm2020/layout/stomp.config.mjs +18 -0
- package/{esm2015/layout/widgets/index.js → esm2020/layout/widgets/index.mjs} +7 -7
- package/esm2020/layout/widgets/yz.application.component.mjs +271 -0
- package/esm2020/layout/widgets/yz.clear-storage.component.mjs +45 -0
- package/esm2020/layout/widgets/yz.fullscreen.component.mjs +45 -0
- package/esm2020/layout/widgets/yz.i18n.component.mjs +115 -0
- package/esm2020/layout/widgets/yz.notify.component.mjs +184 -0
- package/esm2020/layout/widgets/yz.them-btn.component.mjs +196 -0
- package/esm2020/layout/widgets/yz.user.component.mjs +112 -0
- package/esm2020/layout/yz.auth.service.mjs +156 -0
- package/esm2020/layout/yz.basic.component.mjs +207 -0
- package/esm2020/layout/yz.default.interceptor.mjs +203 -0
- package/esm2020/layout/yz.i18n.service.mjs +93 -0
- package/esm2020/layout/yz.startup.service.mjs +137 -0
- package/esm2020/layout/yz.stomp.service.mjs +88 -0
- package/{esm2015/public_api.js → esm2020/public_api.mjs} +1 -1
- package/{esm2015/shared/public_api.js → esm2020/shared/public_api.mjs} +4 -4
- package/{esm2015/shared/shared-yelon.module.js → esm2020/shared/shared-yelon.module.mjs} +107 -107
- package/{esm2015/shared/shared-zorro.module.js → esm2020/shared/shared-zorro.module.mjs} +80 -80
- package/{esm2015/shared/shared.js → esm2020/shared/shared.mjs} +4 -4
- package/esm2020/shared/shared.module.mjs +116 -0
- package/{esm2015/shared/style-icons.js → esm2020/shared/style-icons.mjs} +795 -795
- package/fesm2015/{bis.js → bis.mjs} +3 -3
- package/fesm2015/bis.mjs.map +1 -0
- package/fesm2015/{layout.js → layout.mjs} +2514 -2181
- package/fesm2015/layout.mjs.map +1 -0
- package/fesm2015/{shared.js → shared.mjs} +1004 -910
- package/fesm2015/shared.mjs.map +1 -0
- package/fesm2020/bis.mjs +6 -0
- package/fesm2020/bis.mjs.map +1 -0
- package/fesm2020/layout.mjs +2796 -0
- package/fesm2020/layout.mjs.map +1 -0
- package/fesm2020/shared.mjs +1106 -0
- package/fesm2020/shared.mjs.map +1 -0
- package/layout/act.guard.d.ts +23 -20
- package/layout/bis.config.d.ts +3 -3
- package/layout/contact/contact.component.d.ts +169 -166
- package/layout/contact/contact.service.d.ts +118 -115
- package/layout/layout.d.ts +5 -7
- package/layout/layout.module.d.ts +20 -2
- package/layout/package.json +5 -6
- package/layout/path-to-regexp.service.d.ts +26 -23
- package/layout/public_api.d.ts +14 -12
- package/layout/stomp.config.d.ts +3 -3
- package/layout/widgets/index.d.ts +7 -7
- package/layout/widgets/yz.application.component.d.ts +48 -45
- package/layout/widgets/yz.clear-storage.component.d.ts +11 -8
- package/layout/widgets/yz.fullscreen.component.d.ts +8 -6
- package/layout/widgets/yz.i18n.component.d.ts +22 -19
- package/layout/widgets/yz.notify.component.d.ts +30 -25
- package/layout/widgets/yz.them-btn.component.d.ts +32 -29
- package/layout/widgets/yz.user.component.d.ts +28 -25
- package/layout/yz.auth.service.d.ts +22 -19
- package/layout/yz.basic.component.d.ts +24 -15
- package/layout/yz.default.interceptor.d.ts +29 -26
- package/layout/yz.i18n.service.d.ts +27 -24
- package/layout/yz.startup.service.d.ts +34 -31
- package/layout/yz.stomp.service.d.ts +42 -39
- package/package.json +46 -18
- package/public_api.d.ts +2 -2
- package/shared/package.json +5 -6
- package/shared/public_api.d.ts +4 -4
- package/shared/shared-yelon.module.d.ts +3 -3
- package/shared/shared-zorro.module.d.ts +2 -2
- package/shared/shared.d.ts +5 -4
- package/shared/shared.module.d.ts +95 -2
- package/shared/style-icons.d.ts +1 -1
- package/bis.metadata.json +0 -1
- package/bundles/bis.umd.js +0 -18
- package/bundles/bis.umd.js.map +0 -1
- package/bundles/layout.umd.js +0 -2669
- package/bundles/layout.umd.js.map +0 -1
- package/bundles/shared.umd.js +0 -1249
- package/bundles/shared.umd.js.map +0 -1
- package/esm2015/layout/act.guard.js +0 -115
- package/esm2015/layout/contact/contact.component.js +0 -434
- package/esm2015/layout/contact/contact.service.js +0 -150
- package/esm2015/layout/layout.js +0 -8
- package/esm2015/layout/layout.module.js +0 -47
- package/esm2015/layout/stomp.config.js +0 -20
- package/esm2015/layout/widgets/yz.application.component.js +0 -200
- package/esm2015/layout/widgets/yz.clear-storage.component.js +0 -39
- package/esm2015/layout/widgets/yz.fullscreen.component.js +0 -36
- package/esm2015/layout/widgets/yz.i18n.component.js +0 -78
- package/esm2015/layout/widgets/yz.notify.component.js +0 -154
- package/esm2015/layout/widgets/yz.them-btn.component.js +0 -146
- package/esm2015/layout/widgets/yz.user.component.js +0 -81
- package/esm2015/layout/yz.auth.service.js +0 -158
- package/esm2015/layout/yz.basic.component.js +0 -101
- package/esm2015/layout/yz.default.interceptor.js +0 -204
- package/esm2015/layout/yz.i18n.service.js +0 -102
- package/esm2015/layout/yz.startup.service.js +0 -138
- package/esm2015/layout/yz.stomp.service.js +0 -91
- package/esm2015/shared/shared.module.js +0 -22
- package/fesm2015/bis.js.map +0 -1
- package/fesm2015/layout.js.map +0 -1
- package/fesm2015/shared.js.map +0 -1
- package/layout/layout.metadata.json +0 -1
- 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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
private
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* @
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
* @param
|
|
59
|
-
* @
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* @param
|
|
67
|
-
* @param
|
|
68
|
-
* @
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
* @param
|
|
76
|
-
* @param
|
|
77
|
-
* @param
|
|
78
|
-
* @
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
* @param
|
|
113
|
-
|
|
114
|
-
|
|
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
|
+
}
|
package/layout/layout.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
export
|
|
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
|
-
|
|
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
|
+
}
|
package/layout/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"fesm2015": "../fesm2015/layout.
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
+
}
|
package/layout/public_api.d.ts
CHANGED
|
@@ -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';
|
package/layout/stomp.config.d.ts
CHANGED
|
@@ -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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
private
|
|
25
|
-
private
|
|
26
|
-
private
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
private
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
private
|
|
7
|
-
private
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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 {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
private
|
|
11
|
-
private
|
|
12
|
-
private
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
+
}
|