@sankhyalabs/sankhyablocks-docs 4.3.1 → 4.4.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.
@@ -0,0 +1,47 @@
|
|
1
|
+
# snk-filter-field-search
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
<!-- Auto Generated Below -->
|
6
|
+
|
7
|
+
|
8
|
+
## Properties
|
9
|
+
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
11
|
+
| ------------ | ------------ | -------------------------------------------------------- | --------- | ------- |
|
12
|
+
| `searchable` | `searchable` | Define se o componente irá possuir um campo de pesquisa. | `boolean` | `true` |
|
13
|
+
|
14
|
+
|
15
|
+
## Events
|
16
|
+
|
17
|
+
| Event | Description | Type |
|
18
|
+
| -------------------- | --------------------------------------------------- | ------------------------------------------ |
|
19
|
+
| `ezSelectFilterItem` | Emitido sempre que um item da lista for selecionado | `CustomEvent<IFilterField \| IFilterLink>` |
|
20
|
+
|
21
|
+
|
22
|
+
## Methods
|
23
|
+
|
24
|
+
### `filterDataSource(filterText: string) => Promise<void>`
|
25
|
+
|
26
|
+
Filtra a fonte de dados do componente.
|
27
|
+
|
28
|
+
#### Returns
|
29
|
+
|
30
|
+
Type: `Promise<void>`
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
### `setDataSource(currentLink: IFilterLink, fetchData: DataFetcher) => Promise<void>`
|
35
|
+
|
36
|
+
Define a fonte de dados do componente.
|
37
|
+
|
38
|
+
#### Returns
|
39
|
+
|
40
|
+
Type: `Promise<void>`
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
----------------------------------------------
|
46
|
+
|
47
|
+
|