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

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
357
  },
366
- {
367
- accessorKey: "Handler",
368
- header: "Handler",
369
- size: 200,
370
- type: "string"
371
- },
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: "EditIcon",
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
  }
@@ -7363,95 +7340,70 @@ const EventSection = (theme) => {
7363
7340
  disableAction: true,
7364
7341
  disableSelection: true,
7365
7342
  enableDrag: true
7366
- }
7367
- },
7368
- elements: [
7369
- {
7370
- accessorKey: "eventType",
7371
- header: "Event's Type",
7372
- type: "string",
7373
- size: 300
7374
- },
7375
- {
7376
- accessorKey: "Handler",
7377
- header: "Handler",
7378
- type: "string",
7379
- size: 200
7380
7343
  },
7381
- {
7382
- accessorKey: "Edit_Approve_Records",
7383
- header: "Edit",
7384
- size: 150,
7385
- type: "action",
7386
- widget: {
7344
+ action: [
7345
+ {
7387
7346
  type: "Control",
7388
7347
  scope: "#/properties/Edit_Records",
7389
7348
  options: {
7390
- widget: "IconButton"
7349
+ widget: "Button"
7391
7350
  },
7392
7351
  config: {
7393
7352
  main: {
7394
7353
  size: "small",
7395
- icon: "TableEditIcon",
7354
+ startIcon: "EditIcon",
7396
7355
  tooltipMessage: "Edit This Record",
7397
7356
  onClick: "eventEditHandler"
7398
- },
7399
- style: {
7400
- fill: theme.palette.primary.main,
7401
- "& :hover": {
7402
- fill: theme.palette.primary.dark
7403
- }
7404
7357
  }
7405
7358
  }
7406
- }
7407
- },
7408
- {
7409
- accessorKey: "Reject_Records",
7410
- header: "Delete",
7411
- size: 150,
7412
- type: "action",
7413
- widget: {
7359
+ },
7360
+ {
7414
7361
  type: "Control",
7415
7362
  scope: "#/properties/RejectButton",
7416
7363
  accessorKeyName: "Reject_Records",
7417
7364
  options: {
7418
- widget: "IconButton"
7365
+ widget: "Button"
7419
7366
  },
7420
7367
  config: {
7421
7368
  main: {
7422
7369
  icon: "Bin",
7423
7370
  tooltipMessage: "Reject This Record",
7424
- onClick: "deletePopUpEvent"
7425
- },
7426
- style: {
7427
- fill: theme.palette.primary.main,
7428
- "& :hover": {
7429
- fill: theme.palette.primary.dark
7430
- }
7371
+ onClick: "deletePopUpEvent",
7372
+ name: "Delete",
7373
+ size: "small"
7431
7374
  }
7432
7375
  }
7433
- }
7434
- },
7435
- {
7436
- header: "Copy",
7437
- field: "Copy_Event",
7438
- size: 150,
7439
- type: "action",
7440
- widget: {
7376
+ },
7377
+ {
7441
7378
  type: "Control",
7442
7379
  scope: "#/properties/Copy_Event",
7443
7380
  options: {
7444
- widget: "IconButton"
7381
+ widget: "Button"
7445
7382
  },
7446
7383
  config: {
7447
7384
  main: {
7448
- icon: "FileCopyIcon",
7385
+ startIcon: "FileCopyIcon",
7449
7386
  onClick: "copyPasteElement",
7450
7387
  tooltipMessage: "Reject This Record",
7451
- styleDefault: true
7388
+ styleDefault: false,
7389
+ name: "Copy"
7452
7390
  }
7453
7391
  }
7454
7392
  }
7393
+ ]
7394
+ },
7395
+ elements: [
7396
+ {
7397
+ accessorKey: "eventType",
7398
+ header: "Event's Type",
7399
+ type: "string",
7400
+ size: 300
7401
+ },
7402
+ {
7403
+ accessorKey: "Handler",
7404
+ header: "Handler",
7405
+ type: "string",
7406
+ size: 200
7455
7407
  }
7456
7408
  ]
7457
7409
  }
@@ -8055,94 +8007,69 @@ const TableSection = (theme) => {
8055
8007
  disableAction: true,
8056
8008
  disableSelection: true,
8057
8009
  enableDrag: true
8058
- }
8059
- },
8060
- elements: [
8061
- {
8062
- accessorKey: "name",
8063
- header: "Name",
8064
- type: "string",
8065
- size: 300
8066
8010
  },
8067
- {
8068
- accessorKey: "type",
8069
- header: "Type",
8070
- type: "string",
8071
- size: 200
8072
- },
8073
- {
8074
- header: "Edit Record",
8075
- field: "Reject_Records",
8076
- size: 150,
8077
- type: "action",
8078
- widget: {
8011
+ action: [
8012
+ {
8079
8013
  type: "Control",
8080
8014
  scope: "#/properties/RejectButton",
8081
8015
  options: {
8082
- widget: "IconButton"
8016
+ widget: "Button"
8083
8017
  },
8084
8018
  config: {
8085
8019
  main: {
8086
- icon: "TableEditIcon",
8020
+ startIcon: "EditIcon",
8087
8021
  size: "small",
8088
8022
  onClick: "editComponents",
8089
- tooltipMessage: "Reject This Record"
8090
- },
8091
- style: {
8092
- fill: theme.palette.primary.main,
8093
- "& :hover": {
8094
- fill: theme.palette.primary.dark
8095
- }
8023
+ tooltipMessage: "Reject This Record",
8024
+ name: "Edit"
8096
8025
  }
8097
8026
  }
8098
- }
8099
- },
8100
- {
8101
- header: "Delete",
8102
- field: "Reject_Records",
8103
- size: 150,
8104
- type: "action",
8105
- widget: {
8027
+ },
8028
+ {
8106
8029
  type: "Control",
8107
8030
  scope: "#/properties/RejectButton",
8108
8031
  options: {
8109
- widget: "IconButton"
8032
+ widget: "Button"
8110
8033
  },
8111
8034
  config: {
8112
8035
  main: {
8113
- icon: "Bin",
8036
+ startIcon: "Bin",
8114
8037
  onClick: "deletePopUpComponent",
8115
- tooltipMessage: "Reject This Record"
8116
- },
8117
- style: {
8118
- fill: theme.palette.primary.main,
8119
- "& :hover": {
8120
- fill: theme.palette.primary.dark
8121
- }
8038
+ tooltipMessage: "Reject This Record",
8039
+ name: "Delete",
8040
+ size: "small"
8122
8041
  }
8123
8042
  }
8124
- }
8125
- },
8126
- {
8127
- header: "Copy",
8128
- field: "Copy_Component",
8129
- size: 150,
8130
- type: "action",
8131
- widget: {
8043
+ },
8044
+ {
8132
8045
  type: "Control",
8133
8046
  scope: "#/properties/Copy_Component",
8134
8047
  options: {
8135
- widget: "IconButton"
8048
+ widget: "Button"
8136
8049
  },
8137
8050
  config: {
8138
8051
  main: {
8139
- icon: "FileCopyIcon",
8052
+ startIcon: "FileCopyIcon",
8140
8053
  onClick: "copyPasteElement",
8141
- styleDefault: true,
8142
- disabled: false
8054
+ styleDefault: false,
8055
+ name: "Copy"
8143
8056
  }
8144
8057
  }
8145
8058
  }
8059
+ ]
8060
+ },
8061
+ elements: [
8062
+ {
8063
+ accessorKey: "name",
8064
+ header: "Name",
8065
+ type: "string",
8066
+ size: 300
8067
+ },
8068
+ {
8069
+ accessorKey: "type",
8070
+ header: "Type",
8071
+ type: "string",
8072
+ size: 200
8146
8073
  }
8147
8074
  ]
8148
8075
  }
@@ -9169,54 +9096,25 @@ const EventUiSchema = (theme) => {
9169
9096
  disableAction: true,
9170
9097
  disableSelection: true,
9171
9098
  enableDrag: true
9172
- }
9173
- },
9174
- elements: [
9175
- {
9176
- accessorKey: "eventType",
9177
- header: "Event's Type",
9178
- size: 300,
9179
- type: "string"
9180
9099
  },
9181
- {
9182
- accessorKey: "Handler",
9183
- header: "Handler",
9184
- size: 200,
9185
- type: "string"
9186
- },
9187
- {
9188
- accessorKey: "Edit_Approve_Records",
9189
- header: "Edit",
9190
- type: "action",
9191
- size: 150,
9192
- widget: {
9100
+ action: [
9101
+ {
9193
9102
  type: "Control",
9194
9103
  scope: "#/properties/Edit_Records",
9195
9104
  options: {
9196
- widget: "IconButton"
9105
+ widget: "Button"
9197
9106
  },
9198
9107
  config: {
9199
9108
  main: {
9200
9109
  size: "small",
9201
- icon: "TableEditIcon",
9110
+ startIcon: "EditIcon",
9202
9111
  tooltipMessage: "Edit This Record",
9203
- onClick: "editEvent"
9204
- },
9205
- style: {
9206
- fill: theme.palette.primary.main,
9207
- "& :hover": {
9208
- fill: theme.palette.primary.dark
9209
- }
9112
+ onClick: "editEvent",
9113
+ name: "Edit"
9210
9114
  }
9211
9115
  }
9212
- }
9213
- },
9214
- {
9215
- accessorKey: "Reject_Records",
9216
- header: "Delete",
9217
- type: "action",
9218
- size: 150,
9219
- widget: {
9116
+ },
9117
+ {
9220
9118
  type: "Control",
9221
9119
  scope: "#/properties/RejectButton",
9222
9120
  options: {
@@ -9224,38 +9122,44 @@ const EventUiSchema = (theme) => {
9224
9122
  },
9225
9123
  config: {
9226
9124
  main: {
9227
- icon: "Bin",
9125
+ startIcon: "Bin",
9228
9126
  tooltipMessage: "Reject This Record",
9229
- onClick: "deletePopUpEvent"
9230
- },
9231
- style: {
9232
- fill: theme.palette.primary.main,
9233
- "& :hover": {
9234
- fill: theme.palette.primary.dark
9235
- }
9127
+ onClick: "deletePopUpEvent",
9128
+ name: "Delete",
9129
+ size: "small"
9236
9130
  }
9237
9131
  }
9238
- }
9239
- },
9240
- {
9241
- header: "Copy",
9242
- field: "Copy_Event",
9243
- type: "action",
9244
- size: 150,
9245
- widget: {
9132
+ },
9133
+ {
9246
9134
  type: "Control",
9247
9135
  scope: "#/properties/Copy_Event",
9248
9136
  options: {
9249
- widget: "IconButton"
9137
+ widget: "Button"
9250
9138
  },
9251
9139
  config: {
9252
9140
  main: {
9253
- icon: "FileCopyIcon",
9141
+ startIcon: "FileCopyIcon",
9254
9142
  onClick: "copyPasteElement",
9255
- styleDefault: true
9143
+ styleDefault: false,
9144
+ name: "Copy",
9145
+ size: "small"
9256
9146
  }
9257
9147
  }
9258
9148
  }
9149
+ ]
9150
+ },
9151
+ elements: [
9152
+ {
9153
+ accessorKey: "eventType",
9154
+ header: "Event's Type",
9155
+ size: 300,
9156
+ type: "string"
9157
+ },
9158
+ {
9159
+ accessorKey: "Handler",
9160
+ header: "Handler",
9161
+ size: 200,
9162
+ type: "string"
9259
9163
  }
9260
9164
  ]
9261
9165
  }