@sankhyalabs/core-docs 0.0.0-feat-dev-KB-28409.1 → 0.0.0-feat-dev-25106.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.
@@ -13,12 +13,7 @@
13
13
  ### Methods
14
14
 
15
15
  - [applyStringFilter](ArrayUtils.md#applystringfilter)
16
- - [find](ArrayUtils.md#find)
17
- - [indexOf](ArrayUtils.md#indexof)
18
- - [isIn](ArrayUtils.md#isin)
19
16
  - [normalizeSearchString](ArrayUtils.md#normalizesearchstring)
20
- - [removeAtIndex](ArrayUtils.md#removeatindex)
21
- - [removeReference](ArrayUtils.md#removereference)
22
17
  - [sortAlphabetically](ArrayUtils.md#sortalphabetically)
23
18
 
24
19
  ## Constructors
@@ -52,82 +47,7 @@ Filtra um array a partir de um critério textual.
52
47
 
53
48
  #### Defined in
54
49
 
55
- src/utils/ArrayUtils.ts:18
56
-
57
- ___
58
-
59
- ### find
60
-
61
- ▸ `Static` **find**(`arr`, `checkerFn`): `any`
62
-
63
- Ordena valores de um array alfabeticamente.
64
-
65
- #### Parameters
66
-
67
- | Name | Type | Description |
68
- | :------ | :------ | :------ |
69
- | `arr` | `any` | Array a ser ordenado. |
70
- | `checkerFn` | `any` | - |
71
-
72
- #### Returns
73
-
74
- `any`
75
-
76
- - Array ordenado alfabeticamente..
77
-
78
- #### Defined in
79
-
80
- src/utils/ArrayUtils.ts:69
81
-
82
- ___
83
-
84
- ### indexOf
85
-
86
- ▸ `Static` **indexOf**(`arr`, `obj`): `number`
87
-
88
- Retorna o objeto se for encontrado no array, ou -1 se não for encontrado.
89
-
90
- #### Parameters
91
-
92
- | Name | Type | Description |
93
- | :------ | :------ | :------ |
94
- | `arr` | `any` | Array onde está o objeto. |
95
- | `obj` | `any` | Objeto a ser procurado. |
96
-
97
- #### Returns
98
-
99
- `number`
100
-
101
- - Array ordenado alfabeticamente..
102
-
103
- #### Defined in
104
-
105
- src/utils/ArrayUtils.ts:88
106
-
107
- ___
108
-
109
- ### isIn
110
-
111
- ▸ `Static` **isIn**(`arr`, `obj`): `boolean`
112
-
113
- Remove um objeto do array.
114
-
115
- #### Parameters
116
-
117
- | Name | Type | Description |
118
- | :------ | :------ | :------ |
119
- | `arr` | `any` | - |
120
- | `obj` | `any` | Objeto a ser removido. |
121
-
122
- #### Returns
123
-
124
- `boolean`
125
-
126
- - Array sem o Objeto informado.
127
-
128
- #### Defined in
129
-
130
- src/utils/ArrayUtils.ts:131
50
+ src/utils/ArrayUtils.ts:17
131
51
 
132
52
  ___
133
53
 
@@ -151,57 +71,7 @@ Converte texto para caixa alta e substitui caracteres acentuados.
151
71
 
152
72
  #### Defined in
153
73
 
154
- src/utils/ArrayUtils.ts:36
155
-
156
- ___
157
-
158
- ### removeAtIndex
159
-
160
- ▸ `Static` **removeAtIndex**(`array`, `index`): `any`
161
-
162
- Remove um item de array de acordo com o index.
163
-
164
- #### Parameters
165
-
166
- | Name | Type | Description |
167
- | :------ | :------ | :------ |
168
- | `array` | `any` | Array onde está o item. |
169
- | `index` | `number` | Index do item a ser removido. |
170
-
171
- #### Returns
172
-
173
- `any`
174
-
175
- - Array sem o item do index informado.
176
-
177
- #### Defined in
178
-
179
- src/utils/ArrayUtils.ts:106
180
-
181
- ___
182
-
183
- ### removeReference
184
-
185
- ▸ `Static` **removeReference**(`array`, `obj`): `any`
186
-
187
- Remove um objeto do array.
188
-
189
- #### Parameters
190
-
191
- | Name | Type | Description |
192
- | :------ | :------ | :------ |
193
- | `array` | `any` | Array onde está o objeto. |
194
- | `obj` | `any` | Objeto a ser removido. |
195
-
196
- #### Returns
197
-
198
- `any`
199
-
200
- - Array sem o Objeto informado.
201
-
202
- #### Defined in
203
-
204
- src/utils/ArrayUtils.ts:119
74
+ src/utils/ArrayUtils.ts:35
205
75
 
206
76
  ___
207
77
 
@@ -226,4 +96,4 @@ Ordena valores de um array alfabeticamente.
226
96
 
227
97
  #### Defined in
228
98
 
229
- src/utils/ArrayUtils.ts:46
99
+ src/utils/ArrayUtils.ts:45
@@ -18,7 +18,6 @@ Classe com utiliários comuns para funções genéricas em JavaScript.
18
18
  - [isBase64](JSUtils.md#isbase64)
19
19
  - [isEllipsisActive](JSUtils.md#isellipsisactive)
20
20
  - [isHiddenElement](JSUtils.md#ishiddenelement)
21
- - [replaceHtmlEntities](JSUtils.md#replacehtmlentities)
22
21
 
23
22
  ## Constructors
24
23
 
@@ -162,27 +161,3 @@ ___
162
161
  #### Defined in
163
162
 
164
163
  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
@@ -13,7 +13,6 @@
13
13
  ### Methods
14
14
 
15
15
  - [copy](ObjectUtils.md#copy)
16
- - [equals](ObjectUtils.md#equals)
17
16
  - [objectToString](ObjectUtils.md#objecttostring)
18
17
  - [removeEmptyValues](ObjectUtils.md#removeemptyvalues)
19
18
  - [sortByProperty](ObjectUtils.md#sortbyproperty)
@@ -57,31 +56,6 @@ src/utils/ObjectUtils.ts:13
57
56
 
58
57
  ___
59
58
 
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
-
85
59
  ### objectToString
86
60
 
87
61
  ▸ `Static` **objectToString**(`data`): `string`
@@ -16,27 +16,21 @@
16
16
  - [decodeHtmlEntities](StringUtils.md#decodehtmlentities)
17
17
  - [formatBytes](StringUtils.md#formatbytes)
18
18
  - [generateUUID](StringUtils.md#generateuuid)
19
- - [getArgumentNumber](StringUtils.md#getargumentnumber)
20
19
  - [getBooleanValue](StringUtils.md#getbooleanvalue)
21
20
  - [getOppositeCase](StringUtils.md#getoppositecase)
22
- - [getSpecialCharacters](StringUtils.md#getspecialcharacters)
23
21
  - [hashCode](StringUtils.md#hashcode)
24
- - [highlightValue](StringUtils.md#highlightvalue)
25
22
  - [isCaseable](StringUtils.md#iscaseable)
26
23
  - [isEmpty](StringUtils.md#isempty)
27
24
  - [isLowerCase](StringUtils.md#islowercase)
25
+ - [isString](StringUtils.md#isstring)
28
26
  - [padEnd](StringUtils.md#padend)
29
27
  - [padStart](StringUtils.md#padstart)
30
28
  - [prettyPrecision](StringUtils.md#prettyprecision)
31
- - [removeSpecialCharacters](StringUtils.md#removespecialcharacters)
32
29
  - [replaceAccentuatedChars](StringUtils.md#replaceaccentuatedchars)
33
- - [replaceAccentuatedCharsHtmlEntities](StringUtils.md#replaceaccentuatedcharshtmlentities)
34
30
  - [replaceAccentuatedCharsKeepSymbols](StringUtils.md#replaceaccentuatedcharskeepsymbols)
35
31
  - [replaceAccentuatedCharsLower](StringUtils.md#replaceaccentuatedcharslower)
36
32
  - [replaceAccentuatedCharsUpper](StringUtils.md#replaceaccentuatedcharsupper)
37
- - [replaceAll](StringUtils.md#replaceall)
38
33
  - [replaceBlankCharacters](StringUtils.md#replaceblankcharacters)
39
- - [replaceToSpace](StringUtils.md#replacetospace)
40
34
  - [toCamelCase](StringUtils.md#tocamelcase)
41
35
  - [toKebabCase](StringUtils.md#tokebabcase)
42
36
  - [toPascalCase](StringUtils.md#topascalcase)
@@ -71,7 +65,7 @@ Determina a ordem de strings.
71
65
 
72
66
  #### Defined in
73
67
 
74
- src/utils/StringUtils.ts:236
68
+ src/utils/StringUtils.ts:248
75
69
 
76
70
  ___
77
71
 
@@ -99,7 +93,7 @@ entrada: "&lt;Teste&gt;" // retorno: "<Teste>"
99
93
 
100
94
  #### Defined in
101
95
 
102
- src/utils/StringUtils.ts:62
96
+ src/utils/StringUtils.ts:69
103
97
 
104
98
  ___
105
99
 
@@ -124,7 +118,7 @@ string formatada de acordo com a unidade.
124
118
 
125
119
  #### Defined in
126
120
 
127
- src/utils/StringUtils.ts:321
121
+ src/utils/StringUtils.ts:333
128
122
 
129
123
  ___
130
124
 
@@ -142,27 +136,7 @@ id único randômico.
142
136
 
143
137
  #### Defined in
144
138
 
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
+ src/utils/StringUtils.ts:379
166
140
 
167
141
  ___
168
142
 
@@ -194,7 +168,7 @@ Informado: 'false' | Retorna: false
194
168
 
195
169
  #### Defined in
196
170
 
197
- src/utils/StringUtils.ts:166
171
+ src/utils/StringUtils.ts:178
198
172
 
199
173
  ___
200
174
 
@@ -218,27 +192,7 @@ A string invertida
218
192
 
219
193
  #### Defined in
220
194
 
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
+ src/utils/StringUtils.ts:414
242
196
 
243
197
  ___
244
198
 
@@ -268,31 +222,7 @@ Informado: '123456' | Retorna: 1450575459
268
222
 
269
223
  #### Defined in
270
224
 
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
+ src/utils/StringUtils.ts:156
296
226
 
297
227
  ___
298
228
 
@@ -316,7 +246,7 @@ Se a string pode ser convertida
316
246
 
317
247
  #### Defined in
318
248
 
319
- src/utils/StringUtils.ts:377
249
+ src/utils/StringUtils.ts:389
320
250
 
321
251
  ___
322
252
 
@@ -341,7 +271,7 @@ Valores null e undefined são considerados como vazio.
341
271
 
342
272
  #### Defined in
343
273
 
344
- src/utils/StringUtils.ts:18
274
+ src/utils/StringUtils.ts:16
345
275
 
346
276
  ___
347
277
 
@@ -365,7 +295,29 @@ Se a string é minúscula
365
295
 
366
296
  #### Defined in
367
297
 
368
- src/utils/StringUtils.ts:390
298
+ src/utils/StringUtils.ts:402
299
+
300
+ ___
301
+
302
+ ### isString
303
+
304
+ ▸ `Static` **isString**(`text`): `boolean`
305
+
306
+ Verifica se argumento informado é do tipo string
307
+
308
+ #### Parameters
309
+
310
+ | Name | Type |
311
+ | :------ | :------ |
312
+ | `text` | `any` |
313
+
314
+ #### Returns
315
+
316
+ `boolean`
317
+
318
+ #### Defined in
319
+
320
+ src/utils/StringUtils.ts:36
369
321
 
370
322
  ___
371
323
 
@@ -404,7 +356,7 @@ Ou retorna o texto com os caracteres adicionados na direita.
404
356
 
405
357
  #### Defined in
406
358
 
407
- src/utils/StringUtils.ts:220
359
+ src/utils/StringUtils.ts:232
408
360
 
409
361
  ___
410
362
 
@@ -443,7 +395,7 @@ Ou retorna o texto com os caracteres adicionados na esquerda.
443
395
 
444
396
  #### Defined in
445
397
 
446
- src/utils/StringUtils.ts:195
398
+ src/utils/StringUtils.ts:207
447
399
 
448
400
  ___
449
401
 
@@ -468,27 +420,7 @@ simplificação do strNumber, sem os zeros à direita depois do ponto.
468
420
 
469
421
  #### Defined in
470
422
 
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
423
+ src/utils/StringUtils.ts:358
492
424
 
493
425
  ___
494
426
 
@@ -518,27 +450,7 @@ entrada: "á@Êç#Ò", true // retorno: "aEcO"
518
450
 
519
451
  #### Defined in
520
452
 
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
453
+ src/utils/StringUtils.ts:122
542
454
 
543
455
  ___
544
456
 
@@ -562,7 +474,7 @@ Remove acentos de vogais, substitui Ç por c e retorna a string em caixa alta ma
562
474
 
563
475
  #### Defined in
564
476
 
565
- src/utils/StringUtils.ts:134
477
+ src/utils/StringUtils.ts:141
566
478
 
567
479
  ___
568
480
 
@@ -590,7 +502,7 @@ entrada: "áêçò" // retorno: "aeco"
590
502
 
591
503
  #### Defined in
592
504
 
593
- src/utils/StringUtils.ts:92
505
+ src/utils/StringUtils.ts:99
594
506
 
595
507
  ___
596
508
 
@@ -618,29 +530,7 @@ entrada: "ÁÊÇÒ" // retorno: "AECO"
618
530
 
619
531
  #### Defined in
620
532
 
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
533
+ src/utils/StringUtils.ts:47
644
534
 
645
535
  ___
646
536
 
@@ -664,28 +554,7 @@ String sem espaços em branco.
664
554
 
665
555
  #### Defined in
666
556
 
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
557
+ src/utils/StringUtils.ts:323
689
558
 
690
559
  ___
691
560
 
@@ -716,7 +585,7 @@ String convertida em camelCase.
716
585
 
717
586
  #### Defined in
718
587
 
719
- src/utils/StringUtils.ts:262
588
+ src/utils/StringUtils.ts:274
720
589
 
721
590
  ___
722
591
 
@@ -740,7 +609,7 @@ String convertida em KebabCase.
740
609
 
741
610
  #### Defined in
742
611
 
743
- src/utils/StringUtils.ts:302
612
+ src/utils/StringUtils.ts:314
744
613
 
745
614
  ___
746
615
 
@@ -764,7 +633,7 @@ String convertida em PascalCase.
764
633
 
765
634
  #### Defined in
766
635
 
767
- src/utils/StringUtils.ts:277
636
+ src/utils/StringUtils.ts:289
768
637
 
769
638
  ___
770
639
 
@@ -788,4 +657,4 @@ String convertida em snake_case.
788
657
 
789
658
  #### Defined in
790
659
 
791
- src/utils/StringUtils.ts:289
660
+ src/utils/StringUtils.ts:301
package/modules.md CHANGED
@@ -45,7 +45,6 @@
45
45
  - [PromiseSync](classes/PromiseSync.md)
46
46
  - [ReadyUtil](classes/ReadyUtil.md)
47
47
  - [RequestMetadata](classes/RequestMetadata.md)
48
- - [SearchUtils](classes/SearchUtils.md)
49
48
  - [SelectionInfo](classes/SelectionInfo.md)
50
49
  - [SkwHttpProvider](classes/SkwHttpProvider.md)
51
50
  - [StringUtils](classes/StringUtils.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/core-docs",
3
- "version": "0.0.0-feat-dev-KB-28409.1",
3
+ "version": "0.0.0-feat-dev-25106.0",
4
4
  "description": "Documentação da biblioteca de componentes Sankhya.",
5
5
  "main": "",
6
6
  "files": [
@@ -1,43 +0,0 @@
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