{
  "_comment": "!!! THIS IS AN AUTOMATICALLY GENERATED FILE - DO NOT EDIT !!!",
  "name": "divi/counter",
  "d4Shortcode": "et_pb_counter",
  "title": "Bar Counter",
  "titles": "Bar Counter",
  "moduleIcon": "divi/module-bar-counter",
  "category": "child-module",
  "childrenName": [],
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}",
      "settings": {
        "meta": {},
        "advanced": {
          "elements": {},
          "html": {},
          "link": {},
          "loop": {},
          "text": {}
        },
        "decoration": {
          "layout": {},
          "animation": {},
          "attributes": {},
          "conditions": {},
          "filters": {},
          "interactions": {},
          "overflow": {},
          "order": {},
          "position": {},
          "scroll": {},
          "spacing": {},
          "transform": {},
          "transition": {},
          "zIndex": {}
        }
      },
      "styleProps": {
        "spacing": {
          "selector": "{{selectorPrefix}}.et_pb_counters {{baseSelector}}",
          "propertySelectors": {
            "desktop": {
              "value": {
                "padding": "{{selectorPrefix}}.et_pb_counters {{baseSelector}} .et_pb_counter_amount"
              }
            }
          }
        }
      }
    },
    "barCounter": {
      "type": "object",
      "selector": "{{selectorPrefix}}.et_pb_counters li{{baseSelector}} .et_pb_counter_container",
      "supportsCustomAttributes": true,
      "settings": {
        "decoration": {
          "background": {},
          "border": {},
          "boxShadow": {},
          "sizing": {}
        }
      },
      "styleProps": {
        "background": {
          "important": true
        },
        "sizing": {
          "selector": "{{selector}} .et_pb_counter_container, {{selector}} .et_pb_counter_container .et_pb_counter_amount",
          "propertySelectors": {
            "desktop": {
              "value": {
                "width": "{{selector}}"
              }
            }
          }
        },
        "border": {
          "selector": "{{selector}} span.et_pb_counter_container",
          "propertySelectors": {
            "desktop": {
              "value": {
                "border-radius": "{{selector}} span.et_pb_counter_container, {{selector}} span.et_pb_counter_amount"
              }
            }
          }
        },
        "boxShadow": {
          "selector": "{{selector}} span.et_pb_counter_container"
        }
      },
      "styleComponentsProps": {
        "background": {
          "settings": {
            "video": true,
            "pattern": true,
            "mask": true
          }
        },
        "boxShadow": {
          "settings": {
            "overlay": true
          }
        }
      }
    },
    "title": {
      "type": "object",
      "selector": "{{selectorPrefix}}.et_pb_counters {{baseSelector}} .et_pb_counter_title",
      "supportsCustomAttributes": true,
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentText",
            "category": "basic_option",
            "priority": 10,
            "render": true,
            "label": "Title",
            "description": "Input a title for the counter.",
            "features": {
              "dynamicContent": {
                "type": "text"
              },
              "preset": "content"
            },
            "component": {
              "name": "divi/text",
              "type": "field"
            }
          }
        },
        "decoration": {
          "font": {
            "component": {
              "props": {
                "fieldLabel": "Title",
                "groupLabel": "Title Text",
                "fields": {
                  "headingLevel": {
                    "render": false
                  }
                }
              }
            }
          }
        }
      },
      "attributes": {
        "class": "et_pb_counter_title"
      },
      "tagName": "span",
      "inlineEditor": "plainText",
      "childrenSanitizer": "et_core_esc_previously",
      "styleProps": {
        "font": {
          "important": {
            "font": {
              "desktop": {
                "value": {
                  "color": true
                }
              }
            }
          }
        }
      }
    },
    "barProgress": {
      "type": "object",
      "selector": "{{selectorPrefix}}.et_pb_counters {{baseSelector}} .et_pb_counter_amount_number",
      "supportsCustomAttributes": true,
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentText",
            "category": "basic_option",
            "priority": 20,
            "render": true,
            "label": "Percent",
            "description": "Define a percentage for this bar.",
            "features": {
              "sticky": false,
              "preset": "content"
            },
            "component": {
              "name": "divi/text",
              "type": "field"
            }
          }
        },
        "decoration": {
          "background": {
            "panel": "design",
            "priority": 5,
            "groupName": "background",
            "groupType": "group",
            "component": {
              "name": "divi/composite",
              "props": {
                "groupLabel": "Bar Counter",
                "clipboardCategory": "style",
                "fields": {
                  "color": {
                    "subName": "color",
                    "label": "Bar Background Color",
                    "description": "This will change the fill color for the bar.",
                    "groupName": "divi/background",
                    "priority": 10,
                    "render": true,
                    "component": {
                      "type": "field",
                      "name": "divi/color-picker",
                      "props": {}
                    }
                  }
                }
              }
            }
          },
          "font": {
            "component": {
              "props": {
                "fieldLabel": "Percentage",
                "groupLabel": "Percentage Text"
              }
            }
          }
        }
      },
      "styleProps": {
        "background": {
          "selector": "{{baseSelector}} .et_pb_counter_container .et_pb_counter_amount",
          "selectors": {
            "desktop": {
              "value": "{{baseSelector}} .et_pb_counter_container .et_pb_counter_amount",
              "hover": "{{baseSelector}} .et_pb_counter_container{{:hover}} .et_pb_counter_amount"
            }
          }
        },
        "font": {
          "propertySelectors": {
            "font": {
              "desktop": {
                "value": {
                  "text-align": "{{selectorPrefix}}.et_pb_counters {{baseSelector}} .et_pb_counter_amount"
                }
              }
            }
          },
          "important": {
            "font": {
              "desktop": {
                "value": {
                  "text-align": true,
                  "color": true
                }
              }
            }
          }
        }
      }
    }
  },
  "customCssFields": {
    "counterTitle": {
      "label": "Counter Title",
      "subName": "counterTitle",
      "selectorSuffix": " .et_pb_counter_title"
    },
    "counterContainer": {
      "label": "Counter Container",
      "subName": "counterContainer",
      "selectorSuffix": " .et_pb_counter_container"
    },
    "counterAmount": {
      "label": "Counter Amount",
      "subName": "counterAmount",
      "selectorSuffix": " .et_pb_counter_amount"
    }
  },
  "settings": {
    "content": "auto",
    "design": "auto",
    "advanced": "auto",
    "groups": {
      "contentText": {
        "panel": "content",
        "priority": 10,
        "multiElements": true,
        "groupName": "text",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Text"
          }
        }
      }
    }
  }
}