inl-ui 0.0.3 → 0.0.4
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/conf/cp.js +51 -0
- package/dist/index.js +55 -2
- package/dist/index.js.map +1 -1
- package/dist/style.css +0 -1
- package/dist/theme/dark copy.less +448 -0
- package/dist/theme/dark.less +182 -0
- package/dist/theme/default.less +1067 -0
- package/dist/types/src/pageComponent/api/auth/menuManager.d.ts +5 -5
- package/dist/types/src/pageComponent/api/auth/roleManager.d.ts +6 -6
- package/dist/types/src/pageComponent/api/auth/userManager.d.ts +10 -10
- package/dist/types/src/pageComponent/api/axios.d.ts +1 -1
- package/dist/types/src/pageComponent/api/index.d.ts +4 -4
- package/dist/types/src/pageComponent/api/logManager.d.ts +2 -2
- package/dist/types/src/pageComponent/api/org/depManager.d.ts +13 -13
- package/dist/types/src/pageComponent/api/org/postManager.d.ts +5 -5
- package/dist/types/src/pageComponent/api/org/teamManager.d.ts +7 -7
- package/dist/types/src/pageComponent/api/param.d.ts +6 -6
- package/dist/types/src/pageComponent/components/EditPasswordForm.d.ts +1 -1
- package/dist/types/src/pageComponent/components/ProFormItem.d.ts +2 -2
- package/dist/types/src/pageComponent/components/SearchSelect.d.ts +2 -2
- package/dist/types/src/pageComponent/views/systemManager/authManager/userManager/updateUserDialog.d.ts +2 -2
- package/dist/types/src/pageComponent/views/systemManager/orgManager/depManager/updateDepDialog.d.ts +1 -1
- package/dist/types/src/pageComponent/views/systemManager/orgManager/depManager/updateEmployeeDialog.d.ts +1 -1
- package/dist/types/src/pageComponent/views/systemManager/orgManager/postManager/updatePostDialog.d.ts +1 -1
- package/dist/types/src/pageComponent/views/systemManager/orgManager/teamManager/updateTeamDialog.d.ts +1 -1
- package/dist/types/src/utils/className.d.ts +2 -0
- package/dist/types/src/utils/config.d.ts +4 -0
- package/dist/types/src/utils/getSlots.d.ts +3 -0
- package/dist/types/src/utils/index.d.ts +10 -0
- package/dist/types/src/utils/installComponent.d.ts +3 -0
- package/package.json +4 -2
- package/src/{gl.ts → gl.d.ts} +6 -0
- package/src/ht/ht-widget.d.ts +11327 -0
- package/src/ht/ht.d.ts +11410 -0
- package/src/ht/index.d.ts +4 -0
- package/src/pageComponent/api/axios.ts +18 -18
- package/src/pageComponent/components/CommonTree.tsx +31 -31
- package/src/pageComponent/components/EditPasswordForm.tsx +20 -20
- package/src/pageComponent/components/IconSelect.tsx +12 -12
- package/src/pageComponent/components/Navbar.tsx +9 -9
- package/src/pageComponent/components/ProFormItem.tsx +18 -18
- package/src/pageComponent/components/SearchSelect.tsx +20 -20
- package/src/pageComponent/components/Sidebar.tsx +11 -11
- package/src/pageComponent/config/htconfig.ts +5 -5
- package/dist/types/src/gl.d.ts +0 -8
- package/dist/types/src/utll.d.ts +0 -2
|
@@ -2,22 +2,22 @@ declare const api: {
|
|
|
2
2
|
/**
|
|
3
3
|
* 用户权限树- 以树状结构返回菜单项
|
|
4
4
|
*/
|
|
5
|
-
getMenuTreeList(params: any): Promise<import("axios").AxiosResponse<any
|
|
5
|
+
getMenuTreeList(params: any): Promise<import("axios").AxiosResponse<any>>;
|
|
6
6
|
/**
|
|
7
7
|
* 添加菜单
|
|
8
8
|
*/
|
|
9
|
-
insertMenuRecord(data: any): Promise<import("axios").AxiosResponse<any
|
|
9
|
+
insertMenuRecord(data: any): Promise<import("axios").AxiosResponse<any>>;
|
|
10
10
|
/**
|
|
11
11
|
* 修改菜单
|
|
12
12
|
*/
|
|
13
|
-
editMenuRecord(data: any): Promise<import("axios").AxiosResponse<any
|
|
13
|
+
editMenuRecord(data: any): Promise<import("axios").AxiosResponse<any>>;
|
|
14
14
|
/**
|
|
15
15
|
* 删除菜单
|
|
16
16
|
*/
|
|
17
|
-
deleteMenuById(menuId: number): Promise<import("axios").AxiosResponse<any
|
|
17
|
+
deleteMenuById(menuId: number): Promise<import("axios").AxiosResponse<any>>;
|
|
18
18
|
/**
|
|
19
19
|
* 菜单排序接口
|
|
20
20
|
*/
|
|
21
|
-
sortMenu(data: any): Promise<import("axios").AxiosResponse<any
|
|
21
|
+
sortMenu(data: any): Promise<import("axios").AxiosResponse<any>>;
|
|
22
22
|
};
|
|
23
23
|
export default api;
|
|
@@ -2,26 +2,26 @@ declare const api: {
|
|
|
2
2
|
/**
|
|
3
3
|
* 获取角色列表
|
|
4
4
|
*/
|
|
5
|
-
getRoleListByPager(params: any): Promise<import("axios").AxiosResponse<any
|
|
5
|
+
getRoleListByPager(params: any): Promise<import("axios").AxiosResponse<any>>;
|
|
6
6
|
/**
|
|
7
7
|
* 切换角色启用状态
|
|
8
8
|
*/
|
|
9
|
-
switchRoleEnableStatus(params: any): Promise<import("axios").AxiosResponse<any
|
|
9
|
+
switchRoleEnableStatus(params: any): Promise<import("axios").AxiosResponse<any>>;
|
|
10
10
|
/**
|
|
11
11
|
* 保存角色及权限树
|
|
12
12
|
*/
|
|
13
|
-
insertRole(params: any): Promise<import("axios").AxiosResponse<any
|
|
13
|
+
insertRole(params: any): Promise<import("axios").AxiosResponse<any>>;
|
|
14
14
|
/**
|
|
15
15
|
* 获取角色权限树- 编辑角色
|
|
16
16
|
*/
|
|
17
|
-
getRoleTreeEdit(params: any): Promise<import("axios").AxiosResponse<any
|
|
17
|
+
getRoleTreeEdit(params: any): Promise<import("axios").AxiosResponse<any>>;
|
|
18
18
|
/**
|
|
19
19
|
* 获取角色权限树- 新建角色
|
|
20
20
|
*/
|
|
21
|
-
getRoleTree(): Promise<import("axios").AxiosResponse<any
|
|
21
|
+
getRoleTree(): Promise<import("axios").AxiosResponse<any>>;
|
|
22
22
|
/**
|
|
23
23
|
* 删除角色
|
|
24
24
|
*/
|
|
25
|
-
deleteRoleById(roleTypeId: number): Promise<import("axios").AxiosResponse<any
|
|
25
|
+
deleteRoleById(roleTypeId: number): Promise<import("axios").AxiosResponse<any>>;
|
|
26
26
|
};
|
|
27
27
|
export default api;
|
|
@@ -2,44 +2,44 @@ declare const _default: {
|
|
|
2
2
|
/**
|
|
3
3
|
* 获取用户列表 分页
|
|
4
4
|
*/
|
|
5
|
-
getUserList(params: any): Promise<import("axios").AxiosResponse<any
|
|
5
|
+
getUserList(params: any): Promise<import("axios").AxiosResponse<any>>;
|
|
6
6
|
/**
|
|
7
7
|
* 获取角色下拉列表
|
|
8
8
|
*/
|
|
9
|
-
getRoleList(): Promise<import("axios").AxiosResponse<any
|
|
9
|
+
getRoleList(): Promise<import("axios").AxiosResponse<any>>;
|
|
10
10
|
/**
|
|
11
11
|
* 获取员工下拉列表
|
|
12
12
|
*/
|
|
13
|
-
getEmployeeList(): Promise<import("axios").AxiosResponse<any
|
|
13
|
+
getEmployeeList(): Promise<import("axios").AxiosResponse<any>>;
|
|
14
14
|
/**
|
|
15
15
|
* 新增用户
|
|
16
16
|
*/
|
|
17
|
-
insertOneUserRecord(data: any): Promise<import("axios").AxiosResponse<any
|
|
17
|
+
insertOneUserRecord(data: any): Promise<import("axios").AxiosResponse<any>>;
|
|
18
18
|
/**
|
|
19
19
|
* 修改用户
|
|
20
20
|
*/
|
|
21
|
-
editUserRecord(data: any): Promise<import("axios").AxiosResponse<any
|
|
21
|
+
editUserRecord(data: any): Promise<import("axios").AxiosResponse<any>>;
|
|
22
22
|
/**
|
|
23
23
|
* 编辑页面重置密码
|
|
24
24
|
* @param userId 用户id
|
|
25
25
|
*/
|
|
26
|
-
resetPassword(userId: number): Promise<import("axios").AxiosResponse<any
|
|
26
|
+
resetPassword(userId: number): Promise<import("axios").AxiosResponse<any>>;
|
|
27
27
|
/**
|
|
28
28
|
* 个人设置 修改密码
|
|
29
29
|
*/
|
|
30
|
-
changePassword(data: any): Promise<import("axios").AxiosResponse<any
|
|
30
|
+
changePassword(data: any): Promise<import("axios").AxiosResponse<any>>;
|
|
31
31
|
/**
|
|
32
32
|
* 查询用户详情|个人设置页
|
|
33
33
|
* userId 个人设置页 此值为null
|
|
34
34
|
*/
|
|
35
|
-
detail(data: any): Promise<import("axios").AxiosResponse<any
|
|
35
|
+
detail(data: any): Promise<import("axios").AxiosResponse<any>>;
|
|
36
36
|
/**
|
|
37
37
|
* 删除用户
|
|
38
38
|
*/
|
|
39
|
-
deleteUserById(id: string): Promise<import("axios").AxiosResponse<any
|
|
39
|
+
deleteUserById(id: string): Promise<import("axios").AxiosResponse<any>>;
|
|
40
40
|
/**
|
|
41
41
|
* 获取员工详情 (点击员工姓名)
|
|
42
42
|
*/
|
|
43
|
-
getEmployeeDetailInfo(employeeId: number): Promise<import("axios").AxiosResponse<any
|
|
43
|
+
getEmployeeDetailInfo(employeeId: number): Promise<import("axios").AxiosResponse<any>>;
|
|
44
44
|
};
|
|
45
45
|
export default _default;
|
|
@@ -3,19 +3,19 @@ declare const api: {
|
|
|
3
3
|
getList(list: Array<{
|
|
4
4
|
tc: string;
|
|
5
5
|
mc: string;
|
|
6
|
-
}>): Promise<import("axios").AxiosResponse<any
|
|
6
|
+
}>): Promise<import("axios").AxiosResponse<any>>;
|
|
7
7
|
};
|
|
8
8
|
declare const set: {
|
|
9
9
|
setSingle(list: Array<{
|
|
10
10
|
tc: string;
|
|
11
11
|
mc: string;
|
|
12
12
|
v: string;
|
|
13
|
-
}>): Promise<import("axios").AxiosResponse<any
|
|
13
|
+
}>): Promise<import("axios").AxiosResponse<any>>;
|
|
14
14
|
setList(list: Array<{
|
|
15
15
|
tc: string;
|
|
16
16
|
mc: string;
|
|
17
17
|
v: string;
|
|
18
|
-
}>): Promise<import("axios").AxiosResponse<any
|
|
18
|
+
}>): Promise<import("axios").AxiosResponse<any>>;
|
|
19
19
|
};
|
|
20
20
|
export { instance, api, set };
|
|
21
21
|
declare const _default: {
|
|
@@ -23,7 +23,7 @@ declare const _default: {
|
|
|
23
23
|
getList(list: {
|
|
24
24
|
tc: string;
|
|
25
25
|
mc: string;
|
|
26
|
-
}[]): Promise<import("axios").AxiosResponse<any
|
|
26
|
+
}[]): Promise<import("axios").AxiosResponse<any>>;
|
|
27
27
|
};
|
|
28
28
|
instance: import("axios").AxiosInstance;
|
|
29
29
|
};
|
|
@@ -2,10 +2,10 @@ declare const api: {
|
|
|
2
2
|
/**
|
|
3
3
|
*分页查询日志
|
|
4
4
|
*/
|
|
5
|
-
getList(params: any): Promise<import("axios").AxiosResponse<any
|
|
5
|
+
getList(params: any): Promise<import("axios").AxiosResponse<any>>;
|
|
6
6
|
/**
|
|
7
7
|
*查询日志标题
|
|
8
8
|
*/
|
|
9
|
-
getHead(params: any): Promise<import("axios").AxiosResponse<any
|
|
9
|
+
getHead(params: any): Promise<import("axios").AxiosResponse<any>>;
|
|
10
10
|
};
|
|
11
11
|
export default api;
|
|
@@ -2,54 +2,54 @@ declare const api: {
|
|
|
2
2
|
/**
|
|
3
3
|
* 查询组织树- 部门列表
|
|
4
4
|
*/
|
|
5
|
-
getDepData(params: any): Promise<import("axios").AxiosResponse<any
|
|
5
|
+
getDepData(params: any): Promise<import("axios").AxiosResponse<any>>;
|
|
6
6
|
/**
|
|
7
7
|
* 新增部门
|
|
8
8
|
*/
|
|
9
|
-
insertDepRecord(data: any): Promise<import("axios").AxiosResponse<any
|
|
9
|
+
insertDepRecord(data: any): Promise<import("axios").AxiosResponse<any>>;
|
|
10
10
|
/**
|
|
11
11
|
* 编辑部门
|
|
12
12
|
*/
|
|
13
|
-
updateDepRecord(data: any): Promise<import("axios").AxiosResponse<any
|
|
13
|
+
updateDepRecord(data: any): Promise<import("axios").AxiosResponse<any>>;
|
|
14
14
|
/**
|
|
15
15
|
* 删除部门
|
|
16
16
|
*/
|
|
17
|
-
deleteDepById(departmentId: number): Promise<import("axios").AxiosResponse<any
|
|
17
|
+
deleteDepById(departmentId: number): Promise<import("axios").AxiosResponse<any>>;
|
|
18
18
|
/**
|
|
19
19
|
* 获取部门下的员工下拉列表
|
|
20
20
|
*/
|
|
21
|
-
getDepEmployeeSelectList(departmentId: number, ruleType?: 0 | 1 | 2): Promise<import("axios").AxiosResponse<any
|
|
21
|
+
getDepEmployeeSelectList(departmentId: number, ruleType?: 0 | 1 | 2): Promise<import("axios").AxiosResponse<any>>;
|
|
22
22
|
/**
|
|
23
23
|
* 部门排序
|
|
24
24
|
*/
|
|
25
|
-
sortDepList(data: any): Promise<import("axios").AxiosResponse<any
|
|
25
|
+
sortDepList(data: any): Promise<import("axios").AxiosResponse<any>>;
|
|
26
26
|
/**
|
|
27
27
|
* 查询部门详情
|
|
28
28
|
*/
|
|
29
|
-
getDetail(params: any): Promise<import("axios").AxiosResponse<any
|
|
29
|
+
getDetail(params: any): Promise<import("axios").AxiosResponse<any>>;
|
|
30
30
|
/**
|
|
31
31
|
* 获取部门下的员工列表
|
|
32
32
|
*/
|
|
33
|
-
getEmployeeList(params: any): Promise<import("axios").AxiosResponse<any
|
|
33
|
+
getEmployeeList(params: any): Promise<import("axios").AxiosResponse<any>>;
|
|
34
34
|
/**
|
|
35
35
|
* 获取岗位下拉列表
|
|
36
36
|
*/
|
|
37
|
-
getPostList(): Promise<import("axios").AxiosResponse<any
|
|
37
|
+
getPostList(): Promise<import("axios").AxiosResponse<any>>;
|
|
38
38
|
/**
|
|
39
39
|
* 获取员工详细信息 查看/编辑 回显
|
|
40
40
|
*/
|
|
41
|
-
getEmployeeDetail(employeeId: number): Promise<import("axios").AxiosResponse<any
|
|
41
|
+
getEmployeeDetail(employeeId: number): Promise<import("axios").AxiosResponse<any>>;
|
|
42
42
|
/**
|
|
43
43
|
* 新增员工
|
|
44
44
|
*/
|
|
45
|
-
insetEmployee(data: any): Promise<import("axios").AxiosResponse<any
|
|
45
|
+
insetEmployee(data: any): Promise<import("axios").AxiosResponse<any>>;
|
|
46
46
|
/**
|
|
47
47
|
* 修改员工信息
|
|
48
48
|
*/
|
|
49
|
-
updateEmployee(data: any): Promise<import("axios").AxiosResponse<any
|
|
49
|
+
updateEmployee(data: any): Promise<import("axios").AxiosResponse<any>>;
|
|
50
50
|
/**
|
|
51
51
|
* 删除员工
|
|
52
52
|
*/
|
|
53
|
-
deleteEmployeeById(employeeId: number): Promise<import("axios").AxiosResponse<any
|
|
53
|
+
deleteEmployeeById(employeeId: number): Promise<import("axios").AxiosResponse<any>>;
|
|
54
54
|
};
|
|
55
55
|
export default api;
|
|
@@ -2,14 +2,14 @@ declare const api: {
|
|
|
2
2
|
/**
|
|
3
3
|
* 获取岗位列表
|
|
4
4
|
*/
|
|
5
|
-
getPostList(params: any): Promise<import("axios").AxiosResponse<any
|
|
5
|
+
getPostList(params: any): Promise<import("axios").AxiosResponse<any>>;
|
|
6
6
|
/**
|
|
7
7
|
* 切换岗位启用状态
|
|
8
8
|
*/
|
|
9
9
|
switchPostEnable(data: {
|
|
10
10
|
id: number;
|
|
11
11
|
valid: 0 | 1;
|
|
12
|
-
}): Promise<import("axios").AxiosResponse<any
|
|
12
|
+
}): Promise<import("axios").AxiosResponse<any>>;
|
|
13
13
|
/**
|
|
14
14
|
* 获取部门列表(添加、编辑 部门下拉框)
|
|
15
15
|
*/
|
|
@@ -17,14 +17,14 @@ declare const api: {
|
|
|
17
17
|
/**
|
|
18
18
|
* 修改岗位信息
|
|
19
19
|
*/
|
|
20
|
-
updatePostRecord(data: any): Promise<import("axios").AxiosResponse<any
|
|
20
|
+
updatePostRecord(data: any): Promise<import("axios").AxiosResponse<any>>;
|
|
21
21
|
/**
|
|
22
22
|
* 新增岗位信息
|
|
23
23
|
*/
|
|
24
|
-
insertPostRecord(data: any): Promise<import("axios").AxiosResponse<any
|
|
24
|
+
insertPostRecord(data: any): Promise<import("axios").AxiosResponse<any>>;
|
|
25
25
|
/**
|
|
26
26
|
* 删除一条岗位信息
|
|
27
27
|
*/
|
|
28
|
-
deletePostById(jobPostId: number): Promise<import("axios").AxiosResponse<any
|
|
28
|
+
deletePostById(jobPostId: number): Promise<import("axios").AxiosResponse<any>>;
|
|
29
29
|
};
|
|
30
30
|
export default api;
|
|
@@ -2,14 +2,14 @@ declare const api: {
|
|
|
2
2
|
/**
|
|
3
3
|
* 分页获取班组列表
|
|
4
4
|
*/
|
|
5
|
-
getTeamListByPage(params: any): Promise<import("axios").AxiosResponse<any
|
|
5
|
+
getTeamListByPage(params: any): Promise<import("axios").AxiosResponse<any>>;
|
|
6
6
|
/**
|
|
7
7
|
* 切换是否启用班组
|
|
8
8
|
*/
|
|
9
9
|
switchEnableTeam(data: {
|
|
10
10
|
id: number;
|
|
11
11
|
valid: 0 | 1;
|
|
12
|
-
}): Promise<import("axios").AxiosResponse<any
|
|
12
|
+
}): Promise<import("axios").AxiosResponse<any>>;
|
|
13
13
|
/**
|
|
14
14
|
* 获取部门列表(添加、编辑 部门下拉框)
|
|
15
15
|
*/
|
|
@@ -17,22 +17,22 @@ declare const api: {
|
|
|
17
17
|
/**
|
|
18
18
|
* 获取岗位下拉列表
|
|
19
19
|
*/
|
|
20
|
-
getPostList(params: any): Promise<import("axios").AxiosResponse<any
|
|
20
|
+
getPostList(params: any): Promise<import("axios").AxiosResponse<any>>;
|
|
21
21
|
/**
|
|
22
22
|
* 获取人员列表 (下拉框)
|
|
23
23
|
*/
|
|
24
|
-
getEmployeeList(depId: number): Promise<import("axios").AxiosResponse<any
|
|
24
|
+
getEmployeeList(depId: number): Promise<import("axios").AxiosResponse<any>>;
|
|
25
25
|
/**
|
|
26
26
|
* 修改班组
|
|
27
27
|
*/
|
|
28
|
-
edidTeamRecord(data: any): Promise<import("axios").AxiosResponse<any
|
|
28
|
+
edidTeamRecord(data: any): Promise<import("axios").AxiosResponse<any>>;
|
|
29
29
|
/**
|
|
30
30
|
* 新增班组
|
|
31
31
|
*/
|
|
32
|
-
insertTeam(data: any): Promise<import("axios").AxiosResponse<any
|
|
32
|
+
insertTeam(data: any): Promise<import("axios").AxiosResponse<any>>;
|
|
33
33
|
/**
|
|
34
34
|
* 删除班组
|
|
35
35
|
*/
|
|
36
|
-
deleteTeamById(id: number): Promise<import("axios").AxiosResponse<any
|
|
36
|
+
deleteTeamById(id: number): Promise<import("axios").AxiosResponse<any>>;
|
|
37
37
|
};
|
|
38
38
|
export default api;
|
|
@@ -2,30 +2,30 @@ export declare const api: {
|
|
|
2
2
|
/**
|
|
3
3
|
* 查询参数组列表
|
|
4
4
|
*/
|
|
5
|
-
getGroupList(data?: any): Promise<import("axios").AxiosResponse<any
|
|
5
|
+
getGroupList(data?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
6
6
|
/**
|
|
7
7
|
* 查询参数定义、参数值列表 (表单项描述列表)
|
|
8
8
|
*/
|
|
9
|
-
getParamDefineList(groupId: number): Promise<import("axios").AxiosResponse<any
|
|
9
|
+
getParamDefineList(groupId: number): Promise<import("axios").AxiosResponse<any>>;
|
|
10
10
|
/**
|
|
11
11
|
* 批量保存参数值
|
|
12
12
|
*/
|
|
13
|
-
batchSaveParamsValue(form: any[]): Promise<import("axios").AxiosResponse<any
|
|
13
|
+
batchSaveParamsValue(form: any[]): Promise<import("axios").AxiosResponse<any>>;
|
|
14
14
|
};
|
|
15
15
|
declare const _default: {
|
|
16
16
|
api: {
|
|
17
17
|
/**
|
|
18
18
|
* 查询参数组列表
|
|
19
19
|
*/
|
|
20
|
-
getGroupList(data?: any): Promise<import("axios").AxiosResponse<any
|
|
20
|
+
getGroupList(data?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
21
21
|
/**
|
|
22
22
|
* 查询参数定义、参数值列表 (表单项描述列表)
|
|
23
23
|
*/
|
|
24
|
-
getParamDefineList(groupId: number): Promise<import("axios").AxiosResponse<any
|
|
24
|
+
getParamDefineList(groupId: number): Promise<import("axios").AxiosResponse<any>>;
|
|
25
25
|
/**
|
|
26
26
|
* 批量保存参数值
|
|
27
27
|
*/
|
|
28
|
-
batchSaveParamsValue(form: any[]): Promise<import("axios").AxiosResponse<any
|
|
28
|
+
batchSaveParamsValue(form: any[]): Promise<import("axios").AxiosResponse<any>>;
|
|
29
29
|
};
|
|
30
30
|
instance: import("axios").AxiosInstance;
|
|
31
31
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropType } from
|
|
1
|
+
import { PropType } from "vue";
|
|
2
2
|
declare const ProFormItem: import("vue").DefineComponent<{
|
|
3
3
|
description: {
|
|
4
4
|
type: ObjectConstructor;
|
|
@@ -12,7 +12,7 @@ declare const ProFormItem: import("vue").DefineComponent<{
|
|
|
12
12
|
description?: unknown;
|
|
13
13
|
onChange?: unknown;
|
|
14
14
|
} & {
|
|
15
|
-
description: Record<string, any>;
|
|
16
15
|
onChange: (name: string, value: any) => void;
|
|
16
|
+
description: Record<string, any>;
|
|
17
17
|
} & {}>, {}>;
|
|
18
18
|
export default ProFormItem;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PropType } from
|
|
1
|
+
import { PropType } from "vue";
|
|
2
2
|
declare const SearchSelect: import("vue").DefineComponent<{
|
|
3
3
|
value: {
|
|
4
|
-
type: (
|
|
4
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
5
5
|
};
|
|
6
6
|
getUrl: {
|
|
7
7
|
type: StringConstructor;
|
|
@@ -21,16 +21,16 @@ declare const UpdateUserDialog: import("vue").DefineComponent<{
|
|
|
21
21
|
record?: unknown;
|
|
22
22
|
onRefresh?: unknown;
|
|
23
23
|
} & {
|
|
24
|
-
mode: "view" | "add" | "edit";
|
|
25
24
|
visible: boolean;
|
|
25
|
+
mode: "view" | "add" | "edit";
|
|
26
26
|
record: Record<string, any>;
|
|
27
27
|
} & {
|
|
28
28
|
onRefresh?: Function | undefined;
|
|
29
29
|
}> & {
|
|
30
30
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
31
31
|
}, {
|
|
32
|
-
mode: "view" | "add" | "edit";
|
|
33
32
|
visible: boolean;
|
|
33
|
+
mode: "view" | "add" | "edit";
|
|
34
34
|
record: Record<string, any>;
|
|
35
35
|
}>;
|
|
36
36
|
export default UpdateUserDialog;
|
package/dist/types/src/pageComponent/views/systemManager/orgManager/depManager/updateDepDialog.d.ts
CHANGED
|
@@ -26,8 +26,8 @@ declare const UpdateDepDialog: import("vue").DefineComponent<{
|
|
|
26
26
|
parent?: unknown;
|
|
27
27
|
onRefresh?: unknown;
|
|
28
28
|
} & {
|
|
29
|
-
mode: "view" | "add" | "edit";
|
|
30
29
|
visible: boolean;
|
|
30
|
+
mode: "view" | "add" | "edit";
|
|
31
31
|
record: Record<string, any>;
|
|
32
32
|
parent: Record<string, any>;
|
|
33
33
|
} & {
|
|
@@ -25,8 +25,8 @@ declare const UpdateEmployeeDialog: import("vue").DefineComponent<{
|
|
|
25
25
|
depId?: unknown;
|
|
26
26
|
onRefresh?: unknown;
|
|
27
27
|
} & {
|
|
28
|
-
mode: "view" | "add" | "edit";
|
|
29
28
|
visible: boolean;
|
|
29
|
+
mode: "view" | "add" | "edit";
|
|
30
30
|
record: Record<string, any>;
|
|
31
31
|
} & {
|
|
32
32
|
onRefresh?: Function | undefined;
|
|
@@ -21,8 +21,8 @@ declare const UpdatePostDialog: import("vue").DefineComponent<{
|
|
|
21
21
|
record?: unknown;
|
|
22
22
|
onRefresh?: unknown;
|
|
23
23
|
} & {
|
|
24
|
-
mode: "view" | "add" | "edit";
|
|
25
24
|
visible: boolean;
|
|
25
|
+
mode: "view" | "add" | "edit";
|
|
26
26
|
record: Record<string, any>;
|
|
27
27
|
} & {
|
|
28
28
|
onRefresh?: Function | undefined;
|
|
@@ -21,8 +21,8 @@ declare const UpdatePostDialog: import("vue").DefineComponent<{
|
|
|
21
21
|
record?: unknown;
|
|
22
22
|
onRefresh?: unknown;
|
|
23
23
|
} & {
|
|
24
|
-
mode: "view" | "add" | "edit";
|
|
25
24
|
visible: boolean;
|
|
25
|
+
mode: "view" | "add" | "edit";
|
|
26
26
|
record: Record<string, any>;
|
|
27
27
|
} & {
|
|
28
28
|
onRefresh?: Function | undefined;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import className from "./className";
|
|
2
|
+
import installComponent from "./installComponent";
|
|
3
|
+
import getSlots from "./getSlots";
|
|
4
|
+
declare const utils: {
|
|
5
|
+
className: (classNames: string | string[]) => string | string[];
|
|
6
|
+
installComponent: (component: any, name: string) => import("@vue/runtime-core").Plugin;
|
|
7
|
+
getSlots: (_context: import("vue").SetupContext<import("vue").EmitsOptions>) => Record<string, () => import("@vue/runtime-core").Plugin | import("vue").Slot>;
|
|
8
|
+
};
|
|
9
|
+
export { className, installComponent, getSlots };
|
|
10
|
+
export default utils;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "inl-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "工业 pc ui库",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "./dist/types/src/index.d.ts",
|
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
"author": "bhabgs",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"scripts": {
|
|
11
|
-
"dev": "cross-env NODE_ENV=dev rollup -c conf/rollup.config.ts -w"
|
|
11
|
+
"dev": "cross-env NODE_ENV=dev rollup -c conf/rollup.config.ts -w",
|
|
12
|
+
"build": "rollup -c conf/rollup.config.ts && node conf/cp.js",
|
|
13
|
+
"bb": "rollup -c conf/rollup.config.ts && "
|
|
12
14
|
},
|
|
13
15
|
"devDependencies": {
|
|
14
16
|
"@babel/core": "^7.16.5",
|