@sankhyalabs/sankhyablocks-docs 4.0.3 → 4.2.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.
@@ -23,6 +23,16 @@
23
23
 
24
24
  ## Methods
25
25
 
26
+ ### `addClientEvent(eventID: String, handler: (clientEvent: IClientEventResponse, dataFetcherReacaller: IDataFetcherRecaller) => void) => Promise<void>`
27
+
28
+ Registra um client event para o DataFetcher da aplicação.
29
+
30
+ #### Returns
31
+
32
+ Type: `Promise<void>`
33
+
34
+
35
+
26
36
  ### `alert(title: string, message: string, icon?: string, options?: MessageOptions) => Promise<boolean>`
27
37
 
28
38
  Exibe o diálogo de alerta de acordo com os parâmetros passados.
@@ -236,6 +246,16 @@ Type: `Promise<boolean>`
236
246
 
237
247
 
238
248
 
249
+ ### `hasClientEvent(eventID: String) => Promise<boolean>`
250
+
251
+ Verfica se um client event está registrado no DataFetcher da aplicação.
252
+
253
+ #### Returns
254
+
255
+ Type: `Promise<boolean>`
256
+
257
+
258
+
239
259
  ### `info(message: string, options?: MessageOptions) => Promise<void>`
240
260
 
241
261
  Exibe uma informação efêmera (de segundo plano).
@@ -306,6 +326,16 @@ Type: `Promise<void>`
306
326
 
307
327
 
308
328
 
329
+ ### `removeClientEvent(eventID: String) => Promise<void>`
330
+
331
+ Remove um client event para o DataFetcher da aplicação.
332
+
333
+ #### Returns
334
+
335
+ Type: `Promise<void>`
336
+
337
+
338
+
309
339
  ### `saveConfig(key: string, data: Object) => Promise<any>`
310
340
 
311
341
  Salva a configuração de determinado recurso.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/sankhyablocks-docs",
3
- "version": "4.0.3",
3
+ "version": "4.2.1",
4
4
  "description": "Documentação da biblioteca de componentes Sankhya.",
5
5
  "main": "",
6
6
  "files": [