<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\OptionsFields\PostType;

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

class PostTypeSearchSectionFieldEntity extends RepeaterFieldEntity
{
  public static string $namePattern = 'aux_search_%s_section';

  protected string $label = 'Filter Sections';
  protected RepeaterFieldLayoutEnum $layout = RepeaterFieldLayoutEnum::Block;
  protected string $buttonLabel = 'Add Section';

  protected array $initFields = [
    PostTypeSearchFilterHeadingFieldEntity::class,
    PostTypeSearchFilterTypeFieldEntity::class,
    PostTypeSearchFilterFieldsFieldEntity::class,
  ];
}
