ng-firebase-table-kxp 1.2.7 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@ import { PaginationService } from '../../services/pagination.service';
12
12
  import { BehaviorSubject } from 'rxjs';
13
13
  import firebase from 'firebase/compat';
14
14
  import WhereFilterOp = firebase.firestore.WhereFilterOp;
15
- import { FormControl, FormArray, FormGroup } from '@angular/forms';
15
+ import { AbstractControl, FormControl, FormArray, FormGroup } from '@angular/forms';
16
16
  import * as i0 from "@angular/core";
17
17
  export declare class TableComponent<T = any> implements OnInit, AfterViewInit, OnChanges, OnDestroy {
18
18
  private router;
@@ -70,7 +70,7 @@ export declare class TableComponent<T = any> implements OnInit, AfterViewInit, O
70
70
  finalDate?: string;
71
71
  }): void;
72
72
  hasActiveDateFilter(): boolean;
73
- getAvailableFilterOptions(): DropdownItem[];
73
+ getAvailableFilterOptions(currentGroup?: AbstractControl): DropdownItem[];
74
74
  onSelectFilterChange(): void;
75
75
  removeFilter(index: number): void;
76
76
  removeAllFilters(): void;
@@ -1,4 +1,4 @@
1
- import { FormArray, FormGroup } from '@angular/forms';
1
+ import { AbstractControl, FormArray, FormGroup } from '@angular/forms';
2
2
  import { Arrange, Column } from '../types/Table';
3
3
  import { TableService } from './table.service';
4
4
  import { OrderByDirection } from 'firebase/firestore';
@@ -39,7 +39,7 @@ export declare class FilterService {
39
39
  /**
40
40
  * Retorna as opções de filtro disponíveis
41
41
  */
42
- getAvailableFilterOptions(dropdownItems: any[], isPaginated: boolean, filtersForm: FormArray): any[];
42
+ getAvailableFilterOptions(dropdownItems: any[], isPaginated: boolean, filtersForm: FormArray, currentGroup?: AbstractControl): any[];
43
43
  /**
44
44
  * Remove um filtro do FormArray
45
45
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-firebase-table-kxp",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "description": "Uma biblioteca Angular poderosa para criar tabelas dinâmicas com integração completa ao Firebase Firestore",
5
5
  "keywords": [
6
6
  "angular",