impaktapps-ui-builder 1.0.67-alpha.4 → 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.
@@ -365,7 +365,7 @@ const PageMasterUiSchema = (theme) => {
365
365
  config: {
366
366
  main: {
367
367
  size: "small",
368
- startIcon: "TableEditIcon",
368
+ startIcon: "EditIcon",
369
369
  tooltipMessage: "Edit This Record",
370
370
  onClick: "editEvent",
371
371
  name: "Edit"
@@ -7340,95 +7340,70 @@ const EventSection = (theme) => {
7340
7340
  disableAction: true,
7341
7341
  disableSelection: true,
7342
7342
  enableDrag: true
7343
- }
7344
- },
7345
- elements: [
7346
- {
7347
- accessorKey: "eventType",
7348
- header: "Event's Type",
7349
- type: "string",
7350
- size: 300
7351
7343
  },
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: {
7344
+ action: [
7345
+ {
7364
7346
  type: "Control",
7365
7347
  scope: "#/properties/Edit_Records",
7366
7348
  options: {
7367
- widget: "IconButton"
7349
+ widget: "Button"
7368
7350
  },
7369
7351
  config: {
7370
7352
  main: {
7371
7353
  size: "small",
7372
- icon: "TableEditIcon",
7354
+ startIcon: "EditIcon",
7373
7355
  tooltipMessage: "Edit This Record",
7374
7356
  onClick: "eventEditHandler"
7375
- },
7376
- style: {
7377
- fill: theme.palette.primary.main,
7378
- "& :hover": {
7379
- fill: theme.palette.primary.dark
7380
- }
7381
7357
  }
7382
7358
  }
7383
- }
7384
- },
7385
- {
7386
- accessorKey: "Reject_Records",
7387
- header: "Delete",
7388
- size: 150,
7389
- type: "action",
7390
- widget: {
7359
+ },
7360
+ {
7391
7361
  type: "Control",
7392
7362
  scope: "#/properties/RejectButton",
7393
7363
  accessorKeyName: "Reject_Records",
7394
7364
  options: {
7395
- widget: "IconButton"
7365
+ widget: "Button"
7396
7366
  },
7397
7367
  config: {
7398
7368
  main: {
7399
7369
  icon: "Bin",
7400
7370
  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
- }
7371
+ onClick: "deletePopUpEvent",
7372
+ name: "Delete",
7373
+ size: "small"
7408
7374
  }
7409
7375
  }
7410
- }
7411
- },
7412
- {
7413
- header: "Copy",
7414
- field: "Copy_Event",
7415
- size: 150,
7416
- type: "action",
7417
- widget: {
7376
+ },
7377
+ {
7418
7378
  type: "Control",
7419
7379
  scope: "#/properties/Copy_Event",
7420
7380
  options: {
7421
- widget: "IconButton"
7381
+ widget: "Button"
7422
7382
  },
7423
7383
  config: {
7424
7384
  main: {
7425
- icon: "FileCopyIcon",
7385
+ startIcon: "FileCopyIcon",
7426
7386
  onClick: "copyPasteElement",
7427
7387
  tooltipMessage: "Reject This Record",
7428
- styleDefault: true
7388
+ styleDefault: false,
7389
+ name: "Copy"
7429
7390
  }
7430
7391
  }
7431
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
7432
7407
  }
7433
7408
  ]
7434
7409
  }
@@ -8032,94 +8007,69 @@ const TableSection = (theme) => {
8032
8007
  disableAction: true,
8033
8008
  disableSelection: true,
8034
8009
  enableDrag: true
8035
- }
8036
- },
8037
- elements: [
8038
- {
8039
- accessorKey: "name",
8040
- header: "Name",
8041
- type: "string",
8042
- size: 300
8043
8010
  },
8044
- {
8045
- accessorKey: "type",
8046
- header: "Type",
8047
- type: "string",
8048
- size: 200
8049
- },
8050
- {
8051
- header: "Edit Record",
8052
- field: "Reject_Records",
8053
- size: 150,
8054
- type: "action",
8055
- widget: {
8011
+ action: [
8012
+ {
8056
8013
  type: "Control",
8057
8014
  scope: "#/properties/RejectButton",
8058
8015
  options: {
8059
- widget: "IconButton"
8016
+ widget: "Button"
8060
8017
  },
8061
8018
  config: {
8062
8019
  main: {
8063
- icon: "TableEditIcon",
8020
+ startIcon: "EditIcon",
8064
8021
  size: "small",
8065
8022
  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
- }
8023
+ tooltipMessage: "Reject This Record",
8024
+ name: "Edit"
8073
8025
  }
8074
8026
  }
8075
- }
8076
- },
8077
- {
8078
- header: "Delete",
8079
- field: "Reject_Records",
8080
- size: 150,
8081
- type: "action",
8082
- widget: {
8027
+ },
8028
+ {
8083
8029
  type: "Control",
8084
8030
  scope: "#/properties/RejectButton",
8085
8031
  options: {
8086
- widget: "IconButton"
8032
+ widget: "Button"
8087
8033
  },
8088
8034
  config: {
8089
8035
  main: {
8090
- icon: "Bin",
8036
+ startIcon: "Bin",
8091
8037
  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
- }
8038
+ tooltipMessage: "Reject This Record",
8039
+ name: "Delete",
8040
+ size: "small"
8099
8041
  }
8100
8042
  }
8101
- }
8102
- },
8103
- {
8104
- header: "Copy",
8105
- field: "Copy_Component",
8106
- size: 150,
8107
- type: "action",
8108
- widget: {
8043
+ },
8044
+ {
8109
8045
  type: "Control",
8110
8046
  scope: "#/properties/Copy_Component",
8111
8047
  options: {
8112
- widget: "IconButton"
8048
+ widget: "Button"
8113
8049
  },
8114
8050
  config: {
8115
8051
  main: {
8116
- icon: "FileCopyIcon",
8052
+ startIcon: "FileCopyIcon",
8117
8053
  onClick: "copyPasteElement",
8118
- styleDefault: true,
8119
- disabled: false
8054
+ styleDefault: false,
8055
+ name: "Copy"
8120
8056
  }
8121
8057
  }
8122
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
8123
8073
  }
8124
8074
  ]
8125
8075
  }
@@ -9146,54 +9096,25 @@ const EventUiSchema = (theme) => {
9146
9096
  disableAction: true,
9147
9097
  disableSelection: true,
9148
9098
  enableDrag: true
9149
- }
9150
- },
9151
- elements: [
9152
- {
9153
- accessorKey: "eventType",
9154
- header: "Event's Type",
9155
- size: 300,
9156
- type: "string"
9157
9099
  },
9158
- {
9159
- accessorKey: "Handler",
9160
- header: "Handler",
9161
- size: 200,
9162
- type: "string"
9163
- },
9164
- {
9165
- accessorKey: "Edit_Approve_Records",
9166
- header: "Edit",
9167
- type: "action",
9168
- size: 150,
9169
- widget: {
9100
+ action: [
9101
+ {
9170
9102
  type: "Control",
9171
9103
  scope: "#/properties/Edit_Records",
9172
9104
  options: {
9173
- widget: "IconButton"
9105
+ widget: "Button"
9174
9106
  },
9175
9107
  config: {
9176
9108
  main: {
9177
9109
  size: "small",
9178
- icon: "TableEditIcon",
9110
+ startIcon: "EditIcon",
9179
9111
  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
- }
9112
+ onClick: "editEvent",
9113
+ name: "Edit"
9187
9114
  }
9188
9115
  }
9189
- }
9190
- },
9191
- {
9192
- accessorKey: "Reject_Records",
9193
- header: "Delete",
9194
- type: "action",
9195
- size: 150,
9196
- widget: {
9116
+ },
9117
+ {
9197
9118
  type: "Control",
9198
9119
  scope: "#/properties/RejectButton",
9199
9120
  options: {
@@ -9201,38 +9122,44 @@ const EventUiSchema = (theme) => {
9201
9122
  },
9202
9123
  config: {
9203
9124
  main: {
9204
- icon: "Bin",
9125
+ startIcon: "Bin",
9205
9126
  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
- }
9127
+ onClick: "deletePopUpEvent",
9128
+ name: "Delete",
9129
+ size: "small"
9213
9130
  }
9214
9131
  }
9215
- }
9216
- },
9217
- {
9218
- header: "Copy",
9219
- field: "Copy_Event",
9220
- type: "action",
9221
- size: 150,
9222
- widget: {
9132
+ },
9133
+ {
9223
9134
  type: "Control",
9224
9135
  scope: "#/properties/Copy_Event",
9225
9136
  options: {
9226
- widget: "IconButton"
9137
+ widget: "Button"
9227
9138
  },
9228
9139
  config: {
9229
9140
  main: {
9230
- icon: "FileCopyIcon",
9141
+ startIcon: "FileCopyIcon",
9231
9142
  onClick: "copyPasteElement",
9232
- styleDefault: true
9143
+ styleDefault: false,
9144
+ name: "Copy",
9145
+ size: "small"
9233
9146
  }
9234
9147
  }
9235
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"
9236
9163
  }
9237
9164
  ]
9238
9165
  }