impaktapps-ui-builder 1.0.90 → 1.0.92
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 -7
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +4 -4
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildArray.ts +8 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +4 -5
|
@@ -7657,7 +7657,9 @@ const buildPropertiesSection = function(type) {
|
|
|
7657
7657
|
case "Array":
|
|
7658
7658
|
uiSchema.elements = [
|
|
7659
7659
|
getRadioInputField("allExpanded", "Initial Expand", ["YES", "NO"]),
|
|
7660
|
-
getRadioInputField("
|
|
7660
|
+
getRadioInputField("disableAddButton ", "Disable Add Button", ["YES", "NO"]),
|
|
7661
|
+
getRadioInputField("disableExpandAllButton ", "Disable Expand Buttons", ["YES", "NO"]),
|
|
7662
|
+
getRadioInputField("disableRowActions ", "Disable Row Actions", ["YES", "NO"]),
|
|
7661
7663
|
getInputField("childElementLabel", "Child Element Label"),
|
|
7662
7664
|
emptyBox$1("empty1", { xs: 12, sm: 6, md: 4, lg: 3 })
|
|
7663
7665
|
];
|
|
@@ -7914,10 +7916,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7914
7916
|
break;
|
|
7915
7917
|
case "FileInput":
|
|
7916
7918
|
uiSchema.elements = [
|
|
7917
|
-
getRadioInputField("variant", "Variant", ["Outlined", "Standard"])
|
|
7918
|
-
getRadioInputField("hideUpload", "Hide Upload", ["YES", "NO"]),
|
|
7919
|
-
getRadioInputField("hideDelete", "Hide Delete", ["YES", "NO"]),
|
|
7920
|
-
getRadioInputField("hideDownload", "Hide Download", ["YES", "NO"])
|
|
7919
|
+
getRadioInputField("variant", "Variant", ["Outlined", "Standard"])
|
|
7921
7920
|
];
|
|
7922
7921
|
break;
|
|
7923
7922
|
}
|
|
@@ -11846,8 +11845,14 @@ const buildArray = (config2, componentScope2) => {
|
|
|
11846
11845
|
if (config2.allExpanded) {
|
|
11847
11846
|
array.config.main.allExpanded = config2.allExpanded === "YES" ? true : false;
|
|
11848
11847
|
}
|
|
11849
|
-
if (config2.
|
|
11850
|
-
array.config.main.
|
|
11848
|
+
if (config2.disableAddButton) {
|
|
11849
|
+
array.config.main.disableAddButton = config2.disableAddButton === "YES" ? true : false;
|
|
11850
|
+
}
|
|
11851
|
+
if (config2.disableExpandAllButton) {
|
|
11852
|
+
array.config.main.disableExpandAllButton = config2.disableExpandAllButton === "YES" ? true : false;
|
|
11853
|
+
}
|
|
11854
|
+
if (config2.disableRowActions) {
|
|
11855
|
+
array.config.main.disableRowActions = config2.disableRowActions === "YES" ? true : false;
|
|
11851
11856
|
}
|
|
11852
11857
|
if (config2.style) {
|
|
11853
11858
|
array.config.style = JSON.parse(config2.style);
|