@sankhyalabs/sankhyablocks-docs 9.1.5 → 9.1.7-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.
@@ -10,7 +10,7 @@
|
|
10
10
|
| Property | Attribute | Description | Type | Default |
|
11
11
|
| ---------------------- | ------------------------- | -------------------------------------------------------------------------------------- | ------------------- | ----------- |
|
12
12
|
| `configName` | `config-name` | Nome usado para guardar/recuperar as configurações do formulário. | `string` | `undefined` |
|
13
|
-
| `formLegacyConfigName` | `form-legacy-config-name` | Chave da configuração
|
13
|
+
| `formLegacyConfigName` | `form-legacy-config-name` | Chave da configuração legada do formulário. | `string` | `undefined` |
|
14
14
|
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
15
15
|
| `recordsValidator` | -- | Validador responsável por checar a integridade das informações do registro. | `IRecordValidator` | `undefined` |
|
16
16
|
| `resourceID` | `resource-i-d` | Identificador de recursos como configurações e acesso. | `string` | `undefined` |
|
@@ -18,18 +18,18 @@
|
|
18
18
|
|
19
19
|
## Events
|
20
20
|
|
21
|
-
| Event | Description
|
22
|
-
| ---------------- |
|
23
|
-
| `actionClick` |
|
24
|
-
| `exit` |
|
25
|
-
| `formItemsReady` | Responsável por notificar quando ocorrer a renderização de itens do formulário. | `CustomEvent<HTMLElement[]>` |
|
21
|
+
| Event | Description | Type |
|
22
|
+
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- |
|
23
|
+
| `actionClick` | ⚠️ **[DEPRECATED]** Esta propriedade foi descontinuada. Ela não tem mais efeito sobre o componente. | `CustomEvent<string>` |
|
24
|
+
| `exit` | ⚠️ **[DEPRECATED]** Esta propriedade foi descontinuada. Ela não tem mais efeito sobre o componente. | `CustomEvent<void>` |
|
25
|
+
| `formItemsReady` | Responsável por notificar quando ocorrer a renderização de itens do formulário. OBS: Emitido no subcomponente snk-form-view | `CustomEvent<HTMLElement[]>` |
|
26
26
|
|
27
27
|
|
28
28
|
## Methods
|
29
29
|
|
30
30
|
### `addCustomEditor(fieldName: string, customEditor: ICustomEditor) => Promise<void>`
|
31
31
|
|
32
|
-
Registra um editor customizado para campos
|
32
|
+
Registra um editor customizado para campos do formulário.
|
33
33
|
|
34
34
|
#### Returns
|
35
35
|
|
@@ -65,6 +65,16 @@ Exibe a janela de configurações do formulário.
|
|
65
65
|
|
66
66
|
Type: `Promise<void>`
|
67
67
|
|
68
|
+
---
|
69
|
+
|
70
|
+
### `validate() => Promise<void>`
|
71
|
+
|
72
|
+
Valida o formulário.
|
73
|
+
|
74
|
+
#### Returns
|
75
|
+
|
76
|
+
Type: `Promise<void>`
|
77
|
+
|
68
78
|
|
69
79
|
|
70
80
|
|
@@ -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` |
|
@@ -7,32 +7,32 @@
|
|
7
7
|
|
8
8
|
## Properties
|
9
9
|
|
10
|
-
| Property | Attribute | Description
|
11
|
-
| --------------------- | --------------------- |
|
12
|
-
| `actionsList` | -- |
|
13
|
-
| `actionsSettingsList` | -- |
|
14
|
-
| `alignRigth` | `align-rigth` |
|
15
|
-
| `buttons` | `buttons` |
|
16
|
-
| `configName` | `config-name` |
|
17
|
-
| `customButtons` | -- |
|
18
|
-
| `customContainerId` | `custom-container-id` |
|
19
|
-
| `customSlotId` | `custom-slot-id` |
|
20
|
-
| `dataUnit` | -- |
|
21
|
-
| `disabledButtons` | -- |
|
22
|
-
| `messagesBuilder` | -- |
|
23
|
-
| `overflowStrategy` | `overflow-strategy` |
|
24
|
-
| `presentationMode` | `presentation-mode` |
|
25
|
-
| `primaryButton` | `primary-button` |
|
26
|
-
| `resourceID` | `resource-i-d` |
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
11
|
+
| --------------------- | --------------------- | ----------- | ------------------------------------------------------------------------------------------- | --------------------------- |
|
12
|
+
| `actionsList` | -- | | `Action[]` | `undefined` |
|
13
|
+
| `actionsSettingsList` | -- | | `Action[]` | `undefined` |
|
14
|
+
| `alignRigth` | `align-rigth` | | `boolean` | `false` |
|
15
|
+
| `buttons` | `buttons` | | `string` | `undefined` |
|
16
|
+
| `configName` | `config-name` | | `string` | `undefined` |
|
17
|
+
| `customButtons` | -- | | `Map<string, CustomButton>` | `undefined` |
|
18
|
+
| `customContainerId` | `custom-container-id` | | `string` | `undefined` |
|
19
|
+
| `customSlotId` | `custom-slot-id` | | `string` | `"TASKBAR_CUSTOM_ELEMENTS"` |
|
20
|
+
| `dataUnit` | -- | | `DataUnit` | `undefined` |
|
21
|
+
| `disabledButtons` | -- | | `string[]` | `undefined` |
|
22
|
+
| `messagesBuilder` | -- | | `SnkMessageBuilder` | `undefined` |
|
23
|
+
| `overflowStrategy` | `overflow-strategy` | | `"hiddenItems" \| "none"` | `'hiddenItems'` |
|
24
|
+
| `presentationMode` | `presentation-mode` | | `PresentationMode.PRIMARY \| PresentationMode.SECONDARY \| PresentationMode.SINGLE_TASKBAR` | `PresentationMode.PRIMARY` |
|
25
|
+
| `primaryButton` | `primary-button` | | `string` | `undefined` |
|
26
|
+
| `resourceID` | `resource-i-d` | | `string` | `undefined` |
|
27
27
|
|
28
28
|
|
29
29
|
## Events
|
30
30
|
|
31
|
-
| Event | Description
|
32
|
-
| --------------------- |
|
33
|
-
| `actionClick` |
|
34
|
-
| `taskbarSaveLocker` |
|
35
|
-
| `taskbarSaveUnlocker` |
|
31
|
+
| Event | Description | Type |
|
32
|
+
| --------------------- | ----------- | --------------------- |
|
33
|
+
| `actionClick` | | `CustomEvent<string>` |
|
34
|
+
| `taskbarSaveLocker` | | `CustomEvent<void>` |
|
35
|
+
| `taskbarSaveUnlocker` | | `CustomEvent<void>` |
|
36
36
|
|
37
37
|
|
38
38
|
## Dependencies
|