vcomply-workflow-engine 0.0.3 → 0.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.
Files changed (37) hide show
  1. package/bundles/vcomply-workflow-engine.umd.js +229 -81
  2. package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
  3. package/esm2015/lib/add-multiple-responsibility/add-multiple-responsibility.component.js +3 -3
  4. package/esm2015/lib/add-multiple-responsibility/add-multiple-responsibility.component.ngfactory.js +5 -5
  5. package/esm2015/lib/add-multiple-risk/add-multiple-risk.component.js +3 -3
  6. package/esm2015/lib/add-multiple-risk/add-multiple-risk.component.ngfactory.js +5 -5
  7. package/esm2015/lib/log-an-issue/log-an-issue.component.js +1 -1
  8. package/esm2015/lib/more-option/more-option.component.js +10 -1
  9. package/esm2015/lib/sharedComponents/checkpoint/checkpoints-questions/checkpoints-questions.component.js +1 -1
  10. package/esm2015/lib/sharedComponents/checkpoint-policy/checkpoints-policy-questions/checkpoints-policy-questions.component.js +1 -1
  11. package/esm2015/lib/sharedComponents/format-and-evidence/format-and-evidence.component.js +1 -1
  12. package/esm2015/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.js +2 -2
  13. package/esm2015/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.js +2 -2
  14. package/esm2015/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.js +2 -2
  15. package/esm2015/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.js +1 -1
  16. package/esm2015/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.js +4 -2
  17. package/esm2015/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.js +2 -2
  18. package/esm2015/lib/sharedComponents/risk-classification/risk-classification.component.js +1 -1
  19. package/esm2015/lib/workflow-compliance/workflow-compliance.component.js +35 -49
  20. package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngfactory.js +1 -1
  21. package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.js +7 -3
  22. package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngfactory.js +25 -22
  23. package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngsummary.json +1 -1
  24. package/esm2015/lib/workflow-engine.module.ngfactory.js +1 -1
  25. package/esm2015/lib/workflow-policy/workflow-policy.component.js +1 -1
  26. package/esm2015/lib/workflow-risk/workflow-risk.component.js +160 -15
  27. package/esm2015/lib/workflow-risk/workflow-risk.component.ngfactory.js +156 -89
  28. package/esm2015/lib/workflow-risk/workflow-risk.component.ngsummary.json +1 -1
  29. package/esm2015/lib/workflow-services/auth.service.js +3 -2
  30. package/esm2015/lib/workflow-survey-form/workflow-survey-form.component.js +1 -1
  31. package/fesm2015/vcomply-workflow-engine.js +229 -82
  32. package/fesm2015/vcomply-workflow-engine.js.map +1 -1
  33. package/lib/workflow-compliance/workflow-compliance.component.d.ts +1 -1
  34. package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +2 -0
  35. package/lib/workflow-risk/workflow-risk.component.d.ts +12 -0
  36. package/package.json +1 -1
  37. package/vcomply-workflow-engine.metadata.json +1 -1
@@ -129,7 +129,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
129
129
  setMoreOptions(): void;
130
130
  setList(list: any[], ids: any[], key: string): any;
131
131
  returnIds(list: any[], key: string): any[];
132
- setReviewerPayload(ids: any[], type: string): any;
132
+ setReviewerPayload(ids: any[], type: string, acceptedData?: Array<any>, reviewerType?: string): any;
133
133
  checkWhetherAllListsLoaded(): void;
134
134
  saveSelectedList(type: string, selectedItems: any): void;
135
135
  remove(type: any, event: any): void;
@@ -23,6 +23,8 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
23
23
  allowedWorkflows: any;
24
24
  frameworkDetails: Array<any>;
25
25
  selectedRC: string;
26
+ defaultRiskType: string;
27
+ moveToRegisterMode: string;
26
28
  reponsibilityData: {
27
29
  responsibilityId: null;
28
30
  responsibilityName: string;
@@ -28,12 +28,16 @@ export declare class WorkflowRiskComponent implements OnInit {
28
28
  showSmiley: boolean;
29
29
  mode: string;
30
30
  riskId: string;
31
+ defaultRiskType: string;
32
+ moveToRegisterMode: string;
31
33
  showConfirmationAlert: EventEmitter<any>;
32
34
  pickerChanged: EventEmitter<any>;
33
35
  populateOption: EventEmitter<any>;
34
36
  closeWorkflow: EventEmitter<any>;
35
37
  disconnectRefresh: EventEmitter<any>;
36
38
  refreshForm: EventEmitter<any>;
39
+ hideElementsFromMoreOptions: EventEmitter<any>;
40
+ openedFrom: string;
37
41
  scrollToBottom: boolean;
38
42
  categoryList: CategoryList;
39
43
  overseersList: any;
@@ -43,6 +47,7 @@ export declare class WorkflowRiskComponent implements OnInit {
43
47
  date: Date;
44
48
  riskNameFocus: boolean;
45
49
  assessmentFocus: boolean;
50
+ riskTypeChangeAllowed: boolean;
46
51
  riskForm: any;
47
52
  apiUrl: string;
48
53
  memberId: number;
@@ -57,7 +62,11 @@ export declare class WorkflowRiskComponent implements OnInit {
57
62
  activeSelector: string;
58
63
  constructor(riskService: AddRiskService, authService: AuthService, uiKitService: UiKitService, snackBar: SnackBarService, config?: Configurations);
59
64
  description: EditorConfig;
65
+ mitigationDescriptionPlan: EditorConfig;
60
66
  ngOnInit(): void;
67
+ setRiskTypeBasedOnSubscription(): void;
68
+ changeRisk(type: string): void;
69
+ setPopupButtons(): void;
61
70
  getRiskDetails(riskId: any): void;
62
71
  populateOptionalFields(): void;
63
72
  setCategoryType(type: any): "strategic" | "operational" | "compliance" | "others";
@@ -66,6 +75,7 @@ export declare class WorkflowRiskComponent implements OnInit {
66
75
  getOwnersList(): void;
67
76
  getAdminsList(): void;
68
77
  getSettingsInfo(): void;
78
+ hideOptionalFields(res: any): void;
69
79
  checkWhetherAllListsLoaded(): void;
70
80
  setOverseersList(): void;
71
81
  activateSelector(type: any, event: boolean): void;
@@ -88,5 +98,7 @@ export declare class WorkflowRiskComponent implements OnInit {
88
98
  action(event: string): void;
89
99
  closeSmiley(event: any): void;
90
100
  viewRisks(): void;
101
+ redirectToReported(): void;
91
102
  checkDescription(): void;
103
+ checkMitigationPlan(): void;
92
104
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vcomply-workflow-engine",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.0.1",
6
6
  "@angular/core": "^12.0.1"