impaktapps-ui-builder 0.0.382-alpha.34 → 0.0.382-alpha.340
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 +1810 -1263
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +10 -10
- 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 +536 -335
- 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 +131 -90
|
@@ -36,387 +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
|
-
options: {
|
|
49
|
-
widget: "InputField"
|
|
39
|
+
const PageMasterUiSchema = {
|
|
40
|
+
type: "HorizontalLayout",
|
|
41
|
+
elements: [
|
|
42
|
+
{
|
|
43
|
+
type: "WrapperLayout",
|
|
44
|
+
config: {
|
|
45
|
+
main: {
|
|
46
|
+
rowSpacing: 1,
|
|
47
|
+
header: true
|
|
50
48
|
},
|
|
51
|
-
|
|
52
|
-
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
53
|
-
main: {
|
|
54
|
-
label: "Name",
|
|
55
|
-
options: [],
|
|
56
|
-
color: "secondary",
|
|
57
|
-
errorMessage: "Name should be start with 'page_'",
|
|
58
|
-
helperText: 'Name should be start with "page_"',
|
|
59
|
-
required: true
|
|
60
|
-
}
|
|
61
|
-
}
|
|
49
|
+
defaultStyle: true
|
|
62
50
|
},
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
51
|
+
elements: [
|
|
52
|
+
{
|
|
53
|
+
type: "Control",
|
|
54
|
+
scope: "#/properties/pageMaster",
|
|
55
|
+
options: {
|
|
56
|
+
widget: "Box"
|
|
57
|
+
},
|
|
58
|
+
config: {
|
|
59
|
+
layout: 8,
|
|
60
|
+
main: {
|
|
61
|
+
heading: "Page Master"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
68
64
|
},
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
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"
|
|
79
|
+
},
|
|
80
|
+
style: {
|
|
81
|
+
float: "right"
|
|
82
|
+
}
|
|
76
83
|
}
|
|
77
84
|
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
type: "WrapperLayout",
|
|
89
|
+
config: {
|
|
90
|
+
main: {
|
|
91
|
+
label: "Page Template",
|
|
92
|
+
divider: true
|
|
93
|
+
},
|
|
94
|
+
defaultStyle: true
|
|
78
95
|
},
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
96
|
+
elements: [
|
|
97
|
+
{
|
|
98
|
+
type: "Control",
|
|
99
|
+
scope: "#/properties/name",
|
|
100
|
+
options: {
|
|
101
|
+
widget: "InputField"
|
|
102
|
+
},
|
|
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
|
|
112
|
+
}
|
|
113
|
+
}
|
|
84
114
|
},
|
|
85
|
-
|
|
86
|
-
|
|
115
|
+
{
|
|
116
|
+
type: "Control",
|
|
117
|
+
scope: "#/properties/label",
|
|
118
|
+
options: {
|
|
119
|
+
widget: "InputField"
|
|
120
|
+
},
|
|
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
|
+
}
|
|
87
130
|
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
type: "TabLayout",
|
|
135
|
+
config: {
|
|
136
|
+
main: {
|
|
137
|
+
tabLabels: ["Components", "events"],
|
|
138
|
+
divider: true
|
|
139
|
+
},
|
|
140
|
+
defaultStyle: true
|
|
88
141
|
},
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
142
|
+
elements: [
|
|
143
|
+
{
|
|
144
|
+
type: "WrapperLayout",
|
|
145
|
+
config: {
|
|
146
|
+
main: {
|
|
147
|
+
divider: true
|
|
148
|
+
},
|
|
149
|
+
wrapperStyle: {
|
|
150
|
+
border: "1px solid gray"
|
|
151
|
+
}
|
|
95
152
|
},
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
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
|
+
}
|
|
104
172
|
},
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
onClick: "onAddClickHandler",
|
|
120
|
-
size: "small",
|
|
121
|
-
icon: "AddIcon",
|
|
122
|
-
iconLabel: "Add New",
|
|
123
|
-
styleDefault: true
|
|
124
|
-
},
|
|
125
|
-
style: {
|
|
126
|
-
mt: "6px"
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
]
|
|
173
|
+
{
|
|
174
|
+
type: "Control",
|
|
175
|
+
scope: "#/properties/AddButton",
|
|
176
|
+
options: {
|
|
177
|
+
widget: "IconButton"
|
|
178
|
+
},
|
|
179
|
+
config: {
|
|
180
|
+
layout: 3,
|
|
181
|
+
main: {
|
|
182
|
+
icon: "AddIcon",
|
|
183
|
+
styleDefault: true,
|
|
184
|
+
size: "small",
|
|
185
|
+
onClick: "onAddClickHandler",
|
|
186
|
+
tooltipMessage: "Add New"
|
|
132
187
|
},
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
188
|
+
style: {
|
|
189
|
+
float: "right"
|
|
190
|
+
}
|
|
136
191
|
}
|
|
137
192
|
},
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
193
|
+
{
|
|
194
|
+
type: "Control",
|
|
195
|
+
scope: "#/properties/elements",
|
|
196
|
+
options: {
|
|
197
|
+
widget: "Table"
|
|
142
198
|
},
|
|
143
|
-
{
|
|
144
|
-
|
|
145
|
-
|
|
199
|
+
config: {
|
|
200
|
+
main: {
|
|
201
|
+
disableAction: true,
|
|
202
|
+
disableSelection: true,
|
|
203
|
+
enableDrag: true
|
|
204
|
+
}
|
|
146
205
|
},
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
206
|
+
elements: [
|
|
207
|
+
{
|
|
208
|
+
accessorKey: "name",
|
|
209
|
+
header: "Name"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
accessorKey: "type",
|
|
213
|
+
header: "Type"
|
|
214
|
+
},
|
|
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"
|
|
231
|
+
}
|
|
163
232
|
}
|
|
164
233
|
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
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"
|
|
251
|
+
}
|
|
183
252
|
}
|
|
184
253
|
}
|
|
185
254
|
}
|
|
186
|
-
|
|
187
|
-
|
|
255
|
+
]
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
type: "WrapperLayout",
|
|
261
|
+
config: {
|
|
262
|
+
main: {
|
|
263
|
+
divider: true
|
|
264
|
+
},
|
|
265
|
+
wrapperStyle: {
|
|
266
|
+
border: "1px solid gray"
|
|
267
|
+
}
|
|
188
268
|
},
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
269
|
+
elements: [
|
|
270
|
+
{
|
|
271
|
+
type: "Control",
|
|
272
|
+
scope: "#/properties/heading",
|
|
273
|
+
options: {
|
|
274
|
+
widget: "Box"
|
|
275
|
+
},
|
|
276
|
+
config: {
|
|
277
|
+
layout: 8,
|
|
278
|
+
main: {
|
|
279
|
+
heading: "Event Table"
|
|
280
|
+
},
|
|
281
|
+
style: {
|
|
282
|
+
fontFamily: "Roboto",
|
|
283
|
+
fontWeight: "500",
|
|
284
|
+
paddingLeft: "-10px",
|
|
285
|
+
fontSize: "20px"
|
|
286
|
+
}
|
|
287
|
+
}
|
|
194
288
|
},
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
onClick: "eventAddHandler",
|
|
210
|
-
size: "small",
|
|
211
|
-
icon: "AddIcon",
|
|
212
|
-
iconLabel: "Add New",
|
|
213
|
-
styleDefault: true
|
|
214
|
-
},
|
|
215
|
-
style: {
|
|
216
|
-
mt: "6px"
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
]
|
|
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"
|
|
222
303
|
},
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
304
|
+
style: {
|
|
305
|
+
float: "right"
|
|
306
|
+
}
|
|
226
307
|
}
|
|
227
308
|
},
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
309
|
+
{
|
|
310
|
+
type: "Control",
|
|
311
|
+
scope: "#/properties/events",
|
|
312
|
+
options: {
|
|
313
|
+
widget: "Table"
|
|
232
314
|
},
|
|
233
|
-
{
|
|
234
|
-
|
|
235
|
-
|
|
315
|
+
config: {
|
|
316
|
+
main: {
|
|
317
|
+
disableAction: true,
|
|
318
|
+
disableSelection: true,
|
|
319
|
+
enableDrag: true
|
|
320
|
+
}
|
|
236
321
|
},
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
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"
|
|
253
339
|
},
|
|
254
|
-
|
|
255
|
-
|
|
340
|
+
config: {
|
|
341
|
+
main: {
|
|
342
|
+
color: "info",
|
|
343
|
+
size: "small",
|
|
344
|
+
icon: "EditIcon",
|
|
345
|
+
tooltipMessage: "Edit This Record",
|
|
346
|
+
onClick: "editEvent"
|
|
347
|
+
},
|
|
348
|
+
style: {
|
|
349
|
+
color: "#3949ab"
|
|
350
|
+
}
|
|
256
351
|
}
|
|
257
352
|
}
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
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"
|
|
369
|
+
}
|
|
275
370
|
}
|
|
276
371
|
}
|
|
277
372
|
}
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
373
|
+
]
|
|
374
|
+
}
|
|
375
|
+
]
|
|
376
|
+
}
|
|
377
|
+
]
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
type: "Control",
|
|
381
|
+
scope: "#/properties/popUpPageMasterEvent",
|
|
382
|
+
options: {
|
|
383
|
+
widget: "PopUp"
|
|
282
384
|
},
|
|
283
|
-
{
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
385
|
+
config: {
|
|
386
|
+
layout: {
|
|
387
|
+
xs: 12,
|
|
388
|
+
sm: 12,
|
|
389
|
+
md: 12,
|
|
390
|
+
lg: 12
|
|
288
391
|
},
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
color: "info",
|
|
296
|
-
type: "text",
|
|
297
|
-
onClick: "saveHandler",
|
|
298
|
-
size: "medium"
|
|
299
|
-
},
|
|
300
|
-
style: {
|
|
301
|
-
width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
|
|
302
|
-
float: "right"
|
|
303
|
-
}
|
|
392
|
+
main: {
|
|
393
|
+
title: "Delete Content"
|
|
394
|
+
},
|
|
395
|
+
style: {
|
|
396
|
+
width: "32%",
|
|
397
|
+
margin: "auto"
|
|
304
398
|
}
|
|
305
399
|
},
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
400
|
+
elements: [
|
|
401
|
+
{
|
|
402
|
+
type: "Control",
|
|
403
|
+
scope: "#/properties/label",
|
|
404
|
+
options: {
|
|
405
|
+
widget: "Box"
|
|
406
|
+
},
|
|
407
|
+
config: {
|
|
408
|
+
layout: 12,
|
|
409
|
+
main: {
|
|
410
|
+
heading: "Are you sure you want to delete ?"
|
|
411
|
+
},
|
|
412
|
+
style: {
|
|
413
|
+
marginTop: "-25px",
|
|
414
|
+
marginLeft: "11px"
|
|
415
|
+
}
|
|
416
|
+
}
|
|
311
417
|
},
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
margin: "0",
|
|
322
|
-
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 }
|
|
323
427
|
}
|
|
324
428
|
},
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
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"
|
|
334
445
|
}
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
type: "Control",
|
|
450
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
451
|
+
options: {
|
|
452
|
+
widget: "Button"
|
|
335
453
|
},
|
|
336
|
-
{
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
},
|
|
347
|
-
style: {
|
|
348
|
-
color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
|
|
349
|
-
fontSize: "12px"
|
|
350
|
-
}
|
|
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"
|
|
351
464
|
}
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
type: "Control",
|
|
469
|
+
scope: "#/properties/EmptyBox",
|
|
470
|
+
options: {
|
|
471
|
+
widget: "EmptyBox"
|
|
352
472
|
},
|
|
353
|
-
{
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
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 ?"
|
|
357
512
|
},
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
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
|
-
type: "Control",
|
|
395
|
-
scope: "#/properties/text",
|
|
396
|
-
options: {
|
|
397
|
-
widget: "Box"
|
|
398
|
-
},
|
|
399
|
-
config: {
|
|
400
|
-
layout: 9,
|
|
401
|
-
main: {
|
|
402
|
-
heading: "Previous Page",
|
|
403
|
-
onClick: "backHandler"
|
|
404
|
-
},
|
|
405
|
-
style: {
|
|
406
|
-
color: theme.palette.primary.dark,
|
|
407
|
-
fontSize: "12px",
|
|
408
|
-
cursor: "pointer",
|
|
409
|
-
marginLeft: "-6px"
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
]
|
|
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
|
+
}
|
|
414
547
|
}
|
|
415
|
-
|
|
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
|
+
}
|
|
566
|
+
}
|
|
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 }
|
|
416
589
|
}
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
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
|
+
]
|
|
420
624
|
};
|
|
421
625
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
422
626
|
var lodash = { exports: {} };
|
|
@@ -6150,332 +6354,487 @@ const ComponentSchema = {
|
|
|
6150
6354
|
},
|
|
6151
6355
|
required: ["name"]
|
|
6152
6356
|
};
|
|
6153
|
-
const componentBasicUiSchema =
|
|
6154
|
-
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
|
|
6159
|
-
|
|
6160
|
-
|
|
6161
|
-
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
|
|
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
|
+
}
|
|
6166
6384
|
}
|
|
6167
6385
|
},
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
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"
|
|
6183
6451
|
}
|
|
6452
|
+
}
|
|
6453
|
+
},
|
|
6454
|
+
{
|
|
6455
|
+
type: "Control",
|
|
6456
|
+
scope: "#/properties/name",
|
|
6457
|
+
options: {
|
|
6458
|
+
widget: "InputField"
|
|
6184
6459
|
},
|
|
6185
|
-
{
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6460
|
+
config: {
|
|
6461
|
+
layout: {
|
|
6462
|
+
xs: 12,
|
|
6463
|
+
sm: 12,
|
|
6464
|
+
md: 6,
|
|
6465
|
+
lg: 6
|
|
6190
6466
|
},
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
color: "secondary",
|
|
6197
|
-
required: true
|
|
6198
|
-
}
|
|
6467
|
+
main: {
|
|
6468
|
+
label: "Name",
|
|
6469
|
+
options: [],
|
|
6470
|
+
color: "secondary",
|
|
6471
|
+
required: true
|
|
6199
6472
|
}
|
|
6473
|
+
}
|
|
6474
|
+
},
|
|
6475
|
+
{
|
|
6476
|
+
type: "Control",
|
|
6477
|
+
scope: "#/properties/label",
|
|
6478
|
+
options: {
|
|
6479
|
+
widget: "InputField"
|
|
6200
6480
|
},
|
|
6201
|
-
{
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6481
|
+
config: {
|
|
6482
|
+
layout: {
|
|
6483
|
+
xs: 12,
|
|
6484
|
+
sm: 12,
|
|
6485
|
+
md: 6,
|
|
6486
|
+
lg: 6
|
|
6206
6487
|
},
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
color: "secondary",
|
|
6213
|
-
required: true
|
|
6214
|
-
}
|
|
6488
|
+
main: {
|
|
6489
|
+
label: "Label",
|
|
6490
|
+
options: [],
|
|
6491
|
+
color: "secondary",
|
|
6492
|
+
required: true
|
|
6215
6493
|
}
|
|
6494
|
+
}
|
|
6495
|
+
},
|
|
6496
|
+
{
|
|
6497
|
+
type: "Control",
|
|
6498
|
+
scope: "#/properties/proc",
|
|
6499
|
+
config: {
|
|
6500
|
+
layout: { xs: 11, sm: 11, md: 6, lg: 6 }
|
|
6216
6501
|
},
|
|
6217
|
-
{
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
|
|
6226
|
-
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
|
|
6233
|
-
|
|
6234
|
-
label: "Screen Size"
|
|
6235
|
-
}
|
|
6236
|
-
}
|
|
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"
|
|
6237
6519
|
},
|
|
6238
|
-
{
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
|
|
6520
|
+
config: {
|
|
6521
|
+
layout: {
|
|
6522
|
+
xs: 11,
|
|
6523
|
+
sm: 11,
|
|
6524
|
+
md: 5.5,
|
|
6525
|
+
lg: 5.5
|
|
6243
6526
|
},
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
main: {
|
|
6247
|
-
label: "Value",
|
|
6248
|
-
type: "number",
|
|
6249
|
-
helperText: "Number should be in range of 0 to 12",
|
|
6250
|
-
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6251
|
-
}
|
|
6527
|
+
main: {
|
|
6528
|
+
label: "Screen Size"
|
|
6252
6529
|
}
|
|
6530
|
+
}
|
|
6531
|
+
},
|
|
6532
|
+
{
|
|
6533
|
+
type: "Control",
|
|
6534
|
+
scope: "#/properties/value",
|
|
6535
|
+
options: {
|
|
6536
|
+
widget: "InputField"
|
|
6253
6537
|
},
|
|
6254
|
-
{
|
|
6255
|
-
|
|
6256
|
-
|
|
6257
|
-
|
|
6258
|
-
|
|
6538
|
+
config: {
|
|
6539
|
+
layout: {
|
|
6540
|
+
xs: 11,
|
|
6541
|
+
sm: 11,
|
|
6542
|
+
md: 5.5,
|
|
6543
|
+
lg: 5.5
|
|
6259
6544
|
},
|
|
6260
|
-
|
|
6261
|
-
|
|
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."
|
|
6262
6550
|
}
|
|
6263
6551
|
}
|
|
6264
|
-
|
|
6265
|
-
|
|
6552
|
+
}
|
|
6553
|
+
]
|
|
6266
6554
|
}
|
|
6267
6555
|
}
|
|
6268
|
-
|
|
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
|
+
}
|
|
6269
6598
|
}
|
|
6270
|
-
|
|
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"
|
|
6271
6667
|
},
|
|
6272
|
-
{
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
|
|
6276
|
-
|
|
6668
|
+
config: {
|
|
6669
|
+
layout: {
|
|
6670
|
+
xs: 12,
|
|
6671
|
+
sm: 12,
|
|
6672
|
+
md: 12,
|
|
6673
|
+
lg: 12
|
|
6674
|
+
},
|
|
6675
|
+
style: {
|
|
6676
|
+
width: "32%",
|
|
6677
|
+
margin: "auto"
|
|
6277
6678
|
},
|
|
6278
|
-
|
|
6279
|
-
|
|
6679
|
+
main: {
|
|
6680
|
+
title: "Delete Content"
|
|
6280
6681
|
}
|
|
6281
6682
|
},
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
|
|
6286
|
-
|
|
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
|
+
}
|
|
6287
6711
|
},
|
|
6288
|
-
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
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
|
+
}
|
|
6297
6730
|
},
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
variant: "contained",
|
|
6304
|
-
color: "info",
|
|
6305
|
-
type: "text",
|
|
6306
|
-
onClick: "okHandler",
|
|
6307
|
-
size: "medium"
|
|
6731
|
+
{
|
|
6732
|
+
type: "Control",
|
|
6733
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
6734
|
+
options: {
|
|
6735
|
+
widget: "Button"
|
|
6308
6736
|
},
|
|
6309
|
-
|
|
6310
|
-
|
|
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
|
+
}
|
|
6311
6748
|
}
|
|
6312
|
-
}
|
|
6313
|
-
},
|
|
6314
|
-
{
|
|
6315
|
-
type: "Control",
|
|
6316
|
-
scope: "#/properties/btnSubmit",
|
|
6317
|
-
options: {
|
|
6318
|
-
widget: "Button"
|
|
6319
6749
|
},
|
|
6320
|
-
|
|
6321
|
-
|
|
6322
|
-
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
variant: "contained",
|
|
6326
|
-
color: "info",
|
|
6327
|
-
type: "text",
|
|
6328
|
-
onClick: "saveHandler",
|
|
6329
|
-
size: "medium"
|
|
6750
|
+
{
|
|
6751
|
+
type: "Control",
|
|
6752
|
+
scope: "#/properties/EmptyBox",
|
|
6753
|
+
options: {
|
|
6754
|
+
widget: "EmptyBox"
|
|
6330
6755
|
},
|
|
6331
|
-
|
|
6332
|
-
|
|
6756
|
+
config: {
|
|
6757
|
+
main: {},
|
|
6758
|
+
layout: 0.5
|
|
6333
6759
|
}
|
|
6334
6760
|
}
|
|
6761
|
+
]
|
|
6762
|
+
},
|
|
6763
|
+
{
|
|
6764
|
+
type: "Control",
|
|
6765
|
+
scope: "#/properties/proc",
|
|
6766
|
+
config: {
|
|
6767
|
+
layout: { xs: 11, sm: 11, md: 6, lg: 6 }
|
|
6335
6768
|
},
|
|
6336
|
-
{
|
|
6337
|
-
|
|
6338
|
-
|
|
6339
|
-
|
|
6340
|
-
|
|
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
|
|
6341
6785
|
},
|
|
6342
|
-
|
|
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"
|
|
6343
6806
|
},
|
|
6344
|
-
{
|
|
6345
|
-
|
|
6346
|
-
|
|
6347
|
-
|
|
6348
|
-
|
|
6349
|
-
|
|
6350
|
-
overflow: "visible",
|
|
6351
|
-
margin: "0",
|
|
6352
|
-
width: "100vw"
|
|
6353
|
-
}
|
|
6807
|
+
config: {
|
|
6808
|
+
layout: {
|
|
6809
|
+
xs: 11,
|
|
6810
|
+
sm: 11,
|
|
6811
|
+
md: 2.5,
|
|
6812
|
+
lg: 2.5
|
|
6354
6813
|
},
|
|
6355
|
-
|
|
6356
|
-
|
|
6357
|
-
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
scope: "#/properties/FooterText",
|
|
6369
|
-
options: {
|
|
6370
|
-
widget: "Box"
|
|
6371
|
-
},
|
|
6372
|
-
config: {
|
|
6373
|
-
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6374
|
-
main: {
|
|
6375
|
-
heading: "Copywriter@ACT21.IO"
|
|
6376
|
-
},
|
|
6377
|
-
style: {
|
|
6378
|
-
color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
|
|
6379
|
-
fontSize: "12px"
|
|
6380
|
-
}
|
|
6381
|
-
}
|
|
6382
|
-
},
|
|
6383
|
-
{
|
|
6384
|
-
type: "HorizontalLayout",
|
|
6385
|
-
config: {
|
|
6386
|
-
layout: { xs: 11, sm: 4, md: 4, lg: 4 }
|
|
6387
|
-
},
|
|
6388
|
-
elements: [
|
|
6389
|
-
{
|
|
6390
|
-
type: "Control",
|
|
6391
|
-
scope: "#/properties/EmptyBox",
|
|
6392
|
-
options: {
|
|
6393
|
-
widget: "EmptyBox"
|
|
6394
|
-
},
|
|
6395
|
-
config: {
|
|
6396
|
-
layout: 2
|
|
6397
|
-
}
|
|
6398
|
-
},
|
|
6399
|
-
{
|
|
6400
|
-
type: "Control",
|
|
6401
|
-
scope: "#/properties/backIcon",
|
|
6402
|
-
options: {
|
|
6403
|
-
widget: "Box"
|
|
6404
|
-
},
|
|
6405
|
-
config: {
|
|
6406
|
-
layout: 1,
|
|
6407
|
-
main: {
|
|
6408
|
-
iconName: "PrevIcon",
|
|
6409
|
-
onClick: "backHandler"
|
|
6410
|
-
},
|
|
6411
|
-
style: {
|
|
6412
|
-
fill: theme.palette.primary.dark,
|
|
6413
|
-
width: 20,
|
|
6414
|
-
height: 20,
|
|
6415
|
-
display: "flex",
|
|
6416
|
-
alignItems: "center",
|
|
6417
|
-
justifyContent: "center",
|
|
6418
|
-
marginRight: "-8px",
|
|
6419
|
-
cursor: "pointer"
|
|
6420
|
-
}
|
|
6421
|
-
}
|
|
6422
|
-
},
|
|
6423
|
-
{
|
|
6424
|
-
type: "Control",
|
|
6425
|
-
scope: "#/properties/text",
|
|
6426
|
-
options: {
|
|
6427
|
-
widget: "Box"
|
|
6428
|
-
},
|
|
6429
|
-
config: {
|
|
6430
|
-
layout: 9,
|
|
6431
|
-
main: {
|
|
6432
|
-
heading: "Previous Page",
|
|
6433
|
-
onClick: "backHandler"
|
|
6434
|
-
},
|
|
6435
|
-
style: {
|
|
6436
|
-
color: theme.palette.primary.dark,
|
|
6437
|
-
fontSize: "12px",
|
|
6438
|
-
cursor: "pointer",
|
|
6439
|
-
marginLeft: "-6px"
|
|
6440
|
-
}
|
|
6441
|
-
}
|
|
6442
|
-
}
|
|
6443
|
-
]
|
|
6444
|
-
},
|
|
6445
|
-
{
|
|
6446
|
-
type: "Control",
|
|
6447
|
-
scope: "#/properties/pageName",
|
|
6448
|
-
options: {
|
|
6449
|
-
widget: "Box"
|
|
6450
|
-
},
|
|
6451
|
-
config: {
|
|
6452
|
-
layout: 9.7,
|
|
6453
|
-
main: {
|
|
6454
|
-
heading: " "
|
|
6455
|
-
},
|
|
6456
|
-
style: {
|
|
6457
|
-
color: theme.palette.text.disabled,
|
|
6458
|
-
textAlign: "right",
|
|
6459
|
-
fontSize: "12px",
|
|
6460
|
-
marginTop: "-16px"
|
|
6461
|
-
}
|
|
6462
|
-
}
|
|
6463
|
-
},
|
|
6464
|
-
{
|
|
6465
|
-
type: "Control",
|
|
6466
|
-
scope: "#/properties/emptyBox",
|
|
6467
|
-
options: {
|
|
6468
|
-
widget: "EmptyBox"
|
|
6469
|
-
},
|
|
6470
|
-
config: {
|
|
6471
|
-
layout: 2.3
|
|
6472
|
-
}
|
|
6473
|
-
}
|
|
6474
|
-
]
|
|
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
|
+
}
|
|
6475
6827
|
}
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
|
|
6828
|
+
},
|
|
6829
|
+
{
|
|
6830
|
+
type: "Control",
|
|
6831
|
+
scope: "#/properties/notify",
|
|
6832
|
+
options: {
|
|
6833
|
+
widget: "Notify"
|
|
6834
|
+
},
|
|
6835
|
+
layout: 6
|
|
6836
|
+
}
|
|
6837
|
+
]
|
|
6479
6838
|
};
|
|
6480
6839
|
const CoreSection = {
|
|
6481
6840
|
type: "HorizontalLayout",
|
|
@@ -6487,7 +6846,7 @@ const CoreSection = {
|
|
|
6487
6846
|
widget: "SelectInputField"
|
|
6488
6847
|
},
|
|
6489
6848
|
config: {
|
|
6490
|
-
layout: { xs:
|
|
6849
|
+
layout: { xs: 12, sm: 12, md: 6, lg: 6 },
|
|
6491
6850
|
main: {
|
|
6492
6851
|
label: "Type",
|
|
6493
6852
|
type: "text"
|
|
@@ -6501,7 +6860,12 @@ const CoreSection = {
|
|
|
6501
6860
|
widget: "InputField"
|
|
6502
6861
|
},
|
|
6503
6862
|
config: {
|
|
6504
|
-
layout: {
|
|
6863
|
+
layout: {
|
|
6864
|
+
xs: 12,
|
|
6865
|
+
sm: 12,
|
|
6866
|
+
md: 6,
|
|
6867
|
+
lg: 6
|
|
6868
|
+
},
|
|
6505
6869
|
main: {
|
|
6506
6870
|
label: "Name"
|
|
6507
6871
|
}
|
|
@@ -6514,16 +6878,31 @@ const CoreSection = {
|
|
|
6514
6878
|
widget: "InputField"
|
|
6515
6879
|
},
|
|
6516
6880
|
config: {
|
|
6517
|
-
layout: {
|
|
6881
|
+
layout: {
|
|
6882
|
+
xs: 12,
|
|
6883
|
+
sm: 12,
|
|
6884
|
+
md: 6,
|
|
6885
|
+
lg: 6
|
|
6886
|
+
},
|
|
6518
6887
|
main: {
|
|
6519
6888
|
label: "Label"
|
|
6520
6889
|
}
|
|
6521
6890
|
}
|
|
6522
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
|
+
},
|
|
6523
6902
|
{
|
|
6524
6903
|
type: "Control",
|
|
6525
6904
|
scope: "#/properties/layout",
|
|
6526
|
-
layout:
|
|
6905
|
+
layout: 11.5,
|
|
6527
6906
|
options: {
|
|
6528
6907
|
"elementLabelProp": "key",
|
|
6529
6908
|
detail: {
|
|
@@ -6536,7 +6915,12 @@ const CoreSection = {
|
|
|
6536
6915
|
widget: "SelectInputField"
|
|
6537
6916
|
},
|
|
6538
6917
|
config: {
|
|
6539
|
-
layout: {
|
|
6918
|
+
layout: {
|
|
6919
|
+
xs: 11,
|
|
6920
|
+
sm: 11,
|
|
6921
|
+
md: 5.5,
|
|
6922
|
+
lg: 5.5
|
|
6923
|
+
},
|
|
6540
6924
|
main: {
|
|
6541
6925
|
label: "Screen Size"
|
|
6542
6926
|
}
|
|
@@ -6549,7 +6933,12 @@ const CoreSection = {
|
|
|
6549
6933
|
widget: "InputField"
|
|
6550
6934
|
},
|
|
6551
6935
|
config: {
|
|
6552
|
-
layout: {
|
|
6936
|
+
layout: {
|
|
6937
|
+
xs: 11,
|
|
6938
|
+
sm: 11,
|
|
6939
|
+
md: 5.5,
|
|
6940
|
+
lg: 5.5
|
|
6941
|
+
},
|
|
6553
6942
|
main: {
|
|
6554
6943
|
label: "Value",
|
|
6555
6944
|
type: "number",
|
|
@@ -6557,16 +6946,6 @@ const CoreSection = {
|
|
|
6557
6946
|
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6558
6947
|
}
|
|
6559
6948
|
}
|
|
6560
|
-
},
|
|
6561
|
-
{
|
|
6562
|
-
type: "Control",
|
|
6563
|
-
scope: "#/properties/emptyBox",
|
|
6564
|
-
options: {
|
|
6565
|
-
widget: "EmptyBox"
|
|
6566
|
-
},
|
|
6567
|
-
config: {
|
|
6568
|
-
layout: { xs: 0, sm: 4 }
|
|
6569
|
-
}
|
|
6570
6949
|
}
|
|
6571
6950
|
]
|
|
6572
6951
|
}
|
|
@@ -6578,95 +6957,121 @@ const EventSection = {
|
|
|
6578
6957
|
type: "HorizontalLayout",
|
|
6579
6958
|
elements: [
|
|
6580
6959
|
{
|
|
6581
|
-
type: "
|
|
6582
|
-
scope: "#/properties/events",
|
|
6583
|
-
options: {
|
|
6584
|
-
widget: "Table"
|
|
6585
|
-
},
|
|
6960
|
+
type: "WrapperLayout",
|
|
6586
6961
|
config: {
|
|
6587
6962
|
main: {
|
|
6588
|
-
|
|
6589
|
-
|
|
6590
|
-
|
|
6591
|
-
|
|
6592
|
-
type: "Control",
|
|
6593
|
-
scope: "#/properties/New_Record",
|
|
6594
|
-
options: {
|
|
6595
|
-
widget: "IconButton"
|
|
6596
|
-
},
|
|
6597
|
-
config: {
|
|
6598
|
-
main: {
|
|
6599
|
-
color: "info",
|
|
6600
|
-
onClick: "eventAddHandler",
|
|
6601
|
-
size: "small",
|
|
6602
|
-
icon: "AddIcon",
|
|
6603
|
-
iconLabel: "Add New",
|
|
6604
|
-
styleDefault: true
|
|
6605
|
-
},
|
|
6606
|
-
style: {
|
|
6607
|
-
mt: "6px"
|
|
6608
|
-
}
|
|
6609
|
-
}
|
|
6610
|
-
}
|
|
6611
|
-
}
|
|
6612
|
-
]
|
|
6613
|
-
},
|
|
6614
|
-
disableAction: true,
|
|
6615
|
-
disableSelection: true,
|
|
6616
|
-
enableDrag: true
|
|
6963
|
+
divider: true
|
|
6964
|
+
},
|
|
6965
|
+
wrapperStyle: {
|
|
6966
|
+
border: "1px solid gray"
|
|
6617
6967
|
}
|
|
6618
6968
|
},
|
|
6619
6969
|
elements: [
|
|
6620
6970
|
{
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
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
|
+
}
|
|
6627
6988
|
},
|
|
6628
6989
|
{
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
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"
|
|
6636
7003
|
},
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
color: "info",
|
|
6640
|
-
size: "small",
|
|
6641
|
-
icon: "EditIcon",
|
|
6642
|
-
tooltipMessage: "Edit This Record",
|
|
6643
|
-
onClick: "eventEditHandler"
|
|
6644
|
-
},
|
|
6645
|
-
style: {
|
|
6646
|
-
color: "#3949ab"
|
|
6647
|
-
}
|
|
7004
|
+
style: {
|
|
7005
|
+
float: "right"
|
|
6648
7006
|
}
|
|
6649
7007
|
}
|
|
6650
7008
|
},
|
|
6651
7009
|
{
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
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"
|
|
6660
7026
|
},
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
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
|
+
}
|
|
6667
7072
|
}
|
|
6668
7073
|
}
|
|
6669
|
-
|
|
7074
|
+
]
|
|
6670
7075
|
}
|
|
6671
7076
|
]
|
|
6672
7077
|
}
|
|
@@ -6679,7 +7084,12 @@ const EmptyBox = {
|
|
|
6679
7084
|
widget: "EmptyBox"
|
|
6680
7085
|
},
|
|
6681
7086
|
config: {
|
|
6682
|
-
layout: {
|
|
7087
|
+
layout: {
|
|
7088
|
+
xs: 11,
|
|
7089
|
+
sm: 11,
|
|
7090
|
+
md: 5.5,
|
|
7091
|
+
lg: 5.5
|
|
7092
|
+
},
|
|
6683
7093
|
main: {}
|
|
6684
7094
|
}
|
|
6685
7095
|
};
|
|
@@ -6698,7 +7108,12 @@ const cardLayout = {
|
|
|
6698
7108
|
widget: "SelectInputField"
|
|
6699
7109
|
},
|
|
6700
7110
|
config: {
|
|
6701
|
-
layout: {
|
|
7111
|
+
layout: {
|
|
7112
|
+
xs: 11,
|
|
7113
|
+
sm: 11,
|
|
7114
|
+
md: 5.5,
|
|
7115
|
+
lg: 5.5
|
|
7116
|
+
},
|
|
6702
7117
|
main: {
|
|
6703
7118
|
label: "Screen Size"
|
|
6704
7119
|
}
|
|
@@ -6711,7 +7126,12 @@ const cardLayout = {
|
|
|
6711
7126
|
widget: "InputField"
|
|
6712
7127
|
},
|
|
6713
7128
|
config: {
|
|
6714
|
-
layout: {
|
|
7129
|
+
layout: {
|
|
7130
|
+
xs: 11,
|
|
7131
|
+
sm: 11,
|
|
7132
|
+
md: 5.5,
|
|
7133
|
+
lg: 5.5
|
|
7134
|
+
},
|
|
6715
7135
|
main: {
|
|
6716
7136
|
label: "Value",
|
|
6717
7137
|
type: "number",
|
|
@@ -6719,8 +7139,7 @@ const cardLayout = {
|
|
|
6719
7139
|
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6720
7140
|
}
|
|
6721
7141
|
}
|
|
6722
|
-
}
|
|
6723
|
-
EmptyBox
|
|
7142
|
+
}
|
|
6724
7143
|
]
|
|
6725
7144
|
}
|
|
6726
7145
|
}
|
|
@@ -6742,13 +7161,17 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
|
6742
7161
|
widget: "InputField"
|
|
6743
7162
|
},
|
|
6744
7163
|
config: {
|
|
6745
|
-
layout: {
|
|
7164
|
+
layout: {
|
|
7165
|
+
xs: 11,
|
|
7166
|
+
sm: 11,
|
|
7167
|
+
md: 5.5,
|
|
7168
|
+
lg: 5.5
|
|
7169
|
+
},
|
|
6746
7170
|
main: {
|
|
6747
7171
|
label: childLabel || "Labels for Tab"
|
|
6748
7172
|
}
|
|
6749
7173
|
}
|
|
6750
7174
|
},
|
|
6751
|
-
EmptyBox,
|
|
6752
7175
|
EmptyBox
|
|
6753
7176
|
]
|
|
6754
7177
|
}
|
|
@@ -6763,7 +7186,12 @@ sizeHolder.options.detail.elements[1] = {
|
|
|
6763
7186
|
widget: "InputField"
|
|
6764
7187
|
},
|
|
6765
7188
|
config: {
|
|
6766
|
-
layout: {
|
|
7189
|
+
layout: {
|
|
7190
|
+
xs: 11,
|
|
7191
|
+
sm: 11,
|
|
7192
|
+
md: 5.5,
|
|
7193
|
+
lg: 5.5
|
|
7194
|
+
},
|
|
6767
7195
|
main: {
|
|
6768
7196
|
label: "Size"
|
|
6769
7197
|
}
|
|
@@ -6777,7 +7205,12 @@ const getInputField = (scope, label) => {
|
|
|
6777
7205
|
widget: "InputField"
|
|
6778
7206
|
},
|
|
6779
7207
|
config: {
|
|
6780
|
-
layout: {
|
|
7208
|
+
layout: {
|
|
7209
|
+
xs: 11,
|
|
7210
|
+
sm: 11,
|
|
7211
|
+
md: 5.5,
|
|
7212
|
+
lg: 5.5
|
|
7213
|
+
},
|
|
6781
7214
|
main: {
|
|
6782
7215
|
label
|
|
6783
7216
|
}
|
|
@@ -6792,7 +7225,12 @@ const getRadioInputField = (scope, label, options) => {
|
|
|
6792
7225
|
widget: "RadioInputField"
|
|
6793
7226
|
},
|
|
6794
7227
|
config: {
|
|
6795
|
-
layout: {
|
|
7228
|
+
layout: {
|
|
7229
|
+
xs: 11,
|
|
7230
|
+
sm: 11,
|
|
7231
|
+
md: 5.5,
|
|
7232
|
+
lg: 5.5
|
|
7233
|
+
},
|
|
6796
7234
|
main: {
|
|
6797
7235
|
label,
|
|
6798
7236
|
options
|
|
@@ -6835,7 +7273,7 @@ const getSelectField = (scope, label, options) => {
|
|
|
6835
7273
|
widget: "SelectInputField"
|
|
6836
7274
|
},
|
|
6837
7275
|
config: {
|
|
6838
|
-
layout: { xs: 11, sm:
|
|
7276
|
+
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
6839
7277
|
main: {
|
|
6840
7278
|
label,
|
|
6841
7279
|
type: "text"
|
|
@@ -6856,8 +7294,6 @@ const buildPropertiesSection = function(type) {
|
|
|
6856
7294
|
getInputField("elevation", "Card Elevation"),
|
|
6857
7295
|
getInputField("height", "Grid height"),
|
|
6858
7296
|
getInputField("justifyContent", "justifyContent"),
|
|
6859
|
-
EmptyBox,
|
|
6860
|
-
EmptyBox,
|
|
6861
7297
|
cardLayout
|
|
6862
7298
|
];
|
|
6863
7299
|
break;
|
|
@@ -6868,7 +7304,6 @@ const buildPropertiesSection = function(type) {
|
|
|
6868
7304
|
getInputField("resetText", "Reset Text"),
|
|
6869
7305
|
getInputField("completeText", "Complete Text"),
|
|
6870
7306
|
getSelectField("orientation", "Orientation Type"),
|
|
6871
|
-
EmptyBox,
|
|
6872
7307
|
getArrayControl("sectionLabels", "label")
|
|
6873
7308
|
];
|
|
6874
7309
|
break;
|
|
@@ -6884,14 +7319,12 @@ const buildPropertiesSection = function(type) {
|
|
|
6884
7319
|
uiSchema.elements = [
|
|
6885
7320
|
getInputField("placeholder", "Placeholder"),
|
|
6886
7321
|
EmptyBox,
|
|
6887
|
-
EmptyBox,
|
|
6888
7322
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
|
|
6889
7323
|
];
|
|
6890
7324
|
break;
|
|
6891
7325
|
case "TextArea":
|
|
6892
7326
|
uiSchema.elements = [
|
|
6893
7327
|
getInputField("placeholder", "Placeholder"),
|
|
6894
|
-
EmptyBox,
|
|
6895
7328
|
EmptyBox
|
|
6896
7329
|
];
|
|
6897
7330
|
break;
|
|
@@ -6901,8 +7334,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6901
7334
|
getInputField("heading", "Container Heading"),
|
|
6902
7335
|
getInputField("heading", "Container Heading"),
|
|
6903
7336
|
getInputField("speedoCaption", "Speedometer Caption"),
|
|
6904
|
-
getInputField("width", "Speedometer Width")
|
|
6905
|
-
EmptyBox
|
|
7337
|
+
getInputField("width", "Speedometer Width")
|
|
6906
7338
|
];
|
|
6907
7339
|
break;
|
|
6908
7340
|
case "RankCard":
|
|
@@ -6910,9 +7342,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6910
7342
|
getInputField("rank", "Rank"),
|
|
6911
7343
|
getInputField("image", "Image Url"),
|
|
6912
7344
|
getInputField("title", "Card Title"),
|
|
6913
|
-
getInputField("description", "Card Description")
|
|
6914
|
-
EmptyBox,
|
|
6915
|
-
EmptyBox
|
|
7345
|
+
getInputField("description", "Card Description")
|
|
6916
7346
|
];
|
|
6917
7347
|
break;
|
|
6918
7348
|
case "LeaderBoard":
|
|
@@ -6921,8 +7351,6 @@ const buildPropertiesSection = function(type) {
|
|
|
6921
7351
|
getInputField("firstImage", "First Image url"),
|
|
6922
7352
|
getInputField("secondImage", "Second Image url"),
|
|
6923
7353
|
getInputField("thirdImage", "Third Image url"),
|
|
6924
|
-
EmptyBox,
|
|
6925
|
-
EmptyBox,
|
|
6926
7354
|
getTextArea("functionCode", "Write Compare Code", false)
|
|
6927
7355
|
];
|
|
6928
7356
|
break;
|
|
@@ -6938,9 +7366,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6938
7366
|
getInputField("heading", "Heading"),
|
|
6939
7367
|
getInputField("bottomLabel_1", "First BottomLabel"),
|
|
6940
7368
|
getInputField("bottomLabel_2", "Second BottomLabel"),
|
|
6941
|
-
getInputField("bottomLabel_3", "Third BottomLabel")
|
|
6942
|
-
EmptyBox,
|
|
6943
|
-
EmptyBox
|
|
7369
|
+
getInputField("bottomLabel_3", "Third BottomLabel")
|
|
6944
7370
|
];
|
|
6945
7371
|
break;
|
|
6946
7372
|
case "card":
|
|
@@ -6974,7 +7400,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6974
7400
|
];
|
|
6975
7401
|
break;
|
|
6976
7402
|
case "WrapperSection":
|
|
6977
|
-
uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]),
|
|
7403
|
+
uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]), EmptyBox];
|
|
6978
7404
|
break;
|
|
6979
7405
|
case "TabSection":
|
|
6980
7406
|
uiSchema.elements = [
|
|
@@ -7002,14 +7428,12 @@ const buildPropertiesSection = function(type) {
|
|
|
7002
7428
|
case "Select":
|
|
7003
7429
|
uiSchema.elements = [
|
|
7004
7430
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7005
|
-
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"])
|
|
7006
|
-
EmptyBox
|
|
7431
|
+
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"])
|
|
7007
7432
|
];
|
|
7008
7433
|
break;
|
|
7009
7434
|
case "MultipleSelect":
|
|
7010
7435
|
uiSchema.elements = [
|
|
7011
7436
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7012
|
-
EmptyBox,
|
|
7013
7437
|
EmptyBox
|
|
7014
7438
|
];
|
|
7015
7439
|
break;
|
|
@@ -7055,92 +7479,116 @@ const TableSection = {
|
|
|
7055
7479
|
type: "HorizontalLayout",
|
|
7056
7480
|
elements: [
|
|
7057
7481
|
{
|
|
7058
|
-
type: "
|
|
7059
|
-
scope: "#/properties/elements",
|
|
7060
|
-
options: {
|
|
7061
|
-
widget: "Table"
|
|
7062
|
-
},
|
|
7482
|
+
type: "WrapperLayout",
|
|
7063
7483
|
config: {
|
|
7064
|
-
main: {
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
{
|
|
7068
|
-
widget: {
|
|
7069
|
-
type: "Control",
|
|
7070
|
-
scope: "#/properties/New_Record",
|
|
7071
|
-
options: {
|
|
7072
|
-
widget: "IconButton"
|
|
7073
|
-
},
|
|
7074
|
-
config: {
|
|
7075
|
-
main: {
|
|
7076
|
-
color: "info",
|
|
7077
|
-
onClick: "widgetAddClickHandler",
|
|
7078
|
-
size: "small",
|
|
7079
|
-
icon: "AddIcon",
|
|
7080
|
-
iconLabel: "Add New",
|
|
7081
|
-
styleDefault: true
|
|
7082
|
-
},
|
|
7083
|
-
style: {
|
|
7084
|
-
mt: "6px"
|
|
7085
|
-
}
|
|
7086
|
-
}
|
|
7087
|
-
}
|
|
7088
|
-
}
|
|
7089
|
-
]
|
|
7090
|
-
},
|
|
7091
|
-
disableAction: true,
|
|
7092
|
-
disableSelection: true,
|
|
7093
|
-
enableDrag: true
|
|
7484
|
+
main: {},
|
|
7485
|
+
wrapperStyle: {
|
|
7486
|
+
border: "1px solid gray"
|
|
7094
7487
|
}
|
|
7095
7488
|
},
|
|
7096
7489
|
elements: [
|
|
7097
7490
|
{
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
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
|
+
}
|
|
7104
7508
|
},
|
|
7105
7509
|
{
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
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"
|
|
7114
7523
|
},
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
icon: "EditIcon",
|
|
7118
|
-
color: "primary",
|
|
7119
|
-
onClick: "editComponents",
|
|
7120
|
-
tooltipMessage: "Reject This Record"
|
|
7121
|
-
}
|
|
7524
|
+
style: {
|
|
7525
|
+
float: "right"
|
|
7122
7526
|
}
|
|
7123
7527
|
}
|
|
7124
7528
|
},
|
|
7125
7529
|
{
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
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"
|
|
7134
7546
|
},
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
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
|
+
}
|
|
7141
7589
|
}
|
|
7142
7590
|
}
|
|
7143
|
-
|
|
7591
|
+
]
|
|
7144
7592
|
}
|
|
7145
7593
|
]
|
|
7146
7594
|
}
|
|
@@ -7164,7 +7612,12 @@ const ValueTab = {
|
|
|
7164
7612
|
widget: "InputField"
|
|
7165
7613
|
},
|
|
7166
7614
|
config: {
|
|
7167
|
-
layout: {
|
|
7615
|
+
layout: {
|
|
7616
|
+
xs: 11,
|
|
7617
|
+
sm: 11,
|
|
7618
|
+
md: 5.5,
|
|
7619
|
+
lg: 5.5
|
|
7620
|
+
},
|
|
7168
7621
|
main: {
|
|
7169
7622
|
label: "Label"
|
|
7170
7623
|
}
|
|
@@ -7177,21 +7630,16 @@ const ValueTab = {
|
|
|
7177
7630
|
widget: "InputField"
|
|
7178
7631
|
},
|
|
7179
7632
|
config: {
|
|
7180
|
-
layout: {
|
|
7633
|
+
layout: {
|
|
7634
|
+
xs: 11,
|
|
7635
|
+
sm: 11,
|
|
7636
|
+
md: 5.5,
|
|
7637
|
+
lg: 5.5
|
|
7638
|
+
},
|
|
7181
7639
|
main: {
|
|
7182
7640
|
label: "Value"
|
|
7183
7641
|
}
|
|
7184
7642
|
}
|
|
7185
|
-
},
|
|
7186
|
-
{
|
|
7187
|
-
type: "Control",
|
|
7188
|
-
scope: "#/properties/emptyBox",
|
|
7189
|
-
options: {
|
|
7190
|
-
widget: "EmptyBox"
|
|
7191
|
-
},
|
|
7192
|
-
config: {
|
|
7193
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7194
|
-
}
|
|
7195
7643
|
}
|
|
7196
7644
|
]
|
|
7197
7645
|
}
|
|
@@ -7218,7 +7666,12 @@ const ValidationSection = {
|
|
|
7218
7666
|
widget: "SelectInputField"
|
|
7219
7667
|
},
|
|
7220
7668
|
config: {
|
|
7221
|
-
layout: {
|
|
7669
|
+
layout: {
|
|
7670
|
+
xs: 11,
|
|
7671
|
+
sm: 11,
|
|
7672
|
+
md: 5.5,
|
|
7673
|
+
lg: 5.5
|
|
7674
|
+
},
|
|
7222
7675
|
main: {
|
|
7223
7676
|
label: "Validation Type"
|
|
7224
7677
|
}
|
|
@@ -7231,21 +7684,16 @@ const ValidationSection = {
|
|
|
7231
7684
|
widget: "InputField"
|
|
7232
7685
|
},
|
|
7233
7686
|
config: {
|
|
7234
|
-
layout: {
|
|
7687
|
+
layout: {
|
|
7688
|
+
xs: 11,
|
|
7689
|
+
sm: 11,
|
|
7690
|
+
md: 5.5,
|
|
7691
|
+
lg: 5.5
|
|
7692
|
+
},
|
|
7235
7693
|
main: {
|
|
7236
7694
|
label: "Validation Value"
|
|
7237
7695
|
}
|
|
7238
7696
|
}
|
|
7239
|
-
},
|
|
7240
|
-
{
|
|
7241
|
-
type: "Control",
|
|
7242
|
-
scope: "#/properties/emptyBox",
|
|
7243
|
-
options: {
|
|
7244
|
-
widget: "EmptyBox"
|
|
7245
|
-
},
|
|
7246
|
-
config: {
|
|
7247
|
-
layout: { xs: 0, sm: 4 }
|
|
7248
|
-
}
|
|
7249
7697
|
}
|
|
7250
7698
|
]
|
|
7251
7699
|
}
|
|
@@ -7427,7 +7875,7 @@ const sectionLabels = {
|
|
|
7427
7875
|
};
|
|
7428
7876
|
const refreshPage = (type, store2) => {
|
|
7429
7877
|
var _a;
|
|
7430
|
-
const UiSchema = _.cloneDeep(componentBasicUiSchema
|
|
7878
|
+
const UiSchema = _.cloneDeep(componentBasicUiSchema);
|
|
7431
7879
|
if (type) {
|
|
7432
7880
|
const sectionUiSchema = {
|
|
7433
7881
|
Core: CoreSection,
|
|
@@ -7439,8 +7887,8 @@ const refreshPage = (type, store2) => {
|
|
|
7439
7887
|
Validation: ValidationSection
|
|
7440
7888
|
};
|
|
7441
7889
|
const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
|
|
7442
|
-
UiSchema.elements[
|
|
7443
|
-
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];
|
|
7444
7892
|
}
|
|
7445
7893
|
store2.setUiSchema(UiSchema);
|
|
7446
7894
|
};
|
|
@@ -7486,22 +7934,30 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7486
7934
|
store2.navigate(`/Component?path=${`elements[${rowId}]`}&id=${id}`);
|
|
7487
7935
|
}
|
|
7488
7936
|
},
|
|
7489
|
-
deleteComponents: function() {
|
|
7937
|
+
deleteComponents: function(shouldUpdateDialog = true) {
|
|
7490
7938
|
var _a;
|
|
7491
7939
|
const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
|
|
7492
|
-
const rowId =
|
|
7940
|
+
const rowId = localStorage.getItem("rowId");
|
|
7493
7941
|
store2.formData.elements.splice(rowId, 1);
|
|
7494
7942
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
7495
7943
|
const data2 = path ? _.get(response2, path) : response2;
|
|
7496
7944
|
store2.setFormdata(data2);
|
|
7945
|
+
if (shouldUpdateDialog) {
|
|
7946
|
+
store2.updateDialog("popUpComponentSection");
|
|
7947
|
+
}
|
|
7948
|
+
localStorage.removeItem("rowId");
|
|
7497
7949
|
},
|
|
7498
|
-
deleteEvent: function() {
|
|
7950
|
+
deleteEvent: function(shouldUpdateDialog = true) {
|
|
7499
7951
|
var _a;
|
|
7500
7952
|
const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
|
|
7501
|
-
const rowId =
|
|
7953
|
+
const rowId = localStorage.getItem("rowId");
|
|
7502
7954
|
store2.formData.events.splice(rowId, 1);
|
|
7503
7955
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
7504
7956
|
store2.setFormdata(_.get(response2, path));
|
|
7957
|
+
if (shouldUpdateDialog) {
|
|
7958
|
+
store2.updateDialog("popUpEventSection");
|
|
7959
|
+
}
|
|
7960
|
+
localStorage.removeItem("rowId");
|
|
7505
7961
|
},
|
|
7506
7962
|
widgetAddClickHandler: function() {
|
|
7507
7963
|
var _a;
|
|
@@ -7537,6 +7993,16 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7537
7993
|
},
|
|
7538
7994
|
backHandler: function() {
|
|
7539
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");
|
|
7540
8006
|
}
|
|
7541
8007
|
};
|
|
7542
8008
|
};
|
|
@@ -7562,7 +8028,7 @@ var pageMaster = (funcParams) => {
|
|
|
7562
8028
|
return config;
|
|
7563
8029
|
},
|
|
7564
8030
|
getUiSchema: function() {
|
|
7565
|
-
return PageMasterUiSchema
|
|
8031
|
+
return PageMasterUiSchema;
|
|
7566
8032
|
},
|
|
7567
8033
|
getSchema: () => {
|
|
7568
8034
|
return PageMasterSchema;
|
|
@@ -7584,7 +8050,10 @@ var pageMaster = (funcParams) => {
|
|
|
7584
8050
|
},
|
|
7585
8051
|
saveHandler: async () => await saveHandler(store2, service2, submitHandler),
|
|
7586
8052
|
Edit_Components: Component(store2, dynamicData2, submitHandler, service2).editComponents,
|
|
7587
|
-
Delete_Components:
|
|
8053
|
+
Delete_Components: async function() {
|
|
8054
|
+
await Component(store2, dynamicData2, submitHandler, service2).deleteComponents(false);
|
|
8055
|
+
store2.updateDialog("popUpPageMasterComponent");
|
|
8056
|
+
},
|
|
7588
8057
|
eventAddHandler: function() {
|
|
7589
8058
|
var _a;
|
|
7590
8059
|
const id = (_a = store2.searchParams) == null ? void 0 : _a.get("id");
|
|
@@ -7604,10 +8073,22 @@ var pageMaster = (funcParams) => {
|
|
|
7604
8073
|
store2.navigate(`/ComponentEvents?path=${finalPath}&id=${id}`);
|
|
7605
8074
|
},
|
|
7606
8075
|
deleteEvent: function() {
|
|
7607
|
-
const rowId =
|
|
8076
|
+
const rowId = localStorage.getItem("rowId");
|
|
7608
8077
|
store2.formData.events.splice(rowId, 1);
|
|
7609
8078
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data);
|
|
7610
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");
|
|
7611
8092
|
}
|
|
7612
8093
|
};
|
|
7613
8094
|
};
|
|
@@ -7697,418 +8178,435 @@ const EventSchema = {
|
|
|
7697
8178
|
},
|
|
7698
8179
|
required: ["eventType", "Handler"]
|
|
7699
8180
|
};
|
|
7700
|
-
const EventUiSchema =
|
|
7701
|
-
|
|
7702
|
-
|
|
7703
|
-
|
|
7704
|
-
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
|
|
7708
|
-
|
|
7709
|
-
main: {
|
|
7710
|
-
tabLabels: ["Core", "Response Event"],
|
|
7711
|
-
defaultStyle: true,
|
|
7712
|
-
id: "event"
|
|
7713
|
-
}
|
|
8181
|
+
const EventUiSchema = {
|
|
8182
|
+
type: "HorizontalLayout",
|
|
8183
|
+
elements: [
|
|
8184
|
+
{
|
|
8185
|
+
type: "WrapperLayout",
|
|
8186
|
+
config: {
|
|
8187
|
+
main: {
|
|
8188
|
+
rowSpacing: 1,
|
|
8189
|
+
header: true
|
|
7714
8190
|
},
|
|
7715
|
-
|
|
7716
|
-
|
|
7717
|
-
|
|
7718
|
-
|
|
7719
|
-
|
|
7720
|
-
|
|
7721
|
-
|
|
7722
|
-
|
|
7723
|
-
widget: "SelectInputField"
|
|
7724
|
-
},
|
|
7725
|
-
config: {
|
|
7726
|
-
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7727
|
-
main: {
|
|
7728
|
-
label: "Event Type",
|
|
7729
|
-
type: "text"
|
|
7730
|
-
}
|
|
7731
|
-
}
|
|
7732
|
-
},
|
|
7733
|
-
{
|
|
7734
|
-
type: "Control",
|
|
7735
|
-
scope: `#/properties/Handler`,
|
|
7736
|
-
options: {
|
|
7737
|
-
widget: "SelectInputField"
|
|
7738
|
-
},
|
|
7739
|
-
config: {
|
|
7740
|
-
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7741
|
-
main: {
|
|
7742
|
-
label: "Handler",
|
|
7743
|
-
type: "text"
|
|
7744
|
-
}
|
|
7745
|
-
}
|
|
7746
|
-
},
|
|
7747
|
-
{
|
|
7748
|
-
type: "Control",
|
|
7749
|
-
scope: "#/properties/emptyBox",
|
|
7750
|
-
options: {
|
|
7751
|
-
widget: "EmptyBox"
|
|
7752
|
-
},
|
|
7753
|
-
config: {
|
|
7754
|
-
layout: { xs: 0, sm: 4 }
|
|
7755
|
-
}
|
|
7756
|
-
}
|
|
7757
|
-
]
|
|
8191
|
+
defaultStyle: true
|
|
8192
|
+
},
|
|
8193
|
+
elements: [
|
|
8194
|
+
{
|
|
8195
|
+
type: "Control",
|
|
8196
|
+
scope: "#/properties/Component",
|
|
8197
|
+
options: {
|
|
8198
|
+
widget: "Box"
|
|
7758
8199
|
},
|
|
7759
|
-
{
|
|
7760
|
-
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
widget: "Table"
|
|
7764
|
-
},
|
|
7765
|
-
config: {
|
|
7766
|
-
main: {
|
|
7767
|
-
headerIcons: {
|
|
7768
|
-
elements: [
|
|
7769
|
-
{
|
|
7770
|
-
widget: {
|
|
7771
|
-
type: "Control",
|
|
7772
|
-
scope: "#/properties/New_Record",
|
|
7773
|
-
options: {
|
|
7774
|
-
widget: "IconButton"
|
|
7775
|
-
},
|
|
7776
|
-
config: {
|
|
7777
|
-
main: {
|
|
7778
|
-
color: "info",
|
|
7779
|
-
onClick: "addEvent",
|
|
7780
|
-
size: "small",
|
|
7781
|
-
icon: "AddIcon",
|
|
7782
|
-
iconLabel: "Add New",
|
|
7783
|
-
styleDefault: true
|
|
7784
|
-
},
|
|
7785
|
-
style: {
|
|
7786
|
-
mt: "6px"
|
|
7787
|
-
}
|
|
7788
|
-
}
|
|
7789
|
-
}
|
|
7790
|
-
}
|
|
7791
|
-
]
|
|
7792
|
-
},
|
|
7793
|
-
disableAction: true,
|
|
7794
|
-
disableSelection: true,
|
|
7795
|
-
enableDrag: true
|
|
7796
|
-
}
|
|
8200
|
+
config: {
|
|
8201
|
+
layout: { xs: 12, sm: 12, md: 2 },
|
|
8202
|
+
main: {
|
|
8203
|
+
heading: "Component"
|
|
7797
8204
|
},
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
header: "Event Type"
|
|
7802
|
-
},
|
|
7803
|
-
{
|
|
7804
|
-
accessorKey: "Handler",
|
|
7805
|
-
header: "Handler"
|
|
7806
|
-
},
|
|
7807
|
-
{
|
|
7808
|
-
accessorKey: "Edit_Approve_Records",
|
|
7809
|
-
header: "Edit Widget",
|
|
7810
|
-
widget: {
|
|
7811
|
-
type: "Control",
|
|
7812
|
-
scope: "#/properties/Edit_Records",
|
|
7813
|
-
options: {
|
|
7814
|
-
widget: "IconButton"
|
|
7815
|
-
},
|
|
7816
|
-
config: {
|
|
7817
|
-
main: {
|
|
7818
|
-
color: "info",
|
|
7819
|
-
size: "small",
|
|
7820
|
-
icon: "EditIcon",
|
|
7821
|
-
tooltipMessage: "Edit This Record",
|
|
7822
|
-
onClick: "editEvent"
|
|
7823
|
-
},
|
|
7824
|
-
style: {
|
|
7825
|
-
color: "#3949ab"
|
|
7826
|
-
}
|
|
7827
|
-
}
|
|
7828
|
-
}
|
|
7829
|
-
},
|
|
7830
|
-
{
|
|
7831
|
-
accessorKey: "Reject_Records",
|
|
7832
|
-
header: "Delete",
|
|
7833
|
-
widget: {
|
|
7834
|
-
type: "Control",
|
|
7835
|
-
scope: "#/properties/RejectButton",
|
|
7836
|
-
options: {
|
|
7837
|
-
widget: "IconButton"
|
|
7838
|
-
},
|
|
7839
|
-
config: {
|
|
7840
|
-
main: {
|
|
7841
|
-
icon: "RejectIcon",
|
|
7842
|
-
color: "error",
|
|
7843
|
-
tooltipMessage: "Reject This Record",
|
|
7844
|
-
onClick: "deleteEvent"
|
|
7845
|
-
}
|
|
7846
|
-
}
|
|
7847
|
-
}
|
|
7848
|
-
}
|
|
7849
|
-
]
|
|
8205
|
+
style: {
|
|
8206
|
+
"float": "left"
|
|
8207
|
+
}
|
|
7850
8208
|
}
|
|
7851
|
-
]
|
|
7852
|
-
},
|
|
7853
|
-
{
|
|
7854
|
-
type: "Control",
|
|
7855
|
-
scope: "#/properties/EmptyBox",
|
|
7856
|
-
options: {
|
|
7857
|
-
widget: "EmptyBox"
|
|
7858
|
-
},
|
|
7859
|
-
config: {
|
|
7860
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7861
|
-
}
|
|
7862
|
-
},
|
|
7863
|
-
{
|
|
7864
|
-
type: "Control",
|
|
7865
|
-
scope: "#/properties/EmptyBox",
|
|
7866
|
-
options: {
|
|
7867
|
-
widget: "EmptyBox"
|
|
7868
|
-
},
|
|
7869
|
-
config: {
|
|
7870
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7871
|
-
}
|
|
7872
|
-
},
|
|
7873
|
-
{
|
|
7874
|
-
type: "Control",
|
|
7875
|
-
scope: "#/properties/btn",
|
|
7876
|
-
options: {
|
|
7877
|
-
widget: "Button"
|
|
7878
8209
|
},
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
variant: "contained",
|
|
7885
|
-
color: "info",
|
|
7886
|
-
type: "text",
|
|
7887
|
-
onClick: "okHandler",
|
|
7888
|
-
size: "medium"
|
|
8210
|
+
{
|
|
8211
|
+
type: "Control",
|
|
8212
|
+
scope: "#/properties/pageName",
|
|
8213
|
+
options: {
|
|
8214
|
+
widget: "Box"
|
|
7889
8215
|
},
|
|
7890
|
-
|
|
7891
|
-
|
|
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
|
+
}
|
|
7892
8228
|
}
|
|
7893
|
-
}
|
|
7894
|
-
},
|
|
7895
|
-
{
|
|
7896
|
-
type: "Control",
|
|
7897
|
-
scope: "#/properties/btnSubmit",
|
|
7898
|
-
options: {
|
|
7899
|
-
widget: "Button"
|
|
7900
8229
|
},
|
|
7901
|
-
|
|
7902
|
-
|
|
7903
|
-
|
|
7904
|
-
|
|
7905
|
-
|
|
7906
|
-
variant: "contained",
|
|
7907
|
-
color: "info",
|
|
7908
|
-
type: "text",
|
|
7909
|
-
onClick: "saveHandler",
|
|
7910
|
-
size: "medium"
|
|
8230
|
+
{
|
|
8231
|
+
type: "Control",
|
|
8232
|
+
scope: "#/properties/Back_Button",
|
|
8233
|
+
options: {
|
|
8234
|
+
widget: "IconButton"
|
|
7911
8235
|
},
|
|
7912
|
-
|
|
7913
|
-
|
|
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
|
+
}
|
|
7914
8248
|
}
|
|
7915
8249
|
}
|
|
8250
|
+
]
|
|
8251
|
+
},
|
|
8252
|
+
{
|
|
8253
|
+
type: "TabLayout",
|
|
8254
|
+
config: {
|
|
8255
|
+
main: {
|
|
8256
|
+
tabLabels: ["Core", "Response Event"],
|
|
8257
|
+
defaultStyle: true,
|
|
8258
|
+
id: "event"
|
|
8259
|
+
}
|
|
7916
8260
|
},
|
|
7917
|
-
|
|
7918
|
-
|
|
7919
|
-
|
|
7920
|
-
|
|
7921
|
-
|
|
7922
|
-
|
|
7923
|
-
|
|
7924
|
-
|
|
7925
|
-
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
7932
|
-
|
|
7933
|
-
|
|
7934
|
-
|
|
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
|
+
]
|
|
7935
8281
|
},
|
|
7936
|
-
|
|
7937
|
-
|
|
7938
|
-
|
|
7939
|
-
|
|
7940
|
-
|
|
7941
|
-
widget: "EmptyBox"
|
|
8282
|
+
{
|
|
8283
|
+
type: "WrapperLayout",
|
|
8284
|
+
config: {
|
|
8285
|
+
main: {
|
|
8286
|
+
divider: true
|
|
7942
8287
|
},
|
|
7943
|
-
|
|
7944
|
-
|
|
8288
|
+
wrapperStyle: {
|
|
8289
|
+
border: "1px solid gray"
|
|
7945
8290
|
}
|
|
7946
8291
|
},
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
|
|
7950
|
-
|
|
7951
|
-
|
|
7952
|
-
|
|
7953
|
-
config: {
|
|
7954
|
-
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7955
|
-
main: {
|
|
7956
|
-
heading: "Copywriter@ACT21.IO"
|
|
8292
|
+
elements: [
|
|
8293
|
+
{
|
|
8294
|
+
type: "Control",
|
|
8295
|
+
scope: "#/properties/heading",
|
|
8296
|
+
options: {
|
|
8297
|
+
widget: "Box"
|
|
7957
8298
|
},
|
|
7958
|
-
|
|
7959
|
-
|
|
7960
|
-
|
|
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
|
+
}
|
|
7961
8310
|
}
|
|
7962
|
-
}
|
|
7963
|
-
},
|
|
7964
|
-
{
|
|
7965
|
-
type: "HorizontalLayout",
|
|
7966
|
-
config: {
|
|
7967
|
-
layout: { xs: 11, sm: 4, md: 4, lg: 4 }
|
|
7968
8311
|
},
|
|
7969
|
-
|
|
7970
|
-
|
|
7971
|
-
|
|
7972
|
-
|
|
7973
|
-
|
|
7974
|
-
|
|
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"
|
|
7975
8326
|
},
|
|
7976
|
-
|
|
7977
|
-
|
|
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
|
|
7978
8343
|
}
|
|
7979
8344
|
},
|
|
7980
|
-
|
|
7981
|
-
|
|
7982
|
-
|
|
7983
|
-
|
|
7984
|
-
widget: "Box"
|
|
8345
|
+
elements: [
|
|
8346
|
+
{
|
|
8347
|
+
accessorKey: "eventType",
|
|
8348
|
+
header: "Event Type"
|
|
7985
8349
|
},
|
|
7986
|
-
|
|
7987
|
-
|
|
7988
|
-
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
7995
|
-
|
|
7996
|
-
|
|
7997
|
-
|
|
7998
|
-
|
|
7999
|
-
|
|
8000
|
-
|
|
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
|
+
}
|
|
8001
8375
|
}
|
|
8002
|
-
}
|
|
8003
|
-
},
|
|
8004
|
-
{
|
|
8005
|
-
type: "Control",
|
|
8006
|
-
scope: "#/properties/text",
|
|
8007
|
-
options: {
|
|
8008
|
-
widget: "Box"
|
|
8009
8376
|
},
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
-
|
|
8019
|
-
|
|
8020
|
-
|
|
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
|
+
}
|
|
8021
8394
|
}
|
|
8022
8395
|
}
|
|
8023
|
-
|
|
8024
|
-
|
|
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"
|
|
8025
8429
|
},
|
|
8026
|
-
{
|
|
8027
|
-
|
|
8028
|
-
|
|
8029
|
-
|
|
8030
|
-
widget: "Box"
|
|
8430
|
+
config: {
|
|
8431
|
+
layout: 12,
|
|
8432
|
+
main: {
|
|
8433
|
+
heading: "Are you sure you want to delete ?"
|
|
8031
8434
|
},
|
|
8032
|
-
|
|
8033
|
-
|
|
8034
|
-
|
|
8035
|
-
heading: " "
|
|
8036
|
-
},
|
|
8037
|
-
style: {
|
|
8038
|
-
color: theme.palette.text.disabled,
|
|
8039
|
-
textAlign: "right",
|
|
8040
|
-
fontSize: "12px",
|
|
8041
|
-
marginTop: "-16px"
|
|
8042
|
-
}
|
|
8435
|
+
style: {
|
|
8436
|
+
marginTop: "-25px",
|
|
8437
|
+
marginLeft: "11px"
|
|
8043
8438
|
}
|
|
8439
|
+
}
|
|
8440
|
+
},
|
|
8441
|
+
{
|
|
8442
|
+
type: "Control",
|
|
8443
|
+
scope: "#/properties/EmptyBox",
|
|
8444
|
+
options: {
|
|
8445
|
+
widget: "EmptyBox"
|
|
8044
8446
|
},
|
|
8045
|
-
{
|
|
8046
|
-
|
|
8047
|
-
|
|
8048
|
-
|
|
8049
|
-
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
|
|
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"
|
|
8053
8468
|
}
|
|
8054
8469
|
}
|
|
8055
|
-
|
|
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"
|
|
8056
8511
|
}
|
|
8057
|
-
|
|
8058
|
-
};
|
|
8059
|
-
return uiSchema;
|
|
8060
|
-
};
|
|
8061
|
-
const APISection = {
|
|
8062
|
-
type: "HorizontalLayout",
|
|
8063
|
-
elements: [
|
|
8512
|
+
},
|
|
8064
8513
|
{
|
|
8065
8514
|
type: "Control",
|
|
8066
|
-
scope: "#/properties/
|
|
8515
|
+
scope: "#/properties/btn",
|
|
8067
8516
|
options: {
|
|
8068
|
-
widget: "
|
|
8517
|
+
widget: "Button"
|
|
8069
8518
|
},
|
|
8070
8519
|
config: {
|
|
8071
|
-
layout: {
|
|
8520
|
+
layout: {
|
|
8521
|
+
xs: 11,
|
|
8522
|
+
sm: 11,
|
|
8523
|
+
md: 2.5,
|
|
8524
|
+
lg: 2.5
|
|
8525
|
+
},
|
|
8072
8526
|
main: {
|
|
8073
|
-
|
|
8074
|
-
|
|
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"
|
|
8075
8538
|
}
|
|
8076
8539
|
}
|
|
8077
8540
|
},
|
|
8078
8541
|
{
|
|
8079
8542
|
type: "Control",
|
|
8080
|
-
scope: "#/properties/
|
|
8543
|
+
scope: "#/properties/btnSubmit",
|
|
8081
8544
|
options: {
|
|
8082
|
-
widget: "
|
|
8545
|
+
widget: "Button"
|
|
8083
8546
|
},
|
|
8084
8547
|
config: {
|
|
8085
|
-
layout: {
|
|
8548
|
+
layout: {
|
|
8549
|
+
xs: 11,
|
|
8550
|
+
sm: 11,
|
|
8551
|
+
md: 2.5,
|
|
8552
|
+
lg: 2.5
|
|
8553
|
+
},
|
|
8086
8554
|
main: {
|
|
8087
|
-
|
|
8555
|
+
name: "Save & Exit",
|
|
8556
|
+
startIcon: "ApproveIcon",
|
|
8557
|
+
variant: "contained",
|
|
8558
|
+
color: "info",
|
|
8088
8559
|
type: "text",
|
|
8089
|
-
|
|
8090
|
-
|
|
8560
|
+
onClick: "saveHandler",
|
|
8561
|
+
size: "small"
|
|
8562
|
+
},
|
|
8563
|
+
style: {
|
|
8564
|
+
marginBottom: "8px",
|
|
8565
|
+
float: "right"
|
|
8091
8566
|
}
|
|
8092
8567
|
}
|
|
8093
8568
|
},
|
|
8094
8569
|
{
|
|
8095
8570
|
type: "Control",
|
|
8096
|
-
scope: "#/properties/
|
|
8571
|
+
scope: "#/properties/notify",
|
|
8097
8572
|
options: {
|
|
8098
|
-
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"
|
|
8099
8587
|
},
|
|
8100
8588
|
config: {
|
|
8101
|
-
layout: { xs:
|
|
8589
|
+
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
8590
|
+
main: {
|
|
8591
|
+
label: "Method",
|
|
8592
|
+
type: "text"
|
|
8593
|
+
}
|
|
8102
8594
|
}
|
|
8103
8595
|
},
|
|
8104
8596
|
{
|
|
8105
8597
|
type: "Control",
|
|
8106
|
-
scope: "#/properties/
|
|
8598
|
+
scope: "#/properties/path",
|
|
8107
8599
|
options: {
|
|
8108
|
-
widget: "
|
|
8600
|
+
widget: "InputField"
|
|
8109
8601
|
},
|
|
8110
8602
|
config: {
|
|
8111
|
-
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
|
+
}
|
|
8112
8610
|
}
|
|
8113
8611
|
},
|
|
8114
8612
|
{
|
|
@@ -8127,7 +8625,12 @@ const APISection = {
|
|
|
8127
8625
|
widget: "InputField"
|
|
8128
8626
|
},
|
|
8129
8627
|
config: {
|
|
8130
|
-
layout: {
|
|
8628
|
+
layout: {
|
|
8629
|
+
xs: 11,
|
|
8630
|
+
sm: 11,
|
|
8631
|
+
md: 5.5,
|
|
8632
|
+
lg: 5.5
|
|
8633
|
+
},
|
|
8131
8634
|
main: {
|
|
8132
8635
|
label: "Key"
|
|
8133
8636
|
}
|
|
@@ -8140,21 +8643,16 @@ const APISection = {
|
|
|
8140
8643
|
widget: "InputField"
|
|
8141
8644
|
},
|
|
8142
8645
|
config: {
|
|
8143
|
-
layout: {
|
|
8646
|
+
layout: {
|
|
8647
|
+
xs: 11,
|
|
8648
|
+
sm: 11,
|
|
8649
|
+
md: 5.5,
|
|
8650
|
+
lg: 5.5
|
|
8651
|
+
},
|
|
8144
8652
|
main: {
|
|
8145
8653
|
label: "Value"
|
|
8146
8654
|
}
|
|
8147
8655
|
}
|
|
8148
|
-
},
|
|
8149
|
-
{
|
|
8150
|
-
type: "Control",
|
|
8151
|
-
scope: "#/properties/emptyBox",
|
|
8152
|
-
options: {
|
|
8153
|
-
widget: "EmptyBox"
|
|
8154
|
-
},
|
|
8155
|
-
config: {
|
|
8156
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8157
|
-
}
|
|
8158
8656
|
}
|
|
8159
8657
|
]
|
|
8160
8658
|
}
|
|
@@ -8176,7 +8674,12 @@ const APISection = {
|
|
|
8176
8674
|
widget: "InputField"
|
|
8177
8675
|
},
|
|
8178
8676
|
config: {
|
|
8179
|
-
layout: {
|
|
8677
|
+
layout: {
|
|
8678
|
+
xs: 11,
|
|
8679
|
+
sm: 11,
|
|
8680
|
+
md: 5.5,
|
|
8681
|
+
lg: 5.5
|
|
8682
|
+
},
|
|
8180
8683
|
main: {
|
|
8181
8684
|
label: "Key"
|
|
8182
8685
|
}
|
|
@@ -8189,21 +8692,16 @@ const APISection = {
|
|
|
8189
8692
|
widget: "InputField"
|
|
8190
8693
|
},
|
|
8191
8694
|
config: {
|
|
8192
|
-
layout: {
|
|
8695
|
+
layout: {
|
|
8696
|
+
xs: 11,
|
|
8697
|
+
sm: 11,
|
|
8698
|
+
md: 5.5,
|
|
8699
|
+
lg: 5.5
|
|
8700
|
+
},
|
|
8193
8701
|
main: {
|
|
8194
8702
|
label: "Value"
|
|
8195
8703
|
}
|
|
8196
8704
|
}
|
|
8197
|
-
},
|
|
8198
|
-
{
|
|
8199
|
-
type: "Control",
|
|
8200
|
-
scope: "#/properties/emptyBox",
|
|
8201
|
-
options: {
|
|
8202
|
-
widget: "EmptyBox"
|
|
8203
|
-
},
|
|
8204
|
-
config: {
|
|
8205
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8206
|
-
}
|
|
8207
8705
|
}
|
|
8208
8706
|
]
|
|
8209
8707
|
}
|
|
@@ -8230,7 +8728,12 @@ const refreshSectionUiSchema = {
|
|
|
8230
8728
|
widget: "InputField"
|
|
8231
8729
|
},
|
|
8232
8730
|
config: {
|
|
8233
|
-
layout: {
|
|
8731
|
+
layout: {
|
|
8732
|
+
xs: 11,
|
|
8733
|
+
sm: 11,
|
|
8734
|
+
md: 5.5,
|
|
8735
|
+
lg: 5.5
|
|
8736
|
+
},
|
|
8234
8737
|
main: {
|
|
8235
8738
|
label: "Value"
|
|
8236
8739
|
}
|
|
@@ -8243,7 +8746,12 @@ const refreshSectionUiSchema = {
|
|
|
8243
8746
|
widget: "EmptyBox"
|
|
8244
8747
|
},
|
|
8245
8748
|
config: {
|
|
8246
|
-
layout: {
|
|
8749
|
+
layout: {
|
|
8750
|
+
xs: 11,
|
|
8751
|
+
sm: 11,
|
|
8752
|
+
md: 5.5,
|
|
8753
|
+
lg: 5.5
|
|
8754
|
+
},
|
|
8247
8755
|
main: {}
|
|
8248
8756
|
}
|
|
8249
8757
|
}
|
|
@@ -8263,21 +8771,21 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8263
8771
|
this.refreshPage(formdata.Handler, store2);
|
|
8264
8772
|
},
|
|
8265
8773
|
refreshPage: (handlerType, store22) => {
|
|
8266
|
-
const uiSchema = _.cloneDeep(EventUiSchema
|
|
8774
|
+
const uiSchema = _.cloneDeep(EventUiSchema);
|
|
8267
8775
|
const schema2 = _.cloneDeep(EventSchema);
|
|
8268
8776
|
if (handlerType) {
|
|
8269
8777
|
if (handlerType === "custom") {
|
|
8270
|
-
uiSchema.elements[
|
|
8778
|
+
uiSchema.elements[1].elements[0].elements[2] = getTextArea("eventCode", "Write Custom Code", false);
|
|
8271
8779
|
schema2.required = ["eventType", "Handler", "eventCode"];
|
|
8272
8780
|
} else if (handlerType === "api") {
|
|
8273
|
-
uiSchema.elements[
|
|
8781
|
+
uiSchema.elements[1].elements[0].elements[2] = APISection;
|
|
8274
8782
|
schema2.required = ["eventType", "Handler", "method", "path"];
|
|
8275
8783
|
} else if (handlerType === "inBuiltFunction") {
|
|
8276
|
-
uiSchema.elements[
|
|
8277
|
-
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 });
|
|
8278
8786
|
schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
|
|
8279
8787
|
} else if (handlerType === "refresh") {
|
|
8280
|
-
uiSchema.elements[
|
|
8788
|
+
uiSchema.elements[1].elements[0].elements[2] = refreshSectionUiSchema;
|
|
8281
8789
|
schema2.properties.refreshElements.required = ["value"];
|
|
8282
8790
|
schema2.properties.refreshElements.items.required = ["value"];
|
|
8283
8791
|
schema2.required = ["eventType", "Handler", "refreshElements"];
|
|
@@ -8287,8 +8795,8 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8287
8795
|
store22.setUiSchema(uiSchema);
|
|
8288
8796
|
},
|
|
8289
8797
|
getFormData: Component(store2, dynamicData2, submitHandler, service2).getFormdata,
|
|
8290
|
-
getUiSchema:
|
|
8291
|
-
return
|
|
8798
|
+
getUiSchema: function() {
|
|
8799
|
+
return EventUiSchema;
|
|
8292
8800
|
},
|
|
8293
8801
|
getSchema: () => {
|
|
8294
8802
|
return EventSchema;
|
|
@@ -8323,9 +8831,17 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8323
8831
|
store2.setSearchParams(store2.searchParams);
|
|
8324
8832
|
this.setPage();
|
|
8325
8833
|
},
|
|
8326
|
-
deleteEvent:
|
|
8834
|
+
deleteEvent: async function() {
|
|
8835
|
+
await Component(store2, dynamicData2, submitHandler, service2).deleteEvent(false);
|
|
8836
|
+
store2.updateDialog("popUpEvent");
|
|
8837
|
+
},
|
|
8327
8838
|
backHandler: function() {
|
|
8328
8839
|
store2.navigate(-1);
|
|
8840
|
+
},
|
|
8841
|
+
deletePopUpEvent: function() {
|
|
8842
|
+
const rowId = dynamicData2.path.split(".")[1];
|
|
8843
|
+
localStorage.setItem("rowId", rowId);
|
|
8844
|
+
store2.updateDialog("popUpEvent");
|
|
8329
8845
|
}
|
|
8330
8846
|
};
|
|
8331
8847
|
};
|
|
@@ -8601,12 +9117,25 @@ const extractEvents = (eventConfig) => {
|
|
|
8601
9117
|
return elem.eventType === "Success";
|
|
8602
9118
|
});
|
|
8603
9119
|
if (!!!SuccessEvent && event2.eventType === "onLoad") {
|
|
8604
|
-
event2.events.push({
|
|
9120
|
+
event2.events.push({
|
|
9121
|
+
Handler: "mergeFormdata",
|
|
9122
|
+
eventType: "Success",
|
|
9123
|
+
type: compType,
|
|
9124
|
+
lazyLoading: eventConfig.lazyLoading === "YES" ? true : false
|
|
9125
|
+
});
|
|
8605
9126
|
}
|
|
8606
9127
|
if (!!!SuccessEvent && (event2.eventType === "onBack" || event2.eventType === "onNext" || event2.eventType === "onReset")) {
|
|
8607
|
-
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
|
+
});
|
|
8608
9134
|
}
|
|
8609
|
-
eventGroups[event2.eventType][eventConfigObj.name].push({
|
|
9135
|
+
eventGroups[event2.eventType][eventConfigObj.name].push({
|
|
9136
|
+
...event2,
|
|
9137
|
+
type: compType
|
|
9138
|
+
});
|
|
8610
9139
|
});
|
|
8611
9140
|
}
|
|
8612
9141
|
}
|
|
@@ -8629,6 +9158,13 @@ var service = (funcParams) => {
|
|
|
8629
9158
|
serviceHolder: { downloadFile: downloadFile$1, download: doDownload },
|
|
8630
9159
|
eventGroups
|
|
8631
9160
|
};
|
|
9161
|
+
const debouncedExecuteEvents = lodash.exports.debounce(async (eventConfig, componentName) => {
|
|
9162
|
+
await executeEvents({
|
|
9163
|
+
...executeEventsParameters,
|
|
9164
|
+
config: eventConfig,
|
|
9165
|
+
componentName
|
|
9166
|
+
});
|
|
9167
|
+
}, 3e3);
|
|
8632
9168
|
return {
|
|
8633
9169
|
setPage: async function() {
|
|
8634
9170
|
funcParams.store.setFormdata({});
|
|
@@ -8642,14 +9178,12 @@ var service = (funcParams) => {
|
|
|
8642
9178
|
serviceHolder: this,
|
|
8643
9179
|
eventGroups
|
|
8644
9180
|
};
|
|
8645
|
-
funcParams.store.setSchema(
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
|
|
8649
|
-
|
|
8650
|
-
|
|
8651
|
-
}
|
|
8652
|
-
);
|
|
9181
|
+
funcParams.store.setSchema((pre) => {
|
|
9182
|
+
return {
|
|
9183
|
+
...funcParams.schema,
|
|
9184
|
+
properties: { ...funcParams.schema.properties, ...pre.properties }
|
|
9185
|
+
};
|
|
9186
|
+
});
|
|
8653
9187
|
funcParams.uiSchema.elements.push(notifyUiSchema);
|
|
8654
9188
|
funcParams.store.setUiSchema(funcParams.uiSchema);
|
|
8655
9189
|
await executeRefreshHandler({
|
|
@@ -8664,7 +9198,10 @@ var service = (funcParams) => {
|
|
|
8664
9198
|
});
|
|
8665
9199
|
},
|
|
8666
9200
|
onClick: async function() {
|
|
9201
|
+
var _a, _b;
|
|
9202
|
+
(_a = funcParams.dynamicData) == null ? void 0 : _a.setLoading(true);
|
|
8667
9203
|
await this.callHandler("onClick");
|
|
9204
|
+
(_b = funcParams.dynamicData) == null ? void 0 : _b.setLoading(false);
|
|
8668
9205
|
},
|
|
8669
9206
|
onFileDownload: async function() {
|
|
8670
9207
|
await this.callHandler("onDownload");
|
|
@@ -8694,20 +9231,21 @@ var service = (funcParams) => {
|
|
|
8694
9231
|
}
|
|
8695
9232
|
},
|
|
8696
9233
|
onChange: async function() {
|
|
9234
|
+
var _a, _b;
|
|
8697
9235
|
if (eventGroups.onChange) {
|
|
9236
|
+
(_a = funcParams.dynamicData) == null ? void 0 : _a.setLoading(true);
|
|
8698
9237
|
const ChangeEventsKeysArray = Object.keys(eventGroups.onChange);
|
|
8699
|
-
Promise.all(
|
|
8700
|
-
|
|
8701
|
-
|
|
8702
|
-
|
|
8703
|
-
|
|
8704
|
-
|
|
8705
|
-
|
|
8706
|
-
componentName
|
|
8707
|
-
});
|
|
9238
|
+
await Promise.all(
|
|
9239
|
+
ChangeEventsKeysArray.map(async (componentName) => {
|
|
9240
|
+
var _a2, _b2;
|
|
9241
|
+
if (((_a2 = funcParams.store) == null ? void 0 : _a2.formData[componentName]) !== funcParams.store.newData[componentName] && ((_b2 = funcParams.store) == null ? void 0 : _b2.newData[componentName]) !== void 0) {
|
|
9242
|
+
for (const eventConfig of eventGroups.onChange[componentName]) {
|
|
9243
|
+
await debouncedExecuteEvents(eventConfig, componentName);
|
|
9244
|
+
}
|
|
8708
9245
|
}
|
|
8709
|
-
}
|
|
8710
|
-
|
|
9246
|
+
})
|
|
9247
|
+
);
|
|
9248
|
+
(_b = funcParams.dynamicData) == null ? void 0 : _b.setLoading(false);
|
|
8711
9249
|
}
|
|
8712
9250
|
},
|
|
8713
9251
|
updateConfigApiBody: async function(paramValue, apiBody) {
|
|
@@ -8715,10 +9253,7 @@ var service = (funcParams) => {
|
|
|
8715
9253
|
let LastCallResponse = void 0;
|
|
8716
9254
|
for (const eventConfig of eventGroups == null ? void 0 : eventGroups.onLoad[paramValue.path]) {
|
|
8717
9255
|
if (eventConfig.body) {
|
|
8718
|
-
eventConfig.body = [
|
|
8719
|
-
...eventConfig.body,
|
|
8720
|
-
...apiBody
|
|
8721
|
-
];
|
|
9256
|
+
eventConfig.body = [...eventConfig.body, ...apiBody];
|
|
8722
9257
|
} else {
|
|
8723
9258
|
eventConfig.body = apiBody;
|
|
8724
9259
|
}
|
|
@@ -9593,10 +10128,8 @@ var WrapperSection = {
|
|
|
9593
10128
|
};
|
|
9594
10129
|
const buildWrapperSection = (config, componentScope) => {
|
|
9595
10130
|
const wrapper = _.cloneDeep(WrapperSection);
|
|
9596
|
-
wrapper.scope = componentScope;
|
|
9597
10131
|
wrapper.config.main.label = config.label;
|
|
9598
10132
|
wrapper.config.main.divider = config.divider === "YES" ? true : false;
|
|
9599
|
-
wrapper.config.main.isAccordion = config.isAccordion === "YES" ? true : false;
|
|
9600
10133
|
if (config.style) {
|
|
9601
10134
|
wrapper.config.style = JSON.parse(config.style);
|
|
9602
10135
|
}
|
|
@@ -9612,7 +10145,12 @@ var TextInputField = {
|
|
|
9612
10145
|
widget: "InputField"
|
|
9613
10146
|
},
|
|
9614
10147
|
config: {
|
|
9615
|
-
layout: {
|
|
10148
|
+
layout: {
|
|
10149
|
+
xs: 11,
|
|
10150
|
+
sm: 11,
|
|
10151
|
+
md: 5.5,
|
|
10152
|
+
lg: 5.5
|
|
10153
|
+
},
|
|
9616
10154
|
main: {
|
|
9617
10155
|
label: ""
|
|
9618
10156
|
},
|
|
@@ -9645,7 +10183,12 @@ var SelectInputField = {
|
|
|
9645
10183
|
widget: "SelectInputField"
|
|
9646
10184
|
},
|
|
9647
10185
|
config: {
|
|
9648
|
-
layout: {
|
|
10186
|
+
"layout": {
|
|
10187
|
+
"xs": 11,
|
|
10188
|
+
"sm": 11,
|
|
10189
|
+
"md": 5.5,
|
|
10190
|
+
"lg": 5.5
|
|
10191
|
+
},
|
|
9649
10192
|
main: {
|
|
9650
10193
|
label: "",
|
|
9651
10194
|
type: "text",
|
|
@@ -10055,7 +10598,12 @@ var DateInputField = {
|
|
|
10055
10598
|
widget: "DateInputField"
|
|
10056
10599
|
},
|
|
10057
10600
|
config: {
|
|
10058
|
-
layout: {
|
|
10601
|
+
layout: {
|
|
10602
|
+
xs: 11,
|
|
10603
|
+
sm: 11,
|
|
10604
|
+
md: 5.5,
|
|
10605
|
+
lg: 5.5
|
|
10606
|
+
},
|
|
10059
10607
|
main: {
|
|
10060
10608
|
label: "",
|
|
10061
10609
|
type: "date"
|
|
@@ -10172,7 +10720,7 @@ var MultipleSelect = {
|
|
|
10172
10720
|
widget: "MultipleSelect"
|
|
10173
10721
|
},
|
|
10174
10722
|
config: {
|
|
10175
|
-
layout: { xs: 11, sm:
|
|
10723
|
+
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
10176
10724
|
main: {
|
|
10177
10725
|
label: "",
|
|
10178
10726
|
type: "text",
|
|
@@ -10203,7 +10751,6 @@ const buildBasicUiSchema = (config) => {
|
|
|
10203
10751
|
return {
|
|
10204
10752
|
"type": "HorizontalLayout",
|
|
10205
10753
|
pageName: `${config.name}`,
|
|
10206
|
-
heading: `${config.label}`,
|
|
10207
10754
|
"elements": []
|
|
10208
10755
|
};
|
|
10209
10756
|
};
|
|
@@ -10360,7 +10907,7 @@ var emptyBox = {
|
|
|
10360
10907
|
widget: "EmptyBox"
|
|
10361
10908
|
},
|
|
10362
10909
|
config: {
|
|
10363
|
-
layout: { xs:
|
|
10910
|
+
layout: { xs: 12, sm: 12, md: 5.5, lg: 5.5 },
|
|
10364
10911
|
main: {},
|
|
10365
10912
|
style: {}
|
|
10366
10913
|
}
|
|
@@ -10739,7 +11286,7 @@ const buildUiSchema = (config) => {
|
|
|
10739
11286
|
elements = RunnerBoyProgressbar(config, componentScope);
|
|
10740
11287
|
break;
|
|
10741
11288
|
case "WrapperSection":
|
|
10742
|
-
elements = buildWrapperSection(config
|
|
11289
|
+
elements = buildWrapperSection(config);
|
|
10743
11290
|
break;
|
|
10744
11291
|
case "Text":
|
|
10745
11292
|
elements = buildTextField(config, componentScope);
|