<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\FeaturedCard;

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

use WP_AUX\Entities\AuxCF\Fields\Card\CardsFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\Card\CardHeadersSwitchFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\Card\CardSuperheaderFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\Card\CardHeadingFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\Card\CardSubheaderFieldEntity;
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\Card\CardCtaFieldEntity;
use WP_AUX\Entities\AuxCF\Fields\Card\CardCtasFieldEntity;

class CardsForFeaturedFieldEntity extends RepeaterFieldEntity
{
  public static string $name = 'card_for_featured';
  protected string $label = 'Cards';
  protected RepeaterFieldLayoutEnum $layout = RepeaterFieldLayoutEnum::Block;
  protected int $min = 1;
  protected string $buttonLabel = 'Add Card';

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