impaktapps-ui-builder 0.0.382-alpha.212 → 0.0.382-alpha.22

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 (32) hide show
  1. package/dist/impaktapps-ui-builder.es.js +1285 -1335
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +16 -16
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +35 -2
  6. package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +15 -18
  7. package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +70 -121
  8. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +53 -102
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +17 -2
  10. package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +17 -2
  11. package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +1 -1
  12. package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +2 -4
  13. package/package.json +1 -1
  14. package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +50 -27
  15. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +43 -49
  16. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +16 -36
  17. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +1 -6
  18. package/src/impaktapps-ui-builder/builder/build/uischema/emptyBox.ts +1 -1
  19. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +78 -51
  20. package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
  21. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +2 -12
  22. package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -6
  23. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +84 -56
  24. package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -6
  25. package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +12 -12
  26. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +12 -12
  27. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +344 -266
  28. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +354 -527
  29. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +415 -284
  30. package/src/impaktapps-ui-builder/builder/services/component.ts +3 -3
  31. package/src/impaktapps-ui-builder/builder/services/event.ts +8 -8
  32. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +6 -18
@@ -1,585 +1,412 @@
1
- import { EventUiSchema } from "../event/uiSchema"
2
- export const PageMasterUiSchema: any = {
3
- type: "HorizontalLayout",
4
- elements: [
5
- {
6
- type: "WrapperLayout",
7
- config: {
8
- main: {
9
- rowSpacing: 1,
10
- header: true,
11
- },
12
- defaultStyle: true,
13
- },
14
- elements: [
15
- {
16
- type: "Control",
17
- scope: "#/properties/pageMaster",
18
-
19
- options: {
20
- widget: "Box",
1
+ export const PageMasterUiSchema: any = (theme) => {
2
+ const uiSchema = {
3
+ type: "HorizontalLayout",
4
+ heading: "Page Master",
5
+ elements: [
6
+ {
7
+ type: "WrapperLayout",
8
+ config: {
9
+ main: {
10
+ label: "Page Template",
11
+ isAccordion: true,
21
12
  },
22
- config: {
23
- layout: 8,
24
- main: {
25
- heading: "Page Master",
26
- },
13
+ wrapperStyle: {
14
+ marginTop: '-6px',
15
+ marginBottom: '-8px',
27
16
  },
17
+ componentsBoxStyle: {
18
+ marginLeft: "24px",
19
+ },
20
+ defaultStyle: true,
28
21
  },
29
- {
30
- type: "Control",
31
- scope: "#/properties/Back_Button",
22
+ elements: [
23
+ {
24
+ type: "Control",
25
+ scope: "#/properties/name",
32
26
 
33
- options: {
34
- widget: "IconButton",
35
- },
36
- config: {
37
- layout: 3,
38
- main: {
39
- icon: "BackIcon",
40
- styleDefault: true,
41
- size: "small",
42
- onClick: "backHandler",
43
- tooltipMessage: "Back",
27
+ options: {
28
+ widget: "InputField",
44
29
  },
45
- style: {
46
- float: "right",
30
+ config: {
31
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
32
+ main: {
33
+ label: "Name",
34
+ options: [],
35
+ color: "secondary",
36
+ errorMessage: "Name should be start with 'page_'",
37
+ helperText: 'Name should be start with "page_"',
38
+ required: true,
39
+ },
47
40
  },
48
41
  },
49
- },
50
- ],
51
- },
52
- {
53
- type: "WrapperLayout",
54
- config: {
55
- main: {
56
- label: "Page Template",
57
- divider: true,
58
- },
59
- defaultStyle: true,
60
- },
61
- elements: [
62
- {
63
- type: "Control",
64
- scope: "#/properties/name",
42
+ {
43
+ type: "Control",
44
+ scope: "#/properties/label",
65
45
 
66
- options: {
67
- widget: "InputField",
68
- },
69
- config: {
70
- layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
71
- main: {
72
- label: "Name",
73
- options: [],
74
- color: "secondary",
75
- errorMessage: "Name should be start with 'page_'",
76
- helperText: 'Name should be start with "page_"',
77
- required: true,
46
+ options: {
47
+ widget: "InputField",
78
48
  },
79
- },
80
- },
81
- {
82
- type: "Control",
83
- scope: "#/properties/label",
84
-
85
- options: {
86
- widget: "InputField",
87
- },
88
- config: {
89
- layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
90
- main: {
91
- label: "Label",
92
- options: [],
93
- color: "secondary",
94
- required: true,
49
+ config: {
50
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
51
+ main: {
52
+ label: "Label",
53
+ options: [],
54
+ color: "secondary",
55
+ required: true,
56
+ },
95
57
  },
96
58
  },
97
- }
98
- ],
99
- },
100
- {
101
- type: "TabLayout",
102
- config: {
103
- main: {
104
- tabLabels: ["Components", "events"],
105
- divider: true,
106
- },
107
- defaultStyle: true,
108
- },
109
- elements: [
110
- {
111
- type: "WrapperLayout",
112
- config: {
113
- main: {
114
- // label: "Success Case Event",
115
- divider: true,
116
- },
117
- wrapperStyle: {
118
- border: "1px solid gray"
59
+ {
60
+ type: "Control",
61
+ scope: "#/properties/emptyBox",
62
+ options: {
63
+ widget: "EmptyBox"
119
64
  },
65
+ config: {
66
+ layout: { xs: 0, sm: 4 }
67
+ }
120
68
  },
121
- elements: [
122
- {
123
- type: "Control",
124
- scope: "#/properties/heading",
125
-
126
- options: {
127
- widget: "Box",
128
- },
129
- config: {
130
- layout: 8,
131
- main: {
132
- heading: "Components Table",
133
- },
134
- style: {
135
- fontFamily: "Roboto",
136
- fontWeight: "500",
137
- paddingLeft: "-10px",
138
- fontSize: "20px",
139
- },
69
+ {
70
+ type: "TabLayout",
71
+ config: {
72
+ main: {
73
+ tabLabels: ["Components", "events"],
74
+ divider: true,
140
75
  },
76
+ defaultStyle: true,
141
77
  },
142
- {
143
- type: "Control",
144
- scope: "#/properties/AddButton",
145
- options: {
146
- widget: "IconButton",
147
- },
148
- config: {
149
- layout: 3,
150
- main: {
151
- icon: "AddIcon",
152
- styleDefault: true,
153
- size: "small",
154
- onClick: "onAddClickHandler",
155
- tooltipMessage: "Add New",
78
+ elements: [
79
+ {
80
+ type: "Control",
81
+ scope: "#/properties/elements",
82
+ options: {
83
+ widget: "Table",
156
84
  },
157
- style: {
158
- float: "right",
159
- },
160
- },
161
- },
162
- {
163
- type: "Control",
164
- scope: "#/properties/elements",
165
- options: {
166
- widget: "Table",
167
- },
168
- config: {
169
- main: {
170
- disableAction: true,
171
- disableSelection: true,
172
- enableDrag: true,
173
- }
174
- },
175
- elements: [
176
- {
177
- accessorKey: "name",
85
+ config: {
86
+ main: {
87
+ headerIcons: {
88
+ elements: [
89
+ {
90
+ widget: {
91
+ type: "Control",
92
+ scope: "#/properties/New_Record",
178
93
 
179
- header: "Name",
94
+ options: {
95
+ widget: "IconButton",
96
+ },
97
+ config: {
98
+ main: {
99
+ color: "info",
100
+ onClick: "onAddClickHandler",
101
+ size: "small",
102
+ icon: "AddIcon",
103
+ iconLabel: "Add New",
104
+ styleDefault: true,
105
+ },
106
+ style: {
107
+ mt: "6px",
108
+ },
109
+ },
110
+ }
111
+ },
112
+ ]
113
+ },
114
+ disableAction: true,
115
+ disableSelection: true,
116
+ enableDrag: true,
117
+ }
180
118
  },
181
- {
182
- accessorKey: "type",
119
+ elements: [
120
+ {
121
+ accessorKey: "name",
183
122
 
184
- header: "Type",
185
- },
186
- {
187
- header: "Edit",
188
- field: "Reject_Records",
189
- flex: 1,
190
- widget: {
191
- type: "Control",
192
- scope: "#/properties/RejectButton",
193
- options: {
194
- widget: "IconButton",
195
- },
196
- config: {
197
- main: {
198
- icon: "EditIcon",
199
- color: "primary",
200
- onClick: "Edit_Components",
201
- tooltipMessage: "Edit This Record",
123
+ header: "Name",
124
+ },
125
+ {
126
+ accessorKey: "type",
127
+
128
+ header: "Type",
129
+ },
130
+ {
131
+ header: "Edit",
132
+ field: "Reject_Records",
133
+ flex: 1,
134
+ widget: {
135
+ type: "Control",
136
+ scope: "#/properties/RejectButton",
137
+ options: {
138
+ widget: "IconButton",
139
+ },
140
+ config: {
141
+ main: {
142
+ icon: "EditIcon",
143
+ color: "primary",
144
+ onClick: "Edit_Components",
145
+ tooltipMessage: "Edit This Record",
146
+ },
202
147
  },
203
148
  },
204
149
  },
205
- },
206
- {
207
- header: "Delete",
208
- field: "Reject_Records",
209
- flex: 1,
210
- widget: {
211
- type: "Control",
212
- scope: "#/properties/RejectButton",
213
- options: {
214
- widget: "IconButton",
215
- },
216
- config: {
217
- main: {
218
- icon: "RejectIcon",
219
- color: "error",
220
- onClick: "deletePopUpComponent",
221
- tooltipMessage: "Reject This Record",
150
+ {
151
+ header: "Delete",
152
+ field: "Reject_Records",
153
+ flex: 1,
154
+ widget: {
155
+ type: "Control",
156
+ scope: "#/properties/RejectButton",
157
+ options: {
158
+ widget: "IconButton",
159
+ },
160
+ config: {
161
+ main: {
162
+ icon: "RejectIcon",
163
+ color: "error",
164
+ onClick: "Delete_Components",
165
+ tooltipMessage: "Reject This Record",
166
+ },
222
167
  },
223
168
  },
224
- },
225
- }
226
- ]
227
- },
228
- {
229
- type: "Control",
230
- scope: "#/properties/popUpComponent",
231
- options: {
232
- widget: "PopUp"
169
+ }]
233
170
  },
234
- config: {
235
- layout: {
236
- xs: 12,
237
- sm: 12,
238
- md: 12,
239
- lg: 12,
171
+ {
172
+ type: "Control",
173
+ scope: "#/properties/events",
174
+ options: {
175
+ widget: "Table",
240
176
  },
241
- main: {
177
+ config: {
178
+ main: {
179
+ headerIcons: {
180
+ elements: [
181
+ {
182
+ widget: {
183
+ type: "Control",
184
+ scope: "#/properties/New_Record",
185
+
186
+ options: {
187
+ widget: "IconButton",
188
+ },
189
+ config: {
190
+ main: {
191
+ color: "info",
192
+ onClick: "eventAddHandler",
193
+ size: "small",
194
+ icon: "AddIcon",
195
+ iconLabel: "Add New",
196
+ styleDefault: true,
197
+ },
198
+ style: {
199
+ mt: "6px",
200
+ },
201
+ },
202
+ }
203
+ },
204
+ ]
205
+ },
206
+ disableAction: true,
207
+ disableSelection: true,
208
+ enableDrag: true,
209
+
210
+ },
242
211
  },
243
- },
244
- elements:
245
- [
212
+ elements: [
213
+
246
214
  {
247
- type: "Control",
248
- scope: "#/properties/label",
249
-
250
- options: {
251
- widget: "Box",
252
- },
253
- config: {
254
- layout: 12,
255
- main: {
256
- heading: "Are you sure you want to delete ?",
257
- },
258
- },
215
+ accessorKey: "eventType",
216
+ header: "Event Type",
259
217
  },
260
218
  {
261
- type: "Control",
262
- scope: "#/properties/ConfirmDeleteCompButton",
263
- options: {
264
- widget: "Button",
265
- },
266
- config: {
267
- layout: 3,
268
- main: {
269
- name: "No",
270
- startIcon: "ApproveIcon",
271
- variant: "contained",
272
- color: "info",
273
- type: "text",
274
- onClick: "deletePopUpComponent",
275
- size: "small",
276
- },
277
- style: {
278
- marginBottom: "8px",
279
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
280
- // float: "left",
281
- },
282
- },
219
+ accessorKey: "Handler",
220
+ header: "Handler",
283
221
  },
284
222
  {
285
- type: "Control",
286
- scope: "#/properties/CancelDeleteCompButton",
287
- options: {
288
- widget: "Button",
289
- },
290
- config: {
291
- layout: 3,
292
- main: {
293
- name: "Yes",
294
- startIcon: "ApproveIcon",
295
- variant: "contained",
296
- color: "info",
297
- type: "text",
298
- onClick: "Delete_Components",
299
- size: "small",
223
+ accessorKey: "Edit_Approve_Records",
224
+ header: "Edit Widget",
225
+ widget: {
226
+ type: "Control",
227
+ scope: "#/properties/Edit_Records",
228
+ options: {
229
+ widget: "IconButton",
300
230
  },
301
-
302
- style: {
303
- // marginBottom: "8px",
304
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
305
- // float: "left",
231
+ config: {
232
+ main: {
233
+ color: "info",
234
+ size: "small",
235
+ icon: "EditIcon",
236
+ tooltipMessage: "Edit This Record",
237
+ onClick: "editEvent",
238
+ },
239
+ style: {
240
+ color: "#3949ab",
241
+ },
306
242
  },
307
243
  },
308
244
  },
309
245
  {
310
- type: "Control",
311
- scope: "#/properties/emptyBox",
312
-
313
- options: {
314
- widget: "Box",
315
- },
316
- config: {
317
- layout: 6,
246
+ accessorKey: "Reject_Records",
247
+ header: "Delete",
248
+ widget: {
249
+ type: "Control",
250
+ scope: "#/properties/RejectButton",
251
+ options: {
252
+ widget: "IconButton",
253
+ },
254
+ config: {
255
+ main: {
256
+ icon: "RejectIcon",
257
+ color: "error",
258
+ tooltipMessage: "Reject This Record",
259
+ onClick: "deleteEvent",
260
+ },
261
+ },
318
262
  },
319
263
  },
320
264
  ]
265
+ },
266
+
267
+ ],
268
+ },
269
+ {
270
+ type: "Control",
271
+ scope: "#/properties/btn",
272
+ options: {
273
+ widget: "Button",
274
+ },
275
+
276
+ config: {
277
+ layout: 11.9,
278
+ main: {
279
+ name: "Save",
280
+ startIcon: "ApproveIcon",
281
+ variant: "contained",
282
+ color: "info",
283
+ type: "text",
284
+ onClick: "saveHandler",
285
+ size: "medium",
286
+ },
287
+ style: {
288
+ width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
289
+ float: "right",
290
+ },
321
291
  },
322
- ]
292
+ },
293
+ ]
294
+ },
295
+
296
+ {
297
+ type: "Control",
298
+ scope: "#/properties/notify",
299
+ options: {
300
+ widget: "Notify",
323
301
  },
324
-
325
- {
326
- type: "WrapperLayout",
327
- config: {
328
- main: {
329
- // label: "Success Case Event",
330
- divider: true,
302
+ layout: 6,
303
+ },
304
+ {
305
+ type: "HorizontalLayout",
306
+ config: {
307
+ style: {
308
+ position: "fixed",
309
+ bottom: 5,
310
+ overflow: 'visible',
311
+ margin: "0",
312
+ width: "100vw",
313
+ }
314
+ },
315
+ elements: [
316
+ {
317
+ type: "Control",
318
+ scope: "#/properties/EmptyBox",
319
+ options: {
320
+ widget: "EmptyBox",
331
321
  },
332
- wrapperStyle: {
333
- border: "1px solid gray"
322
+ config: {
323
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
334
324
  },
335
325
  },
336
- elements: [
337
- {
338
- type: "Control",
339
- scope: "#/properties/heading",
326
+ {
340
327
 
341
- options: {
342
- widget: "Box",
343
- },
344
- config: {
345
- layout: 8,
346
- main: {
347
- heading: "Event Table",
348
- },
349
- style: {
350
- fontFamily: "Roboto",
351
- fontWeight: "500",
352
- paddingLeft: "-10px",
353
- fontSize: "20px",
354
- },
355
- },
328
+ type: "Control",
329
+ scope: "#/properties/FooterText",
330
+ options: {
331
+ widget: "Box",
356
332
  },
357
- {
358
- type: "Control",
359
- scope: "#/properties/AddButton",
360
- options: {
361
- widget: "IconButton",
333
+ config: {
334
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
335
+ main: {
336
+ heading: "Copywriter@ACT21.IO"
362
337
  },
363
- config: {
364
- layout: 3,
365
- main: {
366
- icon: "AddIcon",
367
- styleDefault: true,
368
- size: "small",
369
- onClick: "eventAddHandler",
370
- tooltipMessage: "Back",
338
+ style: {
339
+ color: theme?.palette?.text.disabled || "#AFAFAF",
340
+ fontSize: '12px',
341
+ }
342
+ },
343
+ },
344
+ {
345
+ type: "HorizontalLayout",
346
+ config: {
347
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
348
+ },
349
+ elements: [
350
+ {
351
+ type: "Control",
352
+ scope: "#/properties/EmptyBox",
353
+ options: {
354
+ widget: "EmptyBox",
371
355
  },
372
- style: {
373
- float: "right",
356
+ config: {
357
+ layout: 2,
374
358
  },
375
359
  },
376
- },
377
-
378
- {
379
- type: "Control",
380
- scope: "#/properties/events",
381
- options: {
382
- widget: "Table",
383
- },
384
- config: {
385
- main: {
386
- disableAction: true,
387
- disableSelection: true,
388
- enableDrag: true,
389
-
360
+ {
361
+ type: "Control",
362
+ scope: "#/properties/backIcon",
363
+ options: {
364
+ widget: "Box",
390
365
  },
366
+ config: {
367
+ layout: 1,
368
+ main: {
369
+ iconName: 'PrevIcon',
370
+ onClick: "backHandler"
371
+ },
372
+ style: {
373
+ fill: theme.palette.primary.dark,
374
+ width: 20,
375
+ height: 20,
376
+ display: 'flex',
377
+ alignItems: 'center',
378
+ justifyContent: 'center',
379
+ marginRight: '-8px',
380
+ cursor: 'pointer'
381
+ }
382
+ }
391
383
  },
392
- elements: [
384
+ {
385
+ type: "Control",
386
+ scope: "#/properties/text",
393
387
 
394
- {
395
- accessorKey: "eventType",
396
- header: "Event Type",
397
- },
398
- {
399
- accessorKey: "Handler",
400
- header: "Handler",
401
- },
402
- {
403
- accessorKey: "Edit_Approve_Records",
404
- header: "Edit Widget",
405
- widget: {
406
- type: "Control",
407
- scope: "#/properties/Edit_Records",
408
- options: {
409
- widget: "IconButton",
410
- },
411
- config: {
412
- main: {
413
- color: "info",
414
- size: "small",
415
- icon: "EditIcon",
416
- tooltipMessage: "Edit This Record",
417
- onClick: "editEvent",
418
- },
419
- style: {
420
- color: "#3949ab",
421
- },
422
- },
423
- },
388
+ options: {
389
+ widget: "Box",
424
390
  },
425
- {
426
- accessorKey: "Reject_Records",
427
- header: "Delete",
428
- widget: {
429
- type: "Control",
430
- scope: "#/properties/RejectButton",
431
- options: {
432
- widget: "IconButton",
433
- },
434
- config: {
435
- main: {
436
- icon: "RejectIcon",
437
- color: "error",
438
- tooltipMessage: "Reject This Record",
439
- onClick: "deletePopUpEvent",
440
- },
441
- },
391
+ config: {
392
+ layout: 9,
393
+ main: {
394
+ heading: "Previous Page",
395
+ onClick: "backHandler"
442
396
  },
397
+ style: {
398
+ color: theme.palette.primary.dark,
399
+ fontSize: "12px",
400
+ cursor: 'pointer',
401
+ marginLeft: '-6px'
402
+ }
443
403
  },
444
- ]
445
- },
446
- // {
447
- // type: "Control",
448
- // scope: "#/properties/popUpEvent",
449
- // options:{
450
- // widget: "PopUp"
451
- // },
452
- // config:{
453
- // layout: {
454
- // xs: 12,
455
- // sm: 12,
456
- // md: 12,
457
- // lg: 12,
458
- // },
459
- // main: {
460
- // },
461
- // },
462
- // elemetns:[
463
- // {
464
- // type: "Control",
465
- // scope: "#/properties/Label",
466
- // options: {
467
- // widget: "Box",
468
- // },
469
- // config: {
470
- // layout: 12,
471
- // main: {
472
- // heading: "Are you sure you want to delete ?",
473
- // },
474
- // },
475
- // },
476
- // {
477
- // type: "Control",
478
- // scope: "#/properties/ConfirmDeleteEventButton",
479
- // options: {
480
- // widget: "Button",
481
- // },
482
- // config: {
483
- // layout: 3,
484
- // main: {
485
- // name: "No",
486
- // startIcon: "ApproveIcon",
487
- // variant: "contained",
488
- // color: "info",
489
- // type: "text",
490
- // onClick: "deleteEvent",
491
- // size: "small",
492
- // },
493
- // style: {
494
- // width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
495
- // // float: "left",
496
- // },
497
- // },
498
- // },
499
- // {
500
- // type: "Control",
501
- // scope: "#/properties/CancelDeleteEventButton",
502
- // options: {
503
- // widget: "Button",
504
- // },
505
- // config: {
506
- // layout: 3,
507
- // main: {
508
- // name: "Yes",
509
- // startIcon: "ApproveIcon",
510
- // variant: "contained",
511
- // color: "info",
512
- // type: "text",
513
- // onClick: "deleteEvent",
514
- // size: "small",
515
- // },
516
- // style: {
517
- // width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
518
- // // float: "left",
519
- // },
520
- // },
521
- // },
522
- // {
523
- // type: "Control",
524
- // scope: "#/properties/emptyBox",
525
-
526
- // options: {
527
- // widget: "Box",
528
- // },
529
- // config: {
530
- // layout: 6,
531
- // },
532
- // },
533
- // ]
534
- // }
535
- ]
536
- },
537
-
538
- ],
539
- },
540
- {
541
- type: "Control",
542
- scope: "#/properties/btn",
543
- options: {
544
- widget: "EmptyBox",
545
- },
546
- config: {
547
- layout: { xs: 0, sm: 0, md: 8, lg: 7 },
404
+ },
405
+ ],
406
+ },
407
+ ]
548
408
  }
549
- },
550
- {
551
- type: "Control",
552
- scope: "#/properties/btn",
553
- options: {
554
- widget: "Button",
555
- },
556
-
557
- config: {
558
- layout: 11.7,
559
- main: {
560
- name: "Save",
561
- startIcon: "ApproveIcon",
562
- variant: "contained",
563
- color: "info",
564
- type: "text",
565
- onClick: "saveHandler",
566
- size: "small",
567
- },
568
- style: {
569
- marginBottom: "8px",
570
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
571
- float: "right",
572
- },
573
- },
574
- },
575
- {
576
- type: "Control",
577
- scope: "#/properties/notify",
578
- options: {
579
- widget: "Notify",
580
- },
581
- layout: 6,
582
- }
583
- ]
584
- }
585
-
409
+ ]
410
+ };
411
+ return uiSchema
412
+ }