@mu-cabin/opms-permission 0.8.10 → 0.8.12
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/dist/index.cjs +3 -0
- package/dist/index.d.mts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.mjs +3 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
package/dist/index.d.mts
CHANGED
@@ -49,11 +49,6 @@ interface Option {
|
|
49
49
|
label: string;
|
50
50
|
value: string;
|
51
51
|
}
|
52
|
-
|
53
|
-
interface PermissionOptions {
|
54
|
-
systemId: string;
|
55
|
-
baseUrl: string;
|
56
|
-
}
|
57
52
|
interface OrgTreeItem {
|
58
53
|
label: string;
|
59
54
|
value: string;
|
@@ -65,6 +60,11 @@ interface OrgTreeItem {
|
|
65
60
|
orgType: string;
|
66
61
|
orgId: string;
|
67
62
|
}
|
63
|
+
|
64
|
+
interface PermissionOptions {
|
65
|
+
systemId: string;
|
66
|
+
baseUrl: string;
|
67
|
+
}
|
68
68
|
/**
|
69
69
|
* 组织树处理工具
|
70
70
|
*/
|
@@ -87,6 +87,7 @@ declare const DataHandler: {
|
|
87
87
|
[path: string]: MenuItem;
|
88
88
|
};
|
89
89
|
};
|
90
|
+
getFirstUnitOrgCode(orgTree: OrgTreeItem): string;
|
90
91
|
};
|
91
92
|
declare class Permission {
|
92
93
|
private _userInfo;
|
@@ -178,4 +179,4 @@ declare function jumpToSSOLogout({ baseUrl, redirectToUrl, clientId, }: {
|
|
178
179
|
clientId?: string;
|
179
180
|
}): void;
|
180
181
|
|
181
|
-
export { DataHandler, type MenuItem, Permission as OpmsPermission, type Option, type Resource, type UserInfo, type UserOrganization, jumpToSSOLogin, jumpToSSOLogout };
|
182
|
+
export { DataHandler, type MenuItem, Permission as OpmsPermission, type Option, type OrgTreeItem, type Resource, type UserInfo, type UserOrganization, jumpToSSOLogin, jumpToSSOLogout };
|
package/dist/index.d.ts
CHANGED
@@ -49,11 +49,6 @@ interface Option {
|
|
49
49
|
label: string;
|
50
50
|
value: string;
|
51
51
|
}
|
52
|
-
|
53
|
-
interface PermissionOptions {
|
54
|
-
systemId: string;
|
55
|
-
baseUrl: string;
|
56
|
-
}
|
57
52
|
interface OrgTreeItem {
|
58
53
|
label: string;
|
59
54
|
value: string;
|
@@ -65,6 +60,11 @@ interface OrgTreeItem {
|
|
65
60
|
orgType: string;
|
66
61
|
orgId: string;
|
67
62
|
}
|
63
|
+
|
64
|
+
interface PermissionOptions {
|
65
|
+
systemId: string;
|
66
|
+
baseUrl: string;
|
67
|
+
}
|
68
68
|
/**
|
69
69
|
* 组织树处理工具
|
70
70
|
*/
|
@@ -87,6 +87,7 @@ declare const DataHandler: {
|
|
87
87
|
[path: string]: MenuItem;
|
88
88
|
};
|
89
89
|
};
|
90
|
+
getFirstUnitOrgCode(orgTree: OrgTreeItem): string;
|
90
91
|
};
|
91
92
|
declare class Permission {
|
92
93
|
private _userInfo;
|
@@ -178,4 +179,4 @@ declare function jumpToSSOLogout({ baseUrl, redirectToUrl, clientId, }: {
|
|
178
179
|
clientId?: string;
|
179
180
|
}): void;
|
180
181
|
|
181
|
-
export { DataHandler, type MenuItem, Permission as OpmsPermission, type Option, type Resource, type UserInfo, type UserOrganization, jumpToSSOLogin, jumpToSSOLogout };
|
182
|
+
export { DataHandler, type MenuItem, Permission as OpmsPermission, type Option, type OrgTreeItem, type Resource, type UserInfo, type UserOrganization, jumpToSSOLogin, jumpToSSOLogout };
|
package/dist/index.mjs
CHANGED