vcomply-workflow-engine 2.6.84 → 2.6.86

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 (126) hide show
  1. package/bundles/vcomply-workflow-engine.umd.js +1929 -583
  2. package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
  3. package/esm2015/lib/add-multiple-responsibility/add-multiple-responsibility.component.js +11 -4
  4. package/esm2015/lib/add-multiple-responsibility/add-multiple-responsibility.component.ngfactory.js +28 -40
  5. package/esm2015/lib/add-multiple-responsibility/add-multiple-responsibility.component.ngsummary.json +1 -1
  6. package/esm2015/lib/add-multiple-responsibility-container/add-multiple-responsibility-container.component.js +172 -0
  7. package/esm2015/lib/add-multiple-responsibility-container/add-multiple-responsibility-container.component.ngfactory.js +84 -0
  8. package/esm2015/lib/add-multiple-responsibility-container/add-multiple-responsibility-container.component.ngsummary.json +1 -0
  9. package/esm2015/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.js +1255 -0
  10. package/esm2015/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.ngfactory.js +70 -0
  11. package/esm2015/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.ngsummary.json +1 -0
  12. package/esm2015/lib/log-an-issue/log-an-issue.component.ngfactory.js +6 -6
  13. package/esm2015/lib/more-option/more-option.component.js +8 -2
  14. package/esm2015/lib/more-option/more-option.component.ngfactory.js +1 -1
  15. package/esm2015/lib/more-option/more-option.component.ngsummary.json +1 -1
  16. package/esm2015/lib/pipes/search.pipe.js +5 -5
  17. package/esm2015/lib/services/bulk-upload.service.js +43 -0
  18. package/esm2015/lib/services/bulk-upload.service.ngsummary.json +1 -0
  19. package/esm2015/lib/sharedComponents/assessment-editor/components/add-page-details/add-page-details.component.ngfactory.js +4 -4
  20. package/esm2015/lib/sharedComponents/assessment-editor/components/add-segment-popup/add-segment-popup.component.ngfactory.js +4 -4
  21. package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview.module.ngfactory.js +3 -3
  22. package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview.module.ngsummary.json +1 -1
  23. package/esm2015/lib/sharedComponents/assessment-editor/components/setting-response-segment/setting-response-segment.component.ngfactory.js +4 -4
  24. package/esm2015/lib/sharedComponents/assessment-editor/create-assessment.module.ngfactory.js +3 -3
  25. package/esm2015/lib/sharedComponents/assessment-editor/create-assessment.module.ngsummary.json +1 -1
  26. package/esm2015/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.js +18 -5
  27. package/esm2015/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.ngfactory.js +488 -30
  28. package/esm2015/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.ngsummary.json +1 -1
  29. package/esm2015/lib/sharedComponents/checkpoint/checkpoints-questions/checkpoints-questions.component.ngfactory.js +4 -4
  30. package/esm2015/lib/sharedComponents/framework-list/framework-list-table/framework-list-table.component.js +2 -2
  31. package/esm2015/lib/sharedComponents/framework-list/framework-list-table/framework-list-table.component.ngfactory.js +1 -1
  32. package/esm2015/lib/sharedComponents/framework-list/framework-list.component.js +18 -23
  33. package/esm2015/lib/sharedComponents/framework-list/framework-list.component.ngfactory.js +4 -4
  34. package/esm2015/lib/sharedComponents/framework-list/framework-list.component.ngsummary.json +1 -1
  35. package/esm2015/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.js +2 -3
  36. package/esm2015/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.ngfactory.js +14 -15
  37. package/esm2015/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.ngsummary.json +1 -1
  38. package/esm2015/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.js +2 -3
  39. package/esm2015/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.ngfactory.js +14 -15
  40. package/esm2015/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.ngsummary.json +1 -1
  41. package/esm2015/lib/sharedComponents/frequency/frequency-container/frequency-container.component.js +2 -10
  42. package/esm2015/lib/sharedComponents/frequency/frequency-container/frequency-container.component.ngfactory.js +9 -9
  43. package/esm2015/lib/sharedComponents/frequency/frequency-container/frequency-container.component.ngsummary.json +1 -1
  44. package/esm2015/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.js +2 -3
  45. package/esm2015/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.ngfactory.js +11 -12
  46. package/esm2015/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.ngsummary.json +1 -1
  47. package/esm2015/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.js +2 -3
  48. package/esm2015/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.ngfactory.js +14 -15
  49. package/esm2015/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.ngsummary.json +1 -1
  50. package/esm2015/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.js +2 -3
  51. package/esm2015/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.ngfactory.js +16 -17
  52. package/esm2015/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.ngsummary.json +1 -1
  53. package/esm2015/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.js +2 -3
  54. package/esm2015/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.ngfactory.js +14 -15
  55. package/esm2015/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.ngsummary.json +1 -1
  56. package/esm2015/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.js +2 -3
  57. package/esm2015/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.ngfactory.js +14 -15
  58. package/esm2015/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.ngsummary.json +1 -1
  59. package/esm2015/lib/workflow-assessment/workflow-assessment.component.ngfactory.js +4 -4
  60. package/esm2015/lib/workflow-compliance/workflow-compliance.component.js +53 -142
  61. package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngfactory.js +324 -365
  62. package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngsummary.json +1 -1
  63. package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.js +13 -2
  64. package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngfactory.js +11 -11
  65. package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngsummary.json +1 -1
  66. package/esm2015/lib/workflow-engine.module.js +5 -5
  67. package/esm2015/lib/workflow-engine.module.ngfactory.js +3 -3
  68. package/esm2015/lib/workflow-engine.module.ngsummary.json +1 -1
  69. package/esm2015/lib/workflow-policy/workflow-policy.component.js +8 -5
  70. package/esm2015/lib/workflow-policy/workflow-policy.component.ngfactory.js +5 -5
  71. package/esm2015/lib/workflow-policy/workflow-policy.component.ngsummary.json +1 -1
  72. package/esm2015/lib/workflow-program/create-program-ui/create-program-ui.module.ngfactory.js +1 -1
  73. package/esm2015/lib/workflow-program/create-program-ui/pipes/search.pipe.js +2 -2
  74. package/esm2015/lib/workflow-program/create-program-ui/role-list/role-list.component.js +3 -2
  75. package/esm2015/lib/workflow-program/create-program-ui/role-list/role-list.component.ngfactory.js +12 -12
  76. package/esm2015/lib/workflow-program/create-program-ui/role-list/role-list.component.ngsummary.json +1 -1
  77. package/esm2015/lib/workflow-program/workflow-program.component.js +24 -5
  78. package/esm2015/lib/workflow-program/workflow-program.component.ngfactory.js +268 -252
  79. package/esm2015/lib/workflow-program/workflow-program.component.ngsummary.json +1 -1
  80. package/esm2015/lib/workflow-risk/workflow-risk.component.ngfactory.js +5 -5
  81. package/esm2015/lib/workflow-services/add-risk.service.js +3 -3
  82. package/esm2015/lib/workflow-services/frequency.service.js +41 -12
  83. package/esm2015/lib/workflow-services/programs.service.js +4 -5
  84. package/esm2015/lib/workflow-services/responsibility.service.js +14 -34
  85. package/esm2015/lib/workflow-services/responsibility.service.ngsummary.json +1 -1
  86. package/esm2015/lib/workflow-survey-form/workflow-survey-form.component.ngfactory.js +4 -4
  87. package/esm2015/vcomply-workflow-engine.js +191 -190
  88. package/esm2015/vcomply-workflow-engine.ngsummary.json +1 -1
  89. package/fesm2015/vcomply-workflow-engine.js +1687 -369
  90. package/fesm2015/vcomply-workflow-engine.js.map +1 -1
  91. package/lib/add-multiple-responsibility/add-multiple-responsibility.component.d.ts +2 -0
  92. package/lib/add-multiple-responsibility-container/add-multiple-responsibility-container.component.d.ts +31 -0
  93. package/lib/{sharedComponents/system-task-selector/system-task-selector.component.ngfactory.d.ts → add-multiple-responsibility-container/add-multiple-responsibility-container.component.ngfactory.d.ts} +0 -0
  94. package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +159 -0
  95. package/lib/{sharedComponents/tab-selector/tab-selector.component.ngfactory.d.ts → add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.ngfactory.d.ts} +0 -0
  96. package/lib/more-option/more-option.component.d.ts +2 -0
  97. package/lib/services/bulk-upload.service.d.ts +6 -0
  98. package/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.d.ts +5 -0
  99. package/lib/sharedComponents/framework-list/framework-list.component.d.ts +2 -0
  100. package/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.d.ts +0 -1
  101. package/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.d.ts +0 -1
  102. package/lib/sharedComponents/frequency/frequency-container/frequency-container.component.d.ts +0 -1
  103. package/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.d.ts +0 -1
  104. package/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.d.ts +0 -1
  105. package/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.d.ts +0 -1
  106. package/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.d.ts +0 -1
  107. package/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.d.ts +0 -1
  108. package/lib/workflow-compliance/workflow-compliance.component.d.ts +0 -10
  109. package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +8 -0
  110. package/lib/workflow-policy/workflow-policy.component.d.ts +3 -2
  111. package/lib/workflow-program/create-program-ui/role-list/role-list.component.d.ts +1 -0
  112. package/lib/workflow-program/workflow-program.component.d.ts +6 -0
  113. package/lib/workflow-services/add-risk.service.d.ts +1 -1
  114. package/lib/workflow-services/frequency.service.d.ts +1 -1
  115. package/lib/workflow-services/responsibility.service.d.ts +0 -1
  116. package/package.json +2 -2
  117. package/vcomply-workflow-engine.d.ts +190 -189
  118. package/vcomply-workflow-engine.metadata.json +1 -1
  119. package/esm2015/lib/sharedComponents/system-task-selector/system-task-selector.component.js +0 -55
  120. package/esm2015/lib/sharedComponents/system-task-selector/system-task-selector.component.ngfactory.js +0 -75
  121. package/esm2015/lib/sharedComponents/system-task-selector/system-task-selector.component.ngsummary.json +0 -1
  122. package/esm2015/lib/sharedComponents/tab-selector/tab-selector.component.js +0 -41
  123. package/esm2015/lib/sharedComponents/tab-selector/tab-selector.component.ngfactory.js +0 -23
  124. package/esm2015/lib/sharedComponents/tab-selector/tab-selector.component.ngsummary.json +0 -1
  125. package/lib/sharedComponents/system-task-selector/system-task-selector.component.d.ts +0 -19
  126. package/lib/sharedComponents/tab-selector/tab-selector.component.d.ts +0 -17
@@ -15,6 +15,8 @@ export declare class AddMultipleResponsibilityComponent implements OnChanges {
15
15
  closeWorkflow: EventEmitter<any>;
16
16
  disconnectRefresh: EventEmitter<any>;
17
17
  isNotificationPending: number;
18
+ closeAddMultipleResponsibility: EventEmitter<any>;
19
+ set uploadedFileData(data: any);
18
20
  responsibilityBulkUpload: any;
19
21
  templateInfo: any;
20
22
  isLoader: boolean;
@@ -0,0 +1,31 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { AddRiskService } from '../workflow-services/add-risk.service';
3
+ import { AuthService } from '../workflow-services/auth.service';
4
+ import { BulkUploadService } from '../services/bulk-upload.service';
5
+ export declare class AddMultipleResponsibilityContainerComponent implements OnInit {
6
+ private riskService;
7
+ private authService;
8
+ private bulkUploadService;
9
+ downloadStatus: string;
10
+ downloadPercent: number;
11
+ fileValue: any;
12
+ showSmiley: boolean;
13
+ responsibilityData: any;
14
+ fileName: string;
15
+ singleTabResponsibility: boolean;
16
+ multiTabResponsibility: boolean;
17
+ isFileEmpty: boolean;
18
+ isWrongFile: boolean;
19
+ isWrongFormat: boolean;
20
+ errorMessage: string;
21
+ member_obj_id: string;
22
+ closeWorkflow: EventEmitter<any>;
23
+ constructor(riskService: AddRiskService, authService: AuthService, bulkUploadService: BulkUploadService);
24
+ ngOnInit(): void;
25
+ downloadTemplate(version?: any): void;
26
+ uploadedFileData: any;
27
+ uploadedFile(event: any): void;
28
+ closeSmiley(event: any): void;
29
+ triggerBrowseFile(): void;
30
+ closeAddMultipleResponsibility(event: any): void;
31
+ }
@@ -0,0 +1,159 @@
1
+ import { EventEmitter, SimpleChanges, OnInit } from '@angular/core';
2
+ import * as XLSX from 'xlsx';
3
+ import { SnackBarService } from '../ui-kit/snack-bar/snack-bar.service';
4
+ import { AddRiskService } from '../workflow-services/add-risk.service';
5
+ import { AuthService } from '../workflow-services/auth.service';
6
+ import { FrequencyBulkService } from '../workflow-services/frequency.service';
7
+ import { ResponsibilityService } from '../workflow-services/responsibility.service';
8
+ export declare class AddMultipleResponsibilityWithTabComponent implements OnInit {
9
+ private riskService;
10
+ private responsibilityService;
11
+ private authService;
12
+ private frequencyService;
13
+ private snackBar;
14
+ pickerChanged: EventEmitter<any>;
15
+ populateOption: EventEmitter<any>;
16
+ closeWorkflow: EventEmitter<any>;
17
+ disconnectRefresh: EventEmitter<any>;
18
+ isNotificationPending: number;
19
+ closeAddMultipleResponsibility: EventEmitter<any>;
20
+ set uploadedFileData(data: any);
21
+ responsibilityBulkUpload: any;
22
+ tabType: 'frequency' | 'ongoing' | 'onCompletion';
23
+ tabIndex: any;
24
+ bulkUpload: any;
25
+ templateInfo: any;
26
+ isLoader: boolean;
27
+ showCategoryList: boolean;
28
+ templateDownloaded: boolean;
29
+ downloadInProgress: boolean;
30
+ loader: boolean;
31
+ isFileEmpty: boolean;
32
+ isWrongFile: boolean;
33
+ isWrongFormat: boolean;
34
+ fileName: any;
35
+ data: any;
36
+ showExcel: boolean;
37
+ uploadedFiles: any;
38
+ fileResponse: any;
39
+ fileValue: any;
40
+ memberId: number;
41
+ organizationId: number;
42
+ errorMessage: string;
43
+ downloadStatus: string;
44
+ downloadPercent: number;
45
+ defaultOwner: string;
46
+ smileyMessage: string;
47
+ actionButtons: {
48
+ buttonText: string;
49
+ class: string;
50
+ id: string;
51
+ }[];
52
+ showSmiley: boolean;
53
+ member_obj_id: string;
54
+ riskClassEnabled: any;
55
+ userInfo: any;
56
+ responsibilityData: any;
57
+ constructor(riskService: AddRiskService, responsibilityService: ResponsibilityService, authService: AuthService, frequencyService: FrequencyBulkService, snackBar: SnackBarService);
58
+ ngOnChanges(changes: SimpleChanges): void;
59
+ ngOnInit(): void;
60
+ triggerBrowseFile(): void;
61
+ getUserDetails(): void;
62
+ uploadedFile(event: any, tabType?: any): void;
63
+ /**
64
+ * It takes a worksheet and a sheet name, and then it sets the data for different tabs.
65
+ * @param ws - XLSX.WorkSheet, sheet: string
66
+ * @param {string} sheet - string - the name of the sheet in the excel file
67
+ * @returns the value of the variable "responsibilityBulkUpload" which is an object.
68
+ */
69
+ setDataForDifferentTabs(ws: XLSX.WorkSheet, sheet: string): void;
70
+ /**
71
+ * If the bulkUpload object has a frequency object with a reports array, set the
72
+ * responsibilityBulkUpload to the frequency object and set the tabType to frequency. If not, check
73
+ * if the bulkUpload object has an ongoing object with a reports array, set the
74
+ * responsibilityBulkUpload to the ongoing object and set the tabType to ongoing. If not, check if
75
+ * the bulkUpload object has an onCompletion object with a reports array, set the
76
+ * responsibilityBulkUpload to the onCompletion object and set the tabType to onCompletion. If not,
77
+ * return true.
78
+ * </code>
79
+ * @param {any} data - any = {
80
+ * @returns a boolean value.
81
+ */
82
+ checkEmptyFile(data?: any): boolean;
83
+ compareWithCurrentDate(day: any, month: any): boolean;
84
+ isPastDate(day: any, month: any): boolean;
85
+ downloadTemplate(): void;
86
+ submitResponsibilityBulkUpload(): void;
87
+ returnIds(item: any, key: string): any;
88
+ reset(): void;
89
+ action(event: string): void;
90
+ closeSmiley(event: any): void;
91
+ viewResponsibilities(): void;
92
+ fileUpload(): void;
93
+ setOrganizationDetails(tempList: any): void;
94
+ /**
95
+ * It takes an event, which is a string, and then it sets the responsibilityBulkUpload variable to
96
+ * the value of the bulkUpload variable, which is an object, and then it accesses the property of
97
+ * that object that matches the event string.
98
+ *
99
+ * So if the event string is 'frequency', then the responsibilityBulkUpload variable will be set to
100
+ * the value of the frequency property of the bulkUpload object.
101
+ *
102
+ * If the event string is 'ongoing', then the responsibilityBulkUpload variable will be set to the
103
+ * value of the ongoing property of the bulkUpload object.
104
+ *
105
+ * If the event string is 'onCompletion', then the responsibilityBulkUpload variable will be set to the
106
+ * value of the onCompletion property of the bulkUpload object.
107
+ *
108
+ * If the event string is anything else, then the responsibilityBulkUpload variable will be set to
109
+ * the value of the frequency property of the bulkUpload object.
110
+ * @param {string} event - string - the event that is emitted from the child component (frequency | ongoing | onCompletion)
111
+ */
112
+ selectedTab(event: 'frequency' | 'ongoing' | 'onCompletion'): void;
113
+ /**
114
+ * It takes in a report, a tab type, and a boolean value. It then returns an object with a bunch of
115
+ * properties.
116
+ * </code>
117
+ * @param {any} report - any =&gt; the array of data
118
+ * @param {string} tabType - string - this is the type of tab that is selected.
119
+ * @param {boolean} isProgram - boolean
120
+ * @returns An object with the following properties:
121
+ */
122
+ setReportDetails(report: any, tabType: string, isProgram: boolean): any;
123
+ /**
124
+ * It takes a string, removes all whitespace, and returns the string
125
+ * @param {any} name - the name of the responsibility
126
+ * @returns the trimmedName variable.
127
+ */
128
+ checkValidResponsibilityName(name: any): any;
129
+ /**
130
+ * If the responsibility name is valid, and the assignee and assignor are not empty, then return
131
+ * true. Otherwise, return false
132
+ * @param {any} data - any - the data that is being passed in
133
+ * @returns A boolean value.
134
+ */
135
+ isValidData(data: any): boolean;
136
+ /**
137
+ * It takes in a data object and returns an object with 4 boolean properties.
138
+ * The boolean properties are determined by the values of the data object.
139
+ * @param {any} data - any = {
140
+ * @returns {
141
+ * isValidAssignee: true,
142
+ * isValidAssigner: true,
143
+ * isValidReviewer: true,
144
+ * isValidOverseer: true
145
+ * }
146
+ */
147
+ validateDataWithProgram(data: any): any;
148
+ /**
149
+ * It takes two strings as arguments, and returns an object with three properties
150
+ * @param {string} programName - string -&gt; Name of the program
151
+ * @param {string} [chileProgram] - string =&gt; this is the name of the sub-program
152
+ * @returns {
153
+ * programId: 1,
154
+ * childProgramId: 2,
155
+ * categoryId: '1,2'
156
+ * }
157
+ */
158
+ getProgramId(programName: string, chileProgram?: string): any;
159
+ }
@@ -6,6 +6,8 @@ export declare class MoreOptionComponent implements OnInit, OnChanges {
6
6
  selectedOption: EventEmitter<any>;
7
7
  isRCSelected: boolean;
8
8
  isProgramSelected: boolean;
9
+ allowedFeature: any;
10
+ featureflagrole: boolean;
9
11
  placeholderTexts: any;
10
12
  businessCycle: any;
11
13
  moreOptionsList: any;
@@ -0,0 +1,6 @@
1
+ export declare class BulkUploadService {
2
+ constructor();
3
+ hasDataInList(data: any, dataStartIndex: number): boolean;
4
+ checkEmptyFile(data: any): boolean;
5
+ checkCorrectFile(data: any, headerIndex: number): boolean;
6
+ }
@@ -4,9 +4,14 @@ export declare class BulkResponsibilityViewComponent implements OnInit {
4
4
  fileName: any;
5
5
  defaultOwner: any;
6
6
  loader: boolean;
7
+ tabType: 'frequency' | 'ongoing' | 'onCompletion';
8
+ bulkUpload: any;
7
9
  submitResponsibilityBulkUpload: EventEmitter<any>;
8
10
  cancel: EventEmitter<any>;
11
+ selectedTab: EventEmitter<any>;
12
+ responsibilityType: string;
9
13
  finalResponsibilities: number;
14
+ isConfirmClickable: boolean;
10
15
  ngOnChanges(): void;
11
16
  ngOnInit(): void;
12
17
  submit(): void;
@@ -15,6 +15,8 @@ export declare class FrameworkListComponent implements OnInit, OnChanges {
15
15
  closeFramework: EventEmitter<any>;
16
16
  assignControl: EventEmitter<any>;
17
17
  previousSelectedValues: any;
18
+ headerText: string;
19
+ workflowPage: Array<string>;
18
20
  subCategoriesList: {
19
21
  from: number;
20
22
  to: number;
@@ -19,7 +19,6 @@ export declare class FrequencyAnnualComponent implements OnInit {
19
19
  shortMonth: Array<string>;
20
20
  frequencyData: any;
21
21
  mode: any;
22
- responsibilityType: any;
23
22
  startDate: number;
24
23
  frequencyDetails: EventEmitter<any>;
25
24
  constructor(frequencyService: FrequencyService);
@@ -18,7 +18,6 @@ export declare class FrequencyBiannualComponent implements OnInit {
18
18
  shortMonth: Array<string>;
19
19
  selectedMonthly: Array<number>;
20
20
  mode: any;
21
- responsibilityType: any;
22
21
  startDate: number;
23
22
  frequencyData: any;
24
23
  lifecycleDetails: any;
@@ -7,7 +7,6 @@ export declare class FrequencyContainerComponent implements OnInit, OnChanges {
7
7
  frequencyTab: string;
8
8
  currentTabName: string;
9
9
  frequencyDetails: any;
10
- responsibilityType: any;
11
10
  selectedFrequency: EventEmitter<any>;
12
11
  closeFrequency: EventEmitter<any>;
13
12
  mode: any;
@@ -5,7 +5,6 @@ export declare class FrequencyDailyComponent implements OnInit {
5
5
  private frequencyService;
6
6
  datePicker: DatePickerComponent;
7
7
  mode: any;
8
- responsibilityType: any;
9
8
  datepickerOverlay: boolean;
10
9
  dailyInterval: string;
11
10
  dailyInput: number;
@@ -3,7 +3,6 @@ import { FrequencyService } from '../frequency.service';
3
3
  export declare class FrequencyMonthlyComponent implements OnInit {
4
4
  private frequencyService;
5
5
  mode: any;
6
- responsibilityType: any;
7
6
  monthlyInterval: string;
8
7
  monthlyInput: number;
9
8
  monthlyFailed: number;
@@ -19,7 +19,6 @@ export declare class FrequencyOneTimeComponent implements OnInit {
19
19
  selectedDate: any;
20
20
  frequencyData: any;
21
21
  mode: any;
22
- responsibilityType: any;
23
22
  frequencyDetails: EventEmitter<any>;
24
23
  constructor(frequencyService: FrequencyService);
25
24
  ngOnInit(): void;
@@ -3,7 +3,6 @@ import { FrequencyService } from "../frequency.service";
3
3
  export declare class FrequencyQuarterlyComponent implements OnInit {
4
4
  private frequencyService;
5
5
  mode: any;
6
- responsibilityType: any;
7
6
  quarterlyInterval: string;
8
7
  quarterlyInput: number;
9
8
  quarterlyFailed: number;
@@ -3,7 +3,6 @@ import { FrequencyService } from "../frequency.service";
3
3
  export declare class FrequencyWeeklyComponent implements OnInit {
4
4
  private frequencyService;
5
5
  mode: any;
6
- responsibilityType: any;
7
6
  weeklyInterval: string;
8
7
  weeklyInput: number;
9
8
  weeklyFailed: number;
@@ -28,8 +28,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
28
28
  disconnectRefresh: EventEmitter<any>;
29
29
  checkpointCountUpdated: EventEmitter<any>;
30
30
  rcSelected: EventEmitter<any>;
31
- feature: any;
32
- featureFlagSystemResponsibility: boolean;
33
31
  openedFrom: any;
34
32
  selectedRC: number;
35
33
  selectedProgram: any;
@@ -61,10 +59,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
61
59
  assuranceCategoryListLoaded: boolean;
62
60
  selectedFrameworkValues: any;
63
61
  hasReviewer: boolean;
64
- responsibilityType: {
65
- label: string;
66
- value: number;
67
- }[];
68
62
  assignorsList: any[];
69
63
  assigneesList: any[];
70
64
  reviewersList: any[];
@@ -141,14 +135,11 @@ export declare class WorkflowComplianceComponent implements OnInit {
141
135
  isGroupAssigned: boolean;
142
136
  responsibilityData: any;
143
137
  originalAssignee: any;
144
- unsubscribe: Subject<unknown>;
145
- systemResponsibilityList: any;
146
138
  whatInput: ElementRef;
147
139
  unSubscribeProgram: Subject<void>;
148
140
  constructor(authService: AuthService, responsibilityService: ResponsibilityService, frequencyService: FrequencyService, uiKitService: UiKitService, snackBar: SnackBarService, permission: AuthService, programService: ProgramsService);
149
141
  ngOnInit(): void;
150
142
  activateSelector(type: any, event: boolean): void;
151
- getSystemResponsibility(): void;
152
143
  whatChanged(event: any): void;
153
144
  activeDeselector(): void;
154
145
  addMoreInfo(event: any): void;
@@ -158,7 +149,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
158
149
  getAssuranceForRequiresAudit(): void;
159
150
  getOrganizationDetails(): void;
160
151
  getCategoryList(): void;
161
- responsibilityTypeChange(evt: 0 | 1): void;
162
152
  filterListsAccordingToProgram(program_id?: string): void;
163
153
  getProgramDetails(programId?: string): void;
164
154
  getListsAccordingToProgram(program_id: string): void;
@@ -49,6 +49,14 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
49
49
  convertFileData: {};
50
50
  selectedCategory: string;
51
51
  selectedProgram: any;
52
+ canFrameworkChange: boolean;
53
+ addToProgramDetails: {
54
+ _id: string;
55
+ framework_name: string;
56
+ id?: number;
57
+ type: string;
58
+ description: string;
59
+ };
52
60
  animation: boolean;
53
61
  workflowList: boolean;
54
62
  showMoreOption: boolean;
@@ -1,4 +1,4 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
2
2
  import { DatePickerComponent } from 'ng2-date-picker';
3
3
  import { EditorConfig } from 'vcomply-editor';
4
4
  import { SnackBarService } from '../ui-kit/snack-bar/snack-bar.service';
@@ -20,6 +20,7 @@ export declare class WorkflowPolicyComponent implements OnInit {
20
20
  private router;
21
21
  private route;
22
22
  private frequencyService;
23
+ private changeRef;
23
24
  pickerChanged: EventEmitter<any>;
24
25
  mode: string;
25
26
  policyId: string;
@@ -127,7 +128,7 @@ export declare class WorkflowPolicyComponent implements OnInit {
127
128
  userInfo: any;
128
129
  policyApprovalFlag: number;
129
130
  baseURL: string;
130
- constructor(policyService: PolicyService, snackBar: SnackBarService, uiKitService: UiKitService, authService: AuthService, responsibilityService: ResponsibilityService, router: Router, route: ActivatedRoute, frequencyService: FrequencyService, platformLocation: PlatformLocation);
131
+ constructor(policyService: PolicyService, snackBar: SnackBarService, uiKitService: UiKitService, authService: AuthService, responsibilityService: ResponsibilityService, router: Router, route: ActivatedRoute, frequencyService: FrequencyService, platformLocation: PlatformLocation, changeRef: ChangeDetectorRef);
131
132
  policyForm: PolicyForm;
132
133
  ngOnInit(): void;
133
134
  /**
@@ -2,6 +2,7 @@ import { EventEmitter, OnInit } from '@angular/core';
2
2
  export declare class RoleListComponent implements OnInit {
3
3
  save: EventEmitter<any>;
4
4
  cancel: EventEmitter<any>;
5
+ featureflagrole: boolean;
5
6
  animation: boolean;
6
7
  constructor();
7
8
  ngOnInit(): void;
@@ -59,6 +59,7 @@ export declare class WorkflowProgramComponent implements OnInit {
59
59
  };
60
60
  };
61
61
  showConfirmation: any;
62
+ isAscentAllowed: boolean;
62
63
  form: ElementRef;
63
64
  datePickerOverlay: boolean;
64
65
  datePicker: DatePickerComponent;
@@ -72,9 +73,12 @@ export declare class WorkflowProgramComponent implements OnInit {
72
73
  onRemovingRole: EventEmitter<any>;
73
74
  disableElementsFromMoreOptions: EventEmitter<any>;
74
75
  scrollToBottom: boolean;
76
+ canFrameworkChange: boolean;
75
77
  mode: string;
76
78
  programId: string;
77
79
  programType: number;
80
+ allowedFeature: any;
81
+ addToProgramDetails: any;
78
82
  panelTitleDefaultReviewer: string;
79
83
  panelTitleOwner: string;
80
84
  panelTitleReviewer: string;
@@ -84,6 +88,7 @@ export declare class WorkflowProgramComponent implements OnInit {
84
88
  isProgramScope: boolean;
85
89
  toolTipData: any;
86
90
  businessCycle: any;
91
+ featureflagrole: boolean;
87
92
  constructor(fb: FormBuilder, programService: ProgramsService, authService: AuthService, uiKitService: UiKitService, changeRef: ChangeDetectorRef);
88
93
  noWhitespaceValidator(control: FormControl): {
89
94
  whitespace: boolean;
@@ -189,4 +194,5 @@ export declare class WorkflowProgramComponent implements OnInit {
189
194
  populateGroups(res: any): void;
190
195
  resetAdditionalOption(): void;
191
196
  checkProgramOptionField(): any;
197
+ enablefeature(): void;
192
198
  }
@@ -14,7 +14,7 @@ export declare class AddRiskService {
14
14
  downLoadFile(data: any, type: string, filename: string): string;
15
15
  base64ToArrayBuffer(base64: any): ArrayBufferLike;
16
16
  downloadTemplate(categoryId: string): import("rxjs").Observable<import("@angular/common/http").HttpEvent<Object>>;
17
- downloadResponsibilityTemplate(): import("rxjs").Observable<import("@angular/common/http").HttpEvent<Object>>;
17
+ downloadResponsibilityTemplate(version?: any): import("rxjs").Observable<import("@angular/common/http").HttpEvent<Object>>;
18
18
  addRisk(payload: any): import("rxjs").Observable<any>;
19
19
  addBulkRisk(payload: any[]): import("rxjs").Observable<any>;
20
20
  getRiskDetail(riskId: string): import("rxjs").Observable<any>;
@@ -1,5 +1,5 @@
1
1
  export declare class FrequencyBulkService {
2
2
  env: any;
3
3
  constructor();
4
- shortHand_freqCal(frequency: any, day: any, month: any, year?: any): string;
4
+ shortHand_freqCal(frequency: any, day: any, month: any, year?: any, dueDate?: any, ongoingValues?: any): string;
5
5
  }
@@ -9,7 +9,6 @@ export declare class ResponsibilityService {
9
9
  dataPerPage: number;
10
10
  constructor(http: HttpClient, authService: AuthService, config?: Configurations);
11
11
  getResponsibilityCenterList(params?: HttpParams): import("rxjs").Observable<any[]>;
12
- getSystemResponsibilityList(params?: HttpParams): import("rxjs").Observable<any[]>;
13
12
  getOrganizationGroups(params?: HttpParams): import("rxjs").Observable<any[]>;
14
13
  getOrganizationUsers(): import("rxjs").Observable<any[]>;
15
14
  getOrganizationPeople(params?: HttpParams): import("rxjs").Observable<any[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vcomply-workflow-engine",
3
- "version": "2.6.84",
3
+ "version": "2.6.86",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "10.x || 11.x || 12.x || 13.x || 14.x || 15.x || 16.x",
6
6
  "@angular/core": "10.x || 11.x || 12.x || 13.x || 14.x || 15.x || 16.x"
@@ -22,4 +22,4 @@
22
22
  "typings": "vcomply-workflow-engine.d.ts",
23
23
  "metadata": "vcomply-workflow-engine.metadata.json",
24
24
  "sideEffects": false
25
- }
25
+ }