impaktapps-ui-builder 1.0.201 → 1.0.202

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 (80) hide show
  1. package/dist/impaktapps-ui-builder.es.js +1103 -298
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +13 -13
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildAreaGraph.d.ts +2 -0
  6. package/dist/src/impaktapps-ui-builder/builder/build/buildCamera.d.ts +1 -0
  7. package/dist/src/impaktapps-ui-builder/builder/build/buildConfig.d.ts +1 -0
  8. package/dist/src/impaktapps-ui-builder/builder/build/buildGroupButton.d.ts +1 -0
  9. package/dist/src/impaktapps-ui-builder/builder/build/buildHierarchyChart.d.ts +1 -0
  10. package/dist/src/impaktapps-ui-builder/builder/build/buildOTP_inputs.d.ts +1 -0
  11. package/dist/src/impaktapps-ui-builder/builder/build/buildPdfViewer.d.ts +1 -0
  12. package/dist/src/impaktapps-ui-builder/builder/build/buildPopover.d.ts +1 -0
  13. package/dist/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.d.ts +2 -0
  14. package/dist/src/impaktapps-ui-builder/builder/build/uischema/box.d.ts +1 -0
  15. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buttonGroup.d.ts +22 -0
  16. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +173 -197
  17. package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +25 -5
  18. package/dist/src/impaktapps-ui-builder/builder/build/uischema/hierarchyChart.d.ts +22 -0
  19. package/dist/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.d.ts +1 -0
  20. package/dist/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.d.ts +19 -0
  21. package/dist/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.d.ts +1 -0
  22. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +1 -1
  23. package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +3 -1
  24. package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +2 -1
  25. package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +3 -0
  26. package/package.json +1 -1
  27. package/src/impaktapps-ui-builder/builder/build/buildAreaGraph.ts +22 -14
  28. package/src/impaktapps-ui-builder/builder/build/buildArray.ts +10 -6
  29. package/src/impaktapps-ui-builder/builder/build/buildCamera.ts +50 -0
  30. package/src/impaktapps-ui-builder/builder/build/buildCard.ts +10 -10
  31. package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +19 -7
  32. package/src/impaktapps-ui-builder/builder/build/buildDate.ts +32 -16
  33. package/src/impaktapps-ui-builder/builder/build/buildDownloadFile.ts +6 -0
  34. package/src/impaktapps-ui-builder/builder/build/buildEmptyBox.ts +4 -0
  35. package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +42 -43
  36. package/src/impaktapps-ui-builder/builder/build/buildGroupButton.ts +24 -0
  37. package/src/impaktapps-ui-builder/builder/build/buildHierarchyChart.ts +35 -0
  38. package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +3 -3
  39. package/src/impaktapps-ui-builder/builder/build/buildImage.ts +6 -3
  40. package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +3 -3
  41. package/src/impaktapps-ui-builder/builder/build/buildMetricCard.tsx +2 -2
  42. package/src/impaktapps-ui-builder/builder/build/buildMultiSelect.ts +9 -0
  43. package/src/impaktapps-ui-builder/builder/build/buildOTP_inputs.ts +44 -0
  44. package/src/impaktapps-ui-builder/builder/build/buildPdfViewer.ts +16 -0
  45. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +3 -3
  46. package/src/impaktapps-ui-builder/builder/build/buildPop.ts +1 -0
  47. package/src/impaktapps-ui-builder/builder/build/buildPopover.ts +40 -0
  48. package/src/impaktapps-ui-builder/builder/build/buildProgressBar.ts +31 -21
  49. package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +6 -0
  50. package/src/impaktapps-ui-builder/builder/build/buildSelect.ts +9 -0
  51. package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +3 -3
  52. package/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.ts +72 -0
  53. package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +2 -0
  54. package/src/impaktapps-ui-builder/builder/build/buildTable.ts +4 -3
  55. package/src/impaktapps-ui-builder/builder/build/buildText.ts +9 -0
  56. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +37 -0
  57. package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +6 -0
  58. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +7 -2
  59. package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +2 -1
  60. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +237 -22
  61. package/src/impaktapps-ui-builder/builder/build/uischema/buttonGroup.ts +17 -0
  62. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +142 -188
  63. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +0 -1
  64. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +22 -6
  65. package/src/impaktapps-ui-builder/builder/build/uischema/hierarchyChart.ts +13 -0
  66. package/src/impaktapps-ui-builder/builder/build/uischema/metricCard.ts +1 -1
  67. package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +2 -0
  68. package/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.ts +18 -0
  69. package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +2 -0
  70. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +5 -6
  71. package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +3 -1
  72. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +89 -2
  73. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +17 -0
  74. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +3 -4
  75. package/src/impaktapps-ui-builder/builder/services/component.ts +149 -107
  76. package/src/impaktapps-ui-builder/builder/services/event.ts +3 -0
  77. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +4 -1
  78. package/src/impaktapps-ui-builder/builder/services/utils.ts +15 -3
  79. package/src/impaktapps-ui-builder/runtime/services/downloadFile.ts +6 -7
  80. package/src/impaktapps-ui-builder/runtime/services/service.ts +34 -5
@@ -127,6 +127,62 @@ const getArrayControl = (parentScope: string, childScope: string, childLabel?: s
127
127
  ],
128
128
  }
129
129
  };
130
+ const getArrayControlMultiField = (parentScope: string, firstFieldScope: string, secondFieldScope: string, firstFieldLabel?: string, secondFieldLabel?: string, arrayLabel?: string) => {
131
+ return {
132
+ type: "Control",
133
+ scope: `#/properties/${parentScope}`,
134
+ options: {
135
+ widget: "Array"
136
+ },
137
+ config: {
138
+ layout: 12,
139
+ main: {
140
+ label: arrayLabel,
141
+ },
142
+ style: {
143
+ marginLeft: "-24px",
144
+ marginBottom: "24px !important",
145
+ labelStyle: {
146
+ marginLeft: "24px",
147
+ },
148
+ detailsStyle: {
149
+ marginLeft: "24px",
150
+ }
151
+ }
152
+ },
153
+ elements: [
154
+ {
155
+ type: "Control",
156
+ scope: `#/properties/${firstFieldScope}`,
157
+
158
+ options: {
159
+ widget: "InputField",
160
+ },
161
+ config: {
162
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
163
+ main: {
164
+ label: firstFieldLabel || "Labels for Tab",
165
+ },
166
+ },
167
+ },
168
+ {
169
+ type: "Control",
170
+ scope: `#/properties/${secondFieldScope}`,
171
+
172
+ options: {
173
+ widget: "InputField",
174
+ },
175
+ config: {
176
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
177
+ main: {
178
+ label: secondFieldLabel || "Labels for Tab",
179
+ },
180
+ },
181
+ },
182
+ emptyBox("ArrayControlEmpty2", { xs: 6, sm: 6, md: 4, lg: 4 }),
183
+ ],
184
+ }
185
+ };
130
186
  const sizeHolder = getArrayControl("sizeHolder", "keyName", "Component Name");
131
187
  sizeHolder.elements[1] = {
132
188
  type: "Control",
@@ -261,6 +317,15 @@ const BaseSection = {
261
317
  export const buildPropertiesSection = function (type: String) {
262
318
  let uiSchema = _.cloneDeep(BaseSection);
263
319
  switch (type) {
320
+ case "OTP_Input":
321
+ uiSchema.elements = [
322
+ getInputField("seperator", "Seperator"),
323
+ getInputField("length", "OTP Length"),
324
+ getRadioInputField("masking", "OTP Masking", ["YES", "NO"]),
325
+ emptyBox("empty1", { xs: 12, sm: 6, md: 4, lg: 3 }),
326
+
327
+ ]
328
+ break;
264
329
  case "Array":
265
330
  uiSchema.elements = [
266
331
  getRadioInputField("allExpanded", "Initial Expand", ["YES", "NO"]),
@@ -268,6 +333,10 @@ export const buildPropertiesSection = function (type: String) {
268
333
  getRadioInputField("disableExpandAllButton", "Disable Expand Buttons", ["YES", "NO"]),
269
334
  getRadioInputField("disableRowActions", "Disable Row Actions", ["YES", "NO"]),
270
335
  getInputField("childElementLabel", "Child Element Label"),
336
+ getInputField("showKeyAsLabel", "ShowKey As Label"),
337
+ getInputField("rowSpacing", "Row Spacing"),
338
+ getInputField("columnSpacing", "Column Spacing"),
339
+ getInputField("spacing", "Spacing"),
271
340
  emptyBox("empty1", { xs: 12, sm: 6, md: 4, lg: 3 }),
272
341
 
273
342
  ]
@@ -327,6 +396,34 @@ export const buildPropertiesSection = function (type: String) {
327
396
  emptyBox("PopUpEmpty", { xs: 6, sm: 6, md: 0, lg: 0 })
328
397
  ]
329
398
  break;
399
+
400
+ case "PopOver":
401
+ uiSchema.elements = [
402
+ getSelectField("positionVertical", "Attach To (Vertical)", [
403
+ { label: "Top", value: "top" },
404
+ { label: "Center", value: "center" },
405
+ { label: "Bottom", value: "bottom" }
406
+ ]),
407
+ getSelectField("positionHorizontal", "Attach To (Horizontal)", [
408
+ { label: "Left", value: "left" },
409
+ { label: "Center", value: "center" },
410
+ { label: "Right", value: "right" }
411
+ ]),
412
+ getSelectField("contentVertical", "Popover Start (Vertical)", [
413
+ { label: "Top", value: "top" },
414
+ { label: "Center", value: "center" },
415
+ { label: "Bottom", value: "bottom" }
416
+ ]),
417
+ getSelectField("contentHorizontal", "Popover Start (Horizontal)", [
418
+ { label: "Left", value: "left" },
419
+ { label: "Center", value: "center" },
420
+ { label: "Right", value: "right" }
421
+ ]),
422
+ getInputField("width", "Width"),
423
+ getInputField("gap", "Gap"),
424
+ emptyBox("PopUpEmpty", { xs: 6, sm: 0, md: 8, lg: 6 })
425
+ ]
426
+ break;
330
427
  case "Text":
331
428
  uiSchema.elements = [
332
429
  getInputField("placeholder", "Placeholder"),
@@ -336,7 +433,15 @@ export const buildPropertiesSection = function (type: String) {
336
433
  { label: "Filled", value: "filled" },
337
434
  { label: "Standard", value: "standard" },
338
435
  ]),
339
- emptyBox("TextEmpty1", { xs: 6, sm: 6, md: 0, lg: 3 }),
436
+ getInputField("toolTip", "Tooltip"),
437
+ getSelectField("toolTipPosition", "Tooltip Position", [
438
+ { label: "Top", value: "top" },
439
+ { label: "Left", value: "left" },
440
+ { label: "Right", value: "right" },
441
+ { label: "Bottom", value: "bottom" }
442
+ ]),
443
+ getSelectField("iconName", "Start Icon", []),
444
+ emptyBox("Radio", { xs: 0, sm: 0, md: 0, lg: 6 }),
340
445
  getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element"),
341
446
  getInputField("keyName", "Event Key Name"),
342
447
  ]
@@ -389,7 +494,10 @@ export const buildPropertiesSection = function (type: String) {
389
494
  getInputField("bottomLabel_1", "First BottomLabel"),
390
495
  getInputField("bottomLabel_2", "Second BottomLabel"),
391
496
  getInputField("bottomLabel_3", "Third BottomLabel"),
392
- emptyBox("ProgressBarCardEmpty1"), emptyBox("ProgressBarCardEmpty2")
497
+ getInputField("size", "Size"),
498
+ getRadioInputField("variant", "Variant", ["circular", "horizontal"]),
499
+
500
+ getArrayControl("pieArcColors", "color", "Color"),
393
501
  ];
394
502
  break;
395
503
  case "card":
@@ -401,17 +509,33 @@ export const buildPropertiesSection = function (type: String) {
401
509
  emptyBox("cardEmpty", { xs: 0, sm: 0, md: 8, lg: 8 })
402
510
  ];
403
511
  break;
512
+ case "HierarchyChart":
513
+ uiSchema.elements = [
514
+ getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
515
+ getSelectField("linkType", "Link Type", [
516
+ { label: "Step", value: "step" },
517
+ { label: "Diagonal", value: "diagonal" },
518
+ { label: "Line", value: "line" },
519
+ ]),
520
+ getInputField("nodeWidth", "Node Width"),
521
+ getInputField("nodeHeight", "Node Height"),
522
+ getInputField("chartHeight", "Chart Height"),
523
+ getInputField("stepPercent", "Link Bend Position"),
524
+ emptyBox("HierarchyChart", { xs: 0, sm: 0, md: 4, lg: 6 }),
525
+ ];
526
+ break;
404
527
  case "MetricCard":
405
528
  uiSchema.elements = [
406
529
  getInputField("url", "Image Url"),
407
530
  getInputField("label", "Label"),
408
- getInputField("description", "Description"),
409
531
  getInputField("cardValue", "Value"),
532
+ getInputField("description", "Description"),
410
533
  getSelectField("growthRate", "Growth Rate", [
411
534
  { label: "Positive", value: "positive" },
412
535
  { label: "Negative", value: "negative" }
413
536
  ]),
414
- getInputField("color", "Card Color")
537
+ getInputField("color", "Card Color"),
538
+ emptyBox("MetricEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 }),
415
539
  ];
416
540
  break;
417
541
  case "Button":
@@ -427,6 +551,14 @@ export const buildPropertiesSection = function (type: String) {
427
551
  emptyBox("ButtonEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 })
428
552
  ];
429
553
  break;
554
+ case "ButtonGroup":
555
+ uiSchema.elements = [
556
+ getRadioInputField("multiSelect", "Enable multiSelect", ["YES", "No"]),
557
+ getInputField("size", "Size"),
558
+ getSelectField("color", "Color", []),
559
+ emptyBox("ButtonEmpty1", { xs: 6, sm: 6, md: 8, lg: 9 })
560
+ ];
561
+ break;
430
562
  case "Box":
431
563
  uiSchema.elements = [
432
564
  getSelectField("iconName", "Icon Name", []),
@@ -445,30 +577,48 @@ export const buildPropertiesSection = function (type: String) {
445
577
  { label: "Pie Graph", value: "PieGraph" },
446
578
  { label: "Horizontal Bar Graph", value: "HorizontalBarGraph" },
447
579
  { label: "Stack Horizontal Bar Graph", value: "HorizontalStackBarGraph" },
448
- { label: "Area Graph", value: "AreaGraph" }
580
+ { label: "Area Graph", value: "AreaGraph" },
581
+ { label: "StackBar And Line Graph", value: "StackBarLineGraph" }
449
582
  ]),
450
583
  getInputField("leftLabel", "Left Label"),
584
+ getInputField("rightLabel", "Right Label"),
451
585
  getRadioInputField("disableLeftLabel", "Disable Left Label", ["YES", "No"]),
452
586
  getInputField("bottomLabel", "Bottom Label"),
453
587
  emptyBox("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
454
588
  getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
455
589
  getRadioInputField("legendDirection", "Legend Direction", ["Row", "Column"]),
456
- getInputField("yAxisValue", "Y-AxisValue"),
457
- getInputField("xAxisValue", "X-AxisValue"),
590
+ getInputField("yAxisValue", "Y-Axis Key"),
591
+ getInputField("xAxisValue", "X-Axis Key"),
592
+ getSelectField("xAxisType", "X-AxisType", [
593
+ { label: "Date", value: "date" },
594
+ { label: "String", value: "string" },
595
+ { label: "number", value: "number" }
596
+ ]),
458
597
  getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
459
598
  getInputField("leftMargin", "Left Margin"),
460
- emptyBox("GraphEmpty1", { xs: 6, sm: 0, md: 8, lg: 6 }),
461
- getArrayControl("legendLabels", "label"),
462
- getArrayControl("pieArcColors", "color"),
463
- getRadioInputField("xAxisFormatType", "X Axis Format Type", ["Date and Month", "Month and Year"]),
599
+ getInputField("yAxisTickCount", "Y Axis TickCount"),
600
+ getInputField("xAxisTickCount", "X Axis TickCount"),
601
+ getSelectField("xAxisFormatType", "X Axis Format Type", [
602
+ { label: "Date and Month", value: "Date and Month" },
603
+ { label: "Month and Year", value: "Month and Year" }
604
+ ]),
605
+ getInputField("growthRateKey", "Growth Rate Key"),
606
+ getInputField("tooltipUnit", "Tooltip Unit"),
607
+ getArrayControlMultiField("legendLabels", "key", "value", "Key", "Label", "Configure Bar Labels"),
608
+ getArrayControlMultiField("pieArcColors", "key", "value", "Key", "Color", "Configure Bar Colors"),
464
609
  ];
465
610
  break;
466
611
  case "WrapperSection":
467
612
  uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]),
468
613
  getRadioInputField("isAccordion", "Accordion", ["YES", "No"])
469
614
  , getRadioInputField("defaultStyle", "Default Style", ["YES", "No"]),
615
+
616
+ getRadioInputField("defaultClosed", "Default Closed", ["YES", "No"]),
470
617
  getInputField("rowSpacing", "Row Spacing"),
471
- emptyBox("WrapperSectionEmpty1", { xs: 6, sm: 0, md: 4, lg: 4 }), emptyBox("WrapperSectionEmpty2")
618
+ getInputField("columnSpacing", "Column Spacing"),
619
+ getInputField("spacing", "Spacing"),
620
+ getInputField("iconUrl", "Icon Url"),
621
+ emptyBox("WrapperSectionEmpty1", { xs: 0, sm: 0, md: 4, lg: 6 }), emptyBox("WrapperSectionEmpty2")
472
622
  ]
473
623
  break;
474
624
 
@@ -477,7 +627,7 @@ export const buildPropertiesSection = function (type: String) {
477
627
  getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
478
628
  getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
479
629
  emptyBox("TabEmpty"),
480
- getArrayControl("sectionLabels", "label"),
630
+ getArrayControlMultiField("sectionLabels", "label", "icon", "Label", "Icon")
481
631
  ]
482
632
  break;
483
633
  case "Table":
@@ -516,7 +666,6 @@ export const buildPropertiesSection = function (type: String) {
516
666
  getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
517
667
  // getRadioInputField("enableExpandAll", "Use All Row Expanding", ["YES", "NO"]),
518
668
  getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
519
- getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
520
669
  getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
521
670
  getInputField("defaultColumnSize", "Default Column Size"), , emptyBox("LazyLoadingTableEmpty3")
522
671
  ]),
@@ -528,8 +677,15 @@ export const buildPropertiesSection = function (type: String) {
528
677
  case "Radio":
529
678
  uiSchema.elements = [
530
679
  getInputField("errorMessage", "Error Message"),
531
- emptyBox("Radio", { xs: 6, sm: 6, md: 8, lg: 9 }),
532
- getArrayControl("sectionLabels", "label", "Options Of Radio")
680
+ getInputField("toolTip", "Tooltip"),
681
+ getSelectField("toolTipPosition", "Tooltip Position", [
682
+ { label: "Top", value: "top" },
683
+ { label: "Left", value: "left" },
684
+ { label: "Right", value: "right" },
685
+ { label: "Bottom", value: "bottom" }
686
+ ]),
687
+ emptyBox("RadioEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 }),
688
+ getArrayControl("sectionLabels", "label", "Options Of Radio"),
533
689
  ]
534
690
  break;
535
691
  case "Select":
@@ -541,7 +697,14 @@ export const buildPropertiesSection = function (type: String) {
541
697
  { label: "Filled", value: "filled" },
542
698
  { label: "Standard", value: "standard" },
543
699
  ]),
544
- emptyBox("SelectEmpty")
700
+ getInputField("toolTip", "Tooltip"),
701
+ getSelectField("toolTipPosition", "Tooltip Position", [
702
+ { label: "Top", value: "top" },
703
+ { label: "Left", value: "left" },
704
+ { label: "Right", value: "right" },
705
+ { label: "Bottom", value: "bottom" }
706
+ ]),
707
+ emptyBox("SelectEmpty", { xs: 6, sm: 6, md: 8, lg: 9 })
545
708
  ]
546
709
  break;
547
710
  case "MultipleSelect":
@@ -552,8 +715,19 @@ export const buildPropertiesSection = function (type: String) {
552
715
  { label: "Filled", value: "filled" },
553
716
  { label: "Standard", value: "standard" },
554
717
  ]),
555
- emptyBox("MultipleSelectEmpty1", { xs: 0, sm: 6, md: 4, lg: 4 }),
556
- emptyBox("MultipleSelectEmpty2")
718
+ getInputField("toolTip", "Tooltip"),
719
+ getSelectField("toolTipPosition", "Tooltip Position", [
720
+ { label: "Top", value: "top" },
721
+ { label: "Left", value: "left" },
722
+ { label: "Right", value: "right" },
723
+ { label: "Bottom", value: "bottom" }
724
+ ])
725
+ ]
726
+ break;
727
+ case "PdfViewer":
728
+ uiSchema.elements = [
729
+ getInputField("scale", "Zoom"),
730
+ emptyBox("PdfViewer", { xs: 6, sm: 6, md: 8, lg: 9 })
557
731
  ]
558
732
  break;
559
733
  case "Date":
@@ -563,7 +737,14 @@ export const buildPropertiesSection = function (type: String) {
563
737
  { label: "Filled", value: "filled" },
564
738
  { label: "Standard", value: "standard" },
565
739
  ]),
566
- emptyBox("DateEmpty1", { xs: 6, sm: 6, md: 8, lg: 9 }),
740
+ getInputField("toolTip", "Tooltip"),
741
+ getSelectField("toolTipPosition", "Tooltip Position", [
742
+ { label: "Top", value: "top" },
743
+ { label: "Left", value: "left" },
744
+ { label: "Right", value: "right" },
745
+ { label: "Bottom", value: "bottom" }
746
+ ]),
747
+ emptyBox("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 }),
567
748
  ]
568
749
  break;
569
750
  case "DateTime":
@@ -573,7 +754,14 @@ export const buildPropertiesSection = function (type: String) {
573
754
  { label: "Filled", value: "filled" },
574
755
  { label: "Standard", value: "standard" },
575
756
  ]),
576
- emptyBox("DateTimeEmpty1", { xs: 6, sm: 6, md: 8, lg: 9 }),
757
+ getInputField("toolTip", "Tooltip"),
758
+ getSelectField("toolTipPosition", "Tooltip Position", [
759
+ { label: "Top", value: "top" },
760
+ { label: "Left", value: "left" },
761
+ { label: "Right", value: "right" },
762
+ { label: "Bottom", value: "bottom" }
763
+ ]),
764
+ emptyBox("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 }),
577
765
  ]
578
766
  break;
579
767
  case "Thought":
@@ -585,6 +773,13 @@ export const buildPropertiesSection = function (type: String) {
585
773
  uiSchema.elements = [
586
774
  getInputField("imageUrl", "Image URL"),
587
775
  getInputField("height", "Image Height"),
776
+ getInputField("toolTip", "Tooltip"),
777
+ getSelectField("toolTipPosition", "Tooltip Position", [
778
+ { label: "Top", value: "top" },
779
+ { label: "Left", value: "left" },
780
+ { label: "Right", value: "right" },
781
+ { label: "Bottom", value: "bottom" }
782
+ ]),
588
783
  emptyBox("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 }),
589
784
  ]
590
785
  break;
@@ -595,9 +790,29 @@ export const buildPropertiesSection = function (type: String) {
595
790
  getRadioInputField("disableDelete", "Disable Delete", ["YES", "NO"]),
596
791
  getRadioInputField("disableDownload", "Disable Download", ["YES", "NO"]),
597
792
  getInputField("description", "Enter description"),
598
- emptyBox("FileInputEmpty", { xs: 6, sm: 6, md: 8, lg: 9 })
793
+ getInputField("toolTip", "Tooltip"),
794
+ getSelectField("toolTipPosition", "Tooltip Position", [
795
+ { label: "Top", value: "top" },
796
+ { label: "Left", value: "left" },
797
+ { label: "Right", value: "right" },
798
+ { label: "Bottom", value: "bottom" }
799
+ ]),
800
+ getInputField("chooseButtonLabel", "ChooseButton Label"),
801
+ getInputField("noFileAvailableMessage", "No Found Message"),
802
+ getRadioInputField("useLabel", "Use Button", ["YES", "NO"]),
803
+ getRadioInputField("externalUpload", "External Upload", ["YES", "NO"]),
804
+ emptyBox("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 }),
599
805
  ]
600
806
  break;
807
+ case "Camera":
808
+ uiSchema.elements = [
809
+ getSelectField("iconName", "Icon Name", []),
810
+ getRadioInputField("multiUplaod", "Multiple Uplaod", ["YES", "NO"]),
811
+ getSelectField("color", "Color", []),
812
+ getInputField("tooltipMessage", "Tooltip Message"),
813
+ getSelectField("variant", "Variant", []),
814
+ emptyBox("ButtonEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 })
815
+ ];
601
816
  }
602
817
  return uiSchema;
603
818
  };
@@ -0,0 +1,17 @@
1
+ export default {
2
+ type: "Control",
3
+ scope: "#/properties/buttonGroup",
4
+ options: {
5
+ widget: "ButtonGroup",
6
+ },
7
+ config: {
8
+ layout: { xs: 12, sm: 12, md: 6, lg: 6 },
9
+ main: {
10
+ variant: "contained",
11
+ styleDefault:false,
12
+ size: "small",
13
+ },
14
+ style: {
15
+ },
16
+ },
17
+ };