@webitel/ui-sdk 25.8.29 → 25.8.30
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/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +471 -185
- package/dist/ui-sdk.umd.cjs +558 -558
- package/package.json +1 -2
- package/src/api/clients/roles/{roles.js → roles.ts} +35 -52
- package/src/css/main.scss +0 -12
- package/src/locale/es/es.js +560 -127
- package/src/locale/i18n.js +8 -0
- package/src/locale/kz/kz.js +320 -236
- package/src/locale/pl/pl.js +718 -0
- package/src/locale/ro/ro.js +719 -0
- package/src/locale/uz/uz.js +718 -0
- package/src/locale/vi/vi.js +719 -0
- package/src/modules/ObjectPermissions/_internals/components/permissions-tab-role-popup.vue +1 -1
- package/types/api/clients/roles/roles.d.ts +27 -39
- package/types/locale/es/es.d.ts +715 -40
- package/types/locale/i18n.d.ts +4447 -353
- package/types/locale/kz/kz.d.ts +360 -226
- package/types/locale/pl/pl.d.ts +920 -0
- package/types/locale/ro/ro.d.ts +920 -0
- package/types/locale/uz/uz.d.ts +920 -0
- package/types/locale/vi/vi.d.ts +920 -0
|
@@ -1,40 +1,28 @@
|
|
|
1
|
+
declare const RolesAPI: {
|
|
2
|
+
getList: (params: any) => Promise<{
|
|
3
|
+
items: any;
|
|
4
|
+
next: any;
|
|
5
|
+
}>;
|
|
6
|
+
get: ({ itemId: id }: {
|
|
7
|
+
itemId: any;
|
|
8
|
+
}) => Promise<any>;
|
|
9
|
+
add: ({ itemInstance }: {
|
|
10
|
+
itemInstance: any;
|
|
11
|
+
}) => Promise<any>;
|
|
12
|
+
update: ({ itemInstance, itemId: id }: {
|
|
13
|
+
itemInstance: any;
|
|
14
|
+
itemId: any;
|
|
15
|
+
}) => Promise<any>;
|
|
16
|
+
delete: ({ id }: {
|
|
17
|
+
id: any;
|
|
18
|
+
}) => Promise<any>;
|
|
19
|
+
getLookup: (params: any) => Promise<{
|
|
20
|
+
items: any;
|
|
21
|
+
next: any;
|
|
22
|
+
}>;
|
|
23
|
+
getPermissionsOptions: (params: any) => Promise<{
|
|
24
|
+
items: any;
|
|
25
|
+
next: any;
|
|
26
|
+
}>;
|
|
27
|
+
};
|
|
1
28
|
export default RolesAPI;
|
|
2
|
-
declare namespace RolesAPI {
|
|
3
|
-
export { getRoleList as getList };
|
|
4
|
-
export { getRole as get };
|
|
5
|
-
export { addRole as add };
|
|
6
|
-
export { updateRole as update };
|
|
7
|
-
export { deleteRole as delete };
|
|
8
|
-
export { getRolesLookup as getLookup };
|
|
9
|
-
export { getExtendedRoles };
|
|
10
|
-
export { getPermissionsOptions };
|
|
11
|
-
}
|
|
12
|
-
declare function getRoleList(params: any): Promise<{
|
|
13
|
-
items: any;
|
|
14
|
-
next: any;
|
|
15
|
-
}>;
|
|
16
|
-
declare function getRole({ itemId: id }: {
|
|
17
|
-
itemId: any;
|
|
18
|
-
}): Promise<any>;
|
|
19
|
-
declare function addRole({ itemInstance }: {
|
|
20
|
-
itemInstance: any;
|
|
21
|
-
}): Promise<any>;
|
|
22
|
-
declare function updateRole({ itemInstance, itemId: id }: {
|
|
23
|
-
itemInstance: any;
|
|
24
|
-
itemId: any;
|
|
25
|
-
}): Promise<any>;
|
|
26
|
-
declare function deleteRole({ id }: {
|
|
27
|
-
id: any;
|
|
28
|
-
}): Promise<any>;
|
|
29
|
-
declare function getRolesLookup(params: any): Promise<{
|
|
30
|
-
items: any;
|
|
31
|
-
next: any;
|
|
32
|
-
}>;
|
|
33
|
-
declare function getExtendedRoles(params: any): Promise<{
|
|
34
|
-
items: any;
|
|
35
|
-
next: any;
|
|
36
|
-
}>;
|
|
37
|
-
declare function getPermissionsOptions(params: any): Promise<{
|
|
38
|
-
items: any;
|
|
39
|
-
next: any;
|
|
40
|
-
}>;
|