impaktapps-ui-builder 0.0.412-mtreemap.4 → 0.0.412-mtreemap.41
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 +1938 -1225
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +13 -13
- 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/button.d.ts +1 -6
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +23 -5
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +71 -122
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/file.d.ts +6 -6
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +8 -5
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +25 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +17 -2
- package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +4 -2
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +2 -1
- package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +3 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +4 -4
- 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/buildSchema.ts +0 -1
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +1 -5
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +48 -66
- package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +2 -7
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +43 -21
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +34 -56
- package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -12
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +0 -117
- package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +9 -5
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +14 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +93 -137
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +13 -13
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +0 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +355 -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 +533 -315
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +397 -264
- package/src/impaktapps-ui-builder/builder/services/component.ts +25 -7
- package/src/impaktapps-ui-builder/builder/services/event.ts +17 -7
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +19 -3
- package/src/impaktapps-ui-builder/builder/services/utils.ts +0 -1
- package/src/impaktapps-ui-builder/runtime/services/events.ts +28 -34
- package/src/impaktapps-ui-builder/runtime/services/service.ts +111 -3
|
@@ -1,80 +1,27 @@
|
|
|
1
|
-
export const componentBasicUiSchema: any = {
|
|
1
|
+
export const componentBasicUiSchema: any = (theme)=>{
|
|
2
|
+
const uiSchema = {
|
|
2
3
|
type: "HorizontalLayout",
|
|
4
|
+
heading: "Component",
|
|
3
5
|
elements: [
|
|
4
6
|
{
|
|
5
|
-
type: "
|
|
7
|
+
type: "Control",
|
|
8
|
+
scope: "#/properties/pageName",
|
|
9
|
+
|
|
10
|
+
options: {
|
|
11
|
+
widget: "Box",
|
|
12
|
+
},
|
|
6
13
|
config: {
|
|
14
|
+
layout: 12,
|
|
7
15
|
main: {
|
|
8
|
-
|
|
9
|
-
header:true
|
|
10
|
-
},
|
|
11
|
-
defaultStyle:true
|
|
12
|
-
},
|
|
13
|
-
elements: [
|
|
14
|
-
|
|
15
|
-
{
|
|
16
|
-
type: "Control",
|
|
17
|
-
scope: "#/properties/Component",
|
|
18
|
-
|
|
19
|
-
options: {
|
|
20
|
-
widget: "Box",
|
|
21
|
-
},
|
|
22
|
-
config: {
|
|
23
|
-
layout: {xs:12,sm:12,md:2},
|
|
24
|
-
main: {
|
|
25
|
-
heading: "Component",
|
|
26
|
-
},
|
|
27
|
-
style:{
|
|
28
|
-
"float":"left",
|
|
29
|
-
}
|
|
30
|
-
},
|
|
16
|
+
heading: " ",
|
|
31
17
|
},
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
options: {
|
|
38
|
-
widget: "Box",
|
|
39
|
-
},
|
|
40
|
-
config: {
|
|
41
|
-
layout: {xs:7,sm:7,md:9},
|
|
42
|
-
main: {
|
|
43
|
-
heading: " ",
|
|
44
|
-
},
|
|
45
|
-
style: {
|
|
46
|
-
float: "right",
|
|
47
|
-
width:"auto",
|
|
48
|
-
fontSize:"12px",
|
|
49
|
-
color:"gray",
|
|
50
|
-
paddingTop:"10px"
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
{
|
|
56
|
-
type: "Control",
|
|
57
|
-
scope: "#/properties/Back_Button",
|
|
58
|
-
|
|
59
|
-
options: {
|
|
60
|
-
widget: "IconButton",
|
|
61
|
-
},
|
|
62
|
-
config: {
|
|
63
|
-
layout: {xs:2,sm:2,md:0.5},
|
|
64
|
-
main: {
|
|
65
|
-
icon: "BackIcon",
|
|
66
|
-
styleDefault: true,
|
|
67
|
-
size: "small",
|
|
68
|
-
onClick: "backHandler",
|
|
69
|
-
tooltipMessage: "Back",
|
|
70
|
-
},
|
|
71
|
-
style: {
|
|
72
|
-
float: "right",
|
|
73
|
-
},
|
|
74
|
-
},
|
|
18
|
+
style: {
|
|
19
|
+
marginLeft: theme.spacing(3),
|
|
20
|
+
width:"auto",
|
|
21
|
+
fontSize:"12px",
|
|
22
|
+
color:"gray",
|
|
75
23
|
},
|
|
76
|
-
|
|
77
|
-
],
|
|
24
|
+
},
|
|
78
25
|
},
|
|
79
26
|
{
|
|
80
27
|
type: "TabLayout",
|
|
@@ -98,7 +45,7 @@ export const componentBasicUiSchema: any = {
|
|
|
98
45
|
widget: "SelectInputField",
|
|
99
46
|
},
|
|
100
47
|
config: {
|
|
101
|
-
layout: { xs:
|
|
48
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
102
49
|
main: {
|
|
103
50
|
label: "Type",
|
|
104
51
|
},
|
|
@@ -112,12 +59,7 @@ export const componentBasicUiSchema: any = {
|
|
|
112
59
|
widget: "InputField",
|
|
113
60
|
},
|
|
114
61
|
config: {
|
|
115
|
-
layout: {
|
|
116
|
-
xs: 12,
|
|
117
|
-
sm: 12,
|
|
118
|
-
md: 6,
|
|
119
|
-
lg: 6,
|
|
120
|
-
},
|
|
62
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
121
63
|
main: {
|
|
122
64
|
label: "Name",
|
|
123
65
|
options: [],
|
|
@@ -134,12 +76,7 @@ export const componentBasicUiSchema: any = {
|
|
|
134
76
|
widget: "InputField",
|
|
135
77
|
},
|
|
136
78
|
config: {
|
|
137
|
-
layout: {
|
|
138
|
-
xs: 12,
|
|
139
|
-
sm: 12,
|
|
140
|
-
md: 6,
|
|
141
|
-
lg: 6,
|
|
142
|
-
},
|
|
79
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
143
80
|
main: {
|
|
144
81
|
label: "Label",
|
|
145
82
|
options: [],
|
|
@@ -155,12 +92,7 @@ export const componentBasicUiSchema: any = {
|
|
|
155
92
|
widget: "SelectInputField",
|
|
156
93
|
},
|
|
157
94
|
config: {
|
|
158
|
-
layout: {
|
|
159
|
-
xs: 12,
|
|
160
|
-
sm: 12,
|
|
161
|
-
md: 6,
|
|
162
|
-
lg: 6,
|
|
163
|
-
},
|
|
95
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
164
96
|
main: {
|
|
165
97
|
label: "Column Format",
|
|
166
98
|
|
|
@@ -171,7 +103,17 @@ export const componentBasicUiSchema: any = {
|
|
|
171
103
|
type: "Control",
|
|
172
104
|
scope: "#/properties/proc",
|
|
173
105
|
config: {
|
|
174
|
-
layout: { xs:
|
|
106
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
107
|
+
},
|
|
108
|
+
options: {
|
|
109
|
+
widget: "EmptyBox",
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
type: "Control",
|
|
114
|
+
scope: "#/properties/proc",
|
|
115
|
+
config: {
|
|
116
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
175
117
|
},
|
|
176
118
|
options: {
|
|
177
119
|
widget: "EmptyBox",
|
|
@@ -180,7 +122,7 @@ export const componentBasicUiSchema: any = {
|
|
|
180
122
|
{
|
|
181
123
|
type: "Control",
|
|
182
124
|
scope: "#/properties/layout",
|
|
183
|
-
layout:
|
|
125
|
+
layout: 12,
|
|
184
126
|
options: {
|
|
185
127
|
detail: {
|
|
186
128
|
type: "HorizontalLayout",
|
|
@@ -192,12 +134,7 @@ export const componentBasicUiSchema: any = {
|
|
|
192
134
|
widget: "SelectInputField",
|
|
193
135
|
},
|
|
194
136
|
config: {
|
|
195
|
-
layout: {
|
|
196
|
-
xs: 11,
|
|
197
|
-
sm: 11,
|
|
198
|
-
md: 5.5,
|
|
199
|
-
lg: 5.5,
|
|
200
|
-
},
|
|
137
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
201
138
|
main: {
|
|
202
139
|
label: "Screen Size",
|
|
203
140
|
|
|
@@ -212,12 +149,7 @@ export const componentBasicUiSchema: any = {
|
|
|
212
149
|
widget: "InputField",
|
|
213
150
|
},
|
|
214
151
|
config: {
|
|
215
|
-
layout: {
|
|
216
|
-
xs: 11,
|
|
217
|
-
sm: 11,
|
|
218
|
-
md: 5.5,
|
|
219
|
-
lg: 5.5,
|
|
220
|
-
},
|
|
152
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
221
153
|
main: {
|
|
222
154
|
label: "Value",
|
|
223
155
|
type:"number",
|
|
@@ -228,6 +160,16 @@ export const componentBasicUiSchema: any = {
|
|
|
228
160
|
},
|
|
229
161
|
},
|
|
230
162
|
},
|
|
163
|
+
{
|
|
164
|
+
type: "Control",
|
|
165
|
+
scope: "#/properties/proc",
|
|
166
|
+
config: {
|
|
167
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
168
|
+
},
|
|
169
|
+
options: {
|
|
170
|
+
widget: "EmptyBox",
|
|
171
|
+
},
|
|
172
|
+
},
|
|
231
173
|
],
|
|
232
174
|
},
|
|
233
175
|
},
|
|
@@ -236,16 +178,212 @@ export const componentBasicUiSchema: any = {
|
|
|
236
178
|
},
|
|
237
179
|
],
|
|
238
180
|
},
|
|
181
|
+
{
|
|
182
|
+
type: "Control",
|
|
183
|
+
scope: "#/properties/popUpComponentSection",
|
|
184
|
+
options: {
|
|
185
|
+
widget: "PopUp"
|
|
186
|
+
},
|
|
187
|
+
config: {
|
|
188
|
+
layout: {
|
|
189
|
+
xs: 12,
|
|
190
|
+
sm: 12,
|
|
191
|
+
md: 12,
|
|
192
|
+
lg: 12,
|
|
193
|
+
},
|
|
194
|
+
main: {
|
|
195
|
+
},
|
|
196
|
+
style: {
|
|
197
|
+
"& .MuiPaper-root":{
|
|
198
|
+
width: '30%',
|
|
199
|
+
},
|
|
200
|
+
"& .MuiTypography-root":{
|
|
201
|
+
padding: 0
|
|
202
|
+
},
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
elements:
|
|
206
|
+
[
|
|
207
|
+
{
|
|
208
|
+
type: "Control",
|
|
209
|
+
scope: "#/properties/label",
|
|
210
|
+
options: {
|
|
211
|
+
widget: "Box",
|
|
212
|
+
},
|
|
213
|
+
config: {
|
|
214
|
+
layout: 12,
|
|
215
|
+
main: {
|
|
216
|
+
heading: "Are you sure you want to delete ?",
|
|
217
|
+
},
|
|
218
|
+
style:{
|
|
219
|
+
marginTop: "-40px"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
type: "Control",
|
|
225
|
+
scope: "#/properties/EmptyBox",
|
|
226
|
+
options: {
|
|
227
|
+
widget: "EmptyBox",
|
|
228
|
+
},
|
|
229
|
+
config: {
|
|
230
|
+
main:{},
|
|
231
|
+
layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
|
|
232
|
+
},
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
type: "Control",
|
|
236
|
+
scope: "#/properties/ConfirmDeleteCompButton",
|
|
237
|
+
options: {
|
|
238
|
+
widget: "Button",
|
|
239
|
+
},
|
|
240
|
+
config: {
|
|
241
|
+
layout: 3,
|
|
242
|
+
main: {
|
|
243
|
+
name: "Yes",
|
|
244
|
+
startIcon: "ApproveIcon",
|
|
245
|
+
variant: "contained",
|
|
246
|
+
color: "info",
|
|
247
|
+
type: "text",
|
|
248
|
+
onClick: "deleteComponents",
|
|
249
|
+
size: "small",
|
|
250
|
+
},
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
type: "Control",
|
|
255
|
+
scope: "#/properties/CancelDeleteCompButton",
|
|
256
|
+
options: {
|
|
257
|
+
widget: "Button",
|
|
258
|
+
},
|
|
259
|
+
config: {
|
|
260
|
+
layout: 3,
|
|
261
|
+
main: {
|
|
262
|
+
name: "No",
|
|
263
|
+
startIcon: "ApproveIcon",
|
|
264
|
+
variant: "contained",
|
|
265
|
+
color: "info",
|
|
266
|
+
type: "text",
|
|
267
|
+
onClick: "deletePopUpComponent",
|
|
268
|
+
size: "small",
|
|
269
|
+
},
|
|
270
|
+
},
|
|
271
|
+
},
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
type: "Control",
|
|
276
|
+
scope: "#/properties/popUpEventSection",
|
|
277
|
+
options: {
|
|
278
|
+
widget: "PopUp"
|
|
279
|
+
},
|
|
280
|
+
config: {
|
|
281
|
+
layout: {
|
|
282
|
+
xs: 12,
|
|
283
|
+
sm: 12,
|
|
284
|
+
md: 12,
|
|
285
|
+
lg: 12,
|
|
286
|
+
},
|
|
287
|
+
main: {
|
|
288
|
+
},
|
|
289
|
+
style: {
|
|
290
|
+
"& .MuiPaper-root":{
|
|
291
|
+
width: '30%',
|
|
292
|
+
},
|
|
293
|
+
"& .MuiTypography-root":{
|
|
294
|
+
padding: 0
|
|
295
|
+
},
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
elements:
|
|
299
|
+
[
|
|
300
|
+
{
|
|
301
|
+
type: "Control",
|
|
302
|
+
scope: "#/properties/label",
|
|
303
|
+
options: {
|
|
304
|
+
widget: "Box",
|
|
305
|
+
},
|
|
306
|
+
config: {
|
|
307
|
+
layout: 12,
|
|
308
|
+
main: {
|
|
309
|
+
heading: "Are you sure you want to delete ?",
|
|
310
|
+
},
|
|
311
|
+
style:{
|
|
312
|
+
marginTop: "-40px"
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
type: "Control",
|
|
318
|
+
scope: "#/properties/EmptyBox",
|
|
319
|
+
options: {
|
|
320
|
+
widget: "EmptyBox",
|
|
321
|
+
},
|
|
322
|
+
config: {
|
|
323
|
+
main:{},
|
|
324
|
+
layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
|
|
325
|
+
},
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
type: "Control",
|
|
329
|
+
scope: "#/properties/ConfirmDeleteEventButton",
|
|
330
|
+
options: {
|
|
331
|
+
widget: "Button",
|
|
332
|
+
},
|
|
333
|
+
config: {
|
|
334
|
+
layout: 3,
|
|
335
|
+
main: {
|
|
336
|
+
name: "Yes",
|
|
337
|
+
startIcon: "ApproveIcon",
|
|
338
|
+
variant: "contained",
|
|
339
|
+
color: "info",
|
|
340
|
+
type: "text",
|
|
341
|
+
onClick: "deleteEvent",
|
|
342
|
+
size: "small",
|
|
343
|
+
},
|
|
344
|
+
},
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
type: "Control",
|
|
348
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
349
|
+
options: {
|
|
350
|
+
widget: "Button",
|
|
351
|
+
},
|
|
352
|
+
config: {
|
|
353
|
+
layout: 3,
|
|
354
|
+
main: {
|
|
355
|
+
name: "No",
|
|
356
|
+
startIcon: "ApproveIcon",
|
|
357
|
+
variant: "contained",
|
|
358
|
+
color: "info",
|
|
359
|
+
type: "text",
|
|
360
|
+
onClick: "deletePopUpEvent",
|
|
361
|
+
size: "small",
|
|
362
|
+
},
|
|
363
|
+
},
|
|
364
|
+
},
|
|
365
|
+
]
|
|
366
|
+
},
|
|
239
367
|
|
|
240
368
|
{
|
|
241
369
|
type: "Control",
|
|
242
|
-
scope: "#/properties/
|
|
370
|
+
scope: "#/properties/EmptyBox",
|
|
371
|
+
options: {
|
|
372
|
+
widget: "EmptyBox",
|
|
373
|
+
},
|
|
243
374
|
config: {
|
|
244
|
-
layout: { xs:
|
|
375
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
245
376
|
},
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
type: "Control",
|
|
380
|
+
scope: "#/properties/EmptyBox",
|
|
246
381
|
options: {
|
|
247
382
|
widget: "EmptyBox",
|
|
248
383
|
},
|
|
384
|
+
config: {
|
|
385
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
386
|
+
},
|
|
249
387
|
},
|
|
250
388
|
{
|
|
251
389
|
type: "Control",
|
|
@@ -255,23 +393,17 @@ export const componentBasicUiSchema: any = {
|
|
|
255
393
|
},
|
|
256
394
|
|
|
257
395
|
config: {
|
|
258
|
-
layout:
|
|
259
|
-
xs: 11,
|
|
260
|
-
sm: 11,
|
|
261
|
-
md: 2.5,
|
|
262
|
-
lg: 2.5,
|
|
263
|
-
},
|
|
396
|
+
layout: 1.8,
|
|
264
397
|
main: {
|
|
265
398
|
name: "Ok",
|
|
266
399
|
startIcon: "ApproveIcon",
|
|
267
400
|
variant: "contained",
|
|
268
|
-
color: "info",
|
|
401
|
+
// color: "info",
|
|
269
402
|
type: "text",
|
|
270
403
|
onClick: "okHandler",
|
|
271
|
-
size: "
|
|
404
|
+
size: "medium",
|
|
272
405
|
},
|
|
273
406
|
style: {
|
|
274
|
-
marginBottom: "8px",
|
|
275
407
|
float: "right",
|
|
276
408
|
},
|
|
277
409
|
},
|
|
@@ -284,23 +416,17 @@ export const componentBasicUiSchema: any = {
|
|
|
284
416
|
},
|
|
285
417
|
|
|
286
418
|
config: {
|
|
287
|
-
layout:
|
|
288
|
-
xs: 11,
|
|
289
|
-
sm: 11,
|
|
290
|
-
md: 2.5,
|
|
291
|
-
lg: 2.5,
|
|
292
|
-
},
|
|
419
|
+
layout: 1.8,
|
|
293
420
|
main: {
|
|
294
421
|
name: "Save & Exit",
|
|
295
422
|
startIcon: "ApproveIcon",
|
|
296
423
|
variant: "contained",
|
|
297
|
-
color: "info",
|
|
424
|
+
// color: "info",
|
|
298
425
|
type: "text",
|
|
299
426
|
onClick: "saveHandler",
|
|
300
|
-
size: "
|
|
427
|
+
size: "medium",
|
|
301
428
|
},
|
|
302
429
|
style: {
|
|
303
|
-
marginBottom: "8px",
|
|
304
430
|
float: "right",
|
|
305
431
|
},
|
|
306
432
|
},
|
|
@@ -312,48 +438,112 @@ export const componentBasicUiSchema: any = {
|
|
|
312
438
|
widget: "Notify",
|
|
313
439
|
},
|
|
314
440
|
layout: 6,
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
type: "HorizontalLayout",
|
|
444
|
+
config: {
|
|
445
|
+
main: {
|
|
446
|
+
direction: 'row'
|
|
447
|
+
},
|
|
448
|
+
style: {
|
|
449
|
+
flexDirection: "row",
|
|
450
|
+
position: "absolute",
|
|
451
|
+
bottom: 0,
|
|
452
|
+
marginBottom: '-8px',
|
|
453
|
+
height: 'fit-content',
|
|
454
|
+
overflow: 'hidden',
|
|
455
|
+
zIndex: 1000,
|
|
456
|
+
width: 'inherit'
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
elements: [
|
|
460
|
+
{
|
|
461
|
+
|
|
462
|
+
type: "Control",
|
|
463
|
+
scope: "#/properties/FooterText",
|
|
464
|
+
options: {
|
|
465
|
+
widget: "Box",
|
|
466
|
+
},
|
|
467
|
+
config: {
|
|
468
|
+
main: {
|
|
469
|
+
heading: "Copywriter@ACT21.IO"
|
|
470
|
+
},
|
|
471
|
+
style: {
|
|
472
|
+
color: theme?.palette?.text.disabled || "#AFAFAF",
|
|
473
|
+
fontSize: '12px',
|
|
474
|
+
textAlign: 'center',
|
|
475
|
+
lineHeight: 1,
|
|
476
|
+
width: 'fit-content',
|
|
477
|
+
left: '50%',
|
|
478
|
+
position: 'relative',
|
|
479
|
+
margin: 0,
|
|
480
|
+
flexGrow: 1,
|
|
481
|
+
height: 0
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
type: "Control",
|
|
487
|
+
scope: "#/properties/backIcon",
|
|
488
|
+
options: {
|
|
489
|
+
widget: "Box",
|
|
490
|
+
},
|
|
491
|
+
config: {
|
|
492
|
+
main: {
|
|
493
|
+
iconName: 'PrevIcon',
|
|
494
|
+
onClick: "backHandler",
|
|
495
|
+
width: 'fit-content',
|
|
496
|
+
},
|
|
497
|
+
style: {
|
|
498
|
+
fill: theme.palette.primary.main,
|
|
499
|
+
width: 20,
|
|
500
|
+
height: 0,
|
|
501
|
+
margin: 0,
|
|
502
|
+
top: 0,
|
|
503
|
+
right: '90px',
|
|
504
|
+
position: 'absolute',
|
|
505
|
+
fontSize: '12px',
|
|
506
|
+
cursor: 'pointer',
|
|
507
|
+
':hover': {
|
|
508
|
+
fill: theme.palette.primary.dark,
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
type: "Control",
|
|
515
|
+
scope: "#/properties/text",
|
|
516
|
+
|
|
517
|
+
options: {
|
|
518
|
+
widget: "Box",
|
|
519
|
+
},
|
|
520
|
+
config: {
|
|
521
|
+
main: {
|
|
522
|
+
heading: "Previous Page",
|
|
523
|
+
onClick: "backHandler"
|
|
524
|
+
},
|
|
525
|
+
style: {
|
|
526
|
+
textAlign: 'left',
|
|
527
|
+
lineHeight: 1,
|
|
528
|
+
height: 0,
|
|
529
|
+
width: 'fit-content',
|
|
530
|
+
color: theme.palette.primary.main,
|
|
531
|
+
fontSize: "12px",
|
|
532
|
+
cursor: 'pointer',
|
|
533
|
+
marginLeft: '2px',
|
|
534
|
+
marginRight: 0,
|
|
535
|
+
top: 3,
|
|
536
|
+
right: '20px',
|
|
537
|
+
position: 'absolute',
|
|
538
|
+
':hover': {
|
|
539
|
+
color: theme.palette.primary.dark,
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
},
|
|
544
|
+
]
|
|
315
545
|
}
|
|
316
546
|
],
|
|
317
547
|
};
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
// {
|
|
336
|
-
// type: "Control",
|
|
337
|
-
// scope: "#/properties/homeBtn",
|
|
338
|
-
|
|
339
|
-
// options: {
|
|
340
|
-
// widget: "Button",
|
|
341
|
-
// },
|
|
342
|
-
// config: {
|
|
343
|
-
// layout: {xs:2,sm:2,md:1},
|
|
344
|
-
// main: {
|
|
345
|
-
// name: "🏠",
|
|
346
|
-
// },
|
|
347
|
-
// style: {
|
|
348
|
-
// marginRight:'auto',
|
|
349
|
-
// marginLeft:"auto",
|
|
350
|
-
// width:"20px",
|
|
351
|
-
|
|
352
|
-
// // background:"inherit",
|
|
353
|
-
// // boxShadow:"none",
|
|
354
|
-
// float:"left",
|
|
355
|
-
// borderRadius:"50%"
|
|
356
|
-
|
|
357
|
-
// },
|
|
358
|
-
// },
|
|
359
|
-
// },
|
|
548
|
+
return uiSchema
|
|
549
|
+
}
|