{
  "_comment": "!!! THIS IS AN AUTOMATICALLY GENERATED FILE - DO NOT EDIT !!!",
  "name": "squad-modules/star-rating",
  "d4Shortcode": "disq_star_rating",
  "title": "Star Rating",
  "titles": "Star Ratings",
  "moduleIcon": "squad-modules/star-rating",
  "moduleClassName": "disq_star_rating",
  "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": "Star Rating"
            }
          }
        }
      },
      "styleProps": {
        "spacing": {
          "important": true
        }
      }
    },
    "content": {
      "type": "object",
      "selector": "{{selector}} .star-rating-wrapper",
      "settings": {
        "innerContent": {
          "groupType": "group-items",
          "items": {
            "ratingScale": {
              "groupSlug": "contentRating",
              "attrName": "content.innerContent",
              "subName": "ratingScale",
              "label": "Rating Scale",
              "description": "Choose a rating scale for ratings.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 10,
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "5": {
                      "label": "0 - 5"
                    },
                    "10": {
                      "label": "0 - 10"
                    }
                  }
                }
              }
            },
            "rating": {
              "groupSlug": "contentRating",
              "attrName": "content.innerContent",
              "subName": "rating",
              "label": "Rating",
              "description": "Choose the rating value.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 20,
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 0,
                  "max": 10,
                  "step": 0.1,
                  "allowedUnits": [],
                  "defaultUnit": ""
                }
              }
            },
            "title": {
              "groupSlug": "contentRating",
              "attrName": "content.innerContent",
              "subName": "title",
              "label": "Title",
              "description": "The text will appear with your star rating.",
              "features": {
                "dynamicContent": {
                  "type": "text"
                },
                "sticky": false
              },
              "render": true,
              "priority": 30,
              "component": {
                "type": "field",
                "name": "divi/text"
              }
            },
            "titlePosition": {
              "groupSlug": "contentRating",
              "attrName": "content.innerContent",
              "subName": "titlePosition",
              "label": "Title Position",
              "description": "Choose where the title appears relative to the stars.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 40,
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "left": {
                      "label": "Left"
                    },
                    "right": {
                      "label": "Right"
                    },
                    "top": {
                      "label": "Top"
                    },
                    "bottom": {
                      "label": "Bottom"
                    }
                  }
                }
              }
            },
            "showNumber": {
              "groupSlug": "contentRating",
              "attrName": "content.innerContent",
              "subName": "showNumber",
              "label": "Show Rating Number",
              "description": "Choose whether or not to display the rating number after the stars.",
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false
              },
              "render": true,
              "priority": 50,
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            },
            "starsColor": {
              "groupSlug": "contentRating",
              "attrName": "content.innerContent",
              "subName": "starsColor",
              "label": "Stars Color",
              "description": "Define a custom color for the stars.",
              "features": {
                "sticky": false
              },
              "render": true,
              "priority": 60,
              "component": {
                "type": "field",
                "name": "divi/color-picker"
              }
            }
          }
        }
      },
      "default": {
        "innerContent": {
          "desktop": {
            "value": {
              "ratingScale": "5",
              "rating": "5",
              "title": "Star Rating",
              "titlePosition": "left",
              "showNumber": "off",
              "starsColor": "#f0ad4e"
            }
          }
        }
      }
    }
  },
  "customCssFields": {
    "title": {
      "label": "Title",
      "subName": "title",
      "selectorSuffix": " .star-rating-title"
    },
    "stars": {
      "label": "Star",
      "subName": "stars",
      "selectorSuffix": " .star-rating i"
    },
    "ratingNumber": {
      "label": "Rating Number",
      "subName": "ratingNumber",
      "selectorSuffix": " .star-rating-text"
    }
  },
  "settings": {
    "groups": {
      "contentRating": {
        "panel": "content",
        "priority": 10,
        "groupName": "content",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Rating"
          }
        }
      }
    }
  }
}
