@ieeesa-npm/tenants 0.4.2 → 0.4.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/.eslintrc.json +31 -0
- package/ng-package.json +8 -0
- package/package.json +12 -25
- package/src/lib/assets/constants.json +454 -0
- package/src/lib/assets/tenant-validations.ts +18 -0
- package/src/lib/assets/tenants-mock.ts +1240 -0
- package/src/lib/components/create-modify-group-type/create-modify-group-type.component.html +15 -0
- package/src/lib/components/create-modify-group-type/create-modify-group-type.component.scss +44 -0
- package/src/lib/components/create-modify-group-type/create-modify-group-type.component.spec.ts +574 -0
- package/src/lib/components/create-modify-group-type/create-modify-group-type.component.ts +602 -0
- package/src/lib/components/create-modify-role/create-modify-role.component.html +15 -0
- package/src/lib/components/create-modify-role/create-modify-role.component.scss +83 -0
- package/src/lib/components/create-modify-role/create-modify-role.component.spec.ts +346 -0
- package/src/lib/components/create-modify-role/create-modify-role.component.ts +321 -0
- package/src/lib/components/create-tenant-application/create-tenant-application.component.html +18 -0
- package/src/lib/components/create-tenant-application/create-tenant-application.component.scss +73 -0
- package/src/lib/components/create-tenant-application/create-tenant-application.component.spec.ts +775 -0
- package/src/lib/components/create-tenant-application/create-tenant-application.component.ts +638 -0
- package/src/lib/components/roles-and-permissions-mapping/roles-and-permissions-mapping.component.html +22 -0
- package/src/lib/components/roles-and-permissions-mapping/roles-and-permissions-mapping.component.scss +79 -0
- package/src/lib/components/roles-and-permissions-mapping/roles-and-permissions-mapping.component.spec.ts +716 -0
- package/src/lib/components/roles-and-permissions-mapping/roles-and-permissions-mapping.component.ts +504 -0
- package/src/lib/components/tenant-basic-details/tenant-basic-details.component.html +44 -0
- package/src/lib/components/tenant-basic-details/tenant-basic-details.component.scss +16 -0
- package/src/lib/components/tenant-basic-details/tenant-basic-details.component.spec.ts +115 -0
- package/src/lib/components/tenant-basic-details/tenant-basic-details.component.ts +109 -0
- package/src/lib/components/view-tenant-details/view-tenant-details.component.html +195 -0
- package/src/lib/components/view-tenant-details/view-tenant-details.component.scss +163 -0
- package/src/lib/components/view-tenant-details/view-tenant-details.component.spec.ts +1221 -0
- package/src/lib/components/view-tenant-details/view-tenant-details.component.ts +876 -0
- package/src/lib/components/view-tenant-group-types/view-tenant-group-types.component.html +10 -0
- package/src/lib/components/view-tenant-group-types/view-tenant-group-types.component.scss +44 -0
- package/src/lib/components/view-tenant-group-types/view-tenant-group-types.component.spec.ts +410 -0
- package/src/lib/components/view-tenant-group-types/view-tenant-group-types.component.ts +219 -0
- package/src/lib/components/view-tenants-list/view-tenants-list.component.html +32 -0
- package/src/lib/components/view-tenants-list/view-tenants-list.component.scss +35 -0
- package/src/lib/components/view-tenants-list/view-tenants-list.component.spec.ts +464 -0
- package/src/lib/components/view-tenants-list/view-tenants-list.component.ts +388 -0
- package/src/lib/models/app-type-config.model.ts +14 -0
- package/src/lib/models/app-type.model.ts +5 -0
- package/src/lib/models/create-group-type-config.model.ts +18 -0
- package/src/lib/models/create-group-type.model.ts +46 -0
- package/src/lib/models/feature-permission-id.model.ts +6 -0
- package/src/lib/models/features.model.ts +15 -0
- package/src/lib/models/form-status.model.ts +5 -0
- package/src/lib/models/permission-type.model.ts +9 -0
- package/src/lib/models/role-menu-action.model.ts +5 -0
- package/src/lib/models/role-type.model.ts +34 -0
- package/src/lib/models/roles-and-permissions-table-type.model.ts +5 -0
- package/src/lib/models/roles-and-permissions.model.ts +113 -0
- package/src/lib/models/route-config.model.ts +4 -0
- package/src/lib/models/table-column-schema-view-tenant-list.model.ts +21 -0
- package/src/lib/models/tenant-function-type.model.ts +10 -0
- package/src/lib/models/tenant.model.ts +47 -0
- package/src/lib/models/tenants-permission.model.ts +9 -0
- package/src/lib/models/update-tenant-status.model.ts +12 -0
- package/src/lib/models/view-tenant-group-types.model.ts +34 -0
- package/src/lib/services/tenant-applications.service.spec.ts +1245 -0
- package/src/lib/services/tenant-applications.service.ts +798 -0
- package/src/lib/services/tenant-permissions-map.service.spec.ts +25 -0
- package/src/lib/services/tenant-permissions-map.service.ts +28 -0
- package/src/lib/services/tenant-permissions.service.spec.ts +62 -0
- package/src/lib/services/tenant-permissions.service.ts +49 -0
- package/src/lib/tenant-applications.component.html +0 -0
- package/src/lib/tenant-applications.component.scss +0 -0
- package/src/lib/tenant-applications.component.spec.ts +28 -0
- package/src/lib/tenant-applications.component.ts +12 -0
- package/src/lib/tenant-applications.module.ts +8 -0
- package/{public-api.d.ts → src/public-api.ts} +40 -30
- package/tsconfig.lib.json +14 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/esm2022/ieeesa-npm-tenants.mjs +0 -5
- package/esm2022/lib/assets/constants.json +0 -390
- package/esm2022/lib/assets/tenant-validations.mjs +0 -13
- package/esm2022/lib/components/create-modify-role/create-modify-role.component.mjs +0 -280
- package/esm2022/lib/components/create-tenant-application/create-tenant-application.component.mjs +0 -512
- package/esm2022/lib/components/roles-and-permissions-mapping/roles-and-permissions-mapping.component.mjs +0 -391
- package/esm2022/lib/components/tenant-basic-details/tenant-basic-details.component.mjs +0 -95
- package/esm2022/lib/components/view-tenant-details/view-tenant-details.component.mjs +0 -708
- package/esm2022/lib/components/view-tenant-group-types/view-tenant-group-types.component.mjs +0 -174
- package/esm2022/lib/components/view-tenants-list/view-tenants-list.component.mjs +0 -334
- package/esm2022/lib/models/app-type-config.model.mjs +0 -2
- package/esm2022/lib/models/app-type.model.mjs +0 -7
- package/esm2022/lib/models/feature-permission-id.model.mjs +0 -8
- package/esm2022/lib/models/features.model.mjs +0 -2
- package/esm2022/lib/models/form-status.model.mjs +0 -7
- package/esm2022/lib/models/permission-type.model.mjs +0 -12
- package/esm2022/lib/models/role-menu-action.model.mjs +0 -7
- package/esm2022/lib/models/role-type.model.mjs +0 -2
- package/esm2022/lib/models/roles-and-permissions-table-type.model.mjs +0 -7
- package/esm2022/lib/models/roles-and-permissions.model.mjs +0 -2
- package/esm2022/lib/models/route-config.model.mjs +0 -2
- package/esm2022/lib/models/table-column-schema-view-tenant-list.model.mjs +0 -16
- package/esm2022/lib/models/tenant-function-type.model.mjs +0 -10
- package/esm2022/lib/models/tenant.model.mjs +0 -2
- package/esm2022/lib/models/tenants-permission.model.mjs +0 -2
- package/esm2022/lib/models/update-tenant-status.model.mjs +0 -2
- package/esm2022/lib/models/view-tenant-group-types.model.mjs +0 -9
- package/esm2022/lib/services/tenant-applications.service.mjs +0 -542
- package/esm2022/lib/services/tenant-permissions-map.service.mjs +0 -36
- package/esm2022/lib/services/tenant-permissions.service.mjs +0 -38
- package/esm2022/lib/tenant-applications.component.mjs +0 -14
- package/esm2022/lib/tenant-applications.module.mjs +0 -16
- package/esm2022/public-api.mjs +0 -34
- package/fesm2022/ieeesa-npm-tenants.mjs +0 -3565
- package/fesm2022/ieeesa-npm-tenants.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/assets/tenant-validations.d.ts +0 -11
- package/lib/components/create-modify-role/create-modify-role.component.d.ts +0 -103
- package/lib/components/create-tenant-application/create-tenant-application.component.d.ts +0 -128
- package/lib/components/roles-and-permissions-mapping/roles-and-permissions-mapping.component.d.ts +0 -106
- package/lib/components/tenant-basic-details/tenant-basic-details.component.d.ts +0 -408
- package/lib/components/view-tenant-details/view-tenant-details.component.d.ts +0 -216
- package/lib/components/view-tenant-group-types/view-tenant-group-types.component.d.ts +0 -58
- package/lib/components/view-tenants-list/view-tenants-list.component.d.ts +0 -134
- package/lib/models/app-type-config.model.d.ts +0 -14
- package/lib/models/app-type.model.d.ts +0 -4
- package/lib/models/feature-permission-id.model.d.ts +0 -4
- package/lib/models/features.model.d.ts +0 -15
- package/lib/models/form-status.model.d.ts +0 -4
- package/lib/models/permission-type.model.d.ts +0 -8
- package/lib/models/role-menu-action.model.d.ts +0 -4
- package/lib/models/role-type.model.d.ts +0 -27
- package/lib/models/roles-and-permissions-table-type.model.d.ts +0 -4
- package/lib/models/roles-and-permissions.model.d.ts +0 -119
- package/lib/models/route-config.model.d.ts +0 -4
- package/lib/models/table-column-schema-view-tenant-list.model.d.ts +0 -20
- package/lib/models/tenant-function-type.model.d.ts +0 -7
- package/lib/models/tenant.model.d.ts +0 -51
- package/lib/models/tenants-permission.model.d.ts +0 -9
- package/lib/models/update-tenant-status.model.d.ts +0 -14
- package/lib/models/view-tenant-group-types.model.d.ts +0 -27
- package/lib/services/tenant-applications.service.d.ts +0 -357
- package/lib/services/tenant-permissions-map.service.d.ts +0 -13
- package/lib/services/tenant-permissions.service.d.ts +0 -22
- package/lib/tenant-applications.component.d.ts +0 -5
- package/lib/tenant-applications.module.d.ts +0 -6
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TestBed } from '@angular/core/testing';
|
|
2
|
+
import { TenantPermissionsMapService } from './tenant-permissions-map.service';
|
|
3
|
+
import { TenantsMocks } from '../assets/tenants-mock';
|
|
4
|
+
describe('TenantPermissionsMapService', () => {
|
|
5
|
+
let service: TenantPermissionsMapService;
|
|
6
|
+
beforeEach(() => {
|
|
7
|
+
TestBed.configureTestingModule({});
|
|
8
|
+
service = TestBed.inject(TenantPermissionsMapService);
|
|
9
|
+
});
|
|
10
|
+
it('should be created', () => {
|
|
11
|
+
expect(service).toBeTruthy();
|
|
12
|
+
});
|
|
13
|
+
describe('#getGlobalTenantsPermissions', () => {
|
|
14
|
+
it('should return global tenants permissions', () => {
|
|
15
|
+
spyOn(service, 'getGlobalTenantsPermissions').and.returnValue(
|
|
16
|
+
TenantsMocks.mockGlobalTenantsPermissions
|
|
17
|
+
);
|
|
18
|
+
const globalTenantPermissionsResponse =
|
|
19
|
+
service.getGlobalTenantsPermissions();
|
|
20
|
+
expect(globalTenantPermissionsResponse).toEqual(
|
|
21
|
+
TenantsMocks.mockGlobalTenantsPermissions
|
|
22
|
+
);
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { PermissionType } from '../models/permission-type.model';
|
|
3
|
+
import { TenantsPermissions } from '../models/tenants-permission.model';
|
|
4
|
+
@Injectable({
|
|
5
|
+
providedIn: 'root',
|
|
6
|
+
})
|
|
7
|
+
export class TenantPermissionsMapService {
|
|
8
|
+
globalTenantsPermissions: TenantsPermissions[] = [
|
|
9
|
+
{
|
|
10
|
+
permissionType: PermissionType.VIEW_TENANTS,
|
|
11
|
+
permissionId: 'PERM_1a2dbbb5-5fe1-4261-85b1-a5373f41075a',
|
|
12
|
+
permissionName: 'View Tenant Applications',
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
permissionType: PermissionType.MANAGE_TENANT,
|
|
16
|
+
permissionId: 'PERM_315c49ec-f79a-4dcd-9795-6f97838c8c83',
|
|
17
|
+
permissionName: 'Manage (Create, Edit, Disable) Tenant Application',
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
/**
|
|
21
|
+
* Returns global permissions mapping for tenants.
|
|
22
|
+
* @return {TenantsPermissions[]}
|
|
23
|
+
* @memberof TenantsPermissionsMapService
|
|
24
|
+
*/
|
|
25
|
+
getGlobalTenantsPermissions(): TenantsPermissions[] {
|
|
26
|
+
return this.globalTenantsPermissions;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { TestBed } from '@angular/core/testing';
|
|
2
|
+
import { TenantPermissionsService } from './tenant-permissions.service';
|
|
3
|
+
import { PermissionType } from '../models/permission-type.model';
|
|
4
|
+
import { TenantsMocks } from '../assets/tenants-mock';
|
|
5
|
+
import { TenantPermissionsMapService } from './tenant-permissions-map.service';
|
|
6
|
+
describe('TenantPermissionsService', () => {
|
|
7
|
+
let service: TenantPermissionsService;
|
|
8
|
+
let tenantPermissionsMapService: TenantPermissionsMapService;
|
|
9
|
+
beforeEach(() => {
|
|
10
|
+
TestBed.configureTestingModule({
|
|
11
|
+
providers: [TenantPermissionsMapService],
|
|
12
|
+
});
|
|
13
|
+
service = TestBed.inject(TenantPermissionsService);
|
|
14
|
+
tenantPermissionsMapService = TestBed.inject(TenantPermissionsMapService);
|
|
15
|
+
});
|
|
16
|
+
it('should be created', () => {
|
|
17
|
+
expect(service).toBeTruthy();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
describe('#validateAccessPermission', () => {
|
|
21
|
+
it('should validate the user is authorized to MANAGE_TENANT and returns true', () => {
|
|
22
|
+
expect(
|
|
23
|
+
service.validateAccessPermission(PermissionType.MANAGE_TENANT, [
|
|
24
|
+
{
|
|
25
|
+
permissionType: PermissionType.MANAGE_TENANT,
|
|
26
|
+
permissionName: 'View Tenant Applications',
|
|
27
|
+
permissionId: 'PERM_1a2dbbb5-5fe1-4261-85b1-a5373f41075a',
|
|
28
|
+
},
|
|
29
|
+
])
|
|
30
|
+
).toBeTrue();
|
|
31
|
+
});
|
|
32
|
+
it('should validate the user is not authorized to MANAGE_TENANT if tenant permission is empty then returns false', () => {
|
|
33
|
+
expect(
|
|
34
|
+
service.validateAccessPermission(PermissionType.MANAGE_TENANT, [])
|
|
35
|
+
).toBeFalsy();
|
|
36
|
+
});
|
|
37
|
+
it('should validate the user is authorized to VIEW_TENANTS and returns true', () => {
|
|
38
|
+
expect(
|
|
39
|
+
service.validateAccessPermission(
|
|
40
|
+
PermissionType.VIEW_TENANTS,
|
|
41
|
+
TenantsMocks.mockGlobalTenantsPermissions
|
|
42
|
+
)
|
|
43
|
+
).toBeTruthy();
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
describe('#filterTenantsPermissions', () => {
|
|
48
|
+
it('should filter tenants permissions as per user access', () => {
|
|
49
|
+
spyOn(
|
|
50
|
+
tenantPermissionsMapService,
|
|
51
|
+
'getGlobalTenantsPermissions'
|
|
52
|
+
).and.returnValue(TenantsMocks.mockGlobalTenantsPermissions);
|
|
53
|
+
const tenantsPermissionsResponse = service.filterTenantsPermissions(
|
|
54
|
+
TenantsMocks.mockUserPermissions,
|
|
55
|
+
TenantsMocks.mockGlobalTenantsPermissions
|
|
56
|
+
);
|
|
57
|
+
expect(tenantsPermissionsResponse).toEqual(
|
|
58
|
+
TenantsMocks.mockGlobalTenantsPermissions
|
|
59
|
+
);
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
});
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { PermissionType } from '../models/permission-type.model';
|
|
3
|
+
import {
|
|
4
|
+
UserPermission,
|
|
5
|
+
TenantsPermissions,
|
|
6
|
+
} from '../models/tenants-permission.model';
|
|
7
|
+
@Injectable({
|
|
8
|
+
providedIn: 'root',
|
|
9
|
+
})
|
|
10
|
+
export class TenantPermissionsService {
|
|
11
|
+
/**
|
|
12
|
+
* Returns access provision for the passed action/feature based on whether the signed in user has appropriate permission.
|
|
13
|
+
* @param {PermissionType} permission
|
|
14
|
+
* @param {TenantsPermission[]} tenantsPermissions
|
|
15
|
+
* @return {boolean}
|
|
16
|
+
* @memberof TenantPermissionsService
|
|
17
|
+
*/
|
|
18
|
+
validateAccessPermission(
|
|
19
|
+
permission: PermissionType,
|
|
20
|
+
userTenantsPermissions: TenantsPermissions[]
|
|
21
|
+
): boolean {
|
|
22
|
+
const isPermitted =
|
|
23
|
+
userTenantsPermissions && userTenantsPermissions.length
|
|
24
|
+
? userTenantsPermissions?.some(
|
|
25
|
+
({ permissionType }) => permissionType === permission
|
|
26
|
+
)
|
|
27
|
+
: false;
|
|
28
|
+
return isPermitted;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Filters signed in user tenants permissions from entire tenants permissions.
|
|
32
|
+
* @param { UserPermission[] }
|
|
33
|
+
* @return {TenantsPermissions[]}
|
|
34
|
+
* @memberof TenantPermissionsService
|
|
35
|
+
*/
|
|
36
|
+
filterTenantsPermissions(
|
|
37
|
+
userPermissions: UserPermission[],
|
|
38
|
+
tenantsPermissions: TenantsPermissions[]
|
|
39
|
+
): TenantsPermissions[] {
|
|
40
|
+
const userTenantsPermission = tenantsPermissions?.filter(
|
|
41
|
+
(permission: TenantsPermissions) => {
|
|
42
|
+
return userPermissions?.find(
|
|
43
|
+
({ permissionId }) => permission?.permissionId === permissionId
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
return userTenantsPermission;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
import { TenantApplicationsComponent } from './tenant-applications.component';
|
|
3
|
+
import { MatDialogModule } from '@angular/material/dialog';
|
|
4
|
+
import { TenantApplicationsService } from './services/tenant-applications.service';
|
|
5
|
+
import { HttpClientTestingModule } from '@angular/common/http/testing';
|
|
6
|
+
import { AlertsService } from '@ieeesa-npm/utility';
|
|
7
|
+
|
|
8
|
+
describe('TenantApplicationsComponent', () => {
|
|
9
|
+
let component: TenantApplicationsComponent;
|
|
10
|
+
let fixture: ComponentFixture<TenantApplicationsComponent>;
|
|
11
|
+
|
|
12
|
+
beforeEach(() => {
|
|
13
|
+
TestBed.configureTestingModule({
|
|
14
|
+
imports: [
|
|
15
|
+
TenantApplicationsComponent,
|
|
16
|
+
MatDialogModule,
|
|
17
|
+
HttpClientTestingModule,
|
|
18
|
+
],
|
|
19
|
+
providers: [TenantApplicationsService, AlertsService],
|
|
20
|
+
});
|
|
21
|
+
fixture = TestBed.createComponent(TenantApplicationsComponent);
|
|
22
|
+
component = fixture.componentInstance;
|
|
23
|
+
fixture.detectChanges();
|
|
24
|
+
});
|
|
25
|
+
it('should create', () => {
|
|
26
|
+
expect(component).toBeTruthy();
|
|
27
|
+
});
|
|
28
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* eslint-disable no-empty-function */
|
|
2
|
+
import { Component } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
5
|
+
@Component({
|
|
6
|
+
selector: 'ieeesa-tenant-applications',
|
|
7
|
+
standalone: true,
|
|
8
|
+
imports: [CommonModule, MatButtonModule],
|
|
9
|
+
templateUrl: './tenant-applications.component.html',
|
|
10
|
+
styleUrls: ['./tenant-applications.component.scss'],
|
|
11
|
+
})
|
|
12
|
+
export class TenantApplicationsComponent {}
|
|
@@ -1,30 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export * from './lib/
|
|
5
|
-
export * from './lib/components/tenant-
|
|
6
|
-
export * from './lib/components/create-
|
|
7
|
-
export * from './lib/
|
|
8
|
-
export * from './lib/components/
|
|
9
|
-
export * from './lib/
|
|
10
|
-
export * from './lib/
|
|
11
|
-
export * from './lib/
|
|
12
|
-
export * from './lib/
|
|
13
|
-
|
|
14
|
-
export * from './lib/models/
|
|
15
|
-
export * from './lib/models/
|
|
16
|
-
export * from './lib/models/
|
|
17
|
-
export * from './lib/models/
|
|
18
|
-
export * from './lib/models/
|
|
19
|
-
export * from './lib/models/
|
|
20
|
-
export * from './lib/models/
|
|
21
|
-
export * from './lib/models/
|
|
22
|
-
export * from './lib/models/
|
|
23
|
-
export * from './lib/models/roles-and-permissions
|
|
24
|
-
export * from './lib/models/
|
|
25
|
-
export * from './lib/
|
|
26
|
-
export * from './lib/
|
|
27
|
-
export * from './lib/
|
|
28
|
-
export * from './lib/
|
|
29
|
-
export * from './lib/tenant-
|
|
30
|
-
export * from './lib/models/
|
|
1
|
+
/*
|
|
2
|
+
* Public API Surface of tenants
|
|
3
|
+
*/
|
|
4
|
+
export * from './lib/components/view-tenants-list/view-tenants-list.component';
|
|
5
|
+
export * from './lib/components/view-tenant-details/view-tenant-details.component';
|
|
6
|
+
export * from './lib/components/create-tenant-application/create-tenant-application.component';
|
|
7
|
+
export * from './lib/tenant-applications.component';
|
|
8
|
+
export * from './lib/components/tenant-basic-details/tenant-basic-details.component';
|
|
9
|
+
export * from './lib/components/create-modify-role/create-modify-role.component';
|
|
10
|
+
export * from './lib/components/roles-and-permissions-mapping/roles-and-permissions-mapping.component';
|
|
11
|
+
export * from './lib/components/view-tenant-group-types/view-tenant-group-types.component';
|
|
12
|
+
export * from './lib/components/create-modify-group-type/create-modify-group-type.component';
|
|
13
|
+
|
|
14
|
+
export * from './lib/models/app-type-config.model';
|
|
15
|
+
export * from './lib/models/app-type.model';
|
|
16
|
+
export * from './lib/models/tenant.model';
|
|
17
|
+
export * from './lib/models/features.model';
|
|
18
|
+
export * from './lib/models/form-status.model';
|
|
19
|
+
export * from './lib/models/permission-type.model';
|
|
20
|
+
export * from './lib/models/tenants-permission.model';
|
|
21
|
+
export * from './lib/models/route-config.model';
|
|
22
|
+
export * from './lib/models/table-column-schema-view-tenant-list.model';
|
|
23
|
+
export * from './lib/models/roles-and-permissions.model';
|
|
24
|
+
export * from './lib/models/update-tenant-status.model';
|
|
25
|
+
export * from './lib/models/tenant-function-type.model';
|
|
26
|
+
export * from './lib/models/role-type.model';
|
|
27
|
+
export * from './lib/models/role-menu-action.model';
|
|
28
|
+
export * from './lib/models/roles-and-permissions-table-type.model';
|
|
29
|
+
export * from './lib/models/view-tenant-group-types.model';
|
|
30
|
+
export * from './lib/models/create-group-type.model';
|
|
31
|
+
export * from './lib/models/create-group-type-config.model';
|
|
32
|
+
|
|
33
|
+
export * from './lib/services/tenant-applications.service';
|
|
34
|
+
export * from './lib/services/tenant-permissions-map.service';
|
|
35
|
+
export * from './lib/services/tenant-permissions.service';
|
|
36
|
+
|
|
37
|
+
export * from './lib/assets/tenant-validations';
|
|
38
|
+
|
|
39
|
+
export * from './lib/tenant-applications.module';
|
|
40
|
+
export * from './lib/models/feature-permission-id.model';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "../../tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "../../out-tsc/lib",
|
|
6
|
+
"declaration": true,
|
|
7
|
+
"declarationMap": true,
|
|
8
|
+
"inlineSources": true,
|
|
9
|
+
"types": []
|
|
10
|
+
},
|
|
11
|
+
"exclude": [
|
|
12
|
+
"**/*.spec.ts"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "../../tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "../../out-tsc/spec",
|
|
6
|
+
"types": [
|
|
7
|
+
"jasmine"
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"**/*.spec.ts",
|
|
12
|
+
"**/*.d.ts"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWVlZXNhLW5wbS10ZW5hbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvdGVuYW50cy9zcmMvaWVlZXNhLW5wbS10ZW5hbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG4iXX0=
|