impaktapps-ui-builder 0.0.382-alpha.34 → 0.0.382-alpha.340

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