<?php
declare(strict_types=1);

namespace WP_AUX\Entities\AuxCF\Fields\SidebarComponents;

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

class SidebarComponentListHeadingTextFieldEntity extends TextFieldEntity
{
  public static string $name = 'sidebar_list_heading_text';
  protected string $label = 'List Heading (Optional)';

  protected array $initConditionalLogic = [
    [
        [ CustomContentSidebarSelectFieldEntity::class, OperatorEnum::EQUALS, 'desc-list' ],
    ],
    [
        [ CustomContentSidebarSelectFieldEntity::class, OperatorEnum::EQUALS, 'icon-list' ],
    ],
    [
        [ CustomContentSidebarSelectFieldEntity::class, OperatorEnum::EQUALS, 'link-list' ],
    ],
  ];

}
