@sankhyalabs/core 2.3.0 → 2.3.1
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/.releaserc +6 -3
- package/.reusable-default-scripts.yml +24 -0
- package/build.env +2 -1
- package/package.json +1 -1
- package/publish-docs.sh +13 -0
- package/.docs/.nojekyll +0 -1
- package/.docs/README.md +0 -57
- package/.docs/classes/ApplicationContext.md +0 -76
- package/.docs/classes/ArrayUtils.md +0 -89
- package/.docs/classes/AuthorizedServiceCaller.md +0 -76
- package/.docs/classes/Change.md +0 -168
- package/.docs/classes/DataUnit.md +0 -1394
- package/.docs/classes/DataUnitAction.md +0 -96
- package/.docs/classes/DateUtils.md +0 -190
- package/.docs/classes/ElementIDUtils.md +0 -222
- package/.docs/classes/ErrorException.md +0 -204
- package/.docs/classes/ErrorTracking.md +0 -54
- package/.docs/classes/FloatingManager.md +0 -384
- package/.docs/classes/HttpProvider.md +0 -96
- package/.docs/classes/MaskFormatter-1.md +0 -336
- package/.docs/classes/NumberUtils.md +0 -188
- package/.docs/classes/ObjectUtils.md +0 -81
- package/.docs/classes/ReadyUtil.md +0 -103
- package/.docs/classes/RequestMetadata.md +0 -84
- package/.docs/classes/SkwHttpProvider.md +0 -109
- package/.docs/classes/StringUtils.md +0 -315
- package/.docs/classes/TimeFormatter.md +0 -98
- package/.docs/classes/UserAgentUtils.md +0 -48
- package/.docs/classes/WaitingChangeException.md +0 -192
- package/.docs/classes/WarningException.md +0 -204
- package/.docs/enums/Action.md +0 -250
- package/.docs/enums/ChangeOperation.md +0 -52
- package/.docs/enums/DataType.md +0 -63
- package/.docs/enums/DependencyType.md +0 -41
- package/.docs/enums/SortMode.md +0 -30
- package/.docs/enums/UserInterface.md +0 -195
- package/.docs/interfaces/DUActionInterceptor.md +0 -29
- package/.docs/interfaces/ExecutionContext.md +0 -58
- package/.docs/interfaces/FieldDescriptor.md +0 -129
- package/.docs/interfaces/Filter.md +0 -41
- package/.docs/interfaces/IElementIDInfo.md +0 -30
- package/.docs/interfaces/LoadDataRequest.md +0 -63
- package/.docs/interfaces/LoadDataResponse.md +0 -30
- package/.docs/interfaces/PageRequest.md +0 -41
- package/.docs/interfaces/PaginationInfo.md +0 -63
- package/.docs/interfaces/QuickFilter.md +0 -30
- package/.docs/interfaces/Record.md +0 -40
- package/.docs/interfaces/SavedRecord.md +0 -55
- package/.docs/interfaces/Sort.md +0 -41
- package/.docs/interfaces/SortingProvider.md +0 -29
- package/.docs/interfaces/UnitMetadata.md +0 -41
- package/.docs/interfaces/WaitingChange.md +0 -41
- package/.docs/modules/MaskFormatter.md +0 -37
- package/.docs/modules.md +0 -63
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
[@sankhyalabs/core](../README.md) / [Exports](../modules.md) / ErrorTracking
|
|
2
|
-
|
|
3
|
-
# Class: ErrorTracking
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Constructors
|
|
8
|
-
|
|
9
|
-
- [constructor](ErrorTracking.md#constructor)
|
|
10
|
-
|
|
11
|
-
### Methods
|
|
12
|
-
|
|
13
|
-
- [init](ErrorTracking.md#init)
|
|
14
|
-
- [isInternalException](ErrorTracking.md#isinternalexception)
|
|
15
|
-
|
|
16
|
-
## Constructors
|
|
17
|
-
|
|
18
|
-
### constructor
|
|
19
|
-
|
|
20
|
-
• **new ErrorTracking**()
|
|
21
|
-
|
|
22
|
-
## Methods
|
|
23
|
-
|
|
24
|
-
### init
|
|
25
|
-
|
|
26
|
-
▸ `Static` **init**(): `void`
|
|
27
|
-
|
|
28
|
-
#### Returns
|
|
29
|
-
|
|
30
|
-
`void`
|
|
31
|
-
|
|
32
|
-
#### Defined in
|
|
33
|
-
|
|
34
|
-
src/traking/ErrorTraking.ts:6
|
|
35
|
-
|
|
36
|
-
___
|
|
37
|
-
|
|
38
|
-
### isInternalException
|
|
39
|
-
|
|
40
|
-
▸ `Static` `Private` **isInternalException**(`error`): `boolean`
|
|
41
|
-
|
|
42
|
-
#### Parameters
|
|
43
|
-
|
|
44
|
-
| Name | Type |
|
|
45
|
-
| :------ | :------ |
|
|
46
|
-
| `error` | `any` |
|
|
47
|
-
|
|
48
|
-
#### Returns
|
|
49
|
-
|
|
50
|
-
`boolean`
|
|
51
|
-
|
|
52
|
-
#### Defined in
|
|
53
|
-
|
|
54
|
-
src/traking/ErrorTraking.ts:17
|
|
@@ -1,384 +0,0 @@
|
|
|
1
|
-
[@sankhyalabs/core](../README.md) / [Exports](../modules.md) / FloatingManager
|
|
2
|
-
|
|
3
|
-
# Class: FloatingManager
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Constructors
|
|
8
|
-
|
|
9
|
-
- [constructor](FloatingManager.md#constructor)
|
|
10
|
-
|
|
11
|
-
### Properties
|
|
12
|
-
|
|
13
|
-
- [MODAL\_DEFAULT\_CLASSNAME](FloatingManager.md#modal_default_classname)
|
|
14
|
-
- [MODAL\_ELEMENT\_ID](FloatingManager.md#modal_element_id)
|
|
15
|
-
- [STYLE\_ELEMENT\_ID](FloatingManager.md#style_element_id)
|
|
16
|
-
- [entries](FloatingManager.md#entries)
|
|
17
|
-
- [initialized](FloatingManager.md#initialized)
|
|
18
|
-
|
|
19
|
-
### Methods
|
|
20
|
-
|
|
21
|
-
- [applyStyle](FloatingManager.md#applystyle)
|
|
22
|
-
- [close](FloatingManager.md#close)
|
|
23
|
-
- [createOrUpdatOverlay](FloatingManager.md#createorupdatoverlay)
|
|
24
|
-
- [createStyleElement](FloatingManager.md#createstyleelement)
|
|
25
|
-
- [doClose](FloatingManager.md#doclose)
|
|
26
|
-
- [float](FloatingManager.md#float)
|
|
27
|
-
- [getFloatIndex](FloatingManager.md#getfloatindex)
|
|
28
|
-
- [handleDocumentEvent](FloatingManager.md#handledocumentevent)
|
|
29
|
-
- [handleKeyboardEvent](FloatingManager.md#handlekeyboardevent)
|
|
30
|
-
- [hideOverlay](FloatingManager.md#hideoverlay)
|
|
31
|
-
- [init](FloatingManager.md#init)
|
|
32
|
-
- [innerClick](FloatingManager.md#innerclick)
|
|
33
|
-
- [isFloating](FloatingManager.md#isfloating)
|
|
34
|
-
- [showOverlay](FloatingManager.md#showoverlay)
|
|
35
|
-
- [updateFloatPosition](FloatingManager.md#updatefloatposition)
|
|
36
|
-
|
|
37
|
-
## Constructors
|
|
38
|
-
|
|
39
|
-
### constructor
|
|
40
|
-
|
|
41
|
-
• **new FloatingManager**()
|
|
42
|
-
|
|
43
|
-
## Properties
|
|
44
|
-
|
|
45
|
-
### MODAL\_DEFAULT\_CLASSNAME
|
|
46
|
-
|
|
47
|
-
▪ `Static` **MODAL\_DEFAULT\_CLASSNAME**: `string` = `"FloatingManager__modal"`
|
|
48
|
-
|
|
49
|
-
#### Defined in
|
|
50
|
-
|
|
51
|
-
src/ui/FloatingManager.ts:50
|
|
52
|
-
|
|
53
|
-
___
|
|
54
|
-
|
|
55
|
-
### MODAL\_ELEMENT\_ID
|
|
56
|
-
|
|
57
|
-
▪ `Static` **MODAL\_ELEMENT\_ID**: `string` = `"FloatingManager__overlay"`
|
|
58
|
-
|
|
59
|
-
#### Defined in
|
|
60
|
-
|
|
61
|
-
src/ui/FloatingManager.ts:51
|
|
62
|
-
|
|
63
|
-
___
|
|
64
|
-
|
|
65
|
-
### STYLE\_ELEMENT\_ID
|
|
66
|
-
|
|
67
|
-
▪ `Static` **STYLE\_ELEMENT\_ID**: `string` = `"FloatingManager__style"`
|
|
68
|
-
|
|
69
|
-
#### Defined in
|
|
70
|
-
|
|
71
|
-
src/ui/FloatingManager.ts:52
|
|
72
|
-
|
|
73
|
-
___
|
|
74
|
-
|
|
75
|
-
### entries
|
|
76
|
-
|
|
77
|
-
▪ `Static` `Private` **entries**: `FloatingEntry`[]
|
|
78
|
-
|
|
79
|
-
#### Defined in
|
|
80
|
-
|
|
81
|
-
src/ui/FloatingManager.ts:55
|
|
82
|
-
|
|
83
|
-
___
|
|
84
|
-
|
|
85
|
-
### initialized
|
|
86
|
-
|
|
87
|
-
▪ `Static` `Private` **initialized**: `boolean`
|
|
88
|
-
|
|
89
|
-
#### Defined in
|
|
90
|
-
|
|
91
|
-
src/ui/FloatingManager.ts:54
|
|
92
|
-
|
|
93
|
-
## Methods
|
|
94
|
-
|
|
95
|
-
### applyStyle
|
|
96
|
-
|
|
97
|
-
▸ `Static` `Private` **applyStyle**(`element`, `propertyName`, `value?`): `void`
|
|
98
|
-
|
|
99
|
-
#### Parameters
|
|
100
|
-
|
|
101
|
-
| Name | Type |
|
|
102
|
-
| :------ | :------ |
|
|
103
|
-
| `element` | `HTMLElement` |
|
|
104
|
-
| `propertyName` | `string` |
|
|
105
|
-
| `value?` | `string` |
|
|
106
|
-
|
|
107
|
-
#### Returns
|
|
108
|
-
|
|
109
|
-
`void`
|
|
110
|
-
|
|
111
|
-
#### Defined in
|
|
112
|
-
|
|
113
|
-
src/ui/FloatingManager.ts:115
|
|
114
|
-
|
|
115
|
-
___
|
|
116
|
-
|
|
117
|
-
### close
|
|
118
|
-
|
|
119
|
-
▸ `Static` **close**(`id`): `void`
|
|
120
|
-
|
|
121
|
-
#### Parameters
|
|
122
|
-
|
|
123
|
-
| Name | Type |
|
|
124
|
-
| :------ | :------ |
|
|
125
|
-
| `id` | `number` |
|
|
126
|
-
|
|
127
|
-
#### Returns
|
|
128
|
-
|
|
129
|
-
`void`
|
|
130
|
-
|
|
131
|
-
#### Defined in
|
|
132
|
-
|
|
133
|
-
src/ui/FloatingManager.ts:233
|
|
134
|
-
|
|
135
|
-
___
|
|
136
|
-
|
|
137
|
-
### createOrUpdatOverlay
|
|
138
|
-
|
|
139
|
-
▸ `Static` `Private` **createOrUpdatOverlay**(`className?`): `HTMLDivElement`
|
|
140
|
-
|
|
141
|
-
#### Parameters
|
|
142
|
-
|
|
143
|
-
| Name | Type | Default value |
|
|
144
|
-
| :------ | :------ | :------ |
|
|
145
|
-
| `className` | `string` | `FloatingManager.MODAL_DEFAULT_CLASSNAME` |
|
|
146
|
-
|
|
147
|
-
#### Returns
|
|
148
|
-
|
|
149
|
-
`HTMLDivElement`
|
|
150
|
-
|
|
151
|
-
#### Defined in
|
|
152
|
-
|
|
153
|
-
src/ui/FloatingManager.ts:179
|
|
154
|
-
|
|
155
|
-
___
|
|
156
|
-
|
|
157
|
-
### createStyleElement
|
|
158
|
-
|
|
159
|
-
▸ `Static` `Private` **createStyleElement**(): `void`
|
|
160
|
-
|
|
161
|
-
#### Returns
|
|
162
|
-
|
|
163
|
-
`void`
|
|
164
|
-
|
|
165
|
-
#### Defined in
|
|
166
|
-
|
|
167
|
-
src/ui/FloatingManager.ts:198
|
|
168
|
-
|
|
169
|
-
___
|
|
170
|
-
|
|
171
|
-
### doClose
|
|
172
|
-
|
|
173
|
-
▸ `Static` `Private` **doClose**(`id`, `entry`, `target?`, `event?`): `void`
|
|
174
|
-
|
|
175
|
-
#### Parameters
|
|
176
|
-
|
|
177
|
-
| Name | Type |
|
|
178
|
-
| :------ | :------ |
|
|
179
|
-
| `id` | `number` |
|
|
180
|
-
| `entry` | `FloatingEntry` |
|
|
181
|
-
| `target?` | `HTMLElement` |
|
|
182
|
-
| `event?` | `Event` |
|
|
183
|
-
|
|
184
|
-
#### Returns
|
|
185
|
-
|
|
186
|
-
`void`
|
|
187
|
-
|
|
188
|
-
#### Defined in
|
|
189
|
-
|
|
190
|
-
src/ui/FloatingManager.ts:76
|
|
191
|
-
|
|
192
|
-
___
|
|
193
|
-
|
|
194
|
-
### float
|
|
195
|
-
|
|
196
|
-
▸ `Static` **float**(`content`, `parent`, `options?`): `number`
|
|
197
|
-
|
|
198
|
-
#### Parameters
|
|
199
|
-
|
|
200
|
-
| Name | Type |
|
|
201
|
-
| :------ | :------ |
|
|
202
|
-
| `content` | `HTMLElement` |
|
|
203
|
-
| `parent` | `HTMLElement` |
|
|
204
|
-
| `options` | `FloatingOptions` |
|
|
205
|
-
|
|
206
|
-
#### Returns
|
|
207
|
-
|
|
208
|
-
`number`
|
|
209
|
-
|
|
210
|
-
#### Defined in
|
|
211
|
-
|
|
212
|
-
src/ui/FloatingManager.ts:136
|
|
213
|
-
|
|
214
|
-
___
|
|
215
|
-
|
|
216
|
-
### getFloatIndex
|
|
217
|
-
|
|
218
|
-
▸ `Static` `Private` **getFloatIndex**(`content`, `parent`): `number`
|
|
219
|
-
|
|
220
|
-
#### Parameters
|
|
221
|
-
|
|
222
|
-
| Name | Type |
|
|
223
|
-
| :------ | :------ |
|
|
224
|
-
| `content` | `HTMLElement` |
|
|
225
|
-
| `parent` | `HTMLElement` |
|
|
226
|
-
|
|
227
|
-
#### Returns
|
|
228
|
-
|
|
229
|
-
`number`
|
|
230
|
-
|
|
231
|
-
#### Defined in
|
|
232
|
-
|
|
233
|
-
src/ui/FloatingManager.ts:121
|
|
234
|
-
|
|
235
|
-
___
|
|
236
|
-
|
|
237
|
-
### handleDocumentEvent
|
|
238
|
-
|
|
239
|
-
▸ `Static` `Private` **handleDocumentEvent**(`event`): `void`
|
|
240
|
-
|
|
241
|
-
#### Parameters
|
|
242
|
-
|
|
243
|
-
| Name | Type |
|
|
244
|
-
| :------ | :------ |
|
|
245
|
-
| `event` | `Event` |
|
|
246
|
-
|
|
247
|
-
#### Returns
|
|
248
|
-
|
|
249
|
-
`void`
|
|
250
|
-
|
|
251
|
-
#### Defined in
|
|
252
|
-
|
|
253
|
-
src/ui/FloatingManager.ts:96
|
|
254
|
-
|
|
255
|
-
___
|
|
256
|
-
|
|
257
|
-
### handleKeyboardEvent
|
|
258
|
-
|
|
259
|
-
▸ `Static` `Private` **handleKeyboardEvent**(`event`): `void`
|
|
260
|
-
|
|
261
|
-
#### Parameters
|
|
262
|
-
|
|
263
|
-
| Name | Type |
|
|
264
|
-
| :------ | :------ |
|
|
265
|
-
| `event` | `KeyboardEvent` |
|
|
266
|
-
|
|
267
|
-
#### Returns
|
|
268
|
-
|
|
269
|
-
`void`
|
|
270
|
-
|
|
271
|
-
#### Defined in
|
|
272
|
-
|
|
273
|
-
src/ui/FloatingManager.ts:103
|
|
274
|
-
|
|
275
|
-
___
|
|
276
|
-
|
|
277
|
-
### hideOverlay
|
|
278
|
-
|
|
279
|
-
▸ `Static` `Private` **hideOverlay**(): `void`
|
|
280
|
-
|
|
281
|
-
#### Returns
|
|
282
|
-
|
|
283
|
-
`void`
|
|
284
|
-
|
|
285
|
-
#### Defined in
|
|
286
|
-
|
|
287
|
-
src/ui/FloatingManager.ts:167
|
|
288
|
-
|
|
289
|
-
___
|
|
290
|
-
|
|
291
|
-
### init
|
|
292
|
-
|
|
293
|
-
▸ `Static` `Private` **init**(): `void`
|
|
294
|
-
|
|
295
|
-
#### Returns
|
|
296
|
-
|
|
297
|
-
`void`
|
|
298
|
-
|
|
299
|
-
#### Defined in
|
|
300
|
-
|
|
301
|
-
src/ui/FloatingManager.ts:57
|
|
302
|
-
|
|
303
|
-
___
|
|
304
|
-
|
|
305
|
-
### innerClick
|
|
306
|
-
|
|
307
|
-
▸ `Static` `Private` **innerClick**(`container`, `node`): `boolean`
|
|
308
|
-
|
|
309
|
-
#### Parameters
|
|
310
|
-
|
|
311
|
-
| Name | Type |
|
|
312
|
-
| :------ | :------ |
|
|
313
|
-
| `container` | `HTMLElement` |
|
|
314
|
-
| `node` | `HTMLElement` |
|
|
315
|
-
|
|
316
|
-
#### Returns
|
|
317
|
-
|
|
318
|
-
`boolean`
|
|
319
|
-
|
|
320
|
-
#### Defined in
|
|
321
|
-
|
|
322
|
-
src/ui/FloatingManager.ts:64
|
|
323
|
-
|
|
324
|
-
___
|
|
325
|
-
|
|
326
|
-
### isFloating
|
|
327
|
-
|
|
328
|
-
▸ `Static` **isFloating**(`id`): `boolean`
|
|
329
|
-
|
|
330
|
-
#### Parameters
|
|
331
|
-
|
|
332
|
-
| Name | Type |
|
|
333
|
-
| :------ | :------ |
|
|
334
|
-
| `id` | `number` |
|
|
335
|
-
|
|
336
|
-
#### Returns
|
|
337
|
-
|
|
338
|
-
`boolean`
|
|
339
|
-
|
|
340
|
-
#### Defined in
|
|
341
|
-
|
|
342
|
-
src/ui/FloatingManager.ts:132
|
|
343
|
-
|
|
344
|
-
___
|
|
345
|
-
|
|
346
|
-
### showOverlay
|
|
347
|
-
|
|
348
|
-
▸ `Static` `Private` **showOverlay**(`options`): `void`
|
|
349
|
-
|
|
350
|
-
#### Parameters
|
|
351
|
-
|
|
352
|
-
| Name | Type |
|
|
353
|
-
| :------ | :------ |
|
|
354
|
-
| `options` | `FloatingOptions` |
|
|
355
|
-
|
|
356
|
-
#### Returns
|
|
357
|
-
|
|
358
|
-
`void`
|
|
359
|
-
|
|
360
|
-
#### Defined in
|
|
361
|
-
|
|
362
|
-
src/ui/FloatingManager.ts:161
|
|
363
|
-
|
|
364
|
-
___
|
|
365
|
-
|
|
366
|
-
### updateFloatPosition
|
|
367
|
-
|
|
368
|
-
▸ `Static` **updateFloatPosition**(`content`, `parent`, `options?`): `void`
|
|
369
|
-
|
|
370
|
-
#### Parameters
|
|
371
|
-
|
|
372
|
-
| Name | Type |
|
|
373
|
-
| :------ | :------ |
|
|
374
|
-
| `content` | `HTMLElement` |
|
|
375
|
-
| `parent` | `HTMLElement` |
|
|
376
|
-
| `options` | `FloatingOptions` |
|
|
377
|
-
|
|
378
|
-
#### Returns
|
|
379
|
-
|
|
380
|
-
`void`
|
|
381
|
-
|
|
382
|
-
#### Defined in
|
|
383
|
-
|
|
384
|
-
src/ui/FloatingManager.ts:222
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
[@sankhyalabs/core](../README.md) / [Exports](../modules.md) / HttpProvider
|
|
2
|
-
|
|
3
|
-
# Class: HttpProvider
|
|
4
|
-
|
|
5
|
-
Abstração do XMLHttpRequest. Este serviço é responsável por realizar as requisições
|
|
6
|
-
ao backend. Todos os métodos são estáticos.
|
|
7
|
-
|
|
8
|
-
## Table of contents
|
|
9
|
-
|
|
10
|
-
### Constructors
|
|
11
|
-
|
|
12
|
-
- [constructor](HttpProvider.md#constructor)
|
|
13
|
-
|
|
14
|
-
### Methods
|
|
15
|
-
|
|
16
|
-
- [dispatch](HttpProvider.md#dispatch)
|
|
17
|
-
- [get](HttpProvider.md#get)
|
|
18
|
-
- [post](HttpProvider.md#post)
|
|
19
|
-
|
|
20
|
-
## Constructors
|
|
21
|
-
|
|
22
|
-
### constructor
|
|
23
|
-
|
|
24
|
-
• **new HttpProvider**()
|
|
25
|
-
|
|
26
|
-
## Methods
|
|
27
|
-
|
|
28
|
-
### dispatch
|
|
29
|
-
|
|
30
|
-
▸ `Static` `Private` **dispatch**(`requestMetadata`, `payload?`): `Promise`<`any`\>
|
|
31
|
-
|
|
32
|
-
#### Parameters
|
|
33
|
-
|
|
34
|
-
| Name | Type |
|
|
35
|
-
| :------ | :------ |
|
|
36
|
-
| `requestMetadata` | [`RequestMetadata`](RequestMetadata.md) |
|
|
37
|
-
| `payload?` | `Object` |
|
|
38
|
-
|
|
39
|
-
#### Returns
|
|
40
|
-
|
|
41
|
-
`Promise`<`any`\>
|
|
42
|
-
|
|
43
|
-
#### Defined in
|
|
44
|
-
|
|
45
|
-
src/http/HttpProvider.ts:32
|
|
46
|
-
|
|
47
|
-
___
|
|
48
|
-
|
|
49
|
-
### get
|
|
50
|
-
|
|
51
|
-
▸ `Static` **get**(`url`, `headers?`): `Promise`<`Object`\>
|
|
52
|
-
|
|
53
|
-
Faz uma requisição usando o método GET do HTTP para uma URL específica.
|
|
54
|
-
|
|
55
|
-
#### Parameters
|
|
56
|
-
|
|
57
|
-
| Name | Type | Description |
|
|
58
|
-
| :------ | :------ | :------ |
|
|
59
|
-
| `url` | `string` | A URL que deve ser chamada. |
|
|
60
|
-
| `headers?` | `Header`[] | [Opcional] Cabeçalhos HTTP. |
|
|
61
|
-
|
|
62
|
-
#### Returns
|
|
63
|
-
|
|
64
|
-
`Promise`<`Object`\>
|
|
65
|
-
|
|
66
|
-
Uma promessa de que a requisição será preenchida.
|
|
67
|
-
|
|
68
|
-
#### Defined in
|
|
69
|
-
|
|
70
|
-
src/http/HttpProvider.ts:16
|
|
71
|
-
|
|
72
|
-
___
|
|
73
|
-
|
|
74
|
-
### post
|
|
75
|
-
|
|
76
|
-
▸ `Static` **post**(`url`, `payload`, `headers?`): `Promise`<`any`\>
|
|
77
|
-
|
|
78
|
-
Faz uma requisição usando o método POST do HTTP para uma URL específica.
|
|
79
|
-
|
|
80
|
-
#### Parameters
|
|
81
|
-
|
|
82
|
-
| Name | Type | Description |
|
|
83
|
-
| :------ | :------ | :------ |
|
|
84
|
-
| `url` | `string` | A URL que deve ser chamada. |
|
|
85
|
-
| `payload` | `Object` | Informações a serem enviadas. |
|
|
86
|
-
| `headers?` | `Header`[] | [Opcional] Cabeçalhos HTTP. |
|
|
87
|
-
|
|
88
|
-
#### Returns
|
|
89
|
-
|
|
90
|
-
`Promise`<`any`\>
|
|
91
|
-
|
|
92
|
-
Uma promessa de que a requisição será preenchida.
|
|
93
|
-
|
|
94
|
-
#### Defined in
|
|
95
|
-
|
|
96
|
-
src/http/HttpProvider.ts:28
|