@sankhyalabs/sankhyablocks-docs 0.0.0-hotfix-ga-kb-107084.1 → 0.0.0-hotfix-ga-KB-108978.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.
@@ -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,65 @@
|
|
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
|
+
|
58
|
+
---
|
59
|
+
|
60
|
+
### `getFilters() => Promise<Filter[]>`
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
#### Returns
|
65
|
+
|
66
|
+
Type: `Promise<Filter[]>`
|
67
|
+
|
54
68
|
---
|
55
69
|
|
56
70
|
### `reload() => Promise<void>`
|
57
71
|
|
58
|
-
|
72
|
+
|
59
73
|
|
60
74
|
#### Returns
|
61
75
|
|
62
76
|
Type: `Promise<void>`
|
63
77
|
|
78
|
+
Retorna uma Promise que resolve quando o recarregamento for concluído.
|
79
|
+
|
64
80
|
---
|
65
81
|
|
66
82
|
### `removeFilterItem(filterID: string) => Promise<SnkFilterItemConfig | undefined>`
|
67
83
|
|
68
|
-
|
84
|
+
|
69
85
|
|
70
86
|
#### Returns
|
71
87
|
|
72
88
|
Type: `Promise<SnkFilterItemConfig>`
|
73
89
|
|
74
|
-
|
90
|
+
Retorna o item de filtro removido, ou undefined caso não seja encontrado.
|
75
91
|
|
76
92
|
---
|
77
93
|
|
78
94
|
### `showFilterModal() => Promise<void>`
|
79
95
|
|
80
|
-
|
96
|
+
|
81
97
|
|
82
98
|
#### Returns
|
83
99
|
|
@@ -87,13 +103,13 @@ Type: `Promise<void>`
|
|
87
103
|
|
88
104
|
### `updateFilterItem(newFilterItem: SnkFilterItemConfig) => Promise<void>`
|
89
105
|
|
90
|
-
|
106
|
+
|
91
107
|
|
92
108
|
#### Returns
|
93
109
|
|
94
110
|
Type: `Promise<void>`
|
95
111
|
|
96
|
-
|
112
|
+
Retorna uma Promise que resolve quando a atualização for concluída.
|
97
113
|
|
98
114
|
|
99
115
|
## Dependencies
|
@@ -37,6 +37,7 @@
|
|
37
37
|
| `statusResolver` | -- | Define a configuração de cores para a coluna de status. | `((data: object) => string) \| IStatusResolver` | `undefined` |
|
38
38
|
| `strategyExporter` | `strategy-exporter` | Define o modo de exportação dos dados. | `"ClientSideExporterStrategy" \| "ServerSideExporterStrategy"` | `ExporterStrategy.SERVER_SIDE` |
|
39
39
|
| `suppressCheckboxColumn` | `suppress-checkbox-column` | Informa se a coluna de checkbox deve ser suprimida. | `boolean` | `undefined` |
|
40
|
+
| `suppressFilterColumn` | `suppress-filter-column` | Informa se a grade deve suprimir o filtro de coluna. | `boolean` | `false` |
|
40
41
|
| `suppressHorizontalScroll` | `suppress-horizontal-scroll` | Define se a grade deve suprimir a barra de rolagem horizontal. | `boolean` | `false` |
|
41
42
|
| `taskbarCustomContainerId` | `taskbar-custom-container-id` | Define o identificador do contêiner de elementos customizados da `Taskbar`. | `string` | `undefined` |
|
42
43
|
| `taskbarManager` | -- | Gerenciador das barras de tarefas. Permite determinar botões específicos ou gerenciar o estado dos botões. | `TaskbarManager` | `undefined` |
|
@@ -116,6 +117,16 @@ Uma promessa que é resolvida quando a janela de configuração é fechada.
|
|
116
117
|
|
117
118
|
---
|
118
119
|
|
120
|
+
### `refreshColumnFilterDataSource() => Promise<void>`
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
#### Returns
|
125
|
+
|
126
|
+
Type: `Promise<void>`
|
127
|
+
|
128
|
+
---
|
129
|
+
|
119
130
|
### `reloadConfig() => Promise<void>`
|
120
131
|
|
121
132
|
Recarrega a configuração da grade.
|
@@ -9,28 +9,28 @@
|
|
9
9
|
|
10
10
|
| Property | Attribute | Description | Type | Default |
|
11
11
|
| ----------------- | ------------------- | -------------------------------------------------------------------------------------- | ------------------- | ----------- |
|
12
|
-
| `configName` | `config-name` | Nome da configuração
|
13
|
-
| `entityUri` | `entity-uri` |
|
14
|
-
| `filterId` | `filter-id` |
|
15
|
-
| `isDefaultFilter` | `is-default-filter` |
|
12
|
+
| `configName` | `config-name` | Nome da configuração, utilizado para distinguir múltiplas instâncias do componente. | `string` | `undefined` |
|
13
|
+
| `entityUri` | `entity-uri` | URI da entidade utilizada para buscar os campos disponíveis para filtro. | `string` | `undefined` |
|
14
|
+
| `filterId` | `filter-id` | Identificador do filtro a ser carregado. | `string` | `undefined` |
|
15
|
+
| `isDefaultFilter` | `is-default-filter` | Indica se o filtro é o filtro padrão do sistema. | `boolean` | `false` |
|
16
16
|
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
17
|
-
| `resourceID` | `resource-i-d` |
|
17
|
+
| `resourceID` | `resource-i-d` | Identificador do recurso utilizado para salvar e recuperar filtros. | `string` | `undefined` |
|
18
18
|
|
19
19
|
|
20
20
|
## Events
|
21
21
|
|
22
|
-
| Event | Description
|
23
|
-
| ------------- |
|
24
|
-
| `ezAfterSave` |
|
25
|
-
| `ezCancel` |
|
26
|
-
| `ezSave` |
|
22
|
+
| Event | Description | Type |
|
23
|
+
| ------------- | ----------------------------------------------------------------- | --------------------- |
|
24
|
+
| `ezAfterSave` | Evento emitido após salvar as alterações do filtro personalizado. | `CustomEvent<void>` |
|
25
|
+
| `ezCancel` | Evento emitido ao cancelar a personalização do filtro. | `CustomEvent<void>` |
|
26
|
+
| `ezSave` | Evento emitido ao salvar as alterações do filtro personalizado. | `CustomEvent<string>` |
|
27
27
|
|
28
28
|
|
29
29
|
## Methods
|
30
30
|
|
31
31
|
### `createPersonalizedFilter() => Promise<void>`
|
32
32
|
|
33
|
-
|
33
|
+
Cria um novo filtro personalizado caso não exista nenhum.
|
34
34
|
|
35
35
|
#### Returns
|
36
36
|
|
@@ -7,15 +7,15 @@
|
|
7
7
|
|
8
8
|
## Properties
|
9
9
|
|
10
|
-
| Property | Attribute | Description
|
11
|
-
| ------------------- | --------------------- |
|
12
|
-
| `allowsNonAnalytic` | `allows-non-analytic` | Define se permite seleção de
|
13
|
-
| `argument` | `argument` |
|
14
|
-
| `entityName` | `entity-name` | Nome da entidade
|
15
|
-
| `isHierarchyEntity` | `is-hierarchy-entity` | Define se a popup de pesquisa
|
16
|
-
| `searchLoader` | -- | Função responsável em carregar os itens do componente snk-pesquisa. | `(text: string) => Promise<any>` | `undefined` |
|
17
|
-
| `selectItem` | -- | Função disparada ao selecionar um item.
|
18
|
-
| `treeLoader` | -- | Função responsável por carregar a árvore hierárquica do componente
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
11
|
+
| ------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- | ----------- |
|
12
|
+
| `allowsNonAnalytic` | `allows-non-analytic` | Define se permite a seleção de itens não analíticos. | `boolean` | `false` |
|
13
|
+
| `argument` | `argument` | Argumento utilizado ao chamar a função searchLoader. Pode ser alterado externamente. | `string` | `undefined` |
|
14
|
+
| `entityName` | `entity-name` | Nome da entidade sobre a qual a pesquisa será realizada. | `string` | `undefined` |
|
15
|
+
| `isHierarchyEntity` | `is-hierarchy-entity` | Define se a popup de pesquisa terá ou não modo hierárquico. | `boolean` | `false` |
|
16
|
+
| `searchLoader` | -- | Função responsável em carregar os itens do componente snk-pesquisa. Deve retornar uma Promise com os dados encontrados. | `(text: string) => Promise<any>` | `undefined` |
|
17
|
+
| `selectItem` | -- | Função disparada ao selecionar um item da pesquisa. | `(option: IOption) => void` | `undefined` |
|
18
|
+
| `treeLoader` | -- | Função responsável por carregar a árvore hierárquica do componente. Opcional. Caso não seja fornecida, o modo árvore não estará disponível. | `(text: string) => Promise<any>` | `undefined` |
|
19
19
|
|
20
20
|
|
21
21
|
## Dependencies
|
@@ -9,17 +9,17 @@
|
|
9
9
|
|
10
10
|
| Property | Attribute | Description | Type | Default |
|
11
11
|
| ----------------- | --------- | -------------------------------------------------------------------------------------- | ------------------- | ----------- |
|
12
|
-
| `breadcrumbItens` | -- | Define os itens que serão apresentados
|
13
|
-
| `label` | `label` | Define o título do header
|
12
|
+
| `breadcrumbItens` | -- | Define os itens que serão apresentados 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
|