@sankhyalabs/sankhyablocks-docs 9.1.0-ms.5 → 9.1.0-ms.7
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
@@ -413,6 +413,16 @@ Type: `Promise<boolean>`
|
|
413
413
|
|
414
414
|
|
415
415
|
|
416
|
+
### `isFeatureActive(featureName: string) => Promise<boolean>`
|
417
|
+
|
418
|
+
Retorna se uma feature flag global está ativa ou não.
|
419
|
+
|
420
|
+
#### Returns
|
421
|
+
|
422
|
+
Type: `Promise<boolean>`
|
423
|
+
|
424
|
+
|
425
|
+
|
416
426
|
### `isLoadedByPk() => Promise<boolean>`
|
417
427
|
|
418
428
|
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
|