impaktapps-ui-builder 0.0.382-alpha.310 → 0.0.382-alpha.312

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.382-alpha.310",
3
+ "version": "0.0.382-alpha.312",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -220,7 +220,7 @@ export const componentBasicUiSchema: any = {
220
220
  },
221
221
  {
222
222
  type: "Control",
223
- scope: "#/properties/popUpComponent",
223
+ scope: "#/properties/popUpComponentSection",
224
224
  options: {
225
225
  widget: "PopUp"
226
226
  },
@@ -232,12 +232,6 @@ export const componentBasicUiSchema: any = {
232
232
  lg: 12,
233
233
  },
234
234
  main: {
235
- label: "PopUp",
236
- fullScreen:false,
237
- fullWidth:false,
238
- maxWidth:false,
239
- alignItems:false,
240
- // spacing:2
241
235
  },
242
236
  },
243
237
  elements:
@@ -245,7 +239,6 @@ export const componentBasicUiSchema: any = {
245
239
  {
246
240
  type: "Control",
247
241
  scope: "#/properties/label",
248
-
249
242
  options: {
250
243
  widget: "Box",
251
244
  },
@@ -254,11 +247,20 @@ export const componentBasicUiSchema: any = {
254
247
  main: {
255
248
  heading: "Are you sure you want to delete ?",
256
249
  },
257
- style: {
258
- marginBottom: "15px",
259
- // width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
260
- // float: "right",
261
- },
250
+ style:{
251
+ marginTop: "-40px"
252
+ }
253
+ },
254
+ },
255
+ {
256
+ type: "Control",
257
+ scope: "#/properties/EmptyBox",
258
+ options: {
259
+ widget: "EmptyBox",
260
+ },
261
+ config: {
262
+ main:{},
263
+ layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
262
264
  },
263
265
  },
264
266
  {
@@ -275,14 +277,9 @@ export const componentBasicUiSchema: any = {
275
277
  variant: "contained",
276
278
  color: "info",
277
279
  type: "text",
278
- onClick: "Delete_Components",
280
+ onClick: "deleteComponents",
279
281
  size: "small",
280
282
  },
281
- style: {
282
- // marginBottom: "8px",
283
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
284
- // float: "right",
285
- },
286
283
  },
287
284
  },
288
285
  {
@@ -302,40 +299,13 @@ export const componentBasicUiSchema: any = {
302
299
  onClick: "deletePopUpComponent",
303
300
  size: "small",
304
301
  },
305
-
306
- style: {
307
- // marginBottom: "8px",
308
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
309
- // float: "left",
310
- },
311
302
  },
312
303
  },
313
- // {
314
- // type: "Control",
315
- // scope: "#/properties/emptyBox",
316
-
317
- // options: {
318
- // widget: "Box",
319
- // },
320
- // config: {
321
- // layout: 6,
322
- // },
323
- // },
324
- // {
325
- // type: "Control",
326
- // scope: "#/properties/EmptyBox",
327
- // config: { layout: { xs: 11, sm: 5.5, md: 5.5, lg: 6 } },
328
- // options: {
329
- // widget: "EmptyBox",
330
- // },
331
- // },
332
304
  ]
333
305
  },
334
-
335
-
336
306
  {
337
307
  type: "Control",
338
- scope: "#/properties/popUpEvent",
308
+ scope: "#/properties/popUpEventSection",
339
309
  options:{
340
310
  widget: "PopUp"
341
311
  },
@@ -352,7 +322,7 @@ export const componentBasicUiSchema: any = {
352
322
  elemetns:[
353
323
  {
354
324
  type: "Control",
355
- scope: "#/properties/Label",
325
+ scope: "#/properties/label",
356
326
  options: {
357
327
  widget: "Box",
358
328
  },
@@ -361,6 +331,20 @@ export const componentBasicUiSchema: any = {
361
331
  main: {
362
332
  heading: "Are you sure you want to delete ?",
363
333
  },
334
+ style:{
335
+ marginTop: "-40px"
336
+ }
337
+ },
338
+ },
339
+ {
340
+ type: "Control",
341
+ scope: "#/properties/EmptyBox",
342
+ options: {
343
+ widget: "EmptyBox",
344
+ },
345
+ config: {
346
+ main:{},
347
+ layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
364
348
  },
365
349
  },
366
350
  {
@@ -372,7 +356,7 @@ export const componentBasicUiSchema: any = {
372
356
  config: {
373
357
  layout: 3,
374
358
  main: {
375
- name: "No",
359
+ name: "Yes",
376
360
  startIcon: "ApproveIcon",
377
361
  variant: "contained",
378
362
  color: "info",
@@ -380,10 +364,6 @@ export const componentBasicUiSchema: any = {
380
364
  onClick: "deleteEvent",
381
365
  size: "small",
382
366
  },
383
- style: {
384
- // width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
385
- // float: "left",
386
- },
387
367
  },
388
368
  },
389
369
  {
@@ -395,31 +375,16 @@ export const componentBasicUiSchema: any = {
395
375
  config: {
396
376
  layout: 3,
397
377
  main: {
398
- name: "Yes",
378
+ name: "No",
399
379
  startIcon: "ApproveIcon",
400
380
  variant: "contained",
401
381
  color: "info",
402
382
  type: "text",
403
- onClick: "deleteEvent",
383
+ onClick: "deletePopUpEvent",
404
384
  size: "small",
405
385
  },
406
- style: {
407
- // width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
408
- // float: "left",
409
- },
410
386
  },
411
387
  },
412
- // {
413
- // type: "Control",
414
- // scope: "#/properties/emptyBox",
415
-
416
- // options: {
417
- // widget: "Box",
418
- // },
419
- // config: {
420
- // layout: 6,
421
- // },
422
- // },
423
388
  ]
424
389
  },
425
390
 
@@ -225,8 +225,6 @@ export const PageMasterUiSchema: any = {
225
225
  }
226
226
  ]
227
227
  },
228
-
229
-
230
228
  ]
231
229
  },
232
230
  {
@@ -356,7 +354,7 @@ export const PageMasterUiSchema: any = {
356
354
  },
357
355
  {
358
356
  type: "Control",
359
- scope: "#/properties/popUpComponent",
357
+ scope: "#/properties/popUpPageMasterComponent",
360
358
  options: {
361
359
  widget: "PopUp"
362
360
  },
@@ -368,12 +366,6 @@ export const PageMasterUiSchema: any = {
368
366
  lg: 12,
369
367
  },
370
368
  main: {
371
- label: "PopUp",
372
- fullScreen:false,
373
- fullWidth:false,
374
- maxWidth:false,
375
- alignItems:false,
376
- // spacing:2
377
369
  },
378
370
  },
379
371
  elements:
@@ -381,7 +373,6 @@ export const PageMasterUiSchema: any = {
381
373
  {
382
374
  type: "Control",
383
375
  scope: "#/properties/label",
384
-
385
376
  options: {
386
377
  widget: "Box",
387
378
  },
@@ -390,11 +381,20 @@ export const PageMasterUiSchema: any = {
390
381
  main: {
391
382
  heading: "Are you sure you want to delete ?",
392
383
  },
393
- style: {
394
- marginBottom: "15px",
395
- // width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
396
- // float: "right",
397
- },
384
+ style:{
385
+ marginTop: "-40px"
386
+ }
387
+ },
388
+ },
389
+ {
390
+ type: "Control",
391
+ scope: "#/properties/EmptyBox",
392
+ options: {
393
+ widget: "EmptyBox",
394
+ },
395
+ config: {
396
+ main:{},
397
+ layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
398
398
  },
399
399
  },
400
400
  {
@@ -414,11 +414,6 @@ export const PageMasterUiSchema: any = {
414
414
  onClick: "Delete_Components",
415
415
  size: "small",
416
416
  },
417
- style: {
418
- // marginBottom: "8px",
419
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
420
- // float: "right",
421
- },
422
417
  },
423
418
  },
424
419
  {
@@ -438,40 +433,14 @@ export const PageMasterUiSchema: any = {
438
433
  onClick: "deletePopUpComponent",
439
434
  size: "small",
440
435
  },
441
-
442
- style: {
443
- // marginBottom: "8px",
444
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
445
- // float: "left",
446
- },
447
436
  },
448
437
  },
449
- // {
450
- // type: "Control",
451
- // scope: "#/properties/emptyBox",
452
-
453
- // options: {
454
- // widget: "Box",
455
- // },
456
- // config: {
457
- // layout: 6,
458
- // },
459
- // },
460
- // {
461
- // type: "Control",
462
- // scope: "#/properties/EmptyBox",
463
- // config: { layout: { xs: 11, sm: 5.5, md: 5.5, lg: 6 } },
464
- // options: {
465
- // widget: "EmptyBox",
466
- // },
467
- // },
468
438
  ]
469
439
  },
470
-
471
-
440
+
472
441
  {
473
442
  type: "Control",
474
- scope: "#/properties/popUpEvent",
443
+ scope: "#/properties/popUpPageMasterEvent",
475
444
  options:{
476
445
  widget: "PopUp"
477
446
  },
@@ -488,7 +457,7 @@ export const PageMasterUiSchema: any = {
488
457
  elemetns:[
489
458
  {
490
459
  type: "Control",
491
- scope: "#/properties/Label",
460
+ scope: "#/properties/label",
492
461
  options: {
493
462
  widget: "Box",
494
463
  },
@@ -497,6 +466,20 @@ export const PageMasterUiSchema: any = {
497
466
  main: {
498
467
  heading: "Are you sure you want to delete ?",
499
468
  },
469
+ style:{
470
+ marginTop: "-40px"
471
+ }
472
+ },
473
+ },
474
+ {
475
+ type: "Control",
476
+ scope: "#/properties/EmptyBox",
477
+ options: {
478
+ widget: "EmptyBox",
479
+ },
480
+ config: {
481
+ main:{},
482
+ layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
500
483
  },
501
484
  },
502
485
  {
@@ -508,7 +491,7 @@ export const PageMasterUiSchema: any = {
508
491
  config: {
509
492
  layout: 3,
510
493
  main: {
511
- name: "No",
494
+ name: "Yes",
512
495
  startIcon: "ApproveIcon",
513
496
  variant: "contained",
514
497
  color: "info",
@@ -516,10 +499,6 @@ export const PageMasterUiSchema: any = {
516
499
  onClick: "deleteEvent",
517
500
  size: "small",
518
501
  },
519
- style: {
520
- // width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
521
- // float: "left",
522
- },
523
502
  },
524
503
  },
525
504
  {
@@ -536,26 +515,11 @@ export const PageMasterUiSchema: any = {
536
515
  variant: "contained",
537
516
  color: "info",
538
517
  type: "text",
539
- onClick: "deleteEvent",
518
+ onClick: "deletePopUpEvent",
540
519
  size: "small",
541
520
  },
542
- style: {
543
- // width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
544
- // float: "left",
545
- },
546
521
  },
547
522
  },
548
- // {
549
- // type: "Control",
550
- // scope: "#/properties/emptyBox",
551
-
552
- // options: {
553
- // widget: "Box",
554
- // },
555
- // config: {
556
- // layout: 6,
557
- // },
558
- // },
559
523
  ]
560
524
  },
561
525
 
@@ -240,7 +240,7 @@ export const EventUiSchema: any = {
240
240
  },
241
241
  {
242
242
  type: "Control",
243
- scope: "#/properties/popUpComponent",
243
+ scope: "#/properties/popUpEvent",
244
244
  options: {
245
245
  widget: "PopUp"
246
246
  },
@@ -259,7 +259,6 @@ export const EventUiSchema: any = {
259
259
  {
260
260
  type: "Control",
261
261
  scope: "#/properties/label",
262
-
263
262
  options: {
264
263
  widget: "Box",
265
264
  },
@@ -268,6 +267,20 @@ export const EventUiSchema: any = {
268
267
  main: {
269
268
  heading: "Are you sure you want to delete ?",
270
269
  },
270
+ style:{
271
+ marginTop: "-40px"
272
+ }
273
+ },
274
+ },
275
+ {
276
+ type: "Control",
277
+ scope: "#/properties/EmptyBox",
278
+ options: {
279
+ widget: "EmptyBox",
280
+ },
281
+ config: {
282
+ main:{},
283
+ layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
271
284
  },
272
285
  },
273
286
  {
@@ -287,11 +300,6 @@ export const EventUiSchema: any = {
287
300
  onClick: "deleteEvent",
288
301
  size: "small",
289
302
  },
290
- style: {
291
- // marginBottom: "8px",
292
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
293
- // float: "left",
294
- },
295
303
  },
296
304
  },
297
305
  {
@@ -311,25 +319,8 @@ export const EventUiSchema: any = {
311
319
  onClick: "deletePopUpEvent",
312
320
  size: "small",
313
321
  },
314
-
315
- style: {
316
- // marginBottom: "8px",
317
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
318
- // float: "left",
319
- },
320
322
  },
321
323
  },
322
- // {
323
- // type: "Control",
324
- // scope: "#/properties/emptyBox",
325
-
326
- // options: {
327
- // widget: "Box",
328
- // },
329
- // config: {
330
- // layout: 6,
331
- // },
332
- // },
333
324
  ]
334
325
  },
335
326
  {
@@ -111,7 +111,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
111
111
  const response = saveFormdataInLocalStorage(store.ctx.core.data, path)
112
112
  const data = path ? _.get(response, path) : response;
113
113
  store.setFormdata(data);
114
- store.updateDialog("popUpComponent");
114
+ // store.updateDialog("popUpComponent");
115
115
  },
116
116
  deleteEvent: function () {
117
117
  const path = store.searchParams?.get("path");
@@ -119,7 +119,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
119
119
  store.formData.events.splice(rowId, 1);
120
120
  const response = saveFormdataInLocalStorage(store.ctx.core.data, path)
121
121
  store.setFormdata(_.get(response, path));
122
- store.updateDialog("deletePopUpEvent")
122
+ // store.updateDialog("popUpEvent")
123
123
  },
124
124
  widgetAddClickHandler: function () {
125
125
  if (!Array.isArray(store.formData.elements)) {
@@ -155,10 +155,10 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
155
155
  store.navigate(-1)
156
156
  },
157
157
  deletePopUpComponent: function(){
158
- store.updateDialog("popUpComponent");
158
+ store.updateDialog("popUpComponentSection");
159
159
  },
160
160
  deletePopUpEvent: function(){
161
- store.updateDialog("popUpEvent");
161
+ store.updateDialog("popUpEventSection");
162
162
  },
163
163
  }
164
164
  };
@@ -91,13 +91,13 @@ export default (
91
91
  },
92
92
  deleteEvent: async function () {
93
93
  await Component(store, dynamicData, submitHandler, service).deleteEvent;
94
- store.updateDialog("deletePopUpEvent")
94
+ store.updateDialog("popUpEvent");
95
95
  },
96
96
  backHandler: function () {
97
97
  store.navigate(-1)
98
98
  },
99
99
  deletePopUpEvent: function(){
100
- store.updateDialog("deletePopUpEvent");
100
+ store.updateDialog("popUpEvent");
101
101
  }
102
102
  }
103
103
  };
@@ -58,7 +58,7 @@ export default (funcParams: funcParamsProps) => {
58
58
  // Delete_Components: Component(store, dynamicData, submitHandler, service).deleteComponents,
59
59
  Delete_Components: async function() {
60
60
  await Component(store, dynamicData, submitHandler, service).deleteComponents();
61
- store.updateDialog("popUpComponent");
61
+ store.updateDialog("popUpPageMasterComponent");
62
62
  },
63
63
  eventAddHandler: function () {
64
64
  const id = store.searchParams?.get("id");
@@ -81,12 +81,13 @@ export default (funcParams: funcParamsProps) => {
81
81
  store.formData.events.splice(rowId, 1);
82
82
  const response = saveFormdataInLocalStorage(store.ctx.core.data)
83
83
  store.setFormdata(response);
84
+ store.updateDialog("popUpPageMasterEvent");
84
85
  },
85
86
  deletePopUpComponent: function(){
86
- store.updateDialog("popUpComponent");
87
+ store.updateDialog("popUpPageMasterComponent");
87
88
  },
88
89
  deletePopUpEvent: function(){
89
- store.updateDialog("popUpEvent");
90
+ store.updateDialog("popUpPageMasterEvent");
90
91
  },
91
92
  }
92
93
  };