impaktapps-ui-builder 1.0.480 → 1.0.482

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.480",
3
+ "version": "1.0.482",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -27,6 +27,9 @@ export const buildMultiSelect = (config, componentScope) => {
27
27
  if (config.toolTipPosition) {
28
28
  multipleSelect.config.main.toolTipPosition = config.toolTipPosition;
29
29
  }
30
+ if (config.grouping) {
31
+ multipleSelect.config.main.grouping = config.grouping;
32
+ }
30
33
  if (config.style) {
31
34
  multipleSelect.config.style = JSON.parse(config.style);
32
35
  }
@@ -26,6 +26,9 @@ export const buildSelect = (config: any, componentScope: string) => {
26
26
  if (config.toolTipPosition) {
27
27
  selectInputField.config.main.toolTipPosition = config.toolTipPosition;
28
28
  }
29
+ if (config.grouping) {
30
+ selectInputField.config.main.grouping = config.grouping;
31
+ }
29
32
  if (config.style) {
30
33
  selectInputField.config.style = JSON.parse(config.style);
31
34
  }
@@ -689,7 +689,8 @@ export const buildPropertiesSection = function (type: String) {
689
689
  { label: "Right", value: "right" },
690
690
  { label: "Bottom", value: "bottom" }
691
691
  ]),
692
- emptyBox("SelectEmpty", { xs: 6, sm: 6, md: 8, lg: 9 })
692
+ getRadioInputField("grouping", "grouping", ["YES", "NO"]),
693
+ emptyBox("SelectEmpty", { xs: 0, sm: 0, md: 4, lg: 6 })
693
694
  ]
694
695
  break;
695
696
  case "MultipleSelect":
@@ -706,7 +707,9 @@ export const buildPropertiesSection = function (type: String) {
706
707
  { label: "Left", value: "left" },
707
708
  { label: "Right", value: "right" },
708
709
  { label: "Bottom", value: "bottom" }
709
- ])
710
+ ]),
711
+ getRadioInputField("grouping", "grouping", ["YES", "NO"]),
712
+ emptyBox("MultipleSelectEmpty", { xs: 6, sm: 6, md: 8, lg: 9 })
710
713
  ]
711
714
  break;
712
715
  case "PdfViewer":
@@ -196,7 +196,7 @@ export default (funcParams: funcParamsProps) => {
196
196
  return response?.data;
197
197
  },
198
198
  getSelectOptions: async function (param) {
199
- if ( param.serachValue !== undefined) {
199
+ if (param.serachValue !== "" && param.serachValue !== undefined) {
200
200
  const apiBody = [
201
201
  { key: "searchValue", value: param.serachValue },
202
202
  { key: "currentValue", value: param.currentValue }