<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\SplitFeature;

use AuxCF\Entities\Field\Enum\RepeaterFieldLayoutEnum;
use AuxCF\Entities\Field\RepeaterFieldEntity;
use AuxCF\Entities\Settings\Enum\OperatorEnum;

use WP_AUX\Entities\AuxCF\Fields\Card\CardHeadingFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\Card\CardHeadersSwitchFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\Card\CardSuperheaderFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\Card\CardSubheaderFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\FeaturedCard\FeaturedCardLinkFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\Card\CardContentFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\Card\CardImageFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\Card\CardIconFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\CardSlab\CardSlabCtaFieldEntity;
use WP_AUX\Enum\CtaTypes\AllCtaTypesEnum;

class SplitFeatureCardsFieldEntity extends RepeaterFieldEntity
{
  public static string $name = 'split_feature_card';
  protected string $label = 'Card';
  protected RepeaterFieldLayoutEnum $layout = RepeaterFieldLayoutEnum::Block;
  protected int $min = 1;
  protected ?int $max = 3;
  protected string $buttonLabel = 'Add Card';

  protected array $initFields = [
    CardHeadingFieldEntity::class,
    CardHeadersSwitchFieldEntity::class,
    CardSuperheaderFieldEntity::class,
    CardSubheaderFieldEntity::class,
    CardSlabCtaFieldEntity::class,
    CardImageFieldEntity::class,
    CardIconFieldEntity::class,
    CardContentFieldEntity::class,
  ];
}
