buzzcasting-utils 1.3.0 → 1.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/dist/buzzcasting-utils.d.ts +112 -672
- package/package.json +1 -1
|
@@ -1,3 +1,60 @@
|
|
|
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 { IRotatingGlobe } from './interfaces';
|
|
41
|
+
import { ISeries } from './interfaces';
|
|
42
|
+
import { ISeriesConfig } from './interfaces';
|
|
43
|
+
import { ISeriesCss } from './interfaces';
|
|
44
|
+
import { ISeriesD3 } from './interfaces';
|
|
45
|
+
import { ISeriesData } from './interfaces';
|
|
46
|
+
import { ISeriesDateFormat } from './interfaces';
|
|
47
|
+
import { ISeriesOptions } from './interfaces';
|
|
48
|
+
import { ISeriesShow } from './interfaces';
|
|
49
|
+
import { IShow } from './interfaces';
|
|
50
|
+
import { ISphere } from './interfaces';
|
|
51
|
+
import { IStorageOptions } from './interfaces';
|
|
52
|
+
import { IStorageOptions as IStorageOptions_2 } from '../interfaces';
|
|
53
|
+
import { Label } from './interfaces';
|
|
54
|
+
import { Land } from './interfaces';
|
|
55
|
+
import { LandGeometry } from './interfaces';
|
|
56
|
+
import { Transform } from './interfaces';
|
|
57
|
+
|
|
1
58
|
export declare function anonymize(name: string): string;
|
|
2
59
|
|
|
3
60
|
export declare enum API {
|
|
@@ -19,9 +76,6 @@ export declare enum API {
|
|
|
19
76
|
|
|
20
77
|
export declare type ApiData = ISeries & IMessages & ICloud;
|
|
21
78
|
|
|
22
|
-
declare interface AreaStyle {
|
|
23
|
-
}
|
|
24
|
-
|
|
25
79
|
export declare function attachedMedia(message: IMessage): IAttachedMedia_2;
|
|
26
80
|
|
|
27
81
|
export declare function attrs(attributes: NamedNodeMap): any;
|
|
@@ -52,27 +106,9 @@ export declare const capitalizeFirstLetter: (prop: string) => string;
|
|
|
52
106
|
*/
|
|
53
107
|
export declare function clearContents(myNode: HTMLElement): void;
|
|
54
108
|
|
|
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
|
-
}
|
|
109
|
+
export { Countries }
|
|
66
110
|
|
|
67
|
-
|
|
68
|
-
countries: Countries;
|
|
69
|
-
land: Land;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
declare interface CountryProperties {
|
|
73
|
-
name: string;
|
|
74
|
-
code: string;
|
|
75
|
-
}
|
|
111
|
+
export { CountriesGeometry }
|
|
76
112
|
|
|
77
113
|
declare enum CSS_2 {
|
|
78
114
|
API = "color:white;background-color:grey;padding:0 4px 0 4px;border-radius:5px;",
|
|
@@ -176,27 +212,11 @@ export declare const HTMLtoDOM: (html: string, doc: any) => any;
|
|
|
176
212
|
|
|
177
213
|
export declare const HTMLtoXML: (html: string) => string;
|
|
178
214
|
|
|
179
|
-
export
|
|
180
|
-
items?: number;
|
|
181
|
-
interval: number;
|
|
182
|
-
animation: number;
|
|
183
|
-
speed?: '' | 'slow' | 'slower' | 'fast' | 'faster';
|
|
184
|
-
delay?: number;
|
|
185
|
-
parentTag?: string;
|
|
186
|
-
}
|
|
215
|
+
export { IAnimation }
|
|
187
216
|
|
|
188
|
-
export
|
|
189
|
-
strokeStyle: string;
|
|
190
|
-
lineWidth: number;
|
|
191
|
-
}
|
|
217
|
+
export { IArc }
|
|
192
218
|
|
|
193
|
-
export
|
|
194
|
-
image?: string;
|
|
195
|
-
background: {
|
|
196
|
-
backgroundimage?: string;
|
|
197
|
-
} | null;
|
|
198
|
-
video?: string;
|
|
199
|
-
}
|
|
219
|
+
export { IAttachedMedia }
|
|
200
220
|
|
|
201
221
|
declare interface IAttachedMedia_2 {
|
|
202
222
|
image?: string;
|
|
@@ -206,310 +226,59 @@ declare interface IAttachedMedia_2 {
|
|
|
206
226
|
video?: string;
|
|
207
227
|
}
|
|
208
228
|
|
|
209
|
-
export
|
|
210
|
-
strokeStyle: string;
|
|
211
|
-
lineWidth: number;
|
|
212
|
-
}
|
|
229
|
+
export { IBorders }
|
|
213
230
|
|
|
214
|
-
export
|
|
215
|
-
show?: boolean;
|
|
216
|
-
size?: string;
|
|
217
|
-
}
|
|
231
|
+
export { IBrand }
|
|
218
232
|
|
|
219
|
-
export
|
|
220
|
-
animation?: IAnimation;
|
|
221
|
-
brand?: IBrand;
|
|
222
|
-
css?: ICss;
|
|
223
|
-
d3?: ID3;
|
|
224
|
-
dateformat?: IDateFormat;
|
|
225
|
-
show?: IShow;
|
|
226
|
-
}
|
|
233
|
+
export { ICardOptions }
|
|
227
234
|
|
|
228
|
-
export
|
|
229
|
-
type: string;
|
|
230
|
-
data: string[];
|
|
231
|
-
}
|
|
235
|
+
export { ICloud }
|
|
232
236
|
|
|
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
|
-
}
|
|
237
|
+
export { ICloudBubbles }
|
|
245
238
|
|
|
246
|
-
export
|
|
247
|
-
size: number;
|
|
248
|
-
classlist: string;
|
|
249
|
-
force: number;
|
|
250
|
-
color: string;
|
|
251
|
-
}
|
|
239
|
+
export { ICloudConfig }
|
|
252
240
|
|
|
253
|
-
export
|
|
254
|
-
fixed?: number;
|
|
255
|
-
abbreviate?: boolean;
|
|
256
|
-
}
|
|
241
|
+
export { ICloudCss }
|
|
257
242
|
|
|
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
|
-
}
|
|
243
|
+
export { ICloudD3 }
|
|
279
244
|
|
|
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
|
-
}
|
|
245
|
+
export { ICloudDateFormat }
|
|
297
246
|
|
|
298
|
-
export
|
|
299
|
-
time?: string;
|
|
300
|
-
date?: string;
|
|
301
|
-
}
|
|
247
|
+
export { ICloudDimensions }
|
|
302
248
|
|
|
303
|
-
export
|
|
304
|
-
width: number;
|
|
305
|
-
height: number;
|
|
306
|
-
}
|
|
249
|
+
export { ICloudInfluencers }
|
|
307
250
|
|
|
308
|
-
|
|
309
|
-
total: number;
|
|
310
|
-
positive: number;
|
|
311
|
-
negative: number;
|
|
312
|
-
neutral: number;
|
|
313
|
-
engagement: number;
|
|
314
|
-
reach: number;
|
|
315
|
-
velocity: number;
|
|
316
|
-
}
|
|
251
|
+
export { ICloudInfluencersData }
|
|
317
252
|
|
|
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
|
-
}
|
|
253
|
+
export { ICloudKpi }
|
|
328
254
|
|
|
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
|
-
}
|
|
255
|
+
export { ICloudLegend }
|
|
348
256
|
|
|
349
|
-
export
|
|
350
|
-
name: string;
|
|
351
|
-
}
|
|
257
|
+
export { ICloudOptions }
|
|
352
258
|
|
|
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
|
-
}
|
|
259
|
+
export { ICloudPie }
|
|
371
260
|
|
|
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
|
-
}
|
|
261
|
+
export { ICloudShow }
|
|
385
262
|
|
|
386
|
-
export
|
|
387
|
-
radius: {
|
|
388
|
-
inner: number;
|
|
389
|
-
outer: number;
|
|
390
|
-
};
|
|
391
|
-
animation: {
|
|
392
|
-
duration: number;
|
|
393
|
-
};
|
|
394
|
-
}
|
|
263
|
+
export { ICountries }
|
|
395
264
|
|
|
396
|
-
export
|
|
397
|
-
brand?: boolean;
|
|
398
|
-
date?: boolean;
|
|
399
|
-
}
|
|
265
|
+
export { ICountry }
|
|
400
266
|
|
|
401
|
-
export
|
|
402
|
-
type: string;
|
|
403
|
-
objects: CountryObjects;
|
|
404
|
-
arcs: Array<Array<number[]>>;
|
|
405
|
-
bbox: number[];
|
|
406
|
-
transform: Transform;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
export declare interface ICountry {
|
|
410
|
-
fillStyle: string;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
export declare interface ICss {
|
|
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
|
-
}
|
|
267
|
+
export { ICss }
|
|
434
268
|
|
|
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
|
-
}
|
|
269
|
+
export { ID3 }
|
|
452
270
|
|
|
453
|
-
export
|
|
454
|
-
size: number;
|
|
455
|
-
force: number;
|
|
456
|
-
classlist?: string;
|
|
457
|
-
color?: string;
|
|
458
|
-
}
|
|
271
|
+
export { ID3Bubbles }
|
|
459
272
|
|
|
460
|
-
export
|
|
461
|
-
label: string;
|
|
462
|
-
count: number;
|
|
463
|
-
color: string;
|
|
464
|
-
radius?: number;
|
|
465
|
-
fill?: string;
|
|
466
|
-
}
|
|
273
|
+
export { ID3Data }
|
|
467
274
|
|
|
468
|
-
export
|
|
469
|
-
count: {
|
|
470
|
-
width: string;
|
|
471
|
-
};
|
|
472
|
-
key: {
|
|
473
|
-
width: string;
|
|
474
|
-
};
|
|
475
|
-
legend: {
|
|
476
|
-
width: string;
|
|
477
|
-
};
|
|
478
|
-
}
|
|
275
|
+
export { ID3Legend }
|
|
479
276
|
|
|
480
|
-
export
|
|
481
|
-
radius: {
|
|
482
|
-
inner: number;
|
|
483
|
-
outer: number;
|
|
484
|
-
};
|
|
485
|
-
animation: {
|
|
486
|
-
duration: number;
|
|
487
|
-
};
|
|
488
|
-
}
|
|
277
|
+
export { ID3Map }
|
|
489
278
|
|
|
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
|
-
}
|
|
279
|
+
export { ID3Options }
|
|
503
280
|
|
|
504
|
-
export
|
|
505
|
-
radius: {
|
|
506
|
-
inner: number;
|
|
507
|
-
outer: number;
|
|
508
|
-
};
|
|
509
|
-
animation: {
|
|
510
|
-
duration: number;
|
|
511
|
-
};
|
|
512
|
-
}
|
|
281
|
+
export { ID3Pie }
|
|
513
282
|
|
|
514
283
|
export declare interface IDashboard {
|
|
515
284
|
id: string;
|
|
@@ -526,129 +295,21 @@ export declare interface IDashboards {
|
|
|
526
295
|
dashboards: IDashboard[];
|
|
527
296
|
}
|
|
528
297
|
|
|
529
|
-
export
|
|
530
|
-
time?: string;
|
|
531
|
-
date?: string;
|
|
532
|
-
}
|
|
298
|
+
export { IDateFormat }
|
|
533
299
|
|
|
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
|
-
}
|
|
300
|
+
export { IEchartsLine }
|
|
565
301
|
|
|
566
302
|
export declare interface IFilteredAttributes {
|
|
567
303
|
[key: string]: string | object;
|
|
568
304
|
}
|
|
569
305
|
|
|
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
|
-
}
|
|
306
|
+
export { ILand }
|
|
627
307
|
|
|
628
|
-
export
|
|
629
|
-
messages: IMessage[];
|
|
630
|
-
presentation?: string;
|
|
631
|
-
slide?: string;
|
|
632
|
-
title?: string;
|
|
633
|
-
dashboard?: string;
|
|
634
|
-
widget?: string;
|
|
635
|
-
topics?: string;
|
|
636
|
-
}
|
|
308
|
+
export { IMessage }
|
|
637
309
|
|
|
638
|
-
export
|
|
639
|
-
doc?: number;
|
|
640
|
-
previous?: number;
|
|
641
|
-
change?: number;
|
|
642
|
-
}
|
|
310
|
+
export { IMessages }
|
|
643
311
|
|
|
644
|
-
|
|
645
|
-
* IModal
|
|
646
|
-
*/
|
|
647
|
-
export declare interface IModal {
|
|
648
|
-
showComponent: string;
|
|
649
|
-
props?: any;
|
|
650
|
-
timeout?: number;
|
|
651
|
-
}
|
|
312
|
+
export { IModal }
|
|
652
313
|
|
|
653
314
|
export declare const intToString: (num: any, digits?: number, abbreviate?: boolean, locale?: string) => string;
|
|
654
315
|
|
|
@@ -677,221 +338,34 @@ export declare interface IPresentations {
|
|
|
677
338
|
presentations: IPresentation[];
|
|
678
339
|
}
|
|
679
340
|
|
|
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
|
-
}
|
|
341
|
+
export { IRotatingGlobe }
|
|
707
342
|
|
|
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
|
-
}
|
|
717
|
-
|
|
718
|
-
export declare interface IRotatingGlobe {
|
|
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
|
-
}
|
|
343
|
+
export { ISeries }
|
|
758
344
|
|
|
759
|
-
export
|
|
760
|
-
fixed?: number;
|
|
761
|
-
abbreviate?: boolean;
|
|
762
|
-
}
|
|
345
|
+
export { ISeriesConfig }
|
|
763
346
|
|
|
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
|
-
}
|
|
347
|
+
export { ISeriesCss }
|
|
782
348
|
|
|
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
|
-
}
|
|
349
|
+
export { ISeriesD3 }
|
|
800
350
|
|
|
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
|
-
}
|
|
351
|
+
export { ISeriesData }
|
|
811
352
|
|
|
812
|
-
export
|
|
813
|
-
time?: string;
|
|
814
|
-
date?: string;
|
|
815
|
-
}
|
|
353
|
+
export { ISeriesDateFormat }
|
|
816
354
|
|
|
817
|
-
export
|
|
818
|
-
css?: ISeriesCss;
|
|
819
|
-
d3?: ISeriesD3;
|
|
820
|
-
dateformat?: ISeriesDateFormat;
|
|
821
|
-
show?: ISeriesShow;
|
|
822
|
-
config?: ISeriesConfig;
|
|
823
|
-
}
|
|
355
|
+
export { ISeriesOptions }
|
|
824
356
|
|
|
825
|
-
export
|
|
826
|
-
brand?: boolean;
|
|
827
|
-
date?: boolean;
|
|
828
|
-
}
|
|
357
|
+
export { ISeriesShow }
|
|
829
358
|
|
|
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
|
-
}
|
|
359
|
+
export { IShow }
|
|
841
360
|
|
|
842
361
|
export declare interface ISlides {
|
|
843
362
|
presentation: string;
|
|
844
363
|
slides: any;
|
|
845
364
|
}
|
|
846
365
|
|
|
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
|
-
}
|
|
366
|
+
export { ISphere }
|
|
880
367
|
|
|
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
|
-
}
|
|
368
|
+
export { IStorageOptions }
|
|
895
369
|
|
|
896
370
|
export declare interface IWidget {
|
|
897
371
|
id: string;
|
|
@@ -909,21 +383,11 @@ export declare interface IWidgets {
|
|
|
909
383
|
|
|
910
384
|
export declare const json2html: (json: any) => any;
|
|
911
385
|
|
|
912
|
-
export
|
|
913
|
-
label: string;
|
|
914
|
-
count: number;
|
|
915
|
-
info: string;
|
|
916
|
-
}
|
|
386
|
+
export { Label }
|
|
917
387
|
|
|
918
|
-
export
|
|
919
|
-
type: string;
|
|
920
|
-
geometries: LandGeometry[];
|
|
921
|
-
}
|
|
388
|
+
export { Land }
|
|
922
389
|
|
|
923
|
-
export
|
|
924
|
-
type: Type;
|
|
925
|
-
arcs: Array<Array<number[]>>;
|
|
926
|
-
}
|
|
390
|
+
export { LandGeometry }
|
|
927
391
|
|
|
928
392
|
export declare const log: (level: number | undefined, message: any[]) => void;
|
|
929
393
|
|
|
@@ -943,7 +407,7 @@ export declare enum MODERATION {
|
|
|
943
407
|
REALTIME = "realtime"
|
|
944
408
|
}
|
|
945
409
|
|
|
946
|
-
export declare function moderation(options:
|
|
410
|
+
export declare function moderation(options: IStorageOptions_2, query: IQuery): IQuery;
|
|
947
411
|
|
|
948
412
|
export declare function numberFormatter(num: number, digits: number): string;
|
|
949
413
|
|
|
@@ -960,12 +424,6 @@ export declare function rtl(message: IMessage): {
|
|
|
960
424
|
|
|
961
425
|
export declare function sanitize(messages: IMessage[]): IMessage[];
|
|
962
426
|
|
|
963
|
-
declare interface Series {
|
|
964
|
-
data: number[];
|
|
965
|
-
type: string;
|
|
966
|
-
areaStyle: AreaStyle;
|
|
967
|
-
}
|
|
968
|
-
|
|
969
427
|
export declare enum ShapeType {
|
|
970
428
|
MultiPolygon = "MultiPolygon",
|
|
971
429
|
Polygon = "Polygon"
|
|
@@ -989,15 +447,7 @@ export declare enum STORAGE {
|
|
|
989
447
|
*/
|
|
990
448
|
export declare function stringGen(): string;
|
|
991
449
|
|
|
992
|
-
export
|
|
993
|
-
scale: number[];
|
|
994
|
-
translate: number[];
|
|
995
|
-
}
|
|
996
|
-
|
|
997
|
-
declare enum Type {
|
|
998
|
-
MultiPolygon = "MultiPolygon",
|
|
999
|
-
Polygon = "Polygon"
|
|
1000
|
-
}
|
|
450
|
+
export { Transform }
|
|
1001
451
|
|
|
1002
452
|
export declare const typeCss: (query: IQuery | undefined) => string;
|
|
1003
453
|
|
|
@@ -1009,14 +459,4 @@ export declare function widgetParams(query: IQuery): IQuery;
|
|
|
1009
459
|
|
|
1010
460
|
export declare const wrapPromise: (promise: any, delay: number, reason: string) => Promise<any>;
|
|
1011
461
|
|
|
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
462
|
export { }
|