<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\StandaloneBlockquote;

use AuxCF\Entities\Field\SelectFieldEntity;
use AuxCF\Entities\Settings\Enum\IntSwitchEnum;
use WP_AUX\Enum\BackgroundColorEnum;
use AuxCF\Entities\Settings\Enum\OperatorEnum;

class StandaloneBlockquoteBackgroundFieldEntity extends SelectFieldEntity
{
  public static string $name = 'standalone_blockquote_background';
  protected string $label = 'Component Background';
  protected mixed $choices = BackgroundColorEnum::class;
  protected IntSwitchEnum $allowNull = IntSwitchEnum::Off;

  protected array $initConditionalLogic = [
    [[ StandaloneBlockquoteImageSwitchFieldEntity::class, OperatorEnum::EQUALS, '0' ]],
  ];

}
