<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\Callout;

use AuxCF\Entities\Field\RadioFieldEntity;
use AuxCF\Entities\Field\Enum\ChoicesFieldLayoutEnum;
use AuxCF\Entities\Settings\Enum\OperatorEnum;
use WP_AUX\Enum\CardsMediaEnum;
use WP_AUX\Enum\CalloutImageAlignmentEnum;

class CalloutImageAlignmentFieldEntity extends RadioFieldEntity
{
  public static string $name = 'callout_image_alignment';
  protected string $label = 'Image Alignment';
  protected mixed $choices = CalloutImageAlignmentEnum::class;
  protected ChoicesFieldLayoutEnum $layout = ChoicesFieldLayoutEnum::Horizontal;

  protected array $initConditionalLogic = [
    [[ CalloutMediaOptionsFieldEntity::class, OperatorEnum::EQUALS, CardsMediaEnum::Image ]],
  ];
}
