impaktapps-ui-builder 0.0.353 → 0.0.355
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.
|
@@ -10320,14 +10320,16 @@ const buildStepper = (config, componentScope) => {
|
|
|
10320
10320
|
stepper.config.main.completeText = config.completeText || "CompleteText";
|
|
10321
10321
|
stepper.config.main.orientation = config.orientation || "horizontal";
|
|
10322
10322
|
if (config.sectionLabels) {
|
|
10323
|
-
stepper.config.main.
|
|
10323
|
+
stepper.config.main.label = config.sectionLabels.map((e, i) => {
|
|
10324
10324
|
return { label: e.label, id: i };
|
|
10325
10325
|
});
|
|
10326
10326
|
}
|
|
10327
10327
|
if (config.skipAvailable) {
|
|
10328
|
-
|
|
10329
|
-
|
|
10328
|
+
const stepObj = {};
|
|
10329
|
+
config.skipAvailable.map((e, i) => {
|
|
10330
|
+
stepObj[e.skipId] = true;
|
|
10330
10331
|
});
|
|
10332
|
+
stepper.config.main.stepSkip = stepObj;
|
|
10331
10333
|
}
|
|
10332
10334
|
if (config.layout) {
|
|
10333
10335
|
stepper.config.layout = createLayoutFormat(config.layout);
|