vcomply-workflow-engine 2.6.54 → 2.6.55
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/bundles/vcomply-workflow-engine.umd.js +3 -3
- package/bundles/vcomply-workflow-engine.umd.js.map +1 -1
- package/esm2015/lib/workflow-services/programs.service.js +4 -4
- package/fesm2015/vcomply-workflow-engine.js +3 -3
- package/fesm2015/vcomply-workflow-engine.js.map +1 -1
- package/package.json +1 -1
|
@@ -2822,8 +2822,8 @@
|
|
|
2822
2822
|
state: (_k = form === null || form === void 0 ? void 0 : form.program_state) !== null && _k !== void 0 ? _k : 0,
|
|
2823
2823
|
approvers: (option === null || option === void 0 ? void 0 : option.APPROVER) ? (_l = this.listToId(form === null || form === void 0 ? void 0 : form.program_approver, 'member_id')) !== null && _l !== void 0 ? _l : [] : [],
|
|
2824
2824
|
calculate_past_upcoming_event: (_m = form === null || form === void 0 ? void 0 : form.performance_calculation) !== null && _m !== void 0 ? _m : '',
|
|
2825
|
-
program_frequency: option.PROGRAM_FREQUENCY ? (form === null || form === void 0 ? void 0 : form.recurring_frequency) ? 1 : 0 :
|
|
2826
|
-
lock_scope: option.SCOPE_CHANGES ? (form === null || form === void 0 ? void 0 : form.lock_scope_change) ? 1 : 0 : 0,
|
|
2825
|
+
program_frequency: option.PROGRAM_FREQUENCY ? ((form === null || form === void 0 ? void 0 : form.recurring_frequency) ? 1 : 0) : 1,
|
|
2826
|
+
lock_scope: option.SCOPE_CHANGES ? ((form === null || form === void 0 ? void 0 : form.lock_scope_change) ? 1 : 0) : 0,
|
|
2827
2827
|
rc_ids: option.RC ? this.listToId(form === null || form === void 0 ? void 0 : form.rc, 'item_id') : [],
|
|
2828
2828
|
assignee_ids: option.ASSIGNEES ? this.listToId(form === null || form === void 0 ? void 0 : form.program_assignee, 'member_id') : [],
|
|
2829
2829
|
assignee_group_ids: option.ASSIGNEES ? this.listToId(form === null || form === void 0 ? void 0 : form.program_assignee_group, 'group_id') : [],
|
|
@@ -2845,7 +2845,7 @@
|
|
|
2845
2845
|
assessment: (option === null || option === void 0 ? void 0 : option.ASSESSMENT) ? this.generateAssessment(form.program_assessments) : [],
|
|
2846
2846
|
evidence_upload_flag: (option === null || option === void 0 ? void 0 : option.FORMATE_EVIDENCE) ? (form === null || form === void 0 ? void 0 : form.evidence_required) ? 1 : 0 : 0,
|
|
2847
2847
|
is_key_evidence: form === null || form === void 0 ? void 0 : form.allow_any_file_key_evidence,
|
|
2848
|
-
custom_fields: (_o = form === null || form === void 0 ? void 0 : form.custom_fields) !== null && _o !== void 0 ? _o : [],
|
|
2848
|
+
custom_fields: (option === null || option === void 0 ? void 0 : option.CUSTOM_FIELDS) ? (_o = form === null || form === void 0 ? void 0 : form.custom_fields) !== null && _o !== void 0 ? _o : [] : [],
|
|
2849
2849
|
framework: (_p = this.getFramework(form === null || form === void 0 ? void 0 : form.framework)) !== null && _p !== void 0 ? _p : [],
|
|
2850
2850
|
_id: instance.mode === 'EDIT' ? instance.programId : undefined,
|
|
2851
2851
|
};
|