vcomply-workflow-engine 2.6.57 → 2.6.59

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 (47) hide show
  1. package/bundles/vcomply-workflow-engine.umd.js +133 -158
  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 +26 -30
  5. package/esm2015/lib/more-option/more-option.component.ngfactory.js +2 -2
  6. package/esm2015/lib/sharedComponents/assessment-editor/components/add-page-details/add-page-details.component.ngfactory.js +4 -4
  7. package/esm2015/lib/sharedComponents/assessment-editor/components/add-segment-popup/add-segment-popup.component.ngfactory.js +4 -4
  8. package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview.module.ngfactory.js +3 -3
  9. package/esm2015/lib/sharedComponents/assessment-editor/components/preview/preview.module.ngsummary.json +1 -1
  10. package/esm2015/lib/sharedComponents/assessment-editor/components/setting-response-segment/setting-response-segment.component.ngfactory.js +4 -4
  11. package/esm2015/lib/sharedComponents/assessment-editor/create-assessment.module.ngfactory.js +3 -3
  12. package/esm2015/lib/sharedComponents/assessment-editor/create-assessment.module.ngsummary.json +1 -1
  13. package/esm2015/lib/sharedComponents/checkpoint/checkpoints-questions/checkpoints-questions.component.ngfactory.js +4 -4
  14. package/esm2015/lib/sharedComponents/framework-list/framework-list-table/framework-list-table.component.js +2 -2
  15. package/esm2015/lib/sharedComponents/framework-list/framework-list-table/framework-list-table.component.ngfactory.js +1 -1
  16. package/esm2015/lib/sharedComponents/framework-list/framework-list.component.js +23 -23
  17. package/esm2015/lib/sharedComponents/framework-list/framework-list.component.ngfactory.js +4 -4
  18. package/esm2015/lib/sharedComponents/framework-list/framework-list.component.ngsummary.json +1 -1
  19. package/esm2015/lib/workflow-assessment/workflow-assessment.component.ngfactory.js +4 -4
  20. package/esm2015/lib/workflow-compliance/workflow-compliance.component.js +3 -3
  21. package/esm2015/lib/workflow-compliance/workflow-compliance.component.ngfactory.js +5 -5
  22. package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.js +25 -12
  23. package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngfactory.js +19 -22
  24. package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngsummary.json +1 -1
  25. package/esm2015/lib/workflow-engine.module.ngfactory.js +3 -3
  26. package/esm2015/lib/workflow-engine.module.ngsummary.json +1 -1
  27. package/esm2015/lib/workflow-policy/workflow-policy.component.js +6 -12
  28. package/esm2015/lib/workflow-policy/workflow-policy.component.ngfactory.js +5 -5
  29. package/esm2015/lib/workflow-policy/workflow-policy.component.ngsummary.json +1 -1
  30. package/esm2015/lib/workflow-program/constants.js +4 -11
  31. package/esm2015/lib/workflow-program/constants.ngsummary.json +1 -1
  32. package/esm2015/lib/workflow-program/workflow-program.component.js +20 -27
  33. package/esm2015/lib/workflow-program/workflow-program.component.ngfactory.js +326 -310
  34. package/esm2015/lib/workflow-program/workflow-program.component.ngsummary.json +1 -1
  35. package/esm2015/lib/workflow-risk/workflow-risk.component.ngfactory.js +5 -5
  36. package/esm2015/lib/workflow-services/programs.service.js +30 -41
  37. package/esm2015/lib/workflow-survey-form/workflow-survey-form.component.ngfactory.js +4 -4
  38. package/fesm2015/vcomply-workflow-engine.js +129 -151
  39. package/fesm2015/vcomply-workflow-engine.js.map +1 -1
  40. package/lib/more-option/more-option.component.d.ts +0 -1
  41. package/lib/sharedComponents/framework-list/framework-list.component.d.ts +6 -0
  42. package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +17 -1
  43. package/lib/workflow-policy/workflow-policy.component.d.ts +0 -1
  44. package/lib/workflow-program/constants.d.ts +0 -7
  45. package/lib/workflow-program/workflow-program.component.d.ts +5 -13
  46. package/package.json +2 -2
  47. package/vcomply-workflow-engine.metadata.json +1 -1
@@ -7,7 +7,6 @@ export declare class MoreOptionComponent implements OnInit, OnChanges {
7
7
  isRCSelected: boolean;
8
8
  isProgramSelected: boolean;
9
9
  placeholderTexts: any;
10
- businessCycle: any;
11
10
  moreOptionsList: any;
12
11
  constructor();
13
12
  ngOnChanges(): void;
@@ -15,6 +15,12 @@ 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>;
20
+ fromProgram: {
21
+ headerText: string;
22
+ workflowPage: Array<string>;
23
+ };
18
24
  subCategoriesList: {
19
25
  from: number;
20
26
  to: number;
@@ -49,6 +49,23 @@ 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
+ };
60
+ /**
61
+ * if feature flag is available in below object then feature will be enabled according to status otherwise it will enabled
62
+ * Sample object
63
+ * {
64
+ * ff_compliance_framework: true,
65
+ * ff_system_responsibility: false
66
+ * }
67
+ */
68
+ allowedFeature: any;
52
69
  animation: boolean;
53
70
  workflowList: boolean;
54
71
  showMoreOption: boolean;
@@ -107,7 +124,6 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
107
124
  onRemovingCheckpoint(event: string, isCheckpointChecked?: boolean, isDataRemoved?: boolean): void;
108
125
  onRemovingRole(event: string): void;
109
126
  isAssessmentDisabled(isDisabled: boolean): void;
110
- disableMoreOptions(workflowCode: any, disabledElementsCode: any): void;
111
127
  onCheckpointSelection(event: number): void;
112
128
  onRcSelected(isRcSelected: boolean): void;
113
129
  fetchOrganizationDetails(): void;
@@ -278,5 +278,4 @@ export declare class WorkflowPolicyComponent implements OnInit {
278
278
  checkForCreateDocuments(): void;
279
279
  editPolicy(): void;
280
280
  populatePolicyForm(data: any, categoryIds: any): void;
281
- changeName(event: string): string;
282
281
  }
@@ -37,12 +37,5 @@ export declare const CONSTANTS: {
37
37
  ASSESSMENT: boolean;
38
38
  FORMATE_EVIDENCE: boolean;
39
39
  CUSTOM_FIELDS: boolean;
40
- PROGRAM_FREQUENCY: boolean;
41
- SCOPE_CHANGES: boolean;
42
- RC: boolean;
43
- ROLES: boolean;
44
- OWNERS: boolean;
45
- APPROVER: boolean;
46
- ASSIGNEES: boolean;
47
40
  };
48
41
  };
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
2
  import { FormBuilder, FormControl } from '@angular/forms';
3
3
  import { DatePickerComponent } from 'ng2-date-picker';
4
4
  import { AuthService } from '../workflow-services/auth.service';
@@ -9,7 +9,6 @@ export declare class WorkflowProgramComponent implements OnInit {
9
9
  private programService;
10
10
  private authService;
11
11
  private uiKitService;
12
- private changeRef;
13
12
  constants: {
14
13
  categoryType: {
15
14
  label: string;
@@ -49,13 +48,6 @@ export declare class WorkflowProgramComponent implements OnInit {
49
48
  ASSESSMENT: boolean;
50
49
  FORMATE_EVIDENCE: boolean;
51
50
  CUSTOM_FIELDS: boolean;
52
- PROGRAM_FREQUENCY: boolean;
53
- SCOPE_CHANGES: boolean;
54
- RC: boolean;
55
- ROLES: boolean;
56
- OWNERS: boolean;
57
- APPROVER: boolean;
58
- ASSIGNEES: boolean;
59
51
  };
60
52
  };
61
53
  showConfirmation: any;
@@ -70,11 +62,13 @@ export declare class WorkflowProgramComponent implements OnInit {
70
62
  refreshForm: EventEmitter<any>;
71
63
  hideElementsFromMoreOptions: EventEmitter<any>;
72
64
  onRemovingRole: EventEmitter<any>;
73
- disableElementsFromMoreOptions: EventEmitter<any>;
74
65
  scrollToBottom: boolean;
66
+ canFrameworkChange: boolean;
75
67
  mode: string;
76
68
  programId: string;
77
69
  programType: number;
70
+ allowedFeature: any;
71
+ addToProgramDetails: any;
78
72
  panelTitleDefaultReviewer: string;
79
73
  panelTitleOwner: string;
80
74
  panelTitleReviewer: string;
@@ -82,9 +76,7 @@ export declare class WorkflowProgramComponent implements OnInit {
82
76
  panelTitleApprover: string;
83
77
  isApproverDisabled: boolean;
84
78
  isProgramScope: boolean;
85
- toolTipData: any;
86
- businessCycle: any;
87
- constructor(fb: FormBuilder, programService: ProgramsService, authService: AuthService, uiKitService: UiKitService, changeRef: ChangeDetectorRef);
79
+ constructor(fb: FormBuilder, programService: ProgramsService, authService: AuthService, uiKitService: UiKitService);
88
80
  noWhitespaceValidator(control: FormControl): {
89
81
  whitespace: boolean;
90
82
  } | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vcomply-workflow-engine",
3
- "version": "2.6.57",
3
+ "version": "2.6.59",
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
+ }