impaktapps-ui-builder 0.0.382-alpha.302 → 0.0.382-alpha.304

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.
@@ -246,13 +246,96 @@ const PageMasterUiSchema = {
246
246
  main: {
247
247
  icon: "RejectIcon",
248
248
  color: "error",
249
- onClick: "popUpComponent",
249
+ onClick: "deletePopUpComponent",
250
250
  tooltipMessage: "Reject This Record"
251
251
  }
252
252
  }
253
253
  }
254
254
  }
255
255
  ]
256
+ },
257
+ {
258
+ type: "Control",
259
+ scope: "#/properties/popUpComponent",
260
+ options: {
261
+ widget: "PopUp"
262
+ },
263
+ config: {
264
+ layout: {
265
+ xs: 12,
266
+ sm: 12,
267
+ md: 12,
268
+ lg: 12
269
+ },
270
+ main: {
271
+ label: "PopUp",
272
+ fullScreen: false,
273
+ fullWidth: false,
274
+ maxWidth: false,
275
+ alignItems: false,
276
+ spacing: 2
277
+ }
278
+ },
279
+ elements: [
280
+ {
281
+ type: "Control",
282
+ scope: "#/properties/label",
283
+ options: {
284
+ widget: "Box"
285
+ },
286
+ config: {
287
+ layout: 12,
288
+ main: {
289
+ heading: "Are you sure you want to delete ?"
290
+ }
291
+ }
292
+ },
293
+ {
294
+ type: "Control",
295
+ scope: "#/properties/ConfirmDeleteCompButton",
296
+ options: {
297
+ widget: "Button"
298
+ },
299
+ config: {
300
+ layout: 3,
301
+ main: {
302
+ name: "Yes",
303
+ startIcon: "ApproveIcon",
304
+ variant: "contained",
305
+ color: "info",
306
+ type: "text",
307
+ onClick: "Delete_Components",
308
+ size: "small"
309
+ },
310
+ style: {
311
+ width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
312
+ float: "right"
313
+ }
314
+ }
315
+ },
316
+ {
317
+ type: "Control",
318
+ scope: "#/properties/CancelDeleteCompButton",
319
+ options: {
320
+ widget: "Button"
321
+ },
322
+ config: {
323
+ layout: 3,
324
+ main: {
325
+ name: "No",
326
+ startIcon: "ApproveIcon",
327
+ variant: "contained",
328
+ color: "info",
329
+ type: "text",
330
+ onClick: "deletePopUpComponent",
331
+ size: "small"
332
+ },
333
+ style: {
334
+ width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
335
+ }
336
+ }
337
+ }
338
+ ]
256
339
  }
257
340
  ]
258
341
  },
@@ -376,75 +459,6 @@ const PageMasterUiSchema = {
376
459
  }
377
460
  ]
378
461
  },
379
- {
380
- type: "Control",
381
- scope: "#/properties/popUpComponent",
382
- options: {
383
- widget: "PopUp"
384
- },
385
- config: {
386
- layout: {
387
- xs: 12,
388
- sm: 12,
389
- md: 12,
390
- lg: 12
391
- },
392
- main: {
393
- label: "PopUp",
394
- fullScreen: false,
395
- fullWidth: false,
396
- maxWidth: false,
397
- alignItems: false,
398
- spacing: 2
399
- }
400
- },
401
- elements: [
402
- {
403
- type: "Control",
404
- scope: "#/properties/ConfirmDeleteCompButton",
405
- options: {
406
- widget: "Button"
407
- },
408
- config: {
409
- layout: 3,
410
- main: {
411
- name: "Yes",
412
- startIcon: "ApproveIcon",
413
- variant: "contained",
414
- color: "info",
415
- type: "text",
416
- onClick: "Delete_Components",
417
- size: "small"
418
- },
419
- style: {
420
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
421
- }
422
- }
423
- },
424
- {
425
- type: "Control",
426
- scope: "#/properties/CancelDeleteCompButton",
427
- options: {
428
- widget: "Button"
429
- },
430
- config: {
431
- layout: 3,
432
- main: {
433
- name: "No",
434
- startIcon: "ApproveIcon",
435
- variant: "contained",
436
- color: "info",
437
- type: "text",
438
- onClick: "deletePopUpComponent",
439
- size: "small"
440
- },
441
- style: {
442
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
443
- }
444
- }
445
- }
446
- ]
447
- },
448
462
  {
449
463
  type: "Control",
450
464
  scope: "#/properties/btn",