impaktapps-ui-builder 1.0.91 → 1.0.93

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.91",
3
+ "version": "1.0.93",
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)
@@ -261,10 +261,12 @@ const BaseSection = {
261
261
  export const buildPropertiesSection = function (type: String) {
262
262
  let uiSchema = _.cloneDeep(BaseSection);
263
263
  switch (type) {
264
- case "Array": // // allExpanded childElementLabel label
264
+ case "Array":
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