<?php

class ETC_CmsTestimonialCarousel_Widget extends Elementor_Theme_Core_Widget_Base{
    protected $name = 'cms_testimonial_carousel';
    protected $title = 'Testimonial Carousel';
    protected $icon = 'eicon-testimonial-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_testimonial_carousel\/layout-image\/layout1.jpg"},"2":{"label":"Layout 2","image":"http:\/\/localhost\/wp_medcity\/wp-content\/themes\/medcity\/elementor\/templates\/widgets\/cms_testimonial_carousel\/layout-image\/layout2.jpg"},"3":{"label":"Layout 3","image":"http:\/\/localhost\/wp_medcity\/wp-content\/themes\/medcity\/elementor\/templates\/widgets\/cms_testimonial_carousel\/layout-image\/layout3.jpg"},"4":{"label":"Layout 4","image":"http:\/\/localhost\/wp_medcity\/wp-content\/themes\/medcity\/elementor\/templates\/widgets\/cms_testimonial_carousel\/layout-image\/layout4.jpg"},"5":{"label":"Layout 5","image":"http:\/\/localhost\/wp_medcity\/wp-content\/themes\/medcity\/elementor\/templates\/widgets\/cms_testimonial_carousel\/layout-image\/layout5.jpg"}}}]},{"name":"section_clients","label":"Clients","tab":"content","controls":[{"name":"clients","type":"repeater","default":[{"client_content":"Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.","client_image":"Client Image","client_name":"John Doe","client_job":"Designer","client_link":"http:\/\/client-link.com"}],"controls":[{"name":"client_content","label":"Content","type":"textarea","rows":"10","default":"Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo."},{"name":"client_image","label":"Avatar Image","type":"media","label_block":true},{"name":"client_name","label":"Client Name","type":"text","label_block":true,"default":"John Doe"},{"name":"client_job","label":"Job","type":"text","default":"Designer"},{"name":"rating","label":"Rating","type":"select","default":"star5","options":{"star1":"1 Star","star2":"2 Star","star3":"3 Star","star4":"4 Star","star5":"5 Star"}},{"name":"client_link","label":"Client URL","type":"url","label_block":true,"placeholder":"http:\/\/client-link.com"}],"title_field":"{{{ client_name }}}"}]},{"name":"section_styling","label":"Settings","tab":"style","controls":[{"name":"client_content_color","label":"Text Color","type":"color","selectors":{"{{WRAPPER}} .cms-testimonial-carousel .client-content p":"color: {{VALUE}};","{{WRAPPER}} .cms-testimonial-carousel .client-content .said":"color: {{VALUE}};"}},{"name":"client_name_color","label":"Name Color","type":"color","selectors":{"{{WRAPPER}} .cms-testimonial-carousel .client-name .name-text":"color: {{VALUE}};"}},{"name":"client_job_color","label":"Job Color","type":"color","selectors":{"{{WRAPPER}} .cms-testimonial-carousel .client-job":"color: {{VALUE}};"}}]},{"name":"section_carousel_settings","label":"Carousel Settings","tab":"settings","controls":[{"name":"slides_to_show","label":"Slides to Show","type":"select","control_type":"responsive","options":{"":"Default","1":1,"2":2,"3":3,"4":4,"5":5}},{"name":"slides_to_scroll","label":"Slides to Scroll","type":"select","control_type":"responsive","options":{"":"Default","1":1,"2":2,"3":3,"4":4,"5":5},"condition":{"slides_to_show!":"1"}},{"name":"slides_gutter","label":"Gutter","type":"number","control_type":"responsive","default":10,"condition":{"slides_to_show!":"1"},"selectors":{"{{WRAPPER}} .cms-slick-carousel .slick-list .slick-slide":"padding: {{VALUE}}px;","{{WRAPPER}} .cms-slick-carousel .slick-list":"margin: 0 -{{VALUE}}px;"}},{"name":"arrows","label":"Show Arrows","type":"switcher"},{"name":"dots","label":"Show Dots","type":"switcher"},{"name":"pause_on_hover","label":"Pause on Hover","type":"switcher"},{"name":"autoplay","label":"Autoplay","type":"switcher"},{"name":"autoplay_speed","label":"Autoplay Speed","type":"number","default":5000,"condition":{"autoplay":"true"}},{"name":"infinite","label":"Infinite Loop","type":"switcher"},{"name":"speed","label":"Animation Speed","type":"number","default":500},{"name":"nav","label":"Nav Slides To Show","type":"select","options":{"1":"1","2":"2","3":"3","4":"4","5":"5","6":"6"},"default":"3","condition":{"layout":["1","2"]}}]}]}';
    protected $styles = array(  );
    protected $scripts = array( 'jquery-slick','cms-post-carousel-widget-js' );
}