vcomply-workflow-engine 2.6.59 → 2.6.60

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 +157 -133
  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 +30 -26
  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 +11 -25
  23. package/esm2015/lib/workflow-engine-container/workflow-engine-container.component.ngfactory.js +22 -19
  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 +12 -6
  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 +11 -4
  31. package/esm2015/lib/workflow-program/constants.ngsummary.json +1 -1
  32. package/esm2015/lib/workflow-program/workflow-program.component.js +27 -20
  33. package/esm2015/lib/workflow-program/workflow-program.component.ngfactory.js +310 -326
  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 +41 -30
  37. package/esm2015/lib/workflow-survey-form/workflow-survey-form.component.ngfactory.js +4 -4
  38. package/fesm2015/vcomply-workflow-engine.js +150 -129
  39. package/fesm2015/vcomply-workflow-engine.js.map +1 -1
  40. package/lib/more-option/more-option.component.d.ts +1 -0
  41. package/lib/sharedComponents/framework-list/framework-list.component.d.ts +0 -6
  42. package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +1 -17
  43. package/lib/workflow-policy/workflow-policy.component.d.ts +1 -0
  44. package/lib/workflow-program/constants.d.ts +7 -0
  45. package/lib/workflow-program/workflow-program.component.d.ts +13 -5
  46. package/package.json +2 -2
  47. package/vcomply-workflow-engine.metadata.json +1 -1
@@ -7,6 +7,7 @@ export declare class MoreOptionComponent implements OnInit, OnChanges {
7
7
  isRCSelected: boolean;
8
8
  isProgramSelected: boolean;
9
9
  placeholderTexts: any;
10
+ businessCycle: any;
10
11
  moreOptionsList: any;
11
12
  constructor();
12
13
  ngOnChanges(): void;
@@ -15,12 +15,6 @@ 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
- };
24
18
  subCategoriesList: {
25
19
  from: number;
26
20
  to: number;
@@ -49,23 +49,6 @@ 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;
69
52
  animation: boolean;
70
53
  workflowList: boolean;
71
54
  showMoreOption: boolean;
@@ -124,6 +107,7 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
124
107
  onRemovingCheckpoint(event: string, isCheckpointChecked?: boolean, isDataRemoved?: boolean): void;
125
108
  onRemovingRole(event: string): void;
126
109
  isAssessmentDisabled(isDisabled: boolean): void;
110
+ disableMoreOptions(workflowCode: any, disabledElementsCode: any): void;
127
111
  onCheckpointSelection(event: number): void;
128
112
  onRcSelected(isRcSelected: boolean): void;
129
113
  fetchOrganizationDetails(): void;
@@ -278,4 +278,5 @@ 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;
281
282
  }
@@ -37,5 +37,12 @@ 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;
40
47
  };
41
48
  };
@@ -1,4 +1,4 @@
1
- import { ElementRef, EventEmitter, OnInit } from '@angular/core';
1
+ import { ChangeDetectorRef, 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,6 +9,7 @@ export declare class WorkflowProgramComponent implements OnInit {
9
9
  private programService;
10
10
  private authService;
11
11
  private uiKitService;
12
+ private changeRef;
12
13
  constants: {
13
14
  categoryType: {
14
15
  label: string;
@@ -48,6 +49,13 @@ export declare class WorkflowProgramComponent implements OnInit {
48
49
  ASSESSMENT: boolean;
49
50
  FORMATE_EVIDENCE: boolean;
50
51
  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;
51
59
  };
52
60
  };
53
61
  showConfirmation: any;
@@ -62,13 +70,11 @@ export declare class WorkflowProgramComponent implements OnInit {
62
70
  refreshForm: EventEmitter<any>;
63
71
  hideElementsFromMoreOptions: EventEmitter<any>;
64
72
  onRemovingRole: EventEmitter<any>;
73
+ disableElementsFromMoreOptions: EventEmitter<any>;
65
74
  scrollToBottom: boolean;
66
- canFrameworkChange: boolean;
67
75
  mode: string;
68
76
  programId: string;
69
77
  programType: number;
70
- allowedFeature: any;
71
- addToProgramDetails: any;
72
78
  panelTitleDefaultReviewer: string;
73
79
  panelTitleOwner: string;
74
80
  panelTitleReviewer: string;
@@ -76,7 +82,9 @@ export declare class WorkflowProgramComponent implements OnInit {
76
82
  panelTitleApprover: string;
77
83
  isApproverDisabled: boolean;
78
84
  isProgramScope: boolean;
79
- constructor(fb: FormBuilder, programService: ProgramsService, authService: AuthService, uiKitService: UiKitService);
85
+ toolTipData: any;
86
+ businessCycle: any;
87
+ constructor(fb: FormBuilder, programService: ProgramsService, authService: AuthService, uiKitService: UiKitService, changeRef: ChangeDetectorRef);
80
88
  noWhitespaceValidator(control: FormControl): {
81
89
  whitespace: boolean;
82
90
  } | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vcomply-workflow-engine",
3
- "version": "2.6.59",
3
+ "version": "2.6.60",
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
+ }