@sankhyalabs/sankhyablocks-docs 10.1.0-rc.3 → 10.1.0-rc.30
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-actions-button/readme.md +13 -0
- package/components/snk-application/readme.md +20 -8
- package/components/snk-attach/readme.md +32 -5
- package/components/snk-configurator/readme.md +4 -0
- package/components/snk-crud/readme.md +24 -15
- package/components/snk-crud/subcomponents/readme.md +11 -9
- package/components/snk-crud/subcomponents/snk-detail-view/readme.md +2 -1
- package/components/snk-custom-slot-guide/readme.md +24 -0
- package/components/snk-data-exporter/readme.md +11 -4
- package/components/snk-data-unit/readme.md +2 -0
- package/components/snk-dynaform/readme.md +285 -0
- package/components/snk-dynaform/subcomponents/snk-dynaform-detail-view/readme.md +154 -0
- package/components/snk-dynaform/subcomponents/snk-dynaform-form-view/readme.md +98 -0
- package/components/snk-dynaform/subcomponents/snk-dynaform-guides-view/readme.md +202 -0
- package/components/snk-dynaform-form-config/readme.md +57 -0
- package/components/snk-dynaform-form-config/snk-dynaform-config-header/readme.md +47 -0
- package/components/snk-dynaform-form-config/snk-dynaform-config-header/snk-dynaform-configs-button/readme.md +40 -0
- package/components/snk-dynaform-form-config/snk-dynaform-field-item/readme.md +48 -0
- package/components/snk-dynaform-form-config/snk-dynaform-field-item/snk-dynaform-field-config/readme.md +53 -0
- package/components/snk-dynaform-form-config/snk-dynaform-fields-layout/readme.md +65 -0
- package/components/snk-dynaform-form-config/snk-dynaform-fields-selector/readme.md +45 -0
- package/components/snk-dynaform-form-config/snk-dynaform-guides-configurator/readme.md +43 -0
- package/components/snk-filter-bar/filter-item/readme.md +1 -0
- package/components/snk-filter-bar/filter-modal/readme.md +15 -15
- package/components/snk-filter-bar/readme.md +8 -0
- package/components/snk-form-config/readme.md +1 -0
- package/components/snk-grid/readme.md +78 -39
- package/components/snk-grid-config/readme.md +9 -7
- package/components/snk-image-input/readme.md +58 -0
- package/components/snk-pesquisa/readme.md +14 -0
- package/components/snk-simple-bar/readme.md +0 -2
- package/components/snk-simple-crud/readme.md +34 -32
- package/components/snk-taskbar/elements/taskbar-actions-button/readme.md +12 -5
- package/components/snk-taskbar/elements/taskbar-split-button/readme.md +17 -10
- package/components/snk-taskbar/readme.md +12 -2
- package/components/snk-taskbar/subcomponents/readme.md +23 -0
- package/package.json +1 -1
|
@@ -5,12 +5,22 @@
|
|
|
5
5
|
<!-- Auto Generated Below -->
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| -------- | --------- | -------------------------------------------------------------------- | -------------------------------- | ---------- |
|
|
12
|
+
| `size` | `size` | Define o tamanho do botão, podendo ser 'small', 'medium' ou 'large'. | `"large" \| "medium" \| "small"` | `'medium'` |
|
|
13
|
+
|
|
14
|
+
|
|
8
15
|
## Dependencies
|
|
9
16
|
|
|
10
17
|
### Used by
|
|
11
18
|
|
|
12
19
|
- [snk-crud](../snk-crud)
|
|
13
20
|
- [snk-detail-view](../snk-crud/subcomponents/snk-detail-view)
|
|
21
|
+
- [snk-dynaform](../snk-dynaform)
|
|
22
|
+
- [snk-dynaform-detail-view](../snk-dynaform/subcomponents/snk-dynaform-detail-view)
|
|
23
|
+
- [snk-dynaform-guides-view](../snk-dynaform/subcomponents/snk-dynaform-guides-view)
|
|
14
24
|
- [snk-grid](../snk-grid)
|
|
15
25
|
- [snk-guides-viewer](../snk-crud/subcomponents)
|
|
16
26
|
- [snk-simple-crud](../snk-simple-crud)
|
|
@@ -21,6 +31,9 @@
|
|
|
21
31
|
graph TD;
|
|
22
32
|
snk-crud --> snk-actions-button
|
|
23
33
|
snk-detail-view --> snk-actions-button
|
|
34
|
+
snk-dynaform --> snk-actions-button
|
|
35
|
+
snk-dynaform-detail-view --> snk-actions-button
|
|
36
|
+
snk-dynaform-guides-view --> snk-actions-button
|
|
24
37
|
snk-grid --> snk-actions-button
|
|
25
38
|
snk-guides-viewer --> snk-actions-button
|
|
26
39
|
snk-simple-crud --> snk-actions-button
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
|
|
8
8
|
## Properties
|
|
9
9
|
|
|
10
|
-
| Property | Attribute | Description | Type
|
|
11
|
-
| ----------------------------- | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
12
|
-
| `configName` | `config-name` | Nome da configuração utilizada para salvar as preferências dos blocos de construção. | `string`
|
|
13
|
-
| `enableLockManagerLoadingApp` | `enable-lock-manager-loading-app` | Define se o componente deve usar o LockManager para controle de carregamento da aplicação. | `boolean`
|
|
14
|
-
| `formLegacyConfigName` | `form-legacy-config-name` | Chave da configuração legada do formulário, utilizada para migração de configurações antigas. | `string`
|
|
15
|
-
| `gridLegacyConfigName` | `grid-legacy-config-name` | Chave da configuração legada da grade, utilizada para migração de configurações antigas. | `string`
|
|
16
|
-
| `loadByPK` | -- | Usado para receber um parâmetro na inicialização da tela, e utilizá-lo conforme necessário caso a tela receba um parâmetro, e, esta propriedade não seja informada é criado um filtro de forma automática através do método defaultLoadByPk | `(objPK: { pk: any
|
|
17
|
-
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder`
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ----------------------------- | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- | ----------- |
|
|
12
|
+
| `configName` | `config-name` | Nome da configuração utilizada para salvar as preferências dos blocos de construção. | `string` | `undefined` |
|
|
13
|
+
| `enableLockManagerLoadingApp` | `enable-lock-manager-loading-app` | Define se o componente deve usar o LockManager para controle de carregamento da aplicação. | `boolean` | `undefined` |
|
|
14
|
+
| `formLegacyConfigName` | `form-legacy-config-name` | Chave da configuração legada do formulário, utilizada para migração de configurações antigas. | `string` | `undefined` |
|
|
15
|
+
| `gridLegacyConfigName` | `grid-legacy-config-name` | Chave da configuração legada da grade, utilizada para migração de configurações antigas. | `string` | `undefined` |
|
|
16
|
+
| `loadByPK` | -- | Usado para receber um parâmetro na inicialização da tela, e utilizá-lo conforme necessário caso a tela receba um parâmetro, e, esta propriedade não seja informada é criado um filtro de forma automática através do método defaultLoadByPk | `(objPK: { pk: Record<string, any>; }, redirectFrom?: string) => void` | `undefined` |
|
|
17
|
+
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
## Events
|
|
@@ -184,6 +184,18 @@ Uma lista de opções ou uma única opção.
|
|
|
184
184
|
|
|
185
185
|
---
|
|
186
186
|
|
|
187
|
+
### `executePreparedSearchWithFullResponse(argument: string, options: any) => Promise<any>`
|
|
188
|
+
|
|
189
|
+
Obtém as opções em componentes de pesquisa além dos metadados como showMore e entityPk.
|
|
190
|
+
|
|
191
|
+
#### Returns
|
|
192
|
+
|
|
193
|
+
Type: `Promise<any>`
|
|
194
|
+
|
|
195
|
+
Uma lista de opções ou uma única opção.
|
|
196
|
+
|
|
197
|
+
---
|
|
198
|
+
|
|
187
199
|
### `executeSearch(searchArgument: ISearchArgument, fieldName: string, dataUnit: DataUnit, ctxOptions?: ISearchCtxOptions) => Promise<Array<IOption> | IOption>`
|
|
188
200
|
|
|
189
201
|
Obtém as opções em componentes de pesquisa.
|
|
@@ -21,9 +21,33 @@
|
|
|
21
21
|
|
|
22
22
|
## Events
|
|
23
23
|
|
|
24
|
-
| Event
|
|
25
|
-
|
|
|
26
|
-
| `
|
|
24
|
+
| Event | Description | Type |
|
|
25
|
+
| -------------- | ------------------------------------------------------------- | ------------------- |
|
|
26
|
+
| `ezClosePopup` | Evento emitido ao clicar no botão de fechar (onEzClosePopup). | `CustomEvent<void>` |
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## Methods
|
|
30
|
+
|
|
31
|
+
### `close() => Promise<void>`
|
|
32
|
+
|
|
33
|
+
Fecha o popup do SnkAttach.
|
|
34
|
+
|
|
35
|
+
#### Returns
|
|
36
|
+
|
|
37
|
+
Type: `Promise<void>`
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
### `open() => Promise<void>`
|
|
42
|
+
|
|
43
|
+
Abre o popup do SnkAttach.
|
|
44
|
+
Inicializa o componente apenas na abertura.
|
|
45
|
+
|
|
46
|
+
#### Returns
|
|
47
|
+
|
|
48
|
+
Type: `Promise<void>`
|
|
49
|
+
|
|
50
|
+
|
|
27
51
|
|
|
28
52
|
|
|
29
53
|
## Dependencies
|
|
@@ -32,16 +56,16 @@
|
|
|
32
56
|
|
|
33
57
|
- [snk-crud](../snk-crud)
|
|
34
58
|
- [snk-detail-view](../snk-crud/subcomponents/snk-detail-view)
|
|
59
|
+
- [snk-dynaform](../snk-dynaform)
|
|
60
|
+
- [snk-dynaform-detail-view](../snk-dynaform/subcomponents/snk-dynaform-detail-view)
|
|
35
61
|
|
|
36
62
|
### Depends on
|
|
37
63
|
|
|
38
|
-
- [snk-simple-bar](../snk-simple-bar)
|
|
39
64
|
- [snk-simple-crud](../snk-simple-crud)
|
|
40
65
|
|
|
41
66
|
### Graph
|
|
42
67
|
```mermaid
|
|
43
68
|
graph TD;
|
|
44
|
-
snk-attach --> snk-simple-bar
|
|
45
69
|
snk-attach --> snk-simple-crud
|
|
46
70
|
snk-simple-crud --> snk-taskbar
|
|
47
71
|
snk-simple-crud --> snk-data-unit
|
|
@@ -52,6 +76,7 @@ graph TD;
|
|
|
52
76
|
snk-simple-crud --> snk-actions-button
|
|
53
77
|
snk-simple-crud --> taskbar-split-button
|
|
54
78
|
snk-simple-crud --> taskbar-actions-button
|
|
79
|
+
snk-taskbar --> snk-taskbar-skeleton
|
|
55
80
|
snk-taskbar --> snk-data-exporter
|
|
56
81
|
snk-taskbar --> snk-actions-button
|
|
57
82
|
snk-taskbar --> taskbar-split-button
|
|
@@ -63,6 +88,8 @@ graph TD;
|
|
|
63
88
|
snk-grid-config --> snk-select-box
|
|
64
89
|
snk-crud --> snk-attach
|
|
65
90
|
snk-detail-view --> snk-attach
|
|
91
|
+
snk-dynaform --> snk-attach
|
|
92
|
+
snk-dynaform-detail-view --> snk-attach
|
|
66
93
|
style snk-attach fill:#f9f,stroke:#333,stroke-width:4px
|
|
67
94
|
```
|
|
68
95
|
|
|
@@ -58,6 +58,8 @@ Type: `Promise<void>`
|
|
|
58
58
|
### Used by
|
|
59
59
|
|
|
60
60
|
- [snk-crud](../snk-crud)
|
|
61
|
+
- [snk-dynaform](../snk-dynaform)
|
|
62
|
+
- [snk-dynaform-guides-view](../snk-dynaform/subcomponents/snk-dynaform-guides-view)
|
|
61
63
|
- [snk-guides-viewer](../snk-crud/subcomponents)
|
|
62
64
|
- [snk-simple-crud](../snk-simple-crud)
|
|
63
65
|
|
|
@@ -73,6 +75,8 @@ graph TD;
|
|
|
73
75
|
snk-configurator --> snk-numbering-config
|
|
74
76
|
snk-layout-form-config --> snk-view-representation
|
|
75
77
|
snk-crud --> snk-configurator
|
|
78
|
+
snk-dynaform --> snk-configurator
|
|
79
|
+
snk-dynaform-guides-view --> snk-configurator
|
|
76
80
|
snk-guides-viewer --> snk-configurator
|
|
77
81
|
snk-simple-crud --> snk-configurator
|
|
78
82
|
style snk-configurator fill:#f9f,stroke:#333,stroke-width:4px
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
| `autoFocus` | `auto-focus` | Define se a grid será focada ao ser carregada. | `boolean` | `true` |
|
|
14
14
|
| `autoLoad` | `auto-load` | Define se a carga dos dados será feita assim que o componente for carregado. | `boolean` | `undefined` |
|
|
15
15
|
| `configName` | `config-name` | Usado para salvar as configurações dos blocos de construção. | `string` | `undefined` |
|
|
16
|
+
| `customGuidesConfig` | -- | Fornece as informações das guias personalizadas. | `CustomGuideItem[]` | `[]` |
|
|
16
17
|
| `disableNumberingConfig` | `disable-numbering-config` | Define se a configuração de numeração será desabilitada. | `boolean` | `false` |
|
|
17
18
|
| `disablePersonalizedFilter` | `disable-personalized-filter` | Desabilita a apresentação da opção de filtros personalizados na filter bar (chip de filtros) e no modal lateral de filtros (container de filtros personalizados). | `boolean` | `undefined` |
|
|
18
19
|
| `domainMessagesBuilder` | `domain-messages-builder` | Define a chave customizada para sobrescrever as mensagens (Não pegando pela entidade) | `string` | `undefined` |
|
|
@@ -33,7 +34,8 @@
|
|
|
33
34
|
| `recordsValidator` | -- | Validador responsável por checar a integridade das informações do registro. | `IRecordValidator` | `undefined` |
|
|
34
35
|
| `selectionToastConfig` | -- | Configuração da seleção de grade no toast. | `ISelectionToastConfig` | `undefined` |
|
|
35
36
|
| `setCustomFormTitle` | -- | Define uma função para configurar um título cusotmizado no modo formulário. | `() => string` | `undefined` |
|
|
36
|
-
| `showActionButtons` | `show-action-buttons` | Usado para exibir os botões de ação do snk-configurator | `boolean` | `
|
|
37
|
+
| `showActionButtons` | `show-action-buttons` | Usado para exibir os botões de ação do snk-configurator | `boolean` | `true` |
|
|
38
|
+
| `showEntitySearch` | `show-entity-search` | Define se o campo de busca de entidades será exibido na barra superior. | `boolean` | `true` |
|
|
37
39
|
| `statusResolver` | -- | Configuração do valor da coluna de status. Exemplo: { "RECDESP": { "-1" : "#BD0025", "1" : "#157A00" } } | `((data: object) => string) \| IStatusResolver` | `undefined` |
|
|
38
40
|
| `strategyExporter` | `strategy-exporter` | Modo de exportação dos dados. | `"ClientSideExporterStrategy" \| "ServerSideExporterStrategy"` | `ExporterStrategy.SERVER_SIDE` |
|
|
39
41
|
| `taskbarManager` | -- | Gerenciador das barras de tarefas. É possível determinar botões específicos ou mesmo gerenciar o estado dos botões. | `TaskbarManager` | `undefined` |
|
|
@@ -49,6 +51,7 @@
|
|
|
49
51
|
| `configuratorSave` | Emitido quando salva a configuração no configurator do CRUD. | `CustomEvent<any>` |
|
|
50
52
|
| `formItemsReady` | Responsável por notificar quando ocorrer a renderização de itens do formulário. | `CustomEvent<HTMLElement[]>` |
|
|
51
53
|
| `numberingConfigChanged` | Emitido quando a configuração de numeração é alterada. | `CustomEvent<ResponseGetConfig>` |
|
|
54
|
+
| `snkShowGuide` | Emitido pelo guides-viewer sempre que houver mudança de guia. | `CustomEvent<string>` |
|
|
52
55
|
| `viewModeChanged` | | `CustomEvent<VIEW_MODE.ATTACHMENT \| VIEW_MODE.FORM \| VIEW_MODE.GRID>` |
|
|
53
56
|
|
|
54
57
|
|
|
@@ -179,6 +182,9 @@ Type: `Promise<void>`
|
|
|
179
182
|
|
|
180
183
|
### Depends on
|
|
181
184
|
|
|
185
|
+
- [snk-entity-search](subcomponents)
|
|
186
|
+
- [snk-taskbar](../snk-taskbar)
|
|
187
|
+
- [snk-filter-bar](../snk-filter-bar)
|
|
182
188
|
- [snk-grid](../snk-grid)
|
|
183
189
|
- [snk-guides-viewer](subcomponents)
|
|
184
190
|
- [snk-attach](../snk-attach)
|
|
@@ -191,6 +197,9 @@ Type: `Promise<void>`
|
|
|
191
197
|
### Graph
|
|
192
198
|
```mermaid
|
|
193
199
|
graph TD;
|
|
200
|
+
snk-crud --> snk-entity-search
|
|
201
|
+
snk-crud --> snk-taskbar
|
|
202
|
+
snk-crud --> snk-filter-bar
|
|
194
203
|
snk-crud --> snk-grid
|
|
195
204
|
snk-crud --> snk-guides-viewer
|
|
196
205
|
snk-crud --> snk-attach
|
|
@@ -199,13 +208,12 @@ graph TD;
|
|
|
199
208
|
snk-crud --> snk-actions-button
|
|
200
209
|
snk-crud --> taskbar-split-button
|
|
201
210
|
snk-crud --> taskbar-actions-button
|
|
202
|
-
snk-
|
|
203
|
-
snk-
|
|
204
|
-
snk-
|
|
205
|
-
snk-
|
|
206
|
-
snk-
|
|
207
|
-
snk-
|
|
208
|
-
snk-grid --> taskbar-actions-button
|
|
211
|
+
snk-taskbar --> snk-taskbar-skeleton
|
|
212
|
+
snk-taskbar --> snk-data-exporter
|
|
213
|
+
snk-taskbar --> snk-actions-button
|
|
214
|
+
snk-taskbar --> taskbar-split-button
|
|
215
|
+
snk-taskbar --> taskbar-actions-button
|
|
216
|
+
snk-data-exporter --> snk-exporter-email-sender
|
|
209
217
|
snk-filter-bar --> snk-filter-item
|
|
210
218
|
snk-filter-bar --> snk-personalized-filter
|
|
211
219
|
snk-filter-bar --> snk-filter-modal
|
|
@@ -221,22 +229,24 @@ graph TD;
|
|
|
221
229
|
snk-expression-item --> snk-filter-param-config
|
|
222
230
|
snk-filter-modal --> snk-filter-modal-item
|
|
223
231
|
snk-filter-modal --> snk-default-filter
|
|
224
|
-
snk-
|
|
225
|
-
snk-
|
|
226
|
-
snk-
|
|
227
|
-
snk-
|
|
228
|
-
snk-
|
|
232
|
+
snk-grid --> snk-filter-bar
|
|
233
|
+
snk-grid --> snk-taskbar
|
|
234
|
+
snk-grid --> snk-grid-config
|
|
235
|
+
snk-grid --> snk-data-exporter
|
|
236
|
+
snk-grid --> snk-actions-button
|
|
237
|
+
snk-grid --> taskbar-split-button
|
|
238
|
+
snk-grid --> taskbar-actions-button
|
|
229
239
|
snk-grid-config --> snk-select-box
|
|
230
240
|
snk-guides-viewer --> snk-form-view
|
|
231
241
|
snk-guides-viewer --> snk-data-unit
|
|
232
242
|
snk-guides-viewer --> snk-detail-view
|
|
233
|
-
snk-guides-viewer --> snk-taskbar
|
|
234
243
|
snk-guides-viewer --> snk-form-config
|
|
235
244
|
snk-guides-viewer --> snk-configurator
|
|
236
245
|
snk-guides-viewer --> snk-data-exporter
|
|
237
246
|
snk-guides-viewer --> snk-actions-button
|
|
238
247
|
snk-guides-viewer --> taskbar-split-button
|
|
239
248
|
snk-guides-viewer --> taskbar-actions-button
|
|
249
|
+
snk-form-view --> snk-image-input
|
|
240
250
|
snk-form-view --> snk-form-summary
|
|
241
251
|
snk-detail-view --> snk-data-unit
|
|
242
252
|
snk-detail-view --> snk-grid
|
|
@@ -247,7 +257,6 @@ graph TD;
|
|
|
247
257
|
snk-detail-view --> snk-actions-button
|
|
248
258
|
snk-detail-view --> taskbar-split-button
|
|
249
259
|
snk-detail-view --> taskbar-actions-button
|
|
250
|
-
snk-attach --> snk-simple-bar
|
|
251
260
|
snk-attach --> snk-simple-crud
|
|
252
261
|
snk-simple-crud --> snk-taskbar
|
|
253
262
|
snk-simple-crud --> snk-data-unit
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
| `actionsList` | -- | Ações a serem colocadas no botão "Mais opções" do componente snk-taskbar. | `Action[]` | `undefined` |
|
|
13
13
|
| `canEdit` | `can-edit` | Define se a edição está habilitada na grid. | `boolean` | `true` |
|
|
14
14
|
| `configName` | `config-name` | Nome usado para guardar/recuperar as configurações do formulário. | `string` | `undefined` |
|
|
15
|
+
| `customGuidesConfig` | -- | Fornece as informações das guias personalizadas. | `CustomGuideItem[]` | `[]` |
|
|
15
16
|
| `dataState` | -- | Representa o estado do dataUnit master. | `DataState` | `undefined` |
|
|
16
17
|
| `dataUnit` | -- | Instância do DataUnit master. | `DataUnit` | `undefined` |
|
|
17
18
|
| `detailTaskbarCustomContainerId` | `detail-taskbar-custom-container-id` | Define o identificador do container de elementos customizados da Taskbar da aba de detalhes. | `string` | `undefined` |
|
|
@@ -31,12 +32,14 @@
|
|
|
31
32
|
|
|
32
33
|
## Events
|
|
33
34
|
|
|
34
|
-
| Event
|
|
35
|
-
|
|
|
36
|
-
| `actionClick`
|
|
37
|
-
| `exit`
|
|
38
|
-
| `
|
|
39
|
-
| `
|
|
35
|
+
| Event | Description | Type |
|
|
36
|
+
| ----------------------------- | ------------------------------------------------------------------------------- | ---------------------------- |
|
|
37
|
+
| `actionClick` | Emitido sempre que houver click de botão ou ação. | `CustomEvent<string>` |
|
|
38
|
+
| `exit` | Emitido quando o botão de voltar é acionado. | `CustomEvent<void>` |
|
|
39
|
+
| `formConfigVisibilityChanged` | Emitido quando a visibilidade do configurador do formulário é alterada. | `CustomEvent<boolean>` |
|
|
40
|
+
| `formItemsReady` | Responsável por notificar quando ocorrer a renderização de itens do formulário. | `CustomEvent<HTMLElement[]>` |
|
|
41
|
+
| `snkMasterFormConfigChange` | Emitido quando a configuração do formulário master é definida. | `CustomEvent<IFormConfig>` |
|
|
42
|
+
| `snkShowGuide` | Emitido quando a uma gua é exibida no formulário. | `CustomEvent<string>` |
|
|
40
43
|
|
|
41
44
|
|
|
42
45
|
## Methods
|
|
@@ -113,7 +116,6 @@ Type: `Promise<void>`
|
|
|
113
116
|
- [snk-form-view](.)
|
|
114
117
|
- [snk-data-unit](../../snk-data-unit)
|
|
115
118
|
- [snk-detail-view](snk-detail-view)
|
|
116
|
-
- [snk-taskbar](../../snk-taskbar)
|
|
117
119
|
- [snk-form-config](../../snk-form-config)
|
|
118
120
|
- [snk-configurator](../../snk-configurator)
|
|
119
121
|
- [snk-data-exporter](../../snk-data-exporter)
|
|
@@ -127,13 +129,13 @@ graph TD;
|
|
|
127
129
|
snk-guides-viewer --> snk-form-view
|
|
128
130
|
snk-guides-viewer --> snk-data-unit
|
|
129
131
|
snk-guides-viewer --> snk-detail-view
|
|
130
|
-
snk-guides-viewer --> snk-taskbar
|
|
131
132
|
snk-guides-viewer --> snk-form-config
|
|
132
133
|
snk-guides-viewer --> snk-configurator
|
|
133
134
|
snk-guides-viewer --> snk-data-exporter
|
|
134
135
|
snk-guides-viewer --> snk-actions-button
|
|
135
136
|
snk-guides-viewer --> taskbar-split-button
|
|
136
137
|
snk-guides-viewer --> taskbar-actions-button
|
|
138
|
+
snk-form-view --> snk-image-input
|
|
137
139
|
snk-form-view --> snk-form-summary
|
|
138
140
|
snk-detail-view --> snk-data-unit
|
|
139
141
|
snk-detail-view --> snk-grid
|
|
@@ -166,13 +168,13 @@ graph TD;
|
|
|
166
168
|
snk-expression-item --> snk-filter-param-config
|
|
167
169
|
snk-filter-modal --> snk-filter-modal-item
|
|
168
170
|
snk-filter-modal --> snk-default-filter
|
|
171
|
+
snk-taskbar --> snk-taskbar-skeleton
|
|
169
172
|
snk-taskbar --> snk-data-exporter
|
|
170
173
|
snk-taskbar --> snk-actions-button
|
|
171
174
|
snk-taskbar --> taskbar-split-button
|
|
172
175
|
snk-taskbar --> taskbar-actions-button
|
|
173
176
|
snk-data-exporter --> snk-exporter-email-sender
|
|
174
177
|
snk-grid-config --> snk-select-box
|
|
175
|
-
snk-attach --> snk-simple-bar
|
|
176
178
|
snk-attach --> snk-simple-crud
|
|
177
179
|
snk-simple-crud --> snk-taskbar
|
|
178
180
|
snk-simple-crud --> snk-data-unit
|
|
@@ -141,14 +141,15 @@ graph TD;
|
|
|
141
141
|
snk-expression-item --> snk-filter-param-config
|
|
142
142
|
snk-filter-modal --> snk-filter-modal-item
|
|
143
143
|
snk-filter-modal --> snk-default-filter
|
|
144
|
+
snk-taskbar --> snk-taskbar-skeleton
|
|
144
145
|
snk-taskbar --> snk-data-exporter
|
|
145
146
|
snk-taskbar --> snk-actions-button
|
|
146
147
|
snk-taskbar --> taskbar-split-button
|
|
147
148
|
snk-taskbar --> taskbar-actions-button
|
|
148
149
|
snk-data-exporter --> snk-exporter-email-sender
|
|
149
150
|
snk-grid-config --> snk-select-box
|
|
151
|
+
snk-form-view --> snk-image-input
|
|
150
152
|
snk-form-view --> snk-form-summary
|
|
151
|
-
snk-attach --> snk-simple-bar
|
|
152
153
|
snk-attach --> snk-simple-crud
|
|
153
154
|
snk-simple-crud --> snk-taskbar
|
|
154
155
|
snk-simple-crud --> snk-data-unit
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# snk-custom-slot-guide
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<!-- Auto Generated Below -->
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ---------- | ----------- | ------------------------------------------------------------- | -------- | --------------------- |
|
|
12
|
+
| `slotName` | `slot-name` | Nome do slot onde os elementos customizados deverão aparecer. | `string` | `'CUSTOM_SLOT_GUIDE'` |
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## Events
|
|
16
|
+
|
|
17
|
+
| Event | Description | Type |
|
|
18
|
+
| -------------------------- | -------------------------------------------- | --------------------- |
|
|
19
|
+
| `snkCustomSlotGuideLoaded` | Emitido quando elemento é carregado na tela. | `CustomEvent<string>` |
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
----------------------------------------------
|
|
23
|
+
|
|
24
|
+
|
|
@@ -7,10 +7,11 @@
|
|
|
7
7
|
|
|
8
8
|
## Properties
|
|
9
9
|
|
|
10
|
-
| Property | Attribute | Description | Type
|
|
11
|
-
| ----------------- | --------- | -------------------------------------------------------------------------------------- |
|
|
12
|
-
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder`
|
|
13
|
-
| `provider` | -- | Provedor das informações para exportação dos dados. | `IExporterProvider`
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ----------------- | --------- | -------------------------------------------------------------------------------------- | -------------------------------- | ----------- |
|
|
12
|
+
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
|
13
|
+
| `provider` | -- | Provedor das informações para exportação dos dados. | `IExporterProvider` | `null` |
|
|
14
|
+
| `size` | `size` | Define o tamanho do botão, podendo ser 'small', 'medium' ou 'large'. | `"large" \| "medium" \| "small"` | `'medium'` |
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
## Dependencies
|
|
@@ -19,6 +20,9 @@
|
|
|
19
20
|
|
|
20
21
|
- [snk-crud](../snk-crud)
|
|
21
22
|
- [snk-detail-view](../snk-crud/subcomponents/snk-detail-view)
|
|
23
|
+
- [snk-dynaform](../snk-dynaform)
|
|
24
|
+
- [snk-dynaform-detail-view](../snk-dynaform/subcomponents/snk-dynaform-detail-view)
|
|
25
|
+
- [snk-dynaform-guides-view](../snk-dynaform/subcomponents/snk-dynaform-guides-view)
|
|
22
26
|
- [snk-grid](../snk-grid)
|
|
23
27
|
- [snk-guides-viewer](../snk-crud/subcomponents)
|
|
24
28
|
- [snk-simple-crud](../snk-simple-crud)
|
|
@@ -34,6 +38,9 @@ graph TD;
|
|
|
34
38
|
snk-data-exporter --> snk-exporter-email-sender
|
|
35
39
|
snk-crud --> snk-data-exporter
|
|
36
40
|
snk-detail-view --> snk-data-exporter
|
|
41
|
+
snk-dynaform --> snk-data-exporter
|
|
42
|
+
snk-dynaform-detail-view --> snk-data-exporter
|
|
43
|
+
snk-dynaform-guides-view --> snk-data-exporter
|
|
37
44
|
snk-grid --> snk-data-exporter
|
|
38
45
|
snk-guides-viewer --> snk-data-exporter
|
|
39
46
|
snk-simple-crud --> snk-data-exporter
|
|
@@ -102,6 +102,7 @@ Retorna uma promessa que resolve com a lista de IDs dos registros selecionados.
|
|
|
102
102
|
### Used by
|
|
103
103
|
|
|
104
104
|
- [snk-detail-view](../snk-crud/subcomponents/snk-detail-view)
|
|
105
|
+
- [snk-dynaform-detail-view](../snk-dynaform/subcomponents/snk-dynaform-detail-view)
|
|
105
106
|
- [snk-guides-viewer](../snk-crud/subcomponents)
|
|
106
107
|
- [snk-simple-crud](../snk-simple-crud)
|
|
107
108
|
|
|
@@ -109,6 +110,7 @@ Retorna uma promessa que resolve com a lista de IDs dos registros selecionados.
|
|
|
109
110
|
```mermaid
|
|
110
111
|
graph TD;
|
|
111
112
|
snk-detail-view --> snk-data-unit
|
|
113
|
+
snk-dynaform-detail-view --> snk-data-unit
|
|
112
114
|
snk-guides-viewer --> snk-data-unit
|
|
113
115
|
snk-simple-crud --> snk-data-unit
|
|
114
116
|
style snk-data-unit fill:#f9f,stroke:#333,stroke-width:4px
|