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/dist/impaktapps-ui-builder.es.js +12 -3
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +6 -6
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildMultiSelect.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildSelect.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +5 -2
- package/src/impaktapps-ui-builder/runtime/services/service.ts +1 -1
package/package.json
CHANGED
|
@@ -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
|
-
|
|
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 }
|