vcomply-workflow-engine 7.4.3 → 7.4.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 +184 -30
- package/esm2022/lib/constants/responsibility.mjs +44 -1
- package/esm2022/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.mjs +3 -3
- package/esm2022/lib/workflow-compliance/workflow-compliance.component.mjs +28 -5
- package/fesm2022/vcomply-workflow-engine.mjs +254 -34
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +18 -0
- package/lib/constants/responsibility.d.ts +7 -0
- package/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.d.ts +1 -0
- package/lib/workflow-compliance/workflow-compliance.component.d.ts +2 -1
- package/lib/workflow-risk/workflow-risk.component.d.ts +1 -1
- package/package.json +1 -1
package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts
CHANGED
|
@@ -204,6 +204,24 @@ export declare class AddMultipleResponsibilityWithTabComponent implements OnInit
|
|
|
204
204
|
*/
|
|
205
205
|
setReportDetails(report: any, tabType: string, isProgram: boolean, hasExtendedFrequencyColumns?: boolean): any;
|
|
206
206
|
isValidRiskClass(riskClass: any): boolean;
|
|
207
|
+
/**
|
|
208
|
+
* Adds dropdown-list checks on top of existing row validation.
|
|
209
|
+
* Empty optional cells are valid. Frequency / due date / due time are skipped for ongoing.
|
|
210
|
+
*/
|
|
211
|
+
withDropdownValidation(obj: any, tabType: string, isProgram: boolean, hasExtendedFrequencyColumns?: boolean): any;
|
|
212
|
+
applyDropdownValidation(obj: any, tabType: string, isProgram: boolean, hasExtendedFrequencyColumns?: boolean): void;
|
|
213
|
+
getTemplateListNames(list: any[] | undefined, key: string): string[];
|
|
214
|
+
getProgramCategoryNames(): string[];
|
|
215
|
+
getAssignorDropdownNames(): string[];
|
|
216
|
+
/**
|
|
217
|
+
* Entrusted By in the xlsx dropdown is the people list in `Name (email)` form
|
|
218
|
+
* (same source as Entrusted To / Reviewer), not the assignor name-only column.
|
|
219
|
+
*/
|
|
220
|
+
isInUserDropdown(value: any): boolean;
|
|
221
|
+
isInStaticDropdown(value: any, options: string[]): boolean;
|
|
222
|
+
isInDropdownList(value: any, options: string[]): boolean;
|
|
223
|
+
isValidDropdownDay(value: any): boolean;
|
|
224
|
+
isValidDropdownMonth(value: any): boolean;
|
|
207
225
|
isValidDueTime(dueTime: any, hasExtendedFrequencyColumns?: boolean): boolean;
|
|
208
226
|
/**
|
|
209
227
|
* Optional field. When filled, the value must be numeric and greater than 0.
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
export declare const RISK_CLASS_LIST: string[];
|
|
2
|
+
export declare const YES_NO_DROPDOWN_LIST: string[];
|
|
3
|
+
export declare const PROGRAM_TYPE_DROPDOWN_LIST: string[];
|
|
4
|
+
export declare const ASSIGNEE_TYPE_DROPDOWN_LIST: string[];
|
|
5
|
+
export declare const RC_TYPE_DROPDOWN_LIST: string[];
|
|
6
|
+
export declare const REVIEWER_TYPE_DROPDOWN_LIST: string[];
|
|
7
|
+
export declare const FREQUENCY_DROPDOWN_LIST: string[];
|
|
2
8
|
export declare const FULL_MONTH_NAMES: string[];
|
|
3
9
|
export declare const VALIDATION_MESSAGES: {
|
|
10
|
+
DROPDOWN: string;
|
|
4
11
|
RISK_CLASS: string;
|
|
5
12
|
DAY: string;
|
|
6
13
|
DATE_FORMAT: string;
|
|
@@ -471,7 +471,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
471
471
|
* @param {any} [res] - is the response from the API
|
|
472
472
|
*/
|
|
473
473
|
getEditMoreOptions(res?: any): void;
|
|
474
|
-
|
|
474
|
+
checkDescription(): void;
|
|
475
475
|
reviewerTypeChange(event: any): void;
|
|
476
476
|
selectedSampleData(event: number): void;
|
|
477
477
|
/**
|
|
@@ -543,6 +543,7 @@ export declare class WorkflowComplianceComponent implements OnInit {
|
|
|
543
543
|
populateProgramDetails(res: any): void;
|
|
544
544
|
populateLinkedAssessmentFromMeta(res: any): void;
|
|
545
545
|
populateFrequencyDetails(frequency: any): void;
|
|
546
|
+
private normalizeLifecycleStartFrom;
|
|
546
547
|
mapLinkedPrograms(programs: {
|
|
547
548
|
linked: Record<string, number[]>;
|
|
548
549
|
data: any[];
|
|
@@ -169,7 +169,7 @@ export declare class WorkflowRiskComponent implements OnInit {
|
|
|
169
169
|
setPopupButtons(): void;
|
|
170
170
|
getRiskDetails(riskId: any): void;
|
|
171
171
|
populateOptionalFields(): void;
|
|
172
|
-
setCategoryType(type: any): "
|
|
172
|
+
setCategoryType(type: any): "compliance" | "strategic" | "others" | "operational";
|
|
173
173
|
getRCList(): void;
|
|
174
174
|
getCategoryList(): void;
|
|
175
175
|
getOwnersList(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vcomply-workflow-engine",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.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 "
|