impaktapps-ui-builder 0.0.412-mtreemap.1 → 0.0.412-mtreemap.11

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 +349 -297
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +9 -9
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.d.ts +1 -1
  6. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +12 -10
  7. package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +5 -5
  8. package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +1 -0
  9. package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +1 -1
  10. package/package.json +1 -1
  11. package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +2 -2
  12. package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +27 -26
  13. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +2 -0
  14. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +1 -1
  15. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +39 -38
  16. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +10 -9
  17. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +21 -28
  18. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -8
  19. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +155 -102
  20. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +1 -1
  21. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +14 -0
  22. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +1 -1
  23. package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +1 -0
  24. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +0 -2
  25. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +318 -285
  26. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +1 -1
  27. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +346 -208
  28. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +70 -23
  29. package/src/impaktapps-ui-builder/builder/services/component.ts +17 -17
  30. package/src/impaktapps-ui-builder/builder/services/event.ts +7 -5
  31. package/src/impaktapps-ui-builder/runtime/services/service.ts +1 -1
@@ -41,7 +41,7 @@ const PageMasterSchema = {
41
41
  }
42
42
  }
43
43
  },
44
- required: ["template", "name"]
44
+ required: ["template", "name", "label"]
45
45
  };
46
46
  const PageMasterUiSchema = (theme) => {
47
47
  var _a;
@@ -79,15 +79,19 @@ const PageMasterUiSchema = (theme) => {
79
79
  },
80
80
  {
81
81
  type: "Control",
82
- scope: "#/properties/label",
82
+ scope: "#/properties/template",
83
83
  options: {
84
- widget: "InputField"
84
+ widget: "SelectInputField"
85
85
  },
86
86
  config: {
87
87
  layout: { xs: 11, sm: 4, md: 4, lg: 4 },
88
88
  main: {
89
- label: "Label",
90
- options: [],
89
+ label: "Template",
90
+ options: [
91
+ { const: "template1", title: "template1" },
92
+ { const: "template2", title: "template2" },
93
+ { const: "template3", title: "template3" }
94
+ ],
91
95
  color: "secondary",
92
96
  required: true
93
97
  }
@@ -95,228 +99,246 @@ const PageMasterUiSchema = (theme) => {
95
99
  },
96
100
  {
97
101
  type: "Control",
98
- scope: "#/properties/emptyBox",
102
+ scope: "#/properties/label",
99
103
  options: {
100
- widget: "EmptyBox"
104
+ widget: "InputField"
101
105
  },
102
106
  config: {
103
- layout: { xs: 0, sm: 4 }
107
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
108
+ main: {
109
+ label: "Label",
110
+ options: [],
111
+ color: "secondary",
112
+ required: true
113
+ }
104
114
  }
115
+ }
116
+ ]
117
+ },
118
+ {
119
+ type: "TabLayout",
120
+ config: {
121
+ main: {
122
+ tabLabels: ["Components", "events"],
123
+ divider: true
105
124
  },
125
+ defaultStyle: true
126
+ },
127
+ elements: [
106
128
  {
107
- type: "TabLayout",
129
+ type: "Control",
130
+ scope: "#/properties/elements",
131
+ options: {
132
+ widget: "Table"
133
+ },
108
134
  config: {
109
135
  main: {
110
- tabLabels: ["Components", "events"],
111
- divider: true
112
- },
113
- defaultStyle: true
114
- },
115
- elements: [
116
- {
117
- type: "Control",
118
- scope: "#/properties/elements",
119
- options: {
120
- widget: "Table"
121
- },
122
- config: {
123
- main: {
124
- headerIcons: {
125
- elements: [
126
- {
127
- widget: {
128
- type: "Control",
129
- scope: "#/properties/New_Record",
130
- options: {
131
- widget: "IconButton"
132
- },
133
- config: {
134
- main: {
135
- onClick: "onAddClickHandler",
136
- size: "small",
137
- icon: "AddIcon",
138
- iconLabel: "Add New",
139
- styleDefault: true
140
- },
141
- style: {
142
- mt: "6px"
143
- }
144
- }
136
+ headerIcons: {
137
+ elements: [
138
+ {
139
+ widget: {
140
+ type: "Control",
141
+ scope: "#/properties/New_Record",
142
+ options: {
143
+ widget: "IconButton"
144
+ },
145
+ config: {
146
+ main: {
147
+ onClick: "onAddClickHandler",
148
+ size: "small",
149
+ icon: "AddIcon",
150
+ iconLabel: "Add New",
151
+ styleDefault: true
152
+ },
153
+ style: {
154
+ mt: "6px"
145
155
  }
146
156
  }
147
- ]
148
- },
149
- disableAction: true,
150
- disableSelection: true,
151
- enableDrag: true
152
- }
153
- },
154
- elements: [
155
- {
156
- accessorKey: "name",
157
- header: "Name"
158
- },
159
- {
160
- accessorKey: "type",
161
- header: "Type"
162
- },
163
- {
164
- header: "Edit",
165
- field: "Reject_Records",
166
- flex: 1,
167
- widget: {
168
- type: "Control",
169
- scope: "#/properties/RejectButton",
170
- options: {
171
- widget: "IconButton"
172
- },
173
- config: {
174
- main: {
175
- icon: "EditIcon",
176
- onClick: "Edit_Components",
177
- tooltipMessage: "Edit This Record"
178
- }
179
157
  }
180
158
  }
159
+ ]
160
+ },
161
+ disableAction: true,
162
+ disableSelection: true,
163
+ enableDrag: true
164
+ }
165
+ },
166
+ elements: [
167
+ {
168
+ accessorKey: "name",
169
+ header: "Name"
170
+ },
171
+ {
172
+ accessorKey: "type",
173
+ header: "Type"
174
+ },
175
+ {
176
+ header: "Edit",
177
+ field: "Reject_Records",
178
+ flex: 1,
179
+ widget: {
180
+ type: "Control",
181
+ scope: "#/properties/RejectButton",
182
+ options: {
183
+ widget: "IconButton"
181
184
  },
182
- {
183
- header: "Delete",
184
- field: "Reject_Records",
185
- flex: 1,
186
- widget: {
187
- type: "Control",
188
- scope: "#/properties/RejectButton",
189
- options: {
190
- widget: "IconButton"
191
- },
192
- config: {
193
- main: {
194
- icon: "RejectIcon",
195
- color: "error",
196
- onClick: "Delete_Components",
197
- tooltipMessage: "Reject This Record"
198
- }
199
- }
185
+ config: {
186
+ main: {
187
+ icon: "EditIcon",
188
+ color: "primary",
189
+ onClick: "Edit_Components",
190
+ tooltipMessage: "Edit This Record"
200
191
  }
201
192
  }
202
- ]
193
+ }
203
194
  },
204
195
  {
205
- type: "Control",
206
- scope: "#/properties/events",
207
- options: {
208
- widget: "Table"
209
- },
210
- config: {
211
- main: {
212
- headerIcons: {
213
- elements: [
214
- {
215
- widget: {
216
- type: "Control",
217
- scope: "#/properties/New_Record",
218
- options: {
219
- widget: "IconButton"
220
- },
221
- config: {
222
- main: {
223
- onClick: "eventAddHandler",
224
- size: "small",
225
- icon: "AddIcon",
226
- iconLabel: "Add New",
227
- styleDefault: true
228
- },
229
- style: {
230
- mt: "6px"
231
- }
232
- }
233
- }
234
- }
235
- ]
236
- },
237
- disableAction: true,
238
- disableSelection: true,
239
- enableDrag: true
240
- }
241
- },
242
- elements: [
243
- {
244
- accessorKey: "eventType",
245
- header: "Event Type"
246
- },
247
- {
248
- accessorKey: "Handler",
249
- header: "Handler"
250
- },
251
- {
252
- accessorKey: "Edit_Approve_Records",
253
- header: "Edit Widget",
254
- widget: {
255
- type: "Control",
256
- scope: "#/properties/Edit_Records",
257
- options: {
258
- widget: "IconButton"
259
- },
260
- config: {
261
- main: {
262
- size: "small",
263
- icon: "EditIcon",
264
- tooltipMessage: "Edit This Record",
265
- onClick: "editEvent"
266
- },
267
- style: {
268
- color: "#3949ab"
269
- }
270
- }
271
- }
196
+ header: "Delete",
197
+ field: "Reject_Records",
198
+ flex: 1,
199
+ widget: {
200
+ type: "Control",
201
+ scope: "#/properties/RejectButton",
202
+ options: {
203
+ widget: "IconButton"
272
204
  },
273
- {
274
- accessorKey: "Reject_Records",
275
- header: "Delete",
276
- widget: {
277
- type: "Control",
278
- scope: "#/properties/RejectButton",
279
- options: {
280
- widget: "IconButton"
281
- },
282
- config: {
283
- main: {
284
- icon: "RejectIcon",
285
- color: "error",
286
- tooltipMessage: "Reject This Record",
287
- onClick: "deleteEvent"
288
- }
289
- }
205
+ config: {
206
+ main: {
207
+ icon: "RejectIcon",
208
+ color: "error",
209
+ onClick: "Delete_Components",
210
+ tooltipMessage: "Reject This Record"
290
211
  }
291
212
  }
292
- ]
213
+ }
293
214
  }
294
215
  ]
295
216
  },
296
217
  {
297
218
  type: "Control",
298
- scope: "#/properties/btn",
219
+ scope: "#/properties/events",
299
220
  options: {
300
- widget: "Button"
221
+ widget: "Table"
301
222
  },
302
223
  config: {
303
- layout: 11.9,
304
224
  main: {
305
- name: "Save",
306
- startIcon: "ApproveIcon",
307
- variant: "contained",
308
- type: "text",
309
- onClick: "saveHandler",
310
- size: "medium"
225
+ headerIcons: {
226
+ elements: [
227
+ {
228
+ widget: {
229
+ type: "Control",
230
+ scope: "#/properties/New_Record",
231
+ options: {
232
+ widget: "IconButton"
233
+ },
234
+ config: {
235
+ main: {
236
+ onClick: "eventAddHandler",
237
+ size: "small",
238
+ icon: "AddIcon",
239
+ iconLabel: "Add New",
240
+ styleDefault: true
241
+ },
242
+ style: {
243
+ mt: "6px"
244
+ }
245
+ }
246
+ }
247
+ }
248
+ ]
249
+ },
250
+ disableAction: true,
251
+ disableSelection: true,
252
+ enableDrag: true
253
+ }
254
+ },
255
+ elements: [
256
+ {
257
+ accessorKey: "eventType",
258
+ header: "Event Type"
311
259
  },
312
- style: {
313
- width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
314
- float: "right"
260
+ {
261
+ accessorKey: "Handler",
262
+ header: "Handler"
263
+ },
264
+ {
265
+ accessorKey: "Edit_Approve_Records",
266
+ header: "Edit Widget",
267
+ widget: {
268
+ type: "Control",
269
+ scope: "#/properties/Edit_Records",
270
+ options: {
271
+ widget: "IconButton"
272
+ },
273
+ config: {
274
+ main: {
275
+ color: "info",
276
+ size: "small",
277
+ icon: "EditIcon",
278
+ tooltipMessage: "Edit This Record",
279
+ onClick: "editEvent"
280
+ },
281
+ style: {
282
+ color: "#3949ab"
283
+ }
284
+ }
285
+ }
286
+ },
287
+ {
288
+ accessorKey: "Reject_Records",
289
+ header: "Delete",
290
+ widget: {
291
+ type: "Control",
292
+ scope: "#/properties/RejectButton",
293
+ options: {
294
+ widget: "IconButton"
295
+ },
296
+ config: {
297
+ main: {
298
+ icon: "RejectIcon",
299
+ color: "error",
300
+ tooltipMessage: "Reject This Record",
301
+ onClick: "deleteEvent"
302
+ }
303
+ }
304
+ }
315
305
  }
316
- }
306
+ ]
317
307
  }
318
308
  ]
319
309
  },
310
+ {
311
+ type: "Control",
312
+ scope: "#/properties/btn",
313
+ options: {
314
+ widget: "EmptyBox"
315
+ },
316
+ config: {
317
+ layout: { xs: 0, sm: 0, md: 8, lg: 7 }
318
+ }
319
+ },
320
+ {
321
+ type: "Control",
322
+ scope: "#/properties/btn",
323
+ options: {
324
+ widget: "Button"
325
+ },
326
+ config: {
327
+ layout: 11.9,
328
+ main: {
329
+ name: "Save",
330
+ startIcon: "ApproveIcon",
331
+ variant: "contained",
332
+ type: "text",
333
+ onClick: "saveHandler",
334
+ size: "medium"
335
+ },
336
+ style: {
337
+ width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
338
+ float: "right"
339
+ }
340
+ }
341
+ },
320
342
  {
321
343
  type: "Control",
322
344
  scope: "#/properties/notify",
@@ -5911,8 +5933,6 @@ const ComponentSchema = {
5911
5933
  { title: "Text Area", const: "TextArea" },
5912
5934
  { title: "Timer", const: "Timer" },
5913
5935
  { title: "Upload File", const: "UploadFile" },
5914
- { title: "Timer", const: "Timer" },
5915
- { title: "Upload File", const: "UploadFile" },
5916
5936
  { title: "TreeMap", const: "TreeMap" },
5917
5937
  { title: "ColumnGroup", const: "ColumnGroup" }
5918
5938
  ]
@@ -6240,6 +6260,39 @@ const componentBasicUiSchema = (theme) => {
6240
6260
  }
6241
6261
  }
6242
6262
  },
6263
+ {
6264
+ type: "Control",
6265
+ scope: "#/properties/columnFormat",
6266
+ options: {
6267
+ widget: "SelectInputField"
6268
+ },
6269
+ config: {
6270
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6271
+ main: {
6272
+ label: "Column Format"
6273
+ }
6274
+ }
6275
+ },
6276
+ {
6277
+ type: "Control",
6278
+ scope: "#/properties/proc",
6279
+ config: {
6280
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6281
+ },
6282
+ options: {
6283
+ widget: "EmptyBox"
6284
+ }
6285
+ },
6286
+ {
6287
+ type: "Control",
6288
+ scope: "#/properties/proc",
6289
+ config: {
6290
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6291
+ },
6292
+ options: {
6293
+ widget: "EmptyBox"
6294
+ }
6295
+ },
6243
6296
  {
6244
6297
  type: "Control",
6245
6298
  scope: "#/properties/layout",
@@ -6279,12 +6332,12 @@ const componentBasicUiSchema = (theme) => {
6279
6332
  },
6280
6333
  {
6281
6334
  type: "Control",
6282
- scope: "#/properties/emptyBox",
6335
+ scope: "#/properties/proc",
6336
+ config: {
6337
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6338
+ },
6283
6339
  options: {
6284
6340
  widget: "EmptyBox"
6285
- },
6286
- config: {
6287
- layout: { xs: 0, sm: 4 }
6288
6341
  }
6289
6342
  }
6290
6343
  ]
@@ -6521,12 +6574,7 @@ const CoreSection = {
6521
6574
  widget: "SelectInputField"
6522
6575
  },
6523
6576
  config: {
6524
- layout: {
6525
- xs: 12,
6526
- sm: 12,
6527
- md: 6,
6528
- lg: 6
6529
- },
6577
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6530
6578
  main: {
6531
6579
  label: "Column Format"
6532
6580
  }
@@ -6536,7 +6584,17 @@ const CoreSection = {
6536
6584
  type: "Control",
6537
6585
  scope: "#/properties/proc",
6538
6586
  config: {
6539
- layout: { xs: 11, sm: 11, md: 6, lg: 6 }
6587
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6588
+ },
6589
+ options: {
6590
+ widget: "EmptyBox"
6591
+ }
6592
+ },
6593
+ {
6594
+ type: "Control",
6595
+ scope: "#/properties/proc",
6596
+ config: {
6597
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6540
6598
  },
6541
6599
  options: {
6542
6600
  widget: "EmptyBox"
@@ -6582,12 +6640,12 @@ const CoreSection = {
6582
6640
  },
6583
6641
  {
6584
6642
  type: "Control",
6585
- scope: "#/properties/emptyBox",
6643
+ scope: "#/properties/proc",
6644
+ config: {
6645
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6646
+ },
6586
6647
  options: {
6587
6648
  widget: "EmptyBox"
6588
- },
6589
- config: {
6590
- layout: { xs: 0, sm: 4 }
6591
6649
  }
6592
6650
  }
6593
6651
  ]
@@ -6694,15 +6752,16 @@ const EventSection = {
6694
6752
  }
6695
6753
  ]
6696
6754
  };
6697
- const EmptyBox = {
6755
+ var emptyBox = {
6698
6756
  type: "Control",
6699
- scope: `#/properties/empty`,
6757
+ scope: "#/properties/emptyBox",
6700
6758
  options: {
6701
6759
  widget: "EmptyBox"
6702
6760
  },
6703
6761
  config: {
6704
6762
  layout: { xs: 0, sm: 4, md: 4, lg: 4 },
6705
- main: {}
6763
+ main: {},
6764
+ style: {}
6706
6765
  }
6707
6766
  };
6708
6767
  const cardLayout = {
@@ -6742,7 +6801,7 @@ const cardLayout = {
6742
6801
  }
6743
6802
  }
6744
6803
  },
6745
- EmptyBox
6804
+ emptyBox
6746
6805
  ]
6747
6806
  }
6748
6807
  }
@@ -6751,7 +6810,7 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
6751
6810
  return {
6752
6811
  type: "Control",
6753
6812
  scope: `#/properties/${parentScope}`,
6754
- layout: 11.5,
6813
+ layout: 12,
6755
6814
  options: {
6756
6815
  "elementLabelProp": childScope,
6757
6816
  detail: {
@@ -6770,8 +6829,8 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
6770
6829
  }
6771
6830
  }
6772
6831
  },
6773
- EmptyBox,
6774
- EmptyBox
6832
+ emptyBox,
6833
+ emptyBox
6775
6834
  ]
6776
6835
  }
6777
6836
  }
@@ -6791,6 +6850,7 @@ sizeHolder.options.detail.elements[1] = {
6791
6850
  }
6792
6851
  }
6793
6852
  };
6853
+ sizeHolder.options.detail.elements[2] = emptyBox;
6794
6854
  const getInputField = (scope, label) => {
6795
6855
  return {
6796
6856
  type: "Control",
@@ -6878,7 +6938,8 @@ const buildPropertiesSection = function(type) {
6878
6938
  getInputField("linkType", "linkType"),
6879
6939
  getInputField("graphHeight", "Graph Height"),
6880
6940
  getInputField("graphWidth", "Graph Width"),
6881
- getInputField("graphZoomHeight", "Zoom Height")
6941
+ getInputField("graphZoomHeight", "Zoom Height"),
6942
+ emptyBox
6882
6943
  ];
6883
6944
  break;
6884
6945
  case "InputSlider":
@@ -6886,7 +6947,9 @@ const buildPropertiesSection = function(type) {
6886
6947
  getInputField("max", "Max Limit"),
6887
6948
  getInputField("step", "Step"),
6888
6949
  getInputField("min", "Min Limit"),
6889
- getRadioInputField("limitToMax", "Applly Max. Limit", ["YES", "NO"])
6950
+ getRadioInputField("limitToMax", "Applly Max. Limit", ["YES", "NO"]),
6951
+ emptyBox,
6952
+ emptyBox
6890
6953
  ];
6891
6954
  break;
6892
6955
  case "DataGrid":
@@ -6895,8 +6958,8 @@ const buildPropertiesSection = function(type) {
6895
6958
  getInputField("elevation", "Card Elevation"),
6896
6959
  getInputField("height", "Grid height"),
6897
6960
  getInputField("justifyContent", "justifyContent"),
6898
- EmptyBox,
6899
- EmptyBox,
6961
+ emptyBox,
6962
+ emptyBox,
6900
6963
  cardLayout
6901
6964
  ];
6902
6965
  break;
@@ -6907,7 +6970,7 @@ const buildPropertiesSection = function(type) {
6907
6970
  getInputField("resetText", "Reset Text"),
6908
6971
  getInputField("completeText", "Complete Text"),
6909
6972
  getSelectField("orientation", "Orientation Type"),
6910
- EmptyBox,
6973
+ emptyBox,
6911
6974
  getArrayControl("sectionLabels", "label")
6912
6975
  ];
6913
6976
  break;
@@ -6915,23 +6978,22 @@ const buildPropertiesSection = function(type) {
6915
6978
  uiSchema.elements = [
6916
6979
  getRadioInputField("fullScreen", "FullScreen", ["YES", "NO"]),
6917
6980
  getRadioInputField("fullWidth", "FullWidth", ["YES", "NO"]),
6918
- getInputField("maxWidth", "Max. Width"),
6919
- EmptyBox
6981
+ getInputField("maxWidth", "Max. Width")
6920
6982
  ];
6921
6983
  break;
6922
6984
  case "Text":
6923
6985
  uiSchema.elements = [
6924
6986
  getInputField("placeholder", "Placeholder"),
6925
- EmptyBox,
6926
- EmptyBox,
6987
+ emptyBox,
6988
+ emptyBox,
6927
6989
  getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
6928
6990
  ];
6929
6991
  break;
6930
6992
  case "TextArea":
6931
6993
  uiSchema.elements = [
6932
6994
  getInputField("placeholder", "Placeholder"),
6933
- EmptyBox,
6934
- EmptyBox
6995
+ emptyBox,
6996
+ emptyBox
6935
6997
  ];
6936
6998
  break;
6937
6999
  case "SpeedoMeter":
@@ -6941,7 +7003,7 @@ const buildPropertiesSection = function(type) {
6941
7003
  getInputField("heading", "Container Heading"),
6942
7004
  getInputField("speedoCaption", "Speedometer Caption"),
6943
7005
  getInputField("width", "Speedometer Width"),
6944
- EmptyBox
7006
+ emptyBox
6945
7007
  ];
6946
7008
  break;
6947
7009
  case "RankCard":
@@ -6950,8 +7012,8 @@ const buildPropertiesSection = function(type) {
6950
7012
  getInputField("image", "Image Url"),
6951
7013
  getInputField("title", "Card Title"),
6952
7014
  getInputField("description", "Card Description"),
6953
- EmptyBox,
6954
- EmptyBox
7015
+ emptyBox,
7016
+ emptyBox
6955
7017
  ];
6956
7018
  break;
6957
7019
  case "LeaderBoard":
@@ -6960,8 +7022,8 @@ const buildPropertiesSection = function(type) {
6960
7022
  getInputField("firstImage", "First Image url"),
6961
7023
  getInputField("secondImage", "Second Image url"),
6962
7024
  getInputField("thirdImage", "Third Image url"),
6963
- EmptyBox,
6964
- EmptyBox,
7025
+ emptyBox,
7026
+ emptyBox,
6965
7027
  getTextArea("functionCode", "Write Compare Code", false)
6966
7028
  ];
6967
7029
  break;
@@ -6978,8 +7040,8 @@ const buildPropertiesSection = function(type) {
6978
7040
  getInputField("bottomLabel_1", "First BottomLabel"),
6979
7041
  getInputField("bottomLabel_2", "Second BottomLabel"),
6980
7042
  getInputField("bottomLabel_3", "Third BottomLabel"),
6981
- EmptyBox,
6982
- EmptyBox
7043
+ emptyBox,
7044
+ emptyBox
6983
7045
  ];
6984
7046
  break;
6985
7047
  case "card":
@@ -6987,7 +7049,7 @@ const buildPropertiesSection = function(type) {
6987
7049
  getInputField("url", "Image Url"),
6988
7050
  getInputField("label", "Label"),
6989
7051
  getInputField("description", "Description"),
6990
- EmptyBox
7052
+ emptyBox
6991
7053
  ];
6992
7054
  break;
6993
7055
  case "Button":
@@ -6997,7 +7059,7 @@ const buildPropertiesSection = function(type) {
6997
7059
  getSelectField("color", "Color"),
6998
7060
  getInputField("tooltipMessage", "Tooltip Message"),
6999
7061
  getSelectField("defaultStyle", "Default Style"),
7000
- EmptyBox
7062
+ emptyBox
7001
7063
  ];
7002
7064
  break;
7003
7065
  case "Graph":
@@ -7010,6 +7072,7 @@ const buildPropertiesSection = function(type) {
7010
7072
  getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
7011
7073
  getInputField("yAxisValue", "Y-AxisValue"),
7012
7074
  getInputField("xAxisValue", "X-AxisValue"),
7075
+ emptyBox,
7013
7076
  getArrayControl("legendLabels", "label"),
7014
7077
  getArrayControl("pieArcColors", "color")
7015
7078
  ];
@@ -7019,13 +7082,16 @@ const buildPropertiesSection = function(type) {
7019
7082
  getRadioInputField("divider", "Divider", ["YES", "No"]),
7020
7083
  getRadioInputField("isAccordion", "Accordion", ["YES", "No"]),
7021
7084
  getRadioInputField("defaultStyle", "Default Style", ["YES", "No"]),
7022
- getInputField("rowSpacing", "Row Spacing")
7085
+ getInputField("rowSpacing", "Row Spacing"),
7086
+ emptyBox,
7087
+ emptyBox
7023
7088
  ];
7024
7089
  break;
7025
7090
  case "TabSection":
7026
7091
  uiSchema.elements = [
7027
7092
  getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
7028
7093
  getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
7094
+ emptyBox,
7029
7095
  getArrayControl("sectionLabels", "label")
7030
7096
  ];
7031
7097
  break;
@@ -7051,14 +7117,14 @@ const buildPropertiesSection = function(type) {
7051
7117
  uiSchema.elements = [
7052
7118
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
7053
7119
  getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
7054
- EmptyBox
7120
+ emptyBox
7055
7121
  ];
7056
7122
  break;
7057
7123
  case "MultipleSelect":
7058
7124
  uiSchema.elements = [
7059
7125
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
7060
- EmptyBox,
7061
- EmptyBox
7126
+ emptyBox,
7127
+ emptyBox
7062
7128
  ];
7063
7129
  break;
7064
7130
  }
@@ -7200,7 +7266,7 @@ const ValueTab = {
7200
7266
  {
7201
7267
  type: "Control",
7202
7268
  scope: "#/properties/value",
7203
- layout: 11.5,
7269
+ layout: 12,
7204
7270
  options: {
7205
7271
  detail: {
7206
7272
  type: "HorizontalLayout",
@@ -7486,14 +7552,14 @@ const refreshPage = (type, store2) => {
7486
7552
  const sectionUiSchema = {
7487
7553
  Core: CoreSection,
7488
7554
  Value: ValueTab,
7489
- style: StyleSection,
7555
+ Style: StyleSection,
7490
7556
  Event: EventSection,
7491
7557
  Components: TableSection,
7492
7558
  Properties: buildPropertiesSection(type),
7493
7559
  Validation: ValidationSection
7494
7560
  };
7495
7561
  const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
7496
- UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "style", "Event", "Validation"];
7562
+ UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Event", "Validation"];
7497
7563
  UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection, ValidationSection];
7498
7564
  }
7499
7565
  store2.setUiSchema(UiSchema);
@@ -7793,28 +7859,15 @@ const EventUiSchema = (theme) => {
7793
7859
  }
7794
7860
  }
7795
7861
  },
7862
+ getSelectField("Handler", "Handler"),
7796
7863
  {
7797
7864
  type: "Control",
7798
- scope: `#/properties/Handler`,
7799
- options: {
7800
- widget: "SelectInputField"
7801
- },
7802
- config: {
7803
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
7804
- main: {
7805
- label: "Handler",
7806
- type: "text"
7807
- }
7808
- }
7809
- },
7810
- {
7811
- type: "Control",
7812
- scope: "#/properties/emptyBox",
7865
+ scope: "#/properties/EmptyBox",
7813
7866
  options: {
7814
7867
  widget: "EmptyBox"
7815
7868
  },
7816
7869
  config: {
7817
- layout: { xs: 0, sm: 4 }
7870
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
7818
7871
  }
7819
7872
  }
7820
7873
  ]
@@ -7877,6 +7930,7 @@ const EventUiSchema = (theme) => {
7877
7930
  },
7878
7931
  config: {
7879
7932
  main: {
7933
+ color: "info",
7880
7934
  size: "small",
7881
7935
  icon: "EditIcon",
7882
7936
  tooltipMessage: "Edit This Record",
@@ -8265,6 +8319,17 @@ const refreshSectionUiSchema = {
8265
8319
  }
8266
8320
  }
8267
8321
  },
8322
+ {
8323
+ type: "Control",
8324
+ scope: "#/properties/emptyBox",
8325
+ options: {
8326
+ widget: "EmptyBox"
8327
+ },
8328
+ config: {
8329
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
8330
+ main: {}
8331
+ }
8332
+ },
8268
8333
  {
8269
8334
  type: "Control",
8270
8335
  scope: "#/properties/emptyBox",
@@ -8282,18 +8347,6 @@ const refreshSectionUiSchema = {
8282
8347
  }
8283
8348
  ]
8284
8349
  };
8285
- var emptyBox = {
8286
- type: "Control",
8287
- scope: "#/properties/emptyBox",
8288
- options: {
8289
- widget: "EmptyBox"
8290
- },
8291
- config: {
8292
- layout: { xs: 0, sm: 4, md: 4, lg: 4 },
8293
- main: {},
8294
- style: {}
8295
- }
8296
- };
8297
8350
  var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8298
8351
  return {
8299
8352
  setPage: async function() {
@@ -8308,18 +8361,19 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8308
8361
  const schema2 = _.cloneDeep(EventSchema);
8309
8362
  if (handlerType) {
8310
8363
  if (handlerType === "custom") {
8311
- uiSchema.elements[1].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
8312
- uiSchema.elements[1].elements[0].elements[3] = emptyBox;
8364
+ uiSchema.elements[0].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
8313
8365
  uiSchema.elements[0].elements[0].elements[3] = getTextArea("eventCode", "Write Custom Code", false);
8314
8366
  schema2.required = ["eventType", "Handler", "eventCode"];
8315
8367
  } else if (handlerType === "api") {
8368
+ uiSchema.elements[0].elements[0].elements[2] = emptyBox;
8316
8369
  uiSchema.elements[0].elements[0].elements[3] = APISection;
8317
8370
  schema2.required = ["eventType", "Handler", "method", "path"];
8318
8371
  } else if (handlerType === "inBuiltFunction") {
8319
8372
  uiSchema.elements[0].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
8320
- uiSchema.elements[0].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true, 12);
8373
+ uiSchema.elements[0].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
8321
8374
  schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
8322
8375
  } else if (handlerType === "refresh") {
8376
+ uiSchema.elements[0].elements[0].elements[2] = emptyBox;
8323
8377
  uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
8324
8378
  schema2.properties.refreshElements.required = ["value"];
8325
8379
  schema2.properties.refreshElements.items.required = ["value"];
@@ -8336,8 +8390,8 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8336
8390
  store22.setUiSchema(uiSchema);
8337
8391
  },
8338
8392
  getFormData: Component(store2, dynamicData2, submitHandler, service2).getFormdata,
8339
- getUiSchema: async function() {
8340
- return await EventUiSchema(store2.theme.myTheme);
8393
+ getUiSchema: function() {
8394
+ return EventUiSchema;
8341
8395
  },
8342
8396
  getSchema: () => {
8343
8397
  return EventSchema;
@@ -9393,7 +9447,7 @@ const LineGraph = {
9393
9447
  leftLabel: "Incentive",
9394
9448
  gridHidden: true,
9395
9449
  numHidden: false,
9396
- tooltipDataKey: ["First", "Second", "Third"],
9450
+ tooltipDataKey: ["MAMA New Project", "Second", "Third"],
9397
9451
  axisLeft: true,
9398
9452
  axisBottom: true,
9399
9453
  hideLeftAxisLine: false,
@@ -9651,7 +9705,8 @@ var WrapperSection = {
9651
9705
  config: {
9652
9706
  main: {
9653
9707
  rowSpacing: 3,
9654
- divider: true
9708
+ divider: true,
9709
+ label: "Default Label"
9655
9710
  },
9656
9711
  defaultStyle: true
9657
9712
  },
@@ -10005,14 +10060,16 @@ var Card = {
10005
10060
  main: {
10006
10061
  rowSpacing: 0.5
10007
10062
  },
10008
- componentsBoxStyle: {
10009
- position: "relative",
10010
- color: "white",
10011
- height: { xs: "120px", md: "160px" },
10012
- width: "100%",
10013
- textAlign: "left",
10014
- background: "#3f51b5",
10015
- borderRadius: "20px"
10063
+ style: {
10064
+ componentsBoxStyle: {
10065
+ position: "relative",
10066
+ color: "white",
10067
+ height: { xs: "120px", md: "160px" },
10068
+ width: "100%",
10069
+ textAlign: "left",
10070
+ background: "#3f51b5",
10071
+ borderRadius: "20px"
10072
+ }
10016
10073
  },
10017
10074
  layout: { xs: 12, sm: 12, md: 6, lg: 6 }
10018
10075
  },
@@ -10138,12 +10195,7 @@ const DateTime = {
10138
10195
  widget: "DateTimeInputField"
10139
10196
  },
10140
10197
  config: {
10141
- layout: {
10142
- xs: 11,
10143
- sm: 11,
10144
- md: 5.5,
10145
- lg: 5.5
10146
- },
10198
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
10147
10199
  main: {
10148
10200
  label: "DateTime",
10149
10201
  type: "date"
@@ -10303,7 +10355,7 @@ const buildBasicUiSchema = (config) => {
10303
10355
  pageName: config.name,
10304
10356
  name: config.name,
10305
10357
  accessorKey: config.name,
10306
- header: config.label || config.name,
10358
+ headeing: config.label || config.name,
10307
10359
  "elements": []
10308
10360
  };
10309
10361
  };
@@ -10460,11 +10512,11 @@ const buildRadio = (config, componentScope) => {
10460
10512
  return Radio;
10461
10513
  };
10462
10514
  const buildEmptyBox = (config, componentScope) => {
10463
- const EmptyBox2 = _.cloneDeep(emptyBox);
10515
+ const EmptyBox = _.cloneDeep(emptyBox);
10464
10516
  if (config.layout) {
10465
- EmptyBox2.config.layout = createLayoutFormat(config.layout);
10517
+ EmptyBox.config.layout = createLayoutFormat(config.layout);
10466
10518
  }
10467
- return EmptyBox2;
10519
+ return EmptyBox;
10468
10520
  };
10469
10521
  const ArrayUiSchema = {
10470
10522
  type: "Control",