impaktapps-ui-builder 1.0.91 → 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 +11 -3
- 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 +3 -1
package/package.json
CHANGED
|
@@ -15,8 +15,14 @@ export const buildArray = (config: any, componentScope: string) => {
|
|
|
15
15
|
if (config.allExpanded) {
|
|
16
16
|
array.config.main.allExpanded = config.allExpanded === "YES" ? true : false
|
|
17
17
|
}
|
|
18
|
-
if(config.
|
|
19
|
-
array.config.main.
|
|
18
|
+
if(config.disableAddButton ){
|
|
19
|
+
array.config.main.disableAddButton = config.disableAddButton === "YES" ? true : false
|
|
20
|
+
}
|
|
21
|
+
if(config.disableExpandAllButton ){
|
|
22
|
+
array.config.main.disableExpandAllButton = config.disableExpandAllButton === "YES" ? true : false
|
|
23
|
+
}
|
|
24
|
+
if(config.disableRowActions ){
|
|
25
|
+
array.config.main.disableRowActions = config.disableRowActions === "YES" ? true : false
|
|
20
26
|
}
|
|
21
27
|
if (config.style) {
|
|
22
28
|
array.config.style = JSON.parse(config.style)
|
|
@@ -264,7 +264,9 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
264
264
|
case "Array": // // allExpanded childElementLabel label
|
|
265
265
|
uiSchema.elements = [
|
|
266
266
|
getRadioInputField("allExpanded", "Initial Expand", ["YES", "NO"]),
|
|
267
|
-
getRadioInputField("
|
|
267
|
+
getRadioInputField("disableAddButton ", "Disable Add Button", ["YES", "NO"]),
|
|
268
|
+
getRadioInputField("disableExpandAllButton ", "Disable Expand Buttons", ["YES", "NO"]),
|
|
269
|
+
getRadioInputField("disableRowActions ", "Disable Row Actions", ["YES", "NO"]),
|
|
268
270
|
getInputField("childElementLabel", "Child Element Label"),
|
|
269
271
|
emptyBox("empty1", { xs: 12, sm: 6, md: 4, lg: 3 }),
|
|
270
272
|
|