{
  "name": "divitorque/business-hour-item",
  "d4Shortcode": "ba_business_hour_child",
  "moduleClassName": "dtq_business_hour_item",
  "moduleOrderClassName": "dtq_business_hour_item",
  "title": "Business Hour",
  "titles": "Business Hours",
  "moduleIcon": "divitorque/business-hour-item",
  "category": "child-module",
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}",
      "default": {
        "advanced": {
          "separatorType": { "desktop": { "value": "relative" } },
          "separatorGap": { "desktop": { "value": "15px" } },
          "separatorColor": { "desktop": { "value": "#dddddd" } },
          "separatorWeight": { "desktop": { "value": "1px" } },
          "separatorHeight": { "desktop": { "value": "10px" } }
        }
      },
      "settings": {
        "meta": { "adminLabel": {} },
        "advanced": {
          "htmlAttributes": {},
          "separatorType": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designSeparator",
              "attrName": "module.advanced.separatorType",
              "label": "Separator Type",
              "description": "Select text separator type.",
              "priority": 10,
              "render": true,
              "features": { "sticky": false, "responsive": false, "hover": false },
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "relative": { "label": "Relative to Parent" },
                    "solid_border": { "label": "Solid" },
                    "double_border": { "label": "Double" },
                    "dotted_border": { "label": "Dotted" },
                    "dashed_border": { "label": "Dashed" },
                    "curved_pattern": { "label": "Curved" },
                    "zigzag_pattern": { "label": "Zigzag" }
                  }
                }
              }
            }
          },
          "separatorGap": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designSeparator",
              "attrName": "module.advanced.separatorGap",
              "label": "Separator Spacing",
              "description": "Define separator both side spacing.",
              "priority": 20,
              "render": true,
              "features": { "sticky": false, "responsive": false, "hover": false },
              "component": { "type": "field", "name": "divi/range", "props": { "min": 0, "max": 100, "step": 1, "defaultUnit": "px" } }
            }
          },
          "separatorColor": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designSeparator",
              "attrName": "module.advanced.separatorColor",
              "label": "Separator Color",
              "description": "Here you can define a custom color for your text separator.",
              "priority": 30,
              "render": true,
              "features": { "sticky": false, "responsive": false, "hover": false },
              "component": { "type": "field", "name": "divi/color-picker", "props": { "isAlpha": true } }
            }
          },
          "separatorWeight": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designSeparator",
              "attrName": "module.advanced.separatorWeight",
              "label": "Separator Weight",
              "description": "Here you can define a custom depth for your text separator.",
              "priority": 40,
              "render": true,
              "features": { "sticky": false, "responsive": false, "hover": false },
              "component": { "type": "field", "name": "divi/range", "props": { "min": 0, "max": 15, "step": 0.1, "defaultUnit": "px" } }
            }
          },
          "separatorHeight": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designSeparator",
              "attrName": "module.advanced.separatorHeight",
              "label": "Separator Height",
              "description": "Here you can define a custom height for your text separator.",
              "priority": 50,
              "render": true,
              "features": { "sticky": false, "responsive": false, "hover": false },
              "component": { "type": "field", "name": "divi/range", "props": { "min": 0, "max": 100, "step": 1, "defaultUnit": "px" } }
            }
          }
        },
        "decoration": {
          "animation": {},
          "layout": {},
          "filters": {},
          "sizing": {},
          "transform": {},
          "transition": {},
          "disabledOn": {}
        }
      }
    },
    "day": {
      "type": "object",
      "selector": ".dtq-business-hour {{selector}} .dtq-business-hour-day",
      "elementType": "content",
      "tagName": "div",
      "inlineEditor": "plainText",
      "attributes": {
        "class": "dtq-business-hour-day"
      },
      "childrenSanitizer": "et_core_esc_previously",
      "default": {
        "decoration": {
          "font": {
            "font": {
              "desktop": {
                "value": {
                  "size": "14px"
                }
              }
            }
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentMain",
            "priority": 10,
            "render": true,
            "attrName": "day.innerContent",
            "label": "Day",
            "description": "Define the day your for business hour.",
            "component": { "type": "field", "name": "divi/text" },
            "features": { "sticky": false, "responsive": false, "hover": false, "dynamicContent": true }
          }
        },
        "decoration": {
          "font": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designDay",
              "priority": 10,
              "render": true,
              "component": {
                "name": "divi/font",
                "type": "group",
                "props": {
                  "grouped": false,
                  "fieldLabel": "Day"
                }
              }
            }
          }
        }
      }
    },
    "time": {
      "type": "object",
      "selector": ".dtq-business-hour {{selector}} .dtq-business-hour-time",
      "elementType": "content",
      "tagName": "div",
      "inlineEditor": "plainText",
      "attributes": {
        "class": "dtq-business-hour-time"
      },
      "childrenSanitizer": "et_core_esc_previously",
      "default": {
        "decoration": {
          "font": {
            "font": {
              "desktop": {
                "value": {
                  "size": "14px"
                }
              }
            }
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentMain",
            "priority": 20,
            "render": true,
            "attrName": "time.innerContent",
            "label": "Time",
            "description": "Define the time your for business hour.",
            "component": { "type": "field", "name": "divi/text" },
            "features": { "sticky": false, "responsive": false, "hover": false, "dynamicContent": true }
          }
        },
        "decoration": {
          "font": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designTime",
              "priority": 10,
              "render": true,
              "component": {
                "name": "divi/font",
                "type": "group",
                "props": {
                  "grouped": false,
                  "fieldLabel": "Time"
                }
              }
            }
          }
        }
      }
    },
    "item": {
      "type": "object",
      "selector": ".dtq-business-hour {{selector}} .dtq-business-hour-child",
      "settings": {
        "decoration": {
          "background": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designItem",
              "priority": 10,
              "render": true,
              "attrName": "item.decoration.background",
              "component": {
                "name": "divi/background",
                "type": "group",
                "props": {
                  "grouped": false,
                  "fieldLabel": "Item"
                }
              }
            }
          },
          "border": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designItem",
              "priority": 20,
              "render": true,
              "attrName": "item.decoration.border",
              "component": {
                "name": "divi/border",
                "type": "group",
                "props": {
                  "grouped": false,
                  "fieldLabel": "Item"
                }
              }
            }
          },
          "boxShadow": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designItem",
              "priority": 30,
              "render": true,
              "attrName": "item.decoration.boxShadow",
              "component": {
                "name": "divi/box-shadow",
                "type": "group",
                "props": {
                  "grouped": false,
                  "fieldLabel": "Item"
                }
              }
            }
          },
          "spacing": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designItem",
              "priority": 40,
              "render": true,
              "attrName": "item.decoration.spacing",
              "component": {
                "name": "divi/spacing",
                "type": "group",
                "props": {
                  "grouped": false,
                  "fieldLabel": "Item"
                }
              }
            }
          }
        }
      }
    }
  },
  "customCssFields": {
    "day": { "subName": "day", "selectorSuffix": " .dtq-business-hour-day" },
    "time": { "subName": "time", "selectorSuffix": " .dtq-business-hour-time" },
    "separator": { "subName": "separator", "selectorSuffix": " .dtq-business-hour-separator" }
  },
  "settings": {
    "content": "auto",
    "design": "auto",
    "advanced": "auto",
    "groups": {
      "contentMain": {
        "panel": "content",
        "priority": 10,
        "groupName": "main",
        "component": { "name": "divi/composite", "props": { "groupLabel": "Content" } }
      },
      "designItem": {
        "panel": "design",
        "priority": 10,
        "groupName": "item",
        "component": { "name": "divi/composite", "props": { "groupLabel": "Item" } }
      },
      "designDay": {
        "panel": "design",
        "priority": 20,
        "groupName": "day",
        "multiElements": true,
        "component": { "name": "divi/composite", "props": { "groupLabel": "Day Text", "clipboardCategory": "style", "presetGroup": "divi/font" } }
      },
      "designTime": {
        "panel": "design",
        "priority": 30,
        "groupName": "time",
        "multiElements": true,
        "component": { "name": "divi/composite", "props": { "groupLabel": "Time Text", "clipboardCategory": "style", "presetGroup": "divi/font" } }
      },
      "designSeparator": {
        "panel": "design",
        "priority": 40,
        "groupName": "separator",
        "component": { "name": "divi/composite", "props": { "groupLabel": "Separator" } }
      }
    }
  }
}
