impaktapps-ui-builder 0.0.101-alpha.33 → 0.0.101-alpha.334

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.
@@ -96,11 +96,25 @@ const PageMasterUiSchema = (theme) => {
96
96
  }
97
97
  }
98
98
  },
99
+ {
100
+ type: "Control",
101
+ scope: "#/properties/programIdRequired",
102
+ options: {
103
+ widget: "RadioInputField"
104
+ },
105
+ config: {
106
+ layout: { xs: 12, sm: 6, md: 4, lg: 3 },
107
+ main: {
108
+ label: "Program ID Required",
109
+ options: [{ label: "Yes", const: "YES" }, { label: "No", const: "NO" }]
110
+ }
111
+ }
112
+ },
99
113
  {
100
114
  type: "Control",
101
115
  scope: "#/properties/EmptyBox",
102
116
  config: {
103
- layout: { xs: 0, sm: 0, md: 4, lg: 6 }
117
+ layout: { xs: 0, sm: 6, md: 0, lg: 3 }
104
118
  },
105
119
  options: {
106
120
  widget: "EmptyBox"
@@ -184,7 +198,8 @@ const PageMasterUiSchema = (theme) => {
184
198
  size: "small",
185
199
  icon: "TablePaste",
186
200
  iconLabel: "Paste",
187
- styleDefault: true
201
+ styleDefault: true,
202
+ title: ""
188
203
  },
189
204
  style: {
190
205
  mt: "6px",
@@ -524,15 +539,17 @@ const PageMasterUiSchema = (theme) => {
524
539
  config: {
525
540
  layout: 11,
526
541
  main: {
527
- heading: "Are you sure you want to delete ?"
542
+ heading: "Are you sure you want to delete this Component ?"
528
543
  },
529
544
  style: {
530
- marginTop: "-20px",
531
545
  fontSize: "20px",
532
546
  "&.MuiTypography-root": {
533
- padding: "10px 30px 20px 30px",
547
+ padding: "0px 20px",
534
548
  textAlign: "center",
535
- lineHeight: "1"
549
+ lineHeight: "1.2",
550
+ fontWeight: "normal",
551
+ fontSize: "18px",
552
+ marginBottom: theme.spacing(5)
536
553
  }
537
554
  }
538
555
  }
@@ -554,15 +571,15 @@ const PageMasterUiSchema = (theme) => {
554
571
  layout: 6,
555
572
  main: {
556
573
  name: "No",
557
- startIcon: "ApproveIcon",
558
574
  variant: "contained",
559
- color: "info",
560
575
  type: "text",
561
576
  onClick: "deletePopUpComponent",
562
577
  size: "large"
563
578
  },
564
579
  style: {
565
580
  position: "absolute",
581
+ padding: "8px 0px",
582
+ fontSize: "16px",
566
583
  bottom: 0,
567
584
  left: 0,
568
585
  width: "50%",
@@ -590,7 +607,6 @@ const PageMasterUiSchema = (theme) => {
590
607
  layout: 6,
591
608
  main: {
592
609
  name: "Yes",
593
- startIcon: "ApproveIcon",
594
610
  variant: "contained",
595
611
  color: "error",
596
612
  type: "text",
@@ -599,6 +615,8 @@ const PageMasterUiSchema = (theme) => {
599
615
  },
600
616
  style: {
601
617
  position: "absolute",
618
+ padding: "8px 0px",
619
+ fontSize: "16px",
602
620
  bottom: 0,
603
621
  right: 0,
604
622
  width: "50%",
@@ -647,15 +665,17 @@ const PageMasterUiSchema = (theme) => {
647
665
  config: {
648
666
  layout: 11,
649
667
  main: {
650
- heading: "Are you sure you want to delete ?"
668
+ heading: "Are you sure you want to delete this Event ?"
651
669
  },
652
670
  style: {
653
- marginTop: "-20px",
654
671
  fontSize: "20px",
655
672
  "&.MuiTypography-root": {
656
- padding: "10px 30px 20px 30px",
673
+ padding: "0px 20px",
657
674
  textAlign: "center",
658
- lineHeight: "1"
675
+ lineHeight: "1.2",
676
+ fontWeight: "normal",
677
+ fontSize: "18px",
678
+ marginBottom: theme.spacing(5)
659
679
  }
660
680
  }
661
681
  }
@@ -677,15 +697,15 @@ const PageMasterUiSchema = (theme) => {
677
697
  layout: 6,
678
698
  main: {
679
699
  name: "No",
680
- startIcon: "ApproveIcon",
681
700
  variant: "contained",
682
- color: "info",
683
701
  type: "text",
684
702
  onClick: "deletePopUpEvent",
685
703
  size: "large"
686
704
  },
687
705
  style: {
688
706
  position: "absolute",
707
+ padding: "8px 0px",
708
+ fontSize: "16px",
689
709
  bottom: 0,
690
710
  left: 0,
691
711
  width: "50%",
@@ -713,7 +733,6 @@ const PageMasterUiSchema = (theme) => {
713
733
  layout: 6,
714
734
  main: {
715
735
  name: "Yes",
716
- startIcon: "ApproveIcon",
717
736
  variant: "contained",
718
737
  color: "error",
719
738
  type: "text",
@@ -722,6 +741,8 @@ const PageMasterUiSchema = (theme) => {
722
741
  },
723
742
  style: {
724
743
  position: "absolute",
744
+ padding: "8px 0px",
745
+ fontSize: "16px",
725
746
  bottom: 0,
726
747
  right: 0,
727
748
  width: "50%",
@@ -6243,7 +6264,7 @@ const ComponentSchema = {
6243
6264
  properties: {
6244
6265
  type: {
6245
6266
  oneOf: [
6246
- { title: "Masked Aadhaar", const: "AadharcardText" },
6267
+ { title: "Masked Aadhar Card", const: "AadharcardText" },
6247
6268
  { title: "Array", const: "Array" },
6248
6269
  { title: "Button", const: "Button" },
6249
6270
  { title: "Data Card", const: "card" },
@@ -6435,23 +6456,20 @@ const ComponentSchema = {
6435
6456
  }
6436
6457
  },
6437
6458
  filteringOptions: {
6438
- type: "array",
6439
- items: {
6440
- oneOf: [
6441
- { const: "fuzzy", title: "Fuzzy" },
6442
- { const: "contains", title: "Contain" },
6443
- { const: "startsWith", title: "Starts with" },
6444
- { const: "endsWith", title: "Ends with" },
6445
- { const: "equals", title: "Equals" },
6446
- { const: "notEquals", title: "Not Equals" },
6447
- { const: "between", title: "Between" },
6448
- { const: "betweenInclusive", title: "Between inclusive" },
6449
- { const: "greaterThan", title: "Greater than" },
6450
- { const: "greaterThanOrEqualTo", title: "Greater than or equal to" },
6451
- { const: "lessThan", title: "Less than" },
6452
- { const: "lessThanOrEqualTo", title: "Less than or equal to" }
6453
- ]
6454
- }
6459
+ oneOf: [
6460
+ { const: "fuzzy", title: "Fuzzy" },
6461
+ { const: "contains", title: "Contain" },
6462
+ { const: "startsWith", title: "Starts with" },
6463
+ { const: "endsWith", title: "Ends with" },
6464
+ { const: "equals", title: "Equals" },
6465
+ { const: "notEquals", title: "Not Equals" },
6466
+ { const: "between", title: "Between" },
6467
+ { const: "betweenInclusive", title: "Between inclusive" },
6468
+ { const: "greaterThan", title: "Greater than" },
6469
+ { const: "greaterThanOrEqualTo", title: "Greater than or equal to" },
6470
+ { const: "lessThan", title: "Less than" },
6471
+ { const: "lessThanOrEqualTo", title: "Less than or equal to" }
6472
+ ]
6455
6473
  },
6456
6474
  legendLabels: {
6457
6475
  type: "array",
@@ -6567,6 +6585,9 @@ const ComponentSchema = {
6567
6585
  { title: "Info", const: "info" }
6568
6586
  ]
6569
6587
  },
6588
+ pageName: {
6589
+ path: []
6590
+ },
6570
6591
  name: {
6571
6592
  type: "string"
6572
6593
  },
@@ -6828,15 +6849,16 @@ const componentBasicUiSchema = (theme) => {
6828
6849
  config: {
6829
6850
  layout: 11,
6830
6851
  main: {
6831
- heading: "Are you sure you want to delete ?"
6852
+ heading: "Are you sure you want to delete this Component ?"
6832
6853
  },
6833
6854
  style: {
6834
- marginTop: "-20px",
6835
- fontSize: "20px",
6836
6855
  "&.MuiTypography-root": {
6837
- padding: "10px 30px 20px 30px",
6856
+ padding: "0px 20px",
6838
6857
  textAlign: "center",
6839
- lineHeight: "1"
6858
+ lineHeight: "1.2",
6859
+ fontWeight: "normal",
6860
+ fontSize: "18px",
6861
+ marginBottom: theme.spacing(5)
6840
6862
  }
6841
6863
  }
6842
6864
  }
@@ -6865,6 +6887,8 @@ const componentBasicUiSchema = (theme) => {
6865
6887
  },
6866
6888
  style: {
6867
6889
  position: "absolute",
6890
+ padding: "8px 0px",
6891
+ fontSize: "16px",
6868
6892
  bottom: 0,
6869
6893
  left: 0,
6870
6894
  width: "50%",
@@ -6900,6 +6924,8 @@ const componentBasicUiSchema = (theme) => {
6900
6924
  },
6901
6925
  style: {
6902
6926
  position: "absolute",
6927
+ padding: "8px 0px",
6928
+ fontSize: "16px",
6903
6929
  bottom: 0,
6904
6930
  right: 0,
6905
6931
  width: "50%",
@@ -6948,15 +6974,17 @@ const componentBasicUiSchema = (theme) => {
6948
6974
  config: {
6949
6975
  layout: 11,
6950
6976
  main: {
6951
- heading: "Are you sure you want to delete ?"
6977
+ heading: "Are you sure you want to delete this Event ?"
6952
6978
  },
6953
6979
  style: {
6954
- marginTop: "-20px",
6955
6980
  fontSize: "20px",
6956
6981
  "&.MuiTypography-root": {
6957
- padding: "10px 30px 20px 30px",
6982
+ padding: "0px 20px",
6958
6983
  textAlign: "center",
6959
- lineHeight: "1"
6984
+ lineHeight: "1.2",
6985
+ fontWeight: "normal",
6986
+ fontSize: "18px",
6987
+ marginBottom: theme.spacing(5)
6960
6988
  }
6961
6989
  }
6962
6990
  }
@@ -6985,6 +7013,8 @@ const componentBasicUiSchema = (theme) => {
6985
7013
  },
6986
7014
  style: {
6987
7015
  position: "absolute",
7016
+ padding: "8px 0px",
7017
+ fontSize: "16px",
6988
7018
  bottom: 0,
6989
7019
  left: 0,
6990
7020
  width: "50%",
@@ -7020,6 +7050,8 @@ const componentBasicUiSchema = (theme) => {
7020
7050
  },
7021
7051
  style: {
7022
7052
  position: "absolute",
7053
+ padding: "8px 0px",
7054
+ fontSize: "16px",
7023
7055
  bottom: 0,
7024
7056
  right: 0,
7025
7057
  width: "50%",
@@ -7044,23 +7076,20 @@ const componentBasicUiSchema = (theme) => {
7044
7076
  type: "Control",
7045
7077
  scope: "#/properties/pageName",
7046
7078
  options: {
7047
- widget: "Box"
7079
+ widget: "Breadcrumb"
7048
7080
  },
7049
7081
  config: {
7050
7082
  layout: 12,
7051
- main: {
7052
- heading: ""
7053
- },
7083
+ main: {},
7054
7084
  style: {
7055
7085
  paddingLeft: theme.spacing(3),
7056
- width: "100%",
7057
- fontSize: "10px",
7058
7086
  color: theme.palette.grey[600],
7087
+ fontSize: "10px",
7059
7088
  position: "fixed",
7060
7089
  bottom: "24px",
7061
- backgroundColor: theme.palette.background.default,
7062
7090
  borderBottom: `1px solid ${theme.palette.common.black}29`,
7063
- borderTop: `1px solid ${theme.palette.common.black}29`
7091
+ borderTop: `1px solid ${theme.palette.common.black}29`,
7092
+ backgroundColor: theme.palette.background.default
7064
7093
  }
7065
7094
  }
7066
7095
  },
@@ -7724,7 +7753,7 @@ const buildPropertiesSection = function(type) {
7724
7753
  case "Text":
7725
7754
  uiSchema.elements = [
7726
7755
  getInputField("placeholder", "Placeholder"),
7727
- emptyBox$1("TextEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
7756
+ getRadioInputField("multiline", "Multiline", ["YES", "NO"]),
7728
7757
  emptyBox$1("TextEmpty1", { xs: 0, sm: 0, md: 4, lg: 4 }),
7729
7758
  getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
7730
7759
  ];
@@ -8428,6 +8457,7 @@ const sectionLabels = {
8428
8457
  function refreshPage(type, store2) {
8429
8458
  var _a, _b;
8430
8459
  const UiSchema = _.cloneDeep(componentBasicUiSchema(store2.theme.myTheme));
8460
+ const currentConfig = JSON.parse(sessionStorage.getItem("pageFormdata"));
8431
8461
  if (type) {
8432
8462
  const sectionUiSchema = {
8433
8463
  Core: CoreSection,
@@ -8443,13 +8473,74 @@ function refreshPage(type, store2) {
8443
8473
  UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection(store2.theme.myTheme), ValidationSection];
8444
8474
  }
8445
8475
  const path = (_b = store2.searchParams) == null ? void 0 : _b.get("path");
8446
- const pathArrayAll = path.split(".");
8447
- const parentObj = pathArrayAll.reduce((currObj, path2) => {
8448
- const currElemIndexWithBracket = path2.split("[")[1];
8449
- const currElemIndex = parseInt(currElemIndexWithBracket.slice(0, -1));
8450
- return currObj["elements"][currElemIndex];
8451
- });
8452
- console.log("parentObj", parentObj);
8476
+ const lastDotIndex = path.lastIndexOf(".");
8477
+ const parentPath = path.slice(0, lastDotIndex);
8478
+ const parentObj = _.get(currentConfig, parentPath);
8479
+ if ((parentObj == null ? void 0 : parentObj.type) === "Table") {
8480
+ UiSchema.elements[0].elements[0].elements[4] = {
8481
+ type: "Control",
8482
+ scope: "#/properties/columnFormat",
8483
+ options: {
8484
+ widget: "SelectInputField"
8485
+ },
8486
+ config: {
8487
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8488
+ main: {
8489
+ label: "Column Format"
8490
+ }
8491
+ }
8492
+ };
8493
+ UiSchema.elements[0].elements[0].elements[6] = {
8494
+ type: "Control",
8495
+ scope: "#/properties/filteringOptions",
8496
+ options: {
8497
+ widget: "SelectInputField"
8498
+ },
8499
+ config: {
8500
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8501
+ main: {
8502
+ label: "Filter Mode",
8503
+ multiple: true
8504
+ }
8505
+ }
8506
+ };
8507
+ UiSchema.elements[0].elements[0].elements[5] = {
8508
+ type: "Control",
8509
+ scope: "#/properties/enableFilter",
8510
+ options: {
8511
+ widget: "RadioInputField"
8512
+ },
8513
+ config: {
8514
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8515
+ main: {
8516
+ label: "Enable Filter",
8517
+ options: ["Yes", "No"]
8518
+ }
8519
+ }
8520
+ }, UiSchema.elements[0].elements[0].elements[7] = {
8521
+ type: "Control",
8522
+ scope: "#/properties/enableSorting",
8523
+ options: {
8524
+ widget: "RadioInputField"
8525
+ },
8526
+ config: {
8527
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8528
+ main: {
8529
+ label: "Enable Sorting",
8530
+ options: ["Yes", "No"]
8531
+ }
8532
+ }
8533
+ }, UiSchema.elements[0].elements[0].elements[8] = {
8534
+ type: "Control",
8535
+ scope: "#/properties/proc",
8536
+ config: {
8537
+ layout: { xs: 6, sm: 6, md: 8, lg: 3 }
8538
+ },
8539
+ options: {
8540
+ widget: "EmptyBox"
8541
+ }
8542
+ };
8543
+ }
8453
8544
  if (sessionStorage.getItem("copiedConfig")) {
8454
8545
  this.ElementPathSetter(UiSchema);
8455
8546
  }
@@ -8471,10 +8562,34 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8471
8562
  return getFormdataFromSessionStorage(path);
8472
8563
  },
8473
8564
  getSchema: function() {
8565
+ var _a, _b, _c;
8474
8566
  const schema2 = _.cloneDeep(ComponentSchema);
8475
8567
  if (sessionStorage.getItem("copiedConfig")) {
8476
8568
  schema2.properties.RemoveItemButton.disabled = false;
8477
8569
  }
8570
+ const config2 = JSON.parse(sessionStorage.getItem("pageFormdata"));
8571
+ const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
8572
+ const id = (_b = store2.searchParams) == null ? void 0 : _b.get("id");
8573
+ let pathArray = [{ label: (_c = config2.name) != null ? _c : "NewPage", path: `/PageMaster${id ? `?id=${id}` : ""}` }];
8574
+ if (path) {
8575
+ const pathArrayAll = path.split(".");
8576
+ const arr = [];
8577
+ pathArrayAll.map((e, i) => {
8578
+ if (i === 0) {
8579
+ arr.push(e);
8580
+ return;
8581
+ }
8582
+ arr.push(`${arr[i - 1]}.${e}`);
8583
+ });
8584
+ arr.map((e) => {
8585
+ const data = _.get(config2, e);
8586
+ pathArray.push({
8587
+ label: (data == null ? void 0 : data.name) || (data == null ? void 0 : data.eventType) || "NewComponent",
8588
+ path: `/Component?path=${e}${id ? `&id=${id}` : ""}`
8589
+ });
8590
+ });
8591
+ }
8592
+ schema2.properties.pageName.path = pathArray;
8478
8593
  return schema2;
8479
8594
  },
8480
8595
  okHandler: () => okHandler(store2),
@@ -8587,6 +8702,10 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8587
8702
  const copiedFormData = getFormdataFromSessionStorage(copiedElementPath);
8588
8703
  this.ElementPathSetter(uiSchema, copiedFormData);
8589
8704
  sessionStorage.setItem("copiedConfig", JSON.stringify(copiedFormData));
8705
+ store2.setNotify({
8706
+ SuccessMessage: `${elementType} Copied Successfully`,
8707
+ Success: true
8708
+ });
8590
8709
  store2.setSchema(schema2);
8591
8710
  store2.setUiSchema(uiSchema);
8592
8711
  },
@@ -8646,8 +8765,18 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8646
8765
  return parentPath ? `${parentPath}.events[${rowId}]` : `events[${rowId}]`;
8647
8766
  },
8648
8767
  ElementPathSetter: function(uiSchema, copiedFormData) {
8768
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
8649
8769
  const formData = copiedFormData || JSON.parse(sessionStorage.getItem("copiedConfig"));
8650
- uiSchema.elements[2].elements[1].config.main.heading = `Copied Path: ${formData.pageName}`;
8770
+ if ((_f = (_e = (_d = (_c = (_b = (_a = uiSchema == null ? void 0 : uiSchema.elements) == null ? void 0 : _a[1]) == null ? void 0 : _b.elements) == null ? void 0 : _c[0]) == null ? void 0 : _d.config) == null ? void 0 : _e.main) == null ? void 0 : _f.headerIcons) {
8771
+ uiSchema.elements[1].elements[0].config.main.headerIcons.elements[1].widget.config.main.tooltipMessage = `Copied Component: ${formData.name}`;
8772
+ } else if ((_n = (_m = (_l = (_k = (_j = (_i = (_h = (_g = uiSchema == null ? void 0 : uiSchema.elements) == null ? void 0 : _g[0]) == null ? void 0 : _h.elements) == null ? void 0 : _i[1]) == null ? void 0 : _j.elements) == null ? void 0 : _k[0]) == null ? void 0 : _l.config) == null ? void 0 : _m.main) == null ? void 0 : _n.headerIcons) {
8773
+ uiSchema.elements[0].elements[1].elements[0].config.main.headerIcons.elements[1].widget.config.main.tooltipMessage = `Copied Component: ${formData.name}`;
8774
+ }
8775
+ if ((_t = (_s = (_r = (_q = (_p = (_o = uiSchema == null ? void 0 : uiSchema.elements) == null ? void 0 : _o[1]) == null ? void 0 : _p.elements) == null ? void 0 : _q[1]) == null ? void 0 : _r.config) == null ? void 0 : _s.main) == null ? void 0 : _t.headerIcons) {
8776
+ uiSchema.elements[1].elements[1].config.main.headerIcons.elements[1].widget.config.main.tooltipMessage = `Copied Event: ${formData.eventType}`;
8777
+ } else if ((_z = (_y = (_x = (_w = (_v = (_u = uiSchema == null ? void 0 : uiSchema.elements) == null ? void 0 : _u[0]) == null ? void 0 : _v.elements) == null ? void 0 : _w[1]) == null ? void 0 : _x.config) == null ? void 0 : _y.main) == null ? void 0 : _z.headerIcons) {
8778
+ uiSchema.elements[0].elements[1].config.main.headerIcons.elements[1].widget.config.main.tooltipMessage = `Copied Component: ${formData.eventType}`;
8779
+ }
8651
8780
  }
8652
8781
  };
8653
8782
  };
@@ -8846,6 +8975,9 @@ const EventSchema = {
8846
8975
  },
8847
8976
  RemoveItemButton: {
8848
8977
  disabled: true
8978
+ },
8979
+ pageName: {
8980
+ path: [{ label: "defaultLabel", path: "defaultPath" }]
8849
8981
  }
8850
8982
  },
8851
8983
  required: ["eventType", "Handler"]
@@ -9157,15 +9289,17 @@ const EventUiSchema = (theme) => {
9157
9289
  config: {
9158
9290
  layout: 11,
9159
9291
  main: {
9160
- heading: "Are you sure you want to delete ?"
9292
+ heading: "Are you sure you want to delete this Event ?"
9161
9293
  },
9162
9294
  style: {
9163
- marginTop: "-20px",
9164
9295
  fontSize: "20px",
9165
9296
  "&.MuiTypography-root": {
9166
- padding: "10px 30px 20px 30px",
9297
+ padding: "0px 20px",
9167
9298
  textAlign: "center",
9168
- lineHeight: "1"
9299
+ lineHeight: "1.2",
9300
+ fontWeight: "normal",
9301
+ fontSize: "18px",
9302
+ marginBottom: theme.spacing(5)
9169
9303
  }
9170
9304
  }
9171
9305
  }
@@ -9189,13 +9323,14 @@ const EventUiSchema = (theme) => {
9189
9323
  name: "No",
9190
9324
  startIcon: "ApproveIcon",
9191
9325
  variant: "contained",
9192
- color: "info",
9193
9326
  type: "text",
9194
9327
  onClick: "deletePopUpEvent",
9195
9328
  size: "large"
9196
9329
  },
9197
9330
  style: {
9198
9331
  position: "absolute",
9332
+ padding: "8px 0px",
9333
+ fontSize: "16px",
9199
9334
  bottom: 0,
9200
9335
  left: 0,
9201
9336
  width: "50%",
@@ -9223,7 +9358,6 @@ const EventUiSchema = (theme) => {
9223
9358
  layout: 6,
9224
9359
  main: {
9225
9360
  name: "Yes",
9226
- startIcon: "ApproveIcon",
9227
9361
  variant: "contained",
9228
9362
  color: "error",
9229
9363
  type: "text",
@@ -9232,6 +9366,8 @@ const EventUiSchema = (theme) => {
9232
9366
  },
9233
9367
  style: {
9234
9368
  position: "absolute",
9369
+ padding: "8px 0px",
9370
+ fontSize: "16px",
9235
9371
  bottom: 0,
9236
9372
  right: 0,
9237
9373
  width: "50%",
@@ -9256,23 +9392,20 @@ const EventUiSchema = (theme) => {
9256
9392
  type: "Control",
9257
9393
  scope: "#/properties/pageName",
9258
9394
  options: {
9259
- widget: "Box"
9395
+ widget: "Breadcrumb"
9260
9396
  },
9261
9397
  config: {
9262
9398
  layout: 12,
9263
- main: {
9264
- heading: ""
9265
- },
9399
+ main: {},
9266
9400
  style: {
9267
9401
  paddingLeft: theme.spacing(3),
9268
- width: "100%",
9269
- fontSize: "10px",
9270
9402
  color: theme.palette.grey[600],
9403
+ fontSize: "10px",
9271
9404
  position: "fixed",
9272
9405
  bottom: "24px",
9273
- backgroundColor: theme.palette.background.default,
9274
9406
  borderBottom: `1px solid ${theme.palette.common.black}29`,
9275
- borderTop: `1px solid ${theme.palette.common.black}29`
9407
+ borderTop: `1px solid ${theme.palette.common.black}29`,
9408
+ backgroundColor: theme.palette.background.default
9276
9409
  }
9277
9410
  }
9278
9411
  },
@@ -9563,15 +9696,21 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9563
9696
  const formdata = await this.getFormData();
9564
9697
  store2.setFormdata(formdata);
9565
9698
  const schema2 = await this.getSchema();
9699
+ console.log("SettingSchema>>", schema2);
9566
9700
  store2.setSchema(schema2);
9567
9701
  this.refreshPage(formdata.Handler, store2);
9568
9702
  },
9569
9703
  refreshPage: (handlerType, store22) => {
9704
+ var _a, _b, _c;
9570
9705
  const uiSchema = _.cloneDeep(EventUiSchema(store22.theme.myTheme));
9571
9706
  const schema2 = _.cloneDeep(EventSchema);
9572
9707
  if (handlerType) {
9573
9708
  if (handlerType === "custom") {
9574
- uiSchema.elements[0].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
9709
+ uiSchema.elements[0].elements[0].elements[2] = getRadioInputField(
9710
+ "isSync",
9711
+ "Run in Sync",
9712
+ ["Yes", "No"]
9713
+ );
9575
9714
  uiSchema.elements[0].elements[0].elements[3] = {
9576
9715
  type: "Control",
9577
9716
  scope: "#/properties/emptyBox",
@@ -9584,14 +9723,26 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9584
9723
  style: {}
9585
9724
  }
9586
9725
  };
9587
- uiSchema.elements[0].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
9726
+ uiSchema.elements[0].elements[0].elements[4] = getTextArea(
9727
+ "eventCode",
9728
+ "Write Custom Code",
9729
+ false
9730
+ );
9588
9731
  schema2.required = ["eventType", "Handler", "eventCode"];
9589
9732
  } else if (handlerType === "api") {
9590
- uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", { xs: 0, sm: 0, md: 4, lg: 6 });
9733
+ uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", {
9734
+ xs: 0,
9735
+ sm: 0,
9736
+ md: 4,
9737
+ lg: 6
9738
+ });
9591
9739
  uiSchema.elements[0].elements[0].elements[3] = APISection;
9592
9740
  schema2.required = ["eventType", "Handler", "method", "path"];
9593
9741
  } else if (handlerType === "inBuiltFunction") {
9594
- uiSchema.elements[0].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
9742
+ uiSchema.elements[0].elements[0].elements[2] = getSelectField(
9743
+ "inBuiltFunctionType",
9744
+ "Function Name"
9745
+ );
9595
9746
  uiSchema.elements[0].elements[0].elements[3] = {
9596
9747
  type: "Control",
9597
9748
  scope: "#/properties/emptyBox",
@@ -9604,10 +9755,19 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9604
9755
  style: {}
9605
9756
  }
9606
9757
  };
9607
- uiSchema.elements[0].elements[0].elements[4] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
9758
+ uiSchema.elements[0].elements[0].elements[4] = getTextArea(
9759
+ "funcParametersCode",
9760
+ "Write Custom Code for Functions Parameter",
9761
+ true
9762
+ );
9608
9763
  schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
9609
9764
  } else if (handlerType === "refresh") {
9610
- uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", { xs: 0, sm: 0, md: 4, lg: 6 });
9765
+ uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", {
9766
+ xs: 0,
9767
+ sm: 0,
9768
+ md: 4,
9769
+ lg: 6
9770
+ });
9611
9771
  uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
9612
9772
  schema2.properties.refreshElements.required = ["value"];
9613
9773
  schema2.properties.refreshElements.items.required = ["value"];
@@ -9621,9 +9781,34 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9621
9781
  ];
9622
9782
  }
9623
9783
  if (sessionStorage.getItem("copiedConfig")) {
9624
- Component(store22, dynamicData2, submitHandler, service2).ElementPathSetter(uiSchema);
9784
+ Component(store22, dynamicData2, submitHandler, service2).ElementPathSetter(
9785
+ uiSchema
9786
+ );
9625
9787
  schema2.properties.RemoveItemButton.disabled = false;
9626
9788
  }
9789
+ const config2 = JSON.parse(sessionStorage.getItem("pageFormdata"));
9790
+ const path = (_a = store22.searchParams) == null ? void 0 : _a.get("path");
9791
+ const id = (_b = store22.searchParams) == null ? void 0 : _b.get("id");
9792
+ let pathArray = [{ label: (_c = config2.name) != null ? _c : "NewPage", path: `/PageMaster${id ? `?id=${id}` : ""}` }];
9793
+ if (path) {
9794
+ const pathArrayAll = path.split(".");
9795
+ const arr = [];
9796
+ pathArrayAll.map((e, i) => {
9797
+ if (i === 0) {
9798
+ arr.push(e);
9799
+ return;
9800
+ }
9801
+ arr.push(`${arr[i - 1]}.${e}`);
9802
+ });
9803
+ arr.map((e) => {
9804
+ const data = _.get(config2, e);
9805
+ pathArray.push({
9806
+ label: (data == null ? void 0 : data.name) || (data == null ? void 0 : data.eventType) || "NewComponent",
9807
+ path: (data == null ? void 0 : data.eventType) ? `/ComponentEvents?path=${e}${id ? `&id=${id}` : ""}` : `/Component?path=${e}${id ? `&id=${id}` : ""}`
9808
+ });
9809
+ });
9810
+ }
9811
+ schema2.properties.pageName.path = pathArray;
9627
9812
  store22.setSchema(schema2);
9628
9813
  store22.setUiSchema(uiSchema);
9629
9814
  },
@@ -9632,10 +9817,34 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9632
9817
  return EventUiSchema;
9633
9818
  },
9634
9819
  getSchema: () => {
9820
+ var _a, _b, _c;
9635
9821
  const schema2 = _.cloneDeep(EventSchema);
9636
9822
  if (sessionStorage.getItem("copiedConfig")) {
9637
9823
  schema2.properties.RemoveItemButton.disabled = false;
9638
9824
  }
9825
+ const config2 = JSON.parse(sessionStorage.getItem("pageFormdata"));
9826
+ const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
9827
+ const id = (_b = store2.searchParams) == null ? void 0 : _b.get("id");
9828
+ let pathArray = [{ label: (_c = config2.name) != null ? _c : "NewPage", path: `/PageMaster${id ? `?id=${id}` : ""}` }];
9829
+ if (path) {
9830
+ const pathArrayAll = path.split(".");
9831
+ const arr = [];
9832
+ pathArrayAll.map((e, i) => {
9833
+ if (i === 0) {
9834
+ arr.push(e);
9835
+ return;
9836
+ }
9837
+ arr.push(`${arr[i - 1]}.${e}`);
9838
+ });
9839
+ arr.map((e) => {
9840
+ const data = _.get(config2, e);
9841
+ pathArray.push({
9842
+ label: (data == null ? void 0 : data.name) || (data == null ? void 0 : data.eventType) || "NewComponent",
9843
+ path: (data == null ? void 0 : data.eventType) ? `/ComponentEvents?path=${e}${id ? `&id=${id}` : ""}` : `/Component?path=${e}${id ? `&id=${id}` : ""}`
9844
+ });
9845
+ });
9846
+ }
9847
+ schema2.properties.pageName.path = _.cloneDeep(pathArray);
9639
9848
  return schema2;
9640
9849
  },
9641
9850
  okHandler: () => okHandler(store2),
@@ -9643,7 +9852,10 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9643
9852
  onChange: function() {
9644
9853
  var _a, _b, _c;
9645
9854
  if (((_a = store2 == null ? void 0 : store2.formData) == null ? void 0 : _a.Handler) !== ((_b = store2 == null ? void 0 : store2.newData) == null ? void 0 : _b.Handler) && ((_c = store2 == null ? void 0 : store2.newData) == null ? void 0 : _c.Handler) !== void 0) {
9646
- this.refreshPage(store2.newData.Handler || store2.formdata.Handler, store2);
9855
+ this.refreshPage(
9856
+ store2.newData.Handler || store2.formdata.Handler,
9857
+ store2
9858
+ );
9647
9859
  }
9648
9860
  },
9649
9861
  addEvent: function() {
@@ -9669,7 +9881,9 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9669
9881
  this.setPage();
9670
9882
  },
9671
9883
  deleteEvent: async function() {
9672
- await Component(store2, dynamicData2, submitHandler, service2).deleteEvent(false);
9884
+ await Component(store2, dynamicData2, submitHandler, service2).deleteEvent(
9885
+ false
9886
+ );
9673
9887
  store2.updateDialog("popUpEvent");
9674
9888
  },
9675
9889
  backHandler: function() {
@@ -9681,10 +9895,15 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9681
9895
  store2.updateDialog("popUpEvent");
9682
9896
  },
9683
9897
  copyPasteElement: function() {
9684
- Component(store2, dynamicData2, submitHandler, service2).copyPasteElement(store2, this.setPage.bind(this));
9898
+ Component(store2, dynamicData2, submitHandler, service2).copyPasteElement(
9899
+ store2,
9900
+ this.setPage.bind(this)
9901
+ );
9685
9902
  },
9686
9903
  RemoveItemButton: function() {
9687
- Component(store2, dynamicData2, submitHandler, service2).RemoveItemButton(store2);
9904
+ Component(store2, dynamicData2, submitHandler, service2).RemoveItemButton(
9905
+ store2
9906
+ );
9688
9907
  }
9689
9908
  };
9690
9909
  };
@@ -9855,16 +10074,17 @@ function executeCustomHandler(params) {
9855
10074
  }
9856
10075
  }
9857
10076
  function mergeFormdata(handlerResponse, componentName, eventConfig, store2, service2, formDataHolder) {
10077
+ var _a, _b, _c;
9858
10078
  if (eventConfig.type === "Select" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
9859
10079
  if (!_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
9860
10080
  store2.setSchema((pre) => {
9861
- var _a;
10081
+ var _a2;
9862
10082
  return {
9863
10083
  ...pre,
9864
10084
  properties: {
9865
10085
  ...pre.properties,
9866
10086
  [componentName]: {
9867
- ...(_a = pre.properties) == null ? void 0 : _a[componentName],
10087
+ ...(_a2 = pre.properties) == null ? void 0 : _a2[componentName],
9868
10088
  oneOf: handlerResponse.data
9869
10089
  }
9870
10090
  }
@@ -9874,13 +10094,13 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
9874
10094
  } else if (eventConfig.type === "MultipleSelect" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
9875
10095
  if (!_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
9876
10096
  store2.setSchema((pre) => {
9877
- var _a;
10097
+ var _a2;
9878
10098
  return {
9879
10099
  ...pre,
9880
10100
  properties: {
9881
10101
  ...pre.properties,
9882
10102
  [componentName]: {
9883
- ...(_a = pre.properties) == null ? void 0 : _a[componentName],
10103
+ ...(_a2 = pre.properties) == null ? void 0 : _a2[componentName],
9884
10104
  type: "array",
9885
10105
  items: {
9886
10106
  oneOf: handlerResponse == null ? void 0 : handlerResponse.data
@@ -9900,6 +10120,14 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
9900
10120
  return { ...pre, ...handlerResponse == null ? void 0 : handlerResponse.data };
9901
10121
  });
9902
10122
  }
10123
+ } else if (eventConfig.type === "Table" && eventConfig.lazyLoading) {
10124
+ if (handlerResponse && (handlerResponse == null ? void 0 : handlerResponse.data)) {
10125
+ formDataHolder[componentName] = (_a = handlerResponse.data) == null ? void 0 : _a.data;
10126
+ formDataHolder[`${componentName}_RowCount`] = (_c = (_b = handlerResponse.data) == null ? void 0 : _b.meta) == null ? void 0 : _c.totalRowCount;
10127
+ store2.setFormdata((pre) => {
10128
+ return { ...pre, ...formDataHolder };
10129
+ });
10130
+ }
9903
10131
  } else {
9904
10132
  if (handlerResponse) {
9905
10133
  formDataHolder[componentName] = handlerResponse.data;
@@ -10056,7 +10284,7 @@ var service = (funcParams) => {
10056
10284
  };
10057
10285
  return {
10058
10286
  setPage: async function() {
10059
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
10287
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
10060
10288
  funcParams.store.setFormdata({});
10061
10289
  funcParams.store.newData = {};
10062
10290
  const pageBasicDetailString = sessionStorage.getItem("pagemasterMetaData");
@@ -10071,12 +10299,24 @@ var service = (funcParams) => {
10071
10299
  }));
10072
10300
  }
10073
10301
  const config2 = pageData == null ? void 0 : pageData.config;
10302
+ const programId = ((_a = JSON.parse(window.sessionStorage.getItem("ProgramID") || "{}")) == null ? void 0 : _a.value) || "programID";
10303
+ const queryParams = new URLSearchParams(location.search);
10304
+ console.log("queryParams ", queryParams);
10305
+ if ((queryParams == null ? void 0 : queryParams.get("ProgramID")) !== programId + "") {
10306
+ funcParams.store.setSearchParams({ ...queryParams, ProgramID: programId });
10307
+ funcParams.store.navigate(
10308
+ 0
10309
+ );
10310
+ }
10311
+ if (programId !== "programID") {
10312
+ funcParams.store.setFormdata((pre) => ({ ...pre, programId }));
10313
+ }
10074
10314
  const uiSchema = pageData == null ? void 0 : pageData.uiSchema;
10075
10315
  const event2 = new CustomEvent("pageNameChanged", {
10076
10316
  detail: { pageName: config2.label }
10077
10317
  });
10078
10318
  window.dispatchEvent(event2);
10079
- const theme = (_b = (_a = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _a.theme) == null ? void 0 : _b.myTheme;
10319
+ const theme = (_c = (_b = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _b.theme) == null ? void 0 : _c.myTheme;
10080
10320
  uiSchema.elements.push(
10081
10321
  {
10082
10322
  type: "HorizontalLayout",
@@ -10106,7 +10346,7 @@ var service = (funcParams) => {
10106
10346
  heading: "Copywriter@ACT21.IO"
10107
10347
  },
10108
10348
  style: {
10109
- color: ((_d = (_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.text) == null ? void 0 : _d.disabled) || "#AFAFAF",
10349
+ color: ((_e = (_d = theme == null ? void 0 : theme.palette) == null ? void 0 : _d.text) == null ? void 0 : _e.disabled) || "#AFAFAF",
10110
10350
  fontSize: "11px",
10111
10351
  textAlign: "center",
10112
10352
  lineHeight: 2,
@@ -10133,7 +10373,7 @@ var service = (funcParams) => {
10133
10373
  width: "fit-content"
10134
10374
  },
10135
10375
  style: {
10136
- fill: (_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.primary) == null ? void 0 : _f.main,
10376
+ fill: (_g = (_f = theme == null ? void 0 : theme.palette) == null ? void 0 : _f.primary) == null ? void 0 : _g.main,
10137
10377
  width: 20,
10138
10378
  height: 0,
10139
10379
  top: 0,
@@ -10142,7 +10382,7 @@ var service = (funcParams) => {
10142
10382
  fontSize: "12px",
10143
10383
  cursor: "pointer",
10144
10384
  ":hover": {
10145
- fill: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.dark
10385
+ fill: (_i = (_h = theme == null ? void 0 : theme.palette) == null ? void 0 : _h.primary) == null ? void 0 : _i.dark
10146
10386
  },
10147
10387
  marginRight: "20px"
10148
10388
  }
@@ -10165,7 +10405,7 @@ var service = (funcParams) => {
10165
10405
  lineHeight: 1,
10166
10406
  height: 0,
10167
10407
  width: "fit-content",
10168
- color: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.main,
10408
+ color: (_k = (_j = theme == null ? void 0 : theme.palette) == null ? void 0 : _j.primary) == null ? void 0 : _k.main,
10169
10409
  fontSize: "12px",
10170
10410
  cursor: "pointer",
10171
10411
  marginLeft: "2px",
@@ -10173,7 +10413,7 @@ var service = (funcParams) => {
10173
10413
  right: "12px",
10174
10414
  position: "absolute",
10175
10415
  ":hover": {
10176
- color: (_l = (_k = theme == null ? void 0 : theme.palette) == null ? void 0 : _k.primary) == null ? void 0 : _l.dark
10416
+ color: (_m = (_l = theme == null ? void 0 : theme.palette) == null ? void 0 : _l.primary) == null ? void 0 : _m.dark
10177
10417
  },
10178
10418
  marginRight: "4px"
10179
10419
  }
@@ -10182,7 +10422,7 @@ var service = (funcParams) => {
10182
10422
  ]
10183
10423
  }
10184
10424
  );
10185
- const schema2 = (_m = pageData == null ? void 0 : pageData.schema) != null ? _m : { type: "object", properties: {} };
10425
+ const schema2 = (_n = pageData == null ? void 0 : pageData.schema) != null ? _n : { type: "object", properties: {} };
10186
10426
  eventGroups = extractEvents(config2);
10187
10427
  executeEventsParameters = {
10188
10428
  config: {},
@@ -10205,7 +10445,7 @@ var service = (funcParams) => {
10205
10445
  service: funcParams.service,
10206
10446
  serviceHolder: this,
10207
10447
  eventGroups,
10208
- formDataHolder
10448
+ formDataHolder: {}
10209
10449
  });
10210
10450
  funcParams.store.setSchema(
10211
10451
  (pre) => {
@@ -10220,11 +10460,11 @@ var service = (funcParams) => {
10220
10460
  funcParams.store.setUiSchema(uiSchema);
10221
10461
  },
10222
10462
  onCellRenderer: (cellParams) => {
10223
- var _a, _b, _c;
10463
+ var _a, _b, _c, _d;
10224
10464
  if (eventGroups.onCellRenderer) {
10225
10465
  let finalResponse = {};
10226
10466
  const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || ((_c = (_b = funcParams == null ? void 0 : funcParams.dynamicData) == null ? void 0 : _b.path) == null ? void 0 : _c.split(".")[0]);
10227
- for (const eventConfig of eventGroups == null ? void 0 : eventGroups.onCellRenderer[path]) {
10467
+ for (const eventConfig of (_d = eventGroups == null ? void 0 : eventGroups.onCellRenderer) == null ? void 0 : _d[path]) {
10228
10468
  executeEventsParameters.store.functionParameters = cellParams;
10229
10469
  finalResponse = executeEvents({
10230
10470
  ...executeEventsParameters,
@@ -10828,6 +11068,9 @@ const buildTextField = (config2, componentScope2) => {
10828
11068
  if (config2.style) {
10829
11069
  inputField.config.style = JSON.parse(config2.style);
10830
11070
  }
11071
+ if (config2.multiline) {
11072
+ inputField.config.main.multiline = config2.multiline === "YES" ? true : false;
11073
+ }
10831
11074
  if (config2.InputFormatingAndMasking) {
10832
11075
  inputField.config.main.formatStrArray = config2.InputFormatingAndMasking.map((e) => e.formatElement);
10833
11076
  }
@@ -12353,19 +12596,12 @@ const buildUiSchema = (config2, store2) => {
12353
12596
  });
12354
12597
  } else if (config2.type == "Table") {
12355
12598
  const sizeMap = {};
12356
- const filterMap = {};
12357
12599
  if (config2.sizeHolder) {
12358
12600
  config2.sizeHolder.map((e, i) => {
12359
12601
  sizeMap[e.keyName] = e.value;
12360
12602
  });
12361
12603
  }
12362
- if (config2.enableColumnFilter) {
12363
- config2.enableColumnFilter.map((e) => {
12364
- filterMap[e.keyName] = true;
12365
- });
12366
- }
12367
12604
  elements.elements = config2.elements.map((cellElem, elemInd) => {
12368
- var _a, _b;
12369
12605
  if (cellElem.type) {
12370
12606
  return {
12371
12607
  accessorKey: cellElem.name,
@@ -12374,8 +12610,9 @@ const buildUiSchema = (config2, store2) => {
12374
12610
  type: cellElem.columnFormat,
12375
12611
  widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store2) : void 0,
12376
12612
  elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store2)) : [],
12377
- enableColumnFilter: Object.keys(filterMap).length === 0 ? true : (_a = filterMap[cellElem.name]) != null ? _a : false,
12378
- columnFilterModeOptions: config2.filteringOptions
12613
+ columnFilterModeOptions: cellElem.filteringOptions,
12614
+ enableColumnFilter: cellElem.enableFilter === "Yes" ? true : false,
12615
+ enableSorting: cellElem.enableSorting === "Yes" ? true : false
12379
12616
  };
12380
12617
  } else {
12381
12618
  return {
@@ -12383,8 +12620,9 @@ const buildUiSchema = (config2, store2) => {
12383
12620
  type: cellElem.columnFormat,
12384
12621
  header: cellElem.label || cellElem.name,
12385
12622
  size: sizeMap[cellElem.name] || 180,
12386
- enableColumnFilter: Object.keys(filterMap).length === 0 ? true : (_b = filterMap[cellElem.name]) != null ? _b : false,
12387
- columnFilterModeOptions: config2.filteringOptions
12623
+ columnFilterModeOptions: cellElem.filteringOptions,
12624
+ enableColumnFilter: cellElem.enableFilter === "Yes" ? true : false,
12625
+ enableSorting: cellElem.enableSorting === "Yes" ? true : false
12388
12626
  };
12389
12627
  }
12390
12628
  });