@sankhyalabs/sankhyablocks-docs 5.5.0 → 5.6.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.
- package/components/snk-filter-field-search/readme.md +21 -6
- package/components/snk-personalized-filter/readme.md +32 -0
- package/components/snk-personalized-filter/subcomponents/snk-expression-item/readme.md +47 -0
- package/components/snk-personalized-filter/subcomponents/snk-filter-param-config/readme.md +13 -0
- package/package.json +1 -1
@@ -7,9 +7,10 @@
|
|
7
7
|
|
8
8
|
## Properties
|
9
9
|
|
10
|
-
| Property
|
11
|
-
|
|
12
|
-
| `
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
11
|
+
| ------------------ | ------------ | ----------------------------------------------------------------------------------- | ------------------------ | ----------- |
|
12
|
+
| `fieldsDataSource` | -- | Define a fonte de dados que o componente vai utilizar para carregamento dos campos. | `FilterFieldsDataSource` | `undefined` |
|
13
|
+
| `searchable` | `searchable` | Define se o componente irá possuir um campo de pesquisa. | `boolean` | `true` |
|
13
14
|
|
14
15
|
|
15
16
|
## Events
|
@@ -21,7 +22,7 @@
|
|
21
22
|
|
22
23
|
## Methods
|
23
24
|
|
24
|
-
### `
|
25
|
+
### `applyFilter(filterText: string) => Promise<void>`
|
25
26
|
|
26
27
|
Filtra a fonte de dados do componente.
|
27
28
|
|
@@ -31,9 +32,10 @@ Type: `Promise<void>`
|
|
31
32
|
|
32
33
|
|
33
34
|
|
34
|
-
### `
|
35
|
+
### `show() => Promise<void>`
|
35
36
|
|
36
|
-
|
37
|
+
Realiza a abertura do componente e faz a primeira carga
|
38
|
+
de dados.
|
37
39
|
|
38
40
|
#### Returns
|
39
41
|
|
@@ -42,6 +44,19 @@ Type: `Promise<void>`
|
|
42
44
|
|
43
45
|
|
44
46
|
|
47
|
+
## Dependencies
|
48
|
+
|
49
|
+
### Used by
|
50
|
+
|
51
|
+
- [snk-expression-item](../snk-personalized-filter/subcomponents/snk-expression-item)
|
52
|
+
|
53
|
+
### Graph
|
54
|
+
```mermaid
|
55
|
+
graph TD;
|
56
|
+
snk-expression-item --> snk-filter-field-search
|
57
|
+
style snk-filter-field-search fill:#f9f,stroke:#333,stroke-width:4px
|
58
|
+
```
|
59
|
+
|
45
60
|
----------------------------------------------
|
46
61
|
|
47
62
|
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# snk-personalized-filter
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
<!-- Auto Generated Below -->
|
6
|
+
|
7
|
+
|
8
|
+
## Properties
|
9
|
+
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
11
|
+
| ----------------- | --------- | -------------------------------------------------------------------------------------- | ------------------- | ----------- |
|
12
|
+
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
13
|
+
|
14
|
+
|
15
|
+
## Dependencies
|
16
|
+
|
17
|
+
### Depends on
|
18
|
+
|
19
|
+
- [snk-expression-item](./subcomponents/snk-expression-item)
|
20
|
+
|
21
|
+
### Graph
|
22
|
+
```mermaid
|
23
|
+
graph TD;
|
24
|
+
snk-personalized-filter --> snk-expression-item
|
25
|
+
snk-expression-item --> snk-filter-field-search
|
26
|
+
snk-expression-item --> snk-filter-param-config
|
27
|
+
style snk-personalized-filter fill:#f9f,stroke:#333,stroke-width:4px
|
28
|
+
```
|
29
|
+
|
30
|
+
----------------------------------------------
|
31
|
+
|
32
|
+
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# snk-expression-item
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
<!-- Auto Generated Below -->
|
6
|
+
|
7
|
+
|
8
|
+
## Properties
|
9
|
+
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
11
|
+
| ----------------- | ------------ | -------------------------------------------------------------------------------------- | ------------------- | ----------- |
|
12
|
+
| `canRemove` | `can-remove` | Controla a exibição do botão Remover. | `boolean` | `true` |
|
13
|
+
| `expression` | -- | Expressão que será representada visualmente. | `IExpressionItem` | `undefined` |
|
14
|
+
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
15
|
+
|
16
|
+
|
17
|
+
## Events
|
18
|
+
|
19
|
+
| Event | Description | Type |
|
20
|
+
| -------------------- | ------------------------------------------------ | ------------------------------ |
|
21
|
+
| `ezFilterItemChange` | Emitido quando acontece alterações na expressão. | `CustomEvent<IExpressionItem>` |
|
22
|
+
| `ezFilterItemRemove` | Emitido ao confirmar uma remoção. | `CustomEvent<IExpressionItem>` |
|
23
|
+
|
24
|
+
|
25
|
+
## Dependencies
|
26
|
+
|
27
|
+
### Used by
|
28
|
+
|
29
|
+
- [snk-personalized-filter](../..)
|
30
|
+
|
31
|
+
### Depends on
|
32
|
+
|
33
|
+
- [snk-filter-field-search](../../../snk-filter-field-search)
|
34
|
+
- [snk-filter-param-config](../snk-filter-param-config)
|
35
|
+
|
36
|
+
### Graph
|
37
|
+
```mermaid
|
38
|
+
graph TD;
|
39
|
+
snk-expression-item --> snk-filter-field-search
|
40
|
+
snk-expression-item --> snk-filter-param-config
|
41
|
+
snk-personalized-filter --> snk-expression-item
|
42
|
+
style snk-expression-item fill:#f9f,stroke:#333,stroke-width:4px
|
43
|
+
```
|
44
|
+
|
45
|
+
----------------------------------------------
|
46
|
+
|
47
|
+
|
@@ -35,6 +35,19 @@ Type: `Promise<IExpressionItem>`
|
|
35
35
|
|
36
36
|
|
37
37
|
|
38
|
+
## Dependencies
|
39
|
+
|
40
|
+
### Used by
|
41
|
+
|
42
|
+
- [snk-expression-item](../snk-expression-item)
|
43
|
+
|
44
|
+
### Graph
|
45
|
+
```mermaid
|
46
|
+
graph TD;
|
47
|
+
snk-expression-item --> snk-filter-param-config
|
48
|
+
style snk-filter-param-config fill:#f9f,stroke:#333,stroke-width:4px
|
49
|
+
```
|
50
|
+
|
38
51
|
----------------------------------------------
|
39
52
|
|
40
53
|
|