@arquimedes.co/eureka-forms 1.5.3-test → 1.5.6-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.d.ts
CHANGED
|
@@ -235,8 +235,8 @@ var updateValue = function (idStep, values, form, customSteps) {
|
|
|
235
235
|
break;
|
|
236
236
|
}
|
|
237
237
|
default:
|
|
238
|
-
if (step.type === 'CBR_INCIDENCIAS') {
|
|
239
|
-
values[step.id] = (_a = values[step.id]) === null || _a === void 0 ? void 0 : _a.
|
|
238
|
+
if ((step === null || step === void 0 ? void 0 : step.type) === 'CBR_INCIDENCIAS') {
|
|
239
|
+
values[step.id] = (_a = values[step.id]) === null || _a === void 0 ? void 0 : _a.filter(function (inmueble) { return inmueble.deleted !== false; });
|
|
240
240
|
}
|
|
241
241
|
break;
|
|
242
242
|
}
|
|
@@ -33,10 +33,11 @@ import FileUploadStep from './FileUploadStep/FileUploadStep';
|
|
|
33
33
|
import CheckBoxStep from './CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep';
|
|
34
34
|
import CBRStepMapper from './CBRStepMapper';
|
|
35
35
|
function StepComponent(_a) {
|
|
36
|
+
var _b;
|
|
36
37
|
var step = _a.step, props = __rest(_a, ["step"]);
|
|
37
38
|
var customStep = props.customSteps[step.type];
|
|
38
39
|
if (customStep) {
|
|
39
|
-
return customStep.component(__assign({ step: step }, props));
|
|
40
|
+
return customStep.component(__assign(__assign({ step: step }, props), ((_b = customStep.componentProps) !== null && _b !== void 0 ? _b : {})));
|
|
40
41
|
}
|
|
41
42
|
switch (step.type) {
|
|
42
43
|
case Types.TITLE: {
|
package/package.json
CHANGED