impaktapps-ui-builder 0.0.66 → 0.0.67-alpha.1

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 (40) hide show
  1. package/dist/impaktapps-ui-builder.es.js +356 -261
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +14 -14
  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 +2 -0
  8. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +106 -83
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +0 -1
  10. package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +1 -1
  11. package/package.json +1 -1
  12. package/src/impaktapps-ui-builder/builder/build/buildCard.ts +25 -6
  13. package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
  14. package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +4 -0
  15. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +3 -1
  16. package/src/impaktapps-ui-builder/builder/build/buildProgressBar.ts +1 -1
  17. package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +1 -1
  18. package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +3 -0
  19. package/src/impaktapps-ui-builder/builder/build/buildTable.ts +0 -3
  20. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +8 -7
  21. package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +10 -10
  22. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +66 -48
  23. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +133 -90
  24. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +11 -11
  25. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -3
  26. package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -2
  27. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +0 -1
  28. package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +6 -7
  29. package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
  30. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +3 -3
  31. package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -1
  32. package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -1
  33. package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +3 -3
  34. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +3 -3
  35. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +1 -0
  36. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +15 -31
  37. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +18 -11
  38. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +7 -16
  39. package/src/impaktapps-ui-builder/builder/services/event.ts +29 -3
  40. package/src/impaktapps-ui-builder/runtime/services/service.ts +3 -2
@@ -66,7 +66,7 @@ const PageMasterUiSchema = (theme) => {
66
66
  widget: "InputField"
67
67
  },
68
68
  config: {
69
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
69
+ layout: { xs: 6, sm: 6, 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: 11, sm: 4, md: 4, lg: 4 },
87
+ layout: { xs: 6, sm: 6, 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: 11, sm: 4, md: 4, lg: 4 },
107
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
108
108
  main: {
109
109
  label: "Label",
110
110
  options: [],
@@ -112,6 +112,16 @@ 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
+ }
115
125
  }
116
126
  ]
117
127
  },
@@ -317,7 +327,7 @@ const PageMasterUiSchema = (theme) => {
317
327
  widget: "EmptyBox"
318
328
  },
319
329
  config: {
320
- layout: { xs: 0, sm: 8, md: 8, lg: 8 }
330
+ layout: { xs: 8, sm: 10 }
321
331
  }
322
332
  },
323
333
  {
@@ -327,7 +337,7 @@ const PageMasterUiSchema = (theme) => {
327
337
  widget: "Button"
328
338
  },
329
339
  config: {
330
- layout: 11.9,
340
+ layout: { xs: 4, sm: 2 },
331
341
  main: {
332
342
  name: "Save",
333
343
  startIcon: "ApproveIcon",
@@ -335,10 +345,6 @@ const PageMasterUiSchema = (theme) => {
335
345
  type: "text",
336
346
  onClick: "saveHandler",
337
347
  size: "medium"
338
- },
339
- style: {
340
- width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
341
- float: "right"
342
348
  }
343
349
  }
344
350
  },
@@ -592,7 +598,7 @@ const PageMasterUiSchema = (theme) => {
592
598
  height: 0,
593
599
  margin: 0,
594
600
  top: 0,
595
- right: "82px",
601
+ right: { xs: "12px", sm: "84px" },
596
602
  position: "absolute",
597
603
  fontSize: "12px",
598
604
  cursor: "pointer",
@@ -614,6 +620,7 @@ const PageMasterUiSchema = (theme) => {
614
620
  onClick: "backHandler"
615
621
  },
616
622
  style: {
623
+ display: { xs: "none", sm: "flex" },
617
624
  textAlign: "left",
618
625
  lineHeight: 1,
619
626
  height: 0,
@@ -1335,7 +1342,7 @@ var lodash = { exports: {} };
1335
1342
  }
1336
1343
  var runInContext = function runInContext2(context) {
1337
1344
  context = context == null ? root : _2.defaults(root.Object(), context, _2.pick(root, contextProps));
1338
- var Array2 = context.Array, Date = context.Date, Error2 = context.Error, Function2 = context.Function, Math = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String = context.String, TypeError = context.TypeError;
1345
+ var Array2 = context.Array, Date = context.Date, Error2 = context.Error, Function2 = context.Function, Math = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String2 = context.String, TypeError = context.TypeError;
1339
1346
  var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
1340
1347
  var coreJsData = context["__core-js_shared__"];
1341
1348
  var funcToString = funcProto.toString;
@@ -1656,7 +1663,7 @@ var lodash = { exports: {} };
1656
1663
  Stack.prototype.has = stackHas;
1657
1664
  Stack.prototype.set = stackSet;
1658
1665
  function arrayLikeKeys(value, inherited) {
1659
- var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result2 = skipIndexes ? baseTimes(value.length, String) : [], length = result2.length;
1666
+ var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result2 = skipIndexes ? baseTimes(value.length, String2) : [], length = result2.length;
1660
1667
  for (var key in value) {
1661
1668
  if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) {
1662
1669
  result2.push(key);
@@ -6339,7 +6346,8 @@ const ComponentSchema = {
6339
6346
  { title: "Stack Bar Graph", const: "StackBarGraph" },
6340
6347
  { title: "Line Graph", const: "LineGraph" },
6341
6348
  { title: "Pie Graph", const: "PieGraph" },
6342
- { title: "Horizontal Bar Graph", const: "HorizontalBarGraph" }
6349
+ { title: "Horizontal Bar Graph", const: "HorizontalBarGraph" },
6350
+ { title: "Stack Horizontal Bar Graph", const: "HorizontalStackBarGraph" }
6343
6351
  ]
6344
6352
  },
6345
6353
  iconName: {
@@ -6426,7 +6434,7 @@ const componentBasicUiSchema = (theme) => {
6426
6434
  widget: "SelectInputField"
6427
6435
  },
6428
6436
  config: {
6429
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6437
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6430
6438
  main: {
6431
6439
  label: "Type"
6432
6440
  }
@@ -6439,7 +6447,7 @@ const componentBasicUiSchema = (theme) => {
6439
6447
  widget: "InputField"
6440
6448
  },
6441
6449
  config: {
6442
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6450
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6443
6451
  main: {
6444
6452
  label: "Name",
6445
6453
  options: [],
@@ -6455,7 +6463,7 @@ const componentBasicUiSchema = (theme) => {
6455
6463
  widget: "InputField"
6456
6464
  },
6457
6465
  config: {
6458
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6466
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6459
6467
  main: {
6460
6468
  label: "Label",
6461
6469
  options: [],
@@ -6471,7 +6479,7 @@ const componentBasicUiSchema = (theme) => {
6471
6479
  widget: "SelectInputField"
6472
6480
  },
6473
6481
  config: {
6474
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6482
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6475
6483
  main: {
6476
6484
  label: "Column Format"
6477
6485
  }
@@ -6481,7 +6489,7 @@ const componentBasicUiSchema = (theme) => {
6481
6489
  type: "Control",
6482
6490
  scope: "#/properties/proc",
6483
6491
  config: {
6484
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6492
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6485
6493
  },
6486
6494
  options: {
6487
6495
  widget: "EmptyBox"
@@ -6491,7 +6499,7 @@ const componentBasicUiSchema = (theme) => {
6491
6499
  type: "Control",
6492
6500
  scope: "#/properties/proc",
6493
6501
  config: {
6494
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6502
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6495
6503
  },
6496
6504
  options: {
6497
6505
  widget: "EmptyBox"
@@ -6512,7 +6520,7 @@ const componentBasicUiSchema = (theme) => {
6512
6520
  widget: "SelectInputField"
6513
6521
  },
6514
6522
  config: {
6515
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6523
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6516
6524
  main: {
6517
6525
  label: "Screen Size"
6518
6526
  }
@@ -6525,7 +6533,7 @@ const componentBasicUiSchema = (theme) => {
6525
6533
  widget: "InputField"
6526
6534
  },
6527
6535
  config: {
6528
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6536
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6529
6537
  main: {
6530
6538
  label: "Value",
6531
6539
  type: "number",
@@ -6538,7 +6546,7 @@ const componentBasicUiSchema = (theme) => {
6538
6546
  type: "Control",
6539
6547
  scope: "#/properties/proc",
6540
6548
  config: {
6541
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6549
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6542
6550
  },
6543
6551
  options: {
6544
6552
  widget: "EmptyBox"
@@ -6741,17 +6749,7 @@ const componentBasicUiSchema = (theme) => {
6741
6749
  widget: "EmptyBox"
6742
6750
  },
6743
6751
  config: {
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
+ layout: { xs: 4, sm: 8 }
6755
6753
  }
6756
6754
  },
6757
6755
  {
@@ -6761,7 +6759,7 @@ const componentBasicUiSchema = (theme) => {
6761
6759
  widget: "Button"
6762
6760
  },
6763
6761
  config: {
6764
- layout: 1.8,
6762
+ layout: { xs: 4, sm: 2 },
6765
6763
  main: {
6766
6764
  name: "Ok",
6767
6765
  startIcon: "ApproveIcon",
@@ -6769,9 +6767,6 @@ const componentBasicUiSchema = (theme) => {
6769
6767
  type: "text",
6770
6768
  onClick: "okHandler",
6771
6769
  size: "medium"
6772
- },
6773
- style: {
6774
- float: "right"
6775
6770
  }
6776
6771
  }
6777
6772
  },
@@ -6782,7 +6777,7 @@ const componentBasicUiSchema = (theme) => {
6782
6777
  widget: "Button"
6783
6778
  },
6784
6779
  config: {
6785
- layout: 1.8,
6780
+ layout: { xs: 4, sm: 2 },
6786
6781
  main: {
6787
6782
  name: "Save & Exit",
6788
6783
  startIcon: "ApproveIcon",
@@ -6790,9 +6785,6 @@ const componentBasicUiSchema = (theme) => {
6790
6785
  type: "text",
6791
6786
  onClick: "saveHandler",
6792
6787
  size: "medium"
6793
- },
6794
- style: {
6795
- float: "right"
6796
6788
  }
6797
6789
  }
6798
6790
  },
@@ -6864,7 +6856,7 @@ const componentBasicUiSchema = (theme) => {
6864
6856
  height: 0,
6865
6857
  margin: 0,
6866
6858
  top: 0,
6867
- right: "90px",
6859
+ right: { xs: "12px", sm: "84px" },
6868
6860
  position: "absolute",
6869
6861
  fontSize: "12px",
6870
6862
  cursor: "pointer",
@@ -6886,6 +6878,7 @@ const componentBasicUiSchema = (theme) => {
6886
6878
  onClick: "backHandler"
6887
6879
  },
6888
6880
  style: {
6881
+ display: { xs: "none", sm: "flex" },
6889
6882
  textAlign: "left",
6890
6883
  lineHeight: 1,
6891
6884
  height: 0,
@@ -6896,7 +6889,7 @@ const componentBasicUiSchema = (theme) => {
6896
6889
  marginLeft: "2px",
6897
6890
  marginRight: 0,
6898
6891
  top: 3,
6899
- right: "20px",
6892
+ right: "12px",
6900
6893
  position: "absolute",
6901
6894
  ":hover": {
6902
6895
  color: theme.palette.primary.dark
@@ -6920,7 +6913,7 @@ const CoreSection = {
6920
6913
  widget: "SelectInputField"
6921
6914
  },
6922
6915
  config: {
6923
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6916
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6924
6917
  main: {
6925
6918
  label: "Type",
6926
6919
  type: "text"
@@ -6934,7 +6927,7 @@ const CoreSection = {
6934
6927
  widget: "InputField"
6935
6928
  },
6936
6929
  config: {
6937
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6930
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6938
6931
  main: {
6939
6932
  label: "Name"
6940
6933
  }
@@ -6947,7 +6940,7 @@ const CoreSection = {
6947
6940
  widget: "InputField"
6948
6941
  },
6949
6942
  config: {
6950
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6943
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6951
6944
  main: {
6952
6945
  label: "Label"
6953
6946
  }
@@ -6960,7 +6953,7 @@ const CoreSection = {
6960
6953
  widget: "SelectInputField"
6961
6954
  },
6962
6955
  config: {
6963
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6956
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6964
6957
  main: {
6965
6958
  label: "Column Format"
6966
6959
  }
@@ -6970,7 +6963,7 @@ const CoreSection = {
6970
6963
  type: "Control",
6971
6964
  scope: "#/properties/proc",
6972
6965
  config: {
6973
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6966
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6974
6967
  },
6975
6968
  options: {
6976
6969
  widget: "EmptyBox"
@@ -6980,7 +6973,7 @@ const CoreSection = {
6980
6973
  type: "Control",
6981
6974
  scope: "#/properties/proc",
6982
6975
  config: {
6983
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6976
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6984
6977
  },
6985
6978
  options: {
6986
6979
  widget: "EmptyBox"
@@ -7002,7 +6995,7 @@ const CoreSection = {
7002
6995
  widget: "SelectInputField"
7003
6996
  },
7004
6997
  config: {
7005
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6998
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7006
6999
  main: {
7007
7000
  label: "Screen Size"
7008
7001
  }
@@ -7015,7 +7008,7 @@ const CoreSection = {
7015
7008
  widget: "InputField"
7016
7009
  },
7017
7010
  config: {
7018
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7011
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7019
7012
  main: {
7020
7013
  label: "Value",
7021
7014
  type: "number",
@@ -7028,7 +7021,7 @@ const CoreSection = {
7028
7021
  type: "Control",
7029
7022
  scope: "#/properties/proc",
7030
7023
  config: {
7031
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
7024
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7032
7025
  },
7033
7026
  options: {
7034
7027
  widget: "EmptyBox"
@@ -7141,17 +7134,29 @@ const EventSection = (theme) => {
7141
7134
  };
7142
7135
  return uiSchema;
7143
7136
  };
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: {}
7137
+ const emptyBox$1 = (scope, layout) => {
7138
+ if (layout !== void 0) {
7139
+ return {
7140
+ type: "Control",
7141
+ scope: `#/properties/${scope}`,
7142
+ options: {
7143
+ widget: "EmptyBox"
7144
+ },
7145
+ config: {
7146
+ layout
7147
+ }
7148
+ };
7154
7149
  }
7150
+ return {
7151
+ type: "Control",
7152
+ scope: "#/properties/empty",
7153
+ options: {
7154
+ widget: "EmptyBox"
7155
+ },
7156
+ config: {
7157
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7158
+ }
7159
+ };
7155
7160
  };
7156
7161
  const cardLayout = {
7157
7162
  type: "Control",
@@ -7168,7 +7173,7 @@ const cardLayout = {
7168
7173
  widget: "SelectInputField"
7169
7174
  },
7170
7175
  config: {
7171
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7176
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7172
7177
  main: {
7173
7178
  label: "Screen Size"
7174
7179
  }
@@ -7181,7 +7186,7 @@ const cardLayout = {
7181
7186
  widget: "InputField"
7182
7187
  },
7183
7188
  config: {
7184
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7189
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7185
7190
  main: {
7186
7191
  label: "Value",
7187
7192
  type: "number",
@@ -7190,7 +7195,7 @@ const cardLayout = {
7190
7195
  }
7191
7196
  }
7192
7197
  },
7193
- emptyBox
7198
+ emptyBox$1("cardEmpty")
7194
7199
  ]
7195
7200
  }
7196
7201
  }
@@ -7212,14 +7217,14 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
7212
7217
  widget: "InputField"
7213
7218
  },
7214
7219
  config: {
7215
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7220
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7216
7221
  main: {
7217
7222
  label: childLabel || "Labels for Tab"
7218
7223
  }
7219
7224
  }
7220
7225
  },
7221
- emptyBox,
7222
- emptyBox
7226
+ emptyBox$1("ArrayControlEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
7227
+ emptyBox$1("ArrayControlEmpty2", { xs: 0, sm: 0, md: 4, lg: 4 })
7223
7228
  ]
7224
7229
  }
7225
7230
  }
@@ -7233,13 +7238,13 @@ sizeHolder.options.detail.elements[1] = {
7233
7238
  widget: "InputField"
7234
7239
  },
7235
7240
  config: {
7236
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7241
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7237
7242
  main: {
7238
7243
  label: "Size"
7239
7244
  }
7240
7245
  }
7241
7246
  };
7242
- sizeHolder.options.detail.elements[2] = emptyBox;
7247
+ sizeHolder.options.detail.elements[2] = emptyBox$1("sizeHolderempty");
7243
7248
  const getInputField = (scope, label) => {
7244
7249
  return {
7245
7250
  type: "Control",
@@ -7248,7 +7253,7 @@ const getInputField = (scope, label) => {
7248
7253
  widget: "InputField"
7249
7254
  },
7250
7255
  config: {
7251
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7256
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7252
7257
  main: {
7253
7258
  label
7254
7259
  }
@@ -7263,7 +7268,7 @@ const getRadioInputField = (scope, label, options) => {
7263
7268
  widget: "RadioInputField"
7264
7269
  },
7265
7270
  config: {
7266
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7271
+ layout: { xs: 12, sm: 6, md: 4, lg: 4 },
7267
7272
  main: {
7268
7273
  label,
7269
7274
  options
@@ -7281,7 +7286,9 @@ const buildWrapper = (label, elements) => {
7281
7286
  },
7282
7287
  wrapperStyle: {
7283
7288
  marginTop: "-6px",
7284
- marginBottom: "-8px"
7289
+ marginBottom: "-8px",
7290
+ marginLeft: "-34px",
7291
+ width: "108%"
7285
7292
  },
7286
7293
  componentsBoxStyle: {
7287
7294
  marginLeft: "24px"
@@ -7326,7 +7333,7 @@ const getSelectField = (scope, label, options) => {
7326
7333
  widget: "SelectInputField"
7327
7334
  },
7328
7335
  config: {
7329
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7336
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7330
7337
  main: {
7331
7338
  label,
7332
7339
  type: "text"
@@ -7335,7 +7342,7 @@ const getSelectField = (scope, label, options) => {
7335
7342
  };
7336
7343
  };
7337
7344
  const GraphSection = {
7338
- type: "HorizontalLayout",
7345
+ type: "WrapperLayout",
7339
7346
  elements: []
7340
7347
  };
7341
7348
  const buildPropertiesSection = function(type) {
@@ -7348,7 +7355,7 @@ const buildPropertiesSection = function(type) {
7348
7355
  getInputField("graphHeight", "Graph Height"),
7349
7356
  getInputField("graphWidth", "Graph Width"),
7350
7357
  getInputField("graphZoomHeight", "Zoom Height"),
7351
- emptyBox
7358
+ emptyBox$1("TreeEmpty", { xs: 6, sm: 6, md: 4, lg: 4 })
7352
7359
  ];
7353
7360
  break;
7354
7361
  case "InputSlider":
@@ -7356,9 +7363,9 @@ const buildPropertiesSection = function(type) {
7356
7363
  getInputField("max", "Max Limit"),
7357
7364
  getInputField("step", "Step"),
7358
7365
  getInputField("min", "Min Limit"),
7366
+ emptyBox$1("InputSliderEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
7359
7367
  getRadioInputField("limitToMax", "Applly Max. Limit", ["YES", "NO"]),
7360
- emptyBox,
7361
- emptyBox
7368
+ emptyBox$1("InputSliderEmpty2", { xs: 0, sm: 0, md: 8, lg: 8 })
7362
7369
  ];
7363
7370
  break;
7364
7371
  case "DataGrid":
@@ -7367,8 +7374,8 @@ const buildPropertiesSection = function(type) {
7367
7374
  getInputField("elevation", "Card Elevation"),
7368
7375
  getInputField("height", "Grid height"),
7369
7376
  getInputField("justifyContent", "justifyContent"),
7370
- emptyBox,
7371
- emptyBox,
7377
+ emptyBox$1("DataGridEmpty1", { xs: 6, sm: 0, md: 4, lg: 4 }),
7378
+ emptyBox$1("DataGridEmpty1", { xs: 0, sm: 0, md: 4, lg: 4 }),
7372
7379
  cardLayout
7373
7380
  ];
7374
7381
  break;
@@ -7379,7 +7386,7 @@ const buildPropertiesSection = function(type) {
7379
7386
  getInputField("resetText", "Reset Text"),
7380
7387
  getInputField("completeText", "Complete Text"),
7381
7388
  getSelectField("orientation", "Orientation Type"),
7382
- emptyBox,
7389
+ emptyBox$1("Stepper", { xs: 6, sm: 6, md: 4, lg: 4 }),
7383
7390
  getArrayControl("sectionLabels", "label")
7384
7391
  ];
7385
7392
  break;
@@ -7387,22 +7394,23 @@ const buildPropertiesSection = function(type) {
7387
7394
  uiSchema.elements = [
7388
7395
  getRadioInputField("fullScreen", "FullScreen", ["YES", "NO"]),
7389
7396
  getRadioInputField("fullWidth", "FullWidth", ["YES", "NO"]),
7390
- getInputField("maxWidth", "Max. Width")
7397
+ getInputField("maxWidth", "Max. Width"),
7398
+ emptyBox$1("PopUpEmpty", { xs: 6, sm: 6, md: 0, lg: 0 })
7391
7399
  ];
7392
7400
  break;
7393
7401
  case "Text":
7394
7402
  uiSchema.elements = [
7395
7403
  getInputField("placeholder", "Placeholder"),
7396
- emptyBox,
7397
- emptyBox,
7404
+ emptyBox$1("TextEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
7405
+ emptyBox$1("TextEmpty1", { xs: 0, sm: 0, md: 4, lg: 4 }),
7398
7406
  getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
7399
7407
  ];
7400
7408
  break;
7401
7409
  case "TextArea":
7402
7410
  uiSchema.elements = [
7403
7411
  getInputField("placeholder", "Placeholder"),
7404
- emptyBox,
7405
- emptyBox
7412
+ emptyBox$1("TextAreaEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
7413
+ emptyBox$1("TextAreaEmpty2", { xs: 0, sm: 0, md: 4, lg: 4 })
7406
7414
  ];
7407
7415
  break;
7408
7416
  case "SpeedoMeter":
@@ -7412,7 +7420,7 @@ const buildPropertiesSection = function(type) {
7412
7420
  getInputField("heading", "Container Heading"),
7413
7421
  getInputField("speedoCaption", "Speedometer Caption"),
7414
7422
  getInputField("width", "Speedometer Width"),
7415
- emptyBox
7423
+ emptyBox$1("SpeedoMeterEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 })
7416
7424
  ];
7417
7425
  break;
7418
7426
  case "RankCard":
@@ -7421,8 +7429,8 @@ const buildPropertiesSection = function(type) {
7421
7429
  getInputField("image", "Image Url"),
7422
7430
  getInputField("title", "Card Title"),
7423
7431
  getInputField("description", "Card Description"),
7424
- emptyBox,
7425
- emptyBox
7432
+ emptyBox$1("RankCardEmpty1"),
7433
+ emptyBox$1("RankCardEmpty2")
7426
7434
  ];
7427
7435
  break;
7428
7436
  case "LeaderBoard":
@@ -7431,8 +7439,8 @@ const buildPropertiesSection = function(type) {
7431
7439
  getInputField("firstImage", "First Image url"),
7432
7440
  getInputField("secondImage", "Second Image url"),
7433
7441
  getInputField("thirdImage", "Third Image url"),
7434
- emptyBox,
7435
- emptyBox,
7442
+ emptyBox$1("LeaderBoardEmpty1"),
7443
+ emptyBox$1("LeaderBoardEmpty2"),
7436
7444
  getTextArea("functionCode", "Write Compare Code", false)
7437
7445
  ];
7438
7446
  break;
@@ -7449,16 +7457,17 @@ const buildPropertiesSection = function(type) {
7449
7457
  getInputField("bottomLabel_1", "First BottomLabel"),
7450
7458
  getInputField("bottomLabel_2", "Second BottomLabel"),
7451
7459
  getInputField("bottomLabel_3", "Third BottomLabel"),
7452
- emptyBox,
7453
- emptyBox
7460
+ emptyBox$1("ProgressBarCardEmpty1"),
7461
+ emptyBox$1("ProgressBarCardEmpty2")
7454
7462
  ];
7455
7463
  break;
7456
7464
  case "card":
7457
7465
  uiSchema.elements = [
7458
7466
  getInputField("url", "Image Url"),
7459
7467
  getInputField("label", "Label"),
7468
+ getInputField("titleIcon", "Unicode of Icon for title"),
7460
7469
  getInputField("description", "Description"),
7461
- emptyBox
7470
+ emptyBox$1("cardEmpty", { xs: 6, sm: 6, md: 0, lg: 0 })
7462
7471
  ];
7463
7472
  break;
7464
7473
  case "Button":
@@ -7468,7 +7477,7 @@ const buildPropertiesSection = function(type) {
7468
7477
  getSelectField("color", "Color"),
7469
7478
  getInputField("tooltipMessage", "Tooltip Message"),
7470
7479
  getSelectField("defaultStyle", "Default Style"),
7471
- emptyBox
7480
+ emptyBox$1("ButtonEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 })
7472
7481
  ];
7473
7482
  break;
7474
7483
  case "Graph":
@@ -7478,10 +7487,11 @@ const buildPropertiesSection = function(type) {
7478
7487
  getSelectField("graphType", "Graph Type"),
7479
7488
  getInputField("leftLabel", "Left Label"),
7480
7489
  getInputField("bottomLabel", "Bottom Label"),
7490
+ emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
7481
7491
  getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
7482
7492
  getInputField("yAxisValue", "Y-AxisValue"),
7483
7493
  getInputField("xAxisValue", "X-AxisValue"),
7484
- emptyBox,
7494
+ emptyBox$1("GraphEmpty2"),
7485
7495
  getArrayControl("legendLabels", "label"),
7486
7496
  getArrayControl("pieArcColors", "color")
7487
7497
  ];
@@ -7492,15 +7502,15 @@ const buildPropertiesSection = function(type) {
7492
7502
  getRadioInputField("isAccordion", "Accordion", ["YES", "No"]),
7493
7503
  getRadioInputField("defaultStyle", "Default Style", ["YES", "No"]),
7494
7504
  getInputField("rowSpacing", "Row Spacing"),
7495
- emptyBox,
7496
- emptyBox
7505
+ emptyBox$1("WrapperSectionEmpty1", { xs: 6, sm: 0, md: 4, lg: 4 }),
7506
+ emptyBox$1("WrapperSectionEmpty2")
7497
7507
  ];
7498
7508
  break;
7499
7509
  case "TabSection":
7500
7510
  uiSchema.elements = [
7501
7511
  getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
7502
7512
  getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
7503
- emptyBox,
7513
+ emptyBox$1("TabEmpty"),
7504
7514
  getArrayControl("sectionLabels", "label")
7505
7515
  ];
7506
7516
  break;
@@ -7512,17 +7522,15 @@ const buildPropertiesSection = function(type) {
7512
7522
  getRadioInputField("ColumnResizingAvailable", "ColumnResizing ", ["YES", "NO"]),
7513
7523
  getRadioInputField("DragAvailable", "Row Dragging", ["YES", "NO"]),
7514
7524
  getRadioInputField("downloadAllData", "Download All Data", ["YES", "NO"]),
7515
- getRadioInputField("autoHeaders", "Auto Header", ["YES", "NO"]),
7516
7525
  getInputField("selectKey", "Selection Key"),
7517
- emptyBox,
7518
- emptyBox,
7526
+ emptyBox$1("LazyLoadingTableEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
7519
7527
  buildWrapper("Tree Table Properties", [
7520
7528
  getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
7521
7529
  getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
7522
7530
  getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
7523
7531
  getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
7524
- emptyBox,
7525
- emptyBox
7532
+ emptyBox$1("LazyLoadingTableEmpty2"),
7533
+ emptyBox$1("LazyLoadingTableEmpty3")
7526
7534
  ]),
7527
7535
  getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
7528
7536
  sizeHolder
@@ -7537,14 +7545,14 @@ const buildPropertiesSection = function(type) {
7537
7545
  uiSchema.elements = [
7538
7546
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
7539
7547
  getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
7540
- emptyBox
7548
+ emptyBox$1("SelectEmpty")
7541
7549
  ];
7542
7550
  break;
7543
7551
  case "MultipleSelect":
7544
7552
  uiSchema.elements = [
7545
7553
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
7546
- emptyBox,
7547
- emptyBox
7554
+ emptyBox$1("MultipleSelectEmpty1", { xs: 0, sm: 6, md: 4, lg: 4 }),
7555
+ emptyBox$1("MultipleSelectEmpty2")
7548
7556
  ];
7549
7557
  break;
7550
7558
  }
@@ -7704,7 +7712,7 @@ const ValueTab = {
7704
7712
  widget: "InputField"
7705
7713
  },
7706
7714
  config: {
7707
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7715
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7708
7716
  main: {
7709
7717
  label: "Label"
7710
7718
  }
@@ -7717,7 +7725,7 @@ const ValueTab = {
7717
7725
  widget: "InputField"
7718
7726
  },
7719
7727
  config: {
7720
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7728
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7721
7729
  main: {
7722
7730
  label: "Value"
7723
7731
  }
@@ -7730,7 +7738,7 @@ const ValueTab = {
7730
7738
  widget: "EmptyBox"
7731
7739
  },
7732
7740
  config: {
7733
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
7741
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7734
7742
  }
7735
7743
  }
7736
7744
  ]
@@ -7758,7 +7766,7 @@ const ValidationSection = {
7758
7766
  widget: "SelectInputField"
7759
7767
  },
7760
7768
  config: {
7761
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7769
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7762
7770
  main: {
7763
7771
  label: "Validation Type"
7764
7772
  }
@@ -7771,7 +7779,7 @@ const ValidationSection = {
7771
7779
  widget: "InputField"
7772
7780
  },
7773
7781
  config: {
7774
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7782
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7775
7783
  main: {
7776
7784
  label: "Validation Value"
7777
7785
  }
@@ -7784,7 +7792,7 @@ const ValidationSection = {
7784
7792
  widget: "EmptyBox"
7785
7793
  },
7786
7794
  config: {
7787
- layout: { xs: 0, sm: 4 }
7795
+ layout: { xs: 0, sm: 0, md: 4 }
7788
7796
  }
7789
7797
  }
7790
7798
  ]
@@ -8330,7 +8338,7 @@ const EventUiSchema = (theme) => {
8330
8338
  widget: "SelectInputField"
8331
8339
  },
8332
8340
  config: {
8333
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8341
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8334
8342
  main: {
8335
8343
  label: "Event Type",
8336
8344
  type: "text"
@@ -8450,17 +8458,7 @@ const EventUiSchema = (theme) => {
8450
8458
  widget: "EmptyBox"
8451
8459
  },
8452
8460
  config: {
8453
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8454
- }
8455
- },
8456
- {
8457
- type: "Control",
8458
- scope: "#/properties/EmptyBox",
8459
- options: {
8460
- widget: "EmptyBox"
8461
- },
8462
- config: {
8463
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8461
+ layout: { xs: 4, sm: 8 }
8464
8462
  }
8465
8463
  },
8466
8464
  {
@@ -8470,7 +8468,7 @@ const EventUiSchema = (theme) => {
8470
8468
  widget: "Button"
8471
8469
  },
8472
8470
  config: {
8473
- layout: 1.8,
8471
+ layout: { xs: 4, sm: 2 },
8474
8472
  main: {
8475
8473
  name: "Ok",
8476
8474
  startIcon: "ApproveIcon",
@@ -8491,7 +8489,7 @@ const EventUiSchema = (theme) => {
8491
8489
  widget: "Button"
8492
8490
  },
8493
8491
  config: {
8494
- layout: 1.8,
8492
+ layout: { xs: 4, sm: 2 },
8495
8493
  main: {
8496
8494
  name: "Save & Exit",
8497
8495
  startIcon: "ApproveIcon",
@@ -8667,7 +8665,7 @@ const EventUiSchema = (theme) => {
8667
8665
  height: 0,
8668
8666
  margin: 0,
8669
8667
  top: 0,
8670
- right: "82px",
8668
+ right: { xs: "12px", sm: "84px" },
8671
8669
  position: "absolute",
8672
8670
  fontSize: "12px",
8673
8671
  cursor: "pointer",
@@ -8689,6 +8687,7 @@ const EventUiSchema = (theme) => {
8689
8687
  onClick: "backHandler"
8690
8688
  },
8691
8689
  style: {
8690
+ display: { xs: "none", sm: "flex" },
8692
8691
  textAlign: "left",
8693
8692
  lineHeight: 1,
8694
8693
  height: 0,
@@ -8723,7 +8722,7 @@ const APISection = {
8723
8722
  widget: "SelectInputField"
8724
8723
  },
8725
8724
  config: {
8726
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8725
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8727
8726
  main: {
8728
8727
  label: "Method",
8729
8728
  type: "text"
@@ -8737,7 +8736,7 @@ const APISection = {
8737
8736
  widget: "InputField"
8738
8737
  },
8739
8738
  config: {
8740
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8739
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8741
8740
  main: {
8742
8741
  label: "Path",
8743
8742
  type: "text",
@@ -8753,7 +8752,7 @@ const APISection = {
8753
8752
  widget: "EmptyBox"
8754
8753
  },
8755
8754
  config: {
8756
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8755
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8757
8756
  }
8758
8757
  },
8759
8758
  {
@@ -8763,7 +8762,7 @@ const APISection = {
8763
8762
  widget: "EmptyBox"
8764
8763
  },
8765
8764
  config: {
8766
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8765
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8767
8766
  }
8768
8767
  },
8769
8768
  {
@@ -8782,7 +8781,7 @@ const APISection = {
8782
8781
  widget: "InputField"
8783
8782
  },
8784
8783
  config: {
8785
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8784
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8786
8785
  main: {
8787
8786
  label: "Key"
8788
8787
  }
@@ -8795,7 +8794,7 @@ const APISection = {
8795
8794
  widget: "InputField"
8796
8795
  },
8797
8796
  config: {
8798
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8797
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8799
8798
  main: {
8800
8799
  label: "Value"
8801
8800
  }
@@ -8808,7 +8807,7 @@ const APISection = {
8808
8807
  widget: "EmptyBox"
8809
8808
  },
8810
8809
  config: {
8811
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8810
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8812
8811
  }
8813
8812
  }
8814
8813
  ]
@@ -8831,7 +8830,7 @@ const APISection = {
8831
8830
  widget: "InputField"
8832
8831
  },
8833
8832
  config: {
8834
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8833
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8835
8834
  main: {
8836
8835
  label: "Key"
8837
8836
  }
@@ -8844,7 +8843,7 @@ const APISection = {
8844
8843
  widget: "InputField"
8845
8844
  },
8846
8845
  config: {
8847
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8846
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8848
8847
  main: {
8849
8848
  label: "Value"
8850
8849
  }
@@ -8857,7 +8856,7 @@ const APISection = {
8857
8856
  widget: "EmptyBox"
8858
8857
  },
8859
8858
  config: {
8860
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8859
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8861
8860
  }
8862
8861
  }
8863
8862
  ]
@@ -8885,7 +8884,7 @@ const refreshSectionUiSchema = {
8885
8884
  widget: "InputField"
8886
8885
  },
8887
8886
  config: {
8888
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8887
+ layout: { xs: 12, sm: 6, md: 4, lg: 4 },
8889
8888
  main: {
8890
8889
  label: "Value"
8891
8890
  }
@@ -8898,7 +8897,7 @@ const refreshSectionUiSchema = {
8898
8897
  widget: "EmptyBox"
8899
8898
  },
8900
8899
  config: {
8901
- layout: { xs: 0, sm: 4, md: 4, lg: 4 },
8900
+ layout: { xs: 0, sm: 6, md: 4, lg: 4 },
8902
8901
  main: {}
8903
8902
  }
8904
8903
  },
@@ -8909,7 +8908,7 @@ const refreshSectionUiSchema = {
8909
8908
  widget: "EmptyBox"
8910
8909
  },
8911
8910
  config: {
8912
- layout: { xs: 0, sm: 4, md: 4, lg: 4 },
8911
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 },
8913
8912
  main: {}
8914
8913
  }
8915
8914
  }
@@ -8919,6 +8918,18 @@ const refreshSectionUiSchema = {
8919
8918
  }
8920
8919
  ]
8921
8920
  };
8921
+ var emptyBox = {
8922
+ type: "Control",
8923
+ scope: "#/properties/emptyBox",
8924
+ options: {
8925
+ widget: "EmptyBox"
8926
+ },
8927
+ config: {
8928
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
8929
+ main: {},
8930
+ style: {}
8931
+ }
8932
+ };
8922
8933
  var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8923
8934
  return {
8924
8935
  setPage: async function() {
@@ -8934,7 +8945,19 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8934
8945
  if (handlerType) {
8935
8946
  if (handlerType === "custom") {
8936
8947
  uiSchema.elements[1].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
8937
- uiSchema.elements[1].elements[0].elements[3] = getTextArea("eventCode", "Write Custom Code", false);
8948
+ uiSchema.elements[1].elements[0].elements[3] = {
8949
+ type: "Control",
8950
+ scope: "#/properties/emptyBox",
8951
+ options: {
8952
+ widget: "EmptyBox"
8953
+ },
8954
+ config: {
8955
+ layout: { xs: 0, sm: 6, md: 0, lg: 0 },
8956
+ main: {},
8957
+ style: {}
8958
+ }
8959
+ };
8960
+ uiSchema.elements[1].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
8938
8961
  schema2.required = ["eventType", "Handler", "eventCode"];
8939
8962
  } else if (handlerType === "api") {
8940
8963
  uiSchema.elements[1].elements[0].elements[2] = emptyBox;
@@ -8942,7 +8965,19 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8942
8965
  schema2.required = ["eventType", "Handler", "method", "path"];
8943
8966
  } else if (handlerType === "inBuiltFunction") {
8944
8967
  uiSchema.elements[1].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
8945
- uiSchema.elements[1].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
8968
+ uiSchema.elements[1].elements[0].elements[3] = {
8969
+ type: "Control",
8970
+ scope: "#/properties/emptyBox",
8971
+ options: {
8972
+ widget: "EmptyBox"
8973
+ },
8974
+ config: {
8975
+ layout: { xs: 6, sm: 6, md: 0, lg: 0 },
8976
+ main: {},
8977
+ style: {}
8978
+ }
8979
+ };
8980
+ uiSchema.elements[1].elements[0].elements[4] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
8946
8981
  schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
8947
8982
  } else if (handlerType === "refresh") {
8948
8983
  uiSchema.elements[1].elements[0].elements[2] = emptyBox;
@@ -9459,7 +9494,7 @@ var service = (funcParams) => {
9459
9494
  height: 0,
9460
9495
  margin: 0,
9461
9496
  top: 0,
9462
- right: "82px",
9497
+ right: { xs: "12px", sm: "84px" },
9463
9498
  position: "absolute",
9464
9499
  fontSize: "12px",
9465
9500
  cursor: "pointer",
@@ -9481,6 +9516,7 @@ var service = (funcParams) => {
9481
9516
  onClick: "backHandler"
9482
9517
  },
9483
9518
  style: {
9519
+ display: { xs: "none", sm: "flex" },
9484
9520
  textAlign: "left",
9485
9521
  lineHeight: 1,
9486
9522
  height: 0,
@@ -10107,7 +10143,7 @@ const buildProgressBar = (config, componentScope) => {
10107
10143
  if (config.layout) {
10108
10144
  ProgressBar.config.layout = config.layout;
10109
10145
  }
10110
- ProgressBar.config.main.heading = config.heading;
10146
+ ProgressBar.config.main.heading = config.label;
10111
10147
  if (config.bottomLabel_3) {
10112
10148
  ProgressBar.config.main.bottomLabel_3 = config.bottomLabel_3;
10113
10149
  }
@@ -10168,7 +10204,6 @@ const LineGraph = {
10168
10204
  hideBottomAxisLine: false,
10169
10205
  legend: {
10170
10206
  labelColor: "green",
10171
- legendTitle: "Our Assests",
10172
10207
  direction: "row",
10173
10208
  align: "right",
10174
10209
  colorRectWidth: 20
@@ -10201,11 +10236,15 @@ const buildHorizontalBarGraph = (config, componentScope) => {
10201
10236
  if (config.layout) {
10202
10237
  horizontalBarGraph.config.layout = createLayoutFormat(config.layout);
10203
10238
  }
10239
+ horizontalBarGraph.config.main.type = config.graphType;
10204
10240
  horizontalBarGraph.scope = componentScope;
10205
10241
  horizontalBarGraph.config.main.header = config.heading;
10206
10242
  if (config.barColor) {
10207
10243
  horizontalBarGraph.config.barStyle.color = config.barColor;
10208
10244
  }
10245
+ if (config.xAxisValue) {
10246
+ horizontalBarGraph.config.main.xAxisValue = config.xAxisValue;
10247
+ }
10209
10248
  if (config.containerBackground) {
10210
10249
  horizontalBarGraph.config.containerStyle.background = config.containerBackground;
10211
10250
  }
@@ -10337,6 +10376,9 @@ const buildPieGraph = (config, componentScope) => {
10337
10376
  if (config.legendLabels) {
10338
10377
  pieGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
10339
10378
  }
10379
+ if (config.xAxisValue) {
10380
+ pieGraph.config.main.xAxisValue = config.xAxisValue;
10381
+ }
10340
10382
  if (config.pieArcColors) {
10341
10383
  pieGraph.config.style = {
10342
10384
  pieStyle: {
@@ -10359,6 +10401,9 @@ const buildStackbarGraph = (config, componentScope) => {
10359
10401
  if (config.barColor) {
10360
10402
  barGraph.config.barStyle.color = config.barColor;
10361
10403
  }
10404
+ if (config.xAxisValue) {
10405
+ barGraph.config.main.xAxisValue = config.xAxisValue;
10406
+ }
10362
10407
  if (config.height) {
10363
10408
  barGraph.config.style.containerStyle.height = config.height;
10364
10409
  }
@@ -10452,7 +10497,7 @@ var TextInputField = {
10452
10497
  widget: "InputField"
10453
10498
  },
10454
10499
  config: {
10455
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
10500
+ layout: { xs: 12, sm: 6, md: 4, lg: 4 },
10456
10501
  main: {
10457
10502
  label: ""
10458
10503
  },
@@ -10485,7 +10530,7 @@ var SelectInputField = {
10485
10530
  widget: "SelectInputField"
10486
10531
  },
10487
10532
  config: {
10488
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
10533
+ layout: { xs: 12, sm: 6, md: 4, lg: 4 },
10489
10534
  main: {
10490
10535
  label: "",
10491
10536
  type: "text",
@@ -10637,9 +10682,6 @@ const buildTable = (config, componentScope) => {
10637
10682
  if (config.downloadAllData) {
10638
10683
  table.config.main.downloadAllData = config.downloadAllData === "YES" ? true : false;
10639
10684
  }
10640
- if (config.autoHeaders) {
10641
- table.config.main.autoHeaders = config.autoHeaders === "YES" ? true : false;
10642
- }
10643
10685
  if (config.Table_Download_Keys_Name) {
10644
10686
  table.config.main.TableDownloadKeysName = config.Table_Download_Keys_Name.map((e) => e.KeyName);
10645
10687
  }
@@ -10712,7 +10754,7 @@ const uploadFile = {
10712
10754
  "style": {
10713
10755
  "backgroundColor": "none"
10714
10756
  },
10715
- layout: { xs: 11, sm: 4, md: 4, lg: 4 }
10757
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 }
10716
10758
  },
10717
10759
  "options": {
10718
10760
  "widget": "UploadFile"
@@ -10729,7 +10771,7 @@ const downloadFile = {
10729
10771
  "style": {
10730
10772
  "backgroundColor": "none"
10731
10773
  },
10732
- layout: { xs: 11, sm: 4, md: 4, lg: 4 }
10774
+ layout: { xs: 12, sm: 6, md: 4, lg: 4 }
10733
10775
  },
10734
10776
  "options": {
10735
10777
  "widget": "DownloadFile"
@@ -10774,121 +10816,173 @@ const buildDownloadFile = (config, componentScope) => {
10774
10816
  }
10775
10817
  return DownloadFile;
10776
10818
  };
10777
- var Card = {
10778
- type: "WrapperLayout",
10779
- config: {
10780
- main: {
10781
- rowSpacing: 0.5
10782
- },
10783
- componentsBoxStyle: {
10784
- position: "relative",
10785
- color: "white",
10786
- height: { xs: "120px", md: "160px" },
10787
- width: "100%",
10788
- textAlign: "left",
10789
- background: "#3f51b5",
10790
- borderRadius: "20px"
10791
- },
10792
- layout: { xs: 12, sm: 12, md: 6, lg: 6 }
10793
- },
10794
- elements: [
10795
- {
10796
- type: "Control",
10797
- scope: "#/properties/programType",
10798
- config: {
10799
- main: {
10800
- heading: "$5000.00"
10801
- },
10802
- style: {
10803
- position: "absolute",
10804
- left: "10%",
10805
- top: "15%",
10806
- color: "#f5effc",
10807
- height: "80px",
10808
- display: "flex",
10809
- fontSize: { xs: "24px", md: "32px" },
10810
- alignItems: "center",
10811
- background: "inherit",
10812
- justifyContent: "flex-start"
10813
- },
10814
- layout: 5
10819
+ function Card(theme) {
10820
+ const uiSchema = {
10821
+ type: "WrapperLayout",
10822
+ config: {
10823
+ main: {},
10824
+ wrapperStyle: {},
10825
+ componentsBoxStyle: {
10826
+ boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.1)",
10827
+ flexDirection: "row",
10828
+ flexWrap: "nowrap",
10829
+ width: "100%",
10830
+ background: "transparent",
10831
+ border: `1.5px solid ${theme.palette.primary.light}`,
10832
+ borderRadius: "8px",
10833
+ padding: "0px 4px",
10834
+ "&: hover": {
10835
+ background: `${theme.palette.primary.main}`,
10836
+ border: `1.5px solid black`,
10837
+ "& p": {
10838
+ color: "white"
10839
+ }
10840
+ }
10815
10841
  },
10816
- options: {
10817
- widget: "Box"
10818
- }
10842
+ layout: { xs: 12, sm: 12, md: 6, lg: 6 }
10819
10843
  },
10820
- {
10821
- type: "Control",
10822
- scope: "#/properties/programType",
10823
- config: {
10824
- main: {
10825
- url: "https://www.svgrepo.com/show/500606/loading.svg"
10826
- },
10827
- style: {
10828
- color: "#f5effc",
10829
- objectFit: "contain",
10830
- position: "absolute",
10831
- top: "10px",
10832
- right: "10px",
10833
- height: "80%",
10834
- width: "35%",
10835
- display: "flex",
10836
- fontSize: "34px",
10837
- alignItems: "center",
10838
- background: "inherit",
10839
- padding: "20px",
10840
- justifyContent: "left"
10844
+ elements: [
10845
+ {
10846
+ type: "HorizontalLayout",
10847
+ config: {
10848
+ layout: 8
10841
10849
  },
10842
- layout: 5
10850
+ elements: [
10851
+ {
10852
+ type: "WrapperLayout",
10853
+ config: {
10854
+ main: {
10855
+ columnSpacing: 0,
10856
+ gap: 0
10857
+ },
10858
+ wrapperStyle: {
10859
+ background: "transparent"
10860
+ },
10861
+ componentsBoxStyle: {
10862
+ flexDirection: "column",
10863
+ flexWrap: "nowrap",
10864
+ width: "100%",
10865
+ height: "inherit",
10866
+ background: "transparent",
10867
+ borderRadius: "0px"
10868
+ },
10869
+ layout: 12
10870
+ },
10871
+ elements: [
10872
+ {
10873
+ type: "Control",
10874
+ scope: "#/properties/programType",
10875
+ config: {
10876
+ main: {
10877
+ heading: "$5000.00"
10878
+ },
10879
+ style: {
10880
+ color: "black",
10881
+ display: "flex",
10882
+ fontSize: { xs: "24px", md: "28px" },
10883
+ fontWeight: "bold",
10884
+ background: "inherit",
10885
+ justifyContent: "flex-start",
10886
+ width: "calc(100%+8px)",
10887
+ margin: "-8px"
10888
+ },
10889
+ layout: 12
10890
+ },
10891
+ options: {
10892
+ widget: "Box"
10893
+ }
10894
+ },
10895
+ {
10896
+ type: "Control",
10897
+ scope: "#/properties/programType",
10898
+ config: {
10899
+ main: {
10900
+ heading: "Total Earnings"
10901
+ },
10902
+ style: {
10903
+ color: "black",
10904
+ fontSize: "16px",
10905
+ justifyContent: "center",
10906
+ textWrap: "wrap",
10907
+ background: "inherit",
10908
+ width: "calc(100%+8pc)",
10909
+ margin: "-8px",
10910
+ marginTop: "-12px",
10911
+ lineHeight: "1"
10912
+ },
10913
+ layout: 12
10914
+ },
10915
+ options: {
10916
+ widget: "Box"
10917
+ }
10918
+ }
10919
+ ]
10920
+ }
10921
+ ]
10843
10922
  },
10844
- options: {
10845
- widget: "Image"
10846
- }
10847
- },
10848
- {
10849
- type: "Control",
10850
- scope: "#/properties/programType",
10851
- config: {
10852
- main: {
10853
- heading: "Total Earnings"
10854
- },
10855
- style: {
10856
- position: "absolute",
10857
- top: "calc(60%)",
10858
- alignItems: "center",
10859
- color: "#8999e8",
10860
- fontSize: "16px",
10861
- left: "10%",
10862
- background: "inherit",
10863
- justifyContent: "center"
10923
+ {
10924
+ type: "Control",
10925
+ scope: "#/properties/programType",
10926
+ config: {
10927
+ main: {
10928
+ url: "https://www.svgrepo.com/show/500606/loading.svg"
10929
+ },
10930
+ style: {
10931
+ containerStyle: {
10932
+ height: "100%",
10933
+ display: "flex",
10934
+ justifyContent: "center"
10935
+ },
10936
+ imageStyle: {
10937
+ height: "100%",
10938
+ fontSize: "none",
10939
+ padding: "4px",
10940
+ marginLeft: "8px"
10941
+ }
10942
+ },
10943
+ layout: 4
10864
10944
  },
10865
- layout: 12
10866
- },
10867
- options: {
10868
- widget: "Box"
10945
+ options: {
10946
+ widget: "Image"
10947
+ }
10869
10948
  }
10870
- }
10871
- ]
10872
- };
10873
- const buildCard = (config, componentScope) => {
10874
- const card = _.cloneDeep(Card);
10949
+ ]
10950
+ };
10951
+ return uiSchema;
10952
+ }
10953
+ function convertUnicodeToCharacter(unicodeInput) {
10954
+ try {
10955
+ const cleanedInput = unicodeInput.replace(/^U\+/i, "");
10956
+ const codePoint = parseInt(cleanedInput, 16);
10957
+ const character = String.fromCodePoint(codePoint);
10958
+ return character;
10959
+ } catch (error) {
10960
+ return "Invalid Unicode input.";
10961
+ }
10962
+ }
10963
+ const buildCard = (config, componentScope, store2) => {
10964
+ const card = _.cloneDeep(Card(store2.theme.myTheme));
10875
10965
  if (config.style) {
10876
10966
  card.config.style = JSON.parse(config.style);
10877
10967
  }
10878
- card.elements[0].scope = `#/properties/${config.name}/properties/value`;
10968
+ card.elements[0].elements[0].elements[0].scope = `#/properties/${config.name}/properties/value`;
10879
10969
  card.elements[1].scope = `#/properties/${config.name}/properties/url`;
10880
- card.elements[2].scope = `#/properties/${config.name}/properties/description`;
10970
+ card.elements[0].elements[0].elements[1].scope = `#/properties/${config.name}/properties/description`;
10881
10971
  if (config.layout) {
10882
10972
  card.config.layout = createLayoutFormat(config.layout);
10883
10973
  }
10884
10974
  if (config.label) {
10885
- card.elements[0].config.main.heading = config.label;
10975
+ if (config == null ? void 0 : config.titleIcon) {
10976
+ card.elements[0].elements[0].elements[0].config.main.heading = convertUnicodeToCharacter(config.titleIcon) + config.label;
10977
+ } else {
10978
+ card.elements[0].elements[0].elements[0].config.main.heading = config.label;
10979
+ }
10886
10980
  }
10887
10981
  if (config.url) {
10888
10982
  card.elements[1].config.main.url = config.url;
10889
10983
  }
10890
10984
  if (config.description) {
10891
- card.elements[2].config.main.heading = config.description;
10985
+ card.elements[0].elements[0].elements[1].config.main.heading = config.description;
10892
10986
  }
10893
10987
  return card;
10894
10988
  };
@@ -10899,7 +10993,7 @@ var DateInputField = {
10899
10993
  widget: "DateInputField"
10900
10994
  },
10901
10995
  config: {
10902
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
10996
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
10903
10997
  main: {
10904
10998
  label: "",
10905
10999
  type: "date"
@@ -10913,7 +11007,7 @@ const DateTime = {
10913
11007
  widget: "DateTimeInputField"
10914
11008
  },
10915
11009
  config: {
10916
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
11010
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
10917
11011
  main: {
10918
11012
  label: "DateTime",
10919
11013
  type: "date"
@@ -11040,7 +11134,7 @@ var MultipleSelect = {
11040
11134
  widget: "MultipleSelect"
11041
11135
  },
11042
11136
  config: {
11043
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
11137
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
11044
11138
  main: {
11045
11139
  label: "",
11046
11140
  type: "text",
@@ -11206,7 +11300,7 @@ const RadioUiSchema = {
11206
11300
  widget: "RadioInputField"
11207
11301
  },
11208
11302
  config: {
11209
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
11303
+ layout: { xs: 12, sm: 6, md: 4, lg: 4 },
11210
11304
  main: {
11211
11305
  label: "Enabled",
11212
11306
  options: ["YES", "NO"],
@@ -11315,7 +11409,7 @@ const FileInput = {
11315
11409
  widget: "FileInputField"
11316
11410
  },
11317
11411
  config: {
11318
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
11412
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
11319
11413
  main: {
11320
11414
  required: false,
11321
11415
  onUpload: "onFileUpload",
@@ -11669,7 +11763,7 @@ const buildSchema = (config, tableName, isArrayType) => {
11669
11763
  }
11670
11764
  return schema;
11671
11765
  };
11672
- const buildUiSchema = (config) => {
11766
+ const buildUiSchema = (config, store2) => {
11673
11767
  let elements = {};
11674
11768
  const componentScope = `#/properties/${config.name}`;
11675
11769
  switch (config.type) {
@@ -11752,7 +11846,7 @@ const buildUiSchema = (config) => {
11752
11846
  elements = buildEmptyBox(config);
11753
11847
  break;
11754
11848
  case "card":
11755
- elements = buildCard(config);
11849
+ elements = buildCard(config, componentScope, store2);
11756
11850
  break;
11757
11851
  case "Graph":
11758
11852
  switch (config.graphType) {
@@ -11767,6 +11861,7 @@ const buildUiSchema = (config) => {
11767
11861
  elements = buildPieGraph(config, componentScope);
11768
11862
  break;
11769
11863
  case "HorizontalBarGraph":
11864
+ case "HorizontalStackBarGraph":
11770
11865
  elements = buildHorizontalBarGraph(config, componentScope);
11771
11866
  break;
11772
11867
  }
@@ -11829,7 +11924,7 @@ const buildUiSchema = (config) => {
11829
11924
  header: cellElem.label || cellElem.name,
11830
11925
  size: sizeMap[cellElem.name] || 180,
11831
11926
  type: cellElem.columnFormat,
11832
- elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem)) : []
11927
+ elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store2)) : []
11833
11928
  };
11834
11929
  });
11835
11930
  } else if (config.type == "Table") {
@@ -11846,8 +11941,8 @@ const buildUiSchema = (config) => {
11846
11941
  header: cellElem.label || cellElem.name,
11847
11942
  size: sizeMap[cellElem.name] || 180,
11848
11943
  type: cellElem.columnFormat,
11849
- widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem) : void 0,
11850
- elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem)) : []
11944
+ widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store2) : void 0,
11945
+ elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store2)) : []
11851
11946
  };
11852
11947
  } else {
11853
11948
  return {
@@ -11860,11 +11955,11 @@ const buildUiSchema = (config) => {
11860
11955
  });
11861
11956
  } else if (config.type == "Array") {
11862
11957
  elements.options.detail.elements = config.elements.map((e, elemInd) => {
11863
- return buildUiSchema(e);
11958
+ return buildUiSchema(e, store2);
11864
11959
  });
11865
11960
  } else {
11866
11961
  elements.elements = config.elements.map((e, elemInd) => {
11867
- return buildUiSchema(e);
11962
+ return buildUiSchema(e, store2);
11868
11963
  });
11869
11964
  }
11870
11965
  }