impaktapps-ui-builder 0.0.382-alpha.33 → 0.0.382-alpha.330
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 +1811 -1286
- 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 +0 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +2 -35
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +18 -15
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +121 -70
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +102 -53
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +2 -17
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +2 -17
- package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +4 -2
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +3 -2
- package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +3 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +0 -1
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +1 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +27 -50
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +49 -30
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +36 -16
- package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +6 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/emptyBox.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +52 -79
- package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +12 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +6 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +58 -84
- package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +6 -1
- 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 +474 -340
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +531 -330
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +357 -385
- package/src/impaktapps-ui-builder/builder/services/component.ts +25 -7
- package/src/impaktapps-ui-builder/builder/services/event.ts +17 -9
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +19 -3
- package/src/impaktapps-ui-builder/runtime/services/service.ts +126 -95
|
@@ -36,399 +36,591 @@ const PageMasterSchema = {
|
|
|
36
36
|
},
|
|
37
37
|
required: ["label", "name"]
|
|
38
38
|
};
|
|
39
|
-
const PageMasterUiSchema =
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
39
|
+
const PageMasterUiSchema = {
|
|
40
|
+
type: "HorizontalLayout",
|
|
41
|
+
elements: [
|
|
42
|
+
{
|
|
43
|
+
type: "WrapperLayout",
|
|
44
|
+
config: {
|
|
45
|
+
main: {
|
|
46
|
+
rowSpacing: 1,
|
|
47
|
+
header: true
|
|
48
|
+
},
|
|
49
|
+
defaultStyle: true
|
|
50
|
+
},
|
|
51
|
+
elements: [
|
|
52
|
+
{
|
|
53
|
+
type: "Control",
|
|
54
|
+
scope: "#/properties/pageMaster",
|
|
55
|
+
options: {
|
|
56
|
+
widget: "Box"
|
|
51
57
|
},
|
|
52
|
-
|
|
58
|
+
config: {
|
|
59
|
+
layout: 8,
|
|
60
|
+
main: {
|
|
61
|
+
heading: "Page Master"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
53
64
|
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
65
|
+
{
|
|
66
|
+
type: "Control",
|
|
67
|
+
scope: "#/properties/Back_Button",
|
|
68
|
+
options: {
|
|
69
|
+
widget: "IconButton"
|
|
70
|
+
},
|
|
71
|
+
config: {
|
|
72
|
+
layout: 3,
|
|
73
|
+
main: {
|
|
74
|
+
icon: "BackIcon",
|
|
75
|
+
styleDefault: true,
|
|
76
|
+
size: "small",
|
|
77
|
+
onClick: "backHandler",
|
|
78
|
+
tooltipMessage: "Back"
|
|
60
79
|
},
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
main: {
|
|
64
|
-
label: "Name",
|
|
65
|
-
options: [],
|
|
66
|
-
color: "secondary",
|
|
67
|
-
errorMessage: "Name should be start with 'page_'",
|
|
68
|
-
helperText: 'Name should be start with "page_"',
|
|
69
|
-
required: true
|
|
70
|
-
}
|
|
80
|
+
style: {
|
|
81
|
+
float: "right"
|
|
71
82
|
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
type: "WrapperLayout",
|
|
89
|
+
config: {
|
|
90
|
+
main: {
|
|
91
|
+
label: "Page Template",
|
|
92
|
+
divider: true
|
|
93
|
+
},
|
|
94
|
+
defaultStyle: true
|
|
95
|
+
},
|
|
96
|
+
elements: [
|
|
97
|
+
{
|
|
98
|
+
type: "Control",
|
|
99
|
+
scope: "#/properties/name",
|
|
100
|
+
options: {
|
|
101
|
+
widget: "InputField"
|
|
72
102
|
},
|
|
73
|
-
{
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
label: "Label",
|
|
83
|
-
options: [],
|
|
84
|
-
color: "secondary",
|
|
85
|
-
required: true
|
|
86
|
-
}
|
|
103
|
+
config: {
|
|
104
|
+
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
105
|
+
main: {
|
|
106
|
+
label: "Name",
|
|
107
|
+
options: [],
|
|
108
|
+
color: "secondary",
|
|
109
|
+
errorMessage: "Name should be start with 'page_'",
|
|
110
|
+
helperText: 'Name should be start with "page_"',
|
|
111
|
+
required: true
|
|
87
112
|
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
type: "Control",
|
|
117
|
+
scope: "#/properties/label",
|
|
118
|
+
options: {
|
|
119
|
+
widget: "InputField"
|
|
88
120
|
},
|
|
89
|
-
{
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
121
|
+
config: {
|
|
122
|
+
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
123
|
+
main: {
|
|
124
|
+
label: "Label",
|
|
125
|
+
options: [],
|
|
126
|
+
color: "secondary",
|
|
127
|
+
required: true
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
type: "TabLayout",
|
|
135
|
+
config: {
|
|
136
|
+
main: {
|
|
137
|
+
tabLabels: ["Components", "events"],
|
|
138
|
+
divider: true
|
|
139
|
+
},
|
|
140
|
+
defaultStyle: true
|
|
141
|
+
},
|
|
142
|
+
elements: [
|
|
143
|
+
{
|
|
144
|
+
type: "WrapperLayout",
|
|
145
|
+
config: {
|
|
146
|
+
main: {
|
|
147
|
+
divider: true
|
|
94
148
|
},
|
|
95
|
-
|
|
96
|
-
|
|
149
|
+
wrapperStyle: {
|
|
150
|
+
border: "1px solid gray"
|
|
97
151
|
}
|
|
98
152
|
},
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
153
|
+
elements: [
|
|
154
|
+
{
|
|
155
|
+
type: "Control",
|
|
156
|
+
scope: "#/properties/heading",
|
|
157
|
+
options: {
|
|
158
|
+
widget: "Box"
|
|
159
|
+
},
|
|
160
|
+
config: {
|
|
161
|
+
layout: 8,
|
|
162
|
+
main: {
|
|
163
|
+
heading: "Components Table"
|
|
164
|
+
},
|
|
165
|
+
style: {
|
|
166
|
+
fontFamily: "Roboto",
|
|
167
|
+
fontWeight: "500",
|
|
168
|
+
paddingLeft: "-10px",
|
|
169
|
+
fontSize: "20px"
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
type: "Control",
|
|
175
|
+
scope: "#/properties/AddButton",
|
|
176
|
+
options: {
|
|
177
|
+
widget: "IconButton"
|
|
105
178
|
},
|
|
106
|
-
|
|
179
|
+
config: {
|
|
180
|
+
layout: 3,
|
|
181
|
+
main: {
|
|
182
|
+
icon: "AddIcon",
|
|
183
|
+
styleDefault: true,
|
|
184
|
+
size: "small",
|
|
185
|
+
onClick: "onAddClickHandler",
|
|
186
|
+
tooltipMessage: "Add New"
|
|
187
|
+
},
|
|
188
|
+
style: {
|
|
189
|
+
float: "right"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
107
192
|
},
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
193
|
+
{
|
|
194
|
+
type: "Control",
|
|
195
|
+
scope: "#/properties/elements",
|
|
196
|
+
options: {
|
|
197
|
+
widget: "Table"
|
|
198
|
+
},
|
|
199
|
+
config: {
|
|
200
|
+
main: {
|
|
201
|
+
disableAction: true,
|
|
202
|
+
disableSelection: true,
|
|
203
|
+
enableDrag: true
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
elements: [
|
|
207
|
+
{
|
|
208
|
+
accessorKey: "name",
|
|
209
|
+
header: "Name"
|
|
114
210
|
},
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
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
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
]
|
|
142
|
-
},
|
|
143
|
-
disableAction: true,
|
|
144
|
-
disableSelection: true,
|
|
145
|
-
enableDrag: true
|
|
146
|
-
}
|
|
211
|
+
{
|
|
212
|
+
accessorKey: "type",
|
|
213
|
+
header: "Type"
|
|
147
214
|
},
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
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
|
-
}
|
|
215
|
+
{
|
|
216
|
+
header: "Edit",
|
|
217
|
+
field: "Reject_Records",
|
|
218
|
+
flex: 1,
|
|
219
|
+
widget: {
|
|
220
|
+
type: "Control",
|
|
221
|
+
scope: "#/properties/RejectButton",
|
|
222
|
+
options: {
|
|
223
|
+
widget: "IconButton"
|
|
224
|
+
},
|
|
225
|
+
config: {
|
|
226
|
+
main: {
|
|
227
|
+
icon: "EditIcon",
|
|
228
|
+
color: "primary",
|
|
229
|
+
onClick: "Edit_Components",
|
|
230
|
+
tooltipMessage: "Edit This Record"
|
|
174
231
|
}
|
|
175
232
|
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
header: "Delete",
|
|
237
|
+
field: "Reject_Records",
|
|
238
|
+
flex: 1,
|
|
239
|
+
widget: {
|
|
240
|
+
type: "Control",
|
|
241
|
+
scope: "#/properties/RejectButton",
|
|
242
|
+
options: {
|
|
243
|
+
widget: "IconButton"
|
|
244
|
+
},
|
|
245
|
+
config: {
|
|
246
|
+
main: {
|
|
247
|
+
icon: "RejectIcon",
|
|
248
|
+
color: "error",
|
|
249
|
+
onClick: "deletePopUpComponent",
|
|
250
|
+
tooltipMessage: "Reject This Record"
|
|
194
251
|
}
|
|
195
252
|
}
|
|
196
253
|
}
|
|
197
|
-
|
|
254
|
+
}
|
|
255
|
+
]
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
type: "WrapperLayout",
|
|
261
|
+
config: {
|
|
262
|
+
main: {
|
|
263
|
+
divider: true
|
|
264
|
+
},
|
|
265
|
+
wrapperStyle: {
|
|
266
|
+
border: "1px solid gray"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
elements: [
|
|
270
|
+
{
|
|
271
|
+
type: "Control",
|
|
272
|
+
scope: "#/properties/heading",
|
|
273
|
+
options: {
|
|
274
|
+
widget: "Box"
|
|
198
275
|
},
|
|
199
|
-
{
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
widget: "Table"
|
|
276
|
+
config: {
|
|
277
|
+
layout: 8,
|
|
278
|
+
main: {
|
|
279
|
+
heading: "Event Table"
|
|
204
280
|
},
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
]
|
|
232
|
-
},
|
|
233
|
-
disableAction: true,
|
|
234
|
-
disableSelection: true,
|
|
235
|
-
enableDrag: true
|
|
236
|
-
}
|
|
281
|
+
style: {
|
|
282
|
+
fontFamily: "Roboto",
|
|
283
|
+
fontWeight: "500",
|
|
284
|
+
paddingLeft: "-10px",
|
|
285
|
+
fontSize: "20px"
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
type: "Control",
|
|
291
|
+
scope: "#/properties/AddButton",
|
|
292
|
+
options: {
|
|
293
|
+
widget: "IconButton"
|
|
294
|
+
},
|
|
295
|
+
config: {
|
|
296
|
+
layout: 3,
|
|
297
|
+
main: {
|
|
298
|
+
icon: "AddIcon",
|
|
299
|
+
styleDefault: true,
|
|
300
|
+
size: "small",
|
|
301
|
+
onClick: "eventAddHandler",
|
|
302
|
+
tooltipMessage: "Back"
|
|
237
303
|
},
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
304
|
+
style: {
|
|
305
|
+
float: "right"
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
type: "Control",
|
|
311
|
+
scope: "#/properties/events",
|
|
312
|
+
options: {
|
|
313
|
+
widget: "Table"
|
|
314
|
+
},
|
|
315
|
+
config: {
|
|
316
|
+
main: {
|
|
317
|
+
disableAction: true,
|
|
318
|
+
disableSelection: true,
|
|
319
|
+
enableDrag: true
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
elements: [
|
|
323
|
+
{
|
|
324
|
+
accessorKey: "eventType",
|
|
325
|
+
header: "Event Type"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
accessorKey: "Handler",
|
|
329
|
+
header: "Handler"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
accessorKey: "Edit_Approve_Records",
|
|
333
|
+
header: "Edit Widget",
|
|
334
|
+
widget: {
|
|
335
|
+
type: "Control",
|
|
336
|
+
scope: "#/properties/Edit_Records",
|
|
337
|
+
options: {
|
|
338
|
+
widget: "IconButton"
|
|
339
|
+
},
|
|
340
|
+
config: {
|
|
341
|
+
main: {
|
|
342
|
+
color: "info",
|
|
343
|
+
size: "small",
|
|
344
|
+
icon: "EditIcon",
|
|
345
|
+
tooltipMessage: "Edit This Record",
|
|
346
|
+
onClick: "editEvent"
|
|
255
347
|
},
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
color: "info",
|
|
259
|
-
size: "small",
|
|
260
|
-
icon: "EditIcon",
|
|
261
|
-
tooltipMessage: "Edit This Record",
|
|
262
|
-
onClick: "editEvent"
|
|
263
|
-
},
|
|
264
|
-
style: {
|
|
265
|
-
color: "#3949ab"
|
|
266
|
-
}
|
|
348
|
+
style: {
|
|
349
|
+
color: "#3949ab"
|
|
267
350
|
}
|
|
268
351
|
}
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
accessorKey: "Reject_Records",
|
|
356
|
+
header: "Delete",
|
|
357
|
+
widget: {
|
|
358
|
+
type: "Control",
|
|
359
|
+
scope: "#/properties/RejectButton",
|
|
360
|
+
options: {
|
|
361
|
+
widget: "IconButton"
|
|
362
|
+
},
|
|
363
|
+
config: {
|
|
364
|
+
main: {
|
|
365
|
+
icon: "RejectIcon",
|
|
366
|
+
color: "error",
|
|
367
|
+
tooltipMessage: "Reject This Record",
|
|
368
|
+
onClick: "deletePopUpEvent"
|
|
286
369
|
}
|
|
287
370
|
}
|
|
288
371
|
}
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
372
|
+
}
|
|
373
|
+
]
|
|
374
|
+
}
|
|
375
|
+
]
|
|
376
|
+
}
|
|
377
|
+
]
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
type: "Control",
|
|
381
|
+
scope: "#/properties/popUpPageMasterEvent",
|
|
382
|
+
options: {
|
|
383
|
+
widget: "PopUp"
|
|
384
|
+
},
|
|
385
|
+
config: {
|
|
386
|
+
layout: {
|
|
387
|
+
xs: 12,
|
|
388
|
+
sm: 12,
|
|
389
|
+
md: 12,
|
|
390
|
+
lg: 12
|
|
391
|
+
},
|
|
392
|
+
main: {
|
|
393
|
+
title: "Delete Content"
|
|
394
|
+
},
|
|
395
|
+
style: {
|
|
396
|
+
width: "32%",
|
|
397
|
+
margin: "auto"
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
elements: [
|
|
401
|
+
{
|
|
402
|
+
type: "Control",
|
|
403
|
+
scope: "#/properties/label",
|
|
404
|
+
options: {
|
|
405
|
+
widget: "Box"
|
|
292
406
|
},
|
|
293
|
-
{
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
widget: "Button"
|
|
407
|
+
config: {
|
|
408
|
+
layout: 12,
|
|
409
|
+
main: {
|
|
410
|
+
heading: "Are you sure you want to delete ?"
|
|
298
411
|
},
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
name: "Save",
|
|
303
|
-
startIcon: "ApproveIcon",
|
|
304
|
-
variant: "contained",
|
|
305
|
-
color: "info",
|
|
306
|
-
type: "text",
|
|
307
|
-
onClick: "saveHandler",
|
|
308
|
-
size: "medium"
|
|
309
|
-
},
|
|
310
|
-
style: {
|
|
311
|
-
width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
|
|
312
|
-
float: "right"
|
|
313
|
-
}
|
|
412
|
+
style: {
|
|
413
|
+
marginTop: "-25px",
|
|
414
|
+
marginLeft: "11px"
|
|
314
415
|
}
|
|
315
416
|
}
|
|
316
|
-
]
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
type: "Control",
|
|
320
|
-
scope: "#/properties/notify",
|
|
321
|
-
options: {
|
|
322
|
-
widget: "Notify"
|
|
323
417
|
},
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
margin: "0",
|
|
334
|
-
width: "100vw"
|
|
418
|
+
{
|
|
419
|
+
type: "Control",
|
|
420
|
+
scope: "#/properties/EmptyBox",
|
|
421
|
+
options: {
|
|
422
|
+
widget: "EmptyBox"
|
|
423
|
+
},
|
|
424
|
+
config: {
|
|
425
|
+
main: {},
|
|
426
|
+
layout: { xs: 11, sm: 4.5, md: 4.5, lg: 4.5 }
|
|
335
427
|
}
|
|
336
428
|
},
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
429
|
+
{
|
|
430
|
+
type: "Control",
|
|
431
|
+
scope: "#/properties/ConfirmDeleteEventButton",
|
|
432
|
+
options: {
|
|
433
|
+
widget: "Button"
|
|
434
|
+
},
|
|
435
|
+
config: {
|
|
436
|
+
layout: 3,
|
|
437
|
+
main: {
|
|
438
|
+
name: "Yes",
|
|
439
|
+
endIcon: "DeleteIcon",
|
|
440
|
+
variant: "contained",
|
|
441
|
+
color: "info",
|
|
442
|
+
type: "text",
|
|
443
|
+
onClick: "deleteEvent",
|
|
444
|
+
size: "small"
|
|
346
445
|
}
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
type: "Control",
|
|
450
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
451
|
+
options: {
|
|
452
|
+
widget: "Button"
|
|
347
453
|
},
|
|
348
|
-
{
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
},
|
|
359
|
-
style: {
|
|
360
|
-
color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
|
|
361
|
-
fontSize: "12px"
|
|
362
|
-
}
|
|
454
|
+
config: {
|
|
455
|
+
layout: 3,
|
|
456
|
+
main: {
|
|
457
|
+
name: "No",
|
|
458
|
+
endIcon: "CloseIcon",
|
|
459
|
+
variant: "contained",
|
|
460
|
+
color: "info",
|
|
461
|
+
type: "text",
|
|
462
|
+
onClick: "deletePopUpEvent",
|
|
463
|
+
size: "small"
|
|
363
464
|
}
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
type: "Control",
|
|
469
|
+
scope: "#/properties/EmptyBox",
|
|
470
|
+
options: {
|
|
471
|
+
widget: "EmptyBox"
|
|
364
472
|
},
|
|
365
|
-
{
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
473
|
+
config: {
|
|
474
|
+
main: {},
|
|
475
|
+
layout: 0.5
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
]
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
type: "Control",
|
|
482
|
+
scope: "#/properties/popUpPageMasterComponent",
|
|
483
|
+
options: {
|
|
484
|
+
widget: "PopUp"
|
|
485
|
+
},
|
|
486
|
+
config: {
|
|
487
|
+
layout: {
|
|
488
|
+
xs: 12,
|
|
489
|
+
sm: 12,
|
|
490
|
+
md: 12,
|
|
491
|
+
lg: 12
|
|
492
|
+
},
|
|
493
|
+
main: {
|
|
494
|
+
title: "Delete Content"
|
|
495
|
+
},
|
|
496
|
+
style: {
|
|
497
|
+
width: "32%",
|
|
498
|
+
margin: "auto"
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
elements: [
|
|
502
|
+
{
|
|
503
|
+
type: "Control",
|
|
504
|
+
scope: "#/properties/label",
|
|
505
|
+
options: {
|
|
506
|
+
widget: "Box"
|
|
507
|
+
},
|
|
508
|
+
config: {
|
|
509
|
+
layout: 12,
|
|
510
|
+
main: {
|
|
511
|
+
heading: "Are you sure you want to delete ?"
|
|
369
512
|
},
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
]
|
|
513
|
+
style: {
|
|
514
|
+
marginTop: "-25px",
|
|
515
|
+
marginLeft: "11px"
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
type: "Control",
|
|
521
|
+
scope: "#/properties/EmptyBox",
|
|
522
|
+
options: {
|
|
523
|
+
widget: "EmptyBox"
|
|
524
|
+
},
|
|
525
|
+
config: {
|
|
526
|
+
main: {},
|
|
527
|
+
layout: { xs: 11, sm: 4.5, md: 4.5, lg: 4.5 }
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
type: "Control",
|
|
532
|
+
scope: "#/properties/ConfirmDeleteCompButton",
|
|
533
|
+
options: {
|
|
534
|
+
widget: "Button"
|
|
535
|
+
},
|
|
536
|
+
config: {
|
|
537
|
+
layout: 3,
|
|
538
|
+
main: {
|
|
539
|
+
name: "Yes",
|
|
540
|
+
endIcon: "DeleteIcon",
|
|
541
|
+
variant: "contained",
|
|
542
|
+
color: "info",
|
|
543
|
+
type: "text",
|
|
544
|
+
onClick: "Delete_Components",
|
|
545
|
+
size: "small"
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
type: "Control",
|
|
551
|
+
scope: "#/properties/CancelDeleteCompButton",
|
|
552
|
+
options: {
|
|
553
|
+
widget: "Button"
|
|
554
|
+
},
|
|
555
|
+
config: {
|
|
556
|
+
layout: 3,
|
|
557
|
+
main: {
|
|
558
|
+
name: "No",
|
|
559
|
+
endIcon: "CloseIcon",
|
|
560
|
+
variant: "contained",
|
|
561
|
+
color: "info",
|
|
562
|
+
type: "text",
|
|
563
|
+
onClick: "deletePopUpComponent",
|
|
564
|
+
size: "small"
|
|
565
|
+
}
|
|
426
566
|
}
|
|
427
|
-
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
type: "Control",
|
|
570
|
+
scope: "#/properties/EmptyBox",
|
|
571
|
+
options: {
|
|
572
|
+
widget: "EmptyBox"
|
|
573
|
+
},
|
|
574
|
+
config: {
|
|
575
|
+
main: {},
|
|
576
|
+
layout: 0.5
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
]
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
type: "Control",
|
|
583
|
+
scope: "#/properties/btn",
|
|
584
|
+
options: {
|
|
585
|
+
widget: "EmptyBox"
|
|
586
|
+
},
|
|
587
|
+
config: {
|
|
588
|
+
layout: { xs: 0, sm: 0, md: 8, lg: 7 }
|
|
428
589
|
}
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
type: "Control",
|
|
593
|
+
scope: "#/properties/btn",
|
|
594
|
+
options: {
|
|
595
|
+
widget: "Button"
|
|
596
|
+
},
|
|
597
|
+
config: {
|
|
598
|
+
layout: 11.7,
|
|
599
|
+
main: {
|
|
600
|
+
name: "Save",
|
|
601
|
+
startIcon: "ApproveIcon",
|
|
602
|
+
variant: "contained",
|
|
603
|
+
color: "info",
|
|
604
|
+
type: "text",
|
|
605
|
+
onClick: "saveHandler",
|
|
606
|
+
size: "small"
|
|
607
|
+
},
|
|
608
|
+
style: {
|
|
609
|
+
marginBottom: "8px",
|
|
610
|
+
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
|
|
611
|
+
float: "right"
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
type: "Control",
|
|
617
|
+
scope: "#/properties/notify",
|
|
618
|
+
options: {
|
|
619
|
+
widget: "Notify"
|
|
620
|
+
},
|
|
621
|
+
layout: 6
|
|
622
|
+
}
|
|
623
|
+
]
|
|
432
624
|
};
|
|
433
625
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
434
626
|
var lodash = { exports: {} };
|
|
@@ -6162,332 +6354,487 @@ const ComponentSchema = {
|
|
|
6162
6354
|
},
|
|
6163
6355
|
required: ["name"]
|
|
6164
6356
|
};
|
|
6165
|
-
const componentBasicUiSchema =
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
|
|
6176
|
-
|
|
6177
|
-
|
|
6357
|
+
const componentBasicUiSchema = {
|
|
6358
|
+
type: "HorizontalLayout",
|
|
6359
|
+
elements: [
|
|
6360
|
+
{
|
|
6361
|
+
type: "WrapperLayout",
|
|
6362
|
+
config: {
|
|
6363
|
+
main: {
|
|
6364
|
+
rowSpacing: 1,
|
|
6365
|
+
header: true
|
|
6366
|
+
},
|
|
6367
|
+
defaultStyle: true
|
|
6368
|
+
},
|
|
6369
|
+
elements: [
|
|
6370
|
+
{
|
|
6371
|
+
type: "Control",
|
|
6372
|
+
scope: "#/properties/Component",
|
|
6373
|
+
options: {
|
|
6374
|
+
widget: "Box"
|
|
6375
|
+
},
|
|
6376
|
+
config: {
|
|
6377
|
+
layout: { xs: 12, sm: 12, md: 2 },
|
|
6378
|
+
main: {
|
|
6379
|
+
heading: "Component"
|
|
6380
|
+
},
|
|
6381
|
+
style: {
|
|
6382
|
+
"float": "left"
|
|
6383
|
+
}
|
|
6178
6384
|
}
|
|
6179
6385
|
},
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6386
|
+
{
|
|
6387
|
+
type: "Control",
|
|
6388
|
+
scope: "#/properties/pageName",
|
|
6389
|
+
options: {
|
|
6390
|
+
widget: "Box"
|
|
6391
|
+
},
|
|
6392
|
+
config: {
|
|
6393
|
+
layout: { xs: 7, sm: 7, md: 9 },
|
|
6394
|
+
main: {
|
|
6395
|
+
heading: " "
|
|
6396
|
+
},
|
|
6397
|
+
style: {
|
|
6398
|
+
float: "right",
|
|
6399
|
+
width: "auto",
|
|
6400
|
+
fontSize: "12px",
|
|
6401
|
+
color: "gray",
|
|
6402
|
+
paddingTop: "10px"
|
|
6403
|
+
}
|
|
6404
|
+
}
|
|
6405
|
+
},
|
|
6406
|
+
{
|
|
6407
|
+
type: "Control",
|
|
6408
|
+
scope: "#/properties/Back_Button",
|
|
6409
|
+
options: {
|
|
6410
|
+
widget: "IconButton"
|
|
6411
|
+
},
|
|
6412
|
+
config: {
|
|
6413
|
+
layout: { xs: 2, sm: 2, md: 0.5 },
|
|
6414
|
+
main: {
|
|
6415
|
+
icon: "BackIcon",
|
|
6416
|
+
styleDefault: true,
|
|
6417
|
+
size: "small",
|
|
6418
|
+
onClick: "backHandler",
|
|
6419
|
+
tooltipMessage: "Back"
|
|
6420
|
+
},
|
|
6421
|
+
style: {
|
|
6422
|
+
float: "right"
|
|
6423
|
+
}
|
|
6424
|
+
}
|
|
6425
|
+
}
|
|
6426
|
+
]
|
|
6427
|
+
},
|
|
6428
|
+
{
|
|
6429
|
+
type: "TabLayout",
|
|
6430
|
+
config: {
|
|
6431
|
+
main: {
|
|
6432
|
+
tabLabels: ["Core"],
|
|
6433
|
+
defaultStyle: true,
|
|
6434
|
+
id: `component`
|
|
6435
|
+
}
|
|
6436
|
+
},
|
|
6437
|
+
elements: [
|
|
6438
|
+
{
|
|
6439
|
+
type: "HorizontalLayout",
|
|
6440
|
+
elements: [
|
|
6441
|
+
{
|
|
6442
|
+
type: "Control",
|
|
6443
|
+
scope: "#/properties/type",
|
|
6444
|
+
options: {
|
|
6445
|
+
widget: "SelectInputField"
|
|
6446
|
+
},
|
|
6447
|
+
config: {
|
|
6448
|
+
layout: { xs: 12, sm: 12, md: 6, lg: 6 },
|
|
6449
|
+
main: {
|
|
6450
|
+
label: "Type"
|
|
6195
6451
|
}
|
|
6452
|
+
}
|
|
6453
|
+
},
|
|
6454
|
+
{
|
|
6455
|
+
type: "Control",
|
|
6456
|
+
scope: "#/properties/name",
|
|
6457
|
+
options: {
|
|
6458
|
+
widget: "InputField"
|
|
6196
6459
|
},
|
|
6197
|
-
{
|
|
6198
|
-
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6460
|
+
config: {
|
|
6461
|
+
layout: {
|
|
6462
|
+
xs: 12,
|
|
6463
|
+
sm: 12,
|
|
6464
|
+
md: 6,
|
|
6465
|
+
lg: 6
|
|
6202
6466
|
},
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
color: "secondary",
|
|
6209
|
-
required: true
|
|
6210
|
-
}
|
|
6467
|
+
main: {
|
|
6468
|
+
label: "Name",
|
|
6469
|
+
options: [],
|
|
6470
|
+
color: "secondary",
|
|
6471
|
+
required: true
|
|
6211
6472
|
}
|
|
6473
|
+
}
|
|
6474
|
+
},
|
|
6475
|
+
{
|
|
6476
|
+
type: "Control",
|
|
6477
|
+
scope: "#/properties/label",
|
|
6478
|
+
options: {
|
|
6479
|
+
widget: "InputField"
|
|
6212
6480
|
},
|
|
6213
|
-
{
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6481
|
+
config: {
|
|
6482
|
+
layout: {
|
|
6483
|
+
xs: 12,
|
|
6484
|
+
sm: 12,
|
|
6485
|
+
md: 6,
|
|
6486
|
+
lg: 6
|
|
6218
6487
|
},
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
color: "secondary",
|
|
6225
|
-
required: true
|
|
6226
|
-
}
|
|
6488
|
+
main: {
|
|
6489
|
+
label: "Label",
|
|
6490
|
+
options: [],
|
|
6491
|
+
color: "secondary",
|
|
6492
|
+
required: true
|
|
6227
6493
|
}
|
|
6494
|
+
}
|
|
6495
|
+
},
|
|
6496
|
+
{
|
|
6497
|
+
type: "Control",
|
|
6498
|
+
scope: "#/properties/proc",
|
|
6499
|
+
config: {
|
|
6500
|
+
layout: { xs: 11, sm: 11, md: 6, lg: 6 }
|
|
6228
6501
|
},
|
|
6229
|
-
{
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
label: "Screen Size"
|
|
6247
|
-
}
|
|
6248
|
-
}
|
|
6502
|
+
options: {
|
|
6503
|
+
widget: "EmptyBox"
|
|
6504
|
+
}
|
|
6505
|
+
},
|
|
6506
|
+
{
|
|
6507
|
+
type: "Control",
|
|
6508
|
+
scope: "#/properties/layout",
|
|
6509
|
+
layout: 11.5,
|
|
6510
|
+
options: {
|
|
6511
|
+
detail: {
|
|
6512
|
+
type: "HorizontalLayout",
|
|
6513
|
+
elements: [
|
|
6514
|
+
{
|
|
6515
|
+
type: "Control",
|
|
6516
|
+
scope: "#/properties/key",
|
|
6517
|
+
options: {
|
|
6518
|
+
widget: "SelectInputField"
|
|
6249
6519
|
},
|
|
6250
|
-
{
|
|
6251
|
-
|
|
6252
|
-
|
|
6253
|
-
|
|
6254
|
-
|
|
6520
|
+
config: {
|
|
6521
|
+
layout: {
|
|
6522
|
+
xs: 11,
|
|
6523
|
+
sm: 11,
|
|
6524
|
+
md: 5.5,
|
|
6525
|
+
lg: 5.5
|
|
6255
6526
|
},
|
|
6256
|
-
|
|
6257
|
-
|
|
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
|
-
}
|
|
6527
|
+
main: {
|
|
6528
|
+
label: "Screen Size"
|
|
6264
6529
|
}
|
|
6530
|
+
}
|
|
6531
|
+
},
|
|
6532
|
+
{
|
|
6533
|
+
type: "Control",
|
|
6534
|
+
scope: "#/properties/value",
|
|
6535
|
+
options: {
|
|
6536
|
+
widget: "InputField"
|
|
6265
6537
|
},
|
|
6266
|
-
{
|
|
6267
|
-
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6538
|
+
config: {
|
|
6539
|
+
layout: {
|
|
6540
|
+
xs: 11,
|
|
6541
|
+
sm: 11,
|
|
6542
|
+
md: 5.5,
|
|
6543
|
+
lg: 5.5
|
|
6271
6544
|
},
|
|
6272
|
-
|
|
6273
|
-
|
|
6545
|
+
main: {
|
|
6546
|
+
label: "Value",
|
|
6547
|
+
type: "number",
|
|
6548
|
+
helperText: "Number should be in range of 0 to 12",
|
|
6549
|
+
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6274
6550
|
}
|
|
6275
6551
|
}
|
|
6276
|
-
|
|
6277
|
-
|
|
6552
|
+
}
|
|
6553
|
+
]
|
|
6278
6554
|
}
|
|
6279
6555
|
}
|
|
6280
|
-
|
|
6556
|
+
}
|
|
6557
|
+
]
|
|
6558
|
+
}
|
|
6559
|
+
]
|
|
6560
|
+
},
|
|
6561
|
+
{
|
|
6562
|
+
type: "Control",
|
|
6563
|
+
scope: "#/properties/popUpComponentSection",
|
|
6564
|
+
options: {
|
|
6565
|
+
widget: "PopUp"
|
|
6566
|
+
},
|
|
6567
|
+
config: {
|
|
6568
|
+
layout: {
|
|
6569
|
+
xs: 12,
|
|
6570
|
+
sm: 12,
|
|
6571
|
+
md: 12,
|
|
6572
|
+
lg: 12
|
|
6573
|
+
},
|
|
6574
|
+
main: {
|
|
6575
|
+
title: "Delete Content"
|
|
6576
|
+
},
|
|
6577
|
+
style: {
|
|
6578
|
+
width: "32%",
|
|
6579
|
+
margin: "auto"
|
|
6580
|
+
}
|
|
6581
|
+
},
|
|
6582
|
+
elements: [
|
|
6583
|
+
{
|
|
6584
|
+
type: "Control",
|
|
6585
|
+
scope: "#/properties/label",
|
|
6586
|
+
options: {
|
|
6587
|
+
widget: "Box"
|
|
6588
|
+
},
|
|
6589
|
+
config: {
|
|
6590
|
+
layout: 12,
|
|
6591
|
+
main: {
|
|
6592
|
+
heading: "Are you sure you want to delete ?"
|
|
6593
|
+
},
|
|
6594
|
+
style: {
|
|
6595
|
+
marginTop: "-25px",
|
|
6596
|
+
marginLeft: "11px"
|
|
6597
|
+
}
|
|
6281
6598
|
}
|
|
6282
|
-
|
|
6599
|
+
},
|
|
6600
|
+
{
|
|
6601
|
+
type: "Control",
|
|
6602
|
+
scope: "#/properties/EmptyBox",
|
|
6603
|
+
options: {
|
|
6604
|
+
widget: "EmptyBox"
|
|
6605
|
+
},
|
|
6606
|
+
config: {
|
|
6607
|
+
main: {},
|
|
6608
|
+
layout: { xs: 11, sm: 4.5, md: 4.5, lg: 4.5 }
|
|
6609
|
+
}
|
|
6610
|
+
},
|
|
6611
|
+
{
|
|
6612
|
+
type: "Control",
|
|
6613
|
+
scope: "#/properties/ConfirmDeleteCompButton",
|
|
6614
|
+
options: {
|
|
6615
|
+
widget: "Button"
|
|
6616
|
+
},
|
|
6617
|
+
config: {
|
|
6618
|
+
layout: 3,
|
|
6619
|
+
main: {
|
|
6620
|
+
name: "Yes",
|
|
6621
|
+
endIcon: "DeleteIcon",
|
|
6622
|
+
variant: "contained",
|
|
6623
|
+
color: "info",
|
|
6624
|
+
type: "text",
|
|
6625
|
+
onClick: "deleteComponents",
|
|
6626
|
+
size: "small"
|
|
6627
|
+
}
|
|
6628
|
+
}
|
|
6629
|
+
},
|
|
6630
|
+
{
|
|
6631
|
+
type: "Control",
|
|
6632
|
+
scope: "#/properties/CancelDeleteCompButton",
|
|
6633
|
+
options: {
|
|
6634
|
+
widget: "Button"
|
|
6635
|
+
},
|
|
6636
|
+
config: {
|
|
6637
|
+
layout: 3,
|
|
6638
|
+
main: {
|
|
6639
|
+
name: "No",
|
|
6640
|
+
endIcon: "CloseIcon",
|
|
6641
|
+
variant: "contained",
|
|
6642
|
+
color: "info",
|
|
6643
|
+
type: "text",
|
|
6644
|
+
onClick: "deletePopUpComponent",
|
|
6645
|
+
size: "small"
|
|
6646
|
+
}
|
|
6647
|
+
}
|
|
6648
|
+
},
|
|
6649
|
+
{
|
|
6650
|
+
type: "Control",
|
|
6651
|
+
scope: "#/properties/EmptyBox",
|
|
6652
|
+
options: {
|
|
6653
|
+
widget: "EmptyBox"
|
|
6654
|
+
},
|
|
6655
|
+
config: {
|
|
6656
|
+
main: {},
|
|
6657
|
+
layout: 0.5
|
|
6658
|
+
}
|
|
6659
|
+
}
|
|
6660
|
+
]
|
|
6661
|
+
},
|
|
6662
|
+
{
|
|
6663
|
+
type: "Control",
|
|
6664
|
+
scope: "#/properties/popUpEventSection",
|
|
6665
|
+
options: {
|
|
6666
|
+
widget: "PopUp"
|
|
6283
6667
|
},
|
|
6284
|
-
{
|
|
6285
|
-
|
|
6286
|
-
|
|
6287
|
-
|
|
6288
|
-
|
|
6668
|
+
config: {
|
|
6669
|
+
layout: {
|
|
6670
|
+
xs: 12,
|
|
6671
|
+
sm: 12,
|
|
6672
|
+
md: 12,
|
|
6673
|
+
lg: 12
|
|
6289
6674
|
},
|
|
6290
|
-
|
|
6291
|
-
|
|
6675
|
+
style: {
|
|
6676
|
+
width: "32%",
|
|
6677
|
+
margin: "auto"
|
|
6678
|
+
},
|
|
6679
|
+
main: {
|
|
6680
|
+
title: "Delete Content"
|
|
6292
6681
|
}
|
|
6293
6682
|
},
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6683
|
+
elements: [
|
|
6684
|
+
{
|
|
6685
|
+
type: "Control",
|
|
6686
|
+
scope: "#/properties/label",
|
|
6687
|
+
options: {
|
|
6688
|
+
widget: "Box"
|
|
6689
|
+
},
|
|
6690
|
+
config: {
|
|
6691
|
+
layout: 12,
|
|
6692
|
+
main: {
|
|
6693
|
+
heading: "Are you sure you want to delete ?"
|
|
6694
|
+
},
|
|
6695
|
+
style: {
|
|
6696
|
+
marginTop: "-25px",
|
|
6697
|
+
marginLeft: "11px"
|
|
6698
|
+
}
|
|
6699
|
+
}
|
|
6700
|
+
},
|
|
6701
|
+
{
|
|
6702
|
+
type: "Control",
|
|
6703
|
+
scope: "#/properties/EmptyBox",
|
|
6704
|
+
options: {
|
|
6705
|
+
widget: "EmptyBox"
|
|
6706
|
+
},
|
|
6707
|
+
config: {
|
|
6708
|
+
main: {},
|
|
6709
|
+
layout: { xs: 11, sm: 4.5, md: 4.5, lg: 4.5 }
|
|
6710
|
+
}
|
|
6299
6711
|
},
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
|
|
6308
|
-
|
|
6712
|
+
{
|
|
6713
|
+
type: "Control",
|
|
6714
|
+
scope: "#/properties/ConfirmDeleteEventButton",
|
|
6715
|
+
options: {
|
|
6716
|
+
widget: "Button"
|
|
6717
|
+
},
|
|
6718
|
+
config: {
|
|
6719
|
+
layout: 3,
|
|
6720
|
+
main: {
|
|
6721
|
+
name: "Yes",
|
|
6722
|
+
endIcon: "DeleteIcon",
|
|
6723
|
+
variant: "contained",
|
|
6724
|
+
color: "info",
|
|
6725
|
+
type: "text",
|
|
6726
|
+
onClick: "deleteEvent",
|
|
6727
|
+
size: "small"
|
|
6728
|
+
}
|
|
6729
|
+
}
|
|
6309
6730
|
},
|
|
6310
|
-
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6315
|
-
variant: "contained",
|
|
6316
|
-
color: "info",
|
|
6317
|
-
type: "text",
|
|
6318
|
-
onClick: "okHandler",
|
|
6319
|
-
size: "medium"
|
|
6731
|
+
{
|
|
6732
|
+
type: "Control",
|
|
6733
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
6734
|
+
options: {
|
|
6735
|
+
widget: "Button"
|
|
6320
6736
|
},
|
|
6321
|
-
|
|
6322
|
-
|
|
6737
|
+
config: {
|
|
6738
|
+
layout: 3,
|
|
6739
|
+
main: {
|
|
6740
|
+
name: "No",
|
|
6741
|
+
endIcon: "CloseIcon",
|
|
6742
|
+
variant: "contained",
|
|
6743
|
+
color: "info",
|
|
6744
|
+
type: "text",
|
|
6745
|
+
onClick: "deletePopUpEvent",
|
|
6746
|
+
size: "small"
|
|
6747
|
+
}
|
|
6323
6748
|
}
|
|
6324
|
-
}
|
|
6325
|
-
},
|
|
6326
|
-
{
|
|
6327
|
-
type: "Control",
|
|
6328
|
-
scope: "#/properties/btnSubmit",
|
|
6329
|
-
options: {
|
|
6330
|
-
widget: "Button"
|
|
6331
6749
|
},
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
variant: "contained",
|
|
6338
|
-
color: "info",
|
|
6339
|
-
type: "text",
|
|
6340
|
-
onClick: "saveHandler",
|
|
6341
|
-
size: "medium"
|
|
6750
|
+
{
|
|
6751
|
+
type: "Control",
|
|
6752
|
+
scope: "#/properties/EmptyBox",
|
|
6753
|
+
options: {
|
|
6754
|
+
widget: "EmptyBox"
|
|
6342
6755
|
},
|
|
6343
|
-
|
|
6344
|
-
|
|
6756
|
+
config: {
|
|
6757
|
+
main: {},
|
|
6758
|
+
layout: 0.5
|
|
6345
6759
|
}
|
|
6346
6760
|
}
|
|
6761
|
+
]
|
|
6762
|
+
},
|
|
6763
|
+
{
|
|
6764
|
+
type: "Control",
|
|
6765
|
+
scope: "#/properties/proc",
|
|
6766
|
+
config: {
|
|
6767
|
+
layout: { xs: 11, sm: 11, md: 6, lg: 6 }
|
|
6347
6768
|
},
|
|
6348
|
-
{
|
|
6349
|
-
|
|
6350
|
-
|
|
6351
|
-
|
|
6352
|
-
|
|
6769
|
+
options: {
|
|
6770
|
+
widget: "EmptyBox"
|
|
6771
|
+
}
|
|
6772
|
+
},
|
|
6773
|
+
{
|
|
6774
|
+
type: "Control",
|
|
6775
|
+
scope: "#/properties/btn",
|
|
6776
|
+
options: {
|
|
6777
|
+
widget: "Button"
|
|
6778
|
+
},
|
|
6779
|
+
config: {
|
|
6780
|
+
layout: {
|
|
6781
|
+
xs: 11,
|
|
6782
|
+
sm: 11,
|
|
6783
|
+
md: 2.5,
|
|
6784
|
+
lg: 2.5
|
|
6353
6785
|
},
|
|
6354
|
-
|
|
6786
|
+
main: {
|
|
6787
|
+
name: "Ok",
|
|
6788
|
+
startIcon: "ApproveIcon",
|
|
6789
|
+
variant: "contained",
|
|
6790
|
+
color: "info",
|
|
6791
|
+
type: "text",
|
|
6792
|
+
onClick: "okHandler",
|
|
6793
|
+
size: "small"
|
|
6794
|
+
},
|
|
6795
|
+
style: {
|
|
6796
|
+
marginBottom: "8px",
|
|
6797
|
+
float: "right"
|
|
6798
|
+
}
|
|
6799
|
+
}
|
|
6800
|
+
},
|
|
6801
|
+
{
|
|
6802
|
+
type: "Control",
|
|
6803
|
+
scope: "#/properties/btnSubmit",
|
|
6804
|
+
options: {
|
|
6805
|
+
widget: "Button"
|
|
6355
6806
|
},
|
|
6356
|
-
{
|
|
6357
|
-
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
overflow: "visible",
|
|
6363
|
-
margin: "0",
|
|
6364
|
-
width: "100vw"
|
|
6365
|
-
}
|
|
6807
|
+
config: {
|
|
6808
|
+
layout: {
|
|
6809
|
+
xs: 11,
|
|
6810
|
+
sm: 11,
|
|
6811
|
+
md: 2.5,
|
|
6812
|
+
lg: 2.5
|
|
6366
6813
|
},
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
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
|
-
]
|
|
6814
|
+
main: {
|
|
6815
|
+
name: "Save & Exit",
|
|
6816
|
+
startIcon: "ApproveIcon",
|
|
6817
|
+
variant: "contained",
|
|
6818
|
+
color: "info",
|
|
6819
|
+
type: "text",
|
|
6820
|
+
onClick: "saveHandler",
|
|
6821
|
+
size: "small"
|
|
6822
|
+
},
|
|
6823
|
+
style: {
|
|
6824
|
+
marginBottom: "8px",
|
|
6825
|
+
float: "right"
|
|
6826
|
+
}
|
|
6487
6827
|
}
|
|
6488
|
-
|
|
6489
|
-
|
|
6490
|
-
|
|
6828
|
+
},
|
|
6829
|
+
{
|
|
6830
|
+
type: "Control",
|
|
6831
|
+
scope: "#/properties/notify",
|
|
6832
|
+
options: {
|
|
6833
|
+
widget: "Notify"
|
|
6834
|
+
},
|
|
6835
|
+
layout: 6
|
|
6836
|
+
}
|
|
6837
|
+
]
|
|
6491
6838
|
};
|
|
6492
6839
|
const CoreSection = {
|
|
6493
6840
|
type: "HorizontalLayout",
|
|
@@ -6499,7 +6846,7 @@ const CoreSection = {
|
|
|
6499
6846
|
widget: "SelectInputField"
|
|
6500
6847
|
},
|
|
6501
6848
|
config: {
|
|
6502
|
-
layout: { xs:
|
|
6849
|
+
layout: { xs: 12, sm: 12, md: 6, lg: 6 },
|
|
6503
6850
|
main: {
|
|
6504
6851
|
label: "Type",
|
|
6505
6852
|
type: "text"
|
|
@@ -6513,7 +6860,12 @@ const CoreSection = {
|
|
|
6513
6860
|
widget: "InputField"
|
|
6514
6861
|
},
|
|
6515
6862
|
config: {
|
|
6516
|
-
layout: {
|
|
6863
|
+
layout: {
|
|
6864
|
+
xs: 12,
|
|
6865
|
+
sm: 12,
|
|
6866
|
+
md: 6,
|
|
6867
|
+
lg: 6
|
|
6868
|
+
},
|
|
6517
6869
|
main: {
|
|
6518
6870
|
label: "Name"
|
|
6519
6871
|
}
|
|
@@ -6526,16 +6878,31 @@ const CoreSection = {
|
|
|
6526
6878
|
widget: "InputField"
|
|
6527
6879
|
},
|
|
6528
6880
|
config: {
|
|
6529
|
-
layout: {
|
|
6881
|
+
layout: {
|
|
6882
|
+
xs: 12,
|
|
6883
|
+
sm: 12,
|
|
6884
|
+
md: 6,
|
|
6885
|
+
lg: 6
|
|
6886
|
+
},
|
|
6530
6887
|
main: {
|
|
6531
6888
|
label: "Label"
|
|
6532
6889
|
}
|
|
6533
6890
|
}
|
|
6534
6891
|
},
|
|
6892
|
+
{
|
|
6893
|
+
type: "Control",
|
|
6894
|
+
scope: "#/properties/proc",
|
|
6895
|
+
config: {
|
|
6896
|
+
layout: { xs: 11, sm: 11, md: 6, lg: 6 }
|
|
6897
|
+
},
|
|
6898
|
+
options: {
|
|
6899
|
+
widget: "EmptyBox"
|
|
6900
|
+
}
|
|
6901
|
+
},
|
|
6535
6902
|
{
|
|
6536
6903
|
type: "Control",
|
|
6537
6904
|
scope: "#/properties/layout",
|
|
6538
|
-
layout:
|
|
6905
|
+
layout: 11.5,
|
|
6539
6906
|
options: {
|
|
6540
6907
|
"elementLabelProp": "key",
|
|
6541
6908
|
detail: {
|
|
@@ -6548,7 +6915,12 @@ const CoreSection = {
|
|
|
6548
6915
|
widget: "SelectInputField"
|
|
6549
6916
|
},
|
|
6550
6917
|
config: {
|
|
6551
|
-
layout: {
|
|
6918
|
+
layout: {
|
|
6919
|
+
xs: 11,
|
|
6920
|
+
sm: 11,
|
|
6921
|
+
md: 5.5,
|
|
6922
|
+
lg: 5.5
|
|
6923
|
+
},
|
|
6552
6924
|
main: {
|
|
6553
6925
|
label: "Screen Size"
|
|
6554
6926
|
}
|
|
@@ -6561,7 +6933,12 @@ const CoreSection = {
|
|
|
6561
6933
|
widget: "InputField"
|
|
6562
6934
|
},
|
|
6563
6935
|
config: {
|
|
6564
|
-
layout: {
|
|
6936
|
+
layout: {
|
|
6937
|
+
xs: 11,
|
|
6938
|
+
sm: 11,
|
|
6939
|
+
md: 5.5,
|
|
6940
|
+
lg: 5.5
|
|
6941
|
+
},
|
|
6565
6942
|
main: {
|
|
6566
6943
|
label: "Value",
|
|
6567
6944
|
type: "number",
|
|
@@ -6569,16 +6946,6 @@ const CoreSection = {
|
|
|
6569
6946
|
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6570
6947
|
}
|
|
6571
6948
|
}
|
|
6572
|
-
},
|
|
6573
|
-
{
|
|
6574
|
-
type: "Control",
|
|
6575
|
-
scope: "#/properties/emptyBox",
|
|
6576
|
-
options: {
|
|
6577
|
-
widget: "EmptyBox"
|
|
6578
|
-
},
|
|
6579
|
-
config: {
|
|
6580
|
-
layout: { xs: 0, sm: 4 }
|
|
6581
|
-
}
|
|
6582
6949
|
}
|
|
6583
6950
|
]
|
|
6584
6951
|
}
|
|
@@ -6590,95 +6957,121 @@ const EventSection = {
|
|
|
6590
6957
|
type: "HorizontalLayout",
|
|
6591
6958
|
elements: [
|
|
6592
6959
|
{
|
|
6593
|
-
type: "
|
|
6594
|
-
scope: "#/properties/events",
|
|
6595
|
-
options: {
|
|
6596
|
-
widget: "Table"
|
|
6597
|
-
},
|
|
6960
|
+
type: "WrapperLayout",
|
|
6598
6961
|
config: {
|
|
6599
6962
|
main: {
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
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
|
|
6963
|
+
divider: true
|
|
6964
|
+
},
|
|
6965
|
+
wrapperStyle: {
|
|
6966
|
+
border: "1px solid gray"
|
|
6629
6967
|
}
|
|
6630
6968
|
},
|
|
6631
6969
|
elements: [
|
|
6632
6970
|
{
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6971
|
+
type: "Control",
|
|
6972
|
+
scope: "#/properties/programType",
|
|
6973
|
+
options: {
|
|
6974
|
+
widget: "Box"
|
|
6975
|
+
},
|
|
6976
|
+
config: {
|
|
6977
|
+
layout: 8,
|
|
6978
|
+
main: {
|
|
6979
|
+
heading: "Event Table"
|
|
6980
|
+
},
|
|
6981
|
+
style: {
|
|
6982
|
+
fontFamily: "Roboto",
|
|
6983
|
+
fontWeight: "500",
|
|
6984
|
+
paddingLeft: "-10px",
|
|
6985
|
+
fontSize: "20px"
|
|
6986
|
+
}
|
|
6987
|
+
}
|
|
6639
6988
|
},
|
|
6640
6989
|
{
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6990
|
+
type: "Control",
|
|
6991
|
+
scope: "#/properties/Back_Button",
|
|
6992
|
+
options: {
|
|
6993
|
+
widget: "IconButton"
|
|
6994
|
+
},
|
|
6995
|
+
config: {
|
|
6996
|
+
layout: 3,
|
|
6997
|
+
main: {
|
|
6998
|
+
icon: "AddIcon",
|
|
6999
|
+
styleDefault: true,
|
|
7000
|
+
size: "small",
|
|
7001
|
+
onClick: "eventAddHandler",
|
|
7002
|
+
tooltipMessage: "Back"
|
|
6648
7003
|
},
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
color: "info",
|
|
6652
|
-
size: "small",
|
|
6653
|
-
icon: "EditIcon",
|
|
6654
|
-
tooltipMessage: "Edit This Record",
|
|
6655
|
-
onClick: "eventEditHandler"
|
|
6656
|
-
},
|
|
6657
|
-
style: {
|
|
6658
|
-
color: "#3949ab"
|
|
6659
|
-
}
|
|
7004
|
+
style: {
|
|
7005
|
+
float: "right"
|
|
6660
7006
|
}
|
|
6661
7007
|
}
|
|
6662
7008
|
},
|
|
6663
7009
|
{
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
7010
|
+
type: "Control",
|
|
7011
|
+
scope: "#/properties/events",
|
|
7012
|
+
options: {
|
|
7013
|
+
widget: "Table"
|
|
7014
|
+
},
|
|
7015
|
+
config: {
|
|
7016
|
+
main: {
|
|
7017
|
+
disableAction: true,
|
|
7018
|
+
disableSelection: true,
|
|
7019
|
+
enableDrag: true
|
|
7020
|
+
}
|
|
7021
|
+
},
|
|
7022
|
+
elements: [
|
|
7023
|
+
{
|
|
7024
|
+
accessorKey: "eventType",
|
|
7025
|
+
header: "Event Type"
|
|
6672
7026
|
},
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
7027
|
+
{
|
|
7028
|
+
accessorKey: "Handler",
|
|
7029
|
+
header: "Handler"
|
|
7030
|
+
},
|
|
7031
|
+
{
|
|
7032
|
+
accessorKey: "Edit_Approve_Records",
|
|
7033
|
+
header: "Edit Widget",
|
|
7034
|
+
widget: {
|
|
7035
|
+
type: "Control",
|
|
7036
|
+
scope: "#/properties/Edit_Records",
|
|
7037
|
+
options: {
|
|
7038
|
+
widget: "IconButton"
|
|
7039
|
+
},
|
|
7040
|
+
config: {
|
|
7041
|
+
main: {
|
|
7042
|
+
color: "info",
|
|
7043
|
+
size: "small",
|
|
7044
|
+
icon: "EditIcon",
|
|
7045
|
+
tooltipMessage: "Edit This Record",
|
|
7046
|
+
onClick: "eventEditHandler"
|
|
7047
|
+
},
|
|
7048
|
+
style: {
|
|
7049
|
+
color: "#3949ab"
|
|
7050
|
+
}
|
|
7051
|
+
}
|
|
7052
|
+
}
|
|
7053
|
+
},
|
|
7054
|
+
{
|
|
7055
|
+
accessorKey: "Reject_Records",
|
|
7056
|
+
header: "Delete",
|
|
7057
|
+
widget: {
|
|
7058
|
+
type: "Control",
|
|
7059
|
+
scope: "#/properties/RejectButton",
|
|
7060
|
+
accessorKeyName: "Reject_Records",
|
|
7061
|
+
options: {
|
|
7062
|
+
widget: "IconButton"
|
|
7063
|
+
},
|
|
7064
|
+
config: {
|
|
7065
|
+
main: {
|
|
7066
|
+
icon: "RejectIcon",
|
|
7067
|
+
color: "error",
|
|
7068
|
+
tooltipMessage: "Reject This Record",
|
|
7069
|
+
onClick: "deletePopUpEvent"
|
|
7070
|
+
}
|
|
7071
|
+
}
|
|
6679
7072
|
}
|
|
6680
7073
|
}
|
|
6681
|
-
|
|
7074
|
+
]
|
|
6682
7075
|
}
|
|
6683
7076
|
]
|
|
6684
7077
|
}
|
|
@@ -6691,7 +7084,12 @@ const EmptyBox = {
|
|
|
6691
7084
|
widget: "EmptyBox"
|
|
6692
7085
|
},
|
|
6693
7086
|
config: {
|
|
6694
|
-
layout: {
|
|
7087
|
+
layout: {
|
|
7088
|
+
xs: 11,
|
|
7089
|
+
sm: 11,
|
|
7090
|
+
md: 5.5,
|
|
7091
|
+
lg: 5.5
|
|
7092
|
+
},
|
|
6695
7093
|
main: {}
|
|
6696
7094
|
}
|
|
6697
7095
|
};
|
|
@@ -6710,7 +7108,12 @@ const cardLayout = {
|
|
|
6710
7108
|
widget: "SelectInputField"
|
|
6711
7109
|
},
|
|
6712
7110
|
config: {
|
|
6713
|
-
layout: {
|
|
7111
|
+
layout: {
|
|
7112
|
+
xs: 11,
|
|
7113
|
+
sm: 11,
|
|
7114
|
+
md: 5.5,
|
|
7115
|
+
lg: 5.5
|
|
7116
|
+
},
|
|
6714
7117
|
main: {
|
|
6715
7118
|
label: "Screen Size"
|
|
6716
7119
|
}
|
|
@@ -6723,7 +7126,12 @@ const cardLayout = {
|
|
|
6723
7126
|
widget: "InputField"
|
|
6724
7127
|
},
|
|
6725
7128
|
config: {
|
|
6726
|
-
layout: {
|
|
7129
|
+
layout: {
|
|
7130
|
+
xs: 11,
|
|
7131
|
+
sm: 11,
|
|
7132
|
+
md: 5.5,
|
|
7133
|
+
lg: 5.5
|
|
7134
|
+
},
|
|
6727
7135
|
main: {
|
|
6728
7136
|
label: "Value",
|
|
6729
7137
|
type: "number",
|
|
@@ -6731,8 +7139,7 @@ const cardLayout = {
|
|
|
6731
7139
|
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6732
7140
|
}
|
|
6733
7141
|
}
|
|
6734
|
-
}
|
|
6735
|
-
EmptyBox
|
|
7142
|
+
}
|
|
6736
7143
|
]
|
|
6737
7144
|
}
|
|
6738
7145
|
}
|
|
@@ -6754,13 +7161,17 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
|
6754
7161
|
widget: "InputField"
|
|
6755
7162
|
},
|
|
6756
7163
|
config: {
|
|
6757
|
-
layout: {
|
|
7164
|
+
layout: {
|
|
7165
|
+
xs: 11,
|
|
7166
|
+
sm: 11,
|
|
7167
|
+
md: 5.5,
|
|
7168
|
+
lg: 5.5
|
|
7169
|
+
},
|
|
6758
7170
|
main: {
|
|
6759
7171
|
label: childLabel || "Labels for Tab"
|
|
6760
7172
|
}
|
|
6761
7173
|
}
|
|
6762
7174
|
},
|
|
6763
|
-
EmptyBox,
|
|
6764
7175
|
EmptyBox
|
|
6765
7176
|
]
|
|
6766
7177
|
}
|
|
@@ -6775,7 +7186,12 @@ sizeHolder.options.detail.elements[1] = {
|
|
|
6775
7186
|
widget: "InputField"
|
|
6776
7187
|
},
|
|
6777
7188
|
config: {
|
|
6778
|
-
layout: {
|
|
7189
|
+
layout: {
|
|
7190
|
+
xs: 11,
|
|
7191
|
+
sm: 11,
|
|
7192
|
+
md: 5.5,
|
|
7193
|
+
lg: 5.5
|
|
7194
|
+
},
|
|
6779
7195
|
main: {
|
|
6780
7196
|
label: "Size"
|
|
6781
7197
|
}
|
|
@@ -6789,7 +7205,12 @@ const getInputField = (scope, label) => {
|
|
|
6789
7205
|
widget: "InputField"
|
|
6790
7206
|
},
|
|
6791
7207
|
config: {
|
|
6792
|
-
layout: {
|
|
7208
|
+
layout: {
|
|
7209
|
+
xs: 11,
|
|
7210
|
+
sm: 11,
|
|
7211
|
+
md: 5.5,
|
|
7212
|
+
lg: 5.5
|
|
7213
|
+
},
|
|
6793
7214
|
main: {
|
|
6794
7215
|
label
|
|
6795
7216
|
}
|
|
@@ -6804,7 +7225,12 @@ const getRadioInputField = (scope, label, options) => {
|
|
|
6804
7225
|
widget: "RadioInputField"
|
|
6805
7226
|
},
|
|
6806
7227
|
config: {
|
|
6807
|
-
layout: {
|
|
7228
|
+
layout: {
|
|
7229
|
+
xs: 11,
|
|
7230
|
+
sm: 11,
|
|
7231
|
+
md: 5.5,
|
|
7232
|
+
lg: 5.5
|
|
7233
|
+
},
|
|
6808
7234
|
main: {
|
|
6809
7235
|
label,
|
|
6810
7236
|
options
|
|
@@ -6847,7 +7273,7 @@ const getSelectField = (scope, label, options) => {
|
|
|
6847
7273
|
widget: "SelectInputField"
|
|
6848
7274
|
},
|
|
6849
7275
|
config: {
|
|
6850
|
-
layout: { xs: 11, sm:
|
|
7276
|
+
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
6851
7277
|
main: {
|
|
6852
7278
|
label,
|
|
6853
7279
|
type: "text"
|
|
@@ -6868,8 +7294,6 @@ const buildPropertiesSection = function(type) {
|
|
|
6868
7294
|
getInputField("elevation", "Card Elevation"),
|
|
6869
7295
|
getInputField("height", "Grid height"),
|
|
6870
7296
|
getInputField("justifyContent", "justifyContent"),
|
|
6871
|
-
EmptyBox,
|
|
6872
|
-
EmptyBox,
|
|
6873
7297
|
cardLayout
|
|
6874
7298
|
];
|
|
6875
7299
|
break;
|
|
@@ -6880,7 +7304,6 @@ const buildPropertiesSection = function(type) {
|
|
|
6880
7304
|
getInputField("resetText", "Reset Text"),
|
|
6881
7305
|
getInputField("completeText", "Complete Text"),
|
|
6882
7306
|
getSelectField("orientation", "Orientation Type"),
|
|
6883
|
-
EmptyBox,
|
|
6884
7307
|
getArrayControl("sectionLabels", "label")
|
|
6885
7308
|
];
|
|
6886
7309
|
break;
|
|
@@ -6896,14 +7319,12 @@ const buildPropertiesSection = function(type) {
|
|
|
6896
7319
|
uiSchema.elements = [
|
|
6897
7320
|
getInputField("placeholder", "Placeholder"),
|
|
6898
7321
|
EmptyBox,
|
|
6899
|
-
EmptyBox,
|
|
6900
7322
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
|
|
6901
7323
|
];
|
|
6902
7324
|
break;
|
|
6903
7325
|
case "TextArea":
|
|
6904
7326
|
uiSchema.elements = [
|
|
6905
7327
|
getInputField("placeholder", "Placeholder"),
|
|
6906
|
-
EmptyBox,
|
|
6907
7328
|
EmptyBox
|
|
6908
7329
|
];
|
|
6909
7330
|
break;
|
|
@@ -6913,8 +7334,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6913
7334
|
getInputField("heading", "Container Heading"),
|
|
6914
7335
|
getInputField("heading", "Container Heading"),
|
|
6915
7336
|
getInputField("speedoCaption", "Speedometer Caption"),
|
|
6916
|
-
getInputField("width", "Speedometer Width")
|
|
6917
|
-
EmptyBox
|
|
7337
|
+
getInputField("width", "Speedometer Width")
|
|
6918
7338
|
];
|
|
6919
7339
|
break;
|
|
6920
7340
|
case "RankCard":
|
|
@@ -6922,9 +7342,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6922
7342
|
getInputField("rank", "Rank"),
|
|
6923
7343
|
getInputField("image", "Image Url"),
|
|
6924
7344
|
getInputField("title", "Card Title"),
|
|
6925
|
-
getInputField("description", "Card Description")
|
|
6926
|
-
EmptyBox,
|
|
6927
|
-
EmptyBox
|
|
7345
|
+
getInputField("description", "Card Description")
|
|
6928
7346
|
];
|
|
6929
7347
|
break;
|
|
6930
7348
|
case "LeaderBoard":
|
|
@@ -6933,8 +7351,6 @@ const buildPropertiesSection = function(type) {
|
|
|
6933
7351
|
getInputField("firstImage", "First Image url"),
|
|
6934
7352
|
getInputField("secondImage", "Second Image url"),
|
|
6935
7353
|
getInputField("thirdImage", "Third Image url"),
|
|
6936
|
-
EmptyBox,
|
|
6937
|
-
EmptyBox,
|
|
6938
7354
|
getTextArea("functionCode", "Write Compare Code", false)
|
|
6939
7355
|
];
|
|
6940
7356
|
break;
|
|
@@ -6950,9 +7366,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6950
7366
|
getInputField("heading", "Heading"),
|
|
6951
7367
|
getInputField("bottomLabel_1", "First BottomLabel"),
|
|
6952
7368
|
getInputField("bottomLabel_2", "Second BottomLabel"),
|
|
6953
|
-
getInputField("bottomLabel_3", "Third BottomLabel")
|
|
6954
|
-
EmptyBox,
|
|
6955
|
-
EmptyBox
|
|
7369
|
+
getInputField("bottomLabel_3", "Third BottomLabel")
|
|
6956
7370
|
];
|
|
6957
7371
|
break;
|
|
6958
7372
|
case "card":
|
|
@@ -6986,7 +7400,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6986
7400
|
];
|
|
6987
7401
|
break;
|
|
6988
7402
|
case "WrapperSection":
|
|
6989
|
-
uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]),
|
|
7403
|
+
uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]), EmptyBox];
|
|
6990
7404
|
break;
|
|
6991
7405
|
case "TabSection":
|
|
6992
7406
|
uiSchema.elements = [
|
|
@@ -7014,14 +7428,12 @@ const buildPropertiesSection = function(type) {
|
|
|
7014
7428
|
case "Select":
|
|
7015
7429
|
uiSchema.elements = [
|
|
7016
7430
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7017
|
-
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"])
|
|
7018
|
-
EmptyBox
|
|
7431
|
+
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"])
|
|
7019
7432
|
];
|
|
7020
7433
|
break;
|
|
7021
7434
|
case "MultipleSelect":
|
|
7022
7435
|
uiSchema.elements = [
|
|
7023
7436
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7024
|
-
EmptyBox,
|
|
7025
7437
|
EmptyBox
|
|
7026
7438
|
];
|
|
7027
7439
|
break;
|
|
@@ -7067,92 +7479,116 @@ const TableSection = {
|
|
|
7067
7479
|
type: "HorizontalLayout",
|
|
7068
7480
|
elements: [
|
|
7069
7481
|
{
|
|
7070
|
-
type: "
|
|
7071
|
-
scope: "#/properties/elements",
|
|
7072
|
-
options: {
|
|
7073
|
-
widget: "Table"
|
|
7074
|
-
},
|
|
7482
|
+
type: "WrapperLayout",
|
|
7075
7483
|
config: {
|
|
7076
|
-
main: {
|
|
7077
|
-
|
|
7078
|
-
|
|
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
|
|
7484
|
+
main: {},
|
|
7485
|
+
wrapperStyle: {
|
|
7486
|
+
border: "1px solid gray"
|
|
7106
7487
|
}
|
|
7107
7488
|
},
|
|
7108
7489
|
elements: [
|
|
7109
7490
|
{
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7491
|
+
type: "Control",
|
|
7492
|
+
scope: "#/properties/programType",
|
|
7493
|
+
options: {
|
|
7494
|
+
widget: "Box"
|
|
7495
|
+
},
|
|
7496
|
+
config: {
|
|
7497
|
+
layout: 8,
|
|
7498
|
+
main: {
|
|
7499
|
+
heading: "Components Table"
|
|
7500
|
+
},
|
|
7501
|
+
style: {
|
|
7502
|
+
fontFamily: "Roboto",
|
|
7503
|
+
fontWeight: "500",
|
|
7504
|
+
paddingLeft: "-10px",
|
|
7505
|
+
fontSize: "20px"
|
|
7506
|
+
}
|
|
7507
|
+
}
|
|
7116
7508
|
},
|
|
7117
7509
|
{
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
|
|
7510
|
+
type: "Control",
|
|
7511
|
+
scope: "#/properties/Back_Button",
|
|
7512
|
+
options: {
|
|
7513
|
+
widget: "IconButton"
|
|
7514
|
+
},
|
|
7515
|
+
config: {
|
|
7516
|
+
layout: 3,
|
|
7517
|
+
main: {
|
|
7518
|
+
icon: "AddIcon",
|
|
7519
|
+
styleDefault: true,
|
|
7520
|
+
size: "small",
|
|
7521
|
+
onClick: "widgetAddClickHandler",
|
|
7522
|
+
tooltipMessage: "Add New"
|
|
7126
7523
|
},
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
icon: "EditIcon",
|
|
7130
|
-
color: "primary",
|
|
7131
|
-
onClick: "editComponents",
|
|
7132
|
-
tooltipMessage: "Reject This Record"
|
|
7133
|
-
}
|
|
7524
|
+
style: {
|
|
7525
|
+
float: "right"
|
|
7134
7526
|
}
|
|
7135
7527
|
}
|
|
7136
7528
|
},
|
|
7137
7529
|
{
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7530
|
+
type: "Control",
|
|
7531
|
+
scope: "#/properties/elements",
|
|
7532
|
+
options: {
|
|
7533
|
+
widget: "Table"
|
|
7534
|
+
},
|
|
7535
|
+
config: {
|
|
7536
|
+
main: {
|
|
7537
|
+
disableAction: true,
|
|
7538
|
+
disableSelection: true,
|
|
7539
|
+
enableDrag: true
|
|
7540
|
+
}
|
|
7541
|
+
},
|
|
7542
|
+
elements: [
|
|
7543
|
+
{
|
|
7544
|
+
accessorKey: "name",
|
|
7545
|
+
header: "Name"
|
|
7146
7546
|
},
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7547
|
+
{
|
|
7548
|
+
accessorKey: "type",
|
|
7549
|
+
header: "Type"
|
|
7550
|
+
},
|
|
7551
|
+
{
|
|
7552
|
+
header: "Edit Record",
|
|
7553
|
+
field: "Reject_Records",
|
|
7554
|
+
flex: 1,
|
|
7555
|
+
widget: {
|
|
7556
|
+
type: "Control",
|
|
7557
|
+
scope: "#/properties/RejectButton",
|
|
7558
|
+
options: {
|
|
7559
|
+
widget: "IconButton"
|
|
7560
|
+
},
|
|
7561
|
+
config: {
|
|
7562
|
+
main: {
|
|
7563
|
+
icon: "EditIcon",
|
|
7564
|
+
color: "primary",
|
|
7565
|
+
onClick: "editComponents",
|
|
7566
|
+
tooltipMessage: "Reject This Record"
|
|
7567
|
+
}
|
|
7568
|
+
}
|
|
7569
|
+
}
|
|
7570
|
+
},
|
|
7571
|
+
{
|
|
7572
|
+
header: "Delete",
|
|
7573
|
+
field: "Reject_Records",
|
|
7574
|
+
flex: 1,
|
|
7575
|
+
widget: {
|
|
7576
|
+
type: "Control",
|
|
7577
|
+
scope: "#/properties/RejectButton",
|
|
7578
|
+
options: {
|
|
7579
|
+
widget: "IconButton"
|
|
7580
|
+
},
|
|
7581
|
+
config: {
|
|
7582
|
+
main: {
|
|
7583
|
+
icon: "RejectIcon",
|
|
7584
|
+
color: "error",
|
|
7585
|
+
onClick: "deletePopUpComponent",
|
|
7586
|
+
tooltipMessage: "Reject This Record"
|
|
7587
|
+
}
|
|
7588
|
+
}
|
|
7153
7589
|
}
|
|
7154
7590
|
}
|
|
7155
|
-
|
|
7591
|
+
]
|
|
7156
7592
|
}
|
|
7157
7593
|
]
|
|
7158
7594
|
}
|
|
@@ -7176,7 +7612,12 @@ const ValueTab = {
|
|
|
7176
7612
|
widget: "InputField"
|
|
7177
7613
|
},
|
|
7178
7614
|
config: {
|
|
7179
|
-
layout: {
|
|
7615
|
+
layout: {
|
|
7616
|
+
xs: 11,
|
|
7617
|
+
sm: 11,
|
|
7618
|
+
md: 5.5,
|
|
7619
|
+
lg: 5.5
|
|
7620
|
+
},
|
|
7180
7621
|
main: {
|
|
7181
7622
|
label: "Label"
|
|
7182
7623
|
}
|
|
@@ -7189,21 +7630,16 @@ const ValueTab = {
|
|
|
7189
7630
|
widget: "InputField"
|
|
7190
7631
|
},
|
|
7191
7632
|
config: {
|
|
7192
|
-
layout: {
|
|
7633
|
+
layout: {
|
|
7634
|
+
xs: 11,
|
|
7635
|
+
sm: 11,
|
|
7636
|
+
md: 5.5,
|
|
7637
|
+
lg: 5.5
|
|
7638
|
+
},
|
|
7193
7639
|
main: {
|
|
7194
7640
|
label: "Value"
|
|
7195
7641
|
}
|
|
7196
7642
|
}
|
|
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
|
-
}
|
|
7207
7643
|
}
|
|
7208
7644
|
]
|
|
7209
7645
|
}
|
|
@@ -7230,7 +7666,12 @@ const ValidationSection = {
|
|
|
7230
7666
|
widget: "SelectInputField"
|
|
7231
7667
|
},
|
|
7232
7668
|
config: {
|
|
7233
|
-
layout: {
|
|
7669
|
+
layout: {
|
|
7670
|
+
xs: 11,
|
|
7671
|
+
sm: 11,
|
|
7672
|
+
md: 5.5,
|
|
7673
|
+
lg: 5.5
|
|
7674
|
+
},
|
|
7234
7675
|
main: {
|
|
7235
7676
|
label: "Validation Type"
|
|
7236
7677
|
}
|
|
@@ -7243,21 +7684,16 @@ const ValidationSection = {
|
|
|
7243
7684
|
widget: "InputField"
|
|
7244
7685
|
},
|
|
7245
7686
|
config: {
|
|
7246
|
-
layout: {
|
|
7687
|
+
layout: {
|
|
7688
|
+
xs: 11,
|
|
7689
|
+
sm: 11,
|
|
7690
|
+
md: 5.5,
|
|
7691
|
+
lg: 5.5
|
|
7692
|
+
},
|
|
7247
7693
|
main: {
|
|
7248
7694
|
label: "Validation Value"
|
|
7249
7695
|
}
|
|
7250
7696
|
}
|
|
7251
|
-
},
|
|
7252
|
-
{
|
|
7253
|
-
type: "Control",
|
|
7254
|
-
scope: "#/properties/emptyBox",
|
|
7255
|
-
options: {
|
|
7256
|
-
widget: "EmptyBox"
|
|
7257
|
-
},
|
|
7258
|
-
config: {
|
|
7259
|
-
layout: { xs: 0, sm: 4 }
|
|
7260
|
-
}
|
|
7261
7697
|
}
|
|
7262
7698
|
]
|
|
7263
7699
|
}
|
|
@@ -7439,7 +7875,7 @@ const sectionLabels = {
|
|
|
7439
7875
|
};
|
|
7440
7876
|
const refreshPage = (type, store2) => {
|
|
7441
7877
|
var _a;
|
|
7442
|
-
const UiSchema = _.cloneDeep(componentBasicUiSchema
|
|
7878
|
+
const UiSchema = _.cloneDeep(componentBasicUiSchema);
|
|
7443
7879
|
if (type) {
|
|
7444
7880
|
const sectionUiSchema = {
|
|
7445
7881
|
Core: CoreSection,
|
|
@@ -7451,8 +7887,8 @@ const refreshPage = (type, store2) => {
|
|
|
7451
7887
|
Validation: ValidationSection
|
|
7452
7888
|
};
|
|
7453
7889
|
const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
|
|
7454
|
-
UiSchema.elements[
|
|
7455
|
-
UiSchema.elements[
|
|
7890
|
+
UiSchema.elements[1].config.main.tabLabels = sectionLabels[type] || ["Core", "style", "Event", "Validation"];
|
|
7891
|
+
UiSchema.elements[1].elements = elements || [CoreSection, StyleSection, EventSection, ValidationSection];
|
|
7456
7892
|
}
|
|
7457
7893
|
store2.setUiSchema(UiSchema);
|
|
7458
7894
|
};
|
|
@@ -7498,22 +7934,30 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7498
7934
|
store2.navigate(`/Component?path=${`elements[${rowId}]`}&id=${id}`);
|
|
7499
7935
|
}
|
|
7500
7936
|
},
|
|
7501
|
-
deleteComponents: function() {
|
|
7937
|
+
deleteComponents: function(shouldUpdateDialog = true) {
|
|
7502
7938
|
var _a;
|
|
7503
7939
|
const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
|
|
7504
|
-
const rowId =
|
|
7940
|
+
const rowId = localStorage.getItem("rowId");
|
|
7505
7941
|
store2.formData.elements.splice(rowId, 1);
|
|
7506
7942
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
7507
7943
|
const data2 = path ? _.get(response2, path) : response2;
|
|
7508
7944
|
store2.setFormdata(data2);
|
|
7945
|
+
if (shouldUpdateDialog) {
|
|
7946
|
+
store2.updateDialog("popUpComponentSection");
|
|
7947
|
+
}
|
|
7948
|
+
localStorage.removeItem("rowId");
|
|
7509
7949
|
},
|
|
7510
|
-
deleteEvent: function() {
|
|
7950
|
+
deleteEvent: function(shouldUpdateDialog = true) {
|
|
7511
7951
|
var _a;
|
|
7512
7952
|
const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
|
|
7513
|
-
const rowId =
|
|
7953
|
+
const rowId = localStorage.getItem("rowId");
|
|
7514
7954
|
store2.formData.events.splice(rowId, 1);
|
|
7515
7955
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
7516
7956
|
store2.setFormdata(_.get(response2, path));
|
|
7957
|
+
if (shouldUpdateDialog) {
|
|
7958
|
+
store2.updateDialog("popUpEventSection");
|
|
7959
|
+
}
|
|
7960
|
+
localStorage.removeItem("rowId");
|
|
7517
7961
|
},
|
|
7518
7962
|
widgetAddClickHandler: function() {
|
|
7519
7963
|
var _a;
|
|
@@ -7549,6 +7993,16 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7549
7993
|
},
|
|
7550
7994
|
backHandler: function() {
|
|
7551
7995
|
store2.navigate(-1);
|
|
7996
|
+
},
|
|
7997
|
+
deletePopUpComponent: function() {
|
|
7998
|
+
const rowId = dynamicData2.path.split(".")[1];
|
|
7999
|
+
localStorage.setItem("rowId", rowId);
|
|
8000
|
+
store2.updateDialog("popUpComponentSection");
|
|
8001
|
+
},
|
|
8002
|
+
deletePopUpEvent: function() {
|
|
8003
|
+
const rowId = dynamicData2.path.split(".")[1];
|
|
8004
|
+
localStorage.setItem("rowId", rowId);
|
|
8005
|
+
store2.updateDialog("popUpEventSection");
|
|
7552
8006
|
}
|
|
7553
8007
|
};
|
|
7554
8008
|
};
|
|
@@ -7574,7 +8028,7 @@ var pageMaster = (funcParams) => {
|
|
|
7574
8028
|
return config;
|
|
7575
8029
|
},
|
|
7576
8030
|
getUiSchema: function() {
|
|
7577
|
-
return PageMasterUiSchema
|
|
8031
|
+
return PageMasterUiSchema;
|
|
7578
8032
|
},
|
|
7579
8033
|
getSchema: () => {
|
|
7580
8034
|
return PageMasterSchema;
|
|
@@ -7596,7 +8050,10 @@ var pageMaster = (funcParams) => {
|
|
|
7596
8050
|
},
|
|
7597
8051
|
saveHandler: async () => await saveHandler(store2, service2, submitHandler),
|
|
7598
8052
|
Edit_Components: Component(store2, dynamicData2, submitHandler, service2).editComponents,
|
|
7599
|
-
Delete_Components:
|
|
8053
|
+
Delete_Components: async function() {
|
|
8054
|
+
await Component(store2, dynamicData2, submitHandler, service2).deleteComponents(false);
|
|
8055
|
+
store2.updateDialog("popUpPageMasterComponent");
|
|
8056
|
+
},
|
|
7600
8057
|
eventAddHandler: function() {
|
|
7601
8058
|
var _a;
|
|
7602
8059
|
const id = (_a = store2.searchParams) == null ? void 0 : _a.get("id");
|
|
@@ -7616,10 +8073,22 @@ var pageMaster = (funcParams) => {
|
|
|
7616
8073
|
store2.navigate(`/ComponentEvents?path=${finalPath}&id=${id}`);
|
|
7617
8074
|
},
|
|
7618
8075
|
deleteEvent: function() {
|
|
7619
|
-
const rowId =
|
|
8076
|
+
const rowId = localStorage.getItem("rowId");
|
|
7620
8077
|
store2.formData.events.splice(rowId, 1);
|
|
7621
8078
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data);
|
|
7622
8079
|
store2.setFormdata(response2);
|
|
8080
|
+
store2.updateDialog("popUpPageMasterEvent");
|
|
8081
|
+
localStorage.removeItem("rowId");
|
|
8082
|
+
},
|
|
8083
|
+
deletePopUpComponent: function() {
|
|
8084
|
+
const rowId = dynamicData2.path.split(".")[1];
|
|
8085
|
+
localStorage.setItem("rowId", rowId);
|
|
8086
|
+
store2.updateDialog("popUpPageMasterComponent");
|
|
8087
|
+
},
|
|
8088
|
+
deletePopUpEvent: function() {
|
|
8089
|
+
const rowId = dynamicData2.path.split(".")[1];
|
|
8090
|
+
localStorage.setItem("rowId", rowId);
|
|
8091
|
+
store2.updateDialog("popUpPageMasterEvent");
|
|
7623
8092
|
}
|
|
7624
8093
|
};
|
|
7625
8094
|
};
|
|
@@ -7709,418 +8178,435 @@ const EventSchema = {
|
|
|
7709
8178
|
},
|
|
7710
8179
|
required: ["eventType", "Handler"]
|
|
7711
8180
|
};
|
|
7712
|
-
const EventUiSchema =
|
|
7713
|
-
|
|
7714
|
-
|
|
7715
|
-
|
|
7716
|
-
|
|
7717
|
-
|
|
7718
|
-
|
|
7719
|
-
|
|
7720
|
-
|
|
7721
|
-
main: {
|
|
7722
|
-
tabLabels: ["Core", "Response Event"],
|
|
7723
|
-
defaultStyle: true,
|
|
7724
|
-
id: "event"
|
|
7725
|
-
}
|
|
8181
|
+
const EventUiSchema = {
|
|
8182
|
+
type: "HorizontalLayout",
|
|
8183
|
+
elements: [
|
|
8184
|
+
{
|
|
8185
|
+
type: "WrapperLayout",
|
|
8186
|
+
config: {
|
|
8187
|
+
main: {
|
|
8188
|
+
rowSpacing: 1,
|
|
8189
|
+
header: true
|
|
7726
8190
|
},
|
|
7727
|
-
|
|
7728
|
-
|
|
7729
|
-
|
|
7730
|
-
|
|
7731
|
-
|
|
7732
|
-
|
|
7733
|
-
|
|
7734
|
-
|
|
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
|
-
]
|
|
8191
|
+
defaultStyle: true
|
|
8192
|
+
},
|
|
8193
|
+
elements: [
|
|
8194
|
+
{
|
|
8195
|
+
type: "Control",
|
|
8196
|
+
scope: "#/properties/Component",
|
|
8197
|
+
options: {
|
|
8198
|
+
widget: "Box"
|
|
7770
8199
|
},
|
|
7771
|
-
{
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
|
|
7775
|
-
widget: "Table"
|
|
7776
|
-
},
|
|
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
|
-
}
|
|
8200
|
+
config: {
|
|
8201
|
+
layout: { xs: 12, sm: 12, md: 2 },
|
|
8202
|
+
main: {
|
|
8203
|
+
heading: "Component"
|
|
7809
8204
|
},
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
|
|
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
|
-
]
|
|
8205
|
+
style: {
|
|
8206
|
+
"float": "left"
|
|
8207
|
+
}
|
|
7862
8208
|
}
|
|
7863
|
-
]
|
|
7864
|
-
},
|
|
7865
|
-
{
|
|
7866
|
-
type: "Control",
|
|
7867
|
-
scope: "#/properties/EmptyBox",
|
|
7868
|
-
options: {
|
|
7869
|
-
widget: "EmptyBox"
|
|
7870
|
-
},
|
|
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
8209
|
},
|
|
7891
|
-
|
|
7892
|
-
|
|
7893
|
-
|
|
7894
|
-
|
|
7895
|
-
|
|
7896
|
-
variant: "contained",
|
|
7897
|
-
color: "info",
|
|
7898
|
-
type: "text",
|
|
7899
|
-
onClick: "okHandler",
|
|
7900
|
-
size: "medium"
|
|
8210
|
+
{
|
|
8211
|
+
type: "Control",
|
|
8212
|
+
scope: "#/properties/pageName",
|
|
8213
|
+
options: {
|
|
8214
|
+
widget: "Box"
|
|
7901
8215
|
},
|
|
7902
|
-
|
|
7903
|
-
|
|
8216
|
+
config: {
|
|
8217
|
+
layout: { xs: 7, sm: 7, md: 9 },
|
|
8218
|
+
main: {
|
|
8219
|
+
heading: " "
|
|
8220
|
+
},
|
|
8221
|
+
style: {
|
|
8222
|
+
float: "right",
|
|
8223
|
+
width: "auto",
|
|
8224
|
+
fontSize: "12px",
|
|
8225
|
+
color: "gray",
|
|
8226
|
+
paddingTop: "10px"
|
|
8227
|
+
}
|
|
7904
8228
|
}
|
|
7905
|
-
}
|
|
7906
|
-
},
|
|
7907
|
-
{
|
|
7908
|
-
type: "Control",
|
|
7909
|
-
scope: "#/properties/btnSubmit",
|
|
7910
|
-
options: {
|
|
7911
|
-
widget: "Button"
|
|
7912
8229
|
},
|
|
7913
|
-
|
|
7914
|
-
|
|
7915
|
-
|
|
7916
|
-
|
|
7917
|
-
|
|
7918
|
-
variant: "contained",
|
|
7919
|
-
color: "info",
|
|
7920
|
-
type: "text",
|
|
7921
|
-
onClick: "saveHandler",
|
|
7922
|
-
size: "medium"
|
|
8230
|
+
{
|
|
8231
|
+
type: "Control",
|
|
8232
|
+
scope: "#/properties/Back_Button",
|
|
8233
|
+
options: {
|
|
8234
|
+
widget: "IconButton"
|
|
7923
8235
|
},
|
|
7924
|
-
|
|
7925
|
-
|
|
8236
|
+
config: {
|
|
8237
|
+
layout: { xs: 2, sm: 2, md: 0.5 },
|
|
8238
|
+
main: {
|
|
8239
|
+
icon: "BackIcon",
|
|
8240
|
+
styleDefault: true,
|
|
8241
|
+
size: "small",
|
|
8242
|
+
onClick: "backHandler",
|
|
8243
|
+
tooltipMessage: "Back"
|
|
8244
|
+
},
|
|
8245
|
+
style: {
|
|
8246
|
+
float: "right"
|
|
8247
|
+
}
|
|
7926
8248
|
}
|
|
7927
8249
|
}
|
|
8250
|
+
]
|
|
8251
|
+
},
|
|
8252
|
+
{
|
|
8253
|
+
type: "TabLayout",
|
|
8254
|
+
config: {
|
|
8255
|
+
main: {
|
|
8256
|
+
tabLabels: ["Core", "Response Event"],
|
|
8257
|
+
defaultStyle: true,
|
|
8258
|
+
id: "event"
|
|
8259
|
+
}
|
|
7928
8260
|
},
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
7932
|
-
|
|
7933
|
-
|
|
7934
|
-
|
|
7935
|
-
|
|
7936
|
-
|
|
7937
|
-
|
|
7938
|
-
|
|
7939
|
-
|
|
7940
|
-
|
|
7941
|
-
|
|
7942
|
-
|
|
7943
|
-
|
|
7944
|
-
|
|
7945
|
-
|
|
7946
|
-
|
|
8261
|
+
elements: [
|
|
8262
|
+
{
|
|
8263
|
+
type: "HorizontalLayout",
|
|
8264
|
+
elements: [
|
|
8265
|
+
{
|
|
8266
|
+
type: "Control",
|
|
8267
|
+
scope: `#/properties/eventType`,
|
|
8268
|
+
options: {
|
|
8269
|
+
widget: "SelectInputField"
|
|
8270
|
+
},
|
|
8271
|
+
config: {
|
|
8272
|
+
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
8273
|
+
main: {
|
|
8274
|
+
label: "Event Type",
|
|
8275
|
+
type: "text"
|
|
8276
|
+
}
|
|
8277
|
+
}
|
|
8278
|
+
},
|
|
8279
|
+
getSelectField("Handler", "Handler")
|
|
8280
|
+
]
|
|
7947
8281
|
},
|
|
7948
|
-
|
|
7949
|
-
|
|
7950
|
-
|
|
7951
|
-
|
|
7952
|
-
|
|
7953
|
-
widget: "EmptyBox"
|
|
8282
|
+
{
|
|
8283
|
+
type: "WrapperLayout",
|
|
8284
|
+
config: {
|
|
8285
|
+
main: {
|
|
8286
|
+
divider: true
|
|
7954
8287
|
},
|
|
7955
|
-
|
|
7956
|
-
|
|
8288
|
+
wrapperStyle: {
|
|
8289
|
+
border: "1px solid gray"
|
|
7957
8290
|
}
|
|
7958
8291
|
},
|
|
7959
|
-
|
|
7960
|
-
|
|
7961
|
-
|
|
7962
|
-
|
|
7963
|
-
|
|
7964
|
-
|
|
7965
|
-
config: {
|
|
7966
|
-
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7967
|
-
main: {
|
|
7968
|
-
heading: "Copywriter@ACT21.IO"
|
|
8292
|
+
elements: [
|
|
8293
|
+
{
|
|
8294
|
+
type: "Control",
|
|
8295
|
+
scope: "#/properties/heading",
|
|
8296
|
+
options: {
|
|
8297
|
+
widget: "Box"
|
|
7969
8298
|
},
|
|
7970
|
-
|
|
7971
|
-
|
|
7972
|
-
|
|
8299
|
+
config: {
|
|
8300
|
+
layout: 8,
|
|
8301
|
+
main: {
|
|
8302
|
+
heading: "Response Event"
|
|
8303
|
+
},
|
|
8304
|
+
style: {
|
|
8305
|
+
fontFamily: "Roboto",
|
|
8306
|
+
fontWeight: "500",
|
|
8307
|
+
paddingLeft: "-10px",
|
|
8308
|
+
fontSize: "20px"
|
|
8309
|
+
}
|
|
7973
8310
|
}
|
|
7974
|
-
}
|
|
7975
|
-
},
|
|
7976
|
-
{
|
|
7977
|
-
type: "HorizontalLayout",
|
|
7978
|
-
config: {
|
|
7979
|
-
layout: { xs: 11, sm: 4, md: 4, lg: 4 }
|
|
7980
8311
|
},
|
|
7981
|
-
|
|
7982
|
-
|
|
7983
|
-
|
|
7984
|
-
|
|
7985
|
-
|
|
7986
|
-
|
|
8312
|
+
{
|
|
8313
|
+
type: "Control",
|
|
8314
|
+
scope: "#/properties/AddButton",
|
|
8315
|
+
options: {
|
|
8316
|
+
widget: "IconButton"
|
|
8317
|
+
},
|
|
8318
|
+
config: {
|
|
8319
|
+
layout: 3,
|
|
8320
|
+
main: {
|
|
8321
|
+
icon: "AddIcon",
|
|
8322
|
+
styleDefault: true,
|
|
8323
|
+
size: "small",
|
|
8324
|
+
onClick: "addEvent",
|
|
8325
|
+
tooltipMessage: "Back"
|
|
7987
8326
|
},
|
|
7988
|
-
|
|
7989
|
-
|
|
8327
|
+
style: {
|
|
8328
|
+
float: "right"
|
|
8329
|
+
}
|
|
8330
|
+
}
|
|
8331
|
+
},
|
|
8332
|
+
{
|
|
8333
|
+
type: "Control",
|
|
8334
|
+
scope: "#/properties/events",
|
|
8335
|
+
options: {
|
|
8336
|
+
widget: "Table"
|
|
8337
|
+
},
|
|
8338
|
+
config: {
|
|
8339
|
+
main: {
|
|
8340
|
+
disableAction: true,
|
|
8341
|
+
disableSelection: true,
|
|
8342
|
+
enableDrag: true
|
|
7990
8343
|
}
|
|
7991
8344
|
},
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
7995
|
-
|
|
7996
|
-
widget: "Box"
|
|
8345
|
+
elements: [
|
|
8346
|
+
{
|
|
8347
|
+
accessorKey: "eventType",
|
|
8348
|
+
header: "Event Type"
|
|
7997
8349
|
},
|
|
7998
|
-
|
|
7999
|
-
|
|
8000
|
-
|
|
8001
|
-
|
|
8002
|
-
|
|
8003
|
-
|
|
8004
|
-
|
|
8005
|
-
|
|
8006
|
-
|
|
8007
|
-
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
|
|
8350
|
+
{
|
|
8351
|
+
accessorKey: "Handler",
|
|
8352
|
+
header: "Handler"
|
|
8353
|
+
},
|
|
8354
|
+
{
|
|
8355
|
+
accessorKey: "Edit_Approve_Records",
|
|
8356
|
+
header: "Edit Widget",
|
|
8357
|
+
widget: {
|
|
8358
|
+
type: "Control",
|
|
8359
|
+
scope: "#/properties/Edit_Records",
|
|
8360
|
+
options: {
|
|
8361
|
+
widget: "IconButton"
|
|
8362
|
+
},
|
|
8363
|
+
config: {
|
|
8364
|
+
main: {
|
|
8365
|
+
color: "info",
|
|
8366
|
+
size: "small",
|
|
8367
|
+
icon: "EditIcon",
|
|
8368
|
+
tooltipMessage: "Edit This Record",
|
|
8369
|
+
onClick: "editEvent"
|
|
8370
|
+
},
|
|
8371
|
+
style: {
|
|
8372
|
+
color: "#3949ab"
|
|
8373
|
+
}
|
|
8374
|
+
}
|
|
8013
8375
|
}
|
|
8014
|
-
}
|
|
8015
|
-
},
|
|
8016
|
-
{
|
|
8017
|
-
type: "Control",
|
|
8018
|
-
scope: "#/properties/text",
|
|
8019
|
-
options: {
|
|
8020
|
-
widget: "Box"
|
|
8021
8376
|
},
|
|
8022
|
-
|
|
8023
|
-
|
|
8024
|
-
|
|
8025
|
-
|
|
8026
|
-
|
|
8027
|
-
|
|
8028
|
-
|
|
8029
|
-
|
|
8030
|
-
|
|
8031
|
-
|
|
8032
|
-
|
|
8377
|
+
{
|
|
8378
|
+
accessorKey: "Reject_Records",
|
|
8379
|
+
header: "Delete",
|
|
8380
|
+
widget: {
|
|
8381
|
+
type: "Control",
|
|
8382
|
+
scope: "#/properties/RejectButton",
|
|
8383
|
+
options: {
|
|
8384
|
+
widget: "IconButton"
|
|
8385
|
+
},
|
|
8386
|
+
config: {
|
|
8387
|
+
main: {
|
|
8388
|
+
icon: "RejectIcon",
|
|
8389
|
+
color: "error",
|
|
8390
|
+
tooltipMessage: "Reject This Record",
|
|
8391
|
+
onClick: "deletePopUpEvent"
|
|
8392
|
+
}
|
|
8393
|
+
}
|
|
8033
8394
|
}
|
|
8034
8395
|
}
|
|
8035
|
-
|
|
8036
|
-
|
|
8396
|
+
]
|
|
8397
|
+
}
|
|
8398
|
+
]
|
|
8399
|
+
}
|
|
8400
|
+
]
|
|
8401
|
+
},
|
|
8402
|
+
{
|
|
8403
|
+
type: "Control",
|
|
8404
|
+
scope: "#/properties/popUpEvent",
|
|
8405
|
+
options: {
|
|
8406
|
+
widget: "PopUp"
|
|
8407
|
+
},
|
|
8408
|
+
config: {
|
|
8409
|
+
layout: {
|
|
8410
|
+
xs: 12,
|
|
8411
|
+
sm: 12,
|
|
8412
|
+
md: 12,
|
|
8413
|
+
lg: 12
|
|
8414
|
+
},
|
|
8415
|
+
style: {
|
|
8416
|
+
width: "32%",
|
|
8417
|
+
margin: "auto"
|
|
8418
|
+
},
|
|
8419
|
+
main: {
|
|
8420
|
+
title: "Delete Content"
|
|
8421
|
+
}
|
|
8422
|
+
},
|
|
8423
|
+
elements: [
|
|
8424
|
+
{
|
|
8425
|
+
type: "Control",
|
|
8426
|
+
scope: "#/properties/label",
|
|
8427
|
+
options: {
|
|
8428
|
+
widget: "Box"
|
|
8037
8429
|
},
|
|
8038
|
-
{
|
|
8039
|
-
|
|
8040
|
-
|
|
8041
|
-
|
|
8042
|
-
widget: "Box"
|
|
8430
|
+
config: {
|
|
8431
|
+
layout: 12,
|
|
8432
|
+
main: {
|
|
8433
|
+
heading: "Are you sure you want to delete ?"
|
|
8043
8434
|
},
|
|
8044
|
-
|
|
8045
|
-
|
|
8046
|
-
|
|
8047
|
-
heading: " "
|
|
8048
|
-
},
|
|
8049
|
-
style: {
|
|
8050
|
-
color: theme.palette.text.disabled,
|
|
8051
|
-
textAlign: "right",
|
|
8052
|
-
fontSize: "12px",
|
|
8053
|
-
marginTop: "-16px"
|
|
8054
|
-
}
|
|
8435
|
+
style: {
|
|
8436
|
+
marginTop: "-25px",
|
|
8437
|
+
marginLeft: "11px"
|
|
8055
8438
|
}
|
|
8439
|
+
}
|
|
8440
|
+
},
|
|
8441
|
+
{
|
|
8442
|
+
type: "Control",
|
|
8443
|
+
scope: "#/properties/EmptyBox",
|
|
8444
|
+
options: {
|
|
8445
|
+
widget: "EmptyBox"
|
|
8056
8446
|
},
|
|
8057
|
-
{
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8447
|
+
config: {
|
|
8448
|
+
main: {},
|
|
8449
|
+
layout: { xs: 11, sm: 5.5, md: 4.5, lg: 4.5 }
|
|
8450
|
+
}
|
|
8451
|
+
},
|
|
8452
|
+
{
|
|
8453
|
+
type: "Control",
|
|
8454
|
+
scope: "#/properties/ConfirmDeleteEventButton",
|
|
8455
|
+
options: {
|
|
8456
|
+
widget: "Button"
|
|
8457
|
+
},
|
|
8458
|
+
config: {
|
|
8459
|
+
layout: 3,
|
|
8460
|
+
main: {
|
|
8461
|
+
name: "Yes",
|
|
8462
|
+
endIcon: "DeleteIcon",
|
|
8463
|
+
variant: "contained",
|
|
8464
|
+
color: "info",
|
|
8465
|
+
type: "text",
|
|
8466
|
+
onClick: "deleteEvent",
|
|
8467
|
+
size: "small"
|
|
8065
8468
|
}
|
|
8066
8469
|
}
|
|
8067
|
-
|
|
8470
|
+
},
|
|
8471
|
+
{
|
|
8472
|
+
type: "Control",
|
|
8473
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
8474
|
+
options: {
|
|
8475
|
+
widget: "Button"
|
|
8476
|
+
},
|
|
8477
|
+
config: {
|
|
8478
|
+
layout: 3,
|
|
8479
|
+
main: {
|
|
8480
|
+
name: "No",
|
|
8481
|
+
endIcon: "CloseIcon",
|
|
8482
|
+
variant: "contained",
|
|
8483
|
+
color: "info",
|
|
8484
|
+
type: "text",
|
|
8485
|
+
onClick: "deletePopUpEvent",
|
|
8486
|
+
size: "small"
|
|
8487
|
+
}
|
|
8488
|
+
}
|
|
8489
|
+
},
|
|
8490
|
+
{
|
|
8491
|
+
type: "Control",
|
|
8492
|
+
scope: "#/properties/EmptyBox",
|
|
8493
|
+
options: {
|
|
8494
|
+
widget: "EmptyBox"
|
|
8495
|
+
},
|
|
8496
|
+
config: {
|
|
8497
|
+
main: {},
|
|
8498
|
+
layout: 0.5
|
|
8499
|
+
}
|
|
8500
|
+
}
|
|
8501
|
+
]
|
|
8502
|
+
},
|
|
8503
|
+
{
|
|
8504
|
+
type: "Control",
|
|
8505
|
+
scope: "#/properties/proc",
|
|
8506
|
+
config: {
|
|
8507
|
+
layout: { xs: 11, sm: 11, md: 6, lg: 6 }
|
|
8508
|
+
},
|
|
8509
|
+
options: {
|
|
8510
|
+
widget: "EmptyBox"
|
|
8068
8511
|
}
|
|
8069
|
-
|
|
8070
|
-
};
|
|
8071
|
-
return uiSchema;
|
|
8072
|
-
};
|
|
8073
|
-
const APISection = {
|
|
8074
|
-
type: "HorizontalLayout",
|
|
8075
|
-
elements: [
|
|
8512
|
+
},
|
|
8076
8513
|
{
|
|
8077
8514
|
type: "Control",
|
|
8078
|
-
scope: "#/properties/
|
|
8515
|
+
scope: "#/properties/btn",
|
|
8079
8516
|
options: {
|
|
8080
|
-
widget: "
|
|
8517
|
+
widget: "Button"
|
|
8081
8518
|
},
|
|
8082
8519
|
config: {
|
|
8083
|
-
layout: {
|
|
8520
|
+
layout: {
|
|
8521
|
+
xs: 11,
|
|
8522
|
+
sm: 11,
|
|
8523
|
+
md: 2.5,
|
|
8524
|
+
lg: 2.5
|
|
8525
|
+
},
|
|
8084
8526
|
main: {
|
|
8085
|
-
|
|
8086
|
-
|
|
8527
|
+
name: "Ok",
|
|
8528
|
+
startIcon: "ApproveIcon",
|
|
8529
|
+
variant: "contained",
|
|
8530
|
+
color: "info",
|
|
8531
|
+
type: "text",
|
|
8532
|
+
onClick: "okHandler",
|
|
8533
|
+
size: "small"
|
|
8534
|
+
},
|
|
8535
|
+
style: {
|
|
8536
|
+
marginBottom: "8px",
|
|
8537
|
+
float: "right"
|
|
8087
8538
|
}
|
|
8088
8539
|
}
|
|
8089
8540
|
},
|
|
8090
8541
|
{
|
|
8091
8542
|
type: "Control",
|
|
8092
|
-
scope: "#/properties/
|
|
8543
|
+
scope: "#/properties/btnSubmit",
|
|
8093
8544
|
options: {
|
|
8094
|
-
widget: "
|
|
8545
|
+
widget: "Button"
|
|
8095
8546
|
},
|
|
8096
8547
|
config: {
|
|
8097
|
-
layout: {
|
|
8548
|
+
layout: {
|
|
8549
|
+
xs: 11,
|
|
8550
|
+
sm: 11,
|
|
8551
|
+
md: 2.5,
|
|
8552
|
+
lg: 2.5
|
|
8553
|
+
},
|
|
8098
8554
|
main: {
|
|
8099
|
-
|
|
8555
|
+
name: "Save & Exit",
|
|
8556
|
+
startIcon: "ApproveIcon",
|
|
8557
|
+
variant: "contained",
|
|
8558
|
+
color: "info",
|
|
8100
8559
|
type: "text",
|
|
8101
|
-
|
|
8102
|
-
|
|
8560
|
+
onClick: "saveHandler",
|
|
8561
|
+
size: "small"
|
|
8562
|
+
},
|
|
8563
|
+
style: {
|
|
8564
|
+
marginBottom: "8px",
|
|
8565
|
+
float: "right"
|
|
8103
8566
|
}
|
|
8104
8567
|
}
|
|
8105
8568
|
},
|
|
8106
8569
|
{
|
|
8107
8570
|
type: "Control",
|
|
8108
|
-
scope: "#/properties/
|
|
8571
|
+
scope: "#/properties/notify",
|
|
8109
8572
|
options: {
|
|
8110
|
-
widget: "
|
|
8573
|
+
widget: "Notify"
|
|
8574
|
+
},
|
|
8575
|
+
layout: 6
|
|
8576
|
+
}
|
|
8577
|
+
]
|
|
8578
|
+
};
|
|
8579
|
+
const APISection = {
|
|
8580
|
+
type: "HorizontalLayout",
|
|
8581
|
+
elements: [
|
|
8582
|
+
{
|
|
8583
|
+
type: "Control",
|
|
8584
|
+
scope: "#/properties/method",
|
|
8585
|
+
options: {
|
|
8586
|
+
widget: "SelectInputField"
|
|
8111
8587
|
},
|
|
8112
8588
|
config: {
|
|
8113
|
-
layout: { xs:
|
|
8589
|
+
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
8590
|
+
main: {
|
|
8591
|
+
label: "Method",
|
|
8592
|
+
type: "text"
|
|
8593
|
+
}
|
|
8114
8594
|
}
|
|
8115
8595
|
},
|
|
8116
8596
|
{
|
|
8117
8597
|
type: "Control",
|
|
8118
|
-
scope: "#/properties/
|
|
8598
|
+
scope: "#/properties/path",
|
|
8119
8599
|
options: {
|
|
8120
|
-
widget: "
|
|
8600
|
+
widget: "InputField"
|
|
8121
8601
|
},
|
|
8122
8602
|
config: {
|
|
8123
|
-
layout: { xs:
|
|
8603
|
+
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
8604
|
+
main: {
|
|
8605
|
+
label: "Path",
|
|
8606
|
+
type: "text",
|
|
8607
|
+
multiple: false,
|
|
8608
|
+
options: []
|
|
8609
|
+
}
|
|
8124
8610
|
}
|
|
8125
8611
|
},
|
|
8126
8612
|
{
|
|
@@ -8139,7 +8625,12 @@ const APISection = {
|
|
|
8139
8625
|
widget: "InputField"
|
|
8140
8626
|
},
|
|
8141
8627
|
config: {
|
|
8142
|
-
layout: {
|
|
8628
|
+
layout: {
|
|
8629
|
+
xs: 11,
|
|
8630
|
+
sm: 11,
|
|
8631
|
+
md: 5.5,
|
|
8632
|
+
lg: 5.5
|
|
8633
|
+
},
|
|
8143
8634
|
main: {
|
|
8144
8635
|
label: "Key"
|
|
8145
8636
|
}
|
|
@@ -8152,21 +8643,16 @@ const APISection = {
|
|
|
8152
8643
|
widget: "InputField"
|
|
8153
8644
|
},
|
|
8154
8645
|
config: {
|
|
8155
|
-
layout: {
|
|
8646
|
+
layout: {
|
|
8647
|
+
xs: 11,
|
|
8648
|
+
sm: 11,
|
|
8649
|
+
md: 5.5,
|
|
8650
|
+
lg: 5.5
|
|
8651
|
+
},
|
|
8156
8652
|
main: {
|
|
8157
8653
|
label: "Value"
|
|
8158
8654
|
}
|
|
8159
8655
|
}
|
|
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
|
-
}
|
|
8170
8656
|
}
|
|
8171
8657
|
]
|
|
8172
8658
|
}
|
|
@@ -8188,7 +8674,12 @@ const APISection = {
|
|
|
8188
8674
|
widget: "InputField"
|
|
8189
8675
|
},
|
|
8190
8676
|
config: {
|
|
8191
|
-
layout: {
|
|
8677
|
+
layout: {
|
|
8678
|
+
xs: 11,
|
|
8679
|
+
sm: 11,
|
|
8680
|
+
md: 5.5,
|
|
8681
|
+
lg: 5.5
|
|
8682
|
+
},
|
|
8192
8683
|
main: {
|
|
8193
8684
|
label: "Key"
|
|
8194
8685
|
}
|
|
@@ -8201,21 +8692,16 @@ const APISection = {
|
|
|
8201
8692
|
widget: "InputField"
|
|
8202
8693
|
},
|
|
8203
8694
|
config: {
|
|
8204
|
-
layout: {
|
|
8695
|
+
layout: {
|
|
8696
|
+
xs: 11,
|
|
8697
|
+
sm: 11,
|
|
8698
|
+
md: 5.5,
|
|
8699
|
+
lg: 5.5
|
|
8700
|
+
},
|
|
8205
8701
|
main: {
|
|
8206
8702
|
label: "Value"
|
|
8207
8703
|
}
|
|
8208
8704
|
}
|
|
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
|
-
}
|
|
8219
8705
|
}
|
|
8220
8706
|
]
|
|
8221
8707
|
}
|
|
@@ -8242,7 +8728,12 @@ const refreshSectionUiSchema = {
|
|
|
8242
8728
|
widget: "InputField"
|
|
8243
8729
|
},
|
|
8244
8730
|
config: {
|
|
8245
|
-
layout: {
|
|
8731
|
+
layout: {
|
|
8732
|
+
xs: 11,
|
|
8733
|
+
sm: 11,
|
|
8734
|
+
md: 5.5,
|
|
8735
|
+
lg: 5.5
|
|
8736
|
+
},
|
|
8246
8737
|
main: {
|
|
8247
8738
|
label: "Value"
|
|
8248
8739
|
}
|
|
@@ -8255,7 +8746,12 @@ const refreshSectionUiSchema = {
|
|
|
8255
8746
|
widget: "EmptyBox"
|
|
8256
8747
|
},
|
|
8257
8748
|
config: {
|
|
8258
|
-
layout: {
|
|
8749
|
+
layout: {
|
|
8750
|
+
xs: 11,
|
|
8751
|
+
sm: 11,
|
|
8752
|
+
md: 5.5,
|
|
8753
|
+
lg: 5.5
|
|
8754
|
+
},
|
|
8259
8755
|
main: {}
|
|
8260
8756
|
}
|
|
8261
8757
|
}
|
|
@@ -8275,21 +8771,21 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8275
8771
|
this.refreshPage(formdata.Handler, store2);
|
|
8276
8772
|
},
|
|
8277
8773
|
refreshPage: (handlerType, store22) => {
|
|
8278
|
-
const uiSchema = _.cloneDeep(EventUiSchema
|
|
8774
|
+
const uiSchema = _.cloneDeep(EventUiSchema);
|
|
8279
8775
|
const schema2 = _.cloneDeep(EventSchema);
|
|
8280
8776
|
if (handlerType) {
|
|
8281
8777
|
if (handlerType === "custom") {
|
|
8282
|
-
uiSchema.elements[
|
|
8778
|
+
uiSchema.elements[1].elements[0].elements[2] = getTextArea("eventCode", "Write Custom Code", false);
|
|
8283
8779
|
schema2.required = ["eventType", "Handler", "eventCode"];
|
|
8284
8780
|
} else if (handlerType === "api") {
|
|
8285
|
-
uiSchema.elements[
|
|
8781
|
+
uiSchema.elements[1].elements[0].elements[2] = APISection;
|
|
8286
8782
|
schema2.required = ["eventType", "Handler", "method", "path"];
|
|
8287
8783
|
} else if (handlerType === "inBuiltFunction") {
|
|
8288
|
-
uiSchema.elements[
|
|
8289
|
-
uiSchema.elements[
|
|
8784
|
+
uiSchema.elements[1].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
|
|
8785
|
+
uiSchema.elements[1].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true, { xs: 12, sm: 12, md: 6 });
|
|
8290
8786
|
schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
|
|
8291
8787
|
} else if (handlerType === "refresh") {
|
|
8292
|
-
uiSchema.elements[
|
|
8788
|
+
uiSchema.elements[1].elements[0].elements[2] = refreshSectionUiSchema;
|
|
8293
8789
|
schema2.properties.refreshElements.required = ["value"];
|
|
8294
8790
|
schema2.properties.refreshElements.items.required = ["value"];
|
|
8295
8791
|
schema2.required = ["eventType", "Handler", "refreshElements"];
|
|
@@ -8299,8 +8795,8 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8299
8795
|
store22.setUiSchema(uiSchema);
|
|
8300
8796
|
},
|
|
8301
8797
|
getFormData: Component(store2, dynamicData2, submitHandler, service2).getFormdata,
|
|
8302
|
-
getUiSchema:
|
|
8303
|
-
return
|
|
8798
|
+
getUiSchema: function() {
|
|
8799
|
+
return EventUiSchema;
|
|
8304
8800
|
},
|
|
8305
8801
|
getSchema: () => {
|
|
8306
8802
|
return EventSchema;
|
|
@@ -8335,9 +8831,17 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8335
8831
|
store2.setSearchParams(store2.searchParams);
|
|
8336
8832
|
this.setPage();
|
|
8337
8833
|
},
|
|
8338
|
-
deleteEvent:
|
|
8834
|
+
deleteEvent: async function() {
|
|
8835
|
+
await Component(store2, dynamicData2, submitHandler, service2).deleteEvent(false);
|
|
8836
|
+
store2.updateDialog("popUpEvent");
|
|
8837
|
+
},
|
|
8339
8838
|
backHandler: function() {
|
|
8340
8839
|
store2.navigate(-1);
|
|
8840
|
+
},
|
|
8841
|
+
deletePopUpEvent: function() {
|
|
8842
|
+
const rowId = dynamicData2.path.split(".")[1];
|
|
8843
|
+
localStorage.setItem("rowId", rowId);
|
|
8844
|
+
store2.updateDialog("popUpEvent");
|
|
8341
8845
|
}
|
|
8342
8846
|
};
|
|
8343
8847
|
};
|
|
@@ -8613,12 +9117,25 @@ const extractEvents = (eventConfig) => {
|
|
|
8613
9117
|
return elem.eventType === "Success";
|
|
8614
9118
|
});
|
|
8615
9119
|
if (!!!SuccessEvent && event2.eventType === "onLoad") {
|
|
8616
|
-
event2.events.push({
|
|
9120
|
+
event2.events.push({
|
|
9121
|
+
Handler: "mergeFormdata",
|
|
9122
|
+
eventType: "Success",
|
|
9123
|
+
type: compType,
|
|
9124
|
+
lazyLoading: eventConfig.lazyLoading === "YES" ? true : false
|
|
9125
|
+
});
|
|
8617
9126
|
}
|
|
8618
9127
|
if (!!!SuccessEvent && (event2.eventType === "onBack" || event2.eventType === "onNext" || event2.eventType === "onReset")) {
|
|
8619
|
-
event2.events.push({
|
|
9128
|
+
event2.events.push({
|
|
9129
|
+
Handler: `${event2.eventType}Handler`,
|
|
9130
|
+
eventType: "Success",
|
|
9131
|
+
type: compType,
|
|
9132
|
+
lazyLoading: eventConfig.lazyLoading === "YES" ? true : false
|
|
9133
|
+
});
|
|
8620
9134
|
}
|
|
8621
|
-
eventGroups[event2.eventType][eventConfigObj.name].push({
|
|
9135
|
+
eventGroups[event2.eventType][eventConfigObj.name].push({
|
|
9136
|
+
...event2,
|
|
9137
|
+
type: compType
|
|
9138
|
+
});
|
|
8622
9139
|
});
|
|
8623
9140
|
}
|
|
8624
9141
|
}
|
|
@@ -8641,6 +9158,13 @@ var service = (funcParams) => {
|
|
|
8641
9158
|
serviceHolder: { downloadFile: downloadFile$1, download: doDownload },
|
|
8642
9159
|
eventGroups
|
|
8643
9160
|
};
|
|
9161
|
+
const debouncedExecuteEvents = lodash.exports.debounce(async (eventConfig, componentName) => {
|
|
9162
|
+
await executeEvents({
|
|
9163
|
+
...executeEventsParameters,
|
|
9164
|
+
config: eventConfig,
|
|
9165
|
+
componentName
|
|
9166
|
+
});
|
|
9167
|
+
}, 300);
|
|
8644
9168
|
return {
|
|
8645
9169
|
setPage: async function() {
|
|
8646
9170
|
funcParams.store.setFormdata({});
|
|
@@ -8654,14 +9178,12 @@ var service = (funcParams) => {
|
|
|
8654
9178
|
serviceHolder: this,
|
|
8655
9179
|
eventGroups
|
|
8656
9180
|
};
|
|
8657
|
-
funcParams.store.setSchema(
|
|
8658
|
-
|
|
8659
|
-
|
|
8660
|
-
|
|
8661
|
-
|
|
8662
|
-
|
|
8663
|
-
}
|
|
8664
|
-
);
|
|
9181
|
+
funcParams.store.setSchema((pre) => {
|
|
9182
|
+
return {
|
|
9183
|
+
...funcParams.schema,
|
|
9184
|
+
properties: { ...funcParams.schema.properties, ...pre.properties }
|
|
9185
|
+
};
|
|
9186
|
+
});
|
|
8665
9187
|
funcParams.uiSchema.elements.push(notifyUiSchema);
|
|
8666
9188
|
funcParams.store.setUiSchema(funcParams.uiSchema);
|
|
8667
9189
|
await executeRefreshHandler({
|
|
@@ -8708,18 +9230,16 @@ var service = (funcParams) => {
|
|
|
8708
9230
|
onChange: async function() {
|
|
8709
9231
|
if (eventGroups.onChange) {
|
|
8710
9232
|
const ChangeEventsKeysArray = Object.keys(eventGroups.onChange);
|
|
8711
|
-
Promise.all(
|
|
8712
|
-
|
|
8713
|
-
|
|
8714
|
-
|
|
8715
|
-
|
|
8716
|
-
|
|
8717
|
-
|
|
8718
|
-
componentName
|
|
8719
|
-
});
|
|
9233
|
+
await Promise.all(
|
|
9234
|
+
ChangeEventsKeysArray.map(async (componentName) => {
|
|
9235
|
+
var _a, _b;
|
|
9236
|
+
if (((_a = funcParams.store) == null ? void 0 : _a.formData[componentName]) !== funcParams.store.newData[componentName] && ((_b = funcParams.store) == null ? void 0 : _b.newData[componentName]) !== void 0) {
|
|
9237
|
+
for (const eventConfig of eventGroups.onChange[componentName]) {
|
|
9238
|
+
await debouncedExecuteEvents(eventConfig, componentName);
|
|
9239
|
+
}
|
|
8720
9240
|
}
|
|
8721
|
-
}
|
|
8722
|
-
|
|
9241
|
+
})
|
|
9242
|
+
);
|
|
8723
9243
|
}
|
|
8724
9244
|
},
|
|
8725
9245
|
updateConfigApiBody: async function(paramValue, apiBody) {
|
|
@@ -8727,10 +9247,7 @@ var service = (funcParams) => {
|
|
|
8727
9247
|
let LastCallResponse = void 0;
|
|
8728
9248
|
for (const eventConfig of eventGroups == null ? void 0 : eventGroups.onLoad[paramValue.path]) {
|
|
8729
9249
|
if (eventConfig.body) {
|
|
8730
|
-
eventConfig.body = [
|
|
8731
|
-
...eventConfig.body,
|
|
8732
|
-
...apiBody
|
|
8733
|
-
];
|
|
9250
|
+
eventConfig.body = [...eventConfig.body, ...apiBody];
|
|
8734
9251
|
} else {
|
|
8735
9252
|
eventConfig.body = apiBody;
|
|
8736
9253
|
}
|
|
@@ -8776,11 +9293,7 @@ var service = (funcParams) => {
|
|
|
8776
9293
|
if (((_b = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _b[path]) !== void 0) {
|
|
8777
9294
|
for (const eventConfig of (_c = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _c[path]) {
|
|
8778
9295
|
executeEventsParameters.store.functionParameters = functionParameters;
|
|
8779
|
-
await
|
|
8780
|
-
...executeEventsParameters,
|
|
8781
|
-
config: eventConfig,
|
|
8782
|
-
componentName: path
|
|
8783
|
-
});
|
|
9296
|
+
await debouncedExecuteEvents(eventConfig, path);
|
|
8784
9297
|
}
|
|
8785
9298
|
}
|
|
8786
9299
|
},
|
|
@@ -9605,10 +10118,8 @@ var WrapperSection = {
|
|
|
9605
10118
|
};
|
|
9606
10119
|
const buildWrapperSection = (config, componentScope) => {
|
|
9607
10120
|
const wrapper = _.cloneDeep(WrapperSection);
|
|
9608
|
-
wrapper.scope = componentScope;
|
|
9609
10121
|
wrapper.config.main.label = config.label;
|
|
9610
10122
|
wrapper.config.main.divider = config.divider === "YES" ? true : false;
|
|
9611
|
-
wrapper.config.main.isAccordion = config.isAccordion === "YES" ? true : false;
|
|
9612
10123
|
if (config.style) {
|
|
9613
10124
|
wrapper.config.style = JSON.parse(config.style);
|
|
9614
10125
|
}
|
|
@@ -9624,7 +10135,12 @@ var TextInputField = {
|
|
|
9624
10135
|
widget: "InputField"
|
|
9625
10136
|
},
|
|
9626
10137
|
config: {
|
|
9627
|
-
layout: {
|
|
10138
|
+
layout: {
|
|
10139
|
+
xs: 11,
|
|
10140
|
+
sm: 11,
|
|
10141
|
+
md: 5.5,
|
|
10142
|
+
lg: 5.5
|
|
10143
|
+
},
|
|
9628
10144
|
main: {
|
|
9629
10145
|
label: ""
|
|
9630
10146
|
},
|
|
@@ -9657,7 +10173,12 @@ var SelectInputField = {
|
|
|
9657
10173
|
widget: "SelectInputField"
|
|
9658
10174
|
},
|
|
9659
10175
|
config: {
|
|
9660
|
-
layout: {
|
|
10176
|
+
"layout": {
|
|
10177
|
+
"xs": 11,
|
|
10178
|
+
"sm": 11,
|
|
10179
|
+
"md": 5.5,
|
|
10180
|
+
"lg": 5.5
|
|
10181
|
+
},
|
|
9661
10182
|
main: {
|
|
9662
10183
|
label: "",
|
|
9663
10184
|
type: "text",
|
|
@@ -10067,7 +10588,12 @@ var DateInputField = {
|
|
|
10067
10588
|
widget: "DateInputField"
|
|
10068
10589
|
},
|
|
10069
10590
|
config: {
|
|
10070
|
-
layout: {
|
|
10591
|
+
layout: {
|
|
10592
|
+
xs: 11,
|
|
10593
|
+
sm: 11,
|
|
10594
|
+
md: 5.5,
|
|
10595
|
+
lg: 5.5
|
|
10596
|
+
},
|
|
10071
10597
|
main: {
|
|
10072
10598
|
label: "",
|
|
10073
10599
|
type: "date"
|
|
@@ -10184,7 +10710,7 @@ var MultipleSelect = {
|
|
|
10184
10710
|
widget: "MultipleSelect"
|
|
10185
10711
|
},
|
|
10186
10712
|
config: {
|
|
10187
|
-
layout: { xs: 11, sm:
|
|
10713
|
+
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
10188
10714
|
main: {
|
|
10189
10715
|
label: "",
|
|
10190
10716
|
type: "text",
|
|
@@ -10215,7 +10741,6 @@ const buildBasicUiSchema = (config) => {
|
|
|
10215
10741
|
return {
|
|
10216
10742
|
"type": "HorizontalLayout",
|
|
10217
10743
|
pageName: `${config.name}`,
|
|
10218
|
-
heading: `${config.label}`,
|
|
10219
10744
|
"elements": []
|
|
10220
10745
|
};
|
|
10221
10746
|
};
|
|
@@ -10372,7 +10897,7 @@ var emptyBox = {
|
|
|
10372
10897
|
widget: "EmptyBox"
|
|
10373
10898
|
},
|
|
10374
10899
|
config: {
|
|
10375
|
-
layout: { xs:
|
|
10900
|
+
layout: { xs: 12, sm: 12, md: 5.5, lg: 5.5 },
|
|
10376
10901
|
main: {},
|
|
10377
10902
|
style: {}
|
|
10378
10903
|
}
|
|
@@ -10751,7 +11276,7 @@ const buildUiSchema = (config) => {
|
|
|
10751
11276
|
elements = RunnerBoyProgressbar(config, componentScope);
|
|
10752
11277
|
break;
|
|
10753
11278
|
case "WrapperSection":
|
|
10754
|
-
elements = buildWrapperSection(config
|
|
11279
|
+
elements = buildWrapperSection(config);
|
|
10755
11280
|
break;
|
|
10756
11281
|
case "Text":
|
|
10757
11282
|
elements = buildTextField(config, componentScope);
|