impaktapps-ui-builder 0.0.382-alpha.60 → 0.0.382-alpha.6000
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 +1839 -1272
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +15 -15
- 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/card.d.ts +12 -10
- 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/graph.d.ts +108 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +8 -5
- 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/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +0 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +0 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +26 -30
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +21 -30
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +6 -6
- 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/card.ts +10 -9
- 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 +125 -99
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +108 -108
- package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +9 -5
- 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 +440 -448
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +515 -456
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +367 -520
- 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/events.ts +4 -14
- package/src/impaktapps-ui-builder/runtime/services/service.ts +0 -5
|
@@ -36,396 +36,555 @@ const PageMasterSchema = {
|
|
|
36
36
|
},
|
|
37
37
|
required: ["label", "name"]
|
|
38
38
|
};
|
|
39
|
-
const PageMasterUiSchema =
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
39
|
+
const PageMasterUiSchema = {
|
|
40
|
+
type: "HorizontalLayout",
|
|
41
|
+
elements: [
|
|
42
|
+
{
|
|
43
|
+
type: "WrapperLayout",
|
|
44
|
+
config: {
|
|
45
|
+
main: {
|
|
46
|
+
rowSpacing: 1,
|
|
47
|
+
header: true
|
|
48
|
+
},
|
|
49
|
+
defaultStyle: true
|
|
50
|
+
},
|
|
51
|
+
elements: [
|
|
52
|
+
{
|
|
53
|
+
type: "Control",
|
|
54
|
+
scope: "#/properties/pageMaster",
|
|
55
|
+
options: {
|
|
56
|
+
widget: "Box"
|
|
51
57
|
},
|
|
52
|
-
|
|
58
|
+
config: {
|
|
59
|
+
layout: 8,
|
|
60
|
+
main: {
|
|
61
|
+
heading: "Page Master"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
53
64
|
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
65
|
+
{
|
|
66
|
+
type: "Control",
|
|
67
|
+
scope: "#/properties/Back_Button",
|
|
68
|
+
options: {
|
|
69
|
+
widget: "IconButton"
|
|
70
|
+
},
|
|
71
|
+
config: {
|
|
72
|
+
layout: 3,
|
|
73
|
+
main: {
|
|
74
|
+
icon: "BackIcon",
|
|
75
|
+
styleDefault: true,
|
|
76
|
+
size: "small",
|
|
77
|
+
onClick: "backHandler",
|
|
78
|
+
tooltipMessage: "Back"
|
|
60
79
|
},
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
main: {
|
|
64
|
-
label: "Name",
|
|
65
|
-
options: [],
|
|
66
|
-
color: "secondary",
|
|
67
|
-
errorMessage: "Name should be start with 'page_'",
|
|
68
|
-
helperText: 'Name should be start with "page_"',
|
|
69
|
-
required: true
|
|
70
|
-
}
|
|
80
|
+
style: {
|
|
81
|
+
float: "right"
|
|
71
82
|
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
type: "WrapperLayout",
|
|
89
|
+
config: {
|
|
90
|
+
main: {
|
|
91
|
+
label: "Page Template",
|
|
92
|
+
divider: true
|
|
93
|
+
},
|
|
94
|
+
defaultStyle: true
|
|
95
|
+
},
|
|
96
|
+
elements: [
|
|
97
|
+
{
|
|
98
|
+
type: "Control",
|
|
99
|
+
scope: "#/properties/name",
|
|
100
|
+
options: {
|
|
101
|
+
widget: "InputField"
|
|
72
102
|
},
|
|
73
|
-
{
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
label: "Label",
|
|
83
|
-
options: [],
|
|
84
|
-
color: "secondary",
|
|
85
|
-
required: true
|
|
86
|
-
}
|
|
103
|
+
config: {
|
|
104
|
+
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
105
|
+
main: {
|
|
106
|
+
label: "Name",
|
|
107
|
+
options: [],
|
|
108
|
+
color: "secondary",
|
|
109
|
+
errorMessage: "Name should be start with 'page_'",
|
|
110
|
+
helperText: 'Name should be start with "page_"',
|
|
111
|
+
required: true
|
|
87
112
|
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
type: "Control",
|
|
117
|
+
scope: "#/properties/label",
|
|
118
|
+
options: {
|
|
119
|
+
widget: "InputField"
|
|
88
120
|
},
|
|
89
|
-
{
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
121
|
+
config: {
|
|
122
|
+
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
123
|
+
main: {
|
|
124
|
+
label: "Label",
|
|
125
|
+
options: [],
|
|
126
|
+
color: "secondary",
|
|
127
|
+
required: true
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
type: "TabLayout",
|
|
135
|
+
config: {
|
|
136
|
+
main: {
|
|
137
|
+
tabLabels: ["Components", "events"],
|
|
138
|
+
divider: true
|
|
139
|
+
},
|
|
140
|
+
defaultStyle: true
|
|
141
|
+
},
|
|
142
|
+
elements: [
|
|
143
|
+
{
|
|
144
|
+
type: "WrapperLayout",
|
|
145
|
+
config: {
|
|
146
|
+
main: {
|
|
147
|
+
divider: true
|
|
94
148
|
},
|
|
95
|
-
|
|
96
|
-
|
|
149
|
+
wrapperStyle: {
|
|
150
|
+
border: "1px solid gray"
|
|
97
151
|
}
|
|
98
152
|
},
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
153
|
+
elements: [
|
|
154
|
+
{
|
|
155
|
+
type: "Control",
|
|
156
|
+
scope: "#/properties/heading",
|
|
157
|
+
options: {
|
|
158
|
+
widget: "Box"
|
|
105
159
|
},
|
|
106
|
-
|
|
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
|
+
}
|
|
107
172
|
},
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
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"
|
|
114
187
|
},
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
]
|
|
141
|
-
},
|
|
142
|
-
disableAction: true,
|
|
143
|
-
disableSelection: true,
|
|
144
|
-
enableDrag: true
|
|
145
|
-
}
|
|
188
|
+
style: {
|
|
189
|
+
float: "right"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
type: "Control",
|
|
195
|
+
scope: "#/properties/elements",
|
|
196
|
+
options: {
|
|
197
|
+
widget: "Table"
|
|
198
|
+
},
|
|
199
|
+
config: {
|
|
200
|
+
main: {
|
|
201
|
+
disableAction: true,
|
|
202
|
+
disableSelection: true,
|
|
203
|
+
enableDrag: true
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
elements: [
|
|
207
|
+
{
|
|
208
|
+
accessorKey: "name",
|
|
209
|
+
header: "Name"
|
|
146
210
|
},
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
main: {
|
|
168
|
-
icon: "EditIcon",
|
|
169
|
-
onClick: "Edit_Components",
|
|
170
|
-
tooltipMessage: "Edit This Record"
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
header: "Delete",
|
|
177
|
-
field: "Reject_Records",
|
|
178
|
-
flex: 1,
|
|
179
|
-
widget: {
|
|
180
|
-
type: "Control",
|
|
181
|
-
scope: "#/properties/RejectButton",
|
|
182
|
-
options: {
|
|
183
|
-
widget: "IconButton"
|
|
184
|
-
},
|
|
185
|
-
config: {
|
|
186
|
-
main: {
|
|
187
|
-
icon: "RejectIcon",
|
|
188
|
-
color: "error",
|
|
189
|
-
onClick: "Delete_Components",
|
|
190
|
-
tooltipMessage: "Reject This Record"
|
|
191
|
-
}
|
|
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"
|
|
192
231
|
}
|
|
193
232
|
}
|
|
194
233
|
}
|
|
195
|
-
]
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
type: "Control",
|
|
199
|
-
scope: "#/properties/events",
|
|
200
|
-
options: {
|
|
201
|
-
widget: "Table"
|
|
202
234
|
},
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
widget: "IconButton"
|
|
213
|
-
},
|
|
214
|
-
config: {
|
|
215
|
-
main: {
|
|
216
|
-
onClick: "eventAddHandler",
|
|
217
|
-
size: "small",
|
|
218
|
-
icon: "AddIcon",
|
|
219
|
-
iconLabel: "Add New",
|
|
220
|
-
styleDefault: true
|
|
221
|
-
},
|
|
222
|
-
style: {
|
|
223
|
-
mt: "6px"
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
]
|
|
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"
|
|
229
244
|
},
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
{
|
|
237
|
-
accessorKey: "eventType",
|
|
238
|
-
header: "Event Type"
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
accessorKey: "Handler",
|
|
242
|
-
header: "Handler"
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
accessorKey: "Edit_Approve_Records",
|
|
246
|
-
header: "Edit Widget",
|
|
247
|
-
widget: {
|
|
248
|
-
type: "Control",
|
|
249
|
-
scope: "#/properties/Edit_Records",
|
|
250
|
-
options: {
|
|
251
|
-
widget: "IconButton"
|
|
252
|
-
},
|
|
253
|
-
config: {
|
|
254
|
-
main: {
|
|
255
|
-
size: "small",
|
|
256
|
-
icon: "EditIcon",
|
|
257
|
-
tooltipMessage: "Edit This Record",
|
|
258
|
-
onClick: "editEvent"
|
|
259
|
-
},
|
|
260
|
-
style: {
|
|
261
|
-
color: "#3949ab"
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
accessorKey: "Reject_Records",
|
|
268
|
-
header: "Delete",
|
|
269
|
-
widget: {
|
|
270
|
-
type: "Control",
|
|
271
|
-
scope: "#/properties/RejectButton",
|
|
272
|
-
options: {
|
|
273
|
-
widget: "IconButton"
|
|
274
|
-
},
|
|
275
|
-
config: {
|
|
276
|
-
main: {
|
|
277
|
-
icon: "RejectIcon",
|
|
278
|
-
color: "error",
|
|
279
|
-
tooltipMessage: "Reject This Record",
|
|
280
|
-
onClick: "deleteEvent"
|
|
281
|
-
}
|
|
245
|
+
config: {
|
|
246
|
+
main: {
|
|
247
|
+
icon: "RejectIcon",
|
|
248
|
+
color: "error",
|
|
249
|
+
onClick: "deletePopUpComponent",
|
|
250
|
+
tooltipMessage: "Reject This Record"
|
|
282
251
|
}
|
|
283
252
|
}
|
|
284
253
|
}
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
]
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
type: "Control",
|
|
291
|
-
scope: "#/properties/btn",
|
|
292
|
-
options: {
|
|
293
|
-
widget: "Button"
|
|
294
|
-
},
|
|
295
|
-
config: {
|
|
296
|
-
layout: 11.9,
|
|
297
|
-
main: {
|
|
298
|
-
name: "Save",
|
|
299
|
-
startIcon: "ApproveIcon",
|
|
300
|
-
variant: "contained",
|
|
301
|
-
type: "text",
|
|
302
|
-
onClick: "saveHandler",
|
|
303
|
-
size: "medium"
|
|
304
|
-
},
|
|
305
|
-
style: {
|
|
306
|
-
width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
|
|
307
|
-
float: "right"
|
|
308
|
-
}
|
|
254
|
+
}
|
|
255
|
+
]
|
|
309
256
|
}
|
|
310
|
-
|
|
311
|
-
]
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
type: "Control",
|
|
315
|
-
scope: "#/properties/notify",
|
|
316
|
-
options: {
|
|
317
|
-
widget: "Notify"
|
|
318
|
-
},
|
|
319
|
-
layout: 6
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
type: "HorizontalLayout",
|
|
323
|
-
config: {
|
|
324
|
-
layout: 12,
|
|
325
|
-
style: {
|
|
326
|
-
position: "absolute",
|
|
327
|
-
bottom: 5,
|
|
328
|
-
overflow: "hidden"
|
|
329
|
-
}
|
|
257
|
+
]
|
|
330
258
|
},
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
widget: "Box"
|
|
259
|
+
{
|
|
260
|
+
type: "WrapperLayout",
|
|
261
|
+
config: {
|
|
262
|
+
main: {
|
|
263
|
+
divider: true
|
|
337
264
|
},
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
main: {
|
|
341
|
-
heading: "Copywriter@ACT21.IO"
|
|
342
|
-
},
|
|
343
|
-
style: {
|
|
344
|
-
color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
|
|
345
|
-
fontSize: "12px",
|
|
346
|
-
textAlign: "center"
|
|
347
|
-
}
|
|
265
|
+
wrapperStyle: {
|
|
266
|
+
border: "1px solid gray"
|
|
348
267
|
}
|
|
349
268
|
},
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
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
|
+
}
|
|
355
288
|
},
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
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"
|
|
362
303
|
},
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
style: {
|
|
366
|
-
flexGrow: 1
|
|
367
|
-
}
|
|
304
|
+
style: {
|
|
305
|
+
float: "right"
|
|
368
306
|
}
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
type: "Control",
|
|
311
|
+
scope: "#/properties/events",
|
|
312
|
+
options: {
|
|
313
|
+
widget: "Table"
|
|
369
314
|
},
|
|
370
|
-
{
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
315
|
+
config: {
|
|
316
|
+
main: {
|
|
317
|
+
disableAction: true,
|
|
318
|
+
disableSelection: true,
|
|
319
|
+
enableDrag: true
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
elements: [
|
|
323
|
+
{
|
|
324
|
+
accessorKey: "eventType",
|
|
325
|
+
header: "Event Type"
|
|
375
326
|
},
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
327
|
+
{
|
|
328
|
+
accessorKey: "Handler",
|
|
329
|
+
header: "Handler"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
accessorKey: "Edit_Approve_Records",
|
|
333
|
+
header: "Edit Widget",
|
|
334
|
+
widget: {
|
|
335
|
+
type: "Control",
|
|
336
|
+
scope: "#/properties/Edit_Records",
|
|
337
|
+
options: {
|
|
338
|
+
widget: "IconButton"
|
|
339
|
+
},
|
|
340
|
+
config: {
|
|
341
|
+
main: {
|
|
342
|
+
color: "info",
|
|
343
|
+
size: "small",
|
|
344
|
+
icon: "EditIcon",
|
|
345
|
+
tooltipMessage: "Edit This Record",
|
|
346
|
+
onClick: "editEvent"
|
|
347
|
+
},
|
|
348
|
+
style: {
|
|
349
|
+
color: "#3949ab"
|
|
350
|
+
}
|
|
393
351
|
}
|
|
394
352
|
}
|
|
395
|
-
}
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
type: "Control",
|
|
399
|
-
scope: "#/properties/text",
|
|
400
|
-
options: {
|
|
401
|
-
widget: "Box"
|
|
402
353
|
},
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
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
|
+
}
|
|
418
370
|
}
|
|
419
371
|
}
|
|
420
372
|
}
|
|
421
|
-
|
|
422
|
-
|
|
373
|
+
]
|
|
374
|
+
}
|
|
375
|
+
]
|
|
376
|
+
}
|
|
377
|
+
]
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
type: "Control",
|
|
381
|
+
scope: "#/properties/popUpPageMasterEvent",
|
|
382
|
+
options: {
|
|
383
|
+
widget: "PopUp"
|
|
384
|
+
},
|
|
385
|
+
config: {
|
|
386
|
+
layout: {
|
|
387
|
+
xs: 12,
|
|
388
|
+
sm: 12,
|
|
389
|
+
md: 12,
|
|
390
|
+
lg: 12
|
|
391
|
+
},
|
|
392
|
+
main: {}
|
|
393
|
+
},
|
|
394
|
+
elements: [
|
|
395
|
+
{
|
|
396
|
+
type: "Control",
|
|
397
|
+
scope: "#/properties/label",
|
|
398
|
+
options: {
|
|
399
|
+
widget: "Box"
|
|
400
|
+
},
|
|
401
|
+
config: {
|
|
402
|
+
layout: 12,
|
|
403
|
+
main: {
|
|
404
|
+
heading: "Are you sure you want to delete ?"
|
|
405
|
+
},
|
|
406
|
+
style: {
|
|
407
|
+
marginTop: "-40px"
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
type: "Control",
|
|
413
|
+
scope: "#/properties/EmptyBox",
|
|
414
|
+
options: {
|
|
415
|
+
widget: "EmptyBox"
|
|
416
|
+
},
|
|
417
|
+
config: {
|
|
418
|
+
main: {},
|
|
419
|
+
layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 }
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
type: "Control",
|
|
424
|
+
scope: "#/properties/ConfirmDeleteEventButton",
|
|
425
|
+
options: {
|
|
426
|
+
widget: "Button"
|
|
427
|
+
},
|
|
428
|
+
config: {
|
|
429
|
+
layout: 3,
|
|
430
|
+
main: {
|
|
431
|
+
name: "Yes",
|
|
432
|
+
startIcon: "ApproveIcon",
|
|
433
|
+
variant: "contained",
|
|
434
|
+
color: "info",
|
|
435
|
+
type: "text",
|
|
436
|
+
onClick: "deleteEvent",
|
|
437
|
+
size: "small"
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
type: "Control",
|
|
443
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
444
|
+
options: {
|
|
445
|
+
widget: "Button"
|
|
446
|
+
},
|
|
447
|
+
config: {
|
|
448
|
+
layout: 3,
|
|
449
|
+
main: {
|
|
450
|
+
name: "No",
|
|
451
|
+
startIcon: "ApproveIcon",
|
|
452
|
+
variant: "contained",
|
|
453
|
+
color: "info",
|
|
454
|
+
type: "text",
|
|
455
|
+
onClick: "deletePopUpEvent",
|
|
456
|
+
size: "small"
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
]
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
type: "Control",
|
|
464
|
+
scope: "#/properties/popUpPageMasterComponent",
|
|
465
|
+
options: {
|
|
466
|
+
widget: "PopUp"
|
|
467
|
+
},
|
|
468
|
+
config: {
|
|
469
|
+
layout: {
|
|
470
|
+
xs: 12,
|
|
471
|
+
sm: 12,
|
|
472
|
+
md: 12,
|
|
473
|
+
lg: 12
|
|
474
|
+
},
|
|
475
|
+
main: {}
|
|
476
|
+
},
|
|
477
|
+
elements: [
|
|
478
|
+
{
|
|
479
|
+
type: "Control",
|
|
480
|
+
scope: "#/properties/label",
|
|
481
|
+
options: {
|
|
482
|
+
widget: "Box"
|
|
483
|
+
},
|
|
484
|
+
config: {
|
|
485
|
+
layout: 12,
|
|
486
|
+
main: {
|
|
487
|
+
heading: "Are you sure you want to delete ?"
|
|
488
|
+
},
|
|
489
|
+
style: {
|
|
490
|
+
marginTop: "-40px"
|
|
491
|
+
}
|
|
423
492
|
}
|
|
424
|
-
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
type: "Control",
|
|
496
|
+
scope: "#/properties/EmptyBox",
|
|
497
|
+
options: {
|
|
498
|
+
widget: "EmptyBox"
|
|
499
|
+
},
|
|
500
|
+
config: {
|
|
501
|
+
main: {},
|
|
502
|
+
layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 }
|
|
503
|
+
}
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
type: "Control",
|
|
507
|
+
scope: "#/properties/ConfirmDeleteCompButton",
|
|
508
|
+
options: {
|
|
509
|
+
widget: "Button"
|
|
510
|
+
},
|
|
511
|
+
config: {
|
|
512
|
+
layout: 3,
|
|
513
|
+
main: {
|
|
514
|
+
name: "Yes",
|
|
515
|
+
startIcon: "ApproveIcon",
|
|
516
|
+
variant: "contained",
|
|
517
|
+
color: "info",
|
|
518
|
+
type: "text",
|
|
519
|
+
onClick: "Delete_Components",
|
|
520
|
+
size: "small"
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
type: "Control",
|
|
526
|
+
scope: "#/properties/CancelDeleteCompButton",
|
|
527
|
+
options: {
|
|
528
|
+
widget: "Button"
|
|
529
|
+
},
|
|
530
|
+
config: {
|
|
531
|
+
layout: 3,
|
|
532
|
+
main: {
|
|
533
|
+
name: "No",
|
|
534
|
+
startIcon: "ApproveIcon",
|
|
535
|
+
variant: "contained",
|
|
536
|
+
color: "info",
|
|
537
|
+
type: "text",
|
|
538
|
+
onClick: "deletePopUpComponent",
|
|
539
|
+
size: "small"
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
]
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
type: "Control",
|
|
547
|
+
scope: "#/properties/btn",
|
|
548
|
+
options: {
|
|
549
|
+
widget: "EmptyBox"
|
|
550
|
+
},
|
|
551
|
+
config: {
|
|
552
|
+
layout: { xs: 0, sm: 0, md: 8, lg: 7 }
|
|
425
553
|
}
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
type: "Control",
|
|
557
|
+
scope: "#/properties/btn",
|
|
558
|
+
options: {
|
|
559
|
+
widget: "Button"
|
|
560
|
+
},
|
|
561
|
+
config: {
|
|
562
|
+
layout: 11.7,
|
|
563
|
+
main: {
|
|
564
|
+
name: "Save",
|
|
565
|
+
startIcon: "ApproveIcon",
|
|
566
|
+
variant: "contained",
|
|
567
|
+
color: "info",
|
|
568
|
+
type: "text",
|
|
569
|
+
onClick: "saveHandler",
|
|
570
|
+
size: "small"
|
|
571
|
+
},
|
|
572
|
+
style: {
|
|
573
|
+
marginBottom: "8px",
|
|
574
|
+
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
|
|
575
|
+
float: "right"
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
type: "Control",
|
|
581
|
+
scope: "#/properties/notify",
|
|
582
|
+
options: {
|
|
583
|
+
widget: "Notify"
|
|
584
|
+
},
|
|
585
|
+
layout: 6
|
|
586
|
+
}
|
|
587
|
+
]
|
|
429
588
|
};
|
|
430
589
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
431
590
|
var lodash = { exports: {} };
|
|
@@ -1124,7 +1283,7 @@ var lodash = { exports: {} };
|
|
|
1124
1283
|
}
|
|
1125
1284
|
var runInContext = function runInContext2(context) {
|
|
1126
1285
|
context = context == null ? root : _2.defaults(root.Object(), context, _2.pick(root, contextProps));
|
|
1127
|
-
var Array2 = context.Array, Date = context.Date,
|
|
1286
|
+
var Array2 = context.Array, Date = context.Date, Error = context.Error, Function2 = context.Function, Math = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String = context.String, TypeError = context.TypeError;
|
|
1128
1287
|
var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
|
|
1129
1288
|
var coreJsData = context["__core-js_shared__"];
|
|
1130
1289
|
var funcToString = funcProto.toString;
|
|
@@ -1609,7 +1768,7 @@ var lodash = { exports: {} };
|
|
|
1609
1768
|
if (typeof func != "function") {
|
|
1610
1769
|
throw new TypeError(FUNC_ERROR_TEXT);
|
|
1611
1770
|
}
|
|
1612
|
-
return
|
|
1771
|
+
return setTimeout(function() {
|
|
1613
1772
|
func.apply(undefined$1, args);
|
|
1614
1773
|
}, wait);
|
|
1615
1774
|
}
|
|
@@ -3440,7 +3599,7 @@ var lodash = { exports: {} };
|
|
|
3440
3599
|
return object[key];
|
|
3441
3600
|
}
|
|
3442
3601
|
var setData = shortOut(baseSetData);
|
|
3443
|
-
var
|
|
3602
|
+
var setTimeout = ctxSetTimeout || function(func, wait) {
|
|
3444
3603
|
return root.setTimeout(func, wait);
|
|
3445
3604
|
};
|
|
3446
3605
|
var setToString = shortOut(baseSetToString);
|
|
@@ -4232,7 +4391,7 @@ var lodash = { exports: {} };
|
|
|
4232
4391
|
}
|
|
4233
4392
|
function leadingEdge(time) {
|
|
4234
4393
|
lastInvokeTime = time;
|
|
4235
|
-
timerId =
|
|
4394
|
+
timerId = setTimeout(timerExpired, wait);
|
|
4236
4395
|
return leading ? invokeFunc(time) : result2;
|
|
4237
4396
|
}
|
|
4238
4397
|
function remainingWait(time) {
|
|
@@ -4248,7 +4407,7 @@ var lodash = { exports: {} };
|
|
|
4248
4407
|
if (shouldInvoke(time)) {
|
|
4249
4408
|
return trailingEdge(time);
|
|
4250
4409
|
}
|
|
4251
|
-
timerId =
|
|
4410
|
+
timerId = setTimeout(timerExpired, remainingWait(time));
|
|
4252
4411
|
}
|
|
4253
4412
|
function trailingEdge(time) {
|
|
4254
4413
|
timerId = undefined$1;
|
|
@@ -4279,12 +4438,12 @@ var lodash = { exports: {} };
|
|
|
4279
4438
|
}
|
|
4280
4439
|
if (maxing) {
|
|
4281
4440
|
clearTimeout(timerId);
|
|
4282
|
-
timerId =
|
|
4441
|
+
timerId = setTimeout(timerExpired, wait);
|
|
4283
4442
|
return invokeFunc(lastCallTime);
|
|
4284
4443
|
}
|
|
4285
4444
|
}
|
|
4286
4445
|
if (timerId === undefined$1) {
|
|
4287
|
-
timerId =
|
|
4446
|
+
timerId = setTimeout(timerExpired, wait);
|
|
4288
4447
|
}
|
|
4289
4448
|
return result2;
|
|
4290
4449
|
}
|
|
@@ -4527,7 +4686,7 @@ var lodash = { exports: {} };
|
|
|
4527
4686
|
}
|
|
4528
4687
|
function isNative(value) {
|
|
4529
4688
|
if (isMaskable(value)) {
|
|
4530
|
-
throw new
|
|
4689
|
+
throw new Error(CORE_ERROR_TEXT);
|
|
4531
4690
|
}
|
|
4532
4691
|
return baseIsNative(value);
|
|
4533
4692
|
}
|
|
@@ -5068,7 +5227,7 @@ var lodash = { exports: {} };
|
|
|
5068
5227
|
if (!variable) {
|
|
5069
5228
|
source = "with (obj) {\n" + source + "\n}\n";
|
|
5070
5229
|
} else if (reForbiddenIdentifierChars.test(variable)) {
|
|
5071
|
-
throw new
|
|
5230
|
+
throw new Error(INVALID_TEMPL_VAR_ERROR_TEXT);
|
|
5072
5231
|
}
|
|
5073
5232
|
source = (isEvaluating ? source.replace(reEmptyStringLeading, "") : source).replace(reEmptyStringMiddle, "$1").replace(reEmptyStringTrailing, "$1;");
|
|
5074
5233
|
source = "function(" + (variable || "obj") + ") {\n" + (variable ? "" : "obj || (obj = {});\n") + "var __t, __p = ''" + (isEscaping ? ", __e = _.escape" : "") + (isEvaluating ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n" : ";\n") + source + "return __p\n}";
|
|
@@ -5187,7 +5346,7 @@ var lodash = { exports: {} };
|
|
|
5187
5346
|
try {
|
|
5188
5347
|
return apply(func, undefined$1, args);
|
|
5189
5348
|
} catch (e) {
|
|
5190
|
-
return isError(e) ? e : new
|
|
5349
|
+
return isError(e) ? e : new Error(e);
|
|
5191
5350
|
}
|
|
5192
5351
|
});
|
|
5193
5352
|
var bindAll = flatRest(function(object, methodNames) {
|
|
@@ -6159,303 +6318,451 @@ const ComponentSchema = {
|
|
|
6159
6318
|
},
|
|
6160
6319
|
required: ["name"]
|
|
6161
6320
|
};
|
|
6162
|
-
const componentBasicUiSchema =
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
|
|
6321
|
+
const componentBasicUiSchema = {
|
|
6322
|
+
type: "HorizontalLayout",
|
|
6323
|
+
elements: [
|
|
6324
|
+
{
|
|
6325
|
+
type: "WrapperLayout",
|
|
6326
|
+
config: {
|
|
6327
|
+
main: {
|
|
6328
|
+
rowSpacing: 1,
|
|
6329
|
+
header: true
|
|
6330
|
+
},
|
|
6331
|
+
defaultStyle: true
|
|
6332
|
+
},
|
|
6333
|
+
elements: [
|
|
6334
|
+
{
|
|
6335
|
+
type: "Control",
|
|
6336
|
+
scope: "#/properties/Component",
|
|
6337
|
+
options: {
|
|
6338
|
+
widget: "Box"
|
|
6339
|
+
},
|
|
6340
|
+
config: {
|
|
6341
|
+
layout: { xs: 12, sm: 12, md: 2 },
|
|
6342
|
+
main: {
|
|
6343
|
+
heading: "Component"
|
|
6344
|
+
},
|
|
6345
|
+
style: {
|
|
6346
|
+
"float": "left"
|
|
6347
|
+
}
|
|
6175
6348
|
}
|
|
6176
6349
|
},
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
|
|
6350
|
+
{
|
|
6351
|
+
type: "Control",
|
|
6352
|
+
scope: "#/properties/pageName",
|
|
6353
|
+
options: {
|
|
6354
|
+
widget: "Box"
|
|
6355
|
+
},
|
|
6356
|
+
config: {
|
|
6357
|
+
layout: { xs: 7, sm: 7, md: 9 },
|
|
6358
|
+
main: {
|
|
6359
|
+
heading: " "
|
|
6360
|
+
},
|
|
6361
|
+
style: {
|
|
6362
|
+
float: "right",
|
|
6363
|
+
width: "auto",
|
|
6364
|
+
fontSize: "12px",
|
|
6365
|
+
color: "gray",
|
|
6366
|
+
paddingTop: "10px"
|
|
6367
|
+
}
|
|
6368
|
+
}
|
|
6369
|
+
},
|
|
6370
|
+
{
|
|
6371
|
+
type: "Control",
|
|
6372
|
+
scope: "#/properties/Back_Button",
|
|
6373
|
+
options: {
|
|
6374
|
+
widget: "IconButton"
|
|
6375
|
+
},
|
|
6376
|
+
config: {
|
|
6377
|
+
layout: { xs: 2, sm: 2, md: 0.5 },
|
|
6378
|
+
main: {
|
|
6379
|
+
icon: "BackIcon",
|
|
6380
|
+
styleDefault: true,
|
|
6381
|
+
size: "small",
|
|
6382
|
+
onClick: "backHandler",
|
|
6383
|
+
tooltipMessage: "Back"
|
|
6384
|
+
},
|
|
6385
|
+
style: {
|
|
6386
|
+
float: "right"
|
|
6387
|
+
}
|
|
6388
|
+
}
|
|
6389
|
+
}
|
|
6390
|
+
]
|
|
6391
|
+
},
|
|
6392
|
+
{
|
|
6393
|
+
type: "TabLayout",
|
|
6394
|
+
config: {
|
|
6395
|
+
main: {
|
|
6396
|
+
tabLabels: ["Core"],
|
|
6397
|
+
defaultStyle: true,
|
|
6398
|
+
id: `component`
|
|
6399
|
+
}
|
|
6400
|
+
},
|
|
6401
|
+
elements: [
|
|
6402
|
+
{
|
|
6403
|
+
type: "HorizontalLayout",
|
|
6404
|
+
elements: [
|
|
6405
|
+
{
|
|
6406
|
+
type: "Control",
|
|
6407
|
+
scope: "#/properties/type",
|
|
6408
|
+
options: {
|
|
6409
|
+
widget: "SelectInputField"
|
|
6410
|
+
},
|
|
6411
|
+
config: {
|
|
6412
|
+
layout: { xs: 12, sm: 12, md: 6, lg: 6 },
|
|
6413
|
+
main: {
|
|
6414
|
+
label: "Type"
|
|
6192
6415
|
}
|
|
6416
|
+
}
|
|
6417
|
+
},
|
|
6418
|
+
{
|
|
6419
|
+
type: "Control",
|
|
6420
|
+
scope: "#/properties/name",
|
|
6421
|
+
options: {
|
|
6422
|
+
widget: "InputField"
|
|
6193
6423
|
},
|
|
6194
|
-
{
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6424
|
+
config: {
|
|
6425
|
+
layout: {
|
|
6426
|
+
xs: 12,
|
|
6427
|
+
sm: 12,
|
|
6428
|
+
md: 6,
|
|
6429
|
+
lg: 6
|
|
6199
6430
|
},
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
color: "secondary",
|
|
6206
|
-
required: true
|
|
6207
|
-
}
|
|
6431
|
+
main: {
|
|
6432
|
+
label: "Name",
|
|
6433
|
+
options: [],
|
|
6434
|
+
color: "secondary",
|
|
6435
|
+
required: true
|
|
6208
6436
|
}
|
|
6437
|
+
}
|
|
6438
|
+
},
|
|
6439
|
+
{
|
|
6440
|
+
type: "Control",
|
|
6441
|
+
scope: "#/properties/label",
|
|
6442
|
+
options: {
|
|
6443
|
+
widget: "InputField"
|
|
6209
6444
|
},
|
|
6210
|
-
{
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6445
|
+
config: {
|
|
6446
|
+
layout: {
|
|
6447
|
+
xs: 12,
|
|
6448
|
+
sm: 12,
|
|
6449
|
+
md: 6,
|
|
6450
|
+
lg: 6
|
|
6215
6451
|
},
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
color: "secondary",
|
|
6222
|
-
required: true
|
|
6223
|
-
}
|
|
6452
|
+
main: {
|
|
6453
|
+
label: "Label",
|
|
6454
|
+
options: [],
|
|
6455
|
+
color: "secondary",
|
|
6456
|
+
required: true
|
|
6224
6457
|
}
|
|
6458
|
+
}
|
|
6459
|
+
},
|
|
6460
|
+
{
|
|
6461
|
+
type: "Control",
|
|
6462
|
+
scope: "#/properties/proc",
|
|
6463
|
+
config: {
|
|
6464
|
+
layout: { xs: 11, sm: 11, md: 6, lg: 6 }
|
|
6225
6465
|
},
|
|
6226
|
-
{
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
label: "Screen Size"
|
|
6244
|
-
}
|
|
6245
|
-
}
|
|
6466
|
+
options: {
|
|
6467
|
+
widget: "EmptyBox"
|
|
6468
|
+
}
|
|
6469
|
+
},
|
|
6470
|
+
{
|
|
6471
|
+
type: "Control",
|
|
6472
|
+
scope: "#/properties/layout",
|
|
6473
|
+
layout: 11.5,
|
|
6474
|
+
options: {
|
|
6475
|
+
detail: {
|
|
6476
|
+
type: "HorizontalLayout",
|
|
6477
|
+
elements: [
|
|
6478
|
+
{
|
|
6479
|
+
type: "Control",
|
|
6480
|
+
scope: "#/properties/key",
|
|
6481
|
+
options: {
|
|
6482
|
+
widget: "SelectInputField"
|
|
6246
6483
|
},
|
|
6247
|
-
{
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
|
|
6484
|
+
config: {
|
|
6485
|
+
layout: {
|
|
6486
|
+
xs: 11,
|
|
6487
|
+
sm: 11,
|
|
6488
|
+
md: 5.5,
|
|
6489
|
+
lg: 5.5
|
|
6252
6490
|
},
|
|
6253
|
-
|
|
6254
|
-
|
|
6255
|
-
main: {
|
|
6256
|
-
label: "Value",
|
|
6257
|
-
type: "number",
|
|
6258
|
-
helperText: "Number should be in range of 0 to 12",
|
|
6259
|
-
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6260
|
-
}
|
|
6491
|
+
main: {
|
|
6492
|
+
label: "Screen Size"
|
|
6261
6493
|
}
|
|
6494
|
+
}
|
|
6495
|
+
},
|
|
6496
|
+
{
|
|
6497
|
+
type: "Control",
|
|
6498
|
+
scope: "#/properties/value",
|
|
6499
|
+
options: {
|
|
6500
|
+
widget: "InputField"
|
|
6262
6501
|
},
|
|
6263
|
-
{
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6502
|
+
config: {
|
|
6503
|
+
layout: {
|
|
6504
|
+
xs: 11,
|
|
6505
|
+
sm: 11,
|
|
6506
|
+
md: 5.5,
|
|
6507
|
+
lg: 5.5
|
|
6268
6508
|
},
|
|
6269
|
-
|
|
6270
|
-
|
|
6509
|
+
main: {
|
|
6510
|
+
label: "Value",
|
|
6511
|
+
type: "number",
|
|
6512
|
+
helperText: "Number should be in range of 0 to 12",
|
|
6513
|
+
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6271
6514
|
}
|
|
6272
6515
|
}
|
|
6273
|
-
|
|
6274
|
-
|
|
6516
|
+
}
|
|
6517
|
+
]
|
|
6275
6518
|
}
|
|
6276
6519
|
}
|
|
6277
|
-
|
|
6520
|
+
}
|
|
6521
|
+
]
|
|
6522
|
+
}
|
|
6523
|
+
]
|
|
6524
|
+
},
|
|
6525
|
+
{
|
|
6526
|
+
type: "Control",
|
|
6527
|
+
scope: "#/properties/popUpComponentSection",
|
|
6528
|
+
options: {
|
|
6529
|
+
widget: "PopUp"
|
|
6530
|
+
},
|
|
6531
|
+
config: {
|
|
6532
|
+
layout: {
|
|
6533
|
+
xs: 12,
|
|
6534
|
+
sm: 12,
|
|
6535
|
+
md: 12,
|
|
6536
|
+
lg: 12
|
|
6537
|
+
},
|
|
6538
|
+
main: {}
|
|
6539
|
+
},
|
|
6540
|
+
elements: [
|
|
6541
|
+
{
|
|
6542
|
+
type: "Control",
|
|
6543
|
+
scope: "#/properties/label",
|
|
6544
|
+
options: {
|
|
6545
|
+
widget: "Box"
|
|
6546
|
+
},
|
|
6547
|
+
config: {
|
|
6548
|
+
layout: 12,
|
|
6549
|
+
main: {
|
|
6550
|
+
heading: "Are you sure you want to delete ?"
|
|
6551
|
+
},
|
|
6552
|
+
style: {
|
|
6553
|
+
marginTop: "-40px"
|
|
6554
|
+
}
|
|
6555
|
+
}
|
|
6556
|
+
},
|
|
6557
|
+
{
|
|
6558
|
+
type: "Control",
|
|
6559
|
+
scope: "#/properties/EmptyBox",
|
|
6560
|
+
options: {
|
|
6561
|
+
widget: "EmptyBox"
|
|
6562
|
+
},
|
|
6563
|
+
config: {
|
|
6564
|
+
main: {},
|
|
6565
|
+
layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 }
|
|
6566
|
+
}
|
|
6567
|
+
},
|
|
6568
|
+
{
|
|
6569
|
+
type: "Control",
|
|
6570
|
+
scope: "#/properties/ConfirmDeleteCompButton",
|
|
6571
|
+
options: {
|
|
6572
|
+
widget: "Button"
|
|
6573
|
+
},
|
|
6574
|
+
config: {
|
|
6575
|
+
layout: 3,
|
|
6576
|
+
main: {
|
|
6577
|
+
name: "Yes",
|
|
6578
|
+
startIcon: "ApproveIcon",
|
|
6579
|
+
variant: "contained",
|
|
6580
|
+
color: "info",
|
|
6581
|
+
type: "text",
|
|
6582
|
+
onClick: "deleteComponents",
|
|
6583
|
+
size: "small"
|
|
6584
|
+
}
|
|
6585
|
+
}
|
|
6586
|
+
},
|
|
6587
|
+
{
|
|
6588
|
+
type: "Control",
|
|
6589
|
+
scope: "#/properties/CancelDeleteCompButton",
|
|
6590
|
+
options: {
|
|
6591
|
+
widget: "Button"
|
|
6592
|
+
},
|
|
6593
|
+
config: {
|
|
6594
|
+
layout: 3,
|
|
6595
|
+
main: {
|
|
6596
|
+
name: "No",
|
|
6597
|
+
startIcon: "ApproveIcon",
|
|
6598
|
+
variant: "contained",
|
|
6599
|
+
color: "info",
|
|
6600
|
+
type: "text",
|
|
6601
|
+
onClick: "deletePopUpComponent",
|
|
6602
|
+
size: "small"
|
|
6603
|
+
}
|
|
6604
|
+
}
|
|
6605
|
+
}
|
|
6606
|
+
]
|
|
6607
|
+
},
|
|
6608
|
+
{
|
|
6609
|
+
type: "Control",
|
|
6610
|
+
scope: "#/properties/popUpEventSection",
|
|
6611
|
+
options: {
|
|
6612
|
+
widget: "PopUp"
|
|
6613
|
+
},
|
|
6614
|
+
config: {
|
|
6615
|
+
layout: {
|
|
6616
|
+
xs: 12,
|
|
6617
|
+
sm: 12,
|
|
6618
|
+
md: 12,
|
|
6619
|
+
lg: 12
|
|
6620
|
+
},
|
|
6621
|
+
main: {}
|
|
6622
|
+
},
|
|
6623
|
+
elements: [
|
|
6624
|
+
{
|
|
6625
|
+
type: "Control",
|
|
6626
|
+
scope: "#/properties/label",
|
|
6627
|
+
options: {
|
|
6628
|
+
widget: "Box"
|
|
6629
|
+
},
|
|
6630
|
+
config: {
|
|
6631
|
+
layout: 12,
|
|
6632
|
+
main: {
|
|
6633
|
+
heading: "Are you sure you want to delete ?"
|
|
6634
|
+
},
|
|
6635
|
+
style: {
|
|
6636
|
+
marginTop: "-40px"
|
|
6637
|
+
}
|
|
6278
6638
|
}
|
|
6279
|
-
]
|
|
6280
|
-
},
|
|
6281
|
-
{
|
|
6282
|
-
type: "Control",
|
|
6283
|
-
scope: "#/properties/EmptyBox",
|
|
6284
|
-
options: {
|
|
6285
|
-
widget: "EmptyBox"
|
|
6286
|
-
},
|
|
6287
|
-
config: {
|
|
6288
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6289
|
-
}
|
|
6290
|
-
},
|
|
6291
|
-
{
|
|
6292
|
-
type: "Control",
|
|
6293
|
-
scope: "#/properties/EmptyBox",
|
|
6294
|
-
options: {
|
|
6295
|
-
widget: "EmptyBox"
|
|
6296
6639
|
},
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
|
|
6640
|
+
{
|
|
6641
|
+
type: "Control",
|
|
6642
|
+
scope: "#/properties/EmptyBox",
|
|
6643
|
+
options: {
|
|
6644
|
+
widget: "EmptyBox"
|
|
6645
|
+
},
|
|
6646
|
+
config: {
|
|
6647
|
+
main: {},
|
|
6648
|
+
layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 }
|
|
6649
|
+
}
|
|
6306
6650
|
},
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
|
|
6312
|
-
variant: "contained",
|
|
6313
|
-
type: "text",
|
|
6314
|
-
onClick: "okHandler",
|
|
6315
|
-
size: "medium"
|
|
6651
|
+
{
|
|
6652
|
+
type: "Control",
|
|
6653
|
+
scope: "#/properties/ConfirmDeleteEventButton",
|
|
6654
|
+
options: {
|
|
6655
|
+
widget: "Button"
|
|
6316
6656
|
},
|
|
6317
|
-
|
|
6318
|
-
|
|
6657
|
+
config: {
|
|
6658
|
+
layout: 3,
|
|
6659
|
+
main: {
|
|
6660
|
+
name: "Yes",
|
|
6661
|
+
startIcon: "ApproveIcon",
|
|
6662
|
+
variant: "contained",
|
|
6663
|
+
color: "info",
|
|
6664
|
+
type: "text",
|
|
6665
|
+
onClick: "deleteEvent",
|
|
6666
|
+
size: "small"
|
|
6667
|
+
}
|
|
6319
6668
|
}
|
|
6320
|
-
}
|
|
6321
|
-
},
|
|
6322
|
-
{
|
|
6323
|
-
type: "Control",
|
|
6324
|
-
scope: "#/properties/btnSubmit",
|
|
6325
|
-
options: {
|
|
6326
|
-
widget: "Button"
|
|
6327
6669
|
},
|
|
6328
|
-
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
variant: "contained",
|
|
6334
|
-
type: "text",
|
|
6335
|
-
onClick: "saveHandler",
|
|
6336
|
-
size: "medium"
|
|
6670
|
+
{
|
|
6671
|
+
type: "Control",
|
|
6672
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
6673
|
+
options: {
|
|
6674
|
+
widget: "Button"
|
|
6337
6675
|
},
|
|
6338
|
-
|
|
6339
|
-
|
|
6676
|
+
config: {
|
|
6677
|
+
layout: 3,
|
|
6678
|
+
main: {
|
|
6679
|
+
name: "No",
|
|
6680
|
+
startIcon: "ApproveIcon",
|
|
6681
|
+
variant: "contained",
|
|
6682
|
+
color: "info",
|
|
6683
|
+
type: "text",
|
|
6684
|
+
onClick: "deletePopUpEvent",
|
|
6685
|
+
size: "small"
|
|
6686
|
+
}
|
|
6340
6687
|
}
|
|
6341
6688
|
}
|
|
6689
|
+
]
|
|
6690
|
+
},
|
|
6691
|
+
{
|
|
6692
|
+
type: "Control",
|
|
6693
|
+
scope: "#/properties/proc",
|
|
6694
|
+
config: {
|
|
6695
|
+
layout: { xs: 11, sm: 11, md: 6, lg: 6 }
|
|
6342
6696
|
},
|
|
6343
|
-
{
|
|
6344
|
-
|
|
6345
|
-
|
|
6346
|
-
|
|
6347
|
-
|
|
6697
|
+
options: {
|
|
6698
|
+
widget: "EmptyBox"
|
|
6699
|
+
}
|
|
6700
|
+
},
|
|
6701
|
+
{
|
|
6702
|
+
type: "Control",
|
|
6703
|
+
scope: "#/properties/btn",
|
|
6704
|
+
options: {
|
|
6705
|
+
widget: "Button"
|
|
6706
|
+
},
|
|
6707
|
+
config: {
|
|
6708
|
+
layout: {
|
|
6709
|
+
xs: 11,
|
|
6710
|
+
sm: 11,
|
|
6711
|
+
md: 2.5,
|
|
6712
|
+
lg: 2.5
|
|
6348
6713
|
},
|
|
6349
|
-
|
|
6714
|
+
main: {
|
|
6715
|
+
name: "Ok",
|
|
6716
|
+
startIcon: "ApproveIcon",
|
|
6717
|
+
variant: "contained",
|
|
6718
|
+
color: "info",
|
|
6719
|
+
type: "text",
|
|
6720
|
+
onClick: "okHandler",
|
|
6721
|
+
size: "small"
|
|
6722
|
+
},
|
|
6723
|
+
style: {
|
|
6724
|
+
marginBottom: "8px",
|
|
6725
|
+
float: "right"
|
|
6726
|
+
}
|
|
6727
|
+
}
|
|
6728
|
+
},
|
|
6729
|
+
{
|
|
6730
|
+
type: "Control",
|
|
6731
|
+
scope: "#/properties/btnSubmit",
|
|
6732
|
+
options: {
|
|
6733
|
+
widget: "Button"
|
|
6350
6734
|
},
|
|
6351
|
-
{
|
|
6352
|
-
|
|
6353
|
-
|
|
6354
|
-
|
|
6355
|
-
|
|
6356
|
-
|
|
6357
|
-
bottom: 5,
|
|
6358
|
-
overflow: "hidden"
|
|
6359
|
-
}
|
|
6735
|
+
config: {
|
|
6736
|
+
layout: {
|
|
6737
|
+
xs: 11,
|
|
6738
|
+
sm: 11,
|
|
6739
|
+
md: 2.5,
|
|
6740
|
+
lg: 2.5
|
|
6360
6741
|
},
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
|
|
6375
|
-
fontSize: "12px",
|
|
6376
|
-
textAlign: "center"
|
|
6377
|
-
}
|
|
6378
|
-
}
|
|
6379
|
-
},
|
|
6380
|
-
{
|
|
6381
|
-
type: "HorizontalLayout",
|
|
6382
|
-
config: {
|
|
6383
|
-
layout: 2.5,
|
|
6384
|
-
style: {}
|
|
6385
|
-
},
|
|
6386
|
-
elements: [
|
|
6387
|
-
{
|
|
6388
|
-
type: "Control",
|
|
6389
|
-
scope: "#/properties/EmptyBox",
|
|
6390
|
-
options: {
|
|
6391
|
-
widget: "EmptyBox"
|
|
6392
|
-
},
|
|
6393
|
-
config: {
|
|
6394
|
-
layout: 6,
|
|
6395
|
-
style: {
|
|
6396
|
-
flexGrow: 1
|
|
6397
|
-
}
|
|
6398
|
-
}
|
|
6399
|
-
},
|
|
6400
|
-
{
|
|
6401
|
-
type: "Control",
|
|
6402
|
-
scope: "#/properties/backIcon",
|
|
6403
|
-
options: {
|
|
6404
|
-
widget: "Box"
|
|
6405
|
-
},
|
|
6406
|
-
config: {
|
|
6407
|
-
layout: 1,
|
|
6408
|
-
main: {
|
|
6409
|
-
iconName: "PrevIcon",
|
|
6410
|
-
onClick: "backHandler"
|
|
6411
|
-
},
|
|
6412
|
-
style: {
|
|
6413
|
-
fill: theme.palette.primary.main,
|
|
6414
|
-
width: 20,
|
|
6415
|
-
height: 20,
|
|
6416
|
-
display: "flex",
|
|
6417
|
-
alignItems: "center",
|
|
6418
|
-
justifyContent: "center",
|
|
6419
|
-
marginRight: "-8px",
|
|
6420
|
-
cursor: "pointer",
|
|
6421
|
-
":hover": {
|
|
6422
|
-
fill: theme.palette.primary.dark
|
|
6423
|
-
}
|
|
6424
|
-
}
|
|
6425
|
-
}
|
|
6426
|
-
},
|
|
6427
|
-
{
|
|
6428
|
-
type: "Control",
|
|
6429
|
-
scope: "#/properties/text",
|
|
6430
|
-
options: {
|
|
6431
|
-
widget: "Box"
|
|
6432
|
-
},
|
|
6433
|
-
config: {
|
|
6434
|
-
layout: 5,
|
|
6435
|
-
main: {
|
|
6436
|
-
heading: "Previous Page",
|
|
6437
|
-
onClick: "backHandler"
|
|
6438
|
-
},
|
|
6439
|
-
style: {
|
|
6440
|
-
width: "fit-content",
|
|
6441
|
-
color: theme.palette.primary.main,
|
|
6442
|
-
fontSize: "12px",
|
|
6443
|
-
cursor: "pointer",
|
|
6444
|
-
marginLeft: "2px",
|
|
6445
|
-
marginRight: 0,
|
|
6446
|
-
":hover": {
|
|
6447
|
-
color: theme.palette.primary.dark
|
|
6448
|
-
}
|
|
6449
|
-
}
|
|
6450
|
-
}
|
|
6451
|
-
}
|
|
6452
|
-
]
|
|
6453
|
-
}
|
|
6454
|
-
]
|
|
6742
|
+
main: {
|
|
6743
|
+
name: "Save & Exit",
|
|
6744
|
+
startIcon: "ApproveIcon",
|
|
6745
|
+
variant: "contained",
|
|
6746
|
+
color: "info",
|
|
6747
|
+
type: "text",
|
|
6748
|
+
onClick: "saveHandler",
|
|
6749
|
+
size: "small"
|
|
6750
|
+
},
|
|
6751
|
+
style: {
|
|
6752
|
+
marginBottom: "8px",
|
|
6753
|
+
float: "right"
|
|
6754
|
+
}
|
|
6455
6755
|
}
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6756
|
+
},
|
|
6757
|
+
{
|
|
6758
|
+
type: "Control",
|
|
6759
|
+
scope: "#/properties/notify",
|
|
6760
|
+
options: {
|
|
6761
|
+
widget: "Notify"
|
|
6762
|
+
},
|
|
6763
|
+
layout: 6
|
|
6764
|
+
}
|
|
6765
|
+
]
|
|
6459
6766
|
};
|
|
6460
6767
|
const CoreSection = {
|
|
6461
6768
|
type: "HorizontalLayout",
|
|
@@ -6467,7 +6774,7 @@ const CoreSection = {
|
|
|
6467
6774
|
widget: "SelectInputField"
|
|
6468
6775
|
},
|
|
6469
6776
|
config: {
|
|
6470
|
-
layout: { xs:
|
|
6777
|
+
layout: { xs: 12, sm: 12, md: 6, lg: 6 },
|
|
6471
6778
|
main: {
|
|
6472
6779
|
label: "Type",
|
|
6473
6780
|
type: "text"
|
|
@@ -6481,7 +6788,12 @@ const CoreSection = {
|
|
|
6481
6788
|
widget: "InputField"
|
|
6482
6789
|
},
|
|
6483
6790
|
config: {
|
|
6484
|
-
layout: {
|
|
6791
|
+
layout: {
|
|
6792
|
+
xs: 12,
|
|
6793
|
+
sm: 12,
|
|
6794
|
+
md: 6,
|
|
6795
|
+
lg: 6
|
|
6796
|
+
},
|
|
6485
6797
|
main: {
|
|
6486
6798
|
label: "Name"
|
|
6487
6799
|
}
|
|
@@ -6494,16 +6806,31 @@ const CoreSection = {
|
|
|
6494
6806
|
widget: "InputField"
|
|
6495
6807
|
},
|
|
6496
6808
|
config: {
|
|
6497
|
-
layout: {
|
|
6809
|
+
layout: {
|
|
6810
|
+
xs: 12,
|
|
6811
|
+
sm: 12,
|
|
6812
|
+
md: 6,
|
|
6813
|
+
lg: 6
|
|
6814
|
+
},
|
|
6498
6815
|
main: {
|
|
6499
6816
|
label: "Label"
|
|
6500
6817
|
}
|
|
6501
6818
|
}
|
|
6502
6819
|
},
|
|
6820
|
+
{
|
|
6821
|
+
type: "Control",
|
|
6822
|
+
scope: "#/properties/proc",
|
|
6823
|
+
config: {
|
|
6824
|
+
layout: { xs: 11, sm: 11, md: 6, lg: 6 }
|
|
6825
|
+
},
|
|
6826
|
+
options: {
|
|
6827
|
+
widget: "EmptyBox"
|
|
6828
|
+
}
|
|
6829
|
+
},
|
|
6503
6830
|
{
|
|
6504
6831
|
type: "Control",
|
|
6505
6832
|
scope: "#/properties/layout",
|
|
6506
|
-
layout:
|
|
6833
|
+
layout: 11.5,
|
|
6507
6834
|
options: {
|
|
6508
6835
|
"elementLabelProp": "key",
|
|
6509
6836
|
detail: {
|
|
@@ -6516,7 +6843,12 @@ const CoreSection = {
|
|
|
6516
6843
|
widget: "SelectInputField"
|
|
6517
6844
|
},
|
|
6518
6845
|
config: {
|
|
6519
|
-
layout: {
|
|
6846
|
+
layout: {
|
|
6847
|
+
xs: 11,
|
|
6848
|
+
sm: 11,
|
|
6849
|
+
md: 5.5,
|
|
6850
|
+
lg: 5.5
|
|
6851
|
+
},
|
|
6520
6852
|
main: {
|
|
6521
6853
|
label: "Screen Size"
|
|
6522
6854
|
}
|
|
@@ -6529,7 +6861,12 @@ const CoreSection = {
|
|
|
6529
6861
|
widget: "InputField"
|
|
6530
6862
|
},
|
|
6531
6863
|
config: {
|
|
6532
|
-
layout: {
|
|
6864
|
+
layout: {
|
|
6865
|
+
xs: 11,
|
|
6866
|
+
sm: 11,
|
|
6867
|
+
md: 5.5,
|
|
6868
|
+
lg: 5.5
|
|
6869
|
+
},
|
|
6533
6870
|
main: {
|
|
6534
6871
|
label: "Value",
|
|
6535
6872
|
type: "number",
|
|
@@ -6537,16 +6874,6 @@ const CoreSection = {
|
|
|
6537
6874
|
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6538
6875
|
}
|
|
6539
6876
|
}
|
|
6540
|
-
},
|
|
6541
|
-
{
|
|
6542
|
-
type: "Control",
|
|
6543
|
-
scope: "#/properties/emptyBox",
|
|
6544
|
-
options: {
|
|
6545
|
-
widget: "EmptyBox"
|
|
6546
|
-
},
|
|
6547
|
-
config: {
|
|
6548
|
-
layout: { xs: 0, sm: 4 }
|
|
6549
|
-
}
|
|
6550
6877
|
}
|
|
6551
6878
|
]
|
|
6552
6879
|
}
|
|
@@ -6558,95 +6885,121 @@ const EventSection = {
|
|
|
6558
6885
|
type: "HorizontalLayout",
|
|
6559
6886
|
elements: [
|
|
6560
6887
|
{
|
|
6561
|
-
type: "
|
|
6562
|
-
scope: "#/properties/events",
|
|
6563
|
-
options: {
|
|
6564
|
-
widget: "Table"
|
|
6565
|
-
},
|
|
6888
|
+
type: "WrapperLayout",
|
|
6566
6889
|
config: {
|
|
6567
6890
|
main: {
|
|
6568
|
-
|
|
6569
|
-
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
type: "Control",
|
|
6573
|
-
scope: "#/properties/New_Record",
|
|
6574
|
-
options: {
|
|
6575
|
-
widget: "IconButton"
|
|
6576
|
-
},
|
|
6577
|
-
config: {
|
|
6578
|
-
main: {
|
|
6579
|
-
color: "info",
|
|
6580
|
-
onClick: "eventAddHandler",
|
|
6581
|
-
size: "small",
|
|
6582
|
-
icon: "AddIcon",
|
|
6583
|
-
iconLabel: "Add New",
|
|
6584
|
-
styleDefault: true
|
|
6585
|
-
},
|
|
6586
|
-
style: {
|
|
6587
|
-
mt: "6px"
|
|
6588
|
-
}
|
|
6589
|
-
}
|
|
6590
|
-
}
|
|
6591
|
-
}
|
|
6592
|
-
]
|
|
6593
|
-
},
|
|
6594
|
-
disableAction: true,
|
|
6595
|
-
disableSelection: true,
|
|
6596
|
-
enableDrag: true
|
|
6891
|
+
divider: true
|
|
6892
|
+
},
|
|
6893
|
+
wrapperStyle: {
|
|
6894
|
+
border: "1px solid gray"
|
|
6597
6895
|
}
|
|
6598
6896
|
},
|
|
6599
6897
|
elements: [
|
|
6600
6898
|
{
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6899
|
+
type: "Control",
|
|
6900
|
+
scope: "#/properties/programType",
|
|
6901
|
+
options: {
|
|
6902
|
+
widget: "Box"
|
|
6903
|
+
},
|
|
6904
|
+
config: {
|
|
6905
|
+
layout: 8,
|
|
6906
|
+
main: {
|
|
6907
|
+
heading: "Event Table"
|
|
6908
|
+
},
|
|
6909
|
+
style: {
|
|
6910
|
+
fontFamily: "Roboto",
|
|
6911
|
+
fontWeight: "500",
|
|
6912
|
+
paddingLeft: "-10px",
|
|
6913
|
+
fontSize: "20px"
|
|
6914
|
+
}
|
|
6915
|
+
}
|
|
6607
6916
|
},
|
|
6608
6917
|
{
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6918
|
+
type: "Control",
|
|
6919
|
+
scope: "#/properties/Back_Button",
|
|
6920
|
+
options: {
|
|
6921
|
+
widget: "IconButton"
|
|
6922
|
+
},
|
|
6923
|
+
config: {
|
|
6924
|
+
layout: 3,
|
|
6925
|
+
main: {
|
|
6926
|
+
icon: "AddIcon",
|
|
6927
|
+
styleDefault: true,
|
|
6928
|
+
size: "small",
|
|
6929
|
+
onClick: "eventAddHandler",
|
|
6930
|
+
tooltipMessage: "Back"
|
|
6616
6931
|
},
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
color: "info",
|
|
6620
|
-
size: "small",
|
|
6621
|
-
icon: "EditIcon",
|
|
6622
|
-
tooltipMessage: "Edit This Record",
|
|
6623
|
-
onClick: "eventEditHandler"
|
|
6624
|
-
},
|
|
6625
|
-
style: {
|
|
6626
|
-
color: "#3949ab"
|
|
6627
|
-
}
|
|
6932
|
+
style: {
|
|
6933
|
+
float: "right"
|
|
6628
6934
|
}
|
|
6629
6935
|
}
|
|
6630
6936
|
},
|
|
6631
6937
|
{
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6938
|
+
type: "Control",
|
|
6939
|
+
scope: "#/properties/events",
|
|
6940
|
+
options: {
|
|
6941
|
+
widget: "Table"
|
|
6942
|
+
},
|
|
6943
|
+
config: {
|
|
6944
|
+
main: {
|
|
6945
|
+
disableAction: true,
|
|
6946
|
+
disableSelection: true,
|
|
6947
|
+
enableDrag: true
|
|
6948
|
+
}
|
|
6949
|
+
},
|
|
6950
|
+
elements: [
|
|
6951
|
+
{
|
|
6952
|
+
accessorKey: "eventType",
|
|
6953
|
+
header: "Event Type"
|
|
6640
6954
|
},
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6955
|
+
{
|
|
6956
|
+
accessorKey: "Handler",
|
|
6957
|
+
header: "Handler"
|
|
6958
|
+
},
|
|
6959
|
+
{
|
|
6960
|
+
accessorKey: "Edit_Approve_Records",
|
|
6961
|
+
header: "Edit Widget",
|
|
6962
|
+
widget: {
|
|
6963
|
+
type: "Control",
|
|
6964
|
+
scope: "#/properties/Edit_Records",
|
|
6965
|
+
options: {
|
|
6966
|
+
widget: "IconButton"
|
|
6967
|
+
},
|
|
6968
|
+
config: {
|
|
6969
|
+
main: {
|
|
6970
|
+
color: "info",
|
|
6971
|
+
size: "small",
|
|
6972
|
+
icon: "EditIcon",
|
|
6973
|
+
tooltipMessage: "Edit This Record",
|
|
6974
|
+
onClick: "eventEditHandler"
|
|
6975
|
+
},
|
|
6976
|
+
style: {
|
|
6977
|
+
color: "#3949ab"
|
|
6978
|
+
}
|
|
6979
|
+
}
|
|
6980
|
+
}
|
|
6981
|
+
},
|
|
6982
|
+
{
|
|
6983
|
+
accessorKey: "Reject_Records",
|
|
6984
|
+
header: "Delete",
|
|
6985
|
+
widget: {
|
|
6986
|
+
type: "Control",
|
|
6987
|
+
scope: "#/properties/RejectButton",
|
|
6988
|
+
accessorKeyName: "Reject_Records",
|
|
6989
|
+
options: {
|
|
6990
|
+
widget: "IconButton"
|
|
6991
|
+
},
|
|
6992
|
+
config: {
|
|
6993
|
+
main: {
|
|
6994
|
+
icon: "RejectIcon",
|
|
6995
|
+
color: "error",
|
|
6996
|
+
tooltipMessage: "Reject This Record",
|
|
6997
|
+
onClick: "deletePopUpEvent"
|
|
6998
|
+
}
|
|
6999
|
+
}
|
|
6647
7000
|
}
|
|
6648
7001
|
}
|
|
6649
|
-
|
|
7002
|
+
]
|
|
6650
7003
|
}
|
|
6651
7004
|
]
|
|
6652
7005
|
}
|
|
@@ -6659,7 +7012,12 @@ const EmptyBox = {
|
|
|
6659
7012
|
widget: "EmptyBox"
|
|
6660
7013
|
},
|
|
6661
7014
|
config: {
|
|
6662
|
-
layout: {
|
|
7015
|
+
layout: {
|
|
7016
|
+
xs: 11,
|
|
7017
|
+
sm: 11,
|
|
7018
|
+
md: 5.5,
|
|
7019
|
+
lg: 5.5
|
|
7020
|
+
},
|
|
6663
7021
|
main: {}
|
|
6664
7022
|
}
|
|
6665
7023
|
};
|
|
@@ -6678,7 +7036,12 @@ const cardLayout = {
|
|
|
6678
7036
|
widget: "SelectInputField"
|
|
6679
7037
|
},
|
|
6680
7038
|
config: {
|
|
6681
|
-
layout: {
|
|
7039
|
+
layout: {
|
|
7040
|
+
xs: 11,
|
|
7041
|
+
sm: 11,
|
|
7042
|
+
md: 5.5,
|
|
7043
|
+
lg: 5.5
|
|
7044
|
+
},
|
|
6682
7045
|
main: {
|
|
6683
7046
|
label: "Screen Size"
|
|
6684
7047
|
}
|
|
@@ -6691,7 +7054,12 @@ const cardLayout = {
|
|
|
6691
7054
|
widget: "InputField"
|
|
6692
7055
|
},
|
|
6693
7056
|
config: {
|
|
6694
|
-
layout: {
|
|
7057
|
+
layout: {
|
|
7058
|
+
xs: 11,
|
|
7059
|
+
sm: 11,
|
|
7060
|
+
md: 5.5,
|
|
7061
|
+
lg: 5.5
|
|
7062
|
+
},
|
|
6695
7063
|
main: {
|
|
6696
7064
|
label: "Value",
|
|
6697
7065
|
type: "number",
|
|
@@ -6699,8 +7067,7 @@ const cardLayout = {
|
|
|
6699
7067
|
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6700
7068
|
}
|
|
6701
7069
|
}
|
|
6702
|
-
}
|
|
6703
|
-
EmptyBox
|
|
7070
|
+
}
|
|
6704
7071
|
]
|
|
6705
7072
|
}
|
|
6706
7073
|
}
|
|
@@ -6722,13 +7089,17 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
|
6722
7089
|
widget: "InputField"
|
|
6723
7090
|
},
|
|
6724
7091
|
config: {
|
|
6725
|
-
layout: {
|
|
7092
|
+
layout: {
|
|
7093
|
+
xs: 11,
|
|
7094
|
+
sm: 11,
|
|
7095
|
+
md: 5.5,
|
|
7096
|
+
lg: 5.5
|
|
7097
|
+
},
|
|
6726
7098
|
main: {
|
|
6727
7099
|
label: childLabel || "Labels for Tab"
|
|
6728
7100
|
}
|
|
6729
7101
|
}
|
|
6730
7102
|
},
|
|
6731
|
-
EmptyBox,
|
|
6732
7103
|
EmptyBox
|
|
6733
7104
|
]
|
|
6734
7105
|
}
|
|
@@ -6743,7 +7114,12 @@ sizeHolder.options.detail.elements[1] = {
|
|
|
6743
7114
|
widget: "InputField"
|
|
6744
7115
|
},
|
|
6745
7116
|
config: {
|
|
6746
|
-
layout: {
|
|
7117
|
+
layout: {
|
|
7118
|
+
xs: 11,
|
|
7119
|
+
sm: 11,
|
|
7120
|
+
md: 5.5,
|
|
7121
|
+
lg: 5.5
|
|
7122
|
+
},
|
|
6747
7123
|
main: {
|
|
6748
7124
|
label: "Size"
|
|
6749
7125
|
}
|
|
@@ -6757,7 +7133,12 @@ const getInputField = (scope, label) => {
|
|
|
6757
7133
|
widget: "InputField"
|
|
6758
7134
|
},
|
|
6759
7135
|
config: {
|
|
6760
|
-
layout: {
|
|
7136
|
+
layout: {
|
|
7137
|
+
xs: 11,
|
|
7138
|
+
sm: 11,
|
|
7139
|
+
md: 5.5,
|
|
7140
|
+
lg: 5.5
|
|
7141
|
+
},
|
|
6761
7142
|
main: {
|
|
6762
7143
|
label
|
|
6763
7144
|
}
|
|
@@ -6772,7 +7153,12 @@ const getRadioInputField = (scope, label, options) => {
|
|
|
6772
7153
|
widget: "RadioInputField"
|
|
6773
7154
|
},
|
|
6774
7155
|
config: {
|
|
6775
|
-
layout: {
|
|
7156
|
+
layout: {
|
|
7157
|
+
xs: 11,
|
|
7158
|
+
sm: 11,
|
|
7159
|
+
md: 5.5,
|
|
7160
|
+
lg: 5.5
|
|
7161
|
+
},
|
|
6776
7162
|
main: {
|
|
6777
7163
|
label,
|
|
6778
7164
|
options
|
|
@@ -6815,7 +7201,7 @@ const getSelectField = (scope, label, options) => {
|
|
|
6815
7201
|
widget: "SelectInputField"
|
|
6816
7202
|
},
|
|
6817
7203
|
config: {
|
|
6818
|
-
layout: { xs: 11, sm:
|
|
7204
|
+
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
6819
7205
|
main: {
|
|
6820
7206
|
label,
|
|
6821
7207
|
type: "text"
|
|
@@ -6836,8 +7222,6 @@ const buildPropertiesSection = function(type) {
|
|
|
6836
7222
|
getInputField("elevation", "Card Elevation"),
|
|
6837
7223
|
getInputField("height", "Grid height"),
|
|
6838
7224
|
getInputField("justifyContent", "justifyContent"),
|
|
6839
|
-
EmptyBox,
|
|
6840
|
-
EmptyBox,
|
|
6841
7225
|
cardLayout
|
|
6842
7226
|
];
|
|
6843
7227
|
break;
|
|
@@ -6848,7 +7232,6 @@ const buildPropertiesSection = function(type) {
|
|
|
6848
7232
|
getInputField("resetText", "Reset Text"),
|
|
6849
7233
|
getInputField("completeText", "Complete Text"),
|
|
6850
7234
|
getSelectField("orientation", "Orientation Type"),
|
|
6851
|
-
EmptyBox,
|
|
6852
7235
|
getArrayControl("sectionLabels", "label")
|
|
6853
7236
|
];
|
|
6854
7237
|
break;
|
|
@@ -6864,14 +7247,12 @@ const buildPropertiesSection = function(type) {
|
|
|
6864
7247
|
uiSchema.elements = [
|
|
6865
7248
|
getInputField("placeholder", "Placeholder"),
|
|
6866
7249
|
EmptyBox,
|
|
6867
|
-
EmptyBox,
|
|
6868
7250
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
|
|
6869
7251
|
];
|
|
6870
7252
|
break;
|
|
6871
7253
|
case "TextArea":
|
|
6872
7254
|
uiSchema.elements = [
|
|
6873
7255
|
getInputField("placeholder", "Placeholder"),
|
|
6874
|
-
EmptyBox,
|
|
6875
7256
|
EmptyBox
|
|
6876
7257
|
];
|
|
6877
7258
|
break;
|
|
@@ -6881,8 +7262,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6881
7262
|
getInputField("heading", "Container Heading"),
|
|
6882
7263
|
getInputField("heading", "Container Heading"),
|
|
6883
7264
|
getInputField("speedoCaption", "Speedometer Caption"),
|
|
6884
|
-
getInputField("width", "Speedometer Width")
|
|
6885
|
-
EmptyBox
|
|
7265
|
+
getInputField("width", "Speedometer Width")
|
|
6886
7266
|
];
|
|
6887
7267
|
break;
|
|
6888
7268
|
case "RankCard":
|
|
@@ -6890,9 +7270,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6890
7270
|
getInputField("rank", "Rank"),
|
|
6891
7271
|
getInputField("image", "Image Url"),
|
|
6892
7272
|
getInputField("title", "Card Title"),
|
|
6893
|
-
getInputField("description", "Card Description")
|
|
6894
|
-
EmptyBox,
|
|
6895
|
-
EmptyBox
|
|
7273
|
+
getInputField("description", "Card Description")
|
|
6896
7274
|
];
|
|
6897
7275
|
break;
|
|
6898
7276
|
case "LeaderBoard":
|
|
@@ -6901,8 +7279,6 @@ const buildPropertiesSection = function(type) {
|
|
|
6901
7279
|
getInputField("firstImage", "First Image url"),
|
|
6902
7280
|
getInputField("secondImage", "Second Image url"),
|
|
6903
7281
|
getInputField("thirdImage", "Third Image url"),
|
|
6904
|
-
EmptyBox,
|
|
6905
|
-
EmptyBox,
|
|
6906
7282
|
getTextArea("functionCode", "Write Compare Code", false)
|
|
6907
7283
|
];
|
|
6908
7284
|
break;
|
|
@@ -6918,9 +7294,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6918
7294
|
getInputField("heading", "Heading"),
|
|
6919
7295
|
getInputField("bottomLabel_1", "First BottomLabel"),
|
|
6920
7296
|
getInputField("bottomLabel_2", "Second BottomLabel"),
|
|
6921
|
-
getInputField("bottomLabel_3", "Third BottomLabel")
|
|
6922
|
-
EmptyBox,
|
|
6923
|
-
EmptyBox
|
|
7297
|
+
getInputField("bottomLabel_3", "Third BottomLabel")
|
|
6924
7298
|
];
|
|
6925
7299
|
break;
|
|
6926
7300
|
case "card":
|
|
@@ -6954,7 +7328,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6954
7328
|
];
|
|
6955
7329
|
break;
|
|
6956
7330
|
case "WrapperSection":
|
|
6957
|
-
uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]),
|
|
7331
|
+
uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]), EmptyBox];
|
|
6958
7332
|
break;
|
|
6959
7333
|
case "TabSection":
|
|
6960
7334
|
uiSchema.elements = [
|
|
@@ -6982,14 +7356,12 @@ const buildPropertiesSection = function(type) {
|
|
|
6982
7356
|
case "Select":
|
|
6983
7357
|
uiSchema.elements = [
|
|
6984
7358
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
6985
|
-
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"])
|
|
6986
|
-
EmptyBox
|
|
7359
|
+
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"])
|
|
6987
7360
|
];
|
|
6988
7361
|
break;
|
|
6989
7362
|
case "MultipleSelect":
|
|
6990
7363
|
uiSchema.elements = [
|
|
6991
7364
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
6992
|
-
EmptyBox,
|
|
6993
7365
|
EmptyBox
|
|
6994
7366
|
];
|
|
6995
7367
|
break;
|
|
@@ -7035,92 +7407,116 @@ const TableSection = {
|
|
|
7035
7407
|
type: "HorizontalLayout",
|
|
7036
7408
|
elements: [
|
|
7037
7409
|
{
|
|
7038
|
-
type: "
|
|
7039
|
-
scope: "#/properties/elements",
|
|
7040
|
-
options: {
|
|
7041
|
-
widget: "Table"
|
|
7042
|
-
},
|
|
7410
|
+
type: "WrapperLayout",
|
|
7043
7411
|
config: {
|
|
7044
|
-
main: {
|
|
7045
|
-
|
|
7046
|
-
|
|
7047
|
-
{
|
|
7048
|
-
widget: {
|
|
7049
|
-
type: "Control",
|
|
7050
|
-
scope: "#/properties/New_Record",
|
|
7051
|
-
options: {
|
|
7052
|
-
widget: "IconButton"
|
|
7053
|
-
},
|
|
7054
|
-
config: {
|
|
7055
|
-
main: {
|
|
7056
|
-
color: "info",
|
|
7057
|
-
onClick: "widgetAddClickHandler",
|
|
7058
|
-
size: "small",
|
|
7059
|
-
icon: "AddIcon",
|
|
7060
|
-
iconLabel: "Add New",
|
|
7061
|
-
styleDefault: true
|
|
7062
|
-
},
|
|
7063
|
-
style: {
|
|
7064
|
-
mt: "6px"
|
|
7065
|
-
}
|
|
7066
|
-
}
|
|
7067
|
-
}
|
|
7068
|
-
}
|
|
7069
|
-
]
|
|
7070
|
-
},
|
|
7071
|
-
disableAction: true,
|
|
7072
|
-
disableSelection: true,
|
|
7073
|
-
enableDrag: true
|
|
7412
|
+
main: {},
|
|
7413
|
+
wrapperStyle: {
|
|
7414
|
+
border: "1px solid gray"
|
|
7074
7415
|
}
|
|
7075
7416
|
},
|
|
7076
7417
|
elements: [
|
|
7077
7418
|
{
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
|
|
7081
|
-
|
|
7082
|
-
|
|
7083
|
-
|
|
7419
|
+
type: "Control",
|
|
7420
|
+
scope: "#/properties/programType",
|
|
7421
|
+
options: {
|
|
7422
|
+
widget: "Box"
|
|
7423
|
+
},
|
|
7424
|
+
config: {
|
|
7425
|
+
layout: 8,
|
|
7426
|
+
main: {
|
|
7427
|
+
heading: "Components Table"
|
|
7428
|
+
},
|
|
7429
|
+
style: {
|
|
7430
|
+
fontFamily: "Roboto",
|
|
7431
|
+
fontWeight: "500",
|
|
7432
|
+
paddingLeft: "-10px",
|
|
7433
|
+
fontSize: "20px"
|
|
7434
|
+
}
|
|
7435
|
+
}
|
|
7084
7436
|
},
|
|
7085
7437
|
{
|
|
7086
|
-
|
|
7087
|
-
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7438
|
+
type: "Control",
|
|
7439
|
+
scope: "#/properties/Back_Button",
|
|
7440
|
+
options: {
|
|
7441
|
+
widget: "IconButton"
|
|
7442
|
+
},
|
|
7443
|
+
config: {
|
|
7444
|
+
layout: 3,
|
|
7445
|
+
main: {
|
|
7446
|
+
icon: "AddIcon",
|
|
7447
|
+
styleDefault: true,
|
|
7448
|
+
size: "small",
|
|
7449
|
+
onClick: "widgetAddClickHandler",
|
|
7450
|
+
tooltipMessage: "Add New"
|
|
7094
7451
|
},
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
icon: "EditIcon",
|
|
7098
|
-
color: "primary",
|
|
7099
|
-
onClick: "editComponents",
|
|
7100
|
-
tooltipMessage: "Reject This Record"
|
|
7101
|
-
}
|
|
7452
|
+
style: {
|
|
7453
|
+
float: "right"
|
|
7102
7454
|
}
|
|
7103
7455
|
}
|
|
7104
7456
|
},
|
|
7105
7457
|
{
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
7458
|
+
type: "Control",
|
|
7459
|
+
scope: "#/properties/elements",
|
|
7460
|
+
options: {
|
|
7461
|
+
widget: "Table"
|
|
7462
|
+
},
|
|
7463
|
+
config: {
|
|
7464
|
+
main: {
|
|
7465
|
+
disableAction: true,
|
|
7466
|
+
disableSelection: true,
|
|
7467
|
+
enableDrag: true
|
|
7468
|
+
}
|
|
7469
|
+
},
|
|
7470
|
+
elements: [
|
|
7471
|
+
{
|
|
7472
|
+
accessorKey: "name",
|
|
7473
|
+
header: "Name"
|
|
7114
7474
|
},
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7475
|
+
{
|
|
7476
|
+
accessorKey: "type",
|
|
7477
|
+
header: "Type"
|
|
7478
|
+
},
|
|
7479
|
+
{
|
|
7480
|
+
header: "Edit Record",
|
|
7481
|
+
field: "Reject_Records",
|
|
7482
|
+
flex: 1,
|
|
7483
|
+
widget: {
|
|
7484
|
+
type: "Control",
|
|
7485
|
+
scope: "#/properties/RejectButton",
|
|
7486
|
+
options: {
|
|
7487
|
+
widget: "IconButton"
|
|
7488
|
+
},
|
|
7489
|
+
config: {
|
|
7490
|
+
main: {
|
|
7491
|
+
icon: "EditIcon",
|
|
7492
|
+
color: "primary",
|
|
7493
|
+
onClick: "editComponents",
|
|
7494
|
+
tooltipMessage: "Reject This Record"
|
|
7495
|
+
}
|
|
7496
|
+
}
|
|
7497
|
+
}
|
|
7498
|
+
},
|
|
7499
|
+
{
|
|
7500
|
+
header: "Delete",
|
|
7501
|
+
field: "Reject_Records",
|
|
7502
|
+
flex: 1,
|
|
7503
|
+
widget: {
|
|
7504
|
+
type: "Control",
|
|
7505
|
+
scope: "#/properties/RejectButton",
|
|
7506
|
+
options: {
|
|
7507
|
+
widget: "IconButton"
|
|
7508
|
+
},
|
|
7509
|
+
config: {
|
|
7510
|
+
main: {
|
|
7511
|
+
icon: "RejectIcon",
|
|
7512
|
+
color: "error",
|
|
7513
|
+
onClick: "deletePopUpComponent",
|
|
7514
|
+
tooltipMessage: "Reject This Record"
|
|
7515
|
+
}
|
|
7516
|
+
}
|
|
7121
7517
|
}
|
|
7122
7518
|
}
|
|
7123
|
-
|
|
7519
|
+
]
|
|
7124
7520
|
}
|
|
7125
7521
|
]
|
|
7126
7522
|
}
|
|
@@ -7144,7 +7540,12 @@ const ValueTab = {
|
|
|
7144
7540
|
widget: "InputField"
|
|
7145
7541
|
},
|
|
7146
7542
|
config: {
|
|
7147
|
-
layout: {
|
|
7543
|
+
layout: {
|
|
7544
|
+
xs: 11,
|
|
7545
|
+
sm: 11,
|
|
7546
|
+
md: 5.5,
|
|
7547
|
+
lg: 5.5
|
|
7548
|
+
},
|
|
7148
7549
|
main: {
|
|
7149
7550
|
label: "Label"
|
|
7150
7551
|
}
|
|
@@ -7157,21 +7558,16 @@ const ValueTab = {
|
|
|
7157
7558
|
widget: "InputField"
|
|
7158
7559
|
},
|
|
7159
7560
|
config: {
|
|
7160
|
-
layout: {
|
|
7561
|
+
layout: {
|
|
7562
|
+
xs: 11,
|
|
7563
|
+
sm: 11,
|
|
7564
|
+
md: 5.5,
|
|
7565
|
+
lg: 5.5
|
|
7566
|
+
},
|
|
7161
7567
|
main: {
|
|
7162
7568
|
label: "Value"
|
|
7163
7569
|
}
|
|
7164
7570
|
}
|
|
7165
|
-
},
|
|
7166
|
-
{
|
|
7167
|
-
type: "Control",
|
|
7168
|
-
scope: "#/properties/emptyBox",
|
|
7169
|
-
options: {
|
|
7170
|
-
widget: "EmptyBox"
|
|
7171
|
-
},
|
|
7172
|
-
config: {
|
|
7173
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7174
|
-
}
|
|
7175
7571
|
}
|
|
7176
7572
|
]
|
|
7177
7573
|
}
|
|
@@ -7198,7 +7594,12 @@ const ValidationSection = {
|
|
|
7198
7594
|
widget: "SelectInputField"
|
|
7199
7595
|
},
|
|
7200
7596
|
config: {
|
|
7201
|
-
layout: {
|
|
7597
|
+
layout: {
|
|
7598
|
+
xs: 11,
|
|
7599
|
+
sm: 11,
|
|
7600
|
+
md: 5.5,
|
|
7601
|
+
lg: 5.5
|
|
7602
|
+
},
|
|
7202
7603
|
main: {
|
|
7203
7604
|
label: "Validation Type"
|
|
7204
7605
|
}
|
|
@@ -7211,21 +7612,16 @@ const ValidationSection = {
|
|
|
7211
7612
|
widget: "InputField"
|
|
7212
7613
|
},
|
|
7213
7614
|
config: {
|
|
7214
|
-
layout: {
|
|
7615
|
+
layout: {
|
|
7616
|
+
xs: 11,
|
|
7617
|
+
sm: 11,
|
|
7618
|
+
md: 5.5,
|
|
7619
|
+
lg: 5.5
|
|
7620
|
+
},
|
|
7215
7621
|
main: {
|
|
7216
7622
|
label: "Validation Value"
|
|
7217
7623
|
}
|
|
7218
7624
|
}
|
|
7219
|
-
},
|
|
7220
|
-
{
|
|
7221
|
-
type: "Control",
|
|
7222
|
-
scope: "#/properties/emptyBox",
|
|
7223
|
-
options: {
|
|
7224
|
-
widget: "EmptyBox"
|
|
7225
|
-
},
|
|
7226
|
-
config: {
|
|
7227
|
-
layout: { xs: 0, sm: 4 }
|
|
7228
|
-
}
|
|
7229
7625
|
}
|
|
7230
7626
|
]
|
|
7231
7627
|
}
|
|
@@ -7407,7 +7803,7 @@ const sectionLabels = {
|
|
|
7407
7803
|
};
|
|
7408
7804
|
const refreshPage = (type, store2) => {
|
|
7409
7805
|
var _a;
|
|
7410
|
-
const UiSchema = _.cloneDeep(componentBasicUiSchema
|
|
7806
|
+
const UiSchema = _.cloneDeep(componentBasicUiSchema);
|
|
7411
7807
|
if (type) {
|
|
7412
7808
|
const sectionUiSchema = {
|
|
7413
7809
|
Core: CoreSection,
|
|
@@ -7419,8 +7815,8 @@ const refreshPage = (type, store2) => {
|
|
|
7419
7815
|
Validation: ValidationSection
|
|
7420
7816
|
};
|
|
7421
7817
|
const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
|
|
7422
|
-
UiSchema.elements[
|
|
7423
|
-
UiSchema.elements[
|
|
7818
|
+
UiSchema.elements[1].config.main.tabLabels = sectionLabels[type] || ["Core", "style", "Event", "Validation"];
|
|
7819
|
+
UiSchema.elements[1].elements = elements || [CoreSection, StyleSection, EventSection, ValidationSection];
|
|
7424
7820
|
}
|
|
7425
7821
|
store2.setUiSchema(UiSchema);
|
|
7426
7822
|
};
|
|
@@ -7466,22 +7862,30 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7466
7862
|
store2.navigate(`/Component?path=${`elements[${rowId}]`}&id=${id}`);
|
|
7467
7863
|
}
|
|
7468
7864
|
},
|
|
7469
|
-
deleteComponents: function() {
|
|
7865
|
+
deleteComponents: function(shouldUpdateDialog = true) {
|
|
7470
7866
|
var _a;
|
|
7471
7867
|
const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
|
|
7472
|
-
const rowId =
|
|
7868
|
+
const rowId = localStorage.getItem("rowId");
|
|
7473
7869
|
store2.formData.elements.splice(rowId, 1);
|
|
7474
7870
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
7475
7871
|
const data2 = path ? _.get(response2, path) : response2;
|
|
7476
7872
|
store2.setFormdata(data2);
|
|
7873
|
+
if (shouldUpdateDialog) {
|
|
7874
|
+
store2.updateDialog("popUpComponentSection");
|
|
7875
|
+
}
|
|
7876
|
+
localStorage.removeItem("rowId");
|
|
7477
7877
|
},
|
|
7478
|
-
deleteEvent: function() {
|
|
7878
|
+
deleteEvent: function(shouldUpdateDialog = true) {
|
|
7479
7879
|
var _a;
|
|
7480
7880
|
const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
|
|
7481
|
-
const rowId =
|
|
7881
|
+
const rowId = localStorage.getItem("rowId");
|
|
7482
7882
|
store2.formData.events.splice(rowId, 1);
|
|
7483
7883
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
7484
7884
|
store2.setFormdata(_.get(response2, path));
|
|
7885
|
+
if (shouldUpdateDialog) {
|
|
7886
|
+
store2.updateDialog("popUpEventSection");
|
|
7887
|
+
}
|
|
7888
|
+
localStorage.removeItem("rowId");
|
|
7485
7889
|
},
|
|
7486
7890
|
widgetAddClickHandler: function() {
|
|
7487
7891
|
var _a;
|
|
@@ -7517,6 +7921,16 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7517
7921
|
},
|
|
7518
7922
|
backHandler: function() {
|
|
7519
7923
|
store2.navigate(-1);
|
|
7924
|
+
},
|
|
7925
|
+
deletePopUpComponent: function() {
|
|
7926
|
+
const rowId = dynamicData2.path.split(".")[1];
|
|
7927
|
+
localStorage.setItem("rowId", rowId);
|
|
7928
|
+
store2.updateDialog("popUpComponentSection");
|
|
7929
|
+
},
|
|
7930
|
+
deletePopUpEvent: function() {
|
|
7931
|
+
const rowId = dynamicData2.path.split(".")[1];
|
|
7932
|
+
localStorage.setItem("rowId", rowId);
|
|
7933
|
+
store2.updateDialog("popUpEventSection");
|
|
7520
7934
|
}
|
|
7521
7935
|
};
|
|
7522
7936
|
};
|
|
@@ -7542,7 +7956,7 @@ var pageMaster = (funcParams) => {
|
|
|
7542
7956
|
return config;
|
|
7543
7957
|
},
|
|
7544
7958
|
getUiSchema: function() {
|
|
7545
|
-
return PageMasterUiSchema
|
|
7959
|
+
return PageMasterUiSchema;
|
|
7546
7960
|
},
|
|
7547
7961
|
getSchema: () => {
|
|
7548
7962
|
return PageMasterSchema;
|
|
@@ -7564,7 +7978,10 @@ var pageMaster = (funcParams) => {
|
|
|
7564
7978
|
},
|
|
7565
7979
|
saveHandler: async () => await saveHandler(store2, service2, submitHandler),
|
|
7566
7980
|
Edit_Components: Component(store2, dynamicData2, submitHandler, service2).editComponents,
|
|
7567
|
-
Delete_Components:
|
|
7981
|
+
Delete_Components: async function() {
|
|
7982
|
+
await Component(store2, dynamicData2, submitHandler, service2).deleteComponents(false);
|
|
7983
|
+
store2.updateDialog("popUpPageMasterComponent");
|
|
7984
|
+
},
|
|
7568
7985
|
eventAddHandler: function() {
|
|
7569
7986
|
var _a;
|
|
7570
7987
|
const id = (_a = store2.searchParams) == null ? void 0 : _a.get("id");
|
|
@@ -7584,10 +8001,22 @@ var pageMaster = (funcParams) => {
|
|
|
7584
8001
|
store2.navigate(`/ComponentEvents?path=${finalPath}&id=${id}`);
|
|
7585
8002
|
},
|
|
7586
8003
|
deleteEvent: function() {
|
|
7587
|
-
const rowId =
|
|
8004
|
+
const rowId = localStorage.getItem("rowId");
|
|
7588
8005
|
store2.formData.events.splice(rowId, 1);
|
|
7589
8006
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data);
|
|
7590
8007
|
store2.setFormdata(response2);
|
|
8008
|
+
store2.updateDialog("popUpPageMasterEvent");
|
|
8009
|
+
localStorage.removeItem("rowId");
|
|
8010
|
+
},
|
|
8011
|
+
deletePopUpComponent: function() {
|
|
8012
|
+
const rowId = dynamicData2.path.split(".")[1];
|
|
8013
|
+
localStorage.setItem("rowId", rowId);
|
|
8014
|
+
store2.updateDialog("popUpPageMasterComponent");
|
|
8015
|
+
},
|
|
8016
|
+
deletePopUpEvent: function() {
|
|
8017
|
+
const rowId = dynamicData2.path.split(".")[1];
|
|
8018
|
+
localStorage.setItem("rowId", rowId);
|
|
8019
|
+
store2.updateDialog("popUpPageMasterEvent");
|
|
7591
8020
|
}
|
|
7592
8021
|
};
|
|
7593
8022
|
};
|
|
@@ -7677,335 +8106,385 @@ const EventSchema = {
|
|
|
7677
8106
|
},
|
|
7678
8107
|
required: ["eventType", "Handler"]
|
|
7679
8108
|
};
|
|
7680
|
-
const EventUiSchema =
|
|
7681
|
-
|
|
7682
|
-
|
|
7683
|
-
|
|
7684
|
-
|
|
7685
|
-
|
|
7686
|
-
|
|
7687
|
-
|
|
7688
|
-
|
|
7689
|
-
|
|
7690
|
-
|
|
7691
|
-
|
|
7692
|
-
|
|
8109
|
+
const EventUiSchema = {
|
|
8110
|
+
type: "HorizontalLayout",
|
|
8111
|
+
elements: [
|
|
8112
|
+
{
|
|
8113
|
+
type: "WrapperLayout",
|
|
8114
|
+
config: {
|
|
8115
|
+
main: {
|
|
8116
|
+
rowSpacing: 1,
|
|
8117
|
+
header: true
|
|
8118
|
+
},
|
|
8119
|
+
defaultStyle: true
|
|
8120
|
+
},
|
|
8121
|
+
elements: [
|
|
8122
|
+
{
|
|
8123
|
+
type: "Control",
|
|
8124
|
+
scope: "#/properties/Component",
|
|
8125
|
+
options: {
|
|
8126
|
+
widget: "Box"
|
|
8127
|
+
},
|
|
8128
|
+
config: {
|
|
8129
|
+
layout: { xs: 12, sm: 12, md: 2 },
|
|
8130
|
+
main: {
|
|
8131
|
+
heading: "Component"
|
|
8132
|
+
},
|
|
8133
|
+
style: {
|
|
8134
|
+
"float": "left"
|
|
8135
|
+
}
|
|
7693
8136
|
}
|
|
7694
8137
|
},
|
|
7695
|
-
|
|
7696
|
-
|
|
7697
|
-
|
|
7698
|
-
|
|
7699
|
-
|
|
7700
|
-
|
|
7701
|
-
|
|
7702
|
-
|
|
7703
|
-
|
|
7704
|
-
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
|
|
7708
|
-
|
|
7709
|
-
|
|
7710
|
-
|
|
7711
|
-
|
|
8138
|
+
{
|
|
8139
|
+
type: "Control",
|
|
8140
|
+
scope: "#/properties/pageName",
|
|
8141
|
+
options: {
|
|
8142
|
+
widget: "Box"
|
|
8143
|
+
},
|
|
8144
|
+
config: {
|
|
8145
|
+
layout: { xs: 7, sm: 7, md: 9 },
|
|
8146
|
+
main: {
|
|
8147
|
+
heading: " "
|
|
8148
|
+
},
|
|
8149
|
+
style: {
|
|
8150
|
+
float: "right",
|
|
8151
|
+
width: "auto",
|
|
8152
|
+
fontSize: "12px",
|
|
8153
|
+
color: "gray",
|
|
8154
|
+
paddingTop: "10px"
|
|
8155
|
+
}
|
|
8156
|
+
}
|
|
8157
|
+
},
|
|
8158
|
+
{
|
|
8159
|
+
type: "Control",
|
|
8160
|
+
scope: "#/properties/Back_Button",
|
|
8161
|
+
options: {
|
|
8162
|
+
widget: "IconButton"
|
|
8163
|
+
},
|
|
8164
|
+
config: {
|
|
8165
|
+
layout: { xs: 2, sm: 2, md: 0.5 },
|
|
8166
|
+
main: {
|
|
8167
|
+
icon: "BackIcon",
|
|
8168
|
+
styleDefault: true,
|
|
8169
|
+
size: "small",
|
|
8170
|
+
onClick: "backHandler",
|
|
8171
|
+
tooltipMessage: "Back"
|
|
8172
|
+
},
|
|
8173
|
+
style: {
|
|
8174
|
+
float: "right"
|
|
8175
|
+
}
|
|
8176
|
+
}
|
|
8177
|
+
}
|
|
8178
|
+
]
|
|
8179
|
+
},
|
|
8180
|
+
{
|
|
8181
|
+
type: "TabLayout",
|
|
8182
|
+
config: {
|
|
8183
|
+
main: {
|
|
8184
|
+
tabLabels: ["Core", "Response Event"],
|
|
8185
|
+
defaultStyle: true,
|
|
8186
|
+
id: "event"
|
|
8187
|
+
}
|
|
8188
|
+
},
|
|
8189
|
+
elements: [
|
|
8190
|
+
{
|
|
8191
|
+
type: "HorizontalLayout",
|
|
8192
|
+
elements: [
|
|
8193
|
+
{
|
|
8194
|
+
type: "Control",
|
|
8195
|
+
scope: `#/properties/eventType`,
|
|
8196
|
+
options: {
|
|
8197
|
+
widget: "SelectInputField"
|
|
7712
8198
|
},
|
|
7713
|
-
{
|
|
7714
|
-
|
|
7715
|
-
|
|
7716
|
-
|
|
7717
|
-
|
|
7718
|
-
},
|
|
7719
|
-
config: {
|
|
7720
|
-
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7721
|
-
main: {
|
|
7722
|
-
label: "Handler",
|
|
7723
|
-
type: "text"
|
|
7724
|
-
}
|
|
8199
|
+
config: {
|
|
8200
|
+
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
8201
|
+
main: {
|
|
8202
|
+
label: "Event Type",
|
|
8203
|
+
type: "text"
|
|
7725
8204
|
}
|
|
8205
|
+
}
|
|
8206
|
+
},
|
|
8207
|
+
getSelectField("Handler", "Handler")
|
|
8208
|
+
]
|
|
8209
|
+
},
|
|
8210
|
+
{
|
|
8211
|
+
type: "WrapperLayout",
|
|
8212
|
+
config: {
|
|
8213
|
+
main: {
|
|
8214
|
+
divider: true
|
|
8215
|
+
},
|
|
8216
|
+
wrapperStyle: {
|
|
8217
|
+
border: "1px solid gray"
|
|
8218
|
+
}
|
|
8219
|
+
},
|
|
8220
|
+
elements: [
|
|
8221
|
+
{
|
|
8222
|
+
type: "Control",
|
|
8223
|
+
scope: "#/properties/heading",
|
|
8224
|
+
options: {
|
|
8225
|
+
widget: "Box"
|
|
7726
8226
|
},
|
|
7727
|
-
{
|
|
7728
|
-
|
|
7729
|
-
|
|
7730
|
-
|
|
7731
|
-
widget: "EmptyBox"
|
|
8227
|
+
config: {
|
|
8228
|
+
layout: 8,
|
|
8229
|
+
main: {
|
|
8230
|
+
heading: "Response Event"
|
|
7732
8231
|
},
|
|
7733
|
-
|
|
7734
|
-
|
|
8232
|
+
style: {
|
|
8233
|
+
fontFamily: "Roboto",
|
|
8234
|
+
fontWeight: "500",
|
|
8235
|
+
paddingLeft: "-10px",
|
|
8236
|
+
fontSize: "20px"
|
|
7735
8237
|
}
|
|
7736
8238
|
}
|
|
7737
|
-
]
|
|
7738
|
-
},
|
|
7739
|
-
{
|
|
7740
|
-
type: "Control",
|
|
7741
|
-
scope: "#/properties/events",
|
|
7742
|
-
options: {
|
|
7743
|
-
widget: "Table"
|
|
7744
8239
|
},
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
size: "small",
|
|
7760
|
-
icon: "AddIcon",
|
|
7761
|
-
iconLabel: "Add New",
|
|
7762
|
-
styleDefault: true
|
|
7763
|
-
},
|
|
7764
|
-
style: {
|
|
7765
|
-
mt: "6px"
|
|
7766
|
-
}
|
|
7767
|
-
}
|
|
7768
|
-
}
|
|
7769
|
-
}
|
|
7770
|
-
]
|
|
8240
|
+
{
|
|
8241
|
+
type: "Control",
|
|
8242
|
+
scope: "#/properties/AddButton",
|
|
8243
|
+
options: {
|
|
8244
|
+
widget: "IconButton"
|
|
8245
|
+
},
|
|
8246
|
+
config: {
|
|
8247
|
+
layout: 3,
|
|
8248
|
+
main: {
|
|
8249
|
+
icon: "AddIcon",
|
|
8250
|
+
styleDefault: true,
|
|
8251
|
+
size: "small",
|
|
8252
|
+
onClick: "addEvent",
|
|
8253
|
+
tooltipMessage: "Back"
|
|
7771
8254
|
},
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
|
|
8255
|
+
style: {
|
|
8256
|
+
float: "right"
|
|
8257
|
+
}
|
|
7775
8258
|
}
|
|
7776
8259
|
},
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
|
|
8260
|
+
{
|
|
8261
|
+
type: "Control",
|
|
8262
|
+
scope: "#/properties/events",
|
|
8263
|
+
options: {
|
|
8264
|
+
widget: "Table"
|
|
7781
8265
|
},
|
|
7782
|
-
{
|
|
7783
|
-
|
|
7784
|
-
|
|
8266
|
+
config: {
|
|
8267
|
+
main: {
|
|
8268
|
+
disableAction: true,
|
|
8269
|
+
disableSelection: true,
|
|
8270
|
+
enableDrag: true
|
|
8271
|
+
}
|
|
7785
8272
|
},
|
|
7786
|
-
|
|
7787
|
-
|
|
7788
|
-
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
|
|
8273
|
+
elements: [
|
|
8274
|
+
{
|
|
8275
|
+
accessorKey: "eventType",
|
|
8276
|
+
header: "Event Type"
|
|
8277
|
+
},
|
|
8278
|
+
{
|
|
8279
|
+
accessorKey: "Handler",
|
|
8280
|
+
header: "Handler"
|
|
8281
|
+
},
|
|
8282
|
+
{
|
|
8283
|
+
accessorKey: "Edit_Approve_Records",
|
|
8284
|
+
header: "Edit Widget",
|
|
8285
|
+
widget: {
|
|
8286
|
+
type: "Control",
|
|
8287
|
+
scope: "#/properties/Edit_Records",
|
|
8288
|
+
options: {
|
|
8289
|
+
widget: "IconButton"
|
|
7801
8290
|
},
|
|
7802
|
-
|
|
7803
|
-
|
|
8291
|
+
config: {
|
|
8292
|
+
main: {
|
|
8293
|
+
color: "info",
|
|
8294
|
+
size: "small",
|
|
8295
|
+
icon: "EditIcon",
|
|
8296
|
+
tooltipMessage: "Edit This Record",
|
|
8297
|
+
onClick: "editEvent"
|
|
8298
|
+
},
|
|
8299
|
+
style: {
|
|
8300
|
+
color: "#3949ab"
|
|
8301
|
+
}
|
|
7804
8302
|
}
|
|
7805
8303
|
}
|
|
7806
|
-
}
|
|
7807
|
-
|
|
7808
|
-
|
|
7809
|
-
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
|
|
7818
|
-
|
|
7819
|
-
|
|
7820
|
-
|
|
7821
|
-
|
|
7822
|
-
|
|
8304
|
+
},
|
|
8305
|
+
{
|
|
8306
|
+
accessorKey: "Reject_Records",
|
|
8307
|
+
header: "Delete",
|
|
8308
|
+
widget: {
|
|
8309
|
+
type: "Control",
|
|
8310
|
+
scope: "#/properties/RejectButton",
|
|
8311
|
+
options: {
|
|
8312
|
+
widget: "IconButton"
|
|
8313
|
+
},
|
|
8314
|
+
config: {
|
|
8315
|
+
main: {
|
|
8316
|
+
icon: "RejectIcon",
|
|
8317
|
+
color: "error",
|
|
8318
|
+
tooltipMessage: "Reject This Record",
|
|
8319
|
+
onClick: "deletePopUpEvent"
|
|
8320
|
+
}
|
|
7823
8321
|
}
|
|
7824
8322
|
}
|
|
7825
8323
|
}
|
|
7826
|
-
|
|
7827
|
-
|
|
8324
|
+
]
|
|
8325
|
+
}
|
|
8326
|
+
]
|
|
8327
|
+
}
|
|
8328
|
+
]
|
|
8329
|
+
},
|
|
8330
|
+
{
|
|
8331
|
+
type: "Control",
|
|
8332
|
+
scope: "#/properties/popUpEvent",
|
|
8333
|
+
options: {
|
|
8334
|
+
widget: "PopUp"
|
|
8335
|
+
},
|
|
8336
|
+
config: {
|
|
8337
|
+
layout: {
|
|
8338
|
+
xs: 12,
|
|
8339
|
+
sm: 12,
|
|
8340
|
+
md: 12,
|
|
8341
|
+
lg: 12
|
|
8342
|
+
},
|
|
8343
|
+
main: {}
|
|
8344
|
+
},
|
|
8345
|
+
elements: [
|
|
8346
|
+
{
|
|
8347
|
+
type: "Control",
|
|
8348
|
+
scope: "#/properties/label",
|
|
8349
|
+
options: {
|
|
8350
|
+
widget: "Box"
|
|
8351
|
+
},
|
|
8352
|
+
config: {
|
|
8353
|
+
layout: 12,
|
|
8354
|
+
main: {
|
|
8355
|
+
heading: "Are you sure you want to delete ?"
|
|
8356
|
+
},
|
|
8357
|
+
style: {
|
|
8358
|
+
marginTop: "-40px"
|
|
8359
|
+
}
|
|
7828
8360
|
}
|
|
7829
|
-
]
|
|
7830
|
-
},
|
|
7831
|
-
{
|
|
7832
|
-
type: "Control",
|
|
7833
|
-
scope: "#/properties/EmptyBox",
|
|
7834
|
-
options: {
|
|
7835
|
-
widget: "EmptyBox"
|
|
7836
|
-
},
|
|
7837
|
-
config: {
|
|
7838
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7839
|
-
}
|
|
7840
|
-
},
|
|
7841
|
-
{
|
|
7842
|
-
type: "Control",
|
|
7843
|
-
scope: "#/properties/EmptyBox",
|
|
7844
|
-
options: {
|
|
7845
|
-
widget: "EmptyBox"
|
|
7846
8361
|
},
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
8362
|
+
{
|
|
8363
|
+
type: "Control",
|
|
8364
|
+
scope: "#/properties/EmptyBox",
|
|
8365
|
+
options: {
|
|
8366
|
+
widget: "EmptyBox"
|
|
8367
|
+
},
|
|
8368
|
+
config: {
|
|
8369
|
+
main: {},
|
|
8370
|
+
layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 }
|
|
8371
|
+
}
|
|
7856
8372
|
},
|
|
7857
|
-
|
|
7858
|
-
|
|
7859
|
-
|
|
7860
|
-
|
|
7861
|
-
|
|
7862
|
-
variant: "contained",
|
|
7863
|
-
type: "text",
|
|
7864
|
-
onClick: "okHandler",
|
|
7865
|
-
size: "medium"
|
|
8373
|
+
{
|
|
8374
|
+
type: "Control",
|
|
8375
|
+
scope: "#/properties/ConfirmDeleteEventButton",
|
|
8376
|
+
options: {
|
|
8377
|
+
widget: "Button"
|
|
7866
8378
|
},
|
|
7867
|
-
|
|
7868
|
-
|
|
8379
|
+
config: {
|
|
8380
|
+
layout: 3,
|
|
8381
|
+
main: {
|
|
8382
|
+
name: "Yes",
|
|
8383
|
+
startIcon: "ApproveIcon",
|
|
8384
|
+
variant: "contained",
|
|
8385
|
+
color: "info",
|
|
8386
|
+
type: "text",
|
|
8387
|
+
onClick: "deleteEvent",
|
|
8388
|
+
size: "small"
|
|
8389
|
+
}
|
|
7869
8390
|
}
|
|
7870
|
-
}
|
|
7871
|
-
},
|
|
7872
|
-
{
|
|
7873
|
-
type: "Control",
|
|
7874
|
-
scope: "#/properties/btnSubmit",
|
|
7875
|
-
options: {
|
|
7876
|
-
widget: "Button"
|
|
7877
8391
|
},
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
variant: "contained",
|
|
7884
|
-
type: "text",
|
|
7885
|
-
onClick: "saveHandler",
|
|
7886
|
-
size: "medium"
|
|
8392
|
+
{
|
|
8393
|
+
type: "Control",
|
|
8394
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
8395
|
+
options: {
|
|
8396
|
+
widget: "Button"
|
|
7887
8397
|
},
|
|
7888
|
-
|
|
7889
|
-
|
|
8398
|
+
config: {
|
|
8399
|
+
layout: 3,
|
|
8400
|
+
main: {
|
|
8401
|
+
name: "No",
|
|
8402
|
+
startIcon: "ApproveIcon",
|
|
8403
|
+
variant: "contained",
|
|
8404
|
+
color: "info",
|
|
8405
|
+
type: "text",
|
|
8406
|
+
onClick: "deletePopUpEvent",
|
|
8407
|
+
size: "small"
|
|
8408
|
+
}
|
|
7890
8409
|
}
|
|
7891
8410
|
}
|
|
8411
|
+
]
|
|
8412
|
+
},
|
|
8413
|
+
{
|
|
8414
|
+
type: "Control",
|
|
8415
|
+
scope: "#/properties/proc",
|
|
8416
|
+
config: {
|
|
8417
|
+
layout: { xs: 11, sm: 11, md: 6, lg: 6 }
|
|
7892
8418
|
},
|
|
7893
|
-
{
|
|
7894
|
-
|
|
7895
|
-
|
|
7896
|
-
|
|
7897
|
-
|
|
8419
|
+
options: {
|
|
8420
|
+
widget: "EmptyBox"
|
|
8421
|
+
}
|
|
8422
|
+
},
|
|
8423
|
+
{
|
|
8424
|
+
type: "Control",
|
|
8425
|
+
scope: "#/properties/btn",
|
|
8426
|
+
options: {
|
|
8427
|
+
widget: "Button"
|
|
8428
|
+
},
|
|
8429
|
+
config: {
|
|
8430
|
+
layout: {
|
|
8431
|
+
xs: 11,
|
|
8432
|
+
sm: 11,
|
|
8433
|
+
md: 2.5,
|
|
8434
|
+
lg: 2.5
|
|
7898
8435
|
},
|
|
7899
|
-
|
|
8436
|
+
main: {
|
|
8437
|
+
name: "Ok",
|
|
8438
|
+
startIcon: "ApproveIcon",
|
|
8439
|
+
variant: "contained",
|
|
8440
|
+
color: "info",
|
|
8441
|
+
type: "text",
|
|
8442
|
+
onClick: "okHandler",
|
|
8443
|
+
size: "small"
|
|
8444
|
+
},
|
|
8445
|
+
style: {
|
|
8446
|
+
marginBottom: "8px",
|
|
8447
|
+
float: "right"
|
|
8448
|
+
}
|
|
8449
|
+
}
|
|
8450
|
+
},
|
|
8451
|
+
{
|
|
8452
|
+
type: "Control",
|
|
8453
|
+
scope: "#/properties/btnSubmit",
|
|
8454
|
+
options: {
|
|
8455
|
+
widget: "Button"
|
|
7900
8456
|
},
|
|
7901
|
-
{
|
|
7902
|
-
|
|
7903
|
-
|
|
7904
|
-
|
|
7905
|
-
|
|
7906
|
-
|
|
7907
|
-
bottom: 5,
|
|
7908
|
-
overflow: "hidden"
|
|
7909
|
-
}
|
|
8457
|
+
config: {
|
|
8458
|
+
layout: {
|
|
8459
|
+
xs: 11,
|
|
8460
|
+
sm: 11,
|
|
8461
|
+
md: 2.5,
|
|
8462
|
+
lg: 2.5
|
|
7910
8463
|
},
|
|
7911
|
-
|
|
7912
|
-
|
|
7913
|
-
|
|
7914
|
-
|
|
7915
|
-
|
|
7916
|
-
|
|
7917
|
-
|
|
7918
|
-
|
|
7919
|
-
|
|
7920
|
-
|
|
7921
|
-
|
|
7922
|
-
|
|
7923
|
-
|
|
7924
|
-
color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
|
|
7925
|
-
fontSize: "12px",
|
|
7926
|
-
textAlign: "center"
|
|
7927
|
-
}
|
|
7928
|
-
}
|
|
7929
|
-
},
|
|
7930
|
-
{
|
|
7931
|
-
type: "HorizontalLayout",
|
|
7932
|
-
config: {
|
|
7933
|
-
layout: 2.5,
|
|
7934
|
-
style: {}
|
|
7935
|
-
},
|
|
7936
|
-
elements: [
|
|
7937
|
-
{
|
|
7938
|
-
type: "Control",
|
|
7939
|
-
scope: "#/properties/EmptyBox",
|
|
7940
|
-
options: {
|
|
7941
|
-
widget: "EmptyBox"
|
|
7942
|
-
},
|
|
7943
|
-
config: {
|
|
7944
|
-
layout: 6,
|
|
7945
|
-
style: {
|
|
7946
|
-
flexGrow: 1
|
|
7947
|
-
}
|
|
7948
|
-
}
|
|
7949
|
-
},
|
|
7950
|
-
{
|
|
7951
|
-
type: "Control",
|
|
7952
|
-
scope: "#/properties/backIcon",
|
|
7953
|
-
options: {
|
|
7954
|
-
widget: "Box"
|
|
7955
|
-
},
|
|
7956
|
-
config: {
|
|
7957
|
-
layout: 1,
|
|
7958
|
-
main: {
|
|
7959
|
-
iconName: "PrevIcon",
|
|
7960
|
-
onClick: "backHandler"
|
|
7961
|
-
},
|
|
7962
|
-
style: {
|
|
7963
|
-
fill: theme.palette.primary.main,
|
|
7964
|
-
width: 20,
|
|
7965
|
-
height: 20,
|
|
7966
|
-
display: "flex",
|
|
7967
|
-
alignItems: "center",
|
|
7968
|
-
justifyContent: "center",
|
|
7969
|
-
marginRight: "-8px",
|
|
7970
|
-
cursor: "pointer",
|
|
7971
|
-
":hover": {
|
|
7972
|
-
fill: theme.palette.primary.dark
|
|
7973
|
-
}
|
|
7974
|
-
}
|
|
7975
|
-
}
|
|
7976
|
-
},
|
|
7977
|
-
{
|
|
7978
|
-
type: "Control",
|
|
7979
|
-
scope: "#/properties/text",
|
|
7980
|
-
options: {
|
|
7981
|
-
widget: "Box"
|
|
7982
|
-
},
|
|
7983
|
-
config: {
|
|
7984
|
-
layout: 5,
|
|
7985
|
-
main: {
|
|
7986
|
-
heading: "Previous Page",
|
|
7987
|
-
onClick: "backHandler"
|
|
7988
|
-
},
|
|
7989
|
-
style: {
|
|
7990
|
-
width: "fit-content",
|
|
7991
|
-
color: theme.palette.primary.main,
|
|
7992
|
-
fontSize: "12px",
|
|
7993
|
-
cursor: "pointer",
|
|
7994
|
-
marginLeft: "2px",
|
|
7995
|
-
marginRight: 0,
|
|
7996
|
-
":hover": {
|
|
7997
|
-
color: theme.palette.primary.dark
|
|
7998
|
-
}
|
|
7999
|
-
}
|
|
8000
|
-
}
|
|
8001
|
-
}
|
|
8002
|
-
]
|
|
8003
|
-
}
|
|
8004
|
-
]
|
|
8464
|
+
main: {
|
|
8465
|
+
name: "Save & Exit",
|
|
8466
|
+
startIcon: "ApproveIcon",
|
|
8467
|
+
variant: "contained",
|
|
8468
|
+
color: "info",
|
|
8469
|
+
type: "text",
|
|
8470
|
+
onClick: "saveHandler",
|
|
8471
|
+
size: "small"
|
|
8472
|
+
},
|
|
8473
|
+
style: {
|
|
8474
|
+
marginBottom: "8px",
|
|
8475
|
+
float: "right"
|
|
8476
|
+
}
|
|
8005
8477
|
}
|
|
8006
|
-
|
|
8007
|
-
|
|
8008
|
-
|
|
8478
|
+
},
|
|
8479
|
+
{
|
|
8480
|
+
type: "Control",
|
|
8481
|
+
scope: "#/properties/notify",
|
|
8482
|
+
options: {
|
|
8483
|
+
widget: "Notify"
|
|
8484
|
+
},
|
|
8485
|
+
layout: 6
|
|
8486
|
+
}
|
|
8487
|
+
]
|
|
8009
8488
|
};
|
|
8010
8489
|
const APISection = {
|
|
8011
8490
|
type: "HorizontalLayout",
|
|
@@ -8017,7 +8496,7 @@ const APISection = {
|
|
|
8017
8496
|
widget: "SelectInputField"
|
|
8018
8497
|
},
|
|
8019
8498
|
config: {
|
|
8020
|
-
layout: { xs: 11, sm:
|
|
8499
|
+
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
8021
8500
|
main: {
|
|
8022
8501
|
label: "Method",
|
|
8023
8502
|
type: "text"
|
|
@@ -8031,7 +8510,7 @@ const APISection = {
|
|
|
8031
8510
|
widget: "InputField"
|
|
8032
8511
|
},
|
|
8033
8512
|
config: {
|
|
8034
|
-
layout: { xs: 11, sm:
|
|
8513
|
+
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
8035
8514
|
main: {
|
|
8036
8515
|
label: "Path",
|
|
8037
8516
|
type: "text",
|
|
@@ -8040,26 +8519,6 @@ const APISection = {
|
|
|
8040
8519
|
}
|
|
8041
8520
|
}
|
|
8042
8521
|
},
|
|
8043
|
-
{
|
|
8044
|
-
type: "Control",
|
|
8045
|
-
scope: "#/properties/emptyBox",
|
|
8046
|
-
options: {
|
|
8047
|
-
widget: "EmptyBox"
|
|
8048
|
-
},
|
|
8049
|
-
config: {
|
|
8050
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8051
|
-
}
|
|
8052
|
-
},
|
|
8053
|
-
{
|
|
8054
|
-
type: "Control",
|
|
8055
|
-
scope: "#/properties/emptyBox",
|
|
8056
|
-
options: {
|
|
8057
|
-
widget: "EmptyBox"
|
|
8058
|
-
},
|
|
8059
|
-
config: {
|
|
8060
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8061
|
-
}
|
|
8062
|
-
},
|
|
8063
8522
|
{
|
|
8064
8523
|
type: "Control",
|
|
8065
8524
|
scope: "#/properties/headers",
|
|
@@ -8076,7 +8535,12 @@ const APISection = {
|
|
|
8076
8535
|
widget: "InputField"
|
|
8077
8536
|
},
|
|
8078
8537
|
config: {
|
|
8079
|
-
layout: {
|
|
8538
|
+
layout: {
|
|
8539
|
+
xs: 11,
|
|
8540
|
+
sm: 11,
|
|
8541
|
+
md: 5.5,
|
|
8542
|
+
lg: 5.5
|
|
8543
|
+
},
|
|
8080
8544
|
main: {
|
|
8081
8545
|
label: "Key"
|
|
8082
8546
|
}
|
|
@@ -8089,21 +8553,16 @@ const APISection = {
|
|
|
8089
8553
|
widget: "InputField"
|
|
8090
8554
|
},
|
|
8091
8555
|
config: {
|
|
8092
|
-
layout: {
|
|
8556
|
+
layout: {
|
|
8557
|
+
xs: 11,
|
|
8558
|
+
sm: 11,
|
|
8559
|
+
md: 5.5,
|
|
8560
|
+
lg: 5.5
|
|
8561
|
+
},
|
|
8093
8562
|
main: {
|
|
8094
8563
|
label: "Value"
|
|
8095
8564
|
}
|
|
8096
8565
|
}
|
|
8097
|
-
},
|
|
8098
|
-
{
|
|
8099
|
-
type: "Control",
|
|
8100
|
-
scope: "#/properties/emptyBox",
|
|
8101
|
-
options: {
|
|
8102
|
-
widget: "EmptyBox"
|
|
8103
|
-
},
|
|
8104
|
-
config: {
|
|
8105
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8106
|
-
}
|
|
8107
8566
|
}
|
|
8108
8567
|
]
|
|
8109
8568
|
}
|
|
@@ -8125,7 +8584,12 @@ const APISection = {
|
|
|
8125
8584
|
widget: "InputField"
|
|
8126
8585
|
},
|
|
8127
8586
|
config: {
|
|
8128
|
-
layout: {
|
|
8587
|
+
layout: {
|
|
8588
|
+
xs: 11,
|
|
8589
|
+
sm: 11,
|
|
8590
|
+
md: 5.5,
|
|
8591
|
+
lg: 5.5
|
|
8592
|
+
},
|
|
8129
8593
|
main: {
|
|
8130
8594
|
label: "Key"
|
|
8131
8595
|
}
|
|
@@ -8138,21 +8602,16 @@ const APISection = {
|
|
|
8138
8602
|
widget: "InputField"
|
|
8139
8603
|
},
|
|
8140
8604
|
config: {
|
|
8141
|
-
layout: {
|
|
8605
|
+
layout: {
|
|
8606
|
+
xs: 11,
|
|
8607
|
+
sm: 11,
|
|
8608
|
+
md: 5.5,
|
|
8609
|
+
lg: 5.5
|
|
8610
|
+
},
|
|
8142
8611
|
main: {
|
|
8143
8612
|
label: "Value"
|
|
8144
8613
|
}
|
|
8145
8614
|
}
|
|
8146
|
-
},
|
|
8147
|
-
{
|
|
8148
|
-
type: "Control",
|
|
8149
|
-
scope: "#/properties/emptyBox",
|
|
8150
|
-
options: {
|
|
8151
|
-
widget: "EmptyBox"
|
|
8152
|
-
},
|
|
8153
|
-
config: {
|
|
8154
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8155
|
-
}
|
|
8156
8615
|
}
|
|
8157
8616
|
]
|
|
8158
8617
|
}
|
|
@@ -8179,7 +8638,12 @@ const refreshSectionUiSchema = {
|
|
|
8179
8638
|
widget: "InputField"
|
|
8180
8639
|
},
|
|
8181
8640
|
config: {
|
|
8182
|
-
layout: {
|
|
8641
|
+
layout: {
|
|
8642
|
+
xs: 11,
|
|
8643
|
+
sm: 11,
|
|
8644
|
+
md: 5.5,
|
|
8645
|
+
lg: 5.5
|
|
8646
|
+
},
|
|
8183
8647
|
main: {
|
|
8184
8648
|
label: "Value"
|
|
8185
8649
|
}
|
|
@@ -8192,7 +8656,12 @@ const refreshSectionUiSchema = {
|
|
|
8192
8656
|
widget: "EmptyBox"
|
|
8193
8657
|
},
|
|
8194
8658
|
config: {
|
|
8195
|
-
layout: {
|
|
8659
|
+
layout: {
|
|
8660
|
+
xs: 11,
|
|
8661
|
+
sm: 11,
|
|
8662
|
+
md: 5.5,
|
|
8663
|
+
lg: 5.5
|
|
8664
|
+
},
|
|
8196
8665
|
main: {}
|
|
8197
8666
|
}
|
|
8198
8667
|
}
|
|
@@ -8212,21 +8681,21 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8212
8681
|
this.refreshPage(formdata.Handler, store2);
|
|
8213
8682
|
},
|
|
8214
8683
|
refreshPage: (handlerType, store22) => {
|
|
8215
|
-
const uiSchema = _.cloneDeep(EventUiSchema
|
|
8684
|
+
const uiSchema = _.cloneDeep(EventUiSchema);
|
|
8216
8685
|
const schema2 = _.cloneDeep(EventSchema);
|
|
8217
8686
|
if (handlerType) {
|
|
8218
8687
|
if (handlerType === "custom") {
|
|
8219
|
-
uiSchema.elements[
|
|
8688
|
+
uiSchema.elements[1].elements[0].elements[2] = getTextArea("eventCode", "Write Custom Code", false);
|
|
8220
8689
|
schema2.required = ["eventType", "Handler", "eventCode"];
|
|
8221
8690
|
} else if (handlerType === "api") {
|
|
8222
|
-
uiSchema.elements[
|
|
8691
|
+
uiSchema.elements[1].elements[0].elements[2] = APISection;
|
|
8223
8692
|
schema2.required = ["eventType", "Handler", "method", "path"];
|
|
8224
8693
|
} else if (handlerType === "inBuiltFunction") {
|
|
8225
|
-
uiSchema.elements[
|
|
8226
|
-
uiSchema.elements[
|
|
8694
|
+
uiSchema.elements[1].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
|
|
8695
|
+
uiSchema.elements[1].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true, { xs: 12, sm: 12, md: 6 });
|
|
8227
8696
|
schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
|
|
8228
8697
|
} else if (handlerType === "refresh") {
|
|
8229
|
-
uiSchema.elements[
|
|
8698
|
+
uiSchema.elements[1].elements[0].elements[2] = refreshSectionUiSchema;
|
|
8230
8699
|
schema2.properties.refreshElements.required = ["value"];
|
|
8231
8700
|
schema2.properties.refreshElements.items.required = ["value"];
|
|
8232
8701
|
schema2.required = ["eventType", "Handler", "refreshElements"];
|
|
@@ -8236,8 +8705,8 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8236
8705
|
store22.setUiSchema(uiSchema);
|
|
8237
8706
|
},
|
|
8238
8707
|
getFormData: Component(store2, dynamicData2, submitHandler, service2).getFormdata,
|
|
8239
|
-
getUiSchema:
|
|
8240
|
-
return
|
|
8708
|
+
getUiSchema: function() {
|
|
8709
|
+
return EventUiSchema;
|
|
8241
8710
|
},
|
|
8242
8711
|
getSchema: () => {
|
|
8243
8712
|
return EventSchema;
|
|
@@ -8272,9 +8741,17 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8272
8741
|
store2.setSearchParams(store2.searchParams);
|
|
8273
8742
|
this.setPage();
|
|
8274
8743
|
},
|
|
8275
|
-
deleteEvent:
|
|
8744
|
+
deleteEvent: async function() {
|
|
8745
|
+
await Component(store2, dynamicData2, submitHandler, service2).deleteEvent(false);
|
|
8746
|
+
store2.updateDialog("popUpEvent");
|
|
8747
|
+
},
|
|
8276
8748
|
backHandler: function() {
|
|
8277
8749
|
store2.navigate(-1);
|
|
8750
|
+
},
|
|
8751
|
+
deletePopUpEvent: function() {
|
|
8752
|
+
const rowId = dynamicData2.path.split(".")[1];
|
|
8753
|
+
localStorage.setItem("rowId", rowId);
|
|
8754
|
+
store2.updateDialog("popUpEvent");
|
|
8278
8755
|
}
|
|
8279
8756
|
};
|
|
8280
8757
|
};
|
|
@@ -8343,7 +8820,6 @@ async function executeEventsHandler(params2) {
|
|
|
8343
8820
|
} else if (params2.config.Handler === "refresh") {
|
|
8344
8821
|
return await executeRefreshHandler(params2);
|
|
8345
8822
|
} else if (params2.config.Handler === "mergeFormdata") {
|
|
8346
|
-
console.log("params : ", params2);
|
|
8347
8823
|
const result = await mergeFormdata(
|
|
8348
8824
|
params2.parentEventOutput,
|
|
8349
8825
|
params2.componentName,
|
|
@@ -8429,26 +8905,20 @@ async function mergeFormdata(handlerResponse, componentName, eventConfig, store2
|
|
|
8429
8905
|
};
|
|
8430
8906
|
});
|
|
8431
8907
|
} else if (eventConfig.type === "page") {
|
|
8432
|
-
console.log("console1 : ", handlerResponse);
|
|
8433
8908
|
if (!(_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data) && (handlerResponse == null ? void 0 : handlerResponse.data))) {
|
|
8434
|
-
console.log("console2 : ", handlerResponse);
|
|
8435
8909
|
store2.setFormdata((pre) => {
|
|
8436
8910
|
return { ...pre, ...handlerResponse == null ? void 0 : handlerResponse.data };
|
|
8437
8911
|
});
|
|
8438
8912
|
}
|
|
8439
8913
|
} else {
|
|
8440
8914
|
if (handlerResponse) {
|
|
8441
|
-
console.log("console3 : ", handlerResponse);
|
|
8442
|
-
let body2;
|
|
8443
|
-
if (handlerResponse.data instanceof Array) {
|
|
8444
|
-
body2 = [...handlerResponse.data];
|
|
8445
|
-
} else if (handlerResponse.data instanceof Object) {
|
|
8446
|
-
body2 = { ...handlerResponse.data };
|
|
8447
|
-
}
|
|
8448
8915
|
store2.setFormdata((pre) => {
|
|
8449
|
-
return { ...pre, [componentName]: eventConfig.lazyLoading ? handlerResponse.data.data :
|
|
8916
|
+
return { ...pre, [componentName]: eventConfig.lazyLoading ? handlerResponse.data.data : handlerResponse.data };
|
|
8450
8917
|
});
|
|
8451
|
-
|
|
8918
|
+
if (!store2.newData) {
|
|
8919
|
+
store2.newData = {};
|
|
8920
|
+
}
|
|
8921
|
+
store2.newData[componentName] = handlerResponse.data;
|
|
8452
8922
|
}
|
|
8453
8923
|
}
|
|
8454
8924
|
}
|
|
@@ -8522,16 +8992,6 @@ function getRefreshElements(eventConfig, eventGropus) {
|
|
|
8522
8992
|
console.log(result);
|
|
8523
8993
|
return result;
|
|
8524
8994
|
}
|
|
8525
|
-
function asyncOperation() {
|
|
8526
|
-
return new Promise((resolve, reject) => {
|
|
8527
|
-
setTimeout(() => {
|
|
8528
|
-
{
|
|
8529
|
-
resolve("Operation completed successfully!");
|
|
8530
|
-
reject(new Error("Operation failed!"));
|
|
8531
|
-
}
|
|
8532
|
-
}, 50);
|
|
8533
|
-
});
|
|
8534
|
-
}
|
|
8535
8995
|
let compType;
|
|
8536
8996
|
let eventGroups = {};
|
|
8537
8997
|
const notifyUiSchema = {
|
|
@@ -8653,13 +9113,11 @@ var service = (funcParams) => {
|
|
|
8653
9113
|
}
|
|
8654
9114
|
},
|
|
8655
9115
|
onChange: async function() {
|
|
8656
|
-
var _a, _b;
|
|
8657
9116
|
if (eventGroups.onChange) {
|
|
8658
|
-
(_a = funcParams.dynamicData) == null ? void 0 : _a.setLoading(true);
|
|
8659
9117
|
const ChangeEventsKeysArray = Object.keys(eventGroups.onChange);
|
|
8660
9118
|
Promise.all(ChangeEventsKeysArray.map(async (componentName) => {
|
|
8661
|
-
var
|
|
8662
|
-
if (((
|
|
9119
|
+
var _a, _b;
|
|
9120
|
+
if (((_a = funcParams.store) == null ? void 0 : _a.formData[componentName]) !== funcParams.store.newData[componentName] && ((_b = funcParams.store) == null ? void 0 : _b.newData[componentName]) !== void 0) {
|
|
8663
9121
|
for (const eventConfig of eventGroups.onChange[componentName]) {
|
|
8664
9122
|
await executeEvents({
|
|
8665
9123
|
...executeEventsParameters,
|
|
@@ -8669,7 +9127,6 @@ var service = (funcParams) => {
|
|
|
8669
9127
|
}
|
|
8670
9128
|
}
|
|
8671
9129
|
}));
|
|
8672
|
-
(_b = funcParams.dynamicData) == null ? void 0 : _b.setLoading(false);
|
|
8673
9130
|
}
|
|
8674
9131
|
},
|
|
8675
9132
|
updateConfigApiBody: async function(paramValue, apiBody) {
|
|
@@ -8712,9 +9169,6 @@ var service = (funcParams) => {
|
|
|
8712
9169
|
functionParameters == null ? void 0 : functionParameters.handleNext();
|
|
8713
9170
|
}
|
|
8714
9171
|
},
|
|
8715
|
-
backHandler: () => {
|
|
8716
|
-
funcParams.store.navigate(-1);
|
|
8717
|
-
},
|
|
8718
9172
|
onReset: async function(functionParameters) {
|
|
8719
9173
|
var _a, _b;
|
|
8720
9174
|
const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || funcParams.dynamicData.path.split(".")[0];
|
|
@@ -8750,9 +9204,12 @@ var leaderBoard = {
|
|
|
8750
9204
|
label: "LeaderBoard",
|
|
8751
9205
|
divider: true
|
|
8752
9206
|
},
|
|
8753
|
-
style: {
|
|
8754
|
-
|
|
8755
|
-
|
|
9207
|
+
style: {
|
|
9208
|
+
wrapperStyle: {
|
|
9209
|
+
display: "flex",
|
|
9210
|
+
gap: "10px"
|
|
9211
|
+
}
|
|
9212
|
+
},
|
|
8756
9213
|
wrapperStyle: {
|
|
8757
9214
|
position: "relative",
|
|
8758
9215
|
width: "100%"
|
|
@@ -9061,11 +9518,11 @@ var leaderBoard = {
|
|
|
9061
9518
|
fontWeight: 900,
|
|
9062
9519
|
background: "rgb(179, 198, 255)"
|
|
9063
9520
|
},
|
|
9064
|
-
position: "absolute",
|
|
9065
9521
|
top: { xs: "300px", sm: "300px", md: "390px", lg: "390px" },
|
|
9066
9522
|
border: "2px solid rgb(179, 198, 255)",
|
|
9067
9523
|
width: "95%",
|
|
9068
|
-
left: "2.5%"
|
|
9524
|
+
left: "2.5%",
|
|
9525
|
+
margin: "auto"
|
|
9069
9526
|
},
|
|
9070
9527
|
main: {
|
|
9071
9528
|
disableAction: true,
|
|
@@ -9173,7 +9630,62 @@ const BarGraph = {
|
|
|
9173
9630
|
widget: "Graph"
|
|
9174
9631
|
},
|
|
9175
9632
|
config: {
|
|
9176
|
-
main: {
|
|
9633
|
+
main: {
|
|
9634
|
+
header: "Bar Graph",
|
|
9635
|
+
bottomLabel: "Name of Employe",
|
|
9636
|
+
numTicks: 6,
|
|
9637
|
+
leftLabel: "Value in lakhs",
|
|
9638
|
+
axisLeft: true,
|
|
9639
|
+
axisBottom: true,
|
|
9640
|
+
hideTicks: false,
|
|
9641
|
+
hideLeftAxisLine: false,
|
|
9642
|
+
hideBottomAxisLine: false,
|
|
9643
|
+
bottomAxisWidth: "10px",
|
|
9644
|
+
legend: {
|
|
9645
|
+
labelColor: "green",
|
|
9646
|
+
legendTitle: "",
|
|
9647
|
+
direction: "row",
|
|
9648
|
+
align: "none"
|
|
9649
|
+
}
|
|
9650
|
+
},
|
|
9651
|
+
style: {
|
|
9652
|
+
containerStyle: {
|
|
9653
|
+
width: "100%",
|
|
9654
|
+
height: 300
|
|
9655
|
+
},
|
|
9656
|
+
headerStyle: {},
|
|
9657
|
+
tooltipStyle: {},
|
|
9658
|
+
labelStyle: {
|
|
9659
|
+
margin: { left: 80, bottom: 20 },
|
|
9660
|
+
leftLabelOffset: 50,
|
|
9661
|
+
bottomLabelOffset: 10
|
|
9662
|
+
},
|
|
9663
|
+
barStyle: {
|
|
9664
|
+
color: {
|
|
9665
|
+
firstBarColor: "#6c5efb",
|
|
9666
|
+
secondBarColor: "#3f51b5"
|
|
9667
|
+
}
|
|
9668
|
+
},
|
|
9669
|
+
legendStyle: {
|
|
9670
|
+
legend: {
|
|
9671
|
+
lineHeight: "0.9em",
|
|
9672
|
+
fontSize: "8px",
|
|
9673
|
+
fontFamily: "arial",
|
|
9674
|
+
padding: "10px 10px",
|
|
9675
|
+
width: "30%",
|
|
9676
|
+
display: "flex",
|
|
9677
|
+
justifyContent: "center",
|
|
9678
|
+
border: "1px solid rgba(255, 255, 255, 0.3)",
|
|
9679
|
+
borderRadius: " 8px",
|
|
9680
|
+
marginRight: "auto"
|
|
9681
|
+
},
|
|
9682
|
+
legendTitle: {
|
|
9683
|
+
fontSize: "10px",
|
|
9684
|
+
marginBottom: "10px",
|
|
9685
|
+
fontWeight: "100"
|
|
9686
|
+
}
|
|
9687
|
+
}
|
|
9688
|
+
}
|
|
9177
9689
|
}
|
|
9178
9690
|
};
|
|
9179
9691
|
const PieGraph = {
|
|
@@ -9184,7 +9696,35 @@ const PieGraph = {
|
|
|
9184
9696
|
},
|
|
9185
9697
|
config: {
|
|
9186
9698
|
main: {
|
|
9187
|
-
|
|
9699
|
+
header: "Incentive Branch category wise",
|
|
9700
|
+
type: "PieGraph",
|
|
9701
|
+
bottomLabel: "Name of Employe",
|
|
9702
|
+
leftLabel: "Value",
|
|
9703
|
+
axisLeft: true,
|
|
9704
|
+
axisBottom: true,
|
|
9705
|
+
legendAvailable: true,
|
|
9706
|
+
legend: {
|
|
9707
|
+
labelColor: "green",
|
|
9708
|
+
legendTitle: "Branches",
|
|
9709
|
+
direction: "row",
|
|
9710
|
+
align: "right"
|
|
9711
|
+
}
|
|
9712
|
+
},
|
|
9713
|
+
style: {
|
|
9714
|
+
containerStyle: {
|
|
9715
|
+
height: "340"
|
|
9716
|
+
},
|
|
9717
|
+
headerStyle: {},
|
|
9718
|
+
tooltipStyle: {
|
|
9719
|
+
backgroundColor: "black",
|
|
9720
|
+
width: "80px"
|
|
9721
|
+
},
|
|
9722
|
+
labelStyle: {},
|
|
9723
|
+
legendStyle: {
|
|
9724
|
+
legend: {},
|
|
9725
|
+
legendTitle: {}
|
|
9726
|
+
},
|
|
9727
|
+
pieStyle: {}
|
|
9188
9728
|
}
|
|
9189
9729
|
}
|
|
9190
9730
|
};
|
|
@@ -9232,7 +9772,28 @@ const HorizontalBarGraph = {
|
|
|
9232
9772
|
},
|
|
9233
9773
|
config: {
|
|
9234
9774
|
main: {
|
|
9235
|
-
|
|
9775
|
+
header: " ",
|
|
9776
|
+
type: "HorizontalBarGraph",
|
|
9777
|
+
bottomLabel: " ",
|
|
9778
|
+
leftLabel: "Value",
|
|
9779
|
+
axisLeft: false,
|
|
9780
|
+
axisBottom: true,
|
|
9781
|
+
hideBottomTicks: false,
|
|
9782
|
+
hideLeftTicks: false,
|
|
9783
|
+
hideLeftAxisLine: true,
|
|
9784
|
+
hideBottomAxisLine: false,
|
|
9785
|
+
bottomAxisWidth: "10px"
|
|
9786
|
+
},
|
|
9787
|
+
style: {
|
|
9788
|
+
containerStyle: {
|
|
9789
|
+
width: "100%"
|
|
9790
|
+
},
|
|
9791
|
+
headerStyle: {},
|
|
9792
|
+
tooltipStyle: {},
|
|
9793
|
+
labelStyle: {},
|
|
9794
|
+
barStyle: {
|
|
9795
|
+
color: "#6c5efb"
|
|
9796
|
+
}
|
|
9236
9797
|
}
|
|
9237
9798
|
}
|
|
9238
9799
|
};
|
|
@@ -9251,11 +9812,7 @@ const buildHorizontalBarGraph = (config, componentScope) => {
|
|
|
9251
9812
|
horizontalBarGraph.config.containerStyle.background = config.containerBackground;
|
|
9252
9813
|
}
|
|
9253
9814
|
if (config.height) {
|
|
9254
|
-
horizontalBarGraph.config.style =
|
|
9255
|
-
containerStyle: {
|
|
9256
|
-
height: config.height
|
|
9257
|
-
}
|
|
9258
|
-
};
|
|
9815
|
+
horizontalBarGraph.config.style.containerStyle.height = config.height;
|
|
9259
9816
|
}
|
|
9260
9817
|
if (config.bottomLabel) {
|
|
9261
9818
|
horizontalBarGraph.config.main.bottomLabel = config.bottomLabel;
|
|
@@ -9364,11 +9921,7 @@ const buildPieGraph = (config, componentScope) => {
|
|
|
9364
9921
|
pieGraph.config.layout = createLayoutFormat(config.layout);
|
|
9365
9922
|
}
|
|
9366
9923
|
if (config.height) {
|
|
9367
|
-
pieGraph.config.style =
|
|
9368
|
-
containerStyle: {
|
|
9369
|
-
height: config.height
|
|
9370
|
-
}
|
|
9371
|
-
};
|
|
9924
|
+
pieGraph.config.style.containerStyle.height = config.height;
|
|
9372
9925
|
}
|
|
9373
9926
|
if (config.legendHide) {
|
|
9374
9927
|
pieGraph.config.main.legendAvailabe = config.legendHide === "YES" ? false : true;
|
|
@@ -9379,11 +9932,7 @@ const buildPieGraph = (config, componentScope) => {
|
|
|
9379
9932
|
pieGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
|
|
9380
9933
|
}
|
|
9381
9934
|
if (config.pieArcColors) {
|
|
9382
|
-
pieGraph.config.style =
|
|
9383
|
-
pieStyle: {
|
|
9384
|
-
colorRange: flatObjectValueInArray(config.pieArcColors)
|
|
9385
|
-
}
|
|
9386
|
-
};
|
|
9935
|
+
pieGraph.config.style.pieStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
|
|
9387
9936
|
}
|
|
9388
9937
|
return pieGraph;
|
|
9389
9938
|
};
|
|
@@ -9393,13 +9942,16 @@ const buildStackbarGraph = (config, componentScope) => {
|
|
|
9393
9942
|
barGraph.config.layout = createLayoutFormat(config.layout);
|
|
9394
9943
|
}
|
|
9395
9944
|
if (config.legendHide) {
|
|
9396
|
-
barGraph.config.main.legendAvailable =
|
|
9945
|
+
barGraph.config.main.legendAvailable = false;
|
|
9397
9946
|
}
|
|
9398
9947
|
barGraph.config.main.type = config.graphType;
|
|
9399
9948
|
barGraph.config.main.header = config.heading;
|
|
9400
9949
|
if (config.barColor) {
|
|
9401
9950
|
barGraph.config.barStyle.color = config.barColor;
|
|
9402
9951
|
}
|
|
9952
|
+
if (config.containerBackground) {
|
|
9953
|
+
barGraph.config.containerStyle.background = config.containerBackground;
|
|
9954
|
+
}
|
|
9403
9955
|
if (config.height) {
|
|
9404
9956
|
barGraph.config.style.containerStyle.height = config.height;
|
|
9405
9957
|
}
|
|
@@ -9409,6 +9961,7 @@ const buildStackbarGraph = (config, componentScope) => {
|
|
|
9409
9961
|
if (config.leftLabel) {
|
|
9410
9962
|
barGraph.config.main.leftLabel = config.leftLabel;
|
|
9411
9963
|
}
|
|
9964
|
+
barGraph.scope = componentScope;
|
|
9412
9965
|
return barGraph;
|
|
9413
9966
|
};
|
|
9414
9967
|
var RunnerBoyProgressBar = {
|
|
@@ -9462,10 +10015,8 @@ var WrapperSection = {
|
|
|
9462
10015
|
};
|
|
9463
10016
|
const buildWrapperSection = (config, componentScope) => {
|
|
9464
10017
|
const wrapper = _.cloneDeep(WrapperSection);
|
|
9465
|
-
wrapper.scope = componentScope;
|
|
9466
10018
|
wrapper.config.main.label = config.label;
|
|
9467
10019
|
wrapper.config.main.divider = config.divider === "YES" ? true : false;
|
|
9468
|
-
wrapper.config.main.isAccordion = config.isAccordion === "YES" ? true : false;
|
|
9469
10020
|
if (config.style) {
|
|
9470
10021
|
wrapper.config.style = JSON.parse(config.style);
|
|
9471
10022
|
}
|
|
@@ -9481,7 +10032,12 @@ var TextInputField = {
|
|
|
9481
10032
|
widget: "InputField"
|
|
9482
10033
|
},
|
|
9483
10034
|
config: {
|
|
9484
|
-
layout: {
|
|
10035
|
+
layout: {
|
|
10036
|
+
xs: 11,
|
|
10037
|
+
sm: 11,
|
|
10038
|
+
md: 5.5,
|
|
10039
|
+
lg: 5.5
|
|
10040
|
+
},
|
|
9485
10041
|
main: {
|
|
9486
10042
|
label: ""
|
|
9487
10043
|
},
|
|
@@ -9514,7 +10070,12 @@ var SelectInputField = {
|
|
|
9514
10070
|
widget: "SelectInputField"
|
|
9515
10071
|
},
|
|
9516
10072
|
config: {
|
|
9517
|
-
layout: {
|
|
10073
|
+
"layout": {
|
|
10074
|
+
"xs": 11,
|
|
10075
|
+
"sm": 11,
|
|
10076
|
+
"md": 5.5,
|
|
10077
|
+
"lg": 5.5
|
|
10078
|
+
},
|
|
9518
10079
|
main: {
|
|
9519
10080
|
label: "",
|
|
9520
10081
|
type: "text",
|
|
@@ -9803,14 +10364,16 @@ var Card = {
|
|
|
9803
10364
|
main: {
|
|
9804
10365
|
rowSpacing: 0.5
|
|
9805
10366
|
},
|
|
9806
|
-
|
|
9807
|
-
|
|
9808
|
-
|
|
9809
|
-
|
|
9810
|
-
|
|
9811
|
-
|
|
9812
|
-
|
|
9813
|
-
|
|
10367
|
+
style: {
|
|
10368
|
+
wrapperStyle: {
|
|
10369
|
+
position: "relative",
|
|
10370
|
+
color: "white",
|
|
10371
|
+
height: { xs: "120px", md: "160px" },
|
|
10372
|
+
width: "100%",
|
|
10373
|
+
textAlign: "left",
|
|
10374
|
+
background: "#3f51b5",
|
|
10375
|
+
borderRadius: "20px"
|
|
10376
|
+
}
|
|
9814
10377
|
},
|
|
9815
10378
|
layout: { xs: 12, sm: 12, md: 6, lg: 6 }
|
|
9816
10379
|
},
|
|
@@ -9922,7 +10485,12 @@ var DateInputField = {
|
|
|
9922
10485
|
widget: "DateInputField"
|
|
9923
10486
|
},
|
|
9924
10487
|
config: {
|
|
9925
|
-
layout: {
|
|
10488
|
+
layout: {
|
|
10489
|
+
xs: 11,
|
|
10490
|
+
sm: 11,
|
|
10491
|
+
md: 5.5,
|
|
10492
|
+
lg: 5.5
|
|
10493
|
+
},
|
|
9926
10494
|
main: {
|
|
9927
10495
|
label: "",
|
|
9928
10496
|
type: "date"
|
|
@@ -10039,7 +10607,7 @@ var MultipleSelect = {
|
|
|
10039
10607
|
widget: "MultipleSelect"
|
|
10040
10608
|
},
|
|
10041
10609
|
config: {
|
|
10042
|
-
layout: { xs: 11, sm:
|
|
10610
|
+
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
10043
10611
|
main: {
|
|
10044
10612
|
label: "",
|
|
10045
10613
|
type: "text",
|
|
@@ -10070,7 +10638,6 @@ const buildBasicUiSchema = (config) => {
|
|
|
10070
10638
|
return {
|
|
10071
10639
|
"type": "HorizontalLayout",
|
|
10072
10640
|
pageName: `${config.name}`,
|
|
10073
|
-
heading: `${config.label}`,
|
|
10074
10641
|
"elements": []
|
|
10075
10642
|
};
|
|
10076
10643
|
};
|
|
@@ -10227,7 +10794,7 @@ var emptyBox = {
|
|
|
10227
10794
|
widget: "EmptyBox"
|
|
10228
10795
|
},
|
|
10229
10796
|
config: {
|
|
10230
|
-
layout: { xs:
|
|
10797
|
+
layout: { xs: 12, sm: 12, md: 5.5, lg: 5.5 },
|
|
10231
10798
|
main: {},
|
|
10232
10799
|
style: {}
|
|
10233
10800
|
}
|
|
@@ -10606,7 +11173,7 @@ const buildUiSchema = (config) => {
|
|
|
10606
11173
|
elements = RunnerBoyProgressbar(config, componentScope);
|
|
10607
11174
|
break;
|
|
10608
11175
|
case "WrapperSection":
|
|
10609
|
-
elements = buildWrapperSection(config
|
|
11176
|
+
elements = buildWrapperSection(config);
|
|
10610
11177
|
break;
|
|
10611
11178
|
case "Text":
|
|
10612
11179
|
elements = buildTextField(config, componentScope);
|
|
@@ -10657,7 +11224,7 @@ const buildUiSchema = (config) => {
|
|
|
10657
11224
|
switch (config.graphType) {
|
|
10658
11225
|
case "BarGraph":
|
|
10659
11226
|
case "StackBarGraph":
|
|
10660
|
-
elements = buildStackbarGraph(config);
|
|
11227
|
+
elements = buildStackbarGraph(config, componentScope);
|
|
10661
11228
|
break;
|
|
10662
11229
|
case "LineGraph":
|
|
10663
11230
|
elements = buildLineGraph(config, componentScope);
|