impaktapps-ui-builder 0.0.355 → 0.0.356
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 +13 -7
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- 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 -4
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +3 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +5 -0
|
@@ -5899,6 +5899,12 @@ const ComponentSchema = {
|
|
|
5899
5899
|
{ title: "Upload File", const: "UploadFile" }
|
|
5900
5900
|
]
|
|
5901
5901
|
},
|
|
5902
|
+
orientation: {
|
|
5903
|
+
oneOf: [
|
|
5904
|
+
{ title: "Horizontal", const: "horizontal" },
|
|
5905
|
+
{ title: "Vertical", const: "vertical" }
|
|
5906
|
+
]
|
|
5907
|
+
},
|
|
5902
5908
|
method: {
|
|
5903
5909
|
type: "string",
|
|
5904
5910
|
oneOf: [
|
|
@@ -6788,14 +6794,14 @@ const buildPropertiesSection = function(type) {
|
|
|
6788
6794
|
switch (type) {
|
|
6789
6795
|
case "Stepper":
|
|
6790
6796
|
uiSchema.elements = [
|
|
6791
|
-
getRadioInputField("complete", "Complete Needed", ["YES", "NO"]),
|
|
6792
6797
|
getRadioInputField("resetButton", "Reset Button", ["YES", "NO"]),
|
|
6798
|
+
getRadioInputField("fullWidth", "Reset Button", ["YES", "NO"]),
|
|
6793
6799
|
getInputField("resetText", "Reset Text"),
|
|
6794
6800
|
getInputField("completeText", "Complete Text"),
|
|
6795
6801
|
getSelectField("orientation", "Orientation Type"),
|
|
6802
|
+
EmptyBox,
|
|
6796
6803
|
getArrayControl("sectionLabels", "label"),
|
|
6797
|
-
getArrayControl("skipAvailable", "skipId")
|
|
6798
|
-
EmptyBox
|
|
6804
|
+
getArrayControl("skipAvailable", "skipId")
|
|
6799
6805
|
];
|
|
6800
6806
|
break;
|
|
6801
6807
|
case "PopUp":
|
|
@@ -10305,7 +10311,7 @@ const Stepper = {
|
|
|
10305
10311
|
label: ["First", "Second", "Third"],
|
|
10306
10312
|
stepsSkip: { 0: "false", 1: "false" },
|
|
10307
10313
|
resetButton: false,
|
|
10308
|
-
resetText: "
|
|
10314
|
+
resetText: "Reset",
|
|
10309
10315
|
orientation: "vertical"
|
|
10310
10316
|
}
|
|
10311
10317
|
},
|
|
@@ -10314,10 +10320,10 @@ const Stepper = {
|
|
|
10314
10320
|
const buildStepper = (config, componentScope) => {
|
|
10315
10321
|
const stepper = _.cloneDeep(Stepper);
|
|
10316
10322
|
stepper.scope = componentScope;
|
|
10317
|
-
stepper.config.main.
|
|
10318
|
-
stepper.config.main.
|
|
10323
|
+
stepper.config.main.resetButton = config.resetButton === "YES" ? true : false;
|
|
10324
|
+
stepper.config.main.fullWidth = config.fullWidth === "YES" ? true : false;
|
|
10319
10325
|
stepper.config.main.resetText = config.resetText || "ResetData";
|
|
10320
|
-
stepper.config.main.completeText = config.completeText || "
|
|
10326
|
+
stepper.config.main.completeText = config.completeText || "Complete Text";
|
|
10321
10327
|
stepper.config.main.orientation = config.orientation || "horizontal";
|
|
10322
10328
|
if (config.sectionLabels) {
|
|
10323
10329
|
stepper.config.main.label = config.sectionLabels.map((e, i) => {
|