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

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "1.0.67-alpha.2",
3
+ "version": "1.0.67-alpha.4",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -212,7 +212,7 @@ export const PageMasterUiSchema: any = (theme) => {
212
212
  type: "Control",
213
213
  scope: "#/properties/Copy_Component",
214
214
  options: {
215
- widget: "IconButton",
215
+ widget: "Button",
216
216
  },
217
217
  config: {
218
218
  main: {
@@ -315,93 +315,70 @@ export const PageMasterUiSchema: any = (theme) => {
315
315
  enableDrag: true,
316
316
 
317
317
  },
318
- },
319
- elements: [
320
-
321
- {
322
- accessorKey: "eventType",
323
- header: "Event's Type",
324
- size: 300,
325
- type: "string"
326
- },
327
- {
328
- accessorKey: "Handler",
329
- header: "Handler",
330
- size: 200,
331
- type: "string"
332
- },
333
- {
334
- accessorKey: "Edit_Approve_Records",
335
- header: "Edit",
336
- type: "action",
337
- size: 150,
338
- widget: {
318
+ action: [
319
+ {
339
320
  type: "Control",
340
321
  scope: "#/properties/Edit_Records",
341
322
  options: {
342
- widget: "IconButton",
323
+ widget: "Button",
343
324
  },
344
325
  config: {
345
326
  main: {
346
327
  size: "small",
347
- icon: "TableEditIcon",
328
+ startIcon: "TableEditIcon",
348
329
  tooltipMessage: "Edit This Record",
349
330
  onClick: "editEvent",
350
- },
351
- style: {
352
- fill: theme.palette.primary.main,
353
- "& :hover": {
354
- fill: theme.palette.primary.dark,
355
- },
331
+ name: "Edit"
356
332
  },
357
333
  },
358
334
  },
359
- },
360
- {
361
- accessorKey: "Reject_Records",
362
- header: "Delete",
363
- type: "action",
364
- size: 150,
365
- widget: {
335
+ {
366
336
  type: "Control",
367
337
  scope: "#/properties/RejectButton",
368
338
  options: {
369
- widget: "IconButton",
339
+ widget: "Button",
370
340
  },
371
341
  config: {
372
342
  main: {
373
- icon: "Bin",
343
+ size: "small",
344
+ startIcon: "Bin",
374
345
  tooltipMessage: "Reject This Record",
375
346
  onClick: "deletePopUpEvent",
376
- },
377
- style: {
378
- fill: theme.palette.primary.main,
379
- "& :hover": {
380
- fill: theme.palette.primary.dark,
381
- },
347
+ name: "Delete"
382
348
  },
383
349
  },
384
350
  },
385
- },
386
- {
387
- header: "Copy",
388
- field: "Copy_Event",
389
- type: "action",
390
- size: 150,
391
- widget: {
351
+ {
392
352
  type: "Control",
393
353
  scope: "#/properties/Copy_Event",
394
354
  options: {
395
- widget: "IconButton",
355
+ widget: "Button",
396
356
  },
397
357
  config: {
398
358
  main: {
399
- icon: "FileCopyIcon",
359
+ size: "small",
360
+ startIcon: "FileCopyIcon",
400
361
  onClick: "copyPasteElement",
401
362
  styleDefault: true,
363
+ name: "Copy"
402
364
  },
403
365
  },
404
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"
405
382
  },
406
383
  ]
407
384
  },