impaktapps-ui-builder 1.0.67 → 1.0.69

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,91 +218,70 @@ const PageMasterUiSchema = (theme) => {
218
218
  disableAction: true,
219
219
  disableSelection: true,
220
220
  enableDrag: true
221
- }
222
- },
223
- elements: [
224
- {
225
- accessorKey: "name",
226
- header: "Name",
227
- size: 300,
228
- type: "string"
229
- },
230
- {
231
- accessorKey: "type",
232
- header: "Type",
233
- size: 300,
234
- type: "string"
235
221
  },
236
- {
237
- header: "Edit",
238
- field: "Reject_Records",
239
- size: 150,
240
- type: "action",
241
- widget: {
222
+ action: [
223
+ {
242
224
  type: "Control",
243
225
  scope: "#/properties/RejectButton",
244
226
  options: {
245
- widget: "IconButton"
227
+ widget: "Button"
246
228
  },
247
229
  config: {
248
230
  main: {
249
- icon: "TableEditIcon",
231
+ size: "small",
232
+ startIcon: "EditIcon",
250
233
  onClick: "Edit_Components",
251
- tooltipMessage: "Edit This Record"
252
- },
253
- style: {
254
- fill: theme.palette.primary.main,
255
- "& :hover": {
256
- fill: theme.palette.primary.dark
257
- }
234
+ tooltipMessage: "Edit This Record",
235
+ name: "Edit"
258
236
  }
259
237
  }
260
- }
261
- },
262
- {
263
- header: "Delete",
264
- field: "Reject_Records",
265
- size: 150,
266
- type: "action",
267
- widget: {
238
+ },
239
+ {
268
240
  type: "Control",
269
241
  scope: "#/properties/RejectButton",
270
242
  options: {
271
- widget: "IconButton"
243
+ widget: "Button"
272
244
  },
273
245
  config: {
274
246
  main: {
275
- icon: "Bin",
247
+ size: "small",
248
+ startIcon: "Bin",
276
249
  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
- }
250
+ tooltipMessage: "Reject This Record",
251
+ name: "Delete"
284
252
  }
285
253
  }
286
- }
287
- },
288
- {
289
- header: "Copy",
290
- field: "Copy_Component",
291
- flex: 1,
292
- widget: {
254
+ },
255
+ {
293
256
  type: "Control",
294
257
  scope: "#/properties/Copy_Component",
295
258
  options: {
296
- widget: "IconButton"
259
+ widget: "Button"
297
260
  },
298
261
  config: {
299
262
  main: {
300
- icon: "FileCopyIcon",
263
+ size: "small",
264
+ startIcon: "FileCopyIcon",
301
265
  onClick: "copyPasteElement",
302
- styleDefault: true
266
+ styleDefault: false,
267
+ name: "Copy"
303
268
  }
304
269
  }
305
270
  }
271
+ ]
272
+ },
273
+ elements: [
274
+ {
275
+ accessorKey: "name",
276
+ header: "Name",
277
+ size: 300,
278
+ type: "string"
279
+ },
280
+ {
281
+ accessorKey: "type",
282
+ header: "Type",
283
+ size: 300,
284
+ type: "string"
306
285
  }
307
286
  ]
308
287
  },
@@ -375,93 +354,70 @@ const PageMasterUiSchema = (theme) => {
375
354
  disableAction: true,
376
355
  disableSelection: true,
377
356
  enableDrag: true
378
- }
379
- },
380
- elements: [
381
- {
382
- accessorKey: "eventType",
383
- header: "Event's Type",
384
- size: 300,
385
- type: "string"
386
- },
387
- {
388
- accessorKey: "Handler",
389
- header: "Handler",
390
- size: 200,
391
- type: "string"
392
357
  },
393
- {
394
- accessorKey: "Edit_Approve_Records",
395
- header: "Edit",
396
- type: "action",
397
- size: 150,
398
- widget: {
358
+ action: [
359
+ {
399
360
  type: "Control",
400
361
  scope: "#/properties/Edit_Records",
401
362
  options: {
402
- widget: "IconButton"
363
+ widget: "Button"
403
364
  },
404
365
  config: {
405
366
  main: {
406
367
  size: "small",
407
- icon: "TableEditIcon",
368
+ startIcon: "EditIcon",
408
369
  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
- }
370
+ onClick: "editEvent",
371
+ name: "Edit"
416
372
  }
417
373
  }
418
- }
419
- },
420
- {
421
- accessorKey: "Reject_Records",
422
- header: "Delete",
423
- type: "action",
424
- size: 150,
425
- widget: {
374
+ },
375
+ {
426
376
  type: "Control",
427
377
  scope: "#/properties/RejectButton",
428
378
  options: {
429
- widget: "IconButton"
379
+ widget: "Button"
430
380
  },
431
381
  config: {
432
382
  main: {
433
- icon: "Bin",
383
+ size: "small",
384
+ startIcon: "Bin",
434
385
  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
- }
386
+ onClick: "deletePopUpEvent",
387
+ name: "Delete"
442
388
  }
443
389
  }
444
- }
445
- },
446
- {
447
- header: "Copy",
448
- field: "Copy_Event",
449
- type: "action",
450
- size: 150,
451
- widget: {
390
+ },
391
+ {
452
392
  type: "Control",
453
393
  scope: "#/properties/Copy_Event",
454
394
  options: {
455
- widget: "IconButton"
395
+ widget: "Button"
456
396
  },
457
397
  config: {
458
398
  main: {
459
- icon: "FileCopyIcon",
399
+ size: "small",
400
+ startIcon: "FileCopyIcon",
460
401
  onClick: "copyPasteElement",
461
- styleDefault: true
402
+ styleDefault: true,
403
+ name: "Copy"
462
404
  }
463
405
  }
464
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"
465
421
  }
466
422
  ]
467
423
  }
@@ -7384,95 +7340,71 @@ const EventSection = (theme) => {
7384
7340
  disableAction: true,
7385
7341
  disableSelection: true,
7386
7342
  enableDrag: true
7387
- }
7388
- },
7389
- elements: [
7390
- {
7391
- accessorKey: "eventType",
7392
- header: "Event's Type",
7393
- type: "string",
7394
- size: 300
7395
7343
  },
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: {
7344
+ action: [
7345
+ {
7408
7346
  type: "Control",
7409
7347
  scope: "#/properties/Edit_Records",
7410
7348
  options: {
7411
- widget: "IconButton"
7349
+ widget: "Button"
7412
7350
  },
7413
7351
  config: {
7414
7352
  main: {
7415
7353
  size: "small",
7416
- icon: "TableEditIcon",
7354
+ startIcon: "EditIcon",
7417
7355
  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
- }
7356
+ onClick: "eventEditHandler",
7357
+ name: "Edit"
7425
7358
  }
7426
7359
  }
7427
- }
7428
- },
7429
- {
7430
- accessorKey: "Reject_Records",
7431
- header: "Delete",
7432
- size: 150,
7433
- type: "action",
7434
- widget: {
7360
+ },
7361
+ {
7435
7362
  type: "Control",
7436
7363
  scope: "#/properties/RejectButton",
7437
7364
  accessorKeyName: "Reject_Records",
7438
7365
  options: {
7439
- widget: "IconButton"
7366
+ widget: "Button"
7440
7367
  },
7441
7368
  config: {
7442
7369
  main: {
7443
- icon: "Bin",
7370
+ startIcon: "Bin",
7444
7371
  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
- }
7372
+ onClick: "deletePopUpEvent",
7373
+ name: "Delete",
7374
+ size: "small"
7452
7375
  }
7453
7376
  }
7454
- }
7455
- },
7456
- {
7457
- header: "Copy",
7458
- field: "Copy_Event",
7459
- size: 150,
7460
- type: "action",
7461
- widget: {
7377
+ },
7378
+ {
7462
7379
  type: "Control",
7463
7380
  scope: "#/properties/Copy_Event",
7464
7381
  options: {
7465
- widget: "IconButton"
7382
+ widget: "Button"
7466
7383
  },
7467
7384
  config: {
7468
7385
  main: {
7469
- icon: "FileCopyIcon",
7386
+ startIcon: "FileCopyIcon",
7470
7387
  onClick: "copyPasteElement",
7471
7388
  tooltipMessage: "Reject This Record",
7472
- styleDefault: true
7389
+ styleDefault: false,
7390
+ name: "Copy"
7473
7391
  }
7474
7392
  }
7475
7393
  }
7394
+ ]
7395
+ },
7396
+ elements: [
7397
+ {
7398
+ accessorKey: "eventType",
7399
+ header: "Event's Type",
7400
+ type: "string",
7401
+ size: 300
7402
+ },
7403
+ {
7404
+ accessorKey: "Handler",
7405
+ header: "Handler",
7406
+ type: "string",
7407
+ size: 200
7476
7408
  }
7477
7409
  ]
7478
7410
  }
@@ -8076,94 +8008,69 @@ const TableSection = (theme) => {
8076
8008
  disableAction: true,
8077
8009
  disableSelection: true,
8078
8010
  enableDrag: true
8079
- }
8080
- },
8081
- elements: [
8082
- {
8083
- accessorKey: "name",
8084
- header: "Name",
8085
- type: "string",
8086
- size: 300
8087
- },
8088
- {
8089
- accessorKey: "type",
8090
- header: "Type",
8091
- type: "string",
8092
- size: 200
8093
8011
  },
8094
- {
8095
- header: "Edit Record",
8096
- field: "Reject_Records",
8097
- size: 150,
8098
- type: "action",
8099
- widget: {
8012
+ action: [
8013
+ {
8100
8014
  type: "Control",
8101
8015
  scope: "#/properties/RejectButton",
8102
8016
  options: {
8103
- widget: "IconButton"
8017
+ widget: "Button"
8104
8018
  },
8105
8019
  config: {
8106
8020
  main: {
8107
- icon: "TableEditIcon",
8021
+ startIcon: "EditIcon",
8108
8022
  size: "small",
8109
8023
  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
- }
8024
+ tooltipMessage: "Reject This Record",
8025
+ name: "Edit"
8117
8026
  }
8118
8027
  }
8119
- }
8120
- },
8121
- {
8122
- header: "Delete",
8123
- field: "Reject_Records",
8124
- size: 150,
8125
- type: "action",
8126
- widget: {
8028
+ },
8029
+ {
8127
8030
  type: "Control",
8128
8031
  scope: "#/properties/RejectButton",
8129
8032
  options: {
8130
- widget: "IconButton"
8033
+ widget: "Button"
8131
8034
  },
8132
8035
  config: {
8133
8036
  main: {
8134
- icon: "Bin",
8037
+ startIcon: "Bin",
8135
8038
  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
- }
8039
+ tooltipMessage: "Reject This Record",
8040
+ name: "Delete",
8041
+ size: "small"
8143
8042
  }
8144
8043
  }
8145
- }
8146
- },
8147
- {
8148
- header: "Copy",
8149
- field: "Copy_Component",
8150
- size: 150,
8151
- type: "action",
8152
- widget: {
8044
+ },
8045
+ {
8153
8046
  type: "Control",
8154
8047
  scope: "#/properties/Copy_Component",
8155
8048
  options: {
8156
- widget: "IconButton"
8049
+ widget: "Button"
8157
8050
  },
8158
8051
  config: {
8159
8052
  main: {
8160
- icon: "FileCopyIcon",
8053
+ startIcon: "FileCopyIcon",
8161
8054
  onClick: "copyPasteElement",
8162
- styleDefault: true,
8163
- disabled: false
8055
+ styleDefault: false,
8056
+ name: "Copy"
8164
8057
  }
8165
8058
  }
8166
8059
  }
8060
+ ]
8061
+ },
8062
+ elements: [
8063
+ {
8064
+ accessorKey: "name",
8065
+ header: "Name",
8066
+ type: "string",
8067
+ size: 300
8068
+ },
8069
+ {
8070
+ accessorKey: "type",
8071
+ header: "Type",
8072
+ type: "string",
8073
+ size: 200
8167
8074
  }
8168
8075
  ]
8169
8076
  }
@@ -9190,93 +9097,70 @@ const EventUiSchema = (theme) => {
9190
9097
  disableAction: true,
9191
9098
  disableSelection: true,
9192
9099
  enableDrag: true
9193
- }
9194
- },
9195
- elements: [
9196
- {
9197
- accessorKey: "eventType",
9198
- header: "Event's Type",
9199
- size: 300,
9200
- type: "string"
9201
- },
9202
- {
9203
- accessorKey: "Handler",
9204
- header: "Handler",
9205
- size: 200,
9206
- type: "string"
9207
9100
  },
9208
- {
9209
- accessorKey: "Edit_Approve_Records",
9210
- header: "Edit",
9211
- type: "action",
9212
- size: 150,
9213
- widget: {
9101
+ action: [
9102
+ {
9214
9103
  type: "Control",
9215
9104
  scope: "#/properties/Edit_Records",
9216
9105
  options: {
9217
- widget: "IconButton"
9106
+ widget: "Button"
9218
9107
  },
9219
9108
  config: {
9220
9109
  main: {
9221
9110
  size: "small",
9222
- icon: "TableEditIcon",
9111
+ startIcon: "EditIcon",
9223
9112
  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
- }
9113
+ onClick: "editEvent",
9114
+ name: "Edit"
9231
9115
  }
9232
9116
  }
9233
- }
9234
- },
9235
- {
9236
- accessorKey: "Reject_Records",
9237
- header: "Delete",
9238
- type: "action",
9239
- size: 150,
9240
- widget: {
9117
+ },
9118
+ {
9241
9119
  type: "Control",
9242
9120
  scope: "#/properties/RejectButton",
9243
9121
  options: {
9244
- widget: "IconButton"
9122
+ widget: "Button"
9245
9123
  },
9246
9124
  config: {
9247
9125
  main: {
9248
- icon: "Bin",
9126
+ startIcon: "Bin",
9249
9127
  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
- }
9128
+ onClick: "deletePopUpEvent",
9129
+ name: "Delete",
9130
+ size: "small"
9257
9131
  }
9258
9132
  }
9259
- }
9260
- },
9261
- {
9262
- header: "Copy",
9263
- field: "Copy_Event",
9264
- type: "action",
9265
- size: 150,
9266
- widget: {
9133
+ },
9134
+ {
9267
9135
  type: "Control",
9268
9136
  scope: "#/properties/Copy_Event",
9269
9137
  options: {
9270
- widget: "IconButton"
9138
+ widget: "Button"
9271
9139
  },
9272
9140
  config: {
9273
9141
  main: {
9274
- icon: "FileCopyIcon",
9142
+ startIcon: "FileCopyIcon",
9275
9143
  onClick: "copyPasteElement",
9276
- styleDefault: true
9144
+ styleDefault: false,
9145
+ name: "Copy",
9146
+ size: "small"
9277
9147
  }
9278
9148
  }
9279
9149
  }
9150
+ ]
9151
+ },
9152
+ elements: [
9153
+ {
9154
+ accessorKey: "eventType",
9155
+ header: "Event's Type",
9156
+ size: 300,
9157
+ type: "string"
9158
+ },
9159
+ {
9160
+ accessorKey: "Handler",
9161
+ header: "Handler",
9162
+ size: 200,
9163
+ type: "string"
9280
9164
  }
9281
9165
  ]
9282
9166
  }