{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "bsb/slider",
  "title": "Slider",
  "category": "widgets",
  "version": "2.1.0",
  "description": "Display Amazing Gutenberg Responsive Image And Content Slider",
  "keywords": [
    "slider",
    "bootstrap",
    "carousel"
  ],
  "textdomain": "b-slider",
  "attributes": {
    "align": {
      "type": "string",
      "default": ""
    },
    "layoutType": {
      "type": "string",
      "default": null
    },
    "sourceType": {
      "type": "string",
      "default": ""
    },
    "postsQuery": {
      "type": "object",
      "default": {
        "post_type": "post",
        "selectedCategories": [],
        "selectedTags": [],
        "per_page": 12,
        "orderby": "date",
        "order": "desc",
        "offset": 0,
        "include": [],
        "exclude": [],
        "selectedTaxonomies": {},
        "isExcludeCurrent": false,
        "isExcerptFromContent": true,
        "excerptLength": 25,
        "paginationCurrentPage": 1,
        "fImgSize": "full",
        "metaDateFormat": "M j, Y",
        "selectedAcfFields": [],
        "acfFieldSettings": {},
        "acfDisplayStyle": "chips",
        "selectedBadges": [],
        "badgeSettings": {},
        "badgeDisplayStyle": "chips",
        "imageField": "",
        "imageSource": "post",
        "imageOverrides": {},
        "titleField": "",
        "titleSource": "post",
        "titleOverrides": {},
        "descField": "",
        "descSource": "post",
        "descOverrides": {},
        "buttonTextField": "",
        "buttonTextSource": "post",
        "buttonTextOverrides": {},
        "buttonLinkField": "",
        "buttonLinkSource": "post",
        "buttonLinkOverrides": {}
      }
    },
    "badgeStyle": {
      "type": "object",
      "default": {
        "typo": {
          "fontSize": {
            "desktop": 12,
            "tablet": 12,
            "mobile": 11
          },
          "fontWeight": 500,
          "lineHeight": "150%"
        },
        "colors": {
          "color": "#ffffff",
          "bg": "rgba(0,0,0,0.65)"
        }
      }
    },
    "badgeAnimation": {
      "type": "object",
      "default": {
        "effect": "fadeInUp",
        "duration": 0.6,
        "start": "afterButton",
        "delay": 0,
        "stagger": 0.12
      }
    },
    "listLayout": {
      "type": "object",
      "default": {
        "listPosition": "below",
        "rows": 4,
        "thumbWidth": 168,
        "thumbRatio": "16/9",
        "rowGap": 8,
        "rowPadding": 8,
        "rowRadius": 10,
        "titleLines": 2,
        "stageRatio": "16/9",
        "stickyStage": false,
        "autoplayNext": true,
        "loopList": false,
        "showFilter": true,
        "showDuration": true,
        "showViews": true,
        "showDate": true,
        "showStageMeta": true,
        "rememberProgress": true,
        "hoverPreviewRows": true,
        "rowBg": "",
        "rowHoverBg": "rgba(0,0,0,0.05)",
        "rowActiveBg": "rgba(24,108,245,0.10)",
        "rowTitleColor": "#111827",
        "rowMetaColor": "#6b7280",
        "activeBarColor": "#ff0000",
        "watchedColor": "#16a34a"
      }
    },
    "socialQuery": {
      "type": "object",
      "default": {
        "feedType": "youtube",
        "activePreset": "",
        "channelId": "",
        "source": "",
        "per_page": 12,
        "videoSet": "latest",
        "playVideo": "popup",
        "miniPosition": "bottom-right",
        "hoverPreview": false,
        "hoverActions": true,
        "instagramEmbedFallback": false,
        "cacheTime": 21600,
        "metaDateFormat": "M j, Y",
        "storeLocal": false,
        "syncInterval": 21600,
        "seoSchema": "video",
        "linkTarget": "",
        "defaultImageUrl": "",
        "imageFit": "blur",
        "titleLength": -1,
        "keywordFilter": "",
        "excludeKeywordFilter": "",
        "feedOrderBy": "date_desc",
        "feedOffset": 0,
        "feedAgeLimit": 0,
        "selectedBadges": [],
        "badgeSettings": {},
        "badgeDisplayStyle": "chips",
        "jsonRootKey": "",
        "jsonImageKey": "",
        "jsonTitleKey": "",
        "jsonLinkKey": "",
        "jsonExcerptKey": "",
        "jsonButtonTextKey": "",
        "jsonDateKey": "",
        "jsonAuthorKey": "",
        "showHeader": false,
        "headerStyle": "card",
        "showChannelStats": false,
        "showHeaderBanner": false,
        "headerBanner": "",
        "headerBannerHeight": 180,
        "headerAvatar": "",
        "headerName": "",
        "headerBio": "",
        "headerLink": "",
        "headerFollowText": "Follow",
        "showFollowers": false,
        "showFollowButton": false,
        "followButtonText": "",
        "followButtonAlign": "center",
        "ytQueryType": "channel",
        "ytSearchTerm": "",
        "ytPlaylistId": "",
        "ytThumbQuality": "maxresdefault",
        "ytPrivacyStatus": "all",
        "usePlyr": true,
        "ytAutoplay": true,
        "ytMute": false,
        "ytControls": true,
        "ytFullscreen": true,
        "ytKeyboard": true,
        "ytCaptions": false,
        "ytNoCookie": true,
        "ytRel": false,
        "ytLazy": true,
        "rssTimezoneOffset": "",
        "rssTranslateDate": "",
        "rssLocalTimezone": false,
        "igAllowImage": true,
        "igAllowAlbum": true,
        "igAllowVideo": true,
        "showLikesComments": false,
        "hoverActionsPosition": "top-right",
        "showSourceIcon": true,
        "showPlayIcon": true,
        "igAutoplay": true,
        "igMute": true,
        "igControls": true,
        "igLoop": true
      }
    },
    "woocommerceQuery": {
      "type": "object",
      "default": {
        "categories": [],
        "limit": -1,
        "order_by": "menu_order",
        "order": ""
      }
    },
    "button": {
      "type": "object",
      "default": {
        "isVisible": true,
        "text": "Learn More"
      }
    },
    "cId": {
      "type": "string",
      "default": ""
    },
    "sliders": {
      "type": "array",
      "default": [
        {
          "img": {
            "url": "https://templates.bplugins.com/wp-content/uploads/2025/02/n-39.jpg"
          },
          "video": "",
          "title": null,
          "desc": "Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
          "altText": null
        },
        {
          "img": {
            "url": "https://templates.bplugins.com/wp-content/uploads/2025/02/n-38.jpg"
          },
          "video": "",
          "isPoster": true,
          "title": null,
          "desc": "Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
        }
      ]
    },
    "columns": {
      "type": "object",
      "default": {
        "desktop": 3,
        "tablet": 2,
        "mobile": 1
      }
    },
    "columnGap": {
      "type": "string",
      "default": "30px"
    },
    "rowGap": {
      "type": "string",
      "default": "30px"
    },
    "carousel": {
      "type": "object",
      "default": {
        "carouselStyle": "standard",
        "isAutoPlay": true,
        "autoPlayDelay": 2000,
        "mousewheel": false,
        "effect": "none",
        "grabCursor": false,
        "loop": true,
        "reverseDirection": false,
        "caroDirection": "horizontal",
        "navigation": true,
        "pagination": true,
        "itemsPerSlide": 1,
        "groupColumns": 1
      }
    },
    "grid": {
      "type": "object",
      "default": {
        "paginationType": "pagination",
        "loadMoreBtn": {
          "typo": {
            "fontSize": {
              "desktop": 15,
              "tablet": 15,
              "mobile": 14
            },
            "fontWeight": 600,
            "lineHeight": "140%"
          },
          "colors": {
            "color": "#000",
            "bg": "#f0f0f1"
          },
          "hovColors": {
            "color": "#fff",
            "bg": "#000"
          },
          "padding": {
            "top": "10px",
            "right": "20px",
            "bottom": "10px",
            "left": "20px"
          },
          "border": {
            "color": "#e1e1e1",
            "style": "solid",
            "width": "0px"
          },
          "radius": {
            "top": "3px",
            "right": "3px",
            "bottom": "3px",
            "left": "3px"
          }
        }
      }
    },
    "thumbnails": {
      "type": "object",
      "default": {
        "overly": {
          "color": ""
        },
        "height": {
          "desktop": "120px",
          "tablet": "",
          "mobile": ""
        },
        "position": {
          "desktop": "bottom"
        },
        "width": {
          "desktop": "30%",
          "tablet": "20%",
          "mobile": "15%"
        },
        "active": {
          "color": "#00000000",
          "border": {
            "color": "#000",
            "style": "solid",
            "width": "0px"
          }
        },
        "mode": "slider",
        "showStage": true,
        "showDuration": false,
        "showPlay": false,
        "navPosition": "overlay",
        "cardStyle": "bare",
        "showCardTitle": false,
        "showCardMeta": false,
        "showCardExcerpt": false
      }
    },
    "videoConf": {
      "type": "object",
      "default": {
        "controls": {
          "play-large": true,
          "restart": false,
          "rewind": true,
          "play": true,
          "fast-forward": true,
          "progress": true,
          "current-time": true,
          "duration": false,
          "mute": true,
          "volume": true,
          "pip": false,
          "airplay": false,
          "settings": true,
          "download": false,
          "fullscreen": true
        },
        "isPopup": true,
        "icon": true,
        "repeat": false,
        "isAutoPlay": false,
        "muted": false,
        "resetOnEnd": false,
        "autoHideControl": true
      }
    },
    "title": {
      "type": "object",
      "default": {
        "isVisible": true,
        "tag": "h5"
      }
    },
    "desc": {
      "type": "object",
      "default": {
        "isVisible": true
      }
    },
    "caption": {
      "type": "object",
      "default": {
        "display": "always",
        "background": "solid"
      }
    },
    "image": {
      "type": "object",
      "default": {
        "hover": "none",
        "linkTarget": "",
        "link": "none"
      }
    },
    "headerNameTypo": {
      "type": "object",
      "default": {
        "fontSize": {
          "desktop": 16,
          "tablet": 16,
          "mobile": 15
        },
        "fontWeight": 700,
        "lineHeight": "120%"
      }
    },
    "headerNameColor": {
      "type": "string",
      "default": ""
    },
    "likesCommentsColor": {
      "type": "string",
      "default": ""
    },
    "playIconColor": {
      "type": "string",
      "default": ""
    },
    "playIconBg": {
      "type": "string",
      "default": ""
    },
    "playIconHoverBg": {
      "type": "string",
      "default": ""
    },
    "likesCommentsTypo": {
      "type": "object",
      "default": {
        "fontSize": {
          "desktop": 14,
          "tablet": 14,
          "mobile": 13
        },
        "fontWeight": 500,
        "lineHeight": "120%"
      }
    },
    "cardLayout": {
      "type": "boolean",
      "default": false
    },
    "cardBgColor": {
      "type": "string",
      "default": ""
    },
    "cardPadding": {
      "type": "object",
      "default": {
        "top": "16px",
        "right": "16px",
        "bottom": "16px",
        "left": "16px"
      }
    },
    "cardRadius": {
      "type": "object",
      "default": {
        "top": "8px",
        "right": "8px",
        "bottom": "8px",
        "left": "8px"
      }
    },
    "headerBioTypo": {
      "type": "object",
      "default": {
        "fontSize": {
          "desktop": 13,
          "tablet": 13,
          "mobile": 12
        },
        "fontWeight": 400,
        "lineHeight": "130%"
      }
    },
    "headerBioColor": {
      "type": "string",
      "default": "#666666"
    },
    "headerFollowersTypo": {
      "type": "object",
      "default": {
        "fontSize": {
          "desktop": 13,
          "tablet": 13,
          "mobile": 12
        },
        "fontWeight": 400,
        "lineHeight": "130%"
      }
    },
    "headerFollowersColor": {
      "type": "string",
      "default": "#666666"
    },
    "headerBtnTypo": {
      "type": "object",
      "default": {
        "fontSize": {
          "desktop": 13,
          "tablet": 13,
          "mobile": 12
        },
        "fontWeight": 600,
        "lineHeight": "120%"
      }
    },
    "headerBtnColors": {
      "type": "object",
      "default": {
        "color": "#ffffff",
        "bg": "#0095f6"
      }
    },
    "titleFCaption": {
      "type": "boolean",
      "default": false
    },
    "titleAnimation": {
      "type": "object",
      "default": {
        "effect": "fadeInLeft",
        "delay": 0,
        "duration": 0.7
      }
    },
    "descAnimation": {
      "type": "object",
      "default": {
        "effect": "fadeInRight",
        "delay": 0.7,
        "duration": 0.7
      }
    },
    "btnAnimation": {
      "type": "object",
      "default": {
        "effect": "zoomIn",
        "delay": 1.4,
        "duration": 0.7
      }
    },
    "isMouseWheel": {
      "type": "boolean",
      "default": false
    },
    "isArrowFollowSlide": {
      "type": "boolean",
      "default": false
    },
    "isMouseDrag": {
      "type": "boolean",
      "default": false
    },
    "slideInnerGap": {
      "type": "string",
      "default": "180px"
    },
    "slideInnerGapDevice": {
      "type": "object",
      "default": {
        "desktop": "180px",
        "tablet": "140px",
        "mobile": "100px"
      }
    },
    "titleTypo": {
      "type": "object",
      "default": {
        "fontSize": {
          "desktop": 20,
          "tablet": 20,
          "mobile": 15
        },
        "fontWeight": 700,
        "lineHeight": "135%"
      }
    },
    "titleColor": {
      "type": "string",
      "default": "#fff"
    },
    "titleMargin": {
      "type": "object",
      "default": {
        "top": "5px",
        "right": "0px",
        "bottom": "5px",
        "left": "0px"
      }
    },
    "descTypo": {
      "type": "object",
      "default": {
        "fontSize": {
          "desktop": 18,
          "tablet": 20,
          "mobile": 15
        },
        "fontWeight": 400,
        "lineHeight": "135%"
      }
    },
    "descColor": {
      "type": "string",
      "default": "#fff"
    },
    "descMargin": {
      "type": "object",
      "default": {
        "top": "5px",
        "right": "0px",
        "bottom": "5px",
        "left": "0px"
      }
    },
    "btnTypo": {
      "type": "object",
      "default": {
        "fontSize": {
          "desktop": 20,
          "tablet": 20,
          "mobile": 15
        },
        "fontWeight": 500,
        "lineHeight": "135%"
      }
    },
    "btnColors": {
      "type": "object",
      "default": {
        "color": "#fff",
        "bg": ""
      }
    },
    "btnHovColors": {
      "type": "object",
      "default": {
        "color": "#000",
        "bg": "#fff"
      }
    },
    "btnPadding": {
      "type": "object",
      "default": {
        "top": "5px",
        "right": "8px",
        "bottom": "5px",
        "left": "8px"
      }
    },
    "btnBorder": {
      "type": "object",
      "default": {
        "color": "#e1e1e1",
        "style": "solid",
        "width": "3px"
      }
    },
    "btnRadius": {
      "type": "string",
      "default": "0px"
    },
    "gridItemRatio": {
      "type": "string",
      "default": "1/1"
    },
    "arrow": {
      "type": "object",
      "default": {
        "visibility": true,
        "size": 48,
        "color": "#fff",
        "bg": "rgba(17, 17, 17, 0.55)"
      }
    },
    "arrowWidth": {
      "type": "string",
      "default": "50px"
    },
    "deviceArrowWidth": {
      "type": "object",
      "default": {
        "desktop": "50px",
        "tablet": "40px",
        "mobile": "30px"
      }
    },
    "deviceArrowHeight": {
      "type": "object",
      "default": {
        "desktop": "50px",
        "tablet": "40px",
        "mobile": "30px"
      }
    },
    "arrowHeight": {
      "type": "string",
      "default": "50px"
    },
    "arrowRadius": {
      "type": "object",
      "default": {
        "top": "3px",
        "bottom": "3px",
        "left": "3px",
        "right": "3px"
      }
    },
    "arrowBorder": {
      "type": "object",
      "default": {
        "color": "#000",
        "style": "solid",
        "width": "0px"
      }
    },
    "arrowStyle": {
      "type": "string",
      "default": "style1"
    },
    "indicator": {
      "type": "object",
      "default": {
        "visibility": true,
        "type": "default",
        "style": "",
        "color": "#000",
        "activeColor": "#fff",
        "width": "30px",
        "height": "3px",
        "radius": "0px",
        "activeBorder": {
          "color": "#e1e1e1",
          "style": "solid",
          "width": "4px"
        },
        "moveFromEdge": "-15px",
        "position": "bottom-center",
        "direction": "horizontal"
      }
    },
    "SliderOverly": {
      "type": "string",
      "default": "#00000088"
    },
    "direction": {
      "type": "string",
      "default": "default"
    },
    "options": {
      "type": "object",
      "default": {
        "interval": 2000,
        "ride": false,
        "pause": false,
        "height": 400,
        "shuffle": false
      }
    },
    "animation": {
      "type": "string",
      "default": "default"
    },
    "position": {
      "type": "string",
      "default": "bottom center"
    },
    "height": {
      "type": "string",
      "default": "450px"
    },
    "sliderHeight": {
      "type": "object",
      "default": {}
    },
    "borderRadius": {
      "type": "object",
      "default": {
        "top": "3px",
        "right": "3px",
        "bottom": "3px",
        "left": "3px"
      }
    },
    "margin": {
      "type": "object",
      "default": {
        "top": "0px",
        "right": "0px",
        "bottom": "0px",
        "left": "0px"
      }
    },
    "isLazyLoad": {
      "type": "boolean",
      "default": false
    }
  },
  "supports": {
    "align": [
      "wide",
      "full"
    ],
    "html": false
  },
  "example": {
    "attributes": {}
  },
  "editorScript": [
    "file:./index.js",
    "jquery",
    "bootstrap",
    "lazyLoad",
    "b-slider-plyr-script",
    "wp-api",
    "wp-util"
  ],
  "editorStyle": "file:./index.css",
  "style": [
    "file:./view.css",
    "bootstrap",
    "b-slider-plyr-style"
  ],
  "render": "file:./render.php",
  "viewScript": [
    "file:./view.js",
    "jquery",
    "bootstrap",
    "lazyLoad",
    "b-slider-plyr-script",
    "wp-util",
    "wp-api"
  ]
}