impaktapps-ui-builder 0.0.382-alpha.313 → 0.0.382-alpha.314

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": "0.0.382-alpha.313",
3
+ "version": "0.0.382-alpha.314",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -352,13 +352,14 @@ export const PageMasterUiSchema: any = {
352
352
 
353
353
  ],
354
354
  },
355
+
355
356
  {
356
357
  type: "Control",
357
358
  scope: "#/properties/popUpPageMasterEvent",
358
- options:{
359
+ options: {
359
360
  widget: "PopUp"
360
361
  },
361
- config:{
362
+ config: {
362
363
  layout: {
363
364
  xs: 12,
364
365
  sm: 12,
@@ -368,74 +369,159 @@ export const PageMasterUiSchema: any = {
368
369
  main: {
369
370
  },
370
371
  },
371
- elemetns:[
372
- {
373
- type: "Control",
374
- scope: "#/properties/label",
375
- options: {
376
- widget: "Box",
377
- },
378
- config: {
379
- layout: 12,
380
- main: {
381
- heading: "Are you sure you want to delete ?",
372
+ elements:
373
+ [
374
+ {
375
+ type: "Control",
376
+ scope: "#/properties/label",
377
+ options: {
378
+ widget: "Box",
379
+ },
380
+ config: {
381
+ layout: 12,
382
+ main: {
383
+ heading: "Are you sure you want to delete ?",
384
+ },
385
+ style:{
386
+ marginTop: "-40px"
387
+ }
382
388
  },
383
- style:{
384
- marginTop: "-40px"
385
- }
386
- },
387
- },
388
- {
389
- type: "Control",
390
- scope: "#/properties/EmptyBox",
391
- options: {
392
- widget: "EmptyBox",
393
- },
394
- config: {
395
- main:{},
396
- layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
397
- },
398
- },
399
- {
400
- type: "Control",
401
- scope: "#/properties/ConfirmDeleteEventButton",
402
- options: {
403
- widget: "Button",
404
389
  },
405
- config: {
406
- layout: 3,
407
- main: {
408
- name: "Yes",
409
- startIcon: "ApproveIcon",
410
- variant: "contained",
411
- color: "info",
412
- type: "text",
413
- onClick: "deleteEvent",
414
- size: "small",
390
+ {
391
+ type: "Control",
392
+ scope: "#/properties/EmptyBox",
393
+ options: {
394
+ widget: "EmptyBox",
395
+ },
396
+ config: {
397
+ main:{},
398
+ layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
415
399
  },
416
400
  },
417
- },
418
- {
419
- type: "Control",
420
- scope: "#/properties/CancelDeleteEventButton",
421
- options: {
422
- widget: "Button",
401
+ {
402
+ type: "Control",
403
+ scope: "#/properties/ConfirmDeleteEventButton",
404
+ options: {
405
+ widget: "Button",
406
+ },
407
+ config: {
408
+ layout: 3,
409
+ main: {
410
+ name: "Yes",
411
+ startIcon: "ApproveIcon",
412
+ variant: "contained",
413
+ color: "info",
414
+ type: "text",
415
+ onClick: "deleteEvent",
416
+ size: "small",
417
+ },
418
+ },
423
419
  },
424
- config: {
425
- layout: 3,
426
- main: {
427
- name: "Yes",
428
- startIcon: "ApproveIcon",
429
- variant: "contained",
430
- color: "info",
431
- type: "text",
432
- onClick: "deletePopUpEvent",
433
- size: "small",
420
+ {
421
+ type: "Control",
422
+ scope: "#/properties/CancelDeleteEventButton",
423
+ options: {
424
+ widget: "Button",
425
+ },
426
+ config: {
427
+ layout: 3,
428
+ main: {
429
+ name: "No",
430
+ startIcon: "ApproveIcon",
431
+ variant: "contained",
432
+ color: "info",
433
+ type: "text",
434
+ onClick: "deletePopUpEvent",
435
+ size: "small",
436
+ },
434
437
  },
435
438
  },
436
- },
437
- ]
438
- },
439
+ ]
440
+ },
441
+ // {
442
+ // type: "Control",
443
+ // scope: "#/properties/popUpPageMasterEvent",
444
+ // options:{
445
+ // widget: "PopUp"
446
+ // },
447
+ // config:{
448
+ // layout: {
449
+ // xs: 12,
450
+ // sm: 12,
451
+ // md: 12,
452
+ // lg: 12,
453
+ // },
454
+ // main: {
455
+ // },
456
+ // },
457
+ // elemetns:[
458
+ // {
459
+ // type: "Control",
460
+ // scope: "#/properties/label",
461
+ // options: {
462
+ // widget: "Box",
463
+ // },
464
+ // config: {
465
+ // layout: 12,
466
+ // main: {
467
+ // heading: "Are you sure you want to delete ?",
468
+ // },
469
+ // style:{
470
+ // marginTop: "-40px"
471
+ // }
472
+ // },
473
+ // },
474
+ // {
475
+ // type: "Control",
476
+ // scope: "#/properties/EmptyBox",
477
+ // options: {
478
+ // widget: "EmptyBox",
479
+ // },
480
+ // config: {
481
+ // main:{},
482
+ // layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
483
+ // },
484
+ // },
485
+ // {
486
+ // type: "Control",
487
+ // scope: "#/properties/ConfirmDeleteEventButton",
488
+ // options: {
489
+ // widget: "Button",
490
+ // },
491
+ // config: {
492
+ // layout: 3,
493
+ // main: {
494
+ // name: "Yes",
495
+ // startIcon: "ApproveIcon",
496
+ // variant: "contained",
497
+ // color: "info",
498
+ // type: "text",
499
+ // onClick: "deleteEvent",
500
+ // size: "small",
501
+ // },
502
+ // },
503
+ // },
504
+ // {
505
+ // type: "Control",
506
+ // scope: "#/properties/CancelDeleteEventButton",
507
+ // options: {
508
+ // widget: "Button",
509
+ // },
510
+ // config: {
511
+ // layout: 3,
512
+ // main: {
513
+ // name: "Yes",
514
+ // startIcon: "ApproveIcon",
515
+ // variant: "contained",
516
+ // color: "info",
517
+ // type: "text",
518
+ // onClick: "deletePopUpEvent",
519
+ // size: "small",
520
+ // },
521
+ // },
522
+ // },
523
+ // ]
524
+ // },
439
525
 
440
526
 
441
527
 
@@ -84,6 +84,7 @@ export default (funcParams: funcParamsProps) => {
84
84
  store.updateDialog("popUpPageMasterEvent");
85
85
  },
86
86
  deletePopUpComponent: function(){
87
+ const rowId = dynamicData.path.split(".")[1];
87
88
  store.updateDialog("popUpPageMasterComponent");
88
89
  },
89
90
  deletePopUpEvent: function(){