@bnsights/bbsf-admin-portal 1.0.0 → 1.0.5
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/bnsights-bbsf-admin-portal-1.0.5.tgz +0 -0
- package/bundles/bnsights-bbsf-admin-portal.umd.js +19694 -20386
- package/bundles/bnsights-bbsf-admin-portal.umd.js.map +1 -1
- package/esm2015/lib/Pages/_layout/components/aside/aside-menu/aside-menu.component.js +2 -2
- package/esm2015/lib/Pages/account/account-routing.module.js +3 -1
- package/esm2015/lib/Pages/account/account.component.js +15 -6
- package/esm2015/lib/Pages/account/account.module.js +16 -8
- package/esm2015/lib/Pages/account/forgot-password/forgot-password.component.js +48 -0
- package/esm2015/lib/Pages/configurations/configuration/configuration.component.js +392 -387
- package/esm2015/lib/Pages/core/authentication/auth.service.js +1 -2
- package/esm2015/lib/Pages/departments/department/department.component.js +59 -98
- package/esm2015/lib/Pages/departments/department-info/department-info.component.js +85 -94
- package/esm2015/lib/Pages/departments/departments.module.js +4 -1
- package/esm2015/lib/Pages/helpCenter/help-center/help-center.component.js +224 -223
- package/esm2015/lib/Pages/helpCenter/help-center-secondlevel/help-center-secondlevel.component.js +137 -146
- package/esm2015/lib/Pages/helpCenter/help-center-thirdlevel/help-center-thirdlevel.component.js +136 -153
- package/esm2015/lib/Pages/home/home.component.js +32 -26
- package/esm2015/lib/Pages/home/home.module.js +5 -10
- package/esm2015/lib/Pages/impersonation-rules/impersonation-rules/impersonation-rules.component.js +336 -317
- package/esm2015/lib/Pages/jobs/jobs/jobs.component.js +168 -227
- package/esm2015/lib/Pages/license/license/license.component.js +68 -99
- package/esm2015/lib/Pages/localizations/localizations.component.js +378 -341
- package/esm2015/lib/Pages/logs/log/log.component.js +18 -27
- package/esm2015/lib/Pages/lookups/lookup/lookup.component.js +297 -288
- package/esm2015/lib/Pages/lookups/lookup-group/lookup-group.component.js +143 -165
- package/esm2015/lib/Pages/lookups/lookup-item/lookup-item.component.js +234 -233
- package/esm2015/lib/Pages/lookups/lookups-routing.module.js +2 -2
- package/esm2015/lib/Pages/notifications/add/add.component.js +83 -76
- package/esm2015/lib/Pages/notifications/edit/edit.component.js +60 -63
- package/esm2015/lib/Pages/notifications/edit-email/edit-email.component.js +128 -126
- package/esm2015/lib/Pages/notifications/edit-sms/edit-sms.component.js +87 -85
- package/esm2015/lib/Pages/notifications/master-layouts/master-layouts.component.js +57 -58
- package/esm2015/lib/Pages/notifications/notifications-routing.module.js +1 -3
- package/esm2015/lib/Pages/notifications/notifications.module.js +3 -4
- package/esm2015/lib/Pages/notifications/template-info/template-info.component.js +232 -228
- package/esm2015/lib/Pages/notifications/templates/templates.component.js +347 -310
- package/esm2015/lib/Pages/providers/provider/provider.component.js +54 -52
- package/esm2015/lib/Pages/publicHolidays/public-holiday/public-holiday.component.js +268 -270
- package/esm2015/lib/Pages/roles/permission-set-info/permission-set-info.component.js +136 -152
- package/esm2015/lib/Pages/roles/permissions/permissions.component.js +182 -218
- package/esm2015/lib/Pages/roles/permissionsets/permissionsets.component.js +219 -254
- package/esm2015/lib/Pages/sectors/department-info/department-info.component.js +134 -142
- package/esm2015/lib/Pages/sectors/sector/sector.component.js +127 -144
- package/esm2015/lib/Pages/sectors/sector-info/sector-info.component.js +123 -139
- package/esm2015/lib/Pages/shared/Enums/ConfigurationScope.js +8 -0
- package/esm2015/lib/Pages/shared/Enums/ConfigurationType.js +8 -0
- package/esm2015/lib/Pages/shared/Enums/ConfigurationValueSource.js +6 -0
- package/esm2015/lib/Pages/shared/Enums/ParticipantType.js +8 -0
- package/esm2015/lib/Pages/shared/Services/AccountService.service.js +21 -0
- package/esm2015/lib/Pages/shared/Services/ConfigurationsService.service.js +15 -12
- package/esm2015/lib/Pages/shared/Services/DepartmentService.service.js +5 -8
- package/esm2015/lib/Pages/shared/Services/EmailHeaderAndFooterTemplateService.Service.js +10 -9
- package/esm2015/lib/Pages/shared/Services/HelpCenterService.service.js +10 -7
- package/esm2015/lib/Pages/shared/Services/ImpersonationRuleService.service.js +14 -8
- package/esm2015/lib/Pages/shared/Services/LicenseService.service.js +3 -3
- package/esm2015/lib/Pages/shared/Services/LogsService.js +1 -1
- package/esm2015/lib/Pages/shared/Services/LookupGroupsService.service.js +11 -5
- package/esm2015/lib/Pages/shared/Services/LookupService.service.js +31 -15
- package/esm2015/lib/Pages/shared/Services/PermissionSetService.service.js +18 -8
- package/esm2015/lib/Pages/shared/Services/PermissionsService.service.js +12 -9
- package/esm2015/lib/Pages/shared/Services/PublicHolidayService.service.js +9 -3
- package/esm2015/lib/Pages/shared/Services/SectorService.service.js +18 -13
- package/esm2015/lib/Pages/shared/Services/TemplateService.service.js +36 -29
- package/esm2015/lib/Pages/shared/Services/localizationsService.service .js +23 -13
- package/esm2015/lib/Pages/shared/Services/provider.service.js +5 -7
- package/esm2015/lib/Pages/shared/Services/userService.service.js +10 -2
- package/esm2015/lib/Pages/shared/models/AccountModels/forgotPasswordModel.js +6 -0
- package/esm2015/lib/Pages/shared/models/ConfigurationModels/ConfigurationModel.js +1 -1
- package/esm2015/lib/Pages/shared/models/DepartmentModels/DepartmentUsersIDRequestModel.js +1 -1
- package/esm2015/lib/Pages/shared/models/ImpersonationRuleModels/ImpersonationRuleModel.js +1 -1
- package/esm2015/lib/Pages/shared/models/Lookups/LookupItem.js +1 -1
- package/esm2015/lib/Pages/shared/models/Lookups/LookupModel.js +1 -2
- package/esm2015/lib/Pages/shared/models/PermissionsModels/PermissionSetUsersIDRequestModel.js +1 -1
- package/esm2015/lib/Pages/shared/models/SectorModels/SectorDepartmentModel.js +1 -1
- package/esm2015/lib/Pages/users/users.component.js +398 -409
- package/esm2015/lib/masterlayout-routing.module.js +5 -4
- package/esm2015/lib/masterlayout.component.js +22 -32
- package/esm2015/lib/masterlayout.module.js +25 -19
- package/fesm2015/bnsights-bbsf-admin-portal.js +17295 -17401
- package/fesm2015/bnsights-bbsf-admin-portal.js.map +1 -1
- package/lib/Pages/account/account.component.d.ts +5 -1
- package/lib/Pages/account/account.module.d.ts +8 -6
- package/lib/Pages/account/forgot-password/forgot-password.component.d.ts +20 -0
- package/lib/Pages/configurations/configuration/configuration.component.d.ts +39 -31
- package/lib/Pages/departments/department/department.component.d.ts +19 -15
- package/lib/Pages/departments/department-info/department-info.component.d.ts +31 -28
- package/lib/Pages/helpCenter/help-center/help-center.component.d.ts +34 -32
- package/lib/Pages/helpCenter/help-center-secondlevel/help-center-secondlevel.component.d.ts +31 -34
- package/lib/Pages/helpCenter/help-center-thirdlevel/help-center-thirdlevel.component.d.ts +30 -35
- package/lib/Pages/home/home.component.d.ts +4 -4
- package/lib/Pages/impersonation-rules/impersonation-rules/impersonation-rules.component.d.ts +43 -42
- package/lib/Pages/jobs/jobs/jobs.component.d.ts +56 -62
- package/lib/Pages/license/license/license.component.d.ts +25 -23
- package/lib/Pages/localizations/localizations.component.d.ts +77 -65
- package/lib/Pages/logs/log/log.component.d.ts +7 -11
- package/lib/Pages/lookups/lookup/lookup.component.d.ts +64 -59
- package/lib/Pages/lookups/lookup-group/lookup-group.component.d.ts +44 -45
- package/lib/Pages/lookups/lookup-item/lookup-item.component.d.ts +62 -56
- package/lib/Pages/notifications/add/add.component.d.ts +13 -11
- package/lib/Pages/notifications/edit/edit.component.d.ts +14 -14
- package/lib/Pages/notifications/edit-email/edit-email.component.d.ts +18 -20
- package/lib/Pages/notifications/edit-sms/edit-sms.component.d.ts +15 -16
- package/lib/Pages/notifications/master-layouts/master-layouts.component.d.ts +24 -25
- package/lib/Pages/notifications/notifications.module.d.ts +15 -16
- package/lib/Pages/notifications/template-info/template-info.component.d.ts +32 -32
- package/lib/Pages/notifications/templates/templates.component.d.ts +54 -46
- package/lib/Pages/providers/provider/provider.component.d.ts +13 -12
- package/lib/Pages/publicHolidays/public-holiday/public-holiday.component.d.ts +29 -27
- package/lib/Pages/roles/permission-set-info/permission-set-info.component.d.ts +39 -40
- package/lib/Pages/roles/permissions/permissions.component.d.ts +49 -54
- package/lib/Pages/roles/permissionsets/permissionsets.component.d.ts +53 -55
- package/lib/Pages/sectors/department-info/department-info.component.d.ts +41 -44
- package/lib/Pages/sectors/sector/sector.component.d.ts +35 -33
- package/lib/Pages/sectors/sector-info/sector-info.component.d.ts +40 -44
- package/lib/Pages/shared/Enums/ConfigurationScope.d.ts +5 -0
- package/lib/Pages/shared/Enums/ConfigurationType.d.ts +6 -0
- package/lib/Pages/shared/Enums/ConfigurationValueSource.d.ts +4 -0
- package/lib/Pages/shared/Enums/ParticipantType.d.ts +6 -0
- package/lib/Pages/shared/Services/AccountService.service.d.ts +10 -0
- package/lib/Pages/shared/Services/ConfigurationsService.service.d.ts +7 -8
- package/lib/Pages/shared/Services/DepartmentService.service.d.ts +2 -2
- package/lib/Pages/shared/Services/EmailHeaderAndFooterTemplateService.Service.d.ts +5 -5
- package/lib/Pages/shared/Services/HelpCenterService.service.d.ts +2 -1
- package/lib/Pages/shared/Services/ImpersonationRuleService.service.d.ts +5 -5
- package/lib/Pages/shared/Services/LicenseService.service.d.ts +2 -2
- package/lib/Pages/shared/Services/LookupGroupsService.service.d.ts +4 -4
- package/lib/Pages/shared/Services/LookupService.service.d.ts +14 -11
- package/lib/Pages/shared/Services/PermissionSetService.service.d.ts +8 -7
- package/lib/Pages/shared/Services/PermissionsService.service.d.ts +5 -6
- package/lib/Pages/shared/Services/PublicHolidayService.service.d.ts +2 -2
- package/lib/Pages/shared/Services/SectorService.service.d.ts +7 -7
- package/lib/Pages/shared/Services/TemplateService.service.d.ts +20 -19
- package/lib/Pages/shared/Services/localizationsService.service .d.ts +12 -11
- package/lib/Pages/shared/Services/provider.service.d.ts +1 -1
- package/lib/Pages/shared/Services/userService.service.d.ts +2 -0
- package/lib/Pages/shared/models/AccountModels/forgotPasswordModel.d.ts +3 -0
- package/lib/Pages/shared/models/ConfigurationModels/ConfigurationModel.d.ts +0 -1
- package/lib/Pages/shared/models/DepartmentModels/DepartmentUsersIDRequestModel.d.ts +1 -1
- package/lib/Pages/shared/models/ImpersonationRuleModels/ImpersonationRuleModel.d.ts +0 -2
- package/lib/Pages/shared/models/Lookups/LookupModel.d.ts +1 -1
- package/lib/Pages/shared/models/PermissionsModels/PermissionSetUsersIDRequestModel.d.ts +1 -1
- package/lib/Pages/shared/models/SectorModels/SectorDepartmentModel.d.ts +1 -1
- package/lib/Pages/users/users.component.d.ts +54 -68
- package/lib/masterlayout.component.d.ts +4 -5
- package/lib/masterlayout.module.d.ts +8 -9
- package/package.json +5 -3
- package/src/lib/assets/sass/core/components/_variables.scss +1 -1
- package/src/lib/assets/sass/custom-styles-rtl.scss +5 -0
- package/src/lib/assets/sass/custom-styles.scss +153 -0
- package/src/lib/assets/sass/style-rtl.scss +2 -0
- package/src/lib/assets/sass/style.scss +2 -2
- package/bnsights-bbsf-admin-portal-0.0.1.tgz +0 -0
- package/bnsights-bbsf-admin-portal-1.0.0.tgz +0 -0
- package/esm2015/lib/Pages/notifications/edit-template/edit-template.component.js +0 -35
- package/lib/Pages/notifications/edit-template/edit-template.component.d.ts +0 -35
|
@@ -1,60 +1,59 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { ActivatedRoute } from '@angular/router';
|
|
4
|
-
import { FilterItem, PagingOptions, TagsInputOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
4
|
+
import { ConfirmationModalOptions, FilterItem, FormOptions, PagingOptions, TagsInputOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
5
5
|
import { PageInfoService } from '../../../_metronic/core/services/page-info.service';
|
|
6
|
-
import { DataSecretService } from '../../shared/Services/data.service';
|
|
7
6
|
import { PermissionSetService } from '../../shared/Services/PermissionSetService.service';
|
|
8
7
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
9
|
-
import { AuthService, UtilityService,
|
|
8
|
+
import { AuthService, UtilityService, RequestHandlerService } from '@bnsights/bbsf-utilities';
|
|
9
|
+
import { PermissionSetModel } from './../../shared/models/PermissionsModels/PermissionSetModel';
|
|
10
|
+
import { PagingComponent } from '@bnsights/bbsf-controls/lib/controls/Paging/Paging.component';
|
|
11
|
+
import { Observable } from 'rxjs';
|
|
12
|
+
import { ConfirmationModalComponent } from '@bnsights/bbsf-controls/lib/controls/ConfirmationModal/ConfirmationModal.component';
|
|
10
13
|
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class PermissionSetInfoComponent implements OnInit {
|
|
14
|
+
export declare class PermissionSetInfoComponent implements OnInit, OnDestroy {
|
|
12
15
|
private pageInfoService;
|
|
13
16
|
utilityService: UtilityService;
|
|
14
|
-
private bbsfTranslateService;
|
|
15
|
-
private environmentService;
|
|
16
17
|
private activatedRoute;
|
|
17
|
-
private dataServices;
|
|
18
18
|
private authService;
|
|
19
|
-
private
|
|
19
|
+
private permissionSetService;
|
|
20
20
|
private modalService;
|
|
21
|
+
private requestHandlerService;
|
|
21
22
|
ApiUrl: string;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
Url: string;
|
|
25
|
-
ShowToolbar: boolean;
|
|
26
|
-
ShowbreadCrumb: boolean;
|
|
23
|
+
PermissionSetId: string;
|
|
24
|
+
PermissionSet: PermissionSetModel;
|
|
27
25
|
searchTextBox: TextBoxOptions;
|
|
28
|
-
|
|
26
|
+
permissionSetIdTextBox: TextBoxOptions;
|
|
29
27
|
filterForm: FormGroup;
|
|
30
|
-
|
|
28
|
+
userPermissionSetForm: FormGroup;
|
|
31
29
|
showFilter: boolean;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
ngOnInit(): Promise<void>;
|
|
49
|
-
ReinitializeUserPermissionSetPaging(): void;
|
|
50
|
-
UpdateUserPermissionSetPaging(): void;
|
|
30
|
+
userPermissionSetPagingResult: any[];
|
|
31
|
+
filteredUserPermissionSetPagingResult: any[];
|
|
32
|
+
userPermissionSetPaging: PagingOptions;
|
|
33
|
+
textInputFilter: FilterItem;
|
|
34
|
+
permissionSetIdTextInputFilter: FilterItem;
|
|
35
|
+
isFilterLoaded: boolean;
|
|
36
|
+
pagingElement: PagingComponent;
|
|
37
|
+
addUsersToPermissionSetForm: FormGroup;
|
|
38
|
+
addUsersToPermissionSetFormOptions: FormOptions;
|
|
39
|
+
userAutoComplete: TagsInputOptions;
|
|
40
|
+
deleteUserId: string;
|
|
41
|
+
deleteConfirmationOptions: ConfirmationModalOptions;
|
|
42
|
+
deleteControlLoaded: boolean;
|
|
43
|
+
ConfirmationModalControl: ConfirmationModalComponent;
|
|
44
|
+
constructor(pageInfoService: PageInfoService, utilityService: UtilityService, activatedRoute: ActivatedRoute, authService: AuthService, permissionSetService: PermissionSetService, modalService: NgbModal, requestHandlerService: RequestHandlerService);
|
|
45
|
+
ngOnInit(): void;
|
|
51
46
|
setUserPermissionSetListResult(result: any): void;
|
|
52
47
|
resetFilters(): void;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
48
|
+
loadBreadCrumpData(): void;
|
|
49
|
+
initializePage(): void;
|
|
50
|
+
showAddUserToPermissionSetModal(addUserToDepartmentModal: any): void;
|
|
51
|
+
getAddUserToPermissionSetModel: () => any[];
|
|
52
|
+
getAddUserToPermissionSetFunction: (AddModel: any) => Observable<any>;
|
|
53
|
+
showDeleteUserFromPermissionSetModal(encryptedUserId: string): void;
|
|
54
|
+
deleteUserFromPermissionSet: (deleteUserId: string, PerSetId: string) => Observable<any>;
|
|
55
|
+
filterUserList(searchValue: any): void;
|
|
56
|
+
ngOnDestroy(): void;
|
|
58
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionSetInfoComponent, never>;
|
|
59
58
|
static ɵcmp: i0.ɵɵComponentDeclaration<PermissionSetInfoComponent, "lib-permission-set-info", never, {}, {}, never, never>;
|
|
60
59
|
}
|
|
@@ -1,71 +1,66 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { DropdownOptions, FilterItem, MultiLingualTextBoxOptions, PagingOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
4
|
-
import { NgBlockUI } from 'ng-block-ui';
|
|
3
|
+
import { ConfirmationModalOptions, DropdownOptions, FilterItem, FormOptions, MultiLingualTextBoxOptions, PagingOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
5
4
|
import { PageInfoService } from '../../../_metronic/core/services/page-info.service';
|
|
6
|
-
import { DataSecretService } from '../../shared/Services/data.service';
|
|
7
5
|
import { PermissionsService } from './../../shared/Services/PermissionsService.service';
|
|
8
|
-
import {
|
|
6
|
+
import { UtilityService, EnvironmentService, RequestHandlerService } from '@bnsights/bbsf-utilities';
|
|
7
|
+
import { PagingComponent } from '@bnsights/bbsf-controls/lib/controls/Paging/Paging.component';
|
|
8
|
+
import { Observable } from 'rxjs';
|
|
9
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
10
|
+
import { ConfirmationModalComponent } from '@bnsights/bbsf-controls/lib/controls/ConfirmationModal/ConfirmationModal.component';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
10
12
|
export declare class PermissionsComponent implements OnInit {
|
|
11
13
|
private pageInfoService;
|
|
12
14
|
utilityService: UtilityService;
|
|
13
|
-
private bbsfTranslateService;
|
|
14
15
|
private environmentService;
|
|
15
|
-
private
|
|
16
|
-
private
|
|
17
|
-
private
|
|
16
|
+
private modalService;
|
|
17
|
+
private permissionsService;
|
|
18
|
+
private requestHandlerService;
|
|
18
19
|
ApiUrl: string;
|
|
19
|
-
|
|
20
|
-
ShowToolbar: boolean;
|
|
21
|
-
ShowbreadCrumb: boolean;
|
|
20
|
+
ProductionMode: boolean;
|
|
22
21
|
searchTextBox: TextBoxOptions;
|
|
23
|
-
|
|
22
|
+
organizationList: any[];
|
|
24
23
|
filterForm: FormGroup;
|
|
25
|
-
|
|
24
|
+
permissionsForm: FormGroup;
|
|
26
25
|
showFilter: boolean;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
CloseConfirmationModal: ElementRef;
|
|
53
|
-
blockUI: NgBlockUI;
|
|
54
|
-
ShowPageContent: boolean;
|
|
55
|
-
language: string;
|
|
56
|
-
constructor(pageInfoService: PageInfoService, utilityService: UtilityService, bbsfTranslateService: BBSFTranslateService, environmentService: EnvironmentService, dataServices: DataSecretService, authService: AuthService, PermissionsService: PermissionsService);
|
|
57
|
-
ngOnInit(): Promise<void>;
|
|
58
|
-
ReinitializePermissionsPaging(): void;
|
|
59
|
-
UpdatePermissionsPaging(): void;
|
|
26
|
+
permissionsPagingResult: any[];
|
|
27
|
+
filteredPermissionsPagingResult: any[];
|
|
28
|
+
permissionsPaging: PagingOptions;
|
|
29
|
+
textInputFilter: FilterItem;
|
|
30
|
+
isFilterLoaded: boolean;
|
|
31
|
+
pagingElement: PagingComponent;
|
|
32
|
+
addPermissionForm: FormGroup;
|
|
33
|
+
addPermissionFormOptions: FormOptions;
|
|
34
|
+
multiLingualName: MultiLingualTextBoxOptions;
|
|
35
|
+
sysName: TextBoxOptions;
|
|
36
|
+
organization: DropdownOptions;
|
|
37
|
+
isAddPermissionFormLoaded: boolean;
|
|
38
|
+
editPermissionForm: FormGroup;
|
|
39
|
+
editPermissionFormOptions: FormOptions;
|
|
40
|
+
editMultiLingualName: MultiLingualTextBoxOptions;
|
|
41
|
+
editSysName: TextBoxOptions;
|
|
42
|
+
editOrganization: DropdownOptions;
|
|
43
|
+
isEditPermissionModelLoaded: boolean;
|
|
44
|
+
editPermissionId: number;
|
|
45
|
+
deletedPermissionId: string;
|
|
46
|
+
deleteConfirmationOptions: ConfirmationModalOptions;
|
|
47
|
+
deleteControlLoaded: boolean;
|
|
48
|
+
ConfirmationModalControl: ConfirmationModalComponent;
|
|
49
|
+
constructor(pageInfoService: PageInfoService, utilityService: UtilityService, environmentService: EnvironmentService, modalService: NgbModal, permissionsService: PermissionsService, requestHandlerService: RequestHandlerService);
|
|
50
|
+
ngOnInit(): void;
|
|
60
51
|
setPermissionsListResult(result: any): void;
|
|
61
52
|
resetFilters(): void;
|
|
62
|
-
|
|
63
|
-
showAddPermissionModal(): void;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
53
|
+
initializePage(): void;
|
|
54
|
+
showAddPermissionModal(addPermissionModal: any): void;
|
|
55
|
+
getAddPermissionModel: () => any[];
|
|
56
|
+
getAddPermissionFunction: (AddPermissionModel: any) => Observable<any>;
|
|
57
|
+
showEditPermissionModal(permissionID: string, editPermissionModal: any): void;
|
|
58
|
+
getEditPermissionModel: () => any[];
|
|
59
|
+
getEditPermissionFunction: (EditPermissionModel: any) => Observable<any>;
|
|
60
|
+
showDeletePermissionModal(PermissionId: string): void;
|
|
61
|
+
deletePermissionFunction: (id: string) => Observable<any>;
|
|
62
|
+
filterPermissionList(searchValue: any): void;
|
|
63
|
+
ngOnDestroy(): void;
|
|
69
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionsComponent, never>;
|
|
70
65
|
static ɵcmp: i0.ɵɵComponentDeclaration<PermissionsComponent, "lib-permissions", never, {}, {}, never, never>;
|
|
71
66
|
}
|
|
@@ -1,72 +1,70 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { DropdownOptions, FilterItem, MultiLingualTextBoxOptions, PagingOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
4
|
-
import { NgBlockUI } from 'ng-block-ui';
|
|
3
|
+
import { ConfirmationModalOptions, DropdownOptions, FilterItem, FormOptions, MultiLingualTextBoxOptions, PagingOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
5
4
|
import { PageInfoService } from '../../../_metronic/core/services/page-info.service';
|
|
6
|
-
import { DataSecretService } from '../../shared/Services/data.service';
|
|
7
|
-
import { PermissionSetService } from '../../shared/Services/PermissionSetService.service';
|
|
8
5
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
9
|
-
import {
|
|
6
|
+
import { UtilityService, EnvironmentService, RequestHandlerService } from '@bnsights/bbsf-utilities';
|
|
7
|
+
import { PagingComponent } from '@bnsights/bbsf-controls/lib/controls/Paging/Paging.component';
|
|
8
|
+
import { Observable } from 'rxjs';
|
|
9
|
+
import { PermissionSetService } from '../../shared/Services/PermissionSetService.service';
|
|
10
|
+
import { ConfirmationModalComponent } from '@bnsights/bbsf-controls/lib/controls/ConfirmationModal/ConfirmationModal.component';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class PermissionsetsComponent implements OnInit {
|
|
12
|
+
export declare class PermissionsetsComponent implements OnInit, OnDestroy {
|
|
12
13
|
private pageInfoService;
|
|
13
14
|
utilityService: UtilityService;
|
|
14
|
-
private bbsfTranslateService;
|
|
15
15
|
private environmentService;
|
|
16
|
-
private
|
|
17
|
-
private authService;
|
|
18
|
-
private PermissionSetService;
|
|
16
|
+
private permissionSetService;
|
|
19
17
|
private modalService;
|
|
20
|
-
|
|
21
|
-
ShowToolbar: boolean;
|
|
22
|
-
ShowbreadCrumb: boolean;
|
|
18
|
+
private requestHandlerService;
|
|
23
19
|
ApiUrl: string;
|
|
20
|
+
ProductionMode: boolean;
|
|
24
21
|
searchTextBox: TextBoxOptions;
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
permissionList: any[];
|
|
23
|
+
organizationList: any[];
|
|
27
24
|
filterForm: FormGroup;
|
|
28
|
-
|
|
25
|
+
permissionSetForm: FormGroup;
|
|
29
26
|
showFilter: boolean;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
constructor(pageInfoService: PageInfoService, utilityService: UtilityService,
|
|
57
|
-
ngOnInit():
|
|
58
|
-
|
|
59
|
-
ReinitializePermissionSetPaging(): void;
|
|
60
|
-
UpdatePermissionSetPaging(): void;
|
|
27
|
+
permissionSetPagingResult: any[];
|
|
28
|
+
filteredPermissionSetPagingResult: any[];
|
|
29
|
+
permissionSetPaging: PagingOptions;
|
|
30
|
+
textInputFilter: FilterItem;
|
|
31
|
+
isFilterLoaded: boolean;
|
|
32
|
+
pagingElement: PagingComponent;
|
|
33
|
+
addPermissionSetForm: FormGroup;
|
|
34
|
+
addPermissionSetFormOptions: FormOptions;
|
|
35
|
+
multiLingualName: MultiLingualTextBoxOptions;
|
|
36
|
+
sysName: TextBoxOptions;
|
|
37
|
+
activeDirectoryGroup: TextBoxOptions;
|
|
38
|
+
permissions: DropdownOptions;
|
|
39
|
+
organization: DropdownOptions;
|
|
40
|
+
editPermissionSetForm: FormGroup;
|
|
41
|
+
editPermissionSetFormOptions: FormOptions;
|
|
42
|
+
editMultiLingualName: MultiLingualTextBoxOptions;
|
|
43
|
+
editSysName: TextBoxOptions;
|
|
44
|
+
editActiveDirectoryGroup: TextBoxOptions;
|
|
45
|
+
editPermissions: DropdownOptions;
|
|
46
|
+
editOrganization: DropdownOptions;
|
|
47
|
+
permissionSetId: string;
|
|
48
|
+
editPermissionSetId: number;
|
|
49
|
+
deletedPermissionSetId: string;
|
|
50
|
+
deleteConfirmationOptions: ConfirmationModalOptions;
|
|
51
|
+
deleteControlLoaded: boolean;
|
|
52
|
+
ConfirmationModalControl: ConfirmationModalComponent;
|
|
53
|
+
constructor(pageInfoService: PageInfoService, utilityService: UtilityService, environmentService: EnvironmentService, permissionSetService: PermissionSetService, modalService: NgbModal, requestHandlerService: RequestHandlerService);
|
|
54
|
+
ngOnInit(): void;
|
|
55
|
+
initializePage(): void;
|
|
61
56
|
setPermissionSetListResult(result: any): void;
|
|
62
57
|
resetFilters(): void;
|
|
63
|
-
showAddPermissionSetModal(
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
58
|
+
showAddPermissionSetModal(AddPermissionSetModal: any): void;
|
|
59
|
+
getAddPermissionSetModel: () => any[];
|
|
60
|
+
getAddPermissionSetFunction: (AddModel: any) => Observable<any>;
|
|
61
|
+
showEditPermissionSetModal(permissionSetID: string, editPermissionSetModal: any): void;
|
|
62
|
+
getEditPermissionSetModel: () => any[];
|
|
63
|
+
getEditPermissionSetFunction: (EditPermissionSetModel: any) => Observable<any>;
|
|
64
|
+
showDeletePermissionSetModal(PermissionSetId: string): void;
|
|
65
|
+
deletePermissionSet: (id: string) => Observable<any>;
|
|
66
|
+
filterPermissionSetList(searchValue: any): void;
|
|
67
|
+
ngOnDestroy(): void;
|
|
70
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionsetsComponent, never>;
|
|
71
69
|
static ɵcmp: i0.ɵɵComponentDeclaration<PermissionsetsComponent, "lib-permissionsets", never, {}, {}, never, never>;
|
|
72
70
|
}
|
|
@@ -1,67 +1,64 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { ActivatedRoute } from '@angular/router';
|
|
4
|
-
import { FilterItem, PagingOptions, TagsInputOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
4
|
+
import { ConfirmationModalOptions, FilterItem, FormOptions, PagingOptions, TagsInputOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
5
5
|
import { PageInfoService } from '../../../_metronic/core/services/page-info.service';
|
|
6
6
|
import { DepartmentModel } from '../../shared/models/DepartmentModels/DepartmentModel';
|
|
7
|
-
import { DataSecretService } from '../../shared/Services/data.service';
|
|
8
7
|
import { DepartmentService } from '../../shared/Services/DepartmentService.service';
|
|
9
8
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
10
|
-
import { AuthService, UtilityService,
|
|
9
|
+
import { AuthService, UtilityService, EnvironmentService, RequestHandlerService } from '@bnsights/bbsf-utilities';
|
|
10
|
+
import { PagingComponent } from '@bnsights/bbsf-controls/lib/controls/Paging/Paging.component';
|
|
11
|
+
import { Observable } from 'rxjs';
|
|
12
|
+
import { ConfirmationModalComponent } from '@bnsights/bbsf-controls/lib/controls/ConfirmationModal/ConfirmationModal.component';
|
|
11
13
|
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class DepartmentInfoComponent implements OnInit {
|
|
14
|
+
export declare class DepartmentInfoComponent implements OnInit, OnDestroy {
|
|
13
15
|
utilityService: UtilityService;
|
|
14
|
-
private bbsfTranslateService;
|
|
15
16
|
private environmentService;
|
|
16
17
|
private activatedRoute;
|
|
17
|
-
private dataServices;
|
|
18
18
|
private authService;
|
|
19
19
|
private departmentService;
|
|
20
20
|
private pageInfoService;
|
|
21
21
|
private modalService;
|
|
22
|
-
|
|
23
|
-
ShowToolbar: boolean;
|
|
24
|
-
ShowbreadCrumb: boolean;
|
|
25
|
-
ShowBreadcrumbSecond: true;
|
|
26
|
-
BreadcrumbTitle: string;
|
|
27
|
-
BreadcrumbTitleSecond: string;
|
|
28
|
-
Url: string;
|
|
29
|
-
SecondUrl: string;
|
|
22
|
+
private requestHandlerService;
|
|
30
23
|
ApiUrl: string;
|
|
24
|
+
DepartmentId: string;
|
|
25
|
+
Department: DepartmentModel;
|
|
31
26
|
searchTextBox: TextBoxOptions;
|
|
32
|
-
|
|
27
|
+
departmentIdTextBox: TextBoxOptions;
|
|
33
28
|
filterForm: FormGroup;
|
|
34
|
-
|
|
29
|
+
userDepartmentForm: FormGroup;
|
|
35
30
|
showFilter: boolean;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
CloseDeleteUserFromDepartmentModal: ElementRef;
|
|
53
|
-
sectorName: string;
|
|
54
|
-
constructor(utilityService: UtilityService, bbsfTranslateService: BBSFTranslateService, environmentService: EnvironmentService, activatedRoute: ActivatedRoute, dataServices: DataSecretService, authService: AuthService, departmentService: DepartmentService, pageInfoService: PageInfoService, modalService: NgbModal);
|
|
55
|
-
ngOnInit(): Promise<void>;
|
|
56
|
-
ReinitializeUserDepartmentPaging(): void;
|
|
57
|
-
UpdateUserDepartmentPaging(): void;
|
|
31
|
+
userDepartmentPagingResult: any[];
|
|
32
|
+
filteredUserDepartmentPagingResult: any[];
|
|
33
|
+
userDepartmentPaging: PagingOptions;
|
|
34
|
+
textInputFilter: FilterItem;
|
|
35
|
+
departmentIdTextInputFilter: FilterItem;
|
|
36
|
+
isFilterLoaded: boolean;
|
|
37
|
+
pagingElement: PagingComponent;
|
|
38
|
+
addUsersToDepartmentForm: FormGroup;
|
|
39
|
+
addUserToDepartmentFormOptions: FormOptions;
|
|
40
|
+
userAutoComplete: TagsInputOptions;
|
|
41
|
+
deleteUserId: string;
|
|
42
|
+
deleteConfirmationOptions: ConfirmationModalOptions;
|
|
43
|
+
deleteControlLoaded: boolean;
|
|
44
|
+
ConfirmationModalControl: ConfirmationModalComponent;
|
|
45
|
+
constructor(utilityService: UtilityService, environmentService: EnvironmentService, activatedRoute: ActivatedRoute, authService: AuthService, departmentService: DepartmentService, pageInfoService: PageInfoService, modalService: NgbModal, requestHandlerService: RequestHandlerService);
|
|
46
|
+
ngOnInit(): void;
|
|
58
47
|
setUserDepartmentListResult(result: any): void;
|
|
59
48
|
resetFilters(): void;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
49
|
+
loadBreadCrumpData(): void;
|
|
50
|
+
initializePage(): void;
|
|
51
|
+
showAddUserToDepartmentModal(addUserToDepartmentModal: any): void;
|
|
52
|
+
getAddUserToDepartmentModel: () => any[];
|
|
53
|
+
getAddUserToDepartmentFunction: (AddModel: any) => Observable<any>;
|
|
54
|
+
showDeleteUserFromDepartmentModal(encryptedUserId: string): void;
|
|
55
|
+
deleteUserFromDepartment: (deleteUserId: string) => Observable<any>;
|
|
56
|
+
/**FunctionName:filterUserDepartmentList */
|
|
57
|
+
/**Declaration:function to filter user Department List in client-side */
|
|
58
|
+
/**Parameters:*/
|
|
59
|
+
/**searchValue: current value of search box*/
|
|
60
|
+
filterUserDepartmentList(searchValue: any): void;
|
|
61
|
+
ngOnDestroy(): void;
|
|
65
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<DepartmentInfoComponent, never>;
|
|
66
63
|
static ɵcmp: i0.ɵɵComponentDeclaration<DepartmentInfoComponent, "lib-department-info", never, {}, {}, never, never>;
|
|
67
64
|
}
|
|
@@ -1,63 +1,65 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { FilterItem, MultiLingualTextBoxOptions, PagingOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
4
|
-
import { DataSecretService } from '../../shared/Services/data.service';
|
|
3
|
+
import { ConfirmationModalOptions, FilterItem, FormOptions, MultiLingualTextBoxOptions, PagingOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
5
4
|
import { SectorService } from '../../shared/Services/SectorService.service';
|
|
6
|
-
import { NgBlockUI } from 'ng-block-ui';
|
|
7
5
|
import { PageInfoService } from '../../../_metronic/core/services/page-info.service';
|
|
8
6
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
9
|
-
import { AuthService, UtilityService,
|
|
7
|
+
import { AuthService, UtilityService, EnvironmentService, RequestHandlerService } from '@bnsights/bbsf-utilities';
|
|
8
|
+
import { PagingComponent } from '@bnsights/bbsf-controls/lib/controls/Paging/Paging.component';
|
|
9
|
+
import { Observable } from 'rxjs';
|
|
10
|
+
import { ConfirmationModalComponent } from '@bnsights/bbsf-controls/lib/controls/ConfirmationModal/ConfirmationModal.component';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class SectorComponent implements OnInit {
|
|
12
|
+
export declare class SectorComponent implements OnInit, OnDestroy {
|
|
12
13
|
private pageInfoService;
|
|
13
14
|
utilityService: UtilityService;
|
|
14
|
-
private bbsfTranslateService;
|
|
15
15
|
private environmentService;
|
|
16
|
-
private dataServices;
|
|
17
16
|
private authService;
|
|
18
|
-
private
|
|
17
|
+
private sectorService;
|
|
19
18
|
private modalService;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
ShowbreadCrumb: boolean;
|
|
19
|
+
private requestHandlerService;
|
|
20
|
+
ProductionMode: boolean;
|
|
23
21
|
ApiUrl: string;
|
|
24
22
|
searchTextBox: TextBoxOptions;
|
|
25
23
|
SectorForm: FormGroup;
|
|
26
24
|
showFilter: boolean;
|
|
27
|
-
|
|
25
|
+
sectorPagingResult: any[];
|
|
26
|
+
filteredSectorPagingResult: any[];
|
|
28
27
|
SectorPaging: PagingOptions;
|
|
29
28
|
TextInputFilter: FilterItem;
|
|
30
29
|
IsFilterLoaded: boolean;
|
|
31
|
-
|
|
32
|
-
input: ElementRef;
|
|
30
|
+
pagingElement: PagingComponent;
|
|
33
31
|
AddSectorForm: FormGroup;
|
|
32
|
+
AddSectorFormOptions: FormOptions;
|
|
34
33
|
MultiLingualName: MultiLingualTextBoxOptions;
|
|
35
34
|
IsAddSectorFormLoaded: boolean;
|
|
36
|
-
CloseSectorModal: ElementRef;
|
|
37
35
|
EditSectorForm: FormGroup;
|
|
36
|
+
EditSectorFormOptions: FormOptions;
|
|
38
37
|
EditMultiLingualName: MultiLingualTextBoxOptions;
|
|
39
38
|
IsEditSectorModelLoaded: boolean;
|
|
40
39
|
SectorId: number;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
constructor(pageInfoService: PageInfoService, utilityService: UtilityService, bbsfTranslateService: BBSFTranslateService, environmentService: EnvironmentService, dataServices: DataSecretService, authService: AuthService, SectorService: SectorService, modalService: NgbModal);
|
|
49
|
-
ngOnInit(): Promise<void>;
|
|
50
|
-
LoadList(): void;
|
|
51
|
-
ReinitializeSectorPaging(): void;
|
|
52
|
-
UpdateSectorPaging(): void;
|
|
40
|
+
deleteSectorId: string;
|
|
41
|
+
DeleteConfirmationOptions: ConfirmationModalOptions;
|
|
42
|
+
deleteControlLoaded: boolean;
|
|
43
|
+
ConfirmationModalControl: ConfirmationModalComponent;
|
|
44
|
+
constructor(pageInfoService: PageInfoService, utilityService: UtilityService, environmentService: EnvironmentService, authService: AuthService, sectorService: SectorService, modalService: NgbModal, requestHandlerService: RequestHandlerService);
|
|
45
|
+
ngOnInit(): void;
|
|
46
|
+
initializePage(): void;
|
|
53
47
|
setSectorListResult(result: any): void;
|
|
54
48
|
resetFilters(): void;
|
|
55
49
|
showAddSectorModal(AddSectorModal: any): void;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
50
|
+
getAddSectorModel: () => any[];
|
|
51
|
+
getAddSectorFunction: (AddModel: any) => Observable<any>;
|
|
52
|
+
showEditSectorModal(sectorID: string, editSectorModal: any): void;
|
|
53
|
+
getEditSectorModel: () => any[];
|
|
54
|
+
getEditSectorFunction: (EditModel: any) => Observable<any>;
|
|
55
|
+
showDeleteSectorModal(sectorId: string): void;
|
|
56
|
+
deleteSector: (id: string) => Observable<any>;
|
|
57
|
+
/**FunctionName:filterSectorList*/
|
|
58
|
+
/**Declaration:function to filter SectorList in client-side */
|
|
59
|
+
/**Parameters:*/
|
|
60
|
+
/**searchValue: current value of search box*/
|
|
61
|
+
filterSectorList(searchValue: any): void;
|
|
62
|
+
ngOnDestroy(): void;
|
|
61
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<SectorComponent, never>;
|
|
62
64
|
static ɵcmp: i0.ɵɵComponentDeclaration<SectorComponent, "lib-sector", never, {}, {}, never, never>;
|
|
63
65
|
}
|