impaktapps-ui-builder 1.0.67-alpha.3 → 1.0.67-alpha.4

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.
@@ -354,93 +354,70 @@ const PageMasterUiSchema = (theme) => {
354
354
  disableAction: true,
355
355
  disableSelection: true,
356
356
  enableDrag: true
357
- }
358
- },
359
- elements: [
360
- {
361
- accessorKey: "eventType",
362
- header: "Event's Type",
363
- size: 300,
364
- type: "string"
365
- },
366
- {
367
- accessorKey: "Handler",
368
- header: "Handler",
369
- size: 200,
370
- type: "string"
371
357
  },
372
- {
373
- accessorKey: "Edit_Approve_Records",
374
- header: "Edit",
375
- type: "action",
376
- size: 150,
377
- widget: {
358
+ action: [
359
+ {
378
360
  type: "Control",
379
361
  scope: "#/properties/Edit_Records",
380
362
  options: {
381
- widget: "IconButton"
363
+ widget: "Button"
382
364
  },
383
365
  config: {
384
366
  main: {
385
367
  size: "small",
386
- icon: "TableEditIcon",
368
+ startIcon: "TableEditIcon",
387
369
  tooltipMessage: "Edit This Record",
388
- onClick: "editEvent"
389
- },
390
- style: {
391
- fill: theme.palette.primary.main,
392
- "& :hover": {
393
- fill: theme.palette.primary.dark
394
- }
370
+ onClick: "editEvent",
371
+ name: "Edit"
395
372
  }
396
373
  }
397
- }
398
- },
399
- {
400
- accessorKey: "Reject_Records",
401
- header: "Delete",
402
- type: "action",
403
- size: 150,
404
- widget: {
374
+ },
375
+ {
405
376
  type: "Control",
406
377
  scope: "#/properties/RejectButton",
407
378
  options: {
408
- widget: "IconButton"
379
+ widget: "Button"
409
380
  },
410
381
  config: {
411
382
  main: {
412
- icon: "Bin",
383
+ size: "small",
384
+ startIcon: "Bin",
413
385
  tooltipMessage: "Reject This Record",
414
- onClick: "deletePopUpEvent"
415
- },
416
- style: {
417
- fill: theme.palette.primary.main,
418
- "& :hover": {
419
- fill: theme.palette.primary.dark
420
- }
386
+ onClick: "deletePopUpEvent",
387
+ name: "Delete"
421
388
  }
422
389
  }
423
- }
424
- },
425
- {
426
- header: "Copy",
427
- field: "Copy_Event",
428
- type: "action",
429
- size: 150,
430
- widget: {
390
+ },
391
+ {
431
392
  type: "Control",
432
393
  scope: "#/properties/Copy_Event",
433
394
  options: {
434
- widget: "IconButton"
395
+ widget: "Button"
435
396
  },
436
397
  config: {
437
398
  main: {
438
- icon: "FileCopyIcon",
399
+ size: "small",
400
+ startIcon: "FileCopyIcon",
439
401
  onClick: "copyPasteElement",
440
- styleDefault: true
402
+ styleDefault: true,
403
+ name: "Copy"
441
404
  }
442
405
  }
443
406
  }
407
+ ]
408
+ },
409
+ elements: [
410
+ {
411
+ accessorKey: "eventType",
412
+ header: "Event's Type",
413
+ size: 300,
414
+ type: "string"
415
+ },
416
+ {
417
+ accessorKey: "Handler",
418
+ header: "Handler",
419
+ size: 200,
420
+ type: "string"
444
421
  }
445
422
  ]
446
423
  }