vcomply-workflow-engine 6.1.3 → 6.1.4
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.
- package/esm2022/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.mjs +34 -7
- package/esm2022/lib/constants/api.constants.mjs +1 -6
- package/esm2022/lib/constants/assets.constants.mjs +2 -1
- package/esm2022/lib/constants/policy.constant.mjs +6 -0
- package/esm2022/lib/constants/regix.constants.mjs +4 -0
- package/esm2022/lib/constants/responsibility.mjs +8 -0
- package/esm2022/lib/interfaces/policy.interface.mjs +2 -0
- package/esm2022/lib/interfaces/responsibilty.interface.mjs +1 -1
- package/esm2022/lib/more-option/more-option.component.mjs +191 -26
- package/esm2022/lib/report-a-case/services/report-a-case.service.mjs +2 -3
- package/esm2022/lib/report-a-case/workflow-case/workflow-case.component.mjs +7 -4
- package/esm2022/lib/services/common.service.mjs +1 -40
- package/esm2022/lib/services/iframe.service.mjs +1 -14
- package/esm2022/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.mjs +6 -3
- package/esm2022/lib/sharedComponents/category-list-selection/category-list-selection/category-list-selection.component.mjs +7 -7
- package/esm2022/lib/sharedComponents/category-list-selection/category-list-selection.module.mjs +4 -27
- package/esm2022/lib/sharedComponents/format-and-evidence/format-and-evidence.component.mjs +21 -10
- package/esm2022/lib/sharedComponents/frequency/frequency-annual/frequency-annual.component.mjs +1 -5
- package/esm2022/lib/sharedComponents/frequency/frequency-biannual/frequency-biannual.component.mjs +1 -5
- package/esm2022/lib/sharedComponents/frequency/frequency-container/frequency-container.component.mjs +5 -5
- package/esm2022/lib/sharedComponents/frequency/frequency-daily/frequency-daily.component.mjs +1 -2
- package/esm2022/lib/sharedComponents/frequency/frequency-monthly/frequency-monthly.component.mjs +2 -6
- package/esm2022/lib/sharedComponents/frequency/frequency-one-time/frequency-one-time.component.mjs +2 -3
- package/esm2022/lib/sharedComponents/frequency/frequency-ongoing/frequency-ongoing.component.mjs +1 -3
- package/esm2022/lib/sharedComponents/frequency/frequency-quarterly/frequency-quarterly.component.mjs +1 -5
- package/esm2022/lib/sharedComponents/frequency/frequency-random/frequency-random.component.mjs +2 -9
- package/esm2022/lib/sharedComponents/frequency/frequency-weekly/frequency-weekly.component.mjs +2 -4
- package/esm2022/lib/sharedComponents/frequency/frequency.service.mjs +5 -267
- package/esm2022/lib/sharedComponents/group-users-list/group-users-list.component.mjs +2 -5
- package/esm2022/lib/sharedComponents/link-responsibility/link-responsibility.component.mjs +16 -47
- package/esm2022/lib/sharedComponents/pipes/risk-class.pipe.mjs +19 -0
- package/esm2022/lib/workflow/grc-object/grc-object-container/grc-object-container.component.mjs +17 -45
- package/esm2022/lib/workflow/shared/components/grc-category-listing/grc-category-listing.component.mjs +10 -13
- package/esm2022/lib/workflow/shared/components/program-responsibility-listing/program-responsibility-listing.component.mjs +35 -62
- package/esm2022/lib/workflow/shared/services/grc.service.mjs +2 -15
- package/esm2022/lib/workflow/shared/workflow-pipes/workflow-pipes.module.mjs +3 -8
- package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +453 -294
- package/esm2022/lib/workflow-engine-container/api-constants.mjs +2 -3
- package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +53 -32
- package/esm2022/lib/workflow-engine.module.mjs +16 -11
- package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +29 -46
- package/esm2022/lib/workflow-program/constants.mjs +11 -3
- package/esm2022/lib/workflow-program/create-program-ui/define-framework-listing/pipes/tooltip-message.pipe.mjs +7 -1
- package/esm2022/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.mjs +11 -13
- package/esm2022/lib/workflow-program/workflow-program.component.mjs +311 -340
- package/esm2022/lib/workflow-services/policy.service.mjs +9 -8
- package/esm2022/lib/workflow-services/programs.service.mjs +114 -26
- package/esm2022/lib/workflow-services/responsibility.service.mjs +56 -60
- package/fesm2022/vcomply-workflow-engine.mjs +18654 -19161
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/add-multiple-responsibility-container/add-multiple-responsibility-container.component.d.ts +1 -0
- package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +3 -0
- package/lib/add-multiple-risk/add-multiple-risk.component.d.ts +1 -0
- package/lib/constants/api.constants.d.ts +0 -5
- package/lib/constants/assets.constants.d.ts +1 -0
- package/lib/constants/policy.constant.d.ts +2 -0
- package/lib/constants/regix.constants.d.ts +3 -0
- package/lib/constants/responsibility.d.ts +7 -0
- package/lib/interfaces/policy.interface.d.ts +5 -0
- package/lib/interfaces/responsibilty.interface.d.ts +13 -13
- package/lib/log-an-issue/log-an-issue.component.d.ts +1 -0
- package/lib/more-option/more-option.component.d.ts +1 -0
- package/lib/report-a-case/components/assignee/assignee.component.d.ts +1 -0
- package/lib/report-a-case/components/case-assignees/case-assignees.component.d.ts +1 -0
- package/lib/report-a-case/components/case-category/case-category.component.d.ts +1 -0
- package/lib/report-a-case/components/case-details/case-details.component.d.ts +1 -0
- package/lib/report-a-case/components/case-owners/case-owners.component.d.ts +1 -0
- package/lib/report-a-case/components/case-priority/case-priority.component.d.ts +1 -0
- package/lib/report-a-case/components/case-resolution-deadline/case-resolution-deadline.component.d.ts +1 -0
- package/lib/report-a-case/components/case-type-dropdown/case-dropdown.component.d.ts +1 -0
- package/lib/report-a-case/components/due-date/due-date.component.d.ts +1 -0
- package/lib/report-a-case/components/field-holder/field-holder.component.d.ts +1 -0
- package/lib/report-a-case/components/linked assessment/linked-assessment.component.d.ts +1 -0
- package/lib/report-a-case/components/linked-responsibilities/linked-responsibilities.component.d.ts +1 -0
- package/lib/report-a-case/components/rc-details/rc-details.component.d.ts +1 -0
- package/lib/report-a-case/components/report-date/report-date.component.d.ts +1 -0
- package/lib/report-a-case/workflow-case/workflow-case.component.d.ts +1 -0
- package/lib/services/common.service.d.ts +0 -28
- package/lib/services/iframe.service.d.ts +0 -6
- package/lib/sharedComponents/approval-workflow/approval-create-form/approval-create-form.component.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/image-choice/image-choice.component.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/thank-you/thank-you.component.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/build/welcome/welcome.component.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/logic/logic.component.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/logic-questions/logic-image-choice/logic-image-choice.component.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/thank-you/thank-you.component.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/preview/welcome/welcome.component.d.ts +1 -0
- package/lib/sharedComponents/assessment-editor/components/welcome-thankyou/welcome-thankyou.component.d.ts +1 -0
- package/lib/sharedComponents/assessment-list/assessment-list.component.d.ts +1 -0
- package/lib/sharedComponents/audit-category-list/audit-category-list.component.d.ts +1 -0
- package/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.d.ts +6 -0
- package/lib/sharedComponents/category-list/category-list.component.d.ts +1 -0
- package/lib/sharedComponents/category-list-selection/category-list-selection/category-list-selection.component.d.ts +1 -0
- package/lib/sharedComponents/category-list-selection/category-list-selection.module.d.ts +5 -5
- package/lib/sharedComponents/category-multiselect/category-multi-select.component.d.ts +1 -0
- package/lib/sharedComponents/checkbox-list/checkbox-list.component.d.ts +1 -0
- package/lib/sharedComponents/format-and-evidence/format-and-evidence.component.d.ts +5 -1
- package/lib/sharedComponents/framework-list/framework-list.component.d.ts +1 -0
- package/lib/sharedComponents/frequency/frequency-random/frequency-random.component.d.ts +0 -1
- package/lib/sharedComponents/frequency/frequency-responsibility-list/frequency-responsibility-list.component.d.ts +1 -0
- package/lib/sharedComponents/frequency/frequency.service.d.ts +2 -92
- package/lib/sharedComponents/group-users-list/group-users-list.component.d.ts +1 -0
- package/lib/sharedComponents/link-program/link-program/link-program.component.d.ts +1 -0
- package/lib/sharedComponents/link-responsibility/link-responsibility.component.d.ts +1 -2
- package/lib/sharedComponents/owner-list/owner-list.component.d.ts +1 -0
- package/lib/sharedComponents/pipes/risk-class.pipe.d.ts +7 -0
- package/lib/sharedComponents/policy-access/policy-access.component.d.ts +1 -0
- package/lib/sharedComponents/program-listing/program-listing.component.d.ts +1 -0
- package/lib/sharedComponents/radio-list/radio-list.component.d.ts +1 -0
- package/lib/sharedComponents/radio-list-with-pagination/radio-list.component.d.ts +1 -0
- package/lib/sharedComponents/responsibility-centers-list/responsibility-centers-list.component.d.ts +1 -0
- package/lib/sharedComponents/responsibility-risk-selector/responsibility-risk-selector.component.d.ts +1 -0
- package/lib/sharedComponents/review-frequency/review-frequency.component.d.ts +1 -0
- package/lib/sharedComponents/roles-list/roles-list.component.d.ts +1 -0
- package/lib/sharedComponents/select-approvers/select-approvers.component.d.ts +1 -0
- package/lib/sharedComponents/users-radio-list/users-radio-list.component.d.ts +1 -0
- package/lib/ui-kit/pagination/pagination/pagination.component.d.ts +1 -0
- package/lib/workflow/grc-object/grc-object-container/grc-object-container.component.d.ts +1 -5
- package/lib/workflow/shared/components/attributes/attributes-checkbox/attributes-checkbox.component.d.ts +1 -0
- package/lib/workflow/shared/components/grc-category-listing/grc-category-listing.component.d.ts +1 -3
- package/lib/workflow/shared/components/program-responsibility-listing/program-responsibility-listing.component.d.ts +2 -6
- package/lib/workflow/shared/services/grc.service.d.ts +0 -1
- package/lib/workflow/shared/workflow-pipes/workflow-pipes.module.d.ts +2 -3
- package/lib/workflow-assessment/import-an-assessment/import-an-assessment.component.d.ts +1 -0
- package/lib/workflow-assessment/workflow-assessment.component.d.ts +1 -0
- package/lib/workflow-compliance/workflow-compliance.component.d.ts +11 -32
- package/lib/workflow-engine-container/api-constants.d.ts +0 -1
- package/lib/workflow-engine-container/workflow-engine-container.component.d.ts +2 -5
- package/lib/workflow-engine.module.d.ts +2 -3
- package/lib/workflow-policy/workflow-policy.component.d.ts +1 -9
- package/lib/workflow-program/constants.d.ts +3 -0
- package/lib/workflow-program/create-program-ui/assessment-picker/assessment-picker.component.d.ts +1 -0
- package/lib/workflow-program/create-program-ui/define-framework-listing/define-framework-listing.component.d.ts +1 -0
- package/lib/workflow-program/create-program-ui/pagination/pagination/pagination.component.d.ts +1 -0
- package/lib/workflow-program/create-program-ui/role-list/role-list.component.d.ts +1 -0
- package/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.d.ts +1 -0
- package/lib/workflow-program/workflow-program.component.d.ts +11 -9
- package/lib/workflow-risk/workflow-risk.component.d.ts +2 -1
- package/lib/workflow-services/policy.service.d.ts +1 -1
- package/lib/workflow-services/programs.service.d.ts +54 -13
- package/lib/workflow-services/responsibility.service.d.ts +4 -17
- package/lib/workflow-survey-form/workflow-survey-form.component.d.ts +1 -0
- package/package.json +1 -1
- package/esm2022/lib/interfaces/frequency.interface.mjs +0 -2
- package/esm2022/lib/interfaces/iframe-type.mjs +0 -7
- package/esm2022/lib/sharedComponents/list-container/list-container.component.mjs +0 -52
- package/esm2022/lib/sharedComponents/program-list/constant.mjs +0 -27
- package/esm2022/lib/sharedComponents/program-list/interfaces/data-source.interface.mjs +0 -2
- package/esm2022/lib/sharedComponents/program-list/interfaces/list-item.interface.mjs +0 -2
- package/esm2022/lib/sharedComponents/program-list/pipes/check-selected-items.pipes.mjs +0 -23
- package/esm2022/lib/sharedComponents/program-list/program-list/program-list.component.mjs +0 -273
- package/esm2022/lib/sharedComponents/program-list/program-list.module.mjs +0 -51
- package/esm2022/lib/sharedComponents/program-list/services/list-utils.service.mjs +0 -27
- package/esm2022/lib/sharedComponents/program-list/services/program-list-api.service.mjs +0 -32
- package/esm2022/lib/ui-kit/loaders/loaders.module.mjs +0 -24
- package/esm2022/lib/ui-kit/loaders/table-loader/table-loader.component.mjs +0 -19
- package/esm2022/lib/workflow/shared/workflow-pipes/get-user-details.pipe.mjs +0 -26
- package/lib/interfaces/frequency.interface.d.ts +0 -37
- package/lib/interfaces/iframe-type.d.ts +0 -5
- package/lib/sharedComponents/list-container/list-container.component.d.ts +0 -9
- package/lib/sharedComponents/program-list/constant.d.ts +0 -20
- package/lib/sharedComponents/program-list/interfaces/data-source.interface.d.ts +0 -4
- package/lib/sharedComponents/program-list/interfaces/list-item.interface.d.ts +0 -5
- package/lib/sharedComponents/program-list/pipes/check-selected-items.pipes.d.ts +0 -7
- package/lib/sharedComponents/program-list/program-list/program-list.component.d.ts +0 -126
- package/lib/sharedComponents/program-list/program-list.module.d.ts +0 -15
- package/lib/sharedComponents/program-list/services/list-utils.service.d.ts +0 -7
- package/lib/sharedComponents/program-list/services/program-list-api.service.d.ts +0 -14
- package/lib/ui-kit/loaders/loaders.module.d.ts +0 -8
- package/lib/ui-kit/loaders/table-loader/table-loader.component.d.ts +0 -9
- package/lib/workflow/shared/workflow-pipes/get-user-details.pipe.d.ts +0 -7
|
@@ -91,7 +91,7 @@ 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 "./sharedComponents/
|
|
94
|
+
import * as i91 from "./sharedComponents/pipes/risk-class.pipe";
|
|
95
95
|
import * as i92 from "@angular/forms";
|
|
96
96
|
import * as i93 from "./sharedComponents/assessment-editor/create-assessment.module";
|
|
97
97
|
import * as i94 from "@vcomply/editor";
|
|
@@ -131,10 +131,9 @@ import * as i127 from "./sharedComponents/format-and-evidence/format-and-evidenc
|
|
|
131
131
|
import * as i128 from "./sharedComponents/checkbox-list/checkbox-list.module";
|
|
132
132
|
import * as i129 from "./sharedComponents/radio-list-with-pagination/radio-list-with-pagination.module";
|
|
133
133
|
import * as i130 from "./sharedComponents/link-responsibility/link-responsibility.module";
|
|
134
|
-
import * as i131 from "./sharedComponents/program-list/program-list.module";
|
|
135
134
|
export declare class VComplyWorkflowEngineModule {
|
|
136
135
|
static forRoot(environmentConfig: Configurations): ModuleWithProviders<VComplyWorkflowEngineModule>;
|
|
137
136
|
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.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.
|
|
137
|
+
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.RiskClassPipe], [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 i1.WorkflowEngineContainerComponent]>;
|
|
139
138
|
static ɵinj: i0.ɵɵInjectorDeclaration<VComplyWorkflowEngineModule>;
|
|
140
139
|
}
|
|
@@ -17,7 +17,6 @@ import { OrganizationUserService } from '../workflow-services/organization-user.
|
|
|
17
17
|
import { OrganizationCommonService } from '../workflow-services/common-workflow-services/organization-common.service';
|
|
18
18
|
import { ComplianceCommonService } from '../workflow-services/common-workflow-services/compliance-common.service';
|
|
19
19
|
import { IframeService } from '../services/iframe.service';
|
|
20
|
-
import { ListItem } from '../sharedComponents/program-list/interfaces/list-item.interface';
|
|
21
20
|
import * as i0 from "@angular/core";
|
|
22
21
|
export declare class WorkflowPolicyComponent implements OnInit {
|
|
23
22
|
private policyService;
|
|
@@ -88,6 +87,7 @@ export declare class WorkflowPolicyComponent implements OnInit {
|
|
|
88
87
|
sequential: string;
|
|
89
88
|
round_robin: string;
|
|
90
89
|
anyone: string;
|
|
90
|
+
collaborator: string;
|
|
91
91
|
};
|
|
92
92
|
CONSTANTS: any;
|
|
93
93
|
LINKS: any;
|
|
@@ -226,10 +226,6 @@ export declare class WorkflowPolicyComponent implements OnInit {
|
|
|
226
226
|
templateView: boolean;
|
|
227
227
|
templateUrl: string;
|
|
228
228
|
isTemplateClosed: boolean;
|
|
229
|
-
programListUrl: any;
|
|
230
|
-
selectedPrograms: any;
|
|
231
|
-
allProgamSelected: ListItem[];
|
|
232
|
-
linkProgram: any;
|
|
233
229
|
constructor(policyService: PolicyService, snackBar: SnackBarService, uiKitService: UiKitService, authService: AuthService, responsibilityService: ResponsibilityService, router: Router, route: ActivatedRoute, frequencyService: FrequencyService, platformLocation: PlatformLocation, changeRef: ChangeDetectorRef, restApiService: RestApiService, commonService: CommonService, organizationUserService: OrganizationUserService, organizationCommonService: OrganizationCommonService, complianceCommonService: ComplianceCommonService, iframeService: IframeService);
|
|
234
230
|
policyForm: PolicyForm;
|
|
235
231
|
ngOnInit(): void;
|
|
@@ -416,10 +412,6 @@ export declare class WorkflowPolicyComponent implements OnInit {
|
|
|
416
412
|
onTemplateSelect(event: any, isPreselected?: boolean): void;
|
|
417
413
|
setNavigationUrl(): void;
|
|
418
414
|
navigateToTemplate(): void;
|
|
419
|
-
onItemsSelectedChange(items: ListItem[]): void;
|
|
420
|
-
selectCategory(): void;
|
|
421
|
-
removeProgram(program: any): void;
|
|
422
|
-
getLinkProgram(policyId: string): void;
|
|
423
415
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowPolicyComponent, never>;
|
|
424
416
|
static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowPolicyComponent, "app-workflow-policy", never, { "mode": { "alias": "mode"; "required": false; }; "policyId": { "alias": "policyId"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "convertFileData": { "alias": "convertFileData"; "required": false; }; "selectedCategory": { "alias": "selectedCategory"; "required": false; }; "isSendForAttestation": { "alias": "isSendForAttestation"; "required": false; }; "templateId": { "alias": "templateId"; "required": false; }; }, { "pickerChanged": "pickerChanged"; "showConfirmationAlert": "showConfirmationAlert"; "populateOption": "populateOption"; "disconnectRefresh": "disconnectRefresh"; "shiftToEditMode": "shiftToEditMode"; }, never, never, false, never>;
|
|
425
417
|
}
|
|
@@ -46,3 +46,6 @@ export declare const CONSTANTS: {
|
|
|
46
46
|
ASSIGNEES: boolean;
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
|
+
export declare const COLLABORATOR_TOOLTIP = "<strong>Collaborators</strong> can only access responsibilities in this program where they are directly involved, such as creator, reviewer, assignor, oversight user, or collaborator.<br>\n <br>\n This role is ideal for users who need to work on specific tasks but shouldn't see the entire program\u2019s contents.\n <br>\n <br>\n <em>Example:</em> In an AML (Anti-Money Laundering) program, the Finance lead added as a collaborator will only see responsibilities related to financial reporting or audits they are linked to, not those owned by Legal or Compliance.";
|
|
50
|
+
export declare const COLLABORATOR_PLACEHODLER = "Select users that can collaborate in this Program";
|
|
51
|
+
export declare const COLLABORATOR_TOOLTIP_TEXT = "This user has already been selected as a Program Owner.";
|
|
@@ -11,8 +11,8 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
11
11
|
private programService;
|
|
12
12
|
private authService;
|
|
13
13
|
private uiKitService;
|
|
14
|
-
private changeRef;
|
|
15
14
|
private iframeService;
|
|
15
|
+
private changeRef;
|
|
16
16
|
ASSETS: {
|
|
17
17
|
responsibility_center: string;
|
|
18
18
|
case_type: string;
|
|
@@ -66,6 +66,7 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
66
66
|
sequential: string;
|
|
67
67
|
round_robin: string;
|
|
68
68
|
anyone: string;
|
|
69
|
+
collaborator: string;
|
|
69
70
|
};
|
|
70
71
|
constants: {
|
|
71
72
|
categoryType: {
|
|
@@ -139,11 +140,11 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
139
140
|
allowedFeature: any;
|
|
140
141
|
addToProgramDetails: any;
|
|
141
142
|
orgDetails: any;
|
|
142
|
-
programDetails: any;
|
|
143
143
|
panelTitleDefaultReviewer: string;
|
|
144
144
|
panelTitleOwner: string;
|
|
145
145
|
panelTitleReviewer: string;
|
|
146
146
|
panelTitleAssignee: string;
|
|
147
|
+
panelTitleCollaborator: string;
|
|
147
148
|
panelTitleApprover: string;
|
|
148
149
|
isApproverDisabled: boolean;
|
|
149
150
|
isProgramScope: boolean;
|
|
@@ -151,14 +152,15 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
151
152
|
businessCycle: any;
|
|
152
153
|
featureflagrole: boolean;
|
|
153
154
|
featureflagGroups: boolean;
|
|
154
|
-
|
|
155
|
+
disableCollaboratorIds: any[];
|
|
155
156
|
selectedReviewerIds: any[];
|
|
156
157
|
selectedAssigneeIds: any[];
|
|
157
158
|
selectedOverseerIds: any[];
|
|
158
159
|
assignorId: number[];
|
|
159
160
|
disableReviewerIds: any[];
|
|
160
161
|
disableOverseerIds: any[];
|
|
161
|
-
|
|
162
|
+
COLLABORATOR_PLACEHODLER: string;
|
|
163
|
+
constructor(fb: UntypedFormBuilder, programService: ProgramsService, authService: AuthService, uiKitService: UiKitService, iframeService: IframeService, changeRef: ChangeDetectorRef);
|
|
162
164
|
noWhitespaceValidator(control: UntypedFormControl): {
|
|
163
165
|
whitespace: boolean;
|
|
164
166
|
} | null;
|
|
@@ -183,6 +185,7 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
183
185
|
programDescription: string;
|
|
184
186
|
};
|
|
185
187
|
selectedAssessment: any;
|
|
188
|
+
manageProgramsRoleId: string[];
|
|
186
189
|
currentUser(): {
|
|
187
190
|
member_email: any;
|
|
188
191
|
member_id: any;
|
|
@@ -219,6 +222,7 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
219
222
|
returnIds(list: any[], key: string): any[];
|
|
220
223
|
refreshList(): void;
|
|
221
224
|
removeRole(evt: any): void;
|
|
225
|
+
setDefaultAssignee(evt: any): void;
|
|
222
226
|
setDefaultAssigneeOnRemove(evt: any, type: any): void;
|
|
223
227
|
setDefaultReviewer(evt: any): void;
|
|
224
228
|
setDefaultOverseer(evt: any): void;
|
|
@@ -227,8 +231,10 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
227
231
|
fieldDeselector(type: any): void;
|
|
228
232
|
markasTouchedSelector(fieldName: any): void;
|
|
229
233
|
fetchRoles(): void;
|
|
234
|
+
getManageProgramsRoleId(): any;
|
|
230
235
|
fetchRC(): void;
|
|
231
236
|
fetchUsersAssociatedWithRoles(calledFrom?: any): void;
|
|
237
|
+
fetchUserWithManageProgramsRole(): void;
|
|
232
238
|
fetchGroupsAssociatedWithRoles(): void;
|
|
233
239
|
setDefaultOwners(userList: any, calledFrom?: any): void;
|
|
234
240
|
getPreSelectedOwners(previousSelectedUsers: any, currentUsers: any): any;
|
|
@@ -253,7 +259,6 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
253
259
|
uniqueByProp(array: any, key: string): unknown[];
|
|
254
260
|
setList(list: any[], ids: any[], key: string): any;
|
|
255
261
|
saveProgram(): void;
|
|
256
|
-
postIframeMessage(event: string, data: any): void;
|
|
257
262
|
action(event: string): void;
|
|
258
263
|
viewPrograms(): void;
|
|
259
264
|
resetForm(): void;
|
|
@@ -262,14 +267,11 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
262
267
|
* Get program details when user is trying to edit program
|
|
263
268
|
*/
|
|
264
269
|
getProgramDetails(): void;
|
|
265
|
-
populateProgramDetails(res: any): void;
|
|
266
270
|
populateMembers(res: any): void;
|
|
267
271
|
populateGroups(res: any): void;
|
|
268
|
-
populateGroupsByGID(programDetails: any, type: string): void;
|
|
269
272
|
resetAdditionalOption(): void;
|
|
270
273
|
checkProgramOptionField(): any;
|
|
271
274
|
enablefeature(): void;
|
|
272
|
-
handleDataPopulation(): void;
|
|
273
275
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowProgramComponent, never>;
|
|
274
|
-
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; };
|
|
276
|
+
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>;
|
|
275
277
|
}
|
|
@@ -74,6 +74,7 @@ export declare class WorkflowRiskComponent implements OnInit {
|
|
|
74
74
|
sequential: string;
|
|
75
75
|
round_robin: string;
|
|
76
76
|
anyone: string;
|
|
77
|
+
collaborator: string;
|
|
77
78
|
};
|
|
78
79
|
GRC_TYPE_ARRAY: string[];
|
|
79
80
|
responsibilityCentersList: any;
|
|
@@ -167,7 +168,7 @@ export declare class WorkflowRiskComponent implements OnInit {
|
|
|
167
168
|
setPopupButtons(): void;
|
|
168
169
|
getRiskDetails(riskId: any): void;
|
|
169
170
|
populateOptionalFields(): void;
|
|
170
|
-
setCategoryType(type: any): "strategic" | "compliance" | "
|
|
171
|
+
setCategoryType(type: any): "strategic" | "compliance" | "operational" | "others";
|
|
171
172
|
getRCList(): void;
|
|
172
173
|
getCategoryList(): void;
|
|
173
174
|
getOwnersList(): void;
|
|
@@ -24,13 +24,13 @@ export declare class PolicyService {
|
|
|
24
24
|
uploadFile(data: any, id: string, path: string): import("rxjs").Observable<Object>;
|
|
25
25
|
uploadDocxFile(data: any, id: string, path: string): import("rxjs").Observable<Object>;
|
|
26
26
|
savePolicyDetails(uname: any, uid: any, id: any, name: any, html: any, isSendForApprove: any): import("rxjs").Observable<Object>;
|
|
27
|
+
fileSizeLimit(file: File): boolean;
|
|
27
28
|
editPolicy(id: any): import("rxjs").Observable<any[]>;
|
|
28
29
|
updatePolicy(payload: any, policyId: any): import("rxjs").Observable<any>;
|
|
29
30
|
extractFile(extension: any, path: any, id: any): import("rxjs").Observable<Object>;
|
|
30
31
|
createApprovalWorkflow(payload: any): import("rxjs").Observable<any>;
|
|
31
32
|
editApprovalWorkflow(payload: any, id: string): import("rxjs").Observable<any>;
|
|
32
33
|
LinkedPoliciesList(policyId: string): import("rxjs").Observable<Object>;
|
|
33
|
-
getLinkedPrograms(policyId: string): import("rxjs").Observable<Object>;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<PolicyService, [null, null, { optional: true; }]>;
|
|
35
35
|
static ɵprov: i0.ɵɵInjectableDeclaration<PolicyService>;
|
|
36
36
|
}
|
|
@@ -29,20 +29,62 @@ export declare class ProgramsService {
|
|
|
29
29
|
};
|
|
30
30
|
saveProgram(payload: any): import("rxjs").Observable<any[]>;
|
|
31
31
|
buildPayload(formData: any, instance: any): {
|
|
32
|
+
mode: string;
|
|
32
33
|
name: any;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
admins: {
|
|
37
|
-
users: any;
|
|
38
|
-
userGroups: any;
|
|
39
|
-
};
|
|
40
|
-
managers: {
|
|
41
|
-
users: any;
|
|
42
|
-
userGroups: any;
|
|
43
|
-
};
|
|
34
|
+
description: {
|
|
35
|
+
text: any;
|
|
36
|
+
attachments: any;
|
|
44
37
|
};
|
|
45
|
-
|
|
38
|
+
program_objective: {
|
|
39
|
+
text: any;
|
|
40
|
+
attachments: any;
|
|
41
|
+
};
|
|
42
|
+
roles: any;
|
|
43
|
+
owners: any;
|
|
44
|
+
owners_group: any;
|
|
45
|
+
all_user_in_role: any;
|
|
46
|
+
programType: any;
|
|
47
|
+
state: any;
|
|
48
|
+
approvers: any;
|
|
49
|
+
calculate_past_upcoming_event: any;
|
|
50
|
+
program_frequency: number;
|
|
51
|
+
lock_scope: number;
|
|
52
|
+
rc_ids: any;
|
|
53
|
+
assignee_ids: any;
|
|
54
|
+
assignee_group_ids: any;
|
|
55
|
+
default_assignee_ids: any;
|
|
56
|
+
default_assignee_group_ids: any;
|
|
57
|
+
default_assignee_type: any;
|
|
58
|
+
reviewers: any;
|
|
59
|
+
reviewer_group_ids: any;
|
|
60
|
+
default_reviewers: any;
|
|
61
|
+
default_reviewer_group_ids: any;
|
|
62
|
+
default_reviewers_type: any;
|
|
63
|
+
overseers: {
|
|
64
|
+
cc_email: any;
|
|
65
|
+
cc_email_groups: any;
|
|
66
|
+
failure_cc_email: never[];
|
|
67
|
+
failure_cc_email_groups: never[];
|
|
68
|
+
};
|
|
69
|
+
default_overseers: {
|
|
70
|
+
cc_email: any;
|
|
71
|
+
cc_email_groups: any;
|
|
72
|
+
failure_cc_email: any;
|
|
73
|
+
failure_cc_email_groups: any;
|
|
74
|
+
};
|
|
75
|
+
assessment: any;
|
|
76
|
+
evidence_upload_flag: number;
|
|
77
|
+
is_key_evidence: any;
|
|
78
|
+
custom_fields: any;
|
|
79
|
+
framework: {
|
|
80
|
+
_id: any;
|
|
81
|
+
framework_name: any;
|
|
82
|
+
type: any;
|
|
83
|
+
in_scope: any;
|
|
84
|
+
out_scope: any;
|
|
85
|
+
}[];
|
|
86
|
+
collaborators: any;
|
|
87
|
+
_id: any;
|
|
46
88
|
};
|
|
47
89
|
generateAssessment(assessment: any): any;
|
|
48
90
|
getFramework(input: any): {
|
|
@@ -67,7 +109,6 @@ export declare class ProgramsService {
|
|
|
67
109
|
*/
|
|
68
110
|
updateProgram(payload: any, id: string): import("rxjs").Observable<any[]>;
|
|
69
111
|
getMemeberByIds(ids: any): import("rxjs").Observable<any[]>;
|
|
70
|
-
getMemeberByUIds(ids: any): import("rxjs").Observable<any[]>;
|
|
71
112
|
getMemberByGroups(ids: any): import("rxjs").Observable<any[]>;
|
|
72
113
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgramsService, [null, null, { optional: true; }]>;
|
|
73
114
|
static ɵprov: i0.ɵɵInjectableDeclaration<ProgramsService>;
|
|
@@ -4,15 +4,12 @@ import { AuthService } from './auth.service';
|
|
|
4
4
|
import { AssessmentList } from '../sharedComponents/assessment-list/service/assessment.interface';
|
|
5
5
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
6
|
import { Responsibility } from '../interfaces/responsibilty.interface';
|
|
7
|
-
import { GrcService } from '../workflow/shared/services/grc.service';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
export declare class ResponsibilityService {
|
|
10
9
|
private http;
|
|
11
10
|
private authService;
|
|
12
|
-
private grcService;
|
|
13
11
|
env: any;
|
|
14
12
|
dataPerPage: number;
|
|
15
|
-
responsibilityPageNumber: number;
|
|
16
13
|
grcOwners$: BehaviorSubject<any>;
|
|
17
14
|
RCList: BehaviorSubject<any>;
|
|
18
15
|
AssignorList: BehaviorSubject<any>;
|
|
@@ -21,7 +18,7 @@ export declare class ResponsibilityService {
|
|
|
21
18
|
AssuranceCategoryList: BehaviorSubject<any>;
|
|
22
19
|
private overseerList;
|
|
23
20
|
private policyGroups;
|
|
24
|
-
constructor(http: HttpClient, authService: AuthService,
|
|
21
|
+
constructor(http: HttpClient, authService: AuthService, config?: Configurations);
|
|
25
22
|
getResponsibilityCenterList(params?: HttpParams): Observable<any>;
|
|
26
23
|
getOrganizationGroups(params?: HttpParams): Observable<any>;
|
|
27
24
|
getOrganizationPolicyGroups(params?: HttpParams): Observable<any>;
|
|
@@ -34,6 +31,7 @@ export declare class ResponsibilityService {
|
|
|
34
31
|
getProgramsListCount(params: HttpParams, ids?: any): Observable<any[]>;
|
|
35
32
|
getCategoriesUnderProgram(params: HttpParams): Observable<any[]>;
|
|
36
33
|
getAssurance(): Observable<any>;
|
|
34
|
+
getAssuranceForRequiresAudit(): Observable<any>;
|
|
37
35
|
getRCDetailsOfFramework(rc_id: any, category_id: any): Observable<Object>;
|
|
38
36
|
submitEntrust(entrust_body: any): Observable<Object>;
|
|
39
37
|
updateEntrust(entrust_body: any, object_id: any, isDelegate: any): Observable<Object>;
|
|
@@ -58,18 +56,7 @@ export declare class ResponsibilityService {
|
|
|
58
56
|
addGRCObject(payload: any): Observable<any[]>;
|
|
59
57
|
updateGRCObject(payload: any, _id: string): Observable<any[]>;
|
|
60
58
|
buildResponsibilityPayload(event: any): Responsibility | null;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
userId: any;
|
|
64
|
-
userGroupId: any;
|
|
65
|
-
};
|
|
66
|
-
fail: {
|
|
67
|
-
userId: any;
|
|
68
|
-
userGroupId: any;
|
|
69
|
-
};
|
|
70
|
-
} | undefined;
|
|
71
|
-
transformData(input: any): any;
|
|
72
|
-
getAllResponsibilities(): Observable<any[]>;
|
|
73
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResponsibilityService, [null, null, null, { optional: true; }]>;
|
|
59
|
+
getRiskClass(riskClass: 0 | 1 | 2 | 3): 'low' | 'low-medium' | 'medium-high' | 'high';
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResponsibilityService, [null, null, { optional: true; }]>;
|
|
74
61
|
static ɵprov: i0.ɵɵInjectableDeclaration<ResponsibilityService>;
|
|
75
62
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vcomply-workflow-engine",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.4",
|
|
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 "
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnJlcXVlbmN5LmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4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hY2UgT25Hb2luZyB7XG4gICByZW1pbmRlcnM6IG51bWJlcjtcbiAgIHN0YXJ0T2Y6ICd3ZWVrJyB8ICdtb250aCcgfCAncXVhcnRlcicgfCAnc2VtZXN0ZXInIHwgJ3llYXInO1xufVxuXG5pbnRlcmZhY2UgTGlmZWN5Y2xlIHtcbiAgc3RhcnRGcm9tOiBzdHJpbmc7IC8veXl5eS1tbS1kZFxuICBlbmRCeTogc3RyaW5nIHwgdW5kZWZpbmVkOyAvL3l5eXktbW0tZGRcbiAgZW5kQWZ0ZXI6IG51bWJlciB8IHVuZGVmaW5lZDtcbn1cblxuXG4iXX0=
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export var PostMessageEvent;
|
|
2
|
-
(function (PostMessageEvent) {
|
|
3
|
-
PostMessageEvent["CLOSE_WEBVIEW"] = "closeWebview";
|
|
4
|
-
PostMessageEvent["PROGRAM_CREATED"] = "programCreated";
|
|
5
|
-
PostMessageEvent["PROGRAM_UPDATED"] = "programUpdated";
|
|
6
|
-
})(PostMessageEvent || (PostMessageEvent = {}));
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWZyYW1lLXR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92eC13b3JrZmxvdy1lbmdpbmUvc3JjL2xpYi9pbnRlcmZhY2VzL2lmcmFtZS10eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGdCQUlYO0FBSkQsV0FBWSxnQkFBZ0I7SUFDeEIsa0RBQThCLENBQUE7SUFDOUIsc0RBQWtDLENBQUE7SUFDbEMsc0RBQWtDLENBQUE7QUFDdEMsQ0FBQyxFQUpXLGdCQUFnQixLQUFoQixnQkFBZ0IsUUFJM0IiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBQb3N0TWVzc2FnZUV2ZW50IHtcbiAgICBDTE9TRV9XRUJWSUVXID0gJ2Nsb3NlV2VidmlldycsXG4gICAgUFJPR1JBTV9DUkVBVEVEID0gJ3Byb2dyYW1DcmVhdGVkJyxcbiAgICBQUk9HUkFNX1VQREFURUQgPSAncHJvZ3JhbVVwZGF0ZWQnLFxufVxuIl19
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class ListContainerComponent {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.heading = 'Select Programs & Program Categories';
|
|
6
|
-
this.close = new EventEmitter();
|
|
7
|
-
}
|
|
8
|
-
onClose() {
|
|
9
|
-
this.close.emit();
|
|
10
|
-
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ListContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ListContainerComponent, selector: "app-list-container", inputs: { heading: "heading" }, outputs: { close: "close" }, ngImport: i0, template: `
|
|
13
|
-
<div class="wfe-list-container">
|
|
14
|
-
<div
|
|
15
|
-
class="wfe-list-container-heading vx-d-flex vx-align-center vx-pl-4 vx-pr-4"
|
|
16
|
-
>
|
|
17
|
-
<i class="icons arrow-back vx-mr-2" (click)="onClose()"></i>
|
|
18
|
-
<div class="vx-fs-14 vx-fw-500 vx-gray-70">{{ heading }}</div>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="wfe-list-container-body">
|
|
21
|
-
<ng-content select="[body]"></ng-content>
|
|
22
|
-
<div class="wfe-list-container-footer">
|
|
23
|
-
<ng-content select="[footer]"></ng-content>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
`, isInline: true, styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";::ng-deep .wfe-list-container{position:fixed;inset:0 500px 0 0}::ng-deep .wfe-list-container:before{background:#1e5dd3;content:\"\";position:absolute;top:0;left:0;right:0;width:100%;height:3px}::ng-deep .wfe-list-container-heading{background:#fbfbfb;border-bottom:1px solid #f1f1f1;height:2.75rem}::ng-deep .wfe-list-container-heading .arrow-back{cursor:pointer}::ng-deep .wfe-list-container-body{width:100%;padding:2rem;height:calc(100% - 2.75rem)}::ng-deep .wfe-list-container-footer{background:#fff;border-radius:.25rem;box-shadow:0 6px 12px #4681ef26;border:1px solid #f8f8f8;padding:.5rem .75rem;display:flex;justify-content:space-between;position:relative;align-items:center;height:3rem}\n"] }); }
|
|
28
|
-
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ListContainerComponent, decorators: [{
|
|
30
|
-
type: Component,
|
|
31
|
-
args: [{ selector: 'app-list-container', template: `
|
|
32
|
-
<div class="wfe-list-container">
|
|
33
|
-
<div
|
|
34
|
-
class="wfe-list-container-heading vx-d-flex vx-align-center vx-pl-4 vx-pr-4"
|
|
35
|
-
>
|
|
36
|
-
<i class="icons arrow-back vx-mr-2" (click)="onClose()"></i>
|
|
37
|
-
<div class="vx-fs-14 vx-fw-500 vx-gray-70">{{ heading }}</div>
|
|
38
|
-
</div>
|
|
39
|
-
<div class="wfe-list-container-body">
|
|
40
|
-
<ng-content select="[body]"></ng-content>
|
|
41
|
-
<div class="wfe-list-container-footer">
|
|
42
|
-
<ng-content select="[footer]"></ng-content>
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
</div>
|
|
46
|
-
`, styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";@import\"https://cdn.v-comply.com/design-system/css/display/display.css\";@import\"https://cdn.v-comply.com/design-system/css/alignment/alignment.css\";@import\"https://cdn.v-comply.com/design-system/css/text/text.css\";@import\"https://cdn.v-comply.com/design-system/css/color/color.css\";@import\"https://cdn.v-comply.com/design-system/css/width/width.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-top.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-left.css\";@import\"https://cdn.v-comply.com/design-system/css/margin/margin-right.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-top.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-bottom.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-left.css\";@import\"https://cdn.v-comply.com/design-system/css/padding/padding-right.css\";::ng-deep .wfe-list-container{position:fixed;inset:0 500px 0 0}::ng-deep .wfe-list-container:before{background:#1e5dd3;content:\"\";position:absolute;top:0;left:0;right:0;width:100%;height:3px}::ng-deep .wfe-list-container-heading{background:#fbfbfb;border-bottom:1px solid #f1f1f1;height:2.75rem}::ng-deep .wfe-list-container-heading .arrow-back{cursor:pointer}::ng-deep .wfe-list-container-body{width:100%;padding:2rem;height:calc(100% - 2.75rem)}::ng-deep .wfe-list-container-footer{background:#fff;border-radius:.25rem;box-shadow:0 6px 12px #4681ef26;border:1px solid #f8f8f8;padding:.5rem .75rem;display:flex;justify-content:space-between;position:relative;align-items:center;height:3rem}\n"] }]
|
|
47
|
-
}], propDecorators: { heading: [{
|
|
48
|
-
type: Input
|
|
49
|
-
}], close: [{
|
|
50
|
-
type: Output
|
|
51
|
-
}] } });
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdC1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdngtd29ya2Zsb3ctZW5naW5lL3NyYy9saWIvc2hhcmVkQ29tcG9uZW50cy9saXN0LWNvbnRhaW5lci9saXN0LWNvbnRhaW5lci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLFlBQVksRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFzQnZFLE1BQU0sT0FBTyxzQkFBc0I7SUFwQm5DO1FBcUJXLFlBQU8sR0FBVyxzQ0FBc0MsQ0FBQztRQUN4RCxVQUFLLEdBQUcsSUFBSSxZQUFZLEVBQVEsQ0FBQztLQUs1QztJQUhDLE9BQU87UUFDTCxJQUFJLENBQUMsS0FBSyxDQUFDLElBQUksRUFBRSxDQUFDO0lBQ3BCLENBQUM7K0dBTlUsc0JBQXNCO21HQUF0QixzQkFBc0IsdUhBbEJ2Qjs7Ozs7Ozs7Ozs7Ozs7O0dBZVQ7OzRGQUdVLHNCQUFzQjtrQkFwQmxDLFNBQVM7K0JBQ0Usb0JBQW9CLFlBQ3BCO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0LWNvbnRhaW5lci5jb21wb25lbnQubGVzcyddLFxufSlcbmV4cG9ydCBjbGFzcyBMaXN0Q29udGFpbmVyQ29tcG9uZW50IHtcbiAgQElucHV0KCkgaGVhZGluZzogc3RyaW5nID0gJ1NlbGVjdCBQcm9ncmFtcyAmIFByb2dyYW0gQ2F0ZWdvcmllcyc7XG4gIEBPdXRwdXQoKSBjbG9zZSA9IG5ldyBFdmVudEVtaXR0ZXI8dm9pZD4oKTtcblxuICBvbkNsb3NlKCkge1xuICAgIHRoaXMuY2xvc2UuZW1pdCgpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// constants.ts
|
|
2
|
-
export const PROGRAM_TABLE_HEADERS = [
|
|
3
|
-
'Program Name',
|
|
4
|
-
'Program Categories'
|
|
5
|
-
];
|
|
6
|
-
export const PAGINATION_OPTIONS = {
|
|
7
|
-
PAGE_SIZE: 30,
|
|
8
|
-
DEFAULT_CURRENT_PAGE: 1
|
|
9
|
-
};
|
|
10
|
-
export const PROGRAM_TYPE_LIST = [
|
|
11
|
-
{ name: 'Regulations', id: 'regulations' },
|
|
12
|
-
{ name: 'Standards', id: 'standards' },
|
|
13
|
-
{ name: 'Internal Controls', id: 'internal_controls' },
|
|
14
|
-
{ name: 'Others', id: 'others' },
|
|
15
|
-
];
|
|
16
|
-
export const PROGRAM_OBJECT = {
|
|
17
|
-
regulations: 1,
|
|
18
|
-
standards: 2,
|
|
19
|
-
internal_controls: 3,
|
|
20
|
-
others: 0,
|
|
21
|
-
};
|
|
22
|
-
export const PROGRAM_NO_DATA = {
|
|
23
|
-
programList: 'No data to display.',
|
|
24
|
-
categoryList: 'Select a program to view its category.',
|
|
25
|
-
search: 'No results matched your search criteria.',
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uL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-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1zb3VyY2UuaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdngtd29ya2Zsb3ctZW5naW5lL3NyYy9saWIvc2hhcmVkQ29tcG9uZW50cy9wcm9ncmFtLWxpc3QvaW50ZXJmYWNlcy9kYXRhLXNvdXJjZS5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbIi8vIGRhdGEtc291cmNlLmludGVyZmFjZS50c1xuaW1wb3J0IHsgT2JzZXJ2YWJsZSB9IGZyb20gJ3J4anMnO1xuXG5leHBvcnQgaW50ZXJmYWNlIERhdGFTb3VyY2U8VD4ge1xuICBsb2FkKHNlYXJjaFRlcm0/OiBzdHJpbmcpOiBPYnNlcnZhYmxlPFRbXT47XG59Il19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdC1pdGVtLmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Z4LXdvcmtmbG93LWVuZ2luZS9zcmMvbGliL3NoYXJlZENvbXBvbmVudHMvcHJvZ3JhbS1saXN0L2ludGVyZmFjZXMvbGlzdC1pdGVtLmludGVyZmFjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiLy8gbGlzdC1pdGVtLmludGVyZmFjZS50c1xuZXhwb3J0IGludGVyZmFjZSBMaXN0SXRlbSB7XG4gICAgICBpZDogc3RyaW5nO1xuICAgICAgbmFtZTogc3RyaW5nO1xuICAgICAgdHlwZTogXCJyZWd1bGF0aW9uc1wiIHwgXCJzdGFuZGFyZHNcIiB8IFwiaW50ZXJuYWxfY29udHJvbHNcIiB8IFwib3RoZXJzXCI7XG4gICAgICBcbiAgfVxuICAiXX0=
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Pipe } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class CheckSelectedItemsPipe {
|
|
4
|
-
transform(id, selectedItems) {
|
|
5
|
-
if (selectedItems) {
|
|
6
|
-
const selectedItem = selectedItems?.find((item) => item?.id === id);
|
|
7
|
-
if (selectedItem) {
|
|
8
|
-
return true;
|
|
9
|
-
}
|
|
10
|
-
return false;
|
|
11
|
-
}
|
|
12
|
-
return false;
|
|
13
|
-
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckSelectedItemsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
15
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CheckSelectedItemsPipe, name: "checkSelectedItems" }); }
|
|
16
|
-
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckSelectedItemsPipe, decorators: [{
|
|
18
|
-
type: Pipe,
|
|
19
|
-
args: [{
|
|
20
|
-
name: 'checkSelectedItems'
|
|
21
|
-
}]
|
|
22
|
-
}] });
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2stc2VsZWN0ZWQtaXRlbXMucGlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92eC13b3JrZmxvdy1lbmdpbmUvc3JjL2xpYi9zaGFyZWRDb21wb25lbnRzL3Byb2dyYW0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