impaktapps-ui-builder 0.0.382460 → 1.0.1
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 +1273 -1115
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +16 -16
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +62 -59
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +17 -21
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +10 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +23 -32
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +26 -33
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/refresh.d.ts +52 -38
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/styleSection.d.ts +7 -8
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +29 -33
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +6 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +56 -36
- package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.d.ts +6 -0
- package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +2 -0
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +8 -0
- package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildAadharCard.ts +2 -0
- package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +6 -1
- package/src/impaktapps-ui-builder/builder/build/buildText.ts +21 -18
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +39 -27
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +111 -96
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +113 -61
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +8 -4
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +108 -88
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +39 -17
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +44 -44
- package/src/impaktapps-ui-builder/builder/build/uischema/styleSection.ts +9 -13
- package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +40 -18
- package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +73 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +63 -45
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +50 -44
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +232 -309
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +166 -224
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +15 -12
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +147 -205
- package/src/impaktapps-ui-builder/builder/services/component.ts +228 -57
- package/src/impaktapps-ui-builder/builder/services/event.ts +182 -66
- package/src/impaktapps-ui-builder/builder/services/utils.ts +2 -2
- package/src/impaktapps-ui-builder/runtime/services/events.ts +32 -21
- package/src/impaktapps-ui-builder/runtime/services/service.ts +18 -29
|
@@ -38,18 +38,18 @@ export const EventSchema = {
|
|
|
38
38
|
eventType: {
|
|
39
39
|
type: "string",
|
|
40
40
|
oneOf: [
|
|
41
|
-
{ title: "Click
|
|
42
|
-
{ title: "Load
|
|
43
|
-
{ title: "Change
|
|
44
|
-
{ title: "Mount
|
|
41
|
+
{ title: "Click", const: "onClick" },
|
|
42
|
+
{ title: "Load", const: "onLoad" },
|
|
43
|
+
{ title: "Change", const: "onChange" },
|
|
44
|
+
{ title: "Mount", const: "onMount" },
|
|
45
45
|
{ title: "Success", const: "Success" },
|
|
46
|
-
{ title: "
|
|
47
|
-
{ title: "Cell
|
|
48
|
-
{ title: "
|
|
49
|
-
{ title: "Back
|
|
50
|
-
{ title: "Next
|
|
51
|
-
{ title: "
|
|
52
|
-
{ title: "
|
|
46
|
+
{ title: "Start", const: "onStart" },
|
|
47
|
+
{ title: "Cell Render", const: "onCellRenderer" },
|
|
48
|
+
{ title: "Upload", const: "onUpload" },
|
|
49
|
+
{ title: "Back", const: "onBack" },
|
|
50
|
+
{ title: "Next", const: "onNext" },
|
|
51
|
+
{ title: "Row Movement", const: "onRowMovement" },
|
|
52
|
+
{ title: "Download", const: "onDownload" },
|
|
53
53
|
{ title: "Fail", const: "Fail" }
|
|
54
54
|
]
|
|
55
55
|
},
|
|
@@ -57,7 +57,7 @@ export const EventSchema = {
|
|
|
57
57
|
type: "string",
|
|
58
58
|
oneOf: [
|
|
59
59
|
{ title: "Custom", const: "custom" },
|
|
60
|
-
{ title: "
|
|
60
|
+
{ title: "API", const: "api" },
|
|
61
61
|
{ title: "Inbuilt Function", const: "inBuiltFunction" },
|
|
62
62
|
{ title: "Refresh", const: "refresh" },
|
|
63
63
|
]
|
|
@@ -87,6 +87,9 @@ export const EventSchema = {
|
|
|
87
87
|
RemoveItemButton:{
|
|
88
88
|
disabled: true,
|
|
89
89
|
},
|
|
90
|
+
pageName: {
|
|
91
|
+
path: [{label: "defaultLabel", path: "defaultPath"}]
|
|
92
|
+
},
|
|
90
93
|
},
|
|
91
94
|
required:["eventType","Handler"]
|
|
92
95
|
}
|
|
@@ -3,41 +3,39 @@ import { getSelectField } from "../../../build/uischema/buildPropertiesSection";
|
|
|
3
3
|
export const EventUiSchema: any = (theme) => {
|
|
4
4
|
const uiSchema = {
|
|
5
5
|
type: "HorizontalLayout",
|
|
6
|
-
heading: "
|
|
6
|
+
heading: "Page-Events",
|
|
7
7
|
elements: [
|
|
8
8
|
{
|
|
9
|
-
type: "
|
|
10
|
-
scope: "#/properties/pageName",
|
|
11
|
-
|
|
12
|
-
options: {
|
|
13
|
-
widget: "Box",
|
|
14
|
-
},
|
|
9
|
+
type: "TabLayout",
|
|
15
10
|
config: {
|
|
16
|
-
layout: 12,
|
|
17
11
|
main: {
|
|
18
|
-
|
|
12
|
+
tabLabels: ["Core", "Response Events"],
|
|
13
|
+
id: "event"
|
|
19
14
|
},
|
|
20
15
|
style: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
color:"gray",
|
|
16
|
+
TabPanelStyle: {
|
|
17
|
+
padding: 0,
|
|
18
|
+
}
|
|
25
19
|
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
defaultStyle: true,
|
|
34
|
-
id: "event"
|
|
20
|
+
TabsStyle: {
|
|
21
|
+
marginBottom: "3px",
|
|
22
|
+
paddingBottom: "4px",
|
|
23
|
+
boxShadow: "0px 3px 4px #afafaf80",
|
|
24
|
+
"& .MuiTabs-indicator": {
|
|
25
|
+
bottom: "6px",
|
|
26
|
+
}
|
|
35
27
|
},
|
|
36
28
|
},
|
|
37
29
|
|
|
38
30
|
elements: [
|
|
39
31
|
{
|
|
40
|
-
type: "
|
|
32
|
+
type: "WrapperLayout",
|
|
33
|
+
config: {
|
|
34
|
+
main: {
|
|
35
|
+
label: " ",
|
|
36
|
+
gap: "8px"
|
|
37
|
+
},
|
|
38
|
+
},
|
|
41
39
|
elements: [
|
|
42
40
|
{
|
|
43
41
|
type: "Control",
|
|
@@ -47,9 +45,9 @@ export const EventUiSchema: any = (theme) => {
|
|
|
47
45
|
widget: "SelectInputField",
|
|
48
46
|
},
|
|
49
47
|
config: {
|
|
50
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
48
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
51
49
|
main: {
|
|
52
|
-
label: "Event Type",
|
|
50
|
+
label: "Event's Type",
|
|
53
51
|
type: "text",
|
|
54
52
|
|
|
55
53
|
},
|
|
@@ -57,7 +55,7 @@ export const EventUiSchema: any = (theme) => {
|
|
|
57
55
|
},
|
|
58
56
|
getSelectField("Handler", "Handler", [
|
|
59
57
|
{ label: "Custom", value: "custom" },
|
|
60
|
-
{ label: "
|
|
58
|
+
{ label: "API", value: "api" },
|
|
61
59
|
{ label: "Inbuilt Function", value: "inBuiltFunction" },
|
|
62
60
|
{ label: "Refresh", value: "refresh" },
|
|
63
61
|
]),
|
|
@@ -68,7 +66,7 @@ export const EventUiSchema: any = (theme) => {
|
|
|
68
66
|
widget: "EmptyBox",
|
|
69
67
|
},
|
|
70
68
|
config: {
|
|
71
|
-
layout: { xs: 0, sm:
|
|
69
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 6 },
|
|
72
70
|
},
|
|
73
71
|
},
|
|
74
72
|
],
|
|
@@ -93,15 +91,20 @@ export const EventUiSchema: any = (theme) => {
|
|
|
93
91
|
},
|
|
94
92
|
config: {
|
|
95
93
|
main: {
|
|
96
|
-
// color: "info",
|
|
97
94
|
onClick: "addEvent",
|
|
98
95
|
size: "small",
|
|
99
|
-
icon: "
|
|
100
|
-
iconLabel: "Add
|
|
96
|
+
icon: "TableAddIcon",
|
|
97
|
+
iconLabel: "Add",
|
|
101
98
|
styleDefault: true,
|
|
102
99
|
},
|
|
103
100
|
style: {
|
|
104
101
|
mt: "6px",
|
|
102
|
+
color: "inherit",
|
|
103
|
+
fill: "inherit",
|
|
104
|
+
"&:hover": {
|
|
105
|
+
color: "inherit",
|
|
106
|
+
fill: "inherit",
|
|
107
|
+
}
|
|
105
108
|
},
|
|
106
109
|
},
|
|
107
110
|
}
|
|
@@ -117,15 +120,20 @@ export const EventUiSchema: any = (theme) => {
|
|
|
117
120
|
},
|
|
118
121
|
config: {
|
|
119
122
|
main: {
|
|
120
|
-
// color: "info",
|
|
121
123
|
onClick: "copyPasteElement",
|
|
122
124
|
size: "small",
|
|
123
|
-
icon: "
|
|
125
|
+
icon: "TablePaste",
|
|
124
126
|
iconLabel: "Paste",
|
|
125
127
|
styleDefault: true,
|
|
126
128
|
},
|
|
127
129
|
style: {
|
|
128
130
|
mt: "6px",
|
|
131
|
+
color: "inherit",
|
|
132
|
+
fill: "inherit",
|
|
133
|
+
"&:hover": {
|
|
134
|
+
color: "inherit",
|
|
135
|
+
fill: "inherit",
|
|
136
|
+
}
|
|
129
137
|
},
|
|
130
138
|
},
|
|
131
139
|
}
|
|
@@ -142,15 +150,21 @@ export const EventUiSchema: any = (theme) => {
|
|
|
142
150
|
|
|
143
151
|
{
|
|
144
152
|
accessorKey: "eventType",
|
|
145
|
-
header: "Event Type",
|
|
153
|
+
header: "Event's Type",
|
|
154
|
+
size: 300,
|
|
155
|
+
type: "string"
|
|
146
156
|
},
|
|
147
157
|
{
|
|
148
158
|
accessorKey: "Handler",
|
|
149
159
|
header: "Handler",
|
|
160
|
+
size: 200,
|
|
161
|
+
type: "string"
|
|
150
162
|
},
|
|
151
163
|
{
|
|
152
164
|
accessorKey: "Edit_Approve_Records",
|
|
153
|
-
header: "Edit
|
|
165
|
+
header: "Edit",
|
|
166
|
+
type: "action",
|
|
167
|
+
size: 150,
|
|
154
168
|
widget: {
|
|
155
169
|
type: "Control",
|
|
156
170
|
scope: "#/properties/Edit_Records",
|
|
@@ -159,14 +173,16 @@ export const EventUiSchema: any = (theme) => {
|
|
|
159
173
|
},
|
|
160
174
|
config: {
|
|
161
175
|
main: {
|
|
162
|
-
color: "info",
|
|
163
176
|
size: "small",
|
|
164
|
-
icon: "
|
|
177
|
+
icon: "TableEditIcon",
|
|
165
178
|
tooltipMessage: "Edit This Record",
|
|
166
179
|
onClick: "editEvent",
|
|
167
180
|
},
|
|
168
181
|
style: {
|
|
169
|
-
|
|
182
|
+
fill: theme.palette.primary.main,
|
|
183
|
+
"& :hover": {
|
|
184
|
+
fill: theme.palette.primary.dark,
|
|
185
|
+
},
|
|
170
186
|
},
|
|
171
187
|
},
|
|
172
188
|
},
|
|
@@ -174,6 +190,8 @@ export const EventUiSchema: any = (theme) => {
|
|
|
174
190
|
{
|
|
175
191
|
accessorKey: "Reject_Records",
|
|
176
192
|
header: "Delete",
|
|
193
|
+
type: "action",
|
|
194
|
+
size: 150,
|
|
177
195
|
widget: {
|
|
178
196
|
type: "Control",
|
|
179
197
|
scope: "#/properties/RejectButton",
|
|
@@ -182,11 +200,16 @@ export const EventUiSchema: any = (theme) => {
|
|
|
182
200
|
},
|
|
183
201
|
config: {
|
|
184
202
|
main: {
|
|
185
|
-
icon: "
|
|
186
|
-
color: "error",
|
|
203
|
+
icon: "Bin",
|
|
187
204
|
tooltipMessage: "Reject This Record",
|
|
188
205
|
onClick: "deletePopUpEvent",
|
|
189
206
|
},
|
|
207
|
+
style: {
|
|
208
|
+
fill: theme.palette.primary.main,
|
|
209
|
+
"& :hover": {
|
|
210
|
+
fill: theme.palette.primary.dark,
|
|
211
|
+
},
|
|
212
|
+
},
|
|
190
213
|
},
|
|
191
214
|
},
|
|
192
215
|
},
|
|
@@ -194,7 +217,8 @@ export const EventUiSchema: any = (theme) => {
|
|
|
194
217
|
{
|
|
195
218
|
header: "Copy",
|
|
196
219
|
field: "Copy_Event",
|
|
197
|
-
|
|
220
|
+
type: "action",
|
|
221
|
+
size: 150,
|
|
198
222
|
widget: {
|
|
199
223
|
type: "Control",
|
|
200
224
|
scope: "#/properties/Copy_Event",
|
|
@@ -204,7 +228,6 @@ export const EventUiSchema: any = (theme) => {
|
|
|
204
228
|
config: {
|
|
205
229
|
main: {
|
|
206
230
|
icon: "FileCopyIcon",
|
|
207
|
-
// color: "error",
|
|
208
231
|
onClick: "copyPasteElement",
|
|
209
232
|
styleDefault: true,
|
|
210
233
|
},
|
|
@@ -212,112 +235,64 @@ export const EventUiSchema: any = (theme) => {
|
|
|
212
235
|
},
|
|
213
236
|
},
|
|
214
237
|
]
|
|
215
|
-
// }]
|
|
216
238
|
}
|
|
217
239
|
],
|
|
218
240
|
},
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
241
|
+
{
|
|
242
|
+
type: "WrapperLayout",
|
|
243
|
+
config: {
|
|
244
|
+
main: {
|
|
245
|
+
gap: "8px"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
elements: [
|
|
225
249
|
{
|
|
226
250
|
type: "Control",
|
|
227
|
-
scope: "#/properties/
|
|
251
|
+
scope: "#/properties/btn",
|
|
228
252
|
options: {
|
|
229
|
-
widget: "
|
|
253
|
+
widget: "Button",
|
|
230
254
|
},
|
|
255
|
+
|
|
231
256
|
config: {
|
|
232
|
-
layout: { xs:
|
|
257
|
+
layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
|
|
233
258
|
main: {
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
259
|
+
name: "Ok",
|
|
260
|
+
variant: "contained",
|
|
261
|
+
type: "text",
|
|
262
|
+
onClick: "okHandler",
|
|
263
|
+
size: "medium",
|
|
238
264
|
},
|
|
239
|
-
style:{
|
|
240
|
-
marginLeft: "-10px"
|
|
241
|
-
}
|
|
242
265
|
},
|
|
243
266
|
},
|
|
244
267
|
{
|
|
245
268
|
type: "Control",
|
|
246
|
-
scope: "#/properties/
|
|
247
|
-
|
|
269
|
+
scope: "#/properties/btnSubmit",
|
|
248
270
|
options: {
|
|
249
|
-
widget: "
|
|
271
|
+
widget: "Button",
|
|
250
272
|
},
|
|
273
|
+
|
|
251
274
|
config: {
|
|
252
|
-
layout: { xs:
|
|
275
|
+
layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
|
|
253
276
|
main: {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
fontSize: "12px",
|
|
260
|
-
marginTop: "4px"
|
|
277
|
+
name: "Save & Exit",
|
|
278
|
+
variant: "contained",
|
|
279
|
+
type: "text",
|
|
280
|
+
onClick: "saveHandler",
|
|
281
|
+
size: "medium",
|
|
261
282
|
},
|
|
262
283
|
},
|
|
263
284
|
},
|
|
264
285
|
{
|
|
265
286
|
type: "Control",
|
|
266
287
|
scope: "#/properties/EmptyBox",
|
|
288
|
+
config: {
|
|
289
|
+
layout: { xs: 4, sm:7, md: 8, lg: 9 },
|
|
290
|
+
},
|
|
267
291
|
options: {
|
|
268
292
|
widget: "EmptyBox",
|
|
269
293
|
},
|
|
270
|
-
config: {
|
|
271
|
-
layout: { xs: 1, sm: 5 },
|
|
272
|
-
},
|
|
273
|
-
},
|
|
274
|
-
]
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
type: "Control",
|
|
278
|
-
scope: "#/properties/btn",
|
|
279
|
-
options: {
|
|
280
|
-
widget: "Button",
|
|
281
|
-
},
|
|
282
|
-
|
|
283
|
-
config: {
|
|
284
|
-
layout: { xs: 4, sm: 2 },
|
|
285
|
-
main: {
|
|
286
|
-
name: "Ok",
|
|
287
|
-
startIcon: "ApproveIcon",
|
|
288
|
-
variant: "contained",
|
|
289
|
-
// color: "info",
|
|
290
|
-
type: "text",
|
|
291
|
-
onClick: "okHandler",
|
|
292
|
-
size: "medium",
|
|
293
|
-
},
|
|
294
|
-
style: {
|
|
295
|
-
float: "right",
|
|
296
|
-
},
|
|
297
|
-
},
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
type: "Control",
|
|
301
|
-
scope: "#/properties/btnSubmit",
|
|
302
|
-
options: {
|
|
303
|
-
widget: "Button",
|
|
304
|
-
},
|
|
305
|
-
|
|
306
|
-
config: {
|
|
307
|
-
layout: { xs: 4, sm: 2 },
|
|
308
|
-
main: {
|
|
309
|
-
name: "Save & Exit",
|
|
310
|
-
startIcon: "ApproveIcon",
|
|
311
|
-
variant: "contained",
|
|
312
|
-
// color: "info",
|
|
313
|
-
type: "text",
|
|
314
|
-
onClick: "saveHandler",
|
|
315
|
-
size: "medium",
|
|
316
294
|
},
|
|
317
|
-
|
|
318
|
-
float: "right",
|
|
319
|
-
},
|
|
320
|
-
},
|
|
295
|
+
],
|
|
321
296
|
},
|
|
322
297
|
{
|
|
323
298
|
type: "Control",
|
|
@@ -347,17 +322,19 @@ export const EventUiSchema: any = (theme) => {
|
|
|
347
322
|
widget: "Box",
|
|
348
323
|
},
|
|
349
324
|
config: {
|
|
350
|
-
layout:
|
|
325
|
+
layout: 11,
|
|
351
326
|
main: {
|
|
352
|
-
heading: "Are you sure you want to delete ?",
|
|
327
|
+
heading: "Are you sure you want to delete this Event ?",
|
|
353
328
|
},
|
|
354
329
|
style:{
|
|
355
|
-
marginTop: "-20px",
|
|
356
330
|
fontSize: "20px",
|
|
357
331
|
"&.MuiTypography-root": {
|
|
358
|
-
padding: "
|
|
332
|
+
padding: "0px 20px",
|
|
359
333
|
textAlign: "center",
|
|
360
|
-
lineHeight: "1"
|
|
334
|
+
lineHeight: "1.2",
|
|
335
|
+
fontWeight: "normal",
|
|
336
|
+
fontSize: "18px",
|
|
337
|
+
marginBottom: theme.spacing(5)
|
|
361
338
|
}
|
|
362
339
|
}
|
|
363
340
|
},
|
|
@@ -365,7 +342,7 @@ export const EventUiSchema: any = (theme) => {
|
|
|
365
342
|
{
|
|
366
343
|
type: "WrapperLayout",
|
|
367
344
|
config: {
|
|
368
|
-
layout:
|
|
345
|
+
layout: 11,
|
|
369
346
|
main: {},
|
|
370
347
|
|
|
371
348
|
},
|
|
@@ -382,13 +359,14 @@ export const EventUiSchema: any = (theme) => {
|
|
|
382
359
|
name: "No",
|
|
383
360
|
startIcon: "ApproveIcon",
|
|
384
361
|
variant: "contained",
|
|
385
|
-
color: "info",
|
|
386
362
|
type: "text",
|
|
387
363
|
onClick: "deletePopUpEvent",
|
|
388
364
|
size: "large",
|
|
389
365
|
},
|
|
390
366
|
style: {
|
|
391
367
|
position: "absolute",
|
|
368
|
+
padding: "8px 0px",
|
|
369
|
+
fontSize: "16px",
|
|
392
370
|
bottom: 0,
|
|
393
371
|
left: 0,
|
|
394
372
|
width: "50%",
|
|
@@ -416,7 +394,6 @@ export const EventUiSchema: any = (theme) => {
|
|
|
416
394
|
layout: 6,
|
|
417
395
|
main: {
|
|
418
396
|
name: "Yes",
|
|
419
|
-
startIcon: "ApproveIcon",
|
|
420
397
|
variant: "contained",
|
|
421
398
|
color: "error",
|
|
422
399
|
type: "text",
|
|
@@ -425,6 +402,8 @@ export const EventUiSchema: any = (theme) => {
|
|
|
425
402
|
},
|
|
426
403
|
style: {
|
|
427
404
|
position: "absolute",
|
|
405
|
+
padding: "8px 0px",
|
|
406
|
+
fontSize: "16px",
|
|
428
407
|
bottom: 0,
|
|
429
408
|
right: 0,
|
|
430
409
|
width: "50%",
|
|
@@ -445,6 +424,31 @@ export const EventUiSchema: any = (theme) => {
|
|
|
445
424
|
},
|
|
446
425
|
]
|
|
447
426
|
},
|
|
427
|
+
{
|
|
428
|
+
type: "Control",
|
|
429
|
+
scope: "#/properties/pageName",
|
|
430
|
+
|
|
431
|
+
options: {
|
|
432
|
+
widget: "Breadcrumb",
|
|
433
|
+
},
|
|
434
|
+
config: {
|
|
435
|
+
layout: 12,
|
|
436
|
+
main: {
|
|
437
|
+
onNavigatePopupNo: "onNavigatePopupNo",
|
|
438
|
+
onNavigatePopupYes: "onNavigatePopupYes"
|
|
439
|
+
},
|
|
440
|
+
style: {
|
|
441
|
+
paddingLeft: theme.spacing(3),
|
|
442
|
+
color:theme.palette.grey[600],
|
|
443
|
+
fontSize:"10px",
|
|
444
|
+
position: "fixed",
|
|
445
|
+
bottom: "24px",
|
|
446
|
+
borderBottom: `1px solid ${theme.palette.common.black}29`,
|
|
447
|
+
borderTop: `1px solid ${theme.palette.common.black}29`,
|
|
448
|
+
backgroundColor: theme.palette.background.default,
|
|
449
|
+
},
|
|
450
|
+
},
|
|
451
|
+
},
|
|
448
452
|
{
|
|
449
453
|
type: "Control",
|
|
450
454
|
scope: "#/properties/notify",
|
|
@@ -457,22 +461,20 @@ export const EventUiSchema: any = (theme) => {
|
|
|
457
461
|
type: "HorizontalLayout",
|
|
458
462
|
config: {
|
|
459
463
|
main: {
|
|
460
|
-
direction:
|
|
464
|
+
direction: "row",
|
|
461
465
|
},
|
|
462
466
|
style: {
|
|
463
467
|
flexDirection: "row",
|
|
464
468
|
position: "absolute",
|
|
465
|
-
bottom:
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
overflow: 'hidden',
|
|
469
|
+
bottom: 10,
|
|
470
|
+
height: "fit-content",
|
|
471
|
+
overflow: "hidden",
|
|
469
472
|
zIndex: 1000,
|
|
470
|
-
width:
|
|
471
|
-
}
|
|
473
|
+
width: "inherit",
|
|
474
|
+
},
|
|
472
475
|
},
|
|
473
476
|
elements: [
|
|
474
477
|
{
|
|
475
|
-
|
|
476
478
|
type: "Control",
|
|
477
479
|
scope: "#/properties/FooterText",
|
|
478
480
|
options: {
|
|
@@ -480,84 +482,24 @@ export const EventUiSchema: any = (theme) => {
|
|
|
480
482
|
},
|
|
481
483
|
config: {
|
|
482
484
|
main: {
|
|
483
|
-
heading: "Copywriter@ACT21.IO"
|
|
485
|
+
heading: "Copywriter@ACT21.IO",
|
|
484
486
|
},
|
|
485
487
|
style: {
|
|
486
488
|
color: theme?.palette?.text.disabled || "#AFAFAF",
|
|
487
|
-
fontSize:
|
|
488
|
-
textAlign:
|
|
489
|
-
lineHeight:
|
|
490
|
-
width:
|
|
491
|
-
left:
|
|
492
|
-
position:
|
|
493
|
-
margin:
|
|
489
|
+
fontSize: "11px",
|
|
490
|
+
textAlign: "center",
|
|
491
|
+
lineHeight: 0,
|
|
492
|
+
width: "fit-content",
|
|
493
|
+
left: "50%",
|
|
494
|
+
position: "relative",
|
|
495
|
+
margin: "revert",
|
|
494
496
|
flexGrow: 1,
|
|
495
497
|
height: 0,
|
|
496
|
-
transform: "translate(-50%,0%)"
|
|
497
|
-
}
|
|
498
|
-
},
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
type: "Control",
|
|
502
|
-
scope: "#/properties/backIcon",
|
|
503
|
-
options: {
|
|
504
|
-
widget: "Box",
|
|
505
|
-
},
|
|
506
|
-
config: {
|
|
507
|
-
main: {
|
|
508
|
-
iconName: 'PrevIcon',
|
|
509
|
-
onClick: "backHandler",
|
|
510
|
-
width: 'fit-content',
|
|
498
|
+
transform: "translate(-50%, 0%)",
|
|
511
499
|
},
|
|
512
|
-
style: {
|
|
513
|
-
fill: theme.palette.primary.main,
|
|
514
|
-
width: 20,
|
|
515
|
-
height: 0,
|
|
516
|
-
margin: 0,
|
|
517
|
-
top: 0,
|
|
518
|
-
right: {xs: '12px', sm: '84px'},
|
|
519
|
-
position: 'absolute',
|
|
520
|
-
fontSize: '12px',
|
|
521
|
-
cursor: 'pointer',
|
|
522
|
-
':hover': {
|
|
523
|
-
fill: theme.palette.primary.dark,
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
type: "Control",
|
|
530
|
-
scope: "#/properties/text",
|
|
531
|
-
|
|
532
|
-
options: {
|
|
533
|
-
widget: "Box",
|
|
534
|
-
},
|
|
535
|
-
config: {
|
|
536
|
-
main: {
|
|
537
|
-
heading: "Previous Page",
|
|
538
|
-
onClick: "backHandler"
|
|
539
|
-
},
|
|
540
|
-
style: {
|
|
541
|
-
display: {xs: 'none', sm: "flex"},
|
|
542
|
-
textAlign: 'left',
|
|
543
|
-
lineHeight: 1,
|
|
544
|
-
height: 0,
|
|
545
|
-
width: 'fit-content',
|
|
546
|
-
color: theme.palette.primary.main,
|
|
547
|
-
fontSize: "12px",
|
|
548
|
-
cursor: 'pointer',
|
|
549
|
-
marginLeft: '2px',
|
|
550
|
-
marginRight: 0,
|
|
551
|
-
top: 3,
|
|
552
|
-
right: '12px',
|
|
553
|
-
position: 'absolute',
|
|
554
|
-
':hover': {
|
|
555
|
-
color: theme.palette.primary.dark,
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
500
|
},
|
|
559
501
|
},
|
|
560
|
-
]
|
|
502
|
+
],
|
|
561
503
|
}
|
|
562
504
|
],
|
|
563
505
|
};
|