@legalplace/prerenderx 2.3.43 → 2.3.45
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.
|
@@ -61,7 +61,6 @@ var DataPopulator = (function () {
|
|
|
61
61
|
values = values.map(function (v) { return (typeof v === 'number' ? v : parseNumber(v)); });
|
|
62
62
|
}
|
|
63
63
|
this_1.data.v[variableId] = __spreadArrays(values);
|
|
64
|
-
console.log(variableId, values);
|
|
65
64
|
};
|
|
66
65
|
var this_1 = this;
|
|
67
66
|
for (var i = 0; i < this.dataMap.v.length; i += 1) {
|
|
@@ -148,9 +147,6 @@ var DataPopulator = (function () {
|
|
|
148
147
|
var result = inputs.map(function (input, index) {
|
|
149
148
|
return _this.conditionsRunner.executeCondition(conditions, variableId, index, 'variables');
|
|
150
149
|
});
|
|
151
|
-
console.log(variableId, 281);
|
|
152
|
-
if (variableId === 281)
|
|
153
|
-
console.log(result);
|
|
154
150
|
return result;
|
|
155
151
|
};
|
|
156
152
|
DataPopulator.prototype.sectionConditionValue = function (sectionId) {
|
|
@@ -41,6 +41,7 @@ var OptionRender = (function () {
|
|
|
41
41
|
var output = OutputParser_1.parseOutputWithVariables(option.meta.output, variables, autonums);
|
|
42
42
|
output = output.replace(/\n/g, '<br />');
|
|
43
43
|
output = output.replace(/<p><\/p>/g, '<br />');
|
|
44
|
+
output = output.replace(/\xA0/g, ' ');
|
|
44
45
|
this.outputs.push(output);
|
|
45
46
|
}
|
|
46
47
|
this.renderChildren();
|
package/package.json
CHANGED
|
@@ -101,7 +101,6 @@ class DataPopulator {
|
|
|
101
101
|
|
|
102
102
|
// Adding variables
|
|
103
103
|
this.data.v[variableId] = [...values]
|
|
104
|
-
console.log(variableId, values)
|
|
105
104
|
}
|
|
106
105
|
}
|
|
107
106
|
|
|
@@ -233,9 +232,6 @@ class DataPopulator {
|
|
|
233
232
|
return this.conditionsRunner.executeCondition(conditions, variableId, index, 'variables')
|
|
234
233
|
})
|
|
235
234
|
|
|
236
|
-
console.log(variableId, 281)
|
|
237
|
-
if (variableId === 281) console.log(result)
|
|
238
|
-
|
|
239
235
|
return result
|
|
240
236
|
}
|
|
241
237
|
|
package/src/libs/OptionRender.ts
CHANGED