impaktapps-ui-builder 0.0.101-alpha.32 → 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,
@@ -8442,7 +8472,75 @@ function refreshPage(type, store2) {
8442
8472
  UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Events", "Validation"];
8443
8473
  UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection(store2.theme.myTheme), ValidationSection];
8444
8474
  }
8445
- console.log("pageName", (_b = store2.formData) == null ? void 0 : _b.pageName);
8475
+ const path = (_b = store2.searchParams) == null ? void 0 : _b.get("path");
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
+ }
8446
8544
  if (sessionStorage.getItem("copiedConfig")) {
8447
8545
  this.ElementPathSetter(UiSchema);
8448
8546
  }
@@ -8464,10 +8562,34 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8464
8562
  return getFormdataFromSessionStorage(path);
8465
8563
  },
8466
8564
  getSchema: function() {
8565
+ var _a, _b, _c;
8467
8566
  const schema2 = _.cloneDeep(ComponentSchema);
8468
8567
  if (sessionStorage.getItem("copiedConfig")) {
8469
8568
  schema2.properties.RemoveItemButton.disabled = false;
8470
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;
8471
8593
  return schema2;
8472
8594
  },
8473
8595
  okHandler: () => okHandler(store2),
@@ -8580,6 +8702,10 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8580
8702
  const copiedFormData = getFormdataFromSessionStorage(copiedElementPath);
8581
8703
  this.ElementPathSetter(uiSchema, copiedFormData);
8582
8704
  sessionStorage.setItem("copiedConfig", JSON.stringify(copiedFormData));
8705
+ store2.setNotify({
8706
+ SuccessMessage: `${elementType} Copied Successfully`,
8707
+ Success: true
8708
+ });
8583
8709
  store2.setSchema(schema2);
8584
8710
  store2.setUiSchema(uiSchema);
8585
8711
  },
@@ -8639,8 +8765,18 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8639
8765
  return parentPath ? `${parentPath}.events[${rowId}]` : `events[${rowId}]`;
8640
8766
  },
8641
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;
8642
8769
  const formData = copiedFormData || JSON.parse(sessionStorage.getItem("copiedConfig"));
8643
- 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
+ }
8644
8780
  }
8645
8781
  };
8646
8782
  };
@@ -8839,6 +8975,9 @@ const EventSchema = {
8839
8975
  },
8840
8976
  RemoveItemButton: {
8841
8977
  disabled: true
8978
+ },
8979
+ pageName: {
8980
+ path: [{ label: "defaultLabel", path: "defaultPath" }]
8842
8981
  }
8843
8982
  },
8844
8983
  required: ["eventType", "Handler"]
@@ -9150,15 +9289,17 @@ const EventUiSchema = (theme) => {
9150
9289
  config: {
9151
9290
  layout: 11,
9152
9291
  main: {
9153
- heading: "Are you sure you want to delete ?"
9292
+ heading: "Are you sure you want to delete this Event ?"
9154
9293
  },
9155
9294
  style: {
9156
- marginTop: "-20px",
9157
9295
  fontSize: "20px",
9158
9296
  "&.MuiTypography-root": {
9159
- padding: "10px 30px 20px 30px",
9297
+ padding: "0px 20px",
9160
9298
  textAlign: "center",
9161
- lineHeight: "1"
9299
+ lineHeight: "1.2",
9300
+ fontWeight: "normal",
9301
+ fontSize: "18px",
9302
+ marginBottom: theme.spacing(5)
9162
9303
  }
9163
9304
  }
9164
9305
  }
@@ -9182,13 +9323,14 @@ const EventUiSchema = (theme) => {
9182
9323
  name: "No",
9183
9324
  startIcon: "ApproveIcon",
9184
9325
  variant: "contained",
9185
- color: "info",
9186
9326
  type: "text",
9187
9327
  onClick: "deletePopUpEvent",
9188
9328
  size: "large"
9189
9329
  },
9190
9330
  style: {
9191
9331
  position: "absolute",
9332
+ padding: "8px 0px",
9333
+ fontSize: "16px",
9192
9334
  bottom: 0,
9193
9335
  left: 0,
9194
9336
  width: "50%",
@@ -9216,7 +9358,6 @@ const EventUiSchema = (theme) => {
9216
9358
  layout: 6,
9217
9359
  main: {
9218
9360
  name: "Yes",
9219
- startIcon: "ApproveIcon",
9220
9361
  variant: "contained",
9221
9362
  color: "error",
9222
9363
  type: "text",
@@ -9225,6 +9366,8 @@ const EventUiSchema = (theme) => {
9225
9366
  },
9226
9367
  style: {
9227
9368
  position: "absolute",
9369
+ padding: "8px 0px",
9370
+ fontSize: "16px",
9228
9371
  bottom: 0,
9229
9372
  right: 0,
9230
9373
  width: "50%",
@@ -9249,23 +9392,20 @@ const EventUiSchema = (theme) => {
9249
9392
  type: "Control",
9250
9393
  scope: "#/properties/pageName",
9251
9394
  options: {
9252
- widget: "Box"
9395
+ widget: "Breadcrumb"
9253
9396
  },
9254
9397
  config: {
9255
9398
  layout: 12,
9256
- main: {
9257
- heading: ""
9258
- },
9399
+ main: {},
9259
9400
  style: {
9260
9401
  paddingLeft: theme.spacing(3),
9261
- width: "100%",
9262
- fontSize: "10px",
9263
9402
  color: theme.palette.grey[600],
9403
+ fontSize: "10px",
9264
9404
  position: "fixed",
9265
9405
  bottom: "24px",
9266
- backgroundColor: theme.palette.background.default,
9267
9406
  borderBottom: `1px solid ${theme.palette.common.black}29`,
9268
- borderTop: `1px solid ${theme.palette.common.black}29`
9407
+ borderTop: `1px solid ${theme.palette.common.black}29`,
9408
+ backgroundColor: theme.palette.background.default
9269
9409
  }
9270
9410
  }
9271
9411
  },
@@ -9556,15 +9696,21 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9556
9696
  const formdata = await this.getFormData();
9557
9697
  store2.setFormdata(formdata);
9558
9698
  const schema2 = await this.getSchema();
9699
+ console.log("SettingSchema>>", schema2);
9559
9700
  store2.setSchema(schema2);
9560
9701
  this.refreshPage(formdata.Handler, store2);
9561
9702
  },
9562
9703
  refreshPage: (handlerType, store22) => {
9704
+ var _a, _b, _c;
9563
9705
  const uiSchema = _.cloneDeep(EventUiSchema(store22.theme.myTheme));
9564
9706
  const schema2 = _.cloneDeep(EventSchema);
9565
9707
  if (handlerType) {
9566
9708
  if (handlerType === "custom") {
9567
- 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
+ );
9568
9714
  uiSchema.elements[0].elements[0].elements[3] = {
9569
9715
  type: "Control",
9570
9716
  scope: "#/properties/emptyBox",
@@ -9577,14 +9723,26 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9577
9723
  style: {}
9578
9724
  }
9579
9725
  };
9580
- 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
+ );
9581
9731
  schema2.required = ["eventType", "Handler", "eventCode"];
9582
9732
  } else if (handlerType === "api") {
9583
- 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
+ });
9584
9739
  uiSchema.elements[0].elements[0].elements[3] = APISection;
9585
9740
  schema2.required = ["eventType", "Handler", "method", "path"];
9586
9741
  } else if (handlerType === "inBuiltFunction") {
9587
- 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
+ );
9588
9746
  uiSchema.elements[0].elements[0].elements[3] = {
9589
9747
  type: "Control",
9590
9748
  scope: "#/properties/emptyBox",
@@ -9597,10 +9755,19 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9597
9755
  style: {}
9598
9756
  }
9599
9757
  };
9600
- 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
+ );
9601
9763
  schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
9602
9764
  } else if (handlerType === "refresh") {
9603
- 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
+ });
9604
9771
  uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
9605
9772
  schema2.properties.refreshElements.required = ["value"];
9606
9773
  schema2.properties.refreshElements.items.required = ["value"];
@@ -9614,9 +9781,34 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9614
9781
  ];
9615
9782
  }
9616
9783
  if (sessionStorage.getItem("copiedConfig")) {
9617
- Component(store22, dynamicData2, submitHandler, service2).ElementPathSetter(uiSchema);
9784
+ Component(store22, dynamicData2, submitHandler, service2).ElementPathSetter(
9785
+ uiSchema
9786
+ );
9618
9787
  schema2.properties.RemoveItemButton.disabled = false;
9619
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;
9620
9812
  store22.setSchema(schema2);
9621
9813
  store22.setUiSchema(uiSchema);
9622
9814
  },
@@ -9625,10 +9817,34 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9625
9817
  return EventUiSchema;
9626
9818
  },
9627
9819
  getSchema: () => {
9820
+ var _a, _b, _c;
9628
9821
  const schema2 = _.cloneDeep(EventSchema);
9629
9822
  if (sessionStorage.getItem("copiedConfig")) {
9630
9823
  schema2.properties.RemoveItemButton.disabled = false;
9631
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);
9632
9848
  return schema2;
9633
9849
  },
9634
9850
  okHandler: () => okHandler(store2),
@@ -9636,7 +9852,10 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9636
9852
  onChange: function() {
9637
9853
  var _a, _b, _c;
9638
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) {
9639
- this.refreshPage(store2.newData.Handler || store2.formdata.Handler, store2);
9855
+ this.refreshPage(
9856
+ store2.newData.Handler || store2.formdata.Handler,
9857
+ store2
9858
+ );
9640
9859
  }
9641
9860
  },
9642
9861
  addEvent: function() {
@@ -9662,7 +9881,9 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9662
9881
  this.setPage();
9663
9882
  },
9664
9883
  deleteEvent: async function() {
9665
- await Component(store2, dynamicData2, submitHandler, service2).deleteEvent(false);
9884
+ await Component(store2, dynamicData2, submitHandler, service2).deleteEvent(
9885
+ false
9886
+ );
9666
9887
  store2.updateDialog("popUpEvent");
9667
9888
  },
9668
9889
  backHandler: function() {
@@ -9674,10 +9895,15 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9674
9895
  store2.updateDialog("popUpEvent");
9675
9896
  },
9676
9897
  copyPasteElement: function() {
9677
- 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
+ );
9678
9902
  },
9679
9903
  RemoveItemButton: function() {
9680
- Component(store2, dynamicData2, submitHandler, service2).RemoveItemButton(store2);
9904
+ Component(store2, dynamicData2, submitHandler, service2).RemoveItemButton(
9905
+ store2
9906
+ );
9681
9907
  }
9682
9908
  };
9683
9909
  };
@@ -9848,16 +10074,17 @@ function executeCustomHandler(params) {
9848
10074
  }
9849
10075
  }
9850
10076
  function mergeFormdata(handlerResponse, componentName, eventConfig, store2, service2, formDataHolder) {
10077
+ var _a, _b, _c;
9851
10078
  if (eventConfig.type === "Select" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
9852
10079
  if (!_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
9853
10080
  store2.setSchema((pre) => {
9854
- var _a;
10081
+ var _a2;
9855
10082
  return {
9856
10083
  ...pre,
9857
10084
  properties: {
9858
10085
  ...pre.properties,
9859
10086
  [componentName]: {
9860
- ...(_a = pre.properties) == null ? void 0 : _a[componentName],
10087
+ ...(_a2 = pre.properties) == null ? void 0 : _a2[componentName],
9861
10088
  oneOf: handlerResponse.data
9862
10089
  }
9863
10090
  }
@@ -9867,13 +10094,13 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
9867
10094
  } else if (eventConfig.type === "MultipleSelect" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
9868
10095
  if (!_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
9869
10096
  store2.setSchema((pre) => {
9870
- var _a;
10097
+ var _a2;
9871
10098
  return {
9872
10099
  ...pre,
9873
10100
  properties: {
9874
10101
  ...pre.properties,
9875
10102
  [componentName]: {
9876
- ...(_a = pre.properties) == null ? void 0 : _a[componentName],
10103
+ ...(_a2 = pre.properties) == null ? void 0 : _a2[componentName],
9877
10104
  type: "array",
9878
10105
  items: {
9879
10106
  oneOf: handlerResponse == null ? void 0 : handlerResponse.data
@@ -9893,6 +10120,14 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
9893
10120
  return { ...pre, ...handlerResponse == null ? void 0 : handlerResponse.data };
9894
10121
  });
9895
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
+ }
9896
10131
  } else {
9897
10132
  if (handlerResponse) {
9898
10133
  formDataHolder[componentName] = handlerResponse.data;
@@ -10049,7 +10284,7 @@ var service = (funcParams) => {
10049
10284
  };
10050
10285
  return {
10051
10286
  setPage: async function() {
10052
- 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;
10053
10288
  funcParams.store.setFormdata({});
10054
10289
  funcParams.store.newData = {};
10055
10290
  const pageBasicDetailString = sessionStorage.getItem("pagemasterMetaData");
@@ -10064,12 +10299,24 @@ var service = (funcParams) => {
10064
10299
  }));
10065
10300
  }
10066
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
+ }
10067
10314
  const uiSchema = pageData == null ? void 0 : pageData.uiSchema;
10068
10315
  const event2 = new CustomEvent("pageNameChanged", {
10069
10316
  detail: { pageName: config2.label }
10070
10317
  });
10071
10318
  window.dispatchEvent(event2);
10072
- 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;
10073
10320
  uiSchema.elements.push(
10074
10321
  {
10075
10322
  type: "HorizontalLayout",
@@ -10099,7 +10346,7 @@ var service = (funcParams) => {
10099
10346
  heading: "Copywriter@ACT21.IO"
10100
10347
  },
10101
10348
  style: {
10102
- 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",
10103
10350
  fontSize: "11px",
10104
10351
  textAlign: "center",
10105
10352
  lineHeight: 2,
@@ -10126,7 +10373,7 @@ var service = (funcParams) => {
10126
10373
  width: "fit-content"
10127
10374
  },
10128
10375
  style: {
10129
- 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,
10130
10377
  width: 20,
10131
10378
  height: 0,
10132
10379
  top: 0,
@@ -10135,7 +10382,7 @@ var service = (funcParams) => {
10135
10382
  fontSize: "12px",
10136
10383
  cursor: "pointer",
10137
10384
  ":hover": {
10138
- 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
10139
10386
  },
10140
10387
  marginRight: "20px"
10141
10388
  }
@@ -10158,7 +10405,7 @@ var service = (funcParams) => {
10158
10405
  lineHeight: 1,
10159
10406
  height: 0,
10160
10407
  width: "fit-content",
10161
- 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,
10162
10409
  fontSize: "12px",
10163
10410
  cursor: "pointer",
10164
10411
  marginLeft: "2px",
@@ -10166,7 +10413,7 @@ var service = (funcParams) => {
10166
10413
  right: "12px",
10167
10414
  position: "absolute",
10168
10415
  ":hover": {
10169
- 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
10170
10417
  },
10171
10418
  marginRight: "4px"
10172
10419
  }
@@ -10175,7 +10422,7 @@ var service = (funcParams) => {
10175
10422
  ]
10176
10423
  }
10177
10424
  );
10178
- 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: {} };
10179
10426
  eventGroups = extractEvents(config2);
10180
10427
  executeEventsParameters = {
10181
10428
  config: {},
@@ -10198,7 +10445,7 @@ var service = (funcParams) => {
10198
10445
  service: funcParams.service,
10199
10446
  serviceHolder: this,
10200
10447
  eventGroups,
10201
- formDataHolder
10448
+ formDataHolder: {}
10202
10449
  });
10203
10450
  funcParams.store.setSchema(
10204
10451
  (pre) => {
@@ -10213,11 +10460,11 @@ var service = (funcParams) => {
10213
10460
  funcParams.store.setUiSchema(uiSchema);
10214
10461
  },
10215
10462
  onCellRenderer: (cellParams) => {
10216
- var _a, _b, _c;
10463
+ var _a, _b, _c, _d;
10217
10464
  if (eventGroups.onCellRenderer) {
10218
10465
  let finalResponse = {};
10219
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]);
10220
- 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]) {
10221
10468
  executeEventsParameters.store.functionParameters = cellParams;
10222
10469
  finalResponse = executeEvents({
10223
10470
  ...executeEventsParameters,
@@ -10821,6 +11068,9 @@ const buildTextField = (config2, componentScope2) => {
10821
11068
  if (config2.style) {
10822
11069
  inputField.config.style = JSON.parse(config2.style);
10823
11070
  }
11071
+ if (config2.multiline) {
11072
+ inputField.config.main.multiline = config2.multiline === "YES" ? true : false;
11073
+ }
10824
11074
  if (config2.InputFormatingAndMasking) {
10825
11075
  inputField.config.main.formatStrArray = config2.InputFormatingAndMasking.map((e) => e.formatElement);
10826
11076
  }
@@ -12346,19 +12596,12 @@ const buildUiSchema = (config2, store2) => {
12346
12596
  });
12347
12597
  } else if (config2.type == "Table") {
12348
12598
  const sizeMap = {};
12349
- const filterMap = {};
12350
12599
  if (config2.sizeHolder) {
12351
12600
  config2.sizeHolder.map((e, i) => {
12352
12601
  sizeMap[e.keyName] = e.value;
12353
12602
  });
12354
12603
  }
12355
- if (config2.enableColumnFilter) {
12356
- config2.enableColumnFilter.map((e) => {
12357
- filterMap[e.keyName] = true;
12358
- });
12359
- }
12360
12604
  elements.elements = config2.elements.map((cellElem, elemInd) => {
12361
- var _a, _b;
12362
12605
  if (cellElem.type) {
12363
12606
  return {
12364
12607
  accessorKey: cellElem.name,
@@ -12367,8 +12610,9 @@ const buildUiSchema = (config2, store2) => {
12367
12610
  type: cellElem.columnFormat,
12368
12611
  widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store2) : void 0,
12369
12612
  elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store2)) : [],
12370
- enableColumnFilter: Object.keys(filterMap).length === 0 ? true : (_a = filterMap[cellElem.name]) != null ? _a : false,
12371
- columnFilterModeOptions: config2.filteringOptions
12613
+ columnFilterModeOptions: cellElem.filteringOptions,
12614
+ enableColumnFilter: cellElem.enableFilter === "Yes" ? true : false,
12615
+ enableSorting: cellElem.enableSorting === "Yes" ? true : false
12372
12616
  };
12373
12617
  } else {
12374
12618
  return {
@@ -12376,8 +12620,9 @@ const buildUiSchema = (config2, store2) => {
12376
12620
  type: cellElem.columnFormat,
12377
12621
  header: cellElem.label || cellElem.name,
12378
12622
  size: sizeMap[cellElem.name] || 180,
12379
- enableColumnFilter: Object.keys(filterMap).length === 0 ? true : (_b = filterMap[cellElem.name]) != null ? _b : false,
12380
- columnFilterModeOptions: config2.filteringOptions
12623
+ columnFilterModeOptions: cellElem.filteringOptions,
12624
+ enableColumnFilter: cellElem.enableFilter === "Yes" ? true : false,
12625
+ enableSorting: cellElem.enableSorting === "Yes" ? true : false
12381
12626
  };
12382
12627
  }
12383
12628
  });