@bnsights/bbsf-admin-portal 1.0.3 → 1.0.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/bundles/bnsights-bbsf-admin-portal.umd.js +19591 -20432
- 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/configurations/configuration/configuration.component.js +407 -421
- package/esm2015/lib/Pages/departments/department/department.component.js +45 -83
- 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 +379 -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 +53 -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/ParticipantType.js +8 -0
- package/esm2015/lib/Pages/shared/Services/ConfigurationsService.service.js +15 -12
- package/esm2015/lib/Pages/shared/Services/DepartmentService.service.js +4 -5
- 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/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 +397 -409
- package/esm2015/lib/masterlayout-routing.module.js +5 -4
- package/esm2015/lib/masterlayout.component.js +23 -32
- package/esm2015/lib/masterlayout.module.js +25 -19
- package/fesm2015/bnsights-bbsf-admin-portal.js +17328 -17584
- package/fesm2015/bnsights-bbsf-admin-portal.js.map +1 -1
- package/lib/Pages/configurations/configuration/configuration.component.d.ts +31 -27
- package/lib/Pages/departments/department/department.component.d.ts +12 -11
- 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/ParticipantType.d.ts +6 -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/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 +3 -3
- package/src/lib/assets/sass/custom-styles.scss +115 -0
- package/src/lib/assets/sass/style-rtl.scss +2 -0
- package/src/lib/assets/sass/style.scss +2 -2
- 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,81 +1,86 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { CheckBoxOptions, DropdownOptions, FilterItem, MultiLingualTextAreaOptions, MultiLingualTextBoxOptions, PagingOptions, TextAreaOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
4
|
-
import { NgBlockUI } from 'ng-block-ui';
|
|
3
|
+
import { CheckBoxOptions, ConfirmationModalOptions, DropdownOptions, FilterItem, FormOptions, MultiLingualTextAreaOptions, MultiLingualTextBoxOptions, PagingOptions, TextAreaOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
5
4
|
import { ClipboardService } from 'ngx-clipboard';
|
|
6
5
|
import { PageInfoService } from '../../../_metronic/core/services/page-info.service';
|
|
7
6
|
import { LookupService } from '../../shared/Services/LookupService.service';
|
|
8
7
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
9
|
-
import {
|
|
8
|
+
import { UtilityService, EnvironmentService, RequestHandlerService } from '@bnsights/bbsf-utilities';
|
|
9
|
+
import { PagingComponent } from '@bnsights/bbsf-controls/lib/controls/Paging/Paging.component';
|
|
10
|
+
import { Observable } from 'rxjs';
|
|
11
|
+
import { ConfirmationModalComponent } from '@bnsights/bbsf-controls/lib/controls/ConfirmationModal/ConfirmationModal.component';
|
|
10
12
|
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class LookupComponent implements OnInit {
|
|
12
|
-
private authService;
|
|
13
|
+
export declare class LookupComponent implements OnInit, OnDestroy {
|
|
13
14
|
private pageInfoService;
|
|
14
15
|
utilityService: UtilityService;
|
|
15
|
-
private bbsfTranslateService;
|
|
16
16
|
private environmentService;
|
|
17
17
|
private _clipboardService;
|
|
18
|
-
private
|
|
18
|
+
private lookupService;
|
|
19
19
|
private modalService;
|
|
20
|
+
private requestHandlerService;
|
|
20
21
|
ApiUrl: string;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
LookupGroupsOptions: DropdownOptions;
|
|
22
|
+
ProductionMode: boolean;
|
|
23
|
+
Lookup: any;
|
|
24
|
+
lookupGroupsOptions: DropdownOptions;
|
|
25
25
|
searchTextBox: TextBoxOptions;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
LookupForm: FormGroup;
|
|
26
|
+
selectedLookupList: any[];
|
|
27
|
+
lookupGroupsList: any[];
|
|
28
|
+
lookupForm: FormGroup;
|
|
30
29
|
showFilter: boolean;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
deletedLookupId:
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
constructor(
|
|
62
|
-
ngOnInit():
|
|
63
|
-
ReinitializeTemplatePaging(): void;
|
|
64
|
-
UpdateTemplatePaging(): void;
|
|
30
|
+
lookupPagingResult: any[];
|
|
31
|
+
filteredLookupPagingResult: any[];
|
|
32
|
+
lookupPaging: PagingOptions;
|
|
33
|
+
lookupGroupFilter: FilterItem;
|
|
34
|
+
textInputFilter: FilterItem;
|
|
35
|
+
isFilterLoaded: boolean;
|
|
36
|
+
pagingElement: PagingComponent;
|
|
37
|
+
addLookupForm: FormGroup;
|
|
38
|
+
addLookupFormOptions: FormOptions;
|
|
39
|
+
multiLingualName: MultiLingualTextBoxOptions;
|
|
40
|
+
multiLingualDescription: MultiLingualTextAreaOptions;
|
|
41
|
+
sysName: TextBoxOptions;
|
|
42
|
+
lookupGroups: DropdownOptions;
|
|
43
|
+
isManageable: CheckBoxOptions;
|
|
44
|
+
editLookupForm: FormGroup;
|
|
45
|
+
editLookupFormOptions: FormOptions;
|
|
46
|
+
lookupId: number;
|
|
47
|
+
editMultiLingualName: MultiLingualTextBoxOptions;
|
|
48
|
+
editMultiLingualDescription: MultiLingualTextAreaOptions;
|
|
49
|
+
editSysName: TextBoxOptions;
|
|
50
|
+
editLookupGroups: DropdownOptions;
|
|
51
|
+
editIsManageable: CheckBoxOptions;
|
|
52
|
+
deletedLookupId: string;
|
|
53
|
+
deleteConfirmationOptions: ConfirmationModalOptions;
|
|
54
|
+
deleteControlLoaded: boolean;
|
|
55
|
+
ConfirmationModalControl: ConfirmationModalComponent;
|
|
56
|
+
generateCodeForm: FormGroup;
|
|
57
|
+
generateCodeFormOptions: FormOptions;
|
|
58
|
+
generateCodeTextArea: TextAreaOptions;
|
|
59
|
+
valueToCopy: string;
|
|
60
|
+
constructor(pageInfoService: PageInfoService, utilityService: UtilityService, environmentService: EnvironmentService, _clipboardService: ClipboardService, lookupService: LookupService, modalService: NgbModal, requestHandlerService: RequestHandlerService);
|
|
61
|
+
ngOnInit(): void;
|
|
65
62
|
setLookupListResult(result: any): void;
|
|
66
63
|
resetFilters(): void;
|
|
67
|
-
|
|
68
|
-
showAddLookupModal(
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
64
|
+
initializePage(): void;
|
|
65
|
+
showAddLookupModal(addLookupModal: any): void;
|
|
66
|
+
getAddLookupModel: () => any[];
|
|
67
|
+
getAddLookupFunction: (AddModel: any) => Observable<any>;
|
|
68
|
+
showEditLookupModal(lookupID: any, editLookupModal: any): void;
|
|
69
|
+
getEditLookupModel: () => any[];
|
|
70
|
+
getEditLookupFunction: (EditModel: any) => Observable<any>;
|
|
71
|
+
showDeleteLookupModal(lookupId: string): void;
|
|
72
|
+
deleteLookup: (id: string) => Observable<any>;
|
|
74
73
|
copyInputMessage(): void;
|
|
75
74
|
showGenerateCodeAllModal(GenerateCodeModal: any): void;
|
|
76
75
|
showGenerateApplicationEnumsModal(GenerateCodeModal: any): void;
|
|
77
|
-
|
|
78
|
-
showGenerateCodeByIdModal(
|
|
76
|
+
showGenerateSysNameModal(GenerateCodeModal: any): void;
|
|
77
|
+
showGenerateCodeByIdModal(lookupId: any, GenerateCodeModal: any): void;
|
|
78
|
+
/**FunctionName:filterLookupList*/
|
|
79
|
+
/**Declaration:function to filter Lookup in client-side */
|
|
80
|
+
/**Parameters:*/
|
|
81
|
+
/**searchValue: current value of search box*/
|
|
82
|
+
filterLookupList(searchValue: any): void;
|
|
83
|
+
ngOnDestroy(): void;
|
|
79
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<LookupComponent, never>;
|
|
80
85
|
static ɵcmp: i0.ɵɵComponentDeclaration<LookupComponent, "lib-lookup", never, {}, {}, never, never>;
|
|
81
86
|
}
|
|
@@ -1,62 +1,61 @@
|
|
|
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 { NgBlockUI } from 'ng-block-ui';
|
|
3
|
+
import { ConfirmationModalOptions, FilterItem, FormOptions, MultiLingualTextBoxOptions, PagingOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
5
4
|
import { PageInfoService } from '../../../_metronic/core/services/page-info.service';
|
|
6
5
|
import { LookupGroupsService } from '../../shared/Services/LookupGroupsService.service';
|
|
7
6
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
8
|
-
import {
|
|
7
|
+
import { UtilityService, 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';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class LookupGroupComponent implements OnInit {
|
|
11
|
-
private authService;
|
|
12
|
+
export declare class LookupGroupComponent implements OnInit, OnDestroy {
|
|
12
13
|
private pageInfoService;
|
|
13
14
|
utilityService: UtilityService;
|
|
14
|
-
private
|
|
15
|
-
private environmentService;
|
|
16
|
-
private LookupGroupsService;
|
|
15
|
+
private lookupGroupsService;
|
|
17
16
|
private modalService;
|
|
18
|
-
|
|
19
|
-
ShowToolbar: boolean;
|
|
20
|
-
ShowbreadCrumb: boolean;
|
|
17
|
+
private requestHandlerService;
|
|
21
18
|
ApiUrl: string;
|
|
22
19
|
searchTextBox: TextBoxOptions;
|
|
23
|
-
|
|
20
|
+
lookupGroupsForm: FormGroup;
|
|
24
21
|
showFilter: boolean;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
ShowPageContent: boolean;
|
|
46
|
-
language: string;
|
|
47
|
-
constructor(authService: AuthService, pageInfoService: PageInfoService, utilityService: UtilityService, bbsfTranslateService: BBSFTranslateService, environmentService: EnvironmentService, LookupGroupsService: LookupGroupsService, modalService: NgbModal);
|
|
48
|
-
ngOnInit(): Promise<void>;
|
|
49
|
-
ReinitializePermissionsPaging(): void;
|
|
50
|
-
UpdatePermissionsPaging(): void;
|
|
22
|
+
lookupGroupsPagingResult: any[];
|
|
23
|
+
filteredLookupGroupsPagingResult: any[];
|
|
24
|
+
lookupGroupsPaging: PagingOptions;
|
|
25
|
+
textInputFilter: FilterItem;
|
|
26
|
+
isFilterLoaded: boolean;
|
|
27
|
+
productionMode: boolean;
|
|
28
|
+
pagingElement: PagingComponent;
|
|
29
|
+
addLookupGroupForm: FormGroup;
|
|
30
|
+
addLookupGroupFormOptions: FormOptions;
|
|
31
|
+
multiLingualName: MultiLingualTextBoxOptions;
|
|
32
|
+
editLookupGroupForm: FormGroup;
|
|
33
|
+
editLookupGroupFormOptions: FormOptions;
|
|
34
|
+
editMultiLingualName: MultiLingualTextBoxOptions;
|
|
35
|
+
lookupGroupId: number;
|
|
36
|
+
deletedLookupGroupId: string;
|
|
37
|
+
deleteConfirmationOptions: ConfirmationModalOptions;
|
|
38
|
+
deleteControlLoaded: boolean;
|
|
39
|
+
ConfirmationModalControl: ConfirmationModalComponent;
|
|
40
|
+
constructor(pageInfoService: PageInfoService, utilityService: UtilityService, lookupGroupsService: LookupGroupsService, modalService: NgbModal, requestHandlerService: RequestHandlerService);
|
|
41
|
+
ngOnInit(): void;
|
|
51
42
|
setLookupGroupListResult(result: any): void;
|
|
52
43
|
resetFilters(): void;
|
|
53
|
-
|
|
44
|
+
initializePage(): void;
|
|
54
45
|
showAddLookupGroupModal(AddLookupGroupModal: any): void;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
46
|
+
getAddLookupGroupModel: () => any[];
|
|
47
|
+
getAddLookupGroupFunction: (AddModel: any) => Observable<any>;
|
|
48
|
+
showEditLookupGroupModal(lookupGroupID: any, editLookupGroupModal: any): void;
|
|
49
|
+
getEditLookupGroupModel: () => any[];
|
|
50
|
+
getEditLookupGroupFunction: (EditModel: any) => Observable<any>;
|
|
51
|
+
showDeleteLookupGroupModal(lookupGroupId: string): void;
|
|
52
|
+
deleteLookupGroup: (id: string) => Observable<any>;
|
|
53
|
+
/**FunctionName:filterLookupGroupList*/
|
|
54
|
+
/**Declaration:function to filter LookupGroupList in client-side */
|
|
55
|
+
/**Parameters:*/
|
|
56
|
+
/**searchValue: current value of search box*/
|
|
57
|
+
filterLookupGroupList(searchValue: any): void;
|
|
58
|
+
ngOnDestroy(): void;
|
|
60
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<LookupGroupComponent, never>;
|
|
61
60
|
static ɵcmp: i0.ɵɵComponentDeclaration<LookupGroupComponent, "lib-lookup-group", never, {}, {}, never, never>;
|
|
62
61
|
}
|
|
@@ -1,82 +1,88 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { ActivatedRoute
|
|
4
|
-
import { CheckBoxOptions, FilterItem, MultiLingualTextBoxOptions, PagingOptions, TextAreaOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import { CheckBoxOptions, ConfirmationModalOptions, FilterItem, FormOptions, MultiLingualTextBoxOptions, PagingOptions, TextAreaOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
5
5
|
import { ClipboardService } from 'ngx-clipboard';
|
|
6
6
|
import { LookupService } from '../../shared/Services/LookupService.service';
|
|
7
7
|
import { EnglishArabicDTO } from '@bnsights/bbsf-controls';
|
|
8
8
|
import { PageInfoService } from '../../../_metronic/core/services/page-info.service';
|
|
9
9
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
10
|
-
import {
|
|
10
|
+
import { UtilityService, EnvironmentService, RequestHandlerService } from '@bnsights/bbsf-utilities';
|
|
11
|
+
import { PagingComponent } from '@bnsights/bbsf-controls/lib/controls/Paging/Paging.component';
|
|
12
|
+
import { Observable } from 'rxjs';
|
|
13
|
+
import { ConfirmationModalComponent } from '@bnsights/bbsf-controls/lib/controls/ConfirmationModal/ConfirmationModal.component';
|
|
11
14
|
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class LookupItemComponent implements OnInit {
|
|
13
|
-
private authService;
|
|
15
|
+
export declare class LookupItemComponent implements OnInit, OnDestroy {
|
|
14
16
|
private pageInfoService;
|
|
15
17
|
utilityService: UtilityService;
|
|
16
|
-
private bbsfTranslateService;
|
|
17
18
|
private environmentService;
|
|
18
19
|
private _clipboardService;
|
|
19
|
-
private
|
|
20
|
+
private lookupService;
|
|
20
21
|
private activatedRoute;
|
|
21
|
-
private router;
|
|
22
22
|
private modalService;
|
|
23
|
-
|
|
24
|
-
ShowToolbar: boolean;
|
|
25
|
-
ShowbreadCrumb: boolean;
|
|
26
|
-
BreadcrumbTitle: string;
|
|
27
|
-
Url: string;
|
|
23
|
+
private requestHandlerService;
|
|
28
24
|
ApiUrl: string;
|
|
29
|
-
LookupId: string;
|
|
30
|
-
searchTextBox: TextBoxOptions;
|
|
31
|
-
LookupIdTextBox: TextBoxOptions;
|
|
32
|
-
LookupItemForm: FormGroup;
|
|
33
|
-
showFilter: boolean;
|
|
34
|
-
LookupItemPagingResult: any[];
|
|
35
|
-
LookupItemPaging: PagingOptions;
|
|
36
|
-
TextInputFilter: FilterItem;
|
|
37
|
-
LookupIdInputFilter: FilterItem;
|
|
38
|
-
IsFilterLoaded: boolean;
|
|
39
25
|
ProductionMode: boolean;
|
|
26
|
+
LookupId: string;
|
|
40
27
|
LookupName: EnglishArabicDTO;
|
|
41
|
-
input: ElementRef;
|
|
42
|
-
AddLookupItemForm: FormGroup;
|
|
43
|
-
MultiLingualName: MultiLingualTextBoxOptions;
|
|
44
|
-
SysName: TextBoxOptions;
|
|
45
|
-
Value: TextAreaOptions;
|
|
46
|
-
DisplayOrder: TextAreaOptions;
|
|
47
|
-
IsManageable: CheckBoxOptions;
|
|
48
|
-
CloseLookupItemModal: ElementRef;
|
|
49
|
-
EditLookupItemForm: FormGroup;
|
|
50
|
-
LookupItemId: number;
|
|
51
|
-
EditMultiLingualName: MultiLingualTextBoxOptions;
|
|
52
|
-
EditSysName: TextBoxOptions;
|
|
53
|
-
EditValue: TextAreaOptions;
|
|
54
|
-
EditDisplayOrder: TextAreaOptions;
|
|
55
|
-
EditIsManageable: CheckBoxOptions;
|
|
56
|
-
CloseEditLookupItemModal: ElementRef;
|
|
57
|
-
deletedLookupItemId: number;
|
|
58
|
-
CloseDeleteLookupItemModal: ElementRef;
|
|
59
|
-
GenerateCodeForm: FormGroup;
|
|
60
|
-
GenerateCodeTextArea: TextAreaOptions;
|
|
61
|
-
ValueToCopy: string;
|
|
62
|
-
language: string;
|
|
63
28
|
IsParentLookupManageable: boolean;
|
|
64
|
-
|
|
65
|
-
|
|
29
|
+
searchTextBox: TextBoxOptions;
|
|
30
|
+
lookupIdTextBox: TextBoxOptions;
|
|
31
|
+
lookupItemForm: FormGroup;
|
|
32
|
+
showFilter: boolean;
|
|
33
|
+
lookupItemPagingResult: any[];
|
|
34
|
+
filteredLookupItemPagingResult: any[];
|
|
35
|
+
lookupItemPaging: PagingOptions;
|
|
36
|
+
textInputFilter: FilterItem;
|
|
37
|
+
lookupIdInputFilter: FilterItem;
|
|
38
|
+
isFilterLoaded: boolean;
|
|
39
|
+
pagingElement: PagingComponent;
|
|
40
|
+
addLookupItemForm: FormGroup;
|
|
41
|
+
addLookupItemFormOptions: FormOptions;
|
|
42
|
+
addLookupId: number;
|
|
43
|
+
multiLingualName: MultiLingualTextBoxOptions;
|
|
44
|
+
sysName: TextBoxOptions;
|
|
45
|
+
value: TextAreaOptions;
|
|
46
|
+
displayOrder: TextBoxOptions;
|
|
47
|
+
isManageable: CheckBoxOptions;
|
|
48
|
+
editLookupItemForm: FormGroup;
|
|
49
|
+
editLookupItemFormOptions: FormOptions;
|
|
50
|
+
lookupItemId: number;
|
|
51
|
+
editLookupId: number;
|
|
52
|
+
editMultiLingualName: MultiLingualTextBoxOptions;
|
|
53
|
+
editSysName: TextBoxOptions;
|
|
54
|
+
editValue: TextAreaOptions;
|
|
55
|
+
editDisplayOrder: TextBoxOptions;
|
|
56
|
+
editIsManageable: CheckBoxOptions;
|
|
57
|
+
deletedLookupItemId: string;
|
|
58
|
+
deleteConfirmationOptions: ConfirmationModalOptions;
|
|
59
|
+
deleteControlLoaded: boolean;
|
|
60
|
+
ConfirmationModalControl: ConfirmationModalComponent;
|
|
61
|
+
generateCodeForm: FormGroup;
|
|
62
|
+
generateCodeFormOptions: FormOptions;
|
|
63
|
+
generateCodeTextArea: TextAreaOptions;
|
|
64
|
+
valueToCopy: string;
|
|
65
|
+
constructor(pageInfoService: PageInfoService, utilityService: UtilityService, environmentService: EnvironmentService, _clipboardService: ClipboardService, lookupService: LookupService, activatedRoute: ActivatedRoute, modalService: NgbModal, requestHandlerService: RequestHandlerService);
|
|
66
66
|
ngOnInit(): Promise<void>;
|
|
67
|
-
ReinitializeTemplatePaging(): void;
|
|
68
|
-
UpdateTemplatePaging(): void;
|
|
69
67
|
setLookupItemListResult(result: any): void;
|
|
70
68
|
resetFilters(): void;
|
|
71
|
-
|
|
69
|
+
initializePage(): void;
|
|
72
70
|
showAddLookupItemModal(AddLookupItemModal: any): void;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
71
|
+
getAddLookupItemModel: () => any[];
|
|
72
|
+
getAddLookupItemFunction: (AddModel: any) => Observable<any>;
|
|
73
|
+
showEditLookupItemModal(lookupItemID: string, editLookupGroupModal: any): void;
|
|
74
|
+
getEditLookupItemModel: () => any[];
|
|
75
|
+
getEditLookupItemFunction: (EditModel: any) => Observable<any>;
|
|
76
|
+
showDeleteLookupItemModal(lookupItemId: string): void;
|
|
77
|
+
deleteLookupItem: (id: string) => Observable<any>;
|
|
78
78
|
copyInputMessage(): void;
|
|
79
79
|
showGenerateCodeByIdModal(GenerateCodeModal: any): void;
|
|
80
|
+
/**FunctionName:filterLookupItemList*/
|
|
81
|
+
/**Declaration:function to filter Lookup Item in client-side */
|
|
82
|
+
/**Parameters:*/
|
|
83
|
+
/**searchValue: current value of search box*/
|
|
84
|
+
filterLookupItemList(searchValue: any): void;
|
|
85
|
+
ngOnDestroy(): void;
|
|
80
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<LookupItemComponent, never>;
|
|
81
87
|
static ɵcmp: i0.ɵɵComponentDeclaration<LookupItemComponent, "lib-lookup-item", never, {}, {}, never, never>;
|
|
82
88
|
}
|
|
@@ -1,31 +1,33 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { MultiLingualHtmlEditorOptions, MultiLingualTextBoxOptions } from '@bnsights/bbsf-controls';
|
|
3
|
+
import { FormOptions, MultiLingualHtmlEditorOptions, MultiLingualTextBoxOptions } from '@bnsights/bbsf-controls';
|
|
4
4
|
import { EmailHeaderAndFooterTemplateService } from '../../shared/Services/EmailHeaderAndFooterTemplateService.Service';
|
|
5
5
|
import { Router } from '@angular/router';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { UtilityService, BBSFTranslateService, RequestHandlerService } from '@bnsights/bbsf-utilities';
|
|
7
|
+
import { Observable } from 'rxjs';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class AddComponent implements OnInit {
|
|
10
|
-
private pageInfoService;
|
|
11
|
-
private authService;
|
|
12
10
|
utilityService: UtilityService;
|
|
13
11
|
private bbsfTranslateService;
|
|
14
|
-
private environmentService;
|
|
15
12
|
private emailHeaderAndFooterTemplateService;
|
|
16
13
|
private router;
|
|
14
|
+
private requestHandlerService;
|
|
15
|
+
ShowPageContent: boolean;
|
|
17
16
|
AddForm: FormGroup;
|
|
17
|
+
AddFormOptions: FormOptions;
|
|
18
18
|
MultiLingualName: MultiLingualTextBoxOptions;
|
|
19
19
|
MultiLingualHtmlHeadTagAttributes: MultiLingualTextBoxOptions;
|
|
20
20
|
MultiLingualHeader: MultiLingualHtmlEditorOptions;
|
|
21
21
|
MultiLingualFooter: MultiLingualHtmlEditorOptions;
|
|
22
22
|
MultiLingualHtmlHeadSection: MultiLingualHtmlEditorOptions;
|
|
23
|
-
|
|
24
|
-
language: string;
|
|
25
|
-
constructor(pageInfoService: PageInfoService, authService: AuthService, utilityService: UtilityService, bbsfTranslateService: BBSFTranslateService, environmentService: EnvironmentService, emailHeaderAndFooterTemplateService: EmailHeaderAndFooterTemplateService, router: Router);
|
|
23
|
+
constructor(utilityService: UtilityService, bbsfTranslateService: BBSFTranslateService, emailHeaderAndFooterTemplateService: EmailHeaderAndFooterTemplateService, router: Router, requestHandlerService: RequestHandlerService);
|
|
26
24
|
ngOnInit(): Promise<void>;
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
initializePage(): void;
|
|
26
|
+
getAddModel: () => any[];
|
|
27
|
+
getAddFunction: (AddModel: any) => Observable<any>;
|
|
28
|
+
onAddSuccess: (result: any) => void;
|
|
29
|
+
cancelAdd(): void;
|
|
30
|
+
ngOnDestroy(): void;
|
|
29
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddComponent, never>;
|
|
30
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<AddComponent, "lib-add", never, {}, {}, never, never>;
|
|
31
33
|
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { MultiLingualHtmlEditorOptions, MultiLingualTextBoxOptions } from '@bnsights/bbsf-controls';
|
|
5
|
-
import { NgBlockUI } from 'ng-block-ui';
|
|
6
|
-
import { PageInfoService } from '../../../_metronic/core/services/page-info.service';
|
|
4
|
+
import { FormOptions, MultiLingualHtmlEditorOptions, MultiLingualTextBoxOptions } from '@bnsights/bbsf-controls';
|
|
7
5
|
import { EmailHeaderAndFooterTemplateService } from '../../shared/Services/EmailHeaderAndFooterTemplateService.Service';
|
|
8
|
-
import {
|
|
6
|
+
import { UtilityService, BBSFTranslateService, RequestHandlerService } from '@bnsights/bbsf-utilities';
|
|
7
|
+
import { Observable } from 'rxjs';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export declare class EditComponent implements OnInit {
|
|
11
|
-
private pageInfoService;
|
|
12
|
-
private authService;
|
|
13
10
|
utilityService: UtilityService;
|
|
14
11
|
private bbsfTranslateService;
|
|
15
|
-
private environmentService;
|
|
16
12
|
private emailHeaderAndFooterTemplateService;
|
|
17
13
|
private activatedRoute;
|
|
18
14
|
private router;
|
|
15
|
+
private requestHandlerService;
|
|
16
|
+
ShowPageContent: boolean;
|
|
19
17
|
EditForm: FormGroup;
|
|
18
|
+
EditFormOptions: FormOptions;
|
|
19
|
+
TemplateIdEnc: string;
|
|
20
20
|
TemplateId: number;
|
|
21
21
|
MultiLingualName: MultiLingualTextBoxOptions;
|
|
22
22
|
MultiLingualHtmlHeadTagAttributes: MultiLingualTextBoxOptions;
|
|
23
23
|
MultiLingualHeader: MultiLingualHtmlEditorOptions;
|
|
24
24
|
MultiLingualFooter: MultiLingualHtmlEditorOptions;
|
|
25
25
|
MultiLingualHtmlHeadSection: MultiLingualHtmlEditorOptions;
|
|
26
|
-
|
|
27
|
-
language: string;
|
|
28
|
-
blockUI: NgBlockUI;
|
|
29
|
-
constructor(pageInfoService: PageInfoService, authService: AuthService, utilityService: UtilityService, bbsfTranslateService: BBSFTranslateService, environmentService: EnvironmentService, emailHeaderAndFooterTemplateService: EmailHeaderAndFooterTemplateService, activatedRoute: ActivatedRoute, router: Router);
|
|
26
|
+
constructor(utilityService: UtilityService, bbsfTranslateService: BBSFTranslateService, emailHeaderAndFooterTemplateService: EmailHeaderAndFooterTemplateService, activatedRoute: ActivatedRoute, router: Router, requestHandlerService: RequestHandlerService);
|
|
30
27
|
ngOnInit(): Promise<void>;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
initializePage(): void;
|
|
29
|
+
getEditModel: () => any[];
|
|
30
|
+
getEditFunction: (AddModel: any) => Observable<any>;
|
|
31
|
+
onEditSuccess: (result: any) => void;
|
|
32
|
+
cancelEdit(): void;
|
|
33
|
+
ngOnDestroy(): void;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditComponent, never>;
|
|
35
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<EditComponent, "lib-edit", never, {}, {}, never, never>;
|
|
36
36
|
}
|
|
@@ -1,46 +1,44 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { HtmlEditorOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
5
|
-
import { NgBlockUI } from 'ng-block-ui';
|
|
6
|
-
import { ClipboardService } from 'ngx-clipboard';
|
|
4
|
+
import { FormOptions, HtmlEditorOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
|
|
7
5
|
import { PageInfoService } from '../../../_metronic/core/services/page-info.service';
|
|
8
|
-
import { DataSecretService } from '../../shared/Services/data.service';
|
|
9
6
|
import { TemplateService } from '../../shared/Services/TemplateService.service';
|
|
10
|
-
import {
|
|
7
|
+
import { UtilityService, BBSFTranslateService, RequestHandlerService } from '@bnsights/bbsf-utilities';
|
|
8
|
+
import { Observable } from 'rxjs';
|
|
11
9
|
import * as i0 from "@angular/core";
|
|
12
10
|
export declare class EditEmailComponent implements OnInit {
|
|
13
11
|
private pageInfoService;
|
|
14
|
-
private authService;
|
|
15
12
|
utilityService: UtilityService;
|
|
16
13
|
private bbsfTranslateService;
|
|
17
|
-
private environmentService;
|
|
18
|
-
private _clipboardService;
|
|
19
|
-
private dataServices;
|
|
20
14
|
private templateService;
|
|
21
15
|
private activatedRoute;
|
|
22
16
|
private router;
|
|
23
|
-
|
|
24
|
-
|
|
17
|
+
private requestHandlerService;
|
|
18
|
+
TemplateIdEnc: string;
|
|
19
|
+
TemplateId: number;
|
|
25
20
|
Lang: string;
|
|
26
21
|
TemplateInfo: any;
|
|
27
|
-
|
|
22
|
+
IsFormLoaded: boolean;
|
|
28
23
|
EditEmailForm: FormGroup;
|
|
24
|
+
EditEmailFormOptions: FormOptions;
|
|
29
25
|
EmailSubjectInEnglish: TextBoxOptions;
|
|
30
|
-
EmailBodyInEnglish: HtmlEditorOptions;
|
|
31
|
-
HtmlBodyTagAttributesEnglish: TextBoxOptions;
|
|
32
|
-
HTMLHeadSectionInEnglish: TextBoxOptions;
|
|
33
26
|
EmailSubjectInArabic: TextBoxOptions;
|
|
27
|
+
EmailBodyInEnglish: HtmlEditorOptions;
|
|
34
28
|
EmailBodyInArabic: HtmlEditorOptions;
|
|
29
|
+
HtmlBodyTagAttributesEnglish: TextBoxOptions;
|
|
35
30
|
HtmlBodyTagAttributesArabic: TextBoxOptions;
|
|
31
|
+
HTMLHeadSectionInEnglish: TextBoxOptions;
|
|
36
32
|
HTMLHeadSectionInArabic: TextBoxOptions;
|
|
37
|
-
|
|
38
|
-
language: string;
|
|
39
|
-
constructor(pageInfoService: PageInfoService, authService: AuthService, utilityService: UtilityService, bbsfTranslateService: BBSFTranslateService, environmentService: EnvironmentService, _clipboardService: ClipboardService, dataServices: DataSecretService, templateService: TemplateService, activatedRoute: ActivatedRoute, router: Router);
|
|
33
|
+
constructor(pageInfoService: PageInfoService, utilityService: UtilityService, bbsfTranslateService: BBSFTranslateService, templateService: TemplateService, activatedRoute: ActivatedRoute, router: Router, requestHandlerService: RequestHandlerService);
|
|
40
34
|
ngOnInit(): Promise<void>;
|
|
35
|
+
initializePage(): void;
|
|
36
|
+
getEditEmailModel: () => any[];
|
|
37
|
+
getEditEmailFunction: (EditModel: any) => Observable<any>;
|
|
38
|
+
onEditEmailSuccess: (result: any) => void;
|
|
39
|
+
cancelEdit(): void;
|
|
41
40
|
changeCurrentLanguage(lang: string): void;
|
|
42
|
-
|
|
43
|
-
close(): void;
|
|
41
|
+
ngOnDestroy(): void;
|
|
44
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditEmailComponent, never>;
|
|
45
43
|
static ɵcmp: i0.ɵɵComponentDeclaration<EditEmailComponent, "lib-edit-email", never, {}, {}, never, never>;
|
|
46
44
|
}
|
|
@@ -1,39 +1,38 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { TextAreaOptions } from '@bnsights/bbsf-controls';
|
|
5
|
-
import { NgBlockUI } from 'ng-block-ui';
|
|
6
|
-
import { ClipboardService } from 'ngx-clipboard';
|
|
4
|
+
import { FormOptions, TextAreaOptions } from '@bnsights/bbsf-controls';
|
|
7
5
|
import { PageInfoService } from '../../../_metronic/core/services/page-info.service';
|
|
8
|
-
import { DataSecretService } from '../../shared/Services/data.service';
|
|
9
6
|
import { TemplateService } from '../../shared/Services/TemplateService.service';
|
|
10
|
-
import {
|
|
7
|
+
import { UtilityService, BBSFTranslateService, RequestHandlerService } from '@bnsights/bbsf-utilities';
|
|
8
|
+
import { Observable } from 'rxjs';
|
|
11
9
|
import * as i0 from "@angular/core";
|
|
12
10
|
export declare class EditSMSComponent implements OnInit {
|
|
13
|
-
private authService;
|
|
14
11
|
utilityService: UtilityService;
|
|
15
12
|
private bbsfTranslateService;
|
|
16
|
-
private environmentService;
|
|
17
|
-
private _clipboardService;
|
|
18
|
-
private dataServices;
|
|
19
13
|
private templateService;
|
|
20
14
|
private activatedRoute;
|
|
21
15
|
private router;
|
|
22
16
|
private pageInfoService;
|
|
23
|
-
|
|
17
|
+
private requestHandlerService;
|
|
18
|
+
TemplateId: number;
|
|
19
|
+
TemplateIdEnc: string;
|
|
24
20
|
Lang: string;
|
|
25
21
|
TemplateInfo: any;
|
|
26
|
-
|
|
22
|
+
IsFormLoaded: boolean;
|
|
27
23
|
EditSMSForm: FormGroup;
|
|
24
|
+
EditSMSFormOptions: FormOptions;
|
|
28
25
|
SMSInEnglish: TextAreaOptions;
|
|
29
26
|
SMSInArabic: TextAreaOptions;
|
|
30
|
-
|
|
31
|
-
blockUI: NgBlockUI;
|
|
32
|
-
constructor(authService: AuthService, utilityService: UtilityService, bbsfTranslateService: BBSFTranslateService, environmentService: EnvironmentService, _clipboardService: ClipboardService, dataServices: DataSecretService, templateService: TemplateService, activatedRoute: ActivatedRoute, router: Router, pageInfoService: PageInfoService);
|
|
27
|
+
constructor(utilityService: UtilityService, bbsfTranslateService: BBSFTranslateService, templateService: TemplateService, activatedRoute: ActivatedRoute, router: Router, pageInfoService: PageInfoService, requestHandlerService: RequestHandlerService);
|
|
33
28
|
ngOnInit(): Promise<void>;
|
|
29
|
+
initializePage(): void;
|
|
30
|
+
getEditSMSModel: () => any[];
|
|
31
|
+
getEditSMSFunction: (EditModel: any) => Observable<any>;
|
|
32
|
+
onEditSMSSuccess: (result: any) => void;
|
|
33
|
+
cancelEdit(): void;
|
|
34
34
|
changeCurrentLanguage(lang: string): void;
|
|
35
|
-
|
|
36
|
-
close(): void;
|
|
35
|
+
ngOnDestroy(): void;
|
|
37
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditSMSComponent, never>;
|
|
38
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<EditSMSComponent, "lib-edit-sms", never, {}, {}, never, never>;
|
|
39
38
|
}
|