{
  "name": "de-machine/carousel",
  "d4Shortcode": "et_pb_de_mach_carousel",
  "title": "Post Carousel",
  "titles": "Post Carousel",
  "category": "module",
  "folder": "divi-machine",
  "moduleIcon": "divi-machine/default-icon",
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}.et_pb_module",
      "advanced": {
        "text": {
          "desktop": {
            "value": {
              "color": "dark"
            }
          }
        }
      },
      "default": {
        "meta": {
          "adminLabel": {
            "desktop": {
              "value": "Post Carousel"
            }
          }
        },
        "decoration": {
          "sizing": {
            "desktop": { "value": {} },
            "tablet": { "value": {} },
            "phone": { "value": {} }
          },
          "spacing": {
            "desktop": { "value": {} },
            "tablet": { "value": {} },
            "phone": { "value": {} }
          },
          "border": {
            "desktop": { "value": {} },
            "tablet": { "value": {} },
            "phone": { "value": {} }
          },
          "boxShadow": {
            "desktop": { "value": {} },
            "tablet": { "value": {} },
            "phone": { "value": {} }
          }
        }
      }
    },
    "product": {
      "type": "object",
      "selector": "{{selector}}",
      "default": {
        "decoration": {
          "boxShadow": {
            "desktop": { "value": {} },
            "tablet": { "value": {} },
            "phone": { "value": {} }
          }
        }
      }
    },
    "mainContent": {
      "type": "object",
      "selector": "{{selector}}",
      "default": {
        "advanced": { 
          "postTypeChoose": {
            "desktop": {
              "value": "post"
            }
          },
          "loopLayout": {
            "desktop": {
              "value": "none"
            }
          },
          "noPostsLayout": {
            "desktop": {
              "value": "none"
            }
          },
          "noPostsLayoutText": {
            "desktop": {
              "value": "Sorry, No posts."
            }
          }
        }
      }
    },
    "loopOptions": {
      "type": "object",
      "selector": "{{selector}}",
      "default": {
        "advanced": {
          "postStatus": {
            "desktop": {
              "value": "publish"
            }
          },
          "postsNumber": {
            "desktop": {
              "value": "10"
            }
          },
          "includeCurrentPost": {
            "desktop": {
              "value": "off"
            }
          },
          "offset": {
            "desktop": {
              "value": "0"
            }
          },
          "saved_type": {
            "desktop": {
              "value": ""
            }
          },
          "relatedPostCategories": {
            "desktop": {
              "value": "default"
            }
          },
          "relatedContentTags": {
            "desktop": {
              "value": "default"
            }
          },
          "relatedTaxonomy": {
            "desktop": {
              "value": "none"
            }
          },
          "suppressFilters": {
            "desktop": {
              "value": "auto"
            }
          },
          "stickyPostsBehavior": {
            "desktop": {
              "value": "include_normally"
            }
          },
          "includeTermsAndLogic": {
            "desktop": {
              "value": "off"
            }
          },
          "excludeTermsAndLogic": {
            "desktop": {
              "value": "off"
            }
          },
          "brandFilter": {
            "desktop": {
              "value": ""
            }
          },
          "postDisplayType": {
            "desktop": {
              "value": "default"
            }
          },
          "showCurrentPost": {
            "desktop": {
              "value": "off"
            }
          },
          "relatedContent": {
            "desktop": {
              "value": "categories"
            }
          },
          "relatedAcfField": {
            "desktop": {
              "value": "none"
            }
          },
          "acfNameRelated": {
            "desktop": {
              "value": "none"
            }
          },
          "acfLinkedAcf": {
            "desktop": {
              "value": "none"
            }
          },
          "specificPostObject": {
            "desktop": {
              "value": "off"
            }
          },
          "includeCurrentTax": {
            "desktop": {
              "value": "off"
            }
          },
          "includeCats": {
            "desktop": {
              "value": ""
            }
          },
          "excludeCategories": {
            "desktop": {
              "value": ""
            }
          },
          "excludeProducts": {
            "desktop": {
              "value": ""
            }
          },
          "includeTags": {
            "desktop": {
              "value": ""
            }
          },
          "excludeTags": {
            "desktop": {
              "value": ""
            }
          },
          "customTaxChoose": {
            "desktop": {
              "value": "none"
            }
          },
          "includeTaxomony": {
            "desktop": {
              "value": ""
            }
          },
          "acfName": {
            "desktop": {
              "value": "none"
            }
          },
          "acfValue": {
            "desktop": {
              "value": ""
            }
          },
          "sortOrder": {
            "desktop": {
              "value": "date"
            }
          },
          "secondarySortOrder": {
            "desktop": {
              "value": "none"
            }
          },
          "acfSortField": {
            "desktop": {
              "value": "none"
            }
          },
          "secondarySortOrderACF": {
            "desktop": {
              "value": "none"
            }
          },
          "acfSortType": {
            "desktop": {
              "value": "string"
            }
          },
          "secondarySortOrderACFType": {
            "desktop": {
              "value": "string"
            }
          },
          "acfDatePickerField": {
            "desktop": {
              "value": "none"
            }
          },
          "secondarySortOrderDatePicker": {
            "desktop": {
              "value": "none"
            }
          },
          "acfDatePickerMethod": {
            "desktop": {
              "value": "default"
            }
          },
          "acfDatePickerCustomDay": {
            "desktop": {
              "value": "30"
            }
          },
          "customFieldMetaKey": {
            "desktop": {
              "value": ""
            }
          },
          "customFieldSortType": {
            "desktop": {
              "value": "string"
            }
          },
          "sortOrderPublishedDateMethod": {
            "desktop": {
              "value": "default"
            }
          },
          "sortOrderPublishedDateCustomDay": {
            "desktop": {
              "value": "30"
            }
          },
          "secondaryCustomFieldMetaKey": {
            "desktop": {
              "value": ""
            }
          },
          "secondaryCustomFieldSortType": {
            "desktop": {
              "value": "string"
            }
          },
          "orderAscDesc": {
            "desktop": {
              "value": "ASC"
            }
          },
          "secondaryOrderBy": {
            "desktop": {
              "value": "ASC"
            }
          }
        }
      }
    },
    "carousel": {
      "type": "object",
      "selector": "{{selector}}",
      "default": {
        "advanced": {
          "sliderLibrary": {
            "desktop": {
              "value": "slick"
            }
          },
          "swiperPrevButtonClass": { 
            "desktop": {
              "value": ".swiper-button-prev"
            }
          },
          "swiperNextButtonClass": {
            "desktop": {
              "value": ".swiper-button-next"
            }
          },
          "postsInView": {
            "desktop": {
              "value": "5"
            },
            "tablet": {
              "value": "4"
            },
            "tabletWide": {
              "value": "3"
            },
            "phone": {
              "value": "1"
            },
            "phoneWide": {
              "value": "2"
            }
          },
          "postsToSlide": {
            "desktop": {
              "value": "1"
            },
            "tablet": {
              "value": "1"
            },
            "tabletWide": {
              "value": "1"
            },
            "phone": {
              "value": "1"
            },
            "phoneWide": {
              "value": "1"
            }
          },
          "enableArrows": {
            "desktop": {
              "value": "on"
            }
          },
          "disableArrowShadow": {
            "desktop": {
              "value": "off"
            }
          },
          "enableDots": {
            "desktop": {
              "value": "off"
            }
          },
          "centerMode": {
            "desktop": {
              "value": "off"
            }
          },
          "centerModePadding": {
            "desktop": {
              "value": "60px"
            }
          },
          "autoplaySpeed": {
            "desktop": {
              "value": ""
            }
          },
          "slideSpeed": {
            "desktop": {
              "value": "300"
            }
          },
          "infinate": {
            "desktop": {
              "value": "off"
            }
          },
          "cssEase": {
            "desktop": {
              "value": "ease"
            }
          },
          "swiperWrapperBackgroundColor": {
            "desktop": { "value": "" }
          },
          "swiperEffect": {
            "desktop": { "value": "default" }
          },
          "swiperGrabCursor": {
            "desktop": { "value": "off" }
          },
          "swiperMousewheel": {
            "desktop": { "value": "off" }
          },
          "swiperKeyboard": {
            "desktop": { "value": "off" }
          },
          "swiperScrollbar": {
            "desktop": { "value": "off" }
          },
          "swiperPaginationType": {
            "desktop": { "value": "bullets" }
          },
          "swiperSpaceBetween": {
            "desktop": { "value": "30px" }
          },
          "swiperRewind": {
            "desktop": { "value": "off" }
          },
          "swiperDirection": {
            "desktop": { "value": "horizontal" }
          },
          "swiperFreeMode": {
            "desktop": { "value": "off" }
          },
          "slickFade": {
            "desktop": { "value": "off" }
          },
          "slickAdaptiveHeight": {
            "desktop": { "value": "off" }
          },
          "slickDraggable": {
            "desktop": { "value": "on" }
          },
          "slickSwipe": {
            "desktop": { "value": "on" }
          },
          "slickSwipeToSlide": {
            "desktop": { "value": "off" }
          },
          "slickPauseOnHover": {
            "desktop": { "value": "on" }
          },
          "slickPauseOnFocus": {
            "desktop": { "value": "on" }
          },
          "slickAccessibility": {
            "desktop": { "value": "on" }
          },
          "slickInitialSlide": {
            "desktop": { "value": "0" }
          },
          "slickWaitForAnimate": {
            "desktop": { "value": "on" }
          },
          "slickRtl": {
            "desktop": { "value": "default" }
          },
          "slickVertical": {
            "desktop": { "value": "off" }
          }
        }
      }
    },
    "background": {
      "type": "object",
      "selector": "{{selector}} .dmach_carousel_container",
      "default": {
        "advanced": {
          "backgroundPosition": {
            "desktop": { "value": "" }
          },
          "backgroundSize": {
            "desktop": { "value": "" }
          },
          "backgroundRepeat": {
            "desktop": { "value": "" }
          },
          "backgroundBlend": {
            "desktop": { "value": "" }
          }
        }
      }
    },
    "extra": {
      "type": "object",
      "selector": "{{selector}}",
      "default": {
        "advanced": {
          "equalHeight": {
            "desktop": {
              "value": "off"
            }
          },
          "linkWholeGird": {
            "desktop": {
              "value": "off"
            }
          },
          "alignLastBottom": {
            "desktop": {
              "value": "off"
            }
          }
        }
      }
    },
    "arrow": {
      "type": "object",
      "selector": "{{selector}}",
      "default": {
        "advanced": {
          "leftIcon": {
            "desktop": {
              "value": "%%19%%"
            }
          },
          "iconFontSize": {
            "desktop": {
              "value": "20px"
            }
          },
          "rightIcon": {
            "desktop": {
              "value": "%%20%%"
            }
          },
          "iconFontSizeNext": {
            "desktop": {
              "value": "20px"
            }
          },
          "arrowsOffset": {
            "desktop": {
              "value": "-25px"
            }
          },
          "arrowsColor": {
            "desktop": {
              "value": "#555"
            }
          },
          "disableArrowsMobile": {
            "desktop": {
              "value": "off"
            },
            "phone": {
              "value": "off"
            }
          },
          "arrowSizeMobile": {
            "desktop": {
              "value": "20px"
            }
          },
          "arrowsOffsetMobile": {
            "desktop": {
              "value": "-25px"
            }
          }
        }
      }
    },
    "dots": {
      "type": "object",
      "default": {
        "advanced": {
          "customDots": {
            "desktop": {
              "value": "on"
            }
          },
          "dotColor": {
            "desktop":{
              "value": "#888"
            }
          },
          "dotColorActive": {
            "desktop":{
              "value": "#000"
            }
          },
          "dotSize": {
            "desktop":{
              "value": "20px"
            }
          }
        }
      }
    },
    "carouselTitleCss": {
      "type": "object",
      "selector": "{{selector}} ul.products li.product .woocommerce-loop-product__title",
      "default": {
        "font": {
          "font": {
            "desktop": {
              "value": {}
            }
          }
        }
      }
    },
    "carouselExcerptCss": {
      "type": "object",
      "selector": "{{selector}} ul.products li.product .woocommerce-product-details__short-description",
      "default": {
        "font": {
          "font": {
            "desktop": {
              "value": {}
            }
          }
        }
      }
    }
  },
  "customCssFields": {
    "image": {
      "label": "Default Layout - Image",
      "subName": "Default Layout - Image",
      "selector": "{{selector}} .et_shop_image",
      "selectorSuffix": ""
    },
    "overlay": {
      "label": "Default Layout - Overlay",
      "subName": "Default Layout - Overlay",
      "selector": "{{selector}} .et_overlay,  {{selector}} .et_pb_extra_overlay",
      "selectorSuffix": ""
    },
    "title": {
      "label": "Default Layout - Title",
      "subName": "Default Layout - Title",
      "selector": "{{selector}} .woocommerce-loop-product__title",
      "selectorSuffix": ""
    }
  },
  "style": ["divi-machine-module-style"]
}