vcomply-workflow-engine 7.4.5 → 7.4.7
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 +338 -14
- package/esm2022/lib/constants/responsibility.mjs +58 -2
- package/esm2022/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.mjs +35 -8
- package/fesm2022/vcomply-workflow-engine.mjs +498 -90
- package/fesm2022/vcomply-workflow-engine.mjs.map +1 -1
- package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts +14 -0
- package/lib/constants/responsibility.d.ts +43 -0
- package/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.d.ts +5 -14
- package/package.json +1 -1
package/lib/add-multiple-responsibility-with-tab/add-multiple-responsibility-with-tab.component.d.ts
CHANGED
|
@@ -220,11 +220,18 @@ export declare class AddMultipleResponsibilityWithTabComponent implements OnInit
|
|
|
220
220
|
/**
|
|
221
221
|
* Adds dropdown-list checks on top of existing row validation.
|
|
222
222
|
* Empty optional cells are valid. Frequency / due date / due time are skipped for ongoing.
|
|
223
|
+
* Warning and info issues are shown in preview but do not make the row invalid.
|
|
223
224
|
*/
|
|
224
225
|
withDropdownValidation(obj: any, tabType: string, isProgram: boolean, hasExtendedFrequencyColumns?: boolean): any;
|
|
225
226
|
applyDropdownValidation(obj: any, tabType: string, isProgram: boolean, hasExtendedFrequencyColumns?: boolean): void;
|
|
226
227
|
getTemplateListNames(list: any[] | undefined, key: string): string[];
|
|
227
228
|
getProgramCategoryNames(): string[];
|
|
229
|
+
getProgramCategoryNamesForProgram(programName: any): string[];
|
|
230
|
+
setFieldIssue(obj: any, field: string, severity: string, message: string): void;
|
|
231
|
+
hasBlockingFieldIssues(obj: any): boolean;
|
|
232
|
+
samePerson(left: any, right: any): boolean;
|
|
233
|
+
isValidFormatUrl(value: any): boolean;
|
|
234
|
+
applySheetFieldMessages(obj: any, tabType: string, isProgram: boolean, hasExtendedFrequencyColumns?: boolean): void;
|
|
228
235
|
/**
|
|
229
236
|
* Entrusted By in the xlsx dropdown is the people list in `Name (email)` form
|
|
230
237
|
* (same source as Entrusted To / Reviewer), not the assignor name-only column.
|
|
@@ -238,6 +245,13 @@ export declare class AddMultipleResponsibilityWithTabComponent implements OnInit
|
|
|
238
245
|
isValidDropdownDay(value: any): boolean;
|
|
239
246
|
isValidDropdownMonth(value: any): boolean;
|
|
240
247
|
isValidDueTime(dueTime: any, hasExtendedFrequencyColumns?: boolean): boolean;
|
|
248
|
+
/**
|
|
249
|
+
* Optional field. When filled, the value must be a non-negative whole number.
|
|
250
|
+
* Rejects negatives, decimals, and non-numeric text. Blank is valid. 0 is allowed
|
|
251
|
+
* (Fail / Review Fail use 0 to mean complete/review on the due date).
|
|
252
|
+
*/
|
|
253
|
+
getWholeNumberDaysError(value: any): string;
|
|
254
|
+
applyDaysCountValidation(obj: any, tabType: string): void;
|
|
241
255
|
/**
|
|
242
256
|
* Optional field. When filled, the value must be numeric and greater than 0.
|
|
243
257
|
*/
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
export declare const RISK_CLASS_LIST: string[];
|
|
2
|
+
export declare const VALIDATION_SEVERITY: {
|
|
3
|
+
readonly ERROR: "error";
|
|
4
|
+
readonly WARNING: "warning";
|
|
5
|
+
readonly INFO: "info";
|
|
6
|
+
};
|
|
7
|
+
export declare const NON_BLOCKING_DROPDOWN_FIELDS: string[];
|
|
2
8
|
export declare const YES_NO_DROPDOWN_LIST: string[];
|
|
3
9
|
export declare const PROGRAM_TYPE_DROPDOWN_LIST: string[];
|
|
4
10
|
export declare const ASSIGNEE_TYPE_DROPDOWN_LIST: string[];
|
|
@@ -8,6 +14,40 @@ export declare const FREQUENCY_DROPDOWN_LIST: string[];
|
|
|
8
14
|
export declare const FULL_MONTH_NAMES: string[];
|
|
9
15
|
export declare const VALIDATION_MESSAGES: {
|
|
10
16
|
DROPDOWN: string;
|
|
17
|
+
RESPONSIBILITY_NAME_REQUIRED: string;
|
|
18
|
+
RESPONSIBILITY_NAME_WHITESPACE: string;
|
|
19
|
+
PROGRAM_CATEGORY_MISMATCH: string;
|
|
20
|
+
PROGRAM_CATEGORY_WITHOUT_PROGRAM: string;
|
|
21
|
+
PROGRAM_TYPE_WITHOUT_PROGRAM: string;
|
|
22
|
+
ENTRUSTED_BY_INVALID: string;
|
|
23
|
+
ENTRUSTED_BY_INACTIVE: string;
|
|
24
|
+
ASSIGNEE_REQUIRED: string;
|
|
25
|
+
ASSIGNEE_INVALID: string;
|
|
26
|
+
ASSIGNEE_INACTIVE: string;
|
|
27
|
+
ASSIGNEE_TYPE_INVALID: string;
|
|
28
|
+
GROUP_ALL_ANY_BLANK: string;
|
|
29
|
+
KEY_RESPONSIBILITY_INVALID: string;
|
|
30
|
+
FREQUENCY_REQUIRED: string;
|
|
31
|
+
DUE_DATE_DAY_NOT_NUMBER: string;
|
|
32
|
+
DUE_DATE_DAY_OUT_OF_RANGE: string;
|
|
33
|
+
DUE_DATE_REQUIRED: string;
|
|
34
|
+
DUE_DATE_MONTH_INVALID: string;
|
|
35
|
+
DUE_TIME_BLANK: string;
|
|
36
|
+
RC_TYPE_WITHOUT_NAME: string;
|
|
37
|
+
RC_INACTIVE: string;
|
|
38
|
+
FORMAT_LINK_WITHOUT_YES: string;
|
|
39
|
+
FORMAT_INVALID_URL: string;
|
|
40
|
+
REVIEWER_INACTIVE: string;
|
|
41
|
+
REVIEW_WINDOW_WITHOUT_REVIEWER: string;
|
|
42
|
+
OVERSIGHT_DUPLICATE_ASSIGNEE: string;
|
|
43
|
+
OVERSIGHT_DUPLICATE_ASSIGNOR: string;
|
|
44
|
+
OVERSIGHT_INACTIVE: string;
|
|
45
|
+
COLLABORATOR_INACTIVE: string;
|
|
46
|
+
COLLABORATOR_GROUP: string;
|
|
47
|
+
ONE_TIME_LIFECYCLE: string;
|
|
48
|
+
ENDS_AFTER_ONE_OCCURRENCE: string;
|
|
49
|
+
USER_NOT_IN_PROGRAM: string;
|
|
50
|
+
PAST_DUE_DATE: string;
|
|
11
51
|
RISK_CLASS: string;
|
|
12
52
|
DAY: string;
|
|
13
53
|
DATE_FORMAT: string;
|
|
@@ -15,8 +55,11 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
15
55
|
DUE_TIME: string;
|
|
16
56
|
ENDS_AFTER_OCCURRENCES_GREATER_THAN_ZERO: string;
|
|
17
57
|
ENDS_AFTER_OCCURRENCES_NUMERIC: string;
|
|
58
|
+
WHOLE_NUMBER_NON_NEGATIVE: string;
|
|
59
|
+
POSITIVE_NUMBER: string;
|
|
18
60
|
ENDS_BY_DATE_INVALID_VALUE: string;
|
|
19
61
|
ENDS_BY_DATE_INCOMPLETE: string;
|
|
20
62
|
ENDS_BY_DATE_PAST: string;
|
|
21
63
|
ENDS_BY_DATE_CONFLICT: string;
|
|
22
64
|
};
|
|
65
|
+
export declare function dueDateDayOutOfRangeMessage(frequency: string): string;
|
package/lib/sharedComponents/bulk-responsibility-view/bulk-responsibility-view.component.d.ts
CHANGED
|
@@ -1,20 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class BulkResponsibilityViewComponent {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
DUE_DATE: string;
|
|
10
|
-
DUE_TIME: string;
|
|
11
|
-
ENDS_AFTER_OCCURRENCES_GREATER_THAN_ZERO: string;
|
|
12
|
-
ENDS_AFTER_OCCURRENCES_NUMERIC: string;
|
|
13
|
-
ENDS_BY_DATE_INVALID_VALUE: string;
|
|
14
|
-
ENDS_BY_DATE_INCOMPLETE: string;
|
|
15
|
-
ENDS_BY_DATE_PAST: string;
|
|
16
|
-
ENDS_BY_DATE_CONFLICT: string;
|
|
17
|
-
};
|
|
4
|
+
cellSeverity(report: any, field: string): string;
|
|
5
|
+
cellMessage(report: any, field: string): string;
|
|
6
|
+
cellClass(report: any, field: string): string;
|
|
7
|
+
rowIndexClass(report: any): string;
|
|
8
|
+
isUploadable(report: any): boolean;
|
|
18
9
|
responsibilityBulkUpload: any;
|
|
19
10
|
fileName: any;
|
|
20
11
|
defaultOwner: 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.7",
|
|
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 "
|