impaktapps-ui-builder 0.0.410 → 0.0.412

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 (57) hide show
  1. package/dist/impaktapps-ui-builder.es.js +697 -872
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +14 -14
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.d.ts +4 -1
  6. package/dist/src/impaktapps-ui-builder/builder/build/buildDate.d.ts +1 -0
  7. package/dist/src/impaktapps-ui-builder/builder/build/buildInputSlider.d.ts +1 -0
  8. package/dist/src/impaktapps-ui-builder/builder/build/buildTreeMap.d.ts +1 -0
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +19 -0
  10. package/dist/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.d.ts +19 -0
  11. package/dist/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.d.ts +1 -0
  12. package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +1 -0
  13. package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +1 -1
  14. package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.d.ts +6 -0
  15. package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +2 -4
  16. package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +5 -3
  17. package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +9 -5
  18. package/dist/src/impaktapps-ui-builder/runtime/services/events.d.ts +8 -5
  19. package/dist/src/impaktapps-ui-builder/runtime/services/interface.d.ts +1 -0
  20. package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +9 -7
  21. package/package.json +1 -1
  22. package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +9 -5
  23. package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +11 -15
  24. package/src/impaktapps-ui-builder/builder/build/buildDate.ts +11 -1
  25. package/src/impaktapps-ui-builder/builder/build/buildInputSlider.ts +46 -0
  26. package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +8 -6
  27. package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +6 -0
  28. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +22 -23
  29. package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +9 -2
  30. package/src/impaktapps-ui-builder/builder/build/buildTable.ts +1 -1
  31. package/src/impaktapps-ui-builder/builder/build/buildTreeMap.ts +58 -0
  32. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +54 -49
  33. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +16 -11
  34. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +34 -8
  35. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +1 -1
  36. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +19 -0
  37. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +20 -0
  38. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +1 -1
  39. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +1 -2
  40. package/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.ts +1 -0
  41. package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +1 -0
  42. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +2 -4
  43. package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +1 -1
  44. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +32 -17
  45. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +19 -213
  46. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +8 -1
  47. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +67 -274
  48. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +2 -1
  49. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +1 -104
  50. package/src/impaktapps-ui-builder/builder/services/component.ts +59 -74
  51. package/src/impaktapps-ui-builder/builder/services/event.ts +15 -13
  52. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +17 -26
  53. package/src/impaktapps-ui-builder/builder/services/utils.ts +1 -1
  54. package/src/impaktapps-ui-builder/runtime/services/downloadFile.ts +1 -1
  55. package/src/impaktapps-ui-builder/runtime/services/events.ts +141 -95
  56. package/src/impaktapps-ui-builder/runtime/services/interface.ts +2 -1
  57. package/src/impaktapps-ui-builder/runtime/services/service.ts +85 -47
@@ -148,7 +148,25 @@ export const componentBasicUiSchema: any = {
148
148
  },
149
149
  },
150
150
  },
151
-
151
+ {
152
+ type: "Control",
153
+ scope: "#/properties/columnFormat",
154
+ options: {
155
+ widget: "SelectInputField",
156
+ },
157
+ config: {
158
+ layout: {
159
+ xs: 12,
160
+ sm: 12,
161
+ md: 6,
162
+ lg: 6,
163
+ },
164
+ main: {
165
+ label: "Column Format",
166
+
167
+ },
168
+ },
169
+ },
152
170
  {
153
171
  type: "Control",
154
172
  scope: "#/properties/proc",
@@ -218,218 +236,6 @@ export const componentBasicUiSchema: any = {
218
236
  },
219
237
  ],
220
238
  },
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
- },
433
239
 
434
240
  {
435
241
  type: "Control",
@@ -23,6 +23,13 @@ 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
+ },
26
33
  sectionLabels: {
27
34
  type: "array",
28
35
  items: {
@@ -35,5 +42,5 @@ export const PageMasterSchema = {
35
42
  },
36
43
  }
37
44
  },
38
- required:["label","name"]
45
+ required:["template","name"]
39
46
  }
@@ -80,16 +80,20 @@ export const PageMasterUiSchema: any = {
80
80
  },
81
81
  {
82
82
  type: "Control",
83
- scope: "#/properties/label",
83
+ scope: "#/properties/template",
84
84
 
85
85
  options: {
86
- widget: "InputField",
86
+ widget: "SelectInputField",
87
87
  },
88
88
  config: {
89
89
  layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
90
90
  main: {
91
- label: "Label",
92
- options: [],
91
+ label: "Template",
92
+ options: [
93
+ {const:"template1",title:"template1"},
94
+ {const:"template2",title:"template2"},
95
+ {const:"template3",title:"template3"}
96
+ ],
93
97
  color: "secondary",
94
98
  required: true,
95
99
  },
@@ -159,74 +163,72 @@ export const PageMasterUiSchema: any = {
159
163
  },
160
164
  },
161
165
  },
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: [
162
180
  {
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",
181
+ accessorKey: "name",
178
182
 
179
- header: "Name",
180
- },
181
- {
182
- accessorKey: "type",
183
+ header: "Name",
184
+ },
185
+ {
186
+ accessorKey: "type",
183
187
 
184
- header: "Type",
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",
185
199
  },
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
- },
200
+ config: {
201
+ main: {
202
+ icon: "EditIcon",
203
+ color: "primary",
204
+ onClick: "Edit_Components",
205
+ tooltipMessage: "Edit This Record",
204
206
  },
205
207
  },
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
- },
224
- },
225
- }
226
- ]
208
+ },
227
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",
226
+ },
227
+ },
228
+ },
229
+ }
228
230
  ]
229
- },
231
+ }]},
230
232
  {
231
233
  type: "WrapperLayout",
232
234
  config: {
@@ -341,7 +343,7 @@ export const PageMasterUiSchema: any = {
341
343
  icon: "RejectIcon",
342
344
  color: "error",
343
345
  tooltipMessage: "Reject This Record",
344
- onClick: "deletePopUpEvent",
346
+ onClick: "deleteEvent",
345
347
  },
346
348
  },
347
349
  },
@@ -352,215 +354,6 @@ export const PageMasterUiSchema: any = {
352
354
 
353
355
  ],
354
356
  },
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
-
564
357
  {
565
358
  type: "Control",
566
359
  scope: "#/properties/btn",
@@ -41,9 +41,10 @@ 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" },
44
45
  { title: "Success", const: "Success" },
45
46
  { title: "onStart", const: "onStart" },
46
-
47
+ { title: "Cell Renderer", const: "onCellRenderer" },
47
48
  { title: "File Upload Event", const: "onUpload" },
48
49
  { title: "Back Event", const: "onBack" },
49
50
  { title: "Next Event", const: "onNext" },