impaktapps-ui-builder 0.0.595 → 0.0.751
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 +2200 -1675
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +14 -14
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildCard.d.ts +1 -1
- 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/buildUiSchema.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +23 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +0 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +170 -82
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +55 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +52 -23
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +10 -301
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/progressBar.d.ts +6 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +50 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/{lazyLoadingTable.d.ts → thoughtOfTheDay.d.ts} +6 -4
- 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 +1 -1
- package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.d.ts +3 -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 +8 -2
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +5 -0
- package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +5 -0
- 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/package.json +5 -1
- package/src/impaktapps-ui-builder/builder/build/buildCard.ts +11 -7
- package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +21 -13
- package/src/impaktapps-ui-builder/builder/build/buildInputSlider.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +18 -13
- package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +10 -2
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +7 -16
- 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 -1
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +19 -4
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +23 -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/buildUiSchema.ts +27 -12
- package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +16 -19
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +10 -10
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +111 -56
- package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +1 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +188 -90
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +11 -11
- package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +44 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +13 -29
- package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +10 -367
- 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 +3 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/runnerBoyProgressBar.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +45 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -1
- 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 +3 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +3 -3
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +37 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +283 -182
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +4 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +344 -130
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +4 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +194 -80
- package/src/impaktapps-ui-builder/builder/services/component.ts +105 -26
- package/src/impaktapps-ui-builder/builder/services/event.ts +50 -9
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +32 -14
- package/src/impaktapps-ui-builder/builder/services/utils.ts +13 -13
- package/src/impaktapps-ui-builder/lib/index.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/events.ts +26 -23
- package/src/impaktapps-ui-builder/runtime/services/service.ts +52 -52
- package/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.ts +0 -15
|
@@ -41,6 +41,7 @@ export const ComponentSchema: any = {
|
|
|
41
41
|
{ title: "Upload File", const: "UploadFile" },
|
|
42
42
|
{ title: "TreeMap", const: "TreeMap" },
|
|
43
43
|
{ title: "ColumnGroup", const: "ColumnGroup" },
|
|
44
|
+
{ title: "Thought of the Day", const: "Thought" },
|
|
44
45
|
]
|
|
45
46
|
},
|
|
46
47
|
columnFormat: {
|
|
@@ -69,7 +70,7 @@ export const ComponentSchema: any = {
|
|
|
69
70
|
type: "array",
|
|
70
71
|
items: {
|
|
71
72
|
type: "object",
|
|
72
|
-
properties: {
|
|
73
|
+
properties: {
|
|
73
74
|
key: {
|
|
74
75
|
type: "string",
|
|
75
76
|
oneOf: [
|
|
@@ -190,6 +191,36 @@ export const ComponentSchema: any = {
|
|
|
190
191
|
},
|
|
191
192
|
},
|
|
192
193
|
},
|
|
194
|
+
enableColumnFilter:{
|
|
195
|
+
type: "array",
|
|
196
|
+
items: {
|
|
197
|
+
type: "object",
|
|
198
|
+
properties: {
|
|
199
|
+
keyName: {
|
|
200
|
+
type: "string",
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
},
|
|
204
|
+
},
|
|
205
|
+
filteringOptions:{
|
|
206
|
+
type: "array",
|
|
207
|
+
items:{
|
|
208
|
+
oneOf: [
|
|
209
|
+
{ const: 'fuzzy', title: 'Fuzzy' },
|
|
210
|
+
{ const: 'contains', title: 'Contain' },
|
|
211
|
+
{ const: 'startsWith', title: 'Starts with' },
|
|
212
|
+
{ const: 'endsWith', title: 'Ends with' },
|
|
213
|
+
{ const: 'equals', title: 'Equals' },
|
|
214
|
+
{ const: 'notEquals', title: 'Not Equals' },
|
|
215
|
+
{ const: 'between', title: 'Between' },
|
|
216
|
+
{ const: 'betweenInclusive', title: 'Between inclusive' },
|
|
217
|
+
{ const: 'greaterThan', title: 'Greater than' },
|
|
218
|
+
{ const: 'greaterThanOrEqualTo', title: 'Greater than or equal to' },
|
|
219
|
+
{ const: 'lessThan', title: 'Less than' },
|
|
220
|
+
{ const: 'lessThanOrEqualTo', title: 'Less than or equal to' },
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
},
|
|
193
224
|
legendLabels: {
|
|
194
225
|
type: "array",
|
|
195
226
|
items: {
|
|
@@ -273,6 +304,7 @@ export const ComponentSchema: any = {
|
|
|
273
304
|
{ title: "Line Graph", const: "LineGraph" },
|
|
274
305
|
{ title: "Pie Graph", const: "PieGraph" },
|
|
275
306
|
{ title: "Horizontal Bar Graph", const: "HorizontalBarGraph" },
|
|
307
|
+
{ title: "Stack Horizontal Bar Graph", const: "HorizontalStackBarGraph" }
|
|
276
308
|
]
|
|
277
309
|
},
|
|
278
310
|
iconName: {
|
|
@@ -310,7 +342,10 @@ export const ComponentSchema: any = {
|
|
|
310
342
|
name: {
|
|
311
343
|
type: "string",
|
|
312
344
|
},
|
|
313
|
-
label: { type: 'string' }
|
|
345
|
+
label: { type: 'string' },
|
|
346
|
+
RemoveItemButton:{
|
|
347
|
+
disabled: true,
|
|
348
|
+
},
|
|
314
349
|
},
|
|
315
350
|
|
|
316
351
|
required: ["name",]
|
|
@@ -45,7 +45,7 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
45
45
|
widget: "SelectInputField",
|
|
46
46
|
},
|
|
47
47
|
config: {
|
|
48
|
-
layout: { xs:
|
|
48
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
49
49
|
main: {
|
|
50
50
|
label: "Type",
|
|
51
51
|
},
|
|
@@ -59,7 +59,7 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
59
59
|
widget: "InputField",
|
|
60
60
|
},
|
|
61
61
|
config: {
|
|
62
|
-
layout: { xs:
|
|
62
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
63
63
|
main: {
|
|
64
64
|
label: "Name",
|
|
65
65
|
options: [],
|
|
@@ -76,7 +76,7 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
76
76
|
widget: "InputField",
|
|
77
77
|
},
|
|
78
78
|
config: {
|
|
79
|
-
layout: { xs:
|
|
79
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
80
80
|
main: {
|
|
81
81
|
label: "Label",
|
|
82
82
|
options: [],
|
|
@@ -92,7 +92,7 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
92
92
|
widget: "SelectInputField",
|
|
93
93
|
},
|
|
94
94
|
config: {
|
|
95
|
-
layout: { xs:
|
|
95
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
96
96
|
main: {
|
|
97
97
|
label: "Column Format",
|
|
98
98
|
|
|
@@ -103,7 +103,7 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
103
103
|
type: "Control",
|
|
104
104
|
scope: "#/properties/proc",
|
|
105
105
|
config: {
|
|
106
|
-
layout: { xs: 0, sm:
|
|
106
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 },
|
|
107
107
|
},
|
|
108
108
|
options: {
|
|
109
109
|
widget: "EmptyBox",
|
|
@@ -113,7 +113,7 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
113
113
|
type: "Control",
|
|
114
114
|
scope: "#/properties/proc",
|
|
115
115
|
config: {
|
|
116
|
-
layout: { xs: 0, sm:
|
|
116
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 },
|
|
117
117
|
},
|
|
118
118
|
options: {
|
|
119
119
|
widget: "EmptyBox",
|
|
@@ -134,7 +134,7 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
134
134
|
widget: "SelectInputField",
|
|
135
135
|
},
|
|
136
136
|
config: {
|
|
137
|
-
layout: { xs:
|
|
137
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
138
138
|
main: {
|
|
139
139
|
label: "Screen Size",
|
|
140
140
|
|
|
@@ -149,7 +149,7 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
149
149
|
widget: "InputField",
|
|
150
150
|
},
|
|
151
151
|
config: {
|
|
152
|
-
layout: { xs:
|
|
152
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
153
153
|
main: {
|
|
154
154
|
label: "Value",
|
|
155
155
|
type:"number",
|
|
@@ -164,7 +164,7 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
164
164
|
type: "Control",
|
|
165
165
|
scope: "#/properties/proc",
|
|
166
166
|
config: {
|
|
167
|
-
layout: { xs: 0, sm:
|
|
167
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 },
|
|
168
168
|
},
|
|
169
169
|
options: {
|
|
170
170
|
widget: "EmptyBox",
|
|
@@ -178,6 +178,106 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
178
178
|
},
|
|
179
179
|
],
|
|
180
180
|
},
|
|
181
|
+
{
|
|
182
|
+
type: "HorizontalLayout",
|
|
183
|
+
config: {
|
|
184
|
+
layout:{xs:12,sm: 6}
|
|
185
|
+
},
|
|
186
|
+
elements: [
|
|
187
|
+
{
|
|
188
|
+
type: "Control",
|
|
189
|
+
scope: "#/properties/RemoveItemButton",
|
|
190
|
+
options: {
|
|
191
|
+
widget: "IconButton",
|
|
192
|
+
},
|
|
193
|
+
config: {
|
|
194
|
+
layout: { xs: 1, sm: 1 },
|
|
195
|
+
main: {
|
|
196
|
+
onClick: "RemoveItemButton",
|
|
197
|
+
size: "large",
|
|
198
|
+
icon: "RejectIcon",
|
|
199
|
+
styleDefault: true,
|
|
200
|
+
},
|
|
201
|
+
style:{
|
|
202
|
+
marginLeft: "-10px"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
|
|
207
|
+
{
|
|
208
|
+
type: "Control",
|
|
209
|
+
scope: "#/properties/copiedElementDetails",
|
|
210
|
+
|
|
211
|
+
options: {
|
|
212
|
+
widget: "Box",
|
|
213
|
+
},
|
|
214
|
+
config: {
|
|
215
|
+
layout: { xs: 6, sm: 6 },
|
|
216
|
+
main: {
|
|
217
|
+
heading: "No element copied",
|
|
218
|
+
},
|
|
219
|
+
style: {
|
|
220
|
+
color: "#535557",
|
|
221
|
+
marginLeft: "-10px",
|
|
222
|
+
fontSize: "12px",
|
|
223
|
+
marginTop: "4px"
|
|
224
|
+
},
|
|
225
|
+
},
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
type: "Control",
|
|
229
|
+
scope: "#/properties/EmptyBox",
|
|
230
|
+
options: {
|
|
231
|
+
widget: "EmptyBox",
|
|
232
|
+
},
|
|
233
|
+
config: {
|
|
234
|
+
layout: { xs: 1, sm: 5 },
|
|
235
|
+
},
|
|
236
|
+
},
|
|
237
|
+
]
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
type: "Control",
|
|
241
|
+
scope: "#/properties/btn",
|
|
242
|
+
options: {
|
|
243
|
+
widget: "Button",
|
|
244
|
+
},
|
|
245
|
+
|
|
246
|
+
config: {
|
|
247
|
+
layout: { xs: 4, sm: 2 },
|
|
248
|
+
main: {
|
|
249
|
+
name: "Ok",
|
|
250
|
+
startIcon: "ApproveIcon",
|
|
251
|
+
variant: "contained",
|
|
252
|
+
// color: "info",
|
|
253
|
+
type: "text",
|
|
254
|
+
onClick: "okHandler",
|
|
255
|
+
size: "medium",
|
|
256
|
+
},
|
|
257
|
+
},
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
type: "Control",
|
|
261
|
+
scope: "#/properties/btnSubmit",
|
|
262
|
+
options: {
|
|
263
|
+
widget: "Button",
|
|
264
|
+
},
|
|
265
|
+
|
|
266
|
+
config: {
|
|
267
|
+
layout: { xs: 4, sm: 2 },
|
|
268
|
+
main: {
|
|
269
|
+
name: "Save & Exit",
|
|
270
|
+
startIcon: "ApproveIcon",
|
|
271
|
+
variant: "contained",
|
|
272
|
+
// color: "info",
|
|
273
|
+
type: "text",
|
|
274
|
+
onClick: "saveHandler",
|
|
275
|
+
size: "medium",
|
|
276
|
+
},
|
|
277
|
+
},
|
|
278
|
+
},
|
|
279
|
+
|
|
280
|
+
|
|
181
281
|
{
|
|
182
282
|
type: "Control",
|
|
183
283
|
scope: "#/properties/popUpComponentSection",
|
|
@@ -192,21 +292,16 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
192
292
|
lg: 12,
|
|
193
293
|
},
|
|
194
294
|
main: {
|
|
295
|
+
title: "WARNING!"
|
|
195
296
|
},
|
|
196
297
|
style: {
|
|
197
|
-
"& .MuiPaper-root":{
|
|
198
|
-
width: '30%',
|
|
199
|
-
},
|
|
200
|
-
"& .MuiTypography-root":{
|
|
201
|
-
padding: 0
|
|
202
|
-
},
|
|
203
298
|
}
|
|
204
299
|
},
|
|
205
300
|
elements:
|
|
206
301
|
[
|
|
207
302
|
{
|
|
208
303
|
type: "Control",
|
|
209
|
-
scope: "#/properties/
|
|
304
|
+
scope: "#/properties/popupText",
|
|
210
305
|
options: {
|
|
211
306
|
widget: "Box",
|
|
212
307
|
},
|
|
@@ -216,58 +311,96 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
216
311
|
heading: "Are you sure you want to delete ?",
|
|
217
312
|
},
|
|
218
313
|
style:{
|
|
219
|
-
marginTop: "-
|
|
314
|
+
marginTop: "-20px",
|
|
315
|
+
fontSize: "20px",
|
|
316
|
+
"&.MuiTypography-root": {
|
|
317
|
+
padding: "10px 30px 20px 30px",
|
|
318
|
+
textAlign: "center",
|
|
319
|
+
lineHeight: "1"
|
|
320
|
+
}
|
|
220
321
|
}
|
|
221
322
|
},
|
|
222
323
|
},
|
|
223
324
|
{
|
|
224
|
-
type: "
|
|
225
|
-
scope: "#/properties/EmptyBox",
|
|
226
|
-
options: {
|
|
227
|
-
widget: "EmptyBox",
|
|
228
|
-
},
|
|
325
|
+
type: "WrapperLayout",
|
|
229
326
|
config: {
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
type: "Control",
|
|
236
|
-
scope: "#/properties/ConfirmDeleteCompButton",
|
|
237
|
-
options: {
|
|
238
|
-
widget: "Button",
|
|
327
|
+
layout: 12,
|
|
328
|
+
main: {},
|
|
329
|
+
|
|
239
330
|
},
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
331
|
+
elements: [
|
|
332
|
+
{
|
|
333
|
+
type: "Control",
|
|
334
|
+
scope: "#/properties/CancelDeleteCompButton",
|
|
335
|
+
options: {
|
|
336
|
+
widget: "Button",
|
|
337
|
+
},
|
|
338
|
+
config: {
|
|
339
|
+
layout: 6,
|
|
340
|
+
main: {
|
|
341
|
+
name: "No",
|
|
342
|
+
startIcon: "ApproveIcon",
|
|
343
|
+
variant: "contained",
|
|
344
|
+
color: "info",
|
|
345
|
+
type: "text",
|
|
346
|
+
onClick: "deletePopUpComponent",
|
|
347
|
+
size: "large",
|
|
348
|
+
},
|
|
349
|
+
style: {
|
|
350
|
+
position: "absolute",
|
|
351
|
+
bottom: 0,
|
|
352
|
+
left: 0,
|
|
353
|
+
width: "50%",
|
|
354
|
+
borderRadius: 0,
|
|
355
|
+
boxShadow: 0,
|
|
356
|
+
backgroundColor: "transparent",
|
|
357
|
+
color: theme.palette.primary.main,
|
|
358
|
+
borderTop: `0.5px solid ${theme.palette.grey[600]}`,
|
|
359
|
+
borderRight: `0.5px solid ${theme.palette.grey[600]}`,
|
|
360
|
+
"&:hover": {
|
|
361
|
+
color: theme.palette.primary.contrastText,
|
|
362
|
+
backgroundColor: theme.palette.primary.main,
|
|
363
|
+
boxShadow: "none"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
},
|
|
250
367
|
},
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
368
|
+
{
|
|
369
|
+
type: "Control",
|
|
370
|
+
scope: "#/properties/ConfirmDeleteCompButton",
|
|
371
|
+
options: {
|
|
372
|
+
widget: "Button",
|
|
373
|
+
},
|
|
374
|
+
config: {
|
|
375
|
+
layout: 6,
|
|
376
|
+
main: {
|
|
377
|
+
name: "Yes",
|
|
378
|
+
startIcon: "ApproveIcon",
|
|
379
|
+
variant: "contained",
|
|
380
|
+
color: "error",
|
|
381
|
+
type: "text",
|
|
382
|
+
onClick: "deleteComponents",
|
|
383
|
+
size: "large",
|
|
384
|
+
},
|
|
385
|
+
style: {
|
|
386
|
+
position: "absolute",
|
|
387
|
+
bottom: 0,
|
|
388
|
+
right: 0,
|
|
389
|
+
width: "50%",
|
|
390
|
+
borderRadius: 0,
|
|
391
|
+
boxShadow: 0,
|
|
392
|
+
backgroundColor: "transparent",
|
|
393
|
+
color: theme.palette.error.main,
|
|
394
|
+
borderTop: `0.5px solid ${theme.palette.grey[600]}`,
|
|
395
|
+
"&:hover": {
|
|
396
|
+
color: theme.palette.error.contrastText,
|
|
397
|
+
backgroundColor: theme.palette.error.main,
|
|
398
|
+
boxShadow: "none"
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
},
|
|
269
402
|
},
|
|
270
|
-
|
|
403
|
+
]
|
|
271
404
|
},
|
|
272
405
|
]
|
|
273
406
|
},
|
|
@@ -285,21 +418,16 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
285
418
|
lg: 12,
|
|
286
419
|
},
|
|
287
420
|
main: {
|
|
421
|
+
title: "WARNING!"
|
|
288
422
|
},
|
|
289
423
|
style: {
|
|
290
|
-
"& .MuiPaper-root":{
|
|
291
|
-
width: '30%',
|
|
292
|
-
},
|
|
293
|
-
"& .MuiTypography-root":{
|
|
294
|
-
padding: 0
|
|
295
|
-
},
|
|
296
424
|
}
|
|
297
425
|
},
|
|
298
426
|
elements:
|
|
299
427
|
[
|
|
300
428
|
{
|
|
301
429
|
type: "Control",
|
|
302
|
-
scope: "#/properties/
|
|
430
|
+
scope: "#/properties/popupText1",
|
|
303
431
|
options: {
|
|
304
432
|
widget: "Box",
|
|
305
433
|
},
|
|
@@ -309,127 +437,98 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
309
437
|
heading: "Are you sure you want to delete ?",
|
|
310
438
|
},
|
|
311
439
|
style:{
|
|
312
|
-
marginTop: "-
|
|
440
|
+
marginTop: "-20px",
|
|
441
|
+
fontSize: "20px",
|
|
442
|
+
"&.MuiTypography-root": {
|
|
443
|
+
padding: "10px 30px 20px 30px",
|
|
444
|
+
textAlign: "center",
|
|
445
|
+
lineHeight: "1"
|
|
446
|
+
}
|
|
313
447
|
}
|
|
314
448
|
},
|
|
315
449
|
},
|
|
316
450
|
{
|
|
317
|
-
type: "
|
|
318
|
-
scope: "#/properties/EmptyBox",
|
|
319
|
-
options: {
|
|
320
|
-
widget: "EmptyBox",
|
|
321
|
-
},
|
|
451
|
+
type: "WrapperLayout",
|
|
322
452
|
config: {
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
type: "Control",
|
|
329
|
-
scope: "#/properties/ConfirmDeleteEventButton",
|
|
330
|
-
options: {
|
|
331
|
-
widget: "Button",
|
|
453
|
+
layout: 12,
|
|
454
|
+
main: {},
|
|
455
|
+
|
|
332
456
|
},
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
457
|
+
elements: [
|
|
458
|
+
{
|
|
459
|
+
type: "Control",
|
|
460
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
461
|
+
options: {
|
|
462
|
+
widget: "Button",
|
|
463
|
+
},
|
|
464
|
+
config: {
|
|
465
|
+
layout: 6,
|
|
466
|
+
main: {
|
|
467
|
+
name: "No",
|
|
468
|
+
startIcon: "ApproveIcon",
|
|
469
|
+
variant: "contained",
|
|
470
|
+
color: "info",
|
|
471
|
+
type: "text",
|
|
472
|
+
onClick: "deletePopUpEvent",
|
|
473
|
+
size: "large",
|
|
474
|
+
},
|
|
475
|
+
style: {
|
|
476
|
+
position: "absolute",
|
|
477
|
+
bottom: 0,
|
|
478
|
+
left: 0,
|
|
479
|
+
width: "50%",
|
|
480
|
+
borderRadius: 0,
|
|
481
|
+
boxShadow: 0,
|
|
482
|
+
backgroundColor: "transparent",
|
|
483
|
+
color: theme.palette.primary.main,
|
|
484
|
+
borderTop: `0.5px solid ${theme.palette.grey[600]}`,
|
|
485
|
+
borderRight: `0.5px solid ${theme.palette.grey[600]}`,
|
|
486
|
+
"&:hover": {
|
|
487
|
+
color: theme.palette.primary.contrastText,
|
|
488
|
+
backgroundColor: theme.palette.primary.main,
|
|
489
|
+
boxShadow: "none"
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
},
|
|
343
493
|
},
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
494
|
+
{
|
|
495
|
+
type: "Control",
|
|
496
|
+
scope: "#/properties/ConfirmDeleteEventButton",
|
|
497
|
+
options: {
|
|
498
|
+
widget: "Button",
|
|
499
|
+
},
|
|
500
|
+
config: {
|
|
501
|
+
layout: 6,
|
|
502
|
+
main: {
|
|
503
|
+
name: "Yes",
|
|
504
|
+
startIcon: "ApproveIcon",
|
|
505
|
+
variant: "contained",
|
|
506
|
+
color: "error",
|
|
507
|
+
type: "text",
|
|
508
|
+
onClick: "deleteEvent",
|
|
509
|
+
size: "large",
|
|
510
|
+
},
|
|
511
|
+
style: {
|
|
512
|
+
position: "absolute",
|
|
513
|
+
bottom: 0,
|
|
514
|
+
right: 0,
|
|
515
|
+
width: "50%",
|
|
516
|
+
borderRadius: 0,
|
|
517
|
+
boxShadow: 0,
|
|
518
|
+
backgroundColor: "transparent",
|
|
519
|
+
color: theme.palette.error.main,
|
|
520
|
+
borderTop: `0.5px solid ${theme.palette.grey[600]}`,
|
|
521
|
+
"&:hover": {
|
|
522
|
+
color: theme.palette.error.contrastText,
|
|
523
|
+
backgroundColor: theme.palette.error.main,
|
|
524
|
+
boxShadow: "none"
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
},
|
|
362
528
|
},
|
|
363
|
-
|
|
529
|
+
]
|
|
364
530
|
},
|
|
365
531
|
]
|
|
366
|
-
},
|
|
367
|
-
|
|
368
|
-
{
|
|
369
|
-
type: "Control",
|
|
370
|
-
scope: "#/properties/EmptyBox",
|
|
371
|
-
options: {
|
|
372
|
-
widget: "EmptyBox",
|
|
373
|
-
},
|
|
374
|
-
config: {
|
|
375
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
376
|
-
},
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
type: "Control",
|
|
380
|
-
scope: "#/properties/EmptyBox",
|
|
381
|
-
options: {
|
|
382
|
-
widget: "EmptyBox",
|
|
383
|
-
},
|
|
384
|
-
config: {
|
|
385
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
386
|
-
},
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
type: "Control",
|
|
390
|
-
scope: "#/properties/btn",
|
|
391
|
-
options: {
|
|
392
|
-
widget: "Button",
|
|
393
|
-
},
|
|
394
|
-
|
|
395
|
-
config: {
|
|
396
|
-
layout: 1.8,
|
|
397
|
-
main: {
|
|
398
|
-
name: "Ok",
|
|
399
|
-
startIcon: "ApproveIcon",
|
|
400
|
-
variant: "contained",
|
|
401
|
-
// color: "info",
|
|
402
|
-
type: "text",
|
|
403
|
-
onClick: "okHandler",
|
|
404
|
-
size: "medium",
|
|
405
|
-
},
|
|
406
|
-
style: {
|
|
407
|
-
float: "right",
|
|
408
|
-
},
|
|
409
|
-
},
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
type: "Control",
|
|
413
|
-
scope: "#/properties/btnSubmit",
|
|
414
|
-
options: {
|
|
415
|
-
widget: "Button",
|
|
416
|
-
},
|
|
417
|
-
|
|
418
|
-
config: {
|
|
419
|
-
layout: 1.8,
|
|
420
|
-
main: {
|
|
421
|
-
name: "Save & Exit",
|
|
422
|
-
startIcon: "ApproveIcon",
|
|
423
|
-
variant: "contained",
|
|
424
|
-
// color: "info",
|
|
425
|
-
type: "text",
|
|
426
|
-
onClick: "saveHandler",
|
|
427
|
-
size: "medium",
|
|
428
|
-
},
|
|
429
|
-
style: {
|
|
430
|
-
float: "right",
|
|
431
|
-
},
|
|
432
|
-
},
|
|
433
532
|
},
|
|
434
533
|
{
|
|
435
534
|
type: "Control",
|
|
@@ -472,13 +571,14 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
472
571
|
color: theme?.palette?.text.disabled || "#AFAFAF",
|
|
473
572
|
fontSize: '12px',
|
|
474
573
|
textAlign: 'center',
|
|
475
|
-
lineHeight:
|
|
574
|
+
lineHeight: 2,
|
|
476
575
|
width: 'fit-content',
|
|
477
576
|
left: '50%',
|
|
478
577
|
position: 'relative',
|
|
479
578
|
margin: 0,
|
|
480
579
|
flexGrow: 1,
|
|
481
|
-
height: 0
|
|
580
|
+
height: 0,
|
|
581
|
+
transform: "translate(-50%,0%)"
|
|
482
582
|
}
|
|
483
583
|
},
|
|
484
584
|
},
|
|
@@ -500,7 +600,7 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
500
600
|
height: 0,
|
|
501
601
|
margin: 0,
|
|
502
602
|
top: 0,
|
|
503
|
-
right: '
|
|
603
|
+
right: {xs: '12px', sm: '84px'},
|
|
504
604
|
position: 'absolute',
|
|
505
605
|
fontSize: '12px',
|
|
506
606
|
cursor: 'pointer',
|
|
@@ -523,6 +623,7 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
523
623
|
onClick: "backHandler"
|
|
524
624
|
},
|
|
525
625
|
style: {
|
|
626
|
+
display: {xs: 'none', sm: "flex"},
|
|
526
627
|
textAlign: 'left',
|
|
527
628
|
lineHeight: 1,
|
|
528
629
|
height: 0,
|
|
@@ -533,7 +634,7 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
533
634
|
marginLeft: '2px',
|
|
534
635
|
marginRight: 0,
|
|
535
636
|
top: 3,
|
|
536
|
-
right: '
|
|
637
|
+
right: '12px',
|
|
537
638
|
position: 'absolute',
|
|
538
639
|
':hover': {
|
|
539
640
|
color: theme.palette.primary.dark,
|