@bnsights/bbsf-admin-portal 1.0.7 → 1.0.8

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.
Files changed (73) hide show
  1. package/bnsights-bbsf-admin-portal-1.0.8.tgz +0 -0
  2. package/bundles/bnsights-bbsf-admin-portal.umd.js +18838 -14339
  3. package/bundles/bnsights-bbsf-admin-portal.umd.js.map +1 -1
  4. package/esm2015/lib/Pages/ActiveDirectories/active-directory-add/active-directory-add.component.js +2 -2
  5. package/esm2015/lib/Pages/account/account-routing.module.js +8 -2
  6. package/esm2015/lib/Pages/account/account.module.js +6 -3
  7. package/esm2015/lib/Pages/account/activation/activation.component.js +91 -0
  8. package/esm2015/lib/Pages/account/forgot-password/forgot-password.component.js +12 -6
  9. package/esm2015/lib/Pages/account/rest-password/rest-password.component.js +89 -0
  10. package/esm2015/lib/Pages/account/upload-license/upload-license.component.js +70 -0
  11. package/esm2015/lib/Pages/departments/department/department.component.js +8 -8
  12. package/esm2015/lib/Pages/helpCenter/help-center/help-center.component.js +3 -3
  13. package/esm2015/lib/Pages/helpCenter/help-center-secondlevel/help-center-secondlevel.component.js +3 -3
  14. package/esm2015/lib/Pages/home/home.component.js +2 -2
  15. package/esm2015/lib/Pages/localizations/localizations.component.js +5 -5
  16. package/esm2015/lib/Pages/lookups/lookup/lookup.component.js +3 -3
  17. package/esm2015/lib/Pages/notifications/add/add.component.js +1 -3
  18. package/esm2015/lib/Pages/notifications/edit/edit.component.js +1 -3
  19. package/esm2015/lib/Pages/notifications/template-info/template-info.component.js +2 -2
  20. package/esm2015/lib/Pages/notifications/templates/templates.component.js +3 -3
  21. package/esm2015/lib/Pages/publicHolidays/public-holiday/public-holiday.component.js +76 -82
  22. package/esm2015/lib/Pages/shared/Enums/ConditionRHSType.js +6 -0
  23. package/esm2015/lib/Pages/shared/Enums/WFActivityType.js +12 -0
  24. package/esm2015/lib/Pages/shared/Enums/WFVariableDataType.js +14 -0
  25. package/esm2015/lib/Pages/shared/Services/AccountService.service.js +21 -1
  26. package/esm2015/lib/Pages/shared/Services/DepartmentService.service.js +1 -1
  27. package/esm2015/lib/Pages/shared/Services/WorkFlowVersionService.service.js +24 -0
  28. package/esm2015/lib/Pages/shared/Services/WorkflowActivityService.service.js +32 -5
  29. package/esm2015/lib/Pages/shared/Services/WorkflowInstanceService.service.js +24 -0
  30. package/esm2015/lib/Pages/shared/Services/WorkflowLogVariablesService.service.js +24 -0
  31. package/esm2015/lib/Pages/shared/Services/WorkflowService.service.js +12 -4
  32. package/esm2015/lib/Pages/shared/Services/WorkflowVariablesService.service.js +12 -6
  33. package/esm2015/lib/Pages/shared/models/DepartmentModels/DepartmentModel.js +3 -2
  34. package/esm2015/lib/Pages/shared/models/UserModels/ActivationModel.js +3 -0
  35. package/esm2015/lib/Pages/shared/models/WorkflowModels/WFActivityVariablesModel.js +8 -0
  36. package/esm2015/lib/Pages/workflows/activity/workflow-activity-add/workflow-activity-add.component.js +535 -0
  37. package/esm2015/lib/Pages/workflows/activity/workflow-activity-edit/workflow-activity-edit.component.js +852 -0
  38. package/esm2015/lib/Pages/workflows/instance-info/instance-info.component.js +309 -0
  39. package/esm2015/lib/Pages/workflows/tabs/tabs.component.js +611 -430
  40. package/esm2015/lib/Pages/workflows/version-info/version-info.component.js +143 -0
  41. package/esm2015/lib/Pages/workflows/workflow/workflow.component.js +136 -148
  42. package/esm2015/lib/Pages/workflows/workflows-routing.module.js +9 -1
  43. package/esm2015/lib/Pages/workflows/workflows.module.js +7 -3
  44. package/fesm2015/bnsights-bbsf-admin-portal.js +12887 -8483
  45. package/fesm2015/bnsights-bbsf-admin-portal.js.map +1 -1
  46. package/lib/Pages/account/account.module.d.ts +10 -7
  47. package/lib/Pages/account/activation/activation.component.d.ts +32 -0
  48. package/lib/Pages/account/forgot-password/forgot-password.component.d.ts +4 -1
  49. package/lib/Pages/account/rest-password/rest-password.component.d.ts +32 -0
  50. package/lib/Pages/account/upload-license/upload-license.component.d.ts +25 -0
  51. package/lib/Pages/publicHolidays/public-holiday/public-holiday.component.d.ts +11 -14
  52. package/lib/Pages/shared/Enums/ConditionRHSType.d.ts +4 -0
  53. package/lib/Pages/shared/Enums/WFActivityType.d.ts +10 -0
  54. package/lib/Pages/shared/Enums/WFVariableDataType.d.ts +12 -0
  55. package/lib/Pages/shared/Services/AccountService.service.d.ts +7 -0
  56. package/lib/Pages/shared/Services/WorkFlowVersionService.service.d.ts +10 -0
  57. package/lib/Pages/shared/Services/WorkflowActivityService.service.d.ts +9 -3
  58. package/lib/Pages/shared/Services/WorkflowInstanceService.service.d.ts +10 -0
  59. package/lib/Pages/shared/Services/WorkflowLogVariablesService.service.d.ts +10 -0
  60. package/lib/Pages/shared/Services/WorkflowService.service.d.ts +5 -3
  61. package/lib/Pages/shared/Services/WorkflowVariablesService.service.d.ts +5 -4
  62. package/lib/Pages/shared/models/DepartmentModels/DepartmentModel.d.ts +8 -8
  63. package/lib/Pages/shared/models/UserModels/ActivationModel.d.ts +10 -0
  64. package/lib/Pages/shared/models/WorkflowModels/WFActivityVariablesModel.d.ts +13 -0
  65. package/lib/Pages/workflows/activity/workflow-activity-add/workflow-activity-add.component.d.ts +77 -0
  66. package/lib/Pages/workflows/activity/workflow-activity-edit/workflow-activity-edit.component.d.ts +83 -0
  67. package/lib/Pages/workflows/instance-info/instance-info.component.d.ts +81 -0
  68. package/lib/Pages/workflows/tabs/tabs.component.d.ts +73 -80
  69. package/lib/Pages/workflows/version-info/version-info.component.d.ts +41 -0
  70. package/lib/Pages/workflows/workflow/workflow.component.d.ts +26 -29
  71. package/lib/Pages/workflows/workflows.module.d.ts +19 -15
  72. package/package.json +3 -3
  73. package/bnsights-bbsf-admin-portal-1.0.7.tgz +0 -0
@@ -1,21 +1,21 @@
1
- import { ElementRef, OnInit } from '@angular/core';
1
+ import { OnInit } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
- import { FilterItem, MultiLingualTextBoxOptions, PagingOptions, TextBoxOptions, ToggleSlideOptions, DropdownOptions } from '@bnsights/bbsf-controls';
4
- import { DataSecretService } from '../../shared/Services/data.service';
3
+ import { FilterItem, MultiLingualTextBoxOptions, PagingOptions, TextBoxOptions, ToggleSlideOptions, DropdownOptions, FormOptions, ConfirmationModalOptions } from '@bnsights/bbsf-controls';
5
4
  import { WorkflowService } from './../../shared/Services/WorkflowService.service';
6
- import { ActivatedRoute, Router } from '@angular/router';
5
+ import { ActivatedRoute } from '@angular/router';
7
6
  import { WorkflowVariablesService } from '../../shared/Services/WorkflowVariablesService.service';
8
7
  import { WorkflowActivityService } from '../../shared/Services/WorkflowActivityService.service';
9
8
  import { PageInfoService } from '../../../_metronic/core/services/page-info.service';
10
9
  import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
11
- import { AuthService, BBSFTranslateService, EnvironmentService, UtilityService } from '@bnsights/bbsf-utilities';
10
+ import { AuthService, BBSFTranslateService, EnvironmentService, RequestHandlerService, UtilityService } 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';
12
14
  import * as i0 from "@angular/core";
13
15
  export declare class TabsComponent implements OnInit {
14
- private dataServices;
15
16
  private authService;
16
17
  private WorkflowService;
17
18
  private activatedRoute;
18
- private router;
19
19
  private WorkflowVariablesService;
20
20
  private workflowActivityService;
21
21
  private pageInfoService;
@@ -23,17 +23,12 @@ export declare class TabsComponent implements OnInit {
23
23
  private environmentService;
24
24
  private bbsfTranslateService;
25
25
  utilityService: UtilityService;
26
- ApiUrl: string;
27
- SubheaderTitle: string;
28
- ShowToolbar: boolean;
29
- ShowbreadCrumb: boolean;
30
- Url: string;
31
- BreadcrumbTitle: string;
32
- DetailsForm: FormGroup;
26
+ private requestHandlerService;
33
27
  ProductionMode: boolean;
28
+ Pagetitle: string;
29
+ DetailsForm: FormGroup;
34
30
  WorkflowDetails: any;
35
31
  WorkflowId: string;
36
- language: string;
37
32
  NameMultilingualTextBox: MultiLingualTextBoxOptions;
38
33
  DescriptionMultilingualTextBox: MultiLingualTextBoxOptions;
39
34
  Active: TextBoxOptions;
@@ -41,96 +36,94 @@ export declare class TabsComponent implements OnInit {
41
36
  SysName: TextBoxOptions;
42
37
  ShowWorkflowDetails: boolean;
43
38
  VersionId: string;
44
- input: ElementRef;
45
- WorkflowActivityForm: FormGroup;
39
+ publishWFConfirmationOptions: ConfirmationModalOptions;
40
+ publishControlLoaded: boolean;
41
+ publishConfirmationModalControl: ConfirmationModalComponent;
42
+ WorkFlowVersionApiUrl: string;
43
+ WorkflowVersionForm: FormGroup;
46
44
  WorkflowIdTextBox: TextBoxOptions;
47
45
  searchTextBox: TextBoxOptions;
48
- showFilter: boolean;
49
- WorkflowActivityPagingResult: any[];
50
- WorkflowActivityPaging: PagingOptions;
46
+ WorkflowVersionPagingResult: any[];
47
+ WorkflowVersionPaging: PagingOptions;
51
48
  TextInputFilter: FilterItem;
52
49
  WorkflowIdFilter: FilterItem;
53
50
  IsFilterLoaded: boolean;
54
- ShowWorkflowVersion: boolean;
51
+ WFVersionPagingElement: PagingComponent<any>;
55
52
  WorkflowVariableApiUrl: string;
53
+ WorkflowVariableForm: FormGroup;
56
54
  WorkflowVariablesearchTextBox: TextBoxOptions;
55
+ WorkflowVariableTextInputFilter: FilterItem;
56
+ VerisonIdTextBox: TextBoxOptions;
57
+ VerisonIdTextInputFilter: FilterItem;
57
58
  DataTypeList: any[];
58
- WorkflowVariableForm: FormGroup;
59
- WorkflowVariableshowFilter: boolean;
60
59
  WorkflowVariablePagingResult: any[];
61
60
  WorkflowVariablePaging: PagingOptions;
62
- WorkflowVariableTextInputFilter: FilterItem;
63
61
  IsWorkflowVariableFilterLoaded: boolean;
64
- ShowWorkflowVariables: boolean;
65
- VerisonIdTextBox: TextBoxOptions;
66
- VerisonIdTextInputFilter: FilterItem;
67
- Pagetitle: string;
68
- WorkflowVariablePagingViewElement: ElementRef;
62
+ WorkflowVariablePagingViewElement: PagingComponent<any>;
69
63
  AddWorkflowVariableForm: FormGroup;
70
- NameInEnglish: TextBoxOptions;
71
- NameInArabic: TextBoxOptions;
72
- SysNameWorkflowVariable: TextBoxOptions;
73
- DataType: DropdownOptions;
74
- IsAddWorkflowVariableFormLoaded: boolean;
75
- Constant: ToggleSlideOptions;
76
- CloseWorkflowVariableModal: ElementRef;
64
+ AddWorkflowVariableFormOptions: FormOptions;
65
+ AddWFVariableName: MultiLingualTextBoxOptions;
66
+ AddWFVariableSysName: TextBoxOptions;
67
+ AddWFVariableDataType: DropdownOptions;
68
+ AddWFVariableConstant: ToggleSlideOptions;
69
+ addWFVariablesLookupOptions: any[];
70
+ showAddLookupsTable: boolean;
71
+ addLastLookupIndex: number;
77
72
  EditWorkflowVariableForm: FormGroup;
78
- EditNameInEnglish: TextBoxOptions;
79
- EditNameInArabic: TextBoxOptions;
80
- EditSysNameWorkflowVariable: TextBoxOptions;
81
- EditDataType: DropdownOptions;
82
- EditConstant: ToggleSlideOptions;
73
+ EditWorkflowVariableFormOptions: FormOptions;
74
+ EditWFVariableName: MultiLingualTextBoxOptions;
75
+ EditWFVariableSysName: TextBoxOptions;
76
+ EditWFVariableDataType: DropdownOptions;
77
+ EditWFVariableConstant: ToggleSlideOptions;
83
78
  WorkflowVariableId: any;
84
- CloseEditWorkflowVariableModal: ElementRef;
79
+ editWFVariablesLookupOptions: any[];
80
+ showEditLookupsTable: boolean;
81
+ editLastLookupIndex: number;
85
82
  ActivityApiUrl: string;
86
83
  ActivityTypeList: any[];
87
84
  workflowActivityForm: FormGroup;
88
- workflowActivityShowFilter: boolean;
85
+ WorkflowActivityIdTextBox: TextBoxOptions;
86
+ WorkflowActivityIdFilter: FilterItem;
89
87
  ActivityPagingResult: any[];
90
88
  ActivityPaging: PagingOptions;
91
89
  IsworkflowActivityFilterLoaded: boolean;
92
- ShowWorkflowActivity: boolean;
93
- WorkflowActivityIdTextBox: TextBoxOptions;
94
- WorkflowActivityIdFilter: FilterItem;
95
- ActivityPagingViewElement: ElementRef;
96
- AddworkflowActivityForm: FormGroup;
97
- workflowActivityNameInEnglish: TextBoxOptions;
98
- workflowActivityNameInArabic: TextBoxOptions;
99
- workflowActivityDescriptionInEnglish: TextBoxOptions;
100
- workflowActivityDescriptionInArabic: TextBoxOptions;
101
- workflowActivitySysName: TextBoxOptions;
102
- ActivityType: DropdownOptions;
103
- CloseworkflowActivityModal: ElementRef;
104
- EditworkflowActivityForm: FormGroup;
105
- EditworkflowActivityNameInEnglish: TextBoxOptions;
106
- EditworkflowActivityNameInArabic: TextBoxOptions;
107
- EditworkflowActivityDescriptionInEnglish: TextBoxOptions;
108
- EditworkflowActivityDescriptionInArabic: TextBoxOptions;
109
- EditworkflowActivitySysName: TextBoxOptions;
110
- EditActivityType: DropdownOptions;
111
- workflowActivityId: number;
112
- CloseEditworkflowActivityModal: ElementRef;
113
- ShowPageContent: boolean;
114
- constructor(dataServices: DataSecretService, authService: AuthService, WorkflowService: WorkflowService, activatedRoute: ActivatedRoute, router: Router, WorkflowVariablesService: WorkflowVariablesService, workflowActivityService: WorkflowActivityService, pageInfoService: PageInfoService, modalService: NgbModal, environmentService: EnvironmentService, bbsfTranslateService: BBSFTranslateService, utilityService: UtilityService);
90
+ ActivityPagingViewElement: PagingComponent<any>;
91
+ addWorkflowVariabletoActivityForm: FormGroup;
92
+ addWorkflowVariabletoActivityFormOptions: FormOptions;
93
+ activityID: number;
94
+ activityWFVariableOptions: any[];
95
+ lastActivityWFVariableIndex: number;
96
+ activityVariablesList: any[];
97
+ constructor(authService: AuthService, WorkflowService: WorkflowService, activatedRoute: ActivatedRoute, WorkflowVariablesService: WorkflowVariablesService, workflowActivityService: WorkflowActivityService, pageInfoService: PageInfoService, modalService: NgbModal, environmentService: EnvironmentService, bbsfTranslateService: BBSFTranslateService, utilityService: UtilityService, requestHandlerService: RequestHandlerService);
115
98
  ngOnInit(): Promise<void>;
116
99
  getDetails(): void;
117
- GetVersions(): void;
118
- setWorkflowActivityListResult(result: any): void;
119
- resetFilters(): void;
100
+ showPublishWFModal(id: string): void;
101
+ publishWorkFlow: (id: string) => Observable<any>;
102
+ publishWorkFlowOnSuccess: (result: any) => void;
103
+ initializeVersion(): void;
104
+ setWorkflowVersionListResult(result: any): void;
120
105
  setWorkflowVariableListResult(result: any): void;
121
- resetWorkflowVariableFilters(): void;
122
- LoadWorkflowVariables(): void;
106
+ initializeWorkflowVariables(): void;
107
+ WFVariableTypeOnChange(type: number, isAdd: boolean): void;
108
+ initializeWFVariableLookupOptions(isAdd: boolean): (number | any[])[];
109
+ deleteWFVariableLookup(deletedLookup: any, isAdd: boolean): void;
123
110
  showAddWorkflowVariableModal(AddWorkflowVariableModal: any): void;
124
- addWorkflowVariable(): void;
125
- showEditWorkflowVariableModal(WorkflowVariable: any, EditWorkflowVariableModal: any): void;
126
- editWorkflowVariable(): void;
111
+ getAddWFVariableModel: () => any[];
112
+ getAddWFVariableFunction: (AddModel: any) => Observable<any>;
113
+ addWFVariableLookupinAddMode(): void;
114
+ showEditWorkflowVariableModal(WFVariableID: number, WFVariableIDEnc: any, EditWorkflowVariableModal: any): void;
115
+ getEditWFVariableModel: () => any[];
116
+ getEditWFVariableFunction: (EditModel: any) => Observable<any>;
117
+ setEditVariableLookups(existingLookups: any[]): void;
118
+ addWFVariableLookupinEditMode(): void;
127
119
  setActivityListResult(result: any): void;
128
- resetworkflowActivityFilters(): void;
129
- LoadworkflowActivity(): void;
130
- showAddworkflowActivityModal(AddWorkflowActivityModal: any): void;
131
- addworkflowActivity(): void;
132
- showEditworkflowActivityModal(workflowActivity: any, EditWorkflowActivityModal: any): void;
133
- editworkflowActivity(): void;
120
+ initializeWorkflowActivity(): void;
121
+ showAddWFVariablestoActivity(versionID: number, activityID: number, wfVariablesModal: any): void;
122
+ getaddWFVariabletoActivityModel: () => any[];
123
+ getaddWFVariabletoActivityFunction: (variablesModel: any) => Observable<any>;
124
+ deleteActivityWFVariable(deletedVariable: any): void;
125
+ addNewActivityWFVariable(): void;
126
+ ngOnDestroy(): void;
134
127
  static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
135
128
  static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "lib-tabs", never, {}, {}, never, never>;
136
129
  }
@@ -0,0 +1,41 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { ActivatedRoute } from '@angular/router';
4
+ import { FilterItem, MultiLingualTextBoxOptions, PagingOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
5
+ import { AuthService, BBSFTranslateService, RequestHandlerService, UtilityService } from '@bnsights/bbsf-utilities';
6
+ import { PageInfoService } from '../../../../public-api';
7
+ import { WorkflowVersionService } from '../../shared/Services/WorkFlowVersionService.service';
8
+ import * as i0 from "@angular/core";
9
+ export declare class VersionInfoComponent implements OnInit {
10
+ private authService;
11
+ private workFlowVersionService;
12
+ private activatedRoute;
13
+ private pageInfoService;
14
+ private bbsfTranslateService;
15
+ utilityService: UtilityService;
16
+ private requestHandlerService;
17
+ detailsForm: FormGroup;
18
+ versionDetails: any;
19
+ versionID: string;
20
+ versionName: MultiLingualTextBoxOptions;
21
+ versionIsCurrent: TextBoxOptions;
22
+ versionIsPublished: TextBoxOptions;
23
+ showVersionDetails: boolean;
24
+ workFlowInstanceApiUrl: string;
25
+ workflowInstanceForm: FormGroup;
26
+ versionIdTextBox: TextBoxOptions;
27
+ versionIdFilter: FilterItem;
28
+ searchTextBox: TextBoxOptions;
29
+ textInputFilter: FilterItem;
30
+ WorkflowInstancePagingResult: any[];
31
+ WorkflowInstancePaging: PagingOptions;
32
+ isFilterLoaded: boolean;
33
+ constructor(authService: AuthService, workFlowVersionService: WorkflowVersionService, activatedRoute: ActivatedRoute, pageInfoService: PageInfoService, bbsfTranslateService: BBSFTranslateService, utilityService: UtilityService, requestHandlerService: RequestHandlerService);
34
+ ngOnInit(): Promise<void>;
35
+ getDetails(): void;
36
+ initializeInstances(): void;
37
+ setWorkflowInstancesListResult(result: any): void;
38
+ ngOnDestroy(): void;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<VersionInfoComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<VersionInfoComponent, "lib-version-info", never, {}, {}, never, never>;
41
+ }
@@ -1,14 +1,14 @@
1
- import { ElementRef, OnInit } from '@angular/core';
1
+ import { OnInit } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
- import { FilterItem, PagingOptions, TextAreaOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
4
- import { DataSecretService } from '../../shared/Services/data.service';
3
+ import { FilterItem, FormOptions, MultiLingualTextAreaOptions, MultiLingualTextBoxOptions, PagingOptions, TextBoxOptions } from '@bnsights/bbsf-controls';
5
4
  import { WorkflowService } from '../../shared/Services/WorkflowService.service';
6
5
  import { PageInfoService } from '../../../_metronic/core/services/page-info.service';
7
6
  import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
8
- import { AuthService, BBSFTranslateService, EnvironmentService, UtilityService } from '@bnsights/bbsf-utilities';
7
+ import { AuthService, BBSFTranslateService, EnvironmentService, RequestHandlerService, UtilityService } from '@bnsights/bbsf-utilities';
8
+ import { PagingComponent } from '@bnsights/bbsf-controls/lib/controls/Paging/Paging.component';
9
+ import { Observable } from 'rxjs';
9
10
  import * as i0 from "@angular/core";
10
11
  export declare class WorkflowComponent implements OnInit {
11
- private dataServices;
12
12
  private authService;
13
13
  private WorkflowService;
14
14
  private modalService;
@@ -16,44 +16,41 @@ export declare class WorkflowComponent implements OnInit {
16
16
  private environmentService;
17
17
  private bbsfTranslateService;
18
18
  private pageInfoService;
19
+ private requestHandlerService;
20
+ ShowPageContent: boolean;
19
21
  ApiUrl: string;
22
+ ProductionMode: boolean;
20
23
  searchTextBox: TextBoxOptions;
21
24
  WorkflowForm: FormGroup;
22
- showFilter: boolean;
23
25
  WorkflowPagingResult: any[];
26
+ clientSidePagingResult: any[];
24
27
  WorkflowPaging: PagingOptions;
25
28
  TextInputFilter: FilterItem;
26
29
  IsFilterLoaded: boolean;
27
- ProductionMode: boolean;
28
- input: ElementRef;
30
+ pagingElement: PagingComponent<any>;
29
31
  AddWorkflowForm: FormGroup;
30
- NameInEnglish: TextBoxOptions;
31
- NameInArabic: TextBoxOptions;
32
- SysName: TextBoxOptions;
33
- DescriptionInEnglish: TextAreaOptions;
34
- DescriptionInArabic: TextAreaOptions;
35
- CloseWorkflowModal: ElementRef;
32
+ AddWorkflowFormOptions: FormOptions;
33
+ AddName: MultiLingualTextBoxOptions;
34
+ AddDescription: MultiLingualTextAreaOptions;
35
+ AddSysName: TextBoxOptions;
36
36
  EditWorkflowForm: FormGroup;
37
- EditNameInEnglish: TextBoxOptions;
38
- EditNameInArabic: TextBoxOptions;
37
+ EditWorkflowFormOptions: FormOptions;
38
+ EditName: MultiLingualTextBoxOptions;
39
+ EditDescription: MultiLingualTextAreaOptions;
39
40
  EditSysName: TextBoxOptions;
40
- EditDescriptionInEnglish: TextAreaOptions;
41
- EditDescriptionInArabic: TextAreaOptions;
42
41
  WorkflowId: number;
43
- CloseEditWorkflowModal: ElementRef;
44
- language: string;
45
- ShowPageContent: boolean;
46
- constructor(dataServices: DataSecretService, authService: AuthService, WorkflowService: WorkflowService, modalService: NgbModal, utilityService: UtilityService, environmentService: EnvironmentService, bbsfTranslateService: BBSFTranslateService, pageInfoService: PageInfoService);
42
+ constructor(authService: AuthService, WorkflowService: WorkflowService, modalService: NgbModal, utilityService: UtilityService, environmentService: EnvironmentService, bbsfTranslateService: BBSFTranslateService, pageInfoService: PageInfoService, requestHandlerService: RequestHandlerService);
47
43
  ngOnInit(): Promise<void>;
48
- LoadList(): void;
49
- ReinitializeGetWorkflowPaging(): void;
50
- UpdateWorkflowPaging(): void;
44
+ initializePage(): void;
51
45
  setWorkflowListResult(result: any): void;
52
- resetFilters(): void;
46
+ searchClientSide(searchValue: any): void;
53
47
  showAddWorkflowModal(AddWorkflowModal: any): void;
54
- addWorkflow(): void;
55
- showEditWorkflowModal(Workflow: any, EditWorkflowModal: any): void;
56
- editWorkflow(): void;
48
+ getAddWorkflowModel: () => any[];
49
+ getAddWorkflowFunction: (AddModel: any) => Observable<any>;
50
+ showEditWorkflowModal(workFlowID: number, workFlowIDEnc: any, editWorkflowModal: any): void;
51
+ getEditWorkFlowModel: () => any[];
52
+ getEditWorkFlowFunction: (EditModel: any) => Observable<any>;
53
+ ngOnDestroy(): void;
57
54
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowComponent, never>;
58
55
  static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowComponent, "lib-workflow", never, {}, {}, never, never>;
59
56
  }
@@ -2,22 +2,26 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./workflow/workflow.component";
3
3
  import * as i2 from "./tabs/tabs.component";
4
4
  import * as i3 from "./workflows.component";
5
- import * as i4 from "./workflows-routing.module";
6
- import * as i5 from "@angular/common";
7
- import * as i6 from "@angular/forms";
8
- import * as i7 from "@angular/common/http";
9
- import * as i8 from "../core/auth.module";
10
- import * as i9 from "@angular/router";
11
- import * as i10 from "ngx-clipboard";
12
- import * as i11 from "ng-block-ui";
13
- import * as i12 from "@bnsights/bbsf-controls";
14
- import * as i13 from "../_layout/components/subheader/subheader.module";
15
- import * as i14 from "@angular/material/menu";
16
- import * as i15 from "@ng-bootstrap/ng-bootstrap";
17
- import * as i16 from "ng-inline-svg";
18
- import * as i17 from "../empty-data/empty-data.module";
5
+ import * as i4 from "./version-info/version-info.component";
6
+ import * as i5 from "./instance-info/instance-info.component";
7
+ import * as i6 from "./activity/workflow-activity-add/workflow-activity-add.component";
8
+ import * as i7 from "./activity/workflow-activity-edit/workflow-activity-edit.component";
9
+ import * as i8 from "./workflows-routing.module";
10
+ import * as i9 from "@angular/common";
11
+ import * as i10 from "@angular/forms";
12
+ import * as i11 from "@angular/common/http";
13
+ import * as i12 from "../core/auth.module";
14
+ import * as i13 from "@angular/router";
15
+ import * as i14 from "ngx-clipboard";
16
+ import * as i15 from "ng-block-ui";
17
+ import * as i16 from "@bnsights/bbsf-controls";
18
+ import * as i17 from "../_layout/components/subheader/subheader.module";
19
+ import * as i18 from "@angular/material/menu";
20
+ import * as i19 from "@ng-bootstrap/ng-bootstrap";
21
+ import * as i20 from "ng-inline-svg";
22
+ import * as i21 from "../empty-data/empty-data.module";
19
23
  export declare class WorkflowsModule {
20
24
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowsModule, never>;
21
- static ɵmod: i0.ɵɵNgModuleDeclaration<WorkflowsModule, [typeof i1.WorkflowComponent, typeof i2.TabsComponent, typeof i3.WorkflowsComponent], [typeof i4.WorkflowsRoutingModule, typeof i5.CommonModule, typeof i6.ReactiveFormsModule, typeof i7.HttpClientModule, typeof i8.AuthModule, typeof i9.RouterModule, typeof i5.CommonModule, typeof i10.ClipboardModule, typeof i11.BlockUIModule, typeof i6.ReactiveFormsModule, typeof i6.FormsModule, typeof i12.BBSFControlsModule, typeof i13.SubheaderModule, typeof i14.MatMenuModule, typeof i15.NgbModule, typeof i16.InlineSVGModule, typeof i17.EmptyDataModule], never>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<WorkflowsModule, [typeof i1.WorkflowComponent, typeof i2.TabsComponent, typeof i3.WorkflowsComponent, typeof i4.VersionInfoComponent, typeof i5.InstanceInfoComponent, typeof i6.WorkflowActivityAddComponent, typeof i7.WorkflowActivityEditComponent], [typeof i8.WorkflowsRoutingModule, typeof i9.CommonModule, typeof i10.ReactiveFormsModule, typeof i11.HttpClientModule, typeof i12.AuthModule, typeof i13.RouterModule, typeof i9.CommonModule, typeof i14.ClipboardModule, typeof i15.BlockUIModule, typeof i10.ReactiveFormsModule, typeof i10.FormsModule, typeof i16.BBSFControlsModule, typeof i17.SubheaderModule, typeof i18.MatMenuModule, typeof i19.NgbModule, typeof i20.InlineSVGModule, typeof i21.EmptyDataModule], never>;
22
26
  static ɵinj: i0.ɵɵInjectorDeclaration<WorkflowsModule>;
23
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bnsights/bbsf-admin-portal",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "peerDependencies": {
5
5
  "@agm/core": "^3.0.0-beta.0",
6
6
  "@angular-devkit/build-angular": "~12.2.12",
@@ -36,8 +36,8 @@
36
36
  "@angular/platform-browser": "~12.2.12",
37
37
  "@angular/platform-browser-dynamic": "~12.2.12",
38
38
  "@angular/router": "~12.2.12",
39
- "@bnsights/bbsf-controls": "1.0.12",
40
- "@bnsights/bbsf-utilities": "1.0.5",
39
+ "@bnsights/bbsf-controls": "1.0.13",
40
+ "@bnsights/bbsf-utilities": "1.0.6",
41
41
  "@fortawesome/fontawesome-free": "^5.15.1",
42
42
  "@ng-bootstrap/ng-bootstrap": "^9.0.2",
43
43
  "@ngx-translate/core": "^13.0.0",