@sankhyalabs/sankhyablocks-docs 10.1.0-dev.6 → 10.1.0-dev.60
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 +8 -8
- package/components/snk-attach/readme.md +32 -5
- package/components/snk-configurator/readme.md +4 -0
- package/components/snk-crud/readme.md +22 -15
- package/components/snk-crud/subcomponents/readme.md +3 -3
- 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 +206 -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-grid/readme.md +78 -40
- package/components/snk-grid-config/readme.md +9 -7
- package/components/snk-image-input/readme.md +58 -0
- package/components/snk-pesquisa/readme.md +1 -1
- 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 +11 -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
|
|
@@ -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
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
| `recordsValidator` | -- | Validador responsável por checar a integridade das informações do registro. | `IRecordValidator` | `undefined` |
|
|
35
35
|
| `selectionToastConfig` | -- | Configuração da seleção de grade no toast. | `ISelectionToastConfig` | `undefined` |
|
|
36
36
|
| `setCustomFormTitle` | -- | Define uma função para configurar um título cusotmizado no modo formulário. | `() => string` | `undefined` |
|
|
37
|
-
| `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
38
|
| `showEntitySearch` | `show-entity-search` | Define se o campo de busca de entidades será exibido na barra superior. | `boolean` | `true` |
|
|
39
39
|
| `statusResolver` | -- | Configuração do valor da coluna de status. Exemplo: { "RECDESP": { "-1" : "#BD0025", "1" : "#157A00" } } | `((data: object) => string) \| IStatusResolver` | `undefined` |
|
|
40
40
|
| `strategyExporter` | `strategy-exporter` | Modo de exportação dos dados. | `"ClientSideExporterStrategy" \| "ServerSideExporterStrategy"` | `ExporterStrategy.SERVER_SIDE` |
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
| `configuratorSave` | Emitido quando salva a configuração no configurator do CRUD. | `CustomEvent<any>` |
|
|
52
52
|
| `formItemsReady` | Responsável por notificar quando ocorrer a renderização de itens do formulário. | `CustomEvent<HTMLElement[]>` |
|
|
53
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>` |
|
|
54
55
|
| `viewModeChanged` | | `CustomEvent<VIEW_MODE.ATTACHMENT \| VIEW_MODE.FORM \| VIEW_MODE.GRID>` |
|
|
55
56
|
|
|
56
57
|
|
|
@@ -181,6 +182,9 @@ Type: `Promise<void>`
|
|
|
181
182
|
|
|
182
183
|
### Depends on
|
|
183
184
|
|
|
185
|
+
- [snk-entity-search](subcomponents)
|
|
186
|
+
- [snk-taskbar](../snk-taskbar)
|
|
187
|
+
- [snk-filter-bar](../snk-filter-bar)
|
|
184
188
|
- [snk-grid](../snk-grid)
|
|
185
189
|
- [snk-guides-viewer](subcomponents)
|
|
186
190
|
- [snk-attach](../snk-attach)
|
|
@@ -193,6 +197,9 @@ Type: `Promise<void>`
|
|
|
193
197
|
### Graph
|
|
194
198
|
```mermaid
|
|
195
199
|
graph TD;
|
|
200
|
+
snk-crud --> snk-entity-search
|
|
201
|
+
snk-crud --> snk-taskbar
|
|
202
|
+
snk-crud --> snk-filter-bar
|
|
196
203
|
snk-crud --> snk-grid
|
|
197
204
|
snk-crud --> snk-guides-viewer
|
|
198
205
|
snk-crud --> snk-attach
|
|
@@ -201,13 +208,12 @@ graph TD;
|
|
|
201
208
|
snk-crud --> snk-actions-button
|
|
202
209
|
snk-crud --> taskbar-split-button
|
|
203
210
|
snk-crud --> taskbar-actions-button
|
|
204
|
-
snk-
|
|
205
|
-
snk-
|
|
206
|
-
snk-
|
|
207
|
-
snk-
|
|
208
|
-
snk-
|
|
209
|
-
snk-
|
|
210
|
-
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
|
|
211
217
|
snk-filter-bar --> snk-filter-item
|
|
212
218
|
snk-filter-bar --> snk-personalized-filter
|
|
213
219
|
snk-filter-bar --> snk-filter-modal
|
|
@@ -223,22 +229,24 @@ graph TD;
|
|
|
223
229
|
snk-expression-item --> snk-filter-param-config
|
|
224
230
|
snk-filter-modal --> snk-filter-modal-item
|
|
225
231
|
snk-filter-modal --> snk-default-filter
|
|
226
|
-
snk-
|
|
227
|
-
snk-
|
|
228
|
-
snk-
|
|
229
|
-
snk-
|
|
230
|
-
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
|
|
231
239
|
snk-grid-config --> snk-select-box
|
|
232
240
|
snk-guides-viewer --> snk-form-view
|
|
233
241
|
snk-guides-viewer --> snk-data-unit
|
|
234
242
|
snk-guides-viewer --> snk-detail-view
|
|
235
|
-
snk-guides-viewer --> snk-taskbar
|
|
236
243
|
snk-guides-viewer --> snk-form-config
|
|
237
244
|
snk-guides-viewer --> snk-configurator
|
|
238
245
|
snk-guides-viewer --> snk-data-exporter
|
|
239
246
|
snk-guides-viewer --> snk-actions-button
|
|
240
247
|
snk-guides-viewer --> taskbar-split-button
|
|
241
248
|
snk-guides-viewer --> taskbar-actions-button
|
|
249
|
+
snk-form-view --> snk-image-input
|
|
242
250
|
snk-form-view --> snk-form-summary
|
|
243
251
|
snk-detail-view --> snk-data-unit
|
|
244
252
|
snk-detail-view --> snk-grid
|
|
@@ -249,7 +257,6 @@ graph TD;
|
|
|
249
257
|
snk-detail-view --> snk-actions-button
|
|
250
258
|
snk-detail-view --> taskbar-split-button
|
|
251
259
|
snk-detail-view --> taskbar-actions-button
|
|
252
|
-
snk-attach --> snk-simple-bar
|
|
253
260
|
snk-attach --> snk-simple-crud
|
|
254
261
|
snk-simple-crud --> snk-taskbar
|
|
255
262
|
snk-simple-crud --> snk-data-unit
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
| `formConfigVisibilityChanged` | Emitido quando a visibilidade do configurador do formulário é alterada. | `CustomEvent<boolean>` |
|
|
40
40
|
| `formItemsReady` | Responsável por notificar quando ocorrer a renderização de itens do formulário. | `CustomEvent<HTMLElement[]>` |
|
|
41
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>` |
|
|
42
43
|
|
|
43
44
|
|
|
44
45
|
## Methods
|
|
@@ -115,7 +116,6 @@ Type: `Promise<void>`
|
|
|
115
116
|
- [snk-form-view](.)
|
|
116
117
|
- [snk-data-unit](../../snk-data-unit)
|
|
117
118
|
- [snk-detail-view](snk-detail-view)
|
|
118
|
-
- [snk-taskbar](../../snk-taskbar)
|
|
119
119
|
- [snk-form-config](../../snk-form-config)
|
|
120
120
|
- [snk-configurator](../../snk-configurator)
|
|
121
121
|
- [snk-data-exporter](../../snk-data-exporter)
|
|
@@ -129,13 +129,13 @@ graph TD;
|
|
|
129
129
|
snk-guides-viewer --> snk-form-view
|
|
130
130
|
snk-guides-viewer --> snk-data-unit
|
|
131
131
|
snk-guides-viewer --> snk-detail-view
|
|
132
|
-
snk-guides-viewer --> snk-taskbar
|
|
133
132
|
snk-guides-viewer --> snk-form-config
|
|
134
133
|
snk-guides-viewer --> snk-configurator
|
|
135
134
|
snk-guides-viewer --> snk-data-exporter
|
|
136
135
|
snk-guides-viewer --> snk-actions-button
|
|
137
136
|
snk-guides-viewer --> taskbar-split-button
|
|
138
137
|
snk-guides-viewer --> taskbar-actions-button
|
|
138
|
+
snk-form-view --> snk-image-input
|
|
139
139
|
snk-form-view --> snk-form-summary
|
|
140
140
|
snk-detail-view --> snk-data-unit
|
|
141
141
|
snk-detail-view --> snk-grid
|
|
@@ -168,13 +168,13 @@ graph TD;
|
|
|
168
168
|
snk-expression-item --> snk-filter-param-config
|
|
169
169
|
snk-filter-modal --> snk-filter-modal-item
|
|
170
170
|
snk-filter-modal --> snk-default-filter
|
|
171
|
+
snk-taskbar --> snk-taskbar-skeleton
|
|
171
172
|
snk-taskbar --> snk-data-exporter
|
|
172
173
|
snk-taskbar --> snk-actions-button
|
|
173
174
|
snk-taskbar --> taskbar-split-button
|
|
174
175
|
snk-taskbar --> taskbar-actions-button
|
|
175
176
|
snk-data-exporter --> snk-exporter-email-sender
|
|
176
177
|
snk-grid-config --> snk-select-box
|
|
177
|
-
snk-attach --> snk-simple-bar
|
|
178
178
|
snk-attach --> snk-simple-crud
|
|
179
179
|
snk-simple-crud --> snk-taskbar
|
|
180
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
|