@sankhyalabs/core-docs 0.0.0-bugfix-rc-KB-2229.1 → 0.0.0-bugfix-dev-32613.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.
Files changed (39) hide show
  1. package/classes/ApplicationContext.md +3 -3
  2. package/classes/ArrayUtils.md +133 -3
  3. package/classes/Change.md +11 -11
  4. package/classes/DataUnit.md +251 -122
  5. package/classes/DateUtils.md +11 -11
  6. package/classes/FieldComparator.md +87 -0
  7. package/classes/FloatingManager.md +21 -4
  8. package/classes/IDBRepository.md +518 -0
  9. package/classes/JSUtils.md +77 -4
  10. package/classes/KeyboardManager.md +233 -0
  11. package/classes/ObjectUtils.md +26 -0
  12. package/classes/SearchUtils.md +43 -0
  13. package/classes/SelectionInfo.md +11 -11
  14. package/classes/SkwHttpProvider.md +7 -7
  15. package/classes/StringUtils.md +272 -20
  16. package/enums/Action.md +33 -22
  17. package/enums/ChangeOperation.md +4 -4
  18. package/enums/DataType.md +5 -5
  19. package/enums/DependencyType.md +3 -3
  20. package/enums/SelectionMode.md +2 -2
  21. package/enums/SortMode.md +2 -2
  22. package/enums/UserInterface.md +17 -17
  23. package/interfaces/DUActionInterceptor.md +1 -1
  24. package/interfaces/FieldDescriptor.md +15 -4
  25. package/interfaces/Filter.md +3 -3
  26. package/interfaces/ILoadResult.md +36 -0
  27. package/interfaces/IRepository.md +245 -0
  28. package/interfaces/IRepositoryIndex.md +66 -0
  29. package/interfaces/LoadDataRequest.md +20 -7
  30. package/interfaces/PageRequest.md +3 -3
  31. package/interfaces/PaginationInfo.md +16 -3
  32. package/interfaces/QuickFilter.md +3 -3
  33. package/interfaces/Record.md +4 -4
  34. package/interfaces/SavedRecord.md +5 -5
  35. package/interfaces/Sort.md +3 -3
  36. package/interfaces/SortingProvider.md +3 -2
  37. package/interfaces/WaitingChange.md +3 -3
  38. package/modules.md +7 -0
  39. package/package.json +1 -1
@@ -0,0 +1,233 @@
1
+ [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / KeyboardManager
2
+
3
+ # Class: KeyboardManager
4
+
5
+ `KeyboardManager` é reponsável por gerenciar eventos de teclado.
6
+
7
+ ## Table of contents
8
+
9
+ ### Constructors
10
+
11
+ - [constructor](KeyboardManager.md#constructor)
12
+
13
+ ### Properties
14
+
15
+ - [\_mappedElements](KeyboardManager.md#_mappedelements)
16
+ - [\_options](KeyboardManager.md#_options)
17
+
18
+ ### Accessors
19
+
20
+ - [mappedKeys](KeyboardManager.md#mappedkeys)
21
+
22
+ ### Methods
23
+
24
+ - [bind](KeyboardManager.md#bind)
25
+ - [checkModifiersIsApplied](KeyboardManager.md#checkmodifiersisapplied)
26
+ - [handleListenerEvent](KeyboardManager.md#handlelistenerevent)
27
+ - [keyAppliedWithModifiers](KeyboardManager.md#keyappliedwithmodifiers)
28
+ - [unbind](KeyboardManager.md#unbind)
29
+ - [verifyAndStopPropagation](KeyboardManager.md#verifyandstoppropagation)
30
+
31
+ ## Constructors
32
+
33
+ ### constructor
34
+
35
+ • **new KeyboardManager**(`options?`)
36
+
37
+ Construtor para a classe Keyboard.
38
+
39
+ #### Parameters
40
+
41
+ | Name | Type | Description |
42
+ | :------ | :------ | :------ |
43
+ | `options?` | `Partial`<`IKeyboardOptions`\> | opções para o gerenciamento de eventos de teclado. |
44
+
45
+ #### Defined in
46
+
47
+ src/utils/KeyboardManager/index.ts:19
48
+
49
+ ## Properties
50
+
51
+ ### \_mappedElements
52
+
53
+ • `Private` **\_mappedElements**: `IKeyboardMappedKeysElements` = `{}`
54
+
55
+ #### Defined in
56
+
57
+ src/utils/KeyboardManager/index.ts:12
58
+
59
+ ___
60
+
61
+ ### \_options
62
+
63
+ • `Private` **\_options**: `IKeyboardOptions`
64
+
65
+ #### Defined in
66
+
67
+ src/utils/KeyboardManager/index.ts:11
68
+
69
+ ## Accessors
70
+
71
+ ### mappedKeys
72
+
73
+ • `get` **mappedKeys**(): `IGetMappedKeys`[]
74
+
75
+ Obtém as chaves mapeadas.
76
+
77
+ #### Returns
78
+
79
+ `IGetMappedKeys`[]
80
+
81
+ chaves mapeadas com descrições
82
+
83
+ #### Defined in
84
+
85
+ src/utils/KeyboardManager/index.ts:97
86
+
87
+ ## Methods
88
+
89
+ ### bind
90
+
91
+ ▸ **bind**(`keyMap`, `callback`, `options?`): [`KeyboardManager`](KeyboardManager.md)
92
+
93
+ Associa um evento de teclado com uma função
94
+
95
+ #### Parameters
96
+
97
+ | Name | Type | Description |
98
+ | :------ | :------ | :------ |
99
+ | `keyMap` | `string` | Chave de mapeamento de teclado. |
100
+ | `callback` | `VoidFunction` | Função a ser executada quando o evento de teclado for disparado. |
101
+ | `options?` | `Partial`<`IKeyboardOptions`\> | Configurações dos eventos de teclado. |
102
+
103
+ #### Returns
104
+
105
+ [`KeyboardManager`](KeyboardManager.md)
106
+
107
+ O objeto `KeyboardManager`
108
+
109
+ #### Defined in
110
+
111
+ src/utils/KeyboardManager/index.ts:37
112
+
113
+ ___
114
+
115
+ ### checkModifiersIsApplied
116
+
117
+ ▸ `Private` **checkModifiersIsApplied**(`event`, `modifiedList`): `boolean`
118
+
119
+ Verifica se todas as teclas modificadoras foram aplicadas ao evento
120
+
121
+ #### Parameters
122
+
123
+ | Name | Type | Description |
124
+ | :------ | :------ | :------ |
125
+ | `event` | `KeyboardEvent` | O evento de teclado |
126
+ | `modifiedList` | `string`[] | As teclas modificadoras |
127
+
128
+ #### Returns
129
+
130
+ `boolean`
131
+
132
+ Retorna se todas as teclas modificadoras foram aplicadas
133
+
134
+ #### Defined in
135
+
136
+ src/utils/KeyboardManager/index.ts:166
137
+
138
+ ___
139
+
140
+ ### handleListenerEvent
141
+
142
+ ▸ `Private` **handleListenerEvent**(`keyMap`, `callback`, `propagate`, `event`): `void`
143
+
144
+ Executa uma função quando um evento de teclado for disparado
145
+
146
+ #### Parameters
147
+
148
+ | Name | Type | Description |
149
+ | :------ | :------ | :------ |
150
+ | `keyMap` | `string` | Chave de mapeamento de teclado |
151
+ | `callback` | `VoidFunction` | Função a ser executada |
152
+ | `propagate` | `boolean` | Se o evento de teclado deve ser propagado |
153
+ | `event` | `KeyboardEvent` | O evento de teclado |
154
+
155
+ #### Returns
156
+
157
+ `void`
158
+
159
+ #### Defined in
160
+
161
+ src/utils/KeyboardManager/index.ts:113
162
+
163
+ ___
164
+
165
+ ### keyAppliedWithModifiers
166
+
167
+ ▸ `Private` **keyAppliedWithModifiers**(`keyMap`, `pressedKeyCode`): `IKeyAppliedResponse`
168
+
169
+ Verifica se um evento de teclado foi disparado
170
+
171
+ #### Parameters
172
+
173
+ | Name | Type | Description |
174
+ | :------ | :------ | :------ |
175
+ | `keyMap` | `string` | Chave de mapeamento de teclado |
176
+ | `pressedKeyCode` | `number` | Código do evento de teclado pressionado |
177
+
178
+ #### Returns
179
+
180
+ `IKeyAppliedResponse`
181
+
182
+ Retorna se o evento de teclado foi disparado e as teclas modificadoras aplicadas ao evento
183
+
184
+ #### Defined in
185
+
186
+ src/utils/KeyboardManager/index.ts:129
187
+
188
+ ___
189
+
190
+ ### unbind
191
+
192
+ ▸ **unbind**(`keyMap`): [`KeyboardManager`](KeyboardManager.md)
193
+
194
+ Remove um evento de teclado
195
+
196
+ #### Parameters
197
+
198
+ | Name | Type | Description |
199
+ | :------ | :------ | :------ |
200
+ | `keyMap` | `string` | Chave de mapeamento de teclado. |
201
+
202
+ #### Returns
203
+
204
+ [`KeyboardManager`](KeyboardManager.md)
205
+
206
+ - O objeto `KeyboardManager`
207
+
208
+ #### Defined in
209
+
210
+ src/utils/KeyboardManager/index.ts:73
211
+
212
+ ___
213
+
214
+ ### verifyAndStopPropagation
215
+
216
+ ▸ `Private` **verifyAndStopPropagation**(`event`, `propagate`): `void`
217
+
218
+ Verifica e impede que o evento de teclado seja propagado
219
+
220
+ #### Parameters
221
+
222
+ | Name | Type | Description |
223
+ | :------ | :------ | :------ |
224
+ | `event` | `KeyboardEvent` | O evento de teclado |
225
+ | `propagate` | `boolean` | Se o evento de teclado deve ser propagado |
226
+
227
+ #### Returns
228
+
229
+ `void`
230
+
231
+ #### Defined in
232
+
233
+ src/utils/KeyboardManager/index.ts:202
@@ -13,6 +13,7 @@
13
13
  ### Methods
14
14
 
15
15
  - [copy](ObjectUtils.md#copy)
16
+ - [equals](ObjectUtils.md#equals)
16
17
  - [objectToString](ObjectUtils.md#objecttostring)
17
18
  - [removeEmptyValues](ObjectUtils.md#removeemptyvalues)
18
19
  - [sortByProperty](ObjectUtils.md#sortbyproperty)
@@ -56,6 +57,31 @@ src/utils/ObjectUtils.ts:13
56
57
 
57
58
  ___
58
59
 
60
+ ### equals
61
+
62
+ ▸ `Static` **equals**(`obj1`, `obj2`): `any`
63
+
64
+ Compara se um objeto é igual a outro objeto.
65
+
66
+ #### Parameters
67
+
68
+ | Name | Type | Description |
69
+ | :------ | :------ | :------ |
70
+ | `obj1` | `any` | Objeto a ser comparado. |
71
+ | `obj2` | `any` | Objeto a ser comparado. |
72
+
73
+ #### Returns
74
+
75
+ `any`
76
+
77
+ - Se o objeto 1 é igual ao objeto 2.
78
+
79
+ #### Defined in
80
+
81
+ src/utils/ObjectUtils.ts:84
82
+
83
+ ___
84
+
59
85
  ### objectToString
60
86
 
61
87
  ▸ `Static` **objectToString**(`data`): `string`
@@ -0,0 +1,43 @@
1
+ [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / SearchUtils
2
+
3
+ # Class: SearchUtils
4
+
5
+ `Search`: Utilizado para manipulação de do objeto de pesquisa.
6
+
7
+ ## Table of contents
8
+
9
+ ### Constructors
10
+
11
+ - [constructor](SearchUtils.md#constructor)
12
+
13
+ ### Methods
14
+
15
+ - [buildDetails](SearchUtils.md#builddetails)
16
+
17
+ ## Constructors
18
+
19
+ ### constructor
20
+
21
+ • **new SearchUtils**()
22
+
23
+ ## Methods
24
+
25
+ ### buildDetails
26
+
27
+ ▸ `Static` **buildDetails**(`argument`, `fields`, `item`): `any`
28
+
29
+ #### Parameters
30
+
31
+ | Name | Type |
32
+ | :------ | :------ |
33
+ | `argument` | `String` |
34
+ | `fields` | `any` |
35
+ | `item` | `any` |
36
+
37
+ #### Returns
38
+
39
+ `any`
40
+
41
+ #### Defined in
42
+
43
+ src/utils/SearchUtils.ts:8
@@ -45,7 +45,7 @@
45
45
 
46
46
  #### Defined in
47
47
 
48
- src/dataunit/DataUnit.ts:1822
48
+ src/dataunit/DataUnit.ts:1871
49
49
 
50
50
  ## Properties
51
51
 
@@ -55,7 +55,7 @@ src/dataunit/DataUnit.ts:1822
55
55
 
56
56
  #### Defined in
57
57
 
58
- src/dataunit/DataUnit.ts:1816
58
+ src/dataunit/DataUnit.ts:1865
59
59
 
60
60
  ___
61
61
 
@@ -65,7 +65,7 @@ ___
65
65
 
66
66
  #### Defined in
67
67
 
68
- src/dataunit/DataUnit.ts:1818
68
+ src/dataunit/DataUnit.ts:1867
69
69
 
70
70
  ___
71
71
 
@@ -75,7 +75,7 @@ ___
75
75
 
76
76
  #### Defined in
77
77
 
78
- src/dataunit/DataUnit.ts:1819
78
+ src/dataunit/DataUnit.ts:1868
79
79
 
80
80
  ___
81
81
 
@@ -85,7 +85,7 @@ ___
85
85
 
86
86
  #### Defined in
87
87
 
88
- src/dataunit/DataUnit.ts:1817
88
+ src/dataunit/DataUnit.ts:1866
89
89
 
90
90
  ___
91
91
 
@@ -95,7 +95,7 @@ ___
95
95
 
96
96
  #### Defined in
97
97
 
98
- src/dataunit/DataUnit.ts:1820
98
+ src/dataunit/DataUnit.ts:1869
99
99
 
100
100
  ## Accessors
101
101
 
@@ -109,7 +109,7 @@ src/dataunit/DataUnit.ts:1820
109
109
 
110
110
  #### Defined in
111
111
 
112
- src/dataunit/DataUnit.ts:1847
112
+ src/dataunit/DataUnit.ts:1896
113
113
 
114
114
  ___
115
115
 
@@ -123,7 +123,7 @@ ___
123
123
 
124
124
  #### Defined in
125
125
 
126
- src/dataunit/DataUnit.ts:1837
126
+ src/dataunit/DataUnit.ts:1886
127
127
 
128
128
  ___
129
129
 
@@ -137,7 +137,7 @@ ___
137
137
 
138
138
  #### Defined in
139
139
 
140
- src/dataunit/DataUnit.ts:1830
140
+ src/dataunit/DataUnit.ts:1879
141
141
 
142
142
  ## Methods
143
143
 
@@ -151,7 +151,7 @@ src/dataunit/DataUnit.ts:1830
151
151
 
152
152
  #### Defined in
153
153
 
154
- src/dataunit/DataUnit.ts:1854
154
+ src/dataunit/DataUnit.ts:1903
155
155
 
156
156
  ___
157
157
 
@@ -165,4 +165,4 @@ ___
165
165
 
166
166
  #### Defined in
167
167
 
168
- src/dataunit/DataUnit.ts:1858
168
+ src/dataunit/DataUnit.ts:1907
@@ -35,7 +35,7 @@
35
35
 
36
36
  #### Defined in
37
37
 
38
- src/http/SkwHttpProvider.ts:11
38
+ src/http/SkwHttpProvider.ts:8
39
39
 
40
40
  ___
41
41
 
@@ -45,7 +45,7 @@ ___
45
45
 
46
46
  #### Defined in
47
47
 
48
- src/http/SkwHttpProvider.ts:7
48
+ src/http/SkwHttpProvider.ts:4
49
49
 
50
50
  ___
51
51
 
@@ -55,7 +55,7 @@ ___
55
55
 
56
56
  #### Defined in
57
57
 
58
- src/http/SkwHttpProvider.ts:9
58
+ src/http/SkwHttpProvider.ts:6
59
59
 
60
60
  ___
61
61
 
@@ -65,7 +65,7 @@ ___
65
65
 
66
66
  #### Defined in
67
67
 
68
- src/http/SkwHttpProvider.ts:8
68
+ src/http/SkwHttpProvider.ts:5
69
69
 
70
70
  ___
71
71
 
@@ -75,7 +75,7 @@ ___
75
75
 
76
76
  #### Defined in
77
77
 
78
- src/http/SkwHttpProvider.ts:10
78
+ src/http/SkwHttpProvider.ts:7
79
79
 
80
80
  ___
81
81
 
@@ -85,7 +85,7 @@ ___
85
85
 
86
86
  #### Defined in
87
87
 
88
- src/http/SkwHttpProvider.ts:5
88
+ src/http/SkwHttpProvider.ts:2
89
89
 
90
90
  ## Methods
91
91
 
@@ -106,4 +106,4 @@ src/http/SkwHttpProvider.ts:5
106
106
 
107
107
  #### Defined in
108
108
 
109
- src/http/SkwHttpProvider.ts:13
109
+ src/http/SkwHttpProvider.ts:10