@yelon/bis 12.0.17 → 12.0.18
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 +4 -4
- package/bundles/bis.umd.js +7 -7
- package/bundles/layout.umd.js +2551 -2549
- package/bundles/layout.umd.js.map +1 -1
- package/bundles/shared.umd.js +1222 -1222
- package/esm2015/bis.js +4 -4
- package/esm2015/layout/act.guard.js +114 -114
- package/esm2015/layout/bis.config.js +10 -10
- package/esm2015/layout/contact/contact.component.js +433 -433
- package/esm2015/layout/contact/contact.service.js +149 -149
- package/esm2015/layout/layout.js +7 -7
- package/esm2015/layout/layout.module.js +46 -46
- package/esm2015/layout/path-to-regexp.service.js +236 -236
- package/esm2015/layout/public_api.js +14 -14
- package/esm2015/layout/stomp.config.js +19 -19
- package/esm2015/layout/widgets/index.js +7 -7
- package/esm2015/layout/widgets/yz.application.component.js +132 -132
- package/esm2015/layout/widgets/yz.clear-storage.component.js +35 -35
- package/esm2015/layout/widgets/yz.fullscreen.component.js +32 -32
- package/esm2015/layout/widgets/yz.i18n.component.js +50 -50
- package/esm2015/layout/widgets/yz.notify.component.js +147 -144
- package/esm2015/layout/widgets/yz.them-btn.component.js +106 -106
- package/esm2015/layout/widgets/yz.user.component.js +57 -57
- package/esm2015/layout/yz.auth.service.js +157 -157
- package/esm2015/layout/yz.basic.component.js +40 -40
- package/esm2015/layout/yz.default.interceptor.js +203 -203
- package/esm2015/layout/yz.i18n.service.js +101 -101
- package/esm2015/layout/yz.startup.service.js +138 -138
- package/esm2015/layout/yz.stomp.service.js +90 -90
- package/esm2015/public_api.js +1 -1
- package/esm2015/shared/public_api.js +4 -4
- package/esm2015/shared/shared-yelon.module.js +107 -107
- package/esm2015/shared/shared-zorro.module.js +80 -80
- package/esm2015/shared/shared.js +4 -4
- package/esm2015/shared/shared.module.js +21 -21
- package/esm2015/shared/style-icons.js +795 -795
- package/fesm2015/bis.js +2 -2
- package/fesm2015/layout.js +2139 -2137
- package/fesm2015/layout.js.map +1 -1
- package/fesm2015/shared.js +908 -908
- package/layout/act.guard.d.ts +20 -20
- package/layout/bis.config.d.ts +3 -3
- package/layout/contact/contact.component.d.ts +166 -166
- package/layout/contact/contact.service.d.ts +115 -115
- package/layout/layout.d.ts +7 -7
- package/layout/layout.metadata.json +1 -1
- package/layout/layout.module.d.ts +2 -2
- package/layout/path-to-regexp.service.d.ts +23 -23
- package/layout/public_api.d.ts +12 -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 +45 -45
- package/layout/widgets/yz.clear-storage.component.d.ts +8 -8
- package/layout/widgets/yz.fullscreen.component.d.ts +6 -6
- package/layout/widgets/yz.i18n.component.d.ts +19 -19
- package/layout/widgets/yz.notify.component.d.ts +27 -25
- package/layout/widgets/yz.them-btn.component.d.ts +29 -29
- package/layout/widgets/yz.user.component.d.ts +25 -25
- package/layout/yz.auth.service.d.ts +19 -19
- package/layout/yz.basic.component.d.ts +15 -15
- package/layout/yz.default.interceptor.d.ts +26 -26
- package/layout/yz.i18n.service.d.ts +24 -24
- package/layout/yz.startup.service.d.ts +31 -31
- package/layout/yz.stomp.service.d.ts +39 -39
- package/package.json +10 -10
- package/public_api.d.ts +2 -2
- 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 +4 -4
- package/shared/shared.module.d.ts +2 -2
- package/shared/style-icons.d.ts +1 -1
package/layout/act.guard.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ActivatedRouteSnapshot, CanActivate, CanActivateChild, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { CacheService } from '@yelon/cache';
|
|
4
|
-
import { Menu } from '@yelon/theme';
|
|
5
|
-
import { YunzaiConfigService } from '@yelon/util';
|
|
6
|
-
import { PathToRegexpService } from './path-to-regexp.service';
|
|
7
|
-
export declare class ActGuard implements CanActivate, CanActivateChild {
|
|
8
|
-
private configService;
|
|
9
|
-
private cacheService;
|
|
10
|
-
private pathToRegexp;
|
|
11
|
-
private router;
|
|
12
|
-
private bis;
|
|
13
|
-
private menus;
|
|
14
|
-
private links;
|
|
15
|
-
constructor(configService: YunzaiConfigService, cacheService: CacheService, pathToRegexp: PathToRegexpService, router: Router);
|
|
16
|
-
canActivate(_: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
|
|
17
|
-
canActivateChild(_: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
|
|
18
|
-
preHandle(state: RouterStateSnapshot): boolean;
|
|
19
|
-
getAllLinks(menu: Menu[], links: string[]): void;
|
|
20
|
-
}
|
|
1
|
+
import { ActivatedRouteSnapshot, CanActivate, CanActivateChild, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { CacheService } from '@yelon/cache';
|
|
4
|
+
import { Menu } from '@yelon/theme';
|
|
5
|
+
import { YunzaiConfigService } from '@yelon/util';
|
|
6
|
+
import { PathToRegexpService } from './path-to-regexp.service';
|
|
7
|
+
export declare class ActGuard implements CanActivate, CanActivateChild {
|
|
8
|
+
private configService;
|
|
9
|
+
private cacheService;
|
|
10
|
+
private pathToRegexp;
|
|
11
|
+
private router;
|
|
12
|
+
private bis;
|
|
13
|
+
private menus;
|
|
14
|
+
private links;
|
|
15
|
+
constructor(configService: YunzaiConfigService, cacheService: CacheService, pathToRegexp: PathToRegexpService, router: Router);
|
|
16
|
+
canActivate(_: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
|
|
17
|
+
canActivateChild(_: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
|
|
18
|
+
preHandle(state: RouterStateSnapshot): boolean;
|
|
19
|
+
getAllLinks(menu: Menu[], links: string[]): void;
|
|
20
|
+
}
|
package/layout/bis.config.d.ts
CHANGED
|
@@ -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,166 +1,166 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit, AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
import { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
4
|
-
import { NzTreeNodeOptions, NzFormatEmitEvent } from 'ng-zorro-antd/tree';
|
|
5
|
-
import { STComponent } from '@yelon/abc/st';
|
|
6
|
-
import { ContactService } from './contact.service';
|
|
7
|
-
export declare class ContactComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
8
|
-
private contact;
|
|
9
|
-
private changeDetectorRef;
|
|
10
|
-
subs: Subscription[];
|
|
11
|
-
/**
|
|
12
|
-
* tabset
|
|
13
|
-
*/
|
|
14
|
-
nzTabsetSearch: string | null;
|
|
15
|
-
nzTabsetLoading: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* 树展开状态
|
|
18
|
-
*/
|
|
19
|
-
nzExpandAll: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* 部门树和部门查询的一些选项/可传可不传
|
|
22
|
-
*/
|
|
23
|
-
nzDepts: NzTreeNodeOptions[];
|
|
24
|
-
private _nzDeptsCopy;
|
|
25
|
-
nzDeptTreeVirtualHeight: string | null;
|
|
26
|
-
nzDeptClass: boolean;
|
|
27
|
-
nzDeptClassHistory: boolean;
|
|
28
|
-
nzDeptGrade: boolean;
|
|
29
|
-
nzDeptGradeID: string;
|
|
30
|
-
/**
|
|
31
|
-
* 角色树
|
|
32
|
-
*/
|
|
33
|
-
nzRoles: NzTreeNodeOptions[];
|
|
34
|
-
private _nzRolesCopy;
|
|
35
|
-
nzRoleTreeVirtualHeight: string | null;
|
|
36
|
-
/**
|
|
37
|
-
* 好友分组
|
|
38
|
-
*/
|
|
39
|
-
nzFriendGroups: NzSafeAny[];
|
|
40
|
-
_nzFriendGroupsCopy: NzSafeAny[];
|
|
41
|
-
/**
|
|
42
|
-
* table组件,帮助文档: https://ng.yunzainfo.com/components/st/zh?#API
|
|
43
|
-
*/
|
|
44
|
-
st: STComponent;
|
|
45
|
-
/**
|
|
46
|
-
* 联系人
|
|
47
|
-
*/
|
|
48
|
-
defaultContacts: string[];
|
|
49
|
-
nzContacts: NzSafeAny[];
|
|
50
|
-
nzContactLoading: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* 提交和提交按钮
|
|
53
|
-
*/
|
|
54
|
-
button: boolean;
|
|
55
|
-
readonly confirmed: EventEmitter<NzSafeAny[]>;
|
|
56
|
-
constructor(contact: ContactService, changeDetectorRef: ChangeDetectorRef);
|
|
57
|
-
/**
|
|
58
|
-
* 初始化,首先加载部门树和默认选中的人的数据
|
|
59
|
-
*/
|
|
60
|
-
ngOnInit(): void;
|
|
61
|
-
/**
|
|
62
|
-
* 视图初始化完毕后进行table初始化
|
|
63
|
-
*/
|
|
64
|
-
ngAfterViewInit(): void;
|
|
65
|
-
/**
|
|
66
|
-
* 初始化默认选中联系人
|
|
67
|
-
*/
|
|
68
|
-
onContactsInit(): void;
|
|
69
|
-
/**
|
|
70
|
-
* table初始化
|
|
71
|
-
*/
|
|
72
|
-
onTableInit(): void;
|
|
73
|
-
/**
|
|
74
|
-
* tabset进入加载状态
|
|
75
|
-
*/
|
|
76
|
-
onTabsetLoadStart(): void;
|
|
77
|
-
/**
|
|
78
|
-
* tabset取消加载状态
|
|
79
|
-
*/
|
|
80
|
-
onTabsetLoadEnd(): void;
|
|
81
|
-
/**
|
|
82
|
-
* tabset搜索框清除
|
|
83
|
-
*/
|
|
84
|
-
onTabsetSearchClean(): void;
|
|
85
|
-
/**
|
|
86
|
-
* tabset搜索框输入
|
|
87
|
-
*
|
|
88
|
-
* @param type 类型
|
|
89
|
-
* @param value 值
|
|
90
|
-
*/
|
|
91
|
-
onTabsetSearchChange(type: 'dept' | 'role' | 'friendGroup', value: string): void;
|
|
92
|
-
/**
|
|
93
|
-
* tabset切换到部门
|
|
94
|
-
*/
|
|
95
|
-
onTabsetDept(): void;
|
|
96
|
-
/**
|
|
97
|
-
* tabset切换到角色
|
|
98
|
-
*/
|
|
99
|
-
onTabsetRole(): void;
|
|
100
|
-
/**
|
|
101
|
-
* tabset切换到好友分组
|
|
102
|
-
*/
|
|
103
|
-
onTabsetFriendGroup(): void;
|
|
104
|
-
/**
|
|
105
|
-
* 获取部门树
|
|
106
|
-
*/
|
|
107
|
-
onTabsetDeptFlush(): void;
|
|
108
|
-
onTabsetRoleFlush(groupRoleCode: string): void;
|
|
109
|
-
onTabsetFriendGroupFlush(): void;
|
|
110
|
-
/**
|
|
111
|
-
* 部门树点击
|
|
112
|
-
*
|
|
113
|
-
* @param e 节点
|
|
114
|
-
*/
|
|
115
|
-
onDeptClick(e: NzFormatEmitEvent): void;
|
|
116
|
-
/**
|
|
117
|
-
* 角色树点击
|
|
118
|
-
*
|
|
119
|
-
* @param e 节点
|
|
120
|
-
*/
|
|
121
|
-
onRoleClick(e: NzFormatEmitEvent): void;
|
|
122
|
-
/**
|
|
123
|
-
* 好友分组点击
|
|
124
|
-
*
|
|
125
|
-
* @param e 分组
|
|
126
|
-
*/
|
|
127
|
-
onFriendGroupClick(e: NzSafeAny): void;
|
|
128
|
-
/**
|
|
129
|
-
* 点击右侧联系人进行删除
|
|
130
|
-
*
|
|
131
|
-
* @param c 点击的联系人
|
|
132
|
-
*/
|
|
133
|
-
onContactRemove(c: NzSafeAny): void;
|
|
134
|
-
/**
|
|
135
|
-
* 预处理table当前页数据,和nzContat对比,确定checkbox状态
|
|
136
|
-
*
|
|
137
|
-
* @param data 预处理数据
|
|
138
|
-
*/
|
|
139
|
-
onTableCheck(data: NzSafeAny[]): void;
|
|
140
|
-
/**
|
|
141
|
-
* 递归树寻找name相同节点
|
|
142
|
-
*
|
|
143
|
-
* @param name 名称
|
|
144
|
-
* @param trees 需要递归的树
|
|
145
|
-
* @param list 搜索结果
|
|
146
|
-
*/
|
|
147
|
-
searchTree(name: string, trees: NzTreeNodeOptions[], list: NzTreeNodeOptions[]): void;
|
|
148
|
-
/**
|
|
149
|
-
* 递归树展开所有有子节点的节点
|
|
150
|
-
*
|
|
151
|
-
* @param trees 需要展开的树
|
|
152
|
-
*/
|
|
153
|
-
expandTree(trees: NzTreeNodeOptions[]): void;
|
|
154
|
-
/**
|
|
155
|
-
* 刷新当前页面
|
|
156
|
-
*/
|
|
157
|
-
refresh(): void;
|
|
158
|
-
/**
|
|
159
|
-
* 确认按钮output数据
|
|
160
|
-
*/
|
|
161
|
-
confirm(): void;
|
|
162
|
-
/**
|
|
163
|
-
* 销毁函数
|
|
164
|
-
*/
|
|
165
|
-
ngOnDestroy(): void;
|
|
166
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit, AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
4
|
+
import { NzTreeNodeOptions, NzFormatEmitEvent } from 'ng-zorro-antd/tree';
|
|
5
|
+
import { STComponent } from '@yelon/abc/st';
|
|
6
|
+
import { ContactService } from './contact.service';
|
|
7
|
+
export declare class ContactComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
8
|
+
private contact;
|
|
9
|
+
private changeDetectorRef;
|
|
10
|
+
subs: Subscription[];
|
|
11
|
+
/**
|
|
12
|
+
* tabset
|
|
13
|
+
*/
|
|
14
|
+
nzTabsetSearch: string | null;
|
|
15
|
+
nzTabsetLoading: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* 树展开状态
|
|
18
|
+
*/
|
|
19
|
+
nzExpandAll: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* 部门树和部门查询的一些选项/可传可不传
|
|
22
|
+
*/
|
|
23
|
+
nzDepts: NzTreeNodeOptions[];
|
|
24
|
+
private _nzDeptsCopy;
|
|
25
|
+
nzDeptTreeVirtualHeight: string | null;
|
|
26
|
+
nzDeptClass: boolean;
|
|
27
|
+
nzDeptClassHistory: boolean;
|
|
28
|
+
nzDeptGrade: boolean;
|
|
29
|
+
nzDeptGradeID: string;
|
|
30
|
+
/**
|
|
31
|
+
* 角色树
|
|
32
|
+
*/
|
|
33
|
+
nzRoles: NzTreeNodeOptions[];
|
|
34
|
+
private _nzRolesCopy;
|
|
35
|
+
nzRoleTreeVirtualHeight: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* 好友分组
|
|
38
|
+
*/
|
|
39
|
+
nzFriendGroups: NzSafeAny[];
|
|
40
|
+
_nzFriendGroupsCopy: NzSafeAny[];
|
|
41
|
+
/**
|
|
42
|
+
* table组件,帮助文档: https://ng.yunzainfo.com/components/st/zh?#API
|
|
43
|
+
*/
|
|
44
|
+
st: STComponent;
|
|
45
|
+
/**
|
|
46
|
+
* 联系人
|
|
47
|
+
*/
|
|
48
|
+
defaultContacts: string[];
|
|
49
|
+
nzContacts: NzSafeAny[];
|
|
50
|
+
nzContactLoading: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* 提交和提交按钮
|
|
53
|
+
*/
|
|
54
|
+
button: boolean;
|
|
55
|
+
readonly confirmed: EventEmitter<NzSafeAny[]>;
|
|
56
|
+
constructor(contact: ContactService, changeDetectorRef: ChangeDetectorRef);
|
|
57
|
+
/**
|
|
58
|
+
* 初始化,首先加载部门树和默认选中的人的数据
|
|
59
|
+
*/
|
|
60
|
+
ngOnInit(): void;
|
|
61
|
+
/**
|
|
62
|
+
* 视图初始化完毕后进行table初始化
|
|
63
|
+
*/
|
|
64
|
+
ngAfterViewInit(): void;
|
|
65
|
+
/**
|
|
66
|
+
* 初始化默认选中联系人
|
|
67
|
+
*/
|
|
68
|
+
onContactsInit(): void;
|
|
69
|
+
/**
|
|
70
|
+
* table初始化
|
|
71
|
+
*/
|
|
72
|
+
onTableInit(): void;
|
|
73
|
+
/**
|
|
74
|
+
* tabset进入加载状态
|
|
75
|
+
*/
|
|
76
|
+
onTabsetLoadStart(): void;
|
|
77
|
+
/**
|
|
78
|
+
* tabset取消加载状态
|
|
79
|
+
*/
|
|
80
|
+
onTabsetLoadEnd(): void;
|
|
81
|
+
/**
|
|
82
|
+
* tabset搜索框清除
|
|
83
|
+
*/
|
|
84
|
+
onTabsetSearchClean(): void;
|
|
85
|
+
/**
|
|
86
|
+
* tabset搜索框输入
|
|
87
|
+
*
|
|
88
|
+
* @param type 类型
|
|
89
|
+
* @param value 值
|
|
90
|
+
*/
|
|
91
|
+
onTabsetSearchChange(type: 'dept' | 'role' | 'friendGroup', value: string): void;
|
|
92
|
+
/**
|
|
93
|
+
* tabset切换到部门
|
|
94
|
+
*/
|
|
95
|
+
onTabsetDept(): void;
|
|
96
|
+
/**
|
|
97
|
+
* tabset切换到角色
|
|
98
|
+
*/
|
|
99
|
+
onTabsetRole(): void;
|
|
100
|
+
/**
|
|
101
|
+
* tabset切换到好友分组
|
|
102
|
+
*/
|
|
103
|
+
onTabsetFriendGroup(): void;
|
|
104
|
+
/**
|
|
105
|
+
* 获取部门树
|
|
106
|
+
*/
|
|
107
|
+
onTabsetDeptFlush(): void;
|
|
108
|
+
onTabsetRoleFlush(groupRoleCode: string): void;
|
|
109
|
+
onTabsetFriendGroupFlush(): void;
|
|
110
|
+
/**
|
|
111
|
+
* 部门树点击
|
|
112
|
+
*
|
|
113
|
+
* @param e 节点
|
|
114
|
+
*/
|
|
115
|
+
onDeptClick(e: NzFormatEmitEvent): void;
|
|
116
|
+
/**
|
|
117
|
+
* 角色树点击
|
|
118
|
+
*
|
|
119
|
+
* @param e 节点
|
|
120
|
+
*/
|
|
121
|
+
onRoleClick(e: NzFormatEmitEvent): void;
|
|
122
|
+
/**
|
|
123
|
+
* 好友分组点击
|
|
124
|
+
*
|
|
125
|
+
* @param e 分组
|
|
126
|
+
*/
|
|
127
|
+
onFriendGroupClick(e: NzSafeAny): void;
|
|
128
|
+
/**
|
|
129
|
+
* 点击右侧联系人进行删除
|
|
130
|
+
*
|
|
131
|
+
* @param c 点击的联系人
|
|
132
|
+
*/
|
|
133
|
+
onContactRemove(c: NzSafeAny): void;
|
|
134
|
+
/**
|
|
135
|
+
* 预处理table当前页数据,和nzContat对比,确定checkbox状态
|
|
136
|
+
*
|
|
137
|
+
* @param data 预处理数据
|
|
138
|
+
*/
|
|
139
|
+
onTableCheck(data: NzSafeAny[]): void;
|
|
140
|
+
/**
|
|
141
|
+
* 递归树寻找name相同节点
|
|
142
|
+
*
|
|
143
|
+
* @param name 名称
|
|
144
|
+
* @param trees 需要递归的树
|
|
145
|
+
* @param list 搜索结果
|
|
146
|
+
*/
|
|
147
|
+
searchTree(name: string, trees: NzTreeNodeOptions[], list: NzTreeNodeOptions[]): void;
|
|
148
|
+
/**
|
|
149
|
+
* 递归树展开所有有子节点的节点
|
|
150
|
+
*
|
|
151
|
+
* @param trees 需要展开的树
|
|
152
|
+
*/
|
|
153
|
+
expandTree(trees: NzTreeNodeOptions[]): void;
|
|
154
|
+
/**
|
|
155
|
+
* 刷新当前页面
|
|
156
|
+
*/
|
|
157
|
+
refresh(): void;
|
|
158
|
+
/**
|
|
159
|
+
* 确认按钮output数据
|
|
160
|
+
*/
|
|
161
|
+
confirm(): void;
|
|
162
|
+
/**
|
|
163
|
+
* 销毁函数
|
|
164
|
+
*/
|
|
165
|
+
ngOnDestroy(): void;
|
|
166
|
+
}
|
|
@@ -1,115 +1,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
|
-
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
|
+
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
|
+
}
|
package/layout/layout.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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
|
+
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';
|