<?php

class ETC_CmsDoctorCarousel_Widget extends Elementor_Theme_Core_Widget_Base{
    protected $name = 'cms_doctor_carousel';
    protected $title = 'Doctor Carousel';
    protected $icon = 'eicon-posts-carousel';
    protected $categories = array( 'elementor-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":"http:\/\/localhost\/wp_medcity\/wp-content\/themes\/medcity\/elementor\/templates\/widgets\/cms_doctor_carousel\/layout-image\/layout1.jpg"},"2":{"label":"Layout 2","image":"http:\/\/localhost\/wp_medcity\/wp-content\/themes\/medcity\/elementor\/templates\/widgets\/cms_doctor_carousel\/layout-image\/layout2.jpg"}}}]},{"name":"source_section","label":"Source","tab":"content","controls":[{"name":"thumbnail","type":"image-size","control_type":"group","default":"full"},{"name":"source","label":"Select Categories","type":"select2","multiple":true,"options":{"cardiology-specialist|doctor-category":"Cardiology Specialist","dermatologists|doctor-category":"Dermatologists","laboratory|doctor-category":"Laboratory","pathologist|doctor-category":"Pathologist","pediatrician|doctor-category":"Pediatrician","urologist|doctor-category":"Urologist"}},{"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":"num_words","label":"Number of Words","type":"number","default":35,"condition":{"layout!":"1"}}]},{"name":"section_carousel_settings","label":"Carousel","tab":"content","controls":[{"name":"slides_to_show","label":"Slides to Show","type":"select","control_type":"responsive","options":{"":"Default","1":1,"2":2,"3":3}},{"name":"slides_to_scroll","label":"Slides to Scroll","type":"select","control_type":"responsive","options":{"":"Default","1":1,"2":2,"3":3},"condition":{"slides_to_show!":"1"}},{"name":"slides_gutter","label":"Gutter","type":"number","control_type":"responsive","default":15,"condition":{"slides_to_show!":"1"},"selectors":{"{{WRAPPER}} .cms-slick-carousel .slick-list .slick-slide":"padding: 0 {{VALUE}}px;","{{WRAPPER}} .cms-slick-carousel .slick-list":"margin: 0 -{{VALUE}}px;"}},{"name":"arrows","label":"Show Arrows","type":"switcher","default":"false"},{"name":"dots","label":"Show Dots","type":"switcher","default":"true"},{"name":"infinite","label":"Infinite Loop","type":"switcher","default":"true"},{"name":"speed","label":"Animation Speed","type":"number","default":500}]},{"name":"display_option","label":"Social Display","tab":"content","condition":{"layout":"2"},"controls":[{"name":"show_facebook","label":"Show Facebook","type":"switcher","default":"true"},{"name":"show_instagram","label":"Show Instagram","type":"switcher","default":"false"},{"name":"show_twitter","label":"Show Twitter","type":"switcher","default":"true"},{"name":"show_email","label":"Show Email","type":"switcher","default":"true"},{"name":"show_phone","label":"Show Phone","type":"switcher","default":"true"}]}]}';
    protected $styles = array(  );
    protected $scripts = array( 'jquery-slick','cms-post-carousel-widget-js' );
}