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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "1.0.90",
3
+ "version": "1.0.92",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -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.disableActions){
19
- array.config.main.disableActions = config.disableActions === "YES" ? true : false
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("disableActions", "Disable Actions", ["YES", "NO"]),
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
 
@@ -554,10 +556,7 @@ export const buildPropertiesSection = function (type: String) {
554
556
  break;
555
557
  case "FileInput":
556
558
  uiSchema.elements = [
557
- getRadioInputField("variant", "Variant", ["Outlined", "Standard"]),
558
- getRadioInputField("hideUpload", "Hide Upload", ["YES", "NO"]),
559
- getRadioInputField("hideDelete", "Hide Delete", ["YES", "NO"]),
560
- getRadioInputField("hideDownload", "Hide Download", ["YES", "NO"])
559
+ getRadioInputField("variant", "Variant", ["Outlined", "Standard"])
561
560
  ]
562
561
  break;
563
562
  }