<?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_countdown_config {
	static function get_config() {
	        // count down
	        return array(
	        	'count_date' => array(
                    'default' => '2020/12/25',
                    'name' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CD_DATE'),
                    'desc' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CD_DATE_DESC'),
                    'child'   => array(
                        'count_time' => array(
                            'default' => '',
                            'name' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CD_TIME'),
                            'desc' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CD_TIME_DESC')
                        )         
                    )
                ),                
                'align' => array(
                    'type'    => 'select',
                    'default' => 'left',
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COUNTDOWN_ALIGN'),
                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COUNTDOWN_ALIGN_DESC'),
                    'values'   => array(
                        'left'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_LEFT'),
                        'right'   => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_RIGHT'),
                        'center' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CENTER')
                    ),
					'child' => array(
						'count_size' => array(
							'type' => 'slider',
							'min' => 8,
							'max' => 128,
							'step' => 2,
							'default' => 32,
							'name' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CD_COUNT_SIZE'),
							'desc' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CD_COUNT_SIZE_DESC')
						),
					),
                ),
                'count_color' => array(
                    'type' => 'color',
                    'values' => array( ),
                    'default' => '#666666',
                    'name' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CD_COLOR'),
                    'desc' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CD_COLOR_DESC'),
                    'child'   => array(
                        'background' => array(
                            'type' => 'color',
                            'values' => array( ),
                            'default' => '#FFFFFF',
                            'name' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CD_TXT_BACKGROUND_COLOR'),
                            'desc' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CD_TXT_BACKGROUND_COLOR_DESC')
                        ),
                        'text_color' => array(
                            'type' => 'color',
                            'values' => array( ),
                            'default' => '#999999',
                            'name' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CD_TXT_COLOR'),
                            'desc' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CD_TXT_COLOR_DESC')
                        )
                    )
                ),                
                'text_align' => array(
                    'type'    => 'select',
                    'default' => 'default',
                    'values'   => array(
                        'right'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COUNTDOWN_TEXT_ALIGN_DEFAULT'),
                        'bottom' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COUNTDOWN_TEXT_ALIGN_BOTTOM')
                    ),
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COUNTDOWN_TEXT_ALIGN'),
                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COUNTDOWN_TEXT_ALIGN_DESC'),
                    'child'   => array(
                        'text_size' => array(
                            'type' => 'slider',
                            'min' => 8,
                            'max' => 72,
                            'step' => 2,
                            'default' => 14,
                            'name' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CD_TEXT_SIZE'),
                            'desc' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CD_TEXT_SIZE_DESC')
                        )
                    )
                ),
                'padding' => array(
                    'default' => '0px',
                    'name' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_PADDING'),
                    'desc' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_PADDING_DESC'),
                    'child'   => array(
                        'margin' => array(
                        'default' => '0px',
                        'name' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_MARGIN'),
                        'desc' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_MARGIN_DESC')
                        ),
                        'radius' => array(
                            'default' => '0px',
                            'name' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_RADIUS'),
                            'desc' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_RADIUS_DESC')
                        )
                    )
                ),   
                'divider' => array(
                    'type'    => 'select',
                    'default' => 'none',
                    'values'   => array(
                        'none' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COUNTDOWN_DIVIDER_NO_DIVIDER'),
                        'spacer' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COUNTDOWN_DIVIDER_SPACER'),
                        'dot'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COUNTDOWN_DIVIDER_DOT'),
                        'comma'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COUNTDOWN_DIVIDER_COMMA'),
                        'colon'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COUNTDOWN_DIVIDER_COLON'),
                        'vertical_line'   => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COUNTDOWN_DIVIDER_VERTICAL_LINE'),
                        'horizontal_line'   => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COUNTDOWN_DIVIDER_HORIZONTAL_LINE')
                    ),
                    'name'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COUNTDOWN_DIVIDER'),
                    'desc'    => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_COUNTDOWN_DIVIDER_DESC'),
                    'child'   => array(
                        'divider_color' => array(
                            'type' => 'color',
                            'values' => array( ),
                            'default' => 'rgba(100,100,100,.1)',
                            'name' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CD_DIVIDER_COLOR'),
                            'desc' => Text::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CD_DIVIDER_COLOR_DESC')
                        ),
                    )
                ),
	        );
	    }
	}

?>