impaktapps-ui-builder 0.0.592 → 0.0.595
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 +256 -329
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +12 -12
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildCard.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildUiSchema.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +0 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +83 -104
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildCard.ts +6 -6
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +7 -7
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +10 -10
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +47 -64
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +90 -132
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +11 -11
- package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +7 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +3 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +3 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +3 -3
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +31 -15
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +11 -18
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +16 -7
- package/src/impaktapps-ui-builder/builder/services/event.ts +3 -29
- package/src/impaktapps-ui-builder/runtime/services/events.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +4 -4
|
@@ -1,34 +1,22 @@
|
|
|
1
1
|
|
|
2
2
|
import _ from "lodash";
|
|
3
|
+
import emptyBox from "./emptyBox";
|
|
3
4
|
import { buildLabel } from "../buildLabel";
|
|
4
5
|
import Box from "./box";
|
|
5
|
-
const emptyBox =
|
|
6
|
+
// const emptyBox = {
|
|
7
|
+
// type: "Control",
|
|
8
|
+
// scope: `#/properties/empty`,
|
|
6
9
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
},
|
|
14
|
-
config: {
|
|
15
|
-
//[{},{},{}]
|
|
16
|
-
layout: layout,
|
|
17
|
-
},
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
return {
|
|
21
|
-
type: "Control",
|
|
22
|
-
scope: "#/properties/empty",
|
|
10
|
+
// options: {
|
|
11
|
+
// widget: "emptyBox",
|
|
12
|
+
// },
|
|
13
|
+
// config: {
|
|
14
|
+
// layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
15
|
+
// main: {
|
|
23
16
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
config: {
|
|
28
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 },
|
|
29
|
-
},
|
|
30
|
-
}
|
|
31
|
-
}
|
|
17
|
+
// },
|
|
18
|
+
// },
|
|
19
|
+
// };
|
|
32
20
|
const cardLayout = {
|
|
33
21
|
type: "Control",
|
|
34
22
|
scope: "#/properties/cardLayout",
|
|
@@ -44,7 +32,7 @@ const cardLayout = {
|
|
|
44
32
|
widget: "SelectInputField",
|
|
45
33
|
},
|
|
46
34
|
config: {
|
|
47
|
-
layout: { xs:
|
|
35
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
48
36
|
main: {
|
|
49
37
|
label: "Screen Size",
|
|
50
38
|
|
|
@@ -59,7 +47,7 @@ const cardLayout = {
|
|
|
59
47
|
widget: "InputField",
|
|
60
48
|
},
|
|
61
49
|
config: {
|
|
62
|
-
layout: { xs:
|
|
50
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
63
51
|
main: {
|
|
64
52
|
label: "Value",
|
|
65
53
|
type: "number",
|
|
@@ -70,7 +58,7 @@ const cardLayout = {
|
|
|
70
58
|
},
|
|
71
59
|
},
|
|
72
60
|
},
|
|
73
|
-
emptyBox
|
|
61
|
+
emptyBox
|
|
74
62
|
],
|
|
75
63
|
},
|
|
76
64
|
},
|
|
@@ -93,14 +81,14 @@ const getArrayControl = (parentScope: string, childScope: string, childLabel?: s
|
|
|
93
81
|
widget: "InputField",
|
|
94
82
|
},
|
|
95
83
|
config: {
|
|
96
|
-
layout: { xs:
|
|
84
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
97
85
|
main: {
|
|
98
86
|
label: childLabel || "Labels for Tab",
|
|
99
87
|
},
|
|
100
88
|
},
|
|
101
89
|
},
|
|
102
|
-
emptyBox
|
|
103
|
-
emptyBox
|
|
90
|
+
emptyBox,
|
|
91
|
+
emptyBox
|
|
104
92
|
],
|
|
105
93
|
},
|
|
106
94
|
},
|
|
@@ -115,13 +103,13 @@ sizeHolder.options.detail.elements[1] = {
|
|
|
115
103
|
widget: "InputField",
|
|
116
104
|
},
|
|
117
105
|
config: {
|
|
118
|
-
layout: { xs:
|
|
106
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
119
107
|
main: {
|
|
120
108
|
label: "Size",
|
|
121
109
|
},
|
|
122
110
|
},
|
|
123
111
|
};
|
|
124
|
-
sizeHolder.options.detail.elements[2] = emptyBox
|
|
112
|
+
sizeHolder.options.detail.elements[2] = emptyBox
|
|
125
113
|
const getInputField = (scope: String, label: String) => {
|
|
126
114
|
return {
|
|
127
115
|
type: "Control",
|
|
@@ -131,7 +119,7 @@ const getInputField = (scope: String, label: String) => {
|
|
|
131
119
|
widget: "InputField",
|
|
132
120
|
},
|
|
133
121
|
config: {
|
|
134
|
-
layout: { xs:
|
|
122
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
135
123
|
main: {
|
|
136
124
|
label: label,
|
|
137
125
|
},
|
|
@@ -148,7 +136,7 @@ export const getRadioInputField = (scope: String, label: String, options: string
|
|
|
148
136
|
widget: "RadioInputField",
|
|
149
137
|
},
|
|
150
138
|
config: {
|
|
151
|
-
layout: { xs:
|
|
139
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
152
140
|
main: {
|
|
153
141
|
label: label,
|
|
154
142
|
|
|
@@ -168,8 +156,6 @@ export const buildWrapper = (label: string, elements: any[]) => {
|
|
|
168
156
|
wrapperStyle: {
|
|
169
157
|
marginTop: '-6px',
|
|
170
158
|
marginBottom: '-8px',
|
|
171
|
-
marginLeft: "-34px",
|
|
172
|
-
width: "108%"
|
|
173
159
|
},
|
|
174
160
|
componentsBoxStyle: {
|
|
175
161
|
marginLeft: "24px",
|
|
@@ -220,7 +206,7 @@ export const getSelectField = (scope: string, label: string, options: { label: s
|
|
|
220
206
|
widget: "SelectInputField",
|
|
221
207
|
},
|
|
222
208
|
config: {
|
|
223
|
-
layout: { xs:
|
|
209
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
224
210
|
main: {
|
|
225
211
|
label: label,
|
|
226
212
|
type: "text",
|
|
@@ -232,7 +218,7 @@ export const getSelectField = (scope: string, label: string, options: { label: s
|
|
|
232
218
|
|
|
233
219
|
|
|
234
220
|
const GraphSection = {
|
|
235
|
-
type: "
|
|
221
|
+
type: "HorizontalLayout",
|
|
236
222
|
elements: [],
|
|
237
223
|
};
|
|
238
224
|
|
|
@@ -247,7 +233,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
247
233
|
getInputField("graphHeight", "Graph Height"),
|
|
248
234
|
getInputField("graphWidth", "Graph Width"),
|
|
249
235
|
getInputField("graphZoomHeight", "Zoom Height"),
|
|
250
|
-
emptyBox
|
|
236
|
+
emptyBox
|
|
251
237
|
]
|
|
252
238
|
break;
|
|
253
239
|
case "InputSlider":
|
|
@@ -255,9 +241,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
255
241
|
getInputField("max", "Max Limit"),
|
|
256
242
|
getInputField("step", "Step"),
|
|
257
243
|
getInputField("min", "Min Limit"),
|
|
258
|
-
emptyBox("InputSliderEmpty1", {xs: 6, sm: 0, md: 0, lg: 0}),
|
|
259
244
|
getRadioInputField("limitToMax", "Applly Max. Limit", ["YES", "NO"]),
|
|
260
|
-
emptyBox
|
|
245
|
+
emptyBox, emptyBox
|
|
261
246
|
]
|
|
262
247
|
break;
|
|
263
248
|
case "DataGrid":
|
|
@@ -266,8 +251,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
266
251
|
getInputField("elevation", "Card Elevation"),
|
|
267
252
|
getInputField("height", "Grid height"),
|
|
268
253
|
getInputField("justifyContent", "justifyContent"),
|
|
269
|
-
emptyBox
|
|
270
|
-
emptyBox
|
|
254
|
+
emptyBox,
|
|
255
|
+
emptyBox,
|
|
271
256
|
cardLayout,
|
|
272
257
|
]
|
|
273
258
|
break;
|
|
@@ -281,7 +266,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
281
266
|
{ label: "Horizontal", value: "horizontal" },
|
|
282
267
|
{ label: "Vertical", value: "vertical" },
|
|
283
268
|
]),
|
|
284
|
-
emptyBox
|
|
269
|
+
emptyBox,
|
|
285
270
|
|
|
286
271
|
getArrayControl("sectionLabels", "label")
|
|
287
272
|
|
|
@@ -292,21 +277,20 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
292
277
|
getRadioInputField("fullScreen", "FullScreen", ["YES", "NO"]),
|
|
293
278
|
getRadioInputField("fullWidth", "FullWidth", ["YES", "NO"]),
|
|
294
279
|
getInputField("maxWidth", "Max. Width"),
|
|
295
|
-
emptyBox("PopUpEmpty", {xs: 6, sm: 6, md: 0, lg: 0 })
|
|
296
280
|
]
|
|
297
281
|
break;
|
|
298
282
|
case "Text":
|
|
299
283
|
uiSchema.elements = [
|
|
300
284
|
getInputField("placeholder", "Placeholder"),
|
|
301
|
-
emptyBox
|
|
302
|
-
emptyBox
|
|
285
|
+
emptyBox,
|
|
286
|
+
emptyBox,
|
|
303
287
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
|
|
304
288
|
]
|
|
305
289
|
break;
|
|
306
290
|
case "TextArea":
|
|
307
291
|
uiSchema.elements = [
|
|
308
292
|
getInputField("placeholder", "Placeholder"),
|
|
309
|
-
emptyBox
|
|
293
|
+
emptyBox, emptyBox]
|
|
310
294
|
break;
|
|
311
295
|
|
|
312
296
|
case "SpeedoMeter":
|
|
@@ -316,7 +300,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
316
300
|
getInputField("heading", "Container Heading"),
|
|
317
301
|
getInputField("speedoCaption", "Speedometer Caption"),
|
|
318
302
|
getInputField("width", "Speedometer Width"),
|
|
319
|
-
emptyBox
|
|
303
|
+
emptyBox
|
|
320
304
|
]
|
|
321
305
|
break;
|
|
322
306
|
case "RankCard":
|
|
@@ -325,7 +309,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
325
309
|
getInputField("image", "Image Url"),
|
|
326
310
|
getInputField("title", "Card Title"),
|
|
327
311
|
getInputField("description", "Card Description"),
|
|
328
|
-
emptyBox
|
|
312
|
+
emptyBox, emptyBox];
|
|
329
313
|
break;
|
|
330
314
|
case "LeaderBoard":
|
|
331
315
|
uiSchema.elements = [
|
|
@@ -333,7 +317,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
333
317
|
getInputField("firstImage", "First Image url"),
|
|
334
318
|
getInputField("secondImage", "Second Image url"),
|
|
335
319
|
getInputField("thirdImage", "Third Image url"),
|
|
336
|
-
emptyBox
|
|
320
|
+
emptyBox, emptyBox,
|
|
337
321
|
getTextArea("functionCode", "Write Compare Code", false),
|
|
338
322
|
];
|
|
339
323
|
break;
|
|
@@ -348,7 +332,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
348
332
|
getInputField("bottomLabel_1", "First BottomLabel"),
|
|
349
333
|
getInputField("bottomLabel_2", "Second BottomLabel"),
|
|
350
334
|
getInputField("bottomLabel_3", "Third BottomLabel"),
|
|
351
|
-
emptyBox
|
|
335
|
+
emptyBox, emptyBox
|
|
352
336
|
];
|
|
353
337
|
break;
|
|
354
338
|
case "card":
|
|
@@ -356,7 +340,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
356
340
|
getInputField("url", "Image Url"),
|
|
357
341
|
getInputField("label", "Label"),
|
|
358
342
|
getInputField("description", "Description"),
|
|
359
|
-
emptyBox
|
|
343
|
+
emptyBox
|
|
360
344
|
];
|
|
361
345
|
break;
|
|
362
346
|
case "Button":
|
|
@@ -369,7 +353,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
369
353
|
{ label: "Apply Default Style", value: "true" },
|
|
370
354
|
{ label: "No Style", value: "false" },
|
|
371
355
|
]),
|
|
372
|
-
emptyBox
|
|
356
|
+
emptyBox
|
|
373
357
|
];
|
|
374
358
|
break;
|
|
375
359
|
case "Graph":
|
|
@@ -385,11 +369,10 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
385
369
|
]),
|
|
386
370
|
getInputField("leftLabel", "Left Label"),
|
|
387
371
|
getInputField("bottomLabel", "Bottom Label"),
|
|
388
|
-
emptyBox("GraphEmpty1", {xs: 6, sm: 0, md: 0, lg: 0 }),
|
|
389
372
|
getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
|
|
390
373
|
getInputField("yAxisValue", "Y-AxisValue"),
|
|
391
374
|
getInputField("xAxisValue", "X-AxisValue"),
|
|
392
|
-
emptyBox
|
|
375
|
+
emptyBox,
|
|
393
376
|
getArrayControl("legendLabels", "label"),
|
|
394
377
|
getArrayControl("pieArcColors", "color"),
|
|
395
378
|
];
|
|
@@ -399,7 +382,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
399
382
|
getRadioInputField("isAccordion", "Accordion", ["YES", "No"])
|
|
400
383
|
, getRadioInputField("defaultStyle", "Default Style", ["YES", "No"]),
|
|
401
384
|
getInputField("rowSpacing", "Row Spacing"),
|
|
402
|
-
emptyBox
|
|
385
|
+
emptyBox, emptyBox
|
|
403
386
|
]
|
|
404
387
|
break;
|
|
405
388
|
|
|
@@ -407,7 +390,7 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
407
390
|
uiSchema.elements = [
|
|
408
391
|
getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
|
|
409
392
|
getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
|
|
410
|
-
emptyBox
|
|
393
|
+
emptyBox,
|
|
411
394
|
getArrayControl("sectionLabels", "label"),
|
|
412
395
|
]
|
|
413
396
|
break;
|
|
@@ -419,14 +402,14 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
419
402
|
getRadioInputField("ColumnResizingAvailable", "ColumnResizing ", ["YES", "NO"]),
|
|
420
403
|
getRadioInputField("DragAvailable", "Row Dragging", ["YES", "NO"]),
|
|
421
404
|
getRadioInputField("downloadAllData", "Download All Data", ["YES", "NO"]),
|
|
422
|
-
getInputField("selectKey", "Selection Key"), emptyBox
|
|
405
|
+
getInputField("selectKey", "Selection Key"), emptyBox,
|
|
423
406
|
buildWrapper("Tree Table Properties", [
|
|
424
407
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
425
408
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
426
409
|
// getRadioInputField("enableExpandAll", "Use All Row Expanding", ["YES", "NO"]),
|
|
427
410
|
getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
|
|
428
411
|
getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
|
|
429
|
-
emptyBox
|
|
412
|
+
emptyBox, emptyBox
|
|
430
413
|
]),
|
|
431
414
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
432
415
|
sizeHolder,
|
|
@@ -442,14 +425,14 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
442
425
|
uiSchema.elements = [
|
|
443
426
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
444
427
|
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
|
|
445
|
-
emptyBox
|
|
428
|
+
emptyBox
|
|
446
429
|
]
|
|
447
430
|
break;
|
|
448
431
|
case "MultipleSelect":
|
|
449
432
|
uiSchema.elements = [
|
|
450
433
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
451
|
-
emptyBox
|
|
452
|
-
emptyBox
|
|
434
|
+
emptyBox,
|
|
435
|
+
emptyBox
|
|
453
436
|
]
|
|
454
437
|
break;
|
|
455
438
|
}
|
|
@@ -1,140 +1,98 @@
|
|
|
1
|
-
export default
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
export default {
|
|
2
|
+
type: "WrapperLayout",
|
|
3
|
+
config: {
|
|
4
|
+
main: {
|
|
5
|
+
rowSpacing: 0.5,
|
|
6
|
+
},
|
|
7
|
+
componentsBoxStyle: {
|
|
8
|
+
position: "relative",
|
|
9
|
+
color: "white",
|
|
10
|
+
height: { xs: "120px", md: "160px" },
|
|
11
|
+
width: "100%",
|
|
12
|
+
textAlign: "left",
|
|
13
|
+
background: "#3f51b5",
|
|
14
|
+
borderRadius: "20px",
|
|
15
|
+
},
|
|
16
|
+
layout: { xs: 12, sm: 12, md: 6, lg: 6, },
|
|
17
|
+
},
|
|
18
|
+
elements: [
|
|
19
|
+
{
|
|
20
|
+
type: "Control",
|
|
21
|
+
scope: "#/properties/programType",
|
|
22
|
+
config: {
|
|
23
|
+
main: {
|
|
24
|
+
heading: "$5000.00",
|
|
25
|
+
},
|
|
26
|
+
style: {
|
|
27
|
+
position: "absolute",
|
|
28
|
+
left: "10%",
|
|
29
|
+
top: "15%",
|
|
30
|
+
color: "#f5effc",
|
|
31
|
+
height: "80px",
|
|
32
|
+
display: "flex",
|
|
33
|
+
fontSize: { xs: "24px", md: "32px" },
|
|
34
|
+
alignItems: "center",
|
|
35
|
+
background: "inherit",
|
|
36
|
+
justifyContent: "flex-start",
|
|
37
|
+
|
|
38
|
+
},
|
|
39
|
+
layout: 5,
|
|
9
40
|
},
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
flexWrap: "nowrap",
|
|
13
|
-
width: "100%",
|
|
14
|
-
background: "transparent",
|
|
15
|
-
border: `1.5px solid ${theme.palette.primary.main}`,
|
|
16
|
-
borderRadius: "20px",
|
|
17
|
-
padding: "0px 20px 0px 20px",
|
|
18
|
-
"&: hover": {
|
|
19
|
-
background: `${theme.palette.primary.main}`,
|
|
20
|
-
border: `1.5px solid black`,
|
|
21
|
-
"& p": {
|
|
22
|
-
color: "white"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
41
|
+
options: {
|
|
42
|
+
widget: "Box",
|
|
25
43
|
},
|
|
26
|
-
layout: { xs: 12, sm: 12, md: 6, lg: 6, },
|
|
27
44
|
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
45
|
+
{
|
|
46
|
+
type: "Control",
|
|
47
|
+
scope: "#/properties/programType",
|
|
48
|
+
config: {
|
|
49
|
+
main: {
|
|
50
|
+
url: "https://www.svgrepo.com/show/500606/loading.svg",
|
|
33
51
|
},
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
},
|
|
54
|
-
layout: 12,
|
|
55
|
-
},
|
|
56
|
-
elements: [
|
|
57
|
-
{
|
|
58
|
-
type: "Control",
|
|
59
|
-
scope: "#/properties/programType",
|
|
60
|
-
config: {
|
|
61
|
-
main: {
|
|
62
|
-
heading: "$5000.00",
|
|
63
|
-
},
|
|
64
|
-
style: {
|
|
65
|
-
color: "black",
|
|
66
|
-
display: "flex",
|
|
67
|
-
fontSize: { xs: "24px", md: "28px" },
|
|
68
|
-
fontWeight: "bold",
|
|
69
|
-
background: "inherit",
|
|
70
|
-
justifyContent: "flex-start",
|
|
71
|
-
width: "calc(100%+8px)",
|
|
72
|
-
margin: "-8px",
|
|
73
|
-
},
|
|
74
|
-
layout: 12,
|
|
75
|
-
},
|
|
76
|
-
options: {
|
|
77
|
-
widget: "Box",
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
type: "Control",
|
|
82
|
-
scope: "#/properties/programType",
|
|
83
|
-
config: {
|
|
84
|
-
main: {
|
|
85
|
-
heading: "Total Earnings",
|
|
86
|
-
},
|
|
87
|
-
style: {
|
|
88
|
-
color: "black",
|
|
89
|
-
fontSize: "16px",
|
|
90
|
-
justifyContent: "center",
|
|
91
|
-
textWrap: "wrap",
|
|
92
|
-
background: "inherit",
|
|
93
|
-
width: "calc(100%+8pc)",
|
|
94
|
-
margin: "-8px",
|
|
95
|
-
lineHeight: "1"
|
|
96
|
-
},
|
|
97
|
-
layout: 12,
|
|
98
|
-
},
|
|
99
|
-
|
|
100
|
-
options: {
|
|
101
|
-
widget: "Box",
|
|
102
|
-
},
|
|
103
|
-
},
|
|
104
|
-
]
|
|
105
|
-
},
|
|
106
|
-
]
|
|
52
|
+
style: {
|
|
53
|
+
color: "#f5effc",
|
|
54
|
+
objectFit: "contain",
|
|
55
|
+
position: "absolute",
|
|
56
|
+
top: "10px",
|
|
57
|
+
right: "10px",
|
|
58
|
+
height: "80%",
|
|
59
|
+
width: "35%",
|
|
60
|
+
display: "flex",
|
|
61
|
+
fontSize: "34px",
|
|
62
|
+
alignItems: "center",
|
|
63
|
+
background: "inherit",
|
|
64
|
+
padding: "20px",
|
|
65
|
+
justifyContent: "left",
|
|
66
|
+
},
|
|
67
|
+
layout: 5,
|
|
68
|
+
},
|
|
69
|
+
options: {
|
|
70
|
+
widget: "Image",
|
|
107
71
|
},
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
style: {
|
|
116
|
-
containerStyle: {
|
|
117
|
-
height: '100%',
|
|
118
|
-
display: "flex",
|
|
119
|
-
justifyContent: "center"
|
|
120
|
-
},
|
|
121
|
-
imageStyle: {
|
|
122
|
-
// width: "none",
|
|
123
|
-
height: '100%',
|
|
124
|
-
fontSize: "none",
|
|
125
|
-
padding: "4px",
|
|
126
|
-
marginLeft: "8px"
|
|
127
|
-
},
|
|
128
|
-
},
|
|
129
|
-
layout: 4,
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
type: "Control",
|
|
75
|
+
scope: "#/properties/programType",
|
|
76
|
+
config: {
|
|
77
|
+
main: {
|
|
78
|
+
heading: "Total Earnings",
|
|
130
79
|
},
|
|
131
|
-
|
|
132
|
-
|
|
80
|
+
style: {
|
|
81
|
+
position: "absolute",
|
|
82
|
+
top: "calc(60%)",
|
|
83
|
+
alignItems: "center",
|
|
84
|
+
color: "#8999e8",
|
|
85
|
+
fontSize: "16px",
|
|
86
|
+
left: "10%",
|
|
87
|
+
background: "inherit",
|
|
88
|
+
justifyContent: "center",
|
|
133
89
|
},
|
|
90
|
+
layout: 12,
|
|
134
91
|
},
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
92
|
+
|
|
93
|
+
options: {
|
|
94
|
+
widget: "Box",
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
};
|
|
@@ -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,7 +24,7 @@ export const CoreSection = {
|
|
|
24
24
|
widget: "InputField",
|
|
25
25
|
},
|
|
26
26
|
config: {
|
|
27
|
-
layout: { xs:
|
|
27
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
28
28
|
main: {
|
|
29
29
|
label: "Name",
|
|
30
30
|
},
|
|
@@ -38,7 +38,7 @@ export const CoreSection = {
|
|
|
38
38
|
widget: "InputField",
|
|
39
39
|
},
|
|
40
40
|
config: {
|
|
41
|
-
layout: { xs:
|
|
41
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
42
42
|
main: {
|
|
43
43
|
label: "Label",
|
|
44
44
|
},
|
|
@@ -51,7 +51,7 @@ export const CoreSection = {
|
|
|
51
51
|
widget: "SelectInputField",
|
|
52
52
|
},
|
|
53
53
|
config: {
|
|
54
|
-
layout: { xs:
|
|
54
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
55
55
|
main: {
|
|
56
56
|
label: "Column Format",
|
|
57
57
|
|
|
@@ -62,7 +62,7 @@ export const CoreSection = {
|
|
|
62
62
|
type: "Control",
|
|
63
63
|
scope: "#/properties/proc",
|
|
64
64
|
config: {
|
|
65
|
-
layout: { xs: 0, sm:
|
|
65
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
66
66
|
},
|
|
67
67
|
options: {
|
|
68
68
|
widget: "EmptyBox",
|
|
@@ -72,7 +72,7 @@ export const CoreSection = {
|
|
|
72
72
|
type: "Control",
|
|
73
73
|
scope: "#/properties/proc",
|
|
74
74
|
config: {
|
|
75
|
-
layout: { xs: 0, sm:
|
|
75
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
76
76
|
},
|
|
77
77
|
options: {
|
|
78
78
|
widget: "EmptyBox",
|
|
@@ -95,7 +95,7 @@ export const CoreSection = {
|
|
|
95
95
|
widget: "SelectInputField",
|
|
96
96
|
},
|
|
97
97
|
config: {
|
|
98
|
-
layout: { xs:
|
|
98
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
99
99
|
main: {
|
|
100
100
|
label: "Screen Size",
|
|
101
101
|
|
|
@@ -110,7 +110,7 @@ export const CoreSection = {
|
|
|
110
110
|
widget: "InputField",
|
|
111
111
|
},
|
|
112
112
|
config: {
|
|
113
|
-
layout: { xs:
|
|
113
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
114
114
|
main: {
|
|
115
115
|
label: "Value",
|
|
116
116
|
type:"number",
|
|
@@ -124,7 +124,7 @@ export const CoreSection = {
|
|
|
124
124
|
type: "Control",
|
|
125
125
|
scope: "#/properties/proc",
|
|
126
126
|
config: {
|
|
127
|
-
layout: { xs: 0, sm:
|
|
127
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
128
128
|
},
|
|
129
129
|
options: {
|
|
130
130
|
widget: "EmptyBox",
|
|
@@ -152,7 +152,7 @@ export const OptionArray: any = {
|
|
|
152
152
|
widget: "SelectInputField",
|
|
153
153
|
},
|
|
154
154
|
config: {
|
|
155
|
-
layout: { xs:
|
|
155
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
156
156
|
main: {
|
|
157
157
|
label: "Label",
|
|
158
158
|
},
|
|
@@ -166,7 +166,7 @@ export const OptionArray: any = {
|
|
|
166
166
|
widget: "InputField",
|
|
167
167
|
},
|
|
168
168
|
config: {
|
|
169
|
-
layout: { xs:
|
|
169
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
170
170
|
main: {
|
|
171
171
|
label: "Value",
|
|
172
172
|
helperText: 'Number should be in range of 0 to 12',
|
|
@@ -5,8 +5,8 @@ export default {
|
|
|
5
5
|
widget: "DateInputField",
|
|
6
6
|
},
|
|
7
7
|
|
|
8
|
-
config: {
|
|
9
|
-
|
|
8
|
+
config: {
|
|
9
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
10
10
|
main: {
|
|
11
11
|
label: "",
|
|
12
12
|
type: "date",
|
|
@@ -21,7 +21,7 @@ export const DateTime = {
|
|
|
21
21
|
},
|
|
22
22
|
|
|
23
23
|
config: {
|
|
24
|
-
layout: { xs:
|
|
24
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
25
25
|
main: {
|
|
26
26
|
label: "DateTime",
|
|
27
27
|
type: "date",
|