<?php 
/*
* @package   YouTech Shortcodes
* @author    YouTech Company http://smartaddons.com/
* @copyright Copyright (C) 2015 YouTech Company
* @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
defined('_JEXEC') or die;use Joomla\CMS\Language\Text;use Joomla\CMS\Factory;
use Joomla\CMS\Uri\Uri;
use Joomla\CMS\HTML\HTMLHelper;
	class YT_Shortcode_heading_config {
	static function get_config() {
	        // heading
	        return array(
	        	'style' => array(
                    'type'   => 'select',
                    'values' => array(
                        'default'         => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_DEFAULT'),
                        'modern-1-dark'   => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_MODERN_1_DARK'),
                        'modern-1-light'  => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_MODERN_1_LIGHT'),
                        'modern-1-blue'   => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_MODERN_1_BLUE'),
                        'modern-1-orange' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_MODERN_1_ORANGE'),
                        'modern-1-violet' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_MODERN_1_VIOLET'),

                        'modern-2-dark'   => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_MODERN_2_DARK'),
                        'modern-2-light'  => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_MODERN_2_LIGHT'),
                        'modern-2-blue'   => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_MODERN_2_BLUE'),
                        'modern-2-orange' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_MODERN_2_ORANGE'),
                        'modern-2-violet' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_MODERN_2_VIOLET'),

                        'line-dark'   => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_LINE_DARK'),
                        'line-light'  => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_LINE_LIGHT'),
                        'line-blue'   => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_LINE_BLUE'),
                        'line-orange' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_LINE_ORANGE'),
                        'line-violet' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_LINE_VIOLET'),
                        
                        'dotted-line-dark'   => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_DOTTED_LINE_DARK'),
                        'dotted-line-light'  => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_DOTTED_LINE_LIGHT'),
                        'dotted-line-blue'   => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_DOTTED_LINE_BLUE'),
                        'dotted-line-orange' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_DOTTED_LINE_ORANGE'),
                        'dotted-line-violet' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_DOTTED_LINE_VIOLET'),

                        'flat-dark'  => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_FLAT_DARK'),
                        'flat-light' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_FLAT_LIGHT'),
                        'flat-blue'  => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_FLAT_BLUE'),
                        'flat-green' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_FLAT_GREEN'),

                        'small-line' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_SMALL_LINE'),
                        'fancy'      => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_FANCY')
                    ),
                    'default' => 'default',
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_STYLE'),
                    'desc'    => sprintf( '%s. ', Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_STYLE_DESC')),
                    'child'   => array(
                    	'align' => array(
		                    'type'   => 'select',
		                    'values' => array(
		                        'left'   => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_LEFT'),
		                        'center' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CENTER'),
		                        'right'  => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_RIGHT')
		                    ),
		                    'default' => 'center',
		                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ALIGN'),
		                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_ALIGN_DESC')
		                ),
                    ),
                ),
                'heading' => array(
                    'type'   => 'select',
                    'values' => array(
                        'h1' => 'H1',
                        'h2' => 'H2',
                        'h3' => 'H3',
                        'h4' => 'H4',
                        'h5' => 'H5',
                        'h6' => 'H6'
                    ),
                    'default' => 'h3',
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_HEADING_TAG'),
                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_HEADING_TAG_DESC'),
                    'child'   => array(
                        'color' => array(
                            'type'    => 'color',
                            'values'  => array( ),
                            'default' => '#666',
                            'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TEXT_COLOR'), 
                            'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_TEXT_COLOR_DESC')
                        )
                    )
                ),
                'width' => array(
                    'type'    => 'slider',
                    'min'     => 50,
                    'max'     => 100,
                    'step'    => 5,
                    'default' => 100,
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_WIDTH'),
                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_WIDTH_DESC'),
                    'child'   => array(
                    	'size' => array(
		                    'type'    => 'slider',
		                    'min'     => 7,
		                    'max'     => 48,
		                    'step'    => 1,
		                    'default' => 16,
		                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_SIZE'),
		                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_SIZE_DESC')
		                ),
		                'margin' => array(
		                    'type'    => 'slider',
		                    'min'     => 0,
		                    'max'     => 200,
		                    'step'    => 10,
		                    'default' => 20,
		                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_MARGIN'),
		                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_HEADING_MARGIN_DESC')
		                ),
                    ),
                ),
                
                'content' => array(
                	'type' => 'textarea',
                	'default' => 'Add content here',
                	'name' => 'Content'
                ),
	        );
	    }
	}

?>