@sankhyalabs/core-docs 2.3.7-SKA-61927.1 → 2.4.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.
- package/classes/ApplicationContext.md +24 -10
- package/classes/ArrayUtils.md +24 -14
- package/classes/Change.md +40 -18
- package/classes/DataUnit.md +418 -225
- package/classes/DateUtils.md +95 -36
- package/classes/ElementIDUtils.md +70 -37
- package/classes/ErrorException.md +12 -4
- package/classes/ErrorTracking.md +13 -5
- package/classes/FloatingManager.md +104 -63
- package/classes/MaskFormatter-1.md +17 -17
- package/classes/NumberUtils.md +74 -35
- package/classes/ObjectUtils.md +34 -12
- package/classes/ReadyUtil.md +18 -6
- package/classes/StringUtils.md +136 -51
- package/classes/TimeFormatter.md +9 -9
- package/classes/UserAgentUtils.md +12 -2
- package/classes/WaitingChangeException.md +9 -3
- package/classes/WarningException.md +12 -4
- package/enums/ChangeOperation.md +4 -4
- package/enums/DataType.md +5 -5
- package/interfaces/DUActionInterceptor.md +1 -1
- package/interfaces/LoadDataRequest.md +17 -5
- package/interfaces/LoadDataResponse.md +8 -2
- package/interfaces/PageRequest.md +3 -3
- package/interfaces/PaginationInfo.md +17 -5
- package/interfaces/QuickFilter.md +2 -2
- package/interfaces/Record.md +2 -2
- package/interfaces/SavedRecord.md +3 -3
- package/interfaces/WaitingChange.md +3 -3
- package/modules/MaskFormatter.md +2 -2
- package/package.json +1 -1
package/classes/StringUtils.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# Class: StringUtils
|
4
4
|
|
5
|
-
|
5
|
+
`StringUtils`: Utilizado para manipulação de Strings.
|
6
6
|
|
7
7
|
## Table of contents
|
8
8
|
|
@@ -13,6 +13,7 @@ Classe com utiliários comuns para Strings.
|
|
13
13
|
### Methods
|
14
14
|
|
15
15
|
- [compare](StringUtils.md#compare)
|
16
|
+
- [decodeHtmlEntities](StringUtils.md#decodehtmlentities)
|
16
17
|
- [getBooleanValue](StringUtils.md#getbooleanvalue)
|
17
18
|
- [hashCode](StringUtils.md#hashcode)
|
18
19
|
- [isEmpty](StringUtils.md#isempty)
|
@@ -39,26 +40,52 @@ Classe com utiliários comuns para Strings.
|
|
39
40
|
|
40
41
|
▸ `Static` **compare**(`a`, `b`): `number`
|
41
42
|
|
42
|
-
|
43
|
-
Retorna um número negativo se o primeiro argumento é menor que o segundo, zero se os dois são iguais
|
44
|
-
e um número positivo quando o primeiro é maior que o segundo.if they're equal, and a positive value otherwise.
|
43
|
+
Determina a ordem de strings.
|
45
44
|
|
46
45
|
#### Parameters
|
47
46
|
|
48
47
|
| Name | Type | Description |
|
49
48
|
| :------ | :------ | :------ |
|
50
|
-
| `a` | `string` | Primeira string para comparação |
|
51
|
-
| `b` | `string` | Segunda string para comparação |
|
49
|
+
| `a` | `string` | Primeira string para comparação. |
|
50
|
+
| `b` | `string` | Segunda string para comparação. |
|
52
51
|
|
53
52
|
#### Returns
|
54
53
|
|
55
54
|
`number`
|
56
55
|
|
57
|
-
Um
|
56
|
+
- Um numeral negativo se o primeiro argumento é menor que o segundo, zero se os dois são iguais e um numeral positivo quando o primeiro é maior que o segundo.
|
58
57
|
|
59
58
|
#### Defined in
|
60
59
|
|
61
|
-
src/utils/StringUtils.ts:
|
60
|
+
src/utils/StringUtils.ts:218
|
61
|
+
|
62
|
+
___
|
63
|
+
|
64
|
+
### decodeHtmlEntities
|
65
|
+
|
66
|
+
▸ `Static` **decodeHtmlEntities**(`text`): `string`
|
67
|
+
|
68
|
+
Converte todas as entidades HTML de um texto
|
69
|
+
|
70
|
+
**`Example`**
|
71
|
+
|
72
|
+
```ts
|
73
|
+
entrada: "<Teste>" // retorno: "<Teste>"
|
74
|
+
```
|
75
|
+
|
76
|
+
#### Parameters
|
77
|
+
|
78
|
+
| Name | Type | Description |
|
79
|
+
| :------ | :------ | :------ |
|
80
|
+
| `text` | `string` | String para ser transformada. |
|
81
|
+
|
82
|
+
#### Returns
|
83
|
+
|
84
|
+
`string`
|
85
|
+
|
86
|
+
#### Defined in
|
87
|
+
|
88
|
+
src/utils/StringUtils.ts:53
|
62
89
|
|
63
90
|
___
|
64
91
|
|
@@ -66,22 +93,31 @@ ___
|
|
66
93
|
|
67
94
|
▸ `Static` **getBooleanValue**(`value`, `defaultValue?`): `boolean`
|
68
95
|
|
69
|
-
Converte um
|
96
|
+
Converte um texto do tipo string para um booleano.
|
97
|
+
|
98
|
+
**`Example`**
|
99
|
+
|
100
|
+
```ts
|
101
|
+
Informado: 'true' | Retorna: true
|
102
|
+
Informado: 'false' | Retorna: false
|
103
|
+
```
|
70
104
|
|
71
105
|
#### Parameters
|
72
106
|
|
73
107
|
| Name | Type | Default value | Description |
|
74
108
|
| :------ | :------ | :------ | :------ |
|
75
|
-
| `value` | `string` | `undefined` | Valor a ser convertido |
|
76
|
-
| `defaultValue` | `boolean` | `false` |
|
109
|
+
| `value` | `string` | `undefined` | Valor a ser convertido. |
|
110
|
+
| `defaultValue` | `boolean` | `false` | Valor padrão. |
|
77
111
|
|
78
112
|
#### Returns
|
79
113
|
|
80
114
|
`boolean`
|
81
115
|
|
116
|
+
- Texto convertido.
|
117
|
+
|
82
118
|
#### Defined in
|
83
119
|
|
84
|
-
src/utils/StringUtils.ts:
|
120
|
+
src/utils/StringUtils.ts:148
|
85
121
|
|
86
122
|
___
|
87
123
|
|
@@ -91,6 +127,12 @@ ___
|
|
91
127
|
|
92
128
|
Calcula um código hash para uma string.
|
93
129
|
|
130
|
+
**`Example`**
|
131
|
+
|
132
|
+
```ts
|
133
|
+
Informado: '123456' | Retorna: 1450575459
|
134
|
+
```
|
135
|
+
|
94
136
|
#### Parameters
|
95
137
|
|
96
138
|
| Name | Type | Description |
|
@@ -101,9 +143,11 @@ Calcula um código hash para uma string.
|
|
101
143
|
|
102
144
|
`string`
|
103
145
|
|
146
|
+
- Um hash calculado com base no valor informado.
|
147
|
+
|
104
148
|
#### Defined in
|
105
149
|
|
106
|
-
src/utils/StringUtils.ts:
|
150
|
+
src/utils/StringUtils.ts:127
|
107
151
|
|
108
152
|
___
|
109
153
|
|
@@ -111,7 +155,7 @@ ___
|
|
111
155
|
|
112
156
|
▸ `Static` **isEmpty**(`value`): `Boolean`
|
113
157
|
|
114
|
-
|
158
|
+
Retorna se a string está vazia.
|
115
159
|
Valores null e undefined são considerados como vazio.
|
116
160
|
|
117
161
|
#### Parameters
|
@@ -124,9 +168,11 @@ Valores null e undefined são considerados como vazio.
|
|
124
168
|
|
125
169
|
`Boolean`
|
126
170
|
|
171
|
+
- Verdadeiro caso a string não contenha informação.
|
172
|
+
|
127
173
|
#### Defined in
|
128
174
|
|
129
|
-
src/utils/StringUtils.ts:
|
175
|
+
src/utils/StringUtils.ts:14
|
130
176
|
|
131
177
|
___
|
132
178
|
|
@@ -134,21 +180,38 @@ ___
|
|
134
180
|
|
135
181
|
▸ `Static` **padEnd**(`str`, `len`, `pad?`): `string`
|
136
182
|
|
183
|
+
Adiciona caracteres à direita caso texto seja menor que o valor do parâmetro len passado.
|
184
|
+
|
185
|
+
**`Example`**
|
186
|
+
|
187
|
+
```ts
|
188
|
+
padStart('SANKHYA', 8,'.') | Retorna: 'SANKHYA...'
|
189
|
+
```
|
190
|
+
|
191
|
+
**`Example`**
|
192
|
+
|
193
|
+
```ts
|
194
|
+
padStart('SANKHYA', 5,'A') | Retorna: 'SANKHYA'
|
195
|
+
```
|
196
|
+
|
137
197
|
#### Parameters
|
138
198
|
|
139
|
-
| Name | Type | Default value |
|
140
|
-
| :------ | :------ | :------ |
|
141
|
-
| `str` | `string` | `undefined` |
|
142
|
-
| `len` | `number` | `undefined` |
|
143
|
-
| `pad` | `string` | `" "` |
|
199
|
+
| Name | Type | Default value | Description |
|
200
|
+
| :------ | :------ | :------ | :------ |
|
201
|
+
| `str` | `string` | `undefined` | Texto para ser ajustado. |
|
202
|
+
| `len` | `number` | `undefined` | Tamanho desejado do texto. |
|
203
|
+
| `pad` | `string` | `" "` | Caractere a ser adicionado a direita caso o texto menor que o tamanho passado. |
|
144
204
|
|
145
205
|
#### Returns
|
146
206
|
|
147
207
|
`string`
|
148
208
|
|
209
|
+
- Texto passado se este for maior que o len.
|
210
|
+
Ou retorna o texto com os caracteres adicionados na direita.
|
211
|
+
|
149
212
|
#### Defined in
|
150
213
|
|
151
|
-
src/utils/StringUtils.ts:
|
214
|
+
src/utils/StringUtils.ts:202
|
152
215
|
|
153
216
|
___
|
154
217
|
|
@@ -156,21 +219,38 @@ ___
|
|
156
219
|
|
157
220
|
▸ `Static` **padStart**(`str`, `len`, `pad?`): `string`
|
158
221
|
|
222
|
+
Adiciona caracteres à esquerda caso texto seja menor que o valor do parâmetro len passado.
|
223
|
+
|
224
|
+
**`Example`**
|
225
|
+
|
226
|
+
```ts
|
227
|
+
padStart('SANKHYA', 8,'.') | Retorna: '...SANKHYA'
|
228
|
+
```
|
229
|
+
|
230
|
+
**`Example`**
|
231
|
+
|
232
|
+
```ts
|
233
|
+
padStart('SANKHYA', 5,'A') | Retorna: 'SANKHYA'
|
234
|
+
```
|
235
|
+
|
159
236
|
#### Parameters
|
160
237
|
|
161
|
-
| Name | Type | Default value |
|
162
|
-
| :------ | :------ | :------ |
|
163
|
-
| `str` | `string` | `undefined` |
|
164
|
-
| `len` | `number` | `undefined` |
|
165
|
-
| `pad` | `string` | `" "` |
|
238
|
+
| Name | Type | Default value | Description |
|
239
|
+
| :------ | :------ | :------ | :------ |
|
240
|
+
| `str` | `string` | `undefined` | Texto para ser ajustado. |
|
241
|
+
| `len` | `number` | `undefined` | Tamanho desejado do texto. |
|
242
|
+
| `pad` | `string` | `" "` | Caractere a ser adicionado a esquerda caso o texto menor que o tamanho passado. |
|
166
243
|
|
167
244
|
#### Returns
|
168
245
|
|
169
246
|
`string`
|
170
247
|
|
248
|
+
- Texto passado se este for maior que o len.
|
249
|
+
Ou retorna o texto com os caracteres adicionados na esquerda.
|
250
|
+
|
171
251
|
#### Defined in
|
172
252
|
|
173
|
-
src/utils/StringUtils.ts:
|
253
|
+
src/utils/StringUtils.ts:177
|
174
254
|
|
175
255
|
___
|
176
256
|
|
@@ -200,7 +280,7 @@ entrada: "á@Êç#Ò", true // retorno: "aEcO"
|
|
200
280
|
|
201
281
|
#### Defined in
|
202
282
|
|
203
|
-
src/utils/StringUtils.ts:
|
283
|
+
src/utils/StringUtils.ts:100
|
204
284
|
|
205
285
|
___
|
206
286
|
|
@@ -214,15 +294,17 @@ Remove acentos de vogais, substitui Ç por c e retorna a string em caixa alta ma
|
|
214
294
|
|
215
295
|
| Name | Type | Description |
|
216
296
|
| :------ | :------ | :------ |
|
217
|
-
| `text` | `string` |
|
297
|
+
| `text` | `string` | Texto para ser transformado. |
|
218
298
|
|
219
299
|
#### Returns
|
220
300
|
|
221
301
|
`string`
|
222
302
|
|
303
|
+
- Texto sem acentuação e caixa alta, mantendo espaços e símbolos.
|
304
|
+
|
223
305
|
#### Defined in
|
224
306
|
|
225
|
-
src/utils/StringUtils.ts:
|
307
|
+
src/utils/StringUtils.ts:116
|
226
308
|
|
227
309
|
___
|
228
310
|
|
@@ -250,7 +332,7 @@ entrada: "áêçò" // retorno: "aeco"
|
|
250
332
|
|
251
333
|
#### Defined in
|
252
334
|
|
253
|
-
src/utils/StringUtils.ts:
|
335
|
+
src/utils/StringUtils.ts:80
|
254
336
|
|
255
337
|
___
|
256
338
|
|
@@ -278,7 +360,7 @@ entrada: "ÁÊÇÒ" // retorno: "AECO"
|
|
278
360
|
|
279
361
|
#### Defined in
|
280
362
|
|
281
|
-
src/utils/StringUtils.ts:
|
363
|
+
src/utils/StringUtils.ts:36
|
282
364
|
|
283
365
|
___
|
284
366
|
|
@@ -286,24 +368,30 @@ ___
|
|
286
368
|
|
287
369
|
▸ `Static` **toCamelCase**(`value`): `string`
|
288
370
|
|
289
|
-
|
371
|
+
Converte string em camelCase.
|
290
372
|
Combina palavras compostas ou frases, alterando a inicial de cada uma, a partir da primeira, para maiúscula e unidas sem espaços.
|
291
373
|
|
374
|
+
**`Example`**
|
375
|
+
|
376
|
+
```ts
|
377
|
+
toCamelCase('Exemplo de uso') | Retorna: 'exemploDeUso'
|
378
|
+
```
|
379
|
+
|
292
380
|
#### Parameters
|
293
381
|
|
294
382
|
| Name | Type | Description |
|
295
383
|
| :------ | :------ | :------ |
|
296
|
-
| `value` | `string` | String a ser convertida |
|
384
|
+
| `value` | `string` | String a ser convertida. |
|
297
385
|
|
298
386
|
#### Returns
|
299
387
|
|
300
388
|
`string`
|
301
389
|
|
302
|
-
String convertida em camelCase
|
390
|
+
String convertida em camelCase.
|
303
391
|
|
304
392
|
#### Defined in
|
305
393
|
|
306
|
-
src/utils/StringUtils.ts:
|
394
|
+
src/utils/StringUtils.ts:244
|
307
395
|
|
308
396
|
___
|
309
397
|
|
@@ -311,24 +399,23 @@ ___
|
|
311
399
|
|
312
400
|
▸ `Static` **toKebabCase**(`value`): `string`
|
313
401
|
|
314
|
-
Utilitário para converter string em kebab-case
|
315
|
-
Combina palavras substituindo cada espaço por um traço (-) convertendo todas as letras para minúsculas
|
402
|
+
Utilitário para converter string em kebab-case.
|
316
403
|
|
317
404
|
#### Parameters
|
318
405
|
|
319
406
|
| Name | Type | Description |
|
320
407
|
| :------ | :------ | :------ |
|
321
|
-
| `value` | `string` | String a ser convertida |
|
408
|
+
| `value` | `string` | String a ser convertida. |
|
322
409
|
|
323
410
|
#### Returns
|
324
411
|
|
325
412
|
`string`
|
326
413
|
|
327
|
-
String convertida em KebabCase
|
414
|
+
String convertida em KebabCase.
|
328
415
|
|
329
416
|
#### Defined in
|
330
417
|
|
331
|
-
src/utils/StringUtils.ts:
|
418
|
+
src/utils/StringUtils.ts:284
|
332
419
|
|
333
420
|
___
|
334
421
|
|
@@ -336,24 +423,23 @@ ___
|
|
336
423
|
|
337
424
|
▸ `Static` **toPascalCase**(`value`): `string`
|
338
425
|
|
339
|
-
|
340
|
-
Combina palavras colocando todas as palavras em minúsculas (mesmo a primeira palavra) removendo espaços
|
426
|
+
Converte string para PascalCase.
|
341
427
|
|
342
428
|
#### Parameters
|
343
429
|
|
344
430
|
| Name | Type | Description |
|
345
431
|
| :------ | :------ | :------ |
|
346
|
-
| `value` | `string` | String a ser convertida |
|
432
|
+
| `value` | `string` | String a ser convertida. |
|
347
433
|
|
348
434
|
#### Returns
|
349
435
|
|
350
436
|
`string`
|
351
437
|
|
352
|
-
String convertida em PascalCase
|
438
|
+
String convertida em PascalCase.
|
353
439
|
|
354
440
|
#### Defined in
|
355
441
|
|
356
|
-
src/utils/StringUtils.ts:
|
442
|
+
src/utils/StringUtils.ts:259
|
357
443
|
|
358
444
|
___
|
359
445
|
|
@@ -361,21 +447,20 @@ ___
|
|
361
447
|
|
362
448
|
▸ `Static` **toSnakeCase**(`value`): `string`
|
363
449
|
|
364
|
-
Utilitário para converter string em snake_case
|
365
|
-
Combina palavras substituindo cada espaço por um unsderscore (_) convertendo todas as letras para minúsculas
|
450
|
+
Utilitário para converter string em snake_case.
|
366
451
|
|
367
452
|
#### Parameters
|
368
453
|
|
369
454
|
| Name | Type | Description |
|
370
455
|
| :------ | :------ | :------ |
|
371
|
-
| `value` | `string` | String a ser convertida |
|
456
|
+
| `value` | `string` | String a ser convertida. |
|
372
457
|
|
373
458
|
#### Returns
|
374
459
|
|
375
460
|
`string`
|
376
461
|
|
377
|
-
String convertida em snake_case
|
462
|
+
String convertida em snake_case.
|
378
463
|
|
379
464
|
#### Defined in
|
380
465
|
|
381
|
-
src/utils/StringUtils.ts:
|
466
|
+
src/utils/StringUtils.ts:271
|
package/classes/TimeFormatter.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# Class: TimeFormatter
|
4
4
|
|
5
|
-
`TimeFormatter
|
5
|
+
`TimeFormatter`: Utilizado para formatar horas.
|
6
6
|
|
7
7
|
## Table of contents
|
8
8
|
|
@@ -41,7 +41,7 @@ src/utils/TimeFormatter.ts:8
|
|
41
41
|
|
42
42
|
▸ `Static` **prepareValue**(`value`, `showSeconds`): `string`
|
43
43
|
|
44
|
-
|
44
|
+
Converte um texto para o formato de hora.
|
45
45
|
|
46
46
|
**`Exemples`**
|
47
47
|
|
@@ -53,14 +53,14 @@ src/utils/TimeFormatter.ts:8
|
|
53
53
|
|
54
54
|
| Name | Type | Description |
|
55
55
|
| :------ | :------ | :------ |
|
56
|
-
| `value` | `string` |
|
57
|
-
| `showSeconds` | `boolean` |
|
56
|
+
| `value` | `string` | Texto não formatado. |
|
57
|
+
| `showSeconds` | `boolean` | Se será validado os segundos. |
|
58
58
|
|
59
59
|
#### Returns
|
60
60
|
|
61
61
|
`string`
|
62
62
|
|
63
|
-
|
63
|
+
- Texto em formato de hora.
|
64
64
|
|
65
65
|
#### Defined in
|
66
66
|
|
@@ -72,7 +72,7 @@ ___
|
|
72
72
|
|
73
73
|
▸ `Static` **validateTime**(`value`, `showSeconds`): `boolean`
|
74
74
|
|
75
|
-
|
75
|
+
Retorna se o texto está no formato de hora.
|
76
76
|
|
77
77
|
**`Exemples`**
|
78
78
|
|
@@ -84,14 +84,14 @@ ___
|
|
84
84
|
|
85
85
|
| Name | Type | Description |
|
86
86
|
| :------ | :------ | :------ |
|
87
|
-
| `value` | `string` |
|
88
|
-
| `showSeconds` | `boolean` |
|
87
|
+
| `value` | `string` | Texto a ser validado. |
|
88
|
+
| `showSeconds` | `boolean` | Se será validado os segundos. |
|
89
89
|
|
90
90
|
#### Returns
|
91
91
|
|
92
92
|
`boolean`
|
93
93
|
|
94
|
-
|
94
|
+
- Verdadeiro para valores no formato de hora e False para formatos diferentes.
|
95
95
|
|
96
96
|
#### Defined in
|
97
97
|
|
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
# Class: UserAgentUtils
|
4
4
|
|
5
|
+
`UserAgentUtils`: Utilitario para tratativas relacionadas ao navegador.
|
6
|
+
|
5
7
|
## Table of contents
|
6
8
|
|
7
9
|
### Constructors
|
@@ -25,13 +27,17 @@
|
|
25
27
|
|
26
28
|
▸ `Static` **getBrowserInfo**(): `any`
|
27
29
|
|
30
|
+
Obtém nome e versão do navegador que está sendo utilizado.
|
31
|
+
|
28
32
|
#### Returns
|
29
33
|
|
30
34
|
`any`
|
31
35
|
|
36
|
+
Objeto com o nome e versão do navegador.
|
37
|
+
|
32
38
|
#### Defined in
|
33
39
|
|
34
|
-
src/utils/UserAgentUtils/index.ts:
|
40
|
+
src/utils/UserAgentUtils/index.ts:22
|
35
41
|
|
36
42
|
___
|
37
43
|
|
@@ -39,10 +45,14 @@ ___
|
|
39
45
|
|
40
46
|
▸ `Static` **isFirefox**(): `boolean`
|
41
47
|
|
48
|
+
Obtém se o navegador do usuário é o firefox.
|
49
|
+
|
42
50
|
#### Returns
|
43
51
|
|
44
52
|
`boolean`
|
45
53
|
|
54
|
+
Verdadeiro se o navegador do usuário for o firefox.
|
55
|
+
|
46
56
|
#### Defined in
|
47
57
|
|
48
|
-
src/utils/UserAgentUtils/index.ts:
|
58
|
+
src/utils/UserAgentUtils/index.ts:13
|
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
# Class: WaitingChangeException
|
4
4
|
|
5
|
+
`WaitingChangeException`: Exceção lançada quando um campo está pendente de finalizar a alteração antes de executar uma ação.
|
6
|
+
|
5
7
|
## Hierarchy
|
6
8
|
|
7
9
|
- `Error`
|
@@ -47,7 +49,7 @@ Error.constructor
|
|
47
49
|
|
48
50
|
#### Defined in
|
49
51
|
|
50
|
-
src/exceptions/WaitingChangeException.ts:
|
52
|
+
src/exceptions/WaitingChangeException.ts:12
|
51
53
|
|
52
54
|
## Properties
|
53
55
|
|
@@ -69,13 +71,15 @@ ___
|
|
69
71
|
|
70
72
|
• **message**: `string`
|
71
73
|
|
74
|
+
Descrição do erro.
|
75
|
+
|
72
76
|
#### Overrides
|
73
77
|
|
74
78
|
Error.message
|
75
79
|
|
76
80
|
#### Defined in
|
77
81
|
|
78
|
-
src/exceptions/WaitingChangeException.ts:
|
82
|
+
src/exceptions/WaitingChangeException.ts:10
|
79
83
|
|
80
84
|
___
|
81
85
|
|
@@ -111,9 +115,11 @@ ___
|
|
111
115
|
|
112
116
|
• **title**: `string`
|
113
117
|
|
118
|
+
Titulo do erro.
|
119
|
+
|
114
120
|
#### Defined in
|
115
121
|
|
116
|
-
src/exceptions/WaitingChangeException.ts:
|
122
|
+
src/exceptions/WaitingChangeException.ts:7
|
117
123
|
|
118
124
|
___
|
119
125
|
|
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
# Class: WarningException
|
4
4
|
|
5
|
+
`WarningException`: Exceção lançada quando o "erro" vindo do backend é caracterizado como warning.
|
6
|
+
|
5
7
|
## Hierarchy
|
6
8
|
|
7
9
|
- `Error`
|
@@ -49,7 +51,7 @@ Error.constructor
|
|
49
51
|
|
50
52
|
#### Defined in
|
51
53
|
|
52
|
-
src/exceptions/WarningException.ts:
|
54
|
+
src/exceptions/WarningException.ts:15
|
53
55
|
|
54
56
|
## Properties
|
55
57
|
|
@@ -71,9 +73,11 @@ ___
|
|
71
73
|
|
72
74
|
• **errorCode**: `string`
|
73
75
|
|
76
|
+
Código do alerta, indica o alerta disparado pelo backend.
|
77
|
+
|
74
78
|
#### Defined in
|
75
79
|
|
76
|
-
src/exceptions/WarningException.ts:
|
80
|
+
src/exceptions/WarningException.ts:13
|
77
81
|
|
78
82
|
___
|
79
83
|
|
@@ -81,13 +85,15 @@ ___
|
|
81
85
|
|
82
86
|
• **message**: `string`
|
83
87
|
|
88
|
+
Descrição do alerta.
|
89
|
+
|
84
90
|
#### Overrides
|
85
91
|
|
86
92
|
Error.message
|
87
93
|
|
88
94
|
#### Defined in
|
89
95
|
|
90
|
-
src/exceptions/WarningException.ts:
|
96
|
+
src/exceptions/WarningException.ts:10
|
91
97
|
|
92
98
|
___
|
93
99
|
|
@@ -123,9 +129,11 @@ ___
|
|
123
129
|
|
124
130
|
• **title**: `string`
|
125
131
|
|
132
|
+
Titulo do alerta.
|
133
|
+
|
126
134
|
#### Defined in
|
127
135
|
|
128
|
-
src/exceptions/WarningException.ts:
|
136
|
+
src/exceptions/WarningException.ts:7
|
129
137
|
|
130
138
|
___
|
131
139
|
|
package/enums/ChangeOperation.md
CHANGED
@@ -19,7 +19,7 @@
|
|
19
19
|
|
20
20
|
#### Defined in
|
21
21
|
|
22
|
-
src/dataunit/DataUnit.ts:
|
22
|
+
src/dataunit/DataUnit.ts:1042
|
23
23
|
|
24
24
|
___
|
25
25
|
|
@@ -29,7 +29,7 @@ ___
|
|
29
29
|
|
30
30
|
#### Defined in
|
31
31
|
|
32
|
-
src/dataunit/DataUnit.ts:
|
32
|
+
src/dataunit/DataUnit.ts:1044
|
33
33
|
|
34
34
|
___
|
35
35
|
|
@@ -39,7 +39,7 @@ ___
|
|
39
39
|
|
40
40
|
#### Defined in
|
41
41
|
|
42
|
-
src/dataunit/DataUnit.ts:
|
42
|
+
src/dataunit/DataUnit.ts:1041
|
43
43
|
|
44
44
|
___
|
45
45
|
|
@@ -49,4 +49,4 @@ ___
|
|
49
49
|
|
50
50
|
#### Defined in
|
51
51
|
|
52
|
-
src/dataunit/DataUnit.ts:
|
52
|
+
src/dataunit/DataUnit.ts:1043
|
package/enums/DataType.md
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
#### Defined in
|
22
22
|
|
23
|
-
src/dataunit/metadata/DataType.ts:
|
23
|
+
src/dataunit/metadata/DataType.ts:9
|
24
24
|
|
25
25
|
___
|
26
26
|
|
@@ -30,7 +30,7 @@ ___
|
|
30
30
|
|
31
31
|
#### Defined in
|
32
32
|
|
33
|
-
src/dataunit/metadata/DataType.ts:
|
33
|
+
src/dataunit/metadata/DataType.ts:7
|
34
34
|
|
35
35
|
___
|
36
36
|
|
@@ -40,7 +40,7 @@ ___
|
|
40
40
|
|
41
41
|
#### Defined in
|
42
42
|
|
43
|
-
src/dataunit/metadata/DataType.ts:
|
43
|
+
src/dataunit/metadata/DataType.ts:6
|
44
44
|
|
45
45
|
___
|
46
46
|
|
@@ -50,7 +50,7 @@ ___
|
|
50
50
|
|
51
51
|
#### Defined in
|
52
52
|
|
53
|
-
src/dataunit/metadata/DataType.ts:
|
53
|
+
src/dataunit/metadata/DataType.ts:10
|
54
54
|
|
55
55
|
___
|
56
56
|
|
@@ -60,4 +60,4 @@ ___
|
|
60
60
|
|
61
61
|
#### Defined in
|
62
62
|
|
63
|
-
src/dataunit/metadata/DataType.ts:
|
63
|
+
src/dataunit/metadata/DataType.ts:8
|