impaktapps-ui-builder 0.0.101-alpha.6 → 0.0.101-alpha.60

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 (31) hide show
  1. package/dist/impaktapps-ui-builder.es.js +971 -787
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +15 -15
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +62 -59
  6. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +17 -21
  7. package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +98 -95
  8. package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +26 -33
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/refresh.d.ts +52 -38
  10. package/dist/src/impaktapps-ui-builder/builder/build/uischema/styleSection.d.ts +7 -8
  11. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +29 -33
  12. package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +56 -37
  13. package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +56 -36
  14. package/package.json +1 -1
  15. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +12 -10
  16. package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +111 -96
  17. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +100 -94
  18. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +189 -110
  19. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +39 -17
  20. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +44 -44
  21. package/src/impaktapps-ui-builder/builder/build/uischema/styleSection.ts +9 -13
  22. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +40 -18
  23. package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +117 -48
  24. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +113 -45
  25. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +23 -23
  26. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +99 -41
  27. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +9 -8
  28. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +12 -12
  29. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +200 -289
  30. package/src/impaktapps-ui-builder/builder/services/component.ts +134 -33
  31. package/src/impaktapps-ui-builder/builder/services/event.ts +13 -14
@@ -182,7 +182,7 @@ const PageMasterUiSchema = (theme) => {
182
182
  main: {
183
183
  onClick: "copyPasteElement",
184
184
  size: "small",
185
- icon: "TablePasteIcon",
185
+ icon: "TablePaste",
186
186
  iconLabel: "Paste",
187
187
  styleDefault: true
188
188
  },
@@ -339,7 +339,7 @@ const PageMasterUiSchema = (theme) => {
339
339
  main: {
340
340
  onClick: "copyPasteElement",
341
341
  size: "small",
342
- icon: "TablePasteIcon",
342
+ icon: "TablePaste",
343
343
  iconLabel: "Paste",
344
344
  styleDefault: true
345
345
  },
@@ -365,19 +365,19 @@ const PageMasterUiSchema = (theme) => {
365
365
  elements: [
366
366
  {
367
367
  accessorKey: "eventType",
368
- header: "Event Type",
368
+ header: "Event's Type",
369
369
  size: 300,
370
370
  type: "string"
371
371
  },
372
372
  {
373
373
  accessorKey: "Handler",
374
374
  header: "Handler",
375
- size: 300,
375
+ size: 200,
376
376
  type: "string"
377
377
  },
378
378
  {
379
379
  accessorKey: "Edit_Approve_Records",
380
- header: "Edit Widget",
380
+ header: "Edit",
381
381
  type: "action",
382
382
  size: 150,
383
383
  widget: {
@@ -405,6 +405,8 @@ const PageMasterUiSchema = (theme) => {
405
405
  {
406
406
  accessorKey: "Reject_Records",
407
407
  header: "Delete",
408
+ type: "action",
409
+ size: 150,
408
410
  widget: {
409
411
  type: "Control",
410
412
  scope: "#/properties/RejectButton",
@@ -429,7 +431,8 @@ const PageMasterUiSchema = (theme) => {
429
431
  {
430
432
  header: "Copy",
431
433
  field: "Copy_Event",
432
- flex: 1,
434
+ type: "action",
435
+ size: 150,
433
436
  widget: {
434
437
  type: "Control",
435
438
  scope: "#/properties/Copy_Event",
@@ -474,7 +477,6 @@ const PageMasterUiSchema = (theme) => {
474
477
  layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
475
478
  main: {
476
479
  name: "Save",
477
- startIcon: "ApproveIcon",
478
480
  variant: "contained",
479
481
  type: "text",
480
482
  onClick: "saveHandler",
@@ -6241,44 +6243,44 @@ const ComponentSchema = {
6241
6243
  properties: {
6242
6244
  type: {
6243
6245
  oneOf: [
6244
- { title: "AadharcardText", const: "AadharcardText" },
6246
+ { title: "Masked Aadhaar", const: "AadharcardText" },
6245
6247
  { title: "Array", const: "Array" },
6246
6248
  { title: "Button", const: "Button" },
6247
- { title: "Card", const: "card" },
6248
- { title: "CheckBox", const: "CheckBox" },
6249
+ { title: "Data Card", const: "card" },
6250
+ { title: "Check Box", const: "CheckBox" },
6249
6251
  { title: "Container", const: "WrapperSection" },
6250
- { title: "DataGrid", const: "DataGrid" },
6252
+ { title: "Data Grid", const: "DataGrid" },
6251
6253
  { title: "Date", const: "Date" },
6252
- { title: "DateTime", const: "DateTime" },
6253
- { title: "Download File", const: "DownloadFile" },
6254
+ { title: "Time Stamp", const: "DateTime" },
6255
+ { title: "Download", const: "DownloadFile" },
6254
6256
  { title: "Empty Box", const: "EmptyBox" },
6255
- { title: "File", const: "FileInput" },
6257
+ { title: "File Handler", const: "FileInput" },
6256
6258
  { title: "Graph", const: "Graph" },
6257
6259
  { title: "Input Slider", const: "InputSlider" },
6258
6260
  { title: "Label", const: "Box" },
6259
- { title: "LeaderBoard", const: "LeaderBoard" },
6260
- { title: "MultipleSelect", const: "MultipleSelect" },
6261
- { title: "PanCardText", const: "PanCardText" },
6262
- { title: "Popup Container", const: "PopUp" },
6263
- { title: "ProgressBar", const: "ProgressBar" },
6264
- { title: "ProgressBar Card", const: "ProgressBarCard" },
6265
- { title: "Select", const: "Select" },
6261
+ { title: "Leaderboard", const: "LeaderBoard" },
6262
+ { title: "Multi-Select Dropdown", const: "MultipleSelect" },
6263
+ { title: "Pan Card Masked", const: "PanCardText" },
6264
+ { title: "Pop Up", const: "PopUp" },
6265
+ { title: "Progress Bar", const: "ProgressBar" },
6266
+ { title: "Progress Bar Card", const: "ProgressBarCard" },
6267
+ { title: "Dropdown", const: "Select" },
6266
6268
  { title: "Slider", const: "Slider" },
6267
- { title: "SpeedoMeter", const: "SpeedoMeter" },
6269
+ { title: "Speedometer", const: "SpeedoMeter" },
6268
6270
  { title: "Stepper Container", const: "Stepper" },
6269
6271
  { title: "Radio", const: "Radio" },
6270
6272
  { title: "Rank", const: "Rank" },
6271
6273
  { title: "Rank Card", const: "RankCard" },
6272
- { title: "Runner Boy Progress Bar", const: "RunnerBoyProgressBar" },
6274
+ { title: "Runner Boy", const: "RunnerBoyProgressBar" },
6273
6275
  { title: "Table", const: "Table" },
6274
6276
  { title: "Tabs", const: "TabSection" },
6275
6277
  { title: "Text", const: "Text" },
6276
6278
  { title: "Text Area", const: "TextArea" },
6277
6279
  { title: "Timer", const: "Timer" },
6278
- { title: "Upload File", const: "UploadFile" },
6279
- { title: "TreeMap", const: "TreeMap" },
6280
- { title: "ColumnGroup", const: "ColumnGroup" },
6281
- { title: "Thought of the Day", const: "Thought" },
6280
+ { title: "Upload", const: "UploadFile" },
6281
+ { title: "Tree ", const: "TreeMap" },
6282
+ { title: "Column Group", const: "ColumnGroup" },
6283
+ { title: "Thought of the day", const: "Thought" },
6282
6284
  { title: "Pdf Viewer", const: "PdfViewer" }
6283
6285
  ]
6284
6286
  },
@@ -6433,23 +6435,20 @@ const ComponentSchema = {
6433
6435
  }
6434
6436
  },
6435
6437
  filteringOptions: {
6436
- type: "array",
6437
- items: {
6438
- oneOf: [
6439
- { const: "fuzzy", title: "Fuzzy" },
6440
- { const: "contains", title: "Contain" },
6441
- { const: "startsWith", title: "Starts with" },
6442
- { const: "endsWith", title: "Ends with" },
6443
- { const: "equals", title: "Equals" },
6444
- { const: "notEquals", title: "Not Equals" },
6445
- { const: "between", title: "Between" },
6446
- { const: "betweenInclusive", title: "Between inclusive" },
6447
- { const: "greaterThan", title: "Greater than" },
6448
- { const: "greaterThanOrEqualTo", title: "Greater than or equal to" },
6449
- { const: "lessThan", title: "Less than" },
6450
- { const: "lessThanOrEqualTo", title: "Less than or equal to" }
6451
- ]
6452
- }
6438
+ oneOf: [
6439
+ { const: "fuzzy", title: "Fuzzy" },
6440
+ { const: "contains", title: "Contain" },
6441
+ { const: "startsWith", title: "Starts with" },
6442
+ { const: "endsWith", title: "Ends with" },
6443
+ { const: "equals", title: "Equals" },
6444
+ { const: "notEquals", title: "Not Equals" },
6445
+ { const: "between", title: "Between" },
6446
+ { const: "betweenInclusive", title: "Between inclusive" },
6447
+ { const: "greaterThan", title: "Greater than" },
6448
+ { const: "greaterThanOrEqualTo", title: "Greater than or equal to" },
6449
+ { const: "lessThan", title: "Less than" },
6450
+ { const: "lessThanOrEqualTo", title: "Less than or equal to" }
6451
+ ]
6453
6452
  },
6454
6453
  legendLabels: {
6455
6454
  type: "array",
@@ -6565,6 +6564,9 @@ const ComponentSchema = {
6565
6564
  { title: "Info", const: "info" }
6566
6565
  ]
6567
6566
  },
6567
+ pageName: {
6568
+ path: []
6569
+ },
6568
6570
  name: {
6569
6571
  type: "string"
6570
6572
  },
@@ -6607,6 +6609,7 @@ const componentBasicUiSchema = (theme) => {
6607
6609
  type: "WrapperLayout",
6608
6610
  config: {
6609
6611
  main: {
6612
+ label: " ",
6610
6613
  gap: "8px"
6611
6614
  }
6612
6615
  },
@@ -6644,8 +6647,6 @@ const componentBasicUiSchema = (theme) => {
6644
6647
  layout: { xs: 12, sm: 6, md: 4, lg: 3 },
6645
6648
  main: {
6646
6649
  label: "Component ID",
6647
- options: [],
6648
- color: "secondary",
6649
6650
  required: true
6650
6651
  }
6651
6652
  }
@@ -6746,48 +6747,58 @@ const componentBasicUiSchema = (theme) => {
6746
6747
  ]
6747
6748
  },
6748
6749
  {
6749
- type: "Control",
6750
- scope: "#/properties/btn",
6751
- options: {
6752
- widget: "Button"
6753
- },
6750
+ type: "WrapperLayout",
6754
6751
  config: {
6755
- layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
6756
6752
  main: {
6757
- name: "Ok",
6758
- variant: "contained",
6759
- type: "text",
6760
- onClick: "okHandler",
6761
- size: "medium"
6753
+ gap: "8px"
6762
6754
  }
6763
- }
6764
- },
6765
- {
6766
- type: "Control",
6767
- scope: "#/properties/btnSubmit",
6768
- options: {
6769
- widget: "Button"
6770
6755
  },
6771
- config: {
6772
- layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
6773
- main: {
6774
- name: "Save & Exit",
6775
- variant: "contained",
6776
- type: "text",
6777
- onClick: "saveHandler",
6778
- size: "medium"
6756
+ elements: [
6757
+ {
6758
+ type: "Control",
6759
+ scope: "#/properties/btn",
6760
+ options: {
6761
+ widget: "Button"
6762
+ },
6763
+ config: {
6764
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
6765
+ main: {
6766
+ name: "Ok",
6767
+ variant: "contained",
6768
+ type: "text",
6769
+ onClick: "okHandler",
6770
+ size: "medium"
6771
+ }
6772
+ }
6773
+ },
6774
+ {
6775
+ type: "Control",
6776
+ scope: "#/properties/btnSubmit",
6777
+ options: {
6778
+ widget: "Button"
6779
+ },
6780
+ config: {
6781
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
6782
+ main: {
6783
+ name: "Save & Exit",
6784
+ variant: "contained",
6785
+ type: "text",
6786
+ onClick: "saveHandler",
6787
+ size: "medium"
6788
+ }
6789
+ }
6790
+ },
6791
+ {
6792
+ type: "Control",
6793
+ scope: "#/properties/EmptyBox",
6794
+ config: {
6795
+ layout: { xs: 4, sm: 7, md: 8, lg: 9 }
6796
+ },
6797
+ options: {
6798
+ widget: "EmptyBox"
6799
+ }
6779
6800
  }
6780
- }
6781
- },
6782
- {
6783
- type: "Control",
6784
- scope: "#/properties/EmptyBox",
6785
- config: {
6786
- layout: { xs: 4, sm: 7, md: 8, lg: 9 }
6787
- },
6788
- options: {
6789
- widget: "EmptyBox"
6790
- }
6801
+ ]
6791
6802
  },
6792
6803
  {
6793
6804
  type: "Control",
@@ -7029,6 +7040,25 @@ const componentBasicUiSchema = (theme) => {
7029
7040
  }
7030
7041
  ]
7031
7042
  },
7043
+ {
7044
+ type: "Control",
7045
+ scope: "#/properties/pageName",
7046
+ options: {
7047
+ widget: "Breadcrumb"
7048
+ },
7049
+ config: {
7050
+ layout: 12,
7051
+ main: {},
7052
+ style: {
7053
+ color: theme.palette.grey[600],
7054
+ fontSize: "10px",
7055
+ position: "fixed",
7056
+ bottom: "24px",
7057
+ borderBottom: `1px solid ${theme.palette.common.black}29`,
7058
+ borderTop: `1px solid ${theme.palette.common.black}29`
7059
+ }
7060
+ }
7061
+ },
7032
7062
  {
7033
7063
  type: "Control",
7034
7064
  scope: "#/properties/notify",
@@ -7086,7 +7116,13 @@ const componentBasicUiSchema = (theme) => {
7086
7116
  return uiSchema;
7087
7117
  };
7088
7118
  const CoreSection = {
7089
- type: "HorizontalLayout",
7119
+ type: "WrapperLayout",
7120
+ config: {
7121
+ main: {
7122
+ label: " ",
7123
+ gap: "8px"
7124
+ }
7125
+ },
7090
7126
  elements: [
7091
7127
  {
7092
7128
  type: "Control",
@@ -7095,7 +7131,7 @@ const CoreSection = {
7095
7131
  widget: "SelectInputField"
7096
7132
  },
7097
7133
  config: {
7098
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7134
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7099
7135
  main: {
7100
7136
  label: "Type",
7101
7137
  type: "text"
@@ -7104,40 +7140,39 @@ const CoreSection = {
7104
7140
  },
7105
7141
  {
7106
7142
  type: "Control",
7107
- scope: "#/properties/name",
7108
- options: {
7109
- widget: "InputField"
7110
- },
7143
+ scope: "#/properties/proc",
7111
7144
  config: {
7112
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7113
- main: {
7114
- label: "Name"
7115
- }
7145
+ layout: { xs: 6, sm: 0, md: 0, lg: 0 }
7146
+ },
7147
+ options: {
7148
+ widget: "EmptyBox"
7116
7149
  }
7117
7150
  },
7118
7151
  {
7119
7152
  type: "Control",
7120
- scope: "#/properties/label",
7153
+ scope: "#/properties/name",
7121
7154
  options: {
7122
7155
  widget: "InputField"
7123
7156
  },
7124
7157
  config: {
7125
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7158
+ layout: { xs: 12, sm: 6, md: 4, lg: 3 },
7126
7159
  main: {
7127
- label: "Label"
7160
+ label: "Component ID",
7161
+ required: true
7128
7162
  }
7129
7163
  }
7130
7164
  },
7131
7165
  {
7132
7166
  type: "Control",
7133
- scope: "#/properties/columnFormat",
7167
+ scope: "#/properties/label",
7134
7168
  options: {
7135
- widget: "SelectInputField"
7169
+ widget: "InputField"
7136
7170
  },
7137
7171
  config: {
7138
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7172
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7139
7173
  main: {
7140
- label: "Column Format"
7174
+ label: "Label",
7175
+ required: true
7141
7176
  }
7142
7177
  }
7143
7178
  },
@@ -7145,17 +7180,7 @@ const CoreSection = {
7145
7180
  type: "Control",
7146
7181
  scope: "#/properties/proc",
7147
7182
  config: {
7148
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7149
- },
7150
- options: {
7151
- widget: "EmptyBox"
7152
- }
7153
- },
7154
- {
7155
- type: "Control",
7156
- scope: "#/properties/proc",
7157
- config: {
7158
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7183
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 }
7159
7184
  },
7160
7185
  options: {
7161
7186
  widget: "EmptyBox"
@@ -7164,54 +7189,67 @@ const CoreSection = {
7164
7189
  {
7165
7190
  type: "Control",
7166
7191
  scope: "#/properties/layout",
7167
- layout: 12,
7168
7192
  options: {
7169
- "elementLabelProp": "key",
7170
- detail: {
7171
- type: "HorizontalLayout",
7172
- elements: [
7173
- {
7174
- type: "Control",
7175
- scope: "#/properties/key",
7176
- options: {
7177
- widget: "SelectInputField"
7178
- },
7179
- config: {
7180
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7181
- main: {
7182
- label: "Screen Size"
7183
- }
7184
- }
7185
- },
7186
- {
7187
- type: "Control",
7188
- scope: "#/properties/value",
7189
- options: {
7190
- widget: "InputField"
7191
- },
7192
- config: {
7193
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7194
- main: {
7195
- label: "Value",
7196
- type: "number",
7197
- helperText: "Number should be in range of 0 to 12",
7198
- errorMessage: "Number Can't be greater than 12 and can't be less than 0."
7199
- }
7200
- }
7201
- },
7202
- {
7203
- type: "Control",
7204
- scope: "#/properties/proc",
7205
- config: {
7206
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7207
- },
7208
- options: {
7209
- widget: "EmptyBox"
7210
- }
7193
+ widget: "Array"
7194
+ },
7195
+ config: {
7196
+ layout: 12,
7197
+ main: {
7198
+ label: "Layout",
7199
+ childElementLabel: "Layout"
7200
+ },
7201
+ style: {
7202
+ marginLeft: "-24px",
7203
+ marginBottom: "24px !important",
7204
+ labelStyle: {
7205
+ marginLeft: "24px"
7206
+ },
7207
+ detailsStyle: {
7208
+ marginLeft: "24px"
7209
+ }
7210
+ }
7211
+ },
7212
+ elements: [
7213
+ {
7214
+ type: "Control",
7215
+ scope: "#/properties/key",
7216
+ options: {
7217
+ widget: "SelectInputField"
7218
+ },
7219
+ config: {
7220
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7221
+ main: {
7222
+ label: "Screen Size"
7211
7223
  }
7212
- ]
7224
+ }
7225
+ },
7226
+ {
7227
+ type: "Control",
7228
+ scope: "#/properties/value",
7229
+ options: {
7230
+ widget: "InputField"
7231
+ },
7232
+ config: {
7233
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7234
+ main: {
7235
+ label: "Value",
7236
+ type: "number",
7237
+ helperText: "Number should be in range of 0 to 12",
7238
+ errorMessage: "Number Can't be greater than 12 and can't be less than 0."
7239
+ }
7240
+ }
7241
+ },
7242
+ {
7243
+ type: "Control",
7244
+ scope: "#/properties/proc",
7245
+ config: {
7246
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7247
+ },
7248
+ options: {
7249
+ widget: "EmptyBox"
7250
+ }
7213
7251
  }
7214
- }
7252
+ ]
7215
7253
  }
7216
7254
  ]
7217
7255
  };
@@ -7238,15 +7276,20 @@ const EventSection = (theme) => {
7238
7276
  },
7239
7277
  config: {
7240
7278
  main: {
7241
- color: "info",
7242
7279
  onClick: "eventAddHandler",
7243
7280
  size: "small",
7244
- icon: "AddIcon",
7245
- iconLabel: "Add New",
7281
+ icon: "TableAddIcon",
7282
+ iconLabel: "Add",
7246
7283
  styleDefault: true
7247
7284
  },
7248
7285
  style: {
7249
- mt: "6px"
7286
+ mt: "6px",
7287
+ color: "inherit",
7288
+ fill: "inherit",
7289
+ "&:hover": {
7290
+ color: "inherit",
7291
+ fill: "inherit"
7292
+ }
7250
7293
  }
7251
7294
  }
7252
7295
  }
@@ -7262,12 +7305,18 @@ const EventSection = (theme) => {
7262
7305
  main: {
7263
7306
  onClick: "copyPasteElement",
7264
7307
  size: "small",
7265
- icon: "PasteIcon",
7308
+ icon: "TablePaste",
7266
7309
  iconLabel: "Paste",
7267
7310
  styleDefault: true
7268
7311
  },
7269
7312
  style: {
7270
- mt: "6px"
7313
+ mt: "6px",
7314
+ color: "inherit",
7315
+ fill: "inherit",
7316
+ "&:hover": {
7317
+ color: "inherit",
7318
+ fill: "inherit"
7319
+ }
7271
7320
  }
7272
7321
  }
7273
7322
  }
@@ -7282,15 +7331,21 @@ const EventSection = (theme) => {
7282
7331
  elements: [
7283
7332
  {
7284
7333
  accessorKey: "eventType",
7285
- header: "Event Type"
7334
+ header: "Event's Type",
7335
+ type: "string",
7336
+ size: 300
7286
7337
  },
7287
7338
  {
7288
7339
  accessorKey: "Handler",
7289
- header: "Handler"
7340
+ header: "Handler",
7341
+ type: "string",
7342
+ size: 200
7290
7343
  },
7291
7344
  {
7292
7345
  accessorKey: "Edit_Approve_Records",
7293
- header: "Edit Widget",
7346
+ header: "Edit",
7347
+ size: 150,
7348
+ type: "action",
7294
7349
  widget: {
7295
7350
  type: "Control",
7296
7351
  scope: "#/properties/Edit_Records",
@@ -7299,14 +7354,16 @@ const EventSection = (theme) => {
7299
7354
  },
7300
7355
  config: {
7301
7356
  main: {
7302
- color: "info",
7303
7357
  size: "small",
7304
- icon: "EditIcon",
7358
+ icon: "TableEditIcon",
7305
7359
  tooltipMessage: "Edit This Record",
7306
7360
  onClick: "eventEditHandler"
7307
7361
  },
7308
7362
  style: {
7309
- color: theme.palette.primary.main
7363
+ fill: theme.palette.primary.main,
7364
+ "& :hover": {
7365
+ fill: theme.palette.primary.dark
7366
+ }
7310
7367
  }
7311
7368
  }
7312
7369
  }
@@ -7314,6 +7371,8 @@ const EventSection = (theme) => {
7314
7371
  {
7315
7372
  accessorKey: "Reject_Records",
7316
7373
  header: "Delete",
7374
+ size: 150,
7375
+ type: "action",
7317
7376
  widget: {
7318
7377
  type: "Control",
7319
7378
  scope: "#/properties/RejectButton",
@@ -7323,10 +7382,15 @@ const EventSection = (theme) => {
7323
7382
  },
7324
7383
  config: {
7325
7384
  main: {
7326
- icon: "RejectIcon",
7327
- color: "error",
7385
+ icon: "Bin",
7328
7386
  tooltipMessage: "Reject This Record",
7329
7387
  onClick: "deletePopUpEvent"
7388
+ },
7389
+ style: {
7390
+ fill: theme.palette.primary.main,
7391
+ "& :hover": {
7392
+ fill: theme.palette.primary.dark
7393
+ }
7330
7394
  }
7331
7395
  }
7332
7396
  }
@@ -7334,7 +7398,8 @@ const EventSection = (theme) => {
7334
7398
  {
7335
7399
  header: "Copy",
7336
7400
  field: "Copy_Event",
7337
- flex: 1,
7401
+ size: 150,
7402
+ type: "action",
7338
7403
  widget: {
7339
7404
  type: "Control",
7340
7405
  scope: "#/properties/Copy_Event",
@@ -7384,77 +7449,103 @@ const emptyBox$1 = (scope, layout) => {
7384
7449
  const cardLayout = {
7385
7450
  type: "Control",
7386
7451
  scope: "#/properties/cardLayout",
7387
- layout: 11.5,
7388
7452
  options: {
7389
- detail: {
7390
- type: "HorizontalLayout",
7391
- elements: [
7392
- {
7393
- type: "Control",
7394
- scope: "#/properties/key",
7395
- options: {
7396
- widget: "SelectInputField"
7397
- },
7398
- config: {
7399
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7400
- main: {
7401
- label: "Screen Size"
7402
- }
7403
- }
7404
- },
7405
- {
7406
- type: "Control",
7407
- scope: "#/properties/value",
7408
- options: {
7409
- widget: "InputField"
7410
- },
7411
- config: {
7412
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7413
- main: {
7414
- label: "Value",
7415
- type: "number",
7416
- helperText: "Number should be in range of 0 to 12",
7417
- errorMessage: "Number Can't be greater than 12 and can't be less than 0."
7418
- }
7419
- }
7420
- },
7421
- emptyBox$1("cardEmpty")
7422
- ]
7423
- }
7424
- }
7425
- };
7426
- const getArrayControl = (parentScope, childScope, childLabel) => {
7427
- return {
7428
- type: "Control",
7429
- scope: `#/properties/${parentScope}`,
7453
+ widget: "Array"
7454
+ },
7455
+ config: {
7430
7456
  layout: 12,
7431
- options: {
7432
- "elementLabelProp": childScope,
7433
- detail: {
7434
- type: "HorizontalLayout",
7435
- elements: [
7436
- {
7437
- type: "Control",
7438
- scope: `#/properties/${childScope}`,
7439
- options: {
7440
- widget: "InputField"
7441
- },
7442
- config: {
7443
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7444
- main: {
7445
- label: childLabel || "Labels for Tab"
7446
- }
7447
- }
7448
- },
7449
- emptyBox$1("ArrayControlEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
7450
- emptyBox$1("ArrayControlEmpty2", { xs: 0, sm: 0, md: 4, lg: 4 })
7451
- ]
7457
+ main: {
7458
+ label: "Card Layout",
7459
+ childElementLabel: "Card Layout"
7460
+ },
7461
+ style: {
7462
+ marginLeft: "-24px",
7463
+ marginBottom: "24px !important",
7464
+ labelStyle: {
7465
+ marginLeft: "24px"
7466
+ },
7467
+ detailsStyle: {
7468
+ marginLeft: "24px"
7452
7469
  }
7453
7470
  }
7471
+ },
7472
+ elements: [
7473
+ {
7474
+ type: "Control",
7475
+ scope: "#/properties/key",
7476
+ options: {
7477
+ widget: "SelectInputField"
7478
+ },
7479
+ config: {
7480
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7481
+ main: {
7482
+ label: "Screen Size"
7483
+ }
7484
+ }
7485
+ },
7486
+ {
7487
+ type: "Control",
7488
+ scope: "#/properties/value",
7489
+ options: {
7490
+ widget: "InputField"
7491
+ },
7492
+ config: {
7493
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7494
+ main: {
7495
+ label: "Value",
7496
+ type: "number",
7497
+ helperText: "Number should be in range of 0 to 12",
7498
+ errorMessage: "Number Can't be greater than 12 and can't be less than 0."
7499
+ }
7500
+ }
7501
+ },
7502
+ emptyBox$1("cardEmpty")
7503
+ ]
7504
+ };
7505
+ const getArrayControl = (parentScope, childScope, childLabel) => {
7506
+ return {
7507
+ type: "Control",
7508
+ scope: `#/properties/${parentScope}`,
7509
+ options: {
7510
+ widget: "Array"
7511
+ },
7512
+ config: {
7513
+ layout: 12,
7514
+ main: {
7515
+ label: childLabel,
7516
+ childElementLabel: childLabel
7517
+ },
7518
+ style: {
7519
+ marginLeft: "-24px",
7520
+ marginBottom: "24px !important",
7521
+ labelStyle: {
7522
+ marginLeft: "24px"
7523
+ },
7524
+ detailsStyle: {
7525
+ marginLeft: "24px"
7526
+ }
7527
+ }
7528
+ },
7529
+ elements: [
7530
+ {
7531
+ type: "Control",
7532
+ scope: `#/properties/${childScope}`,
7533
+ options: {
7534
+ widget: "InputField"
7535
+ },
7536
+ config: {
7537
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7538
+ main: {
7539
+ label: childLabel || "Labels for Tab"
7540
+ }
7541
+ }
7542
+ },
7543
+ emptyBox$1("ArrayControlEmpty1", { xs: 6, sm: 6, md: 8, lg: 8 })
7544
+ ]
7454
7545
  };
7455
7546
  };
7456
7547
  const sizeHolder = getArrayControl("sizeHolder", "keyName", "Component Name");
7457
- sizeHolder.options.detail.elements[1] = {
7548
+ sizeHolder.elements[1] = {
7458
7549
  type: "Control",
7459
7550
  scope: `#/properties/value`,
7460
7551
  options: {
@@ -7467,7 +7558,7 @@ sizeHolder.options.detail.elements[1] = {
7467
7558
  }
7468
7559
  }
7469
7560
  };
7470
- sizeHolder.options.detail.elements[2] = emptyBox$1("sizeHolderempty");
7561
+ sizeHolder.elements[2] = emptyBox$1("sizeHolderempty");
7471
7562
  const getInputField = (scope, label) => {
7472
7563
  return {
7473
7564
  type: "Control",
@@ -7476,7 +7567,7 @@ const getInputField = (scope, label) => {
7476
7567
  widget: "InputField"
7477
7568
  },
7478
7569
  config: {
7479
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7570
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7480
7571
  main: {
7481
7572
  label
7482
7573
  }
@@ -7491,7 +7582,7 @@ const getRadioInputField = (scope, label, options) => {
7491
7582
  widget: "RadioInputField"
7492
7583
  },
7493
7584
  config: {
7494
- layout: { xs: 12, sm: 6, md: 4, lg: 4 },
7585
+ layout: { xs: 12, sm: 6, md: 4, lg: 3 },
7495
7586
  main: {
7496
7587
  label,
7497
7588
  options
@@ -7506,17 +7597,7 @@ const buildWrapper = (label, elements) => {
7506
7597
  main: {
7507
7598
  label: label || "Details",
7508
7599
  isAccordion: true
7509
- },
7510
- wrapperStyle: {
7511
- marginTop: "-6px",
7512
- marginBottom: "-8px",
7513
- marginLeft: "-34px",
7514
- width: "108%"
7515
- },
7516
- componentsBoxStyle: {
7517
- marginLeft: "12px"
7518
- },
7519
- defaultStyle: true
7600
+ }
7520
7601
  },
7521
7602
  elements: elements || []
7522
7603
  };
@@ -7530,18 +7611,8 @@ const getTextArea = (scope, heading, hideButton, layout) => {
7530
7611
  },
7531
7612
  config: {
7532
7613
  layout: layout || 12,
7533
- style: {
7534
- containerStyle: {
7535
- borderRadius: "20px"
7536
- },
7537
- headerContainerStyle: {},
7538
- textAreaStyle: {
7539
- borderRadius: "20px",
7540
- padding: "20px"
7541
- }
7542
- },
7543
7614
  main: {
7544
- heading,
7615
+ label: heading,
7545
7616
  minRows: 8,
7546
7617
  hideButton,
7547
7618
  enableCodeEditor: true
@@ -7557,7 +7628,7 @@ const getSelectField = (scope, label, options) => {
7557
7628
  widget: "SelectInputField"
7558
7629
  },
7559
7630
  config: {
7560
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7631
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7561
7632
  main: {
7562
7633
  label,
7563
7634
  type: "text"
@@ -7573,7 +7644,7 @@ const getMultiSelectField = (scope, label) => {
7573
7644
  widget: "MultipleSelect"
7574
7645
  },
7575
7646
  config: {
7576
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7647
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7577
7648
  main: {
7578
7649
  multiple: true,
7579
7650
  label,
@@ -7582,12 +7653,18 @@ const getMultiSelectField = (scope, label) => {
7582
7653
  }
7583
7654
  };
7584
7655
  };
7585
- const GraphSection = {
7656
+ const BaseSection = {
7586
7657
  type: "WrapperLayout",
7658
+ config: {
7659
+ main: {
7660
+ label: " ",
7661
+ gap: "8px"
7662
+ }
7663
+ },
7587
7664
  elements: []
7588
7665
  };
7589
7666
  const buildPropertiesSection = function(type) {
7590
- let uiSchema = _.cloneDeep(GraphSection);
7667
+ let uiSchema = _.cloneDeep(BaseSection);
7591
7668
  switch (type) {
7592
7669
  case "TreeMap":
7593
7670
  uiSchema.elements = [
@@ -7651,7 +7728,8 @@ const buildPropertiesSection = function(type) {
7651
7728
  uiSchema.elements = [
7652
7729
  getInputField("placeholder", "Placeholder"),
7653
7730
  getRadioInputField("enableCodeEditor", "Enable Code Editor", ["YES", "NO"]),
7654
- getInputField("codeEditorLanguage", "Enter Code Language")
7731
+ getInputField("codeEditorLanguage", "Enter Code Language"),
7732
+ emptyBox$1("TextEmpty1", { xs: 0, sm: 0, md: 0, lg: 3 })
7655
7733
  ];
7656
7734
  break;
7657
7735
  case "SpeedoMeter":
@@ -7731,7 +7809,7 @@ const buildPropertiesSection = function(type) {
7731
7809
  getInputField("xAxisValue", "X-AxisValue"),
7732
7810
  getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
7733
7811
  getInputField("leftMargin", "Left Margin"),
7734
- emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 8, lg: 8 }),
7812
+ emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 8, lg: 6 }),
7735
7813
  getArrayControl("legendLabels", "label"),
7736
7814
  getArrayControl("pieArcColors", "color")
7737
7815
  ];
@@ -7812,7 +7890,13 @@ const buildPropertiesSection = function(type) {
7812
7890
  return uiSchema;
7813
7891
  };
7814
7892
  const StyleSection = {
7815
- type: "HorizontalLayout",
7893
+ type: "WrapperLayout",
7894
+ config: {
7895
+ main: {
7896
+ label: " ",
7897
+ gap: "8px"
7898
+ }
7899
+ },
7816
7900
  elements: [
7817
7901
  {
7818
7902
  type: "Control",
@@ -7828,14 +7912,7 @@ const StyleSection = {
7828
7912
  lg: 12
7829
7913
  },
7830
7914
  style: {
7831
- containerStyle: {
7832
- borderRadius: "20px"
7833
- },
7834
- headerContainerStyle: {},
7835
- textAreaStyle: {
7836
- borderRadius: "20px",
7837
- padding: "20px"
7838
- }
7915
+ "& .MuiFormLabel-root:not(.MuiInputLabel-shrink)": {}
7839
7916
  },
7840
7917
  main: {
7841
7918
  heading: "JSON Style",
@@ -7869,15 +7946,20 @@ const TableSection = (theme) => {
7869
7946
  },
7870
7947
  config: {
7871
7948
  main: {
7872
- color: "info",
7873
7949
  onClick: "widgetAddClickHandler",
7874
7950
  size: "small",
7875
- icon: "AddIcon",
7876
- iconLabel: "Add New",
7951
+ icon: "TableAddIcon",
7952
+ iconLabel: "Add",
7877
7953
  styleDefault: true
7878
7954
  },
7879
7955
  style: {
7880
- mt: "6px"
7956
+ mt: "6px",
7957
+ color: "inherit",
7958
+ fill: "inherit",
7959
+ "&:hover": {
7960
+ color: "inherit",
7961
+ fill: "inherit"
7962
+ }
7881
7963
  }
7882
7964
  }
7883
7965
  }
@@ -7893,12 +7975,18 @@ const TableSection = (theme) => {
7893
7975
  main: {
7894
7976
  onClick: "copyPasteElement",
7895
7977
  size: "small",
7896
- icon: "PasteIcon",
7978
+ icon: "TablePaste",
7897
7979
  iconLabel: "Paste",
7898
7980
  styleDefault: true
7899
7981
  },
7900
7982
  style: {
7901
- mt: "6px"
7983
+ mt: "6px",
7984
+ color: "inherit",
7985
+ fill: "inherit",
7986
+ "&:hover": {
7987
+ color: "inherit",
7988
+ fill: "inherit"
7989
+ }
7902
7990
  }
7903
7991
  }
7904
7992
  }
@@ -7913,16 +8001,21 @@ const TableSection = (theme) => {
7913
8001
  elements: [
7914
8002
  {
7915
8003
  accessorKey: "name",
7916
- header: "Name"
8004
+ header: "Name",
8005
+ type: "string",
8006
+ size: 300
7917
8007
  },
7918
8008
  {
7919
8009
  accessorKey: "type",
7920
- header: "Type"
8010
+ header: "Type",
8011
+ type: "string",
8012
+ size: 200
7921
8013
  },
7922
8014
  {
7923
8015
  header: "Edit Record",
7924
8016
  field: "Reject_Records",
7925
- flex: 1,
8017
+ size: 150,
8018
+ type: "action",
7926
8019
  widget: {
7927
8020
  type: "Control",
7928
8021
  scope: "#/properties/RejectButton",
@@ -7931,13 +8024,16 @@ const TableSection = (theme) => {
7931
8024
  },
7932
8025
  config: {
7933
8026
  main: {
7934
- icon: "EditIcon",
7935
- color: "primary",
8027
+ icon: "TableEditIcon",
8028
+ size: "small",
7936
8029
  onClick: "editComponents",
7937
8030
  tooltipMessage: "Reject This Record"
7938
8031
  },
7939
8032
  style: {
7940
- color: theme.palette.primary.main
8033
+ fill: theme.palette.primary.main,
8034
+ "& :hover": {
8035
+ fill: theme.palette.primary.dark
8036
+ }
7941
8037
  }
7942
8038
  }
7943
8039
  }
@@ -7945,7 +8041,8 @@ const TableSection = (theme) => {
7945
8041
  {
7946
8042
  header: "Delete",
7947
8043
  field: "Reject_Records",
7948
- flex: 1,
8044
+ size: 150,
8045
+ type: "action",
7949
8046
  widget: {
7950
8047
  type: "Control",
7951
8048
  scope: "#/properties/RejectButton",
@@ -7954,10 +8051,15 @@ const TableSection = (theme) => {
7954
8051
  },
7955
8052
  config: {
7956
8053
  main: {
7957
- icon: "RejectIcon",
7958
- color: "error",
8054
+ icon: "Bin",
7959
8055
  onClick: "deletePopUpComponent",
7960
8056
  tooltipMessage: "Reject This Record"
8057
+ },
8058
+ style: {
8059
+ fill: theme.palette.primary.main,
8060
+ "& :hover": {
8061
+ fill: theme.palette.primary.dark
8062
+ }
7961
8063
  }
7962
8064
  }
7963
8065
  }
@@ -7965,7 +8067,8 @@ const TableSection = (theme) => {
7965
8067
  {
7966
8068
  header: "Copy",
7967
8069
  field: "Copy_Component",
7968
- flex: 1,
8070
+ size: 150,
8071
+ type: "action",
7969
8072
  widget: {
7970
8073
  type: "Control",
7971
8074
  scope: "#/properties/Copy_Component",
@@ -7989,109 +8092,148 @@ const TableSection = (theme) => {
7989
8092
  return uiSchema;
7990
8093
  };
7991
8094
  const ValueTab = {
7992
- type: "HorizontalLayout",
8095
+ type: "WrapperLayout",
8096
+ config: {
8097
+ main: {
8098
+ label: " ",
8099
+ gap: "8px"
8100
+ }
8101
+ },
7993
8102
  elements: [
7994
8103
  {
7995
8104
  type: "Control",
7996
8105
  scope: "#/properties/value",
7997
- layout: 12,
7998
8106
  options: {
7999
- detail: {
8000
- type: "HorizontalLayout",
8001
- elements: [
8002
- {
8003
- type: "Control",
8004
- scope: "#/properties/label",
8005
- options: {
8006
- widget: "InputField"
8007
- },
8008
- config: {
8009
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8010
- main: {
8011
- label: "Label"
8012
- }
8013
- }
8014
- },
8015
- {
8016
- type: "Control",
8017
- scope: "#/properties/value",
8018
- options: {
8019
- widget: "InputField"
8020
- },
8021
- config: {
8022
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8023
- main: {
8024
- label: "Value"
8025
- }
8026
- }
8027
- },
8028
- {
8029
- type: "Control",
8030
- scope: "#/properties/emptyBox",
8031
- options: {
8032
- widget: "EmptyBox"
8033
- },
8034
- config: {
8035
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8036
- }
8107
+ widget: "Array"
8108
+ },
8109
+ config: {
8110
+ layout: 12,
8111
+ main: {
8112
+ label: "Value",
8113
+ childElementLabel: "Value"
8114
+ },
8115
+ style: {
8116
+ marginLeft: "-24px",
8117
+ marginBottom: "24px !important",
8118
+ labelStyle: {
8119
+ marginLeft: "24px"
8120
+ },
8121
+ detailsStyle: {
8122
+ marginLeft: "24px"
8123
+ }
8124
+ }
8125
+ },
8126
+ elements: [
8127
+ {
8128
+ type: "Control",
8129
+ scope: "#/properties/label",
8130
+ options: {
8131
+ widget: "InputField"
8132
+ },
8133
+ config: {
8134
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8135
+ main: {
8136
+ label: "Label"
8037
8137
  }
8038
- ]
8138
+ }
8139
+ },
8140
+ {
8141
+ type: "Control",
8142
+ scope: "#/properties/value",
8143
+ options: {
8144
+ widget: "InputField"
8145
+ },
8146
+ config: {
8147
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8148
+ main: {
8149
+ label: "Value"
8150
+ }
8151
+ }
8152
+ },
8153
+ {
8154
+ type: "Control",
8155
+ scope: "#/properties/emptyBox",
8156
+ options: {
8157
+ widget: "EmptyBox"
8158
+ },
8159
+ config: {
8160
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8161
+ }
8039
8162
  }
8040
- }
8163
+ ]
8041
8164
  }
8042
8165
  ]
8043
8166
  };
8044
8167
  const ValidationSection = {
8045
- type: "HorizontalLayout",
8168
+ type: "WrapperLayout",
8169
+ config: {
8170
+ main: {
8171
+ label: " ",
8172
+ gap: "8px"
8173
+ }
8174
+ },
8046
8175
  elements: [
8047
8176
  {
8048
8177
  type: "Control",
8049
8178
  scope: "#/properties/validation",
8050
- layout: 11.5,
8051
8179
  options: {
8052
- "elementLabelProp": "validationType",
8053
- detail: {
8054
- type: "HorizontalLayout",
8055
- elements: [
8056
- {
8057
- type: "Control",
8058
- scope: "#/properties/validationType",
8059
- options: {
8060
- widget: "SelectInputField"
8061
- },
8062
- config: {
8063
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8064
- main: {
8065
- label: "Validation Type"
8066
- }
8067
- }
8068
- },
8069
- {
8070
- type: "Control",
8071
- scope: "#/properties/validationValue",
8072
- options: {
8073
- widget: "InputField"
8074
- },
8075
- config: {
8076
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8077
- main: {
8078
- label: "Validation Value"
8079
- }
8080
- }
8081
- },
8082
- {
8083
- type: "Control",
8084
- scope: "#/properties/emptyBox",
8085
- options: {
8086
- widget: "EmptyBox"
8087
- },
8088
- config: {
8089
- layout: { xs: 0, sm: 0, md: 4 }
8090
- }
8180
+ widget: "Array"
8181
+ },
8182
+ config: {
8183
+ layout: 12,
8184
+ main: {
8185
+ label: "Validation",
8186
+ childElementLabel: "Validation"
8187
+ },
8188
+ style: {
8189
+ marginLeft: "-24px",
8190
+ marginBottom: "24px !important",
8191
+ labelStyle: {
8192
+ marginLeft: "24px"
8193
+ },
8194
+ detailsStyle: {
8195
+ marginLeft: "24px"
8196
+ }
8197
+ }
8198
+ },
8199
+ elements: [
8200
+ {
8201
+ type: "Control",
8202
+ scope: "#/properties/validationType",
8203
+ options: {
8204
+ widget: "SelectInputField"
8205
+ },
8206
+ config: {
8207
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8208
+ main: {
8209
+ label: "Validation Type"
8091
8210
  }
8092
- ]
8211
+ }
8212
+ },
8213
+ {
8214
+ type: "Control",
8215
+ scope: "#/properties/validationValue",
8216
+ options: {
8217
+ widget: "InputField"
8218
+ },
8219
+ config: {
8220
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8221
+ main: {
8222
+ label: "Validation Value"
8223
+ }
8224
+ }
8225
+ },
8226
+ {
8227
+ type: "Control",
8228
+ scope: "#/properties/emptyBox",
8229
+ options: {
8230
+ widget: "EmptyBox"
8231
+ },
8232
+ config: {
8233
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8234
+ }
8093
8235
  }
8094
- }
8236
+ ]
8095
8237
  }
8096
8238
  ]
8097
8239
  };
@@ -8247,53 +8389,111 @@ function okHandler(store2) {
8247
8389
  }
8248
8390
  }
8249
8391
  const sectionLabels = {
8250
- Select: ["Core", "Properties", "Value", "Event", "Style", "Validation"],
8251
- MultipleSelect: ["Core", "Properties", "Value", "Event", "Style", "Validation"],
8252
- Table: ["Core", "Components", "Properties", "Event", "Style", "Validation"],
8253
- LeaderBoard: ["Core", "Components", "Properties", "Event", "Style", "Validation"],
8392
+ Select: ["Core", "Properties", "Value", "Events", "Style", "Validation"],
8393
+ MultipleSelect: ["Core", "Properties", "Value", "Events", "Style", "Validation"],
8394
+ Table: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
8395
+ LeaderBoard: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
8254
8396
  WrapperSection: ["Core", "Components", "Properties", "Style", "Validation"],
8255
8397
  TabSection: ["Core", "Components", "Properties", "Style", "Validation"],
8256
- SpeedoMeter: ["Core", "Properties", "Event", "Style", "Validation"],
8257
- card: ["Core", "Properties", "Event", "Style", "Validation"],
8258
- UploadFile: ["Core", "Event", "Style", "Validation"],
8259
- Graph: ["Core", "Properties", "Event", "Style", "Validation"],
8260
- DownloadFile: ["Core", "Event", "Style", "Validation"],
8261
- Box: ["Core", "Event", "Style", "Validation"],
8262
- Properties: ["Core", "Properties", "Event", "Style", "Validation"],
8263
- ProgressBarCard: ["Core", "Properties", "Event", "Style", "Validation"],
8264
- RankCard: ["Core", "Properties", "Event", "Style", "Validation"],
8265
- Slider: ["Core", "Components", "Event", "Style", "Validation"],
8266
- Timer: ["Core", "Event", "Style", "Validation"],
8267
- Rank: ["Core", "Event", "Style", "Validation"],
8268
- Button: ["Core", "Properties", "Event", "Style", "Validation"],
8398
+ SpeedoMeter: ["Core", "Properties", "Events", "Style", "Validation"],
8399
+ card: ["Core", "Properties", "Events", "Style", "Validation"],
8400
+ UploadFile: ["Core", "Events", "Style", "Validation"],
8401
+ Graph: ["Core", "Properties", "Events", "Style", "Validation"],
8402
+ DownloadFile: ["Core", "Events", "Style", "Validation"],
8403
+ Box: ["Core", "Events", "Style", "Validation"],
8404
+ Properties: ["Core", "Properties", "Events", "Style", "Validation"],
8405
+ ProgressBarCard: ["Core", "Properties", "Events", "Style", "Validation"],
8406
+ RankCard: ["Core", "Properties", "Events", "Style", "Validation"],
8407
+ Slider: ["Core", "Components", "Events", "Style", "Validation"],
8408
+ Timer: ["Core", "Events", "Style", "Validation"],
8409
+ Rank: ["Core", "Events", "Style", "Validation"],
8410
+ Button: ["Core", "Properties", "Events", "Style", "Validation"],
8269
8411
  Array: ["Core", "Components", "Validation"],
8270
- Radio: ["Core", "Properties", "Event", "Style", "Validation"],
8271
- Text: ["Core", "Properties", "Event", "Style", "Validation"],
8272
- TextArea: ["Core", "Properties", "Event", "Style", "Validation"],
8412
+ Radio: ["Core", "Properties", "Events", "Style", "Validation"],
8413
+ Text: ["Core", "Properties", "Events", "Style", "Validation"],
8414
+ TextArea: ["Core", "Properties", "Events", "Style", "Validation"],
8273
8415
  PopUp: ["Core", "Components", "Properties", "Style"],
8274
- Stepper: ["Core", "Components", "Properties", "Event", "Style"],
8275
- DataGrid: ["Core", "Components", "Properties", "Event", "Style"],
8276
- InputSlider: ["Core", "Properties", "Event", "Style", "Validation"],
8277
- TreeMap: ["Core", "Components", "Properties", "Event", "Style"],
8416
+ Stepper: ["Core", "Components", "Properties", "Events", "Style"],
8417
+ DataGrid: ["Core", "Components", "Properties", "Events", "Style"],
8418
+ InputSlider: ["Core", "Properties", "Events", "Style", "Validation"],
8419
+ TreeMap: ["Core", "Components", "Properties", "Events", "Style"],
8278
8420
  ColumnGroup: ["Core", "Components"],
8279
- Thought: ["Core", "Properties", "Event", "Style", "Validation"]
8421
+ Thought: ["Core", "Properties", "Events", "Style", "Validation"]
8280
8422
  };
8281
8423
  function refreshPage(type, store2) {
8282
- var _a;
8424
+ var _a, _b;
8283
8425
  const UiSchema = _.cloneDeep(componentBasicUiSchema(store2.theme.myTheme));
8426
+ const currentConfig = JSON.parse(sessionStorage.getItem("pageFormdata"));
8284
8427
  if (type) {
8285
8428
  const sectionUiSchema = {
8286
8429
  Core: CoreSection,
8287
8430
  Value: ValueTab,
8288
8431
  Style: StyleSection,
8289
- Event: EventSection(store2.theme.myTheme),
8432
+ Events: EventSection(store2.theme.myTheme),
8290
8433
  Components: TableSection(store2.theme.myTheme),
8291
8434
  Properties: buildPropertiesSection(type),
8292
8435
  Validation: ValidationSection
8293
8436
  };
8294
8437
  const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
8295
- UiSchema.elements[1].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Event", "Validation"];
8296
- UiSchema.elements[1].elements = elements || [CoreSection, StyleSection, EventSection(store2.theme.myTheme), ValidationSection];
8438
+ UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Events", "Validation"];
8439
+ UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection(store2.theme.myTheme), ValidationSection];
8440
+ }
8441
+ const path = (_b = store2.searchParams) == null ? void 0 : _b.get("path");
8442
+ const lastDotIndex = path.lastIndexOf(".");
8443
+ const parentPath = path.slice(0, lastDotIndex);
8444
+ const parentObj = _.get(currentConfig, parentPath);
8445
+ if ((parentObj == null ? void 0 : parentObj.type) === "Table") {
8446
+ UiSchema.elements[0].elements[0].elements[4] = {
8447
+ type: "Control",
8448
+ scope: "#/properties/columnFormat",
8449
+ options: {
8450
+ widget: "SelectInputField"
8451
+ },
8452
+ config: {
8453
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8454
+ main: {
8455
+ label: "Column Format"
8456
+ }
8457
+ }
8458
+ };
8459
+ UiSchema.elements[0].elements[0].elements[5] = {
8460
+ type: "Control",
8461
+ scope: "#/properties/filteringOptions",
8462
+ options: {
8463
+ widget: "SelectInputField"
8464
+ },
8465
+ config: {
8466
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8467
+ main: {
8468
+ label: "Filter Mode",
8469
+ multiple: true
8470
+ }
8471
+ }
8472
+ };
8473
+ UiSchema.elements[0].elements[0].elements[6] = {
8474
+ type: "Control",
8475
+ scope: "#/properties/enableFilter",
8476
+ options: {
8477
+ widget: "RadioInputField"
8478
+ },
8479
+ config: {
8480
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8481
+ main: {
8482
+ label: "Enable Filter",
8483
+ options: ["Yes", "No"],
8484
+ errorMessage: "Active is not marked YES or NO"
8485
+ }
8486
+ }
8487
+ }, UiSchema.elements[0].elements[0].elements[7] = {
8488
+ type: "Control",
8489
+ scope: "#/properties/proc",
8490
+ config: {
8491
+ layout: { xs: 0, sm: 0, md: 0, lg: 6 }
8492
+ },
8493
+ options: {
8494
+ widget: "EmptyBox"
8495
+ }
8496
+ };
8297
8497
  }
8298
8498
  if (sessionStorage.getItem("copiedConfig")) {
8299
8499
  this.ElementPathSetter(UiSchema);
@@ -8316,10 +8516,35 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8316
8516
  return getFormdataFromSessionStorage(path);
8317
8517
  },
8318
8518
  getSchema: function() {
8519
+ var _a, _b;
8319
8520
  const schema2 = _.cloneDeep(ComponentSchema);
8320
8521
  if (sessionStorage.getItem("copiedConfig")) {
8321
8522
  schema2.properties.RemoveItemButton.disabled = false;
8322
8523
  }
8524
+ const config2 = JSON.parse(sessionStorage.getItem("pageFormdata"));
8525
+ const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
8526
+ const id = (_b = store2.searchParams) == null ? void 0 : _b.get("id");
8527
+ let pathArray = [];
8528
+ if (path) {
8529
+ const pathArrayAll = path.split(".");
8530
+ const arr = [];
8531
+ pathArrayAll.map((e, i) => {
8532
+ if (i === 0) {
8533
+ arr.push(e);
8534
+ return;
8535
+ }
8536
+ arr.push(`${arr[i - 1]}.${e}`);
8537
+ });
8538
+ arr.map((e) => {
8539
+ const data = _.get(config2, e);
8540
+ pathArray.push({
8541
+ label: (data == null ? void 0 : data.name) || (data == null ? void 0 : data.eventType) || "NewComponent",
8542
+ path: `/Component?path=${e}&id=${id}`
8543
+ });
8544
+ });
8545
+ }
8546
+ console.log("pathArray>>", pathArray);
8547
+ schema2.properties.pageName.path = pathArray;
8323
8548
  return schema2;
8324
8549
  },
8325
8550
  okHandler: () => okHandler(store2),
@@ -8457,15 +8682,15 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8457
8682
  const pastedElementPath = this.elementPathHandler(pastedElementParentPath, insertElementIndex, elementType);
8458
8683
  const copiedConfig = JSON.parse(sessionStorage.getItem("copiedConfig"));
8459
8684
  const notificationMessages = {
8460
- Event: " The event cannot be integrated into the component section.",
8461
- Component: "The component cannot be integrated into the event section."
8685
+ Events: " The Events cannot be integrated into the component section.",
8686
+ Component: "The component cannot be integrated into the Events section."
8462
8687
  };
8463
8688
  if (copiedConfig.Handler && elementType === "Component") {
8464
8689
  store2.setNotify({
8465
- FailMessage: notificationMessages.Event,
8690
+ FailMessage: notificationMessages.Events,
8466
8691
  Fail: true
8467
8692
  });
8468
- } else if (copiedConfig.name && elementType === "Event") {
8693
+ } else if (copiedConfig.name && elementType === "Events") {
8469
8694
  store2.setNotify({
8470
8695
  FailMessage: notificationMessages.Component,
8471
8696
  Fail: true
@@ -8491,8 +8716,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8491
8716
  return parentPath ? `${parentPath}.events[${rowId}]` : `events[${rowId}]`;
8492
8717
  },
8493
8718
  ElementPathSetter: function(uiSchema, copiedFormData) {
8494
- const formData = copiedFormData || JSON.parse(sessionStorage.getItem("copiedConfig"));
8495
- uiSchema.elements[2].elements[1].config.main.heading = `Copied Path: ${formData.pageName}`;
8719
+ copiedFormData || JSON.parse(sessionStorage.getItem("copiedConfig"));
8496
8720
  }
8497
8721
  };
8498
8722
  };
@@ -8643,18 +8867,18 @@ const EventSchema = {
8643
8867
  eventType: {
8644
8868
  type: "string",
8645
8869
  oneOf: [
8646
- { title: "Click Event", const: "onClick" },
8647
- { title: "Load Event", const: "onLoad" },
8648
- { title: "Change Event", const: "onChange" },
8649
- { title: "Mount Event", const: "onMount" },
8870
+ { title: "Click", const: "onClick" },
8871
+ { title: "Load", const: "onLoad" },
8872
+ { title: "Change", const: "onChange" },
8873
+ { title: "Mount", const: "onMount" },
8650
8874
  { title: "Success", const: "Success" },
8651
- { title: "onStart", const: "onStart" },
8652
- { title: "Cell Renderer", const: "onCellRenderer" },
8653
- { title: "File Upload Event", const: "onUpload" },
8654
- { title: "Back Event", const: "onBack" },
8655
- { title: "Next Event", const: "onNext" },
8656
- { title: "onRowMovement", const: "onRowMovement" },
8657
- { title: "File Download Event", const: "onDownload" },
8875
+ { title: "Start", const: "onStart" },
8876
+ { title: "Cell Render", const: "onCellRenderer" },
8877
+ { title: "Upload", const: "onUpload" },
8878
+ { title: "Back", const: "onBack" },
8879
+ { title: "Next", const: "onNext" },
8880
+ { title: "Row Movement", const: "onRowMovement" },
8881
+ { title: "Download", const: "onDownload" },
8658
8882
  { title: "Fail", const: "Fail" }
8659
8883
  ]
8660
8884
  },
@@ -8662,7 +8886,7 @@ const EventSchema = {
8662
8886
  type: "string",
8663
8887
  oneOf: [
8664
8888
  { title: "Custom", const: "custom" },
8665
- { title: "Api", const: "api" },
8889
+ { title: "API", const: "api" },
8666
8890
  { title: "Inbuilt Function", const: "inBuiltFunction" },
8667
8891
  { title: "Refresh", const: "refresh" }
8668
8892
  ]
@@ -8696,42 +8920,41 @@ const EventSchema = {
8696
8920
  required: ["eventType", "Handler"]
8697
8921
  };
8698
8922
  const EventUiSchema = (theme) => {
8699
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
8923
+ var _a;
8700
8924
  const uiSchema = {
8701
8925
  type: "HorizontalLayout",
8702
- heading: "Component",
8926
+ heading: "Page-Events",
8703
8927
  elements: [
8704
- {
8705
- type: "Control",
8706
- scope: "#/properties/pageName",
8707
- options: {
8708
- widget: "Box"
8709
- },
8710
- config: {
8711
- layout: 12,
8712
- main: {
8713
- heading: " "
8714
- },
8715
- style: {
8716
- marginLeft: theme.spacing(3),
8717
- width: "auto",
8718
- fontSize: "12px",
8719
- color: "gray"
8720
- }
8721
- }
8722
- },
8723
8928
  {
8724
8929
  type: "TabLayout",
8725
8930
  config: {
8726
8931
  main: {
8727
- tabLabels: ["Core", "Response Event"],
8728
- defaultStyle: true,
8932
+ tabLabels: ["Core", "Response Events"],
8729
8933
  id: "event"
8934
+ },
8935
+ style: {
8936
+ TabPanelStyle: {
8937
+ padding: 0
8938
+ }
8939
+ },
8940
+ TabsStyle: {
8941
+ marginBottom: "3px",
8942
+ paddingBottom: "4px",
8943
+ boxShadow: "0px 3px 4px #afafaf80",
8944
+ "& .MuiTabs-indicator": {
8945
+ bottom: "6px"
8946
+ }
8730
8947
  }
8731
8948
  },
8732
8949
  elements: [
8733
8950
  {
8734
- type: "HorizontalLayout",
8951
+ type: "WrapperLayout",
8952
+ config: {
8953
+ main: {
8954
+ label: " ",
8955
+ gap: "8px"
8956
+ }
8957
+ },
8735
8958
  elements: [
8736
8959
  {
8737
8960
  type: "Control",
@@ -8740,9 +8963,9 @@ const EventUiSchema = (theme) => {
8740
8963
  widget: "SelectInputField"
8741
8964
  },
8742
8965
  config: {
8743
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8966
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8744
8967
  main: {
8745
- label: "Event Type",
8968
+ label: "Event's Type",
8746
8969
  type: "text"
8747
8970
  }
8748
8971
  }
@@ -8755,7 +8978,7 @@ const EventUiSchema = (theme) => {
8755
8978
  widget: "EmptyBox"
8756
8979
  },
8757
8980
  config: {
8758
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8981
+ layout: { xs: 0, sm: 0, md: 4, lg: 6 }
8759
8982
  }
8760
8983
  }
8761
8984
  ]
@@ -8781,12 +9004,18 @@ const EventUiSchema = (theme) => {
8781
9004
  main: {
8782
9005
  onClick: "addEvent",
8783
9006
  size: "small",
8784
- icon: "AddIcon",
8785
- iconLabel: "Add New",
9007
+ icon: "TableAddIcon",
9008
+ iconLabel: "Add",
8786
9009
  styleDefault: true
8787
9010
  },
8788
9011
  style: {
8789
- mt: "6px"
9012
+ mt: "6px",
9013
+ color: "inherit",
9014
+ fill: "inherit",
9015
+ "&:hover": {
9016
+ color: "inherit",
9017
+ fill: "inherit"
9018
+ }
8790
9019
  }
8791
9020
  }
8792
9021
  }
@@ -8802,12 +9031,18 @@ const EventUiSchema = (theme) => {
8802
9031
  main: {
8803
9032
  onClick: "copyPasteElement",
8804
9033
  size: "small",
8805
- icon: "PasteIcon",
9034
+ icon: "TablePaste",
8806
9035
  iconLabel: "Paste",
8807
9036
  styleDefault: true
8808
9037
  },
8809
9038
  style: {
8810
- mt: "6px"
9039
+ mt: "6px",
9040
+ color: "inherit",
9041
+ fill: "inherit",
9042
+ "&:hover": {
9043
+ color: "inherit",
9044
+ fill: "inherit"
9045
+ }
8811
9046
  }
8812
9047
  }
8813
9048
  }
@@ -8822,15 +9057,21 @@ const EventUiSchema = (theme) => {
8822
9057
  elements: [
8823
9058
  {
8824
9059
  accessorKey: "eventType",
8825
- header: "Event Type"
9060
+ header: "Event's Type",
9061
+ size: 300,
9062
+ type: "string"
8826
9063
  },
8827
9064
  {
8828
9065
  accessorKey: "Handler",
8829
- header: "Handler"
9066
+ header: "Handler",
9067
+ size: 200,
9068
+ type: "string"
8830
9069
  },
8831
9070
  {
8832
9071
  accessorKey: "Edit_Approve_Records",
8833
- header: "Edit Widget",
9072
+ header: "Edit",
9073
+ type: "action",
9074
+ size: 150,
8834
9075
  widget: {
8835
9076
  type: "Control",
8836
9077
  scope: "#/properties/Edit_Records",
@@ -8839,14 +9080,16 @@ const EventUiSchema = (theme) => {
8839
9080
  },
8840
9081
  config: {
8841
9082
  main: {
8842
- color: "info",
8843
9083
  size: "small",
8844
- icon: "EditIcon",
9084
+ icon: "TableEditIcon",
8845
9085
  tooltipMessage: "Edit This Record",
8846
9086
  onClick: "editEvent"
8847
9087
  },
8848
9088
  style: {
8849
- color: theme.palette.primary.main
9089
+ fill: theme.palette.primary.main,
9090
+ "& :hover": {
9091
+ fill: theme.palette.primary.dark
9092
+ }
8850
9093
  }
8851
9094
  }
8852
9095
  }
@@ -8854,6 +9097,8 @@ const EventUiSchema = (theme) => {
8854
9097
  {
8855
9098
  accessorKey: "Reject_Records",
8856
9099
  header: "Delete",
9100
+ type: "action",
9101
+ size: 150,
8857
9102
  widget: {
8858
9103
  type: "Control",
8859
9104
  scope: "#/properties/RejectButton",
@@ -8862,10 +9107,15 @@ const EventUiSchema = (theme) => {
8862
9107
  },
8863
9108
  config: {
8864
9109
  main: {
8865
- icon: "RejectIcon",
8866
- color: "error",
9110
+ icon: "Bin",
8867
9111
  tooltipMessage: "Reject This Record",
8868
9112
  onClick: "deletePopUpEvent"
9113
+ },
9114
+ style: {
9115
+ fill: theme.palette.primary.main,
9116
+ "& :hover": {
9117
+ fill: theme.palette.primary.dark
9118
+ }
8869
9119
  }
8870
9120
  }
8871
9121
  }
@@ -8873,7 +9123,8 @@ const EventUiSchema = (theme) => {
8873
9123
  {
8874
9124
  header: "Copy",
8875
9125
  field: "Copy_Event",
8876
- flex: 1,
9126
+ type: "action",
9127
+ size: 150,
8877
9128
  widget: {
8878
9129
  type: "Control",
8879
9130
  scope: "#/properties/Copy_Event",
@@ -8894,103 +9145,59 @@ const EventUiSchema = (theme) => {
8894
9145
  ]
8895
9146
  },
8896
9147
  {
8897
- type: "HorizontalLayout",
9148
+ type: "WrapperLayout",
8898
9149
  config: {
8899
- layout: { xs: 12, sm: 6 }
9150
+ main: {
9151
+ gap: "8px"
9152
+ }
8900
9153
  },
8901
9154
  elements: [
8902
9155
  {
8903
9156
  type: "Control",
8904
- scope: "#/properties/RemoveItemButton",
9157
+ scope: "#/properties/btn",
8905
9158
  options: {
8906
- widget: "IconButton"
9159
+ widget: "Button"
8907
9160
  },
8908
9161
  config: {
8909
- layout: { xs: 1, sm: 1 },
9162
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
8910
9163
  main: {
8911
- onClick: "RemoveItemButton",
8912
- size: "large",
8913
- icon: "RejectIcon",
8914
- styleDefault: true
8915
- },
8916
- style: {
8917
- marginLeft: "-10px"
9164
+ name: "Ok",
9165
+ variant: "contained",
9166
+ type: "text",
9167
+ onClick: "okHandler",
9168
+ size: "medium"
8918
9169
  }
8919
9170
  }
8920
9171
  },
8921
9172
  {
8922
9173
  type: "Control",
8923
- scope: "#/properties/copiedElementDetails",
9174
+ scope: "#/properties/btnSubmit",
8924
9175
  options: {
8925
- widget: "Box"
9176
+ widget: "Button"
8926
9177
  },
8927
9178
  config: {
8928
- layout: { xs: 6, sm: 6 },
9179
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
8929
9180
  main: {
8930
- heading: "No element copied"
8931
- },
8932
- style: {
8933
- color: "#535557",
8934
- marginLeft: "-10px",
8935
- fontSize: "12px",
8936
- marginTop: "4px"
9181
+ name: "Save & Exit",
9182
+ variant: "contained",
9183
+ type: "text",
9184
+ onClick: "saveHandler",
9185
+ size: "medium"
8937
9186
  }
8938
9187
  }
8939
9188
  },
8940
9189
  {
8941
9190
  type: "Control",
8942
9191
  scope: "#/properties/EmptyBox",
9192
+ config: {
9193
+ layout: { xs: 4, sm: 7, md: 8, lg: 9 }
9194
+ },
8943
9195
  options: {
8944
9196
  widget: "EmptyBox"
8945
- },
8946
- config: {
8947
- layout: { xs: 1, sm: 5 }
8948
9197
  }
8949
9198
  }
8950
9199
  ]
8951
9200
  },
8952
- {
8953
- type: "Control",
8954
- scope: "#/properties/btn",
8955
- options: {
8956
- widget: "Button"
8957
- },
8958
- config: {
8959
- layout: { xs: 4, sm: 2 },
8960
- main: {
8961
- name: "Ok",
8962
- startIcon: "ApproveIcon",
8963
- variant: "contained",
8964
- type: "text",
8965
- onClick: "okHandler",
8966
- size: "medium"
8967
- },
8968
- style: {
8969
- float: "right"
8970
- }
8971
- }
8972
- },
8973
- {
8974
- type: "Control",
8975
- scope: "#/properties/btnSubmit",
8976
- options: {
8977
- widget: "Button"
8978
- },
8979
- config: {
8980
- layout: { xs: 4, sm: 2 },
8981
- main: {
8982
- name: "Save & Exit",
8983
- startIcon: "ApproveIcon",
8984
- variant: "contained",
8985
- type: "text",
8986
- onClick: "saveHandler",
8987
- size: "medium"
8988
- },
8989
- style: {
8990
- float: "right"
8991
- }
8992
- }
8993
- },
8994
9201
  {
8995
9202
  type: "Control",
8996
9203
  scope: "#/properties/popUpEvent",
@@ -9116,110 +9323,75 @@ const EventUiSchema = (theme) => {
9116
9323
  },
9117
9324
  {
9118
9325
  type: "Control",
9119
- scope: "#/properties/notify",
9326
+ scope: "#/properties/pageName",
9120
9327
  options: {
9121
- widget: "Notify"
9328
+ widget: "Box"
9122
9329
  },
9123
- layout: 6
9124
- },
9125
- {
9126
- type: "HorizontalLayout",
9127
9330
  config: {
9331
+ layout: 12,
9128
9332
  main: {
9129
- direction: "row"
9333
+ heading: ""
9130
9334
  },
9131
9335
  style: {
9132
- flexDirection: "row",
9133
- position: "absolute",
9134
- bottom: 0,
9135
- height: "fit-content",
9136
- overflow: "hidden",
9137
- zIndex: 1e3,
9138
- width: "inherit"
9336
+ paddingLeft: theme.spacing(3),
9337
+ width: "100%",
9338
+ fontSize: "10px",
9339
+ color: theme.palette.grey[600],
9340
+ position: "fixed",
9341
+ bottom: "24px",
9342
+ backgroundColor: theme.palette.background.default,
9343
+ borderBottom: `1px solid ${theme.palette.common.black}29`,
9344
+ borderTop: `1px solid ${theme.palette.common.black}29`
9139
9345
  }
9346
+ }
9347
+ },
9348
+ {
9349
+ type: "Control",
9350
+ scope: "#/properties/notify",
9351
+ options: {
9352
+ widget: "Notify"
9140
9353
  },
9141
- elements: [
9142
- {
9143
- type: "Control",
9144
- scope: "#/properties/FooterText",
9145
- options: {
9146
- widget: "Box"
9147
- },
9148
- config: {
9149
- main: {
9150
- heading: "Copywriter@ACT21.IO"
9151
- },
9152
- style: {
9153
- color: ((_b = (_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text) == null ? void 0 : _b.disabled) || "#AFAFAF",
9154
- fontSize: "11px",
9155
- textAlign: "center",
9156
- lineHeight: 2,
9157
- width: "fit-content",
9158
- left: "50%",
9159
- position: "relative",
9160
- margin: 0,
9161
- flexGrow: 1,
9162
- height: 0,
9163
- transform: "translate(-50%, 0%)"
9164
- }
9165
- }
9166
- },
9167
- {
9168
- type: "Control",
9169
- scope: "#/properties/FooterBackIcon",
9170
- options: {
9171
- widget: "Box"
9172
- },
9173
- config: {
9174
- main: {
9175
- iconName: "PrevIcon",
9176
- onClick: "backHandler",
9177
- width: "fit-content"
9178
- },
9179
- style: {
9180
- fill: (_d = (_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.primary) == null ? void 0 : _d.main,
9181
- width: 20,
9182
- height: 0,
9183
- top: 0,
9184
- right: { xs: "12px", sm: "84px" },
9185
- position: "absolute",
9186
- fontSize: "12px",
9187
- cursor: "pointer",
9188
- ":hover": {
9189
- fill: (_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.primary) == null ? void 0 : _f.dark
9190
- },
9191
- marginRight: "20px"
9192
- }
9193
- }
9354
+ layout: 6
9355
+ },
9356
+ {
9357
+ type: "HorizontalLayout",
9358
+ config: {
9359
+ main: {
9360
+ direction: "row"
9194
9361
  },
9362
+ style: {
9363
+ flexDirection: "row",
9364
+ position: "absolute",
9365
+ bottom: 10,
9366
+ height: "fit-content",
9367
+ overflow: "hidden",
9368
+ zIndex: 1e3,
9369
+ width: "inherit"
9370
+ }
9371
+ },
9372
+ elements: [
9195
9373
  {
9196
9374
  type: "Control",
9197
- scope: "#/properties/FooterBackHandlerText",
9375
+ scope: "#/properties/FooterText",
9198
9376
  options: {
9199
9377
  widget: "Box"
9200
9378
  },
9201
9379
  config: {
9202
9380
  main: {
9203
- heading: "Previous Page",
9204
- onClick: "backHandler"
9381
+ heading: "Copywriter@ACT21.IO"
9205
9382
  },
9206
9383
  style: {
9207
- display: { xs: "none", sm: "flex" },
9208
- textAlign: "left",
9209
- lineHeight: 1,
9210
- height: 0,
9384
+ color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
9385
+ fontSize: "11px",
9386
+ textAlign: "center",
9387
+ lineHeight: 0,
9211
9388
  width: "fit-content",
9212
- color: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.main,
9213
- fontSize: "12px",
9214
- cursor: "pointer",
9215
- marginLeft: "2px",
9216
- top: 3,
9217
- right: "12px",
9218
- position: "absolute",
9219
- ":hover": {
9220
- color: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.dark
9221
- },
9222
- marginRight: "4px"
9389
+ left: "50%",
9390
+ position: "relative",
9391
+ margin: "revert",
9392
+ flexGrow: 1,
9393
+ height: 0,
9394
+ transform: "translate(-50%, 0%)"
9223
9395
  }
9224
9396
  }
9225
9397
  }
@@ -9239,7 +9411,7 @@ const APISection = {
9239
9411
  widget: "SelectInputField"
9240
9412
  },
9241
9413
  config: {
9242
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9414
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
9243
9415
  main: {
9244
9416
  label: "Method",
9245
9417
  type: "text"
@@ -9253,7 +9425,7 @@ const APISection = {
9253
9425
  widget: "InputField"
9254
9426
  },
9255
9427
  config: {
9256
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9428
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
9257
9429
  main: {
9258
9430
  label: "Path",
9259
9431
  type: "text",
@@ -9269,116 +9441,132 @@ const APISection = {
9269
9441
  widget: "EmptyBox"
9270
9442
  },
9271
9443
  config: {
9272
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9444
+ layout: { xs: 0, sm: 0, md: 4, lg: 6 }
9273
9445
  }
9274
9446
  },
9275
9447
  {
9276
9448
  type: "Control",
9277
- scope: "#/properties/emptyBox",
9449
+ scope: "#/properties/headers",
9278
9450
  options: {
9279
- widget: "EmptyBox"
9451
+ widget: "Array"
9280
9452
  },
9281
9453
  config: {
9282
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9283
- }
9284
- },
9285
- {
9286
- type: "Control",
9287
- scope: "#/properties/headers",
9288
- layout: 11.5,
9289
- options: {
9290
- "elementLabelProp": "key",
9291
- detail: {
9292
- type: "HorizontalLayout",
9293
- elements: [
9294
- {
9295
- type: "Control",
9296
- scope: "#/properties/key",
9297
- options: {
9298
- widget: "InputField"
9299
- },
9300
- config: {
9301
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9302
- main: {
9303
- label: "Key"
9304
- }
9305
- }
9306
- },
9307
- {
9308
- type: "Control",
9309
- scope: "#/properties/value",
9310
- options: {
9311
- widget: "InputField"
9312
- },
9313
- config: {
9314
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9315
- main: {
9316
- label: "Value"
9317
- }
9318
- }
9319
- },
9320
- {
9321
- type: "Control",
9322
- scope: "#/properties/emptyBox",
9323
- options: {
9324
- widget: "EmptyBox"
9325
- },
9326
- config: {
9327
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9328
- }
9454
+ layout: 12,
9455
+ main: {
9456
+ label: "Headers",
9457
+ childElementLabel: "Headers"
9458
+ },
9459
+ style: {
9460
+ marginLeft: "-24px",
9461
+ marginBottom: "24px !important",
9462
+ labelStyle: {
9463
+ marginLeft: "24px"
9464
+ },
9465
+ detailsStyle: {
9466
+ marginLeft: "24px"
9467
+ }
9468
+ }
9469
+ },
9470
+ elements: [
9471
+ {
9472
+ type: "Control",
9473
+ scope: "#/properties/key",
9474
+ options: {
9475
+ widget: "InputField"
9476
+ },
9477
+ config: {
9478
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9479
+ main: {
9480
+ label: "Key"
9329
9481
  }
9330
- ]
9482
+ }
9483
+ },
9484
+ {
9485
+ type: "Control",
9486
+ scope: "#/properties/value",
9487
+ options: {
9488
+ widget: "InputField"
9489
+ },
9490
+ config: {
9491
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9492
+ main: {
9493
+ label: "Value"
9494
+ }
9495
+ }
9496
+ },
9497
+ {
9498
+ type: "Control",
9499
+ scope: "#/properties/emptyBox",
9500
+ options: {
9501
+ widget: "EmptyBox"
9502
+ },
9503
+ config: {
9504
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9505
+ }
9331
9506
  }
9332
- }
9507
+ ]
9333
9508
  },
9334
9509
  {
9335
9510
  type: "Control",
9336
9511
  scope: "#/properties/body",
9337
- layout: 11.5,
9338
9512
  options: {
9339
- "elementLabelProp": "key",
9340
- detail: {
9341
- type: "HorizontalLayout",
9342
- elements: [
9343
- {
9344
- type: "Control",
9345
- scope: "#/properties/key",
9346
- options: {
9347
- widget: "InputField"
9348
- },
9349
- config: {
9350
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9351
- main: {
9352
- label: "Key"
9353
- }
9354
- }
9355
- },
9356
- {
9357
- type: "Control",
9358
- scope: "#/properties/value",
9359
- options: {
9360
- widget: "InputField"
9361
- },
9362
- config: {
9363
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9364
- main: {
9365
- label: "Value"
9366
- }
9367
- }
9368
- },
9369
- {
9370
- type: "Control",
9371
- scope: "#/properties/emptyBox",
9372
- options: {
9373
- widget: "EmptyBox"
9374
- },
9375
- config: {
9376
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9377
- }
9513
+ widget: "Array"
9514
+ },
9515
+ config: {
9516
+ layout: 12,
9517
+ main: {
9518
+ label: "Body",
9519
+ childElementLabel: "Body"
9520
+ },
9521
+ style: {
9522
+ marginLeft: "-24px",
9523
+ marginBottom: "24px !important",
9524
+ labelStyle: {
9525
+ marginLeft: "24px"
9526
+ },
9527
+ detailsStyle: {
9528
+ marginLeft: "24px"
9529
+ }
9530
+ }
9531
+ },
9532
+ elements: [
9533
+ {
9534
+ type: "Control",
9535
+ scope: "#/properties/key",
9536
+ options: {
9537
+ widget: "InputField"
9538
+ },
9539
+ config: {
9540
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9541
+ main: {
9542
+ label: "Key"
9378
9543
  }
9379
- ]
9544
+ }
9545
+ },
9546
+ {
9547
+ type: "Control",
9548
+ scope: "#/properties/value",
9549
+ options: {
9550
+ widget: "InputField"
9551
+ },
9552
+ config: {
9553
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9554
+ main: {
9555
+ label: "Value"
9556
+ }
9557
+ }
9558
+ },
9559
+ {
9560
+ type: "Control",
9561
+ scope: "#/properties/emptyBox",
9562
+ options: {
9563
+ widget: "EmptyBox"
9564
+ },
9565
+ config: {
9566
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9567
+ }
9380
9568
  }
9381
- }
9569
+ ]
9382
9570
  },
9383
9571
  getTextArea("apiBody", "Transformer", true, 12)
9384
9572
  ]
@@ -9389,64 +9577,55 @@ const refreshSectionUiSchema = {
9389
9577
  {
9390
9578
  type: "Control",
9391
9579
  scope: "#/properties/refreshElements",
9392
- layout: 11.5,
9393
9580
  options: {
9394
- detail: {
9395
- type: "HorizontalLayout",
9396
- elements: [
9397
- {
9398
- type: "Control",
9399
- scope: "#/properties/value",
9400
- options: {
9401
- widget: "InputField"
9402
- },
9403
- config: {
9404
- layout: { xs: 12, sm: 6, md: 4, lg: 4 },
9405
- main: {
9406
- label: "Value"
9407
- }
9408
- }
9409
- },
9410
- {
9411
- type: "Control",
9412
- scope: "#/properties/emptyBox",
9413
- options: {
9414
- widget: "EmptyBox"
9415
- },
9416
- config: {
9417
- layout: { xs: 0, sm: 6, md: 4, lg: 4 },
9418
- main: {}
9419
- }
9420
- },
9421
- {
9422
- type: "Control",
9423
- scope: "#/properties/emptyBox",
9424
- options: {
9425
- widget: "EmptyBox"
9426
- },
9427
- config: {
9428
- layout: { xs: 0, sm: 0, md: 4, lg: 4 },
9429
- main: {}
9430
- }
9581
+ widget: "Array"
9582
+ },
9583
+ config: {
9584
+ layout: 12,
9585
+ main: {
9586
+ label: "Refresh Elements",
9587
+ childElementLabel: "Refresh Elements"
9588
+ },
9589
+ style: {
9590
+ marginLeft: "-24px",
9591
+ marginBottom: "24px !important",
9592
+ labelStyle: {
9593
+ marginLeft: "24px"
9594
+ },
9595
+ detailsStyle: {
9596
+ marginLeft: "24px"
9597
+ }
9598
+ }
9599
+ },
9600
+ elements: [
9601
+ {
9602
+ type: "Control",
9603
+ scope: "#/properties/value",
9604
+ options: {
9605
+ widget: "InputField"
9606
+ },
9607
+ config: {
9608
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9609
+ main: {
9610
+ label: "Value"
9431
9611
  }
9432
- ]
9612
+ }
9613
+ },
9614
+ {
9615
+ type: "Control",
9616
+ scope: "#/properties/emptyBox",
9617
+ options: {
9618
+ widget: "EmptyBox"
9619
+ },
9620
+ config: {
9621
+ layout: { xs: 6, sm: 6, md: 8, lg: 8 },
9622
+ main: {}
9623
+ }
9433
9624
  }
9434
- }
9625
+ ]
9435
9626
  }
9436
9627
  ]
9437
9628
  };
9438
- var emptyBox = {
9439
- type: "Control",
9440
- scope: "#/properties/emptyBox",
9441
- options: {
9442
- widget: "EmptyBox"
9443
- },
9444
- config: {
9445
- layout: { xs: 0, sm: 4, md: 4, lg: 4 },
9446
- main: {},
9447
- style: {}
9448
- }
9449
- };
9450
9629
  var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9451
9630
  return {
9452
9631
  setPage: async function() {
@@ -9461,44 +9640,44 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9461
9640
  const schema2 = _.cloneDeep(EventSchema);
9462
9641
  if (handlerType) {
9463
9642
  if (handlerType === "custom") {
9464
- uiSchema.elements[1].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
9465
- uiSchema.elements[1].elements[0].elements[3] = {
9643
+ uiSchema.elements[0].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
9644
+ uiSchema.elements[0].elements[0].elements[3] = {
9466
9645
  type: "Control",
9467
9646
  scope: "#/properties/emptyBox",
9468
9647
  options: {
9469
9648
  widget: "EmptyBox"
9470
9649
  },
9471
9650
  config: {
9472
- layout: { xs: 0, sm: 6, md: 0, lg: 0 },
9651
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
9473
9652
  main: {},
9474
9653
  style: {}
9475
9654
  }
9476
9655
  };
9477
- uiSchema.elements[1].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
9656
+ uiSchema.elements[0].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
9478
9657
  schema2.required = ["eventType", "Handler", "eventCode"];
9479
9658
  } else if (handlerType === "api") {
9480
- uiSchema.elements[1].elements[0].elements[2] = emptyBox;
9481
- uiSchema.elements[1].elements[0].elements[3] = APISection;
9659
+ uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", { xs: 0, sm: 0, md: 4, lg: 6 });
9660
+ uiSchema.elements[0].elements[0].elements[3] = APISection;
9482
9661
  schema2.required = ["eventType", "Handler", "method", "path"];
9483
9662
  } else if (handlerType === "inBuiltFunction") {
9484
- uiSchema.elements[1].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
9485
- uiSchema.elements[1].elements[0].elements[3] = {
9663
+ uiSchema.elements[0].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
9664
+ uiSchema.elements[0].elements[0].elements[3] = {
9486
9665
  type: "Control",
9487
9666
  scope: "#/properties/emptyBox",
9488
9667
  options: {
9489
9668
  widget: "EmptyBox"
9490
9669
  },
9491
9670
  config: {
9492
- layout: { xs: 6, sm: 6, md: 0, lg: 0 },
9671
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
9493
9672
  main: {},
9494
9673
  style: {}
9495
9674
  }
9496
9675
  };
9497
- uiSchema.elements[1].elements[0].elements[4] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
9676
+ uiSchema.elements[0].elements[0].elements[4] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
9498
9677
  schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
9499
9678
  } else if (handlerType === "refresh") {
9500
- uiSchema.elements[1].elements[0].elements[2] = emptyBox;
9501
- uiSchema.elements[1].elements[0].elements[3] = refreshSectionUiSchema;
9679
+ uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", { xs: 0, sm: 0, md: 4, lg: 6 });
9680
+ uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
9502
9681
  schema2.properties.refreshElements.required = ["value"];
9503
9682
  schema2.properties.refreshElements.items.required = ["value"];
9504
9683
  schema2.required = ["eventType", "Handler", "refreshElements"];
@@ -11554,6 +11733,18 @@ const buildRadio = (config2, componentScope2) => {
11554
11733
  }
11555
11734
  return Radio;
11556
11735
  };
11736
+ var emptyBox = {
11737
+ type: "Control",
11738
+ scope: "#/properties/emptyBox",
11739
+ options: {
11740
+ widget: "EmptyBox"
11741
+ },
11742
+ config: {
11743
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
11744
+ main: {},
11745
+ style: {}
11746
+ }
11747
+ };
11557
11748
  const buildEmptyBox = (config2, componentScope2) => {
11558
11749
  const EmptyBox = _.cloneDeep(emptyBox);
11559
11750
  if (config2.layout) {
@@ -12231,19 +12422,12 @@ const buildUiSchema = (config2, store2) => {
12231
12422
  });
12232
12423
  } else if (config2.type == "Table") {
12233
12424
  const sizeMap = {};
12234
- const filterMap = {};
12235
12425
  if (config2.sizeHolder) {
12236
12426
  config2.sizeHolder.map((e, i) => {
12237
12427
  sizeMap[e.keyName] = e.value;
12238
12428
  });
12239
12429
  }
12240
- if (config2.enableColumnFilter) {
12241
- config2.enableColumnFilter.map((e) => {
12242
- filterMap[e.keyName] = true;
12243
- });
12244
- }
12245
12430
  elements.elements = config2.elements.map((cellElem, elemInd) => {
12246
- var _a, _b;
12247
12431
  if (cellElem.type) {
12248
12432
  return {
12249
12433
  accessorKey: cellElem.name,
@@ -12252,8 +12436,8 @@ const buildUiSchema = (config2, store2) => {
12252
12436
  type: cellElem.columnFormat,
12253
12437
  widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store2) : void 0,
12254
12438
  elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store2)) : [],
12255
- enableColumnFilter: Object.keys(filterMap).length === 0 ? true : (_a = filterMap[cellElem.name]) != null ? _a : false,
12256
- columnFilterModeOptions: config2.filteringOptions
12439
+ columnFilterModeOptions: cellElem.filteringOptions,
12440
+ enableColumnFilter: cellElem.enableFilter === "Yes" ? true : false
12257
12441
  };
12258
12442
  } else {
12259
12443
  return {
@@ -12261,8 +12445,8 @@ const buildUiSchema = (config2, store2) => {
12261
12445
  type: cellElem.columnFormat,
12262
12446
  header: cellElem.label || cellElem.name,
12263
12447
  size: sizeMap[cellElem.name] || 180,
12264
- enableColumnFilter: Object.keys(filterMap).length === 0 ? true : (_b = filterMap[cellElem.name]) != null ? _b : false,
12265
- columnFilterModeOptions: config2.filteringOptions
12448
+ columnFilterModeOptions: cellElem.filteringOptions,
12449
+ enableColumnFilter: cellElem.enableFilter === "Yes" ? true : false
12266
12450
  };
12267
12451
  }
12268
12452
  });