impaktapps-ui-builder 0.0.101-alpha.5 → 0.0.101-alpha.51

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 +975 -834
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +13 -13
  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 +20 -23
  26. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +157 -95
  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 +111 -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",
@@ -6604,7 +6603,13 @@ const componentBasicUiSchema = (theme) => {
6604
6603
  },
6605
6604
  elements: [
6606
6605
  {
6607
- type: "HorizontalLayout",
6606
+ type: "WrapperLayout",
6607
+ config: {
6608
+ main: {
6609
+ label: " ",
6610
+ gap: "8px"
6611
+ }
6612
+ },
6608
6613
  elements: [
6609
6614
  {
6610
6615
  type: "Control",
@@ -6639,8 +6644,6 @@ const componentBasicUiSchema = (theme) => {
6639
6644
  layout: { xs: 12, sm: 6, md: 4, lg: 3 },
6640
6645
  main: {
6641
6646
  label: "Component ID",
6642
- options: [],
6643
- color: "secondary",
6644
6647
  required: true
6645
6648
  }
6646
6649
  }
@@ -6671,57 +6674,6 @@ const componentBasicUiSchema = (theme) => {
6671
6674
  widget: "EmptyBox"
6672
6675
  }
6673
6676
  },
6674
- {
6675
- type: "Control",
6676
- scope: "#/properties/layout",
6677
- layout: 12,
6678
- options: {
6679
- detail: {
6680
- type: "HorizontalLayout",
6681
- elements: [
6682
- {
6683
- type: "Control",
6684
- scope: "#/properties/key",
6685
- options: {
6686
- widget: "SelectInputField"
6687
- },
6688
- config: {
6689
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6690
- main: {
6691
- label: "Screen Size"
6692
- }
6693
- }
6694
- },
6695
- {
6696
- type: "Control",
6697
- scope: "#/properties/value",
6698
- options: {
6699
- widget: "InputField"
6700
- },
6701
- config: {
6702
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6703
- main: {
6704
- label: "Value",
6705
- type: "number",
6706
- helperText: "Number should be in range of 0 to 12",
6707
- errorMessage: "Number Can't be greater than 12 and can't be less than 0."
6708
- }
6709
- }
6710
- },
6711
- {
6712
- type: "Control",
6713
- scope: "#/properties/proc",
6714
- config: {
6715
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6716
- },
6717
- options: {
6718
- widget: "EmptyBox"
6719
- }
6720
- }
6721
- ]
6722
- }
6723
- }
6724
- },
6725
6677
  {
6726
6678
  type: "Control",
6727
6679
  scope: "#/properties/layout",
@@ -6792,48 +6744,58 @@ const componentBasicUiSchema = (theme) => {
6792
6744
  ]
6793
6745
  },
6794
6746
  {
6795
- type: "Control",
6796
- scope: "#/properties/btn",
6797
- options: {
6798
- widget: "Button"
6799
- },
6747
+ type: "WrapperLayout",
6800
6748
  config: {
6801
- layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
6802
6749
  main: {
6803
- name: "Ok",
6804
- variant: "contained",
6805
- type: "text",
6806
- onClick: "okHandler",
6807
- size: "medium"
6750
+ gap: "8px"
6808
6751
  }
6809
- }
6810
- },
6811
- {
6812
- type: "Control",
6813
- scope: "#/properties/btnSubmit",
6814
- options: {
6815
- widget: "Button"
6816
6752
  },
6817
- config: {
6818
- layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
6819
- main: {
6820
- name: "Save & Exit",
6821
- variant: "contained",
6822
- type: "text",
6823
- onClick: "saveHandler",
6824
- size: "medium"
6753
+ elements: [
6754
+ {
6755
+ type: "Control",
6756
+ scope: "#/properties/btn",
6757
+ options: {
6758
+ widget: "Button"
6759
+ },
6760
+ config: {
6761
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
6762
+ main: {
6763
+ name: "Ok",
6764
+ variant: "contained",
6765
+ type: "text",
6766
+ onClick: "okHandler",
6767
+ size: "medium"
6768
+ }
6769
+ }
6770
+ },
6771
+ {
6772
+ type: "Control",
6773
+ scope: "#/properties/btnSubmit",
6774
+ options: {
6775
+ widget: "Button"
6776
+ },
6777
+ config: {
6778
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
6779
+ main: {
6780
+ name: "Save & Exit",
6781
+ variant: "contained",
6782
+ type: "text",
6783
+ onClick: "saveHandler",
6784
+ size: "medium"
6785
+ }
6786
+ }
6787
+ },
6788
+ {
6789
+ type: "Control",
6790
+ scope: "#/properties/EmptyBox",
6791
+ config: {
6792
+ layout: { xs: 4, sm: 7, md: 8, lg: 9 }
6793
+ },
6794
+ options: {
6795
+ widget: "EmptyBox"
6796
+ }
6825
6797
  }
6826
- }
6827
- },
6828
- {
6829
- type: "Control",
6830
- scope: "#/properties/EmptyBox",
6831
- config: {
6832
- layout: { xs: 4, sm: 7, md: 8, lg: 9 }
6833
- },
6834
- options: {
6835
- widget: "EmptyBox"
6836
- }
6798
+ ]
6837
6799
  },
6838
6800
  {
6839
6801
  type: "Control",
@@ -7075,6 +7037,49 @@ const componentBasicUiSchema = (theme) => {
7075
7037
  }
7076
7038
  ]
7077
7039
  },
7040
+ {
7041
+ type: "Control",
7042
+ scope: "#/properties/pageName",
7043
+ options: {
7044
+ widget: "Box"
7045
+ },
7046
+ config: {
7047
+ layout: 12,
7048
+ main: {
7049
+ heading: ""
7050
+ },
7051
+ style: {
7052
+ paddingLeft: theme.spacing(3),
7053
+ width: "100%",
7054
+ fontSize: "10px",
7055
+ color: theme.palette.grey[600],
7056
+ position: "fixed",
7057
+ bottom: "24px",
7058
+ backgroundColor: theme.palette.background.default,
7059
+ borderBottom: `1px solid ${theme.palette.common.black}29`,
7060
+ borderTop: `1px solid ${theme.palette.common.black}29`
7061
+ }
7062
+ }
7063
+ },
7064
+ {
7065
+ type: "Control",
7066
+ scope: "#/properties/pageName",
7067
+ options: {
7068
+ widget: "Breadcrumb"
7069
+ },
7070
+ config: {
7071
+ layout: 12,
7072
+ main: {},
7073
+ style: {
7074
+ color: theme.palette.grey[600],
7075
+ fontSize: "10px",
7076
+ position: "fixed",
7077
+ bottom: "24px",
7078
+ borderBottom: `1px solid ${theme.palette.common.black}29`,
7079
+ borderTop: `1px solid ${theme.palette.common.black}29`
7080
+ }
7081
+ }
7082
+ },
7078
7083
  {
7079
7084
  type: "Control",
7080
7085
  scope: "#/properties/notify",
@@ -7132,7 +7137,13 @@ const componentBasicUiSchema = (theme) => {
7132
7137
  return uiSchema;
7133
7138
  };
7134
7139
  const CoreSection = {
7135
- type: "HorizontalLayout",
7140
+ type: "WrapperLayout",
7141
+ config: {
7142
+ main: {
7143
+ label: " ",
7144
+ gap: "8px"
7145
+ }
7146
+ },
7136
7147
  elements: [
7137
7148
  {
7138
7149
  type: "Control",
@@ -7141,7 +7152,7 @@ const CoreSection = {
7141
7152
  widget: "SelectInputField"
7142
7153
  },
7143
7154
  config: {
7144
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7155
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7145
7156
  main: {
7146
7157
  label: "Type",
7147
7158
  type: "text"
@@ -7150,40 +7161,39 @@ const CoreSection = {
7150
7161
  },
7151
7162
  {
7152
7163
  type: "Control",
7153
- scope: "#/properties/name",
7154
- options: {
7155
- widget: "InputField"
7156
- },
7164
+ scope: "#/properties/proc",
7157
7165
  config: {
7158
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7159
- main: {
7160
- label: "Name"
7161
- }
7166
+ layout: { xs: 6, sm: 0, md: 0, lg: 0 }
7167
+ },
7168
+ options: {
7169
+ widget: "EmptyBox"
7162
7170
  }
7163
7171
  },
7164
7172
  {
7165
7173
  type: "Control",
7166
- scope: "#/properties/label",
7174
+ scope: "#/properties/name",
7167
7175
  options: {
7168
7176
  widget: "InputField"
7169
7177
  },
7170
7178
  config: {
7171
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7179
+ layout: { xs: 12, sm: 6, md: 4, lg: 3 },
7172
7180
  main: {
7173
- label: "Label"
7181
+ label: "Component ID",
7182
+ required: true
7174
7183
  }
7175
7184
  }
7176
7185
  },
7177
7186
  {
7178
7187
  type: "Control",
7179
- scope: "#/properties/columnFormat",
7188
+ scope: "#/properties/label",
7180
7189
  options: {
7181
- widget: "SelectInputField"
7190
+ widget: "InputField"
7182
7191
  },
7183
7192
  config: {
7184
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7193
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7185
7194
  main: {
7186
- label: "Column Format"
7195
+ label: "Label",
7196
+ required: true
7187
7197
  }
7188
7198
  }
7189
7199
  },
@@ -7191,17 +7201,7 @@ const CoreSection = {
7191
7201
  type: "Control",
7192
7202
  scope: "#/properties/proc",
7193
7203
  config: {
7194
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7195
- },
7196
- options: {
7197
- widget: "EmptyBox"
7198
- }
7199
- },
7200
- {
7201
- type: "Control",
7202
- scope: "#/properties/proc",
7203
- config: {
7204
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7204
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 }
7205
7205
  },
7206
7206
  options: {
7207
7207
  widget: "EmptyBox"
@@ -7210,54 +7210,67 @@ const CoreSection = {
7210
7210
  {
7211
7211
  type: "Control",
7212
7212
  scope: "#/properties/layout",
7213
- layout: 12,
7214
7213
  options: {
7215
- "elementLabelProp": "key",
7216
- detail: {
7217
- type: "HorizontalLayout",
7218
- elements: [
7219
- {
7220
- type: "Control",
7221
- scope: "#/properties/key",
7222
- options: {
7223
- widget: "SelectInputField"
7224
- },
7225
- config: {
7226
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7227
- main: {
7228
- label: "Screen Size"
7229
- }
7230
- }
7231
- },
7232
- {
7233
- type: "Control",
7234
- scope: "#/properties/value",
7235
- options: {
7236
- widget: "InputField"
7237
- },
7238
- config: {
7239
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7240
- main: {
7241
- label: "Value",
7242
- type: "number",
7243
- helperText: "Number should be in range of 0 to 12",
7244
- errorMessage: "Number Can't be greater than 12 and can't be less than 0."
7245
- }
7246
- }
7247
- },
7248
- {
7249
- type: "Control",
7250
- scope: "#/properties/proc",
7251
- config: {
7252
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7253
- },
7254
- options: {
7255
- widget: "EmptyBox"
7256
- }
7214
+ widget: "Array"
7215
+ },
7216
+ config: {
7217
+ layout: 12,
7218
+ main: {
7219
+ label: "Layout",
7220
+ childElementLabel: "Layout"
7221
+ },
7222
+ style: {
7223
+ marginLeft: "-24px",
7224
+ marginBottom: "24px !important",
7225
+ labelStyle: {
7226
+ marginLeft: "24px"
7227
+ },
7228
+ detailsStyle: {
7229
+ marginLeft: "24px"
7230
+ }
7231
+ }
7232
+ },
7233
+ elements: [
7234
+ {
7235
+ type: "Control",
7236
+ scope: "#/properties/key",
7237
+ options: {
7238
+ widget: "SelectInputField"
7239
+ },
7240
+ config: {
7241
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7242
+ main: {
7243
+ label: "Screen Size"
7257
7244
  }
7258
- ]
7245
+ }
7246
+ },
7247
+ {
7248
+ type: "Control",
7249
+ scope: "#/properties/value",
7250
+ options: {
7251
+ widget: "InputField"
7252
+ },
7253
+ config: {
7254
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7255
+ main: {
7256
+ label: "Value",
7257
+ type: "number",
7258
+ helperText: "Number should be in range of 0 to 12",
7259
+ errorMessage: "Number Can't be greater than 12 and can't be less than 0."
7260
+ }
7261
+ }
7262
+ },
7263
+ {
7264
+ type: "Control",
7265
+ scope: "#/properties/proc",
7266
+ config: {
7267
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7268
+ },
7269
+ options: {
7270
+ widget: "EmptyBox"
7271
+ }
7259
7272
  }
7260
- }
7273
+ ]
7261
7274
  }
7262
7275
  ]
7263
7276
  };
@@ -7284,15 +7297,20 @@ const EventSection = (theme) => {
7284
7297
  },
7285
7298
  config: {
7286
7299
  main: {
7287
- color: "info",
7288
7300
  onClick: "eventAddHandler",
7289
7301
  size: "small",
7290
- icon: "AddIcon",
7291
- iconLabel: "Add New",
7302
+ icon: "TableAddIcon",
7303
+ iconLabel: "Add",
7292
7304
  styleDefault: true
7293
7305
  },
7294
7306
  style: {
7295
- mt: "6px"
7307
+ mt: "6px",
7308
+ color: "inherit",
7309
+ fill: "inherit",
7310
+ "&:hover": {
7311
+ color: "inherit",
7312
+ fill: "inherit"
7313
+ }
7296
7314
  }
7297
7315
  }
7298
7316
  }
@@ -7308,12 +7326,18 @@ const EventSection = (theme) => {
7308
7326
  main: {
7309
7327
  onClick: "copyPasteElement",
7310
7328
  size: "small",
7311
- icon: "PasteIcon",
7329
+ icon: "TablePaste",
7312
7330
  iconLabel: "Paste",
7313
7331
  styleDefault: true
7314
7332
  },
7315
7333
  style: {
7316
- mt: "6px"
7334
+ mt: "6px",
7335
+ color: "inherit",
7336
+ fill: "inherit",
7337
+ "&:hover": {
7338
+ color: "inherit",
7339
+ fill: "inherit"
7340
+ }
7317
7341
  }
7318
7342
  }
7319
7343
  }
@@ -7328,15 +7352,21 @@ const EventSection = (theme) => {
7328
7352
  elements: [
7329
7353
  {
7330
7354
  accessorKey: "eventType",
7331
- header: "Event Type"
7355
+ header: "Event's Type",
7356
+ type: "string",
7357
+ size: 300
7332
7358
  },
7333
7359
  {
7334
7360
  accessorKey: "Handler",
7335
- header: "Handler"
7361
+ header: "Handler",
7362
+ type: "string",
7363
+ size: 200
7336
7364
  },
7337
7365
  {
7338
7366
  accessorKey: "Edit_Approve_Records",
7339
- header: "Edit Widget",
7367
+ header: "Edit",
7368
+ size: 150,
7369
+ type: "action",
7340
7370
  widget: {
7341
7371
  type: "Control",
7342
7372
  scope: "#/properties/Edit_Records",
@@ -7345,14 +7375,16 @@ const EventSection = (theme) => {
7345
7375
  },
7346
7376
  config: {
7347
7377
  main: {
7348
- color: "info",
7349
7378
  size: "small",
7350
- icon: "EditIcon",
7379
+ icon: "TableEditIcon",
7351
7380
  tooltipMessage: "Edit This Record",
7352
7381
  onClick: "eventEditHandler"
7353
7382
  },
7354
7383
  style: {
7355
- color: theme.palette.primary.main
7384
+ fill: theme.palette.primary.main,
7385
+ "& :hover": {
7386
+ fill: theme.palette.primary.dark
7387
+ }
7356
7388
  }
7357
7389
  }
7358
7390
  }
@@ -7360,6 +7392,8 @@ const EventSection = (theme) => {
7360
7392
  {
7361
7393
  accessorKey: "Reject_Records",
7362
7394
  header: "Delete",
7395
+ size: 150,
7396
+ type: "action",
7363
7397
  widget: {
7364
7398
  type: "Control",
7365
7399
  scope: "#/properties/RejectButton",
@@ -7369,10 +7403,15 @@ const EventSection = (theme) => {
7369
7403
  },
7370
7404
  config: {
7371
7405
  main: {
7372
- icon: "RejectIcon",
7373
- color: "error",
7406
+ icon: "Bin",
7374
7407
  tooltipMessage: "Reject This Record",
7375
7408
  onClick: "deletePopUpEvent"
7409
+ },
7410
+ style: {
7411
+ fill: theme.palette.primary.main,
7412
+ "& :hover": {
7413
+ fill: theme.palette.primary.dark
7414
+ }
7376
7415
  }
7377
7416
  }
7378
7417
  }
@@ -7380,7 +7419,8 @@ const EventSection = (theme) => {
7380
7419
  {
7381
7420
  header: "Copy",
7382
7421
  field: "Copy_Event",
7383
- flex: 1,
7422
+ size: 150,
7423
+ type: "action",
7384
7424
  widget: {
7385
7425
  type: "Control",
7386
7426
  scope: "#/properties/Copy_Event",
@@ -7430,77 +7470,103 @@ const emptyBox$1 = (scope, layout) => {
7430
7470
  const cardLayout = {
7431
7471
  type: "Control",
7432
7472
  scope: "#/properties/cardLayout",
7433
- layout: 11.5,
7434
7473
  options: {
7435
- detail: {
7436
- type: "HorizontalLayout",
7437
- elements: [
7438
- {
7439
- type: "Control",
7440
- scope: "#/properties/key",
7441
- options: {
7442
- widget: "SelectInputField"
7443
- },
7444
- config: {
7445
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7446
- main: {
7447
- label: "Screen Size"
7448
- }
7449
- }
7450
- },
7451
- {
7452
- type: "Control",
7453
- scope: "#/properties/value",
7454
- options: {
7455
- widget: "InputField"
7456
- },
7457
- config: {
7458
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7459
- main: {
7460
- label: "Value",
7461
- type: "number",
7462
- helperText: "Number should be in range of 0 to 12",
7463
- errorMessage: "Number Can't be greater than 12 and can't be less than 0."
7464
- }
7465
- }
7466
- },
7467
- emptyBox$1("cardEmpty")
7468
- ]
7474
+ widget: "Array"
7475
+ },
7476
+ config: {
7477
+ layout: 12,
7478
+ main: {
7479
+ label: "Card Layout",
7480
+ childElementLabel: "Card Layout"
7481
+ },
7482
+ style: {
7483
+ marginLeft: "-24px",
7484
+ marginBottom: "24px !important",
7485
+ labelStyle: {
7486
+ marginLeft: "24px"
7487
+ },
7488
+ detailsStyle: {
7489
+ marginLeft: "24px"
7490
+ }
7469
7491
  }
7470
- }
7492
+ },
7493
+ elements: [
7494
+ {
7495
+ type: "Control",
7496
+ scope: "#/properties/key",
7497
+ options: {
7498
+ widget: "SelectInputField"
7499
+ },
7500
+ config: {
7501
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7502
+ main: {
7503
+ label: "Screen Size"
7504
+ }
7505
+ }
7506
+ },
7507
+ {
7508
+ type: "Control",
7509
+ scope: "#/properties/value",
7510
+ options: {
7511
+ widget: "InputField"
7512
+ },
7513
+ config: {
7514
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7515
+ main: {
7516
+ label: "Value",
7517
+ type: "number",
7518
+ helperText: "Number should be in range of 0 to 12",
7519
+ errorMessage: "Number Can't be greater than 12 and can't be less than 0."
7520
+ }
7521
+ }
7522
+ },
7523
+ emptyBox$1("cardEmpty")
7524
+ ]
7471
7525
  };
7472
7526
  const getArrayControl = (parentScope, childScope, childLabel) => {
7473
7527
  return {
7474
7528
  type: "Control",
7475
7529
  scope: `#/properties/${parentScope}`,
7476
- layout: 12,
7477
7530
  options: {
7478
- "elementLabelProp": childScope,
7479
- detail: {
7480
- type: "HorizontalLayout",
7481
- elements: [
7482
- {
7483
- type: "Control",
7484
- scope: `#/properties/${childScope}`,
7485
- options: {
7486
- widget: "InputField"
7487
- },
7488
- config: {
7489
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7490
- main: {
7491
- label: childLabel || "Labels for Tab"
7492
- }
7493
- }
7494
- },
7495
- emptyBox$1("ArrayControlEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
7496
- emptyBox$1("ArrayControlEmpty2", { xs: 0, sm: 0, md: 4, lg: 4 })
7497
- ]
7531
+ widget: "Array"
7532
+ },
7533
+ config: {
7534
+ layout: 12,
7535
+ main: {
7536
+ label: childLabel,
7537
+ childElementLabel: childLabel
7538
+ },
7539
+ style: {
7540
+ marginLeft: "-24px",
7541
+ marginBottom: "24px !important",
7542
+ labelStyle: {
7543
+ marginLeft: "24px"
7544
+ },
7545
+ detailsStyle: {
7546
+ marginLeft: "24px"
7547
+ }
7498
7548
  }
7499
- }
7549
+ },
7550
+ elements: [
7551
+ {
7552
+ type: "Control",
7553
+ scope: `#/properties/${childScope}`,
7554
+ options: {
7555
+ widget: "InputField"
7556
+ },
7557
+ config: {
7558
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7559
+ main: {
7560
+ label: childLabel || "Labels for Tab"
7561
+ }
7562
+ }
7563
+ },
7564
+ emptyBox$1("ArrayControlEmpty1", { xs: 6, sm: 6, md: 8, lg: 8 })
7565
+ ]
7500
7566
  };
7501
7567
  };
7502
7568
  const sizeHolder = getArrayControl("sizeHolder", "keyName", "Component Name");
7503
- sizeHolder.options.detail.elements[1] = {
7569
+ sizeHolder.elements[1] = {
7504
7570
  type: "Control",
7505
7571
  scope: `#/properties/value`,
7506
7572
  options: {
@@ -7513,7 +7579,7 @@ sizeHolder.options.detail.elements[1] = {
7513
7579
  }
7514
7580
  }
7515
7581
  };
7516
- sizeHolder.options.detail.elements[2] = emptyBox$1("sizeHolderempty");
7582
+ sizeHolder.elements[2] = emptyBox$1("sizeHolderempty");
7517
7583
  const getInputField = (scope, label) => {
7518
7584
  return {
7519
7585
  type: "Control",
@@ -7522,7 +7588,7 @@ const getInputField = (scope, label) => {
7522
7588
  widget: "InputField"
7523
7589
  },
7524
7590
  config: {
7525
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7591
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7526
7592
  main: {
7527
7593
  label
7528
7594
  }
@@ -7537,7 +7603,7 @@ const getRadioInputField = (scope, label, options) => {
7537
7603
  widget: "RadioInputField"
7538
7604
  },
7539
7605
  config: {
7540
- layout: { xs: 12, sm: 6, md: 4, lg: 4 },
7606
+ layout: { xs: 12, sm: 6, md: 4, lg: 3 },
7541
7607
  main: {
7542
7608
  label,
7543
7609
  options
@@ -7552,17 +7618,7 @@ const buildWrapper = (label, elements) => {
7552
7618
  main: {
7553
7619
  label: label || "Details",
7554
7620
  isAccordion: true
7555
- },
7556
- wrapperStyle: {
7557
- marginTop: "-6px",
7558
- marginBottom: "-8px",
7559
- marginLeft: "-34px",
7560
- width: "108%"
7561
- },
7562
- componentsBoxStyle: {
7563
- marginLeft: "12px"
7564
- },
7565
- defaultStyle: true
7621
+ }
7566
7622
  },
7567
7623
  elements: elements || []
7568
7624
  };
@@ -7576,18 +7632,8 @@ const getTextArea = (scope, heading, hideButton, layout) => {
7576
7632
  },
7577
7633
  config: {
7578
7634
  layout: layout || 12,
7579
- style: {
7580
- containerStyle: {
7581
- borderRadius: "20px"
7582
- },
7583
- headerContainerStyle: {},
7584
- textAreaStyle: {
7585
- borderRadius: "20px",
7586
- padding: "20px"
7587
- }
7588
- },
7589
7635
  main: {
7590
- heading,
7636
+ label: heading,
7591
7637
  minRows: 8,
7592
7638
  hideButton,
7593
7639
  enableCodeEditor: true
@@ -7603,7 +7649,7 @@ const getSelectField = (scope, label, options) => {
7603
7649
  widget: "SelectInputField"
7604
7650
  },
7605
7651
  config: {
7606
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7652
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7607
7653
  main: {
7608
7654
  label,
7609
7655
  type: "text"
@@ -7619,7 +7665,7 @@ const getMultiSelectField = (scope, label) => {
7619
7665
  widget: "MultipleSelect"
7620
7666
  },
7621
7667
  config: {
7622
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7668
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7623
7669
  main: {
7624
7670
  multiple: true,
7625
7671
  label,
@@ -7628,12 +7674,18 @@ const getMultiSelectField = (scope, label) => {
7628
7674
  }
7629
7675
  };
7630
7676
  };
7631
- const GraphSection = {
7677
+ const BaseSection = {
7632
7678
  type: "WrapperLayout",
7679
+ config: {
7680
+ main: {
7681
+ label: " ",
7682
+ gap: "8px"
7683
+ }
7684
+ },
7633
7685
  elements: []
7634
7686
  };
7635
7687
  const buildPropertiesSection = function(type) {
7636
- let uiSchema = _.cloneDeep(GraphSection);
7688
+ let uiSchema = _.cloneDeep(BaseSection);
7637
7689
  switch (type) {
7638
7690
  case "TreeMap":
7639
7691
  uiSchema.elements = [
@@ -7697,7 +7749,8 @@ const buildPropertiesSection = function(type) {
7697
7749
  uiSchema.elements = [
7698
7750
  getInputField("placeholder", "Placeholder"),
7699
7751
  getRadioInputField("enableCodeEditor", "Enable Code Editor", ["YES", "NO"]),
7700
- getInputField("codeEditorLanguage", "Enter Code Language")
7752
+ getInputField("codeEditorLanguage", "Enter Code Language"),
7753
+ emptyBox$1("TextEmpty1", { xs: 0, sm: 0, md: 0, lg: 3 })
7701
7754
  ];
7702
7755
  break;
7703
7756
  case "SpeedoMeter":
@@ -7777,7 +7830,7 @@ const buildPropertiesSection = function(type) {
7777
7830
  getInputField("xAxisValue", "X-AxisValue"),
7778
7831
  getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
7779
7832
  getInputField("leftMargin", "Left Margin"),
7780
- emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 8, lg: 8 }),
7833
+ emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 8, lg: 6 }),
7781
7834
  getArrayControl("legendLabels", "label"),
7782
7835
  getArrayControl("pieArcColors", "color")
7783
7836
  ];
@@ -7858,7 +7911,13 @@ const buildPropertiesSection = function(type) {
7858
7911
  return uiSchema;
7859
7912
  };
7860
7913
  const StyleSection = {
7861
- type: "HorizontalLayout",
7914
+ type: "WrapperLayout",
7915
+ config: {
7916
+ main: {
7917
+ label: " ",
7918
+ gap: "8px"
7919
+ }
7920
+ },
7862
7921
  elements: [
7863
7922
  {
7864
7923
  type: "Control",
@@ -7874,14 +7933,7 @@ const StyleSection = {
7874
7933
  lg: 12
7875
7934
  },
7876
7935
  style: {
7877
- containerStyle: {
7878
- borderRadius: "20px"
7879
- },
7880
- headerContainerStyle: {},
7881
- textAreaStyle: {
7882
- borderRadius: "20px",
7883
- padding: "20px"
7884
- }
7936
+ "& .MuiFormLabel-root:not(.MuiInputLabel-shrink)": {}
7885
7937
  },
7886
7938
  main: {
7887
7939
  heading: "JSON Style",
@@ -7915,15 +7967,20 @@ const TableSection = (theme) => {
7915
7967
  },
7916
7968
  config: {
7917
7969
  main: {
7918
- color: "info",
7919
7970
  onClick: "widgetAddClickHandler",
7920
7971
  size: "small",
7921
- icon: "AddIcon",
7922
- iconLabel: "Add New",
7972
+ icon: "TableAddIcon",
7973
+ iconLabel: "Add",
7923
7974
  styleDefault: true
7924
7975
  },
7925
7976
  style: {
7926
- mt: "6px"
7977
+ mt: "6px",
7978
+ color: "inherit",
7979
+ fill: "inherit",
7980
+ "&:hover": {
7981
+ color: "inherit",
7982
+ fill: "inherit"
7983
+ }
7927
7984
  }
7928
7985
  }
7929
7986
  }
@@ -7939,12 +7996,18 @@ const TableSection = (theme) => {
7939
7996
  main: {
7940
7997
  onClick: "copyPasteElement",
7941
7998
  size: "small",
7942
- icon: "PasteIcon",
7999
+ icon: "TablePaste",
7943
8000
  iconLabel: "Paste",
7944
8001
  styleDefault: true
7945
8002
  },
7946
8003
  style: {
7947
- mt: "6px"
8004
+ mt: "6px",
8005
+ color: "inherit",
8006
+ fill: "inherit",
8007
+ "&:hover": {
8008
+ color: "inherit",
8009
+ fill: "inherit"
8010
+ }
7948
8011
  }
7949
8012
  }
7950
8013
  }
@@ -7959,16 +8022,21 @@ const TableSection = (theme) => {
7959
8022
  elements: [
7960
8023
  {
7961
8024
  accessorKey: "name",
7962
- header: "Name"
8025
+ header: "Name",
8026
+ type: "string",
8027
+ size: 300
7963
8028
  },
7964
8029
  {
7965
8030
  accessorKey: "type",
7966
- header: "Type"
8031
+ header: "Type",
8032
+ type: "string",
8033
+ size: 200
7967
8034
  },
7968
8035
  {
7969
8036
  header: "Edit Record",
7970
8037
  field: "Reject_Records",
7971
- flex: 1,
8038
+ size: 150,
8039
+ type: "action",
7972
8040
  widget: {
7973
8041
  type: "Control",
7974
8042
  scope: "#/properties/RejectButton",
@@ -7977,13 +8045,16 @@ const TableSection = (theme) => {
7977
8045
  },
7978
8046
  config: {
7979
8047
  main: {
7980
- icon: "EditIcon",
7981
- color: "primary",
8048
+ icon: "TableEditIcon",
8049
+ size: "small",
7982
8050
  onClick: "editComponents",
7983
8051
  tooltipMessage: "Reject This Record"
7984
8052
  },
7985
8053
  style: {
7986
- color: theme.palette.primary.main
8054
+ fill: theme.palette.primary.main,
8055
+ "& :hover": {
8056
+ fill: theme.palette.primary.dark
8057
+ }
7987
8058
  }
7988
8059
  }
7989
8060
  }
@@ -7991,7 +8062,8 @@ const TableSection = (theme) => {
7991
8062
  {
7992
8063
  header: "Delete",
7993
8064
  field: "Reject_Records",
7994
- flex: 1,
8065
+ size: 150,
8066
+ type: "action",
7995
8067
  widget: {
7996
8068
  type: "Control",
7997
8069
  scope: "#/properties/RejectButton",
@@ -8000,10 +8072,15 @@ const TableSection = (theme) => {
8000
8072
  },
8001
8073
  config: {
8002
8074
  main: {
8003
- icon: "RejectIcon",
8004
- color: "error",
8075
+ icon: "Bin",
8005
8076
  onClick: "deletePopUpComponent",
8006
8077
  tooltipMessage: "Reject This Record"
8078
+ },
8079
+ style: {
8080
+ fill: theme.palette.primary.main,
8081
+ "& :hover": {
8082
+ fill: theme.palette.primary.dark
8083
+ }
8007
8084
  }
8008
8085
  }
8009
8086
  }
@@ -8011,7 +8088,8 @@ const TableSection = (theme) => {
8011
8088
  {
8012
8089
  header: "Copy",
8013
8090
  field: "Copy_Component",
8014
- flex: 1,
8091
+ size: 150,
8092
+ type: "action",
8015
8093
  widget: {
8016
8094
  type: "Control",
8017
8095
  scope: "#/properties/Copy_Component",
@@ -8035,109 +8113,148 @@ const TableSection = (theme) => {
8035
8113
  return uiSchema;
8036
8114
  };
8037
8115
  const ValueTab = {
8038
- type: "HorizontalLayout",
8116
+ type: "WrapperLayout",
8117
+ config: {
8118
+ main: {
8119
+ label: " ",
8120
+ gap: "8px"
8121
+ }
8122
+ },
8039
8123
  elements: [
8040
8124
  {
8041
8125
  type: "Control",
8042
8126
  scope: "#/properties/value",
8043
- layout: 12,
8044
8127
  options: {
8045
- detail: {
8046
- type: "HorizontalLayout",
8047
- elements: [
8048
- {
8049
- type: "Control",
8050
- scope: "#/properties/label",
8051
- options: {
8052
- widget: "InputField"
8053
- },
8054
- config: {
8055
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8056
- main: {
8057
- label: "Label"
8058
- }
8059
- }
8060
- },
8061
- {
8062
- type: "Control",
8063
- scope: "#/properties/value",
8064
- options: {
8065
- widget: "InputField"
8066
- },
8067
- config: {
8068
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8069
- main: {
8070
- label: "Value"
8071
- }
8072
- }
8073
- },
8074
- {
8075
- type: "Control",
8076
- scope: "#/properties/emptyBox",
8077
- options: {
8078
- widget: "EmptyBox"
8079
- },
8080
- config: {
8081
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8082
- }
8128
+ widget: "Array"
8129
+ },
8130
+ config: {
8131
+ layout: 12,
8132
+ main: {
8133
+ label: "Value",
8134
+ childElementLabel: "Value"
8135
+ },
8136
+ style: {
8137
+ marginLeft: "-24px",
8138
+ marginBottom: "24px !important",
8139
+ labelStyle: {
8140
+ marginLeft: "24px"
8141
+ },
8142
+ detailsStyle: {
8143
+ marginLeft: "24px"
8144
+ }
8145
+ }
8146
+ },
8147
+ elements: [
8148
+ {
8149
+ type: "Control",
8150
+ scope: "#/properties/label",
8151
+ options: {
8152
+ widget: "InputField"
8153
+ },
8154
+ config: {
8155
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8156
+ main: {
8157
+ label: "Label"
8083
8158
  }
8084
- ]
8159
+ }
8160
+ },
8161
+ {
8162
+ type: "Control",
8163
+ scope: "#/properties/value",
8164
+ options: {
8165
+ widget: "InputField"
8166
+ },
8167
+ config: {
8168
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8169
+ main: {
8170
+ label: "Value"
8171
+ }
8172
+ }
8173
+ },
8174
+ {
8175
+ type: "Control",
8176
+ scope: "#/properties/emptyBox",
8177
+ options: {
8178
+ widget: "EmptyBox"
8179
+ },
8180
+ config: {
8181
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8182
+ }
8085
8183
  }
8086
- }
8184
+ ]
8087
8185
  }
8088
8186
  ]
8089
8187
  };
8090
8188
  const ValidationSection = {
8091
- type: "HorizontalLayout",
8189
+ type: "WrapperLayout",
8190
+ config: {
8191
+ main: {
8192
+ label: " ",
8193
+ gap: "8px"
8194
+ }
8195
+ },
8092
8196
  elements: [
8093
8197
  {
8094
8198
  type: "Control",
8095
8199
  scope: "#/properties/validation",
8096
- layout: 11.5,
8097
8200
  options: {
8098
- "elementLabelProp": "validationType",
8099
- detail: {
8100
- type: "HorizontalLayout",
8101
- elements: [
8102
- {
8103
- type: "Control",
8104
- scope: "#/properties/validationType",
8105
- options: {
8106
- widget: "SelectInputField"
8107
- },
8108
- config: {
8109
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8110
- main: {
8111
- label: "Validation Type"
8112
- }
8113
- }
8114
- },
8115
- {
8116
- type: "Control",
8117
- scope: "#/properties/validationValue",
8118
- options: {
8119
- widget: "InputField"
8120
- },
8121
- config: {
8122
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8123
- main: {
8124
- label: "Validation Value"
8125
- }
8126
- }
8127
- },
8128
- {
8129
- type: "Control",
8130
- scope: "#/properties/emptyBox",
8131
- options: {
8132
- widget: "EmptyBox"
8133
- },
8134
- config: {
8135
- layout: { xs: 0, sm: 0, md: 4 }
8136
- }
8201
+ widget: "Array"
8202
+ },
8203
+ config: {
8204
+ layout: 12,
8205
+ main: {
8206
+ label: "Validation",
8207
+ childElementLabel: "Validation"
8208
+ },
8209
+ style: {
8210
+ marginLeft: "-24px",
8211
+ marginBottom: "24px !important",
8212
+ labelStyle: {
8213
+ marginLeft: "24px"
8214
+ },
8215
+ detailsStyle: {
8216
+ marginLeft: "24px"
8217
+ }
8218
+ }
8219
+ },
8220
+ elements: [
8221
+ {
8222
+ type: "Control",
8223
+ scope: "#/properties/validationType",
8224
+ options: {
8225
+ widget: "SelectInputField"
8226
+ },
8227
+ config: {
8228
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8229
+ main: {
8230
+ label: "Validation Type"
8137
8231
  }
8138
- ]
8232
+ }
8233
+ },
8234
+ {
8235
+ type: "Control",
8236
+ scope: "#/properties/validationValue",
8237
+ options: {
8238
+ widget: "InputField"
8239
+ },
8240
+ config: {
8241
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8242
+ main: {
8243
+ label: "Validation Value"
8244
+ }
8245
+ }
8246
+ },
8247
+ {
8248
+ type: "Control",
8249
+ scope: "#/properties/emptyBox",
8250
+ options: {
8251
+ widget: "EmptyBox"
8252
+ },
8253
+ config: {
8254
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8255
+ }
8139
8256
  }
8140
- }
8257
+ ]
8141
8258
  }
8142
8259
  ]
8143
8260
  };
@@ -8293,53 +8410,111 @@ function okHandler(store2) {
8293
8410
  }
8294
8411
  }
8295
8412
  const sectionLabels = {
8296
- Select: ["Core", "Properties", "Value", "Event", "Style", "Validation"],
8297
- MultipleSelect: ["Core", "Properties", "Value", "Event", "Style", "Validation"],
8298
- Table: ["Core", "Components", "Properties", "Event", "Style", "Validation"],
8299
- LeaderBoard: ["Core", "Components", "Properties", "Event", "Style", "Validation"],
8413
+ Select: ["Core", "Properties", "Value", "Events", "Style", "Validation"],
8414
+ MultipleSelect: ["Core", "Properties", "Value", "Events", "Style", "Validation"],
8415
+ Table: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
8416
+ LeaderBoard: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
8300
8417
  WrapperSection: ["Core", "Components", "Properties", "Style", "Validation"],
8301
8418
  TabSection: ["Core", "Components", "Properties", "Style", "Validation"],
8302
- SpeedoMeter: ["Core", "Properties", "Event", "Style", "Validation"],
8303
- card: ["Core", "Properties", "Event", "Style", "Validation"],
8304
- UploadFile: ["Core", "Event", "Style", "Validation"],
8305
- Graph: ["Core", "Properties", "Event", "Style", "Validation"],
8306
- DownloadFile: ["Core", "Event", "Style", "Validation"],
8307
- Box: ["Core", "Event", "Style", "Validation"],
8308
- Properties: ["Core", "Properties", "Event", "Style", "Validation"],
8309
- ProgressBarCard: ["Core", "Properties", "Event", "Style", "Validation"],
8310
- RankCard: ["Core", "Properties", "Event", "Style", "Validation"],
8311
- Slider: ["Core", "Components", "Event", "Style", "Validation"],
8312
- Timer: ["Core", "Event", "Style", "Validation"],
8313
- Rank: ["Core", "Event", "Style", "Validation"],
8314
- Button: ["Core", "Properties", "Event", "Style", "Validation"],
8419
+ SpeedoMeter: ["Core", "Properties", "Events", "Style", "Validation"],
8420
+ card: ["Core", "Properties", "Events", "Style", "Validation"],
8421
+ UploadFile: ["Core", "Events", "Style", "Validation"],
8422
+ Graph: ["Core", "Properties", "Events", "Style", "Validation"],
8423
+ DownloadFile: ["Core", "Events", "Style", "Validation"],
8424
+ Box: ["Core", "Events", "Style", "Validation"],
8425
+ Properties: ["Core", "Properties", "Events", "Style", "Validation"],
8426
+ ProgressBarCard: ["Core", "Properties", "Events", "Style", "Validation"],
8427
+ RankCard: ["Core", "Properties", "Events", "Style", "Validation"],
8428
+ Slider: ["Core", "Components", "Events", "Style", "Validation"],
8429
+ Timer: ["Core", "Events", "Style", "Validation"],
8430
+ Rank: ["Core", "Events", "Style", "Validation"],
8431
+ Button: ["Core", "Properties", "Events", "Style", "Validation"],
8315
8432
  Array: ["Core", "Components", "Validation"],
8316
- Radio: ["Core", "Properties", "Event", "Style", "Validation"],
8317
- Text: ["Core", "Properties", "Event", "Style", "Validation"],
8318
- TextArea: ["Core", "Properties", "Event", "Style", "Validation"],
8433
+ Radio: ["Core", "Properties", "Events", "Style", "Validation"],
8434
+ Text: ["Core", "Properties", "Events", "Style", "Validation"],
8435
+ TextArea: ["Core", "Properties", "Events", "Style", "Validation"],
8319
8436
  PopUp: ["Core", "Components", "Properties", "Style"],
8320
- Stepper: ["Core", "Components", "Properties", "Event", "Style"],
8321
- DataGrid: ["Core", "Components", "Properties", "Event", "Style"],
8322
- InputSlider: ["Core", "Properties", "Event", "Style", "Validation"],
8323
- TreeMap: ["Core", "Components", "Properties", "Event", "Style"],
8437
+ Stepper: ["Core", "Components", "Properties", "Events", "Style"],
8438
+ DataGrid: ["Core", "Components", "Properties", "Events", "Style"],
8439
+ InputSlider: ["Core", "Properties", "Events", "Style", "Validation"],
8440
+ TreeMap: ["Core", "Components", "Properties", "Events", "Style"],
8324
8441
  ColumnGroup: ["Core", "Components"],
8325
- Thought: ["Core", "Properties", "Event", "Style", "Validation"]
8442
+ Thought: ["Core", "Properties", "Events", "Style", "Validation"]
8326
8443
  };
8327
8444
  function refreshPage(type, store2) {
8328
- var _a;
8445
+ var _a, _b;
8329
8446
  const UiSchema = _.cloneDeep(componentBasicUiSchema(store2.theme.myTheme));
8447
+ const currentConfig = JSON.parse(sessionStorage.getItem("pageFormdata"));
8330
8448
  if (type) {
8331
8449
  const sectionUiSchema = {
8332
8450
  Core: CoreSection,
8333
8451
  Value: ValueTab,
8334
8452
  Style: StyleSection,
8335
- Event: EventSection(store2.theme.myTheme),
8453
+ Events: EventSection(store2.theme.myTheme),
8336
8454
  Components: TableSection(store2.theme.myTheme),
8337
8455
  Properties: buildPropertiesSection(type),
8338
8456
  Validation: ValidationSection
8339
8457
  };
8340
8458
  const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
8341
- UiSchema.elements[1].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Event", "Validation"];
8342
- UiSchema.elements[1].elements = elements || [CoreSection, StyleSection, EventSection(store2.theme.myTheme), ValidationSection];
8459
+ UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Events", "Validation"];
8460
+ UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection(store2.theme.myTheme), ValidationSection];
8461
+ }
8462
+ const path = (_b = store2.searchParams) == null ? void 0 : _b.get("path");
8463
+ const lastDotIndex = path.lastIndexOf(".");
8464
+ const parentPath = path.slice(0, lastDotIndex);
8465
+ const parentObj = _.get(currentConfig, parentPath);
8466
+ if ((parentObj == null ? void 0 : parentObj.type) === "Table") {
8467
+ UiSchema.elements[0].elements[0].elements[4] = {
8468
+ type: "Control",
8469
+ scope: "#/properties/columnFormat",
8470
+ options: {
8471
+ widget: "SelectInputField"
8472
+ },
8473
+ config: {
8474
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8475
+ main: {
8476
+ label: "Column Format"
8477
+ }
8478
+ }
8479
+ };
8480
+ UiSchema.elements[0].elements[0].elements[5] = {
8481
+ type: "Control",
8482
+ scope: "#/properties/filteringOptions",
8483
+ options: {
8484
+ widget: "SelectInputField"
8485
+ },
8486
+ config: {
8487
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8488
+ main: {
8489
+ label: "Filter Mode",
8490
+ multiple: true
8491
+ }
8492
+ }
8493
+ };
8494
+ UiSchema.elements[0].elements[0].elements[6] = {
8495
+ type: "Control",
8496
+ scope: "#/properties/enableFilter",
8497
+ options: {
8498
+ widget: "RadioInputField"
8499
+ },
8500
+ config: {
8501
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8502
+ main: {
8503
+ label: "Enable Filter",
8504
+ options: ["Yes", "No"],
8505
+ errorMessage: "Active is not marked YES or NO"
8506
+ }
8507
+ }
8508
+ }, UiSchema.elements[0].elements[0].elements[7] = {
8509
+ type: "Control",
8510
+ scope: "#/properties/proc",
8511
+ config: {
8512
+ layout: { xs: 0, sm: 0, md: 0, lg: 6 }
8513
+ },
8514
+ options: {
8515
+ widget: "EmptyBox"
8516
+ }
8517
+ };
8343
8518
  }
8344
8519
  if (sessionStorage.getItem("copiedConfig")) {
8345
8520
  this.ElementPathSetter(UiSchema);
@@ -8362,10 +8537,17 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8362
8537
  return getFormdataFromSessionStorage(path);
8363
8538
  },
8364
8539
  getSchema: function() {
8540
+ var _a;
8365
8541
  const schema2 = _.cloneDeep(ComponentSchema);
8366
8542
  if (sessionStorage.getItem("copiedConfig")) {
8367
8543
  schema2.properties.RemoveItemButton.disabled = false;
8368
8544
  }
8545
+ const currentConfig = JSON.parse(sessionStorage.getItem("pageFormdata"));
8546
+ const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
8547
+ const lastDotIndex = path.lastIndexOf(".");
8548
+ const currPath = path.slice(lastDotIndex + 1);
8549
+ const currObj = _.get(currentConfig, currPath);
8550
+ schema2.properties.pageName.path.add({ label: currObj.config.main.label || "undefined", path });
8369
8551
  return schema2;
8370
8552
  },
8371
8553
  okHandler: () => okHandler(store2),
@@ -8503,15 +8685,15 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8503
8685
  const pastedElementPath = this.elementPathHandler(pastedElementParentPath, insertElementIndex, elementType);
8504
8686
  const copiedConfig = JSON.parse(sessionStorage.getItem("copiedConfig"));
8505
8687
  const notificationMessages = {
8506
- Event: " The event cannot be integrated into the component section.",
8507
- Component: "The component cannot be integrated into the event section."
8688
+ Events: " The Events cannot be integrated into the component section.",
8689
+ Component: "The component cannot be integrated into the Events section."
8508
8690
  };
8509
8691
  if (copiedConfig.Handler && elementType === "Component") {
8510
8692
  store2.setNotify({
8511
- FailMessage: notificationMessages.Event,
8693
+ FailMessage: notificationMessages.Events,
8512
8694
  Fail: true
8513
8695
  });
8514
- } else if (copiedConfig.name && elementType === "Event") {
8696
+ } else if (copiedConfig.name && elementType === "Events") {
8515
8697
  store2.setNotify({
8516
8698
  FailMessage: notificationMessages.Component,
8517
8699
  Fail: true
@@ -8537,8 +8719,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8537
8719
  return parentPath ? `${parentPath}.events[${rowId}]` : `events[${rowId}]`;
8538
8720
  },
8539
8721
  ElementPathSetter: function(uiSchema, copiedFormData) {
8540
- const formData = copiedFormData || JSON.parse(sessionStorage.getItem("copiedConfig"));
8541
- uiSchema.elements[2].elements[1].config.main.heading = `Copied Path: ${formData.pageName}`;
8722
+ copiedFormData || JSON.parse(sessionStorage.getItem("copiedConfig"));
8542
8723
  }
8543
8724
  };
8544
8725
  };
@@ -8689,18 +8870,18 @@ const EventSchema = {
8689
8870
  eventType: {
8690
8871
  type: "string",
8691
8872
  oneOf: [
8692
- { title: "Click Event", const: "onClick" },
8693
- { title: "Load Event", const: "onLoad" },
8694
- { title: "Change Event", const: "onChange" },
8695
- { title: "Mount Event", const: "onMount" },
8873
+ { title: "Click", const: "onClick" },
8874
+ { title: "Load", const: "onLoad" },
8875
+ { title: "Change", const: "onChange" },
8876
+ { title: "Mount", const: "onMount" },
8696
8877
  { title: "Success", const: "Success" },
8697
- { title: "onStart", const: "onStart" },
8698
- { title: "Cell Renderer", const: "onCellRenderer" },
8699
- { title: "File Upload Event", const: "onUpload" },
8700
- { title: "Back Event", const: "onBack" },
8701
- { title: "Next Event", const: "onNext" },
8702
- { title: "onRowMovement", const: "onRowMovement" },
8703
- { title: "File Download Event", const: "onDownload" },
8878
+ { title: "Start", const: "onStart" },
8879
+ { title: "Cell Render", const: "onCellRenderer" },
8880
+ { title: "Upload", const: "onUpload" },
8881
+ { title: "Back", const: "onBack" },
8882
+ { title: "Next", const: "onNext" },
8883
+ { title: "Row Movement", const: "onRowMovement" },
8884
+ { title: "Download", const: "onDownload" },
8704
8885
  { title: "Fail", const: "Fail" }
8705
8886
  ]
8706
8887
  },
@@ -8708,7 +8889,7 @@ const EventSchema = {
8708
8889
  type: "string",
8709
8890
  oneOf: [
8710
8891
  { title: "Custom", const: "custom" },
8711
- { title: "Api", const: "api" },
8892
+ { title: "API", const: "api" },
8712
8893
  { title: "Inbuilt Function", const: "inBuiltFunction" },
8713
8894
  { title: "Refresh", const: "refresh" }
8714
8895
  ]
@@ -8742,42 +8923,41 @@ const EventSchema = {
8742
8923
  required: ["eventType", "Handler"]
8743
8924
  };
8744
8925
  const EventUiSchema = (theme) => {
8745
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
8926
+ var _a;
8746
8927
  const uiSchema = {
8747
8928
  type: "HorizontalLayout",
8748
- heading: "Component",
8929
+ heading: "Page-Events",
8749
8930
  elements: [
8750
- {
8751
- type: "Control",
8752
- scope: "#/properties/pageName",
8753
- options: {
8754
- widget: "Box"
8755
- },
8756
- config: {
8757
- layout: 12,
8758
- main: {
8759
- heading: " "
8760
- },
8761
- style: {
8762
- marginLeft: theme.spacing(3),
8763
- width: "auto",
8764
- fontSize: "12px",
8765
- color: "gray"
8766
- }
8767
- }
8768
- },
8769
8931
  {
8770
8932
  type: "TabLayout",
8771
8933
  config: {
8772
8934
  main: {
8773
- tabLabels: ["Core", "Response Event"],
8774
- defaultStyle: true,
8935
+ tabLabels: ["Core", "Response Events"],
8775
8936
  id: "event"
8937
+ },
8938
+ style: {
8939
+ TabPanelStyle: {
8940
+ padding: 0
8941
+ }
8942
+ },
8943
+ TabsStyle: {
8944
+ marginBottom: "3px",
8945
+ paddingBottom: "4px",
8946
+ boxShadow: "0px 3px 4px #afafaf80",
8947
+ "& .MuiTabs-indicator": {
8948
+ bottom: "6px"
8949
+ }
8776
8950
  }
8777
8951
  },
8778
8952
  elements: [
8779
8953
  {
8780
- type: "HorizontalLayout",
8954
+ type: "WrapperLayout",
8955
+ config: {
8956
+ main: {
8957
+ label: " ",
8958
+ gap: "8px"
8959
+ }
8960
+ },
8781
8961
  elements: [
8782
8962
  {
8783
8963
  type: "Control",
@@ -8786,9 +8966,9 @@ const EventUiSchema = (theme) => {
8786
8966
  widget: "SelectInputField"
8787
8967
  },
8788
8968
  config: {
8789
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8969
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8790
8970
  main: {
8791
- label: "Event Type",
8971
+ label: "Event's Type",
8792
8972
  type: "text"
8793
8973
  }
8794
8974
  }
@@ -8801,7 +8981,7 @@ const EventUiSchema = (theme) => {
8801
8981
  widget: "EmptyBox"
8802
8982
  },
8803
8983
  config: {
8804
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8984
+ layout: { xs: 0, sm: 0, md: 4, lg: 6 }
8805
8985
  }
8806
8986
  }
8807
8987
  ]
@@ -8827,12 +9007,18 @@ const EventUiSchema = (theme) => {
8827
9007
  main: {
8828
9008
  onClick: "addEvent",
8829
9009
  size: "small",
8830
- icon: "AddIcon",
8831
- iconLabel: "Add New",
9010
+ icon: "TableAddIcon",
9011
+ iconLabel: "Add",
8832
9012
  styleDefault: true
8833
9013
  },
8834
9014
  style: {
8835
- mt: "6px"
9015
+ mt: "6px",
9016
+ color: "inherit",
9017
+ fill: "inherit",
9018
+ "&:hover": {
9019
+ color: "inherit",
9020
+ fill: "inherit"
9021
+ }
8836
9022
  }
8837
9023
  }
8838
9024
  }
@@ -8848,12 +9034,18 @@ const EventUiSchema = (theme) => {
8848
9034
  main: {
8849
9035
  onClick: "copyPasteElement",
8850
9036
  size: "small",
8851
- icon: "PasteIcon",
9037
+ icon: "TablePaste",
8852
9038
  iconLabel: "Paste",
8853
9039
  styleDefault: true
8854
9040
  },
8855
9041
  style: {
8856
- mt: "6px"
9042
+ mt: "6px",
9043
+ color: "inherit",
9044
+ fill: "inherit",
9045
+ "&:hover": {
9046
+ color: "inherit",
9047
+ fill: "inherit"
9048
+ }
8857
9049
  }
8858
9050
  }
8859
9051
  }
@@ -8868,15 +9060,21 @@ const EventUiSchema = (theme) => {
8868
9060
  elements: [
8869
9061
  {
8870
9062
  accessorKey: "eventType",
8871
- header: "Event Type"
9063
+ header: "Event's Type",
9064
+ size: 300,
9065
+ type: "string"
8872
9066
  },
8873
9067
  {
8874
9068
  accessorKey: "Handler",
8875
- header: "Handler"
9069
+ header: "Handler",
9070
+ size: 200,
9071
+ type: "string"
8876
9072
  },
8877
9073
  {
8878
9074
  accessorKey: "Edit_Approve_Records",
8879
- header: "Edit Widget",
9075
+ header: "Edit",
9076
+ type: "action",
9077
+ size: 150,
8880
9078
  widget: {
8881
9079
  type: "Control",
8882
9080
  scope: "#/properties/Edit_Records",
@@ -8885,14 +9083,16 @@ const EventUiSchema = (theme) => {
8885
9083
  },
8886
9084
  config: {
8887
9085
  main: {
8888
- color: "info",
8889
9086
  size: "small",
8890
- icon: "EditIcon",
9087
+ icon: "TableEditIcon",
8891
9088
  tooltipMessage: "Edit This Record",
8892
9089
  onClick: "editEvent"
8893
9090
  },
8894
9091
  style: {
8895
- color: theme.palette.primary.main
9092
+ fill: theme.palette.primary.main,
9093
+ "& :hover": {
9094
+ fill: theme.palette.primary.dark
9095
+ }
8896
9096
  }
8897
9097
  }
8898
9098
  }
@@ -8900,6 +9100,8 @@ const EventUiSchema = (theme) => {
8900
9100
  {
8901
9101
  accessorKey: "Reject_Records",
8902
9102
  header: "Delete",
9103
+ type: "action",
9104
+ size: 150,
8903
9105
  widget: {
8904
9106
  type: "Control",
8905
9107
  scope: "#/properties/RejectButton",
@@ -8908,10 +9110,15 @@ const EventUiSchema = (theme) => {
8908
9110
  },
8909
9111
  config: {
8910
9112
  main: {
8911
- icon: "RejectIcon",
8912
- color: "error",
9113
+ icon: "Bin",
8913
9114
  tooltipMessage: "Reject This Record",
8914
9115
  onClick: "deletePopUpEvent"
9116
+ },
9117
+ style: {
9118
+ fill: theme.palette.primary.main,
9119
+ "& :hover": {
9120
+ fill: theme.palette.primary.dark
9121
+ }
8915
9122
  }
8916
9123
  }
8917
9124
  }
@@ -8919,7 +9126,8 @@ const EventUiSchema = (theme) => {
8919
9126
  {
8920
9127
  header: "Copy",
8921
9128
  field: "Copy_Event",
8922
- flex: 1,
9129
+ type: "action",
9130
+ size: 150,
8923
9131
  widget: {
8924
9132
  type: "Control",
8925
9133
  scope: "#/properties/Copy_Event",
@@ -8940,103 +9148,59 @@ const EventUiSchema = (theme) => {
8940
9148
  ]
8941
9149
  },
8942
9150
  {
8943
- type: "HorizontalLayout",
9151
+ type: "WrapperLayout",
8944
9152
  config: {
8945
- layout: { xs: 12, sm: 6 }
9153
+ main: {
9154
+ gap: "8px"
9155
+ }
8946
9156
  },
8947
9157
  elements: [
8948
9158
  {
8949
9159
  type: "Control",
8950
- scope: "#/properties/RemoveItemButton",
9160
+ scope: "#/properties/btn",
8951
9161
  options: {
8952
- widget: "IconButton"
9162
+ widget: "Button"
8953
9163
  },
8954
9164
  config: {
8955
- layout: { xs: 1, sm: 1 },
9165
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
8956
9166
  main: {
8957
- onClick: "RemoveItemButton",
8958
- size: "large",
8959
- icon: "RejectIcon",
8960
- styleDefault: true
8961
- },
8962
- style: {
8963
- marginLeft: "-10px"
9167
+ name: "Ok",
9168
+ variant: "contained",
9169
+ type: "text",
9170
+ onClick: "okHandler",
9171
+ size: "medium"
8964
9172
  }
8965
9173
  }
8966
9174
  },
8967
9175
  {
8968
9176
  type: "Control",
8969
- scope: "#/properties/copiedElementDetails",
9177
+ scope: "#/properties/btnSubmit",
8970
9178
  options: {
8971
- widget: "Box"
9179
+ widget: "Button"
8972
9180
  },
8973
9181
  config: {
8974
- layout: { xs: 6, sm: 6 },
9182
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
8975
9183
  main: {
8976
- heading: "No element copied"
8977
- },
8978
- style: {
8979
- color: "#535557",
8980
- marginLeft: "-10px",
8981
- fontSize: "12px",
8982
- marginTop: "4px"
9184
+ name: "Save & Exit",
9185
+ variant: "contained",
9186
+ type: "text",
9187
+ onClick: "saveHandler",
9188
+ size: "medium"
8983
9189
  }
8984
9190
  }
8985
9191
  },
8986
9192
  {
8987
9193
  type: "Control",
8988
9194
  scope: "#/properties/EmptyBox",
9195
+ config: {
9196
+ layout: { xs: 4, sm: 7, md: 8, lg: 9 }
9197
+ },
8989
9198
  options: {
8990
9199
  widget: "EmptyBox"
8991
- },
8992
- config: {
8993
- layout: { xs: 1, sm: 5 }
8994
9200
  }
8995
9201
  }
8996
9202
  ]
8997
9203
  },
8998
- {
8999
- type: "Control",
9000
- scope: "#/properties/btn",
9001
- options: {
9002
- widget: "Button"
9003
- },
9004
- config: {
9005
- layout: { xs: 4, sm: 2 },
9006
- main: {
9007
- name: "Ok",
9008
- startIcon: "ApproveIcon",
9009
- variant: "contained",
9010
- type: "text",
9011
- onClick: "okHandler",
9012
- size: "medium"
9013
- },
9014
- style: {
9015
- float: "right"
9016
- }
9017
- }
9018
- },
9019
- {
9020
- type: "Control",
9021
- scope: "#/properties/btnSubmit",
9022
- options: {
9023
- widget: "Button"
9024
- },
9025
- config: {
9026
- layout: { xs: 4, sm: 2 },
9027
- main: {
9028
- name: "Save & Exit",
9029
- startIcon: "ApproveIcon",
9030
- variant: "contained",
9031
- type: "text",
9032
- onClick: "saveHandler",
9033
- size: "medium"
9034
- },
9035
- style: {
9036
- float: "right"
9037
- }
9038
- }
9039
- },
9040
9204
  {
9041
9205
  type: "Control",
9042
9206
  scope: "#/properties/popUpEvent",
@@ -9162,110 +9326,75 @@ const EventUiSchema = (theme) => {
9162
9326
  },
9163
9327
  {
9164
9328
  type: "Control",
9165
- scope: "#/properties/notify",
9329
+ scope: "#/properties/pageName",
9166
9330
  options: {
9167
- widget: "Notify"
9331
+ widget: "Box"
9168
9332
  },
9169
- layout: 6
9170
- },
9171
- {
9172
- type: "HorizontalLayout",
9173
9333
  config: {
9334
+ layout: 12,
9174
9335
  main: {
9175
- direction: "row"
9336
+ heading: ""
9176
9337
  },
9177
9338
  style: {
9178
- flexDirection: "row",
9179
- position: "absolute",
9180
- bottom: 0,
9181
- height: "fit-content",
9182
- overflow: "hidden",
9183
- zIndex: 1e3,
9184
- width: "inherit"
9339
+ paddingLeft: theme.spacing(3),
9340
+ width: "100%",
9341
+ fontSize: "10px",
9342
+ color: theme.palette.grey[600],
9343
+ position: "fixed",
9344
+ bottom: "24px",
9345
+ backgroundColor: theme.palette.background.default,
9346
+ borderBottom: `1px solid ${theme.palette.common.black}29`,
9347
+ borderTop: `1px solid ${theme.palette.common.black}29`
9185
9348
  }
9349
+ }
9350
+ },
9351
+ {
9352
+ type: "Control",
9353
+ scope: "#/properties/notify",
9354
+ options: {
9355
+ widget: "Notify"
9186
9356
  },
9187
- elements: [
9188
- {
9189
- type: "Control",
9190
- scope: "#/properties/FooterText",
9191
- options: {
9192
- widget: "Box"
9193
- },
9194
- config: {
9195
- main: {
9196
- heading: "Copywriter@ACT21.IO"
9197
- },
9198
- style: {
9199
- color: ((_b = (_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text) == null ? void 0 : _b.disabled) || "#AFAFAF",
9200
- fontSize: "11px",
9201
- textAlign: "center",
9202
- lineHeight: 2,
9203
- width: "fit-content",
9204
- left: "50%",
9205
- position: "relative",
9206
- margin: 0,
9207
- flexGrow: 1,
9208
- height: 0,
9209
- transform: "translate(-50%, 0%)"
9210
- }
9211
- }
9212
- },
9213
- {
9214
- type: "Control",
9215
- scope: "#/properties/FooterBackIcon",
9216
- options: {
9217
- widget: "Box"
9218
- },
9219
- config: {
9220
- main: {
9221
- iconName: "PrevIcon",
9222
- onClick: "backHandler",
9223
- width: "fit-content"
9224
- },
9225
- style: {
9226
- fill: (_d = (_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.primary) == null ? void 0 : _d.main,
9227
- width: 20,
9228
- height: 0,
9229
- top: 0,
9230
- right: { xs: "12px", sm: "84px" },
9231
- position: "absolute",
9232
- fontSize: "12px",
9233
- cursor: "pointer",
9234
- ":hover": {
9235
- fill: (_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.primary) == null ? void 0 : _f.dark
9236
- },
9237
- marginRight: "20px"
9238
- }
9239
- }
9357
+ layout: 6
9358
+ },
9359
+ {
9360
+ type: "HorizontalLayout",
9361
+ config: {
9362
+ main: {
9363
+ direction: "row"
9240
9364
  },
9365
+ style: {
9366
+ flexDirection: "row",
9367
+ position: "absolute",
9368
+ bottom: 10,
9369
+ height: "fit-content",
9370
+ overflow: "hidden",
9371
+ zIndex: 1e3,
9372
+ width: "inherit"
9373
+ }
9374
+ },
9375
+ elements: [
9241
9376
  {
9242
9377
  type: "Control",
9243
- scope: "#/properties/FooterBackHandlerText",
9378
+ scope: "#/properties/FooterText",
9244
9379
  options: {
9245
9380
  widget: "Box"
9246
9381
  },
9247
9382
  config: {
9248
9383
  main: {
9249
- heading: "Previous Page",
9250
- onClick: "backHandler"
9384
+ heading: "Copywriter@ACT21.IO"
9251
9385
  },
9252
9386
  style: {
9253
- display: { xs: "none", sm: "flex" },
9254
- textAlign: "left",
9255
- lineHeight: 1,
9256
- height: 0,
9387
+ color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
9388
+ fontSize: "11px",
9389
+ textAlign: "center",
9390
+ lineHeight: 0,
9257
9391
  width: "fit-content",
9258
- color: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.main,
9259
- fontSize: "12px",
9260
- cursor: "pointer",
9261
- marginLeft: "2px",
9262
- top: 3,
9263
- right: "12px",
9264
- position: "absolute",
9265
- ":hover": {
9266
- color: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.dark
9267
- },
9268
- marginRight: "4px"
9392
+ left: "50%",
9393
+ position: "relative",
9394
+ margin: "revert",
9395
+ flexGrow: 1,
9396
+ height: 0,
9397
+ transform: "translate(-50%, 0%)"
9269
9398
  }
9270
9399
  }
9271
9400
  }
@@ -9285,7 +9414,7 @@ const APISection = {
9285
9414
  widget: "SelectInputField"
9286
9415
  },
9287
9416
  config: {
9288
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9417
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
9289
9418
  main: {
9290
9419
  label: "Method",
9291
9420
  type: "text"
@@ -9299,7 +9428,7 @@ const APISection = {
9299
9428
  widget: "InputField"
9300
9429
  },
9301
9430
  config: {
9302
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9431
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
9303
9432
  main: {
9304
9433
  label: "Path",
9305
9434
  type: "text",
@@ -9315,116 +9444,132 @@ const APISection = {
9315
9444
  widget: "EmptyBox"
9316
9445
  },
9317
9446
  config: {
9318
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9447
+ layout: { xs: 0, sm: 0, md: 4, lg: 6 }
9319
9448
  }
9320
9449
  },
9321
9450
  {
9322
9451
  type: "Control",
9323
- scope: "#/properties/emptyBox",
9452
+ scope: "#/properties/headers",
9324
9453
  options: {
9325
- widget: "EmptyBox"
9454
+ widget: "Array"
9326
9455
  },
9327
9456
  config: {
9328
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9329
- }
9330
- },
9331
- {
9332
- type: "Control",
9333
- scope: "#/properties/headers",
9334
- layout: 11.5,
9335
- options: {
9336
- "elementLabelProp": "key",
9337
- detail: {
9338
- type: "HorizontalLayout",
9339
- elements: [
9340
- {
9341
- type: "Control",
9342
- scope: "#/properties/key",
9343
- options: {
9344
- widget: "InputField"
9345
- },
9346
- config: {
9347
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9348
- main: {
9349
- label: "Key"
9350
- }
9351
- }
9352
- },
9353
- {
9354
- type: "Control",
9355
- scope: "#/properties/value",
9356
- options: {
9357
- widget: "InputField"
9358
- },
9359
- config: {
9360
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9361
- main: {
9362
- label: "Value"
9363
- }
9364
- }
9365
- },
9366
- {
9367
- type: "Control",
9368
- scope: "#/properties/emptyBox",
9369
- options: {
9370
- widget: "EmptyBox"
9371
- },
9372
- config: {
9373
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9374
- }
9457
+ layout: 12,
9458
+ main: {
9459
+ label: "Headers",
9460
+ childElementLabel: "Headers"
9461
+ },
9462
+ style: {
9463
+ marginLeft: "-24px",
9464
+ marginBottom: "24px !important",
9465
+ labelStyle: {
9466
+ marginLeft: "24px"
9467
+ },
9468
+ detailsStyle: {
9469
+ marginLeft: "24px"
9470
+ }
9471
+ }
9472
+ },
9473
+ elements: [
9474
+ {
9475
+ type: "Control",
9476
+ scope: "#/properties/key",
9477
+ options: {
9478
+ widget: "InputField"
9479
+ },
9480
+ config: {
9481
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9482
+ main: {
9483
+ label: "Key"
9375
9484
  }
9376
- ]
9485
+ }
9486
+ },
9487
+ {
9488
+ type: "Control",
9489
+ scope: "#/properties/value",
9490
+ options: {
9491
+ widget: "InputField"
9492
+ },
9493
+ config: {
9494
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9495
+ main: {
9496
+ label: "Value"
9497
+ }
9498
+ }
9499
+ },
9500
+ {
9501
+ type: "Control",
9502
+ scope: "#/properties/emptyBox",
9503
+ options: {
9504
+ widget: "EmptyBox"
9505
+ },
9506
+ config: {
9507
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9508
+ }
9377
9509
  }
9378
- }
9510
+ ]
9379
9511
  },
9380
9512
  {
9381
9513
  type: "Control",
9382
9514
  scope: "#/properties/body",
9383
- layout: 11.5,
9384
9515
  options: {
9385
- "elementLabelProp": "key",
9386
- detail: {
9387
- type: "HorizontalLayout",
9388
- elements: [
9389
- {
9390
- type: "Control",
9391
- scope: "#/properties/key",
9392
- options: {
9393
- widget: "InputField"
9394
- },
9395
- config: {
9396
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9397
- main: {
9398
- label: "Key"
9399
- }
9400
- }
9401
- },
9402
- {
9403
- type: "Control",
9404
- scope: "#/properties/value",
9405
- options: {
9406
- widget: "InputField"
9407
- },
9408
- config: {
9409
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9410
- main: {
9411
- label: "Value"
9412
- }
9413
- }
9414
- },
9415
- {
9416
- type: "Control",
9417
- scope: "#/properties/emptyBox",
9418
- options: {
9419
- widget: "EmptyBox"
9420
- },
9421
- config: {
9422
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9423
- }
9516
+ widget: "Array"
9517
+ },
9518
+ config: {
9519
+ layout: 12,
9520
+ main: {
9521
+ label: "Body",
9522
+ childElementLabel: "Body"
9523
+ },
9524
+ style: {
9525
+ marginLeft: "-24px",
9526
+ marginBottom: "24px !important",
9527
+ labelStyle: {
9528
+ marginLeft: "24px"
9529
+ },
9530
+ detailsStyle: {
9531
+ marginLeft: "24px"
9532
+ }
9533
+ }
9534
+ },
9535
+ elements: [
9536
+ {
9537
+ type: "Control",
9538
+ scope: "#/properties/key",
9539
+ options: {
9540
+ widget: "InputField"
9541
+ },
9542
+ config: {
9543
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9544
+ main: {
9545
+ label: "Key"
9424
9546
  }
9425
- ]
9547
+ }
9548
+ },
9549
+ {
9550
+ type: "Control",
9551
+ scope: "#/properties/value",
9552
+ options: {
9553
+ widget: "InputField"
9554
+ },
9555
+ config: {
9556
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9557
+ main: {
9558
+ label: "Value"
9559
+ }
9560
+ }
9561
+ },
9562
+ {
9563
+ type: "Control",
9564
+ scope: "#/properties/emptyBox",
9565
+ options: {
9566
+ widget: "EmptyBox"
9567
+ },
9568
+ config: {
9569
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9570
+ }
9426
9571
  }
9427
- }
9572
+ ]
9428
9573
  },
9429
9574
  getTextArea("apiBody", "Transformer", true, 12)
9430
9575
  ]
@@ -9435,64 +9580,55 @@ const refreshSectionUiSchema = {
9435
9580
  {
9436
9581
  type: "Control",
9437
9582
  scope: "#/properties/refreshElements",
9438
- layout: 11.5,
9439
9583
  options: {
9440
- detail: {
9441
- type: "HorizontalLayout",
9442
- elements: [
9443
- {
9444
- type: "Control",
9445
- scope: "#/properties/value",
9446
- options: {
9447
- widget: "InputField"
9448
- },
9449
- config: {
9450
- layout: { xs: 12, sm: 6, md: 4, lg: 4 },
9451
- main: {
9452
- label: "Value"
9453
- }
9454
- }
9455
- },
9456
- {
9457
- type: "Control",
9458
- scope: "#/properties/emptyBox",
9459
- options: {
9460
- widget: "EmptyBox"
9461
- },
9462
- config: {
9463
- layout: { xs: 0, sm: 6, md: 4, lg: 4 },
9464
- main: {}
9465
- }
9466
- },
9467
- {
9468
- type: "Control",
9469
- scope: "#/properties/emptyBox",
9470
- options: {
9471
- widget: "EmptyBox"
9472
- },
9473
- config: {
9474
- layout: { xs: 0, sm: 0, md: 4, lg: 4 },
9475
- main: {}
9476
- }
9584
+ widget: "Array"
9585
+ },
9586
+ config: {
9587
+ layout: 12,
9588
+ main: {
9589
+ label: "Refresh Elements",
9590
+ childElementLabel: "Refresh Elements"
9591
+ },
9592
+ style: {
9593
+ marginLeft: "-24px",
9594
+ marginBottom: "24px !important",
9595
+ labelStyle: {
9596
+ marginLeft: "24px"
9597
+ },
9598
+ detailsStyle: {
9599
+ marginLeft: "24px"
9600
+ }
9601
+ }
9602
+ },
9603
+ elements: [
9604
+ {
9605
+ type: "Control",
9606
+ scope: "#/properties/value",
9607
+ options: {
9608
+ widget: "InputField"
9609
+ },
9610
+ config: {
9611
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9612
+ main: {
9613
+ label: "Value"
9477
9614
  }
9478
- ]
9615
+ }
9616
+ },
9617
+ {
9618
+ type: "Control",
9619
+ scope: "#/properties/emptyBox",
9620
+ options: {
9621
+ widget: "EmptyBox"
9622
+ },
9623
+ config: {
9624
+ layout: { xs: 6, sm: 6, md: 8, lg: 8 },
9625
+ main: {}
9626
+ }
9479
9627
  }
9480
- }
9628
+ ]
9481
9629
  }
9482
9630
  ]
9483
9631
  };
9484
- var emptyBox = {
9485
- type: "Control",
9486
- scope: "#/properties/emptyBox",
9487
- options: {
9488
- widget: "EmptyBox"
9489
- },
9490
- config: {
9491
- layout: { xs: 0, sm: 4, md: 4, lg: 4 },
9492
- main: {},
9493
- style: {}
9494
- }
9495
- };
9496
9632
  var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9497
9633
  return {
9498
9634
  setPage: async function() {
@@ -9507,44 +9643,44 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9507
9643
  const schema2 = _.cloneDeep(EventSchema);
9508
9644
  if (handlerType) {
9509
9645
  if (handlerType === "custom") {
9510
- uiSchema.elements[1].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
9511
- uiSchema.elements[1].elements[0].elements[3] = {
9646
+ uiSchema.elements[0].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
9647
+ uiSchema.elements[0].elements[0].elements[3] = {
9512
9648
  type: "Control",
9513
9649
  scope: "#/properties/emptyBox",
9514
9650
  options: {
9515
9651
  widget: "EmptyBox"
9516
9652
  },
9517
9653
  config: {
9518
- layout: { xs: 0, sm: 6, md: 0, lg: 0 },
9654
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
9519
9655
  main: {},
9520
9656
  style: {}
9521
9657
  }
9522
9658
  };
9523
- uiSchema.elements[1].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
9659
+ uiSchema.elements[0].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
9524
9660
  schema2.required = ["eventType", "Handler", "eventCode"];
9525
9661
  } else if (handlerType === "api") {
9526
- uiSchema.elements[1].elements[0].elements[2] = emptyBox;
9527
- uiSchema.elements[1].elements[0].elements[3] = APISection;
9662
+ uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", { xs: 0, sm: 0, md: 4, lg: 6 });
9663
+ uiSchema.elements[0].elements[0].elements[3] = APISection;
9528
9664
  schema2.required = ["eventType", "Handler", "method", "path"];
9529
9665
  } else if (handlerType === "inBuiltFunction") {
9530
- uiSchema.elements[1].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
9531
- uiSchema.elements[1].elements[0].elements[3] = {
9666
+ uiSchema.elements[0].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
9667
+ uiSchema.elements[0].elements[0].elements[3] = {
9532
9668
  type: "Control",
9533
9669
  scope: "#/properties/emptyBox",
9534
9670
  options: {
9535
9671
  widget: "EmptyBox"
9536
9672
  },
9537
9673
  config: {
9538
- layout: { xs: 6, sm: 6, md: 0, lg: 0 },
9674
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
9539
9675
  main: {},
9540
9676
  style: {}
9541
9677
  }
9542
9678
  };
9543
- uiSchema.elements[1].elements[0].elements[4] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
9679
+ uiSchema.elements[0].elements[0].elements[4] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
9544
9680
  schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
9545
9681
  } else if (handlerType === "refresh") {
9546
- uiSchema.elements[1].elements[0].elements[2] = emptyBox;
9547
- uiSchema.elements[1].elements[0].elements[3] = refreshSectionUiSchema;
9682
+ uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", { xs: 0, sm: 0, md: 4, lg: 6 });
9683
+ uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
9548
9684
  schema2.properties.refreshElements.required = ["value"];
9549
9685
  schema2.properties.refreshElements.items.required = ["value"];
9550
9686
  schema2.required = ["eventType", "Handler", "refreshElements"];
@@ -11600,6 +11736,18 @@ const buildRadio = (config2, componentScope2) => {
11600
11736
  }
11601
11737
  return Radio;
11602
11738
  };
11739
+ var emptyBox = {
11740
+ type: "Control",
11741
+ scope: "#/properties/emptyBox",
11742
+ options: {
11743
+ widget: "EmptyBox"
11744
+ },
11745
+ config: {
11746
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
11747
+ main: {},
11748
+ style: {}
11749
+ }
11750
+ };
11603
11751
  const buildEmptyBox = (config2, componentScope2) => {
11604
11752
  const EmptyBox = _.cloneDeep(emptyBox);
11605
11753
  if (config2.layout) {
@@ -12277,19 +12425,12 @@ const buildUiSchema = (config2, store2) => {
12277
12425
  });
12278
12426
  } else if (config2.type == "Table") {
12279
12427
  const sizeMap = {};
12280
- const filterMap = {};
12281
12428
  if (config2.sizeHolder) {
12282
12429
  config2.sizeHolder.map((e, i) => {
12283
12430
  sizeMap[e.keyName] = e.value;
12284
12431
  });
12285
12432
  }
12286
- if (config2.enableColumnFilter) {
12287
- config2.enableColumnFilter.map((e) => {
12288
- filterMap[e.keyName] = true;
12289
- });
12290
- }
12291
12433
  elements.elements = config2.elements.map((cellElem, elemInd) => {
12292
- var _a, _b;
12293
12434
  if (cellElem.type) {
12294
12435
  return {
12295
12436
  accessorKey: cellElem.name,
@@ -12298,8 +12439,8 @@ const buildUiSchema = (config2, store2) => {
12298
12439
  type: cellElem.columnFormat,
12299
12440
  widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store2) : void 0,
12300
12441
  elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store2)) : [],
12301
- enableColumnFilter: Object.keys(filterMap).length === 0 ? true : (_a = filterMap[cellElem.name]) != null ? _a : false,
12302
- columnFilterModeOptions: config2.filteringOptions
12442
+ columnFilterModeOptions: cellElem.filteringOptions,
12443
+ enableColumnFilter: cellElem.enableFilter === "Yes" ? true : false
12303
12444
  };
12304
12445
  } else {
12305
12446
  return {
@@ -12307,8 +12448,8 @@ const buildUiSchema = (config2, store2) => {
12307
12448
  type: cellElem.columnFormat,
12308
12449
  header: cellElem.label || cellElem.name,
12309
12450
  size: sizeMap[cellElem.name] || 180,
12310
- enableColumnFilter: Object.keys(filterMap).length === 0 ? true : (_b = filterMap[cellElem.name]) != null ? _b : false,
12311
- columnFilterModeOptions: config2.filteringOptions
12451
+ columnFilterModeOptions: cellElem.filteringOptions,
12452
+ enableColumnFilter: cellElem.enableFilter === "Yes" ? true : false
12312
12453
  };
12313
12454
  }
12314
12455
  });