<?php

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * $features_list
 *
 * On peut ajouter/supprimer
 * NE JAMAIS CHANGER LE NOM DES CLÉS
 * Ne JAMAIS SUPPRIMER et AJOUTER UNE CLÉ DANS LA MÊME VERSION
 */
$features_list = array(
	'all-features-advanced' => array(
		'active'         => true,
		'title'          => esc_html__( 'Switch on all components', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array(),
		'help_url'       => '',
		'help_url_class' => '',
		'file_path'      => '',
		'name_space'     => '',
		'badge'          => '',
	),
	'acf-dynamic-tag'       => array(
		'active'         => true,
		'title'          => esc_html__( 'ACF dynamic tags', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array( 'acf_get_field_groups' ),
		'elems_exclude'  => array(),
		'help_url'       => 'https://elementor-addon-components.com/how-to-integrate-and-use-acf-fields-with-elementor/',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => '',
		'name_space'     => EAC_INCLUDES_NAMESPACE . 'Acf\\DynamicTags\\Eac_Acf_Tags',
		'badge'          => '',
	),
	'acf-image-gallery'     => array(
		'active'         => false,
		'title'          => esc_html__( 'ACF gallery field', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array( 'acf_get_field_groups', 'acf_register_field_type' ),
		'elems_exclude'  => array( 'acf_register_block_type' ),
		'help_url'       => 'https://elementor-addon-components.com/add-and-publish-an-image-gallery-with-the-free-version-of-acf/',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => EAC_ACF_PATH . 'gallery/eac-acf-gallery-field.php',
		'name_space'     => '',
		'badge'          => '',
	),
	'acf-field-repeater' => array(
		'active'         => false,
		'title'          => esc_html__( 'ACF repeater field', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array( 'acf_get_field_groups', 'acf_register_field_type' ),
		'elems_exclude'  => array( 'acf_register_block_type' ),
		'help_url'       => 'https://elementor-addon-components.com/how-to-use-and-display-the-acf-repeater-field-with-elementor/',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => EAC_ACF_PATH . 'repeater/eac-acf-repeater-field.php',
		'name_space'     => '',
		'badge'          => '',
	),
	'acf-option-page'       => array(
		'active'         => false,
		'title'          => esc_html__( 'ACF options page', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array( 'acf_get_field_groups' ),
		'elems_exclude'  => array( 'acf_register_block_type' ),
		'help_url'       => 'https://elementor-addon-components.com/add-options-page-for-the-free-version-of-acf/',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => '',
		'name_space'     => EAC_INCLUDES_NAMESPACE . 'Acf\\Eac_Acf_Options_Page',
		'badge'          => '',
	),
	'acf-json'              => array(
		'active'         => false,
		'title'          => 'ACF JSON',
		'class_depends'  => array(),
		'func_depends'   => array( 'acf_get_field_groups' ),
		'elems_exclude'  => array( 'acf_register_block_type' ),
		'help_url'       => '#',
		'help_url_class' => 'eac-admin-help acf-json',
		'file_path'      => EAC_ACF_PATH . 'eac-acf-json.php',
		'name_space'     => '',
		'badge'          => '',
	),
	'alt-attribute'         => array(
		'active'         => false,
		'title'          => esc_html__( 'ALT attribute', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array(),
		'help_url'       => 'https://elementor-addon-components.com/add-external-image-for-elementor/#improve-your-seo-with-the-dynamic-tag-external-image',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => '',
		'name_space'     => EAC_INCLUDES_NAMESPACE . 'Elementor\\Injection\\Eac_Injection_Image',
		'badge'          => '',
	),
	'editor-role'    => array(
		'active'         => false,
		'title'          => esc_html__( 'Content role manager', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array(),
		'elems_exclude'  => array( 'ELEMENTOR_PRO_VERSION' ),
		'help_url'       => 'https://elementor-addon-components.com/using-role-manager-module-elementor/#restrict-publication-modifications-to-content-only',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => '',
		'name_space'     => EAC_INCLUDES_NAMESPACE . 'Elementor\\Injection\\Eac_Injection_Role_Manager',
		'badge'          => '',
	),
	'custom-attribute'      => array(
		'active'         => false,
		'title'          => esc_html__( 'Custom attributes', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array(),
		'elems_exclude'  => array( 'ELEMENTOR_PRO_VERSION' ),
		'help_url'       => 'https://elementor-addon-components.com/add-your-custom-attributes-with-elementor/',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => '',
		'name_space'     => EAC_INCLUDES_NAMESPACE . 'Elementor\\CustomAttributes\\Eac_Custom_Attributes',
		'badge'          => '',
	),
	'custom-css'            => array(
		'active'         => true,
		'title'          => esc_html__( 'Custom CSS', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array(),
		'elems_exclude'  => array( 'ELEMENTOR_PRO_VERSION' ),
		'help_url'       => 'https://elementor-addon-components.com/elementor-custom-css/',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => '',
		'name_space'     => EAC_INCLUDES_NAMESPACE . 'Elementor\\CustomCss\\Eac_Custom_Css',
		'badge'          => '',
	),
	'dynamic-tag'           => array(
		'active'         => true,
		'title'          => esc_html__( 'Dynamic tags', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array(),
		'elems_exclude'  => array(),
		'help_url'       => 'https://elementor-addon-components.com/elementor-dynamic-tags/',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => '',
		'name_space'     => EAC_INCLUDES_NAMESPACE . 'Elementor\\DynamicTags\\Eac_Dynamic_Tags',
		'badge'          => '',
	),
	'dysplay-condition'     => array(
		'active'         => false,
		'title'          => esc_html__( 'Display conditions', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array(),
		'help_url'       => 'https://elementor-addon-components.com/how-to-set-display-conditions-with-elementor/',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => '',
		'name_space'     => EAC_INCLUDES_NAMESPACE . 'DisplayConditions\\Module',
		'badge'          => '',
	),
	'kenburns-slideshow'    => array(
		'active'         => false,
		'title'          => esc_html__( 'Ken Burns effect', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array(),
		'elems_exclude'  => array( 'ELEMENTOR_PRO_VERSION' ),
		'help_url'       => 'https://elementor-addon-components.com/animation-dimages/#ken-burns-slideshow-for-background-images',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => '',
		'name_space'     => EAC_INCLUDES_NAMESPACE . 'Elementor\\Injection\\Eac_Injection_Kenburns',
		'badge'          => '',
	),
	'element-link'          => array(
		'active'         => false,
		'title'          => esc_html__( 'Link element', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array(),
		'help_url'       => 'https://elementor-addon-components.com/add-link-to-a-section-column-using-elementor/',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => '',
		'name_space'     => EAC_INCLUDES_NAMESPACE . 'Elementor\\Injection\\Eac_Injection_Links',
		'badge'          => '',
	),
	'lottie-background'     => array(
		'active'         => false,
		'title'          => esc_html__( 'Lottie background', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array(),
		'elems_exclude'  => array( 'ELEMENTOR_PRO_VERSION' ),
		'help_url'       => 'https://elementor-addon-components.com/add-lottie-animation-in-elementor/#use-lottie-animations-in-the-background-of-an-element',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => '',
		'name_space'     => EAC_INCLUDES_NAMESPACE . 'Elementor\\Injection\\Eac_Injection_Lottie',
		'badge'          => '',
	),
	'motion-effects'        => array(
		'active'         => false,
		'title'          => esc_html__( 'Motion effects', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array(),
		'elems_exclude'  => array( 'ELEMENTOR_PRO_VERSION' ),
		'help_url'       => 'https://elementor-addon-components.com/create-animation-effects-elementor/',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => '',
		'name_space'     => EAC_INCLUDES_NAMESPACE . 'Elementor\\Injection\\Eac_Injection_Effect',
		'badge'          => '',
	),
	'background-images'     => array(
		'active'         => false,
		'title'          => esc_html__( 'Multiple background images', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array(),
		'elems_exclude'  => array(),
		'help_url'       => 'https://elementor-addon-components.com/add-multiple-background-images-elementor/',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => '',
		'name_space'     => EAC_INCLUDES_NAMESPACE . 'Elementor\\Injection\\Eac_Injection_Background_Images',
		'badge'          => '',
	),
	'element-sticky'        => array(
		'active'         => false,
		'title'          => esc_html__( 'Sticky element', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array(),
		'elems_exclude'  => array( 'ELEMENTOR_PRO_VERSION' ),
		'help_url'       => 'https://elementor-addon-components.com/use-sticky-scrolling-effect-with-elementor/',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => '',
		'name_space'     => EAC_INCLUDES_NAMESPACE . 'Elementor\\Injection\\Eac_Injection_Sticky',
		'badge'          => '',
	),
	'woo-dynamic-tag'       => array(
		'active'         => false,
		'title'          => esc_html__( 'WC dynamic tags', 'eac-components' ),
		'class_depends'  => array( 'WooCommerce' ),
		'func_depends'   => array(),
		'elems_exclude'  => array(),
		'help_url'       => 'https://elementor-addon-components.com/dynamic-woocommerce-tags-for-elementor/',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => '',
		'name_space'     => EAC_INCLUDES_NAMESPACE . 'Woocommerce\\DynamicTags\\Eac_Woo_Tags',
		'badge'          => '',
	),
	'all-features-common'   => array(
		'active'         => false,
		'title'          => esc_html__( 'Switch on all components', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array(),
		'help_url'       => '',
		'help_url_class' => '',
		'file_path'      => '',
		'name_space'     => '',
		'badge'          => '',
	),
	'custom-nav-menu'       => array(
		'active'         => false,
		'title'          => esc_html__( 'Customize nav menu', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array(),
		'help_url'       => 'https://elementor-addon-components.com/customize-wordpress-navigation-menus/',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => '',
		'name_space'     => EAC_ADMIN_NAMESPACE . 'Eac_Load_Nav_Menu',
		'badge'          => '',
	),
	'grant-option-page'     => array(
		'active'         => false,
		'title'          => esc_html__( 'Grant access Options Page', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array( 'acf_get_field_groups' ),
		'elems_exclude'  => array( 'acf_register_block_type' ),
		'help_url'       => 'https://elementor-addon-components.com/add-options-page-for-the-free-version-of-acf/#grant-access-options-page',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => '',
		'name_space'     => '',
		'badge'          => '',
	),
	'extend-fields-medias'  => array(
		'active'         => false,
		'title'          => esc_html__( 'Media custom fields', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array(),
		'help_url'       => 'https://elementor-addon-components.com/create-advanced-image-gallery-using-elementor/#activate-a-link-and-add-keywords-to-the-filter',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => '',
		'name_space'     => '',
		'badge'          => '',
	),
	'preload-page'  => array(
		'active'         => false,
		'title'          => esc_html__( 'Page preloading', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array(),
		'elems_exclude'  => array( 'ELEMENTOR_PRO_VERSION' ),
		'help_url'       => 'https://instant.page/',
		'help_url_class' => 'eac-admin-help',
		'file_path'      => '',
		'name_space'     => '',
		'badge'          => '',
	),
	'widget-count'  => array(
		'active'         => false,
		'title'          => esc_html__( 'Element usage', 'eac-components' ),
		'class_depends'  => array(),
		'func_depends'   => array(),
		'elems_exclude'  => array(),
		'help_url'       => '#',
		'help_url_class' => 'eac-admin-help grant-elements-usage',
		'file_path'      => '',
		'name_space'     => '',
		'badge'          => '',
	),
);

return $features_list;
