<!-- <div class="slider-overlay" (click)="close()"></div>
<div class="slider-bar">
  <div class="header">
    <div class="title">
      <h2>{{title}}</h2>
      <button type="button"(click)="close()">
        <ico></ico>
      </button>
    </div>
  </div>
  <div class="body">
    <object-filters [formGroup]="formGroup" [target]="target" [type]="type" [list]="list" (onFiltersUpdated)="this.total = $event"></object-filters>
  </div>
  <div class="footer">
    <div class="left">Найдено: {{total}}</div>
    <div class="right">
      <button type="button" class="btn secondary" (click)="clear()">СБРОСИТЬ</button>
      <button type="button" class="btn" (click)="save()">НАЙТИ</button>
    </div>
  </div>
</div> -->

<slider>
  <h2 header>{{title}}</h2>
  <object-filters body [formGroup]="formGroup" [target]="target" [type]="type" [list]="list" (onFiltersUpdated)="this.total = $event"></object-filters>
  <div footer>
    <div class="left">Найдено: {{total}}</div>
    <div class="right">
      <button type="button" class="btn secondary" (click)="clear()">СБРОСИТЬ</button>
      <button type="button" class="btn" (click)="save()">НАЙТИ</button>
    </div>
  </div>
</slider>
