matcha-components 19.10.0 → 19.13.0
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.
|
@@ -17,12 +17,11 @@ export declare class MatchaInfiniteScrollDataComponent implements OnInit, OnDest
|
|
|
17
17
|
*/
|
|
18
18
|
threshold: number;
|
|
19
19
|
/**
|
|
20
|
-
* Chave para resetar a diretiva
|
|
21
|
-
* Você pode, por exemplo, passar o valor do filtro atual.
|
|
20
|
+
* Chave para resetar a diretiva (para componentes como select).
|
|
22
21
|
*/
|
|
23
22
|
resetKey: any;
|
|
24
23
|
/**
|
|
25
|
-
*
|
|
24
|
+
* Novo input para o autocomplete, onde será aplicado o debounce.
|
|
26
25
|
*/
|
|
27
26
|
searchTerm: any;
|
|
28
27
|
/**
|
|
@@ -32,11 +31,13 @@ export declare class MatchaInfiniteScrollDataComponent implements OnInit, OnDest
|
|
|
32
31
|
private aggregatedList;
|
|
33
32
|
private currentPage;
|
|
34
33
|
private observer;
|
|
35
|
-
private
|
|
34
|
+
private dataSubscription;
|
|
35
|
+
private searchSubscription;
|
|
36
|
+
private searchTermSubject;
|
|
36
37
|
constructor(element: ElementRef);
|
|
37
38
|
ngOnInit(): void;
|
|
38
39
|
/**
|
|
39
|
-
* Detecta mudanças
|
|
40
|
+
* Detecta mudanças nos inputs e, se for o caso, reseta a lista e a página atual.
|
|
40
41
|
*/
|
|
41
42
|
ngOnChanges(changes: SimpleChanges): void;
|
|
42
43
|
/**
|
|
@@ -44,9 +45,9 @@ export declare class MatchaInfiniteScrollDataComponent implements OnInit, OnDest
|
|
|
44
45
|
*/
|
|
45
46
|
private initialize;
|
|
46
47
|
/**
|
|
47
|
-
* Reseta o estado
|
|
48
|
+
* Reseta apenas as assinaturas e o estado dos dados (não a inscrição do searchTerm).
|
|
48
49
|
*/
|
|
49
|
-
private
|
|
50
|
+
private resetData;
|
|
50
51
|
/**
|
|
51
52
|
* Carrega a próxima página de dados utilizando a função loadData.
|
|
52
53
|
*/
|