impaktapps-ui-builder 0.0.358 → 0.0.359
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 +2 -22
- 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 +2 -12
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +1 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +0 -12
package/package.json
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import _ from "lodash";
|
|
2
2
|
import { createLayoutFormat } from "./buildConfig";
|
|
3
3
|
|
|
4
|
-
const Stepper =
|
|
5
|
-
|
|
6
|
-
{
|
|
4
|
+
const Stepper = {
|
|
7
5
|
type: "Control",
|
|
8
6
|
scope: "#/properties/Stepper",
|
|
9
7
|
options: {
|
|
@@ -12,8 +10,7 @@ const Stepper =
|
|
|
12
10
|
|
|
13
11
|
config: {
|
|
14
12
|
main: {
|
|
15
|
-
label:
|
|
16
|
-
stepsSkip: { 0: "false", 1: "false" },
|
|
13
|
+
steps:[{label:"First"}, {label:"Second"},{label: "Third"}],
|
|
17
14
|
resetButton: false,
|
|
18
15
|
resetText: "Reset",
|
|
19
16
|
orientation: "vertical"
|
|
@@ -35,13 +32,6 @@ export const buildStepper = (config, componentScope) => {
|
|
|
35
32
|
return { label: e.label, id: i }
|
|
36
33
|
});
|
|
37
34
|
}
|
|
38
|
-
if (config.skipAvailable) {
|
|
39
|
-
const stepObj = {}
|
|
40
|
-
config.skipAvailable.map((e, i: number) => {
|
|
41
|
-
stepObj[e.skipId] = true
|
|
42
|
-
});
|
|
43
|
-
stepper.config.main.stepSkip = stepObj
|
|
44
|
-
}
|
|
45
35
|
if (config.layout) {
|
|
46
36
|
stepper.config.layout = createLayoutFormat(config.layout)
|
|
47
37
|
}
|
|
@@ -170,8 +170,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
170
170
|
{ label: "Vertical", value: "vertical" },
|
|
171
171
|
]),
|
|
172
172
|
EmptyBox,
|
|
173
|
-
getArrayControl("sectionLabels", "label")
|
|
174
|
-
getArrayControl("skipAvailable", "skipId"),
|
|
173
|
+
getArrayControl("sectionLabels", "label")
|
|
175
174
|
|
|
176
175
|
]
|
|
177
176
|
break;
|
|
@@ -129,18 +129,6 @@ export const ComponentSchema: any = {
|
|
|
129
129
|
},
|
|
130
130
|
},
|
|
131
131
|
},
|
|
132
|
-
skipAvailable: {
|
|
133
|
-
type: "array",
|
|
134
|
-
items: {
|
|
135
|
-
type: "object",
|
|
136
|
-
properties: {
|
|
137
|
-
skipId: {
|
|
138
|
-
type: "string",
|
|
139
|
-
},
|
|
140
|
-
|
|
141
|
-
},
|
|
142
|
-
},
|
|
143
|
-
},
|
|
144
132
|
Table_Download_Keys_Name: {
|
|
145
133
|
type: "array",
|
|
146
134
|
items: {
|