impaktapps-ui-builder 0.0.382457 → 0.0.382460
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 +4233 -2669
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +15 -15
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.d.ts +4 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildCard.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildConfig.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildDate.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildInputSlider.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildTable.d.ts +0 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildTreeMap.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildUiSchema.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +36 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/box.d.ts +2 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +60 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +1 -7
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +172 -86
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +15 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.d.ts +19 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +121 -119
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/file.d.ts +6 -6
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +42 -115
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +10 -288
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/progressBar.d.ts +6 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +2 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +119 -96
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/{lazyLoadingTable.d.ts → thoughtOfTheDay.d.ts} +6 -3
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/timer.d.ts +1 -14
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +17 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +17 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +2 -1
- package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.d.ts +9 -0
- package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.d.ts +3 -0
- package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +12 -4
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +11 -2
- package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +16 -3
- package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +4 -4
- package/dist/src/impaktapps-ui-builder/lib/index.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/events.d.ts +8 -5
- package/dist/src/impaktapps-ui-builder/runtime/services/interface.d.ts +2 -0
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +11 -8
- package/package.json +5 -1
- package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +9 -5
- package/src/impaktapps-ui-builder/builder/build/buildButton.ts +0 -2
- package/src/impaktapps-ui-builder/builder/build/buildCard.ts +11 -7
- package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +15 -19
- package/src/impaktapps-ui-builder/builder/build/buildDate.ts +12 -2
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +22 -9
- package/src/impaktapps-ui-builder/builder/build/buildInputSlider.ts +46 -0
- package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +26 -19
- package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +16 -2
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +24 -23
- package/src/impaktapps-ui-builder/builder/build/buildProgressBar.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildRankCard.ts +4 -10
- package/src/impaktapps-ui-builder/builder/build/buildSchema.ts +1 -2
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +19 -8
- package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +9 -2
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +39 -29
- package/src/impaktapps-ui-builder/builder/build/buildTextArea.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.ts +22 -0
- package/src/impaktapps-ui-builder/builder/build/buildTreeMap.ts +61 -0
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +77 -57
- package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +16 -19
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +16 -13
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +50 -27
- package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +3 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +174 -80
- package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +1 -7
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +171 -75
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +43 -41
- package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +17 -7
- package/src/impaktapps-ui-builder/builder/build/uischema/emptyBox.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +78 -56
- package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -12
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +13 -141
- package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +10 -357
- package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/progressBar.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/rankCard.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +15 -11
- package/src/impaktapps-ui-builder/builder/build/uischema/runnerBoyProgressBar.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +5 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +125 -97
- package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/thoughtOfTheDay.ts +14 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/timer.ts +2 -16
- package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +12 -12
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +13 -13
- package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +2 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +67 -19
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +525 -166
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +12 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +757 -321
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +7 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +516 -269
- package/src/impaktapps-ui-builder/builder/services/component.ts +165 -73
- package/src/impaktapps-ui-builder/builder/services/event.ts +74 -13
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +61 -20
- package/src/impaktapps-ui-builder/builder/services/utils.ts +13 -14
- package/src/impaktapps-ui-builder/lib/index.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/downloadFile.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/events.ts +154 -96
- package/src/impaktapps-ui-builder/runtime/services/interface.ts +3 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +211 -49
- package/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.ts +0 -14
|
@@ -1,398 +1,834 @@
|
|
|
1
1
|
import { EventUiSchema } from "../event/uiSchema"
|
|
2
|
-
export const PageMasterUiSchema: any = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
},
|
|
12
|
-
defaultStyle: true,
|
|
13
|
-
},
|
|
14
|
-
elements: [
|
|
15
|
-
{
|
|
16
|
-
type: "Control",
|
|
17
|
-
scope: "#/properties/pageMaster",
|
|
18
|
-
|
|
19
|
-
options: {
|
|
20
|
-
widget: "Box",
|
|
2
|
+
export const PageMasterUiSchema: any = (theme) => {
|
|
3
|
+
const uiSchema = {
|
|
4
|
+
type: "HorizontalLayout",
|
|
5
|
+
heading: "Page Master",
|
|
6
|
+
elements: [
|
|
7
|
+
{
|
|
8
|
+
type: "WrapperLayout",
|
|
9
|
+
config: {
|
|
10
|
+
main: {
|
|
21
11
|
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
heading: "Page Master",
|
|
26
|
-
},
|
|
12
|
+
wrapperStyle: {
|
|
13
|
+
marginLeft: theme.spacing(2),
|
|
14
|
+
backgroundColor: theme.palette.background.default
|
|
27
15
|
},
|
|
28
16
|
},
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
17
|
+
elements: [
|
|
18
|
+
{
|
|
19
|
+
type: "Control",
|
|
20
|
+
scope: "#/properties/name",
|
|
32
21
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
},
|
|
36
|
-
config: {
|
|
37
|
-
layout: 3,
|
|
38
|
-
main: {
|
|
39
|
-
icon: "BackIcon",
|
|
40
|
-
styleDefault: true,
|
|
41
|
-
size: "small",
|
|
42
|
-
onClick: "backHandler",
|
|
43
|
-
tooltipMessage: "Back",
|
|
22
|
+
options: {
|
|
23
|
+
widget: "InputField",
|
|
44
24
|
},
|
|
45
|
-
|
|
46
|
-
|
|
25
|
+
config: {
|
|
26
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
27
|
+
main: {
|
|
28
|
+
label: "Name",
|
|
29
|
+
options: [],
|
|
30
|
+
color: "secondary",
|
|
31
|
+
errorMessage: "Name should be start with 'page_'",
|
|
32
|
+
helperText: 'Name should be start with "page_"',
|
|
33
|
+
required: true,
|
|
34
|
+
},
|
|
47
35
|
},
|
|
48
36
|
},
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
{
|
|
53
|
-
type: "WrapperLayout",
|
|
54
|
-
config: {
|
|
55
|
-
main: {
|
|
56
|
-
label: "Page Template",
|
|
57
|
-
divider: true,
|
|
58
|
-
},
|
|
59
|
-
defaultStyle: true,
|
|
60
|
-
},
|
|
61
|
-
elements: [
|
|
62
|
-
{
|
|
63
|
-
type: "Control",
|
|
64
|
-
scope: "#/properties/name",
|
|
37
|
+
{
|
|
38
|
+
type: "Control",
|
|
39
|
+
scope: "#/properties/template",
|
|
65
40
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
41
|
+
options: {
|
|
42
|
+
widget: "SelectInputField",
|
|
43
|
+
},
|
|
44
|
+
config: {
|
|
45
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
46
|
+
main: {
|
|
47
|
+
label: "Template",
|
|
48
|
+
options: [
|
|
49
|
+
{ const: "template1", title: "template1" },
|
|
50
|
+
{ const: "template2", title: "template2" },
|
|
51
|
+
{ const: "template3", title: "template3" }
|
|
52
|
+
],
|
|
53
|
+
color: "secondary",
|
|
54
|
+
required: true,
|
|
55
|
+
},
|
|
78
56
|
},
|
|
79
57
|
},
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
scope: "#/properties/label",
|
|
58
|
+
{
|
|
59
|
+
type: "Control",
|
|
60
|
+
scope: "#/properties/label",
|
|
84
61
|
|
|
85
|
-
|
|
86
|
-
|
|
62
|
+
options: {
|
|
63
|
+
widget: "InputField",
|
|
64
|
+
},
|
|
65
|
+
config: {
|
|
66
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
67
|
+
main: {
|
|
68
|
+
label: "Label",
|
|
69
|
+
options: [],
|
|
70
|
+
color: "secondary",
|
|
71
|
+
required: true,
|
|
72
|
+
},
|
|
73
|
+
},
|
|
87
74
|
},
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
75
|
+
{
|
|
76
|
+
type: "Control",
|
|
77
|
+
scope: "#/properties/EmptyBox",
|
|
78
|
+
config: {
|
|
79
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 0 },
|
|
80
|
+
},
|
|
81
|
+
options: {
|
|
82
|
+
widget: "EmptyBox",
|
|
95
83
|
},
|
|
96
84
|
},
|
|
97
|
-
|
|
98
|
-
],
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
type: "TabLayout",
|
|
102
|
-
config: {
|
|
103
|
-
main: {
|
|
104
|
-
tabLabels: ["Components", "events"],
|
|
105
|
-
divider: true,
|
|
106
|
-
},
|
|
107
|
-
defaultStyle: true,
|
|
85
|
+
],
|
|
108
86
|
},
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
87
|
+
{
|
|
88
|
+
type: "TabLayout",
|
|
89
|
+
config: {
|
|
90
|
+
main: {
|
|
91
|
+
tabLabels: ["Components", "Events"],
|
|
92
|
+
divider: true,
|
|
93
|
+
},
|
|
94
|
+
defaultStyle: true,
|
|
95
|
+
},
|
|
96
|
+
elements: [
|
|
97
|
+
{
|
|
98
|
+
type: "Control",
|
|
99
|
+
scope: "#/properties/elements",
|
|
100
|
+
options: {
|
|
101
|
+
widget: "Table",
|
|
116
102
|
},
|
|
117
|
-
|
|
118
|
-
|
|
103
|
+
config: {
|
|
104
|
+
main: {
|
|
105
|
+
headerIcons: {
|
|
106
|
+
elements: [
|
|
107
|
+
{
|
|
108
|
+
widget: {
|
|
109
|
+
type: "Control",
|
|
110
|
+
scope: "#/properties/New_Record",
|
|
111
|
+
|
|
112
|
+
options: {
|
|
113
|
+
widget: "IconButton",
|
|
114
|
+
},
|
|
115
|
+
config: {
|
|
116
|
+
main: {
|
|
117
|
+
// color: "info",
|
|
118
|
+
onClick: "onAddClickHandler",
|
|
119
|
+
size: "small",
|
|
120
|
+
icon: "AddIcon",
|
|
121
|
+
iconLabel: "Add New",
|
|
122
|
+
styleDefault: true,
|
|
123
|
+
},
|
|
124
|
+
style: {
|
|
125
|
+
mt: "6px",
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
|
|
131
|
+
{
|
|
132
|
+
widget: {
|
|
133
|
+
type: "Control",
|
|
134
|
+
scope: "#/properties/Paste_Component",
|
|
135
|
+
|
|
136
|
+
options: {
|
|
137
|
+
widget: "IconButton",
|
|
138
|
+
},
|
|
139
|
+
config: {
|
|
140
|
+
main: {
|
|
141
|
+
// color: "info",
|
|
142
|
+
onClick: "copyPasteElement",
|
|
143
|
+
size: "small",
|
|
144
|
+
icon: "PasteIcon",
|
|
145
|
+
iconLabel: "Paste",
|
|
146
|
+
styleDefault: true,
|
|
147
|
+
},
|
|
148
|
+
style: {
|
|
149
|
+
mt: "6px",
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
disableAction: true,
|
|
157
|
+
disableSelection: true,
|
|
158
|
+
enableDrag: true,
|
|
159
|
+
}
|
|
119
160
|
},
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
options: {
|
|
127
|
-
widget: "Box",
|
|
161
|
+
elements: [
|
|
162
|
+
{
|
|
163
|
+
accessorKey: "name",
|
|
164
|
+
|
|
165
|
+
header: "Name",
|
|
128
166
|
},
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
},
|
|
134
|
-
style: {
|
|
135
|
-
fontFamily: "Roboto",
|
|
136
|
-
fontWeight: "500",
|
|
137
|
-
paddingLeft: "-10px",
|
|
138
|
-
fontSize: "20px",
|
|
139
|
-
},
|
|
167
|
+
{
|
|
168
|
+
accessorKey: "type",
|
|
169
|
+
|
|
170
|
+
header: "Type",
|
|
140
171
|
},
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
172
|
+
{
|
|
173
|
+
header: "Edit",
|
|
174
|
+
field: "Reject_Records",
|
|
175
|
+
flex: 1,
|
|
176
|
+
widget: {
|
|
177
|
+
type: "Control",
|
|
178
|
+
scope: "#/properties/RejectButton",
|
|
179
|
+
options: {
|
|
180
|
+
widget: "IconButton",
|
|
181
|
+
},
|
|
182
|
+
config: {
|
|
183
|
+
main: {
|
|
184
|
+
icon: "EditIcon",
|
|
185
|
+
color: "primary",
|
|
186
|
+
onClick: "Edit_Components",
|
|
187
|
+
tooltipMessage: "Edit This Record",
|
|
188
|
+
},
|
|
189
|
+
style: {
|
|
190
|
+
color: theme.palette.primary.main,
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
},
|
|
147
194
|
},
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
195
|
+
{
|
|
196
|
+
header: "Delete",
|
|
197
|
+
field: "Reject_Records",
|
|
198
|
+
flex: 1,
|
|
199
|
+
widget: {
|
|
200
|
+
type: "Control",
|
|
201
|
+
scope: "#/properties/RejectButton",
|
|
202
|
+
options: {
|
|
203
|
+
widget: "IconButton",
|
|
204
|
+
},
|
|
205
|
+
config: {
|
|
206
|
+
main: {
|
|
207
|
+
icon: "RejectIcon",
|
|
208
|
+
color: "error",
|
|
209
|
+
onClick: "deletePopUpComponent",
|
|
210
|
+
tooltipMessage: "Reject This Record",
|
|
211
|
+
},
|
|
212
|
+
},
|
|
156
213
|
},
|
|
157
|
-
|
|
158
|
-
|
|
214
|
+
},
|
|
215
|
+
|
|
216
|
+
{
|
|
217
|
+
header: "Copy",
|
|
218
|
+
field: "Copy_Component",
|
|
219
|
+
flex: 1,
|
|
220
|
+
widget: {
|
|
221
|
+
type: "Control",
|
|
222
|
+
scope: "#/properties/Copy_Component",
|
|
223
|
+
options: {
|
|
224
|
+
widget: "IconButton",
|
|
225
|
+
},
|
|
226
|
+
config: {
|
|
227
|
+
main: {
|
|
228
|
+
icon: "FileCopyIcon",
|
|
229
|
+
// color: "error",
|
|
230
|
+
onClick: "copyPasteElement",
|
|
231
|
+
styleDefault: true,
|
|
232
|
+
},
|
|
233
|
+
},
|
|
159
234
|
},
|
|
160
235
|
},
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
type: "Control",
|
|
164
|
-
scope: "#/properties/elements",
|
|
165
|
-
options: {
|
|
166
|
-
widget: "Table",
|
|
167
|
-
},
|
|
168
|
-
config: {
|
|
169
|
-
main: {
|
|
170
|
-
disableAction: true,
|
|
171
|
-
disableSelection: true,
|
|
172
|
-
enableDrag: true,
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
elements: [
|
|
176
|
-
{
|
|
177
|
-
accessorKey: "name",
|
|
178
236
|
|
|
179
|
-
|
|
237
|
+
|
|
238
|
+
]
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
type: "Control",
|
|
242
|
+
scope: "#/properties/events",
|
|
243
|
+
options: {
|
|
244
|
+
widget: "Table",
|
|
180
245
|
},
|
|
181
|
-
{
|
|
182
|
-
|
|
246
|
+
config: {
|
|
247
|
+
main: {
|
|
248
|
+
headerIcons: {
|
|
249
|
+
elements: [
|
|
250
|
+
{
|
|
251
|
+
widget: {
|
|
252
|
+
type: "Control",
|
|
253
|
+
scope: "#/properties/New_Record",
|
|
183
254
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
255
|
+
options: {
|
|
256
|
+
widget: "IconButton",
|
|
257
|
+
},
|
|
258
|
+
config: {
|
|
259
|
+
main: {
|
|
260
|
+
// color: "info",
|
|
261
|
+
onClick: "eventAddHandler",
|
|
262
|
+
size: "small",
|
|
263
|
+
icon: "AddIcon",
|
|
264
|
+
iconLabel: "Add New",
|
|
265
|
+
styleDefault: true,
|
|
266
|
+
},
|
|
267
|
+
style: {
|
|
268
|
+
mt: "6px",
|
|
269
|
+
},
|
|
270
|
+
},
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
|
|
274
|
+
{
|
|
275
|
+
widget: {
|
|
276
|
+
type: "Control",
|
|
277
|
+
scope: "#/properties/Paste_Event",
|
|
278
|
+
|
|
279
|
+
options: {
|
|
280
|
+
widget: "IconButton",
|
|
281
|
+
},
|
|
282
|
+
config: {
|
|
283
|
+
main: {
|
|
284
|
+
// color: "info",
|
|
285
|
+
onClick: "copyPasteElement",
|
|
286
|
+
size: "small",
|
|
287
|
+
icon: "PasteIcon",
|
|
288
|
+
iconLabel: "Paste",
|
|
289
|
+
styleDefault: true,
|
|
290
|
+
},
|
|
291
|
+
style: {
|
|
292
|
+
mt: "6px",
|
|
293
|
+
},
|
|
294
|
+
},
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
]
|
|
195
298
|
},
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
299
|
+
|
|
300
|
+
disableAction: true,
|
|
301
|
+
disableSelection: true,
|
|
302
|
+
enableDrag: true,
|
|
303
|
+
|
|
304
|
+
},
|
|
305
|
+
},
|
|
306
|
+
elements: [
|
|
307
|
+
|
|
308
|
+
{
|
|
309
|
+
accessorKey: "eventType",
|
|
310
|
+
header: "Event Type",
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
accessorKey: "Handler",
|
|
314
|
+
header: "Handler",
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
accessorKey: "Edit_Approve_Records",
|
|
318
|
+
header: "Edit Widget",
|
|
319
|
+
widget: {
|
|
320
|
+
type: "Control",
|
|
321
|
+
scope: "#/properties/Edit_Records",
|
|
322
|
+
options: {
|
|
323
|
+
widget: "IconButton",
|
|
324
|
+
},
|
|
325
|
+
config: {
|
|
326
|
+
main: {
|
|
327
|
+
color: "info",
|
|
328
|
+
size: "small",
|
|
329
|
+
icon: "EditIcon",
|
|
330
|
+
tooltipMessage: "Edit This Record",
|
|
331
|
+
onClick: "editEvent",
|
|
332
|
+
},
|
|
333
|
+
style: {
|
|
334
|
+
color: theme.palette.primary.main,
|
|
335
|
+
},
|
|
202
336
|
},
|
|
203
337
|
},
|
|
204
338
|
},
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
339
|
+
{
|
|
340
|
+
accessorKey: "Reject_Records",
|
|
341
|
+
header: "Delete",
|
|
342
|
+
widget: {
|
|
343
|
+
type: "Control",
|
|
344
|
+
scope: "#/properties/RejectButton",
|
|
345
|
+
options: {
|
|
346
|
+
widget: "IconButton",
|
|
347
|
+
},
|
|
348
|
+
config: {
|
|
349
|
+
main: {
|
|
350
|
+
icon: "RejectIcon",
|
|
351
|
+
color: "error",
|
|
352
|
+
tooltipMessage: "Reject This Record",
|
|
353
|
+
onClick: "deletePopUpEvent",
|
|
354
|
+
},
|
|
355
|
+
},
|
|
215
356
|
},
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
357
|
+
},
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
{
|
|
361
|
+
header: "Copy",
|
|
362
|
+
field: "Copy_Event",
|
|
363
|
+
flex: 1,
|
|
364
|
+
widget: {
|
|
365
|
+
type: "Control",
|
|
366
|
+
scope: "#/properties/Copy_Event",
|
|
367
|
+
options: {
|
|
368
|
+
widget: "IconButton",
|
|
369
|
+
},
|
|
370
|
+
config: {
|
|
371
|
+
main: {
|
|
372
|
+
icon: "FileCopyIcon",
|
|
373
|
+
// color: "error",
|
|
374
|
+
onClick: "copyPasteElement",
|
|
375
|
+
styleDefault: true,
|
|
376
|
+
},
|
|
222
377
|
},
|
|
223
378
|
},
|
|
224
379
|
},
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
380
|
+
]
|
|
381
|
+
// }]
|
|
382
|
+
},
|
|
383
|
+
|
|
384
|
+
],
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
type: "HorizontalLayout",
|
|
388
|
+
config: {
|
|
389
|
+
layout:{xs:12,sm: 9}
|
|
390
|
+
},
|
|
391
|
+
elements: [
|
|
392
|
+
{
|
|
393
|
+
type: "Control",
|
|
394
|
+
scope: "#/properties/RemoveItemButton",
|
|
395
|
+
options: {
|
|
396
|
+
widget: "IconButton",
|
|
397
|
+
},
|
|
398
|
+
config: {
|
|
399
|
+
layout: { xs: 1, sm: 1 },
|
|
400
|
+
main: {
|
|
401
|
+
onClick: "RemoveItemButton",
|
|
402
|
+
size: "large",
|
|
403
|
+
icon: "RejectIcon",
|
|
404
|
+
styleDefault: true,
|
|
405
|
+
},
|
|
406
|
+
style:{
|
|
407
|
+
marginLeft: "-5px"
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
},
|
|
411
|
+
|
|
412
|
+
{
|
|
413
|
+
type: "Control",
|
|
414
|
+
scope: "#/properties/copiedElementDetails",
|
|
415
|
+
|
|
416
|
+
options: {
|
|
417
|
+
widget: "Box",
|
|
234
418
|
},
|
|
235
|
-
|
|
236
|
-
|
|
419
|
+
config: {
|
|
420
|
+
layout: { xs: 6, sm: 6 },
|
|
421
|
+
main: {
|
|
422
|
+
heading: "No element copied",
|
|
423
|
+
},
|
|
424
|
+
style: {
|
|
425
|
+
color: "#535557",
|
|
426
|
+
marginLeft: "-30px",
|
|
427
|
+
fontSize: "12px",
|
|
428
|
+
marginTop: "4px"
|
|
429
|
+
},
|
|
430
|
+
},
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
type: "Control",
|
|
434
|
+
scope: "#/properties/EmptyBox",
|
|
435
|
+
options: {
|
|
436
|
+
widget: "EmptyBox",
|
|
437
|
+
},
|
|
438
|
+
config: {
|
|
439
|
+
layout: { xs: 1, sm: 5 },
|
|
237
440
|
},
|
|
238
441
|
},
|
|
239
|
-
|
|
442
|
+
]
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
type: "Control",
|
|
446
|
+
scope: "#/properties/btn",
|
|
447
|
+
options: {
|
|
448
|
+
widget: "Button",
|
|
449
|
+
},
|
|
450
|
+
|
|
451
|
+
config: {
|
|
452
|
+
layout: { xs: 4, sm: 2 },
|
|
453
|
+
main: {
|
|
454
|
+
name: "Save",
|
|
455
|
+
startIcon: "ApproveIcon",
|
|
456
|
+
variant: "contained",
|
|
457
|
+
// color: "info",
|
|
458
|
+
type: "text",
|
|
459
|
+
onClick: "saveHandler",
|
|
460
|
+
size: "medium",
|
|
461
|
+
},
|
|
462
|
+
},
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
type: "Control",
|
|
466
|
+
scope: "#/properties/popUpPageMasterComponent",
|
|
467
|
+
options: {
|
|
468
|
+
widget: "PopUp"
|
|
469
|
+
},
|
|
470
|
+
config: {
|
|
471
|
+
layout: {
|
|
472
|
+
xs: 12,
|
|
473
|
+
sm: 12,
|
|
474
|
+
md: 12,
|
|
475
|
+
lg: 12,
|
|
476
|
+
},
|
|
477
|
+
main: {
|
|
478
|
+
title: "WARNING!"
|
|
479
|
+
},
|
|
480
|
+
style: {
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
elements:
|
|
484
|
+
[
|
|
240
485
|
{
|
|
241
486
|
type: "Control",
|
|
242
|
-
scope: "#/properties/
|
|
243
|
-
|
|
487
|
+
scope: "#/properties/popText",
|
|
244
488
|
options: {
|
|
245
489
|
widget: "Box",
|
|
246
490
|
},
|
|
247
491
|
config: {
|
|
248
|
-
layout:
|
|
492
|
+
layout: 12,
|
|
249
493
|
main: {
|
|
250
|
-
heading: "
|
|
494
|
+
heading: "Are you sure you want to delete ?",
|
|
251
495
|
},
|
|
252
|
-
style:
|
|
253
|
-
|
|
254
|
-
fontWeight: "500",
|
|
255
|
-
paddingLeft: "-10px",
|
|
496
|
+
style:{
|
|
497
|
+
marginTop: "-20px",
|
|
256
498
|
fontSize: "20px",
|
|
257
|
-
|
|
499
|
+
"&.MuiTypography-root": {
|
|
500
|
+
padding: "10px 30px 20px 30px",
|
|
501
|
+
textAlign: "center",
|
|
502
|
+
lineHeight: "1"
|
|
503
|
+
}
|
|
504
|
+
}
|
|
258
505
|
},
|
|
259
506
|
},
|
|
260
507
|
{
|
|
261
|
-
type: "
|
|
262
|
-
scope: "#/properties/AddButton",
|
|
263
|
-
options: {
|
|
264
|
-
widget: "IconButton",
|
|
265
|
-
},
|
|
508
|
+
type: "WrapperLayout",
|
|
266
509
|
config: {
|
|
267
|
-
layout:
|
|
268
|
-
main: {
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
510
|
+
layout: 12,
|
|
511
|
+
main: {},
|
|
512
|
+
|
|
513
|
+
},
|
|
514
|
+
elements: [
|
|
515
|
+
{
|
|
516
|
+
type: "Control",
|
|
517
|
+
scope: "#/properties/CancelDeleteCompButton",
|
|
518
|
+
options: {
|
|
519
|
+
widget: "Button",
|
|
520
|
+
},
|
|
521
|
+
config: {
|
|
522
|
+
layout: 6,
|
|
523
|
+
main: {
|
|
524
|
+
name: "No",
|
|
525
|
+
startIcon: "ApproveIcon",
|
|
526
|
+
variant: "contained",
|
|
527
|
+
color: "info",
|
|
528
|
+
type: "text",
|
|
529
|
+
onClick: "deletePopUpComponent",
|
|
530
|
+
size: "large",
|
|
531
|
+
},
|
|
532
|
+
style: {
|
|
533
|
+
position: "absolute",
|
|
534
|
+
bottom: 0,
|
|
535
|
+
left: 0,
|
|
536
|
+
width: "50%",
|
|
537
|
+
borderRadius: 0,
|
|
538
|
+
boxShadow: 0,
|
|
539
|
+
backgroundColor: "transparent",
|
|
540
|
+
color: theme.palette.primary.main,
|
|
541
|
+
borderTop: `0.5px solid ${theme.palette.grey[600]}`,
|
|
542
|
+
borderRight: `0.5px solid ${theme.palette.grey[600]}`,
|
|
543
|
+
"&:hover": {
|
|
544
|
+
color: theme.palette.primary.contrastText,
|
|
545
|
+
backgroundColor: theme.palette.primary.main,
|
|
546
|
+
boxShadow: "none"
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
},
|
|
274
550
|
},
|
|
275
|
-
|
|
276
|
-
|
|
551
|
+
{
|
|
552
|
+
type: "Control",
|
|
553
|
+
scope: "#/properties/ConfirmDeleteCompButton",
|
|
554
|
+
options: {
|
|
555
|
+
widget: "Button",
|
|
556
|
+
},
|
|
557
|
+
config: {
|
|
558
|
+
layout: 6,
|
|
559
|
+
main: {
|
|
560
|
+
name: "Yes",
|
|
561
|
+
startIcon: "ApproveIcon",
|
|
562
|
+
variant: "contained",
|
|
563
|
+
color: "error",
|
|
564
|
+
type: "text",
|
|
565
|
+
onClick: "Delete_Components",
|
|
566
|
+
size: "large",
|
|
567
|
+
},
|
|
568
|
+
style: {
|
|
569
|
+
position: "absolute",
|
|
570
|
+
bottom: 0,
|
|
571
|
+
right: 0,
|
|
572
|
+
width: "50%",
|
|
573
|
+
borderRadius: 0,
|
|
574
|
+
boxShadow: 0,
|
|
575
|
+
backgroundColor: "transparent",
|
|
576
|
+
color: theme.palette.error.main,
|
|
577
|
+
borderTop: `0.5px solid ${theme.palette.grey[600]}`,
|
|
578
|
+
"&:hover": {
|
|
579
|
+
color: theme.palette.error.contrastText,
|
|
580
|
+
backgroundColor: theme.palette.error.main,
|
|
581
|
+
boxShadow: "none"
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
},
|
|
277
585
|
},
|
|
278
|
-
|
|
586
|
+
]
|
|
279
587
|
},
|
|
280
|
-
|
|
588
|
+
]
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
type: "Control",
|
|
592
|
+
scope: "#/properties/popUpPageMasterEvent",
|
|
593
|
+
options: {
|
|
594
|
+
widget: "PopUp"
|
|
595
|
+
},
|
|
596
|
+
config: {
|
|
597
|
+
layout: {
|
|
598
|
+
xs: 12,
|
|
599
|
+
sm: 12,
|
|
600
|
+
md: 12,
|
|
601
|
+
lg: 12,
|
|
602
|
+
},
|
|
603
|
+
main: {
|
|
604
|
+
title: "WARNING!"
|
|
605
|
+
},
|
|
606
|
+
style: {
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
elements:
|
|
610
|
+
[
|
|
281
611
|
{
|
|
282
612
|
type: "Control",
|
|
283
|
-
scope: "#/properties/
|
|
613
|
+
scope: "#/properties/popText1",
|
|
284
614
|
options: {
|
|
285
|
-
widget: "
|
|
615
|
+
widget: "Box",
|
|
286
616
|
},
|
|
287
617
|
config: {
|
|
618
|
+
layout: 12,
|
|
288
619
|
main: {
|
|
289
|
-
|
|
290
|
-
disableSelection: true,
|
|
291
|
-
enableDrag: true,
|
|
292
|
-
|
|
620
|
+
heading: "Are you sure you want to delete ?",
|
|
293
621
|
},
|
|
622
|
+
style:{
|
|
623
|
+
marginTop: "-20px",
|
|
624
|
+
fontSize: "20px",
|
|
625
|
+
"&.MuiTypography-root": {
|
|
626
|
+
padding: "10px 30px 20px 30px",
|
|
627
|
+
textAlign: "center",
|
|
628
|
+
lineHeight: "1"
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
},
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
type: "WrapperLayout",
|
|
635
|
+
config: {
|
|
636
|
+
layout: 12,
|
|
637
|
+
main: {},
|
|
638
|
+
|
|
294
639
|
},
|
|
295
640
|
elements: [
|
|
296
|
-
|
|
297
|
-
{
|
|
298
|
-
accessorKey: "eventType",
|
|
299
|
-
header: "Event Type",
|
|
300
|
-
},
|
|
301
641
|
{
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
size: "small",
|
|
318
|
-
icon: "EditIcon",
|
|
319
|
-
tooltipMessage: "Edit This Record",
|
|
320
|
-
onClick: "editEvent",
|
|
321
|
-
},
|
|
322
|
-
style: {
|
|
323
|
-
color: "#3949ab",
|
|
324
|
-
},
|
|
642
|
+
type: "Control",
|
|
643
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
644
|
+
options: {
|
|
645
|
+
widget: "Button",
|
|
646
|
+
},
|
|
647
|
+
config: {
|
|
648
|
+
layout: 6,
|
|
649
|
+
main: {
|
|
650
|
+
name: "No",
|
|
651
|
+
startIcon: "ApproveIcon",
|
|
652
|
+
variant: "contained",
|
|
653
|
+
color: "info",
|
|
654
|
+
type: "text",
|
|
655
|
+
onClick: "deletePopUpEvent",
|
|
656
|
+
size: "large",
|
|
325
657
|
},
|
|
658
|
+
style: {
|
|
659
|
+
position: "absolute",
|
|
660
|
+
bottom: 0,
|
|
661
|
+
left: 0,
|
|
662
|
+
width: "50%",
|
|
663
|
+
borderRadius: 0,
|
|
664
|
+
boxShadow: 0,
|
|
665
|
+
backgroundColor: "transparent",
|
|
666
|
+
color: theme.palette.primary.main,
|
|
667
|
+
borderTop: `0.5px solid ${theme.palette.grey[600]}`,
|
|
668
|
+
borderRight: `0.5px solid ${theme.palette.grey[600]}`,
|
|
669
|
+
"&:hover": {
|
|
670
|
+
color: theme.palette.primary.contrastText,
|
|
671
|
+
backgroundColor: theme.palette.primary.main,
|
|
672
|
+
boxShadow: "none"
|
|
673
|
+
}
|
|
674
|
+
}
|
|
326
675
|
},
|
|
327
676
|
},
|
|
328
677
|
{
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
678
|
+
type: "Control",
|
|
679
|
+
scope: "#/properties/ConfirmDeleteEventButton",
|
|
680
|
+
options: {
|
|
681
|
+
widget: "Button",
|
|
682
|
+
},
|
|
683
|
+
config: {
|
|
684
|
+
layout: 6,
|
|
685
|
+
main: {
|
|
686
|
+
name: "Yes",
|
|
687
|
+
startIcon: "ApproveIcon",
|
|
688
|
+
variant: "contained",
|
|
689
|
+
color: "error",
|
|
690
|
+
type: "text",
|
|
691
|
+
onClick: "deleteEvent",
|
|
692
|
+
size: "large",
|
|
344
693
|
},
|
|
694
|
+
style: {
|
|
695
|
+
position: "absolute",
|
|
696
|
+
bottom: 0,
|
|
697
|
+
right: 0,
|
|
698
|
+
width: "50%",
|
|
699
|
+
borderRadius: 0,
|
|
700
|
+
boxShadow: 0,
|
|
701
|
+
backgroundColor: "transparent",
|
|
702
|
+
color: theme.palette.error.main,
|
|
703
|
+
borderTop: `0.5px solid ${theme.palette.grey[600]}`,
|
|
704
|
+
"&:hover": {
|
|
705
|
+
color: theme.palette.error.contrastText,
|
|
706
|
+
backgroundColor: theme.palette.error.main,
|
|
707
|
+
boxShadow: "none"
|
|
708
|
+
}
|
|
709
|
+
}
|
|
345
710
|
},
|
|
346
711
|
},
|
|
347
712
|
]
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
],
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
type: "Control",
|
|
355
|
-
scope: "#/properties/btn",
|
|
356
|
-
options: {
|
|
357
|
-
widget: "EmptyBox",
|
|
358
|
-
},
|
|
359
|
-
config: {
|
|
360
|
-
layout: { xs: 0, sm: 0, md: 8, lg: 7 },
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
type: "Control",
|
|
365
|
-
scope: "#/properties/btn",
|
|
366
|
-
options: {
|
|
367
|
-
widget: "Button",
|
|
713
|
+
},
|
|
714
|
+
]
|
|
368
715
|
},
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
startIcon: "ApproveIcon",
|
|
375
|
-
variant: "contained",
|
|
376
|
-
color: "info",
|
|
377
|
-
type: "text",
|
|
378
|
-
onClick: "saveHandler",
|
|
379
|
-
size: "small",
|
|
380
|
-
},
|
|
381
|
-
style: {
|
|
382
|
-
marginBottom: "8px",
|
|
383
|
-
width:{xs:"100%",sm:"100%",md:"25%",lg:"20%"},
|
|
384
|
-
float: "right",
|
|
716
|
+
{
|
|
717
|
+
type: "Control",
|
|
718
|
+
scope: "#/properties/notify",
|
|
719
|
+
options: {
|
|
720
|
+
widget: "Notify",
|
|
385
721
|
},
|
|
722
|
+
layout: 6,
|
|
386
723
|
},
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
724
|
+
{
|
|
725
|
+
type: "HorizontalLayout",
|
|
726
|
+
config: {
|
|
727
|
+
main: {
|
|
728
|
+
direction: 'row'
|
|
729
|
+
},
|
|
730
|
+
style: {
|
|
731
|
+
flexDirection: "row",
|
|
732
|
+
position: "absolute",
|
|
733
|
+
bottom: 0,
|
|
734
|
+
marginBottom: '-8px',
|
|
735
|
+
height: 'fit-content',
|
|
736
|
+
overflow: 'hidden',
|
|
737
|
+
zIndex: 1000,
|
|
738
|
+
width: 'inherit'
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
elements: [
|
|
742
|
+
{
|
|
743
|
+
|
|
744
|
+
type: "Control",
|
|
745
|
+
scope: "#/properties/FooterText",
|
|
746
|
+
options: {
|
|
747
|
+
widget: "Box",
|
|
748
|
+
},
|
|
749
|
+
config: {
|
|
750
|
+
main: {
|
|
751
|
+
heading: "Copywriter@ACT21.IO"
|
|
752
|
+
},
|
|
753
|
+
style: {
|
|
754
|
+
color: theme?.palette?.text.disabled || "#AFAFAF",
|
|
755
|
+
fontSize: '12px',
|
|
756
|
+
textAlign: 'center',
|
|
757
|
+
lineHeight: 2,
|
|
758
|
+
width: 'fit-content',
|
|
759
|
+
left: '50%',
|
|
760
|
+
position: 'relative',
|
|
761
|
+
margin: 0,
|
|
762
|
+
flexGrow: 1,
|
|
763
|
+
height: 0,
|
|
764
|
+
transform: "translate(-50%,0%)"
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
type: "Control",
|
|
770
|
+
scope: "#/properties/backIcon",
|
|
771
|
+
options: {
|
|
772
|
+
widget: "Box",
|
|
773
|
+
},
|
|
774
|
+
config: {
|
|
775
|
+
main: {
|
|
776
|
+
iconName: 'PrevIcon',
|
|
777
|
+
onClick: "backHandler",
|
|
778
|
+
width: 'fit-content',
|
|
779
|
+
},
|
|
780
|
+
style: {
|
|
781
|
+
fill: theme.palette.primary.main,
|
|
782
|
+
width: 20,
|
|
783
|
+
height: 0,
|
|
784
|
+
margin: 0,
|
|
785
|
+
top: 0,
|
|
786
|
+
right: {xs: '12px', sm: '84px'},
|
|
787
|
+
position: 'absolute',
|
|
788
|
+
fontSize: '12px',
|
|
789
|
+
cursor: 'pointer',
|
|
790
|
+
':hover': {
|
|
791
|
+
fill: theme.palette.primary.dark,
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
type: "Control",
|
|
798
|
+
scope: "#/properties/text",
|
|
799
|
+
|
|
800
|
+
options: {
|
|
801
|
+
widget: "Box",
|
|
802
|
+
},
|
|
803
|
+
config: {
|
|
804
|
+
main: {
|
|
805
|
+
heading: "Previous Page",
|
|
806
|
+
onClick: "backHandler"
|
|
807
|
+
},
|
|
808
|
+
style: {
|
|
809
|
+
display: {xs: 'none', sm: "flex"},
|
|
810
|
+
textAlign: 'left',
|
|
811
|
+
lineHeight: 1,
|
|
812
|
+
height: 0,
|
|
813
|
+
width: 'fit-content',
|
|
814
|
+
color: theme.palette.primary.main,
|
|
815
|
+
fontSize: "12px",
|
|
816
|
+
cursor: 'pointer',
|
|
817
|
+
marginLeft: '2px',
|
|
818
|
+
marginRight: 0,
|
|
819
|
+
top: 3,
|
|
820
|
+
right: '12px',
|
|
821
|
+
position: 'absolute',
|
|
822
|
+
':hover': {
|
|
823
|
+
color: theme.palette.primary.dark,
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
},
|
|
827
|
+
},
|
|
828
|
+
]
|
|
829
|
+
}
|
|
830
|
+
]
|
|
831
|
+
}
|
|
832
|
+
return uiSchema
|
|
397
833
|
}
|
|
398
834
|
|