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

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.
@@ -282,6 +282,32 @@ const PageMasterUiSchema = (theme) => {
282
282
  header: "Type",
283
283
  size: 300,
284
284
  type: "string"
285
+ },
286
+ {
287
+ header: "Edit",
288
+ field: "Reject_Records",
289
+ size: 150,
290
+ type: "action",
291
+ widget: {
292
+ type: "Control",
293
+ scope: "#/properties/RejectButton",
294
+ options: {
295
+ widget: "IconButton"
296
+ },
297
+ config: {
298
+ main: {
299
+ icon: "TableEditIcon",
300
+ onClick: "Edit_Components",
301
+ tooltipMessage: "Edit This Record"
302
+ },
303
+ style: {
304
+ fill: theme.palette.primary.main,
305
+ "& :hover": {
306
+ fill: theme.palette.primary.dark
307
+ }
308
+ }
309
+ }
310
+ }
285
311
  }
286
312
  ]
287
313
  },
@@ -365,7 +391,7 @@ const PageMasterUiSchema = (theme) => {
365
391
  config: {
366
392
  main: {
367
393
  size: "small",
368
- startIcon: "TableEditIcon",
394
+ startIcon: "EditIcon",
369
395
  tooltipMessage: "Edit This Record",
370
396
  onClick: "editEvent",
371
397
  name: "Edit"
@@ -7340,95 +7366,70 @@ const EventSection = (theme) => {
7340
7366
  disableAction: true,
7341
7367
  disableSelection: true,
7342
7368
  enableDrag: true
7343
- }
7344
- },
7345
- elements: [
7346
- {
7347
- accessorKey: "eventType",
7348
- header: "Event's Type",
7349
- type: "string",
7350
- size: 300
7351
7369
  },
7352
- {
7353
- accessorKey: "Handler",
7354
- header: "Handler",
7355
- type: "string",
7356
- size: 200
7357
- },
7358
- {
7359
- accessorKey: "Edit_Approve_Records",
7360
- header: "Edit",
7361
- size: 150,
7362
- type: "action",
7363
- widget: {
7370
+ action: [
7371
+ {
7364
7372
  type: "Control",
7365
7373
  scope: "#/properties/Edit_Records",
7366
7374
  options: {
7367
- widget: "IconButton"
7375
+ widget: "Button"
7368
7376
  },
7369
7377
  config: {
7370
7378
  main: {
7371
7379
  size: "small",
7372
- icon: "TableEditIcon",
7380
+ startIcon: "EditIcon",
7373
7381
  tooltipMessage: "Edit This Record",
7374
7382
  onClick: "eventEditHandler"
7375
- },
7376
- style: {
7377
- fill: theme.palette.primary.main,
7378
- "& :hover": {
7379
- fill: theme.palette.primary.dark
7380
- }
7381
7383
  }
7382
7384
  }
7383
- }
7384
- },
7385
- {
7386
- accessorKey: "Reject_Records",
7387
- header: "Delete",
7388
- size: 150,
7389
- type: "action",
7390
- widget: {
7385
+ },
7386
+ {
7391
7387
  type: "Control",
7392
7388
  scope: "#/properties/RejectButton",
7393
7389
  accessorKeyName: "Reject_Records",
7394
7390
  options: {
7395
- widget: "IconButton"
7391
+ widget: "Button"
7396
7392
  },
7397
7393
  config: {
7398
7394
  main: {
7399
7395
  icon: "Bin",
7400
7396
  tooltipMessage: "Reject This Record",
7401
- onClick: "deletePopUpEvent"
7402
- },
7403
- style: {
7404
- fill: theme.palette.primary.main,
7405
- "& :hover": {
7406
- fill: theme.palette.primary.dark
7407
- }
7397
+ onClick: "deletePopUpEvent",
7398
+ name: "Delete",
7399
+ size: "small"
7408
7400
  }
7409
7401
  }
7410
- }
7411
- },
7412
- {
7413
- header: "Copy",
7414
- field: "Copy_Event",
7415
- size: 150,
7416
- type: "action",
7417
- widget: {
7402
+ },
7403
+ {
7418
7404
  type: "Control",
7419
7405
  scope: "#/properties/Copy_Event",
7420
7406
  options: {
7421
- widget: "IconButton"
7407
+ widget: "Button"
7422
7408
  },
7423
7409
  config: {
7424
7410
  main: {
7425
- icon: "FileCopyIcon",
7411
+ startIcon: "FileCopyIcon",
7426
7412
  onClick: "copyPasteElement",
7427
7413
  tooltipMessage: "Reject This Record",
7428
- styleDefault: true
7414
+ styleDefault: false,
7415
+ name: "Copy"
7429
7416
  }
7430
7417
  }
7431
7418
  }
7419
+ ]
7420
+ },
7421
+ elements: [
7422
+ {
7423
+ accessorKey: "eventType",
7424
+ header: "Event's Type",
7425
+ type: "string",
7426
+ size: 300
7427
+ },
7428
+ {
7429
+ accessorKey: "Handler",
7430
+ header: "Handler",
7431
+ type: "string",
7432
+ size: 200
7432
7433
  }
7433
7434
  ]
7434
7435
  }
@@ -8032,94 +8033,69 @@ const TableSection = (theme) => {
8032
8033
  disableAction: true,
8033
8034
  disableSelection: true,
8034
8035
  enableDrag: true
8035
- }
8036
- },
8037
- elements: [
8038
- {
8039
- accessorKey: "name",
8040
- header: "Name",
8041
- type: "string",
8042
- size: 300
8043
- },
8044
- {
8045
- accessorKey: "type",
8046
- header: "Type",
8047
- type: "string",
8048
- size: 200
8049
8036
  },
8050
- {
8051
- header: "Edit Record",
8052
- field: "Reject_Records",
8053
- size: 150,
8054
- type: "action",
8055
- widget: {
8037
+ action: [
8038
+ {
8056
8039
  type: "Control",
8057
8040
  scope: "#/properties/RejectButton",
8058
8041
  options: {
8059
- widget: "IconButton"
8042
+ widget: "Button"
8060
8043
  },
8061
8044
  config: {
8062
8045
  main: {
8063
- icon: "TableEditIcon",
8046
+ startIcon: "EditIcon",
8064
8047
  size: "small",
8065
8048
  onClick: "editComponents",
8066
- tooltipMessage: "Reject This Record"
8067
- },
8068
- style: {
8069
- fill: theme.palette.primary.main,
8070
- "& :hover": {
8071
- fill: theme.palette.primary.dark
8072
- }
8049
+ tooltipMessage: "Reject This Record",
8050
+ name: "Edit"
8073
8051
  }
8074
8052
  }
8075
- }
8076
- },
8077
- {
8078
- header: "Delete",
8079
- field: "Reject_Records",
8080
- size: 150,
8081
- type: "action",
8082
- widget: {
8053
+ },
8054
+ {
8083
8055
  type: "Control",
8084
8056
  scope: "#/properties/RejectButton",
8085
8057
  options: {
8086
- widget: "IconButton"
8058
+ widget: "Button"
8087
8059
  },
8088
8060
  config: {
8089
8061
  main: {
8090
- icon: "Bin",
8062
+ startIcon: "Bin",
8091
8063
  onClick: "deletePopUpComponent",
8092
- tooltipMessage: "Reject This Record"
8093
- },
8094
- style: {
8095
- fill: theme.palette.primary.main,
8096
- "& :hover": {
8097
- fill: theme.palette.primary.dark
8098
- }
8064
+ tooltipMessage: "Reject This Record",
8065
+ name: "Delete",
8066
+ size: "small"
8099
8067
  }
8100
8068
  }
8101
- }
8102
- },
8103
- {
8104
- header: "Copy",
8105
- field: "Copy_Component",
8106
- size: 150,
8107
- type: "action",
8108
- widget: {
8069
+ },
8070
+ {
8109
8071
  type: "Control",
8110
8072
  scope: "#/properties/Copy_Component",
8111
8073
  options: {
8112
- widget: "IconButton"
8074
+ widget: "Button"
8113
8075
  },
8114
8076
  config: {
8115
8077
  main: {
8116
- icon: "FileCopyIcon",
8078
+ startIcon: "FileCopyIcon",
8117
8079
  onClick: "copyPasteElement",
8118
- styleDefault: true,
8119
- disabled: false
8080
+ styleDefault: false,
8081
+ name: "Copy"
8120
8082
  }
8121
8083
  }
8122
8084
  }
8085
+ ]
8086
+ },
8087
+ elements: [
8088
+ {
8089
+ accessorKey: "name",
8090
+ header: "Name",
8091
+ type: "string",
8092
+ size: 300
8093
+ },
8094
+ {
8095
+ accessorKey: "type",
8096
+ header: "Type",
8097
+ type: "string",
8098
+ size: 200
8123
8099
  }
8124
8100
  ]
8125
8101
  }
@@ -9146,54 +9122,25 @@ const EventUiSchema = (theme) => {
9146
9122
  disableAction: true,
9147
9123
  disableSelection: true,
9148
9124
  enableDrag: true
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"
9163
9125
  },
9164
- {
9165
- accessorKey: "Edit_Approve_Records",
9166
- header: "Edit",
9167
- type: "action",
9168
- size: 150,
9169
- widget: {
9126
+ action: [
9127
+ {
9170
9128
  type: "Control",
9171
9129
  scope: "#/properties/Edit_Records",
9172
9130
  options: {
9173
- widget: "IconButton"
9131
+ widget: "Button"
9174
9132
  },
9175
9133
  config: {
9176
9134
  main: {
9177
9135
  size: "small",
9178
- icon: "TableEditIcon",
9136
+ startIcon: "EditIcon",
9179
9137
  tooltipMessage: "Edit This Record",
9180
- onClick: "editEvent"
9181
- },
9182
- style: {
9183
- fill: theme.palette.primary.main,
9184
- "& :hover": {
9185
- fill: theme.palette.primary.dark
9186
- }
9138
+ onClick: "editEvent",
9139
+ name: "Edit"
9187
9140
  }
9188
9141
  }
9189
- }
9190
- },
9191
- {
9192
- accessorKey: "Reject_Records",
9193
- header: "Delete",
9194
- type: "action",
9195
- size: 150,
9196
- widget: {
9142
+ },
9143
+ {
9197
9144
  type: "Control",
9198
9145
  scope: "#/properties/RejectButton",
9199
9146
  options: {
@@ -9201,38 +9148,44 @@ const EventUiSchema = (theme) => {
9201
9148
  },
9202
9149
  config: {
9203
9150
  main: {
9204
- icon: "Bin",
9151
+ startIcon: "Bin",
9205
9152
  tooltipMessage: "Reject This Record",
9206
- onClick: "deletePopUpEvent"
9207
- },
9208
- style: {
9209
- fill: theme.palette.primary.main,
9210
- "& :hover": {
9211
- fill: theme.palette.primary.dark
9212
- }
9153
+ onClick: "deletePopUpEvent",
9154
+ name: "Delete",
9155
+ size: "small"
9213
9156
  }
9214
9157
  }
9215
- }
9216
- },
9217
- {
9218
- header: "Copy",
9219
- field: "Copy_Event",
9220
- type: "action",
9221
- size: 150,
9222
- widget: {
9158
+ },
9159
+ {
9223
9160
  type: "Control",
9224
9161
  scope: "#/properties/Copy_Event",
9225
9162
  options: {
9226
- widget: "IconButton"
9163
+ widget: "Button"
9227
9164
  },
9228
9165
  config: {
9229
9166
  main: {
9230
- icon: "FileCopyIcon",
9167
+ startIcon: "FileCopyIcon",
9231
9168
  onClick: "copyPasteElement",
9232
- styleDefault: true
9169
+ styleDefault: false,
9170
+ name: "Copy",
9171
+ size: "small"
9233
9172
  }
9234
9173
  }
9235
9174
  }
9175
+ ]
9176
+ },
9177
+ elements: [
9178
+ {
9179
+ accessorKey: "eventType",
9180
+ header: "Event's Type",
9181
+ size: 300,
9182
+ type: "string"
9183
+ },
9184
+ {
9185
+ accessorKey: "Handler",
9186
+ header: "Handler",
9187
+ size: 200,
9188
+ type: "string"
9236
9189
  }
9237
9190
  ]
9238
9191
  }