impaktapps-ui-builder 0.0.412-mtreemap.1 → 0.0.412-mtreemap.10
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.
- package/dist/impaktapps-ui-builder.es.js +347 -297
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +9 -9
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +12 -10
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +5 -5
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +27 -26
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +2 -0
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +37 -38
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +10 -9
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +21 -28
- package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -8
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +155 -102
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +14 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +1 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +0 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +318 -285
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +346 -208
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +70 -23
- package/src/impaktapps-ui-builder/builder/services/component.ts +17 -17
- package/src/impaktapps-ui-builder/builder/services/event.ts +7 -5
- 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/
|
|
82
|
+
scope: "#/properties/template",
|
|
83
83
|
options: {
|
|
84
|
-
widget: "
|
|
84
|
+
widget: "SelectInputField"
|
|
85
85
|
},
|
|
86
86
|
config: {
|
|
87
87
|
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
88
88
|
main: {
|
|
89
|
-
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/
|
|
102
|
+
scope: "#/properties/label",
|
|
99
103
|
options: {
|
|
100
|
-
widget: "
|
|
104
|
+
widget: "InputField"
|
|
101
105
|
},
|
|
102
106
|
config: {
|
|
103
|
-
layout: { xs:
|
|
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: "
|
|
129
|
+
type: "Control",
|
|
130
|
+
scope: "#/properties/elements",
|
|
131
|
+
options: {
|
|
132
|
+
widget: "Table"
|
|
133
|
+
},
|
|
108
134
|
config: {
|
|
109
135
|
main: {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
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
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
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
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
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
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
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/
|
|
219
|
+
scope: "#/properties/events",
|
|
299
220
|
options: {
|
|
300
|
-
widget: "
|
|
221
|
+
widget: "Table"
|
|
301
222
|
},
|
|
302
223
|
config: {
|
|
303
|
-
layout: 11.9,
|
|
304
224
|
main: {
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
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
|
-
|
|
313
|
-
|
|
314
|
-
|
|
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/
|
|
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:
|
|
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/
|
|
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
|
-
|
|
6755
|
+
var emptyBox = {
|
|
6698
6756
|
type: "Control",
|
|
6699
|
-
scope:
|
|
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
|
-
|
|
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:
|
|
6813
|
+
layout: 12,
|
|
6755
6814
|
options: {
|
|
6756
6815
|
"elementLabelProp": childScope,
|
|
6757
6816
|
detail: {
|
|
@@ -6770,8 +6829,7 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
|
6770
6829
|
}
|
|
6771
6830
|
}
|
|
6772
6831
|
},
|
|
6773
|
-
|
|
6774
|
-
EmptyBox
|
|
6832
|
+
emptyBox
|
|
6775
6833
|
]
|
|
6776
6834
|
}
|
|
6777
6835
|
}
|
|
@@ -6878,7 +6936,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6878
6936
|
getInputField("linkType", "linkType"),
|
|
6879
6937
|
getInputField("graphHeight", "Graph Height"),
|
|
6880
6938
|
getInputField("graphWidth", "Graph Width"),
|
|
6881
|
-
getInputField("graphZoomHeight", "Zoom Height")
|
|
6939
|
+
getInputField("graphZoomHeight", "Zoom Height"),
|
|
6940
|
+
emptyBox
|
|
6882
6941
|
];
|
|
6883
6942
|
break;
|
|
6884
6943
|
case "InputSlider":
|
|
@@ -6886,7 +6945,9 @@ const buildPropertiesSection = function(type) {
|
|
|
6886
6945
|
getInputField("max", "Max Limit"),
|
|
6887
6946
|
getInputField("step", "Step"),
|
|
6888
6947
|
getInputField("min", "Min Limit"),
|
|
6889
|
-
getRadioInputField("limitToMax", "Applly Max. Limit", ["YES", "NO"])
|
|
6948
|
+
getRadioInputField("limitToMax", "Applly Max. Limit", ["YES", "NO"]),
|
|
6949
|
+
emptyBox,
|
|
6950
|
+
emptyBox
|
|
6890
6951
|
];
|
|
6891
6952
|
break;
|
|
6892
6953
|
case "DataGrid":
|
|
@@ -6895,8 +6956,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6895
6956
|
getInputField("elevation", "Card Elevation"),
|
|
6896
6957
|
getInputField("height", "Grid height"),
|
|
6897
6958
|
getInputField("justifyContent", "justifyContent"),
|
|
6898
|
-
|
|
6899
|
-
|
|
6959
|
+
emptyBox,
|
|
6960
|
+
emptyBox,
|
|
6900
6961
|
cardLayout
|
|
6901
6962
|
];
|
|
6902
6963
|
break;
|
|
@@ -6907,7 +6968,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6907
6968
|
getInputField("resetText", "Reset Text"),
|
|
6908
6969
|
getInputField("completeText", "Complete Text"),
|
|
6909
6970
|
getSelectField("orientation", "Orientation Type"),
|
|
6910
|
-
|
|
6971
|
+
emptyBox,
|
|
6911
6972
|
getArrayControl("sectionLabels", "label")
|
|
6912
6973
|
];
|
|
6913
6974
|
break;
|
|
@@ -6915,23 +6976,22 @@ const buildPropertiesSection = function(type) {
|
|
|
6915
6976
|
uiSchema.elements = [
|
|
6916
6977
|
getRadioInputField("fullScreen", "FullScreen", ["YES", "NO"]),
|
|
6917
6978
|
getRadioInputField("fullWidth", "FullWidth", ["YES", "NO"]),
|
|
6918
|
-
getInputField("maxWidth", "Max. Width")
|
|
6919
|
-
EmptyBox
|
|
6979
|
+
getInputField("maxWidth", "Max. Width")
|
|
6920
6980
|
];
|
|
6921
6981
|
break;
|
|
6922
6982
|
case "Text":
|
|
6923
6983
|
uiSchema.elements = [
|
|
6924
6984
|
getInputField("placeholder", "Placeholder"),
|
|
6925
|
-
|
|
6926
|
-
|
|
6985
|
+
emptyBox,
|
|
6986
|
+
emptyBox,
|
|
6927
6987
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
|
|
6928
6988
|
];
|
|
6929
6989
|
break;
|
|
6930
6990
|
case "TextArea":
|
|
6931
6991
|
uiSchema.elements = [
|
|
6932
6992
|
getInputField("placeholder", "Placeholder"),
|
|
6933
|
-
|
|
6934
|
-
|
|
6993
|
+
emptyBox,
|
|
6994
|
+
emptyBox
|
|
6935
6995
|
];
|
|
6936
6996
|
break;
|
|
6937
6997
|
case "SpeedoMeter":
|
|
@@ -6941,7 +7001,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6941
7001
|
getInputField("heading", "Container Heading"),
|
|
6942
7002
|
getInputField("speedoCaption", "Speedometer Caption"),
|
|
6943
7003
|
getInputField("width", "Speedometer Width"),
|
|
6944
|
-
|
|
7004
|
+
emptyBox
|
|
6945
7005
|
];
|
|
6946
7006
|
break;
|
|
6947
7007
|
case "RankCard":
|
|
@@ -6950,8 +7010,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6950
7010
|
getInputField("image", "Image Url"),
|
|
6951
7011
|
getInputField("title", "Card Title"),
|
|
6952
7012
|
getInputField("description", "Card Description"),
|
|
6953
|
-
|
|
6954
|
-
|
|
7013
|
+
emptyBox,
|
|
7014
|
+
emptyBox
|
|
6955
7015
|
];
|
|
6956
7016
|
break;
|
|
6957
7017
|
case "LeaderBoard":
|
|
@@ -6960,8 +7020,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6960
7020
|
getInputField("firstImage", "First Image url"),
|
|
6961
7021
|
getInputField("secondImage", "Second Image url"),
|
|
6962
7022
|
getInputField("thirdImage", "Third Image url"),
|
|
6963
|
-
|
|
6964
|
-
|
|
7023
|
+
emptyBox,
|
|
7024
|
+
emptyBox,
|
|
6965
7025
|
getTextArea("functionCode", "Write Compare Code", false)
|
|
6966
7026
|
];
|
|
6967
7027
|
break;
|
|
@@ -6978,8 +7038,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6978
7038
|
getInputField("bottomLabel_1", "First BottomLabel"),
|
|
6979
7039
|
getInputField("bottomLabel_2", "Second BottomLabel"),
|
|
6980
7040
|
getInputField("bottomLabel_3", "Third BottomLabel"),
|
|
6981
|
-
|
|
6982
|
-
|
|
7041
|
+
emptyBox,
|
|
7042
|
+
emptyBox
|
|
6983
7043
|
];
|
|
6984
7044
|
break;
|
|
6985
7045
|
case "card":
|
|
@@ -6987,7 +7047,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6987
7047
|
getInputField("url", "Image Url"),
|
|
6988
7048
|
getInputField("label", "Label"),
|
|
6989
7049
|
getInputField("description", "Description"),
|
|
6990
|
-
|
|
7050
|
+
emptyBox
|
|
6991
7051
|
];
|
|
6992
7052
|
break;
|
|
6993
7053
|
case "Button":
|
|
@@ -6997,7 +7057,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6997
7057
|
getSelectField("color", "Color"),
|
|
6998
7058
|
getInputField("tooltipMessage", "Tooltip Message"),
|
|
6999
7059
|
getSelectField("defaultStyle", "Default Style"),
|
|
7000
|
-
|
|
7060
|
+
emptyBox
|
|
7001
7061
|
];
|
|
7002
7062
|
break;
|
|
7003
7063
|
case "Graph":
|
|
@@ -7010,6 +7070,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7010
7070
|
getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
|
|
7011
7071
|
getInputField("yAxisValue", "Y-AxisValue"),
|
|
7012
7072
|
getInputField("xAxisValue", "X-AxisValue"),
|
|
7073
|
+
emptyBox,
|
|
7013
7074
|
getArrayControl("legendLabels", "label"),
|
|
7014
7075
|
getArrayControl("pieArcColors", "color")
|
|
7015
7076
|
];
|
|
@@ -7019,13 +7080,16 @@ const buildPropertiesSection = function(type) {
|
|
|
7019
7080
|
getRadioInputField("divider", "Divider", ["YES", "No"]),
|
|
7020
7081
|
getRadioInputField("isAccordion", "Accordion", ["YES", "No"]),
|
|
7021
7082
|
getRadioInputField("defaultStyle", "Default Style", ["YES", "No"]),
|
|
7022
|
-
getInputField("rowSpacing", "Row Spacing")
|
|
7083
|
+
getInputField("rowSpacing", "Row Spacing"),
|
|
7084
|
+
emptyBox,
|
|
7085
|
+
emptyBox
|
|
7023
7086
|
];
|
|
7024
7087
|
break;
|
|
7025
7088
|
case "TabSection":
|
|
7026
7089
|
uiSchema.elements = [
|
|
7027
7090
|
getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
|
|
7028
7091
|
getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
|
|
7092
|
+
emptyBox,
|
|
7029
7093
|
getArrayControl("sectionLabels", "label")
|
|
7030
7094
|
];
|
|
7031
7095
|
break;
|
|
@@ -7051,14 +7115,14 @@ const buildPropertiesSection = function(type) {
|
|
|
7051
7115
|
uiSchema.elements = [
|
|
7052
7116
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7053
7117
|
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
|
|
7054
|
-
|
|
7118
|
+
emptyBox
|
|
7055
7119
|
];
|
|
7056
7120
|
break;
|
|
7057
7121
|
case "MultipleSelect":
|
|
7058
7122
|
uiSchema.elements = [
|
|
7059
7123
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7060
|
-
|
|
7061
|
-
|
|
7124
|
+
emptyBox,
|
|
7125
|
+
emptyBox
|
|
7062
7126
|
];
|
|
7063
7127
|
break;
|
|
7064
7128
|
}
|
|
@@ -7200,7 +7264,7 @@ const ValueTab = {
|
|
|
7200
7264
|
{
|
|
7201
7265
|
type: "Control",
|
|
7202
7266
|
scope: "#/properties/value",
|
|
7203
|
-
layout:
|
|
7267
|
+
layout: 12,
|
|
7204
7268
|
options: {
|
|
7205
7269
|
detail: {
|
|
7206
7270
|
type: "HorizontalLayout",
|
|
@@ -7486,14 +7550,14 @@ const refreshPage = (type, store2) => {
|
|
|
7486
7550
|
const sectionUiSchema = {
|
|
7487
7551
|
Core: CoreSection,
|
|
7488
7552
|
Value: ValueTab,
|
|
7489
|
-
|
|
7553
|
+
Style: StyleSection,
|
|
7490
7554
|
Event: EventSection,
|
|
7491
7555
|
Components: TableSection,
|
|
7492
7556
|
Properties: buildPropertiesSection(type),
|
|
7493
7557
|
Validation: ValidationSection
|
|
7494
7558
|
};
|
|
7495
7559
|
const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
|
|
7496
|
-
UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "
|
|
7560
|
+
UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Event", "Validation"];
|
|
7497
7561
|
UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection, ValidationSection];
|
|
7498
7562
|
}
|
|
7499
7563
|
store2.setUiSchema(UiSchema);
|
|
@@ -7793,28 +7857,15 @@ const EventUiSchema = (theme) => {
|
|
|
7793
7857
|
}
|
|
7794
7858
|
}
|
|
7795
7859
|
},
|
|
7860
|
+
getSelectField("Handler", "Handler"),
|
|
7796
7861
|
{
|
|
7797
7862
|
type: "Control",
|
|
7798
|
-
scope:
|
|
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",
|
|
7863
|
+
scope: "#/properties/EmptyBox",
|
|
7813
7864
|
options: {
|
|
7814
7865
|
widget: "EmptyBox"
|
|
7815
7866
|
},
|
|
7816
7867
|
config: {
|
|
7817
|
-
layout: { xs: 0, sm: 4 }
|
|
7868
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7818
7869
|
}
|
|
7819
7870
|
}
|
|
7820
7871
|
]
|
|
@@ -7877,6 +7928,7 @@ const EventUiSchema = (theme) => {
|
|
|
7877
7928
|
},
|
|
7878
7929
|
config: {
|
|
7879
7930
|
main: {
|
|
7931
|
+
color: "info",
|
|
7880
7932
|
size: "small",
|
|
7881
7933
|
icon: "EditIcon",
|
|
7882
7934
|
tooltipMessage: "Edit This Record",
|
|
@@ -8265,6 +8317,17 @@ const refreshSectionUiSchema = {
|
|
|
8265
8317
|
}
|
|
8266
8318
|
}
|
|
8267
8319
|
},
|
|
8320
|
+
{
|
|
8321
|
+
type: "Control",
|
|
8322
|
+
scope: "#/properties/emptyBox",
|
|
8323
|
+
options: {
|
|
8324
|
+
widget: "EmptyBox"
|
|
8325
|
+
},
|
|
8326
|
+
config: {
|
|
8327
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
8328
|
+
main: {}
|
|
8329
|
+
}
|
|
8330
|
+
},
|
|
8268
8331
|
{
|
|
8269
8332
|
type: "Control",
|
|
8270
8333
|
scope: "#/properties/emptyBox",
|
|
@@ -8282,18 +8345,6 @@ const refreshSectionUiSchema = {
|
|
|
8282
8345
|
}
|
|
8283
8346
|
]
|
|
8284
8347
|
};
|
|
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
8348
|
var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
8298
8349
|
return {
|
|
8299
8350
|
setPage: async function() {
|
|
@@ -8308,18 +8359,19 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
8308
8359
|
const schema2 = _.cloneDeep(EventSchema);
|
|
8309
8360
|
if (handlerType) {
|
|
8310
8361
|
if (handlerType === "custom") {
|
|
8311
|
-
uiSchema.elements[
|
|
8312
|
-
uiSchema.elements[1].elements[0].elements[3] = emptyBox;
|
|
8362
|
+
uiSchema.elements[0].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
|
|
8313
8363
|
uiSchema.elements[0].elements[0].elements[3] = getTextArea("eventCode", "Write Custom Code", false);
|
|
8314
8364
|
schema2.required = ["eventType", "Handler", "eventCode"];
|
|
8315
8365
|
} else if (handlerType === "api") {
|
|
8366
|
+
uiSchema.elements[0].elements[0].elements[2] = emptyBox;
|
|
8316
8367
|
uiSchema.elements[0].elements[0].elements[3] = APISection;
|
|
8317
8368
|
schema2.required = ["eventType", "Handler", "method", "path"];
|
|
8318
8369
|
} else if (handlerType === "inBuiltFunction") {
|
|
8319
8370
|
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
|
|
8371
|
+
uiSchema.elements[0].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
|
|
8321
8372
|
schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
|
|
8322
8373
|
} else if (handlerType === "refresh") {
|
|
8374
|
+
uiSchema.elements[0].elements[0].elements[2] = emptyBox;
|
|
8323
8375
|
uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
|
|
8324
8376
|
schema2.properties.refreshElements.required = ["value"];
|
|
8325
8377
|
schema2.properties.refreshElements.items.required = ["value"];
|
|
@@ -8336,8 +8388,8 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
8336
8388
|
store22.setUiSchema(uiSchema);
|
|
8337
8389
|
},
|
|
8338
8390
|
getFormData: Component(store2, dynamicData2, submitHandler, service2).getFormdata,
|
|
8339
|
-
getUiSchema:
|
|
8340
|
-
return
|
|
8391
|
+
getUiSchema: function() {
|
|
8392
|
+
return EventUiSchema;
|
|
8341
8393
|
},
|
|
8342
8394
|
getSchema: () => {
|
|
8343
8395
|
return EventSchema;
|
|
@@ -9393,7 +9445,7 @@ const LineGraph = {
|
|
|
9393
9445
|
leftLabel: "Incentive",
|
|
9394
9446
|
gridHidden: true,
|
|
9395
9447
|
numHidden: false,
|
|
9396
|
-
tooltipDataKey: ["
|
|
9448
|
+
tooltipDataKey: ["MAMA New Project", "Second", "Third"],
|
|
9397
9449
|
axisLeft: true,
|
|
9398
9450
|
axisBottom: true,
|
|
9399
9451
|
hideLeftAxisLine: false,
|
|
@@ -9651,7 +9703,8 @@ var WrapperSection = {
|
|
|
9651
9703
|
config: {
|
|
9652
9704
|
main: {
|
|
9653
9705
|
rowSpacing: 3,
|
|
9654
|
-
divider: true
|
|
9706
|
+
divider: true,
|
|
9707
|
+
label: "Default Label"
|
|
9655
9708
|
},
|
|
9656
9709
|
defaultStyle: true
|
|
9657
9710
|
},
|
|
@@ -10005,14 +10058,16 @@ var Card = {
|
|
|
10005
10058
|
main: {
|
|
10006
10059
|
rowSpacing: 0.5
|
|
10007
10060
|
},
|
|
10008
|
-
|
|
10009
|
-
|
|
10010
|
-
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
|
|
10014
|
-
|
|
10015
|
-
|
|
10061
|
+
style: {
|
|
10062
|
+
componentsBoxStyle: {
|
|
10063
|
+
position: "relative",
|
|
10064
|
+
color: "white",
|
|
10065
|
+
height: { xs: "120px", md: "160px" },
|
|
10066
|
+
width: "100%",
|
|
10067
|
+
textAlign: "left",
|
|
10068
|
+
background: "#3f51b5",
|
|
10069
|
+
borderRadius: "20px"
|
|
10070
|
+
}
|
|
10016
10071
|
},
|
|
10017
10072
|
layout: { xs: 12, sm: 12, md: 6, lg: 6 }
|
|
10018
10073
|
},
|
|
@@ -10138,12 +10193,7 @@ const DateTime = {
|
|
|
10138
10193
|
widget: "DateTimeInputField"
|
|
10139
10194
|
},
|
|
10140
10195
|
config: {
|
|
10141
|
-
layout: {
|
|
10142
|
-
xs: 11,
|
|
10143
|
-
sm: 11,
|
|
10144
|
-
md: 5.5,
|
|
10145
|
-
lg: 5.5
|
|
10146
|
-
},
|
|
10196
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
10147
10197
|
main: {
|
|
10148
10198
|
label: "DateTime",
|
|
10149
10199
|
type: "date"
|
|
@@ -10303,7 +10353,7 @@ const buildBasicUiSchema = (config) => {
|
|
|
10303
10353
|
pageName: config.name,
|
|
10304
10354
|
name: config.name,
|
|
10305
10355
|
accessorKey: config.name,
|
|
10306
|
-
|
|
10356
|
+
headeing: config.label || config.name,
|
|
10307
10357
|
"elements": []
|
|
10308
10358
|
};
|
|
10309
10359
|
};
|
|
@@ -10460,11 +10510,11 @@ const buildRadio = (config, componentScope) => {
|
|
|
10460
10510
|
return Radio;
|
|
10461
10511
|
};
|
|
10462
10512
|
const buildEmptyBox = (config, componentScope) => {
|
|
10463
|
-
const
|
|
10513
|
+
const EmptyBox = _.cloneDeep(emptyBox);
|
|
10464
10514
|
if (config.layout) {
|
|
10465
|
-
|
|
10515
|
+
EmptyBox.config.layout = createLayoutFormat(config.layout);
|
|
10466
10516
|
}
|
|
10467
|
-
return
|
|
10517
|
+
return EmptyBox;
|
|
10468
10518
|
};
|
|
10469
10519
|
const ArrayUiSchema = {
|
|
10470
10520
|
type: "Control",
|