vcomply-workflow-engine 6.0.52 → 6.0.54

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 (124) hide show
  1. package/esm2022/lib/add-multiple-responsibility-container/add-multiple-responsibility-container.component.mjs +2 -2
  2. package/esm2022/lib/add-multiple-risk/add-multiple-risk.component.mjs +2 -2
  3. package/esm2022/lib/constants/api.constants.mjs +8 -0
  4. package/esm2022/lib/constants/assets.constants.mjs +57 -0
  5. package/esm2022/lib/constants/link-responsibility.constants.mjs +2 -2
  6. package/esm2022/lib/constants/mock.mjs +152 -0
  7. package/esm2022/lib/interfaces/frequency.interface.mjs +2 -0
  8. package/esm2022/lib/interfaces/responsibilty.interface.mjs +1 -1
  9. package/esm2022/lib/log-an-issue/log-an-issue.component.mjs +2 -2
  10. package/esm2022/lib/more-option/more-option.component.mjs +6 -49
  11. package/esm2022/lib/report-a-case/components/assignee/assignee.component.mjs +2 -2
  12. package/esm2022/lib/report-a-case/components/case-assignees/case-assignees.component.mjs +2 -2
  13. package/esm2022/lib/report-a-case/components/case-category/case-category.component.mjs +2 -2
  14. package/esm2022/lib/report-a-case/components/case-details/case-details.component.mjs +2 -2
  15. package/esm2022/lib/report-a-case/components/case-owners/case-owners.component.mjs +2 -2
  16. package/esm2022/lib/report-a-case/components/case-priority/case-priority.component.mjs +2 -2
  17. package/esm2022/lib/report-a-case/components/case-resolution-deadline/case-resolution-deadline.component.mjs +2 -2
  18. package/esm2022/lib/report-a-case/components/case-type-dropdown/case-dropdown.component.mjs +2 -2
  19. package/esm2022/lib/report-a-case/components/due-date/due-date.component.mjs +2 -2
  20. package/esm2022/lib/report-a-case/components/field-holder/field-holder.component.mjs +2 -2
  21. package/esm2022/lib/report-a-case/components/linked assessment/linked-assessment.component.mjs +2 -2
  22. package/esm2022/lib/report-a-case/components/linked-responsibilities/linked-responsibilities.component.mjs +2 -2
  23. package/esm2022/lib/report-a-case/components/rc-details/rc-details.component.mjs +2 -2
  24. package/esm2022/lib/report-a-case/components/report-date/report-date.component.mjs +2 -2
  25. package/esm2022/lib/report-a-case/workflow-case/workflow-case.component.mjs +2 -2
  26. package/esm2022/lib/sharedComponents/approval-workflow/approval-create-form/approval-create-form.component.mjs +2 -2
  27. package/esm2022/lib/sharedComponents/assessment-editor/components/build/image-choice/image-choice.component.mjs +2 -2
  28. package/esm2022/lib/sharedComponents/assessment-editor/components/build/thank-you/thank-you.component.mjs +2 -2
  29. package/esm2022/lib/sharedComponents/assessment-editor/components/build/welcome/welcome.component.mjs +2 -2
  30. package/esm2022/lib/sharedComponents/assessment-editor/components/logic/logic.component.mjs +2 -2
  31. package/esm2022/lib/sharedComponents/assessment-editor/components/logic-questions/logic-image-choice/logic-image-choice.component.mjs +2 -2
  32. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/thank-you/thank-you.component.mjs +2 -2
  33. package/esm2022/lib/sharedComponents/assessment-editor/components/preview/welcome/welcome.component.mjs +2 -2
  34. package/esm2022/lib/sharedComponents/assessment-editor/components/welcome-thankyou/welcome-thankyou.component.mjs +2 -2
  35. package/esm2022/lib/sharedComponents/assessment-list/assessment-list.component.mjs +2 -2
  36. package/esm2022/lib/sharedComponents/audit-category-list/audit-category-list.component.mjs +2 -2
  37. package/esm2022/lib/sharedComponents/category-list/category-list.component.mjs +2 -2
  38. package/esm2022/lib/sharedComponents/category-list-selection/category-list-selection/category-list-selection.component.mjs +2 -2
  39. package/esm2022/lib/sharedComponents/category-multiselect/category-multi-select.component.mjs +2 -2
  40. package/esm2022/lib/sharedComponents/checkbox-list/checkbox-list.component.mjs +2 -2
  41. package/esm2022/lib/sharedComponents/format-and-evidence/format-and-evidence.component.mjs +2 -2
  42. package/esm2022/lib/sharedComponents/framework-list/framework-list.component.mjs +2 -2
  43. package/esm2022/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.mjs +5 -1
  44. package/esm2022/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.mjs +5 -1
  45. package/esm2022/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.mjs +2 -1
  46. package/esm2022/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.mjs +6 -2
  47. package/esm2022/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.mjs +2 -1
  48. package/esm2022/lib/sharedComponents/frequency/frequency-ongoing/frequency-ongoing.component.mjs +3 -1
  49. package/esm2022/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.mjs +5 -1
  50. package/esm2022/lib/sharedComponents/frequency/frequency-random/frequency-random.component.mjs +3 -1
  51. package/esm2022/lib/sharedComponents/frequency/frequency-responsibility-list/frequency-responsibility-list.component.mjs +2 -2
  52. package/esm2022/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.mjs +4 -2
  53. package/esm2022/lib/sharedComponents/frequency/frequency.service.mjs +183 -1
  54. package/esm2022/lib/sharedComponents/group-users-list/group-users-list.component.mjs +2 -2
  55. package/esm2022/lib/sharedComponents/link-program/link-program/link-program.component.mjs +2 -2
  56. package/esm2022/lib/sharedComponents/list-container/list-container.component.mjs +52 -0
  57. package/esm2022/lib/sharedComponents/owner-list/owner-list.component.mjs +2 -2
  58. package/esm2022/lib/sharedComponents/policy-access/policy-access.component.mjs +2 -2
  59. package/esm2022/lib/sharedComponents/policy-template/constants/template.constant.mjs +2 -2
  60. package/esm2022/lib/sharedComponents/program-list/constant.mjs +16 -0
  61. package/esm2022/lib/sharedComponents/program-list/interfaces/data-source.interface.mjs +2 -0
  62. package/esm2022/lib/sharedComponents/program-list/interfaces/list-item.interface.mjs +2 -0
  63. package/esm2022/lib/sharedComponents/program-list/pipes/check-selected-items.pipes.mjs +20 -0
  64. package/esm2022/lib/sharedComponents/program-list/program-list/program-list.component.mjs +183 -0
  65. package/esm2022/lib/sharedComponents/program-list/program-list.module.mjs +47 -0
  66. package/esm2022/lib/sharedComponents/program-list/services/list-utils.service.mjs +27 -0
  67. package/esm2022/lib/sharedComponents/program-list/services/program-list-api.service.mjs +32 -0
  68. package/esm2022/lib/sharedComponents/program-listing/program-listing.component.mjs +2 -2
  69. package/esm2022/lib/sharedComponents/radio-list/radio-list.component.mjs +2 -2
  70. package/esm2022/lib/sharedComponents/radio-list-with-pagination/radio-list.component.mjs +2 -2
  71. package/esm2022/lib/sharedComponents/responsibility-centers-list/responsibility-centers-list.component.mjs +2 -2
  72. package/esm2022/lib/sharedComponents/responsibility-risk-selector/responsibility-risk-selector.component.mjs +2 -2
  73. package/esm2022/lib/sharedComponents/review-frequency/review-frequency.component.mjs +2 -2
  74. package/esm2022/lib/sharedComponents/roles-list/roles-list.component.mjs +2 -2
  75. package/esm2022/lib/sharedComponents/select-approvers/select-approvers.component.mjs +2 -2
  76. package/esm2022/lib/sharedComponents/users-radio-list/users-radio-list.component.mjs +2 -2
  77. package/esm2022/lib/ui-kit/loaders/loaders.module.mjs +24 -0
  78. package/esm2022/lib/ui-kit/loaders/table-loader/table-loader.component.mjs +19 -0
  79. package/esm2022/lib/ui-kit/pagination/pagination/pagination.component.mjs +2 -2
  80. package/esm2022/lib/workflow/shared/components/attributes/attributes-checkbox/attributes-checkbox.component.mjs +2 -2
  81. package/esm2022/lib/workflow/shared/constants/cdn-link.constant.mjs +2 -2
  82. package/esm2022/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.mjs +2 -2
  83. package/esm2022/lib/workflow-assessment/workflow-assessment.component.mjs +2 -2
  84. package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +264 -139
  85. package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +5 -31
  86. package/esm2022/lib/workflow-engine.module.mjs +13 -6
  87. package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +2 -2
  88. package/esm2022/lib/workflow-program/create-program-ui/assessment-picker/assessment-picker.component.mjs +2 -2
  89. package/esm2022/lib/workflow-program/create-program-ui/define-framework-listing/define-framework-listing.component.mjs +2 -2
  90. package/esm2022/lib/workflow-program/create-program-ui/pagination/pagination/pagination.component.mjs +2 -2
  91. package/esm2022/lib/workflow-program/create-program-ui/role-list/role-list.component.mjs +2 -2
  92. package/esm2022/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.mjs +2 -2
  93. package/esm2022/lib/workflow-program/workflow-program.component.mjs +84 -241
  94. package/esm2022/lib/workflow-risk/workflow-risk.component.mjs +2 -2
  95. package/esm2022/lib/workflow-services/programs.service.mjs +28 -112
  96. package/esm2022/lib/workflow-services/responsibility.service.mjs +9 -9
  97. package/esm2022/lib/workflow-survey-form/workflow-survey-form.component.mjs +2 -2
  98. package/fesm2022/vcomply-workflow-engine.mjs +3512 -3101
  99. package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
  100. package/lib/constants/api.constants.d.ts +7 -0
  101. package/lib/constants/mock.d.ts +15 -0
  102. package/lib/interfaces/frequency.interface.d.ts +37 -0
  103. package/lib/interfaces/responsibilty.interface.d.ts +1 -1
  104. package/lib/sharedComponents/frequency/frequency.service.d.ts +30 -0
  105. package/lib/sharedComponents/list-container/list-container.component.d.ts +9 -0
  106. package/lib/sharedComponents/program-list/constant.d.ts +9 -0
  107. package/lib/sharedComponents/program-list/interfaces/data-source.interface.d.ts +4 -0
  108. package/lib/sharedComponents/program-list/interfaces/list-item.interface.d.ts +5 -0
  109. package/lib/sharedComponents/program-list/pipes/check-selected-items.pipes.d.ts +7 -0
  110. package/lib/sharedComponents/program-list/program-list/program-list.component.d.ts +46 -0
  111. package/lib/sharedComponents/program-list/program-list.module.d.ts +14 -0
  112. package/lib/sharedComponents/program-list/services/list-utils.service.d.ts +7 -0
  113. package/lib/sharedComponents/program-list/services/program-list-api.service.d.ts +14 -0
  114. package/lib/ui-kit/loaders/loaders.module.d.ts +8 -0
  115. package/lib/ui-kit/loaders/table-loader/table-loader.component.d.ts +9 -0
  116. package/lib/workflow-compliance/workflow-compliance.component.d.ts +32 -4
  117. package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +2 -1
  118. package/lib/workflow-engine.module.d.ts +42 -40
  119. package/lib/workflow-program/workflow-program.component.d.ts +6 -4
  120. package/lib/workflow-risk/workflow-risk.component.d.ts +1 -1
  121. package/lib/workflow-services/programs.service.d.ts +13 -53
  122. package/package.json +1 -1
  123. package/esm2022/lib/constants/assessts.constants.mjs +0 -57
  124. /package/lib/constants/{assessts.constants.d.ts → assets.constants.d.ts} +0 -0
@@ -0,0 +1,7 @@
1
+ export declare const API: {
2
+ subscriptionList: string;
3
+ };
4
+ export declare const PROGRAM_LIST_API: {
5
+ programList: string;
6
+ categoryList: string;
7
+ };
@@ -0,0 +1,15 @@
1
+ import { ListItem } from '../sharedComponents/program-list/interfaces/list-item.interface';
2
+ export declare const MOCK_PROGRAMS: ListItem[];
3
+ export declare const MOCK_CATEGORIES: ({
4
+ id: string;
5
+ name: string;
6
+ description: string;
7
+ level: number;
8
+ parent: null;
9
+ } | {
10
+ id: string;
11
+ name: string;
12
+ description: string;
13
+ level: number;
14
+ parent: string;
15
+ })[];
@@ -0,0 +1,37 @@
1
+ export interface FrequencyObject {
2
+ type: 'one_time' | 'daily' | 'weekly' | 'monthly' | 'quarterly' | 'semester' | 'yearly' | 'random' | 'ongoing' | 'on_completion_of' | 'biannually';
3
+ endAfter: number;
4
+ startBefore: number;
5
+ autoDeactivate: number;
6
+ day: number;
7
+ time: string;
8
+ repeatOptions?: RepeatOptions;
9
+ random?: Random | {};
10
+ onComplete?: OnComplete | {};
11
+ onGoing?: OnGoing | {};
12
+ }
13
+ interface RepeatOptions {
14
+ every: number;
15
+ repeatOn: string;
16
+ lifecycle: Lifecycle;
17
+ }
18
+ interface Random {
19
+ type: string;
20
+ occurrences: number;
21
+ }
22
+ interface OnComplete {
23
+ rId: number;
24
+ aId: number;
25
+ rcId: number;
26
+ startAfter: number;
27
+ }
28
+ interface OnGoing {
29
+ reminders: number;
30
+ startOf: 'week' | 'month' | 'quarter' | 'semester' | 'year';
31
+ }
32
+ interface Lifecycle {
33
+ startFrom: string;
34
+ endBy: string | undefined;
35
+ endAfter: number | undefined;
36
+ }
37
+ export {};
@@ -1,5 +1,5 @@
1
1
  interface Frequency {
2
- type: 'daily';
2
+ type: string;
3
3
  }
4
4
  interface Assignee {
5
5
  type: 'all' | 'any_one';
@@ -1,6 +1,7 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Configurations } from '../../configurations';
3
3
  import { AuthService } from '../../workflow-services/auth.service';
4
+ import { FrequencyObject } from '../../interfaces/frequency.interface';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class FrequencyService {
6
7
  private http;
@@ -47,6 +48,35 @@ export declare class FrequencyService {
47
48
  getResponsibilityList(payload: any): import("rxjs").Observable<any>;
48
49
  getResponsibilitiesCount(payload: any): import("rxjs").Observable<any>;
49
50
  formatDate(): string;
51
+ setFrequencyObject(frequency: any): FrequencyObject | null;
52
+ repeatOptions(frequency: any): string;
53
+ getOngoing(frequency: any): {
54
+ reminders: any;
55
+ startOf: string;
56
+ };
57
+ getRandomFrequency(frequency: any): {
58
+ type: string;
59
+ occurrence: any;
60
+ };
61
+ createFrequencyPattern(frequency: any): string;
62
+ getDay(repeatOptions: string): string;
63
+ getMonth(repeatOptions: string): string;
64
+ getLifecyclePattern(frequency: any): {
65
+ startFrom: number;
66
+ pattern: string;
67
+ };
68
+ /**
69
+ * Converts a date string in "YYYY-MM-DD" format to "DD-Month-YYYY~~0".
70
+ *
71
+ * @param {string} dateString - The input date string in "YYYY-MM-DD" format.
72
+ * @returns {string} - The formatted date string in "DD-Month-YYYY~~0" format.
73
+ *
74
+ * @example
75
+ * ```typescript
76
+ * formatDateString("2025-03-27"); // Returns "27-March-2025~~0"
77
+ * ```
78
+ */
79
+ formatDateString(dateString: string): string;
50
80
  static ɵfac: i0.ɵɵFactoryDeclaration<FrequencyService, [null, null, { optional: true; }]>;
51
81
  static ɵprov: i0.ɵɵInjectableDeclaration<FrequencyService>;
52
82
  }
@@ -0,0 +1,9 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ListContainerComponent {
4
+ heading: string;
5
+ close: EventEmitter<void>;
6
+ onClose(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListContainerComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListContainerComponent, "app-list-container", never, { "heading": { "alias": "heading"; "required": false; }; }, { "close": "close"; }, never, ["[body]", "[footer]"], false, never>;
9
+ }
@@ -0,0 +1,9 @@
1
+ export declare const PROGRAM_TABLE_HEADERS: string[];
2
+ export declare const PAGINATION_OPTIONS: {
3
+ PAGE_SIZE: number;
4
+ DEFAULT_CURRENT_PAGE: number;
5
+ };
6
+ export declare const PROGRAM_TYPE_LIST: {
7
+ name: string;
8
+ id: string;
9
+ }[];
@@ -0,0 +1,4 @@
1
+ import { Observable } from 'rxjs';
2
+ export interface DataSource<T> {
3
+ load(searchTerm?: string): Observable<T[]>;
4
+ }
@@ -0,0 +1,5 @@
1
+ export interface ListItem {
2
+ id: string;
3
+ name: string;
4
+ type: "regulations" | "standards" | "internal_controls" | "others";
5
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class CheckSelectedItemsPipe implements PipeTransform {
4
+ transform(id: string, selectedItems: any): boolean;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckSelectedItemsPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<CheckSelectedItemsPipe, "checkSelectedItems", false>;
7
+ }
@@ -0,0 +1,46 @@
1
+ import { EventEmitter, TemplateRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { ListItem } from '../interfaces/list-item.interface';
3
+ import { ListUtilsService } from '../services/list-utils.service';
4
+ import { ProgramListApiService } from '../services/program-list-api.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ProgramListComponent<T extends ListItem> implements OnInit, OnChanges {
7
+ private listUtils;
8
+ private programListApiService;
9
+ items: T[];
10
+ selectedItems: any | null;
11
+ itemTemplate: TemplateRef<any> | undefined;
12
+ url: any;
13
+ itemSelected: EventEmitter<T>;
14
+ itemDeselected: EventEmitter<T>;
15
+ itemsSelectedChange: EventEmitter<T[]>;
16
+ tableHeaders: string[];
17
+ currentPage: number;
18
+ pageSize: number;
19
+ totalPages: number;
20
+ searchTerm: string;
21
+ paginatedItems: T[];
22
+ activeProgram: any | null;
23
+ categoryList: any[];
24
+ programTypeList: any[];
25
+ selectedProgramType: any[];
26
+ loaderState: any;
27
+ constructor(listUtils: ListUtilsService, programListApiService: ProgramListApiService);
28
+ ngOnInit(): void;
29
+ ngOnChanges(changes: SimpleChanges): void;
30
+ getProgramList(): void;
31
+ loadData(data: any): void;
32
+ search(): void;
33
+ selectItem(event: any, item: any): void;
34
+ deselectItem(item: T): void;
35
+ isSelected(item: T): boolean;
36
+ goToPage(page: number): void;
37
+ getPageNumbers(): number[];
38
+ paginateItems(): void;
39
+ viewCategory(item?: any): void;
40
+ addParentTreeToCategories(categories: any[]): any[];
41
+ selectFilter(event: any, item: any): void;
42
+ resetFilter(): void;
43
+ onFilterChange(): void;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgramListComponent<any>, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgramListComponent<any>, "app-program-list", never, { "items": { "alias": "items"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "url": { "alias": "url"; "required": false; }; }, { "itemSelected": "itemSelected"; "itemDeselected": "itemDeselected"; "itemsSelectedChange": "itemsSelectedChange"; }, never, never, false, never>;
46
+ }
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./program-list/program-list.component";
3
+ import * as i2 from "./pipes/check-selected-items.pipes";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "../../formgroup/formgroup.module";
7
+ import * as i6 from "../../ui-kit/no-data/no-data.module";
8
+ import * as i7 from "../../ui-kit/popover/popover.module";
9
+ import * as i8 from "../../ui-kit/loaders/loaders.module";
10
+ export declare class ProgramListModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgramListModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ProgramListModule, [typeof i1.ProgramListComponent, typeof i2.CheckSelectedItemsPipe], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.FormgroupModule, typeof i6.NoDataModule, typeof i7.PopoverModule, typeof i8.LoadersModule], [typeof i1.ProgramListComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<ProgramListModule>;
14
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ListUtilsService {
3
+ paginate<T>(items: T[], currentPage: number, pageSize: number): T[];
4
+ getPageNumbers(totalItems: number, pageSize: number): number[];
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListUtilsService, never>;
6
+ static ɵprov: i0.ɵɵInjectableDeclaration<ListUtilsService>;
7
+ }
@@ -0,0 +1,14 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { Configurations } from '../../../configurations';
4
+ import { AuthService } from '../../../workflow-services/auth.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ProgramListApiService {
7
+ private http;
8
+ private authService;
9
+ env: any;
10
+ constructor(http: HttpClient, authService: AuthService, config?: Configurations);
11
+ getProgramList(apiUrl: string): Observable<any>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgramListApiService, [null, null, { optional: true; }]>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProgramListApiService>;
14
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./table-loader/table-loader.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class LoadersModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadersModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LoadersModule, [typeof i1.TableLoaderComponent], [typeof i2.CommonModule], [typeof i1.TableLoaderComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<LoadersModule>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TableLoaderComponent implements OnInit {
4
+ listSize: number[];
5
+ constructor();
6
+ ngOnInit(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableLoaderComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableLoaderComponent, "app-table-loader", never, { "listSize": { "alias": "listSize"; "required": false; }; }, {}, never, never, false, never>;
9
+ }
@@ -1,4 +1,4 @@
1
- import { OnInit, EventEmitter, ElementRef } from '@angular/core';
1
+ import { OnInit, EventEmitter, ElementRef, TemplateRef } from '@angular/core';
2
2
  import { EditorConfig } from 'vcomply-editor';
3
3
  import { AuthService } from '../workflow-services/auth.service';
4
4
  import { ResponsibilityService } from '../workflow-services/responsibility.service';
@@ -11,6 +11,9 @@ import { GrcService } from '../workflow/shared/services/grc.service';
11
11
  import { OrganizationUserService } from '../workflow-services/organization-user.service';
12
12
  import { ComplianceCommonService } from '../workflow-services/common-workflow-services/compliance-common.service';
13
13
  import { OrganizationCommonService } from '../workflow-services/common-workflow-services/organization-common.service';
14
+ import { FrequencyObject } from '../interfaces/frequency.interface';
15
+ import { Responsibility } from '../interfaces/responsibilty.interface';
16
+ import { ListItem } from '../sharedComponents/program-list/interfaces/list-item.interface';
14
17
  import { IframeService } from '../services/iframe.service';
15
18
  import * as i0 from "@angular/core";
16
19
  export declare class WorkflowComplianceComponent implements OnInit {
@@ -104,6 +107,11 @@ export declare class WorkflowComplianceComponent implements OnInit {
104
107
  grcSearchString: string;
105
108
  GRC_TYPE_ARRAY: string[];
106
109
  grcDataWithTypes: any;
110
+ selectedCategory: any[];
111
+ programListUrl: {
112
+ programList: string;
113
+ categoryList: string;
114
+ };
107
115
  set closeOnEsc(escapeCondition: boolean);
108
116
  orgDetails: any;
109
117
  url: string;
@@ -189,7 +197,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
189
197
  allPrograms: any[];
190
198
  riskClassification: {
191
199
  name: string;
192
- value: number;
200
+ value: string;
193
201
  class: string;
194
202
  }[];
195
203
  assignorMode: string;
@@ -214,6 +222,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
214
222
  continuous_failed_days: number;
215
223
  onCompletionReportDetails: {};
216
224
  };
225
+ frequencyObject: FrequencyObject | null;
217
226
  frequencyPlaceholder: string;
218
227
  shortMonth: Array<string>;
219
228
  isEditWhat: Boolean;
@@ -244,8 +253,10 @@ export declare class WorkflowComplianceComponent implements OnInit {
244
253
  rawResponsibility: any;
245
254
  otherGRCSubscription: Subscription;
246
255
  allowEditDueDateFeatureFlag: boolean;
256
+ allProgamSelected: any[];
247
257
  whatInput: ElementRef;
248
258
  unSubscribeProgram: Subject<void>;
259
+ responsibilityDetails: any;
249
260
  constructor(authService: AuthService, responsibilityService: ResponsibilityService, frequencyService: FrequencyService, uiKitService: UiKitService, snackBar: SnackBarService, permission: AuthService, programService: ProgramsService, grcService: GrcService, organizationUserService: OrganizationUserService, complianceCommonService: ComplianceCommonService, organizationCommonService: OrganizationCommonService, iframeService: IframeService);
250
261
  ngOnInit(): void;
251
262
  setFeatureFlags(): void;
@@ -343,13 +354,14 @@ export declare class WorkflowComplianceComponent implements OnInit {
343
354
  getOnCompletionReportDetails(event: any): any;
344
355
  frequencyDataPopulation(event: any): void;
345
356
  frequencyPopulation(event: any): void;
357
+ setPayload(event: any): Responsibility | null;
346
358
  frequencyData(event: any): void;
347
359
  checkBlank(data: string): string;
348
360
  /**
349
361
  * It takes a string and returns a string.
350
362
  * @param {any} res - any = {
351
363
  */
352
- getFrequencyPlaceholder(res: any): void;
364
+ getFrequencyPlaceholder(frequency: any): void;
353
365
  /**
354
366
  * It gets the frequency details and report id, then it sets the frequency placeholder to the frequency
355
367
  * details and then it gets the on completion of responsibility and sets the frequency placeholder to
@@ -479,6 +491,22 @@ export declare class WorkflowComplianceComponent implements OnInit {
479
491
  resetGRCDataWithTypes(): void;
480
492
  removeOtherGRCObjects(event: any): void;
481
493
  filterOtherGRCData(event: any, type: string): void;
494
+ programs: ListItem[];
495
+ selectedPrograms: any[];
496
+ customItemTemplate: TemplateRef<any> | undefined;
497
+ onItemSelected(item: ListItem): void;
498
+ onItemDeselected(item: ListItem): void;
499
+ onItemsSelectedChange(items: ListItem[]): void;
500
+ selectCategory(): void;
501
+ get currentUserInfo(): {
502
+ member_email: any;
503
+ member_id: any;
504
+ member_name: any;
505
+ organisation_id: any;
506
+ _id: any;
507
+ };
508
+ populateResponsibilityDetails(): void;
509
+ populateFrequencyDetails(frequency: any): void;
482
510
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowComplianceComponent, never>;
483
- static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowComplianceComponent, "app-workflow-compliance", never, { "mode": { "alias": "mode"; "required": false; }; "responsibilityId": { "alias": "responsibilityId"; "required": false; }; "frameworkDetails": { "alias": "frameworkDetails"; "required": false; }; "isEntrust": { "alias": "isEntrust"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "assessmentDetails": { "alias": "assessmentDetails"; "required": false; }; "closeOnEsc": { "alias": "closeOnEsc"; "required": false; }; "orgDetails": { "alias": "orgDetails"; "required": false; }; "openedFrom": { "alias": "openedFrom"; "required": false; }; "selectedRC": { "alias": "selectedRC"; "required": false; }; "setSelectedProgram": { "alias": "selectedProgram"; "required": false; }; }, { "pickerChanged": "pickerChanged"; "populateOption": "populateOption"; "hideElementsFromMoreOptions": "hideElementsFromMoreOptions"; "closeWorkflow": "closeWorkflow"; "resetForm": "resetForm"; "disconnectRefresh": "disconnectRefresh"; "checkpointCountUpdated": "checkpointCountUpdated"; "rcSelected": "rcSelected"; "onRemovingCheckpoint": "onRemovingCheckpoint"; "isAssessmentDisabled": "isAssessmentDisabled"; "assigneeTypeChange": "assigneeTypeChange"; "onReviewerTypeChange": "onReviewerTypeChange"; }, never, never, false, never>;
511
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowComplianceComponent, "app-workflow-compliance", never, { "mode": { "alias": "mode"; "required": false; }; "responsibilityId": { "alias": "responsibilityId"; "required": false; }; "frameworkDetails": { "alias": "frameworkDetails"; "required": false; }; "isEntrust": { "alias": "isEntrust"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "assessmentDetails": { "alias": "assessmentDetails"; "required": false; }; "closeOnEsc": { "alias": "closeOnEsc"; "required": false; }; "orgDetails": { "alias": "orgDetails"; "required": false; }; "openedFrom": { "alias": "openedFrom"; "required": false; }; "selectedRC": { "alias": "selectedRC"; "required": false; }; "setSelectedProgram": { "alias": "selectedProgram"; "required": false; }; "responsibilityDetails": { "alias": "responsibilityDetails"; "required": false; }; }, { "pickerChanged": "pickerChanged"; "populateOption": "populateOption"; "hideElementsFromMoreOptions": "hideElementsFromMoreOptions"; "closeWorkflow": "closeWorkflow"; "resetForm": "resetForm"; "disconnectRefresh": "disconnectRefresh"; "checkpointCountUpdated": "checkpointCountUpdated"; "rcSelected": "rcSelected"; "onRemovingCheckpoint": "onRemovingCheckpoint"; "isAssessmentDisabled": "isAssessmentDisabled"; "assigneeTypeChange": "assigneeTypeChange"; "onReviewerTypeChange": "onReviewerTypeChange"; }, never, never, false, never>;
484
512
  }
@@ -45,6 +45,7 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
45
45
  secondaryOpenPortal: string;
46
46
  defaultRiskType: string;
47
47
  moveToRegisterMode: string;
48
+ workflowDetails: any;
48
49
  reponsibilityData: {
49
50
  responsibilityId: null;
50
51
  responsibilityName: string;
@@ -164,5 +165,5 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
164
165
  onReviewerChange(event: string): void;
165
166
  isResponsibilitySimplify(): void;
166
167
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowEngineContainerComponent, never>;
167
- static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowEngineContainerComponent, "app-vcomply-workflow-engine-container", never, { "workflowType": { "alias": "workflowType"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "id": { "alias": "id"; "required": false; }; "openedFrom": { "alias": "openedFrom"; "required": false; }; "source": { "alias": "source"; "required": false; }; "allowedWorkflows": { "alias": "allowedWorkflows"; "required": false; }; "frameworkDetails": { "alias": "frameworkDetails"; "required": false; }; "selectedRC": { "alias": "selectedRC"; "required": false; }; "secondaryOpenPortal": { "alias": "secondaryOpenPortal"; "required": false; }; "defaultRiskType": { "alias": "defaultRiskType"; "required": false; }; "moveToRegisterMode": { "alias": "moveToRegisterMode"; "required": false; }; "reponsibilityData": { "alias": "reponsibilityData"; "required": false; }; "assessmentQuestion": { "alias": "assessmentQuestion"; "required": false; }; "pid": { "alias": "pid"; "required": false; }; "programType": { "alias": "programType"; "required": false; }; "issueData": { "alias": "issueData"; "required": false; }; "entrustButtonName": { "alias": "entrustButtonName"; "required": false; }; "config": { "alias": "config"; "required": false; }; "convertFileData": { "alias": "convertFileData"; "required": false; }; "selectedCategory": { "alias": "selectedCategory"; "required": false; }; "selectedProgram": { "alias": "selectedProgram"; "required": false; }; "canFrameworkChange": { "alias": "canFrameworkChange"; "required": false; }; "addToProgramDetails": { "alias": "addToProgramDetails"; "required": false; }; "grcType": { "alias": "grcType"; "required": false; }; "isSendForAttestation": { "alias": "isSendForAttestation"; "required": false; }; "assessmentDetails": { "alias": "assessmentDetails"; "required": false; }; "templateId": { "alias": "templateId"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; }, { "closeWorkflow": "closeWorkflow"; }, never, never, false, never>;
168
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowEngineContainerComponent, "app-vcomply-workflow-engine-container", never, { "workflowType": { "alias": "workflowType"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "id": { "alias": "id"; "required": false; }; "openedFrom": { "alias": "openedFrom"; "required": false; }; "source": { "alias": "source"; "required": false; }; "allowedWorkflows": { "alias": "allowedWorkflows"; "required": false; }; "frameworkDetails": { "alias": "frameworkDetails"; "required": false; }; "selectedRC": { "alias": "selectedRC"; "required": false; }; "secondaryOpenPortal": { "alias": "secondaryOpenPortal"; "required": false; }; "defaultRiskType": { "alias": "defaultRiskType"; "required": false; }; "moveToRegisterMode": { "alias": "moveToRegisterMode"; "required": false; }; "workflowDetails": { "alias": "workflowDetails"; "required": false; }; "reponsibilityData": { "alias": "reponsibilityData"; "required": false; }; "assessmentQuestion": { "alias": "assessmentQuestion"; "required": false; }; "pid": { "alias": "pid"; "required": false; }; "programType": { "alias": "programType"; "required": false; }; "issueData": { "alias": "issueData"; "required": false; }; "entrustButtonName": { "alias": "entrustButtonName"; "required": false; }; "config": { "alias": "config"; "required": false; }; "convertFileData": { "alias": "convertFileData"; "required": false; }; "selectedCategory": { "alias": "selectedCategory"; "required": false; }; "selectedProgram": { "alias": "selectedProgram"; "required": false; }; "canFrameworkChange": { "alias": "canFrameworkChange"; "required": false; }; "addToProgramDetails": { "alias": "addToProgramDetails"; "required": false; }; "grcType": { "alias": "grcType"; "required": false; }; "isSendForAttestation": { "alias": "isSendForAttestation"; "required": false; }; "assessmentDetails": { "alias": "assessmentDetails"; "required": false; }; "templateId": { "alias": "templateId"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; }, { "closeWorkflow": "closeWorkflow"; }, never, never, false, never>;
168
169
  }
@@ -91,48 +91,50 @@ import * as i87 from "./sharedComponents/approval-workflow/approval-create-form/
91
91
  import * as i88 from "./sharedComponents/link-program/link-program/link-program.component";
92
92
  import * as i89 from "./sharedComponents/link-program/tooltip-validation.pipe";
93
93
  import * as i90 from "./link-related-policies/link-related-policies.component";
94
- import * as i91 from "@angular/forms";
95
- import * as i92 from "./sharedComponents/assessment-editor/create-assessment.module";
96
- import * as i93 from "@vcomply/editor";
97
- import * as i94 from "@angular/common";
98
- import * as i95 from "./formgroup/formgroup.module";
99
- import * as i96 from "./ui-kit/tooltip/tooltip.module";
100
- import * as i97 from "./ui-kit/popover/popover.module";
101
- import * as i98 from "./ui-kit/line-loader/line-loader.module";
102
- import * as i99 from "./formgroup/select/select.module";
103
- import * as i100 from "ngx-material-timepicker";
104
- import * as i101 from "ng2-date-picker";
105
- import * as i102 from "./sharedComponents/no-data/no-data.module";
106
- import * as i103 from "./sharedComponents/v-loader/v-loader.module";
107
- import * as i104 from "./ui-kit/smiley-dialog/smiley-dialog.module";
108
- import * as i105 from "./ui-kit/snack-bar/snack-bar.module";
109
- import * as i106 from "@angular/common/http";
110
- import * as i107 from "./ui-kit/smiley-dialog-inline/smiley-dialog-inline.module";
111
- import * as i108 from "./ui-kit/click-outside/click-outside.module";
112
- import * as i109 from "./ui-kit/popover-hover/popover-hover.module";
113
- import * as i110 from "./ui-kit/pagination/pagination.module";
114
- import * as i111 from "./ui-kit/action-dialog/action-dialog.module";
115
- import * as i112 from "./sharedComponents/assessment-preview/assessment-preview.module";
116
- import * as i113 from "./workflow-program/create-program-ui/create-program-ui.module";
117
- import * as i114 from "./ui-kit/directive/directive.module";
118
- import * as i115 from "./workflow/grc-object/grc-object.module";
119
- import * as i116 from "./sharedComponents/responsibility-centers-list/rc-list.module";
120
- import * as i117 from "./pipes/pipes.module";
121
- import * as i118 from "./sharedComponents/floating-bar/floating-bar.module";
122
- import * as i119 from "./sharedComponents/group-users-list/group-users-list.component";
123
- import * as i120 from "./sharedComponents/list-loader/list-loader.module";
124
- import * as i121 from "./workflow/shared/components/grc-object-list/grc-object-list.component";
125
- import * as i122 from "./ui-kit/time-picker/time-picker.module";
126
- import * as i123 from "./ui-kit/multi-select/multi-select.module";
127
- import * as i124 from "./sharedComponents/policy-template/policy-template.module";
128
- import * as i125 from "./report-a-case/report-case.module";
129
- import * as i126 from "./sharedComponents/format-and-evidence/format-and-evidence.module";
130
- import * as i127 from "./sharedComponents/checkbox-list/checkbox-list.module";
131
- import * as i128 from "./sharedComponents/radio-list-with-pagination/radio-list-with-pagination.module";
132
- import * as i129 from "./sharedComponents/link-responsibility/link-responsibility.module";
94
+ import * as i91 from "./sharedComponents/list-container/list-container.component";
95
+ import * as i92 from "@angular/forms";
96
+ import * as i93 from "./sharedComponents/assessment-editor/create-assessment.module";
97
+ import * as i94 from "@vcomply/editor";
98
+ import * as i95 from "@angular/common";
99
+ import * as i96 from "./formgroup/formgroup.module";
100
+ import * as i97 from "./ui-kit/tooltip/tooltip.module";
101
+ import * as i98 from "./ui-kit/popover/popover.module";
102
+ import * as i99 from "./ui-kit/line-loader/line-loader.module";
103
+ import * as i100 from "./formgroup/select/select.module";
104
+ import * as i101 from "ngx-material-timepicker";
105
+ import * as i102 from "ng2-date-picker";
106
+ import * as i103 from "./sharedComponents/no-data/no-data.module";
107
+ import * as i104 from "./sharedComponents/v-loader/v-loader.module";
108
+ import * as i105 from "./ui-kit/smiley-dialog/smiley-dialog.module";
109
+ import * as i106 from "./ui-kit/snack-bar/snack-bar.module";
110
+ import * as i107 from "@angular/common/http";
111
+ import * as i108 from "./ui-kit/smiley-dialog-inline/smiley-dialog-inline.module";
112
+ import * as i109 from "./ui-kit/click-outside/click-outside.module";
113
+ import * as i110 from "./ui-kit/popover-hover/popover-hover.module";
114
+ import * as i111 from "./ui-kit/pagination/pagination.module";
115
+ import * as i112 from "./ui-kit/action-dialog/action-dialog.module";
116
+ import * as i113 from "./sharedComponents/assessment-preview/assessment-preview.module";
117
+ import * as i114 from "./workflow-program/create-program-ui/create-program-ui.module";
118
+ import * as i115 from "./ui-kit/directive/directive.module";
119
+ import * as i116 from "./workflow/grc-object/grc-object.module";
120
+ import * as i117 from "./sharedComponents/responsibility-centers-list/rc-list.module";
121
+ import * as i118 from "./pipes/pipes.module";
122
+ import * as i119 from "./sharedComponents/floating-bar/floating-bar.module";
123
+ import * as i120 from "./sharedComponents/group-users-list/group-users-list.component";
124
+ import * as i121 from "./sharedComponents/list-loader/list-loader.module";
125
+ import * as i122 from "./workflow/shared/components/grc-object-list/grc-object-list.component";
126
+ import * as i123 from "./ui-kit/time-picker/time-picker.module";
127
+ import * as i124 from "./ui-kit/multi-select/multi-select.module";
128
+ import * as i125 from "./sharedComponents/policy-template/policy-template.module";
129
+ import * as i126 from "./report-a-case/report-case.module";
130
+ import * as i127 from "./sharedComponents/format-and-evidence/format-and-evidence.module";
131
+ import * as i128 from "./sharedComponents/checkbox-list/checkbox-list.module";
132
+ import * as i129 from "./sharedComponents/radio-list-with-pagination/radio-list-with-pagination.module";
133
+ import * as i130 from "./sharedComponents/link-responsibility/link-responsibility.module";
134
+ import * as i131 from "./sharedComponents/program-list/program-list.module";
133
135
  export declare class VComplyWorkflowEngineModule {
134
136
  static forRoot(environmentConfig: Configurations): ModuleWithProviders<VComplyWorkflowEngineModule>;
135
137
  static ɵfac: i0.ɵɵFactoryDeclaration<VComplyWorkflowEngineModule, never>;
136
- static ɵmod: i0.ɵɵNgModuleDeclaration<VComplyWorkflowEngineModule, [typeof i1.WorkflowEngineContainerComponent, typeof i2.WorkflowRiskComponent, typeof i3.WorkflowComplianceComponent, typeof i4.WorkflowPolicyComponent, typeof i5.MoreOptionComponent, typeof i6.OwnerListComponent, typeof i7.UserRadioListComponent, typeof i8.CategoryListComponent, typeof i9.CategoryMultiSelectComponent, typeof i10.WorkflowPaginationComponent, typeof i11.AddMultipleRiskComponent, typeof i12.BulkViewComponent, typeof i13.CheckpointsComponent, typeof i14.ConfirmationAlertComponent, typeof i15.CheckpointsQuestionsComponent, typeof i16.CheckpointsListComponent, typeof i17.ReviewFrequencyComponent, typeof i18.FrequencyContainerComponent, typeof i19.FrequencyDailyComponent, typeof i20.FrequencyWeeklyComponent, typeof i21.FrequencyMonthlyComponent, typeof i22.FrequencyQuarterlyComponent, typeof i23.FrequencyBiannualComponent, typeof i24.FrequencyAnnualComponent, typeof i25.FrequencyOneTimeComponent, typeof i26.FrequencyRandomComponent, typeof i27.FrequencyOnCompletionOfComponent, typeof i28.FrequencyOngoingComponent, typeof i29.FrequencyTopComponent, typeof i30.FrequencyLifecycleComponent, typeof i31.FrequencyDueDateComponent, typeof i32.FrequencyCheckboxListComponent, typeof i33.FrequencyRadioListComponent, typeof i34.AddMultipleResponsibilityComponent, typeof i35.BulkResponsibilityViewComponent, typeof i36.CheckpointsPolicyContainerComponent, typeof i37.CheckpointsPolicyListComponent, typeof i38.CheckpointsPolicyQuestionsComponent, typeof i39.WorkflowSurveyFormComponent, typeof i40.LogAnIssueComponent, typeof i41.FilterPipe, typeof i42.RadioListComponent, typeof i43.CreateDocumentsComponent, typeof i44.FrameworkListComponent, typeof i45.ParentTableComponent, typeof i46.CheckpointFloatingBarComponent, typeof i47.RiskClassificationComponent, typeof i48.ShortMergePipe, typeof i49.FormatHtmlPipe, typeof i50.WithinDataPipe, typeof i51.rcTreeToolTipPipe, typeof i52.ResponsibilityRiskSelectorComponent, typeof i53.ArrayFilterPipe, typeof i54.AuditCategoryListComponent, typeof i55.DocumentSectionComponent, typeof i55.DocumentSectionComponent, typeof i56.WorkflowAssessmentComponent, typeof i57.ImportAnAssessmentComponent, typeof i58.AssessmentListComponent, typeof i59.AssessmentListLoaderComponent, typeof i60.AssessmentListSubLoaderComponent, typeof i61.ProgramListingComponent, typeof i62.WorkflowProgramComponent, typeof i63.RolesListComponent, typeof i64.FrameworkListTableComponent, typeof i65.FrameworkResponsibilityTableComponent, typeof i66.FrameworkTableLoaderComponent, typeof i67.ArrayConcatPipe, typeof i68.SpaceTrimPipe, typeof i69.FrequencyDialogContainerComponent, typeof i70.FrequencyDialogWeeklyComponent, typeof i71.FrequencyDialogTopComponent, typeof i72.FrequencyDialogDueDateComponent, typeof i73.FrequencyDialogCheckboxListComponent, typeof i74.FrequencyDialogMonthlyComponent, typeof i75.FrequencyDialogQuarterlyComponent, typeof i76.FrequencyDialogRadioListComponent, typeof i77.FrequencyDialogBiannualComponent, typeof i78.FrequencyDialogAnnualComponent, typeof i79.FrequencyDialogOneTimeComponent, typeof i80.AddMultipleResponsibilityContainerComponent, typeof i81.AddMultipleResponsibilityWithTabComponent, typeof i82.FrequencyResponsibilityListComponent, typeof i83.ApprovalWorkflowComponent, typeof i84.SelectApproversComponent, typeof i85.PolicyAccessComponent, typeof i86.ApprovalWorkflowListComponent, typeof i87.ApprovalCreateFormComponent, typeof i88.LinkProgramComponent, typeof i89.TooltipValidationPipe, typeof i90.LinkRelatedPoliciesComponent], [typeof i91.ReactiveFormsModule, typeof i92.CreateAssessmentModule, typeof i93.VcomplyEditorModule, typeof i94.CommonModule, typeof i95.FormgroupModule, typeof i96.TooltipModule, typeof i97.PopoverModule, typeof i98.LineLoaderModule, typeof i91.FormsModule, typeof i99.SelectModule, typeof i100.NgxMaterialTimepickerModule, typeof i101.DpDatePickerModule, typeof i102.NoDataModule, typeof i103.VLoaderModule, typeof i104.SmileyDialogModule, typeof i105.SnackBarModule, typeof i106.HttpClientModule, typeof i107.SmileyDialogInlineModule, typeof i108.ClickOutsideModule, typeof i109.PopoverHoverModule, typeof i110.PaginationModule, typeof i92.CreateAssessmentModule, typeof i111.ActionDialogModule, typeof i112.AssessmentPreviewModule, typeof i113.CreateProgramUiModule, typeof i114.DirectiveModule, typeof i115.GrcObjectModule, typeof i116.RcListModule, typeof i117.PipesModule, typeof i118.FloatingBarModule, typeof i119.GroupUsersListComponent, typeof i120.ListLoaderModule, typeof i121.GrcObjectListComponent, typeof i122.TimePickerModule, typeof i123.MultiSelectModule, typeof i124.PolicyTemplateModule, typeof i125.ReportCaseModule, typeof i126.FormatAndEvidenceModule, typeof i127.CheckboxListModule, typeof i128.RadioListWithPaginationModule, typeof i129.LinkResponsibilityModule], [typeof i1.WorkflowEngineContainerComponent]>;
138
+ static ɵmod: i0.ɵɵNgModuleDeclaration<VComplyWorkflowEngineModule, [typeof i1.WorkflowEngineContainerComponent, typeof i2.WorkflowRiskComponent, typeof i3.WorkflowComplianceComponent, typeof i4.WorkflowPolicyComponent, typeof i5.MoreOptionComponent, typeof i6.OwnerListComponent, typeof i7.UserRadioListComponent, typeof i8.CategoryListComponent, typeof i9.CategoryMultiSelectComponent, typeof i10.WorkflowPaginationComponent, typeof i11.AddMultipleRiskComponent, typeof i12.BulkViewComponent, typeof i13.CheckpointsComponent, typeof i14.ConfirmationAlertComponent, typeof i15.CheckpointsQuestionsComponent, typeof i16.CheckpointsListComponent, typeof i17.ReviewFrequencyComponent, typeof i18.FrequencyContainerComponent, typeof i19.FrequencyDailyComponent, typeof i20.FrequencyWeeklyComponent, typeof i21.FrequencyMonthlyComponent, typeof i22.FrequencyQuarterlyComponent, typeof i23.FrequencyBiannualComponent, typeof i24.FrequencyAnnualComponent, typeof i25.FrequencyOneTimeComponent, typeof i26.FrequencyRandomComponent, typeof i27.FrequencyOnCompletionOfComponent, typeof i28.FrequencyOngoingComponent, typeof i29.FrequencyTopComponent, typeof i30.FrequencyLifecycleComponent, typeof i31.FrequencyDueDateComponent, typeof i32.FrequencyCheckboxListComponent, typeof i33.FrequencyRadioListComponent, typeof i34.AddMultipleResponsibilityComponent, typeof i35.BulkResponsibilityViewComponent, typeof i36.CheckpointsPolicyContainerComponent, typeof i37.CheckpointsPolicyListComponent, typeof i38.CheckpointsPolicyQuestionsComponent, typeof i39.WorkflowSurveyFormComponent, typeof i40.LogAnIssueComponent, typeof i41.FilterPipe, typeof i42.RadioListComponent, typeof i43.CreateDocumentsComponent, typeof i44.FrameworkListComponent, typeof i45.ParentTableComponent, typeof i46.CheckpointFloatingBarComponent, typeof i47.RiskClassificationComponent, typeof i48.ShortMergePipe, typeof i49.FormatHtmlPipe, typeof i50.WithinDataPipe, typeof i51.rcTreeToolTipPipe, typeof i52.ResponsibilityRiskSelectorComponent, typeof i53.ArrayFilterPipe, typeof i54.AuditCategoryListComponent, typeof i55.DocumentSectionComponent, typeof i55.DocumentSectionComponent, typeof i56.WorkflowAssessmentComponent, typeof i57.ImportAnAssessmentComponent, typeof i58.AssessmentListComponent, typeof i59.AssessmentListLoaderComponent, typeof i60.AssessmentListSubLoaderComponent, typeof i61.ProgramListingComponent, typeof i62.WorkflowProgramComponent, typeof i63.RolesListComponent, typeof i64.FrameworkListTableComponent, typeof i65.FrameworkResponsibilityTableComponent, typeof i66.FrameworkTableLoaderComponent, typeof i67.ArrayConcatPipe, typeof i68.SpaceTrimPipe, typeof i69.FrequencyDialogContainerComponent, typeof i70.FrequencyDialogWeeklyComponent, typeof i71.FrequencyDialogTopComponent, typeof i72.FrequencyDialogDueDateComponent, typeof i73.FrequencyDialogCheckboxListComponent, typeof i74.FrequencyDialogMonthlyComponent, typeof i75.FrequencyDialogQuarterlyComponent, typeof i76.FrequencyDialogRadioListComponent, typeof i77.FrequencyDialogBiannualComponent, typeof i78.FrequencyDialogAnnualComponent, typeof i79.FrequencyDialogOneTimeComponent, typeof i80.AddMultipleResponsibilityContainerComponent, typeof i81.AddMultipleResponsibilityWithTabComponent, typeof i82.FrequencyResponsibilityListComponent, typeof i83.ApprovalWorkflowComponent, typeof i84.SelectApproversComponent, typeof i85.PolicyAccessComponent, typeof i86.ApprovalWorkflowListComponent, typeof i87.ApprovalCreateFormComponent, typeof i88.LinkProgramComponent, typeof i89.TooltipValidationPipe, typeof i90.LinkRelatedPoliciesComponent, typeof i91.ListContainerComponent], [typeof i92.ReactiveFormsModule, typeof i93.CreateAssessmentModule, typeof i94.VcomplyEditorModule, typeof i95.CommonModule, typeof i96.FormgroupModule, typeof i97.TooltipModule, typeof i98.PopoverModule, typeof i99.LineLoaderModule, typeof i92.FormsModule, typeof i100.SelectModule, typeof i101.NgxMaterialTimepickerModule, typeof i102.DpDatePickerModule, typeof i103.NoDataModule, typeof i104.VLoaderModule, typeof i105.SmileyDialogModule, typeof i106.SnackBarModule, typeof i107.HttpClientModule, typeof i108.SmileyDialogInlineModule, typeof i109.ClickOutsideModule, typeof i110.PopoverHoverModule, typeof i111.PaginationModule, typeof i93.CreateAssessmentModule, typeof i112.ActionDialogModule, typeof i113.AssessmentPreviewModule, typeof i114.CreateProgramUiModule, typeof i115.DirectiveModule, typeof i116.GrcObjectModule, typeof i117.RcListModule, typeof i118.PipesModule, typeof i119.FloatingBarModule, typeof i120.GroupUsersListComponent, typeof i121.ListLoaderModule, typeof i122.GrcObjectListComponent, typeof i123.TimePickerModule, typeof i124.MultiSelectModule, typeof i125.PolicyTemplateModule, typeof i126.ReportCaseModule, typeof i127.FormatAndEvidenceModule, typeof i128.CheckboxListModule, typeof i129.RadioListWithPaginationModule, typeof i130.LinkResponsibilityModule, typeof i131.ProgramListModule], [typeof i1.WorkflowEngineContainerComponent]>;
137
139
  static ɵinj: i0.ɵɵInjectorDeclaration<VComplyWorkflowEngineModule>;
138
140
  }
@@ -11,8 +11,8 @@ export declare class WorkflowProgramComponent implements OnInit {
11
11
  private programService;
12
12
  private authService;
13
13
  private uiKitService;
14
- private iframeService;
15
14
  private changeRef;
15
+ private iframeService;
16
16
  ASSETS: {
17
17
  responsibility_center: string;
18
18
  case_type: string;
@@ -139,6 +139,7 @@ export declare class WorkflowProgramComponent implements OnInit {
139
139
  allowedFeature: any;
140
140
  addToProgramDetails: any;
141
141
  orgDetails: any;
142
+ programDetails: any;
142
143
  panelTitleDefaultReviewer: string;
143
144
  panelTitleOwner: string;
144
145
  panelTitleReviewer: string;
@@ -157,7 +158,7 @@ export declare class WorkflowProgramComponent implements OnInit {
157
158
  assignorId: number[];
158
159
  disableReviewerIds: any[];
159
160
  disableOverseerIds: any[];
160
- constructor(fb: UntypedFormBuilder, programService: ProgramsService, authService: AuthService, uiKitService: UiKitService, iframeService: IframeService, changeRef: ChangeDetectorRef);
161
+ constructor(fb: UntypedFormBuilder, programService: ProgramsService, authService: AuthService, uiKitService: UiKitService, changeRef: ChangeDetectorRef, iframeService: IframeService);
161
162
  noWhitespaceValidator(control: UntypedFormControl): {
162
163
  whitespace: boolean;
163
164
  } | null;
@@ -218,7 +219,6 @@ export declare class WorkflowProgramComponent implements OnInit {
218
219
  returnIds(list: any[], key: string): any[];
219
220
  refreshList(): void;
220
221
  removeRole(evt: any): void;
221
- setDefaultAssignee(evt: any): void;
222
222
  setDefaultAssigneeOnRemove(evt: any, type: any): void;
223
223
  setDefaultReviewer(evt: any): void;
224
224
  setDefaultOverseer(evt: any): void;
@@ -261,11 +261,13 @@ export declare class WorkflowProgramComponent implements OnInit {
261
261
  * Get program details when user is trying to edit program
262
262
  */
263
263
  getProgramDetails(): void;
264
+ populateProgramDetails(res: any): void;
264
265
  populateMembers(res: any): void;
265
266
  populateGroups(res: any): void;
266
267
  resetAdditionalOption(): void;
267
268
  checkProgramOptionField(): any;
268
269
  enablefeature(): void;
270
+ handleDataPopulation(): void;
269
271
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowProgramComponent, never>;
270
- static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowProgramComponent, "app-workflow-program", never, { "canFrameworkChange": { "alias": "canFrameworkChange"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "programId": { "alias": "programId"; "required": false; }; "programType": { "alias": "programType"; "required": false; }; "allowedFeature": { "alias": "allowedFeature"; "required": false; }; "addToProgramDetails": { "alias": "addToProgramDetails"; "required": false; }; "orgDetails": { "alias": "orgDetails"; "required": false; }; }, { "pickerChanged": "pickerChanged"; "populateOption": "populateOption"; "closeWorkflow": "closeWorkflow"; "showConfirmationAlert": "showConfirmationAlert"; "disconnectRefresh": "disconnectRefresh"; "refreshForm": "refreshForm"; "hideElementsFromMoreOptions": "hideElementsFromMoreOptions"; "onRemovingRole": "onRemovingRole"; "disableElementsFromMoreOptions": "disableElementsFromMoreOptions"; }, never, never, false, never>;
272
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowProgramComponent, "app-workflow-program", never, { "canFrameworkChange": { "alias": "canFrameworkChange"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "programId": { "alias": "programId"; "required": false; }; "programType": { "alias": "programType"; "required": false; }; "allowedFeature": { "alias": "allowedFeature"; "required": false; }; "addToProgramDetails": { "alias": "addToProgramDetails"; "required": false; }; "orgDetails": { "alias": "orgDetails"; "required": false; }; "programDetails": { "alias": "programDetails"; "required": false; }; }, { "pickerChanged": "pickerChanged"; "populateOption": "populateOption"; "closeWorkflow": "closeWorkflow"; "showConfirmationAlert": "showConfirmationAlert"; "disconnectRefresh": "disconnectRefresh"; "refreshForm": "refreshForm"; "hideElementsFromMoreOptions": "hideElementsFromMoreOptions"; "onRemovingRole": "onRemovingRole"; "disableElementsFromMoreOptions": "disableElementsFromMoreOptions"; }, never, never, false, never>;
271
273
  }
@@ -167,7 +167,7 @@ export declare class WorkflowRiskComponent implements OnInit {
167
167
  setPopupButtons(): void;
168
168
  getRiskDetails(riskId: any): void;
169
169
  populateOptionalFields(): void;
170
- setCategoryType(type: any): "strategic" | "compliance" | "operational" | "others";
170
+ setCategoryType(type: any): "others" | "strategic" | "operational" | "compliance";
171
171
  getRCList(): void;
172
172
  getCategoryList(): void;
173
173
  getOwnersList(): void;