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.
@@ -174,7 +174,57 @@ export const PageMasterUiSchema: any = (theme) => {
174
174
  disableAction: true,
175
175
  disableSelection: true,
176
176
  enableDrag: true,
177
- }
177
+ },
178
+ action: [
179
+ {
180
+ type: "Control",
181
+ scope: "#/properties/RejectButton",
182
+ options: {
183
+ widget: "Button",
184
+ },
185
+ config: {
186
+ main: {
187
+ size: "small",
188
+ startIcon: "EditIcon",
189
+ onClick: "Edit_Components",
190
+ tooltipMessage: "Edit This Record",
191
+ name: "Edit"
192
+ },
193
+ },
194
+ },
195
+ {
196
+ type: "Control",
197
+ scope: "#/properties/RejectButton",
198
+ options: {
199
+ widget: "Button",
200
+ },
201
+ config: {
202
+ main: {
203
+ size: "small",
204
+ startIcon: "Bin",
205
+ onClick: "deletePopUpComponent",
206
+ tooltipMessage: "Reject This Record",
207
+ name: "Delete"
208
+ },
209
+ },
210
+ },
211
+ {
212
+ type: "Control",
213
+ scope: "#/properties/Copy_Component",
214
+ options: {
215
+ widget: "Button",
216
+ },
217
+ config: {
218
+ main: {
219
+ size: "small",
220
+ startIcon: "FileCopyIcon",
221
+ onClick: "copyPasteElement",
222
+ styleDefault: false,
223
+ name: "Copy"
224
+ },
225
+ },
226
+ },
227
+ ]
178
228
  },
179
229
  elements: [
180
230
  {
@@ -189,6 +239,7 @@ export const PageMasterUiSchema: any = (theme) => {
189
239
  size: 300,
190
240
  type: "string"
191
241
  },
242
+
192
243
  {
193
244
  header: "Edit",
194
245
  field: "Reject_Records",
@@ -215,51 +266,7 @@ export const PageMasterUiSchema: any = (theme) => {
215
266
  },
216
267
  },
217
268
  },
218
- {
219
- header: "Delete",
220
- field: "Reject_Records",
221
- size: 150,
222
- type: "action",
223
- widget: {
224
- type: "Control",
225
- scope: "#/properties/RejectButton",
226
- options: {
227
- widget: "IconButton",
228
- },
229
- config: {
230
- main: {
231
- icon: "Bin",
232
- onClick: "deletePopUpComponent",
233
- tooltipMessage: "Reject This Record",
234
- },
235
- style: {
236
- fill: theme.palette.primary.main,
237
- "& :hover": {
238
- fill: theme.palette.primary.dark,
239
- },
240
- },
241
- },
242
- },
243
- },
244
- {
245
- header: "Copy",
246
- field: "Copy_Component",
247
- flex: 1,
248
- widget: {
249
- type: "Control",
250
- scope: "#/properties/Copy_Component",
251
- options: {
252
- widget: "IconButton",
253
- },
254
- config: {
255
- main: {
256
- icon: "FileCopyIcon",
257
- onClick: "copyPasteElement",
258
- styleDefault: true,
259
- },
260
- },
261
- },
262
- },
269
+
263
270
  ]
264
271
  },
265
272
  {
@@ -336,93 +343,70 @@ export const PageMasterUiSchema: any = (theme) => {
336
343
  enableDrag: true,
337
344
 
338
345
  },
339
- },
340
- elements: [
341
-
342
- {
343
- accessorKey: "eventType",
344
- header: "Event's Type",
345
- size: 300,
346
- type: "string"
347
- },
348
- {
349
- accessorKey: "Handler",
350
- header: "Handler",
351
- size: 200,
352
- type: "string"
353
- },
354
- {
355
- accessorKey: "Edit_Approve_Records",
356
- header: "Edit",
357
- type: "action",
358
- size: 150,
359
- widget: {
346
+ action: [
347
+ {
360
348
  type: "Control",
361
349
  scope: "#/properties/Edit_Records",
362
350
  options: {
363
- widget: "IconButton",
351
+ widget: "Button",
364
352
  },
365
353
  config: {
366
354
  main: {
367
355
  size: "small",
368
- icon: "TableEditIcon",
356
+ startIcon: "EditIcon",
369
357
  tooltipMessage: "Edit This Record",
370
358
  onClick: "editEvent",
371
- },
372
- style: {
373
- fill: theme.palette.primary.main,
374
- "& :hover": {
375
- fill: theme.palette.primary.dark,
376
- },
359
+ name: "Edit"
377
360
  },
378
361
  },
379
362
  },
380
- },
381
- {
382
- accessorKey: "Reject_Records",
383
- header: "Delete",
384
- type: "action",
385
- size: 150,
386
- widget: {
363
+ {
387
364
  type: "Control",
388
365
  scope: "#/properties/RejectButton",
389
366
  options: {
390
- widget: "IconButton",
367
+ widget: "Button",
391
368
  },
392
369
  config: {
393
370
  main: {
394
- icon: "Bin",
371
+ size: "small",
372
+ startIcon: "Bin",
395
373
  tooltipMessage: "Reject This Record",
396
374
  onClick: "deletePopUpEvent",
397
- },
398
- style: {
399
- fill: theme.palette.primary.main,
400
- "& :hover": {
401
- fill: theme.palette.primary.dark,
402
- },
375
+ name: "Delete"
403
376
  },
404
377
  },
405
378
  },
406
- },
407
- {
408
- header: "Copy",
409
- field: "Copy_Event",
410
- type: "action",
411
- size: 150,
412
- widget: {
379
+ {
413
380
  type: "Control",
414
381
  scope: "#/properties/Copy_Event",
415
382
  options: {
416
- widget: "IconButton",
383
+ widget: "Button",
417
384
  },
418
385
  config: {
419
386
  main: {
420
- icon: "FileCopyIcon",
387
+ size: "small",
388
+ startIcon: "FileCopyIcon",
421
389
  onClick: "copyPasteElement",
422
390
  styleDefault: true,
391
+ name: "Copy"
423
392
  },
424
393
  },
425
394
  },
395
+ ]
396
+ },
397
+ elements: [
398
+
399
+ {
400
+ accessorKey: "eventType",
401
+ header: "Event's Type",
402
+ size: 300,
403
+ type: "string"
404
+ },
405
+ {
406
+ accessorKey: "Handler",
407
+ header: "Handler",
408
+ size: 200,
409
+ type: "string"
426
410
  },
427
411
  ]
428
412
  },
@@ -145,94 +145,70 @@ export const EventUiSchema: any = (theme) => {
145
145
  enableDrag: true,
146
146
 
147
147
  },
148
- },
149
- elements: [
150
-
151
- {
152
- accessorKey: "eventType",
153
- header: "Event's Type",
154
- size: 300,
155
- type: "string"
156
- },
157
- {
158
- accessorKey: "Handler",
159
- header: "Handler",
160
- size: 200,
161
- type: "string"
162
- },
163
- {
164
- accessorKey: "Edit_Approve_Records",
165
- header: "Edit",
166
- type: "action",
167
- size: 150,
168
- widget: {
148
+ action: [
149
+ {
169
150
  type: "Control",
170
151
  scope: "#/properties/Edit_Records",
171
152
  options: {
172
- widget: "IconButton",
153
+ widget: "Button",
173
154
  },
174
155
  config: {
175
156
  main: {
176
157
  size: "small",
177
- icon: "TableEditIcon",
158
+ startIcon: "EditIcon",
178
159
  tooltipMessage: "Edit This Record",
179
160
  onClick: "editEvent",
180
- },
181
- style: {
182
- fill: theme.palette.primary.main,
183
- "& :hover": {
184
- fill: theme.palette.primary.dark,
185
- },
161
+ name: "Edit"
186
162
  },
187
163
  },
188
164
  },
189
- },
190
- {
191
- accessorKey: "Reject_Records",
192
- header: "Delete",
193
- type: "action",
194
- size: 150,
195
- widget: {
165
+ {
196
166
  type: "Control",
197
167
  scope: "#/properties/RejectButton",
198
168
  options: {
199
- widget: "IconButton",
169
+ widget: "Button",
200
170
  },
201
171
  config: {
202
172
  main: {
203
- icon: "Bin",
173
+ startIcon: "Bin",
204
174
  tooltipMessage: "Reject This Record",
205
175
  onClick: "deletePopUpEvent",
206
- },
207
- style: {
208
- fill: theme.palette.primary.main,
209
- "& :hover": {
210
- fill: theme.palette.primary.dark,
211
- },
176
+ name: "Delete",
177
+ size: "small"
212
178
  },
213
179
  },
214
180
  },
215
- },
216
-
217
- {
218
- header: "Copy",
219
- field: "Copy_Event",
220
- type: "action",
221
- size: 150,
222
- widget: {
181
+ {
223
182
  type: "Control",
224
183
  scope: "#/properties/Copy_Event",
225
184
  options: {
226
- widget: "IconButton",
185
+ widget: "Button",
227
186
  },
228
187
  config: {
229
188
  main: {
230
- icon: "FileCopyIcon",
189
+ startIcon: "FileCopyIcon",
231
190
  onClick: "copyPasteElement",
232
- styleDefault: true,
191
+ styleDefault: false,
192
+ name: "Copy",
193
+ size: "small"
233
194
  },
234
195
  },
235
196
  },
197
+ ]
198
+ },
199
+ elements: [
200
+
201
+ {
202
+ accessorKey: "eventType",
203
+ header: "Event's Type",
204
+ size: 300,
205
+ type: "string"
206
+ },
207
+ {
208
+ accessorKey: "Handler",
209
+ header: "Handler",
210
+ size: 200,
211
+ type: "string"
236
212
  },
237
213
  ]
238
214
  }