vcomply-workflow-engine 7.4.3 → 7.4.5
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 +294 -38
- 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 +364 -42
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +33 -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/package.json +1 -1
package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts
CHANGED
|
@@ -157,6 +157,19 @@ export declare class AddMultipleResponsibilityWithTabComponent implements OnInit
|
|
|
157
157
|
viewResponsibilities(): void;
|
|
158
158
|
fileUpload(): void;
|
|
159
159
|
setOrganizationDetails(tempList: any): void;
|
|
160
|
+
/**
|
|
161
|
+
* Child categories live in later Data-sheet columns whose header is the program id.
|
|
162
|
+
* Skip the program listing id columns (22-29 area) — those same ids also appear there
|
|
163
|
+
* for the first program of each type, which would attach the wrong names.
|
|
164
|
+
*/
|
|
165
|
+
getProgramCategoryIdColumns(headerRow: any[] | undefined, programId: any): number[];
|
|
166
|
+
parsePeopleListCell(value: any): {
|
|
167
|
+
nameAndEmail: string;
|
|
168
|
+
name: string;
|
|
169
|
+
email: string;
|
|
170
|
+
};
|
|
171
|
+
addPeopleDropdownName(value: any): void;
|
|
172
|
+
collectEmailDisplayNamesFromSheet(tempList?: any[]): void;
|
|
160
173
|
getProgramDetails(element: any, index: any, type: number): {
|
|
161
174
|
programName: any;
|
|
162
175
|
programId: any;
|
|
@@ -204,6 +217,26 @@ export declare class AddMultipleResponsibilityWithTabComponent implements OnInit
|
|
|
204
217
|
*/
|
|
205
218
|
setReportDetails(report: any, tabType: string, isProgram: boolean, hasExtendedFrequencyColumns?: boolean): any;
|
|
206
219
|
isValidRiskClass(riskClass: any): boolean;
|
|
220
|
+
/**
|
|
221
|
+
* Adds dropdown-list checks on top of existing row validation.
|
|
222
|
+
* Empty optional cells are valid. Frequency / due date / due time are skipped for ongoing.
|
|
223
|
+
*/
|
|
224
|
+
withDropdownValidation(obj: any, tabType: string, isProgram: boolean, hasExtendedFrequencyColumns?: boolean): any;
|
|
225
|
+
applyDropdownValidation(obj: any, tabType: string, isProgram: boolean, hasExtendedFrequencyColumns?: boolean): void;
|
|
226
|
+
getTemplateListNames(list: any[] | undefined, key: string): string[];
|
|
227
|
+
getProgramCategoryNames(): string[];
|
|
228
|
+
/**
|
|
229
|
+
* Entrusted By in the xlsx dropdown is the people list in `Name (email)` form
|
|
230
|
+
* (same source as Entrusted To / Reviewer), not the assignor name-only column.
|
|
231
|
+
*/
|
|
232
|
+
isInUserDropdown(value: any): boolean;
|
|
233
|
+
normalizeDropdownValue(value: any): string;
|
|
234
|
+
extractDropdownEmail(value: any): string;
|
|
235
|
+
extractDropdownName(value: any): string;
|
|
236
|
+
isInStaticDropdown(value: any, options: string[]): boolean;
|
|
237
|
+
isInDropdownList(value: any, options: string[]): boolean;
|
|
238
|
+
isValidDropdownDay(value: any): boolean;
|
|
239
|
+
isValidDropdownMonth(value: any): boolean;
|
|
207
240
|
isValidDueTime(dueTime: any, hasExtendedFrequencyColumns?: boolean): boolean;
|
|
208
241
|
/**
|
|
209
242
|
* 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[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vcomply-workflow-engine",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.5",
|
|
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 "
|