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

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 +974 -832
  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 +110 -32
  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
@@ -8689,18 +8871,18 @@ const EventSchema = {
8689
8871
  eventType: {
8690
8872
  type: "string",
8691
8873
  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" },
8874
+ { title: "Click", const: "onClick" },
8875
+ { title: "Load", const: "onLoad" },
8876
+ { title: "Change", const: "onChange" },
8877
+ { title: "Mount", const: "onMount" },
8696
8878
  { 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" },
8879
+ { title: "Start", const: "onStart" },
8880
+ { title: "Cell Render", const: "onCellRenderer" },
8881
+ { title: "Upload", const: "onUpload" },
8882
+ { title: "Back", const: "onBack" },
8883
+ { title: "Next", const: "onNext" },
8884
+ { title: "Row Movement", const: "onRowMovement" },
8885
+ { title: "Download", const: "onDownload" },
8704
8886
  { title: "Fail", const: "Fail" }
8705
8887
  ]
8706
8888
  },
@@ -8708,7 +8890,7 @@ const EventSchema = {
8708
8890
  type: "string",
8709
8891
  oneOf: [
8710
8892
  { title: "Custom", const: "custom" },
8711
- { title: "Api", const: "api" },
8893
+ { title: "API", const: "api" },
8712
8894
  { title: "Inbuilt Function", const: "inBuiltFunction" },
8713
8895
  { title: "Refresh", const: "refresh" }
8714
8896
  ]
@@ -8742,42 +8924,41 @@ const EventSchema = {
8742
8924
  required: ["eventType", "Handler"]
8743
8925
  };
8744
8926
  const EventUiSchema = (theme) => {
8745
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
8927
+ var _a;
8746
8928
  const uiSchema = {
8747
8929
  type: "HorizontalLayout",
8748
- heading: "Component",
8930
+ heading: "Page-Events",
8749
8931
  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
8932
  {
8770
8933
  type: "TabLayout",
8771
8934
  config: {
8772
8935
  main: {
8773
- tabLabels: ["Core", "Response Event"],
8774
- defaultStyle: true,
8936
+ tabLabels: ["Core", "Response Events"],
8775
8937
  id: "event"
8938
+ },
8939
+ style: {
8940
+ TabPanelStyle: {
8941
+ padding: 0
8942
+ }
8943
+ },
8944
+ TabsStyle: {
8945
+ marginBottom: "3px",
8946
+ paddingBottom: "4px",
8947
+ boxShadow: "0px 3px 4px #afafaf80",
8948
+ "& .MuiTabs-indicator": {
8949
+ bottom: "6px"
8950
+ }
8776
8951
  }
8777
8952
  },
8778
8953
  elements: [
8779
8954
  {
8780
- type: "HorizontalLayout",
8955
+ type: "WrapperLayout",
8956
+ config: {
8957
+ main: {
8958
+ label: " ",
8959
+ gap: "8px"
8960
+ }
8961
+ },
8781
8962
  elements: [
8782
8963
  {
8783
8964
  type: "Control",
@@ -8786,9 +8967,9 @@ const EventUiSchema = (theme) => {
8786
8967
  widget: "SelectInputField"
8787
8968
  },
8788
8969
  config: {
8789
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8970
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8790
8971
  main: {
8791
- label: "Event Type",
8972
+ label: "Event's Type",
8792
8973
  type: "text"
8793
8974
  }
8794
8975
  }
@@ -8801,7 +8982,7 @@ const EventUiSchema = (theme) => {
8801
8982
  widget: "EmptyBox"
8802
8983
  },
8803
8984
  config: {
8804
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8985
+ layout: { xs: 0, sm: 0, md: 4, lg: 6 }
8805
8986
  }
8806
8987
  }
8807
8988
  ]
@@ -8827,12 +9008,18 @@ const EventUiSchema = (theme) => {
8827
9008
  main: {
8828
9009
  onClick: "addEvent",
8829
9010
  size: "small",
8830
- icon: "AddIcon",
8831
- iconLabel: "Add New",
9011
+ icon: "TableAddIcon",
9012
+ iconLabel: "Add",
8832
9013
  styleDefault: true
8833
9014
  },
8834
9015
  style: {
8835
- mt: "6px"
9016
+ mt: "6px",
9017
+ color: "inherit",
9018
+ fill: "inherit",
9019
+ "&:hover": {
9020
+ color: "inherit",
9021
+ fill: "inherit"
9022
+ }
8836
9023
  }
8837
9024
  }
8838
9025
  }
@@ -8848,12 +9035,18 @@ const EventUiSchema = (theme) => {
8848
9035
  main: {
8849
9036
  onClick: "copyPasteElement",
8850
9037
  size: "small",
8851
- icon: "PasteIcon",
9038
+ icon: "TablePaste",
8852
9039
  iconLabel: "Paste",
8853
9040
  styleDefault: true
8854
9041
  },
8855
9042
  style: {
8856
- mt: "6px"
9043
+ mt: "6px",
9044
+ color: "inherit",
9045
+ fill: "inherit",
9046
+ "&:hover": {
9047
+ color: "inherit",
9048
+ fill: "inherit"
9049
+ }
8857
9050
  }
8858
9051
  }
8859
9052
  }
@@ -8868,15 +9061,21 @@ const EventUiSchema = (theme) => {
8868
9061
  elements: [
8869
9062
  {
8870
9063
  accessorKey: "eventType",
8871
- header: "Event Type"
9064
+ header: "Event's Type",
9065
+ size: 300,
9066
+ type: "string"
8872
9067
  },
8873
9068
  {
8874
9069
  accessorKey: "Handler",
8875
- header: "Handler"
9070
+ header: "Handler",
9071
+ size: 200,
9072
+ type: "string"
8876
9073
  },
8877
9074
  {
8878
9075
  accessorKey: "Edit_Approve_Records",
8879
- header: "Edit Widget",
9076
+ header: "Edit",
9077
+ type: "action",
9078
+ size: 150,
8880
9079
  widget: {
8881
9080
  type: "Control",
8882
9081
  scope: "#/properties/Edit_Records",
@@ -8885,14 +9084,16 @@ const EventUiSchema = (theme) => {
8885
9084
  },
8886
9085
  config: {
8887
9086
  main: {
8888
- color: "info",
8889
9087
  size: "small",
8890
- icon: "EditIcon",
9088
+ icon: "TableEditIcon",
8891
9089
  tooltipMessage: "Edit This Record",
8892
9090
  onClick: "editEvent"
8893
9091
  },
8894
9092
  style: {
8895
- color: theme.palette.primary.main
9093
+ fill: theme.palette.primary.main,
9094
+ "& :hover": {
9095
+ fill: theme.palette.primary.dark
9096
+ }
8896
9097
  }
8897
9098
  }
8898
9099
  }
@@ -8900,6 +9101,8 @@ const EventUiSchema = (theme) => {
8900
9101
  {
8901
9102
  accessorKey: "Reject_Records",
8902
9103
  header: "Delete",
9104
+ type: "action",
9105
+ size: 150,
8903
9106
  widget: {
8904
9107
  type: "Control",
8905
9108
  scope: "#/properties/RejectButton",
@@ -8908,10 +9111,15 @@ const EventUiSchema = (theme) => {
8908
9111
  },
8909
9112
  config: {
8910
9113
  main: {
8911
- icon: "RejectIcon",
8912
- color: "error",
9114
+ icon: "Bin",
8913
9115
  tooltipMessage: "Reject This Record",
8914
9116
  onClick: "deletePopUpEvent"
9117
+ },
9118
+ style: {
9119
+ fill: theme.palette.primary.main,
9120
+ "& :hover": {
9121
+ fill: theme.palette.primary.dark
9122
+ }
8915
9123
  }
8916
9124
  }
8917
9125
  }
@@ -8919,7 +9127,8 @@ const EventUiSchema = (theme) => {
8919
9127
  {
8920
9128
  header: "Copy",
8921
9129
  field: "Copy_Event",
8922
- flex: 1,
9130
+ type: "action",
9131
+ size: 150,
8923
9132
  widget: {
8924
9133
  type: "Control",
8925
9134
  scope: "#/properties/Copy_Event",
@@ -8940,103 +9149,59 @@ const EventUiSchema = (theme) => {
8940
9149
  ]
8941
9150
  },
8942
9151
  {
8943
- type: "HorizontalLayout",
9152
+ type: "WrapperLayout",
8944
9153
  config: {
8945
- layout: { xs: 12, sm: 6 }
9154
+ main: {
9155
+ gap: "8px"
9156
+ }
8946
9157
  },
8947
9158
  elements: [
8948
9159
  {
8949
9160
  type: "Control",
8950
- scope: "#/properties/RemoveItemButton",
9161
+ scope: "#/properties/btn",
8951
9162
  options: {
8952
- widget: "IconButton"
9163
+ widget: "Button"
8953
9164
  },
8954
9165
  config: {
8955
- layout: { xs: 1, sm: 1 },
9166
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
8956
9167
  main: {
8957
- onClick: "RemoveItemButton",
8958
- size: "large",
8959
- icon: "RejectIcon",
8960
- styleDefault: true
8961
- },
8962
- style: {
8963
- marginLeft: "-10px"
9168
+ name: "Ok",
9169
+ variant: "contained",
9170
+ type: "text",
9171
+ onClick: "okHandler",
9172
+ size: "medium"
8964
9173
  }
8965
9174
  }
8966
9175
  },
8967
9176
  {
8968
9177
  type: "Control",
8969
- scope: "#/properties/copiedElementDetails",
9178
+ scope: "#/properties/btnSubmit",
8970
9179
  options: {
8971
- widget: "Box"
9180
+ widget: "Button"
8972
9181
  },
8973
9182
  config: {
8974
- layout: { xs: 6, sm: 6 },
9183
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
8975
9184
  main: {
8976
- heading: "No element copied"
8977
- },
8978
- style: {
8979
- color: "#535557",
8980
- marginLeft: "-10px",
8981
- fontSize: "12px",
8982
- marginTop: "4px"
9185
+ name: "Save & Exit",
9186
+ variant: "contained",
9187
+ type: "text",
9188
+ onClick: "saveHandler",
9189
+ size: "medium"
8983
9190
  }
8984
9191
  }
8985
9192
  },
8986
9193
  {
8987
9194
  type: "Control",
8988
9195
  scope: "#/properties/EmptyBox",
9196
+ config: {
9197
+ layout: { xs: 4, sm: 7, md: 8, lg: 9 }
9198
+ },
8989
9199
  options: {
8990
9200
  widget: "EmptyBox"
8991
- },
8992
- config: {
8993
- layout: { xs: 1, sm: 5 }
8994
9201
  }
8995
9202
  }
8996
9203
  ]
8997
9204
  },
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
9205
  {
9041
9206
  type: "Control",
9042
9207
  scope: "#/properties/popUpEvent",
@@ -9162,110 +9327,75 @@ const EventUiSchema = (theme) => {
9162
9327
  },
9163
9328
  {
9164
9329
  type: "Control",
9165
- scope: "#/properties/notify",
9330
+ scope: "#/properties/pageName",
9166
9331
  options: {
9167
- widget: "Notify"
9332
+ widget: "Box"
9168
9333
  },
9169
- layout: 6
9170
- },
9171
- {
9172
- type: "HorizontalLayout",
9173
9334
  config: {
9335
+ layout: 12,
9174
9336
  main: {
9175
- direction: "row"
9337
+ heading: ""
9176
9338
  },
9177
9339
  style: {
9178
- flexDirection: "row",
9179
- position: "absolute",
9180
- bottom: 0,
9181
- height: "fit-content",
9182
- overflow: "hidden",
9183
- zIndex: 1e3,
9184
- width: "inherit"
9340
+ paddingLeft: theme.spacing(3),
9341
+ width: "100%",
9342
+ fontSize: "10px",
9343
+ color: theme.palette.grey[600],
9344
+ position: "fixed",
9345
+ bottom: "24px",
9346
+ backgroundColor: theme.palette.background.default,
9347
+ borderBottom: `1px solid ${theme.palette.common.black}29`,
9348
+ borderTop: `1px solid ${theme.palette.common.black}29`
9185
9349
  }
9350
+ }
9351
+ },
9352
+ {
9353
+ type: "Control",
9354
+ scope: "#/properties/notify",
9355
+ options: {
9356
+ widget: "Notify"
9186
9357
  },
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
- }
9358
+ layout: 6
9359
+ },
9360
+ {
9361
+ type: "HorizontalLayout",
9362
+ config: {
9363
+ main: {
9364
+ direction: "row"
9240
9365
  },
9366
+ style: {
9367
+ flexDirection: "row",
9368
+ position: "absolute",
9369
+ bottom: 10,
9370
+ height: "fit-content",
9371
+ overflow: "hidden",
9372
+ zIndex: 1e3,
9373
+ width: "inherit"
9374
+ }
9375
+ },
9376
+ elements: [
9241
9377
  {
9242
9378
  type: "Control",
9243
- scope: "#/properties/FooterBackHandlerText",
9379
+ scope: "#/properties/FooterText",
9244
9380
  options: {
9245
9381
  widget: "Box"
9246
9382
  },
9247
9383
  config: {
9248
9384
  main: {
9249
- heading: "Previous Page",
9250
- onClick: "backHandler"
9385
+ heading: "Copywriter@ACT21.IO"
9251
9386
  },
9252
9387
  style: {
9253
- display: { xs: "none", sm: "flex" },
9254
- textAlign: "left",
9255
- lineHeight: 1,
9256
- height: 0,
9388
+ color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
9389
+ fontSize: "11px",
9390
+ textAlign: "center",
9391
+ lineHeight: 0,
9257
9392
  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"
9393
+ left: "50%",
9394
+ position: "relative",
9395
+ margin: "revert",
9396
+ flexGrow: 1,
9397
+ height: 0,
9398
+ transform: "translate(-50%, 0%)"
9269
9399
  }
9270
9400
  }
9271
9401
  }
@@ -9285,7 +9415,7 @@ const APISection = {
9285
9415
  widget: "SelectInputField"
9286
9416
  },
9287
9417
  config: {
9288
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9418
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
9289
9419
  main: {
9290
9420
  label: "Method",
9291
9421
  type: "text"
@@ -9299,7 +9429,7 @@ const APISection = {
9299
9429
  widget: "InputField"
9300
9430
  },
9301
9431
  config: {
9302
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9432
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
9303
9433
  main: {
9304
9434
  label: "Path",
9305
9435
  type: "text",
@@ -9315,116 +9445,132 @@ const APISection = {
9315
9445
  widget: "EmptyBox"
9316
9446
  },
9317
9447
  config: {
9318
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9448
+ layout: { xs: 0, sm: 0, md: 4, lg: 6 }
9319
9449
  }
9320
9450
  },
9321
9451
  {
9322
9452
  type: "Control",
9323
- scope: "#/properties/emptyBox",
9453
+ scope: "#/properties/headers",
9324
9454
  options: {
9325
- widget: "EmptyBox"
9455
+ widget: "Array"
9326
9456
  },
9327
9457
  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
- }
9458
+ layout: 12,
9459
+ main: {
9460
+ label: "Headers",
9461
+ childElementLabel: "Headers"
9462
+ },
9463
+ style: {
9464
+ marginLeft: "-24px",
9465
+ marginBottom: "24px !important",
9466
+ labelStyle: {
9467
+ marginLeft: "24px"
9468
+ },
9469
+ detailsStyle: {
9470
+ marginLeft: "24px"
9471
+ }
9472
+ }
9473
+ },
9474
+ elements: [
9475
+ {
9476
+ type: "Control",
9477
+ scope: "#/properties/key",
9478
+ options: {
9479
+ widget: "InputField"
9480
+ },
9481
+ config: {
9482
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9483
+ main: {
9484
+ label: "Key"
9375
9485
  }
9376
- ]
9486
+ }
9487
+ },
9488
+ {
9489
+ type: "Control",
9490
+ scope: "#/properties/value",
9491
+ options: {
9492
+ widget: "InputField"
9493
+ },
9494
+ config: {
9495
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9496
+ main: {
9497
+ label: "Value"
9498
+ }
9499
+ }
9500
+ },
9501
+ {
9502
+ type: "Control",
9503
+ scope: "#/properties/emptyBox",
9504
+ options: {
9505
+ widget: "EmptyBox"
9506
+ },
9507
+ config: {
9508
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9509
+ }
9377
9510
  }
9378
- }
9511
+ ]
9379
9512
  },
9380
9513
  {
9381
9514
  type: "Control",
9382
9515
  scope: "#/properties/body",
9383
- layout: 11.5,
9384
9516
  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
- }
9517
+ widget: "Array"
9518
+ },
9519
+ config: {
9520
+ layout: 12,
9521
+ main: {
9522
+ label: "Body",
9523
+ childElementLabel: "Body"
9524
+ },
9525
+ style: {
9526
+ marginLeft: "-24px",
9527
+ marginBottom: "24px !important",
9528
+ labelStyle: {
9529
+ marginLeft: "24px"
9530
+ },
9531
+ detailsStyle: {
9532
+ marginLeft: "24px"
9533
+ }
9534
+ }
9535
+ },
9536
+ elements: [
9537
+ {
9538
+ type: "Control",
9539
+ scope: "#/properties/key",
9540
+ options: {
9541
+ widget: "InputField"
9542
+ },
9543
+ config: {
9544
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9545
+ main: {
9546
+ label: "Key"
9424
9547
  }
9425
- ]
9548
+ }
9549
+ },
9550
+ {
9551
+ type: "Control",
9552
+ scope: "#/properties/value",
9553
+ options: {
9554
+ widget: "InputField"
9555
+ },
9556
+ config: {
9557
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9558
+ main: {
9559
+ label: "Value"
9560
+ }
9561
+ }
9562
+ },
9563
+ {
9564
+ type: "Control",
9565
+ scope: "#/properties/emptyBox",
9566
+ options: {
9567
+ widget: "EmptyBox"
9568
+ },
9569
+ config: {
9570
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9571
+ }
9426
9572
  }
9427
- }
9573
+ ]
9428
9574
  },
9429
9575
  getTextArea("apiBody", "Transformer", true, 12)
9430
9576
  ]
@@ -9435,64 +9581,55 @@ const refreshSectionUiSchema = {
9435
9581
  {
9436
9582
  type: "Control",
9437
9583
  scope: "#/properties/refreshElements",
9438
- layout: 11.5,
9439
9584
  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
- }
9585
+ widget: "Array"
9586
+ },
9587
+ config: {
9588
+ layout: 12,
9589
+ main: {
9590
+ label: "Refresh Elements",
9591
+ childElementLabel: "Refresh Elements"
9592
+ },
9593
+ style: {
9594
+ marginLeft: "-24px",
9595
+ marginBottom: "24px !important",
9596
+ labelStyle: {
9597
+ marginLeft: "24px"
9598
+ },
9599
+ detailsStyle: {
9600
+ marginLeft: "24px"
9601
+ }
9602
+ }
9603
+ },
9604
+ elements: [
9605
+ {
9606
+ type: "Control",
9607
+ scope: "#/properties/value",
9608
+ options: {
9609
+ widget: "InputField"
9610
+ },
9611
+ config: {
9612
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9613
+ main: {
9614
+ label: "Value"
9477
9615
  }
9478
- ]
9616
+ }
9617
+ },
9618
+ {
9619
+ type: "Control",
9620
+ scope: "#/properties/emptyBox",
9621
+ options: {
9622
+ widget: "EmptyBox"
9623
+ },
9624
+ config: {
9625
+ layout: { xs: 6, sm: 6, md: 8, lg: 8 },
9626
+ main: {}
9627
+ }
9479
9628
  }
9480
- }
9629
+ ]
9481
9630
  }
9482
9631
  ]
9483
9632
  };
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
9633
  var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9497
9634
  return {
9498
9635
  setPage: async function() {
@@ -9507,44 +9644,44 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9507
9644
  const schema2 = _.cloneDeep(EventSchema);
9508
9645
  if (handlerType) {
9509
9646
  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] = {
9647
+ uiSchema.elements[0].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
9648
+ uiSchema.elements[0].elements[0].elements[3] = {
9512
9649
  type: "Control",
9513
9650
  scope: "#/properties/emptyBox",
9514
9651
  options: {
9515
9652
  widget: "EmptyBox"
9516
9653
  },
9517
9654
  config: {
9518
- layout: { xs: 0, sm: 6, md: 0, lg: 0 },
9655
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
9519
9656
  main: {},
9520
9657
  style: {}
9521
9658
  }
9522
9659
  };
9523
- uiSchema.elements[1].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
9660
+ uiSchema.elements[0].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
9524
9661
  schema2.required = ["eventType", "Handler", "eventCode"];
9525
9662
  } else if (handlerType === "api") {
9526
- uiSchema.elements[1].elements[0].elements[2] = emptyBox;
9527
- uiSchema.elements[1].elements[0].elements[3] = APISection;
9663
+ uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", { xs: 0, sm: 0, md: 4, lg: 6 });
9664
+ uiSchema.elements[0].elements[0].elements[3] = APISection;
9528
9665
  schema2.required = ["eventType", "Handler", "method", "path"];
9529
9666
  } else if (handlerType === "inBuiltFunction") {
9530
- uiSchema.elements[1].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
9531
- uiSchema.elements[1].elements[0].elements[3] = {
9667
+ uiSchema.elements[0].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
9668
+ uiSchema.elements[0].elements[0].elements[3] = {
9532
9669
  type: "Control",
9533
9670
  scope: "#/properties/emptyBox",
9534
9671
  options: {
9535
9672
  widget: "EmptyBox"
9536
9673
  },
9537
9674
  config: {
9538
- layout: { xs: 6, sm: 6, md: 0, lg: 0 },
9675
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
9539
9676
  main: {},
9540
9677
  style: {}
9541
9678
  }
9542
9679
  };
9543
- uiSchema.elements[1].elements[0].elements[4] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
9680
+ uiSchema.elements[0].elements[0].elements[4] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
9544
9681
  schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
9545
9682
  } else if (handlerType === "refresh") {
9546
- uiSchema.elements[1].elements[0].elements[2] = emptyBox;
9547
- uiSchema.elements[1].elements[0].elements[3] = refreshSectionUiSchema;
9683
+ uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", { xs: 0, sm: 0, md: 4, lg: 6 });
9684
+ uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
9548
9685
  schema2.properties.refreshElements.required = ["value"];
9549
9686
  schema2.properties.refreshElements.items.required = ["value"];
9550
9687
  schema2.required = ["eventType", "Handler", "refreshElements"];
@@ -11600,6 +11737,18 @@ const buildRadio = (config2, componentScope2) => {
11600
11737
  }
11601
11738
  return Radio;
11602
11739
  };
11740
+ var emptyBox = {
11741
+ type: "Control",
11742
+ scope: "#/properties/emptyBox",
11743
+ options: {
11744
+ widget: "EmptyBox"
11745
+ },
11746
+ config: {
11747
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
11748
+ main: {},
11749
+ style: {}
11750
+ }
11751
+ };
11603
11752
  const buildEmptyBox = (config2, componentScope2) => {
11604
11753
  const EmptyBox = _.cloneDeep(emptyBox);
11605
11754
  if (config2.layout) {
@@ -12277,19 +12426,12 @@ const buildUiSchema = (config2, store2) => {
12277
12426
  });
12278
12427
  } else if (config2.type == "Table") {
12279
12428
  const sizeMap = {};
12280
- const filterMap = {};
12281
12429
  if (config2.sizeHolder) {
12282
12430
  config2.sizeHolder.map((e, i) => {
12283
12431
  sizeMap[e.keyName] = e.value;
12284
12432
  });
12285
12433
  }
12286
- if (config2.enableColumnFilter) {
12287
- config2.enableColumnFilter.map((e) => {
12288
- filterMap[e.keyName] = true;
12289
- });
12290
- }
12291
12434
  elements.elements = config2.elements.map((cellElem, elemInd) => {
12292
- var _a, _b;
12293
12435
  if (cellElem.type) {
12294
12436
  return {
12295
12437
  accessorKey: cellElem.name,
@@ -12298,8 +12440,8 @@ const buildUiSchema = (config2, store2) => {
12298
12440
  type: cellElem.columnFormat,
12299
12441
  widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store2) : void 0,
12300
12442
  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
12443
+ columnFilterModeOptions: cellElem.filteringOptions,
12444
+ enableColumnFilter: cellElem.enableFilter === "Yes" ? true : false
12303
12445
  };
12304
12446
  } else {
12305
12447
  return {
@@ -12307,8 +12449,8 @@ const buildUiSchema = (config2, store2) => {
12307
12449
  type: cellElem.columnFormat,
12308
12450
  header: cellElem.label || cellElem.name,
12309
12451
  size: sizeMap[cellElem.name] || 180,
12310
- enableColumnFilter: Object.keys(filterMap).length === 0 ? true : (_b = filterMap[cellElem.name]) != null ? _b : false,
12311
- columnFilterModeOptions: config2.filteringOptions
12452
+ columnFilterModeOptions: cellElem.filteringOptions,
12453
+ enableColumnFilter: cellElem.enableFilter === "Yes" ? true : false
12312
12454
  };
12313
12455
  }
12314
12456
  });