impaktapps-ui-builder 0.0.56-alpha.9 → 0.0.57

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.
Files changed (23) hide show
  1. package/dist/impaktapps-ui-builder.es.js +76 -101
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +4 -4
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +1 -1
  6. package/package.json +1 -1
  7. package/src/impaktapps-ui-builder/builder/build/buildDate.ts +1 -1
  8. package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +10 -10
  9. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +2 -2
  10. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +3 -3
  11. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +11 -11
  12. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -3
  13. package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +25 -25
  14. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +3 -3
  15. package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +3 -3
  16. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +3 -3
  17. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +11 -12
  18. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +11 -18
  19. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +16 -7
  20. package/src/impaktapps-ui-builder/builder/services/component.ts +6 -7
  21. package/src/impaktapps-ui-builder/builder/services/event.ts +3 -29
  22. package/src/impaktapps-ui-builder/runtime/services/events.ts +2 -1
  23. package/src/impaktapps-ui-builder/runtime/services/service.ts +3 -5
@@ -66,7 +66,7 @@ const PageMasterUiSchema = (theme) => {
66
66
  widget: "InputField"
67
67
  },
68
68
  config: {
69
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
69
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
70
70
  main: {
71
71
  label: "Name",
72
72
  options: [],
@@ -84,7 +84,7 @@ const PageMasterUiSchema = (theme) => {
84
84
  widget: "SelectInputField"
85
85
  },
86
86
  config: {
87
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
87
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
88
88
  main: {
89
89
  label: "Template",
90
90
  options: [
@@ -104,7 +104,7 @@ const PageMasterUiSchema = (theme) => {
104
104
  widget: "InputField"
105
105
  },
106
106
  config: {
107
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
107
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
108
108
  main: {
109
109
  label: "Label",
110
110
  options: [],
@@ -112,16 +112,6 @@ const PageMasterUiSchema = (theme) => {
112
112
  required: true
113
113
  }
114
114
  }
115
- },
116
- {
117
- type: "Control",
118
- scope: "#/properties/EmptyBox",
119
- config: {
120
- layout: { xs: 6, sm: 6, md: 0, lg: 0 }
121
- },
122
- options: {
123
- widget: "EmptyBox"
124
- }
125
115
  }
126
116
  ]
127
117
  },
@@ -327,7 +317,7 @@ const PageMasterUiSchema = (theme) => {
327
317
  widget: "EmptyBox"
328
318
  },
329
319
  config: {
330
- layout: { xs: 8, sm: 10 }
320
+ layout: { xs: 0, sm: 8, md: 8, lg: 8 }
331
321
  }
332
322
  },
333
323
  {
@@ -337,7 +327,7 @@ const PageMasterUiSchema = (theme) => {
337
327
  widget: "Button"
338
328
  },
339
329
  config: {
340
- layout: { xs: 4, sm: 2 },
330
+ layout: 11.9,
341
331
  main: {
342
332
  name: "Save",
343
333
  startIcon: "ApproveIcon",
@@ -345,6 +335,10 @@ const PageMasterUiSchema = (theme) => {
345
335
  type: "text",
346
336
  onClick: "saveHandler",
347
337
  size: "medium"
338
+ },
339
+ style: {
340
+ width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
341
+ float: "right"
348
342
  }
349
343
  }
350
344
  },
@@ -598,7 +592,7 @@ const PageMasterUiSchema = (theme) => {
598
592
  height: 0,
599
593
  margin: 0,
600
594
  top: 0,
601
- right: { xs: "12px", sm: "84px" },
595
+ right: "82px",
602
596
  position: "absolute",
603
597
  fontSize: "12px",
604
598
  cursor: "pointer",
@@ -620,7 +614,6 @@ const PageMasterUiSchema = (theme) => {
620
614
  onClick: "backHandler"
621
615
  },
622
616
  style: {
623
- display: { xs: "none", sm: "flex" },
624
617
  textAlign: "left",
625
618
  lineHeight: 1,
626
619
  height: 0,
@@ -6433,7 +6426,7 @@ const componentBasicUiSchema = (theme) => {
6433
6426
  widget: "SelectInputField"
6434
6427
  },
6435
6428
  config: {
6436
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6429
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6437
6430
  main: {
6438
6431
  label: "Type"
6439
6432
  }
@@ -6446,7 +6439,7 @@ const componentBasicUiSchema = (theme) => {
6446
6439
  widget: "InputField"
6447
6440
  },
6448
6441
  config: {
6449
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6442
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6450
6443
  main: {
6451
6444
  label: "Name",
6452
6445
  options: [],
@@ -6462,7 +6455,7 @@ const componentBasicUiSchema = (theme) => {
6462
6455
  widget: "InputField"
6463
6456
  },
6464
6457
  config: {
6465
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6458
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6466
6459
  main: {
6467
6460
  label: "Label",
6468
6461
  options: [],
@@ -6478,7 +6471,7 @@ const componentBasicUiSchema = (theme) => {
6478
6471
  widget: "SelectInputField"
6479
6472
  },
6480
6473
  config: {
6481
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6474
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6482
6475
  main: {
6483
6476
  label: "Column Format"
6484
6477
  }
@@ -6488,7 +6481,7 @@ const componentBasicUiSchema = (theme) => {
6488
6481
  type: "Control",
6489
6482
  scope: "#/properties/proc",
6490
6483
  config: {
6491
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6484
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6492
6485
  },
6493
6486
  options: {
6494
6487
  widget: "EmptyBox"
@@ -6498,7 +6491,7 @@ const componentBasicUiSchema = (theme) => {
6498
6491
  type: "Control",
6499
6492
  scope: "#/properties/proc",
6500
6493
  config: {
6501
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6494
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6502
6495
  },
6503
6496
  options: {
6504
6497
  widget: "EmptyBox"
@@ -6519,7 +6512,7 @@ const componentBasicUiSchema = (theme) => {
6519
6512
  widget: "SelectInputField"
6520
6513
  },
6521
6514
  config: {
6522
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6515
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6523
6516
  main: {
6524
6517
  label: "Screen Size"
6525
6518
  }
@@ -6532,7 +6525,7 @@ const componentBasicUiSchema = (theme) => {
6532
6525
  widget: "InputField"
6533
6526
  },
6534
6527
  config: {
6535
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6528
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6536
6529
  main: {
6537
6530
  label: "Value",
6538
6531
  type: "number",
@@ -6545,7 +6538,7 @@ const componentBasicUiSchema = (theme) => {
6545
6538
  type: "Control",
6546
6539
  scope: "#/properties/proc",
6547
6540
  config: {
6548
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6541
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6549
6542
  },
6550
6543
  options: {
6551
6544
  widget: "EmptyBox"
@@ -6871,7 +6864,7 @@ const componentBasicUiSchema = (theme) => {
6871
6864
  height: 0,
6872
6865
  margin: 0,
6873
6866
  top: 0,
6874
- right: { xs: "12px", sm: "84px" },
6867
+ right: "90px",
6875
6868
  position: "absolute",
6876
6869
  fontSize: "12px",
6877
6870
  cursor: "pointer",
@@ -6893,7 +6886,6 @@ const componentBasicUiSchema = (theme) => {
6893
6886
  onClick: "backHandler"
6894
6887
  },
6895
6888
  style: {
6896
- display: { xs: "none", sm: "flex" },
6897
6889
  textAlign: "left",
6898
6890
  lineHeight: 1,
6899
6891
  height: 0,
@@ -6904,7 +6896,7 @@ const componentBasicUiSchema = (theme) => {
6904
6896
  marginLeft: "2px",
6905
6897
  marginRight: 0,
6906
6898
  top: 3,
6907
- right: "12px",
6899
+ right: "20px",
6908
6900
  position: "absolute",
6909
6901
  ":hover": {
6910
6902
  color: theme.palette.primary.dark
@@ -6928,7 +6920,7 @@ const CoreSection = {
6928
6920
  widget: "SelectInputField"
6929
6921
  },
6930
6922
  config: {
6931
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6923
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6932
6924
  main: {
6933
6925
  label: "Type",
6934
6926
  type: "text"
@@ -6942,7 +6934,7 @@ const CoreSection = {
6942
6934
  widget: "InputField"
6943
6935
  },
6944
6936
  config: {
6945
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6937
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6946
6938
  main: {
6947
6939
  label: "Name"
6948
6940
  }
@@ -6955,7 +6947,7 @@ const CoreSection = {
6955
6947
  widget: "InputField"
6956
6948
  },
6957
6949
  config: {
6958
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6950
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6959
6951
  main: {
6960
6952
  label: "Label"
6961
6953
  }
@@ -6968,7 +6960,7 @@ const CoreSection = {
6968
6960
  widget: "SelectInputField"
6969
6961
  },
6970
6962
  config: {
6971
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6963
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6972
6964
  main: {
6973
6965
  label: "Column Format"
6974
6966
  }
@@ -6978,7 +6970,7 @@ const CoreSection = {
6978
6970
  type: "Control",
6979
6971
  scope: "#/properties/proc",
6980
6972
  config: {
6981
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6973
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6982
6974
  },
6983
6975
  options: {
6984
6976
  widget: "EmptyBox"
@@ -6988,7 +6980,7 @@ const CoreSection = {
6988
6980
  type: "Control",
6989
6981
  scope: "#/properties/proc",
6990
6982
  config: {
6991
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6983
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6992
6984
  },
6993
6985
  options: {
6994
6986
  widget: "EmptyBox"
@@ -7010,7 +7002,7 @@ const CoreSection = {
7010
7002
  widget: "SelectInputField"
7011
7003
  },
7012
7004
  config: {
7013
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7005
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7014
7006
  main: {
7015
7007
  label: "Screen Size"
7016
7008
  }
@@ -7023,7 +7015,7 @@ const CoreSection = {
7023
7015
  widget: "InputField"
7024
7016
  },
7025
7017
  config: {
7026
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7018
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7027
7019
  main: {
7028
7020
  label: "Value",
7029
7021
  type: "number",
@@ -7036,7 +7028,7 @@ const CoreSection = {
7036
7028
  type: "Control",
7037
7029
  scope: "#/properties/proc",
7038
7030
  config: {
7039
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7031
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
7040
7032
  },
7041
7033
  options: {
7042
7034
  widget: "EmptyBox"
@@ -7271,7 +7263,7 @@ const getRadioInputField = (scope, label, options) => {
7271
7263
  widget: "RadioInputField"
7272
7264
  },
7273
7265
  config: {
7274
- layout: { xs: 12, sm: 6, md: 4, lg: 4 },
7266
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7275
7267
  main: {
7276
7268
  label,
7277
7269
  options
@@ -7334,7 +7326,7 @@ const getSelectField = (scope, label, options) => {
7334
7326
  widget: "SelectInputField"
7335
7327
  },
7336
7328
  config: {
7337
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7329
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7338
7330
  main: {
7339
7331
  label,
7340
7332
  type: "text"
@@ -7710,7 +7702,7 @@ const ValueTab = {
7710
7702
  widget: "InputField"
7711
7703
  },
7712
7704
  config: {
7713
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7705
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7714
7706
  main: {
7715
7707
  label: "Label"
7716
7708
  }
@@ -7723,7 +7715,7 @@ const ValueTab = {
7723
7715
  widget: "InputField"
7724
7716
  },
7725
7717
  config: {
7726
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7718
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7727
7719
  main: {
7728
7720
  label: "Value"
7729
7721
  }
@@ -7736,7 +7728,7 @@ const ValueTab = {
7736
7728
  widget: "EmptyBox"
7737
7729
  },
7738
7730
  config: {
7739
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7731
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
7740
7732
  }
7741
7733
  }
7742
7734
  ]
@@ -7764,7 +7756,7 @@ const ValidationSection = {
7764
7756
  widget: "SelectInputField"
7765
7757
  },
7766
7758
  config: {
7767
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7759
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7768
7760
  main: {
7769
7761
  label: "Validation Type"
7770
7762
  }
@@ -7777,7 +7769,7 @@ const ValidationSection = {
7777
7769
  widget: "InputField"
7778
7770
  },
7779
7771
  config: {
7780
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7772
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7781
7773
  main: {
7782
7774
  label: "Validation Value"
7783
7775
  }
@@ -7790,7 +7782,7 @@ const ValidationSection = {
7790
7782
  widget: "EmptyBox"
7791
7783
  },
7792
7784
  config: {
7793
- layout: { xs: 0, sm: 0, md: 4 }
7785
+ layout: { xs: 0, sm: 4 }
7794
7786
  }
7795
7787
  }
7796
7788
  ]
@@ -8336,7 +8328,7 @@ const EventUiSchema = (theme) => {
8336
8328
  widget: "SelectInputField"
8337
8329
  },
8338
8330
  config: {
8339
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8331
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8340
8332
  main: {
8341
8333
  label: "Event Type",
8342
8334
  type: "text"
@@ -8456,7 +8448,17 @@ const EventUiSchema = (theme) => {
8456
8448
  widget: "EmptyBox"
8457
8449
  },
8458
8450
  config: {
8459
- layout: { xs: 4, sm: 8 }
8451
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8452
+ }
8453
+ },
8454
+ {
8455
+ type: "Control",
8456
+ scope: "#/properties/EmptyBox",
8457
+ options: {
8458
+ widget: "EmptyBox"
8459
+ },
8460
+ config: {
8461
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8460
8462
  }
8461
8463
  },
8462
8464
  {
@@ -8466,7 +8468,7 @@ const EventUiSchema = (theme) => {
8466
8468
  widget: "Button"
8467
8469
  },
8468
8470
  config: {
8469
- layout: { xs: 4, sm: 2 },
8471
+ layout: 1.8,
8470
8472
  main: {
8471
8473
  name: "Ok",
8472
8474
  startIcon: "ApproveIcon",
@@ -8487,7 +8489,7 @@ const EventUiSchema = (theme) => {
8487
8489
  widget: "Button"
8488
8490
  },
8489
8491
  config: {
8490
- layout: { xs: 4, sm: 2 },
8492
+ layout: 1.8,
8491
8493
  main: {
8492
8494
  name: "Save & Exit",
8493
8495
  startIcon: "ApproveIcon",
@@ -8663,7 +8665,7 @@ const EventUiSchema = (theme) => {
8663
8665
  height: 0,
8664
8666
  margin: 0,
8665
8667
  top: 0,
8666
- right: { xs: "12px", sm: "84px" },
8668
+ right: "82px",
8667
8669
  position: "absolute",
8668
8670
  fontSize: "12px",
8669
8671
  cursor: "pointer",
@@ -8685,7 +8687,6 @@ const EventUiSchema = (theme) => {
8685
8687
  onClick: "backHandler"
8686
8688
  },
8687
8689
  style: {
8688
- display: { xs: "none", sm: "flex" },
8689
8690
  textAlign: "left",
8690
8691
  lineHeight: 1,
8691
8692
  height: 0,
@@ -8720,7 +8721,7 @@ const APISection = {
8720
8721
  widget: "SelectInputField"
8721
8722
  },
8722
8723
  config: {
8723
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8724
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8724
8725
  main: {
8725
8726
  label: "Method",
8726
8727
  type: "text"
@@ -8734,7 +8735,7 @@ const APISection = {
8734
8735
  widget: "InputField"
8735
8736
  },
8736
8737
  config: {
8737
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8738
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8738
8739
  main: {
8739
8740
  label: "Path",
8740
8741
  type: "text",
@@ -8750,7 +8751,7 @@ const APISection = {
8750
8751
  widget: "EmptyBox"
8751
8752
  },
8752
8753
  config: {
8753
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8754
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8754
8755
  }
8755
8756
  },
8756
8757
  {
@@ -8760,7 +8761,7 @@ const APISection = {
8760
8761
  widget: "EmptyBox"
8761
8762
  },
8762
8763
  config: {
8763
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8764
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8764
8765
  }
8765
8766
  },
8766
8767
  {
@@ -8779,7 +8780,7 @@ const APISection = {
8779
8780
  widget: "InputField"
8780
8781
  },
8781
8782
  config: {
8782
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8783
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8783
8784
  main: {
8784
8785
  label: "Key"
8785
8786
  }
@@ -8792,7 +8793,7 @@ const APISection = {
8792
8793
  widget: "InputField"
8793
8794
  },
8794
8795
  config: {
8795
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8796
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8796
8797
  main: {
8797
8798
  label: "Value"
8798
8799
  }
@@ -8805,7 +8806,7 @@ const APISection = {
8805
8806
  widget: "EmptyBox"
8806
8807
  },
8807
8808
  config: {
8808
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8809
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8809
8810
  }
8810
8811
  }
8811
8812
  ]
@@ -8828,7 +8829,7 @@ const APISection = {
8828
8829
  widget: "InputField"
8829
8830
  },
8830
8831
  config: {
8831
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8832
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8832
8833
  main: {
8833
8834
  label: "Key"
8834
8835
  }
@@ -8841,7 +8842,7 @@ const APISection = {
8841
8842
  widget: "InputField"
8842
8843
  },
8843
8844
  config: {
8844
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8845
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8845
8846
  main: {
8846
8847
  label: "Value"
8847
8848
  }
@@ -8854,7 +8855,7 @@ const APISection = {
8854
8855
  widget: "EmptyBox"
8855
8856
  },
8856
8857
  config: {
8857
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8858
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8858
8859
  }
8859
8860
  }
8860
8861
  ]
@@ -8882,7 +8883,7 @@ const refreshSectionUiSchema = {
8882
8883
  widget: "InputField"
8883
8884
  },
8884
8885
  config: {
8885
- layout: { xs: 12, sm: 6, md: 4, lg: 4 },
8886
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8886
8887
  main: {
8887
8888
  label: "Value"
8888
8889
  }
@@ -8895,7 +8896,7 @@ const refreshSectionUiSchema = {
8895
8896
  widget: "EmptyBox"
8896
8897
  },
8897
8898
  config: {
8898
- layout: { xs: 0, sm: 6, md: 4, lg: 4 },
8899
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
8899
8900
  main: {}
8900
8901
  }
8901
8902
  },
@@ -8906,7 +8907,7 @@ const refreshSectionUiSchema = {
8906
8907
  widget: "EmptyBox"
8907
8908
  },
8908
8909
  config: {
8909
- layout: { xs: 0, sm: 0, md: 4, lg: 4 },
8910
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
8910
8911
  main: {}
8911
8912
  }
8912
8913
  }
@@ -8931,19 +8932,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8931
8932
  if (handlerType) {
8932
8933
  if (handlerType === "custom") {
8933
8934
  uiSchema.elements[1].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
8934
- uiSchema.elements[1].elements[0].elements[3] = {
8935
- type: "Control",
8936
- scope: "#/properties/emptyBox",
8937
- options: {
8938
- widget: "EmptyBox"
8939
- },
8940
- config: {
8941
- layout: { xs: 0, sm: 6, md: 0, lg: 0 },
8942
- main: {},
8943
- style: {}
8944
- }
8945
- };
8946
- uiSchema.elements[1].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
8935
+ uiSchema.elements[1].elements[0].elements[3] = getTextArea("eventCode", "Write Custom Code", false);
8947
8936
  schema2.required = ["eventType", "Handler", "eventCode"];
8948
8937
  } else if (handlerType === "api") {
8949
8938
  uiSchema.elements[1].elements[0].elements[2] = emptyBox;
@@ -8951,19 +8940,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8951
8940
  schema2.required = ["eventType", "Handler", "method", "path"];
8952
8941
  } else if (handlerType === "inBuiltFunction") {
8953
8942
  uiSchema.elements[1].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
8954
- uiSchema.elements[1].elements[0].elements[3] = {
8955
- type: "Control",
8956
- scope: "#/properties/emptyBox",
8957
- options: {
8958
- widget: "EmptyBox"
8959
- },
8960
- config: {
8961
- layout: { xs: 6, sm: 6, md: 0, lg: 0 },
8962
- main: {},
8963
- style: {}
8964
- }
8965
- };
8966
- uiSchema.elements[1].elements[0].elements[4] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
8943
+ uiSchema.elements[1].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
8967
8944
  schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
8968
8945
  } else if (handlerType === "refresh") {
8969
8946
  uiSchema.elements[1].elements[0].elements[2] = emptyBox;
@@ -9201,16 +9178,15 @@ function executeCustomHandler(params) {
9201
9178
  }
9202
9179
  }
9203
9180
  function mergeFormdata(handlerResponse, componentName, eventConfig, store2, service2, formDataHolder2) {
9204
- var _a;
9205
9181
  if (eventConfig.type === "Select" && !(_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data) && (handlerResponse == null ? void 0 : handlerResponse.data))) {
9206
9182
  store2.setSchema((pre) => {
9207
- var _a2;
9183
+ var _a;
9208
9184
  return {
9209
9185
  ...pre,
9210
9186
  properties: {
9211
9187
  ...pre.properties,
9212
9188
  [componentName]: {
9213
- ...(_a2 = pre.properties) == null ? void 0 : _a2[componentName],
9189
+ ...(_a = pre.properties) == null ? void 0 : _a[componentName],
9214
9190
  oneOf: handlerResponse.data
9215
9191
  }
9216
9192
  }
@@ -9218,13 +9194,13 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
9218
9194
  });
9219
9195
  } else if (eventConfig.type === "MultipleSelect" && !(_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data) && (handlerResponse == null ? void 0 : handlerResponse.data))) {
9220
9196
  store2.setSchema((pre) => {
9221
- var _a2;
9197
+ var _a;
9222
9198
  return {
9223
9199
  ...pre,
9224
9200
  properties: {
9225
9201
  ...pre.properties,
9226
9202
  [componentName]: {
9227
- ...(_a2 = pre.properties) == null ? void 0 : _a2[componentName],
9203
+ ...(_a = pre.properties) == null ? void 0 : _a[componentName],
9228
9204
  type: "array",
9229
9205
  items: {
9230
9206
  oneOf: handlerResponse == null ? void 0 : handlerResponse.data
@@ -9245,7 +9221,7 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
9245
9221
  }
9246
9222
  } else {
9247
9223
  if (handlerResponse) {
9248
- formDataHolder2[componentName] = eventConfig.lazyLoading ? (_a = handlerResponse == null ? void 0 : handlerResponse.data) == null ? void 0 : _a.data : handlerResponse.data;
9224
+ formDataHolder2[componentName] = handlerResponse.data;
9249
9225
  store2.setFormdata((pre) => {
9250
9226
  return { ...pre, ...formDataHolder2 };
9251
9227
  });
@@ -9481,7 +9457,7 @@ var service = (funcParams) => {
9481
9457
  height: 0,
9482
9458
  margin: 0,
9483
9459
  top: 0,
9484
- right: { xs: "12px", sm: "84px" },
9460
+ right: "82px",
9485
9461
  position: "absolute",
9486
9462
  fontSize: "12px",
9487
9463
  cursor: "pointer",
@@ -9503,7 +9479,6 @@ var service = (funcParams) => {
9503
9479
  onClick: "backHandler"
9504
9480
  },
9505
9481
  style: {
9506
- display: { xs: "none", sm: "flex" },
9507
9482
  textAlign: "left",
9508
9483
  lineHeight: 1,
9509
9484
  height: 0,
@@ -9537,7 +9512,8 @@ var service = (funcParams) => {
9537
9512
  service: funcParams.service,
9538
9513
  functionsProvider: funcParams.functionsProvider,
9539
9514
  serviceHolder: this,
9540
- eventGroups
9515
+ eventGroups,
9516
+ formDataHolder
9541
9517
  };
9542
9518
  await executeRefreshHandler({
9543
9519
  config: {},
@@ -9692,7 +9668,6 @@ var service = (funcParams) => {
9692
9668
  },
9693
9669
  callHandler: async function(eventType, functionParameters) {
9694
9670
  var _a, _b, _c;
9695
- formDataHolder = {};
9696
9671
  const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || funcParams.dynamicData.path.split(".")[0];
9697
9672
  if (((_b = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _b[path]) !== void 0) {
9698
9673
  Promise.all((_c = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _c[path].map((eventConfig) => {