nuxeo-development-framework 3.3.2 → 3.3.3
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/bundles/nuxeo-development-framework.umd.js +2540 -2503
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/Core/services/roles/roles.service.js +20 -5
- package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.js +17 -5
- package/fesm2015/nuxeo-development-framework.js +216 -179
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/Core/services/roles/roles.service.d.ts +7 -1
- package/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1,11 +1,17 @@
|
|
|
1
|
+
import { GlobalAdminService } from "../../../shared-services/global-admin.service";
|
|
2
|
+
import { NuxeoService } from "../nuxeo/nuxeo.service";
|
|
1
3
|
import * as i0 from "@angular/core";
|
|
2
4
|
export declare class RolesService {
|
|
3
5
|
private environment;
|
|
4
|
-
|
|
6
|
+
private globalAdmin;
|
|
7
|
+
private nuxeoService;
|
|
8
|
+
constructor(environment: any, globalAdmin: GlobalAdminService, nuxeoService: NuxeoService);
|
|
5
9
|
getRoleName(role: any, code?: any): string;
|
|
6
10
|
isUserInRole(user: any, role: any, code?: any): boolean;
|
|
7
11
|
getUserRoleName(user: any, code: any): any;
|
|
8
12
|
isUserManagerInDepartment(user: any, code: any): boolean;
|
|
13
|
+
'tenant_Fintech_cts_role_HR_Employee': any;
|
|
14
|
+
"cts_role_secr": any;
|
|
9
15
|
getUserDepartment(currentUser: any, prefix?: string): string;
|
|
10
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<RolesService, never>;
|
|
11
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<RolesService>;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { NuxeoService } from '../../../../../Core/services/nuxeo/nuxeo.service';
|
|
3
|
+
import { GlobalAdminService } from '../../../../../shared-services/global-admin.service';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
/** @ignore */
|
|
5
6
|
export declare class UsersInDepartmentsApiService {
|
|
6
7
|
private nuxeoService;
|
|
7
|
-
|
|
8
|
+
private globalAdmin;
|
|
9
|
+
constructor(nuxeoService: NuxeoService, globalAdmin: GlobalAdminService);
|
|
8
10
|
getAllUsers(params?: {}): Observable<any>;
|
|
9
11
|
getUsersSuggestions(username: string, params?: {}): Observable<any>;
|
|
10
12
|
getCtsUsers(deptTitle: any, params?: {}): Observable<any>;
|