impaktapps-ui-builder 1.0.4 → 1.0.5

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 (122) hide show
  1. package/dist/impaktapps-ui-builder.es.js +2272 -1158
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +15 -15
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildAreaGraph.d.ts +2 -0
  6. package/dist/src/impaktapps-ui-builder/builder/build/buildArray.d.ts +1 -11
  7. package/dist/src/impaktapps-ui-builder/builder/build/buildCamera.d.ts +1 -0
  8. package/dist/src/impaktapps-ui-builder/builder/build/buildConfig.d.ts +2 -1
  9. package/dist/src/impaktapps-ui-builder/builder/build/buildGroupButton.d.ts +1 -0
  10. package/dist/src/impaktapps-ui-builder/builder/build/buildHorizontalLayout.d.ts +1 -0
  11. package/dist/src/impaktapps-ui-builder/builder/build/buildImage.d.ts +1 -0
  12. package/dist/src/impaktapps-ui-builder/builder/build/buildMetricCard.d.ts +1 -0
  13. package/dist/src/impaktapps-ui-builder/builder/build/buildOTP_inputs.d.ts +1 -0
  14. package/dist/src/impaktapps-ui-builder/builder/build/buildPdfViewer.d.ts +1 -0
  15. package/dist/src/impaktapps-ui-builder/builder/build/buildPopover.d.ts +1 -0
  16. package/dist/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.d.ts +2 -0
  17. package/dist/src/impaktapps-ui-builder/builder/build/buildUiSchema.d.ts +2 -1
  18. package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +1 -3
  19. package/dist/src/impaktapps-ui-builder/builder/build/uischema/box.d.ts +10 -2
  20. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +1 -1
  21. package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +6 -1
  22. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buttonGroup.d.ts +22 -0
  23. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +173 -171
  24. package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +82 -72
  25. package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +18 -50
  26. package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +50 -4
  27. package/dist/src/impaktapps-ui-builder/builder/build/uischema/horizontalLayout.d.ts +13 -0
  28. package/dist/src/impaktapps-ui-builder/builder/build/uischema/metricCard.d.ts +17 -0
  29. package/dist/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.d.ts +1 -0
  30. package/dist/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.d.ts +19 -0
  31. package/dist/src/impaktapps-ui-builder/builder/build/uischema/refresh.d.ts +0 -3
  32. package/dist/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.d.ts +1 -0
  33. package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +1 -0
  34. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +15 -66
  35. package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +48 -38
  36. package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +0 -3
  37. package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +4 -1
  38. package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +2 -1
  39. package/dist/src/impaktapps-ui-builder/lib/index.d.ts +1 -0
  40. package/dist/src/impaktapps-ui-builder/runtime/services/downloadFile.d.ts +5 -2
  41. package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +10 -4
  42. package/package.json +1 -1
  43. package/src/impaktapps-ui-builder/builder/build/buildAadharCard.ts +2 -2
  44. package/src/impaktapps-ui-builder/builder/build/buildAreaGraph.ts +66 -0
  45. package/src/impaktapps-ui-builder/builder/build/buildArray.ts +35 -15
  46. package/src/impaktapps-ui-builder/builder/build/buildButton.ts +1 -1
  47. package/src/impaktapps-ui-builder/builder/build/buildCamera.ts +50 -0
  48. package/src/impaktapps-ui-builder/builder/build/buildCard.ts +10 -10
  49. package/src/impaktapps-ui-builder/builder/build/buildCheckbox.ts +1 -1
  50. package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +34 -16
  51. package/src/impaktapps-ui-builder/builder/build/buildDataGrid.ts +2 -2
  52. package/src/impaktapps-ui-builder/builder/build/buildDate.ts +35 -13
  53. package/src/impaktapps-ui-builder/builder/build/buildDownloadFile.ts +7 -0
  54. package/src/impaktapps-ui-builder/builder/build/buildEmptyBox.ts +1 -0
  55. package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +42 -28
  56. package/src/impaktapps-ui-builder/builder/build/buildGroupButton.ts +24 -0
  57. package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +10 -4
  58. package/src/impaktapps-ui-builder/builder/build/buildHorizontalLayout.ts +15 -0
  59. package/src/impaktapps-ui-builder/builder/build/buildImage.ts +38 -0
  60. package/src/impaktapps-ui-builder/builder/build/buildLabel.ts +3 -0
  61. package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +4 -1
  62. package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +10 -4
  63. package/src/impaktapps-ui-builder/builder/build/buildMetricCard.tsx +37 -0
  64. package/src/impaktapps-ui-builder/builder/build/buildMultiSelect.ts +12 -0
  65. package/src/impaktapps-ui-builder/builder/build/buildOTP_inputs.ts +44 -0
  66. package/src/impaktapps-ui-builder/builder/build/buildPdfViewer.ts +16 -0
  67. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +7 -4
  68. package/src/impaktapps-ui-builder/builder/build/buildPop.ts +3 -2
  69. package/src/impaktapps-ui-builder/builder/build/buildPopover.ts +40 -0
  70. package/src/impaktapps-ui-builder/builder/build/buildProgressBar.ts +31 -21
  71. package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +11 -3
  72. package/src/impaktapps-ui-builder/builder/build/buildSelect.ts +12 -0
  73. package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +10 -4
  74. package/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.ts +72 -0
  75. package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +5 -0
  76. package/src/impaktapps-ui-builder/builder/build/buildTable.ts +21 -8
  77. package/src/impaktapps-ui-builder/builder/build/buildText.ts +15 -0
  78. package/src/impaktapps-ui-builder/builder/build/buildTextArea.ts +2 -2
  79. package/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.ts +1 -1
  80. package/src/impaktapps-ui-builder/builder/build/buildTreeMap.ts +2 -1
  81. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +140 -130
  82. package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +6 -0
  83. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +8 -3
  84. package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +0 -6
  85. package/src/impaktapps-ui-builder/builder/build/uischema/array.ts +1 -1
  86. package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +5 -2
  87. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +397 -141
  88. package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +1 -1
  89. package/src/impaktapps-ui-builder/builder/build/uischema/buttonGroup.ts +17 -0
  90. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +142 -169
  91. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +127 -133
  92. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +2 -2
  93. package/src/impaktapps-ui-builder/builder/build/uischema/emptyBox.ts +1 -1
  94. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +30 -54
  95. package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +3 -3
  96. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +37 -4
  97. package/src/impaktapps-ui-builder/builder/build/uischema/horizontalLayout.ts +11 -0
  98. package/src/impaktapps-ui-builder/builder/build/uischema/metricCard.ts +13 -0
  99. package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +4 -2
  100. package/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.ts +18 -0
  101. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +0 -3
  102. package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +3 -1
  103. package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +1 -0
  104. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +34 -60
  105. package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -1
  106. package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +58 -113
  107. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +0 -3
  108. package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +4 -1
  109. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +228 -59
  110. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +121 -119
  111. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +1 -1
  112. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +94 -106
  113. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +11 -5
  114. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +31 -55
  115. package/src/impaktapps-ui-builder/builder/services/component.ts +173 -86
  116. package/src/impaktapps-ui-builder/builder/services/event.ts +3 -0
  117. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +18 -15
  118. package/src/impaktapps-ui-builder/builder/services/utils.ts +15 -3
  119. package/src/impaktapps-ui-builder/lib/index.ts +10 -9
  120. package/src/impaktapps-ui-builder/runtime/services/downloadFile.ts +33 -18
  121. package/src/impaktapps-ui-builder/runtime/services/events.ts +9 -11
  122. package/src/impaktapps-ui-builder/runtime/services/service.ts +121 -162
@@ -92,7 +92,57 @@ export const componentBasicUiSchema: any = (theme) => {
92
92
  },
93
93
  {
94
94
  type: "Control",
95
- scope: "#/properties/proc",
95
+ scope: "#/properties/proc5",
96
+ config: {
97
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
98
+ },
99
+ options: {
100
+ widget: "EmptyBox",
101
+ },
102
+ },
103
+ {
104
+ type: "Control",
105
+ scope: "#/properties/proc6",
106
+ config: {
107
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
108
+ },
109
+ options: {
110
+ widget: "EmptyBox",
111
+ },
112
+ },
113
+ {
114
+ type: "Control",
115
+ scope: "#/properties/proc7",
116
+ config: {
117
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
118
+ },
119
+ options: {
120
+ widget: "EmptyBox",
121
+ },
122
+ },
123
+ {
124
+ type: "Control",
125
+ scope: "#/properties/proc8",
126
+ config: {
127
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
128
+ },
129
+ options: {
130
+ widget: "EmptyBox",
131
+ },
132
+ },
133
+ {
134
+ type: "Control",
135
+ scope: "#/properties/proc9",
136
+ config: {
137
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
138
+ },
139
+ options: {
140
+ widget: "EmptyBox",
141
+ },
142
+ },
143
+ {
144
+ type: "Control",
145
+ scope: "#/properties/proc10",
96
146
  config: {
97
147
  layout: { xs: 6, sm: 6, md: 0, lg: 3 },
98
148
  },
@@ -100,129 +150,81 @@ export const componentBasicUiSchema: any = (theme) => {
100
150
  widget: "EmptyBox",
101
151
  },
102
152
  },
103
- // {
104
- // type: "Control",
105
- // scope: "#/properties/layout",
106
- // options: {
107
- // widget: "Array",
108
- // },
109
- // config: {
110
- // layout: 12,
111
- // main: {
112
- // label: "Layout",
113
- // childElementLabel: "Layout",
114
- // },
115
- // style: {
116
- // marginLeft: "-24px",
117
- // marginBottom: "24px !important",
118
- // labelStyle: {
119
- // marginLeft: "24px",
120
- // },
121
- // detailsStyle: {
122
- // marginLeft: "24px",
123
- // }
124
- // }
125
- // },
126
- // elements: [
127
- // {
128
- // type: "Control",
129
- // scope: "#/properties/key",
130
- // options: {
131
- // widget: "SelectInputField",
132
- // },
133
- // config: {
134
- // layout: { xs: 6, sm: 6, md: 4, lg: 4 },
135
- // main: {
136
- // label: "Screen Size",
137
-
138
- // },
139
- // },
140
- // },
141
- // {
142
- // type: "Control",
143
- // scope: "#/properties/value",
144
-
145
- // options: {
146
- // widget: "InputField",
147
- // },
148
- // config: {
149
- // layout: { xs: 6, sm: 6, md: 4, lg: 4 },
150
- // main: {
151
- // label: "Value",
152
- // type:"number",
153
- // helperText:'Number should be in range of 0 to 12',
154
- // errorMessage:"Number Can't be greater than 12 and can't be less than 0.",
155
-
156
- // },
157
- // },
158
- // },
159
- // {
160
- // type: "Control",
161
- // scope: "#/properties/proc",
162
- // config: {
163
- // layout: { xs: 0, sm: 0, md: 4, lg: 4 },
164
- // },
165
- // options: {
166
- // widget: "EmptyBox",
167
- // },
168
- // },
169
- // ],
170
- // },
171
153
  {
172
- type: "Control",
173
- scope: "#/properties/layout",
154
+ type: "Control",
155
+ scope: "#/properties/proc11",
156
+ config: {
157
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
158
+ },
159
+ options: {
160
+ widget: "EmptyBox",
161
+ },
162
+ },
163
+ {
164
+ type: "Control",
165
+ scope: "#/properties/layout",
166
+ config: {
174
167
  layout: 12,
175
- options: {
176
- detail: {
177
- type: "HorizontalLayout",
178
- elements: [
179
- {
180
- type: "Control",
181
- scope: "#/properties/key",
182
- options: {
183
- widget: "SelectInputField",
184
- },
185
- config: {
186
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
187
- main: {
188
- label: "Screen Size",
189
-
190
- },
191
- },
192
- },
193
- {
194
- type: "Control",
195
- scope: "#/properties/value",
196
-
197
- options: {
198
- widget: "InputField",
199
- },
200
- config: {
201
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
202
- main: {
203
- label: "Value",
204
- type: "number",
205
- // freeSolo:true,
206
- helperText: 'Number should be in range of 0 to 12',
207
- errorMessage: "Number Can't be greater than 12 and can't be less than 0.",
168
+ main: {
169
+ label: "Layout",
170
+ childElementLabel: "Layout",
171
+ },
172
+ style: {
173
+ marginLeft: "-24px",
174
+ marginBottom: "24px !important",
175
+ labelStyle: {
176
+ marginLeft: "24px",
177
+ },
178
+ detailsStyle: {
179
+ marginLeft: "24px",
180
+ }
181
+ }
182
+ },
183
+ elements: [
184
+ {
185
+ type: "Control",
186
+ scope: "#/properties/key",
187
+ options: {
188
+ widget: "SelectInputField",
189
+ },
190
+ config: {
191
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
192
+ main: {
193
+ label: "Screen Size",
194
+
195
+ },
196
+ },
197
+ },
198
+ {
199
+ type: "Control",
200
+ scope: "#/properties/value",
208
201
 
209
- },
210
- },
211
- },
212
- {
213
- type: "Control",
214
- scope: "#/properties/proc",
215
- config: {
216
- layout: { xs: 0, sm: 0, md: 4, lg: 4 },
217
- },
218
- options: {
219
- widget: "EmptyBox",
220
- },
221
- },
222
- ],
202
+ options: {
203
+ widget: "InputField",
204
+ },
205
+ config: {
206
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
207
+ main: {
208
+ label: "Value",
209
+ type:"number",
210
+ helperText:'Number should be in range of 0 to 12',
211
+ errorMessage:"Number Can't be greater than 12 and can't be less than 0.",
212
+
213
+ },
223
214
  },
224
215
  },
225
- },
216
+ {
217
+ type: "Control",
218
+ scope: "#/properties/proc",
219
+ config: {
220
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 },
221
+ },
222
+ options: {
223
+ widget: "EmptyBox",
224
+ },
225
+ },
226
+ ],
227
+ }
226
228
  ],
227
229
  },
228
230
  ],
@@ -45,5 +45,5 @@ export const PageMasterSchema = {
45
45
  disabled: true
46
46
  }
47
47
  },
48
- required:["template","name", "label"]
48
+ required:["name", "label"]
49
49
  }
@@ -49,12 +49,44 @@ export const PageMasterUiSchema: any = (theme) => {
49
49
  required: true,
50
50
  },
51
51
  },
52
+ },
53
+ {
54
+ type: "Control",
55
+ scope: "#/properties/pageIconUrl",
56
+
57
+ options: {
58
+ widget: "InputField",
59
+ },
60
+ config: {
61
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
62
+ main: {
63
+ label: "Page Icon URL",
64
+ options: [],
65
+ color: "secondary",
66
+ required: true,
67
+ },
68
+ },
69
+ },
70
+ {
71
+ type: "Control",
72
+ scope: "#/properties/hasBackIcon",
73
+
74
+ options: {
75
+ widget: "RadioInputField",
76
+ },
77
+ config: {
78
+ layout: { xs: 12, sm: 6, md: 4, lg: 3 },
79
+ main: {
80
+ label: "Back Icon",
81
+ options: [{label: "Yes",const: "YES"}, {label: "No",const: "NO"}],
82
+ },
83
+ },
52
84
  },
53
85
  {
54
86
  type: "Control",
55
87
  scope: "#/properties/EmptyBox",
56
88
  config: {
57
- layout: { xs: 0, sm: 0, md: 4, lg: 6 },
89
+ layout: { xs: 0, sm: 6, md: 0, lg: 3 },
58
90
  },
59
91
  options: {
60
92
  widget: "EmptyBox",
@@ -159,91 +191,70 @@ export const PageMasterUiSchema: any = (theme) => {
159
191
  disableAction: true,
160
192
  disableSelection: true,
161
193
  enableDrag: true,
162
- }
163
- },
164
- elements: [
165
- {
166
- accessorKey: "name",
167
- header: "Name",
168
- size: 300,
169
- type: "string"
170
- },
171
- {
172
- accessorKey: "type",
173
- header: "Type",
174
- size: 300,
175
- type: "string"
176
194
  },
177
- {
178
- header: "Edit",
179
- field: "Reject_Records",
180
- size: 150,
181
- type: "action",
182
- widget: {
195
+ action: [
196
+ {
183
197
  type: "Control",
184
198
  scope: "#/properties/RejectButton",
185
199
  options: {
186
- widget: "IconButton",
200
+ widget: "Button",
187
201
  },
188
202
  config: {
189
203
  main: {
190
- icon: "TableEditIcon",
204
+ size: "small",
205
+ startIcon: "EditIcon",
191
206
  onClick: "Edit_Components",
192
207
  tooltipMessage: "Edit This Record",
193
- },
194
- style: {
195
- fill: theme.palette.primary.main,
196
- "& :hover": {
197
- fill: theme.palette.primary.dark,
198
- },
208
+ name: "Edit"
199
209
  },
200
210
  },
201
211
  },
202
- },
203
- {
204
- header: "Delete",
205
- field: "Reject_Records",
206
- size: 150,
207
- type: "action",
208
- widget: {
212
+ {
209
213
  type: "Control",
210
214
  scope: "#/properties/RejectButton",
211
215
  options: {
212
- widget: "IconButton",
216
+ widget: "Button",
213
217
  },
214
218
  config: {
215
219
  main: {
216
- icon: "Bin",
220
+ size: "small",
221
+ startIcon: "Bin",
217
222
  onClick: "deletePopUpComponent",
218
223
  tooltipMessage: "Reject This Record",
219
- },
220
- style: {
221
- fill: theme.palette.primary.main,
222
- "& :hover": {
223
- fill: theme.palette.primary.dark,
224
- },
224
+ name: "Delete"
225
225
  },
226
226
  },
227
227
  },
228
- },
229
- {
230
- header: "Copy",
231
- field: "Copy_Component",
232
- flex: 1,
233
- widget: {
228
+ {
234
229
  type: "Control",
235
230
  scope: "#/properties/Copy_Component",
236
231
  options: {
237
- widget: "IconButton",
232
+ widget: "Button",
238
233
  },
239
234
  config: {
240
235
  main: {
241
- icon: "FileCopyIcon",
236
+ size: "small",
237
+ startIcon: "FileCopyIcon",
242
238
  onClick: "copyPasteElement",
243
- styleDefault: true,
239
+ styleDefault: false,
240
+ name: "Copy"
244
241
  },
245
242
  },
246
243
  },
244
+ ]
245
+ },
246
+ elements: [
247
+ {
248
+ accessorKey: "name",
249
+ header: "Name",
250
+ size: 300,
251
+ type: "string"
252
+ },
253
+ {
254
+ accessorKey: "type",
255
+ header: "Type",
256
+ size: 300,
257
+ type: "string"
247
258
  },
248
259
  ]
249
260
  },
@@ -321,93 +332,70 @@ export const PageMasterUiSchema: any = (theme) => {
321
332
  enableDrag: true,
322
333
 
323
334
  },
324
- },
325
- elements: [
326
-
327
- {
328
- accessorKey: "eventType",
329
- header: "Event's Type",
330
- size: 300,
331
- type: "string"
332
- },
333
- {
334
- accessorKey: "Handler",
335
- header: "Handler",
336
- size: 200,
337
- type: "string"
338
- },
339
- {
340
- accessorKey: "Edit_Approve_Records",
341
- header: "Edit",
342
- type: "action",
343
- size: 150,
344
- widget: {
335
+ action: [
336
+ {
345
337
  type: "Control",
346
338
  scope: "#/properties/Edit_Records",
347
339
  options: {
348
- widget: "IconButton",
340
+ widget: "Button",
349
341
  },
350
342
  config: {
351
343
  main: {
352
344
  size: "small",
353
- icon: "TableEditIcon",
345
+ startIcon: "EditIcon",
354
346
  tooltipMessage: "Edit This Record",
355
347
  onClick: "editEvent",
356
- },
357
- style: {
358
- fill: theme.palette.primary.main,
359
- "& :hover": {
360
- fill: theme.palette.primary.dark,
361
- },
348
+ name: "Edit"
362
349
  },
363
350
  },
364
351
  },
365
- },
366
- {
367
- accessorKey: "Reject_Records",
368
- header: "Delete",
369
- type: "action",
370
- size: 150,
371
- widget: {
352
+ {
372
353
  type: "Control",
373
354
  scope: "#/properties/RejectButton",
374
355
  options: {
375
- widget: "IconButton",
356
+ widget: "Button",
376
357
  },
377
358
  config: {
378
359
  main: {
379
- icon: "Bin",
360
+ size: "small",
361
+ startIcon: "Bin",
380
362
  tooltipMessage: "Reject This Record",
381
363
  onClick: "deletePopUpEvent",
382
- },
383
- style: {
384
- fill: theme.palette.primary.main,
385
- "& :hover": {
386
- fill: theme.palette.primary.dark,
387
- },
364
+ name: "Delete"
388
365
  },
389
366
  },
390
367
  },
391
- },
392
- {
393
- header: "Copy",
394
- field: "Copy_Event",
395
- type: "action",
396
- size: 150,
397
- widget: {
368
+ {
398
369
  type: "Control",
399
370
  scope: "#/properties/Copy_Event",
400
371
  options: {
401
- widget: "IconButton",
372
+ widget: "Button",
402
373
  },
403
374
  config: {
404
375
  main: {
405
- icon: "FileCopyIcon",
376
+ size: "small",
377
+ startIcon: "FileCopyIcon",
406
378
  onClick: "copyPasteElement",
407
379
  styleDefault: true,
380
+ name: "Copy"
408
381
  },
409
382
  },
410
383
  },
384
+ ]
385
+ },
386
+ elements: [
387
+
388
+ {
389
+ accessorKey: "eventType",
390
+ header: "Event's Type",
391
+ size: 300,
392
+ type: "string"
393
+ },
394
+ {
395
+ accessorKey: "Handler",
396
+ header: "Handler",
397
+ size: 200,
398
+ type: "string"
411
399
  },
412
400
  ]
413
401
  },
@@ -46,11 +46,17 @@ export const EventSchema = {
46
46
  { title: "Start", const: "onStart" },
47
47
  { title: "Cell Render", const: "onCellRenderer" },
48
48
  { title: "Upload", const: "onUpload" },
49
+ { title: "FileDelete", const: "onFileDelete" },
50
+ { title: "Download", const: "onDownload" },
49
51
  { title: "Back", const: "onBack" },
50
52
  { title: "Next", const: "onNext" },
51
53
  { title: "Row Movement", const: "onRowMovement" },
52
54
  { title: "Download", const: "onDownload" },
53
- { title: "Fail", const: "Fail" }
55
+ { title: "Fail", const: "Fail" },
56
+ { title: "onClose", const: "onClose" },
57
+ { title: "Key Down", const: "onKeyDown" },
58
+ { title: "Set Style", const: "setStyle" },
59
+
54
60
  ]
55
61
  },
56
62
  Handler: {
@@ -67,7 +73,7 @@ export const EventSchema = {
67
73
  oneOf: [
68
74
  { title: "RankProvider", const: "RankProvider" },
69
75
  { title: "Download File", const: "downloadFile" },
70
- { title: "Download", const: "download" },
76
+ { title: "downloadFileFromUrl", const: "downloadFileFromUrl" },
71
77
  ]
72
78
  },
73
79
  body: {
@@ -84,12 +90,12 @@ export const EventSchema = {
84
90
  },
85
91
  },
86
92
  },
87
- RemoveItemButton:{
93
+ RemoveItemButton: {
88
94
  disabled: true,
89
95
  },
90
96
  pageName: {
91
- path: [{label: "defaultLabel", path: "defaultPath"}]
97
+ path: [{ label: "defaultLabel", path: "defaultPath" }]
92
98
  },
93
99
  },
94
- required:["eventType","Handler"]
100
+ required: ["eventType", "Handler"]
95
101
  }