@sankhyalabs/core-docs 0.0.0-feat-dev-KB-22227.2 → 0.0.0-feat-dev-KB-28409.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/ArrayUtils.md +133 -3
- package/classes/Change.md +11 -11
- package/classes/DataUnit.md +120 -97
- package/classes/FloatingManager.md +21 -4
- package/classes/JSUtils.md +57 -11
- package/classes/ObjectUtils.md +26 -0
- package/classes/SearchUtils.md +43 -0
- package/classes/SelectionInfo.md +11 -11
- package/classes/StringUtils.md +176 -22
- package/enums/ChangeOperation.md +4 -4
- package/enums/SelectionMode.md +2 -2
- package/interfaces/DUActionInterceptor.md +1 -1
- package/interfaces/PageRequest.md +3 -3
- package/interfaces/QuickFilter.md +3 -3
- package/interfaces/Record.md +4 -4
- package/interfaces/SavedRecord.md +5 -5
- package/interfaces/WaitingChange.md +3 -3
- package/modules.md +1 -0
- package/package.json +1 -1
@@ -24,6 +24,7 @@
|
|
24
24
|
|
25
25
|
- [applyStyle](FloatingManager.md#applystyle)
|
26
26
|
- [close](FloatingManager.md#close)
|
27
|
+
- [closeAll](FloatingManager.md#closeall)
|
27
28
|
- [createOrUpdatOverlay](FloatingManager.md#createorupdatoverlay)
|
28
29
|
- [createStyleElement](FloatingManager.md#createstyleelement)
|
29
30
|
- [doClose](FloatingManager.md#doclose)
|
@@ -166,6 +167,22 @@ src/ui/FloatingManager.ts:374
|
|
166
167
|
|
167
168
|
___
|
168
169
|
|
170
|
+
### closeAll
|
171
|
+
|
172
|
+
▸ `Static` **closeAll**(): `void`
|
173
|
+
|
174
|
+
Fecha todos os elemento flutuante da tela.
|
175
|
+
|
176
|
+
#### Returns
|
177
|
+
|
178
|
+
`void`
|
179
|
+
|
180
|
+
#### Defined in
|
181
|
+
|
182
|
+
src/ui/FloatingManager.ts:383
|
183
|
+
|
184
|
+
___
|
185
|
+
|
169
186
|
### createOrUpdatOverlay
|
170
187
|
|
171
188
|
▸ `Static` `Private` **createOrUpdatOverlay**(`className?`): `HTMLDivElement`
|
@@ -275,7 +292,7 @@ ___
|
|
275
292
|
|
276
293
|
#### Defined in
|
277
294
|
|
278
|
-
src/ui/FloatingManager.ts:
|
295
|
+
src/ui/FloatingManager.ts:422
|
279
296
|
|
280
297
|
___
|
281
298
|
|
@@ -314,7 +331,7 @@ ___
|
|
314
331
|
|
315
332
|
#### Defined in
|
316
333
|
|
317
|
-
src/ui/FloatingManager.ts:
|
334
|
+
src/ui/FloatingManager.ts:426
|
318
335
|
|
319
336
|
___
|
320
337
|
|
@@ -483,7 +500,7 @@ Controle a sobreposição do elemento
|
|
483
500
|
|
484
501
|
#### Defined in
|
485
502
|
|
486
|
-
src/ui/FloatingManager.ts:
|
503
|
+
src/ui/FloatingManager.ts:397
|
487
504
|
|
488
505
|
___
|
489
506
|
|
@@ -503,7 +520,7 @@ ___
|
|
503
520
|
|
504
521
|
#### Defined in
|
505
522
|
|
506
|
-
src/ui/FloatingManager.ts:
|
523
|
+
src/ui/FloatingManager.ts:412
|
507
524
|
|
508
525
|
___
|
509
526
|
|
package/classes/JSUtils.md
CHANGED
@@ -17,6 +17,8 @@ Classe com utiliários comuns para funções genéricas em JavaScript.
|
|
17
17
|
- [generateUUID](JSUtils.md#generateuuid)
|
18
18
|
- [isBase64](JSUtils.md#isbase64)
|
19
19
|
- [isEllipsisActive](JSUtils.md#isellipsisactive)
|
20
|
+
- [isHiddenElement](JSUtils.md#ishiddenelement)
|
21
|
+
- [replaceHtmlEntities](JSUtils.md#replacehtmlentities)
|
20
22
|
|
21
23
|
## Constructors
|
22
24
|
|
@@ -47,23 +49,23 @@ Método responsável em criar um timer para processar uma determinada função.
|
|
47
49
|
|
48
50
|
#### Defined in
|
49
51
|
|
50
|
-
src/utils/JSUtils.ts:
|
52
|
+
src/utils/JSUtils.ts:21
|
51
53
|
|
52
54
|
___
|
53
55
|
|
54
56
|
### debounceLeading
|
55
57
|
|
56
|
-
▸ `Static` **debounceLeading**(`callback`, `timeout
|
58
|
+
▸ `Static` **debounceLeading**(`callback`, `timeout?`, `context?`): `VoidFunction`
|
57
59
|
|
58
60
|
Método responsável por executar uma função e ignorar as outras posteriores até o tempo especificado.
|
59
61
|
|
60
62
|
#### Parameters
|
61
63
|
|
62
|
-
| Name | Type | Description |
|
63
|
-
| :------ | :------ | :------ |
|
64
|
-
| `callback` | `Function` | Função a ser invocada |
|
65
|
-
| `timeout` | `number` | Quantidade de tempo para aguardar antes de invocar novamente |
|
66
|
-
| `context?` | `any` | O contexto atual |
|
64
|
+
| Name | Type | Default value | Description |
|
65
|
+
| :------ | :------ | :------ | :------ |
|
66
|
+
| `callback` | `Function` | `undefined` | Função a ser invocada |
|
67
|
+
| `timeout` | `number` | `300` | Quantidade de tempo para aguardar antes de invocar novamente |
|
68
|
+
| `context?` | `any` | `undefined` | O contexto atual |
|
67
69
|
|
68
70
|
#### Returns
|
69
71
|
|
@@ -73,7 +75,7 @@ A função com o debounce
|
|
73
75
|
|
74
76
|
#### Defined in
|
75
77
|
|
76
|
-
src/utils/JSUtils.ts:
|
78
|
+
src/utils/JSUtils.ts:37
|
77
79
|
|
78
80
|
___
|
79
81
|
|
@@ -91,7 +93,7 @@ Método responsável em gerar um UUID.
|
|
91
93
|
|
92
94
|
#### Defined in
|
93
95
|
|
94
|
-
src/utils/JSUtils.ts:
|
96
|
+
src/utils/JSUtils.ts:95
|
95
97
|
|
96
98
|
___
|
97
99
|
|
@@ -115,7 +117,7 @@ Método que verifica se uma string está encodada com base64.
|
|
115
117
|
|
116
118
|
#### Defined in
|
117
119
|
|
118
|
-
src/utils/JSUtils.ts:
|
120
|
+
src/utils/JSUtils.ts:80
|
119
121
|
|
120
122
|
___
|
121
123
|
|
@@ -139,4 +141,48 @@ Método responsável em validar se um elemento HTML está com o ellipsis ativo.
|
|
139
141
|
|
140
142
|
#### Defined in
|
141
143
|
|
142
|
-
src/utils/JSUtils.ts:
|
144
|
+
src/utils/JSUtils.ts:60
|
145
|
+
|
146
|
+
___
|
147
|
+
|
148
|
+
### isHiddenElement
|
149
|
+
|
150
|
+
▸ `Static` **isHiddenElement**(`element`): `boolean`
|
151
|
+
|
152
|
+
#### Parameters
|
153
|
+
|
154
|
+
| Name | Type |
|
155
|
+
| :------ | :------ |
|
156
|
+
| `element` | `HTMLElement` |
|
157
|
+
|
158
|
+
#### Returns
|
159
|
+
|
160
|
+
`boolean`
|
161
|
+
|
162
|
+
#### Defined in
|
163
|
+
|
164
|
+
src/utils/JSUtils.ts:8
|
165
|
+
|
166
|
+
___
|
167
|
+
|
168
|
+
### replaceHtmlEntities
|
169
|
+
|
170
|
+
▸ `Static` **replaceHtmlEntities**(`source`): `string`
|
171
|
+
|
172
|
+
Substitui caracteres para suas entidades HTML.
|
173
|
+
|
174
|
+
#### Parameters
|
175
|
+
|
176
|
+
| Name | Type | Description |
|
177
|
+
| :------ | :------ | :------ |
|
178
|
+
| `source` | `string` | String a ter os caracteres substituidos. |
|
179
|
+
|
180
|
+
#### Returns
|
181
|
+
|
182
|
+
`string`
|
183
|
+
|
184
|
+
- Retorna um UUID.
|
185
|
+
|
186
|
+
#### Defined in
|
187
|
+
|
188
|
+
src/utils/JSUtils.ts:105
|
package/classes/ObjectUtils.md
CHANGED
@@ -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
|
package/classes/SelectionInfo.md
CHANGED
@@ -45,7 +45,7 @@
|
|
45
45
|
|
46
46
|
#### Defined in
|
47
47
|
|
48
|
-
src/dataunit/DataUnit.ts:
|
48
|
+
src/dataunit/DataUnit.ts:1867
|
49
49
|
|
50
50
|
## Properties
|
51
51
|
|
@@ -55,7 +55,7 @@ src/dataunit/DataUnit.ts:1851
|
|
55
55
|
|
56
56
|
#### Defined in
|
57
57
|
|
58
|
-
src/dataunit/DataUnit.ts:
|
58
|
+
src/dataunit/DataUnit.ts:1861
|
59
59
|
|
60
60
|
___
|
61
61
|
|
@@ -65,7 +65,7 @@ ___
|
|
65
65
|
|
66
66
|
#### Defined in
|
67
67
|
|
68
|
-
src/dataunit/DataUnit.ts:
|
68
|
+
src/dataunit/DataUnit.ts:1863
|
69
69
|
|
70
70
|
___
|
71
71
|
|
@@ -75,7 +75,7 @@ ___
|
|
75
75
|
|
76
76
|
#### Defined in
|
77
77
|
|
78
|
-
src/dataunit/DataUnit.ts:
|
78
|
+
src/dataunit/DataUnit.ts:1864
|
79
79
|
|
80
80
|
___
|
81
81
|
|
@@ -85,7 +85,7 @@ ___
|
|
85
85
|
|
86
86
|
#### Defined in
|
87
87
|
|
88
|
-
src/dataunit/DataUnit.ts:
|
88
|
+
src/dataunit/DataUnit.ts:1862
|
89
89
|
|
90
90
|
___
|
91
91
|
|
@@ -95,7 +95,7 @@ ___
|
|
95
95
|
|
96
96
|
#### Defined in
|
97
97
|
|
98
|
-
src/dataunit/DataUnit.ts:
|
98
|
+
src/dataunit/DataUnit.ts:1865
|
99
99
|
|
100
100
|
## Accessors
|
101
101
|
|
@@ -109,7 +109,7 @@ src/dataunit/DataUnit.ts:1849
|
|
109
109
|
|
110
110
|
#### Defined in
|
111
111
|
|
112
|
-
src/dataunit/DataUnit.ts:
|
112
|
+
src/dataunit/DataUnit.ts:1892
|
113
113
|
|
114
114
|
___
|
115
115
|
|
@@ -123,7 +123,7 @@ ___
|
|
123
123
|
|
124
124
|
#### Defined in
|
125
125
|
|
126
|
-
src/dataunit/DataUnit.ts:
|
126
|
+
src/dataunit/DataUnit.ts:1882
|
127
127
|
|
128
128
|
___
|
129
129
|
|
@@ -137,7 +137,7 @@ ___
|
|
137
137
|
|
138
138
|
#### Defined in
|
139
139
|
|
140
|
-
src/dataunit/DataUnit.ts:
|
140
|
+
src/dataunit/DataUnit.ts:1875
|
141
141
|
|
142
142
|
## Methods
|
143
143
|
|
@@ -151,7 +151,7 @@ src/dataunit/DataUnit.ts:1859
|
|
151
151
|
|
152
152
|
#### Defined in
|
153
153
|
|
154
|
-
src/dataunit/DataUnit.ts:
|
154
|
+
src/dataunit/DataUnit.ts:1899
|
155
155
|
|
156
156
|
___
|
157
157
|
|
@@ -165,4 +165,4 @@ ___
|
|
165
165
|
|
166
166
|
#### Defined in
|
167
167
|
|
168
|
-
src/dataunit/DataUnit.ts:
|
168
|
+
src/dataunit/DataUnit.ts:1903
|
package/classes/StringUtils.md
CHANGED
@@ -16,20 +16,27 @@
|
|
16
16
|
- [decodeHtmlEntities](StringUtils.md#decodehtmlentities)
|
17
17
|
- [formatBytes](StringUtils.md#formatbytes)
|
18
18
|
- [generateUUID](StringUtils.md#generateuuid)
|
19
|
+
- [getArgumentNumber](StringUtils.md#getargumentnumber)
|
19
20
|
- [getBooleanValue](StringUtils.md#getbooleanvalue)
|
20
21
|
- [getOppositeCase](StringUtils.md#getoppositecase)
|
22
|
+
- [getSpecialCharacters](StringUtils.md#getspecialcharacters)
|
21
23
|
- [hashCode](StringUtils.md#hashcode)
|
24
|
+
- [highlightValue](StringUtils.md#highlightvalue)
|
22
25
|
- [isCaseable](StringUtils.md#iscaseable)
|
23
26
|
- [isEmpty](StringUtils.md#isempty)
|
24
27
|
- [isLowerCase](StringUtils.md#islowercase)
|
25
28
|
- [padEnd](StringUtils.md#padend)
|
26
29
|
- [padStart](StringUtils.md#padstart)
|
27
30
|
- [prettyPrecision](StringUtils.md#prettyprecision)
|
31
|
+
- [removeSpecialCharacters](StringUtils.md#removespecialcharacters)
|
28
32
|
- [replaceAccentuatedChars](StringUtils.md#replaceaccentuatedchars)
|
33
|
+
- [replaceAccentuatedCharsHtmlEntities](StringUtils.md#replaceaccentuatedcharshtmlentities)
|
29
34
|
- [replaceAccentuatedCharsKeepSymbols](StringUtils.md#replaceaccentuatedcharskeepsymbols)
|
30
35
|
- [replaceAccentuatedCharsLower](StringUtils.md#replaceaccentuatedcharslower)
|
31
36
|
- [replaceAccentuatedCharsUpper](StringUtils.md#replaceaccentuatedcharsupper)
|
37
|
+
- [replaceAll](StringUtils.md#replaceall)
|
32
38
|
- [replaceBlankCharacters](StringUtils.md#replaceblankcharacters)
|
39
|
+
- [replaceToSpace](StringUtils.md#replacetospace)
|
33
40
|
- [toCamelCase](StringUtils.md#tocamelcase)
|
34
41
|
- [toKebabCase](StringUtils.md#tokebabcase)
|
35
42
|
- [toPascalCase](StringUtils.md#topascalcase)
|
@@ -64,7 +71,7 @@ Determina a ordem de strings.
|
|
64
71
|
|
65
72
|
#### Defined in
|
66
73
|
|
67
|
-
src/utils/StringUtils.ts:
|
74
|
+
src/utils/StringUtils.ts:236
|
68
75
|
|
69
76
|
___
|
70
77
|
|
@@ -92,7 +99,7 @@ entrada: "<Teste>" // retorno: "<Teste>"
|
|
92
99
|
|
93
100
|
#### Defined in
|
94
101
|
|
95
|
-
src/utils/StringUtils.ts:
|
102
|
+
src/utils/StringUtils.ts:62
|
96
103
|
|
97
104
|
___
|
98
105
|
|
@@ -117,7 +124,7 @@ string formatada de acordo com a unidade.
|
|
117
124
|
|
118
125
|
#### Defined in
|
119
126
|
|
120
|
-
src/utils/StringUtils.ts:
|
127
|
+
src/utils/StringUtils.ts:321
|
121
128
|
|
122
129
|
___
|
123
130
|
|
@@ -135,7 +142,27 @@ id único randômico.
|
|
135
142
|
|
136
143
|
#### Defined in
|
137
144
|
|
138
|
-
src/utils/StringUtils.ts:
|
145
|
+
src/utils/StringUtils.ts:367
|
146
|
+
|
147
|
+
___
|
148
|
+
|
149
|
+
### getArgumentNumber
|
150
|
+
|
151
|
+
▸ `Static` **getArgumentNumber**(`argument`): `number`
|
152
|
+
|
153
|
+
#### Parameters
|
154
|
+
|
155
|
+
| Name | Type |
|
156
|
+
| :------ | :------ |
|
157
|
+
| `argument` | `String` |
|
158
|
+
|
159
|
+
#### Returns
|
160
|
+
|
161
|
+
`number`
|
162
|
+
|
163
|
+
#### Defined in
|
164
|
+
|
165
|
+
src/utils/StringUtils.ts:471
|
139
166
|
|
140
167
|
___
|
141
168
|
|
@@ -167,7 +194,7 @@ Informado: 'false' | Retorna: false
|
|
167
194
|
|
168
195
|
#### Defined in
|
169
196
|
|
170
|
-
src/utils/StringUtils.ts:
|
197
|
+
src/utils/StringUtils.ts:166
|
171
198
|
|
172
199
|
___
|
173
200
|
|
@@ -191,7 +218,27 @@ A string invertida
|
|
191
218
|
|
192
219
|
#### Defined in
|
193
220
|
|
194
|
-
src/utils/StringUtils.ts:
|
221
|
+
src/utils/StringUtils.ts:402
|
222
|
+
|
223
|
+
___
|
224
|
+
|
225
|
+
### getSpecialCharacters
|
226
|
+
|
227
|
+
▸ `Static` **getSpecialCharacters**(`str`): `string`[]
|
228
|
+
|
229
|
+
#### Parameters
|
230
|
+
|
231
|
+
| Name | Type |
|
232
|
+
| :------ | :------ |
|
233
|
+
| `str` | `string` |
|
234
|
+
|
235
|
+
#### Returns
|
236
|
+
|
237
|
+
`string`[]
|
238
|
+
|
239
|
+
#### Defined in
|
240
|
+
|
241
|
+
src/utils/StringUtils.ts:443
|
195
242
|
|
196
243
|
___
|
197
244
|
|
@@ -221,7 +268,31 @@ Informado: '123456' | Retorna: 1450575459
|
|
221
268
|
|
222
269
|
#### Defined in
|
223
270
|
|
224
|
-
src/utils/StringUtils.ts:
|
271
|
+
src/utils/StringUtils.ts:145
|
272
|
+
|
273
|
+
___
|
274
|
+
|
275
|
+
### highlightValue
|
276
|
+
|
277
|
+
▸ `Static` **highlightValue**(`argument`, `matchFields`, `value`, `fieldMD`, `forceMatch`): `string`
|
278
|
+
|
279
|
+
#### Parameters
|
280
|
+
|
281
|
+
| Name | Type |
|
282
|
+
| :------ | :------ |
|
283
|
+
| `argument` | `String` |
|
284
|
+
| `matchFields` | `any` |
|
285
|
+
| `value` | `string` |
|
286
|
+
| `fieldMD` | `any` |
|
287
|
+
| `forceMatch` | `boolean` |
|
288
|
+
|
289
|
+
#### Returns
|
290
|
+
|
291
|
+
`string`
|
292
|
+
|
293
|
+
#### Defined in
|
294
|
+
|
295
|
+
src/utils/StringUtils.ts:475
|
225
296
|
|
226
297
|
___
|
227
298
|
|
@@ -245,7 +316,7 @@ Se a string pode ser convertida
|
|
245
316
|
|
246
317
|
#### Defined in
|
247
318
|
|
248
|
-
src/utils/StringUtils.ts:
|
319
|
+
src/utils/StringUtils.ts:377
|
249
320
|
|
250
321
|
___
|
251
322
|
|
@@ -270,7 +341,7 @@ Valores null e undefined são considerados como vazio.
|
|
270
341
|
|
271
342
|
#### Defined in
|
272
343
|
|
273
|
-
src/utils/StringUtils.ts:
|
344
|
+
src/utils/StringUtils.ts:18
|
274
345
|
|
275
346
|
___
|
276
347
|
|
@@ -294,7 +365,7 @@ Se a string é minúscula
|
|
294
365
|
|
295
366
|
#### Defined in
|
296
367
|
|
297
|
-
src/utils/StringUtils.ts:
|
368
|
+
src/utils/StringUtils.ts:390
|
298
369
|
|
299
370
|
___
|
300
371
|
|
@@ -333,7 +404,7 @@ Ou retorna o texto com os caracteres adicionados na direita.
|
|
333
404
|
|
334
405
|
#### Defined in
|
335
406
|
|
336
|
-
src/utils/StringUtils.ts:
|
407
|
+
src/utils/StringUtils.ts:220
|
337
408
|
|
338
409
|
___
|
339
410
|
|
@@ -372,7 +443,7 @@ Ou retorna o texto com os caracteres adicionados na esquerda.
|
|
372
443
|
|
373
444
|
#### Defined in
|
374
445
|
|
375
|
-
src/utils/StringUtils.ts:
|
446
|
+
src/utils/StringUtils.ts:195
|
376
447
|
|
377
448
|
___
|
378
449
|
|
@@ -397,7 +468,27 @@ simplificação do strNumber, sem os zeros à direita depois do ponto.
|
|
397
468
|
|
398
469
|
#### Defined in
|
399
470
|
|
400
|
-
src/utils/StringUtils.ts:
|
471
|
+
src/utils/StringUtils.ts:346
|
472
|
+
|
473
|
+
___
|
474
|
+
|
475
|
+
### removeSpecialCharacters
|
476
|
+
|
477
|
+
▸ `Static` **removeSpecialCharacters**(`str`): `string`
|
478
|
+
|
479
|
+
#### Parameters
|
480
|
+
|
481
|
+
| Name | Type |
|
482
|
+
| :------ | :------ |
|
483
|
+
| `str` | `string` |
|
484
|
+
|
485
|
+
#### Returns
|
486
|
+
|
487
|
+
`string`
|
488
|
+
|
489
|
+
#### Defined in
|
490
|
+
|
491
|
+
src/utils/StringUtils.ts:462
|
401
492
|
|
402
493
|
___
|
403
494
|
|
@@ -427,7 +518,27 @@ entrada: "á@Êç#Ò", true // retorno: "aEcO"
|
|
427
518
|
|
428
519
|
#### Defined in
|
429
520
|
|
430
|
-
src/utils/StringUtils.ts:
|
521
|
+
src/utils/StringUtils.ts:115
|
522
|
+
|
523
|
+
___
|
524
|
+
|
525
|
+
### replaceAccentuatedCharsHtmlEntities
|
526
|
+
|
527
|
+
▸ `Static` **replaceAccentuatedCharsHtmlEntities**(`source`): `string`
|
528
|
+
|
529
|
+
#### Parameters
|
530
|
+
|
531
|
+
| Name | Type |
|
532
|
+
| :------ | :------ |
|
533
|
+
| `source` | `string` |
|
534
|
+
|
535
|
+
#### Returns
|
536
|
+
|
537
|
+
`string`
|
538
|
+
|
539
|
+
#### Defined in
|
540
|
+
|
541
|
+
src/utils/StringUtils.ts:423
|
431
542
|
|
432
543
|
___
|
433
544
|
|
@@ -451,7 +562,7 @@ Remove acentos de vogais, substitui Ç por c e retorna a string em caixa alta ma
|
|
451
562
|
|
452
563
|
#### Defined in
|
453
564
|
|
454
|
-
src/utils/StringUtils.ts:
|
565
|
+
src/utils/StringUtils.ts:134
|
455
566
|
|
456
567
|
___
|
457
568
|
|
@@ -479,7 +590,7 @@ entrada: "áêçò" // retorno: "aeco"
|
|
479
590
|
|
480
591
|
#### Defined in
|
481
592
|
|
482
|
-
src/utils/StringUtils.ts:
|
593
|
+
src/utils/StringUtils.ts:92
|
483
594
|
|
484
595
|
___
|
485
596
|
|
@@ -507,7 +618,29 @@ entrada: "ÁÊÇÒ" // retorno: "AECO"
|
|
507
618
|
|
508
619
|
#### Defined in
|
509
620
|
|
510
|
-
src/utils/StringUtils.ts:
|
621
|
+
src/utils/StringUtils.ts:40
|
622
|
+
|
623
|
+
___
|
624
|
+
|
625
|
+
### replaceAll
|
626
|
+
|
627
|
+
▸ `Static` **replaceAll**(`str`, `strFrom`, `strTo`): `string`
|
628
|
+
|
629
|
+
#### Parameters
|
630
|
+
|
631
|
+
| Name | Type |
|
632
|
+
| :------ | :------ |
|
633
|
+
| `str` | `string` |
|
634
|
+
| `strFrom` | `string` |
|
635
|
+
| `strTo` | `string` |
|
636
|
+
|
637
|
+
#### Returns
|
638
|
+
|
639
|
+
`string`
|
640
|
+
|
641
|
+
#### Defined in
|
642
|
+
|
643
|
+
src/utils/StringUtils.ts:453
|
511
644
|
|
512
645
|
___
|
513
646
|
|
@@ -531,7 +664,28 @@ String sem espaços em branco.
|
|
531
664
|
|
532
665
|
#### Defined in
|
533
666
|
|
534
|
-
src/utils/StringUtils.ts:
|
667
|
+
src/utils/StringUtils.ts:311
|
668
|
+
|
669
|
+
___
|
670
|
+
|
671
|
+
### replaceToSpace
|
672
|
+
|
673
|
+
▸ `Static` **replaceToSpace**(`source`, `replaceList?`): `string`
|
674
|
+
|
675
|
+
#### Parameters
|
676
|
+
|
677
|
+
| Name | Type | Default value |
|
678
|
+
| :------ | :------ | :------ |
|
679
|
+
| `source` | `string` | `undefined` |
|
680
|
+
| `replaceList` | `string`[] | `[]` |
|
681
|
+
|
682
|
+
#### Returns
|
683
|
+
|
684
|
+
`string`
|
685
|
+
|
686
|
+
#### Defined in
|
687
|
+
|
688
|
+
src/utils/StringUtils.ts:406
|
535
689
|
|
536
690
|
___
|
537
691
|
|
@@ -562,7 +716,7 @@ String convertida em camelCase.
|
|
562
716
|
|
563
717
|
#### Defined in
|
564
718
|
|
565
|
-
src/utils/StringUtils.ts:
|
719
|
+
src/utils/StringUtils.ts:262
|
566
720
|
|
567
721
|
___
|
568
722
|
|
@@ -586,7 +740,7 @@ String convertida em KebabCase.
|
|
586
740
|
|
587
741
|
#### Defined in
|
588
742
|
|
589
|
-
src/utils/StringUtils.ts:
|
743
|
+
src/utils/StringUtils.ts:302
|
590
744
|
|
591
745
|
___
|
592
746
|
|
@@ -610,7 +764,7 @@ String convertida em PascalCase.
|
|
610
764
|
|
611
765
|
#### Defined in
|
612
766
|
|
613
|
-
src/utils/StringUtils.ts:
|
767
|
+
src/utils/StringUtils.ts:277
|
614
768
|
|
615
769
|
___
|
616
770
|
|
@@ -634,4 +788,4 @@ String convertida em snake_case.
|
|
634
788
|
|
635
789
|
#### Defined in
|
636
790
|
|
637
|
-
src/utils/StringUtils.ts:
|
791
|
+
src/utils/StringUtils.ts:289
|