{
  "name": "divi5-amelia/stepbookingbutton",
  "title": "Amelia - Step Booking Button",
  "titles": "Amelia Step Booking Buttons",
  "category": "module",
  "moduleClassName": "divi5_amelia_stepbooking_button",
  "moduleOrderClassName": "divi5_amelia_stepbooking_button",
  "moduleIcon": "amelia/step-booking",
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}",
      "styleProps": {
        "spacing": {
          "selector": "{{wrapperSelector}}",
          "propertySelectors": {
            "desktop": {
              "value": {
                "padding": "{{wrapperSelector}} {{baseSelector}}"
              }
            }
          },
          "important": true
        },
        "position": {
          "selector": "{{wrapperSelector}}"
        },
        "order": {
          "selector": "{{wrapperSelector}}"
        }
      },
      "default": {
        "meta": {
          "adminLabel": {
            "desktop": {
              "value": "Amelia Step Booking Button"
            }
          }
        }
      },
      "settings": {
        "meta": {
          "adminLabel": {}
        },
        "advanced": {
        },
        "decoration": {
          "attributes": {},
          "conditions": {},
          "disabledOn": {},
          "order": {},
          "transition": {},
          "position": {},
          "zIndex": {},
          "scroll": {},
          "sticky": {}
        }
      }
    },
    "button": {
      "type": "object",
      "attributes": {
        "class": "amelia-step-booking-button et_block_module et_flex_module"
      },
      "customPostTypeSelector": "body.et-db #page-container #et-boc .et-l {{baseSelector}}",
      "selector": "{{selector}} .amelia-step-booking-button",
      "elementType": "button",
      "elementProps": {
        "hasWrapper": false,
        "allowEmptyUrl": true
      },
      "styleProps": {
        "font": {
          "important": {
            "font": {
              "desktop": {
                "value": {
                  "color": true,
                  "font-size": true,
                  "letter-spacing": true,
                  "line-height": true
                }
              }
            }
          }
        },
        "spacing": {
          "important": true
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "into-multiple-groups",
          "groups": {
            "text": {
              "groupType": "group-item",
              "item": {
                "description": "Input your desired button text.",
                "groupSlug": "contentText",
                "label": "Button Text",
                "priority": 10,
                "render": true,
                "subName": "text",
                "features": {
                  "dynamicContent": {
                    "type": "text"
                  },
                  "sticky": false,
                  "preset": "content"
                },
                "component": {
                  "name": "divi/text",
                  "type": "field"
                }
              }
            },
            "link": {
              "groupType": "group-item",
              "item": {
                "groupSlug": "contentLink",
                "attrName": "button.innerContent",
                "priority": 20,
                "render": false,
                "component": {
                  "type": "group",
                  "name": "divi/button-link",
                  "props": {
                    "grouped": false,
                    "attrName": "button.innerContent",
                    "fieldLabel": "Button"
                  }
                }
              }
            }
          }
        },
        "decoration": {
          "text": {},
          "border": {},
          "boxShadow": {},
          "button": {},
          "font": {},
          "spacing": {},
          "sizing": {},
          "filters": {},
          "transform": {},
          "animation": {}
        }
      }
    },
    "parameters": {
      "type": "object",
      "default": {
        "innerContent": {
          "desktop": {
            "value": "off"
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "shortcodeOptions",
            "priority": 10,
            "render": true,
            "attrName": "parameters.innerContent",
            "label": "Preselect Booking Parameters",
            "description": "Enable to preselect booking parameters",
            "component": {
              "name": "divi/toggle",
              "type": "field"
            }
          }
        }
      }
    },
    "type": {
      "type": "object",
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "shortcodeOptions",
            "priority": 16,
            "render": true,
            "attrName": "type.innerContent",
            "label": "Show Type",
            "description": "Filter by booking type",
            "component": {
              "name": "divi/select",
              "type": "field",
              "props": {
                "options": [
                  {
                    "value": "0",
                    "label": "Show All"
                  },
                  {
                    "value": "services",
                    "label": "Services"
                  },
                  {
                    "value": "packages",
                    "label": "Packages"
                  }
                ]
              }
            }
          }
        }
      }
    },
    "categories": {
      "type": "object",
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "shortcodeOptions",
            "priority": 20,
            "render": true,
            "attrName": "categories.innerContent",
            "label": "Select Categories",
            "description": "Preselect categories (multiple selection)",
            "component": {
              "name": "divi/select",
              "type": "field",
              "props": {
                "multiple": true
              }
            }
          }
        }
      }
    },
    "services": {
      "type": "object",
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "shortcodeOptions",
            "priority": 30,
            "render": true,
            "attrName": "services.innerContent",
            "label": "Select Services",
            "description": "Preselect services (multiple selection)",
            "component": {
              "name": "divi/select",
              "type": "field",
              "props": {
                "multiple": true
              }
            }
          }
        }
      }
    },
    "employees": {
      "type": "object",
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "shortcodeOptions",
            "priority": 40,
            "render": true,
            "attrName": "employees.innerContent",
            "label": "Select Employees",
            "description": "Preselect employees (multiple selection)",
            "component": {
              "name": "divi/select",
              "type": "field",
              "props": {
                "multiple": true
              }
            }
          }
        }
      }
    },
    "locations": {
      "type": "object",
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "shortcodeOptions",
            "priority": 50,
            "render": true,
            "attrName": "locations.innerContent",
            "label": "Select Locations",
            "description": "Preselect locations (multiple selection)",
            "component": {
              "name": "divi/select",
              "type": "field",
              "props": {
                "multiple": true
              }
            }
          }
        }
      }
    },
    "packages": {
      "type": "object",
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "shortcodeOptions",
            "priority": 60,
            "render": true,
            "attrName": "packages.innerContent",
            "label": "Select Packages",
            "description": "Preselect packages (multiple selection)",
            "component": {
              "name": "divi/select",
              "type": "field",
              "props": {
                "multiple": true
              }
            }
          }
        }
      }
    },
    "layout": {
      "type": "object",
      "default": {
        "innerContent": {
          "desktop": {
            "value": "1"
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "shortcodeOptions",
            "priority": 70,
            "render": true,
            "attrName": "layout.innerContent",
            "label": "Layout Type",
            "description": "Select layout type (dropdown or list)",
            "component": {
              "name": "divi/select",
              "type": "field",
              "props": {
                "options": [
                  {
                    "value": "1",
                    "label": "Dropdown Layout"
                  },
                  {
                    "value": "2",
                    "label": "List Layout"
                  }
                ]
              }
            }
          }
        }
      }
    }
  },
  "settings": {
    "design": "auto",
    "advanced": "auto",
    "groups": {
      "shortcodeOptions": {
        "panel": "content",
        "priority": 5,
        "groupName": "shortcodeOptions",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Shortcode Options",
            "preset": "content"
          }
        }
      },
      "contentText": {
        "panel": "content",
        "priority": 20,
        "groupName": "text",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Text"
          }
        }
      }
    }
  },
  "wrapper": {
    "status": true,
    "tag": "div"
  }
}
