vcomply-workflow-engine 5.0.12 → 5.0.14

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 (40) hide show
  1. package/esm2022/lib/report-a-case/components/case-assignees/case-assignees.component.mjs +21 -10
  2. package/esm2022/lib/report-a-case/components/case-category/case-category.component.mjs +90 -14
  3. package/esm2022/lib/report-a-case/components/case-details/case-details.component.mjs +1 -1
  4. package/esm2022/lib/report-a-case/components/case-owners/case-owners.component.mjs +23 -10
  5. package/esm2022/lib/report-a-case/components/case-priority/case-priority.component.mjs +1 -1
  6. package/esm2022/lib/report-a-case/components/case-resolution-deadline/case-resolution-deadline.component.mjs +10 -4
  7. package/esm2022/lib/report-a-case/components/case-type-dropdown/case-dropdown.component.mjs +1 -1
  8. package/esm2022/lib/report-a-case/components/due-date/due-date.component.mjs +3 -3
  9. package/esm2022/lib/report-a-case/components/form-selectBox/form-selectBox.component.mjs +10 -9
  10. package/esm2022/lib/report-a-case/components/information-block/information-block.component.mjs +3 -3
  11. package/esm2022/lib/report-a-case/components/rc-details/rc-details.component.mjs +29 -10
  12. package/esm2022/lib/report-a-case/components/report-date/report-date.component.mjs +1 -1
  13. package/esm2022/lib/report-a-case/components/vc-label/vc-label.component.mjs +43 -16
  14. package/esm2022/lib/report-a-case/constants/report-case.constants.mjs +6 -1
  15. package/esm2022/lib/report-a-case/services/report-a-case.service.mjs +2 -1
  16. package/esm2022/lib/report-a-case/workflow-case/workflow-case.component.mjs +14 -5
  17. package/esm2022/lib/sharedComponents/category-list-selection/category-list-selection/category-list-selection.component.mjs +5 -4
  18. package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +6 -3
  19. package/fesm2022/vcomply-workflow-engine.mjs +247 -78
  20. package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
  21. package/lib/report-a-case/components/case-assignees/case-assignees.component.d.ts +6 -0
  22. package/lib/report-a-case/components/case-category/case-category.component.d.ts +14 -1
  23. package/lib/report-a-case/components/case-details/case-details.component.d.ts +5 -0
  24. package/lib/report-a-case/components/case-owners/case-owners.component.d.ts +8 -1
  25. package/lib/report-a-case/components/case-priority/case-priority.component.d.ts +5 -0
  26. package/lib/report-a-case/components/case-resolution-deadline/case-resolution-deadline.component.d.ts +6 -0
  27. package/lib/report-a-case/components/case-type-dropdown/case-dropdown.component.d.ts +5 -0
  28. package/lib/report-a-case/components/case-type-slider/case-type.component.d.ts +5 -0
  29. package/lib/report-a-case/components/due-date/due-date.component.d.ts +5 -0
  30. package/lib/report-a-case/components/information-block/information-block.component.d.ts +5 -0
  31. package/lib/report-a-case/components/linked assessment/linked-assessment.component.d.ts +5 -0
  32. package/lib/report-a-case/components/linked-responsibilities/linked-responsibilities.component.d.ts +5 -0
  33. package/lib/report-a-case/components/rc-details/rc-details.component.d.ts +6 -0
  34. package/lib/report-a-case/components/report-date/report-date.component.d.ts +5 -0
  35. package/lib/report-a-case/components/vc-label/vc-label.component.d.ts +3 -1
  36. package/lib/report-a-case/constants/report-case.constants.d.ts +5 -0
  37. package/lib/report-a-case/services/report-a-case.service.d.ts +2 -1
  38. package/lib/report-a-case/workflow-case/workflow-case.component.d.ts +7 -0
  39. package/lib/workflow-risk/workflow-risk.component.d.ts +1 -1
  40. package/package.json +1 -1
@@ -69,14 +69,19 @@ export declare class CaseAssigneesComponent {
69
69
  title: string;
70
70
  placeholder: string;
71
71
  deadline_placeholder: string;
72
+ disabledText: string;
73
+ helpText: string;
72
74
  };
73
75
  assignees: {
74
76
  title: string;
75
77
  placeholder: string;
78
+ helpText: string;
76
79
  };
77
80
  owners: {
78
81
  title: string;
79
82
  placeholder: string;
83
+ helpText: string;
84
+ disabledText: string;
80
85
  };
81
86
  };
82
87
  tooltipMessage: {
@@ -116,6 +121,7 @@ export declare class CaseAssigneesComponent {
116
121
  userIds: any[];
117
122
  initialAssignees: any;
118
123
  fieldSelector: string[];
124
+ assigneesHelpText: string;
119
125
  payload: any;
120
126
  fieldSelected: string;
121
127
  userList: any[];
@@ -73,14 +73,19 @@ export declare class CaseCategoryComponent {
73
73
  title: string;
74
74
  placeholder: string;
75
75
  deadline_placeholder: string;
76
+ disabledText: string;
77
+ helpText: string;
76
78
  };
77
79
  assignees: {
78
80
  title: string;
79
81
  placeholder: string;
82
+ helpText: string;
80
83
  };
81
84
  owners: {
82
85
  title: string;
83
86
  placeholder: string;
87
+ helpText: string;
88
+ disabledText: string;
84
89
  };
85
90
  };
86
91
  tooltipMessage: {
@@ -122,10 +127,13 @@ export declare class CaseCategoryComponent {
122
127
  caseType: typeof report;
123
128
  fieldSelector: string[];
124
129
  customField: EditorConfig;
130
+ initialAdditionalCategory: any;
131
+ filteredCaseCategoryList: any[];
125
132
  payload: any;
126
133
  fieldSelected: string;
127
134
  caseTypeSelected: any;
128
135
  set initialSelection(value: any);
136
+ set initialAdditionalSelection(value: any);
129
137
  mode: string;
130
138
  workflowType: string;
131
139
  onCategoryChange: EventEmitter<any>;
@@ -135,7 +143,10 @@ export declare class CaseCategoryComponent {
135
143
  ngOnChanges(changes: SimpleChanges): void;
136
144
  getAllCategories(): void;
137
145
  populateInitialCategory(): void;
146
+ updateRACCategory(): void;
147
+ updateACTWCategory(): void;
138
148
  saveSelectedCategoryList(event: any): void;
149
+ updateFilteredCategoryList(): void;
139
150
  saveSelectedAdditionalCategoryList(event: any): void;
140
151
  setSelectedAdditionalCategoryList(event: any[]): void;
141
152
  setSelectedCategoryList(event: any[]): void;
@@ -144,6 +155,8 @@ export declare class CaseCategoryComponent {
144
155
  setCategoryList(event: any): void;
145
156
  setAdditionalCategoryList(event: any[]): void;
146
157
  get categoryEditDisable(): boolean;
158
+ resetCategoryList(): void;
159
+ resetAdditionalCategoryList(): void;
147
160
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseCategoryComponent, never>;
148
- static ɵcmp: i0.ɵɵComponentDeclaration<CaseCategoryComponent, "app-case-category", never, { "payload": { "alias": "payload"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "caseTypeSelected": { "alias": "caseTypeSelected"; "required": false; }; "initialSelection": { "alias": "initialSelection"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "workflowType": { "alias": "workflowType"; "required": false; }; }, { "onCategoryChange": "onCategoryChange"; "fieldClicked": "fieldClicked"; }, never, never, false, never>;
161
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaseCategoryComponent, "app-case-category", never, { "payload": { "alias": "payload"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "caseTypeSelected": { "alias": "caseTypeSelected"; "required": false; }; "initialSelection": { "alias": "initialSelection"; "required": false; }; "initialAdditionalSelection": { "alias": "initialAdditionalSelection"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "workflowType": { "alias": "workflowType"; "required": false; }; }, { "onCategoryChange": "onCategoryChange"; "fieldClicked": "fieldClicked"; }, never, never, false, never>;
149
162
  }
@@ -57,14 +57,19 @@ export declare class CaseDetailsComponent implements OnInit {
57
57
  title: string;
58
58
  placeholder: string;
59
59
  deadline_placeholder: string;
60
+ disabledText: string;
61
+ helpText: string;
60
62
  };
61
63
  assignees: {
62
64
  title: string;
63
65
  placeholder: string;
66
+ helpText: string;
64
67
  };
65
68
  owners: {
66
69
  title: string;
67
70
  placeholder: string;
71
+ helpText: string;
72
+ disabledText: string;
68
73
  };
69
74
  };
70
75
  tooltipMessage: {
@@ -71,14 +71,19 @@ export declare class CaseOwnersComponent {
71
71
  title: string;
72
72
  placeholder: string;
73
73
  deadline_placeholder: string;
74
+ disabledText: string;
75
+ helpText: string;
74
76
  };
75
77
  assignees: {
76
78
  title: string;
77
79
  placeholder: string;
80
+ helpText: string;
78
81
  };
79
82
  owners: {
80
83
  title: string;
81
84
  placeholder: string;
85
+ helpText: string;
86
+ disabledText: string;
82
87
  };
83
88
  };
84
89
  tooltipMessage: {
@@ -105,6 +110,7 @@ export declare class CaseOwnersComponent {
105
110
  };
106
111
  caseOwnersList: any[];
107
112
  config: any;
113
+ ownersHelpText: string;
108
114
  ownerClicked: boolean;
109
115
  ownerListLoader: boolean;
110
116
  SelectionState: typeof SelectionState;
@@ -119,6 +125,7 @@ export declare class CaseOwnersComponent {
119
125
  set initialSelection(value: any);
120
126
  workflowId: string;
121
127
  validationError: any;
128
+ mode: string;
122
129
  fieldClicked: EventEmitter<any>;
123
130
  constructor(reportACaseService: ReportACaseService);
124
131
  ngOnInit(): void;
@@ -133,5 +140,5 @@ export declare class CaseOwnersComponent {
133
140
  setPayload(event: any): void;
134
141
  isCaseOwnerSelectionDisabled(): boolean;
135
142
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseOwnersComponent, never>;
136
- static ɵcmp: i0.ɵɵComponentDeclaration<CaseOwnersComponent, "app-case-owners", never, { "payload": { "alias": "payload"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "initialSelection": { "alias": "initialSelection"; "required": false; }; "workflowId": { "alias": "workflowId"; "required": false; }; "validationError": { "alias": "validationError"; "required": false; }; }, { "fieldClicked": "fieldClicked"; }, never, never, false, never>;
143
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaseOwnersComponent, "app-case-owners", never, { "payload": { "alias": "payload"; "required": false; }; "fieldSelected": { "alias": "fieldSelected"; "required": false; }; "initialSelection": { "alias": "initialSelection"; "required": false; }; "workflowId": { "alias": "workflowId"; "required": false; }; "validationError": { "alias": "validationError"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, { "fieldClicked": "fieldClicked"; }, never, never, false, never>;
137
144
  }
@@ -59,14 +59,19 @@ export declare class CasePriorityComponent implements OnInit {
59
59
  title: string;
60
60
  placeholder: string;
61
61
  deadline_placeholder: string;
62
+ disabledText: string;
63
+ helpText: string;
62
64
  };
63
65
  assignees: {
64
66
  title: string;
65
67
  placeholder: string;
68
+ helpText: string;
66
69
  };
67
70
  owners: {
68
71
  title: string;
69
72
  placeholder: string;
73
+ helpText: string;
74
+ disabledText: string;
70
75
  };
71
76
  };
72
77
  tooltipMessage: {
@@ -71,14 +71,19 @@ export declare class CaseResolutionDeadlineComponent {
71
71
  title: string;
72
72
  placeholder: string;
73
73
  deadline_placeholder: string;
74
+ disabledText: string;
75
+ helpText: string;
74
76
  };
75
77
  assignees: {
76
78
  title: string;
77
79
  placeholder: string;
80
+ helpText: string;
78
81
  };
79
82
  owners: {
80
83
  title: string;
81
84
  placeholder: string;
85
+ helpText: string;
86
+ disabledText: string;
82
87
  };
83
88
  };
84
89
  tooltipMessage: {
@@ -115,6 +120,7 @@ export declare class CaseResolutionDeadlineComponent {
115
120
  workflowDetails: any;
116
121
  initialResolutionDeadline: any;
117
122
  fieldSelector: string[];
123
+ dueDateHelpText: string;
118
124
  payload: any;
119
125
  userList: any[];
120
126
  groupList: any[];
@@ -60,14 +60,19 @@ export declare class CaseDropdownComponent implements OnInit {
60
60
  title: string;
61
61
  placeholder: string;
62
62
  deadline_placeholder: string;
63
+ disabledText: string;
64
+ helpText: string;
63
65
  };
64
66
  assignees: {
65
67
  title: string;
66
68
  placeholder: string;
69
+ helpText: string;
67
70
  };
68
71
  owners: {
69
72
  title: string;
70
73
  placeholder: string;
74
+ helpText: string;
75
+ disabledText: string;
71
76
  };
72
77
  };
73
78
  tooltipMessage: {
@@ -59,14 +59,19 @@ export declare class CaseTypeComponent implements OnInit {
59
59
  title: string;
60
60
  placeholder: string;
61
61
  deadline_placeholder: string;
62
+ disabledText: string;
63
+ helpText: string;
62
64
  };
63
65
  assignees: {
64
66
  title: string;
65
67
  placeholder: string;
68
+ helpText: string;
66
69
  };
67
70
  owners: {
68
71
  title: string;
69
72
  placeholder: string;
73
+ helpText: string;
74
+ disabledText: string;
70
75
  };
71
76
  };
72
77
  tooltipMessage: {
@@ -66,14 +66,19 @@ export declare class DueDateComponent implements OnInit {
66
66
  title: string;
67
67
  placeholder: string;
68
68
  deadline_placeholder: string;
69
+ disabledText: string;
70
+ helpText: string;
69
71
  };
70
72
  assignees: {
71
73
  title: string;
72
74
  placeholder: string;
75
+ helpText: string;
73
76
  };
74
77
  owners: {
75
78
  title: string;
76
79
  placeholder: string;
80
+ helpText: string;
81
+ disabledText: string;
77
82
  };
78
83
  };
79
84
  tooltipMessage: {
@@ -58,14 +58,19 @@ export declare class InformationBlockComponent {
58
58
  title: string;
59
59
  placeholder: string;
60
60
  deadline_placeholder: string;
61
+ disabledText: string;
62
+ helpText: string;
61
63
  };
62
64
  assignees: {
63
65
  title: string;
64
66
  placeholder: string;
67
+ helpText: string;
65
68
  };
66
69
  owners: {
67
70
  title: string;
68
71
  placeholder: string;
72
+ helpText: string;
73
+ disabledText: string;
69
74
  };
70
75
  };
71
76
  tooltipMessage: {
@@ -55,14 +55,19 @@ export declare class LinkedAssessmentComponent implements OnInit {
55
55
  title: string;
56
56
  placeholder: string;
57
57
  deadline_placeholder: string;
58
+ disabledText: string;
59
+ helpText: string;
58
60
  };
59
61
  assignees: {
60
62
  title: string;
61
63
  placeholder: string;
64
+ helpText: string;
62
65
  };
63
66
  owners: {
64
67
  title: string;
65
68
  placeholder: string;
69
+ helpText: string;
70
+ disabledText: string;
66
71
  };
67
72
  };
68
73
  tooltipMessage: {
@@ -68,14 +68,19 @@ export declare class LinkedResponsibilitiesComponent {
68
68
  title: string;
69
69
  placeholder: string;
70
70
  deadline_placeholder: string;
71
+ disabledText: string;
72
+ helpText: string;
71
73
  };
72
74
  assignees: {
73
75
  title: string;
74
76
  placeholder: string;
77
+ helpText: string;
75
78
  };
76
79
  owners: {
77
80
  title: string;
78
81
  placeholder: string;
82
+ helpText: string;
83
+ disabledText: string;
79
84
  };
80
85
  };
81
86
  tooltipMessage: {
@@ -72,14 +72,19 @@ export declare class RcDetailsComponent {
72
72
  title: string;
73
73
  placeholder: string;
74
74
  deadline_placeholder: string;
75
+ disabledText: string;
76
+ helpText: string;
75
77
  };
76
78
  assignees: {
77
79
  title: string;
78
80
  placeholder: string;
81
+ helpText: string;
79
82
  };
80
83
  owners: {
81
84
  title: string;
82
85
  placeholder: string;
86
+ helpText: string;
87
+ disabledText: string;
83
88
  };
84
89
  };
85
90
  tooltipMessage: {
@@ -140,6 +145,7 @@ export declare class RcDetailsComponent {
140
145
  setSelectedRcList(event: any): void;
141
146
  activateSelector(active: boolean): void;
142
147
  setRcList(event: any): void;
148
+ resetRcList(): void;
143
149
  onRcTypeChange(event: any): void;
144
150
  get rcEditDisable(): boolean;
145
151
  static ɵfac: i0.ɵɵFactoryDeclaration<RcDetailsComponent, never>;
@@ -71,14 +71,19 @@ export declare class ReportDateComponent {
71
71
  title: string;
72
72
  placeholder: string;
73
73
  deadline_placeholder: string;
74
+ disabledText: string;
75
+ helpText: string;
74
76
  };
75
77
  assignees: {
76
78
  title: string;
77
79
  placeholder: string;
80
+ helpText: string;
78
81
  };
79
82
  owners: {
80
83
  title: string;
81
84
  placeholder: string;
85
+ helpText: string;
86
+ disabledText: string;
82
87
  };
83
88
  };
84
89
  tooltipMessage: {
@@ -3,6 +3,8 @@ export declare class VCFormLabelComponent {
3
3
  labelText: string;
4
4
  details: string;
5
5
  required: boolean;
6
+ showInfo: boolean;
7
+ tooltipText: string;
6
8
  static ɵfac: i0.ɵɵFactoryDeclaration<VCFormLabelComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<VCFormLabelComponent, "app-vc-label", never, { "labelText": { "alias": "labelText"; "required": false; }; "details": { "alias": "details"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, {}, never, never, false, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<VCFormLabelComponent, "app-vc-label", never, { "labelText": { "alias": "labelText"; "required": false; }; "details": { "alias": "details"; "required": false; }; "required": { "alias": "required"; "required": false; }; "showInfo": { "alias": "showInfo"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; }, {}, never, never, false, never>;
8
10
  }
@@ -52,14 +52,19 @@ export declare const REPORT_CASE: {
52
52
  title: string;
53
53
  placeholder: string;
54
54
  deadline_placeholder: string;
55
+ disabledText: string;
56
+ helpText: string;
55
57
  };
56
58
  assignees: {
57
59
  title: string;
58
60
  placeholder: string;
61
+ helpText: string;
59
62
  };
60
63
  owners: {
61
64
  title: string;
62
65
  placeholder: string;
66
+ helpText: string;
67
+ disabledText: string;
63
68
  };
64
69
  };
65
70
  tooltipMessage: {
@@ -1,4 +1,4 @@
1
- import { Observable, Subject } from 'rxjs';
1
+ import { BehaviorSubject, Observable, Subject } from 'rxjs';
2
2
  import { HttpClient } from '@angular/common/http';
3
3
  import { Configurations } from '../../configurations';
4
4
  import { AuthService } from '../../workflow-services/auth.service';
@@ -13,6 +13,7 @@ export declare class ReportACaseService {
13
13
  workflow$: Observable<any>;
14
14
  workflowCode: Subject<string>;
15
15
  resetMoreOption: Subject<boolean>;
16
+ caseTypeLoader: BehaviorSubject<boolean>;
16
17
  env: any;
17
18
  constructor(http: HttpClient, authService: AuthService, config?: Configurations);
18
19
  private fetchAllTypes;
@@ -66,14 +66,19 @@ export declare class WorkflowCaseComponent {
66
66
  title: string;
67
67
  placeholder: string;
68
68
  deadline_placeholder: string;
69
+ disabledText: string;
70
+ helpText: string;
69
71
  };
70
72
  assignees: {
71
73
  title: string;
72
74
  placeholder: string;
75
+ helpText: string;
73
76
  };
74
77
  owners: {
75
78
  title: string;
76
79
  placeholder: string;
80
+ helpText: string;
81
+ disabledText: string;
77
82
  };
78
83
  };
79
84
  tooltipMessage: {
@@ -314,6 +319,7 @@ export declare class WorkflowCaseComponent {
314
319
  caseLoader: boolean;
315
320
  groupListLoader: boolean;
316
321
  reportCaseLoader: boolean;
322
+ permissionLoader: boolean;
317
323
  };
318
324
  openedFrom: any;
319
325
  source: any;
@@ -330,6 +336,7 @@ export declare class WorkflowCaseComponent {
330
336
  disconnectRefresh: EventEmitter<any>;
331
337
  constructor(reportACaseService: ReportACaseService, uiKitService: UiKitService, organizationUserService: OrganizationUserService, responsibilityService: ResponsibilityService, permissionService: ReportCasePermissionService);
332
338
  ngOnInit(): void;
339
+ permissionLoader(): void;
333
340
  getUserList(): void;
334
341
  getGroupList(): void;
335
342
  getCaseDetails(): void;
@@ -111,7 +111,7 @@ export declare class WorkflowRiskComponent implements OnInit {
111
111
  setPopupButtons(): void;
112
112
  getRiskDetails(riskId: any): void;
113
113
  populateOptionalFields(): void;
114
- setCategoryType(type: any): "compliance" | "strategic" | "operational" | "others";
114
+ setCategoryType(type: any): "strategic" | "compliance" | "operational" | "others";
115
115
  getRCList(): void;
116
116
  getCategoryList(): void;
117
117
  getOwnersList(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vcomply-workflow-engine",
3
- "version": "5.0.12",
3
+ "version": "5.0.14",
4
4
  "peerDependencies": {
5
5
  "@angular/common": " 12.x || 13.x || 14.x || 15.x || 16.x || 17.x || 18.x || 19.x ",
6
6
  "@angular/core": " 12.x || 13.x || 14.x || 15.x || 16.x || 17.x || 18.x || 19.x "