@arquimedes.co/eureka-forms 2.0.15-test → 2.0.16-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.
|
@@ -12,5 +12,5 @@ export declare const addMapperStep: <Type>(step: Mapper, customSteps: Record<str
|
|
|
12
12
|
steps: Record<string, FormStep>;
|
|
13
13
|
};
|
|
14
14
|
export declare function calcRecursiveData<Type>(element: Readonly<MapperElement<Type>>, newSteps: Record<string, FormStep>, customSteps: Record<string, CustomStep>): void;
|
|
15
|
-
export declare const mapOriginalValue: (step: FormStep, value: any, values: ValuesStore, form
|
|
15
|
+
export declare const mapOriginalValue: (step: FormStep, value: any, values: ValuesStore, form?: Readonly<Form>) => any;
|
|
16
16
|
export declare const calcInitialSections: (form: Form) => Pick<SiteState, 'previousSections' | 'idCurrentSection' | 'nextSections'>;
|
package/dist/App/AppFunctions.js
CHANGED
|
@@ -172,7 +172,7 @@ export var mapOriginalValue = function (step, value, values, form) {
|
|
|
172
172
|
return value;
|
|
173
173
|
}
|
|
174
174
|
case StepTypes.CLASSIFIER_SELECTOR: {
|
|
175
|
-
var stepClassifier = (_d = form.classifiers) === null || _d === void 0 ? void 0 : _d[(_e = step.idClassifier) !== null && _e !== void 0 ? _e : ''];
|
|
175
|
+
var stepClassifier = (_d = form === null || form === void 0 ? void 0 : form.classifiers) === null || _d === void 0 ? void 0 : _d[(_e = step.idClassifier) !== null && _e !== void 0 ? _e : ''];
|
|
176
176
|
if (stepClassifier) {
|
|
177
177
|
var classifier = (_f = form.classifiers) === null || _f === void 0 ? void 0 : _f[value];
|
|
178
178
|
if (!(value === null || value === void 0 ? void 0 : value.value))
|
package/package.json
CHANGED