<?php

class CT_CtPortfolioCarousel_Widget extends Case_Theme_Core_Widget_Base{
    protected $name = 'ct_portfolio_carousel';
    protected $title = 'Case Portfolio Carousel';
    protected $icon = 'eicon-posts-carousel';
    protected $categories = array( 'case-theme-core' );
    protected $params = '{"sections":[{"name":"layout_section","label":"Layout","tab":"layout","controls":[{"name":"layout","label":"Templates","type":"layoutcontrol","default":"1","options":{"1":{"label":"Layout 1","image":"https:\/\/skilmissionacademy.com\/wp-content\/themes\/bixol\/elementor\/templates\/widgets\/ct_portfolio_carousel\/layout-image\/layout1.jpg"},"2":{"label":"Layout 2","image":"https:\/\/skilmissionacademy.com\/wp-content\/themes\/bixol\/elementor\/templates\/widgets\/ct_portfolio_carousel\/layout-image\/layout2.jpg"},"3":{"label":"Layout 3","image":"https:\/\/skilmissionacademy.com\/wp-content\/themes\/bixol\/elementor\/templates\/widgets\/ct_portfolio_carousel\/layout-image\/layout3.jpg"},"4":{"label":"Layout 4","image":"https:\/\/skilmissionacademy.com\/wp-content\/themes\/bixol\/elementor\/templates\/widgets\/ct_portfolio_carousel\/layout-image\/layout4.jpg"},"5":{"label":"Layout 5","image":"https:\/\/skilmissionacademy.com\/wp-content\/themes\/bixol\/elementor\/templates\/widgets\/ct_portfolio_carousel\/layout-image\/layout5.jpg"},"6":{"label":"Layout 6","image":"https:\/\/skilmissionacademy.com\/wp-content\/themes\/bixol\/elementor\/templates\/widgets\/ct_portfolio_carousel\/layout-image\/layout6.jpg"}}}]},{"name":"source_section","label":"Source","tab":"content","controls":[{"name":"source","label":"Select Categories","type":"select2","multiple":true,"options":{"kitchen|portfolio-category":"Kitchen","office-cleaning|portfolio-category":"Office cleaning","plumbing|portfolio-category":"Plumbing","window-cleaning|portfolio-category":"Window cleaning"}},{"name":"orderby","label":"Order By","type":"select","default":"date","options":{"date":"Date","ID":"ID","author":"Author","title":"Title","rand":"Random"}},{"name":"order","label":"Sort Order","type":"select","default":"desc","options":{"desc":"Descending","asc":"Ascending"}},{"name":"limit","label":"Total items","type":"number","default":"6"}]},{"name":"display_section","label":"Display Options","tab":"content","controls":[{"name":"thumbnail","type":"image-size","control_type":"group","default":"custom","condition":{"layout":["2","3"]}},{"name":"show_category","label":"Show Category","type":"switcher","default":"true","condition":{"layout":["2","3","4"]}},{"name":"show_button","label":"Show Button Readmore","type":"switcher","default":"true","condition":{"layout":["2","3","4","6"]}},{"name":"button_text","label":"Button Text","type":"text","condition":{"show_button":"true","layout":["2"]}},{"name":"show_sub_title","label":"Show Sub Title","type":"switcher","default":"true","condition":{"layout":["6"]}},{"name":"title_typography","label":"Title Typography","type":"typography","control_type":"group","selector":"{{WRAPPER}} .ct-slick-slider .item--title"}]},{"name":"section_carousel_settings","label":"Carousel","tab":"content","controls":[{"name":"col_xs","label":"Columns XS Devices","type":"select","default":"1","options":{"1":"1","2":"2","3":"3","4":"4","6":"6"}},{"name":"col_sm","label":"Columns SM Devices","type":"select","default":"2","options":{"1":"1","2":"2","3":"3","4":"4","6":"6"}},{"name":"col_md","label":"Columns MD Devices","type":"select","default":"3","options":{"1":"1","2":"2","3":"3","4":"4","6":"6"}},{"name":"col_lg","label":"Columns LG Devices","type":"select","default":"3","options":{"1":"1","2":"2","3":"3","4":"4","6":"6"}},{"name":"col_xl","label":"Columns XL Devices","type":"select","default":"3","options":{"1":"1","2":"2","3":"3","4":"4","6":"6"}},{"name":"slides_to_scroll","label":"Slides to scroll","type":"select","default":"1","options":{"1":"1","2":"2","3":"3","4":"4","6":"6"}},{"name":"arrows","label":"Show Arrows","type":"switcher","default":"false"},{"name":"dots","label":"Show Dots","type":"switcher","default":"false"},{"name":"pause_on_hover","label":"Pause on Hover","type":"switcher","default":"false"},{"name":"autoplay","label":"Autoplay","type":"switcher","default":"false"},{"name":"autoplay_speed","label":"Autoplay Speed","type":"number","default":5000,"condition":{"autoplay":"true"}},{"name":"infinite","label":"Infinite Loop","type":"switcher","default":"false"},{"name":"speed","label":"Animation Speed","type":"number","default":500},{"name":"offset_left","label":"Offset Left","type":"slider","control_type":"responsive","size_units":["px"],"range":{"px":{"min":0,"max":3000}},"selectors":{"{{WRAPPER}} .ct-slick-slider .ct-carousel-inner":"margin-left: -{{SIZE}}{{UNIT}};"}},{"name":"offset_right","label":"Offset Right","type":"slider","control_type":"responsive","size_units":["px"],"range":{"px":{"min":0,"max":3000}},"selectors":{"{{WRAPPER}} .ct-slick-slider .ct-carousel-inner":"margin-right: -{{SIZE}}{{UNIT}};"}}]}]}';
    protected $styles = array(  );
    protected $scripts = array( 'jquery-slick','ct-post-carousel-widget-js' );
}