impaktapps-ui-builder 0.0.595 → 0.0.961

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 (55) hide show
  1. package/dist/impaktapps-ui-builder.es.js +482 -349
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +16 -16
  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/buildTable.d.ts +0 -1
  7. package/dist/src/impaktapps-ui-builder/builder/build/buildUiSchema.d.ts +1 -1
  8. package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +1 -0
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +23 -0
  10. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +104 -83
  11. package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +0 -1
  12. package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +1 -1
  13. package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +4 -4
  14. package/dist/src/impaktapps-ui-builder/lib/index.d.ts +1 -1
  15. package/package.json +1 -1
  16. package/src/impaktapps-ui-builder/builder/build/buildCard.ts +6 -6
  17. package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
  18. package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +4 -0
  19. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +3 -1
  20. package/src/impaktapps-ui-builder/builder/build/buildProgressBar.ts +1 -1
  21. package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +1 -1
  22. package/src/impaktapps-ui-builder/builder/build/buildSchema.ts +1 -1
  23. package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +3 -0
  24. package/src/impaktapps-ui-builder/builder/build/buildTable.ts +23 -29
  25. package/src/impaktapps-ui-builder/builder/build/buildTextArea.ts +6 -0
  26. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +20 -12
  27. package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +16 -19
  28. package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +10 -10
  29. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +98 -50
  30. package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +1 -1
  31. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +132 -90
  32. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +11 -11
  33. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -3
  34. package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -2
  35. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +0 -1
  36. package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +6 -7
  37. package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
  38. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +3 -3
  39. package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -1
  40. package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -1
  41. package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +3 -3
  42. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +3 -3
  43. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +32 -1
  44. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +15 -31
  45. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +18 -11
  46. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +7 -16
  47. package/src/impaktapps-ui-builder/builder/services/component.ts +15 -22
  48. package/src/impaktapps-ui-builder/builder/services/event.ts +33 -7
  49. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +12 -12
  50. package/src/impaktapps-ui-builder/builder/services/utils.ts +12 -12
  51. package/src/impaktapps-ui-builder/lib/index.ts +1 -1
  52. package/src/impaktapps-ui-builder/runtime/services/events.ts +4 -5
  53. package/src/impaktapps-ui-builder/runtime/services/service.ts +6 -6
  54. package/dist/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.d.ts +0 -15
  55. package/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.ts +0 -15
@@ -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,
@@ -6261,6 +6268,36 @@ const ComponentSchema = {
6261
6268
  }
6262
6269
  }
6263
6270
  },
6271
+ enableColumnFilter: {
6272
+ type: "array",
6273
+ items: {
6274
+ type: "object",
6275
+ properties: {
6276
+ keyName: {
6277
+ type: "string"
6278
+ }
6279
+ }
6280
+ }
6281
+ },
6282
+ filteringOptions: {
6283
+ type: "array",
6284
+ items: {
6285
+ oneOf: [
6286
+ { const: "fuzzy", title: "Fuzzy" },
6287
+ { const: "contains", title: "Contain" },
6288
+ { const: "startsWith", title: "Starts with" },
6289
+ { const: "endsWith", title: "Ends with" },
6290
+ { const: "equals", title: "Equals" },
6291
+ { const: "notEquals", title: "Not Equals" },
6292
+ { const: "between", title: "Between" },
6293
+ { const: "betweenInclusive", title: "Between inclusive" },
6294
+ { const: "greaterThan", title: "Greater than" },
6295
+ { const: "greaterThanOrEqualTo", title: "Greater than or equal to" },
6296
+ { const: "lessThan", title: "Less than" },
6297
+ { const: "lessThanOrEqualTo", title: "Less than or equal to" }
6298
+ ]
6299
+ }
6300
+ },
6264
6301
  legendLabels: {
6265
6302
  type: "array",
6266
6303
  items: {
@@ -6339,7 +6376,8 @@ const ComponentSchema = {
6339
6376
  { title: "Stack Bar Graph", const: "StackBarGraph" },
6340
6377
  { title: "Line Graph", const: "LineGraph" },
6341
6378
  { title: "Pie Graph", const: "PieGraph" },
6342
- { title: "Horizontal Bar Graph", const: "HorizontalBarGraph" }
6379
+ { title: "Horizontal Bar Graph", const: "HorizontalBarGraph" },
6380
+ { title: "Stack Horizontal Bar Graph", const: "HorizontalStackBarGraph" }
6343
6381
  ]
6344
6382
  },
6345
6383
  iconName: {
@@ -6426,7 +6464,7 @@ const componentBasicUiSchema = (theme) => {
6426
6464
  widget: "SelectInputField"
6427
6465
  },
6428
6466
  config: {
6429
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6467
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6430
6468
  main: {
6431
6469
  label: "Type"
6432
6470
  }
@@ -6439,7 +6477,7 @@ const componentBasicUiSchema = (theme) => {
6439
6477
  widget: "InputField"
6440
6478
  },
6441
6479
  config: {
6442
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6480
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6443
6481
  main: {
6444
6482
  label: "Name",
6445
6483
  options: [],
@@ -6455,7 +6493,7 @@ const componentBasicUiSchema = (theme) => {
6455
6493
  widget: "InputField"
6456
6494
  },
6457
6495
  config: {
6458
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6496
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6459
6497
  main: {
6460
6498
  label: "Label",
6461
6499
  options: [],
@@ -6471,7 +6509,7 @@ const componentBasicUiSchema = (theme) => {
6471
6509
  widget: "SelectInputField"
6472
6510
  },
6473
6511
  config: {
6474
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6512
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6475
6513
  main: {
6476
6514
  label: "Column Format"
6477
6515
  }
@@ -6481,7 +6519,7 @@ const componentBasicUiSchema = (theme) => {
6481
6519
  type: "Control",
6482
6520
  scope: "#/properties/proc",
6483
6521
  config: {
6484
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6522
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6485
6523
  },
6486
6524
  options: {
6487
6525
  widget: "EmptyBox"
@@ -6491,7 +6529,7 @@ const componentBasicUiSchema = (theme) => {
6491
6529
  type: "Control",
6492
6530
  scope: "#/properties/proc",
6493
6531
  config: {
6494
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6532
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6495
6533
  },
6496
6534
  options: {
6497
6535
  widget: "EmptyBox"
@@ -6512,7 +6550,7 @@ const componentBasicUiSchema = (theme) => {
6512
6550
  widget: "SelectInputField"
6513
6551
  },
6514
6552
  config: {
6515
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6553
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6516
6554
  main: {
6517
6555
  label: "Screen Size"
6518
6556
  }
@@ -6525,7 +6563,7 @@ const componentBasicUiSchema = (theme) => {
6525
6563
  widget: "InputField"
6526
6564
  },
6527
6565
  config: {
6528
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6566
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6529
6567
  main: {
6530
6568
  label: "Value",
6531
6569
  type: "number",
@@ -6538,7 +6576,7 @@ const componentBasicUiSchema = (theme) => {
6538
6576
  type: "Control",
6539
6577
  scope: "#/properties/proc",
6540
6578
  config: {
6541
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6579
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6542
6580
  },
6543
6581
  options: {
6544
6582
  widget: "EmptyBox"
@@ -6741,17 +6779,7 @@ const componentBasicUiSchema = (theme) => {
6741
6779
  widget: "EmptyBox"
6742
6780
  },
6743
6781
  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 }
6782
+ layout: { xs: 4, sm: 8 }
6755
6783
  }
6756
6784
  },
6757
6785
  {
@@ -6761,7 +6789,7 @@ const componentBasicUiSchema = (theme) => {
6761
6789
  widget: "Button"
6762
6790
  },
6763
6791
  config: {
6764
- layout: 1.8,
6792
+ layout: { xs: 4, sm: 2 },
6765
6793
  main: {
6766
6794
  name: "Ok",
6767
6795
  startIcon: "ApproveIcon",
@@ -6769,9 +6797,6 @@ const componentBasicUiSchema = (theme) => {
6769
6797
  type: "text",
6770
6798
  onClick: "okHandler",
6771
6799
  size: "medium"
6772
- },
6773
- style: {
6774
- float: "right"
6775
6800
  }
6776
6801
  }
6777
6802
  },
@@ -6782,7 +6807,7 @@ const componentBasicUiSchema = (theme) => {
6782
6807
  widget: "Button"
6783
6808
  },
6784
6809
  config: {
6785
- layout: 1.8,
6810
+ layout: { xs: 4, sm: 2 },
6786
6811
  main: {
6787
6812
  name: "Save & Exit",
6788
6813
  startIcon: "ApproveIcon",
@@ -6790,9 +6815,6 @@ const componentBasicUiSchema = (theme) => {
6790
6815
  type: "text",
6791
6816
  onClick: "saveHandler",
6792
6817
  size: "medium"
6793
- },
6794
- style: {
6795
- float: "right"
6796
6818
  }
6797
6819
  }
6798
6820
  },
@@ -6864,7 +6886,7 @@ const componentBasicUiSchema = (theme) => {
6864
6886
  height: 0,
6865
6887
  margin: 0,
6866
6888
  top: 0,
6867
- right: "90px",
6889
+ right: { xs: "12px", sm: "84px" },
6868
6890
  position: "absolute",
6869
6891
  fontSize: "12px",
6870
6892
  cursor: "pointer",
@@ -6886,6 +6908,7 @@ const componentBasicUiSchema = (theme) => {
6886
6908
  onClick: "backHandler"
6887
6909
  },
6888
6910
  style: {
6911
+ display: { xs: "none", sm: "flex" },
6889
6912
  textAlign: "left",
6890
6913
  lineHeight: 1,
6891
6914
  height: 0,
@@ -6896,7 +6919,7 @@ const componentBasicUiSchema = (theme) => {
6896
6919
  marginLeft: "2px",
6897
6920
  marginRight: 0,
6898
6921
  top: 3,
6899
- right: "20px",
6922
+ right: "12px",
6900
6923
  position: "absolute",
6901
6924
  ":hover": {
6902
6925
  color: theme.palette.primary.dark
@@ -6920,7 +6943,7 @@ const CoreSection = {
6920
6943
  widget: "SelectInputField"
6921
6944
  },
6922
6945
  config: {
6923
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6946
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6924
6947
  main: {
6925
6948
  label: "Type",
6926
6949
  type: "text"
@@ -6934,7 +6957,7 @@ const CoreSection = {
6934
6957
  widget: "InputField"
6935
6958
  },
6936
6959
  config: {
6937
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6960
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6938
6961
  main: {
6939
6962
  label: "Name"
6940
6963
  }
@@ -6947,7 +6970,7 @@ const CoreSection = {
6947
6970
  widget: "InputField"
6948
6971
  },
6949
6972
  config: {
6950
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6973
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6951
6974
  main: {
6952
6975
  label: "Label"
6953
6976
  }
@@ -6960,7 +6983,7 @@ const CoreSection = {
6960
6983
  widget: "SelectInputField"
6961
6984
  },
6962
6985
  config: {
6963
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6986
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6964
6987
  main: {
6965
6988
  label: "Column Format"
6966
6989
  }
@@ -6970,7 +6993,7 @@ const CoreSection = {
6970
6993
  type: "Control",
6971
6994
  scope: "#/properties/proc",
6972
6995
  config: {
6973
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6996
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6974
6997
  },
6975
6998
  options: {
6976
6999
  widget: "EmptyBox"
@@ -6980,7 +7003,7 @@ const CoreSection = {
6980
7003
  type: "Control",
6981
7004
  scope: "#/properties/proc",
6982
7005
  config: {
6983
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
7006
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6984
7007
  },
6985
7008
  options: {
6986
7009
  widget: "EmptyBox"
@@ -7002,7 +7025,7 @@ const CoreSection = {
7002
7025
  widget: "SelectInputField"
7003
7026
  },
7004
7027
  config: {
7005
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7028
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7006
7029
  main: {
7007
7030
  label: "Screen Size"
7008
7031
  }
@@ -7015,7 +7038,7 @@ const CoreSection = {
7015
7038
  widget: "InputField"
7016
7039
  },
7017
7040
  config: {
7018
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7041
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7019
7042
  main: {
7020
7043
  label: "Value",
7021
7044
  type: "number",
@@ -7028,7 +7051,7 @@ const CoreSection = {
7028
7051
  type: "Control",
7029
7052
  scope: "#/properties/proc",
7030
7053
  config: {
7031
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
7054
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7032
7055
  },
7033
7056
  options: {
7034
7057
  widget: "EmptyBox"
@@ -7141,17 +7164,29 @@ const EventSection = (theme) => {
7141
7164
  };
7142
7165
  return uiSchema;
7143
7166
  };
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: {}
7167
+ const emptyBox$1 = (scope, layout) => {
7168
+ if (layout !== void 0) {
7169
+ return {
7170
+ type: "Control",
7171
+ scope: `#/properties/${scope}`,
7172
+ options: {
7173
+ widget: "EmptyBox"
7174
+ },
7175
+ config: {
7176
+ layout
7177
+ }
7178
+ };
7154
7179
  }
7180
+ return {
7181
+ type: "Control",
7182
+ scope: "#/properties/empty",
7183
+ options: {
7184
+ widget: "EmptyBox"
7185
+ },
7186
+ config: {
7187
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7188
+ }
7189
+ };
7155
7190
  };
7156
7191
  const cardLayout = {
7157
7192
  type: "Control",
@@ -7168,7 +7203,7 @@ const cardLayout = {
7168
7203
  widget: "SelectInputField"
7169
7204
  },
7170
7205
  config: {
7171
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7206
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7172
7207
  main: {
7173
7208
  label: "Screen Size"
7174
7209
  }
@@ -7181,7 +7216,7 @@ const cardLayout = {
7181
7216
  widget: "InputField"
7182
7217
  },
7183
7218
  config: {
7184
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7219
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7185
7220
  main: {
7186
7221
  label: "Value",
7187
7222
  type: "number",
@@ -7190,7 +7225,7 @@ const cardLayout = {
7190
7225
  }
7191
7226
  }
7192
7227
  },
7193
- emptyBox
7228
+ emptyBox$1("cardEmpty")
7194
7229
  ]
7195
7230
  }
7196
7231
  }
@@ -7212,14 +7247,14 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
7212
7247
  widget: "InputField"
7213
7248
  },
7214
7249
  config: {
7215
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7250
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7216
7251
  main: {
7217
7252
  label: childLabel || "Labels for Tab"
7218
7253
  }
7219
7254
  }
7220
7255
  },
7221
- emptyBox,
7222
- emptyBox
7256
+ emptyBox$1("ArrayControlEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
7257
+ emptyBox$1("ArrayControlEmpty2", { xs: 0, sm: 0, md: 4, lg: 4 })
7223
7258
  ]
7224
7259
  }
7225
7260
  }
@@ -7233,13 +7268,13 @@ sizeHolder.options.detail.elements[1] = {
7233
7268
  widget: "InputField"
7234
7269
  },
7235
7270
  config: {
7236
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7271
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7237
7272
  main: {
7238
7273
  label: "Size"
7239
7274
  }
7240
7275
  }
7241
7276
  };
7242
- sizeHolder.options.detail.elements[2] = emptyBox;
7277
+ sizeHolder.options.detail.elements[2] = emptyBox$1("sizeHolderempty");
7243
7278
  const getInputField = (scope, label) => {
7244
7279
  return {
7245
7280
  type: "Control",
@@ -7248,7 +7283,7 @@ const getInputField = (scope, label) => {
7248
7283
  widget: "InputField"
7249
7284
  },
7250
7285
  config: {
7251
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7286
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7252
7287
  main: {
7253
7288
  label
7254
7289
  }
@@ -7263,7 +7298,7 @@ const getRadioInputField = (scope, label, options) => {
7263
7298
  widget: "RadioInputField"
7264
7299
  },
7265
7300
  config: {
7266
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7301
+ layout: { xs: 12, sm: 6, md: 4, lg: 4 },
7267
7302
  main: {
7268
7303
  label,
7269
7304
  options
@@ -7281,7 +7316,9 @@ const buildWrapper = (label, elements) => {
7281
7316
  },
7282
7317
  wrapperStyle: {
7283
7318
  marginTop: "-6px",
7284
- marginBottom: "-8px"
7319
+ marginBottom: "-8px",
7320
+ marginLeft: "-34px",
7321
+ width: "108%"
7285
7322
  },
7286
7323
  componentsBoxStyle: {
7287
7324
  marginLeft: "24px"
@@ -7313,7 +7350,8 @@ const getTextArea = (scope, heading, hideButton, layout) => {
7313
7350
  main: {
7314
7351
  heading,
7315
7352
  minRows: 8,
7316
- hideButton
7353
+ hideButton,
7354
+ enableCodeEditor: true
7317
7355
  }
7318
7356
  }
7319
7357
  };
@@ -7326,7 +7364,7 @@ const getSelectField = (scope, label, options) => {
7326
7364
  widget: "SelectInputField"
7327
7365
  },
7328
7366
  config: {
7329
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7367
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7330
7368
  main: {
7331
7369
  label,
7332
7370
  type: "text"
@@ -7334,8 +7372,25 @@ const getSelectField = (scope, label, options) => {
7334
7372
  }
7335
7373
  };
7336
7374
  };
7375
+ const getMultiSelectField = (scope, label) => {
7376
+ return {
7377
+ type: "Control",
7378
+ scope: `#/properties/${scope}`,
7379
+ options: {
7380
+ widget: "MultipleSelect"
7381
+ },
7382
+ config: {
7383
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7384
+ main: {
7385
+ multiple: true,
7386
+ label,
7387
+ options: []
7388
+ }
7389
+ }
7390
+ };
7391
+ };
7337
7392
  const GraphSection = {
7338
- type: "HorizontalLayout",
7393
+ type: "WrapperLayout",
7339
7394
  elements: []
7340
7395
  };
7341
7396
  const buildPropertiesSection = function(type) {
@@ -7348,7 +7403,7 @@ const buildPropertiesSection = function(type) {
7348
7403
  getInputField("graphHeight", "Graph Height"),
7349
7404
  getInputField("graphWidth", "Graph Width"),
7350
7405
  getInputField("graphZoomHeight", "Zoom Height"),
7351
- emptyBox
7406
+ emptyBox$1("TreeEmpty", { xs: 6, sm: 6, md: 4, lg: 4 })
7352
7407
  ];
7353
7408
  break;
7354
7409
  case "InputSlider":
@@ -7356,9 +7411,9 @@ const buildPropertiesSection = function(type) {
7356
7411
  getInputField("max", "Max Limit"),
7357
7412
  getInputField("step", "Step"),
7358
7413
  getInputField("min", "Min Limit"),
7414
+ emptyBox$1("InputSliderEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
7359
7415
  getRadioInputField("limitToMax", "Applly Max. Limit", ["YES", "NO"]),
7360
- emptyBox,
7361
- emptyBox
7416
+ emptyBox$1("InputSliderEmpty2", { xs: 0, sm: 0, md: 8, lg: 8 })
7362
7417
  ];
7363
7418
  break;
7364
7419
  case "DataGrid":
@@ -7367,8 +7422,8 @@ const buildPropertiesSection = function(type) {
7367
7422
  getInputField("elevation", "Card Elevation"),
7368
7423
  getInputField("height", "Grid height"),
7369
7424
  getInputField("justifyContent", "justifyContent"),
7370
- emptyBox,
7371
- emptyBox,
7425
+ emptyBox$1("DataGridEmpty1", { xs: 6, sm: 0, md: 4, lg: 4 }),
7426
+ emptyBox$1("DataGridEmpty1", { xs: 0, sm: 0, md: 4, lg: 4 }),
7372
7427
  cardLayout
7373
7428
  ];
7374
7429
  break;
@@ -7379,7 +7434,7 @@ const buildPropertiesSection = function(type) {
7379
7434
  getInputField("resetText", "Reset Text"),
7380
7435
  getInputField("completeText", "Complete Text"),
7381
7436
  getSelectField("orientation", "Orientation Type"),
7382
- emptyBox,
7437
+ emptyBox$1("Stepper", { xs: 6, sm: 6, md: 4, lg: 4 }),
7383
7438
  getArrayControl("sectionLabels", "label")
7384
7439
  ];
7385
7440
  break;
@@ -7387,22 +7442,23 @@ const buildPropertiesSection = function(type) {
7387
7442
  uiSchema.elements = [
7388
7443
  getRadioInputField("fullScreen", "FullScreen", ["YES", "NO"]),
7389
7444
  getRadioInputField("fullWidth", "FullWidth", ["YES", "NO"]),
7390
- getInputField("maxWidth", "Max. Width")
7445
+ getInputField("maxWidth", "Max. Width"),
7446
+ emptyBox$1("PopUpEmpty", { xs: 6, sm: 6, md: 0, lg: 0 })
7391
7447
  ];
7392
7448
  break;
7393
7449
  case "Text":
7394
7450
  uiSchema.elements = [
7395
7451
  getInputField("placeholder", "Placeholder"),
7396
- emptyBox,
7397
- emptyBox,
7452
+ emptyBox$1("TextEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
7453
+ emptyBox$1("TextEmpty1", { xs: 0, sm: 0, md: 4, lg: 4 }),
7398
7454
  getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
7399
7455
  ];
7400
7456
  break;
7401
7457
  case "TextArea":
7402
7458
  uiSchema.elements = [
7403
7459
  getInputField("placeholder", "Placeholder"),
7404
- emptyBox,
7405
- emptyBox
7460
+ getRadioInputField("enableCodeEditor", "Enable Code Editor", ["YES", "NO"]),
7461
+ getInputField("codeEditorLanguage", "Enter Code Language")
7406
7462
  ];
7407
7463
  break;
7408
7464
  case "SpeedoMeter":
@@ -7412,7 +7468,7 @@ const buildPropertiesSection = function(type) {
7412
7468
  getInputField("heading", "Container Heading"),
7413
7469
  getInputField("speedoCaption", "Speedometer Caption"),
7414
7470
  getInputField("width", "Speedometer Width"),
7415
- emptyBox
7471
+ emptyBox$1("SpeedoMeterEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 })
7416
7472
  ];
7417
7473
  break;
7418
7474
  case "RankCard":
@@ -7421,8 +7477,8 @@ const buildPropertiesSection = function(type) {
7421
7477
  getInputField("image", "Image Url"),
7422
7478
  getInputField("title", "Card Title"),
7423
7479
  getInputField("description", "Card Description"),
7424
- emptyBox,
7425
- emptyBox
7480
+ emptyBox$1("RankCardEmpty1"),
7481
+ emptyBox$1("RankCardEmpty2")
7426
7482
  ];
7427
7483
  break;
7428
7484
  case "LeaderBoard":
@@ -7431,8 +7487,8 @@ const buildPropertiesSection = function(type) {
7431
7487
  getInputField("firstImage", "First Image url"),
7432
7488
  getInputField("secondImage", "Second Image url"),
7433
7489
  getInputField("thirdImage", "Third Image url"),
7434
- emptyBox,
7435
- emptyBox,
7490
+ emptyBox$1("LeaderBoardEmpty1"),
7491
+ emptyBox$1("LeaderBoardEmpty2"),
7436
7492
  getTextArea("functionCode", "Write Compare Code", false)
7437
7493
  ];
7438
7494
  break;
@@ -7449,8 +7505,8 @@ const buildPropertiesSection = function(type) {
7449
7505
  getInputField("bottomLabel_1", "First BottomLabel"),
7450
7506
  getInputField("bottomLabel_2", "Second BottomLabel"),
7451
7507
  getInputField("bottomLabel_3", "Third BottomLabel"),
7452
- emptyBox,
7453
- emptyBox
7508
+ emptyBox$1("ProgressBarCardEmpty1"),
7509
+ emptyBox$1("ProgressBarCardEmpty2")
7454
7510
  ];
7455
7511
  break;
7456
7512
  case "card":
@@ -7458,7 +7514,7 @@ const buildPropertiesSection = function(type) {
7458
7514
  getInputField("url", "Image Url"),
7459
7515
  getInputField("label", "Label"),
7460
7516
  getInputField("description", "Description"),
7461
- emptyBox
7517
+ emptyBox$1("cardEmpty", { xs: 6, sm: 6, md: 0, lg: 0 })
7462
7518
  ];
7463
7519
  break;
7464
7520
  case "Button":
@@ -7468,7 +7524,7 @@ const buildPropertiesSection = function(type) {
7468
7524
  getSelectField("color", "Color"),
7469
7525
  getInputField("tooltipMessage", "Tooltip Message"),
7470
7526
  getSelectField("defaultStyle", "Default Style"),
7471
- emptyBox
7527
+ emptyBox$1("ButtonEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 })
7472
7528
  ];
7473
7529
  break;
7474
7530
  case "Graph":
@@ -7478,10 +7534,11 @@ const buildPropertiesSection = function(type) {
7478
7534
  getSelectField("graphType", "Graph Type"),
7479
7535
  getInputField("leftLabel", "Left Label"),
7480
7536
  getInputField("bottomLabel", "Bottom Label"),
7537
+ emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
7481
7538
  getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
7482
7539
  getInputField("yAxisValue", "Y-AxisValue"),
7483
7540
  getInputField("xAxisValue", "X-AxisValue"),
7484
- emptyBox,
7541
+ emptyBox$1("GraphEmpty2"),
7485
7542
  getArrayControl("legendLabels", "label"),
7486
7543
  getArrayControl("pieArcColors", "color")
7487
7544
  ];
@@ -7492,38 +7549,46 @@ const buildPropertiesSection = function(type) {
7492
7549
  getRadioInputField("isAccordion", "Accordion", ["YES", "No"]),
7493
7550
  getRadioInputField("defaultStyle", "Default Style", ["YES", "No"]),
7494
7551
  getInputField("rowSpacing", "Row Spacing"),
7495
- emptyBox,
7496
- emptyBox
7552
+ emptyBox$1("WrapperSectionEmpty1", { xs: 6, sm: 0, md: 4, lg: 4 }),
7553
+ emptyBox$1("WrapperSectionEmpty2")
7497
7554
  ];
7498
7555
  break;
7499
7556
  case "TabSection":
7500
7557
  uiSchema.elements = [
7501
7558
  getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
7502
7559
  getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
7503
- emptyBox,
7560
+ emptyBox$1("TabEmpty"),
7504
7561
  getArrayControl("sectionLabels", "label")
7505
7562
  ];
7506
7563
  break;
7507
7564
  case "Table":
7508
- case "LazyLoadingTable":
7509
7565
  uiSchema.elements = [
7510
7566
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
7511
7567
  getRadioInputField("SelectionAvailable", "Row Selection", ["YES", "NO"]),
7512
7568
  getRadioInputField("ColumnResizingAvailable", "ColumnResizing ", ["YES", "NO"]),
7513
7569
  getRadioInputField("DragAvailable", "Row Dragging", ["YES", "NO"]),
7514
7570
  getRadioInputField("downloadAllData", "Download All Data", ["YES", "NO"]),
7571
+ getRadioInputField("disableGlobalSearch", "Disable Global Search", ["YES", "NO"]),
7572
+ getRadioInputField("disableColumnFilter", "Disable Column Filter", ["YES", "NO"]),
7573
+ getRadioInputField("disableSorting", "Disable Sorting", ["YES", "NO"]),
7574
+ getRadioInputField("disableEditColumn", "Disable Edit Column", ["YES", "NO"]),
7575
+ getRadioInputField("disableFullScreenToggle", "Disable Full Screen", ["YES", "NO"]),
7576
+ getRadioInputField("disableDensityToggle", "Disable Density Toggle", ["YES", "NO"]),
7577
+ getRadioInputField("disableDownloadFile", "Disable Download File", ["YES", "NO"]),
7578
+ getRadioInputField("disablePagination", "Disable Pagination", ["YES", "NO"]),
7515
7579
  getInputField("selectKey", "Selection Key"),
7516
- emptyBox,
7580
+ getMultiSelectField("filteringOptions", "Filtering Options"),
7517
7581
  buildWrapper("Tree Table Properties", [
7518
7582
  getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
7519
7583
  getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
7520
7584
  getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
7521
7585
  getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
7522
- emptyBox,
7523
- emptyBox
7586
+ emptyBox$1("LazyLoadingTableEmpty2"),
7587
+ emptyBox$1("LazyLoadingTableEmpty3")
7524
7588
  ]),
7525
7589
  getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
7526
- sizeHolder
7590
+ sizeHolder,
7591
+ getArrayControl("enableColumnFilter", "keyName", "Component Name")
7527
7592
  ];
7528
7593
  break;
7529
7594
  case "Radio":
@@ -7535,14 +7600,14 @@ const buildPropertiesSection = function(type) {
7535
7600
  uiSchema.elements = [
7536
7601
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
7537
7602
  getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
7538
- emptyBox
7603
+ emptyBox$1("SelectEmpty")
7539
7604
  ];
7540
7605
  break;
7541
7606
  case "MultipleSelect":
7542
7607
  uiSchema.elements = [
7543
7608
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
7544
- emptyBox,
7545
- emptyBox
7609
+ emptyBox$1("MultipleSelectEmpty1", { xs: 0, sm: 6, md: 4, lg: 4 }),
7610
+ emptyBox$1("MultipleSelectEmpty2")
7546
7611
  ];
7547
7612
  break;
7548
7613
  }
@@ -7702,7 +7767,7 @@ const ValueTab = {
7702
7767
  widget: "InputField"
7703
7768
  },
7704
7769
  config: {
7705
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7770
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7706
7771
  main: {
7707
7772
  label: "Label"
7708
7773
  }
@@ -7715,7 +7780,7 @@ const ValueTab = {
7715
7780
  widget: "InputField"
7716
7781
  },
7717
7782
  config: {
7718
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7783
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7719
7784
  main: {
7720
7785
  label: "Value"
7721
7786
  }
@@ -7728,7 +7793,7 @@ const ValueTab = {
7728
7793
  widget: "EmptyBox"
7729
7794
  },
7730
7795
  config: {
7731
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
7796
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7732
7797
  }
7733
7798
  }
7734
7799
  ]
@@ -7756,7 +7821,7 @@ const ValidationSection = {
7756
7821
  widget: "SelectInputField"
7757
7822
  },
7758
7823
  config: {
7759
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7824
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7760
7825
  main: {
7761
7826
  label: "Validation Type"
7762
7827
  }
@@ -7769,7 +7834,7 @@ const ValidationSection = {
7769
7834
  widget: "InputField"
7770
7835
  },
7771
7836
  config: {
7772
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7837
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7773
7838
  main: {
7774
7839
  label: "Validation Value"
7775
7840
  }
@@ -7782,7 +7847,7 @@ const ValidationSection = {
7782
7847
  widget: "EmptyBox"
7783
7848
  },
7784
7849
  config: {
7785
- layout: { xs: 0, sm: 4 }
7850
+ layout: { xs: 0, sm: 0, md: 4 }
7786
7851
  }
7787
7852
  }
7788
7853
  ]
@@ -7838,8 +7903,8 @@ const flatObjectValueInArray = (config = []) => {
7838
7903
  });
7839
7904
  return data;
7840
7905
  };
7841
- const clearFromLocalStorage = () => {
7842
- localStorage.removeItem("pageFormdata");
7906
+ const clearFromSessionStorage = () => {
7907
+ sessionStorage.removeItem("pageFormdata");
7843
7908
  };
7844
7909
  const getNavigationHistory = (config, path) => {
7845
7910
  if (path) {
@@ -7865,19 +7930,19 @@ const getNavigationHistory = (config, path) => {
7865
7930
  }
7866
7931
  return void 0;
7867
7932
  };
7868
- const saveFormdataInLocalStorage = (formData, path) => {
7933
+ const saveFormdataInSessionStorage = (formData, path) => {
7869
7934
  let updatedFormdata;
7870
7935
  if (path) {
7871
- const pageFormdata = getFormdataFromLocalStorage();
7936
+ const pageFormdata = getFormdataFromSessionStorage();
7872
7937
  updatedFormdata = _.set(pageFormdata, path, buildConfig(formData));
7873
7938
  } else {
7874
7939
  updatedFormdata = buildConfig(formData);
7875
7940
  }
7876
- localStorage.setItem("pageFormdata", JSON.stringify(updatedFormdata));
7941
+ sessionStorage.setItem("pageFormdata", JSON.stringify(updatedFormdata));
7877
7942
  return updatedFormdata;
7878
7943
  };
7879
- const getFormdataFromLocalStorage = (path) => {
7880
- const pageFormdata = localStorage.getItem("pageFormdata") ? JSON.parse(localStorage.getItem("pageFormdata")) : void 0;
7944
+ const getFormdataFromSessionStorage = (path) => {
7945
+ const pageFormdata = sessionStorage.getItem("pageFormdata") ? JSON.parse(sessionStorage.getItem("pageFormdata")) : void 0;
7881
7946
  let returnValue;
7882
7947
  if (path) {
7883
7948
  returnValue = _.get(pageFormdata, path);
@@ -7892,8 +7957,8 @@ async function saveHandler(store2, service2, submitHandler, pageName) {
7892
7957
  var _a, _b;
7893
7958
  (_a = store2.searchParams) == null ? void 0 : _a.get("id");
7894
7959
  const path = (_b = store2.searchParams) == null ? void 0 : _b.get("path");
7895
- saveFormdataInLocalStorage(store2.ctx.core.data, path);
7896
- const config = JSON.parse(localStorage.getItem("pageFormdata"));
7960
+ saveFormdataInSessionStorage(store2.ctx.core.data, path);
7961
+ const config = JSON.parse(sessionStorage.getItem("pageFormdata"));
7897
7962
  if (_.isEmpty(store2.ctx.core.errors)) {
7898
7963
  try {
7899
7964
  const saveReturn = await submitHandler(store2, service2, config);
@@ -7905,7 +7970,7 @@ async function saveHandler(store2, service2, submitHandler, pageName) {
7905
7970
  }
7906
7971
  const navigateHandler = (store2, isSubmitted, pageName) => {
7907
7972
  if (isSubmitted) {
7908
- localStorage.removeItem("pageFormdata");
7973
+ sessionStorage.removeItem("pageFormdata");
7909
7974
  store2.navigate(pageName || -1);
7910
7975
  store2.setNotify({
7911
7976
  SuccessMessage: "Submit Successfully",
@@ -7923,7 +7988,7 @@ function okHandler(store2) {
7923
7988
  var _a;
7924
7989
  const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
7925
7990
  if (_.isEmpty(store2.ctx.core.errors)) {
7926
- saveFormdataInLocalStorage(store2.ctx.core.data, path);
7991
+ saveFormdataInSessionStorage(store2.ctx.core.data, path);
7927
7992
  store2.navigate(-1);
7928
7993
  store2.setNotify({
7929
7994
  SuccessMessage: "Save Successfully",
@@ -8000,7 +8065,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8000
8065
  getFormdata: function() {
8001
8066
  var _a;
8002
8067
  const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
8003
- return getFormdataFromLocalStorage(path);
8068
+ return getFormdataFromSessionStorage(path);
8004
8069
  },
8005
8070
  getSchema: function() {
8006
8071
  return ComponentSchema;
@@ -8018,7 +8083,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8018
8083
  const rowId = dynamicData2.path.split(".")[1];
8019
8084
  const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
8020
8085
  const id = (_b = store2.searchParams) == null ? void 0 : _b.get("id");
8021
- saveFormdataInLocalStorage(store2.ctx.core.data, path);
8086
+ saveFormdataInSessionStorage(store2.ctx.core.data, path);
8022
8087
  if (path) {
8023
8088
  const path2 = (_c = store2.searchParams) == null ? void 0 : _c.get("path");
8024
8089
  const finalPath = `${path2}.elements[${rowId}]`;
@@ -8032,27 +8097,27 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8032
8097
  deleteComponents: function(shouldUpdateDialog = true) {
8033
8098
  var _a;
8034
8099
  const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
8035
- const rowId = localStorage.getItem("rowId");
8100
+ const rowId = sessionStorage.getItem("rowId");
8036
8101
  store2.formData.elements.splice(rowId, 1);
8037
- const response = saveFormdataInLocalStorage(store2.ctx.core.data, path);
8102
+ const response = saveFormdataInSessionStorage(store2.ctx.core.data, path);
8038
8103
  const data = path ? _.get(response, path) : response;
8039
8104
  store2.setFormdata(data);
8040
8105
  if (shouldUpdateDialog) {
8041
8106
  store2.updateDialog("popUpComponentSection");
8042
8107
  }
8043
- localStorage.removeItem("rowId");
8108
+ sessionStorage.removeItem("rowId");
8044
8109
  },
8045
8110
  deleteEvent: function(shouldUpdateDialog = true) {
8046
8111
  var _a;
8047
8112
  const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
8048
- const rowId = localStorage.getItem("rowId");
8113
+ const rowId = sessionStorage.getItem("rowId");
8049
8114
  store2.formData.events.splice(rowId, 1);
8050
- const response = saveFormdataInLocalStorage(store2.ctx.core.data, path);
8115
+ const response = saveFormdataInSessionStorage(store2.ctx.core.data, path);
8051
8116
  store2.setFormdata(_.get(response, path));
8052
8117
  if (shouldUpdateDialog) {
8053
8118
  store2.updateDialog("popUpEventSection");
8054
8119
  }
8055
- localStorage.removeItem("rowId");
8120
+ sessionStorage.removeItem("rowId");
8056
8121
  },
8057
8122
  widgetAddClickHandler: function() {
8058
8123
  var _a;
@@ -8060,7 +8125,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8060
8125
  store2.formData.elements = [];
8061
8126
  }
8062
8127
  const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
8063
- saveFormdataInLocalStorage(store2.ctx.core.data, path);
8128
+ saveFormdataInSessionStorage(store2.ctx.core.data, path);
8064
8129
  const finalPath = `${path}.elements[${store2.formData.elements.length}]`;
8065
8130
  store2.searchParams.set("path", finalPath);
8066
8131
  store2.setSearchParams(store2.searchParams);
@@ -8071,7 +8136,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8071
8136
  const rowId = dynamicData2.path.split(".")[1];
8072
8137
  const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
8073
8138
  const id = (_b = store2.searchParams) == null ? void 0 : _b.get("id");
8074
- saveFormdataInLocalStorage(store2.ctx.core.data, path);
8139
+ saveFormdataInSessionStorage(store2.ctx.core.data, path);
8075
8140
  const finalPath = `${path}.events[${rowId}]`;
8076
8141
  store2.navigate(`/ComponentEvents?path=${finalPath}&id=${id}`);
8077
8142
  },
@@ -8082,7 +8147,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8082
8147
  if (!Array.isArray(store2.formData.events)) {
8083
8148
  store2.formData.events = [];
8084
8149
  }
8085
- saveFormdataInLocalStorage(store2.ctx.core.data, path);
8150
+ saveFormdataInSessionStorage(store2.ctx.core.data, path);
8086
8151
  const finalPath = `${path}.events[${store2.formData.events.length}]`;
8087
8152
  store2.navigate(`/ComponentEvents?path=${finalPath}&id=${id}`);
8088
8153
  },
@@ -8091,12 +8156,12 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8091
8156
  },
8092
8157
  deletePopUpComponent: function() {
8093
8158
  const rowId = dynamicData2.path.split(".")[1];
8094
- localStorage.setItem("rowId", rowId);
8159
+ sessionStorage.setItem("rowId", rowId);
8095
8160
  store2.updateDialog("popUpComponentSection");
8096
8161
  },
8097
8162
  deletePopUpEvent: function() {
8098
8163
  const rowId = dynamicData2.path.split(".")[1];
8099
- localStorage.setItem("rowId", rowId);
8164
+ sessionStorage.setItem("rowId", rowId);
8100
8165
  store2.updateDialog("popUpEventSection");
8101
8166
  }
8102
8167
  };
@@ -8116,11 +8181,11 @@ var pageMaster = (funcParams) => {
8116
8181
  var _a;
8117
8182
  const id = (_a = store2.searchParams) == null ? void 0 : _a.get("id");
8118
8183
  const config = await funcParams.pageConfigProvider(id);
8119
- const formData = getFormdataFromLocalStorage();
8184
+ const formData = getFormdataFromSessionStorage();
8120
8185
  if (formData) {
8121
8186
  return formData;
8122
8187
  }
8123
- saveFormdataInLocalStorage(config);
8188
+ saveFormdataInSessionStorage(config);
8124
8189
  return config;
8125
8190
  },
8126
8191
  getUiSchema: function() {
@@ -8130,7 +8195,7 @@ var pageMaster = (funcParams) => {
8130
8195
  return PageMasterSchema;
8131
8196
  },
8132
8197
  backHandler: () => {
8133
- localStorage.removeItem("pageFormdata");
8198
+ sessionStorage.removeItem("pageFormdata");
8134
8199
  store2.navigate("/PageMasterRecords");
8135
8200
  },
8136
8201
  onAddClickHandler: function() {
@@ -8139,7 +8204,7 @@ var pageMaster = (funcParams) => {
8139
8204
  if (!Array.isArray(store2.formData.elements)) {
8140
8205
  store2.formData.elements = [];
8141
8206
  }
8142
- const response = saveFormdataInLocalStorage(store2.ctx.core.data);
8207
+ const response = saveFormdataInSessionStorage(store2.ctx.core.data);
8143
8208
  if (id) {
8144
8209
  store2.navigate(
8145
8210
  `/Component?path=${`elements[${response == null ? void 0 : response.elements.length}]`}&id=${id}`
@@ -8162,7 +8227,7 @@ var pageMaster = (funcParams) => {
8162
8227
  if (!Array.isArray(store2.formData.events)) {
8163
8228
  store2.formData.events = [];
8164
8229
  }
8165
- saveFormdataInLocalStorage(store2.ctx.core.data);
8230
+ saveFormdataInSessionStorage(store2.ctx.core.data);
8166
8231
  const finalPath = `events[${store2.formData.events.length}]`;
8167
8232
  store2.navigate(`/ComponentEvents?path=${finalPath}&id=${id}`);
8168
8233
  },
@@ -8170,26 +8235,26 @@ var pageMaster = (funcParams) => {
8170
8235
  var _a;
8171
8236
  const rowId = dynamicData2.path.split(".")[1];
8172
8237
  const id = (_a = store2.searchParams) == null ? void 0 : _a.get("id");
8173
- saveFormdataInLocalStorage(store2.ctx.core.data);
8238
+ saveFormdataInSessionStorage(store2.ctx.core.data);
8174
8239
  const finalPath = `events[${rowId}]`;
8175
8240
  store2.navigate(`/ComponentEvents?path=${finalPath}&id=${id}`);
8176
8241
  },
8177
8242
  deleteEvent: function() {
8178
- const rowId = localStorage.getItem("rowId");
8243
+ const rowId = sessionStorage.getItem("rowId");
8179
8244
  store2.formData.events.splice(rowId, 1);
8180
- const response = saveFormdataInLocalStorage(store2.ctx.core.data);
8245
+ const response = saveFormdataInSessionStorage(store2.ctx.core.data);
8181
8246
  store2.setFormdata(response);
8182
8247
  store2.updateDialog("popUpPageMasterEvent");
8183
- localStorage.removeItem("rowId");
8248
+ sessionStorage.removeItem("rowId");
8184
8249
  },
8185
8250
  deletePopUpComponent: function() {
8186
8251
  const rowId = dynamicData2.path.split(".")[1];
8187
- localStorage.setItem("rowId", rowId);
8252
+ sessionStorage.setItem("rowId", rowId);
8188
8253
  store2.updateDialog("popUpPageMasterComponent");
8189
8254
  },
8190
8255
  deletePopUpEvent: function() {
8191
8256
  const rowId = dynamicData2.path.split(".")[1];
8192
- localStorage.setItem("rowId", rowId);
8257
+ sessionStorage.setItem("rowId", rowId);
8193
8258
  store2.updateDialog("popUpPageMasterEvent");
8194
8259
  }
8195
8260
  };
@@ -8328,7 +8393,7 @@ const EventUiSchema = (theme) => {
8328
8393
  widget: "SelectInputField"
8329
8394
  },
8330
8395
  config: {
8331
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8396
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8332
8397
  main: {
8333
8398
  label: "Event Type",
8334
8399
  type: "text"
@@ -8448,17 +8513,7 @@ const EventUiSchema = (theme) => {
8448
8513
  widget: "EmptyBox"
8449
8514
  },
8450
8515
  config: {
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 }
8516
+ layout: { xs: 4, sm: 8 }
8462
8517
  }
8463
8518
  },
8464
8519
  {
@@ -8468,7 +8523,7 @@ const EventUiSchema = (theme) => {
8468
8523
  widget: "Button"
8469
8524
  },
8470
8525
  config: {
8471
- layout: 1.8,
8526
+ layout: { xs: 4, sm: 2 },
8472
8527
  main: {
8473
8528
  name: "Ok",
8474
8529
  startIcon: "ApproveIcon",
@@ -8489,7 +8544,7 @@ const EventUiSchema = (theme) => {
8489
8544
  widget: "Button"
8490
8545
  },
8491
8546
  config: {
8492
- layout: 1.8,
8547
+ layout: { xs: 4, sm: 2 },
8493
8548
  main: {
8494
8549
  name: "Save & Exit",
8495
8550
  startIcon: "ApproveIcon",
@@ -8665,7 +8720,7 @@ const EventUiSchema = (theme) => {
8665
8720
  height: 0,
8666
8721
  margin: 0,
8667
8722
  top: 0,
8668
- right: "82px",
8723
+ right: { xs: "12px", sm: "84px" },
8669
8724
  position: "absolute",
8670
8725
  fontSize: "12px",
8671
8726
  cursor: "pointer",
@@ -8687,6 +8742,7 @@ const EventUiSchema = (theme) => {
8687
8742
  onClick: "backHandler"
8688
8743
  },
8689
8744
  style: {
8745
+ display: { xs: "none", sm: "flex" },
8690
8746
  textAlign: "left",
8691
8747
  lineHeight: 1,
8692
8748
  height: 0,
@@ -8721,7 +8777,7 @@ const APISection = {
8721
8777
  widget: "SelectInputField"
8722
8778
  },
8723
8779
  config: {
8724
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8780
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8725
8781
  main: {
8726
8782
  label: "Method",
8727
8783
  type: "text"
@@ -8735,7 +8791,7 @@ const APISection = {
8735
8791
  widget: "InputField"
8736
8792
  },
8737
8793
  config: {
8738
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8794
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8739
8795
  main: {
8740
8796
  label: "Path",
8741
8797
  type: "text",
@@ -8751,7 +8807,7 @@ const APISection = {
8751
8807
  widget: "EmptyBox"
8752
8808
  },
8753
8809
  config: {
8754
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8810
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8755
8811
  }
8756
8812
  },
8757
8813
  {
@@ -8761,7 +8817,7 @@ const APISection = {
8761
8817
  widget: "EmptyBox"
8762
8818
  },
8763
8819
  config: {
8764
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8820
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8765
8821
  }
8766
8822
  },
8767
8823
  {
@@ -8780,7 +8836,7 @@ const APISection = {
8780
8836
  widget: "InputField"
8781
8837
  },
8782
8838
  config: {
8783
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8839
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8784
8840
  main: {
8785
8841
  label: "Key"
8786
8842
  }
@@ -8793,7 +8849,7 @@ const APISection = {
8793
8849
  widget: "InputField"
8794
8850
  },
8795
8851
  config: {
8796
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8852
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8797
8853
  main: {
8798
8854
  label: "Value"
8799
8855
  }
@@ -8806,7 +8862,7 @@ const APISection = {
8806
8862
  widget: "EmptyBox"
8807
8863
  },
8808
8864
  config: {
8809
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8865
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8810
8866
  }
8811
8867
  }
8812
8868
  ]
@@ -8829,7 +8885,7 @@ const APISection = {
8829
8885
  widget: "InputField"
8830
8886
  },
8831
8887
  config: {
8832
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8888
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8833
8889
  main: {
8834
8890
  label: "Key"
8835
8891
  }
@@ -8842,7 +8898,7 @@ const APISection = {
8842
8898
  widget: "InputField"
8843
8899
  },
8844
8900
  config: {
8845
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8901
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8846
8902
  main: {
8847
8903
  label: "Value"
8848
8904
  }
@@ -8855,7 +8911,7 @@ const APISection = {
8855
8911
  widget: "EmptyBox"
8856
8912
  },
8857
8913
  config: {
8858
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8914
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8859
8915
  }
8860
8916
  }
8861
8917
  ]
@@ -8883,7 +8939,7 @@ const refreshSectionUiSchema = {
8883
8939
  widget: "InputField"
8884
8940
  },
8885
8941
  config: {
8886
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8942
+ layout: { xs: 12, sm: 6, md: 4, lg: 4 },
8887
8943
  main: {
8888
8944
  label: "Value"
8889
8945
  }
@@ -8896,7 +8952,7 @@ const refreshSectionUiSchema = {
8896
8952
  widget: "EmptyBox"
8897
8953
  },
8898
8954
  config: {
8899
- layout: { xs: 0, sm: 4, md: 4, lg: 4 },
8955
+ layout: { xs: 0, sm: 6, md: 4, lg: 4 },
8900
8956
  main: {}
8901
8957
  }
8902
8958
  },
@@ -8907,7 +8963,7 @@ const refreshSectionUiSchema = {
8907
8963
  widget: "EmptyBox"
8908
8964
  },
8909
8965
  config: {
8910
- layout: { xs: 0, sm: 4, md: 4, lg: 4 },
8966
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 },
8911
8967
  main: {}
8912
8968
  }
8913
8969
  }
@@ -8917,6 +8973,18 @@ const refreshSectionUiSchema = {
8917
8973
  }
8918
8974
  ]
8919
8975
  };
8976
+ var emptyBox = {
8977
+ type: "Control",
8978
+ scope: "#/properties/emptyBox",
8979
+ options: {
8980
+ widget: "EmptyBox"
8981
+ },
8982
+ config: {
8983
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
8984
+ main: {},
8985
+ style: {}
8986
+ }
8987
+ };
8920
8988
  var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8921
8989
  return {
8922
8990
  setPage: async function() {
@@ -8932,7 +9000,19 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8932
9000
  if (handlerType) {
8933
9001
  if (handlerType === "custom") {
8934
9002
  uiSchema.elements[1].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
8935
- uiSchema.elements[1].elements[0].elements[3] = getTextArea("eventCode", "Write Custom Code", false);
9003
+ uiSchema.elements[1].elements[0].elements[3] = {
9004
+ type: "Control",
9005
+ scope: "#/properties/emptyBox",
9006
+ options: {
9007
+ widget: "EmptyBox"
9008
+ },
9009
+ config: {
9010
+ layout: { xs: 0, sm: 6, md: 0, lg: 0 },
9011
+ main: {},
9012
+ style: {}
9013
+ }
9014
+ };
9015
+ uiSchema.elements[1].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
8936
9016
  schema2.required = ["eventType", "Handler", "eventCode"];
8937
9017
  } else if (handlerType === "api") {
8938
9018
  uiSchema.elements[1].elements[0].elements[2] = emptyBox;
@@ -8940,7 +9020,19 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8940
9020
  schema2.required = ["eventType", "Handler", "method", "path"];
8941
9021
  } else if (handlerType === "inBuiltFunction") {
8942
9022
  uiSchema.elements[1].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
8943
- uiSchema.elements[1].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
9023
+ uiSchema.elements[1].elements[0].elements[3] = {
9024
+ type: "Control",
9025
+ scope: "#/properties/emptyBox",
9026
+ options: {
9027
+ widget: "EmptyBox"
9028
+ },
9029
+ config: {
9030
+ layout: { xs: 6, sm: 6, md: 0, lg: 0 },
9031
+ main: {},
9032
+ style: {}
9033
+ }
9034
+ };
9035
+ uiSchema.elements[1].elements[0].elements[4] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
8944
9036
  schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
8945
9037
  } else if (handlerType === "refresh") {
8946
9038
  uiSchema.elements[1].elements[0].elements[2] = emptyBox;
@@ -8980,7 +9072,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8980
9072
  if (!Array.isArray(store2.formData.events)) {
8981
9073
  store2.formData.events = [];
8982
9074
  }
8983
- saveFormdataInLocalStorage(store2.ctx.core.data, path);
9075
+ saveFormdataInSessionStorage(store2.ctx.core.data, path);
8984
9076
  const finalPath = `${path}.events[${(_c = (_b = store2.formData) == null ? void 0 : _b.events) == null ? void 0 : _c.length}]`;
8985
9077
  store2.searchParams.set("path", finalPath);
8986
9078
  store2.setSearchParams(store2.searchParams);
@@ -8990,7 +9082,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8990
9082
  var _a;
8991
9083
  const rowId = dynamicData2.path.split(".")[1];
8992
9084
  const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
8993
- saveFormdataInLocalStorage(store2.ctx.core.data, path);
9085
+ saveFormdataInSessionStorage(store2.ctx.core.data, path);
8994
9086
  const finalPath = `${path}.events[${rowId}]`;
8995
9087
  store2.searchParams.set("path", finalPath);
8996
9088
  store2.setSearchParams(store2.searchParams);
@@ -9005,7 +9097,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9005
9097
  },
9006
9098
  deletePopUpEvent: function() {
9007
9099
  const rowId = dynamicData2.path.split(".")[1];
9008
- localStorage.setItem("rowId", rowId);
9100
+ sessionStorage.setItem("rowId", rowId);
9009
9101
  store2.updateDialog("popUpEvent");
9010
9102
  }
9011
9103
  };
@@ -9125,7 +9217,6 @@ function getRefreshElements(eventConfig, eventGropus) {
9125
9217
  } else {
9126
9218
  if (eventGropus == null ? void 0 : eventGropus.onLoad) {
9127
9219
  result = Object.keys(eventGropus == null ? void 0 : eventGropus.onLoad);
9128
- result.push(result[0]);
9129
9220
  }
9130
9221
  }
9131
9222
  return result;
@@ -9178,7 +9269,7 @@ function executeCustomHandler(params) {
9178
9269
  }
9179
9270
  }
9180
9271
  function mergeFormdata(handlerResponse, componentName, eventConfig, store2, service2, formDataHolder) {
9181
- if (eventConfig.type === "Select" && !(_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data) && (handlerResponse == null ? void 0 : handlerResponse.data))) {
9272
+ if (eventConfig.type === "Select" && (handlerResponse == null ? void 0 : handlerResponse.data) && !_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
9182
9273
  store2.setSchema((pre) => {
9183
9274
  var _a;
9184
9275
  return {
@@ -9192,7 +9283,7 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
9192
9283
  }
9193
9284
  };
9194
9285
  });
9195
- } else if (eventConfig.type === "MultipleSelect" && !(_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data) && (handlerResponse == null ? void 0 : handlerResponse.data))) {
9286
+ } else if (eventConfig.type === "MultipleSelect" && (handlerResponse == null ? void 0 : handlerResponse.data) && !_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
9196
9287
  store2.setSchema((pre) => {
9197
9288
  var _a;
9198
9289
  return {
@@ -9210,7 +9301,7 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
9210
9301
  };
9211
9302
  });
9212
9303
  } else if (eventConfig.type === "page") {
9213
- if (!_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data) && (handlerResponse == null ? void 0 : handlerResponse.data)) {
9304
+ if (!(_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data) && (handlerResponse == null ? void 0 : handlerResponse.data))) {
9214
9305
  store2.newData = {
9215
9306
  ...store2.newData,
9216
9307
  ...handlerResponse == null ? void 0 : handlerResponse.data
@@ -9244,7 +9335,7 @@ const buildBodyFormat = (body2, formData, userValue2, store2) => {
9244
9335
  finalBody[elem.key] = value;
9245
9336
  } else if ((_d = elem == null ? void 0 : elem.value) == null ? void 0 : _d.startsWith("$local")) {
9246
9337
  const finalpath = elem.value.substring(7);
9247
- const value = JSON.parse(localStorage.getItem(finalpath) || '""');
9338
+ const value = JSON.parse(sessionStorage.getItem(finalpath) || '""');
9248
9339
  finalBody[elem.key] = value;
9249
9340
  } else if ((_e = elem == null ? void 0 : elem.value) == null ? void 0 : _e.startsWith("$")) {
9250
9341
  const finalpath = elem.value.substring(1);
@@ -9378,12 +9469,12 @@ var service = (funcParams) => {
9378
9469
  var _a, _b, _c, _d;
9379
9470
  funcParams.store.setFormdata({});
9380
9471
  funcParams.store.newData = {};
9381
- const pageBasicDetailString = localStorage.getItem("pagemasterMetaData");
9472
+ const pageBasicDetailString = sessionStorage.getItem("pagemasterMetaData");
9382
9473
  if (pageBasicDetailString) {
9383
9474
  pageData = JSON.parse(pageBasicDetailString);
9384
9475
  } else {
9385
9476
  pageData = await funcParams.pageDataProvider();
9386
- localStorage.setItem("pagemasterMetaData", JSON.stringify({
9477
+ sessionStorage.setItem("pagemasterMetaData", JSON.stringify({
9387
9478
  schema: pageData == null ? void 0 : pageData.schema,
9388
9479
  uiSchema: pageData == null ? void 0 : pageData.uiSchema,
9389
9480
  config: pageData == null ? void 0 : pageData.config
@@ -9457,7 +9548,7 @@ var service = (funcParams) => {
9457
9548
  height: 0,
9458
9549
  margin: 0,
9459
9550
  top: 0,
9460
- right: "82px",
9551
+ right: { xs: "12px", sm: "84px" },
9461
9552
  position: "absolute",
9462
9553
  fontSize: "12px",
9463
9554
  cursor: "pointer",
@@ -9479,6 +9570,7 @@ var service = (funcParams) => {
9479
9570
  onClick: "backHandler"
9480
9571
  },
9481
9572
  style: {
9573
+ display: { xs: "none", sm: "flex" },
9482
9574
  textAlign: "left",
9483
9575
  lineHeight: 1,
9484
9576
  height: 0,
@@ -9501,7 +9593,6 @@ var service = (funcParams) => {
9501
9593
  }
9502
9594
  );
9503
9595
  const schema2 = (_d = pageData == null ? void 0 : pageData.schema) != null ? _d : { type: "object", properties: {} };
9504
- eventGroups = {};
9505
9596
  eventGroups = extractEvents(config);
9506
9597
  executeEventsParameters = {
9507
9598
  config: {},
@@ -9530,6 +9621,7 @@ var service = (funcParams) => {
9530
9621
  (pre) => {
9531
9622
  return {
9532
9623
  ...schema2,
9624
+ ...pre,
9533
9625
  properties: { ...schema2.properties, ...pre.properties }
9534
9626
  };
9535
9627
  }
@@ -10105,7 +10197,7 @@ const buildProgressBar = (config, componentScope) => {
10105
10197
  if (config.layout) {
10106
10198
  ProgressBar.config.layout = config.layout;
10107
10199
  }
10108
- ProgressBar.config.main.heading = config.heading;
10200
+ ProgressBar.config.main.heading = config.label;
10109
10201
  if (config.bottomLabel_3) {
10110
10202
  ProgressBar.config.main.bottomLabel_3 = config.bottomLabel_3;
10111
10203
  }
@@ -10166,7 +10258,6 @@ const LineGraph = {
10166
10258
  hideBottomAxisLine: false,
10167
10259
  legend: {
10168
10260
  labelColor: "green",
10169
- legendTitle: "Our Assests",
10170
10261
  direction: "row",
10171
10262
  align: "right",
10172
10263
  colorRectWidth: 20
@@ -10199,11 +10290,15 @@ const buildHorizontalBarGraph = (config, componentScope) => {
10199
10290
  if (config.layout) {
10200
10291
  horizontalBarGraph.config.layout = createLayoutFormat(config.layout);
10201
10292
  }
10293
+ horizontalBarGraph.config.main.type = config.graphType;
10202
10294
  horizontalBarGraph.scope = componentScope;
10203
10295
  horizontalBarGraph.config.main.header = config.heading;
10204
10296
  if (config.barColor) {
10205
10297
  horizontalBarGraph.config.barStyle.color = config.barColor;
10206
10298
  }
10299
+ if (config.xAxisValue) {
10300
+ horizontalBarGraph.config.main.xAxisValue = config.xAxisValue;
10301
+ }
10207
10302
  if (config.containerBackground) {
10208
10303
  horizontalBarGraph.config.containerStyle.background = config.containerBackground;
10209
10304
  }
@@ -10335,6 +10430,9 @@ const buildPieGraph = (config, componentScope) => {
10335
10430
  if (config.legendLabels) {
10336
10431
  pieGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
10337
10432
  }
10433
+ if (config.xAxisValue) {
10434
+ pieGraph.config.main.xAxisValue = config.xAxisValue;
10435
+ }
10338
10436
  if (config.pieArcColors) {
10339
10437
  pieGraph.config.style = {
10340
10438
  pieStyle: {
@@ -10357,6 +10455,9 @@ const buildStackbarGraph = (config, componentScope) => {
10357
10455
  if (config.barColor) {
10358
10456
  barGraph.config.barStyle.color = config.barColor;
10359
10457
  }
10458
+ if (config.xAxisValue) {
10459
+ barGraph.config.main.xAxisValue = config.xAxisValue;
10460
+ }
10360
10461
  if (config.height) {
10361
10462
  barGraph.config.style.containerStyle.height = config.height;
10362
10463
  }
@@ -10450,7 +10551,7 @@ var TextInputField = {
10450
10551
  widget: "InputField"
10451
10552
  },
10452
10553
  config: {
10453
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
10554
+ layout: { xs: 12, sm: 6, md: 4, lg: 4 },
10454
10555
  main: {
10455
10556
  label: ""
10456
10557
  },
@@ -10483,7 +10584,7 @@ var SelectInputField = {
10483
10584
  widget: "SelectInputField"
10484
10585
  },
10485
10586
  config: {
10486
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
10587
+ layout: { xs: 12, sm: 6, md: 4, lg: 4 },
10487
10588
  main: {
10488
10589
  label: "",
10489
10590
  type: "text",
@@ -10526,7 +10627,7 @@ var Button = {
10526
10627
  styleDefault: false,
10527
10628
  icon: "",
10528
10629
  onClick: "onClick",
10529
- size: "medium"
10630
+ size: "small"
10530
10631
  },
10531
10632
  style: {}
10532
10633
  }
@@ -10585,20 +10686,6 @@ var Table = {
10585
10686
  }
10586
10687
  }
10587
10688
  };
10588
- var lazyLoadingTable = {
10589
- type: "Control",
10590
- scope: "#/properties/LazyLoadingTable",
10591
- options: {
10592
- widget: "LazyLoadingTable"
10593
- },
10594
- elements: [],
10595
- config: {
10596
- main: {
10597
- onMount: "onMount",
10598
- columns: {}
10599
- }
10600
- }
10601
- };
10602
10689
  const buildTable = (config, componentScope) => {
10603
10690
  const table = _.cloneDeep(Table);
10604
10691
  table.scope = componentScope;
@@ -10635,39 +10722,36 @@ const buildTable = (config, componentScope) => {
10635
10722
  if (config.downloadAllData) {
10636
10723
  table.config.main.downloadAllData = config.downloadAllData === "YES" ? true : false;
10637
10724
  }
10638
- if (config.Table_Download_Keys_Name) {
10639
- table.config.main.TableDownloadKeysName = config.Table_Download_Keys_Name.map((e) => e.KeyName);
10725
+ if (config.disableGlobalSearch) {
10726
+ table.config.main.disableGlobalSearch = config.disableGlobalSearch === "YES" ? true : false;
10640
10727
  }
10641
- if (config.selectKey) {
10642
- table.config.main.selectKey = config.selectKey;
10728
+ if (config.disableColumnFilter) {
10729
+ table.config.main.disableColumnFilter = config.disableColumnFilter === "YES" ? true : false;
10643
10730
  }
10644
- return table;
10645
- };
10646
- const buildLazyLoadingTable = (config, componentScope) => {
10647
- const table = _.cloneDeep(lazyLoadingTable);
10648
- table.scope = componentScope;
10649
- if (config.style) {
10650
- table.config.style = JSON.parse(config.style);
10731
+ if (config.disableSorting) {
10732
+ table.config.main.disableSorting = config.disableSorting === "YES" ? true : false;
10651
10733
  }
10652
- if (config.SelectionAvailable) {
10653
- table.config.main.Selection = config.SelectionAvailable === "YES" ? true : false;
10734
+ if (config.disableEditColumn) {
10735
+ table.config.main.disableEditColumn = config.disableEditColumn === "YES" ? true : false;
10654
10736
  }
10655
- if (config.ColumnResizingAvailable) {
10656
- table.config.main.disableColumnResizing = config.ColumnResizingAvailable === "YES" ? false : true;
10737
+ if (config.disableFullScreenToggle) {
10738
+ table.config.main.disableFullScreenToggle = config.disableFullScreenToggle === "YES" ? true : false;
10657
10739
  }
10658
- if (config.DragAvailable) {
10659
- table.config.main.enableDrag = config.DragAvailable === "YES" ? true : false;
10740
+ if (config.disableDensityToggle) {
10741
+ table.config.main.disableDensityToggle = config.disableDensityToggle === "YES" ? true : false;
10660
10742
  }
10661
- if (config.selectKey) {
10662
- table.config.main.selectKey = config.selectKey;
10743
+ if (config.disableDownloadFile) {
10744
+ table.config.main.disableDownloadFile = config.disableDownloadFile === "YES" ? true : false;
10663
10745
  }
10664
- if (config.downloadAllData) {
10665
- table.config.main.downloadAllData = config.downloadAllData === "YES" ? true : false;
10746
+ if (config.disablePagination) {
10747
+ table.config.main.disablePagination = config.disablePagination === "YES" ? true : false;
10666
10748
  }
10667
10749
  if (config.Table_Download_Keys_Name) {
10668
10750
  table.config.main.TableDownloadKeysName = config.Table_Download_Keys_Name.map((e) => e.KeyName);
10669
10751
  }
10670
- table.config.main.label = config.label;
10752
+ if (config.selectKey) {
10753
+ table.config.main.selectKey = config.selectKey;
10754
+ }
10671
10755
  return table;
10672
10756
  };
10673
10757
  const Box = {
@@ -10707,7 +10791,7 @@ const uploadFile = {
10707
10791
  "style": {
10708
10792
  "backgroundColor": "none"
10709
10793
  },
10710
- layout: { xs: 11, sm: 4, md: 4, lg: 4 }
10794
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 }
10711
10795
  },
10712
10796
  "options": {
10713
10797
  "widget": "UploadFile"
@@ -10724,7 +10808,7 @@ const downloadFile = {
10724
10808
  "style": {
10725
10809
  "backgroundColor": "none"
10726
10810
  },
10727
- layout: { xs: 11, sm: 4, md: 4, lg: 4 }
10811
+ layout: { xs: 12, sm: 6, md: 4, lg: 4 }
10728
10812
  },
10729
10813
  "options": {
10730
10814
  "widget": "DownloadFile"
@@ -10735,10 +10819,7 @@ const buildUploadFile = (config, componentScope) => {
10735
10819
  UploadFile.scope = componentScope;
10736
10820
  UploadFile.config.main.label = config.label;
10737
10821
  if (config.layout) {
10738
- UploadFile.config.layout = config.layout;
10739
- }
10740
- if (config.layout) {
10741
- uploadFile.config.layout = createLayoutFormat(config.layout);
10822
+ UploadFile.config.layout = createLayoutFormat(config.layout);
10742
10823
  }
10743
10824
  if (config.style) {
10744
10825
  UploadFile.config.style = config.style;
@@ -10769,121 +10850,158 @@ const buildDownloadFile = (config, componentScope) => {
10769
10850
  }
10770
10851
  return DownloadFile;
10771
10852
  };
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
10853
+ function Card(theme) {
10854
+ const uiSchema = {
10855
+ type: "WrapperLayout",
10856
+ config: {
10857
+ main: {},
10858
+ wrapperStyle: {},
10859
+ componentsBoxStyle: {
10860
+ flexDirection: "row",
10861
+ flexWrap: "nowrap",
10862
+ width: "100%",
10863
+ background: "transparent",
10864
+ border: `1.5px solid ${theme.palette.primary.main}`,
10865
+ borderRadius: "20px",
10866
+ padding: "0px 20px 0px 20px",
10867
+ "&: hover": {
10868
+ background: `${theme.palette.primary.main}`,
10869
+ border: `1.5px solid black`,
10870
+ "& p": {
10871
+ color: "white"
10872
+ }
10873
+ }
10810
10874
  },
10811
- options: {
10812
- widget: "Box"
10813
- }
10875
+ layout: { xs: 12, sm: 12, md: 6, lg: 6 }
10814
10876
  },
10815
- {
10816
- type: "Control",
10817
- scope: "#/properties/programType",
10818
- config: {
10819
- main: {
10820
- url: "https://www.svgrepo.com/show/500606/loading.svg"
10821
- },
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"
10877
+ elements: [
10878
+ {
10879
+ type: "HorizontalLayout",
10880
+ config: {
10881
+ layout: 8
10836
10882
  },
10837
- layout: 5
10883
+ elements: [
10884
+ {
10885
+ type: "WrapperLayout",
10886
+ config: {
10887
+ main: {
10888
+ columnSpacing: 0,
10889
+ gap: 0
10890
+ },
10891
+ wrapperStyle: {
10892
+ marginTop: "4px",
10893
+ background: "transparent"
10894
+ },
10895
+ componentsBoxStyle: {
10896
+ flexDirection: "column",
10897
+ flexWrap: "nowrap",
10898
+ width: "100%",
10899
+ height: "inherit",
10900
+ background: "transparent",
10901
+ borderRadius: "0px"
10902
+ },
10903
+ layout: 12
10904
+ },
10905
+ elements: [
10906
+ {
10907
+ type: "Control",
10908
+ scope: "#/properties/programType",
10909
+ config: {
10910
+ main: {
10911
+ heading: "$5000.00"
10912
+ },
10913
+ style: {
10914
+ color: "black",
10915
+ display: "flex",
10916
+ fontSize: { xs: "24px", md: "28px" },
10917
+ fontWeight: "bold",
10918
+ background: "inherit",
10919
+ justifyContent: "flex-start",
10920
+ width: "calc(100%+8px)",
10921
+ margin: "-8px"
10922
+ },
10923
+ layout: 12
10924
+ },
10925
+ options: {
10926
+ widget: "Box"
10927
+ }
10928
+ },
10929
+ {
10930
+ type: "Control",
10931
+ scope: "#/properties/programType",
10932
+ config: {
10933
+ main: {
10934
+ heading: "Total Earnings"
10935
+ },
10936
+ style: {
10937
+ color: "black",
10938
+ fontSize: "16px",
10939
+ justifyContent: "center",
10940
+ textWrap: "wrap",
10941
+ background: "inherit",
10942
+ width: "calc(100%+8pc)",
10943
+ margin: "-8px",
10944
+ lineHeight: "1"
10945
+ },
10946
+ layout: 12
10947
+ },
10948
+ options: {
10949
+ widget: "Box"
10950
+ }
10951
+ }
10952
+ ]
10953
+ }
10954
+ ]
10838
10955
  },
10839
- options: {
10840
- widget: "Image"
10841
- }
10842
- },
10843
- {
10844
- type: "Control",
10845
- scope: "#/properties/programType",
10846
- config: {
10847
- main: {
10848
- heading: "Total Earnings"
10849
- },
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"
10956
+ {
10957
+ type: "Control",
10958
+ scope: "#/properties/programType",
10959
+ config: {
10960
+ main: {
10961
+ url: "https://www.svgrepo.com/show/500606/loading.svg"
10962
+ },
10963
+ style: {
10964
+ containerStyle: {
10965
+ height: "100%",
10966
+ display: "flex",
10967
+ justifyContent: "center"
10968
+ },
10969
+ imageStyle: {
10970
+ height: "100%",
10971
+ fontSize: "none",
10972
+ padding: "4px",
10973
+ marginLeft: "8px"
10974
+ }
10975
+ },
10976
+ layout: 4
10859
10977
  },
10860
- layout: 12
10861
- },
10862
- options: {
10863
- widget: "Box"
10978
+ options: {
10979
+ widget: "Image"
10980
+ }
10864
10981
  }
10865
- }
10866
- ]
10867
- };
10868
- const buildCard = (config, componentScope) => {
10869
- const card = _.cloneDeep(Card);
10982
+ ]
10983
+ };
10984
+ return uiSchema;
10985
+ }
10986
+ const buildCard = (config, componentScope, store2) => {
10987
+ const card = _.cloneDeep(Card(store2.theme.myTheme));
10870
10988
  if (config.style) {
10871
10989
  card.config.style = JSON.parse(config.style);
10872
10990
  }
10873
- card.elements[0].scope = `#/properties/${config.name}/properties/value`;
10991
+ card.elements[0].elements[0].elements[0].scope = `#/properties/${config.name}/properties/value`;
10874
10992
  card.elements[1].scope = `#/properties/${config.name}/properties/url`;
10875
- card.elements[2].scope = `#/properties/${config.name}/properties/description`;
10993
+ card.elements[0].elements[0].elements[1].scope = `#/properties/${config.name}/properties/description`;
10876
10994
  if (config.layout) {
10877
10995
  card.config.layout = createLayoutFormat(config.layout);
10878
10996
  }
10879
10997
  if (config.label) {
10880
- card.elements[0].config.main.heading = config.label;
10998
+ card.elements[0].elements[0].elements[0].config.main.heading = config.label;
10881
10999
  }
10882
11000
  if (config.url) {
10883
11001
  card.elements[1].config.main.url = config.url;
10884
11002
  }
10885
11003
  if (config.description) {
10886
- card.elements[2].config.main.heading = config.description;
11004
+ card.elements[0].elements[0].elements[1].config.main.heading = config.description;
10887
11005
  }
10888
11006
  return card;
10889
11007
  };
@@ -10894,7 +11012,7 @@ var DateInputField = {
10894
11012
  widget: "DateInputField"
10895
11013
  },
10896
11014
  config: {
10897
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
11015
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
10898
11016
  main: {
10899
11017
  label: "",
10900
11018
  type: "date"
@@ -10908,7 +11026,7 @@ const DateTime = {
10908
11026
  widget: "DateTimeInputField"
10909
11027
  },
10910
11028
  config: {
10911
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
11029
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
10912
11030
  main: {
10913
11031
  label: "DateTime",
10914
11032
  type: "date"
@@ -11035,7 +11153,7 @@ var MultipleSelect = {
11035
11153
  widget: "MultipleSelect"
11036
11154
  },
11037
11155
  config: {
11038
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
11156
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
11039
11157
  main: {
11040
11158
  label: "",
11041
11159
  type: "text",
@@ -11111,6 +11229,12 @@ const buildTextArea = (config, componentScope) => {
11111
11229
  if (config.placeholder) {
11112
11230
  textArea.config.main.placeholder = config.placeholder;
11113
11231
  }
11232
+ if (config.enableCodeEditor) {
11233
+ textArea.config.main.enableCodeEditor = config.enableCodeEditor === "YES" ? true : false;
11234
+ }
11235
+ if (config.codeEditorLanguage) {
11236
+ textArea.config.main.codeEditorLanguage = config.codeEditorLanguage;
11237
+ }
11114
11238
  textArea.scope = componentScope;
11115
11239
  return textArea;
11116
11240
  };
@@ -11201,7 +11325,7 @@ const RadioUiSchema = {
11201
11325
  widget: "RadioInputField"
11202
11326
  },
11203
11327
  config: {
11204
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
11328
+ layout: { xs: 12, sm: 6, md: 4, lg: 4 },
11205
11329
  main: {
11206
11330
  label: "Enabled",
11207
11331
  options: ["YES", "NO"],
@@ -11310,7 +11434,7 @@ const FileInput = {
11310
11434
  widget: "FileInputField"
11311
11435
  },
11312
11436
  config: {
11313
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
11437
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
11314
11438
  main: {
11315
11439
  required: false,
11316
11440
  onUpload: "onFileUpload",
@@ -11664,7 +11788,7 @@ const buildSchema = (config, tableName, isArrayType) => {
11664
11788
  }
11665
11789
  return schema;
11666
11790
  };
11667
- const buildUiSchema = (config) => {
11791
+ const buildUiSchema = (config, store2) => {
11668
11792
  let elements = {};
11669
11793
  const componentScope = `#/properties/${config.name}`;
11670
11794
  switch (config.type) {
@@ -11728,9 +11852,6 @@ const buildUiSchema = (config) => {
11728
11852
  case "Array":
11729
11853
  elements = buildArray(config, componentScope);
11730
11854
  break;
11731
- case "LazyLoadingTable":
11732
- elements = buildLazyLoadingTable(config, componentScope);
11733
- break;
11734
11855
  case "Box":
11735
11856
  elements = buildLabel(config, componentScope);
11736
11857
  break;
@@ -11747,7 +11868,7 @@ const buildUiSchema = (config) => {
11747
11868
  elements = buildEmptyBox(config);
11748
11869
  break;
11749
11870
  case "card":
11750
- elements = buildCard(config);
11871
+ elements = buildCard(config, componentScope, store2);
11751
11872
  break;
11752
11873
  case "Graph":
11753
11874
  switch (config.graphType) {
@@ -11762,6 +11883,7 @@ const buildUiSchema = (config) => {
11762
11883
  elements = buildPieGraph(config, componentScope);
11763
11884
  break;
11764
11885
  case "HorizontalBarGraph":
11886
+ case "HorizontalStackBarGraph":
11765
11887
  elements = buildHorizontalBarGraph(config, componentScope);
11766
11888
  break;
11767
11889
  }
@@ -11824,46 +11946,57 @@ const buildUiSchema = (config) => {
11824
11946
  header: cellElem.label || cellElem.name,
11825
11947
  size: sizeMap[cellElem.name] || 180,
11826
11948
  type: cellElem.columnFormat,
11827
- elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem)) : []
11949
+ elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store2)) : []
11828
11950
  };
11829
11951
  });
11830
11952
  } else if (config.type == "Table") {
11831
11953
  const sizeMap = {};
11954
+ const filterMap = {};
11832
11955
  if (config.sizeHolder) {
11833
11956
  config.sizeHolder.map((e, i) => {
11834
11957
  sizeMap[e.keyName] = e.value;
11835
11958
  });
11836
11959
  }
11960
+ if (config.enableColumnFilter) {
11961
+ config.enableColumnFilter.map((e) => {
11962
+ filterMap[e.keyName] = true;
11963
+ });
11964
+ }
11837
11965
  elements.elements = config.elements.map((cellElem, elemInd) => {
11966
+ var _a, _b;
11838
11967
  if (cellElem.type) {
11839
11968
  return {
11840
11969
  accessorKey: cellElem.name,
11841
11970
  header: cellElem.label || cellElem.name,
11842
11971
  size: sizeMap[cellElem.name] || 180,
11843
11972
  type: cellElem.columnFormat,
11844
- widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem) : void 0,
11845
- elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem)) : []
11973
+ widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store2) : void 0,
11974
+ elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store2)) : [],
11975
+ enableColumnFilter: Object.keys(filterMap).length === 0 ? true : (_a = filterMap[cellElem.name]) != null ? _a : false,
11976
+ columnFilterModeOptions: config.filteringOptions
11846
11977
  };
11847
11978
  } else {
11848
11979
  return {
11849
11980
  accessorKey: cellElem.name,
11850
11981
  type: cellElem.columnFormat,
11851
11982
  header: cellElem.label || cellElem.name,
11852
- size: sizeMap[cellElem.name] || 180
11983
+ size: sizeMap[cellElem.name] || 180,
11984
+ enableColumnFilter: Object.keys(filterMap).length === 0 ? true : (_b = filterMap[cellElem.name]) != null ? _b : false,
11985
+ columnFilterModeOptions: config.filteringOptions
11853
11986
  };
11854
11987
  }
11855
11988
  });
11856
11989
  } else if (config.type == "Array") {
11857
11990
  elements.options.detail.elements = config.elements.map((e, elemInd) => {
11858
- return buildUiSchema(e);
11991
+ return buildUiSchema(e, store2);
11859
11992
  });
11860
11993
  } else {
11861
11994
  elements.elements = config.elements.map((e, elemInd) => {
11862
- return buildUiSchema(e);
11995
+ return buildUiSchema(e, store2);
11863
11996
  });
11864
11997
  }
11865
11998
  }
11866
11999
  return elements;
11867
12000
  };
11868
- export { buildConfig, buildSchema, buildUiSchema, clearFromLocalStorage, pageMaster, Component as pageMasterComponents, event as pageMasterEvents, service as pageService, schema };
12001
+ export { buildConfig, buildSchema, buildUiSchema, clearFromSessionStorage, pageMaster, Component as pageMasterComponents, event as pageMasterEvents, service as pageService, schema };
11869
12002
  //# sourceMappingURL=impaktapps-ui-builder.es.js.map