buzzcasting-utils 1.3.4 → 1.3.6
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 +949 -123
- package/dist/buzzcasting-utils.esm.js +84 -83
- package/package.json +2 -2
|
@@ -1,64 +1,3 @@
|
|
|
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 { IDynamics } from './interfaces';
|
|
35
|
-
import { IEchartsLine } from './interfaces';
|
|
36
|
-
import { ILabel } from './interfaces';
|
|
37
|
-
import { ILand } from './interfaces';
|
|
38
|
-
import { IMessage } from './interfaces';
|
|
39
|
-
import { IMessages } from './interfaces';
|
|
40
|
-
import { IModal } from './interfaces';
|
|
41
|
-
import { IQuery } from './interfaces';
|
|
42
|
-
import { IQuery as IQuery_2 } from '../interfaces';
|
|
43
|
-
import { IResponse } from './interfaces';
|
|
44
|
-
import { IRotatingGlobe } from './interfaces';
|
|
45
|
-
import { ISeries } from './interfaces';
|
|
46
|
-
import { ISeriesConfig } from './interfaces';
|
|
47
|
-
import { ISeriesCss } from './interfaces';
|
|
48
|
-
import { ISeriesD3 } from './interfaces';
|
|
49
|
-
import { ISeriesData } from './interfaces';
|
|
50
|
-
import { ISeriesDateFormat } from './interfaces';
|
|
51
|
-
import { ISeriesOptions } from './interfaces';
|
|
52
|
-
import { ISeriesShow } from './interfaces';
|
|
53
|
-
import { IShow } from './interfaces';
|
|
54
|
-
import { ISphere } from './interfaces';
|
|
55
|
-
import { IStorageOptions } from './interfaces';
|
|
56
|
-
import { IStorageOptions as IStorageOptions_2 } from '../interfaces';
|
|
57
|
-
import { Label } from './interfaces';
|
|
58
|
-
import { Land } from './interfaces';
|
|
59
|
-
import { LandGeometry } from './interfaces';
|
|
60
|
-
import { Transform } from './interfaces';
|
|
61
|
-
|
|
62
1
|
export declare function anonymize(name: string): string;
|
|
63
2
|
|
|
64
3
|
export declare enum API {
|
|
@@ -80,8 +19,17 @@ export declare enum API {
|
|
|
80
19
|
|
|
81
20
|
export declare type ApiData = ISeries & IMessages & ICloud;
|
|
82
21
|
|
|
22
|
+
export declare interface AreaStyle {
|
|
23
|
+
}
|
|
24
|
+
|
|
83
25
|
export declare function attachedMedia(message: IMessage): IAttachedMedia_2;
|
|
84
26
|
|
|
27
|
+
declare interface Attr_2 {
|
|
28
|
+
['x:string']: string | string[];
|
|
29
|
+
class: string | string[];
|
|
30
|
+
}
|
|
31
|
+
export { Attr_2 as Attr }
|
|
32
|
+
|
|
85
33
|
export declare function attrs(attributes: NamedNodeMap): any;
|
|
86
34
|
|
|
87
35
|
export declare function brandLogo(channel: string, size: string): string;
|
|
@@ -110,9 +58,56 @@ export declare const capitalizeFirstLetter: (prop: string) => string;
|
|
|
110
58
|
*/
|
|
111
59
|
export declare function clearContents(myNode: HTMLElement): void;
|
|
112
60
|
|
|
113
|
-
export
|
|
61
|
+
export declare interface CloudAttr {
|
|
62
|
+
"data-type"?: string;
|
|
63
|
+
component?: string;
|
|
64
|
+
"data-dashboard"?: string;
|
|
65
|
+
"data-widget": string;
|
|
66
|
+
"css-count"?: string[];
|
|
67
|
+
"css-host"?: string;
|
|
68
|
+
"kpi-name"?: string;
|
|
69
|
+
"config-abbreviate"?: string;
|
|
70
|
+
class?: string | string[];
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export declare interface Component {
|
|
74
|
+
path: string;
|
|
75
|
+
query: string;
|
|
76
|
+
node: string;
|
|
77
|
+
tag: string;
|
|
78
|
+
attr: MessagesAttr;
|
|
79
|
+
}
|
|
114
80
|
|
|
115
|
-
export
|
|
81
|
+
export declare interface Content {
|
|
82
|
+
editable?: boolean;
|
|
83
|
+
path: string;
|
|
84
|
+
query: string;
|
|
85
|
+
text: string;
|
|
86
|
+
node: string;
|
|
87
|
+
attr: MessagesAttr;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export declare interface Countries {
|
|
91
|
+
type: string;
|
|
92
|
+
geometries: CountriesGeometry[];
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export declare interface CountriesGeometry {
|
|
96
|
+
type: Type;
|
|
97
|
+
arcs: Array<Array<number[] | number>>;
|
|
98
|
+
id?: string;
|
|
99
|
+
properties: CountryProperties;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export declare interface CountryObjects {
|
|
103
|
+
countries: Countries;
|
|
104
|
+
land: Land;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export declare interface CountryProperties {
|
|
108
|
+
name: string;
|
|
109
|
+
code: string;
|
|
110
|
+
}
|
|
116
111
|
|
|
117
112
|
declare enum CSS_2 {
|
|
118
113
|
API = "color:white;background-color:grey;padding:0 4px 0 4px;border-radius:5px;",
|
|
@@ -197,7 +192,7 @@ export declare function formatContent(message: IMessage, titleCss?: string): str
|
|
|
197
192
|
|
|
198
193
|
export declare const getGuid: () => string;
|
|
199
194
|
|
|
200
|
-
export declare function getKey(query:
|
|
195
|
+
export declare function getKey(query: IQuery): string;
|
|
201
196
|
|
|
202
197
|
export declare function getParameterByName(key: string): string | null;
|
|
203
198
|
|
|
@@ -216,11 +211,27 @@ export declare const HTMLtoDOM: (html: string, doc: any) => any;
|
|
|
216
211
|
|
|
217
212
|
export declare const HTMLtoXML: (html: string) => string;
|
|
218
213
|
|
|
219
|
-
export
|
|
214
|
+
export declare interface IAnimation {
|
|
215
|
+
items?: number;
|
|
216
|
+
interval: number;
|
|
217
|
+
animation: number;
|
|
218
|
+
speed?: '' | 'slow' | 'slower' | 'fast' | 'faster';
|
|
219
|
+
delay?: number;
|
|
220
|
+
parentTag?: string;
|
|
221
|
+
}
|
|
220
222
|
|
|
221
|
-
export
|
|
223
|
+
export declare interface IArc {
|
|
224
|
+
strokeStyle: string;
|
|
225
|
+
lineWidth: number;
|
|
226
|
+
}
|
|
222
227
|
|
|
223
|
-
export
|
|
228
|
+
export declare interface IAttachedMedia {
|
|
229
|
+
image?: string;
|
|
230
|
+
background: {
|
|
231
|
+
backgroundimage?: string;
|
|
232
|
+
} | null;
|
|
233
|
+
video?: string;
|
|
234
|
+
}
|
|
224
235
|
|
|
225
236
|
declare interface IAttachedMedia_2 {
|
|
226
237
|
image?: string;
|
|
@@ -230,59 +241,332 @@ declare interface IAttachedMedia_2 {
|
|
|
230
241
|
video?: string;
|
|
231
242
|
}
|
|
232
243
|
|
|
233
|
-
export
|
|
244
|
+
export declare interface IBorders {
|
|
245
|
+
strokeStyle: string;
|
|
246
|
+
lineWidth: number;
|
|
247
|
+
}
|
|
234
248
|
|
|
235
|
-
export
|
|
249
|
+
export declare interface IBrand {
|
|
250
|
+
show?: boolean;
|
|
251
|
+
size?: string;
|
|
252
|
+
}
|
|
236
253
|
|
|
237
|
-
export
|
|
254
|
+
export declare interface ICardAttributes {
|
|
255
|
+
'layout'?: 'base' | 'globe' | 'carousel';
|
|
256
|
+
'component': string;
|
|
257
|
+
'data-type': 'messages' | 'cloud' | 'series';
|
|
258
|
+
'data-order'?: string;
|
|
259
|
+
'data-dashboard': string;
|
|
260
|
+
'data-widget': string;
|
|
261
|
+
'css-body'?: string[];
|
|
262
|
+
'css-brand'?: string[];
|
|
263
|
+
'css-card'?: string[];
|
|
264
|
+
'css-date'?: string[];
|
|
265
|
+
'css-handle'?: string[];
|
|
266
|
+
'css-name'?: string[];
|
|
267
|
+
'date-format'?: string;
|
|
268
|
+
'time-format'?: string;
|
|
269
|
+
'show-brand'?: 'true' | 'false';
|
|
270
|
+
'show-kpi'?: 'true' | 'false';
|
|
271
|
+
'show-sender'?: 'true' | 'false';
|
|
272
|
+
'animation'?: string;
|
|
273
|
+
'interval'?: string;
|
|
274
|
+
}
|
|
238
275
|
|
|
239
|
-
export
|
|
276
|
+
export declare interface ICardOptions {
|
|
277
|
+
animation?: IAnimation;
|
|
278
|
+
brand?: IBrand;
|
|
279
|
+
css?: ICss;
|
|
280
|
+
d3?: ID3;
|
|
281
|
+
dateformat?: IDateFormat;
|
|
282
|
+
show?: IShow;
|
|
283
|
+
}
|
|
240
284
|
|
|
241
|
-
export
|
|
285
|
+
export declare interface ICategory {
|
|
286
|
+
type: string;
|
|
287
|
+
data: string[];
|
|
288
|
+
}
|
|
242
289
|
|
|
243
|
-
|
|
290
|
+
/**
|
|
291
|
+
* Cloud
|
|
292
|
+
*/
|
|
293
|
+
export declare interface ICloud {
|
|
294
|
+
labels: ILabel[];
|
|
295
|
+
current: any[];
|
|
296
|
+
previous: any[];
|
|
297
|
+
type: string;
|
|
298
|
+
total: number;
|
|
299
|
+
current_total: number;
|
|
300
|
+
previous_total: number;
|
|
301
|
+
}
|
|
244
302
|
|
|
245
|
-
export
|
|
303
|
+
export declare interface ICloudBubbles {
|
|
304
|
+
size: number;
|
|
305
|
+
classlist: string;
|
|
306
|
+
force: number;
|
|
307
|
+
color: string;
|
|
308
|
+
}
|
|
246
309
|
|
|
247
|
-
export
|
|
310
|
+
export declare interface ICloudConfig {
|
|
311
|
+
fixed?: number;
|
|
312
|
+
abbreviate?: boolean;
|
|
313
|
+
}
|
|
248
314
|
|
|
249
|
-
export
|
|
315
|
+
export declare interface ICloudCss {
|
|
316
|
+
arrowdown?: string;
|
|
317
|
+
arrowup?: string;
|
|
318
|
+
backdrop?: string;
|
|
319
|
+
body?: string;
|
|
320
|
+
brand?: string;
|
|
321
|
+
change?: string;
|
|
322
|
+
chart?: string;
|
|
323
|
+
count?: string;
|
|
324
|
+
container?: string;
|
|
325
|
+
date?: string;
|
|
326
|
+
down?: string;
|
|
327
|
+
host?: string;
|
|
328
|
+
image?: string;
|
|
329
|
+
key?: string;
|
|
330
|
+
legend?: string;
|
|
331
|
+
title?: string;
|
|
332
|
+
up?: string;
|
|
333
|
+
widget?: string;
|
|
334
|
+
dark?: boolean;
|
|
335
|
+
}
|
|
250
336
|
|
|
251
|
-
export
|
|
337
|
+
export declare interface ICloudD3 {
|
|
338
|
+
globe: {
|
|
339
|
+
colors: {
|
|
340
|
+
arc: string;
|
|
341
|
+
border: string;
|
|
342
|
+
country: string;
|
|
343
|
+
land: string;
|
|
344
|
+
sphere: string;
|
|
345
|
+
};
|
|
346
|
+
settings?: {
|
|
347
|
+
canvas?: string;
|
|
348
|
+
card?: string;
|
|
349
|
+
width?: number;
|
|
350
|
+
height?: number;
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
}
|
|
252
354
|
|
|
253
|
-
export
|
|
355
|
+
export declare interface ICloudDateFormat {
|
|
356
|
+
time?: string;
|
|
357
|
+
date?: string;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
export declare interface ICloudDimensions {
|
|
361
|
+
width: number;
|
|
362
|
+
height: number;
|
|
363
|
+
}
|
|
254
364
|
|
|
255
|
-
|
|
365
|
+
declare interface ICloudIndicators {
|
|
366
|
+
total: number;
|
|
367
|
+
positive: number;
|
|
368
|
+
negative: number;
|
|
369
|
+
neutral: number;
|
|
370
|
+
engagement: number;
|
|
371
|
+
reach: number;
|
|
372
|
+
velocity: number;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
export declare interface ICloudInfluencers {
|
|
376
|
+
labels?: Label[];
|
|
377
|
+
title?: string;
|
|
378
|
+
current?: ICloudInfluencersData[];
|
|
379
|
+
previous?: ICloudInfluencersData[];
|
|
380
|
+
type: string;
|
|
381
|
+
total?: number;
|
|
382
|
+
current_total?: number;
|
|
383
|
+
previous_total?: number;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
export declare interface ICloudInfluencersData {
|
|
387
|
+
color: string;
|
|
388
|
+
label: string;
|
|
389
|
+
avatar: string;
|
|
390
|
+
rank: number;
|
|
391
|
+
authors: string;
|
|
392
|
+
influencers: string;
|
|
393
|
+
total: number;
|
|
394
|
+
positive: number;
|
|
395
|
+
neutral: number;
|
|
396
|
+
negative: number;
|
|
397
|
+
potential_reach: number;
|
|
398
|
+
reach_per_result: number;
|
|
399
|
+
engagement: number;
|
|
400
|
+
engagement_per_result: number;
|
|
401
|
+
profile: string;
|
|
402
|
+
biography: string;
|
|
403
|
+
country: string;
|
|
404
|
+
}
|
|
256
405
|
|
|
257
|
-
export
|
|
406
|
+
export declare interface ICloudKpi {
|
|
407
|
+
name: string;
|
|
408
|
+
}
|
|
258
409
|
|
|
259
|
-
export
|
|
410
|
+
export declare interface ICloudLegend {
|
|
411
|
+
count?: {
|
|
412
|
+
width?: string;
|
|
413
|
+
height?: string;
|
|
414
|
+
};
|
|
415
|
+
key: {
|
|
416
|
+
width: string;
|
|
417
|
+
};
|
|
418
|
+
width: string;
|
|
419
|
+
position: string;
|
|
420
|
+
gap?: {
|
|
421
|
+
column: string;
|
|
422
|
+
row: string;
|
|
423
|
+
};
|
|
424
|
+
show: {
|
|
425
|
+
percentage: boolean;
|
|
426
|
+
};
|
|
427
|
+
}
|
|
260
428
|
|
|
261
|
-
export
|
|
429
|
+
export declare interface ICloudOptions {
|
|
430
|
+
css?: ICloudCss;
|
|
431
|
+
d3?: ICloudD3;
|
|
432
|
+
dateformat?: ICloudDateFormat;
|
|
433
|
+
show?: ICloudShow;
|
|
434
|
+
config?: ICloudConfig;
|
|
435
|
+
colors?: string[];
|
|
436
|
+
dimensions?: ICloudDimensions;
|
|
437
|
+
pie?: ICloudPie;
|
|
438
|
+
kpi?: ICloudKpi;
|
|
439
|
+
legend?: ICloudLegend;
|
|
440
|
+
bubbles?: ICloudBubbles;
|
|
441
|
+
}
|
|
262
442
|
|
|
263
|
-
export
|
|
443
|
+
export declare interface ICloudPie {
|
|
444
|
+
radius: {
|
|
445
|
+
inner: number;
|
|
446
|
+
outer: number;
|
|
447
|
+
};
|
|
448
|
+
animation: {
|
|
449
|
+
duration: number;
|
|
450
|
+
};
|
|
451
|
+
}
|
|
264
452
|
|
|
265
|
-
export
|
|
453
|
+
export declare interface ICloudShow {
|
|
454
|
+
brand?: boolean;
|
|
455
|
+
date?: boolean;
|
|
456
|
+
}
|
|
266
457
|
|
|
267
|
-
export
|
|
458
|
+
export declare interface ICountries {
|
|
459
|
+
type: string;
|
|
460
|
+
objects: CountryObjects;
|
|
461
|
+
arcs: Array<Array<number[]>>;
|
|
462
|
+
bbox: number[];
|
|
463
|
+
transform: Transform;
|
|
464
|
+
}
|
|
268
465
|
|
|
269
|
-
export
|
|
466
|
+
export declare interface ICountry {
|
|
467
|
+
fillStyle: string;
|
|
468
|
+
}
|
|
270
469
|
|
|
271
|
-
export
|
|
470
|
+
export declare interface ICss {
|
|
471
|
+
avatar?: string;
|
|
472
|
+
backdrop?: string;
|
|
473
|
+
body?: string;
|
|
474
|
+
brand?: string;
|
|
475
|
+
card?: string;
|
|
476
|
+
container?: string;
|
|
477
|
+
date?: string;
|
|
478
|
+
dynamics?: string;
|
|
479
|
+
handle?: string;
|
|
480
|
+
host?: string;
|
|
481
|
+
image?: string;
|
|
482
|
+
kpi?: string;
|
|
483
|
+
label?: string;
|
|
484
|
+
name?: string;
|
|
485
|
+
sender?: string;
|
|
486
|
+
title?: string;
|
|
487
|
+
video?: string;
|
|
488
|
+
widget?: string;
|
|
489
|
+
dark?: boolean;
|
|
490
|
+
}
|
|
272
491
|
|
|
273
|
-
export
|
|
492
|
+
export declare interface ID3 {
|
|
493
|
+
globe: {
|
|
494
|
+
colors: {
|
|
495
|
+
arc: string;
|
|
496
|
+
border: string;
|
|
497
|
+
country: string;
|
|
498
|
+
land: string;
|
|
499
|
+
sphere: string;
|
|
500
|
+
};
|
|
501
|
+
settings?: {
|
|
502
|
+
canvas?: string;
|
|
503
|
+
card?: string;
|
|
504
|
+
width?: number;
|
|
505
|
+
height?: number;
|
|
506
|
+
};
|
|
507
|
+
};
|
|
508
|
+
}
|
|
274
509
|
|
|
275
|
-
export
|
|
510
|
+
export declare interface ID3Bubbles {
|
|
511
|
+
size: number;
|
|
512
|
+
force: number;
|
|
513
|
+
classlist?: string;
|
|
514
|
+
color?: string;
|
|
515
|
+
}
|
|
276
516
|
|
|
277
|
-
export
|
|
517
|
+
export declare interface ID3Data {
|
|
518
|
+
label: string;
|
|
519
|
+
count: number;
|
|
520
|
+
color: string;
|
|
521
|
+
radius?: number;
|
|
522
|
+
fill?: string;
|
|
523
|
+
}
|
|
278
524
|
|
|
279
|
-
export
|
|
525
|
+
export declare interface ID3Legend {
|
|
526
|
+
count: {
|
|
527
|
+
width: string;
|
|
528
|
+
};
|
|
529
|
+
key: {
|
|
530
|
+
width: string;
|
|
531
|
+
};
|
|
532
|
+
legend: {
|
|
533
|
+
width: string;
|
|
534
|
+
};
|
|
535
|
+
}
|
|
280
536
|
|
|
281
|
-
export
|
|
537
|
+
export declare interface ID3Map {
|
|
538
|
+
radius: {
|
|
539
|
+
inner: number;
|
|
540
|
+
outer: number;
|
|
541
|
+
};
|
|
542
|
+
animation: {
|
|
543
|
+
duration: number;
|
|
544
|
+
};
|
|
545
|
+
}
|
|
282
546
|
|
|
283
|
-
export
|
|
547
|
+
export declare interface ID3Options {
|
|
548
|
+
colors: string[];
|
|
549
|
+
pie?: ID3Pie;
|
|
550
|
+
map?: ID3Map;
|
|
551
|
+
legend?: ID3Legend;
|
|
552
|
+
bubbles?: ID3Bubbles;
|
|
553
|
+
dimensions?: {
|
|
554
|
+
width: number;
|
|
555
|
+
height: number;
|
|
556
|
+
};
|
|
557
|
+
data: [ID3Data?];
|
|
558
|
+
total?: number;
|
|
559
|
+
}
|
|
284
560
|
|
|
285
|
-
export
|
|
561
|
+
export declare interface ID3Pie {
|
|
562
|
+
radius: {
|
|
563
|
+
inner: number;
|
|
564
|
+
outer: number;
|
|
565
|
+
};
|
|
566
|
+
animation: {
|
|
567
|
+
duration: number;
|
|
568
|
+
};
|
|
569
|
+
}
|
|
286
570
|
|
|
287
571
|
export declare interface IDashboard {
|
|
288
572
|
id: string;
|
|
@@ -299,25 +583,148 @@ export declare interface IDashboards {
|
|
|
299
583
|
dashboards: IDashboard[];
|
|
300
584
|
}
|
|
301
585
|
|
|
302
|
-
export
|
|
586
|
+
export declare interface IDateFormat {
|
|
587
|
+
time?: string;
|
|
588
|
+
date?: string;
|
|
589
|
+
}
|
|
303
590
|
|
|
304
|
-
export
|
|
591
|
+
export declare interface IDynamics {
|
|
592
|
+
engagement?: number;
|
|
593
|
+
semrush_visits?: number;
|
|
594
|
+
potential_reach?: number;
|
|
595
|
+
facebook_engagement?: number;
|
|
596
|
+
facebook_insights_reach?: number;
|
|
597
|
+
facebook_insights_impressions?: number;
|
|
598
|
+
facebook_insights_link_clicks?: number;
|
|
599
|
+
facebook_reactions?: number;
|
|
600
|
+
facebook_shares?: number;
|
|
601
|
+
instagram_followers?: number;
|
|
602
|
+
instagram_likes?: number;
|
|
603
|
+
retweets?: number;
|
|
604
|
+
twitter_shares?: number;
|
|
605
|
+
twitter_bookmarks?: number;
|
|
606
|
+
twitter_followers?: number;
|
|
607
|
+
twitter_impressions?: number;
|
|
608
|
+
twitter_insights_retweets?: number;
|
|
609
|
+
twitter_likes?: number;
|
|
610
|
+
twitter_replies?: number;
|
|
611
|
+
twitter_video_views?: number;
|
|
612
|
+
total_comments?: number;
|
|
613
|
+
trending_score?: number;
|
|
614
|
+
}
|
|
305
615
|
|
|
306
|
-
export
|
|
616
|
+
export declare interface IEchartsLine {
|
|
617
|
+
color: string[];
|
|
618
|
+
xAxis: XAxis;
|
|
619
|
+
yAxis: YAxis;
|
|
620
|
+
series: Series[];
|
|
621
|
+
}
|
|
307
622
|
|
|
308
623
|
export declare interface IFilteredAttributes {
|
|
309
624
|
[key: string]: string | object;
|
|
310
625
|
}
|
|
311
626
|
|
|
312
|
-
export
|
|
627
|
+
export declare interface IGeo {
|
|
628
|
+
latitude?: number;
|
|
629
|
+
longitude?: number;
|
|
630
|
+
zip?: string;
|
|
631
|
+
street: string;
|
|
632
|
+
city?: string;
|
|
633
|
+
country: string;
|
|
634
|
+
}
|
|
313
635
|
|
|
314
|
-
export
|
|
636
|
+
export declare interface IIndicators {
|
|
637
|
+
value: number;
|
|
638
|
+
}
|
|
315
639
|
|
|
316
|
-
export
|
|
640
|
+
export declare interface IJsonWidget {
|
|
641
|
+
node: string;
|
|
642
|
+
child: any[] | JsonChild[];
|
|
643
|
+
settings?: Settings;
|
|
644
|
+
template?: string;
|
|
645
|
+
label?: string;
|
|
646
|
+
tag?: string;
|
|
647
|
+
}
|
|
317
648
|
|
|
318
|
-
export
|
|
649
|
+
export declare interface ILabel {
|
|
650
|
+
label: string;
|
|
651
|
+
count: number;
|
|
652
|
+
info?: string;
|
|
653
|
+
current: ICloudIndicators;
|
|
654
|
+
previous?: ICloudIndicators;
|
|
655
|
+
percentage?: number;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
export declare interface ILand {
|
|
659
|
+
fillStyle: string;
|
|
660
|
+
}
|
|
319
661
|
|
|
320
|
-
export
|
|
662
|
+
export declare interface ILayout {
|
|
663
|
+
sections: Object | ISlideSections;
|
|
664
|
+
slide: ISlide;
|
|
665
|
+
widgets: Object | ISlideWidgets;
|
|
666
|
+
zones: Object | ISlideZones;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
export declare interface IMedium {
|
|
670
|
+
type: string;
|
|
671
|
+
url: string;
|
|
672
|
+
width: number;
|
|
673
|
+
height: number;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
export declare interface IMessage {
|
|
677
|
+
id: string;
|
|
678
|
+
published: string;
|
|
679
|
+
harvested: string;
|
|
680
|
+
utc: number;
|
|
681
|
+
expires: number;
|
|
682
|
+
channel: string;
|
|
683
|
+
type: string;
|
|
684
|
+
sender: ISender;
|
|
685
|
+
reply: string;
|
|
686
|
+
replyto: string;
|
|
687
|
+
page: string;
|
|
688
|
+
conversation: string;
|
|
689
|
+
title: string;
|
|
690
|
+
content: string;
|
|
691
|
+
sentiment: number;
|
|
692
|
+
link: string;
|
|
693
|
+
language?: string;
|
|
694
|
+
region?: string;
|
|
695
|
+
topics: ITopic[];
|
|
696
|
+
dynamics?: IDynamics;
|
|
697
|
+
geo?: IGeo;
|
|
698
|
+
media?: IMedium[];
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* Messages
|
|
703
|
+
*/
|
|
704
|
+
export declare interface IMessages {
|
|
705
|
+
messages: IMessage[];
|
|
706
|
+
presentation?: string;
|
|
707
|
+
slide?: string;
|
|
708
|
+
title?: string;
|
|
709
|
+
dashboard?: string;
|
|
710
|
+
widget?: string;
|
|
711
|
+
topics?: string;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
export declare interface IMetrics {
|
|
715
|
+
doc?: number;
|
|
716
|
+
previous?: number;
|
|
717
|
+
change?: number;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* IModal
|
|
722
|
+
*/
|
|
723
|
+
export declare interface IModal {
|
|
724
|
+
showComponent: string;
|
|
725
|
+
props?: any;
|
|
726
|
+
timeout?: number;
|
|
727
|
+
}
|
|
321
728
|
|
|
322
729
|
export declare const intToString: (num: any, digits?: number, abbreviate?: boolean, locale?: string) => string;
|
|
323
730
|
|
|
@@ -346,38 +753,343 @@ export declare interface IPresentations {
|
|
|
346
753
|
presentations: IPresentation[];
|
|
347
754
|
}
|
|
348
755
|
|
|
349
|
-
|
|
756
|
+
/**
|
|
757
|
+
* Query
|
|
758
|
+
*/
|
|
759
|
+
export declare interface IQuery {
|
|
760
|
+
[x: string]: any;
|
|
761
|
+
topics?: string;
|
|
762
|
+
presentation?: string;
|
|
763
|
+
dashboard: string;
|
|
764
|
+
widget: string;
|
|
765
|
+
labels?: string[];
|
|
766
|
+
compare?: string;
|
|
767
|
+
period?: number;
|
|
768
|
+
type?: "cloud" | "messages" | "series" | "preference" | "proxy" | "slide" | "dashboard" | "widget";
|
|
769
|
+
order?: "utc" | "reach" | "engagement" | "impressions";
|
|
770
|
+
media?: number;
|
|
771
|
+
dynamics?: number;
|
|
772
|
+
geo?: number;
|
|
773
|
+
delay?: string;
|
|
774
|
+
approved?: string;
|
|
775
|
+
moderation?: "realtime" | "delayed" | "approved" | "none";
|
|
776
|
+
hrm?: string;
|
|
777
|
+
before?: number;
|
|
778
|
+
since?: number;
|
|
779
|
+
hash?: string;
|
|
780
|
+
name?: string;
|
|
781
|
+
data?: any;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* API Response
|
|
786
|
+
*/
|
|
787
|
+
export declare interface IResponse {
|
|
788
|
+
data: IDashboards | IMessages | ISeries | ICloud | ISlides | IPresentations | IPreferences | IWidgets | null;
|
|
789
|
+
message: string;
|
|
790
|
+
success: boolean;
|
|
791
|
+
query?: IQuery;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
export declare interface IRotatingGlobe {
|
|
795
|
+
country: ICountry;
|
|
796
|
+
land: ILand;
|
|
797
|
+
borders: IBorders;
|
|
798
|
+
sphere: ISphere;
|
|
799
|
+
arc: IArc;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
export declare interface ISender {
|
|
803
|
+
id?: string;
|
|
804
|
+
channel?: string;
|
|
805
|
+
title?: string;
|
|
806
|
+
name?: string;
|
|
807
|
+
avatar?: string;
|
|
808
|
+
bio?: string;
|
|
809
|
+
location?: string;
|
|
810
|
+
verified?: number;
|
|
811
|
+
following?: number;
|
|
812
|
+
followers?: number;
|
|
813
|
+
listed?: number;
|
|
814
|
+
favourites?: number;
|
|
815
|
+
messages?: number;
|
|
816
|
+
influence?: number;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* Series Data
|
|
821
|
+
*/
|
|
822
|
+
export declare interface ISeries {
|
|
823
|
+
topic: string;
|
|
824
|
+
title: string;
|
|
825
|
+
series: ISeriesData[];
|
|
826
|
+
category: ICategory;
|
|
827
|
+
metrics?: IMetrics;
|
|
828
|
+
indicators?: IIndicators;
|
|
829
|
+
timestamp?: number;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
export declare interface ISeriesConfig {
|
|
833
|
+
fixed?: number;
|
|
834
|
+
abbreviate?: boolean;
|
|
835
|
+
}
|
|
350
836
|
|
|
351
|
-
export
|
|
837
|
+
export declare interface ISeriesCss {
|
|
838
|
+
arrowdown?: string;
|
|
839
|
+
arrowup?: string;
|
|
840
|
+
backdrop?: string;
|
|
841
|
+
body?: string;
|
|
842
|
+
brand?: string;
|
|
843
|
+
change?: string;
|
|
844
|
+
count?: string;
|
|
845
|
+
container?: string;
|
|
846
|
+
date?: string;
|
|
847
|
+
down?: string;
|
|
848
|
+
host?: string;
|
|
849
|
+
image?: string;
|
|
850
|
+
title?: string;
|
|
851
|
+
up?: string;
|
|
852
|
+
widget?: string;
|
|
853
|
+
dark?: boolean;
|
|
854
|
+
}
|
|
352
855
|
|
|
353
|
-
export
|
|
856
|
+
export declare interface ISeriesD3 {
|
|
857
|
+
globe: {
|
|
858
|
+
colors: {
|
|
859
|
+
arc: string;
|
|
860
|
+
border: string;
|
|
861
|
+
country: string;
|
|
862
|
+
land: string;
|
|
863
|
+
sphere: string;
|
|
864
|
+
};
|
|
865
|
+
settings?: {
|
|
866
|
+
canvas?: string;
|
|
867
|
+
card?: string;
|
|
868
|
+
width?: number;
|
|
869
|
+
height?: number;
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
}
|
|
354
873
|
|
|
355
|
-
export
|
|
874
|
+
export declare interface ISeriesData {
|
|
875
|
+
name?: string;
|
|
876
|
+
label?: string;
|
|
877
|
+
current?: number[];
|
|
878
|
+
current_total?: number;
|
|
879
|
+
previous_total?: number;
|
|
880
|
+
previous?: number[];
|
|
881
|
+
current_category?: number;
|
|
882
|
+
previous_category?: number;
|
|
883
|
+
}
|
|
356
884
|
|
|
357
|
-
export
|
|
885
|
+
export declare interface ISeriesDateFormat {
|
|
886
|
+
time?: string;
|
|
887
|
+
date?: string;
|
|
888
|
+
}
|
|
358
889
|
|
|
359
|
-
export
|
|
890
|
+
export declare interface ISeriesOptions {
|
|
891
|
+
css?: ISeriesCss;
|
|
892
|
+
d3?: ISeriesD3;
|
|
893
|
+
dateformat?: ISeriesDateFormat;
|
|
894
|
+
show?: ISeriesShow;
|
|
895
|
+
config?: ISeriesConfig;
|
|
896
|
+
}
|
|
360
897
|
|
|
361
|
-
export
|
|
898
|
+
export declare interface ISeriesShow {
|
|
899
|
+
brand?: boolean;
|
|
900
|
+
date?: boolean;
|
|
901
|
+
}
|
|
362
902
|
|
|
363
|
-
export
|
|
903
|
+
export declare interface IShow {
|
|
904
|
+
approve?: boolean;
|
|
905
|
+
avatar?: boolean;
|
|
906
|
+
brand?: boolean;
|
|
907
|
+
date?: boolean;
|
|
908
|
+
dynamics?: boolean;
|
|
909
|
+
kpi?: boolean;
|
|
910
|
+
sender?: boolean;
|
|
911
|
+
star?: boolean;
|
|
912
|
+
visible?: boolean;
|
|
913
|
+
}
|
|
364
914
|
|
|
365
|
-
export
|
|
915
|
+
export declare interface ISlide {
|
|
916
|
+
'label': string;
|
|
917
|
+
'cols': number;
|
|
918
|
+
'rows': number;
|
|
919
|
+
'width': string;
|
|
920
|
+
'height': string;
|
|
921
|
+
'backgrounds': string[];
|
|
922
|
+
'zones': string[];
|
|
923
|
+
'interval': string;
|
|
924
|
+
'animation': string;
|
|
925
|
+
'animation-speed': string;
|
|
926
|
+
}
|
|
366
927
|
|
|
367
|
-
export
|
|
928
|
+
export declare interface ISlideCloud {
|
|
929
|
+
'data-type'?: string;
|
|
930
|
+
'component'?: string;
|
|
931
|
+
'data-dashboard'?: string;
|
|
932
|
+
'data-widget': string;
|
|
933
|
+
'css-count'?: string[];
|
|
934
|
+
'css-host'?: string;
|
|
935
|
+
'kpi-name'?: string;
|
|
936
|
+
'config-abbreviate'?: string;
|
|
937
|
+
'class'?: string | string[];
|
|
938
|
+
}
|
|
368
939
|
|
|
369
|
-
export
|
|
940
|
+
export declare interface ISlideComponent {
|
|
941
|
+
path: string;
|
|
942
|
+
query: string;
|
|
943
|
+
node: string;
|
|
944
|
+
tag: string;
|
|
945
|
+
attr: ISlideMessages | ISlideSeries | ISlideCloud;
|
|
946
|
+
}
|
|
370
947
|
|
|
371
|
-
export
|
|
948
|
+
export declare interface ISlideContent {
|
|
949
|
+
editable: boolean;
|
|
950
|
+
path: string;
|
|
951
|
+
query: string;
|
|
952
|
+
node: string;
|
|
953
|
+
tag: string;
|
|
954
|
+
attr: Attr_2;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
export declare interface ISlideMessages {
|
|
958
|
+
'layout'?: string;
|
|
959
|
+
'component'?: string;
|
|
960
|
+
'data-type'?: string;
|
|
961
|
+
'data-dashboard'?: string;
|
|
962
|
+
'data-widget'?: string;
|
|
963
|
+
'show-kpi'?: string;
|
|
964
|
+
'show-sender'?: string;
|
|
965
|
+
'css-date'?: string[];
|
|
966
|
+
'css-card'?: string[];
|
|
967
|
+
'css-body'?: string[];
|
|
968
|
+
'css-brand'?: string[];
|
|
969
|
+
'css-handle'?: string[];
|
|
970
|
+
'css-name'?: string[];
|
|
971
|
+
'date-format'?: string;
|
|
972
|
+
'animation'?: string;
|
|
973
|
+
'interval'?: string;
|
|
974
|
+
'show-brand'?: string;
|
|
975
|
+
'data-order'?: string;
|
|
976
|
+
'index'?: string;
|
|
977
|
+
'class'?: string | string[];
|
|
978
|
+
'edit'?: string;
|
|
979
|
+
}
|
|
372
980
|
|
|
373
981
|
export declare interface ISlides {
|
|
374
982
|
presentation: string;
|
|
375
983
|
slides: any;
|
|
376
984
|
}
|
|
377
985
|
|
|
378
|
-
export
|
|
986
|
+
export declare interface ISlideSection {
|
|
987
|
+
'area': string;
|
|
988
|
+
'grid-area': string;
|
|
989
|
+
'widgets': string[];
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
export declare interface ISlideSections {
|
|
993
|
+
['x:string']: ISlideSection;
|
|
994
|
+
}
|
|
379
995
|
|
|
380
|
-
export
|
|
996
|
+
export declare interface ISlideSeries {
|
|
997
|
+
'data-type'?: string;
|
|
998
|
+
'data-widget': string;
|
|
999
|
+
'component'?: string;
|
|
1000
|
+
'data-dashboard'?: string;
|
|
1001
|
+
'css-arrow-down'?: string | string[];
|
|
1002
|
+
'css-body'?: string | string[];
|
|
1003
|
+
'css-brand'?: string | string[];
|
|
1004
|
+
'css-change'?: string | string[];
|
|
1005
|
+
'css-count'?: string | string[];
|
|
1006
|
+
'css-down'?: string | string[];
|
|
1007
|
+
'css-up'?: string | string[];
|
|
1008
|
+
'class'?: string | string[];
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
export declare interface ISlideSettings {
|
|
1012
|
+
contents: ISlideContent[];
|
|
1013
|
+
component: ISlideComponent;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
export declare interface ISlideWidget {
|
|
1017
|
+
node: string;
|
|
1018
|
+
child: SlideChild[];
|
|
1019
|
+
settings: ISlideSettings;
|
|
1020
|
+
template: string;
|
|
1021
|
+
label: string;
|
|
1022
|
+
tag: string;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
export declare interface ISlideWidgets {
|
|
1026
|
+
['x:string']: string;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
export declare interface ISlideZone {
|
|
1030
|
+
'label': string;
|
|
1031
|
+
'area': string;
|
|
1032
|
+
'grid-area': string;
|
|
1033
|
+
'grid-rows': string;
|
|
1034
|
+
'grid-cols': string;
|
|
1035
|
+
'gap-x': string;
|
|
1036
|
+
'gap-y': string;
|
|
1037
|
+
'padding': string;
|
|
1038
|
+
'sections': string[];
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
export declare interface ISlideZones {
|
|
1042
|
+
['x:string']: ISlideZone[];
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
export declare interface ISphere {
|
|
1046
|
+
strokeStyle: string;
|
|
1047
|
+
lineWidth: number;
|
|
1048
|
+
fillStyle: string;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* Storage Options
|
|
1053
|
+
*/
|
|
1054
|
+
export declare interface IStorageOptions {
|
|
1055
|
+
app: string;
|
|
1056
|
+
builder?: boolean;
|
|
1057
|
+
domain?: string;
|
|
1058
|
+
cdn?: string;
|
|
1059
|
+
channel?: string;
|
|
1060
|
+
presentation: string;
|
|
1061
|
+
slide?: string;
|
|
1062
|
+
slides?: string[];
|
|
1063
|
+
display?: string;
|
|
1064
|
+
monitor?: string;
|
|
1065
|
+
version: string;
|
|
1066
|
+
storage: string;
|
|
1067
|
+
token?: string;
|
|
1068
|
+
bearer?: string;
|
|
1069
|
+
csrf?: string;
|
|
1070
|
+
moderation?: string;
|
|
1071
|
+
beforeTime?: string;
|
|
1072
|
+
delay?: number;
|
|
1073
|
+
period?: number;
|
|
1074
|
+
retention?: number;
|
|
1075
|
+
suspended?: boolean;
|
|
1076
|
+
loglevel?: number;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
export declare interface ITopic {
|
|
1080
|
+
message_id: string;
|
|
1081
|
+
dashboard_id?: string;
|
|
1082
|
+
widget_id?: string;
|
|
1083
|
+
topic?: string;
|
|
1084
|
+
engagement: number;
|
|
1085
|
+
impressions: number;
|
|
1086
|
+
reach: number;
|
|
1087
|
+
sentiment: number;
|
|
1088
|
+
title?: string;
|
|
1089
|
+
utc?: number;
|
|
1090
|
+
expires?: number;
|
|
1091
|
+
visible?: number;
|
|
1092
|
+
}
|
|
381
1093
|
|
|
382
1094
|
export declare interface IWidget {
|
|
383
1095
|
id: string;
|
|
@@ -389,17 +1101,57 @@ export declare interface IWidget {
|
|
|
389
1101
|
period?: string;
|
|
390
1102
|
}
|
|
391
1103
|
|
|
1104
|
+
export declare interface IWidgetComponent {
|
|
1105
|
+
path: string;
|
|
1106
|
+
query: string;
|
|
1107
|
+
node: string;
|
|
1108
|
+
tag: string;
|
|
1109
|
+
attr: ICardAttributes;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
export declare interface IWidgetContent {
|
|
1113
|
+
editable: boolean;
|
|
1114
|
+
path: string;
|
|
1115
|
+
query: string;
|
|
1116
|
+
text: string;
|
|
1117
|
+
node: string;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
392
1120
|
export declare interface IWidgets {
|
|
393
1121
|
widgets: IWidget[];
|
|
394
1122
|
}
|
|
395
1123
|
|
|
1124
|
+
export declare interface IWidgetSettings {
|
|
1125
|
+
label: string;
|
|
1126
|
+
preview?: string;
|
|
1127
|
+
contents?: IWidgetContent[];
|
|
1128
|
+
component: IWidgetComponent;
|
|
1129
|
+
}
|
|
1130
|
+
|
|
396
1131
|
export declare const json2html: (json: any) => any;
|
|
397
1132
|
|
|
398
|
-
export
|
|
1133
|
+
export declare interface JsonChild {
|
|
1134
|
+
node: string;
|
|
1135
|
+
tag: string;
|
|
1136
|
+
attr: MessagesAttr | SeriesAttr;
|
|
1137
|
+
child: JsonChild[];
|
|
1138
|
+
}
|
|
399
1139
|
|
|
400
|
-
export
|
|
1140
|
+
export declare interface Label {
|
|
1141
|
+
label: string;
|
|
1142
|
+
count: number;
|
|
1143
|
+
info: string;
|
|
1144
|
+
}
|
|
401
1145
|
|
|
402
|
-
export
|
|
1146
|
+
export declare interface Land {
|
|
1147
|
+
type: string;
|
|
1148
|
+
geometries: LandGeometry[];
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
export declare interface LandGeometry {
|
|
1152
|
+
type: Type;
|
|
1153
|
+
arcs: Array<Array<number[]>>;
|
|
1154
|
+
}
|
|
403
1155
|
|
|
404
1156
|
export declare const log: (level: number | undefined, message: any[]) => void;
|
|
405
1157
|
|
|
@@ -407,6 +1159,30 @@ export declare const maxifyCss: (css: string) => string;
|
|
|
407
1159
|
|
|
408
1160
|
export declare const maxifyHtml: (html: string) => string;
|
|
409
1161
|
|
|
1162
|
+
export declare interface MessagesAttr {
|
|
1163
|
+
layout?: string;
|
|
1164
|
+
component?: string;
|
|
1165
|
+
"data-type"?: string;
|
|
1166
|
+
"data-dashboard"?: string;
|
|
1167
|
+
"data-widget"?: string;
|
|
1168
|
+
"show-kpi"?: string;
|
|
1169
|
+
"show-sender"?: string;
|
|
1170
|
+
"css-date"?: string[];
|
|
1171
|
+
"css-card"?: string[];
|
|
1172
|
+
"css-body"?: string[];
|
|
1173
|
+
"css-brand"?: string[];
|
|
1174
|
+
"css-handle"?: string[];
|
|
1175
|
+
"css-name"?: string[];
|
|
1176
|
+
"date-format"?: string;
|
|
1177
|
+
animation?: string;
|
|
1178
|
+
interval?: string;
|
|
1179
|
+
"show-brand"?: string;
|
|
1180
|
+
"data-order"?: string;
|
|
1181
|
+
index?: string;
|
|
1182
|
+
class?: string | string[];
|
|
1183
|
+
edit?: string;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
410
1186
|
export declare const minifyCss: (css: string) => void;
|
|
411
1187
|
|
|
412
1188
|
export declare const minifyHtml: (html: string) => string;
|
|
@@ -419,7 +1195,7 @@ export declare enum MODERATION {
|
|
|
419
1195
|
REALTIME = "realtime"
|
|
420
1196
|
}
|
|
421
1197
|
|
|
422
|
-
export declare function moderation(options:
|
|
1198
|
+
export declare function moderation(options: IStorageOptions, query: IQuery): IQuery;
|
|
423
1199
|
|
|
424
1200
|
export declare function numberFormatter(num: number, digits: number): string;
|
|
425
1201
|
|
|
@@ -436,6 +1212,32 @@ export declare function rtl(message: IMessage): {
|
|
|
436
1212
|
|
|
437
1213
|
export declare function sanitize(messages: IMessage[]): IMessage[];
|
|
438
1214
|
|
|
1215
|
+
export declare interface Series {
|
|
1216
|
+
data: number[];
|
|
1217
|
+
type: string;
|
|
1218
|
+
areaStyle: AreaStyle;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
export declare interface SeriesAttr {
|
|
1222
|
+
"data-type"?: string;
|
|
1223
|
+
"data-widget": string;
|
|
1224
|
+
component?: string;
|
|
1225
|
+
"data-dashboard"?: string;
|
|
1226
|
+
"css-arrow-down"?: string | string[];
|
|
1227
|
+
"css-body"?: string | string[];
|
|
1228
|
+
"css-brand"?: string | string[];
|
|
1229
|
+
"css-change"?: string | string[];
|
|
1230
|
+
"css-count"?: string | string[];
|
|
1231
|
+
"css-down"?: string | string[];
|
|
1232
|
+
"css-up"?: string | string[];
|
|
1233
|
+
class?: string | string[];
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
export declare interface Settings {
|
|
1237
|
+
contents: Content[];
|
|
1238
|
+
component: Component;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
439
1241
|
export declare enum ShapeType {
|
|
440
1242
|
MultiPolygon = "MultiPolygon",
|
|
441
1243
|
Polygon = "Polygon"
|
|
@@ -445,6 +1247,12 @@ export declare function showModal(e: MouseEvent, widget: any, message: IMessage,
|
|
|
445
1247
|
|
|
446
1248
|
export declare function shuffleMessages(messages: IMessage[]): IMessage[];
|
|
447
1249
|
|
|
1250
|
+
export declare interface SlideChild {
|
|
1251
|
+
node: string;
|
|
1252
|
+
tag: string;
|
|
1253
|
+
attr: Attr_2;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
448
1256
|
export declare enum STORAGE {
|
|
449
1257
|
KEYVAL = "keyval",
|
|
450
1258
|
LOCAL = "local",
|
|
@@ -459,16 +1267,34 @@ export declare enum STORAGE {
|
|
|
459
1267
|
*/
|
|
460
1268
|
export declare function stringGen(): string;
|
|
461
1269
|
|
|
462
|
-
export
|
|
1270
|
+
export declare interface Transform {
|
|
1271
|
+
scale: number[];
|
|
1272
|
+
translate: number[];
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
export declare enum Type {
|
|
1276
|
+
MultiPolygon = "MultiPolygon",
|
|
1277
|
+
Polygon = "Polygon"
|
|
1278
|
+
}
|
|
463
1279
|
|
|
464
|
-
export declare const typeCss: (query:
|
|
1280
|
+
export declare const typeCss: (query: IQuery | undefined) => string;
|
|
465
1281
|
|
|
466
1282
|
export declare const uniq: (length?: number, existing?: never[]) => string;
|
|
467
1283
|
|
|
468
1284
|
export declare const upDownColor: (change: number) => "text-down text-xs" | "text-up text-xs" | "text-white text-xs";
|
|
469
1285
|
|
|
470
|
-
export declare function widgetParams(query:
|
|
1286
|
+
export declare function widgetParams(query: IQuery): IQuery;
|
|
471
1287
|
|
|
472
1288
|
export declare const wrapPromise: (promise: any, delay: number, reason: string) => Promise<any>;
|
|
473
1289
|
|
|
1290
|
+
export declare interface XAxis {
|
|
1291
|
+
type: string;
|
|
1292
|
+
boundaryGap: boolean;
|
|
1293
|
+
data: string[];
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
export declare interface YAxis {
|
|
1297
|
+
type: string;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
474
1300
|
export { }
|