{
  "_comment": "!!! THIS IS AN AUTOMATICALLY GENERATED FILE - DO NOT EDIT !!!",
  "name": "squad-modules/countdown-timer",
  "d4Shortcode": "disq_countdown_timer",
  "title": "Countdown Timer",
  "titles": "Countdown Timers",
  "moduleIcon": "squad-modules/countdown-timer",
  "moduleClassName": "disq_countdown_timer",
  "category": "module",
  "folder": "squad-modules",
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}",
      "settings": {
        "meta": {
          "adminLabel": {}
        },
        "advanced": {
          "htmlAttributes": {}
        },
        "decoration": {
          "animation": {},
          "background": {},
          "border": {},
          "boxShadow": {},
          "conditions": {},
          "disabledOn": {},
          "filters": {},
          "font": {},
          "overflow": {},
          "position": {},
          "scroll": {},
          "sizing": {},
          "spacing": {},
          "sticky": {},
          "transform": {},
          "transition": {},
          "zIndex": {}
        }
      },
      "default": {
        "meta": {
          "adminLabel": {
            "desktop": {
              "value": "Countdown Timer"
            }
          }
        }
      }
    },
    "countdownSettings": {
      "type": "object",
      "selector": "{{selector}} .squad-countdown",
      "settings": {
        "innerContent": {
          "groupType": "group-items",
          "items": {
            "mode": {
              "groupSlug": "contentTimer",
              "attrName": "countdownSettings.innerContent",
              "subName": "mode",
              "label": "Countdown Type",
              "description": "Fixed counts down to a date; evergreen restarts per visitor.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 10,
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "fixed": {
                      "label": "Fixed Date"
                    },
                    "evergreen": {
                      "label": "Evergreen"
                    }
                  }
                }
              }
            },
            "targetDate": {
              "groupSlug": "contentTimer",
              "attrName": "countdownSettings.innerContent",
              "subName": "targetDate",
              "label": "Target Date",
              "description": "The date and time to count down to (Y-m-d H:i:s).",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 20,
              "component": {
                "type": "field",
                "name": "divi/text"
              }
            },
            "evergreenDuration": {
              "groupSlug": "contentTimer",
              "attrName": "countdownSettings.innerContent",
              "subName": "evergreenDuration",
              "label": "Evergreen Duration",
              "description": "Countdown length per visitor (seconds).",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 30,
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 60,
                  "max": 2592000,
                  "step": 60,
                  "allowedUnits": [],
                  "defaultUnit": ""
                }
              }
            },
            "timezone": {
              "groupSlug": "contentTimer",
              "attrName": "countdownSettings.innerContent",
              "subName": "timezone",
              "label": "Timezone",
              "description": "Whether to use the site timezone or the visitor browser timezone.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 40,
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "site": {
                      "label": "Site Timezone"
                    },
                    "visitor": {
                      "label": "Visitor Timezone"
                    }
                  }
                }
              }
            },
            "onExpiry": {
              "groupSlug": "contentTimer",
              "attrName": "countdownSettings.innerContent",
              "subName": "onExpiry",
              "label": "On Expiry",
              "description": "What happens when the countdown reaches zero.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 50,
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "message": {
                      "label": "Show Message"
                    },
                    "hide": {
                      "label": "Hide Timer"
                    },
                    "redirect": {
                      "label": "Redirect"
                    }
                  }
                }
              }
            },
            "expiryMessage": {
              "groupSlug": "contentTimer",
              "attrName": "countdownSettings.innerContent",
              "subName": "expiryMessage",
              "label": "Expiry Message",
              "description": "Message shown when the countdown ends.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 60,
              "component": {
                "type": "field",
                "name": "divi/text"
              }
            },
            "redirectUrl": {
              "groupSlug": "contentTimer",
              "attrName": "countdownSettings.innerContent",
              "subName": "redirectUrl",
              "label": "Redirect URL",
              "description": "URL to send visitors to when the countdown ends.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 70,
              "component": {
                "type": "field",
                "name": "divi/text"
              }
            },
            "showDays": {
              "groupSlug": "contentUnits",
              "attrName": "countdownSettings.innerContent",
              "subName": "showDays",
              "label": "Show Days",
              "description": "Display the days unit.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 10,
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            },
            "showHours": {
              "groupSlug": "contentUnits",
              "attrName": "countdownSettings.innerContent",
              "subName": "showHours",
              "label": "Show Hours",
              "description": "Display the hours unit.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 20,
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            },
            "showMinutes": {
              "groupSlug": "contentUnits",
              "attrName": "countdownSettings.innerContent",
              "subName": "showMinutes",
              "label": "Show Minutes",
              "description": "Display the minutes unit.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 30,
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            },
            "showSeconds": {
              "groupSlug": "contentUnits",
              "attrName": "countdownSettings.innerContent",
              "subName": "showSeconds",
              "label": "Show Seconds",
              "description": "Display the seconds unit.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 40,
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            },
            "separator": {
              "groupSlug": "contentUnits",
              "attrName": "countdownSettings.innerContent",
              "subName": "separator",
              "label": "Separator",
              "description": "Character shown between units.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 50,
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "colon": {
                      "label": "Colon (:)"
                    },
                    "none": {
                      "label": "None"
                    },
                    "slash": {
                      "label": "Slash (/)"
                    }
                  }
                }
              }
            },
            "labelDays": {
              "groupSlug": "contentLabels",
              "attrName": "countdownSettings.innerContent",
              "subName": "labelDays",
              "label": "Days Label",
              "description": "Label shown under the days unit.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 10,
              "component": {
                "type": "field",
                "name": "divi/text"
              }
            },
            "labelHours": {
              "groupSlug": "contentLabels",
              "attrName": "countdownSettings.innerContent",
              "subName": "labelHours",
              "label": "Hours Label",
              "description": "Label shown under the hours unit.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 20,
              "component": {
                "type": "field",
                "name": "divi/text"
              }
            },
            "labelMinutes": {
              "groupSlug": "contentLabels",
              "attrName": "countdownSettings.innerContent",
              "subName": "labelMinutes",
              "label": "Minutes Label",
              "description": "Label shown under the minutes unit.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 30,
              "component": {
                "type": "field",
                "name": "divi/text"
              }
            },
            "labelSeconds": {
              "groupSlug": "contentLabels",
              "attrName": "countdownSettings.innerContent",
              "subName": "labelSeconds",
              "label": "Seconds Label",
              "description": "Label shown under the seconds unit.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 40,
              "component": {
                "type": "field",
                "name": "divi/text"
              }
            }
          }
        }
      },
      "default": {
        "innerContent": {
          "desktop": {
            "value": {
              "mode": "fixed",
              "targetDate": "2026-12-31 23:59:59",
              "evergreenDuration": "86400",
              "timezone": "site",
              "onExpiry": "message",
              "expiryMessage": "This offer has expired.",
              "redirectUrl": "",
              "showDays": "on",
              "showHours": "on",
              "showMinutes": "on",
              "showSeconds": "on",
              "labelDays": "Days",
              "labelHours": "Hours",
              "labelMinutes": "Minutes",
              "labelSeconds": "Seconds",
              "separator": "colon"
            }
          }
        }
      }
    },
    "colors": {
      "type": "object",
      "selector": "{{selector}} .squad-countdown",
      "settings": {
        "innerContent": {
          "groupType": "group-items",
          "items": {
            "numberColor": {
              "groupSlug": "designColors",
              "attrName": "colors.innerContent",
              "subName": "numberColor",
              "label": "Number Color",
              "description": "Color of the countdown numbers.",
              "features": {
                "sticky": false
              },
              "render": true,
              "priority": 10,
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            },
            "labelColor": {
              "groupSlug": "designColors",
              "attrName": "colors.innerContent",
              "subName": "labelColor",
              "label": "Label Color",
              "description": "Color of the unit labels.",
              "features": {
                "sticky": false
              },
              "render": true,
              "priority": 20,
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            },
            "separatorColor": {
              "groupSlug": "designColors",
              "attrName": "colors.innerContent",
              "subName": "separatorColor",
              "label": "Separator Color",
              "description": "Color of the separator characters.",
              "features": {
                "sticky": false
              },
              "render": true,
              "priority": 30,
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          }
        }
      },
      "default": {
        "innerContent": {
          "desktop": {
            "value": {
              "numberColor": "",
              "labelColor": "",
              "separatorColor": ""
            }
          }
        }
      }
    }
  },
  "settings": {
    "groups": {
      "contentTimer": {
        "panel": "content",
        "priority": 10,
        "groupName": "countdownSettings",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Timer"
          }
        }
      },
      "contentUnits": {
        "panel": "content",
        "priority": 20,
        "groupName": "countdownSettings",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Units"
          }
        }
      },
      "contentLabels": {
        "panel": "content",
        "priority": 30,
        "groupName": "countdownSettings",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Labels"
          }
        }
      },
      "designColors": {
        "panel": "design",
        "priority": 10,
        "groupName": "colors",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Colors"
          }
        }
      }
    }
  }
}
