<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\OptionsFields\SearchSidebar;

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

class SearchSidebarSectionFieldEntity extends RepeaterFieldEntity
{
  public static string $name = 'aux_search_sidebar_section';

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

  protected array $initFields = [
    SearchSidebarFilterHeadingFieldEntity::class,
    SearchSidebarFilterTypeFieldEntity::class,
    SearchSidebarFilterFieldsFieldEntity::class,
  ];
}
