vcomply-workflow-engine 6.0.93 → 6.0.95
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 +30 -7
- package/esm2022/lib/constants/api.constants.mjs +1 -6
- 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 +193 -13
- 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/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/link-responsibility/link-responsibility.component.mjs +16 -48
- package/esm2022/lib/sharedComponents/link-responsibility/link-responsibility.module.mjs +4 -8
- 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 +7 -11
- package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +29 -46
- package/esm2022/lib/workflow-program/constants.mjs +3 -3
- package/esm2022/lib/workflow-program/create-program-ui/user-group-list/user-group-list.component.mjs +9 -13
- package/esm2022/lib/workflow-program/workflow-program.component.mjs +365 -327
- 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 +55 -60
- package/fesm2022/vcomply-workflow-engine.mjs +14037 -14465
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +3 -0
- package/lib/constants/api.constants.d.ts +0 -5
- 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/services/common.service.d.ts +0 -28
- package/lib/services/iframe.service.d.ts +0 -6
- package/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.d.ts +6 -0
- package/lib/sharedComponents/format-and-evidence/format-and-evidence.component.d.ts +4 -1
- package/lib/sharedComponents/frequency/frequency-random/frequency-random.component.d.ts +0 -1
- package/lib/sharedComponents/frequency/frequency.service.d.ts +2 -92
- package/lib/sharedComponents/link-responsibility/link-responsibility.component.d.ts +1 -2
- package/lib/sharedComponents/link-responsibility/link-responsibility.module.d.ts +1 -2
- package/lib/sharedComponents/pipes/risk-class.pipe.d.ts +7 -0
- package/lib/workflow/grc-object/grc-object-container/grc-object-container.component.d.ts +1 -5
- 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-compliance/workflow-compliance.component.d.ts +10 -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 +0 -9
- package/lib/workflow-program/workflow-program.component.d.ts +9 -9
- package/lib/workflow-risk/workflow-risk.component.d.ts +1 -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/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 -269
- 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 -125
- 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
|
@@ -19,7 +19,6 @@ import { Subscription } from 'rxjs';
|
|
|
19
19
|
import { ReportACaseService } from '../report-a-case/services/report-a-case.service';
|
|
20
20
|
import { WorkflowCaseComponent } from '../report-a-case/workflow-case/workflow-case.component';
|
|
21
21
|
import { ReportCasePermissionService } from '../services/report-case-permission.service';
|
|
22
|
-
import { IframeService } from '../services/iframe.service';
|
|
23
22
|
import * as i0 from "@angular/core";
|
|
24
23
|
export declare class WorkflowEngineContainerComponent implements OnInit, AfterViewInit {
|
|
25
24
|
uiKitService: UiKitService;
|
|
@@ -28,13 +27,12 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
|
|
|
28
27
|
private orgCommonService;
|
|
29
28
|
private reportACaseService;
|
|
30
29
|
private reportCasePermissionService;
|
|
31
|
-
private iframeService;
|
|
32
30
|
isHostRefreshActive: boolean;
|
|
33
31
|
isRCSelected: boolean;
|
|
34
32
|
featureFlag_groups: boolean;
|
|
35
33
|
addToCaseMode: string;
|
|
36
34
|
permissionSubscription: Subscription;
|
|
37
|
-
constructor(uiKitService: UiKitService, snackBar: SnackBarService, auth: AuthService, orgCommonService: OrganizationCommonService, reportACaseService: ReportACaseService, reportCasePermissionService: ReportCasePermissionService
|
|
35
|
+
constructor(uiKitService: UiKitService, snackBar: SnackBarService, auth: AuthService, orgCommonService: OrganizationCommonService, reportACaseService: ReportACaseService, reportCasePermissionService: ReportCasePermissionService);
|
|
38
36
|
workflowType: string;
|
|
39
37
|
mode: string;
|
|
40
38
|
id: string;
|
|
@@ -47,7 +45,6 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
|
|
|
47
45
|
secondaryOpenPortal: string;
|
|
48
46
|
defaultRiskType: string;
|
|
49
47
|
moveToRegisterMode: string;
|
|
50
|
-
workflowDetails: any;
|
|
51
48
|
reponsibilityData: {
|
|
52
49
|
responsibilityId: null;
|
|
53
50
|
responsibilityName: string;
|
|
@@ -167,5 +164,5 @@ export declare class WorkflowEngineContainerComponent implements OnInit, AfterVi
|
|
|
167
164
|
onReviewerChange(event: string): void;
|
|
168
165
|
isResponsibilitySimplify(): void;
|
|
169
166
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowEngineContainerComponent, never>;
|
|
170
|
-
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; }; "
|
|
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>;
|
|
171
168
|
}
|
|
@@ -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;
|
|
@@ -226,10 +225,6 @@ export declare class WorkflowPolicyComponent implements OnInit {
|
|
|
226
225
|
templateView: boolean;
|
|
227
226
|
templateUrl: string;
|
|
228
227
|
isTemplateClosed: boolean;
|
|
229
|
-
programListUrl: any;
|
|
230
|
-
selectedPrograms: any;
|
|
231
|
-
allProgamSelected: ListItem[];
|
|
232
|
-
linkProgram: any;
|
|
233
228
|
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
229
|
policyForm: PolicyForm;
|
|
235
230
|
ngOnInit(): void;
|
|
@@ -416,10 +411,6 @@ export declare class WorkflowPolicyComponent implements OnInit {
|
|
|
416
411
|
onTemplateSelect(event: any, isPreselected?: boolean): void;
|
|
417
412
|
setNavigationUrl(): void;
|
|
418
413
|
navigateToTemplate(): void;
|
|
419
|
-
onItemsSelectedChange(items: ListItem[]): void;
|
|
420
|
-
selectCategory(): void;
|
|
421
|
-
removeProgram(program: any): void;
|
|
422
|
-
getLinkProgram(policyId: string): void;
|
|
423
414
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowPolicyComponent, never>;
|
|
424
415
|
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
416
|
}
|
|
@@ -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;
|
|
@@ -139,11 +139,11 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
139
139
|
allowedFeature: any;
|
|
140
140
|
addToProgramDetails: any;
|
|
141
141
|
orgDetails: any;
|
|
142
|
-
programDetails: any;
|
|
143
142
|
panelTitleDefaultReviewer: string;
|
|
144
143
|
panelTitleOwner: string;
|
|
145
144
|
panelTitleReviewer: string;
|
|
146
145
|
panelTitleAssignee: string;
|
|
146
|
+
panelTitleCollaborator: string;
|
|
147
147
|
panelTitleApprover: string;
|
|
148
148
|
isApproverDisabled: boolean;
|
|
149
149
|
isProgramScope: boolean;
|
|
@@ -151,14 +151,14 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
151
151
|
businessCycle: any;
|
|
152
152
|
featureflagrole: boolean;
|
|
153
153
|
featureflagGroups: boolean;
|
|
154
|
-
|
|
154
|
+
disableCollaboratorIds: any[];
|
|
155
155
|
selectedReviewerIds: any[];
|
|
156
156
|
selectedAssigneeIds: any[];
|
|
157
157
|
selectedOverseerIds: any[];
|
|
158
158
|
assignorId: number[];
|
|
159
159
|
disableReviewerIds: any[];
|
|
160
160
|
disableOverseerIds: any[];
|
|
161
|
-
constructor(fb: UntypedFormBuilder, programService: ProgramsService, authService: AuthService, uiKitService: UiKitService,
|
|
161
|
+
constructor(fb: UntypedFormBuilder, programService: ProgramsService, authService: AuthService, uiKitService: UiKitService, iframeService: IframeService, changeRef: ChangeDetectorRef);
|
|
162
162
|
noWhitespaceValidator(control: UntypedFormControl): {
|
|
163
163
|
whitespace: boolean;
|
|
164
164
|
} | null;
|
|
@@ -183,6 +183,7 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
183
183
|
programDescription: string;
|
|
184
184
|
};
|
|
185
185
|
selectedAssessment: any;
|
|
186
|
+
manageProgramsRoleId: string[];
|
|
186
187
|
currentUser(): {
|
|
187
188
|
member_email: any;
|
|
188
189
|
member_id: any;
|
|
@@ -219,6 +220,7 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
219
220
|
returnIds(list: any[], key: string): any[];
|
|
220
221
|
refreshList(): void;
|
|
221
222
|
removeRole(evt: any): void;
|
|
223
|
+
setDefaultAssignee(evt: any): void;
|
|
222
224
|
setDefaultAssigneeOnRemove(evt: any, type: any): void;
|
|
223
225
|
setDefaultReviewer(evt: any): void;
|
|
224
226
|
setDefaultOverseer(evt: any): void;
|
|
@@ -227,8 +229,10 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
227
229
|
fieldDeselector(type: any): void;
|
|
228
230
|
markasTouchedSelector(fieldName: any): void;
|
|
229
231
|
fetchRoles(): void;
|
|
232
|
+
getManageProgramsRoleId(): any;
|
|
230
233
|
fetchRC(): void;
|
|
231
234
|
fetchUsersAssociatedWithRoles(calledFrom?: any): void;
|
|
235
|
+
fetchUserWithManageProgramsRole(): void;
|
|
232
236
|
fetchGroupsAssociatedWithRoles(): void;
|
|
233
237
|
setDefaultOwners(userList: any, calledFrom?: any): void;
|
|
234
238
|
getPreSelectedOwners(previousSelectedUsers: any, currentUsers: any): any;
|
|
@@ -253,7 +257,6 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
253
257
|
uniqueByProp(array: any, key: string): unknown[];
|
|
254
258
|
setList(list: any[], ids: any[], key: string): any;
|
|
255
259
|
saveProgram(): void;
|
|
256
|
-
postIframeMessage(event: string, data: any): void;
|
|
257
260
|
action(event: string): void;
|
|
258
261
|
viewPrograms(): void;
|
|
259
262
|
resetForm(): void;
|
|
@@ -262,14 +265,11 @@ export declare class WorkflowProgramComponent implements OnInit {
|
|
|
262
265
|
* Get program details when user is trying to edit program
|
|
263
266
|
*/
|
|
264
267
|
getProgramDetails(): void;
|
|
265
|
-
populateProgramDetails(res: any): void;
|
|
266
268
|
populateMembers(res: any): void;
|
|
267
269
|
populateGroups(res: any): void;
|
|
268
|
-
populateGroupsByGID(programDetails: any, type: string): void;
|
|
269
270
|
resetAdditionalOption(): void;
|
|
270
271
|
checkProgramOptionField(): any;
|
|
271
272
|
enablefeature(): void;
|
|
272
|
-
handleDataPopulation(): void;
|
|
273
273
|
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; };
|
|
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; }; }, { "pickerChanged": "pickerChanged"; "populateOption": "populateOption"; "closeWorkflow": "closeWorkflow"; "showConfirmationAlert": "showConfirmationAlert"; "disconnectRefresh": "disconnectRefresh"; "refreshForm": "refreshForm"; "hideElementsFromMoreOptions": "hideElementsFromMoreOptions"; "onRemovingRole": "onRemovingRole"; "disableElementsFromMoreOptions": "disableElementsFromMoreOptions"; }, never, never, false, never>;
|
|
275
275
|
}
|
|
@@ -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): "
|
|
170
|
+
setCategoryType(type: any): "strategic" | "operational" | "compliance" | "others";
|
|
171
171
|
getRCList(): void;
|
|
172
172
|
getCategoryList(): void;
|
|
173
173
|
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.0.
|
|
3
|
+
"version": "6.0.95",
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnJlcXVlbmN5LmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Z4LXdvcmtmbG93LWVuZ2luZS9zcmMvbGliL2ludGVyZmFjZXM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d3ZWVrJyB8ICdtb250aCcgfCAncXVhcnRlcicgfCAnc2VtZXN0ZXInIHwgJ3llYXInO1xufVxuXG5pbnRlcmZhY2UgTGlmZWN5Y2xlIHtcbiAgc3RhcnRGcm9tOiBzdHJpbmc7IC8veXl5eS1tbS1kZFxuICBlbmRCeTogc3RyaW5nIHwgdW5kZWZpbmVkOyAvL3l5eXktbW0tZGRcbiAgZW5kQWZ0ZXI6IG51bWJlciB8IHVuZGVmaW5lZDtcbn1cblxuXG4iXX0=
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdC1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdngtd29ya2Zsb3ctZW5naW5lL3NyYy9saWIvc2hhcmVkQ29tcG9uZW50cy9saXN0LWNvbnRhaW5lci9saXN0LWNvbnRhaW5lci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLFlBQVksRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFzQnZFLE1BQU0sT0FBTyxzQkFBc0I7SUFwQm5DO1FBcUJXLFlBQU8sR0FBVyxzQ0FBc0MsQ0FBQztRQUN4RCxVQUFLLEdBQUcsSUFBSSxZQUFZLEVBQVEsQ0FBQztLQUs1QztJQUhDLE9BQU87UUFDTCxJQUFJLENBQUMsS0FBSyxDQUFDLElBQUksRUFBRSxDQUFDO0lBQ3BCLENBQUM7K0dBTlUsc0JBQXNCO21HQUF0QixzQkFBc0IsdUhBbEJ2Qjs7Ozs7Ozs7Ozs7Ozs7O0dBZVQ7OzRGQUdVLHNCQUFzQjtrQkFwQmxDLFNBQVM7K0JBQ0Usb0JBQW9CLFlBQ3BCOzs7Ozs7Ozs7Ozs7Ozs7R0FlVDs4QkFJUSxPQUFPO3NCQUFmLEtBQUs7Z0JBQ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29udGFpbmVyQ29tcG9uZW50IHtcbiAgQElucHV0KCkgaGVhZGluZzogc3RyaW5nID0gJ1NlbGVjdCBQcm9ncmFtcyAmIFByb2dyYW0gQ2F0ZWdvcmllcyc7XG4gIEBPdXRwdXQoKSBjbG9zZSA9IG5ldyBFdmVudEVtaXR0ZXI8dm9pZD4oKTtcblxuICBvbkNsb3NlKCkge1xuICAgIHRoaXMuY2xvc2UuZW1pdCgpO1xuICB9XG59XG4iXX0=
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92eC13b3JrZmxvdy1lbmdpbmUvc3JjL2xpYi9z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udHJvbHNcIiB8IFwib3RoZXJzXCI7XG4gICAgICBcbiAgfVxuICAiXX0=
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2stc2VsZWN0ZWQtaXRlbXMucGlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92eC13b3JrZmxvdy1lbmdpbmUvc3JjL2xpYi9zaGFyZWRDb21wb25lbnRzL3Byb2dyYW0tbGlzdC9waXBlcy9jaGVjay1zZWxlY3RlZC1pdGVtcy5waXBlcy50cyJdLCJuYW1lcyI6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