<?php
if (! defined('ABSPATH')) {
	exit;
}

$post_list_one_attributes = array(
	'paginationEnable'      => array(
		'type'    => 'boolean',
		'default' => true,
	),
	'postListLayout'        => array(
		'type'    => 'string',
		'default' => 'list-one-layout-one',
	),
	'verticalGap'           => $this->ranger_attribute(24),
	'dividerBorderStyle'    => array(
		'type'    => 'string',
		'default' => 'solid',
	),
	'showHideDivider'       => array(
		'type'    => 'boolean',
		'default' => false,
	),
	'dividerAlignment'      => array(
		'type'    => 'string',
		'default' => 'center',
	),
	'dividerBg'             => array(
		'type'    => 'object',
		'default' => array(
			'color' => array(
				'style'       => 'bgColor',
				'transparent' => '',
				'solidColor'  => '#E0E0E0',
				'gradient'    => 'linear-gradient(162deg, rgba(128, 128, 214, 0.2) 0%, rgba(136, 169, 231, 0.2) 51%, rgba(144, 234, 228, 0.2) 100%)',
			),
		),
	),
	'dividerWidth'          => array(
		'type'    => 'object',
		'default' => array(
			'device' => array(
				'Desktop' => 100,
				'Tablet'  => '',
				'Mobile'  => '',
			),
			'unit'   => array(
				'Desktop' => '%',
				'Tablet'  => 'px',
				'Mobile'  => 'px',
			),
		),
	),
	'dividerHeight'         => $this->ranger_attribute(1),
	'spaceBetweenListItems' => $this->ranger_attribute(5),
	'contentAreaPadding'    => $this->spacing_attribute(),
);

$post_list_one_attributes_updated_attr = $this->change_attribute_data(
	$shared_attributes,
	array(
		array(
			'attrName' => 'excerptShow',
			'value'    => true,
		),
		array(
			'attrName' => 'showReadMoreButton',
			'value'    => true,
		),
		array(
			'attrName' => 'imageSpace',
			'value'    => '',
		),
	)
);
return array_merge(
	$post_list_one_attributes_updated_attr,
	$post_list_one_attributes,
	array(
		'paginationType' => array(
			'type'    => 'string',
			'default' => 'none',
		),
	)
);
