<turbo-stream action="dialog" target="projects-configure-view-modal-component">
    <template>
      
<dialog-helper>
  <dialog style="min-height: 480px" id="op-project-list-configure-dialog" aria-modal="true" aria-labelledby="op-project-list-configure-dialog-title" aria-describedby="op-project-list-configure-dialog-description" data-view-component="true" class="Overlay Overlay-whenNarrow Overlay--size-large Overlay--motion-scaleFade Overlay--disableScroll">
    <div data-view-component="true" class="Overlay-header Overlay-header--large">
  <div class="Overlay-headerContentWrap">
    <div class="Overlay-titleWrap">
      <h1 class="Overlay-title " id="op-project-list-configure-dialog-title">
        Configurar a visualização
      </h1>
        
    </div>
    <div class="Overlay-actionWrap">
      <button data-close-dialog-id="op-project-list-configure-dialog" aria-label="Close" aria-label="Close" type="button" data-view-component="true" class="close-button Overlay-closeButton"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x">
    <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path>
</svg></button>
    </div>
  </div>
  
</div>
      
  <div data-view-component="true" class="Overlay-body">
    <form id="op-project-list-configure-query-form" data-turbo-stream="false" action="/projects" accept-charset="UTF-8" method="get">
      <tab-container data-view-component="true">
  <div data-view-component="true" class="tabnav">
    
    <ul role="tablist" aria-label="label" data-view-component="true" class="tabnav-tabs">
        <li role="presentation" data-view-component="true" class="d-inline-flex">
  <button id="tab-selects--columns" type="button" role="tab" aria-controls="panel-tab-selects--columns" aria-selected="true" data-view-component="true" class="tabnav-tab">
    
      <span data-view-component="true">Colunas</span>
    
</button></li>
        <li role="presentation" data-view-component="true" class="d-inline-flex">
  <button id="tab-selects--sorting" type="button" role="tab" aria-controls="panel-tab-selects--sorting" data-view-component="true" class="tabnav-tab">
    
      <span data-view-component="true">Ordenar</span>
    
</button></li>
</ul>    
</div>    <div id="panel-tab-selects--columns" role="tabpanel" tabindex="0" aria-labelledby="tab-selects--columns" data-view-component="true">            <opce-draggable-autocompleter data-options="[{&quot;id&quot;:&quot;project_phase_4&quot;,&quot;name&quot;:&quot;Closing&quot;},{&quot;id&quot;:&quot;description&quot;,&quot;name&quot;:&quot;Descrição&quot;},{&quot;id&quot;:&quot;status_explanation&quot;,&quot;name&quot;:&quot;Descrição do estado do projeto&quot;},{&quot;id&quot;:&quot;project_phase_3&quot;,&quot;name&quot;:&quot;Executing&quot;},{&quot;id&quot;:&quot;favored&quot;,&quot;name&quot;:&quot;Favorito&quot;},{&quot;id&quot;:&quot;id&quot;,&quot;name&quot;:&quot;ID&quot;},{&quot;id&quot;:&quot;identifier&quot;,&quot;name&quot;:&quot;Identificador&quot;},{&quot;id&quot;:&quot;project_phase_1&quot;,&quot;name&quot;:&quot;Initiating&quot;},{&quot;id&quot;:&quot;name&quot;,&quot;name&quot;:&quot;Nome&quot;},{&quot;id&quot;:&quot;project_phase_2&quot;,&quot;name&quot;:&quot;Planning&quot;},{&quot;id&quot;:&quot;cf_135&quot;,&quot;name&quot;:&quot;Prioridade&quot;},{&quot;id&quot;:&quot;project_phase_5&quot;,&quot;name&quot;:&quot;Procurement&quot;},{&quot;id&quot;:&quot;public&quot;,&quot;name&quot;:&quot;Público&quot;},{&quot;id&quot;:&quot;project_status&quot;,&quot;name&quot;:&quot;Situação&quot;}]" data-selected="[{&quot;id&quot;:&quot;project_status&quot;,&quot;name&quot;:&quot;Situação&quot;},{&quot;id&quot;:&quot;cf_135&quot;,&quot;name&quot;:&quot;Prioridade&quot;},{&quot;id&quot;:&quot;public&quot;,&quot;name&quot;:&quot;Público&quot;},{&quot;id&quot;:&quot;name&quot;,&quot;name&quot;:&quot;Nome&quot;},{&quot;id&quot;:&quot;description&quot;,&quot;name&quot;:&quot;Descrição&quot;}]" data-protected="[{&quot;id&quot;:&quot;name&quot;,&quot;name&quot;:&quot;Nome&quot;}]" data-name="&quot;columns&quot;" data-id="&quot;columns-select&quot;" data-drag-area-name="&quot;columns-select_dragarea&quot;" data-form-control-id="&quot;columns-select_autocompleter&quot;" data-input-label="&quot;Adicionar colunas&quot;" data-input-placeholder="&quot;Selecione uma coluna&quot;" data-drag-area-label="&quot;Gerir e reordenar colunas&quot;" data-append-to-component="true" class="op-angular-component"></opce-draggable-autocompleter>
</div>
    <div id="panel-tab-selects--sorting" role="tabpanel" tabindex="0" hidden="hidden" aria-labelledby="tab-selects--sorting" data-view-component="true">            <h5 data-view-component="true">Automático</h5>
<span data-view-component="true" class="text-small color-fg-subtle">Ordene o projetos por um ou mais critérios de ordenação. Irá perder a ordenação anterior.</span>
<div data-controller="sort-by-config" data-application-target="dynamic">
  <input type="hidden" name="sortBy" id="sortBy" value="[[&quot;name&quot;,&quot;asc&quot;]]" data-sort-by-config-target="sortByField" autocomplete="off" />
    <div data-sort-by-config-target="inputRowContainer" data-view-component="true" class="d-flex flex-column">
      <div data-sort-by-config-target="inputRow" data-view-component="true" class="mt-3">        
  <div data-view-component="true" class="d-flex flex-row">
      <div data-view-component="true" class="flex-1">    <select name="sort_field" id="sort_field" form="none" class="FormControl-select FormControl-medium FormControl--fullWidth" data-action="change-&gt;sort-by-config#fieldChanged"><option value="">-</option><option value="lft">Hierarquia do projeto</option>
<option value="project_phase_4">Closing</option>
<option value="project_phase_3">Executing</option>
<option value="id">ID</option>
<option value="identifier">Identificador</option>
<option value="project_phase_1">Initiating</option>
<option selected="selected" value="name">Nome</option>
<option value="project_phase_2">Planning</option>
<option value="cf_135">Prioridade</option>
<option value="project_phase_5">Procurement</option>
<option value="public">Público</option>
<option value="project_status">Situação</option></select>
</div>
      <div data-view-component="true">    <segmented-control>
  <ul aria-label="Sort order" role="list" data-view-component="true" class="SegmentedControl--medium SegmentedControl SegmentedControl--iconOnly ml-3">
      <li class="SegmentedControl-item SegmentedControl-item--selected" role="listitem" data-targets="segmented-control.items">
  <button data-direction="asc" data-action="click:segmented-control#select click-&gt;sort-by-config#fieldChanged" data-action="click:segmented-control#select" id="icon-button-ca5377d9-2474-4757-8351-b68994c9c20f" aria-current="true" aria-labelledby="tooltip-1ac86a51-2ccd-4f53-9db3-bc46cc5fb91e" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium">  <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-sort-asc Button-visual">
    <path d="m12.927 2.573 3 3A.25.25 0 0 1 15.75 6H13.5v6.75a.75.75 0 0 1-1.5 0V6H9.75a.25.25 0 0 1-.177-.427l3-3a.25.25 0 0 1 .354 0ZM0 12.25a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1-.75-.75Zm0-4a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5H.75A.75.75 0 0 1 0 8.25Zm0-4a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5H.75A.75.75 0 0 1 0 4.25Z"></path>
</svg>
</button><tool-tip id="tooltip-1ac86a51-2ccd-4f53-9db3-bc46cc5fb91e" for="icon-button-ca5377d9-2474-4757-8351-b68994c9c20f" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Ordem ascendente</tool-tip>

</li>

      <li class="SegmentedControl-item" role="listitem" data-targets="segmented-control.items">
  <button data-direction="desc" data-action="click:segmented-control#select click-&gt;sort-by-config#fieldChanged" data-action="click:segmented-control#select" id="icon-button-aeded6b9-3009-4bf8-9b3c-d858422db54a" aria-current="false" aria-labelledby="tooltip-5e625745-11d5-4403-a298-3f3e6d553b44" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium">  <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-sort-desc Button-visual">
    <path d="M0 4.25a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5H.75A.75.75 0 0 1 0 4.25Zm0 4a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5H.75A.75.75 0 0 1 0 8.25Zm0 4a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1-.75-.75ZM13.5 10h2.25a.25.25 0 0 1 .177.427l-3 3a.25.25 0 0 1-.354 0l-3-3A.25.25 0 0 1 9.75 10H12V3.75a.75.75 0 0 1 1.5 0V10Z"></path>
</svg>
</button><tool-tip id="tooltip-5e625745-11d5-4403-a298-3f3e6d553b44" for="icon-button-aeded6b9-3009-4bf8-9b3c-d858422db54a" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Ordem descendente</tool-tip>

</li>

</ul></segmented-control>
</div>
</div>

</div>
      <div data-sort-by-config-target="inputRow" data-view-component="true" class="mt-3">        
  <div data-view-component="true" class="d-flex flex-row">
      <div data-view-component="true" class="flex-1">    <select name="sort_field" id="sort_field" form="none" class="FormControl-select FormControl-medium FormControl--fullWidth" data-action="change-&gt;sort-by-config#fieldChanged"><option value="">-</option><option value="lft">Hierarquia do projeto</option>
<option value="project_phase_4">Closing</option>
<option value="project_phase_3">Executing</option>
<option value="id">ID</option>
<option value="identifier">Identificador</option>
<option value="project_phase_1">Initiating</option>
<option value="name">Nome</option>
<option value="project_phase_2">Planning</option>
<option value="cf_135">Prioridade</option>
<option value="project_phase_5">Procurement</option>
<option value="public">Público</option>
<option value="project_status">Situação</option></select>
</div>
      <div data-view-component="true">    <segmented-control>
  <ul aria-label="Sort order" role="list" data-view-component="true" class="SegmentedControl--medium SegmentedControl SegmentedControl--iconOnly ml-3">
      <li class="SegmentedControl-item" role="listitem" data-targets="segmented-control.items">
  <button data-direction="asc" data-action="click:segmented-control#select click-&gt;sort-by-config#fieldChanged" data-action="click:segmented-control#select" id="icon-button-b0ac06d5-601f-450e-8fde-5297e48376c1" aria-current="false" aria-labelledby="tooltip-b3c6b47c-f38f-44fa-b6d9-d1acf19ae96a" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium">  <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-sort-asc Button-visual">
    <path d="m12.927 2.573 3 3A.25.25 0 0 1 15.75 6H13.5v6.75a.75.75 0 0 1-1.5 0V6H9.75a.25.25 0 0 1-.177-.427l3-3a.25.25 0 0 1 .354 0ZM0 12.25a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1-.75-.75Zm0-4a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5H.75A.75.75 0 0 1 0 8.25Zm0-4a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5H.75A.75.75 0 0 1 0 4.25Z"></path>
</svg>
</button><tool-tip id="tooltip-b3c6b47c-f38f-44fa-b6d9-d1acf19ae96a" for="icon-button-b0ac06d5-601f-450e-8fde-5297e48376c1" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Ordem ascendente</tool-tip>

</li>

      <li class="SegmentedControl-item" role="listitem" data-targets="segmented-control.items">
  <button data-direction="desc" data-action="click:segmented-control#select click-&gt;sort-by-config#fieldChanged" data-action="click:segmented-control#select" id="icon-button-a1f9ef0f-4d8d-4ce4-838a-a930161b3499" aria-current="false" aria-labelledby="tooltip-068942b6-188e-4637-a79f-e9a35e9e9bbb" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium">  <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-sort-desc Button-visual">
    <path d="M0 4.25a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5H.75A.75.75 0 0 1 0 4.25Zm0 4a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5H.75A.75.75 0 0 1 0 8.25Zm0 4a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1-.75-.75ZM13.5 10h2.25a.25.25 0 0 1 .177.427l-3 3a.25.25 0 0 1-.354 0l-3-3A.25.25 0 0 1 9.75 10H12V3.75a.75.75 0 0 1 1.5 0V10Z"></path>
</svg>
</button><tool-tip id="tooltip-068942b6-188e-4637-a79f-e9a35e9e9bbb" for="icon-button-a1f9ef0f-4d8d-4ce4-838a-a930161b3499" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Ordem descendente</tool-tip>

</li>

</ul></segmented-control>
</div>
</div>

</div>
      <div data-sort-by-config-target="inputRow" data-view-component="true" class="mt-3">        
  <div data-view-component="true" class="d-flex flex-row">
      <div data-view-component="true" class="flex-1">    <select name="sort_field" id="sort_field" form="none" class="FormControl-select FormControl-medium FormControl--fullWidth" data-action="change-&gt;sort-by-config#fieldChanged"><option value="">-</option><option value="lft">Hierarquia do projeto</option>
<option value="project_phase_4">Closing</option>
<option value="project_phase_3">Executing</option>
<option value="id">ID</option>
<option value="identifier">Identificador</option>
<option value="project_phase_1">Initiating</option>
<option value="name">Nome</option>
<option value="project_phase_2">Planning</option>
<option value="cf_135">Prioridade</option>
<option value="project_phase_5">Procurement</option>
<option value="public">Público</option>
<option value="project_status">Situação</option></select>
</div>
      <div data-view-component="true">    <segmented-control>
  <ul aria-label="Sort order" role="list" data-view-component="true" class="SegmentedControl--medium SegmentedControl SegmentedControl--iconOnly ml-3">
      <li class="SegmentedControl-item" role="listitem" data-targets="segmented-control.items">
  <button data-direction="asc" data-action="click:segmented-control#select click-&gt;sort-by-config#fieldChanged" data-action="click:segmented-control#select" id="icon-button-815c47f4-ba6e-406a-85f9-668c78144623" aria-current="false" aria-labelledby="tooltip-021f80d7-b70d-4d17-970b-a718246f34ce" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium">  <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-sort-asc Button-visual">
    <path d="m12.927 2.573 3 3A.25.25 0 0 1 15.75 6H13.5v6.75a.75.75 0 0 1-1.5 0V6H9.75a.25.25 0 0 1-.177-.427l3-3a.25.25 0 0 1 .354 0ZM0 12.25a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1-.75-.75Zm0-4a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5H.75A.75.75 0 0 1 0 8.25Zm0-4a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5H.75A.75.75 0 0 1 0 4.25Z"></path>
</svg>
</button><tool-tip id="tooltip-021f80d7-b70d-4d17-970b-a718246f34ce" for="icon-button-815c47f4-ba6e-406a-85f9-668c78144623" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Ordem ascendente</tool-tip>

</li>

      <li class="SegmentedControl-item" role="listitem" data-targets="segmented-control.items">
  <button data-direction="desc" data-action="click:segmented-control#select click-&gt;sort-by-config#fieldChanged" data-action="click:segmented-control#select" id="icon-button-34a390e1-f6ef-4517-9192-b1ec431ca2c9" aria-current="false" aria-labelledby="tooltip-0d711aa1-593b-4344-a7b7-91dc45022590" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium">  <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-sort-desc Button-visual">
    <path d="M0 4.25a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5H.75A.75.75 0 0 1 0 4.25Zm0 4a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5H.75A.75.75 0 0 1 0 8.25Zm0 4a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1-.75-.75ZM13.5 10h2.25a.25.25 0 0 1 .177.427l-3 3a.25.25 0 0 1-.354 0l-3-3A.25.25 0 0 1 9.75 10H12V3.75a.75.75 0 0 1 1.5 0V10Z"></path>
</svg>
</button><tool-tip id="tooltip-0d711aa1-593b-4344-a7b7-91dc45022590" for="icon-button-34a390e1-f6ef-4517-9192-b1ec431ca2c9" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Ordem descendente</tool-tip>

</li>

</ul></segmented-control>
</div>
</div>

</div>
</div>

</div>

</div>
</tab-container></form></div>  <div data-view-component="true" class="Overlay-footer Overlay-footer--alignEnd">
    <button data-close-dialog-id="op-project-list-configure-dialog" type="button" data-view-component="true" class="Button--secondary Button--medium Button">  <span class="Button-content">
    <span class="Button-label">Cancelar</span>
  </span>
</button>

    <button data-test-selector="op-project-list-configure-dialog-submit" form="op-project-list-configure-query-form" type="submit" data-view-component="true" class="Button--primary Button--medium Button">  <span class="Button-content">
    <span class="Button-label">Aplicar</span>
  </span>
</button>

</div>
</dialog></dialog-helper>

    </template>
</turbo-stream>