{
  "name": "lknscf/gallery-scf",
  "d4Shortcode": "lknscf_custom_gallery",
  "title": "Gallery(SCF)",
  "titles": "Gallery(SCF)",
  "moduleIcon": "divi/module-image",
  "moduleClassName": "lknscf_gallery_scf",
  "category": "module",
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}",
      "styleProps": {
        "layout": {
          "selector": "{{selector}} .lknscf-gallery"
        }
      },
      "settings": {
        "meta": {
          "adminLabel": {}
        },
        "advanced": {
          "elements": {},
          "html": {},
          "link": {},
          "text": {},
          "htmlAttributes": {}
        },
        "decoration": {
          "layout": {},
          "background": {},
          "bodyFont": {},
          "sizing": {},
          "spacing": {},
          "border": {},
          "boxShadow": {},
          "filters": {},
          "transform": {},
          "animation": {},
          "overflow": {},
          "disabledOn": {},
          "transition": {},
          "position": {},
          "zIndex": {},
          "scroll": {},
          "sticky": {}
        }
      }
    },
    "galleryField": {
      "type": "object",
      "default": {
        "innerContent": {
          "desktop": {
            "value": "empty"
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentGallery",
            "priority": 10,
            "render": true,
            "attrName": "galleryField.innerContent",
            "label": "Gallery Media",
            "description": "Select the SCF gallery field whose media will be shown.",
            "features": {
              "sticky": false,
              "responsive": false,
              "hover": false
            },
            "component": {
              "name": "divi/select",
              "type": "field",
              "props": {
                "options": {
                  "empty": {
                    "label": "empty"
                  }
                }
              }
            }
          }
        }
      }
    },
    "galleryCurrentPage": {
      "type": "object",
      "default": {
        "innerContent": {
          "desktop": {
            "value": "off"
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentGallery",
            "priority": 5,
            "render": true,
            "attrName": "galleryCurrentPage.innerContent",
            "label": "Current Page",
            "description": "Automatically use the gallery data from the current page.",
            "features": {
              "sticky": false,
              "responsive": false,
              "hover": false
            },
            "component": {
              "name": "divi/toggle",
              "type": "field"
            }
          }
        }
      }
    },
    "galleryStyle": {
      "type": "object",
      "default": {
        "innerContent": {
          "desktop": {
            "value": "grid"
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentGallery",
            "priority": 30,
            "render": true,
            "attrName": "galleryStyle.innerContent",
            "label": "Gallery Style",
            "description": "Choose the style of your gallery.",
            "features": {
              "sticky": false,
              "responsive": false,
              "hover": false
            },
            "component": {
              "name": "divi/select",
              "type": "field",
              "props": {
                "options": {
                  "grid": {
                    "label": "Grid"
                  },
                  "slider": {
                    "label": "Slider"
                  }
                }
              }
            }
          }
        }
      }
    },
    "galleryImagesCount": {
      "type": "object",
      "default": {
        "innerContent": {
          "desktop": {
            "value": "1"
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentGallery",
            "priority": 40,
            "render": true,
            "attrName": "galleryImagesCount.innerContent",
            "label": "Number of Images per Section",
            "description": "Number of images to display per section. Minimum is 1.",
            "features": {
              "sticky": false,
              "responsive": false,
              "hover": false
            },
            "component": {
              "name": "divi/range",
              "type": "field",
              "props": {
                "min": 1,
                "max": 50,
                "allowedUnits": [],
                "defaultUnit": ""
              }
            }
          }
        }
      }
    },
    "galleryImageWidth": {
      "type": "object",
      "default": {
        "innerContent": {
          "desktop": {
            "value": "250px"
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentGallery",
            "priority": 50,
            "render": true,
            "attrName": "galleryImageWidth.innerContent",
            "label": "Image Width",
            "description": "Width of the images. Default is 250px.",
            "features": {
              "sticky": false,
              "responsive": false,
              "hover": false
            },
            "component": {
              "name": "divi/range",
              "type": "field",
              "props": {
                "min": 1,
                "max": 2000,
                "allowedUnits": [
                  "px"
                ]
              }
            }
          }
        }
      }
    },
    "galleryImageHeight": {
      "type": "object",
      "default": {
        "innerContent": {
          "desktop": {
            "value": "250px"
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentGallery",
            "priority": 60,
            "render": true,
            "attrName": "galleryImageHeight.innerContent",
            "label": "Image Height",
            "description": "Height of the images. Default is 250px.",
            "features": {
              "sticky": false,
              "responsive": false,
              "hover": false
            },
            "component": {
              "name": "divi/range",
              "type": "field",
              "props": {
                "min": 1,
                "max": 2000,
                "allowedUnits": [
                  "px"
                ]
              }
            }
          }
        }
      }
    },
    "galleryDots": {
      "type": "object",
      "default": {
        "innerContent": {
          "desktop": {
            "value": "on"
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentGallery",
            "priority": 70,
            "render": true,
            "attrName": "galleryDots.innerContent",
            "label": "Show Dots",
            "description": "Enable or disable dots navigation for the slider.",
            "features": {
              "sticky": false,
              "responsive": false,
              "hover": false
            },
            "component": {
              "name": "divi/toggle",
              "type": "field"
            }
          }
        }
      }
    },
    "galleryAutoplay": {
      "type": "object",
      "default": {
        "innerContent": {
          "desktop": {
            "value": "on"
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentGallery",
            "priority": 80,
            "render": true,
            "attrName": "galleryAutoplay.innerContent",
            "label": "Autoplay",
            "description": "Enable or disable autoplay for the slider.",
            "features": {
              "sticky": false,
              "responsive": false,
              "hover": false
            },
            "component": {
              "name": "divi/toggle",
              "type": "field"
            }
          }
        }
      }
    },
    "galleryArrows": {
      "type": "object",
      "default": {
        "innerContent": {
          "desktop": {
            "value": "on"
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentGallery",
            "priority": 90,
            "render": true,
            "attrName": "galleryArrows.innerContent",
            "label": "Arrows",
            "description": "Enable or disable arrows for the slider.",
            "features": {
              "sticky": false,
              "responsive": false,
              "hover": false
            },
            "component": {
              "name": "divi/toggle",
              "type": "field"
            }
          }
        }
      }
    },
    "galleryDelay": {
      "type": "object",
      "default": {
        "innerContent": {
          "desktop": {
            "value": "7000"
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentGallery",
            "priority": 100,
            "render": true,
            "attrName": "galleryDelay.innerContent",
            "label": "Autoplay Delay (ms)",
            "description": "Delay between slides in milliseconds. Default is 7000.",
            "features": {
              "sticky": false,
              "responsive": false,
              "hover": false
            },
            "component": {
              "name": "divi/range",
              "type": "field",
              "props": {
                "min": 1000,
                "max": 60000,
                "allowedUnits": [],
                "defaultUnit": ""
              }
            }
          }
        }
      }
    }
  },
  "customCssFields": {},
  "settings": {
    "design": "auto",
    "advanced": "auto",
    "groups": {
      "contentGallery": {
        "panel": "content",
        "priority": 10,
        "groupName": "gallery",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Gallery"
          }
        }
      }
    }
  }
}
