{
  "_comment": "!!! THIS IS AN AUTOMATICALLY GENERATED FILE - DO NOT EDIT !!!",
  "name": "squad-modules/chat-button-channel",
  "d4Shortcode": "disq_chat_button_channel",
  "title": "Chat Channel",
  "titles": "Chat Channels",
  "moduleIcon": "squad-modules/chat-button",
  "moduleClassName": "disq_chat_button_channel",
  "category": "child-module",
  "folder": "squad-modules",
  "parentModuleName": "squad-modules/chat-button",
  "allowAllElements": true,
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}",
      "settings": {
        "meta": {
          "adminLabel": {}
        },
        "decoration": {
          "background": {},
          "border": {},
          "boxShadow": {},
          "disabledOn": {},
          "filters": {},
          "font": {},
          "spacing": {}
        }
      },
      "default": {
        "meta": {
          "adminLabel": {
            "desktop": {
              "value": "Chat Channel"
            }
          }
        }
      }
    },
    "slideItem": {
      "type": "object",
      "selector": "{{selector}} .squad-chat-button__channel",
      "settings": {
        "innerContent": {
          "groupType": "group-items",
          "items": {
            "channelType": {
              "groupSlug": "contentChannel",
              "attrName": "slideItem.innerContent",
              "subName": "channelType",
              "label": "Channel Type",
              "description": "Which messaging channel this row links to.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 10,
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "whatsapp": {
                      "label": "WhatsApp"
                    },
                    "telegram": {
                      "label": "Telegram"
                    },
                    "messenger": {
                      "label": "Messenger"
                    },
                    "phone": {
                      "label": "Phone"
                    },
                    "email": {
                      "label": "Email"
                    },
                    "custom": {
                      "label": "Custom URL"
                    }
                  }
                }
              }
            },
            "identifier": {
              "groupSlug": "contentChannel",
              "attrName": "slideItem.innerContent",
              "subName": "identifier",
              "label": "Identifier",
              "description": "Phone number, username, email, or URL for this channel.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 20,
              "component": {
                "type": "field",
                "name": "divi/text"
              }
            },
            "prefilledMessage": {
              "groupSlug": "contentChannel",
              "attrName": "slideItem.innerContent",
              "subName": "prefilledMessage",
              "label": "Prefilled Message",
              "description": "Optional message pre-filled in the chat (WhatsApp / Email only).",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 30,
              "component": {
                "type": "field",
                "name": "divi/textarea"
              }
            },
            "label": {
              "groupSlug": "contentChannel",
              "attrName": "slideItem.innerContent",
              "subName": "label",
              "label": "Label",
              "description": "Text shown next to the channel icon.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 40,
              "component": {
                "type": "field",
                "name": "divi/text"
              }
            },
            "channelColor": {
              "groupSlug": "designChannel",
              "attrName": "slideItem.innerContent",
              "subName": "channelColor",
              "label": "Channel Color",
              "description": "Accent color for this channel row.",
              "features": {
                "sticky": false
              },
              "render": true,
              "priority": 10,
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          }
        }
      },
      "default": {
        "innerContent": {
          "desktop": {
            "value": {
              "channelType": "whatsapp",
              "identifier": "",
              "prefilledMessage": "",
              "label": "",
              "channelColor": ""
            }
          }
        }
      }
    },
    "channel": {
      "type": "object",
      "selector": "{{selector}} .squad-chat-button__channel",
      "settings": {
        "decoration": {
          "background": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designChannel",
              "attrName": "channel.decoration.background",
              "priority": 10,
              "render": true,
              "component": {
                "name": "divi/background",
                "type": "group"
              }
            }
          },
          "border": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designChannel",
              "attrName": "channel.decoration.border",
              "priority": 20,
              "render": true,
              "component": {
                "name": "divi/border",
                "type": "group"
              }
            }
          },
          "boxShadow": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designChannel",
              "attrName": "channel.decoration.boxShadow",
              "priority": 30,
              "render": true,
              "component": {
                "name": "divi/box-shadow",
                "type": "group"
              }
            }
          },
          "spacing": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designChannel",
              "attrName": "channel.decoration.spacing",
              "priority": 40,
              "render": true,
              "component": {
                "name": "divi/spacing",
                "type": "group"
              }
            }
          }
        }
      }
    }
  },
  "settings": {
    "groups": {
      "contentChannel": {
        "panel": "content",
        "priority": 10,
        "groupName": "channel",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Channel"
          }
        }
      },
      "designChannel": {
        "panel": "design",
        "priority": 10,
        "groupName": "designChannel",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Channel"
          }
        }
      }
    }
  }
}
