@sankhyalabs/core-docs 5.15.0 → 5.20.0-dev.2
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 +96 -96
- package/classes/JSUtils.md +25 -0
- package/classes/ObjectUtils.md +26 -0
- package/classes/SearchUtils.md +43 -0
- package/classes/SelectionInfo.md +11 -11
- package/classes/StringUtils.md +177 -23
- 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
package/classes/ArrayUtils.md
CHANGED
@@ -13,7 +13,12 @@
|
|
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)
|
16
19
|
- [normalizeSearchString](ArrayUtils.md#normalizesearchstring)
|
20
|
+
- [removeAtIndex](ArrayUtils.md#removeatindex)
|
21
|
+
- [removeReference](ArrayUtils.md#removereference)
|
17
22
|
- [sortAlphabetically](ArrayUtils.md#sortalphabetically)
|
18
23
|
|
19
24
|
## Constructors
|
@@ -47,7 +52,82 @@ Filtra um array a partir de um critério textual.
|
|
47
52
|
|
48
53
|
#### Defined in
|
49
54
|
|
50
|
-
src/utils/ArrayUtils.ts:
|
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
|
51
131
|
|
52
132
|
___
|
53
133
|
|
@@ -71,7 +151,57 @@ Converte texto para caixa alta e substitui caracteres acentuados.
|
|
71
151
|
|
72
152
|
#### Defined in
|
73
153
|
|
74
|
-
src/utils/ArrayUtils.ts:
|
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
|
75
205
|
|
76
206
|
___
|
77
207
|
|
@@ -96,4 +226,4 @@ Ordena valores de um array alfabeticamente.
|
|
96
226
|
|
97
227
|
#### Defined in
|
98
228
|
|
99
|
-
src/utils/ArrayUtils.ts:
|
229
|
+
src/utils/ArrayUtils.ts:46
|
package/classes/Change.md
CHANGED
@@ -47,7 +47,7 @@
|
|
47
47
|
|
48
48
|
#### Defined in
|
49
49
|
|
50
|
-
src/dataunit/DataUnit.ts:
|
50
|
+
src/dataunit/DataUnit.ts:1768
|
51
51
|
|
52
52
|
## Properties
|
53
53
|
|
@@ -57,7 +57,7 @@ src/dataunit/DataUnit.ts:1764
|
|
57
57
|
|
58
58
|
#### Defined in
|
59
59
|
|
60
|
-
src/dataunit/DataUnit.ts:
|
60
|
+
src/dataunit/DataUnit.ts:1766
|
61
61
|
|
62
62
|
___
|
63
63
|
|
@@ -67,7 +67,7 @@ ___
|
|
67
67
|
|
68
68
|
#### Defined in
|
69
69
|
|
70
|
-
src/dataunit/DataUnit.ts:
|
70
|
+
src/dataunit/DataUnit.ts:1761
|
71
71
|
|
72
72
|
___
|
73
73
|
|
@@ -77,7 +77,7 @@ ___
|
|
77
77
|
|
78
78
|
#### Defined in
|
79
79
|
|
80
|
-
src/dataunit/DataUnit.ts:
|
80
|
+
src/dataunit/DataUnit.ts:1762
|
81
81
|
|
82
82
|
___
|
83
83
|
|
@@ -87,7 +87,7 @@ ___
|
|
87
87
|
|
88
88
|
#### Defined in
|
89
89
|
|
90
|
-
src/dataunit/DataUnit.ts:
|
90
|
+
src/dataunit/DataUnit.ts:1763
|
91
91
|
|
92
92
|
___
|
93
93
|
|
@@ -97,7 +97,7 @@ ___
|
|
97
97
|
|
98
98
|
#### Defined in
|
99
99
|
|
100
|
-
src/dataunit/DataUnit.ts:
|
100
|
+
src/dataunit/DataUnit.ts:1764
|
101
101
|
|
102
102
|
## Accessors
|
103
103
|
|
@@ -115,7 +115,7 @@ Obtém o tipo de operação que está sendo realizada.
|
|
115
115
|
|
116
116
|
#### Defined in
|
117
117
|
|
118
|
-
src/dataunit/DataUnit.ts:
|
118
|
+
src/dataunit/DataUnit.ts:1783
|
119
119
|
|
120
120
|
## Methods
|
121
121
|
|
@@ -133,7 +133,7 @@ Retorna se o DataUnit está em uma operação de cópia.
|
|
133
133
|
|
134
134
|
#### Defined in
|
135
135
|
|
136
|
-
src/dataunit/DataUnit.ts:
|
136
|
+
src/dataunit/DataUnit.ts:1805
|
137
137
|
|
138
138
|
___
|
139
139
|
|
@@ -151,7 +151,7 @@ Retorna se o DataUnit está em uma operação de deleção.
|
|
151
151
|
|
152
152
|
#### Defined in
|
153
153
|
|
154
|
-
src/dataunit/DataUnit.ts:
|
154
|
+
src/dataunit/DataUnit.ts:1816
|
155
155
|
|
156
156
|
___
|
157
157
|
|
@@ -169,7 +169,7 @@ Retorna se o DataUnit está em uma operação de inserção.
|
|
169
169
|
|
170
170
|
#### Defined in
|
171
171
|
|
172
|
-
src/dataunit/DataUnit.ts:
|
172
|
+
src/dataunit/DataUnit.ts:1794
|
173
173
|
|
174
174
|
___
|
175
175
|
|
@@ -187,4 +187,4 @@ Retorna se o DataUnit está em uma operação de atualização.
|
|
187
187
|
|
188
188
|
#### Defined in
|
189
189
|
|
190
|
-
src/dataunit/DataUnit.ts:
|
190
|
+
src/dataunit/DataUnit.ts:1827
|