<?php
declare(strict_types=1);

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

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


class SidebarFreestandingFactHeadingFieldEntity extends TextFieldEntity
{
  public static string $name = 'sidebar_freestanding_fact_heading';
  protected string $label = 'Fact Heading';
  protected mixed $defaultValue = 'Quick Fact';

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

}
