function ewf_register_vc_portfolio_strip()
{
    global $ewf_composer_class, $ewf_composer_class_field;
    vc_map(array("name" => __("Portfolio Strip", 'bitpub'), "base" => "ewf-portfolio-strip", "class" => "", "icon" => "icon-wpb-ewf-portfolio-strip", "description" => __("Add a full width row with porftolio items", 'bitpub'), "category" => EWF_SETUP_VC_GROUP, "params" => array(array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Load 5 portfolio items", 'bitpub'), "param_name" => "list", "value" => array(__('Latest projects', 'bitpub') => 'latest', __('From a service', 'bitpub') => 'service', __('Random', 'bitpub') => 'random')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Service", 'bitpub'), "param_name" => "service", "value" => ewf_vc_portfolio_strip_services(), "description" => __("Specify projects from a defined category", 'bitpub'), "dependency" => array("element" => "list", "value" => array("service"))), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Projects order", 'bitpub'), "param_name" => "order", "value" => array(__("Descendent", 'bitpub') => 'DESC', __("Ascendent", 'bitpub') => 'ASC', __("Random", 'bitpub') => 'rand'), "dependency" => array("element" => "list", "value" => array('service')), "description" => __("Load projects in a Ascendent(1,2,3), Descendent (3,2,1) order or random.", 'bitpub')), array("type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Extra CSS Class", 'bitpub'), "param_name" => "css", "value" => '', "description" => __("Add and extra CSS class to the component", 'bitpub')))));
}
function ewf_register_vc_portfolio_strip()
{
    vc_map(array("name" => __("Portfolio Strip", EWF_SETUP_THEME_DOMAIN), "base" => "ewf-portfolio-strip", "class" => "", "icon" => "icon-wpb-ewf-portfolio-strip", "description" => __("Add a full width row with porftolio items", EWF_SETUP_THEME_DOMAIN), "category" => __('Portfolio', EWF_SETUP_THEME_DOMAIN), "params" => array(array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Load 5 portfolio items", EWF_SETUP_THEME_DOMAIN), "param_name" => "list", "value" => array(__('Latest projects', EWF_SETUP_THEME_DOMAIN) => 'latest', __('From a service', EWF_SETUP_THEME_DOMAIN) => 'service', __('Random', EWF_SETUP_THEME_DOMAIN) => 'random')), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Service", EWF_SETUP_THEME_DOMAIN), "param_name" => "service", "value" => ewf_vc_portfolio_strip_services(), "description" => __("Specify projects from a defined category", EWF_SETUP_THEME_DOMAIN), "dependency" => array("element" => "list", "value" => array('service'))), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Projects order", EWF_SETUP_THEME_DOMAIN), "param_name" => "order", "value" => array(__("Descendent", EWF_SETUP_THEME_DOMAIN) => 'DESC', __("Ascendent", EWF_SETUP_THEME_DOMAIN) => 'ASC', __("Random", EWF_SETUP_THEME_DOMAIN) => 'rand'), "dependency" => array("element" => "list", "value" => array('service')), "description" => __("Load projects in a Ascendent(1,2,3), Descendent (3,2,1) order or random.", EWF_SETUP_THEME_DOMAIN)), array("type" => "dropdown", "holder" => "div", "class" => "", "heading" => __("Secondary info", EWF_SETUP_THEME_DOMAIN), "param_name" => "details", "value" => array(__('Project Excerpt', EWF_SETUP_THEME_DOMAIN) => 'excerpt', __('Project Services', EWF_SETUP_THEME_DOMAIN) => 'services', __("Don't show", EWF_SETUP_THEME_DOMAIN) => 'none'), "description" => __("Specify what to show below the project title", EWF_SETUP_THEME_DOMAIN)))));
}