impaktapps-ui-builder 0.0.365 → 0.0.366
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/impaktapps-ui-builder.es.js +4 -1
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +8 -8
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildStepper.ts +4 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +2 -1
|
@@ -6817,10 +6817,10 @@ const buildPropertiesSection = function(type) {
|
|
|
6817
6817
|
case "Stepper":
|
|
6818
6818
|
uiSchema.elements = [
|
|
6819
6819
|
getRadioInputField("resetButton", "Reset Button", ["YES", "NO"]),
|
|
6820
|
+
getRadioInputField("defaultButtonAvailable", "Use Default Buttons ", ["YES", "NO"]),
|
|
6820
6821
|
getInputField("resetText", "Reset Text"),
|
|
6821
6822
|
getInputField("completeText", "Complete Text"),
|
|
6822
6823
|
getSelectField("orientation", "Orientation Type"),
|
|
6823
|
-
EmptyBox,
|
|
6824
6824
|
getArrayControl("sectionLabels", "label")
|
|
6825
6825
|
];
|
|
6826
6826
|
break;
|
|
@@ -10378,6 +10378,9 @@ const buildStepper = (config, componentScope) => {
|
|
|
10378
10378
|
const stepper = _.cloneDeep(Stepper);
|
|
10379
10379
|
stepper.scope = componentScope;
|
|
10380
10380
|
stepper.config.main.resetButton = config.resetButton === "YES" ? true : false;
|
|
10381
|
+
if (config.defaultButtonAvailable) {
|
|
10382
|
+
stepper.config.main.defaultButtonAvailable = config.defaultButtonAvailable === "YES" ? true : false;
|
|
10383
|
+
}
|
|
10381
10384
|
stepper.config.main.resetText = config.resetText || "ResetData";
|
|
10382
10385
|
stepper.config.main.completeText = config.completeText || "Complete Text";
|
|
10383
10386
|
stepper.config.main.orientation = config.orientation || "horizontal";
|