@sankhyalabs/sankhyablocks-docs 8.16.0-dev.70 → 8.16.0-dev.72
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.
@@ -580,8 +580,8 @@ SnkApplication carregado.
|
|
580
580
|
```mermaid
|
581
581
|
graph TD;
|
582
582
|
snk-application --> snk-pesquisa
|
583
|
-
snk-pesquisa --> pesquisa-tree
|
584
583
|
snk-pesquisa --> pesquisa-grid
|
584
|
+
snk-pesquisa --> pesquisa-tree
|
585
585
|
teste-pesquisa --> snk-application
|
586
586
|
style snk-application fill:#f9f,stroke:#333,stroke-width:4px
|
587
587
|
```
|
@@ -7,13 +7,14 @@
|
|
7
7
|
|
8
8
|
## Properties
|
9
9
|
|
10
|
-
| Property | Attribute
|
11
|
-
| ------------------ |
|
12
|
-
| `dataSource` | --
|
13
|
-
| `descriptionField` | `description-field`
|
14
|
-
| `entityName` | `entity-name`
|
15
|
-
| `metadata` | --
|
16
|
-
| `pkField` | `pk-field`
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
11
|
+
| ------------------ | -------------------- | ------------------------------------------------- | -------------- | ----------- |
|
12
|
+
| `dataSource` | -- | Registros da grade | `Record[]` | `[]` |
|
13
|
+
| `descriptionField` | `description-field` | Campo que representa a descrição do registro | `string` | `undefined` |
|
14
|
+
| `entityName` | `entity-name` | Nome da entidade representada na grade | `string` | `undefined` |
|
15
|
+
| `metadata` | -- | Campos que representam as colunas da grade. | `UnitMetadata` | `undefined` |
|
16
|
+
| `pkField` | `pk-field` | Campo que representa a chave primária do registro | `string` | `undefined` |
|
17
|
+
| `shouldLoadConfig` | `should-load-config` | Define se deve carregar configurações da grade | `boolean` | `false` |
|
17
18
|
|
18
19
|
|
19
20
|
## Events
|
@@ -11,6 +11,7 @@
|
|
11
11
|
| ------------------- | --------------------- | ------------------------------------------------------------------ | ---------------------------------------- | ----------- |
|
12
12
|
| `allowsNonAnalytic` | `allows-non-analytic` | Define se permite seleção de items não analíticos | `boolean` | `false` |
|
13
13
|
| `argument` | `argument` | Argumentos que serão usados ao chamar a função treeLoader. | `string` | `undefined` |
|
14
|
+
| `shouldLoadTree` | `should-load-tree` | Informa se a árvore hierárquica deve ou não ser carregada. | `boolean` | `false` |
|
14
15
|
| `treeLoader` | -- | Função responsável por carregar a árvore hierárquica do componente | `(text: string) => Promise<ITreeItem[]>` | `undefined` |
|
15
16
|
|
16
17
|
|
@@ -26,14 +26,14 @@
|
|
26
26
|
|
27
27
|
### Depends on
|
28
28
|
|
29
|
-
- [pesquisa-tree](pesquisa-tree)
|
30
29
|
- [pesquisa-grid](pesquisa-grid)
|
30
|
+
- [pesquisa-tree](pesquisa-tree)
|
31
31
|
|
32
32
|
### Graph
|
33
33
|
```mermaid
|
34
34
|
graph TD;
|
35
|
-
snk-pesquisa --> pesquisa-tree
|
36
35
|
snk-pesquisa --> pesquisa-grid
|
36
|
+
snk-pesquisa --> pesquisa-tree
|
37
37
|
snk-application --> snk-pesquisa
|
38
38
|
style snk-pesquisa fill:#f9f,stroke:#333,stroke-width:4px
|
39
39
|
```
|
@@ -16,8 +16,8 @@
|
|
16
16
|
graph TD;
|
17
17
|
teste-pesquisa --> snk-application
|
18
18
|
snk-application --> snk-pesquisa
|
19
|
-
snk-pesquisa --> pesquisa-tree
|
20
19
|
snk-pesquisa --> pesquisa-grid
|
20
|
+
snk-pesquisa --> pesquisa-tree
|
21
21
|
style teste-pesquisa fill:#f9f,stroke:#333,stroke-width:4px
|
22
22
|
```
|
23
23
|
|