<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\PageFieldGroups;

use AuxCF\Entities\FieldGroup\Enum\FieldGroupPositionEnum;
use AuxCF\Entities\FieldGroup\Enum\FieldGroupStyleEnum;
use AuxCF\Entities\FieldGroup\FieldGroupTaxonomyLocationEntity;
use WP_AUX\Entities\AuxCF\PageFields\Taxonomy\TaxonomyFeaturedImageFieldEntity;
use WP_AUX\Entities\AuxCF\PageFields\Taxonomy\TaxonomyFeaturedPostsFieldEntity;
use WP_AUX\Entities\AuxCF\PageFields\Taxonomy\TaxonomyLogoFieldEntity;
use WP_AUX\Entities\AuxCF\PageFields\Taxonomy\TaxonomySocialShareImageFieldEntity;
use WP_AUX\Entities\AuxCF\PageFields\Taxonomy\TaxonomyUrlFieldEntity;

class AcfTaxonomyOptionsGroupEntity extends AcfInternalPageGroupEntity
{
  public static string $key = 'aux_taxonomy_options';
  protected string $title = 'Details';
  protected FieldGroupPositionEnum $position = FieldGroupPositionEnum::AfterTitle;
  protected FieldGroupStyleEnum $style = FieldGroupStyleEnum::Seamless;

  protected array $initFields = [
    TaxonomyLogoFieldEntity::class,
    TaxonomyFeaturedImageFieldEntity::class,
    TaxonomyUrlFieldEntity::class,
    TaxonomyFeaturedPostsFieldEntity::class,
    TaxonomySocialShareImageFieldEntity::class,
  ];

  protected array $initLocations = [
    [FieldGroupTaxonomyLocationEntity::class, 'all'],
  ];
}
