<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\ContactCardCollection;

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

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

  protected array $initFields = [
    ContactCardImageFieldEntity::class,
    ContactCardNameFieldEntity::class,
    ContactCardTitleFieldEntity::class,
    ContactCardOrgFieldEntity::class,
    ContactCardPhoneFieldEntity::class,
    ContactCardEmailFieldEntity::class,
    ContactCardProfileLinkFieldEntity::class,
    ContactCardAdminSwitchFieldEntity::class,
    ContactCardAdminNameFieldEntity::class,
    ContactCardAdminTitleFieldEntity::class,
    ContactCardAdminPhoneFieldEntity::class,
    ContactCardAdminEmailFieldEntity::class,
  ];
}
