@sankhyalabs/sankhyablocks-docs 9.1.8 → 9.1.9-rc.1
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.
@@ -7,21 +7,21 @@
|
|
7
7
|
|
8
8
|
## Properties
|
9
9
|
|
10
|
-
| Property | Attribute | Description
|
11
|
-
| ------------------------------ | ---------------------------------- |
|
12
|
-
| `afterApplyConfig` | -- |
|
13
|
-
| `autoLoad` | `auto-load` |
|
14
|
-
| `configName` | `config-name` |
|
15
|
-
| `customFilterBarConfig` | -- |
|
16
|
-
| `dataUnit` | -- |
|
17
|
-
| `disablePersonalizedFilter` | `disable-personalized-filter` |
|
18
|
-
| `enableLockManagerLoadingComp` | `enable-lock-manager-loading-comp` |
|
19
|
-
| `filterBarLegacyConfigName` | `filter-bar-legacy-config-name` |
|
20
|
-
| `filterConfig` | -- |
|
21
|
-
| `messagesBuilder` | -- |
|
22
|
-
| `mode` | `mode` |
|
23
|
-
| `resourceID` | `resource-i-d` |
|
24
|
-
| `title` | `title` |
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
11
|
+
| ------------------------------ | ---------------------------------- | ----------- | ------------------------------------------------------------------------------------------ | ----------- |
|
12
|
+
| `afterApplyConfig` | -- | | `() => void` | `undefined` |
|
13
|
+
| `autoLoad` | `auto-load` | | `boolean` | `undefined` |
|
14
|
+
| `configName` | `config-name` | | `string` | `undefined` |
|
15
|
+
| `customFilterBarConfig` | -- | | `(configName: string, resourceId: string, options: any) => Promise<SnkFilterItemConfig[]>` | `undefined` |
|
16
|
+
| `dataUnit` | -- | | `DataUnit` | `undefined` |
|
17
|
+
| `disablePersonalizedFilter` | `disable-personalized-filter` | | `boolean` | `undefined` |
|
18
|
+
| `enableLockManagerLoadingComp` | `enable-lock-manager-loading-comp` | | `boolean` | `false` |
|
19
|
+
| `filterBarLegacyConfigName` | `filter-bar-legacy-config-name` | | `string` | `undefined` |
|
20
|
+
| `filterConfig` | -- | | `SnkFilterItemConfig[]` | `undefined` |
|
21
|
+
| `messagesBuilder` | -- | | `SnkMessageBuilder` | `undefined` |
|
22
|
+
| `mode` | `mode` | | `"button" \| "hidden" \| "regular"` | `"regular"` |
|
23
|
+
| `resourceID` | `resource-i-d` | | `string` | `undefined` |
|
24
|
+
| `title` | `title` | | `string` | `undefined` |
|
25
25
|
|
26
26
|
|
27
27
|
## Events
|
@@ -35,49 +35,55 @@
|
|
35
35
|
|
36
36
|
### `addFilterItem(filterItem: SnkFilterItemConfig) => Promise<void>`
|
37
37
|
|
38
|
-
|
38
|
+
|
39
39
|
|
40
40
|
#### Returns
|
41
41
|
|
42
42
|
Type: `Promise<void>`
|
43
43
|
|
44
|
+
Retorna uma Promise que resolve quando o item for adicionado.
|
45
|
+
|
44
46
|
---
|
45
47
|
|
46
48
|
### `getFilterItem(id: string) => Promise<SnkFilterItemConfig | undefined>`
|
47
49
|
|
48
|
-
|
50
|
+
|
49
51
|
|
50
52
|
#### Returns
|
51
53
|
|
52
54
|
Type: `Promise<SnkFilterItemConfig>`
|
53
55
|
|
56
|
+
O item de filtro correspondente ou undefined se não for encontrado.
|
57
|
+
|
54
58
|
---
|
55
59
|
|
56
60
|
### `reload() => Promise<void>`
|
57
61
|
|
58
|
-
|
62
|
+
|
59
63
|
|
60
64
|
#### Returns
|
61
65
|
|
62
66
|
Type: `Promise<void>`
|
63
67
|
|
68
|
+
Retorna uma Promise que resolve quando o recarregamento for concluído.
|
69
|
+
|
64
70
|
---
|
65
71
|
|
66
72
|
### `removeFilterItem(filterID: string) => Promise<SnkFilterItemConfig | undefined>`
|
67
73
|
|
68
|
-
|
74
|
+
|
69
75
|
|
70
76
|
#### Returns
|
71
77
|
|
72
78
|
Type: `Promise<SnkFilterItemConfig>`
|
73
79
|
|
74
|
-
|
80
|
+
Retorna o item de filtro removido, ou undefined caso não seja encontrado.
|
75
81
|
|
76
82
|
---
|
77
83
|
|
78
84
|
### `showFilterModal() => Promise<void>`
|
79
85
|
|
80
|
-
|
86
|
+
|
81
87
|
|
82
88
|
#### Returns
|
83
89
|
|
@@ -87,13 +93,13 @@ Type: `Promise<void>`
|
|
87
93
|
|
88
94
|
### `updateFilterItem(newFilterItem: SnkFilterItemConfig) => Promise<void>`
|
89
95
|
|
90
|
-
|
96
|
+
|
91
97
|
|
92
98
|
#### Returns
|
93
99
|
|
94
100
|
Type: `Promise<void>`
|
95
101
|
|
96
|
-
|
102
|
+
Retorna uma Promise que resolve quando a atualização for concluída.
|
97
103
|
|
98
104
|
|
99
105
|
## Dependencies
|
@@ -9,17 +9,17 @@
|
|
9
9
|
|
10
10
|
| Property | Attribute | Description | Type | Default |
|
11
11
|
| ----------------- | --------- | -------------------------------------------------------------------------------------- | ------------------- | ----------- |
|
12
|
-
| `breadcrumbItens` | -- | Define os itens que serão apresentados
|
13
|
-
| `label` | `label` | Define o título do header
|
12
|
+
| `breadcrumbItens` | -- | Define os itens que serão apresentados no breadcrumb. | `IBreadcrumbItem[]` | `undefined` |
|
13
|
+
| `label` | `label` | Define o título do header. | `string` | `undefined` |
|
14
14
|
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
15
15
|
|
16
16
|
|
17
17
|
## Events
|
18
18
|
|
19
|
-
| Event | Description
|
20
|
-
| --------------------- |
|
21
|
-
| `clickBreadcrumbItem` | Emitido quando algum item do breadcrumb é clicado | `CustomEvent<IBreadcrumbItem>` |
|
22
|
-
| `exit` | Emitido quando o botão voltar é acionado
|
19
|
+
| Event | Description | Type |
|
20
|
+
| --------------------- | -------------------------------------------------- | ------------------------------ |
|
21
|
+
| `clickBreadcrumbItem` | Emitido quando algum item do breadcrumb é clicado. | `CustomEvent<IBreadcrumbItem>` |
|
22
|
+
| `exit` | Emitido quando o botão "voltar" é acionado. | `CustomEvent<void>` |
|
23
23
|
|
24
24
|
|
25
25
|
## Dependencies
|