@arquimedes.co/eureka-forms 1.9.104-test → 1.9.105-test
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/dist/App.js +5 -5
- package/package.json +1 -1
package/dist/App.js
CHANGED
|
@@ -382,6 +382,8 @@ export var addInitialMapper = function (newValues, step) {
|
|
|
382
382
|
};
|
|
383
383
|
export var mapOriginalValue = function (step, value, newValues, form) {
|
|
384
384
|
var _a, _b, _c, _d, _e;
|
|
385
|
+
if (!value)
|
|
386
|
+
return value;
|
|
385
387
|
switch (step === null || step === void 0 ? void 0 : step.type) {
|
|
386
388
|
case StepTypes.MAPPER: {
|
|
387
389
|
var elements = value;
|
|
@@ -401,11 +403,9 @@ export var mapOriginalValue = function (step, value, newValues, form) {
|
|
|
401
403
|
var idStep = _g[_f];
|
|
402
404
|
var newIdStep = step.id + '-' + idStep + '-' + idElement;
|
|
403
405
|
mappedElement.ids[idStep] = newIdStep;
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
newValues[newIdStep] = value_1;
|
|
408
|
-
}
|
|
406
|
+
var value_1 = mapOriginalValue(step.steps[idStep], element[idStep], newValues, form);
|
|
407
|
+
if (value_1 !== undefined) {
|
|
408
|
+
newValues[newIdStep] = value_1;
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
for (var _h = 0, _j = Object.keys(element); _h < _j.length; _h++) {
|
package/package.json
CHANGED