{
  "name": "divitorque/faq",
  "moduleClassName": "dtq_faq",
  "moduleOrderClassName": "dtq_faq",
  "title": "FAQ",
  "titles": "FAQs",
  "moduleIcon": "divitorque/faq",
  "category": "module",
  "childModuleName": "divitorque/faq-item",
  "childModuleTitle": "FAQ Item",
  "childrenName": [
    "divitorque/faq-item"
  ],
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}",
      "default": {
        "advanced": {
          "faqStyle": {
            "desktop": {
              "value": "boxed"
            }
          },
          "closeOthers": {
            "desktop": {
              "value": "off"
            }
          },
          "showSchema": {
            "desktop": {
              "value": "on"
            }
          },
          "itemSpacing": {
            "desktop": {
              "value": "10px"
            }
          }
        }
      },
      "settings": {
        "meta": {
          "adminLabel": {}
        },
        "advanced": {
          "htmlAttributes": {},
          "faqStyle": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "contentMain",
              "attrName": "module.advanced.faqStyle",
              "label": "Style",
              "description": "Visual style of the FAQ items.",
              "priority": 10,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "boxed": {
                      "label": "Boxed"
                    },
                    "separated": {
                      "label": "Separated"
                    },
                    "minimal": {
                      "label": "Minimal"
                    },
                    "connected": {
                      "label": "Connected"
                    }
                  }
                }
              }
            }
          },
          "closeOthers": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "contentMain",
              "attrName": "module.advanced.closeOthers",
              "label": "Open Only One at a Time",
              "description": "When enabled, opening one question closes the others.",
              "priority": 20,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            }
          },
          "showSchema": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "contentMain",
              "attrName": "module.advanced.showSchema",
              "label": "Output FAQ Schema",
              "description": "Add schema.org FAQPage structured data for Google rich results.",
              "priority": 30,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            }
          },
          "itemSpacing": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designItem",
              "attrName": "module.advanced.itemSpacing",
              "label": "Spacing Between Items",
              "description": "Vertical gap between FAQ items.",
              "priority": 10,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": true,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 0,
                  "max": 100,
                  "step": 1,
                  "defaultUnit": "px"
                }
              }
            }
          }
        },
        "decoration": {
          "animation": {},
          "background": {},
          "border": {},
          "boxShadow": {},
          "filters": {},
          "overflow": {},
          "position": {},
          "scroll": {},
          "spacing": {},
          "sizing": {},
          "sticky": {},
          "transform": {},
          "transition": {},
          "zIndex": {},
          "disabledOn": {}
        }
      }
    },
    "question": {
      "type": "object",
      "selector": "{{selector}} .dtq-accordion__title-text",
      "default": {
        "decoration": {
          "font": {
            "font": {
              "desktop": {
                "value": {
                  "size": "18px",
                  "weight": "600",
                  "lineHeight": "1.4em"
                }
              }
            }
          }
        }
      },
      "settings": {
        "decoration": {
          "font": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designQuestion",
              "priority": 10,
              "render": true,
              "component": {
                "name": "divi/font",
                "type": "group",
                "props": {
                  "grouped": false,
                  "fieldLabel": "Question",
                  "fields": {
                    "headingLevel": {
                      "render": false
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "answer": {
      "type": "object",
      "selector": "{{selector}} .dtq-accordion__content-inner",
      "settings": {
        "decoration": {
          "bodyFont": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designAnswer",
              "priority": 10,
              "render": true,
              "component": {
                "name": "divi/font-body",
                "type": "group",
                "props": {
                  "grouped": false,
                  "fieldLabel": "Answer",
                  "hideTextAlign": true
                }
              }
            }
          }
        }
      }
    }
  },
  "customCssFields": {
    "question": {
      "subName": "question",
      "selectorSuffix": " .dtq-accordion__title-text"
    },
    "answer": {
      "subName": "answer",
      "selectorSuffix": " .dtq-accordion__content-inner"
    }
  },
  "settings": {
    "content": "auto",
    "design": "auto",
    "advanced": "auto",
    "groups": {
      "contentMain": {
        "panel": "content",
        "priority": 10,
        "groupName": "contentMain",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "FAQ"
          }
        }
      },
      "designItem": {
        "panel": "design",
        "priority": 10,
        "groupName": "designItem",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Items"
          }
        }
      },
      "designQuestion": {
        "panel": "design",
        "priority": 20,
        "groupName": "designQuestion",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Question Typography",
            "clipboardCategory": "style",
            "presetGroup": "divi/font"
          }
        }
      },
      "designAnswer": {
        "panel": "design",
        "priority": 30,
        "groupName": "designAnswer",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Answer Typography",
            "clipboardCategory": "style",
            "presetGroup": "divi/font-body"
          }
        }
      }
    }
  }
}