<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\PageFields\Page;

use AuxCF\Entities\Field\RadioFieldEntity;
use WP_AUX\Enum\PageBackgroundColorEnum;
use AuxCF\Entities\Settings\Enum\OperatorEnum;
use WP_AUX\Enum\PageHeaderTypeEnum;

class PageBackgroundFieldEntity extends RadioFieldEntity
{
  public static string $name = 'aux_page_background';
  public static string $nickname = 'background';

  protected string $label = 'Page Header Background';
  protected mixed $choices = PageBackgroundColorEnum::class;

  protected array $initConditionalLogic = [
    [
      [ PageHeaderTypeFieldEntity::class, OperatorEnum::EQUALS, PageHeaderTypeEnum::Standard ],
    ],
  ];

}