<?php


// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;

class Dicode_Icons_Elusive_Icons{

    public static function init() {
        add_filter( 'elementor/icons_manager/additional_tabs', array( __CLASS__, 'el_icons_args' ) ); 
    }
	
	public static function icons_list() {
	    $icons = array(
			'address-book',
			'adjust-alt',
			'adjust',
			'adult',
			'align-center',
			'align-justify',
			'align-left',
			'align-right',
			'arrow-down',
			'arrow-left',
			'arrow-right',
			'arrow-up',
			'asl',
			'asterisk',
			'backward',
			'ban-circle',
			'barcode',
			'behance',
			'bell',
			'blind',
			'blogger',
			'bold',
			'book',
			'bookmark-empty',
			'bookmark',
			'braille',
			'briefcase',
			'broom',
			'brush',
			'bulb',
			'bullhorn',
			'calendar-sign',
			'calendar',
			'camera',
			'car',
			'caret-down',
			'caret-left',
			'caret-right',
			'caret-up',
			'cc',
			'certificate',
			'check-empty',
			'check',
			'chevron-down',
			'chevron-left',
			'chevron-right',
			'chevron-up',
			'child',
			'circle-arrow-down',
			'circle-arrow-left',
			'circle-arrow-right',
			'circle-arrow-up',
			'cloud-alt',
			'cloud',
			'cog-alt',
			'cog',
			'cogs',
			'comment-alt',
			'comment',
			'compass-alt',
			'compass',
			'credit-card',
			'css',
			'dashboard',
			'delicious',
			'deviantart',
			'digg',
			'download-alt',
			'download',
			'dribbble',
			'edit',
			'eject',
			'envelope-alt',
			'envelope',
			'error-alt',
			'error',
			'eur',
			'exclamation-sign',
			'eye-close',
			'eye-open',
			'facebook',
			'facetime-video',
			'fast-backward',
			'fast-forward',
			'female',
			'file-alt',
			'file-edit-alt',
			'file-edit',
			'file-new-alt',
			'file-new',
			'file',
			'film',
			'filter',
			'fire',
			'flag-alt',
			'flag',
			'flickr',
			'folder-close',
			'folder-open',
			'folder-sign',
			'folder',
			'font',
			'fontsize',
			'fork',
			'forward-alt',
			'forward',
			'foursquare',
			'friendfeed-rect',
			'friendfeed',
			'fullscreen',
			'gbp',
			'gift',
			'github-text',
			'github',
			'glass',
			'glasses',
			'globe-alt',
			'globe',
			'googleplus',
			'graph-alt',
			'graph',
			'group-alt',
			'group',
			'guidedog',
			'hand-down',
			'hand-left',
			'hand-right',
			'hand-up',
			'hdd',
			'headphones',
			'hearing-impaired',
			'heart-alt',
			'heart-empty',
			'heart',
			'home-alt',
			'home',
			'hourglass',
			'idea-alt',
			'idea',
			'inbox-alt',
			'inbox-box',
			'inbox',
			'indent-left',
			'indent-right',
			'info-circle',
			'instagram',
			'iphone-home',
			'italic',
			'key',
			'laptop-alt',
			'laptop',
			'lastfm',
			'leaf',
			'lines',
			'link',
			'linkedin',
			'list-alt',
			'list',
			'livejournal',
			'lock-alt',
			'lock',
			'magic',
			'magnet',
			'male',
			'map-marker-alt',
			'map-marker',
			'mic-alt',
			'mic',
			'minus-sign',
			'minus',
			'move',
			'music',
			'myspace',
			'network',
			'off',
			'ok-circle',
			'ok-sign',
			'ok',
			'opensource',
			'paper-clip-alt',
			'paper-clip',
			'path',
			'pause-alt',
			'pause',
			'pencil-alt',
			'pencil',
			'person',
			'phone-alt',
			'phone',
			'photo-alt',
			'photo',
			'picasa',
			'picture',
			'pinterest',
			'plane',
			'play-alt',
			'play-circle',
			'play',
			'plurk-alt',
			'plurk',
			'plus-sign',
			'plus',
			'podcast',
			'print',
			'puzzle',
			'qrcode',
			'question-sign',
			'question',
			'quote-alt',
			'quote-right-alt',
			'quote-right',
			'quotes',
			'random',
			'record',
			'reddit',
			'redux',
			'refresh',
			'remove-circle',
			'remove-sign',
			'remove',
			'repeat-alt',
			'repeat',
			'resize-full',
			'resize-horizontal',
			'resize-small',
			'resize-vertical',
			'return-key',
			'retweet',
			'reverse-alt',
			'road',
			'rss',
			'scissors',
			'screen-alt',
			'screen',
			'screenshot',
			'search-alt',
			'search',
			'share-alt',
			'share',
			'shopping-cart-sign',
			'shopping-cart',
			'signal',
			'skype',
			'slideshare',
			'smiley-alt',
			'smiley',
			'soundcloud',
			'speaker',
			'spotify',
			'stackoverflow',
			'star-alt',
			'star-empty',
			'star',
			'step-backward',
			'step-forward',
			'stop-alt',
			'stop',
			'stumbleupon',
			'tag',
			'tags',
			'tasks',
			'text-height',
			'text-width',
			'th-large',
			'th-list',
			'th',
			'thumbs-down',
			'thumbs-up',
			'time-alt',
			'time',
			'tint',
			'torso',
			'trash-alt',
			'trash',
			'tumblr',
			'twitter',
			'universal-access',
			'unlock-alt',
			'unlock',
			'upload',
			'usd',
			'user',
			'viadeo',
			'video-alt',
			'video-chat',
			'video',
			'view-mode',
			'vimeo',
			'vkontakte',
			'volume-down',
			'volume-off',
			'volume-up',
			'w3c',
			'warning-sign',
			'website-alt',
			'website',
			'wheelchair',
			'wordpress',
			'wrench-alt',
			'wrench',
			'youtube',
			'zoom-in',
			'zoom-out'
	    );
		
		return  $icons;
	}
	
	public static function el_icons_args( $tabs = array() ) {
	    
	    $tabs['dicode_icons_elusive'] = array(
	        'name'          => 'dicode_icons_elusive',
	        'label'         => esc_html__( 'Dicode - Elusive Icons', 'dicode-icons-pack' ),
	        'labelIcon'     => 'fa fa-user',
	        'prefix'        => 'el-',
	        'displayPrefix' => 'el',
	        'url'           => DICODE_ICONS_ASSETS_URL . 'elusive/elusive-icons.min.css',
	        'icons'         => self::icons_list(),
	        'ver'           => DICODE_ICONS_PACK_VERSION,
	    );

	    return $tabs;
	}



}
Dicode_Icons_Elusive_Icons::init();