@sankhyalabs/sankhyablocks-docs 0.0.0-hotfix-ga-KB-6012297.0 → 0.0.0-hotfix-ga-KB-112566.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-application/readme.md +10 -0
- package/components/snk-attach/readme.md +10 -9
- package/components/snk-form-config/fields-selector/readme.md +5 -4
- package/components/snk-grid-config/snk-select-box/readme.md +4 -3
- package/components/snk-layout-form-config/readme.md +7 -0
- package/components/snk-pesquisa/pesquisa-tree/readme.md +7 -6
- package/components/snk-simple-form-config/readme.md +5 -4
- package/package.json +1 -1
@@ -467,6 +467,16 @@ Type: `Promise<boolean>`
|
|
467
467
|
|
468
468
|
---
|
469
469
|
|
470
|
+
### `isFeatureActive(featureName: string) => Promise<boolean>`
|
471
|
+
|
472
|
+
Retorna se uma feature flag global está ativa ou não.
|
473
|
+
|
474
|
+
#### Returns
|
475
|
+
|
476
|
+
Type: `Promise<boolean>`
|
477
|
+
|
478
|
+
---
|
479
|
+
|
470
480
|
### `isLoadedByPk() => Promise<boolean>`
|
471
481
|
|
472
482
|
Obtém a informação se o último carregamento do dataunit foi feito através de um loadByPk.
|
@@ -7,15 +7,16 @@
|
|
7
7
|
|
8
8
|
## Properties
|
9
9
|
|
10
|
-
| Property | Attribute
|
11
|
-
| -------------------------- |
|
12
|
-
| `dataUnit` | --
|
13
|
-
| `dataUnitBuilder` | --
|
14
|
-
| `entityName` | `entity-name`
|
15
|
-
| `fetcher` | --
|
16
|
-
| `fetcherType` | `fetcher-type`
|
17
|
-
| `
|
18
|
-
| `
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
11
|
+
| -------------------------- | ------------------------- | -------------------------------------------------------------------------------------- | ----------------------------------------- | ----------- |
|
12
|
+
| `dataUnit` | -- | DataUnit responsável por carregar os dados. | `DataUnit` | `undefined` |
|
13
|
+
| `dataUnitBuilder` | -- | DataUnitBuilder responsável por implementar dados a serem utilizados no DataUnit. | `FetcherFacade` | `undefined` |
|
14
|
+
| `entityName` | `entity-name` | Nome da entidade à ser utilizada para relacionar o anexo ao DataUnit pai. | `string` | `undefined` |
|
15
|
+
| `fetcher` | -- | Fetcher responsável por carregar os dados do DataUnit. | `AttachFetcherFacadeInterface` | `undefined` |
|
16
|
+
| `fetcherType` | `fetcher-type` | FetcherType define o tipo de fetcher responsável por carregar os dados do DataUnit. | `"AnexoSistema" \| "Another" \| "Attach"` | `undefined` |
|
17
|
+
| `gridLegacyConfigName` | `grid-legacy-config-name` | Chave da configuração legado da grid. | `string` | `undefined` |
|
18
|
+
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
19
|
+
| `registerKey` _(required)_ | `register-key` | Identificação do registro pai. | `string` | `undefined` |
|
19
20
|
|
20
21
|
|
21
22
|
## Events
|
@@ -7,10 +7,11 @@
|
|
7
7
|
|
8
8
|
## Properties
|
9
9
|
|
10
|
-
| Property | Attribute | Description | Type
|
11
|
-
| ----------------- | --------- | ----------- |
|
12
|
-
| `availableFields` | -- | | `IFieldConfig[]`
|
13
|
-
| `dataUnit` | -- | | `DataUnit`
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
11
|
+
| ----------------- | --------- | ----------- | ------------------- | ----------- |
|
12
|
+
| `availableFields` | -- | | `IFieldConfig[]` | `[]` |
|
13
|
+
| `dataUnit` | -- | | `DataUnit` | `undefined` |
|
14
|
+
| `messagesBuilder` | -- | | `SnkMessageBuilder` | `undefined` |
|
14
15
|
|
15
16
|
|
16
17
|
## Events
|
@@ -7,9 +7,10 @@
|
|
7
7
|
|
8
8
|
## Properties
|
9
9
|
|
10
|
-
| Property
|
11
|
-
|
|
12
|
-
| `
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
11
|
+
| ------------------ | -------------------- | ------------------------------------------------------------------------------------ | ------------------- | ------------------- |
|
12
|
+
| `preventAutoFocus` | `prevent-auto-focus` | Se true, impede que o campo de texto receba foco automaticamente ao abrir as opções. | `boolean` | `false` |
|
13
|
+
| `selectedOption` | `selected-option` | Determina a opção selecionada. | `IOption \| string` | `ORDER_VALUES.none` |
|
13
14
|
|
14
15
|
|
15
16
|
## Events
|
@@ -5,6 +5,13 @@
|
|
5
5
|
<!-- Auto Generated Below -->
|
6
6
|
|
7
7
|
|
8
|
+
## Properties
|
9
|
+
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
11
|
+
| ----------------- | --------- | ----------- | ------------------- | ----------- |
|
12
|
+
| `messagesBuilder` | -- | | `SnkMessageBuilder` | `undefined` |
|
13
|
+
|
14
|
+
|
8
15
|
## Methods
|
9
16
|
|
10
17
|
### `save() => Promise<void>`
|
@@ -7,12 +7,13 @@
|
|
7
7
|
|
8
8
|
## Properties
|
9
9
|
|
10
|
-
| Property | Attribute | Description
|
11
|
-
| ------------------- | --------------------- |
|
12
|
-
| `allowsNonAnalytic` | `allows-non-analytic` | Define se permite seleção de items não analíticos
|
13
|
-
| `argument` | `argument` | Argumentos que serão usados ao chamar a função treeLoader.
|
14
|
-
| `
|
15
|
-
| `
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
11
|
+
| ------------------- | --------------------- | -------------------------------------------------------------------------------------- | ---------------------------------------- | ----------- |
|
12
|
+
| `allowsNonAnalytic` | `allows-non-analytic` | Define se permite seleção de items não analíticos | `boolean` | `false` |
|
13
|
+
| `argument` | `argument` | Argumentos que serão usados ao chamar a função treeLoader. | `string` | `undefined` |
|
14
|
+
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
15
|
+
| `shouldLoadTree` | `should-load-tree` | Informa se a árvore hierárquica deve ou não ser carregada. | `boolean` | `false` |
|
16
|
+
| `treeLoader` | -- | Função responsável por carregar a árvore hierárquica do componente | `(text: string) => Promise<ITreeItem[]>` | `undefined` |
|
16
17
|
|
17
18
|
|
18
19
|
## Events
|
@@ -7,10 +7,11 @@
|
|
7
7
|
|
8
8
|
## Properties
|
9
9
|
|
10
|
-
| Property
|
11
|
-
|
|
12
|
-
| `configName`
|
13
|
-
| `dataUnit`
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
11
|
+
| ----------------- | ------------- | -------------------------------------------------------------------------------------- | ------------------- | ----------- |
|
12
|
+
| `configName` | `config-name` | Chave que representa a configuração do formulário | `string` | `undefined` |
|
13
|
+
| `dataUnit` | -- | Data unit responsável pelos campos disponíveis | `DataUnit` | `undefined` |
|
14
|
+
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
14
15
|
|
15
16
|
|
16
17
|
## Events
|