vcomply-workflow-engine 0.0.0 → 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 (89) hide show
  1. package/bundles/vcomply-workflow-engine.umd.js +1200 -397
  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/interfaces/issue-data.js +2 -0
  8. package/esm2015/lib/interfaces/issue-data.ngsummary.json +1 -0
  9. package/esm2015/lib/log-an-issue/log-an-issue.component.js +397 -53
  10. package/esm2015/lib/log-an-issue/log-an-issue.component.ngfactory.js +228 -175
  11. package/esm2015/lib/log-an-issue/log-an-issue.component.ngsummary.json +1 -1
  12. package/esm2015/lib/more-option/more-option.component.js +29 -20
  13. package/esm2015/lib/pipes/search.pipe.js +53 -10
  14. package/esm2015/lib/sharedComponents/bulk-view/bulk-view.component.js +2 -2
  15. package/esm2015/lib/sharedComponents/bulk-view/bulk-view.component.ngfactory.js +4 -4
  16. package/esm2015/lib/sharedComponents/checkbox-list/checkbox-list.component.js +2 -2
  17. package/esm2015/lib/sharedComponents/checkbox-list/checkbox-list.component.ngfactory.js +3 -3
  18. package/esm2015/lib/sharedComponents/checkpoint/checkpoints-questions/checkpoints-questions.component.js +1 -1
  19. package/esm2015/lib/sharedComponents/checkpoint-policy/checkpoints-policy-questions/checkpoints-policy-questions.component.js +1 -1
  20. package/esm2015/lib/sharedComponents/format-and-evidence/format-and-evidence.component.js +1 -1
  21. package/esm2015/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.js +2 -20
  22. package/esm2015/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.js +2 -2
  23. package/esm2015/lib/sharedComponents/frequency/frequency-container/frequency-container.component.js +2 -2
  24. package/esm2015/lib/sharedComponents/frequency/frequency-lifecycle/frequency-lifecycle.component.js +3 -3
  25. package/esm2015/lib/sharedComponents/frequency/frequency-lifecycle/frequency-lifecycle.component.ngfactory.js +3 -3
  26. package/esm2015/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.js +2 -2
  27. package/esm2015/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.js +1 -1
  28. package/esm2015/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.js +4 -2
  29. package/esm2015/lib/sharedComponents/frequency/frequency-top/frequency-top.component.js +11 -15
  30. package/esm2015/lib/sharedComponents/frequency/frequency-top/frequency-top.component.ngfactory.js +5 -5
  31. package/esm2015/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.js +2 -2
  32. package/esm2015/lib/sharedComponents/group-users-list/group-users-list.component.js +1 -1
  33. package/esm2015/lib/sharedComponents/list-loader/list-loader.component.js +15 -0
  34. package/esm2015/lib/sharedComponents/list-loader/list-loader.component.ngfactory.js +19 -0
  35. package/esm2015/lib/sharedComponents/list-loader/list-loader.component.ngsummary.json +1 -0
  36. package/esm2015/lib/sharedComponents/owner-list/owner-list.component.js +1 -1
  37. package/esm2015/lib/sharedComponents/pipes/array-filter.pipe.js +14 -0
  38. package/esm2015/lib/sharedComponents/pipes/array-filter.pipe.ngsummary.json +1 -0
  39. package/esm2015/lib/sharedComponents/radio-list/radio-list.component.js +7 -4
  40. package/esm2015/lib/sharedComponents/radio-list/radio-list.component.ngfactory.js +4 -4
  41. package/esm2015/lib/sharedComponents/radio-list/radio-list.component.ngsummary.json +1 -1
  42. package/esm2015/lib/sharedComponents/responsibility-risk-selector/responsibility-risk-selector.component.js +70 -0
  43. package/esm2015/lib/sharedComponents/responsibility-risk-selector/responsibility-risk-selector.component.ngfactory.js +51 -0
  44. package/esm2015/lib/sharedComponents/responsibility-risk-selector/responsibility-risk-selector.component.ngsummary.json +1 -0
  45. package/esm2015/lib/sharedComponents/risk-classification/risk-classification.component.js +1 -1
  46. package/esm2015/lib/sharedComponents/users-radio-list/users-radio-list.component.js +1 -1
  47. package/esm2015/lib/ui-kit/tooltip/tooltip.directive.js +2 -2
  48. package/esm2015/lib/workflow-compliance/workflow-compliance.component.js +67 -86
  49. package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngfactory.js +52 -37
  50. package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngsummary.json +1 -1
  51. package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.js +20 -8
  52. package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngfactory.js +60 -50
  53. package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngsummary.json +1 -1
  54. package/esm2015/lib/workflow-engine.module.js +8 -1
  55. package/esm2015/lib/workflow-engine.module.ngfactory.js +1 -1
  56. package/esm2015/lib/workflow-policy/workflow-policy.component.js +1 -1
  57. package/esm2015/lib/workflow-risk/workflow-risk.component.js +160 -15
  58. package/esm2015/lib/workflow-risk/workflow-risk.component.ngfactory.js +156 -89
  59. package/esm2015/lib/workflow-risk/workflow-risk.component.ngsummary.json +1 -1
  60. package/esm2015/lib/workflow-services/auth.service.js +17 -9
  61. package/esm2015/lib/workflow-services/auth.service.ngsummary.json +1 -1
  62. package/esm2015/lib/workflow-services/log-issue.service.js +100 -10
  63. package/esm2015/lib/workflow-services/log-issue.service.ngsummary.json +1 -1
  64. package/esm2015/lib/workflow-services/responsibility.service.js +3 -3
  65. package/esm2015/lib/workflow-services/token-decoder.service.js +38 -0
  66. package/esm2015/lib/workflow-services/token-decoder.service.ngsummary.json +1 -0
  67. package/esm2015/lib/workflow-survey-form/workflow-survey-form.component.js +1 -1
  68. package/esm2015/vcomply-workflow-engine.js +113 -109
  69. package/esm2015/vcomply-workflow-engine.ngsummary.json +1 -1
  70. package/fesm2015/vcomply-workflow-engine.js +1012 -266
  71. package/fesm2015/vcomply-workflow-engine.js.map +1 -1
  72. package/lib/interfaces/issue-data.d.ts +21 -0
  73. package/lib/log-an-issue/log-an-issue.component.d.ts +67 -13
  74. package/lib/pipes/search.pipe.d.ts +1 -1
  75. package/lib/sharedComponents/list-loader/list-loader.component.d.ts +5 -0
  76. package/lib/sharedComponents/list-loader/list-loader.component.ngfactory.d.ts +1 -0
  77. package/lib/sharedComponents/pipes/array-filter.pipe.d.ts +4 -0
  78. package/lib/sharedComponents/radio-list/radio-list.component.d.ts +3 -2
  79. package/lib/sharedComponents/responsibility-risk-selector/responsibility-risk-selector.component.d.ts +23 -0
  80. package/lib/sharedComponents/responsibility-risk-selector/responsibility-risk-selector.component.ngfactory.d.ts +1 -0
  81. package/lib/workflow-compliance/workflow-compliance.component.d.ts +6 -2
  82. package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +13 -3
  83. package/lib/workflow-risk/workflow-risk.component.d.ts +12 -0
  84. package/lib/workflow-services/auth.service.d.ts +3 -1
  85. package/lib/workflow-services/log-issue.service.d.ts +6 -1
  86. package/lib/workflow-services/token-decoder.service.d.ts +4 -0
  87. package/package.json +1 -1
  88. package/vcomply-workflow-engine.d.ts +112 -108
  89. package/vcomply-workflow-engine.metadata.json +1 -1
@@ -0,0 +1,21 @@
1
+ export interface IssueConfiguration {
2
+ IsLinkageField: IssueLinkage;
3
+ IsControlRiskField: controlRisk;
4
+ IsRCField: rcConfig;
5
+ }
6
+ export interface IssueLinkage {
7
+ isVisible: boolean;
8
+ linkageId: number;
9
+ linkageName: string;
10
+ readOnly: boolean;
11
+ }
12
+ export interface controlRisk {
13
+ isVisible: boolean;
14
+ entityId: number;
15
+ readOnly: boolean;
16
+ }
17
+ export interface rcConfig {
18
+ isVisible: boolean;
19
+ rcId: number;
20
+ readOnly: boolean;
21
+ }
@@ -5,19 +5,32 @@ import { EditorConfig } from 'vcomply-editor';
5
5
  import { DatePickerComponent } from 'ng2-date-picker';
6
6
  import { UiKitService } from '../workflow-services/ui-kit.service';
7
7
  import { SnackBarService } from '../ui-kit/snack-bar/snack-bar.service';
8
+ import { IssueConfiguration } from '../interfaces/issue-data';
8
9
  export declare class LogAnIssueComponent implements OnInit, OnChanges, AfterViewInit {
9
10
  private logService;
10
11
  private authService;
11
12
  private uiKitService;
12
13
  private snackBar;
13
14
  openedFrom: any;
14
- reponsibiltyData: {
15
- responsibiltyId: string;
16
- responsibiltyName: string;
15
+ issueId: any;
16
+ reponsibilityData: {
17
+ responsibilityId: null;
18
+ responsibilityName: string;
19
+ rcId: null;
17
20
  };
21
+ issueDetails: {
22
+ auditPlanId: null;
23
+ auditPlanName: string;
24
+ rcId: null;
25
+ auditObjId: null;
26
+ };
27
+ mode: string;
28
+ config: IssueConfiguration;
18
29
  pickerChanged: EventEmitter<any>;
19
30
  populateOption: EventEmitter<any>;
20
31
  closeWorkflow: EventEmitter<any>;
32
+ modeChange: EventEmitter<any>;
33
+ disconnectRefresh: EventEmitter<any>;
21
34
  currentUser: any;
22
35
  datePicker: DatePickerComponent;
23
36
  scrollToBottom: boolean;
@@ -28,6 +41,7 @@ export declare class LogAnIssueComponent implements OnInit, OnChanges, AfterView
28
41
  loader: boolean;
29
42
  smileyMessage: string;
30
43
  issueData: any;
44
+ isRiskControlLoading: boolean;
31
45
  actionButtons: {
32
46
  buttonText: string;
33
47
  class: string;
@@ -43,14 +57,9 @@ export declare class LogAnIssueComponent implements OnInit, OnChanges, AfterView
43
57
  openOnFocus: boolean;
44
58
  min: string;
45
59
  };
46
- listData: {
47
- issueTypeList: never[];
48
- userList: never[];
49
- categoryList: never[];
50
- rcList: never[];
51
- };
60
+ listData: any;
52
61
  logIssueForm: any;
53
- descriptionAttachmentTrack: any;
62
+ AttachmentTrack: any;
54
63
  additionalOptionStatus: any;
55
64
  riskClassification: {
56
65
  name: string;
@@ -115,10 +124,19 @@ export declare class LogAnIssueComponent implements OnInit, OnChanges, AfterView
115
124
  activeSelector: string;
116
125
  listLoadingStatus: any;
117
126
  currentTime: string;
127
+ /**
128
+ * isRCPreSelected,isRCVisible are variable used to set the visibility of rc field and edit button in certain conditions
129
+ */
130
+ isRCPreSelected: boolean;
131
+ isRCVisible: boolean;
132
+ isRCMandatory: boolean;
133
+ dataForEdit: any;
134
+ isRiskControlVisible: boolean;
118
135
  constructor(logService: LogIssueService, authService: AuthService, uiKitService: UiKitService, snackBar: SnackBarService);
119
136
  ngOnInit(): void;
120
137
  ngAfterViewInit(): void;
121
138
  ngOnChanges(): void;
139
+ decideRCmandatory(): void;
122
140
  setCurrentTime(): void;
123
141
  getCurrentTime(): string;
124
142
  setUserDetails(): void;
@@ -126,6 +144,9 @@ export declare class LogAnIssueComponent implements OnInit, OnChanges, AfterView
126
144
  fetchUserList(): void;
127
145
  fetchCategoryList(): void;
128
146
  fetchRCList(): void;
147
+ setSelectedRC(): void;
148
+ fetchControlRisks(): void;
149
+ getLinkage(auditId: any, type: string): void;
129
150
  /**
130
151
  * This functioj check weather all the required lists are loaded
131
152
  * If loaded hides the loader otherwise shows the loader.
@@ -147,14 +168,47 @@ export declare class LogAnIssueComponent implements OnInit, OnChanges, AfterView
147
168
  setEvidence(type: any): void;
148
169
  addMoreInfo(event: any): void;
149
170
  idToArray(selectedItems: any, listItems: any, filterkey: any): any;
150
- selectFilefromDescription(files: any): void;
151
- uploadFile(file: any): void;
152
- deleteFile(file: any): void;
171
+ selectFile(type: string, files: any): void;
172
+ uploadFile(file: any, type: string): void;
173
+ deleteFile(file: any, type: string): void;
153
174
  addIssue(): void;
154
175
  closeSmiley(evt?: any): void;
176
+ /**
177
+ * Closes workflow engine
178
+ * @param evt
179
+ * @param confirm
180
+ */
155
181
  closeWorkFlow(evt: any, confirm: any): void;
156
182
  action(evt: any): void;
183
+ viewIssue(): void;
184
+ /**
185
+ * Populate the tickmark of optional fields
186
+ */
157
187
  populateOptionalFields(): void;
188
+ /**
189
+ * Fetchs issue details when in edit mode based on the input id passed
190
+ */
191
+ fetchIssueDetails(): void;
192
+ /**
193
+ * Populates the issue form when in edit mode
194
+ * @param issueData issue data fetched from API
195
+ */
196
+ populateForm(issueData: any): Promise<void>;
197
+ /**
198
+ * Sets the visibility of optional fields
199
+ * @param issueData issue data fetched from API
200
+ */
201
+ setOptionalField(issueData: any): void;
202
+ /**
203
+ * Generates list of selected overseer
204
+ * @param allUserList list of all users in the organzation
205
+ * @param overseerList lit of the overseer that needs to be filtered
206
+ * @returns list of array containing the users objects
207
+ */
208
+ generateOverseerList(allUserList: any, overseerList: any): any;
209
+ /**
210
+ * Resets issue form
211
+ */
158
212
  resetIssueForm(): void;
159
213
  checkDescription(): void;
160
214
  }
@@ -1,4 +1,4 @@
1
1
  import { PipeTransform } from '@angular/core';
2
2
  export declare class SearchPipe implements PipeTransform {
3
- transform(value: any, args?: any): any;
3
+ transform(items: any[], ...args: any[]): any[];
4
4
  }
@@ -0,0 +1,5 @@
1
+ import { OnInit } from '@angular/core';
2
+ export declare class ListLoaderComponent implements OnInit {
3
+ constructor();
4
+ ngOnInit(): void;
5
+ }
@@ -0,0 +1,4 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ export declare class ArrayFilterPipe implements PipeTransform {
3
+ transform(value: any, ...args: any[]): any;
4
+ }
@@ -1,5 +1,5 @@
1
- import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
- export declare class RadioListComponent implements OnInit {
1
+ import { ElementRef, EventEmitter, OnInit, AfterViewInit } from '@angular/core';
2
+ export declare class RadioListComponent implements OnInit, AfterViewInit {
3
3
  listBlock: ElementRef;
4
4
  itemsList: any;
5
5
  selectedItems: any;
@@ -15,6 +15,7 @@ export declare class RadioListComponent implements OnInit {
15
15
  blockWidth: any;
16
16
  constructor();
17
17
  ngOnInit(): void;
18
+ ngAfterViewInit(): void;
18
19
  selectItem(item: any): void;
19
20
  deleteItem(item: any): void;
20
21
  save(): void;
@@ -0,0 +1,23 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ export declare class ResponsibilityRiskSelectorComponent implements OnInit {
3
+ animation: boolean;
4
+ activeTab: string;
5
+ controlIdKey: string;
6
+ itemDisplayKey: string;
7
+ identifierKey: string;
8
+ set activeEntity(value: any);
9
+ listItems: never[];
10
+ selectedItems: any;
11
+ loading: boolean;
12
+ fetchList: EventEmitter<any>;
13
+ closeList: EventEmitter<any>;
14
+ saveList: EventEmitter<any>;
15
+ constructor();
16
+ ngOnInit(): void;
17
+ changeTab(type: string): void;
18
+ selectItem(item: any): void;
19
+ deleteItem(item: any): void;
20
+ save(): void;
21
+ close(): void;
22
+ arrayToId(array: any, identifierKey: any): any;
23
+ }
@@ -108,6 +108,8 @@ export declare class WorkflowComplianceComponent implements OnInit {
108
108
  sampleValue: any;
109
109
  samplePercentage: any;
110
110
  selectedSample: number;
111
+ isSample: boolean;
112
+ tempCheckValue: number;
111
113
  whatInput: ElementRef;
112
114
  constructor(authService: AuthService, responsibilityService: ResponsibilityService, frequencyService: FrequencyService, uiKitService: UiKitService, snackBar: SnackBarService);
113
115
  ngOnInit(): void;
@@ -127,7 +129,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
127
129
  setMoreOptions(): void;
128
130
  setList(list: any[], ids: any[], key: string): any;
129
131
  returnIds(list: any[], key: string): any[];
130
- setReviewerPayload(ids: any[], type: string): any;
132
+ setReviewerPayload(ids: any[], type: string, acceptedData?: Array<any>, reviewerType?: string): any;
131
133
  checkWhetherAllListsLoaded(): void;
132
134
  saveSelectedList(type: string, selectedItems: any): void;
133
135
  remove(type: any, event: any): void;
@@ -158,6 +160,8 @@ export declare class WorkflowComplianceComponent implements OnInit {
158
160
  getEditMoreOptions(): void;
159
161
  testFunction(): void;
160
162
  reviewerTypeChange(event: any): void;
161
- selectedSampleData(event: any): void;
163
+ selectedSampleData(event: number): void;
162
164
  populateAssuranceList(testPlanCategory: any): void;
165
+ checkInputValue(event: any): boolean;
166
+ switchEnable(event: boolean): void;
163
167
  }
@@ -1,6 +1,7 @@
1
1
  import { AfterViewInit, ElementRef, EventEmitter, OnInit } from '@angular/core';
2
2
  import { AddMultipleRiskComponent } from '../add-multiple-risk/add-multiple-risk.component';
3
3
  import { ConfirmationAlert } from '../interfaces/confirmation-alert';
4
+ import { IssueConfiguration } from '../interfaces/issue-data';
4
5
  import { SnackBarService } from '../ui-kit/snack-bar/snack-bar.service';
5
6
  import { WorkflowComplianceComponent } from '../workflow-compliance/workflow-compliance.component';
6
7
  import { WorkflowPolicyComponent } from '../workflow-policy/workflow-policy.component';
@@ -22,11 +23,20 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
22
23
  allowedWorkflows: any;
23
24
  frameworkDetails: Array<any>;
24
25
  selectedRC: string;
25
- reponsibiltyData: {
26
- responsibiltyId: string;
27
- responsibiltyName: string;
26
+ defaultRiskType: string;
27
+ moveToRegisterMode: string;
28
+ reponsibilityData: {
29
+ responsibilityId: null;
30
+ responsibilityName: string;
31
+ rcId: null;
32
+ };
33
+ issueData: {
34
+ auditPlanId: null;
35
+ auditPlanName: string;
36
+ rcId: null;
28
37
  };
29
38
  entrustButtonName: string;
39
+ config: IssueConfiguration;
30
40
  convertFileData: {};
31
41
  selectedCategory: string;
32
42
  animation: boolean;
@@ -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
  }
@@ -1,9 +1,11 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Configurations } from '../configurations';
3
+ import { TokenDecoderService } from './token-decoder.service';
3
4
  export declare class AuthService {
4
5
  private http;
6
+ private decoder;
5
7
  env: any;
6
- constructor(http: HttpClient, config?: Configurations);
8
+ constructor(http: HttpClient, decoder: TokenDecoderService, config?: Configurations);
7
9
  userId(): any;
8
10
  getUserDetails(): any;
9
11
  isKeyAdmin(): boolean;
@@ -11,10 +11,14 @@ export declare class LogIssueService {
11
11
  getIssueCategories(): import("rxjs").Observable<any[]>;
12
12
  getResponsibilityCenterList(): import("rxjs").Observable<any[]>;
13
13
  createIssue(payload: any): import("rxjs").Observable<Object>;
14
- validate(issueData: any, opendedFrom: any): string[];
14
+ updateIssue(payload: any, issueId: string): import("rxjs").Observable<Object>;
15
+ getControlRisk(auditPlanId: string, type: string): import("rxjs").Observable<any> | null;
16
+ validate(issueData: any, openedFrom: any, isRCMandatory: any): string[];
15
17
  generatePayload(issueData: any, optionFieldsStatus: any): any;
18
+ payloadBuilder(issueData: any, optionFieldsStatus: any): any;
16
19
  arrayToId(array: any, key: any): any;
17
20
  convertFrom12To24Format: (time12: any) => string;
21
+ convertFrom24To12Format(time: any): any;
18
22
  arrayToIDsDtring(array: any, identifierKey: any): any;
19
23
  /**
20
24
  * Uploads the given file to server
@@ -23,4 +27,5 @@ export declare class LogIssueService {
23
27
  * @returns response after uploading a file
24
28
  */
25
29
  uploadFiles(payload: any, path: any): import("rxjs").Observable<Object>;
30
+ getIssueDetails(issueId: string): import("rxjs").Observable<Object>;
26
31
  }
@@ -0,0 +1,4 @@
1
+ export declare class TokenDecoderService {
2
+ constructor();
3
+ getUserDetailsFromToken(): any;
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vcomply-workflow-engine",
3
- "version": "0.0.0",
3
+ "version": "0.0.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.0.1",
6
6
  "@angular/core": "^12.0.1"