impaktapps-ui-builder 0.0.592 → 0.0.595

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 (33) hide show
  1. package/dist/impaktapps-ui-builder.es.js +256 -329
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +12 -12
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildCard.d.ts +1 -1
  6. package/dist/src/impaktapps-ui-builder/builder/build/buildUiSchema.d.ts +1 -1
  7. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +0 -2
  8. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +83 -104
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +1 -1
  10. package/package.json +1 -1
  11. package/src/impaktapps-ui-builder/builder/build/buildCard.ts +6 -6
  12. package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
  13. package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +1 -1
  14. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +7 -7
  15. package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +10 -10
  16. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +47 -64
  17. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +90 -132
  18. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +11 -11
  19. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -3
  20. package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -2
  21. package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +7 -6
  22. package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
  23. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +3 -3
  24. package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -1
  25. package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -1
  26. package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +3 -3
  27. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +3 -3
  28. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +31 -15
  29. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +11 -18
  30. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +16 -7
  31. package/src/impaktapps-ui-builder/builder/services/event.ts +3 -29
  32. package/src/impaktapps-ui-builder/runtime/services/events.ts +1 -1
  33. package/src/impaktapps-ui-builder/runtime/services/service.ts +4 -4
@@ -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"
@@ -6748,7 +6741,17 @@ const componentBasicUiSchema = (theme) => {
6748
6741
  widget: "EmptyBox"
6749
6742
  },
6750
6743
  config: {
6751
- layout: { xs: 4, sm: 8 }
6744
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6745
+ }
6746
+ },
6747
+ {
6748
+ type: "Control",
6749
+ scope: "#/properties/EmptyBox",
6750
+ options: {
6751
+ widget: "EmptyBox"
6752
+ },
6753
+ config: {
6754
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6752
6755
  }
6753
6756
  },
6754
6757
  {
@@ -6758,7 +6761,7 @@ const componentBasicUiSchema = (theme) => {
6758
6761
  widget: "Button"
6759
6762
  },
6760
6763
  config: {
6761
- layout: { xs: 4, sm: 2 },
6764
+ layout: 1.8,
6762
6765
  main: {
6763
6766
  name: "Ok",
6764
6767
  startIcon: "ApproveIcon",
@@ -6766,6 +6769,9 @@ const componentBasicUiSchema = (theme) => {
6766
6769
  type: "text",
6767
6770
  onClick: "okHandler",
6768
6771
  size: "medium"
6772
+ },
6773
+ style: {
6774
+ float: "right"
6769
6775
  }
6770
6776
  }
6771
6777
  },
@@ -6776,7 +6782,7 @@ const componentBasicUiSchema = (theme) => {
6776
6782
  widget: "Button"
6777
6783
  },
6778
6784
  config: {
6779
- layout: { xs: 4, sm: 2 },
6785
+ layout: 1.8,
6780
6786
  main: {
6781
6787
  name: "Save & Exit",
6782
6788
  startIcon: "ApproveIcon",
@@ -6784,6 +6790,9 @@ const componentBasicUiSchema = (theme) => {
6784
6790
  type: "text",
6785
6791
  onClick: "saveHandler",
6786
6792
  size: "medium"
6793
+ },
6794
+ style: {
6795
+ float: "right"
6787
6796
  }
6788
6797
  }
6789
6798
  },
@@ -6855,7 +6864,7 @@ const componentBasicUiSchema = (theme) => {
6855
6864
  height: 0,
6856
6865
  margin: 0,
6857
6866
  top: 0,
6858
- right: { xs: "12px", sm: "84px" },
6867
+ right: "90px",
6859
6868
  position: "absolute",
6860
6869
  fontSize: "12px",
6861
6870
  cursor: "pointer",
@@ -6877,7 +6886,6 @@ const componentBasicUiSchema = (theme) => {
6877
6886
  onClick: "backHandler"
6878
6887
  },
6879
6888
  style: {
6880
- display: { xs: "none", sm: "flex" },
6881
6889
  textAlign: "left",
6882
6890
  lineHeight: 1,
6883
6891
  height: 0,
@@ -6888,7 +6896,7 @@ const componentBasicUiSchema = (theme) => {
6888
6896
  marginLeft: "2px",
6889
6897
  marginRight: 0,
6890
6898
  top: 3,
6891
- right: "12px",
6899
+ right: "20px",
6892
6900
  position: "absolute",
6893
6901
  ":hover": {
6894
6902
  color: theme.palette.primary.dark
@@ -6912,7 +6920,7 @@ const CoreSection = {
6912
6920
  widget: "SelectInputField"
6913
6921
  },
6914
6922
  config: {
6915
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6923
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6916
6924
  main: {
6917
6925
  label: "Type",
6918
6926
  type: "text"
@@ -6926,7 +6934,7 @@ const CoreSection = {
6926
6934
  widget: "InputField"
6927
6935
  },
6928
6936
  config: {
6929
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6937
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6930
6938
  main: {
6931
6939
  label: "Name"
6932
6940
  }
@@ -6939,7 +6947,7 @@ const CoreSection = {
6939
6947
  widget: "InputField"
6940
6948
  },
6941
6949
  config: {
6942
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6950
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6943
6951
  main: {
6944
6952
  label: "Label"
6945
6953
  }
@@ -6952,7 +6960,7 @@ const CoreSection = {
6952
6960
  widget: "SelectInputField"
6953
6961
  },
6954
6962
  config: {
6955
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6963
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6956
6964
  main: {
6957
6965
  label: "Column Format"
6958
6966
  }
@@ -6962,7 +6970,7 @@ const CoreSection = {
6962
6970
  type: "Control",
6963
6971
  scope: "#/properties/proc",
6964
6972
  config: {
6965
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6973
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6966
6974
  },
6967
6975
  options: {
6968
6976
  widget: "EmptyBox"
@@ -6972,7 +6980,7 @@ const CoreSection = {
6972
6980
  type: "Control",
6973
6981
  scope: "#/properties/proc",
6974
6982
  config: {
6975
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6983
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6976
6984
  },
6977
6985
  options: {
6978
6986
  widget: "EmptyBox"
@@ -6994,7 +7002,7 @@ const CoreSection = {
6994
7002
  widget: "SelectInputField"
6995
7003
  },
6996
7004
  config: {
6997
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7005
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6998
7006
  main: {
6999
7007
  label: "Screen Size"
7000
7008
  }
@@ -7007,7 +7015,7 @@ const CoreSection = {
7007
7015
  widget: "InputField"
7008
7016
  },
7009
7017
  config: {
7010
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7018
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7011
7019
  main: {
7012
7020
  label: "Value",
7013
7021
  type: "number",
@@ -7020,7 +7028,7 @@ const CoreSection = {
7020
7028
  type: "Control",
7021
7029
  scope: "#/properties/proc",
7022
7030
  config: {
7023
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7031
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
7024
7032
  },
7025
7033
  options: {
7026
7034
  widget: "EmptyBox"
@@ -7133,29 +7141,17 @@ const EventSection = (theme) => {
7133
7141
  };
7134
7142
  return uiSchema;
7135
7143
  };
7136
- const emptyBox$1 = (scope, layout) => {
7137
- if (layout !== void 0) {
7138
- return {
7139
- type: "Control",
7140
- scope: `#/properties/${scope}`,
7141
- options: {
7142
- widget: "EmptyBox"
7143
- },
7144
- config: {
7145
- layout
7146
- }
7147
- };
7144
+ var emptyBox = {
7145
+ type: "Control",
7146
+ scope: "#/properties/emptyBox",
7147
+ options: {
7148
+ widget: "EmptyBox"
7149
+ },
7150
+ config: {
7151
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
7152
+ main: {},
7153
+ style: {}
7148
7154
  }
7149
- return {
7150
- type: "Control",
7151
- scope: "#/properties/empty",
7152
- options: {
7153
- widget: "EmptyBox"
7154
- },
7155
- config: {
7156
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7157
- }
7158
- };
7159
7155
  };
7160
7156
  const cardLayout = {
7161
7157
  type: "Control",
@@ -7172,7 +7168,7 @@ const cardLayout = {
7172
7168
  widget: "SelectInputField"
7173
7169
  },
7174
7170
  config: {
7175
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7171
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7176
7172
  main: {
7177
7173
  label: "Screen Size"
7178
7174
  }
@@ -7185,7 +7181,7 @@ const cardLayout = {
7185
7181
  widget: "InputField"
7186
7182
  },
7187
7183
  config: {
7188
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7184
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7189
7185
  main: {
7190
7186
  label: "Value",
7191
7187
  type: "number",
@@ -7194,7 +7190,7 @@ const cardLayout = {
7194
7190
  }
7195
7191
  }
7196
7192
  },
7197
- emptyBox$1("cardEmpty")
7193
+ emptyBox
7198
7194
  ]
7199
7195
  }
7200
7196
  }
@@ -7216,14 +7212,14 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
7216
7212
  widget: "InputField"
7217
7213
  },
7218
7214
  config: {
7219
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7215
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7220
7216
  main: {
7221
7217
  label: childLabel || "Labels for Tab"
7222
7218
  }
7223
7219
  }
7224
7220
  },
7225
- emptyBox$1("ArrayControlEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
7226
- emptyBox$1("ArrayControlEmpty2", { xs: 0, sm: 0, md: 4, lg: 4 })
7221
+ emptyBox,
7222
+ emptyBox
7227
7223
  ]
7228
7224
  }
7229
7225
  }
@@ -7237,13 +7233,13 @@ sizeHolder.options.detail.elements[1] = {
7237
7233
  widget: "InputField"
7238
7234
  },
7239
7235
  config: {
7240
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7236
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7241
7237
  main: {
7242
7238
  label: "Size"
7243
7239
  }
7244
7240
  }
7245
7241
  };
7246
- sizeHolder.options.detail.elements[2] = emptyBox$1("sizeHolderempty");
7242
+ sizeHolder.options.detail.elements[2] = emptyBox;
7247
7243
  const getInputField = (scope, label) => {
7248
7244
  return {
7249
7245
  type: "Control",
@@ -7252,7 +7248,7 @@ const getInputField = (scope, label) => {
7252
7248
  widget: "InputField"
7253
7249
  },
7254
7250
  config: {
7255
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7251
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7256
7252
  main: {
7257
7253
  label
7258
7254
  }
@@ -7267,7 +7263,7 @@ const getRadioInputField = (scope, label, options) => {
7267
7263
  widget: "RadioInputField"
7268
7264
  },
7269
7265
  config: {
7270
- layout: { xs: 12, sm: 6, md: 4, lg: 4 },
7266
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7271
7267
  main: {
7272
7268
  label,
7273
7269
  options
@@ -7285,9 +7281,7 @@ const buildWrapper = (label, elements) => {
7285
7281
  },
7286
7282
  wrapperStyle: {
7287
7283
  marginTop: "-6px",
7288
- marginBottom: "-8px",
7289
- marginLeft: "-34px",
7290
- width: "108%"
7284
+ marginBottom: "-8px"
7291
7285
  },
7292
7286
  componentsBoxStyle: {
7293
7287
  marginLeft: "24px"
@@ -7332,7 +7326,7 @@ const getSelectField = (scope, label, options) => {
7332
7326
  widget: "SelectInputField"
7333
7327
  },
7334
7328
  config: {
7335
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7329
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7336
7330
  main: {
7337
7331
  label,
7338
7332
  type: "text"
@@ -7341,7 +7335,7 @@ const getSelectField = (scope, label, options) => {
7341
7335
  };
7342
7336
  };
7343
7337
  const GraphSection = {
7344
- type: "WrapperLayout",
7338
+ type: "HorizontalLayout",
7345
7339
  elements: []
7346
7340
  };
7347
7341
  const buildPropertiesSection = function(type) {
@@ -7354,7 +7348,7 @@ const buildPropertiesSection = function(type) {
7354
7348
  getInputField("graphHeight", "Graph Height"),
7355
7349
  getInputField("graphWidth", "Graph Width"),
7356
7350
  getInputField("graphZoomHeight", "Zoom Height"),
7357
- emptyBox$1("TreeEmpty", { xs: 6, sm: 6, md: 4, lg: 4 })
7351
+ emptyBox
7358
7352
  ];
7359
7353
  break;
7360
7354
  case "InputSlider":
@@ -7362,9 +7356,9 @@ const buildPropertiesSection = function(type) {
7362
7356
  getInputField("max", "Max Limit"),
7363
7357
  getInputField("step", "Step"),
7364
7358
  getInputField("min", "Min Limit"),
7365
- emptyBox$1("InputSliderEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
7366
7359
  getRadioInputField("limitToMax", "Applly Max. Limit", ["YES", "NO"]),
7367
- emptyBox$1("InputSliderEmpty2", { xs: 0, sm: 0, md: 8, lg: 8 })
7360
+ emptyBox,
7361
+ emptyBox
7368
7362
  ];
7369
7363
  break;
7370
7364
  case "DataGrid":
@@ -7373,8 +7367,8 @@ const buildPropertiesSection = function(type) {
7373
7367
  getInputField("elevation", "Card Elevation"),
7374
7368
  getInputField("height", "Grid height"),
7375
7369
  getInputField("justifyContent", "justifyContent"),
7376
- emptyBox$1("DataGridEmpty1", { xs: 6, sm: 0, md: 4, lg: 4 }),
7377
- emptyBox$1("DataGridEmpty1", { xs: 0, sm: 0, md: 4, lg: 4 }),
7370
+ emptyBox,
7371
+ emptyBox,
7378
7372
  cardLayout
7379
7373
  ];
7380
7374
  break;
@@ -7385,7 +7379,7 @@ const buildPropertiesSection = function(type) {
7385
7379
  getInputField("resetText", "Reset Text"),
7386
7380
  getInputField("completeText", "Complete Text"),
7387
7381
  getSelectField("orientation", "Orientation Type"),
7388
- emptyBox$1("Stepper", { xs: 6, sm: 6, md: 4, lg: 4 }),
7382
+ emptyBox,
7389
7383
  getArrayControl("sectionLabels", "label")
7390
7384
  ];
7391
7385
  break;
@@ -7393,23 +7387,22 @@ const buildPropertiesSection = function(type) {
7393
7387
  uiSchema.elements = [
7394
7388
  getRadioInputField("fullScreen", "FullScreen", ["YES", "NO"]),
7395
7389
  getRadioInputField("fullWidth", "FullWidth", ["YES", "NO"]),
7396
- getInputField("maxWidth", "Max. Width"),
7397
- emptyBox$1("PopUpEmpty", { xs: 6, sm: 6, md: 0, lg: 0 })
7390
+ getInputField("maxWidth", "Max. Width")
7398
7391
  ];
7399
7392
  break;
7400
7393
  case "Text":
7401
7394
  uiSchema.elements = [
7402
7395
  getInputField("placeholder", "Placeholder"),
7403
- emptyBox$1("TextEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
7404
- emptyBox$1("TextEmpty1", { xs: 0, sm: 0, md: 4, lg: 4 }),
7396
+ emptyBox,
7397
+ emptyBox,
7405
7398
  getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
7406
7399
  ];
7407
7400
  break;
7408
7401
  case "TextArea":
7409
7402
  uiSchema.elements = [
7410
7403
  getInputField("placeholder", "Placeholder"),
7411
- emptyBox$1("TextAreaEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
7412
- emptyBox$1("TextAreaEmpty2", { xs: 0, sm: 0, md: 4, lg: 4 })
7404
+ emptyBox,
7405
+ emptyBox
7413
7406
  ];
7414
7407
  break;
7415
7408
  case "SpeedoMeter":
@@ -7419,7 +7412,7 @@ const buildPropertiesSection = function(type) {
7419
7412
  getInputField("heading", "Container Heading"),
7420
7413
  getInputField("speedoCaption", "Speedometer Caption"),
7421
7414
  getInputField("width", "Speedometer Width"),
7422
- emptyBox$1("SpeedoMeterEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 })
7415
+ emptyBox
7423
7416
  ];
7424
7417
  break;
7425
7418
  case "RankCard":
@@ -7428,8 +7421,8 @@ const buildPropertiesSection = function(type) {
7428
7421
  getInputField("image", "Image Url"),
7429
7422
  getInputField("title", "Card Title"),
7430
7423
  getInputField("description", "Card Description"),
7431
- emptyBox$1("RankCardEmpty1"),
7432
- emptyBox$1("RankCardEmpty2")
7424
+ emptyBox,
7425
+ emptyBox
7433
7426
  ];
7434
7427
  break;
7435
7428
  case "LeaderBoard":
@@ -7438,8 +7431,8 @@ const buildPropertiesSection = function(type) {
7438
7431
  getInputField("firstImage", "First Image url"),
7439
7432
  getInputField("secondImage", "Second Image url"),
7440
7433
  getInputField("thirdImage", "Third Image url"),
7441
- emptyBox$1("LeaderBoardEmpty1"),
7442
- emptyBox$1("LeaderBoardEmpty2"),
7434
+ emptyBox,
7435
+ emptyBox,
7443
7436
  getTextArea("functionCode", "Write Compare Code", false)
7444
7437
  ];
7445
7438
  break;
@@ -7456,8 +7449,8 @@ const buildPropertiesSection = function(type) {
7456
7449
  getInputField("bottomLabel_1", "First BottomLabel"),
7457
7450
  getInputField("bottomLabel_2", "Second BottomLabel"),
7458
7451
  getInputField("bottomLabel_3", "Third BottomLabel"),
7459
- emptyBox$1("ProgressBarCardEmpty1"),
7460
- emptyBox$1("ProgressBarCardEmpty2")
7452
+ emptyBox,
7453
+ emptyBox
7461
7454
  ];
7462
7455
  break;
7463
7456
  case "card":
@@ -7465,7 +7458,7 @@ const buildPropertiesSection = function(type) {
7465
7458
  getInputField("url", "Image Url"),
7466
7459
  getInputField("label", "Label"),
7467
7460
  getInputField("description", "Description"),
7468
- emptyBox$1("cardEmpty", { xs: 6, sm: 6, md: 0, lg: 0 })
7461
+ emptyBox
7469
7462
  ];
7470
7463
  break;
7471
7464
  case "Button":
@@ -7475,7 +7468,7 @@ const buildPropertiesSection = function(type) {
7475
7468
  getSelectField("color", "Color"),
7476
7469
  getInputField("tooltipMessage", "Tooltip Message"),
7477
7470
  getSelectField("defaultStyle", "Default Style"),
7478
- emptyBox$1("ButtonEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 })
7471
+ emptyBox
7479
7472
  ];
7480
7473
  break;
7481
7474
  case "Graph":
@@ -7485,11 +7478,10 @@ const buildPropertiesSection = function(type) {
7485
7478
  getSelectField("graphType", "Graph Type"),
7486
7479
  getInputField("leftLabel", "Left Label"),
7487
7480
  getInputField("bottomLabel", "Bottom Label"),
7488
- emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
7489
7481
  getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
7490
7482
  getInputField("yAxisValue", "Y-AxisValue"),
7491
7483
  getInputField("xAxisValue", "X-AxisValue"),
7492
- emptyBox$1("GraphEmpty2"),
7484
+ emptyBox,
7493
7485
  getArrayControl("legendLabels", "label"),
7494
7486
  getArrayControl("pieArcColors", "color")
7495
7487
  ];
@@ -7500,15 +7492,15 @@ const buildPropertiesSection = function(type) {
7500
7492
  getRadioInputField("isAccordion", "Accordion", ["YES", "No"]),
7501
7493
  getRadioInputField("defaultStyle", "Default Style", ["YES", "No"]),
7502
7494
  getInputField("rowSpacing", "Row Spacing"),
7503
- emptyBox$1("WrapperSectionEmpty1", { xs: 6, sm: 0, md: 4, lg: 4 }),
7504
- emptyBox$1("WrapperSectionEmpty2")
7495
+ emptyBox,
7496
+ emptyBox
7505
7497
  ];
7506
7498
  break;
7507
7499
  case "TabSection":
7508
7500
  uiSchema.elements = [
7509
7501
  getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
7510
7502
  getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
7511
- emptyBox$1("TabEmpty"),
7503
+ emptyBox,
7512
7504
  getArrayControl("sectionLabels", "label")
7513
7505
  ];
7514
7506
  break;
@@ -7521,14 +7513,14 @@ const buildPropertiesSection = function(type) {
7521
7513
  getRadioInputField("DragAvailable", "Row Dragging", ["YES", "NO"]),
7522
7514
  getRadioInputField("downloadAllData", "Download All Data", ["YES", "NO"]),
7523
7515
  getInputField("selectKey", "Selection Key"),
7524
- emptyBox$1("LazyLoadingTableEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
7516
+ emptyBox,
7525
7517
  buildWrapper("Tree Table Properties", [
7526
7518
  getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
7527
7519
  getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
7528
7520
  getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
7529
7521
  getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
7530
- emptyBox$1("LazyLoadingTableEmpty2"),
7531
- emptyBox$1("LazyLoadingTableEmpty3")
7522
+ emptyBox,
7523
+ emptyBox
7532
7524
  ]),
7533
7525
  getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
7534
7526
  sizeHolder
@@ -7543,14 +7535,14 @@ const buildPropertiesSection = function(type) {
7543
7535
  uiSchema.elements = [
7544
7536
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
7545
7537
  getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
7546
- emptyBox$1("SelectEmpty")
7538
+ emptyBox
7547
7539
  ];
7548
7540
  break;
7549
7541
  case "MultipleSelect":
7550
7542
  uiSchema.elements = [
7551
7543
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
7552
- emptyBox$1("MultipleSelectEmpty1", { xs: 0, sm: 6, md: 4, lg: 4 }),
7553
- emptyBox$1("MultipleSelectEmpty2")
7544
+ emptyBox,
7545
+ emptyBox
7554
7546
  ];
7555
7547
  break;
7556
7548
  }
@@ -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
  }
@@ -8916,18 +8917,6 @@ const refreshSectionUiSchema = {
8916
8917
  }
8917
8918
  ]
8918
8919
  };
8919
- var emptyBox = {
8920
- type: "Control",
8921
- scope: "#/properties/emptyBox",
8922
- options: {
8923
- widget: "EmptyBox"
8924
- },
8925
- config: {
8926
- layout: { xs: 0, sm: 4, md: 4, lg: 4 },
8927
- main: {},
8928
- style: {}
8929
- }
8930
- };
8931
8920
  var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8932
8921
  return {
8933
8922
  setPage: async function() {
@@ -8943,19 +8932,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8943
8932
  if (handlerType) {
8944
8933
  if (handlerType === "custom") {
8945
8934
  uiSchema.elements[1].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
8946
- uiSchema.elements[1].elements[0].elements[3] = {
8947
- type: "Control",
8948
- scope: "#/properties/emptyBox",
8949
- options: {
8950
- widget: "EmptyBox"
8951
- },
8952
- config: {
8953
- layout: { xs: 0, sm: 6, md: 0, lg: 0 },
8954
- main: {},
8955
- style: {}
8956
- }
8957
- };
8958
- 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);
8959
8936
  schema2.required = ["eventType", "Handler", "eventCode"];
8960
8937
  } else if (handlerType === "api") {
8961
8938
  uiSchema.elements[1].elements[0].elements[2] = emptyBox;
@@ -8963,19 +8940,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8963
8940
  schema2.required = ["eventType", "Handler", "method", "path"];
8964
8941
  } else if (handlerType === "inBuiltFunction") {
8965
8942
  uiSchema.elements[1].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
8966
- uiSchema.elements[1].elements[0].elements[3] = {
8967
- type: "Control",
8968
- scope: "#/properties/emptyBox",
8969
- options: {
8970
- widget: "EmptyBox"
8971
- },
8972
- config: {
8973
- layout: { xs: 6, sm: 6, md: 0, lg: 0 },
8974
- main: {},
8975
- style: {}
8976
- }
8977
- };
8978
- 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);
8979
8944
  schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
8980
8945
  } else if (handlerType === "refresh") {
8981
8946
  uiSchema.elements[1].elements[0].elements[2] = emptyBox;
@@ -9212,7 +9177,7 @@ function executeCustomHandler(params) {
9212
9177
  return response;
9213
9178
  }
9214
9179
  }
9215
- function mergeFormdata(handlerResponse, componentName, eventConfig, store2, service2, formDataHolder2) {
9180
+ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, service2, formDataHolder) {
9216
9181
  if (eventConfig.type === "Select" && !(_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data) && (handlerResponse == null ? void 0 : handlerResponse.data))) {
9217
9182
  store2.setSchema((pre) => {
9218
9183
  var _a;
@@ -9245,7 +9210,7 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
9245
9210
  };
9246
9211
  });
9247
9212
  } else if (eventConfig.type === "page") {
9248
- if (!(_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data) && (handlerResponse == null ? void 0 : handlerResponse.data))) {
9213
+ if (!_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data) && (handlerResponse == null ? void 0 : handlerResponse.data)) {
9249
9214
  store2.newData = {
9250
9215
  ...store2.newData,
9251
9216
  ...handlerResponse == null ? void 0 : handlerResponse.data
@@ -9256,9 +9221,9 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
9256
9221
  }
9257
9222
  } else {
9258
9223
  if (handlerResponse) {
9259
- formDataHolder2[componentName] = handlerResponse.data;
9224
+ formDataHolder[componentName] = handlerResponse.data;
9260
9225
  store2.setFormdata((pre) => {
9261
- return { ...pre, ...formDataHolder2 };
9226
+ return { ...pre, ...formDataHolder };
9262
9227
  });
9263
9228
  }
9264
9229
  }
@@ -9348,7 +9313,6 @@ const notifyUiSchema = {
9348
9313
  },
9349
9314
  layout: 6
9350
9315
  };
9351
- let formDataHolder = {};
9352
9316
  let pageData = false;
9353
9317
  const extractEvents = (eventConfig) => {
9354
9318
  function extractsConfigEvents(eventConfigObj) {
@@ -9391,6 +9355,7 @@ const extractEvents = (eventConfig) => {
9391
9355
  };
9392
9356
  var service = (funcParams) => {
9393
9357
  eventGroups = {};
9358
+ const formDataHolder = {};
9394
9359
  if (pageData) {
9395
9360
  if (!lodash.exports.isEmpty(pageData) && typeof pageData === "object") {
9396
9361
  eventGroups = extractEvents(pageData == null ? void 0 : pageData.config);
@@ -9492,7 +9457,7 @@ var service = (funcParams) => {
9492
9457
  height: 0,
9493
9458
  margin: 0,
9494
9459
  top: 0,
9495
- right: { xs: "12px", sm: "84px" },
9460
+ right: "82px",
9496
9461
  position: "absolute",
9497
9462
  fontSize: "12px",
9498
9463
  cursor: "pointer",
@@ -9514,7 +9479,6 @@ var service = (funcParams) => {
9514
9479
  onClick: "backHandler"
9515
9480
  },
9516
9481
  style: {
9517
- display: { xs: "none", sm: "flex" },
9518
9482
  textAlign: "left",
9519
9483
  lineHeight: 1,
9520
9484
  height: 0,
@@ -10486,7 +10450,7 @@ var TextInputField = {
10486
10450
  widget: "InputField"
10487
10451
  },
10488
10452
  config: {
10489
- layout: { xs: 12, sm: 6, md: 4, lg: 4 },
10453
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
10490
10454
  main: {
10491
10455
  label: ""
10492
10456
  },
@@ -10519,7 +10483,7 @@ var SelectInputField = {
10519
10483
  widget: "SelectInputField"
10520
10484
  },
10521
10485
  config: {
10522
- layout: { xs: 12, sm: 6, md: 4, lg: 4 },
10486
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
10523
10487
  main: {
10524
10488
  label: "",
10525
10489
  type: "text",
@@ -10743,7 +10707,7 @@ const uploadFile = {
10743
10707
  "style": {
10744
10708
  "backgroundColor": "none"
10745
10709
  },
10746
- layout: { xs: 6, sm: 6, md: 4, lg: 4 }
10710
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 }
10747
10711
  },
10748
10712
  "options": {
10749
10713
  "widget": "UploadFile"
@@ -10760,7 +10724,7 @@ const downloadFile = {
10760
10724
  "style": {
10761
10725
  "backgroundColor": "none"
10762
10726
  },
10763
- layout: { xs: 12, sm: 6, md: 4, lg: 4 }
10727
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 }
10764
10728
  },
10765
10729
  "options": {
10766
10730
  "widget": "DownloadFile"
@@ -10805,158 +10769,121 @@ const buildDownloadFile = (config, componentScope) => {
10805
10769
  }
10806
10770
  return DownloadFile;
10807
10771
  };
10808
- function Card(theme) {
10809
- const uiSchema = {
10810
- type: "WrapperLayout",
10811
- config: {
10812
- main: {},
10813
- wrapperStyle: {},
10814
- componentsBoxStyle: {
10815
- flexDirection: "row",
10816
- flexWrap: "nowrap",
10817
- width: "100%",
10818
- background: "transparent",
10819
- border: `1.5px solid ${theme.palette.primary.main}`,
10820
- borderRadius: "20px",
10821
- padding: "0px 20px 0px 20px",
10822
- "&: hover": {
10823
- background: `${theme.palette.primary.main}`,
10824
- border: `1.5px solid black`,
10825
- "& p": {
10826
- color: "white"
10827
- }
10828
- }
10772
+ var Card = {
10773
+ type: "WrapperLayout",
10774
+ config: {
10775
+ main: {
10776
+ rowSpacing: 0.5
10777
+ },
10778
+ componentsBoxStyle: {
10779
+ position: "relative",
10780
+ color: "white",
10781
+ height: { xs: "120px", md: "160px" },
10782
+ width: "100%",
10783
+ textAlign: "left",
10784
+ background: "#3f51b5",
10785
+ borderRadius: "20px"
10786
+ },
10787
+ layout: { xs: 12, sm: 12, md: 6, lg: 6 }
10788
+ },
10789
+ elements: [
10790
+ {
10791
+ type: "Control",
10792
+ scope: "#/properties/programType",
10793
+ config: {
10794
+ main: {
10795
+ heading: "$5000.00"
10796
+ },
10797
+ style: {
10798
+ position: "absolute",
10799
+ left: "10%",
10800
+ top: "15%",
10801
+ color: "#f5effc",
10802
+ height: "80px",
10803
+ display: "flex",
10804
+ fontSize: { xs: "24px", md: "32px" },
10805
+ alignItems: "center",
10806
+ background: "inherit",
10807
+ justifyContent: "flex-start"
10808
+ },
10809
+ layout: 5
10829
10810
  },
10830
- layout: { xs: 12, sm: 12, md: 6, lg: 6 }
10811
+ options: {
10812
+ widget: "Box"
10813
+ }
10831
10814
  },
10832
- elements: [
10833
- {
10834
- type: "HorizontalLayout",
10835
- config: {
10836
- layout: 8
10815
+ {
10816
+ type: "Control",
10817
+ scope: "#/properties/programType",
10818
+ config: {
10819
+ main: {
10820
+ url: "https://www.svgrepo.com/show/500606/loading.svg"
10837
10821
  },
10838
- elements: [
10839
- {
10840
- type: "WrapperLayout",
10841
- config: {
10842
- main: {
10843
- columnSpacing: 0,
10844
- gap: 0
10845
- },
10846
- wrapperStyle: {
10847
- marginTop: "4px",
10848
- background: "transparent"
10849
- },
10850
- componentsBoxStyle: {
10851
- flexDirection: "column",
10852
- flexWrap: "nowrap",
10853
- width: "100%",
10854
- height: "inherit",
10855
- background: "transparent",
10856
- borderRadius: "0px"
10857
- },
10858
- layout: 12
10859
- },
10860
- elements: [
10861
- {
10862
- type: "Control",
10863
- scope: "#/properties/programType",
10864
- config: {
10865
- main: {
10866
- heading: "$5000.00"
10867
- },
10868
- style: {
10869
- color: "black",
10870
- display: "flex",
10871
- fontSize: { xs: "24px", md: "28px" },
10872
- fontWeight: "bold",
10873
- background: "inherit",
10874
- justifyContent: "flex-start",
10875
- width: "calc(100%+8px)",
10876
- margin: "-8px"
10877
- },
10878
- layout: 12
10879
- },
10880
- options: {
10881
- widget: "Box"
10882
- }
10883
- },
10884
- {
10885
- type: "Control",
10886
- scope: "#/properties/programType",
10887
- config: {
10888
- main: {
10889
- heading: "Total Earnings"
10890
- },
10891
- style: {
10892
- color: "black",
10893
- fontSize: "16px",
10894
- justifyContent: "center",
10895
- textWrap: "wrap",
10896
- background: "inherit",
10897
- width: "calc(100%+8pc)",
10898
- margin: "-8px",
10899
- lineHeight: "1"
10900
- },
10901
- layout: 12
10902
- },
10903
- options: {
10904
- widget: "Box"
10905
- }
10906
- }
10907
- ]
10908
- }
10909
- ]
10822
+ style: {
10823
+ color: "#f5effc",
10824
+ objectFit: "contain",
10825
+ position: "absolute",
10826
+ top: "10px",
10827
+ right: "10px",
10828
+ height: "80%",
10829
+ width: "35%",
10830
+ display: "flex",
10831
+ fontSize: "34px",
10832
+ alignItems: "center",
10833
+ background: "inherit",
10834
+ padding: "20px",
10835
+ justifyContent: "left"
10836
+ },
10837
+ layout: 5
10910
10838
  },
10911
- {
10912
- type: "Control",
10913
- scope: "#/properties/programType",
10914
- config: {
10915
- main: {
10916
- url: "https://www.svgrepo.com/show/500606/loading.svg"
10917
- },
10918
- style: {
10919
- containerStyle: {
10920
- height: "100%",
10921
- display: "flex",
10922
- justifyContent: "center"
10923
- },
10924
- imageStyle: {
10925
- height: "100%",
10926
- fontSize: "none",
10927
- padding: "4px",
10928
- marginLeft: "8px"
10929
- }
10930
- },
10931
- layout: 4
10839
+ options: {
10840
+ widget: "Image"
10841
+ }
10842
+ },
10843
+ {
10844
+ type: "Control",
10845
+ scope: "#/properties/programType",
10846
+ config: {
10847
+ main: {
10848
+ heading: "Total Earnings"
10932
10849
  },
10933
- options: {
10934
- widget: "Image"
10935
- }
10850
+ style: {
10851
+ position: "absolute",
10852
+ top: "calc(60%)",
10853
+ alignItems: "center",
10854
+ color: "#8999e8",
10855
+ fontSize: "16px",
10856
+ left: "10%",
10857
+ background: "inherit",
10858
+ justifyContent: "center"
10859
+ },
10860
+ layout: 12
10861
+ },
10862
+ options: {
10863
+ widget: "Box"
10936
10864
  }
10937
- ]
10938
- };
10939
- return uiSchema;
10940
- }
10941
- const buildCard = (config, componentScope, store2) => {
10942
- const card = _.cloneDeep(Card(store2.theme.myTheme));
10865
+ }
10866
+ ]
10867
+ };
10868
+ const buildCard = (config, componentScope) => {
10869
+ const card = _.cloneDeep(Card);
10943
10870
  if (config.style) {
10944
10871
  card.config.style = JSON.parse(config.style);
10945
10872
  }
10946
- card.elements[0].elements[0].elements[0].scope = `#/properties/${config.name}/properties/value`;
10873
+ card.elements[0].scope = `#/properties/${config.name}/properties/value`;
10947
10874
  card.elements[1].scope = `#/properties/${config.name}/properties/url`;
10948
- card.elements[0].elements[0].elements[1].scope = `#/properties/${config.name}/properties/description`;
10875
+ card.elements[2].scope = `#/properties/${config.name}/properties/description`;
10949
10876
  if (config.layout) {
10950
10877
  card.config.layout = createLayoutFormat(config.layout);
10951
10878
  }
10952
10879
  if (config.label) {
10953
- card.elements[0].elements[0].elements[0].config.main.heading = config.label;
10880
+ card.elements[0].config.main.heading = config.label;
10954
10881
  }
10955
10882
  if (config.url) {
10956
10883
  card.elements[1].config.main.url = config.url;
10957
10884
  }
10958
10885
  if (config.description) {
10959
- card.elements[0].elements[0].elements[1].config.main.heading = config.description;
10886
+ card.elements[2].config.main.heading = config.description;
10960
10887
  }
10961
10888
  return card;
10962
10889
  };
@@ -10967,7 +10894,7 @@ var DateInputField = {
10967
10894
  widget: "DateInputField"
10968
10895
  },
10969
10896
  config: {
10970
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
10897
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
10971
10898
  main: {
10972
10899
  label: "",
10973
10900
  type: "date"
@@ -10981,7 +10908,7 @@ const DateTime = {
10981
10908
  widget: "DateTimeInputField"
10982
10909
  },
10983
10910
  config: {
10984
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
10911
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
10985
10912
  main: {
10986
10913
  label: "DateTime",
10987
10914
  type: "date"
@@ -11108,7 +11035,7 @@ var MultipleSelect = {
11108
11035
  widget: "MultipleSelect"
11109
11036
  },
11110
11037
  config: {
11111
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
11038
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
11112
11039
  main: {
11113
11040
  label: "",
11114
11041
  type: "text",
@@ -11274,7 +11201,7 @@ const RadioUiSchema = {
11274
11201
  widget: "RadioInputField"
11275
11202
  },
11276
11203
  config: {
11277
- layout: { xs: 12, sm: 6, md: 4, lg: 4 },
11204
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
11278
11205
  main: {
11279
11206
  label: "Enabled",
11280
11207
  options: ["YES", "NO"],
@@ -11383,7 +11310,7 @@ const FileInput = {
11383
11310
  widget: "FileInputField"
11384
11311
  },
11385
11312
  config: {
11386
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
11313
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
11387
11314
  main: {
11388
11315
  required: false,
11389
11316
  onUpload: "onFileUpload",
@@ -11737,7 +11664,7 @@ const buildSchema = (config, tableName, isArrayType) => {
11737
11664
  }
11738
11665
  return schema;
11739
11666
  };
11740
- const buildUiSchema = (config, store2) => {
11667
+ const buildUiSchema = (config) => {
11741
11668
  let elements = {};
11742
11669
  const componentScope = `#/properties/${config.name}`;
11743
11670
  switch (config.type) {
@@ -11820,7 +11747,7 @@ const buildUiSchema = (config, store2) => {
11820
11747
  elements = buildEmptyBox(config);
11821
11748
  break;
11822
11749
  case "card":
11823
- elements = buildCard(config, componentScope, store2);
11750
+ elements = buildCard(config);
11824
11751
  break;
11825
11752
  case "Graph":
11826
11753
  switch (config.graphType) {
@@ -11897,7 +11824,7 @@ const buildUiSchema = (config, store2) => {
11897
11824
  header: cellElem.label || cellElem.name,
11898
11825
  size: sizeMap[cellElem.name] || 180,
11899
11826
  type: cellElem.columnFormat,
11900
- elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store2)) : []
11827
+ elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem)) : []
11901
11828
  };
11902
11829
  });
11903
11830
  } else if (config.type == "Table") {
@@ -11914,8 +11841,8 @@ const buildUiSchema = (config, store2) => {
11914
11841
  header: cellElem.label || cellElem.name,
11915
11842
  size: sizeMap[cellElem.name] || 180,
11916
11843
  type: cellElem.columnFormat,
11917
- widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store2) : void 0,
11918
- elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store2)) : []
11844
+ widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem) : void 0,
11845
+ elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem)) : []
11919
11846
  };
11920
11847
  } else {
11921
11848
  return {
@@ -11928,11 +11855,11 @@ const buildUiSchema = (config, store2) => {
11928
11855
  });
11929
11856
  } else if (config.type == "Array") {
11930
11857
  elements.options.detail.elements = config.elements.map((e, elemInd) => {
11931
- return buildUiSchema(e, store2);
11858
+ return buildUiSchema(e);
11932
11859
  });
11933
11860
  } else {
11934
11861
  elements.elements = config.elements.map((e, elemInd) => {
11935
- return buildUiSchema(e, store2);
11862
+ return buildUiSchema(e);
11936
11863
  });
11937
11864
  }
11938
11865
  }