<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* @admin/ui/component/input_text.html.twig */
class __TwigTemplate_dc09b397778b05cc4e41755a4c249187 extends Netgen\Bundle\SiteBundle\Templating\Twig\DebugTemplate
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
'actions' => [$this, 'block_actions'],
'right_side_label' => [$this, 'block_right_side_label'],
'extra_content' => [$this, 'block_extra_content'],
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@admin/ui/component/input_text.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@admin/ui/component/input_text.html.twig"));
// line 1
$macros["html"] = $this->macros["html"] = $this->load("@ibexadesign/ui/component/macros.html.twig", 1)->unwrap();
// line 2
yield "
";
// line 3
$context["is_password_type"] = (((array_key_exists("type", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 3, $this->source); })()), "")) : ("")) == "password");
// line 4
$context["is_password_input"] = ((array_key_exists("is_password_input", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["is_password_input"]) || array_key_exists("is_password_input", $context) ? $context["is_password_input"] : (function () { throw new RuntimeError('Variable "is_password_input" does not exist.', 4, $this->source); })()), (isset($context["is_password_type"]) || array_key_exists("is_password_type", $context) ? $context["is_password_type"] : (function () { throw new RuntimeError('Variable "is_password_type" does not exist.', 4, $this->source); })()))) : ((isset($context["is_password_type"]) || array_key_exists("is_password_type", $context) ? $context["is_password_type"] : (function () { throw new RuntimeError('Variable "is_password_type" does not exist.', 4, $this->source); })())));
// line 5
$context["has_search"] = ((array_key_exists("has_search", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["has_search"]) || array_key_exists("has_search", $context) ? $context["has_search"] : (function () { throw new RuntimeError('Variable "has_search" does not exist.', 5, $this->source); })()), false)) : (false));
// line 6
$context["is_multiline"] = ((array_key_exists("is_multiline", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["is_multiline"]) || array_key_exists("is_multiline", $context) ? $context["is_multiline"] : (function () { throw new RuntimeError('Variable "is_multiline" does not exist.', 6, $this->source); })()), false)) : (false));
// line 7
$context["is_disabled"] = ((array_key_exists("is_disabled", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["is_disabled"]) || array_key_exists("is_disabled", $context) ? $context["is_disabled"] : (function () { throw new RuntimeError('Variable "is_disabled" does not exist.', 7, $this->source); })()), false)) : (false));
// line 8
$context["extra_btn"] = Twig\Extension\CoreExtension::merge(((array_key_exists("extra_btn", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["extra_btn"]) || array_key_exists("extra_btn", $context) ? $context["extra_btn"] : (function () { throw new RuntimeError('Variable "extra_btn" does not exist.', 8, $this->source); })()), [])) : ([])), ["label" => ((Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, // line 9
($context["extra_btn"] ?? null), "label", [], "any", true, true, false, 9)) ? (Twig\Extension\CoreExtension::default(Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["extra_btn"]) || array_key_exists("extra_btn", $context) ? $context["extra_btn"] : (function () { throw new RuntimeError('Variable "extra_btn" does not exist.', 9, $this->source); })()), "label", [], "any", false, false, false, 9), "")) : ("")), "attr" => Twig\Extension\CoreExtension::merge(((Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, // line 10
($context["extra_btn"] ?? null), "attr", [], "any", true, true, false, 10)) ? (Twig\Extension\CoreExtension::default(Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["extra_btn"]) || array_key_exists("extra_btn", $context) ? $context["extra_btn"] : (function () { throw new RuntimeError('Variable "extra_btn" does not exist.', 10, $this->source); })()), "attr", [], "any", false, false, false, 10), [])) : ([])), ["type" => ((Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, // line 11
($context["extra_btn"] ?? null), "type", [], "any", true, true, false, 11)) ? (Twig\Extension\CoreExtension::default(Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["extra_btn"]) || array_key_exists("extra_btn", $context) ? $context["extra_btn"] : (function () { throw new RuntimeError('Variable "extra_btn" does not exist.', 11, $this->source); })()), "type", [], "any", false, false, false, 11), "button")) : ("button")), "class" => Twig\Extension\CoreExtension::trim((((Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, // line 12
($context["extra_btn"] ?? null), "attr", [], "any", false, true, false, 12), "class", [], "any", true, true, false, 12)) ? (Twig\Extension\CoreExtension::default(Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["extra_btn"]) || array_key_exists("extra_btn", $context) ? $context["extra_btn"] : (function () { throw new RuntimeError('Variable "extra_btn" does not exist.', 12, $this->source); })()), "attr", [], "any", false, false, false, 12), "class", [], "any", false, false, false, 12), "")) : ("")) . " btn ibexa-btn ibexa-btn--info ibexa-input-text-wrapper__action-btn--extra-btn"))])]);
// line 17
$context["should_clear_button_send_form"] = ((array_key_exists("should_clear_button_send_form", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["should_clear_button_send_form"]) || array_key_exists("should_clear_button_send_form", $context) ? $context["should_clear_button_send_form"] : (function () { throw new RuntimeError('Variable "should_clear_button_send_form" does not exist.', 17, $this->source); })()), false)) : (false));
// line 18
$context["wrapper_attr"] = Twig\Extension\CoreExtension::merge(((array_key_exists("wrapper_attr", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["wrapper_attr"]) || array_key_exists("wrapper_attr", $context) ? $context["wrapper_attr"] : (function () { throw new RuntimeError('Variable "wrapper_attr" does not exist.', 18, $this->source); })()), [])) : ([])), ["class" => Twig\Extension\CoreExtension::trim((((((((((Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, // line 19
($context["wrapper_attr"] ?? null), "class", [], "any", true, true, false, 19)) ? (Twig\Extension\CoreExtension::default(Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["wrapper_attr"]) || array_key_exists("wrapper_attr", $context) ? $context["wrapper_attr"] : (function () { throw new RuntimeError('Variable "wrapper_attr" does not exist.', 19, $this->source); })()), "class", [], "any", false, false, false, 19), "")) : ("")) . " ibexa-input-text-wrapper") . (((($tmp = // line 21
(isset($context["has_search"]) || array_key_exists("has_search", $context) ? $context["has_search"] : (function () { throw new RuntimeError('Variable "has_search" does not exist.', 21, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (" ibexa-input-text-wrapper--search") : (""))) . (((($tmp = // line 22
(isset($context["is_password_input"]) || array_key_exists("is_password_input", $context) ? $context["is_password_input"] : (function () { throw new RuntimeError('Variable "is_password_input" does not exist.', 22, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (" ibexa-input-text-wrapper--password") : (""))) . (( // line 23
array_key_exists("type", $context)) ? ((" ibexa-input-text-wrapper--type-" . (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 23, $this->source); })()))) : (""))) . (((($tmp = Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, // line 24
(isset($context["extra_btn"]) || array_key_exists("extra_btn", $context) ? $context["extra_btn"] : (function () { throw new RuntimeError('Variable "extra_btn" does not exist.', 24, $this->source); })()), "label", [], "any", false, false, false, 24)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (" ibexa-input-text-wrapper--extra-btn") : (""))) . (((($tmp = // line 25
(isset($context["is_multiline"]) || array_key_exists("is_multiline", $context) ? $context["is_multiline"] : (function () { throw new RuntimeError('Variable "is_multiline" does not exist.', 25, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (" ibexa-input-text-wrapper--multiline") : (""))) . (( // line 26
array_key_exists("right_side_label", $context)) ? (" ibexa-input-text-wrapper--has-right-side-label") : (""))))]);
// line 29
yield "
<div ";
// line 30
yield $macros["html"]->getTemplateForMacro("macro_attributes", $context, 30, $this->getSourceContext())->macro_attributes(...[(isset($context["wrapper_attr"]) || array_key_exists("wrapper_attr", $context) ? $context["wrapper_attr"] : (function () { throw new RuntimeError('Variable "wrapper_attr" does not exist.', 30, $this->source); })())]);
yield ">
<div class=\"ibexa-input-text-wrapper__input-wrapper\">
";
// line 32
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 33
yield " <div class=\"ibexa-input-text-wrapper__actions\">
";
// line 34
yield from $this->unwrap()->yieldBlock('actions', $context, $blocks);
// line 77
yield " </div>
</div>
";
// line 79
yield from $this->unwrap()->yieldBlock('right_side_label', $context, $blocks);
// line 88
yield " ";
yield from $this->unwrap()->yieldBlock('extra_content', $context, $blocks);
// line 89
yield "</div>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 32
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 34
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_actions(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "actions"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "actions"));
// line 35
yield " <button
type=\"button\"
class=\"btn ibexa-btn ibexa-btn--ghost ibexa-btn--no-text ibexa-input-text-wrapper__action-btn ibexa-input-text-wrapper__action-btn--clear\"
tabindex=\"-1\"
";
// line 39
yield (((($tmp = (isset($context["is_disabled"]) || array_key_exists("is_disabled", $context) ? $context["is_disabled"] : (function () { throw new RuntimeError('Variable "is_disabled" does not exist.', 39, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("disabled") : (""));
yield "
";
// line 40
if ((($tmp = (isset($context["should_clear_button_send_form"]) || array_key_exists("should_clear_button_send_form", $context) ? $context["should_clear_button_send_form"] : (function () { throw new RuntimeError('Variable "should_clear_button_send_form" does not exist.', 40, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield "data-send-form-after-clearing";
}
// line 41
yield " >
<svg class=\"ibexa-icon ibexa-icon--tiny-small\">
<use xlink:href=\"";
// line 43
yield $this->extensions['Ibexa\Bundle\AdminUi\Templating\Twig\IconPathExtension']->getIconPath("discard");
yield "\"></use>
</svg>
</button>
";
// line 46
if ((($tmp = (isset($context["is_password_input"]) || array_key_exists("is_password_input", $context) ? $context["is_password_input"] : (function () { throw new RuntimeError('Variable "is_password_input" does not exist.', 46, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 47
yield " <button
type=\"button\"
class=\"btn ibexa-btn ibexa-btn--ghost ibexa-btn--no-text ibexa-input-text-wrapper__action-btn ibexa-input-text-wrapper__action-btn--password-toggler\"
tabindex=\"5\"
";
// line 51
yield (((($tmp = (isset($context["is_disabled"]) || array_key_exists("is_disabled", $context) ? $context["is_disabled"] : (function () { throw new RuntimeError('Variable "is_disabled" does not exist.', 51, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("disabled") : (""));
yield "
>
<svg class=\"ibexa-icon ibexa-icon--small ibexa-input-text-wrapper__password-show\">
<use xlink:href=\"";
// line 54
yield $this->extensions['Ibexa\Bundle\AdminUi\Templating\Twig\IconPathExtension']->getIconPath("view");
yield "\"></use>
</svg>
<svg class=\"ibexa-icon ibexa-icon--small ibexa-input-text-wrapper__password-hide d-none\">
<use xlink:href=\"";
// line 57
yield $this->extensions['Ibexa\Bundle\AdminUi\Templating\Twig\IconPathExtension']->getIconPath("view-hide");
yield "\"></use>
</svg>
</button>
";
} elseif ((($tmp = // line 60
(isset($context["has_search"]) || array_key_exists("has_search", $context) ? $context["has_search"] : (function () { throw new RuntimeError('Variable "has_search" does not exist.', 60, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 61
yield " <button
type=\"";
// line 62
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("search_button_type", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["search_button_type"]) || array_key_exists("search_button_type", $context) ? $context["search_button_type"] : (function () { throw new RuntimeError('Variable "search_button_type" does not exist.', 62, $this->source); })()), "submit")) : ("submit")), "html", null, true);
yield "\"
class=\"btn ibexa-btn ibexa-btn--ghost ibexa-btn--no-text ibexa-input-text-wrapper__action-btn ibexa-input-text-wrapper__action-btn--search\"
tabindex=\"-1\"
";
// line 65
yield (((($tmp = (isset($context["is_disabled"]) || array_key_exists("is_disabled", $context) ? $context["is_disabled"] : (function () { throw new RuntimeError('Variable "is_disabled" does not exist.', 65, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("disabled") : (""));
yield "
>
<svg class=\"ibexa-icon ibexa-icon--small\">
<use xlink:href=\"";
// line 68
yield $this->extensions['Ibexa\Bundle\AdminUi\Templating\Twig\IconPathExtension']->getIconPath("search");
yield "\"></use>
</svg>
</button>
";
} elseif ((($tmp = !Twig\Extension\CoreExtension::testEmpty(Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, // line 71
(isset($context["extra_btn"]) || array_key_exists("extra_btn", $context) ? $context["extra_btn"] : (function () { throw new RuntimeError('Variable "extra_btn" does not exist.', 71, $this->source); })()), "label", [], "any", false, false, false, 71))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 72
yield " <button ";
yield $macros["html"]->getTemplateForMacro("macro_attributes", $context, 72, $this->getSourceContext())->macro_attributes(...[Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["extra_btn"]) || array_key_exists("extra_btn", $context) ? $context["extra_btn"] : (function () { throw new RuntimeError('Variable "extra_btn" does not exist.', 72, $this->source); })()), "attr", [], "any", false, false, false, 72)]);
yield ">";
// line 73
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["extra_btn"]) || array_key_exists("extra_btn", $context) ? $context["extra_btn"] : (function () { throw new RuntimeError('Variable "extra_btn" does not exist.', 73, $this->source); })()), "label", [], "any", false, false, false, 73), "html", null, true);
// line 74
yield "</button>
";
}
// line 76
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 79
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_right_side_label(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "right_side_label"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "right_side_label"));
// line 80
yield " ";
if (array_key_exists("right_side_label", $context)) {
// line 81
yield " <div class=\"ibexa-input-text-wrapper__right-side-label-wrapper\">
<div class=\"ibexa-input-text-wrapper__right-side-label\">
";
// line 83
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["right_side_label"]) || array_key_exists("right_side_label", $context) ? $context["right_side_label"] : (function () { throw new RuntimeError('Variable "right_side_label" does not exist.', 83, $this->source); })()), "html", null, true);
yield "
</div>
</div>
";
}
// line 87
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 88
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_extra_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extra_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extra_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@admin/ui/component/input_text.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 289 => 88, 278 => 87, 271 => 83, 267 => 81, 264 => 80, 251 => 79, 240 => 76, 236 => 74, 234 => 73, 230 => 72, 228 => 71, 222 => 68, 216 => 65, 210 => 62, 207 => 61, 205 => 60, 199 => 57, 193 => 54, 187 => 51, 181 => 47, 179 => 46, 173 => 43, 169 => 41, 165 => 40, 161 => 39, 155 => 35, 142 => 34, 120 => 32, 108 => 89, 105 => 88, 103 => 79, 99 => 77, 97 => 34, 94 => 33, 92 => 32, 87 => 30, 84 => 29, 82 => 26, 81 => 25, 80 => 24, 79 => 23, 78 => 22, 77 => 21, 76 => 19, 75 => 18, 73 => 17, 71 => 12, 70 => 11, 69 => 10, 68 => 9, 67 => 8, 65 => 7, 63 => 6, 61 => 5, 59 => 4, 57 => 3, 54 => 2, 52 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% import '@ibexadesign/ui/component/macros.html.twig' as html %}
{% set is_password_type = type|default('') == 'password' %}
{% set is_password_input = is_password_input|default(is_password_type) %}
{% set has_search = has_search|default(false) %}
{% set is_multiline = is_multiline|default(false) %}
{% set is_disabled = is_disabled|default(false) %}
{% set extra_btn = extra_btn|default({})|merge({
label: extra_btn.label|default(''),
attr: extra_btn.attr|default({})|merge({
type: extra_btn.type|default('button'),
class: (extra_btn.attr.class|default('')
~ ' btn ibexa-btn ibexa-btn--info ibexa-input-text-wrapper__action-btn--extra-btn'
)|trim
})
}) %}
{% set should_clear_button_send_form = should_clear_button_send_form|default(false) %}
{% set wrapper_attr = wrapper_attr|default({})|merge({
class: (wrapper_attr.class|default('')
~ ' ibexa-input-text-wrapper'
~ (has_search ? ' ibexa-input-text-wrapper--search')
~ (is_password_input ? ' ibexa-input-text-wrapper--password')
~ (type is defined ? \" ibexa-input-text-wrapper--type-#{type}\")
~ (extra_btn.label ? ' ibexa-input-text-wrapper--extra-btn')
~ (is_multiline ? ' ibexa-input-text-wrapper--multiline')
~ (right_side_label is defined ? ' ibexa-input-text-wrapper--has-right-side-label')
)|trim
}) %}
<div {{ html.attributes(wrapper_attr) }}>
<div class=\"ibexa-input-text-wrapper__input-wrapper\">
{% block content %}{% endblock %}
<div class=\"ibexa-input-text-wrapper__actions\">
{% block actions %}
<button
type=\"button\"
class=\"btn ibexa-btn ibexa-btn--ghost ibexa-btn--no-text ibexa-input-text-wrapper__action-btn ibexa-input-text-wrapper__action-btn--clear\"
tabindex=\"-1\"
{{ is_disabled ? 'disabled' }}
{% if should_clear_button_send_form %}data-send-form-after-clearing{% endif %}
>
<svg class=\"ibexa-icon ibexa-icon--tiny-small\">
<use xlink:href=\"{{ ibexa_icon_path('discard') }}\"></use>
</svg>
</button>
{% if is_password_input %}
<button
type=\"button\"
class=\"btn ibexa-btn ibexa-btn--ghost ibexa-btn--no-text ibexa-input-text-wrapper__action-btn ibexa-input-text-wrapper__action-btn--password-toggler\"
tabindex=\"5\"
{{ is_disabled ? 'disabled' }}
>
<svg class=\"ibexa-icon ibexa-icon--small ibexa-input-text-wrapper__password-show\">
<use xlink:href=\"{{ ibexa_icon_path('view') }}\"></use>
</svg>
<svg class=\"ibexa-icon ibexa-icon--small ibexa-input-text-wrapper__password-hide d-none\">
<use xlink:href=\"{{ ibexa_icon_path('view-hide') }}\"></use>
</svg>
</button>
{% elseif has_search %}
<button
type=\"{{ search_button_type|default('submit') }}\"
class=\"btn ibexa-btn ibexa-btn--ghost ibexa-btn--no-text ibexa-input-text-wrapper__action-btn ibexa-input-text-wrapper__action-btn--search\"
tabindex=\"-1\"
{{ is_disabled ? 'disabled' }}
>
<svg class=\"ibexa-icon ibexa-icon--small\">
<use xlink:href=\"{{ ibexa_icon_path('search') }}\"></use>
</svg>
</button>
{% elseif extra_btn.label is not empty %}
<button {{html.attributes(extra_btn.attr)}}>
{{- extra_btn.label -}}
</button>
{% endif %}
{% endblock %}
</div>
</div>
{% block right_side_label %}
{% if right_side_label is defined %}
<div class=\"ibexa-input-text-wrapper__right-side-label-wrapper\">
<div class=\"ibexa-input-text-wrapper__right-side-label\">
{{ right_side_label }}
</div>
</div>
{% endif %}
{% endblock %}
{% block extra_content %}{% endblock %}
</div>
", "@admin/ui/component/input_text.html.twig", "/var/www/vhosts/platformv4.alpha.se7enx.com/httpdocs/platformvlegacy4.alpha.se7enx.com/vendor/se7enxweb/admin-ui/src/bundle/Resources/views/themes/admin/ui/component/input_text.html.twig");
}
}