impaktapps-ui-builder 0.0.412-mtreemap.2 → 0.0.412-mtreemap.20
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 +716 -362
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +13 -13
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +1 -6
- 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 +5 -5
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/file.d.ts +6 -6
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +8 -5
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +4 -2
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +3 -2
- package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +3 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +4 -4
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +27 -26
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +2 -0
- package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +39 -38
- package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +2 -7
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +10 -9
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +21 -28
- package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -8
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +155 -102
- package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -12
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +9 -5
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +14 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +1 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +0 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +495 -283
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +346 -208
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +70 -23
- package/src/impaktapps-ui-builder/builder/services/component.ts +39 -21
- package/src/impaktapps-ui-builder/builder/services/event.ts +16 -6
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +18 -2
- package/src/impaktapps-ui-builder/runtime/services/service.ts +112 -4
|
@@ -41,7 +41,7 @@ const PageMasterSchema = {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
|
-
required: ["template", "name"]
|
|
44
|
+
required: ["template", "name", "label"]
|
|
45
45
|
};
|
|
46
46
|
const PageMasterUiSchema = (theme) => {
|
|
47
47
|
var _a;
|
|
@@ -79,15 +79,19 @@ const PageMasterUiSchema = (theme) => {
|
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
type: "Control",
|
|
82
|
-
scope: "#/properties/
|
|
82
|
+
scope: "#/properties/template",
|
|
83
83
|
options: {
|
|
84
|
-
widget: "
|
|
84
|
+
widget: "SelectInputField"
|
|
85
85
|
},
|
|
86
86
|
config: {
|
|
87
87
|
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
88
88
|
main: {
|
|
89
|
-
label: "
|
|
90
|
-
options: [
|
|
89
|
+
label: "Template",
|
|
90
|
+
options: [
|
|
91
|
+
{ const: "template1", title: "template1" },
|
|
92
|
+
{ const: "template2", title: "template2" },
|
|
93
|
+
{ const: "template3", title: "template3" }
|
|
94
|
+
],
|
|
91
95
|
color: "secondary",
|
|
92
96
|
required: true
|
|
93
97
|
}
|
|
@@ -95,228 +99,246 @@ const PageMasterUiSchema = (theme) => {
|
|
|
95
99
|
},
|
|
96
100
|
{
|
|
97
101
|
type: "Control",
|
|
98
|
-
scope: "#/properties/
|
|
102
|
+
scope: "#/properties/label",
|
|
99
103
|
options: {
|
|
100
|
-
widget: "
|
|
104
|
+
widget: "InputField"
|
|
101
105
|
},
|
|
102
106
|
config: {
|
|
103
|
-
layout: { xs:
|
|
107
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
108
|
+
main: {
|
|
109
|
+
label: "Label",
|
|
110
|
+
options: [],
|
|
111
|
+
color: "secondary",
|
|
112
|
+
required: true
|
|
113
|
+
}
|
|
104
114
|
}
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
type: "TabLayout",
|
|
120
|
+
config: {
|
|
121
|
+
main: {
|
|
122
|
+
tabLabels: ["Components", "events"],
|
|
123
|
+
divider: true
|
|
105
124
|
},
|
|
125
|
+
defaultStyle: true
|
|
126
|
+
},
|
|
127
|
+
elements: [
|
|
106
128
|
{
|
|
107
|
-
type: "
|
|
129
|
+
type: "Control",
|
|
130
|
+
scope: "#/properties/elements",
|
|
131
|
+
options: {
|
|
132
|
+
widget: "Table"
|
|
133
|
+
},
|
|
108
134
|
config: {
|
|
109
135
|
main: {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
scope: "#/properties/New_Record",
|
|
130
|
-
options: {
|
|
131
|
-
widget: "IconButton"
|
|
132
|
-
},
|
|
133
|
-
config: {
|
|
134
|
-
main: {
|
|
135
|
-
onClick: "onAddClickHandler",
|
|
136
|
-
size: "small",
|
|
137
|
-
icon: "AddIcon",
|
|
138
|
-
iconLabel: "Add New",
|
|
139
|
-
styleDefault: true
|
|
140
|
-
},
|
|
141
|
-
style: {
|
|
142
|
-
mt: "6px"
|
|
143
|
-
}
|
|
144
|
-
}
|
|
136
|
+
headerIcons: {
|
|
137
|
+
elements: [
|
|
138
|
+
{
|
|
139
|
+
widget: {
|
|
140
|
+
type: "Control",
|
|
141
|
+
scope: "#/properties/New_Record",
|
|
142
|
+
options: {
|
|
143
|
+
widget: "IconButton"
|
|
144
|
+
},
|
|
145
|
+
config: {
|
|
146
|
+
main: {
|
|
147
|
+
onClick: "onAddClickHandler",
|
|
148
|
+
size: "small",
|
|
149
|
+
icon: "AddIcon",
|
|
150
|
+
iconLabel: "Add New",
|
|
151
|
+
styleDefault: true
|
|
152
|
+
},
|
|
153
|
+
style: {
|
|
154
|
+
mt: "6px"
|
|
145
155
|
}
|
|
146
156
|
}
|
|
147
|
-
]
|
|
148
|
-
},
|
|
149
|
-
disableAction: true,
|
|
150
|
-
disableSelection: true,
|
|
151
|
-
enableDrag: true
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
elements: [
|
|
155
|
-
{
|
|
156
|
-
accessorKey: "name",
|
|
157
|
-
header: "Name"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
accessorKey: "type",
|
|
161
|
-
header: "Type"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
header: "Edit",
|
|
165
|
-
field: "Reject_Records",
|
|
166
|
-
flex: 1,
|
|
167
|
-
widget: {
|
|
168
|
-
type: "Control",
|
|
169
|
-
scope: "#/properties/RejectButton",
|
|
170
|
-
options: {
|
|
171
|
-
widget: "IconButton"
|
|
172
|
-
},
|
|
173
|
-
config: {
|
|
174
|
-
main: {
|
|
175
|
-
icon: "EditIcon",
|
|
176
|
-
onClick: "Edit_Components",
|
|
177
|
-
tooltipMessage: "Edit This Record"
|
|
178
|
-
}
|
|
179
157
|
}
|
|
180
158
|
}
|
|
159
|
+
]
|
|
160
|
+
},
|
|
161
|
+
disableAction: true,
|
|
162
|
+
disableSelection: true,
|
|
163
|
+
enableDrag: true
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
elements: [
|
|
167
|
+
{
|
|
168
|
+
accessorKey: "name",
|
|
169
|
+
header: "Name"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
accessorKey: "type",
|
|
173
|
+
header: "Type"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
header: "Edit",
|
|
177
|
+
field: "Reject_Records",
|
|
178
|
+
flex: 1,
|
|
179
|
+
widget: {
|
|
180
|
+
type: "Control",
|
|
181
|
+
scope: "#/properties/RejectButton",
|
|
182
|
+
options: {
|
|
183
|
+
widget: "IconButton"
|
|
181
184
|
},
|
|
182
|
-
{
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
scope: "#/properties/RejectButton",
|
|
189
|
-
options: {
|
|
190
|
-
widget: "IconButton"
|
|
191
|
-
},
|
|
192
|
-
config: {
|
|
193
|
-
main: {
|
|
194
|
-
icon: "RejectIcon",
|
|
195
|
-
color: "error",
|
|
196
|
-
onClick: "Delete_Components",
|
|
197
|
-
tooltipMessage: "Reject This Record"
|
|
198
|
-
}
|
|
199
|
-
}
|
|
185
|
+
config: {
|
|
186
|
+
main: {
|
|
187
|
+
icon: "EditIcon",
|
|
188
|
+
color: "primary",
|
|
189
|
+
onClick: "Edit_Components",
|
|
190
|
+
tooltipMessage: "Edit This Record"
|
|
200
191
|
}
|
|
201
192
|
}
|
|
202
|
-
|
|
193
|
+
}
|
|
203
194
|
},
|
|
204
195
|
{
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
elements: [
|
|
214
|
-
{
|
|
215
|
-
widget: {
|
|
216
|
-
type: "Control",
|
|
217
|
-
scope: "#/properties/New_Record",
|
|
218
|
-
options: {
|
|
219
|
-
widget: "IconButton"
|
|
220
|
-
},
|
|
221
|
-
config: {
|
|
222
|
-
main: {
|
|
223
|
-
onClick: "eventAddHandler",
|
|
224
|
-
size: "small",
|
|
225
|
-
icon: "AddIcon",
|
|
226
|
-
iconLabel: "Add New",
|
|
227
|
-
styleDefault: true
|
|
228
|
-
},
|
|
229
|
-
style: {
|
|
230
|
-
mt: "6px"
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
]
|
|
236
|
-
},
|
|
237
|
-
disableAction: true,
|
|
238
|
-
disableSelection: true,
|
|
239
|
-
enableDrag: true
|
|
240
|
-
}
|
|
241
|
-
},
|
|
242
|
-
elements: [
|
|
243
|
-
{
|
|
244
|
-
accessorKey: "eventType",
|
|
245
|
-
header: "Event Type"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
accessorKey: "Handler",
|
|
249
|
-
header: "Handler"
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
accessorKey: "Edit_Approve_Records",
|
|
253
|
-
header: "Edit Widget",
|
|
254
|
-
widget: {
|
|
255
|
-
type: "Control",
|
|
256
|
-
scope: "#/properties/Edit_Records",
|
|
257
|
-
options: {
|
|
258
|
-
widget: "IconButton"
|
|
259
|
-
},
|
|
260
|
-
config: {
|
|
261
|
-
main: {
|
|
262
|
-
size: "small",
|
|
263
|
-
icon: "EditIcon",
|
|
264
|
-
tooltipMessage: "Edit This Record",
|
|
265
|
-
onClick: "editEvent"
|
|
266
|
-
},
|
|
267
|
-
style: {
|
|
268
|
-
color: "#3949ab"
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
}
|
|
196
|
+
header: "Delete",
|
|
197
|
+
field: "Reject_Records",
|
|
198
|
+
flex: 1,
|
|
199
|
+
widget: {
|
|
200
|
+
type: "Control",
|
|
201
|
+
scope: "#/properties/RejectButton",
|
|
202
|
+
options: {
|
|
203
|
+
widget: "IconButton"
|
|
272
204
|
},
|
|
273
|
-
{
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
options: {
|
|
280
|
-
widget: "IconButton"
|
|
281
|
-
},
|
|
282
|
-
config: {
|
|
283
|
-
main: {
|
|
284
|
-
icon: "RejectIcon",
|
|
285
|
-
color: "error",
|
|
286
|
-
tooltipMessage: "Reject This Record",
|
|
287
|
-
onClick: "deleteEvent"
|
|
288
|
-
}
|
|
289
|
-
}
|
|
205
|
+
config: {
|
|
206
|
+
main: {
|
|
207
|
+
icon: "RejectIcon",
|
|
208
|
+
color: "error",
|
|
209
|
+
onClick: "Delete_Components",
|
|
210
|
+
tooltipMessage: "Reject This Record"
|
|
290
211
|
}
|
|
291
212
|
}
|
|
292
|
-
|
|
213
|
+
}
|
|
293
214
|
}
|
|
294
215
|
]
|
|
295
216
|
},
|
|
296
217
|
{
|
|
297
218
|
type: "Control",
|
|
298
|
-
scope: "#/properties/
|
|
219
|
+
scope: "#/properties/events",
|
|
299
220
|
options: {
|
|
300
|
-
widget: "
|
|
221
|
+
widget: "Table"
|
|
301
222
|
},
|
|
302
223
|
config: {
|
|
303
|
-
layout: 11.9,
|
|
304
224
|
main: {
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
225
|
+
headerIcons: {
|
|
226
|
+
elements: [
|
|
227
|
+
{
|
|
228
|
+
widget: {
|
|
229
|
+
type: "Control",
|
|
230
|
+
scope: "#/properties/New_Record",
|
|
231
|
+
options: {
|
|
232
|
+
widget: "IconButton"
|
|
233
|
+
},
|
|
234
|
+
config: {
|
|
235
|
+
main: {
|
|
236
|
+
onClick: "eventAddHandler",
|
|
237
|
+
size: "small",
|
|
238
|
+
icon: "AddIcon",
|
|
239
|
+
iconLabel: "Add New",
|
|
240
|
+
styleDefault: true
|
|
241
|
+
},
|
|
242
|
+
style: {
|
|
243
|
+
mt: "6px"
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
disableAction: true,
|
|
251
|
+
disableSelection: true,
|
|
252
|
+
enableDrag: true
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
elements: [
|
|
256
|
+
{
|
|
257
|
+
accessorKey: "eventType",
|
|
258
|
+
header: "Event Type"
|
|
311
259
|
},
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
260
|
+
{
|
|
261
|
+
accessorKey: "Handler",
|
|
262
|
+
header: "Handler"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
accessorKey: "Edit_Approve_Records",
|
|
266
|
+
header: "Edit Widget",
|
|
267
|
+
widget: {
|
|
268
|
+
type: "Control",
|
|
269
|
+
scope: "#/properties/Edit_Records",
|
|
270
|
+
options: {
|
|
271
|
+
widget: "IconButton"
|
|
272
|
+
},
|
|
273
|
+
config: {
|
|
274
|
+
main: {
|
|
275
|
+
color: "info",
|
|
276
|
+
size: "small",
|
|
277
|
+
icon: "EditIcon",
|
|
278
|
+
tooltipMessage: "Edit This Record",
|
|
279
|
+
onClick: "editEvent"
|
|
280
|
+
},
|
|
281
|
+
style: {
|
|
282
|
+
color: "#3949ab"
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
accessorKey: "Reject_Records",
|
|
289
|
+
header: "Delete",
|
|
290
|
+
widget: {
|
|
291
|
+
type: "Control",
|
|
292
|
+
scope: "#/properties/RejectButton",
|
|
293
|
+
options: {
|
|
294
|
+
widget: "IconButton"
|
|
295
|
+
},
|
|
296
|
+
config: {
|
|
297
|
+
main: {
|
|
298
|
+
icon: "RejectIcon",
|
|
299
|
+
color: "error",
|
|
300
|
+
tooltipMessage: "Reject This Record",
|
|
301
|
+
onClick: "deleteEvent"
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
315
305
|
}
|
|
316
|
-
|
|
306
|
+
]
|
|
317
307
|
}
|
|
318
308
|
]
|
|
319
309
|
},
|
|
310
|
+
{
|
|
311
|
+
type: "Control",
|
|
312
|
+
scope: "#/properties/btn",
|
|
313
|
+
options: {
|
|
314
|
+
widget: "EmptyBox"
|
|
315
|
+
},
|
|
316
|
+
config: {
|
|
317
|
+
layout: { xs: 0, sm: 8, md: 8, lg: 8 }
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
type: "Control",
|
|
322
|
+
scope: "#/properties/btn",
|
|
323
|
+
options: {
|
|
324
|
+
widget: "Button"
|
|
325
|
+
},
|
|
326
|
+
config: {
|
|
327
|
+
layout: 11.9,
|
|
328
|
+
main: {
|
|
329
|
+
name: "Save",
|
|
330
|
+
startIcon: "ApproveIcon",
|
|
331
|
+
variant: "contained",
|
|
332
|
+
type: "text",
|
|
333
|
+
onClick: "saveHandler",
|
|
334
|
+
size: "medium"
|
|
335
|
+
},
|
|
336
|
+
style: {
|
|
337
|
+
width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
|
|
338
|
+
float: "right"
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
},
|
|
320
342
|
{
|
|
321
343
|
type: "Control",
|
|
322
344
|
scope: "#/properties/notify",
|
|
@@ -6240,30 +6262,63 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6240
6262
|
},
|
|
6241
6263
|
{
|
|
6242
6264
|
type: "Control",
|
|
6243
|
-
scope: "#/properties/
|
|
6244
|
-
layout: 12,
|
|
6265
|
+
scope: "#/properties/columnFormat",
|
|
6245
6266
|
options: {
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
|
|
6253
|
-
|
|
6254
|
-
|
|
6255
|
-
|
|
6256
|
-
|
|
6257
|
-
|
|
6258
|
-
|
|
6259
|
-
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
+
widget: "SelectInputField"
|
|
6268
|
+
},
|
|
6269
|
+
config: {
|
|
6270
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6271
|
+
main: {
|
|
6272
|
+
label: "Column Format"
|
|
6273
|
+
}
|
|
6274
|
+
}
|
|
6275
|
+
},
|
|
6276
|
+
{
|
|
6277
|
+
type: "Control",
|
|
6278
|
+
scope: "#/properties/proc",
|
|
6279
|
+
config: {
|
|
6280
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6281
|
+
},
|
|
6282
|
+
options: {
|
|
6283
|
+
widget: "EmptyBox"
|
|
6284
|
+
}
|
|
6285
|
+
},
|
|
6286
|
+
{
|
|
6287
|
+
type: "Control",
|
|
6288
|
+
scope: "#/properties/proc",
|
|
6289
|
+
config: {
|
|
6290
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6291
|
+
},
|
|
6292
|
+
options: {
|
|
6293
|
+
widget: "EmptyBox"
|
|
6294
|
+
}
|
|
6295
|
+
},
|
|
6296
|
+
{
|
|
6297
|
+
type: "Control",
|
|
6298
|
+
scope: "#/properties/layout",
|
|
6299
|
+
layout: 12,
|
|
6300
|
+
options: {
|
|
6301
|
+
detail: {
|
|
6302
|
+
type: "HorizontalLayout",
|
|
6303
|
+
elements: [
|
|
6304
|
+
{
|
|
6305
|
+
type: "Control",
|
|
6306
|
+
scope: "#/properties/key",
|
|
6307
|
+
options: {
|
|
6308
|
+
widget: "SelectInputField"
|
|
6309
|
+
},
|
|
6310
|
+
config: {
|
|
6311
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6312
|
+
main: {
|
|
6313
|
+
label: "Screen Size"
|
|
6314
|
+
}
|
|
6315
|
+
}
|
|
6316
|
+
},
|
|
6317
|
+
{
|
|
6318
|
+
type: "Control",
|
|
6319
|
+
scope: "#/properties/value",
|
|
6320
|
+
options: {
|
|
6321
|
+
widget: "InputField"
|
|
6267
6322
|
},
|
|
6268
6323
|
config: {
|
|
6269
6324
|
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
@@ -6277,12 +6332,12 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6277
6332
|
},
|
|
6278
6333
|
{
|
|
6279
6334
|
type: "Control",
|
|
6280
|
-
scope: "#/properties/
|
|
6335
|
+
scope: "#/properties/proc",
|
|
6336
|
+
config: {
|
|
6337
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6338
|
+
},
|
|
6281
6339
|
options: {
|
|
6282
6340
|
widget: "EmptyBox"
|
|
6283
|
-
},
|
|
6284
|
-
config: {
|
|
6285
|
-
layout: { xs: 0, sm: 4 }
|
|
6286
6341
|
}
|
|
6287
6342
|
}
|
|
6288
6343
|
]
|
|
@@ -6293,6 +6348,172 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6293
6348
|
}
|
|
6294
6349
|
]
|
|
6295
6350
|
},
|
|
6351
|
+
{
|
|
6352
|
+
type: "Control",
|
|
6353
|
+
scope: "#/properties/popUpComponentSection",
|
|
6354
|
+
options: {
|
|
6355
|
+
widget: "PopUp"
|
|
6356
|
+
},
|
|
6357
|
+
config: {
|
|
6358
|
+
layout: {
|
|
6359
|
+
xs: 12,
|
|
6360
|
+
sm: 12,
|
|
6361
|
+
md: 12,
|
|
6362
|
+
lg: 12
|
|
6363
|
+
},
|
|
6364
|
+
main: {}
|
|
6365
|
+
},
|
|
6366
|
+
elements: [
|
|
6367
|
+
{
|
|
6368
|
+
type: "Control",
|
|
6369
|
+
scope: "#/properties/label",
|
|
6370
|
+
options: {
|
|
6371
|
+
widget: "Box"
|
|
6372
|
+
},
|
|
6373
|
+
config: {
|
|
6374
|
+
layout: 12,
|
|
6375
|
+
main: {
|
|
6376
|
+
heading: "Are you sure you want to delete ?"
|
|
6377
|
+
},
|
|
6378
|
+
style: {
|
|
6379
|
+
marginTop: "-40px"
|
|
6380
|
+
}
|
|
6381
|
+
}
|
|
6382
|
+
},
|
|
6383
|
+
{
|
|
6384
|
+
type: "Control",
|
|
6385
|
+
scope: "#/properties/EmptyBox",
|
|
6386
|
+
options: {
|
|
6387
|
+
widget: "EmptyBox"
|
|
6388
|
+
},
|
|
6389
|
+
config: {
|
|
6390
|
+
main: {},
|
|
6391
|
+
layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 }
|
|
6392
|
+
}
|
|
6393
|
+
},
|
|
6394
|
+
{
|
|
6395
|
+
type: "Control",
|
|
6396
|
+
scope: "#/properties/ConfirmDeleteCompButton",
|
|
6397
|
+
options: {
|
|
6398
|
+
widget: "Button"
|
|
6399
|
+
},
|
|
6400
|
+
config: {
|
|
6401
|
+
layout: 3,
|
|
6402
|
+
main: {
|
|
6403
|
+
name: "Yes",
|
|
6404
|
+
startIcon: "ApproveIcon",
|
|
6405
|
+
variant: "contained",
|
|
6406
|
+
color: "info",
|
|
6407
|
+
type: "text",
|
|
6408
|
+
onClick: "deleteComponents",
|
|
6409
|
+
size: "small"
|
|
6410
|
+
}
|
|
6411
|
+
}
|
|
6412
|
+
},
|
|
6413
|
+
{
|
|
6414
|
+
type: "Control",
|
|
6415
|
+
scope: "#/properties/CancelDeleteCompButton",
|
|
6416
|
+
options: {
|
|
6417
|
+
widget: "Button"
|
|
6418
|
+
},
|
|
6419
|
+
config: {
|
|
6420
|
+
layout: 3,
|
|
6421
|
+
main: {
|
|
6422
|
+
name: "No",
|
|
6423
|
+
startIcon: "ApproveIcon",
|
|
6424
|
+
variant: "contained",
|
|
6425
|
+
color: "info",
|
|
6426
|
+
type: "text",
|
|
6427
|
+
onClick: "deletePopUpComponent",
|
|
6428
|
+
size: "small"
|
|
6429
|
+
}
|
|
6430
|
+
}
|
|
6431
|
+
}
|
|
6432
|
+
]
|
|
6433
|
+
},
|
|
6434
|
+
{
|
|
6435
|
+
type: "Control",
|
|
6436
|
+
scope: "#/properties/popUpEventSection",
|
|
6437
|
+
options: {
|
|
6438
|
+
widget: "PopUp"
|
|
6439
|
+
},
|
|
6440
|
+
config: {
|
|
6441
|
+
layout: {
|
|
6442
|
+
xs: 12,
|
|
6443
|
+
sm: 12,
|
|
6444
|
+
md: 12,
|
|
6445
|
+
lg: 12
|
|
6446
|
+
},
|
|
6447
|
+
main: {}
|
|
6448
|
+
},
|
|
6449
|
+
elements: [
|
|
6450
|
+
{
|
|
6451
|
+
type: "Control",
|
|
6452
|
+
scope: "#/properties/label",
|
|
6453
|
+
options: {
|
|
6454
|
+
widget: "Box"
|
|
6455
|
+
},
|
|
6456
|
+
config: {
|
|
6457
|
+
layout: 12,
|
|
6458
|
+
main: {
|
|
6459
|
+
heading: "Are you sure you want to delete ?"
|
|
6460
|
+
},
|
|
6461
|
+
style: {
|
|
6462
|
+
marginTop: "-40px"
|
|
6463
|
+
}
|
|
6464
|
+
}
|
|
6465
|
+
},
|
|
6466
|
+
{
|
|
6467
|
+
type: "Control",
|
|
6468
|
+
scope: "#/properties/EmptyBox",
|
|
6469
|
+
options: {
|
|
6470
|
+
widget: "EmptyBox"
|
|
6471
|
+
},
|
|
6472
|
+
config: {
|
|
6473
|
+
main: {},
|
|
6474
|
+
layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 }
|
|
6475
|
+
}
|
|
6476
|
+
},
|
|
6477
|
+
{
|
|
6478
|
+
type: "Control",
|
|
6479
|
+
scope: "#/properties/ConfirmDeleteEventButton",
|
|
6480
|
+
options: {
|
|
6481
|
+
widget: "Button"
|
|
6482
|
+
},
|
|
6483
|
+
config: {
|
|
6484
|
+
layout: 3,
|
|
6485
|
+
main: {
|
|
6486
|
+
name: "Yes",
|
|
6487
|
+
startIcon: "ApproveIcon",
|
|
6488
|
+
variant: "contained",
|
|
6489
|
+
color: "info",
|
|
6490
|
+
type: "text",
|
|
6491
|
+
onClick: "deleteEvent",
|
|
6492
|
+
size: "small"
|
|
6493
|
+
}
|
|
6494
|
+
}
|
|
6495
|
+
},
|
|
6496
|
+
{
|
|
6497
|
+
type: "Control",
|
|
6498
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
6499
|
+
options: {
|
|
6500
|
+
widget: "Button"
|
|
6501
|
+
},
|
|
6502
|
+
config: {
|
|
6503
|
+
layout: 3,
|
|
6504
|
+
main: {
|
|
6505
|
+
name: "No",
|
|
6506
|
+
startIcon: "ApproveIcon",
|
|
6507
|
+
variant: "contained",
|
|
6508
|
+
color: "info",
|
|
6509
|
+
type: "text",
|
|
6510
|
+
onClick: "deletePopUpEvent",
|
|
6511
|
+
size: "small"
|
|
6512
|
+
}
|
|
6513
|
+
}
|
|
6514
|
+
}
|
|
6515
|
+
]
|
|
6516
|
+
},
|
|
6296
6517
|
{
|
|
6297
6518
|
type: "Control",
|
|
6298
6519
|
scope: "#/properties/EmptyBox",
|
|
@@ -6519,12 +6740,7 @@ const CoreSection = {
|
|
|
6519
6740
|
widget: "SelectInputField"
|
|
6520
6741
|
},
|
|
6521
6742
|
config: {
|
|
6522
|
-
layout: {
|
|
6523
|
-
xs: 12,
|
|
6524
|
-
sm: 12,
|
|
6525
|
-
md: 6,
|
|
6526
|
-
lg: 6
|
|
6527
|
-
},
|
|
6743
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6528
6744
|
main: {
|
|
6529
6745
|
label: "Column Format"
|
|
6530
6746
|
}
|
|
@@ -6534,7 +6750,17 @@ const CoreSection = {
|
|
|
6534
6750
|
type: "Control",
|
|
6535
6751
|
scope: "#/properties/proc",
|
|
6536
6752
|
config: {
|
|
6537
|
-
layout: { xs:
|
|
6753
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6754
|
+
},
|
|
6755
|
+
options: {
|
|
6756
|
+
widget: "EmptyBox"
|
|
6757
|
+
}
|
|
6758
|
+
},
|
|
6759
|
+
{
|
|
6760
|
+
type: "Control",
|
|
6761
|
+
scope: "#/properties/proc",
|
|
6762
|
+
config: {
|
|
6763
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6538
6764
|
},
|
|
6539
6765
|
options: {
|
|
6540
6766
|
widget: "EmptyBox"
|
|
@@ -6580,12 +6806,12 @@ const CoreSection = {
|
|
|
6580
6806
|
},
|
|
6581
6807
|
{
|
|
6582
6808
|
type: "Control",
|
|
6583
|
-
scope: "#/properties/
|
|
6809
|
+
scope: "#/properties/proc",
|
|
6810
|
+
config: {
|
|
6811
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6812
|
+
},
|
|
6584
6813
|
options: {
|
|
6585
6814
|
widget: "EmptyBox"
|
|
6586
|
-
},
|
|
6587
|
-
config: {
|
|
6588
|
-
layout: { xs: 0, sm: 4 }
|
|
6589
6815
|
}
|
|
6590
6816
|
}
|
|
6591
6817
|
]
|
|
@@ -6683,7 +6909,7 @@ const EventSection = {
|
|
|
6683
6909
|
icon: "RejectIcon",
|
|
6684
6910
|
color: "error",
|
|
6685
6911
|
tooltipMessage: "Reject This Record",
|
|
6686
|
-
onClick: "
|
|
6912
|
+
onClick: "deletePopUpEvent"
|
|
6687
6913
|
}
|
|
6688
6914
|
}
|
|
6689
6915
|
}
|
|
@@ -6692,15 +6918,16 @@ const EventSection = {
|
|
|
6692
6918
|
}
|
|
6693
6919
|
]
|
|
6694
6920
|
};
|
|
6695
|
-
|
|
6921
|
+
var emptyBox = {
|
|
6696
6922
|
type: "Control",
|
|
6697
|
-
scope:
|
|
6923
|
+
scope: "#/properties/emptyBox",
|
|
6698
6924
|
options: {
|
|
6699
6925
|
widget: "EmptyBox"
|
|
6700
6926
|
},
|
|
6701
6927
|
config: {
|
|
6702
6928
|
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
6703
|
-
main: {}
|
|
6929
|
+
main: {},
|
|
6930
|
+
style: {}
|
|
6704
6931
|
}
|
|
6705
6932
|
};
|
|
6706
6933
|
const cardLayout = {
|
|
@@ -6740,7 +6967,7 @@ const cardLayout = {
|
|
|
6740
6967
|
}
|
|
6741
6968
|
}
|
|
6742
6969
|
},
|
|
6743
|
-
|
|
6970
|
+
emptyBox
|
|
6744
6971
|
]
|
|
6745
6972
|
}
|
|
6746
6973
|
}
|
|
@@ -6749,7 +6976,7 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
|
6749
6976
|
return {
|
|
6750
6977
|
type: "Control",
|
|
6751
6978
|
scope: `#/properties/${parentScope}`,
|
|
6752
|
-
layout:
|
|
6979
|
+
layout: 12,
|
|
6753
6980
|
options: {
|
|
6754
6981
|
"elementLabelProp": childScope,
|
|
6755
6982
|
detail: {
|
|
@@ -6768,8 +6995,8 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
|
6768
6995
|
}
|
|
6769
6996
|
}
|
|
6770
6997
|
},
|
|
6771
|
-
|
|
6772
|
-
|
|
6998
|
+
emptyBox,
|
|
6999
|
+
emptyBox
|
|
6773
7000
|
]
|
|
6774
7001
|
}
|
|
6775
7002
|
}
|
|
@@ -6789,6 +7016,7 @@ sizeHolder.options.detail.elements[1] = {
|
|
|
6789
7016
|
}
|
|
6790
7017
|
}
|
|
6791
7018
|
};
|
|
7019
|
+
sizeHolder.options.detail.elements[2] = emptyBox;
|
|
6792
7020
|
const getInputField = (scope, label) => {
|
|
6793
7021
|
return {
|
|
6794
7022
|
type: "Control",
|
|
@@ -6876,7 +7104,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6876
7104
|
getInputField("linkType", "linkType"),
|
|
6877
7105
|
getInputField("graphHeight", "Graph Height"),
|
|
6878
7106
|
getInputField("graphWidth", "Graph Width"),
|
|
6879
|
-
getInputField("graphZoomHeight", "Zoom Height")
|
|
7107
|
+
getInputField("graphZoomHeight", "Zoom Height"),
|
|
7108
|
+
emptyBox
|
|
6880
7109
|
];
|
|
6881
7110
|
break;
|
|
6882
7111
|
case "InputSlider":
|
|
@@ -6884,7 +7113,9 @@ const buildPropertiesSection = function(type) {
|
|
|
6884
7113
|
getInputField("max", "Max Limit"),
|
|
6885
7114
|
getInputField("step", "Step"),
|
|
6886
7115
|
getInputField("min", "Min Limit"),
|
|
6887
|
-
getRadioInputField("limitToMax", "Applly Max. Limit", ["YES", "NO"])
|
|
7116
|
+
getRadioInputField("limitToMax", "Applly Max. Limit", ["YES", "NO"]),
|
|
7117
|
+
emptyBox,
|
|
7118
|
+
emptyBox
|
|
6888
7119
|
];
|
|
6889
7120
|
break;
|
|
6890
7121
|
case "DataGrid":
|
|
@@ -6893,8 +7124,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6893
7124
|
getInputField("elevation", "Card Elevation"),
|
|
6894
7125
|
getInputField("height", "Grid height"),
|
|
6895
7126
|
getInputField("justifyContent", "justifyContent"),
|
|
6896
|
-
|
|
6897
|
-
|
|
7127
|
+
emptyBox,
|
|
7128
|
+
emptyBox,
|
|
6898
7129
|
cardLayout
|
|
6899
7130
|
];
|
|
6900
7131
|
break;
|
|
@@ -6905,7 +7136,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6905
7136
|
getInputField("resetText", "Reset Text"),
|
|
6906
7137
|
getInputField("completeText", "Complete Text"),
|
|
6907
7138
|
getSelectField("orientation", "Orientation Type"),
|
|
6908
|
-
|
|
7139
|
+
emptyBox,
|
|
6909
7140
|
getArrayControl("sectionLabels", "label")
|
|
6910
7141
|
];
|
|
6911
7142
|
break;
|
|
@@ -6913,23 +7144,22 @@ const buildPropertiesSection = function(type) {
|
|
|
6913
7144
|
uiSchema.elements = [
|
|
6914
7145
|
getRadioInputField("fullScreen", "FullScreen", ["YES", "NO"]),
|
|
6915
7146
|
getRadioInputField("fullWidth", "FullWidth", ["YES", "NO"]),
|
|
6916
|
-
getInputField("maxWidth", "Max. Width")
|
|
6917
|
-
EmptyBox
|
|
7147
|
+
getInputField("maxWidth", "Max. Width")
|
|
6918
7148
|
];
|
|
6919
7149
|
break;
|
|
6920
7150
|
case "Text":
|
|
6921
7151
|
uiSchema.elements = [
|
|
6922
7152
|
getInputField("placeholder", "Placeholder"),
|
|
6923
|
-
|
|
6924
|
-
|
|
7153
|
+
emptyBox,
|
|
7154
|
+
emptyBox,
|
|
6925
7155
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
|
|
6926
7156
|
];
|
|
6927
7157
|
break;
|
|
6928
7158
|
case "TextArea":
|
|
6929
7159
|
uiSchema.elements = [
|
|
6930
7160
|
getInputField("placeholder", "Placeholder"),
|
|
6931
|
-
|
|
6932
|
-
|
|
7161
|
+
emptyBox,
|
|
7162
|
+
emptyBox
|
|
6933
7163
|
];
|
|
6934
7164
|
break;
|
|
6935
7165
|
case "SpeedoMeter":
|
|
@@ -6939,7 +7169,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6939
7169
|
getInputField("heading", "Container Heading"),
|
|
6940
7170
|
getInputField("speedoCaption", "Speedometer Caption"),
|
|
6941
7171
|
getInputField("width", "Speedometer Width"),
|
|
6942
|
-
|
|
7172
|
+
emptyBox
|
|
6943
7173
|
];
|
|
6944
7174
|
break;
|
|
6945
7175
|
case "RankCard":
|
|
@@ -6948,8 +7178,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6948
7178
|
getInputField("image", "Image Url"),
|
|
6949
7179
|
getInputField("title", "Card Title"),
|
|
6950
7180
|
getInputField("description", "Card Description"),
|
|
6951
|
-
|
|
6952
|
-
|
|
7181
|
+
emptyBox,
|
|
7182
|
+
emptyBox
|
|
6953
7183
|
];
|
|
6954
7184
|
break;
|
|
6955
7185
|
case "LeaderBoard":
|
|
@@ -6958,8 +7188,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6958
7188
|
getInputField("firstImage", "First Image url"),
|
|
6959
7189
|
getInputField("secondImage", "Second Image url"),
|
|
6960
7190
|
getInputField("thirdImage", "Third Image url"),
|
|
6961
|
-
|
|
6962
|
-
|
|
7191
|
+
emptyBox,
|
|
7192
|
+
emptyBox,
|
|
6963
7193
|
getTextArea("functionCode", "Write Compare Code", false)
|
|
6964
7194
|
];
|
|
6965
7195
|
break;
|
|
@@ -6976,8 +7206,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6976
7206
|
getInputField("bottomLabel_1", "First BottomLabel"),
|
|
6977
7207
|
getInputField("bottomLabel_2", "Second BottomLabel"),
|
|
6978
7208
|
getInputField("bottomLabel_3", "Third BottomLabel"),
|
|
6979
|
-
|
|
6980
|
-
|
|
7209
|
+
emptyBox,
|
|
7210
|
+
emptyBox
|
|
6981
7211
|
];
|
|
6982
7212
|
break;
|
|
6983
7213
|
case "card":
|
|
@@ -6985,7 +7215,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6985
7215
|
getInputField("url", "Image Url"),
|
|
6986
7216
|
getInputField("label", "Label"),
|
|
6987
7217
|
getInputField("description", "Description"),
|
|
6988
|
-
|
|
7218
|
+
emptyBox
|
|
6989
7219
|
];
|
|
6990
7220
|
break;
|
|
6991
7221
|
case "Button":
|
|
@@ -6995,7 +7225,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6995
7225
|
getSelectField("color", "Color"),
|
|
6996
7226
|
getInputField("tooltipMessage", "Tooltip Message"),
|
|
6997
7227
|
getSelectField("defaultStyle", "Default Style"),
|
|
6998
|
-
|
|
7228
|
+
emptyBox
|
|
6999
7229
|
];
|
|
7000
7230
|
break;
|
|
7001
7231
|
case "Graph":
|
|
@@ -7008,6 +7238,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7008
7238
|
getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
|
|
7009
7239
|
getInputField("yAxisValue", "Y-AxisValue"),
|
|
7010
7240
|
getInputField("xAxisValue", "X-AxisValue"),
|
|
7241
|
+
emptyBox,
|
|
7011
7242
|
getArrayControl("legendLabels", "label"),
|
|
7012
7243
|
getArrayControl("pieArcColors", "color")
|
|
7013
7244
|
];
|
|
@@ -7017,13 +7248,16 @@ const buildPropertiesSection = function(type) {
|
|
|
7017
7248
|
getRadioInputField("divider", "Divider", ["YES", "No"]),
|
|
7018
7249
|
getRadioInputField("isAccordion", "Accordion", ["YES", "No"]),
|
|
7019
7250
|
getRadioInputField("defaultStyle", "Default Style", ["YES", "No"]),
|
|
7020
|
-
getInputField("rowSpacing", "Row Spacing")
|
|
7251
|
+
getInputField("rowSpacing", "Row Spacing"),
|
|
7252
|
+
emptyBox,
|
|
7253
|
+
emptyBox
|
|
7021
7254
|
];
|
|
7022
7255
|
break;
|
|
7023
7256
|
case "TabSection":
|
|
7024
7257
|
uiSchema.elements = [
|
|
7025
7258
|
getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
|
|
7026
7259
|
getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
|
|
7260
|
+
emptyBox,
|
|
7027
7261
|
getArrayControl("sectionLabels", "label")
|
|
7028
7262
|
];
|
|
7029
7263
|
break;
|
|
@@ -7049,14 +7283,14 @@ const buildPropertiesSection = function(type) {
|
|
|
7049
7283
|
uiSchema.elements = [
|
|
7050
7284
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7051
7285
|
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
|
|
7052
|
-
|
|
7286
|
+
emptyBox
|
|
7053
7287
|
];
|
|
7054
7288
|
break;
|
|
7055
7289
|
case "MultipleSelect":
|
|
7056
7290
|
uiSchema.elements = [
|
|
7057
7291
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7058
|
-
|
|
7059
|
-
|
|
7292
|
+
emptyBox,
|
|
7293
|
+
emptyBox
|
|
7060
7294
|
];
|
|
7061
7295
|
break;
|
|
7062
7296
|
}
|
|
@@ -7182,7 +7416,7 @@ const TableSection = {
|
|
|
7182
7416
|
main: {
|
|
7183
7417
|
icon: "RejectIcon",
|
|
7184
7418
|
color: "error",
|
|
7185
|
-
onClick: "
|
|
7419
|
+
onClick: "deletePopUpComponent",
|
|
7186
7420
|
tooltipMessage: "Reject This Record"
|
|
7187
7421
|
}
|
|
7188
7422
|
}
|
|
@@ -7198,7 +7432,7 @@ const ValueTab = {
|
|
|
7198
7432
|
{
|
|
7199
7433
|
type: "Control",
|
|
7200
7434
|
scope: "#/properties/value",
|
|
7201
|
-
layout:
|
|
7435
|
+
layout: 12,
|
|
7202
7436
|
options: {
|
|
7203
7437
|
detail: {
|
|
7204
7438
|
type: "HorizontalLayout",
|
|
@@ -7324,10 +7558,10 @@ var buildConfig = (FormData) => {
|
|
|
7324
7558
|
const createLayoutFormat = (config) => {
|
|
7325
7559
|
if (_.isEmpty(config)) {
|
|
7326
7560
|
return {
|
|
7327
|
-
xs:
|
|
7328
|
-
sm:
|
|
7329
|
-
md:
|
|
7330
|
-
lg:
|
|
7561
|
+
xs: 12,
|
|
7562
|
+
sm: 12,
|
|
7563
|
+
md: 12,
|
|
7564
|
+
lg: 12
|
|
7331
7565
|
};
|
|
7332
7566
|
}
|
|
7333
7567
|
let data = {};
|
|
@@ -7484,14 +7718,14 @@ const refreshPage = (type, store2) => {
|
|
|
7484
7718
|
const sectionUiSchema = {
|
|
7485
7719
|
Core: CoreSection,
|
|
7486
7720
|
Value: ValueTab,
|
|
7487
|
-
|
|
7721
|
+
Style: StyleSection,
|
|
7488
7722
|
Event: EventSection,
|
|
7489
7723
|
Components: TableSection,
|
|
7490
7724
|
Properties: buildPropertiesSection(type),
|
|
7491
7725
|
Validation: ValidationSection
|
|
7492
7726
|
};
|
|
7493
7727
|
const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
|
|
7494
|
-
UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "
|
|
7728
|
+
UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Event", "Validation"];
|
|
7495
7729
|
UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection, ValidationSection];
|
|
7496
7730
|
}
|
|
7497
7731
|
store2.setUiSchema(UiSchema);
|
|
@@ -7538,22 +7772,30 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7538
7772
|
store2.navigate(`/Component?path=${`elements[${rowId}]`}&id=${id}`);
|
|
7539
7773
|
}
|
|
7540
7774
|
},
|
|
7541
|
-
deleteComponents: function() {
|
|
7775
|
+
deleteComponents: function(shouldUpdateDialog = true) {
|
|
7542
7776
|
var _a;
|
|
7543
7777
|
const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
|
|
7544
|
-
const rowId =
|
|
7778
|
+
const rowId = localStorage.getItem("rowId");
|
|
7545
7779
|
store2.formData.elements.splice(rowId, 1);
|
|
7546
7780
|
const response = saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
7547
7781
|
const data = path ? _.get(response, path) : response;
|
|
7548
7782
|
store2.setFormdata(data);
|
|
7783
|
+
if (shouldUpdateDialog) {
|
|
7784
|
+
store2.updateDialog("popUpComponentSection");
|
|
7785
|
+
}
|
|
7786
|
+
localStorage.removeItem("rowId");
|
|
7549
7787
|
},
|
|
7550
|
-
deleteEvent: function() {
|
|
7788
|
+
deleteEvent: function(shouldUpdateDialog = true) {
|
|
7551
7789
|
var _a;
|
|
7552
7790
|
const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
|
|
7553
|
-
const rowId =
|
|
7791
|
+
const rowId = localStorage.getItem("rowId");
|
|
7554
7792
|
store2.formData.events.splice(rowId, 1);
|
|
7555
7793
|
const response = saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
7556
7794
|
store2.setFormdata(_.get(response, path));
|
|
7795
|
+
if (shouldUpdateDialog) {
|
|
7796
|
+
store2.updateDialog("popUpEventSection");
|
|
7797
|
+
}
|
|
7798
|
+
localStorage.removeItem("rowId");
|
|
7557
7799
|
},
|
|
7558
7800
|
widgetAddClickHandler: function() {
|
|
7559
7801
|
var _a;
|
|
@@ -7589,6 +7831,16 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7589
7831
|
},
|
|
7590
7832
|
backHandler: function() {
|
|
7591
7833
|
store2.navigate(-1);
|
|
7834
|
+
},
|
|
7835
|
+
deletePopUpComponent: function() {
|
|
7836
|
+
const rowId = dynamicData2.path.split(".")[1];
|
|
7837
|
+
localStorage.setItem("rowId", rowId);
|
|
7838
|
+
store2.updateDialog("popUpComponentSection");
|
|
7839
|
+
},
|
|
7840
|
+
deletePopUpEvent: function() {
|
|
7841
|
+
const rowId = dynamicData2.path.split(".")[1];
|
|
7842
|
+
localStorage.setItem("rowId", rowId);
|
|
7843
|
+
store2.updateDialog("popUpEventSection");
|
|
7592
7844
|
}
|
|
7593
7845
|
};
|
|
7594
7846
|
};
|
|
@@ -7643,7 +7895,10 @@ var pageMaster = (funcParams) => {
|
|
|
7643
7895
|
},
|
|
7644
7896
|
saveHandler: async () => await saveHandler(store2, service2, submitHandler),
|
|
7645
7897
|
Edit_Components: Component(store2, dynamicData2, submitHandler, service2).editComponents,
|
|
7646
|
-
Delete_Components:
|
|
7898
|
+
Delete_Components: async function() {
|
|
7899
|
+
await Component(store2, dynamicData2, submitHandler, service2).deleteComponents(false);
|
|
7900
|
+
store2.updateDialog("popUpPageMasterComponent");
|
|
7901
|
+
},
|
|
7647
7902
|
eventAddHandler: function() {
|
|
7648
7903
|
var _a;
|
|
7649
7904
|
const id = (_a = store2.searchParams) == null ? void 0 : _a.get("id");
|
|
@@ -7663,10 +7918,22 @@ var pageMaster = (funcParams) => {
|
|
|
7663
7918
|
store2.navigate(`/ComponentEvents?path=${finalPath}&id=${id}`);
|
|
7664
7919
|
},
|
|
7665
7920
|
deleteEvent: function() {
|
|
7666
|
-
const rowId =
|
|
7921
|
+
const rowId = localStorage.getItem("rowId");
|
|
7667
7922
|
store2.formData.events.splice(rowId, 1);
|
|
7668
7923
|
const response = saveFormdataInLocalStorage(store2.ctx.core.data);
|
|
7669
7924
|
store2.setFormdata(response);
|
|
7925
|
+
store2.updateDialog("popUpPageMasterEvent");
|
|
7926
|
+
localStorage.removeItem("rowId");
|
|
7927
|
+
},
|
|
7928
|
+
deletePopUpComponent: function() {
|
|
7929
|
+
const rowId = dynamicData2.path.split(".")[1];
|
|
7930
|
+
localStorage.setItem("rowId", rowId);
|
|
7931
|
+
store2.updateDialog("popUpPageMasterComponent");
|
|
7932
|
+
},
|
|
7933
|
+
deletePopUpEvent: function() {
|
|
7934
|
+
const rowId = dynamicData2.path.split(".")[1];
|
|
7935
|
+
localStorage.setItem("rowId", rowId);
|
|
7936
|
+
store2.updateDialog("popUpPageMasterEvent");
|
|
7670
7937
|
}
|
|
7671
7938
|
};
|
|
7672
7939
|
};
|
|
@@ -7791,28 +8058,15 @@ const EventUiSchema = (theme) => {
|
|
|
7791
8058
|
}
|
|
7792
8059
|
}
|
|
7793
8060
|
},
|
|
8061
|
+
getSelectField("Handler", "Handler"),
|
|
7794
8062
|
{
|
|
7795
8063
|
type: "Control",
|
|
7796
|
-
scope:
|
|
7797
|
-
options: {
|
|
7798
|
-
widget: "SelectInputField"
|
|
7799
|
-
},
|
|
7800
|
-
config: {
|
|
7801
|
-
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7802
|
-
main: {
|
|
7803
|
-
label: "Handler",
|
|
7804
|
-
type: "text"
|
|
7805
|
-
}
|
|
7806
|
-
}
|
|
7807
|
-
},
|
|
7808
|
-
{
|
|
7809
|
-
type: "Control",
|
|
7810
|
-
scope: "#/properties/emptyBox",
|
|
8064
|
+
scope: "#/properties/EmptyBox",
|
|
7811
8065
|
options: {
|
|
7812
8066
|
widget: "EmptyBox"
|
|
7813
8067
|
},
|
|
7814
8068
|
config: {
|
|
7815
|
-
layout: { xs: 0, sm: 4 }
|
|
8069
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7816
8070
|
}
|
|
7817
8071
|
}
|
|
7818
8072
|
]
|
|
@@ -7875,6 +8129,7 @@ const EventUiSchema = (theme) => {
|
|
|
7875
8129
|
},
|
|
7876
8130
|
config: {
|
|
7877
8131
|
main: {
|
|
8132
|
+
color: "info",
|
|
7878
8133
|
size: "small",
|
|
7879
8134
|
icon: "EditIcon",
|
|
7880
8135
|
tooltipMessage: "Edit This Record",
|
|
@@ -8263,6 +8518,17 @@ const refreshSectionUiSchema = {
|
|
|
8263
8518
|
}
|
|
8264
8519
|
}
|
|
8265
8520
|
},
|
|
8521
|
+
{
|
|
8522
|
+
type: "Control",
|
|
8523
|
+
scope: "#/properties/emptyBox",
|
|
8524
|
+
options: {
|
|
8525
|
+
widget: "EmptyBox"
|
|
8526
|
+
},
|
|
8527
|
+
config: {
|
|
8528
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
8529
|
+
main: {}
|
|
8530
|
+
}
|
|
8531
|
+
},
|
|
8266
8532
|
{
|
|
8267
8533
|
type: "Control",
|
|
8268
8534
|
scope: "#/properties/emptyBox",
|
|
@@ -8280,18 +8546,6 @@ const refreshSectionUiSchema = {
|
|
|
8280
8546
|
}
|
|
8281
8547
|
]
|
|
8282
8548
|
};
|
|
8283
|
-
var emptyBox = {
|
|
8284
|
-
type: "Control",
|
|
8285
|
-
scope: "#/properties/emptyBox",
|
|
8286
|
-
options: {
|
|
8287
|
-
widget: "EmptyBox"
|
|
8288
|
-
},
|
|
8289
|
-
config: {
|
|
8290
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
8291
|
-
main: {},
|
|
8292
|
-
style: {}
|
|
8293
|
-
}
|
|
8294
|
-
};
|
|
8295
8549
|
var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
8296
8550
|
return {
|
|
8297
8551
|
setPage: async function() {
|
|
@@ -8306,18 +8560,19 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
8306
8560
|
const schema2 = _.cloneDeep(EventSchema);
|
|
8307
8561
|
if (handlerType) {
|
|
8308
8562
|
if (handlerType === "custom") {
|
|
8309
|
-
uiSchema.elements[
|
|
8310
|
-
uiSchema.elements[1].elements[0].elements[3] = emptyBox;
|
|
8563
|
+
uiSchema.elements[0].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
|
|
8311
8564
|
uiSchema.elements[0].elements[0].elements[3] = getTextArea("eventCode", "Write Custom Code", false);
|
|
8312
8565
|
schema2.required = ["eventType", "Handler", "eventCode"];
|
|
8313
8566
|
} else if (handlerType === "api") {
|
|
8567
|
+
uiSchema.elements[0].elements[0].elements[2] = emptyBox;
|
|
8314
8568
|
uiSchema.elements[0].elements[0].elements[3] = APISection;
|
|
8315
8569
|
schema2.required = ["eventType", "Handler", "method", "path"];
|
|
8316
8570
|
} else if (handlerType === "inBuiltFunction") {
|
|
8317
8571
|
uiSchema.elements[0].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
|
|
8318
|
-
uiSchema.elements[0].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true
|
|
8572
|
+
uiSchema.elements[0].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
|
|
8319
8573
|
schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
|
|
8320
8574
|
} else if (handlerType === "refresh") {
|
|
8575
|
+
uiSchema.elements[0].elements[0].elements[2] = emptyBox;
|
|
8321
8576
|
uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
|
|
8322
8577
|
schema2.properties.refreshElements.required = ["value"];
|
|
8323
8578
|
schema2.properties.refreshElements.items.required = ["value"];
|
|
@@ -8334,8 +8589,8 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
8334
8589
|
store22.setUiSchema(uiSchema);
|
|
8335
8590
|
},
|
|
8336
8591
|
getFormData: Component(store2, dynamicData2, submitHandler, service2).getFormdata,
|
|
8337
|
-
getUiSchema:
|
|
8338
|
-
return
|
|
8592
|
+
getUiSchema: function() {
|
|
8593
|
+
return EventUiSchema;
|
|
8339
8594
|
},
|
|
8340
8595
|
getSchema: () => {
|
|
8341
8596
|
return EventSchema;
|
|
@@ -8370,9 +8625,17 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
8370
8625
|
store2.setSearchParams(store2.searchParams);
|
|
8371
8626
|
this.setPage();
|
|
8372
8627
|
},
|
|
8373
|
-
deleteEvent:
|
|
8628
|
+
deleteEvent: async function() {
|
|
8629
|
+
await Component(store2, dynamicData2, submitHandler, service2).deleteEvent(false);
|
|
8630
|
+
store2.updateDialog("popUpEvent");
|
|
8631
|
+
},
|
|
8374
8632
|
backHandler: function() {
|
|
8375
8633
|
store2.navigate(-1);
|
|
8634
|
+
},
|
|
8635
|
+
deletePopUpEvent: function() {
|
|
8636
|
+
const rowId = dynamicData2.path.split(".")[1];
|
|
8637
|
+
localStorage.setItem("rowId", rowId);
|
|
8638
|
+
store2.updateDialog("popUpEvent");
|
|
8376
8639
|
}
|
|
8377
8640
|
};
|
|
8378
8641
|
};
|
|
@@ -8735,7 +8998,7 @@ var service = (funcParams) => {
|
|
|
8735
8998
|
};
|
|
8736
8999
|
return {
|
|
8737
9000
|
setPage: async function() {
|
|
8738
|
-
var _a;
|
|
9001
|
+
var _a, _b, _c, _d;
|
|
8739
9002
|
funcParams.store.setFormdata({});
|
|
8740
9003
|
funcParams.store.newData = {};
|
|
8741
9004
|
const pageBasicDetailString = localStorage.getItem("pagemasterMetaData");
|
|
@@ -8751,7 +9014,114 @@ var service = (funcParams) => {
|
|
|
8751
9014
|
}
|
|
8752
9015
|
const config = pageData == null ? void 0 : pageData.config;
|
|
8753
9016
|
const uiSchema = pageData == null ? void 0 : pageData.uiSchema;
|
|
8754
|
-
|
|
9017
|
+
window.localStorage.setItem("pageName", config.label);
|
|
9018
|
+
window.dispatchEvent(new Event("pageNameChanged"));
|
|
9019
|
+
const theme = (_b = (_a = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _a.theme) == null ? void 0 : _b.myTheme;
|
|
9020
|
+
uiSchema.elements.push(
|
|
9021
|
+
{
|
|
9022
|
+
type: "HorizontalLayout",
|
|
9023
|
+
config: {
|
|
9024
|
+
main: {
|
|
9025
|
+
direction: "row"
|
|
9026
|
+
},
|
|
9027
|
+
style: {
|
|
9028
|
+
flexDirection: "row",
|
|
9029
|
+
position: "absolute",
|
|
9030
|
+
bottom: 0,
|
|
9031
|
+
marginBottom: "-8px",
|
|
9032
|
+
height: "fit-content",
|
|
9033
|
+
overflow: "hidden",
|
|
9034
|
+
zIndex: 1e3,
|
|
9035
|
+
width: "inherit"
|
|
9036
|
+
}
|
|
9037
|
+
},
|
|
9038
|
+
elements: [
|
|
9039
|
+
{
|
|
9040
|
+
type: "Control",
|
|
9041
|
+
scope: "#/properties/FooterText",
|
|
9042
|
+
options: {
|
|
9043
|
+
widget: "Box"
|
|
9044
|
+
},
|
|
9045
|
+
config: {
|
|
9046
|
+
main: {
|
|
9047
|
+
heading: "Copywriter@ACT21.IO"
|
|
9048
|
+
},
|
|
9049
|
+
style: {
|
|
9050
|
+
color: ((_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.text.disabled) || "#AFAFAF",
|
|
9051
|
+
fontSize: "12px",
|
|
9052
|
+
textAlign: "center",
|
|
9053
|
+
lineHeight: 1,
|
|
9054
|
+
width: "fit-content",
|
|
9055
|
+
left: "50%",
|
|
9056
|
+
position: "relative",
|
|
9057
|
+
margin: 0,
|
|
9058
|
+
flexGrow: 1,
|
|
9059
|
+
height: 0
|
|
9060
|
+
}
|
|
9061
|
+
}
|
|
9062
|
+
},
|
|
9063
|
+
{
|
|
9064
|
+
type: "Control",
|
|
9065
|
+
scope: "#/properties/backIcon",
|
|
9066
|
+
options: {
|
|
9067
|
+
widget: "Box"
|
|
9068
|
+
},
|
|
9069
|
+
config: {
|
|
9070
|
+
main: {
|
|
9071
|
+
iconName: "PrevIcon",
|
|
9072
|
+
onClick: "backHandler",
|
|
9073
|
+
width: "fit-content"
|
|
9074
|
+
},
|
|
9075
|
+
style: {
|
|
9076
|
+
fill: theme.palette.primary.main,
|
|
9077
|
+
width: 20,
|
|
9078
|
+
height: 0,
|
|
9079
|
+
margin: 0,
|
|
9080
|
+
top: 0,
|
|
9081
|
+
right: "82px",
|
|
9082
|
+
position: "absolute",
|
|
9083
|
+
fontSize: "12px",
|
|
9084
|
+
cursor: "pointer",
|
|
9085
|
+
":hover": {
|
|
9086
|
+
fill: theme.palette.primary.dark
|
|
9087
|
+
}
|
|
9088
|
+
}
|
|
9089
|
+
}
|
|
9090
|
+
},
|
|
9091
|
+
{
|
|
9092
|
+
type: "Control",
|
|
9093
|
+
scope: "#/properties/text",
|
|
9094
|
+
options: {
|
|
9095
|
+
widget: "Box"
|
|
9096
|
+
},
|
|
9097
|
+
config: {
|
|
9098
|
+
main: {
|
|
9099
|
+
heading: "Previous Page",
|
|
9100
|
+
onClick: "backHandler"
|
|
9101
|
+
},
|
|
9102
|
+
style: {
|
|
9103
|
+
textAlign: "left",
|
|
9104
|
+
lineHeight: 1,
|
|
9105
|
+
height: 0,
|
|
9106
|
+
width: "fit-content",
|
|
9107
|
+
color: theme.palette.primary.main,
|
|
9108
|
+
fontSize: "12px",
|
|
9109
|
+
cursor: "pointer",
|
|
9110
|
+
marginLeft: "2px",
|
|
9111
|
+
marginRight: 0,
|
|
9112
|
+
top: 3,
|
|
9113
|
+
right: "12px",
|
|
9114
|
+
position: "absolute",
|
|
9115
|
+
":hover": {
|
|
9116
|
+
color: theme.palette.primary.dark
|
|
9117
|
+
}
|
|
9118
|
+
}
|
|
9119
|
+
}
|
|
9120
|
+
}
|
|
9121
|
+
]
|
|
9122
|
+
}
|
|
9123
|
+
);
|
|
9124
|
+
const schema2 = (_d = pageData == null ? void 0 : pageData.schema) != null ? _d : { type: "object", properties: {} };
|
|
8755
9125
|
eventGroups = {};
|
|
8756
9126
|
eventGroups = extractEvents(config);
|
|
8757
9127
|
executeEventsParameters = {
|
|
@@ -8776,8 +9146,6 @@ var service = (funcParams) => {
|
|
|
8776
9146
|
eventGroups,
|
|
8777
9147
|
formDataHolder
|
|
8778
9148
|
});
|
|
8779
|
-
const jsonres = await fetch("https://jsonplaceholder.typicode.com/todos/1");
|
|
8780
|
-
await jsonres.json();
|
|
8781
9149
|
funcParams.store.setSchema(
|
|
8782
9150
|
(pre) => {
|
|
8783
9151
|
return {
|
|
@@ -8937,9 +9305,12 @@ var leaderBoard = {
|
|
|
8937
9305
|
label: "LeaderBoard",
|
|
8938
9306
|
divider: true
|
|
8939
9307
|
},
|
|
8940
|
-
style: {
|
|
8941
|
-
|
|
8942
|
-
|
|
9308
|
+
style: {
|
|
9309
|
+
wrapperStyle: {
|
|
9310
|
+
display: "flex",
|
|
9311
|
+
gap: "10px"
|
|
9312
|
+
}
|
|
9313
|
+
},
|
|
8943
9314
|
wrapperStyle: {
|
|
8944
9315
|
position: "relative",
|
|
8945
9316
|
width: "100%"
|
|
@@ -9248,11 +9619,11 @@ var leaderBoard = {
|
|
|
9248
9619
|
fontWeight: 900,
|
|
9249
9620
|
background: "rgb(179, 198, 255)"
|
|
9250
9621
|
},
|
|
9251
|
-
position: "absolute",
|
|
9252
9622
|
top: { xs: "300px", sm: "300px", md: "390px", lg: "390px" },
|
|
9253
9623
|
border: "2px solid rgb(179, 198, 255)",
|
|
9254
9624
|
width: "95%",
|
|
9255
|
-
left: "2.5%"
|
|
9625
|
+
left: "2.5%",
|
|
9626
|
+
margin: "auto"
|
|
9256
9627
|
},
|
|
9257
9628
|
main: {
|
|
9258
9629
|
disableAction: true,
|
|
@@ -9391,7 +9762,7 @@ const LineGraph = {
|
|
|
9391
9762
|
leftLabel: "Incentive",
|
|
9392
9763
|
gridHidden: true,
|
|
9393
9764
|
numHidden: false,
|
|
9394
|
-
tooltipDataKey: ["
|
|
9765
|
+
tooltipDataKey: ["MAMA New Project", "Second", "Third"],
|
|
9395
9766
|
axisLeft: true,
|
|
9396
9767
|
axisBottom: true,
|
|
9397
9768
|
hideLeftAxisLine: false,
|
|
@@ -9649,7 +10020,8 @@ var WrapperSection = {
|
|
|
9649
10020
|
config: {
|
|
9650
10021
|
main: {
|
|
9651
10022
|
rowSpacing: 3,
|
|
9652
|
-
divider: true
|
|
10023
|
+
divider: true,
|
|
10024
|
+
label: "Default Label"
|
|
9653
10025
|
},
|
|
9654
10026
|
defaultStyle: true
|
|
9655
10027
|
},
|
|
@@ -9660,7 +10032,7 @@ const buildWrapperSection = (config, componentScope) => {
|
|
|
9660
10032
|
wrapper.scope = componentScope;
|
|
9661
10033
|
wrapper.config.main.label = config.label;
|
|
9662
10034
|
wrapper.config.main.divider = config.divider === "YES" ? true : false;
|
|
9663
|
-
wrapper.config.main.isAccordion = config.isAccordion === "
|
|
10035
|
+
wrapper.config.main.isAccordion = config.isAccordion === "No" ? false : true;
|
|
9664
10036
|
if (config.defaultStyle) {
|
|
9665
10037
|
wrapper.config.defaultStyle = config.defaultStyle === "YES" ? true : false;
|
|
9666
10038
|
}
|
|
@@ -9745,12 +10117,7 @@ var Button = {
|
|
|
9745
10117
|
widget: "Button"
|
|
9746
10118
|
},
|
|
9747
10119
|
config: {
|
|
9748
|
-
layout:
|
|
9749
|
-
xs: 11,
|
|
9750
|
-
sm: 11,
|
|
9751
|
-
md: 5.5,
|
|
9752
|
-
lg: 5.5
|
|
9753
|
-
},
|
|
10120
|
+
layout: 3,
|
|
9754
10121
|
main: {
|
|
9755
10122
|
name: "Compare",
|
|
9756
10123
|
variant: "contained",
|
|
@@ -9760,7 +10127,7 @@ var Button = {
|
|
|
9760
10127
|
styleDefault: false,
|
|
9761
10128
|
icon: "",
|
|
9762
10129
|
onClick: "onClick",
|
|
9763
|
-
size: "
|
|
10130
|
+
size: "medium"
|
|
9764
10131
|
},
|
|
9765
10132
|
style: {}
|
|
9766
10133
|
}
|
|
@@ -9925,12 +10292,7 @@ const uploadFile = {
|
|
|
9925
10292
|
"style": {
|
|
9926
10293
|
"backgroundColor": "none"
|
|
9927
10294
|
},
|
|
9928
|
-
|
|
9929
|
-
"lg": 5.5,
|
|
9930
|
-
"md": 5.5,
|
|
9931
|
-
"sm": 11,
|
|
9932
|
-
"xs": 11
|
|
9933
|
-
}
|
|
10295
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 }
|
|
9934
10296
|
},
|
|
9935
10297
|
"options": {
|
|
9936
10298
|
"widget": "UploadFile"
|
|
@@ -9947,12 +10309,7 @@ const downloadFile = {
|
|
|
9947
10309
|
"style": {
|
|
9948
10310
|
"backgroundColor": "none"
|
|
9949
10311
|
},
|
|
9950
|
-
|
|
9951
|
-
"lg": 5.5,
|
|
9952
|
-
"md": 5.5,
|
|
9953
|
-
"sm": 11,
|
|
9954
|
-
"xs": 11
|
|
9955
|
-
}
|
|
10312
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 }
|
|
9956
10313
|
},
|
|
9957
10314
|
"options": {
|
|
9958
10315
|
"widget": "DownloadFile"
|
|
@@ -10003,14 +10360,16 @@ var Card = {
|
|
|
10003
10360
|
main: {
|
|
10004
10361
|
rowSpacing: 0.5
|
|
10005
10362
|
},
|
|
10006
|
-
|
|
10007
|
-
|
|
10008
|
-
|
|
10009
|
-
|
|
10010
|
-
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
|
|
10363
|
+
style: {
|
|
10364
|
+
componentsBoxStyle: {
|
|
10365
|
+
position: "relative",
|
|
10366
|
+
color: "white",
|
|
10367
|
+
height: { xs: "120px", md: "160px" },
|
|
10368
|
+
width: "100%",
|
|
10369
|
+
textAlign: "left",
|
|
10370
|
+
background: "#3f51b5",
|
|
10371
|
+
borderRadius: "20px"
|
|
10372
|
+
}
|
|
10014
10373
|
},
|
|
10015
10374
|
layout: { xs: 12, sm: 12, md: 6, lg: 6 }
|
|
10016
10375
|
},
|
|
@@ -10136,12 +10495,7 @@ const DateTime = {
|
|
|
10136
10495
|
widget: "DateTimeInputField"
|
|
10137
10496
|
},
|
|
10138
10497
|
config: {
|
|
10139
|
-
layout: {
|
|
10140
|
-
xs: 11,
|
|
10141
|
-
sm: 11,
|
|
10142
|
-
md: 5.5,
|
|
10143
|
-
lg: 5.5
|
|
10144
|
-
},
|
|
10498
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
10145
10499
|
main: {
|
|
10146
10500
|
label: "DateTime",
|
|
10147
10501
|
type: "date"
|
|
@@ -10301,7 +10655,7 @@ const buildBasicUiSchema = (config) => {
|
|
|
10301
10655
|
pageName: config.name,
|
|
10302
10656
|
name: config.name,
|
|
10303
10657
|
accessorKey: config.name,
|
|
10304
|
-
|
|
10658
|
+
heading: config.label || config.name,
|
|
10305
10659
|
"elements": []
|
|
10306
10660
|
};
|
|
10307
10661
|
};
|
|
@@ -10434,7 +10788,7 @@ const RadioUiSchema = {
|
|
|
10434
10788
|
widget: "RadioInputField"
|
|
10435
10789
|
},
|
|
10436
10790
|
config: {
|
|
10437
|
-
layout: { xs: 11, sm:
|
|
10791
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
10438
10792
|
main: {
|
|
10439
10793
|
label: "Enabled",
|
|
10440
10794
|
options: ["YES", "NO"],
|
|
@@ -10458,11 +10812,11 @@ const buildRadio = (config, componentScope) => {
|
|
|
10458
10812
|
return Radio;
|
|
10459
10813
|
};
|
|
10460
10814
|
const buildEmptyBox = (config, componentScope) => {
|
|
10461
|
-
const
|
|
10815
|
+
const EmptyBox = _.cloneDeep(emptyBox);
|
|
10462
10816
|
if (config.layout) {
|
|
10463
|
-
|
|
10817
|
+
EmptyBox.config.layout = createLayoutFormat(config.layout);
|
|
10464
10818
|
}
|
|
10465
|
-
return
|
|
10819
|
+
return EmptyBox;
|
|
10466
10820
|
};
|
|
10467
10821
|
const ArrayUiSchema = {
|
|
10468
10822
|
type: "Control",
|
|
@@ -10543,7 +10897,7 @@ const FileInput = {
|
|
|
10543
10897
|
widget: "FileInputField"
|
|
10544
10898
|
},
|
|
10545
10899
|
config: {
|
|
10546
|
-
layout: 11
|
|
10900
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
10547
10901
|
main: {
|
|
10548
10902
|
required: false,
|
|
10549
10903
|
onUpload: "onFileUpload",
|