@sankhyalabs/sankhyablocks-docs 9.1.14 → 9.2.0-dev.10
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-filter-bar/readme.md +0 -10
- package/components/snk-form-config/fields-selector/readme.md +5 -4
- package/components/snk-grid/readme.md +0 -10
- 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-personalized-filter/readme.md +11 -11
- package/components/snk-pesquisa/pesquisa-tree/readme.md +7 -6
- package/components/snk-pesquisa/readme.md +9 -9
- package/components/snk-simple-bar/readme.md +6 -6
- package/components/snk-simple-crud/readme.md +48 -50
- 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
|
@@ -117,16 +117,6 @@ Uma promessa que é resolvida quando a janela de configuração é fechada.
|
|
117
117
|
|
118
118
|
---
|
119
119
|
|
120
|
-
### `refreshColumnFilterDataSource() => Promise<void>`
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
#### Returns
|
125
|
-
|
126
|
-
Type: `Promise<void>`
|
127
|
-
|
128
|
-
---
|
129
|
-
|
130
120
|
### `reloadConfig() => Promise<void>`
|
131
121
|
|
132
122
|
Recarrega a configuração da grade.
|
@@ -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>`
|
@@ -9,28 +9,28 @@
|
|
9
9
|
|
10
10
|
| Property | Attribute | Description | Type | Default |
|
11
11
|
| ----------------- | ------------------- | -------------------------------------------------------------------------------------- | ------------------- | ----------- |
|
12
|
-
| `configName` | `config-name` | Nome da configuração
|
13
|
-
| `entityUri` | `entity-uri` |
|
14
|
-
| `filterId` | `filter-id` |
|
15
|
-
| `isDefaultFilter` | `is-default-filter` |
|
12
|
+
| `configName` | `config-name` | Nome da configuração. Serve para distinguir várias instâncias do componente. | `string` | `undefined` |
|
13
|
+
| `entityUri` | `entity-uri` | Responsável por receber a URI da entidade. | `string` | `undefined` |
|
14
|
+
| `filterId` | `filter-id` | Id do filtro que será carregado. | `string` | `undefined` |
|
15
|
+
| `isDefaultFilter` | `is-default-filter` | Define se o filtro em questão é um filtro padrão. | `boolean` | `false` |
|
16
16
|
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
17
|
-
| `resourceID` | `resource-i-d` |
|
17
|
+
| `resourceID` | `resource-i-d` | Nome da configuração. Serve para distinguir várias instâncias do componente. | `string` | `undefined` |
|
18
18
|
|
19
19
|
|
20
20
|
## Events
|
21
21
|
|
22
|
-
| Event | Description
|
23
|
-
| ------------- |
|
24
|
-
| `ezAfterSave` |
|
25
|
-
| `ezCancel` |
|
26
|
-
| `ezSave` |
|
22
|
+
| Event | Description | Type |
|
23
|
+
| ------------- | ----------- | --------------------- |
|
24
|
+
| `ezAfterSave` | | `CustomEvent<void>` |
|
25
|
+
| `ezCancel` | | `CustomEvent<void>` |
|
26
|
+
| `ezSave` | | `CustomEvent<string>` |
|
27
27
|
|
28
28
|
|
29
29
|
## Methods
|
30
30
|
|
31
31
|
### `createPersonalizedFilter() => Promise<void>`
|
32
32
|
|
33
|
-
|
33
|
+
|
34
34
|
|
35
35
|
#### Returns
|
36
36
|
|
@@ -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,15 +7,15 @@
|
|
7
7
|
|
8
8
|
## Properties
|
9
9
|
|
10
|
-
| Property | Attribute | Description
|
11
|
-
| ------------------- | --------------------- |
|
12
|
-
| `allowsNonAnalytic` | `allows-non-analytic` | Define se permite
|
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.
|
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 seleção de items não analíticos | `boolean` | `false` |
|
13
|
+
| `argument` | `argument` | Argumentos que serão usados ao chamar a função searchLoader. | `string` | `undefined` |
|
14
|
+
| `entityName` | `entity-name` | Nome da entidade onde a pesquisa é aplicada. | `string` | `undefined` |
|
15
|
+
| `isHierarchyEntity` | `is-hierarchy-entity` | Define se a popup de pesquisa possuirá ou não modo Hierarquico. | `boolean` | `false` |
|
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. | `(option: IOption) => void` | `undefined` |
|
18
|
+
| `treeLoader` | -- | Função responsável por carregar a árvore hierárquica do componente | `(text: string) => Promise<any>` | `undefined` |
|
19
19
|
|
20
20
|
|
21
21
|
## Dependencies
|
@@ -9,17 +9,17 @@
|
|
9
9
|
|
10
10
|
| Property | Attribute | Description | Type | Default |
|
11
11
|
| ----------------- | --------- | -------------------------------------------------------------------------------------- | ------------------- | ----------- |
|
12
|
-
| `breadcrumbItens` | -- | Define os itens que serão apresentados
|
13
|
-
| `label` | `label` | Define o título do header
|
12
|
+
| `breadcrumbItens` | -- | Define os itens que serão apresentados pelo breadcrumb | `IBreadcrumbItem[]` | `undefined` |
|
13
|
+
| `label` | `label` | Define o título do header | `string` | `undefined` |
|
14
14
|
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
15
15
|
|
16
16
|
|
17
17
|
## Events
|
18
18
|
|
19
|
-
| Event | Description
|
20
|
-
| --------------------- |
|
21
|
-
| `clickBreadcrumbItem` | Emitido quando algum item do breadcrumb é clicado
|
22
|
-
| `exit` | Emitido quando o botão
|
19
|
+
| Event | Description | Type |
|
20
|
+
| --------------------- | ------------------------------------------------- | ------------------------------ |
|
21
|
+
| `clickBreadcrumbItem` | Emitido quando algum item do breadcrumb é clicado | `CustomEvent<IBreadcrumbItem>` |
|
22
|
+
| `exit` | Emitido quando o botão voltar é acionado | `CustomEvent<void>` |
|
23
23
|
|
24
24
|
|
25
25
|
## Dependencies
|
@@ -7,57 +7,57 @@
|
|
7
7
|
|
8
8
|
## Properties
|
9
9
|
|
10
|
-
| Property | Attribute | Description
|
11
|
-
| ------------------------------- | ----------------------------------- |
|
12
|
-
| `actionsList` | -- |
|
13
|
-
| `autoFocus` | `auto-focus` |
|
14
|
-
| `autoLoad` | `auto-load` |
|
15
|
-
| `configName` | `config-name` |
|
16
|
-
| `dataState` | -- |
|
17
|
-
| `dataUnit` | -- |
|
18
|
-
| `domainMessagesBuilder` | `domain-messages-builder` |
|
19
|
-
| `enableContinuousInsert` | `enable-continuous-insert` |
|
20
|
-
| `enableGridInsert` | `enable-grid-insert` |
|
21
|
-
| `enableLockManagerLoadingComp` | `enable-lock-manager-loading-comp` |
|
22
|
-
| `enableLockManagerTaskbarClick` | `enable-lock-manager-taskbar-click` |
|
23
|
-
| `entityName` | `entity-name` |
|
24
|
-
| `formConfig` | -- |
|
25
|
-
| `formLegacyConfigName` | `form-legacy-config-name` |
|
26
|
-
| `gridConfig` | -- |
|
27
|
-
| `gridLegacyConfigName` | `grid-legacy-config-name` |
|
28
|
-
| `ignoreReadOnlyFormFields` | `ignore-read-only-form-fields` |
|
29
|
-
| `layoutFormConfig` | `layout-form-config` |
|
30
|
-
| `messagesBuilder` | -- |
|
31
|
-
| `mode` | `mode` |
|
32
|
-
| `multipleEditionEnabled` | `multiple-edition-enabled` |
|
33
|
-
| `multipleSelection` | `multiple-selection` |
|
34
|
-
| `outlineMode` | `outline-mode` |
|
35
|
-
| `pageSize` | `page-size` |
|
36
|
-
| `paginationCounterMode` | `pagination-counter-mode` |
|
37
|
-
| `resourceID` | `resource-i-d` |
|
38
|
-
| `showConfiguratorButtons` | `show-configurator-buttons` |
|
39
|
-
| `taskbarManager` | -- |
|
40
|
-
| `useCancelConfirm` | `use-cancel-confirm` |
|
41
|
-
| `useEnterLikeTab` | `use-enter-like-tab` |
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
11
|
+
| ------------------------------- | ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | ------------------------- |
|
12
|
+
| `actionsList` | -- | Ações a serem colocadas no botão "Mais opções" do componente snk-taskbar. | `Action[]` | `undefined` |
|
13
|
+
| `autoFocus` | `auto-focus` | Define se a grid será focada ao ser carregada. | `boolean` | `true` |
|
14
|
+
| `autoLoad` | `auto-load` | Define se a carga dos dados será feita assim que o componente for carregado. | `boolean` | `undefined` |
|
15
|
+
| `configName` | `config-name` | Usado para salvar as configurações dos blocos de construção. | `string` | `undefined` |
|
16
|
+
| `dataState` | -- | | `DataState` | `undefined` |
|
17
|
+
| `dataUnit` | -- | | `DataUnit` | `undefined` |
|
18
|
+
| `domainMessagesBuilder` | `domain-messages-builder` | Define a chave customizada para sobrescrever as mensagens (Não pegando pela entidade) | `string` | `undefined` |
|
19
|
+
| `enableContinuousInsert` | `enable-continuous-insert` | | `boolean` | `false` |
|
20
|
+
| `enableGridInsert` | `enable-grid-insert` | Ativa inserção de registros no modo grade. | `boolean` | `false` |
|
21
|
+
| `enableLockManagerLoadingComp` | `enable-lock-manager-loading-comp` | Define se o componente deve usar o LockManager para controle de carregamento da aplicação | `boolean` | `false` |
|
22
|
+
| `enableLockManagerTaskbarClick` | `enable-lock-manager-taskbar-click` | Ativa o gerenciamento de locks na grade pela Taskbar. | `boolean` | `false` |
|
23
|
+
| `entityName` | `entity-name` | Define o nome da entidade que o componente vai utilizar para fazer as operações de CRUD | `string` | `undefined` |
|
24
|
+
| `formConfig` | -- | | `IFormConfig` | `undefined` |
|
25
|
+
| `formLegacyConfigName` | `form-legacy-config-name` | Chave da configuração legado do formulário. | `string` | `undefined` |
|
26
|
+
| `gridConfig` | -- | | `IGridConfig` | `undefined` |
|
27
|
+
| `gridLegacyConfigName` | `grid-legacy-config-name` | Chave da configuração legado da grade. | `string` | `undefined` |
|
28
|
+
| `ignoreReadOnlyFormFields` | `ignore-read-only-form-fields` | Ignora os campos "somente leitura" no modo de inserção. | `boolean` | `false` |
|
29
|
+
| `layoutFormConfig` | `layout-form-config` | Define se o LayoutFormConfig será exibido no configurador. | `boolean` | `false` |
|
30
|
+
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
31
|
+
| `mode` | `mode` | | `SIMPLE_CRUD_MODE.IN_MEMORY \| SIMPLE_CRUD_MODE.SERVER` | `SIMPLE_CRUD_MODE.SERVER` |
|
32
|
+
| `multipleEditionEnabled` | `multiple-edition-enabled` | Habilita a edição de múltiplos registros simultâneos. | `boolean` | `true` |
|
33
|
+
| `multipleSelection` | `multiple-selection` | Determina se pode haver mais de uma linha selecionada na grade. | `boolean` | `undefined` |
|
34
|
+
| `outlineMode` | `outline-mode` | Altera visualmente as sombras e bordas do componente Quando false, aplica o padrão de sombras ao componente (Utilizar quando for o elemento principal do layout) Quando true, aplica o padrão de outline ao componente (Utilizar quando estiver contido em outro elemento como um painel ou pop-up) | `boolean` | `false` |
|
35
|
+
| `pageSize` | `page-size` | Determina quantas linhas são retornadas por página. | `number` | `150` |
|
36
|
+
| `paginationCounterMode` | `pagination-counter-mode` | Define se a grid será focada ao ser carregada. | `"auto" \| "hidden" \| "show"` | `'auto'` |
|
37
|
+
| `resourceID` | `resource-i-d` | Identificador de recursos como configurações e acesso. | `string` | `undefined` |
|
38
|
+
| `showConfiguratorButtons` | `show-configurator-buttons` | Usado para exibir os botões de ação do snk-configurator. | `boolean` | `false` |
|
39
|
+
| `taskbarManager` | -- | Gerenciador das barras de tarefas. É possível determinar botões específicos ou mesmo gerenciar o estado dos botões. | `TaskbarManager` | `undefined` |
|
40
|
+
| `useCancelConfirm` | `use-cancel-confirm` | | `boolean` | `true` |
|
41
|
+
| `useEnterLikeTab` | `use-enter-like-tab` | Quando verdadeiro, o ENTER fará a navegação como se fosse a tecla TAB na grade. | `boolean` | `false` |
|
42
42
|
|
43
43
|
|
44
44
|
## Events
|
45
45
|
|
46
|
-
| Event | Description
|
47
|
-
| -------------------- |
|
48
|
-
| `actionClick` |
|
49
|
-
| `configuratorCancel` |
|
50
|
-
| `configuratorSave` |
|
51
|
-
| `dataStateChange` |
|
52
|
-
| `dataUnitReady` |
|
53
|
-
| `formItemsReady` |
|
46
|
+
| Event | Description | Type |
|
47
|
+
| -------------------- | ------------------------------------------------------------------------------- | ---------------------------- |
|
48
|
+
| `actionClick` | Emitido sempre que houver click de botão ou ação. | `CustomEvent<string>` |
|
49
|
+
| `configuratorCancel` | Emitido quando cancela o salvamento da configuração no configurator do CRUD. | `CustomEvent<any>` |
|
50
|
+
| `configuratorSave` | Emitido quando salva a configuração no configurator do CRUD. | `CustomEvent<any>` |
|
51
|
+
| `dataStateChange` | Emitido quando há qualquer mudança de estado no DataUnit. | `CustomEvent<DataState>` |
|
52
|
+
| `dataUnitReady` | Emitido quando o DataUnit está pronto. | `CustomEvent<DataUnit>` |
|
53
|
+
| `formItemsReady` | Responsável por notificar quando ocorrer a renderização de itens do formulário. | `CustomEvent<HTMLElement[]>` |
|
54
54
|
|
55
55
|
|
56
56
|
## Methods
|
57
57
|
|
58
58
|
### `addCustomEditor(fieldName: string, customEditor: ICustomEditor) => Promise<void>`
|
59
59
|
|
60
|
-
|
60
|
+
Registra um editor customizado para campos da grade e formulário.
|
61
61
|
|
62
62
|
#### Returns
|
63
63
|
|
@@ -67,7 +67,7 @@ Type: `Promise<void>`
|
|
67
67
|
|
68
68
|
### `addCustomValueFormatter(columnName: string, customFormatter: ICustomFormatter) => Promise<void>`
|
69
69
|
|
70
|
-
|
70
|
+
Registra um formatador de valores para uma coluna da grid.
|
71
71
|
|
72
72
|
#### Returns
|
73
73
|
|
@@ -77,7 +77,7 @@ Type: `Promise<void>`
|
|
77
77
|
|
78
78
|
### `addGridCustomRender(fieldName: string, customRender: ICustomRender) => Promise<void>`
|
79
79
|
|
80
|
-
|
80
|
+
Registra um render customizado para colunas da grid.
|
81
81
|
|
82
82
|
#### Returns
|
83
83
|
|
@@ -87,7 +87,7 @@ Type: `Promise<void>`
|
|
87
87
|
|
88
88
|
### `closeConfigurator() => Promise<void>`
|
89
89
|
|
90
|
-
|
90
|
+
Usado para fechar o configurator do CRUD
|
91
91
|
|
92
92
|
#### Returns
|
93
93
|
|
@@ -103,13 +103,11 @@ Type: `Promise<void>`
|
|
103
103
|
|
104
104
|
Type: `Promise<Record[]>`
|
105
105
|
|
106
|
-
Uma promessa que resolve com a lista de registros.
|
107
|
-
|
108
106
|
---
|
109
107
|
|
110
108
|
### `goToView(view: VIEW_MODE) => Promise<void>`
|
111
109
|
|
112
|
-
|
110
|
+
Usado para alternar a visão entre GRID e FORM externamente.
|
113
111
|
|
114
112
|
#### Returns
|
115
113
|
|
@@ -119,7 +117,7 @@ Type: `Promise<void>`
|
|
119
117
|
|
120
118
|
### `openConfigurator() => Promise<void>`
|
121
119
|
|
122
|
-
|
120
|
+
Usado para abrir o configurator do CRUD
|
123
121
|
|
124
122
|
#### Returns
|
125
123
|
|
@@ -129,7 +127,7 @@ Type: `Promise<void>`
|
|
129
127
|
|
130
128
|
### `removeCustomValueFormatter(columnName: string) => Promise<void>`
|
131
129
|
|
132
|
-
|
130
|
+
Remove o formatador de valores de uma coluna da grid.
|
133
131
|
|
134
132
|
#### Returns
|
135
133
|
|
@@ -139,7 +137,7 @@ Type: `Promise<void>`
|
|
139
137
|
|
140
138
|
### `setFieldProp(fieldName: string, propName: string, value: any) => Promise<void>`
|
141
139
|
|
142
|
-
|
140
|
+
Altera/adiciona uma propriedade nos metadados do campo.
|
143
141
|
|
144
142
|
#### Returns
|
145
143
|
|
@@ -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
|