impaktapps-ui-builder 0.0.382-alpha.4 → 0.0.382-alpha.40
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 +800 -862
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +12 -12
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +35 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +15 -18
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +70 -121
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +53 -102
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +17 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +17 -2
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +1 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +3 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +50 -27
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +30 -49
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +16 -36
- package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +1 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/emptyBox.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +78 -51
- package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +2 -12
- package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +84 -56
- package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +12 -12
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +12 -12
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +99 -55
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +200 -203
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +415 -284
- package/src/impaktapps-ui-builder/builder/services/component.ts +2 -2
- package/src/impaktapps-ui-builder/builder/services/event.ts +8 -8
- package/src/impaktapps-ui-builder/runtime/services/service.ts +6 -3
|
@@ -45,16 +45,9 @@ const PageMasterUiSchema = (theme) => {
|
|
|
45
45
|
{
|
|
46
46
|
type: "WrapperLayout",
|
|
47
47
|
config: {
|
|
48
|
-
main: {
|
|
49
|
-
label: "Page Template",
|
|
50
|
-
isAccordion: true
|
|
51
|
-
},
|
|
48
|
+
main: {},
|
|
52
49
|
wrapperStyle: {
|
|
53
|
-
|
|
54
|
-
marginBottom: "-8px"
|
|
55
|
-
},
|
|
56
|
-
componentsBoxStyle: {
|
|
57
|
-
marginLeft: "24px"
|
|
50
|
+
backgroundColor: theme.palette.background.default
|
|
58
51
|
},
|
|
59
52
|
defaultStyle: true
|
|
60
53
|
},
|
|
@@ -102,226 +95,221 @@ const PageMasterUiSchema = (theme) => {
|
|
|
102
95
|
config: {
|
|
103
96
|
layout: { xs: 0, sm: 4 }
|
|
104
97
|
}
|
|
105
|
-
}
|
|
106
|
-
]
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
type: "TabLayout",
|
|
110
|
-
config: {
|
|
111
|
-
main: {
|
|
112
|
-
tabLabels: ["Components", "events"],
|
|
113
|
-
divider: true
|
|
114
98
|
},
|
|
115
|
-
defaultStyle: true
|
|
116
|
-
},
|
|
117
|
-
elements: [
|
|
118
99
|
{
|
|
119
|
-
type: "
|
|
120
|
-
scope: "#/properties/elements",
|
|
121
|
-
options: {
|
|
122
|
-
widget: "Table"
|
|
123
|
-
},
|
|
100
|
+
type: "TabLayout",
|
|
124
101
|
config: {
|
|
125
102
|
main: {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
103
|
+
tabLabels: ["Components", "events"],
|
|
104
|
+
divider: true
|
|
105
|
+
},
|
|
106
|
+
defaultStyle: true
|
|
107
|
+
},
|
|
108
|
+
elements: [
|
|
109
|
+
{
|
|
110
|
+
type: "Control",
|
|
111
|
+
scope: "#/properties/elements",
|
|
112
|
+
options: {
|
|
113
|
+
widget: "Table"
|
|
114
|
+
},
|
|
115
|
+
config: {
|
|
116
|
+
main: {
|
|
117
|
+
headerIcons: {
|
|
118
|
+
elements: [
|
|
119
|
+
{
|
|
120
|
+
widget: {
|
|
121
|
+
type: "Control",
|
|
122
|
+
scope: "#/properties/New_Record",
|
|
123
|
+
options: {
|
|
124
|
+
widget: "IconButton"
|
|
125
|
+
},
|
|
126
|
+
config: {
|
|
127
|
+
main: {
|
|
128
|
+
onClick: "onAddClickHandler",
|
|
129
|
+
size: "small",
|
|
130
|
+
icon: "AddIcon",
|
|
131
|
+
iconLabel: "Add New",
|
|
132
|
+
styleDefault: true
|
|
133
|
+
},
|
|
134
|
+
style: {
|
|
135
|
+
mt: "6px"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
146
138
|
}
|
|
147
139
|
}
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
disableAction: true,
|
|
143
|
+
disableSelection: true,
|
|
144
|
+
enableDrag: true
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
elements: [
|
|
148
|
+
{
|
|
149
|
+
accessorKey: "name",
|
|
150
|
+
header: "Name"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
accessorKey: "type",
|
|
154
|
+
header: "Type"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
header: "Edit",
|
|
158
|
+
field: "Reject_Records",
|
|
159
|
+
flex: 1,
|
|
160
|
+
widget: {
|
|
161
|
+
type: "Control",
|
|
162
|
+
scope: "#/properties/RejectButton",
|
|
163
|
+
options: {
|
|
164
|
+
widget: "IconButton"
|
|
165
|
+
},
|
|
166
|
+
config: {
|
|
167
|
+
main: {
|
|
168
|
+
icon: "EditIcon",
|
|
169
|
+
onClick: "Edit_Components",
|
|
170
|
+
tooltipMessage: "Edit This Record"
|
|
171
|
+
}
|
|
148
172
|
}
|
|
149
173
|
}
|
|
150
|
-
]
|
|
151
|
-
},
|
|
152
|
-
disableAction: true,
|
|
153
|
-
disableSelection: true,
|
|
154
|
-
enableDrag: true
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
elements: [
|
|
158
|
-
{
|
|
159
|
-
accessorKey: "name",
|
|
160
|
-
header: "Name"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
accessorKey: "type",
|
|
164
|
-
header: "Type"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
header: "Edit",
|
|
168
|
-
field: "Reject_Records",
|
|
169
|
-
flex: 1,
|
|
170
|
-
widget: {
|
|
171
|
-
type: "Control",
|
|
172
|
-
scope: "#/properties/RejectButton",
|
|
173
|
-
options: {
|
|
174
|
-
widget: "IconButton"
|
|
175
174
|
},
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
175
|
+
{
|
|
176
|
+
header: "Delete",
|
|
177
|
+
field: "Reject_Records",
|
|
178
|
+
flex: 1,
|
|
179
|
+
widget: {
|
|
180
|
+
type: "Control",
|
|
181
|
+
scope: "#/properties/RejectButton",
|
|
182
|
+
options: {
|
|
183
|
+
widget: "IconButton"
|
|
184
|
+
},
|
|
185
|
+
config: {
|
|
186
|
+
main: {
|
|
187
|
+
icon: "RejectIcon",
|
|
188
|
+
color: "error",
|
|
189
|
+
onClick: "Delete_Components",
|
|
190
|
+
tooltipMessage: "Reject This Record"
|
|
191
|
+
}
|
|
192
|
+
}
|
|
182
193
|
}
|
|
183
194
|
}
|
|
184
|
-
|
|
195
|
+
]
|
|
185
196
|
},
|
|
186
197
|
{
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
198
|
+
type: "Control",
|
|
199
|
+
scope: "#/properties/events",
|
|
200
|
+
options: {
|
|
201
|
+
widget: "Table"
|
|
202
|
+
},
|
|
203
|
+
config: {
|
|
204
|
+
main: {
|
|
205
|
+
headerIcons: {
|
|
206
|
+
elements: [
|
|
207
|
+
{
|
|
208
|
+
widget: {
|
|
209
|
+
type: "Control",
|
|
210
|
+
scope: "#/properties/New_Record",
|
|
211
|
+
options: {
|
|
212
|
+
widget: "IconButton"
|
|
213
|
+
},
|
|
214
|
+
config: {
|
|
215
|
+
main: {
|
|
216
|
+
onClick: "eventAddHandler",
|
|
217
|
+
size: "small",
|
|
218
|
+
icon: "AddIcon",
|
|
219
|
+
iconLabel: "Add New",
|
|
220
|
+
styleDefault: true
|
|
221
|
+
},
|
|
222
|
+
style: {
|
|
223
|
+
mt: "6px"
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
disableAction: true,
|
|
231
|
+
disableSelection: true,
|
|
232
|
+
enableDrag: true
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
elements: [
|
|
236
|
+
{
|
|
237
|
+
accessorKey: "eventType",
|
|
238
|
+
header: "Event Type"
|
|
195
239
|
},
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
240
|
+
{
|
|
241
|
+
accessorKey: "Handler",
|
|
242
|
+
header: "Handler"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
accessorKey: "Edit_Approve_Records",
|
|
246
|
+
header: "Edit Widget",
|
|
247
|
+
widget: {
|
|
248
|
+
type: "Control",
|
|
249
|
+
scope: "#/properties/Edit_Records",
|
|
250
|
+
options: {
|
|
251
|
+
widget: "IconButton"
|
|
252
|
+
},
|
|
253
|
+
config: {
|
|
254
|
+
main: {
|
|
255
|
+
size: "small",
|
|
256
|
+
icon: "EditIcon",
|
|
257
|
+
tooltipMessage: "Edit This Record",
|
|
258
|
+
onClick: "editEvent"
|
|
259
|
+
},
|
|
260
|
+
style: {
|
|
261
|
+
color: "#3949ab"
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
accessorKey: "Reject_Records",
|
|
268
|
+
header: "Delete",
|
|
269
|
+
widget: {
|
|
270
|
+
type: "Control",
|
|
271
|
+
scope: "#/properties/RejectButton",
|
|
272
|
+
options: {
|
|
273
|
+
widget: "IconButton"
|
|
274
|
+
},
|
|
275
|
+
config: {
|
|
276
|
+
main: {
|
|
277
|
+
icon: "RejectIcon",
|
|
278
|
+
color: "error",
|
|
279
|
+
tooltipMessage: "Reject This Record",
|
|
280
|
+
onClick: "deleteEvent"
|
|
281
|
+
}
|
|
282
|
+
}
|
|
202
283
|
}
|
|
203
284
|
}
|
|
204
|
-
|
|
285
|
+
]
|
|
205
286
|
}
|
|
206
287
|
]
|
|
207
288
|
},
|
|
208
289
|
{
|
|
209
290
|
type: "Control",
|
|
210
|
-
scope: "#/properties/
|
|
291
|
+
scope: "#/properties/btn",
|
|
211
292
|
options: {
|
|
212
|
-
widget: "
|
|
293
|
+
widget: "Button"
|
|
213
294
|
},
|
|
214
295
|
config: {
|
|
296
|
+
layout: 11.9,
|
|
215
297
|
main: {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
options: {
|
|
223
|
-
widget: "IconButton"
|
|
224
|
-
},
|
|
225
|
-
config: {
|
|
226
|
-
main: {
|
|
227
|
-
color: "info",
|
|
228
|
-
onClick: "eventAddHandler",
|
|
229
|
-
size: "small",
|
|
230
|
-
icon: "AddIcon",
|
|
231
|
-
iconLabel: "Add New",
|
|
232
|
-
styleDefault: true
|
|
233
|
-
},
|
|
234
|
-
style: {
|
|
235
|
-
mt: "6px"
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
]
|
|
241
|
-
},
|
|
242
|
-
disableAction: true,
|
|
243
|
-
disableSelection: true,
|
|
244
|
-
enableDrag: true
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
elements: [
|
|
248
|
-
{
|
|
249
|
-
accessorKey: "eventType",
|
|
250
|
-
header: "Event Type"
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
accessorKey: "Handler",
|
|
254
|
-
header: "Handler"
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
accessorKey: "Edit_Approve_Records",
|
|
258
|
-
header: "Edit Widget",
|
|
259
|
-
widget: {
|
|
260
|
-
type: "Control",
|
|
261
|
-
scope: "#/properties/Edit_Records",
|
|
262
|
-
options: {
|
|
263
|
-
widget: "IconButton"
|
|
264
|
-
},
|
|
265
|
-
config: {
|
|
266
|
-
main: {
|
|
267
|
-
color: "info",
|
|
268
|
-
size: "small",
|
|
269
|
-
icon: "EditIcon",
|
|
270
|
-
tooltipMessage: "Edit This Record",
|
|
271
|
-
onClick: "editEvent"
|
|
272
|
-
},
|
|
273
|
-
style: {
|
|
274
|
-
color: "#3949ab"
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
}
|
|
298
|
+
name: "Save",
|
|
299
|
+
startIcon: "ApproveIcon",
|
|
300
|
+
variant: "contained",
|
|
301
|
+
type: "text",
|
|
302
|
+
onClick: "saveHandler",
|
|
303
|
+
size: "medium"
|
|
278
304
|
},
|
|
279
|
-
{
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
widget: {
|
|
283
|
-
type: "Control",
|
|
284
|
-
scope: "#/properties/RejectButton",
|
|
285
|
-
options: {
|
|
286
|
-
widget: "IconButton"
|
|
287
|
-
},
|
|
288
|
-
config: {
|
|
289
|
-
main: {
|
|
290
|
-
icon: "RejectIcon",
|
|
291
|
-
color: "error",
|
|
292
|
-
tooltipMessage: "Reject This Record",
|
|
293
|
-
onClick: "deleteEvent"
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
}
|
|
305
|
+
style: {
|
|
306
|
+
width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
|
|
307
|
+
float: "right"
|
|
297
308
|
}
|
|
298
|
-
|
|
309
|
+
}
|
|
299
310
|
}
|
|
300
311
|
]
|
|
301
312
|
},
|
|
302
|
-
{
|
|
303
|
-
type: "Control",
|
|
304
|
-
scope: "#/properties/btn",
|
|
305
|
-
options: {
|
|
306
|
-
widget: "Button"
|
|
307
|
-
},
|
|
308
|
-
config: {
|
|
309
|
-
layout: 11.9,
|
|
310
|
-
main: {
|
|
311
|
-
name: "Save",
|
|
312
|
-
startIcon: "ApproveIcon",
|
|
313
|
-
variant: "contained",
|
|
314
|
-
color: "info",
|
|
315
|
-
type: "text",
|
|
316
|
-
onClick: "saveHandler",
|
|
317
|
-
size: "medium"
|
|
318
|
-
},
|
|
319
|
-
style: {
|
|
320
|
-
width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
|
|
321
|
-
float: "right"
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
},
|
|
325
313
|
{
|
|
326
314
|
type: "Control",
|
|
327
315
|
scope: "#/properties/notify",
|
|
@@ -6234,11 +6222,12 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6234
6222
|
}
|
|
6235
6223
|
},
|
|
6236
6224
|
{
|
|
6237
|
-
type: "
|
|
6225
|
+
type: "Control",
|
|
6238
6226
|
scope: "#/properties/layout",
|
|
6239
6227
|
layout: 12,
|
|
6240
6228
|
options: {
|
|
6241
6229
|
detail: {
|
|
6230
|
+
type: "HorizontalLayout",
|
|
6242
6231
|
elements: [
|
|
6243
6232
|
{
|
|
6244
6233
|
type: "Control",
|
|
@@ -6287,6 +6276,26 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6287
6276
|
}
|
|
6288
6277
|
]
|
|
6289
6278
|
},
|
|
6279
|
+
{
|
|
6280
|
+
type: "Control",
|
|
6281
|
+
scope: "#/properties/EmptyBox",
|
|
6282
|
+
options: {
|
|
6283
|
+
widget: "EmptyBox"
|
|
6284
|
+
},
|
|
6285
|
+
config: {
|
|
6286
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6287
|
+
}
|
|
6288
|
+
},
|
|
6289
|
+
{
|
|
6290
|
+
type: "Control",
|
|
6291
|
+
scope: "#/properties/EmptyBox",
|
|
6292
|
+
options: {
|
|
6293
|
+
widget: "EmptyBox"
|
|
6294
|
+
},
|
|
6295
|
+
config: {
|
|
6296
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6297
|
+
}
|
|
6298
|
+
},
|
|
6290
6299
|
{
|
|
6291
6300
|
type: "Control",
|
|
6292
6301
|
scope: "#/properties/btn",
|
|
@@ -6294,23 +6303,16 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6294
6303
|
widget: "Button"
|
|
6295
6304
|
},
|
|
6296
6305
|
config: {
|
|
6297
|
-
layout:
|
|
6298
|
-
xs: 11,
|
|
6299
|
-
sm: 11,
|
|
6300
|
-
md: 2.5,
|
|
6301
|
-
lg: 2.5
|
|
6302
|
-
},
|
|
6306
|
+
layout: 1.8,
|
|
6303
6307
|
main: {
|
|
6304
6308
|
name: "Ok",
|
|
6305
6309
|
startIcon: "ApproveIcon",
|
|
6306
6310
|
variant: "contained",
|
|
6307
|
-
color: "info",
|
|
6308
6311
|
type: "text",
|
|
6309
6312
|
onClick: "okHandler",
|
|
6310
|
-
size: "
|
|
6313
|
+
size: "medium"
|
|
6311
6314
|
},
|
|
6312
6315
|
style: {
|
|
6313
|
-
marginBottom: "8px",
|
|
6314
6316
|
float: "right"
|
|
6315
6317
|
}
|
|
6316
6318
|
}
|
|
@@ -6322,23 +6324,16 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6322
6324
|
widget: "Button"
|
|
6323
6325
|
},
|
|
6324
6326
|
config: {
|
|
6325
|
-
layout:
|
|
6326
|
-
xs: 11,
|
|
6327
|
-
sm: 11,
|
|
6328
|
-
md: 2.5,
|
|
6329
|
-
lg: 2.5
|
|
6330
|
-
},
|
|
6327
|
+
layout: 1.8,
|
|
6331
6328
|
main: {
|
|
6332
6329
|
name: "Save & Exit",
|
|
6333
6330
|
startIcon: "ApproveIcon",
|
|
6334
6331
|
variant: "contained",
|
|
6335
|
-
color: "info",
|
|
6336
6332
|
type: "text",
|
|
6337
6333
|
onClick: "saveHandler",
|
|
6338
|
-
size: "
|
|
6334
|
+
size: "medium"
|
|
6339
6335
|
},
|
|
6340
6336
|
style: {
|
|
6341
|
-
marginBottom: "8px",
|
|
6342
6337
|
float: "right"
|
|
6343
6338
|
}
|
|
6344
6339
|
}
|
|
@@ -6468,7 +6463,7 @@ const CoreSection = {
|
|
|
6468
6463
|
widget: "SelectInputField"
|
|
6469
6464
|
},
|
|
6470
6465
|
config: {
|
|
6471
|
-
layout: { xs:
|
|
6466
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6472
6467
|
main: {
|
|
6473
6468
|
label: "Type",
|
|
6474
6469
|
type: "text"
|
|
@@ -6482,12 +6477,7 @@ const CoreSection = {
|
|
|
6482
6477
|
widget: "InputField"
|
|
6483
6478
|
},
|
|
6484
6479
|
config: {
|
|
6485
|
-
layout: {
|
|
6486
|
-
xs: 12,
|
|
6487
|
-
sm: 12,
|
|
6488
|
-
md: 6,
|
|
6489
|
-
lg: 6
|
|
6490
|
-
},
|
|
6480
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6491
6481
|
main: {
|
|
6492
6482
|
label: "Name"
|
|
6493
6483
|
}
|
|
@@ -6500,31 +6490,16 @@ const CoreSection = {
|
|
|
6500
6490
|
widget: "InputField"
|
|
6501
6491
|
},
|
|
6502
6492
|
config: {
|
|
6503
|
-
layout: {
|
|
6504
|
-
xs: 12,
|
|
6505
|
-
sm: 12,
|
|
6506
|
-
md: 6,
|
|
6507
|
-
lg: 6
|
|
6508
|
-
},
|
|
6493
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6509
6494
|
main: {
|
|
6510
6495
|
label: "Label"
|
|
6511
6496
|
}
|
|
6512
6497
|
}
|
|
6513
6498
|
},
|
|
6514
|
-
{
|
|
6515
|
-
type: "Control",
|
|
6516
|
-
scope: "#/properties/proc",
|
|
6517
|
-
config: {
|
|
6518
|
-
layout: { xs: 11, sm: 11, md: 6, lg: 6 }
|
|
6519
|
-
},
|
|
6520
|
-
options: {
|
|
6521
|
-
widget: "EmptyBox"
|
|
6522
|
-
}
|
|
6523
|
-
},
|
|
6524
6499
|
{
|
|
6525
6500
|
type: "Control",
|
|
6526
6501
|
scope: "#/properties/layout",
|
|
6527
|
-
layout:
|
|
6502
|
+
layout: 12,
|
|
6528
6503
|
options: {
|
|
6529
6504
|
"elementLabelProp": "key",
|
|
6530
6505
|
detail: {
|
|
@@ -6537,12 +6512,7 @@ const CoreSection = {
|
|
|
6537
6512
|
widget: "SelectInputField"
|
|
6538
6513
|
},
|
|
6539
6514
|
config: {
|
|
6540
|
-
layout: {
|
|
6541
|
-
xs: 11,
|
|
6542
|
-
sm: 11,
|
|
6543
|
-
md: 5.5,
|
|
6544
|
-
lg: 5.5
|
|
6545
|
-
},
|
|
6515
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6546
6516
|
main: {
|
|
6547
6517
|
label: "Screen Size"
|
|
6548
6518
|
}
|
|
@@ -6555,12 +6525,7 @@ const CoreSection = {
|
|
|
6555
6525
|
widget: "InputField"
|
|
6556
6526
|
},
|
|
6557
6527
|
config: {
|
|
6558
|
-
layout: {
|
|
6559
|
-
xs: 11,
|
|
6560
|
-
sm: 11,
|
|
6561
|
-
md: 5.5,
|
|
6562
|
-
lg: 5.5
|
|
6563
|
-
},
|
|
6528
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6564
6529
|
main: {
|
|
6565
6530
|
label: "Value",
|
|
6566
6531
|
type: "number",
|
|
@@ -6568,6 +6533,16 @@ const CoreSection = {
|
|
|
6568
6533
|
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6569
6534
|
}
|
|
6570
6535
|
}
|
|
6536
|
+
},
|
|
6537
|
+
{
|
|
6538
|
+
type: "Control",
|
|
6539
|
+
scope: "#/properties/emptyBox",
|
|
6540
|
+
options: {
|
|
6541
|
+
widget: "EmptyBox"
|
|
6542
|
+
},
|
|
6543
|
+
config: {
|
|
6544
|
+
layout: { xs: 0, sm: 4 }
|
|
6545
|
+
}
|
|
6571
6546
|
}
|
|
6572
6547
|
]
|
|
6573
6548
|
}
|
|
@@ -6579,121 +6554,95 @@ const EventSection = {
|
|
|
6579
6554
|
type: "HorizontalLayout",
|
|
6580
6555
|
elements: [
|
|
6581
6556
|
{
|
|
6582
|
-
type: "
|
|
6557
|
+
type: "Control",
|
|
6558
|
+
scope: "#/properties/events",
|
|
6559
|
+
options: {
|
|
6560
|
+
widget: "Table"
|
|
6561
|
+
},
|
|
6583
6562
|
config: {
|
|
6584
6563
|
main: {
|
|
6585
|
-
|
|
6586
|
-
|
|
6587
|
-
|
|
6588
|
-
|
|
6564
|
+
headerIcons: {
|
|
6565
|
+
elements: [
|
|
6566
|
+
{
|
|
6567
|
+
widget: {
|
|
6568
|
+
type: "Control",
|
|
6569
|
+
scope: "#/properties/New_Record",
|
|
6570
|
+
options: {
|
|
6571
|
+
widget: "IconButton"
|
|
6572
|
+
},
|
|
6573
|
+
config: {
|
|
6574
|
+
main: {
|
|
6575
|
+
color: "info",
|
|
6576
|
+
onClick: "eventAddHandler",
|
|
6577
|
+
size: "small",
|
|
6578
|
+
icon: "AddIcon",
|
|
6579
|
+
iconLabel: "Add New",
|
|
6580
|
+
styleDefault: true
|
|
6581
|
+
},
|
|
6582
|
+
style: {
|
|
6583
|
+
mt: "6px"
|
|
6584
|
+
}
|
|
6585
|
+
}
|
|
6586
|
+
}
|
|
6587
|
+
}
|
|
6588
|
+
]
|
|
6589
|
+
},
|
|
6590
|
+
disableAction: true,
|
|
6591
|
+
disableSelection: true,
|
|
6592
|
+
enableDrag: true
|
|
6589
6593
|
}
|
|
6590
6594
|
},
|
|
6591
6595
|
elements: [
|
|
6592
6596
|
{
|
|
6593
|
-
|
|
6594
|
-
|
|
6595
|
-
options: {
|
|
6596
|
-
widget: "Box"
|
|
6597
|
-
},
|
|
6598
|
-
config: {
|
|
6599
|
-
layout: 8,
|
|
6600
|
-
main: {
|
|
6601
|
-
heading: "Event Table"
|
|
6602
|
-
},
|
|
6603
|
-
style: {
|
|
6604
|
-
fontFamily: "Roboto",
|
|
6605
|
-
fontWeight: "500",
|
|
6606
|
-
paddingLeft: "-10px",
|
|
6607
|
-
fontSize: "20px"
|
|
6608
|
-
}
|
|
6609
|
-
}
|
|
6597
|
+
accessorKey: "eventType",
|
|
6598
|
+
header: "Event Type"
|
|
6610
6599
|
},
|
|
6611
6600
|
{
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
onClick: "eventAddHandler",
|
|
6624
|
-
tooltipMessage: "Back"
|
|
6601
|
+
accessorKey: "Handler",
|
|
6602
|
+
header: "Handler"
|
|
6603
|
+
},
|
|
6604
|
+
{
|
|
6605
|
+
accessorKey: "Edit_Approve_Records",
|
|
6606
|
+
header: "Edit Widget",
|
|
6607
|
+
widget: {
|
|
6608
|
+
type: "Control",
|
|
6609
|
+
scope: "#/properties/Edit_Records",
|
|
6610
|
+
options: {
|
|
6611
|
+
widget: "IconButton"
|
|
6625
6612
|
},
|
|
6626
|
-
|
|
6627
|
-
|
|
6613
|
+
config: {
|
|
6614
|
+
main: {
|
|
6615
|
+
color: "info",
|
|
6616
|
+
size: "small",
|
|
6617
|
+
icon: "EditIcon",
|
|
6618
|
+
tooltipMessage: "Edit This Record",
|
|
6619
|
+
onClick: "eventEditHandler"
|
|
6620
|
+
},
|
|
6621
|
+
style: {
|
|
6622
|
+
color: "#3949ab"
|
|
6623
|
+
}
|
|
6628
6624
|
}
|
|
6629
6625
|
}
|
|
6630
6626
|
},
|
|
6631
6627
|
{
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
disableSelection: true,
|
|
6641
|
-
enableDrag: true
|
|
6642
|
-
}
|
|
6643
|
-
},
|
|
6644
|
-
elements: [
|
|
6645
|
-
{
|
|
6646
|
-
accessorKey: "eventType",
|
|
6647
|
-
header: "Event Type"
|
|
6648
|
-
},
|
|
6649
|
-
{
|
|
6650
|
-
accessorKey: "Handler",
|
|
6651
|
-
header: "Handler"
|
|
6652
|
-
},
|
|
6653
|
-
{
|
|
6654
|
-
accessorKey: "Edit_Approve_Records",
|
|
6655
|
-
header: "Edit Widget",
|
|
6656
|
-
widget: {
|
|
6657
|
-
type: "Control",
|
|
6658
|
-
scope: "#/properties/Edit_Records",
|
|
6659
|
-
options: {
|
|
6660
|
-
widget: "IconButton"
|
|
6661
|
-
},
|
|
6662
|
-
config: {
|
|
6663
|
-
main: {
|
|
6664
|
-
color: "info",
|
|
6665
|
-
size: "small",
|
|
6666
|
-
icon: "EditIcon",
|
|
6667
|
-
tooltipMessage: "Edit This Record",
|
|
6668
|
-
onClick: "eventEditHandler"
|
|
6669
|
-
},
|
|
6670
|
-
style: {
|
|
6671
|
-
color: "#3949ab"
|
|
6672
|
-
}
|
|
6673
|
-
}
|
|
6674
|
-
}
|
|
6628
|
+
accessorKey: "Reject_Records",
|
|
6629
|
+
header: "Delete",
|
|
6630
|
+
widget: {
|
|
6631
|
+
type: "Control",
|
|
6632
|
+
scope: "#/properties/RejectButton",
|
|
6633
|
+
accessorKeyName: "Reject_Records",
|
|
6634
|
+
options: {
|
|
6635
|
+
widget: "IconButton"
|
|
6675
6636
|
},
|
|
6676
|
-
{
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
accessorKeyName: "Reject_Records",
|
|
6683
|
-
options: {
|
|
6684
|
-
widget: "IconButton"
|
|
6685
|
-
},
|
|
6686
|
-
config: {
|
|
6687
|
-
main: {
|
|
6688
|
-
icon: "RejectIcon",
|
|
6689
|
-
color: "error",
|
|
6690
|
-
tooltipMessage: "Reject This Record",
|
|
6691
|
-
onClick: "deleteEvent"
|
|
6692
|
-
}
|
|
6693
|
-
}
|
|
6637
|
+
config: {
|
|
6638
|
+
main: {
|
|
6639
|
+
icon: "RejectIcon",
|
|
6640
|
+
color: "error",
|
|
6641
|
+
tooltipMessage: "Reject This Record",
|
|
6642
|
+
onClick: "deleteEvent"
|
|
6694
6643
|
}
|
|
6695
6644
|
}
|
|
6696
|
-
|
|
6645
|
+
}
|
|
6697
6646
|
}
|
|
6698
6647
|
]
|
|
6699
6648
|
}
|
|
@@ -6706,12 +6655,7 @@ const EmptyBox = {
|
|
|
6706
6655
|
widget: "EmptyBox"
|
|
6707
6656
|
},
|
|
6708
6657
|
config: {
|
|
6709
|
-
layout: {
|
|
6710
|
-
xs: 11,
|
|
6711
|
-
sm: 11,
|
|
6712
|
-
md: 5.5,
|
|
6713
|
-
lg: 5.5
|
|
6714
|
-
},
|
|
6658
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
6715
6659
|
main: {}
|
|
6716
6660
|
}
|
|
6717
6661
|
};
|
|
@@ -6730,12 +6674,7 @@ const cardLayout = {
|
|
|
6730
6674
|
widget: "SelectInputField"
|
|
6731
6675
|
},
|
|
6732
6676
|
config: {
|
|
6733
|
-
layout: {
|
|
6734
|
-
xs: 11,
|
|
6735
|
-
sm: 11,
|
|
6736
|
-
md: 5.5,
|
|
6737
|
-
lg: 5.5
|
|
6738
|
-
},
|
|
6677
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6739
6678
|
main: {
|
|
6740
6679
|
label: "Screen Size"
|
|
6741
6680
|
}
|
|
@@ -6748,12 +6687,7 @@ const cardLayout = {
|
|
|
6748
6687
|
widget: "InputField"
|
|
6749
6688
|
},
|
|
6750
6689
|
config: {
|
|
6751
|
-
layout: {
|
|
6752
|
-
xs: 11,
|
|
6753
|
-
sm: 11,
|
|
6754
|
-
md: 5.5,
|
|
6755
|
-
lg: 5.5
|
|
6756
|
-
},
|
|
6690
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6757
6691
|
main: {
|
|
6758
6692
|
label: "Value",
|
|
6759
6693
|
type: "number",
|
|
@@ -6761,7 +6695,8 @@ const cardLayout = {
|
|
|
6761
6695
|
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6762
6696
|
}
|
|
6763
6697
|
}
|
|
6764
|
-
}
|
|
6698
|
+
},
|
|
6699
|
+
EmptyBox
|
|
6765
6700
|
]
|
|
6766
6701
|
}
|
|
6767
6702
|
}
|
|
@@ -6783,17 +6718,13 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
|
6783
6718
|
widget: "InputField"
|
|
6784
6719
|
},
|
|
6785
6720
|
config: {
|
|
6786
|
-
layout: {
|
|
6787
|
-
xs: 11,
|
|
6788
|
-
sm: 11,
|
|
6789
|
-
md: 5.5,
|
|
6790
|
-
lg: 5.5
|
|
6791
|
-
},
|
|
6721
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6792
6722
|
main: {
|
|
6793
6723
|
label: childLabel || "Labels for Tab"
|
|
6794
6724
|
}
|
|
6795
6725
|
}
|
|
6796
6726
|
},
|
|
6727
|
+
EmptyBox,
|
|
6797
6728
|
EmptyBox
|
|
6798
6729
|
]
|
|
6799
6730
|
}
|
|
@@ -6808,12 +6739,7 @@ sizeHolder.options.detail.elements[1] = {
|
|
|
6808
6739
|
widget: "InputField"
|
|
6809
6740
|
},
|
|
6810
6741
|
config: {
|
|
6811
|
-
layout: {
|
|
6812
|
-
xs: 11,
|
|
6813
|
-
sm: 11,
|
|
6814
|
-
md: 5.5,
|
|
6815
|
-
lg: 5.5
|
|
6816
|
-
},
|
|
6742
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6817
6743
|
main: {
|
|
6818
6744
|
label: "Size"
|
|
6819
6745
|
}
|
|
@@ -6827,12 +6753,7 @@ const getInputField = (scope, label) => {
|
|
|
6827
6753
|
widget: "InputField"
|
|
6828
6754
|
},
|
|
6829
6755
|
config: {
|
|
6830
|
-
layout: {
|
|
6831
|
-
xs: 11,
|
|
6832
|
-
sm: 11,
|
|
6833
|
-
md: 5.5,
|
|
6834
|
-
lg: 5.5
|
|
6835
|
-
},
|
|
6756
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6836
6757
|
main: {
|
|
6837
6758
|
label
|
|
6838
6759
|
}
|
|
@@ -6847,12 +6768,7 @@ const getRadioInputField = (scope, label, options) => {
|
|
|
6847
6768
|
widget: "RadioInputField"
|
|
6848
6769
|
},
|
|
6849
6770
|
config: {
|
|
6850
|
-
layout: {
|
|
6851
|
-
xs: 11,
|
|
6852
|
-
sm: 11,
|
|
6853
|
-
md: 5.5,
|
|
6854
|
-
lg: 5.5
|
|
6855
|
-
},
|
|
6771
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6856
6772
|
main: {
|
|
6857
6773
|
label,
|
|
6858
6774
|
options
|
|
@@ -6895,7 +6811,7 @@ const getSelectField = (scope, label, options) => {
|
|
|
6895
6811
|
widget: "SelectInputField"
|
|
6896
6812
|
},
|
|
6897
6813
|
config: {
|
|
6898
|
-
layout: { xs: 11, sm:
|
|
6814
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6899
6815
|
main: {
|
|
6900
6816
|
label,
|
|
6901
6817
|
type: "text"
|
|
@@ -6916,6 +6832,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6916
6832
|
getInputField("elevation", "Card Elevation"),
|
|
6917
6833
|
getInputField("height", "Grid height"),
|
|
6918
6834
|
getInputField("justifyContent", "justifyContent"),
|
|
6835
|
+
EmptyBox,
|
|
6836
|
+
EmptyBox,
|
|
6919
6837
|
cardLayout
|
|
6920
6838
|
];
|
|
6921
6839
|
break;
|
|
@@ -6926,6 +6844,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6926
6844
|
getInputField("resetText", "Reset Text"),
|
|
6927
6845
|
getInputField("completeText", "Complete Text"),
|
|
6928
6846
|
getSelectField("orientation", "Orientation Type"),
|
|
6847
|
+
EmptyBox,
|
|
6929
6848
|
getArrayControl("sectionLabels", "label")
|
|
6930
6849
|
];
|
|
6931
6850
|
break;
|
|
@@ -6941,12 +6860,14 @@ const buildPropertiesSection = function(type) {
|
|
|
6941
6860
|
uiSchema.elements = [
|
|
6942
6861
|
getInputField("placeholder", "Placeholder"),
|
|
6943
6862
|
EmptyBox,
|
|
6863
|
+
EmptyBox,
|
|
6944
6864
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
|
|
6945
6865
|
];
|
|
6946
6866
|
break;
|
|
6947
6867
|
case "TextArea":
|
|
6948
6868
|
uiSchema.elements = [
|
|
6949
6869
|
getInputField("placeholder", "Placeholder"),
|
|
6870
|
+
EmptyBox,
|
|
6950
6871
|
EmptyBox
|
|
6951
6872
|
];
|
|
6952
6873
|
break;
|
|
@@ -6956,7 +6877,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6956
6877
|
getInputField("heading", "Container Heading"),
|
|
6957
6878
|
getInputField("heading", "Container Heading"),
|
|
6958
6879
|
getInputField("speedoCaption", "Speedometer Caption"),
|
|
6959
|
-
getInputField("width", "Speedometer Width")
|
|
6880
|
+
getInputField("width", "Speedometer Width"),
|
|
6881
|
+
EmptyBox
|
|
6960
6882
|
];
|
|
6961
6883
|
break;
|
|
6962
6884
|
case "RankCard":
|
|
@@ -6964,7 +6886,9 @@ const buildPropertiesSection = function(type) {
|
|
|
6964
6886
|
getInputField("rank", "Rank"),
|
|
6965
6887
|
getInputField("image", "Image Url"),
|
|
6966
6888
|
getInputField("title", "Card Title"),
|
|
6967
|
-
getInputField("description", "Card Description")
|
|
6889
|
+
getInputField("description", "Card Description"),
|
|
6890
|
+
EmptyBox,
|
|
6891
|
+
EmptyBox
|
|
6968
6892
|
];
|
|
6969
6893
|
break;
|
|
6970
6894
|
case "LeaderBoard":
|
|
@@ -6973,6 +6897,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6973
6897
|
getInputField("firstImage", "First Image url"),
|
|
6974
6898
|
getInputField("secondImage", "Second Image url"),
|
|
6975
6899
|
getInputField("thirdImage", "Third Image url"),
|
|
6900
|
+
EmptyBox,
|
|
6901
|
+
EmptyBox,
|
|
6976
6902
|
getTextArea("functionCode", "Write Compare Code", false)
|
|
6977
6903
|
];
|
|
6978
6904
|
break;
|
|
@@ -6988,7 +6914,9 @@ const buildPropertiesSection = function(type) {
|
|
|
6988
6914
|
getInputField("heading", "Heading"),
|
|
6989
6915
|
getInputField("bottomLabel_1", "First BottomLabel"),
|
|
6990
6916
|
getInputField("bottomLabel_2", "Second BottomLabel"),
|
|
6991
|
-
getInputField("bottomLabel_3", "Third BottomLabel")
|
|
6917
|
+
getInputField("bottomLabel_3", "Third BottomLabel"),
|
|
6918
|
+
EmptyBox,
|
|
6919
|
+
EmptyBox
|
|
6992
6920
|
];
|
|
6993
6921
|
break;
|
|
6994
6922
|
case "card":
|
|
@@ -7022,7 +6950,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7022
6950
|
];
|
|
7023
6951
|
break;
|
|
7024
6952
|
case "WrapperSection":
|
|
7025
|
-
uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]), EmptyBox];
|
|
6953
|
+
uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]), getRadioInputField("isAccordion", "Accordion", ["YES", "No"]), EmptyBox];
|
|
7026
6954
|
break;
|
|
7027
6955
|
case "TabSection":
|
|
7028
6956
|
uiSchema.elements = [
|
|
@@ -7050,12 +6978,14 @@ const buildPropertiesSection = function(type) {
|
|
|
7050
6978
|
case "Select":
|
|
7051
6979
|
uiSchema.elements = [
|
|
7052
6980
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7053
|
-
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"])
|
|
6981
|
+
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
|
|
6982
|
+
EmptyBox
|
|
7054
6983
|
];
|
|
7055
6984
|
break;
|
|
7056
6985
|
case "MultipleSelect":
|
|
7057
6986
|
uiSchema.elements = [
|
|
7058
6987
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
6988
|
+
EmptyBox,
|
|
7059
6989
|
EmptyBox
|
|
7060
6990
|
];
|
|
7061
6991
|
break;
|
|
@@ -7101,116 +7031,92 @@ const TableSection = {
|
|
|
7101
7031
|
type: "HorizontalLayout",
|
|
7102
7032
|
elements: [
|
|
7103
7033
|
{
|
|
7104
|
-
type: "
|
|
7034
|
+
type: "Control",
|
|
7035
|
+
scope: "#/properties/elements",
|
|
7036
|
+
options: {
|
|
7037
|
+
widget: "Table"
|
|
7038
|
+
},
|
|
7105
7039
|
config: {
|
|
7106
|
-
main: {
|
|
7107
|
-
|
|
7108
|
-
|
|
7040
|
+
main: {
|
|
7041
|
+
headerIcons: {
|
|
7042
|
+
elements: [
|
|
7043
|
+
{
|
|
7044
|
+
widget: {
|
|
7045
|
+
type: "Control",
|
|
7046
|
+
scope: "#/properties/New_Record",
|
|
7047
|
+
options: {
|
|
7048
|
+
widget: "IconButton"
|
|
7049
|
+
},
|
|
7050
|
+
config: {
|
|
7051
|
+
main: {
|
|
7052
|
+
color: "info",
|
|
7053
|
+
onClick: "widgetAddClickHandler",
|
|
7054
|
+
size: "small",
|
|
7055
|
+
icon: "AddIcon",
|
|
7056
|
+
iconLabel: "Add New",
|
|
7057
|
+
styleDefault: true
|
|
7058
|
+
},
|
|
7059
|
+
style: {
|
|
7060
|
+
mt: "6px"
|
|
7061
|
+
}
|
|
7062
|
+
}
|
|
7063
|
+
}
|
|
7064
|
+
}
|
|
7065
|
+
]
|
|
7066
|
+
},
|
|
7067
|
+
disableAction: true,
|
|
7068
|
+
disableSelection: true,
|
|
7069
|
+
enableDrag: true
|
|
7109
7070
|
}
|
|
7110
7071
|
},
|
|
7111
7072
|
elements: [
|
|
7112
7073
|
{
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
options: {
|
|
7116
|
-
widget: "Box"
|
|
7117
|
-
},
|
|
7118
|
-
config: {
|
|
7119
|
-
layout: 8,
|
|
7120
|
-
main: {
|
|
7121
|
-
heading: "Components Table"
|
|
7122
|
-
},
|
|
7123
|
-
style: {
|
|
7124
|
-
fontFamily: "Roboto",
|
|
7125
|
-
fontWeight: "500",
|
|
7126
|
-
paddingLeft: "-10px",
|
|
7127
|
-
fontSize: "20px"
|
|
7128
|
-
}
|
|
7129
|
-
}
|
|
7074
|
+
accessorKey: "name",
|
|
7075
|
+
header: "Name"
|
|
7130
7076
|
},
|
|
7131
7077
|
{
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
tooltipMessage: "Add New"
|
|
7078
|
+
accessorKey: "type",
|
|
7079
|
+
header: "Type"
|
|
7080
|
+
},
|
|
7081
|
+
{
|
|
7082
|
+
header: "Edit Record",
|
|
7083
|
+
field: "Reject_Records",
|
|
7084
|
+
flex: 1,
|
|
7085
|
+
widget: {
|
|
7086
|
+
type: "Control",
|
|
7087
|
+
scope: "#/properties/RejectButton",
|
|
7088
|
+
options: {
|
|
7089
|
+
widget: "IconButton"
|
|
7145
7090
|
},
|
|
7146
|
-
|
|
7147
|
-
|
|
7091
|
+
config: {
|
|
7092
|
+
main: {
|
|
7093
|
+
icon: "EditIcon",
|
|
7094
|
+
color: "primary",
|
|
7095
|
+
onClick: "editComponents",
|
|
7096
|
+
tooltipMessage: "Reject This Record"
|
|
7097
|
+
}
|
|
7148
7098
|
}
|
|
7149
7099
|
}
|
|
7150
7100
|
},
|
|
7151
7101
|
{
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
disableSelection: true,
|
|
7161
|
-
enableDrag: true
|
|
7162
|
-
}
|
|
7163
|
-
},
|
|
7164
|
-
elements: [
|
|
7165
|
-
{
|
|
7166
|
-
accessorKey: "name",
|
|
7167
|
-
header: "Name"
|
|
7168
|
-
},
|
|
7169
|
-
{
|
|
7170
|
-
accessorKey: "type",
|
|
7171
|
-
header: "Type"
|
|
7172
|
-
},
|
|
7173
|
-
{
|
|
7174
|
-
header: "Edit Record",
|
|
7175
|
-
field: "Reject_Records",
|
|
7176
|
-
flex: 1,
|
|
7177
|
-
widget: {
|
|
7178
|
-
type: "Control",
|
|
7179
|
-
scope: "#/properties/RejectButton",
|
|
7180
|
-
options: {
|
|
7181
|
-
widget: "IconButton"
|
|
7182
|
-
},
|
|
7183
|
-
config: {
|
|
7184
|
-
main: {
|
|
7185
|
-
icon: "EditIcon",
|
|
7186
|
-
color: "primary",
|
|
7187
|
-
onClick: "editComponents",
|
|
7188
|
-
tooltipMessage: "Reject This Record"
|
|
7189
|
-
}
|
|
7190
|
-
}
|
|
7191
|
-
}
|
|
7102
|
+
header: "Delete",
|
|
7103
|
+
field: "Reject_Records",
|
|
7104
|
+
flex: 1,
|
|
7105
|
+
widget: {
|
|
7106
|
+
type: "Control",
|
|
7107
|
+
scope: "#/properties/RejectButton",
|
|
7108
|
+
options: {
|
|
7109
|
+
widget: "IconButton"
|
|
7192
7110
|
},
|
|
7193
|
-
{
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
scope: "#/properties/RejectButton",
|
|
7200
|
-
options: {
|
|
7201
|
-
widget: "IconButton"
|
|
7202
|
-
},
|
|
7203
|
-
config: {
|
|
7204
|
-
main: {
|
|
7205
|
-
icon: "RejectIcon",
|
|
7206
|
-
color: "error",
|
|
7207
|
-
onClick: "deleteComponents",
|
|
7208
|
-
tooltipMessage: "Reject This Record"
|
|
7209
|
-
}
|
|
7210
|
-
}
|
|
7111
|
+
config: {
|
|
7112
|
+
main: {
|
|
7113
|
+
icon: "RejectIcon",
|
|
7114
|
+
color: "error",
|
|
7115
|
+
onClick: "deleteComponents",
|
|
7116
|
+
tooltipMessage: "Reject This Record"
|
|
7211
7117
|
}
|
|
7212
7118
|
}
|
|
7213
|
-
|
|
7119
|
+
}
|
|
7214
7120
|
}
|
|
7215
7121
|
]
|
|
7216
7122
|
}
|
|
@@ -7234,12 +7140,7 @@ const ValueTab = {
|
|
|
7234
7140
|
widget: "InputField"
|
|
7235
7141
|
},
|
|
7236
7142
|
config: {
|
|
7237
|
-
layout: {
|
|
7238
|
-
xs: 11,
|
|
7239
|
-
sm: 11,
|
|
7240
|
-
md: 5.5,
|
|
7241
|
-
lg: 5.5
|
|
7242
|
-
},
|
|
7143
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7243
7144
|
main: {
|
|
7244
7145
|
label: "Label"
|
|
7245
7146
|
}
|
|
@@ -7252,16 +7153,21 @@ const ValueTab = {
|
|
|
7252
7153
|
widget: "InputField"
|
|
7253
7154
|
},
|
|
7254
7155
|
config: {
|
|
7255
|
-
layout: {
|
|
7256
|
-
xs: 11,
|
|
7257
|
-
sm: 11,
|
|
7258
|
-
md: 5.5,
|
|
7259
|
-
lg: 5.5
|
|
7260
|
-
},
|
|
7156
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7261
7157
|
main: {
|
|
7262
7158
|
label: "Value"
|
|
7263
7159
|
}
|
|
7264
7160
|
}
|
|
7161
|
+
},
|
|
7162
|
+
{
|
|
7163
|
+
type: "Control",
|
|
7164
|
+
scope: "#/properties/emptyBox",
|
|
7165
|
+
options: {
|
|
7166
|
+
widget: "EmptyBox"
|
|
7167
|
+
},
|
|
7168
|
+
config: {
|
|
7169
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7170
|
+
}
|
|
7265
7171
|
}
|
|
7266
7172
|
]
|
|
7267
7173
|
}
|
|
@@ -7288,12 +7194,7 @@ const ValidationSection = {
|
|
|
7288
7194
|
widget: "SelectInputField"
|
|
7289
7195
|
},
|
|
7290
7196
|
config: {
|
|
7291
|
-
layout: {
|
|
7292
|
-
xs: 11,
|
|
7293
|
-
sm: 11,
|
|
7294
|
-
md: 5.5,
|
|
7295
|
-
lg: 5.5
|
|
7296
|
-
},
|
|
7197
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7297
7198
|
main: {
|
|
7298
7199
|
label: "Validation Type"
|
|
7299
7200
|
}
|
|
@@ -7306,16 +7207,21 @@ const ValidationSection = {
|
|
|
7306
7207
|
widget: "InputField"
|
|
7307
7208
|
},
|
|
7308
7209
|
config: {
|
|
7309
|
-
layout: {
|
|
7310
|
-
xs: 11,
|
|
7311
|
-
sm: 11,
|
|
7312
|
-
md: 5.5,
|
|
7313
|
-
lg: 5.5
|
|
7314
|
-
},
|
|
7210
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7315
7211
|
main: {
|
|
7316
7212
|
label: "Validation Value"
|
|
7317
7213
|
}
|
|
7318
7214
|
}
|
|
7215
|
+
},
|
|
7216
|
+
{
|
|
7217
|
+
type: "Control",
|
|
7218
|
+
scope: "#/properties/emptyBox",
|
|
7219
|
+
options: {
|
|
7220
|
+
widget: "EmptyBox"
|
|
7221
|
+
},
|
|
7222
|
+
config: {
|
|
7223
|
+
layout: { xs: 0, sm: 4 }
|
|
7224
|
+
}
|
|
7319
7225
|
}
|
|
7320
7226
|
]
|
|
7321
7227
|
}
|
|
@@ -7509,8 +7415,8 @@ const refreshPage = (type, store2) => {
|
|
|
7509
7415
|
Validation: ValidationSection
|
|
7510
7416
|
};
|
|
7511
7417
|
const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
|
|
7512
|
-
UiSchema.elements[
|
|
7513
|
-
UiSchema.elements[
|
|
7418
|
+
UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "style", "Event", "Validation"];
|
|
7419
|
+
UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection, ValidationSection];
|
|
7514
7420
|
}
|
|
7515
7421
|
store2.setUiSchema(UiSchema);
|
|
7516
7422
|
};
|
|
@@ -7767,334 +7673,385 @@ const EventSchema = {
|
|
|
7767
7673
|
},
|
|
7768
7674
|
required: ["eventType", "Handler"]
|
|
7769
7675
|
};
|
|
7770
|
-
const EventUiSchema = {
|
|
7771
|
-
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
|
|
7775
|
-
|
|
7776
|
-
|
|
7777
|
-
|
|
7778
|
-
|
|
7676
|
+
const EventUiSchema = (theme) => {
|
|
7677
|
+
var _a;
|
|
7678
|
+
const uiSchema = {
|
|
7679
|
+
type: "HorizontalLayout",
|
|
7680
|
+
heading: "Component",
|
|
7681
|
+
elements: [
|
|
7682
|
+
{
|
|
7683
|
+
type: "TabLayout",
|
|
7684
|
+
config: {
|
|
7685
|
+
main: {
|
|
7686
|
+
tabLabels: ["Core", "Response Event"],
|
|
7687
|
+
defaultStyle: true,
|
|
7688
|
+
id: "event"
|
|
7689
|
+
}
|
|
7779
7690
|
},
|
|
7780
|
-
|
|
7781
|
-
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
|
-
|
|
7787
|
-
|
|
7691
|
+
elements: [
|
|
7692
|
+
{
|
|
7693
|
+
type: "HorizontalLayout",
|
|
7694
|
+
elements: [
|
|
7695
|
+
{
|
|
7696
|
+
type: "Control",
|
|
7697
|
+
scope: `#/properties/eventType`,
|
|
7698
|
+
options: {
|
|
7699
|
+
widget: "SelectInputField"
|
|
7700
|
+
},
|
|
7701
|
+
config: {
|
|
7702
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7703
|
+
main: {
|
|
7704
|
+
label: "Event Type",
|
|
7705
|
+
type: "text"
|
|
7706
|
+
}
|
|
7707
|
+
}
|
|
7708
|
+
},
|
|
7709
|
+
{
|
|
7710
|
+
type: "Control",
|
|
7711
|
+
scope: `#/properties/Handler`,
|
|
7712
|
+
options: {
|
|
7713
|
+
widget: "SelectInputField"
|
|
7714
|
+
},
|
|
7715
|
+
config: {
|
|
7716
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7717
|
+
main: {
|
|
7718
|
+
label: "Handler",
|
|
7719
|
+
type: "text"
|
|
7720
|
+
}
|
|
7721
|
+
}
|
|
7722
|
+
},
|
|
7723
|
+
{
|
|
7724
|
+
type: "Control",
|
|
7725
|
+
scope: "#/properties/emptyBox",
|
|
7726
|
+
options: {
|
|
7727
|
+
widget: "EmptyBox"
|
|
7728
|
+
},
|
|
7729
|
+
config: {
|
|
7730
|
+
layout: { xs: 0, sm: 4 }
|
|
7731
|
+
}
|
|
7732
|
+
}
|
|
7733
|
+
]
|
|
7788
7734
|
},
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7735
|
+
{
|
|
7736
|
+
type: "Control",
|
|
7737
|
+
scope: "#/properties/events",
|
|
7738
|
+
options: {
|
|
7739
|
+
widget: "Table"
|
|
7793
7740
|
},
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
|
|
7741
|
+
config: {
|
|
7742
|
+
main: {
|
|
7743
|
+
headerIcons: {
|
|
7744
|
+
elements: [
|
|
7745
|
+
{
|
|
7746
|
+
widget: {
|
|
7747
|
+
type: "Control",
|
|
7748
|
+
scope: "#/properties/New_Record",
|
|
7749
|
+
options: {
|
|
7750
|
+
widget: "IconButton"
|
|
7751
|
+
},
|
|
7752
|
+
config: {
|
|
7753
|
+
main: {
|
|
7754
|
+
onClick: "addEvent",
|
|
7755
|
+
size: "small",
|
|
7756
|
+
icon: "AddIcon",
|
|
7757
|
+
iconLabel: "Add New",
|
|
7758
|
+
styleDefault: true
|
|
7759
|
+
},
|
|
7760
|
+
style: {
|
|
7761
|
+
mt: "6px"
|
|
7762
|
+
}
|
|
7763
|
+
}
|
|
7764
|
+
}
|
|
7765
|
+
}
|
|
7766
|
+
]
|
|
7767
|
+
},
|
|
7768
|
+
disableAction: true,
|
|
7769
|
+
disableSelection: true,
|
|
7770
|
+
enableDrag: true
|
|
7771
|
+
}
|
|
7772
|
+
},
|
|
7773
|
+
elements: [
|
|
7774
|
+
{
|
|
7775
|
+
accessorKey: "eventType",
|
|
7776
|
+
header: "Event Type"
|
|
7777
|
+
},
|
|
7778
|
+
{
|
|
7779
|
+
accessorKey: "Handler",
|
|
7780
|
+
header: "Handler"
|
|
7781
|
+
},
|
|
7782
|
+
{
|
|
7783
|
+
accessorKey: "Edit_Approve_Records",
|
|
7784
|
+
header: "Edit Widget",
|
|
7785
|
+
widget: {
|
|
7786
|
+
type: "Control",
|
|
7787
|
+
scope: "#/properties/Edit_Records",
|
|
7788
|
+
options: {
|
|
7789
|
+
widget: "IconButton"
|
|
7790
|
+
},
|
|
7791
|
+
config: {
|
|
7792
|
+
main: {
|
|
7793
|
+
size: "small",
|
|
7794
|
+
icon: "EditIcon",
|
|
7795
|
+
tooltipMessage: "Edit This Record",
|
|
7796
|
+
onClick: "editEvent"
|
|
7797
|
+
},
|
|
7798
|
+
style: {
|
|
7799
|
+
color: "#3949ab"
|
|
7800
|
+
}
|
|
7801
|
+
}
|
|
7802
|
+
}
|
|
7803
|
+
},
|
|
7804
|
+
{
|
|
7805
|
+
accessorKey: "Reject_Records",
|
|
7806
|
+
header: "Delete",
|
|
7807
|
+
widget: {
|
|
7808
|
+
type: "Control",
|
|
7809
|
+
scope: "#/properties/RejectButton",
|
|
7810
|
+
options: {
|
|
7811
|
+
widget: "IconButton"
|
|
7812
|
+
},
|
|
7813
|
+
config: {
|
|
7814
|
+
main: {
|
|
7815
|
+
icon: "RejectIcon",
|
|
7816
|
+
color: "error",
|
|
7817
|
+
tooltipMessage: "Reject This Record",
|
|
7818
|
+
onClick: "deleteEvent"
|
|
7819
|
+
}
|
|
7820
|
+
}
|
|
7821
|
+
}
|
|
7822
|
+
}
|
|
7823
|
+
]
|
|
7824
|
+
}
|
|
7825
|
+
]
|
|
7826
|
+
},
|
|
7827
|
+
{
|
|
7828
|
+
type: "Control",
|
|
7829
|
+
scope: "#/properties/EmptyBox",
|
|
7830
|
+
options: {
|
|
7831
|
+
widget: "EmptyBox"
|
|
7832
|
+
},
|
|
7833
|
+
config: {
|
|
7834
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7835
|
+
}
|
|
7836
|
+
},
|
|
7837
|
+
{
|
|
7838
|
+
type: "Control",
|
|
7839
|
+
scope: "#/properties/EmptyBox",
|
|
7840
|
+
options: {
|
|
7841
|
+
widget: "EmptyBox"
|
|
7842
|
+
},
|
|
7843
|
+
config: {
|
|
7844
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7845
|
+
}
|
|
7846
|
+
},
|
|
7847
|
+
{
|
|
7848
|
+
type: "Control",
|
|
7849
|
+
scope: "#/properties/btn",
|
|
7850
|
+
options: {
|
|
7851
|
+
widget: "Button"
|
|
7852
|
+
},
|
|
7853
|
+
config: {
|
|
7854
|
+
layout: 1.8,
|
|
7855
|
+
main: {
|
|
7856
|
+
name: "Ok",
|
|
7857
|
+
startIcon: "ApproveIcon",
|
|
7858
|
+
variant: "contained",
|
|
7859
|
+
type: "text",
|
|
7860
|
+
onClick: "okHandler",
|
|
7861
|
+
size: "medium"
|
|
7862
|
+
},
|
|
7863
|
+
style: {
|
|
7864
|
+
float: "right"
|
|
7865
|
+
}
|
|
7866
|
+
}
|
|
7867
|
+
},
|
|
7868
|
+
{
|
|
7869
|
+
type: "Control",
|
|
7870
|
+
scope: "#/properties/btnSubmit",
|
|
7871
|
+
options: {
|
|
7872
|
+
widget: "Button"
|
|
7873
|
+
},
|
|
7874
|
+
config: {
|
|
7875
|
+
layout: 1.8,
|
|
7876
|
+
main: {
|
|
7877
|
+
name: "Save & Exit",
|
|
7878
|
+
startIcon: "ApproveIcon",
|
|
7879
|
+
variant: "contained",
|
|
7880
|
+
type: "text",
|
|
7881
|
+
onClick: "saveHandler",
|
|
7882
|
+
size: "medium"
|
|
7883
|
+
},
|
|
7884
|
+
style: {
|
|
7885
|
+
float: "right"
|
|
7886
|
+
}
|
|
7887
|
+
}
|
|
7888
|
+
},
|
|
7889
|
+
{
|
|
7890
|
+
type: "Control",
|
|
7891
|
+
scope: "#/properties/notify",
|
|
7892
|
+
options: {
|
|
7893
|
+
widget: "Notify"
|
|
7894
|
+
},
|
|
7895
|
+
layout: 6
|
|
7896
|
+
},
|
|
7897
|
+
{
|
|
7898
|
+
type: "HorizontalLayout",
|
|
7899
|
+
config: {
|
|
7900
|
+
style: {
|
|
7901
|
+
position: "fixed",
|
|
7902
|
+
bottom: 5,
|
|
7903
|
+
overflow: "visible",
|
|
7904
|
+
margin: "0",
|
|
7905
|
+
width: "100vw"
|
|
7797
7906
|
}
|
|
7798
7907
|
},
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
config: {
|
|
7806
|
-
layout: { xs: 7, sm: 7, md: 9 },
|
|
7807
|
-
main: {
|
|
7808
|
-
heading: " "
|
|
7908
|
+
elements: [
|
|
7909
|
+
{
|
|
7910
|
+
type: "Control",
|
|
7911
|
+
scope: "#/properties/EmptyBox",
|
|
7912
|
+
options: {
|
|
7913
|
+
widget: "EmptyBox"
|
|
7809
7914
|
},
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
width: "auto",
|
|
7813
|
-
fontSize: "12px",
|
|
7814
|
-
color: "gray",
|
|
7815
|
-
paddingTop: "10px"
|
|
7915
|
+
config: {
|
|
7916
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7816
7917
|
}
|
|
7817
|
-
}
|
|
7818
|
-
},
|
|
7819
|
-
{
|
|
7820
|
-
type: "Control",
|
|
7821
|
-
scope: "#/properties/Back_Button",
|
|
7822
|
-
options: {
|
|
7823
|
-
widget: "IconButton"
|
|
7824
7918
|
},
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
size: "small",
|
|
7831
|
-
onClick: "backHandler",
|
|
7832
|
-
tooltipMessage: "Back"
|
|
7919
|
+
{
|
|
7920
|
+
type: "Control",
|
|
7921
|
+
scope: "#/properties/FooterText",
|
|
7922
|
+
options: {
|
|
7923
|
+
widget: "Box"
|
|
7833
7924
|
},
|
|
7834
|
-
|
|
7835
|
-
|
|
7836
|
-
|
|
7837
|
-
|
|
7838
|
-
}
|
|
7839
|
-
]
|
|
7840
|
-
},
|
|
7841
|
-
{
|
|
7842
|
-
type: "TabLayout",
|
|
7843
|
-
config: {
|
|
7844
|
-
main: {
|
|
7845
|
-
tabLabels: ["Core", "Response Event"],
|
|
7846
|
-
defaultStyle: true,
|
|
7847
|
-
id: "event"
|
|
7848
|
-
}
|
|
7849
|
-
},
|
|
7850
|
-
elements: [
|
|
7851
|
-
{
|
|
7852
|
-
type: "HorizontalLayout",
|
|
7853
|
-
elements: [
|
|
7854
|
-
{
|
|
7855
|
-
type: "Control",
|
|
7856
|
-
scope: `#/properties/eventType`,
|
|
7857
|
-
options: {
|
|
7858
|
-
widget: "SelectInputField"
|
|
7925
|
+
config: {
|
|
7926
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7927
|
+
main: {
|
|
7928
|
+
heading: "Copywriter@ACT21.IO"
|
|
7859
7929
|
},
|
|
7860
|
-
|
|
7861
|
-
|
|
7862
|
-
|
|
7863
|
-
label: "Event Type",
|
|
7864
|
-
type: "text"
|
|
7865
|
-
}
|
|
7930
|
+
style: {
|
|
7931
|
+
color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
|
|
7932
|
+
fontSize: "12px"
|
|
7866
7933
|
}
|
|
7867
|
-
},
|
|
7868
|
-
getSelectField("Handler", "Handler")
|
|
7869
|
-
]
|
|
7870
|
-
},
|
|
7871
|
-
{
|
|
7872
|
-
type: "WrapperLayout",
|
|
7873
|
-
config: {
|
|
7874
|
-
main: {
|
|
7875
|
-
divider: true
|
|
7876
|
-
},
|
|
7877
|
-
wrapperStyle: {
|
|
7878
|
-
border: "1px solid gray"
|
|
7879
7934
|
}
|
|
7880
7935
|
},
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
options: {
|
|
7886
|
-
widget: "Box"
|
|
7887
|
-
},
|
|
7888
|
-
config: {
|
|
7889
|
-
layout: 8,
|
|
7890
|
-
main: {
|
|
7891
|
-
heading: "Response Event"
|
|
7892
|
-
},
|
|
7893
|
-
style: {
|
|
7894
|
-
fontFamily: "Roboto",
|
|
7895
|
-
fontWeight: "500",
|
|
7896
|
-
paddingLeft: "-10px",
|
|
7897
|
-
fontSize: "20px"
|
|
7898
|
-
}
|
|
7899
|
-
}
|
|
7936
|
+
{
|
|
7937
|
+
type: "HorizontalLayout",
|
|
7938
|
+
config: {
|
|
7939
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 }
|
|
7900
7940
|
},
|
|
7901
|
-
|
|
7902
|
-
|
|
7903
|
-
|
|
7904
|
-
|
|
7905
|
-
|
|
7906
|
-
|
|
7907
|
-
config: {
|
|
7908
|
-
layout: 3,
|
|
7909
|
-
main: {
|
|
7910
|
-
icon: "AddIcon",
|
|
7911
|
-
styleDefault: true,
|
|
7912
|
-
size: "small",
|
|
7913
|
-
onClick: "addEvent",
|
|
7914
|
-
tooltipMessage: "Back"
|
|
7941
|
+
elements: [
|
|
7942
|
+
{
|
|
7943
|
+
type: "Control",
|
|
7944
|
+
scope: "#/properties/EmptyBox",
|
|
7945
|
+
options: {
|
|
7946
|
+
widget: "EmptyBox"
|
|
7915
7947
|
},
|
|
7916
|
-
|
|
7917
|
-
|
|
7918
|
-
}
|
|
7919
|
-
}
|
|
7920
|
-
},
|
|
7921
|
-
{
|
|
7922
|
-
type: "Control",
|
|
7923
|
-
scope: "#/properties/events",
|
|
7924
|
-
options: {
|
|
7925
|
-
widget: "Table"
|
|
7926
|
-
},
|
|
7927
|
-
config: {
|
|
7928
|
-
main: {
|
|
7929
|
-
disableAction: true,
|
|
7930
|
-
disableSelection: true,
|
|
7931
|
-
enableDrag: true
|
|
7948
|
+
config: {
|
|
7949
|
+
layout: 2
|
|
7932
7950
|
}
|
|
7933
7951
|
},
|
|
7934
|
-
|
|
7935
|
-
|
|
7936
|
-
|
|
7937
|
-
|
|
7938
|
-
|
|
7939
|
-
{
|
|
7940
|
-
accessorKey: "Handler",
|
|
7941
|
-
header: "Handler"
|
|
7952
|
+
{
|
|
7953
|
+
type: "Control",
|
|
7954
|
+
scope: "#/properties/backIcon",
|
|
7955
|
+
options: {
|
|
7956
|
+
widget: "Box"
|
|
7942
7957
|
},
|
|
7943
|
-
{
|
|
7944
|
-
|
|
7945
|
-
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
|
|
7950
|
-
|
|
7951
|
-
|
|
7952
|
-
|
|
7953
|
-
|
|
7954
|
-
|
|
7955
|
-
|
|
7956
|
-
|
|
7957
|
-
|
|
7958
|
-
onClick: "editEvent"
|
|
7959
|
-
},
|
|
7960
|
-
style: {
|
|
7961
|
-
color: "#3949ab"
|
|
7962
|
-
}
|
|
7963
|
-
}
|
|
7958
|
+
config: {
|
|
7959
|
+
layout: 1,
|
|
7960
|
+
main: {
|
|
7961
|
+
iconName: "PrevIcon",
|
|
7962
|
+
onClick: "backHandler"
|
|
7963
|
+
},
|
|
7964
|
+
style: {
|
|
7965
|
+
fill: theme.palette.primary.dark,
|
|
7966
|
+
width: 20,
|
|
7967
|
+
height: 20,
|
|
7968
|
+
display: "flex",
|
|
7969
|
+
alignItems: "center",
|
|
7970
|
+
justifyContent: "center",
|
|
7971
|
+
marginRight: "-8px",
|
|
7972
|
+
cursor: "pointer"
|
|
7964
7973
|
}
|
|
7974
|
+
}
|
|
7975
|
+
},
|
|
7976
|
+
{
|
|
7977
|
+
type: "Control",
|
|
7978
|
+
scope: "#/properties/text",
|
|
7979
|
+
options: {
|
|
7980
|
+
widget: "Box"
|
|
7965
7981
|
},
|
|
7966
|
-
{
|
|
7967
|
-
|
|
7968
|
-
|
|
7969
|
-
|
|
7970
|
-
|
|
7971
|
-
|
|
7972
|
-
|
|
7973
|
-
|
|
7974
|
-
|
|
7975
|
-
|
|
7976
|
-
|
|
7977
|
-
icon: "RejectIcon",
|
|
7978
|
-
color: "error",
|
|
7979
|
-
tooltipMessage: "Reject This Record",
|
|
7980
|
-
onClick: "deleteEvent"
|
|
7981
|
-
}
|
|
7982
|
-
}
|
|
7982
|
+
config: {
|
|
7983
|
+
layout: 9,
|
|
7984
|
+
main: {
|
|
7985
|
+
heading: "Previous Page",
|
|
7986
|
+
onClick: "backHandler"
|
|
7987
|
+
},
|
|
7988
|
+
style: {
|
|
7989
|
+
color: theme.palette.primary.dark,
|
|
7990
|
+
fontSize: "12px",
|
|
7991
|
+
cursor: "pointer",
|
|
7992
|
+
marginLeft: "-6px"
|
|
7983
7993
|
}
|
|
7984
7994
|
}
|
|
7985
|
-
|
|
7986
|
-
|
|
7987
|
-
|
|
7988
|
-
|
|
7989
|
-
]
|
|
7990
|
-
},
|
|
7991
|
-
{
|
|
7992
|
-
type: "Control",
|
|
7993
|
-
scope: "#/properties/proc",
|
|
7994
|
-
config: {
|
|
7995
|
-
layout: { xs: 11, sm: 11, md: 6, lg: 6 }
|
|
7996
|
-
},
|
|
7997
|
-
options: {
|
|
7998
|
-
widget: "EmptyBox"
|
|
7995
|
+
}
|
|
7996
|
+
]
|
|
7997
|
+
}
|
|
7998
|
+
]
|
|
7999
7999
|
}
|
|
8000
|
-
|
|
8000
|
+
]
|
|
8001
|
+
};
|
|
8002
|
+
return uiSchema;
|
|
8003
|
+
};
|
|
8004
|
+
const APISection = {
|
|
8005
|
+
type: "HorizontalLayout",
|
|
8006
|
+
elements: [
|
|
8001
8007
|
{
|
|
8002
8008
|
type: "Control",
|
|
8003
|
-
scope: "#/properties/
|
|
8009
|
+
scope: "#/properties/method",
|
|
8004
8010
|
options: {
|
|
8005
|
-
widget: "
|
|
8011
|
+
widget: "SelectInputField"
|
|
8006
8012
|
},
|
|
8007
8013
|
config: {
|
|
8008
|
-
layout: {
|
|
8009
|
-
xs: 11,
|
|
8010
|
-
sm: 11,
|
|
8011
|
-
md: 2.5,
|
|
8012
|
-
lg: 2.5
|
|
8013
|
-
},
|
|
8014
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8014
8015
|
main: {
|
|
8015
|
-
|
|
8016
|
-
|
|
8017
|
-
variant: "contained",
|
|
8018
|
-
color: "info",
|
|
8019
|
-
type: "text",
|
|
8020
|
-
onClick: "okHandler",
|
|
8021
|
-
size: "small"
|
|
8022
|
-
},
|
|
8023
|
-
style: {
|
|
8024
|
-
marginBottom: "8px",
|
|
8025
|
-
float: "right"
|
|
8016
|
+
label: "Method",
|
|
8017
|
+
type: "text"
|
|
8026
8018
|
}
|
|
8027
8019
|
}
|
|
8028
8020
|
},
|
|
8029
8021
|
{
|
|
8030
8022
|
type: "Control",
|
|
8031
|
-
scope: "#/properties/
|
|
8023
|
+
scope: "#/properties/path",
|
|
8032
8024
|
options: {
|
|
8033
|
-
widget: "
|
|
8025
|
+
widget: "InputField"
|
|
8034
8026
|
},
|
|
8035
8027
|
config: {
|
|
8036
|
-
layout: {
|
|
8037
|
-
xs: 11,
|
|
8038
|
-
sm: 11,
|
|
8039
|
-
md: 2.5,
|
|
8040
|
-
lg: 2.5
|
|
8041
|
-
},
|
|
8028
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8042
8029
|
main: {
|
|
8043
|
-
|
|
8044
|
-
startIcon: "ApproveIcon",
|
|
8045
|
-
variant: "contained",
|
|
8046
|
-
color: "info",
|
|
8030
|
+
label: "Path",
|
|
8047
8031
|
type: "text",
|
|
8048
|
-
|
|
8049
|
-
|
|
8050
|
-
},
|
|
8051
|
-
style: {
|
|
8052
|
-
marginBottom: "8px",
|
|
8053
|
-
float: "right"
|
|
8032
|
+
multiple: false,
|
|
8033
|
+
options: []
|
|
8054
8034
|
}
|
|
8055
8035
|
}
|
|
8056
8036
|
},
|
|
8057
8037
|
{
|
|
8058
8038
|
type: "Control",
|
|
8059
|
-
scope: "#/properties/
|
|
8060
|
-
options: {
|
|
8061
|
-
widget: "Notify"
|
|
8062
|
-
},
|
|
8063
|
-
layout: 6
|
|
8064
|
-
}
|
|
8065
|
-
]
|
|
8066
|
-
};
|
|
8067
|
-
const APISection = {
|
|
8068
|
-
type: "HorizontalLayout",
|
|
8069
|
-
elements: [
|
|
8070
|
-
{
|
|
8071
|
-
type: "Control",
|
|
8072
|
-
scope: "#/properties/method",
|
|
8039
|
+
scope: "#/properties/emptyBox",
|
|
8073
8040
|
options: {
|
|
8074
|
-
widget: "
|
|
8041
|
+
widget: "EmptyBox"
|
|
8075
8042
|
},
|
|
8076
8043
|
config: {
|
|
8077
|
-
layout: { xs:
|
|
8078
|
-
main: {
|
|
8079
|
-
label: "Method",
|
|
8080
|
-
type: "text"
|
|
8081
|
-
}
|
|
8044
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8082
8045
|
}
|
|
8083
8046
|
},
|
|
8084
8047
|
{
|
|
8085
8048
|
type: "Control",
|
|
8086
|
-
scope: "#/properties/
|
|
8049
|
+
scope: "#/properties/emptyBox",
|
|
8087
8050
|
options: {
|
|
8088
|
-
widget: "
|
|
8051
|
+
widget: "EmptyBox"
|
|
8089
8052
|
},
|
|
8090
8053
|
config: {
|
|
8091
|
-
layout: { xs:
|
|
8092
|
-
main: {
|
|
8093
|
-
label: "Path",
|
|
8094
|
-
type: "text",
|
|
8095
|
-
multiple: false,
|
|
8096
|
-
options: []
|
|
8097
|
-
}
|
|
8054
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8098
8055
|
}
|
|
8099
8056
|
},
|
|
8100
8057
|
{
|
|
@@ -8113,12 +8070,7 @@ const APISection = {
|
|
|
8113
8070
|
widget: "InputField"
|
|
8114
8071
|
},
|
|
8115
8072
|
config: {
|
|
8116
|
-
layout: {
|
|
8117
|
-
xs: 11,
|
|
8118
|
-
sm: 11,
|
|
8119
|
-
md: 5.5,
|
|
8120
|
-
lg: 5.5
|
|
8121
|
-
},
|
|
8073
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8122
8074
|
main: {
|
|
8123
8075
|
label: "Key"
|
|
8124
8076
|
}
|
|
@@ -8131,16 +8083,21 @@ const APISection = {
|
|
|
8131
8083
|
widget: "InputField"
|
|
8132
8084
|
},
|
|
8133
8085
|
config: {
|
|
8134
|
-
layout: {
|
|
8135
|
-
xs: 11,
|
|
8136
|
-
sm: 11,
|
|
8137
|
-
md: 5.5,
|
|
8138
|
-
lg: 5.5
|
|
8139
|
-
},
|
|
8086
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8140
8087
|
main: {
|
|
8141
8088
|
label: "Value"
|
|
8142
8089
|
}
|
|
8143
8090
|
}
|
|
8091
|
+
},
|
|
8092
|
+
{
|
|
8093
|
+
type: "Control",
|
|
8094
|
+
scope: "#/properties/emptyBox",
|
|
8095
|
+
options: {
|
|
8096
|
+
widget: "EmptyBox"
|
|
8097
|
+
},
|
|
8098
|
+
config: {
|
|
8099
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8100
|
+
}
|
|
8144
8101
|
}
|
|
8145
8102
|
]
|
|
8146
8103
|
}
|
|
@@ -8162,12 +8119,7 @@ const APISection = {
|
|
|
8162
8119
|
widget: "InputField"
|
|
8163
8120
|
},
|
|
8164
8121
|
config: {
|
|
8165
|
-
layout: {
|
|
8166
|
-
xs: 11,
|
|
8167
|
-
sm: 11,
|
|
8168
|
-
md: 5.5,
|
|
8169
|
-
lg: 5.5
|
|
8170
|
-
},
|
|
8122
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8171
8123
|
main: {
|
|
8172
8124
|
label: "Key"
|
|
8173
8125
|
}
|
|
@@ -8180,16 +8132,21 @@ const APISection = {
|
|
|
8180
8132
|
widget: "InputField"
|
|
8181
8133
|
},
|
|
8182
8134
|
config: {
|
|
8183
|
-
layout: {
|
|
8184
|
-
xs: 11,
|
|
8185
|
-
sm: 11,
|
|
8186
|
-
md: 5.5,
|
|
8187
|
-
lg: 5.5
|
|
8188
|
-
},
|
|
8135
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8189
8136
|
main: {
|
|
8190
8137
|
label: "Value"
|
|
8191
8138
|
}
|
|
8192
8139
|
}
|
|
8140
|
+
},
|
|
8141
|
+
{
|
|
8142
|
+
type: "Control",
|
|
8143
|
+
scope: "#/properties/emptyBox",
|
|
8144
|
+
options: {
|
|
8145
|
+
widget: "EmptyBox"
|
|
8146
|
+
},
|
|
8147
|
+
config: {
|
|
8148
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8149
|
+
}
|
|
8193
8150
|
}
|
|
8194
8151
|
]
|
|
8195
8152
|
}
|
|
@@ -8216,12 +8173,7 @@ const refreshSectionUiSchema = {
|
|
|
8216
8173
|
widget: "InputField"
|
|
8217
8174
|
},
|
|
8218
8175
|
config: {
|
|
8219
|
-
layout: {
|
|
8220
|
-
xs: 11,
|
|
8221
|
-
sm: 11,
|
|
8222
|
-
md: 5.5,
|
|
8223
|
-
lg: 5.5
|
|
8224
|
-
},
|
|
8176
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8225
8177
|
main: {
|
|
8226
8178
|
label: "Value"
|
|
8227
8179
|
}
|
|
@@ -8234,12 +8186,7 @@ const refreshSectionUiSchema = {
|
|
|
8234
8186
|
widget: "EmptyBox"
|
|
8235
8187
|
},
|
|
8236
8188
|
config: {
|
|
8237
|
-
layout: {
|
|
8238
|
-
xs: 11,
|
|
8239
|
-
sm: 11,
|
|
8240
|
-
md: 5.5,
|
|
8241
|
-
lg: 5.5
|
|
8242
|
-
},
|
|
8189
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
8243
8190
|
main: {}
|
|
8244
8191
|
}
|
|
8245
8192
|
}
|
|
@@ -8259,21 +8206,21 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8259
8206
|
this.refreshPage(formdata.Handler, store2);
|
|
8260
8207
|
},
|
|
8261
8208
|
refreshPage: (handlerType, store22) => {
|
|
8262
|
-
const uiSchema = _.cloneDeep(EventUiSchema);
|
|
8209
|
+
const uiSchema = _.cloneDeep(EventUiSchema(store22.theme.myTheme));
|
|
8263
8210
|
const schema2 = _.cloneDeep(EventSchema);
|
|
8264
8211
|
if (handlerType) {
|
|
8265
8212
|
if (handlerType === "custom") {
|
|
8266
|
-
uiSchema.elements[
|
|
8213
|
+
uiSchema.elements[0].elements[0].elements[3] = getTextArea("eventCode", "Write Custom Code", false);
|
|
8267
8214
|
schema2.required = ["eventType", "Handler", "eventCode"];
|
|
8268
8215
|
} else if (handlerType === "api") {
|
|
8269
|
-
uiSchema.elements[
|
|
8216
|
+
uiSchema.elements[0].elements[0].elements[3] = APISection;
|
|
8270
8217
|
schema2.required = ["eventType", "Handler", "method", "path"];
|
|
8271
8218
|
} else if (handlerType === "inBuiltFunction") {
|
|
8272
|
-
uiSchema.elements[
|
|
8273
|
-
uiSchema.elements[
|
|
8219
|
+
uiSchema.elements[0].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
|
|
8220
|
+
uiSchema.elements[0].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true, 12);
|
|
8274
8221
|
schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
|
|
8275
8222
|
} else if (handlerType === "refresh") {
|
|
8276
|
-
uiSchema.elements[
|
|
8223
|
+
uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
|
|
8277
8224
|
schema2.properties.refreshElements.required = ["value"];
|
|
8278
8225
|
schema2.properties.refreshElements.items.required = ["value"];
|
|
8279
8226
|
schema2.required = ["eventType", "Handler", "refreshElements"];
|
|
@@ -8283,8 +8230,8 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8283
8230
|
store22.setUiSchema(uiSchema);
|
|
8284
8231
|
},
|
|
8285
8232
|
getFormData: Component(store2, dynamicData2, submitHandler, service2).getFormdata,
|
|
8286
|
-
getUiSchema: function() {
|
|
8287
|
-
return EventUiSchema;
|
|
8233
|
+
getUiSchema: async function() {
|
|
8234
|
+
return await EventUiSchema(store2.theme.myTheme);
|
|
8288
8235
|
},
|
|
8289
8236
|
getSchema: () => {
|
|
8290
8237
|
return EventSchema;
|
|
@@ -8746,6 +8693,9 @@ var service = (funcParams) => {
|
|
|
8746
8693
|
functionParameters == null ? void 0 : functionParameters.handleNext();
|
|
8747
8694
|
}
|
|
8748
8695
|
},
|
|
8696
|
+
backHandler: () => {
|
|
8697
|
+
funcParams.store.navigate(-1);
|
|
8698
|
+
},
|
|
8749
8699
|
onReset: async function(functionParameters) {
|
|
8750
8700
|
var _a, _b;
|
|
8751
8701
|
const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || funcParams.dynamicData.path.split(".")[0];
|
|
@@ -9589,8 +9539,10 @@ var WrapperSection = {
|
|
|
9589
9539
|
};
|
|
9590
9540
|
const buildWrapperSection = (config, componentScope) => {
|
|
9591
9541
|
const wrapper = _.cloneDeep(WrapperSection);
|
|
9542
|
+
wrapper.scope = componentScope;
|
|
9592
9543
|
wrapper.config.main.label = config.label;
|
|
9593
9544
|
wrapper.config.main.divider = config.divider === "YES" ? true : false;
|
|
9545
|
+
wrapper.config.main.isAccordion = config.isAccordion === "YES" ? true : false;
|
|
9594
9546
|
if (config.style) {
|
|
9595
9547
|
wrapper.config.style = JSON.parse(config.style);
|
|
9596
9548
|
}
|
|
@@ -9606,12 +9558,7 @@ var TextInputField = {
|
|
|
9606
9558
|
widget: "InputField"
|
|
9607
9559
|
},
|
|
9608
9560
|
config: {
|
|
9609
|
-
layout: {
|
|
9610
|
-
xs: 11,
|
|
9611
|
-
sm: 11,
|
|
9612
|
-
md: 5.5,
|
|
9613
|
-
lg: 5.5
|
|
9614
|
-
},
|
|
9561
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
9615
9562
|
main: {
|
|
9616
9563
|
label: ""
|
|
9617
9564
|
},
|
|
@@ -9644,12 +9591,7 @@ var SelectInputField = {
|
|
|
9644
9591
|
widget: "SelectInputField"
|
|
9645
9592
|
},
|
|
9646
9593
|
config: {
|
|
9647
|
-
|
|
9648
|
-
"xs": 11,
|
|
9649
|
-
"sm": 11,
|
|
9650
|
-
"md": 5.5,
|
|
9651
|
-
"lg": 5.5
|
|
9652
|
-
},
|
|
9594
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
9653
9595
|
main: {
|
|
9654
9596
|
label: "",
|
|
9655
9597
|
type: "text",
|
|
@@ -10059,12 +10001,7 @@ var DateInputField = {
|
|
|
10059
10001
|
widget: "DateInputField"
|
|
10060
10002
|
},
|
|
10061
10003
|
config: {
|
|
10062
|
-
layout: {
|
|
10063
|
-
xs: 11,
|
|
10064
|
-
sm: 11,
|
|
10065
|
-
md: 5.5,
|
|
10066
|
-
lg: 5.5
|
|
10067
|
-
},
|
|
10004
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
10068
10005
|
main: {
|
|
10069
10006
|
label: "",
|
|
10070
10007
|
type: "date"
|
|
@@ -10181,7 +10118,7 @@ var MultipleSelect = {
|
|
|
10181
10118
|
widget: "MultipleSelect"
|
|
10182
10119
|
},
|
|
10183
10120
|
config: {
|
|
10184
|
-
layout: { xs: 11, sm:
|
|
10121
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
10185
10122
|
main: {
|
|
10186
10123
|
label: "",
|
|
10187
10124
|
type: "text",
|
|
@@ -10212,6 +10149,7 @@ const buildBasicUiSchema = (config) => {
|
|
|
10212
10149
|
return {
|
|
10213
10150
|
"type": "HorizontalLayout",
|
|
10214
10151
|
pageName: `${config.name}`,
|
|
10152
|
+
heading: `${config.label}`,
|
|
10215
10153
|
"elements": []
|
|
10216
10154
|
};
|
|
10217
10155
|
};
|
|
@@ -10368,7 +10306,7 @@ var emptyBox = {
|
|
|
10368
10306
|
widget: "EmptyBox"
|
|
10369
10307
|
},
|
|
10370
10308
|
config: {
|
|
10371
|
-
layout: { xs:
|
|
10309
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
10372
10310
|
main: {},
|
|
10373
10311
|
style: {}
|
|
10374
10312
|
}
|
|
@@ -10747,7 +10685,7 @@ const buildUiSchema = (config) => {
|
|
|
10747
10685
|
elements = RunnerBoyProgressbar(config, componentScope);
|
|
10748
10686
|
break;
|
|
10749
10687
|
case "WrapperSection":
|
|
10750
|
-
elements = buildWrapperSection(config);
|
|
10688
|
+
elements = buildWrapperSection(config, componentScope);
|
|
10751
10689
|
break;
|
|
10752
10690
|
case "Text":
|
|
10753
10691
|
elements = buildTextField(config, componentScope);
|