@sankhyalabs/sankhyablocks-docs 0.0.0-bugfix-dev-KB-86600.1 → 0.0.0-bugfix-dev-KB-86904.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-attach/readme.md +2 -0
- package/components/snk-crud/readme.md +15 -3
- package/components/snk-crud/subcomponents/readme.md +14 -13
- package/components/snk-crud/subcomponents/snk-detail-view/readme.md +5 -0
- package/components/snk-filter-bar/filter-modal/readme.md +15 -12
- package/components/snk-filter-bar/filter-modal/subcomponents/snk-default-filter/readme.md +38 -0
- package/components/snk-form/readme.md +8 -3
- package/components/snk-form-config/config-header/configs-button/readme.md +40 -0
- package/components/snk-form-config/config-header/readme.md +47 -0
- package/components/snk-form-config/field-item/field-config/readme.md +53 -0
- package/components/snk-form-config/field-item/readme.md +48 -0
- package/components/snk-form-config/fields-layout/readme.md +64 -0
- package/components/snk-form-config/fields-selector/readme.md +44 -0
- package/components/snk-form-config/guides-configurator/readme.md +42 -0
- package/components/snk-form-config/readme.md +13 -7
- package/components/snk-grid/readme.md +5 -10
- package/components/snk-personalized-filter/readme.md +8 -7
- package/components/snk-personalized-filter/subcomponents/snk-expression-group/readme.md +8 -7
- package/components/snk-personalized-filter/subcomponents/snk-expression-item/readme.md +7 -6
- package/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/readme.md +8 -7
- package/components/snk-simple-crud/readme.md +4 -1
- package/components/snk-taskbar/elements/taskbar-split-button/readme.md +47 -0
- package/components/snk-taskbar/readme.md +19 -16
- package/package.json +1 -1
- package/components/snk-form-config/subcomponents/snk-config-options/readme.md +0 -40
- package/components/snk-form-config/subcomponents/snk-field-config/readme.md +0 -41
- package/components/snk-form-config/subcomponents/snk-tab-config/readme.md +0 -46
|
@@ -49,9 +49,11 @@ graph TD;
|
|
|
49
49
|
snk-simple-crud --> snk-grid-config
|
|
50
50
|
snk-simple-crud --> snk-data-exporter
|
|
51
51
|
snk-simple-crud --> snk-actions-button
|
|
52
|
+
snk-simple-crud --> taskbar-split-button
|
|
52
53
|
snk-simple-crud --> taskbar-actions-button
|
|
53
54
|
snk-taskbar --> snk-data-exporter
|
|
54
55
|
snk-taskbar --> snk-actions-button
|
|
56
|
+
snk-taskbar --> taskbar-split-button
|
|
55
57
|
snk-taskbar --> taskbar-actions-button
|
|
56
58
|
snk-data-exporter --> snk-exporter-email-sender
|
|
57
59
|
snk-configurator --> snk-layout-form-config
|
|
@@ -163,6 +163,7 @@ Type: `Promise<void>`
|
|
|
163
163
|
- [snk-configurator](../snk-configurator)
|
|
164
164
|
- [snk-data-exporter](../snk-data-exporter)
|
|
165
165
|
- [snk-actions-button](../snk-actions-button)
|
|
166
|
+
- [taskbar-split-button](../snk-taskbar/elements/taskbar-split-button)
|
|
166
167
|
- [taskbar-actions-button](../snk-taskbar/elements/taskbar-actions-button)
|
|
167
168
|
|
|
168
169
|
### Graph
|
|
@@ -174,12 +175,14 @@ graph TD;
|
|
|
174
175
|
snk-crud --> snk-configurator
|
|
175
176
|
snk-crud --> snk-data-exporter
|
|
176
177
|
snk-crud --> snk-actions-button
|
|
178
|
+
snk-crud --> taskbar-split-button
|
|
177
179
|
snk-crud --> taskbar-actions-button
|
|
178
180
|
snk-grid --> snk-filter-bar
|
|
179
181
|
snk-grid --> snk-taskbar
|
|
180
182
|
snk-grid --> snk-grid-config
|
|
181
183
|
snk-grid --> snk-data-exporter
|
|
182
184
|
snk-grid --> snk-actions-button
|
|
185
|
+
snk-grid --> taskbar-split-button
|
|
183
186
|
snk-grid --> taskbar-actions-button
|
|
184
187
|
snk-filter-bar --> snk-filter-item
|
|
185
188
|
snk-filter-bar --> snk-personalized-filter
|
|
@@ -195,6 +198,7 @@ graph TD;
|
|
|
195
198
|
snk-expression-item --> snk-filter-param-config
|
|
196
199
|
snk-taskbar --> snk-data-exporter
|
|
197
200
|
snk-taskbar --> snk-actions-button
|
|
201
|
+
snk-taskbar --> taskbar-split-button
|
|
198
202
|
snk-taskbar --> taskbar-actions-button
|
|
199
203
|
snk-data-exporter --> snk-exporter-email-sender
|
|
200
204
|
snk-grid-config --> snk-select-box
|
|
@@ -206,6 +210,7 @@ graph TD;
|
|
|
206
210
|
snk-guides-viewer --> snk-configurator
|
|
207
211
|
snk-guides-viewer --> snk-data-exporter
|
|
208
212
|
snk-guides-viewer --> snk-actions-button
|
|
213
|
+
snk-guides-viewer --> taskbar-split-button
|
|
209
214
|
snk-guides-viewer --> taskbar-actions-button
|
|
210
215
|
snk-form-view --> snk-form-summary
|
|
211
216
|
snk-detail-view --> snk-data-unit
|
|
@@ -215,6 +220,7 @@ graph TD;
|
|
|
215
220
|
snk-detail-view --> snk-attach
|
|
216
221
|
snk-detail-view --> snk-data-exporter
|
|
217
222
|
snk-detail-view --> snk-actions-button
|
|
223
|
+
snk-detail-view --> taskbar-split-button
|
|
218
224
|
snk-detail-view --> taskbar-actions-button
|
|
219
225
|
snk-attach --> snk-simple-bar
|
|
220
226
|
snk-attach --> snk-simple-crud
|
|
@@ -225,12 +231,18 @@ graph TD;
|
|
|
225
231
|
snk-simple-crud --> snk-grid-config
|
|
226
232
|
snk-simple-crud --> snk-data-exporter
|
|
227
233
|
snk-simple-crud --> snk-actions-button
|
|
234
|
+
snk-simple-crud --> taskbar-split-button
|
|
228
235
|
snk-simple-crud --> taskbar-actions-button
|
|
229
236
|
snk-configurator --> snk-layout-form-config
|
|
230
237
|
snk-layout-form-config --> snk-view-representation
|
|
231
|
-
snk-form-config -->
|
|
232
|
-
snk-form-config -->
|
|
233
|
-
snk-form-config -->
|
|
238
|
+
snk-form-config --> config-header
|
|
239
|
+
snk-form-config --> guides-configurator
|
|
240
|
+
snk-form-config --> fields-layout
|
|
241
|
+
snk-form-config --> fields-selector
|
|
242
|
+
config-header --> configs-button
|
|
243
|
+
fields-layout --> field-item
|
|
244
|
+
field-item --> field-config
|
|
245
|
+
fields-selector --> field-item
|
|
234
246
|
style snk-crud fill:#f9f,stroke:#333,stroke-width:4px
|
|
235
247
|
```
|
|
236
248
|
|
|
@@ -61,16 +61,6 @@ Type: `Promise<void>`
|
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
### `findField() => Promise<void>`
|
|
65
|
-
|
|
66
|
-
Abre o localizador de campos
|
|
67
|
-
|
|
68
|
-
#### Returns
|
|
69
|
-
|
|
70
|
-
Type: `Promise<void>`
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
64
|
### `setFieldProp(fieldName: string, propName: string, value: any) => Promise<void>`
|
|
75
65
|
|
|
76
66
|
Altera/adiciona uma propriedade nos metadados do campo.
|
|
@@ -118,6 +108,7 @@ Type: `Promise<void>`
|
|
|
118
108
|
- [snk-configurator](../../snk-configurator)
|
|
119
109
|
- [snk-data-exporter](../../snk-data-exporter)
|
|
120
110
|
- [snk-actions-button](../../snk-actions-button)
|
|
111
|
+
- [taskbar-split-button](../../snk-taskbar/elements/taskbar-split-button)
|
|
121
112
|
- [taskbar-actions-button](../../snk-taskbar/elements/taskbar-actions-button)
|
|
122
113
|
|
|
123
114
|
### Graph
|
|
@@ -131,6 +122,7 @@ graph TD;
|
|
|
131
122
|
snk-guides-viewer --> snk-configurator
|
|
132
123
|
snk-guides-viewer --> snk-data-exporter
|
|
133
124
|
snk-guides-viewer --> snk-actions-button
|
|
125
|
+
snk-guides-viewer --> taskbar-split-button
|
|
134
126
|
snk-guides-viewer --> taskbar-actions-button
|
|
135
127
|
snk-form-view --> snk-form-summary
|
|
136
128
|
snk-detail-view --> snk-data-unit
|
|
@@ -140,12 +132,14 @@ graph TD;
|
|
|
140
132
|
snk-detail-view --> snk-attach
|
|
141
133
|
snk-detail-view --> snk-data-exporter
|
|
142
134
|
snk-detail-view --> snk-actions-button
|
|
135
|
+
snk-detail-view --> taskbar-split-button
|
|
143
136
|
snk-detail-view --> taskbar-actions-button
|
|
144
137
|
snk-grid --> snk-filter-bar
|
|
145
138
|
snk-grid --> snk-taskbar
|
|
146
139
|
snk-grid --> snk-grid-config
|
|
147
140
|
snk-grid --> snk-data-exporter
|
|
148
141
|
snk-grid --> snk-actions-button
|
|
142
|
+
snk-grid --> taskbar-split-button
|
|
149
143
|
snk-grid --> taskbar-actions-button
|
|
150
144
|
snk-filter-bar --> snk-filter-item
|
|
151
145
|
snk-filter-bar --> snk-personalized-filter
|
|
@@ -161,6 +155,7 @@ graph TD;
|
|
|
161
155
|
snk-expression-item --> snk-filter-param-config
|
|
162
156
|
snk-taskbar --> snk-data-exporter
|
|
163
157
|
snk-taskbar --> snk-actions-button
|
|
158
|
+
snk-taskbar --> taskbar-split-button
|
|
164
159
|
snk-taskbar --> taskbar-actions-button
|
|
165
160
|
snk-data-exporter --> snk-exporter-email-sender
|
|
166
161
|
snk-grid-config --> snk-select-box
|
|
@@ -173,12 +168,18 @@ graph TD;
|
|
|
173
168
|
snk-simple-crud --> snk-grid-config
|
|
174
169
|
snk-simple-crud --> snk-data-exporter
|
|
175
170
|
snk-simple-crud --> snk-actions-button
|
|
171
|
+
snk-simple-crud --> taskbar-split-button
|
|
176
172
|
snk-simple-crud --> taskbar-actions-button
|
|
177
173
|
snk-configurator --> snk-layout-form-config
|
|
178
174
|
snk-layout-form-config --> snk-view-representation
|
|
179
|
-
snk-form-config -->
|
|
180
|
-
snk-form-config -->
|
|
181
|
-
snk-form-config -->
|
|
175
|
+
snk-form-config --> config-header
|
|
176
|
+
snk-form-config --> guides-configurator
|
|
177
|
+
snk-form-config --> fields-layout
|
|
178
|
+
snk-form-config --> fields-selector
|
|
179
|
+
config-header --> configs-button
|
|
180
|
+
fields-layout --> field-item
|
|
181
|
+
field-item --> field-config
|
|
182
|
+
fields-selector --> field-item
|
|
182
183
|
snk-crud --> snk-guides-viewer
|
|
183
184
|
style snk-guides-viewer fill:#f9f,stroke:#333,stroke-width:4px
|
|
184
185
|
```
|
|
@@ -104,6 +104,7 @@ Type: `Promise<void>`
|
|
|
104
104
|
- [snk-attach](../../../snk-attach)
|
|
105
105
|
- [snk-data-exporter](../../../snk-data-exporter)
|
|
106
106
|
- [snk-actions-button](../../../snk-actions-button)
|
|
107
|
+
- [taskbar-split-button](../../../snk-taskbar/elements/taskbar-split-button)
|
|
107
108
|
- [taskbar-actions-button](../../../snk-taskbar/elements/taskbar-actions-button)
|
|
108
109
|
|
|
109
110
|
### Graph
|
|
@@ -116,12 +117,14 @@ graph TD;
|
|
|
116
117
|
snk-detail-view --> snk-attach
|
|
117
118
|
snk-detail-view --> snk-data-exporter
|
|
118
119
|
snk-detail-view --> snk-actions-button
|
|
120
|
+
snk-detail-view --> taskbar-split-button
|
|
119
121
|
snk-detail-view --> taskbar-actions-button
|
|
120
122
|
snk-grid --> snk-filter-bar
|
|
121
123
|
snk-grid --> snk-taskbar
|
|
122
124
|
snk-grid --> snk-grid-config
|
|
123
125
|
snk-grid --> snk-data-exporter
|
|
124
126
|
snk-grid --> snk-actions-button
|
|
127
|
+
snk-grid --> taskbar-split-button
|
|
125
128
|
snk-grid --> taskbar-actions-button
|
|
126
129
|
snk-filter-bar --> snk-filter-item
|
|
127
130
|
snk-filter-bar --> snk-personalized-filter
|
|
@@ -137,6 +140,7 @@ graph TD;
|
|
|
137
140
|
snk-expression-item --> snk-filter-param-config
|
|
138
141
|
snk-taskbar --> snk-data-exporter
|
|
139
142
|
snk-taskbar --> snk-actions-button
|
|
143
|
+
snk-taskbar --> taskbar-split-button
|
|
140
144
|
snk-taskbar --> taskbar-actions-button
|
|
141
145
|
snk-data-exporter --> snk-exporter-email-sender
|
|
142
146
|
snk-grid-config --> snk-select-box
|
|
@@ -150,6 +154,7 @@ graph TD;
|
|
|
150
154
|
snk-simple-crud --> snk-grid-config
|
|
151
155
|
snk-simple-crud --> snk-data-exporter
|
|
152
156
|
snk-simple-crud --> snk-actions-button
|
|
157
|
+
snk-simple-crud --> taskbar-split-button
|
|
153
158
|
snk-simple-crud --> taskbar-actions-button
|
|
154
159
|
snk-configurator --> snk-layout-form-config
|
|
155
160
|
snk-layout-form-config --> snk-view-representation
|
|
@@ -7,18 +7,19 @@
|
|
|
7
7
|
|
|
8
8
|
## Properties
|
|
9
9
|
|
|
10
|
-
| Property | Attribute | Description | Type
|
|
11
|
-
| --------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
12
|
-
| `addPersonalizedFilter` | -- | Ação executada ao adicionar um filtro personalizado | `() => void`
|
|
13
|
-
| `applyFilters` | -- | Ação executada ao aplicar os filtros | `(updatedFilterConfig: SnkFilterItemConfig[]) => void`
|
|
14
|
-
| `closeModal` | -- | Ação disparada ao fechar o modal | `() => void`
|
|
15
|
-
| `configName` | `config-name` | Nome da configuração. Serve para distinguir várias instâncias do componente. | `string`
|
|
16
|
-
| `deletePersonalizedFilter` | -- | Ação executada ao deletar um filtro personalizado | `(filter: IPersonalizedFilter, configName: string) => void` | `undefined` |
|
|
17
|
-
| `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`
|
|
18
|
-
| `editPersonalizedFilter` | -- | Ação executada ao editar um filtro personalizado | `(id: string) => void` | `undefined` |
|
|
19
|
-
| `
|
|
20
|
-
| `
|
|
21
|
-
| `
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| --------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------- | ----------- |
|
|
12
|
+
| `addPersonalizedFilter` | -- | Ação executada ao adicionar um filtro personalizado | `(isDefault?: boolean) => void` | `undefined` |
|
|
13
|
+
| `applyFilters` | -- | Ação executada ao aplicar os filtros | `(updatedFilterConfig: SnkFilterItemConfig[]) => void` | `undefined` |
|
|
14
|
+
| `closeModal` | -- | Ação disparada ao fechar o modal | `() => void` | `undefined` |
|
|
15
|
+
| `configName` | `config-name` | Nome da configuração. Serve para distinguir várias instâncias do componente. | `string` | `undefined` |
|
|
16
|
+
| `deletePersonalizedFilter` | -- | Ação executada ao deletar um filtro personalizado | `(filter: IPersonalizedFilter, configName: string, isDefault?: boolean) => void` | `undefined` |
|
|
17
|
+
| `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
|
+
| `editPersonalizedFilter` | -- | Ação executada ao editar um filtro personalizado | `(id: string, isDefault?: boolean) => void` | `undefined` |
|
|
19
|
+
| `filterDefaultToDelete` | -- | Guarda o filtro a ser deletado no Apply do modal | `SnkFilterItemConfig` | `undefined` |
|
|
20
|
+
| `filters` | -- | Filtros a serem apresentados | `SnkFilterItemConfig[]` | `undefined` |
|
|
21
|
+
| `filtersToDelete` | -- | Guarda filtros a serem deletados no Apply do modal | `IPersonalizedFilter[]` | `[]` |
|
|
22
|
+
| `getMessage` | -- | Usado pra flexibilizar os verbetes e mensagens de acordo com o SnkMessageBuilder. | `(key: string, props?: any) => string` | `undefined` |
|
|
22
23
|
|
|
23
24
|
|
|
24
25
|
## Dependencies
|
|
@@ -26,11 +27,13 @@
|
|
|
26
27
|
### Depends on
|
|
27
28
|
|
|
28
29
|
- [snk-filter-modal-item](subcomponents)
|
|
30
|
+
- [snk-default-filter](./subcomponents/snk-default-filter)
|
|
29
31
|
|
|
30
32
|
### Graph
|
|
31
33
|
```mermaid
|
|
32
34
|
graph TD;
|
|
33
35
|
snk-filter-modal --> snk-filter-modal-item
|
|
36
|
+
snk-filter-modal --> snk-default-filter
|
|
34
37
|
style snk-filter-modal fill:#f9f,stroke:#333,stroke-width:4px
|
|
35
38
|
```
|
|
36
39
|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# snk-default-filter
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<!-- Auto Generated Below -->
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ------------------ | -------------------- | --------------------------------------------------------------------------------- | -------------------------------------- | ----------- |
|
|
12
|
+
| `getMessage` | -- | Usado pra flexibilizar os verbetes e mensagens de acordo com o SnkMessageBuilder. | `(key: string, props?: any) => string` | `undefined` |
|
|
13
|
+
| `hasDefaultFilter` | `has-default-filter` | Informa se já existe um filtro padrão criado. | `boolean` | `false` |
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## Events
|
|
17
|
+
|
|
18
|
+
| Event | Description | Type |
|
|
19
|
+
| ---------------- | ----------- | --------------------------------------------------------------------------------------------------- |
|
|
20
|
+
| `actionSelected` | | `CustomEvent<ActionDefaultFilter.CREATE \| ActionDefaultFilter.EDIT \| ActionDefaultFilter.REMOVE>` |
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
## Dependencies
|
|
24
|
+
|
|
25
|
+
### Used by
|
|
26
|
+
|
|
27
|
+
- [snk-filter-modal](../..)
|
|
28
|
+
|
|
29
|
+
### Graph
|
|
30
|
+
```mermaid
|
|
31
|
+
graph TD;
|
|
32
|
+
snk-filter-modal --> snk-default-filter
|
|
33
|
+
style snk-default-filter fill:#f9f,stroke:#333,stroke-width:4px
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
----------------------------------------------
|
|
37
|
+
|
|
38
|
+
|
|
@@ -78,9 +78,14 @@ Type: `Promise<void>`
|
|
|
78
78
|
```mermaid
|
|
79
79
|
graph TD;
|
|
80
80
|
snk-form --> snk-form-config
|
|
81
|
-
snk-form-config -->
|
|
82
|
-
snk-form-config -->
|
|
83
|
-
snk-form-config -->
|
|
81
|
+
snk-form-config --> config-header
|
|
82
|
+
snk-form-config --> guides-configurator
|
|
83
|
+
snk-form-config --> fields-layout
|
|
84
|
+
snk-form-config --> fields-selector
|
|
85
|
+
config-header --> configs-button
|
|
86
|
+
fields-layout --> field-item
|
|
87
|
+
field-item --> field-config
|
|
88
|
+
fields-selector --> field-item
|
|
84
89
|
style snk-form fill:#f9f,stroke:#333,stroke-width:4px
|
|
85
90
|
```
|
|
86
91
|
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# configs-button
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<!-- Auto Generated Below -->
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ----------------- | ------------- | ----------- | ------------------- | ----------- |
|
|
12
|
+
| `configOptions` | -- | | `IUserConfig[]` | `[]` |
|
|
13
|
+
| `hasChanges` | `has-changes` | | `boolean` | `false` |
|
|
14
|
+
| `messagesBuilder` | -- | | `SnkMessageBuilder` | `undefined` |
|
|
15
|
+
| `selectedConfig` | -- | | `IUserConfig` | `undefined` |
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## Events
|
|
19
|
+
|
|
20
|
+
| Event | Description | Type |
|
|
21
|
+
| -------------------------- | ----------- | -------------------------- |
|
|
22
|
+
| `formConfigOptionSelected` | | `CustomEvent<IUserConfig>` |
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## Dependencies
|
|
26
|
+
|
|
27
|
+
### Used by
|
|
28
|
+
|
|
29
|
+
- [config-header](..)
|
|
30
|
+
|
|
31
|
+
### Graph
|
|
32
|
+
```mermaid
|
|
33
|
+
graph TD;
|
|
34
|
+
config-header --> configs-button
|
|
35
|
+
style configs-button fill:#f9f,stroke:#333,stroke-width:4px
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
----------------------------------------------
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# config-header
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<!-- Auto Generated Below -->
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| --------------------- | ----------------------- | ----------- | ------------------- | ----------- |
|
|
12
|
+
| `configOptions` | -- | | `IUserConfig[]` | `[]` |
|
|
13
|
+
| `hasChanges` | `has-changes` | | `boolean` | `false` |
|
|
14
|
+
| `messagesBuilder` | -- | | `SnkMessageBuilder` | `undefined` |
|
|
15
|
+
| `optionConfigChanged` | `option-config-changed` | | `boolean` | `false` |
|
|
16
|
+
| `selectedConfig` | -- | | `IUserConfig` | `undefined` |
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## Events
|
|
20
|
+
|
|
21
|
+
| Event | Description | Type |
|
|
22
|
+
| ------------- | ----------- | ------------------- |
|
|
23
|
+
| `configClose` | | `CustomEvent<void>` |
|
|
24
|
+
| `saveConfig` | | `CustomEvent<void>` |
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
## Dependencies
|
|
28
|
+
|
|
29
|
+
### Used by
|
|
30
|
+
|
|
31
|
+
- [snk-form-config](..)
|
|
32
|
+
|
|
33
|
+
### Depends on
|
|
34
|
+
|
|
35
|
+
- [configs-button](configs-button)
|
|
36
|
+
|
|
37
|
+
### Graph
|
|
38
|
+
```mermaid
|
|
39
|
+
graph TD;
|
|
40
|
+
config-header --> configs-button
|
|
41
|
+
snk-form-config --> config-header
|
|
42
|
+
style config-header fill:#f9f,stroke:#333,stroke-width:4px
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
----------------------------------------------
|
|
46
|
+
|
|
47
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# field-config
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<!-- Auto Generated Below -->
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ----------------- | -------------- | ----------- | ------------------- | ----------- |
|
|
12
|
+
| `dataUnit` | -- | | `DataUnit` | `undefined` |
|
|
13
|
+
| `fieldConfig` | `field-config` | | `IFieldConfig` | `undefined` |
|
|
14
|
+
| `fieldDescriptor` | -- | | `FieldDescriptor` | `undefined` |
|
|
15
|
+
| `messagesBuilder` | -- | | `SnkMessageBuilder` | `undefined` |
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## Events
|
|
19
|
+
|
|
20
|
+
| Event | Description | Type |
|
|
21
|
+
| -------------------- | ----------- | --------------------------- |
|
|
22
|
+
| `fieldConfigChanged` | | `CustomEvent<IFieldConfig>` |
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## Methods
|
|
26
|
+
|
|
27
|
+
### `show(_anchorElement: HTMLElement) => Promise<void>`
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
#### Returns
|
|
32
|
+
|
|
33
|
+
Type: `Promise<void>`
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## Dependencies
|
|
39
|
+
|
|
40
|
+
### Used by
|
|
41
|
+
|
|
42
|
+
- [field-item](..)
|
|
43
|
+
|
|
44
|
+
### Graph
|
|
45
|
+
```mermaid
|
|
46
|
+
graph TD;
|
|
47
|
+
field-item --> field-config
|
|
48
|
+
style field-config fill:#f9f,stroke:#333,stroke-width:4px
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
----------------------------------------------
|
|
52
|
+
|
|
53
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# field-item
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<!-- Auto Generated Below -->
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ----------------- | ------------------ | ----------- | ------------------- | ----------- |
|
|
12
|
+
| `dataUnit` | -- | | `DataUnit` | `undefined` |
|
|
13
|
+
| `fieldConfig` | `field-config` | | `IFieldConfig` | `undefined` |
|
|
14
|
+
| `messagesBuilder` | -- | | `SnkMessageBuilder` | `undefined` |
|
|
15
|
+
| `onLayoutConfig` | `on-layout-config` | | `boolean` | `false` |
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## Events
|
|
19
|
+
|
|
20
|
+
| Event | Description | Type |
|
|
21
|
+
| --------------------- | ----------- | --------------------------- |
|
|
22
|
+
| `addFieldToGuide` | | `CustomEvent<IFieldConfig>` |
|
|
23
|
+
| `setFieldAsAvailable` | | `CustomEvent<IFieldConfig>` |
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## Dependencies
|
|
27
|
+
|
|
28
|
+
### Used by
|
|
29
|
+
|
|
30
|
+
- [fields-layout](../fields-layout)
|
|
31
|
+
- [fields-selector](../fields-selector)
|
|
32
|
+
|
|
33
|
+
### Depends on
|
|
34
|
+
|
|
35
|
+
- [field-config](field-config)
|
|
36
|
+
|
|
37
|
+
### Graph
|
|
38
|
+
```mermaid
|
|
39
|
+
graph TD;
|
|
40
|
+
field-item --> field-config
|
|
41
|
+
fields-layout --> field-item
|
|
42
|
+
fields-selector --> field-item
|
|
43
|
+
style field-item fill:#f9f,stroke:#333,stroke-width:4px
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
----------------------------------------------
|
|
47
|
+
|
|
48
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# fields-layout
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<!-- Auto Generated Below -->
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ----------------- | --------- | ----------- | ------------------- | ----------- |
|
|
12
|
+
| `dataUnit` | -- | | `DataUnit` | `undefined` |
|
|
13
|
+
| `groupsList` | -- | | `IGroupConfig[]` | `[]` |
|
|
14
|
+
| `guideNames` | -- | | `string[]` | `[]` |
|
|
15
|
+
| `messagesBuilder` | -- | | `SnkMessageBuilder` | `undefined` |
|
|
16
|
+
| `selectedGuide` | -- | | `IGuideConfig` | `undefined` |
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## Events
|
|
20
|
+
|
|
21
|
+
| Event | Description | Type |
|
|
22
|
+
| ------------------------- | ----------- | ----------------------------- |
|
|
23
|
+
| `guideRenamed` | | `CustomEvent<string>` |
|
|
24
|
+
| `isEditingGroupName` | | `CustomEvent<boolean>` |
|
|
25
|
+
| `isEditingGuideName` | | `CustomEvent<boolean>` |
|
|
26
|
+
| `layoutChanged` | | `CustomEvent<IGroupConfig[]>` |
|
|
27
|
+
| `setFieldListAsAvailable` | | `CustomEvent<IFieldConfig[]>` |
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## Methods
|
|
31
|
+
|
|
32
|
+
### `addFieldToLayout(incomingField: IFieldConfig) => Promise<void>`
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
#### Returns
|
|
37
|
+
|
|
38
|
+
Type: `Promise<void>`
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
## Dependencies
|
|
44
|
+
|
|
45
|
+
### Used by
|
|
46
|
+
|
|
47
|
+
- [snk-form-config](..)
|
|
48
|
+
|
|
49
|
+
### Depends on
|
|
50
|
+
|
|
51
|
+
- [field-item](../field-item)
|
|
52
|
+
|
|
53
|
+
### Graph
|
|
54
|
+
```mermaid
|
|
55
|
+
graph TD;
|
|
56
|
+
fields-layout --> field-item
|
|
57
|
+
field-item --> field-config
|
|
58
|
+
snk-form-config --> fields-layout
|
|
59
|
+
style fields-layout fill:#f9f,stroke:#333,stroke-width:4px
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
----------------------------------------------
|
|
63
|
+
|
|
64
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# fields-selector
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<!-- Auto Generated Below -->
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ----------------- | --------- | ----------- | ---------------- | ----------- |
|
|
12
|
+
| `availableFields` | -- | | `IFieldConfig[]` | `[]` |
|
|
13
|
+
| `dataUnit` | -- | | `DataUnit` | `undefined` |
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## Events
|
|
17
|
+
|
|
18
|
+
| Event | Description | Type |
|
|
19
|
+
| ------------------ | ----------- | ----------------------------- |
|
|
20
|
+
| `fieldListChanged` | | `CustomEvent<IFieldConfig[]>` |
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
## Dependencies
|
|
24
|
+
|
|
25
|
+
### Used by
|
|
26
|
+
|
|
27
|
+
- [snk-form-config](..)
|
|
28
|
+
|
|
29
|
+
### Depends on
|
|
30
|
+
|
|
31
|
+
- [field-item](../field-item)
|
|
32
|
+
|
|
33
|
+
### Graph
|
|
34
|
+
```mermaid
|
|
35
|
+
graph TD;
|
|
36
|
+
fields-selector --> field-item
|
|
37
|
+
field-item --> field-config
|
|
38
|
+
snk-form-config --> fields-selector
|
|
39
|
+
style fields-selector fill:#f9f,stroke:#333,stroke-width:4px
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
----------------------------------------------
|
|
43
|
+
|
|
44
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# guides-configurator
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<!-- Auto Generated Below -->
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ----------------- | --------- | ----------- | ------------------- | ----------- |
|
|
12
|
+
| `guidesList` | -- | | `IGuideConfig[]` | `[]` |
|
|
13
|
+
| `messagesBuilder` | -- | | `SnkMessageBuilder` | `undefined` |
|
|
14
|
+
| `selectedGuide` | -- | | `IGuideConfig` | `undefined` |
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## Events
|
|
18
|
+
|
|
19
|
+
| Event | Description | Type |
|
|
20
|
+
| ------------------ | ----------- | ----------------------------- |
|
|
21
|
+
| `createNewGuide` | | `CustomEvent<void>` |
|
|
22
|
+
| `guideDeleted` | | `CustomEvent<IGuideConfig>` |
|
|
23
|
+
| `guideListChanged` | | `CustomEvent<IGuideConfig[]>` |
|
|
24
|
+
| `guideSelected` | | `CustomEvent<IGuideConfig>` |
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
## Dependencies
|
|
28
|
+
|
|
29
|
+
### Used by
|
|
30
|
+
|
|
31
|
+
- [snk-form-config](..)
|
|
32
|
+
|
|
33
|
+
### Graph
|
|
34
|
+
```mermaid
|
|
35
|
+
graph TD;
|
|
36
|
+
snk-form-config --> guides-configurator
|
|
37
|
+
style guides-configurator fill:#f9f,stroke:#333,stroke-width:4px
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
----------------------------------------------
|
|
41
|
+
|
|
42
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# snk-form-config
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
@@ -32,16 +32,22 @@
|
|
|
32
32
|
|
|
33
33
|
### Depends on
|
|
34
34
|
|
|
35
|
-
- [
|
|
36
|
-
- [
|
|
37
|
-
- [
|
|
35
|
+
- [config-header](config-header)
|
|
36
|
+
- [guides-configurator](guides-configurator)
|
|
37
|
+
- [fields-layout](fields-layout)
|
|
38
|
+
- [fields-selector](fields-selector)
|
|
38
39
|
|
|
39
40
|
### Graph
|
|
40
41
|
```mermaid
|
|
41
42
|
graph TD;
|
|
42
|
-
snk-form-config -->
|
|
43
|
-
snk-form-config -->
|
|
44
|
-
snk-form-config -->
|
|
43
|
+
snk-form-config --> config-header
|
|
44
|
+
snk-form-config --> guides-configurator
|
|
45
|
+
snk-form-config --> fields-layout
|
|
46
|
+
snk-form-config --> fields-selector
|
|
47
|
+
config-header --> configs-button
|
|
48
|
+
fields-layout --> field-item
|
|
49
|
+
field-item --> field-config
|
|
50
|
+
fields-selector --> field-item
|
|
45
51
|
snk-form --> snk-form-config
|
|
46
52
|
snk-guides-viewer --> snk-form-config
|
|
47
53
|
style snk-form-config fill:#f9f,stroke:#333,stroke-width:4px
|
|
@@ -35,10 +35,12 @@
|
|
|
35
35
|
| `selectionToastConfig` | -- | Configuração da seleção de grade no toast. | `ISelectionToastConfig` | `undefined` |
|
|
36
36
|
| `statusResolver` | -- | Configuração do valor da coluna de status. Exemplo: '{ "RECDESP": { "-1" : "#BD0025", "1" : "#157A00" } }' | `((data: object) => string) \| IStatusResolver` | `undefined` |
|
|
37
37
|
| `strategyExporter` | `strategy-exporter` | Modo de exportação dos dados. | `"ClientSideExporterStrategy" \| "ServerSideExporterStrategy"` | `ExporterStrategy.SERVER_SIDE` |
|
|
38
|
+
| `suppressHorizontalScroll` | `suppress-horizontal-scroll` | Define se a grade deve suprimir o scroll horizontal. | `boolean` | `false` |
|
|
38
39
|
| `taskbarCustomContainerId` | `taskbar-custom-container-id` | Define o identificador do container de elementos customizados da Taskbar. | `string` | `undefined` |
|
|
39
40
|
| `taskbarManager` | -- | Gerenciador das barras de tarefas. É possível determinar botões específicos ou mesmo gerenciar o estado dos botões. | `TaskbarManager` | `undefined` |
|
|
40
41
|
| `topTaskbarCustomSlotId` | `top-taskbar-custom-slot-id` | Nome do slot de elementos customizados da Taskbar principal do componente. | `string` | `'GRID_TASKBAR_CUSTOM_ELEMENTS'` |
|
|
41
42
|
| `useEnterLikeTab` | `use-enter-like-tab` | Quando verdadeiro, o ENTER fará a navegação como se fosse a tecla TAB na grade. | `boolean` | `false` |
|
|
43
|
+
| `useSearchColumn` | `use-search-column` | Define se a grade deve exibir um buscador de coluna com uso do Ctrl+F | `boolean` | `true` |
|
|
42
44
|
|
|
43
45
|
|
|
44
46
|
## Events
|
|
@@ -81,16 +83,6 @@ Type: `Promise<void>`
|
|
|
81
83
|
|
|
82
84
|
|
|
83
85
|
|
|
84
|
-
### `findColumn() => Promise<void>`
|
|
85
|
-
|
|
86
|
-
Abre o localizador de colunas
|
|
87
|
-
|
|
88
|
-
#### Returns
|
|
89
|
-
|
|
90
|
-
Type: `Promise<void>`
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
86
|
### `getFilterBar() => Promise<HTMLSnkFilterBarElement>`
|
|
95
87
|
|
|
96
88
|
Retorna o elemento da filter-bar da grade.
|
|
@@ -186,6 +178,7 @@ Type: `Promise<void>`
|
|
|
186
178
|
- [snk-grid-config](../snk-grid-config)
|
|
187
179
|
- [snk-data-exporter](../snk-data-exporter)
|
|
188
180
|
- [snk-actions-button](../snk-actions-button)
|
|
181
|
+
- [taskbar-split-button](../snk-taskbar/elements/taskbar-split-button)
|
|
189
182
|
- [taskbar-actions-button](../snk-taskbar/elements/taskbar-actions-button)
|
|
190
183
|
|
|
191
184
|
### Graph
|
|
@@ -196,6 +189,7 @@ graph TD;
|
|
|
196
189
|
snk-grid --> snk-grid-config
|
|
197
190
|
snk-grid --> snk-data-exporter
|
|
198
191
|
snk-grid --> snk-actions-button
|
|
192
|
+
snk-grid --> taskbar-split-button
|
|
199
193
|
snk-grid --> taskbar-actions-button
|
|
200
194
|
snk-filter-bar --> snk-filter-item
|
|
201
195
|
snk-filter-bar --> snk-personalized-filter
|
|
@@ -211,6 +205,7 @@ graph TD;
|
|
|
211
205
|
snk-expression-item --> snk-filter-param-config
|
|
212
206
|
snk-taskbar --> snk-data-exporter
|
|
213
207
|
snk-taskbar --> snk-actions-button
|
|
208
|
+
snk-taskbar --> taskbar-split-button
|
|
214
209
|
snk-taskbar --> taskbar-actions-button
|
|
215
210
|
snk-data-exporter --> snk-exporter-email-sender
|
|
216
211
|
snk-grid-config --> snk-select-box
|
|
@@ -7,13 +7,14 @@
|
|
|
7
7
|
|
|
8
8
|
## Properties
|
|
9
9
|
|
|
10
|
-
| Property | Attribute
|
|
11
|
-
| ----------------- |
|
|
12
|
-
| `configName` | `config-name`
|
|
13
|
-
| `entityUri` | `entity-uri`
|
|
14
|
-
| `filterId` | `filter-id`
|
|
15
|
-
| `
|
|
16
|
-
| `
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ----------------- | ------------------- | -------------------------------------------------------------------------------------- | ------------------- | ----------- |
|
|
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
|
+
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
|
17
|
+
| `resourceID` | `resource-i-d` | Nome da configuração. Serve para distinguir várias instâncias do componente. | `string` | `undefined` |
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
## Events
|
|
@@ -7,13 +7,14 @@
|
|
|
7
7
|
|
|
8
8
|
## Properties
|
|
9
9
|
|
|
10
|
-
| Property | Attribute
|
|
11
|
-
| ----------------- |
|
|
12
|
-
| `entityURI` | `entity-u-r-i`
|
|
13
|
-
| `filterId` | `filter-id`
|
|
14
|
-
| `group` | --
|
|
15
|
-
| `
|
|
16
|
-
| `
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ----------------- | ------------------- | -------------------------------------------------------------------------------------- | ------------------- | ----------- |
|
|
12
|
+
| `entityURI` | `entity-u-r-i` | Identificador da unidade de dados. | `string` | `undefined` |
|
|
13
|
+
| `filterId` | `filter-id` | Id do filtro que será carregado. | `string` | `undefined` |
|
|
14
|
+
| `group` | -- | Grupo que será representado visualmente pelo componente. | `IExpressionGroup` | `undefined` |
|
|
15
|
+
| `isDefaultFilter` | `is-default-filter` | Define se o filtro em questão é um filtro padrão. | `boolean` | `false` |
|
|
16
|
+
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
|
17
|
+
| `parentTop` | `parent-top` | Tamanho do elemento pai do grupo | `number` | `0` |
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
## Events
|
|
@@ -7,12 +7,13 @@
|
|
|
7
7
|
|
|
8
8
|
## Properties
|
|
9
9
|
|
|
10
|
-
| Property | Attribute
|
|
11
|
-
| ----------------- |
|
|
12
|
-
| `canRemove` | `can-remove`
|
|
13
|
-
| `entityURI` | `entity-u-r-i`
|
|
14
|
-
| `expression` | --
|
|
15
|
-
| `
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ----------------- | ------------------- | -------------------------------------------------------------------------------------- | ------------------- | ----------- |
|
|
12
|
+
| `canRemove` | `can-remove` | Controla a exibição do botão Remover. | `boolean` | `true` |
|
|
13
|
+
| `entityURI` | `entity-u-r-i` | Identificador da unidade de dados. | `string` | `undefined` |
|
|
14
|
+
| `expression` | -- | Expressão que será representada visualmente. | `IExpressionItem` | `undefined` |
|
|
15
|
+
| `isDefaultFilter` | `is-default-filter` | Define se o filtro em questão é um filtro padrão. | `boolean` | `false` |
|
|
16
|
+
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
|
16
17
|
|
|
17
18
|
|
|
18
19
|
## Events
|
package/components/snk-personalized-filter/subcomponents/snk-filter-assistent-mode/readme.md
CHANGED
|
@@ -7,13 +7,14 @@
|
|
|
7
7
|
|
|
8
8
|
## Properties
|
|
9
9
|
|
|
10
|
-
| Property | Attribute
|
|
11
|
-
| ----------------- |
|
|
12
|
-
| `application` | --
|
|
13
|
-
| `entityUri` | `entity-uri`
|
|
14
|
-
| `filterAssistent` | --
|
|
15
|
-
| `filterId` | `filter-id`
|
|
16
|
-
| `
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ----------------- | ------------------- | -------------------------------------------------------------------------------------- | --------------------- | ----------- |
|
|
12
|
+
| `application` | -- | Propriedade que mantém informações relacionadas ao SnkApplication. | `SnkApplication` | `undefined` |
|
|
13
|
+
| `entityUri` | `entity-uri` | Responsável por receber a URI da entidade. | `string` | `undefined` |
|
|
14
|
+
| `filterAssistent` | -- | Propriedade que contém informações do filtro personalizado. | `IPersonalizedFilter` | `undefined` |
|
|
15
|
+
| `filterId` | `filter-id` | Id do filtro que será carregado. | `string` | `undefined` |
|
|
16
|
+
| `isDefaultFilter` | `is-default-filter` | Define se o filtro em questão é um filtro padrão. | `boolean` | `false` |
|
|
17
|
+
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
## Events
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
| `pageSize` | `page-size` | Determina quantas linhas são retornadas por página. | `number` | `150` |
|
|
36
36
|
| `paginationCounterMode` | `pagination-counter-mode` | Define se a grid será focada ao ser carregada. | `"auto" \| "hidden" \| "show"` | `'auto'` |
|
|
37
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` | `
|
|
38
|
+
| `showConfiguratorButtons` | `show-configurator-buttons` | Usado para exibir os botões de ação do snk-configurator. | `boolean` | `false` |
|
|
39
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
40
|
| `useCancelConfirm` | `use-cancel-confirm` | | `boolean` | `true` |
|
|
41
41
|
| `useEnterLikeTab` | `use-enter-like-tab` | Quando verdadeiro, o ENTER fará a navegação como se fosse a tecla TAB na grade. | `boolean` | `false` |
|
|
@@ -191,6 +191,7 @@ Type: `Promise<void>`
|
|
|
191
191
|
- [snk-grid-config](../snk-grid-config)
|
|
192
192
|
- [snk-data-exporter](../snk-data-exporter)
|
|
193
193
|
- [snk-actions-button](../snk-actions-button)
|
|
194
|
+
- [taskbar-split-button](../snk-taskbar/elements/taskbar-split-button)
|
|
194
195
|
- [taskbar-actions-button](../snk-taskbar/elements/taskbar-actions-button)
|
|
195
196
|
|
|
196
197
|
### Graph
|
|
@@ -203,9 +204,11 @@ graph TD;
|
|
|
203
204
|
snk-simple-crud --> snk-grid-config
|
|
204
205
|
snk-simple-crud --> snk-data-exporter
|
|
205
206
|
snk-simple-crud --> snk-actions-button
|
|
207
|
+
snk-simple-crud --> taskbar-split-button
|
|
206
208
|
snk-simple-crud --> taskbar-actions-button
|
|
207
209
|
snk-taskbar --> snk-data-exporter
|
|
208
210
|
snk-taskbar --> snk-actions-button
|
|
211
|
+
snk-taskbar --> taskbar-split-button
|
|
209
212
|
snk-taskbar --> taskbar-actions-button
|
|
210
213
|
snk-data-exporter --> snk-exporter-email-sender
|
|
211
214
|
snk-configurator --> snk-layout-form-config
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# taskbar-split-button
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<!-- Auto Generated Below -->
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| --------------- | ----------------- | -------------------------------------------------------------------------- | ------------------------ | ----------- |
|
|
12
|
+
| `action` | -- | Função de callback acionada ao clicar no botão principal. | `(name: string) => void` | `undefined` |
|
|
13
|
+
| `actions` | -- | Define a lista de ações disponíveis no dropdown do botão. | `Action[]` | `undefined` |
|
|
14
|
+
| `className` | `class-name` | Classe CSS personalizada para estilizar o botão. | `string` | `undefined` |
|
|
15
|
+
| `dataElementId` | `data-element-id` | Identificador de elemento para fins de rastreamento e automação de testes. | `string` | `undefined` |
|
|
16
|
+
| `enabled` | `enabled` | Se false o usuário não pode interagir com o componente. | `boolean` | `undefined` |
|
|
17
|
+
| `iconName` | `icon-name` | Nome do ícone a ser exibido no botão. | `string` | `undefined` |
|
|
18
|
+
| `name` | `name` | Nome identificador da ação do botão. | `string` | `undefined` |
|
|
19
|
+
| `title` | `title` | Texto que será exibido no botão. | `string` | `undefined` |
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## Dependencies
|
|
23
|
+
|
|
24
|
+
### Used by
|
|
25
|
+
|
|
26
|
+
- [snk-crud](../../../snk-crud)
|
|
27
|
+
- [snk-detail-view](../../../snk-crud/subcomponents/snk-detail-view)
|
|
28
|
+
- [snk-grid](../../../snk-grid)
|
|
29
|
+
- [snk-guides-viewer](../../../snk-crud/subcomponents)
|
|
30
|
+
- [snk-simple-crud](../../../snk-simple-crud)
|
|
31
|
+
- [snk-taskbar](../..)
|
|
32
|
+
|
|
33
|
+
### Graph
|
|
34
|
+
```mermaid
|
|
35
|
+
graph TD;
|
|
36
|
+
snk-crud --> taskbar-split-button
|
|
37
|
+
snk-detail-view --> taskbar-split-button
|
|
38
|
+
snk-grid --> taskbar-split-button
|
|
39
|
+
snk-guides-viewer --> taskbar-split-button
|
|
40
|
+
snk-simple-crud --> taskbar-split-button
|
|
41
|
+
snk-taskbar --> taskbar-split-button
|
|
42
|
+
style taskbar-split-button fill:#f9f,stroke:#333,stroke-width:4px
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
----------------------------------------------
|
|
46
|
+
|
|
47
|
+
|
|
@@ -7,22 +7,23 @@
|
|
|
7
7
|
|
|
8
8
|
## Properties
|
|
9
9
|
|
|
10
|
-
| Property
|
|
11
|
-
|
|
|
12
|
-
| `actionsList`
|
|
13
|
-
| `
|
|
14
|
-
| `
|
|
15
|
-
| `
|
|
16
|
-
| `
|
|
17
|
-
| `
|
|
18
|
-
| `
|
|
19
|
-
| `
|
|
20
|
-
| `
|
|
21
|
-
| `
|
|
22
|
-
| `
|
|
23
|
-
| `
|
|
24
|
-
| `
|
|
25
|
-
| `
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| --------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------- | --------------------------- |
|
|
12
|
+
| `actionsList` | -- | Lista de ações que devem ser usadas no botão "Mais opções" do componente snk-taskbar. | `Action[]` | `undefined` |
|
|
13
|
+
| `actionsSettingsList` | -- | Lista de ações que devem ser usadas no botão "Mais opções" do componente snk-taskbar. | `Action[]` | `undefined` |
|
|
14
|
+
| `alignRigth` | `align-rigth` | Usado para determinar O alinhamento dos items na taskbar. | `boolean` | `false` |
|
|
15
|
+
| `buttons` | `buttons` | Lista separada por virgula, contendo todos os elementos a serem criados. | `string` | `undefined` |
|
|
16
|
+
| `configName` | `config-name` | Usado para guardar ou recuperar as configurações do formulário. | `string` | `undefined` |
|
|
17
|
+
| `customButtons` | -- | Mapa com definição de botões personalizados. A chave do mapa deve ser passada na lista "buttons" no lugar onde o botão irá aparecer. | `Map<string, CustomButton>` | `undefined` |
|
|
18
|
+
| `customContainerId` | `custom-container-id` | Usado para determinar o identificador do container na DOM que é responsavel por guardar os elementos personalizados que não podem ser passados por slot. Exemplo: Elementos customizados na Taskbar da aba de detalhes. | `string` | `undefined` |
|
|
19
|
+
| `customSlotId` | `custom-slot-id` | Usado para determinar o identificador do slot que recebe elementos personalizados. | `string` | `"TASKBAR_CUSTOM_ELEMENTS"` |
|
|
20
|
+
| `dataUnit` | -- | Instância do DataUnit. | `DataUnit` | `undefined` |
|
|
21
|
+
| `disabledButtons` | -- | Array contendo todos os botões a serem desabilitados. | `string[]` | `undefined` |
|
|
22
|
+
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
|
23
|
+
| `overflowStrategy` | `overflow-strategy` | Define como será o comportamento da taskbar quando ocorrer overflow | `"hiddenItems" \| "none"` | `'hiddenItems'` |
|
|
24
|
+
| `presentationMode` | `presentation-mode` | Altera o modo de apresentação dos botões do snk-taskbar. | `PresentationMode.PRIMARY \| PresentationMode.SECONDARY \| PresentationMode.SINGLE_TASKBAR` | `PresentationMode.PRIMARY` |
|
|
25
|
+
| `primaryButton` | `primary-button` | Determina qual botão deve ter aparência primária. | `string` | `undefined` |
|
|
26
|
+
| `resourceID` | `resource-i-d` | Identificador de recursos como configurações e acesso. | `string` | `undefined` |
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
## Events
|
|
@@ -47,6 +48,7 @@
|
|
|
47
48
|
|
|
48
49
|
- [snk-data-exporter](../snk-data-exporter)
|
|
49
50
|
- [snk-actions-button](../snk-actions-button)
|
|
51
|
+
- [taskbar-split-button](./elements/taskbar-split-button)
|
|
50
52
|
- [taskbar-actions-button](./elements/taskbar-actions-button)
|
|
51
53
|
|
|
52
54
|
### Graph
|
|
@@ -54,6 +56,7 @@
|
|
|
54
56
|
graph TD;
|
|
55
57
|
snk-taskbar --> snk-data-exporter
|
|
56
58
|
snk-taskbar --> snk-actions-button
|
|
59
|
+
snk-taskbar --> taskbar-split-button
|
|
57
60
|
snk-taskbar --> taskbar-actions-button
|
|
58
61
|
snk-data-exporter --> snk-exporter-email-sender
|
|
59
62
|
snk-detail-view --> snk-taskbar
|
package/package.json
CHANGED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
# ez-config-options
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<!-- Auto Generated Below -->
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Properties
|
|
9
|
-
|
|
10
|
-
| Property | Attribute | Description | Type | Default |
|
|
11
|
-
| ----------------- | ----------- | -------------------------------------------------------------------------------------- | ------------------- | -------------------- |
|
|
12
|
-
| `dataUnit` | -- | Repositório de dados responsável por controlar a manipulação dos dados. | `DataUnit` | `undefined` |
|
|
13
|
-
| `fieldConfig` | -- | Armazena as propriedades do campo. | `IFieldConfig` | `{} as IFieldConfig` |
|
|
14
|
-
| `idConfig` | `id-config` | Armazena a chave de opções de configuração. | `string` | `undefined` |
|
|
15
|
-
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
## Events
|
|
19
|
-
|
|
20
|
-
| Event | Description | Type |
|
|
21
|
-
| ---------------------- | ------------------------------------------------ | ------------------ |
|
|
22
|
-
| `configOptionsChanged` | Emitido ao realizar alguma alteração nos campos. | `CustomEvent<any>` |
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
## Dependencies
|
|
26
|
-
|
|
27
|
-
### Used by
|
|
28
|
-
|
|
29
|
-
- [snk-form-config](../..)
|
|
30
|
-
|
|
31
|
-
### Graph
|
|
32
|
-
```mermaid
|
|
33
|
-
graph TD;
|
|
34
|
-
snk-form-config --> snk-config-options
|
|
35
|
-
style snk-config-options fill:#f9f,stroke:#333,stroke-width:4px
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
----------------------------------------------
|
|
39
|
-
|
|
40
|
-
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# ez-field-config
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<!-- Auto Generated Below -->
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Properties
|
|
9
|
-
|
|
10
|
-
| Property | Attribute | Description | Type | Default |
|
|
11
|
-
| ----------------- | ---------------- | -------------------------------------------------------------------------------------- | ------------------- | ----------- |
|
|
12
|
-
| `dataUnit` | -- | Repositório de dados, controla a manipulação dos dados. | `DataUnit` | `undefined` |
|
|
13
|
-
| `fieldConfig` | -- | Armazena as propriedades do campo. | `IFieldConfig` | `undefined` |
|
|
14
|
-
| `isConfigActive` | -- | Define se o popover de configuração está ativo. | `Boolean` | `false` |
|
|
15
|
-
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
|
16
|
-
| `modeInsertion` | `mode-insertion` | Define se o componente está em modo de inserção. | `boolean` | `true` |
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
## Events
|
|
20
|
-
|
|
21
|
-
| Event | Description | Type |
|
|
22
|
-
| ------------- | ------------------------------------ | --------------------- |
|
|
23
|
-
| `ezClickIcon` | Emitido ao clicar no ícone do botão. | `CustomEvent<Object>` |
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
## Dependencies
|
|
27
|
-
|
|
28
|
-
### Used by
|
|
29
|
-
|
|
30
|
-
- [snk-form-config](../..)
|
|
31
|
-
|
|
32
|
-
### Graph
|
|
33
|
-
```mermaid
|
|
34
|
-
graph TD;
|
|
35
|
-
snk-form-config --> snk-field-config
|
|
36
|
-
style snk-field-config fill:#f9f,stroke:#333,stroke-width:4px
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
----------------------------------------------
|
|
40
|
-
|
|
41
|
-
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# ez-tab-config
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<!-- Auto Generated Below -->
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Properties
|
|
9
|
-
|
|
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
|
-
| `selectedIndex` | `selected-index` | Define o index da aba selecionada. | `number` | `undefined` |
|
|
14
|
-
| `selectedTab` | `selected-tab` | Define a aba selecionada. | `string` | `undefined` |
|
|
15
|
-
| `tabItems` | -- | Define o nome das abas do componente separadas por vírgulas ",". | `ITab[]` | `undefined` |
|
|
16
|
-
| `tabs` | `tabs` | Define o nome das abas do componente separadas por vírgulas ",". | `string` | `undefined` |
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
## Events
|
|
20
|
-
|
|
21
|
-
| Event | Description | Type |
|
|
22
|
-
| ----------------- | ----------------------------------------------------------- | --------------------- |
|
|
23
|
-
| `canStartDrag` | Emitido ao ocultar uma aba. | `CustomEvent<any>` |
|
|
24
|
-
| `deleteTab` | Emitido ao deletar uma aba. | `CustomEvent<any>` |
|
|
25
|
-
| `editionTitleTab` | Emitido ao salvar uma alteração realizada no título da tab. | `CustomEvent<any>` |
|
|
26
|
-
| `ezOrderChange` | Emitido ao mover a ordem da aba. | `CustomEvent<number>` |
|
|
27
|
-
| `ezTabChange` | Emitido ao clicar para abrir o popup. | `CustomEvent<ITab>` |
|
|
28
|
-
| `hideTab` | Emitido ao ocultar uma aba. | `CustomEvent<any>` |
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
## Dependencies
|
|
32
|
-
|
|
33
|
-
### Used by
|
|
34
|
-
|
|
35
|
-
- [snk-form-config](../..)
|
|
36
|
-
|
|
37
|
-
### Graph
|
|
38
|
-
```mermaid
|
|
39
|
-
graph TD;
|
|
40
|
-
snk-form-config --> snk-tab-config
|
|
41
|
-
style snk-tab-config fill:#f9f,stroke:#333,stroke-width:4px
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
----------------------------------------------
|
|
45
|
-
|
|
46
|
-
|