<?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;

/* admin/list_datagrid_full.html.twig */
class __TwigTemplate_6eb97fe0675dc3583024fa6a3449a3d81a27085c214f7ef609de82a1f98ef45e extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
            'popup' => [$this, 'block_popup'],
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "admin/list_datagrid_full.html.twig"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "admin/list_datagrid_full.html.twig"));

        // line 1
        yield "    <div clas=\"col-xs-12\">
    </div>
    <div class=\" py-2 px-2\">
        <div
                class=\"grid\"
                data-style=\"full\"
                data-columns=\"";
        // line 7
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode(((CoreExtension::getAttribute($this->env, $this->source, ($context["datas"] ?? null), "columns", [], "any", true, true, false, 7)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["datas"] ?? null), "columns", [], "any", false, false, false, 7), "")) : (""))), "html", null, true);
        yield "\"
                data-page=\"";
        // line 8
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 8, $this->source); })()), "html", null, true);
        yield "\"
                data-exportname=\"";
        // line 9
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((("liste_" . (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 9, $this->source); })())) . "s"), "html", null, true);
        yield "\"
                data-column_autowidth=\"";
        // line 10
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["datas"] ?? null), "column_autowidth", [], "any", true, true, false, 10)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["datas"] ?? null), "column_autowidth", [], "any", false, false, false, 10), null)) : (null)), "html", null, true);
        yield "\"
                data-rang_tri=\"";
        // line 11
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["datas"] ?? null), "rang_tri", [], "any", true, true, false, 11)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["datas"] ?? null), "rang_tri", [], "any", false, false, false, 11), null)) : (null)), "html", null, true);
        yield "\"
                data-lookup=\"";
        // line 12
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["datas"] ?? null), "lookup", [], "any", true, true, false, 12)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 12, $this->source); })()), "lookup", [], "any", false, false, false, 12)), "html", null, true)) : (yield ""));
        yield "\"
                data-getpath=\"";
        // line 13
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["datas"] ?? null), "get_path", [], "any", true, true, false, 13)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 13, $this->source); })()), "get_path", [], "any", false, false, false, 13), "html", null, true)) : (yield ""));
        yield "\"
                data-editing=\"";
        // line 14
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["datas"] ?? null), "editing", [], "any", true, true, false, 14)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 14, $this->source); })()), "editing", [], "any", false, false, false, 14)), "html", null, true)) : (yield ""));
        yield "\"
                data-remoteOperations = \"";
        // line 15
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["datas"] ?? null), "remoteOperations", [], "any", true, true, false, 15)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 15, $this->source); })()), "remoteOperations", [], "any", false, false, false, 15)), "html", null, true)) : (yield ""));
        yield "\"
                data-allowedPageSizes = \"";
        // line 16
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["datas"] ?? null), "allowedPageSizes", [], "any", true, true, false, 16)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 16, $this->source); })()), "allowedPageSizes", [], "any", false, false, false, 16)), "html", null, true)) : (yield ""));
        yield "\"
                data-key = \"";
        // line 17
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["datas"] ?? null), "key", [], "any", true, true, false, 17)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 17, $this->source); })()), "key", [], "any", false, false, false, 17)), "html", null, true)) : (yield ""));
        yield "\"
                data-rowDblClick = \"";
        // line 18
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["datas"] ?? null), "rowDblClick", [], "any", true, true, false, 18)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 18, $this->source); })()), "rowDblClick", [], "any", false, false, false, 18), "html", null, true)) : (yield ""));
        yield "\"
                data-searchpanelPlaceHolder = \"";
        // line 19
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["datas"] ?? null), "searchPanelPlaceholder", [], "any", true, true, false, 19)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 19, $this->source); })()), "searchPanelPlaceholder", [], "any", false, false, false, 19), "html", null, true)) : (yield ""));
        yield "\"
                data-exportAllText = \"";
        // line 20
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["datas"] ?? null), "exportAllText", [], "any", true, true, false, 20)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 20, $this->source); })()), "exportAllText", [], "any", false, false, false, 20), "html", null, true)) : (yield ""));
        yield "\"
                data-defautFiltre =\"";
        // line 21
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["datas"] ?? null), "filtreDefaut", [], "any", true, true, false, 21)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 21, $this->source); })()), "filtreDefaut", [], "any", false, false, false, 21)), "html", null, true)) : (yield ""));
        yield "\"
                data-defautFiltreUtilisateur =\"";
        // line 22
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["datas"] ?? null), "filtreDefautUtilisateur", [], "any", true, true, false, 22)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 22, $this->source); })()), "filtreDefautUtilisateur", [], "any", false, false, false, 22)), "html", null, true)) : (yield ""));
        yield "\"
                data-export-fields =\"";
        // line 23
        ((CoreExtension::getAttribute($this->env, $this->source, ($context["datas"] ?? null), "export_fields", [], "any", true, true, false, 23)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["datas"]) || array_key_exists("datas", $context) ? $context["datas"] : (function () { throw new RuntimeError('Variable "datas" does not exist.', 23, $this->source); })()), "export_fields", [], "any", false, false, false, 23)), "html", null, true)) : (yield ""));
        yield "\"
                style=\" height: 440px; ";
        // line 24
        yield (((0 === CoreExtension::compare((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 24, $this->source); })()), "Intervention"))) ? ("max-height:calc(100vh - 73px);") : (""));
        yield "\">
        </div>
    </div>
    ";
        // line 27
        yield from $this->unwrap()->yieldBlock('popup', $context, $blocks);
        // line 40
        yield "

";
        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        return; yield '';
    }

    // line 27
    public function block_popup($context, array $blocks = [])
    {
        $macros = $this->macros;
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "popup"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "popup"));

        // line 28
        yield "    ";
        yield Twig\Extension\CoreExtension::include($this->env, $context, "form/save_filter.html.twig");
        yield "
        ";
        // line 29
        if (array_key_exists("form", $context)) {
            // line 30
            yield "            <div id=\"popupadd";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 30, $this->source); })()), "html", null, true);
            yield "\" style=\"display:none\" >
                <div class=\"alert alert-danger\" style=\"display:none;\">
                </div>
                ";
            // line 33
            yield from             $this->loadTemplate((("form/" . Twig\Extension\CoreExtension::lower($this->env->getCharset(), (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 33, $this->source); })()))) . "_add.html.twig"), "admin/list_datagrid_full.html.twig", 33)->unwrap()->yield($context);
            // line 34
            yield "            </div>
        ";
        }
        // line 36
        yield "        ";
        if (array_key_exists("popup", $context)) {
            // line 37
            yield "            ";
            yield from             $this->loadTemplate((isset($context["popup"]) || array_key_exists("popup", $context) ? $context["popup"] : (function () { throw new RuntimeError('Variable "popup" does not exist.', 37, $this->source); })()), "admin/list_datagrid_full.html.twig", 37)->unwrap()->yield($context);
            // line 38
            yield "        ";
        }
        // line 39
        yield "    ";
        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

        return; yield '';
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName()
    {
        return "admin/list_datagrid_full.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable()
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  181 => 39,  178 => 38,  175 => 37,  172 => 36,  168 => 34,  166 => 33,  159 => 30,  157 => 29,  152 => 28,  142 => 27,  129 => 40,  127 => 27,  121 => 24,  117 => 23,  113 => 22,  109 => 21,  105 => 20,  101 => 19,  97 => 18,  93 => 17,  89 => 16,  85 => 15,  81 => 14,  77 => 13,  73 => 12,  69 => 11,  65 => 10,  61 => 9,  57 => 8,  53 => 7,  45 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("    <div clas=\"col-xs-12\">
    </div>
    <div class=\" py-2 px-2\">
        <div
                class=\"grid\"
                data-style=\"full\"
                data-columns=\"{{ datas.columns|default('')|json_encode() }}\"
                data-page=\"{{ page }}\"
                data-exportname=\"{{ 'liste_' ~ page ~ 's' }}\"
                data-column_autowidth=\"{{ datas.column_autowidth|default(null) }}\"
                data-rang_tri=\"{{ datas.rang_tri|default(null) }}\"
                data-lookup=\"{{ datas.lookup is defined  ? datas.lookup|json_encode() : '' }}\"
                data-getpath=\"{{ datas.get_path is defined  ? datas.get_path : '' }}\"
                data-editing=\"{{ datas.editing is defined  ? datas.editing|json_encode() : '' }}\"
                data-remoteOperations = \"{{ datas.remoteOperations is defined  ? datas.remoteOperations|json_encode() : '' }}\"
                data-allowedPageSizes = \"{{ datas.allowedPageSizes is defined  ? datas.allowedPageSizes|json_encode() : '' }}\"
                data-key = \"{{ datas.key is defined  ? datas.key|json_encode() : '' }}\"
                data-rowDblClick = \"{{ datas.rowDblClick is defined ? datas.rowDblClick : '' }}\"
                data-searchpanelPlaceHolder = \"{{ datas.searchPanelPlaceholder is defined ? datas.searchPanelPlaceholder  : '' }}\"
                data-exportAllText = \"{{ datas.exportAllText is defined ? datas.exportAllText  : '' }}\"
                data-defautFiltre =\"{{ datas.filtreDefaut is defined ? datas.filtreDefaut|json_encode() : '' }}\"
                data-defautFiltreUtilisateur =\"{{ datas.filtreDefautUtilisateur is defined ? datas.filtreDefautUtilisateur|json_encode() : '' }}\"
                data-export-fields =\"{{ datas.export_fields is defined ? datas.export_fields|json_encode() : '' }}\"
                style=\" height: 440px; {{ page == 'Intervention' ? 'max-height:calc(100vh - 73px);' : '' }}\">
        </div>
    </div>
    {% block popup %}
    {{ include('form/save_filter.html.twig') }}
        {%  if form is defined %}
            <div id=\"popupadd{{ page }}\" style=\"display:none\" >
                <div class=\"alert alert-danger\" style=\"display:none;\">
                </div>
                {% include(\"form/#{page|lower}_add.html.twig\") %}
            </div>
        {% endif %}
        {% if popup is defined %}
            {% include(popup) %}
        {% endif %}
    {% endblock %}


", "admin/list_datagrid_full.html.twig", "/builds/dev/refonte_sav/templates/admin/list_datagrid_full.html.twig");
    }
}
