@sankhyalabs/sankhyablocks-docs 9.2.0-ms.12 → 9.2.0-ms.13
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.
@@ -7,15 +7,15 @@
|
|
7
7
|
|
8
8
|
## Properties
|
9
9
|
|
10
|
-
| Property | Attribute | Description
|
11
|
-
| ------------------- | --------------------- |
|
12
|
-
| `allowsNonAnalytic` | `allows-non-analytic` | Define se permite seleção de
|
13
|
-
| `argument` | `argument` |
|
14
|
-
| `entityName` | `entity-name` | Nome da entidade
|
15
|
-
| `isHierarchyEntity` | `is-hierarchy-entity` | Define se a popup de pesquisa
|
16
|
-
| `searchLoader` | -- | Função responsável em carregar os itens do componente snk-pesquisa. | `(text: string) => Promise<any>` | `undefined` |
|
17
|
-
| `selectItem` | -- | Função disparada ao selecionar um item.
|
18
|
-
| `treeLoader` | -- | Função responsável por carregar a árvore hierárquica do componente
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
11
|
+
| ------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- | ----------- |
|
12
|
+
| `allowsNonAnalytic` | `allows-non-analytic` | Define se permite a seleção de itens não analíticos. | `boolean` | `false` |
|
13
|
+
| `argument` | `argument` | Argumento utilizado ao chamar a função searchLoader. Pode ser alterado externamente. | `string` | `undefined` |
|
14
|
+
| `entityName` | `entity-name` | Nome da entidade sobre a qual a pesquisa será realizada. | `string` | `undefined` |
|
15
|
+
| `isHierarchyEntity` | `is-hierarchy-entity` | Define se a popup de pesquisa terá ou não modo hierárquico. | `boolean` | `false` |
|
16
|
+
| `searchLoader` | -- | Função responsável em carregar os itens do componente snk-pesquisa. Deve retornar uma Promise com os dados encontrados. | `(text: string) => Promise<any>` | `undefined` |
|
17
|
+
| `selectItem` | -- | Função disparada ao selecionar um item da pesquisa. | `(option: IOption) => void` | `undefined` |
|
18
|
+
| `treeLoader` | -- | Função responsável por carregar a árvore hierárquica do componente. Opcional. Caso não seja fornecida, o modo árvore não estará disponível. | `(text: string) => Promise<any>` | `undefined` |
|
19
19
|
|
20
20
|
|
21
21
|
## Dependencies
|