<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\Card;

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

class CardsFieldEntity extends RepeaterFieldEntity
{
  public static string $name = 'card';
  protected string $label = 'Card';
  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,
    LinkedCardCtaFieldEntity::class,
    CardContentFieldEntity::class,
  ];
}
