c2-clinical 1.0.153 → 1.0.154
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.
|
@@ -4,11 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const BuildTreeFlowItem_1 = __importDefault(require("./item/BuildTreeFlowItem"));
|
|
7
|
-
const GetEnablesFormUnitsFlowItem_1 = __importDefault(require("./item/GetEnablesFormUnitsFlowItem"));
|
|
8
7
|
class GroupFormUnitsFlow {
|
|
9
8
|
execute(formUnits, allQuestions) {
|
|
10
|
-
const questionsEnableds =
|
|
11
|
-
|
|
9
|
+
// const questionsEnableds = GetEnablesFormUnitsFlowItem.execute(
|
|
10
|
+
// formUnits,
|
|
11
|
+
// allQuestions ?? formUnits
|
|
12
|
+
// );
|
|
13
|
+
const questionsWithOrganizedChilds = BuildTreeFlowItem_1.default.execute(formUnits);
|
|
12
14
|
return questionsWithOrganizedChilds;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -30,6 +30,10 @@ class ProcessAnswerFlowTester {
|
|
|
30
30
|
if (relationed.formulaToDescription) {
|
|
31
31
|
relationed.description = ExecFormulaFlowTester_1.default.execute(relationed.formulaToDescription, allQuestionsAnswereds, attendanceMetActivities);
|
|
32
32
|
}
|
|
33
|
+
// formulaToEnable
|
|
34
|
+
if (relationed.formulaToEnable) {
|
|
35
|
+
relationed.enable = ExecFormulaFlowTester_1.default.execute(relationed.formulaToEnable, allQuestionsAnswereds, attendanceMetActivities);
|
|
36
|
+
}
|
|
33
37
|
// formulaToReferenceValue
|
|
34
38
|
if (relationed?.formulaToReferenceValue) {
|
|
35
39
|
relationed.referenceValue = ExecFormulaFlowTester_1.default.execute(relationed.formulaToReferenceValue, allQuestionsAnswereds, attendanceMetActivities);
|
package/package.json
CHANGED