<?php

return array(
	'id'     => 'ximsa_banner_settings',
	'title'  => esc_html__( "Ximsa Banner Settings", "konia" ),
	'fields' => array(
		array(
			'id'      => 'banner_source_type',
			'type'    => 'button_set',
			'title'   => esc_html__( 'Banner Source Type', 'ximsa' ),
			'options' => array(
				'd' => esc_html__( 'Default', 'ximsa' ),
				'e' => esc_html__( 'Elementor', 'ximsa' ),
			),
			'default' => '',
		),
		array(
			'id'       => 'banner_elementor_template',
			'type'     => 'select',
			'title'    => __( 'Template', 'viral-buzz' ),
			'data'     => 'posts',
			'args'     => [
				'post_type' => [ 'elementor_library' ],
				'posts_per_page'=> -1,
			],
			'required' => [ 'banner_source_type', '=', 'e' ],
		),
		array(
			'id'       => 'banner_page_banner',
			'type'     => 'switch',
			'title'    => esc_html__( 'Show Banner', 'ximsa' ),
			'default'  => false,
			'required' => [ 'banner_source_type', '=', 'd' ],
		),

		array(
			'id'       => 'banner_page_aligment',
			'type'     => 'switch',
			'title'    => esc_html__( 'IS Text Align Center?', 'ximsa' ),
			'default'  => false,
			'required' => [ 'banner_source_type', '=', 'd' ],
		),
		array(
			'id'       => 'banner_banner_title',
			'type'     => 'text',
			'title'    => esc_html__( 'Banner Section Title', 'ximsa' ),
			'desc'     => esc_html__( 'Enter the title to show in banner section', 'ximsa' ),
			'required' => array( 'banner_page_banner', '=', true ),
		),
		array(
			'id'       => 'banner_banner_title_color',
			'type'     => 'color',
			'title'    => esc_html__( 'Banner Section Title Color', 'ximsa' ),
			'desc'     => esc_html__( 'Enter the title color to show in banner section', 'ximsa' ),
			'required' => array( 'banner_page_banner', '=', true ),
			'output' => array('.page-title .inner-column h1'),
		),
		array(
			'id'       => 'banner_page_background',
			'type'     => 'media',
			'url'      => true,
			'title'    => esc_html__( 'Background Image', 'ximsa' ),
			'desc'     => esc_html__( 'Insert background image for banner', 'ximsa' ),
			'default'  => array(
				'url' => XIMSA_URI . 'assets/images/breadcrumb/breadcrumb-1.jpg',
			),
			'required' => array( 'banner_page_banner', '=', true ),
		),
		array(
			'id'       => 'banner_page_shape_img',
			'type'     => 'media',
			'url'      => true,
			'title'    => esc_html__( 'Shape Image', 'ximsa' ),
			'desc'     => esc_html__( 'Insert shape image for banner', 'ximsa' ),
			'default'  => array(
				'url' => XIMSA_URI . 'assets/images/background/pattern-18.png',
			),
		),
		array(
			'id'       => 'banner_page_divider_img',
			'type'     => 'media',
			'url'      => true,
			'title'    => esc_html__( 'Divider Image', 'ximsa' ),
			'desc'     => esc_html__( 'Insert divider image for banner', 'ximsa' ),
			'default'  => array(
				'url' => XIMSA_URI . 'assets/images/background/pattern-19.png',
			),
		),
		array(
			'id'       => 'banner_banner_bg_color',
			'type'     => 'background',
			'title'    => esc_html__( 'Banner Section Background Color', 'ximsa' ),
			'desc'     => esc_html__( 'Background color for banner section', 'ximsa' ),
			'output' => array('.page-title'),
			'required' => array( 'banner_page_banner', '=', true ),
		),
		array(
			'id'       => 'banner_breadcrumb_color',
			'type'     => 'color',
			'title'    => esc_html__( 'Banner Section Breadcrumb Color', 'ximsa' ),
			'desc'     => esc_html__( 'Breadcrumb color for banner section', 'ximsa' ),
			'output' => array('.page-breadcrumb li'),
			'required' => array( 'banner_page_banner', '=', true ),
		),
		array(
			'id'       => 'banner_breadcrumb_link_color',
			'type'     => 'color',
			'title'    => esc_html__( 'Banner Section Breadcrumb Link Color', 'ximsa' ),
			'desc'     => esc_html__( 'Breadcrumb  Link color for banner section', 'ximsa' ),
			'output' => array('.page-breadcrumb li a'),
			'required' => array( 'banner_page_banner', '=', true ),
		),
	),
);