impaktapps-ui-builder 1.0.67-alpha.9 → 1.0.67

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