<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\SidebarComponents\ContactCard;

use AuxCF\Entities\Field\TrueFalseFieldEntity;
use AuxCF\Entities\Settings\Enum\IntSwitchEnum;
use AuxCF\Entities\Settings\Enum\OperatorEnum;
use WP_AUX\Entities\AuxCF\Fields\CustomContent\CustomContentSidebarSelectFieldEntity;
use WP_AUX\Enum\SidebarComponentEnum;

class SidebarContactCardAdminSwitchFieldEntity extends TrueFalseFieldEntity
{
  public static string $name = 'sidebar_contact_card_admin_switch';
  protected string $label = 'Show Administrative Contact';
  protected IntSwitchEnum $ui = IntSwitchEnum::On;

  protected array $initConditionalLogic = [
    [
      [ CustomContentSidebarSelectFieldEntity::class, OperatorEnum::EQUALS, SidebarComponentEnum::ContactCard ],
    ]
  ];

}
