impaktapps-ui-builder 1.0.308 → 1.0.310

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": "1.0.308",
3
+ "version": "1.0.310",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -127,7 +127,7 @@ 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) => {
130
+ const getArrayControlMultiField = (parentScope: string, heading: string, firstFieldScope: string, secondFieldScope: string, firstFieldLabel?: string, secondFieldLabel?: string) => {
131
131
  return {
132
132
  type: "Control",
133
133
  scope: `#/properties/${parentScope}`,
@@ -136,7 +136,9 @@ const getArrayControlMultiField = (parentScope: string, firstFieldScope: string,
136
136
  },
137
137
  config: {
138
138
  layout: 12,
139
- main: {},
139
+ main: {
140
+ label: heading,
141
+ },
140
142
  style: {
141
143
  marginLeft: "-24px",
142
144
  marginBottom: "24px !important",
@@ -391,7 +393,7 @@ export const buildPropertiesSection = function (type: String) {
391
393
  getRadioInputField("fullScreen", "FullScreen", ["YES", "NO"]),
392
394
  getRadioInputField("fullWidth", "FullWidth", ["YES", "NO"]),
393
395
  getInputField("maxWidth", "Max. Width"),
394
- emptyBox("PopUpEmpty", { xs: 6, sm: 6, md: 0, lg: 0 })
396
+ emptyBox("PopUpEmpty", { xs: 0, sm: 0, md: 0, lg: 3 })
395
397
  ]
396
398
  break;
397
399
 
@@ -466,7 +468,7 @@ export const buildPropertiesSection = function (type: String) {
466
468
  uiSchema.elements = [
467
469
  getInputField("rank", "Rank"),
468
470
  getInputField("height", "Height"),
469
- emptyBox("RankCardEmpty1", { xs: 0, sm: 0, md: 4, lg: 4 })];
471
+ emptyBox("RankCardEmpty1", { xs: 6, sm: 0, md: 8, lg: 6 })];
470
472
  break;
471
473
  case "LeaderBoard":
472
474
  uiSchema.elements = [
@@ -493,7 +495,7 @@ export const buildPropertiesSection = function (type: String) {
493
495
  getInputField("bottomLabel_3", "Third BottomLabel"),
494
496
  getInputField("size", "Size"),
495
497
  getRadioInputField("variant", "Variant", ["circular", "horizontal"]),
496
-
498
+ emptyBox("ProgressBarCardEmpty", { xs: 6, sm: 0, md: 8, lg: 6 }),
497
499
  getArrayControl("pieArcColors", "color", "Color"),
498
500
  ];
499
501
  break;
@@ -538,7 +540,7 @@ export const buildPropertiesSection = function (type: String) {
538
540
  getRadioInputField("multiSelect", "Enable multiSelect", ["YES", "No"]),
539
541
  getInputField("size", "Size"),
540
542
  getSelectField("color", "Color", []),
541
- emptyBox("ButtonEmpty1", { xs: 6, sm: 6, md: 8, lg: 9 })
543
+ emptyBox("ButtonEmpty1",{ xs: 6, sm: 0, md: 4, lg: 3 })
542
544
  ];
543
545
  break;
544
546
  case "Box":
@@ -583,8 +585,8 @@ export const buildPropertiesSection = function (type: String) {
583
585
  { label: "Month and Year", value: "Month and Year" }
584
586
  ]),
585
587
  emptyBox("GraphEmpty1", { xs: 0, sm: 0, md: 4, lg: 6 }),
586
- getArrayControlMultiField("legendLabels", "key", "value", "Key", "Label"),
587
- getArrayControlMultiField("pieArcColors", "key", "value", "Key", "Color"),
588
+ getArrayControlMultiField("legendLabels","Legend Labels", "key", "value", "Key", "Label"),
589
+ getArrayControlMultiField("pieArcColors","Colors", "key", "value", "Key", "Color"),
588
590
  ];
589
591
  break;
590
592
  case "WrapperSection":
@@ -605,7 +607,7 @@ export const buildPropertiesSection = function (type: String) {
605
607
  getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
606
608
  getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
607
609
  emptyBox("TabEmpty"),
608
- getArrayControlMultiField("sectionLabels", "label", "icon", "Label", "Icon")
610
+ getArrayControlMultiField("sectionLabels","Display Element", "label", "icon", "Label", "Icon")
609
611
  ]
610
612
  break;
611
613
  case "Table":
@@ -646,7 +648,8 @@ export const buildPropertiesSection = function (type: String) {
646
648
  getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
647
649
  getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
648
650
  getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
649
- getInputField("defaultColumnSize", "Default Column Size"), , emptyBox("LazyLoadingTableEmpty3")
651
+ getInputField("defaultColumnSize", "Default Column Size"),
652
+ emptyBox("LazyLoadingTableEmpty3", { xs: 0, sm: 0, md: 4, lg: 6 })
650
653
  ]),
651
654
  getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
652
655
  sizeHolder,
@@ -717,7 +720,7 @@ export const buildPropertiesSection = function (type: String) {
717
720
  { label: "Right", value: "right" },
718
721
  { label: "Bottom", value: "bottom" }
719
722
  ]),
720
- emptyBox("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 }),
723
+ emptyBox("dateEmpty", { xs: 6, sm: 6, md: 4, lg: 3 }),
721
724
  ]
722
725
  break;
723
726
  case "DateTime":
@@ -734,7 +737,7 @@ export const buildPropertiesSection = function (type: String) {
734
737
  { label: "Right", value: "right" },
735
738
  { label: "Bottom", value: "bottom" }
736
739
  ]),
737
- emptyBox("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 }),
740
+ emptyBox("dateTimeEmpty", { xs: 6, sm: 6, md: 4, lg: 3 }),
738
741
  ]
739
742
  break;
740
743
  case "Thought":
@@ -774,7 +777,7 @@ export const buildPropertiesSection = function (type: String) {
774
777
  getInputField("noFileAvailableMessage", "No Found Message"),
775
778
  getRadioInputField("useLabel", "Use Button", ["YES", "NO"]),
776
779
  getRadioInputField("externalUpload", "External Upload", ["YES", "NO"]),
777
- emptyBox("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 }),
780
+ emptyBox("fileInputEmpty",{ xs: 6, sm: 6, md: 4, lg: 3 }),
778
781
  ]
779
782
  break;
780
783
  case "Camera":