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
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@ const Stepper = {
|
|
|
10
10
|
|
|
11
11
|
config: {
|
|
12
12
|
main: {
|
|
13
|
-
steps:[{label:"First"}, {label:"Second"},{label: "Third"}],
|
|
13
|
+
steps: [{ label: "First" }, { label: "Second" }, { label: "Third" }],
|
|
14
14
|
resetButton: false,
|
|
15
15
|
resetText: "Reset",
|
|
16
16
|
orientation: "vertical"
|
|
@@ -24,6 +24,9 @@ export const buildStepper = (config, componentScope) => {
|
|
|
24
24
|
const stepper: any = _.cloneDeep(Stepper);
|
|
25
25
|
stepper.scope = componentScope;
|
|
26
26
|
stepper.config.main.resetButton = config.resetButton === "YES" ? true : false;
|
|
27
|
+
if (config.defaultButtonAvailable) {
|
|
28
|
+
stepper.config.main.defaultButtonAvailable = config.defaultButtonAvailable === "YES" ? true : false;
|
|
29
|
+
}
|
|
27
30
|
stepper.config.main.resetText = config.resetText || "ResetData";
|
|
28
31
|
stepper.config.main.completeText = config.completeText || "Complete Text";
|
|
29
32
|
stepper.config.main.orientation = config.orientation || "horizontal";
|
|
@@ -183,13 +183,14 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
183
183
|
case "Stepper":
|
|
184
184
|
uiSchema.elements = [
|
|
185
185
|
getRadioInputField("resetButton", "Reset Button", ["YES", "NO"]),
|
|
186
|
+
getRadioInputField("defaultButtonAvailable", "Use Default Buttons ", ["YES", "NO"]),
|
|
186
187
|
getInputField("resetText", "Reset Text"),
|
|
187
188
|
getInputField("completeText", "Complete Text"),
|
|
188
189
|
getSelectField("orientation", "Orientation Type", [
|
|
189
190
|
{ label: "Horizontal", value: "horizontal" },
|
|
190
191
|
{ label: "Vertical", value: "vertical" },
|
|
191
192
|
]),
|
|
192
|
-
|
|
193
|
+
|
|
193
194
|
getArrayControl("sectionLabels", "label")
|
|
194
195
|
|
|
195
196
|
]
|