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