impaktapps-ui-builder 0.0.412-hj → 0.0.412-mtreemap.10
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 +1311 -1416
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +6 -6
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +35 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +15 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +70 -121
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +1 -108
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +53 -102
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +17 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +17 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +1 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +7 -2
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +13 -2
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +6 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +50 -27
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +46 -66
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +30 -47
- package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -13
- package/src/impaktapps-ui-builder/builder/build/uischema/emptyBox.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +78 -51
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +110 -109
- package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +15 -11
- package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +85 -57
- package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +12 -12
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +13 -13
- package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +1 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +0 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +223 -165
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +496 -353
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +427 -284
- package/src/impaktapps-ui-builder/builder/services/component.ts +3 -3
- package/src/impaktapps-ui-builder/builder/services/event.ts +10 -8
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +1 -1
|
@@ -19,8 +19,13 @@ const buildHorizontalBarGraph = (config:any,componentScope:string) => {
|
|
|
19
19
|
config.containerBackground;
|
|
20
20
|
}
|
|
21
21
|
if (config.height) {
|
|
22
|
-
horizontalBarGraph.config.style
|
|
23
|
-
|
|
22
|
+
horizontalBarGraph.config.style =
|
|
23
|
+
{
|
|
24
|
+
containerStyle: {
|
|
25
|
+
height: config.height
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
24
29
|
}
|
|
25
30
|
if (config.bottomLabel) {
|
|
26
31
|
horizontalBarGraph.config.main.bottomLabel =
|
|
@@ -7,7 +7,13 @@ export const buildPieGraph = (config, componentScope) => {
|
|
|
7
7
|
pieGraph.config.layout = createLayoutFormat(config.layout);
|
|
8
8
|
}
|
|
9
9
|
if (config.height) {
|
|
10
|
-
pieGraph.config.style
|
|
10
|
+
pieGraph.config.style =
|
|
11
|
+
{
|
|
12
|
+
containerStyle: {
|
|
13
|
+
height: config.height
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
|
|
11
17
|
}
|
|
12
18
|
if (config.legendHide) {
|
|
13
19
|
pieGraph.config.main.legendAvailabe = config.legendHide === "YES" ? false : true;
|
|
@@ -20,7 +26,12 @@ export const buildPieGraph = (config, componentScope) => {
|
|
|
20
26
|
}
|
|
21
27
|
|
|
22
28
|
if (config.pieArcColors) {
|
|
23
|
-
pieGraph.config.style
|
|
29
|
+
pieGraph.config.style = {
|
|
30
|
+
pieStyle: {
|
|
31
|
+
colorRange: flatObjectValueInArray(config.pieArcColors)
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
24
35
|
}
|
|
25
36
|
return pieGraph;
|
|
26
37
|
}
|
|
@@ -8,17 +8,17 @@ export const buildStackbarGraph = (config:any,componentScope:string) => {
|
|
|
8
8
|
barGraph.config.layout = createLayoutFormat(config.layout);
|
|
9
9
|
}
|
|
10
10
|
if (config.legendHide) {
|
|
11
|
-
barGraph.config.main.legendAvailable =
|
|
11
|
+
barGraph.config.main.legendAvailable = config.legendHide;
|
|
12
12
|
}
|
|
13
13
|
barGraph.config.main.type = config.graphType;
|
|
14
14
|
barGraph.config.main.header = config.heading;
|
|
15
15
|
if (config.barColor) {
|
|
16
16
|
barGraph.config.barStyle.color = config.barColor;
|
|
17
17
|
}
|
|
18
|
-
if (config.containerBackground) {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
18
|
+
// if (config.containerBackground) {
|
|
19
|
+
// barGraph.config.containerStyle.background =
|
|
20
|
+
// config.containerBackground;
|
|
21
|
+
// }
|
|
22
22
|
if (config.height) {
|
|
23
23
|
barGraph.config.style.containerStyle.height = config.height;
|
|
24
24
|
}
|
|
@@ -28,6 +28,6 @@ export const buildStackbarGraph = (config:any,componentScope:string) => {
|
|
|
28
28
|
if (config.leftLabel) {
|
|
29
29
|
barGraph.config.main.leftLabel = config.leftLabel;
|
|
30
30
|
}
|
|
31
|
-
barGraph.scope = componentScope;
|
|
31
|
+
// barGraph.scope = componentScope;
|
|
32
32
|
return barGraph;
|
|
33
33
|
}
|
|
@@ -11,7 +11,7 @@ export const APISection = {
|
|
|
11
11
|
widget: "SelectInputField",
|
|
12
12
|
},
|
|
13
13
|
config: {
|
|
14
|
-
layout: { xs: 11, sm:
|
|
14
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
15
15
|
main: {
|
|
16
16
|
label: "Method",
|
|
17
17
|
type: "text",
|
|
@@ -26,7 +26,7 @@ export const APISection = {
|
|
|
26
26
|
widget: "InputField",
|
|
27
27
|
},
|
|
28
28
|
config: {
|
|
29
|
-
layout: { xs: 11, sm:
|
|
29
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
30
30
|
main: {
|
|
31
31
|
label: "Path",
|
|
32
32
|
type: "text",
|
|
@@ -35,6 +35,28 @@ export const APISection = {
|
|
|
35
35
|
},
|
|
36
36
|
},
|
|
37
37
|
},
|
|
38
|
+
{
|
|
39
|
+
type: "Control",
|
|
40
|
+
scope: "#/properties/emptyBox",
|
|
41
|
+
|
|
42
|
+
options: {
|
|
43
|
+
widget: "EmptyBox",
|
|
44
|
+
},
|
|
45
|
+
config: {
|
|
46
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
type: "Control",
|
|
51
|
+
scope: "#/properties/emptyBox",
|
|
52
|
+
|
|
53
|
+
options: {
|
|
54
|
+
widget: "EmptyBox",
|
|
55
|
+
},
|
|
56
|
+
config: {
|
|
57
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
58
|
+
},
|
|
59
|
+
},
|
|
38
60
|
{
|
|
39
61
|
type: "Control",
|
|
40
62
|
scope: "#/properties/headers",
|
|
@@ -51,12 +73,7 @@ export const APISection = {
|
|
|
51
73
|
widget: "InputField",
|
|
52
74
|
},
|
|
53
75
|
config: {
|
|
54
|
-
layout: {
|
|
55
|
-
xs: 11,
|
|
56
|
-
sm: 11,
|
|
57
|
-
md: 5.5,
|
|
58
|
-
lg: 5.5,
|
|
59
|
-
},
|
|
76
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
60
77
|
main: {
|
|
61
78
|
label: "Key",
|
|
62
79
|
},
|
|
@@ -70,17 +87,23 @@ export const APISection = {
|
|
|
70
87
|
widget: "InputField",
|
|
71
88
|
},
|
|
72
89
|
config: {
|
|
73
|
-
layout: {
|
|
74
|
-
xs: 11,
|
|
75
|
-
sm: 11,
|
|
76
|
-
md: 5.5,
|
|
77
|
-
lg: 5.5,
|
|
78
|
-
},
|
|
90
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
79
91
|
main: {
|
|
80
92
|
label: "Value",
|
|
81
93
|
},
|
|
82
94
|
},
|
|
83
95
|
},
|
|
96
|
+
{
|
|
97
|
+
type: "Control",
|
|
98
|
+
scope: "#/properties/emptyBox",
|
|
99
|
+
|
|
100
|
+
options: {
|
|
101
|
+
widget: "EmptyBox",
|
|
102
|
+
},
|
|
103
|
+
config: {
|
|
104
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
105
|
+
},
|
|
106
|
+
},
|
|
84
107
|
],
|
|
85
108
|
},
|
|
86
109
|
},
|
|
@@ -101,12 +124,7 @@ export const APISection = {
|
|
|
101
124
|
widget: "InputField",
|
|
102
125
|
},
|
|
103
126
|
config: {
|
|
104
|
-
layout: {
|
|
105
|
-
xs: 11,
|
|
106
|
-
sm: 11,
|
|
107
|
-
md: 5.5,
|
|
108
|
-
lg: 5.5,
|
|
109
|
-
},
|
|
127
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
110
128
|
main: {
|
|
111
129
|
label: "Key",
|
|
112
130
|
},
|
|
@@ -120,18 +138,23 @@ export const APISection = {
|
|
|
120
138
|
widget: "InputField",
|
|
121
139
|
},
|
|
122
140
|
config: {
|
|
123
|
-
layout: {
|
|
124
|
-
xs: 11,
|
|
125
|
-
sm: 11,
|
|
126
|
-
md: 5.5,
|
|
127
|
-
lg: 5.5,
|
|
128
|
-
},
|
|
141
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
129
142
|
main: {
|
|
130
143
|
label: "Value",
|
|
131
144
|
},
|
|
132
145
|
},
|
|
133
146
|
},
|
|
134
|
-
|
|
147
|
+
{
|
|
148
|
+
type: "Control",
|
|
149
|
+
scope: "#/properties/emptyBox",
|
|
150
|
+
|
|
151
|
+
options: {
|
|
152
|
+
widget: "EmptyBox",
|
|
153
|
+
},
|
|
154
|
+
config: {
|
|
155
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
156
|
+
},
|
|
157
|
+
},
|
|
135
158
|
],
|
|
136
159
|
},
|
|
137
160
|
},
|
|
@@ -1,25 +1,20 @@
|
|
|
1
1
|
|
|
2
2
|
import _ from "lodash";
|
|
3
3
|
import emptyBox from "./emptyBox";
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
// const emptyBox = {
|
|
5
|
+
// type: "Control",
|
|
6
|
+
// scope: `#/properties/empty`,
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
sm: 11,
|
|
15
|
-
md: 5.5,
|
|
16
|
-
lg: 5.5,
|
|
17
|
-
},
|
|
18
|
-
main: {
|
|
8
|
+
// options: {
|
|
9
|
+
// widget: "emptyBox",
|
|
10
|
+
// },
|
|
11
|
+
// config: {
|
|
12
|
+
// layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
13
|
+
// main: {
|
|
19
14
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
15
|
+
// },
|
|
16
|
+
// },
|
|
17
|
+
// };
|
|
23
18
|
const cardLayout = {
|
|
24
19
|
type: "Control",
|
|
25
20
|
scope: "#/properties/cardLayout",
|
|
@@ -35,12 +30,7 @@ const cardLayout = {
|
|
|
35
30
|
widget: "SelectInputField",
|
|
36
31
|
},
|
|
37
32
|
config: {
|
|
38
|
-
layout: {
|
|
39
|
-
xs: 11,
|
|
40
|
-
sm: 11,
|
|
41
|
-
md: 5.5,
|
|
42
|
-
lg: 5.5,
|
|
43
|
-
},
|
|
33
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
44
34
|
main: {
|
|
45
35
|
label: "Screen Size",
|
|
46
36
|
|
|
@@ -55,12 +45,7 @@ const cardLayout = {
|
|
|
55
45
|
widget: "InputField",
|
|
56
46
|
},
|
|
57
47
|
config: {
|
|
58
|
-
layout: {
|
|
59
|
-
xs: 11,
|
|
60
|
-
sm: 11,
|
|
61
|
-
md: 5.5,
|
|
62
|
-
lg: 5.5,
|
|
63
|
-
},
|
|
48
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
64
49
|
main: {
|
|
65
50
|
label: "Value",
|
|
66
51
|
type: "number",
|
|
@@ -71,6 +56,7 @@ const cardLayout = {
|
|
|
71
56
|
},
|
|
72
57
|
},
|
|
73
58
|
},
|
|
59
|
+
emptyBox
|
|
74
60
|
],
|
|
75
61
|
},
|
|
76
62
|
},
|
|
@@ -79,7 +65,7 @@ const getArrayControl = (parentScope: string, childScope: string, childLabel?: s
|
|
|
79
65
|
return {
|
|
80
66
|
type: "Control",
|
|
81
67
|
scope: `#/properties/${parentScope}`,
|
|
82
|
-
layout:
|
|
68
|
+
layout: 12,
|
|
83
69
|
options: {
|
|
84
70
|
"elementLabelProp": childScope,
|
|
85
71
|
detail: {
|
|
@@ -93,18 +79,13 @@ const getArrayControl = (parentScope: string, childScope: string, childLabel?: s
|
|
|
93
79
|
widget: "InputField",
|
|
94
80
|
},
|
|
95
81
|
config: {
|
|
96
|
-
layout: {
|
|
97
|
-
xs: 11,
|
|
98
|
-
sm: 11,
|
|
99
|
-
md: 5.5,
|
|
100
|
-
lg: 5.5,
|
|
101
|
-
},
|
|
82
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
102
83
|
main: {
|
|
103
84
|
label: childLabel || "Labels for Tab",
|
|
104
85
|
},
|
|
105
86
|
},
|
|
106
87
|
},
|
|
107
|
-
|
|
88
|
+
emptyBox
|
|
108
89
|
],
|
|
109
90
|
},
|
|
110
91
|
},
|
|
@@ -119,12 +100,7 @@ sizeHolder.options.detail.elements[1] = {
|
|
|
119
100
|
widget: "InputField",
|
|
120
101
|
},
|
|
121
102
|
config: {
|
|
122
|
-
layout: {
|
|
123
|
-
xs: 11,
|
|
124
|
-
sm: 11,
|
|
125
|
-
md: 5.5,
|
|
126
|
-
lg: 5.5,
|
|
127
|
-
},
|
|
103
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
128
104
|
main: {
|
|
129
105
|
label: "Size",
|
|
130
106
|
},
|
|
@@ -139,12 +115,7 @@ const getInputField = (scope: String, label: String) => {
|
|
|
139
115
|
widget: "InputField",
|
|
140
116
|
},
|
|
141
117
|
config: {
|
|
142
|
-
layout: {
|
|
143
|
-
xs: 11,
|
|
144
|
-
sm: 11,
|
|
145
|
-
md: 5.5,
|
|
146
|
-
lg: 5.5,
|
|
147
|
-
},
|
|
118
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
148
119
|
main: {
|
|
149
120
|
label: label,
|
|
150
121
|
},
|
|
@@ -161,12 +132,7 @@ export const getRadioInputField = (scope: String, label: String, options: string
|
|
|
161
132
|
widget: "RadioInputField",
|
|
162
133
|
},
|
|
163
134
|
config: {
|
|
164
|
-
layout: {
|
|
165
|
-
xs: 11,
|
|
166
|
-
sm: 11,
|
|
167
|
-
md: 5.5,
|
|
168
|
-
lg: 5.5,
|
|
169
|
-
},
|
|
135
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
170
136
|
main: {
|
|
171
137
|
label: label,
|
|
172
138
|
|
|
@@ -217,7 +183,7 @@ export const getSelectField = (scope: string, label: string, options: { label: s
|
|
|
217
183
|
widget: "SelectInputField",
|
|
218
184
|
},
|
|
219
185
|
config: {
|
|
220
|
-
layout: { xs: 11, sm:
|
|
186
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
221
187
|
main: {
|
|
222
188
|
label: label,
|
|
223
189
|
type: "text",
|
|
@@ -244,6 +210,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
244
210
|
getInputField("graphHeight", "Graph Height"),
|
|
245
211
|
getInputField("graphWidth", "Graph Width"),
|
|
246
212
|
getInputField("graphZoomHeight", "Zoom Height"),
|
|
213
|
+
emptyBox
|
|
247
214
|
]
|
|
248
215
|
break;
|
|
249
216
|
case "InputSlider":
|
|
@@ -252,6 +219,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
252
219
|
getInputField("step", "Step"),
|
|
253
220
|
getInputField("min", "Min Limit"),
|
|
254
221
|
getRadioInputField("limitToMax", "Applly Max. Limit", ["YES", "NO"]),
|
|
222
|
+
emptyBox,emptyBox
|
|
255
223
|
]
|
|
256
224
|
break;
|
|
257
225
|
case "DataGrid":
|
|
@@ -260,6 +228,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
260
228
|
getInputField("elevation", "Card Elevation"),
|
|
261
229
|
getInputField("height", "Grid height"),
|
|
262
230
|
getInputField("justifyContent", "justifyContent"),
|
|
231
|
+
emptyBox,
|
|
232
|
+
emptyBox,
|
|
263
233
|
cardLayout,
|
|
264
234
|
]
|
|
265
235
|
break;
|
|
@@ -273,6 +243,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
273
243
|
{ label: "Horizontal", value: "horizontal" },
|
|
274
244
|
{ label: "Vertical", value: "vertical" },
|
|
275
245
|
]),
|
|
246
|
+
emptyBox,
|
|
276
247
|
|
|
277
248
|
getArrayControl("sectionLabels", "label")
|
|
278
249
|
|
|
@@ -283,20 +254,20 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
283
254
|
getRadioInputField("fullScreen", "FullScreen", ["YES", "NO"]),
|
|
284
255
|
getRadioInputField("fullWidth", "FullWidth", ["YES", "NO"]),
|
|
285
256
|
getInputField("maxWidth", "Max. Width"),
|
|
286
|
-
EmptyBox
|
|
287
257
|
]
|
|
288
258
|
break;
|
|
289
259
|
case "Text":
|
|
290
260
|
uiSchema.elements = [
|
|
291
261
|
getInputField("placeholder", "Placeholder"),
|
|
292
|
-
|
|
262
|
+
emptyBox,
|
|
263
|
+
emptyBox,
|
|
293
264
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
|
|
294
265
|
]
|
|
295
266
|
break;
|
|
296
267
|
case "TextArea":
|
|
297
268
|
uiSchema.elements = [
|
|
298
269
|
getInputField("placeholder", "Placeholder"),
|
|
299
|
-
|
|
270
|
+
emptyBox,emptyBox]
|
|
300
271
|
break;
|
|
301
272
|
|
|
302
273
|
case "SpeedoMeter":
|
|
@@ -305,7 +276,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
305
276
|
getInputField("heading", "Container Heading"),
|
|
306
277
|
getInputField("heading", "Container Heading"),
|
|
307
278
|
getInputField("speedoCaption", "Speedometer Caption"),
|
|
308
|
-
getInputField("width", "Speedometer Width")
|
|
279
|
+
getInputField("width", "Speedometer Width"),
|
|
280
|
+
emptyBox
|
|
309
281
|
]
|
|
310
282
|
break;
|
|
311
283
|
case "RankCard":
|
|
@@ -313,7 +285,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
313
285
|
getInputField("rank", "Rank"),
|
|
314
286
|
getInputField("image", "Image Url"),
|
|
315
287
|
getInputField("title", "Card Title"),
|
|
316
|
-
getInputField("description", "Card Description")
|
|
288
|
+
getInputField("description", "Card Description"),
|
|
289
|
+
emptyBox,emptyBox];
|
|
317
290
|
break;
|
|
318
291
|
case "LeaderBoard":
|
|
319
292
|
uiSchema.elements = [
|
|
@@ -321,7 +294,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
321
294
|
getInputField("firstImage", "First Image url"),
|
|
322
295
|
getInputField("secondImage", "Second Image url"),
|
|
323
296
|
getInputField("thirdImage", "Third Image url"),
|
|
324
|
-
|
|
297
|
+
emptyBox,emptyBox,
|
|
298
|
+
getTextArea("functionCode", "Write Compare Code", false),
|
|
325
299
|
];
|
|
326
300
|
break;
|
|
327
301
|
case "CardSlider":
|
|
@@ -334,7 +308,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
334
308
|
getInputField("heading", "Heading"),
|
|
335
309
|
getInputField("bottomLabel_1", "First BottomLabel"),
|
|
336
310
|
getInputField("bottomLabel_2", "Second BottomLabel"),
|
|
337
|
-
getInputField("bottomLabel_3", "Third BottomLabel")
|
|
311
|
+
getInputField("bottomLabel_3", "Third BottomLabel"),
|
|
312
|
+
emptyBox,emptyBox
|
|
338
313
|
];
|
|
339
314
|
break;
|
|
340
315
|
case "card":
|
|
@@ -342,7 +317,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
342
317
|
getInputField("url", "Image Url"),
|
|
343
318
|
getInputField("label", "Label"),
|
|
344
319
|
getInputField("description", "Description"),
|
|
345
|
-
|
|
320
|
+
emptyBox
|
|
346
321
|
];
|
|
347
322
|
break;
|
|
348
323
|
case "Button":
|
|
@@ -355,7 +330,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
355
330
|
{ label: "Apply Default Style", value: "true" },
|
|
356
331
|
{ label: "No Style", value: "false" },
|
|
357
332
|
]),
|
|
358
|
-
|
|
333
|
+
emptyBox
|
|
359
334
|
];
|
|
360
335
|
break;
|
|
361
336
|
case "Graph":
|
|
@@ -374,6 +349,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
374
349
|
getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
|
|
375
350
|
getInputField("yAxisValue", "Y-AxisValue"),
|
|
376
351
|
getInputField("xAxisValue", "X-AxisValue"),
|
|
352
|
+
emptyBox,
|
|
377
353
|
getArrayControl("legendLabels", "label"),
|
|
378
354
|
getArrayControl("pieArcColors", "color"),
|
|
379
355
|
];
|
|
@@ -383,6 +359,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
383
359
|
getRadioInputField("isAccordion", "Accordion", ["YES", "No"])
|
|
384
360
|
, getRadioInputField("defaultStyle", "Default Style", ["YES", "No"]),
|
|
385
361
|
getInputField("rowSpacing", "Row Spacing"),
|
|
362
|
+
emptyBox,emptyBox
|
|
386
363
|
]
|
|
387
364
|
break;
|
|
388
365
|
|
|
@@ -390,6 +367,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
390
367
|
uiSchema.elements = [
|
|
391
368
|
getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
|
|
392
369
|
getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
|
|
370
|
+
emptyBox,
|
|
393
371
|
getArrayControl("sectionLabels", "label"),
|
|
394
372
|
]
|
|
395
373
|
break;
|
|
@@ -415,12 +393,14 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
415
393
|
uiSchema.elements = [
|
|
416
394
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
417
395
|
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
|
|
396
|
+
emptyBox
|
|
418
397
|
]
|
|
419
398
|
break;
|
|
420
399
|
case "MultipleSelect":
|
|
421
400
|
uiSchema.elements = [
|
|
422
401
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
423
|
-
|
|
402
|
+
emptyBox,
|
|
403
|
+
emptyBox
|
|
424
404
|
]
|
|
425
405
|
break;
|
|
426
406
|
}
|
|
@@ -9,7 +9,7 @@ export const CoreSection = {
|
|
|
9
9
|
widget: "SelectInputField",
|
|
10
10
|
},
|
|
11
11
|
config: {
|
|
12
|
-
layout: { xs:
|
|
12
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
13
13
|
main: {
|
|
14
14
|
label: "Type",
|
|
15
15
|
type: "text",
|
|
@@ -24,12 +24,7 @@ export const CoreSection = {
|
|
|
24
24
|
widget: "InputField",
|
|
25
25
|
},
|
|
26
26
|
config: {
|
|
27
|
-
layout: {
|
|
28
|
-
xs: 12,
|
|
29
|
-
sm: 12,
|
|
30
|
-
md: 6,
|
|
31
|
-
lg: 6,
|
|
32
|
-
},
|
|
27
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
33
28
|
main: {
|
|
34
29
|
label: "Name",
|
|
35
30
|
},
|
|
@@ -43,12 +38,7 @@ export const CoreSection = {
|
|
|
43
38
|
widget: "InputField",
|
|
44
39
|
},
|
|
45
40
|
config: {
|
|
46
|
-
layout: {
|
|
47
|
-
xs: 12,
|
|
48
|
-
sm: 12,
|
|
49
|
-
md: 6,
|
|
50
|
-
lg: 6,
|
|
51
|
-
},
|
|
41
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
52
42
|
main: {
|
|
53
43
|
label: "Label",
|
|
54
44
|
},
|
|
@@ -61,12 +51,7 @@ export const CoreSection = {
|
|
|
61
51
|
widget: "SelectInputField",
|
|
62
52
|
},
|
|
63
53
|
config: {
|
|
64
|
-
layout: {
|
|
65
|
-
xs: 12,
|
|
66
|
-
sm: 12,
|
|
67
|
-
md: 6,
|
|
68
|
-
lg: 6,
|
|
69
|
-
},
|
|
54
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
70
55
|
main: {
|
|
71
56
|
label: "Column Format",
|
|
72
57
|
|
|
@@ -77,7 +62,17 @@ export const CoreSection = {
|
|
|
77
62
|
type: "Control",
|
|
78
63
|
scope: "#/properties/proc",
|
|
79
64
|
config: {
|
|
80
|
-
layout: { xs:
|
|
65
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
66
|
+
},
|
|
67
|
+
options: {
|
|
68
|
+
widget: "EmptyBox",
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
type: "Control",
|
|
73
|
+
scope: "#/properties/proc",
|
|
74
|
+
config: {
|
|
75
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
81
76
|
},
|
|
82
77
|
options: {
|
|
83
78
|
widget: "EmptyBox",
|
|
@@ -86,7 +81,7 @@ export const CoreSection = {
|
|
|
86
81
|
{
|
|
87
82
|
type: "Control",
|
|
88
83
|
scope: "#/properties/layout",
|
|
89
|
-
layout:
|
|
84
|
+
layout: 12,
|
|
90
85
|
options: {
|
|
91
86
|
"elementLabelProp": "key",
|
|
92
87
|
detail: {
|
|
@@ -100,12 +95,7 @@ export const CoreSection = {
|
|
|
100
95
|
widget: "SelectInputField",
|
|
101
96
|
},
|
|
102
97
|
config: {
|
|
103
|
-
layout: {
|
|
104
|
-
xs: 11,
|
|
105
|
-
sm: 11,
|
|
106
|
-
md: 5.5,
|
|
107
|
-
lg: 5.5,
|
|
108
|
-
},
|
|
98
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
109
99
|
main: {
|
|
110
100
|
label: "Screen Size",
|
|
111
101
|
|
|
@@ -120,12 +110,7 @@ export const CoreSection = {
|
|
|
120
110
|
widget: "InputField",
|
|
121
111
|
},
|
|
122
112
|
config: {
|
|
123
|
-
layout: {
|
|
124
|
-
xs: 11,
|
|
125
|
-
sm: 11,
|
|
126
|
-
md: 5.5,
|
|
127
|
-
lg: 5.5,
|
|
128
|
-
},
|
|
113
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
129
114
|
main: {
|
|
130
115
|
label: "Value",
|
|
131
116
|
type:"number",
|
|
@@ -135,6 +120,16 @@ export const CoreSection = {
|
|
|
135
120
|
},
|
|
136
121
|
},
|
|
137
122
|
},
|
|
123
|
+
{
|
|
124
|
+
type: "Control",
|
|
125
|
+
scope: "#/properties/proc",
|
|
126
|
+
config: {
|
|
127
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
128
|
+
},
|
|
129
|
+
options: {
|
|
130
|
+
widget: "EmptyBox",
|
|
131
|
+
},
|
|
132
|
+
},
|
|
138
133
|
],
|
|
139
134
|
},
|
|
140
135
|
},
|
|
@@ -157,12 +152,7 @@ export const OptionArray: any = {
|
|
|
157
152
|
widget: "SelectInputField",
|
|
158
153
|
},
|
|
159
154
|
config: {
|
|
160
|
-
layout: {
|
|
161
|
-
xs: 11,
|
|
162
|
-
sm: 11,
|
|
163
|
-
md: 5.5,
|
|
164
|
-
lg: 5.5,
|
|
165
|
-
},
|
|
155
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
166
156
|
main: {
|
|
167
157
|
label: "Label",
|
|
168
158
|
},
|
|
@@ -176,12 +166,7 @@ export const OptionArray: any = {
|
|
|
176
166
|
widget: "InputField",
|
|
177
167
|
},
|
|
178
168
|
config: {
|
|
179
|
-
layout: {
|
|
180
|
-
xs: 11,
|
|
181
|
-
sm: 11,
|
|
182
|
-
md: 5.5,
|
|
183
|
-
lg: 5.5,
|
|
184
|
-
},
|
|
169
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
185
170
|
main: {
|
|
186
171
|
label: "Value",
|
|
187
172
|
helperText: 'Number should be in range of 0 to 12',
|
|
@@ -210,5 +195,3 @@ export const OptionArraySchema = {
|
|
|
210
195
|
},
|
|
211
196
|
},
|
|
212
197
|
};
|
|
213
|
-
|
|
214
|
-
|