@sankhyalabs/sankhyablocks-docs 3.4.1 → 3.4.2
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.
@@ -226,16 +226,6 @@ Type: `Promise<string>`
|
|
226
226
|
|
227
227
|
|
228
228
|
|
229
|
-
### `getFilterBarConfig(name: string) => Promise<Array<SnkFilterItemConfig>>`
|
230
|
-
|
231
|
-
Obtém as configurações da barra de filtros
|
232
|
-
|
233
|
-
#### Returns
|
234
|
-
|
235
|
-
Type: `Promise<SnkFilterItemConfig[]>`
|
236
|
-
|
237
|
-
|
238
|
-
|
239
229
|
### `getFloatParam(name: string) => Promise<number>`
|
240
230
|
|
241
231
|
Obtém o valor de um parâmetro do tipo Decimal.
|
@@ -386,33 +376,13 @@ Type: `Promise<any>`
|
|
386
376
|
|
387
377
|
|
388
378
|
|
389
|
-
### `
|
390
|
-
|
391
|
-
Salva as configurações da barra de filtros
|
392
|
-
|
393
|
-
#### Returns
|
394
|
-
|
395
|
-
Type: `Promise<boolean>`
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
### `saveFormConfig(config: IFormConfig, name: string) => Promise<boolean>`
|
379
|
+
### `saveFormConfig(config: IFormConfig, name: string) => Promise<IFormConfig>`
|
400
380
|
|
401
381
|
Salva a configuração de formulário.
|
402
382
|
|
403
383
|
#### Returns
|
404
384
|
|
405
|
-
Type: `Promise<
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
### `saveGridConfig(config: IGridConfig) => Promise<boolean>`
|
410
|
-
|
411
|
-
Salva a configuração de grade.
|
412
|
-
|
413
|
-
#### Returns
|
414
|
-
|
415
|
-
Type: `Promise<boolean>`
|
385
|
+
Type: `Promise<IFormConfig>`
|
416
386
|
|
417
387
|
|
418
388
|
|
@@ -7,12 +7,13 @@
|
|
7
7
|
|
8
8
|
## Properties
|
9
9
|
|
10
|
-
| Property | Attribute | Description
|
11
|
-
| --------------- | ---------------- |
|
12
|
-
| `application` | -- | Referência para o SnkApplication
|
13
|
-
| `columns` | -- | Colunas da grade.
|
14
|
-
| `config` | -- | Configurações da grade.
|
15
|
-
| `
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
11
|
+
| --------------- | ---------------- | ------------------------------------------------ | ---------------- | ----------- |
|
12
|
+
| `application` | -- | Referência para o SnkApplication | `SnkApplication` | `undefined` |
|
13
|
+
| `columns` | -- | Colunas da grade. | `EzGridColumn[]` | `undefined` |
|
14
|
+
| `config` | -- | Configurações da grade. | `IGridConfig` | `undefined` |
|
15
|
+
| `configName` | `config-name` | Nome usado para salvar/recuperar a configuração. | `string` | `undefined` |
|
16
|
+
| `selectedIndex` | `selected-index` | Aba selecionada das configurações da grade. | `number` | `0` |
|
16
17
|
|
17
18
|
|
18
19
|
## Events
|
@@ -23,19 +24,6 @@
|
|
23
24
|
| `configChange` | Emitido ao salvar a alteração das configurações. | `CustomEvent<IGridConfig>` |
|
24
25
|
|
25
26
|
|
26
|
-
## Methods
|
27
|
-
|
28
|
-
### `saveConfig(config: IGridConfig) => Promise<void>`
|
29
|
-
|
30
|
-
Salva as configurações da grade.
|
31
|
-
|
32
|
-
#### Returns
|
33
|
-
|
34
|
-
Type: `Promise<void>`
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
27
|
## Dependencies
|
40
28
|
|
41
29
|
### Used by
|