impaktapps-ui-builder 0.0.412-mtreemap.3 → 0.0.412-mtreemap.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/impaktapps-ui-builder.es.js +1189 -585
- 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/eventSection.d.ts +2 -2
- 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/tableSection.d.ts +25 -1
- 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/buildStackBarGraph.ts +1 -5
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +48 -66
- 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 +107 -103
- package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -12
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +1 -118
- 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 +93 -137
- 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 +487 -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 +515 -204
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +104 -98
- 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/events.ts +28 -34
- package/src/impaktapps-ui-builder/runtime/services/service.ts +112 -4
|
@@ -1,8 +1,56 @@
|
|
|
1
|
+
import { EventUiSchema } from "../event/uiSchema"
|
|
1
2
|
export const PageMasterUiSchema: any = (theme) => {
|
|
2
3
|
const uiSchema = {
|
|
3
4
|
type: "HorizontalLayout",
|
|
4
5
|
heading: "Page Master",
|
|
5
6
|
elements: [
|
|
7
|
+
// {
|
|
8
|
+
// type: "WrapperLayout",
|
|
9
|
+
// config: {
|
|
10
|
+
// main: {
|
|
11
|
+
// rowSpacing: 1,
|
|
12
|
+
// header: true,
|
|
13
|
+
// },
|
|
14
|
+
// defaultStyle: true,
|
|
15
|
+
// },
|
|
16
|
+
// elements: [
|
|
17
|
+
// {
|
|
18
|
+
// type: "Control",
|
|
19
|
+
// scope: "#/properties/pageMaster",
|
|
20
|
+
|
|
21
|
+
// options: {
|
|
22
|
+
// widget: "Box",
|
|
23
|
+
// },
|
|
24
|
+
// config: {
|
|
25
|
+
// layout: 8,
|
|
26
|
+
// main: {
|
|
27
|
+
// heading: "Page Master",
|
|
28
|
+
// },
|
|
29
|
+
// },
|
|
30
|
+
// },
|
|
31
|
+
// {
|
|
32
|
+
// type: "Control",
|
|
33
|
+
// scope: "#/properties/Back_Button",
|
|
34
|
+
|
|
35
|
+
// options: {
|
|
36
|
+
// widget: "IconButton",
|
|
37
|
+
// },
|
|
38
|
+
// config: {
|
|
39
|
+
// layout: 3,
|
|
40
|
+
// main: {
|
|
41
|
+
// icon: "BackIcon",
|
|
42
|
+
// styleDefault: true,
|
|
43
|
+
// size: "small",
|
|
44
|
+
// onClick: "backHandler",
|
|
45
|
+
// tooltipMessage: "Back",
|
|
46
|
+
// },
|
|
47
|
+
// style: {
|
|
48
|
+
// float: "right",
|
|
49
|
+
// },
|
|
50
|
+
// },
|
|
51
|
+
// },
|
|
52
|
+
// ],
|
|
53
|
+
// },
|
|
6
54
|
{
|
|
7
55
|
type: "WrapperLayout",
|
|
8
56
|
config: {
|
|
@@ -35,6 +83,27 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
35
83
|
},
|
|
36
84
|
},
|
|
37
85
|
},
|
|
86
|
+
{
|
|
87
|
+
type: "Control",
|
|
88
|
+
scope: "#/properties/template",
|
|
89
|
+
|
|
90
|
+
options: {
|
|
91
|
+
widget: "SelectInputField",
|
|
92
|
+
},
|
|
93
|
+
config: {
|
|
94
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
95
|
+
main: {
|
|
96
|
+
label: "Template",
|
|
97
|
+
options: [
|
|
98
|
+
{ const: "template1", title: "template1" },
|
|
99
|
+
{ const: "template2", title: "template2" },
|
|
100
|
+
{ const: "template3", title: "template3" }
|
|
101
|
+
],
|
|
102
|
+
color: "secondary",
|
|
103
|
+
required: true,
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
},
|
|
38
107
|
{
|
|
39
108
|
type: "Control",
|
|
40
109
|
scope: "#/properties/label",
|
|
@@ -52,243 +121,484 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
52
121
|
},
|
|
53
122
|
},
|
|
54
123
|
},
|
|
124
|
+
],
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
type: "TabLayout",
|
|
128
|
+
config: {
|
|
129
|
+
main: {
|
|
130
|
+
tabLabels: ["Components", "events"],
|
|
131
|
+
divider: true,
|
|
132
|
+
},
|
|
133
|
+
defaultStyle: true,
|
|
134
|
+
},
|
|
135
|
+
elements: [
|
|
136
|
+
// {
|
|
137
|
+
// type: "WrapperLayout",
|
|
138
|
+
// config: {
|
|
139
|
+
// main: {
|
|
140
|
+
// // label: "Success Case Event",
|
|
141
|
+
// divider: true,
|
|
142
|
+
// },
|
|
143
|
+
// // wrapperStyle: {
|
|
144
|
+
// // border: "1px solid gray"
|
|
145
|
+
// // },
|
|
146
|
+
// },
|
|
147
|
+
// elements: [
|
|
55
148
|
{
|
|
56
149
|
type: "Control",
|
|
57
|
-
scope: "#/properties/
|
|
150
|
+
scope: "#/properties/elements",
|
|
58
151
|
options: {
|
|
59
|
-
widget: "
|
|
152
|
+
widget: "Table",
|
|
60
153
|
},
|
|
61
|
-
config: {
|
|
62
|
-
layout: { xs: 0, sm: 4 }
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
type: "TabLayout",
|
|
67
154
|
config: {
|
|
68
155
|
main: {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
{
|
|
76
|
-
type: "Control",
|
|
77
|
-
scope: "#/properties/elements",
|
|
78
|
-
options: {
|
|
79
|
-
widget: "Table",
|
|
80
|
-
},
|
|
81
|
-
config: {
|
|
82
|
-
main: {
|
|
83
|
-
headerIcons: {
|
|
84
|
-
elements: [
|
|
85
|
-
{
|
|
86
|
-
widget: {
|
|
87
|
-
type: "Control",
|
|
88
|
-
scope: "#/properties/New_Record",
|
|
156
|
+
headerIcons: {
|
|
157
|
+
elements: [
|
|
158
|
+
{
|
|
159
|
+
widget: {
|
|
160
|
+
type: "Control",
|
|
161
|
+
scope: "#/properties/New_Record",
|
|
89
162
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
},
|
|
106
|
-
}
|
|
163
|
+
options: {
|
|
164
|
+
widget: "IconButton",
|
|
165
|
+
},
|
|
166
|
+
config: {
|
|
167
|
+
main: {
|
|
168
|
+
// color: "info",
|
|
169
|
+
onClick: "onAddClickHandler",
|
|
170
|
+
size: "small",
|
|
171
|
+
icon: "AddIcon",
|
|
172
|
+
iconLabel: "Add New",
|
|
173
|
+
styleDefault: true,
|
|
174
|
+
},
|
|
175
|
+
style: {
|
|
176
|
+
mt: "6px",
|
|
177
|
+
},
|
|
107
178
|
},
|
|
108
|
-
|
|
179
|
+
}
|
|
109
180
|
},
|
|
110
|
-
|
|
111
|
-
disableSelection: true,
|
|
112
|
-
enableDrag: true,
|
|
113
|
-
}
|
|
181
|
+
]
|
|
114
182
|
},
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
183
|
+
disableAction: true,
|
|
184
|
+
disableSelection: true,
|
|
185
|
+
enableDrag: true,
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
elements: [
|
|
189
|
+
{
|
|
190
|
+
accessorKey: "name",
|
|
118
191
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
192
|
+
header: "Name",
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
accessorKey: "type",
|
|
123
196
|
|
|
124
|
-
|
|
197
|
+
header: "Type",
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
header: "Edit",
|
|
201
|
+
field: "Reject_Records",
|
|
202
|
+
flex: 1,
|
|
203
|
+
widget: {
|
|
204
|
+
type: "Control",
|
|
205
|
+
scope: "#/properties/RejectButton",
|
|
206
|
+
options: {
|
|
207
|
+
widget: "IconButton",
|
|
125
208
|
},
|
|
126
|
-
{
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
scope: "#/properties/RejectButton",
|
|
133
|
-
options: {
|
|
134
|
-
widget: "IconButton",
|
|
135
|
-
},
|
|
136
|
-
config: {
|
|
137
|
-
main: {
|
|
138
|
-
icon: "EditIcon",
|
|
139
|
-
// color: "info",
|
|
140
|
-
onClick: "Edit_Components",
|
|
141
|
-
tooltipMessage: "Edit This Record",
|
|
142
|
-
},
|
|
143
|
-
},
|
|
209
|
+
config: {
|
|
210
|
+
main: {
|
|
211
|
+
icon: "EditIcon",
|
|
212
|
+
color: "primary",
|
|
213
|
+
onClick: "Edit_Components",
|
|
214
|
+
tooltipMessage: "Edit This Record",
|
|
144
215
|
},
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
header: "Delete",
|
|
148
|
-
field: "Reject_Records",
|
|
149
|
-
flex: 1,
|
|
150
|
-
widget: {
|
|
151
|
-
type: "Control",
|
|
152
|
-
scope: "#/properties/RejectButton",
|
|
153
|
-
options: {
|
|
154
|
-
widget: "IconButton",
|
|
155
|
-
},
|
|
156
|
-
config: {
|
|
157
|
-
main: {
|
|
158
|
-
icon: "RejectIcon",
|
|
159
|
-
color: "error",
|
|
160
|
-
onClick: "Delete_Components",
|
|
161
|
-
tooltipMessage: "Reject This Record",
|
|
162
|
-
},
|
|
163
|
-
},
|
|
216
|
+
style: {
|
|
217
|
+
color: theme.palette.primary.main,
|
|
164
218
|
},
|
|
165
|
-
}
|
|
219
|
+
},
|
|
220
|
+
},
|
|
166
221
|
},
|
|
167
222
|
{
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
223
|
+
header: "Delete",
|
|
224
|
+
field: "Reject_Records",
|
|
225
|
+
flex: 1,
|
|
226
|
+
widget: {
|
|
227
|
+
type: "Control",
|
|
228
|
+
scope: "#/properties/RejectButton",
|
|
229
|
+
options: {
|
|
230
|
+
widget: "IconButton",
|
|
231
|
+
},
|
|
232
|
+
config: {
|
|
233
|
+
main: {
|
|
234
|
+
icon: "RejectIcon",
|
|
235
|
+
color: "error",
|
|
236
|
+
onClick: "deletePopUpComponent",
|
|
237
|
+
tooltipMessage: "Reject This Record",
|
|
238
|
+
},
|
|
239
|
+
},
|
|
172
240
|
},
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
// }]
|
|
244
|
+
},
|
|
245
|
+
// {
|
|
246
|
+
// type: "WrapperLayout",
|
|
247
|
+
// config: {
|
|
248
|
+
// main: {
|
|
249
|
+
// // label: "Success Case Event",
|
|
250
|
+
// // divider: true,
|
|
251
|
+
// },
|
|
252
|
+
// wrapperStyle: {
|
|
253
|
+
// border: "1px solid gray"
|
|
254
|
+
// },
|
|
255
|
+
// },
|
|
256
|
+
// elements: [
|
|
257
|
+
// {
|
|
258
|
+
// type: "Control",
|
|
259
|
+
// scope: "#/properties/heading",
|
|
260
|
+
|
|
261
|
+
// options: {
|
|
262
|
+
// widget: "Box",
|
|
263
|
+
// },
|
|
264
|
+
// config: {
|
|
265
|
+
// layout: 8,
|
|
266
|
+
// main: {
|
|
267
|
+
// heading: "Event Table",
|
|
268
|
+
// },
|
|
269
|
+
// style: {
|
|
270
|
+
// fontFamily: "Roboto",
|
|
271
|
+
// fontWeight: "500",
|
|
272
|
+
// paddingLeft: "-10px",
|
|
273
|
+
// fontSize: "20px",
|
|
274
|
+
// },
|
|
275
|
+
// },
|
|
276
|
+
// },
|
|
277
|
+
// {
|
|
278
|
+
// type: "Control",
|
|
279
|
+
// scope: "#/properties/AddButton",
|
|
280
|
+
// options: {
|
|
281
|
+
// widget: "IconButton",
|
|
282
|
+
// },
|
|
283
|
+
// config: {
|
|
284
|
+
// layout: 3,
|
|
285
|
+
// main: {
|
|
286
|
+
// icon: "AddIcon",
|
|
287
|
+
// styleDefault: true,
|
|
288
|
+
// size: "small",
|
|
289
|
+
// onClick: "eventAddHandler",
|
|
290
|
+
// tooltipMessage: "Back",
|
|
291
|
+
// },
|
|
292
|
+
// style: {
|
|
293
|
+
// float: "right",
|
|
294
|
+
// },
|
|
295
|
+
// },
|
|
296
|
+
// },
|
|
297
|
+
|
|
298
|
+
{
|
|
299
|
+
type: "Control",
|
|
300
|
+
scope: "#/properties/events",
|
|
301
|
+
options: {
|
|
302
|
+
widget: "Table",
|
|
303
|
+
},
|
|
304
|
+
config: {
|
|
305
|
+
main: {
|
|
306
|
+
headerIcons: {
|
|
307
|
+
elements: [
|
|
308
|
+
{
|
|
309
|
+
widget: {
|
|
310
|
+
type: "Control",
|
|
311
|
+
scope: "#/properties/New_Record",
|
|
181
312
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
},
|
|
185
|
-
config: {
|
|
186
|
-
main: {
|
|
187
|
-
// color: "info",
|
|
188
|
-
onClick: "eventAddHandler",
|
|
189
|
-
size: "small",
|
|
190
|
-
icon: "AddIcon",
|
|
191
|
-
iconLabel: "Add New",
|
|
192
|
-
styleDefault: true,
|
|
193
|
-
},
|
|
194
|
-
style: {
|
|
195
|
-
mt: "6px",
|
|
196
|
-
},
|
|
197
|
-
},
|
|
198
|
-
}
|
|
313
|
+
options: {
|
|
314
|
+
widget: "IconButton",
|
|
199
315
|
},
|
|
200
|
-
|
|
316
|
+
config: {
|
|
317
|
+
main: {
|
|
318
|
+
// color: "info",
|
|
319
|
+
onClick: "eventAddHandler",
|
|
320
|
+
size: "small",
|
|
321
|
+
icon: "AddIcon",
|
|
322
|
+
iconLabel: "Add New",
|
|
323
|
+
styleDefault: true,
|
|
324
|
+
},
|
|
325
|
+
style: {
|
|
326
|
+
mt: "6px",
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
}
|
|
201
330
|
},
|
|
202
|
-
|
|
203
|
-
disableSelection: true,
|
|
204
|
-
enableDrag: true,
|
|
205
|
-
|
|
206
|
-
},
|
|
331
|
+
]
|
|
207
332
|
},
|
|
208
|
-
elements: [
|
|
209
333
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
334
|
+
disableAction: true,
|
|
335
|
+
disableSelection: true,
|
|
336
|
+
enableDrag: true,
|
|
337
|
+
|
|
338
|
+
},
|
|
339
|
+
},
|
|
340
|
+
elements: [
|
|
341
|
+
|
|
342
|
+
{
|
|
343
|
+
accessorKey: "eventType",
|
|
344
|
+
header: "Event Type",
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
accessorKey: "Handler",
|
|
348
|
+
header: "Handler",
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
accessorKey: "Edit_Approve_Records",
|
|
352
|
+
header: "Edit Widget",
|
|
353
|
+
widget: {
|
|
354
|
+
type: "Control",
|
|
355
|
+
scope: "#/properties/Edit_Records",
|
|
356
|
+
options: {
|
|
357
|
+
widget: "IconButton",
|
|
217
358
|
},
|
|
218
|
-
{
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
main: {
|
|
229
|
-
// color: "info",
|
|
230
|
-
size: "small",
|
|
231
|
-
icon: "EditIcon",
|
|
232
|
-
tooltipMessage: "Edit This Record",
|
|
233
|
-
onClick: "editEvent",
|
|
234
|
-
},
|
|
235
|
-
style: {
|
|
236
|
-
color: "#3949ab",
|
|
237
|
-
},
|
|
238
|
-
},
|
|
359
|
+
config: {
|
|
360
|
+
main: {
|
|
361
|
+
color: "info",
|
|
362
|
+
size: "small",
|
|
363
|
+
icon: "EditIcon",
|
|
364
|
+
tooltipMessage: "Edit This Record",
|
|
365
|
+
onClick: "editEvent",
|
|
366
|
+
},
|
|
367
|
+
style: {
|
|
368
|
+
color: theme.palette.primary.main,
|
|
239
369
|
},
|
|
240
370
|
},
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
371
|
+
},
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
accessorKey: "Reject_Records",
|
|
375
|
+
header: "Delete",
|
|
376
|
+
widget: {
|
|
377
|
+
type: "Control",
|
|
378
|
+
scope: "#/properties/RejectButton",
|
|
379
|
+
options: {
|
|
380
|
+
widget: "IconButton",
|
|
381
|
+
},
|
|
382
|
+
config: {
|
|
383
|
+
main: {
|
|
384
|
+
icon: "RejectIcon",
|
|
385
|
+
color: "error",
|
|
386
|
+
tooltipMessage: "Reject This Record",
|
|
387
|
+
onClick: "deletePopUpEvent",
|
|
258
388
|
},
|
|
259
389
|
},
|
|
260
|
-
|
|
390
|
+
},
|
|
261
391
|
},
|
|
392
|
+
]
|
|
393
|
+
// }]
|
|
394
|
+
},
|
|
395
|
+
|
|
396
|
+
],
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
type: "Control",
|
|
400
|
+
scope: "#/properties/btn",
|
|
401
|
+
options: {
|
|
402
|
+
widget: "EmptyBox",
|
|
403
|
+
},
|
|
404
|
+
config: {
|
|
405
|
+
layout: { xs: 0, sm: 8, md: 8, lg: 8 },
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
type: "Control",
|
|
410
|
+
scope: "#/properties/btn",
|
|
411
|
+
options: {
|
|
412
|
+
widget: "Button",
|
|
413
|
+
},
|
|
262
414
|
|
|
263
|
-
|
|
415
|
+
config: {
|
|
416
|
+
layout: 11.9,
|
|
417
|
+
main: {
|
|
418
|
+
name: "Save",
|
|
419
|
+
startIcon: "ApproveIcon",
|
|
420
|
+
variant: "contained",
|
|
421
|
+
// color: "info",
|
|
422
|
+
type: "text",
|
|
423
|
+
onClick: "saveHandler",
|
|
424
|
+
size: "medium",
|
|
264
425
|
},
|
|
265
|
-
{
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
426
|
+
style: {
|
|
427
|
+
width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
|
|
428
|
+
float: "right",
|
|
429
|
+
},
|
|
430
|
+
},
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
type: "Control",
|
|
434
|
+
scope: "#/properties/popUpPageMasterComponent",
|
|
435
|
+
options: {
|
|
436
|
+
widget: "PopUp"
|
|
437
|
+
},
|
|
438
|
+
config: {
|
|
439
|
+
layout: {
|
|
440
|
+
xs: 12,
|
|
441
|
+
sm: 12,
|
|
442
|
+
md: 6,
|
|
443
|
+
lg: 6,
|
|
444
|
+
},
|
|
445
|
+
main: {
|
|
446
|
+
},
|
|
447
|
+
},
|
|
448
|
+
elements:
|
|
449
|
+
[
|
|
450
|
+
{
|
|
451
|
+
type: "Control",
|
|
452
|
+
scope: "#/properties/label",
|
|
453
|
+
options: {
|
|
454
|
+
widget: "Box",
|
|
455
|
+
},
|
|
456
|
+
config: {
|
|
457
|
+
layout: 12,
|
|
458
|
+
main: {
|
|
459
|
+
heading: "Are you sure you want to delete ?",
|
|
460
|
+
},
|
|
461
|
+
style: {
|
|
462
|
+
marginTop: "-40px"
|
|
463
|
+
}
|
|
464
|
+
},
|
|
270
465
|
},
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
startIcon: "ApproveIcon",
|
|
277
|
-
variant: "contained",
|
|
278
|
-
// color: "info",
|
|
279
|
-
type: "text",
|
|
280
|
-
onClick: "saveHandler",
|
|
281
|
-
size: "medium",
|
|
466
|
+
{
|
|
467
|
+
type: "Control",
|
|
468
|
+
scope: "#/properties/EmptyBox",
|
|
469
|
+
options: {
|
|
470
|
+
widget: "EmptyBox",
|
|
282
471
|
},
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
472
|
+
config: {
|
|
473
|
+
main: {},
|
|
474
|
+
layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
|
|
475
|
+
},
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
type: "Control",
|
|
479
|
+
scope: "#/properties/ConfirmDeleteCompButton",
|
|
480
|
+
options: {
|
|
481
|
+
widget: "Button",
|
|
482
|
+
},
|
|
483
|
+
config: {
|
|
484
|
+
layout: 3,
|
|
485
|
+
main: {
|
|
486
|
+
name: "Yes",
|
|
487
|
+
startIcon: "ApproveIcon",
|
|
488
|
+
variant: "contained",
|
|
489
|
+
color: "info",
|
|
490
|
+
type: "text",
|
|
491
|
+
onClick: "Delete_Components",
|
|
492
|
+
size: "small",
|
|
493
|
+
},
|
|
494
|
+
},
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
type: "Control",
|
|
498
|
+
scope: "#/properties/CancelDeleteCompButton",
|
|
499
|
+
options: {
|
|
500
|
+
widget: "Button",
|
|
501
|
+
},
|
|
502
|
+
config: {
|
|
503
|
+
layout: 3,
|
|
504
|
+
main: {
|
|
505
|
+
name: "No",
|
|
506
|
+
startIcon: "ApproveIcon",
|
|
507
|
+
variant: "contained",
|
|
508
|
+
color: "info",
|
|
509
|
+
type: "text",
|
|
510
|
+
onClick: "deletePopUpComponent",
|
|
511
|
+
size: "small",
|
|
512
|
+
},
|
|
286
513
|
},
|
|
287
514
|
},
|
|
515
|
+
]
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
type: "Control",
|
|
519
|
+
scope: "#/properties/popUpPageMasterEvent",
|
|
520
|
+
options: {
|
|
521
|
+
widget: "PopUp"
|
|
522
|
+
},
|
|
523
|
+
config: {
|
|
524
|
+
layout: {
|
|
525
|
+
xs: 12,
|
|
526
|
+
sm: 12,
|
|
527
|
+
md: 6,
|
|
528
|
+
lg: 6,
|
|
288
529
|
},
|
|
289
|
-
|
|
530
|
+
main: {
|
|
531
|
+
},
|
|
532
|
+
},
|
|
533
|
+
elements:
|
|
534
|
+
[
|
|
535
|
+
{
|
|
536
|
+
type: "Control",
|
|
537
|
+
scope: "#/properties/label",
|
|
538
|
+
options: {
|
|
539
|
+
widget: "Box",
|
|
540
|
+
},
|
|
541
|
+
config: {
|
|
542
|
+
layout: 12,
|
|
543
|
+
main: {
|
|
544
|
+
heading: "Are you sure you want to delete ?",
|
|
545
|
+
},
|
|
546
|
+
style: {
|
|
547
|
+
marginTop: "-40px"
|
|
548
|
+
}
|
|
549
|
+
},
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
type: "Control",
|
|
553
|
+
scope: "#/properties/EmptyBox",
|
|
554
|
+
options: {
|
|
555
|
+
widget: "EmptyBox",
|
|
556
|
+
},
|
|
557
|
+
config: {
|
|
558
|
+
main: {},
|
|
559
|
+
layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
|
|
560
|
+
},
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
type: "Control",
|
|
564
|
+
scope: "#/properties/ConfirmDeleteEventButton",
|
|
565
|
+
options: {
|
|
566
|
+
widget: "Button",
|
|
567
|
+
},
|
|
568
|
+
config: {
|
|
569
|
+
layout: 3,
|
|
570
|
+
main: {
|
|
571
|
+
name: "Yes",
|
|
572
|
+
startIcon: "ApproveIcon",
|
|
573
|
+
variant: "contained",
|
|
574
|
+
color: "info",
|
|
575
|
+
type: "text",
|
|
576
|
+
onClick: "deleteEvent",
|
|
577
|
+
size: "small",
|
|
578
|
+
},
|
|
579
|
+
},
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
type: "Control",
|
|
583
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
584
|
+
options: {
|
|
585
|
+
widget: "Button",
|
|
586
|
+
},
|
|
587
|
+
config: {
|
|
588
|
+
layout: 3,
|
|
589
|
+
main: {
|
|
590
|
+
name: "No",
|
|
591
|
+
startIcon: "ApproveIcon",
|
|
592
|
+
variant: "contained",
|
|
593
|
+
color: "info",
|
|
594
|
+
type: "text",
|
|
595
|
+
onClick: "deletePopUpEvent",
|
|
596
|
+
size: "small",
|
|
597
|
+
},
|
|
598
|
+
},
|
|
599
|
+
},
|
|
600
|
+
]
|
|
290
601
|
},
|
|
291
|
-
|
|
292
602
|
{
|
|
293
603
|
type: "Control",
|
|
294
604
|
scope: "#/properties/notify",
|
|
@@ -316,7 +626,7 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
316
626
|
},
|
|
317
627
|
elements: [
|
|
318
628
|
{
|
|
319
|
-
|
|
629
|
+
|
|
320
630
|
type: "Control",
|
|
321
631
|
scope: "#/properties/FooterText",
|
|
322
632
|
options: {
|
|
@@ -371,7 +681,7 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
371
681
|
{
|
|
372
682
|
type: "Control",
|
|
373
683
|
scope: "#/properties/text",
|
|
374
|
-
|
|
684
|
+
|
|
375
685
|
options: {
|
|
376
686
|
widget: "Box",
|
|
377
687
|
},
|
|
@@ -402,6 +712,7 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
402
712
|
]
|
|
403
713
|
}
|
|
404
714
|
]
|
|
405
|
-
}
|
|
715
|
+
}
|
|
406
716
|
return uiSchema
|
|
407
|
-
}
|
|
717
|
+
}
|
|
718
|
+
|