impaktapps-ui-builder 0.0.409 → 0.0.410

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.
Files changed (49) hide show
  1. package/dist/impaktapps-ui-builder.es.js +602 -218
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +12 -12
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.d.ts +0 -1
  6. package/dist/src/impaktapps-ui-builder/builder/build/buildDate.d.ts +0 -1
  7. package/dist/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.d.ts +0 -19
  8. package/dist/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.d.ts +0 -1
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +0 -1
  10. package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.d.ts +0 -6
  11. package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +4 -2
  12. package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +3 -5
  13. package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +3 -7
  14. package/dist/src/impaktapps-ui-builder/runtime/services/events.d.ts +0 -1
  15. package/dist/src/impaktapps-ui-builder/runtime/services/interface.d.ts +0 -1
  16. package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +0 -3
  17. package/package.json +1 -1
  18. package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +0 -1
  19. package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +8 -11
  20. package/src/impaktapps-ui-builder/builder/build/buildDate.ts +1 -11
  21. package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +6 -8
  22. package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +0 -6
  23. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +23 -22
  24. package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +2 -9
  25. package/src/impaktapps-ui-builder/builder/build/buildTable.ts +1 -1
  26. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +5 -14
  27. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +0 -2
  28. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +1 -15
  29. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +0 -20
  30. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +1 -1
  31. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +1 -1
  32. package/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.ts +0 -1
  33. package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +0 -1
  34. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +4 -2
  35. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +1 -10
  36. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +212 -0
  37. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +1 -8
  38. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +274 -67
  39. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +1 -2
  40. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +104 -1
  41. package/src/impaktapps-ui-builder/builder/services/component.ts +22 -5
  42. package/src/impaktapps-ui-builder/builder/services/event.ts +11 -10
  43. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +22 -13
  44. package/src/impaktapps-ui-builder/builder/services/utils.ts +1 -1
  45. package/src/impaktapps-ui-builder/runtime/services/events.ts +5 -12
  46. package/src/impaktapps-ui-builder/runtime/services/interface.ts +1 -2
  47. package/src/impaktapps-ui-builder/runtime/services/service.ts +14 -24
  48. package/dist/src/impaktapps-ui-builder/builder/build/buildInputSlider.d.ts +0 -1
  49. package/src/impaktapps-ui-builder/builder/build/buildInputSlider.ts +0 -46
@@ -218,6 +218,218 @@ export const componentBasicUiSchema: any = {
218
218
  },
219
219
  ],
220
220
  },
221
+ {
222
+ type: "Control",
223
+ scope: "#/properties/popUpComponentSection",
224
+ options: {
225
+ widget: "PopUp"
226
+ },
227
+ config: {
228
+ layout: {
229
+ xs: 12,
230
+ sm: 12,
231
+ md: 12,
232
+ lg: 12,
233
+ },
234
+ main: {
235
+ title: "Delete Content"
236
+ },
237
+ style:{
238
+ width: "32%",
239
+ margin: "auto"
240
+ },
241
+ },
242
+ elements:
243
+ [
244
+ {
245
+ type: "Control",
246
+ scope: "#/properties/label",
247
+ options: {
248
+ widget: "Box",
249
+ },
250
+ config: {
251
+ layout: 12,
252
+ main: {
253
+ heading: "Are you sure you want to delete ?",
254
+ },
255
+ style:{
256
+ marginTop: "-25px",
257
+ marginLeft: "11px"
258
+ }
259
+ },
260
+ },
261
+ {
262
+ type: "Control",
263
+ scope: "#/properties/EmptyBox",
264
+ options: {
265
+ widget: "EmptyBox",
266
+ },
267
+ config: {
268
+ main:{},
269
+ layout: { xs: 11, sm: 4.5, md: 4.5, lg: 4.5 },
270
+ },
271
+ },
272
+ {
273
+ type: "Control",
274
+ scope: "#/properties/ConfirmDeleteCompButton",
275
+ options: {
276
+ widget: "Button",
277
+ },
278
+ config: {
279
+ layout: 3,
280
+ main: {
281
+ name: "Yes",
282
+ endIcon: "DeleteIcon",
283
+ variant: "contained",
284
+ color: "info",
285
+ type: "text",
286
+ onClick: "deleteComponents",
287
+ size: "small",
288
+ },
289
+ },
290
+ },
291
+ {
292
+ type: "Control",
293
+ scope: "#/properties/CancelDeleteCompButton",
294
+ options: {
295
+ widget: "Button",
296
+ },
297
+ config: {
298
+ layout: 3,
299
+ main: {
300
+ name: "No",
301
+ endIcon: "CloseIcon",
302
+ variant: "contained",
303
+ color: "info",
304
+ type: "text",
305
+ onClick: "deletePopUpComponent",
306
+ size: "small",
307
+ },
308
+ },
309
+ },
310
+ {
311
+ type: "Control",
312
+ scope: "#/properties/EmptyBox",
313
+ options: {
314
+ widget: "EmptyBox",
315
+ },
316
+ config: {
317
+ main:{},
318
+ layout: 0.5,
319
+ },
320
+ },
321
+ ]
322
+ },
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+
331
+ {
332
+ type: "Control",
333
+ scope: "#/properties/popUpEventSection",
334
+ options: {
335
+ widget: "PopUp"
336
+ },
337
+ config: {
338
+ layout: {
339
+ xs: 12,
340
+ sm: 12,
341
+ md: 12,
342
+ lg: 12,
343
+ },
344
+ style:{
345
+ width: "32%",
346
+ margin: "auto"
347
+ },
348
+ main: {
349
+ title: "Delete Content"
350
+ },
351
+ },
352
+ elements:
353
+ [
354
+ {
355
+ type: "Control",
356
+ scope: "#/properties/label",
357
+ options: {
358
+ widget: "Box",
359
+ },
360
+ config: {
361
+ layout: 12,
362
+ main: {
363
+ heading: "Are you sure you want to delete ?",
364
+ },
365
+ style:{
366
+ marginTop: "-25px",
367
+ marginLeft: "11px"
368
+ }
369
+ },
370
+ },
371
+ {
372
+ type: "Control",
373
+ scope: "#/properties/EmptyBox",
374
+ options: {
375
+ widget: "EmptyBox",
376
+ },
377
+ config: {
378
+ main:{},
379
+ layout: { xs: 11, sm: 4.5, md: 4.5, lg: 4.5 },
380
+ },
381
+ },
382
+ {
383
+ type: "Control",
384
+ scope: "#/properties/ConfirmDeleteEventButton",
385
+ options: {
386
+ widget: "Button",
387
+ },
388
+ config: {
389
+ layout: 3,
390
+ main: {
391
+ name: "Yes",
392
+ endIcon: "DeleteIcon",
393
+ variant: "contained",
394
+ color: "info",
395
+ type: "text",
396
+ onClick: "deleteEvent",
397
+ size: "small",
398
+ },
399
+ },
400
+ },
401
+ {
402
+ type: "Control",
403
+ scope: "#/properties/CancelDeleteEventButton",
404
+ options: {
405
+ widget: "Button",
406
+ },
407
+ config: {
408
+ layout: 3,
409
+ main: {
410
+ name: "No",
411
+ endIcon: "CloseIcon",
412
+ variant: "contained",
413
+ color: "info",
414
+ type: "text",
415
+ onClick: "deletePopUpEvent",
416
+ size: "small",
417
+ },
418
+ },
419
+ },
420
+ {
421
+ type: "Control",
422
+ scope: "#/properties/EmptyBox",
423
+ options: {
424
+ widget: "EmptyBox",
425
+ },
426
+ config: {
427
+ main:{},
428
+ layout: 0.5,
429
+ },
430
+ },
431
+ ]
432
+ },
221
433
 
222
434
  {
223
435
  type: "Control",
@@ -23,13 +23,6 @@ export const PageMasterSchema = {
23
23
  },
24
24
  },
25
25
  },
26
- template: {
27
- oneOf: [
28
- { const: "Template-1", title: "template1" },
29
- { const: "Template-2", title: "template2" },
30
- { const: "Template-3", title: "template3" }
31
- ]
32
- },
33
26
  sectionLabels: {
34
27
  type: "array",
35
28
  items: {
@@ -42,5 +35,5 @@ export const PageMasterSchema = {
42
35
  },
43
36
  }
44
37
  },
45
- required:["template","name"]
38
+ required:["label","name"]
46
39
  }
@@ -80,20 +80,16 @@ export const PageMasterUiSchema: any = {
80
80
  },
81
81
  {
82
82
  type: "Control",
83
- scope: "#/properties/template",
83
+ scope: "#/properties/label",
84
84
 
85
85
  options: {
86
- widget: "SelectInputField",
86
+ widget: "InputField",
87
87
  },
88
88
  config: {
89
89
  layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
90
90
  main: {
91
- label: "Template",
92
- options: [
93
- {const:"template1",title:"template1"},
94
- {const:"template2",title:"template2"},
95
- {const:"template3",title:"template3"}
96
- ],
91
+ label: "Label",
92
+ options: [],
97
93
  color: "secondary",
98
94
  required: true,
99
95
  },
@@ -163,72 +159,74 @@ export const PageMasterUiSchema: any = {
163
159
  },
164
160
  },
165
161
  },
166
- {
167
- type: "Control",
168
- scope: "#/properties/elements",
169
- options: {
170
- widget: "Table",
171
- },
172
- config: {
173
- main: {
174
- disableAction: true,
175
- disableSelection: true,
176
- enableDrag: true,
177
- }
178
- },
179
- elements: [
180
162
  {
181
- accessorKey: "name",
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",
182
178
 
183
- header: "Name",
184
- },
185
- {
186
- accessorKey: "type",
179
+ header: "Name",
180
+ },
181
+ {
182
+ accessorKey: "type",
187
183
 
188
- header: "Type",
189
- },
190
- {
191
- header: "Edit",
192
- field: "Reject_Records",
193
- flex: 1,
194
- widget: {
195
- type: "Control",
196
- scope: "#/properties/RejectButton",
197
- options: {
198
- widget: "IconButton",
184
+ header: "Type",
199
185
  },
200
- config: {
201
- main: {
202
- icon: "EditIcon",
203
- color: "primary",
204
- onClick: "Edit_Components",
205
- tooltipMessage: "Edit This Record",
186
+ {
187
+ header: "Edit",
188
+ field: "Reject_Records",
189
+ flex: 1,
190
+ widget: {
191
+ type: "Control",
192
+ scope: "#/properties/RejectButton",
193
+ options: {
194
+ widget: "IconButton",
195
+ },
196
+ config: {
197
+ main: {
198
+ icon: "EditIcon",
199
+ color: "primary",
200
+ onClick: "Edit_Components",
201
+ tooltipMessage: "Edit This Record",
202
+ },
203
+ },
206
204
  },
207
205
  },
208
- },
209
- },
210
- {
211
- header: "Delete",
212
- field: "Reject_Records",
213
- flex: 1,
214
- widget: {
215
- type: "Control",
216
- scope: "#/properties/RejectButton",
217
- options: {
218
- widget: "IconButton",
219
- },
220
- config: {
221
- main: {
222
- icon: "RejectIcon",
223
- color: "error",
224
- onClick: "Delete_Components",
225
- tooltipMessage: "Reject This Record",
206
+ {
207
+ header: "Delete",
208
+ field: "Reject_Records",
209
+ flex: 1,
210
+ widget: {
211
+ type: "Control",
212
+ scope: "#/properties/RejectButton",
213
+ options: {
214
+ widget: "IconButton",
215
+ },
216
+ config: {
217
+ main: {
218
+ icon: "RejectIcon",
219
+ color: "error",
220
+ onClick: "deletePopUpComponent",
221
+ tooltipMessage: "Reject This Record",
222
+ },
223
+ },
226
224
  },
227
- },
228
- },
229
- }
225
+ }
226
+ ]
227
+ },
230
228
  ]
231
- }]},
229
+ },
232
230
  {
233
231
  type: "WrapperLayout",
234
232
  config: {
@@ -343,7 +341,7 @@ export const PageMasterUiSchema: any = {
343
341
  icon: "RejectIcon",
344
342
  color: "error",
345
343
  tooltipMessage: "Reject This Record",
346
- onClick: "deleteEvent",
344
+ onClick: "deletePopUpEvent",
347
345
  },
348
346
  },
349
347
  },
@@ -354,6 +352,215 @@ export const PageMasterUiSchema: any = {
354
352
 
355
353
  ],
356
354
  },
355
+
356
+ {
357
+ type: "Control",
358
+ scope: "#/properties/popUpPageMasterEvent",
359
+ options: {
360
+ widget: "PopUp"
361
+ },
362
+ config: {
363
+ layout: {
364
+ xs: 12,
365
+ sm: 12,
366
+ md: 12,
367
+ lg: 12,
368
+ },
369
+ main: {
370
+ title: "Delete Content"
371
+ },
372
+ style:{
373
+ width: "32%",
374
+ margin: "auto"
375
+ }
376
+ },
377
+ elements:
378
+ [
379
+ {
380
+ type: "Control",
381
+ scope: "#/properties/label",
382
+ options: {
383
+ widget: "Box",
384
+ },
385
+ config: {
386
+ layout: 12,
387
+ main: {
388
+ heading: "Are you sure you want to delete ?",
389
+ },
390
+ style:{
391
+ marginTop: "-25px",
392
+ marginLeft: "11px"
393
+ }
394
+ },
395
+ },
396
+ {
397
+ type: "Control",
398
+ scope: "#/properties/EmptyBox",
399
+ options: {
400
+ widget: "EmptyBox",
401
+ },
402
+ config: {
403
+ main:{},
404
+ layout: { xs: 11, sm: 4.5, md: 4.5, lg: 4.5 },
405
+ },
406
+ },
407
+ {
408
+ type: "Control",
409
+ scope: "#/properties/ConfirmDeleteEventButton",
410
+ options: {
411
+ widget: "Button",
412
+ },
413
+ config: {
414
+ layout: 3,
415
+ main: {
416
+ name: "Yes",
417
+ endIcon: "DeleteIcon",
418
+ variant: "contained",
419
+ color: "info",
420
+ type: "text",
421
+ onClick: "deleteEvent",
422
+ size: "small",
423
+ },
424
+ },
425
+ },
426
+ {
427
+ type: "Control",
428
+ scope: "#/properties/CancelDeleteEventButton",
429
+ options: {
430
+ widget: "Button",
431
+ },
432
+ config: {
433
+ layout: 3,
434
+ main: {
435
+ name: "No",
436
+ endIcon: "CloseIcon",
437
+ variant: "contained",
438
+ color: "info",
439
+ type: "text",
440
+ onClick: "deletePopUpEvent",
441
+ size: "small",
442
+ },
443
+ },
444
+ },
445
+ {
446
+ type: "Control",
447
+ scope: "#/properties/EmptyBox",
448
+ options: {
449
+ widget: "EmptyBox",
450
+ },
451
+ config: {
452
+ main:{},
453
+ layout: 0.5,
454
+ },
455
+ },
456
+ ]
457
+ },
458
+
459
+ {
460
+ type: "Control",
461
+ scope: "#/properties/popUpPageMasterComponent",
462
+ options: {
463
+ widget: "PopUp",
464
+ },
465
+ config: {
466
+ layout: {
467
+ xs: 12,
468
+ sm: 12,
469
+ md: 12,
470
+ lg: 12,
471
+ },
472
+ main: {
473
+ title: "Delete Content"
474
+ },
475
+ style:{
476
+ width: "32%",
477
+ margin: "auto"
478
+ },
479
+ },
480
+ elements:
481
+ [
482
+ {
483
+ type: "Control",
484
+ scope: "#/properties/label",
485
+ options: {
486
+ widget: "Box",
487
+ },
488
+ config: {
489
+ layout: 12,
490
+ main: {
491
+ heading: "Are you sure you want to delete ?",
492
+ },
493
+ style:{
494
+ marginTop: "-25px",
495
+ marginLeft: "11px"
496
+ }
497
+ },
498
+ },
499
+ {
500
+ type: "Control",
501
+ scope: "#/properties/EmptyBox",
502
+ options: {
503
+ widget: "EmptyBox",
504
+ },
505
+ config: {
506
+ main:{},
507
+ layout: { xs: 11, sm: 4.5, md: 4.5, lg: 4.5 },
508
+ },
509
+ },
510
+ {
511
+ type: "Control",
512
+ scope: "#/properties/ConfirmDeleteCompButton",
513
+ options: {
514
+ widget: "Button",
515
+ },
516
+ config: {
517
+ layout: 3,
518
+ main: {
519
+ name: "Yes",
520
+ endIcon: "DeleteIcon",
521
+ variant: "contained",
522
+ color: "info",
523
+ type: "text",
524
+ onClick: "Delete_Components",
525
+ size: "small",
526
+ },
527
+ },
528
+ },
529
+ {
530
+ type: "Control",
531
+ scope: "#/properties/CancelDeleteCompButton",
532
+ options: {
533
+ widget: "Button",
534
+ },
535
+ config: {
536
+ layout: 3,
537
+ main: {
538
+ name: "No",
539
+ endIcon: "CloseIcon",
540
+ variant: "contained",
541
+ color: "info",
542
+ type: "text",
543
+ onClick: "deletePopUpComponent",
544
+ size: "small",
545
+ },
546
+ },
547
+ },
548
+ {
549
+ type: "Control",
550
+ scope: "#/properties/EmptyBox",
551
+ options: {
552
+ widget: "EmptyBox",
553
+ },
554
+ config: {
555
+ main:{},
556
+ layout: 0.5,
557
+ },
558
+ },
559
+ ]
560
+ },
561
+
562
+
563
+
357
564
  {
358
565
  type: "Control",
359
566
  scope: "#/properties/btn",
@@ -41,7 +41,6 @@ export const EventSchema = {
41
41
  { title: "Click Event", const: "onClick" },
42
42
  { title: "Load Event", const: "onLoad" },
43
43
  { title: "Change Event", const: "onChange" },
44
- { title: "Mount Event", const: "onMount" },
45
44
  { title: "Success", const: "Success" },
46
45
  { title: "onStart", const: "onStart" },
47
46
 
@@ -66,7 +65,7 @@ export const EventSchema = {
66
65
  oneOf: [
67
66
  { title: "RankProvider", const: "RankProvider" },
68
67
  { title: "Download File", const: "downloadFile" },
69
- { title: "Download", const: "download" }
68
+ { title: "Download", const: "download" },
70
69
  ]
71
70
  },
72
71
  body: {