impaktapps-ui-builder 0.0.382456 → 0.0.382460

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.
Files changed (109) hide show
  1. package/dist/impaktapps-ui-builder.es.js +4233 -2667
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +15 -15
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.d.ts +4 -1
  6. package/dist/src/impaktapps-ui-builder/builder/build/buildCard.d.ts +1 -1
  7. package/dist/src/impaktapps-ui-builder/builder/build/buildConfig.d.ts +1 -1
  8. package/dist/src/impaktapps-ui-builder/builder/build/buildDate.d.ts +1 -0
  9. package/dist/src/impaktapps-ui-builder/builder/build/buildInputSlider.d.ts +1 -0
  10. package/dist/src/impaktapps-ui-builder/builder/build/buildTable.d.ts +0 -1
  11. package/dist/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.d.ts +1 -0
  12. package/dist/src/impaktapps-ui-builder/builder/build/buildTreeMap.d.ts +1 -0
  13. package/dist/src/impaktapps-ui-builder/builder/build/buildUiSchema.d.ts +1 -1
  14. package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +36 -2
  15. package/dist/src/impaktapps-ui-builder/builder/build/uischema/box.d.ts +2 -2
  16. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +60 -0
  17. package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +1 -7
  18. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +172 -86
  19. package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +15 -0
  20. package/dist/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.d.ts +19 -0
  21. package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +121 -119
  22. package/dist/src/impaktapps-ui-builder/builder/build/uischema/file.d.ts +6 -6
  23. package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +42 -115
  24. package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +10 -288
  25. package/dist/src/impaktapps-ui-builder/builder/build/uischema/progressBar.d.ts +6 -1
  26. package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +2 -0
  27. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +119 -96
  28. package/dist/src/impaktapps-ui-builder/builder/build/uischema/{lazyLoadingTable.d.ts → thoughtOfTheDay.d.ts} +6 -3
  29. package/dist/src/impaktapps-ui-builder/builder/build/uischema/timer.d.ts +1 -14
  30. package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +17 -2
  31. package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +17 -2
  32. package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +2 -1
  33. package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.d.ts +9 -0
  34. package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.d.ts +3 -0
  35. package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +12 -4
  36. package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +11 -2
  37. package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +16 -3
  38. package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +4 -4
  39. package/dist/src/impaktapps-ui-builder/lib/index.d.ts +1 -1
  40. package/dist/src/impaktapps-ui-builder/runtime/services/events.d.ts +8 -5
  41. package/dist/src/impaktapps-ui-builder/runtime/services/interface.d.ts +2 -0
  42. package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +11 -8
  43. package/package.json +5 -1
  44. package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +9 -5
  45. package/src/impaktapps-ui-builder/builder/build/buildButton.ts +0 -2
  46. package/src/impaktapps-ui-builder/builder/build/buildCard.ts +11 -7
  47. package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +15 -19
  48. package/src/impaktapps-ui-builder/builder/build/buildDate.ts +12 -2
  49. package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
  50. package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +22 -9
  51. package/src/impaktapps-ui-builder/builder/build/buildInputSlider.ts +46 -0
  52. package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +26 -19
  53. package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +16 -2
  54. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +24 -23
  55. package/src/impaktapps-ui-builder/builder/build/buildProgressBar.ts +1 -1
  56. package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +1 -1
  57. package/src/impaktapps-ui-builder/builder/build/buildRankCard.ts +4 -10
  58. package/src/impaktapps-ui-builder/builder/build/buildSchema.ts +1 -2
  59. package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +19 -8
  60. package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +9 -2
  61. package/src/impaktapps-ui-builder/builder/build/buildTable.ts +39 -29
  62. package/src/impaktapps-ui-builder/builder/build/buildTextArea.ts +6 -0
  63. package/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.ts +22 -0
  64. package/src/impaktapps-ui-builder/builder/build/buildTreeMap.ts +61 -0
  65. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +77 -57
  66. package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +16 -19
  67. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +16 -11
  68. package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +50 -27
  69. package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +3 -2
  70. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +174 -80
  71. package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +1 -7
  72. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +171 -75
  73. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +43 -41
  74. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +17 -7
  75. package/src/impaktapps-ui-builder/builder/build/uischema/emptyBox.ts +1 -1
  76. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +78 -56
  77. package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -12
  78. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +13 -141
  79. package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +10 -357
  80. package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
  81. package/src/impaktapps-ui-builder/builder/build/uischema/progressBar.ts +1 -1
  82. package/src/impaktapps-ui-builder/builder/build/uischema/rankCard.ts +1 -1
  83. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +15 -11
  84. package/src/impaktapps-ui-builder/builder/build/uischema/runnerBoyProgressBar.ts +1 -1
  85. package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -6
  86. package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +5 -6
  87. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +125 -97
  88. package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -6
  89. package/src/impaktapps-ui-builder/builder/build/uischema/thoughtOfTheDay.ts +14 -0
  90. package/src/impaktapps-ui-builder/builder/build/uischema/timer.ts +2 -16
  91. package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +12 -12
  92. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +13 -13
  93. package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +2 -1
  94. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +67 -19
  95. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +525 -166
  96. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +12 -2
  97. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +757 -321
  98. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +7 -2
  99. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +516 -269
  100. package/src/impaktapps-ui-builder/builder/services/component.ts +165 -73
  101. package/src/impaktapps-ui-builder/builder/services/event.ts +74 -13
  102. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +61 -20
  103. package/src/impaktapps-ui-builder/builder/services/utils.ts +13 -14
  104. package/src/impaktapps-ui-builder/lib/index.ts +1 -1
  105. package/src/impaktapps-ui-builder/runtime/services/downloadFile.ts +1 -1
  106. package/src/impaktapps-ui-builder/runtime/services/events.ts +154 -96
  107. package/src/impaktapps-ui-builder/runtime/services/interface.ts +3 -1
  108. package/src/impaktapps-ui-builder/runtime/services/service.ts +211 -49
  109. package/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.ts +0 -14
@@ -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: "WrapperLayout",
7
+ type: "Control",
8
+ scope: "#/properties/pageName",
9
+
10
+ options: {
11
+ widget: "Box",
12
+ },
6
13
  config: {
14
+ layout: 12,
7
15
  main: {
8
- rowSpacing: 1,
9
- header:true
16
+ heading: " ",
10
17
  },
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
- },
31
- },
32
-
33
- {
34
- type: "Control",
35
- scope: "#/properties/pageName",
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: 12, sm: 12, md: 6, lg: 6 },
48
+ layout: { xs: 6, sm: 6, 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: 6, sm: 6, 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: 6, sm: 6, md: 4, lg: 4 },
143
80
  main: {
144
81
  label: "Label",
145
82
  options: [],
@@ -148,12 +85,35 @@ export const componentBasicUiSchema: any = {
148
85
  },
149
86
  },
150
87
  },
151
-
88
+ {
89
+ type: "Control",
90
+ scope: "#/properties/columnFormat",
91
+ options: {
92
+ widget: "SelectInputField",
93
+ },
94
+ config: {
95
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
96
+ main: {
97
+ label: "Column Format",
98
+
99
+ },
100
+ },
101
+ },
102
+ {
103
+ type: "Control",
104
+ scope: "#/properties/proc",
105
+ config: {
106
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 },
107
+ },
108
+ options: {
109
+ widget: "EmptyBox",
110
+ },
111
+ },
152
112
  {
153
113
  type: "Control",
154
114
  scope: "#/properties/proc",
155
115
  config: {
156
- layout: { xs: 11, sm: 11, md: 6, lg: 6 },
116
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 },
157
117
  },
158
118
  options: {
159
119
  widget: "EmptyBox",
@@ -162,7 +122,7 @@ export const componentBasicUiSchema: any = {
162
122
  {
163
123
  type: "Control",
164
124
  scope: "#/properties/layout",
165
- layout: 11.5,
125
+ layout: 12,
166
126
  options: {
167
127
  detail: {
168
128
  type: "HorizontalLayout",
@@ -174,12 +134,7 @@ export const componentBasicUiSchema: any = {
174
134
  widget: "SelectInputField",
175
135
  },
176
136
  config: {
177
- layout: {
178
- xs: 11,
179
- sm: 11,
180
- md: 5.5,
181
- lg: 5.5,
182
- },
137
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
183
138
  main: {
184
139
  label: "Screen Size",
185
140
 
@@ -194,12 +149,7 @@ export const componentBasicUiSchema: any = {
194
149
  widget: "InputField",
195
150
  },
196
151
  config: {
197
- layout: {
198
- xs: 11,
199
- sm: 11,
200
- md: 5.5,
201
- lg: 5.5,
202
- },
152
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
203
153
  main: {
204
154
  label: "Value",
205
155
  type:"number",
@@ -210,6 +160,16 @@ export const componentBasicUiSchema: any = {
210
160
  },
211
161
  },
212
162
  },
163
+ {
164
+ type: "Control",
165
+ scope: "#/properties/proc",
166
+ config: {
167
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 },
168
+ },
169
+ options: {
170
+ widget: "EmptyBox",
171
+ },
172
+ },
213
173
  ],
214
174
  },
215
175
  },
@@ -218,16 +178,367 @@ export const componentBasicUiSchema: any = {
218
178
  },
219
179
  ],
220
180
  },
181
+ {
182
+ type: "HorizontalLayout",
183
+ config: {
184
+ layout:{xs:12,sm: 6}
185
+ },
186
+ elements: [
187
+ {
188
+ type: "Control",
189
+ scope: "#/properties/RemoveItemButton",
190
+ options: {
191
+ widget: "IconButton",
192
+ },
193
+ config: {
194
+ layout: { xs: 1, sm: 1 },
195
+ main: {
196
+ onClick: "RemoveItemButton",
197
+ size: "large",
198
+ icon: "RejectIcon",
199
+ styleDefault: true,
200
+ },
201
+ style:{
202
+ marginLeft: "-10px"
203
+ }
204
+ },
205
+ },
221
206
 
207
+ {
208
+ type: "Control",
209
+ scope: "#/properties/copiedElementDetails",
210
+
211
+ options: {
212
+ widget: "Box",
213
+ },
214
+ config: {
215
+ layout: { xs: 6, sm: 6 },
216
+ main: {
217
+ heading: "No element copied",
218
+ },
219
+ style: {
220
+ color: "#535557",
221
+ marginLeft: "-10px",
222
+ fontSize: "12px",
223
+ marginTop: "4px"
224
+ },
225
+ },
226
+ },
227
+ {
228
+ type: "Control",
229
+ scope: "#/properties/EmptyBox",
230
+ options: {
231
+ widget: "EmptyBox",
232
+ },
233
+ config: {
234
+ layout: { xs: 1, sm: 5 },
235
+ },
236
+ },
237
+ ]
238
+ },
222
239
  {
223
240
  type: "Control",
224
- scope: "#/properties/proc",
241
+ scope: "#/properties/btn",
242
+ options: {
243
+ widget: "Button",
244
+ },
245
+
225
246
  config: {
226
- layout: { xs: 11, sm: 11, md: 6, lg: 6 },
247
+ layout: { xs: 4, sm: 2 },
248
+ main: {
249
+ name: "Ok",
250
+ startIcon: "ApproveIcon",
251
+ variant: "contained",
252
+ // color: "info",
253
+ type: "text",
254
+ onClick: "okHandler",
255
+ size: "medium",
256
+ },
227
257
  },
258
+ },
259
+ {
260
+ type: "Control",
261
+ scope: "#/properties/btnSubmit",
262
+ options: {
263
+ widget: "Button",
264
+ },
265
+
266
+ config: {
267
+ layout: { xs: 4, sm: 2 },
268
+ main: {
269
+ name: "Save & Exit",
270
+ startIcon: "ApproveIcon",
271
+ variant: "contained",
272
+ // color: "info",
273
+ type: "text",
274
+ onClick: "saveHandler",
275
+ size: "medium",
276
+ },
277
+ },
278
+ },
279
+
280
+
281
+ {
282
+ type: "Control",
283
+ scope: "#/properties/popUpComponentSection",
284
+ options: {
285
+ widget: "PopUp"
286
+ },
287
+ config: {
288
+ layout: {
289
+ xs: 12,
290
+ sm: 12,
291
+ md: 12,
292
+ lg: 12,
293
+ },
294
+ main: {
295
+ title: "WARNING!"
296
+ },
297
+ style: {
298
+ }
299
+ },
300
+ elements:
301
+ [
302
+ {
303
+ type: "Control",
304
+ scope: "#/properties/popupText",
305
+ options: {
306
+ widget: "Box",
307
+ },
308
+ config: {
309
+ layout: 12,
310
+ main: {
311
+ heading: "Are you sure you want to delete ?",
312
+ },
313
+ style:{
314
+ marginTop: "-20px",
315
+ fontSize: "20px",
316
+ "&.MuiTypography-root": {
317
+ padding: "10px 30px 20px 30px",
318
+ textAlign: "center",
319
+ lineHeight: "1"
320
+ }
321
+ }
322
+ },
323
+ },
324
+ {
325
+ type: "WrapperLayout",
326
+ config: {
327
+ layout: 12,
328
+ main: {},
329
+
330
+ },
331
+ elements: [
332
+ {
333
+ type: "Control",
334
+ scope: "#/properties/CancelDeleteCompButton",
335
+ options: {
336
+ widget: "Button",
337
+ },
338
+ config: {
339
+ layout: 6,
340
+ main: {
341
+ name: "No",
342
+ startIcon: "ApproveIcon",
343
+ variant: "contained",
344
+ color: "info",
345
+ type: "text",
346
+ onClick: "deletePopUpComponent",
347
+ size: "large",
348
+ },
349
+ style: {
350
+ position: "absolute",
351
+ bottom: 0,
352
+ left: 0,
353
+ width: "50%",
354
+ borderRadius: 0,
355
+ boxShadow: 0,
356
+ backgroundColor: "transparent",
357
+ color: theme.palette.primary.main,
358
+ borderTop: `0.5px solid ${theme.palette.grey[600]}`,
359
+ borderRight: `0.5px solid ${theme.palette.grey[600]}`,
360
+ "&:hover": {
361
+ color: theme.palette.primary.contrastText,
362
+ backgroundColor: theme.palette.primary.main,
363
+ boxShadow: "none"
364
+ }
365
+ }
366
+ },
367
+ },
368
+ {
369
+ type: "Control",
370
+ scope: "#/properties/ConfirmDeleteCompButton",
371
+ options: {
372
+ widget: "Button",
373
+ },
374
+ config: {
375
+ layout: 6,
376
+ main: {
377
+ name: "Yes",
378
+ startIcon: "ApproveIcon",
379
+ variant: "contained",
380
+ color: "error",
381
+ type: "text",
382
+ onClick: "deleteComponents",
383
+ size: "large",
384
+ },
385
+ style: {
386
+ position: "absolute",
387
+ bottom: 0,
388
+ right: 0,
389
+ width: "50%",
390
+ borderRadius: 0,
391
+ boxShadow: 0,
392
+ backgroundColor: "transparent",
393
+ color: theme.palette.error.main,
394
+ borderTop: `0.5px solid ${theme.palette.grey[600]}`,
395
+ "&:hover": {
396
+ color: theme.palette.error.contrastText,
397
+ backgroundColor: theme.palette.error.main,
398
+ boxShadow: "none"
399
+ }
400
+ }
401
+ },
402
+ },
403
+ ]
404
+ },
405
+ ]
406
+ },
407
+ {
408
+ type: "Control",
409
+ scope: "#/properties/popUpEventSection",
410
+ options: {
411
+ widget: "PopUp"
412
+ },
413
+ config: {
414
+ layout: {
415
+ xs: 12,
416
+ sm: 12,
417
+ md: 12,
418
+ lg: 12,
419
+ },
420
+ main: {
421
+ title: "WARNING!"
422
+ },
423
+ style: {
424
+ }
425
+ },
426
+ elements:
427
+ [
428
+ {
429
+ type: "Control",
430
+ scope: "#/properties/popupText1",
431
+ options: {
432
+ widget: "Box",
433
+ },
434
+ config: {
435
+ layout: 12,
436
+ main: {
437
+ heading: "Are you sure you want to delete ?",
438
+ },
439
+ style:{
440
+ marginTop: "-20px",
441
+ fontSize: "20px",
442
+ "&.MuiTypography-root": {
443
+ padding: "10px 30px 20px 30px",
444
+ textAlign: "center",
445
+ lineHeight: "1"
446
+ }
447
+ }
448
+ },
449
+ },
450
+ {
451
+ type: "WrapperLayout",
452
+ config: {
453
+ layout: 12,
454
+ main: {},
455
+
456
+ },
457
+ elements: [
458
+ {
459
+ type: "Control",
460
+ scope: "#/properties/CancelDeleteEventButton",
461
+ options: {
462
+ widget: "Button",
463
+ },
464
+ config: {
465
+ layout: 6,
466
+ main: {
467
+ name: "No",
468
+ startIcon: "ApproveIcon",
469
+ variant: "contained",
470
+ color: "info",
471
+ type: "text",
472
+ onClick: "deletePopUpEvent",
473
+ size: "large",
474
+ },
475
+ style: {
476
+ position: "absolute",
477
+ bottom: 0,
478
+ left: 0,
479
+ width: "50%",
480
+ borderRadius: 0,
481
+ boxShadow: 0,
482
+ backgroundColor: "transparent",
483
+ color: theme.palette.primary.main,
484
+ borderTop: `0.5px solid ${theme.palette.grey[600]}`,
485
+ borderRight: `0.5px solid ${theme.palette.grey[600]}`,
486
+ "&:hover": {
487
+ color: theme.palette.primary.contrastText,
488
+ backgroundColor: theme.palette.primary.main,
489
+ boxShadow: "none"
490
+ }
491
+ }
492
+ },
493
+ },
494
+ {
495
+ type: "Control",
496
+ scope: "#/properties/ConfirmDeleteEventButton",
497
+ options: {
498
+ widget: "Button",
499
+ },
500
+ config: {
501
+ layout: 6,
502
+ main: {
503
+ name: "Yes",
504
+ startIcon: "ApproveIcon",
505
+ variant: "contained",
506
+ color: "error",
507
+ type: "text",
508
+ onClick: "deleteEvent",
509
+ size: "large",
510
+ },
511
+ style: {
512
+ position: "absolute",
513
+ bottom: 0,
514
+ right: 0,
515
+ width: "50%",
516
+ borderRadius: 0,
517
+ boxShadow: 0,
518
+ backgroundColor: "transparent",
519
+ color: theme.palette.error.main,
520
+ borderTop: `0.5px solid ${theme.palette.grey[600]}`,
521
+ "&:hover": {
522
+ color: theme.palette.error.contrastText,
523
+ backgroundColor: theme.palette.error.main,
524
+ boxShadow: "none"
525
+ }
526
+ }
527
+ },
528
+ },
529
+ ]
530
+ },
531
+ ]
532
+ },
533
+ {
534
+ type: "Control",
535
+ scope: "#/properties/EmptyBox",
228
536
  options: {
229
537
  widget: "EmptyBox",
230
538
  },
539
+ config: {
540
+ layout: { xs: 4, sm: 8 },
541
+ },
231
542
  },
232
543
  {
233
544
  type: "Control",
@@ -237,24 +548,15 @@ export const componentBasicUiSchema: any = {
237
548
  },
238
549
 
239
550
  config: {
240
- layout: {
241
- xs: 11,
242
- sm: 11,
243
- md: 2.5,
244
- lg: 2.5,
245
- },
551
+ layout: { xs: 4, sm: 2 },
246
552
  main: {
247
553
  name: "Ok",
248
554
  startIcon: "ApproveIcon",
249
555
  variant: "contained",
250
- color: "info",
556
+ // color: "info",
251
557
  type: "text",
252
558
  onClick: "okHandler",
253
- size: "small",
254
- },
255
- style: {
256
- marginBottom: "8px",
257
- float: "right",
559
+ size: "medium",
258
560
  },
259
561
  },
260
562
  },
@@ -266,24 +568,15 @@ export const componentBasicUiSchema: any = {
266
568
  },
267
569
 
268
570
  config: {
269
- layout: {
270
- xs: 11,
271
- sm: 11,
272
- md: 2.5,
273
- lg: 2.5,
274
- },
571
+ layout: { xs: 4, sm: 2 },
275
572
  main: {
276
573
  name: "Save & Exit",
277
574
  startIcon: "ApproveIcon",
278
575
  variant: "contained",
279
- color: "info",
576
+ // color: "info",
280
577
  type: "text",
281
578
  onClick: "saveHandler",
282
- size: "small",
283
- },
284
- style: {
285
- marginBottom: "8px",
286
- float: "right",
579
+ size: "medium",
287
580
  },
288
581
  },
289
582
  },
@@ -294,48 +587,114 @@ export const componentBasicUiSchema: any = {
294
587
  widget: "Notify",
295
588
  },
296
589
  layout: 6,
590
+ },
591
+ {
592
+ type: "HorizontalLayout",
593
+ config: {
594
+ main: {
595
+ direction: 'row'
596
+ },
597
+ style: {
598
+ flexDirection: "row",
599
+ position: "absolute",
600
+ bottom: 0,
601
+ marginBottom: '-8px',
602
+ height: 'fit-content',
603
+ overflow: 'hidden',
604
+ zIndex: 1000,
605
+ width: 'inherit'
606
+ }
607
+ },
608
+ elements: [
609
+ {
610
+
611
+ type: "Control",
612
+ scope: "#/properties/FooterText",
613
+ options: {
614
+ widget: "Box",
615
+ },
616
+ config: {
617
+ main: {
618
+ heading: "Copywriter@ACT21.IO"
619
+ },
620
+ style: {
621
+ color: theme?.palette?.text.disabled || "#AFAFAF",
622
+ fontSize: '12px',
623
+ textAlign: 'center',
624
+ lineHeight: 2,
625
+ width: 'fit-content',
626
+ left: '50%',
627
+ position: 'relative',
628
+ margin: 0,
629
+ flexGrow: 1,
630
+ height: 0,
631
+ transform: "translate(-50%,0%)"
632
+ }
633
+ },
634
+ },
635
+ {
636
+ type: "Control",
637
+ scope: "#/properties/backIcon",
638
+ options: {
639
+ widget: "Box",
640
+ },
641
+ config: {
642
+ main: {
643
+ iconName: 'PrevIcon',
644
+ onClick: "backHandler",
645
+ width: 'fit-content',
646
+ },
647
+ style: {
648
+ fill: theme.palette.primary.main,
649
+ width: 20,
650
+ height: 0,
651
+ margin: 0,
652
+ top: 0,
653
+ right: {xs: '12px', sm: '84px'},
654
+ position: 'absolute',
655
+ fontSize: '12px',
656
+ cursor: 'pointer',
657
+ ':hover': {
658
+ fill: theme.palette.primary.dark,
659
+ }
660
+ }
661
+ }
662
+ },
663
+ {
664
+ type: "Control",
665
+ scope: "#/properties/text",
666
+
667
+ options: {
668
+ widget: "Box",
669
+ },
670
+ config: {
671
+ main: {
672
+ heading: "Previous Page",
673
+ onClick: "backHandler"
674
+ },
675
+ style: {
676
+ display: {xs: 'none', sm: "flex"},
677
+ textAlign: 'left',
678
+ lineHeight: 1,
679
+ height: 0,
680
+ width: 'fit-content',
681
+ color: theme.palette.primary.main,
682
+ fontSize: "12px",
683
+ cursor: 'pointer',
684
+ marginLeft: '2px',
685
+ marginRight: 0,
686
+ top: 3,
687
+ right: '12px',
688
+ position: 'absolute',
689
+ ':hover': {
690
+ color: theme.palette.primary.dark,
691
+ }
692
+ }
693
+ },
694
+ },
695
+ ]
297
696
  }
298
697
  ],
299
698
  };
300
-
301
-
302
-
303
-
304
-
305
-
306
-
307
-
308
-
309
-
310
-
311
-
312
-
313
-
314
-
315
-
316
-
317
- // {
318
- // type: "Control",
319
- // scope: "#/properties/homeBtn",
320
-
321
- // options: {
322
- // widget: "Button",
323
- // },
324
- // config: {
325
- // layout: {xs:2,sm:2,md:1},
326
- // main: {
327
- // name: "🏠",
328
- // },
329
- // style: {
330
- // marginRight:'auto',
331
- // marginLeft:"auto",
332
- // width:"20px",
333
-
334
- // // background:"inherit",
335
- // // boxShadow:"none",
336
- // float:"left",
337
- // borderRadius:"50%"
338
-
339
- // },
340
- // },
341
- // },
699
+ return uiSchema
700
+ }