buzzcasting-utils 1.3.5 → 1.3.7
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 -125
- package/dist/buzzcasting-utils.esm.js +87 -93
- package/package.json +9 -9
|
@@ -1,65 +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 { ITopic } from './interfaces';
|
|
58
|
-
import { Label } from './interfaces';
|
|
59
|
-
import { Land } from './interfaces';
|
|
60
|
-
import { LandGeometry } from './interfaces';
|
|
61
|
-
import { Transform } from './interfaces';
|
|
62
|
-
|
|
63
1
|
export declare function anonymize(name: string): string;
|
|
64
2
|
|
|
65
3
|
export declare enum API {
|
|
@@ -81,8 +19,17 @@ export declare enum API {
|
|
|
81
19
|
|
|
82
20
|
export declare type ApiData = ISeries & IMessages & ICloud;
|
|
83
21
|
|
|
22
|
+
export declare interface AreaStyle {
|
|
23
|
+
}
|
|
24
|
+
|
|
84
25
|
export declare function attachedMedia(message: IMessage): IAttachedMedia_2;
|
|
85
26
|
|
|
27
|
+
declare interface Attr_2 {
|
|
28
|
+
['x:string']: string | string[];
|
|
29
|
+
class: string | string[];
|
|
30
|
+
}
|
|
31
|
+
export { Attr_2 as Attr }
|
|
32
|
+
|
|
86
33
|
export declare function attrs(attributes: NamedNodeMap): any;
|
|
87
34
|
|
|
88
35
|
export declare function brandLogo(channel: string, size: string): string;
|
|
@@ -111,9 +58,56 @@ export declare const capitalizeFirstLetter: (prop: string) => string;
|
|
|
111
58
|
*/
|
|
112
59
|
export declare function clearContents(myNode: HTMLElement): void;
|
|
113
60
|
|
|
114
|
-
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
|
+
}
|
|
115
80
|
|
|
116
|
-
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
|
+
}
|
|
117
111
|
|
|
118
112
|
declare enum CSS_2 {
|
|
119
113
|
API = "color:white;background-color:grey;padding:0 4px 0 4px;border-radius:5px;",
|
|
@@ -198,7 +192,7 @@ export declare function formatContent(message: IMessage, titleCss?: string): str
|
|
|
198
192
|
|
|
199
193
|
export declare const getGuid: () => string;
|
|
200
194
|
|
|
201
|
-
export declare function getKey(query:
|
|
195
|
+
export declare function getKey(query: IQuery): string;
|
|
202
196
|
|
|
203
197
|
export declare function getParameterByName(key: string): string | null;
|
|
204
198
|
|
|
@@ -217,11 +211,27 @@ export declare const HTMLtoDOM: (html: string, doc: any) => any;
|
|
|
217
211
|
|
|
218
212
|
export declare const HTMLtoXML: (html: string) => string;
|
|
219
213
|
|
|
220
|
-
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
|
+
}
|
|
221
222
|
|
|
222
|
-
export
|
|
223
|
+
export declare interface IArc {
|
|
224
|
+
strokeStyle: string;
|
|
225
|
+
lineWidth: number;
|
|
226
|
+
}
|
|
223
227
|
|
|
224
|
-
export
|
|
228
|
+
export declare interface IAttachedMedia {
|
|
229
|
+
image?: string;
|
|
230
|
+
background: {
|
|
231
|
+
backgroundimage?: string;
|
|
232
|
+
} | null;
|
|
233
|
+
video?: string;
|
|
234
|
+
}
|
|
225
235
|
|
|
226
236
|
declare interface IAttachedMedia_2 {
|
|
227
237
|
image?: string;
|
|
@@ -231,59 +241,332 @@ declare interface IAttachedMedia_2 {
|
|
|
231
241
|
video?: string;
|
|
232
242
|
}
|
|
233
243
|
|
|
234
|
-
export
|
|
244
|
+
export declare interface IBorders {
|
|
245
|
+
strokeStyle: string;
|
|
246
|
+
lineWidth: number;
|
|
247
|
+
}
|
|
235
248
|
|
|
236
|
-
export
|
|
249
|
+
export declare interface IBrand {
|
|
250
|
+
show?: boolean;
|
|
251
|
+
size?: string;
|
|
252
|
+
}
|
|
237
253
|
|
|
238
|
-
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
|
+
}
|
|
239
275
|
|
|
240
|
-
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
|
+
}
|
|
241
284
|
|
|
242
|
-
export
|
|
285
|
+
export declare interface ICategory {
|
|
286
|
+
type: string;
|
|
287
|
+
data: string[];
|
|
288
|
+
}
|
|
243
289
|
|
|
244
|
-
|
|
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
|
+
}
|
|
245
302
|
|
|
246
|
-
export
|
|
303
|
+
export declare interface ICloudBubbles {
|
|
304
|
+
size: number;
|
|
305
|
+
classlist: string;
|
|
306
|
+
force: number;
|
|
307
|
+
color: string;
|
|
308
|
+
}
|
|
247
309
|
|
|
248
|
-
export
|
|
310
|
+
export declare interface ICloudConfig {
|
|
311
|
+
fixed?: number;
|
|
312
|
+
abbreviate?: boolean;
|
|
313
|
+
}
|
|
249
314
|
|
|
250
|
-
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
|
+
}
|
|
251
336
|
|
|
252
|
-
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
|
+
}
|
|
253
354
|
|
|
254
|
-
export
|
|
355
|
+
export declare interface ICloudDateFormat {
|
|
356
|
+
time?: string;
|
|
357
|
+
date?: string;
|
|
358
|
+
}
|
|
255
359
|
|
|
256
|
-
export
|
|
360
|
+
export declare interface ICloudDimensions {
|
|
361
|
+
width: number;
|
|
362
|
+
height: number;
|
|
363
|
+
}
|
|
257
364
|
|
|
258
|
-
|
|
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
|
+
}
|
|
259
374
|
|
|
260
|
-
export
|
|
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
|
+
}
|
|
261
385
|
|
|
262
|
-
export
|
|
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
|
+
}
|
|
263
405
|
|
|
264
|
-
export
|
|
406
|
+
export declare interface ICloudKpi {
|
|
407
|
+
name: string;
|
|
408
|
+
}
|
|
265
409
|
|
|
266
|
-
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
|
+
}
|
|
267
428
|
|
|
268
|
-
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
|
+
}
|
|
269
442
|
|
|
270
|
-
export
|
|
443
|
+
export declare interface ICloudPie {
|
|
444
|
+
radius: {
|
|
445
|
+
inner: number;
|
|
446
|
+
outer: number;
|
|
447
|
+
};
|
|
448
|
+
animation: {
|
|
449
|
+
duration: number;
|
|
450
|
+
};
|
|
451
|
+
}
|
|
271
452
|
|
|
272
|
-
export
|
|
453
|
+
export declare interface ICloudShow {
|
|
454
|
+
brand?: boolean;
|
|
455
|
+
date?: boolean;
|
|
456
|
+
}
|
|
273
457
|
|
|
274
|
-
export
|
|
458
|
+
export declare interface ICountries {
|
|
459
|
+
type: string;
|
|
460
|
+
objects: CountryObjects;
|
|
461
|
+
arcs: Array<Array<number[]>>;
|
|
462
|
+
bbox: number[];
|
|
463
|
+
transform: Transform;
|
|
464
|
+
}
|
|
275
465
|
|
|
276
|
-
export
|
|
466
|
+
export declare interface ICountry {
|
|
467
|
+
fillStyle: string;
|
|
468
|
+
}
|
|
277
469
|
|
|
278
|
-
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
|
+
}
|
|
279
491
|
|
|
280
|
-
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
|
+
}
|
|
281
509
|
|
|
282
|
-
export
|
|
510
|
+
export declare interface ID3Bubbles {
|
|
511
|
+
size: number;
|
|
512
|
+
force: number;
|
|
513
|
+
classlist?: string;
|
|
514
|
+
color?: string;
|
|
515
|
+
}
|
|
283
516
|
|
|
284
|
-
export
|
|
517
|
+
export declare interface ID3Data {
|
|
518
|
+
label: string;
|
|
519
|
+
count: number;
|
|
520
|
+
color: string;
|
|
521
|
+
radius?: number;
|
|
522
|
+
fill?: string;
|
|
523
|
+
}
|
|
285
524
|
|
|
286
|
-
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
|
+
}
|
|
536
|
+
|
|
537
|
+
export declare interface ID3Map {
|
|
538
|
+
radius: {
|
|
539
|
+
inner: number;
|
|
540
|
+
outer: number;
|
|
541
|
+
};
|
|
542
|
+
animation: {
|
|
543
|
+
duration: number;
|
|
544
|
+
};
|
|
545
|
+
}
|
|
546
|
+
|
|
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
|
+
}
|
|
560
|
+
|
|
561
|
+
export declare interface ID3Pie {
|
|
562
|
+
radius: {
|
|
563
|
+
inner: number;
|
|
564
|
+
outer: number;
|
|
565
|
+
};
|
|
566
|
+
animation: {
|
|
567
|
+
duration: number;
|
|
568
|
+
};
|
|
569
|
+
}
|
|
287
570
|
|
|
288
571
|
export declare interface IDashboard {
|
|
289
572
|
id: string;
|
|
@@ -300,25 +583,148 @@ export declare interface IDashboards {
|
|
|
300
583
|
dashboards: IDashboard[];
|
|
301
584
|
}
|
|
302
585
|
|
|
303
|
-
export
|
|
586
|
+
export declare interface IDateFormat {
|
|
587
|
+
time?: string;
|
|
588
|
+
date?: string;
|
|
589
|
+
}
|
|
304
590
|
|
|
305
|
-
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
|
+
}
|
|
306
615
|
|
|
307
|
-
export
|
|
616
|
+
export declare interface IEchartsLine {
|
|
617
|
+
color: string[];
|
|
618
|
+
xAxis: XAxis;
|
|
619
|
+
yAxis: YAxis;
|
|
620
|
+
series: Series[];
|
|
621
|
+
}
|
|
308
622
|
|
|
309
623
|
export declare interface IFilteredAttributes {
|
|
310
624
|
[key: string]: string | object;
|
|
311
625
|
}
|
|
312
626
|
|
|
313
|
-
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
|
+
}
|
|
635
|
+
|
|
636
|
+
export declare interface IIndicators {
|
|
637
|
+
value: number;
|
|
638
|
+
}
|
|
639
|
+
|
|
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
|
+
}
|
|
648
|
+
|
|
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
|
+
}
|
|
314
661
|
|
|
315
|
-
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
|
+
}
|
|
316
700
|
|
|
317
|
-
|
|
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
|
+
}
|
|
318
713
|
|
|
319
|
-
export
|
|
714
|
+
export declare interface IMetrics {
|
|
715
|
+
doc?: number;
|
|
716
|
+
previous?: number;
|
|
717
|
+
change?: number;
|
|
718
|
+
}
|
|
320
719
|
|
|
321
|
-
|
|
720
|
+
/**
|
|
721
|
+
* IModal
|
|
722
|
+
*/
|
|
723
|
+
export declare interface IModal {
|
|
724
|
+
showComponent: string;
|
|
725
|
+
props?: any;
|
|
726
|
+
timeout?: number;
|
|
727
|
+
}
|
|
322
728
|
|
|
323
729
|
export declare const intToString: (num: any, digits?: number, abbreviate?: boolean, locale?: string) => string;
|
|
324
730
|
|
|
@@ -347,40 +753,344 @@ export declare interface IPresentations {
|
|
|
347
753
|
presentations: IPresentation[];
|
|
348
754
|
}
|
|
349
755
|
|
|
350
|
-
|
|
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
|
+
}
|
|
351
836
|
|
|
352
|
-
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
|
+
}
|
|
353
855
|
|
|
354
|
-
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
|
+
}
|
|
355
873
|
|
|
356
|
-
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
|
+
}
|
|
357
884
|
|
|
358
|
-
export
|
|
885
|
+
export declare interface ISeriesDateFormat {
|
|
886
|
+
time?: string;
|
|
887
|
+
date?: string;
|
|
888
|
+
}
|
|
359
889
|
|
|
360
|
-
export
|
|
890
|
+
export declare interface ISeriesOptions {
|
|
891
|
+
css?: ISeriesCss;
|
|
892
|
+
d3?: ISeriesD3;
|
|
893
|
+
dateformat?: ISeriesDateFormat;
|
|
894
|
+
show?: ISeriesShow;
|
|
895
|
+
config?: ISeriesConfig;
|
|
896
|
+
}
|
|
361
897
|
|
|
362
|
-
export
|
|
898
|
+
export declare interface ISeriesShow {
|
|
899
|
+
brand?: boolean;
|
|
900
|
+
date?: boolean;
|
|
901
|
+
}
|
|
363
902
|
|
|
364
|
-
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
|
+
}
|
|
365
914
|
|
|
366
|
-
export
|
|
915
|
+
export declare interface ISlide {
|
|
916
|
+
'id': string;
|
|
917
|
+
'label': string;
|
|
918
|
+
'cols': number;
|
|
919
|
+
'rows': number;
|
|
920
|
+
'width': string;
|
|
921
|
+
'height': string;
|
|
922
|
+
'backgrounds': string[];
|
|
923
|
+
'zones': string[];
|
|
924
|
+
'interval': string;
|
|
925
|
+
'animation': string;
|
|
926
|
+
'animation-speed': string;
|
|
927
|
+
}
|
|
367
928
|
|
|
368
|
-
export
|
|
929
|
+
export declare interface ISlideCloud {
|
|
930
|
+
'data-type'?: string;
|
|
931
|
+
'component'?: string;
|
|
932
|
+
'data-dashboard'?: string;
|
|
933
|
+
'data-widget': string;
|
|
934
|
+
'css-count'?: string[];
|
|
935
|
+
'css-host'?: string;
|
|
936
|
+
'kpi-name'?: string;
|
|
937
|
+
'config-abbreviate'?: string;
|
|
938
|
+
'class'?: string | string[];
|
|
939
|
+
}
|
|
369
940
|
|
|
370
|
-
export
|
|
941
|
+
export declare interface ISlideComponent {
|
|
942
|
+
path: string;
|
|
943
|
+
query: string;
|
|
944
|
+
node: string;
|
|
945
|
+
tag: string;
|
|
946
|
+
attr: ISlideMessages | ISlideSeries | ISlideCloud;
|
|
947
|
+
}
|
|
371
948
|
|
|
372
|
-
export
|
|
949
|
+
export declare interface ISlideContent {
|
|
950
|
+
editable: boolean;
|
|
951
|
+
path: string;
|
|
952
|
+
query: string;
|
|
953
|
+
node: string;
|
|
954
|
+
tag: string;
|
|
955
|
+
attr: Attr_2;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
export declare interface ISlideMessages {
|
|
959
|
+
'layout'?: string;
|
|
960
|
+
'component'?: string;
|
|
961
|
+
'data-type'?: string;
|
|
962
|
+
'data-dashboard'?: string;
|
|
963
|
+
'data-widget'?: string;
|
|
964
|
+
'show-kpi'?: string;
|
|
965
|
+
'show-sender'?: string;
|
|
966
|
+
'css-date'?: string[];
|
|
967
|
+
'css-card'?: string[];
|
|
968
|
+
'css-body'?: string[];
|
|
969
|
+
'css-brand'?: string[];
|
|
970
|
+
'css-handle'?: string[];
|
|
971
|
+
'css-name'?: string[];
|
|
972
|
+
'date-format'?: string;
|
|
973
|
+
'animation'?: string;
|
|
974
|
+
'interval'?: string;
|
|
975
|
+
'show-brand'?: string;
|
|
976
|
+
'data-order'?: string;
|
|
977
|
+
'index'?: string;
|
|
978
|
+
'class'?: string | string[];
|
|
979
|
+
'edit'?: string;
|
|
980
|
+
}
|
|
373
981
|
|
|
374
982
|
export declare interface ISlides {
|
|
375
983
|
presentation: string;
|
|
376
984
|
slides: any;
|
|
377
985
|
}
|
|
378
986
|
|
|
379
|
-
export
|
|
987
|
+
export declare interface ISlideSection {
|
|
988
|
+
'area': string;
|
|
989
|
+
'grid-area': string;
|
|
990
|
+
'widgets': string[];
|
|
991
|
+
}
|
|
380
992
|
|
|
381
|
-
export
|
|
993
|
+
export declare interface ISlideSections {
|
|
994
|
+
['x:string']: ISlideSection;
|
|
995
|
+
}
|
|
382
996
|
|
|
383
|
-
export
|
|
997
|
+
export declare interface ISlideSeries {
|
|
998
|
+
'data-type'?: string;
|
|
999
|
+
'data-widget': string;
|
|
1000
|
+
'component'?: string;
|
|
1001
|
+
'data-dashboard'?: string;
|
|
1002
|
+
'css-arrow-down'?: string | string[];
|
|
1003
|
+
'css-body'?: string | string[];
|
|
1004
|
+
'css-brand'?: string | string[];
|
|
1005
|
+
'css-change'?: string | string[];
|
|
1006
|
+
'css-count'?: string | string[];
|
|
1007
|
+
'css-down'?: string | string[];
|
|
1008
|
+
'css-up'?: string | string[];
|
|
1009
|
+
'class'?: string | string[];
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
export declare interface ISlideSettings {
|
|
1013
|
+
contents: ISlideContent[];
|
|
1014
|
+
component: ISlideComponent;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
export declare interface ISlideWidget {
|
|
1018
|
+
node: string;
|
|
1019
|
+
child: SlideChild[];
|
|
1020
|
+
settings: ISlideSettings;
|
|
1021
|
+
template: string;
|
|
1022
|
+
label: string;
|
|
1023
|
+
tag: string;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
export declare interface ISlideWidgets {
|
|
1027
|
+
['x:string']: string;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
export declare interface ISlideZone {
|
|
1031
|
+
'label': string;
|
|
1032
|
+
'area': string;
|
|
1033
|
+
'grid-area': string;
|
|
1034
|
+
'grid-rows': string;
|
|
1035
|
+
'grid-cols': string;
|
|
1036
|
+
'gap-x': string;
|
|
1037
|
+
'gap-y': string;
|
|
1038
|
+
'padding': string;
|
|
1039
|
+
'sections': string[];
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
export declare interface ISlideZones {
|
|
1043
|
+
['x:string']: ISlideZone[];
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
export declare interface ISphere {
|
|
1047
|
+
strokeStyle: string;
|
|
1048
|
+
lineWidth: number;
|
|
1049
|
+
fillStyle: string;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* Storage Options
|
|
1054
|
+
*/
|
|
1055
|
+
export declare interface IStorageOptions {
|
|
1056
|
+
app: string;
|
|
1057
|
+
builder?: boolean;
|
|
1058
|
+
domain?: string;
|
|
1059
|
+
cdn?: string;
|
|
1060
|
+
channel?: string;
|
|
1061
|
+
presentation: string;
|
|
1062
|
+
slide?: string;
|
|
1063
|
+
slides?: string[];
|
|
1064
|
+
display?: string;
|
|
1065
|
+
monitor?: string;
|
|
1066
|
+
version: string;
|
|
1067
|
+
storage: string;
|
|
1068
|
+
token?: string;
|
|
1069
|
+
bearer?: string;
|
|
1070
|
+
csrf?: string;
|
|
1071
|
+
moderation?: string;
|
|
1072
|
+
beforeTime?: string;
|
|
1073
|
+
delay?: number;
|
|
1074
|
+
period?: number;
|
|
1075
|
+
retention?: number;
|
|
1076
|
+
suspended?: boolean;
|
|
1077
|
+
loglevel?: number;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
export declare interface ITopic {
|
|
1081
|
+
message_id: string;
|
|
1082
|
+
dashboard_id?: string;
|
|
1083
|
+
widget_id?: string;
|
|
1084
|
+
topic?: string;
|
|
1085
|
+
engagement: number;
|
|
1086
|
+
impressions: number;
|
|
1087
|
+
reach: number;
|
|
1088
|
+
sentiment: number;
|
|
1089
|
+
title?: string;
|
|
1090
|
+
utc?: number;
|
|
1091
|
+
expires?: number;
|
|
1092
|
+
visible?: number;
|
|
1093
|
+
}
|
|
384
1094
|
|
|
385
1095
|
export declare interface IWidget {
|
|
386
1096
|
id: string;
|
|
@@ -392,17 +1102,57 @@ export declare interface IWidget {
|
|
|
392
1102
|
period?: string;
|
|
393
1103
|
}
|
|
394
1104
|
|
|
1105
|
+
export declare interface IWidgetComponent {
|
|
1106
|
+
path: string;
|
|
1107
|
+
query: string;
|
|
1108
|
+
node: string;
|
|
1109
|
+
tag: string;
|
|
1110
|
+
attr: ICardAttributes;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
export declare interface IWidgetContent {
|
|
1114
|
+
editable: boolean;
|
|
1115
|
+
path: string;
|
|
1116
|
+
query: string;
|
|
1117
|
+
text: string;
|
|
1118
|
+
node: string;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
395
1121
|
export declare interface IWidgets {
|
|
396
1122
|
widgets: IWidget[];
|
|
397
1123
|
}
|
|
398
1124
|
|
|
1125
|
+
export declare interface IWidgetSettings {
|
|
1126
|
+
label: string;
|
|
1127
|
+
preview?: string;
|
|
1128
|
+
contents?: IWidgetContent[];
|
|
1129
|
+
component: IWidgetComponent;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
399
1132
|
export declare const json2html: (json: any) => any;
|
|
400
1133
|
|
|
401
|
-
export
|
|
1134
|
+
export declare interface JsonChild {
|
|
1135
|
+
node: string;
|
|
1136
|
+
tag: string;
|
|
1137
|
+
attr: MessagesAttr | SeriesAttr;
|
|
1138
|
+
child: JsonChild[];
|
|
1139
|
+
}
|
|
402
1140
|
|
|
403
|
-
export
|
|
1141
|
+
export declare interface Label {
|
|
1142
|
+
label: string;
|
|
1143
|
+
count: number;
|
|
1144
|
+
info: string;
|
|
1145
|
+
}
|
|
404
1146
|
|
|
405
|
-
export
|
|
1147
|
+
export declare interface Land {
|
|
1148
|
+
type: string;
|
|
1149
|
+
geometries: LandGeometry[];
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
export declare interface LandGeometry {
|
|
1153
|
+
type: Type;
|
|
1154
|
+
arcs: Array<Array<number[]>>;
|
|
1155
|
+
}
|
|
406
1156
|
|
|
407
1157
|
export declare const log: (level: number | undefined, message: any[]) => void;
|
|
408
1158
|
|
|
@@ -410,6 +1160,30 @@ export declare const maxifyCss: (css: string) => string;
|
|
|
410
1160
|
|
|
411
1161
|
export declare const maxifyHtml: (html: string) => string;
|
|
412
1162
|
|
|
1163
|
+
export declare interface MessagesAttr {
|
|
1164
|
+
layout?: string;
|
|
1165
|
+
component?: string;
|
|
1166
|
+
"data-type"?: string;
|
|
1167
|
+
"data-dashboard"?: string;
|
|
1168
|
+
"data-widget"?: string;
|
|
1169
|
+
"show-kpi"?: string;
|
|
1170
|
+
"show-sender"?: string;
|
|
1171
|
+
"css-date"?: string[];
|
|
1172
|
+
"css-card"?: string[];
|
|
1173
|
+
"css-body"?: string[];
|
|
1174
|
+
"css-brand"?: string[];
|
|
1175
|
+
"css-handle"?: string[];
|
|
1176
|
+
"css-name"?: string[];
|
|
1177
|
+
"date-format"?: string;
|
|
1178
|
+
animation?: string;
|
|
1179
|
+
interval?: string;
|
|
1180
|
+
"show-brand"?: string;
|
|
1181
|
+
"data-order"?: string;
|
|
1182
|
+
index?: string;
|
|
1183
|
+
class?: string | string[];
|
|
1184
|
+
edit?: string;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
413
1187
|
export declare const minifyCss: (css: string) => void;
|
|
414
1188
|
|
|
415
1189
|
export declare const minifyHtml: (html: string) => string;
|
|
@@ -422,7 +1196,7 @@ export declare enum MODERATION {
|
|
|
422
1196
|
REALTIME = "realtime"
|
|
423
1197
|
}
|
|
424
1198
|
|
|
425
|
-
export declare function moderation(options:
|
|
1199
|
+
export declare function moderation(options: IStorageOptions, query: IQuery): IQuery;
|
|
426
1200
|
|
|
427
1201
|
export declare function numberFormatter(num: number, digits: number): string;
|
|
428
1202
|
|
|
@@ -439,6 +1213,32 @@ export declare function rtl(message: IMessage): {
|
|
|
439
1213
|
|
|
440
1214
|
export declare function sanitize(messages: IMessage[]): IMessage[];
|
|
441
1215
|
|
|
1216
|
+
export declare interface Series {
|
|
1217
|
+
data: number[];
|
|
1218
|
+
type: string;
|
|
1219
|
+
areaStyle: AreaStyle;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
export declare interface SeriesAttr {
|
|
1223
|
+
"data-type"?: string;
|
|
1224
|
+
"data-widget": string;
|
|
1225
|
+
component?: string;
|
|
1226
|
+
"data-dashboard"?: string;
|
|
1227
|
+
"css-arrow-down"?: string | string[];
|
|
1228
|
+
"css-body"?: string | string[];
|
|
1229
|
+
"css-brand"?: string | string[];
|
|
1230
|
+
"css-change"?: string | string[];
|
|
1231
|
+
"css-count"?: string | string[];
|
|
1232
|
+
"css-down"?: string | string[];
|
|
1233
|
+
"css-up"?: string | string[];
|
|
1234
|
+
class?: string | string[];
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
export declare interface Settings {
|
|
1238
|
+
contents: Content[];
|
|
1239
|
+
component: Component;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
442
1242
|
export declare enum ShapeType {
|
|
443
1243
|
MultiPolygon = "MultiPolygon",
|
|
444
1244
|
Polygon = "Polygon"
|
|
@@ -448,6 +1248,12 @@ export declare function showModal(e: MouseEvent, widget: any, message: IMessage,
|
|
|
448
1248
|
|
|
449
1249
|
export declare function shuffleMessages(messages: IMessage[]): IMessage[];
|
|
450
1250
|
|
|
1251
|
+
export declare interface SlideChild {
|
|
1252
|
+
node: string;
|
|
1253
|
+
tag: string;
|
|
1254
|
+
attr: Attr_2;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
451
1257
|
export declare enum STORAGE {
|
|
452
1258
|
KEYVAL = "keyval",
|
|
453
1259
|
LOCAL = "local",
|
|
@@ -462,16 +1268,34 @@ export declare enum STORAGE {
|
|
|
462
1268
|
*/
|
|
463
1269
|
export declare function stringGen(): string;
|
|
464
1270
|
|
|
465
|
-
export
|
|
1271
|
+
export declare interface Transform {
|
|
1272
|
+
scale: number[];
|
|
1273
|
+
translate: number[];
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
export declare enum Type {
|
|
1277
|
+
MultiPolygon = "MultiPolygon",
|
|
1278
|
+
Polygon = "Polygon"
|
|
1279
|
+
}
|
|
466
1280
|
|
|
467
|
-
export declare const typeCss: (query:
|
|
1281
|
+
export declare const typeCss: (query: IQuery | undefined) => string;
|
|
468
1282
|
|
|
469
1283
|
export declare const uniq: (length?: number, existing?: never[]) => string;
|
|
470
1284
|
|
|
471
1285
|
export declare const upDownColor: (change: number) => "text-down text-xs" | "text-up text-xs" | "text-white text-xs";
|
|
472
1286
|
|
|
473
|
-
export declare function widgetParams(query:
|
|
1287
|
+
export declare function widgetParams(query: IQuery): IQuery;
|
|
474
1288
|
|
|
475
1289
|
export declare const wrapPromise: (promise: any, delay: number, reason: string) => Promise<any>;
|
|
476
1290
|
|
|
1291
|
+
export declare interface XAxis {
|
|
1292
|
+
type: string;
|
|
1293
|
+
boundaryGap: boolean;
|
|
1294
|
+
data: string[];
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
export declare interface YAxis {
|
|
1298
|
+
type: string;
|
|
1299
|
+
}
|
|
1300
|
+
|
|
477
1301
|
export { }
|