<?php

defined( 'ABSPATH' ) || exit;

return [
	//region Menu
	'menu_inline'  => [
		'type'  => 'checkbox',
		'title' => __( 'Inline Menu', 'flexi-menu' ),
		'label' => __( 'Apply', 'flexi-menu' ),
	],
	'menu_icon'    => [
		'type'  => 'checkbox',
		'title' => __( 'Icon Menu', 'flexi-menu' ),
		'label' => __( 'Apply', 'flexi-menu' ),
	],
	'menu_reverse' => [
		'type'  => 'checkbox',
		'title' => __( 'Reverse Menu', 'flexi-menu' ),
		'label' => __( 'Apply', 'flexi-menu' ),
	],
	'menu_min_w'   => [
		'type'    => 'number',
		'value'   => '160',
		'addon'   => 'px',
		'title'   => [
			'label'  => __( 'Min Width', 'flexi-menu' ),
			'name'   => 'include_menu_min_w',
			'toggle' => true,
			'val'    => 0
		],
		'options' => [
			'min' => '0'
		],
	],

	'menu_bg' => [
		'type'    => 'text',
		'value'   => 'rgb(247,247,247)',
		'title'   => __( 'Background', 'flexi-menu' ),
		'options' => [
			'class'              => 'wpie-color',
			'data-alpha-enabled' => 'true',
		],
	],

	'menu_shadow' => [
		'type'  => 'checkbox',
		'value' => '0',
		'title' => __( 'Shadow', 'flexi-menu' ),
		'label' => __( 'Apply', 'flexi-menu' ),
	],

	'menu_radius' => [
		'type'    => 'number',
		'value'   => '4',
		'addon'   => 'px',
		'title'   => [
			'label'  => __( 'Radius', 'flexi-menu' ),
			'name'   => 'include_menu_radius',
			'toggle' => true,
			'val'    => 1
		],
		'options' => [
			'min' => '0'
		],
	],

	'items_gap' => [
		'type'    => 'number',
		'value'   => '0',
		'addon'   => 'px',
		'title'   => __( 'Items gap', 'flexi-menu' ),
		'options' => [
			'min' => '0'
		],
	],

	'menu_padding_block'  => [
		'type'    => 'number',
		'title'   => __( 'Padding Block', 'flexi-menu' ),
		'value'   => '8',
		'addon'   => 'px',
		'options' => [
			'min' => '0'
		],
	],
	'menu_padding_inline' => [
		'type'  => 'number',
		'title' => __( 'Padding Inline', 'flexi-menu' ),
		'value' => '0',
		'addon' => 'px',
	],
	'menu_offset_block'   => [
		'type'  => 'number',
		'title' => __( 'Offset Block', 'flexi-menu' ),
		'value' => '0',
		'addon' => 'px',
	],
	'menu_offset_inline'  => [
		'type'  => 'number',
		'title' => __( 'Offset Inline', 'flexi-menu' ),
		'value' => '0',
		'addon' => 'px',
	],


	//endregion

	//region Link
	'link_padding_block'  => [
		'type'    => 'number',
		'title'   => __( 'Padding Block', 'flexi-menu' ),
		'value'   => '8',
		'addon'   => 'px',
		'options' => [
			'min' => '0'
		],
	],
	'link_padding_inline' => [
		'type'    => 'number',
		'title'   => __( 'Padding Inline', 'flexi-menu' ),
		'value'   => '16',
		'addon'   => 'px',
		'options' => [
			'min' => '0'
		],
	],
	'link_gap'            => [
		'type'    => 'number',
		'title'   => __( 'Gap', 'flexi-menu' ),
		'value'   => '8',
		'addon'   => 'px',
		'options' => [
			'min' => '0'
		],
	],
	'link_hover_bg'       => [
		'type'    => 'text',
		'value'   => '#F3F4F6',
		'title'   => __( 'Hover Background', 'flexi-menu' ),
		'options' => [
			'class'              => 'wpie-color',
			'data-alpha-enabled' => 'true',
		],
	],

	//endregion

	//region Icons
	'icon_size'           => [
		'type'    => 'number',
		'title'   => __( 'Icon Size', 'flexi-menu' ),
		'value'   => '16',
		'addon'   => 'px',
		'options' => [
			'min' => '0'
		],
	],

	'icon_box' => [
		'type'    => 'number',
		'title'   => __( 'Box Size', 'flexi-menu' ),
		'value'   => '16',
		'addon'   => 'px',
		'options' => [
			'min' => '0'
		],
	],

	'icon_color' => [
		'type'    => 'text',
		'value'   => '#383838',
		'title'   => __( 'Color', 'flexi-menu' ),
		'options' => [
			'class'              => 'wpie-color',
			'data-alpha-enabled' => 'true',
		],
	],

	'icon_bg' => [
		'type'    => 'text',
		'value'   => 'rgba(255, 255, 255, 0)',
		'title'   => __( 'Background', 'flexi-menu' ),
		'options' => [
			'class'              => 'wpie-color',
			'data-alpha-enabled' => 'true',
		],
	],

	'icon_shadow'          => [
		'type'  => 'checkbox',
		'value' => '0',
		'title' => __( 'Shadow', 'flexi-menu' ),
		'label' => __( 'Apply', 'flexi-menu' ),
	],
	//endregion

	//region Labels
	'label_padding_block'  => [
		'type'    => 'number',
		'title'   => __( 'Padding Block', 'flexi-menu' ),
		'value'   => '0',
		'addon'   => 'px',
		'options' => [
			'min' => '0'
		],
	],
	'label_padding_inline' => [
		'type'    => 'number',
		'title'   => __( 'Padding Inline', 'flexi-menu' ),
		'value'   => '0',
		'addon'   => 'px',
		'options' => [
			'min' => '0'
		],
	],

	'label_size' => [
		'type'    => 'number',
		'title'   => __( 'Font Size', 'flexi-menu' ),
		'value'   => '16',
		'addon'   => 'px',
		'options' => [
			'min' => '0'
		],
	],

	'label_weight' => [
		'type'    => 'select',
		'title'   => __( 'Font Weight', 'flexi-menu' ),
		'value'   => '400',
		'options' => [
			'100' => '100',
			'200' => '200',
			'300' => '300',
			'400' => '400',
			'500' => '500',
			'600' => '600',
			'700' => '700',
			'800' => '800',
			'900' => '900',
		]
	],

	'label_style' => [
		'type'    => 'select',
		'title'   => __( 'Font Style', 'flexi-menu' ),
		'value'   => 'normal',
		'options' => [
			'normal' => 'Normal',
			'italic' => 'Italic',
		]
	],


	'label_color'         => [
		'type'    => 'text',
		'value'   => '#383838',
		'title'   => __( 'Color', 'flexi-menu' ),
		'options' => [
			'class'              => 'wpie-color',
			'data-alpha-enabled' => 'true',
		],
	],

	//endregion

	//region Dialog
	'dialog_border_width' => [
		'type'    => 'number',
		'title'   => __( 'Border Width', 'flexi-menu' ),
		'value'   => '0',
		'addon'   => 'px',
		'options' => [
			'min' => '0'
		]
	],

	'dialog_max_width' => [
		'type'    => 'number',
		'title'   => __( 'Max Width', 'flexi-menu' ),
		'value'   => '550',
		'addon'   => 'px',
		'options' => [
			'min' => '0'
		]
	],

	'dialog_max_height' => [
		'type'    => 'number',
		'title'   => __( 'Max Height', 'flexi-menu' ),
		'value'   => '450',
		'addon'   => 'px',
		'options' => [
			'min' => '0'
		]
	],

	'dialog_radius' => [
		'type'    => 'number',
		'title'   => __( 'Radius', 'flexi-menu' ),
		'value'   => '4',
		'addon'   => 'px',
		'options' => [
			'min' => '0'
		]
	],

	'dialog_border_color' => [
		'type'    => 'text',
		'title'   => __( 'Border Color', 'flexi-menu' ),
		'value'   => '#383838',
		'options' => [
			'class' => 'wpie-color',
			'data-alpha-enabled' => 'true',
		]
	],

	'dialog_backdrop' => [
		'type'    => 'text',
		'title'   => __( 'Backdrop', 'flexi-menu' ),
		'value'   => 'rgba(0, 0, 0, 0.2)',
		'options' => [
			'class' => 'wpie-color',
			'data-alpha-enabled' => 'true',
		]
	],

	'dialog_close' => [
		'type'    => 'text',
		'title'   => __( 'Close Color', 'flexi-menu' ),
		'value'   => '#000000',
		'options' => [
			'class' => 'wpie-color',
			'data-alpha-enabled' => 'true',
		]
	],

	'dialog_shadow' => [
		'type'  => 'checkbox',
		'value' => '0',
		'title' => __( 'Shadow', 'flexi-menu' ),
		'label' => __( 'Apply', 'flexi-menu' ),
	],


	//endregion

];