@ajaxjs/ui 1.6.2 → 1.6.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.
@@ -0,0 +1,28 @@
1
+ /**
2
+ * 模块
3
+ */
4
+ type ModuleEntity = {
5
+ id: number;
6
+ /**
7
+ * 名称
8
+ */
9
+ name: string;
10
+ content: string;
11
+ /**
12
+ * 编码
13
+ */
14
+ code: string;
15
+ stat: number;
16
+ createDate: string;
17
+ updateDate: string;
18
+ };
19
+ export type PermissionPanel = {
20
+ isCreate: boolean;
21
+ isShowEditWin: boolean;
22
+ permissionData: ModuleEntity;
23
+ columnsDef: [];
24
+ listData: [];
25
+ list: iViewListData;
26
+ ruleValidate: any;
27
+ };
28
+ export {};
@@ -0,0 +1,44 @@
1
+ export type RolePanel = {
2
+ simpleApi: string;
3
+ /**
4
+ * 角色 API
5
+ */
6
+ roleApi: string;
7
+ /**
8
+ *
9
+ */
10
+ permissionApi: string;
11
+ /**
12
+ *
13
+ */
14
+ isShisShowRoleEditForm: boolean;
15
+ /**
16
+ * 是否显示权限管理器
17
+ */
18
+ isShowPermissionMgr: boolean;
19
+ /**
20
+ * 是否显示权限管理器
21
+ */
22
+ isPermissionMgrPickup: boolean;
23
+ /**
24
+ * 当前角色
25
+ */
26
+ currentRole: any;
27
+ permission: RolePanel_Permission;
28
+ selectedPermissions: [];
29
+ /**
30
+ * 右键菜单数据
31
+ */
32
+ contextData: any;
33
+ roleTreeData: [];
34
+ roleForm: any;
35
+ };
36
+ export type RolePanel_Permission = {
37
+ inheritPermissionList: RolePanel_Permission_ListItem[];
38
+ permissionList: RolePanel_Permission_ListItem[];
39
+ };
40
+ export type RolePanel_Permission_ListItem = {
41
+ id: any;
42
+ name: string;
43
+ isInherit?: boolean;
44
+ };