impaktapps-ui-builder 0.0.412-mtreemap.24 → 0.0.412-mtreemap.26

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.
@@ -209,7 +209,7 @@ const PageMasterUiSchema = (theme) => {
209
209
  main: {
210
210
  icon: "RejectIcon",
211
211
  color: "error",
212
- onClick: "Delete_Components",
212
+ onClick: "deletePopUpComponent",
213
213
  tooltipMessage: "Reject This Record"
214
214
  }
215
215
  }
@@ -282,7 +282,7 @@ const PageMasterUiSchema = (theme) => {
282
282
  onClick: "editEvent"
283
283
  },
284
284
  style: {
285
- color: "#3949ab"
285
+ color: theme.palette.primary.main
286
286
  }
287
287
  }
288
288
  }
@@ -301,7 +301,7 @@ const PageMasterUiSchema = (theme) => {
301
301
  icon: "RejectIcon",
302
302
  color: "error",
303
303
  tooltipMessage: "Reject This Record",
304
- onClick: "deleteEvent"
304
+ onClick: "deletePopUpEvent"
305
305
  }
306
306
  }
307
307
  }
@@ -342,6 +342,150 @@ const PageMasterUiSchema = (theme) => {
342
342
  }
343
343
  }
344
344
  },
345
+ {
346
+ type: "Control",
347
+ scope: "#/properties/popUpComponentSection",
348
+ options: {
349
+ widget: "PopUp"
350
+ },
351
+ config: {
352
+ layout: {
353
+ xs: 12,
354
+ sm: 12,
355
+ md: 12,
356
+ lg: 12
357
+ },
358
+ main: {}
359
+ },
360
+ elements: [
361
+ {
362
+ type: "Control",
363
+ scope: "#/properties/label",
364
+ options: {
365
+ widget: "Box"
366
+ },
367
+ config: {
368
+ layout: 12,
369
+ main: {
370
+ heading: "Are you sure you want to delete ?"
371
+ },
372
+ style: {
373
+ marginTop: "-40px"
374
+ }
375
+ }
376
+ },
377
+ {
378
+ type: "Control",
379
+ scope: "#/properties/ConfirmDeleteCompButton",
380
+ options: {
381
+ widget: "Button"
382
+ },
383
+ config: {
384
+ layout: 3,
385
+ main: {
386
+ name: "Yes",
387
+ startIcon: "ApproveIcon",
388
+ variant: "contained",
389
+ color: "info",
390
+ type: "text",
391
+ onClick: "deleteComponents",
392
+ size: "small"
393
+ }
394
+ }
395
+ },
396
+ {
397
+ type: "Control",
398
+ scope: "#/properties/CancelDeleteCompButton",
399
+ options: {
400
+ widget: "Button"
401
+ },
402
+ config: {
403
+ layout: 3,
404
+ main: {
405
+ name: "No",
406
+ startIcon: "ApproveIcon",
407
+ variant: "contained",
408
+ color: "info",
409
+ type: "text",
410
+ onClick: "deletePopUpComponent",
411
+ size: "small"
412
+ }
413
+ }
414
+ }
415
+ ]
416
+ },
417
+ {
418
+ type: "Control",
419
+ scope: "#/properties/popUpEventSection",
420
+ options: {
421
+ widget: "PopUp"
422
+ },
423
+ config: {
424
+ layout: {
425
+ xs: 12,
426
+ sm: 12,
427
+ md: 12,
428
+ lg: 12
429
+ },
430
+ main: {}
431
+ },
432
+ elements: [
433
+ {
434
+ type: "Control",
435
+ scope: "#/properties/label",
436
+ options: {
437
+ widget: "Box"
438
+ },
439
+ config: {
440
+ layout: 12,
441
+ main: {
442
+ heading: "Are you sure you want to delete ?"
443
+ },
444
+ style: {
445
+ marginTop: "-40px"
446
+ }
447
+ }
448
+ },
449
+ {
450
+ type: "Control",
451
+ scope: "#/properties/ConfirmDeleteEventButton",
452
+ options: {
453
+ widget: "Button"
454
+ },
455
+ config: {
456
+ layout: 3,
457
+ main: {
458
+ name: "Yes",
459
+ startIcon: "ApproveIcon",
460
+ variant: "contained",
461
+ color: "info",
462
+ type: "text",
463
+ onClick: "deleteEvent",
464
+ size: "small"
465
+ }
466
+ }
467
+ },
468
+ {
469
+ type: "Control",
470
+ scope: "#/properties/CancelDeleteEventButton",
471
+ options: {
472
+ widget: "Button"
473
+ },
474
+ config: {
475
+ layout: 3,
476
+ main: {
477
+ name: "No",
478
+ startIcon: "ApproveIcon",
479
+ variant: "contained",
480
+ color: "info",
481
+ type: "text",
482
+ onClick: "deletePopUpEvent",
483
+ size: "small"
484
+ }
485
+ }
486
+ }
487
+ ]
488
+ },
345
489
  {
346
490
  type: "Control",
347
491
  scope: "#/properties/notify",
@@ -6893,7 +7037,7 @@ const EventSection = (theme) => {
6893
7037
  onClick: "eventEditHandler"
6894
7038
  },
6895
7039
  style: {
6896
- color: theme
7040
+ color: theme.palette.primary.main
6897
7041
  }
6898
7042
  }
6899
7043
  }
@@ -8167,7 +8311,7 @@ const EventUiSchema = (theme) => {
8167
8311
  icon: "RejectIcon",
8168
8312
  color: "error",
8169
8313
  tooltipMessage: "Reject This Record",
8170
- onClick: "deleteEvent"
8314
+ onClick: "deletePopUpEvent"
8171
8315
  }
8172
8316
  }
8173
8317
  }
@@ -8238,6 +8382,78 @@ const EventUiSchema = (theme) => {
8238
8382
  }
8239
8383
  }
8240
8384
  },
8385
+ {
8386
+ type: "Control",
8387
+ scope: "#/properties/popUpEventSection",
8388
+ options: {
8389
+ widget: "PopUp"
8390
+ },
8391
+ config: {
8392
+ layout: {
8393
+ xs: 12,
8394
+ sm: 12,
8395
+ md: 12,
8396
+ lg: 12
8397
+ },
8398
+ main: {}
8399
+ },
8400
+ elements: [
8401
+ {
8402
+ type: "Control",
8403
+ scope: "#/properties/label",
8404
+ options: {
8405
+ widget: "Box"
8406
+ },
8407
+ config: {
8408
+ layout: 12,
8409
+ main: {
8410
+ heading: "Are you sure you want to delete ?"
8411
+ },
8412
+ style: {
8413
+ marginTop: "-40px"
8414
+ }
8415
+ }
8416
+ },
8417
+ {
8418
+ type: "Control",
8419
+ scope: "#/properties/ConfirmDeleteEventButton",
8420
+ options: {
8421
+ widget: "Button"
8422
+ },
8423
+ config: {
8424
+ layout: 3,
8425
+ main: {
8426
+ name: "Yes",
8427
+ startIcon: "ApproveIcon",
8428
+ variant: "contained",
8429
+ color: "info",
8430
+ type: "text",
8431
+ onClick: "deleteEvent",
8432
+ size: "small"
8433
+ }
8434
+ }
8435
+ },
8436
+ {
8437
+ type: "Control",
8438
+ scope: "#/properties/CancelDeleteEventButton",
8439
+ options: {
8440
+ widget: "Button"
8441
+ },
8442
+ config: {
8443
+ layout: 3,
8444
+ main: {
8445
+ name: "No",
8446
+ startIcon: "ApproveIcon",
8447
+ variant: "contained",
8448
+ color: "info",
8449
+ type: "text",
8450
+ onClick: "deletePopUpEvent",
8451
+ size: "small"
8452
+ }
8453
+ }
8454
+ }
8455
+ ]
8456
+ },
8241
8457
  {
8242
8458
  type: "Control",
8243
8459
  scope: "#/properties/notify",