impaktapps-ui-builder 1.0.67 → 1.0.68

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.
@@ -218,7 +218,57 @@ const PageMasterUiSchema = (theme) => {
218
218
  disableAction: true,
219
219
  disableSelection: true,
220
220
  enableDrag: true
221
- }
221
+ },
222
+ action: [
223
+ {
224
+ type: "Control",
225
+ scope: "#/properties/RejectButton",
226
+ options: {
227
+ widget: "Button"
228
+ },
229
+ config: {
230
+ main: {
231
+ size: "small",
232
+ startIcon: "EditIcon",
233
+ onClick: "Edit_Components",
234
+ tooltipMessage: "Edit This Record",
235
+ name: "Edit"
236
+ }
237
+ }
238
+ },
239
+ {
240
+ type: "Control",
241
+ scope: "#/properties/RejectButton",
242
+ options: {
243
+ widget: "Button"
244
+ },
245
+ config: {
246
+ main: {
247
+ size: "small",
248
+ startIcon: "Bin",
249
+ onClick: "deletePopUpComponent",
250
+ tooltipMessage: "Reject This Record",
251
+ name: "Delete"
252
+ }
253
+ }
254
+ },
255
+ {
256
+ type: "Control",
257
+ scope: "#/properties/Copy_Component",
258
+ options: {
259
+ widget: "Button"
260
+ },
261
+ config: {
262
+ main: {
263
+ size: "small",
264
+ startIcon: "FileCopyIcon",
265
+ onClick: "copyPasteElement",
266
+ styleDefault: false,
267
+ name: "Copy"
268
+ }
269
+ }
270
+ }
271
+ ]
222
272
  },
223
273
  elements: [
224
274
  {
@@ -258,51 +308,6 @@ const PageMasterUiSchema = (theme) => {
258
308
  }
259
309
  }
260
310
  }
261
- },
262
- {
263
- header: "Delete",
264
- field: "Reject_Records",
265
- size: 150,
266
- type: "action",
267
- widget: {
268
- type: "Control",
269
- scope: "#/properties/RejectButton",
270
- options: {
271
- widget: "IconButton"
272
- },
273
- config: {
274
- main: {
275
- icon: "Bin",
276
- onClick: "deletePopUpComponent",
277
- tooltipMessage: "Reject This Record"
278
- },
279
- style: {
280
- fill: theme.palette.primary.main,
281
- "& :hover": {
282
- fill: theme.palette.primary.dark
283
- }
284
- }
285
- }
286
- }
287
- },
288
- {
289
- header: "Copy",
290
- field: "Copy_Component",
291
- flex: 1,
292
- widget: {
293
- type: "Control",
294
- scope: "#/properties/Copy_Component",
295
- options: {
296
- widget: "IconButton"
297
- },
298
- config: {
299
- main: {
300
- icon: "FileCopyIcon",
301
- onClick: "copyPasteElement",
302
- styleDefault: true
303
- }
304
- }
305
- }
306
311
  }
307
312
  ]
308
313
  },
@@ -375,93 +380,70 @@ const PageMasterUiSchema = (theme) => {
375
380
  disableAction: true,
376
381
  disableSelection: true,
377
382
  enableDrag: true
378
- }
379
- },
380
- elements: [
381
- {
382
- accessorKey: "eventType",
383
- header: "Event's Type",
384
- size: 300,
385
- type: "string"
386
383
  },
387
- {
388
- accessorKey: "Handler",
389
- header: "Handler",
390
- size: 200,
391
- type: "string"
392
- },
393
- {
394
- accessorKey: "Edit_Approve_Records",
395
- header: "Edit",
396
- type: "action",
397
- size: 150,
398
- widget: {
384
+ action: [
385
+ {
399
386
  type: "Control",
400
387
  scope: "#/properties/Edit_Records",
401
388
  options: {
402
- widget: "IconButton"
389
+ widget: "Button"
403
390
  },
404
391
  config: {
405
392
  main: {
406
393
  size: "small",
407
- icon: "TableEditIcon",
394
+ startIcon: "EditIcon",
408
395
  tooltipMessage: "Edit This Record",
409
- onClick: "editEvent"
410
- },
411
- style: {
412
- fill: theme.palette.primary.main,
413
- "& :hover": {
414
- fill: theme.palette.primary.dark
415
- }
396
+ onClick: "editEvent",
397
+ name: "Edit"
416
398
  }
417
399
  }
418
- }
419
- },
420
- {
421
- accessorKey: "Reject_Records",
422
- header: "Delete",
423
- type: "action",
424
- size: 150,
425
- widget: {
400
+ },
401
+ {
426
402
  type: "Control",
427
403
  scope: "#/properties/RejectButton",
428
404
  options: {
429
- widget: "IconButton"
405
+ widget: "Button"
430
406
  },
431
407
  config: {
432
408
  main: {
433
- icon: "Bin",
409
+ size: "small",
410
+ startIcon: "Bin",
434
411
  tooltipMessage: "Reject This Record",
435
- onClick: "deletePopUpEvent"
436
- },
437
- style: {
438
- fill: theme.palette.primary.main,
439
- "& :hover": {
440
- fill: theme.palette.primary.dark
441
- }
412
+ onClick: "deletePopUpEvent",
413
+ name: "Delete"
442
414
  }
443
415
  }
444
- }
445
- },
446
- {
447
- header: "Copy",
448
- field: "Copy_Event",
449
- type: "action",
450
- size: 150,
451
- widget: {
416
+ },
417
+ {
452
418
  type: "Control",
453
419
  scope: "#/properties/Copy_Event",
454
420
  options: {
455
- widget: "IconButton"
421
+ widget: "Button"
456
422
  },
457
423
  config: {
458
424
  main: {
459
- icon: "FileCopyIcon",
425
+ size: "small",
426
+ startIcon: "FileCopyIcon",
460
427
  onClick: "copyPasteElement",
461
- styleDefault: true
428
+ styleDefault: true,
429
+ name: "Copy"
462
430
  }
463
431
  }
464
432
  }
433
+ ]
434
+ },
435
+ elements: [
436
+ {
437
+ accessorKey: "eventType",
438
+ header: "Event's Type",
439
+ size: 300,
440
+ type: "string"
441
+ },
442
+ {
443
+ accessorKey: "Handler",
444
+ header: "Handler",
445
+ size: 200,
446
+ type: "string"
465
447
  }
466
448
  ]
467
449
  }
@@ -7384,95 +7366,71 @@ const EventSection = (theme) => {
7384
7366
  disableAction: true,
7385
7367
  disableSelection: true,
7386
7368
  enableDrag: true
7387
- }
7388
- },
7389
- elements: [
7390
- {
7391
- accessorKey: "eventType",
7392
- header: "Event's Type",
7393
- type: "string",
7394
- size: 300
7395
7369
  },
7396
- {
7397
- accessorKey: "Handler",
7398
- header: "Handler",
7399
- type: "string",
7400
- size: 200
7401
- },
7402
- {
7403
- accessorKey: "Edit_Approve_Records",
7404
- header: "Edit",
7405
- size: 150,
7406
- type: "action",
7407
- widget: {
7370
+ action: [
7371
+ {
7408
7372
  type: "Control",
7409
7373
  scope: "#/properties/Edit_Records",
7410
7374
  options: {
7411
- widget: "IconButton"
7375
+ widget: "Button"
7412
7376
  },
7413
7377
  config: {
7414
7378
  main: {
7415
7379
  size: "small",
7416
- icon: "TableEditIcon",
7380
+ startIcon: "EditIcon",
7417
7381
  tooltipMessage: "Edit This Record",
7418
- onClick: "eventEditHandler"
7419
- },
7420
- style: {
7421
- fill: theme.palette.primary.main,
7422
- "& :hover": {
7423
- fill: theme.palette.primary.dark
7424
- }
7382
+ onClick: "eventEditHandler",
7383
+ name: "Edit"
7425
7384
  }
7426
7385
  }
7427
- }
7428
- },
7429
- {
7430
- accessorKey: "Reject_Records",
7431
- header: "Delete",
7432
- size: 150,
7433
- type: "action",
7434
- widget: {
7386
+ },
7387
+ {
7435
7388
  type: "Control",
7436
7389
  scope: "#/properties/RejectButton",
7437
7390
  accessorKeyName: "Reject_Records",
7438
7391
  options: {
7439
- widget: "IconButton"
7392
+ widget: "Button"
7440
7393
  },
7441
7394
  config: {
7442
7395
  main: {
7443
- icon: "Bin",
7396
+ startIcon: "Bin",
7444
7397
  tooltipMessage: "Reject This Record",
7445
- onClick: "deletePopUpEvent"
7446
- },
7447
- style: {
7448
- fill: theme.palette.primary.main,
7449
- "& :hover": {
7450
- fill: theme.palette.primary.dark
7451
- }
7398
+ onClick: "deletePopUpEvent",
7399
+ name: "Delete",
7400
+ size: "small"
7452
7401
  }
7453
7402
  }
7454
- }
7455
- },
7456
- {
7457
- header: "Copy",
7458
- field: "Copy_Event",
7459
- size: 150,
7460
- type: "action",
7461
- widget: {
7403
+ },
7404
+ {
7462
7405
  type: "Control",
7463
7406
  scope: "#/properties/Copy_Event",
7464
7407
  options: {
7465
- widget: "IconButton"
7408
+ widget: "Button"
7466
7409
  },
7467
7410
  config: {
7468
7411
  main: {
7469
- icon: "FileCopyIcon",
7412
+ startIcon: "FileCopyIcon",
7470
7413
  onClick: "copyPasteElement",
7471
7414
  tooltipMessage: "Reject This Record",
7472
- styleDefault: true
7415
+ styleDefault: false,
7416
+ name: "Copy"
7473
7417
  }
7474
7418
  }
7475
7419
  }
7420
+ ]
7421
+ },
7422
+ elements: [
7423
+ {
7424
+ accessorKey: "eventType",
7425
+ header: "Event's Type",
7426
+ type: "string",
7427
+ size: 300
7428
+ },
7429
+ {
7430
+ accessorKey: "Handler",
7431
+ header: "Handler",
7432
+ type: "string",
7433
+ size: 200
7476
7434
  }
7477
7435
  ]
7478
7436
  }
@@ -8076,94 +8034,69 @@ const TableSection = (theme) => {
8076
8034
  disableAction: true,
8077
8035
  disableSelection: true,
8078
8036
  enableDrag: true
8079
- }
8080
- },
8081
- elements: [
8082
- {
8083
- accessorKey: "name",
8084
- header: "Name",
8085
- type: "string",
8086
- size: 300
8087
8037
  },
8088
- {
8089
- accessorKey: "type",
8090
- header: "Type",
8091
- type: "string",
8092
- size: 200
8093
- },
8094
- {
8095
- header: "Edit Record",
8096
- field: "Reject_Records",
8097
- size: 150,
8098
- type: "action",
8099
- widget: {
8038
+ action: [
8039
+ {
8100
8040
  type: "Control",
8101
8041
  scope: "#/properties/RejectButton",
8102
8042
  options: {
8103
- widget: "IconButton"
8043
+ widget: "Button"
8104
8044
  },
8105
8045
  config: {
8106
8046
  main: {
8107
- icon: "TableEditIcon",
8047
+ startIcon: "EditIcon",
8108
8048
  size: "small",
8109
8049
  onClick: "editComponents",
8110
- tooltipMessage: "Reject This Record"
8111
- },
8112
- style: {
8113
- fill: theme.palette.primary.main,
8114
- "& :hover": {
8115
- fill: theme.palette.primary.dark
8116
- }
8050
+ tooltipMessage: "Reject This Record",
8051
+ name: "Edit"
8117
8052
  }
8118
8053
  }
8119
- }
8120
- },
8121
- {
8122
- header: "Delete",
8123
- field: "Reject_Records",
8124
- size: 150,
8125
- type: "action",
8126
- widget: {
8054
+ },
8055
+ {
8127
8056
  type: "Control",
8128
8057
  scope: "#/properties/RejectButton",
8129
8058
  options: {
8130
- widget: "IconButton"
8059
+ widget: "Button"
8131
8060
  },
8132
8061
  config: {
8133
8062
  main: {
8134
- icon: "Bin",
8063
+ startIcon: "Bin",
8135
8064
  onClick: "deletePopUpComponent",
8136
- tooltipMessage: "Reject This Record"
8137
- },
8138
- style: {
8139
- fill: theme.palette.primary.main,
8140
- "& :hover": {
8141
- fill: theme.palette.primary.dark
8142
- }
8065
+ tooltipMessage: "Reject This Record",
8066
+ name: "Delete",
8067
+ size: "small"
8143
8068
  }
8144
8069
  }
8145
- }
8146
- },
8147
- {
8148
- header: "Copy",
8149
- field: "Copy_Component",
8150
- size: 150,
8151
- type: "action",
8152
- widget: {
8070
+ },
8071
+ {
8153
8072
  type: "Control",
8154
8073
  scope: "#/properties/Copy_Component",
8155
8074
  options: {
8156
- widget: "IconButton"
8075
+ widget: "Button"
8157
8076
  },
8158
8077
  config: {
8159
8078
  main: {
8160
- icon: "FileCopyIcon",
8079
+ startIcon: "FileCopyIcon",
8161
8080
  onClick: "copyPasteElement",
8162
- styleDefault: true,
8163
- disabled: false
8081
+ styleDefault: false,
8082
+ name: "Copy"
8164
8083
  }
8165
8084
  }
8166
8085
  }
8086
+ ]
8087
+ },
8088
+ elements: [
8089
+ {
8090
+ accessorKey: "name",
8091
+ header: "Name",
8092
+ type: "string",
8093
+ size: 300
8094
+ },
8095
+ {
8096
+ accessorKey: "type",
8097
+ header: "Type",
8098
+ type: "string",
8099
+ size: 200
8167
8100
  }
8168
8101
  ]
8169
8102
  }
@@ -9190,93 +9123,70 @@ const EventUiSchema = (theme) => {
9190
9123
  disableAction: true,
9191
9124
  disableSelection: true,
9192
9125
  enableDrag: true
9193
- }
9194
- },
9195
- elements: [
9196
- {
9197
- accessorKey: "eventType",
9198
- header: "Event's Type",
9199
- size: 300,
9200
- type: "string"
9201
9126
  },
9202
- {
9203
- accessorKey: "Handler",
9204
- header: "Handler",
9205
- size: 200,
9206
- type: "string"
9207
- },
9208
- {
9209
- accessorKey: "Edit_Approve_Records",
9210
- header: "Edit",
9211
- type: "action",
9212
- size: 150,
9213
- widget: {
9127
+ action: [
9128
+ {
9214
9129
  type: "Control",
9215
9130
  scope: "#/properties/Edit_Records",
9216
9131
  options: {
9217
- widget: "IconButton"
9132
+ widget: "Button"
9218
9133
  },
9219
9134
  config: {
9220
9135
  main: {
9221
9136
  size: "small",
9222
- icon: "TableEditIcon",
9137
+ startIcon: "EditIcon",
9223
9138
  tooltipMessage: "Edit This Record",
9224
- onClick: "editEvent"
9225
- },
9226
- style: {
9227
- fill: theme.palette.primary.main,
9228
- "& :hover": {
9229
- fill: theme.palette.primary.dark
9230
- }
9139
+ onClick: "editEvent",
9140
+ name: "Edit"
9231
9141
  }
9232
9142
  }
9233
- }
9234
- },
9235
- {
9236
- accessorKey: "Reject_Records",
9237
- header: "Delete",
9238
- type: "action",
9239
- size: 150,
9240
- widget: {
9143
+ },
9144
+ {
9241
9145
  type: "Control",
9242
9146
  scope: "#/properties/RejectButton",
9243
9147
  options: {
9244
- widget: "IconButton"
9148
+ widget: "Button"
9245
9149
  },
9246
9150
  config: {
9247
9151
  main: {
9248
- icon: "Bin",
9152
+ startIcon: "Bin",
9249
9153
  tooltipMessage: "Reject This Record",
9250
- onClick: "deletePopUpEvent"
9251
- },
9252
- style: {
9253
- fill: theme.palette.primary.main,
9254
- "& :hover": {
9255
- fill: theme.palette.primary.dark
9256
- }
9154
+ onClick: "deletePopUpEvent",
9155
+ name: "Delete",
9156
+ size: "small"
9257
9157
  }
9258
9158
  }
9259
- }
9260
- },
9261
- {
9262
- header: "Copy",
9263
- field: "Copy_Event",
9264
- type: "action",
9265
- size: 150,
9266
- widget: {
9159
+ },
9160
+ {
9267
9161
  type: "Control",
9268
9162
  scope: "#/properties/Copy_Event",
9269
9163
  options: {
9270
- widget: "IconButton"
9164
+ widget: "Button"
9271
9165
  },
9272
9166
  config: {
9273
9167
  main: {
9274
- icon: "FileCopyIcon",
9168
+ startIcon: "FileCopyIcon",
9275
9169
  onClick: "copyPasteElement",
9276
- styleDefault: true
9170
+ styleDefault: false,
9171
+ name: "Copy",
9172
+ size: "small"
9277
9173
  }
9278
9174
  }
9279
9175
  }
9176
+ ]
9177
+ },
9178
+ elements: [
9179
+ {
9180
+ accessorKey: "eventType",
9181
+ header: "Event's Type",
9182
+ size: 300,
9183
+ type: "string"
9184
+ },
9185
+ {
9186
+ accessorKey: "Handler",
9187
+ header: "Handler",
9188
+ size: 200,
9189
+ type: "string"
9280
9190
  }
9281
9191
  ]
9282
9192
  }