buzzcasting-utils 1.3.0 → 1.3.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/dist/buzzcasting-utils.d.ts +114 -671
- package/package.json +1 -1
|
@@ -1,3 +1,61 @@
|
|
|
1
|
+
import { Countries } from './interfaces';
|
|
2
|
+
import { CountriesGeometry } from './interfaces';
|
|
3
|
+
import { IAnimation } from './interfaces';
|
|
4
|
+
import { IArc } from './interfaces';
|
|
5
|
+
import { IAttachedMedia } from './interfaces';
|
|
6
|
+
import { IBorders } from './interfaces';
|
|
7
|
+
import { IBrand } from './interfaces';
|
|
8
|
+
import { ICardOptions } from './interfaces';
|
|
9
|
+
import { ICloud } from './interfaces';
|
|
10
|
+
import { ICloudBubbles } from './interfaces';
|
|
11
|
+
import { ICloudConfig } from './interfaces';
|
|
12
|
+
import { ICloudCss } from './interfaces';
|
|
13
|
+
import { ICloudD3 } from './interfaces';
|
|
14
|
+
import { ICloudDateFormat } from './interfaces';
|
|
15
|
+
import { ICloudDimensions } from './interfaces';
|
|
16
|
+
import { ICloudInfluencers } from './interfaces';
|
|
17
|
+
import { ICloudInfluencersData } from './interfaces';
|
|
18
|
+
import { ICloudKpi } from './interfaces';
|
|
19
|
+
import { ICloudLegend } from './interfaces';
|
|
20
|
+
import { ICloudOptions } from './interfaces';
|
|
21
|
+
import { ICloudPie } from './interfaces';
|
|
22
|
+
import { ICloudShow } from './interfaces';
|
|
23
|
+
import { ICountries } from './interfaces';
|
|
24
|
+
import { ICountry } from './interfaces';
|
|
25
|
+
import { ICss } from './interfaces';
|
|
26
|
+
import { ID3 } from './interfaces';
|
|
27
|
+
import { ID3Bubbles } from './interfaces';
|
|
28
|
+
import { ID3Data } from './interfaces';
|
|
29
|
+
import { ID3Legend } from './interfaces';
|
|
30
|
+
import { ID3Map } from './interfaces';
|
|
31
|
+
import { ID3Options } from './interfaces';
|
|
32
|
+
import { ID3Pie } from './interfaces';
|
|
33
|
+
import { IDateFormat } from './interfaces';
|
|
34
|
+
import { IEchartsLine } from './interfaces';
|
|
35
|
+
import { ILand } from './interfaces';
|
|
36
|
+
import { IMessage } from './interfaces';
|
|
37
|
+
import { IMessages } from './interfaces';
|
|
38
|
+
import { IModal } from './interfaces';
|
|
39
|
+
import { IQuery } from '../interfaces';
|
|
40
|
+
import { IResponse } from './interfaces';
|
|
41
|
+
import { IRotatingGlobe } from './interfaces';
|
|
42
|
+
import { ISeries } from './interfaces';
|
|
43
|
+
import { ISeriesConfig } from './interfaces';
|
|
44
|
+
import { ISeriesCss } from './interfaces';
|
|
45
|
+
import { ISeriesD3 } from './interfaces';
|
|
46
|
+
import { ISeriesData } from './interfaces';
|
|
47
|
+
import { ISeriesDateFormat } from './interfaces';
|
|
48
|
+
import { ISeriesOptions } from './interfaces';
|
|
49
|
+
import { ISeriesShow } from './interfaces';
|
|
50
|
+
import { IShow } from './interfaces';
|
|
51
|
+
import { ISphere } from './interfaces';
|
|
52
|
+
import { IStorageOptions } from './interfaces';
|
|
53
|
+
import { IStorageOptions as IStorageOptions_2 } from '../interfaces';
|
|
54
|
+
import { Label } from './interfaces';
|
|
55
|
+
import { Land } from './interfaces';
|
|
56
|
+
import { LandGeometry } from './interfaces';
|
|
57
|
+
import { Transform } from './interfaces';
|
|
58
|
+
|
|
1
59
|
export declare function anonymize(name: string): string;
|
|
2
60
|
|
|
3
61
|
export declare enum API {
|
|
@@ -19,9 +77,6 @@ export declare enum API {
|
|
|
19
77
|
|
|
20
78
|
export declare type ApiData = ISeries & IMessages & ICloud;
|
|
21
79
|
|
|
22
|
-
declare interface AreaStyle {
|
|
23
|
-
}
|
|
24
|
-
|
|
25
80
|
export declare function attachedMedia(message: IMessage): IAttachedMedia_2;
|
|
26
81
|
|
|
27
82
|
export declare function attrs(attributes: NamedNodeMap): any;
|
|
@@ -52,27 +107,9 @@ export declare const capitalizeFirstLetter: (prop: string) => string;
|
|
|
52
107
|
*/
|
|
53
108
|
export declare function clearContents(myNode: HTMLElement): void;
|
|
54
109
|
|
|
55
|
-
export
|
|
56
|
-
type: string;
|
|
57
|
-
geometries: CountriesGeometry[];
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export declare interface CountriesGeometry {
|
|
61
|
-
type: Type;
|
|
62
|
-
arcs: Array<Array<number[] | number>>;
|
|
63
|
-
id?: string;
|
|
64
|
-
properties: CountryProperties;
|
|
65
|
-
}
|
|
110
|
+
export { Countries }
|
|
66
111
|
|
|
67
|
-
|
|
68
|
-
countries: Countries;
|
|
69
|
-
land: Land;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
declare interface CountryProperties {
|
|
73
|
-
name: string;
|
|
74
|
-
code: string;
|
|
75
|
-
}
|
|
112
|
+
export { CountriesGeometry }
|
|
76
113
|
|
|
77
114
|
declare enum CSS_2 {
|
|
78
115
|
API = "color:white;background-color:grey;padding:0 4px 0 4px;border-radius:5px;",
|
|
@@ -176,27 +213,11 @@ export declare const HTMLtoDOM: (html: string, doc: any) => any;
|
|
|
176
213
|
|
|
177
214
|
export declare const HTMLtoXML: (html: string) => string;
|
|
178
215
|
|
|
179
|
-
export
|
|
180
|
-
items?: number;
|
|
181
|
-
interval: number;
|
|
182
|
-
animation: number;
|
|
183
|
-
speed?: '' | 'slow' | 'slower' | 'fast' | 'faster';
|
|
184
|
-
delay?: number;
|
|
185
|
-
parentTag?: string;
|
|
186
|
-
}
|
|
216
|
+
export { IAnimation }
|
|
187
217
|
|
|
188
|
-
export
|
|
189
|
-
strokeStyle: string;
|
|
190
|
-
lineWidth: number;
|
|
191
|
-
}
|
|
218
|
+
export { IArc }
|
|
192
219
|
|
|
193
|
-
export
|
|
194
|
-
image?: string;
|
|
195
|
-
background: {
|
|
196
|
-
backgroundimage?: string;
|
|
197
|
-
} | null;
|
|
198
|
-
video?: string;
|
|
199
|
-
}
|
|
220
|
+
export { IAttachedMedia }
|
|
200
221
|
|
|
201
222
|
declare interface IAttachedMedia_2 {
|
|
202
223
|
image?: string;
|
|
@@ -206,310 +227,59 @@ declare interface IAttachedMedia_2 {
|
|
|
206
227
|
video?: string;
|
|
207
228
|
}
|
|
208
229
|
|
|
209
|
-
export
|
|
210
|
-
strokeStyle: string;
|
|
211
|
-
lineWidth: number;
|
|
212
|
-
}
|
|
230
|
+
export { IBorders }
|
|
213
231
|
|
|
214
|
-
export
|
|
215
|
-
show?: boolean;
|
|
216
|
-
size?: string;
|
|
217
|
-
}
|
|
232
|
+
export { IBrand }
|
|
218
233
|
|
|
219
|
-
export
|
|
220
|
-
animation?: IAnimation;
|
|
221
|
-
brand?: IBrand;
|
|
222
|
-
css?: ICss;
|
|
223
|
-
d3?: ID3;
|
|
224
|
-
dateformat?: IDateFormat;
|
|
225
|
-
show?: IShow;
|
|
226
|
-
}
|
|
234
|
+
export { ICardOptions }
|
|
227
235
|
|
|
228
|
-
export
|
|
229
|
-
type: string;
|
|
230
|
-
data: string[];
|
|
231
|
-
}
|
|
236
|
+
export { ICloud }
|
|
232
237
|
|
|
233
|
-
|
|
234
|
-
* Cloud
|
|
235
|
-
*/
|
|
236
|
-
export declare interface ICloud {
|
|
237
|
-
labels: ILabel[];
|
|
238
|
-
current: any[];
|
|
239
|
-
previous: any[];
|
|
240
|
-
type: string;
|
|
241
|
-
total: number;
|
|
242
|
-
current_total: number;
|
|
243
|
-
previous_total: number;
|
|
244
|
-
}
|
|
238
|
+
export { ICloudBubbles }
|
|
245
239
|
|
|
246
|
-
export
|
|
247
|
-
size: number;
|
|
248
|
-
classlist: string;
|
|
249
|
-
force: number;
|
|
250
|
-
color: string;
|
|
251
|
-
}
|
|
240
|
+
export { ICloudConfig }
|
|
252
241
|
|
|
253
|
-
export
|
|
254
|
-
fixed?: number;
|
|
255
|
-
abbreviate?: boolean;
|
|
256
|
-
}
|
|
242
|
+
export { ICloudCss }
|
|
257
243
|
|
|
258
|
-
export
|
|
259
|
-
arrowdown?: string;
|
|
260
|
-
arrowup?: string;
|
|
261
|
-
backdrop?: string;
|
|
262
|
-
body?: string;
|
|
263
|
-
brand?: string;
|
|
264
|
-
change?: string;
|
|
265
|
-
chart?: string;
|
|
266
|
-
count?: string;
|
|
267
|
-
container?: string;
|
|
268
|
-
date?: string;
|
|
269
|
-
down?: string;
|
|
270
|
-
host?: string;
|
|
271
|
-
image?: string;
|
|
272
|
-
key?: string;
|
|
273
|
-
legend?: string;
|
|
274
|
-
title?: string;
|
|
275
|
-
up?: string;
|
|
276
|
-
widget?: string;
|
|
277
|
-
dark?: boolean;
|
|
278
|
-
}
|
|
244
|
+
export { ICloudD3 }
|
|
279
245
|
|
|
280
|
-
export
|
|
281
|
-
globe: {
|
|
282
|
-
colors: {
|
|
283
|
-
arc: string;
|
|
284
|
-
border: string;
|
|
285
|
-
country: string;
|
|
286
|
-
land: string;
|
|
287
|
-
sphere: string;
|
|
288
|
-
};
|
|
289
|
-
settings?: {
|
|
290
|
-
canvas?: string;
|
|
291
|
-
card?: string;
|
|
292
|
-
width?: number;
|
|
293
|
-
height?: number;
|
|
294
|
-
};
|
|
295
|
-
};
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
export declare interface ICloudDateFormat {
|
|
299
|
-
time?: string;
|
|
300
|
-
date?: string;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
export declare interface ICloudDimensions {
|
|
304
|
-
width: number;
|
|
305
|
-
height: number;
|
|
306
|
-
}
|
|
246
|
+
export { ICloudDateFormat }
|
|
307
247
|
|
|
308
|
-
|
|
309
|
-
total: number;
|
|
310
|
-
positive: number;
|
|
311
|
-
negative: number;
|
|
312
|
-
neutral: number;
|
|
313
|
-
engagement: number;
|
|
314
|
-
reach: number;
|
|
315
|
-
velocity: number;
|
|
316
|
-
}
|
|
248
|
+
export { ICloudDimensions }
|
|
317
249
|
|
|
318
|
-
export
|
|
319
|
-
labels?: Label[];
|
|
320
|
-
title?: string;
|
|
321
|
-
current?: ICloudInfluencersData[];
|
|
322
|
-
previous?: ICloudInfluencersData[];
|
|
323
|
-
type: string;
|
|
324
|
-
total?: number;
|
|
325
|
-
current_total?: number;
|
|
326
|
-
previous_total?: number;
|
|
327
|
-
}
|
|
250
|
+
export { ICloudInfluencers }
|
|
328
251
|
|
|
329
|
-
export
|
|
330
|
-
color: string;
|
|
331
|
-
label: string;
|
|
332
|
-
avatar: string;
|
|
333
|
-
rank: number;
|
|
334
|
-
authors: string;
|
|
335
|
-
influencers: string;
|
|
336
|
-
total: number;
|
|
337
|
-
positive: number;
|
|
338
|
-
neutral: number;
|
|
339
|
-
negative: number;
|
|
340
|
-
potential_reach: number;
|
|
341
|
-
reach_per_result: number;
|
|
342
|
-
engagement: number;
|
|
343
|
-
engagement_per_result: number;
|
|
344
|
-
profile: string;
|
|
345
|
-
biography: string;
|
|
346
|
-
country: string;
|
|
347
|
-
}
|
|
252
|
+
export { ICloudInfluencersData }
|
|
348
253
|
|
|
349
|
-
export
|
|
350
|
-
name: string;
|
|
351
|
-
}
|
|
254
|
+
export { ICloudKpi }
|
|
352
255
|
|
|
353
|
-
export
|
|
354
|
-
count?: {
|
|
355
|
-
width?: string;
|
|
356
|
-
height?: string;
|
|
357
|
-
};
|
|
358
|
-
key: {
|
|
359
|
-
width: string;
|
|
360
|
-
};
|
|
361
|
-
width: string;
|
|
362
|
-
position: string;
|
|
363
|
-
gap?: {
|
|
364
|
-
column: string;
|
|
365
|
-
row: string;
|
|
366
|
-
};
|
|
367
|
-
show: {
|
|
368
|
-
percentage: boolean;
|
|
369
|
-
};
|
|
370
|
-
}
|
|
256
|
+
export { ICloudLegend }
|
|
371
257
|
|
|
372
|
-
export
|
|
373
|
-
css?: ICloudCss;
|
|
374
|
-
d3?: ICloudD3;
|
|
375
|
-
dateformat?: ICloudDateFormat;
|
|
376
|
-
show?: ICloudShow;
|
|
377
|
-
config?: ICloudConfig;
|
|
378
|
-
colors?: string[];
|
|
379
|
-
dimensions?: ICloudDimensions;
|
|
380
|
-
pie?: ICloudPie;
|
|
381
|
-
kpi?: ICloudKpi;
|
|
382
|
-
legend?: ICloudLegend;
|
|
383
|
-
bubbles?: ICloudBubbles;
|
|
384
|
-
}
|
|
258
|
+
export { ICloudOptions }
|
|
385
259
|
|
|
386
|
-
export
|
|
387
|
-
radius: {
|
|
388
|
-
inner: number;
|
|
389
|
-
outer: number;
|
|
390
|
-
};
|
|
391
|
-
animation: {
|
|
392
|
-
duration: number;
|
|
393
|
-
};
|
|
394
|
-
}
|
|
260
|
+
export { ICloudPie }
|
|
395
261
|
|
|
396
|
-
export
|
|
397
|
-
brand?: boolean;
|
|
398
|
-
date?: boolean;
|
|
399
|
-
}
|
|
262
|
+
export { ICloudShow }
|
|
400
263
|
|
|
401
|
-
export
|
|
402
|
-
type: string;
|
|
403
|
-
objects: CountryObjects;
|
|
404
|
-
arcs: Array<Array<number[]>>;
|
|
405
|
-
bbox: number[];
|
|
406
|
-
transform: Transform;
|
|
407
|
-
}
|
|
264
|
+
export { ICountries }
|
|
408
265
|
|
|
409
|
-
export
|
|
410
|
-
fillStyle: string;
|
|
411
|
-
}
|
|
266
|
+
export { ICountry }
|
|
412
267
|
|
|
413
|
-
export
|
|
414
|
-
avatar?: string;
|
|
415
|
-
backdrop?: string;
|
|
416
|
-
body?: string;
|
|
417
|
-
brand?: string;
|
|
418
|
-
card?: string;
|
|
419
|
-
container?: string;
|
|
420
|
-
date?: string;
|
|
421
|
-
dynamics?: string;
|
|
422
|
-
handle?: string;
|
|
423
|
-
host?: string;
|
|
424
|
-
image?: string;
|
|
425
|
-
kpi?: string;
|
|
426
|
-
label?: string;
|
|
427
|
-
name?: string;
|
|
428
|
-
sender?: string;
|
|
429
|
-
title?: string;
|
|
430
|
-
video?: string;
|
|
431
|
-
widget?: string;
|
|
432
|
-
dark?: boolean;
|
|
433
|
-
}
|
|
268
|
+
export { ICss }
|
|
434
269
|
|
|
435
|
-
export
|
|
436
|
-
globe: {
|
|
437
|
-
colors: {
|
|
438
|
-
arc: string;
|
|
439
|
-
border: string;
|
|
440
|
-
country: string;
|
|
441
|
-
land: string;
|
|
442
|
-
sphere: string;
|
|
443
|
-
};
|
|
444
|
-
settings?: {
|
|
445
|
-
canvas?: string;
|
|
446
|
-
card?: string;
|
|
447
|
-
width?: number;
|
|
448
|
-
height?: number;
|
|
449
|
-
};
|
|
450
|
-
};
|
|
451
|
-
}
|
|
270
|
+
export { ID3 }
|
|
452
271
|
|
|
453
|
-
export
|
|
454
|
-
size: number;
|
|
455
|
-
force: number;
|
|
456
|
-
classlist?: string;
|
|
457
|
-
color?: string;
|
|
458
|
-
}
|
|
272
|
+
export { ID3Bubbles }
|
|
459
273
|
|
|
460
|
-
export
|
|
461
|
-
label: string;
|
|
462
|
-
count: number;
|
|
463
|
-
color: string;
|
|
464
|
-
radius?: number;
|
|
465
|
-
fill?: string;
|
|
466
|
-
}
|
|
274
|
+
export { ID3Data }
|
|
467
275
|
|
|
468
|
-
export
|
|
469
|
-
count: {
|
|
470
|
-
width: string;
|
|
471
|
-
};
|
|
472
|
-
key: {
|
|
473
|
-
width: string;
|
|
474
|
-
};
|
|
475
|
-
legend: {
|
|
476
|
-
width: string;
|
|
477
|
-
};
|
|
478
|
-
}
|
|
276
|
+
export { ID3Legend }
|
|
479
277
|
|
|
480
|
-
export
|
|
481
|
-
radius: {
|
|
482
|
-
inner: number;
|
|
483
|
-
outer: number;
|
|
484
|
-
};
|
|
485
|
-
animation: {
|
|
486
|
-
duration: number;
|
|
487
|
-
};
|
|
488
|
-
}
|
|
278
|
+
export { ID3Map }
|
|
489
279
|
|
|
490
|
-
export
|
|
491
|
-
colors: string[];
|
|
492
|
-
pie?: ID3Pie;
|
|
493
|
-
map?: ID3Map;
|
|
494
|
-
legend?: ID3Legend;
|
|
495
|
-
bubbles?: ID3Bubbles;
|
|
496
|
-
dimensions?: {
|
|
497
|
-
width: number;
|
|
498
|
-
height: number;
|
|
499
|
-
};
|
|
500
|
-
data: [ID3Data?];
|
|
501
|
-
total?: number;
|
|
502
|
-
}
|
|
280
|
+
export { ID3Options }
|
|
503
281
|
|
|
504
|
-
export
|
|
505
|
-
radius: {
|
|
506
|
-
inner: number;
|
|
507
|
-
outer: number;
|
|
508
|
-
};
|
|
509
|
-
animation: {
|
|
510
|
-
duration: number;
|
|
511
|
-
};
|
|
512
|
-
}
|
|
282
|
+
export { ID3Pie }
|
|
513
283
|
|
|
514
284
|
export declare interface IDashboard {
|
|
515
285
|
id: string;
|
|
@@ -526,129 +296,21 @@ export declare interface IDashboards {
|
|
|
526
296
|
dashboards: IDashboard[];
|
|
527
297
|
}
|
|
528
298
|
|
|
529
|
-
export
|
|
530
|
-
time?: string;
|
|
531
|
-
date?: string;
|
|
532
|
-
}
|
|
299
|
+
export { IDateFormat }
|
|
533
300
|
|
|
534
|
-
export
|
|
535
|
-
engagement?: number;
|
|
536
|
-
semrush_visits?: number;
|
|
537
|
-
potential_reach?: number;
|
|
538
|
-
facebook_engagement?: number;
|
|
539
|
-
facebook_insights_reach?: number;
|
|
540
|
-
facebook_insights_impressions?: number;
|
|
541
|
-
facebook_insights_link_clicks?: number;
|
|
542
|
-
facebook_reactions?: number;
|
|
543
|
-
facebook_shares?: number;
|
|
544
|
-
instagram_followers?: number;
|
|
545
|
-
instagram_likes?: number;
|
|
546
|
-
retweets?: number;
|
|
547
|
-
twitter_shares?: number;
|
|
548
|
-
twitter_bookmarks?: number;
|
|
549
|
-
twitter_followers?: number;
|
|
550
|
-
twitter_impressions?: number;
|
|
551
|
-
twitter_insights_retweets?: number;
|
|
552
|
-
twitter_likes?: number;
|
|
553
|
-
twitter_replies?: number;
|
|
554
|
-
twitter_video_views?: number;
|
|
555
|
-
total_comments?: number;
|
|
556
|
-
trending_score?: number;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
export declare interface IEchartsLine {
|
|
560
|
-
color: string[];
|
|
561
|
-
xAxis: XAxis;
|
|
562
|
-
yAxis: YAxis;
|
|
563
|
-
series: Series[];
|
|
564
|
-
}
|
|
301
|
+
export { IEchartsLine }
|
|
565
302
|
|
|
566
303
|
export declare interface IFilteredAttributes {
|
|
567
304
|
[key: string]: string | object;
|
|
568
305
|
}
|
|
569
306
|
|
|
570
|
-
export
|
|
571
|
-
latitude?: number;
|
|
572
|
-
longitude?: number;
|
|
573
|
-
zip?: string;
|
|
574
|
-
street: string;
|
|
575
|
-
city?: string;
|
|
576
|
-
country: string;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
export declare interface IIndicators {
|
|
580
|
-
value: number;
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
export declare interface ILabel {
|
|
584
|
-
label: string;
|
|
585
|
-
count: number;
|
|
586
|
-
info?: string;
|
|
587
|
-
current: ICloudIndicators;
|
|
588
|
-
previous?: ICloudIndicators;
|
|
589
|
-
percentage?: number;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
export declare interface ILand {
|
|
593
|
-
fillStyle: string;
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
export declare interface IMedium {
|
|
597
|
-
type: string;
|
|
598
|
-
url: string;
|
|
599
|
-
width: number;
|
|
600
|
-
height: number;
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
export declare interface IMessage {
|
|
604
|
-
id: string;
|
|
605
|
-
published: string;
|
|
606
|
-
harvested: string;
|
|
607
|
-
utc: number;
|
|
608
|
-
expires: number;
|
|
609
|
-
channel: string;
|
|
610
|
-
type: string;
|
|
611
|
-
sender: ISender;
|
|
612
|
-
reply: string;
|
|
613
|
-
replyto: string;
|
|
614
|
-
page: string;
|
|
615
|
-
conversation: string;
|
|
616
|
-
title: string;
|
|
617
|
-
content: string;
|
|
618
|
-
sentiment: number;
|
|
619
|
-
link: string;
|
|
620
|
-
language?: string;
|
|
621
|
-
region?: string;
|
|
622
|
-
topics: ITopic[];
|
|
623
|
-
dynamics?: IDynamics;
|
|
624
|
-
geo?: IGeo;
|
|
625
|
-
media?: IMedium[];
|
|
626
|
-
}
|
|
307
|
+
export { ILand }
|
|
627
308
|
|
|
628
|
-
export
|
|
629
|
-
messages: IMessage[];
|
|
630
|
-
presentation?: string;
|
|
631
|
-
slide?: string;
|
|
632
|
-
title?: string;
|
|
633
|
-
dashboard?: string;
|
|
634
|
-
widget?: string;
|
|
635
|
-
topics?: string;
|
|
636
|
-
}
|
|
309
|
+
export { IMessage }
|
|
637
310
|
|
|
638
|
-
export
|
|
639
|
-
doc?: number;
|
|
640
|
-
previous?: number;
|
|
641
|
-
change?: number;
|
|
642
|
-
}
|
|
311
|
+
export { IMessages }
|
|
643
312
|
|
|
644
|
-
|
|
645
|
-
* IModal
|
|
646
|
-
*/
|
|
647
|
-
export declare interface IModal {
|
|
648
|
-
showComponent: string;
|
|
649
|
-
props?: any;
|
|
650
|
-
timeout?: number;
|
|
651
|
-
}
|
|
313
|
+
export { IModal }
|
|
652
314
|
|
|
653
315
|
export declare const intToString: (num: any, digits?: number, abbreviate?: boolean, locale?: string) => string;
|
|
654
316
|
|
|
@@ -677,221 +339,36 @@ export declare interface IPresentations {
|
|
|
677
339
|
presentations: IPresentation[];
|
|
678
340
|
}
|
|
679
341
|
|
|
680
|
-
|
|
681
|
-
* Query
|
|
682
|
-
*/
|
|
683
|
-
export declare interface IQuery {
|
|
684
|
-
[x: string]: any;
|
|
685
|
-
topics?: string;
|
|
686
|
-
presentation?: string;
|
|
687
|
-
dashboard: string;
|
|
688
|
-
widget: string;
|
|
689
|
-
labels?: string[];
|
|
690
|
-
compare?: string;
|
|
691
|
-
period?: number;
|
|
692
|
-
type?: "cloud" | "messages" | "series" | "preference" | "proxy" | "slide" | "dashboard" | "widget";
|
|
693
|
-
order?: "utc" | "reach" | "engagement" | "impressions";
|
|
694
|
-
media?: number;
|
|
695
|
-
dynamics?: number;
|
|
696
|
-
geo?: number;
|
|
697
|
-
delay?: string;
|
|
698
|
-
approved?: string;
|
|
699
|
-
moderation?: "realtime" | "delayed" | "approved" | "none";
|
|
700
|
-
hrm?: string;
|
|
701
|
-
before?: number;
|
|
702
|
-
since?: number;
|
|
703
|
-
hash?: string;
|
|
704
|
-
name?: string;
|
|
705
|
-
data?: any;
|
|
706
|
-
}
|
|
342
|
+
export { IResponse }
|
|
707
343
|
|
|
708
|
-
|
|
709
|
-
* API Response
|
|
710
|
-
*/
|
|
711
|
-
export declare interface IResponse {
|
|
712
|
-
data: IDashboards | IMessages | ISeries | ICloud | ISlides | IPresentations | IPreferences | IWidgets | null;
|
|
713
|
-
message: string;
|
|
714
|
-
success: boolean;
|
|
715
|
-
query?: IQuery;
|
|
716
|
-
}
|
|
344
|
+
export { IRotatingGlobe }
|
|
717
345
|
|
|
718
|
-
export
|
|
719
|
-
country: ICountry;
|
|
720
|
-
land: ILand;
|
|
721
|
-
borders: IBorders;
|
|
722
|
-
sphere: ISphere;
|
|
723
|
-
arc: IArc;
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
/**
|
|
727
|
-
* Messages
|
|
728
|
-
*/
|
|
729
|
-
export declare interface ISender {
|
|
730
|
-
id?: string;
|
|
731
|
-
channel?: string;
|
|
732
|
-
title?: string;
|
|
733
|
-
name?: string;
|
|
734
|
-
avatar?: string;
|
|
735
|
-
bio?: string;
|
|
736
|
-
location?: string;
|
|
737
|
-
verified?: number;
|
|
738
|
-
following?: number;
|
|
739
|
-
followers?: number;
|
|
740
|
-
listed?: number;
|
|
741
|
-
favourites?: number;
|
|
742
|
-
messages?: number;
|
|
743
|
-
influence?: number;
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
/**
|
|
747
|
-
* Series Data
|
|
748
|
-
*/
|
|
749
|
-
export declare interface ISeries {
|
|
750
|
-
topic: string;
|
|
751
|
-
title: string;
|
|
752
|
-
series: ISeriesData[];
|
|
753
|
-
category: ICategory;
|
|
754
|
-
metrics?: IMetrics;
|
|
755
|
-
indicators?: IIndicators;
|
|
756
|
-
timestamp?: number;
|
|
757
|
-
}
|
|
346
|
+
export { ISeries }
|
|
758
347
|
|
|
759
|
-
export
|
|
760
|
-
fixed?: number;
|
|
761
|
-
abbreviate?: boolean;
|
|
762
|
-
}
|
|
348
|
+
export { ISeriesConfig }
|
|
763
349
|
|
|
764
|
-
export
|
|
765
|
-
arrowdown?: string;
|
|
766
|
-
arrowup?: string;
|
|
767
|
-
backdrop?: string;
|
|
768
|
-
body?: string;
|
|
769
|
-
brand?: string;
|
|
770
|
-
change?: string;
|
|
771
|
-
count?: string;
|
|
772
|
-
container?: string;
|
|
773
|
-
date?: string;
|
|
774
|
-
down?: string;
|
|
775
|
-
host?: string;
|
|
776
|
-
image?: string;
|
|
777
|
-
title?: string;
|
|
778
|
-
up?: string;
|
|
779
|
-
widget?: string;
|
|
780
|
-
dark?: boolean;
|
|
781
|
-
}
|
|
350
|
+
export { ISeriesCss }
|
|
782
351
|
|
|
783
|
-
export
|
|
784
|
-
globe: {
|
|
785
|
-
colors: {
|
|
786
|
-
arc: string;
|
|
787
|
-
border: string;
|
|
788
|
-
country: string;
|
|
789
|
-
land: string;
|
|
790
|
-
sphere: string;
|
|
791
|
-
};
|
|
792
|
-
settings?: {
|
|
793
|
-
canvas?: string;
|
|
794
|
-
card?: string;
|
|
795
|
-
width?: number;
|
|
796
|
-
height?: number;
|
|
797
|
-
};
|
|
798
|
-
};
|
|
799
|
-
}
|
|
352
|
+
export { ISeriesD3 }
|
|
800
353
|
|
|
801
|
-
export
|
|
802
|
-
name?: string;
|
|
803
|
-
label?: string;
|
|
804
|
-
current?: number[];
|
|
805
|
-
current_total?: number;
|
|
806
|
-
previous_total?: number;
|
|
807
|
-
previous?: number[];
|
|
808
|
-
current_category?: number;
|
|
809
|
-
previous_category?: number;
|
|
810
|
-
}
|
|
354
|
+
export { ISeriesData }
|
|
811
355
|
|
|
812
|
-
export
|
|
813
|
-
time?: string;
|
|
814
|
-
date?: string;
|
|
815
|
-
}
|
|
356
|
+
export { ISeriesDateFormat }
|
|
816
357
|
|
|
817
|
-
export
|
|
818
|
-
css?: ISeriesCss;
|
|
819
|
-
d3?: ISeriesD3;
|
|
820
|
-
dateformat?: ISeriesDateFormat;
|
|
821
|
-
show?: ISeriesShow;
|
|
822
|
-
config?: ISeriesConfig;
|
|
823
|
-
}
|
|
358
|
+
export { ISeriesOptions }
|
|
824
359
|
|
|
825
|
-
export
|
|
826
|
-
brand?: boolean;
|
|
827
|
-
date?: boolean;
|
|
828
|
-
}
|
|
360
|
+
export { ISeriesShow }
|
|
829
361
|
|
|
830
|
-
export
|
|
831
|
-
approve?: boolean;
|
|
832
|
-
avatar?: boolean;
|
|
833
|
-
brand?: boolean;
|
|
834
|
-
date?: boolean;
|
|
835
|
-
dynamics?: boolean;
|
|
836
|
-
kpi?: boolean;
|
|
837
|
-
sender?: boolean;
|
|
838
|
-
star?: boolean;
|
|
839
|
-
visible?: boolean;
|
|
840
|
-
}
|
|
362
|
+
export { IShow }
|
|
841
363
|
|
|
842
364
|
export declare interface ISlides {
|
|
843
365
|
presentation: string;
|
|
844
366
|
slides: any;
|
|
845
367
|
}
|
|
846
368
|
|
|
847
|
-
export
|
|
848
|
-
strokeStyle: string;
|
|
849
|
-
lineWidth: number;
|
|
850
|
-
fillStyle: string;
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
/**
|
|
854
|
-
* Storage Options
|
|
855
|
-
*/
|
|
856
|
-
export declare interface IStorageOptions {
|
|
857
|
-
app: string;
|
|
858
|
-
builder?: boolean;
|
|
859
|
-
domain?: string;
|
|
860
|
-
cdn?: string;
|
|
861
|
-
channel?: string;
|
|
862
|
-
presentation: string;
|
|
863
|
-
slide?: string;
|
|
864
|
-
slides?: string[];
|
|
865
|
-
display?: string;
|
|
866
|
-
monitor?: string;
|
|
867
|
-
version: string;
|
|
868
|
-
storage: string;
|
|
869
|
-
token?: string;
|
|
870
|
-
bearer?: string;
|
|
871
|
-
csrf?: string;
|
|
872
|
-
moderation?: string;
|
|
873
|
-
beforeTime?: string;
|
|
874
|
-
delay?: number;
|
|
875
|
-
period?: number;
|
|
876
|
-
retention?: number;
|
|
877
|
-
suspended?: boolean;
|
|
878
|
-
loglevel?: number;
|
|
879
|
-
}
|
|
369
|
+
export { ISphere }
|
|
880
370
|
|
|
881
|
-
export
|
|
882
|
-
message_id: string;
|
|
883
|
-
dashboard_id?: string;
|
|
884
|
-
widget_id?: string;
|
|
885
|
-
topic?: string;
|
|
886
|
-
engagement: number;
|
|
887
|
-
impressions: number;
|
|
888
|
-
reach: number;
|
|
889
|
-
sentiment: number;
|
|
890
|
-
title?: string;
|
|
891
|
-
utc?: number;
|
|
892
|
-
expires?: number;
|
|
893
|
-
visible?: number;
|
|
894
|
-
}
|
|
371
|
+
export { IStorageOptions }
|
|
895
372
|
|
|
896
373
|
export declare interface IWidget {
|
|
897
374
|
id: string;
|
|
@@ -909,21 +386,11 @@ export declare interface IWidgets {
|
|
|
909
386
|
|
|
910
387
|
export declare const json2html: (json: any) => any;
|
|
911
388
|
|
|
912
|
-
export
|
|
913
|
-
label: string;
|
|
914
|
-
count: number;
|
|
915
|
-
info: string;
|
|
916
|
-
}
|
|
389
|
+
export { Label }
|
|
917
390
|
|
|
918
|
-
export
|
|
919
|
-
type: string;
|
|
920
|
-
geometries: LandGeometry[];
|
|
921
|
-
}
|
|
391
|
+
export { Land }
|
|
922
392
|
|
|
923
|
-
export
|
|
924
|
-
type: Type;
|
|
925
|
-
arcs: Array<Array<number[]>>;
|
|
926
|
-
}
|
|
393
|
+
export { LandGeometry }
|
|
927
394
|
|
|
928
395
|
export declare const log: (level: number | undefined, message: any[]) => void;
|
|
929
396
|
|
|
@@ -943,7 +410,7 @@ export declare enum MODERATION {
|
|
|
943
410
|
REALTIME = "realtime"
|
|
944
411
|
}
|
|
945
412
|
|
|
946
|
-
export declare function moderation(options:
|
|
413
|
+
export declare function moderation(options: IStorageOptions_2, query: IQuery): IQuery;
|
|
947
414
|
|
|
948
415
|
export declare function numberFormatter(num: number, digits: number): string;
|
|
949
416
|
|
|
@@ -960,12 +427,6 @@ export declare function rtl(message: IMessage): {
|
|
|
960
427
|
|
|
961
428
|
export declare function sanitize(messages: IMessage[]): IMessage[];
|
|
962
429
|
|
|
963
|
-
declare interface Series {
|
|
964
|
-
data: number[];
|
|
965
|
-
type: string;
|
|
966
|
-
areaStyle: AreaStyle;
|
|
967
|
-
}
|
|
968
|
-
|
|
969
430
|
export declare enum ShapeType {
|
|
970
431
|
MultiPolygon = "MultiPolygon",
|
|
971
432
|
Polygon = "Polygon"
|
|
@@ -989,15 +450,7 @@ export declare enum STORAGE {
|
|
|
989
450
|
*/
|
|
990
451
|
export declare function stringGen(): string;
|
|
991
452
|
|
|
992
|
-
export
|
|
993
|
-
scale: number[];
|
|
994
|
-
translate: number[];
|
|
995
|
-
}
|
|
996
|
-
|
|
997
|
-
declare enum Type {
|
|
998
|
-
MultiPolygon = "MultiPolygon",
|
|
999
|
-
Polygon = "Polygon"
|
|
1000
|
-
}
|
|
453
|
+
export { Transform }
|
|
1001
454
|
|
|
1002
455
|
export declare const typeCss: (query: IQuery | undefined) => string;
|
|
1003
456
|
|
|
@@ -1009,14 +462,4 @@ export declare function widgetParams(query: IQuery): IQuery;
|
|
|
1009
462
|
|
|
1010
463
|
export declare const wrapPromise: (promise: any, delay: number, reason: string) => Promise<any>;
|
|
1011
464
|
|
|
1012
|
-
declare interface XAxis {
|
|
1013
|
-
type: string;
|
|
1014
|
-
boundaryGap: boolean;
|
|
1015
|
-
data: string[];
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
|
-
declare interface YAxis {
|
|
1019
|
-
type: string;
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
465
|
export { }
|