impaktapps-ui-builder 0.0.412-mtreemap.3 → 0.0.412-mtreemap.5

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 (29) hide show
  1. package/dist/impaktapps-ui-builder.es.js +780 -812
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +4 -4
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.d.ts +1 -1
  6. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +12 -10
  7. package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +0 -18
  8. package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +121 -70
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +1 -0
  10. package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +1 -1
  11. package/package.json +1 -1
  12. package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +2 -2
  13. package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +27 -26
  14. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +2 -0
  15. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +1 -1
  16. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +10 -9
  17. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +0 -29
  18. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -8
  19. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +125 -99
  20. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +1 -1
  21. package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +1 -0
  22. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +2 -2
  23. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +1 -1
  24. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +362 -367
  25. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +284 -380
  26. package/src/impaktapps-ui-builder/builder/services/component.ts +18 -18
  27. package/src/impaktapps-ui-builder/builder/services/event.ts +8 -8
  28. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +1 -1
  29. package/src/impaktapps-ui-builder/runtime/services/service.ts +1 -1
@@ -41,395 +41,395 @@ const PageMasterSchema = {
41
41
  }
42
42
  }
43
43
  },
44
- required: ["template", "name"]
44
+ required: ["template", "name", "label"]
45
45
  };
46
- const PageMasterUiSchema = (theme) => {
47
- var _a;
48
- const uiSchema = {
49
- type: "HorizontalLayout",
50
- heading: "Page Master",
51
- elements: [
52
- {
53
- type: "WrapperLayout",
54
- config: {
55
- main: {},
56
- wrapperStyle: {
57
- backgroundColor: theme.palette.background.default
46
+ const PageMasterUiSchema = {
47
+ type: "HorizontalLayout",
48
+ elements: [
49
+ {
50
+ type: "WrapperLayout",
51
+ config: {
52
+ main: {
53
+ rowSpacing: 1,
54
+ header: true
55
+ },
56
+ defaultStyle: true
57
+ },
58
+ elements: [
59
+ {
60
+ type: "Control",
61
+ scope: "#/properties/pageMaster",
62
+ options: {
63
+ widget: "Box"
58
64
  },
59
- defaultStyle: true
65
+ config: {
66
+ layout: 8,
67
+ main: {
68
+ heading: "Page Master"
69
+ }
70
+ }
60
71
  },
61
- elements: [
62
- {
63
- type: "Control",
64
- scope: "#/properties/name",
65
- options: {
66
- widget: "InputField"
72
+ {
73
+ type: "Control",
74
+ scope: "#/properties/Back_Button",
75
+ options: {
76
+ widget: "IconButton"
77
+ },
78
+ config: {
79
+ layout: 3,
80
+ main: {
81
+ icon: "BackIcon",
82
+ styleDefault: true,
83
+ size: "small",
84
+ onClick: "backHandler",
85
+ tooltipMessage: "Back"
67
86
  },
68
- config: {
69
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
70
- main: {
71
- label: "Name",
72
- options: [],
73
- color: "secondary",
74
- errorMessage: "Name should be start with 'page_'",
75
- helperText: 'Name should be start with "page_"',
76
- required: true
77
- }
87
+ style: {
88
+ float: "right"
78
89
  }
90
+ }
91
+ }
92
+ ]
93
+ },
94
+ {
95
+ type: "WrapperLayout",
96
+ config: {
97
+ main: {
98
+ label: "Page Template",
99
+ divider: true
100
+ },
101
+ defaultStyle: true
102
+ },
103
+ elements: [
104
+ {
105
+ type: "Control",
106
+ scope: "#/properties/name",
107
+ options: {
108
+ widget: "InputField"
79
109
  },
80
- {
81
- type: "Control",
82
- scope: "#/properties/label",
83
- options: {
84
- widget: "InputField"
85
- },
86
- config: {
87
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
88
- main: {
89
- label: "Label",
90
- options: [],
91
- color: "secondary",
92
- required: true
93
- }
110
+ config: {
111
+ layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
112
+ main: {
113
+ label: "Name",
114
+ options: [],
115
+ color: "secondary",
116
+ errorMessage: "Name should be start with 'page_'",
117
+ helperText: 'Name should be start with "page_"',
118
+ required: true
94
119
  }
120
+ }
121
+ },
122
+ {
123
+ type: "Control",
124
+ scope: "#/properties/template",
125
+ options: {
126
+ widget: "SelectInputField"
95
127
  },
96
- {
97
- type: "Control",
98
- scope: "#/properties/emptyBox",
99
- options: {
100
- widget: "EmptyBox"
128
+ config: {
129
+ layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
130
+ main: {
131
+ label: "Template",
132
+ options: [
133
+ { const: "template1", title: "template1" },
134
+ { const: "template2", title: "template2" },
135
+ { const: "template3", title: "template3" }
136
+ ],
137
+ color: "secondary",
138
+ required: true
139
+ }
140
+ }
141
+ }
142
+ ]
143
+ },
144
+ {
145
+ type: "TabLayout",
146
+ config: {
147
+ main: {
148
+ tabLabels: ["Components", "events"],
149
+ divider: true
150
+ },
151
+ defaultStyle: true
152
+ },
153
+ elements: [
154
+ {
155
+ type: "WrapperLayout",
156
+ config: {
157
+ main: {
158
+ divider: true
101
159
  },
102
- config: {
103
- layout: { xs: 0, sm: 4 }
160
+ wrapperStyle: {
161
+ border: "1px solid gray"
104
162
  }
105
163
  },
106
- {
107
- type: "TabLayout",
108
- config: {
109
- main: {
110
- tabLabels: ["Components", "events"],
111
- divider: true
164
+ elements: [
165
+ {
166
+ type: "Control",
167
+ scope: "#/properties/heading",
168
+ options: {
169
+ widget: "Box"
112
170
  },
113
- defaultStyle: true
171
+ config: {
172
+ layout: 8,
173
+ main: {
174
+ heading: "Components Table"
175
+ },
176
+ style: {
177
+ fontFamily: "Roboto",
178
+ fontWeight: "500",
179
+ paddingLeft: "-10px",
180
+ fontSize: "20px"
181
+ }
182
+ }
114
183
  },
115
- elements: [
116
- {
117
- type: "Control",
118
- scope: "#/properties/elements",
119
- options: {
120
- widget: "Table"
184
+ {
185
+ type: "Control",
186
+ scope: "#/properties/AddButton",
187
+ options: {
188
+ widget: "IconButton"
189
+ },
190
+ config: {
191
+ layout: 3,
192
+ main: {
193
+ icon: "AddIcon",
194
+ styleDefault: true,
195
+ size: "small",
196
+ onClick: "onAddClickHandler",
197
+ tooltipMessage: "Add New"
121
198
  },
122
- config: {
123
- main: {
124
- headerIcons: {
125
- elements: [
126
- {
127
- widget: {
128
- type: "Control",
129
- scope: "#/properties/New_Record",
130
- options: {
131
- widget: "IconButton"
132
- },
133
- config: {
134
- main: {
135
- onClick: "onAddClickHandler",
136
- size: "small",
137
- icon: "AddIcon",
138
- iconLabel: "Add New",
139
- styleDefault: true
140
- },
141
- style: {
142
- mt: "6px"
143
- }
144
- }
145
- }
146
- }
147
- ]
148
- },
149
- disableAction: true,
150
- disableSelection: true,
151
- enableDrag: true
152
- }
199
+ style: {
200
+ float: "right"
201
+ }
202
+ }
203
+ },
204
+ {
205
+ type: "Control",
206
+ scope: "#/properties/elements",
207
+ options: {
208
+ widget: "Table"
209
+ },
210
+ config: {
211
+ main: {
212
+ disableAction: true,
213
+ disableSelection: true,
214
+ enableDrag: true
215
+ }
216
+ },
217
+ elements: [
218
+ {
219
+ accessorKey: "name",
220
+ header: "Name"
153
221
  },
154
- elements: [
155
- {
156
- accessorKey: "name",
157
- header: "Name"
158
- },
159
- {
160
- accessorKey: "type",
161
- header: "Type"
162
- },
163
- {
164
- header: "Edit",
165
- field: "Reject_Records",
166
- flex: 1,
167
- widget: {
168
- type: "Control",
169
- scope: "#/properties/RejectButton",
170
- options: {
171
- widget: "IconButton"
172
- },
173
- config: {
174
- main: {
175
- icon: "EditIcon",
176
- onClick: "Edit_Components",
177
- tooltipMessage: "Edit This Record"
178
- }
179
- }
180
- }
181
- },
182
- {
183
- header: "Delete",
184
- field: "Reject_Records",
185
- flex: 1,
186
- widget: {
187
- type: "Control",
188
- scope: "#/properties/RejectButton",
189
- options: {
190
- widget: "IconButton"
191
- },
192
- config: {
193
- main: {
194
- icon: "RejectIcon",
195
- color: "error",
196
- onClick: "Delete_Components",
197
- tooltipMessage: "Reject This Record"
198
- }
222
+ {
223
+ accessorKey: "type",
224
+ header: "Type"
225
+ },
226
+ {
227
+ header: "Edit",
228
+ field: "Reject_Records",
229
+ flex: 1,
230
+ widget: {
231
+ type: "Control",
232
+ scope: "#/properties/RejectButton",
233
+ options: {
234
+ widget: "IconButton"
235
+ },
236
+ config: {
237
+ main: {
238
+ icon: "EditIcon",
239
+ color: "primary",
240
+ onClick: "Edit_Components",
241
+ tooltipMessage: "Edit This Record"
199
242
  }
200
243
  }
201
244
  }
202
- ]
203
- },
204
- {
205
- type: "Control",
206
- scope: "#/properties/events",
207
- options: {
208
- widget: "Table"
209
245
  },
210
- config: {
211
- main: {
212
- headerIcons: {
213
- elements: [
214
- {
215
- widget: {
216
- type: "Control",
217
- scope: "#/properties/New_Record",
218
- options: {
219
- widget: "IconButton"
220
- },
221
- config: {
222
- main: {
223
- onClick: "eventAddHandler",
224
- size: "small",
225
- icon: "AddIcon",
226
- iconLabel: "Add New",
227
- styleDefault: true
228
- },
229
- style: {
230
- mt: "6px"
231
- }
232
- }
233
- }
234
- }
235
- ]
246
+ {
247
+ header: "Delete",
248
+ field: "Reject_Records",
249
+ flex: 1,
250
+ widget: {
251
+ type: "Control",
252
+ scope: "#/properties/RejectButton",
253
+ options: {
254
+ widget: "IconButton"
236
255
  },
237
- disableAction: true,
238
- disableSelection: true,
239
- enableDrag: true
240
- }
241
- },
242
- elements: [
243
- {
244
- accessorKey: "eventType",
245
- header: "Event Type"
246
- },
247
- {
248
- accessorKey: "Handler",
249
- header: "Handler"
250
- },
251
- {
252
- accessorKey: "Edit_Approve_Records",
253
- header: "Edit Widget",
254
- widget: {
255
- type: "Control",
256
- scope: "#/properties/Edit_Records",
257
- options: {
258
- widget: "IconButton"
259
- },
260
- config: {
261
- main: {
262
- size: "small",
263
- icon: "EditIcon",
264
- tooltipMessage: "Edit This Record",
265
- onClick: "editEvent"
266
- },
267
- style: {
268
- color: "#3949ab"
269
- }
270
- }
271
- }
272
- },
273
- {
274
- accessorKey: "Reject_Records",
275
- header: "Delete",
276
- widget: {
277
- type: "Control",
278
- scope: "#/properties/RejectButton",
279
- options: {
280
- widget: "IconButton"
281
- },
282
- config: {
283
- main: {
284
- icon: "RejectIcon",
285
- color: "error",
286
- tooltipMessage: "Reject This Record",
287
- onClick: "deleteEvent"
288
- }
256
+ config: {
257
+ main: {
258
+ icon: "RejectIcon",
259
+ color: "error",
260
+ onClick: "Delete_Components",
261
+ tooltipMessage: "Reject This Record"
289
262
  }
290
263
  }
291
264
  }
292
- ]
293
- }
294
- ]
295
- },
296
- {
297
- type: "Control",
298
- scope: "#/properties/btn",
299
- options: {
300
- widget: "Button"
301
- },
302
- config: {
303
- layout: 11.9,
304
- main: {
305
- name: "Save",
306
- startIcon: "ApproveIcon",
307
- variant: "contained",
308
- type: "text",
309
- onClick: "saveHandler",
310
- size: "medium"
311
- },
312
- style: {
313
- width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
314
- float: "right"
315
- }
265
+ }
266
+ ]
316
267
  }
317
- }
318
- ]
319
- },
320
- {
321
- type: "Control",
322
- scope: "#/properties/notify",
323
- options: {
324
- widget: "Notify"
325
- },
326
- layout: 6
327
- },
328
- {
329
- type: "HorizontalLayout",
330
- config: {
331
- main: {
332
- direction: "row"
333
- },
334
- style: {
335
- flexDirection: "row",
336
- position: "absolute",
337
- bottom: 0,
338
- marginBottom: "-8px",
339
- height: "fit-content",
340
- overflow: "hidden",
341
- zIndex: 1e3,
342
- width: "inherit"
343
- }
268
+ ]
344
269
  },
345
- elements: [
346
- {
347
- type: "Control",
348
- scope: "#/properties/FooterText",
349
- options: {
350
- widget: "Box"
270
+ {
271
+ type: "WrapperLayout",
272
+ config: {
273
+ main: {
274
+ divider: true
351
275
  },
352
- config: {
353
- main: {
354
- heading: "Copywriter@ACT21.IO"
355
- },
356
- style: {
357
- color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
358
- fontSize: "12px",
359
- textAlign: "center",
360
- lineHeight: 1,
361
- width: "fit-content",
362
- left: "50%",
363
- position: "relative",
364
- margin: 0,
365
- flexGrow: 1,
366
- height: 0
367
- }
276
+ wrapperStyle: {
277
+ border: "1px solid gray"
368
278
  }
369
279
  },
370
- {
371
- type: "Control",
372
- scope: "#/properties/backIcon",
373
- options: {
374
- widget: "Box"
375
- },
376
- config: {
377
- main: {
378
- iconName: "PrevIcon",
379
- onClick: "backHandler",
380
- width: "fit-content"
280
+ elements: [
281
+ {
282
+ type: "Control",
283
+ scope: "#/properties/heading",
284
+ options: {
285
+ widget: "Box"
381
286
  },
382
- style: {
383
- fill: theme.palette.primary.main,
384
- width: 20,
385
- height: 0,
386
- margin: 0,
387
- top: 0,
388
- right: "82px",
389
- position: "absolute",
390
- fontSize: "12px",
391
- cursor: "pointer",
392
- ":hover": {
393
- fill: theme.palette.primary.dark
287
+ config: {
288
+ layout: 8,
289
+ main: {
290
+ heading: "Event Table"
291
+ },
292
+ style: {
293
+ fontFamily: "Roboto",
294
+ fontWeight: "500",
295
+ paddingLeft: "-10px",
296
+ fontSize: "20px"
394
297
  }
395
298
  }
396
- }
397
- },
398
- {
399
- type: "Control",
400
- scope: "#/properties/text",
401
- options: {
402
- widget: "Box"
403
299
  },
404
- config: {
405
- main: {
406
- heading: "Previous Page",
407
- onClick: "backHandler"
300
+ {
301
+ type: "Control",
302
+ scope: "#/properties/AddButton",
303
+ options: {
304
+ widget: "IconButton"
408
305
  },
409
- style: {
410
- textAlign: "left",
411
- lineHeight: 1,
412
- height: 0,
413
- width: "fit-content",
414
- color: theme.palette.primary.main,
415
- fontSize: "12px",
416
- cursor: "pointer",
417
- marginLeft: "2px",
418
- marginRight: 0,
419
- top: 3,
420
- right: "12px",
421
- position: "absolute",
422
- ":hover": {
423
- color: theme.palette.primary.dark
306
+ config: {
307
+ layout: 3,
308
+ main: {
309
+ icon: "AddIcon",
310
+ styleDefault: true,
311
+ size: "small",
312
+ onClick: "eventAddHandler",
313
+ tooltipMessage: "Back"
314
+ },
315
+ style: {
316
+ float: "right"
424
317
  }
425
318
  }
319
+ },
320
+ {
321
+ type: "Control",
322
+ scope: "#/properties/events",
323
+ options: {
324
+ widget: "Table"
325
+ },
326
+ config: {
327
+ main: {
328
+ disableAction: true,
329
+ disableSelection: true,
330
+ enableDrag: true
331
+ }
332
+ },
333
+ elements: [
334
+ {
335
+ accessorKey: "eventType",
336
+ header: "Event Type"
337
+ },
338
+ {
339
+ accessorKey: "Handler",
340
+ header: "Handler"
341
+ },
342
+ {
343
+ accessorKey: "Edit_Approve_Records",
344
+ header: "Edit Widget",
345
+ widget: {
346
+ type: "Control",
347
+ scope: "#/properties/Edit_Records",
348
+ options: {
349
+ widget: "IconButton"
350
+ },
351
+ config: {
352
+ main: {
353
+ color: "info",
354
+ size: "small",
355
+ icon: "EditIcon",
356
+ tooltipMessage: "Edit This Record",
357
+ onClick: "editEvent"
358
+ },
359
+ style: {
360
+ color: "#3949ab"
361
+ }
362
+ }
363
+ }
364
+ },
365
+ {
366
+ accessorKey: "Reject_Records",
367
+ header: "Delete",
368
+ widget: {
369
+ type: "Control",
370
+ scope: "#/properties/RejectButton",
371
+ options: {
372
+ widget: "IconButton"
373
+ },
374
+ config: {
375
+ main: {
376
+ icon: "RejectIcon",
377
+ color: "error",
378
+ tooltipMessage: "Reject This Record",
379
+ onClick: "deleteEvent"
380
+ }
381
+ }
382
+ }
383
+ }
384
+ ]
426
385
  }
427
- }
428
- ]
386
+ ]
387
+ }
388
+ ]
389
+ },
390
+ {
391
+ type: "Control",
392
+ scope: "#/properties/btn",
393
+ options: {
394
+ widget: "EmptyBox"
395
+ },
396
+ config: {
397
+ layout: { xs: 0, sm: 0, md: 8, lg: 7 }
429
398
  }
430
- ]
431
- };
432
- return uiSchema;
399
+ },
400
+ {
401
+ type: "Control",
402
+ scope: "#/properties/btn",
403
+ options: {
404
+ widget: "Button"
405
+ },
406
+ config: {
407
+ layout: 11.7,
408
+ main: {
409
+ name: "Save",
410
+ startIcon: "ApproveIcon",
411
+ variant: "contained",
412
+ color: "info",
413
+ type: "text",
414
+ onClick: "saveHandler",
415
+ size: "small"
416
+ },
417
+ style: {
418
+ marginBottom: "8px",
419
+ width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
420
+ float: "right"
421
+ }
422
+ }
423
+ },
424
+ {
425
+ type: "Control",
426
+ scope: "#/properties/notify",
427
+ options: {
428
+ widget: "Notify"
429
+ },
430
+ layout: 6
431
+ }
432
+ ]
433
433
  };
434
434
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
435
435
  var lodash = { exports: {} };
@@ -5911,6 +5911,8 @@ const ComponentSchema = {
5911
5911
  { title: "Text Area", const: "TextArea" },
5912
5912
  { title: "Timer", const: "Timer" },
5913
5913
  { title: "Upload File", const: "UploadFile" },
5914
+ { title: "Timer", const: "Timer" },
5915
+ { title: "Upload File", const: "UploadFile" },
5914
5916
  { title: "TreeMap", const: "TreeMap" },
5915
5917
  { title: "ColumnGroup", const: "ColumnGroup" }
5916
5918
  ]
@@ -6512,34 +6514,6 @@ const CoreSection = {
6512
6514
  }
6513
6515
  }
6514
6516
  },
6515
- {
6516
- type: "Control",
6517
- scope: "#/properties/columnFormat",
6518
- options: {
6519
- widget: "SelectInputField"
6520
- },
6521
- config: {
6522
- layout: {
6523
- xs: 12,
6524
- sm: 12,
6525
- md: 6,
6526
- lg: 6
6527
- },
6528
- main: {
6529
- label: "Column Format"
6530
- }
6531
- }
6532
- },
6533
- {
6534
- type: "Control",
6535
- scope: "#/properties/proc",
6536
- config: {
6537
- layout: { xs: 11, sm: 11, md: 6, lg: 6 }
6538
- },
6539
- options: {
6540
- widget: "EmptyBox"
6541
- }
6542
- },
6543
6517
  {
6544
6518
  type: "Control",
6545
6519
  scope: "#/properties/layout",
@@ -6585,108 +6559,134 @@ const CoreSection = {
6585
6559
  widget: "EmptyBox"
6586
6560
  },
6587
6561
  config: {
6588
- layout: { xs: 0, sm: 4 }
6589
- }
6590
- }
6591
- ]
6592
- }
6593
- }
6594
- }
6595
- ]
6596
- };
6597
- const EventSection = {
6598
- type: "HorizontalLayout",
6599
- elements: [
6600
- {
6601
- type: "Control",
6602
- scope: "#/properties/events",
6603
- options: {
6604
- widget: "Table"
6605
- },
6606
- config: {
6607
- main: {
6608
- headerIcons: {
6609
- elements: [
6610
- {
6611
- widget: {
6612
- type: "Control",
6613
- scope: "#/properties/New_Record",
6614
- options: {
6615
- widget: "IconButton"
6616
- },
6617
- config: {
6618
- main: {
6619
- color: "info",
6620
- onClick: "eventAddHandler",
6621
- size: "small",
6622
- icon: "AddIcon",
6623
- iconLabel: "Add New",
6624
- styleDefault: true
6625
- },
6626
- style: {
6627
- mt: "6px"
6628
- }
6629
- }
6630
- }
6562
+ layout: { xs: 0, sm: 4 }
6631
6563
  }
6632
- ]
6633
- },
6634
- disableAction: true,
6635
- disableSelection: true,
6636
- enableDrag: true
6564
+ }
6565
+ ]
6566
+ }
6567
+ }
6568
+ }
6569
+ ]
6570
+ };
6571
+ const EventSection = {
6572
+ type: "HorizontalLayout",
6573
+ elements: [
6574
+ {
6575
+ type: "WrapperLayout",
6576
+ config: {
6577
+ main: {
6578
+ divider: true
6579
+ },
6580
+ wrapperStyle: {
6581
+ border: "1px solid gray"
6637
6582
  }
6638
6583
  },
6639
6584
  elements: [
6640
6585
  {
6641
- accessorKey: "eventType",
6642
- header: "Event Type"
6643
- },
6644
- {
6645
- accessorKey: "Handler",
6646
- header: "Handler"
6586
+ type: "Control",
6587
+ scope: "#/properties/programType",
6588
+ options: {
6589
+ widget: "Box"
6590
+ },
6591
+ config: {
6592
+ layout: 8,
6593
+ main: {
6594
+ heading: "Event Table"
6595
+ },
6596
+ style: {
6597
+ fontFamily: "Roboto",
6598
+ fontWeight: "500",
6599
+ paddingLeft: "-10px",
6600
+ fontSize: "20px"
6601
+ }
6602
+ }
6647
6603
  },
6648
6604
  {
6649
- accessorKey: "Edit_Approve_Records",
6650
- header: "Edit Widget",
6651
- widget: {
6652
- type: "Control",
6653
- scope: "#/properties/Edit_Records",
6654
- options: {
6655
- widget: "IconButton"
6605
+ type: "Control",
6606
+ scope: "#/properties/Back_Button",
6607
+ options: {
6608
+ widget: "IconButton"
6609
+ },
6610
+ config: {
6611
+ layout: 3,
6612
+ main: {
6613
+ icon: "AddIcon",
6614
+ styleDefault: true,
6615
+ size: "small",
6616
+ onClick: "eventAddHandler",
6617
+ tooltipMessage: "Back"
6656
6618
  },
6657
- config: {
6658
- main: {
6659
- color: "info",
6660
- size: "small",
6661
- icon: "EditIcon",
6662
- tooltipMessage: "Edit This Record",
6663
- onClick: "eventEditHandler"
6664
- },
6665
- style: {
6666
- color: "#3949ab"
6667
- }
6619
+ style: {
6620
+ float: "right"
6668
6621
  }
6669
6622
  }
6670
6623
  },
6671
6624
  {
6672
- accessorKey: "Reject_Records",
6673
- header: "Delete",
6674
- widget: {
6675
- type: "Control",
6676
- scope: "#/properties/RejectButton",
6677
- accessorKeyName: "Reject_Records",
6678
- options: {
6679
- widget: "IconButton"
6625
+ type: "Control",
6626
+ scope: "#/properties/events",
6627
+ options: {
6628
+ widget: "Table"
6629
+ },
6630
+ config: {
6631
+ main: {
6632
+ disableAction: true,
6633
+ disableSelection: true,
6634
+ enableDrag: true
6635
+ }
6636
+ },
6637
+ elements: [
6638
+ {
6639
+ accessorKey: "eventType",
6640
+ header: "Event Type"
6680
6641
  },
6681
- config: {
6682
- main: {
6683
- icon: "RejectIcon",
6684
- color: "error",
6685
- tooltipMessage: "Reject This Record",
6686
- onClick: "deleteEvent"
6642
+ {
6643
+ accessorKey: "Handler",
6644
+ header: "Handler"
6645
+ },
6646
+ {
6647
+ accessorKey: "Edit_Approve_Records",
6648
+ header: "Edit Widget",
6649
+ widget: {
6650
+ type: "Control",
6651
+ scope: "#/properties/Edit_Records",
6652
+ options: {
6653
+ widget: "IconButton"
6654
+ },
6655
+ config: {
6656
+ main: {
6657
+ color: "info",
6658
+ size: "small",
6659
+ icon: "EditIcon",
6660
+ tooltipMessage: "Edit This Record",
6661
+ onClick: "eventEditHandler"
6662
+ },
6663
+ style: {
6664
+ color: "#3949ab"
6665
+ }
6666
+ }
6667
+ }
6668
+ },
6669
+ {
6670
+ accessorKey: "Reject_Records",
6671
+ header: "Delete",
6672
+ widget: {
6673
+ type: "Control",
6674
+ scope: "#/properties/RejectButton",
6675
+ accessorKeyName: "Reject_Records",
6676
+ options: {
6677
+ widget: "IconButton"
6678
+ },
6679
+ config: {
6680
+ main: {
6681
+ icon: "RejectIcon",
6682
+ color: "error",
6683
+ tooltipMessage: "Reject This Record",
6684
+ onClick: "deleteEvent"
6685
+ }
6686
+ }
6687
6687
  }
6688
6688
  }
6689
- }
6689
+ ]
6690
6690
  }
6691
6691
  ]
6692
6692
  }
@@ -7498,20 +7498,20 @@ const sectionLabels = {
7498
7498
  };
7499
7499
  const refreshPage = (type, store2) => {
7500
7500
  var _a;
7501
- const UiSchema = _.cloneDeep(componentBasicUiSchema(store2.theme.myTheme));
7501
+ const UiSchema = _.cloneDeep(componentBasicUiSchema);
7502
7502
  if (type) {
7503
7503
  const sectionUiSchema = {
7504
7504
  Core: CoreSection,
7505
7505
  Value: ValueTab,
7506
- style: StyleSection,
7506
+ Style: StyleSection,
7507
7507
  Event: EventSection,
7508
7508
  Components: TableSection,
7509
7509
  Properties: buildPropertiesSection(type),
7510
7510
  Validation: ValidationSection
7511
7511
  };
7512
7512
  const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
7513
- UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "style", "Event", "Validation"];
7514
- UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection, ValidationSection];
7513
+ UiSchema.elements[1].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Event", "Validation"];
7514
+ UiSchema.elements[1].elements = elements || [CoreSection, StyleSection, EventSection, ValidationSection];
7515
7515
  }
7516
7516
  store2.setUiSchema(UiSchema);
7517
7517
  };
@@ -7634,7 +7634,7 @@ var pageMaster = (funcParams) => {
7634
7634
  return config;
7635
7635
  },
7636
7636
  getUiSchema: function() {
7637
- return PageMasterUiSchema(store2.theme.myTheme);
7637
+ return PageMasterUiSchema;
7638
7638
  },
7639
7639
  getSchema: () => {
7640
7640
  return PageMasterSchema;
@@ -7765,344 +7765,314 @@ const EventSchema = {
7765
7765
  items: {
7766
7766
  type: "object",
7767
7767
  properties: {
7768
- body_key: {
7769
- type: "string"
7770
- },
7771
- body_value: {
7772
- type: "string"
7773
- }
7774
- }
7775
- }
7776
- }
7777
- },
7778
- required: ["eventType", "Handler"]
7779
- };
7780
- const EventUiSchema = (theme) => {
7781
- var _a;
7782
- const uiSchema = {
7783
- type: "HorizontalLayout",
7784
- heading: "Component",
7785
- elements: [
7786
- {
7787
- type: "TabLayout",
7788
- config: {
7789
- main: {
7790
- tabLabels: ["Core", "Response Event"],
7791
- defaultStyle: true,
7792
- id: "event"
7793
- }
7794
- },
7795
- elements: [
7796
- {
7797
- type: "HorizontalLayout",
7798
- elements: [
7799
- {
7800
- type: "Control",
7801
- scope: `#/properties/eventType`,
7802
- options: {
7803
- widget: "SelectInputField"
7804
- },
7805
- config: {
7806
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7807
- main: {
7808
- label: "Event Type",
7809
- type: "text"
7810
- }
7811
- }
7812
- },
7813
- {
7814
- type: "Control",
7815
- scope: `#/properties/Handler`,
7816
- options: {
7817
- widget: "SelectInputField"
7818
- },
7819
- config: {
7820
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7821
- main: {
7822
- label: "Handler",
7823
- type: "text"
7824
- }
7825
- }
7826
- },
7827
- {
7828
- type: "Control",
7829
- scope: "#/properties/emptyBox",
7830
- options: {
7831
- widget: "EmptyBox"
7832
- },
7833
- config: {
7834
- layout: { xs: 0, sm: 4 }
7835
- }
7836
- }
7837
- ]
7838
- },
7839
- {
7840
- type: "Control",
7841
- scope: "#/properties/events",
7842
- options: {
7843
- widget: "Table"
7844
- },
7845
- config: {
7846
- main: {
7847
- headerIcons: {
7848
- elements: [
7849
- {
7850
- widget: {
7851
- type: "Control",
7852
- scope: "#/properties/New_Record",
7853
- options: {
7854
- widget: "IconButton"
7855
- },
7856
- config: {
7857
- main: {
7858
- onClick: "addEvent",
7859
- size: "small",
7860
- icon: "AddIcon",
7861
- iconLabel: "Add New",
7862
- styleDefault: true
7863
- },
7864
- style: {
7865
- mt: "6px"
7866
- }
7867
- }
7868
- }
7869
- }
7870
- ]
7871
- },
7872
- disableAction: true,
7873
- disableSelection: true,
7874
- enableDrag: true
7875
- }
7876
- },
7877
- elements: [
7878
- {
7879
- accessorKey: "eventType",
7880
- header: "Event Type"
7881
- },
7882
- {
7883
- accessorKey: "Handler",
7884
- header: "Handler"
7885
- },
7886
- {
7887
- accessorKey: "Edit_Approve_Records",
7888
- header: "Edit Widget",
7889
- widget: {
7890
- type: "Control",
7891
- scope: "#/properties/Edit_Records",
7892
- options: {
7893
- widget: "IconButton"
7894
- },
7895
- config: {
7896
- main: {
7897
- size: "small",
7898
- icon: "EditIcon",
7899
- tooltipMessage: "Edit This Record",
7900
- onClick: "editEvent"
7901
- },
7902
- style: {
7903
- color: "#3949ab"
7904
- }
7905
- }
7906
- }
7907
- },
7908
- {
7909
- accessorKey: "Reject_Records",
7910
- header: "Delete",
7911
- widget: {
7912
- type: "Control",
7913
- scope: "#/properties/RejectButton",
7914
- options: {
7915
- widget: "IconButton"
7916
- },
7917
- config: {
7918
- main: {
7919
- icon: "RejectIcon",
7920
- color: "error",
7921
- tooltipMessage: "Reject This Record",
7922
- onClick: "deleteEvent"
7923
- }
7924
- }
7925
- }
7926
- }
7927
- ]
7928
- }
7929
- ]
7930
- },
7931
- {
7932
- type: "Control",
7933
- scope: "#/properties/EmptyBox",
7934
- options: {
7935
- widget: "EmptyBox"
7936
- },
7937
- config: {
7938
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
7939
- }
7940
- },
7941
- {
7942
- type: "Control",
7943
- scope: "#/properties/EmptyBox",
7944
- options: {
7945
- widget: "EmptyBox"
7946
- },
7947
- config: {
7948
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
7949
- }
7950
- },
7951
- {
7952
- type: "Control",
7953
- scope: "#/properties/btn",
7954
- options: {
7955
- widget: "Button"
7956
- },
7957
- config: {
7958
- layout: 1.8,
7959
- main: {
7960
- name: "Ok",
7961
- startIcon: "ApproveIcon",
7962
- variant: "contained",
7963
- type: "text",
7964
- onClick: "okHandler",
7965
- size: "medium"
7966
- },
7967
- style: {
7968
- float: "right"
7969
- }
7970
- }
7971
- },
7972
- {
7973
- type: "Control",
7974
- scope: "#/properties/btnSubmit",
7975
- options: {
7976
- widget: "Button"
7977
- },
7978
- config: {
7979
- layout: 1.8,
7980
- main: {
7981
- name: "Save & Exit",
7982
- startIcon: "ApproveIcon",
7983
- variant: "contained",
7984
- type: "text",
7985
- onClick: "saveHandler",
7986
- size: "medium"
7768
+ body_key: {
7769
+ type: "string"
7987
7770
  },
7988
- style: {
7989
- float: "right"
7771
+ body_value: {
7772
+ type: "string"
7990
7773
  }
7991
7774
  }
7992
- },
7993
- {
7994
- type: "Control",
7995
- scope: "#/properties/notify",
7996
- options: {
7997
- widget: "Notify"
7775
+ }
7776
+ }
7777
+ },
7778
+ required: ["eventType", "Handler"]
7779
+ };
7780
+ const EventUiSchema = {
7781
+ type: "HorizontalLayout",
7782
+ elements: [
7783
+ {
7784
+ type: "WrapperLayout",
7785
+ config: {
7786
+ main: {
7787
+ rowSpacing: 1,
7788
+ header: true
7998
7789
  },
7999
- layout: 6
7790
+ defaultStyle: true
8000
7791
  },
8001
- {
8002
- type: "HorizontalLayout",
8003
- config: {
8004
- main: {
8005
- direction: "row"
7792
+ elements: [
7793
+ {
7794
+ type: "Control",
7795
+ scope: "#/properties/Component",
7796
+ options: {
7797
+ widget: "Box"
8006
7798
  },
8007
- style: {
8008
- flexDirection: "row",
8009
- position: "absolute",
8010
- bottom: 0,
8011
- marginBottom: "-8px",
8012
- height: "fit-content",
8013
- overflow: "hidden",
8014
- zIndex: 1e3,
8015
- width: "inherit"
7799
+ config: {
7800
+ layout: { xs: 12, sm: 12, md: 2 },
7801
+ main: {
7802
+ heading: "Component"
7803
+ },
7804
+ style: {
7805
+ "float": "left"
7806
+ }
8016
7807
  }
8017
7808
  },
8018
- elements: [
8019
- {
8020
- type: "Control",
8021
- scope: "#/properties/FooterText",
8022
- options: {
8023
- widget: "Box"
7809
+ {
7810
+ type: "Control",
7811
+ scope: "#/properties/pageName",
7812
+ options: {
7813
+ widget: "Box"
7814
+ },
7815
+ config: {
7816
+ layout: { xs: 7, sm: 7, md: 9 },
7817
+ main: {
7818
+ heading: " "
8024
7819
  },
8025
- config: {
8026
- main: {
8027
- heading: "Copywriter@ACT21.IO"
8028
- },
8029
- style: {
8030
- color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
8031
- fontSize: "12px",
8032
- textAlign: "center",
8033
- lineHeight: 1,
8034
- width: "fit-content",
8035
- left: "50%",
8036
- position: "relative",
8037
- margin: 0,
8038
- flexGrow: 1,
8039
- height: 0
8040
- }
7820
+ style: {
7821
+ float: "right",
7822
+ width: "auto",
7823
+ fontSize: "12px",
7824
+ color: "gray",
7825
+ paddingTop: "10px"
8041
7826
  }
7827
+ }
7828
+ },
7829
+ {
7830
+ type: "Control",
7831
+ scope: "#/properties/Back_Button",
7832
+ options: {
7833
+ widget: "IconButton"
8042
7834
  },
8043
- {
8044
- type: "Control",
8045
- scope: "#/properties/backIcon",
8046
- options: {
8047
- widget: "Box"
7835
+ config: {
7836
+ layout: { xs: 2, sm: 2, md: 0.5 },
7837
+ main: {
7838
+ icon: "BackIcon",
7839
+ styleDefault: true,
7840
+ size: "small",
7841
+ onClick: "backHandler",
7842
+ tooltipMessage: "Back"
8048
7843
  },
8049
- config: {
8050
- main: {
8051
- iconName: "PrevIcon",
8052
- onClick: "backHandler",
8053
- width: "fit-content"
7844
+ style: {
7845
+ float: "right"
7846
+ }
7847
+ }
7848
+ }
7849
+ ]
7850
+ },
7851
+ {
7852
+ type: "TabLayout",
7853
+ config: {
7854
+ main: {
7855
+ tabLabels: ["Core", "Response Event"],
7856
+ defaultStyle: true,
7857
+ id: "event"
7858
+ }
7859
+ },
7860
+ elements: [
7861
+ {
7862
+ type: "HorizontalLayout",
7863
+ elements: [
7864
+ {
7865
+ type: "Control",
7866
+ scope: `#/properties/eventType`,
7867
+ options: {
7868
+ widget: "SelectInputField"
8054
7869
  },
8055
- style: {
8056
- fill: theme.palette.primary.main,
8057
- width: 20,
8058
- height: 0,
8059
- margin: 0,
8060
- top: 0,
8061
- right: "82px",
8062
- position: "absolute",
8063
- fontSize: "12px",
8064
- cursor: "pointer",
8065
- ":hover": {
8066
- fill: theme.palette.primary.dark
7870
+ config: {
7871
+ layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
7872
+ main: {
7873
+ label: "Event Type",
7874
+ type: "text"
8067
7875
  }
8068
7876
  }
7877
+ },
7878
+ getSelectField("Handler", "Handler")
7879
+ ]
7880
+ },
7881
+ {
7882
+ type: "WrapperLayout",
7883
+ config: {
7884
+ main: {
7885
+ divider: true
7886
+ },
7887
+ wrapperStyle: {
7888
+ border: "1px solid gray"
8069
7889
  }
8070
7890
  },
8071
- {
8072
- type: "Control",
8073
- scope: "#/properties/text",
8074
- options: {
8075
- widget: "Box"
7891
+ elements: [
7892
+ {
7893
+ type: "Control",
7894
+ scope: "#/properties/heading",
7895
+ options: {
7896
+ widget: "Box"
7897
+ },
7898
+ config: {
7899
+ layout: 8,
7900
+ main: {
7901
+ heading: "Response Event"
7902
+ },
7903
+ style: {
7904
+ fontFamily: "Roboto",
7905
+ fontWeight: "500",
7906
+ paddingLeft: "-10px",
7907
+ fontSize: "20px"
7908
+ }
7909
+ }
8076
7910
  },
8077
- config: {
8078
- main: {
8079
- heading: "Previous Page",
8080
- onClick: "backHandler"
7911
+ {
7912
+ type: "Control",
7913
+ scope: "#/properties/AddButton",
7914
+ options: {
7915
+ widget: "IconButton"
8081
7916
  },
8082
- style: {
8083
- textAlign: "left",
8084
- lineHeight: 1,
8085
- height: 0,
8086
- width: "fit-content",
8087
- color: theme.palette.primary.main,
8088
- fontSize: "12px",
8089
- cursor: "pointer",
8090
- marginLeft: "2px",
8091
- marginRight: 0,
8092
- top: 3,
8093
- right: "12px",
8094
- position: "absolute",
8095
- ":hover": {
8096
- color: theme.palette.primary.dark
7917
+ config: {
7918
+ layout: 3,
7919
+ main: {
7920
+ icon: "AddIcon",
7921
+ styleDefault: true,
7922
+ size: "small",
7923
+ onClick: "addEvent",
7924
+ tooltipMessage: "Back"
7925
+ },
7926
+ style: {
7927
+ float: "right"
8097
7928
  }
8098
7929
  }
7930
+ },
7931
+ {
7932
+ type: "Control",
7933
+ scope: "#/properties/events",
7934
+ options: {
7935
+ widget: "Table"
7936
+ },
7937
+ config: {
7938
+ main: {
7939
+ disableAction: true,
7940
+ disableSelection: true,
7941
+ enableDrag: true
7942
+ }
7943
+ },
7944
+ elements: [
7945
+ {
7946
+ accessorKey: "eventType",
7947
+ header: "Event Type"
7948
+ },
7949
+ {
7950
+ accessorKey: "Handler",
7951
+ header: "Handler"
7952
+ },
7953
+ {
7954
+ accessorKey: "Edit_Approve_Records",
7955
+ header: "Edit Widget",
7956
+ widget: {
7957
+ type: "Control",
7958
+ scope: "#/properties/Edit_Records",
7959
+ options: {
7960
+ widget: "IconButton"
7961
+ },
7962
+ config: {
7963
+ main: {
7964
+ color: "info",
7965
+ size: "small",
7966
+ icon: "EditIcon",
7967
+ tooltipMessage: "Edit This Record",
7968
+ onClick: "editEvent"
7969
+ },
7970
+ style: {
7971
+ color: "#3949ab"
7972
+ }
7973
+ }
7974
+ }
7975
+ },
7976
+ {
7977
+ accessorKey: "Reject_Records",
7978
+ header: "Delete",
7979
+ widget: {
7980
+ type: "Control",
7981
+ scope: "#/properties/RejectButton",
7982
+ options: {
7983
+ widget: "IconButton"
7984
+ },
7985
+ config: {
7986
+ main: {
7987
+ icon: "RejectIcon",
7988
+ color: "error",
7989
+ tooltipMessage: "Reject This Record",
7990
+ onClick: "deleteEvent"
7991
+ }
7992
+ }
7993
+ }
7994
+ }
7995
+ ]
8099
7996
  }
8100
- }
8101
- ]
7997
+ ]
7998
+ }
7999
+ ]
8000
+ },
8001
+ {
8002
+ type: "Control",
8003
+ scope: "#/properties/proc",
8004
+ config: {
8005
+ layout: { xs: 11, sm: 11, md: 6, lg: 6 }
8006
+ },
8007
+ options: {
8008
+ widget: "EmptyBox"
8102
8009
  }
8103
- ]
8104
- };
8105
- return uiSchema;
8010
+ },
8011
+ {
8012
+ type: "Control",
8013
+ scope: "#/properties/btn",
8014
+ options: {
8015
+ widget: "Button"
8016
+ },
8017
+ config: {
8018
+ layout: {
8019
+ xs: 11,
8020
+ sm: 11,
8021
+ md: 2.5,
8022
+ lg: 2.5
8023
+ },
8024
+ main: {
8025
+ name: "Ok",
8026
+ startIcon: "ApproveIcon",
8027
+ variant: "contained",
8028
+ color: "info",
8029
+ type: "text",
8030
+ onClick: "okHandler",
8031
+ size: "small"
8032
+ },
8033
+ style: {
8034
+ marginBottom: "8px",
8035
+ float: "right"
8036
+ }
8037
+ }
8038
+ },
8039
+ {
8040
+ type: "Control",
8041
+ scope: "#/properties/btnSubmit",
8042
+ options: {
8043
+ widget: "Button"
8044
+ },
8045
+ config: {
8046
+ layout: {
8047
+ xs: 11,
8048
+ sm: 11,
8049
+ md: 2.5,
8050
+ lg: 2.5
8051
+ },
8052
+ main: {
8053
+ name: "Save & Exit",
8054
+ startIcon: "ApproveIcon",
8055
+ variant: "contained",
8056
+ color: "info",
8057
+ type: "text",
8058
+ onClick: "saveHandler",
8059
+ size: "small"
8060
+ },
8061
+ style: {
8062
+ marginBottom: "8px",
8063
+ float: "right"
8064
+ }
8065
+ }
8066
+ },
8067
+ {
8068
+ type: "Control",
8069
+ scope: "#/properties/notify",
8070
+ options: {
8071
+ widget: "Notify"
8072
+ },
8073
+ layout: 6
8074
+ }
8075
+ ]
8106
8076
  };
8107
8077
  const APISection = {
8108
8078
  type: "HorizontalLayout",
@@ -8321,23 +8291,23 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8321
8291
  this.refreshPage(formdata.Handler, store2);
8322
8292
  },
8323
8293
  refreshPage: (handlerType, store22) => {
8324
- const uiSchema = _.cloneDeep(EventUiSchema(store22.theme.myTheme));
8294
+ const uiSchema = _.cloneDeep(EventUiSchema);
8325
8295
  const schema2 = _.cloneDeep(EventSchema);
8326
8296
  if (handlerType) {
8327
8297
  if (handlerType === "custom") {
8328
8298
  uiSchema.elements[1].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
8329
8299
  uiSchema.elements[1].elements[0].elements[3] = emptyBox;
8330
- uiSchema.elements[0].elements[0].elements[3] = getTextArea("eventCode", "Write Custom Code", false);
8300
+ uiSchema.elements[1].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
8331
8301
  schema2.required = ["eventType", "Handler", "eventCode"];
8332
8302
  } else if (handlerType === "api") {
8333
- uiSchema.elements[0].elements[0].elements[3] = APISection;
8303
+ uiSchema.elements[1].elements[0].elements[2] = APISection;
8334
8304
  schema2.required = ["eventType", "Handler", "method", "path"];
8335
8305
  } else if (handlerType === "inBuiltFunction") {
8336
- uiSchema.elements[0].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
8337
- uiSchema.elements[0].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true, 12);
8306
+ uiSchema.elements[1].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
8307
+ uiSchema.elements[1].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true, { xs: 12, sm: 12, md: 6 });
8338
8308
  schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
8339
8309
  } else if (handlerType === "refresh") {
8340
- uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
8310
+ uiSchema.elements[1].elements[0].elements[2] = refreshSectionUiSchema;
8341
8311
  schema2.properties.refreshElements.required = ["value"];
8342
8312
  schema2.properties.refreshElements.items.required = ["value"];
8343
8313
  schema2.required = ["eventType", "Handler", "refreshElements"];
@@ -8353,8 +8323,8 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8353
8323
  store22.setUiSchema(uiSchema);
8354
8324
  },
8355
8325
  getFormData: Component(store2, dynamicData2, submitHandler, service2).getFormdata,
8356
- getUiSchema: async function() {
8357
- return await EventUiSchema(store2.theme.myTheme);
8326
+ getUiSchema: function() {
8327
+ return EventUiSchema;
8358
8328
  },
8359
8329
  getSchema: () => {
8360
8330
  return EventSchema;
@@ -9410,7 +9380,7 @@ const LineGraph = {
9410
9380
  leftLabel: "Incentive",
9411
9381
  gridHidden: true,
9412
9382
  numHidden: false,
9413
- tooltipDataKey: ["First", "Second", "Third"],
9383
+ tooltipDataKey: ["MAMA New Project", "Second", "Third"],
9414
9384
  axisLeft: true,
9415
9385
  axisBottom: true,
9416
9386
  hideLeftAxisLine: false,
@@ -9668,7 +9638,8 @@ var WrapperSection = {
9668
9638
  config: {
9669
9639
  main: {
9670
9640
  rowSpacing: 3,
9671
- divider: true
9641
+ divider: true,
9642
+ label: "Default Label"
9672
9643
  },
9673
9644
  defaultStyle: true
9674
9645
  },
@@ -10022,14 +9993,16 @@ var Card = {
10022
9993
  main: {
10023
9994
  rowSpacing: 0.5
10024
9995
  },
10025
- componentsBoxStyle: {
10026
- position: "relative",
10027
- color: "white",
10028
- height: { xs: "120px", md: "160px" },
10029
- width: "100%",
10030
- textAlign: "left",
10031
- background: "#3f51b5",
10032
- borderRadius: "20px"
9996
+ style: {
9997
+ componentsBoxStyle: {
9998
+ position: "relative",
9999
+ color: "white",
10000
+ height: { xs: "120px", md: "160px" },
10001
+ width: "100%",
10002
+ textAlign: "left",
10003
+ background: "#3f51b5",
10004
+ borderRadius: "20px"
10005
+ }
10033
10006
  },
10034
10007
  layout: { xs: 12, sm: 12, md: 6, lg: 6 }
10035
10008
  },
@@ -10155,12 +10128,7 @@ const DateTime = {
10155
10128
  widget: "DateTimeInputField"
10156
10129
  },
10157
10130
  config: {
10158
- layout: {
10159
- xs: 11,
10160
- sm: 11,
10161
- md: 5.5,
10162
- lg: 5.5
10163
- },
10131
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
10164
10132
  main: {
10165
10133
  label: "DateTime",
10166
10134
  type: "date"
@@ -10320,7 +10288,7 @@ const buildBasicUiSchema = (config) => {
10320
10288
  pageName: config.name,
10321
10289
  name: config.name,
10322
10290
  accessorKey: config.name,
10323
- header: config.label || config.name,
10291
+ headeing: config.label || config.name,
10324
10292
  "elements": []
10325
10293
  };
10326
10294
  };