vcomply-workflow-engine 6.1.9 → 6.1.11
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/constants/link-responsibility.constants.mjs +5 -1
- package/esm2022/lib/report-a-case/components/assignee/assignee.component.mjs +1 -1
- package/esm2022/lib/report-a-case/components/due-date/due-date.component.mjs +1 -1
- package/esm2022/lib/report-a-case/components/linked-responsibilities/linked-responsibilities.component.mjs +4 -4
- package/esm2022/lib/report-a-case/workflow-case/workflow-case.component.mjs +19 -10
- package/esm2022/lib/sharedComponents/assessment-list/assessment-list.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/audit-category-list/audit-category-list.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/category-list/category-list.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/category-list-selection/category-list-selection/category-list-selection.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/category-multiselect/category-multi-select.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/checkbox-list/checkbox-list.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/floating-bar/floating-bar.component.mjs +6 -3
- package/esm2022/lib/sharedComponents/framework-list/framework-list.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/frequency/frequency-container/frequency-container.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/frequency/frequency-responsibility-list/frequency-responsibility-list.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/frequency/frequency.service.mjs +3 -3
- package/esm2022/lib/sharedComponents/group-users-list/group-users-list.component.mjs +2 -2
- package/esm2022/lib/sharedComponents/link-responsibility/link-responsibility.component.mjs +187 -74
- package/esm2022/lib/sharedComponents/link-responsibility/link-responsibility.interface.mjs +2 -0
- package/esm2022/lib/sharedComponents/link-responsibility/link-responsibility.module.mjs +16 -4
- package/esm2022/lib/sharedComponents/owner-list/owner-list.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/pipes/getRCList.pipe.mjs +24 -0
- package/esm2022/lib/sharedComponents/pipes/parentResponsibilitySelection.pipe.mjs +22 -0
- package/esm2022/lib/sharedComponents/pipes/pipe.module.mjs +20 -0
- package/esm2022/lib/sharedComponents/pipes/userDetails.pipe.mjs +44 -0
- package/esm2022/lib/sharedComponents/policy-template/select-template-list/select-template-list.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/program-listing/program-listing.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/radio-list/radio-list.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/radio-list-with-pagination/radio-list.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/responsibility-centers-list/responsibility-centers-list.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/responsibility-risk-selector/responsibility-risk-selector.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/review-frequency/review-frequency.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/risk-classification/risk-classification.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/roles-list/roles-list.component.mjs +1 -1
- package/esm2022/lib/sharedComponents/users-radio-list/users-radio-list.component.mjs +1 -1
- package/esm2022/lib/ui-kit/avatar/avatar.component.mjs +26 -0
- package/esm2022/lib/ui-kit/avatar/avatar.constants.mjs +13 -0
- package/esm2022/lib/ui-kit/avatar/avatar.module.mjs +20 -0
- package/esm2022/lib/workflow/shared/components/attributes/attributes-checkbox/attributes-checkbox.component.mjs +2 -2
- package/esm2022/lib/workflow/shared/components/grc-object-list/grc-object-list.component.mjs +2 -2
- package/esm2022/lib/workflow/shared/components/program-responsibility-listing/program-responsibility-listing.component.mjs +2 -2
- package/esm2022/lib/workflow/shared/components/risk-category-risk-listing/risk-category-risk-listing.component.mjs +2 -2
- package/fesm2022/vcomply-workflow-engine.mjs +396 -121
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/constants/link-responsibility.constants.d.ts +4 -0
- package/lib/sharedComponents/floating-bar/floating-bar.component.d.ts +2 -1
- package/lib/sharedComponents/frequency/frequency.service.d.ts +1 -1
- package/lib/sharedComponents/link-responsibility/link-responsibility.component.d.ts +38 -3
- package/lib/sharedComponents/link-responsibility/link-responsibility.interface.d.ts +8 -0
- package/lib/sharedComponents/link-responsibility/link-responsibility.module.d.ts +4 -1
- package/lib/sharedComponents/pipes/getRCList.pipe.d.ts +7 -0
- package/lib/sharedComponents/pipes/parentResponsibilitySelection.pipe.d.ts +7 -0
- package/lib/sharedComponents/pipes/pipe.module.d.ts +10 -0
- package/lib/sharedComponents/pipes/userDetails.pipe.d.ts +11 -0
- package/lib/ui-kit/avatar/avatar.component.d.ts +8 -0
- package/lib/ui-kit/avatar/avatar.constants.d.ts +12 -0
- package/lib/ui-kit/avatar/avatar.module.d.ts +10 -0
- package/package.json +1 -1
|
@@ -20,6 +20,7 @@ export declare class FloatingBarComponent implements OnInit, OnChanges {
|
|
|
20
20
|
defaultSelected: any;
|
|
21
21
|
set defaultSelectedValue(value: any);
|
|
22
22
|
groupsEnabled: any;
|
|
23
|
+
isResponsibility: boolean;
|
|
23
24
|
nonRemovableUsersList: any;
|
|
24
25
|
removePosition: any;
|
|
25
26
|
closeEvent: EventEmitter<any>;
|
|
@@ -37,5 +38,5 @@ export declare class FloatingBarComponent implements OnInit, OnChanges {
|
|
|
37
38
|
selectedWorkflowType(event: any): void;
|
|
38
39
|
selectedWorkflowChange(event: any): void;
|
|
39
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<FloatingBarComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FloatingBarComponent, "app-floating-bar", never, { "selectedData": { "alias": "selectedData"; "required": false; }; "selectedGroups": { "alias": "selectedGroups"; "required": false; }; "displayElementKey": { "alias": "displayElementKey"; "required": false; }; "elementId": { "alias": "elementId"; "required": false; }; "singularText": { "alias": "singularText"; "required": false; }; "pluralText": { "alias": "pluralText"; "required": false; }; "showNextButton": { "alias": "showNextButton"; "required": false; }; "showFrequencyText": { "alias": "showFrequencyText"; "required": false; }; "showWorkflow": { "alias": "showWorkflow"; "required": false; }; "workflowText": { "alias": "workflowText"; "required": false; }; "currentFrequency": { "alias": "currentFrequency"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "workflowList": { "alias": "workflowList"; "required": false; }; "selectedWorkflow": { "alias": "selectedWorkflow"; "required": false; }; "workflowPlaceHolder": { "alias": "workflowPlaceHolder"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "defaultSelectedValue": { "alias": "defaultSelected"; "required": false; }; "groupsEnabled": { "alias": "groupsEnabled"; "required": false; }; "nonRemovableUsersList": { "alias": "nonRemovableUsersList"; "required": false; }; "removePosition": { "alias": "removePosition"; "required": false; }; }, { "closeEvent": "closeEvent"; "deleteEvent": "deleteEvent"; "closeList": "closeList"; "deleteGroupEvent": "deleteGroupEvent"; "workflowTypeChanged": "workflowTypeChanged"; }, never, ["*"], false, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FloatingBarComponent, "app-floating-bar", never, { "selectedData": { "alias": "selectedData"; "required": false; }; "selectedGroups": { "alias": "selectedGroups"; "required": false; }; "displayElementKey": { "alias": "displayElementKey"; "required": false; }; "elementId": { "alias": "elementId"; "required": false; }; "singularText": { "alias": "singularText"; "required": false; }; "pluralText": { "alias": "pluralText"; "required": false; }; "showNextButton": { "alias": "showNextButton"; "required": false; }; "showFrequencyText": { "alias": "showFrequencyText"; "required": false; }; "showWorkflow": { "alias": "showWorkflow"; "required": false; }; "workflowText": { "alias": "workflowText"; "required": false; }; "currentFrequency": { "alias": "currentFrequency"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "workflowList": { "alias": "workflowList"; "required": false; }; "selectedWorkflow": { "alias": "selectedWorkflow"; "required": false; }; "workflowPlaceHolder": { "alias": "workflowPlaceHolder"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "defaultSelectedValue": { "alias": "defaultSelected"; "required": false; }; "groupsEnabled": { "alias": "groupsEnabled"; "required": false; }; "isResponsibility": { "alias": "isResponsibility"; "required": false; }; "nonRemovableUsersList": { "alias": "nonRemovableUsersList"; "required": false; }; "removePosition": { "alias": "removePosition"; "required": false; }; }, { "closeEvent": "closeEvent"; "deleteEvent": "deleteEvent"; "closeList": "closeList"; "deleteGroupEvent": "deleteGroupEvent"; "workflowTypeChanged": "workflowTypeChanged"; }, never, ["*"], false, never>;
|
|
41
42
|
}
|
|
@@ -49,7 +49,7 @@ export declare class FrequencyService {
|
|
|
49
49
|
changeTimeZone(date: any): Date;
|
|
50
50
|
getResponsibilityList(payload: any): import("rxjs").Observable<any>;
|
|
51
51
|
getResponsibilitiesCount(payload: any): import("rxjs").Observable<any>;
|
|
52
|
-
getAllResponsibilities(pageNo: number): import("rxjs").Observable<any[]>;
|
|
52
|
+
getAllResponsibilities(pageNo: number, payload: any): import("rxjs").Observable<any[]>;
|
|
53
53
|
formatDate(): string;
|
|
54
54
|
/**
|
|
55
55
|
* Converts a frequency configuration object into a standardized FrequencyObject format.
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { FrequencyService } from '../frequency/frequency.service';
|
|
3
|
+
import { ComplianceCommonService } from '../../workflow-services/common-workflow-services/compliance-common.service';
|
|
4
|
+
import { Responsibility } from './link-responsibility.interface';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
6
|
export declare class LinkResponsibilityListComponent implements OnInit {
|
|
5
7
|
private frequencyService;
|
|
8
|
+
private complianceCommonService;
|
|
6
9
|
onCompletionOfResponsibility: any;
|
|
7
10
|
feature: any;
|
|
8
11
|
respIdKey: string;
|
|
@@ -10,6 +13,18 @@ export declare class LinkResponsibilityListComponent implements OnInit {
|
|
|
10
13
|
radioSelection: boolean;
|
|
11
14
|
closeButton: EventEmitter<any>;
|
|
12
15
|
selectedResponsibility: EventEmitter<any>;
|
|
16
|
+
AVATAR_CONSTANTS: {
|
|
17
|
+
TYPE: {
|
|
18
|
+
ASSIGNOR: string;
|
|
19
|
+
REVIEWER: string;
|
|
20
|
+
};
|
|
21
|
+
COLOR: {
|
|
22
|
+
GREEN: string;
|
|
23
|
+
BLUE: string;
|
|
24
|
+
};
|
|
25
|
+
ANYONE: string;
|
|
26
|
+
ALL: string;
|
|
27
|
+
};
|
|
13
28
|
animation: boolean;
|
|
14
29
|
responsibilityLoader: boolean;
|
|
15
30
|
isValidObj: boolean;
|
|
@@ -50,24 +65,44 @@ export declare class LinkResponsibilityListComponent implements OnInit {
|
|
|
50
65
|
responsibilitySearchText: string;
|
|
51
66
|
noDataMessage: string;
|
|
52
67
|
noDataImagePath: string;
|
|
68
|
+
floaterBarText: any;
|
|
53
69
|
responsibilityList: any;
|
|
54
70
|
featureFlag_on_completion_of: any;
|
|
55
71
|
close: any;
|
|
56
|
-
|
|
72
|
+
userList: any[];
|
|
73
|
+
rcList: any[];
|
|
74
|
+
allRcList: any[];
|
|
75
|
+
viewResponsibilityId: any;
|
|
76
|
+
viewResponsibilityData: any;
|
|
77
|
+
responsibilityFloaterBarData: any;
|
|
78
|
+
isResponsibilitySelected: boolean;
|
|
79
|
+
constructor(frequencyService: FrequencyService, complianceCommonService: ComplianceCommonService);
|
|
57
80
|
ngOnInit(): void;
|
|
58
81
|
back(): void;
|
|
59
82
|
getResponsibilityValues(): void;
|
|
83
|
+
populateResponsibilityValues(): void;
|
|
84
|
+
getRcList(): void;
|
|
60
85
|
getResponsibilityList(pageNo?: number): void;
|
|
61
86
|
private mapResponsibilitiesData;
|
|
62
87
|
responsibilityPageChange(pageNumber: number): void;
|
|
63
88
|
deleteItem(item: any): void;
|
|
64
89
|
save(event: any): void;
|
|
90
|
+
filterUniqueResponsibilityValues(): void;
|
|
91
|
+
insertUniqueResponsibility(result: Responsibility, item: any): void;
|
|
65
92
|
onClickTabChange(tab: any): void;
|
|
66
93
|
search(): void;
|
|
67
94
|
setResponsibilitiesCount(): void;
|
|
68
95
|
featureFlagInitialization(): void;
|
|
69
|
-
selectResp(resp: any, mode:
|
|
70
|
-
|
|
96
|
+
selectResp(resp: any, mode: boolean): void;
|
|
97
|
+
generateResponsibilityId(resp: any): any[];
|
|
98
|
+
generateRespObj(resp: any, assigneeId: any, responsibilityCenter: any): {
|
|
99
|
+
responsibilityId: any;
|
|
100
|
+
assigneeId: any;
|
|
101
|
+
responsibilityCenter: any;
|
|
102
|
+
reportName: any;
|
|
103
|
+
};
|
|
104
|
+
viewResponsibility(id: any): void;
|
|
105
|
+
createSeparateResponsibilities(responsibility: any): any[];
|
|
71
106
|
static ɵfac: i0.ɵɵFactoryDeclaration<LinkResponsibilityListComponent, never>;
|
|
72
107
|
static ɵcmp: i0.ɵɵComponentDeclaration<LinkResponsibilityListComponent, "app-link-responsibility-list", never, { "onCompletionOfResponsibility": { "alias": "onCompletionOfResponsibility"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "respIdKey": { "alias": "respIdKey"; "required": false; }; "selectedResponsibilityValues": { "alias": "selectedResponsibilityValues"; "required": false; }; "radioSelection": { "alias": "radioSelection"; "required": false; }; }, { "closeButton": "closeButton"; "selectedResponsibility": "selectedResponsibility"; }, never, never, false, never>;
|
|
73
108
|
}
|
|
@@ -9,8 +9,11 @@ import * as i7 from "../no-data/no-data.module";
|
|
|
9
9
|
import * as i8 from "../v-loader/v-loader.module";
|
|
10
10
|
import * as i9 from "../../ui-kit/popover/popover.module";
|
|
11
11
|
import * as i10 from "../../ui-kit/pagination/pagination.module";
|
|
12
|
+
import * as i11 from "../../ui-kit/tooltip/tooltip.module";
|
|
13
|
+
import * as i12 from "../../ui-kit/avatar/avatar.module";
|
|
14
|
+
import * as i13 from "../pipes/pipe.module";
|
|
12
15
|
export declare class LinkResponsibilityModule {
|
|
13
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<LinkResponsibilityModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LinkResponsibilityModule, [typeof i1.LinkResponsibilityListComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PipesModule, typeof i5.FloatingBarModule, typeof i6.FormgroupModule, typeof i7.NoDataModule, typeof i8.VLoaderModule, typeof i9.PopoverModule, typeof i10.PaginationModule], [typeof i1.LinkResponsibilityListComponent]>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LinkResponsibilityModule, [typeof i1.LinkResponsibilityListComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PipesModule, typeof i5.FloatingBarModule, typeof i6.FormgroupModule, typeof i7.NoDataModule, typeof i8.VLoaderModule, typeof i9.PopoverModule, typeof i10.PaginationModule, typeof i11.TooltipModule, typeof i12.AvatarModule, typeof i13.SharedPipesModule], [typeof i1.LinkResponsibilityListComponent]>;
|
|
15
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<LinkResponsibilityModule>;
|
|
16
19
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GetRCListPipe implements PipeTransform {
|
|
4
|
+
transform(value: any, list: any[], allList: any[]): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetRCListPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GetRCListPipe, "getRCList", false>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ParentResponsibilitySelectionPipe implements PipeTransform {
|
|
4
|
+
transform(value: any, list: any[], isChild?: boolean): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ParentResponsibilitySelectionPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ParentResponsibilitySelectionPipe, "isRespSelected", false>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./userDetails.pipe";
|
|
3
|
+
import * as i2 from "./getRCList.pipe";
|
|
4
|
+
import * as i3 from "./parentResponsibilitySelection.pipe";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
export declare class SharedPipesModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedPipesModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipesModule, [typeof i1.GetUserDetailsPipe, typeof i2.GetRCListPipe, typeof i3.ParentResponsibilitySelectionPipe], [typeof i4.CommonModule], [typeof i1.GetUserDetailsPipe, typeof i2.GetRCListPipe, typeof i3.ParentResponsibilitySelectionPipe]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedPipesModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { Configurations } from '../../configurations';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class GetUserDetailsPipe implements PipeTransform {
|
|
5
|
+
environment: any;
|
|
6
|
+
constructor(config?: Configurations);
|
|
7
|
+
transform(ids: number[], list: any[]): any[];
|
|
8
|
+
getShortName(name: string): string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetUserDetailsPipe, [{ optional: true; }]>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GetUserDetailsPipe, "getUserDetails", false>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AvatarComponent {
|
|
3
|
+
userDetails: any[];
|
|
4
|
+
type: 'ASSIGNEE' | 'ASSIGNOR' | 'ALL' | 'ANYONE';
|
|
5
|
+
avatarClass: string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "app-avatar", never, { "userDetails": { "alias": "userDetails"; "required": false; }; "type": { "alias": "type"; "required": false; }; "avatarClass": { "alias": "avatarClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./avatar.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../tooltip/tooltip.module";
|
|
5
|
+
import * as i4 from "../popover/popover.module";
|
|
6
|
+
export declare class AvatarModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AvatarModule, [typeof i1.AvatarComponent], [typeof i2.CommonModule, typeof i3.TooltipModule, typeof i4.PopoverModule], [typeof i1.AvatarComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AvatarModule>;
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vcomply-workflow-engine",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.11",
|
|
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 "
|