impaktapps-ui-builder 0.0.382-alpha.3 → 0.0.382-alpha.30
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 +1105 -1092
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +14 -14
- 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/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 +344 -266
- 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 +3 -3
- package/src/impaktapps-ui-builder/builder/services/event.ts +8 -8
- package/src/impaktapps-ui-builder/runtime/services/service.ts +3 -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,226 @@ 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
|
+
color: "info",
|
|
129
|
+
onClick: "onAddClickHandler",
|
|
130
|
+
size: "small",
|
|
131
|
+
icon: "AddIcon",
|
|
132
|
+
iconLabel: "Add New",
|
|
133
|
+
styleDefault: true
|
|
134
|
+
},
|
|
135
|
+
style: {
|
|
136
|
+
mt: "6px"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
146
139
|
}
|
|
147
140
|
}
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
disableAction: true,
|
|
144
|
+
disableSelection: true,
|
|
145
|
+
enableDrag: true
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
elements: [
|
|
149
|
+
{
|
|
150
|
+
accessorKey: "name",
|
|
151
|
+
header: "Name"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
accessorKey: "type",
|
|
155
|
+
header: "Type"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
header: "Edit",
|
|
159
|
+
field: "Reject_Records",
|
|
160
|
+
flex: 1,
|
|
161
|
+
widget: {
|
|
162
|
+
type: "Control",
|
|
163
|
+
scope: "#/properties/RejectButton",
|
|
164
|
+
options: {
|
|
165
|
+
widget: "IconButton"
|
|
166
|
+
},
|
|
167
|
+
config: {
|
|
168
|
+
main: {
|
|
169
|
+
icon: "EditIcon",
|
|
170
|
+
color: "primary",
|
|
171
|
+
onClick: "Edit_Components",
|
|
172
|
+
tooltipMessage: "Edit This Record"
|
|
173
|
+
}
|
|
148
174
|
}
|
|
149
175
|
}
|
|
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
176
|
},
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
177
|
+
{
|
|
178
|
+
header: "Delete",
|
|
179
|
+
field: "Reject_Records",
|
|
180
|
+
flex: 1,
|
|
181
|
+
widget: {
|
|
182
|
+
type: "Control",
|
|
183
|
+
scope: "#/properties/RejectButton",
|
|
184
|
+
options: {
|
|
185
|
+
widget: "IconButton"
|
|
186
|
+
},
|
|
187
|
+
config: {
|
|
188
|
+
main: {
|
|
189
|
+
icon: "RejectIcon",
|
|
190
|
+
color: "error",
|
|
191
|
+
onClick: "Delete_Components",
|
|
192
|
+
tooltipMessage: "Reject This Record"
|
|
193
|
+
}
|
|
194
|
+
}
|
|
182
195
|
}
|
|
183
196
|
}
|
|
184
|
-
|
|
197
|
+
]
|
|
185
198
|
},
|
|
186
199
|
{
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
200
|
+
type: "Control",
|
|
201
|
+
scope: "#/properties/events",
|
|
202
|
+
options: {
|
|
203
|
+
widget: "Table"
|
|
204
|
+
},
|
|
205
|
+
config: {
|
|
206
|
+
main: {
|
|
207
|
+
headerIcons: {
|
|
208
|
+
elements: [
|
|
209
|
+
{
|
|
210
|
+
widget: {
|
|
211
|
+
type: "Control",
|
|
212
|
+
scope: "#/properties/New_Record",
|
|
213
|
+
options: {
|
|
214
|
+
widget: "IconButton"
|
|
215
|
+
},
|
|
216
|
+
config: {
|
|
217
|
+
main: {
|
|
218
|
+
color: "info",
|
|
219
|
+
onClick: "eventAddHandler",
|
|
220
|
+
size: "small",
|
|
221
|
+
icon: "AddIcon",
|
|
222
|
+
iconLabel: "Add New",
|
|
223
|
+
styleDefault: true
|
|
224
|
+
},
|
|
225
|
+
style: {
|
|
226
|
+
mt: "6px"
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
]
|
|
232
|
+
},
|
|
233
|
+
disableAction: true,
|
|
234
|
+
disableSelection: true,
|
|
235
|
+
enableDrag: true
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
elements: [
|
|
239
|
+
{
|
|
240
|
+
accessorKey: "eventType",
|
|
241
|
+
header: "Event Type"
|
|
195
242
|
},
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
243
|
+
{
|
|
244
|
+
accessorKey: "Handler",
|
|
245
|
+
header: "Handler"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
accessorKey: "Edit_Approve_Records",
|
|
249
|
+
header: "Edit Widget",
|
|
250
|
+
widget: {
|
|
251
|
+
type: "Control",
|
|
252
|
+
scope: "#/properties/Edit_Records",
|
|
253
|
+
options: {
|
|
254
|
+
widget: "IconButton"
|
|
255
|
+
},
|
|
256
|
+
config: {
|
|
257
|
+
main: {
|
|
258
|
+
color: "info",
|
|
259
|
+
size: "small",
|
|
260
|
+
icon: "EditIcon",
|
|
261
|
+
tooltipMessage: "Edit This Record",
|
|
262
|
+
onClick: "editEvent"
|
|
263
|
+
},
|
|
264
|
+
style: {
|
|
265
|
+
color: "#3949ab"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
accessorKey: "Reject_Records",
|
|
272
|
+
header: "Delete",
|
|
273
|
+
widget: {
|
|
274
|
+
type: "Control",
|
|
275
|
+
scope: "#/properties/RejectButton",
|
|
276
|
+
options: {
|
|
277
|
+
widget: "IconButton"
|
|
278
|
+
},
|
|
279
|
+
config: {
|
|
280
|
+
main: {
|
|
281
|
+
icon: "RejectIcon",
|
|
282
|
+
color: "error",
|
|
283
|
+
tooltipMessage: "Reject This Record",
|
|
284
|
+
onClick: "deleteEvent"
|
|
285
|
+
}
|
|
286
|
+
}
|
|
202
287
|
}
|
|
203
288
|
}
|
|
204
|
-
|
|
289
|
+
]
|
|
205
290
|
}
|
|
206
291
|
]
|
|
207
292
|
},
|
|
208
293
|
{
|
|
209
294
|
type: "Control",
|
|
210
|
-
scope: "#/properties/
|
|
295
|
+
scope: "#/properties/btn",
|
|
211
296
|
options: {
|
|
212
|
-
widget: "
|
|
297
|
+
widget: "Button"
|
|
213
298
|
},
|
|
214
299
|
config: {
|
|
300
|
+
layout: 11.9,
|
|
215
301
|
main: {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
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"
|
|
302
|
+
name: "Save",
|
|
303
|
+
startIcon: "ApproveIcon",
|
|
304
|
+
variant: "contained",
|
|
305
|
+
color: "info",
|
|
306
|
+
type: "text",
|
|
307
|
+
onClick: "saveHandler",
|
|
308
|
+
size: "medium"
|
|
251
309
|
},
|
|
252
|
-
{
|
|
253
|
-
|
|
254
|
-
|
|
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
|
-
}
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
accessorKey: "Reject_Records",
|
|
281
|
-
header: "Delete",
|
|
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
|
-
}
|
|
310
|
+
style: {
|
|
311
|
+
width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
|
|
312
|
+
float: "right"
|
|
297
313
|
}
|
|
298
|
-
|
|
314
|
+
}
|
|
299
315
|
}
|
|
300
316
|
]
|
|
301
317
|
},
|
|
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
318
|
{
|
|
326
319
|
type: "Control",
|
|
327
320
|
scope: "#/properties/notify",
|
|
@@ -6169,285 +6162,332 @@ const ComponentSchema = {
|
|
|
6169
6162
|
},
|
|
6170
6163
|
required: ["name"]
|
|
6171
6164
|
};
|
|
6172
|
-
const componentBasicUiSchema = {
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
{
|
|
6186
|
-
type: "Control",
|
|
6187
|
-
scope: "#/properties/Component",
|
|
6188
|
-
options: {
|
|
6189
|
-
widget: "Box"
|
|
6190
|
-
},
|
|
6191
|
-
config: {
|
|
6192
|
-
layout: { xs: 12, sm: 12, md: 2 },
|
|
6193
|
-
main: {
|
|
6194
|
-
heading: "Component"
|
|
6195
|
-
},
|
|
6196
|
-
style: {
|
|
6197
|
-
"float": "left"
|
|
6198
|
-
}
|
|
6165
|
+
const componentBasicUiSchema = (theme) => {
|
|
6166
|
+
var _a;
|
|
6167
|
+
const uiSchema = {
|
|
6168
|
+
type: "HorizontalLayout",
|
|
6169
|
+
heading: "Component",
|
|
6170
|
+
elements: [
|
|
6171
|
+
{
|
|
6172
|
+
type: "TabLayout",
|
|
6173
|
+
config: {
|
|
6174
|
+
main: {
|
|
6175
|
+
tabLabels: ["Core"],
|
|
6176
|
+
defaultStyle: true,
|
|
6177
|
+
id: `component`
|
|
6199
6178
|
}
|
|
6200
6179
|
},
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
color: "gray",
|
|
6217
|
-
paddingTop: "10px"
|
|
6218
|
-
}
|
|
6219
|
-
}
|
|
6220
|
-
},
|
|
6221
|
-
{
|
|
6222
|
-
type: "Control",
|
|
6223
|
-
scope: "#/properties/Back_Button",
|
|
6224
|
-
options: {
|
|
6225
|
-
widget: "IconButton"
|
|
6226
|
-
},
|
|
6227
|
-
config: {
|
|
6228
|
-
layout: { xs: 2, sm: 2, md: 0.5 },
|
|
6229
|
-
main: {
|
|
6230
|
-
icon: "BackIcon",
|
|
6231
|
-
styleDefault: true,
|
|
6232
|
-
size: "small",
|
|
6233
|
-
onClick: "backHandler",
|
|
6234
|
-
tooltipMessage: "Back"
|
|
6235
|
-
},
|
|
6236
|
-
style: {
|
|
6237
|
-
float: "right"
|
|
6238
|
-
}
|
|
6239
|
-
}
|
|
6240
|
-
}
|
|
6241
|
-
]
|
|
6242
|
-
},
|
|
6243
|
-
{
|
|
6244
|
-
type: "TabLayout",
|
|
6245
|
-
config: {
|
|
6246
|
-
main: {
|
|
6247
|
-
tabLabels: ["Core"],
|
|
6248
|
-
defaultStyle: true,
|
|
6249
|
-
id: `component`
|
|
6250
|
-
}
|
|
6251
|
-
},
|
|
6252
|
-
elements: [
|
|
6253
|
-
{
|
|
6254
|
-
type: "HorizontalLayout",
|
|
6255
|
-
elements: [
|
|
6256
|
-
{
|
|
6257
|
-
type: "Control",
|
|
6258
|
-
scope: "#/properties/type",
|
|
6259
|
-
options: {
|
|
6260
|
-
widget: "SelectInputField"
|
|
6261
|
-
},
|
|
6262
|
-
config: {
|
|
6263
|
-
layout: { xs: 12, sm: 12, md: 6, lg: 6 },
|
|
6264
|
-
main: {
|
|
6265
|
-
label: "Type"
|
|
6180
|
+
elements: [
|
|
6181
|
+
{
|
|
6182
|
+
type: "HorizontalLayout",
|
|
6183
|
+
elements: [
|
|
6184
|
+
{
|
|
6185
|
+
type: "Control",
|
|
6186
|
+
scope: "#/properties/type",
|
|
6187
|
+
options: {
|
|
6188
|
+
widget: "SelectInputField"
|
|
6189
|
+
},
|
|
6190
|
+
config: {
|
|
6191
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6192
|
+
main: {
|
|
6193
|
+
label: "Type"
|
|
6194
|
+
}
|
|
6266
6195
|
}
|
|
6267
|
-
}
|
|
6268
|
-
},
|
|
6269
|
-
{
|
|
6270
|
-
type: "Control",
|
|
6271
|
-
scope: "#/properties/name",
|
|
6272
|
-
options: {
|
|
6273
|
-
widget: "InputField"
|
|
6274
6196
|
},
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
lg: 6
|
|
6197
|
+
{
|
|
6198
|
+
type: "Control",
|
|
6199
|
+
scope: "#/properties/name",
|
|
6200
|
+
options: {
|
|
6201
|
+
widget: "InputField"
|
|
6281
6202
|
},
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
|
|
6286
|
-
|
|
6203
|
+
config: {
|
|
6204
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6205
|
+
main: {
|
|
6206
|
+
label: "Name",
|
|
6207
|
+
options: [],
|
|
6208
|
+
color: "secondary",
|
|
6209
|
+
required: true
|
|
6210
|
+
}
|
|
6287
6211
|
}
|
|
6288
|
-
}
|
|
6289
|
-
},
|
|
6290
|
-
{
|
|
6291
|
-
type: "Control",
|
|
6292
|
-
scope: "#/properties/label",
|
|
6293
|
-
options: {
|
|
6294
|
-
widget: "InputField"
|
|
6295
6212
|
},
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
lg: 6
|
|
6213
|
+
{
|
|
6214
|
+
type: "Control",
|
|
6215
|
+
scope: "#/properties/label",
|
|
6216
|
+
options: {
|
|
6217
|
+
widget: "InputField"
|
|
6302
6218
|
},
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
|
|
6219
|
+
config: {
|
|
6220
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6221
|
+
main: {
|
|
6222
|
+
label: "Label",
|
|
6223
|
+
options: [],
|
|
6224
|
+
color: "secondary",
|
|
6225
|
+
required: true
|
|
6226
|
+
}
|
|
6308
6227
|
}
|
|
6309
|
-
}
|
|
6310
|
-
},
|
|
6311
|
-
{
|
|
6312
|
-
type: "Control",
|
|
6313
|
-
scope: "#/properties/proc",
|
|
6314
|
-
config: {
|
|
6315
|
-
layout: { xs: 11, sm: 11, md: 6, lg: 6 }
|
|
6316
6228
|
},
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6322
|
-
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
|
|
6229
|
+
{
|
|
6230
|
+
type: "Control",
|
|
6231
|
+
scope: "#/properties/layout",
|
|
6232
|
+
layout: 12,
|
|
6233
|
+
options: {
|
|
6234
|
+
detail: {
|
|
6235
|
+
type: "HorizontalLayout",
|
|
6236
|
+
elements: [
|
|
6237
|
+
{
|
|
6238
|
+
type: "Control",
|
|
6239
|
+
scope: "#/properties/key",
|
|
6240
|
+
options: {
|
|
6241
|
+
widget: "SelectInputField"
|
|
6242
|
+
},
|
|
6243
|
+
config: {
|
|
6244
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6245
|
+
main: {
|
|
6246
|
+
label: "Screen Size"
|
|
6247
|
+
}
|
|
6248
|
+
}
|
|
6334
6249
|
},
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
|
|
6338
|
-
|
|
6339
|
-
|
|
6340
|
-
lg: 5.5
|
|
6250
|
+
{
|
|
6251
|
+
type: "Control",
|
|
6252
|
+
scope: "#/properties/value",
|
|
6253
|
+
options: {
|
|
6254
|
+
widget: "InputField"
|
|
6341
6255
|
},
|
|
6342
|
-
|
|
6343
|
-
|
|
6256
|
+
config: {
|
|
6257
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6258
|
+
main: {
|
|
6259
|
+
label: "Value",
|
|
6260
|
+
type: "number",
|
|
6261
|
+
helperText: "Number should be in range of 0 to 12",
|
|
6262
|
+
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6263
|
+
}
|
|
6344
6264
|
}
|
|
6345
|
-
}
|
|
6346
|
-
},
|
|
6347
|
-
{
|
|
6348
|
-
type: "Control",
|
|
6349
|
-
scope: "#/properties/value",
|
|
6350
|
-
options: {
|
|
6351
|
-
widget: "InputField"
|
|
6352
6265
|
},
|
|
6353
|
-
|
|
6354
|
-
|
|
6355
|
-
|
|
6356
|
-
|
|
6357
|
-
|
|
6358
|
-
lg: 5.5
|
|
6266
|
+
{
|
|
6267
|
+
type: "Control",
|
|
6268
|
+
scope: "#/properties/emptyBox",
|
|
6269
|
+
options: {
|
|
6270
|
+
widget: "EmptyBox"
|
|
6359
6271
|
},
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
type: "number",
|
|
6363
|
-
helperText: "Number should be in range of 0 to 12",
|
|
6364
|
-
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6272
|
+
config: {
|
|
6273
|
+
layout: { xs: 0, sm: 4 }
|
|
6365
6274
|
}
|
|
6366
6275
|
}
|
|
6367
|
-
|
|
6368
|
-
|
|
6276
|
+
]
|
|
6277
|
+
}
|
|
6369
6278
|
}
|
|
6370
6279
|
}
|
|
6371
|
-
|
|
6372
|
-
|
|
6280
|
+
]
|
|
6281
|
+
}
|
|
6282
|
+
]
|
|
6283
|
+
},
|
|
6284
|
+
{
|
|
6285
|
+
type: "Control",
|
|
6286
|
+
scope: "#/properties/EmptyBox",
|
|
6287
|
+
options: {
|
|
6288
|
+
widget: "EmptyBox"
|
|
6289
|
+
},
|
|
6290
|
+
config: {
|
|
6291
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6373
6292
|
}
|
|
6374
|
-
]
|
|
6375
|
-
},
|
|
6376
|
-
{
|
|
6377
|
-
type: "Control",
|
|
6378
|
-
scope: "#/properties/proc",
|
|
6379
|
-
config: {
|
|
6380
|
-
layout: { xs: 11, sm: 11, md: 6, lg: 6 }
|
|
6381
6293
|
},
|
|
6382
|
-
|
|
6383
|
-
|
|
6384
|
-
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6390
|
-
|
|
6294
|
+
{
|
|
6295
|
+
type: "Control",
|
|
6296
|
+
scope: "#/properties/EmptyBox",
|
|
6297
|
+
options: {
|
|
6298
|
+
widget: "EmptyBox"
|
|
6299
|
+
},
|
|
6300
|
+
config: {
|
|
6301
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6302
|
+
}
|
|
6391
6303
|
},
|
|
6392
|
-
|
|
6393
|
-
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
|
|
6397
|
-
lg: 2.5
|
|
6304
|
+
{
|
|
6305
|
+
type: "Control",
|
|
6306
|
+
scope: "#/properties/btn",
|
|
6307
|
+
options: {
|
|
6308
|
+
widget: "Button"
|
|
6398
6309
|
},
|
|
6399
|
-
|
|
6400
|
-
|
|
6401
|
-
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
6310
|
+
config: {
|
|
6311
|
+
layout: 1.8,
|
|
6312
|
+
main: {
|
|
6313
|
+
name: "Ok",
|
|
6314
|
+
startIcon: "ApproveIcon",
|
|
6315
|
+
variant: "contained",
|
|
6316
|
+
color: "info",
|
|
6317
|
+
type: "text",
|
|
6318
|
+
onClick: "okHandler",
|
|
6319
|
+
size: "medium"
|
|
6320
|
+
},
|
|
6321
|
+
style: {
|
|
6322
|
+
float: "right"
|
|
6323
|
+
}
|
|
6324
|
+
}
|
|
6325
|
+
},
|
|
6326
|
+
{
|
|
6327
|
+
type: "Control",
|
|
6328
|
+
scope: "#/properties/btnSubmit",
|
|
6329
|
+
options: {
|
|
6330
|
+
widget: "Button"
|
|
6407
6331
|
},
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
|
|
6332
|
+
config: {
|
|
6333
|
+
layout: 1.8,
|
|
6334
|
+
main: {
|
|
6335
|
+
name: "Save & Exit",
|
|
6336
|
+
startIcon: "ApproveIcon",
|
|
6337
|
+
variant: "contained",
|
|
6338
|
+
color: "info",
|
|
6339
|
+
type: "text",
|
|
6340
|
+
onClick: "saveHandler",
|
|
6341
|
+
size: "medium"
|
|
6342
|
+
},
|
|
6343
|
+
style: {
|
|
6344
|
+
float: "right"
|
|
6345
|
+
}
|
|
6411
6346
|
}
|
|
6412
|
-
}
|
|
6413
|
-
},
|
|
6414
|
-
{
|
|
6415
|
-
type: "Control",
|
|
6416
|
-
scope: "#/properties/btnSubmit",
|
|
6417
|
-
options: {
|
|
6418
|
-
widget: "Button"
|
|
6419
6347
|
},
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
|
|
6425
|
-
lg: 2.5
|
|
6348
|
+
{
|
|
6349
|
+
type: "Control",
|
|
6350
|
+
scope: "#/properties/notify",
|
|
6351
|
+
options: {
|
|
6352
|
+
widget: "Notify"
|
|
6426
6353
|
},
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6354
|
+
layout: 6
|
|
6355
|
+
},
|
|
6356
|
+
{
|
|
6357
|
+
type: "HorizontalLayout",
|
|
6358
|
+
config: {
|
|
6359
|
+
style: {
|
|
6360
|
+
position: "fixed",
|
|
6361
|
+
bottom: 5,
|
|
6362
|
+
overflow: "visible",
|
|
6363
|
+
margin: "0",
|
|
6364
|
+
width: "100vw"
|
|
6365
|
+
}
|
|
6435
6366
|
},
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6367
|
+
elements: [
|
|
6368
|
+
{
|
|
6369
|
+
type: "Control",
|
|
6370
|
+
scope: "#/properties/EmptyBox",
|
|
6371
|
+
options: {
|
|
6372
|
+
widget: "EmptyBox"
|
|
6373
|
+
},
|
|
6374
|
+
config: {
|
|
6375
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6376
|
+
}
|
|
6377
|
+
},
|
|
6378
|
+
{
|
|
6379
|
+
type: "Control",
|
|
6380
|
+
scope: "#/properties/FooterText",
|
|
6381
|
+
options: {
|
|
6382
|
+
widget: "Box"
|
|
6383
|
+
},
|
|
6384
|
+
config: {
|
|
6385
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6386
|
+
main: {
|
|
6387
|
+
heading: "Copywriter@ACT21.IO"
|
|
6388
|
+
},
|
|
6389
|
+
style: {
|
|
6390
|
+
color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
|
|
6391
|
+
fontSize: "12px"
|
|
6392
|
+
}
|
|
6393
|
+
}
|
|
6394
|
+
},
|
|
6395
|
+
{
|
|
6396
|
+
type: "HorizontalLayout",
|
|
6397
|
+
config: {
|
|
6398
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 }
|
|
6399
|
+
},
|
|
6400
|
+
elements: [
|
|
6401
|
+
{
|
|
6402
|
+
type: "Control",
|
|
6403
|
+
scope: "#/properties/EmptyBox",
|
|
6404
|
+
options: {
|
|
6405
|
+
widget: "EmptyBox"
|
|
6406
|
+
},
|
|
6407
|
+
config: {
|
|
6408
|
+
layout: 2
|
|
6409
|
+
}
|
|
6410
|
+
},
|
|
6411
|
+
{
|
|
6412
|
+
type: "Control",
|
|
6413
|
+
scope: "#/properties/backIcon",
|
|
6414
|
+
options: {
|
|
6415
|
+
widget: "Box"
|
|
6416
|
+
},
|
|
6417
|
+
config: {
|
|
6418
|
+
layout: 1,
|
|
6419
|
+
main: {
|
|
6420
|
+
iconName: "PrevIcon",
|
|
6421
|
+
onClick: "backHandler"
|
|
6422
|
+
},
|
|
6423
|
+
style: {
|
|
6424
|
+
fill: theme.palette.primary.dark,
|
|
6425
|
+
width: 20,
|
|
6426
|
+
height: 20,
|
|
6427
|
+
display: "flex",
|
|
6428
|
+
alignItems: "center",
|
|
6429
|
+
justifyContent: "center",
|
|
6430
|
+
marginRight: "-8px",
|
|
6431
|
+
cursor: "pointer"
|
|
6432
|
+
}
|
|
6433
|
+
}
|
|
6434
|
+
},
|
|
6435
|
+
{
|
|
6436
|
+
type: "Control",
|
|
6437
|
+
scope: "#/properties/text",
|
|
6438
|
+
options: {
|
|
6439
|
+
widget: "Box"
|
|
6440
|
+
},
|
|
6441
|
+
config: {
|
|
6442
|
+
layout: 9,
|
|
6443
|
+
main: {
|
|
6444
|
+
heading: "Previous Page",
|
|
6445
|
+
onClick: "backHandler"
|
|
6446
|
+
},
|
|
6447
|
+
style: {
|
|
6448
|
+
color: theme.palette.primary.dark,
|
|
6449
|
+
fontSize: "12px",
|
|
6450
|
+
cursor: "pointer",
|
|
6451
|
+
marginLeft: "-6px"
|
|
6452
|
+
}
|
|
6453
|
+
}
|
|
6454
|
+
}
|
|
6455
|
+
]
|
|
6456
|
+
},
|
|
6457
|
+
{
|
|
6458
|
+
type: "Control",
|
|
6459
|
+
scope: "#/properties/pageName",
|
|
6460
|
+
options: {
|
|
6461
|
+
widget: "Box"
|
|
6462
|
+
},
|
|
6463
|
+
config: {
|
|
6464
|
+
layout: 9.7,
|
|
6465
|
+
main: {
|
|
6466
|
+
heading: " "
|
|
6467
|
+
},
|
|
6468
|
+
style: {
|
|
6469
|
+
color: theme.palette.text.disabled,
|
|
6470
|
+
textAlign: "right",
|
|
6471
|
+
fontSize: "12px",
|
|
6472
|
+
marginTop: "-16px"
|
|
6473
|
+
}
|
|
6474
|
+
}
|
|
6475
|
+
},
|
|
6476
|
+
{
|
|
6477
|
+
type: "Control",
|
|
6478
|
+
scope: "#/properties/emptyBox",
|
|
6479
|
+
options: {
|
|
6480
|
+
widget: "EmptyBox"
|
|
6481
|
+
},
|
|
6482
|
+
config: {
|
|
6483
|
+
layout: 2.3
|
|
6484
|
+
}
|
|
6485
|
+
}
|
|
6486
|
+
]
|
|
6440
6487
|
}
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
scope: "#/properties/notify",
|
|
6445
|
-
options: {
|
|
6446
|
-
widget: "Notify"
|
|
6447
|
-
},
|
|
6448
|
-
layout: 6
|
|
6449
|
-
}
|
|
6450
|
-
]
|
|
6488
|
+
]
|
|
6489
|
+
};
|
|
6490
|
+
return uiSchema;
|
|
6451
6491
|
};
|
|
6452
6492
|
const CoreSection = {
|
|
6453
6493
|
type: "HorizontalLayout",
|
|
@@ -6459,7 +6499,7 @@ const CoreSection = {
|
|
|
6459
6499
|
widget: "SelectInputField"
|
|
6460
6500
|
},
|
|
6461
6501
|
config: {
|
|
6462
|
-
layout: { xs:
|
|
6502
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6463
6503
|
main: {
|
|
6464
6504
|
label: "Type",
|
|
6465
6505
|
type: "text"
|
|
@@ -6473,12 +6513,7 @@ const CoreSection = {
|
|
|
6473
6513
|
widget: "InputField"
|
|
6474
6514
|
},
|
|
6475
6515
|
config: {
|
|
6476
|
-
layout: {
|
|
6477
|
-
xs: 12,
|
|
6478
|
-
sm: 12,
|
|
6479
|
-
md: 6,
|
|
6480
|
-
lg: 6
|
|
6481
|
-
},
|
|
6516
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6482
6517
|
main: {
|
|
6483
6518
|
label: "Name"
|
|
6484
6519
|
}
|
|
@@ -6491,31 +6526,16 @@ const CoreSection = {
|
|
|
6491
6526
|
widget: "InputField"
|
|
6492
6527
|
},
|
|
6493
6528
|
config: {
|
|
6494
|
-
layout: {
|
|
6495
|
-
xs: 12,
|
|
6496
|
-
sm: 12,
|
|
6497
|
-
md: 6,
|
|
6498
|
-
lg: 6
|
|
6499
|
-
},
|
|
6529
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6500
6530
|
main: {
|
|
6501
6531
|
label: "Label"
|
|
6502
6532
|
}
|
|
6503
6533
|
}
|
|
6504
6534
|
},
|
|
6505
|
-
{
|
|
6506
|
-
type: "Control",
|
|
6507
|
-
scope: "#/properties/proc",
|
|
6508
|
-
config: {
|
|
6509
|
-
layout: { xs: 11, sm: 11, md: 6, lg: 6 }
|
|
6510
|
-
},
|
|
6511
|
-
options: {
|
|
6512
|
-
widget: "EmptyBox"
|
|
6513
|
-
}
|
|
6514
|
-
},
|
|
6515
6535
|
{
|
|
6516
6536
|
type: "Control",
|
|
6517
6537
|
scope: "#/properties/layout",
|
|
6518
|
-
layout:
|
|
6538
|
+
layout: 12,
|
|
6519
6539
|
options: {
|
|
6520
6540
|
"elementLabelProp": "key",
|
|
6521
6541
|
detail: {
|
|
@@ -6528,12 +6548,7 @@ const CoreSection = {
|
|
|
6528
6548
|
widget: "SelectInputField"
|
|
6529
6549
|
},
|
|
6530
6550
|
config: {
|
|
6531
|
-
layout: {
|
|
6532
|
-
xs: 11,
|
|
6533
|
-
sm: 11,
|
|
6534
|
-
md: 5.5,
|
|
6535
|
-
lg: 5.5
|
|
6536
|
-
},
|
|
6551
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6537
6552
|
main: {
|
|
6538
6553
|
label: "Screen Size"
|
|
6539
6554
|
}
|
|
@@ -6546,12 +6561,7 @@ const CoreSection = {
|
|
|
6546
6561
|
widget: "InputField"
|
|
6547
6562
|
},
|
|
6548
6563
|
config: {
|
|
6549
|
-
layout: {
|
|
6550
|
-
xs: 11,
|
|
6551
|
-
sm: 11,
|
|
6552
|
-
md: 5.5,
|
|
6553
|
-
lg: 5.5
|
|
6554
|
-
},
|
|
6564
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6555
6565
|
main: {
|
|
6556
6566
|
label: "Value",
|
|
6557
6567
|
type: "number",
|
|
@@ -6559,6 +6569,16 @@ const CoreSection = {
|
|
|
6559
6569
|
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6560
6570
|
}
|
|
6561
6571
|
}
|
|
6572
|
+
},
|
|
6573
|
+
{
|
|
6574
|
+
type: "Control",
|
|
6575
|
+
scope: "#/properties/emptyBox",
|
|
6576
|
+
options: {
|
|
6577
|
+
widget: "EmptyBox"
|
|
6578
|
+
},
|
|
6579
|
+
config: {
|
|
6580
|
+
layout: { xs: 0, sm: 4 }
|
|
6581
|
+
}
|
|
6562
6582
|
}
|
|
6563
6583
|
]
|
|
6564
6584
|
}
|
|
@@ -6570,121 +6590,95 @@ const EventSection = {
|
|
|
6570
6590
|
type: "HorizontalLayout",
|
|
6571
6591
|
elements: [
|
|
6572
6592
|
{
|
|
6573
|
-
type: "
|
|
6593
|
+
type: "Control",
|
|
6594
|
+
scope: "#/properties/events",
|
|
6595
|
+
options: {
|
|
6596
|
+
widget: "Table"
|
|
6597
|
+
},
|
|
6574
6598
|
config: {
|
|
6575
6599
|
main: {
|
|
6576
|
-
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
|
|
6600
|
+
headerIcons: {
|
|
6601
|
+
elements: [
|
|
6602
|
+
{
|
|
6603
|
+
widget: {
|
|
6604
|
+
type: "Control",
|
|
6605
|
+
scope: "#/properties/New_Record",
|
|
6606
|
+
options: {
|
|
6607
|
+
widget: "IconButton"
|
|
6608
|
+
},
|
|
6609
|
+
config: {
|
|
6610
|
+
main: {
|
|
6611
|
+
color: "info",
|
|
6612
|
+
onClick: "eventAddHandler",
|
|
6613
|
+
size: "small",
|
|
6614
|
+
icon: "AddIcon",
|
|
6615
|
+
iconLabel: "Add New",
|
|
6616
|
+
styleDefault: true
|
|
6617
|
+
},
|
|
6618
|
+
style: {
|
|
6619
|
+
mt: "6px"
|
|
6620
|
+
}
|
|
6621
|
+
}
|
|
6622
|
+
}
|
|
6623
|
+
}
|
|
6624
|
+
]
|
|
6625
|
+
},
|
|
6626
|
+
disableAction: true,
|
|
6627
|
+
disableSelection: true,
|
|
6628
|
+
enableDrag: true
|
|
6580
6629
|
}
|
|
6581
6630
|
},
|
|
6582
6631
|
elements: [
|
|
6583
6632
|
{
|
|
6584
|
-
|
|
6585
|
-
|
|
6586
|
-
options: {
|
|
6587
|
-
widget: "Box"
|
|
6588
|
-
},
|
|
6589
|
-
config: {
|
|
6590
|
-
layout: 8,
|
|
6591
|
-
main: {
|
|
6592
|
-
heading: "Event Table"
|
|
6593
|
-
},
|
|
6594
|
-
style: {
|
|
6595
|
-
fontFamily: "Roboto",
|
|
6596
|
-
fontWeight: "500",
|
|
6597
|
-
paddingLeft: "-10px",
|
|
6598
|
-
fontSize: "20px"
|
|
6599
|
-
}
|
|
6600
|
-
}
|
|
6633
|
+
accessorKey: "eventType",
|
|
6634
|
+
header: "Event Type"
|
|
6601
6635
|
},
|
|
6602
6636
|
{
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
onClick: "eventAddHandler",
|
|
6615
|
-
tooltipMessage: "Back"
|
|
6637
|
+
accessorKey: "Handler",
|
|
6638
|
+
header: "Handler"
|
|
6639
|
+
},
|
|
6640
|
+
{
|
|
6641
|
+
accessorKey: "Edit_Approve_Records",
|
|
6642
|
+
header: "Edit Widget",
|
|
6643
|
+
widget: {
|
|
6644
|
+
type: "Control",
|
|
6645
|
+
scope: "#/properties/Edit_Records",
|
|
6646
|
+
options: {
|
|
6647
|
+
widget: "IconButton"
|
|
6616
6648
|
},
|
|
6617
|
-
|
|
6618
|
-
|
|
6649
|
+
config: {
|
|
6650
|
+
main: {
|
|
6651
|
+
color: "info",
|
|
6652
|
+
size: "small",
|
|
6653
|
+
icon: "EditIcon",
|
|
6654
|
+
tooltipMessage: "Edit This Record",
|
|
6655
|
+
onClick: "eventEditHandler"
|
|
6656
|
+
},
|
|
6657
|
+
style: {
|
|
6658
|
+
color: "#3949ab"
|
|
6659
|
+
}
|
|
6619
6660
|
}
|
|
6620
6661
|
}
|
|
6621
6662
|
},
|
|
6622
6663
|
{
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
disableSelection: true,
|
|
6632
|
-
enableDrag: true
|
|
6633
|
-
}
|
|
6634
|
-
},
|
|
6635
|
-
elements: [
|
|
6636
|
-
{
|
|
6637
|
-
accessorKey: "eventType",
|
|
6638
|
-
header: "Event Type"
|
|
6639
|
-
},
|
|
6640
|
-
{
|
|
6641
|
-
accessorKey: "Handler",
|
|
6642
|
-
header: "Handler"
|
|
6643
|
-
},
|
|
6644
|
-
{
|
|
6645
|
-
accessorKey: "Edit_Approve_Records",
|
|
6646
|
-
header: "Edit Widget",
|
|
6647
|
-
widget: {
|
|
6648
|
-
type: "Control",
|
|
6649
|
-
scope: "#/properties/Edit_Records",
|
|
6650
|
-
options: {
|
|
6651
|
-
widget: "IconButton"
|
|
6652
|
-
},
|
|
6653
|
-
config: {
|
|
6654
|
-
main: {
|
|
6655
|
-
color: "info",
|
|
6656
|
-
size: "small",
|
|
6657
|
-
icon: "EditIcon",
|
|
6658
|
-
tooltipMessage: "Edit This Record",
|
|
6659
|
-
onClick: "eventEditHandler"
|
|
6660
|
-
},
|
|
6661
|
-
style: {
|
|
6662
|
-
color: "#3949ab"
|
|
6663
|
-
}
|
|
6664
|
-
}
|
|
6665
|
-
}
|
|
6664
|
+
accessorKey: "Reject_Records",
|
|
6665
|
+
header: "Delete",
|
|
6666
|
+
widget: {
|
|
6667
|
+
type: "Control",
|
|
6668
|
+
scope: "#/properties/RejectButton",
|
|
6669
|
+
accessorKeyName: "Reject_Records",
|
|
6670
|
+
options: {
|
|
6671
|
+
widget: "IconButton"
|
|
6666
6672
|
},
|
|
6667
|
-
{
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
accessorKeyName: "Reject_Records",
|
|
6674
|
-
options: {
|
|
6675
|
-
widget: "IconButton"
|
|
6676
|
-
},
|
|
6677
|
-
config: {
|
|
6678
|
-
main: {
|
|
6679
|
-
icon: "RejectIcon",
|
|
6680
|
-
color: "error",
|
|
6681
|
-
tooltipMessage: "Reject This Record",
|
|
6682
|
-
onClick: "deleteEvent"
|
|
6683
|
-
}
|
|
6684
|
-
}
|
|
6673
|
+
config: {
|
|
6674
|
+
main: {
|
|
6675
|
+
icon: "RejectIcon",
|
|
6676
|
+
color: "error",
|
|
6677
|
+
tooltipMessage: "Reject This Record",
|
|
6678
|
+
onClick: "deleteEvent"
|
|
6685
6679
|
}
|
|
6686
6680
|
}
|
|
6687
|
-
|
|
6681
|
+
}
|
|
6688
6682
|
}
|
|
6689
6683
|
]
|
|
6690
6684
|
}
|
|
@@ -6697,12 +6691,7 @@ const EmptyBox = {
|
|
|
6697
6691
|
widget: "EmptyBox"
|
|
6698
6692
|
},
|
|
6699
6693
|
config: {
|
|
6700
|
-
layout: {
|
|
6701
|
-
xs: 11,
|
|
6702
|
-
sm: 11,
|
|
6703
|
-
md: 5.5,
|
|
6704
|
-
lg: 5.5
|
|
6705
|
-
},
|
|
6694
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
6706
6695
|
main: {}
|
|
6707
6696
|
}
|
|
6708
6697
|
};
|
|
@@ -6721,12 +6710,7 @@ const cardLayout = {
|
|
|
6721
6710
|
widget: "SelectInputField"
|
|
6722
6711
|
},
|
|
6723
6712
|
config: {
|
|
6724
|
-
layout: {
|
|
6725
|
-
xs: 11,
|
|
6726
|
-
sm: 11,
|
|
6727
|
-
md: 5.5,
|
|
6728
|
-
lg: 5.5
|
|
6729
|
-
},
|
|
6713
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6730
6714
|
main: {
|
|
6731
6715
|
label: "Screen Size"
|
|
6732
6716
|
}
|
|
@@ -6739,12 +6723,7 @@ const cardLayout = {
|
|
|
6739
6723
|
widget: "InputField"
|
|
6740
6724
|
},
|
|
6741
6725
|
config: {
|
|
6742
|
-
layout: {
|
|
6743
|
-
xs: 11,
|
|
6744
|
-
sm: 11,
|
|
6745
|
-
md: 5.5,
|
|
6746
|
-
lg: 5.5
|
|
6747
|
-
},
|
|
6726
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6748
6727
|
main: {
|
|
6749
6728
|
label: "Value",
|
|
6750
6729
|
type: "number",
|
|
@@ -6752,7 +6731,8 @@ const cardLayout = {
|
|
|
6752
6731
|
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6753
6732
|
}
|
|
6754
6733
|
}
|
|
6755
|
-
}
|
|
6734
|
+
},
|
|
6735
|
+
EmptyBox
|
|
6756
6736
|
]
|
|
6757
6737
|
}
|
|
6758
6738
|
}
|
|
@@ -6774,17 +6754,13 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
|
6774
6754
|
widget: "InputField"
|
|
6775
6755
|
},
|
|
6776
6756
|
config: {
|
|
6777
|
-
layout: {
|
|
6778
|
-
xs: 11,
|
|
6779
|
-
sm: 11,
|
|
6780
|
-
md: 5.5,
|
|
6781
|
-
lg: 5.5
|
|
6782
|
-
},
|
|
6757
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6783
6758
|
main: {
|
|
6784
6759
|
label: childLabel || "Labels for Tab"
|
|
6785
6760
|
}
|
|
6786
6761
|
}
|
|
6787
6762
|
},
|
|
6763
|
+
EmptyBox,
|
|
6788
6764
|
EmptyBox
|
|
6789
6765
|
]
|
|
6790
6766
|
}
|
|
@@ -6799,12 +6775,7 @@ sizeHolder.options.detail.elements[1] = {
|
|
|
6799
6775
|
widget: "InputField"
|
|
6800
6776
|
},
|
|
6801
6777
|
config: {
|
|
6802
|
-
layout: {
|
|
6803
|
-
xs: 11,
|
|
6804
|
-
sm: 11,
|
|
6805
|
-
md: 5.5,
|
|
6806
|
-
lg: 5.5
|
|
6807
|
-
},
|
|
6778
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6808
6779
|
main: {
|
|
6809
6780
|
label: "Size"
|
|
6810
6781
|
}
|
|
@@ -6818,12 +6789,7 @@ const getInputField = (scope, label) => {
|
|
|
6818
6789
|
widget: "InputField"
|
|
6819
6790
|
},
|
|
6820
6791
|
config: {
|
|
6821
|
-
layout: {
|
|
6822
|
-
xs: 11,
|
|
6823
|
-
sm: 11,
|
|
6824
|
-
md: 5.5,
|
|
6825
|
-
lg: 5.5
|
|
6826
|
-
},
|
|
6792
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6827
6793
|
main: {
|
|
6828
6794
|
label
|
|
6829
6795
|
}
|
|
@@ -6838,12 +6804,7 @@ const getRadioInputField = (scope, label, options) => {
|
|
|
6838
6804
|
widget: "RadioInputField"
|
|
6839
6805
|
},
|
|
6840
6806
|
config: {
|
|
6841
|
-
layout: {
|
|
6842
|
-
xs: 11,
|
|
6843
|
-
sm: 11,
|
|
6844
|
-
md: 5.5,
|
|
6845
|
-
lg: 5.5
|
|
6846
|
-
},
|
|
6807
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6847
6808
|
main: {
|
|
6848
6809
|
label,
|
|
6849
6810
|
options
|
|
@@ -6886,7 +6847,7 @@ const getSelectField = (scope, label, options) => {
|
|
|
6886
6847
|
widget: "SelectInputField"
|
|
6887
6848
|
},
|
|
6888
6849
|
config: {
|
|
6889
|
-
layout: { xs: 11, sm:
|
|
6850
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6890
6851
|
main: {
|
|
6891
6852
|
label,
|
|
6892
6853
|
type: "text"
|
|
@@ -6907,6 +6868,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6907
6868
|
getInputField("elevation", "Card Elevation"),
|
|
6908
6869
|
getInputField("height", "Grid height"),
|
|
6909
6870
|
getInputField("justifyContent", "justifyContent"),
|
|
6871
|
+
EmptyBox,
|
|
6872
|
+
EmptyBox,
|
|
6910
6873
|
cardLayout
|
|
6911
6874
|
];
|
|
6912
6875
|
break;
|
|
@@ -6917,6 +6880,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6917
6880
|
getInputField("resetText", "Reset Text"),
|
|
6918
6881
|
getInputField("completeText", "Complete Text"),
|
|
6919
6882
|
getSelectField("orientation", "Orientation Type"),
|
|
6883
|
+
EmptyBox,
|
|
6920
6884
|
getArrayControl("sectionLabels", "label")
|
|
6921
6885
|
];
|
|
6922
6886
|
break;
|
|
@@ -6932,12 +6896,14 @@ const buildPropertiesSection = function(type) {
|
|
|
6932
6896
|
uiSchema.elements = [
|
|
6933
6897
|
getInputField("placeholder", "Placeholder"),
|
|
6934
6898
|
EmptyBox,
|
|
6899
|
+
EmptyBox,
|
|
6935
6900
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
|
|
6936
6901
|
];
|
|
6937
6902
|
break;
|
|
6938
6903
|
case "TextArea":
|
|
6939
6904
|
uiSchema.elements = [
|
|
6940
6905
|
getInputField("placeholder", "Placeholder"),
|
|
6906
|
+
EmptyBox,
|
|
6941
6907
|
EmptyBox
|
|
6942
6908
|
];
|
|
6943
6909
|
break;
|
|
@@ -6947,7 +6913,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6947
6913
|
getInputField("heading", "Container Heading"),
|
|
6948
6914
|
getInputField("heading", "Container Heading"),
|
|
6949
6915
|
getInputField("speedoCaption", "Speedometer Caption"),
|
|
6950
|
-
getInputField("width", "Speedometer Width")
|
|
6916
|
+
getInputField("width", "Speedometer Width"),
|
|
6917
|
+
EmptyBox
|
|
6951
6918
|
];
|
|
6952
6919
|
break;
|
|
6953
6920
|
case "RankCard":
|
|
@@ -6955,7 +6922,9 @@ const buildPropertiesSection = function(type) {
|
|
|
6955
6922
|
getInputField("rank", "Rank"),
|
|
6956
6923
|
getInputField("image", "Image Url"),
|
|
6957
6924
|
getInputField("title", "Card Title"),
|
|
6958
|
-
getInputField("description", "Card Description")
|
|
6925
|
+
getInputField("description", "Card Description"),
|
|
6926
|
+
EmptyBox,
|
|
6927
|
+
EmptyBox
|
|
6959
6928
|
];
|
|
6960
6929
|
break;
|
|
6961
6930
|
case "LeaderBoard":
|
|
@@ -6964,6 +6933,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6964
6933
|
getInputField("firstImage", "First Image url"),
|
|
6965
6934
|
getInputField("secondImage", "Second Image url"),
|
|
6966
6935
|
getInputField("thirdImage", "Third Image url"),
|
|
6936
|
+
EmptyBox,
|
|
6937
|
+
EmptyBox,
|
|
6967
6938
|
getTextArea("functionCode", "Write Compare Code", false)
|
|
6968
6939
|
];
|
|
6969
6940
|
break;
|
|
@@ -6979,7 +6950,9 @@ const buildPropertiesSection = function(type) {
|
|
|
6979
6950
|
getInputField("heading", "Heading"),
|
|
6980
6951
|
getInputField("bottomLabel_1", "First BottomLabel"),
|
|
6981
6952
|
getInputField("bottomLabel_2", "Second BottomLabel"),
|
|
6982
|
-
getInputField("bottomLabel_3", "Third BottomLabel")
|
|
6953
|
+
getInputField("bottomLabel_3", "Third BottomLabel"),
|
|
6954
|
+
EmptyBox,
|
|
6955
|
+
EmptyBox
|
|
6983
6956
|
];
|
|
6984
6957
|
break;
|
|
6985
6958
|
case "card":
|
|
@@ -7013,7 +6986,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7013
6986
|
];
|
|
7014
6987
|
break;
|
|
7015
6988
|
case "WrapperSection":
|
|
7016
|
-
uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]), EmptyBox];
|
|
6989
|
+
uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]), getRadioInputField("isAccordion", "Accordion", ["YES", "No"]), EmptyBox];
|
|
7017
6990
|
break;
|
|
7018
6991
|
case "TabSection":
|
|
7019
6992
|
uiSchema.elements = [
|
|
@@ -7041,12 +7014,14 @@ const buildPropertiesSection = function(type) {
|
|
|
7041
7014
|
case "Select":
|
|
7042
7015
|
uiSchema.elements = [
|
|
7043
7016
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7044
|
-
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"])
|
|
7017
|
+
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
|
|
7018
|
+
EmptyBox
|
|
7045
7019
|
];
|
|
7046
7020
|
break;
|
|
7047
7021
|
case "MultipleSelect":
|
|
7048
7022
|
uiSchema.elements = [
|
|
7049
7023
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7024
|
+
EmptyBox,
|
|
7050
7025
|
EmptyBox
|
|
7051
7026
|
];
|
|
7052
7027
|
break;
|
|
@@ -7092,116 +7067,92 @@ const TableSection = {
|
|
|
7092
7067
|
type: "HorizontalLayout",
|
|
7093
7068
|
elements: [
|
|
7094
7069
|
{
|
|
7095
|
-
type: "
|
|
7070
|
+
type: "Control",
|
|
7071
|
+
scope: "#/properties/elements",
|
|
7072
|
+
options: {
|
|
7073
|
+
widget: "Table"
|
|
7074
|
+
},
|
|
7096
7075
|
config: {
|
|
7097
|
-
main: {
|
|
7098
|
-
|
|
7099
|
-
|
|
7076
|
+
main: {
|
|
7077
|
+
headerIcons: {
|
|
7078
|
+
elements: [
|
|
7079
|
+
{
|
|
7080
|
+
widget: {
|
|
7081
|
+
type: "Control",
|
|
7082
|
+
scope: "#/properties/New_Record",
|
|
7083
|
+
options: {
|
|
7084
|
+
widget: "IconButton"
|
|
7085
|
+
},
|
|
7086
|
+
config: {
|
|
7087
|
+
main: {
|
|
7088
|
+
color: "info",
|
|
7089
|
+
onClick: "widgetAddClickHandler",
|
|
7090
|
+
size: "small",
|
|
7091
|
+
icon: "AddIcon",
|
|
7092
|
+
iconLabel: "Add New",
|
|
7093
|
+
styleDefault: true
|
|
7094
|
+
},
|
|
7095
|
+
style: {
|
|
7096
|
+
mt: "6px"
|
|
7097
|
+
}
|
|
7098
|
+
}
|
|
7099
|
+
}
|
|
7100
|
+
}
|
|
7101
|
+
]
|
|
7102
|
+
},
|
|
7103
|
+
disableAction: true,
|
|
7104
|
+
disableSelection: true,
|
|
7105
|
+
enableDrag: true
|
|
7100
7106
|
}
|
|
7101
7107
|
},
|
|
7102
7108
|
elements: [
|
|
7103
7109
|
{
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
options: {
|
|
7107
|
-
widget: "Box"
|
|
7108
|
-
},
|
|
7109
|
-
config: {
|
|
7110
|
-
layout: 8,
|
|
7111
|
-
main: {
|
|
7112
|
-
heading: "Components Table"
|
|
7113
|
-
},
|
|
7114
|
-
style: {
|
|
7115
|
-
fontFamily: "Roboto",
|
|
7116
|
-
fontWeight: "500",
|
|
7117
|
-
paddingLeft: "-10px",
|
|
7118
|
-
fontSize: "20px"
|
|
7119
|
-
}
|
|
7120
|
-
}
|
|
7110
|
+
accessorKey: "name",
|
|
7111
|
+
header: "Name"
|
|
7121
7112
|
},
|
|
7122
7113
|
{
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
options: {
|
|
7126
|
-
widget: "IconButton"
|
|
7127
|
-
},
|
|
7128
|
-
config: {
|
|
7129
|
-
layout: 3,
|
|
7130
|
-
main: {
|
|
7131
|
-
icon: "AddIcon",
|
|
7132
|
-
styleDefault: true,
|
|
7133
|
-
size: "small",
|
|
7134
|
-
onClick: "widgetAddClickHandler",
|
|
7135
|
-
tooltipMessage: "Add New"
|
|
7136
|
-
},
|
|
7137
|
-
style: {
|
|
7138
|
-
float: "right"
|
|
7139
|
-
}
|
|
7140
|
-
}
|
|
7114
|
+
accessorKey: "type",
|
|
7115
|
+
header: "Type"
|
|
7141
7116
|
},
|
|
7142
7117
|
{
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
disableSelection: true,
|
|
7152
|
-
enableDrag: true
|
|
7153
|
-
}
|
|
7154
|
-
},
|
|
7155
|
-
elements: [
|
|
7156
|
-
{
|
|
7157
|
-
accessorKey: "name",
|
|
7158
|
-
header: "Name"
|
|
7159
|
-
},
|
|
7160
|
-
{
|
|
7161
|
-
accessorKey: "type",
|
|
7162
|
-
header: "Type"
|
|
7118
|
+
header: "Edit Record",
|
|
7119
|
+
field: "Reject_Records",
|
|
7120
|
+
flex: 1,
|
|
7121
|
+
widget: {
|
|
7122
|
+
type: "Control",
|
|
7123
|
+
scope: "#/properties/RejectButton",
|
|
7124
|
+
options: {
|
|
7125
|
+
widget: "IconButton"
|
|
7163
7126
|
},
|
|
7164
|
-
{
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
scope: "#/properties/RejectButton",
|
|
7171
|
-
options: {
|
|
7172
|
-
widget: "IconButton"
|
|
7173
|
-
},
|
|
7174
|
-
config: {
|
|
7175
|
-
main: {
|
|
7176
|
-
icon: "EditIcon",
|
|
7177
|
-
color: "primary",
|
|
7178
|
-
onClick: "editComponents",
|
|
7179
|
-
tooltipMessage: "Reject This Record"
|
|
7180
|
-
}
|
|
7181
|
-
}
|
|
7127
|
+
config: {
|
|
7128
|
+
main: {
|
|
7129
|
+
icon: "EditIcon",
|
|
7130
|
+
color: "primary",
|
|
7131
|
+
onClick: "editComponents",
|
|
7132
|
+
tooltipMessage: "Reject This Record"
|
|
7182
7133
|
}
|
|
7183
|
-
}
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
|
|
7134
|
+
}
|
|
7135
|
+
}
|
|
7136
|
+
},
|
|
7137
|
+
{
|
|
7138
|
+
header: "Delete",
|
|
7139
|
+
field: "Reject_Records",
|
|
7140
|
+
flex: 1,
|
|
7141
|
+
widget: {
|
|
7142
|
+
type: "Control",
|
|
7143
|
+
scope: "#/properties/RejectButton",
|
|
7144
|
+
options: {
|
|
7145
|
+
widget: "IconButton"
|
|
7146
|
+
},
|
|
7147
|
+
config: {
|
|
7148
|
+
main: {
|
|
7149
|
+
icon: "RejectIcon",
|
|
7150
|
+
color: "error",
|
|
7151
|
+
onClick: "deleteComponents",
|
|
7152
|
+
tooltipMessage: "Reject This Record"
|
|
7202
7153
|
}
|
|
7203
7154
|
}
|
|
7204
|
-
|
|
7155
|
+
}
|
|
7205
7156
|
}
|
|
7206
7157
|
]
|
|
7207
7158
|
}
|
|
@@ -7225,12 +7176,7 @@ const ValueTab = {
|
|
|
7225
7176
|
widget: "InputField"
|
|
7226
7177
|
},
|
|
7227
7178
|
config: {
|
|
7228
|
-
layout: {
|
|
7229
|
-
xs: 11,
|
|
7230
|
-
sm: 11,
|
|
7231
|
-
md: 5.5,
|
|
7232
|
-
lg: 5.5
|
|
7233
|
-
},
|
|
7179
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7234
7180
|
main: {
|
|
7235
7181
|
label: "Label"
|
|
7236
7182
|
}
|
|
@@ -7243,16 +7189,21 @@ const ValueTab = {
|
|
|
7243
7189
|
widget: "InputField"
|
|
7244
7190
|
},
|
|
7245
7191
|
config: {
|
|
7246
|
-
layout: {
|
|
7247
|
-
xs: 11,
|
|
7248
|
-
sm: 11,
|
|
7249
|
-
md: 5.5,
|
|
7250
|
-
lg: 5.5
|
|
7251
|
-
},
|
|
7192
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7252
7193
|
main: {
|
|
7253
7194
|
label: "Value"
|
|
7254
7195
|
}
|
|
7255
7196
|
}
|
|
7197
|
+
},
|
|
7198
|
+
{
|
|
7199
|
+
type: "Control",
|
|
7200
|
+
scope: "#/properties/emptyBox",
|
|
7201
|
+
options: {
|
|
7202
|
+
widget: "EmptyBox"
|
|
7203
|
+
},
|
|
7204
|
+
config: {
|
|
7205
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7206
|
+
}
|
|
7256
7207
|
}
|
|
7257
7208
|
]
|
|
7258
7209
|
}
|
|
@@ -7279,12 +7230,7 @@ const ValidationSection = {
|
|
|
7279
7230
|
widget: "SelectInputField"
|
|
7280
7231
|
},
|
|
7281
7232
|
config: {
|
|
7282
|
-
layout: {
|
|
7283
|
-
xs: 11,
|
|
7284
|
-
sm: 11,
|
|
7285
|
-
md: 5.5,
|
|
7286
|
-
lg: 5.5
|
|
7287
|
-
},
|
|
7233
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7288
7234
|
main: {
|
|
7289
7235
|
label: "Validation Type"
|
|
7290
7236
|
}
|
|
@@ -7297,16 +7243,21 @@ const ValidationSection = {
|
|
|
7297
7243
|
widget: "InputField"
|
|
7298
7244
|
},
|
|
7299
7245
|
config: {
|
|
7300
|
-
layout: {
|
|
7301
|
-
xs: 11,
|
|
7302
|
-
sm: 11,
|
|
7303
|
-
md: 5.5,
|
|
7304
|
-
lg: 5.5
|
|
7305
|
-
},
|
|
7246
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7306
7247
|
main: {
|
|
7307
7248
|
label: "Validation Value"
|
|
7308
7249
|
}
|
|
7309
7250
|
}
|
|
7251
|
+
},
|
|
7252
|
+
{
|
|
7253
|
+
type: "Control",
|
|
7254
|
+
scope: "#/properties/emptyBox",
|
|
7255
|
+
options: {
|
|
7256
|
+
widget: "EmptyBox"
|
|
7257
|
+
},
|
|
7258
|
+
config: {
|
|
7259
|
+
layout: { xs: 0, sm: 4 }
|
|
7260
|
+
}
|
|
7310
7261
|
}
|
|
7311
7262
|
]
|
|
7312
7263
|
}
|
|
@@ -7488,7 +7439,7 @@ const sectionLabels = {
|
|
|
7488
7439
|
};
|
|
7489
7440
|
const refreshPage = (type, store2) => {
|
|
7490
7441
|
var _a;
|
|
7491
|
-
const UiSchema = _.cloneDeep(componentBasicUiSchema);
|
|
7442
|
+
const UiSchema = _.cloneDeep(componentBasicUiSchema(store2.theme.myTheme));
|
|
7492
7443
|
if (type) {
|
|
7493
7444
|
const sectionUiSchema = {
|
|
7494
7445
|
Core: CoreSection,
|
|
@@ -7500,8 +7451,8 @@ const refreshPage = (type, store2) => {
|
|
|
7500
7451
|
Validation: ValidationSection
|
|
7501
7452
|
};
|
|
7502
7453
|
const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
|
|
7503
|
-
UiSchema.elements[
|
|
7504
|
-
UiSchema.elements[
|
|
7454
|
+
UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "style", "Event", "Validation"];
|
|
7455
|
+
UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection, ValidationSection];
|
|
7505
7456
|
}
|
|
7506
7457
|
store2.setUiSchema(UiSchema);
|
|
7507
7458
|
};
|
|
@@ -7758,334 +7709,418 @@ const EventSchema = {
|
|
|
7758
7709
|
},
|
|
7759
7710
|
required: ["eventType", "Handler"]
|
|
7760
7711
|
};
|
|
7761
|
-
const EventUiSchema = {
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7765
|
-
|
|
7766
|
-
|
|
7767
|
-
|
|
7768
|
-
|
|
7769
|
-
|
|
7770
|
-
|
|
7771
|
-
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
{
|
|
7775
|
-
type: "Control",
|
|
7776
|
-
scope: "#/properties/Component",
|
|
7777
|
-
options: {
|
|
7778
|
-
widget: "Box"
|
|
7779
|
-
},
|
|
7780
|
-
config: {
|
|
7781
|
-
layout: { xs: 12, sm: 12, md: 2 },
|
|
7782
|
-
main: {
|
|
7783
|
-
heading: "Component"
|
|
7784
|
-
},
|
|
7785
|
-
style: {
|
|
7786
|
-
"float": "left"
|
|
7787
|
-
}
|
|
7712
|
+
const EventUiSchema = (theme) => {
|
|
7713
|
+
var _a;
|
|
7714
|
+
const uiSchema = {
|
|
7715
|
+
type: "HorizontalLayout",
|
|
7716
|
+
heading: "Component",
|
|
7717
|
+
elements: [
|
|
7718
|
+
{
|
|
7719
|
+
type: "TabLayout",
|
|
7720
|
+
config: {
|
|
7721
|
+
main: {
|
|
7722
|
+
tabLabels: ["Core", "Response Event"],
|
|
7723
|
+
defaultStyle: true,
|
|
7724
|
+
id: "event"
|
|
7788
7725
|
}
|
|
7789
7726
|
},
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
|
|
7794
|
-
|
|
7727
|
+
elements: [
|
|
7728
|
+
{
|
|
7729
|
+
type: "HorizontalLayout",
|
|
7730
|
+
elements: [
|
|
7731
|
+
{
|
|
7732
|
+
type: "Control",
|
|
7733
|
+
scope: `#/properties/eventType`,
|
|
7734
|
+
options: {
|
|
7735
|
+
widget: "SelectInputField"
|
|
7736
|
+
},
|
|
7737
|
+
config: {
|
|
7738
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7739
|
+
main: {
|
|
7740
|
+
label: "Event Type",
|
|
7741
|
+
type: "text"
|
|
7742
|
+
}
|
|
7743
|
+
}
|
|
7744
|
+
},
|
|
7745
|
+
{
|
|
7746
|
+
type: "Control",
|
|
7747
|
+
scope: `#/properties/Handler`,
|
|
7748
|
+
options: {
|
|
7749
|
+
widget: "SelectInputField"
|
|
7750
|
+
},
|
|
7751
|
+
config: {
|
|
7752
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7753
|
+
main: {
|
|
7754
|
+
label: "Handler",
|
|
7755
|
+
type: "text"
|
|
7756
|
+
}
|
|
7757
|
+
}
|
|
7758
|
+
},
|
|
7759
|
+
{
|
|
7760
|
+
type: "Control",
|
|
7761
|
+
scope: "#/properties/emptyBox",
|
|
7762
|
+
options: {
|
|
7763
|
+
widget: "EmptyBox"
|
|
7764
|
+
},
|
|
7765
|
+
config: {
|
|
7766
|
+
layout: { xs: 0, sm: 4 }
|
|
7767
|
+
}
|
|
7768
|
+
}
|
|
7769
|
+
]
|
|
7795
7770
|
},
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
|
|
7771
|
+
{
|
|
7772
|
+
type: "Control",
|
|
7773
|
+
scope: "#/properties/events",
|
|
7774
|
+
options: {
|
|
7775
|
+
widget: "Table"
|
|
7800
7776
|
},
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
|
|
7777
|
+
config: {
|
|
7778
|
+
main: {
|
|
7779
|
+
headerIcons: {
|
|
7780
|
+
elements: [
|
|
7781
|
+
{
|
|
7782
|
+
widget: {
|
|
7783
|
+
type: "Control",
|
|
7784
|
+
scope: "#/properties/New_Record",
|
|
7785
|
+
options: {
|
|
7786
|
+
widget: "IconButton"
|
|
7787
|
+
},
|
|
7788
|
+
config: {
|
|
7789
|
+
main: {
|
|
7790
|
+
color: "info",
|
|
7791
|
+
onClick: "addEvent",
|
|
7792
|
+
size: "small",
|
|
7793
|
+
icon: "AddIcon",
|
|
7794
|
+
iconLabel: "Add New",
|
|
7795
|
+
styleDefault: true
|
|
7796
|
+
},
|
|
7797
|
+
style: {
|
|
7798
|
+
mt: "6px"
|
|
7799
|
+
}
|
|
7800
|
+
}
|
|
7801
|
+
}
|
|
7802
|
+
}
|
|
7803
|
+
]
|
|
7804
|
+
},
|
|
7805
|
+
disableAction: true,
|
|
7806
|
+
disableSelection: true,
|
|
7807
|
+
enableDrag: true
|
|
7808
|
+
}
|
|
7809
|
+
},
|
|
7810
|
+
elements: [
|
|
7811
|
+
{
|
|
7812
|
+
accessorKey: "eventType",
|
|
7813
|
+
header: "Event Type"
|
|
7814
|
+
},
|
|
7815
|
+
{
|
|
7816
|
+
accessorKey: "Handler",
|
|
7817
|
+
header: "Handler"
|
|
7818
|
+
},
|
|
7819
|
+
{
|
|
7820
|
+
accessorKey: "Edit_Approve_Records",
|
|
7821
|
+
header: "Edit Widget",
|
|
7822
|
+
widget: {
|
|
7823
|
+
type: "Control",
|
|
7824
|
+
scope: "#/properties/Edit_Records",
|
|
7825
|
+
options: {
|
|
7826
|
+
widget: "IconButton"
|
|
7827
|
+
},
|
|
7828
|
+
config: {
|
|
7829
|
+
main: {
|
|
7830
|
+
color: "info",
|
|
7831
|
+
size: "small",
|
|
7832
|
+
icon: "EditIcon",
|
|
7833
|
+
tooltipMessage: "Edit This Record",
|
|
7834
|
+
onClick: "editEvent"
|
|
7835
|
+
},
|
|
7836
|
+
style: {
|
|
7837
|
+
color: "#3949ab"
|
|
7838
|
+
}
|
|
7839
|
+
}
|
|
7840
|
+
}
|
|
7841
|
+
},
|
|
7842
|
+
{
|
|
7843
|
+
accessorKey: "Reject_Records",
|
|
7844
|
+
header: "Delete",
|
|
7845
|
+
widget: {
|
|
7846
|
+
type: "Control",
|
|
7847
|
+
scope: "#/properties/RejectButton",
|
|
7848
|
+
options: {
|
|
7849
|
+
widget: "IconButton"
|
|
7850
|
+
},
|
|
7851
|
+
config: {
|
|
7852
|
+
main: {
|
|
7853
|
+
icon: "RejectIcon",
|
|
7854
|
+
color: "error",
|
|
7855
|
+
tooltipMessage: "Reject This Record",
|
|
7856
|
+
onClick: "deleteEvent"
|
|
7857
|
+
}
|
|
7858
|
+
}
|
|
7859
|
+
}
|
|
7860
|
+
}
|
|
7861
|
+
]
|
|
7808
7862
|
}
|
|
7863
|
+
]
|
|
7864
|
+
},
|
|
7865
|
+
{
|
|
7866
|
+
type: "Control",
|
|
7867
|
+
scope: "#/properties/EmptyBox",
|
|
7868
|
+
options: {
|
|
7869
|
+
widget: "EmptyBox"
|
|
7809
7870
|
},
|
|
7810
|
-
{
|
|
7811
|
-
|
|
7812
|
-
|
|
7813
|
-
|
|
7814
|
-
|
|
7871
|
+
config: {
|
|
7872
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7873
|
+
}
|
|
7874
|
+
},
|
|
7875
|
+
{
|
|
7876
|
+
type: "Control",
|
|
7877
|
+
scope: "#/properties/EmptyBox",
|
|
7878
|
+
options: {
|
|
7879
|
+
widget: "EmptyBox"
|
|
7880
|
+
},
|
|
7881
|
+
config: {
|
|
7882
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7883
|
+
}
|
|
7884
|
+
},
|
|
7885
|
+
{
|
|
7886
|
+
type: "Control",
|
|
7887
|
+
scope: "#/properties/btn",
|
|
7888
|
+
options: {
|
|
7889
|
+
widget: "Button"
|
|
7890
|
+
},
|
|
7891
|
+
config: {
|
|
7892
|
+
layout: 1.8,
|
|
7893
|
+
main: {
|
|
7894
|
+
name: "Ok",
|
|
7895
|
+
startIcon: "ApproveIcon",
|
|
7896
|
+
variant: "contained",
|
|
7897
|
+
color: "info",
|
|
7898
|
+
type: "text",
|
|
7899
|
+
onClick: "okHandler",
|
|
7900
|
+
size: "medium"
|
|
7815
7901
|
},
|
|
7816
|
-
|
|
7817
|
-
|
|
7818
|
-
main: {
|
|
7819
|
-
icon: "BackIcon",
|
|
7820
|
-
styleDefault: true,
|
|
7821
|
-
size: "small",
|
|
7822
|
-
onClick: "backHandler",
|
|
7823
|
-
tooltipMessage: "Back"
|
|
7824
|
-
},
|
|
7825
|
-
style: {
|
|
7826
|
-
float: "right"
|
|
7827
|
-
}
|
|
7902
|
+
style: {
|
|
7903
|
+
float: "right"
|
|
7828
7904
|
}
|
|
7829
7905
|
}
|
|
7830
|
-
]
|
|
7831
|
-
},
|
|
7832
|
-
{
|
|
7833
|
-
type: "TabLayout",
|
|
7834
|
-
config: {
|
|
7835
|
-
main: {
|
|
7836
|
-
tabLabels: ["Core", "Response Event"],
|
|
7837
|
-
defaultStyle: true,
|
|
7838
|
-
id: "event"
|
|
7839
|
-
}
|
|
7840
7906
|
},
|
|
7841
|
-
|
|
7842
|
-
|
|
7843
|
-
|
|
7844
|
-
|
|
7845
|
-
|
|
7846
|
-
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
|
|
7858
|
-
|
|
7859
|
-
|
|
7860
|
-
|
|
7907
|
+
{
|
|
7908
|
+
type: "Control",
|
|
7909
|
+
scope: "#/properties/btnSubmit",
|
|
7910
|
+
options: {
|
|
7911
|
+
widget: "Button"
|
|
7912
|
+
},
|
|
7913
|
+
config: {
|
|
7914
|
+
layout: 1.8,
|
|
7915
|
+
main: {
|
|
7916
|
+
name: "Save & Exit",
|
|
7917
|
+
startIcon: "ApproveIcon",
|
|
7918
|
+
variant: "contained",
|
|
7919
|
+
color: "info",
|
|
7920
|
+
type: "text",
|
|
7921
|
+
onClick: "saveHandler",
|
|
7922
|
+
size: "medium"
|
|
7923
|
+
},
|
|
7924
|
+
style: {
|
|
7925
|
+
float: "right"
|
|
7926
|
+
}
|
|
7927
|
+
}
|
|
7928
|
+
},
|
|
7929
|
+
{
|
|
7930
|
+
type: "Control",
|
|
7931
|
+
scope: "#/properties/notify",
|
|
7932
|
+
options: {
|
|
7933
|
+
widget: "Notify"
|
|
7861
7934
|
},
|
|
7862
|
-
|
|
7863
|
-
|
|
7864
|
-
|
|
7865
|
-
|
|
7866
|
-
|
|
7935
|
+
layout: 6
|
|
7936
|
+
},
|
|
7937
|
+
{
|
|
7938
|
+
type: "HorizontalLayout",
|
|
7939
|
+
config: {
|
|
7940
|
+
style: {
|
|
7941
|
+
position: "fixed",
|
|
7942
|
+
bottom: 5,
|
|
7943
|
+
overflow: "visible",
|
|
7944
|
+
margin: "0",
|
|
7945
|
+
width: "100vw"
|
|
7946
|
+
}
|
|
7947
|
+
},
|
|
7948
|
+
elements: [
|
|
7949
|
+
{
|
|
7950
|
+
type: "Control",
|
|
7951
|
+
scope: "#/properties/EmptyBox",
|
|
7952
|
+
options: {
|
|
7953
|
+
widget: "EmptyBox"
|
|
7867
7954
|
},
|
|
7868
|
-
|
|
7869
|
-
|
|
7955
|
+
config: {
|
|
7956
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7870
7957
|
}
|
|
7871
7958
|
},
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
widget: "Box"
|
|
7878
|
-
},
|
|
7879
|
-
config: {
|
|
7880
|
-
layout: 8,
|
|
7881
|
-
main: {
|
|
7882
|
-
heading: "Response Event"
|
|
7883
|
-
},
|
|
7884
|
-
style: {
|
|
7885
|
-
fontFamily: "Roboto",
|
|
7886
|
-
fontWeight: "500",
|
|
7887
|
-
paddingLeft: "-10px",
|
|
7888
|
-
fontSize: "20px"
|
|
7889
|
-
}
|
|
7890
|
-
}
|
|
7959
|
+
{
|
|
7960
|
+
type: "Control",
|
|
7961
|
+
scope: "#/properties/FooterText",
|
|
7962
|
+
options: {
|
|
7963
|
+
widget: "Box"
|
|
7891
7964
|
},
|
|
7892
|
-
{
|
|
7893
|
-
|
|
7894
|
-
|
|
7895
|
-
|
|
7896
|
-
widget: "IconButton"
|
|
7965
|
+
config: {
|
|
7966
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7967
|
+
main: {
|
|
7968
|
+
heading: "Copywriter@ACT21.IO"
|
|
7897
7969
|
},
|
|
7898
|
-
|
|
7899
|
-
|
|
7900
|
-
|
|
7901
|
-
icon: "AddIcon",
|
|
7902
|
-
styleDefault: true,
|
|
7903
|
-
size: "small",
|
|
7904
|
-
onClick: "addEvent",
|
|
7905
|
-
tooltipMessage: "Back"
|
|
7906
|
-
},
|
|
7907
|
-
style: {
|
|
7908
|
-
float: "right"
|
|
7909
|
-
}
|
|
7970
|
+
style: {
|
|
7971
|
+
color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
|
|
7972
|
+
fontSize: "12px"
|
|
7910
7973
|
}
|
|
7974
|
+
}
|
|
7975
|
+
},
|
|
7976
|
+
{
|
|
7977
|
+
type: "HorizontalLayout",
|
|
7978
|
+
config: {
|
|
7979
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 }
|
|
7911
7980
|
},
|
|
7912
|
-
|
|
7913
|
-
|
|
7914
|
-
|
|
7915
|
-
|
|
7916
|
-
|
|
7917
|
-
|
|
7918
|
-
|
|
7919
|
-
|
|
7920
|
-
|
|
7921
|
-
disableSelection: true,
|
|
7922
|
-
enableDrag: true
|
|
7981
|
+
elements: [
|
|
7982
|
+
{
|
|
7983
|
+
type: "Control",
|
|
7984
|
+
scope: "#/properties/EmptyBox",
|
|
7985
|
+
options: {
|
|
7986
|
+
widget: "EmptyBox"
|
|
7987
|
+
},
|
|
7988
|
+
config: {
|
|
7989
|
+
layout: 2
|
|
7923
7990
|
}
|
|
7924
7991
|
},
|
|
7925
|
-
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
{
|
|
7931
|
-
accessorKey: "Handler",
|
|
7932
|
-
header: "Handler"
|
|
7992
|
+
{
|
|
7993
|
+
type: "Control",
|
|
7994
|
+
scope: "#/properties/backIcon",
|
|
7995
|
+
options: {
|
|
7996
|
+
widget: "Box"
|
|
7933
7997
|
},
|
|
7934
|
-
{
|
|
7935
|
-
|
|
7936
|
-
|
|
7937
|
-
|
|
7938
|
-
|
|
7939
|
-
|
|
7940
|
-
|
|
7941
|
-
|
|
7942
|
-
|
|
7943
|
-
|
|
7944
|
-
|
|
7945
|
-
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
onClick: "editEvent"
|
|
7950
|
-
},
|
|
7951
|
-
style: {
|
|
7952
|
-
color: "#3949ab"
|
|
7953
|
-
}
|
|
7954
|
-
}
|
|
7998
|
+
config: {
|
|
7999
|
+
layout: 1,
|
|
8000
|
+
main: {
|
|
8001
|
+
iconName: "PrevIcon",
|
|
8002
|
+
onClick: "backHandler"
|
|
8003
|
+
},
|
|
8004
|
+
style: {
|
|
8005
|
+
fill: theme.palette.primary.dark,
|
|
8006
|
+
width: 20,
|
|
8007
|
+
height: 20,
|
|
8008
|
+
display: "flex",
|
|
8009
|
+
alignItems: "center",
|
|
8010
|
+
justifyContent: "center",
|
|
8011
|
+
marginRight: "-8px",
|
|
8012
|
+
cursor: "pointer"
|
|
7955
8013
|
}
|
|
8014
|
+
}
|
|
8015
|
+
},
|
|
8016
|
+
{
|
|
8017
|
+
type: "Control",
|
|
8018
|
+
scope: "#/properties/text",
|
|
8019
|
+
options: {
|
|
8020
|
+
widget: "Box"
|
|
7956
8021
|
},
|
|
7957
|
-
{
|
|
7958
|
-
|
|
7959
|
-
|
|
7960
|
-
|
|
7961
|
-
|
|
7962
|
-
|
|
7963
|
-
|
|
7964
|
-
|
|
7965
|
-
|
|
7966
|
-
|
|
7967
|
-
|
|
7968
|
-
icon: "RejectIcon",
|
|
7969
|
-
color: "error",
|
|
7970
|
-
tooltipMessage: "Reject This Record",
|
|
7971
|
-
onClick: "deleteEvent"
|
|
7972
|
-
}
|
|
7973
|
-
}
|
|
8022
|
+
config: {
|
|
8023
|
+
layout: 9,
|
|
8024
|
+
main: {
|
|
8025
|
+
heading: "Previous Page",
|
|
8026
|
+
onClick: "backHandler"
|
|
8027
|
+
},
|
|
8028
|
+
style: {
|
|
8029
|
+
color: theme.palette.primary.dark,
|
|
8030
|
+
fontSize: "12px",
|
|
8031
|
+
cursor: "pointer",
|
|
8032
|
+
marginLeft: "-6px"
|
|
7974
8033
|
}
|
|
7975
8034
|
}
|
|
7976
|
-
|
|
8035
|
+
}
|
|
8036
|
+
]
|
|
8037
|
+
},
|
|
8038
|
+
{
|
|
8039
|
+
type: "Control",
|
|
8040
|
+
scope: "#/properties/pageName",
|
|
8041
|
+
options: {
|
|
8042
|
+
widget: "Box"
|
|
8043
|
+
},
|
|
8044
|
+
config: {
|
|
8045
|
+
layout: 9.7,
|
|
8046
|
+
main: {
|
|
8047
|
+
heading: " "
|
|
8048
|
+
},
|
|
8049
|
+
style: {
|
|
8050
|
+
color: theme.palette.text.disabled,
|
|
8051
|
+
textAlign: "right",
|
|
8052
|
+
fontSize: "12px",
|
|
8053
|
+
marginTop: "-16px"
|
|
8054
|
+
}
|
|
7977
8055
|
}
|
|
7978
|
-
|
|
7979
|
-
|
|
7980
|
-
|
|
7981
|
-
|
|
7982
|
-
|
|
7983
|
-
|
|
7984
|
-
|
|
7985
|
-
|
|
7986
|
-
|
|
7987
|
-
|
|
7988
|
-
|
|
7989
|
-
|
|
8056
|
+
},
|
|
8057
|
+
{
|
|
8058
|
+
type: "Control",
|
|
8059
|
+
scope: "#/properties/emptyBox",
|
|
8060
|
+
options: {
|
|
8061
|
+
widget: "EmptyBox"
|
|
8062
|
+
},
|
|
8063
|
+
config: {
|
|
8064
|
+
layout: 2.3
|
|
8065
|
+
}
|
|
8066
|
+
}
|
|
8067
|
+
]
|
|
7990
8068
|
}
|
|
7991
|
-
|
|
8069
|
+
]
|
|
8070
|
+
};
|
|
8071
|
+
return uiSchema;
|
|
8072
|
+
};
|
|
8073
|
+
const APISection = {
|
|
8074
|
+
type: "HorizontalLayout",
|
|
8075
|
+
elements: [
|
|
7992
8076
|
{
|
|
7993
8077
|
type: "Control",
|
|
7994
|
-
scope: "#/properties/
|
|
8078
|
+
scope: "#/properties/method",
|
|
7995
8079
|
options: {
|
|
7996
|
-
widget: "
|
|
8080
|
+
widget: "SelectInputField"
|
|
7997
8081
|
},
|
|
7998
8082
|
config: {
|
|
7999
|
-
layout: {
|
|
8000
|
-
xs: 11,
|
|
8001
|
-
sm: 11,
|
|
8002
|
-
md: 2.5,
|
|
8003
|
-
lg: 2.5
|
|
8004
|
-
},
|
|
8083
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8005
8084
|
main: {
|
|
8006
|
-
|
|
8007
|
-
|
|
8008
|
-
variant: "contained",
|
|
8009
|
-
color: "info",
|
|
8010
|
-
type: "text",
|
|
8011
|
-
onClick: "okHandler",
|
|
8012
|
-
size: "small"
|
|
8013
|
-
},
|
|
8014
|
-
style: {
|
|
8015
|
-
marginBottom: "8px",
|
|
8016
|
-
float: "right"
|
|
8085
|
+
label: "Method",
|
|
8086
|
+
type: "text"
|
|
8017
8087
|
}
|
|
8018
8088
|
}
|
|
8019
8089
|
},
|
|
8020
8090
|
{
|
|
8021
8091
|
type: "Control",
|
|
8022
|
-
scope: "#/properties/
|
|
8092
|
+
scope: "#/properties/path",
|
|
8023
8093
|
options: {
|
|
8024
|
-
widget: "
|
|
8094
|
+
widget: "InputField"
|
|
8025
8095
|
},
|
|
8026
8096
|
config: {
|
|
8027
|
-
layout: {
|
|
8028
|
-
xs: 11,
|
|
8029
|
-
sm: 11,
|
|
8030
|
-
md: 2.5,
|
|
8031
|
-
lg: 2.5
|
|
8032
|
-
},
|
|
8097
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8033
8098
|
main: {
|
|
8034
|
-
|
|
8035
|
-
startIcon: "ApproveIcon",
|
|
8036
|
-
variant: "contained",
|
|
8037
|
-
color: "info",
|
|
8099
|
+
label: "Path",
|
|
8038
8100
|
type: "text",
|
|
8039
|
-
|
|
8040
|
-
|
|
8041
|
-
},
|
|
8042
|
-
style: {
|
|
8043
|
-
marginBottom: "8px",
|
|
8044
|
-
float: "right"
|
|
8101
|
+
multiple: false,
|
|
8102
|
+
options: []
|
|
8045
8103
|
}
|
|
8046
8104
|
}
|
|
8047
8105
|
},
|
|
8048
8106
|
{
|
|
8049
8107
|
type: "Control",
|
|
8050
|
-
scope: "#/properties/
|
|
8051
|
-
options: {
|
|
8052
|
-
widget: "Notify"
|
|
8053
|
-
},
|
|
8054
|
-
layout: 6
|
|
8055
|
-
}
|
|
8056
|
-
]
|
|
8057
|
-
};
|
|
8058
|
-
const APISection = {
|
|
8059
|
-
type: "HorizontalLayout",
|
|
8060
|
-
elements: [
|
|
8061
|
-
{
|
|
8062
|
-
type: "Control",
|
|
8063
|
-
scope: "#/properties/method",
|
|
8108
|
+
scope: "#/properties/emptyBox",
|
|
8064
8109
|
options: {
|
|
8065
|
-
widget: "
|
|
8110
|
+
widget: "EmptyBox"
|
|
8066
8111
|
},
|
|
8067
8112
|
config: {
|
|
8068
|
-
layout: { xs:
|
|
8069
|
-
main: {
|
|
8070
|
-
label: "Method",
|
|
8071
|
-
type: "text"
|
|
8072
|
-
}
|
|
8113
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8073
8114
|
}
|
|
8074
8115
|
},
|
|
8075
8116
|
{
|
|
8076
8117
|
type: "Control",
|
|
8077
|
-
scope: "#/properties/
|
|
8118
|
+
scope: "#/properties/emptyBox",
|
|
8078
8119
|
options: {
|
|
8079
|
-
widget: "
|
|
8120
|
+
widget: "EmptyBox"
|
|
8080
8121
|
},
|
|
8081
8122
|
config: {
|
|
8082
|
-
layout: { xs:
|
|
8083
|
-
main: {
|
|
8084
|
-
label: "Path",
|
|
8085
|
-
type: "text",
|
|
8086
|
-
multiple: false,
|
|
8087
|
-
options: []
|
|
8088
|
-
}
|
|
8123
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8089
8124
|
}
|
|
8090
8125
|
},
|
|
8091
8126
|
{
|
|
@@ -8104,12 +8139,7 @@ const APISection = {
|
|
|
8104
8139
|
widget: "InputField"
|
|
8105
8140
|
},
|
|
8106
8141
|
config: {
|
|
8107
|
-
layout: {
|
|
8108
|
-
xs: 11,
|
|
8109
|
-
sm: 11,
|
|
8110
|
-
md: 5.5,
|
|
8111
|
-
lg: 5.5
|
|
8112
|
-
},
|
|
8142
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8113
8143
|
main: {
|
|
8114
8144
|
label: "Key"
|
|
8115
8145
|
}
|
|
@@ -8122,16 +8152,21 @@ const APISection = {
|
|
|
8122
8152
|
widget: "InputField"
|
|
8123
8153
|
},
|
|
8124
8154
|
config: {
|
|
8125
|
-
layout: {
|
|
8126
|
-
xs: 11,
|
|
8127
|
-
sm: 11,
|
|
8128
|
-
md: 5.5,
|
|
8129
|
-
lg: 5.5
|
|
8130
|
-
},
|
|
8155
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8131
8156
|
main: {
|
|
8132
8157
|
label: "Value"
|
|
8133
8158
|
}
|
|
8134
8159
|
}
|
|
8160
|
+
},
|
|
8161
|
+
{
|
|
8162
|
+
type: "Control",
|
|
8163
|
+
scope: "#/properties/emptyBox",
|
|
8164
|
+
options: {
|
|
8165
|
+
widget: "EmptyBox"
|
|
8166
|
+
},
|
|
8167
|
+
config: {
|
|
8168
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8169
|
+
}
|
|
8135
8170
|
}
|
|
8136
8171
|
]
|
|
8137
8172
|
}
|
|
@@ -8153,12 +8188,7 @@ const APISection = {
|
|
|
8153
8188
|
widget: "InputField"
|
|
8154
8189
|
},
|
|
8155
8190
|
config: {
|
|
8156
|
-
layout: {
|
|
8157
|
-
xs: 11,
|
|
8158
|
-
sm: 11,
|
|
8159
|
-
md: 5.5,
|
|
8160
|
-
lg: 5.5
|
|
8161
|
-
},
|
|
8191
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8162
8192
|
main: {
|
|
8163
8193
|
label: "Key"
|
|
8164
8194
|
}
|
|
@@ -8171,16 +8201,21 @@ const APISection = {
|
|
|
8171
8201
|
widget: "InputField"
|
|
8172
8202
|
},
|
|
8173
8203
|
config: {
|
|
8174
|
-
layout: {
|
|
8175
|
-
xs: 11,
|
|
8176
|
-
sm: 11,
|
|
8177
|
-
md: 5.5,
|
|
8178
|
-
lg: 5.5
|
|
8179
|
-
},
|
|
8204
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8180
8205
|
main: {
|
|
8181
8206
|
label: "Value"
|
|
8182
8207
|
}
|
|
8183
8208
|
}
|
|
8209
|
+
},
|
|
8210
|
+
{
|
|
8211
|
+
type: "Control",
|
|
8212
|
+
scope: "#/properties/emptyBox",
|
|
8213
|
+
options: {
|
|
8214
|
+
widget: "EmptyBox"
|
|
8215
|
+
},
|
|
8216
|
+
config: {
|
|
8217
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8218
|
+
}
|
|
8184
8219
|
}
|
|
8185
8220
|
]
|
|
8186
8221
|
}
|
|
@@ -8207,12 +8242,7 @@ const refreshSectionUiSchema = {
|
|
|
8207
8242
|
widget: "InputField"
|
|
8208
8243
|
},
|
|
8209
8244
|
config: {
|
|
8210
|
-
layout: {
|
|
8211
|
-
xs: 11,
|
|
8212
|
-
sm: 11,
|
|
8213
|
-
md: 5.5,
|
|
8214
|
-
lg: 5.5
|
|
8215
|
-
},
|
|
8245
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8216
8246
|
main: {
|
|
8217
8247
|
label: "Value"
|
|
8218
8248
|
}
|
|
@@ -8225,12 +8255,7 @@ const refreshSectionUiSchema = {
|
|
|
8225
8255
|
widget: "EmptyBox"
|
|
8226
8256
|
},
|
|
8227
8257
|
config: {
|
|
8228
|
-
layout: {
|
|
8229
|
-
xs: 11,
|
|
8230
|
-
sm: 11,
|
|
8231
|
-
md: 5.5,
|
|
8232
|
-
lg: 5.5
|
|
8233
|
-
},
|
|
8258
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
8234
8259
|
main: {}
|
|
8235
8260
|
}
|
|
8236
8261
|
}
|
|
@@ -8250,21 +8275,21 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8250
8275
|
this.refreshPage(formdata.Handler, store2);
|
|
8251
8276
|
},
|
|
8252
8277
|
refreshPage: (handlerType, store22) => {
|
|
8253
|
-
const uiSchema = _.cloneDeep(EventUiSchema);
|
|
8278
|
+
const uiSchema = _.cloneDeep(EventUiSchema(store22.theme.myTheme));
|
|
8254
8279
|
const schema2 = _.cloneDeep(EventSchema);
|
|
8255
8280
|
if (handlerType) {
|
|
8256
8281
|
if (handlerType === "custom") {
|
|
8257
|
-
uiSchema.elements[
|
|
8282
|
+
uiSchema.elements[0].elements[0].elements[3] = getTextArea("eventCode", "Write Custom Code", false);
|
|
8258
8283
|
schema2.required = ["eventType", "Handler", "eventCode"];
|
|
8259
8284
|
} else if (handlerType === "api") {
|
|
8260
|
-
uiSchema.elements[
|
|
8285
|
+
uiSchema.elements[0].elements[0].elements[3] = APISection;
|
|
8261
8286
|
schema2.required = ["eventType", "Handler", "method", "path"];
|
|
8262
8287
|
} else if (handlerType === "inBuiltFunction") {
|
|
8263
|
-
uiSchema.elements[
|
|
8264
|
-
uiSchema.elements[
|
|
8288
|
+
uiSchema.elements[0].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
|
|
8289
|
+
uiSchema.elements[0].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true, 12);
|
|
8265
8290
|
schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
|
|
8266
8291
|
} else if (handlerType === "refresh") {
|
|
8267
|
-
uiSchema.elements[
|
|
8292
|
+
uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
|
|
8268
8293
|
schema2.properties.refreshElements.required = ["value"];
|
|
8269
8294
|
schema2.properties.refreshElements.items.required = ["value"];
|
|
8270
8295
|
schema2.required = ["eventType", "Handler", "refreshElements"];
|
|
@@ -8274,8 +8299,8 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8274
8299
|
store22.setUiSchema(uiSchema);
|
|
8275
8300
|
},
|
|
8276
8301
|
getFormData: Component(store2, dynamicData2, submitHandler, service2).getFormdata,
|
|
8277
|
-
getUiSchema: function() {
|
|
8278
|
-
return EventUiSchema;
|
|
8302
|
+
getUiSchema: async function() {
|
|
8303
|
+
return await EventUiSchema(store2.theme.myTheme);
|
|
8279
8304
|
},
|
|
8280
8305
|
getSchema: () => {
|
|
8281
8306
|
return EventSchema;
|
|
@@ -9580,8 +9605,10 @@ var WrapperSection = {
|
|
|
9580
9605
|
};
|
|
9581
9606
|
const buildWrapperSection = (config, componentScope) => {
|
|
9582
9607
|
const wrapper = _.cloneDeep(WrapperSection);
|
|
9608
|
+
wrapper.scope = componentScope;
|
|
9583
9609
|
wrapper.config.main.label = config.label;
|
|
9584
9610
|
wrapper.config.main.divider = config.divider === "YES" ? true : false;
|
|
9611
|
+
wrapper.config.main.isAccordion = config.isAccordion === "YES" ? true : false;
|
|
9585
9612
|
if (config.style) {
|
|
9586
9613
|
wrapper.config.style = JSON.parse(config.style);
|
|
9587
9614
|
}
|
|
@@ -9597,12 +9624,7 @@ var TextInputField = {
|
|
|
9597
9624
|
widget: "InputField"
|
|
9598
9625
|
},
|
|
9599
9626
|
config: {
|
|
9600
|
-
layout: {
|
|
9601
|
-
xs: 11,
|
|
9602
|
-
sm: 11,
|
|
9603
|
-
md: 5.5,
|
|
9604
|
-
lg: 5.5
|
|
9605
|
-
},
|
|
9627
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
9606
9628
|
main: {
|
|
9607
9629
|
label: ""
|
|
9608
9630
|
},
|
|
@@ -9635,12 +9657,7 @@ var SelectInputField = {
|
|
|
9635
9657
|
widget: "SelectInputField"
|
|
9636
9658
|
},
|
|
9637
9659
|
config: {
|
|
9638
|
-
|
|
9639
|
-
"xs": 11,
|
|
9640
|
-
"sm": 11,
|
|
9641
|
-
"md": 5.5,
|
|
9642
|
-
"lg": 5.5
|
|
9643
|
-
},
|
|
9660
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
9644
9661
|
main: {
|
|
9645
9662
|
label: "",
|
|
9646
9663
|
type: "text",
|
|
@@ -10050,12 +10067,7 @@ var DateInputField = {
|
|
|
10050
10067
|
widget: "DateInputField"
|
|
10051
10068
|
},
|
|
10052
10069
|
config: {
|
|
10053
|
-
layout: {
|
|
10054
|
-
xs: 11,
|
|
10055
|
-
sm: 11,
|
|
10056
|
-
md: 5.5,
|
|
10057
|
-
lg: 5.5
|
|
10058
|
-
},
|
|
10070
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
10059
10071
|
main: {
|
|
10060
10072
|
label: "",
|
|
10061
10073
|
type: "date"
|
|
@@ -10172,7 +10184,7 @@ var MultipleSelect = {
|
|
|
10172
10184
|
widget: "MultipleSelect"
|
|
10173
10185
|
},
|
|
10174
10186
|
config: {
|
|
10175
|
-
layout: { xs: 11, sm:
|
|
10187
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
10176
10188
|
main: {
|
|
10177
10189
|
label: "",
|
|
10178
10190
|
type: "text",
|
|
@@ -10203,6 +10215,7 @@ const buildBasicUiSchema = (config) => {
|
|
|
10203
10215
|
return {
|
|
10204
10216
|
"type": "HorizontalLayout",
|
|
10205
10217
|
pageName: `${config.name}`,
|
|
10218
|
+
heading: `${config.label}`,
|
|
10206
10219
|
"elements": []
|
|
10207
10220
|
};
|
|
10208
10221
|
};
|
|
@@ -10359,7 +10372,7 @@ var emptyBox = {
|
|
|
10359
10372
|
widget: "EmptyBox"
|
|
10360
10373
|
},
|
|
10361
10374
|
config: {
|
|
10362
|
-
layout: { xs:
|
|
10375
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
10363
10376
|
main: {},
|
|
10364
10377
|
style: {}
|
|
10365
10378
|
}
|
|
@@ -10738,7 +10751,7 @@ const buildUiSchema = (config) => {
|
|
|
10738
10751
|
elements = RunnerBoyProgressbar(config, componentScope);
|
|
10739
10752
|
break;
|
|
10740
10753
|
case "WrapperSection":
|
|
10741
|
-
elements = buildWrapperSection(config);
|
|
10754
|
+
elements = buildWrapperSection(config, componentScope);
|
|
10742
10755
|
break;
|
|
10743
10756
|
case "Text":
|
|
10744
10757
|
elements = buildTextField(config, componentScope);
|