impaktapps-ui-builder 0.0.382-alpha.202 → 0.0.382-alpha.203

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.
@@ -57,5 +57,6 @@ declare const _default: (funcParams: funcParamsProps) => {
57
57
  deleteEvent: () => void;
58
58
  deletePopUpEvent: () => void;
59
59
  deletePopUpComponent: () => void;
60
+ testDelComp: () => void;
60
61
  };
61
62
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.382-alpha.202",
3
+ "version": "0.0.382-alpha.203",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -275,7 +275,7 @@ export const PageMasterUiSchema: any = {
275
275
  variant: "contained",
276
276
  color: "info",
277
277
  type: "text",
278
- onClick: "Delete_Components",
278
+ onClick: "testDelComp",
279
279
  size: "small",
280
280
  },
281
281
  style: {
@@ -299,9 +299,11 @@ export const PageMasterUiSchema: any = {
299
299
  variant: "contained",
300
300
  color: "info",
301
301
  type: "text",
302
- onClick: "Delete_Components",
302
+ onClick: "testDelComp",
303
+ // Delete_Components
303
304
  size: "small",
304
305
  },
306
+
305
307
  style: {
306
308
  marginBottom: "8px",
307
309
  width:{xs:"100%",sm:"100%",md:"25%",lg:"20%"},
@@ -381,7 +383,6 @@ export const PageMasterUiSchema: any = {
381
383
  },
382
384
  },
383
385
  elements: [
384
-
385
386
  {
386
387
  accessorKey: "eventType",
387
388
  header: "Event Type",
@@ -427,97 +428,14 @@ export const PageMasterUiSchema: any = {
427
428
  icon: "RejectIcon",
428
429
  color: "error",
429
430
  tooltipMessage: "Reject This Record",
430
- onClick: "deletePopUpEvent",
431
+ onClick: "deleteEvent",
432
+ size: "small",
433
+ },
434
+ style: {
435
+ marginBottom: "8px",
436
+ width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
437
+ float: "right",
431
438
  },
432
- },
433
- },
434
- },
435
- ],
436
-
437
- },
438
- {
439
- type: "Control",
440
- scope: "#/properties/popUpEvent",
441
- options:{
442
- widget: "popUp"
443
- },
444
- config:{
445
- layout: {
446
- xs: 12,
447
- sm: 12,
448
- md: 12,
449
- lg: 12,
450
- },
451
- main: {
452
- label: "PopUpEvent",
453
- fullScreen:false,
454
- fullWidth:false,
455
- maxWidth:false,
456
- alignItems:false,
457
- spacing:2
458
- },
459
- },
460
- elements:
461
- [
462
- {
463
- type: "Control",
464
- scope: "#/properties/pageMaster",
465
-
466
- options: {
467
- widget: "Box",
468
- },
469
- config: {
470
- layout: 8,
471
- main: {
472
- heading: "Are you sure",
473
- },
474
- },
475
- },
476
- {
477
- type: "Control",
478
- scope: "#/properties/ConfirmDeleteButton2",
479
- options: {
480
- widget: "Button",
481
- },
482
- config: {
483
- // layout: 11.7,
484
- main: {
485
- name: "No",
486
- startIcon: "ApproveIcon",
487
- variant: "contained",
488
- color: "info",
489
- type: "text",
490
- onClick: "deleteEvent",
491
- size: "small",
492
- },
493
- style: {
494
- marginBottom: "8px",
495
- width:{xs:"100%",sm:"100%",md:"25%",lg:"20%"},
496
- float: "left",
497
- },
498
- },
499
- },
500
- {
501
- type: "Control",
502
- scope: "#/properties/CancelDeleteButton2",
503
- options: {
504
- widget: "Button",
505
- },
506
- config: {
507
- // layout: 11.7,
508
- main: {
509
- name: "Yes",
510
- startIcon: "ApproveIcon",
511
- variant: "contained",
512
- color: "info",
513
- type: "text",
514
- onClick: "deleteEvent",
515
- size: "small",
516
- },
517
- style: {
518
- marginBottom: "8px",
519
- width:{xs:"100%",sm:"100%",md:"25%",lg:"20%"},
520
- float: "right",
521
439
  },
522
440
  },
523
441
  },
@@ -84,6 +84,10 @@ export default (funcParams: funcParamsProps) => {
84
84
  },
85
85
  deletePopUpComponent: function(){
86
86
  store.updateDialog("popUpComponent");
87
+ },
88
+
89
+ testDelComp: function(){
90
+ console.log("yes fun called");
87
91
  }
88
92
  }
89
93
  };