@sankhyalabs/ezui-docs 3.3.0 → 3.5.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.
@@ -9,6 +9,7 @@
9
9
 
10
10
  | Property | Attribute | Description | Type | Default |
11
11
  | -------------- | --------------- | --------------------------------------------------------------------------------- | --------------------- | ----------- |
12
+ | `asyncSearch` | `async-search` | Define se o campo irá funcionar de forma assíncrona. | `boolean` | `false` |
12
13
  | `enabled` | `enabled` | Se false o usuário não pode interagir com o campo. | `boolean` | `true` |
13
14
  | `errorMessage` | `error-message` | Define uma mensagem de orientação ao usuário, colocando o campo em modo inválido. | `string` | `undefined` |
14
15
  | `label` | `label` | Texto a ser apresentado como título do campo. | `string` | `undefined` |
@@ -19,13 +20,25 @@
19
20
 
20
21
  ## Events
21
22
 
22
- | Event | Description | Type |
23
- | ---------- | ------------------------------------------------------ | --------------------- |
24
- | `ezChange` | Emitido quando acontece a alteração de valor do campo. | `CustomEvent<string>` |
23
+ | Event | Description | Type |
24
+ | ------------- | --------------------------------------------------------------------- | --------------------- |
25
+ | `ezChange` | Emitido quando acontece a alteração de valor do campo. | `CustomEvent<string>` |
26
+ | `ezFocusIn` | Emitido quando acontece o foco no campo. | `CustomEvent<void>` |
27
+ | `ezSearching` | Emitido quando está sendo realizada uma pesquisa no modo asyncSearch. | `CustomEvent<string>` |
25
28
 
26
29
 
27
30
  ## Methods
28
31
 
32
+ ### `endSearch() => Promise<void>`
33
+
34
+ Método responsável por resetar o valor do campo para o ultimo valor inputado.
35
+
36
+ #### Returns
37
+
38
+ Type: `Promise<void>`
39
+
40
+
41
+
29
42
  ### `isInvalid() => Promise<boolean>`
30
43
 
31
44
  Retorna se o conteúdo é inválido.
@@ -56,6 +69,16 @@ Type: `Promise<void>`
56
69
 
57
70
 
58
71
 
72
+ ### `setValue(newValue: string) => Promise<void>`
73
+
74
+ Método responsável por setar um novo valor ao campo.
75
+
76
+ #### Returns
77
+
78
+ Type: `Promise<void>`
79
+
80
+
81
+
59
82
 
60
83
  ## Dependencies
61
84
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/ezui-docs",
3
- "version": "3.3.0",
3
+ "version": "3.5.0",
4
4
  "description": "Documentação da biblioteca de componentes Sankhya.",
5
5
  "main": "",
6
6
  "files": [