vcomply-workflow-engine 2.4.81 → 2.4.82

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 (31) hide show
  1. package/bundles/vcomply-workflow-engine.umd.js +35 -136
  2. package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
  3. package/esm2015/lib/log-an-issue/log-an-issue.component.ngfactory.js +6 -6
  4. package/esm2015/lib/more-option/more-option.component.js +5 -1
  5. package/esm2015/lib/sharedComponents/assessment-editor/components/add-page-details/add-page-details.component.ngfactory.js +4 -4
  6. package/esm2015/lib/sharedComponents/assessment-editor/components/add-segment-popup/add-segment-popup.component.ngfactory.js +4 -4
  7. package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview.module.ngfactory.js +3 -3
  8. package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview.module.ngsummary.json +1 -1
  9. package/esm2015/lib/sharedComponents/assessment-editor/components/setting-response-segment/setting-response-segment.component.ngfactory.js +4 -4
  10. package/esm2015/lib/sharedComponents/assessment-editor/create-assessment.module.ngfactory.js +3 -3
  11. package/esm2015/lib/sharedComponents/assessment-editor/create-assessment.module.ngsummary.json +1 -1
  12. package/esm2015/lib/sharedComponents/checkpoint/checkpoints-questions/checkpoints-questions.component.ngfactory.js +4 -4
  13. package/esm2015/lib/workflow-assessment/workflow-assessment.component.ngfactory.js +4 -4
  14. package/esm2015/lib/workflow-compliance/workflow-compliance.component.js +31 -124
  15. package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngfactory.js +112 -115
  16. package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngsummary.json +1 -1
  17. package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.js +2 -14
  18. package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngfactory.js +13 -16
  19. package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngsummary.json +1 -1
  20. package/esm2015/lib/workflow-engine.module.ngfactory.js +3 -3
  21. package/esm2015/lib/workflow-engine.module.ngsummary.json +1 -1
  22. package/esm2015/lib/workflow-policy/workflow-policy.component.ngfactory.js +4 -4
  23. package/esm2015/lib/workflow-program/workflow-program.component.ngfactory.js +5 -5
  24. package/esm2015/lib/workflow-risk/workflow-risk.component.ngfactory.js +5 -5
  25. package/esm2015/lib/workflow-survey-form/workflow-survey-form.component.ngfactory.js +4 -4
  26. package/fesm2015/vcomply-workflow-engine.js +35 -136
  27. package/fesm2015/vcomply-workflow-engine.js.map +1 -1
  28. package/lib/workflow-compliance/workflow-compliance.component.d.ts +7 -102
  29. package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +0 -1
  30. package/package.json +2 -2
  31. package/vcomply-workflow-engine.metadata.json +1 -1
@@ -18,12 +18,6 @@ export declare class WorkflowComplianceComponent implements OnInit {
18
18
  frameworkDetails: Array<any>;
19
19
  isEntrust: boolean;
20
20
  set closeOnEsc(escapeCondition: boolean);
21
- openedFrom: any;
22
- selectedRC: number;
23
- selectedProgram: any;
24
- onRemovingCheckpoint: EventEmitter<any>;
25
- isAssessmentDisabled: EventEmitter<any>;
26
- assigneeTypeChange: EventEmitter<any>;
27
21
  pickerChanged: EventEmitter<any>;
28
22
  populateOption: EventEmitter<any>;
29
23
  hideElementsFromMoreOptions: EventEmitter<any>;
@@ -32,6 +26,9 @@ export declare class WorkflowComplianceComponent implements OnInit {
32
26
  disconnectRefresh: EventEmitter<any>;
33
27
  checkpointCountUpdated: EventEmitter<any>;
34
28
  rcSelected: EventEmitter<any>;
29
+ openedFrom: any;
30
+ selectedRC: number;
31
+ selectedProgram: any;
35
32
  scrollToBottom: boolean;
36
33
  description: EditorConfig;
37
34
  programPeopleList: any;
@@ -71,6 +68,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
71
68
  moreOptions: any;
72
69
  activeSelector: string;
73
70
  sideSelectorElements: any;
71
+ displayList: {};
74
72
  focus: {
75
73
  responsibilityName: boolean;
76
74
  description: boolean;
@@ -126,9 +124,8 @@ export declare class WorkflowComplianceComponent implements OnInit {
126
124
  managePermission: boolean;
127
125
  checkpointCount: number;
128
126
  roleBasedPermissions: any;
129
- isGroupAssigned: boolean;
130
- responsibilityData: any;
131
- originalAssignee: any;
127
+ onRemovingCheckpoint: EventEmitter<any>;
128
+ isAssessmentDisabled: EventEmitter<any>;
132
129
  whatInput: ElementRef;
133
130
  unSubscribeProgram: Subject<void>;
134
131
  constructor(authService: AuthService, responsibilityService: ResponsibilityService, frequencyService: FrequencyService, uiKitService: UiKitService, snackBar: SnackBarService, permission: AuthService);
@@ -159,25 +156,10 @@ export declare class WorkflowComplianceComponent implements OnInit {
159
156
  entrustFramework(event: any): void;
160
157
  refreshAllLists(): void;
161
158
  refreshListsWhileProgramSelected(): void;
162
- /**
163
- * If the form is valid, then if the mode is EDIT, then set the organizationId and memberId to the
164
- * authService values, and then call the entrustResponsibility function with the responsibilityForm as
165
- * a parameter.
166
- *
167
- * If the mode is not EDIT, then call the entrustResponsibility function with the responsibilityForm
168
- * as a parameter.
169
- * @returns a boolean value.
170
- */
171
159
  submitResponsibility(): false | undefined;
172
- /**
173
- * If the responsibility name is empty, or the frequency is empty, or the assignees list is empty,
174
- * then return false. Otherwise, return true.
175
- */
176
160
  validateResponsibility(): boolean | undefined;
161
+ responsibilityData: any;
177
162
  entrustResponsibility(entrustForm: any): void;
178
- /**
179
- * It resets the form.
180
- */
181
163
  reset(): void;
182
164
  action(event: string): void;
183
165
  viewResponsibilities(): void;
@@ -186,96 +168,20 @@ export declare class WorkflowComplianceComponent implements OnInit {
186
168
  frequencyPopulation(event: any): void;
187
169
  frequencyData(event: any): void;
188
170
  checkBlank(data: string): string;
189
- /**
190
- * It takes a string and returns a string.
191
- * @param {any} res - any = {
192
- */
193
171
  getFrequencyPlaceholder(res: any): void;
194
- /**
195
- * It gets the frequency details and report id, then it sets the frequency placeholder to the frequency
196
- * details and then it gets the on completion of responsibility and sets the frequency placeholder to
197
- * the frequency details and the report name.
198
- * @param {any} frequencyDetails - [0] =&gt; "1"
199
- * @param {number} reportId - number
200
- */
201
172
  getOnCompletionOf(frequencyDetails: any, reportId: number): void;
202
- /**
203
- * "If the frequencyDetails[3] is 1, then set the frequencyPlaceholder to 'Daily by ' + frequencyTime,
204
- * otherwise if frequencyDetails[3] is greater than 1, then set the frequencyPlaceholder to 'Every ' +
205
- * parseInt(frequencyDetails[3]) + ' days by ' + frequencyTime."
206
- * @param {any} frequencyDetails - [0, 0, 0, 1]
207
- * @param {any} frequencyTime - "12:00 AM"
208
- */
209
173
  getDailyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
210
- /**
211
- * It takes a string of comma separated numbers and returns a string of comma separated words.
212
- *
213
- * The function is called with a string of comma separated numbers, like this:
214
- *
215
- * getWeeklyPlaceholder(["1","2,3,4,5,6,7","1","1"], "10:00 AM")
216
- *
217
- * The function returns a string of comma separated words, like this:
218
- *
219
- * "Every Monday,Tuesday,Wednesday,Thursday,Friday,Saturday by 10:00 AM"</code>
220
- * @param {any} frequencyDetails - ["1", "1,2,3,4,5", "", "1", ""]
221
- * @param {any} frequencyTime - "10:00 AM"
222
- */
223
174
  getWeeklyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
224
- /**
225
- * It takes a string of comma separated numbers, converts them to month names, and then adds them to a
226
- * sentence.
227
- * @param {any} frequencyDetails - ["1", "1", "1,2,3,4,5,6,7,8,9,10,11,12"]
228
- * @param {any} frequencyTime - "10:00 AM"
229
- */
230
175
  getMonthlyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
231
- /**
232
- * If the frequencyDetails[1] is 1, 2, 3, 21, 22, 23, or greater than 3, then set the
233
- * frequencyPlaceholder to a string that includes the frequencyDetails[1] and the frequencyDetails[2]
234
- * and the frequencyTime.
235
- * @param {any} frequencyDetails - ["3", "1", "1,2,3"]
236
- * @param {any} frequencyTime - "10:00 AM"
237
- */
238
176
  getQuarterlyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
239
- /**
240
- * It takes a string of comma separated numbers and returns a string of comma separated month names.
241
- * @param {any} frequencyDetails - ["1", "1", "1,2,3,4,5,6,7,8,9,10,11,12"]
242
- * @param {any} frequencyTime - "10:00 AM"
243
- */
244
177
  getBiannualPlaceholder(frequencyDetails: any, frequencyTime: any): void;
245
- /**
246
- * If the frequencyDetails[1] is less than 2, then the frequencyPlaceholder is set to the 1st, 2nd,
247
- * 3rd, or nth of every month by frequencyTime.
248
- *
249
- * If the frequencyDetails[1] is greater than 1, then the frequencyPlaceholder is set to the 1st, 2nd,
250
- * 3rd, or nth of every month, Interval: every yearSequence years by frequencyTime.
251
- * @param {any} frequencyDetails - ["Yearly", "1", "1", "1"]
252
- * @param {any} frequencyTime - "10:00 AM"
253
- */
254
178
  getYearlyPlaceholder(frequencyDetails: any, frequencyTime: any): void;
255
- /**
256
- * It takes a frequencyDetails array and a frequencyTime array and returns a string.
257
- * @param {any} frequencyDetails - [4,1,1,1]
258
- */
259
179
  getRandomPlaceholder(frequencyDetails: any, frequencyTime: any): void;
260
- /**
261
- * "When the user clicks the edit button, the edit button is hidden and the input field is shown.
262
- * When the user clicks the input field, the input field is hidden and the edit button is shown."
263
- * @param {any} event - any - the event that triggered the function
264
- */
265
180
  onEditWhat(event: any): void;
266
- /**
267
- *
268
- * The function is called with a parameter and returns an array of strings.
269
- * @param {any} [res] - is the response from the API
270
- */
271
181
  getEditMoreOptions(res?: any): void;
272
182
  testFunction(): void;
273
183
  reviewerTypeChange(event: any): void;
274
184
  selectedSampleData(event: number): void;
275
- /**
276
- * It populates a list of assurance categories based on the test plan category selected.
277
- * @param {any} testPlanCategory - any
278
- */
279
185
  populateAssuranceList(testPlanCategory: any): void;
280
186
  checkInputValue(event: any): boolean;
281
187
  switchEnable(event: boolean): void;
@@ -293,5 +199,4 @@ export declare class WorkflowComplianceComponent implements OnInit {
293
199
  */
294
200
  postAssessment(event: any): void;
295
201
  setIsUploaded(event: any): void;
296
- openAssigneeChangeConfirmation(event: any): void;
297
202
  }
@@ -110,5 +110,4 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
110
110
  onCheckpointSelection(event: number): void;
111
111
  onRcSelected(isRcSelected: boolean): void;
112
112
  fetchOrganizationDetails(): void;
113
- assigneeTypeChange(): void;
114
113
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vcomply-workflow-engine",
3
- "version": "2.4.81",
3
+ "version": "2.4.82",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.0.1",
6
6
  "@angular/core": "^12.0.1"
@@ -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
+ }