vcomply-workflow-engine 6.1.49 → 6.1.51
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/common.constants.mjs +2 -1
- package/esm2022/lib/pipes/pipes.module.mjs +10 -5
- package/esm2022/lib/pipes/responsibility-checked.pipe.mjs +19 -0
- package/esm2022/lib/services/common.service.mjs +15 -1
- package/esm2022/lib/sharedComponents/assessment-list/assessment-list.component.mjs +3 -3
- package/esm2022/lib/sharedComponents/assessment-preview/preview/preview.component.mjs +6 -3
- package/esm2022/lib/sharedComponents/frequency/frequency-container/frequency-container.component.mjs +5 -3
- package/esm2022/lib/sharedComponents/frequency/frequency-on-completion-of/frequency-on-completion-of.component.mjs +9 -12
- package/esm2022/lib/sharedComponents/frequency/frequency-responsibility-list/frequency-responsibility-list.component.mjs +53 -23
- package/esm2022/lib/sharedComponents/frequency/frequency-responsibility-list/sub-responsibility/sub-responsibility.component.mjs +7 -3
- package/esm2022/lib/sharedComponents/frequency/frequency.service.mjs +8 -4
- package/esm2022/lib/ui-kit/avatar-v2/avatar-v2.component.mjs +1 -2
- package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +18 -3
- package/esm2022/lib/workflow-engine-container/workflow-engine-container.component.mjs +1 -2
- package/esm2022/lib/workflow-policy/workflow-policy.component.mjs +1 -1
- package/esm2022/lib/workflow-program/create-program-ui/assessment-picker/assessment-picker.component.mjs +1 -1
- package/fesm2022/vcomply-workflow-engine.mjs +126 -39
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/constants/common.constants.d.ts +1 -0
- package/lib/pipes/pipes.module.d.ts +3 -2
- package/lib/pipes/responsibility-checked.pipe.d.ts +7 -0
- package/lib/services/common.service.d.ts +9 -0
- package/lib/sharedComponents/assessment-preview/preview/preview.component.d.ts +2 -1
- package/lib/sharedComponents/frequency/frequency-container/frequency-container.component.d.ts +2 -1
- package/lib/sharedComponents/frequency/frequency-on-completion-of/frequency-on-completion-of.component.d.ts +2 -2
- package/lib/sharedComponents/frequency/frequency-responsibility-list/frequency-responsibility-list.component.d.ts +5 -2
- package/lib/sharedComponents/frequency/frequency-responsibility-list/sub-responsibility/sub-responsibility.component.d.ts +2 -1
- package/lib/workflow-compliance/workflow-compliance.component.d.ts +2 -0
- package/lib/workflow-risk/workflow-risk.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -13,9 +13,10 @@ import * as i11 from "./within.pipe";
|
|
|
13
13
|
import * as i12 from "./user.pipe";
|
|
14
14
|
import * as i13 from "./get-editor-config.pipe";
|
|
15
15
|
import * as i14 from "./format-date.pipe";
|
|
16
|
-
import * as i15 from "
|
|
16
|
+
import * as i15 from "./responsibility-checked.pipe";
|
|
17
|
+
import * as i16 from "@angular/common";
|
|
17
18
|
export declare class PipesModule {
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, [typeof i1.DataTypePipe, typeof i2.FilterPipe, typeof i3.ListMapperPipe, typeof i4.SearchPipe, typeof i5.SpaceBreakerPipe, typeof i6.UncategorizedFilterPipe, typeof i7.UserFilterPipe, typeof i8.TooltipMessagePipe, typeof i9.DomSanitizerPipe, typeof i10.IsReadMorePipe, typeof i11.WithinStructurePipe, typeof i12.UserPipe, typeof i13.GetEditorConfigPipe, typeof i14.FormatDatePipe], [typeof
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, [typeof i1.DataTypePipe, typeof i2.FilterPipe, typeof i3.ListMapperPipe, typeof i4.SearchPipe, typeof i5.SpaceBreakerPipe, typeof i6.UncategorizedFilterPipe, typeof i7.UserFilterPipe, typeof i8.TooltipMessagePipe, typeof i9.DomSanitizerPipe, typeof i10.IsReadMorePipe, typeof i11.WithinStructurePipe, typeof i12.UserPipe, typeof i13.GetEditorConfigPipe, typeof i14.FormatDatePipe, typeof i15.ResponsibilityCheckedPipe], [typeof i16.CommonModule], [typeof i1.DataTypePipe, typeof i2.FilterPipe, typeof i3.ListMapperPipe, typeof i4.SearchPipe, typeof i5.SpaceBreakerPipe, typeof i6.UncategorizedFilterPipe, typeof i7.UserFilterPipe, typeof i8.TooltipMessagePipe, typeof i9.DomSanitizerPipe, typeof i10.IsReadMorePipe, typeof i11.WithinStructurePipe, typeof i12.UserPipe, typeof i13.GetEditorConfigPipe, typeof i14.FormatDatePipe, typeof i15.ResponsibilityCheckedPipe]>;
|
|
20
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
|
|
21
22
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ResponsibilityCheckedPipe implements PipeTransform {
|
|
4
|
+
transform(value: any, selectedResponsibility: any): boolean;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResponsibilityCheckedPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ResponsibilityCheckedPipe, "responsibilityChecked", false>;
|
|
7
|
+
}
|
|
@@ -37,6 +37,15 @@ export declare class CommonService {
|
|
|
37
37
|
added: number[];
|
|
38
38
|
removed: number[];
|
|
39
39
|
};
|
|
40
|
+
setPagination(res: any): {
|
|
41
|
+
responsibilities_from: number;
|
|
42
|
+
responsibilities_to: number;
|
|
43
|
+
total_responsibilities: any;
|
|
44
|
+
total_pages: number;
|
|
45
|
+
current_page: any;
|
|
46
|
+
per_page: any;
|
|
47
|
+
total_count: any;
|
|
48
|
+
};
|
|
40
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommonService, never>;
|
|
41
50
|
static ɵprov: i0.ɵɵInjectableDeclaration<CommonService>;
|
|
42
51
|
}
|
|
@@ -2,6 +2,7 @@ import { EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class PreviewComponent implements OnInit, OnChanges {
|
|
4
4
|
questionData: any;
|
|
5
|
+
isFullScreen: boolean;
|
|
5
6
|
previewBack: EventEmitter<any>;
|
|
6
7
|
pageData: any;
|
|
7
8
|
selectedDevice: string;
|
|
@@ -10,5 +11,5 @@ export declare class PreviewComponent implements OnInit, OnChanges {
|
|
|
10
11
|
ngOnChanges(): void;
|
|
11
12
|
generatePageDetails(): void;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<PreviewComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PreviewComponent, "app-preview", never, { "questionData": { "alias": "questionData"; "required": false; }; }, { "previewBack": "previewBack"; }, never, never, false, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PreviewComponent, "app-preview", never, { "questionData": { "alias": "questionData"; "required": false; }; "isFullScreen": { "alias": "isFullScreen"; "required": false; }; }, { "previewBack": "previewBack"; }, never, never, false, never>;
|
|
14
15
|
}
|
package/lib/sharedComponents/frequency/frequency-container/frequency-container.component.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare class FrequencyContainerComponent implements OnInit, OnChanges {
|
|
|
13
13
|
mode: any;
|
|
14
14
|
feature: any;
|
|
15
15
|
pageType: 'responsibility' | 'policy';
|
|
16
|
+
onCompletionResponsibility: any;
|
|
16
17
|
frequencyData: any;
|
|
17
18
|
frequencyList: {
|
|
18
19
|
name: string;
|
|
@@ -33,5 +34,5 @@ export declare class FrequencyContainerComponent implements OnInit, OnChanges {
|
|
|
33
34
|
save(): void;
|
|
34
35
|
close(): void;
|
|
35
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<FrequencyContainerComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FrequencyContainerComponent, "app-frequency-container", never, { "frequencyDetails": { "alias": "frequencyDetails"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "pageType": { "alias": "pageType"; "required": false; }; }, { "selectedFrequency": "selectedFrequency"; "closeFrequency": "closeFrequency"; }, never, never, false, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FrequencyContainerComponent, "app-frequency-container", never, { "frequencyDetails": { "alias": "frequencyDetails"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "pageType": { "alias": "pageType"; "required": false; }; "onCompletionResponsibility": { "alias": "onCompletionResponsibility"; "required": false; }; }, { "selectedFrequency": "selectedFrequency"; "closeFrequency": "closeFrequency"; }, never, never, false, never>;
|
|
37
38
|
}
|
|
@@ -5,6 +5,7 @@ export declare class FrequencyOnCompletionOfComponent implements OnInit {
|
|
|
5
5
|
private frequencyService;
|
|
6
6
|
mode: any;
|
|
7
7
|
feature: any;
|
|
8
|
+
onCompletionResponsibility: any;
|
|
8
9
|
DEFAULT_TIME: string;
|
|
9
10
|
onCompletionOfInput: number;
|
|
10
11
|
onCompletionOfWindow: number;
|
|
@@ -22,7 +23,6 @@ export declare class FrequencyOnCompletionOfComponent implements OnInit {
|
|
|
22
23
|
frequencyDetails: EventEmitter<any>;
|
|
23
24
|
radioForm: EventEmitter<any>;
|
|
24
25
|
openRadio: boolean;
|
|
25
|
-
featureFlag_on_completion_of: any;
|
|
26
26
|
backButton: boolean;
|
|
27
27
|
isSelectedData: boolean;
|
|
28
28
|
constructor(frequencyService: FrequencyService);
|
|
@@ -38,5 +38,5 @@ export declare class FrequencyOnCompletionOfComponent implements OnInit {
|
|
|
38
38
|
remove(): void;
|
|
39
39
|
timeSelection(event: any): void;
|
|
40
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<FrequencyOnCompletionOfComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FrequencyOnCompletionOfComponent, "app-frequency-on-completion-of", never, { "mode": { "alias": "mode"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "frequencyData": { "alias": "frequencyData"; "required": false; }; }, { "frequencyDetails": "frequencyDetails"; "radioForm": "radioForm"; }, never, never, false, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FrequencyOnCompletionOfComponent, "app-frequency-on-completion-of", never, { "mode": { "alias": "mode"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "onCompletionResponsibility": { "alias": "onCompletionResponsibility"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "frequencyData": { "alias": "frequencyData"; "required": false; }; }, { "frequencyDetails": "frequencyDetails"; "radioForm": "radioForm"; }, never, never, false, never>;
|
|
42
42
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { FrequencyService } from '../frequency.service';
|
|
3
|
+
import { CommonService } from '../../../services/common.service';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class FrequencyResponsibilityListComponent implements OnInit {
|
|
5
6
|
private frequencyService;
|
|
7
|
+
private commonService;
|
|
6
8
|
onCompletionOfResponsibility: any;
|
|
7
9
|
selectedResponsibilityDetails: any;
|
|
8
10
|
backButton: EventEmitter<any>;
|
|
@@ -73,7 +75,7 @@ export declare class FrequencyResponsibilityListComponent implements OnInit {
|
|
|
73
75
|
type: string;
|
|
74
76
|
paginationType: string;
|
|
75
77
|
a: string;
|
|
76
|
-
|
|
78
|
+
searchTerm: string;
|
|
77
79
|
filterData: {
|
|
78
80
|
appList: never[];
|
|
79
81
|
riskIds: never[];
|
|
@@ -94,7 +96,7 @@ export declare class FrequencyResponsibilityListComponent implements OnInit {
|
|
|
94
96
|
responsibilityList: any;
|
|
95
97
|
close: any;
|
|
96
98
|
openedResponsibility: any[];
|
|
97
|
-
constructor(frequencyService: FrequencyService);
|
|
99
|
+
constructor(frequencyService: FrequencyService, commonService: CommonService);
|
|
98
100
|
ngOnInit(): void;
|
|
99
101
|
back(): void;
|
|
100
102
|
getResponsibilityList(): void;
|
|
@@ -112,6 +114,7 @@ export declare class FrequencyResponsibilityListComponent implements OnInit {
|
|
|
112
114
|
removeDuplicateAssignee(assigneeDetails: any): any[];
|
|
113
115
|
mapRcs(rcs: any): any;
|
|
114
116
|
mapShortName(name: string): string;
|
|
117
|
+
populateResponsibility(): void;
|
|
115
118
|
onCompletionChange(event: any): void;
|
|
116
119
|
static ɵfac: i0.ɵɵFactoryDeclaration<FrequencyResponsibilityListComponent, never>;
|
|
117
120
|
static ɵcmp: i0.ɵɵComponentDeclaration<FrequencyResponsibilityListComponent, "app-frequency-responsibility-list", never, { "onCompletionOfResponsibility": { "alias": "onCompletionOfResponsibility"; "required": false; }; "selectedResponsibilityDetails": { "alias": "selectedResponsibilityDetails"; "required": false; }; }, { "backButton": "backButton"; "selectedResponsibility": "selectedResponsibility"; }, never, never, false, never>;
|
|
@@ -3,7 +3,8 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class SubResponsibilityComponent {
|
|
4
4
|
responsibility: any;
|
|
5
5
|
srNo: number;
|
|
6
|
+
selectedResponsibility: any;
|
|
6
7
|
onCompletionChange: EventEmitter<any>;
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<SubResponsibilityComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SubResponsibilityComponent, "lib-sub-responsibility", never, { "responsibility": { "alias": "responsibility"; "required": false; }; "srNo": { "alias": "srNo"; "required": false; }; }, { "onCompletionChange": "onCompletionChange"; }, never, never, true, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubResponsibilityComponent, "lib-sub-responsibility", never, { "responsibility": { "alias": "responsibility"; "required": false; }; "srNo": { "alias": "srNo"; "required": false; }; "selectedResponsibility": { "alias": "selectedResponsibility"; "required": false; }; }, { "onCompletionChange": "onCompletionChange"; }, never, never, true, never>;
|
|
9
10
|
}
|
|
@@ -254,6 +254,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
254
254
|
otherGRCSubscription: Subscription;
|
|
255
255
|
allowEditDueDateFeatureFlag: boolean;
|
|
256
256
|
allProgamSelected: any[];
|
|
257
|
+
onCompletionResponsibility: any;
|
|
257
258
|
whatInput: ElementRef;
|
|
258
259
|
unSubscribeProgram: Subject<void>;
|
|
259
260
|
responsibilityDetails: any;
|
|
@@ -445,6 +446,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
445
446
|
* @param {any} frequencyDetails - [4,1,1,1]
|
|
446
447
|
*/
|
|
447
448
|
getRandomPlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
449
|
+
getOnCompletePlaceholder(frequencyDetails: any, frequencyTime: any): void;
|
|
448
450
|
/**
|
|
449
451
|
* "When the user clicks the edit button, the edit button is hidden and the input field is shown.
|
|
450
452
|
* When the user clicks the input field, the input field is hidden and the edit button is shown."
|
|
@@ -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): "compliance" | "strategic" | "others" | "operational";
|
|
171
171
|
getRCList(): void;
|
|
172
172
|
getCategoryList(): void;
|
|
173
173
|
getOwnersList(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vcomply-workflow-engine",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.51",
|
|
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 "
|