vcomply-workflow-engine 3.8.8 → 3.9.0

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 (30) hide show
  1. package/esm2022/lib/link-related-policies/constants.mjs +8 -0
  2. package/esm2022/lib/link-related-policies/link-related-policies.component.mjs +169 -0
  3. package/esm2022/lib/more-option/more-option.component.mjs +10 -1
  4. package/esm2022/lib/sharedComponents/framework-list/framework-integration-interfaces.mjs +1 -1
  5. package/esm2022/lib/workflow/shared/constants/cdn-link.constant.mjs +3 -1
  6. package/esm2022/lib/workflow-engine-container/api-constants.mjs +5 -0
  7. package/esm2022/lib/workflow-engine.module.mjs +5 -2
  8. package/esm2022/lib/workflow-interfaces/create-policy-form.mjs +1 -1
  9. package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +43 -3
  10. package/esm2022/lib/workflow-services/policy.service.mjs +23 -3
  11. package/fesm2022/vcomply-workflow-engine.mjs +238 -3
  12. package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
  13. package/lib/add-multiple-risk/add-multiple-risk.component.d.ts +1 -1
  14. package/lib/link-related-policies/constants.d.ts +7 -0
  15. package/lib/link-related-policies/link-related-policies.component.d.ts +45 -0
  16. package/lib/sharedComponents/framework-list/framework-integration-interfaces.d.ts +11 -0
  17. package/lib/workflow/grc-object/grc-object-container/grc-object-container.component.d.ts +2 -0
  18. package/lib/workflow/shared/components/attributes/attributes-text-box/attributes-text-box.component.d.ts +2 -0
  19. package/lib/workflow/shared/components/attributes/attributes.component.d.ts +2 -0
  20. package/lib/workflow/shared/components/grc-object-list/grc-object-list.component.d.ts +2 -0
  21. package/lib/workflow/shared/components/program-responsibility-listing/program-responsibility-listing.component.d.ts +2 -0
  22. package/lib/workflow/shared/components/risk-category-risk-listing/risk-category-risk-listing.component.d.ts +2 -0
  23. package/lib/workflow/shared/constants/cdn-link.constant.d.ts +2 -0
  24. package/lib/workflow-engine-container/api-constants.d.ts +4 -0
  25. package/lib/workflow-engine.module.d.ts +34 -33
  26. package/lib/workflow-interfaces/create-policy-form.d.ts +3 -0
  27. package/lib/workflow-policy/workflow-policy.component.d.ts +5 -0
  28. package/lib/workflow-risk/workflow-risk.component.d.ts +1 -1
  29. package/lib/workflow-services/policy.service.d.ts +4 -0
  30. package/package.json +1 -1
@@ -97,7 +97,7 @@ export declare class AddMultipleRiskComponent implements OnInit, OnChanges {
97
97
  * @param {string} [label] - the label of the risk
98
98
  * @returns The return value is the value of the last expression in the function.
99
99
  */
100
- setRiskLabel(label?: string): 2 | 1;
100
+ setRiskLabel(label?: string): 1 | 2;
101
101
  /**
102
102
  * "If the date is a number, convert it to a date object, then create a new date object with the
103
103
  * timezone set to the user's timezone, then return the date in the format YYYY-MM-DD."
@@ -0,0 +1,7 @@
1
+ export declare const CONSTANTS: {
2
+ DEFAULT_PAGE_NUMBER: number;
3
+ PAGE_IN_SINGLE_VIEW: number;
4
+ NO_DATA_IMAGE_TEXT: string;
5
+ LINK_POLICY: string;
6
+ LINK_POLICY_HELP_TEXT: string;
7
+ };
@@ -0,0 +1,45 @@
1
+ import { HttpParams } from '@angular/common/http';
2
+ import { EventEmitter, OnInit } from '@angular/core';
3
+ import { PolicyService } from '../workflow-services/policy.service';
4
+ import { Subject } from 'rxjs';
5
+ import { policyList, searchText } from '../sharedComponents/framework-list/framework-integration-interfaces';
6
+ import * as i0 from "@angular/core";
7
+ export declare class LinkRelatedPoliciesComponent implements OnInit {
8
+ private policyService;
9
+ CONSTANTS: any;
10
+ LINKS: any;
11
+ animation: boolean;
12
+ unsubscribe: Subject<unknown>;
13
+ policySortBy: 'desc' | 'asc';
14
+ selectedControlIds: Array<any>;
15
+ selectedPolicyList: Array<any>;
16
+ deletedList: Array<any>;
17
+ searchText: searchText;
18
+ loader: boolean;
19
+ recentPage: number;
20
+ policiesList: policyList;
21
+ closeLinkPolicyList: EventEmitter<any>;
22
+ selectedList: EventEmitter<any>;
23
+ selectedPolicies: Array<any>;
24
+ constructor(policyService: PolicyService);
25
+ ngOnInit(): void;
26
+ goBack(): void;
27
+ selectedItems(): void;
28
+ searchBy(event: any): void;
29
+ changePage(event: any): void;
30
+ selectedParam(data?: any): HttpParams;
31
+ getPagePolicyList(res: any): {
32
+ from: any;
33
+ to: any;
34
+ currentPage: number;
35
+ totalPage: any;
36
+ totalRecords: any;
37
+ data: unknown[];
38
+ };
39
+ getPolicies(data?: any): void;
40
+ selectPolicy(event: any, data: any): void;
41
+ saveChanges(): void;
42
+ deleteItem(event: any): void;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<LinkRelatedPoliciesComponent, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<LinkRelatedPoliciesComponent, "app-link-related-policies", never, { "selectedPolicies": { "alias": "selectedPolicies"; "required": false; }; }, { "closeLinkPolicyList": "closeLinkPolicyList"; "selectedList": "selectedList"; }, never, never, false, never>;
45
+ }
@@ -7,3 +7,14 @@ export interface SelectedIds {
7
7
  categories: number[];
8
8
  responsibilities: number[];
9
9
  }
10
+ export interface policyList {
11
+ from: number;
12
+ to: number;
13
+ currentPage: number;
14
+ totalPage: number;
15
+ totalRecords: number;
16
+ data: Array<any>;
17
+ }
18
+ export interface searchText {
19
+ policy: string;
20
+ }
@@ -42,6 +42,8 @@ export declare class GrcObjectContainerComponent implements OnInit, OnDestroy {
42
42
  noData: string;
43
43
  linkOthers: string;
44
44
  linkGRC: string;
45
+ linkPolicyNoDataImage: string;
46
+ linkedPolicyImage: string;
45
47
  };
46
48
  VALIDATION_MESSAGE: {
47
49
  grcObjectName: string;
@@ -30,6 +30,8 @@ export declare class AttributesTextBoxComponent {
30
30
  noData: string;
31
31
  linkOthers: string;
32
32
  linkGRC: string;
33
+ linkPolicyNoDataImage: string;
34
+ linkedPolicyImage: string;
33
35
  };
34
36
  VALIDATION_MESSAGE: {
35
37
  grcObjectName: string;
@@ -15,6 +15,8 @@ export declare class AttributesComponent implements OnInit {
15
15
  noData: string;
16
16
  linkOthers: string;
17
17
  linkGRC: string;
18
+ linkPolicyNoDataImage: string;
19
+ linkedPolicyImage: string;
18
20
  };
19
21
  openedPopup: string;
20
22
  selectedAttribute: any;
@@ -11,6 +11,8 @@ export declare class GrcObjectListComponent implements OnInit {
11
11
  noData: string;
12
12
  linkOthers: string;
13
13
  linkGRC: string;
14
+ linkPolicyNoDataImage: string;
15
+ linkedPolicyImage: string;
14
16
  };
15
17
  tableCard: {
16
18
  title: string;
@@ -21,6 +21,8 @@ export declare class ProgramResponsibilityListingComponent implements OnInit {
21
21
  noData: string;
22
22
  linkOthers: string;
23
23
  linkGRC: string;
24
+ linkPolicyNoDataImage: string;
25
+ linkedPolicyImage: string;
24
26
  };
25
27
  selectedTab: 0 | 1 | 2 | 3;
26
28
  animation: boolean;
@@ -22,6 +22,8 @@ export declare class RiskCategoryRiskListingComponent implements OnInit {
22
22
  noData: string;
23
23
  linkOthers: string;
24
24
  linkGRC: string;
25
+ linkPolicyNoDataImage: string;
26
+ linkedPolicyImage: string;
25
27
  };
26
28
  categorySubscription: Subscription;
27
29
  riskSubscription: Subscription;
@@ -7,4 +7,6 @@ export declare const LINKS: {
7
7
  noData: string;
8
8
  linkOthers: string;
9
9
  linkGRC: string;
10
+ linkPolicyNoDataImage: string;
11
+ linkedPolicyImage: string;
10
12
  };
@@ -0,0 +1,4 @@
1
+ export declare const API_URLS: {
2
+ fetchPolicyList: string;
3
+ LINKED_POLICIES: string;
4
+ };
@@ -100,41 +100,42 @@ import * as i96 from "./sharedComponents/approval-workflow/approval-create-form/
100
100
  import * as i97 from "./sharedComponents/link-program/link-program/link-program.component";
101
101
  import * as i98 from "./sharedComponents/link-program/tooltip-validation.pipe";
102
102
  import * as i99 from "./sharedComponents/link-responsibility/link-responsibility.component";
103
- import * as i100 from "@angular/forms";
104
- import * as i101 from "./sharedComponents/assessment-editor/create-assessment.module";
105
- import * as i102 from "@vcomply/editor";
106
- import * as i103 from "@angular/common";
107
- import * as i104 from "./formgroup/formgroup.module";
108
- import * as i105 from "./ui-kit/tooltip/tooltip.module";
109
- import * as i106 from "./ui-kit/popover/popover.module";
110
- import * as i107 from "./ui-kit/line-loader/line-loader.module";
111
- import * as i108 from "./formgroup/select/select.module";
112
- import * as i109 from "ngx-material-timepicker";
113
- import * as i110 from "ng2-date-picker";
114
- import * as i111 from "./sharedComponents/no-data/no-data.module";
115
- import * as i112 from "./sharedComponents/v-loader/v-loader.module";
116
- import * as i113 from "./ui-kit/smiley-dialog/smiley-dialog.module";
117
- import * as i114 from "./ui-kit/snack-bar/snack-bar.module";
118
- import * as i115 from "@angular/common/http";
119
- import * as i116 from "./ui-kit/smiley-dialog-inline/smiley-dialog-inline.module";
120
- import * as i117 from "./ui-kit/click-outside/click-outside.module";
121
- import * as i118 from "./ui-kit/popover-hover/popover-hover.module";
122
- import * as i119 from "./ui-kit/pagination/pagination.module";
123
- import * as i120 from "./ui-kit/action-dialog/action-dialog.module";
124
- import * as i121 from "./sharedComponents/assessment-preview/assessment-preview.module";
125
- import * as i122 from "./workflow-program/create-program-ui/create-program-ui.module";
126
- import * as i123 from "./ui-kit/directive/directive.module";
127
- import * as i124 from "./workflow/grc-object/grc-object.module";
128
- import * as i125 from "./sharedComponents/responsibility-centers-list/rc-list.module";
129
- import * as i126 from "./pipes/pipes.module";
130
- import * as i127 from "./sharedComponents/floating-bar/floating-bar.module";
131
- import * as i128 from "./sharedComponents/group-users-list/group-users-list.component";
132
- import * as i129 from "./sharedComponents/list-loader/list-loader.module";
133
- import * as i130 from "./workflow/shared/components/grc-object-list/grc-object-list.component";
134
- import * as i131 from "./ui-kit/time-picker/time-picker.module";
103
+ import * as i100 from "./link-related-policies/link-related-policies.component";
104
+ import * as i101 from "@angular/forms";
105
+ import * as i102 from "./sharedComponents/assessment-editor/create-assessment.module";
106
+ import * as i103 from "@vcomply/editor";
107
+ import * as i104 from "@angular/common";
108
+ import * as i105 from "./formgroup/formgroup.module";
109
+ import * as i106 from "./ui-kit/tooltip/tooltip.module";
110
+ import * as i107 from "./ui-kit/popover/popover.module";
111
+ import * as i108 from "./ui-kit/line-loader/line-loader.module";
112
+ import * as i109 from "./formgroup/select/select.module";
113
+ import * as i110 from "ngx-material-timepicker";
114
+ import * as i111 from "ng2-date-picker";
115
+ import * as i112 from "./sharedComponents/no-data/no-data.module";
116
+ import * as i113 from "./sharedComponents/v-loader/v-loader.module";
117
+ import * as i114 from "./ui-kit/smiley-dialog/smiley-dialog.module";
118
+ import * as i115 from "./ui-kit/snack-bar/snack-bar.module";
119
+ import * as i116 from "@angular/common/http";
120
+ import * as i117 from "./ui-kit/smiley-dialog-inline/smiley-dialog-inline.module";
121
+ import * as i118 from "./ui-kit/click-outside/click-outside.module";
122
+ import * as i119 from "./ui-kit/popover-hover/popover-hover.module";
123
+ import * as i120 from "./ui-kit/pagination/pagination.module";
124
+ import * as i121 from "./ui-kit/action-dialog/action-dialog.module";
125
+ import * as i122 from "./sharedComponents/assessment-preview/assessment-preview.module";
126
+ import * as i123 from "./workflow-program/create-program-ui/create-program-ui.module";
127
+ import * as i124 from "./ui-kit/directive/directive.module";
128
+ import * as i125 from "./workflow/grc-object/grc-object.module";
129
+ import * as i126 from "./sharedComponents/responsibility-centers-list/rc-list.module";
130
+ import * as i127 from "./pipes/pipes.module";
131
+ import * as i128 from "./sharedComponents/floating-bar/floating-bar.module";
132
+ import * as i129 from "./sharedComponents/group-users-list/group-users-list.component";
133
+ import * as i130 from "./sharedComponents/list-loader/list-loader.module";
134
+ import * as i131 from "./workflow/shared/components/grc-object-list/grc-object-list.component";
135
+ import * as i132 from "./ui-kit/time-picker/time-picker.module";
135
136
  export declare class VComplyWorkflowEngineModule {
136
137
  static forRoot(environmentConfig: Configurations): ModuleWithProviders<VComplyWorkflowEngineModule>;
137
138
  static ɵfac: i0.ɵɵFactoryDeclaration<VComplyWorkflowEngineModule, never>;
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.CheckboxListComponent, typeof i43.RadioListComponent, typeof i44.CreateDocumentsComponent, typeof i45.FrameworkListComponent, typeof i46.ParentTableComponent, typeof i47.CheckpointFloatingBarComponent, typeof i48.FormatAndEvidenceComponent, typeof i49.RiskClassificationComponent, typeof i50.DragDropDirective, typeof i51.AutofocusDirective, typeof i52.ScrollInViewDirective, typeof i53.spaceTrimDirective, typeof i54.ShortMergePipe, typeof i55.FormatHtmlPipe, typeof i56.WithinDataPipe, typeof i57.rcTreeToolTipPipe, typeof i58.ResponsibilityRiskSelectorComponent, typeof i59.ConditionalFocusDirective, typeof i60.ArrayFilterPipe, typeof i59.ConditionalFocusDirective, typeof i61.AuditCategoryListComponent, typeof i62.DocumentSectionComponent, typeof i62.DocumentSectionComponent, typeof i63.WorkflowAssessmentComponent, typeof i64.ImportAnAssessmentComponent, typeof i65.AssessmentListComponent, typeof i66.RadioListWithPaginationComponent, typeof i67.LinkTreatmentLoaderComponent, typeof i68.AssessmentListLoaderComponent, typeof i69.AssessmentListSubLoaderComponent, typeof i70.ProgramListingComponent, typeof i71.WorkflowProgramComponent, typeof i72.RolesListComponent, typeof i73.FrameworkListTableComponent, typeof i74.FrameworkResponsibilityTableComponent, typeof i75.FrameworkTableLoaderComponent, typeof i76.ArrayConcatPipe, typeof i77.SpaceTrimPipe, typeof i78.FrequencyDialogContainerComponent, typeof i79.FrequencyDialogWeeklyComponent, typeof i80.FrequencyDialogTopComponent, typeof i81.FrequencyDialogDueDateComponent, typeof i82.FrequencyDialogCheckboxListComponent, typeof i83.FrequencyDialogMonthlyComponent, typeof i84.FrequencyDialogQuarterlyComponent, typeof i85.FrequencyDialogRadioListComponent, typeof i86.FrequencyDialogBiannualComponent, typeof i87.FrequencyDialogAnnualComponent, typeof i88.FrequencyDialogOneTimeComponent, typeof i89.AddMultipleResponsibilityContainerComponent, typeof i90.AddMultipleResponsibilityWithTabComponent, typeof i91.FrequencyResponsibilityListComponent, typeof i92.ApprovalWorkflowComponent, typeof i93.SelectApproversComponent, typeof i94.PolicyAccessComponent, typeof i95.ApprovalWorkflowListComponent, typeof i96.ApprovalCreateFormComponent, typeof i97.LinkProgramComponent, typeof i98.TooltipValidationPipe, typeof i99.LinkResponsibilityListComponent], [typeof i100.ReactiveFormsModule, typeof i101.CreateAssessmentModule, typeof i102.VcomplyEditorModule, typeof i103.CommonModule, typeof i104.FormgroupModule, typeof i105.TooltipModule, typeof i106.PopoverModule, typeof i107.LineLoaderModule, typeof i100.FormsModule, typeof i108.SelectModule, typeof i109.NgxMaterialTimepickerModule, typeof i110.DpDatePickerModule, typeof i111.NoDataModule, typeof i112.VLoaderModule, typeof i113.SmileyDialogModule, typeof i114.SnackBarModule, typeof i115.HttpClientModule, typeof i116.SmileyDialogInlineModule, typeof i117.ClickOutsideModule, typeof i118.PopoverHoverModule, typeof i119.PaginationModule, typeof i101.CreateAssessmentModule, typeof i120.ActionDialogModule, typeof i121.AssessmentPreviewModule, typeof i122.CreateProgramUiModule, typeof i123.DirectiveModule, typeof i124.GrcObjectModule, typeof i125.RcListModule, typeof i126.PipesModule, typeof i127.FloatingBarModule, typeof i128.GroupUsersListComponent, typeof i129.ListLoaderModule, typeof i130.GrcObjectListComponent, typeof i131.TimePickerModule], [typeof i1.WorkflowEngineContainerComponent]>;
139
+ 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.CheckboxListComponent, typeof i43.RadioListComponent, typeof i44.CreateDocumentsComponent, typeof i45.FrameworkListComponent, typeof i46.ParentTableComponent, typeof i47.CheckpointFloatingBarComponent, typeof i48.FormatAndEvidenceComponent, typeof i49.RiskClassificationComponent, typeof i50.DragDropDirective, typeof i51.AutofocusDirective, typeof i52.ScrollInViewDirective, typeof i53.spaceTrimDirective, typeof i54.ShortMergePipe, typeof i55.FormatHtmlPipe, typeof i56.WithinDataPipe, typeof i57.rcTreeToolTipPipe, typeof i58.ResponsibilityRiskSelectorComponent, typeof i59.ConditionalFocusDirective, typeof i60.ArrayFilterPipe, typeof i59.ConditionalFocusDirective, typeof i61.AuditCategoryListComponent, typeof i62.DocumentSectionComponent, typeof i62.DocumentSectionComponent, typeof i63.WorkflowAssessmentComponent, typeof i64.ImportAnAssessmentComponent, typeof i65.AssessmentListComponent, typeof i66.RadioListWithPaginationComponent, typeof i67.LinkTreatmentLoaderComponent, typeof i68.AssessmentListLoaderComponent, typeof i69.AssessmentListSubLoaderComponent, typeof i70.ProgramListingComponent, typeof i71.WorkflowProgramComponent, typeof i72.RolesListComponent, typeof i73.FrameworkListTableComponent, typeof i74.FrameworkResponsibilityTableComponent, typeof i75.FrameworkTableLoaderComponent, typeof i76.ArrayConcatPipe, typeof i77.SpaceTrimPipe, typeof i78.FrequencyDialogContainerComponent, typeof i79.FrequencyDialogWeeklyComponent, typeof i80.FrequencyDialogTopComponent, typeof i81.FrequencyDialogDueDateComponent, typeof i82.FrequencyDialogCheckboxListComponent, typeof i83.FrequencyDialogMonthlyComponent, typeof i84.FrequencyDialogQuarterlyComponent, typeof i85.FrequencyDialogRadioListComponent, typeof i86.FrequencyDialogBiannualComponent, typeof i87.FrequencyDialogAnnualComponent, typeof i88.FrequencyDialogOneTimeComponent, typeof i89.AddMultipleResponsibilityContainerComponent, typeof i90.AddMultipleResponsibilityWithTabComponent, typeof i91.FrequencyResponsibilityListComponent, typeof i92.ApprovalWorkflowComponent, typeof i93.SelectApproversComponent, typeof i94.PolicyAccessComponent, typeof i95.ApprovalWorkflowListComponent, typeof i96.ApprovalCreateFormComponent, typeof i97.LinkProgramComponent, typeof i98.TooltipValidationPipe, typeof i99.LinkResponsibilityListComponent, typeof i100.LinkRelatedPoliciesComponent], [typeof i101.ReactiveFormsModule, typeof i102.CreateAssessmentModule, typeof i103.VcomplyEditorModule, typeof i104.CommonModule, typeof i105.FormgroupModule, typeof i106.TooltipModule, typeof i107.PopoverModule, typeof i108.LineLoaderModule, typeof i101.FormsModule, typeof i109.SelectModule, typeof i110.NgxMaterialTimepickerModule, typeof i111.DpDatePickerModule, typeof i112.NoDataModule, typeof i113.VLoaderModule, typeof i114.SmileyDialogModule, typeof i115.SnackBarModule, typeof i116.HttpClientModule, typeof i117.SmileyDialogInlineModule, typeof i118.ClickOutsideModule, typeof i119.PopoverHoverModule, typeof i120.PaginationModule, typeof i102.CreateAssessmentModule, typeof i121.ActionDialogModule, typeof i122.AssessmentPreviewModule, typeof i123.CreateProgramUiModule, typeof i124.DirectiveModule, typeof i125.GrcObjectModule, typeof i126.RcListModule, typeof i127.PipesModule, typeof i128.FloatingBarModule, typeof i129.GroupUsersListComponent, typeof i130.ListLoaderModule, typeof i131.GrcObjectListComponent, typeof i132.TimePickerModule], [typeof i1.WorkflowEngineContainerComponent]>;
139
140
  static ɵinj: i0.ɵɵInjectorDeclaration<VComplyWorkflowEngineModule>;
140
141
  }
@@ -32,6 +32,7 @@ export interface PolicyForm {
32
32
  addCheckpoints: boolean;
33
33
  addOverseers: boolean;
34
34
  addAssociatedDocuments: boolean;
35
+ isPortalDisplayEnabled: boolean;
35
36
  failed_time: string;
36
37
  frequency_details: string;
37
38
  frequency_text: string;
@@ -54,6 +55,7 @@ export interface PolicyForm {
54
55
  assessmentDetails: any;
55
56
  category_details: any;
56
57
  }>;
58
+ LinkedPolicies: Array<any>;
57
59
  policy_owners: Array<{
58
60
  member_email: string;
59
61
  member_id: number;
@@ -64,6 +66,7 @@ export interface PolicyForm {
64
66
  businessCycle: any;
65
67
  addVersion: boolean;
66
68
  addLinkAssessment: boolean;
69
+ addLinkPolicies: boolean;
67
70
  addLinkProgram: boolean;
68
71
  policy_id: number;
69
72
  policy_access_type: number;
@@ -32,6 +32,8 @@ export declare class WorkflowPolicyComponent implements OnInit {
32
32
  private organizationUserService;
33
33
  private organizationCommonService;
34
34
  private complianceCommonService;
35
+ CONSTANTS: any;
36
+ LINKS: any;
35
37
  pickerChanged: EventEmitter<any>;
36
38
  mode: string;
37
39
  policyId: string;
@@ -72,6 +74,7 @@ export declare class WorkflowPolicyComponent implements OnInit {
72
74
  usersAccessListIds: any[];
73
75
  groupsAccessListIds: any[];
74
76
  groupsAccessList: any[];
77
+ SelectedListOfPolicies: any[];
75
78
  loader: boolean;
76
79
  categoriesListLoaded: boolean;
77
80
  groupsListLoaded: boolean;
@@ -168,6 +171,7 @@ export declare class WorkflowPolicyComponent implements OnInit {
168
171
  _initiateAPI(): void;
169
172
  _initiateEditAPI(): void;
170
173
  getOrgDetails(): void;
174
+ getLinkedPolicies(policyId: string): void;
171
175
  /**
172
176
  * Displays the listing pages the left side of policy form to set and edit the dropdown fields values
173
177
  * @param type holds name of particular list is to be displayed
@@ -242,6 +246,7 @@ export declare class WorkflowPolicyComponent implements OnInit {
242
246
  * @param selectedItems contains the list of selected items from the list
243
247
  */
244
248
  saveSelectedList(type: string, selectedItems: any): void;
249
+ listOfSelectedPolicies(selectedPolicies: any): any;
245
250
  getGroupObjectId(overseerGroup?: any): any;
246
251
  /**
247
252
  * Removes the particular element from selected list
@@ -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): "strategic" | "operational" | "compliance" | "others";
114
+ setCategoryType(type: any): "strategic" | "compliance" | "operational" | "others";
115
115
  getRCList(): void;
116
116
  getCategoryList(): void;
117
117
  getOwnersList(): void;
@@ -8,9 +8,12 @@ export declare class PolicyService {
8
8
  private authService;
9
9
  env: any;
10
10
  PolicyCategoryList: BehaviorSubject<any>;
11
+ linkedPolicies$: BehaviorSubject<any>;
12
+ linkRelatePolicies: any;
11
13
  constructor(http: HttpClient, authService: AuthService, config?: Configurations);
12
14
  getCategoriesList(): import("rxjs").Observable<any>;
13
15
  getWorkflowList(payload: any): import("rxjs").Observable<Object>;
16
+ getPolicyList(req: any): import("rxjs").Observable<Object>;
14
17
  submitPolicy(payload: any): import("rxjs").Observable<Object>;
15
18
  getReviewers(payload: any): import("rxjs").Observable<Object>;
16
19
  getRCList(): import("rxjs").Observable<any[]>;
@@ -26,6 +29,7 @@ export declare class PolicyService {
26
29
  extractFile(extension: any, path: any, id: any): import("rxjs").Observable<Object>;
27
30
  createApprovalWorkflow(payload: any): import("rxjs").Observable<any>;
28
31
  editApprovalWorkflow(payload: any, id: string): import("rxjs").Observable<any>;
32
+ LinkedPoliciesList(policyId: string): import("rxjs").Observable<Object>;
29
33
  static ɵfac: i0.ɵɵFactoryDeclaration<PolicyService, [null, null, { optional: true; }]>;
30
34
  static ɵprov: i0.ɵɵInjectableDeclaration<PolicyService>;
31
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vcomply-workflow-engine",
3
- "version": "3.8.8",
3
+ "version": "3.9.0",
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 "