{
  "name": "divi5-amelia/search",
  "d4Shortcode": "divi_search",
  "title": "Amelia - Search (Legacy)",
  "titles": "Amelia Searches",
  "category": "module",
  "moduleClassName": "divi5_amelia_search",
  "moduleOrderClassName": "divi5_amelia_search",
  "moduleIcon": "amelia/step-booking",
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}",
      "default": {
        "meta": {
          "adminLabel": {
            "desktop": {
              "value": "Amelia Search"
            }
          }
        }
      },
      "settings": {
        "meta": {
          "adminLabel": {}
        },
        "decoration": {
          "background": {},
          "sizing": {},
          "spacing": {},
          "border": {},
          "boxShadow": {},
          "filters": {},
          "transform": {},
          "animation": {},
          "overflow": {},
          "disabledOn": {},
          "transition": {},
          "position": {},
          "zIndex": {},
          "scroll": {},
          "sticky": {}
        }
      }
    },
    "booking_params": {
      "type": "object",
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupName": "mainContent",
            "priority": 10,
            "render": true,
            "attrName": "booking_params.innerContent",
            "label": "Search Today's Date",
            "description": "Enable to search appointments from today",
            "component": {
              "name": "divi/toggle",
              "type": "field"
            }
          }
        }
      }
    },
    "type": {
      "type": "object",
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupName": "mainContent",
            "priority": 20,
            "render": true,
            "attrName": "type.innerContent",
            "label": "Show Type",
            "description": "Filter by type",
            "component": {
              "name": "divi/select",
              "type": "field",
              "props": {
                "options": [
                  { "value": "0", "label": "Show All" },
                  { "value": "services", "label": "Services" },
                  { "value": "packages", "label": "Packages" }
                ]
              }
            }
          }
        }
      }
    },
    "trigger": {
      "type": "object",
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupName": "mainContent",
            "priority": 30,
            "render": true,
            "attrName": "trigger.innerContent",
            "label": "Trigger Element Selector",
            "description": "CSS selector for the element that will trigger the search",
            "component": {
              "name": "divi/text",
              "type": "field"
            }
          }
        }
      }
    }
  }
}
