{
  "name": "divi5-amelia/eventslistbookingbutton",
  "title": "Amelia - Events List Booking Button",
  "titles": "Amelia Events List Booking Buttons",
  "category": "module",
  "moduleClassName": "divi5_amelia_eventslistbooking_button",
  "moduleOrderClassName": "divi5_amelia_eventslistbooking_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 Event List Booking Button"
            }
          }
        }
      },
      "settings": {
        "meta": {
          "adminLabel": {}
        },
        "advanced": {
        },
        "decoration": {
          "attributes": {},
          "conditions": {},
          "disabledOn": {},
          "order": {},
          "transition": {},
          "position": {},
          "zIndex": {},
          "scroll": {},
          "sticky": {}
        }
      }
    },
    "button": {
      "type": "object",
      "attributes": {
        "class": "amelia-eventslist-booking-button et_block_module et_flex_module"
      },
      "customPostTypeSelector": "body.et-db #page-container #et-boc .et-l {{baseSelector}}",
      "selector": "{{selector}} .amelia-eventslist-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": {}
        }
      }
    },
    "booking_params": {
      "type": "object",
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "shortcodeOptions",
            "priority": 5,
            "render": true,
            "attrName": "booking_params.innerContent",
            "label": "Enable Filters",
            "description": "Show event filtering options",
            "component": {
              "name": "divi/toggle",
              "type": "field"
            }
          }
        }
      }
    },
    "events": {
      "type": "object",
      "default": {
        "innerContent": {
          "desktop": {
            "value": []
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "shortcodeOptions",
            "priority": 10,
            "render": true,
            "attrName": "events.innerContent",
            "label": "Select Events",
            "description": "Select specific events to display (multi-select)",
            "component": {
              "name": "divi/select",
              "type": "field"
            }
          }
        }
      }
    },
    "tags": {
      "type": "object",
      "default": {
        "innerContent": {
          "desktop": {
            "value": []
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "shortcodeOptions",
            "priority": 15,
            "render": true,
            "attrName": "tags.innerContent",
            "label": "Select Tags",
            "description": "Filter events by tags",
            "component": {
              "name": "divi/select",
              "type": "field"
            }
          }
        }
      }
    },
    "recurring": {
      "type": "object",
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "shortcodeOptions",
            "priority": 20,
            "render": true,
            "attrName": "recurring.innerContent",
            "label": "Show Recurring Events",
            "description": "Display recurring events only",
            "component": {
              "name": "divi/toggle",
              "type": "field"
            }
          }
        }
      }
    },
    "locations": {
      "type": "object",
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "shortcodeOptions",
            "priority": 25,
            "render": true,
            "attrName": "locations.innerContent",
            "label": "Select Locations",
            "description": "Filter events by locations (multi-select)",
            "component": {
              "name": "divi/select",
              "type": "field"
            }
          }
        }
      }
    },
    "event_to_show": {
      "type": "object",
      "default": {
        "innerContent": {
          "desktop": {
            "value": "all"
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "shortcodeOptions",
            "priority": 12,
            "render": true,
            "attrName": "event_to_show.innerContent",
            "label": "Events to Show",
            "description": "Filter events by date range",
            "component": {
              "name": "divi/select",
              "type": "field"
            }
          }
        }
      }
    },
    "start_date": {
      "type": "object",
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "shortcodeOptions",
            "priority": 13,
            "render": true,
            "attrName": "start_date.innerContent",
            "label": "Start Date",
            "description": "Custom range start date (YYYY-MM-DD)",
            "component": {
              "name": "divi/text",
              "type": "field"
            }
          }
        }
      }
    },
    "end_date": {
      "type": "object",
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "shortcodeOptions",
            "priority": 14,
            "render": true,
            "attrName": "end_date.innerContent",
            "label": "End Date",
            "description": "Custom range end date (YYYY-MM-DD)",
            "component": {
              "name": "divi/text",
              "type": "field"
            }
          }
        }
      }
    }
  },
  "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"
  }
}

